const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-XV-ldwVs.js","./html-DQt1crSz.js","./javascript-DFxyEsuO.js","./css-6ydISZ1j.js","./typescript-6msxI5qU.js","./json-BLmTiKMJ.js","./vue-html-ecI6esm2.js"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();var Xge=Object.create,rZ=Object.defineProperty,Zge=Object.getOwnPropertyDescriptor,rO=Object.getOwnPropertyNames,Qge=Object.getPrototypeOf,Jge=Object.prototype.hasOwnProperty,e2e=(n,e)=>function(){return n&&(e=(0,n[rO(n)[0]])(n=0)),e},t2e=(n,e)=>function(){return e||(0,n[rO(n)[0]])((e={exports:{}}).exports,e),e.exports},r2e=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rO(e))!Jge.call(n,i)&&i!==t&&rZ(n,i,{get:()=>e[i],enumerable:!(r=Zge(e,i))||r.enumerable});return n},n2e=(n,e,t)=>(t=n!=null?Xge(Qge(n)):{},r2e(rZ(t,"default",{value:n,enumerable:!0}),n)),ZC=e2e({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),i2e=t2e({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(n,e){ZC(),e.exports=r;function t(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return i(s);const o=new Map;if(o.set(Date,h=>new Date(h)),o.set(Map,(h,d)=>new Map(l(Array.from(h),d))),o.set(Set,(h,d)=>new Set(l(Array.from(h),d))),s.constructorHandlers)for(const h of s.constructorHandlers)o.set(h[0],h[1]);let a=null;return s.proto?u:c;function l(h,d){const g=Object.keys(h),f=new Array(g.length);for(let v=0;vnew Date(g)),l.set(Map,(g,f)=>new Map(u(Array.from(g),f))),l.set(Set,(g,f)=>new Set(u(Array.from(g),f))),s.constructorHandlers)for(const g of s.constructorHandlers)l.set(g[0],g[1]);let c=null;return s.proto?d:h;function u(g,f){const v=Object.keys(g),C=new Array(v.length);for(let A=0;Anavigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),a2e=/(?:^|[-_/])(\w)/g,l2e=/-(\w)/g,c2e=/([a-z0-9])([A-Z])/g;function sZ(n,e){return e?e.toUpperCase():""}function oZ(n){return n&&`${n}`.replace(a2e,sZ)}function u2e(n){return n&&n.replace(l2e,sZ)}function h2e(n){return n&&n.replace(c2e,(e,t,r)=>`${t}-${r}`).toLowerCase()}function d2e(n,e){let t=n.replace(/^[a-z]:/i,"").replace(/\\/g,"/");t.endsWith(`index${e}`)&&(t=t.replace(`/index${e}`,e));const r=t.lastIndexOf("/"),i=t.substring(r+1);{const s=i.lastIndexOf(e);return i.substring(0,s)}}function aZ(n){return n&&n.slice().sort((e,t)=>e.keyt.key?1:0)}var f2e=/^https?:\/\//;function p2e(n){return n.startsWith("/")||f2e.test(n)}var F4=(0,o2e.default)({circles:!0});function g2e(){return Math.random().toString(36).slice(2)}function xD(n){return typeof n=="object"&&!Array.isArray(n)&&n!==null}function _D(n){return Array.isArray(n)}const v2e={trailing:!0};function b1(n,e=25,t={}){if(t={...v2e,...t},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,i,s=[],o,a;const l=(c,u)=>(o=m2e(n,c,u),o.finally(()=>{if(o=null,t.trailing&&a&&!i){const h=l(c,a);return a=null,h}}),o);return function(...c){return o?(t.trailing&&(a=c),o):new Promise(u=>{const h=!i&&t.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const d=t.leading?r:l(this,c);for(const g of s)g(d);s=[]},e),h?(r=l(this,c),u(r)):s.push(u)})}}async function m2e(n,e,t){return await n.apply(e,t)}function xT(n,e={},t){for(const r in n){const i=n[r],s=t?`${t}:${r}`:r;typeof i=="object"&&i!==null?xT(i,e,s):typeof i=="function"&&(e[s]=i)}return e}const C2e={run:n=>n()},A2e=()=>C2e,lZ=typeof console.createTask<"u"?console.createTask:A2e;function I2e(n,e){const t=e.shift(),r=lZ(t);return n.reduce((i,s)=>i.then(()=>r.run(()=>s(...e))),Promise.resolve())}function y2e(n,e){const t=e.shift(),r=lZ(t);return Promise.all(n.map(i=>r.run(()=>i(...e))))}function q8(n,e){for(const t of[...n])t(e)}let b2e=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,r={}){if(!e||typeof t!="function")return()=>{};const i=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!r.allowDeprecated){let o=s.message;o||(o=`${i} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let r,i=(...s)=>(typeof r=="function"&&r(),r=void 0,i=void 0,t(...s));return r=this.hook(e,i),r}removeHook(e,t){if(this._hooks[e]){const r=this._hooks[e].indexOf(t);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const r=this._hooks[e]||[];delete this._hooks[e];for(const i of r)this.hook(e,i)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=xT(e),r=Object.keys(t).map(i=>this.hook(i,t[i]));return()=>{for(const i of r.splice(0,r.length))i()}}removeHooks(e){const t=xT(e);for(const r in t)this.removeHook(r,t[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(I2e,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(y2e,e,...t)}callHookWith(e,t,...r){const i=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&q8(this._before,i);const s=e(t in this._hooks?[...this._hooks[t]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&i&&q8(this._after,i)}):(this._after&&i&&q8(this._after,i),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function cZ(){return new b2e}const PD="q",OD="s",E2e=6e4;function uZ(n){return n}const w2e=uZ,{clearTimeout:S2e,setTimeout:T2e}=globalThis,x2e=Math.random.bind(Math);function _2e(n,e){const{post:t,on:r,off:i=()=>{},eventNames:s=[],serialize:o=uZ,deserialize:a=w2e,resolver:l,bind:c="rpc",timeout:u=E2e}=e,h=new Map;let d,g=!1;const f=new Proxy({},{get(A,b){if(b==="$functions")return n;if(b==="$close")return v;if(b==="then"&&!s.includes("then")&&!("then"in n))return;const m=(...I)=>{t(o({m:b,a:I,t:PD}))};if(s.includes(b))return m.asEvent=m,m;const E=async(...I)=>{if(g)throw new Error(`[birpc] rpc is closed, cannot call "${b}"`);if(d)try{await d}finally{d=void 0}return new Promise((S,T)=>{const P=O2e();let _;u>=0&&(_=T2e(()=>{try{if(e.onTimeoutError?.(b,I)!==!0)throw new Error(`[birpc] timeout on calling "${b}"`)}catch($){T($)}h.delete(P)},u),typeof _=="object"&&(_=_.unref?.())),h.set(P,{resolve:S,reject:T,timeoutId:_,method:b}),t(o({m:b,a:I,i:P,t:"q"}))})};return E.asEvent=m,E}});function v(A){g=!0,h.forEach(({reject:b,method:m})=>{b(A||new Error(`[birpc] rpc is closed, cannot call "${m}"`))}),h.clear(),i(C)}async function C(A,...b){let m;try{m=a(A)}catch(E){if(e.onGeneralError?.(E)!==!0)throw E;return}if(m.t===PD){const{m:E,a:I}=m;let S,T;const P=l?l(E,n[E]):n[E];if(!P)T=new Error(`[birpc] function "${E}" not found`);else try{S=await P.apply(c==="rpc"?f:n,I)}catch(_){T=_}if(m.i){if(T&&e.onError&&e.onError(T,E,I),T&&e.onFunctionError&&e.onFunctionError(T,E,I)===!0)return;if(!T)try{t(o({t:OD,i:m.i,r:S}),...b);return}catch(_){if(T=_,e.onGeneralError?.(_,E,I)!==!0)throw _}try{t(o({t:OD,i:m.i,e:T}),...b)}catch(_){if(e.onGeneralError?.(_,E,I)!==!0)throw _}}}else{const{i:E,r:I,e:S}=m,T=h.get(E);T&&(S2e(T.timeoutId),S?T.reject(S):T.resolve(I)),h.delete(E)}}return d=r(C),f}const P2e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function O2e(n=21){let e="",t=n;for(;t--;)e+=P2e[x2e()*64|0];return e}/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function wb(n){const e=Object.create(null);for(const t of n.split(","))e[t]=1;return t=>t in e}const li={},r2=[],ic=()=>{},M2e=()=>!1,JC=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),nO=n=>n.startsWith("onUpdate:"),ss=Object.assign,iO=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},k2e=Object.prototype.hasOwnProperty,xi=(n,e)=>k2e.call(n,e),Br=Array.isArray,n2=n=>d0(n)==="[object Map]",np=n=>d0(n)==="[object Set]",MD=n=>d0(n)==="[object Date]",$2e=n=>d0(n)==="[object RegExp]",yn=n=>typeof n=="function",ys=n=>typeof n=="string",Dc=n=>typeof n=="symbol",Yi=n=>n!==null&&typeof n=="object",sO=n=>(Yi(n)||yn(n))&&yn(n.then)&&yn(n.catch),hZ=Object.prototype.toString,d0=n=>hZ.call(n),L2e=n=>d0(n).slice(8,-1),Sb=n=>d0(n)==="[object Object]",oO=n=>ys(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,i2=wb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tb=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},N2e=/-(\w)/g,fa=Tb(n=>n.replace(N2e,(e,t)=>t?t.toUpperCase():"")),D2e=/\B([A-Z])/g,sl=Tb(n=>n.replace(D2e,"-$1").toLowerCase()),eA=Tb(n=>n.charAt(0).toUpperCase()+n.slice(1)),lm=Tb(n=>n?`on${eA(n)}`:""),La=(n,e)=>!Object.is(n,e),s2=(n,...e)=>{for(let t=0;t{Object.defineProperty(n,e,{configurable:!0,enumerable:!1,writable:r,value:t})},U4=n=>{const e=parseFloat(n);return isNaN(e)?n:e},W4=n=>{const e=ys(n)?Number(n):NaN;return isNaN(e)?n:e};let kD;const xb=()=>kD||(kD=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),z2e="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",R2e=wb(z2e);function Ys(n){if(Br(n)){const e={};for(let t=0;t{if(t){const r=t.split(H2e);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ar(n){let e="";if(ys(n))e=n;else if(Br(n))for(let t=0;tKh(t,e))}const pZ=n=>!!(n&&n.__v_isRef===!0),gr=n=>ys(n)?n:n==null?"":Br(n)||Yi(n)&&(n.toString===hZ||!yn(n.toString))?pZ(n)?gr(n.value):JSON.stringify(n,gZ,2):String(n),gZ=(n,e)=>pZ(e)?gZ(n,e.value):n2(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[r,i],s)=>(t[Y8(r,s)+" =>"]=i,t),{})}:np(e)?{[`Set(${e.size})`]:[...e.values()].map(t=>Y8(t))}:Dc(e)?Y8(e):Yi(e)&&!Br(e)&&!Sb(e)?String(e):e,Y8=(n,e="")=>{var t;return Dc(n)?`Symbol(${(t=n.description)!=null?t:e})`:n};/** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Pa;class aO{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Pa,!e&&Pa&&(this.index=(Pa.scopes||(Pa.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;e0)return;if(um){let e=um;for(um=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let n;for(;cm;){let e=cm;for(cm=void 0;e;){const t=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){n||(n=r)}e=t}}if(n)throw n}function CZ(n){for(let e=n.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function AZ(n){let e,t=n.depsTail,r=t;for(;r;){const i=r.prevDep;r.version===-1?(r===t&&(t=i),hO(r),K2e(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}n.deps=e,n.depsTail=t}function _T(n){for(let e=n.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(IZ(e.dep.computed)||e.dep.version!==e.version))return!0;return!!n._dirty}function IZ(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===qm))return;n.globalVersion=qm;const e=n.dep;if(n.flags|=2,e.version>0&&!n.isSSR&&n.deps&&!_T(n)){n.flags&=-3;return}const t=ps,r=kc;ps=n,kc=!0;try{CZ(n);const i=n.fn(n._value);(e.version===0||La(i,n._value))&&(n._value=i,e.version++)}catch(i){throw e.version++,i}finally{ps=t,kc=r,AZ(n),n.flags&=-3}}function hO(n,e=!1){const{dep:t,prevSub:r,nextSub:i}=n;if(r&&(r.nextSub=i,n.prevSub=void 0),i&&(i.prevSub=r,n.nextSub=void 0),t.subs===n&&(t.subs=r,!r&&t.computed)){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)hO(s,!0)}!e&&!--t.sc&&t.map&&t.map.delete(t.key)}function K2e(n){const{prevDep:e,nextDep:t}=n;e&&(e.nextDep=t,n.prevDep=void 0),t&&(t.prevDep=e,n.nextDep=void 0)}function q2e(n,e){n.effect instanceof Km&&(n=n.effect.fn);const t=new Km(n);e&&ss(t,e);try{t.run()}catch(i){throw t.stop(),i}const r=t.run.bind(t);return r.effect=t,r}function Y2e(n){n.effect.stop()}let kc=!0;const yZ=[];function ad(){yZ.push(kc),kc=!1}function ld(){const n=yZ.pop();kc=n===void 0?!0:n}function $D(n){const{cleanup:e}=n;if(n.cleanup=void 0,e){const t=ps;ps=void 0;try{e()}finally{ps=t}}}let qm=0;class X2e{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}}class Mb{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}track(e){if(!ps||!kc||ps===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==ps)t=this.activeLink=new X2e(ps,this),ps.deps?(t.prevDep=ps.depsTail,ps.depsTail.nextDep=t,ps.depsTail=t):ps.deps=ps.depsTail=t,bZ(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){const r=t.nextDep;r.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=r),t.prevDep=ps.depsTail,t.nextDep=void 0,ps.depsTail.nextDep=t,ps.depsTail=t,ps.deps===t&&(ps.deps=r)}return t}trigger(e){this.version++,qm++,this.notify(e)}notify(e){cO();try{for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{uO()}}}function bZ(n){if(n.dep.sc++,n.sub.flags&4){const e=n.dep.computed;if(e&&!n.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)bZ(r)}const t=n.dep.subs;t!==n&&(n.prevSub=t,t&&(t.nextSub=n)),n.dep.subs=n}}const G4=new WeakMap,mf=Symbol(""),PT=Symbol(""),Ym=Symbol("");function Ca(n,e,t){if(kc&&ps){let r=G4.get(n);r||G4.set(n,r=new Map);let i=r.get(t);i||(r.set(t,i=new Mb),i.map=r,i.key=t),i.track()}}function t1(n,e,t,r,i,s){const o=G4.get(n);if(!o){qm++;return}const a=l=>{l&&l.trigger()};if(cO(),e==="clear")o.forEach(a);else{const l=Br(n),c=l&&oO(t);if(l&&t==="length"){const u=Number(r);o.forEach((h,d)=>{(d==="length"||d===Ym||!Dc(d)&&d>=u)&&a(h)})}else switch((t!==void 0||o.has(void 0))&&a(o.get(t)),c&&a(o.get(Ym)),e){case"add":l?c&&a(o.get("length")):(a(o.get(mf)),n2(n)&&a(o.get(PT)));break;case"delete":l||(a(o.get(mf)),n2(n)&&a(o.get(PT)));break;case"set":n2(n)&&a(o.get(mf));break}}uO()}function Z2e(n,e){const t=G4.get(n);return t&&t.get(e)}function ig(n){const e=ii(n);return e===n?e:(Ca(e,"iterate",Ym),Ll(n)?e:e.map(Aa))}function kb(n){return Ca(n=ii(n),"iterate",Ym),n}const Q2e={__proto__:null,[Symbol.iterator](){return Z8(this,Symbol.iterator,Aa)},concat(...n){return ig(this).concat(...n.map(e=>Br(e)?ig(e):e))},entries(){return Z8(this,"entries",n=>(n[1]=Aa(n[1]),n))},every(n,e){return Yu(this,"every",n,e,void 0,arguments)},filter(n,e){return Yu(this,"filter",n,e,t=>t.map(Aa),arguments)},find(n,e){return Yu(this,"find",n,e,Aa,arguments)},findIndex(n,e){return Yu(this,"findIndex",n,e,void 0,arguments)},findLast(n,e){return Yu(this,"findLast",n,e,Aa,arguments)},findLastIndex(n,e){return Yu(this,"findLastIndex",n,e,void 0,arguments)},forEach(n,e){return Yu(this,"forEach",n,e,void 0,arguments)},includes(...n){return Q8(this,"includes",n)},indexOf(...n){return Q8(this,"indexOf",n)},join(n){return ig(this).join(n)},lastIndexOf(...n){return Q8(this,"lastIndexOf",n)},map(n,e){return Yu(this,"map",n,e,void 0,arguments)},pop(){return Ov(this,"pop")},push(...n){return Ov(this,"push",n)},reduce(n,...e){return LD(this,"reduce",n,e)},reduceRight(n,...e){return LD(this,"reduceRight",n,e)},shift(){return Ov(this,"shift")},some(n,e){return Yu(this,"some",n,e,void 0,arguments)},splice(...n){return Ov(this,"splice",n)},toReversed(){return ig(this).toReversed()},toSorted(n){return ig(this).toSorted(n)},toSpliced(...n){return ig(this).toSpliced(...n)},unshift(...n){return Ov(this,"unshift",n)},values(){return Z8(this,"values",Aa)}};function Z8(n,e,t){const r=kb(n),i=r[e]();return r!==n&&!Ll(n)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.value&&(s.value=t(s.value)),s}),i}const J2e=Array.prototype;function Yu(n,e,t,r,i,s){const o=kb(n),a=o!==n&&!Ll(n),l=o[e];if(l!==J2e[e]){const h=l.apply(n,s);return a?Aa(h):h}let c=t;o!==n&&(a?c=function(h,d){return t.call(this,Aa(h),d,n)}:t.length>2&&(c=function(h,d){return t.call(this,h,d,n)}));const u=l.call(o,c,r);return a&&i?i(u):u}function LD(n,e,t,r){const i=kb(n);let s=t;return i!==n&&(Ll(n)?t.length>3&&(s=function(o,a,l){return t.call(this,o,a,l,n)}):s=function(o,a,l){return t.call(this,o,Aa(a),l,n)}),i[e](s,...r)}function Q8(n,e,t){const r=ii(n);Ca(r,"iterate",Ym);const i=r[e](...t);return(i===-1||i===!1)&&Db(t[0])?(t[0]=ii(t[0]),r[e](...t)):i}function Ov(n,e,t=[]){ad(),cO();const r=ii(n)[e].apply(n,t);return uO(),ld(),r}const e0e=wb("__proto__,__v_isRef,__isVue"),EZ=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(Dc));function t0e(n){Dc(n)||(n=String(n));const e=ii(this);return Ca(e,"has",n),e.hasOwnProperty(n)}class wZ{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,r){if(t==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive")return!i;if(t==="__v_isReadonly")return i;if(t==="__v_isShallow")return s;if(t==="__v_raw")return r===(i?s?OZ:PZ:s?_Z:xZ).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=Br(e);if(!i){let l;if(o&&(l=Q2e[t]))return l;if(t==="hasOwnProperty")return t0e}const a=Reflect.get(e,t,fn(e)?e:r);return(Dc(t)?EZ.has(t):e0e(t))||(i||Ca(e,"get",t),s)?a:fn(a)?o&&oO(t)?a:a.value:Yi(a)?i?$1(a):zc(a):a}}class SZ extends wZ{constructor(e=!1){super(!1,e)}set(e,t,r,i){let s=e[t];if(!this._isShallow){const l=qh(s);if(!Ll(r)&&!qh(r)&&(s=ii(s),r=ii(r)),!Br(e)&&fn(s)&&!fn(r))return l?!1:(s.value=r,!0)}const o=Br(e)&&oO(t)?Number(t)n,g5=n=>Reflect.getPrototypeOf(n);function o0e(n,e,t){return function(...r){const i=this.__v_raw,s=ii(i),o=n2(s),a=n==="entries"||n===Symbol.iterator&&o,l=n==="keys"&&o,c=i[n](...r),u=t?OT:e?MT:Aa;return!e&&Ca(s,"iterate",l?PT:mf),{next(){const{value:h,done:d}=c.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function v5(n){return function(...e){return n==="delete"?!1:n==="clear"?void 0:this}}function a0e(n,e){const t={get(i){const s=this.__v_raw,o=ii(s),a=ii(i);n||(La(i,a)&&Ca(o,"get",i),Ca(o,"get",a));const{has:l}=g5(o),c=e?OT:n?MT:Aa;if(l.call(o,i))return c(s.get(i));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!n&&Ca(ii(i),"iterate",mf),Reflect.get(i,"size",i)},has(i){const s=this.__v_raw,o=ii(s),a=ii(i);return n||(La(i,a)&&Ca(o,"has",i),Ca(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=ii(a),c=e?OT:n?MT:Aa;return!n&&Ca(l,"iterate",mf),a.forEach((u,h)=>i.call(s,c(u),c(h),o))}};return ss(t,n?{add:v5("add"),set:v5("set"),delete:v5("delete"),clear:v5("clear")}:{add(i){!e&&!Ll(i)&&!qh(i)&&(i=ii(i));const s=ii(this);return g5(s).has.call(s,i)||(s.add(i),t1(s,"add",i,i)),this},set(i,s){!e&&!Ll(s)&&!qh(s)&&(s=ii(s));const o=ii(this),{has:a,get:l}=g5(o);let c=a.call(o,i);c||(i=ii(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,s),c?La(s,u)&&t1(o,"set",i,s):t1(o,"add",i,s),this},delete(i){const s=ii(this),{has:o,get:a}=g5(s);let l=o.call(s,i);l||(i=ii(i),l=o.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return l&&t1(s,"delete",i,void 0),c},clear(){const i=ii(this),s=i.size!==0,o=i.clear();return s&&t1(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=o0e(i,n,e)}),t}function $b(n,e){const t=a0e(n,e);return(r,i,s)=>i==="__v_isReactive"?!n:i==="__v_isReadonly"?n:i==="__v_raw"?r:Reflect.get(xi(t,i)&&i in r?t:r,i,s)}const l0e={get:$b(!1,!1)},c0e={get:$b(!1,!0)},u0e={get:$b(!0,!1)},h0e={get:$b(!0,!0)},xZ=new WeakMap,_Z=new WeakMap,PZ=new WeakMap,OZ=new WeakMap;function d0e(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function f0e(n){return n.__v_skip||!Object.isExtensible(n)?0:d0e(L2e(n))}function zc(n){return qh(n)?n:Nb(n,!1,r0e,l0e,xZ)}function Lb(n){return Nb(n,!1,i0e,c0e,_Z)}function $1(n){return Nb(n,!0,n0e,u0e,PZ)}function p0e(n){return Nb(n,!0,s0e,h0e,OZ)}function Nb(n,e,t,r,i){if(!Yi(n)||n.__v_raw&&!(e&&n.__v_isReactive))return n;const s=i.get(n);if(s)return s;const o=f0e(n);if(o===0)return n;const a=new Proxy(n,o===2?r:t);return i.set(n,a),a}function _h(n){return qh(n)?_h(n.__v_raw):!!(n&&n.__v_isReactive)}function qh(n){return!!(n&&n.__v_isReadonly)}function Ll(n){return!!(n&&n.__v_isShallow)}function Db(n){return n?!!n.__v_raw:!1}function ii(n){const e=n&&n.__v_raw;return e?ii(e):n}function dO(n){return!xi(n,"__v_skip")&&Object.isExtensible(n)&&dZ(n,"__v_skip",!0),n}const Aa=n=>Yi(n)?zc(n):n,MT=n=>Yi(n)?$1(n):n;function fn(n){return n?n.__v_isRef===!0:!1}function Ct(n){return MZ(n,!1)}function Cn(n){return MZ(n,!0)}function MZ(n,e){return fn(n)?n:new g0e(n,e)}class g0e{constructor(e,t){this.dep=new Mb,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ii(e),this._value=t?e:Aa(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,r=this.__v_isShallow||Ll(e)||qh(e);e=r?e:ii(e),La(e,t)&&(this._rawValue=e,this._value=r?e:Aa(e),this.dep.trigger())}}function v0e(n){n.dep&&n.dep.trigger()}function ye(n){return fn(n)?n.value:n}function hn(n){return yn(n)?n():ye(n)}const m0e={get:(n,e,t)=>e==="__v_raw"?n:ye(Reflect.get(n,e,t)),set:(n,e,t,r)=>{const i=n[e];return fn(i)&&!fn(t)?(i.value=t,!0):Reflect.set(n,e,t,r)}};function fO(n){return _h(n)?n:new Proxy(n,m0e)}class C0e{constructor(e){this.__v_isRef=!0,this._value=void 0;const t=this.dep=new Mb,{get:r,set:i}=e(t.track.bind(t),t.trigger.bind(t));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function zb(n){return new C0e(n)}function K4(n){const e=Br(n)?new Array(n.length):{};for(const t in n)e[t]=$Z(n,t);return e}class A0e{constructor(e,t,r){this._object=e,this._key=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Z2e(ii(this._object),this._key)}}class I0e{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 kZ(n,e,t){return fn(n)?n:yn(n)?new I0e(n):Yi(n)&&arguments.length>1?$Z(n,e,t):Ct(n)}function $Z(n,e,t){const r=n[e];return fn(r)?r:new A0e(n,e,t)}class y0e{constructor(e,t,r){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Mb(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qm-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ps!==this)return mZ(this,!0),!0}get value(){const e=this.dep.track();return IZ(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function b0e(n,e,t=!1){let r,i;return yn(n)?r=n:(r=n.get,i=n.set),new y0e(r,i,t)}const E0e={GET:"get",HAS:"has",ITERATE:"iterate"},w0e={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},m5={},q4=new WeakMap;let uh;function S0e(){return uh}function LZ(n,e=!1,t=uh){if(t){let r=q4.get(t);r||q4.set(t,r=[]),r.push(n)}}function T0e(n,e,t=li){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=t,c=E=>i?E:Ll(E)||i===!1||i===0?r1(E,1):r1(E);let u,h,d,g,f=!1,v=!1;if(fn(n)?(h=()=>n.value,f=Ll(n)):_h(n)?(h=()=>c(n),f=!0):Br(n)?(v=!0,f=n.some(E=>_h(E)||Ll(E)),h=()=>n.map(E=>{if(fn(E))return E.value;if(_h(E))return c(E);if(yn(E))return l?l(E,2):E()})):yn(n)?e?h=l?()=>l(n,2):n:h=()=>{if(d){ad();try{d()}finally{ld()}}const E=uh;uh=u;try{return l?l(n,3,[g]):n(g)}finally{uh=E}}:h=ic,e&&i){const E=h,I=i===!0?1/0:i;h=()=>r1(E(),I)}const C=Ob(),A=()=>{u.stop(),C&&C.active&&iO(C.effects,u)};if(s&&e){const E=e;e=(...I)=>{E(...I),A()}}let b=v?new Array(n.length).fill(m5):m5;const m=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(e){const I=u.run();if(i||f||(v?I.some((S,T)=>La(S,b[T])):La(I,b))){d&&d();const S=uh;uh=u;try{const T=[I,b===m5?void 0:v&&b[0]===m5?[]:b,g];l?l(e,3,T):e(...T),b=I}finally{uh=S}}}else u.run()};return a&&a(m),u=new Km(h),u.scheduler=o?()=>o(m,!1):m,g=E=>LZ(E,!1,u),d=u.onStop=()=>{const E=q4.get(u);if(E){if(l)l(E,4);else for(const I of E)I();q4.delete(u)}},e?r?m(!0):b=u.run():o?o(m.bind(null,!0),!0):u.run(),A.pause=u.pause.bind(u),A.resume=u.resume.bind(u),A.stop=A,A}function r1(n,e=1/0,t){if(e<=0||!Yi(n)||n.__v_skip||(t=t||new Set,t.has(n)))return n;if(t.add(n),e--,fn(n))r1(n.value,e,t);else if(Br(n))for(let r=0;r{r1(r,e,t)});else if(Sb(n)){for(const r in n)r1(n[r],e,t);for(const r of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,r)&&r1(n[r],e,t)}return n}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const NZ=[];function x0e(n){NZ.push(n)}function _0e(){NZ.pop()}function P0e(n,e){}const O0e={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"},M0e={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 f0(n,e,t,r){try{return r?n(...r):n()}catch(i){ip(i,e,t)}}function uc(n,e,t,r){if(yn(n)){const i=f0(n,e,t,r);return i&&sO(i)&&i.catch(s=>{ip(s,e,t)}),i}if(Br(n)){const i=[];for(let s=0;s>>1,i=Na[r],s=Zm(i);s=Zm(t)?Na.push(n):Na.splice($0e(e),0,n),n.flags|=1,zZ()}}function zZ(){Y4||(Y4=DZ.then(RZ))}function Xm(n){Br(n)?o2.push(...n):hh&&n.id===-1?hh.splice(wg+1,0,n):n.flags&1||(o2.push(n),n.flags|=1),zZ()}function ND(n,e,t=iu+1){for(;tZm(t)-Zm(r));if(o2.length=0,hh){hh.push(...e);return}for(hh=e,wg=0;wgn.id==null?n.flags&2?-1:1/0:n.id;function RZ(n){try{for(iu=0;iuSg.emit(i,...s)),C5=[]):typeof window<"u"&&window.HTMLElement&&!((r=(t=window.navigator)==null?void 0:t.userAgent)!=null&&r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{VZ(s,e)}),setTimeout(()=>{Sg||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,C5=[])},3e3)):C5=[]}let $o=null,Rb=null;function Qm(n){const e=$o;return $o=n,Rb=n&&n.type.__scopeId||null,e}function gO(n){Rb=n}function vO(){Rb=null}const mO=n=>At;function At(n,e=$o,t){if(!e||n._n)return n;const r=(...i)=>{r._d&&VT(-1);const s=Qm(e);let o;try{o=n(...i)}finally{Qm(s),r._d&&VT(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Kn(n,e){if($o===null)return n;const t=sA($o),r=n.dirs||(n.dirs=[]);for(let i=0;in.__isTeleport,hm=n=>n&&(n.disabled||n.disabled===""),DD=n=>n&&(n.defer||n.defer===""),zD=n=>typeof SVGElement<"u"&&n instanceof SVGElement,RD=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,kT=(n,e)=>{const t=n&&n.to;return ys(t)?e?e(t):null:t},jZ={name:"Teleport",__isTeleport:!0,process(n,e,t,r,i,s,o,a,l,c){const{mc:u,pc:h,pbc:d,o:{insert:g,querySelector:f,createText:v,createComment:C}}=c,A=hm(e.props);let{shapeFlag:b,children:m,dynamicChildren:E}=e;if(n==null){const I=e.el=v(""),S=e.anchor=v("");g(I,t,r),g(S,t,r);const T=(_,$)=>{b&16&&(i&&i.isCE&&(i.ce._teleportTarget=_),u(m,_,$,i,s,o,a,l))},P=()=>{const _=e.target=kT(e.props,f),$=FZ(_,e,v,g);_&&(o!=="svg"&&zD(_)?o="svg":o!=="mathml"&&RD(_)&&(o="mathml"),A||(T(_,$),Qy(e,!1)))};A&&(T(t,S),Qy(e,!0)),DD(e.props)?Po(()=>{P(),e.el.__isMounted=!0},s):P()}else{if(DD(e.props)&&!n.el.__isMounted){Po(()=>{jZ.process(n,e,t,r,i,s,o,a,l,c),delete n.el.__isMounted},s);return}e.el=n.el,e.targetStart=n.targetStart;const I=e.anchor=n.anchor,S=e.target=n.target,T=e.targetAnchor=n.targetAnchor,P=hm(n.props),_=P?t:S,$=P?I:T;if(o==="svg"||zD(S)?o="svg":(o==="mathml"||RD(S))&&(o="mathml"),E?(d(n.dynamicChildren,E,_,i,s,o,a),MO(n,e,!0)):l||h(n,e,_,$,i,s,o,a,!1),A)P?e.props&&n.props&&e.props.to!==n.props.to&&(e.props.to=n.props.to):A5(e,t,I,c,1);else if((e.props&&e.props.to)!==(n.props&&n.props.to)){const B=e.target=kT(e.props,f);B&&A5(e,B,null,c,0)}else P&&A5(e,S,T,c,1);Qy(e,A)}},remove(n,e,t,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:h,props:d}=n;if(h&&(i(c),i(u)),s&&i(l),o&16){const g=s||!hm(d);for(let f=0;f{n.isMounted=!0}),p0(()=>{n.isUnmounting=!0}),n}const Wl=[Function,Array],IO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wl,onEnter:Wl,onAfterEnter:Wl,onEnterCancelled:Wl,onBeforeLeave:Wl,onLeave:Wl,onAfterLeave:Wl,onLeaveCancelled:Wl,onBeforeAppear:Wl,onAppear:Wl,onAfterAppear:Wl,onAppearCancelled:Wl},UZ=n=>{const e=n.subTree;return e.component?UZ(e.component):e},N0e={name:"BaseTransition",props:IO,setup(n,{slots:e}){const t=So(),r=AO();return()=>{const i=e.default&&Vb(e.default(),!0);if(!i||!i.length)return;const s=WZ(i),o=ii(n),{mode:a}=o;if(r.isLeaving)return J8(s);const l=VD(s);if(!l)return J8(s);let c=w2(l,o,r,t,h=>c=h);l.type!==mo&&E1(l,c);let u=t.subTree&&VD(t.subTree);if(u&&u.type!==mo&&!Sc(l,u)&&UZ(t).type!==mo){let h=w2(u,o,r,t);if(E1(u,h),a==="out-in"&&l.type!==mo)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,t.job.flags&8||t.update(),delete h.afterLeave,u=void 0},J8(s);a==="in-out"&&l.type!==mo?h.delayLeave=(d,g,f)=>{const v=KZ(r,u);v[String(u.key)]=u,d[dh]=()=>{g(),d[dh]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{f(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function WZ(n){let e=n[0];if(n.length>1){for(const t of n)if(t.type!==mo){e=t;break}}return e}const GZ=N0e;function KZ(n,e){const{leavingVNodes:t}=n;let r=t.get(e.type);return r||(r=Object.create(null),t.set(e.type,r)),r}function w2(n,e,t,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:g,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:C,onAppear:A,onAfterAppear:b,onAppearCancelled:m}=e,E=String(n.key),I=KZ(t,n),S=(_,$)=>{_&&uc(_,r,9,$)},T=(_,$)=>{const B=$[1];S(_,$),Br(_)?_.every(U=>U.length<=1)&&B():_.length<=1&&B()},P={mode:o,persisted:a,beforeEnter(_){let $=l;if(!t.isMounted)if(s)$=C||l;else return;_[dh]&&_[dh](!0);const B=I[E];B&&Sc(n,B)&&B.el[dh]&&B.el[dh](),S($,[_])},enter(_){let $=c,B=u,U=h;if(!t.isMounted)if(s)$=A||c,B=b||u,U=m||h;else return;let H=!1;const N=_[I5]=W=>{H||(H=!0,W?S(U,[_]):S(B,[_]),P.delayedLeave&&P.delayedLeave(),_[I5]=void 0)};$?T($,[_,N]):N()},leave(_,$){const B=String(n.key);if(_[I5]&&_[I5](!0),t.isUnmounting)return $();S(d,[_]);let U=!1;const H=_[dh]=N=>{U||(U=!0,$(),N?S(v,[_]):S(f,[_]),_[dh]=void 0,I[B]===n&&delete I[B])};I[B]=n,g?T(g,[_,H]):H()},clone(_){const $=w2(_,e,t,r,i);return i&&i($),$}};return P}function J8(n){if(tA(n))return n=Tu(n),n.children=null,n}function VD(n){if(!tA(n))return BZ(n.type)&&n.children?WZ(n.children):n;const{shapeFlag:e,children:t}=n;if(t){if(e&16)return t[0];if(e&32&&yn(t.default))return t.default()}}function E1(n,e){n.shapeFlag&6&&n.component?(n.transition=e,E1(n.component.subTree,e)):n.shapeFlag&128?(n.ssContent.transition=e.clone(n.ssContent),n.ssFallback.transition=e.clone(n.ssFallback)):n.transition=e}function Vb(n,e=!1,t){let r=[],i=0;for(let s=0;s1)for(let s=0;st.value,set:s=>t.value=s})}return t}function Jm(n,e,t,r,i=!1){if(Br(n)){n.forEach((f,v)=>Jm(f,e&&(Br(e)?e[v]:e),t,r,i));return}if(Ph(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Jm(n,e,t,r.component.subTree);return}const s=r.shapeFlag&4?sA(r.component):r.el,o=i?null:s,{i:a,r:l}=n,c=e&&e.r,u=a.refs===li?a.refs={}:a.refs,h=a.setupState,d=ii(h),g=h===li?()=>!1:f=>xi(d,f);if(c!=null&&c!==l&&(ys(c)?(u[c]=null,g(c)&&(h[c]=null)):fn(c)&&(c.value=null)),yn(l))f0(l,a,12,[o,u]);else{const f=ys(l),v=fn(l);if(f||v){const C=()=>{if(n.f){const A=f?g(l)?h[l]:u[l]:l.value;i?Br(A)&&iO(A,s):Br(A)?A.includes(s)||A.push(s):f?(u[l]=[s],g(l)&&(h[l]=u[l])):(l.value=[s],n.k&&(u[n.k]=l.value))}else f?(u[l]=o,g(l)&&(h[l]=o)):v&&(l.value=o,n.k&&(u[n.k]=o))};o?(C.id=-1,Po(C,t)):C()}}}let HD=!1;const sg=()=>{HD||(console.error("Hydration completed but contains mismatches."),HD=!0)},R0e=n=>n.namespaceURI.includes("svg")&&n.tagName!=="foreignObject",V0e=n=>n.namespaceURI.includes("MathML"),y5=n=>{if(n.nodeType===1){if(R0e(n))return"svg";if(V0e(n))return"mathml"}},$g=n=>n.nodeType===8;function H0e(n){const{mt:e,p:t,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:l,createComment:c}}=n,u=(m,E)=>{if(!E.hasChildNodes()){t(null,m,E),X4(),E._vnode=m;return}h(E.firstChild,m,null,null,null),X4(),E._vnode=m},h=(m,E,I,S,T,P=!1)=>{P=P||!!E.dynamicChildren;const _=$g(m)&&m.data==="[",$=()=>v(m,E,I,S,T,_),{type:B,ref:U,shapeFlag:H,patchFlag:N}=E;let W=m.nodeType;E.el=m,N===-2&&(P=!1,E.dynamicChildren=null);let D=null;switch(B){case Oh:W!==3?E.children===""?(l(E.el=i(""),o(m),m),D=m):D=$():(m.data!==E.children&&(sg(),m.data=E.children),D=s(m));break;case mo:b(m)?(D=s(m),A(E.el=m.content.firstChild,m,I)):W!==8||_?D=$():D=s(m);break;case Af:if(_&&(m=s(m),W=m.nodeType),W===1||W===3){D=m;const R=!E.children.length;for(let Y=0;Y{P=P||!!E.dynamicChildren;const{type:_,props:$,patchFlag:B,shapeFlag:U,dirs:H,transition:N}=E,W=_==="input"||_==="option";if(W||B!==-1){H&&su(E,null,I,"created");let D=!1;if(b(m)){D=IQ(null,N)&&I&&I.vnode.props&&I.vnode.props.appear;const Y=m.content.firstChild;D&&N.beforeEnter(Y),A(Y,m,I),E.el=m=Y}if(U&16&&!($&&($.innerHTML||$.textContent))){let Y=g(m.firstChild,E,m,I,S,T,P);for(;Y;){b5(m,1)||sg();const ie=Y;Y=Y.nextSibling,a(ie)}}else if(U&8){let Y=E.children;Y[0]===` `&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(Y=Y.slice(1)),m.textContent!==Y&&(b5(m,0)||sg(),m.textContent=E.children)}if($){if(W||!P||B&48){const Y=m.tagName.includes("-");for(const ie in $)(W&&(ie.endsWith("value")||ie==="indeterminate")||JC(ie)&&!i2(ie)||ie[0]==="."||Y)&&r(m,ie,null,$[ie],void 0,I)}else if($.onClick)r(m,"onClick",null,$.onClick,void 0,I);else if(B&4&&_h($.style))for(const Y in $.style)$.style[Y]}let R;(R=$&&$.onVnodeBeforeMount)&&Za(R,I,E),H&&su(E,null,I,"beforeMount"),((R=$&&$.onVnodeMounted)||H||D)&&PQ(()=>{R&&Za(R,I,E),D&&N.enter(m),H&&su(E,null,I,"mounted")},S)}return m.nextSibling},g=(m,E,I,S,T,P,_)=>{_=_||!!E.dynamicChildren;const $=E.children,B=$.length;for(let U=0;U{const{slotScopeIds:_}=E;_&&(T=T?T.concat(_):_);const $=o(m),B=g(s(m),E,$,I,S,T,P);return B&&$g(B)&&B.data==="]"?s(E.anchor=B):(sg(),l(E.anchor=c("]"),$,B),B)},v=(m,E,I,S,T,P)=>{if(b5(m.parentElement,1)||sg(),E.el=null,P){const B=C(m);for(;;){const U=s(m);if(U&&U!==B)a(U);else break}}const _=s(m),$=o(m);return a(m),t(null,E,$,_,I,S,y5($),T),I&&(I.vnode.el=E.el,Wb(I,E.el)),_},C=(m,E="[",I="]")=>{let S=0;for(;m;)if(m=s(m),m&&$g(m)&&(m.data===E&&S++,m.data===I)){if(S===0)return s(m);S--}return m},A=(m,E,I)=>{const S=E.parentNode;S&&S.replaceChild(m,E);let T=I;for(;T;)T.vnode.el===E&&(T.vnode.el=T.subTree.el=m),T=T.parent},b=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,h]}const BD="data-allow-mismatch",B0e={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function b5(n,e){if(e===0||e===1)for(;n&&!n.hasAttribute(BD);)n=n.parentElement;const t=n&&n.getAttribute(BD);if(t==null)return!1;if(t==="")return!0;{const r=t.split(",");return e===0&&r.includes("children")?!0:t.split(",").includes(B0e[e])}}const j0e=xb().requestIdleCallback||(n=>setTimeout(n,1)),F0e=xb().cancelIdleCallback||(n=>clearTimeout(n)),U0e=(n=1e4)=>e=>{const t=j0e(e,{timeout:n});return()=>F0e(t)};function W0e(n){const{top:e,left:t,bottom:r,right:i}=n.getBoundingClientRect(),{innerHeight:s,innerWidth:o}=window;return(e>0&&e0&&r0&&t0&&i(e,t)=>{const r=new IntersectionObserver(i=>{for(const s of i)if(s.isIntersecting){r.disconnect(),e();break}},n);return t(i=>{if(i instanceof Element){if(W0e(i))return e(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},K0e=n=>e=>{if(n){const t=matchMedia(n);if(t.matches)e();else return t.addEventListener("change",e,{once:!0}),()=>t.removeEventListener("change",e)}},q0e=(n=[])=>(e,t)=>{ys(n)&&(n=[n]);let r=!1;const i=o=>{r||(r=!0,s(),e(),o.target.dispatchEvent(new o.constructor(o.type,o)))},s=()=>{t(o=>{for(const a of n)o.removeEventListener(a,i)})};return t(o=>{for(const a of n)o.addEventListener(a,i,{once:!0})}),s};function Y0e(n,e){if($g(n)&&n.data==="["){let t=1,r=n.nextSibling;for(;r;){if(r.nodeType===1){if(e(r)===!1)break}else if($g(r))if(r.data==="]"){if(--t===0)break}else r.data==="["&&t++;r=r.nextSibling}}else e(n)}const Ph=n=>!!n.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function bO(n){yn(n)&&(n={loader:n});const{loader:e,loadingComponent:t,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:l}=n;let c=null,u,h=0;const d=()=>(h++,c=null,g()),g=()=>{let f;return c||(f=c=e().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((C,A)=>{l(v,()=>C(d()),()=>A(v),h+1)});throw v}).then(v=>f!==c&&c?c:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return Ft({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(f,v,C){const A=s?()=>{const b=s(C,m=>Y0e(f,m));b&&(v.bum||(v.bum=[])).push(b)}:C;u?A():g().then(()=>!v.isUnmounted&&A())},get __asyncResolved(){return u},setup(){const f=Mo;if(yO(f),u)return()=>e7(u,f);const v=m=>{c=null,ip(m,f,13,!r)};if(a&&f.suspense||S2)return g().then(m=>()=>e7(m,f)).catch(m=>(v(m),()=>r?it(r,{error:m}):null));const C=Ct(!1),A=Ct(),b=Ct(!!i);return i&&setTimeout(()=>{b.value=!1},i),o!=null&&setTimeout(()=>{if(!C.value&&!A.value){const m=new Error(`Async component timed out after ${o}ms.`);v(m),A.value=m}},o),g().then(()=>{C.value=!0,f.parent&&tA(f.parent.vnode)&&f.parent.update()}).catch(m=>{v(m),A.value=m}),()=>{if(C.value&&u)return e7(u,f);if(A.value&&r)return it(r,{error:A.value});if(t&&!b.value)return it(t)}}})}function e7(n,e){const{ref:t,props:r,children:i,ce:s}=e.vnode,o=it(n,r,i);return o.ref=t,o.ce=s,delete e.vnode.ce,o}const tA=n=>n.type.__isKeepAlive,X0e={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(n,{slots:e}){const t=So(),r=t.ctx;if(!r.renderer)return()=>{const b=e.default&&e.default();return b&&b.length===1?b[0]:b};const i=new Map,s=new Set;let o=null;const a=t.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=r,d=h("div");r.activate=(b,m,E,I,S)=>{const T=b.component;c(b,m,E,0,a),l(T.vnode,b,m,E,T,a,I,b.slotScopeIds,S),Po(()=>{T.isDeactivated=!1,T.a&&s2(T.a);const P=b.props&&b.props.onVnodeMounted;P&&Za(P,T.parent,b)},a)},r.deactivate=b=>{const m=b.component;Q4(m.m),Q4(m.a),c(b,d,null,1,a),Po(()=>{m.da&&s2(m.da);const E=b.props&&b.props.onVnodeUnmounted;E&&Za(E,m.parent,b),m.isDeactivated=!0},a)};function g(b){t7(b),u(b,t,a,!0)}function f(b){i.forEach((m,E)=>{const I=UT(m.type);I&&!b(I)&&v(E)})}function v(b){const m=i.get(b);m&&(!o||!Sc(m,o))?g(m):o&&t7(o),i.delete(b),s.delete(b)}Fr(()=>[n.include,n.exclude],([b,m])=>{b&&f(E=>Zv(b,E)),m&&f(E=>!Zv(m,E))},{flush:"post",deep:!0});let C=null;const A=()=>{C!=null&&(J4(t.subTree.type)?Po(()=>{i.set(C,E5(t.subTree))},t.subTree.suspense):i.set(C,E5(t.subTree)))};return No(A),Bb(A),p0(()=>{i.forEach(b=>{const{subTree:m,suspense:E}=t,I=E5(m);if(b.type===I.type&&b.key===I.key){t7(I);const S=I.component.da;S&&Po(S,E);return}g(b)})}),()=>{if(C=null,!e.default)return o=null;const b=e.default(),m=b[0];if(b.length>1)return o=null,b;if(!w1(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return o=null,m;let E=E5(m);if(E.type===mo)return o=null,E;const I=E.type,S=UT(Ph(E)?E.type.__asyncResolved||{}:I),{include:T,exclude:P,max:_}=n;if(T&&(!S||!Zv(T,S))||P&&S&&Zv(P,S))return E.shapeFlag&=-257,o=E,m;const $=E.key==null?I:E.key,B=i.get($);return E.el&&(E=Tu(E),m.shapeFlag&128&&(m.ssContent=E)),C=$,B?(E.el=B.el,E.component=B.component,E.transition&&E1(E,E.transition),E.shapeFlag|=512,s.delete($),s.add($)):(s.add($),_&&s.size>parseInt(_,10)&&v(s.values().next().value)),E.shapeFlag|=256,o=E,J4(m.type)?m:E}}},Z0e=X0e;function Zv(n,e){return Br(n)?n.some(t=>Zv(t,e)):ys(n)?n.split(",").includes(e):$2e(n)?(n.lastIndex=0,n.test(e)):!1}function qZ(n,e){XZ(n,"a",e)}function YZ(n,e){XZ(n,"da",e)}function XZ(n,e,t=Mo){const r=n.__wdc||(n.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return n()});if(Hb(e,r,t),t){let i=t.parent;for(;i&&i.parent;)tA(i.parent.vnode)&&Q0e(r,e,t,i),i=i.parent}}function Q0e(n,e,t,r){const i=Hb(e,n,r,!0);wo(()=>{iO(r[e],i)},t)}function t7(n){n.shapeFlag&=-257,n.shapeFlag&=-513}function E5(n){return n.shapeFlag&128?n.ssContent:n}function Hb(n,e,t=Mo,r=!1){if(t){const i=t[n]||(t[n]=[]),s=e.__weh||(e.__weh=(...o)=>{ad();const a=zf(t),l=uc(e,t,n,o);return a(),ld(),l});return r?i.unshift(s):i.push(s),s}}const L1=n=>(e,t=Mo)=>{(!S2||n==="sp")&&Hb(n,(...r)=>e(...r),t)},ZZ=L1("bm"),No=L1("m"),EO=L1("bu"),Bb=L1("u"),p0=L1("bum"),wo=L1("um"),QZ=L1("sp"),JZ=L1("rtg"),eQ=L1("rtc");function tQ(n,e=Mo){Hb("ec",n,e)}const wO="components",J0e="directives";function hc(n,e){return SO(wO,n,!0,e)||n}const rQ=Symbol.for("v-ndc");function Su(n){return ys(n)?SO(wO,n,!1)||n:n||rQ}function jb(n){return SO(J0e,n)}function SO(n,e,t=!0,r=!1){const i=$o||Mo;if(i){const s=i.type;if(n===wO){const a=UT(s,!1);if(a&&(a===e||a===fa(e)||a===eA(fa(e))))return s}const o=jD(i[n]||s[n],e)||jD(i.appContext[n],e);return!o&&r?s:o}}function jD(n,e){return n&&(n[e]||n[fa(e)]||n[eA(fa(e))])}function Yn(n,e,t,r){let i;const s=t&&t[r],o=Br(n);if(o||ys(n)){const a=o&&_h(n);let l=!1;a&&(l=!Ll(n),n=kb(n)),i=new Array(n.length);for(let c=0,u=n.length;ce(a,l,void 0,s&&s[l]));else{const a=Object.keys(n);i=new Array(a.length);for(let l=0,c=a.length;l{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return n}function pn(n,e,t={},r,i){if($o.ce||$o.parent&&Ph($o.parent)&&$o.parent.ce)return e!=="default"&&(t.name=e),Ve(),Nt(ur,null,[it("slot",t,r&&r())],64);let s=n[e];s&&s._c&&(s._d=!1),Ve();const o=s&&xO(s(t)),a=t.key||o&&o.key,l=Nt(ur,{key:(a&&!Dc(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&n._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function xO(n){return n.some(e=>w1(e)?!(e.type===mo||e.type===ur&&!xO(e.children)):!0)?n:null}function nQ(n,e){const t={};for(const r in n)t[e&&/[A-Z]/.test(r)?`on:${r}`:lm(r)]=n[r];return t}const $T=n=>n?LQ(n)?sA(n):$T(n.parent):null,dm=ss(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>$T(n.parent),$root:n=>$T(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>_O(n),$forceUpdate:n=>n.f||(n.f=()=>{pO(n.update)}),$nextTick:n=>n.n||(n.n=Hs.bind(n.proxy)),$watch:n=>Tve.bind(n)}),r7=(n,e)=>n!==li&&!n.__isScriptSetup&&xi(n,e),LT={get({_:n},e){if(e==="__v_skip")return!0;const{ctx:t,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=n;let c;if(e[0]!=="$"){const g=o[e];if(g!==void 0)switch(g){case 1:return r[e];case 2:return i[e];case 4:return t[e];case 3:return s[e]}else{if(r7(r,e))return o[e]=1,r[e];if(i!==li&&xi(i,e))return o[e]=2,i[e];if((c=n.propsOptions[0])&&xi(c,e))return o[e]=3,s[e];if(t!==li&&xi(t,e))return o[e]=4,t[e];NT&&(o[e]=0)}}const u=dm[e];let h,d;if(u)return e==="$attrs"&&Ca(n.attrs,"get",""),u(n);if((h=a.__cssModules)&&(h=h[e]))return h;if(t!==li&&xi(t,e))return o[e]=4,t[e];if(d=l.config.globalProperties,xi(d,e))return d[e]},set({_:n},e,t){const{data:r,setupState:i,ctx:s}=n;return r7(i,e)?(i[e]=t,!0):r!==li&&xi(r,e)?(r[e]=t,!0):xi(n.props,e)||e[0]==="$"&&e.slice(1)in n?!1:(s[e]=t,!0)},has({_:{data:n,setupState:e,accessCache:t,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!t[o]||n!==li&&xi(n,o)||r7(e,o)||(a=s[0])&&xi(a,o)||xi(r,o)||xi(dm,o)||xi(i.config.globalProperties,o)},defineProperty(n,e,t){return t.get!=null?n._.accessCache[e]=0:xi(t,"value")&&this.set(n,e,t.value,null),Reflect.defineProperty(n,e,t)}},eve=ss({},LT,{get(n,e){if(e!==Symbol.unscopables)return LT.get(n,e,n)},has(n,e){return e[0]!=="_"&&!R2e(e)}});function tve(){return null}function rve(){return null}function nve(n){}function ive(n){}function sve(){return null}function ove(){}function ave(n,e){return null}function Fb(){return sQ().slots}function iQ(){return sQ().attrs}function sQ(){const n=So();return n.setupContext||(n.setupContext=zQ(n))}function eC(n){return Br(n)?n.reduce((e,t)=>(e[t]=null,e),{}):n}function lve(n,e){const t=eC(n);for(const r in e){if(r.startsWith("__skip"))continue;let i=t[r];i?Br(i)||yn(i)?i=t[r]={type:i,default:e[r]}:i.default=e[r]:i===null&&(i=t[r]={default:e[r]}),i&&e[`__skip_${r}`]&&(i.skipFactory=!0)}return t}function Yh(n,e){return!n||!e?n||e:Br(n)&&Br(e)?n.concat(e):ss({},eC(n),eC(e))}function cve(n,e){const t={};for(const r in n)e.includes(r)||Object.defineProperty(t,r,{enumerable:!0,get:()=>n[r]});return t}function uve(n){const e=So();let t=n();return BT(),sO(t)&&(t=t.catch(r=>{throw zf(e),r})),[t,()=>zf(e)]}let NT=!0;function hve(n){const e=_O(n),t=n.proxy,r=n.ctx;NT=!1,e.beforeCreate&&FD(e.beforeCreate,n,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:g,updated:f,activated:v,deactivated:C,beforeDestroy:A,beforeUnmount:b,destroyed:m,unmounted:E,render:I,renderTracked:S,renderTriggered:T,errorCaptured:P,serverPrefetch:_,expose:$,inheritAttrs:B,components:U,directives:H,filters:N}=e;if(c&&dve(c,r,null),o)for(const R in o){const Y=o[R];yn(Y)&&(r[R]=Y.bind(t))}if(i){const R=i.call(t,t);Yi(R)&&(n.data=zc(R))}if(NT=!0,s)for(const R in s){const Y=s[R],ie=yn(Y)?Y.bind(t,t):yn(Y.get)?Y.get.bind(t,t):ic,de=!yn(Y)&&yn(Y.set)?Y.set.bind(t):ic,xe=ot({get:ie,set:de});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>xe.value,set:X=>xe.value=X})}if(a)for(const R in a)oQ(a[R],r,t,R);if(l){const R=yn(l)?l.call(t):l;Reflect.ownKeys(R).forEach(Y=>{io(Y,R[Y])})}u&&FD(u,n,"c");function D(R,Y){Br(Y)?Y.forEach(ie=>R(ie.bind(t))):Y&&R(Y.bind(t))}if(D(ZZ,h),D(No,d),D(EO,g),D(Bb,f),D(qZ,v),D(YZ,C),D(tQ,P),D(eQ,S),D(JZ,T),D(p0,b),D(wo,E),D(QZ,_),Br($))if($.length){const R=n.exposed||(n.exposed={});$.forEach(Y=>{Object.defineProperty(R,Y,{get:()=>t[Y],set:ie=>t[Y]=ie})})}else n.exposed||(n.exposed={});I&&n.render===ic&&(n.render=I),B!=null&&(n.inheritAttrs=B),U&&(n.components=U),H&&(n.directives=H),_&&yO(n)}function dve(n,e,t=ic){Br(n)&&(n=DT(n));for(const r in n){const i=n[r];let s;Yi(i)?"default"in i?s=Li(i.from||r,i.default,!0):s=Li(i.from||r):s=Li(i),fn(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function FD(n,e,t){uc(Br(n)?n.map(r=>r.bind(e.proxy)):n.bind(e.proxy),e,t)}function oQ(n,e,t,r){let i=r.includes(".")?SQ(t,r):()=>t[r];if(ys(n)){const s=e[n];yn(s)&&Fr(i,s)}else if(yn(n))Fr(i,n.bind(t));else if(Yi(n))if(Br(n))n.forEach(s=>oQ(s,e,t,r));else{const s=yn(n.handler)?n.handler.bind(t):e[n.handler];yn(s)&&Fr(i,s,n)}}function _O(n){const e=n.type,{mixins:t,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=n.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!t&&!r?l=e:(l={},i.length&&i.forEach(c=>Z4(l,c,o,!0)),Z4(l,e,o)),Yi(e)&&s.set(e,l),l}function Z4(n,e,t,r=!1){const{mixins:i,extends:s}=e;s&&Z4(n,s,t,!0),i&&i.forEach(o=>Z4(n,o,t,!0));for(const o in e)if(!(r&&o==="expose")){const a=fve[o]||t&&t[o];n[o]=a?a(n[o],e[o]):e[o]}return n}const fve={data:UD,props:WD,emits:WD,methods:Qv,computed:Qv,beforeCreate:_a,created:_a,beforeMount:_a,mounted:_a,beforeUpdate:_a,updated:_a,beforeDestroy:_a,beforeUnmount:_a,destroyed:_a,unmounted:_a,activated:_a,deactivated:_a,errorCaptured:_a,serverPrefetch:_a,components:Qv,directives:Qv,watch:gve,provide:UD,inject:pve};function UD(n,e){return e?n?function(){return ss(yn(n)?n.call(this,this):n,yn(e)?e.call(this,this):e)}:e:n}function pve(n,e){return Qv(DT(n),DT(e))}function DT(n){if(Br(n)){const e={};for(let t=0;t1)return t&&yn(e)?e.call(r&&r.proxy):e}}function PO(){return!!(Mo||$o||Cf)}const lQ={},cQ=()=>Object.create(lQ),uQ=n=>Object.getPrototypeOf(n)===lQ;function Cve(n,e,t,r=!1){const i={},s=cQ();n.propsDefaults=Object.create(null),hQ(n,e,i,s);for(const o in n.propsOptions[0])o in i||(i[o]=void 0);t?n.props=r?i:Lb(i):n.type.props?n.props=i:n.props=s,n.attrs=s}function Ave(n,e,t,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=n,a=ii(i),[l]=n.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=n.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,g]=dQ(h,e,!0);ss(o,d),g&&a.push(...g)};!t&&e.mixins.length&&e.mixins.forEach(u),n.extends&&u(n.extends),n.mixins&&n.mixins.forEach(u)}if(!s&&!l)return Yi(n)&&r.set(n,r2),r2;if(Br(s))for(let u=0;un[0]==="_"||n==="$stable",OO=n=>Br(n)?n.map(el):[el(n)],yve=(n,e,t)=>{if(e._n)return e;const r=At((...i)=>OO(e(...i)),t);return r._c=!1,r},pQ=(n,e,t)=>{const r=n._ctx;for(const i in n){if(fQ(i))continue;const s=n[i];if(yn(s))e[i]=yve(i,s,r);else if(s!=null){const o=OO(s);e[i]=()=>o}}},gQ=(n,e)=>{const t=OO(e);n.slots.default=()=>t},vQ=(n,e,t)=>{for(const r in e)(t||r!=="_")&&(n[r]=e[r])},bve=(n,e,t)=>{const r=n.slots=cQ();if(n.vnode.shapeFlag&32){const i=e._;i?(vQ(r,e,t),t&&dZ(r,"_",i,!0)):pQ(e,r)}else e&&gQ(n,e)},Eve=(n,e,t)=>{const{vnode:r,slots:i}=n;let s=!0,o=li;if(r.shapeFlag&32){const a=e._;a?t&&a===1?s=!1:vQ(i,e,t):(s=!e.$stable,pQ(e,i)),o=e}else e&&(gQ(n,e),o={default:1});if(s)for(const a in i)!fQ(a)&&o[a]==null&&delete i[a]},Po=PQ;function mQ(n){return AQ(n)}function CQ(n){return AQ(n,H0e)}function AQ(n,e){const t=xb();t.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:d,setScopeId:g=ic,insertStaticContent:f}=n,v=(te,ce,ge,Te=null,ae=null,L=null,F=void 0,re=null,ke=!!ce.dynamicChildren)=>{if(te===ce)return;te&&!Sc(te,ce)&&(Te=fe(te),X(te,ae,L,!0),te=null),ce.patchFlag===-2&&(ke=!1,ce.dynamicChildren=null);const{type:ze,ref:$e,shapeFlag:Ce}=ce;switch(ze){case Oh:C(te,ce,ge,Te);break;case mo:A(te,ce,ge,Te);break;case Af:te==null&&b(ce,ge,Te,F);break;case ur:U(te,ce,ge,Te,ae,L,F,re,ke);break;default:Ce&1?I(te,ce,ge,Te,ae,L,F,re,ke):Ce&6?H(te,ce,ge,Te,ae,L,F,re,ke):(Ce&64||Ce&128)&&ze.process(te,ce,ge,Te,ae,L,F,re,ke,K)}$e!=null&&ae&&Jm($e,te&&te.ref,L,ce||te,!ce)},C=(te,ce,ge,Te)=>{if(te==null)r(ce.el=a(ce.children),ge,Te);else{const ae=ce.el=te.el;ce.children!==te.children&&c(ae,ce.children)}},A=(te,ce,ge,Te)=>{te==null?r(ce.el=l(ce.children||""),ge,Te):ce.el=te.el},b=(te,ce,ge,Te)=>{[te.el,te.anchor]=f(te.children,ce,ge,Te,te.el,te.anchor)},m=({el:te,anchor:ce},ge,Te)=>{let ae;for(;te&&te!==ce;)ae=d(te),r(te,ge,Te),te=ae;r(ce,ge,Te)},E=({el:te,anchor:ce})=>{let ge;for(;te&&te!==ce;)ge=d(te),i(te),te=ge;i(ce)},I=(te,ce,ge,Te,ae,L,F,re,ke)=>{ce.type==="svg"?F="svg":ce.type==="math"&&(F="mathml"),te==null?S(ce,ge,Te,ae,L,F,re,ke):_(te,ce,ae,L,F,re,ke)},S=(te,ce,ge,Te,ae,L,F,re)=>{let ke,ze;const{props:$e,shapeFlag:Ce,transition:Ne,dirs:Ye}=te;if(ke=te.el=o(te.type,L,$e&&$e.is,$e),Ce&8?u(ke,te.children):Ce&16&&P(te.children,ke,null,Te,ae,n7(te,L),F,re),Ye&&su(te,null,Te,"created"),T(ke,te,te.scopeId,F,Te),$e){for(const ht in $e)ht!=="value"&&!i2(ht)&&s(ke,ht,null,$e[ht],L,Te);"value"in $e&&s(ke,"value",null,$e.value,L),(ze=$e.onVnodeBeforeMount)&&Za(ze,Te,te)}Ye&&su(te,null,Te,"beforeMount");const st=IQ(ae,Ne);st&&Ne.beforeEnter(ke),r(ke,ce,ge),((ze=$e&&$e.onVnodeMounted)||st||Ye)&&Po(()=>{ze&&Za(ze,Te,te),st&&Ne.enter(ke),Ye&&su(te,null,Te,"mounted")},ae)},T=(te,ce,ge,Te,ae)=>{if(ge&&g(te,ge),Te)for(let L=0;L{for(let ze=ke;ze{const re=ce.el=te.el;let{patchFlag:ke,dynamicChildren:ze,dirs:$e}=ce;ke|=te.patchFlag&16;const Ce=te.props||li,Ne=ce.props||li;let Ye;if(ge&&Ud(ge,!1),(Ye=Ne.onVnodeBeforeUpdate)&&Za(Ye,ge,ce,te),$e&&su(ce,te,ge,"beforeUpdate"),ge&&Ud(ge,!0),(Ce.innerHTML&&Ne.innerHTML==null||Ce.textContent&&Ne.textContent==null)&&u(re,""),ze?$(te.dynamicChildren,ze,re,ge,Te,n7(ce,ae),L):F||Y(te,ce,re,null,ge,Te,n7(ce,ae),L,!1),ke>0){if(ke&16)B(re,Ce,Ne,ge,ae);else if(ke&2&&Ce.class!==Ne.class&&s(re,"class",null,Ne.class,ae),ke&4&&s(re,"style",Ce.style,Ne.style,ae),ke&8){const st=ce.dynamicProps;for(let ht=0;ht{Ye&&Za(Ye,ge,ce,te),$e&&su(ce,te,ge,"updated")},Te)},$=(te,ce,ge,Te,ae,L,F)=>{for(let re=0;re{if(ce!==ge){if(ce!==li)for(const L in ce)!i2(L)&&!(L in ge)&&s(te,L,ce[L],null,ae,Te);for(const L in ge){if(i2(L))continue;const F=ge[L],re=ce[L];F!==re&&L!=="value"&&s(te,L,re,F,ae,Te)}"value"in ge&&s(te,"value",ce.value,ge.value,ae)}},U=(te,ce,ge,Te,ae,L,F,re,ke)=>{const ze=ce.el=te?te.el:a(""),$e=ce.anchor=te?te.anchor:a("");let{patchFlag:Ce,dynamicChildren:Ne,slotScopeIds:Ye}=ce;Ye&&(re=re?re.concat(Ye):Ye),te==null?(r(ze,ge,Te),r($e,ge,Te),P(ce.children||[],ge,$e,ae,L,F,re,ke)):Ce>0&&Ce&64&&Ne&&te.dynamicChildren?($(te.dynamicChildren,Ne,ge,ae,L,F,re),(ce.key!=null||ae&&ce===ae.subTree)&&MO(te,ce,!0)):Y(te,ce,ge,$e,ae,L,F,re,ke)},H=(te,ce,ge,Te,ae,L,F,re,ke)=>{ce.slotScopeIds=re,te==null?ce.shapeFlag&512?ae.ctx.activate(ce,ge,Te,F,ke):N(ce,ge,Te,ae,L,F,ke):W(te,ce,ke)},N=(te,ce,ge,Te,ae,L,F)=>{const re=te.component=$Q(te,Te,ae);if(tA(te)&&(re.ctx.renderer=K),NQ(re,!1,F),re.asyncDep){if(ae&&ae.registerDep(re,D,F),!te.el){const ke=re.subTree=it(mo);A(null,ke,ce,ge)}}else D(re,te,ce,ge,ae,L,F)},W=(te,ce,ge)=>{const Te=ce.component=te.component;if(Mve(te,ce,ge))if(Te.asyncDep&&!Te.asyncResolved){R(Te,ce,ge);return}else Te.next=ce,Te.update();else ce.el=te.el,Te.vnode=ce},D=(te,ce,ge,Te,ae,L,F)=>{const re=()=>{if(te.isMounted){let{next:Ce,bu:Ne,u:Ye,parent:st,vnode:ht}=te;{const Vr=yQ(te);if(Vr){Ce&&(Ce.el=ht.el,R(te,Ce,F)),Vr.asyncDep.then(()=>{te.isUnmounted||re()});return}}let It=Ce,Ir;Ud(te,!1),Ce?(Ce.el=ht.el,R(te,Ce,F)):Ce=ht,Ne&&s2(Ne),(Ir=Ce.props&&Ce.props.onVnodeBeforeUpdate)&&Za(Ir,st,Ce,ht),Ud(te,!0);const rr=Jy(te),Sr=te.subTree;te.subTree=rr,v(Sr,rr,h(Sr.el),fe(Sr),te,ae,L),Ce.el=rr.el,It===null&&Wb(te,rr.el),Ye&&Po(Ye,ae),(Ir=Ce.props&&Ce.props.onVnodeUpdated)&&Po(()=>Za(Ir,st,Ce,ht),ae)}else{let Ce;const{el:Ne,props:Ye}=ce,{bm:st,m:ht,parent:It,root:Ir,type:rr}=te,Sr=Ph(ce);if(Ud(te,!1),st&&s2(st),!Sr&&(Ce=Ye&&Ye.onVnodeBeforeMount)&&Za(Ce,It,ce),Ud(te,!0),Ne&&ue){const Vr=()=>{te.subTree=Jy(te),ue(Ne,te.subTree,te,ae,null)};Sr&&rr.__asyncHydrate?rr.__asyncHydrate(Ne,te,Vr):Vr()}else{Ir.ce&&Ir.ce._injectChildStyle(rr);const Vr=te.subTree=Jy(te);v(null,Vr,ge,Te,te,ae,L),ce.el=Vr.el}if(ht&&Po(ht,ae),!Sr&&(Ce=Ye&&Ye.onVnodeMounted)){const Vr=ce;Po(()=>Za(Ce,It,Vr),ae)}(ce.shapeFlag&256||It&&Ph(It.vnode)&&It.vnode.shapeFlag&256)&&te.a&&Po(te.a,ae),te.isMounted=!0,ce=ge=Te=null}};te.scope.on();const ke=te.effect=new Km(re);te.scope.off();const ze=te.update=ke.run.bind(ke),$e=te.job=ke.runIfDirty.bind(ke);$e.i=te,$e.id=te.uid,ke.scheduler=()=>pO($e),Ud(te,!0),ze()},R=(te,ce,ge)=>{ce.component=te;const Te=te.vnode.props;te.vnode=ce,te.next=null,Ave(te,ce.props,Te,ge),Eve(te,ce.children,ge),ad(),ND(te),ld()},Y=(te,ce,ge,Te,ae,L,F,re,ke=!1)=>{const ze=te&&te.children,$e=te?te.shapeFlag:0,Ce=ce.children,{patchFlag:Ne,shapeFlag:Ye}=ce;if(Ne>0){if(Ne&128){de(ze,Ce,ge,Te,ae,L,F,re,ke);return}else if(Ne&256){ie(ze,Ce,ge,Te,ae,L,F,re,ke);return}}Ye&8?($e&16&&_e(ze,ae,L),Ce!==ze&&u(ge,Ce)):$e&16?Ye&16?de(ze,Ce,ge,Te,ae,L,F,re,ke):_e(ze,ae,L,!0):($e&8&&u(ge,""),Ye&16&&P(Ce,ge,Te,ae,L,F,re,ke))},ie=(te,ce,ge,Te,ae,L,F,re,ke)=>{te=te||r2,ce=ce||r2;const ze=te.length,$e=ce.length,Ce=Math.min(ze,$e);let Ne;for(Ne=0;Ne$e?_e(te,ae,L,!0,!1,Ce):P(ce,ge,Te,ae,L,F,re,ke,Ce)},de=(te,ce,ge,Te,ae,L,F,re,ke)=>{let ze=0;const $e=ce.length;let Ce=te.length-1,Ne=$e-1;for(;ze<=Ce&&ze<=Ne;){const Ye=te[ze],st=ce[ze]=ke?fh(ce[ze]):el(ce[ze]);if(Sc(Ye,st))v(Ye,st,ge,null,ae,L,F,re,ke);else break;ze++}for(;ze<=Ce&&ze<=Ne;){const Ye=te[Ce],st=ce[Ne]=ke?fh(ce[Ne]):el(ce[Ne]);if(Sc(Ye,st))v(Ye,st,ge,null,ae,L,F,re,ke);else break;Ce--,Ne--}if(ze>Ce){if(ze<=Ne){const Ye=Ne+1,st=Ye<$e?ce[Ye].el:Te;for(;ze<=Ne;)v(null,ce[ze]=ke?fh(ce[ze]):el(ce[ze]),ge,st,ae,L,F,re,ke),ze++}}else if(ze>Ne)for(;ze<=Ce;)X(te[ze],ae,L,!0),ze++;else{const Ye=ze,st=ze,ht=new Map;for(ze=st;ze<=Ne;ze++){const $n=ce[ze]=ke?fh(ce[ze]):el(ce[ze]);$n.key!=null&&ht.set($n.key,ze)}let It,Ir=0;const rr=Ne-st+1;let Sr=!1,Vr=0;const wt=new Array(rr);for(ze=0;ze=rr){X($n,ae,L,!0);continue}let Pn;if($n.key!=null)Pn=ht.get($n.key);else for(It=st;It<=Ne;It++)if(wt[It-st]===0&&Sc($n,ce[It])){Pn=It;break}Pn===void 0?X($n,ae,L,!0):(wt[Pn-st]=ze+1,Pn>=Vr?Vr=Pn:Sr=!0,v($n,ce[Pn],ge,null,ae,L,F,re,ke),Ir++)}const Nn=Sr?wve(wt):r2;for(It=Nn.length-1,ze=rr-1;ze>=0;ze--){const $n=st+ze,Pn=ce[$n],Xn=$n+1<$e?ce[$n+1].el:Te;wt[ze]===0?v(null,Pn,ge,Xn,ae,L,F,re,ke):Sr&&(It<0||ze!==Nn[It]?xe(Pn,ge,Xn,2):It--)}}},xe=(te,ce,ge,Te,ae=null)=>{const{el:L,type:F,transition:re,children:ke,shapeFlag:ze}=te;if(ze&6){xe(te.component.subTree,ce,ge,Te);return}if(ze&128){te.suspense.move(ce,ge,Te);return}if(ze&64){F.move(te,ce,ge,K);return}if(F===ur){r(L,ce,ge);for(let Ce=0;Cere.enter(L),ae);else{const{leave:Ce,delayLeave:Ne,afterLeave:Ye}=re,st=()=>r(L,ce,ge),ht=()=>{Ce(L,()=>{st(),Ye&&Ye()})};Ne?Ne(L,st,ht):ht()}else r(L,ce,ge)},X=(te,ce,ge,Te=!1,ae=!1)=>{const{type:L,props:F,ref:re,children:ke,dynamicChildren:ze,shapeFlag:$e,patchFlag:Ce,dirs:Ne,cacheIndex:Ye}=te;if(Ce===-2&&(ae=!1),re!=null&&Jm(re,null,ge,te,!0),Ye!=null&&(ce.renderCache[Ye]=void 0),$e&256){ce.ctx.deactivate(te);return}const st=$e&1&&Ne,ht=!Ph(te);let It;if(ht&&(It=F&&F.onVnodeBeforeUnmount)&&Za(It,ce,te),$e&6)me(te.component,ge,Te);else{if($e&128){te.suspense.unmount(ge,Te);return}st&&su(te,null,ce,"beforeUnmount"),$e&64?te.type.remove(te,ce,ge,K,Te):ze&&!ze.hasOnce&&(L!==ur||Ce>0&&Ce&64)?_e(ze,ce,ge,!1,!0):(L===ur&&Ce&384||!ae&&$e&16)&&_e(ke,ce,ge),Te&&Q(te)}(ht&&(It=F&&F.onVnodeUnmounted)||st)&&Po(()=>{It&&Za(It,ce,te),st&&su(te,null,ce,"unmounted")},ge)},Q=te=>{const{type:ce,el:ge,anchor:Te,transition:ae}=te;if(ce===ur){he(ge,Te);return}if(ce===Af){E(te);return}const L=()=>{i(ge),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(te.shapeFlag&1&&ae&&!ae.persisted){const{leave:F,delayLeave:re}=ae,ke=()=>F(ge,L);re?re(te.el,L,ke):ke()}else L()},he=(te,ce)=>{let ge;for(;te!==ce;)ge=d(te),i(te),te=ge;i(ce)},me=(te,ce,ge)=>{const{bum:Te,scope:ae,job:L,subTree:F,um:re,m:ke,a:ze}=te;Q4(ke),Q4(ze),Te&&s2(Te),ae.stop(),L&&(L.flags|=8,X(F,te,ce,ge)),re&&Po(re,ce),Po(()=>{te.isUnmounted=!0},ce),ce&&ce.pendingBranch&&!ce.isUnmounted&&te.asyncDep&&!te.asyncResolved&&te.suspenseId===ce.pendingId&&(ce.deps--,ce.deps===0&&ce.resolve())},_e=(te,ce,ge,Te=!1,ae=!1,L=0)=>{for(let F=L;F{if(te.shapeFlag&6)return fe(te.component.subTree);if(te.shapeFlag&128)return te.suspense.next();const ce=d(te.anchor||te.el),ge=ce&&ce[HZ];return ge?d(ge):ce};let oe=!1;const J=(te,ce,ge)=>{te==null?ce._vnode&&X(ce._vnode,null,null,!0):v(ce._vnode||null,te,ce,null,null,null,ge),ce._vnode=te,oe||(oe=!0,ND(),X4(),oe=!1)},K={p:v,um:X,m:xe,r:Q,mt:N,mc:P,pc:Y,pbc:$,n:fe,o:n};let q,ue;return e&&([q,ue]=e(K)),{render:J,hydrate:q,createApp:mve(J,q)}}function n7({type:n,props:e},t){return t==="svg"&&n==="foreignObject"||t==="mathml"&&n==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:t}function Ud({effect:n,job:e},t){t?(n.flags|=32,e.flags|=4):(n.flags&=-33,e.flags&=-5)}function IQ(n,e){return(!n||n&&!n.pendingBranch)&&e&&!e.persisted}function MO(n,e,t=!1){const r=n.children,i=e.children;if(Br(r)&&Br(i))for(let s=0;s>1,n[t[a]]0&&(e[r]=t[s-1]),t[s]=r)}}for(s=t.length,o=t[s-1];s-- >0;)t[s]=o,o=e[o];return t}function yQ(n){const e=n.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:yQ(e)}function Q4(n){if(n)for(let e=0;eLi(bQ);function Ao(n,e){return rA(n,null,e)}function Sve(n,e){return rA(n,null,{flush:"post"})}function wQ(n,e){return rA(n,null,{flush:"sync"})}function Fr(n,e,t){return rA(n,e,t)}function rA(n,e,t=li){const{immediate:r,deep:i,flush:s,once:o}=t,a=ss({},t),l=e&&r||!e&&s!=="post";let c;if(S2){if(s==="sync"){const g=EQ();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!l){const g=()=>{};return g.stop=ic,g.resume=ic,g.pause=ic,g}}const u=Mo;a.call=(g,f,v)=>uc(g,u,f,v);let h=!1;s==="post"?a.scheduler=g=>{Po(g,u&&u.suspense)}:s!=="sync"&&(h=!0,a.scheduler=(g,f)=>{f?g():pO(g)}),a.augmentJob=g=>{e&&(g.flags|=4),h&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const d=T0e(n,e,a);return S2&&(c?c.push(d):l&&d()),d}function Tve(n,e,t){const r=this.proxy,i=ys(n)?n.includes(".")?SQ(r,n):()=>r[n]:n.bind(r,r);let s;yn(e)?s=e:(s=e.handler,t=e);const o=zf(this),a=rA(i,s.bind(r),t);return o(),a}function SQ(n,e){const t=e.split(".");return()=>{let r=n;for(let i=0;i{let u,h=li,d;return wQ(()=>{const g=n[i];La(u,g)&&(u=g,c())}),{get(){return l(),t.get?t.get(u):u},set(g){const f=t.set?t.set(g):g;if(!La(f,u)&&!(h!==li&&La(g,h)))return;const v=r.vnode.props;v&&(e in v||i in v||s in v)&&(`onUpdate:${e}`in v||`onUpdate:${i}`in v||`onUpdate:${s}`in v)||(u=g,c()),r.emit(`update:${e}`,f),La(g,f)&&La(g,h)&&!La(f,d)&&c(),h=g,d=f}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||li:a,done:!1}:{done:!0}}}},a}const TQ=(n,e)=>e==="modelValue"||e==="model-value"?n.modelModifiers:n[`${e}Modifiers`]||n[`${fa(e)}Modifiers`]||n[`${sl(e)}Modifiers`];function xve(n,e,...t){if(n.isUnmounted)return;const r=n.vnode.props||li;let i=t;const s=e.startsWith("update:"),o=s&&TQ(r,e.slice(7));o&&(o.trim&&(i=t.map(u=>ys(u)?u.trim():u)),o.number&&(i=t.map(U4)));let a,l=r[a=lm(e)]||r[a=lm(fa(e))];!l&&s&&(l=r[a=lm(sl(e))]),l&&uc(l,n,6,i);const c=r[a+"Once"];if(c){if(!n.emitted)n.emitted={};else if(n.emitted[a])return;n.emitted[a]=!0,uc(c,n,6,i)}}function xQ(n,e,t=!1){const r=e.emitsCache,i=r.get(n);if(i!==void 0)return i;const s=n.emits;let o={},a=!1;if(!yn(n)){const l=c=>{const u=xQ(c,e,!0);u&&(a=!0,ss(o,u))};!t&&e.mixins.length&&e.mixins.forEach(l),n.extends&&l(n.extends),n.mixins&&n.mixins.forEach(l)}return!s&&!a?(Yi(n)&&r.set(n,null),null):(Br(s)?s.forEach(l=>o[l]=null):ss(o,s),Yi(n)&&r.set(n,o),o)}function Ub(n,e){return!n||!JC(e)?!1:(e=e.slice(2).replace(/Once$/,""),xi(n,e[0].toLowerCase()+e.slice(1))||xi(n,sl(e))||xi(n,e))}function Jy(n){const{type:e,vnode:t,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:h,data:d,setupState:g,ctx:f,inheritAttrs:v}=n,C=Qm(n);let A,b;try{if(t.shapeFlag&4){const E=i||r,I=E;A=el(c.call(I,E,u,h,g,d,f)),b=a}else{const E=e;A=el(E.length>1?E(h,{attrs:a,slots:o,emit:l}):E(h,null)),b=e.props?a:Pve(a)}}catch(E){fm.length=0,ip(E,n,1),A=it(mo)}let m=A;if(b&&v!==!1){const E=Object.keys(b),{shapeFlag:I}=m;E.length&&I&7&&(s&&E.some(nO)&&(b=Ove(b,s)),m=Tu(m,b,!1,!0))}return t.dirs&&(m=Tu(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(t.dirs):t.dirs),t.transition&&E1(m,t.transition),A=m,Qm(C),A}function _ve(n,e=!0){let t;for(let r=0;r{let e;for(const t in n)(t==="class"||t==="style"||JC(t))&&((e||(e={}))[t]=n[t]);return e},Ove=(n,e)=>{const t={};for(const r in n)(!nO(r)||!(r.slice(9)in e))&&(t[r]=n[r]);return t};function Mve(n,e,t){const{props:r,children:i,component:s}=n,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&l>=0){if(l&1024)return!0;if(l&16)return r?KD(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let h=0;hn.__isSuspense;let RT=0;const kve={name:"Suspense",__isSuspense:!0,process(n,e,t,r,i,s,o,a,l,c){if(n==null)Lve(e,t,r,i,s,o,a,l,c);else{if(s&&s.deps>0&&!n.suspense.isInFallback){e.suspense=n.suspense,e.suspense.vnode=e,e.el=n.el;return}Nve(n,e,t,r,i,o,a,l,c)}},hydrate:Dve,normalize:zve},$ve=kve;function tC(n,e){const t=n.props&&n.props[e];yn(t)&&t()}function Lve(n,e,t,r,i,s,o,a,l){const{p:c,o:{createElement:u}}=l,h=u("div"),d=n.suspense=_Q(n,i,r,e,h,t,s,o,a,l);c(null,d.pendingBranch=n.ssContent,h,null,r,d,s,o),d.deps>0?(tC(n,"onPending"),tC(n,"onFallback"),c(null,n.ssFallback,e,t,r,null,s,o),a2(d,n.ssFallback)):d.resolve(!1,!0)}function Nve(n,e,t,r,i,s,o,a,{p:l,um:c,o:{createElement:u}}){const h=e.suspense=n.suspense;h.vnode=e,e.el=n.el;const d=e.ssContent,g=e.ssFallback,{activeBranch:f,pendingBranch:v,isInFallback:C,isHydrating:A}=h;if(v)h.pendingBranch=d,Sc(d,v)?(l(v,d,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0?h.resolve():C&&(A||(l(f,g,t,r,i,null,s,o,a),a2(h,g)))):(h.pendingId=RT++,A?(h.isHydrating=!1,h.activeBranch=v):c(v,i,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),C?(l(null,d,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0?h.resolve():(l(f,g,t,r,i,null,s,o,a),a2(h,g))):f&&Sc(d,f)?(l(f,d,t,r,i,h,s,o,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0&&h.resolve()));else if(f&&Sc(d,f))l(f,d,t,r,i,h,s,o,a),a2(h,d);else if(tC(e,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=RT++,l(null,d,h.hiddenContainer,null,i,h,s,o,a),h.deps<=0)h.resolve();else{const{timeout:b,pendingId:m}=h;b>0?setTimeout(()=>{h.pendingId===m&&h.fallback(g)},b):b===0&&h.fallback(g)}}function _Q(n,e,t,r,i,s,o,a,l,c,u=!1){const{p:h,m:d,um:g,n:f,o:{parentNode:v,remove:C}}=c;let A;const b=Rve(n);b&&e&&e.pendingBranch&&(A=e.pendingId,e.deps++);const m=n.props?W4(n.props.timeout):void 0,E=s,I={vnode:n,parent:e,parentComponent:t,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:RT++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,T=!1){const{vnode:P,activeBranch:_,pendingBranch:$,pendingId:B,effects:U,parentComponent:H,container:N}=I;let W=!1;I.isHydrating?I.isHydrating=!1:S||(W=_&&$.transition&&$.transition.mode==="out-in",W&&(_.transition.afterLeave=()=>{B===I.pendingId&&(d($,N,s===E?f(_):s,0),Xm(U))}),_&&(v(_.el)===N&&(s=f(_)),g(_,H,I,!0)),W||d($,N,s,0)),a2(I,$),I.pendingBranch=null,I.isInFallback=!1;let D=I.parent,R=!1;for(;D;){if(D.pendingBranch){D.effects.push(...U),R=!0;break}D=D.parent}!R&&!W&&Xm(U),I.effects=[],b&&e&&e.pendingBranch&&A===e.pendingId&&(e.deps--,e.deps===0&&!T&&e.resolve()),tC(P,"onResolve")},fallback(S){if(!I.pendingBranch)return;const{vnode:T,activeBranch:P,parentComponent:_,container:$,namespace:B}=I;tC(T,"onFallback");const U=f(P),H=()=>{I.isInFallback&&(h(null,S,$,U,_,null,B,a,l),a2(I,S))},N=S.transition&&S.transition.mode==="out-in";N&&(P.transition.afterLeave=H),I.isInFallback=!0,g(P,_,null,!0),N||H()},move(S,T,P){I.activeBranch&&d(I.activeBranch,S,T,P),I.container=S},next(){return I.activeBranch&&f(I.activeBranch)},registerDep(S,T,P){const _=!!I.pendingBranch;_&&I.deps++;const $=S.vnode.el;S.asyncDep.catch(B=>{ip(B,S,0)}).then(B=>{if(S.isUnmounted||I.isUnmounted||I.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:U}=S;jT(S,B,!1),$&&(U.el=$);const H=!$&&S.subTree.el;T(S,U,v($||S.subTree.el),$?null:f(S.subTree),I,o,P),H&&C(H),Wb(S,U.el),_&&--I.deps===0&&I.resolve()})},unmount(S,T){I.isUnmounted=!0,I.activeBranch&&g(I.activeBranch,t,S,T),I.pendingBranch&&g(I.pendingBranch,t,S,T)}};return I}function Dve(n,e,t,r,i,s,o,a,l){const c=e.suspense=_Q(e,r,t,n.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=l(n,c.pendingBranch=e.ssContent,t,c,s,o);return c.deps===0&&c.resolve(!1,!0),u}function zve(n){const{shapeFlag:e,children:t}=n,r=e&32;n.ssContent=qD(r?t.default:t),n.ssFallback=r?qD(t.fallback):it(mo)}function qD(n){let e;if(yn(n)){const t=Df&&n._c;t&&(n._d=!1,Ve()),n=n(),t&&(n._d=!0,e=ba,OQ())}return Br(n)&&(n=_ve(n)),n=el(n),e&&!n.dynamicChildren&&(n.dynamicChildren=e.filter(t=>t!==n)),n}function PQ(n,e){e&&e.pendingBranch?Br(n)?e.effects.push(...n):e.effects.push(n):Xm(n)}function a2(n,e){n.activeBranch=e;const{vnode:t,parentComponent:r}=n;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;t.el=i,r&&r.subTree===t&&(r.vnode.el=i,Wb(r,i))}function Rve(n){const e=n.props&&n.props.suspensible;return e!=null&&e!==!1}const ur=Symbol.for("v-fgt"),Oh=Symbol.for("v-txt"),mo=Symbol.for("v-cmt"),Af=Symbol.for("v-stc"),fm=[];let ba=null;function Ve(n=!1){fm.push(ba=n?null:[])}function OQ(){fm.pop(),ba=fm[fm.length-1]||null}let Df=1;function VT(n,e=!1){Df+=n,n<0&&ba&&e&&(ba.hasOnce=!0)}function MQ(n){return n.dynamicChildren=Df>0?ba||r2:null,OQ(),Df>0&&ba&&ba.push(n),n}function Xe(n,e,t,r,i,s){return MQ(Pe(n,e,t,r,i,s,!0))}function Nt(n,e,t,r,i){return MQ(it(n,e,t,r,i,!0))}function w1(n){return n?n.__v_isVNode===!0:!1}function Sc(n,e){return n.type===e.type&&n.key===e.key}function Vve(n){}const kQ=({key:n})=>n??null,e4=({ref:n,ref_key:e,ref_for:t})=>(typeof n=="number"&&(n=""+n),n!=null?ys(n)||fn(n)||yn(n)?{i:$o,r:n,k:e,f:!!t}:n:null);function Pe(n,e=null,t=null,r=0,i=null,s=n===ur?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:n,props:e,key:e&&kQ(e),ref:e&&e4(e),scopeId:Rb,slotScopeIds:null,children:t,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$o};return a?($O(l,t),s&128&&n.normalize(l)):t&&(l.shapeFlag|=ys(t)?8:16),Df>0&&!o&&ba&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ba.push(l),l}const it=Hve;function Hve(n,e=null,t=null,r=0,i=null,s=!1){if((!n||n===rQ)&&(n=mo),w1(n)){const a=Tu(n,e,!0);return t&&$O(a,t),Df>0&&!s&&ba&&(a.shapeFlag&6?ba[ba.indexOf(n)]=a:ba.push(a)),a.patchFlag=-2,a}if(Kve(n)&&(n=n.__vccOpts),e){e=iA(e);let{class:a,style:l}=e;a&&!ys(a)&&(e.class=Ar(a)),Yi(l)&&(Db(l)&&!Br(l)&&(l=ss({},l)),e.style=Ys(l))}const o=ys(n)?1:J4(n)?128:BZ(n)?64:Yi(n)?4:yn(n)?2:0;return Pe(n,e,t,r,i,o,s,!0)}function iA(n){return n?Db(n)||uQ(n)?ss({},n):n:null}function Tu(n,e,t=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=n,c=e?vo(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:n.type,props:c,key:c&&kQ(c),ref:e&&e.ref?t&&s?Br(s)?s.concat(e4(e)):[s,e4(e)]:e4(e):s,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:a,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:e&&n.type!==ur?o===-1?16:o|16:o,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:l,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&Tu(n.ssContent),ssFallback:n.ssFallback&&Tu(n.ssFallback),el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return l&&r&&E1(u,l.clone(u)),u}function Cr(n=" ",e=0){return it(Oh,null,n,e)}function kO(n,e){const t=it(Af,null,n);return t.staticCount=e,t}function Rt(n="",e=!1){return e?(Ve(),Nt(mo,null,n)):it(mo,null,n)}function el(n){return n==null||typeof n=="boolean"?it(mo):Br(n)?it(ur,null,n.slice()):w1(n)?fh(n):it(Oh,null,String(n))}function fh(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:Tu(n)}function $O(n,e){let t=0;const{shapeFlag:r}=n;if(e==null)e=null;else if(Br(e))t=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),$O(n,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!uQ(e)?e._ctx=$o:i===3&&$o&&($o.slots._===1?e._=1:(e._=2,n.patchFlag|=1024))}else yn(e)?(e={default:e,_ctx:$o},t=32):(e=String(e),r&64?(t=16,e=[Cr(e)]):t=8);n.children=e,n.shapeFlag|=t}function vo(...n){const e={};for(let t=0;tMo||$o;let e3,HT;{const n=xb(),e=(t,r)=>{let i;return(i=n[t])||(i=n[t]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};e3=e("__VUE_INSTANCE_SETTERS__",t=>Mo=t),HT=e("__VUE_SSR_SETTERS__",t=>S2=t)}const zf=n=>{const e=Mo;return e3(n),n.scope.on(),()=>{n.scope.off(),e3(e)}},BT=()=>{Mo&&Mo.scope.off(),e3(null)};function LQ(n){return n.vnode.shapeFlag&4}let S2=!1;function NQ(n,e=!1,t=!1){e&&HT(e);const{props:r,children:i}=n.vnode,s=LQ(n);Cve(n,r,s,e),bve(n,i,t);const o=s?Fve(n,e):void 0;return e&&HT(!1),o}function Fve(n,e){const t=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,LT);const{setup:r}=t;if(r){ad();const i=n.setupContext=r.length>1?zQ(n):null,s=zf(n),o=f0(r,n,0,[n.props,i]),a=sO(o);if(ld(),s(),(a||n.sp)&&!Ph(n)&&yO(n),a){if(o.then(BT,BT),e)return o.then(l=>{jT(n,l,e)}).catch(l=>{ip(l,n,0)});n.asyncDep=o}else jT(n,o,e)}else DQ(n,e)}function jT(n,e,t){yn(e)?n.type.__ssrInlineRender?n.ssrRender=e:n.render=e:Yi(e)&&(n.setupState=fO(e)),DQ(n,t)}let t3,FT;function Uve(n){t3=n,FT=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,eve))}}const Wve=()=>!t3;function DQ(n,e,t){const r=n.type;if(!n.render){if(!e&&t3&&!r.render){const i=r.template||_O(n).template;if(i){const{isCustomElement:s,compilerOptions:o}=n.appContext.config,{delimiters:a,compilerOptions:l}=r,c=ss(ss({isCustomElement:s,delimiters:a},o),l);r.render=t3(i,c)}}n.render=r.render||ic,FT&&FT(n)}{const i=zf(n);ad();try{hve(n)}finally{ld(),i()}}}const Gve={get(n,e){return Ca(n,"get",""),n[e]}};function zQ(n){const e=t=>{n.exposed=t||{}};return{attrs:new Proxy(n.attrs,Gve),slots:n.slots,emit:n.emit,expose:e}}function sA(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(fO(dO(n.exposed)),{get(e,t){if(t in e)return e[t];if(t in dm)return dm[t](n)},has(e,t){return t in e||t in dm}})):n.proxy}function UT(n,e=!0){return yn(n)?n.displayName||n.name:n.name||e&&n.__name}function Kve(n){return yn(n)&&"__vccOpts"in n}const ot=(n,e)=>b0e(n,e,S2);function cd(n,e,t){const r=arguments.length;return r===2?Yi(e)&&!Br(e)?w1(e)?it(n,null,[e]):it(n,e):it(n,null,e):(r>3?t=Array.prototype.slice.call(arguments,2):r===3&&w1(t)&&(t=[t]),it(n,e,t))}function qve(){}function Yve(n,e,t,r){const i=t[r];if(i&&RQ(i,n))return i;const s=e();return s.memo=n.slice(),s.cacheIndex=r,t[r]=s}function RQ(n,e){const t=n.memo;if(t.length!=e.length)return!1;for(let r=0;r0&&ba&&ba.push(n),!0}const VQ="3.5.13",Xve=ic,Zve=M0e,Qve=Sg,Jve=VZ,eme={createComponentInstance:$Q,setupComponent:NQ,renderComponentRoot:Jy,setCurrentRenderingInstance:Qm,isVNode:w1,normalizeVNode:el,getComponentPublicInstance:sA,ensureValidVNode:xO,pushWarningContext:x0e,popWarningContext:_0e},tme=eme,rme=null,nme=null,ime=null;/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let WT;const YD=typeof window<"u"&&window.trustedTypes;if(YD)try{WT=YD.createPolicy("vue",{createHTML:n=>n})}catch{}const HQ=WT?n=>WT.createHTML(n):n=>n,sme="http://www.w3.org/2000/svg",ome="http://www.w3.org/1998/Math/MathML",Qu=typeof document<"u"?document:null,XD=Qu&&Qu.createElement("template"),ame={insert:(n,e,t)=>{e.insertBefore(n,t||null)},remove:n=>{const e=n.parentNode;e&&e.removeChild(n)},createElement:(n,e,t,r)=>{const i=e==="svg"?Qu.createElementNS(sme,n):e==="mathml"?Qu.createElementNS(ome,n):t?Qu.createElement(n,{is:t}):Qu.createElement(n);return n==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:n=>Qu.createTextNode(n),createComment:n=>Qu.createComment(n),setText:(n,e)=>{n.nodeValue=e},setElementText:(n,e)=>{n.textContent=e},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>Qu.querySelector(n),setScopeId(n,e){n.setAttribute(e,"")},insertStaticContent(n,e,t,r,i,s){const o=t?t.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===s||!(i=i.nextSibling)););else{XD.innerHTML=HQ(r==="svg"?`${n}`:r==="mathml"?`${n}`:n);const a=XD.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,t)}return[o?o.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},J1="transition",Mv="animation",T2=Symbol("_vtc"),BQ={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},jQ=ss({},IO,BQ),lme=n=>(n.displayName="Transition",n.props=jQ,n),Gb=lme((n,{slots:e})=>cd(GZ,FQ(n),e)),Wd=(n,e=[])=>{Br(n)?n.forEach(t=>t(...e)):n&&n(...e)},ZD=n=>n?Br(n)?n.some(e=>e.length>1):n.length>1:!1;function FQ(n){const e={};for(const U in n)U in BQ||(e[U]=n[U]);if(n.css===!1)return e;const{name:t="v",type:r,duration:i,enterFromClass:s=`${t}-enter-from`,enterActiveClass:o=`${t}-enter-active`,enterToClass:a=`${t}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:h=`${t}-leave-from`,leaveActiveClass:d=`${t}-leave-active`,leaveToClass:g=`${t}-leave-to`}=n,f=cme(i),v=f&&f[0],C=f&&f[1],{onBeforeEnter:A,onEnter:b,onEnterCancelled:m,onLeave:E,onLeaveCancelled:I,onBeforeAppear:S=A,onAppear:T=b,onAppearCancelled:P=m}=e,_=(U,H,N,W)=>{U._enterCancelled=W,th(U,H?u:a),th(U,H?c:o),N&&N()},$=(U,H)=>{U._isLeaving=!1,th(U,h),th(U,g),th(U,d),H&&H()},B=U=>(H,N)=>{const W=U?T:b,D=()=>_(H,U,N);Wd(W,[H,D]),QD(()=>{th(H,U?l:s),ru(H,U?u:a),ZD(W)||JD(H,r,v,D)})};return ss(e,{onBeforeEnter(U){Wd(A,[U]),ru(U,s),ru(U,o)},onBeforeAppear(U){Wd(S,[U]),ru(U,l),ru(U,c)},onEnter:B(!1),onAppear:B(!0),onLeave(U,H){U._isLeaving=!0;const N=()=>$(U,H);ru(U,h),U._enterCancelled?(ru(U,d),GT()):(GT(),ru(U,d)),QD(()=>{U._isLeaving&&(th(U,h),ru(U,g),ZD(E)||JD(U,r,C,N))}),Wd(E,[U,N])},onEnterCancelled(U){_(U,!1,void 0,!0),Wd(m,[U])},onAppearCancelled(U){_(U,!0,void 0,!0),Wd(P,[U])},onLeaveCancelled(U){$(U),Wd(I,[U])}})}function cme(n){if(n==null)return null;if(Yi(n))return[i7(n.enter),i7(n.leave)];{const e=i7(n);return[e,e]}}function i7(n){return W4(n)}function ru(n,e){e.split(/\s+/).forEach(t=>t&&n.classList.add(t)),(n[T2]||(n[T2]=new Set)).add(e)}function th(n,e){e.split(/\s+/).forEach(r=>r&&n.classList.remove(r));const t=n[T2];t&&(t.delete(e),t.size||(n[T2]=void 0))}function QD(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let ume=0;function JD(n,e,t,r){const i=n._endId=++ume,s=()=>{i===n._endId&&r()};if(t!=null)return setTimeout(s,t);const{type:o,timeout:a,propCount:l}=UQ(n,e);if(!o)return r();const c=o+"end";let u=0;const h=()=>{n.removeEventListener(c,d),s()},d=g=>{g.target===n&&++u>=l&&h()};setTimeout(()=>{u(t[f]||"").split(", "),i=r(`${J1}Delay`),s=r(`${J1}Duration`),o=ez(i,s),a=r(`${Mv}Delay`),l=r(`${Mv}Duration`),c=ez(a,l);let u=null,h=0,d=0;e===J1?o>0&&(u=J1,h=o,d=s.length):e===Mv?c>0&&(u=Mv,h=c,d=l.length):(h=Math.max(o,c),u=h>0?o>c?J1:Mv:null,d=u?u===J1?s.length:l.length:0);const g=u===J1&&/\b(transform|all)(,|$)/.test(r(`${J1}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:g}}function ez(n,e){for(;n.lengthtz(t)+tz(n[r])))}function tz(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function GT(){return document.body.offsetHeight}function hme(n,e,t){const r=n[T2];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?n.removeAttribute("class"):t?n.setAttribute("class",e):n.className=e}const r3=Symbol("_vod"),WQ=Symbol("_vsh"),LO={beforeMount(n,{value:e},{transition:t}){n[r3]=n.style.display==="none"?"":n.style.display,t&&e?t.beforeEnter(n):kv(n,e)},mounted(n,{value:e},{transition:t}){t&&e&&t.enter(n)},updated(n,{value:e,oldValue:t},{transition:r}){!e!=!t&&(r?e?(r.beforeEnter(n),kv(n,!0),r.enter(n)):r.leave(n,()=>{kv(n,!1)}):kv(n,e))},beforeUnmount(n,{value:e}){kv(n,e)}};function kv(n,e){n.style.display=e?n[r3]:"none",n[WQ]=!e}function dme(){LO.getSSRProps=({value:n})=>{if(!n)return{style:{display:"none"}}}}const GQ=Symbol("");function fme(n){const e=So();if(!e)return;const t=e.ut=(i=n(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(s=>n3(s,i))},r=()=>{const i=n(e.proxy);e.ce?n3(e.ce,i):KT(e.subTree,i),t(i)};EO(()=>{Xm(r)}),No(()=>{Fr(r,ic,{flush:"post"});const i=new MutationObserver(r);i.observe(e.subTree.el.parentNode,{childList:!0}),wo(()=>i.disconnect())})}function KT(n,e){if(n.shapeFlag&128){const t=n.suspense;n=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(()=>{KT(t.activeBranch,e)})}for(;n.component;)n=n.component.subTree;if(n.shapeFlag&1&&n.el)n3(n.el,e);else if(n.type===ur)n.children.forEach(t=>KT(t,e));else if(n.type===Af){let{el:t,anchor:r}=n;for(;t&&(n3(t,e),t!==r);)t=t.nextSibling}}function n3(n,e){if(n.nodeType===1){const t=n.style;let r="";for(const i in e)t.setProperty(`--${i}`,e[i]),r+=`--${i}: ${e[i]};`;t[GQ]=r}}const pme=/(^|;)\s*display\s*:/;function gme(n,e,t){const r=n.style,i=ys(t);let s=!1;if(t&&!i){if(e)if(ys(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();t[a]==null&&t4(r,a,"")}else for(const o in e)t[o]==null&&t4(r,o,"");for(const o in t)o==="display"&&(s=!0),t4(r,o,t[o])}else if(i){if(e!==t){const o=r[GQ];o&&(t+=";"+o),r.cssText=t,s=pme.test(t)}}else e&&n.removeAttribute("style");r3 in n&&(n[r3]=s?r.display:"",n[WQ]&&(r.display="none"))}const rz=/\s*!important$/;function t4(n,e,t){if(Br(t))t.forEach(r=>t4(n,e,r));else if(t==null&&(t=""),e.startsWith("--"))n.setProperty(e,t);else{const r=vme(n,e);rz.test(t)?n.setProperty(sl(r),t.replace(rz,""),"important"):n[r]=t}}const nz=["Webkit","Moz","ms"],s7={};function vme(n,e){const t=s7[e];if(t)return t;let r=fa(e);if(r!=="filter"&&r in n)return s7[e]=r;r=eA(r);for(let i=0;io7||(Ime.then(()=>o7=0),o7=Date.now());function bme(n,e){const t=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=t.attached)return;uc(Eme(r,t.value),e,5,[r])};return t.value=n,t.attached=yme(),t}function Eme(n,e){if(Br(e)){const t=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{t.call(n),n._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const cz=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,wme=(n,e,t,r,i,s)=>{const o=i==="svg";e==="class"?hme(n,r,o):e==="style"?gme(n,t,r):JC(e)?nO(e)||Cme(n,e,t,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Sme(n,e,r,o))?(oz(n,e,r),!n.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&sz(n,e,r,o,s,e!=="value")):n._isVueCE&&(/[A-Z]/.test(e)||!ys(r))?oz(n,fa(e),r,s,e):(e==="true-value"?n._trueValue=r:e==="false-value"&&(n._falseValue=r),sz(n,e,r,o))};function Sme(n,e,t,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in n&&cz(e)&&yn(t));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&n.tagName==="INPUT"||e==="type"&&n.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=n.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return cz(e)&&ys(t)?!1:e in n}const uz={};/*! #__NO_SIDE_EFFECTS__ */function KQ(n,e,t){const r=Ft(n,e);Sb(r)&&ss(r,e);class i extends Kb{constructor(o){super(r,o,t)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const Tme=(n,e)=>KQ(n,e,nJ),xme=typeof HTMLElement<"u"?HTMLElement:class{};class Kb extends xme{constructor(e,t={},r=rC){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._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==rC?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Kb){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,Hs(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(r,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:o}=r;let a;if(s&&!Br(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=W4(this._props[l])),(a||(a=Object.create(null)))[fa(l)]=!0)}this._numberProps=a,i&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(o),this._mount(r)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(r=>e(this._def=r,!0)):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const t=this._instance&&this._instance.exposed;if(t)for(const r in t)xi(this,r)||Object.defineProperty(this,r,{get:()=>ye(t[r])})}_resolveProps(e){const{props:t}=e,r=Br(t)?t:Object.keys(t||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(fa))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const t=this.hasAttribute(e);let r=t?this.getAttribute(e):uz;const i=fa(e);t&&this._numberProps&&this._numberProps[i]&&(r=W4(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]&&(t===uz?delete this._props[e]:(this._props[e]=t,e==="key"&&this._app&&(this._app._ceVNode.key=t)),i&&this._instance&&this._update(),r)){const s=this._ob;s&&s.disconnect(),t===!0?this.setAttribute(sl(e),""):typeof t=="string"||typeof t=="number"?this.setAttribute(sl(e),t+""):t||this.removeAttribute(sl(e)),s&&s.observe(this,{attributes:!0})}}_update(){o3(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const t=it(this._def,ss(e,this._props));return this._instance||(t.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,Sb(o[0])?ss({detail:o},o[0]):{detail:o}))};r.emit=(s,...o)=>{i(s,o),sl(s)!==s&&i(sl(s),o)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}const r=this._nonce;for(let i=e.length-1;i>=0;i--){const s=document.createElement("style");r&&s.setAttribute("nonce",r),s.textContent=e[i],this.shadowRoot.prepend(s)}}_parseSlots(){const e=this._slots={};let t;for(;t=this.firstChild;){const r=t.nodeType===1&&t.getAttribute("slot")||"default";(e[r]||(e[r]=[])).push(t),this.removeChild(t)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),t=this._instance.type.__scopeId;for(let r=0;r(delete n.props.mode,n),Mme=Ome({name:"TransitionGroup",props:ss({},jQ,{tag:String,moveClass:String}),setup(n,{slots:e}){const t=So(),r=AO();let i,s;return Bb(()=>{if(!i.length)return;const o=n.moveClass||`${n.name||"v"}-move`;if(!Dme(i[0].el,t.vnode.el,o))return;i.forEach($me),i.forEach(Lme);const a=i.filter(Nme);GT(),a.forEach(l=>{const c=l.el,u=c.style;ru(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const h=c[i3]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",h),c[i3]=null,th(c,o))};c.addEventListener("transitionend",h)})}),()=>{const o=ii(n),a=FQ(o);let l=o.tag||ur;if(i=[],s)for(let c=0;c{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),t.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=e.nodeType===1?e:e.parentNode;s.appendChild(r);const{hasTransform:o}=UQ(r);return s.removeChild(r),o}const Xh=n=>{const e=n.props["onUpdate:modelValue"]||!1;return Br(e)?t=>s2(e,t):e};function zme(n){n.target.composing=!0}function dz(n){const e=n.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const sc=Symbol("_assign"),s3={created(n,{modifiers:{lazy:e,trim:t,number:r}},i){n[sc]=Xh(i);const s=r||i.props&&i.props.type==="number";n1(n,e?"change":"input",o=>{if(o.target.composing)return;let a=n.value;t&&(a=a.trim()),s&&(a=U4(a)),n[sc](a)}),t&&n1(n,"change",()=>{n.value=n.value.trim()}),e||(n1(n,"compositionstart",zme),n1(n,"compositionend",dz),n1(n,"change",dz))},mounted(n,{value:e}){n.value=e??""},beforeUpdate(n,{value:e,oldValue:t,modifiers:{lazy:r,trim:i,number:s}},o){if(n[sc]=Xh(o),n.composing)return;const a=(s||n.type==="number")&&!/^0\d/.test(n.value)?U4(n.value):n.value,l=e??"";a!==l&&(document.activeElement===n&&n.type!=="range"&&(r&&e===t||i&&n.value.trim()===l)||(n.value=l))}},NO={deep:!0,created(n,e,t){n[sc]=Xh(t),n1(n,"change",()=>{const r=n._modelValue,i=x2(n),s=n.checked,o=n[sc];if(Br(r)){const a=Pb(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const c=[...r];c.splice(a,1),o(c)}}else if(np(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(QQ(n,s))})},mounted:fz,beforeUpdate(n,e,t){n[sc]=Xh(t),fz(n,e,t)}};function fz(n,{value:e,oldValue:t},r){n._modelValue=e;let i;if(Br(e))i=Pb(e,r.props.value)>-1;else if(np(e))i=e.has(r.props.value);else{if(e===t)return;i=Kh(e,QQ(n,!0))}n.checked!==i&&(n.checked=i)}const DO={created(n,{value:e},t){n.checked=Kh(e,t.props.value),n[sc]=Xh(t),n1(n,"change",()=>{n[sc](x2(n))})},beforeUpdate(n,{value:e,oldValue:t},r){n[sc]=Xh(r),e!==t&&(n.checked=Kh(e,r.props.value))}},ZQ={deep:!0,created(n,{value:e,modifiers:{number:t}},r){const i=np(e);n1(n,"change",()=>{const s=Array.prototype.filter.call(n.options,o=>o.selected).map(o=>t?U4(x2(o)):x2(o));n[sc](n.multiple?i?new Set(s):s:s[0]),n._assigning=!0,Hs(()=>{n._assigning=!1})}),n[sc]=Xh(r)},mounted(n,{value:e}){pz(n,e)},beforeUpdate(n,e,t){n[sc]=Xh(t)},updated(n,{value:e}){n._assigning||pz(n,e)}};function pz(n,e){const t=n.multiple,r=Br(e);if(!(t&&!r&&!np(e))){for(let i=0,s=n.options.length;iString(c)===String(a)):o.selected=Pb(e,a)>-1}else o.selected=e.has(a);else if(Kh(x2(o),e)){n.selectedIndex!==i&&(n.selectedIndex=i);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function x2(n){return"_value"in n?n._value:n.value}function QQ(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const zO={created(n,e,t){w5(n,e,t,null,"created")},mounted(n,e,t){w5(n,e,t,null,"mounted")},beforeUpdate(n,e,t,r){w5(n,e,t,r,"beforeUpdate")},updated(n,e,t,r){w5(n,e,t,r,"updated")}};function JQ(n,e){switch(n){case"SELECT":return ZQ;case"TEXTAREA":return s3;default:switch(e){case"checkbox":return NO;case"radio":return DO;default:return s3}}}function w5(n,e,t,r,i){const o=JQ(n.tagName,t.props&&t.props.type)[i];o&&o(n,e,t,r)}function Rme(){s3.getSSRProps=({value:n})=>({value:n}),DO.getSSRProps=({value:n},e)=>{if(e.props&&Kh(e.props.value,n))return{checked:!0}},NO.getSSRProps=({value:n},e)=>{if(Br(n)){if(e.props&&Pb(n,e.props.value)>-1)return{checked:!0}}else if(np(n)){if(e.props&&n.has(e.props.value))return{checked:!0}}else if(n)return{checked:!0}},zO.getSSRProps=(n,e)=>{if(typeof e.type!="string")return;const t=JQ(e.type.toUpperCase(),e.props&&e.props.type);if(t.getSSRProps)return t.getSSRProps(n,e)}}const Vme=["ctrl","shift","alt","meta"],Hme={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>Vme.some(t=>n[`${t}Key`]&&!e.includes(t))},ya=(n,e)=>{const t=n._withMods||(n._withMods={}),r=e.join(".");return t[r]||(t[r]=(i,...s)=>{for(let o=0;o{const t=n._withKeys||(n._withKeys={}),r=e.join(".");return t[r]||(t[r]=i=>{if(!("key"in i))return;const s=sl(i.key);if(e.some(o=>o===s||Bme[o]===s))return n(i)})},eJ=ss({patchProp:wme},ame);let pm,gz=!1;function tJ(){return pm||(pm=mQ(eJ))}function rJ(){return pm=gz?pm:CQ(eJ),gz=!0,pm}const o3=(...n)=>{tJ().render(...n)},jme=(...n)=>{rJ().hydrate(...n)},rC=(...n)=>{const e=tJ().createApp(...n),{mount:t}=e;return e.mount=r=>{const i=sJ(r);if(!i)return;const s=e._component;!yn(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=t(i,!1,iJ(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},nJ=(...n)=>{const e=rJ().createApp(...n),{mount:t}=e;return e.mount=r=>{const i=sJ(r);if(i)return t(i,!0,iJ(i))},e};function iJ(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function sJ(n){return ys(n)?document.querySelector(n):n}let vz=!1;const Fme=()=>{vz||(vz=!0,Rme(),dme())};/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Ume=()=>{},Wme=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:GZ,BaseTransitionPropsValidators:IO,Comment:mo,DeprecationTypes:ime,EffectScope:aO,ErrorCodes:O0e,ErrorTypeStrings:Zve,Fragment:ur,KeepAlive:Z0e,ReactiveEffect:Km,Static:Af,Suspense:$ve,Teleport:CO,Text:Oh,TrackOpTypes:E0e,Transition:Gb,TransitionGroup:kme,TriggerOpTypes:w0e,VueElement:Kb,assertNumber:P0e,callWithAsyncErrorHandling:uc,callWithErrorHandling:f0,camelize:fa,capitalize:eA,cloneVNode:Tu,compatUtils:nme,compile:Ume,computed:ot,createApp:rC,createBlock:Nt,createCommentVNode:Rt,createElementBlock:Xe,createElementVNode:Pe,createHydrationRenderer:CQ,createPropsRestProxy:cve,createRenderer:mQ,createSSRApp:nJ,createSlots:TO,createStaticVNode:kO,createTextVNode:Cr,createVNode:it,customRef:zb,defineAsyncComponent:bO,defineComponent:Ft,defineCustomElement:KQ,defineEmits:rve,defineExpose:nve,defineModel:ove,defineOptions:ive,defineProps:tve,defineSSRCustomElement:Tme,defineSlots:sve,devtools:Qve,effect:q2e,effectScope:G2e,getCurrentInstance:So,getCurrentScope:Ob,getCurrentWatcher:S0e,getTransitionRawChildren:Vb,guardReactiveProps:iA,h:cd,handleError:ip,hasInjectionContext:PO,hydrate:jme,hydrateOnIdle:U0e,hydrateOnInteraction:q0e,hydrateOnMediaQuery:K0e,hydrateOnVisible:G0e,initCustomFormatter:qve,initDirectivesForSSR:Fme,inject:Li,isMemoSame:RQ,isProxy:Db,isReactive:_h,isReadonly:qh,isRef:fn,isRuntimeOnly:Wve,isShallow:Ll,isVNode:w1,markRaw:dO,mergeDefaults:lve,mergeModels:Yh,mergeProps:vo,nextTick:Hs,normalizeClass:Ar,normalizeProps:_b,normalizeStyle:Ys,onActivated:qZ,onBeforeMount:ZZ,onBeforeUnmount:p0,onBeforeUpdate:EO,onDeactivated:YZ,onErrorCaptured:tQ,onMounted:No,onRenderTracked:eQ,onRenderTriggered:JZ,onScopeDispose:lO,onServerPrefetch:QZ,onUnmounted:wo,onUpdated:Bb,onWatcherCleanup:LZ,openBlock:Ve,popScopeId:vO,provide:io,proxyRefs:fO,pushScopeId:gO,queuePostFlushCb:Xm,reactive:zc,readonly:$1,ref:Ct,registerRuntimeCompiler:Uve,render:o3,renderList:Yn,renderSlot:pn,resolveComponent:hc,resolveDirective:jb,resolveDynamicComponent:Su,resolveFilter:rme,resolveTransitionHooks:w2,setBlockTracking:VT,setDevtoolsHook:Jve,setTransitionHooks:E1,shallowReactive:Lb,shallowReadonly:p0e,shallowRef:Cn,ssrContextKey:bQ,ssrUtils:tme,stop:Y2e,toDisplayString:gr,toHandlerKey:lm,toHandlers:nQ,toRaw:ii,toRef:kZ,toRefs:K4,toValue:hn,transformVNodeArgs:Vve,triggerRef:v0e,unref:ye,useAttrs:iQ,useCssModule:Pme,useCssVars:fme,useHost:qQ,useId:D0e,useModel:nA,useSSRContext:EQ,useShadowRoot:_me,useSlots:Fb,useTemplateRef:z0e,useTransitionState:AO,vModelCheckbox:NO,vModelDynamic:zO,vModelRadio:DO,vModelSelect:ZQ,vModelText:s3,vShow:LO,version:VQ,warn:Xve,watch:Fr,watchEffect:Ao,watchPostEffect:Sve,watchSyncEffect:wQ,withAsyncContext:uve,withCtx:At,withDefaults:ave,withDirectives:Kn,withKeys:RO,withMemo:Yve,withModifiers:ya,withScopeId:mO},Symbol.toStringTag,{value:"Module"}));var Gme=Object.create,oJ=Object.defineProperty,Kme=Object.getOwnPropertyDescriptor,VO=Object.getOwnPropertyNames,qme=Object.getPrototypeOf,Yme=Object.prototype.hasOwnProperty,Xme=(n,e)=>function(){return n&&(e=(0,n[VO(n)[0]])(n=0)),e},aJ=(n,e)=>function(){return e||(0,n[VO(n)[0]])((e={exports:{}}).exports,e),e.exports},Zme=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of VO(e))!Yme.call(n,i)&&i!==t&&oJ(n,i,{get:()=>e[i],enumerable:!(r=Kme(e,i))||r.enumerable});return n},Qme=(n,e,t)=>(t=n!=null?Gme(qme(n)):{},Zme(oJ(t,"default",{value:n,enumerable:!0}),n)),Ht=Xme({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),Jme=aJ({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(n,e){Ht(),function(t){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},o={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),h=function(C,A){var b="-",m="",E="",I=!0,S={},T,P,_,$,B,U,H,N,W,D,R,Y,ie,de,xe="";if(typeof C!="string")return"";if(typeof A=="string"&&(b=A),H=a.en,N=o.en,typeof A=="object"){T=A.maintainCase||!1,S=A.custom&&typeof A.custom=="object"?A.custom:S,_=+A.truncate>1&&A.truncate||!1,$=A.uric||!1,B=A.uricNoSlash||!1,U=A.mark||!1,I=!(A.symbols===!1||A.lang===!1),b=A.separator||b,$&&(xe+=l),B&&(xe+=c),U&&(xe+=u),H=A.lang&&a[A.lang]&&I?a[A.lang]:I?a.en:{},N=A.lang&&o[A.lang]?o[A.lang]:A.lang===!1||A.lang===!0?{}:o.en,A.titleCase&&typeof A.titleCase.length=="number"&&Array.prototype.toString.call(A.titleCase)?(A.titleCase.forEach(function(X){S[X+""]=X+""}),P=!0):P=!!A.titleCase,A.custom&&typeof A.custom.length=="number"&&Array.prototype.toString.call(A.custom)&&A.custom.forEach(function(X){S[X+""]=X+""}),Object.keys(S).forEach(function(X){var Q;X.length>1?Q=new RegExp("\\b"+g(X)+"\\b","gi"):Q=new RegExp(g(X),"gi"),C=C.replace(Q,S[X])});for(R in S)xe+=R}for(xe+=b,xe=g(xe),C=C.replace(/(^\s+|\s+$)/g,""),ie=!1,de=!1,D=0,Y=C.length;D=0?(E+=R,R=""):de===!0?(R=s[E]+r[R],E=""):R=ie&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],ie=!1,de=!1):R in s?(E+=R,R="",D===Y-1&&(R=s[E]),de=!0):H[R]&&!($&&l.indexOf(R)!==-1)&&!(B&&c.indexOf(R)!==-1)?(R=ie||m.substr(-1).match(/[A-Za-z0-9]/)?b+H[R]:H[R],R+=C[D+1]!==void 0&&C[D+1].match(/[A-Za-z0-9]/)?b:"",ie=!0):(de===!0?(R=s[E]+R,E="",de=!1):ie&&(/[A-Za-z0-9]/.test(R)||m.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),ie=!1),m+=R.replace(new RegExp("[^\\w\\s"+xe+"_-]","g"),b);return P&&(m=m.replace(/(\w)(\S*)/g,function(X,Q,he){var me=Q.toUpperCase()+(he!==null?he:"");return Object.keys(S).indexOf(me.toLowerCase())<0?me:me.toLowerCase()})),m=m.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),_&&m.length>_&&(W=m.charAt(_)===b,m=m.slice(0,_),W||(m=m.slice(0,m.lastIndexOf(b)))),!T&&!P&&(m=m.toLowerCase()),m},d=function(C){return function(b){return h(b,C)}},g=function(C){return C.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(v,C){for(var A in C)if(C[A]===v)return!0};if(typeof e<"u"&&e.exports)e.exports=h,e.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return h});else try{if(t.getSlug||t.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";t.getSlug=h,t.createSlug=d}catch{}}(n)}}),eCe=aJ({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(n,e){Ht(),e.exports=Jme()}});Ht();Ht();Ht();function tCe(n){if(jt.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__){n();return}Object.defineProperty(jt,"__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__",{set(e){e&&n()},configurable:!0})}Ht();Ht();Ht();Ht();Ht();function rCe(n){var e;const t=n.name||n._componentTag||n.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||n.__name;return t==="index"&&((e=n.__file)!=null&&e.endsWith("index.vue"))?"":t}function lJ(n){const e=n.__file;if(e)return oZ(d2e(e,".vue"))}function nCe(n){const e=n.displayName||n.name||n._componentTag;return e||lJ(n)}function mz(n,e){return n.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=e,e}function $c(n){if(n.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return n.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(n.root)return n.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function a7(n){const{app:e,uid:t,instance:r}=n;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const i=await $c(e);if(!i)return null;const s=i.rootInstance===r;return`${i.id}:${s?"root":t}`}catch{}}function HO(n){var e,t;const r=(e=n.subTree)==null?void 0:e.type,i=$c(n);return i?((t=i?.types)==null?void 0:t.Fragment)===r:!1}function l7(n){return n._isBeingDestroyed||n.isUnmounted}function Fc(n){var e,t,r;const i=rCe(n?.type||{});if(i)return i;if(n?.root===n)return"Root";for(const o in(t=(e=n.parent)==null?void 0:e.type)==null?void 0:t.components)if(n.parent.type.components[o]===n?.type)return mz(n,o);for(const o in(r=n.appContext)==null?void 0:r.components)if(n.appContext.components[o]===n?.type)return mz(n,o);const s=lJ(n?.type||{});return s||"Anonymous Component"}function BO(n){var e,t,r;const i=(r=(t=(e=n?.appContext)==null?void 0:e.app)==null?void 0:t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,s=n===n?.root?"root":n.uid;return`${i}:${s}`}function iCe(n){return n==null?"":typeof n=="number"?n:typeof n=="string"?`'${n}'`:Array.isArray(n)?"Array":"Object"}function ud(n){try{return n()}catch(e){return e}}function _2(n,e){return e=e||`${n.id}:root`,n.instanceMap.get(e)||n.instanceMap.get(":root")}function tc(n,e,t=!1){return t||typeof n=="object"&&n!==null?e in n:!1}function sCe(){const n={top:0,bottom:0,left:0,right:0,get width(){return n.right-n.left},get height(){return n.bottom-n.top}};return n}var S5;function oCe(n){return S5||(S5=document.createRange()),S5.selectNode(n),S5.getBoundingClientRect()}function aCe(n){const e=sCe();if(!n.children)return e;for(let t=0,r=n.children.length;tn.bottom)&&(n.bottom=e.bottom),(!n.left||e.leftn.right)&&(n.right=e.right),n}var Cz={top:0,left:0,right:0,bottom:0,width:0,height:0};function Rf(n){const e=n.subTree.el;return typeof window>"u"?Cz:HO(n)?aCe(n.subTree):e?.nodeType===1?e?.getBoundingClientRect():n.subTree.component?Rf(n.subTree.component):Cz}Ht();function nC(n){return HO(n)?cCe(n.subTree):n.subTree?[n.subTree.el]:[]}function cCe(n){if(!n.children)return[];const e=[];return n.children.forEach(t=>{t.component?e.push(...nC(t.component)):t?.el&&e.push(t.el)}),e}var cJ="__vue-devtools-component-inspector__",uJ="__vue-devtools-component-inspector__card__",hJ="__vue-devtools-component-inspector__name__",dJ="__vue-devtools-component-inspector__indicator__",fJ={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},uCe={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},hCe={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function g0(){return document.getElementById(cJ)}function dCe(){return document.getElementById(uJ)}function fCe(){return document.getElementById(dJ)}function pCe(){return document.getElementById(hJ)}function jO(n){return{left:`${Math.round(n.left*100)/100}px`,top:`${Math.round(n.top*100)/100}px`,width:`${Math.round(n.width*100)/100}px`,height:`${Math.round(n.height*100)/100}px`}}function FO(n){var e;const t=document.createElement("div");t.id=(e=n.elementId)!=null?e:cJ,Object.assign(t.style,{...fJ,...jO(n.bounds),...n.style});const r=document.createElement("span");r.id=uJ,Object.assign(r.style,{...uCe,top:n.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=hJ,i.innerHTML=`<${n.name}>  `;const s=document.createElement("i");return s.id=dJ,s.innerHTML=`${Math.round(n.bounds.width*100)/100} x ${Math.round(n.bounds.height*100)/100}`,Object.assign(s.style,hCe),r.appendChild(i),r.appendChild(s),t.appendChild(r),document.body.appendChild(t),t}function UO(n){const e=g0(),t=dCe(),r=pCe(),i=fCe();e&&(Object.assign(e.style,{...fJ,...jO(n.bounds)}),Object.assign(t.style,{top:n.bounds.top<35?0:"-35px"}),r.innerHTML=`<${n.name}>  `,i.innerHTML=`${Math.round(n.bounds.width*100)/100} x ${Math.round(n.bounds.height*100)/100}`)}function gCe(n){const e=Rf(n);if(!e.width&&!e.height)return;const t=Fc(n);g0()?UO({bounds:e,name:t}):FO({bounds:e,name:t})}function pJ(){const n=g0();n&&(n.style.display="none")}var qT=null;function YT(n){const e=n.target;if(e){const t=e.__vueParentComponent;if(t&&(qT=t,t.vnode.el)){const i=Rf(t),s=Fc(t);g0()?UO({bounds:i,name:s}):FO({bounds:i,name:s})}}}function vCe(n,e){if(n.preventDefault(),n.stopPropagation(),qT){const t=BO(qT);e(t)}}var a3=null;function mCe(){pJ(),window.removeEventListener("mouseover",YT),window.removeEventListener("click",a3,!0),a3=null}function CCe(){return window.addEventListener("mouseover",YT),new Promise(n=>{function e(t){t.preventDefault(),t.stopPropagation(),vCe(t,r=>{window.removeEventListener("click",e,!0),a3=null,window.removeEventListener("mouseover",YT);const i=g0();i&&(i.style.display="none"),n(JSON.stringify({id:r}))})}a3=e,window.addEventListener("click",e,!0)})}function ACe(n){const e=_2(_i.value,n.id);if(e){const[t]=nC(e);if(typeof t.scrollIntoView=="function")t.scrollIntoView({behavior:"smooth"});else{const r=Rf(e),i=document.createElement("div"),s={...jO(r),position:"absolute"};Object.assign(i.style,s),document.body.appendChild(i),i.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(i)},2e3)}setTimeout(()=>{const r=Rf(e);if(r.width||r.height){const i=Fc(e),s=g0();s?UO({...n,name:i,bounds:r}):FO({...n,name:i,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}Ht();var Az,Iz;(Iz=(Az=jt).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Az.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function ICe(n){let e=0;const t=setInterval(()=>{jt.__VUE_INSPECTOR__&&(clearInterval(t),e+=30,n()),e>=5e3&&clearInterval(t)},30)}function yCe(){const n=jt.__VUE_INSPECTOR__,e=n.openInEditor;n.openInEditor=async(...t)=>{n.disable(),e(...t)}}function bCe(){return new Promise(n=>{function e(){yCe(),n(jt.__VUE_INSPECTOR__)}jt.__VUE_INSPECTOR__?e():ICe(()=>{e()})})}Ht();Ht();function ECe(n){return!!(n&&n.__v_isReadonly)}function gJ(n){return ECe(n)?gJ(n.__v_raw):!!(n&&n.__v_isReactive)}function c7(n){return!!(n&&n.__v_isRef===!0)}function Jv(n){const e=n&&n.__v_raw;return e?Jv(e):n}var vJ=class{constructor(){this.refEditor=new wCe}set(n,e,t,r){const i=Array.isArray(e)?e:e.split(".");for(;i.length>1;){const a=i.shift();n instanceof Map?n=n.get(a):n instanceof Set?n=Array.from(n.values())[a]:n=n[a],this.refEditor.isRef(n)&&(n=this.refEditor.get(n))}const s=i[0],o=this.refEditor.get(n)[s];r?r(n,s,t):this.refEditor.isRef(o)?this.refEditor.set(o,t):n[s]=t}get(n,e){const t=Array.isArray(e)?e:e.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(e)?e.slice():e.split("."),i=t?2:1;for(;n&&r.length>i;){const s=r.shift();n=n[s],this.refEditor.isRef(n)&&(n=this.refEditor.get(n))}return n!=null&&Object.prototype.hasOwnProperty.call(n,r[0])}createDefaultSetCallback(n){return(e,t,r)=>{if((n.remove||n.newKey)&&(Array.isArray(e)?e.splice(t,1):Jv(e)instanceof Map?e.delete(t):Jv(e)instanceof Set?e.delete(Array.from(e.values())[t]):Reflect.deleteProperty(e,t)),!n.remove){const i=e[n.newKey||t];this.refEditor.isRef(i)?this.refEditor.set(i,r):Jv(e)instanceof Map?e.set(n.newKey||t,r):Jv(e)instanceof Set?e.add(r):e[n.newKey||t]=r}}}},wCe=class{set(n,e){if(c7(n))n.value=e;else{if(n instanceof Set&&Array.isArray(e)){n.clear(),e.forEach(i=>n.add(i));return}const t=Object.keys(e);if(n instanceof Map){const i=new Set(n.keys());t.forEach(s=>{n.set(s,Reflect.get(e,s)),i.delete(s)}),i.forEach(s=>n.delete(s));return}const r=new Set(Object.keys(n));t.forEach(i=>{Reflect.set(n,i,Reflect.get(e,i)),r.delete(i)}),r.forEach(i=>Reflect.deleteProperty(n,i))}}get(n){return c7(n)?n.value:n}isRef(n){return c7(n)||gJ(n)}};async function SCe(n,e){const{path:t,nodeId:r,state:i,type:s}=n,o=_2(_i.value,r);if(!o)return;const a=t.slice();let l;Object.keys(o.props).includes(t[0])?l=o.props:o.devtoolsRawSetupState&&Object.keys(o.devtoolsRawSetupState).includes(t[0])?l=o.devtoolsRawSetupState:o.data&&Object.keys(o.data).includes(t[0])?l=o.data:l=o.proxy,l&&a&&(i.type,e.set(l,a,i.value,e.createDefaultSetCallback(i)))}var TCe=new vJ;async function xCe(n){SCe(n,TCe)}Ht();Ht();Ht();var mJ="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function _Ce(n){!h0||typeof localStorage>"u"||localStorage===null||localStorage.setItem(mJ,JSON.stringify(n))}function PCe(){if(!h0||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const n=localStorage.getItem(mJ);return n?JSON.parse(n):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}Ht();Ht();Ht();var yz,bz;(bz=(yz=jt).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(yz.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var CJ=new Proxy(jt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(n,e,t){return Reflect.get(n,e,t)}});function OCe(n,e){Vn.timelineLayersState[e.id]=!1,CJ.push({...n,descriptorId:e.id,appRecord:$c(e.app)})}function MCe(n){const e={...Vn.timelineLayersState,...n};_Ce(e),gm({timelineLayersState:e})}var Ez,wz;(wz=(Ez=jt).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(Ez.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var WO=new Proxy(jt.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(n,e,t){return Reflect.get(n,e,t)}}),AJ=b1(()=>{xu.hooks.callHook("sendInspectorToClient",GO())});function kCe(n,e){var t,r;WO.push({options:n,descriptor:e,treeFilterPlaceholder:(t=n.treeFilterPlaceholder)!=null?t:"Search tree...",stateFilterPlaceholder:(r=n.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:$c(e.app)}),AJ()}function GO(){return WO.filter(n=>n.descriptor.app===_i.value.app).filter(n=>n.descriptor.id!=="components").map(n=>{var e;const t=n.descriptor,r=n.options;return{id:r.id,label:r.label,logo:t.logo,icon:`custom-ic-baseline-${(e=r?.icon)==null?void 0:e.replace(/_/g,"-")}`,packageName:t.packageName,homepage:t.homepage,pluginId:t.id}})}function $Ce(n){const e=Mh(n,_i.value.app);if(!e)return;const t=e.descriptor,r=e.options,i=CJ.filter(s=>s.descriptorId===t.id).map(s=>({id:s.id,label:s.label,color:s.color}));return{id:r.id,label:r.label,logo:t.logo,packageName:t.packageName,homepage:t.homepage,timelineLayers:i,treeFilterPlaceholder:e.treeFilterPlaceholder,stateFilterPlaceholder:e.stateFilterPlaceholder}}function Mh(n,e){return WO.find(t=>t.options.id===n&&(e?t.descriptor.app===e:!0))}function Sz(n){const e=Mh(n);return e?.options.actions}function Tz(n){const e=Mh(n);return e?.options.nodeActions}var XT=(n=>(n.ADD_INSPECTOR="addInspector",n.SEND_INSPECTOR_TREE="sendInspectorTree",n.SEND_INSPECTOR_STATE="sendInspectorState",n.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",n.TIMELINE_LAYER_ADDED="timelineLayerAdded",n.TIMELINE_EVENT_ADDED="timelineEventAdded",n.GET_COMPONENT_INSTANCES="getComponentInstances",n.GET_COMPONENT_BOUNDS="getComponentBounds",n.GET_COMPONENT_NAME="getComponentName",n.COMPONENT_HIGHLIGHT="componentHighlight",n.COMPONENT_UNHIGHLIGHT="componentUnhighlight",n))(XT||{}),rh=(n=>(n.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",n.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",n.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",n.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",n.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",n.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",n.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",n.ROUTER_INFO_UPDATED="routerInfoUpdated",n))(rh||{});function LCe(){const n=cZ();n.hook("addInspector",({inspector:r,plugin:i})=>{kCe(r,i.descriptor)});const e=b1(async({inspectorId:r,plugin:i})=>{var s;if(!r||!((s=i?.descriptor)!=null&&s.app)||Vn.highPerfModeEnabled)return;const o=Mh(r,i.descriptor.app),a={app:i.descriptor.app,inspectorId:r,filter:o?.treeFilter||"",rootNodes:[]};await new Promise(l=>{n.callHookWith(async c=>{await Promise.all(c.map(u=>u(a))),l()},"getInspectorTree")}),n.callHookWith(async l=>{await Promise.all(l.map(c=>c({inspectorId:r,rootNodes:a.rootNodes})))},"sendInspectorTreeToClient")},120);n.hook("sendInspectorTree",e);const t=b1(async({inspectorId:r,plugin:i})=>{var s;if(!r||!((s=i?.descriptor)!=null&&s.app)||Vn.highPerfModeEnabled)return;const o=Mh(r,i.descriptor.app),a={app:i.descriptor.app,inspectorId:r,nodeId:o?.selectedNodeId||"",state:null},l={currentTab:`custom-inspector:${r}`};a.nodeId&&await new Promise(c=>{n.callHookWith(async u=>{await Promise.all(u.map(h=>h(a,l))),c()},"getInspectorState")}),n.callHookWith(async c=>{await Promise.all(c.map(u=>u({inspectorId:r,nodeId:a.nodeId,state:a.state})))},"sendInspectorStateToClient")},120);return n.hook("sendInspectorState",t),n.hook("customInspectorSelectNode",({inspectorId:r,nodeId:i,plugin:s})=>{const o=Mh(r,s.descriptor.app);o&&(o.selectedNodeId=i)}),n.hook("timelineLayerAdded",({options:r,plugin:i})=>{OCe(r,i.descriptor)}),n.hook("timelineEventAdded",({options:r,plugin:i})=>{var s;const o=["performance","component-event","keyboard","mouse"];Vn.highPerfModeEnabled||!((s=Vn.timelineLayersState)!=null&&s[i.descriptor.id])&&!o.includes(r.layerId)||n.callHookWith(async a=>{await Promise.all(a.map(l=>l(r)))},"sendTimelineEventToClient")}),n.hook("getComponentInstances",async({app:r})=>{const i=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!i)return null;const s=i.id.toString();return[...i.instanceMap].filter(([a])=>a.split(":")[0]===s).map(([,a])=>a)}),n.hook("getComponentBounds",async({instance:r})=>Rf(r)),n.hook("getComponentName",({instance:r})=>Fc(r)),n.hook("componentHighlight",({uid:r})=>{const i=_i.value.instanceMap.get(r);i&&gCe(i)}),n.hook("componentUnhighlight",()=>{pJ()}),n}var xz,_z;(_z=(xz=jt).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(xz.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Pz,Oz;(Oz=(Pz=jt).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Pz.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Mz,kz;(kz=(Mz=jt).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Mz.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var $z,Lz;(Lz=($z=jt).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||($z.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Nz,Dz;(Dz=(Nz=jt).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Nz.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var lu="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function NCe(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:PCe()}}var zz,Rz;(Rz=(zz=jt)[lu])!=null||(zz[lu]=NCe());var DCe=b1(n=>{xu.hooks.callHook("devtoolsStateUpdated",{state:n})}),zCe=b1((n,e)=>{xu.hooks.callHook("devtoolsConnectedUpdated",{state:n,oldState:e})}),Zh=new Proxy(jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(n,e,t){return e==="value"?jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__:jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__[e]}}),RCe=n=>{jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[...jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,n]},VCe=n=>{jt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=Zh.value.filter(e=>e.app!==n)},_i=new Proxy(jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(n,e,t){return e==="value"?jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:e==="id"?jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[e]}});function KO(){DCe({...jt[lu],appRecords:Zh.value,activeAppRecordId:_i.id,tabs:jt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:jt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function ZT(n){jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=n,KO()}function IJ(n){jt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=n,KO()}var Vn=new Proxy(jt[lu],{get(n,e){return e==="appRecords"?Zh:e==="activeAppRecordId"?_i.id:e==="tabs"?jt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:e==="commands"?jt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:jt[lu][e]},deleteProperty(n,e){return delete n[e],!0},set(n,e,t){return{...jt[lu]},n[e]=t,jt[lu][e]=t,!0}});function gm(n){const e={...jt[lu],appRecords:Zh.value,activeAppRecordId:_i.id};(e.connected!==n.connected&&n.connected||e.clientConnected!==n.clientConnected&&n.clientConnected)&&zCe(jt[lu],e),Object.assign(jt[lu],n),KO()}function HCe(n){gm({clientConnected:n})}function BCe(n={}){var e,t,r;const{file:i,host:s,baseUrl:o=window.location.origin,line:a=0,column:l=0}=n;if(i){if(s==="chrome-extension"){const c=i.replace(/\\/g,"\\\\"),u=(t=(e=window.VUE_DEVTOOLS_CONFIG)==null?void 0:e.openInEditorHost)!=null?t:"/";fetch(`${u}__open-in-editor?file=${encodeURI(i)}`).then(h=>{if(!h.ok){const d=`Opening component ${c} failed`;console.log(`%c${d}`,"color:red")}})}else if(Vn.vitePluginDetected){const c=(r=jt.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:o;jt.__VUE_INSPECTOR__.openInEditor(c,i,a,l)}}}Ht();Ht();Ht();Ht();Ht();var Vz,Hz;(Hz=(Vz=jt).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Vz.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var oA=new Proxy(jt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(n,e,t){return Reflect.get(n,e,t)}});function jCe(n,e){oA.push([n,e])}function QT(n){const e={};return Object.keys(n).forEach(t=>{e[t]=n[t].defaultValue}),e}function qO(n){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${n}__`}function FCe(n){var e,t,r;const i=(t=(e=oA.find(s=>{var o;return s[0].id===n&&!!((o=s[0])!=null&&o.settings)}))==null?void 0:e[0])!=null?t:null;return(r=i?.settings)!=null?r:null}function yJ(n,e){var t,r,i;const s=qO(n);if(s){const o=localStorage.getItem(s);if(o)return JSON.parse(o)}if(n){const o=(r=(t=oA.find(a=>a[0].id===n))==null?void 0:t[0])!=null?r:null;return QT((i=o?.settings)!=null?i:{})}return QT(e)}function bJ(n,e){const t=qO(n);localStorage.getItem(t)||localStorage.setItem(t,JSON.stringify(QT(e)))}function UCe(n,e,t){const r=qO(n),i=localStorage.getItem(r),s=JSON.parse(i||"{}"),o={...s,[e]:t};localStorage.setItem(r,JSON.stringify(o)),xu.hooks.callHookWith(a=>{a.forEach(l=>l({pluginId:n,key:e,oldValue:s[e],newValue:t,settings:o}))},"setPluginSettings")}Ht();Ht();Ht();Ht();Ht();Ht();Ht();Ht();Ht();Ht();Ht();var Bz,jz,Gs=(jz=(Bz=jt).__VUE_DEVTOOLS_HOOK)!=null?jz:Bz.__VUE_DEVTOOLS_HOOK=cZ(),WCe={vueAppInit(n){Gs.hook("app:init",n)},vueAppUnmount(n){Gs.hook("app:unmount",n)},vueAppConnected(n){Gs.hook("app:connected",n)},componentAdded(n){return Gs.hook("component:added",n)},componentEmit(n){return Gs.hook("component:emit",n)},componentUpdated(n){return Gs.hook("component:updated",n)},componentRemoved(n){return Gs.hook("component:removed",n)},setupDevtoolsPlugin(n){Gs.hook("devtools-plugin:setup",n)},perfStart(n){return Gs.hook("perf:start",n)},perfEnd(n){return Gs.hook("perf:end",n)}};function GCe(){return{id:"vue-devtools-next",devtoolsVersion:"7.0",enabled:!1,appRecords:[],apps:[],events:new Map,on(n,e){var t;return this.events.has(n)||this.events.set(n,[]),(t=this.events.get(n))==null||t.push(e),()=>this.off(n,e)},once(n,e){const t=(...r)=>{this.off(n,t),e(...r)};return this.on(n,t),[n,t]},off(n,e){if(this.events.has(n)){const t=this.events.get(n),r=t.indexOf(e);r!==-1&&t.splice(r,1)}},emit(n,...e){this.events.has(n)&&this.events.get(n).forEach(t=>t(...e))}}}function KCe(n){n.on("app:init",(e,t,r)=>{var i,s,o;(o=(s=(i=e?._instance)==null?void 0:i.type)==null?void 0:s.devtools)!=null&&o.hide||Gs.callHook("app:init",e,t,r)}),n.on("app:unmount",e=>{Gs.callHook("app:unmount",e)}),n.on("component:added",async(e,t,r,i)=>{var s,o,a;(a=(o=(s=e?._instance)==null?void 0:s.type)==null?void 0:o.devtools)!=null&&a.hide||Vn.highPerfModeEnabled||!e||typeof t!="number"&&!t||!i||Gs.callHook("component:added",e,t,r,i)}),n.on("component:updated",(e,t,r,i)=>{!e||typeof t!="number"&&!t||!i||Vn.highPerfModeEnabled||Gs.callHook("component:updated",e,t,r,i)}),n.on("component:removed",async(e,t,r,i)=>{!e||typeof t!="number"&&!t||!i||Vn.highPerfModeEnabled||Gs.callHook("component:removed",e,t,r,i)}),n.on("component:emit",async(e,t,r,i)=>{!e||!t||Vn.highPerfModeEnabled||Gs.callHook("component:emit",e,t,r,i)}),n.on("perf:start",(e,t,r,i,s)=>{!e||Vn.highPerfModeEnabled||Gs.callHook("perf:start",e,t,r,i,s)}),n.on("perf:end",(e,t,r,i,s)=>{!e||Vn.highPerfModeEnabled||Gs.callHook("perf:end",e,t,r,i,s)}),n.on("devtools-plugin:setup",(e,t,r)=>{r?.target!=="legacy"&&Gs.callHook("devtools-plugin:setup",e,t)})}var oc={on:WCe,setupDevToolsPlugin(n,e){return Gs.callHook("devtools-plugin:setup",n,e)}},qCe=class{constructor({plugin:n,ctx:e}){this.hooks=e.hooks,this.plugin=n}get on(){return{visitComponentTree:n=>{this.hooks.hook("visitComponentTree",n)},inspectComponent:n=>{this.hooks.hook("inspectComponent",n)},editComponentState:n=>{this.hooks.hook("editComponentState",n)},getInspectorTree:n=>{this.hooks.hook("getInspectorTree",n)},getInspectorState:n=>{this.hooks.hook("getInspectorState",n)},editInspectorState:n=>{this.hooks.hook("editInspectorState",n)},inspectTimelineEvent:n=>{this.hooks.hook("inspectTimelineEvent",n)},timelineCleared:n=>{this.hooks.hook("timelineCleared",n)},setPluginSettings:n=>{this.hooks.hook("setPluginSettings",n)}}}notifyComponentUpdate(n){var e;if(Vn.highPerfModeEnabled)return;const t=GO().find(r=>r.packageName===this.plugin.descriptor.packageName);if(t?.id){if(n){const r=[n.appContext.app,n.uid,(e=n.parent)==null?void 0:e.uid,n];Gs.callHook("component:updated",...r)}else Gs.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:t.id,plugin:this.plugin})}}addInspector(n){this.hooks.callHook("addInspector",{inspector:n,plugin:this.plugin}),this.plugin.descriptor.settings&&bJ(n.id,this.plugin.descriptor.settings)}sendInspectorTree(n){Vn.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:n,plugin:this.plugin})}sendInspectorState(n){Vn.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:n,plugin:this.plugin})}selectInspectorNode(n,e){this.hooks.callHook("customInspectorSelectNode",{inspectorId:n,nodeId:e,plugin:this.plugin})}visitComponentTree(n){return this.hooks.callHook("visitComponentTree",n)}now(){return Vn.highPerfModeEnabled?0:Date.now()}addTimelineLayer(n){this.hooks.callHook("timelineLayerAdded",{options:n,plugin:this.plugin})}addTimelineEvent(n){Vn.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:n,plugin:this.plugin})}getSettings(n){return yJ(n??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(n){return this.hooks.callHook("getComponentInstances",{app:n})}getComponentBounds(n){return this.hooks.callHook("getComponentBounds",{instance:n})}getComponentName(n){return this.hooks.callHook("getComponentName",{instance:n})}highlightElement(n){const e=n.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:e})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},YCe=qCe;Ht();Ht();Ht();Ht();var XCe=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Fz=/^\[native Symbol Symbol\((.*)\)\]$/,ZCe=/^\[object (\w+)\]$/,l3=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,QCe=/^(?:function|class) (\w+)/,Uz=1e4,Wz=5e3,v0="__vue_devtool_undefined__",aA="__vue_devtool_infinity__",lA="__vue_devtool_negative_infinity__",cA="__vue_devtool_nan__",JCe={"<":"<",">":">",'"':""","&":"&"};Ht();Ht();function EJ(n){return!tc(n,"_")||!qb(n._)?!1:Object.keys(n._).includes("vnode")}function qb(n){return Object.prototype.toString.call(n)==="[object Object]"}function eAe(n){if(n==null)return!0;const e=typeof n;return e==="string"||e==="number"||e==="boolean"}function wJ(n){return!!n.__v_isRef}function tAe(n){return wJ(n)&&!!n.effect}function rAe(n){return!!n.__v_isReactive}function nAe(n){return!!n.__v_isReadonly}var c3={[v0]:"undefined",[cA]:"NaN",[aA]:"Infinity",[lA]:"-Infinity"},u7=Object.entries(c3).reduce((n,[e,t])=>(n[t]=e,n),{});function iAe(n){return n===null?"null":typeof n=="string"&&c3[n]||!1}function sAe(n){const e=new RegExp(`"(${Object.keys(c3).join("|")})"`,"g");return n.replace(e,(t,r)=>c3[r])}function oAe(n){const e=u7[n.trim()];if(e)return`"${e}"`;const t=new RegExp(`:\\s*(${Object.keys(u7).join("|")})`,"g");return n.replace(t,(r,i)=>`:"${u7[i]}"`)}function SJ(n){if(Array.isArray(n))return n.map(t=>SJ(t)).join(" or ");if(n==null)return"null";const e=n.toString().match(QCe);return typeof n=="function"&&e&&e[1]||"any"}function aAe(n){return!eAe(n)&&!Array.isArray(n)&&!qb(n)?Object.prototype.toString.call(n):n}function TJ(n){try{return{ref:wJ(n),computed:tAe(n),reactive:rAe(n),readonly:nAe(n)}}catch{return{ref:!1,computed:!1,reactive:!1,readonly:!1}}}function xJ(n){return n?.__v_raw?n.__v_raw:n}function Yb(n){return n.replace(/[<>"&]/g,e=>JCe[e]||e)}function u3(n,e,t){if(typeof e=="function"&&(e=e.options),!e)return n;const{mixins:r,extends:i}=e;i&&u3(n,i),r&&r.forEach(s=>u3(n,s));for(const s of["computed","inject"])Object.prototype.hasOwnProperty.call(e,s)&&(n[s]?Object.assign(n[s],e[s]):n[s]=e[s]);return n}function lAe(n){const e=n?.type;if(!e)return{};const{mixins:t,extends:r}=e,i=n.appContext.mixins;if(!i.length&&!t&&!r)return e;const s={};return i.forEach(o=>u3(s,o)),u3(s,e),s}function cAe(n){var e;const t=[],r=(e=n?.type)==null?void 0:e.props;for(const i in n?.props){const s=r?r[i]:null,o=u2e(i);t.push({type:"props",key:o,value:ud(()=>n.props[i]),editable:!0,meta:s?{type:s.type?SJ(s.type):"any",required:!!s.required,...s.default?{default:s.default.toString()}:{}}:{type:"invalid"}})}return t}function uAe(n){const e=n.type,t=e?.props,r=e.vuex&&e.vuex.getters,i=e.computed,s={...n.data,...n.renderContext};return Object.keys(s).filter(o=>!(t&&o in t)&&!(r&&o in r)&&!(i&&o in i)).map(o=>({key:o,type:"data",value:ud(()=>s[o]),editable:!0}))}function hAe(n){const e=n.computed?"computed":n.ref?"ref":n.reactive?"reactive":null,t=e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:null;return{stateType:e,stateTypeName:t}}function dAe(n){const e=n.devtoolsRawSetupState||{};return Object.keys(n.setupState).filter(t=>!XCe.has(t)&&t.split(/(?=[A-Z])/)[0]!=="use").map(t=>{var r,i,s,o;const a=ud(()=>xJ(n.setupState[t])),l=a instanceof Error,c=e[t];let u,h=l||typeof a=="function"||tc(a,"render")&&typeof a.render=="function"||tc(a,"__asyncLoader")&&typeof a.__asyncLoader=="function"||typeof a=="object"&&a&&("setup"in a||"props"in a)||/^v[A-Z]/.test(t);if(c&&!l){const g=TJ(c),{stateType:f,stateTypeName:v}=hAe(g),C=g.ref||g.computed||g.reactive,A=tc(c,"effect")?((i=(r=c.effect)==null?void 0:r.raw)==null?void 0:i.toString())||((o=(s=c.effect)==null?void 0:s.fn)==null?void 0:o.toString()):null;f&&(h=!1),u={...f?{stateType:f,stateTypeName:v}:{},...A?{raw:A}:{},editable:C&&!g.readonly}}return{key:t,value:a,type:h?"setup (other)":"setup",...u}})}function fAe(n,e){const t=e,r=[],i=t.computed||{};for(const s in i){const o=i[s],a=typeof o=="function"&&o.vuex?"vuex bindings":"computed";r.push({type:a,key:s,value:ud(()=>{var l;return(l=n?.proxy)==null?void 0:l[s]}),editable:typeof o.set=="function"})}return r}function pAe(n){return Object.keys(n.attrs).map(e=>({type:"attrs",key:e,value:ud(()=>n.attrs[e])}))}function gAe(n){return Reflect.ownKeys(n.provides).map(e=>({type:"provided",key:e.toString(),value:ud(()=>n.provides[e])}))}function vAe(n,e){if(!e?.inject)return[];let t=[],r;return Array.isArray(e.inject)?t=e.inject.map(i=>({key:i,originalKey:i})):t=Reflect.ownKeys(e.inject).map(i=>{const s=e.inject[i];let o;return typeof s=="string"||typeof s=="symbol"?o=s:(o=s.from,r=s.default),{key:i,originalKey:o}}),t.map(({key:i,originalKey:s})=>({type:"injected",key:s&&i!==s?`${s.toString()} ➞ ${i.toString()}`:i.toString(),value:ud(()=>n.ctx.hasOwnProperty(i)?n.ctx[i]:n.provides.hasOwnProperty(s)?n.provides[s]:r)}))}function mAe(n){return Object.keys(n.refs).map(e=>({type:"template refs",key:e,value:ud(()=>n.refs[e])}))}function CAe(n){var e,t;const r=n.type.emits,i=Array.isArray(r)?r:Object.keys(r??{}),s=Object.keys((t=(e=n?.vnode)==null?void 0:e.props)!=null?t:{}),o=[];for(const a of s){const[l,...c]=a.split(/(?=[A-Z])/);if(l==="on"){const u=c.join("-").toLowerCase(),h=i.includes(u);o.push({type:"event listeners",key:u,value:{_custom:{displayText:h?"✅ Declared":"⚠️ Not declared",key:h?"✅ Declared":"⚠️ Not declared",value:h?"✅ Declared":"⚠️ Not declared",tooltipText:h?null:`The event ${u} is not declared in the emits option. It will leak into the component's attributes ($attrs).`}}})}}return o}function _J(n){const e=lAe(n);return cAe(n).concat(uAe(n),dAe(n),fAe(n,e),pAe(n),gAe(n),vAe(n,e),mAe(n),CAe(n))}function AAe(n){var e;const t=_2(_i.value,n.instanceId),r=BO(t),i=Fc(t),s=(e=t?.type)==null?void 0:e.__file,o=_J(t);return{id:r,name:i,file:s,state:o,instance:t}}Ht();Ht();var IAe=class{constructor(n){this.filter=n||""}isQualified(n){const e=Fc(n);return oZ(e).toLowerCase().includes(this.filter)||h2e(e).toLowerCase().includes(this.filter)}};function yAe(n){return new IAe(n)}var bAe=class{constructor(n){this.captureIds=new Map;const{filterText:e="",maxDepth:t,recursively:r,api:i}=n;this.componentFilter=yAe(e),this.maxDepth=t,this.recursively=r,this.api=i}getComponentTree(n){return this.captureIds=new Map,this.findQualifiedChildren(n,0)}getComponentParents(n){this.captureIds=new Map;const e=[];this.captureId(n);let t=n;for(;t=t.parent;)this.captureId(t),e.push(t);return e}captureId(n){if(!n)return null;const e=n.__VUE_DEVTOOLS_NEXT_UID__!=null?n.__VUE_DEVTOOLS_NEXT_UID__:BO(n);return n.__VUE_DEVTOOLS_NEXT_UID__=e,this.captureIds.has(e)?null:(this.captureIds.set(e,void 0),this.mark(n),e)}async capture(n,e){var t;if(!n)return null;const r=this.captureId(n),i=Fc(n),s=this.getInternalInstanceChildren(n.subTree).filter(h=>!l7(h)),o=this.getComponentParents(n)||[],a=!!n.isDeactivated||o.some(h=>h.isDeactivated),l={uid:n.uid,id:r,name:i,renderKey:iCe(n.vnode?n.vnode.key:null),inactive:a,children:[],isFragment:HO(n),tags:typeof n.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:n.type.__file||""};if((eh.type.__isKeepAlive))&&(l.children=await Promise.all(s.map(h=>this.capture(h,e+1)).filter(Boolean))),this.isKeepAlive(n)){const h=this.getKeepAliveCachedInstances(n),d=s.map(g=>g.__VUE_DEVTOOLS_NEXT_UID__);for(const g of h)if(!d.includes(g.__VUE_DEVTOOLS_NEXT_UID__)){const f=await this.capture({...g,isDeactivated:!0},e+1);f&&l.children.push(f)}}const u=nC(n)[0];if(u?.parentElement){const h=n.parent,d=h?nC(h):[];let g=u;const f=[];do f.push(Array.from(g.parentElement.childNodes).indexOf(g)),g=g.parentElement;while(g.parentElement&&d.length&&!d.includes(g));l.domOrder=f.reverse()}else l.domOrder=[-1];return(t=n.suspense)!=null&&t.suspenseKey&&(l.tags.push({label:n.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(n,!0)),this.api.visitComponentTree({treeNode:l,componentInstance:n,app:n.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(n,e){var t;if(this.componentFilter.isQualified(n)&&!((t=n.type.devtools)!=null&&t.hide))return[await this.capture(n,e)];if(n.subTree){const r=this.isKeepAlive(n)?this.getKeepAliveCachedInstances(n):this.getInternalInstanceChildren(n.subTree);return this.findQualifiedChildrenFromList(r,e)}else return[]}async findQualifiedChildrenFromList(n,e){return n=n.filter(t=>{var r;return!l7(t)&&!((r=t.type.devtools)!=null&&r.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(n.map(t=>this.findQualifiedChildren(t,e)))):Promise.all(n.map(t=>this.capture(t,e)))}getInternalInstanceChildren(n,e=null){const t=[];if(n)if(n.component)e?t.push({...n.component,suspense:e}):t.push(n.component);else if(n.suspense){const r=n.suspense.isInFallback?"suspense fallback":"suspense default";t.push(...this.getInternalInstanceChildren(n.suspense.activeBranch,{...n.suspense,suspenseKey:r}))}else Array.isArray(n.children)&&n.children.forEach(r=>{r.component?e?t.push({...r.component,suspense:e}):t.push(r.component):t.push(...this.getInternalInstanceChildren(r,e))});return t.filter(r=>{var i;return!l7(r)&&!((i=r.type.devtools)!=null&&i.hide)})}mark(n,e=!1){const t=$c(n).instanceMap;(e||!t.has(n.__VUE_DEVTOOLS_NEXT_UID__))&&(t.set(n.__VUE_DEVTOOLS_NEXT_UID__,n),_i.value.instanceMap=t)}isKeepAlive(n){return n.type.__isKeepAlive&&n.__v_cache}getKeepAliveCachedInstances(n){return Array.from(n.__v_cache.values()).map(e=>e.component).filter(Boolean)}};Ht();Ht();var r4=new Map,YO="performance";async function EAe(n,e,t,r,i,s){const o=await $c(e);if(!o)return;const a=Fc(r)||"Unknown Component",l=Vn.perfUniqueGroupId++,c=`${t}-${i}`;if(o.perfGroupIds.set(c,{groupId:l,time:s}),await n.addTimelineEvent({layerId:YO,event:{time:Date.now(),data:{component:a,type:i,measure:"start"},title:a,subtitle:i,groupId:l}}),r4.has(c)){const{app:u,uid:h,instance:d,type:g,time:f}=r4.get(c);r4.delete(c),await PJ(n,u,h,d,g,f)}}function PJ(n,e,t,r,i,s){const o=$c(e);if(!o)return;const a=Fc(r)||"Unknown Component",l=`${t}-${i}`,c=o.perfGroupIds.get(l);if(c){const u=c.groupId,h=c.time,d=s-h;n.addTimelineEvent({layerId:YO,event:{time:Date.now(),data:{component:a,type:i,measure:"end",duration:{_custom:{type:"Duration",value:d,display:`${d} ms`}}},title:a,subtitle:i,groupId:u}})}else r4.set(l,{app:e,uid:t,instance:r,type:i,time:s})}var Gz="component-event";function wAe(n){h0&&(n.addTimelineLayer({id:"mouse",label:"Mouse",color:10768815}),["mousedown","mouseup","click","dblclick"].forEach(e=>{!Vn.timelineLayersState.recordingState||!Vn.timelineLayersState.mouseEventEnabled||window.addEventListener(e,async t=>{await n.addTimelineEvent({layerId:"mouse",event:{time:Date.now(),data:{type:e,x:t.clientX,y:t.clientY},title:e}})},{capture:!0,passive:!0})}),n.addTimelineLayer({id:"keyboard",label:"Keyboard",color:8475055}),["keyup","keydown","keypress"].forEach(e=>{window.addEventListener(e,async t=>{!Vn.timelineLayersState.recordingState||!Vn.timelineLayersState.keyboardEventEnabled||await n.addTimelineEvent({layerId:"keyboard",event:{time:Date.now(),data:{type:e,key:t.key,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey},title:t.key}})},{capture:!0,passive:!0})}),n.addTimelineLayer({id:Gz,label:"Component events",color:5226637}),oc.on.componentEmit(async(e,t,r,i)=>{if(!Vn.timelineLayersState.recordingState||!Vn.timelineLayersState.componentEventEnabled)return;const s=await $c(e);if(!s)return;const o=`${s.id}:${t.uid}`,a=Fc(t)||"Unknown Component";n.addTimelineEvent({layerId:Gz,event:{time:Date.now(),data:{component:{_custom:{type:"component-definition",display:a}},event:r,params:i},title:r,subtitle:`by ${a}`,meta:{componentId:o}}})}),n.addTimelineLayer({id:"performance",label:YO,color:4307050}),oc.on.perfStart((e,t,r,i,s)=>{!Vn.timelineLayersState.recordingState||!Vn.timelineLayersState.performanceEventEnabled||EAe(n,e,t,r,i,s)}),oc.on.perfEnd((e,t,r,i,s)=>{!Vn.timelineLayersState.recordingState||!Vn.timelineLayersState.performanceEventEnabled||PJ(n,e,t,r,i,s)}))}Ht();var SAe=10,Gd=[];function TAe(n){if(typeof window>"u")return;const e=window;if(n&&(e.$vm=n,Gd[0]!==n)){Gd.length>=SAe&&Gd.pop();for(let t=Gd.length;t>0;t--)e[`$vm${t}`]=Gd[t]=Gd[t-1];e.$vm0=Gd[0]=n}}var Kd="components";function xAe(n){return[{id:Kd,label:"Components",app:n},r=>{r.addInspector({id:Kd,label:"Components",treeFilterPlaceholder:"Search components"}),wAe(r),r.on.getInspectorTree(async o=>{if(o.app===n&&o.inspectorId===Kd){const a=_2(_i.value,o.instanceId);if(a){const l=new bAe({filterText:o.filter,maxDepth:100,recursively:!1,api:r});o.rootNodes=await l.getComponentTree(a)}}}),r.on.getInspectorState(async o=>{var a;if(o.app===n&&o.inspectorId===Kd){const l=AAe({instanceId:o.nodeId}),c=l.instance,u=(a=l.instance)==null?void 0:a.appContext.app,h={componentInstance:c,app:u,instanceData:l};xu.hooks.callHookWith(d=>{d.forEach(g=>g(h))},"inspectComponent"),o.state=l,TAe(c)}}),r.on.editInspectorState(async o=>{o.app===n&&o.inspectorId===Kd&&(xCe(o),await r.sendInspectorState("components"))});const i=b1(()=>{r.sendInspectorTree(Kd)},120),s=b1(()=>{r.sendInspectorState(Kd)},120);oc.on.componentAdded(async(o,a,l,c)=>{var u,h,d;if(Vn.highPerfModeEnabled||(d=(h=(u=o?._instance)==null?void 0:u.type)==null?void 0:h.devtools)!=null&&d.hide||!o||typeof a!="number"&&!a||!c)return;const g=await a7({app:o,uid:a,instance:c}),f=await $c(o);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=g),f?.instanceMap.has(g)||(f?.instanceMap.set(g,c),_i.value.id===f?.id&&(_i.value.instanceMap=f.instanceMap))),f&&i()}),oc.on.componentUpdated(async(o,a,l,c)=>{var u,h,d;if(Vn.highPerfModeEnabled||(d=(h=(u=o?._instance)==null?void 0:u.type)==null?void 0:h.devtools)!=null&&d.hide||!o||typeof a!="number"&&!a||!c)return;const g=await a7({app:o,uid:a,instance:c}),f=await $c(o);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=g),f?.instanceMap.has(g)||(f?.instanceMap.set(g,c),_i.value.id===f?.id&&(_i.value.instanceMap=f.instanceMap))),f&&(i(),s())}),oc.on.componentRemoved(async(o,a,l,c)=>{var u,h,d;if(Vn.highPerfModeEnabled||(d=(h=(u=o?._instance)==null?void 0:u.type)==null?void 0:h.devtools)!=null&&d.hide||!o||typeof a!="number"&&!a||!c)return;const g=await $c(o);if(!g)return;const f=await a7({app:o,uid:a,instance:c});g?.instanceMap.delete(f),_i.value.id===g?.id&&(_i.value.instanceMap=g.instanceMap),i()})}]}var Kz,qz;(qz=(Kz=jt).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Kz.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function _Ae(n,e){return oc.setupDevToolsPlugin(n,e)}function OJ(n,e){const[t,r]=n;if(t.app!==e)return;const i=new YCe({plugin:{setupFn:r,descriptor:t},ctx:xu});t.packageName==="vuex"&&i.on.editInspectorState(s=>{i.sendInspectorState(s.inspectorId)}),r(i)}function PAe(n){jt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(n)}function XO(n,e){jt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(n)||Vn.highPerfModeEnabled&&!e?.inspectingComponent||(jt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(n),oA.forEach(t=>{OJ(t,n)}))}Ht();Ht();var iC="__VUE_DEVTOOLS_ROUTER__",P2="__VUE_DEVTOOLS_ROUTER_INFO__",Yz,Xz;(Xz=(Yz=jt)[P2])!=null||(Yz[P2]={currentRoute:null,routes:[]});var Zz,Qz;(Qz=(Zz=jt)[iC])!=null||(Zz[iC]={});var OAe=new Proxy(jt[P2],{get(n,e){return jt[P2][e]}}),Jz=new Proxy(jt[iC],{get(n,e){if(e==="value")return jt[iC]}});function MAe(n){const e=new Map;return(n?.getRoutes()||[]).filter(t=>!e.has(t.path)&&e.set(t.path,1))}function ZO(n){return n.map(e=>{let{path:t,name:r,children:i,meta:s}=e;return i?.length&&(i=ZO(i)),{path:t,name:r,children:i,meta:s}})}function kAe(n){if(n){const{fullPath:e,hash:t,href:r,path:i,name:s,matched:o,params:a,query:l}=n;return{fullPath:e,hash:t,href:r,path:i,name:s,params:a,query:l,matched:ZO(o)}}return n}function MJ(n,e){function t(){var r;const i=(r=n.app)==null?void 0:r.config.globalProperties.$router,s=kAe(i?.currentRoute.value),o=ZO(MAe(i)),a=console.warn;console.warn=()=>{},jt[P2]={currentRoute:s?F4(s):{},routes:F4(o)},jt[iC]=i,console.warn=a}t(),oc.on.componentUpdated(b1(()=>{var r;((r=e.value)==null?void 0:r.app)===n.app&&(t(),!Vn.highPerfModeEnabled&&xu.hooks.callHook("routerInfoUpdated",{state:jt[P2]}))},200))}function $Ae(n){return{async getInspectorTree(e){const t={...e,app:_i.value.app,rootNodes:[]};return await new Promise(r=>{n.callHookWith(async i=>{await Promise.all(i.map(s=>s(t))),r()},"getInspectorTree")}),t.rootNodes},async getInspectorState(e){const t={...e,app:_i.value.app,state:null},r={currentTab:`custom-inspector:${e.inspectorId}`};return await new Promise(i=>{n.callHookWith(async s=>{await Promise.all(s.map(o=>o(t,r))),i()},"getInspectorState")}),t.state},editInspectorState(e){const t=new vJ,r={...e,app:_i.value.app,set:(i,s=e.path,o=e.state.value,a)=>{t.set(i,s,o,a||t.createDefaultSetCallback(e.state))}};n.callHookWith(i=>{i.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(e){const t=Mh(e);n.callHook("sendInspectorState",{inspectorId:e,plugin:{descriptor:t.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return CCe()},cancelInspectComponentInspector(){return mCe()},getComponentRenderCode(e){const t=_2(_i.value,e);if(t)return typeof t?.type!="function"?t.render.toString():t.type.toString()},scrollToComponent(e){return ACe({id:e})},openInEditor:BCe,getVueInspector:bCe,toggleApp(e,t){const r=Zh.value.find(i=>i.id===e);r&&(IJ(e),ZT(r),MJ(r,_i),AJ(),XO(r.app,t))},inspectDOM(e){const t=_2(_i.value,e);if(t){const[r]=nC(t);r&&(jt.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(e,t,r){UCe(e,t,r)},getPluginSettings(e){return{options:FCe(e),values:yJ(e)}}}}Ht();var eR,tR;(tR=(eR=jt).__VUE_DEVTOOLS_ENV__)!=null||(eR.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});function LAe(){return jt.__VUE_DEVTOOLS_ENV__}var rR=LCe(),nR,iR;(iR=(nR=jt).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(nR.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:rR,get state(){return{...Vn,activeAppRecordId:_i.id,activeAppRecord:_i.value,appRecords:Zh.value}},api:$Ae(rR)});var xu=jt.__VUE_DEVTOOLS_KIT_CONTEXT__;Ht();var NAe=Qme(eCe()),sR,oR,Ih=(oR=(sR=jt).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null?oR:sR.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set};function DAe(n,e){var t;return((t=n?._component)==null?void 0:t.name)||`App ${e}`}function zAe(n){var e,t,r,i;if(n._instance)return n._instance;if((t=(e=n._container)==null?void 0:e._vnode)!=null&&t.component)return(i=(r=n._container)==null?void 0:r._vnode)==null?void 0:i.component}function RAe(n){const e=n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;e!=null&&(Ih.appIds.delete(e),Ih.id--)}function VAe(n,e){if(n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__!=null)return n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;let t=e??(Ih.id++).toString();if(e&&Ih.appIds.has(t)){let r=1;for(;Ih.appIds.has(`${e}_${r}`);)r++;t=`${e}_${r}`}return Ih.appIds.add(t),n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__=t,t}function HAe(n,e){const t=zAe(n);if(t){Ih.id++;const r=DAe(n,Ih.id.toString()),s={id:VAe(n,(0,NAe.default)(r)),name:r,types:e,instanceMap:new Map,perfGroupIds:new Map,rootInstance:t};n.__VUE_DEVTOOLS_NEXT_APP_RECORD__=s;const o=`${s.id}:root`;return s.instanceMap.set(o,s.rootInstance),s.rootInstance.__VUE_DEVTOOLS_NEXT_UID__=o,s}else return{}}function BAe(){var n;gm({vitePluginDetected:LAe().vitePluginDetected});const e=((n=jt.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:n.id)==="vue-devtools-next";if(jt.__VUE_DEVTOOLS_GLOBAL_HOOK__&&e)return;const t=GCe();if(jt.__VUE_DEVTOOLS_HOOK_REPLAY__)try{jt.__VUE_DEVTOOLS_HOOK_REPLAY__.forEach(r=>r(t)),jt.__VUE_DEVTOOLS_HOOK_REPLAY__=[]}catch(r){console.error("[vue-devtools] Error during hook replay",r)}t.once("init",r=>{jt.__VUE_DEVTOOLS_VUE2_APP_DETECTED__=!0,console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;"),console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.","font-bold: 500; font-size: 14px;"),console.log("%cThe legacy version that supports both Vue 2 and Vue 3 has been moved to %c https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp","font-size: 14px;","text-decoration: underline; cursor: pointer;font-size: 14px;"),console.log("%cPlease install and enable only the legacy version for your Vue2 app.","font-bold: 500; font-size: 14px;"),console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;")}),oc.on.setupDevtoolsPlugin((r,i)=>{var s;jCe(r,i);const{app:o}=(s=_i)!=null?s:{};r.settings&&bJ(r.id,r.settings),o&&OJ([r,i],o)}),tCe(()=>{oA.filter(([i])=>i.id!=="components").forEach(([i,s])=>{t.emit("devtools-plugin:setup",i,s,{target:"legacy"})})}),oc.on.vueAppInit(async(r,i,s)=>{const a={...HAe(r,s),app:r,version:i};RCe(a),Zh.value.length===1&&(ZT(a),IJ(a.id),MJ(a,_i),XO(a.app)),_Ae(...xAe(a.app)),gm({connected:!0}),t.apps.push(r)}),oc.on.vueAppUnmount(async r=>{const i=Zh.value.filter(s=>s.app!==r);i.length===0&&gm({connected:!1}),VCe(r),RAe(r),_i.value.app===r&&(ZT(i[0]),xu.hooks.callHook("sendActiveAppUpdatedToClient")),jt.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(jt.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(r),1),PAe(r)}),KCe(t),jt.__VUE_DEVTOOLS_GLOBAL_HOOK__?s2e||Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,t):Object.defineProperty(jt,"__VUE_DEVTOOLS_GLOBAL_HOOK__",{get(){return t}})}Ht();function jAe(n){Vn.highPerfModeEnabled=n??!Vn.highPerfModeEnabled,!n&&_i.value&&XO(_i.value.app)}Ht();Ht();function FAe(n){const e=new Set,t=n._custom.value;for(let r=0;r"${o?.string?`${$v(n)}`:$v(n)}"`:n=o?.string?`${$v(n)}`:$v(n)}return n}function $v(n){return Yb(n).replace(/ /g," ").replace(/\n/g,"\\n")}function QO(n){var e,t,r;let i;const s=sC(n)==="custom";let o={};if(s){const a=n,l=(e=a._custom)==null?void 0:e.value,c=(t=a._custom)==null?void 0:t.type,u=typeof l=="object"&&l!==null&&"_custom"in l?QO(l):{inherit:void 0,value:void 0,customType:void 0};o=u.inherit||((r=a._custom)==null?void 0:r.fields)||{},n=u.value||l,i=u.customType||c}return n&&n._isArray&&(n=n.items),{value:n,inherit:o,customType:i}}function WAe(n,e){return e==="bigint"||e==="date"?n:sAe(JSON.stringify(n))}function n4(n,e){return e==="bigint"?BigInt(n):e==="date"?new Date(n):JSON.parse(oAe(n),kJ)}Ht();function LJ(n){Vn.devtoolsClientDetected={...Vn.devtoolsClientDetected,...n};const e=Object.values(Vn.devtoolsClientDetected).some(Boolean);jAe(!e)}var aR,lR;(lR=(aR=jt).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(aR.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=LJ);Ht();Ht();Ht();Ht();Ht();Ht();Ht();var GAe=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(n,e){this.keyToValue.set(n,e),this.valueToKey.set(e,n)}getByKey(n){return this.keyToValue.get(n)}getByValue(n){return this.valueToKey.get(n)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},NJ=class{constructor(e){this.generateIdentifier=e,this.kv=new GAe}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},KAe=class extends NJ{constructor(){super(n=>n.name),this.classToAllowedProps=new Map}register(n,e){typeof e=="object"?(e.allowProps&&this.classToAllowedProps.set(n,e.allowProps),super.register(n,e.identifier)):super.register(n,e)}getAllowedProps(n){return this.classToAllowedProps.get(n)}};Ht();Ht();function qAe(n){if("values"in Object)return Object.values(n);const e=[];for(const t in n)n.hasOwnProperty(t)&&e.push(n[t]);return e}function YAe(n,e){const t=qAe(n);if("find"in t)return t.find(e);const r=t;for(let i=0;ie(r,t))}function i4(n,e){return n.indexOf(e)!==-1}function cR(n,e){for(let t=0;te.isApplicable(n))}findByName(n){return this.transfomers[n]}};Ht();Ht();var ZAe=n=>Object.prototype.toString.call(n).slice(8,-1),DJ=n=>typeof n>"u",QAe=n=>n===null,oC=n=>typeof n!="object"||n===null||n===Object.prototype?!1:Object.getPrototypeOf(n)===null?!0:Object.getPrototypeOf(n)===Object.prototype,JT=n=>oC(n)&&Object.keys(n).length===0,Qh=n=>Array.isArray(n),JAe=n=>typeof n=="string",eIe=n=>typeof n=="number"&&!isNaN(n),tIe=n=>typeof n=="boolean",rIe=n=>n instanceof RegExp,aC=n=>n instanceof Map,lC=n=>n instanceof Set,zJ=n=>ZAe(n)==="Symbol",nIe=n=>n instanceof Date&&!isNaN(n.valueOf()),iIe=n=>n instanceof Error,uR=n=>typeof n=="number"&&isNaN(n),sIe=n=>tIe(n)||QAe(n)||DJ(n)||eIe(n)||JAe(n)||zJ(n),oIe=n=>typeof n=="bigint",aIe=n=>n===1/0||n===-1/0,lIe=n=>ArrayBuffer.isView(n)&&!(n instanceof DataView),cIe=n=>n instanceof URL;Ht();var RJ=n=>n.replace(/\./g,"\\."),h7=n=>n.map(String).map(RJ).join("."),vm=n=>{const e=[];let t="";for(let i=0;inull,()=>{}),Xc(oIe,"bigint",n=>n.toString(),n=>typeof BigInt<"u"?BigInt(n):(console.error("Please add a BigInt polyfill."),n)),Xc(nIe,"Date",n=>n.toISOString(),n=>new Date(n)),Xc(iIe,"Error",(n,e)=>{const t={name:n.name,message:n.message};return e.allowedErrorProps.forEach(r=>{t[r]=n[r]}),t},(n,e)=>{const t=new Error(n.message);return t.name=n.name,t.stack=n.stack,e.allowedErrorProps.forEach(r=>{t[r]=n[r]}),t}),Xc(rIe,"regexp",n=>""+n,n=>{const e=n.slice(1,n.lastIndexOf("/")),t=n.slice(n.lastIndexOf("/")+1);return new RegExp(e,t)}),Xc(lC,"set",n=>[...n.values()],n=>new Set(n)),Xc(aC,"map",n=>[...n.entries()],n=>new Map(n)),Xc(n=>uR(n)||aIe(n),"number",n=>uR(n)?"NaN":n>0?"Infinity":"-Infinity",Number),Xc(n=>n===0&&1/n===-1/0,"number",()=>"-0",Number),Xc(cIe,"URL",n=>n.toString(),n=>new URL(n))];function Zb(n,e,t,r){return{isApplicable:n,annotation:e,transform:t,untransform:r}}var HJ=Zb((n,e)=>zJ(n)?!!e.symbolRegistry.getIdentifier(n):!1,(n,e)=>["symbol",e.symbolRegistry.getIdentifier(n)],n=>n.description,(n,e,t)=>{const r=t.symbolRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),uIe=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((n,e)=>(n[e.name]=e,n),{}),BJ=Zb(lIe,n=>["typed-array",n.constructor.name],n=>[...n],(n,e)=>{const t=uIe[e[1]];if(!t)throw new Error("Trying to deserialize unknown typed array");return new t(n)});function jJ(n,e){return n?.constructor?!!e.classRegistry.getIdentifier(n.constructor):!1}var FJ=Zb(jJ,(n,e)=>["class",e.classRegistry.getIdentifier(n.constructor)],(n,e)=>{const t=e.classRegistry.getAllowedProps(n.constructor);if(!t)return{...n};const r={};return t.forEach(i=>{r[i]=n[i]}),r},(n,e,t)=>{const r=t.classRegistry.getValue(e[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${e[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),n)}),UJ=Zb((n,e)=>!!e.customTransformerRegistry.findApplicable(n),(n,e)=>["custom",e.customTransformerRegistry.findApplicable(n).name],(n,e)=>e.customTransformerRegistry.findApplicable(n).serialize(n),(n,e,t)=>{const r=t.customTransformerRegistry.findByName(e[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(n)}),hIe=[FJ,HJ,UJ,BJ],hR=(n,e)=>{const t=cR(hIe,i=>i.isApplicable(n,e));if(t)return{value:t.transform(n,e),type:t.annotation(n,e)};const r=cR(VJ,i=>i.isApplicable(n,e));if(r)return{value:r.transform(n,e),type:r.annotation}},WJ={};VJ.forEach(n=>{WJ[n.annotation]=n});var dIe=(n,e,t)=>{if(Qh(e))switch(e[0]){case"symbol":return HJ.untransform(n,e,t);case"class":return FJ.untransform(n,e,t);case"custom":return UJ.untransform(n,e,t);case"typed-array":return BJ.untransform(n,e,t);default:throw new Error("Unknown transformation: "+e)}else{const r=WJ[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(n,t)}};Ht();var Lg=(n,e)=>{if(e>n.size)throw new Error("index out of bounds");const t=n.keys();for(;e>0;)t.next(),e--;return t.next().value};function GJ(n){if(i4(n,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(i4(n,"prototype"))throw new Error("prototype is not allowed as a property");if(i4(n,"constructor"))throw new Error("constructor is not allowed as a property")}var fIe=(n,e)=>{GJ(e);for(let t=0;t{if(GJ(e),e.length===0)return t(n);let r=n;for(let s=0;stx(s,e,[...t,...vm(o)]));return}const[r,i]=n;i&&O2(i,(s,o)=>{tx(s,e,[...t,...vm(o)])}),e(r,t)}function pIe(n,e,t){return tx(e,(r,i)=>{n=ex(n,i,s=>dIe(s,r,t))}),n}function gIe(n,e){function t(r,i){const s=fIe(n,vm(i));r.map(vm).forEach(o=>{n=ex(n,o,()=>s)})}if(Qh(e)){const[r,i]=e;r.forEach(s=>{n=ex(n,vm(s),()=>n)}),i&&O2(i,t)}else O2(e,t);return n}var vIe=(n,e)=>oC(n)||Qh(n)||aC(n)||lC(n)||jJ(n,e);function mIe(n,e,t){const r=t.get(n);r?r.push(e):t.set(n,[e])}function CIe(n,e){const t={};let r;return n.forEach(i=>{if(i.length<=1)return;e||(i=i.map(a=>a.map(String)).sort((a,l)=>a.length-l.length));const[s,...o]=i;s.length===0?r=o.map(h7):t[h7(s)]=o.map(h7)}),r?JT(t)?[r]:[r,t]:JT(t)?void 0:t}var KJ=(n,e,t,r,i=[],s=[],o=new Map)=>{var a;const l=sIe(n);if(!l){mIe(n,i,e);const f=o.get(n);if(f)return r?{transformedValue:null}:f}if(!vIe(n,t)){const f=hR(n,t),v=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:n};return l||o.set(n,v),v}if(i4(s,n))return{transformedValue:null};const c=hR(n,t),u=(a=c?.value)!=null?a:n,h=Qh(u)?[]:{},d={};O2(u,(f,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const C=KJ(f,e,t,r,[...i,v],[...s,n],o);h[v]=C.transformedValue,Qh(C.annotations)?d[v]=C.annotations:oC(C.annotations)&&O2(C.annotations,(A,b)=>{d[RJ(v)+"."+b]=A})});const g=JT(d)?{transformedValue:h,annotations:c?[c.type]:void 0}:{transformedValue:h,annotations:c?[c.type,d]:d};return l||o.set(n,g),g};Ht();Ht();function qJ(n){return Object.prototype.toString.call(n).slice(8,-1)}function dR(n){return qJ(n)==="Array"}function AIe(n){if(qJ(n)!=="Object")return!1;const e=Object.getPrototypeOf(n);return!!e&&e.constructor===Object&&e===Object.prototype}function IIe(n,e,t,r,i){const s={}.propertyIsEnumerable.call(r,e)?"enumerable":"nonenumerable";s==="enumerable"&&(n[e]=t),i&&s==="nonenumerable"&&Object.defineProperty(n,e,{value:t,enumerable:!1,writable:!0,configurable:!0})}function rx(n,e={}){if(dR(n))return n.map(i=>rx(i,e));if(!AIe(n))return n;const t=Object.getOwnPropertyNames(n),r=Object.getOwnPropertySymbols(n);return[...t,...r].reduce((i,s)=>{if(dR(e.props)&&!e.props.includes(s))return i;const o=n[s],a=rx(o,e);return IIe(i,s,a,n,e.nonenumerable),i},{})}var cn=class{constructor({dedupe:n=!1}={}){this.classRegistry=new KAe,this.symbolRegistry=new NJ(e=>{var t;return(t=e.description)!=null?t:""}),this.customTransformerRegistry=new XAe,this.allowedErrorProps=[],this.dedupe=n}serialize(n){const e=new Map,t=KJ(n,e,this,this.dedupe),r={json:t.transformedValue};t.annotations&&(r.meta={...r.meta,values:t.annotations});const i=CIe(e,this.dedupe);return i&&(r.meta={...r.meta,referentialEqualities:i}),r}deserialize(n){const{json:e,meta:t}=n;let r=rx(e);return t?.values&&(r=pIe(r,t.values,this)),t?.referentialEqualities&&(r=gIe(r,t.referentialEqualities)),r}stringify(n){return JSON.stringify(this.serialize(n))}parse(n){return this.deserialize(JSON.parse(n))}registerClass(n,e){this.classRegistry.register(n,e)}registerSymbol(n,e){this.symbolRegistry.register(n,e)}registerCustom(n,e){this.customTransformerRegistry.register({name:e,...n})}allowErrorProps(...n){this.allowedErrorProps.push(...n)}};cn.defaultInstance=new cn;cn.serialize=cn.defaultInstance.serialize.bind(cn.defaultInstance);cn.deserialize=cn.defaultInstance.deserialize.bind(cn.defaultInstance);cn.stringify=cn.defaultInstance.stringify.bind(cn.defaultInstance);cn.parse=cn.defaultInstance.parse.bind(cn.defaultInstance);cn.registerClass=cn.defaultInstance.registerClass.bind(cn.defaultInstance);cn.registerSymbol=cn.defaultInstance.registerSymbol.bind(cn.defaultInstance);cn.registerCustom=cn.defaultInstance.registerCustom.bind(cn.defaultInstance);cn.allowErrorProps=cn.defaultInstance.allowErrorProps.bind(cn.defaultInstance);cn.serialize;cn.deserialize;cn.stringify;cn.parse;cn.registerClass;cn.registerCustom;cn.registerSymbol;cn.allowErrorProps;Ht();var fR="__devtools-kit-broadcast-messaging-event-key__",yIe="__devtools-kit:broadcast-channel__";function pR(){const n=new BroadcastChannel(yIe);return{post:e=>{n.postMessage(cn.stringify({event:fR,data:e}))},on:e=>{n.onmessage=t=>{const r=cn.parse(t.data);r.event===fR&&e(r.data)}}}}Ht();Ht();Ht();var bIe="electron:client-context",EIe="electron:proxy-context",wIe="electron:server-context",yh={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function SIe(){return jt[bIe]}function TIe(){return jt[EIe]}function xIe(){return jt[wIe]}function _Ie(){const n=SIe();return{post:e=>{n.emit(yh.CLIENT_TO_PROXY,cn.stringify(e))},on:e=>{n.on(yh.PROXY_TO_CLIENT,t=>{e(cn.parse(t))})}}}Ht();function PIe(){const n=TIe();return{post:e=>{},on:e=>{n.on(yh.SERVER_TO_PROXY,t=>{n.broadcast.emit(yh.PROXY_TO_CLIENT,t)}),n.on(yh.CLIENT_TO_PROXY,t=>{n.broadcast.emit(yh.PROXY_TO_SERVER,t)})}}}Ht();function OIe(){const n=xIe();return{post:e=>{n.emit(yh.SERVER_TO_PROXY,cn.stringify(e))},on:e=>{n.on(yh.PROXY_TO_SERVER,t=>{e(cn.parse(t))})}}}Ht();Ht();Ht();var MIe="electron:client-context",h3={PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function kIe(n){jt[MIe]=n}function $Ie(){let n=!1,e=null,t=null,r=null;function i(){try{clearTimeout(t),e=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),kIe(e),n=!1,e?.onMessage.addListener(r),e.onDisconnect.addListener(()=>{n=!0,e?.onMessage.removeListener(r),t=setTimeout(i,1e3)})}catch{n=!0}}return i(),{post:s=>{n||e?.postMessage(cn.stringify(s))},on:s=>{r=o=>{n||s(cn.parse(o))},e?.onMessage.addListener(r)}}}Ht();function LIe(){const n=chrome.runtime.connect({name:"content-script"});function e(r){window.postMessage({source:h3.PROXY_TO_SERVER,payload:r},"*")}function t(r){if(r.data&&r.data.source===h3.SERVER_TO_PROXY)try{n.postMessage(r.data.payload)}catch{}}return n.onMessage.addListener(e),window.addEventListener("message",t),n.onDisconnect.addListener(()=>{window.removeEventListener("message",t),e(cn.stringify({event:"shutdown"}))}),e(cn.stringify({event:"init"})),{post:r=>{},on:r=>{}}}Ht();function NIe(){return{post:n=>{window.postMessage({source:h3.SERVER_TO_PROXY,payload:cn.stringify(n)},"*")},on:n=>{const e=t=>{t.data.source===h3.PROXY_TO_SERVER&&t.data.payload&&n(cn.parse(t.data.payload))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}}}Ht();Ht();Ht();var d3="__devtools-kit-iframe-messaging-event-key__",DIe="iframe:server-context";function gR(){return jt[DIe]}function zIe(){return h0?{post:n=>window.parent.postMessage(cn.stringify({event:d3,data:n}),"*"),on:n=>window.addEventListener("message",e=>{try{const t=cn.parse(e.data);e.source===window.parent&&t.event===d3&&n(t.data)}catch{}})}:{post:n=>{},on:n=>{}}}Ht();function RIe(){return h0?{post:n=>{var e;const t=gR();(e=t?.contentWindow)==null||e.postMessage(cn.stringify({event:d3,data:n}),"*")},on:n=>{window.addEventListener("message",e=>{const t=gR();try{const r=cn.parse(e.data);e.source===t?.contentWindow&&r.event===d3&&n(r.data)}catch{}})}}:{post:n=>{},on:n=>{}}}Ht();Ht();Ht();var f3="__devtools-kit-vite-messaging-event-key__",YJ="vite:client-context",VIe="vite:server-context";function HIe(){return jt[YJ]}function BIe(n){jt[YJ]=n}function jIe(){return jt[VIe]}function FIe(){const n=HIe();return{post:e=>{n?.send(f3,cn.stringify(e))},on:e=>{n?.on(f3,t=>{e(cn.parse(t))})}}}Ht();function UIe(){var n;const e=jIe(),t=(n=e.hot)!=null?n:e.ws;return{post:r=>t?.send(f3,cn.stringify(r)),on:r=>t?.on(f3,i=>{r(cn.parse(i))})}}Ht();Ht();Ht();Ht();var vR,mR;(mR=(vR=jt).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(vR.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var CR,AR;(AR=(CR=jt).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(CR.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var IR,yR;(yR=(IR=jt).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(IR.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var bR,ER;(ER=(bR=jt).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(bR.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var wR,SR;(SR=(wR=jt).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(wR.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var TR,xR;(xR=(TR=jt).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(TR.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function WIe(n){jt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=n}function GIe(){return jt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function XJ(){return jt.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function KIe(n){jt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=n}function qIe(){return jt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function YIe(n,e="client"){const t={iframe:{client:zIe,server:RIe}[e],electron:{client:_Ie,proxy:PIe,server:OIe}[e],vite:{client:FIe,server:UIe}[e],broadcast:{client:pR,server:pR}[e],extension:{client:$Ie,proxy:LIe,server:NIe}[e]}[n];return t()}function nx(n,e={}){const{channel:t,options:r,preset:i}=e,s=i?YIe(i):t,o=_2e(n,{...r,...s,timeout:-1});if(i==="vite"){KIe(o);return}return WIe(o),o}Ht();Ht();Ht();Ht();Ht();Ht();function XIe(n){let e="",t=null;try{e=Function.prototype.toString.call(n),t=String.prototype.match.call(e,/\([\s\S]*?\)/)}catch{}const r=t&&t[0],i=typeof r=="string"?r:"(?)",s=typeof n.name=="string"?n.name:"";return{_custom:{type:"function",displayText:`function ${Yb(s)}${i}`,tooltipText:e.trim()?`
${e}
`:null}}}function ZIe(n){const e=BigInt.prototype.toString.call(n);return{_custom:{type:"bigint",displayText:`BigInt(${e})`,value:e}}}function QIe(n){const e=new Date(n.getTime());return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(n),value:e.toISOString().slice(0,-1)}}}function JIe(n){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(n),readOnly:!0,fields:{abstract:!0}}}}function e5e(n){const e=Array.from(n);return{_custom:{type:"set",displayText:`Set[${e.length}]`,value:e,readOnly:!0}}}function t5e(n){const e={},t=n.getters||{},r=Object.keys(t);for(let i=0;i{try{return t[s]}catch(o){return o}}})}return e}function r5e(n){if(n.length)return n.reduce((e,t)=>{const r=t.type||"data",i=e[r]=e[r]||{};return i[t.key]=t.value,e},{})}function n5e(n){const e={},t=n.length;for(let r=0;r(${n.__file})`):e="Unknown Component",{_custom:{type:"component-definition",displayText:e,tooltipText:"Component definition",...n.__file?{file:n.__file}:{}}}}function l5e(n){try{return{_custom:{type:"HTMLElement",displayText:`<${n.tagName.toLowerCase()}>`,value:n5e(n.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`${String(n)}`}}}}function c5e(n){if(tc(n,"_value",!0))return n._value;if(tc(n,"value",!0))return n.value}function u5e(n){var e,t,r,i;const s=TJ(n);if(s.ref||s.computed||s.reactive){const a=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,l=xJ(s.reactive?n:c5e(n)),c=tc(n,"effect")?((t=(e=n.effect)==null?void 0:e.raw)==null?void 0:t.toString())||((i=(r=n.effect)==null?void 0:r.fn)==null?void 0:i.toString()):null;return{_custom:{type:a?.toLowerCase(),stateTypeName:a,value:l,...c?{tooltipText:`${c}`}:{}}}}if(tc(n,"__asyncLoader")&&typeof n.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function h5e(n,e,t,r){var i;if(n==="compilerOptions")return;const s=this[n],o=typeof s;if(Array.isArray(s)){const a=s.length;return a>Wz?{_isArray:!0,length:a,items:s.slice(0,Wz)}:s}else{if(typeof s=="string")return s.length>Uz?`${s.substring(0,Uz)}... (${s.length} total length)`:s;if(o==="undefined")return v0;if(s===Number.POSITIVE_INFINITY)return aA;if(s===Number.NEGATIVE_INFINITY)return lA;if(typeof s=="function")return XIe(s);if(o==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(s)}]`;if(typeof s=="bigint")return ZIe(s);if(s!==null&&typeof s=="object"){const a=Object.prototype.toString.call(s);if(a==="[object Map]")return JIe(s);if(a==="[object Set]")return e5e(s);if(a==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(s)}]`;if(a==="[object Date]")return QIe(s);if(a==="[object Error]")return`[native Error ${s.message}<>${s.stack}]`;if(tc(s,"state",!0)&&tc(s,"_vm",!0))return i5e(s);if(s.constructor&&s.constructor.name==="VueRouter")return s5e(s);if(EJ(s)){const c=o5e(s),u=r?.get(s);return u&&u`:(r?.set(s,t),c)}else{if(tc(s,"render",!0)&&typeof s.render=="function")return a5e(s);if(s.constructor&&s.constructor.name==="VNode")return`[native VNode <${s.tag}>]`;if(typeof HTMLElement<"u"&&s instanceof HTMLElement)return l5e(s);if(((i=s.constructor)==null?void 0:i.name)==="Store"&&"_wrappedGetters"in s)return"[object Store]";if(tc(s,"currentRoute",!0))return"[object Router]"}const l=u5e(s);if(l!=null)return l}else if(Number.isNaN(s))return cA}return aAe(s)}Ht();var T5=2*1024*1024;function _R(n,e){return e==="[object Object]"}function d5e(n,e){return e==="[object Array]"}function f5e(n){var e;const t=(e=n?.constructor)==null?void 0:e.name;return t==="Dep"&&"activeLink"in n||t==="Link"&&"dep"in n}function ix(n,e,t,r,i=0,s=new Map){let o,a,l,c,u;const h=r.get(n);if(h!=null)return h;const d=t.length,g=Object.prototype.toString.call(n);if(_R(n,g)){if(f5e(n))return d;o={},r.set(n,d),t.push(o);const f=Object.keys(n);for(c=0,u=f.length;c{var o;return(o=e?.(i,s))==null?void 0:o.call(this)},t)}catch{r=v5e(n,e,t)}if(r.length>T5){const i=Math.ceil(r.length/T5),s=[];for(let o=0;o{BAe()},get ctx(){return xu},get api(){return xu.api}};const Qb=Ct(!1),cC=async n=>{const e={file:n};return wu&&(e.host="chrome-extension"),Gt.value.openInEditor(e)};function sx(n,e={},t){for(const r in n){const i=n[r],s=t?`${t}:${r}`:r;typeof i=="object"&&i!==null?sx(i,e,s):typeof i=="function"&&(e[s]=i)}return e}var m5e={run:n=>n()},C5e=()=>m5e,ZJ=typeof console.createTask<"u"?console.createTask:C5e;function A5e(n,e){const t=e.shift(),r=ZJ(t);return n.reduce((i,s)=>i.then(()=>r.run(()=>s(...e))),Promise.resolve())}function I5e(n,e){const t=e.shift(),r=ZJ(t);return Promise.all(n.map(i=>r.run(()=>i(...e))))}function d7(n,e){for(const t of[...n])t(e)}var y5e=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(n,e,t={}){if(!n||typeof e!="function")return()=>{};const r=n;let i;for(;this._deprecatedHooks[n];)i=this._deprecatedHooks[n],n=i.to;if(i&&!t.allowDeprecated){let s=i.message;s||(s=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+n.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[n]=this._hooks[n]||[],this._hooks[n].push(e),()=>{e&&(this.removeHook(n,e),e=void 0)}}hookOnce(n,e){let t,r=(...i)=>(typeof t=="function"&&t(),t=void 0,r=void 0,e(...i));return t=this.hook(n,r),t}removeHook(n,e){if(this._hooks[n]){const t=this._hooks[n].indexOf(e);t!==-1&&this._hooks[n].splice(t,1),this._hooks[n].length===0&&delete this._hooks[n]}}deprecateHook(n,e){this._deprecatedHooks[n]=typeof e=="string"?{to:e}:e;const t=this._hooks[n]||[];delete this._hooks[n];for(const r of t)this.hook(n,r)}deprecateHooks(n){Object.assign(this._deprecatedHooks,n);for(const e in n)this.deprecateHook(e,n[e])}addHooks(n){const e=sx(n),t=Object.keys(e).map(r=>this.hook(r,e[r]));return()=>{for(const r of t.splice(0,t.length))r()}}removeHooks(n){const e=sx(n);for(const t in e)this.removeHook(t,e[t])}removeAllHooks(){for(const n in this._hooks)delete this._hooks[n]}callHook(n,...e){return e.unshift(n),this.callHookWith(A5e,n,...e)}callHookParallel(n,...e){return e.unshift(n),this.callHookWith(I5e,n,...e)}callHookWith(n,e,...t){const r=this._before||this._after?{name:e,args:t,context:{}}:void 0;this._before&&d7(this._before,r);const i=n(e in this._hooks?[...this._hooks[e]]:[],t);return i instanceof Promise?i.finally(()=>{this._after&&r&&d7(this._after,r)}):(this._after&&r&&d7(this._after,r),i)}beforeEach(n){return this._before=this._before||[],this._before.push(n),()=>{if(this._before!==void 0){const e=this._before.indexOf(n);e!==-1&&this._before.splice(e,1)}}}afterEach(n){return this._after=this._after||[],this._after.push(n),()=>{if(this._after!==void 0){const e=this._after.indexOf(n);e!==-1&&this._after.splice(e,1)}}}};function QJ(){return new y5e}var x5=QJ(),Hi=(n=>(n.INSPECTOR_TREE_UPDATED="inspector-tree-updated",n.INSPECTOR_STATE_UPDATED="inspector-state-updated",n.DEVTOOLS_STATE_UPDATED="devtools-state-updated",n.ROUTER_INFO_UPDATED="router-info-updated",n.TIMELINE_EVENT_UPDATED="timeline-event-updated",n.INSPECTOR_UPDATED="inspector-updated",n.ACTIVE_APP_UNMOUNTED="active-app-updated",n.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",n.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",n))(Hi||{});function OR(){var n;const e=ws.ctx.state;return{connected:e.connected,clientConnected:!0,vueVersion:((n=e?.activeAppRecord)==null?void 0:n.version)||"",tabs:e.tabs,commands:e.commands,vitePluginDetected:e.vitePluginDetected,appRecords:e.appRecords.map(t=>({id:t.id,name:t.name,version:t.version,routerId:t.routerId})),activeAppRecordId:e.activeAppRecordId,timelineLayersState:e.timelineLayersState}}var MR={on:(n,e)=>{x5.hook(n,e)},off:(n,e)=>{x5.removeHook(n,e)},once:(n,e)=>{x5.hookOnce(n,e)},emit:(n,...e)=>{x5.callHook(n,...e)},heartbeat:()=>!0,devtoolsState:()=>OR(),async getInspectorTree(n){const e=await ws.ctx.api.getInspectorTree(n);return Lv(e)},async getInspectorState(n){const e=Mh(n.inspectorId);e&&(e.selectedNodeId=n.nodeId);const t=await ws.ctx.api.getInspectorState(n);return Lv(t)},async editInspectorState(n){return await ws.ctx.api.editInspectorState(n)},sendInspectorState(n){return ws.ctx.api.sendInspectorState(n)},inspectComponentInspector(){return ws.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return ws.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(n){return ws.ctx.api.getComponentRenderCode(n)},scrollToComponent(n){return ws.ctx.api.scrollToComponent(n)},inspectDOM(n){return ws.ctx.api.inspectDOM(n)},getInspectorNodeActions(n){return Tz(n)},getInspectorActions(n){return Sz(n)},updateTimelineLayersState(n){return MCe(n)},callInspectorNodeAction(n,e,t){var r;const i=Tz(n);if(i?.length){const s=i[e];(r=s.action)==null||r.call(s,t)}},callInspectorAction(n,e){var t;const r=Sz(n);if(r?.length){const i=r[e];(t=i.action)==null||t.call(i)}},openInEditor(n){return ws.ctx.api.openInEditor(n)},async checkVueInspectorDetected(){return!!await ws.ctx.api.getVueInspector()},async enableVueInspector(){var n,e,t;const r=await((t=(e=(n=ws)==null?void 0:n.api)==null?void 0:e.getVueInspector)==null?void 0:t.call(e));r&&await r.enable()},async toggleApp(n,e){return ws.ctx.api.toggleApp(n,e)},updatePluginSettings(n,e,t){return ws.ctx.api.updatePluginSettings(n,e,t)},getPluginSettings(n){return ws.ctx.api.getPluginSettings(n)},getRouterInfo(){return OAe},navigate(n){var e;return(e=Jz.value)==null?void 0:e.push(n).catch(()=>({}))},getMatchedRoutes(n){var e,t,r;const i=console.warn;console.warn=()=>{};const s=(r=(t=(e=Jz.value)==null?void 0:e.resolve)==null?void 0:t.call(e,{path:n||"/"}).matched)!=null?r:[];return console.warn=i,s},toggleClientConnected(n){HCe(n)},getCustomInspector(){return GO()},getInspectorInfo(n){return $Ce(n)},highlighComponent(n){return ws.ctx.hooks.callHook(XT.COMPONENT_HIGHLIGHT,{uid:n})},unhighlight(){return ws.ctx.hooks.callHook(XT.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(n){LJ(n)},initDevToolsServerListener(){const e=XJ().broadcast;ws.ctx.hooks.hook(rh.SEND_INSPECTOR_TREE_TO_CLIENT,t=>{e.emit("inspector-tree-updated",Lv(t))}),ws.ctx.hooks.hook(rh.SEND_INSPECTOR_STATE_TO_CLIENT,t=>{e.emit("inspector-state-updated",Lv(t))}),ws.ctx.hooks.hook(rh.DEVTOOLS_STATE_UPDATED,()=>{e.emit("devtools-state-updated",OR())}),ws.ctx.hooks.hook(rh.ROUTER_INFO_UPDATED,({state:t})=>{e.emit("router-info-updated",t)}),ws.ctx.hooks.hook(rh.SEND_TIMELINE_EVENT_TO_CLIENT,t=>{e.emit("timeline-event-updated",Lv(t))}),ws.ctx.hooks.hook(rh.SEND_INSPECTOR_TO_CLIENT,t=>{e.emit("inspector-updated",t)}),ws.ctx.hooks.hook(rh.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{e.emit("active-app-updated")})}},Gt=new Proxy({value:{},functions:{}},{get(n,e){const t=GIe();if(e==="value")return t;if(e==="functions")return t.$functions}});new Proxy({value:{},functions:{}},{get(n,e){const t=XJ();if(e==="value")return t;if(e==="functions")return t.functions}});function a1(n){let e=null,t=0;function r(){var i,s;(s=(i=Gt.value)==null?void 0:i.heartbeat)==null||s.call(i).then(()=>{n(),clearTimeout(e)}).catch(()=>{})}e=setInterval(()=>{t>=30&&clearTimeout(e),t++,r()},t*200+200),r()}var _5=QJ(),b5e={on:(n,e)=>{_5.hook(n,e)},off:(n,e)=>{_5.removeHook(n,e)},once:(n,e)=>{_5.hookOnce(n,e)},emit:(n,...e)=>{_5.callHook(n,...e)},heartbeat:()=>!0},_c=new Proxy({value:{},functions:{}},{get(n,e){const t=qIe();if(e==="value")return t;if(e==="functions")return t?.$functions}});function JJ(n){let e=null;function t(){var r,i;(i=(r=_c.value)==null?void 0:r.heartbeat)==null||i.call(r).then(()=>{clearTimeout(e),n()}).catch(()=>({})),e=setTimeout(()=>{t()},80)}t()}function E5e(){nx(b5e,{preset:"vite"})}var eee=Symbol.for("__VueDevToolsStateSymbol__");function w5e(){return{install(n){const e=S5e();e.getDevToolsState(),n.provide(eee,e),n.config.globalProperties.$getDevToolsState=e.getDevToolsState,n.config.globalProperties.$disconnectDevToolsClient=()=>{e.clientConnected.value=!1,e.connected.value=!1}}}}function S5e(){const n=Ct(!1),e=Ct(!1),t=Ct(""),r=Ct([]),i=Ct([]),s=Ct(!1),o=Ct([]),a=Ct(""),l=Ct({});function c(h){n.value=h.connected,e.value=h.clientConnected,t.value=h.vueVersion||"",r.value=h.tabs,i.value=h.commands,s.value=h.vitePluginDetected,o.value=h.appRecords,a.value=h.activeAppRecordId,l.value=h.timelineLayersState}function u(){a1(()=>{Gt.value.devtoolsState().then(h=>{c(h)}),Gt.functions.off("devtools-state-updated",c),Gt.functions.on("devtools-state-updated",c)})}return{getDevToolsState:u,connected:n,clientConnected:e,vueVersion:t,tabs:r,commands:i,vitePluginDetected:s,appRecords:o,activeAppRecordId:a,timelineLayersState:l}}function Nl(){return Li(eee)}var Tg=[];function JO(n){const{connected:e,clientConnected:t}=Nl();Tg.push(n),wo(()=>{Tg.splice(Tg.indexOf(n),1)});const r=ot(()=>t.value&&e.value);if(r.value)n();else{const i=Fr(r,s=>{s&&(n(),i())})}return()=>{Tg.splice(Tg.indexOf(n),1)}}function tee(){Tg.forEach(n=>n())}async function T5e(n="/",e=!0){try{const t=`${n}@vite/client`,r=await fetch(t);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(t)}catch{e&&console.error(`[vite-hot-client] Failed to import "${n}@vite/client"`)}}/*! * vue-router v4.5.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const xg=typeof document<"u";function ree(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function x5e(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&ree(n.default)}const Ss=Object.assign;function f7(n,e){const t={};for(const r in e){const i=e[r];t[r]=Rc(i)?i.map(n):n(i)}return t}const mm=()=>{},Rc=Array.isArray,nee=/#/g,_5e=/&/g,P5e=/\//g,O5e=/=/g,M5e=/\?/g,iee=/\+/g,k5e=/%5B/g,$5e=/%5D/g,see=/%5E/g,L5e=/%60/g,oee=/%7B/g,N5e=/%7C/g,aee=/%7D/g,D5e=/%20/g;function eM(n){return encodeURI(""+n).replace(N5e,"|").replace(k5e,"[").replace($5e,"]")}function z5e(n){return eM(n).replace(oee,"{").replace(aee,"}").replace(see,"^")}function ox(n){return eM(n).replace(iee,"%2B").replace(D5e,"+").replace(nee,"%23").replace(_5e,"%26").replace(L5e,"`").replace(oee,"{").replace(aee,"}").replace(see,"^")}function R5e(n){return ox(n).replace(O5e,"%3D")}function V5e(n){return eM(n).replace(nee,"%23").replace(M5e,"%3F")}function H5e(n){return n==null?"":V5e(n).replace(P5e,"%2F")}function uC(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const B5e=/\/$/,j5e=n=>n.replace(B5e,"");function p7(n,e,t="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=n(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=G5e(r??e,t),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:uC(o)}}function F5e(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function U5e(n,e,t){const r=e.matched.length-1,i=t.matched.length-1;return r>-1&&r===i&&M2(e.matched[r],t.matched[i])&&lee(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function M2(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function lee(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!W5e(n[t],e[t]))return!1;return!0}function W5e(n,e){return Rc(n)?kR(n,e):Rc(e)?kR(e,n):n===e}function kR(n,e){return Rc(e)?n.length===e.length&&n.every((t,r)=>t===e[r]):n.length===1&&n[0]===e}function G5e(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),r=n.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=t.length-1,o,a;for(o=0;o1&&s--;else break;return t.slice(0,s).join("/")+"/"+r.slice(o).join("/")}const eh={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var hC;(function(n){n.pop="pop",n.push="push"})(hC||(hC={}));var p3;(function(n){n.back="back",n.forward="forward",n.unknown=""})(p3||(p3={}));const g7="";function K5e(n){if(!n)if(xg){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),j5e(n)}const q5e=/^[^#]+#/;function Y5e(n,e){return n.replace(q5e,"#")+e}function X5e(n,e){const t=document.documentElement.getBoundingClientRect(),r=n.getBoundingClientRect();return{behavior:e.behavior,left:r.left-t.left-(e.left||0),top:r.top-t.top-(e.top||0)}}const Z5e=()=>({left:window.scrollX,top:window.scrollY});function Q5e(n){let e;if("el"in n){const t=n.el,r=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?r?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=X5e(i,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function $R(n,e){return(history.state?history.state.position-e:-1)+n}const ax=new Map;function J5e(n,e){ax.set(n,e)}function eye(n){const e=ax.get(n);return ax.delete(n),e}function tye(n=""){let e=[],t=[g7],r=0;n=K5e(n);function i(a){r++,r!==t.length&&t.splice(r),t.push(a)}function s(a,l,{direction:c,delta:u}){const h={direction:c,delta:u,type:hC.pop};for(const d of e)d(a,l,h)}const o={location:g7,state:{},base:n,createHref:Y5e.bind(null,n),replace(a){t.splice(r--,1),i(a)},push(a,l){i(a)},listen(a){return e.push(a),()=>{const l=e.indexOf(a);l>-1&&e.splice(l,1)}},destroy(){e=[],t=[g7],r=0},go(a,l=!0){const c=this.location,u=a<0?p3.back:p3.forward;r=Math.max(0,Math.min(r+a,t.length-1)),l&&s(this.location,c,{direction:u,delta:a})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t[r]}),o}function rye(n){return typeof n=="string"||n&&typeof n=="object"}function cee(n){return typeof n=="string"||typeof n=="symbol"}const uee=Symbol("");var LR;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(LR||(LR={}));function k2(n,e){return Ss(new Error,{type:n,[uee]:!0},e)}function Xu(n,e){return n instanceof Error&&uee in n&&(e==null||!!(n.type&e))}const NR="[^/]+?",nye={sensitive:!1,strict:!1,start:!0,end:!0},iye=/[.+*?^${}()[\]/\\]/g;function sye(n,e){const t=Ss({},nye,e),r=[];let i=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(i+="/");for(let h=0;he.length?e.length===1&&e[0]===80?1:-1:0}function hee(n,e){let t=0;const r=n.score,i=e.score;for(;t0&&e[e.length-1]<0}const aye={type:0,value:""},lye=/[a-zA-Z0-9_]/;function cye(n){if(!n)return[[]];if(n==="/")return[[aye]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(g){throw new Error(`ERR (${t})/"${c}": ${g}`)}let t=0,r=t;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function h(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(m)}:mm}function o(h){if(cee(h)){const d=r.get(h);d&&(r.delete(h),t.splice(t.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=t.indexOf(h);d>-1&&(t.splice(d,1),h.record.name&&r.delete(h.record.name),h.children.forEach(o),h.alias.forEach(o))}}function a(){return t}function l(h){const d=pye(h,t);t.splice(d,0,h),h.record.name&&!VR(h)&&r.set(h.record.name,h)}function c(h,d){let g,f={},v,C;if("name"in h&&h.name){if(g=r.get(h.name),!g)throw k2(1,{location:h});C=g.record.name,f=Ss(zR(d.params,g.keys.filter(m=>!m.optional).concat(g.parent?g.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),h.params&&zR(h.params,g.keys.map(m=>m.name))),v=g.stringify(f)}else if(h.path!=null)v=h.path,g=t.find(m=>m.re.test(v)),g&&(f=g.parse(v),C=g.record.name);else{if(g=d.name?r.get(d.name):t.find(m=>m.re.test(d.path)),!g)throw k2(1,{location:h,currentLocation:d});C=g.record.name,f=Ss({},d.params,h.params),v=g.stringify(f)}const A=[];let b=g;for(;b;)A.unshift(b.record),b=b.parent;return{name:C,path:v,params:f,matched:A,meta:fye(A)}}n.forEach(h=>s(h));function u(){t.length=0,r.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function zR(n,e){const t={};for(const r of e)r in n&&(t[r]=n[r]);return t}function RR(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:dye(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function dye(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const r in n.components)e[r]=typeof t=="object"?t[r]:t;return e}function VR(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function fye(n){return n.reduce((e,t)=>Ss(e,t.meta),{})}function HR(n,e){const t={};for(const r in n)t[r]=r in e?e[r]:n[r];return t}function pye(n,e){let t=0,r=e.length;for(;t!==r;){const s=t+r>>1;hee(n,e[s])<0?r=s:t=s+1}const i=gye(n);return i&&(r=e.lastIndexOf(i,r-1)),r}function gye(n){let e=n;for(;e=e.parent;)if(dee(e)&&hee(n,e)===0)return e}function dee({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function vye(n){const e={};if(n===""||n==="?")return e;const r=(n[0]==="?"?n.slice(1):n).split("&");for(let i=0;is&&ox(s)):[r&&ox(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function mye(n){const e={};for(const t in n){const r=n[t];r!==void 0&&(e[t]=Rc(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const Cye=Symbol(""),jR=Symbol(""),Jb=Symbol(""),tM=Symbol(""),lx=Symbol("");function Nv(){let n=[];function e(r){return n.push(r),()=>{const i=n.indexOf(r);i>-1&&n.splice(i,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function ph(n,e,t,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(k2(4,{from:t,to:e})):d instanceof Error?l(d):rye(d)?l(k2(2,{from:e,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},u=s(()=>n.call(r&&r.instances[i],e,t,c));let h=Promise.resolve(u);n.length<3&&(h=h.then(c)),h.catch(d=>l(d))})}function v7(n,e,t,r,i=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(ree(l)){const u=(l.__vccOpts||l)[e];u&&s.push(ph(u,t,r,o,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const h=x5e(u)?u.default:u;o.mods[a]=u,o.components[a]=h;const g=(h.__vccOpts||h)[e];return g&&ph(g,t,r,o,a,i)()}))}}return s}function FR(n){const e=Li(Jb),t=Li(tM),r=ot(()=>{const l=ye(n.to);return e.resolve(l)}),i=ot(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],h=t.matched;if(!u||!h.length)return-1;const d=h.findIndex(M2.bind(null,u));if(d>-1)return d;const g=UR(l[c-2]);return c>1&&UR(u)===g&&h[h.length-1].path!==g?h.findIndex(M2.bind(null,l[c-2])):d}),s=ot(()=>i.value>-1&&bye(t.params,r.value.params)),o=ot(()=>i.value>-1&&i.value===t.matched.length-1&&lee(t.params,r.value.params));function a(l={}){if(yye(l)){const c=e[ye(n.replace)?"replace":"push"](ye(n.to)).catch(mm);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:ot(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}function Aye(n){return n.length===1?n[0]:n}const Iye=Ft({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:FR,setup(n,{slots:e}){const t=zc(FR(n)),{options:r}=Li(Jb),i=ot(()=>({[WR(n.activeClass,r.linkActiveClass,"router-link-active")]:t.isActive,[WR(n.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&Aye(e.default(t));return n.custom?s:cd("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},s)}}}),fee=Iye;function yye(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function bye(n,e){for(const t in e){const r=e[t],i=n[t];if(typeof r=="string"){if(r!==i)return!1}else if(!Rc(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function UR(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const WR=(n,e,t)=>n??e??t,Eye=Ft({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const r=Li(lx),i=ot(()=>n.route||r.value),s=Li(jR,0),o=ot(()=>{let c=ye(s);const{matched:u}=i.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=ot(()=>i.value.matched[o.value]);io(jR,ot(()=>o.value+1)),io(Cye,a),io(lx,i);const l=Ct();return Fr(()=>[l.value,a.value,n.name],([c,u,h],[d,g,f])=>{u&&(u.instances[h]=c,g&&g!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!M2(u,g)||!d)&&(u.enterCallbacks[h]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=i.value,u=n.name,h=a.value,d=h&&h.components[u];if(!d)return GR(t.default,{Component:d,route:c});const g=h.props[u],f=g?g===!0?c.params:typeof g=="function"?g(c):g:null,C=cd(d,Ss({},f,e,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return GR(t.default,{Component:C,route:c})||C}}});function GR(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const wye=Eye;function Sye(n){const e=hye(n.routes,n),t=n.parseQuery||vye,r=n.stringifyQuery||BR,i=n.history,s=Nv(),o=Nv(),a=Nv(),l=Cn(eh);let c=eh;xg&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=f7.bind(null,fe=>""+fe),h=f7.bind(null,H5e),d=f7.bind(null,uC);function g(fe,oe){let J,K;return cee(fe)?(J=e.getRecordMatcher(fe),K=oe):K=fe,e.addRoute(K,J)}function f(fe){const oe=e.getRecordMatcher(fe);oe&&e.removeRoute(oe)}function v(){return e.getRoutes().map(fe=>fe.record)}function C(fe){return!!e.getRecordMatcher(fe)}function A(fe,oe){if(oe=Ss({},oe||l.value),typeof fe=="string"){const ce=p7(t,fe,oe.path),ge=e.resolve({path:ce.path},oe),Te=i.createHref(ce.fullPath);return Ss(ce,ge,{params:d(ge.params),hash:uC(ce.hash),redirectedFrom:void 0,href:Te})}let J;if(fe.path!=null)J=Ss({},fe,{path:p7(t,fe.path,oe.path).path});else{const ce=Ss({},fe.params);for(const ge in ce)ce[ge]==null&&delete ce[ge];J=Ss({},fe,{params:h(ce)}),oe.params=h(oe.params)}const K=e.resolve(J,oe),q=fe.hash||"";K.params=u(d(K.params));const ue=F5e(r,Ss({},fe,{hash:z5e(q),path:K.path})),te=i.createHref(ue);return Ss({fullPath:ue,hash:q,query:r===BR?mye(fe.query):fe.query||{}},K,{redirectedFrom:void 0,href:te})}function b(fe){return typeof fe=="string"?p7(t,fe,l.value.path):Ss({},fe)}function m(fe,oe){if(c!==fe)return k2(8,{from:oe,to:fe})}function E(fe){return T(fe)}function I(fe){return E(Ss(b(fe),{replace:!0}))}function S(fe){const oe=fe.matched[fe.matched.length-1];if(oe&&oe.redirect){const{redirect:J}=oe;let K=typeof J=="function"?J(fe):J;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=b(K):{path:K},K.params={}),Ss({query:fe.query,hash:fe.hash,params:K.path!=null?{}:fe.params},K)}}function T(fe,oe){const J=c=A(fe),K=l.value,q=fe.state,ue=fe.force,te=fe.replace===!0,ce=S(J);if(ce)return T(Ss(b(ce),{state:typeof ce=="object"?Ss({},q,ce.state):q,force:ue,replace:te}),oe||J);const ge=J;ge.redirectedFrom=oe;let Te;return!ue&&U5e(r,K,J)&&(Te=k2(16,{to:ge,from:K}),xe(K,K,!0,!1)),(Te?Promise.resolve(Te):$(ge,K)).catch(ae=>Xu(ae)?Xu(ae,2)?ae:de(ae):Y(ae,ge,K)).then(ae=>{if(ae){if(Xu(ae,2))return T(Ss({replace:te},b(ae.to),{state:typeof ae.to=="object"?Ss({},q,ae.to.state):q,force:ue}),oe||ge)}else ae=U(ge,K,!0,te,q);return B(ge,K,ae),ae})}function P(fe,oe){const J=m(fe,oe);return J?Promise.reject(J):Promise.resolve()}function _(fe){const oe=he.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(fe):fe()}function $(fe,oe){let J;const[K,q,ue]=Tye(fe,oe);J=v7(K.reverse(),"beforeRouteLeave",fe,oe);for(const ce of K)ce.leaveGuards.forEach(ge=>{J.push(ph(ge,fe,oe))});const te=P.bind(null,fe,oe);return J.push(te),_e(J).then(()=>{J=[];for(const ce of s.list())J.push(ph(ce,fe,oe));return J.push(te),_e(J)}).then(()=>{J=v7(q,"beforeRouteUpdate",fe,oe);for(const ce of q)ce.updateGuards.forEach(ge=>{J.push(ph(ge,fe,oe))});return J.push(te),_e(J)}).then(()=>{J=[];for(const ce of ue)if(ce.beforeEnter)if(Rc(ce.beforeEnter))for(const ge of ce.beforeEnter)J.push(ph(ge,fe,oe));else J.push(ph(ce.beforeEnter,fe,oe));return J.push(te),_e(J)}).then(()=>(fe.matched.forEach(ce=>ce.enterCallbacks={}),J=v7(ue,"beforeRouteEnter",fe,oe,_),J.push(te),_e(J))).then(()=>{J=[];for(const ce of o.list())J.push(ph(ce,fe,oe));return J.push(te),_e(J)}).catch(ce=>Xu(ce,8)?ce:Promise.reject(ce))}function B(fe,oe,J){a.list().forEach(K=>_(()=>K(fe,oe,J)))}function U(fe,oe,J,K,q){const ue=m(fe,oe);if(ue)return ue;const te=oe===eh,ce=xg?history.state:{};J&&(K||te?i.replace(fe.fullPath,Ss({scroll:te&&ce&&ce.scroll},q)):i.push(fe.fullPath,q)),l.value=fe,xe(fe,oe,J,te),de()}let H;function N(){H||(H=i.listen((fe,oe,J)=>{if(!me.listening)return;const K=A(fe),q=S(K);if(q){T(Ss(q,{replace:!0,force:!0}),K).catch(mm);return}c=K;const ue=l.value;xg&&J5e($R(ue.fullPath,J.delta),Z5e()),$(K,ue).catch(te=>Xu(te,12)?te:Xu(te,2)?(T(Ss(b(te.to),{force:!0}),K).then(ce=>{Xu(ce,20)&&!J.delta&&J.type===hC.pop&&i.go(-1,!1)}).catch(mm),Promise.reject()):(J.delta&&i.go(-J.delta,!1),Y(te,K,ue))).then(te=>{te=te||U(K,ue,!1),te&&(J.delta&&!Xu(te,8)?i.go(-J.delta,!1):J.type===hC.pop&&Xu(te,20)&&i.go(-1,!1)),B(K,ue,te)}).catch(mm)}))}let W=Nv(),D=Nv(),R;function Y(fe,oe,J){de(fe);const K=D.list();return K.length?K.forEach(q=>q(fe,oe,J)):console.error(fe),Promise.reject(fe)}function ie(){return R&&l.value!==eh?Promise.resolve():new Promise((fe,oe)=>{W.add([fe,oe])})}function de(fe){return R||(R=!fe,N(),W.list().forEach(([oe,J])=>fe?J(fe):oe()),W.reset()),fe}function xe(fe,oe,J,K){const{scrollBehavior:q}=n;if(!xg||!q)return Promise.resolve();const ue=!J&&eye($R(fe.fullPath,0))||(K||!J)&&history.state&&history.state.scroll||null;return Hs().then(()=>q(fe,oe,ue)).then(te=>te&&Q5e(te)).catch(te=>Y(te,fe,oe))}const X=fe=>i.go(fe);let Q;const he=new Set,me={currentRoute:l,listening:!0,addRoute:g,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:C,getRoutes:v,resolve:A,options:n,push:E,replace:I,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:D.add,isReady:ie,install(fe){const oe=this;fe.component("RouterLink",fee),fe.component("RouterView",wye),fe.config.globalProperties.$router=oe,Object.defineProperty(fe.config.globalProperties,"$route",{enumerable:!0,get:()=>ye(l)}),xg&&!Q&&l.value===eh&&(Q=!0,E(i.location).catch(q=>{}));const J={};for(const q in eh)Object.defineProperty(J,q,{get:()=>l.value[q],enumerable:!0});fe.provide(Jb,oe),fe.provide(tM,Lb(J)),fe.provide(lx,l);const K=fe.unmount;he.add(fe),fe.unmount=function(){he.delete(fe),he.size<1&&(c=eh,H&&H(),H=null,l.value=eh,Q=!1,R=!1),K()}}};function _e(fe){return fe.reduce((oe,J)=>oe.then(()=>_(J)),Promise.resolve())}return me}function Tye(n,e){const t=[],r=[],i=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;oM2(c,a))?r.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>M2(c,l))||i.push(l))}return[t,r,i]}function m0(){return Li(Jb)}function uA(n){return Li(tM)}const xye="modulepreload",_ye=function(n,e){return new URL(n,e).href},KR={},wl=function(e,t,r){let i=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");i=Promise.allSettled(t.map(c=>{if(c=_ye(c,r),c in KR)return;KR[c]=!0;const u=c.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(!!r)for(let f=o.length-1;f>=0;f--){const v=o[f];if(v.href===c&&(!u||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${h}`))return;const g=document.createElement("link");if(g.rel=u?"stylesheet":xye,u||(g.as="script"),g.crossOrigin="",g.href=c,l&&g.setAttribute("nonce",l),document.head.appendChild(g),u)return new Promise((f,v)=>{g.addEventListener("load",f),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})},Pye=["top","right","bottom","left"],qR=["start","end"],YR=Pye.reduce((n,e)=>n.concat(e,e+"-"+qR[0],e+"-"+qR[1]),[]),dC=Math.min,tf=Math.max,Oye={left:"right",right:"left",bottom:"top",top:"bottom"},Mye={start:"end",end:"start"};function cx(n,e,t){return tf(n,dC(e,t))}function sp(n,e){return typeof n=="function"?n(e):n}function _u(n){return n.split("-")[0]}function Lc(n){return n.split("-")[1]}function pee(n){return n==="x"?"y":"x"}function rM(n){return n==="y"?"height":"width"}function Vf(n){return["top","bottom"].includes(_u(n))?"y":"x"}function nM(n){return pee(Vf(n))}function gee(n,e,t){t===void 0&&(t=!1);const r=Lc(n),i=nM(n),s=rM(i);let o=i==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(o=v3(o)),[o,v3(o)]}function kye(n){const e=v3(n);return[g3(n),e,g3(e)]}function g3(n){return n.replace(/start|end/g,e=>Mye[e])}function $ye(n,e,t){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(n){case"top":case"bottom":return t?e?i:r:e?r:i;case"left":case"right":return e?s:o;default:return[]}}function Lye(n,e,t,r){const i=Lc(n);let s=$ye(_u(n),t==="start",r);return i&&(s=s.map(o=>o+"-"+i),e&&(s=s.concat(s.map(g3)))),s}function v3(n){return n.replace(/left|right|bottom|top/g,e=>Oye[e])}function Nye(n){return{top:0,right:0,bottom:0,left:0,...n}}function vee(n){return typeof n!="number"?Nye(n):{top:n,right:n,bottom:n,left:n}}function Cm(n){const{x:e,y:t,width:r,height:i}=n;return{width:r,height:i,top:t,left:e,right:e+r,bottom:t+i,x:e,y:t}}function XR(n,e,t){let{reference:r,floating:i}=n;const s=Vf(e),o=nM(e),a=rM(o),l=_u(e),c=s==="y",u=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let g;switch(l){case"top":g={x:u,y:r.y-i.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:h};break;case"left":g={x:r.x-i.width,y:h};break;default:g={x:r.x,y:r.y}}switch(Lc(e)){case"start":g[o]-=d*(t&&c?-1:1);break;case"end":g[o]+=d*(t&&c?-1:1);break}return g}const Dye=async(n,e,t)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=t,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:n,floating:e,strategy:i}),{x:u,y:h}=XR(c,r,l),d=r,g={},f=0;for(let v=0;v({name:"arrow",options:n,async fn(e){const{x:t,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=sp(n,e)||{};if(c==null)return{};const h=vee(u),d={x:t,y:r},g=nM(i),f=rM(g),v=await o.getDimensions(c),C=g==="y",A=C?"top":"left",b=C?"bottom":"right",m=C?"clientHeight":"clientWidth",E=s.reference[f]+s.reference[g]-d[g]-s.floating[f],I=d[g]-s.reference[g],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let T=S?S[m]:0;(!T||!await(o.isElement==null?void 0:o.isElement(S)))&&(T=a.floating[m]||s.floating[f]);const P=E/2-I/2,_=T/2-v[f]/2-1,$=dC(h[A],_),B=dC(h[b],_),U=$,H=T-v[f]-B,N=T/2-v[f]/2+P,W=cx(U,N,H),D=!l.arrow&&Lc(i)!=null&&N!==W&&s.reference[f]/2-(NLc(i)===n),...t.filter(i=>Lc(i)!==n)]:t.filter(i=>_u(i)===i)).filter(i=>n?Lc(i)===n||(e?g3(i)!==i:!1):!0)}const Vye=function(n){return n===void 0&&(n={}),{name:"autoPlacement",options:n,async fn(e){var t,r,i;const{rects:s,middlewareData:o,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:d=YR,autoAlignment:g=!0,...f}=sp(n,e),v=h!==void 0||d===YR?Rye(h||null,g,d):d,C=await e9(e,f),A=((t=o.autoPlacement)==null?void 0:t.index)||0,b=v[A];if(b==null)return{};const m=gee(b,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==b)return{reset:{placement:v[0]}};const E=[C[_u(b)],C[m[0]],C[m[1]]],I=[...((r=o.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:E}],S=v[A+1];if(S)return{data:{index:A+1,overflows:I},reset:{placement:S}};const T=I.map($=>{const B=Lc($.placement);return[$.placement,B&&u?$.overflows.slice(0,2).reduce((U,H)=>U+H,0):$.overflows[0],$.overflows]}).sort(($,B)=>$[1]-B[1]),_=((i=T.filter($=>$[2].slice(0,Lc($[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||T[0][0];return _!==a?{data:{index:A+1,overflows:I},reset:{placement:_}}:{}}}},Hye=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(e){var t,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...C}=sp(n,e);if((t=s.arrow)!=null&&t.alignmentOffset)return{};const A=_u(i),b=Vf(a),m=_u(a)===a,E=await(l.isRTL==null?void 0:l.isRTL(c.floating)),I=d||(m||!v?[v3(a)]:kye(a)),S=f!=="none";!d&&S&&I.push(...Lye(a,v,f,E));const T=[a,...I],P=await e9(e,C),_=[];let $=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&_.push(P[A]),h){const N=gee(i,o,E);_.push(P[N[0]],P[N[1]])}if($=[...$,{placement:i,overflows:_}],!_.every(N=>N<=0)){var B,U;const N=(((B=s.flip)==null?void 0:B.index)||0)+1,W=T[N];if(W)return{data:{index:N,overflows:$},reset:{placement:W}};let D=(U=$.filter(R=>R.overflows[0]<=0).sort((R,Y)=>R.overflows[1]-Y.overflows[1])[0])==null?void 0:U.placement;if(!D)switch(g){case"bestFit":{var H;const R=(H=$.filter(Y=>{if(S){const ie=Vf(Y.placement);return ie===b||ie==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(ie=>ie>0).reduce((ie,de)=>ie+de,0)]).sort((Y,ie)=>Y[1]-ie[1])[0])==null?void 0:H[0];R&&(D=R);break}case"initialPlacement":D=a;break}if(i!==D)return{reset:{placement:D}}}return{}}}};async function Bye(n,e){const{placement:t,platform:r,elements:i}=n,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=_u(t),a=Lc(t),l=Vf(t)==="y",c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,h=sp(e,n);let{mainAxis:d,crossAxis:g,alignmentAxis:f}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof f=="number"&&(g=a==="end"?f*-1:f),l?{x:g*u,y:d*c}:{x:d*c,y:g*u}}const jye=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(e){var t,r;const{x:i,y:s,placement:o,middlewareData:a}=e,l=await Bye(e,n);return o===((t=a.offset)==null?void 0:t.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},Fye=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(e){const{x:t,y:r,placement:i}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:C=>{let{x:A,y:b}=C;return{x:A,y:b}}},...l}=sp(n,e),c={x:t,y:r},u=await e9(e,l),h=Vf(_u(i)),d=pee(h);let g=c[d],f=c[h];if(s){const C=d==="y"?"top":"left",A=d==="y"?"bottom":"right",b=g+u[C],m=g-u[A];g=cx(b,g,m)}if(o){const C=h==="y"?"top":"left",A=h==="y"?"bottom":"right",b=f+u[C],m=f-u[A];f=cx(b,f,m)}const v=a.fn({...e,[d]:g,[h]:f});return{...v,data:{x:v.x-t,y:v.y-r,enabled:{[d]:s,[h]:o}}}}}},Uye=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(e){var t,r;const{placement:i,rects:s,platform:o,elements:a}=e,{apply:l=()=>{},...c}=sp(n,e),u=await e9(e,c),h=_u(i),d=Lc(i),g=Vf(i)==="y",{width:f,height:v}=s.floating;let C,A;h==="top"||h==="bottom"?(C=h,A=d===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(A=h,C=d==="end"?"top":"bottom");const b=v-u.top-u.bottom,m=f-u.left-u.right,E=dC(v-u[C],b),I=dC(f-u[A],m),S=!e.middlewareData.shift;let T=E,P=I;if((t=e.middlewareData.shift)!=null&&t.enabled.x&&(P=m),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(T=b),S&&!d){const $=tf(u.left,0),B=tf(u.right,0),U=tf(u.top,0),H=tf(u.bottom,0);g?P=f-2*($!==0||B!==0?$+B:tf(u.left,u.right)):T=v-2*(U!==0||H!==0?U+H:tf(u.top,u.bottom))}await l({...e,availableWidth:P,availableHeight:T});const _=await o.getDimensions(a.floating);return f!==_.width||v!==_.height?{reset:{rects:!0}}:{}}}};function rc(n){var e;return((e=n.ownerDocument)==null?void 0:e.defaultView)||window}function vu(n){return rc(n).getComputedStyle(n)}const ZR=Math.min,Am=Math.max,m3=Math.round;function mee(n){const e=vu(n);let t=parseFloat(e.width),r=parseFloat(e.height);const i=n.offsetWidth,s=n.offsetHeight,o=m3(t)!==i||m3(r)!==s;return o&&(t=i,r=s),{width:t,height:r,fallback:o}}function Jh(n){return Aee(n)?(n.nodeName||"").toLowerCase():""}let P5;function Cee(){if(P5)return P5;const n=navigator.userAgentData;return n&&Array.isArray(n.brands)?(P5=n.brands.map(e=>e.brand+"/"+e.version).join(" "),P5):navigator.userAgent}function mu(n){return n instanceof rc(n).HTMLElement}function kh(n){return n instanceof rc(n).Element}function Aee(n){return n instanceof rc(n).Node}function QR(n){return typeof ShadowRoot>"u"?!1:n instanceof rc(n).ShadowRoot||n instanceof ShadowRoot}function t9(n){const{overflow:e,overflowX:t,overflowY:r,display:i}=vu(n);return/auto|scroll|overlay|hidden|clip/.test(e+r+t)&&!["inline","contents"].includes(i)}function Wye(n){return["table","td","th"].includes(Jh(n))}function ux(n){const e=/firefox/i.test(Cee()),t=vu(n),r=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!r&&r!=="none"||e&&t.willChange==="filter"||e&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(i=>t.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const s=t.contain;return s!=null&&s.includes(i)})}function Iee(){return!/^((?!chrome|android).)*safari/i.test(Cee())}function iM(n){return["html","body","#document"].includes(Jh(n))}function yee(n){return kh(n)?n:n.contextElement}const bee={x:1,y:1};function l2(n){const e=yee(n);if(!mu(e))return bee;const t=e.getBoundingClientRect(),{width:r,height:i,fallback:s}=mee(e);let o=(s?m3(t.width):t.width)/r,a=(s?m3(t.height):t.height)/i;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}function fC(n,e,t,r){var i,s;e===void 0&&(e=!1),t===void 0&&(t=!1);const o=n.getBoundingClientRect(),a=yee(n);let l=bee;e&&(r?kh(r)&&(l=l2(r)):l=l2(n));const c=a?rc(a):window,u=!Iee()&&t;let h=(o.left+(u&&((i=c.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,d=(o.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,g=o.width/l.x,f=o.height/l.y;if(a){const v=rc(a),C=r&&kh(r)?rc(r):r;let A=v.frameElement;for(;A&&r&&C!==v;){const b=l2(A),m=A.getBoundingClientRect(),E=getComputedStyle(A);m.x+=(A.clientLeft+parseFloat(E.paddingLeft))*b.x,m.y+=(A.clientTop+parseFloat(E.paddingTop))*b.y,h*=b.x,d*=b.y,g*=b.x,f*=b.y,h+=m.x,d+=m.y,A=rc(A).frameElement}}return{width:g,height:f,top:d,right:h+g,bottom:d+f,left:h,x:h,y:d}}function $h(n){return((Aee(n)?n.ownerDocument:n.document)||window.document).documentElement}function r9(n){return kh(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Eee(n){return fC($h(n)).left+r9(n).scrollLeft}function pC(n){if(Jh(n)==="html")return n;const e=n.assignedSlot||n.parentNode||QR(n)&&n.host||$h(n);return QR(e)?e.host:e}function wee(n){const e=pC(n);return iM(e)?e.ownerDocument.body:mu(e)&&t9(e)?e:wee(e)}function C3(n,e){var t;e===void 0&&(e=[]);const r=wee(n),i=r===((t=n.ownerDocument)==null?void 0:t.body),s=rc(r);return i?e.concat(s,s.visualViewport||[],t9(r)?r:[]):e.concat(r,C3(r))}function JR(n,e,t){return e==="viewport"?Cm(function(r,i){const s=rc(r),o=$h(r),a=s.visualViewport;let l=o.clientWidth,c=o.clientHeight,u=0,h=0;if(a){l=a.width,c=a.height;const d=Iee();(d||!d&&i==="fixed")&&(u=a.offsetLeft,h=a.offsetTop)}return{width:l,height:c,x:u,y:h}}(n,t)):kh(e)?Cm(function(r,i){const s=fC(r,!0,i==="fixed"),o=s.top+r.clientTop,a=s.left+r.clientLeft,l=mu(r)?l2(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:o*l.y}}(e,t)):Cm(function(r){const i=$h(r),s=r9(r),o=r.ownerDocument.body,a=Am(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),l=Am(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight);let c=-s.scrollLeft+Eee(r);const u=-s.scrollTop;return vu(o).direction==="rtl"&&(c+=Am(i.clientWidth,o.clientWidth)-a),{width:a,height:l,x:c,y:u}}($h(n)))}function eV(n){return mu(n)&&vu(n).position!=="fixed"?n.offsetParent:null}function tV(n){const e=rc(n);let t=eV(n);for(;t&&Wye(t)&&vu(t).position==="static";)t=eV(t);return t&&(Jh(t)==="html"||Jh(t)==="body"&&vu(t).position==="static"&&!ux(t))?e:t||function(r){let i=pC(r);for(;mu(i)&&!iM(i);){if(ux(i))return i;i=pC(i)}return null}(n)||e}function Gye(n,e,t){const r=mu(e),i=$h(e),s=fC(n,!0,t==="fixed",e);let o={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&t!=="fixed")if((Jh(e)!=="body"||t9(i))&&(o=r9(e)),mu(e)){const l=fC(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else i&&(a.x=Eee(i));return{x:s.left+o.scrollLeft-a.x,y:s.top+o.scrollTop-a.y,width:s.width,height:s.height}}const Kye={getClippingRect:function(n){let{element:e,boundary:t,rootBoundary:r,strategy:i}=n;const s=t==="clippingAncestors"?function(c,u){const h=u.get(c);if(h)return h;let d=C3(c).filter(C=>kh(C)&&Jh(C)!=="body"),g=null;const f=vu(c).position==="fixed";let v=f?pC(c):c;for(;kh(v)&&!iM(v);){const C=vu(v),A=ux(v);(f?A||g:A||C.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=C:d=d.filter(b=>b!==v),v=pC(v)}return u.set(c,d),d}(e,this._c):[].concat(t),o=[...s,r],a=o[0],l=o.reduce((c,u)=>{const h=JR(e,u,i);return c.top=Am(h.top,c.top),c.right=ZR(h.right,c.right),c.bottom=ZR(h.bottom,c.bottom),c.left=Am(h.left,c.left),c},JR(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(n){let{rect:e,offsetParent:t,strategy:r}=n;const i=mu(t),s=$h(t);if(t===s)return e;let o={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((Jh(t)!=="body"||t9(s))&&(o=r9(t)),mu(t))){const c=fC(t);a=l2(t),l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-o.scrollLeft*a.x+l.x,y:e.y*a.y-o.scrollTop*a.y+l.y}},isElement:kh,getDimensions:function(n){return mu(n)?mee(n):n.getBoundingClientRect()},getOffsetParent:tV,getDocumentElement:$h,getScale:l2,async getElementRects(n){let{reference:e,floating:t,strategy:r}=n;const i=this.getOffsetParent||tV,s=this.getDimensions;return{reference:Gye(e,await i(t),r),floating:{x:0,y:0,...await s(t)}}},getClientRects:n=>Array.from(n.getClientRects()),isRTL:n=>vu(n).direction==="rtl"},qye=(n,e,t)=>{const r=new Map,i={platform:Kye,...t},s={...i.platform,_c:r};return Dye(n,e,{...i,platform:s})},If={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:n=>[...n,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function gC(n,e){let t=If.themes[n]||{},r;do r=t[e],typeof r>"u"?t.$extend?t=If.themes[t.$extend]||{}:(t=null,r=If[e]):t=null;while(t);return r}function Yye(n){const e=[n];let t=If.themes[n]||{};do t.$extend&&!t.$resetCss?(e.push(t.$extend),t=If.themes[t.$extend]||{}):t=null;while(t);return e.map(r=>`v-popper--theme-${r}`)}function rV(n){const e=[n];let t=If.themes[n]||{};do t.$extend?(e.push(t.$extend),t=If.themes[t.$extend]||{}):t=null;while(t);return e}let $2=!1;if(typeof window<"u"){$2=!1;try{const n=Object.defineProperty({},"passive",{get(){$2=!0}});window.addEventListener("test",null,n)}catch{}}let See=!1;typeof window<"u"&&typeof navigator<"u"&&(See=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tee=["auto","top","bottom","left","right"].reduce((n,e)=>n.concat([e,`${e}-start`,`${e}-end`]),[]),nV={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},iV={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function sV(n,e){const t=n.indexOf(e);t!==-1&&n.splice(t,1)}function m7(){return new Promise(n=>requestAnimationFrame(()=>{requestAnimationFrame(n)}))}const Tc=[];let qd=null;const oV={};function aV(n){let e=oV[n];return e||(e=oV[n]=[]),e}let hx=function(){};typeof window<"u"&&(hx=window.Element);function fi(n){return function(e){return gC(e.theme,n)}}const C7="__floating-vue__popper",xee=()=>Ft({name:"VPopper",provide(){return{[C7]:{parentPopper:this}}},inject:{[C7]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:fi("disabled")},positioningDisabled:{type:Boolean,default:fi("positioningDisabled")},placement:{type:String,default:fi("placement"),validator:n=>Tee.includes(n)},delay:{type:[String,Number,Object],default:fi("delay")},distance:{type:[Number,String],default:fi("distance")},skidding:{type:[Number,String],default:fi("skidding")},triggers:{type:Array,default:fi("triggers")},showTriggers:{type:[Array,Function],default:fi("showTriggers")},hideTriggers:{type:[Array,Function],default:fi("hideTriggers")},popperTriggers:{type:Array,default:fi("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:fi("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:fi("popperHideTriggers")},container:{type:[String,Object,hx,Boolean],default:fi("container")},boundary:{type:[String,hx],default:fi("boundary")},strategy:{type:String,validator:n=>["absolute","fixed"].includes(n),default:fi("strategy")},autoHide:{type:[Boolean,Function],default:fi("autoHide")},handleResize:{type:Boolean,default:fi("handleResize")},instantMove:{type:Boolean,default:fi("instantMove")},eagerMount:{type:Boolean,default:fi("eagerMount")},popperClass:{type:[String,Array,Object],default:fi("popperClass")},computeTransformOrigin:{type:Boolean,default:fi("computeTransformOrigin")},autoMinSize:{type:Boolean,default:fi("autoMinSize")},autoSize:{type:[Boolean,String],default:fi("autoSize")},autoMaxSize:{type:Boolean,default:fi("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:fi("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:fi("preventOverflow")},overflowPadding:{type:[Number,String],default:fi("overflowPadding")},arrowPadding:{type:[Number,String],default:fi("arrowPadding")},arrowOverflow:{type:Boolean,default:fi("arrowOverflow")},flip:{type:Boolean,default:fi("flip")},shift:{type:Boolean,default:fi("shift")},shiftCrossAxis:{type:Boolean,default:fi("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:fi("noAutoFocus")},disposeTimeout:{type:Number,default:fi("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":n=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(n=>n.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var n;return(n=this[C7])==null?void 0:n.parentPopper},hasPopperShowTriggerHover(){var n,e;return((n=this.popperTriggers)==null?void 0:n.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(n){n?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((n,e)=>(n[e]="$_computePosition",n),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:n=null,skipDelay:e=!1,force:t=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(t||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(n,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:n=null,skipDelay:e=!1}={}){var t;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((t=this.parentPopper)==null?void 0:t.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(n,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var n;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((n=this.referenceNode)==null?void 0:n.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const n={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&n.middleware.push(jye({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?n.middleware.push(Vye({alignment:this.placement.split("-")[1]??""})):n.placement=this.placement,this.preventOverflow&&(this.shift&&n.middleware.push(Fye({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&n.middleware.push(Hye({padding:this.overflowPadding,boundary:this.boundary}))),n.middleware.push(zye({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&n.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:s})=>{let o;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?o=Math.abs(a)>i.reference.width/2:o=Math.abs(a)>i.reference.height/2,{data:{overflow:o}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;n.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:o})=>{var a;if((a=o.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.startsWith("bottom")?l=i.reference.width:c=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,n.middleware.push(Uye({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const t=await qye(this.$_referenceNode,this.$_popperNode,n);Object.assign(this.result,{x:t.x,y:t.y,placement:t.placement,strategy:t.strategy,arrow:{...t.middlewareData.arrow,...t.middlewareData.arrowOverflow}})},$_scheduleShow(n,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),qd&&this.instantMove&&qd.instantMove&&qd!==this.parentPopper){qd.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(n,e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(qd=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(n){const e=this.delay;return parseInt(e&&e[n]||e||0)},async $_applyShow(n=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=n,!this.isShown&&(this.$_ensureTeleport(),await m7(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...C3(this.$_referenceNode),...C3(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),r=t.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(r.left+t.offsetLeft),s=e.y+e.height/2-(r.top+t.offsetTop);this.result.transformOrigin=`${i}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const n=this.showGroup;if(n){let e;for(let t=0;t0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=n,sV(Tc,this),Tc.length===0&&document.body.classList.remove("v-popper--some-open");for(const t of rV(this.theme)){const r=aV(t);sV(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${t}`)}qd===this&&(qd=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await m7(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let n=this.container;if(typeof n=="string"?n=window.document.querySelector(n):n===!1&&(n=this.$_targetNodes[0].parentNode),!n)throw new Error("No container for popover: "+this.container);n.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const n=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,nV,this.triggers,this.showTriggers,n),this.$_registerTriggerListeners([this.$_popperNode],nV,this.popperTriggers,this.popperShowTriggers,n);const e=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,iV,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],iV,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(n,e,t){this.$_events.push({targetNodes:n,eventType:e,handler:t}),n.forEach(r=>r.addEventListener(e,t,$2?{passive:!0}:void 0))},$_registerTriggerListeners(n,e,t,r,i){let s=t;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(o=>{const a=e[o];a&&this.$_registerEventListeners(n,a,i)})},$_removeEventListeners(n){const e=[];this.$_events.forEach(t=>{const{targetNodes:r,eventType:i,handler:s}=t;!n||n===i?r.forEach(o=>o.removeEventListener(i,s)):e.push(t)}),this.$_events=e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(n,e=!1){this.$_showFrameLocked||(this.hide({event:n}),n.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(n,e){for(const t of this.$_targetNodes){const r=t.getAttribute(n);r&&(t.removeAttribute(n),t.setAttribute(e,r))}},$_applyAttrsToTarget(n){for(const e of this.$_targetNodes)for(const t in n){const r=n[t];r==null?e.removeAttribute(t):e.setAttribute(t,r)}},$_updateParentShownChildren(n){let e=this.parentPopper;for(;e;)n?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const n=this.$_referenceNode.getBoundingClientRect();if(Im>=n.left&&Im<=n.right&&ym>=n.top&&ym<=n.bottom){const e=this.$_popperNode.getBoundingClientRect(),t=Im-nh,r=ym-ih,i=e.left+e.width/2-nh+(e.top+e.height/2)-ih+e.width+e.height,s=nh+t*i,o=ih+r*i;return O5(nh,ih,s,o,e.left,e.top,e.left,e.bottom)||O5(nh,ih,s,o,e.left,e.top,e.right,e.top)||O5(nh,ih,s,o,e.right,e.top,e.right,e.bottom)||O5(nh,ih,s,o,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(See){const n=$2?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>lV(e),n),document.addEventListener("touchend",e=>cV(e,!0),n)}else window.addEventListener("mousedown",n=>lV(n),!0),window.addEventListener("click",n=>cV(n,!1),!0);window.addEventListener("resize",Qye)}function lV(n,e){for(let t=0;t=0;r--){const i=Tc[r];try{const s=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(n.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!t[i.randomId]&&uV(i,s,n)){if(i.$_handleGlobalClose(n,e),!n.closeAllPopover&&n.closePopover&&s){let a=i.parentPopper;for(;a;)t[a.randomId]=!0,a=a.parentPopper;return}let o=i.parentPopper;for(;o&&uV(o,o.containsGlobalTarget,n);)o.$_handleGlobalClose(n,e),o=o.parentPopper}})}catch{}}}function uV(n,e,t){return t.closeAllPopover||t.closePopover&&e||Zye(n,t)&&!e}function Zye(n,e){if(typeof n.autoHide=="function"){const t=n.autoHide(e);return n.lastAutoHide=t,t}return n.autoHide}function Qye(){for(let n=0;n{nh=Im,ih=ym,Im=n.clientX,ym=n.clientY},$2?{passive:!0}:void 0);function O5(n,e,t,r,i,s,o,a){const l=((o-i)*(e-s)-(a-s)*(n-i))/((a-s)*(t-n)-(o-i)*(r-e)),c=((t-n)*(e-s)-(r-e)*(n-i))/((a-s)*(t-n)-(o-i)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const Jye={extends:xee()},n9=(n,e)=>{const t=n.__vccOpts||n;for(const[r,i]of e)t[r]=i;return t};function e4e(n,e,t,r,i,s){return Ve(),Xe("div",{ref:"reference",class:Ar(["v-popper",{"v-popper--shown":n.slotData.isShown}])},[pn(n.$slots,"default",_b(iA(n.slotData)))],2)}const t4e=n9(Jye,[["render",e4e]]);function r4e(){var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);var t=n.indexOf("Trident/");if(t>0){var r=n.indexOf("rv:");return parseInt(n.substring(r+3,n.indexOf(".",r)),10)}var i=n.indexOf("Edge/");return i>0?parseInt(n.substring(i+5,n.indexOf(".",i)),10):-1}let s4;function dx(){dx.init||(dx.init=!0,s4=r4e()!==-1)}var i9={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){dx(),Hs(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const n=document.createElement("object");this._resizeObject=n,n.setAttribute("aria-hidden","true"),n.setAttribute("tabindex",-1),n.onload=this.addResizeHandlers,n.type="text/html",s4&&this.$el.appendChild(n),n.data="about:blank",s4||this.$el.appendChild(n)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!s4&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const n4e=mO();gO("data-v-b329ee4c");const i4e={class:"resize-observer",tabindex:"-1"};vO();const s4e=n4e((n,e,t,r,i,s)=>(Ve(),Nt("div",i4e)));i9.render=s4e;i9.__scopeId="data-v-b329ee4c";i9.__file="src/components/ResizeObserver.vue";const _ee=(n="theme")=>({computed:{themeClass(){return Yye(this[n])}}}),o4e=Ft({name:"VPopperContent",components:{ResizeObserver:i9},mixins:[_ee()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(n){return n!=null&&!isNaN(n)?`${n}px`:null}}}),a4e=["id","aria-hidden","tabindex","data-popper-placement"],l4e={ref:"inner",class:"v-popper__inner"},c4e=Pe("div",{class:"v-popper__arrow-outer"},null,-1),u4e=Pe("div",{class:"v-popper__arrow-inner"},null,-1),h4e=[c4e,u4e];function d4e(n,e,t,r,i,s){const o=hc("ResizeObserver");return Ve(),Xe("div",{id:n.popperId,ref:"popover",class:Ar(["v-popper__popper",[n.themeClass,n.classes.popperClass,{"v-popper__popper--shown":n.shown,"v-popper__popper--hidden":!n.shown,"v-popper__popper--show-from":n.classes.showFrom,"v-popper__popper--show-to":n.classes.showTo,"v-popper__popper--hide-from":n.classes.hideFrom,"v-popper__popper--hide-to":n.classes.hideTo,"v-popper__popper--skip-transition":n.skipTransition,"v-popper__popper--arrow-overflow":n.result&&n.result.arrow.overflow,"v-popper__popper--no-positioning":!n.result}]]),style:Ys(n.result?{position:n.result.strategy,transform:`translate3d(${Math.round(n.result.x)}px,${Math.round(n.result.y)}px,0)`}:void 0),"aria-hidden":n.shown?"false":"true",tabindex:n.autoHide?0:void 0,"data-popper-placement":n.result?n.result.placement:void 0,onKeyup:e[2]||(e[2]=RO(a=>n.autoHide&&n.$emit("hide"),["esc"]))},[Pe("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>n.autoHide&&n.$emit("hide"))}),Pe("div",{class:"v-popper__wrapper",style:Ys(n.result?{transformOrigin:n.result.transformOrigin}:void 0)},[Pe("div",l4e,[n.mounted?(Ve(),Xe(ur,{key:0},[Pe("div",null,[pn(n.$slots,"default")]),n.handleResize?(Ve(),Nt(o,{key:0,onNotify:e[1]||(e[1]=a=>n.$emit("resize",a))})):Rt("",!0)],64)):Rt("",!0)],512),Pe("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ys(n.result?{left:n.toPx(n.result.arrow.x),top:n.toPx(n.result.arrow.y)}:void 0)},h4e,4)],4)],46,a4e)}const Pee=n9(o4e,[["render",d4e]]),Oee={methods:{show(...n){return this.$refs.popper.show(...n)},hide(...n){return this.$refs.popper.hide(...n)},dispose(...n){return this.$refs.popper.dispose(...n)},onResize(...n){return this.$refs.popper.onResize(...n)}}};let fx=function(){};typeof window<"u"&&(fx=window.Element);const f4e=Ft({name:"VPopperWrapper",components:{Popper:t4e,PopperContent:Pee},mixins:[Oee,_ee("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,fx,Boolean],default:void 0},boundary:{type:[String,fx],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":n=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(n=>n!==this.$refs.popperContent.$el)}}});function p4e(n,e,t,r,i,s){const o=hc("PopperContent"),a=hc("Popper");return Ve(),Nt(a,vo({ref:"popper"},n.$props,{theme:n.finalTheme,"target-nodes":n.getTargetNodes,"popper-node":()=>n.$refs.popperContent.$el,class:[n.themeClass],onShow:e[0]||(e[0]=()=>n.$emit("show")),onHide:e[1]||(e[1]=()=>n.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=l=>n.$emit("update:shown",l)),onApplyShow:e[3]||(e[3]=()=>n.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>n.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>n.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>n.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>n.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>n.$emit("resize"))}),{default:At(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:h,autoHide:d,show:g,hide:f,handleResize:v,onResize:C,classes:A,result:b})=>[pn(n.$slots,"default",{shown:c,show:g,hide:f}),it(o,{ref:"popperContent","popper-id":l,theme:n.finalTheme,shown:c,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:A,result:b,onHide:f,onResize:C},{default:At(()=>[pn(n.$slots,"popper",{shown:c,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const sM=n9(f4e,[["render",p4e]]),g4e={...sM,name:"VDropdown",vPopperTheme:"dropdown"};({...sM});const v4e={...sM,name:"VTooltip",vPopperTheme:"tooltip"},m4e=Ft({name:"VTooltipDirective",components:{Popper:xee(),PopperContent:Pee},mixins:[Oee],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:n=>gC(n.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:n=>gC(n.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(n){if(typeof this.content=="function"&&this.$_isShown&&(n||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,t=this.content(this);t.then?t.then(r=>this.onResult(e,r)):this.onResult(e,t)}},onResult(n,e){n===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),C4e=["innerHTML"],A4e=["textContent"];function I4e(n,e,t,r,i,s){const o=hc("PopperContent"),a=hc("Popper");return Ve(),Nt(a,vo({ref:"popper"},n.$attrs,{theme:n.theme,"target-nodes":n.targetNodes,"popper-node":()=>n.$refs.popperContent.$el,onApplyShow:n.onShow,onApplyHide:n.onHide}),{default:At(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:h,autoHide:d,hide:g,handleResize:f,onResize:v,classes:C,result:A})=>[it(o,{ref:"popperContent",class:Ar({"v-popper--tooltip-loading":n.loading}),"popper-id":l,theme:n.theme,shown:c,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":f,classes:C,result:A,onHide:g,onResize:v},{default:At(()=>[n.html?(Ve(),Xe("div",{key:0,innerHTML:n.finalContent},null,8,C4e)):(Ve(),Xe("div",{key:1,textContent:gr(n.finalContent)},null,8,A4e))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const y4e=n9(m4e,[["render",I4e]]),Mee="v-popper--has-tooltip";function b4e(n,e){let t=n.placement;if(!t&&e)for(const r of Tee)e[r]&&(t=r);return t||(t=gC(n.theme||"tooltip","placement")),t}function kee(n,e,t){let r;const i=typeof e;return i==="string"?r={content:e}:e&&i==="object"?r=e:r={content:!1},r.placement=b4e(r,t),r.targetNodes=()=>[n],r.referenceNode=()=>n,r}let A7,vC,E4e=0;function w4e(){if(A7)return;vC=Ct([]),A7=rC({name:"VTooltipDirectiveApp",setup(){return{directives:vC}},render(){return this.directives.map(e=>cd(y4e,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const n=document.createElement("div");document.body.appendChild(n),A7.mount(n)}function S4e(n,e,t){w4e();const r=Ct(kee(n,e,t)),i=Ct(!1),s={id:E4e++,options:r,shown:i};return vC.value.push(s),n.classList&&n.classList.add(Mee),n.$_popper={options:r,item:s,show(){i.value=!0},hide(){i.value=!1}}}function $ee(n){if(n.$_popper){const e=vC.value.indexOf(n.$_popper.item);e!==-1&&vC.value.splice(e,1),delete n.$_popper,delete n.$_popperOldShown,delete n.$_popperMountTarget}n.classList&&n.classList.remove(Mee)}function hV(n,{value:e,modifiers:t}){const r=kee(n,e,t);if(!r.content||gC(r.theme||"tooltip","disabled"))$ee(n);else{let i;n.$_popper?(i=n.$_popper,i.options.value=r):i=S4e(n,e,t),typeof e.shown<"u"&&e.shown!==n.$_popperOldShown&&(n.$_popperOldShown=e.shown,e.shown?i.show():i.hide())}}const T4e={beforeMount:hV,updated:hV,beforeUnmount(n){$ee(n)}};function dV(n){n.addEventListener("mousedown",A3),n.addEventListener("click",A3),n.addEventListener("touchstart",Lee,$2?{passive:!0}:!1)}function fV(n){n.removeEventListener("mousedown",A3),n.removeEventListener("click",A3),n.removeEventListener("touchstart",Lee),n.removeEventListener("touchend",Nee),n.removeEventListener("touchcancel",Dee)}function A3(n){const e=n.currentTarget;n.closePopover=!e.$_vclosepopover_touch,n.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Lee(n){if(n.changedTouches.length===1){const e=n.currentTarget;e.$_vclosepopover_touch=!0;const t=n.changedTouches[0];e.$_vclosepopover_touchPoint=t,e.addEventListener("touchend",Nee),e.addEventListener("touchcancel",Dee)}}function Nee(n){const e=n.currentTarget;if(e.$_vclosepopover_touch=!1,n.changedTouches.length===1){const t=n.changedTouches[0],r=e.$_vclosepopover_touchPoint;n.closePopover=Math.abs(t.screenY-r.screenY)<20&&Math.abs(t.screenX-r.screenX)<20,n.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Dee(n){const e=n.currentTarget;e.$_vclosepopover_touch=!1}const x4e={beforeMount(n,{value:e,modifiers:t}){n.$_closePopoverModifiers=t,(typeof e>"u"||e)&&dV(n)},updated(n,{value:e,oldValue:t,modifiers:r}){n.$_closePopoverModifiers=r,e!==t&&(typeof e>"u"||e?dV(n):fV(n))},beforeUnmount(n){fV(n)}},Ni=T4e,zee=x4e,_4e=g4e,P4e=v4e;function Pu(n){return Ob()?(lO(n),!0):!1}const I7=new WeakMap,O4e=(...n)=>{var e;const t=n[0],r=(e=So())==null?void 0:e.proxy;if(r==null&&!PO())throw new Error("injectLocal must be called in setup");return r&&I7.has(r)&&t in I7.get(r)?I7.get(r)[t]:Li(...n)};function M4e(n,e,{enumerable:t=!1,unwrap:r=!0}={}){for(const[i,s]of Object.entries(e))i!=="value"&&(fn(s)&&r?Object.defineProperty(n,i,{get(){return s.value},set(o){s.value=o},enumerable:t}):Object.defineProperty(n,i,{value:s,enumerable:t}));return n}function k4e(n){if(!fn(n))return zc(n);const e=new Proxy({},{get(t,r,i){return ye(Reflect.get(n.value,r,i))},set(t,r,i){return fn(n.value[r])&&!fn(i)?n.value[r].value=i:n.value[r]=i,!0},deleteProperty(t,r){return Reflect.deleteProperty(n.value,r)},has(t,r){return Reflect.has(n.value,r)},ownKeys(){return Object.keys(n.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return zc(e)}const Hf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $4e=n=>typeof n<"u",Ree=n=>n!=null,L4e=Object.prototype.toString,N4e=n=>L4e.call(n)==="[object Object]",Ol=()=>{},px=D4e();function D4e(){var n,e;return Hf&&((n=window?.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Vee(n,e){function t(...r){return new Promise((i,s)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(s)})}return t}const Hee=n=>n();function Bee(n,e={}){let t,r,i=Ol;const s=l=>{clearTimeout(l),i(),i=Ol};let o;return l=>{const c=hn(n),u=hn(e.maxWait);return t&&s(t),c<=0||u!==void 0&&u<=0?(r&&(s(r),r=null),Promise.resolve(l())):new Promise((h,d)=>{i=e.rejectOnCancel?d:h,o=l,u&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,h(o())},u)),t=setTimeout(()=>{r&&s(r),r=null,h(l())},c)})}}function z4e(n=Hee,e={}){const{initialState:t="active"}=e,r=oM(t==="active");function i(){r.value=!1}function s(){r.value=!0}const o=(...a)=>{r.value&&n(...a)};return{isActive:$1(r),pause:i,resume:s,eventFilter:o}}function R4e(n){let e;function t(){return e||(e=n()),e}return t.reset=async()=>{const r=e;e=void 0,r&&await r},t}function pV(n){return n.endsWith("rem")?Number.parseFloat(n)*16:Number.parseFloat(n)}function V4e(n){return So()}function c2(n){return Array.isArray(n)?n:[n]}function oM(...n){if(n.length!==1)return kZ(...n);const e=n[0];return typeof e=="function"?$1(zb(()=>({get:e,set:Ol}))):Ct(e)}function H4e(n,e=200,t={}){return Vee(Bee(e,t),n)}function B4e(n,e=200,t={}){const r=Ct(n.value),i=H4e(()=>{r.value=n.value},e,t);return Fr(n,()=>i()),r}function j4e(n,e={}){let t=n,r,i;const s=zb((d,g)=>(r=d,i=g,{get(){return o()},set(f){a(f)}}));function o(d=!0){return d&&r(),t}function a(d,g=!0){var f,v;if(d===t)return;const C=t;((f=e.onBeforeChange)==null?void 0:f.call(e,d,C))!==!1&&(t=d,(v=e.onChanged)==null||v.call(e,d,C),g&&i())}return M4e(s,{get:o,set:a,untrackedGet:()=>o(!1),silentSet:d=>a(d,!1),peek:()=>o(!1),lay:d=>a(d,!1)},{enumerable:!0})}function jee(n,e,t={}){const{eventFilter:r=Hee,...i}=t;return Fr(n,Vee(r,e),i)}function F4e(n,e,t={}){const{eventFilter:r,initialState:i="active",...s}=t,{eventFilter:o,pause:a,resume:l,isActive:c}=z4e(r,{initialState:i});return{stop:jee(n,e,{...s,eventFilter:o}),pause:a,resume:l,isActive:c}}const U4e=hn;function C0(n,e=!0,t){V4e()?No(n,t):e?n():Hs(n)}function W4e(n,e=1e3,t={}){const{immediate:r=!0,immediateCallback:i=!1}=t;let s=null;const o=Cn(!1);function a(){s&&(clearInterval(s),s=null)}function l(){o.value=!1,a()}function c(){const u=hn(e);u<=0||(o.value=!0,i&&n(),a(),o.value&&(s=setInterval(n,u)))}if(r&&Hf&&c(),fn(e)||typeof e=="function"){const u=Fr(e,()=>{o.value&&Hf&&c()});Pu(u)}return Pu(l),{isActive:o,pause:l,resume:c}}function G4e(n,e,t={}){const{immediate:r=!0,immediateCallback:i=!1}=t,s=Cn(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function l(){s.value=!1,a()}function c(...u){i&&n(),a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,n(...u)},hn(e))}return r&&(s.value=!0,Hf&&c()),Pu(l),{isPending:$1(s),start:c,stop:l}}function aM(n=!1,e={}){const{truthyValue:t=!0,falsyValue:r=!1}=e,i=fn(n),s=Cn(n);function o(a){if(arguments.length)return s.value=a,s.value;{const l=hn(t);return s.value=s.value===l?hn(r):l,s.value}}return i?o:[s,o]}function Fee(n,e,t={}){const{debounce:r=0,maxWait:i=void 0,...s}=t;return jee(n,e,{...s,eventFilter:Bee(r,{maxWait:i})})}function K4e(n,e,t){return Fr(n,e,{...t,immediate:!0})}function q4e(n,e,t){const r=Fr(n,(...i)=>(Hs(()=>r()),e(...i)),t);return r}function y7(n,e,t){let r;fn(t)?r={evaluating:t}:r={};const{lazy:i=!1,evaluating:s=void 0,shallow:o=!0,onError:a=Ol}=r,l=Cn(!i),c=o?Cn(e):Ct(e);let u=0;return Ao(async h=>{if(!l.value)return;u++;const d=u;let g=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const f=await n(v=>{h(()=>{s&&(s.value=!1),g||v()})});d===u&&(c.value=f)}catch(f){a(f)}finally{s&&d===u&&(s.value=!1),g=!0}}),i?ot(()=>(l.value=!0,c.value)):c}const al=Hf?window:void 0,Y4e=Hf?window.document:void 0,Uee=Hf?window.navigator:void 0;function qo(n){var e;const t=hn(n);return(e=t?.$el)!=null?e:t}function Fo(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},r=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),i=ot(()=>{const a=c2(hn(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=K4e(()=>{var a,l;return[(l=(a=i.value)==null?void 0:a.map(c=>qo(c)))!=null?l:[al].filter(c=>c!=null),c2(hn(i.value?n[1]:n[0])),c2(ye(i.value?n[2]:n[1])),hn(i.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!a?.length||!l?.length||!c?.length)return;const h=N4e(u)?{...u}:u;e.push(...a.flatMap(d=>l.flatMap(g=>c.map(f=>r(d,g,f,h)))))},{flush:"post"}),o=()=>{s(),t()};return Pu(t),o}let gV=!1;function X4e(n,e,t={}){const{window:r=al,ignore:i=[],capture:s=!0,detectIframe:o=!1,controls:a=!1}=t;if(!r)return a?{stop:Ol,cancel:Ol,trigger:Ol}:Ol;if(px&&!gV){gV=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(A=>Fo(A,"click",Ol,C)),Fo(r.document.documentElement,"click",Ol,C)}let l=!0;const c=C=>hn(i).some(A=>{if(typeof A=="string")return Array.from(r.document.querySelectorAll(A)).some(b=>b===C.target||C.composedPath().includes(b));{const b=qo(A);return b&&(C.target===b||C.composedPath().includes(b))}});function u(C){const A=hn(C);return A&&A.$.subTree.shapeFlag===16}function h(C,A){const b=hn(C),m=b.$.subTree&&b.$.subTree.children;return m==null||!Array.isArray(m)?!1:m.some(E=>E.el===A.target||A.composedPath().includes(E.el))}const d=C=>{const A=qo(n);if(C.target!=null&&!(!(A instanceof Element)&&u(n)&&h(n,C))&&!(!A||A===C.target||C.composedPath().includes(A))){if("detail"in C&&C.detail===0&&(l=!c(C)),!l){l=!0;return}e(C)}};let g=!1;const f=[Fo(r,"click",C=>{g||(g=!0,setTimeout(()=>{g=!1},0),d(C))},{passive:!0,capture:s}),Fo(r,"pointerdown",C=>{const A=qo(n);l=!c(C)&&!!(A&&!C.composedPath().includes(A))},{passive:!0}),o&&Fo(r,"blur",C=>{setTimeout(()=>{var A;const b=qo(n);((A=r.document.activeElement)==null?void 0:A.tagName)==="IFRAME"&&!b?.contains(r.document.activeElement)&&e(C)},0)},{passive:!0})].filter(Boolean),v=()=>f.forEach(C=>C());return a?{stop:v,cancel:()=>{l=!1},trigger:C=>{l=!0,d(C),l=!1}}:v}function Z4e(){const n=Cn(!1),e=So();return e&&No(()=>{n.value=!0},e),n}function op(n){const e=Z4e();return ot(()=>(e.value,!!n()))}function Q4e(n,e,t={}){const{window:r=al,...i}=t;let s;const o=op(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=ot(()=>{const d=hn(n),g=c2(d).map(qo).filter(Ree);return new Set(g)}),c=Fr(()=>l.value,d=>{a(),o.value&&d.size&&(s=new MutationObserver(e),d.forEach(g=>s.observe(g,i)))},{immediate:!0,flush:"post"}),u=()=>s?.takeRecords(),h=()=>{c(),a()};return Pu(h),{isSupported:o,stop:h,takeRecords:u}}function J4e(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function Wee(...n){let e,t,r={};n.length===3?(e=n[0],t=n[1],r=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],r=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:i=al,eventName:s="keydown",passive:o=!1,dedupe:a=!1}=r,l=J4e(e);return Fo(i,s,u=>{u.repeat&&hn(a)||l(u)&&t(u)},o)}function e3e(n,e={}){const{immediate:t=!0,fpsLimit:r=void 0,window:i=al,once:s=!1}=e,o=Cn(!1),a=ot(()=>r?1e3/hn(r):null);let l=0,c=null;function u(g){if(!o.value||!i)return;l||(l=g);const f=g-l;if(a.value&&ft&&"matchMedia"in t&&typeof t.matchMedia=="function"),s=Cn(typeof r=="number"),o=Cn(),a=Cn(!1),l=c=>{a.value=c.matches};return Ao(()=>{if(s.value){s.value=!i.value;const c=hn(n).split(",");a.value=c.some(u=>{const h=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||g);return d&&f&&(f=r>=pV(d[1])),g&&f&&(f=r<=pV(g[1])),h?!f:f});return}i.value&&(o.value=t.matchMedia(hn(n)),a.value=o.value.matches)}),Fo(o,"change",l,{passive:!0}),ot(()=>a.value)}function vV(n,e={}){const{controls:t=!1,navigator:r=Uee}=e,i=op(()=>r&&"permissions"in r),s=Cn(),o=typeof n=="string"?{name:n}:n,a=Cn(),l=()=>{var u,h;a.value=(h=(u=s.value)==null?void 0:u.state)!=null?h:"prompt"};Fo(s,"change",l,{passive:!0});const c=R4e(async()=>{if(i.value){if(!s.value)try{s.value=await r.permissions.query(o)}catch{s.value=void 0}finally{l()}if(t)return ii(s.value)}});return c(),t?{state:a,isSupported:i,query:c}:a}function Gee(n={}){const{navigator:e=Uee,read:t=!1,source:r,copiedDuring:i=1500,legacy:s=!1}=n,o=op(()=>e&&"clipboard"in e),a=vV("clipboard-read"),l=vV("clipboard-write"),c=ot(()=>o.value||s),u=Cn(""),h=Cn(!1),d=G4e(()=>h.value=!1,i,{immediate:!1});async function g(){let b=!(o.value&&A(a.value));if(!b)try{u.value=await e.clipboard.readText()}catch{b=!0}b&&(u.value=C())}c.value&&t&&Fo(["copy","cut"],g,{passive:!0});async function f(b=hn(r)){if(c.value&&b!=null){let m=!(o.value&&A(l.value));if(!m)try{await e.clipboard.writeText(b)}catch{m=!0}m&&v(b),u.value=b,h.value=!0,d.start()}}function v(b){const m=document.createElement("textarea");m.value=b??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function C(){var b,m,E;return(E=(m=(b=document?.getSelection)==null?void 0:b.call(document))==null?void 0:m.toString())!=null?E:""}function A(b){return b==="granted"||b==="prompt"}return{isSupported:c,text:u,copied:h,copy:f}}function n3e(n){return JSON.parse(JSON.stringify(n))}const M5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},k5="__vueuse_ssr_handlers__",i3e=s3e();function s3e(){return k5 in M5||(M5[k5]=M5[k5]||{}),M5[k5]}function Kee(n,e){return i3e[n]||e}function o3e(n){return lM("(prefers-color-scheme: dark)",n)}function a3e(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const l3e={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},mV="vueuse-storage";function qee(n,e,t,r={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:h=al,eventFilter:d,onError:g=B=>{console.error(B)},initOnMounted:f}=r,v=(u?Cn:Ct)(typeof e=="function"?e():e),C=ot(()=>hn(n));if(!t)try{t=Kee("getDefaultStorage",()=>{var B;return(B=al)==null?void 0:B.localStorage})()}catch(B){g(B)}if(!t)return v;const A=hn(e),b=a3e(A),m=(i=r.serializer)!=null?i:l3e[b],{pause:E,resume:I}=F4e(v,()=>T(v.value),{flush:s,deep:o,eventFilter:d});Fr(C,()=>_(),{flush:s}),h&&a&&C0(()=>{t instanceof Storage?Fo(h,"storage",_,{passive:!0}):Fo(h,mV,$),f&&_()}),f||_();function S(B,U){if(h){const H={key:C.value,oldValue:B,newValue:U,storageArea:t};h.dispatchEvent(t instanceof Storage?new StorageEvent("storage",H):new CustomEvent(mV,{detail:H}))}}function T(B){try{const U=t.getItem(C.value);if(B==null)S(U,null),t.removeItem(C.value);else{const H=m.write(B);U!==H&&(t.setItem(C.value,H),S(U,H))}}catch(U){g(U)}}function P(B){const U=B?B.newValue:t.getItem(C.value);if(U==null)return l&&A!=null&&t.setItem(C.value,m.write(A)),A;if(!B&&c){const H=m.read(U);return typeof c=="function"?c(H,A):b==="object"&&!Array.isArray(H)?{...A,...H}:H}else return typeof U!="string"?U:m.read(U)}function _(B){if(!(B&&B.storageArea!==t)){if(B&&B.key==null){v.value=A;return}if(!(B&&B.key!==C.value)){E();try{B?.newValue!==m.write(v.value)&&(v.value=P(B))}catch(U){g(U)}finally{B?Hs(I):I()}}}}function $(B){_(B.detail)}return v}const c3e="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function u3e(n={}){const{selector:e="html",attribute:t="class",initialValue:r="auto",window:i=al,storage:s,storageKey:o="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=n,h={auto:"",light:"light",dark:"dark",...n.modes||{}},d=o3e({window:i}),g=ot(()=>d.value?"dark":"light"),f=l||(o==null?oM(r):qee(o,r,s,{window:i,listenToStorageChanges:a})),v=ot(()=>f.value==="auto"?g.value:f.value),C=Kee("updateHTMLAttrs",(E,I,S)=>{const T=typeof E=="string"?i?.document.querySelector(E):qo(E);if(!T)return;const P=new Set,_=new Set;let $=null;if(I==="class"){const U=S.split(/\s/g);Object.values(h).flatMap(H=>(H||"").split(/\s/g)).filter(Boolean).forEach(H=>{U.includes(H)?P.add(H):_.add(H)})}else $={key:I,value:S};if(P.size===0&&_.size===0&&$===null)return;let B;u&&(B=i.document.createElement("style"),B.appendChild(document.createTextNode(c3e)),i.document.head.appendChild(B));for(const U of P)T.classList.add(U);for(const U of _)T.classList.remove(U);$&&T.setAttribute($.key,$.value),u&&(i.getComputedStyle(B).opacity,document.head.removeChild(B))});function A(E){var I;C(e,t,(I=h[E])!=null?I:E)}function b(E){n.onChanged?n.onChanged(E,A):A(E)}Fr(v,b,{flush:"post",immediate:!0}),C0(()=>b(v.value));const m=ot({get(){return c?f.value:v.value},set(E){f.value=E}});return Object.assign(m,{store:f,system:g,state:v})}function cM(n,e,t={}){const{window:r=al,...i}=t;let s;const o=op(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=ot(()=>{const h=hn(n);return Array.isArray(h)?h.map(d=>qo(d)):[qo(h)]}),c=Fr(l,h=>{if(a(),o.value&&r){s=new ResizeObserver(e);for(const d of h)d&&s.observe(d,i)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Pu(u),{isSupported:o,stop:u}}function h3e(n,e={}){const{reset:t=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0,updateTiming:o="sync"}=e,a=Cn(0),l=Cn(0),c=Cn(0),u=Cn(0),h=Cn(0),d=Cn(0),g=Cn(0),f=Cn(0);function v(){const A=qo(n);if(!A){t&&(a.value=0,l.value=0,c.value=0,u.value=0,h.value=0,d.value=0,g.value=0,f.value=0);return}const b=A.getBoundingClientRect();a.value=b.height,l.value=b.bottom,c.value=b.left,u.value=b.right,h.value=b.top,d.value=b.width,g.value=b.x,f.value=b.y}function C(){o==="sync"?v():o==="next-frame"&&requestAnimationFrame(()=>v())}return cM(n,C),Fr(()=>qo(n),A=>!A&&C()),Q4e(n,C,{attributeFilter:["style","class"]}),i&&Fo("scroll",C,{capture:!0,passive:!0}),r&&Fo("resize",C,{passive:!0}),C0(()=>{s&&C()}),{height:a,bottom:l,left:c,right:u,top:h,width:d,x:g,y:f,update:C}}function Yee(n,e={width:0,height:0},t={}){const{window:r=al,box:i="content-box"}=t,s=ot(()=>{var h,d;return(d=(h=qo(n))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),o=Cn(e.width),a=Cn(e.height),{stop:l}=cM(n,([h])=>{const d=i==="border-box"?h.borderBoxSize:i==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&s.value){const g=qo(n);if(g){const f=g.getBoundingClientRect();o.value=f.width,a.value=f.height}}else if(d){const g=c2(d);o.value=g.reduce((f,{inlineSize:v})=>f+v,0),a.value=g.reduce((f,{blockSize:v})=>f+v,0)}else o.value=h.contentRect.width,a.value=h.contentRect.height},t);C0(()=>{const h=qo(n);h&&(o.value="offsetWidth"in h?h.offsetWidth:e.width,a.value="offsetHeight"in h?h.offsetHeight:e.height)});const c=Fr(()=>qo(n),h=>{o.value=h?e.width:0,a.value=h?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}function d3e(n,e,t={}){const{root:r,rootMargin:i="0px",threshold:s=0,window:o=al,immediate:a=!0}=t,l=op(()=>o&&"IntersectionObserver"in o),c=ot(()=>{const f=hn(n);return c2(f).map(qo).filter(Ree)});let u=Ol;const h=Cn(a),d=l.value?Fr(()=>[c.value,qo(r),h.value],([f,v])=>{if(u(),!h.value||!f.length)return;const C=new IntersectionObserver(e,{root:qo(v),rootMargin:i,threshold:s});f.forEach(A=>A&&C.observe(A)),u=()=>{C.disconnect(),u=Ol}},{immediate:a,flush:"post"}):Ol,g=()=>{u(),d(),h.value=!1};return Pu(g),{isSupported:l,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:g}}function f3e(n={}){const{initialValue:e=""}=n,t=op(()=>typeof window<"u"&&"EyeDropper"in window),r=Cn(e);async function i(s){if(!t.value)return;const a=await new window.EyeDropper().open(s);return r.value=a.sRGBHex,a}return{isSupported:t,sRGBHex:r,open:i}}function b7(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function p3e(n,e,t={}){const{window:r=al}=t;return qee(n,e,r?.localStorage,t)}function g3e(n={}){const{controls:e=!1,interval:t="requestAnimationFrame"}=n,r=Ct(new Date),i=()=>r.value=new Date,s=t==="requestAnimationFrame"?e3e(i,{immediate:!0}):W4e(i,t,{immediate:!0});return e?{now:r,...s}:r}function v3e(n){const e=lM("(prefers-reduced-motion: reduce)",n);return ot(()=>e.value?"reduce":"no-preference")}function Xee(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const E7=new WeakMap;function C3e(n,e=!1){const t=Cn(e);let r=null,i="";Fr(oM(n),a=>{const l=b7(hn(a));if(l){const c=l;if(E7.get(c)||E7.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(i=c.style.overflow),c.style.overflow==="hidden")return t.value=!0;if(t.value)return c.style.overflow="hidden"}},{immediate:!0});const s=()=>{const a=b7(hn(n));!a||t.value||(px&&(r=Fo(a,"touchmove",l=>{m3e(l)},{passive:!1})),a.style.overflow="hidden",t.value=!0)},o=()=>{const a=b7(hn(n));!a||!t.value||(px&&r?.(),a.style.overflow=i,E7.delete(a),t.value=!1)};return Pu(o),ot({get(){return t.value},set(a){a?s():o()}})}let A3e=0;function I3e(n,e={}){const t=Cn(!1),{document:r=Y4e,immediate:i=!0,manual:s=!1,id:o=`vueuse_styletag_${++A3e}`}=e,a=Cn(n);let l=()=>{};const c=()=>{if(!r)return;const h=r.getElementById(o)||r.createElement("style");h.isConnected||(h.id=o,e.media&&(h.media=e.media),r.head.appendChild(h)),!t.value&&(l=Fr(a,d=>{h.textContent=d},{immediate:!0}),t.value=!0)},u=()=>{!r||!t.value||(l(),r.head.removeChild(r.getElementById(o)),t.value=!1)};return i&&!s&&C0(c),s||Pu(u),{id:o,css:a,unload:u,load:c,isLoaded:$1(t)}}const y3e=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],b3e={justNow:"just now",past:n=>n.match(/\d/)?`${n} ago`:n,future:n=>n.match(/\d/)?`in ${n}`:n,month:(n,e)=>n===1?e?"last month":"next month":`${n} month${n>1?"s":""}`,year:(n,e)=>n===1?e?"last year":"next year":`${n} year${n>1?"s":""}`,day:(n,e)=>n===1?e?"yesterday":"tomorrow":`${n} day${n>1?"s":""}`,week:(n,e)=>n===1?e?"last week":"next week":`${n} week${n>1?"s":""}`,hour:n=>`${n} hour${n>1?"s":""}`,minute:n=>`${n} minute${n>1?"s":""}`,second:n=>`${n} second${n>1?"s":""}`,invalid:""};function E3e(n){return n.toISOString().slice(0,10)}function w3e(n,e={}){const{controls:t=!1,updateInterval:r=3e4}=e,{now:i,...s}=g3e({interval:r,controls:!0}),o=ot(()=>S3e(new Date(hn(n)),e,hn(i)));return t?{timeAgo:o,...s}:o}function S3e(n,e={},t=Date.now()){var r;const{max:i,messages:s=b3e,fullDateFormatter:o=E3e,units:a=y3e,showSecond:l=!1,rounding:c="round"}=e,u=typeof c=="number"?C=>+C.toFixed(c):Math[c],h=+t-+n,d=Math.abs(h);function g(C,A){return u(Math.abs(C)/A.value)}function f(C,A){const b=g(C,A),m=C>0,E=v(A.name,b,m);return v(m?"past":"future",E,m)}function v(C,A,b){const m=s[C];return typeof m=="function"?m(A,b):m.replace("{0}",A.toString())}if(d<6e4&&!l)return s.justNow;if(typeof i=="number"&&d>i)return o(new Date(n));if(typeof i=="string"){const C=(r=a.find(A=>A.name===i))==null?void 0:r.max;if(C&&d>C)return o(new Date(n))}for(const[C,A]of a.entries()){if(g(h,A)<=0&&a[C-1])return f(h,a[C-1]);if(da?typeof a=="function"?a(m):n3e(m):m,A=()=>$4e(n[e])?C(n[e]):h,b=m=>{d?d(m)&&f(v,m):f(v,m)};if(l){const m=A(),E=Ct(m);let I=!1;return Fr(()=>n[e],S=>{I||(I=!0,E.value=C(S),Hs(()=>I=!1))}),Fr(E,S=>{!I&&(S!==n[e]||u)&&b(S)},{deep:u}),E}else return ot({get(){return A()},set(m){b(m)}})}function T3e(n={}){const{window:e=al,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:o="inner"}=n,a=Cn(t),l=Cn(r),c=()=>{if(e)if(o==="outer")a.value=e.outerWidth,l.value=e.outerHeight;else if(o==="visual"&&e.visualViewport){const{width:h,height:d,scale:g}=e.visualViewport;a.value=Math.round(h*g),l.value=Math.round(d*g)}else s?(a.value=e.innerWidth,l.value=e.innerHeight):(a.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};c(),C0(c);const u={passive:!0};if(Fo("resize",c,u),e&&o==="visual"&&e.visualViewport&&Fo(e.visualViewport,"resize",c,u),i){const h=lM("(orientation: portrait)");Fr(h,()=>c())}return{width:a,height:l}}let Ia=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function x3e(n){return uM(n)}function uM(n){return Array.isArray(n)?_3e(n):n instanceof RegExp?n:typeof n=="object"?P3e(n):n}function _3e(n){let e=[];for(let t=0,r=n.length;t{for(let r in t)n[r]=t[r]}),n}function Qee(n){const e=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return e===0?n:~e===n.length-1?Qee(n.substring(0,n.length-1)):n.substr(~e+1)}var w7=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,$5=class{static hasCaptures(n){return n===null?!1:(w7.lastIndex=0,w7.test(n))}static replaceCaptures(n,e,t){return n.replace(w7,(r,i,s,o)=>{let a=t[parseInt(i||s,10)];if(a){let l=e.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(o){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Jee(n,e){return ne?1:0}function ete(n,e){if(n===null&&e===null)return 0;if(!n)return-1;if(!e)return 1;let t=n.length,r=e.length;if(t===r){for(let i=0;ithis._root.match(n));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const e=n.scopeName,r=this._cachedMatchRoot.get(e).find(i=>O3e(n.parent,i.parentScopes));return r?new nte(r.fontStyle,r.foreground,r.background):null}},S7=class o4{constructor(e,t){this.parent=e,this.scopeName=t}static push(e,t){for(const r of t)e=new o4(e,r);return e}static from(...e){let t=null;for(let r=0;r"){if(t===e.length-1)return!1;r=e[++t],i=!0}for(;n&&!M3e(n.scopeName,r);){if(i)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function M3e(n,e){return e===n||n.startsWith(e)&&n[e.length]==="."}var nte=class{constructor(n,e,t){this.fontStyle=n,this.foregroundId=e,this.backgroundId=t}};function k3e(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let e=n.settings,t=[],r=0;for(let i=0,s=e.length;i1&&(C=f.slice(0,f.length-1),C.reverse()),t[r++]=new $3e(v,C,i,l,c,u)}}return t}var $3e=class{constructor(n,e,t,r,i,s){this.scope=n,this.parentScopes=e,this.index=t,this.fontStyle=r,this.foreground=i,this.background=s}},i1=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(i1||{});function L3e(n,e){n.sort((l,c)=>{let u=Jee(l.scope,c.scope);return u!==0||(u=ete(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let t=0,r="#000000",i="#ffffff";for(;n.length>=1&&n[0].scope==="";){let l=n.shift();l.fontStyle!==-1&&(t=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let s=new N3e(e),o=new nte(t,s.getId(r),s.getId(i)),a=new z3e(new gx(0,null,-1,0,0),[]);for(let l=0,c=n.length;le?console.log("how did this happen?"):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},z3e=class vx{constructor(e,t=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,i=0;for(;e.parentScopes[r]===">"&&r++,t.parentScopes[i]===">"&&i++,!(r>=e.parentScopes.length||i>=t.parentScopes.length);){const s=t.parentScopes[i].length-e.parentScopes[r].length;if(s!==0)return s;r++,i++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),i,s;if(r===-1?(i=e,s=""):(i=e.substring(0,r),s=e.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(s)}const t=this._rulesWithParentScopes.concat(this._mainRule);return t.sort(vx._cmpBySpecificity),t}insert(e,t,r,i,s,o){if(t===""){this._doInsertHere(e,r,i,s,o);return}let a=t.indexOf("."),l,c;a===-1?(l=t,c=""):(l=t.substring(0,a),c=t.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new vx(this._mainRule.clone(),gx.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,c,r,i,s,o)}_doInsertHere(e,t,r,i,s){if(t===null){this._mainRule.acceptOverwrite(e,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,t,r,i,s,o,a){let l=Gl.getLanguageId(e),c=Gl.getTokenType(e),u=Gl.containsBalancedBrackets(e)?1:0,h=Gl.getFontStyle(e),d=Gl.getForeground(e),g=Gl.getBackground(e);return t!==0&&(l=t),r!==8&&(c=r),i!==null&&(u=i?1:0),s!==-1&&(h=s),o!==0&&(d=o),a!==0&&(g=a),(l<<0|c<<8|u<<10|h<<11|d<<15|g<<24)>>>0}};function y3(n,e){const t=[],r=R3e(n);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=o();if(t.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return t;function s(){if(i==="-"){i=r.next();const l=s();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=a();return i===")"&&(i=r.next()),l}if(AV(i)){const l=[];do l.push(i),i=r.next();while(AV(i));return c=>e(l,c)}return null}function o(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(h=>h(u))}function a(){const l=[];let c=o();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return u=>l.some(h=>h(u))}}function AV(n){return!!n&&!!n.match(/[\w\.:]+/)}function R3e(n){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,t=e.exec(n);return{next:()=>{if(!t)return null;const r=t[0];return t=e.exec(n),r}}}function ste(n){typeof n.dispose=="function"&&n.dispose()}var mC=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},V3e=class{constructor(n,e){this.scopeName=n,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},H3e=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(n){const e=n.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(n))}},B3e=class{constructor(n,e){this.repo=n,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new mC(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const n=this.Q;this.Q=[];const e=new H3e;for(const t of n)j3e(t,this.initialScopeName,this.repo,e);for(const t of e.references)if(t instanceof mC){if(this.seenFullScopeRequests.has(t.scopeName))continue;this.seenFullScopeRequests.add(t.scopeName),this.Q.push(t)}else{if(this.seenFullScopeRequests.has(t.scopeName)||this.seenPartialScopeRequests.has(t.toKey()))continue;this.seenPartialScopeRequests.add(t.toKey()),this.Q.push(t)}}};function j3e(n,e,t,r){const i=t.lookup(n.scopeName);if(!i){if(n.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const s=t.lookup(e);n instanceof mC?a4({baseGrammar:s,selfGrammar:i},r):mx(n.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=t.injections(n.scopeName);if(o)for(const a of o)r.add(new mC(a))}function mx(n,e,t){if(e.repository&&e.repository[n]){const r=e.repository[n];b3([r],e,t)}}function a4(n,e){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&b3(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},e),n.selfGrammar.injections&&b3(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},e)}function b3(n,e,t){for(const r of n){if(t.visitedRule.has(r))continue;t.visitedRule.add(r);const i=r.repository?Zee({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&b3(r.patterns,{...e,repository:i},t);const s=r.include;if(!s)continue;const o=ote(s);switch(o.kind){case 0:a4({...e,selfGrammar:e.baseGrammar},t);break;case 1:a4(e,t);break;case 2:mx(o.ruleName,{...e,repository:i},t);break;case 3:case 4:const a=o.scopeName===e.selfGrammar.scopeName?e.selfGrammar:o.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(a){const l={baseGrammar:e.baseGrammar,selfGrammar:a,repository:i};o.kind===4?mx(o.ruleName,l,t):a4(l,t)}else o.kind===4?t.add(new V3e(o.scopeName,o.ruleName)):t.add(new mC(o.scopeName));break}}}var F3e=class{kind=0},U3e=class{kind=1},W3e=class{constructor(n){this.ruleName=n}kind=2},G3e=class{constructor(n){this.scopeName=n}kind=3},K3e=class{constructor(n,e){this.scopeName=n,this.ruleName=e}kind=4};function ote(n){if(n==="$base")return new F3e;if(n==="$self")return new U3e;const e=n.indexOf("#");if(e===-1)return new G3e(n);if(e===0)return new W3e(n.substring(1));{const t=n.substring(0,e),r=n.substring(e+1);return new K3e(t,r)}}var q3e=/\\(\d+)/,IV=/\\(\d+)/g,Y3e=-1,ate=-2;var hA=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(n,e,t,r){this.$location=n,this.id=e,this._name=t||null,this._nameIsCapturing=$5.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=$5.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Qee(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,e){return!this._nameIsCapturing||this._name===null||n===null||e===null?this._name:$5.replaceCaptures(this._name,n,e)}getContentName(n,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:$5.replaceCaptures(this._contentName,n,e)}},X3e=class extends hA{retokenizeCapturedWithRuleId;constructor(n,e,t,r,i){super(n,e,t,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(n,e){throw new Error("Not supported!")}compile(n,e){throw new Error("Not supported!")}compileAG(n,e,t,r){throw new Error("Not supported!")}},Z3e=class extends hA{_match;captures;_cachedCompiledPatterns;constructor(n,e,t,r,i){super(n,e,t,null),this._match=new CC(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,e){e.push(this._match)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,r){return this._getCachedCompiledPatterns(n).compileAG(n,t,r)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new AC,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},yV=class extends hA{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(n,e,t,r,i){super(n,e,t,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,e){for(const t of this.patterns)n.getRule(t).collectPatterns(n,e)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,r){return this._getCachedCompiledPatterns(n).compileAG(n,t,r)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new AC,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Cx=class extends hA{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(n,e,t,r,i,s,o,a,l,c){super(n,e,t,r),this._begin=new CC(i,this.id),this.beginCaptures=s,this._end=new CC(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,e){return this._end.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n,e).compile(n)}compileAG(n,e,t,r){return this._getCachedCompiledPatterns(n,e).compileAG(n,t,r)}_getCachedCompiledPatterns(n,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new AC;for(const t of this.patterns)n.getRule(t).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,e):this._cachedCompiledPatterns.setSource(0,e)),this._cachedCompiledPatterns}},E3=class extends hA{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(n,e,t,r,i,s,o,a,l){super(n,e,t,r),this._begin=new CC(i,this.id),this.beginCaptures=s,this.whileCaptures=a,this._while=new CC(o,ate),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,e){return this._while.resolveBackReferences(n,e)}collectPatterns(n,e){e.push(this._begin)}compile(n,e){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,e,t,r){return this._getCachedCompiledPatterns(n).compileAG(n,t,r)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new AC;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,e){return this._getCachedCompiledWhilePatterns(n,e).compile(n)}compileWhileAG(n,e,t,r){return this._getCachedCompiledWhilePatterns(n,e).compileAG(n,t,r)}_getCachedCompiledWhilePatterns(n,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new AC,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},lte=class va{static createCaptureRule(e,t,r,i,s){return e.registerRule(o=>new X3e(t,o,r,i,s))}static getCompiledRuleId(e,t,r){return e.id||t.registerRule(i=>{if(e.id=i,e.match)return new Z3e(e.$vscodeTextmateLocation,e.id,e.name,e.match,va._compileCaptures(e.captures,t,r));if(typeof e.begin>"u"){e.repository&&(r=Zee({},r,e.repository));let s=e.patterns;return typeof s>"u"&&e.include&&(s=[{include:e.include}]),new yV(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,va._compilePatterns(s,t,r))}return e.while?new E3(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,va._compileCaptures(e.beginCaptures||e.captures,t,r),e.while,va._compileCaptures(e.whileCaptures||e.captures,t,r),va._compilePatterns(e.patterns,t,r)):new Cx(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,va._compileCaptures(e.beginCaptures||e.captures,t,r),e.end,va._compileCaptures(e.endCaptures||e.captures,t,r),e.applyEndPatternLast,va._compilePatterns(e.patterns,t,r))}),e.id}static _compileCaptures(e,t,r){let i=[];if(e){let s=0;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in e){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let l=0;e[o].patterns&&(l=va.getCompiledRuleId(e[o],t,r)),i[a]=va.createCaptureRule(t,e[o].$vscodeTextmateLocation,e[o].name,e[o].contentName,l)}}return i}static _compilePatterns(e,t,r){let i=[];if(e)for(let s=0,o=e.length;se.substring(i.start,i.end));return IV.lastIndex=0,this.source.replace(IV,(i,s)=>tte(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],t=[],r=[],i=[],s,o,a,l;for(s=0,o=this.source.length;st.source);this._cached=new bV(n,e,this._items.map(t=>t.ruleId))}return this._cached}compileAG(n,e,t){return this._hasAnchors?e?t?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A1_G0):t?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,e,t)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,e,t){let r=this._items.map(i=>i.resolveAnchors(e,t));return new bV(n,r,this._items.map(i=>i.ruleId))}},bV=class{constructor(n,e,t){this.regExps=e,this.rules=t,this.scanner=n.createOnigScanner(e)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let e=0,t=this.rules.length;e{const t=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new T7(t,r)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const t=e.match(Ax.STANDARD_TOKEN_TYPE_REGEXP);if(!t)return 8;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},J3e=class{values;scopesRegExp;constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const e=n.map(([t,r])=>tte(t));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const e=n.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},EV=class{constructor(n,e){this.stack=n,this.stoppedEarly=e}};function ute(n,e,t,r,i,s,o,a){const l=e.content.length;let c=!1,u=-1;if(o){const g=ebe(n,e,t,r,i,s);i=g.stack,r=g.linePos,t=g.isFirstLine,u=g.anchorPosition}const h=Date.now();for(;!c;){if(a!==0&&Date.now()-h>a)return new EV(i,!0);d()}return new EV(i,!1);function d(){const g=tbe(n,e,t,r,i,u);if(!g){s.produce(i,l),c=!0;return}const f=g.captureIndices,v=g.matchedRuleId,C=f&&f.length>0?f[0].end>r:!1;if(v===Y3e){const A=i.getRule(n);s.produce(i,f[0].start),i=i.withContentNameScopesList(i.nameScopesList),em(n,e,t,i,s,A.endCaptures,f),s.produce(i,f[0].end);const b=i;if(i=i.parent,u=b.getAnchorPos(),!C&&b.getEnterPos()===r){i=b,s.produce(i,l),c=!0;return}}else{const A=n.getRule(v);s.produce(i,f[0].start);const b=i,m=A.getName(e.content,f),E=i.contentNameScopesList.pushAttributed(m,n);if(i=i.push(v,r,u,f[0].end===l,null,E,E),A instanceof Cx){const I=A;em(n,e,t,i,s,I.beginCaptures,f),s.produce(i,f[0].end),u=f[0].end;const S=I.getContentName(e.content,f),T=E.pushAttributed(S,n);if(i=i.withContentNameScopesList(T),I.endHasBackReferences&&(i=i.withEndRule(I.getEndWithResolvedBackReferences(e.content,f))),!C&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,l),c=!0;return}}else if(A instanceof E3){const I=A;em(n,e,t,i,s,I.beginCaptures,f),s.produce(i,f[0].end),u=f[0].end;const S=I.getContentName(e.content,f),T=E.pushAttributed(S,n);if(i=i.withContentNameScopesList(T),I.whileHasBackReferences&&(i=i.withEndRule(I.getWhileWithResolvedBackReferences(e.content,f))),!C&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,l),c=!0;return}}else if(em(n,e,t,i,s,A.captures,f),s.produce(i,f[0].end),i=i.pop(),!C){i=i.safePop(),s.produce(i,l),c=!0;return}}f[0].end>r&&(r=f[0].end,t=!1)}}function ebe(n,e,t,r,i,s){let o=i.beginRuleCapturedEOL?0:-1;const a=[];for(let l=i;l;l=l.pop()){const c=l.getRule(n);c instanceof E3&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=ibe(l.rule,n,l.stack.endRule,t,r===o),h=c.findNextMatchSync(e,r,u);if(h){if(h.ruleId!==ate){i=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(s.produce(l.stack,h.captureIndices[0].start),em(n,e,t,l.stack,s,l.rule.whileCaptures,h.captureIndices),s.produce(l.stack,h.captureIndices[0].end),o=h.captureIndices[0].end,h.captureIndices[0].end>r&&(r=h.captureIndices[0].end,t=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:t}}function tbe(n,e,t,r,i,s){const o=rbe(n,e,t,r,i,s),a=n.getInjections();if(a.length===0)return o;const l=nbe(a,n,e,t,r,i,s);if(!l)return o;if(!o)return l;const c=o.captureIndices[0].start,u=l.captureIndices[0].start;return u=a)&&(a=m,l=b.captureIndices,c=b.ruleId,u=f.priority,a===i))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function hte(n,e,t,r,i){return{ruleScanner:n.compileAG(e,t,r,i),findOptions:0}}function ibe(n,e,t,r,i){return{ruleScanner:n.compileWhileAG(e,t,r,i),findOptions:0}}function em(n,e,t,r,i,s,o){if(s.length===0)return;const a=e.content,l=Math.min(s.length,o.length),c=[],u=o[0].end;for(let h=0;hu)break;for(;c.length>0&&c[c.length-1].endPos<=g.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,g.start):i.produce(r,g.start),d.retokenizeCapturedWithRuleId){const v=d.getName(a,o),C=r.contentNameScopesList.pushAttributed(v,n),A=d.getContentName(a,o),b=C.pushAttributed(A,n),m=r.push(d.retokenizeCapturedWithRuleId,g.start,-1,!1,null,C,b),E=n.createOnigString(a.substring(0,g.end));ute(n,E,t&&g.start===0,g.start,m,i,!1,0),ste(E);continue}const f=d.getName(a,o);if(f!==null){const C=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(f,n);c.push(new sbe(C,g.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var sbe=class{scopes;endPos;constructor(n,e){this.scopes=n,this.endPos=e}};function obe(n,e,t,r,i,s,o,a){return new lbe(n,e,t,r,i,s,o,a)}function wV(n,e,t,r,i){const s=y3(e,w3),o=lte.getCompiledRuleId(t,r,i.repository);for(const a of s)n.push({debugSelector:e,matcher:a.matcher,ruleId:o,grammar:i,priority:a.priority})}function w3(n,e){if(e.length{for(let i=t;it&&n.substr(0,t)===e&&n[t]==="."}var lbe=class{constructor(n,e,t,r,i,s,o,a){if(this._rootScopeName=n,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new Q3e(t,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=SV(e,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=y3(l,w3);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:i[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},e=[],t=this._rootScopeName,r=n.lookup(t);if(r){const i=r.injections;if(i)for(let o in i)wV(e,o,i[o],this,r);const s=this._grammarRepository.injections(t);s&&s.forEach(o=>{const a=this.getExternalGrammar(o);if(a){const l=a.injectionSelector;l&&wV(e,l,a,this,a)}})}return e.sort((i,s)=>i.priority-s.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const e=++this._lastRuleId,t=n(e);return this._ruleId2desc[e]=t,t}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,e){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const t=this._grammarRepository.lookup(n);if(t)return this._includedGrammars[n]=SV(t,e&&e.$base),this._includedGrammars[n]}}tokenizeLine(n,e,t=0){const r=this._tokenize(n,e,!1,t);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(n,e,t=0){const r=this._tokenize(n,e,!0,t);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(n,e,t,r){this._rootId===-1&&(this._rootId=lte.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!e||e===Ix.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),h=L2.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let g;d?g=bm.createRootAndLookUpScopeName(d,h,this):g=bm.createRoot("unknown",h),e=new Ix(null,this._rootId,-1,-1,!1,null,g,g)}else i=!1,e.reset();n=n+` `;const s=this.createOnigString(n),o=s.content.length,a=new ube(t,n,this._tokenTypeMatchers,this.balancedBracketSelectors),l=ute(this,s,i,0,e,a,!0,r);return ste(s),{lineLength:o,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function SV(n,e){return n=x3e(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=e||n.repository.$self,n}var bm=class nu{constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}static fromExtension(e,t){let r=e,i=e?.scopePath??null;for(const s of t)i=S7.push(i,s.scopeNames),r=new nu(r,i,s.encodedTokenAttributes);return r}static createRoot(e,t){return new nu(null,new S7(null,e),t)}static createRootAndLookUpScopeName(e,t,r){const i=r.getMetadataForScope(e),s=new S7(null,e),o=r.themeProvider.themeMatch(s),a=nu.mergeAttributes(t,i,o);return new nu(null,s,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return nu.equals(this,e)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,r){let i=-1,s=0,o=0;return r!==null&&(i=r.fontStyle,s=r.foregroundId,o=r.backgroundId),L2.set(e,t.languageId,t.tokenType,null,i,s,o)}pushAttributed(e,t){if(e===null)return this;if(e.indexOf(" ")===-1)return nu._pushAttributed(this,e,t);const r=e.split(/ /g);let i=this;for(const s of r)i=nu._pushAttributed(i,s,t);return i}static _pushAttributed(e,t,r){const i=r.getMetadataForScope(t),s=e.scopePath.push(t),o=r.themeProvider.themeMatch(s),a=nu.mergeAttributes(e.tokenAttributes,i,o);return new nu(e,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const t=[];let r=this;for(;r&&r!==e;)t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?t.reverse():void 0}},Ix=class rf{constructor(e,t,r,i,s,o,a,l){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}_stackElementBrand=void 0;static NULL=new rf(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:rf._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?bm.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){rf._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,t,r,i,s,o,a){return new rf(this,e,t,r,i,s,o,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){const e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new rf(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(e,t){const r=bm.fromExtension(e?.nameScopesList??null,t.nameScopesList);return new rf(e,t.ruleId,t.enterPos??-1,t.anchorPos??-1,t.beginRuleCapturedEOL,t.endRule,r,bm.fromExtension(r,t.contentNameScopesList))}},cbe=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(n,e){this.balancedBracketScopes=n.flatMap(t=>t==="*"?(this.allowAny=!0,[]):y3(t,w3).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(t=>y3(t,w3).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const e of this.unbalancedBracketScopes)if(e(n))return!1;for(const e of this.balancedBracketScopes)if(e(n))return!0;return this.allowAny}},ube=class{constructor(n,e,t,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=n,this._tokenTypeOverrides=t,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(n,e){this.produceFromScopes(n.contentNameScopesList,e)}produceFromScopes(n,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=n?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=n?.getScopeNames()??[];for(const o of this._tokenTypeOverrides)o.matcher(s)&&(r=L2.set(r,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(s))}if(i&&(r=L2.set(r,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=e;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=e;return}const t=n?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:t}),this._lastTokenEndIndex=e}getResult(n,e){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===e-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,e){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===e-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,e),this._binaryTokens[this._binaryTokens.length-2]=0);const t=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r0;)o.Q.map(a=>this._loadSingleGrammar(a.scopeName)),o.processQueue();return this._grammarForScopeName(e,t,r,i,s)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,i=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,i)}_grammarForScopeName(e,t=0,r=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(e,t,r,i,s)}},yx=Ix.NULL;const fbe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class dA{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}dA.prototype.normal={};dA.prototype.property={};dA.prototype.space=void 0;function dte(n,e){const t={},r={};for(const i of n)Object.assign(t,i.property),Object.assign(r,i.normal);return new dA(t,r,e)}function bx(n){return n.toLowerCase()}class dl{constructor(e,t){this.attribute=t,this.property=e}}dl.prototype.attribute="";dl.prototype.booleanish=!1;dl.prototype.boolean=!1;dl.prototype.commaOrSpaceSeparated=!1;dl.prototype.commaSeparated=!1;dl.prototype.defined=!1;dl.prototype.mustUseProperty=!1;dl.prototype.number=!1;dl.prototype.overloadedBoolean=!1;dl.prototype.property="";dl.prototype.spaceSeparated=!1;dl.prototype.space=void 0;let pbe=0;const Ln=ap(),go=ap(),fte=ap(),Jt=ap(),fs=ap(),u2=ap(),Sl=ap();function ap(){return 2**++pbe}const Ex=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ln,booleanish:go,commaOrSpaceSeparated:Sl,commaSeparated:u2,number:Jt,overloadedBoolean:fte,spaceSeparated:fs},Symbol.toStringTag,{value:"Module"})),x7=Object.keys(Ex);class hM extends dl{constructor(e,t,r,i){let s=-1;if(super(e,t),TV(this,"space",i),typeof r=="number")for(;++s4&&t.slice(0,4)==="data"&&Cbe.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(xV,ybe);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!xV.test(s)){let o=s.replace(mbe,Ibe);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=hM}return new i(r,e)}function Ibe(n){return"-"+n.toLowerCase()}function ybe(n){return n.charAt(1).toUpperCase()}const bbe=dte([pte,gbe,mte,Cte,Ate],"html"),Ite=dte([pte,vbe,mte,Cte,Ate],"svg"),_V={}.hasOwnProperty;function Ebe(n,e){const t=e||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&_V.call(i,n)){const l=String(i[n]);o=_V.call(a,l)?a[l]:r.unknown}if(o)return o.call(this,i,...s)}return r.handlers=t.handlers||{},r.invalid=t.invalid,r.unknown=t.unknown,r}const wbe=/["&'<>`]/g,Sbe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Tbe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,xbe=/[|\\{}()[\]^$+*?.]/g,PV=new WeakMap;function _be(n,e){if(n=n.replace(e.subset?Pbe(e.subset):wbe,r),e.subset||e.escapeOnly)return n;return n.replace(Sbe,t).replace(Tbe,r);function t(i,s,o){return e.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),e)}function r(i,s,o){return e.format(i.charCodeAt(0),o.charCodeAt(s+1),e)}}function Pbe(n){let e=PV.get(n);return e||(e=Obe(n),PV.set(n,e)),e}function Obe(n){const e=[];let t=-1;for(;++t",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Dbe=["cent","copy","divide","gt","lt","not","para","times"],yte={}.hasOwnProperty,wx={};let L5;for(L5 in _7)yte.call(_7,L5)&&(wx[_7[L5]]=L5);const zbe=/[^\dA-Za-z]/;function Rbe(n,e,t,r){const i=String.fromCharCode(n);if(yte.call(wx,i)){const s=wx[i],o="&"+s;return t&&Nbe.includes(s)&&!Dbe.includes(s)&&(!r||e&&e!==61&&zbe.test(String.fromCharCode(e)))?o:o+";"}return""}function Vbe(n,e,t){let r=kbe(n,e,t.omitOptionalSemicolons),i;if((t.useNamedReferences||t.useShortestReferences)&&(i=Rbe(n,e,t.omitOptionalSemicolons,t.attribute)),(t.useShortestReferences||!i)&&t.useShortestReferences){const s=Lbe(n,e,t.omitOptionalSemicolons);s.length|^->||--!>|"],jbe=["<",">"];function Fbe(n,e,t,r){return r.settings.bogusComments?"":"";function i(s){return h2(s,Object.assign({},r.settings.characterReferences,{subset:jbe}))}}function Ube(n,e,t,r){return""}function OV(n,e){const t=String(n);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(e);for(;i!==-1;)r++,i=t.indexOf(e,i+e.length);return r}function Wbe(n,e){const t=e||{};return(n[n.length-1]===""?[...n,""]:n).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}function Gbe(n){return n.join(" ").trim()}const Kbe=/[ \t\n\f\r]/g;function dM(n){return typeof n=="object"?n.type==="text"?MV(n.value):!1:MV(n)}function MV(n){return n.replace(Kbe,"")===""}const Do=Ete(1),bte=Ete(-1),qbe=[];function Ete(n){return e;function e(t,r,i){const s=t?t.children:qbe;let o=(r||0)+n,a=s[o];if(!i)for(;a&&dM(a);)o+=n,a=s[o];return a}}const Ybe={}.hasOwnProperty;function wte(n){return e;function e(t,r,i){return Ybe.call(n,t.tagName)&&n[t.tagName](t,r,i)}}const fM=wte({body:Zbe,caption:P7,colgroup:P7,dd:t9e,dt:e9e,head:P7,html:Xbe,li:Jbe,optgroup:r9e,option:n9e,p:Qbe,rp:kV,rt:kV,tbody:s9e,td:$V,tfoot:o9e,th:$V,thead:i9e,tr:a9e});function P7(n,e,t){const r=Do(t,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&dM(r.value.charAt(0)))}function Xbe(n,e,t){const r=Do(t,e);return!r||r.type!=="comment"}function Zbe(n,e,t){const r=Do(t,e);return!r||r.type!=="comment"}function Qbe(n,e,t){const r=Do(t,e);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!t||!(t.type==="element"&&(t.tagName==="a"||t.tagName==="audio"||t.tagName==="del"||t.tagName==="ins"||t.tagName==="map"||t.tagName==="noscript"||t.tagName==="video"))}function Jbe(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&r.tagName==="li"}function e9e(n,e,t){const r=Do(t,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function t9e(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function kV(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function r9e(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function n9e(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function i9e(n,e,t){const r=Do(t,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function s9e(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function o9e(n,e,t){return!Do(t,e)}function a9e(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&r.tagName==="tr"}function $V(n,e,t){const r=Do(t,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const l9e=wte({body:h9e,colgroup:d9e,head:u9e,html:c9e,tbody:f9e});function c9e(n){const e=Do(n,-1);return!e||e.type!=="comment"}function u9e(n){const e=new Set;for(const r of n.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const t=n.children[0];return!t||t.type==="element"}function h9e(n){const e=Do(n,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&dM(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function d9e(n,e,t){const r=bte(t,e),i=Do(n,-1,!0);return t&&r&&r.type==="element"&&r.tagName==="colgroup"&&fM(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function f9e(n,e,t){const r=bte(t,e),i=Do(n,-1);return t&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&fM(r,t.children.indexOf(r),t)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const N5={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 \f\r "&'/<=>\``.split("")]],unquoted:[[` \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function p9e(n,e,t,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(n.tagName.toLowerCase());const a=[];let l;i.space==="html"&&n.tagName==="svg"&&(r.schema=Ite);const c=g9e(r,n.properties),u=r.all(i.space==="html"&&n.tagName==="template"?n.content:n);return r.schema=i,u&&(o=!1),(c||!s||!l9e(n,e,t))&&(a.push("<",n.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!o&&(!s||!fM(n,e,t))&&a.push(""),a.join("")}function g9e(n,e){const t=[];let r=-1,i;if(e){for(i in e)if(e[i]!==null&&e[i]!==void 0){const s=v9e(n,i,e[i]);s&&t.push(s)}}for(;++rOV(t,n.alternative)&&(o=n.alternative),a=o+h2(t,Object.assign({},n.settings.characterReferences,{subset:(o==="'"?N5.single:N5.double)[i][s],attribute:!0}))+o),l+(a&&"="+a))}const m9e=["<","&"];function Ste(n,e,t,r){return t&&t.type==="element"&&(t.tagName==="script"||t.tagName==="style")?n.value:h2(n.value,Object.assign({},r.settings.characterReferences,{subset:m9e}))}function C9e(n,e,t,r){return r.settings.allowDangerousHtml?n.value:Ste(n,e,t,r)}function A9e(n,e,t,r){return r.all(n)}const I9e=Ebe("type",{invalid:y9e,unknown:b9e,handlers:{comment:Fbe,doctype:Ube,element:p9e,raw:C9e,root:A9e,text:Ste}});function y9e(n){throw new Error("Expected node, not `"+n+"`")}function b9e(n){const e=n;throw new Error("Cannot compile unknown node `"+e.type+"`")}const E9e={},w9e={},S9e=[];function T9e(n,e){const t=e||E9e,r=t.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:x9e,all:_9e,settings:{omitOptionalTags:t.omitOptionalTags||!1,allowParseErrors:t.allowParseErrors||!1,allowDangerousCharacters:t.allowDangerousCharacters||!1,quoteSmart:t.quoteSmart||!1,preferUnquoted:t.preferUnquoted||!1,tightAttributes:t.tightAttributes||!1,upperDoctype:t.upperDoctype||!1,tightDoctype:t.tightDoctype||!1,bogusComments:t.bogusComments||!1,tightCommaSeparatedLists:t.tightCommaSeparatedLists||!1,tightSelfClosing:t.tightSelfClosing||!1,collapseEmptyAttributes:t.collapseEmptyAttributes||!1,allowDangerousHtml:t.allowDangerousHtml||!1,voids:t.voids||fbe,characterReferences:t.characterReferences||w9e,closeSelfClosing:t.closeSelfClosing||!1,closeEmptyElements:t.closeEmptyElements||!1},schema:t.space==="svg"?Ite:bbe,quote:r,alternative:i}.one(Array.isArray(n)?{type:"root",children:n}:n,void 0,void 0)}function x9e(n,e,t){return I9e(n,e,t,this)}function _9e(n){const e=[],t=n&&n.children||S9e;let r=-1;for(;++re.default||e)}function pM(n){return!n||["plaintext","txt","text","plain"].includes(n)}function O9e(n){return n==="ansi"||pM(n)}function gM(n){return n==="none"}function M9e(n){return gM(n)}function xte(n,e){if(!e)return n;n.properties||={},n.properties.class||=[],typeof n.properties.class=="string"&&(n.properties.class=n.properties.class.split(/\s+/g)),Array.isArray(n.properties.class)||(n.properties.class=[]);const t=Array.isArray(e)?e:e.split(/\s+/g);for(const r of t)r&&!n.properties.class.includes(r)&&n.properties.class.push(r);return n}function s9(n,e=!1){const t=n.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;si);function t(i){if(i===n.length)return{line:e.length-1,character:e[e.length-1].length};let s=i,o=0;for(const a of e){if(st&&r.push({...n,content:n.content.slice(t,i),offset:n.offset+t}),t=i;return tr-i);return t.length?n.map(r=>r.flatMap(i=>{const s=t.filter(o=>i.offseto-i.offset).sort((o,a)=>o-a);return s.length?$9e(i,s):i})):n}function N9e(n,e,t,r){const i={content:n.content,explanation:n.explanation,offset:n.offset},s=e.map(l=>_te(n.variants[l])),o=new Set(s.flatMap(l=>Object.keys(l))),a={};return s.forEach((l,c)=>{for(const u of o){const h=l[u]||"inherit";if(c===0&&r)a[u]=h;else{const d=u==="color"?"":u==="background-color"?"-bg":`-${u}`,g=t+e[c]+(u==="color"?"":d);a[g]=h}}}),i.htmlStyle=a,i}function _te(n){const e={};return n.color&&(e.color=n.color),n.bgColor&&(e["background-color"]=n.bgColor),n.fontStyle&&(n.fontStyle&i1.Italic&&(e["font-style"]="italic"),n.fontStyle&i1.Bold&&(e["font-weight"]="bold"),n.fontStyle&i1.Underline&&(e["text-decoration"]="underline")),e}function D9e(n){return typeof n=="string"?n:Object.entries(n).map(([e,t])=>`${e}:${t}`).join(";")}const Pte=new WeakMap;function o9(n,e){Pte.set(n,e)}function IC(n){return Pte.get(n)}class I0{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,t){return new I0(Object.fromEntries(P9e(t).map(r=>[r,yx])),e)}constructor(...e){if(e.length===2){const[t,r]=e;this.lang=r,this._stacks=t}else{const[t,r,i]=e;this.lang=r,this._stacks={[i]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return z9e(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function z9e(n){const e=[],t=new Set;function r(i){if(t.has(i))return;t.add(i);const s=i?.nameScopesList?.scopeName;s&&e.push(s),i.parent&&r(i.parent)}return r(n),e}function R9e(n,e){if(!(n instanceof I0))throw new Ia("Invalid grammar state");return n.getInternalStack(e)}function V9e(){const n=new WeakMap;function e(t){if(!n.has(t.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>t.source.length)throw new Ia(`Invalid decoration offset: ${o}. Code length: ${t.source.length}`);return{...i.indexToPos(o),offset:o}}else{const a=i.lines[o.line];if(a===void 0)throw new Ia(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${i.lines.length}`);if(o.character<0||o.character>a.length)throw new Ia(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${a.length}`);return{...o,offset:i.posToIndex(o.line,o.character)}}};const i=k9e(t.source),s=(t.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));H9e(s),n.set(t.meta,{decorations:s,converter:i,source:t.source})}return n.get(t.meta)}return{name:"shiki:decorations",tokens(t){if(!this.options.decorations?.length)return;const i=e(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]);return L9e(t,i)},code(t){if(!this.options.decorations?.length)return;const r=e(this),i=Array.from(t.children).filter(u=>u.type==="element"&&u.tagName==="span");if(i.length!==r.converter.lines.length)throw new Ia(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function s(u,h,d,g){const f=i[u];let v="",C=-1,A=-1;if(h===0&&(C=0),d===0&&(A=0),d===Number.POSITIVE_INFINITY&&(A=f.children.length),C===-1||A===-1)for(let m=0;mv);return u.tagName=h.tagName||"span",u.properties={...u.properties,...g,class:u.properties.class},h.properties?.class&&xte(u,h.properties.class),u=f(u,d)||u,u}const l=[],c=r.decorations.sort((u,h)=>h.start.offset-u.start.offset||u.end.offset-h.end.offset);for(const u of c){const{start:h,end:d}=u;if(h.line===d.line)s(h.line,h.character,d.character,u);else if(h.lineo(g,u));s(d.line,0,d.character,u)}}l.forEach(u=>u())}}}function H9e(n){for(let e=0;et.end.offset)throw new Ia(`Invalid decoration range: ${JSON.stringify(t.start)} - ${JSON.stringify(t.end)}`);for(let r=e+1;rNumber.parseInt(r));return t.length!==3||t.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:t}}else if(e==="5"){const t=n.shift();if(t)return{type:"table",index:Number(t)}}}function F9e(n){const e=[];for(;n.length>0;){const t=n.shift();if(!t)continue;const r=Number.parseInt(t);if(!Number.isNaN(r))if(r===0)e.push({type:"resetAll"});else if(r<=9)O7[r]&&e.push({type:"setDecoration",value:O7[r]});else if(r<=29){const i=O7[r-20];i&&(e.push({type:"resetDecoration",value:i}),i==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)e.push({type:"setForegroundColor",value:{type:"named",name:uf[r-30]}});else if(r===38){const i=LV(n);i&&e.push({type:"setForegroundColor",value:i})}else if(r===39)e.push({type:"resetForegroundColor"});else if(r<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:uf[r-40]}});else if(r===48){const i=LV(n);i&&e.push({type:"setBackgroundColor",value:i})}else r===49?e.push({type:"resetBackgroundColor"}):r===53?e.push({type:"setDecoration",value:"overline"}):r===55?e.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?e.push({type:"setForegroundColor",value:{type:"named",name:uf[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:uf[r-100+8]}})}return e}function U9e(){let n=null,e=null,t=new Set;return{parse(r){const i=[];let s=0;do{const o=j9e(r,s),a=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(a.length>0&&i.push({value:a,foreground:n,background:e,decorations:new Set(t)}),o.sequence){const l=F9e(o.sequence);for(const c of l)c.type==="resetAll"?(n=null,e=null,t.clear()):c.type==="resetForegroundColor"?n=null:c.type==="resetBackgroundColor"?e=null:c.type==="resetDecoration"&&t.delete(c.value);for(const c of l)c.type==="setForegroundColor"?n=c.value:c.type==="setBackgroundColor"?e=c.value:c.type==="setDecoration"&&t.add(c.value)}s=o.position}while(sMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function i(){if(r)return r;r=[];for(let c=0;c[a,n.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),o=U9e();return i.map(a=>o.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?s.value(l.background):n.bg,u=l.foreground?s.value(l.foreground):n.fg):(c=l.foreground?s.value(l.foreground):n.fg,u=l.background?s.value(l.background):void 0),c=cf(c,r),u=cf(u,r),l.decorations.has("dim")&&(c=q9e(c));let h=i1.None;return l.decorations.has("bold")&&(h|=i1.Bold),l.decorations.has("italic")&&(h|=i1.Italic),l.decorations.has("underline")&&(h|=i1.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:h}}))}function q9e(n){const e=n.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(e)if(e[3]){const r=Math.round(Number.parseInt(e[3],16)/2).toString(16).padStart(2,"0");return`#${e[1]}${e[2]}${r}`}else return e[2]?`#${e[1]}${e[2]}80`:`#${Array.from(e[1]).map(r=>`${r}${r}`).join("")}80`;const t=n.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return t?`var(${t[1]}-dim)`:n}function vM(n,e,t={}){const{lang:r="text",theme:i=n.getLoadedThemes()[0]}=t;if(pM(r)||gM(i))return s9(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:s,colorMap:o}=n.setTheme(i);if(r==="ansi")return K9e(s,e,t);const a=n.getLanguage(r);if(t.grammarState){if(t.grammarState.lang!==a.name)throw new Ia(`Grammar state language "${t.grammarState.lang}" does not match highlight language "${a.name}"`);if(!t.grammarState.themes.includes(s.name))throw new Ia(`Grammar state themes "${t.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return X9e(e,a,s,o,t)}function Y9e(...n){if(n.length===2)return IC(n[1]);const[e,t,r={}]=n,{lang:i="text",theme:s=e.getLoadedThemes()[0]}=r;if(pM(i)||gM(s))throw new Ia("Plain language does not have grammar state");if(i==="ansi")throw new Ia("ANSI language does not have grammar state");const{theme:o,colorMap:a}=e.setTheme(s),l=e.getLanguage(i);return new I0(x3(t,l,o,a,r).stateStack,l.name,o.name)}function X9e(n,e,t,r,i){const s=x3(n,e,t,r,i),o=new I0(x3(n,e,t,r,i).stateStack,e.name,t.name);return o9(s.tokens,o),s.tokens}function x3(n,e,t,r,i){const s=S3(t,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500}=i,l=s9(n);let c=i.grammarState?R9e(i.grammarState,t.name)??yx:i.grammarContextCode!=null?x3(i.grammarContextCode,e,t,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:yx,u=[];const h=[];for(let d=0,g=l.length;d0&&f.length>=o){u=[],h.push([{content:f,offset:v,color:"",fontStyle:0}]);continue}let C,A,b;i.includeExplanation&&(C=e.tokenizeLine(f,c,a),A=C.tokens,b=0);const m=e.tokenizeLine2(f,c,a),E=m.tokens.length/2;for(let I=0;ID.trim());break;case"object":W=N.scope;break;default:continue}U.push({settings:N,selectors:W.map(D=>D.split(/ /))})}B.explanation=[];let H=0;for(;S+H({scopeName:e}))}function Q9e(n,e){const t=[];for(let r=0,i=e.length;r=0&&i>=0;)NV(n[r],t[i])&&(r-=1),i-=1;return r===-1}function e6e(n,e,t){const r=[];for(const{selectors:i,settings:s}of n)for(const o of i)if(J9e(o,e,t)){r.push(s);break}return r}function Mte(n,e,t){const r=Object.entries(t.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),i=r.map(l=>{const c=vM(n,e,{...t,theme:l.theme}),u=IC(c),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:u,theme:h}}),s=t6e(...i.map(l=>l.tokens)),o=s[0].map((l,c)=>l.map((u,h)=>{const d={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in t&&t.includeExplanation&&(d.explanation=u.explanation),s.forEach((g,f)=>{const{content:v,explanation:C,offset:A,...b}=g[c][h];d.variants[r[f].color]=b}),d})),a=i[0].state?new I0(Object.fromEntries(i.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),i[0].state.lang):void 0;return a&&o9(o,a),o}function t6e(...n){const e=n.map(()=>[]),t=n.length;for(let r=0;rl[r]),s=e.map(()=>[]);e.forEach((l,c)=>l.push(s[c]));const o=i.map(()=>0),a=i.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;cC[1]).map(C=>({color:C[0],theme:C[1]})).sort((C,A)=>C.color===c?-1:A.color===c?1:0);if(h.length===0)throw new Ia("`themes` option must not be empty");const d=Mte(n,e,t);if(l=IC(d),c&&!h.find(C=>C.color===c))throw new Ia(`\`themes\` option must contain the defaultColor key \`${c}\``);const g=h.map(C=>n.getTheme(C.theme)),f=h.map(C=>C.color);s=d.map(C=>C.map(A=>N9e(A,f,u,c))),l&&o9(s,l);const v=h.map(C=>S3(C.theme,t));i=h.map((C,A)=>(A===0&&c?"":`${u+C.color}:`)+(cf(g[A].fg,v[A])||"inherit")).join(";"),r=h.map((C,A)=>(A===0&&c?"":`${u+C.color}-bg:`)+(cf(g[A].bg,v[A])||"inherit")).join(";"),o=`shiki-themes ${g.map(C=>C.name).join(" ")}`,a=c?void 0:[i,r].join(";")}else if("theme"in t){const c=S3(t.theme,t);s=vM(n,e,t);const u=n.getTheme(t.theme);r=cf(u.bg,c),i=cf(u.fg,c),o=u.name,l=IC(s)}else throw new Ia("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:i,bg:r,themeName:o,rootStyle:a,grammarState:l}}function P3(n,e,t,r={meta:{},options:t,codeToHast:(i,s)=>P3(n,i,s),codeToTokens:(i,s)=>_3(n,i,s)}){let i=e;for(const g of T3(t))i=g.preprocess?.call(r,i,t)||i;let{tokens:s,fg:o,bg:a,themeName:l,rootStyle:c,grammarState:u}=_3(n,i,t);const{mergeWhitespaces:h=!0}=t;h===!0?s=n6e(s):h==="never"&&(s=i6e(s));const d={...r,get source(){return i}};for(const g of T3(t))s=g.tokens?.call(d,s)||s;return r6e(s,{...t,fg:o,bg:a,themeName:l,rootStyle:c},d,u)}function r6e(n,e,t,r=IC(n)){const i=T3(e),s=[],o={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=e;let c={type:"element",tagName:"pre",properties:{class:`shiki ${e.themeName||""}`,style:e.rootStyle||`background-color:${e.bg};color:${e.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(e.meta||{})).filter(([f])=>!f.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:s};const h=[],d={...t,structure:a,addClassToHast:xte,get source(){return t.source},get tokens(){return n},get options(){return e},get root(){return o},get pre(){return c},get code(){return u},get lines(){return h}};if(n.forEach((f,v)=>{v&&(a==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:` `}));let C={type:"element",tagName:"span",properties:{class:"line"},children:[]},A=0;for(const b of f){let m={type:"element",tagName:"span",properties:{...b.htmlAttrs},children:[{type:"text",value:b.content}]};const E=D9e(b.htmlStyle||_te(b));E&&(m.properties.style=E);for(const I of i)m=I?.span?.call(d,m,v+1,A,C,b)||m;a==="inline"?o.children.push(m):a==="classic"&&C.children.push(m),A+=b.content.length}if(a==="classic"){for(const b of i)C=b?.line?.call(d,C,v+1)||C;h.push(C),s.push(C)}}),a==="classic"){for(const f of i)u=f?.code?.call(d,u)||u;c.children.push(u);for(const f of i)c=f?.pre?.call(d,c)||c;o.children.push(c)}let g=o;for(const f of i)g=f?.root?.call(d,g)||g;return r&&o9(g,r),g}function n6e(n){return n.map(e=>{const t=[];let r="",i=0;return e.forEach((s,o)=>{const l=!(s.fontStyle&&s.fontStyle&i1.Underline);l&&s.content.match(/^\s+$/)&&e[o+1]?(i||(i=s.offset),r+=s.content):r?(l?t.push({...s,offset:i,content:r+s.content}):t.push({content:r,offset:i},s),i=0,r=""):t.push(s)}),t})}function i6e(n){return n.map(e=>e.flatMap(t=>{if(t.content.match(/^\s+$/))return t;const r=t.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return t;const[,i,s,o]=r;if(!i&&!o)return t;const a=[{...t,offset:t.offset+i.length,content:s}];return i&&a.unshift({content:i,offset:t.offset}),o&&a.push({content:o,offset:t.offset+i.length+s.length}),a}))}const s6e=T9e;function o6e(n,e,t){const r={meta:{},options:t,codeToHast:(s,o)=>P3(n,s,o),codeToTokens:(s,o)=>_3(n,s,o)};let i=s6e(P3(n,e,t,r));for(const s of T3(t))i=s.postprocess?.call(r,i,t)||i;return i}const DV={light:"#333333",dark:"#bbbbbb"},zV={light:"#fffffe",dark:"#1e1e1e"},RV="__shiki_resolved";function mM(n){if(n?.[RV])return n;const e={...n};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:t,fg:r}=e;if(!t||!r){const a=e.settings?e.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(t=a.settings.background),!r&&e?.colors?.["editor.foreground"]&&(r=e.colors["editor.foreground"]),!t&&e?.colors?.["editor.background"]&&(t=e.colors["editor.background"]),r||(r=e.type==="light"?DV.light:DV.dark),t||(t=e.type==="light"?zV.light:zV.dark),e.fg=r,e.bg=t}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let i=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);i+=1;const l=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${l}`]?o(a):(s.set(a,l),l)}e.settings=e.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const u={...a,settings:{...a.settings}};if(l){const h=o(a.settings.foreground);e.colorReplacements[h]=a.settings.foreground,u.settings.foreground=h}if(c){const h=o(a.settings.background);e.colorReplacements[h]=a.settings.background,u.settings.background=h}return u});for(const a of Object.keys(e.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!e.colors[a]?.startsWith("#")){const l=o(e.colors[a]);e.colorReplacements[l]=e.colors[a],e.colors[a]=l}return Object.defineProperty(e,RV,{enumerable:!1,writable:!1,value:!0}),e}async function kte(n){return Array.from(new Set((await Promise.all(n.filter(e=>!O9e(e)).map(async e=>await Tte(e).then(t=>Array.isArray(t)?t:[t])))).flat()))}async function $te(n){return(await Promise.all(n.map(async t=>M9e(t)?null:mM(await Tte(t))))).filter(t=>!!t)}let a6e=3;function l6e(n,e=3){e>a6e||console.trace(`[SHIKI DEPRECATE]: ${n}`)}class Ng extends Error{constructor(e){super(e),this.name="ShikiError"}}class c6e extends dbe{constructor(e,t,r,i={}){super(e),this._resolver=e,this._themes=t,this._langs=r,this._alias=i,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=mM(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=I3.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){if(this._alias[e]){const t=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],t.has(e))throw new Ng(`Circular alias \`${Array.from(t).join(" -> ")} -> ${e}\``);t.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const i=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(i.name=e.name,this._resolvedGrammars.set(e.name,i),e.aliases&&e.aliases.forEach(s=>{this._alias[s]=e.name}),this._loadedLanguagesCache=null,t.size)for(const s of t)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const i of e)this.resolveEmbeddedLanguages(i);const t=Array.from(this._langGraph.entries()),r=t.filter(([i,s])=>!s);if(r.length){const i=t.filter(([s,o])=>o&&o.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(s=>!r.includes(s));throw new Ng(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of t)this._resolver.addLanguage(s);for(const[i,s]of t)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){if(this._langMap.set(e.name,e),this._langGraph.set(e.name,e),e.embeddedLangs)for(const t of e.embeddedLangs)this._langGraph.set(t,this._langMap.get(t))}}class u6e{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},t.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let r=[];for(let i=1;i<=t.length;i++){const s=t.slice(0,i).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let Dv=0;function h6e(n){Dv+=1,n.warnings!==!1&&Dv>=10&&Dv%10===0&&console.warn(`[Shiki] ${Dv} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let e=!1;if(!n.engine)throw new Ng("`engine` option is required for synchronous mode");const t=(n.langs||[]).flat(1),r=(n.themes||[]).flat(1).map(mM),i=new u6e(n.engine,t),s=new c6e(i,r,t,n.langAlias);let o;function a(b){C();const m=s.getGrammar(typeof b=="string"?b:b.name);if(!m)throw new Ng(`Language \`${b}\` not found, you may need to load it first`);return m}function l(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};C();const m=s.getTheme(b);if(!m)throw new Ng(`Theme \`${b}\` not found, you may need to load it first`);return m}function c(b){C();const m=l(b);o!==b&&(s.setTheme(m),o=b);const E=s.getColorMap();return{theme:m,colorMap:E}}function u(){return C(),s.getLoadedThemes()}function h(){return C(),s.getLoadedLanguages()}function d(...b){C(),s.loadLanguages(b.flat(1))}async function g(...b){return d(await kte(b))}function f(...b){C();for(const m of b.flat(1))s.loadTheme(m)}async function v(...b){return C(),f(await $te(b))}function C(){if(e)throw new Ng("Shiki instance has been disposed")}function A(){e||(e=!0,s.dispose(),Dv-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:h,loadLanguage:g,loadLanguageSync:d,loadTheme:v,loadThemeSync:f,dispose:A,[Symbol.dispose]:A}}async function d6e(n){n.engine||l6e("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,t,r]=await Promise.all([$te(n.themes||[]),kte(n.langs||[]),n.engine]);return h6e({...n,themes:e,langs:t,engine:r})}async function f6e(n){const e=await d6e(n);return{getLastGrammarState:(...t)=>Y9e(e,...t),codeToTokensBase:(t,r)=>vM(e,t,r),codeToTokensWithThemes:(t,r)=>Mte(e,t,r),codeToTokens:(t,r)=>_3(e,t,r),codeToHast:(t,r)=>P3(e,t,r),codeToHtml:(t,r)=>o6e(e,t,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}const Uo=String.raw,CM=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]);function p6e(n,e,t){return n.has(e)||n.set(e,t),n.get(e)}function cu(n,e){if(!n)throw new Error(e??"Value expected");return n}const Qr={Alternator:"Alternator",Assertion:"Assertion",Backreference:"Backreference",Character:"Character",CharacterClassClose:"CharacterClassClose",CharacterClassHyphen:"CharacterClassHyphen",CharacterClassIntersector:"CharacterClassIntersector",CharacterClassOpen:"CharacterClassOpen",CharacterSet:"CharacterSet",Directive:"Directive",GroupClose:"GroupClose",GroupOpen:"GroupOpen",Subroutine:"Subroutine",Quantifier:"Quantifier",EscapedNumber:"EscapedNumber"},so={any:"any",digit:"digit",dot:"dot",grapheme:"grapheme",hex:"hex",newline:"newline",posix:"posix",property:"property",space:"space",word:"word"},AM={flags:"flags",keep:"keep"},ma={absent_repeater:"absent_repeater",atomic:"atomic",capturing:"capturing",group:"group",lookahead:"lookahead",lookbehind:"lookbehind"},_g={greedy:"greedy",lazy:"lazy",possessive:"possessive"},VV=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]),Lte=Uo`\[\^?`,Nte=`c.? | C(?:-.?)?|${Uo`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Uo`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Uo`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Uo`o\{[^\}]*\}?`}|${Uo`\d{1,3}`}`,Dte=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,D5=new RegExp(Uo` \\ (?: ${Nte} | [gk]<[^>]*>? | [gk]'[^']*'? | . ) | \( (?: \? (?: [:=!>({] | <[=!] | <[^>]*> | '[^']*' | ~\|? | #(?:[^)\\]|\\.?)* | [^:)]*[:)] )? | \* )? | ${Dte.source} | ${Lte} | . `.replace(/\s+/g,""),"gsu"),M7=new RegExp(Uo` \\ (?: ${Nte} | . ) | \[:(?:\^?\p{Alpha}+|\^):\] | ${Lte} | && | . `.replace(/\s+/g,""),"gsu");function g6e(n,e={}){const t={flags:"",...e,rules:{captureGroup:!1,singleline:!1,...e.rules}};if(typeof n!="string")throw new Error("String expected as pattern");const r=w6e(t.flags),i=[r.extended],s={captureGroup:t.rules.captureGroup,getCurrentModX:()=>i.at(-1),numOpenGroups:0,popModX(){i.pop()},pushModX(h){i.push(h)},replaceCurrentModX(h){i[i.length-1]=h},singleline:t.rules.singleline};let o=[],a;for(D5.lastIndex=0;a=D5.exec(n);){const h=v6e(s,n,a[0],D5.lastIndex);h.tokens?o.push(...h.tokens):h.token&&o.push(h.token),h.lastIndex!==void 0&&(D5.lastIndex=h.lastIndex)}const l=[];let c=0;o.forEach(h=>{h.type===Qr.GroupOpen&&(h.kind===ma.capturing?h.number=++c:h.raw==="("&&l.push(h))}),c||l.forEach((h,d)=>{h.kind=ma.capturing,h.number=d+1});const u=c||l.length;return o=o.map(h=>h.type===Qr.EscapedNumber?T6e(h,u):h).flat(),{tokens:o,flags:r}}function v6e(n,e,t,r){const[i,s]=t;if(i==="["){const o=m6e(e,t,r);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(i==="\\"){if("AbBGyYzZ".includes(s))return{token:Qn(Qr.Assertion,t,{kind:t})};if(/^\\g[<']/.test(t)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(t))throw new Error(`Invalid group name "${t}"`);return{token:Qn(Qr.Subroutine,t)}}if(/^\\k[<']/.test(t)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(t))throw new Error(`Invalid group name "${t}"`);return{token:Qn(Qr.Backreference,t)}}if(s==="K")return{token:Qn(Qr.Directive,t,{kind:AM.keep})};if(s==="N"||s==="R")return{token:Qn(Qr.CharacterSet,t,{kind:so.newline,negate:s==="N"})};if(s==="O")return{token:Qn(Qr.CharacterSet,t,{kind:so.any})};if(s==="X")return{token:Qn(Qr.CharacterSet,t,{kind:so.grapheme})};const o=zte(t,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(i==="("){if(t==="(*")throw new Error(`Unsupported named callout "${t}"`);if(t==="(?{")throw new Error(`Unsupported callout "${t}"`);if(t.startsWith("(?#")){if(e[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(t))return{token:I6e(t,n)};if(n.pushModX(n.getCurrentModX()),n.numOpenGroups++,t==="("&&!n.captureGroup||t==="(?:")return{token:Qn(Qr.GroupOpen,t,{kind:ma.group})};if(t==="(?>")return{token:Qn(Qr.GroupOpen,t,{kind:ma.atomic})};if(t==="(?="||t==="(?!"||t==="(?<="||t==="(?")||t.startsWith("(?'")&&t.endsWith("'")){const o=Qn(Qr.GroupOpen,t,{kind:ma.capturing});return t!=="("&&(o.name=t.slice(3,-1)),{token:o}}if(t.startsWith("(?~")){if(t==="(?~|")throw new Error(`Unsupported absent function kind "${t}"`);return{token:Qn(Qr.GroupOpen,t,{kind:ma.absent_repeater})}}throw t==="(?("?new Error(`Unsupported conditional "${t}"`):new Error(`Invalid or unsupported group option "${t}"`)}if(t===")"){if(n.popModX(),n.numOpenGroups--,n.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Qn(Qr.GroupClose,t)}}if(t==="#"&&n.getCurrentModX()){const o=e.indexOf(` `,r);return{lastIndex:o===-1?e.length:o}}if(/^\s$/.test(t)&&n.getCurrentModX()){const o=/\s+/y;return o.lastIndex=r,{lastIndex:o.exec(e)?o.lastIndex:r}}if(t===".")return{token:Qn(Qr.CharacterSet,t,{kind:so.dot})};if(t==="^"||t==="$"){const o=n.singleline?{"^":Uo`\A`,$:Uo`\Z`}[t]:t;return{token:Qn(Qr.Assertion,t,{kind:o})}}return t==="|"?{token:Qn(Qr.Alternator,t)}:Dte.test(t)?{token:y6e(t)}:(Rte(t),{token:Qn(Qr.Character,t,{value:t.codePointAt(0)})})}function m6e(n,e,t){const r=[Qn(Qr.CharacterClassOpen,e,{negate:e[1]==="^"})];let i=1,s;for(M7.lastIndex=t;s=M7.exec(n);){const o=s[0];if(o[0]==="["&&o[1]!==":")i++,r.push(Qn(Qr.CharacterClassOpen,o,{negate:o[1]==="^"}));else if(o==="]"){if(r.at(-1).type===Qr.CharacterClassOpen)r.push(Qn(Qr.Character,o,{value:93}));else if(i--,r.push(Qn(Qr.CharacterClassClose,o)),!i)break}else{const a=C6e(o);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:M7.lastIndex||n.length}}function C6e(n){if(n[0]==="\\")return zte(n,{inCharClass:!0});if(n[0]==="["){const e=/\[:(?\^?)(?[a-z]+):\]/.exec(n);if(!e||!CM.has(e.groups.name))throw new Error(`Invalid POSIX class "${n}"`);return Qn(Qr.CharacterSet,n,{kind:so.posix,value:e.groups.name,negate:!!e.groups.negate})}return n==="-"?Qn(Qr.CharacterClassHyphen,n):n==="&&"?Qn(Qr.CharacterClassIntersector,n):(Rte(n),Qn(Qr.Character,n,{value:n.codePointAt(0)}))}function zte(n,{inCharClass:e}){const t=n[1];if(t==="c"||t==="C")return A6e(n);if("dDhHsSwW".includes(t))return b6e(n);if(n.startsWith(Uo`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${n}"`);if(/^\\[pP]\{/.test(n)){if(n.length===3)throw new Error(`Incomplete or invalid Unicode property "${n}"`);return E6e(n)}if(/^\\x[89A-Fa-f]\p{AHex}/u.test(n))try{const r=n.split(/\\x/).slice(1).map(o=>parseInt(o,16)),i=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...i].map(o=>{const a=[...s.encode(o)].map(l=>`\\x${l.toString(16)}`).join("");return Qn(Qr.Character,a,{value:o.codePointAt(0)})})}catch{throw new Error(`Multibyte code "${n}" incomplete or invalid in Oniguruma`)}if(t==="u"||t==="x")return Qn(Qr.Character,n,{value:S6e(n)});if(VV.has(t))return Qn(Qr.Character,n,{value:VV.get(t)});if(/\d/.test(t))return Qn(Qr.EscapedNumber,n,{inCharClass:e});if(n==="\\")throw new Error(Uo`Incomplete escape "\"`);if(t==="M")throw new Error(`Unsupported meta "${n}"`);if([...n].length===2)return Qn(Qr.Character,n,{value:n.codePointAt(1)});throw new Error(`Unexpected escape "${n}"`)}function Qn(n,e,t){return{type:n,raw:e,...t}}function A6e(n){const e=n[1]==="c"?n[2]:n[3];if(!e||!/[A-Za-z]/.test(e))throw new Error(`Unsupported control character "${n}"`);return Qn(Qr.Character,n,{value:e.toUpperCase().codePointAt(0)-64})}function I6e(n,e){let{on:t,off:r}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(n).groups;r??="";const i=(e.getCurrentModX()||t.includes("x"))&&!r.includes("x"),s=HV(t),o=HV(r),a={};if(s&&(a.enable=s),o&&(a.disable=o),n.endsWith(")"))return e.replaceCurrentModX(i),Qn(Qr.Directive,n,{kind:AM.flags,flags:a});if(n.endsWith(":")){e.pushModX(i),e.numOpenGroups++;const l=Qn(Qr.GroupOpen,n,{kind:ma.group});return(s||o)&&(l.flags=a),l}throw new Error(`Unexpected flag modifier "${n}"`)}function y6e(n){const e={};if(n[0]==="{"){const{min:t,max:r}=/^\{(?\d*)(?:,(?\d*))?/.exec(n).groups,i=1e5;if(+t>i||+r>i)throw new Error("Quantifier value unsupported in Oniguruma");e.min=+t,e.max=r===void 0?+t:r===""?1/0:+r,e.kind=n.endsWith("?")?_g.lazy:_g.greedy}else e.min=n[0]==="+"?1:0,e.max=n[0]==="?"?1:1/0,e.kind=n[1]==="+"?_g.possessive:n[1]==="?"?_g.lazy:_g.greedy;return Qn(Qr.Quantifier,n,e)}function b6e(n){const e=n[1].toLowerCase();return Qn(Qr.CharacterSet,n,{kind:{d:so.digit,h:so.hex,s:so.space,w:so.word}[e],negate:n[1]!==e})}function E6e(n){const{p:e,neg:t,value:r}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(n).groups,i=e==="P"&&!t||e==="p"&&!!t;return Qn(Qr.CharacterSet,n,{kind:so.property,value:r,negate:i})}function HV(n){const e={};return n.includes("i")&&(e.ignoreCase=!0),n.includes("m")&&(e.dotAll=!0),n.includes("x")&&(e.extended=!0),Object.keys(e).length?e:null}function w6e(n){if(!/^[imxDPSW]*$/.test(n))throw new Error(`Flags "${n}" includes unsupported value`);const e={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1};for(const t of n)e[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[t]]=!0;return e}function S6e(n){if(/^(?:\\u(?!\p{AHex}{4})|\\x(?!\p{AHex}{1,2}|\{\p{AHex}{1,8}\}))/u.test(n))throw new Error(`Incomplete or invalid escape "${n}"`);const e=n[2]==="{"?/^\\x\{\s*(?\p{AHex}+)/u.exec(n).groups.hex:n.slice(2);return parseInt(e,16)}function T6e(n,e){const{raw:t,inCharClass:r}=n,i=t.slice(1);if(!r&&(i!=="0"&&i.length===1||i[0]!=="0"&&+i<=e))return[Qn(Qr.Backreference,t)];const s=[],o=i.match(/^[0-7]+|\d/g);for(let a=0;a127)throw new Error(Uo`Octal encoded byte above 177 unsupported "${t}"`)}else c=l.codePointAt(0);s.push(Qn(Qr.Character,(a===0?"\\":"")+l,{value:c}))}return s}function Rte(n){if([...n].length!==1)throw new Error(`Expected "${n}" to be a single code point`)}const Zt={AbsentFunction:"AbsentFunction",Alternative:"Alternative",Assertion:"Assertion",Backreference:"Backreference",CapturingGroup:"CapturingGroup",Character:"Character",CharacterClass:"CharacterClass",CharacterClassRange:"CharacterClassRange",CharacterSet:"CharacterSet",Directive:"Directive",Flags:"Flags",Group:"Group",LookaroundAssertion:"LookaroundAssertion",Pattern:"Pattern",Quantifier:"Quantifier",Regex:"Regex",Subroutine:"Subroutine",Recursion:"Recursion"},Vte={repeater:"repeater"},Wi={grapheme_boundary:"grapheme_boundary",line_end:"line_end",line_start:"line_start",search_start:"search_start",string_end:"string_end",string_end_newline:"string_end_newline",string_start:"string_start",word_boundary:"word_boundary"},e1={union:"union",intersection:"intersection"},Vs=so,Em=AM,Sx=_g,bh={lookahead:"lookahead",lookbehind:"lookbehind"};function Hte(n,e={}){const t={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e,rules:{captureGroup:!1,singleline:!1,...e.rules}},r=g6e(n,{flags:t.flags,rules:{captureGroup:t.rules.captureGroup,singleline:t.rules.singleline}}),i={capturingGroups:[],current:0,hasNumberedRef:!1,namedGroupsByName:new Map,normalizeUnknownPropertyNames:t.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:t.skipBackrefValidation,skipLookbehindValidation:t.skipLookbehindValidation,skipPropertyNameValidation:t.skipPropertyNameValidation,subroutines:[],token:null,tokens:r.tokens,unicodePropertyMap:t.unicodePropertyMap,walk:s};function s(d,g){const f=r.tokens[i.current];switch(i.parent=d,i.token=f,i.current++,f.type){case Qr.Alternator:return N1();case Qr.Assertion:return N6e(f);case Qr.Backreference:return x6e(i);case Qr.Character:return IM(f.value,{useLastValid:!!g.isCheckingRangeEnd});case Qr.CharacterClassHyphen:return _6e(i,g);case Qr.CharacterClassOpen:return P6e(i,g);case Qr.CharacterSet:return O6e(i);case Qr.Directive:return R6e(cu(Em[f.kind],`Unexpected directive kind "${f.kind}"`),{flags:f.flags});case Qr.GroupOpen:return M6e(i,g);case Qr.Quantifier:return k6e(i);case Qr.Subroutine:return $6e(i);default:throw new Error(`Unexpected token type "${f.type}"`)}}const o=j6e(H6e(),V6e(r.flags));let a=o.pattern.alternatives[0];for(;i.currentl.length)throw new Error("Subroutine uses a group number that's not defined")}else if(u.has(d)){if(u.get(d).length>1)throw new Error(Uo`Subroutine uses a duplicate group name "\g<${d}>"`)}else throw new Error(Uo`Subroutine uses a group name that's not defined "\g<${d}>"`);return o}function x6e(n){const{raw:e}=n.token,t=/^\\k[<']/.test(e),r=t?e.slice(3,-1):e.slice(1),i=(s,o=!1)=>{const a=n.capturingGroups.length;let l=!1;if(s>a)if(n.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return n.hasNumberedRef=!0,Tx(o?a+1-s:s,{orphan:l})};if(t){const s=/^(?-?)0*(?[1-9]\d*)$/.exec(r);if(s)return i(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!n.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return Tx(r)}return i(+r)}function _6e(n,e){const{parent:t,tokens:r,walk:i}=n,s=t.elements.at(-1),o=r[n.current];if(!e.isCheckingRangeEnd&&s&&s.type!==Zt.CharacterClass&&s.type!==Zt.CharacterClassRange&&o&&o.type!==Qr.CharacterClassOpen&&o.type!==Qr.CharacterClassClose&&o.type!==Qr.CharacterClassIntersector){const a=i(t,{...e,isCheckingRangeEnd:!0});if(s.type===Zt.Character&&a.type===Zt.Character)return t.elements.pop(),z6e(s,a);throw new Error("Invalid character class range")}return IM(45)}function P6e(n,e){const{token:t,tokens:r,walk:i}=n,s=r[n.current],o=[l4()];let a=BV(s);for(;a.type!==Qr.CharacterClassClose;){if(a.type===Qr.CharacterClassIntersector)o.push(l4()),n.current++;else{const c=o.at(-1);c.elements.push(i(c,e))}a=BV(r[n.current],s)}const l=l4({negate:t.negate});return o.length===1?l.elements=o[0].elements:(l.kind=e1.intersection,l.elements=o.map(c=>c.elements.length===1?c.elements[0]:c)),n.current++,l}function O6e({token:n,normalizeUnknownPropertyNames:e,skipPropertyNameValidation:t,unicodePropertyMap:r}){let{kind:i,negate:s,value:o}=n;if(i===so.property){const a=a9(o);if(CM.has(a)&&!r?.has(a))i=so.posix,o=a;else return Pg(o,{negate:s,normalizeUnknownPropertyNames:e,skipPropertyNameValidation:t,unicodePropertyMap:r})}return i===so.posix?B6e(o,{negate:s}):xx(i,{negate:s})}function M6e(n,e){const{token:t,tokens:r,capturingGroups:i,namedGroupsByName:s,skipLookbehindValidation:o,walk:a}=n;let l=D6e(t);const c=l.type===Zt.AbsentFunction,u=l.kind===bh.lookbehind,h=u&&l.negate;if(l.type===Zt.CapturingGroup&&(i.push(l),l.name&&p6e(s,l.name,[]).push(l)),c&&e.isInAbsentFunction)throw new Error("Nested absent function not supported by Oniguruma");let d=jV(r[n.current]);for(;d.type!==Qr.GroupClose;){if(d.type===Qr.Alternator)l.alternatives.push(N1()),n.current++;else{const g=l.alternatives.at(-1),f=a(g,{...e,isInAbsentFunction:e.isInAbsentFunction||c,isInLookbehind:e.isInLookbehind||u,isInNegLookbehind:e.isInNegLookbehind||h});if(g.elements.push(f),(u||e.isInLookbehind)&&!o){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(h||e.isInNegLookbehind){if(f.kind===bh.lookahead||f.type===Zt.CapturingGroup)throw new Error(v)}else if(f.kind===bh.lookahead||f.kind===bh.lookbehind&&f.negate)throw new Error(v)}}d=jV(r[n.current])}return n.current++,l}function k6e({token:n,parent:e}){const{min:t,max:r,kind:i}=n,s=e.elements.at(-1);if(!s||s.type===Zt.Assertion||s.type===Zt.Directive||s.type===Zt.LookaroundAssertion)throw new Error("Quantifier requires a repeatable token");const o=Fte(s,t,r,cu(Sx[i],`Unexpected quantifier kind "${i}"`));return e.elements.pop(),o}function $6e(n){const{token:e,capturingGroups:t,subroutines:r}=n;let i=e.raw.slice(3,-1);const s=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(i);if(s){const a=+s.groups.num,l=t.length;if(n.hasNumberedRef=!0,i={"":a,"+":l+a,"-":l+1-a}[s.groups.sign],i<1)throw new Error("Invalid subroutine number")}else i==="0"&&(i=0);const o=F6e(i);return r.push(o),o}function L6e(n){return{type:Zt.AbsentFunction,kind:n,alternatives:[N1()]}}function N1(){return{type:Zt.Alternative,elements:[]}}function Bte(n,e){const t={type:Zt.Assertion,kind:n};return(n===Wi.word_boundary||n===Wi.grapheme_boundary)&&(t.negate=!!e?.negate),t}function N6e({kind:n}){return Bte(cu({"^":Wi.line_start,$:Wi.line_end,"\\A":Wi.string_start,"\\b":Wi.word_boundary,"\\B":Wi.word_boundary,"\\G":Wi.search_start,"\\y":Wi.grapheme_boundary,"\\Y":Wi.grapheme_boundary,"\\z":Wi.string_end,"\\Z":Wi.string_end_newline}[n],`Unexpected assertion kind "${n}"`),{negate:n===Uo`\B`||n===Uo`\Y`})}function Tx(n,e){const t=!!e?.orphan;return{type:Zt.Backreference,ref:n,...t&&{orphan:t}}}function D6e({flags:n,kind:e,name:t,negate:r,number:i}){switch(e){case ma.absent_repeater:return L6e(Vte.repeater);case ma.atomic:return xc({atomic:!0});case ma.capturing:return jte(i,t);case ma.group:return xc({flags:n});case ma.lookahead:case ma.lookbehind:return wm({behind:e===ma.lookbehind,negate:r});default:throw new Error(`Unexpected group kind "${e}"`)}}function jte(n,e){const t=e!==void 0;if(t&&!U6e(e))throw new Error(`Group name "${e}" invalid in Oniguruma`);return{type:Zt.CapturingGroup,number:n,...t&&{name:e},alternatives:[N1()]}}function IM(n,e){const t={useLastValid:!1,...e};if(n>1114111){const r=n.toString(16);if(t.useLastValid)n=1114111;else throw n>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:Zt.Character,value:n}}function l4(n){const e={kind:e1.union,negate:!1,...n};return{type:Zt.CharacterClass,kind:e.kind,negate:e.negate,elements:[]}}function z6e(n,e){if(e.valuee[0].toUpperCase()+e.slice(1).toLowerCase())}function a9(n){return n.replace(/[- _]+/g,"").toLowerCase()}function BV(n,e){return cu(n,`${e?.value===93?"Empty":"Unclosed"} character class`)}function jV(n){return cu(n,"Unclosed group")}const yM=String.raw,FV=yM`(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})`,UV=yM`\u{E0061}-\u{E007A}`,G6e=()=>new RegExp(yM`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${UV}]{2}[\u{E0030}-\u{E0039}${UV}]{1,3}\u{E007F}|${FV}(?:\u200D${FV})*`,"gu");function Sm(n,e,t=null){function r(s,o){for(let a=0;aA-Za-z\-]|<[=!]|\(DEFINE\))`;function q6e(n,e){for(let t=0;t=e&&n[t]++}function Y6e(n,e,t,r){return n.slice(0,e)+r+n.slice(e+t.length)}const nc=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function bM(n,e,t,r){const i=new RegExp(String.raw`${e}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,a="";for(const l of n.matchAll(i)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!r||r===nc.DEFAULT==!o)){t instanceof Function?a+=t(l,{context:o?nc.CHAR_CLASS:nc.DEFAULT,negated:s[s.length-1]}):a+=t;continue}c[0]==="["?(o++,s.push(c[1]==="^")):c==="]"&&o&&(o--,s.pop()),a+=c}return a}function Ute(n,e,t,r){bM(n,e,t,r)}function X6e(n,e,t=0,r){if(!new RegExp(e,"su").test(n))return null;const i=new RegExp(`${e}|(?<$skip>\\\\?.)`,"gsu");i.lastIndex=t;let s=0,o;for(;o=i.exec(n);){const{0:a,groups:{$skip:l}}=o;if(!l&&(!r||r===nc.DEFAULT==!s))return o;a==="["?s++:a==="]"&&s&&s--,i.lastIndex==o.index&&i.lastIndex++}return null}function z5(n,e,t){return!!X6e(n,e,0,t)}function Z6e(n,e){const t=/\\?./gsu;t.lastIndex=e;let r=n.length,i=0,s=1,o;for(;o=t.exec(n);){const[a]=o;if(a==="[")i++;else if(i)a==="]"&&i--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){r=o.index;break}}return n.slice(e,r)}const WV=new RegExp(String.raw`(?${K6e})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function Q6e(n,e){const t=e?.hiddenCaptures??[];let r=e?.captureTransfers??new Map;if(!/\(\?>/.test(n))return{pattern:n,captureTransfers:r,hiddenCaptures:t};const i="(?>",s="(?:(?=(",o=[0],a=[];let l=0,c=0,u=NaN,h;do{h=!1;let d=0,g=0,f=!1,v;for(WV.lastIndex=Number.isNaN(u)?0:u+s.length;v=WV.exec(n);){const{0:C,index:A,groups:{capturingStart:b,noncapturingStart:m}}=v;if(C==="[")d++;else if(d)C==="]"&&d--;else if(C===i&&!f)u=A,f=!0;else if(f&&m)g++;else if(b)f?g++:(l++,o.push(l+c));else if(C===")"&&f){if(!g){c++;const E=l+c;if(n=`${n.slice(0,u)}${s}${n.slice(u+i.length,A)}))<$$${E}>)${n.slice(A+1)}`,h=!0,a.push(E),q6e(t,E),r.size){const I=new Map;r.forEach((S,T)=>{I.set(T>=E?T+1:T,S.map(P=>P>=E?P+1:P))}),r=I}break}g--}}}while(h);return t.push(...a),n=bM(n,String.raw`\\(?[1-9]\d*)|<\$\$(?\d+)>`,({0:d,groups:{backrefNum:g,wrappedBackrefNum:f}})=>{if(g){const v=+g;if(v>o.length-1)throw new Error(`Backref "${d}" greater than number of captures`);return`\\${o[v]}`}return`\\${f}`},nc.DEFAULT),{pattern:n,captureTransfers:r,hiddenCaptures:t}}const Wte=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,k7=new RegExp(String.raw` \\(?: \d+ | c[A-Za-z] | [gk]<[^>]+> | [pPu]\{[^\}]+\} | u[A-Fa-f\d]{4} | x[A-Fa-f\d]{2} ) | \((?: \? (?: [:=!>] | <(?:[=!]|[^>]+>) | [A-Za-z\-]+: | \(DEFINE\) ))? | (?${Wte})(?[?+]?)(?[?*+\{]?) | \\?. `.replace(/\s+/g,""),"gsu");function J6e(n){if(!new RegExp(`${Wte}\\+`).test(n))return{pattern:n};const e=[];let t=null,r=null,i="",s=0,o;for(k7.lastIndex=0;o=k7.exec(n);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:h}}=o;if(a==="[")s||(r=l),s++;else if(a==="]")s?s--:r=null;else if(!s)if(u==="+"&&i&&!i.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${a}"`);let d=-1;if(/^\{\d+\}$/.test(c))n=Y6e(n,l+c.length,u,"");else{if(i===")"||i==="]"){const g=i===")"?t:r;if(g===null)throw new Error(`Invalid unmatched "${i}"`);n=`${n.slice(0,g)}(?>${n.slice(g,l)}${c})${n.slice(l+a.length)}`}else n=`${n.slice(0,l-i.length)}(?>${i}${c})${n.slice(l+a.length)}`;d+=4}k7.lastIndex+=d}else a[0]==="("?e.push(l):a===")"&&(t=e.length?e.pop():null);i=a}return{pattern:n}}const Ql=String.raw,e8e=Ql`\\g<(?[^>&]+)&R=(?[^>]+)>`,_x=Ql`\(\?R=(?[^\)]+)\)|${e8e}`,l9=Ql`\(\?<(?![=!])(?[^>]+)>`,Gte=Ql`${l9}|(?\()(?!\?)`,Yd=new RegExp(Ql`${l9}|${_x}|\(\?|\\?.`,"gsu"),$7="Cannot use multiple overlapping recursions";function t8e(n,e){const{hiddenCaptures:t,mode:r}={hiddenCaptures:[],mode:"plugin",...e};let i=e?.captureTransfers??new Map;if(!new RegExp(_x,"su").test(n))return{pattern:n,captureTransfers:i,hiddenCaptures:t};if(r==="plugin"&&z5(n,Ql`\(\?\(DEFINE\)`,nc.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],o=z5(n,Ql`\\[1-9]`,nc.DEFAULT),a=new Map,l=[];let c=!1,u=0,h=0,d;for(Yd.lastIndex=0;d=Yd.exec(n);){const{0:g,groups:{captureName:f,rDepth:v,gRNameOrNum:C,gRDepth:A}}=d;if(g==="[")u++;else if(u)g==="]"&&u--;else if(v){if(GV(v),c)throw new Error($7);if(o)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const b=n.slice(0,d.index),m=n.slice(Yd.lastIndex);if(z5(m,_x,nc.DEFAULT))throw new Error($7);const E=+v-1;n=KV(b,m,E,!1,t,s,h),i=YV(i,b,E,s.length,0,h);break}else if(C){GV(A);let b=!1;for(const U of l)if(U.name===C||U.num===+C){if(b=!0,U.hasRecursedWithin)throw new Error($7);break}if(!b)throw new Error(Ql`Recursive \g cannot be used outside the referenced group "${r==="external"?C:Ql`\g<${C}&R=${A}>`}"`);const m=a.get(C),E=Z6e(n,m);if(o&&z5(E,Ql`${l9}|\((?!\?)`,nc.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const I=n.slice(m,d.index),S=E.slice(I.length+g.length),T=s.length,P=+A-1,_=KV(I,S,P,!0,t,s,h);i=YV(i,I,P,s.length-T,T,h);const $=n.slice(0,m),B=n.slice(m+E.length);n=`${$}${_}${B}`,Yd.lastIndex+=_.length-g.length-I.length-S.length,l.forEach(U=>U.hasRecursedWithin=!0),c=!0}else if(f)h++,a.set(String(h),Yd.lastIndex),a.set(f,Yd.lastIndex),l.push({num:h,name:f});else if(g[0]==="("){const b=g==="(";b&&(h++,a.set(String(h),Yd.lastIndex)),l.push(b?{num:h}:{})}else g===")"&&l.pop()}return t.push(...s),{pattern:n,captureTransfers:i,hiddenCaptures:t}}function GV(n){const e=`Max depth must be integer between 2 and 100; used ${n}`;if(!/^[1-9]\d*$/.test(n))throw new Error(e);if(n=+n,n<2||n>100)throw new Error(e)}function KV(n,e,t,r,i,s,o){const a=new Set;r&&Ute(n+e,l9,({groups:{captureName:c}})=>{a.add(c)},nc.DEFAULT);const l=[t,r?a:null,i,s,o];return`${n}${qV(`(?:${n}`,"forward",...l)}(?:)${qV(`${e})`,"backward",...l)}${e}`}function qV(n,e,t,r,i,s,o){const l=u=>e==="forward"?u+2:t-u+2-1;let c="";for(let u=0;u[^>]+)>`,({0:d,groups:{captureName:g,unnamed:f,backref:v}})=>{if(v&&r&&!r.has(v))return d;const C=`_$${h}`;if(f||g){const A=o+s.length+1;return s.push(A),r8e(i,A),f?d:`(?<${g}${C}>`}return Ql`\k<${v}${C}>`},nc.DEFAULT)}return c}function r8e(n,e){for(let t=0;t=e&&n[t]++}function YV(n,e,t,r,i,s){if(n.size&&r){let o=0;Ute(e,Gte,()=>o++,nc.DEFAULT);const a=s-o+i,l=new Map;return n.forEach((c,u)=>{const h=(r-o*t)/t,d=o*t,g=u>a+o?u+r:u,f=[];for(const v of c)if(v<=a)f.push(v);else if(v>a+o+h)f.push(v+r);else if(v<=a+o)for(let C=0;C<=t;C++)f.push(v+o*C);else for(let C=0;C<=t;C++)f.push(v+d+h*C);l.set(g,f)}),l}return n}var Oo=String.fromCodePoint,kn=String.raw,N2={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};N2.literalHyphenIncorrectlyCreatesRange=(()=>{if(!N2.unicodeSets)return!1;try{new RegExp(kn`[\d\-a]`,"v")}catch{return!0}return!1})();function O3(n,{enable:e,disable:t}){return{dotAll:!t?.dotAll&&!!(e?.dotAll||n.dotAll),ignoreCase:!t?.ignoreCase&&!!(e?.ignoreCase||n.ignoreCase)}}function yC(n,e,t){return n.has(e)||n.set(e,t),n.get(e)}function Px(n,e){return XV[n]>=XV[e]}function n8e(n,e){if(!n)throw new Error("Value expected");return n}var XV={ES2025:2025,ES2024:2024,ES2018:2018},i8e={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function Kte(n={}){if({}.toString.call(n)!=="[object Object]")throw new Error("Unexpected options");if(n.target!==void 0&&!i8e[n.target])throw new Error(`Unexpected target "${n.target}"`);const e={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...n,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...n.rules}};return e.target==="auto"&&(e.target=N2.flagGroups?"ES2025":N2.unicodeSets?"ES2024":"ES2018"),e}var s8e="[ -\r ]",Zu=kn`[\p{L}\p{M}\p{N}\p{Pc}]`,o8e=new Set([Oo(304),Oo(305)]);function qte(n){if(o8e.has(n))return[n];const e=new Set,t=n.toLowerCase(),r=t.toUpperCase(),i=c8e.get(t),s=a8e.get(t),o=l8e.get(t);return[...r].length===1&&e.add(r),o&&e.add(o),i&&e.add(i),e.add(t),s&&e.add(s),[...e]}var EM=new Map(`C Other Cc Control cntrl Cf Format Cn Unassigned Co Private_Use Cs Surrogate L Letter LC Cased_Letter Ll Lowercase_Letter Lm Modifier_Letter Lo Other_Letter Lt Titlecase_Letter Lu Uppercase_Letter M Mark Combining_Mark Mc Spacing_Mark Me Enclosing_Mark Mn Nonspacing_Mark N Number Nd Decimal_Number digit Nl Letter_Number No Other_Number P Punctuation punct Pc Connector_Punctuation Pd Dash_Punctuation Pe Close_Punctuation Pf Final_Punctuation Pi Initial_Punctuation Po Other_Punctuation Ps Open_Punctuation S Symbol Sc Currency_Symbol Sk Modifier_Symbol Sm Math_Symbol So Other_Symbol Z Separator Zl Line_Separator Zp Paragraph_Separator Zs Space_Separator ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component EComp Emoji_Modifier EMod Emoji_Modifier_Base EBase Emoji_Presentation EPres Extended_Pictographic ExtPict Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS`.split(/\s/).map(n=>[a9(n),n])),a8e=new Map([["s",Oo(383)],[Oo(383),"s"]]),l8e=new Map([[Oo(223),Oo(7838)],[Oo(107),Oo(8490)],[Oo(229),Oo(8491)],[Oo(969),Oo(8486)]]),c8e=new Map([sh(453),sh(456),sh(459),sh(498),...L7(8072,8079),...L7(8088,8095),...L7(8104,8111),sh(8124),sh(8140),sh(8188)]),u8e=new Map([["alnum",kn`[\p{Alpha}\p{Nd}]`],["alpha",kn`\p{Alpha}`],["ascii",kn`\p{ASCII}`],["blank",kn`[\p{Zs}\t]`],["cntrl",kn`\p{Cc}`],["digit",kn`\p{Nd}`],["graph",kn`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",kn`\p{Lower}`],["print",kn`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",kn`[\p{P}\p{S}]`],["space",kn`\p{space}`],["upper",kn`\p{Upper}`],["word",kn`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",kn`\p{AHex}`]]);function h8e(n,e){const t=[];for(let r=n;r<=e;r++)t.push(r);return t}function sh(n){const e=Oo(n);return[e.toLowerCase(),e]}function L7(n,e){return h8e(n,e).map(t=>sh(t))}var Yte=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function d8e(n,e){const t={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...e};Xte(n);const r={accuracy:t.accuracy,asciiWordBoundaries:t.asciiWordBoundaries,avoidSubclass:t.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Px(t.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:n.flags.digitIsAscii,spaceIsAscii:n.flags.spaceIsAscii,wordIsAscii:n.flags.wordIsAscii};Sm(n,f8e,r);const i={dotAll:n.flags.dotAll,ignoreCase:n.flags.ignoreCase},s={currentFlags:i,prevFlags:null,globalFlags:i,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Sm(n,p8e,s);const o={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return Sm(n,g8e,o),n._originMap=s.groupOriginByCopy,n._strategy=r.strategy,n}var f8e={AbsentFunction({node:n,parent:e,replaceWith:t}){const{kind:r,alternatives:i}=n;if(r===Vte.repeater){const s=Ju(xc(),[D2(wm({negate:!0}),i),Pg("Any")]),o=Fte(s,0,1/0);s.parent=o,t(Ui(Ju(xc(),[o]),e),{traverse:!0})}else throw new Error(`Unexpected absent function kind "${r}"`)},Alternative:{enter({node:n,parent:e,key:t},{flagDirectivesByAlt:r}){const i=n.elements.filter(s=>s.kind===Em.flags);for(let s=t+1;s\r\n|${h}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(l===Vs.hex)t(Ui(Pg("AHex",{negate:c}),e));else if(l===Vs.newline)t(Ui(Zc(c?`[^ ]`:`(?>\r ?|[ \v\f…\u2028\u2029])`),e));else if(l===Vs.posix)if(!i&&(u==="graph"||u==="print")){if(r==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let h={graph:"!-~",print:" -~"}[u];c&&(h=`\0-${Oo(h.codePointAt(0)-1)}${Oo(h.codePointAt(2)+1)}-􏿿`),t(Ui(Zc(`[${h}]`),e))}else t(Ui(z7(Zc(u8e.get(u)),c),e));else if(l===Vs.property)EM.has(a9(u))||(n.key="sc");else if(l===Vs.space)t(Ui(Pg("space",{negate:c}),e));else if(l===Vs.word)t(Ui(z7(Zc(Zu),c),e));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:n,parent:e,root:t,remove:r,replaceWith:i,removeAllPrevSiblings:s,removeAllNextSiblings:o}){const{kind:a,flags:l}=n;if(a===Em.flags)!l.enable&&!l.disable?r():i(Ui(Ju(xc({flags:l}),o()),e),{traverse:!0});else if(a===Em.keep){const c=t.pattern.alternatives[0].elements[0],h=rre(t.pattern,d=>d.type===Zt.Group)&&c.alternatives.length===1?c:t.pattern;if(e.parent!==h||h.alternatives.length>1)throw new Error(kn`Uses "\K" in a way that's unsupported`);i(Ui(Ju(wm({behind:!0}),s()),e))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:n,parent:e}){if(n.posixIsAscii)throw new Error('Unsupported flag "P"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii"].forEach(t=>delete n[t]),Object.assign(n,{global:!1,hasIndices:!1,multiline:!1,sticky:n.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:n}){if(!n.flags)return;const{enable:e,disable:t}=n.flags;e?.extended&&delete e.extended,t?.extended&&delete t.extended,e?.dotAll&&t?.dotAll&&delete e.dotAll,e?.ignoreCase&&t?.ignoreCase&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete n.flags.enable,t&&!Object.keys(t).length&&delete n.flags.disable,!n.flags.enable&&!n.flags.disable&&delete n.flags},LookaroundAssertion({node:n},e){const{kind:t}=n;t===bh.lookbehind&&(e.passedLookbehind=!0)},Pattern:{enter({node:n},{supportedGNodes:e}){const t=[];let r=!1,i=!1;for(const s of n.alternatives)if(s.elements.length===1&&s.elements[0].kind===Wi.search_start)s.elements.pop();else{const o=ere(s.elements);o?(r=!0,Array.isArray(o)?t.push(...o):t.push(o)):i=!0}r&&!i&&t.forEach(s=>e.add(s))},exit(n,{accuracy:e,passedLookbehind:t,strategy:r}){if(e==="strict"&&t&&r)throw new Error(kn`Uses "\G" in a way that requires non-strict accuracy`)}},Quantifier({node:n}){if(n.element.type===Zt.Quantifier){const e=Ui(Ju(xc(),[n.element]),n);n.element=e}},Subroutine({node:n},{jsGroupNameMap:e}){let{ref:t}=n;typeof t=="string"&&!D7(t)&&(t=N7(t,e),n.ref=t)}},p8e={Backreference({node:n},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:t}){const{orphan:r,ref:i}=n;r||t.set(n,[...e.get(i).map(({node:s})=>s)])},CapturingGroup:{enter({node:n,parent:e,replaceWith:t,skip:r},{groupOriginByCopy:i,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:a,reffedNodesByReferencer:l}){const c=i.get(n);if(c&&a.has(n.number)){const h=Ui(ZV(n.number),e);l.set(h,a.get(n.number)),t(h);return}a.set(n.number,n),o.set(n.number,[]),n.name&&yC(o,n.name,[]);const u=o.get(n.name??n.number);for(let h=0;hh.type===Zt.Group&&!!h.flags)),u=c?O3(r.globalFlags,c):r.globalFlags;v8e(u,r.currentFlags)||(l=Ju(xc({flags:A8e(u)}),[a]))}t(Ui(l,e),{traverse:!o})}},g8e={Backreference({node:n,parent:e,replaceWith:t},r){if(n.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,n.ref);return}const s=r.reffedNodesByReferencer.get(n).filter(o=>m8e(o,n));if(!s.length)t(Ui(Ju(wm({negate:!0})),e));else if(s.length>1){const o=s.map(a=>D2(N1(),[Tx(a.number)]));t(Ui(D2(xc(),o),e))}else n.ref=s[0].number},CapturingGroup({node:n},e){n.number=++e.numCapturesToLeft,n.name&&e.groupsByName.get(n.name).get(n).hasDuplicateNameToRemove&&delete n.name},Recursion({node:n},e){n.ref!==0&&(n.ref=e.reffedNodesByReferencer.get(n).number)},Regex:{exit({node:n},e){const t=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let r=0;rt.parent=n),n[wM(n)]=e,n}function v8e(n,e){return n.dotAll===e.dotAll&&n.ignoreCase===e.ignoreCase}function m8e(n,e){let t=e;do{if(t.type===Zt.Pattern)return!1;if(t.type===Zt.Alternative)continue;if(t===n)return!1;const r=Jte(t.parent);for(const i of r){if(i===t)break;if(i===n||tre(i,n))return!0}}while(t=t.parent);throw new Error("Unexpected path")}function Zte(n,e,t,r){const i=Array.isArray(n)?[]:{};for(const[s,o]of Object.entries(n))s==="parent"?i.parent=Array.isArray(t)?r:t:o&&typeof o=="object"?i[s]=Zte(o,e,i,t):(s==="type"&&o===Zt.CapturingGroup&&e.set(i,e.get(n)??n),i[s]=o);return i}function ZV(n){return{type:Zt.Recursion,ref:n}}function C8e(n,e){const t=[];for(;n=n.parent;)(!e||e(n))&&t.push(n);return t}function N7(n,e){if(e.has(n))return e.get(n);const t=`$${e.size}_${n.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return e.set(n,t),t}function wM(n){for(const e of["alternatives","elements"])if(n[e])return e;return null}function Qte(n){const e=["dotAll","ignoreCase"],t={enable:{},disable:{}};return n.forEach(({flags:r})=>{e.forEach(i=>{r.enable?.[i]&&(delete t.disable[i],t.enable[i]=!0),r.disable?.[i]&&(t.disable[i]=!0)})}),Object.keys(t.enable).length||delete t.enable,Object.keys(t.disable).length||delete t.disable,t.enable||t.disable?t:null}function A8e({dotAll:n,ignoreCase:e}){const t={};return(n||e)&&(t.enable={},n&&(t.enable.dotAll=!0),e&&(t.enable.ignoreCase=!0)),(!n||!e)&&(t.disable={},!n&&(t.disable.dotAll=!0),!e&&(t.disable.ignoreCase=!0)),t}function Jte(n){if(!n)throw new Error("Node expected");if(n.type===Zt.Quantifier)return[n.element];const e=wM(n);return e&&n[e]}function ere(n){const e=n.find(t=>t.kind===Wi.search_start||b8e(t,{negate:!1})||!I8e(t));if(!e)return null;if(e.kind===Wi.search_start)return e;if(e.type===Zt.LookaroundAssertion)return e.alternatives[0].elements[0];if(e.type===Zt.CapturingGroup||e.type===Zt.Group){const t=[];for(const r of e.alternatives){const i=ere(r.elements);if(!i)return null;Array.isArray(i)?t.push(...i):t.push(i)}return t}return null}function tre(n,e){const t=Jte(n)??[];for(const r of t)if(r===e||tre(r,e))return!0;return!1}function rre({alternatives:n},e){return n.length===1&&n[0].elements.length===1&&(!e||e(n[0].elements[0]))}function I8e({type:n}){return n===Zt.Assertion||n===Zt.Directive||n===Zt.LookaroundAssertion}function y8e(n){const e=[Zt.Character,Zt.CharacterClass,Zt.CharacterSet];return e.includes(n.type)||n.type===Zt.Quantifier&&n.min&&e.includes(n.element.type)}function b8e(n,e){const t={negate:null,...e};return n.type===Zt.LookaroundAssertion&&(t.negate===null||n.negate===t.negate)&&rre(n,r=>r.kind===Wi.search_start)}function D7(n){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(n)}function Zc(n,e){const t=Hte(n,{...e,unicodePropertyMap:EM});Xte(t);const r=t.pattern.alternatives;return r.length>1||r[0].elements.length>1?D2(xc(),r):r[0].elements[0]}function Ju(n,e){const t=wM(n);return n[t][0].parent=n,e&&D2(n[t][0],e),n}function z7(n,e){return n.negate=e,n}function Ui(n,e){return n.parent=e,n}function E8e(n,e){const t=Kte(e),r=Px(t.target,"ES2024"),i=Px(t.target,"ES2025"),s=t.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,a=null;if(!i){const g=[n.flags.ignoreCase];Sm(n,w8e,{getCurrentModI:()=>g.at(-1),popModI(){g.pop()},pushModI(f){g.push(f)},setHasCasedChar(){g.at(-1)?o=!0:a=!0}})}const l={dotAll:n.flags.dotAll,ignoreCase:!!((n.flags.ignoreCase||o)&&!a)};let c=null;const u={accuracy:t.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:n.flags.dotAll,ignoreCase:n.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:n._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!i&&o&&a),useFlagMods:i,useFlagV:r,verbose:t.verbose};function h(g){switch(u.lastNode=c,c=g,g.type){case Zt.Regex:return{pattern:h(g.pattern),flags:h(g.flags),options:{...g.options}};case Zt.Alternative:return g.elements.map(h).join("");case Zt.Assertion:return P8e(g);case Zt.Backreference:return O8e(g,u);case Zt.CapturingGroup:return M8e(g,u,h);case Zt.Character:return k8e(g,u);case Zt.CharacterClass:return $8e(g,u,h);case Zt.CharacterClassRange:return L8e(g,u);case Zt.CharacterSet:return N8e(g,u);case Zt.Flags:return D8e(g,u);case Zt.Group:return z8e(g,u,h);case Zt.LookaroundAssertion:return R8e(g,u,h);case Zt.Pattern:return g.alternatives.map(h).join("|");case Zt.Quantifier:return h(g.element)+j8e(g);case Zt.Recursion:return V8e(g,u);default:throw new Error(`Unexpected node type "${g.type}"`)}}const d=h(n);return r||(delete d.options.force.v,d.options.disable.v=!0,d.options.unicodeSetsPlugin=null),d._captureTransfers=new Map,d._hiddenCaptures=[],u.captureMap.forEach((g,f)=>{g.hidden&&d._hiddenCaptures.push(f),g.transferTo&&yC(d._captureTransfers,g.transferTo,[]).push(f)}),d}var w8e={"*":{enter({node:n},e){if(JV(n)){const t=e.getCurrentModI();e.pushModI(n.flags?O3({ignoreCase:t},n.flags).ignoreCase:t)}},exit({node:n},e){JV(n)&&e.popModI()}},Backreference(n,e){e.setHasCasedChar()},Character({node:n},e){SM(Oo(n.value))&&e.setHasCasedChar()},CharacterClassRange({node:n,skip:e},t){e(),nre(n,{firstOnly:!0}).length&&t.setHasCasedChar()},CharacterSet({node:n},e){n.kind===Vs.property&&Yte.has(n.value)&&e.setHasCasedChar()}},S8e=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),T8e=new Set(["-","\\","]","^","["]),x8e=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),QV=new Map([[9,kn`\t`],[10,kn`\n`],[11,kn`\v`],[12,kn`\f`],[13,kn`\r`],[8232,kn`\u2028`],[8233,kn`\u2029`],[65279,kn`\uFEFF`]]),_8e=/^\p{Cased}$/u;function SM(n){return _8e.test(n)}function P8e({kind:n,negate:e}){if(n===Wi.string_end)return"$";if(n===Wi.string_start)return"^";if(n===Wi.word_boundary)return e?kn`\B`:kn`\b`;throw new Error(`Unexpected assertion kind "${n}"`)}function O8e({ref:n},e){if(typeof n!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(n).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+n}function M8e(n,e,t){const{name:r,number:i,alternatives:s}=n,o={ignoreCase:e.currentFlags.ignoreCase},a=e.originMap.get(n);return a&&(o.hidden=!0,i>a.number&&(o.transferTo=a.number)),e.captureMap.set(i,o),`(${r?`?<${r}>`:""}${s.map(t).join("|")})`}function k8e({value:n},e){const t=Oo(n),r=Og(n,{escDigit:e.lastNode.type===Zt.Backreference,inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(r!==t)return r;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&SM(t)){const i=qte(t);return e.inCharClass?i.join(""):i.length>1?`[${i.join("")}]`:i[0]}return t}function $8e(n,e,t){const{kind:r,negate:i,parent:s}=n;let{elements:o}=n;if(r===e1.intersection&&!e.useFlagV)throw new Error("Use of class intersection requires min target ES2024");N2.literalHyphenIncorrectlyCreatesRange&&e.useFlagV&&o.some(eH)&&(o=o.filter(c=>!eH(c)),o.push(IM(45)));const a=()=>`[${i?"^":""}${o.map(t).join(r===e1.intersection?"&&":"")}]`;if(!e.inCharClass){if(!e.useFlagV&&!i){const u=o.filter(h=>h.type===Zt.CharacterClass&&h.kind===e1.union&&h.negate);if(u.length){const h=xc(),d=h.alternatives[0];return h.parent=s,d.parent=h,o=o.filter(g=>!u.includes(g)),n.elements=o,o.length?(n.parent=d,d.elements.push(n)):h.alternatives.pop(),u.forEach(g=>{const f=N1();f.parent=h,g.parent=f,f.elements.push(g),h.alternatives.push(f)}),t(h)}}e.inCharClass=!0;const c=a();return e.inCharClass=!1,c}const l=o[0];if(r===e1.union&&!i&&l&&((!e.useFlagV||!e.verbose)&&s.kind===e1.union&&!(N2.literalHyphenIncorrectlyCreatesRange&&e.useFlagV)||!e.verbose&&s.kind===e1.intersection&&o.length===1&&l.type!==Zt.CharacterClassRange))return o.map(t).join("");if(!e.useFlagV&&s.type===Zt.CharacterClass)throw new Error("Use of nested character class requires min target ES2024");return a()}function L8e(n,e){const t=n.min.value,r=n.max.value,i={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},s=Og(t,i),o=Og(r,i),a=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){const l=nre(n);H8e(l).forEach(u=>{a.add(Array.isArray(u)?`${Og(u[0],i)}-${Og(u[1],i)}`:Og(u,i))})}return`${s}-${o}${[...a].join("")}`}function N8e({kind:n,negate:e,value:t,key:r},i){if(n===Vs.dot)return i.currentFlags.dotAll?i.appliedGlobalFlags.dotAll||i.useFlagMods?".":"[^]":kn`[^\n]`;if(n===Vs.digit)return e?kn`\D`:kn`\d`;if(n===Vs.property){if(i.useAppliedIgnoreCase&&i.currentFlags.ignoreCase&&Yte.has(t))throw new Error(`Unicode property "${t}" can't be case-insensitive when other chars have specific case`);return`${e?kn`\P`:kn`\p`}{${r?`${r}=`:""}${t}}`}if(n===Vs.word)return e?kn`\W`:kn`\w`;throw new Error(`Unexpected character set kind "${n}"`)}function D8e(n,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(n.dotAll?"s":"")+(n.sticky?"y":"")}function z8e({atomic:n,flags:e,parent:t,alternatives:r},i,s){const o=i.currentFlags;e&&(i.currentFlags=O3(o,e));const a=r.map(s).join("|"),l=!i.verbose&&r.length===1&&t.type!==Zt.Quantifier&&!n&&(!i.useFlagMods||!e)?a:`(?${B8e(n,e,i.useFlagMods)}${a})`;return i.currentFlags=o,l}function R8e({kind:n,negate:e,alternatives:t},r,i){return`(?${`${n===bh.lookahead?"":"<"}${e?"!":"="}`}${t.map(i).join("|")})`}function V8e({ref:n},e){const t=e.recursionLimit;return n===0?`(?R=${t})`:kn`\g<${n}&R=${t}>`}function nre(n,e){const t=!!e?.firstOnly,r=n.min.value,i=n.max.value,s=[];if(r<65&&(i===65535||i>=131071)||r===65536&&i>=131071)return s;for(let o=r;o<=i;o++){const a=Oo(o);if(!SM(a))continue;const l=qte(a).filter(c=>{const u=c.codePointAt(0);return ui});if(l.length&&(s.push(...l),t))break}return s}function Og(n,{escDigit:e,inCharClass:t,useFlagV:r}){if(QV.has(n))return QV.get(n);if(n<32||n>126&&n<160||n>262143||e&&F8e(n))return n>255?`\\u{${n.toString(16).toUpperCase()}}`:`\\x${n.toString(16).toUpperCase().padStart(2,"0")}`;const i=t?r?x8e:T8e:S8e,s=Oo(n);return(i.has(s)?"\\":"")+s}function H8e(n){const e=n.map(i=>i.codePointAt(0)).sort((i,s)=>i-s),t=[];let r=null;for(let i=0;i";let r="";if(e&&t){const{enable:i,disable:s}=e;r=(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")+(s?"-":"")+(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")}return`${r}:`}function j8e({min:n,max:e,kind:t}){let r;return!n&&e===1?r="?":!n&&e===1/0?r="*":n===1&&e===1/0?r="+":n===e?r=`{${n}}`:r=`{${n},${e===1/0?"":e}}`,r+{greedy:"",lazy:"?",possessive:"+"}[t]}function JV({type:n}){return n===Zt.Group||n===Zt.CapturingGroup||n===Zt.LookaroundAssertion}function F8e(n){return n>47&&n<58}function eH({type:n,value:e}){return n===Zt.Character&&e===45}var U8e=class Ox extends RegExp{#t=new Map;#n=null;#c;#r=null;#s=null;rawOptions={};get source(){return this.#c||"(?:)"}constructor(e,t,r){const i=!!r?.lazyCompile;if(e instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const s=e;super(s,t),this.#c=s.source,s instanceof Ox&&(this.#t=s.#t,this.#r=s.#r,this.#s=s.#s,this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...r};super(i?"":e,t),this.#c=e,this.#t=G8e(s.hiddenCaptures,s.transfers),this.#s=s.strategy,this.rawOptions=r??{}}i||(this.#n=this)}exec(e){if(!this.#n){const{lazyCompile:i,...s}=this.rawOptions;this.#n=new Ox(this.#c,this.flags,s)}const t=this.global||this.sticky,r=this.lastIndex;if(this.#s==="clip_search"&&t&&r){this.lastIndex=0;const i=this.#o(e.slice(r));return i&&(W8e(i,r,e,this.hasIndices),this.lastIndex+=r),i}return this.#o(e)}#o(e){this.#n.lastIndex=this.lastIndex;const t=super.exec.call(this.#n,e);if(this.lastIndex=this.#n.lastIndex,!t||!this.#t.size)return t;const r=[...t];t.length=1;let i;this.hasIndices&&(i=[...t.indices],t.indices.length=1);const s=[0];for(let o=1;o{const a=s[o];a&&(s[o]=[a[0]+e,a[1]+e])})}}function G8e(n,e){const t=new Map;for(const r of n)t.set(r,{hidden:!0});for(const[r,i]of e)for(const s of i)yC(t,s,{}).transferTo=r;return t}function K8e(n){const e=/(?\((?:\?<(?![=!])(?[^>]+)>|(?!\?)))|\\?./gsu,t=new Map;let r=0,i=0,s;for(;s=e.exec(n);){const{0:o,groups:{capture:a,name:l}}=s;o==="["?r++:r?o==="]"&&r--:a&&(i++,l&&t.set(i,l))}return t}function q8e(n,e){const t=Y8e(n,e);return t.options?new U8e(t.pattern,t.flags,t.options):new RegExp(t.pattern,t.flags)}function Y8e(n,e){const t=Kte(e),r=Hte(n,{flags:t.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:t.rules.captureGroup,singleline:t.rules.singleline},skipBackrefValidation:t.rules.allowOrphanBackrefs,unicodePropertyMap:EM}),i=d8e(r,{accuracy:t.accuracy,asciiWordBoundaries:t.rules.asciiWordBoundaries,avoidSubclass:t.avoidSubclass,bestEffortTarget:t.target}),s=E8e(i,t),o=t8e(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),a=J6e(o.pattern),l=Q6e(a.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),c={pattern:l.pattern,flags:`${t.hasIndices?"d":""}${t.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(t.avoidSubclass){if(t.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=l.hiddenCaptures.sort((f,v)=>f-v),h=Array.from(l.captureTransfers),d=i._strategy,g=c.pattern.length>=t.lazyCompileLength;(u.length||h.length||d||g)&&(c.options={...u.length&&{hiddenCaptures:u},...h.length&&{transfers:h},...d&&{strategy:d},...g&&{lazyCompile:g}})}return c}const tH=4294967295;class X8e{constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:r=!1,cache:i,regexConstructor:s}=t;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(o=>{if(typeof o!="string")return o;const a=i?.get(o);if(a){if(a instanceof RegExp)return a;if(r)return null;throw a}try{const l=s(o);return i?.set(o,l),l}catch(l){if(i?.set(o,l),r)return null;throw l}})}regexps;findNextMatchSync(e,t,r){const i=typeof e=="string"?e:e.content,s=[];function o(a,l,c=0){return{index:a,captureIndices:l.indices.map(u=>u==null?{start:tH,end:tH,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}for(let a=0;al[1].index));for(const[l,c,u]of s)if(c.index===a)return o(l,c,u)}return null}}function Z8e(n,e){return q8e(n,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function Q8e(n={}){const e=Object.assign({target:"auto",cache:new Map},n);return e.regexConstructor||=t=>Z8e(t,{target:e.target}),{createScanner(t){return new X8e(t,e)},createString(t){return{content:t}}}}const J8e={"baseline-10k":'',"baseline-10mp":'',"baseline-11mp":'',"baseline-123":'',"baseline-12mp":'',"baseline-13mp":'',"baseline-14mp":'',"baseline-15mp":'',"baseline-16mp":'',"baseline-17mp":'',"baseline-18-up-rating":'',"baseline-18mp":'',"baseline-19mp":'',"baseline-1k":'',"baseline-1k-plus":'',"baseline-1x-mobiledata":'',"baseline-20mp":'',"baseline-21mp":'',"baseline-22mp":'',"baseline-23mp":'',"baseline-24mp":'',"baseline-2k":'',"baseline-2k-plus":'',"baseline-2mp":'',"baseline-30fps":'',"baseline-30fps-select":'',"baseline-360":'',"baseline-3d-rotation":'',"baseline-3g-mobiledata":'',"baseline-3k":'',"baseline-3k-plus":'',"baseline-3mp":'',"baseline-3p":'',"baseline-4g-mobiledata":'',"baseline-4g-plus-mobiledata":'',"baseline-4k":'',"baseline-4k-plus":'',"baseline-4mp":'',"baseline-5g":'',"baseline-5k":'',"baseline-5k-plus":'',"baseline-5mp":'',"baseline-6-ft-apart":'',"baseline-60fps":'',"baseline-60fps-select":'',"baseline-6k":'',"baseline-6k-plus":'',"baseline-6mp":'',"baseline-7k":'',"baseline-7k-plus":'',"baseline-7mp":'',"baseline-8k":'',"baseline-8k-plus":'',"baseline-8mp":'',"baseline-9k":'',"baseline-9k-plus":'',"baseline-9mp":'',"baseline-abc":'',"baseline-ac-unit":'',"baseline-access-alarm":'',"baseline-access-alarms":'',"baseline-access-time":'',"baseline-access-time-filled":'',"baseline-accessibility":'',"baseline-accessibility-new":'',"baseline-accessible":'',"baseline-accessible-forward":'',"baseline-account-balance":'',"baseline-account-balance-wallet":'',"baseline-account-box":'',"baseline-account-circle":'',"baseline-account-tree":'',"baseline-ad-units":'',"baseline-adb":'',"baseline-add":'',"baseline-add-a-photo":'',"baseline-add-alarm":'',"baseline-add-alert":'',"baseline-add-box":'',"baseline-add-business":'',"baseline-add-card":'',"baseline-add-chart":'',"baseline-add-circle":'',"baseline-add-circle-outline":'',"baseline-add-comment":'',"baseline-add-home":'',"baseline-add-home-work":'',"baseline-add-ic-call":'',"baseline-add-link":'',"baseline-add-location":'',"baseline-add-location-alt":'',"baseline-add-moderator":'',"baseline-add-photo-alternate":'',"baseline-add-reaction":'',"baseline-add-road":'',"baseline-add-shopping-cart":'',"baseline-add-task":'',"baseline-add-to-drive":'',"baseline-add-to-home-screen":'',"baseline-add-to-photos":'',"baseline-add-to-queue":'',"baseline-addchart":'',"baseline-adf-scanner":'',"baseline-adjust":'',"baseline-admin-panel-settings":'',"baseline-adobe":'',"baseline-ads-click":'',"baseline-agriculture":'',"baseline-air":'',"baseline-airline-seat-flat":'',"baseline-airline-seat-flat-angled":'',"baseline-airline-seat-individual-suite":'',"baseline-airline-seat-legroom-extra":'',"baseline-airline-seat-legroom-normal":'',"baseline-airline-seat-legroom-reduced":'',"baseline-airline-seat-recline-extra":'',"baseline-airline-seat-recline-normal":'',"baseline-airline-stops":'',"baseline-airlines":'',"baseline-airplane-ticket":'',"baseline-airplanemode-active":'',"baseline-airplanemode-inactive":'',"baseline-airplay":'',"baseline-airport-shuttle":'',"baseline-alarm":'',"baseline-alarm-add":'',"baseline-alarm-off":'',"baseline-alarm-on":'',"baseline-album":'',"baseline-align-horizontal-center":'',"baseline-align-horizontal-left":'',"baseline-align-horizontal-right":'',"baseline-align-vertical-bottom":'',"baseline-align-vertical-center":'',"baseline-align-vertical-top":'',"baseline-all-inbox":'',"baseline-all-inclusive":'',"baseline-all-out":'',"baseline-alt-route":'',"baseline-alternate-email":'',"baseline-amp-stories":'',"baseline-analytics":'',"baseline-anchor":'',"baseline-android":'',"baseline-animation":'',"baseline-announcement":'',"baseline-aod":'',"baseline-apartment":'',"baseline-api":'',"baseline-app-blocking":'',"baseline-app-registration":'',"baseline-app-settings-alt":'',"baseline-app-shortcut":'',"baseline-apple":'',"baseline-approval":'',"baseline-apps":'',"baseline-apps-outage":'',"baseline-architecture":'',"baseline-archive":'',"baseline-area-chart":'',"baseline-arrow-back":'',"baseline-arrow-back-ios":'',"baseline-arrow-back-ios-new":'',"baseline-arrow-circle-down":'',"baseline-arrow-circle-left":'',"baseline-arrow-circle-right":'',"baseline-arrow-circle-up":'',"baseline-arrow-downward":'',"baseline-arrow-drop-down":'',"baseline-arrow-drop-down-circle":'',"baseline-arrow-drop-up":'',"baseline-arrow-forward":'',"baseline-arrow-forward-ios":'',"baseline-arrow-left":'',"baseline-arrow-outward":'',"baseline-arrow-right":'',"baseline-arrow-right-alt":'',"baseline-arrow-upward":'',"baseline-art-track":'',"baseline-article":'',"baseline-aspect-ratio":'',"baseline-assessment":'',"baseline-assignment":'',"baseline-assignment-ind":'',"baseline-assignment-late":'',"baseline-assignment-return":'',"baseline-assignment-returned":'',"baseline-assignment-turned-in":'',"baseline-assist-walker":'',"baseline-assistant":'',"baseline-assistant-direction":'',"baseline-assistant-photo":'',"baseline-assured-workload":'',"baseline-atm":'',"baseline-attach-email":'',"baseline-attach-file":'',"baseline-attach-money":'',"baseline-attachment":'',"baseline-attractions":'',"baseline-attribution":'',"baseline-audio-file":'',"baseline-audiotrack":'',"baseline-auto-awesome":'',"baseline-auto-awesome-mosaic":'',"baseline-auto-awesome-motion":'',"baseline-auto-delete":'',"baseline-auto-fix-high":'',"baseline-auto-fix-normal":'',"baseline-auto-fix-off":'',"baseline-auto-graph":'',"baseline-auto-mode":'',"baseline-auto-stories":'',"baseline-autofps-select":'',"baseline-autorenew":'',"baseline-av-timer":'',"baseline-baby-changing-station":'',"baseline-back-hand":'',"baseline-backpack":'',"baseline-backspace":'',"baseline-backup":'',"baseline-backup-table":'',"baseline-badge":'',"baseline-bakery-dining":'',"baseline-balance":'',"baseline-balcony":'',"baseline-ballot":'',"baseline-bar-chart":'',"baseline-barcode":'',"baseline-batch-prediction":'',"baseline-bathroom":'',"baseline-bathtub":'',"baseline-battery-0-bar":'',"baseline-battery-1-bar":'',"baseline-battery-2-bar":'',"baseline-battery-20":'',"baseline-battery-3-bar":'',"baseline-battery-30":'',"baseline-battery-4-bar":'',"baseline-battery-5-bar":'',"baseline-battery-50":'',"baseline-battery-6-bar":'',"baseline-battery-60":'',"baseline-battery-80":'',"baseline-battery-90":'',"baseline-battery-alert":'',"baseline-battery-charging-20":'',"baseline-battery-charging-30":'',"baseline-battery-charging-50":'',"baseline-battery-charging-60":'',"baseline-battery-charging-80":'',"baseline-battery-charging-90":'',"baseline-battery-charging-full":'',"baseline-battery-full":'',"baseline-battery-saver":'',"baseline-battery-std":'',"baseline-battery-unknown":'',"baseline-beach-access":'',"baseline-bed":'',"baseline-bedroom-baby":'',"baseline-bedroom-child":'',"baseline-bedroom-parent":'',"baseline-bedtime":'',"baseline-bedtime-off":'',"baseline-beenhere":'',"baseline-bento":'',"baseline-bike-scooter":'',"baseline-biotech":'',"baseline-blender":'',"baseline-blind":'',"baseline-blinds":'',"baseline-blinds-closed":'',"baseline-block":'',"baseline-bloodtype":'',"baseline-bluetooth":'',"baseline-bluetooth-audio":'',"baseline-bluetooth-connected":'',"baseline-bluetooth-disabled":'',"baseline-bluetooth-drive":'',"baseline-bluetooth-searching":'',"baseline-blur-circular":'',"baseline-blur-linear":'',"baseline-blur-off":'',"baseline-blur-on":'',"baseline-bolt":'',"baseline-book":'',"baseline-book-online":'',"baseline-bookmark":'',"baseline-bookmark-add":'',"baseline-bookmark-added":'',"baseline-bookmark-border":'',"baseline-bookmark-remove":'',"baseline-bookmarks":'',"baseline-border-all":'',"baseline-border-bottom":'',"baseline-border-clear":'',"baseline-border-color":'',"baseline-border-horizontal":'',"baseline-border-inner":'',"baseline-border-left":'',"baseline-border-outer":'',"baseline-border-right":'',"baseline-border-style":'',"baseline-border-top":'',"baseline-border-vertical":'',"baseline-boy":'',"baseline-branding-watermark":'',"baseline-breakfast-dining":'',"baseline-brightness-1":'',"baseline-brightness-2":'',"baseline-brightness-3":'',"baseline-brightness-4":'',"baseline-brightness-5":'',"baseline-brightness-6":'',"baseline-brightness-7":'',"baseline-brightness-auto":'',"baseline-brightness-high":'',"baseline-brightness-low":'',"baseline-brightness-medium":'',"baseline-broadcast-on-home":'',"baseline-broadcast-on-personal":'',"baseline-broken-image":'',"baseline-browse-gallery":'',"baseline-browser-not-supported":'',"baseline-browser-updated":'',"baseline-brunch-dining":'',"baseline-brush":'',"baseline-bubble-chart":'',"baseline-bug-report":'',"baseline-build":'',"baseline-build-circle":'',"baseline-bungalow":'',"baseline-burst-mode":'',"baseline-bus-alert":'',"baseline-business":'',"baseline-business-center":'',"baseline-cabin":'',"baseline-cable":'',"baseline-cached":'',"baseline-cake":'',"baseline-calculate":'',"baseline-calendar-month":'',"baseline-calendar-today":'',"baseline-calendar-view-day":'',"baseline-calendar-view-month":'',"baseline-calendar-view-week":'',"baseline-call":'',"baseline-call-end":'',"baseline-call-made":'',"baseline-call-merge":'',"baseline-call-missed":'',"baseline-call-missed-outgoing":'',"baseline-call-received":'',"baseline-call-split":'',"baseline-call-to-action":'',"baseline-camera":'',"baseline-camera-alt":'',"baseline-camera-enhance":'',"baseline-camera-front":'',"baseline-camera-indoor":'',"baseline-camera-outdoor":'',"baseline-camera-rear":'',"baseline-camera-roll":'',"baseline-cameraswitch":'',"baseline-campaign":'',"baseline-cancel":'',"baseline-cancel-presentation":'',"baseline-cancel-schedule-send":'',"baseline-candlestick-chart":'',"baseline-car-crash":'',"baseline-car-rental":'',"baseline-car-repair":'',"baseline-card-giftcard":'',"baseline-card-membership":'',"baseline-card-travel":'',"baseline-carpenter":'',"baseline-cases":'',"baseline-casino":'',"baseline-cast":'',"baseline-cast-connected":'',"baseline-cast-for-education":'',"baseline-castle":'',"baseline-catching-pokemon":'',"baseline-category":'',"baseline-celebration":'',"baseline-cell-tower":'',"baseline-cell-wifi":'',"baseline-center-focus-strong":'',"baseline-center-focus-weak":'',"baseline-chair":'',"baseline-chair-alt":'',"baseline-chalet":'',"baseline-change-circle":'',"baseline-change-history":'',"baseline-charging-station":'',"baseline-chat":'',"baseline-chat-bubble":'',"baseline-chat-bubble-outline":'',"baseline-check":'',"baseline-check-box":'',"baseline-check-box-outline-blank":'',"baseline-check-circle":'',"baseline-check-circle-outline":'',"baseline-checklist":'',"baseline-checklist-rtl":'',"baseline-checkroom":'',"baseline-chevron-left":'',"baseline-chevron-right":'',"baseline-child-care":'',"baseline-child-friendly":'',"baseline-chrome-reader-mode":'',"baseline-church":'',"baseline-circle":'',"baseline-circle-notifications":'',"baseline-class":'',"baseline-clean-hands":'',"baseline-cleaning-services":'',"baseline-clear":'',"baseline-clear-all":'',"baseline-close":'',"baseline-close-fullscreen":'',"baseline-closed-caption":'',"baseline-closed-caption-disabled":'',"baseline-closed-caption-off":'',"baseline-cloud":'',"baseline-cloud-circle":'',"baseline-cloud-done":'',"baseline-cloud-download":'',"baseline-cloud-off":'',"baseline-cloud-queue":'',"baseline-cloud-sync":'',"baseline-cloud-upload":'',"baseline-co-present":'',"baseline-co2":'',"baseline-code":'',"baseline-code-off":'',"baseline-coffee":'',"baseline-coffee-maker":'',"baseline-collections":'',"baseline-collections-bookmark":'',"baseline-color-lens":'',"baseline-colorize":'',"baseline-comment":'',"baseline-comment-bank":'',"baseline-comments-disabled":'',"baseline-commit":'',"baseline-commute":'',"baseline-compare":'',"baseline-compare-arrows":'',"baseline-compass-calibration":'',"baseline-compost":'',"baseline-compress":'',"baseline-computer":'',"baseline-confirmation-number":'',"baseline-connect-without-contact":'',"baseline-connected-tv":'',"baseline-connecting-airports":'',"baseline-construction":'',"baseline-contact-emergency":'',"baseline-contact-mail":'',"baseline-contact-page":'',"baseline-contact-phone":'',"baseline-contact-support":'',"baseline-contactless":'',"baseline-contacts":'',"baseline-content-copy":'',"baseline-content-cut":'',"baseline-content-paste":'',"baseline-content-paste-go":'',"baseline-content-paste-off":'',"baseline-content-paste-search":'',"baseline-contrast":'',"baseline-control-camera":'',"baseline-control-point":'',"baseline-control-point-duplicate":'',"baseline-cookie":'',"baseline-copy-all":'',"baseline-copyright":'',"baseline-coronavirus":'',"baseline-corporate-fare":'',"baseline-cottage":'',"baseline-countertops":'',"baseline-create":'',"baseline-create-new-folder":'',"baseline-credit-card":'',"baseline-credit-card-off":'',"baseline-credit-score":'',"baseline-crib":'',"baseline-crisis-alert":'',"baseline-crop":'',"baseline-crop-16-9":'',"baseline-crop-3-2":'',"baseline-crop-5-4":'',"baseline-crop-7-5":'',"baseline-crop-din":'',"baseline-crop-free":'',"baseline-crop-landscape":'',"baseline-crop-original":'',"baseline-crop-portrait":'',"baseline-crop-rotate":'',"baseline-crop-square":'',"baseline-cruelty-free":'',"baseline-css":'',"baseline-currency-bitcoin":'',"baseline-currency-exchange":'',"baseline-currency-franc":'',"baseline-currency-lira":'',"baseline-currency-pound":'',"baseline-currency-ruble":'',"baseline-currency-rupee":'',"baseline-currency-yen":'',"baseline-currency-yuan":'',"baseline-curtains":'',"baseline-curtains-closed":'',"baseline-cyclone":'',"baseline-dangerous":'',"baseline-dark-mode":'',"baseline-dashboard":'',"baseline-dashboard-customize":'',"baseline-data-array":'',"baseline-data-exploration":'',"baseline-data-object":'',"baseline-data-saver-off":'',"baseline-data-saver-on":'',"baseline-data-thresholding":'',"baseline-data-usage":'',"baseline-dataset":'',"baseline-dataset-linked":'',"baseline-date-range":'',"baseline-deblur":'',"baseline-deck":'',"baseline-dehaze":'',"baseline-delete":'',"baseline-delete-forever":'',"baseline-delete-outline":'',"baseline-delete-sweep":'',"baseline-delivery-dining":'',"baseline-density-large":'',"baseline-density-medium":'',"baseline-density-small":'',"baseline-departure-board":'',"baseline-description":'',"baseline-deselect":'',"baseline-design-services":'',"baseline-desk":'',"baseline-desktop-access-disabled":'',"baseline-desktop-mac":'',"baseline-desktop-windows":'',"baseline-details":'',"baseline-developer-board":'',"baseline-developer-board-off":'',"baseline-developer-mode":'',"baseline-device-hub":'',"baseline-device-thermostat":'',"baseline-device-unknown":'',"baseline-devices":'',"baseline-devices-fold":'',"baseline-devices-other":'',"baseline-dialer-sip":'',"baseline-dialpad":'',"baseline-diamond":'',"baseline-difference":'',"baseline-dining":'',"baseline-dinner-dining":'',"baseline-directions":'',"baseline-directions-bike":'',"baseline-directions-boat":'',"baseline-directions-boat-filled":'',"baseline-directions-bus":'',"baseline-directions-bus-filled":'',"baseline-directions-car":'',"baseline-directions-car-filled":'',"baseline-directions-off":'',"baseline-directions-railway":'',"baseline-directions-railway-filled":'',"baseline-directions-run":'',"baseline-directions-subway":'',"baseline-directions-subway-filled":'',"baseline-directions-transit":'',"baseline-directions-transit-filled":'',"baseline-directions-walk":'',"baseline-dirty-lens":'',"baseline-disabled-by-default":'',"baseline-disabled-visible":'',"baseline-disc-full":'',"baseline-discord":'',"baseline-discount":'',"baseline-display-settings":'',"baseline-diversity-1":'',"baseline-diversity-2":'',"baseline-diversity-3":'',"baseline-divide":'',"baseline-dns":'',"baseline-do-disturb":'',"baseline-do-disturb-alt":'',"baseline-do-disturb-off":'',"baseline-do-disturb-on":'',"baseline-do-not-disturb":'',"baseline-do-not-disturb-alt":'',"baseline-do-not-disturb-off":'',"baseline-do-not-disturb-on":'',"baseline-do-not-disturb-on-total-silence":'',"baseline-do-not-step":'',"baseline-do-not-touch":'',"baseline-dock":'',"baseline-document-scanner":'',"baseline-domain":'',"baseline-domain-add":'',"baseline-domain-disabled":'',"baseline-domain-verification":'',"baseline-done":'',"baseline-done-all":'',"baseline-done-outline":'',"baseline-donut-large":'',"baseline-donut-small":'',"baseline-door-back":'',"baseline-door-front":'',"baseline-door-sliding":'',"baseline-doorbell":'',"baseline-double-arrow":'',"baseline-downhill-skiing":'',"baseline-download":'',"baseline-download-done":'',"baseline-download-for-offline":'',"baseline-downloading":'',"baseline-drafts":'',"baseline-drag-handle":'',"baseline-drag-indicator":'',"baseline-draw":'',"baseline-drive-eta":'',"baseline-drive-file-move":'',"baseline-drive-file-move-rtl":'',"baseline-drive-file-rename-outline":'',"baseline-drive-folder-upload":'',"baseline-dry":'',"baseline-dry-cleaning":'',"baseline-duo":'',"baseline-dvr":'',"baseline-dynamic-feed":'',"baseline-dynamic-form":'',"baseline-e-mobiledata":'',"baseline-earbuds":'',"baseline-earbuds-battery":'',"baseline-east":'',"baseline-eco":'',"baseline-edgesensor-high":'',"baseline-edgesensor-low":'',"baseline-edit":'',"baseline-edit-attributes":'',"baseline-edit-calendar":'',"baseline-edit-location":'',"baseline-edit-location-alt":'',"baseline-edit-note":'',"baseline-edit-notifications":'',"baseline-edit-off":'',"baseline-edit-road":'',"baseline-egg":'',"baseline-egg-alt":'',"baseline-eject":'',"baseline-elderly":'',"baseline-elderly-woman":'',"baseline-electric-bike":'',"baseline-electric-bolt":'',"baseline-electric-car":'',"baseline-electric-meter":'',"baseline-electric-moped":'',"baseline-electric-rickshaw":'',"baseline-electric-scooter":'',"baseline-electrical-services":'',"baseline-elevator":'',"baseline-email":'',"baseline-emergency":'',"baseline-emergency-recording":'',"baseline-emergency-share":'',"baseline-emoji-emotions":'',"baseline-emoji-events":'',"baseline-emoji-flags":'',"baseline-emoji-food-beverage":'',"baseline-emoji-nature":'',"baseline-emoji-objects":'',"baseline-emoji-people":'',"baseline-emoji-symbols":'',"baseline-emoji-transportation":'',"baseline-energy-savings-leaf":'',"baseline-engineering":'',"baseline-enhanced-encryption":'',"baseline-equalizer":'',"baseline-equals":'',"baseline-error":'',"baseline-error-outline":'',"baseline-escalator":'',"baseline-escalator-warning":'',"baseline-euro":'',"baseline-euro-symbol":'',"baseline-ev-station":'',"baseline-event":'',"baseline-event-available":'',"baseline-event-busy":'',"baseline-event-note":'',"baseline-event-repeat":'',"baseline-event-seat":'',"baseline-exit-to-app":'',"baseline-expand":'',"baseline-expand-circle-down":'',"baseline-expand-less":'',"baseline-expand-more":'',"baseline-explicit":'',"baseline-explore":'',"baseline-explore-off":'',"baseline-exposure":'',"baseline-exposure-neg-1":'',"baseline-exposure-neg-2":'',"baseline-exposure-plus-1":'',"baseline-exposure-plus-2":'',"baseline-exposure-zero":'',"baseline-extension":'',"baseline-extension-off":'',"baseline-face":'',"baseline-face-2":'',"baseline-face-3":'',"baseline-face-4":'',"baseline-face-5":'',"baseline-face-6":'',"baseline-face-retouching-natural":'',"baseline-face-retouching-off":'',"baseline-facebook":'',"baseline-fact-check":'',"baseline-factory":'',"baseline-family-restroom":'',"baseline-fast-forward":'',"baseline-fast-rewind":'',"baseline-fastfood":'',"baseline-favorite":'',"baseline-favorite-border":'',"baseline-fax":'',"baseline-featured-play-list":'',"baseline-featured-video":'',"baseline-feed":'',"baseline-feedback":'',"baseline-female":'',"baseline-fence":'',"baseline-festival":'',"baseline-fiber-dvr":'',"baseline-fiber-manual-record":'',"baseline-fiber-new":'',"baseline-fiber-pin":'',"baseline-fiber-smart-record":'',"baseline-file-copy":'',"baseline-file-download":'',"baseline-file-download-done":'',"baseline-file-download-off":'',"baseline-file-open":'',"baseline-file-present":'',"baseline-file-upload":'',"baseline-filter":'',"baseline-filter-1":'',"baseline-filter-2":'',"baseline-filter-3":'',"baseline-filter-4":'',"baseline-filter-5":'',"baseline-filter-6":'',"baseline-filter-7":'',"baseline-filter-8":'',"baseline-filter-9":'',"baseline-filter-9-plus":'',"baseline-filter-alt":'',"baseline-filter-alt-off":'',"baseline-filter-b-and-w":'',"baseline-filter-center-focus":'',"baseline-filter-drama":'',"baseline-filter-frames":'',"baseline-filter-hdr":'',"baseline-filter-list":'',"baseline-filter-list-off":'',"baseline-filter-none":'',"baseline-filter-tilt-shift":'',"baseline-filter-vintage":'',"baseline-find-in-page":'',"baseline-find-replace":'',"baseline-fingerprint":'',"baseline-fire-extinguisher":'',"baseline-fire-hydrant-alt":'',"baseline-fire-truck":'',"baseline-fireplace":'',"baseline-first-page":'',"baseline-fit-screen":'',"baseline-fitbit":'',"baseline-fitness-center":'',"baseline-flag":'',"baseline-flag-circle":'',"baseline-flaky":'',"baseline-flare":'',"baseline-flash-auto":'',"baseline-flash-off":'',"baseline-flash-on":'',"baseline-flashlight-off":'',"baseline-flashlight-on":'',"baseline-flatware":'',"baseline-flight":'',"baseline-flight-class":'',"baseline-flight-land":'',"baseline-flight-takeoff":'',"baseline-flip":'',"baseline-flip-camera-android":'',"baseline-flip-camera-ios":'',"baseline-flip-to-back":'',"baseline-flip-to-front":'',"baseline-flood":'',"baseline-flourescent":'',"baseline-fluorescent":'',"baseline-flutter-dash":'',"baseline-fmd-bad":'',"baseline-fmd-good":'',"baseline-folder":'',"baseline-folder-copy":'',"baseline-folder-delete":'',"baseline-folder-off":'',"baseline-folder-open":'',"baseline-folder-shared":'',"baseline-folder-special":'',"baseline-folder-zip":'',"baseline-follow-the-signs":'',"baseline-font-download":'',"baseline-font-download-off":'',"baseline-food-bank":'',"baseline-forest":'',"baseline-fork-left":'',"baseline-fork-right":'',"baseline-format-align-center":'',"baseline-format-align-justify":'',"baseline-format-align-left":'',"baseline-format-align-right":'',"baseline-format-bold":'',"baseline-format-clear":'',"baseline-format-color-fill":'',"baseline-format-color-reset":'',"baseline-format-color-text":'',"baseline-format-indent-decrease":'',"baseline-format-indent-increase":'',"baseline-format-italic":'',"baseline-format-line-spacing":'',"baseline-format-list-bulleted":'',"baseline-format-list-numbered":'',"baseline-format-list-numbered-rtl":'',"baseline-format-overline":'',"baseline-format-paint":'',"baseline-format-quote":'',"baseline-format-shapes":'',"baseline-format-size":'',"baseline-format-strikethrough":'',"baseline-format-textdirection-l-to-r":'',"baseline-format-textdirection-r-to-l":'',"baseline-format-underlined":'',"baseline-fort":'',"baseline-forum":'',"baseline-forward":'',"baseline-forward-10":'',"baseline-forward-30":'',"baseline-forward-5":'',"baseline-forward-to-inbox":'',"baseline-foundation":'',"baseline-free-breakfast":'',"baseline-free-cancellation":'',"baseline-front-hand":'',"baseline-fullscreen":'',"baseline-fullscreen-exit":'',"baseline-functions":'',"baseline-g-mobiledata":'',"baseline-g-translate":'',"baseline-gamepad":'',"baseline-games":'',"baseline-garage":'',"baseline-gas-meter":'',"baseline-gavel":'',"baseline-generating-tokens":'',"baseline-gesture":'',"baseline-get-app":'',"baseline-gif":'',"baseline-gif-box":'',"baseline-girl":'',"baseline-gite":'',"baseline-golf-course":'',"baseline-gpp-bad":'',"baseline-gpp-good":'',"baseline-gpp-maybe":'',"baseline-gps-fixed":'',"baseline-gps-not-fixed":'',"baseline-gps-off":'',"baseline-grade":'',"baseline-gradient":'',"baseline-grading":'',"baseline-grain":'',"baseline-graphic-eq":'',"baseline-grass":'',"baseline-greater-than":'',"baseline-greater-than-equal":'',"baseline-grid-3x3":'',"baseline-grid-4x4":'',"baseline-grid-goldenratio":'',"baseline-grid-off":'',"baseline-grid-on":'',"baseline-grid-view":'',"baseline-group":'',"baseline-group-add":'',"baseline-group-off":'',"baseline-group-remove":'',"baseline-group-work":'',"baseline-groups":'',"baseline-groups-2":'',"baseline-groups-3":'',"baseline-h-mobiledata":'',"baseline-h-plus-mobiledata":'',"baseline-hail":'',"baseline-handshake":'',"baseline-handyman":'',"baseline-hardware":'',"baseline-hd":'',"baseline-hdr-auto":'',"baseline-hdr-auto-select":'',"baseline-hdr-enhanced-select":'',"baseline-hdr-off":'',"baseline-hdr-off-select":'',"baseline-hdr-on":'',"baseline-hdr-on-select":'',"baseline-hdr-plus":'',"baseline-hdr-strong":'',"baseline-hdr-weak":'',"baseline-headphones":'',"baseline-headphones-battery":'',"baseline-headset":'',"baseline-headset-mic":'',"baseline-headset-off":'',"baseline-healing":'',"baseline-health-and-safety":'',"baseline-hearing":'',"baseline-hearing-disabled":'',"baseline-heart-broken":'',"baseline-heat-pump":'',"baseline-height":'',"baseline-help":'',"baseline-help-center":'',"baseline-help-outline":'',"baseline-hevc":'',"baseline-hexagon":'',"baseline-hide-image":'',"baseline-hide-source":'',"baseline-high-quality":'',"baseline-highlight":'',"baseline-highlight-alt":'',"baseline-highlight-off":'',"baseline-hiking":'',"baseline-history":'',"baseline-history-edu":'',"baseline-history-toggle-off":'',"baseline-hive":'',"baseline-hls":'',"baseline-hls-off":'',"baseline-holiday-village":'',"baseline-home":'',"baseline-home-max":'',"baseline-home-mini":'',"baseline-home-repair-service":'',"baseline-home-work":'',"baseline-horizontal-distribute":'',"baseline-horizontal-rule":'',"baseline-horizontal-split":'',"baseline-hot-tub":'',"baseline-hotel":'',"baseline-hotel-class":'',"baseline-hourglass-bottom":'',"baseline-hourglass-disabled":'',"baseline-hourglass-empty":'',"baseline-hourglass-full":'',"baseline-hourglass-top":'',"baseline-house":'',"baseline-house-siding":'',"baseline-houseboat":'',"baseline-how-to-reg":'',"baseline-how-to-vote":'',"baseline-html":'',"baseline-http":'',"baseline-https":'',"baseline-hub":'',"baseline-hvac":'',"baseline-ice-skating":'',"baseline-icecream":'',"baseline-image":'',"baseline-image-aspect-ratio":'',"baseline-image-not-supported":'',"baseline-image-search":'',"baseline-imagesearch-roller":'',"baseline-import-contacts":'',"baseline-import-export":'',"baseline-important-devices":'',"baseline-inbox":'',"baseline-incomplete-circle":'',"baseline-indeterminate-check-box":'',"baseline-info":'',"baseline-input":'',"baseline-insert-chart":'',"baseline-insert-chart-outlined":'',"baseline-insert-comment":'',"baseline-insert-drive-file":'',"baseline-insert-emoticon":'',"baseline-insert-invitation":'',"baseline-insert-link":'',"baseline-insert-page-break":'',"baseline-insert-photo":'',"baseline-insights":'',"baseline-install-desktop":'',"baseline-install-mobile":'',"baseline-integration-instructions":'',"baseline-interests":'',"baseline-interpreter-mode":'',"baseline-inventory":'',"baseline-inventory-2":'',"baseline-invert-colors":'',"baseline-invert-colors-off":'',"baseline-ios-share":'',"baseline-iron":'',"baseline-iso":'',"baseline-javascript":'',"baseline-join-full":'',"baseline-join-inner":'',"baseline-join-left":'',"baseline-join-right":'',"baseline-kayaking":'',"baseline-kebab-dining":'',"baseline-key":'',"baseline-key-off":'',"baseline-keyboard":'',"baseline-keyboard-alt":'',"baseline-keyboard-arrow-down":'',"baseline-keyboard-arrow-left":'',"baseline-keyboard-arrow-right":'',"baseline-keyboard-arrow-up":'',"baseline-keyboard-backspace":'',"baseline-keyboard-capslock":'',"baseline-keyboard-command-key":'',"baseline-keyboard-control-key":'',"baseline-keyboard-double-arrow-down":'',"baseline-keyboard-double-arrow-left":'',"baseline-keyboard-double-arrow-right":'',"baseline-keyboard-double-arrow-up":'',"baseline-keyboard-hide":'',"baseline-keyboard-option-key":'',"baseline-keyboard-return":'',"baseline-keyboard-tab":'',"baseline-keyboard-voice":'',"baseline-king-bed":'',"baseline-kitchen":'',"baseline-kitesurfing":'',"baseline-label":'',"baseline-label-important":'',"baseline-label-off":'',"baseline-lan":'',"baseline-landscape":'',"baseline-landslide":'',"baseline-language":'',"baseline-laptop":'',"baseline-laptop-chromebook":'',"baseline-laptop-mac":'',"baseline-laptop-windows":'',"baseline-last-page":'',"baseline-launch":'',"baseline-layers":'',"baseline-layers-clear":'',"baseline-leaderboard":'',"baseline-leak-add":'',"baseline-leak-remove":'',"baseline-leave-bags-at-home":'',"baseline-legend-toggle":'',"baseline-lens":'',"baseline-lens-blur":'',"baseline-less-than":'',"baseline-less-than-equal":'',"baseline-library-add":'',"baseline-library-add-check":'',"baseline-library-books":'',"baseline-library-music":'',"baseline-light":'',"baseline-light-mode":'',"baseline-lightbulb":'',"baseline-lightbulb-circle":'',"baseline-line-axis":'',"baseline-line-style":'',"baseline-line-weight":'',"baseline-linear-scale":'',"baseline-link":'',"baseline-link-off":'',"baseline-linked-camera":'',"baseline-liquor":'',"baseline-list":'',"baseline-list-alt":'',"baseline-live-help":'',"baseline-live-tv":'',"baseline-living":'',"baseline-local-activity":'',"baseline-local-airport":'',"baseline-local-atm":'',"baseline-local-bar":'',"baseline-local-cafe":'',"baseline-local-car-wash":'',"baseline-local-convenience-store":'',"baseline-local-dining":'',"baseline-local-drink":'',"baseline-local-fire-department":'',"baseline-local-florist":'',"baseline-local-gas-station":'',"baseline-local-grocery-store":'',"baseline-local-hospital":'',"baseline-local-hotel":'',"baseline-local-laundry-service":'',"baseline-local-library":'',"baseline-local-mall":'',"baseline-local-movies":'',"baseline-local-offer":'',"baseline-local-parking":'',"baseline-local-pharmacy":'',"baseline-local-phone":'',"baseline-local-pizza":'',"baseline-local-play":'',"baseline-local-police":'',"baseline-local-post-office":'',"baseline-local-printshop":'',"baseline-local-see":'',"baseline-local-shipping":'',"baseline-local-taxi":'',"baseline-location-city":'',"baseline-location-disabled":'',"baseline-location-off":'',"baseline-location-on":'',"baseline-location-searching":'',"baseline-lock":'',"baseline-lock-clock":'',"baseline-lock-open":'',"baseline-lock-person":'',"baseline-lock-reset":'',"baseline-log-in":'',"baseline-log-out":'',"baseline-login":'',"baseline-logo-dev":'',"baseline-logout":'',"baseline-looks":'',"baseline-looks-3":'',"baseline-looks-4":'',"baseline-looks-5":'',"baseline-looks-6":'',"baseline-looks-one":'',"baseline-looks-two":'',"baseline-loop":'',"baseline-loupe":'',"baseline-low-priority":'',"baseline-loyalty":'',"baseline-lte-mobiledata":'',"baseline-lte-plus-mobiledata":'',"baseline-luggage":'',"baseline-lunch-dining":'',"baseline-lyrics":'',"baseline-macro-off":'',"baseline-mail":'',"baseline-mail-lock":'',"baseline-mail-outline":'',"baseline-male":'',"baseline-man":'',"baseline-man-2":'',"baseline-man-3":'',"baseline-man-4":'',"baseline-manage-accounts":'',"baseline-manage-history":'',"baseline-manage-search":'',"baseline-map":'',"baseline-maps-home-work":'',"baseline-maps-ugc":'',"baseline-margin":'',"baseline-mark-as-unread":'',"baseline-mark-chat-read":'',"baseline-mark-chat-unread":'',"baseline-mark-email-read":'',"baseline-mark-email-unread":'',"baseline-mark-unread-chat-alt":'',"baseline-markunread":'',"baseline-markunread-mailbox":'',"baseline-masks":'',"baseline-maximize":'',"baseline-media-bluetooth-off":'',"baseline-media-bluetooth-on":'',"baseline-mediation":'',"baseline-medical-information":'',"baseline-medical-services":'',"baseline-medication":'',"baseline-medication-liquid":'',"baseline-meeting-room":'',"baseline-memory":'',"baseline-menu":'',"baseline-menu-book":'',"baseline-menu-open":'',"baseline-merge":'',"baseline-merge-type":'',"baseline-message":'',"baseline-mic":'',"baseline-mic-external-off":'',"baseline-mic-external-on":'',"baseline-mic-none":'',"baseline-mic-off":'',"baseline-microwave":'',"baseline-military-tech":'',"baseline-minimize":'',"baseline-minor-crash":'',"baseline-minus":'',"baseline-miscellaneous-services":'',"baseline-missed-video-call":'',"baseline-mms":'',"baseline-mobile-friendly":'',"baseline-mobile-off":'',"baseline-mobile-screen-share":'',"baseline-mobiledata-off":'',"baseline-mode":'',"baseline-mode-comment":'',"baseline-mode-edit":'',"baseline-mode-edit-outline":'',"baseline-mode-fan-off":'',"baseline-mode-night":'',"baseline-mode-of-travel":'',"baseline-mode-standby":'',"baseline-model-training":'',"baseline-monetization-on":'',"baseline-money":'',"baseline-money-off":'',"baseline-money-off-csred":'',"baseline-monitor":'',"baseline-monitor-heart":'',"baseline-monitor-weight":'',"baseline-monochrome-photos":'',"baseline-mood":'',"baseline-mood-bad":'',"baseline-moped":'',"baseline-more":'',"baseline-more-horiz":'',"baseline-more-time":'',"baseline-more-vert":'',"baseline-mosque":'',"baseline-motion-photos-auto":'',"baseline-motion-photos-off":'',"baseline-motion-photos-on":'',"baseline-motion-photos-pause":'',"baseline-motion-photos-paused":'',"baseline-motorcycle":'',"baseline-mouse":'',"baseline-move-down":'',"baseline-move-to-inbox":'',"baseline-move-up":'',"baseline-movie":'',"baseline-movie-creation":'',"baseline-movie-filter":'',"baseline-moving":'',"baseline-mp":'',"baseline-multiline-chart":'',"baseline-multiple-stop":'',"baseline-museum":'',"baseline-music-note":'',"baseline-music-off":'',"baseline-music-video":'',"baseline-my-location":'',"baseline-nat":'',"baseline-nature":'',"baseline-nature-people":'',"baseline-navigate-before":'',"baseline-navigate-next":'',"baseline-navigation":'',"baseline-near-me":'',"baseline-near-me-disabled":'',"baseline-nearby-error":'',"baseline-nearby-off":'',"baseline-nest-cam-wired-stand":'',"baseline-network-cell":'',"baseline-network-check":'',"baseline-network-locked":'',"baseline-network-ping":'',"baseline-network-wifi":'',"baseline-network-wifi-1-bar":'',"baseline-network-wifi-2-bar":'',"baseline-network-wifi-3-bar":'',"baseline-new-label":'',"baseline-new-releases":'',"baseline-newspaper":'',"baseline-next-plan":'',"baseline-next-week":'',"baseline-nfc":'',"baseline-night-shelter":'',"baseline-nightlife":'',"baseline-nightlight":'',"baseline-nightlight-round":'',"baseline-nights-stay":'',"baseline-no-accounts":'',"baseline-no-adult-content":'',"baseline-no-backpack":'',"baseline-no-cell":'',"baseline-no-crash":'',"baseline-no-drinks":'',"baseline-no-encryption":'',"baseline-no-encryption-gmailerrorred":'',"baseline-no-flash":'',"baseline-no-food":'',"baseline-no-luggage":'',"baseline-no-meals":'',"baseline-no-meeting-room":'',"baseline-no-photography":'',"baseline-no-sim":'',"baseline-no-stroller":'',"baseline-no-transfer":'',"baseline-noise-aware":'',"baseline-noise-control-off":'',"baseline-nordic-walking":'',"baseline-north":'',"baseline-north-east":'',"baseline-north-west":'',"baseline-not-accessible":'',"baseline-not-equal":'',"baseline-not-interested":'',"baseline-not-listed-location":'',"baseline-not-started":'',"baseline-note":'',"baseline-note-add":'',"baseline-note-alt":'',"baseline-notes":'',"baseline-notification-add":'',"baseline-notification-important":'',"baseline-notifications":'',"baseline-notifications-active":'',"baseline-notifications-none":'',"baseline-notifications-off":'',"baseline-notifications-paused":'',"baseline-numbers":'',"baseline-offline-bolt":'',"baseline-offline-pin":'',"baseline-offline-share":'',"baseline-oil-barrel":'',"baseline-on-device-training":'',"baseline-ondemand-video":'',"baseline-online-prediction":'',"baseline-opacity":'',"baseline-open-in-browser":'',"baseline-open-in-full":'',"baseline-open-in-new":'',"baseline-open-in-new-off":'',"baseline-open-with":'',"baseline-other-houses":'',"baseline-outbond":'',"baseline-outbound":'',"baseline-outbox":'',"baseline-outdoor-grill":'',"baseline-outlet":'',"baseline-outlined-flag":'',"baseline-output":'',"baseline-padding":'',"baseline-pages":'',"baseline-pageview":'',"baseline-paid":'',"baseline-palette":'',"baseline-pan-tool":'',"baseline-pan-tool-alt":'',"baseline-panorama":'',"baseline-panorama-fish-eye":'',"baseline-panorama-horizontal":'',"baseline-panorama-horizontal-select":'',"baseline-panorama-photosphere":'',"baseline-panorama-photosphere-select":'',"baseline-panorama-vertical":'',"baseline-panorama-vertical-select":'',"baseline-panorama-wide-angle":'',"baseline-panorama-wide-angle-select":'',"baseline-paragliding":'',"baseline-park":'',"baseline-party-mode":'',"baseline-password":'',"baseline-pattern":'',"baseline-pause":'',"baseline-pause-circle":'',"baseline-pause-circle-filled":'',"baseline-pause-circle-outline":'',"baseline-pause-presentation":'',"baseline-payment":'',"baseline-payments":'',"baseline-paypal":'',"baseline-pedal-bike":'',"baseline-pending":'',"baseline-pending-actions":'',"baseline-pentagon":'',"baseline-people":'',"baseline-people-alt":'',"baseline-people-outline":'',"baseline-percent":'',"baseline-percentage":'',"baseline-perm-camera-mic":'',"baseline-perm-contact-calendar":'',"baseline-perm-data-setting":'',"baseline-perm-device-information":'',"baseline-perm-identity":'',"baseline-perm-media":'',"baseline-perm-phone-msg":'',"baseline-perm-scan-wifi":'',"baseline-person":'',"baseline-person-2":'',"baseline-person-3":'',"baseline-person-4":'',"baseline-person-add":'',"baseline-person-add-alt":'',"baseline-person-add-alt-1":'',"baseline-person-add-disabled":'',"baseline-person-off":'',"baseline-person-outline":'',"baseline-person-pin":'',"baseline-person-pin-circle":'',"baseline-person-remove":'',"baseline-person-remove-alt-1":'',"baseline-person-search":'',"baseline-personal-injury":'',"baseline-personal-video":'',"baseline-pest-control":'',"baseline-pest-control-rodent":'',"baseline-pets":'',"baseline-phishing":'',"baseline-phone":'',"baseline-phone-android":'',"baseline-phone-bluetooth-speaker":'',"baseline-phone-callback":'',"baseline-phone-disabled":'',"baseline-phone-enabled":'',"baseline-phone-forwarded":'',"baseline-phone-in-talk":'',"baseline-phone-iphone":'',"baseline-phone-locked":'',"baseline-phone-missed":'',"baseline-phone-paused":'',"baseline-phonelink":'',"baseline-phonelink-erase":'',"baseline-phonelink-lock":'',"baseline-phonelink-off":'',"baseline-phonelink-ring":'',"baseline-phonelink-setup":'',"baseline-photo":'',"baseline-photo-album":'',"baseline-photo-camera":'',"baseline-photo-camera-back":'',"baseline-photo-camera-front":'',"baseline-photo-filter":'',"baseline-photo-library":'',"baseline-photo-size-select-actual":'',"baseline-photo-size-select-large":'',"baseline-photo-size-select-small":'',"baseline-php":'',"baseline-piano":'',"baseline-piano-off":'',"baseline-picture-as-pdf":'',"baseline-picture-in-picture":'',"baseline-picture-in-picture-alt":'',"baseline-pie-chart":'',"baseline-pie-chart-outline":'',"baseline-pin":'',"baseline-pin-drop":'',"baseline-pin-end":'',"baseline-pin-invoke":'',"baseline-pin-off":'',"baseline-pinch":'',"baseline-pivot-table-chart":'',"baseline-pix":'',"baseline-place":'',"baseline-plagiarism":'',"baseline-play-arrow":'',"baseline-play-circle":'',"baseline-play-circle-filled":'',"baseline-play-circle-filled-white":'',"baseline-play-circle-outline":'',"baseline-play-disabled":'',"baseline-play-for-work":'',"baseline-play-lesson":'',"baseline-playlist-add":'',"baseline-playlist-add-check":'',"baseline-playlist-add-check-circle":'',"baseline-playlist-add-circle":'',"baseline-playlist-play":'',"baseline-playlist-remove":'',"baseline-plumbing":'',"baseline-plus":'',"baseline-plus-minus":'',"baseline-plus-minus-alt":'',"baseline-plus-one":'',"baseline-podcasts":'',"baseline-point-of-sale":'',"baseline-policy":'',"baseline-poll":'',"baseline-polyline":'',"baseline-polymer":'',"baseline-pool":'',"baseline-portable-wifi-off":'',"baseline-portrait":'',"baseline-post-add":'',"baseline-power":'',"baseline-power-input":'',"baseline-power-off":'',"baseline-power-settings-new":'',"baseline-precision-manufacturing":'',"baseline-pregnant-woman":'',"baseline-present-to-all":'',"baseline-preview":'',"baseline-price-change":'',"baseline-price-check":'',"baseline-print":'',"baseline-print-disabled":'',"baseline-priority-high":'',"baseline-privacy-tip":'',"baseline-private-connectivity":'',"baseline-production-quantity-limits":'',"baseline-propane":'',"baseline-propane-tank":'',"baseline-psychology":'',"baseline-psychology-alt":'',"baseline-public":'',"baseline-public-off":'',"baseline-publish":'',"baseline-published-with-changes":'',"baseline-punch-clock":'',"baseline-push-pin":'',"baseline-qr-code":'',"baseline-qr-code-2":'',"baseline-qr-code-scanner":'',"baseline-qrcode":'',"baseline-query-builder":'',"baseline-query-stats":'',"baseline-question-answer":'',"baseline-question-mark":'',"baseline-queue":'',"baseline-queue-music":'',"baseline-queue-play-next":'',"baseline-quickreply":'',"baseline-quiz":'',"baseline-quora":'',"baseline-r-mobiledata":'',"baseline-radar":'',"baseline-radio":'',"baseline-radio-button-checked":'',"baseline-radio-button-unchecked":'',"baseline-railway-alert":'',"baseline-ramen-dining":'',"baseline-ramp-left":'',"baseline-ramp-right":'',"baseline-rate-review":'',"baseline-raw-off":'',"baseline-raw-on":'',"baseline-read-more":'',"baseline-real-estate-agent":'',"baseline-receipt":'',"baseline-receipt-long":'',"baseline-recent-actors":'',"baseline-recommend":'',"baseline-record-voice-over":'',"baseline-rectangle":'',"baseline-recycling":'',"baseline-reddit":'',"baseline-redeem":'',"baseline-redo":'',"baseline-reduce-capacity":'',"baseline-refresh":'',"baseline-remember-me":'',"baseline-remove":'',"baseline-remove-circle":'',"baseline-remove-circle-outline":'',"baseline-remove-done":'',"baseline-remove-from-queue":'',"baseline-remove-moderator":'',"baseline-remove-red-eye":'',"baseline-remove-road":'',"baseline-remove-shopping-cart":'',"baseline-reorder":'',"baseline-repartition":'',"baseline-repeat":'',"baseline-repeat-on":'',"baseline-repeat-one":'',"baseline-repeat-one-on":'',"baseline-replay":'',"baseline-replay-10":'',"baseline-replay-30":'',"baseline-replay-5":'',"baseline-replay-circle-filled":'',"baseline-reply":'',"baseline-reply-all":'',"baseline-report":'',"baseline-report-gmailerrorred":'',"baseline-report-off":'',"baseline-report-problem":'',"baseline-request-page":'',"baseline-request-quote":'',"baseline-reset-tv":'',"baseline-restart-alt":'',"baseline-restaurant":'',"baseline-restaurant-menu":'',"baseline-restore":'',"baseline-restore-from-trash":'',"baseline-restore-page":'',"baseline-reviews":'',"baseline-rice-bowl":'',"baseline-ring-volume":'',"baseline-rocket":'',"baseline-rocket-launch":'',"baseline-roller-shades":'',"baseline-roller-shades-closed":'',"baseline-roller-skating":'',"baseline-roofing":'',"baseline-room":'',"baseline-room-preferences":'',"baseline-room-service":'',"baseline-rotate-90-degrees-ccw":'',"baseline-rotate-90-degrees-cw":'',"baseline-rotate-left":'',"baseline-rotate-right":'',"baseline-roundabout-left":'',"baseline-roundabout-right":'',"baseline-rounded-corner":'',"baseline-route":'',"baseline-router":'',"baseline-rowing":'',"baseline-rss-feed":'',"baseline-rsvp":'',"baseline-rtt":'',"baseline-rule":'',"baseline-rule-folder":'',"baseline-run-circle":'',"baseline-running-with-errors":'',"baseline-rv-hookup":'',"baseline-safety-check":'',"baseline-safety-divider":'',"baseline-sailing":'',"baseline-sanitizer":'',"baseline-satellite":'',"baseline-satellite-alt":'',"baseline-save":'',"baseline-save-all":'',"baseline-save-alt":'',"baseline-save-as":'',"baseline-saved-search":'',"baseline-savings":'',"baseline-scale":'',"baseline-scanner":'',"baseline-scatter-plot":'',"baseline-schedule":'',"baseline-schedule-send":'',"baseline-schema":'',"baseline-school":'',"baseline-science":'',"baseline-score":'',"baseline-scoreboard":'',"baseline-screen-lock-landscape":'',"baseline-screen-lock-portrait":'',"baseline-screen-lock-rotation":'',"baseline-screen-rotation":'',"baseline-screen-rotation-alt":'',"baseline-screen-search-desktop":'',"baseline-screen-share":'',"baseline-screenshot":'',"baseline-screenshot-monitor":'',"baseline-scuba-diving":'',"baseline-sd":'',"baseline-sd-card":'',"baseline-sd-card-alert":'',"baseline-sd-storage":'',"baseline-search":'',"baseline-search-off":'',"baseline-security":'',"baseline-security-update":'',"baseline-security-update-good":'',"baseline-security-update-warning":'',"baseline-segment":'',"baseline-select-all":'',"baseline-self-improvement":'',"baseline-sell":'',"baseline-send":'',"baseline-send-and-archive":'',"baseline-send-time-extension":'',"baseline-send-to-mobile":'',"baseline-sensor-door":'',"baseline-sensor-occupied":'',"baseline-sensor-window":'',"baseline-sensors":'',"baseline-sensors-off":'',"baseline-sentiment-dissatisfied":'',"baseline-sentiment-neutral":'',"baseline-sentiment-satisfied":'',"baseline-sentiment-satisfied-alt":'',"baseline-sentiment-slightly-dissatisfied":'',"baseline-sentiment-very-dissatisfied":'',"baseline-sentiment-very-satisfied":'',"baseline-set-meal":'',"baseline-settings":'',"baseline-settings-accessibility":'',"baseline-settings-applications":'',"baseline-settings-backup-restore":'',"baseline-settings-bluetooth":'',"baseline-settings-brightness":'',"baseline-settings-cell":'',"baseline-settings-ethernet":'',"baseline-settings-input-antenna":'',"baseline-settings-input-component":'',"baseline-settings-input-composite":'',"baseline-settings-input-hdmi":'',"baseline-settings-input-svideo":'',"baseline-settings-overscan":'',"baseline-settings-phone":'',"baseline-settings-power":'',"baseline-settings-remote":'',"baseline-settings-suggest":'',"baseline-settings-system-daydream":'',"baseline-settings-voice":'',"baseline-severe-cold":'',"baseline-shape-line":'',"baseline-share":'',"baseline-share-arrival-time":'',"baseline-share-location":'',"baseline-shield":'',"baseline-shield-moon":'',"baseline-shop":'',"baseline-shop-2":'',"baseline-shop-two":'',"baseline-shopify":'',"baseline-shopping-bag":'',"baseline-shopping-basket":'',"baseline-shopping-cart":'',"baseline-shopping-cart-checkout":'',"baseline-short-text":'',"baseline-shortcut":'',"baseline-show-chart":'',"baseline-shower":'',"baseline-shuffle":'',"baseline-shuffle-on":'',"baseline-shutter-speed":'',"baseline-sick":'',"baseline-sign-language":'',"baseline-signal-cellular-0-bar":'',"baseline-signal-cellular-1-bar":'',"baseline-signal-cellular-2-bar":'',"baseline-signal-cellular-3-bar":'',"baseline-signal-cellular-4-bar":'',"baseline-signal-cellular-alt":'',"baseline-signal-cellular-alt-1-bar":'',"baseline-signal-cellular-alt-2-bar":'',"baseline-signal-cellular-connected-no-internet-0-bar":'',"baseline-signal-cellular-connected-no-internet-1-bar":'',"baseline-signal-cellular-connected-no-internet-2-bar":'',"baseline-signal-cellular-connected-no-internet-3-bar":'',"baseline-signal-cellular-connected-no-internet-4-bar":'',"baseline-signal-cellular-no-sim":'',"baseline-signal-cellular-nodata":'',"baseline-signal-cellular-null":'',"baseline-signal-cellular-off":'',"baseline-signal-wifi-0-bar":'',"baseline-signal-wifi-1-bar":'',"baseline-signal-wifi-1-bar-lock":'',"baseline-signal-wifi-2-bar":'',"baseline-signal-wifi-2-bar-lock":'',"baseline-signal-wifi-3-bar":'',"baseline-signal-wifi-3-bar-lock":'',"baseline-signal-wifi-4-bar":'',"baseline-signal-wifi-4-bar-lock":'',"baseline-signal-wifi-bad":'',"baseline-signal-wifi-connected-no-internet-4":'',"baseline-signal-wifi-off":'',"baseline-signal-wifi-statusbar-4-bar":'',"baseline-signal-wifi-statusbar-connected-no-internet-4":'',"baseline-signal-wifi-statusbar-null":'',"baseline-signpost":'',"baseline-sim-card":'',"baseline-sim-card-alert":'',"baseline-sim-card-download":'',"baseline-single-bed":'',"baseline-sip":'',"baseline-skateboarding":'',"baseline-skip-next":'',"baseline-skip-previous":'',"baseline-sledding":'',"baseline-slideshow":'',"baseline-slow-motion-video":'',"baseline-smart-button":'',"baseline-smart-display":'',"baseline-smart-screen":'',"baseline-smart-toy":'',"baseline-smartphone":'',"baseline-smoke-free":'',"baseline-smoking-rooms":'',"baseline-sms":'',"baseline-sms-failed":'',"baseline-snapchat":'',"baseline-snippet-folder":'',"baseline-snooze":'',"baseline-snowboarding":'',"baseline-snowmobile":'',"baseline-snowshoeing":'',"baseline-soap":'',"baseline-social-distance":'',"baseline-solar-power":'',"baseline-sort":'',"baseline-sort-by-alpha":'',"baseline-sos":'',"baseline-soup-kitchen":'',"baseline-source":'',"baseline-south":'',"baseline-south-america":'',"baseline-south-east":'',"baseline-south-west":'',"baseline-spa":'',"baseline-space-bar":'',"baseline-space-dashboard":'',"baseline-spatial-audio":'',"baseline-spatial-audio-off":'',"baseline-spatial-tracking":'',"baseline-speaker":'',"baseline-speaker-group":'',"baseline-speaker-notes":'',"baseline-speaker-notes-off":'',"baseline-speaker-phone":'',"baseline-speed":'',"baseline-spellcheck":'',"baseline-splitscreen":'',"baseline-spoke":'',"baseline-sports":'',"baseline-sports-bar":'',"baseline-sports-baseball":'',"baseline-sports-basketball":'',"baseline-sports-cricket":'',"baseline-sports-esports":'',"baseline-sports-football":'',"baseline-sports-golf":'',"baseline-sports-gymnastics":'',"baseline-sports-handball":'',"baseline-sports-hockey":'',"baseline-sports-kabaddi":'',"baseline-sports-martial-arts":'',"baseline-sports-mma":'',"baseline-sports-motorsports":'',"baseline-sports-rugby":'',"baseline-sports-score":'',"baseline-sports-soccer":'',"baseline-sports-tennis":'',"baseline-sports-volleyball":'',"baseline-square":'',"baseline-square-foot":'',"baseline-ssid-chart":'',"baseline-stacked-bar-chart":'',"baseline-stacked-line-chart":'',"baseline-stadium":'',"baseline-stairs":'',"baseline-star":'',"baseline-star-border":'',"baseline-star-border-purple500":'',"baseline-star-half":'',"baseline-star-outline":'',"baseline-star-purple500":'',"baseline-star-rate":'',"baseline-stars":'',"baseline-start":'',"baseline-stay-current-landscape":'',"baseline-stay-current-portrait":'',"baseline-stay-primary-landscape":'',"baseline-stay-primary-portrait":'',"baseline-sticky-note-2":'',"baseline-stop":'',"baseline-stop-circle":'',"baseline-stop-screen-share":'',"baseline-storage":'',"baseline-store":'',"baseline-store-mall-directory":'',"baseline-storefront":'',"baseline-storm":'',"baseline-straight":'',"baseline-straighten":'',"baseline-stream":'',"baseline-streetview":'',"baseline-strikethrough-s":'',"baseline-stroller":'',"baseline-style":'',"baseline-subdirectory-arrow-left":'',"baseline-subdirectory-arrow-right":'',"baseline-subject":'',"baseline-subscript":'',"baseline-subscriptions":'',"baseline-subtitles":'',"baseline-subtitles-off":'',"baseline-subway":'',"baseline-summarize":'',"baseline-superscript":'',"baseline-supervised-user-circle":'',"baseline-supervisor-account":'',"baseline-support":'',"baseline-support-agent":'',"baseline-surfing":'',"baseline-surround-sound":'',"baseline-swap-calls":'',"baseline-swap-horiz":'',"baseline-swap-horizontal-circle":'',"baseline-swap-vert":'',"baseline-swap-vertical-circle":'',"baseline-swipe":'',"baseline-swipe-down":'',"baseline-swipe-down-alt":'',"baseline-swipe-left":'',"baseline-swipe-left-alt":'',"baseline-swipe-right":'',"baseline-swipe-right-alt":'',"baseline-swipe-up":'',"baseline-swipe-up-alt":'',"baseline-swipe-vertical":'',"baseline-switch-access-shortcut":'',"baseline-switch-access-shortcut-add":'',"baseline-switch-account":'',"baseline-switch-camera":'',"baseline-switch-left":'',"baseline-switch-right":'',"baseline-switch-video":'',"baseline-synagogue":'',"baseline-sync":'',"baseline-sync-alt":'',"baseline-sync-disabled":'',"baseline-sync-lock":'',"baseline-sync-problem":'',"baseline-system-security-update":'',"baseline-system-security-update-good":'',"baseline-system-security-update-warning":'',"baseline-system-update":'',"baseline-system-update-alt":'',"baseline-tab":'',"baseline-tab-unselected":'',"baseline-table-bar":'',"baseline-table-chart":'',"baseline-table-restaurant":'',"baseline-table-rows":'',"baseline-table-view":'',"baseline-tablet":'',"baseline-tablet-android":'',"baseline-tablet-mac":'',"baseline-tag":'',"baseline-tag-faces":'',"baseline-takeout-dining":'',"baseline-tap-and-play":'',"baseline-tapas":'',"baseline-task":'',"baseline-task-alt":'',"baseline-taxi-alert":'',"baseline-telegram":'',"baseline-temple-buddhist":'',"baseline-temple-hindu":'',"baseline-terminal":'',"baseline-terrain":'',"baseline-text-decrease":'',"baseline-text-fields":'',"baseline-text-format":'',"baseline-text-increase":'',"baseline-text-rotate-up":'',"baseline-text-rotate-vertical":'',"baseline-text-rotation-angledown":'',"baseline-text-rotation-angleup":'',"baseline-text-rotation-down":'',"baseline-text-rotation-none":'',"baseline-text-snippet":'',"baseline-textsms":'',"baseline-texture":'',"baseline-theater-comedy":'',"baseline-theaters":'',"baseline-thermostat":'',"baseline-thermostat-auto":'',"baseline-thumb-down":'',"baseline-thumb-down-alt":'',"baseline-thumb-down-off-alt":'',"baseline-thumb-up":'',"baseline-thumb-up-alt":'',"baseline-thumb-up-off-alt":'',"baseline-thumbs-up-down":'',"baseline-thunderstorm":'',"baseline-tiktok":'',"baseline-time-to-leave":'',"baseline-timelapse":'',"baseline-timeline":'',"baseline-timer":'',"baseline-timer-10":'',"baseline-timer-10-select":'',"baseline-timer-3":'',"baseline-timer-3-select":'',"baseline-timer-off":'',"baseline-tips-and-updates":'',"baseline-tire-repair":'',"baseline-title":'',"baseline-toc":'',"baseline-today":'',"baseline-toggle-off":'',"baseline-toggle-on":'',"baseline-token":'',"baseline-toll":'',"baseline-tonality":'',"baseline-topic":'',"baseline-tornado":'',"baseline-touch-app":'',"baseline-tour":'',"baseline-toys":'',"baseline-track-changes":'',"baseline-traffic":'',"baseline-train":'',"baseline-tram":'',"baseline-transcribe":'',"baseline-transfer-within-a-station":'',"baseline-transform":'',"baseline-transgender":'',"baseline-transit-enterexit":'',"baseline-translate":'',"baseline-travel-explore":'',"baseline-trending-down":'',"baseline-trending-flat":'',"baseline-trending-up":'',"baseline-trip-origin":'',"baseline-troubleshoot":'',"baseline-try":'',"baseline-tsunami":'',"baseline-tty":'',"baseline-tune":'',"baseline-tungsten":'',"baseline-turn-left":'',"baseline-turn-right":'',"baseline-turn-sharp-left":'',"baseline-turn-sharp-right":'',"baseline-turn-slight-left":'',"baseline-turn-slight-right":'',"baseline-turned-in":'',"baseline-turned-in-not":'',"baseline-tv":'',"baseline-tv-off":'',"baseline-two-wheeler":'',"baseline-type-specimen":'',"baseline-u-turn-left":'',"baseline-u-turn-right":'',"baseline-umbrella":'',"baseline-unarchive":'',"baseline-undo":'',"baseline-unfold-less":'',"baseline-unfold-less-double":'',"baseline-unfold-more":'',"baseline-unfold-more-double":'',"baseline-unpublished":'',"baseline-unsubscribe":'',"baseline-upcoming":'',"baseline-update":'',"baseline-update-disabled":'',"baseline-upgrade":'',"baseline-upload":'',"baseline-upload-file":'',"baseline-usb":'',"baseline-usb-off":'',"baseline-vaccines":'',"baseline-vape-free":'',"baseline-vaping-rooms":'',"baseline-verified":'',"baseline-verified-user":'',"baseline-vertical-align-bottom":'',"baseline-vertical-align-center":'',"baseline-vertical-align-top":'',"baseline-vertical-distribute":'',"baseline-vertical-shades":'',"baseline-vertical-shades-closed":'',"baseline-vertical-split":'',"baseline-vibration":'',"baseline-video-call":'',"baseline-video-camera-back":'',"baseline-video-camera-front":'',"baseline-video-chat":'',"baseline-video-file":'',"baseline-video-label":'',"baseline-video-library":'',"baseline-video-settings":'',"baseline-video-stable":'',"baseline-videocam":'',"baseline-videocam-off":'',"baseline-videogame-asset":'',"baseline-videogame-asset-off":'',"baseline-view-agenda":'',"baseline-view-array":'',"baseline-view-carousel":'',"baseline-view-column":'',"baseline-view-comfy":'',"baseline-view-comfy-alt":'',"baseline-view-compact":'',"baseline-view-compact-alt":'',"baseline-view-cozy":'',"baseline-view-day":'',"baseline-view-headline":'',"baseline-view-in-ar":'',"baseline-view-kanban":'',"baseline-view-list":'',"baseline-view-module":'',"baseline-view-quilt":'',"baseline-view-sidebar":'',"baseline-view-stream":'',"baseline-view-timeline":'',"baseline-view-week":'',"baseline-vignette":'',"baseline-villa":'',"baseline-visibility":'',"baseline-visibility-off":'',"baseline-voice-chat":'',"baseline-voice-over-off":'',"baseline-voicemail":'',"baseline-volcano":'',"baseline-volume-down":'',"baseline-volume-mute":'',"baseline-volume-off":'',"baseline-volume-up":'',"baseline-volunteer-activism":'',"baseline-vpn-key":'',"baseline-vpn-key-off":'',"baseline-vpn-lock":'',"baseline-vrpano":'',"baseline-wallet":'',"baseline-wallpaper":'',"baseline-warehouse":'',"baseline-warning":'',"baseline-warning-amber":'',"baseline-wash":'',"baseline-watch":'',"baseline-watch-later":'',"baseline-watch-off":'',"baseline-water":'',"baseline-water-damage":'',"baseline-water-drop":'',"baseline-waterfall-chart":'',"baseline-waves":'',"baseline-waving-hand":'',"baseline-wb-auto":'',"baseline-wb-cloudy":'',"baseline-wb-incandescent":'',"baseline-wb-iridescent":'',"baseline-wb-shade":'',"baseline-wb-sunny":'',"baseline-wb-twilight":'',"baseline-wc":'',"baseline-web":'',"baseline-web-asset":'',"baseline-web-asset-off":'',"baseline-web-stories":'',"baseline-webhook":'',"baseline-wechat":'',"baseline-weekend":'',"baseline-west":'',"baseline-whatsapp":'',"baseline-whatshot":'',"baseline-wheelchair-pickup":'',"baseline-where-to-vote":'',"baseline-widgets":'',"baseline-width-full":'',"baseline-width-normal":'',"baseline-width-wide":'',"baseline-wifi":'',"baseline-wifi-1-bar":'',"baseline-wifi-2-bar":'',"baseline-wifi-calling":'',"baseline-wifi-calling-3":'',"baseline-wifi-channel":'',"baseline-wifi-find":'',"baseline-wifi-lock":'',"baseline-wifi-off":'',"baseline-wifi-password":'',"baseline-wifi-protected-setup":'',"baseline-wifi-tethering":'',"baseline-wifi-tethering-error":'',"baseline-wifi-tethering-error-rounded":'',"baseline-wifi-tethering-off":'',"baseline-wind-power":'',"baseline-window":'',"baseline-wine-bar":'',"baseline-woman":'',"baseline-woman-2":'',"baseline-woo-commerce":'',"baseline-wordpress":'',"baseline-work":'',"baseline-work-history":'',"baseline-work-off":'',"baseline-work-outline":'',"baseline-workspace-premium":'',"baseline-workspaces":'',"baseline-wrap-text":'',"baseline-wrong-location":'',"baseline-wysiwyg":'',"baseline-yard":'',"baseline-youtube-searched-for":'',"baseline-zoom-in":'',"baseline-zoom-in-map":'',"baseline-zoom-out":'',"baseline-zoom-out-map":''},TM=(n,e)=>{const t=n.__vccOpts||n;for(const[r,i]of e)t[r]=i;return t},e7e={},t7e={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function r7e(n,e){return Ve(),Xe("span",t7e,[pn(n.$slots,"default")])}const rH=TM(e7e,[["render",r7e]]),n7e={},i7e={class:"h-3 w-3 $ui-inline-fcc"};function s7e(n,e){return Ve(),Xe("div",i7e,e[0]||(e[0]=[Pe("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[Pe("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),Pe("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)]))}const ire=TM(n7e,[["render",s7e]]),o7e={key:2},Gn=Ft({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(n,{emit:e}){const t=n,r=e,i=iQ(),s=ot(()=>i.to?"router-link":i.href?"a":"button"),o=ot(()=>t.loading||t.disabled);function a(h){if(o.value){h.preventDefault(),h.stopPropagation(),h.stopImmediatePropagation();return}r("click",h)}const l={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},c=Fb(),u=ot(()=>t.flat?l.flat[t.type]:t.outlined?l.outlined[t.type]:l.normal[t.type]);return(h,d)=>(Ve(),Nt(Su(s.value),vo(h.$attrs,{role:"button","aria-disabled":o.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[t.type]],{"rounded-full":t.round==="full","$ui-base-br":t.round==="normal","opacity-50 cursor-not-allowed":o.value,"bg-transparent":t.flat||t.outlined},[h.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",h.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",u.value]]],onClickCapture:a}),{default:At(()=>[h.loading?(Ve(),Nt(ire,{key:0,class:"mt0.5 h-full w3"})):pn(h.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),ye(c).default?(Ve(),Xe("div",o7e,[pn(h.$slots,"default")])):Rt("",!0),pn(h.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),a7e={},l7e={class:"$ui-base border $ui-border-base rounded shadow-sm"};function c7e(n,e){return Ve(),Xe("div",l7e,[pn(n.$slots,"default")])}const c4=TM(a7e,[["render",c7e]]),Dg=Ft({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(n,{emit:e}){const t=$u(n,"modelValue",e);return(r,i)=>(Ve(),Xe("div",{class:Ar(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[ye(t)?r.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:i[0]||(i[0]=s=>t.value=!ye(t))},[Pe("div",{class:Ar([[ye(t)?"opacity-100":"opacity-0"],"h-60% w-35% transform-translate-y--0.25 transform-rotate-45 border-width-[0_0.125rem_0.125rem_0] border-white border-solid transition-opacity duration-200 ease-in-out"])},null,2)],2))}}),R5=Cn();let nH=null;function u7e(n,e="text"){var t;if(!nH&&!R5.value){const i=Q8e();nH=f6e({themes:[wl(()=>import("./vitesse-dark-D0r3Knsf.js"),[],import.meta.url),wl(()=>import("./vitesse-light-CVO1_9PV.js"),[],import.meta.url)],langs:[wl(()=>import("./json-BLmTiKMJ.js"),[],import.meta.url),wl(()=>import("./yaml-DeMLtiT4.js"),[],import.meta.url),wl(()=>import("./css-6ydISZ1j.js"),[],import.meta.url),wl(()=>import("./javascript-DFxyEsuO.js"),[],import.meta.url),wl(()=>import("./typescript-6msxI5qU.js"),[],import.meta.url),wl(()=>import("./vue-XV-ldwVs.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),wl(()=>import("./vue-html-ecI6esm2.js"),__vite__mapDeps([6,0,1,2,3,4,5]),import.meta.url),wl(()=>import("./html-DQt1crSz.js"),__vite__mapDeps([1,2,3]),import.meta.url),wl(()=>import("./diff-7a-uGD01.js"),[],import.meta.url),wl(()=>import("./shellscript-Cs-zf8G1.js"),[],import.meta.url)],engine:i}).then(s=>{R5.value=s})}const r=(t=R5.value)==null?void 0:t.getLoadedLanguages().includes(e);return r?{code:R5.value.codeToHtml(n,{lang:e,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:n,supported:r}}const h7e=["innerHTML"],d7e={class:"shiki"},f7e=["textContent"],xM=Ft({__name:"CodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(n,{emit:e}){const t=n,r=e,i=ot(()=>{const s=t.lang==="text"?{code:t.code,supported:!1}:u7e(t.code,t.lang)||{code:t.code,supported:!1};return s.supported&&t.transformRendered&&(s.code=t.transformRendered(s.code)),s.supported&&Hs(()=>r("loaded")),s});return(s,o)=>s.lang&&i.value.supported?(Ve(),Xe("pre",{key:0,class:Ar(["code-block",s.lines?"code-block-lines":""]),innerHTML:i.value.code},null,10,h7e)):(Ve(),Xe("pre",{key:1,class:Ar(["code-block",s.lines?"code-block-lines":""])},[Pe("pre",d7e,[Pe("code",null,[(Ve(!0),Xe(ur,null,Yn(s.code.split(` `),(a,l)=>(Ve(),Xe(ur,{key:l},[Pe("span",{class:"line",textContent:gr(a)},null,8,f7e),o[0]||(o[0]=Pe("br",null,null,-1))],64))),128))])])],2))}}),_M=Ft({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(n){return(e,t)=>(Ve(),Xe("div",{class:Ar(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc transition-opacity transition-duration-300 $ui-bg-base",[e.dim?"bg-opacity-50!":"bg-opacity-0!",e.blur?"backdrop-blur-sm":"",e.position]])},[pn(e.$slots,"default")],2))}}),p7e={class:"h7.5 w-full $ui-fbc"},g7e={class:"text-4.5"},v7e={class:"content transition-all transition-duration-300"},m7e={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},C7e={class:"$ui-fcc"},sre=Ft({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0},title:{default:"Dialog"},width:{default:"32rem"},height:{default:"18rem"},closable:{type:Boolean,default:!0},mountTo:{default:"body"},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["close","update:modelValue"],setup(n,{emit:e}){const t=n,r=$u(t,"modelValue",e,{passive:!0}),i=C3e(()=>window.document.documentElement);Ao(()=>{r.value?i.value=!0:i.value=!1});function s(){r.value&&t.autoClose&&(r.value=!1)}Wee("Escape",()=>{s()});const o=Ct(!1);return No(()=>o.value=!0),(a,l)=>o.value||a.mountTo==="body"?(Ve(),Nt(CO,{key:0,to:a.mountTo},[it(Gb,{"enter-from-class":"opacity-0 [&_.modal]:scale-95 [&_.content,&_.footer]:translate-y--2.5 [&_.content,&_.footer]:opacity-0","enter-to-class":"opacity-100 [&_.modal]:scale-100","leave-from-class":"opacity-100 [&_.modal]:scale-100","leave-to-class":"opacity-0 [&_.modal]:scale-95"},{default:At(()=>[ye(r)?(Ve(),Nt(_M,{key:0,dim:a.dim,blur:a.blur,position:a.position},{default:At(()=>[Pe("div",{class:"modal relative grid grid-rows-[1.875rem_1fr_2.5rem] $ui-base max-h-[calc(100vh-6.25rem)] max-w-[calc(100vw-6.25rem)] min-h-6.25rem min-w-12.5rem gap-2.5 rounded-md bg-white px6 py4.5 color-gray-800 shadow-2xl transition-transform transition-duration-300 dark:bg-gray-900 dark:color-gray-200",style:Ys({width:t.width,height:t.height})},[Pe("div",p7e,[Pe("div",g7e,[pn(a.$slots,"title",{},()=>[Cr(gr(t.title),1)])]),a.closable?(Ve(),Xe("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:s},l[0]||(l[0]=[Pe("div",{class:"i-carbon-close"},null,-1)]))):Rt("",!0)]),Pe("div",v7e,[pn(a.$slots,"default")]),Pe("div",m7e,[pn(a.$slots,"footer",{},()=>[pn(a.$slots,"footer",{},()=>[Pe("div",C7e,[it(Gn,{type:"primary",onClick:s},{default:At(()=>l[1]||(l[1]=[Cr(" close ")])),_:1})])])])])],4)]),_:3},8,["dim","blur","position"])):Rt("",!0)]),_:3})],8,["to"])):Rt("",!0)}}),A7e={class:"$ui-fec gap2.5"},I7e=Ft({__name:"Confirm",props:{modelValue:{type:Boolean},content:{},cancelText:{default:"Cancel"},confirmText:{default:"Confirm"},width:{default:"20%"},height:{default:"9rem"},title:{default:"Warning"},loading:{type:Boolean,default:!1},autoClose:{type:Boolean,default:!0}},emits:["update:modelValue","confirm","cancel","close"],setup(n,{emit:e}){const t=n,r=e,i=$u(t,"modelValue",r);Ao(()=>{i.value||r("close")});function s(o=!1){(t.autoClose||o)&&(i.value=!1)}return(o,a)=>(Ve(),Nt(sre,{modelValue:ye(i),"onUpdate:modelValue":a[2]||(a[2]=l=>fn(i)?i.value=l:null),width:o.width,height:o.height,title:o.title,closable:!1},{footer:At(()=>[Pe("div",A7e,[it(Gn,{onClick:a[0]||(a[0]=()=>{r("cancel"),s(!0)})},{default:At(()=>[Cr(gr(o.cancelText),1)]),_:1}),it(Gn,{loading:o.loading,type:"primary",onClick:a[1]||(a[1]=()=>{r("confirm"),s()})},{default:At(()=>[Cr(gr(o.confirmText),1)]),_:1},8,["loading"])])]),default:At(()=>[pn(o.$slots,"default",{class:"h-auto w-auto"},()=>[Cr(gr(o.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),y7e=Ft({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(n){const e=n,t={success:"i-carbon-checkmark",info:"i-material-symbols-light-info",warning:"i-carbon-warning",error:"i-carbon-close"},r={success:"text-primary-500 border-primary-200 dark:text-primary-200 dark:border-primary-500",info:"text-blue-4 border-blue-2 dark:text-blue-2 dark:border-blue-4",warning:"text-amber-4 border-amber-2 dark:border-amber-4",error:"text-red-4 border-red-2 dark:border-red-4"},i=Ct(!1);No(()=>{i.value=!0,setTimeout(()=>{i.value=!1},e.duration)});const s=ot(()=>e.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(o,a)=>(Ve(),Xe("div",{class:Ar(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":o.placement.startsWith("top")},{"bottom-0":o.placement.startsWith("bottom")}]])},[it(Gb,{"enter-from-class":s.value,"leave-to-class":s.value,onAfterLeave:a[0]||(a[0]=()=>{var l;i.value||(l=o.onClose)==null||l.call(o)})},{default:At(()=>[i.value?(Ve(),Xe("div",{key:0,class:"flex transition-all duration-300",style:Ys({justifyContent:o.placement.includes("right")?"right":o.placement.includes("left")?"left":"center"})},[Pe("div",{class:Ar(["m3 flex-inline items-center gap2 b-1 b-1 rounded px4 py1 shadow transition-all duration-300 $ui-bg-base",[o.classes,r[o.type]]])},[Pe("div",{class:Ar(t[o.type])},null,2),Pe("div",null,gr(o.message),1)],2)],4)):Rt("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}});function Mx(n){const e=document.createElement("div");e.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(e);const t=n.onClose;function r(){o3(null,e)}n.onClose=()=>{r(),t?.(),document.body.removeChild(e)};const i=cd(y7e,n);o3(i,e)}const b7e="__vue-devtools-theme__";function fA(n={}){const e=u3e({...n,storageKey:b7e});return{colorMode:e,isDark:ot(()=>e.value==="dark")}}const E7e={class:"$ui-dark-toggle-vtr"},ore=Ft({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(n){const e=n,t=$u(e,"isDark"),{colorMode:r}=fA({initialValue:t.value?"dark":"light",onChanged:a=>{t.value=a==="dark"}}),i=ot({get:()=>r.value==="dark",set:a=>r.value=a?"dark":"light"}),s=!!document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(a){if(!s||!a||!e.animation){i.value=!i.value;return}const l=a.clientX,c=a.clientY,u=Math.hypot(Math.max(l,innerWidth-l),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{i.value=!i.value,await Hs()}).ready.then(()=>{const h=[`circle(0px at ${l}px ${c}px)`,`circle(${u}px at ${l}px ${c}px)`];document.documentElement.animate({clipPath:i.value?[...h].reverse():h},{duration:e.animationDuration,easing:"ease-in",pseudoElement:i.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(a,l)=>(Ve(),Xe("span",E7e,[pn(a.$slots,"default",_b(iA({mode:ye(r),isDark:i.value,toggle:o})))]))}}),are=Ft({__name:"Drawer",props:{modelValue:{type:Boolean},mountTo:{default:"body"},placement:{default:"right"},closeOutside:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},contentClass:{},permanent:{type:Boolean,default:!1},contentBlur:{type:Boolean,default:!1},top:{},dim:{type:Boolean},blur:{type:Boolean},position:{}},emits:["update:modelValue","close"],setup(n,{emit:e}){const t=n,r=e,{height:i}=Yee(()=>typeof t.top=="string"?document.querySelector(t.top):t.top,void 0,{box:"border-box"}),s=$u(t,"modelValue",r),o={left:{class:"left-0 h-full b-r",transition:"[&_.drawer]:translate-x--100%"},right:{class:"right-0 h-full b-l",transition:"[&_.drawer]:translate-x-full"},top:{class:"w-full b-b",transition:"[&_.drawer]:translate-y--100%"},bottom:{class:"bottom-0 w-full b-t",transition:"[&_.drawer]:translate-y-100%"}};Wee("Escape",()=>{t.closable&&(s.value=!1)});const a=ot(()=>o[t.placement]),l=Ct(!1);return No(()=>l.value=!0),(c,u)=>l.value||c.mountTo==="body"?(Ve(),Nt(CO,{key:0,to:c.mountTo},[it(Gb,{"enter-from-class":`${a.value.transition}`,"leave-to-class":`${a.value.transition}`},{default:At(()=>[ye(s)?(Ve(),Nt(_M,{key:0,class:Ar({"pointer-events-none":c.permanent}),dim:c.dim,blur:c.blur,position:c.position,onClick:u[2]||(u[2]=h=>c.closeOutside&&c.closable&&(s.value=!1))},{default:At(()=>[Pe("div",{class:Ar([[a.value.class,c.contentClass??"",c.contentBlur?"$ui-glass-effect":"$ui-bg-base"],"drawer pointer-events-auto absolute min-w-25 of-auto $ui-border-base transition-transform transition-duration-300"]),style:Ys({top:c.placement==="bottom"?"auto":`${ye(i)}px`,height:["top","bottom"].includes(c.placement)?"auto":`calc(100% - ${ye(i)}px)`}),onClick:u[1]||(u[1]=ya(()=>{},["stop"]))},[c.closable?(Ve(),Xe("div",{key:0,class:"i-carbon-close absolute right-1.5 top-1.5 $ui-z-max cursor-pointer p1 text-lg $ui-text",onClick:u[0]||(u[0]=h=>s.value=!1)})):Rt("",!0),pn(c.$slots,"default")],6)]),_:3},8,["class","dim","blur","position"])):Rt("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):Rt("",!0)}}),w7e={class:"overflow-hidden rounded-lg shadow-lg"},z2=Ft({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(n){const e=n;return io("$ui-dropdown-disabled",ot(()=>e.disabled)),(t,r)=>(Ve(),Nt(ye(_4e),{disabled:t.disabled,class:"inline-block w-auto",shown:t.shown,triggers:[t.trigger],distance:t.distance+6,placement:t.placement,skidding:t.skidding,"onUpdate:shown":r[0]||(r[0]=i=>t.$emit("update:visible",i)),onClick:r[1]||(r[1]=i=>{i.stopPropagation()})},{popper:At(({hide:i})=>[Pe("div",w7e,[pn(t.$slots,"popper",_b(iA({hide:i})),()=>[r[2]||(r[2]=Pe("div",{class:"p2 opacity-40"}," Empty... ",-1))])])]),default:At(()=>[pn(t.$slots,"default",{},()=>[it(Gn,vo({...t.buttonProps,disabled:t.disabled},{class:t.buttonClass}),TO({icon:At(()=>[pn(t.$slots,"button-icon")]),"icon-right":At(()=>[pn(t.$slots,"button-icon-right")]),_:2},[t.label?{name:"default",fn:At(()=>[Cr(gr(t.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),iH=Ft({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(n){const e=n,t=Li("$ui-dropdown-disabled",void 0);return(r,i)=>Kn((Ve(),Nt(Gn,vo({...e,round:!1},{disabled:ye(t),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:At(()=>[pn(r.$slots,"icon")]),default:At(()=>[pn(r.$slots,"default")]),_:3},16,["disabled"])),[[ye(zee)]])}}),Gi=Ft({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(n){return(e,t)=>(Ve(),Nt(Su(e.inline?"span":"div"),{class:Ar(["$ui-base",[e.icon,e.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}}),S7e=["type","placeholder","disabled"],T7e={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},R7="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",ll=Ft({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(n,{emit:e}){const t=n,r=e,i=$u(t,"modelValue",r),s=B4e(ot(()=>t.loading),t.loadingDebounceTime),o=j4e(!1,{onChanged(h){r("updateFocused",h)}}),a=ot(()=>t.variant==="flat"||t.variant==="warning"||t.disabled||t.readonly),l=ot(()=>t.disabled||s.value),c=Ct();let u=!1;return Ao(()=>{s.value&&o.value?u=!0:!s.value&&u&&(u=!1,Hs(()=>{o.value=!0}))}),No(()=>{t.autoFocus&&(o.value=!0)}),Ao(()=>{var h;o.value&&((h=c.value)==null||h.focus())}),(h,d)=>(Ve(),Xe("div",{class:Ar(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":h.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:h.variant==="accent",focused:ye(o)},[h.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:d[2]||(d[2]=()=>{o.value=!0})},[h.leftIcon?(Ve(),Xe("div",{key:0,class:Ar(R7)},[it(Gi,{icon:h.leftIcon},null,8,["icon"])])):Rt("",!0),Kn(Pe("input",{ref_key:"inputRef",ref:c,"onUpdate:modelValue":d[0]||(d[0]=g=>fn(i)?i.value=g:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:h.type,placeholder:h.placeholder,disabled:l.value||h.readonly,onBlur:d[1]||(d[1]=g=>o.value=!1)},null,40,S7e),[[zO,ye(i)]]),ye(s)?(Ve(),Xe("div",{key:1,class:Ar(R7)},[it(ire)])):h.rightIcon?(Ve(),Xe("div",{key:2,class:Ar(R7)},[it(Gi,{icon:h.rightIcon},null,8,["icon"])])):Rt("",!0),a.value?Rt("",!0):(Ve(),Xe("div",T7e))],2))}}),x7e=["innerHTML"],Bf=Ft({__name:"IcIcon",props:{name:{}},setup(n){const e=n,t=ot(()=>J8e[e.name]??"");return(r,i)=>(Ve(),Xe("div",null,[(Ve(),Xe("svg",{class:"custom-svg h-1em w-1em",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",innerHTML:t.value},null,8,x7e))]))}}),_7e={class:"m1 min-w-35 w-auto flex flex-col"},P7e=["onClick"],bC=Ft({__name:"Select",props:{modelValue:{},multiple:{default:!1},options:{},placeholder:{default:"Select..."},autoClose:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},labelRenderer:{type:Function,default:n=>String(n)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(n,{emit:e}){const t=n,r=e,i=Fb(),s=ot({get:()=>t.modelValue,set:l=>r("update:modelValue",l)}),o=ot(()=>{const l=t.options.find(c=>c.value===s.value);return l!=null&&l.label?t.labelRenderer(l.label):t.placeholder});function a(l){t.multiple?s.value=s.value.includes(l.value)?s.value.filter(c=>c!==l.value):[...s.value,l.value]:s.value=l.value}return(l,c)=>(Ve(),Nt(z2,vo({label:o.value},{buttonProps:l.buttonProps,disabled:l.disabled}),TO({popper:At(()=>[Pe("div",_7e,[ye(i).item?(Ve(!0),Xe(ur,{key:0},Yn(l.options,u=>(Ve(),Xe("div",{key:u.value,class:"cursor-pointer",onClick:h=>a(u)},[pn(l.$slots,"item",vo({ref_for:!0},{item:u,active:l.multiple?s.value.includes(u.value):u.value===s.value,disabled:l.disabled}))],8,P7e))),128)):(Ve(!0),Xe(ur,{key:1},Yn(l.options,u=>Kn((Ve(),Nt(Gn,{key:u.value,disabled:l.disabled,round:"normal",class:Ar(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:l.multiple?s.value.includes(u.value):u.value===s.value}]),onClick:h=>a(u)},{default:At(()=>[Cr(gr(u.label),1)]),_:2},1032,["disabled","class","onClick"])),[[ye(zee),l.autoClose]])),128))])]),"button-icon-right":At(()=>[c[0]||(c[0]=Pe("div",{class:"i-mdi-chevron-down"},null,-1))]),_:2},[ye(i).button?{name:"default",fn:At(()=>[pn(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),kx=Ft({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(n,{emit:e}){const t=$u(n,"modelValue",e),r=aM(t);return(i,s)=>(Ve(),Xe("div",{class:Ar([[i.disabled?"cursor-not-allowed":"cursor-pointer"],"$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5"]),role:"checkbox",onClick:s[0]||(s[0]=o=>!i.disabled&&ye(r)())},[pn(i.$slots,"default"),Pe("div",{class:Ar([{selected:ye(t)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[Pe("div",{class:Ar(["h4 w4 rounded-full bg-primary-800 transition-transform group-[&.selected]:transform-translate-x-4 dark:bg-white",[{"group-hover:opacity-75 group-active:scale-85":!i.disabled},{"opacity-65":i.disabled}]])},null,2)],2)],2))}}),O7e=Ft({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(n){return(e,t)=>(Ve(),Nt(ye(P4e),vo({disabled:e.disabled,placement:e.placement},e.$attrs),{popper:At(()=>[pn(e.$slots,"popper")]),default:At(()=>[pn(e.$slots,"default")]),_:3},16,["disabled","placement"]))}}),M7e="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20id='svg2'%20version='1.1'%20inkscape:version='0.91%20r13725'%20xml:space='preserve'%20width='375'%20height='375'%20viewBox='0%200%20375%20375'%20sodipodi:docname='vue-logo.svg'%20inkscape:export-xdpi='90'%20inkscape:export-ydpi='90'%3e%3cmetadata%20id='metadata8'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs6'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='1920'%20inkscape:window-height='1017'%20id='namedview4'%20showgrid='false'%20inkscape:zoom='0.62933333'%20inkscape:cx='187.5'%20inkscape:cy='187.5'%20inkscape:window-x='0'%20inkscape:window-y='30'%20inkscape:window-maximized='1'%20inkscape:current-layer='g10'%20/%3e%3cg%20id='g10'%20inkscape:groupmode='layer'%20inkscape:label='logo'%20transform='matrix(1.25,0,0,-1.25,0,375)'%3e%3cg%20id='g12'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-120.829,0%20-22.669,-170.017%2075.491,0%200,0%20Z'%20style='fill:%2341b883;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path14'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3cg%20id='g16'%20transform='translate(178.0626,235.0086)'%3e%3cpath%20d='M%200,0%20-22.669,-39.264%20-45.338,0%20-81.565,0%20-22.669,-102.01%2036.227,0%200,0%20Z'%20style='fill:%2334495e;fill-opacity:1;fill-rule:nonzero;stroke:none'%20id='path18'%20inkscape:connector-curvature='0'%20/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",k7e={class:"h-screen w-screen $ui-fcc flex-col"},$7e={class:"outer"},L7e={class:"inner"},N7e=["src"],D7e=Ft({__name:"AppConnecting",setup(n){return(e,t)=>(Ve(),Xe("div",k7e,[Pe("div",$7e,[Pe("div",L7e,[Pe("img",{src:ye(M7e),class:"max-w-18",alt:"Vue logo"},null,8,N7e)])]),pn(e.$slots,"default",{},void 0,!0)]))}}),c9=(n,e)=>{const t=n.__vccOpts||n;for(const[r,i]of e)t[r]=i;return t},z7e=c9(D7e,[["__scopeId","data-v-56eba732"]]);function u9(){const{copy:n,copied:e}=Gee();return{copy:(r,i={})=>{const{silent:s=!1,type:o=""}=i;n(r).then(()=>{s||Mx({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{s||Mx({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:e}}const R7e={key:0,relative:"","code-block":""},V7e={flex:"~ wrap","w-full":""},H7e=["onClick"],B7e={flex:"~ gap-2",px3:"",pb3:""},j7e=Ft({__name:"CodeSnippets",props:{codeSnippets:{},eventType:{}},setup(n){const e=n,t=Cn(e.codeSnippets[0]),{copy:r}=u9(),i=ot(()=>t.value?.lang||"text");return Ao(()=>{e.codeSnippets.includes(t.value)||(t.value=e.codeSnippets[0])}),(s,o)=>s.codeSnippets.length?(Ve(),Xe("div",R7e,[Pe("div",V7e,[(Ve(!0),Xe(ur,null,Yn(s.codeSnippets,(a,l)=>(Ve(),Xe("button",{key:l,px4:"",py2:"",border:"r base",hover:"bg-active",class:Ar(a===ye(t)?"":"border-b"),onClick:c=>t.value=a},[Pe("div",{class:Ar(a===ye(t)?"":"op30"),"font-mono":""},gr(a.name),3)],10,H7e))),128)),o[1]||(o[1]=Pe("div",{border:"b base","flex-auto":""},null,-1))]),ye(t)?(Ve(),Xe(ur,{key:0},[it(ye(xM),{code:ye(t).code,lang:ye(i),lines:!1,"w-full":"","of-auto":"",p3:""},null,8,["code","lang"]),Pe("div",B7e,[it(ye(Gn),{onClick:o[0]||(o[0]=a=>ye(r)(ye(t).code,{silent:!1,type:s.eventType||`code-snippet-${ye(t).name}`}))},{icon:At(()=>[pn(s.$slots,"i-carbon-copy")]),default:At(()=>[o[2]||(o[2]=Cr(" Copy "))]),_:3}),ye(t)?.docs?(Ve(),Nt(ye(Gn),{key:0,to:ye(t).docs,target:"_blank"},{icon:At(()=>[pn(s.$slots,"i-carbon-catalog")]),default:At(()=>[o[3]||(o[3]=Cr(" Docs "))]),_:3},8,["to"])):Rt("",!0)])],64)):Rt("",!0)])):Rt("",!0)}}),F7e=["title"],U7e=Ft({__name:"FilepathItem",props:{filepath:{},lineBreak:{type:Boolean},subpath:{type:Boolean}},setup(n){const e=n,t=ot(()=>({path:e.filepath})),{copy:r}=u9();return(i,s)=>Kn((Ve(),Xe("button",{"font-mono":"","hover:underline":"",class:Ar(i.lineBreak?"":"ws-nowrap of-hidden truncate"),title:i.filepath,onClick:s[0]||(s[0]=o=>ye(r)(i.filepath))},[Cr(gr(ye(t).path),1)],10,F7e)),[[ye(Ni),"Copy file path"]])}});function W7e(n){return typeof n=="string"?`'${n}'`:new G7e().serialize(n)}const G7e=function(){class n{#t=new Map;compare(t,r){const i=typeof t,s=typeof r;return i==="string"&&s==="string"?t.localeCompare(r):i==="number"&&s==="number"?t-r:String.prototype.localeCompare.call(this.serialize(t,!0),this.serialize(r,!0))}serialize(t,r){if(t===null)return"null";switch(typeof t){case"string":return r?t:`'${t}'`;case"bigint":return`${t}n`;case"object":return this.$object(t);case"function":return this.$function(t)}return String(t)}serializeObject(t){const r=Object.prototype.toString.call(t);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),t);const i=t.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,t);if(typeof t.toJSON=="function"){const o=t.toJSON();return s+(o!==null&&typeof o=="object"?this.$object(o):`(${this.serialize(o)})`)}return this.serializeObjectEntries(s,Object.entries(t))}serializeBuiltInType(t,r){const i=this["$"+t];if(i)return i.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(t,r.entries());throw new Error(`Cannot serialize ${t}`)}serializeObjectEntries(t,r){const i=Array.from(r).sort((o,a)=>this.compare(o[0],a[0]));let s=`${t}{`;for(let o=0;othis.compare(r,i)))}`}$Map(t){return this.serializeObjectEntries("Map",t.entries())}}for(const e of["Error","RegExp","URL"])n.prototype["$"+e]=function(t){return`${e}(${t})`};for(const e of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])n.prototype["$"+e]=function(t){return`${e}[${t.join(",")}]`};for(const e of["BigInt64Array","BigUint64Array"])n.prototype["$"+e]=function(t){return`${e}[${t.join("n,")}${t.length>0?"n":""}]`};return n}(),K7e=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],q7e=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Y7e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Xd=[];class X7e{_data=new zg;_hash=new zg([...K7e]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);const t=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(r+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){const r=this._hash.words;let i=r[0],s=r[1],o=r[2],a=r[3],l=r[4],c=r[5],u=r[6],h=r[7];for(let d=0;d<64;d++){if(d<16)Xd[d]=e[t+d]|0;else{const m=Xd[d-15],E=(m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3,I=Xd[d-2],S=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;Xd[d]=E+Xd[d-7]+S+Xd[d-16]}const g=l&c^~l&u,f=i&s^i&o^s&o,v=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),C=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),A=h+C+g+q7e[d]+Xd[d],b=v+f;h=u,u=c,c=l,l=a+A|0,a=o,o=s,s=i,i=A+b|0}r[0]=r[0]+i|0,r[1]=r[1]+s|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+h|0}_append(e){typeof e=="string"&&(e=zg.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,r=this._data.sigBytes/64;e?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const i=r*16,s=Math.min(i*4,this._data.sigBytes);if(i){for(let o=0;o>>2]|=(t.charCodeAt(s)&255)<<24-s%4*8;return new zg(i,r)}toBase64(){const e=[];for(let t=0;t>>2]>>>24-t%4*8&255,i=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,s=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,o=r<<16|i<<8|s;for(let a=0;a<4&&t*8+a*6>>6*(3-a)&63))}return e.join("")}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=r<<24-(this.sigBytes+t)%4*8}else for(let t=0;t>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}}function Z7e(n){return new X7e().finalize(n).toBase64()}function Q7e(n){return Z7e(W7e(n))}const J7e=Ft({__name:"AssetFontPreview",props:{asset:{}},setup(n){const e=n,t=ot(()=>`devtools-assets-${Q7e(e.asset)}`);return I3e(ot(()=>` @font-face { font-family: '${t.value}'; src: url('${e.asset.publicPath}'); } `)),(r,i)=>(Ve(),Xe("div",{"of-hidden":"",style:Ys({fontFamily:`'${ye(t)}'`})}," Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz ",4))}}),eEe={flex:"","items-center":"","justify-center":"","of-hidden":"","bg-active":"","object-cover":"",p1:""},tEe=["src"],rEe={key:2,"i-carbon-document":"","text-3xl":"",op20:""},nEe={key:3,"w-full":"","self-start":"",p4:""},iEe=["textContent"],sEe={key:4},oEe=["src","autoplay","controls"],aEe={key:5},lEe={key:0,"i-carbon-volume-up":"","text-3xl":"",op20:""},cEe=["src"],uEe={key:6,"i-vscode-icons-file-type-wasm":"","text-3xl":""},hEe={key:7,"i-carbon-help":"","text-3xl":"",op20:""},lre=Ft({__name:"AssetPreview",props:{asset:{},textContent:{},detail:{type:Boolean}},setup(n){return(e,t)=>{const r=J7e;return Ve(),Xe("div",eEe,[e.asset.type==="image"?(Ve(),Xe("img",{key:0,src:e.asset.publicPath},null,8,tEe)):e.asset.type==="font"?(Ve(),Nt(r,{key:e.asset.publicPath,asset:e.asset,"self-stretch":"",p2:"","text-2xl":""},null,8,["asset"])):e.asset.type==="text"&&!e.textContent?(Ve(),Xe("div",rEe)):e.asset.type==="text"&&e.textContent?(Ve(),Xe("div",nEe,[Pe("pre",{"max-h-10rem":"","of-hidden":"","text-xs":"","font-mono":"",textContent:gr(e.textContent)},null,8,iEe)])):e.asset.type==="video"?(Ve(),Xe("div",sEe,[Pe("video",{src:e.asset.publicPath,autoplay:e.detail,controls:e.detail},null,8,oEe)])):e.asset.type==="audio"?(Ve(),Xe("div",aEe,[e.detail?(Ve(),Xe("audio",{key:1,src:e.asset.publicPath,controls:""},null,8,cEe)):(Ve(),Xe("div",lEe))])):e.asset.type==="wasm"?(Ve(),Xe("div",uEe)):(Ve(),Xe("div",hEe))])}}}),dEe={flex:"~ col gap-4","min-h-full":"","w-full":"","of-hidden":"",p4:""},fEe={flex:"~","items-center":"","justify-center":""},pEe={"max-w-full":"","w-full":"","table-fixed":""},gEe={flex:"~ gap-1","w-full":"","items-center":""},vEe={flex:"~ gap-1","w-full":"","items-center":"","of-hidden":""},mEe={"flex-auto":"","of-hidden":"",truncate:"","ws-pre":"","font-mono":""},CEe={capitalize:""},AEe={key:0},IEe={op70:""},yEe={flex:"~ gap2 wrap"},bEe=Ft({__name:"AssetDetails",props:{modelValue:{}},setup(n,{emit:e}){const t=n,r=e,i=Nl(),s=$u(t,"modelValue",r,{passive:!0}),o=ot(()=>i.vitePluginDetected.value),a=y7(()=>_c.value.getAssetImporters(s.value.publicPath).then(m=>m),[]),l=ot(()=>Qb.value),c=y7(()=>{if(s.value.type==="image")return _c.value.getImageMeta(s.value.filePath).then(m=>m)}),u=Ct(),h=Ct(0),d=y7(async()=>{if(s.value.type!=="text")return;h.value;const m=await _c.value.getTextAssetContent(s.value.filePath).then(E=>E);return u.value=m,m}),g=ot(()=>{const m=[];if(s.value.type==="image"){const E=c.value?.width?` width="${c.value.width}" height="${c.value.height}" `:" ";return m.push({lang:"vue-html",code:``,name:"Plain Image"}),m}return m.push({lang:"html",code:` Download ${s.value.path.split("/").slice(-1)[0]} `,name:"Download link"}),m}),{copy:f}=u9(),v=w3e(()=>s.value.mtime),C=ot(()=>{const m=s.value.size;return m<1024?`${m} B`:m<1024*1024?`${(m/1024).toFixed(2)} KB`:`${(m/1024/1024).toFixed(2)} MB`}),A=ot(()=>{if(!c.value?.width||!c.value?.height)return"";const m=(I,S)=>S?m(S,I%S):I,E=m(c.value.width,c.value.height);return E>3?`${c.value.width/E}:${c.value.height/E}`:""}),b=ot(()=>["image","text","video","audio","font"].includes(s.value.type));return(m,E)=>{const I=lre,S=U7e,T=hc("RouterLink"),P=j7e;return Ve(),Xe("div",dEe,[ye(b)?(Ve(),Xe(ur,{key:0},[E[2]||(E[2]=Pe("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[Pe("div",{"x-divider":""}),Pe("div",{"flex-none":""}," Preview "),Pe("div",{"x-divider":""})],-1)),Pe("div",fEe,[it(I,{detail:"","max-h-80":"","min-h-20":"","min-w-20":"","w-auto":"",rounded:"",border:"~ base",asset:ye(s),"text-content":ye(d)},null,8,["asset","text-content"])])],64)):Rt("",!0),E[12]||(E[12]=Pe("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[Pe("div",{"x-divider":""}),Pe("div",{"flex-none":""}," Details "),Pe("div",{"x-divider":""})],-1)),Pe("table",pEe,[Pe("tbody",null,[Pe("tr",null,[E[3]||(E[3]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Filepath ",-1)),Pe("td",null,[Pe("div",gEe,[it(S,{filepath:ye(s).filePath,"text-left":""},null,8,["filepath"]),ye(o)&&ye(l)?Kn((Ve(),Nt(ye(Gi),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:E[0]||(E[0]=_=>ye(cC)(ye(s).filePath))},null,512)),[[ye(Ni),"Open in Editor"]]):Rt("",!0)])])]),Pe("tr",null,[E[4]||(E[4]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Public Path ",-1)),Pe("td",null,[Pe("div",vEe,[Pe("div",mEe,gr(ye(s).publicPath),1),Kn(it(ye(Gi),{title:"Copy public path",icon:"i-carbon-copy",action:"",mr1:"","mt--2px":"","flex-none":"",border:!1,onClick:E[1]||(E[1]=_=>ye(f)(ye(s).publicPath,{type:"assets-public-path"}))},null,512),[[ye(Ni),"Copy public path"]]),it(T,{to:ye(s).publicPath,target:"_blank"},{default:At(()=>[Kn(it(ye(Gi),{icon:"i-carbon-launch",action:"","flex-none":"",border:!1,title:"Open in Browser"},null,512),[[ye(Ni),"Open in Browser"]])]),_:1},8,["to"])])])]),Pe("tr",null,[E[5]||(E[5]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Type ",-1)),Pe("td",CEe,gr(ye(s).type),1)]),ye(c)?.width?(Ve(),Xe(ur,{key:0},[Pe("tr",null,[E[6]||(E[6]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Image Size ",-1)),Pe("td",null,gr(ye(c).width)+" x "+gr(ye(c).height),1)]),ye(A)?(Ve(),Xe("tr",AEe,[E[7]||(E[7]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Aspect Ratio ",-1)),Pe("td",null,gr(ye(A)),1)])):Rt("",!0)],64)):Rt("",!0),Pe("tr",null,[E[8]||(E[8]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," File size ",-1)),Pe("td",null,gr(ye(C)),1)]),Pe("tr",null,[E[9]||(E[9]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"",op50:""}," Last modified ",-1)),Pe("td",null,[Cr(gr(new Date(ye(s).mtime).toLocaleString())+" ",1),Pe("span",IEe,"("+gr(ye(v))+")",1)])]),Pe("tr",null,[E[10]||(E[10]=Pe("td",{"w-30":"","ws-nowrap":"",pr5:"","text-right":"","align-top":"",op50:""}," Importers ",-1)),Pe("td",null,[ye(a).length>0?(Ve(!0),Xe(ur,{key:0},Yn(ye(a),_=>(Ve(),Xe("div",{key:_.url,flex:"~ gap-1","w-full":"","items-center":""},[it(S,{filepath:_.id||_.url,"text-left":""},null,8,["filepath"]),ye(i).vitePluginDetected.value&&ye(l)&&_.id?Kn((Ve(),Nt(ye(Gi),{key:0,title:"Open in Editor",icon:"i-carbon-launch",action:"","flex-none":"",border:!1,onClick:$=>ye(cC)(_.id)},null,8,["onClick"])),[[ye(Ni),"Open in Editor"]]):Rt("",!0)]))),128)):(Ve(),Xe(ur,{key:1},[Cr(" None ")],64))])])])]),E[13]||(E[13]=Pe("div",{flex:"~ gap2","mb--2":"","items-center":"",op50:""},[Pe("div",{"x-divider":""}),Pe("div",{"flex-none":""}," Actions "),Pe("div",{"x-divider":""})],-1)),Pe("div",yEe,[it(ye(Gn),{to:ye(s).publicPath,download:"",target:"_blank"},{icon:At(()=>[pn(m.$slots,"i-carbon-download")]),default:At(()=>[E[11]||(E[11]=Cr(" Download "))]),_:3},8,["to"])]),E[14]||(E[14]=Pe("div",{"flex-auto":""},null,-1)),ye(g).length?(Ve(),Nt(P,{key:1,border:"t base","mx--4":"","mb--4":"","code-snippets":ye(g)},null,8,["code-snippets"])):Rt("",!0)])}}}),EEe=Ft({__name:"AssetListItem",props:{item:{},index:{default:0},modelValue:{}},setup(n,{emit:e}){const t=n,i=$u(t,"modelValue",e,{passive:!0}),s=ot(()=>t.item?.children?.length),o=Ct(!0),a=ot(()=>s.value?"i-carbon-folder":t.item.type==="image"?"i-carbon-image":t.item.type==="video"?"i-carbon-video":t.item.type==="audio"?"i-carbon-volume-up":t.item.type==="font"?"i-carbon-text-small-caps":t.item.type==="text"?"i-carbon-document":t.item.type==="json"?"i-carbon-json":t.item.type==="wasm"?"i-vscode-icons-file-type-wasm":"i-carbon-document-blank");return(l,c)=>{const u=hc("AssetListItem",!0);return Ve(),Xe("div",null,[Pe("button",{flex:"~ gap-2","w-full":"","items-center":"",hover:"bg-active",px4:"",py1:"",style:Ys({paddingLeft:`calc(1rem + ${l.index*1.5}em)`}),class:Ar({"bg-active":!ye(s)&&ye(i)?.filePath===l.item?.filePath}),border:"b base",onClick:c[0]||(c[0]=h=>ye(s)?o.value=!ye(o):i.value=l.item)},[Pe("div",{class:Ar(ye(a))},null,2),Pe("span",{class:Ar({"flex items-center":ye(s)}),"flex-auto":"","text-start":"","text-sm":"","font-mono":""},gr(l.item.path),3),ye(s)?(Ve(),Nt(ye(Gi),{key:0,icon:"carbon:chevron-right","transform-rotate":ye(o)?90:0,transition:""},null,8,["transform-rotate"])):Rt("",!0)],6),ye(o)?pn(l.$slots,"default",{key:0},()=>[(Ve(!0),Xe(ur,null,Yn(l.item?.children,h=>(Ve(),Nt(u,{key:h.filepath,modelValue:ye(i),"onUpdate:modelValue":c[1]||(c[1]=d=>fn(i)?i.value=d:null),item:h,index:l.index+1},null,8,["modelValue","item","index"]))),128))]):Rt("",!0)])}}}),wEe={flex:"~ gap-3","items-center":""},PM=Ft({__name:"IconTitle",props:{icon:{},text:{}},setup(n){return(e,t)=>(Ve(),Xe("div",wEe,[e.icon?(Ve(),Xe("div",{key:0,class:Ar(e.icon)},null,2)):Rt("",!0),pn(e.$slots,"default",{},()=>[Pe("div",null,gr(e.text),1)])]))}}),SEe=["open"],TEe={"text-base":""},xEe={key:0,"text-sm":"",op50:""},_Ee=Ft({__name:"SectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(n){const t=$u(n,"open",void 0,{passive:!0});function r(i){t.value=i.target.open}return(i,s)=>{const o=PM,a=jb("lazy-show");return Ve(),Xe(ur,null,[Pe("details",{open:ye(t),onToggle:r},[Pe("summary",{class:Ar(["cursor-pointer select-none hover:bg-active p4",i.collapse?"":"pointer-events-none"])},[it(o,{icon:i.icon,text:i.text,"text-xl":"",transition:"",class:Ar(ye(t)?"op100":"op60")},{default:At(()=>[Pe("div",null,[Pe("div",TEe,[pn(i.$slots,"text",{},()=>[Cr(gr(i.text),1)],!0)]),i.description||i.$slots.description?(Ve(),Xe("div",xEe,[pn(i.$slots,"description",{},()=>[Cr(gr(i.description),1)],!0)])):Rt("",!0)]),s[0]||(s[0]=Pe("div",{class:"flex-auto"},null,-1)),pn(i.$slots,"actions",{},void 0,!0),i.collapse?(Ve(),Nt(ye(Gi),{key:0,icon:"i-carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"",op75:"",transition:"","duration-500":"","text-base":""})):Rt("",!0)]),_:3},8,["icon","text","class"])],2),Kn((Ve(),Xe("div",{class:Ar(["flex flex-col flex-gap2 pb6 pt2",typeof i.padding=="string"?i.padding:i.padding?"px4":""])},[pn(i.$slots,"details",{},void 0,!0),Pe("div",{class:Ar([i.containerClass,"mt1"])},[pn(i.$slots,"default",{},void 0,!0)],2),pn(i.$slots,"footer",{},void 0,!0)],2)),[[a,ye(t)]])],40,SEe),s[1]||(s[1]=Pe("div",{class:"x-divider"},null,-1))],64)}}}),cre=c9(_Ee,[["__scopeId","data-v-785c4654"]]),PEe={flex:"~ col gap-1",hover:"bg-active","items-center":"","of-hidden":"",rounded:"",p2:""},OEe={"w-full":"","of-hidden":"",truncate:"","ws-nowrap":"","text-center":"","text-xs":""},MEe=Ft({__name:"AssetGridItem",props:{asset:{},folder:{}},setup(n){const e=n,t=ot(()=>e.folder&&e.asset.path.startsWith(e.folder)?e.asset.path.slice(e.folder.length):e.asset.path);return(r,i)=>{const s=lre;return Ve(),Xe("button",PEe,[it(s,{"h-30":"","w-30":"",rounded:"",border:"~ base",asset:r.asset},null,8,["asset"]),Pe("div",OEe,gr(ye(t)),1)])}}}),kEe={flex:"~ col gap2",border:"b base","flex-1":"",p4:"","navbar-glass":""},$Ee={flex:"~ gap4","items-center":""},LEe=Ft({__name:"Navbar",props:{search:{},noPadding:{type:Boolean}},emits:["update:search"],setup(n,{emit:e}){const t=n,r=e,i=Ct(t.search);return Fr(()=>t.search,s=>{i.value=s}),Fr(i,()=>{r("update:search",i.value)}),(s,o)=>(Ve(),Xe("div",kEe,[Pe("div",$Ee,[pn(s.$slots,"search",{},()=>[s.search!==void 0?(Ve(),Nt(ye(ll),{key:0,modelValue:ye(i),"onUpdate:modelValue":o[0]||(o[0]=a=>fn(i)?i.value=a:null),placeholder:"Search...","left-icon":"i-carbon-search",class:Ar(["flex-auto",{"px-5 py-2":!s.noPadding}])},null,8,["modelValue","class"])):Rt("",!0)]),pn(s.$slots,"actions")]),pn(s.$slots,"default")]))}});function S1(n){return Array.isArray?Array.isArray(n):dre(n)==="[object Array]"}function NEe(n){if(typeof n=="string")return n;let e=n+"";return e=="0"&&1/n==-1/0?"-0":e}function DEe(n){return n==null?"":NEe(n)}function uu(n){return typeof n=="string"}function ure(n){return typeof n=="number"}function zEe(n){return n===!0||n===!1||REe(n)&&dre(n)=="[object Boolean]"}function hre(n){return typeof n=="object"}function REe(n){return hre(n)&&n!==null}function Ml(n){return n!=null}function V7(n){return!n.trim().length}function dre(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}const VEe="Incorrect 'index' type",HEe=n=>`Invalid value for key ${n}`,BEe=n=>`Pattern length exceeds max of ${n}.`,jEe=n=>`Missing ${n} property in key`,FEe=n=>`Property 'weight' in key '${n}' must be a positive integer`,sH=Object.prototype.hasOwnProperty;class UEe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(r=>{let i=fre(r);this._keys.push(i),this._keyMap[i.id]=i,t+=i.weight}),this._keys.forEach(r=>{r.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function fre(n){let e=null,t=null,r=null,i=1,s=null;if(uu(n)||S1(n))r=n,e=oH(n),t=$x(n);else{if(!sH.call(n,"name"))throw new Error(jEe("name"));const o=n.name;if(r=o,sH.call(n,"weight")&&(i=n.weight,i<=0))throw new Error(FEe(o));e=oH(o),t=$x(o),s=n.getFn}return{path:e,id:t,weight:i,src:r,getFn:s}}function oH(n){return S1(n)?n:n.split(".")}function $x(n){return S1(n)?n.join("."):n}function WEe(n,e){let t=[],r=!1;const i=(s,o,a)=>{if(Ml(s))if(!o[a])t.push(s);else{let l=o[a];const c=s[l];if(!Ml(c))return;if(a===o.length-1&&(uu(c)||ure(c)||zEe(c)))t.push(DEe(c));else if(S1(c)){r=!0;for(let u=0,h=c.length;un.score===e.score?n.idx{this._keysMap[t.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,uu(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();uu(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,r=this.size();t{let o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(Ml(o)){if(S1(o)){let a=[];const l=[{nestedArrIndex:-1,value:o}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Ml(u))if(uu(u)&&!V7(u)){let h={v:u,i:c,n:this.norm.get(u)};a.push(h)}else S1(u)&&u.forEach((h,d)=>{l.push({nestedArrIndex:d,value:h})})}r.$[s]=a}else if(uu(o)&&!V7(o)){let a={v:o,n:this.norm.get(o)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function pre(n,e,{getFn:t=xn.getFn,fieldNormWeight:r=xn.fieldNormWeight}={}){const i=new OM({getFn:t,fieldNormWeight:r});return i.setKeys(n.map(fre)),i.setSources(e),i.create(),i}function QEe(n,{getFn:e=xn.getFn,fieldNormWeight:t=xn.fieldNormWeight}={}){const{keys:r,records:i}=n,s=new OM({getFn:e,fieldNormWeight:t});return s.setKeys(r),s.setIndexRecords(i),s}function V5(n,{errors:e=0,currentLocation:t=0,expectedLocation:r=0,distance:i=xn.distance,ignoreLocation:s=xn.ignoreLocation}={}){const o=e/n.length;if(s)return o;const a=Math.abs(r-t);return i?o+a/i:a?1:o}function JEe(n=[],e=xn.minMatchCharLength){let t=[],r=-1,i=-1,s=0;for(let o=n.length;s=e&&t.push([r,i]),r=-1)}return n[s-1]&&s-r>=e&&t.push([r,s-1]),t}const af=32;function ewe(n,e,t,{location:r=xn.location,distance:i=xn.distance,threshold:s=xn.threshold,findAllMatches:o=xn.findAllMatches,minMatchCharLength:a=xn.minMatchCharLength,includeMatches:l=xn.includeMatches,ignoreLocation:c=xn.ignoreLocation}={}){if(e.length>af)throw new Error(BEe(af));const u=e.length,h=n.length,d=Math.max(0,Math.min(r,h));let g=s,f=d;const v=a>1||l,C=v?Array(h):[];let A;for(;(A=n.indexOf(e,f))>-1;){let T=V5(e,{currentLocation:A,expectedLocation:d,distance:i,ignoreLocation:c});if(g=Math.min(T,g),f=A+u,v){let P=0;for(;P=$;N-=1){let W=N-1,D=t[n.charAt(W)];if(v&&(C[W]=+!!D),U[N]=(U[N+1]<<1|1)&D,T&&(U[N]|=(b[N+1]|b[N])<<1|1|b[N+1]),U[N]&I&&(m=V5(e,{errors:T,currentLocation:W,expectedLocation:d,distance:i,ignoreLocation:c}),m<=g)){if(g=m,f=W,f<=d)break;$=Math.max(1,2*d-f)}}if(V5(e,{errors:T+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:c})>g)break;b=U}const S={isMatch:f>=0,score:Math.max(.001,m)};if(v){const T=JEe(C,a);T.length?l&&(S.indices=T):S.isMatch=!1}return S}function twe(n){let e={};for(let t=0,r=n.length;tn.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):n=>n;class gre{constructor(e,{location:t=xn.location,threshold:r=xn.threshold,distance:i=xn.distance,includeMatches:s=xn.includeMatches,findAllMatches:o=xn.findAllMatches,minMatchCharLength:a=xn.minMatchCharLength,isCaseSensitive:l=xn.isCaseSensitive,ignoreDiacritics:c=xn.ignoreDiacritics,ignoreLocation:u=xn.ignoreLocation}={}){if(this.options={location:t,threshold:r,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u},e=l?e:e.toLowerCase(),e=c?M3(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(g,f)=>{this.chunks.push({pattern:g,alphabet:twe(g),startIndex:f})},d=this.pattern.length;if(d>af){let g=0;const f=d%af,v=d-f;for(;g{const{isMatch:b,score:m,indices:E}=ewe(e,v,C,{location:s+A,distance:o,threshold:a,findAllMatches:l,minMatchCharLength:c,includeMatches:i,ignoreLocation:u});b&&(g=!0),d+=m,b&&E&&(h=[...h,...E])});let f={isMatch:g,score:g?d/this.chunks.length:1};return g&&i&&(f.indices=h),f}}class hd{constructor(e){this.pattern=e}static isMultiMatch(e){return aH(e,this.multiRegex)}static isSingleMatch(e){return aH(e,this.singleRegex)}search(){}}function aH(n,e){const t=n.match(e);return t?t[1]:null}class rwe extends hd{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class nwe extends hd{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class iwe extends hd{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class swe extends hd{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class owe extends hd{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class awe extends hd{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class vre extends hd{constructor(e,{location:t=xn.location,threshold:r=xn.threshold,distance:i=xn.distance,includeMatches:s=xn.includeMatches,findAllMatches:o=xn.findAllMatches,minMatchCharLength:a=xn.minMatchCharLength,isCaseSensitive:l=xn.isCaseSensitive,ignoreDiacritics:c=xn.ignoreDiacritics,ignoreLocation:u=xn.ignoreLocation}={}){super(e),this._bitapSearch=new gre(e,{location:t,threshold:r,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:l,ignoreDiacritics:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class mre extends hd{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,r;const i=[],s=this.pattern.length;for(;(r=e.indexOf(this.pattern,t))>-1;)t=r+s,i.push([r,t-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const Lx=[rwe,mre,iwe,swe,awe,owe,nwe,vre],lH=Lx.length,lwe=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,cwe="|";function uwe(n,e={}){return n.split(cwe).map(t=>{let r=t.trim().split(lwe).filter(s=>s&&!!s.trim()),i=[];for(let s=0,o=r.length;s!!(n[k3.AND]||n[k3.OR]),pwe=n=>!!n[zx.PATH],gwe=n=>!S1(n)&&hre(n)&&!Rx(n),cH=n=>({[k3.AND]:Object.keys(n).map(e=>({[e]:n[e]}))});function Cre(n,e,{auto:t=!0}={}){const r=i=>{let s=Object.keys(i);const o=pwe(i);if(!o&&s.length>1&&!Rx(i))return r(cH(i));if(gwe(i)){const l=o?i[zx.PATH]:s[0],c=o?i[zx.PATTERN]:i[l];if(!uu(c))throw new Error(HEe(l));const u={keyId:$x(l),pattern:c};return t&&(u.searcher=Dx(c,e)),u}let a={children:[],operator:s[0]};return s.forEach(l=>{const c=i[l];S1(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return Rx(n)||(n=cH(n)),r(n)}function vwe(n,{ignoreFieldNorm:e=xn.ignoreFieldNorm}){n.forEach(t=>{let r=1;t.matches.forEach(({key:i,norm:s,score:o})=>{const a=i?i.weight:null;r*=Math.pow(o===0&&a?Number.EPSILON:o,(a||1)*(e?1:s))}),t.score=r})}function mwe(n,e){const t=n.matches;e.matches=[],Ml(t)&&t.forEach(r=>{if(!Ml(r.indices)||!r.indices.length)return;const{indices:i,value:s}=r;let o={indices:i,value:s};r.key&&(o.key=r.key.src),r.idx>-1&&(o.refIndex=r.idx),e.matches.push(o)})}function Cwe(n,e){e.score=n.score}function Awe(n,e,{includeMatches:t=xn.includeMatches,includeScore:r=xn.includeScore}={}){const i=[];return t&&i.push(mwe),r&&i.push(Cwe),n.map(s=>{const{idx:o}=s,a={item:e[o],refIndex:o};return i.length&&i.forEach(l=>{l(s,a)}),a})}class lp{constructor(e,t={},r){this.options={...xn,...t},this.options.useExtendedSearch,this._keyStore=new UEe(this.options.keys),this.setCollection(e,r)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof OM))throw new Error(VEe);this._myIndex=t||pre(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ml(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let r=0,i=this._docs.length;r-1&&(l=l.slice(0,t)),Awe(l,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const t=Dx(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:s,i:o,n:a})=>{if(!Ml(s))return;const{isMatch:l,score:c,indices:u}=t.searchIn(s);l&&i.push({item:s,idx:o,matches:[{score:c,value:s,norm:a,indices:u}]})}),i}_searchLogical(e){const t=Cre(e,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:h,searcher:d}=a,g=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:d});return g&&g.length?[{idx:c,item:l,matches:g}]:[]}const u=[];for(let h=0,d=a.children.length;h{if(Ml(a)){let c=r(t,a,l);c.length&&(s[l]||(s[l]={idx:l,item:a,matches:[]},o.push(s[l])),c.forEach(({matches:u})=>{s[l].matches.push(...u)}))}}),o}_searchObjectList(e){const t=Dx(e,this.options),{keys:r,records:i}=this._myIndex,s=[];return i.forEach(({$:o,i:a})=>{if(!Ml(o))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:o[u],searcher:t}))}),l.length&&s.push({idx:a,item:o,matches:l})}),s}_findMatches({key:e,value:t,searcher:r}){if(!Ml(t))return[];let i=[];if(S1(t))t.forEach(({v:s,i:o,n:a})=>{if(!Ml(s))return;const{isMatch:l,score:c,indices:u}=r.searchIn(s);l&&i.push({score:c,key:e,value:s,idx:o,norm:a,indices:u})});else{const{v:s,n:o}=t,{isMatch:a,score:l,indices:c}=r.searchIn(s);a&&i.push({score:l,key:e,value:s,norm:o,indices:c})}return i}}lp.version="7.1.0";lp.createIndex=pre;lp.parseIndex=QEe;lp.config=xn;lp.parseQuery=Cre;fwe(dwe);const Iwe={block:"","h-full":"","of-hidden":"",class:"drawer-container relative"},ywe={"h-full":"","w-full":"","of-auto":""},bwe={"flex-none":"",flex:"~ gap2 items-center","text-lg":""},Ewe={flex:"~ items-center justify-center",absolute:"","bottom-0":"","right-2px":"","h-4":"","w-4":"","rounded-full":"","bg-primary-800":"","text-8px":"","text-white":""},wwe={"w-full":"",flex:"~ gap-2 items-center",rounded:"",px2:"",py2:""},Swe={"text-xs":"",op75:""},Twe={op50:""},xwe={key:0},_we={"mt--4":"",px2:"",grid:"~ cols-minmax-8rem"},Pwe={key:1,p2:"",grid:"~ cols-minmax-8rem"},Owe={key:1},Mwe=50,kwe=Ft({__name:"assets",setup(n){const e=Ct(""),t=Ct(),r=Ct("grid"),i=Ct([]),s=ot(()=>{const v=[];for(const C of i.value||[]){const A=C.path.split(".").pop();A&&!v.find(b=>b.value===A)&&v.push({label:A,value:A})}return v}),o=Ct([]);q4e(()=>s.value,v=>{o.value=v.map(C=>C.value)});const a=Ct(),l=ot(()=>new lp(i.value||[],{keys:["path"]})),c=ot(()=>(e.value?l.value.search(e.value).map(C=>C.item):i.value||[]).filter(C=>{const A=C.path.split(".").pop();return!A||o.value.includes(A)})),u=ot(()=>{const v={};for(const C of c.value){const A=`${C.relativePath.split("/").slice(0,-1).join("/")}/`;v[A]||(v[A]=[]),v[A].push(C)}return Object.entries(v).sort(([C],[A])=>C.localeCompare(A))}),h=ot(()=>{const v={children:[]},C=(A,b,m)=>{const[E,...I]=b;let S=A.children.find(T=>T.path===E);S||(S={...m,path:E,children:[]},A.children.push(S)),I.length>1?C(S,I,m):I.length===1&&S.children.push({...m,path:I[0]})};return c.value.forEach(A=>{const b=A.relativePath.split("/").filter(m=>m!=="");C(v,b,A)}),v.children});function d(){_c.value.getStaticAssets().then(v=>{i.value=v})}function g(){d()}JJ(()=>{d(),_c.functions.on("assetsUpdated",g)});function f(){r.value=r.value==="list"?"grid":"list"}return wo(()=>{_c.functions.off("assetsUpdated",g)}),(v,C)=>{const A=PM,b=LEe,m=MEe,E=cre,I=EEe,S=bEe,T=jb("tooltip");return Ve(),Xe("div",Iwe,[Pe("div",ywe,[it(b,{ref_key:"navbar",ref:t,search:ye(e),"onUpdate:search":C[1]||(C[1]=P=>fn(e)?e.value=P:null),pb2:"","no-padding":!0},{actions:At(()=>[Pe("div",bwe,[it(ye(bC),{modelValue:ye(o),"onUpdate:modelValue":C[0]||(C[0]=P=>fn(o)?o.value=P:null),multiple:!0,options:ye(s)},{button:At(()=>[Kn((Ve(),Nt(A,{icon:"i-carbon-filter hover:op50",border:!1,title:"Filter",relative:"","cursor-pointer":"",p2:"","text-lg":"",onClick:()=>{}},{default:At(()=>[Pe("span",Ewe,gr(ye(o).length),1)]),_:1})),[[T,"Filter",void 0,{"bottom-end":!0}]])]),item:At(({item:P,active:_})=>[Pe("div",wwe,[it(ye(Dg),{"model-value":_},null,8,["model-value"]),Pe("span",Swe,gr(P.label),1)])]),_:1},8,["modelValue","options"]),Kn(it(ye(Gi),{border:!1,icon:ye(r)==="grid"?"i-carbon-list":"i-carbon-grid",title:"Toggle view",action:"","cursor-pointer":"","text-lg":"",onClick:f},null,8,["icon"]),[[T,"Toggle View",void 0,{"bottom-end":!0}]])])]),default:At(()=>[Pe("div",Twe,[ye(e)?(Ve(),Xe("span",xwe,gr(ye(c).length)+" matched · ",1)):Rt("",!0),Pe("span",null,gr(ye(i)?.length)+" assets in total",1)])]),_:1},8,["search"]),ye(r)==="grid"?(Ve(),Xe(ur,{key:0},[ye(u).length>1?(Ve(!0),Xe(ur,{key:0},Yn(ye(u),([P,_])=>(Ve(),Nt(E,{key:P,text:P,description:`${_.length} items`,open:_.length<=Mwe,padding:!1},{default:At(()=>[Pe("div",_we,[(Ve(!0),Xe(ur,null,Yn(_,$=>(Ve(),Nt(m,{key:$.path,asset:$,folder:P,onClick:B=>a.value=$},null,8,["asset","folder","onClick"]))),128))])]),_:2},1032,["text","description","open"]))),128)):(Ve(),Xe("div",Pwe,[(Ve(!0),Xe(ur,null,Yn(ye(c),P=>(Ve(),Nt(m,{key:P.path,asset:P,onClick:_=>a.value=P},null,8,["asset","onClick"]))),128))]))],64)):(Ve(),Xe("div",Owe,[(Ve(!0),Xe(ur,null,Yn(ye(h),(P,_)=>(Ve(),Nt(I,{key:_,modelValue:ye(a),"onUpdate:modelValue":C[2]||(C[2]=$=>fn(a)?a.value=$:null),item:P},null,8,["modelValue","item"]))),128))]))]),it(ye(are),{"model-value":!!ye(a),top:ye(t),permanent:"","mount-to":".drawer-container",position:"absolute","content-class":"w120 text-sm","onUpdate:modelValue":C[4]||(C[4]=P=>{P||(a.value=void 0)})},{default:At(()=>[ye(a)?(Ve(),Nt(S,{key:0,modelValue:ye(a),"onUpdate:modelValue":C[3]||(C[3]=P=>fn(a)?a.value=P:null)},null,8,["modelValue"])):Rt("",!0)]),_:1},8,["model-value","top"])])}}}),dd={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(n,{emit:e}){const t=e,r=n,i=Fb(),s=Ct([]),o=ot(()=>s.value.reduce((fe,oe)=>(fe[~~oe.id]=oe)&&fe,{})),a=ot(()=>s.value.length),l=Ct(null),c=Ct(!1),u=Ct({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),h=Ct({splitter:null,timeoutId:null}),d=ot(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":u.value.dragging})),g=()=>{document.addEventListener("mousemove",C,{passive:!1}),document.addEventListener("mouseup",A),"ontouchstart"in window&&(document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",A))},f=()=>{document.removeEventListener("mousemove",C,{passive:!1}),document.removeEventListener("mouseup",A),"ontouchstart"in window&&(document.removeEventListener("touchmove",C,{passive:!1}),document.removeEventListener("touchend",A))},v=(fe,oe)=>{const J=fe.target.closest(".splitpanes__splitter");if(J){const{left:K,top:q}=J.getBoundingClientRect(),{clientX:ue,clientY:te}="ontouchstart"in window&&fe.touches?fe.touches[0]:fe;u.value.cursorOffset=r.horizontal?te-q:ue-K}g(),u.value.mouseDown=!0,u.value.activeSplitter=oe},C=fe=>{u.value.mouseDown&&(fe.preventDefault(),u.value.dragging=!0,requestAnimationFrame(()=>{T(I(fe)),me("resize",{event:fe},!0)}))},A=fe=>{u.value.dragging&&me("resized",{event:fe},!0),u.value.mouseDown=!1,u.value.activeSplitter=null,setTimeout(()=>{u.value.dragging=!1,f()},100)},b=(fe,oe)=>{"ontouchstart"in window&&(fe.preventDefault(),h.value.splitter===oe?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,m(fe,oe),h.value.splitter=null):(h.value.splitter=oe,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),u.value.dragging||me("splitter-click",{event:fe,index:oe},!0)},m=(fe,oe)=>{if(me("splitter-dblclick",{event:fe,index:oe},!0),r.maximizePanes){let J=0;s.value=s.value.map((K,q)=>(K.size=q===oe?K.max:K.min,q!==oe&&(J+=K.min),K)),s.value[oe].size-=J,me("pane-maximize",{event:fe,index:oe,pane:s.value[oe]}),me("resized",{event:fe,index:oe},!0)}},E=(fe,oe)=>{me("pane-click",{event:fe,index:o.value[oe].index,pane:o.value[oe]})},I=fe=>{const oe=l.value.getBoundingClientRect(),{clientX:J,clientY:K}="ontouchstart"in window&&fe.touches?fe.touches[0]:fe;return{x:J-(r.horizontal?0:u.value.cursorOffset)-oe.left,y:K-(r.horizontal?u.value.cursorOffset:0)-oe.top}},S=fe=>{fe=fe[r.horizontal?"y":"x"];const oe=l.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(fe=oe-fe),fe*100/oe},T=fe=>{const oe=u.value.activeSplitter;let J={prevPanesSize:_(oe),nextPanesSize:$(oe),prevReachedMinPanes:0,nextReachedMinPanes:0};const K=0+(r.pushOtherPanes?0:J.prevPanesSize),q=100-(r.pushOtherPanes?0:J.nextPanesSize),ue=Math.max(Math.min(S(fe),q),K);let te=[oe,oe+1],ce=s.value[te[0]]||null,ge=s.value[te[1]]||null;const Te=ce.max<100&&ue>=ce.max+J.prevPanesSize,ae=ge.max<100&&ue<=100-(ge.max+$(oe+1));if(Te||ae){Te?(ce.size=ce.max,ge.size=Math.max(100-ce.max-J.prevPanesSize-J.nextPanesSize,0)):(ce.size=Math.max(100-ge.max-J.prevPanesSize-$(oe+1),0),ge.size=ge.max);return}if(r.pushOtherPanes){const L=P(J,ue);if(!L)return;({sums:J,panesToResize:te}=L),ce=s.value[te[0]]||null,ge=s.value[te[1]]||null}ce!==null&&(ce.size=Math.min(Math.max(ue-J.prevPanesSize-J.prevReachedMinPanes,ce.min),ce.max)),ge!==null&&(ge.size=Math.min(Math.max(100-ue-J.nextPanesSize-J.nextReachedMinPanes,ge.min),ge.max))},P=(fe,oe)=>{const J=u.value.activeSplitter,K=[J,J+1];return oe{ue>K[0]&&ue<=J&&(q.size=q.min,fe.prevReachedMinPanes+=q.min)}),fe.prevPanesSize=_(K[0]),K[0]===void 0)?(fe.prevReachedMinPanes=0,s.value[0].size=s.value[0].min,s.value.forEach((q,ue)=>{ue>0&&ue<=J&&(q.size=q.min,fe.prevReachedMinPanes+=q.min)}),s.value[K[1]].size=100-fe.prevReachedMinPanes-s.value[0].min-fe.prevPanesSize-fe.nextPanesSize,null):oe>100-fe.nextPanesSize-s.value[K[1]].min&&(K[1]=U(J).index,fe.nextReachedMinPanes=0,K[1]>J+1&&s.value.forEach((q,ue)=>{ue>J&&ue{ue=J+1&&(q.size=q.min,fe.nextReachedMinPanes+=q.min)}),s.value[K[0]].size=100-fe.prevPanesSize-$(K[0]-1),null):{sums:fe,panesToResize:K}},_=fe=>s.value.reduce((oe,J,K)=>oe+(Ks.value.reduce((oe,J,K)=>oe+(K>fe+1?J.size:0),0),B=fe=>[...s.value].reverse().find(oe=>oe.indexoe.min)||{},U=fe=>s.value.find(oe=>oe.index>fe+1&&oe.size>oe.min)||{},H=()=>{var fe;const oe=Array.from(((fe=l.value)==null?void 0:fe.children)||[]);for(const J of oe){const K=J.classList.contains("splitpanes__pane"),q=J.classList.contains("splitpanes__splitter");!K&&!q&&(J.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},N=(fe,oe,J=!1)=>{const K=fe-1,q=document.createElement("div");q.classList.add("splitpanes__splitter"),J||(q.onmousedown=ue=>v(ue,K),typeof window<"u"&&"ontouchstart"in window&&(q.ontouchstart=ue=>v(ue,K)),q.onclick=ue=>b(ue,K+1)),q.ondblclick=ue=>m(ue,K+1),oe.parentNode.insertBefore(q,oe)},W=fe=>{fe.onmousedown=void 0,fe.onclick=void 0,fe.ondblclick=void 0,fe.remove()},D=()=>{var fe;const oe=Array.from(((fe=l.value)==null?void 0:fe.children)||[]);for(const K of oe)K.className.includes("splitpanes__splitter")&&W(K);let J=0;for(const K of oe)K.className.includes("splitpanes__pane")&&(!J&&r.firstSplitter?N(J,K,!0):J&&N(J,K),J++)},R=({uid:fe,...oe})=>{const J=o.value[fe];for(const[K,q]of Object.entries(oe))J[K]=q},Y=fe=>{var oe;let J=-1;Array.from(((oe=l.value)==null?void 0:oe.children)||[]).some(K=>(K.className.includes("splitpanes__pane")&&J++,K.isSameNode(fe.el))),s.value.splice(J,0,{...fe,index:J}),s.value.forEach((K,q)=>K.index=q),c.value&&Hs(()=>{D(),de({addedPane:s.value[J]}),me("pane-add",{pane:s.value[J]})})},ie=fe=>{const oe=s.value.findIndex(K=>K.id===fe);s.value[oe].el=null;const J=s.value.splice(oe,1)[0];s.value.forEach((K,q)=>K.index=q),Hs(()=>{D(),me("pane-remove",{pane:J}),de({removedPane:{...J}})})},de=(fe={})=>{!fe.addedPane&&!fe.removedPane?X():s.value.some(oe=>oe.givenSize!==null||oe.min||oe.max<100)?Q(fe):xe(),c.value&&me("resized")},xe=()=>{const fe=100/a.value;let oe=0;const J=[],K=[];for(const q of s.value)q.size=Math.max(Math.min(fe,q.max),q.min),oe-=q.size,q.size>=q.max&&J.push(q.id),q.size<=q.min&&K.push(q.id);oe>.1&&he(oe,J,K)},X=()=>{let fe=100;const oe=[],J=[];let K=0;for(const ue of s.value)fe-=ue.size,ue.givenSize!==null&&K++,ue.size>=ue.max&&oe.push(ue.id),ue.size<=ue.min&&J.push(ue.id);let q=100;if(fe>.1){for(const ue of s.value)ue.givenSize===null&&(ue.size=Math.max(Math.min(fe/(a.value-K),ue.max),ue.min)),q-=ue.size;q>.1&&he(q,oe,J)}},Q=({addedPane:fe,removedPane:oe}={})=>{let J=100/a.value,K=0;const q=[],ue=[];(fe?.givenSize??null)!==null&&(J=(100-fe.givenSize)/(a.value-1));for(const te of s.value)K-=te.size,te.size>=te.max&&q.push(te.id),te.size<=te.min&&ue.push(te.id);if(!(Math.abs(K)<.1)){for(const te of s.value)fe?.givenSize!==null&&fe?.id===te.id||(te.size=Math.max(Math.min(J,te.max),te.min)),K-=te.size,te.size>=te.max&&q.push(te.id),te.size<=te.min&&ue.push(te.id);K>.1&&he(K,q,ue)}},he=(fe,oe,J)=>{let K;fe>0?K=fe/(a.value-oe.length):K=fe/(a.value-J.length),s.value.forEach((q,ue)=>{if(fe>0&&!oe.includes(q.id)){const te=Math.max(Math.min(q.size+K,q.max),q.min),ce=te-q.size;fe-=ce,q.size=te}else if(!J.includes(q.id)){const te=Math.max(Math.min(q.size+K,q.max),q.min),ce=te-q.size;fe-=ce,q.size=te}}),Math.abs(fe)>.1&&Hs(()=>{c.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},me=(fe,oe=void 0,J=!1)=>{const K=oe?.index??u.value.activeSplitter??null;t(fe,{...oe,...K!==null&&{index:K},...J&&K!==null&&{prevPane:s.value[K-(r.firstSplitter?1:0)],nextPane:s.value[K+(r.firstSplitter?0:1)]},panes:s.value.map(q=>({min:q.min,max:q.max,size:q.size}))})};Fr(()=>r.firstSplitter,()=>D()),No(()=>{H(),D(),de(),me("ready"),c.value=!0}),p0(()=>c.value=!1);const _e=()=>{var fe;return cd("div",{ref:l,class:d.value},(fe=i.default)==null?void 0:fe.call(i))};return io("panes",s),io("indexedPanes",o),io("horizontal",ot(()=>r.horizontal)),io("requestUpdate",R),io("onPaneAdd",Y),io("onPaneRemove",ie),io("onPaneClick",E),(fe,oe)=>(Ve(),Nt(Su(_e)))}},Yo={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(n){var e;const t=n,r=Li("requestUpdate"),i=Li("onPaneAdd"),s=Li("horizontal"),o=Li("onPaneRemove"),a=Li("onPaneClick"),l=(e=So())==null?void 0:e.uid,c=Li("indexedPanes"),u=ot(()=>c.value[l]),h=Ct(null),d=ot(()=>{const C=isNaN(t.size)||t.size===void 0?0:parseFloat(t.size);return Math.max(Math.min(C,f.value),g.value)}),g=ot(()=>{const C=parseFloat(t.minSize);return isNaN(C)?0:C}),f=ot(()=>{const C=parseFloat(t.maxSize);return isNaN(C)?100:C}),v=ot(()=>{var C;return`${s.value?"height":"width"}: ${(C=u.value)==null?void 0:C.size}%`});return Fr(()=>d.value,C=>r({uid:l,size:C})),Fr(()=>g.value,C=>r({uid:l,min:C})),Fr(()=>f.value,C=>r({uid:l,max:C})),No(()=>{i({id:l,el:h.value,min:g.value,max:f.value,givenSize:t.size===void 0?null:d.value,size:d.value})}),p0(()=>o(l)),(C,A)=>(Ve(),Xe("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:A[0]||(A[0]=b=>ye(a)(b,C._.uid)),style:Ys(v.value)},[pn(C.$slots,"default")],4))}};function $we(){var n=window.navigator.userAgent,e=n.indexOf("MSIE ");if(e>0)return parseInt(n.substring(e+5,n.indexOf(".",e)),10);var t=n.indexOf("Trident/");if(t>0){var r=n.indexOf("rv:");return parseInt(n.substring(r+3,n.indexOf(".",r)),10)}var i=n.indexOf("Edge/");return i>0?parseInt(n.substring(i+5,n.indexOf(".",i)),10):-1}let u4;function Vx(){Vx.init||(Vx.init=!0,u4=$we()!==-1)}var h9={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Vx(),Hs(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const n=document.createElement("object");this._resizeObject=n,n.setAttribute("aria-hidden","true"),n.setAttribute("tabindex",-1),n.onload=this.addResizeHandlers,n.type="text/html",u4&&this.$el.appendChild(n),n.data="about:blank",u4||this.$el.appendChild(n)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!u4&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Lwe=mO();gO("data-v-b329ee4c");const Nwe={class:"resize-observer",tabindex:"-1"};vO();const Dwe=Lwe((n,e,t,r,i,s)=>(Ve(),Nt("div",Nwe)));h9.render=Dwe;h9.__scopeId="data-v-b329ee4c";h9.__file="src/components/ResizeObserver.vue";function h4(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?h4=function(e){return typeof e}:h4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h4(n)}function zwe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function Rwe(n,e){for(var t=0;tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t2&&arguments[2]!==void 0?arguments[2]:{},r,i,s,o=function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),h=1;h1){var c=a.find(function(h){return h.isIntersecting});c&&(l=c)}if(i.callback){var u=l.isIntersecting&&l.intersectionRatio>=i.threshold;if(u===i.oldResult)return;i.oldResult=u,i.callback(u,l)}},this.options.intersection),Hs(function(){i.observer&&i.observer.observe(i.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&typeof this.options.intersection.threshold=="number"?this.options.intersection.threshold:0}}]),n}();function Ire(n,e,t){var r=e.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var i=new Gwe(n,r,t);n._vue_visibilityState=i}}function Kwe(n,e,t){var r=e.value,i=e.oldValue;if(!Are(r,i)){var s=n._vue_visibilityState;if(!r){yre(n);return}s?s.createObserver(r,t):Ire(n,{value:r},t)}}function yre(n){var e=n._vue_visibilityState;e&&(e.destroyObserver(),delete n._vue_visibilityState)}var qwe={beforeMount:Ire,updated:Kwe,unmounted:yre},Ywe={itemsLimit:1e3},Xwe=/(auto|scroll)/;function bre(n,e){return n.parentNode===null?e:bre(n.parentNode,e.concat([n]))}var H7=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},Zwe=function(e){return H7(e,"overflow")+H7(e,"overflow-y")+H7(e,"overflow-x")},Qwe=function(e){return Xwe.test(Zwe(e))};function hH(n){if(n instanceof HTMLElement||n instanceof SVGElement){for(var e=bre(n.parentNode,[]),t=0;t{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const n=this.$_lastUpdateScrollPosition;typeof n=="number"&&this.$nextTick(()=>{this.scrollToPosition(n)})},beforeUnmount(){this.removeListeners()},methods:{addView(n,e,t,r,i){const s=dO({id:rSe++,index:e,used:!0,key:r,type:i}),o=Lb({item:t,position:0,nr:s});return n.push(o),o},unuseView(n,e=!1){const t=this.$_unusedViews,r=n.nr.type;let i=t.get(r);i||(i=[],t.set(r,i)),i.push(n),e||(n.nr.used=!1,n.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(n){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const e=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:t}=this.updateVisibleItems(!1,!0);t||(clearTimeout(this.$_refreshTimout),this.$_refreshTimout=setTimeout(this.handleScroll,this.updateInterval+100))});e(),this.updateInterval&&(this.$_updateTimeout=setTimeout(()=>{this.$_updateTimeout=0,this.$_scrollDirty&&e()},this.updateInterval))}},handleVisibilityChange(n,e){this.ready&&(n||e.boundingClientRect.width!==0||e.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(n,e=!1){const t=this.itemSize,r=this.gridItems||1,i=this.itemSecondarySize||t,s=this.$_computedMinItemSize,o=this.typeField,a=this.simpleArray?null:this.keyField,l=this.items,c=l.length,u=this.sizes,h=this.$_views,d=this.$_unusedViews,g=this.pool,f=this.itemIndexByKey;let v,C,A,b,m;if(!c)v=C=b=m=A=0;else if(this.$_prerender)v=b=0,C=m=Math.min(this.prerender,l.length),A=null;else{const $=this.getScroll();if(e){let H=$.start-this.$_lastUpdateScrollPosition;if(H<0&&(H=-H),t===null&&H$.start&&(W=D),D=~~((N+W)/2);while(D!==R);for(D<0&&(D=0),v=D,A=u[c-1].accumulator,C=D;Cc&&(C=c)),b=v;bc&&(C=c),b<0&&(b=0),m>c&&(m=c),A=Math.ceil(c/r)*t}}C-v>Ywe.itemsLimit&&this.itemsLimitError(),this.totalSize=A;let E;const I=v<=this.$_endIndex&&C>=this.$_startIndex;if(I)for(let $=0,B=g.length;$=C)&&this.unuseView(E));const S=I?null:new Map;let T,P,_;for(let $=v;$=U.length)&&(E=this.addView(g,$,T,B,P),this.unuseView(E,!0),U=d.get(P)),E=U[_],S.set(P,_+1)),h.delete(E.nr.key),E.nr.used=!0,E.nr.index=$,E.nr.key=B,E.nr.type=P,h.set(B,E),H=!0;else if(!E.nr.used&&(E.nr.used=!0,H=!0,U)){const N=U.indexOf(E);N!==-1&&U.splice(N,1)}E.item=T,H&&($===l.length-1&&this.$emit("scroll-end"),$===0&&this.$emit("scroll-start")),t===null?(E.position=u[$-1].accumulator,E.offset=0):(E.position=Math.floor($/r)*t,E.offset=$%r*i)}return this.$_startIndex=v,this.$_endIndex=C,this.emitUpdate&&this.$emit("update",v,C,b,m),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:I}},getListenerTarget(){let n=hH(this.$el);return window.document&&(n===window.document.documentElement||n===window.document.body)&&(n=window),n},getScroll(){const{$el:n,direction:e}=this,t=e==="vertical";let r;if(this.pageMode){const i=n.getBoundingClientRect(),s=t?i.height:i.width;let o=-(t?i.top:i.left),a=t?window.innerHeight:window.innerWidth;o<0&&(a+=o,o=0),o+a>s&&(a=s-o),r={start:o,end:o+a}}else t?r={start:n.scrollTop,end:n.scrollTop+n.clientHeight}:r={start:n.scrollLeft,end:n.scrollLeft+n.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,jx?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem(n){let e;const t=this.gridItems||1;this.itemSize===null?e=n>0?this.sizes[n-1].accumulator:0:e=Math.floor(n/t)*this.itemSize,this.scrollToPosition(e)},scrollToPosition(n){const e=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let t,r,i;if(this.pageMode){const s=hH(this.$el),o=s.tagName==="HTML"?0:s[e.scroll],a=s.getBoundingClientRect(),c=this.$el.getBoundingClientRect()[e.start]-a[e.start];t=s,r=e.scroll,i=n+o+c}else t=this.$el,r=e.scroll,i=n;t[r]=i},itemsLimitError(){throw setTimeout(()=>{console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",this.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews(){this.pool.sort((n,e)=>n.nr.index-e.nr.index)}}};const nSe={key:0,ref:"before",class:"vue-recycle-scroller__slot"},iSe={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function sSe(n,e,t,r,i,s){const o=hc("ResizeObserver"),a=jb("observe-visibility");return Kn((Ve(),Xe("div",{class:Ar(["vue-recycle-scroller",{ready:i.ready,"page-mode":t.pageMode,[`direction-${n.direction}`]:!0}]),onScrollPassive:e[0]||(e[0]=(...l)=>s.handleScroll&&s.handleScroll(...l))},[n.$slots.before?(Ve(),Xe("div",nSe,[pn(n.$slots,"before")],512)):Rt("v-if",!0),(Ve(),Nt(Su(t.listTag),{ref:"wrapper",style:Ys({[n.direction==="vertical"?"minHeight":"minWidth"]:i.totalSize+"px"}),class:Ar(["vue-recycle-scroller__item-wrapper",t.listClass])},{default:At(()=>[(Ve(!0),Xe(ur,null,Yn(i.pool,l=>(Ve(),Nt(Su(t.itemTag),vo({key:l.nr.id,style:i.ready?{transform:`translate${n.direction==="vertical"?"Y":"X"}(${l.position}px) translate${n.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:t.gridItems?`${n.direction==="vertical"&&t.itemSecondarySize||t.itemSize}px`:void 0,height:t.gridItems?`${n.direction==="horizontal"&&t.itemSecondarySize||t.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[t.itemClass,{hover:!t.skipHover&&i.hoverKey===l.nr.key}]]},nQ(t.skipHover?{}:{mouseenter:()=>{i.hoverKey=l.nr.key},mouseleave:()=>{i.hoverKey=null}})),{default:At(()=>[pn(n.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),pn(n.$slots,"empty")]),_:3},8,["style","class"])),n.$slots.after?(Ve(),Xe("div",iSe,[pn(n.$slots,"after")],512)):Rt("v-if",!0),it(o,{onNotify:s.handleResize},null,8,["onNotify"])],34)),[[a,s.handleVisibilityChange]])}MM.render=sSe;MM.__file="src/components/RecycleScroller.vue";var Ere=typeof global=="object"&&global&&global.Object===Object&&global,oSe=typeof self=="object"&&self&&self.Object===Object&&self,D1=Ere||oSe||Function("return this")(),Ou=D1.Symbol,wre=Object.prototype,aSe=wre.hasOwnProperty,lSe=wre.toString,zv=Ou?Ou.toStringTag:void 0;function cSe(n){var e=aSe.call(n,zv),t=n[zv];try{n[zv]=void 0;var r=!0}catch{}var i=lSe.call(n);return r&&(e?n[zv]=t:delete n[zv]),i}var uSe=Object.prototype,hSe=uSe.toString;function dSe(n){return hSe.call(n)}var fSe="[object Null]",pSe="[object Undefined]",dH=Ou?Ou.toStringTag:void 0;function y0(n){return n==null?n===void 0?pSe:fSe:dH&&dH in Object(n)?cSe(n):dSe(n)}function R2(n){return n!=null&&typeof n=="object"}var gSe="[object Symbol]";function kM(n){return typeof n=="symbol"||R2(n)&&y0(n)==gSe}function vSe(n,e){for(var t=-1,r=n==null?0:n.length,i=Array(r);++t-1&&n%1==0&&n-1&&n%1==0&&n<=zSe}function Pre(n){return n!=null&&LM(n.length)&&!Tre(n)}var RSe=Object.prototype;function VSe(n){var e=n&&n.constructor,t=typeof e=="function"&&e.prototype||RSe;return n===t}function HSe(n,e){for(var t=-1,r=Array(n);++t-1}function KTe(n,e){var t=this.__data__,r=d9(t,n);return r<0?(++this.size,t.push([n,e])):t[r][1]=e,this}function z1(n){var e=-1,t=n==null?0:n.length;for(this.clear();++ea))return!1;var c=s.get(n),u=s.get(e);if(c&&u)return c==e&&u==n;var h=-1,d=!0,g=t&Nxe?new $3:void 0;for(s.set(n,e),s.set(e,n);++hHre)return!1;let i=!1;const s=Object.keys(n);let o,a;for(let l=0;lHre)return!1;let i=!1,s;for(let o=0;ok_e({[a.key]:a.value},t));o.length&&(i[s]=r?r(o):o)}return i}const Fre=Ft({__name:"NodeTag",props:{tag:{}},setup(n){return(e,t)=>Kn((Ve(),Xe("span",{style:Ys({color:`#${ye(NH)(e.tag.textColor)}`,backgroundColor:`#${ye(NH)(e.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[Cr(gr(e.tag.label),1)],4)),[[ye(Ni),{content:e.tag.tooltip,html:!0}]])}}),N_e={class:"p2"},D_e=["onClick"],Ure=Ft({__name:"SelectiveList",props:Yh({data:{}},{modelValue:{},modelModifiers:{}}),emits:Yh(["select"],["update:modelValue"]),setup(n,{emit:e}){const t=e,r=nA(n,"modelValue");function i(s){r.value=s,t("select",s)}return(s,o)=>(Ve(),Xe("ul",N_e,[(Ve(!0),Xe(ur,null,Yn(s.data,a=>(Ve(),Xe("li",{key:a.id,class:Ar(["selectable-item",{active:a.id===r.value}]),onClick:l=>i(a.id)},[Cr(gr(a.label)+" ",1),(Ve(!0),Xe(ur,null,Yn(a.tags,(l,c)=>(Ve(),Nt(Fre,{key:c,tag:l},null,8,["tag"]))),128))],10,D_e))),128))]))}}),BM=Symbol("VirtualRouteKey"),Wre=Symbol("VirtualRoutesKey");function jM(n,e){const t=e?.defaultRoutePath??hn(n)[0].path,r=Ct({path:t}),i=ot(()=>hn(n)),s=ot(()=>r.value.path),o=Ft({setup(){return()=>{const l=i.value.find(c=>c.path===s.value);return l?cd(l.component):null}}});function a(){r.value.path=t}return io(BM,r),io(Wre,i),{VirtualRouterView:o,restoreRouter:a}}function pA(){const n=Li(BM);return{push(e){n.value.path=e}}}function z_e(){const n=Li(Wre),e=Li(BM);return{routes:n,currentRoute:e}}const R_e={border:"b base",class:"flex items-center justify-between px3"},V_e=["href"],H_e=["href"],b0=Ft({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(n){const e=pA();return(t,r)=>(Ve(),Xe("div",R_e,[Pe("div",null,[pn(t.$slots,"default",{},()=>[Pe("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:r[0]||(r[0]=i=>ye(e).push("/"))})])]),Pe("div",null,[Pe("a",{class:"pr2",href:t.docLink,target:"_blank",title:"View Documentation"},r[1]||(r[1]=[Pe("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1)]),8,V_e),t.githubRepoLink?(Ve(),Xe("a",{key:0,href:t.githubRepoLink,target:"_blank",title:"Star on GitHub"},r[2]||(r[2]=[Pe("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1)]),8,H_e)):Rt("",!0)])]))}}),fd=(n,e)=>{const t=n.__vccOpts||n;for(const[r,i]of e)t[r]=i;return t},B_e={},j_e={class:"h-full flex flex-col items-center justify-center op50"};function F_e(n,e){return Ve(),Xe("div",j_e,[e[0]||(e[0]=Pe("i",{class:"i-lets-icons:blank-light"},null,-1)),Pe("span",null,[pn(n.$slots,"default")])])}const d2=fd(B_e,[["render",F_e]]),U_e={class:"flex gap3"},W_e=["onClick"],E0=Ft({__name:"Navbar",setup(n){const{routes:e,currentRoute:t}=z_e(),r=pA();return(i,s)=>(Ve(),Xe("ul",U_e,[(Ve(!0),Xe(ur,null,Yn(ye(e),(o,a)=>(Ve(),Xe("li",{key:a,class:Ar(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100",ye(t).path===o.path?"op-100 font-medium text-primary-400 border-primary-400":"border-transparent op-70"]),onClick:l=>ye(r).push(o.path)},gr(o.name),11,W_e))),128))]))}}),FM=Ft({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(n){return(e,t)=>(Ve(),Xe("i",{class:Ar(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":e.value}])},null,2))}}),Gre=Symbol("StateEditorSymbol");function G_e(n){const e=Ct(n);return io(Gre,e),{context:e}}function UM(){return Li(Gre)}function K_e(){const n=Ct(""),e=Ct("string"),t=Ct(!1),r=UM();return{editingText:n,editing:t,toggleEditing(i){i&&(e.value=i),t.value=!t.value},editingType:e,nodeId:ot(()=>r.value.nodeId)}}function q_e(n,e){if(n==="array")return e.length;const t="newProp";let r=1;for(;;){const i=`${t}${r}`;if(!e[i])return i;r++}}function Y_e(){const n=Ct({enable:!1,key:"",value:"undefined"});function e(r,i){const s=q_e(r,i);n.value={enable:!0,key:s.toString(),value:"undefined"}}function t(){n.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:e,resetDrafting:t,draftingNewProp:n}}const Kre="expanded-state";function T1(n=""){const e=Ct([]);return io(`${Kre}-${n}`,e),{expanded:e}}function WM(n=""){const e=Li(`${Kre}-${n}`,Ct([]));function t(r){const i=e.value.indexOf(r);i===-1?e.value.push(r):e.value.splice(i,1)}return{expanded:e,toggleExpanded:t}}function GM(n){return Ob()?(lO(n),!0):!1}const KM=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const X_e=n=>typeof n<"u",Z_e=Object.prototype.toString,Q_e=n=>Z_e.call(n)==="[object Object]",qx=()=>{};function qre(n,e){function t(...r){return new Promise((i,s)=>{Promise.resolve(n(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(i).catch(s)})}return t}const J_e=n=>n();function Yre(n,e={}){let t,r,i=qx;const s=a=>{clearTimeout(a),i(),i=qx};let o;return a=>{const l=hn(n),c=hn(e.maxWait);return t&&s(t),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,h)=>{i=e.rejectOnCancel?h:u,o=a,c&&!r&&(r=setTimeout(()=>{t&&s(t),r=null,u(o())},c)),t=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function zH(n,e=!1,t="Timeout"){return new Promise((r,i)=>{setTimeout(e?()=>i(t):r,n)})}function ePe(n){let e;function t(){return e||(e=n()),e}return t.reset=async()=>{const r=e;e=void 0,r&&await r},t}function tPe(n){return So()}function d4(n){return Array.isArray(n)?n:[n]}function RH(n,e=200,t={}){return qre(Yre(e,t),n)}function rPe(n,e,t={}){const{eventFilter:r=J_e,...i}=t;return Fr(n,qre(r,e),i)}function nPe(n,e=!0,t){tPe()?No(n,t):e?n():Hs(n)}function Yx(n,e=!1){function t(h,{flush:d="sync",deep:g=!1,timeout:f,throwOnTimeout:v}={}){let C=null;const A=[new Promise(b=>{C=Fr(n,m=>{h(m)!==e&&(C?C():Hs(()=>C?.()),b(m))},{flush:d,deep:g,immediate:!0})})];return f!=null&&A.push(zH(f,v).then(()=>hn(n)).finally(()=>C?.())),Promise.race(A)}function r(h,d){if(!fn(h))return t(m=>m===h,d);const{flush:g="sync",deep:f=!1,timeout:v,throwOnTimeout:C}=d??{};let A=null;const b=[new Promise(m=>{A=Fr([n,h],([E,I])=>{e!==(E===I)&&(A?A():Hs(()=>A?.()),m(E))},{flush:g,deep:f,immediate:!0})})];return v!=null&&b.push(zH(v,C).then(()=>hn(n)).finally(()=>(A?.(),hn(n)))),Promise.race(b)}function i(h){return t(d=>!!d,h)}function s(h){return r(null,h)}function o(h){return r(void 0,h)}function a(h){return t(Number.isNaN,h)}function l(h,d){return t(g=>{const f=Array.from(g);return f.includes(h)||f.includes(hn(h))},d)}function c(h){return u(1,h)}function u(h=1,d){let g=-1;return t(()=>(g+=1,g>=h),d)}return Array.isArray(hn(n))?{toMatch:t,toContains:l,changed:c,changedTimes:u,get not(){return Yx(n,!e)}}:{toMatch:t,toBe:r,toBeTruthy:i,toBeNull:s,toBeNaN:a,toBeUndefined:o,changed:c,changedTimes:u,get not(){return Yx(n,!e)}}}function Xre(n){return Yx(n)}function iPe(n,e,t={}){const{immediate:r=!0,immediateCallback:i=!1}=t,s=Cn(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function l(){s.value=!1,a()}function c(...u){i&&n(),a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,n(...u)},hn(e))}return r&&(s.value=!0,KM&&c()),GM(l),{isPending:$1(s),start:c,stop:l}}function Zre(n=!1,e={}){const{truthyValue:t=!0,falsyValue:r=!1}=e,i=fn(n),s=Cn(n);function o(a){if(arguments.length)return s.value=a,s.value;{const l=hn(t);return s.value=s.value===l?hn(r):l,s.value}}return i?o:[s,o]}function Qre(n,e,t={}){const{debounce:r=0,maxWait:i=void 0,...s}=t;return rPe(n,e,{...s,eventFilter:Yre(r,{maxWait:i})})}function sPe(n,e,t){return Fr(n,e,{...t,immediate:!0})}const g9=KM?window:void 0,Jre=KM?window.navigator:void 0;function hf(n){var e;const t=hn(n);return(e=t?.$el)!=null?e:t}function s1(...n){const e=[],t=()=>{e.forEach(a=>a()),e.length=0},r=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),i=ot(()=>{const a=d4(hn(n[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),s=sPe(()=>{var a,l;return[(l=(a=i.value)==null?void 0:a.map(c=>hf(c)))!=null?l:[g9].filter(c=>c!=null),d4(hn(i.value?n[1]:n[0])),d4(ye(i.value?n[2]:n[1])),hn(i.value?n[3]:n[2])]},([a,l,c,u])=>{if(t(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const h=Q_e(u)?{...u}:u;e.push(...a.flatMap(d=>l.flatMap(g=>c.map(f=>r(d,g,f,h)))))},{flush:"post"}),o=()=>{s(),t()};return GM(t),o}function oPe(){const n=Cn(!1),e=So();return e&&No(()=>{n.value=!0},e),n}function qM(n){const e=oPe();return ot(()=>(e.value,!!n()))}function VH(n,e={}){const{controls:t=!1,navigator:r=Jre}=e,i=qM(()=>r&&"permissions"in r),s=Cn(),o=typeof n=="string"?{name:n}:n,a=Cn(),l=()=>{var u,h;a.value=(h=(u=s.value)==null?void 0:u.state)!=null?h:"prompt"};s1(s,"change",l,{passive:!0});const c=ePe(async()=>{if(i.value){if(!s.value)try{s.value=await r.permissions.query(o)}catch{s.value=void 0}finally{l()}if(t)return ii(s.value)}});return c(),t?{state:a,isSupported:i,query:c}:a}function aPe(n={}){const{navigator:e=Jre,read:t=!1,source:r,copiedDuring:i=1500,legacy:s=!1}=n,o=qM(()=>e&&"clipboard"in e),a=VH("clipboard-read"),l=VH("clipboard-write"),c=ot(()=>o.value||s),u=Cn(""),h=Cn(!1),d=iPe(()=>h.value=!1,i,{immediate:!1});async function g(){let b=!(o.value&&A(a.value));if(!b)try{u.value=await e.clipboard.readText()}catch{b=!0}b&&(u.value=C())}c.value&&t&&s1(["copy","cut"],g,{passive:!0});async function f(b=hn(r)){if(c.value&&b!=null){let m=!(o.value&&A(l.value));if(!m)try{await e.clipboard.writeText(b)}catch{m=!0}m&&v(b),u.value=b,h.value=!0,d.start()}}function v(b){const m=document.createElement("textarea");m.value=b??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function C(){var b,m,E;return(E=(m=(b=document?.getSelection)==null?void 0:b.call(document))==null?void 0:m.toString())!=null?E:""}function A(b){return b==="granted"||b==="prompt"}return{isSupported:c,text:u,copied:h,copy:f}}function lPe(n){return JSON.parse(JSON.stringify(n))}function cPe(n,e,t={}){const{window:r=g9,...i}=t;let s;const o=qM(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=ot(()=>{const h=hn(n);return Array.isArray(h)?h.map(d=>hf(d)):[hf(h)]}),c=Fr(l,h=>{if(a(),o.value&&r){s=new ResizeObserver(e);for(const d of h)d&&s.observe(d,i)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return GM(u),{isSupported:o,stop:u}}function uPe(n,e={width:0,height:0},t={}){const{window:r=g9,box:i="content-box"}=t,s=ot(()=>{var h,d;return(d=(h=hf(n))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),o=Cn(e.width),a=Cn(e.height),{stop:l}=cPe(n,([h])=>{const d=i==="border-box"?h.borderBoxSize:i==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&s.value){const g=hf(n);if(g){const f=g.getBoundingClientRect();o.value=f.width,a.value=f.height}}else if(d){const g=d4(d);o.value=g.reduce((f,{inlineSize:v})=>f+v,0),a.value=g.reduce((f,{blockSize:v})=>f+v,0)}else o.value=h.contentRect.width,a.value=h.contentRect.height},t);nPe(()=>{const h=hf(n);h&&(o.value="offsetWidth"in h?h.offsetWidth:e.width,a.value="offsetHeight"in h?h.offsetHeight:e.height)});const c=Fr(()=>hf(n),h=>{o.value=h?e.width:0,a.value=h?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}const hPe={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function dPe(n={}){const{reactive:e=!1,target:t=g9,aliasMap:r=hPe,passive:i=!0,onEventFired:s=qx}=n,o=zc(new Set),a={toJSON(){return{}},current:o},l=e?zc(a):a,c=new Set,u=new Set;function h(v,C){v in l&&(e?l[v]=C:l[v].value=C)}function d(){o.clear();for(const v of u)h(v,!1)}function g(v,C){var A,b;const m=(A=v.key)==null?void 0:A.toLowerCase(),E=[(b=v.code)==null?void 0:b.toLowerCase(),m].filter(Boolean);m&&(C?o.add(m):o.delete(m));for(const I of E)u.add(I),h(I,C);m==="meta"&&!C?(c.forEach(I=>{o.delete(I),h(I,!1)}),c.clear()):typeof v.getModifierState=="function"&&v.getModifierState("Meta")&&C&&[...o,...E].forEach(I=>c.add(I))}s1(t,"keydown",v=>(g(v,!0),s(v)),{passive:i}),s1(t,"keyup",v=>(g(v,!1),s(v)),{passive:i}),s1("blur",d,{passive:i}),s1("focus",d,{passive:i});const f=new Proxy(l,{get(v,C,A){if(typeof C!="string")return Reflect.get(v,C,A);if(C=C.toLowerCase(),C in r&&(C=r[C]),!(C in l))if(/[+_-]/.test(C)){const m=C.split(/[+_-]/g).map(E=>E.trim());l[C]=ot(()=>m.map(E=>hn(f[E])).every(Boolean))}else l[C]=Cn(!1);const b=Reflect.get(v,C,A);return e?hn(b):b}});return f}function fPe(n,e,t,r={}){var i,s,o;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:h,shouldEmit:d}=r,g=So(),f=t||g?.emit||((i=g?.$emit)==null?void 0:i.bind(g))||((o=(s=g?.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(g?.proxy));let v=c;v=v||`update:${e.toString()}`;const C=m=>a?typeof a=="function"?a(m):lPe(m):m,A=()=>X_e(n[e])?C(n[e]):h,b=m=>{d?d(m)&&f(v,m):f(v,m)};if(l){const m=A(),E=Ct(m);let I=!1;return Fr(()=>n[e],S=>{I||(I=!0,E.value=C(S),Hs(()=>I=!1))}),Fr(E,S=>{!I&&(S!==n[e]||u)&&b(S)},{deep:u}),E}else return ot({get(){return A()},set(m){b(m)}})}function pPe(n,e={}){const{enter:t=()=>{},leave:r=()=>{},initial:i=!1}=e,s=Ct(i);return s1(n,"mouseenter",()=>{s.value=!0,t()}),s1(n,"mouseleave",()=>{s.value=!1,r()}),{isHovering:s}}const gPe={class:"flex pl5px"},vPe={class:"w160px py5px"},mPe=Ft({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(n){const e=n,t=UM(),{copy:r,isSupported:i}=aPe(),s=Ct(!1),o=ot(()=>QO(e.data.value)),a=ot(()=>o.value.value),l=ot(()=>o.value.customType),c=ot(()=>a.value===null?"null":typeof a.value),u={flat:!0,size:"mini"},h=ot(()=>({"opacity-0":!e.hovering}));async function d(f,v=!1){await Gt.value.editInspectorState({path:e.data.path||[e.data.key],inspectorId:t.value.inspectorId,type:e.data.stateType,nodeId:t.value.nodeId,state:{newKey:null,value:ii(f),type:c.value,remove:v}}),await Gt.value.sendInspectorState(t.value.inspectorId)}function g(f,v){const C=typeof f=="number"?f+v:BigInt(f)+BigInt(v);d(C)}return(f,v)=>(Ve(),Xe("div",gPe,[!e.disableEdit&&f.data.editable?(Ve(),Xe(ur,{key:0},[c.value==="string"||c.value==="number"||c.value==="object"||c.value==="null"?(Ve(),Xe(ur,{key:0},[Kn((Ve(),Nt(ye(Gn),vo(u,{class:h.value,onClick:v[0]||(v[0]=ya(C=>f.$emit("enableEditInput",c.value),["stop"]))}),{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[ye(Ni),{content:"Edit value"}]]),c.value==="object"&&f.showAddIfNeeded?Kn((Ve(),Nt(ye(Gn),vo({key:0},u,{class:h.value,onClick:v[1]||(v[1]=ya(C=>f.$emit("addNewProp",Array.isArray(a.value)?"array":"object"),["stop"]))}),{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[ye(Ni),{content:"Add new value"}]]):Rt("",!0)],64)):Rt("",!0),c.value==="boolean"?(Ve(),Nt(ye(Gn),vo({key:1},u,{class:h.value,onClick:v[2]||(v[2]=C=>d(!a.value))}),{icon:At(()=>[it(ye(Gi),{icon:a.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):c.value==="number"||l.value==="bigint"?(Ve(),Xe(ur,{key:2},[it(ye(Gn),vo(u,{class:h.value,onClick:v[3]||(v[3]=ya(C=>g(a.value,1),["stop"]))}),{icon:At(()=>[it(ye(Gi),{icon:"i-carbon-add"})]),_:1},16,["class"]),it(ye(Gn),vo(u,{class:h.value,onClick:v[4]||(v[4]=ya(C=>g(a.value,-1),["stop"]))}),{icon:At(()=>[it(ye(Gi),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):Rt("",!0)],64)):Rt("",!0),!e.disableEdit&&f.depth>0&&f.data.editable?(Ve(),Nt(ye(Gn),vo({key:1},u,{class:h.value,onClick:v[5]||(v[5]=ya(C=>d(a.value,!0),["stop"]))}),{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):Rt("",!0),it(ye(z2),{class:Ar({"opacity-0":!f.hovering&&!s.value}),"button-props":{flat:!0,size:"mini"},disabled:!ye(i),"onUpdate:visible":v[8]||(v[8]=C=>s.value=C)},{popper:At(()=>[Pe("div",vPe,[it(ye(iH),{onClick:v[6]||(v[6]=C=>ye(r)(typeof a.value=="object"?JSON.stringify(a.value):a.value.toString()))},{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[9]||(v[9]=Cr(" Copy Value "))]),_:1}),it(ye(iH),{onClick:v[7]||(v[7]=()=>{ye(r)(f.data.key)})},{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[10]||(v[10]=Cr(" Copy Path "))]),_:1})])]),"button-icon":At(()=>[it(ye(Gi),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),CPe={class:"flex-inline items-center gap4px"},U7=Ft({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(n,{emit:e}){const t=n,r=e,i=ot(()=>t.customType==="date"?"datetime-local":""),{escape:s,enter:o}=dPe();Ao(()=>{s.value?r("cancel"):o.value&&r("submit")});const a=fPe(t,"modelValue",r);function l(u){try{return n4(u,t.customType),!0}catch{return!1}}const c=Ct(!1);return Fr(a,b1(()=>{c.value=!l(a.value)},300)),(u,h)=>(Ve(),Xe("span",CPe,[it(ye(ll),{modelValue:ye(a),"onUpdate:modelValue":h[0]||(h[0]=d=>fn(a)?a.value=d:null),type:i.value,variant:c.value?"warning":"normal",class:Ar(["h25px px4px",u.customType==="date"?"w240px":"w120px"]),"auto-focus":u.autoFocus,onClick:h[1]||(h[1]=ya(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),u.showActions?(Ve(),Xe(ur,{key:0},[Kn((Ve(),Nt(ye(Gn),{size:"mini",flat:"",class:"p2px!",onClick:h[2]||(h[2]=ya(d=>u.$emit("cancel"),["stop"]))},{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-cancel"})]),_:1})),[[ye(Ni),{content:"Esc to cancel"}]]),c.value?Kn((Ve(),Nt(ye(Gi),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[ye(Ni),{content:"Invalid value"}]]):Kn((Ve(),Nt(ye(Gn),{key:0,size:"mini",flat:"",class:"p2px!",onClick:h[3]||(h[3]=ya(d=>u.$emit("submit"),["stop"]))},{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-save"})]),_:1})),[[ye(Ni),{content:"Enter to submit change"}]])],64)):Rt("",!0)]))}}),APe={key:1,pl5:""},IPe={"whitespace-nowrap":"","text-purple-700":"",op70:"","dark:text-purple-300":""},yPe=["innerHTML"],bPe={key:0},EPe={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},HH=30,wPe=Ft({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(n){const e=n,t=Ct(HH),r=ot(()=>$J(e.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),i=ot(()=>sC(e.data.value)),s=ot(()=>QO(e.data.value)),{expanded:o,toggleExpanded:a}=WM(e.expandedStateId??""),l=ot(()=>{var H;return i.value==="custom"?`${((H=e.data.value._custom)==null?void 0:H.type)??"string"}-custom-state`:"unknown-state-type"}),c=ot(()=>{const{value:H}=s.value;return _D(H)?H.length:xD(H)?Object.keys(H).length:0}),u=ot(()=>e.data.path||[e.data.key]),h=ot(()=>u.value[u.value.length-1]),d=ot(()=>{var H,N,W,D,R,Y,ie;const de=["Reactive"],xe=((N=(H=e.data.value)==null?void 0:H._custom)==null?void 0:N.stateTypeName)||((W=e.data)==null?void 0:W.stateTypeName);if(de.includes(xe))return xe;if((R=(D=e.data.value)==null?void 0:D.fields)!=null&&R.abstract)return"";{const X=(ie=(Y=e.data.value)==null?void 0:Y._custom)==null?void 0:ie.type,Q=i.value==="custom"&&!X?`"${r.value}"`:r.value===""?'""':r.value,he=i.value==="custom"&&X==="ref"?sC(Q):i.value,me=i.value==="string"?"select-text":"",_e=`${Q}`;return xe?`${_e} (${xe})`:_e}}),g=ot(()=>{const{value:H,inherit:N,customType:W}=s.value,D=W==="set";let R=[];return _D(H)?H.slice(0,t.value).map((Y,ie)=>({key:ie.toString(),path:[...u.value,ie.toString()],value:Y,...N,editable:e.data.editable&&!D,creating:!1})):(xD(H)&&(R=Object.keys(H).slice(0,t.value).map(Y=>({key:Y,path:[...u.value,Y],value:H[Y],...N,editable:e.data.editable&&!D,creating:!1})),i.value!=="custom"&&(R=aZ(R))),R===e.data.value?[]:R)}),f=ot(()=>g.value.length>0),v=Ct(),C=UM(),{isHovering:A}=pPe(()=>v.value),{editingType:b,editing:m,editingText:E,toggleEditing:I,nodeId:S}=K_e();Fr(()=>m.value,H=>{if(H){const{value:N}=s.value;E.value=WAe(N,s.value.customType)}else E.value=""});async function T(){const H=e.data;await Gt.value.editInspectorState({path:u.value,inspectorId:C.value.inspectorId,type:H.stateType,nodeId:S.value,state:{newKey:null,type:b.value,value:n4(E.value,s.value.customType)}}),await Gt.value.sendInspectorState(C.value.inspectorId),I()}const{addNewProp:P,draftingNewProp:_,resetDrafting:$}=Y_e();function B(H){const N=`${e.depth}-${e.index}`;o.value.includes(N)||a(N),P(H,s.value.value)}async function U(){const H=e.data;await Gt.value.editInspectorState({path:[...u.value,_.value.key],inspectorId:C.value.inspectorId,type:H.stateType,nodeId:S.value,state:{newKey:_.value.key,type:typeof n4(_.value.value),value:n4(_.value.value)}}),await Gt.value.sendInspectorState(C.value.inspectorId),$()}return(H,N)=>(Ve(),Xe("div",null,[Pe("div",{ref_key:"containerRef",ref:v,class:Ar(["font-state-field flex items-center text-3.5",[f.value&&"cursor-pointer hover:bg-active"]]),style:Ys({paddingLeft:`${H.depth*15+4}px`}),onClick:N[1]||(N[1]=W=>ye(a)(`${H.depth}-${H.index}`))},[f.value?(Ve(),Nt(FM,{key:0,value:ye(o).includes(`${H.depth}-${H.index}`)},null,8,["value"])):(Ve(),Xe("span",APe)),Pe("span",IPe,gr(h.value),1),N[5]||(N[5]=Pe("span",{mx1:""},":",-1)),ye(m)?(Ve(),Nt(U7,{key:2,modelValue:ye(E),"onUpdate:modelValue":N[0]||(N[0]=W=>fn(E)?E.value=W:null),class:"mr-1","custom-type":s.value.customType,onCancel:ye(I),onSubmit:T},null,8,["modelValue","custom-type","onCancel"])):Rt("",!0),Pe("span",{class:Ar([l.value,"flex whitespace-nowrap dark:text-#bdc6cf"])},[Pe("span",{class:"flex",innerHTML:d.value},null,8,yPe)],2),it(mPe,{hovering:ye(A),"disable-edit":ye(C).disableEdit||ye(m),data:H.data,depth:H.depth,onEnableEditInput:ye(I),onAddNewProp:B},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),f.value&&ye(o).includes(`${H.depth}-${H.index}`)?(Ve(),Xe("div",bPe,[it(ene,{data:g.value,depth:H.depth,index:H.index},null,8,["data","depth","index"]),c.value>t.value?Kn((Ve(),Nt(ye(Gn),{key:0,flat:"",size:"mini",class:"ml-4",onClick:N[2]||(N[2]=W=>t.value+=HH)},{icon:At(()=>[it(ye(Gi),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[ye(Ni),"Show more"]]):Rt("",!0),ye(_).enable?(Ve(),Xe("div",{key:1,style:Ys({paddingLeft:`${(H.depth+1)*15+4}px`})},[Pe("span",EPe,[it(U7,{modelValue:ye(_).key,"onUpdate:modelValue":N[3]||(N[3]=W=>ye(_).key=W),"show-actions":!1},null,8,["modelValue"])]),N[6]||(N[6]=Pe("span",{"mx-1":""},":",-1)),it(U7,{modelValue:ye(_).value,"onUpdate:modelValue":N[4]||(N[4]=W=>ye(_).value=W),"auto-focus":!1,onCancel:ye($),onSubmit:U},null,8,["modelValue","onCancel"])],4)):Rt("",!0)])):Rt("",!0)]))}}),SPe=fd(wPe,[["__scopeId","data-v-7918b8f2"]]),ene=Ft({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(n){return(e,t)=>(Ve(),Xe("div",null,[(Ve(!0),Xe(ur,null,Yn(e.data,(r,i)=>(Ve(),Xe("div",{key:i},[it(SPe,{data:r,depth:e.depth+1,index:`${e.index}-${i}`,"expanded-state-id":e.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),TPe=["onClick"],xPe={key:1,pl5:""},_Pe={"font-state-field":"","text-3.5":"","text-hex-a3a3a3":""},PPe={key:0},gA=Ft({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1},expandedStateId:{default:""}},setup(n){const e=n;function t(){return{nodeId:e.nodeId,inspectorId:e.inspectorId,disableEdit:e.disableEdit}}const{context:r}=G_e(t());Ao(()=>{r.value=t()});const{expanded:i,toggleExpanded:s}=WM(e.expandedStateId);return(o,a)=>(Ve(),Xe("div",null,[(Ve(!0),Xe(ur,null,Yn(o.data,(l,c,u)=>(Ve(),Xe("div",{key:u},[Pe("div",{class:Ar(["flex items-center",[l?.length&&"cursor-pointer hover:bg-active"]]),onClick:h=>ye(s)(`${u}`)},[l!=null&&l.length?(Ve(),Nt(FM,{key:0,value:ye(i).includes(`${u}`)},null,8,["value"])):(Ve(),Xe("span",xPe)),Pe("span",_Pe,gr(c),1)],10,TPe),l!=null&&l.length&&ye(i).includes(`${u}`)?(Ve(),Xe("div",PPe,[it(ene,{data:l,index:`${u}`,"expanded-state-id":o.expandedStateId},null,8,["data","index","expanded-state-id"])])):Rt("",!0)]))),128))]))}}),OPe={class:"p3"},MPe=["onClick"],kPe={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},$Pe={class:"h-full flex items-center truncate pl5"},LPe={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},NPe={pl2:"",op30:""},DPe=Ft({__name:"EventList",props:Yh({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const e=n,t=nA(n,"modelValue"),r=["#3e5770","#42b983","#0098c4"],i=Ct(null),s=ot(()=>{let o=-1,a=0;return e.data.forEach((l,c)=>{(l.groupId!==a||o===-1)&&(o=(o+1)%r.length),a=l.groupId??a,l.id=c,l.color=r[o]}),e.data});return Fr(()=>s.value.length,o=>{var a;(a=i.value)==null||a.scrollToItem(o-1)},{flush:"post"}),(o,a)=>(Ve(),Xe("div",OPe,[it(ye(MM),{ref_key:"scrollerRef",ref:i,items:s.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:At(({item:l})=>[Pe("div",{class:"relative mb7 h6 cursor-pointer",style:Ys({color:t.value===l.id?l.color:""}),onClick:c=>t.value=l.id},[Pe("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:Ys({border:`3px solid ${l.color}`})},null,4),l.id{var b;return(b=a.timelineLayersState.value)==null?void 0:b[t.pluginId]}),c=ot(()=>i.value[o.value]??null),u=ot(()=>l.value?"Stop recording":"Start recording"),h=ot(()=>{var b;const m=[];for(const E in(b=c.value)==null?void 0:b.data)m.push({key:E,type:E,editable:!1,value:c.value.data[E]});return m}),d=ot(()=>{var b,m,E;const I=(b=c.value)==null?void 0:b.groupId,S=s.value.get(I);if(S){const T=((m=S[S.length-1])==null?void 0:m.time)-(((E=S[0])==null?void 0:E.time)??0);return[{key:"events",type:"events",editable:!1,value:S.length},T&&{key:"duration",type:"duration",editable:!1,value:`${T}ms`}].filter(Boolean)}}),g=ot(()=>({"Event Info":h.value,...d.value&&{"Group Info":d.value}}));function f(b){var m;const E=b.groupId;E!==void 0&&(s.value.set(E,s.value.get(E)??[]),(m=s.value.get(E))==null||m.push(b))}function v(b){const m=Lo(b);if(!m)return;const{layerId:E,event:I}=m;t.layerIds.includes(E)&&(i.value.push(I),f(I))}Gt.functions.on(Hi.TIMELINE_EVENT_UPDATED,v),wo(()=>{Gt.functions.off(Hi.TIMELINE_EVENT_UPDATED,v)});function C(){i.value=[],s.value.clear()}e({clear:C});function A(){Gt.value.updateTimelineLayersState({[t.pluginId]:!l.value})}return(b,m)=>(Ve(),Xe("div",zPe,[b.headerVisible?(Ve(),Nt(b0,{key:0,"doc-link":b.docLink,"github-repo-link":b.githubRepoLink},{default:At(()=>[it(E0)]),_:1},8,["doc-link","github-repo-link"])):Rt("",!0),i.value.length?(Ve(),Xe("div",RPe,[it(ye(dd),{class:"h-full"},{default:At(()=>[it(ye(Yo),{border:"r base",size:"40","h-full":""},{default:At(()=>[Pe("div",VPe,[it(DPe,{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=E=>o.value=E),data:i.value},null,8,["modelValue","data"])])]),_:1}),it(ye(Yo),{size:"60"},{default:At(()=>[Pe("div",HPe,[it(gA,{class:"p3",data:g.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(Ve(),Nt(d2,{key:2,class:"flex-1"},{default:At(()=>m[1]||(m[1]=[Cr(" No events ")])),_:1})),b.switcherVisible?(Ve(),Xe("div",BPe,[Pe("div",jPe,[Kn((Ve(),Xe("div",{class:"flex items-center gap1",onClick:A},[l.value?(Ve(),Xe("span",FPe)):(Ve(),Xe("span",UPe))])),[[ye(Ni),{content:u.value},void 0,{"bottom-end":!0}]]),Kn((Ve(),Xe("div",{class:"flex items-center gap1",onClick:C},[it(ye(Bf),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[ye(Ni),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),Kn((Ve(),Xe("div",WPe,[it(ye(Bf),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[ye(Ni),{content:"

Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand.

",html:!0},void 0,{"bottom-end":!0}]])])])):Rt("",!0)]))}}),v9=fd(GPe,[["__scopeId","data-v-3dbcfd2a"]]);function tne(){const n=Ct([]),e=Ct([]);function t(i){e.value=i,i.length{r(s)})}a1(()=>{Gt.value.getCustomInspector().then(i=>{e.value=i,e.value.forEach(s=>{r(s)})}),Gt.functions.on(Hi.INSPECTOR_UPDATED,t)});function r(i){n.value.some(s=>s.id===i.id)||n.value.push(i)}return wo(()=>{Gt.functions.off(Hi.INSPECTOR_UPDATED,t)}),{registeredInspector:n,register:r}}const rne=Symbol("SelectedSymbolKey");function KPe(){const n=Ct("");return io(rne,n),{selected:n}}function qPe(){const n=Li(rne,Ct(""));function e(t){n.value=t}return{selected:n,select:e}}const YPe=["onClick","onDblclick","onMouseover"],XPe={key:1,pl5:""},ZPe={"font-state-field":"","text-3.5":""},QPe={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},JPe={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},eOe={key:2,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},tOe={key:2,class:"ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"},rOe={key:3,class:"ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"},nOe={key:0},vA=Ft({__name:"TreeViewer",props:Yh({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:Yh(["hover","leave"],["update:modelValue"]),setup(n,{emit:e}){const t=e,r=nA(n,"modelValue"),{expanded:i,toggleExpanded:s}=WM();qPe();function o(l){return"name"in l&&l?.name||"label"in l&&l.label}function a(l){r.value=l}return(l,c)=>(Ve(!0),Xe(ur,null,Yn(l.data,(u,h)=>{var d,g;return Ve(),Xe("div",{key:h,class:Ar({"min-w-max":l.depth===0})},[Pe("div",{class:Ar(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600",{"bg-primary-600! active":r.value===u.id}]),style:Ys({paddingLeft:`${15*l.depth+4}px`}),onClick:f=>a(u.id),onDblclick:f=>ye(s)(u.id),onMouseover:()=>t("hover",u.id),onMouseleave:c[0]||(c[0]=()=>t("leave"))},[(d=u?.children)!=null&&d.length?(Ve(),Nt(FM,{key:0,value:ye(i).includes(u.id),class:"[.active_&]:op20 group-hover:op20",onClick:ya(f=>ye(s)(u.id),["stop"])},null,8,["value","onClick"])):(Ve(),Xe("span",XPe)),Pe("span",ZPe,[l.withTag?(Ve(),Xe("span",QPe,"<")):Rt("",!0),Pe("span",JPe,gr(o(u)),1),(u.renderKey===0||u.renderKey)&&u.renderKey!==ye(v0)?(Ve(),Xe("span",{key:1,class:Ar(["text-xs opacity-50",{"opacity-100":r.value===u.id}])},[Pe("span",{class:Ar([r.value===u.id?"text-purple-200":"text-purple-500"])}," key",2),c[4]||(c[4]=Cr("=")),Pe("span",null,gr(u.renderKey),1)],2)):Rt("",!0),l.withTag?(Ve(),Xe("span",eOe,">")):Rt("",!0)]),u.isFragment?Kn((Ve(),Xe("span",tOe,c[5]||(c[5]=[Cr(" fragment ")]))),[[ye(Ni),"Has multiple root DOM nodes"]]):Rt("",!0),u.inactive?Kn((Ve(),Xe("span",rOe,c[6]||(c[6]=[Cr(" inactive ")]))),[[ye(Ni),"Currently inactive but not destroyed"]]):Rt("",!0),(Ve(!0),Xe(ur,null,Yn(u.tags,(f,v)=>(Ve(),Nt(Fre,{key:v,tag:f},null,8,["tag"]))),128))],46,YPe),(g=u?.children)!=null&&g.length&&ye(i).includes(u.id)?(Ve(),Xe("div",nOe,[it(vA,{modelValue:r.value,"onUpdate:modelValue":c[1]||(c[1]=f=>r.value=f),data:u?.children,depth:l.depth+1,"with-tag":l.withTag,onHover:c[2]||(c[2]=f=>t("hover",f)),onLeave:c[3]||(c[3]=f=>t("leave"))},null,8,["modelValue","data","depth","with-tag"])])):Rt("",!0)],2)}),128))}}),BH=200;function iOe(){const n=RH(t=>Gt.value.highlighComponent(t),BH),e=RH(()=>Gt.value.unhighlight(),BH);return{highlight:n,unhighlight:e}}const sOe={class:"absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-#121212"},oOe={class:"flex-1 overflow-scroll text-3.5"},aOe=Ft({__name:"RenderCode",props:{code:{}},emits:["close"],setup(n,{emit:e}){const t=e;function r(){t("close")}return(i,s)=>(Ve(),Xe("div",sOe,[Pe("div",{class:"h-12 w-full flex items-center justify-between p-2"},[s[0]||(s[0]=Pe("span",{class:"font-500"},"Render Code",-1)),Pe("i",{class:"i-carbon-close cursor-pointer hover:op80",onClick:r})]),Pe("div",oOe,[it(ye(xM),{code:i.code,lang:"javascript"},null,8,["code"])])]))}}),lOe={class:"h-full w-full"},cOe={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},uOe={key:0,class:"h-full flex flex-col p2"},hOe={class:"flex py2"},dOe={xmlns:"http://www.w3.org/2000/svg",style:{height:"1.1em",width:"1.1em"},class:"op-80 hover:op-100",viewBox:"0 0 24 24"},fOe={class:"h-full flex flex-col p2"},pOe={class:"flex py2"},gOe={key:0,class:"font-state-field flex items-center px-1 text-3.5"},vOe={"group-hover:text-white":"",class:"max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"},mOe={class:"flex items-center gap-2 px-1"},COe={class:"h-full flex flex-col items-center justify-center gap-2"},AOe={class:"block"},IOe={xmlns:"http://www.w3.org/2000/svg",style:{height:"2em",width:"2em",opacity:"0.5",color:"#00dc82"},class:"animate-fade",viewBox:"0 0 24 24"},yOe={class:"flex items-center justify-center"},Rv="components",bOe=Ft({__name:"index",emits:["openInEditor","onInspectComponentStart","onInspectComponentEnd"],setup(n,{emit:e}){const t=e,r=Ct(),i=Ct(!1),{width:s}=uPe(r),o=ot(()=>i.value?s.value<700:!1),a=Ct(""),l=Ct(""),[c,u]=Zre(!0),h=Ct(!1),d=Ct(!1),g=Ct(""),f=Ct(!1),v=iOe();function C(ge,Te=[],ae=[]){var L;return Te.push(ge.id),((L=ge.children)==null?void 0:L.length)===0&&ae.push([...Te]),Array.isArray(ge.children)&&ge.children.forEach(F=>{C(F,Te,ae)}),Te.pop(),ae}function A(ge){const Te=[],ae=L=>{L?.forEach(F=>{var re;Te.push(F),(re=F.children)!=null&&re.length&&ae(F.children)})};return ae(ge),Te}function b(ge,Te){const ae=[];return ge?.forEach(L=>{ae.push(...L.slice(0,Te+1))}),[...new Set(ae)]}function m(ge,Te){const ae=[];return ge.forEach(L=>{const F=L.indexOf(Te);F!==-1&&ae.push(...L.slice(0,F+1))}),[...new Set(ae)]}const E=Ct([]),I=ot(()=>{var ge,Te;return(ge=E.value)!=null&&ge.length?C((Te=E.value)==null?void 0:Te[0]):[]}),S=ot(()=>A(E.value)),T=ot(()=>S.value.map(ge=>ge.id)),P=Ct({}),_=Ct(""),$=ot(()=>{const ge=[],Te=ae=>{ae.forEach(L=>{var F;L.id===_.value&&ge.push(L),(F=L.children)!=null&&F.length&&Te(L.children)})};return Te(E.value),ge[0]}),B=ot(()=>{var ge;return((ge=$.value)==null?void 0:ge.file)??""}),U=ot(()=>HM({state:P.value,filterKey:l.value,processGroup(ge){return uxe(Object.values(O_e(aZ(ge),"stateType")))}})),{expanded:H}=T1(),{expanded:N}=T1("component-state");KPe();async function W(ge=""){return Gt.value.getInspectorTree({inspectorId:Rv,filter:ge}).then(Te=>{var ae,L;const F=Lo(Te);E.value=F,_.value=(L=(ae=E.value)==null?void 0:ae[0])==null?void 0:L.id,H.value=b(I.value,1),h.value=!0})}function D(ge){if(!ge||!(ge!=null&&ge.state))return{};const Te={};return ge.state.forEach(ae=>{Te[ae.type]||(Te[ae.type]=[]),Te[ae.type].push(ae)}),Te}function R(ge){Gt.value.getInspectorState({inspectorId:Rv,nodeId:ge}).then(Te=>{const ae=Lo(Te);ae&&(P.value=D(ae),N.value=Array.from({length:Object.keys(P.value).length},(L,F)=>`${F}`))})}Fr(_,ge=>{R(ge),f.value&&K()});function Y(ge){const Te=Lo(ge);Te.inspectorId!==Rv||Te.nodeId!==_.value||(P.value=D({state:Te.state.state}))}Gt.functions.on(Hi.INSPECTOR_STATE_UPDATED,Y),W();function ie(ge){const Te=ge.trim().toLowerCase();u(),W(Te).then(()=>{u()})}Qre(a,ge=>{ie(ge)},{debounce:300});function de(ge){var Te,ae;const L=Lo(ge);L.inspectorId===Rv&&(a.value?ie(a.value):E.value=L.rootNodes,T.value.includes(_.value)||(_.value=(ae=(Te=E.value)==null?void 0:Te[0])==null?void 0:ae.id,H.value=b(I.value,1)))}Gt.functions.on(Hi.INSPECTOR_TREE_UPDATED,de),wo(()=>{Gt.functions.off(Hi.INSPECTOR_STATE_UPDATED,Y),Gt.functions.off(Hi.INSPECTOR_TREE_UPDATED,de)});const xe=Nl(),X=ot(()=>xe.appRecords.value.map(ge=>({label:ge.name+(ge.version?` (${ge.version})`:""),value:ge.id}))),Q=ot(()=>X.value.map(ge=>({label:ge.label,id:ge.value}))),he=Ct(xe.activeAppRecordId.value);Ao(()=>{he.value=xe.activeAppRecordId.value});async function me(ge,Te={}){await Gt.value.toggleApp(ge,Te),_.value="",await W()}async function _e(){d.value=!0,t("onInspectComponentStart");try{const ge=JSON.parse(await Gt.value.inspectComponentInspector()),Te=ge.id.split(":")[0];he.value!==ge.appId&&await me(Te,{inspectingComponent:!0}),_.value=ge.id,H.value.includes(ge.id)||H.value.push(ge.id),H.value=[...new Set([...H.value,...m(I.value,ge.id)])],te()}finally{d.value=!1,t("onInspectComponentEnd")}}function fe(){d.value=!1,Gt.value.cancelInspectComponentInspector()}s1("keydown",ge=>{ge.key==="s"&&(ge.ctrlKey||ge.metaKey)&&!d.value?_e():ge.key==="Escape"&&d.value&&fe()});function oe(){Gt.value.scrollToComponent(_.value)}function J(){Gt.value.inspectDOM(_.value).then(()=>{chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)")})}function K(){Gt.value.getComponentRenderCode(_.value).then(ge=>{g.value=ge,f.value=!0})}function q(){t("openInEditor",B.value)}const ue=Ct();function te(){setTimeout(()=>{var ge;const Te=(ge=ue.value)==null?void 0:ge.querySelector(".active");Te?.scrollIntoView({behavior:"smooth",block:"center"})},300)}function ce(){g.value="",f.value=!1}return(ge,Te)=>(Ve(),Xe("div",lOe,[it(ye(dd),{ref_key:"splitpanesRef",ref:r,class:"flex-1 overflow-auto",horizontal:o.value,onReady:Te[4]||(Te[4]=ae=>i.value=!0)},{default:At(()=>[X.value.length>1?(Ve(),Nt(ye(Yo),{key:0,border:"base h-full",size:"20"},{default:At(()=>[Pe("div",cOe,[it(Ure,{modelValue:he.value,"onUpdate:modelValue":Te[0]||(Te[0]=ae=>he.value=ae),data:Q.value,class:"w-full",onSelect:me},null,8,["modelValue","data"])])]),_:1})):Rt("",!0),it(ye(Yo),{border:"base","h-full":""},{default:At(()=>[h.value?(Ve(),Xe("div",uOe,[Pe("div",hOe,[it(ye(ll),{modelValue:a.value,"onUpdate:modelValue":Te[1]||(Te[1]=ae=>a.value=ae),"loading-debounce-time":250,loading:!ye(c),placeholder:"Find components...",class:"flex-1 text-3.5"},null,8,["modelValue","loading"]),ye(iZ)?Rt("",!0):Kn((Ve(),Xe("button",{key:0,"px-1":"",class:"hover:color-#00dc82",onClick:_e},[(Ve(),Xe("svg",dOe,Te[6]||(Te[6]=[Pe("path",{fill:"currentColor",d:"M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"},null,-1)])))])),[[ye(Ni),"Select component in the page",void 0,{bottom:!0}]])]),Pe("div",{ref_key:"componentTreeContainer",ref:ue,class:"no-scrollbar flex-1 select-none overflow-scroll"},[it(vA,{modelValue:_.value,"onUpdate:modelValue":Te[2]||(Te[2]=ae=>_.value=ae),data:E.value,"with-tag":!0,onHover:ye(v).highlight,onLeave:ye(v).unhighlight},null,8,["modelValue","data","onHover","onLeave"])],512)])):Rt("",!0)]),_:1}),it(ye(Yo),{relative:"","h-full":""},{default:At(()=>{var ae;return[Pe("div",fOe,[Pe("div",pOe,[(ae=$.value)!=null&&ae.name?(Ve(),Xe("span",gOe,[Te[7]||(Te[7]=Pe("span",{class:"text-gray-400 dark:text-gray-600"},"<",-1)),Pe("span",vOe,gr($.value.name),1),Te[8]||(Te[8]=Pe("span",{class:"text-gray-400 dark:text-gray-600"},">",-1))])):Rt("",!0),it(ye(ll),{modelValue:l.value,"onUpdate:modelValue":Te[3]||(Te[3]=L=>l.value=L),"loading-debounce-time":250,placeholder:"Filter State...",class:"flex-1 text-3.5"},null,8,["modelValue"]),Pe("div",mOe,[Kn(Pe("i",{class:"i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",onClick:oe},null,512),[[ye(Ni),"Scroll to component",void 0,{bottom:!0}]]),Kn(Pe("i",{class:"i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",onClick:K},null,512),[[ye(Ni),"Show render code",void 0,{bottom:!0}]]),ye(wu)?Kn((Ve(),Xe("i",{key:0,class:"i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",onClick:J},null,512)),[[ye(Ni),"Inspect DOM",void 0,{bottom:!0}]]):Rt("",!0),B.value?Kn((Ve(),Xe("i",{key:1,class:"i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",onClick:q},null,512)),[[ye(Ni),"Open in Editor",void 0,{bottom:!0}]]):Rt("",!0)])]),it(gA,{class:"no-scrollbar flex-1 overflow-scroll",data:U.value,"node-id":_.value,"inspector-id":Rv,"expanded-state-id":"component-state"},null,8,["data","node-id"])]),f.value&&g.value?(Ve(),Nt(aOe,{key:0,code:g.value,onClose:ce},null,8,["code"])):Rt("",!0)]}),_:1})]),_:1},8,["horizontal"]),ye(wu)?(Ve(),Nt(ye(sre),{key:0,modelValue:d.value,"onUpdate:modelValue":Te[5]||(Te[5]=ae=>d.value=ae),title:"",height:"12rem",closable:!1},{footer:At(()=>[Pe("div",yOe,[it(ye(Gn),{onClick:fe},{default:At(()=>Te[11]||(Te[11]=[Cr(" Cancel ")])),_:1})])]),default:At(()=>[Pe("div",COe,[Pe("span",AOe,[(Ve(),Xe("svg",IOe,Te[9]||(Te[9]=[Pe("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[Pe("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),Pe("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1)])))]),Te[10]||(Te[10]=Pe("p",null," Click on a component on the page to select it ",-1))])]),_:1},8,["modelValue"])):Rt("",!0)]))}}),EOe=fd(bOe,[["__scopeId","data-v-7f4a452a"]]),wOe={},SOe={class:"h-screen w-screen $ui-fcc flex-col"};function TOe(n,e){return Ve(),Xe("div",SOe,[e[0]||(e[0]=Pe("div",{class:"outer"},[Pe("div",{class:"inner"},[Pe("i",{class:"i-logos-vue inline-block h8! w8!",alt:"Vue logo"})])],-1)),pn(n.$slots,"default",{},void 0,!0)])}const xOe=fd(wOe,[["render",TOe],["__scopeId","data-v-b8018f07"]]),nne=Symbol.for("VueDevToolsCustomInspectorStateSymbol");function ed(){return Li(nne)}function YM(){const n=Ct({homepage:"",id:"",label:"",logo:"",timelineLayerIds:[]});return io(nne,n),n}const _Oe={},POe={width:"175",height:"34",viewBox:"0 0 175 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function OOe(n,e){return Ve(),Xe("svg",POe,e[0]||(e[0]=[Pe("path",{fill:"currentColor",d:"M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"},null,-1)]))}const MOe=fd(_Oe,[["render",OOe]]),kOe={"h-full":"","w-full":"",flex:"","items-center":""},$Oe={flex:"~ col gap2",ma:"","px-5":""},LOe={flex:"~ col","mt-20":"","items-center":""},NOe={flex:"~","mt--10":"","items-center":"","justify-center":""},DOe={class:"mr-1"},zOe={key:0,class:"inline-block w20"},ROe=["src","alt"],VOe={key:1,class:"mr2 inline-block min-w-20 text-center text-10 font-600"},HOe={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},BOe={op40:""},jOe={flex:"~ gap2 wrap"},FOe={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},UOe=["href"],WOe=Ft({__name:"About",setup(n){const e=pA(),t=ed(),r=Ct(!1),i=Ct(!1);function s(){r.value=!0}function o(){r.value=!0,i.value=!0}return(a,l)=>{var c;return Ve(),Xe("div",kOe,[Pe("div",$Oe,[l[5]||(l[5]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",LOe,[Pe("div",NOe,[Pe("span",DOe,[r.value?Rt("",!0):(Ve(),Xe("span",zOe)),Kn(Pe("img",{src:ye(t).logo,alt:`${ye(t).label} Logo`,class:"inline-block h16",onError:o,onLoad:s},null,40,ROe),[[LO,r.value&&!i.value]]),i.value?(Ve(),Xe("span",VOe,gr(ye(t).label),1)):Rt("",!0)]),Pe("span",null,[it(MOe,{"h-18":""})])]),Pe("div",HOe,[Pe("span",BOe,gr(ye(t).label)+" DevTools ",1)])]),l[6]||(l[6]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",jOe,[Pe("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:l[0]||(l[0]=u=>ye(e).push("/state"))},l[2]||(l[2]=[Pe("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pe("code",null,"State",-1)])),(c=ye(t).timelineLayerIds)!=null&&c.length?(Ve(),Xe("div",{key:0,flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:l[1]||(l[1]=u=>ye(e).push("/timeline"))},l[3]||(l[3]=[Pe("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Pe("div",null,"Timeline",-1)]))):Rt("",!0)]),Pe("div",FOe,[Pe("a",{href:ye(t).homepage,target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},l[4]||(l[4]=[Pe("div",{"i-carbon-document":""},null,-1),Cr(" View Documentation ")]),8,UOe)]),l[7]||(l[7]=Pe("div",{"flex-auto":""},null,-1))])])}}}),GOe={class:"flex-1 overflow-y-auto p2"},KOe={class:"max-w-[190px] flex-1 select-none py-1.5 text-sm"},qOe={class:"w-4/5"},YOe={key:0,class:"flex justify-start"},XOe={key:1},ine=Ft({__name:"Settings",props:{pluginId:{},options:{},values:{}},emits:["update"],setup(n,{emit:e}){const t=n,r=e,i=ot(()=>t.options),s=ot(()=>t.values);function o(a,l){Gt.value.updatePluginSettings(t.pluginId,a,l),Gt.value.getPluginSettings(t.pluginId).then(c=>{r("update",c)})}return(a,l)=>(Ve(),Xe("div",GOe,[Pe("ul",null,[(Ve(!0),Xe(ur,null,Yn(i.value,(c,u)=>(Ve(),Xe("li",{key:u,class:"flex items-center py-2"},[Pe("div",KOe,gr(c.label),1),Pe("div",qOe,[c.type==="boolean"?(Ve(),Xe("div",YOe,[it(ye(kx),{"model-value":s.value[u],class:"row-reverse flex hover:bg-active py1 pl2 pr1","onUpdate:modelValue":h=>o(u,h)},null,8,["model-value","onUpdate:modelValue"])])):c.type==="choice"?(Ve(),Xe("div",XOe,[it(ye(bC),{"model-value":s.value[u],options:c.options,"onUpdate:modelValue":h=>o(u,h)},null,8,["model-value","options","onUpdate:modelValue"])])):c.type==="text"?(Ve(),Nt(ye(ll),{key:2,"model-value":s.value[u],"onUpdate:modelValue":h=>o(u,h)},null,8,["model-value","onUpdate:modelValue"])):Rt("",!0)])]))),128))])]))}}),ZOe={class:"h-full flex flex-col"},QOe=Ft({__name:"Settings",setup(n){const e=Li("pluginSettings"),t=ed(),r=ot(()=>e.value.options),i=ot(()=>e.value.values);function s(o){e.value=o}return(o,a)=>(Ve(),Xe("div",ZOe,[it(b0,{"doc-link":ye(t).homepage},{default:At(()=>[it(E0)]),_:1},8,["doc-link"]),it(ine,{"plugin-id":ye(t).pluginId,options:r.value,values:i.value,onUpdate:s},null,8,["plugin-id","options","values"])]))}}),JOe={class:"h-full flex flex-col"},eMe={class:"h-full flex flex-col p2"},tMe={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},rMe={key:0,class:"flex items-center gap-2 px-1"},nMe=["onClick"],iMe={key:0,class:"no-scrollbar flex-1 select-none overflow-scroll"},sMe={class:"h-full flex flex-col p2"},oMe={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},aMe={key:0,class:"flex items-center gap-2 px-1"},lMe=["onClick"],cMe=Ft({__name:"Index",setup(n){const{expanded:e}=T1(),{expanded:t}=T1("custom-inspector-state"),r=ed(),i=ot(()=>r.value.id),s=Ct([]),o=Ct([]),a=Ct([]),l=ot(()=>{var W,D;return(W=a.value)!=null&&W.length?b((D=a.value)==null?void 0:D[0]):[]}),c=ot(()=>E(a.value)),u=ot(()=>c.value.map(W=>W.id)),h=Ct(""),d=Ct({}),g=ot(()=>!Object.keys(d.value).length),f=ed(),v=Ct(""),C=Ct("");Fr(v,(W,D)=>{!W.trim().length&&!D.trim().length||U(W)});const A=ot(()=>HM({state:d.value,filterKey:C.value}));function b(W,D=[],R=[]){var Y;return D.push(W.id),((Y=W.children)==null?void 0:Y.length)===0&&R.push([...D]),Array.isArray(W.children)&&W.children.forEach(ie=>{b(ie,D,R)}),D.pop(),R}function m(W,D){const R=[];return W?.forEach(Y=>{R.push(...Y.slice(0,D+1))}),[...new Set(R)]}function E(W){const D=[],R=Y=>{Y?.forEach(ie=>{var de;D.push(ie),(de=ie.children)!=null&&de.length&&R(ie.children)})};return R(W),D}function I(){Gt.value.getInspectorNodeActions(i.value).then(W=>{s.value=W})}function S(){Gt.value.getInspectorActions(i.value).then(W=>{o.value=W})}I(),S();function T(W){Gt.value.callInspectorNodeAction(i.value,W,h.value)}function P(W){Gt.value.callInspectorAction(i.value,W)}function _(W){var D;for(const R in W)(D=W[R])!=null&&D.length||delete W[R];return W}function $(W){Gt.value.getInspectorState({inspectorId:i.value,nodeId:W}).then(D=>{const R=Lo(D);R&&(d.value=_(R),t.value=Array.from({length:Object.keys(d.value).length},(Y,ie)=>`${ie}`))})}function B(){d.value={}}Fr(h,()=>{B(),$(h.value)});function U(W=""){Gt.value.getInspectorTree({inspectorId:i.value,filter:W}).then(D=>{const R=Lo(D);a.value=R,!h.value&&R.length&&(h.value=R[0].id,e.value=m(l.value,1),$(R[0].id))})}Xre(i).toBeTruthy().then(()=>U());function H(W){var D,R;const Y=Lo(W);!Y.rootNodes.length||Y.inspectorId!==i.value||(a.value=Y.rootNodes,u.value.includes(h.value)||(h.value=(R=(D=a.value)==null?void 0:D[0])==null?void 0:R.id,e.value=m(l.value,1)))}function N(W){const D=Lo(W);if(D.inspectorId!==i.value||!D.state||D.nodeId!==h.value)return;const{inspectorId:R,...Y}=D.state;d.value=_(Y)}return a1(()=>{Gt.functions.on(Hi.INSPECTOR_TREE_UPDATED,H),Gt.functions.on(Hi.INSPECTOR_STATE_UPDATED,N)}),wo(()=>{Gt.functions.off(Hi.INSPECTOR_TREE_UPDATED,H),Gt.functions.off(Hi.INSPECTOR_STATE_UPDATED,N)}),(W,D)=>(Ve(),Xe("div",JOe,[it(b0,{"doc-link":ye(r).homepage},{default:At(()=>[it(E0)]),_:1},8,["doc-link"]),!a.value.length&&!v.value.trim().length?(Ve(),Nt(d2,{key:0},{default:At(()=>D[3]||(D[3]=[Cr(" No Data ")])),_:1})):(Ve(),Nt(ye(dd),{key:1,class:"flex-1 overflow-auto"},{default:At(()=>[it(ye(Yo),{border:"r base",size:"40","h-full":""},{default:At(()=>{var R;return[Pe("div",eMe,[Pe("div",tMe,[it(ye(ll),{modelValue:v.value,"onUpdate:modelValue":D[0]||(D[0]=Y=>v.value=Y),placeholder:ye(f).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),(R=o.value)!=null&&R.length?(Ve(),Xe("div",rMe,[(Ve(!0),Xe(ur,null,Yn(o.value,(Y,ie)=>Kn((Ve(),Xe("div",{key:ie,class:"flex items-center gap1",onClick:de=>P(ie)},[it(ye(Bf),{name:`baseline-${Y.icon.replace(/\_/g,"-")}`,"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,8,["name"])],8,nMe)),[[ye(Ni),{content:Y.tooltip},void 0,{"bottom-end":!0}]])),128))])):Rt("",!0)]),a.value.length?(Ve(),Xe("div",iMe,[it(vA,{modelValue:h.value,"onUpdate:modelValue":D[1]||(D[1]=Y=>h.value=Y),data:a.value},null,8,["modelValue","data"])])):(Ve(),Nt(d2,{key:1},{default:At(()=>D[4]||(D[4]=[Cr(" No Data ")])),_:1}))])]}),_:1}),it(ye(Yo),{size:"60"},{default:At(()=>{var R;return[Pe("div",sMe,[Pe("div",oMe,[it(ye(ll),{modelValue:C.value,"onUpdate:modelValue":D[2]||(D[2]=Y=>C.value=Y),placeholder:ye(f).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),(R=s.value)!=null&&R.length?(Ve(),Xe("div",aMe,[(Ve(!0),Xe(ur,null,Yn(s.value,(Y,ie)=>Kn((Ve(),Xe("div",{key:ie,class:"flex items-center gap1",onClick:de=>T(ie)},[it(ye(Bf),{name:`baseline-${Y.icon.replace(/\_/g,"-")}`,"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,8,["name"])],8,lMe)),[[ye(Ni),{content:Y.tooltip},void 0,{"bottom-end":!0}]])),128))])):Rt("",!0)]),h.value&&!g.value?(Ve(),Nt(gA,{key:0,data:A.value,"node-id":h.value,"inspector-id":i.value,"expanded-state-id":"custom-inspector-state",class:"no-scrollbar flex-1 overflow-scroll"},null,8,["data","node-id","inspector-id"])):(Ve(),Nt(d2,{key:1},{default:At(()=>D[5]||(D[5]=[Cr(" No Data ")])),_:1}))])]}),_:1})]),_:1}))]))}}),uMe=Ft({__name:"Index",setup(n){const e=ed();return(t,r)=>(Ve(),Nt(v9,{"layer-ids":ye(e).timelineLayerIds,"doc-link":ye(e).homepage,"plugin-id":ye(e).pluginId},null,8,["layer-ids","doc-link","plugin-id"]))}}),hMe={"h-full":"","w-full":""},dMe={key:0},sne=Ft({__name:"index",props:{id:{},pluginId:{}},emits:["loadError"],setup(n,{emit:e}){const t=n,r=e,i=YM(),s=Ct(!1),o=Ct(null);io("pluginSettings",o);const a=ot(()=>{var h;return[{path:"/state",name:"State",component:cMe,icon:"i-carbon-tree-view-alt"},((h=i.value.timelineLayerIds)==null?void 0:h.length)&&{path:"/timeline",name:"Timeline",component:uMe,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:WOe},o.value&&{path:"/settings",name:"Settings",component:QOe,icon:"i-mdi:cog-outline"}].filter(Boolean)}),{VirtualRouterView:l,restoreRouter:c}=jM(a,{defaultRoutePath:"/state"});function u(){s.value=!0,a1(()=>{Gt.value.getInspectorInfo(t.id).then(h=>{if(!h){r("loadError");return}const d={homepage:h?.homepage,id:h?.id,label:h?.label,logo:h?.logo,timelineLayerIds:h?.timelineLayers.map(g=>g.id),pluginId:t.pluginId,treeFilterPlaceholder:h.treeFilterPlaceholder,stateFilterPlaceholder:h.stateFilterPlaceholder};i.value=d,c(),s.value=!1}),Gt.value.getPluginSettings(t.pluginId).then(h=>{h.options?o.value=h:o.value=null})})}return Fr(()=>t.id,()=>{u()},{immediate:!0}),wo(()=>{Gt.value.unhighlight()}),(h,d)=>(Ve(),Xe("div",hMe,[s.value?(Ve(),Xe("div",dMe,[it(xOe)])):(Ve(),Nt(ye(l),{key:1}))]))}}),fMe={},pMe={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function gMe(n,e){return Ve(),Xe("svg",pMe,e[0]||(e[0]=[kO('',2)]))}const vMe=fd(fMe,[["render",gMe]]),mMe={"h-full":"","w-full":"",flex:"","items-center":""},CMe={flex:"~ col gap2",ma:"","px-5":""},AMe={flex:"~ col","mt-20":"","items-center":""},IMe={flex:"~","mt--10":"","items-center":"","justify-center":""},yMe={flex:"~ gap2 wrap"},bMe=Ft({__name:"About",setup(n){const e=pA();return(t,r)=>(Ve(),Xe("div",mMe,[Pe("div",CMe,[r[5]||(r[5]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",AMe,[Pe("div",IMe,[it(vMe,{"h-18":""})]),r[2]||(r[2]=Pe("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Pe("span",{op40:""}," Pinia DevTools ")],-1))]),r[6]||(r[6]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",yMe,[Pe("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[0]||(r[0]=i=>ye(e).push("/store"))},r[3]||(r[3]=[Pe("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pe("code",null,"Store",-1)])),Pe("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[1]||(r[1]=i=>ye(e).push("/timeline"))},r[4]||(r[4]=[Pe("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Pe("div",null,"Timeline",-1)]))]),r[7]||(r[7]=Pe("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Pe("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Pe("div",{"i-carbon-star":""}),Cr(" Star on GitHub ")]),Pe("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Pe("div",{"i-carbon-document":""}),Cr(" View Documentation ")])],-1)),r[8]||(r[8]=Pe("div",{"flex-auto":""},null,-1))])]))}}),EMe={class:"h-full flex flex-col"},wMe=Ft({__name:"Settings",setup(n){const e=Li("pluginSettings"),t=ot(()=>e.value.options),r=ot(()=>e.value.values);function i(s){e.value=s}return(s,o)=>(Ve(),Xe("div",EMe,[it(b0,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:At(()=>[it(E0)]),_:1}),it(ine,{"plugin-id":"dev.esm.pinia",options:t.value,values:r.value,onUpdate:i},null,8,["options","values"])]))}}),SMe="dev.esm.pinia",one="pinia",TMe={class:"h-full flex flex-col"},xMe={class:"h-full flex flex-col p2"},_Me={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},PMe={key:0,class:"flex items-center gap-2 px-1"},OMe=["onClick"],MMe={class:"no-scrollbar flex-1 select-none overflow-scroll"},kMe={class:"h-full flex flex-col p2"},$Me={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},LMe={key:0,class:"flex items-center gap-2 px-1"},NMe=["onClick"],DMe=Ft({__name:"Index",setup(n){const{expanded:e}=T1(),{expanded:t}=T1("pinia-store-state"),r=one,i=Ct([]),s=Ct([]),o=ed(),a=Ct(""),l=Ct([]),c=ot(()=>{var N,W;return(N=l.value)!=null&&N.length?A((W=l.value)==null?void 0:W[0]):[]}),u=ot(()=>m(l.value)),h=ot(()=>u.value.map(N=>N.id)),d=Ct({}),g=Ct(""),f=Ct("");Fr(g,(N,W)=>{!N.trim().length&&!W.trim().length||B(N)});const v=ot(()=>HM({state:d.value,filterKey:f.value})),C=ot(()=>{var N,W;return!((N=d.value.state)!=null&&N.length)&&!((W=d.value.getters)!=null&&W.length)});function A(N,W=[],D=[]){var R;return W.push(N.id),((R=N.children)==null?void 0:R.length)===0&&D.push([...W]),Array.isArray(N.children)&&N.children.forEach(Y=>{A(Y,W,D)}),W.pop(),D}function b(N,W){const D=[];return N?.forEach(R=>{D.push(...R.slice(0,W+1))}),[...new Set(D)]}function m(N){const W=[],D=R=>{R?.forEach(Y=>{var ie;W.push(Y),(ie=Y.children)!=null&&ie.length&&D(Y.children)})};return D(N),W}function E(){Gt.value.getInspectorNodeActions(r).then(N=>{i.value=N})}function I(){Gt.value.getInspectorActions(r).then(N=>{s.value=N})}E(),I();function S(N){Gt.value.callInspectorNodeAction(r,N,a.value)}function T(N){Gt.value.callInspectorAction(r,N)}function P(N){var W;for(const D in N)(W=N[D])!=null&&W.length||delete N[D];return N}function _(N){Gt.value.getInspectorState({inspectorId:r,nodeId:N}).then(W=>{const D=Lo(W);D&&(d.value=P(D),t.value=Array.from({length:Object.keys(d.value).length},(R,Y)=>`${Y}`))})}function $(){d.value={}}Fr(a,()=>{$(),_(a.value)});function B(N=""){Gt.value.getInspectorTree({inspectorId:r,filter:N}).then(W=>{const D=Lo(W);l.value=D,!a.value&&D.length&&(a.value=D[0].id,_(D[0].id),e.value=b(c.value,1))})}B();function U(N){const W=Lo(N);W.inspectorId!==r||!W.rootNodes.length||(l.value=W.rootNodes,h.value.includes(a.value)||(a.value=W.rootNodes[0].id,e.value=b(c.value,1),_(W.rootNodes[0].id)))}function H(N){const W=Lo(N);if(W.inspectorId!==r)return;const D=W.state;D&&(d.value=P({state:D.state,getters:D.getters}))}return Gt.functions.on(Hi.INSPECTOR_TREE_UPDATED,U),Gt.functions.on(Hi.INSPECTOR_STATE_UPDATED,H),wo(()=>{Gt.functions.off(Hi.INSPECTOR_TREE_UPDATED,U),Gt.functions.off(Hi.INSPECTOR_STATE_UPDATED,H)}),(N,W)=>(Ve(),Xe("div",TMe,[it(b0,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:At(()=>[it(E0)]),_:1}),it(ye(dd),{class:"flex-1 overflow-auto"},{default:At(()=>[it(ye(Yo),{border:"r base",size:"40","h-full":""},{default:At(()=>{var D;return[Pe("div",xMe,[Pe("div",_Me,[it(ye(ll),{modelValue:g.value,"onUpdate:modelValue":W[0]||(W[0]=R=>g.value=R),placeholder:ye(o).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),(D=s.value)!=null&&D.length?(Ve(),Xe("div",PMe,[(Ve(!0),Xe(ur,null,Yn(s.value,(R,Y)=>Kn((Ve(),Xe("div",{key:Y,class:"flex items-center gap1",onClick:ie=>T(Y)},[Pe("i",{class:Ar(`i-ic-baseline-${R.icon.replace(/\_/g,"-")}`),"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,2)],8,OMe)),[[ye(Ni),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):Rt("",!0)]),Pe("div",MMe,[it(vA,{modelValue:a.value,"onUpdate:modelValue":W[1]||(W[1]=R=>a.value=R),data:l.value},null,8,["modelValue","data"])])])]}),_:1}),it(ye(Yo),{size:"60"},{default:At(()=>{var D;return[Pe("div",kMe,[Pe("div",$Me,[it(ye(ll),{modelValue:f.value,"onUpdate:modelValue":W[2]||(W[2]=R=>f.value=R),placeholder:ye(o).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),(D=i.value)!=null&&D.length?(Ve(),Xe("div",LMe,[(Ve(!0),Xe(ur,null,Yn(i.value,(R,Y)=>Kn((Ve(),Xe("div",{key:Y,class:"flex items-center gap1",onClick:ie=>S(Y)},[Pe("i",{class:Ar(`i-ic-baseline-${R.icon.replace(/\_/g,"-")}`),"cursor-pointer":"",op70:"","text-base":"","hover:op100":""},null,2)],8,NMe)),[[ye(Ni),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):Rt("",!0)]),a.value&&!C.value?(Ve(),Nt(gA,{key:0,class:"no-scrollbar flex-1 overflow-scroll",data:v.value,"node-id":a.value,"inspector-id":ye(r),"expanded-state-id":"pinia-store-state"},null,8,["data","node-id","inspector-id"])):(Ve(),Nt(d2,{key:1},{default:At(()=>W[3]||(W[3]=[Cr(" No Data ")])),_:1}))])]}),_:1})]),_:1})]))}}),zMe="dev.esm.pinia",RMe=Ft({__name:"Index",setup(n){const e=["pinia:mutations"];return(t,r)=>(Ve(),Nt(v9,{"layer-ids":e,"doc-link":"https://pinia.vuejs.org/","plugin-id":zMe,"github-repo-link":"https://github.com/vuejs/pinia"}))}}),VMe={"h-full":"","w-full":""},HMe=Ft({__name:"index",setup(n){const e=Ct(null);io("pluginSettings",e);const t=ot(()=>[{path:"/store",name:"Store",component:DMe,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:RMe,icon:"i-mdi:timeline-clock-outline"},{path:"/",name:"About",component:bMe,icon:"i-logos-pinia"},e.value&&{path:"/settings",name:"Settings",component:wMe,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:r}=jM(t,{defaultRoutePath:"/store"}),i=YM();return a1(()=>{Gt.value.getPluginSettings(SMe).then(s=>{s.options?e.value=s:e.value=null}),Gt.value.getInspectorInfo(one).then(s=>{s&&(i.value={stateFilterPlaceholder:s.stateFilterPlaceholder,treeFilterPlaceholder:s.treeFilterPlaceholder})})}),(s,o)=>(Ve(),Xe("div",VMe,[it(ye(r))]))}}),BMe={},jMe={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function FMe(n,e){return Ve(),Xe("svg",jMe,e[0]||(e[0]=[Pe("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8em",height:"8em",viewBox:"0 -4 24 24"},[Pe("path",{fill:"#3dd68c",d:"M4 15V8.5a4.5 4.5 0 0 1 9 0v7a2.5 2.5 0 0 0 5 0V8.83a3.001 3.001 0 1 1 2 0v6.67a4.5 4.5 0 1 1-9 0v-7a2.5 2.5 0 0 0-5 0V15h3l-4 5l-4-5zm15-8a1 1 0 1 0 0-2a1 1 0 0 0 0 2"})],-1),Pe("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1)]))}const UMe=fd(BMe,[["render",FMe]]),WMe={"h-full":"","w-full":"",flex:"","items-center":""},GMe={flex:"~ col gap2",ma:"","px-5":""},KMe={flex:"~ col","mt-20":"","items-center":""},qMe={flex:"~","mt--10":"","items-center":"","justify-center":""},YMe={flex:"~ gap2 wrap"},XMe=Ft({__name:"About",setup(n){const e=pA();return(t,r)=>(Ve(),Xe("div",WMe,[Pe("div",GMe,[r[5]||(r[5]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",KMe,[Pe("div",qMe,[it(UMe,{"h-18":""})]),r[2]||(r[2]=Pe("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Pe("span",{op40:""}," Router DevTools ")],-1))]),r[6]||(r[6]=Pe("div",{"flex-auto":""},null,-1)),Pe("div",YMe,[Pe("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[0]||(r[0]=i=>ye(e).push("/routes"))},r[3]||(r[3]=[Pe("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Pe("code",null,"Routes",-1)])),Pe("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:r[1]||(r[1]=i=>ye(e).push("/timeline"))},r[4]||(r[4]=[Pe("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Pe("div",null,"Timeline",-1)]))]),r[7]||(r[7]=Pe("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Pe("a",{href:"https://github.com/vuejs/router",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Pe("div",{"i-carbon-star":""}),Cr(" Star on GitHub ")]),Pe("a",{href:"https://router.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Pe("div",{"i-carbon-document":""}),Cr(" View Documentation ")])],-1)),r[8]||(r[8]=Pe("div",{"flex-auto":""},null,-1))])]))}}),ZMe={class:"h-full flex flex-col"},QMe={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},JMe={class:"pb2"},eke={"h-full":"","overflow-scroll":"",class:"no-scrollbar"},tke=Ft({__name:"Index",setup(n){const{expanded:e}=T1(),{expanded:t}=T1("routes-state"),r=ed(),i=ot(()=>r.value.id),s=Ct(""),o=Ct(""),[a,l]=Zre(!0),c=Ct([]),u=ot(()=>{var P,_;return(P=c.value)!=null&&P.length?f((_=c.value)==null?void 0:_[0]):[]}),h=ot(()=>C(c.value)),d=ot(()=>h.value.map(P=>P.id)),g=Ct({});function f(P,_=[],$=[]){var B;return _.push(P.id),((B=P.children)==null?void 0:B.length)===0&&$.push([..._]),Array.isArray(P.children)&&P.children.forEach(U=>{f(U,_,$)}),_.pop(),$}function v(P,_){const $=[];return P?.forEach(B=>{$.push(...B.slice(0,_+1))}),[...new Set($)]}function C(P){const _=[],$=B=>{B?.forEach(U=>{var H;_.push(U),(H=U.children)!=null&&H.length&&$(U.children)})};return $(P),_}function A(P){var _;for(const $ in P)(_=P[$])!=null&&_.length||delete P[$];return P}function b(P){Gt.value.getInspectorState({inspectorId:i.value,nodeId:P}).then(_=>{const $=Lo(_);$&&(g.value=A($),t.value=Array.from({length:Object.keys(g.value).length},(B,U)=>`${U}`))})}function m(){g.value={}}Fr(s,()=>{m(),b(s.value)});const E=async(P="")=>{await Gt.value.getInspectorTree({inspectorId:i.value,filter:P}).then(_=>{const $=Lo(_);c.value=$,!s.value&&$.length&&(s.value=$[0].id,b($[0].id),e.value=v(u.value,1))})};Xre(i).toBeTruthy().then(()=>{E()});function I(P){const _=Lo(P);_.inspectorId!==i.value||!_.rootNodes.length||(c.value=_.rootNodes,d.value.includes(s.value)||(s.value=_.rootNodes[0].id,e.value=v(u.value,1),b(_.rootNodes[0].id)))}function S(P){const _=Lo(P);if(_.inspectorId!==i.value)return;const $=_.state;g.value=A($)}Gt.functions.on(Hi.INSPECTOR_TREE_UPDATED,I),Gt.functions.on(Hi.INSPECTOR_STATE_UPDATED,S),wo(()=>{Gt.functions.off(Hi.INSPECTOR_TREE_UPDATED,I),Gt.functions.off(Hi.INSPECTOR_STATE_UPDATED,S)});function T(P){const _=P.trim().toLowerCase();l(),E(_).then(()=>{l()})}return Qre(o,P=>{T(P)},{debounce:300}),(P,_)=>(Ve(),Xe("div",ZMe,[it(b0,{"doc-link":"https://router.vuejs.org/","github-repo-link":"https://github.com/vuejs/router"},{default:At(()=>[it(E0)]),_:1}),it(ye(dd),{class:"flex-1 overflow-auto"},{default:At(()=>[it(ye(Yo),{border:"r base",size:"40","h-full":""},{default:At(()=>[Pe("div",QMe,[Pe("div",JMe,[it(ye(ll),{modelValue:o.value,"onUpdate:modelValue":_[0]||(_[0]=$=>o.value=$),placeholder:"Search routes",loading:!ye(a),"loading-debounce-time":250,class:"text-3.5"},null,8,["modelValue","loading"])]),it(vA,{modelValue:s.value,"onUpdate:modelValue":_[1]||(_[1]=$=>s.value=$),data:c.value},null,8,["modelValue","data"])])]),_:1}),it(ye(Yo),{size:"60"},{default:At(()=>[Pe("div",eke,[s.value?(Ve(),Nt(gA,{key:0,class:"p3",data:g.value,"node-id":"","inspector-id":"router","expanded-state-id":"routes-state"},null,8,["data"])):(Ve(),Nt(d2,{key:1},{default:At(()=>_[2]||(_[2]=[Cr(" No Data ")])),_:1}))])]),_:1})]),_:1})]))}}),rke="org.vuejs.router",nke=Ft({__name:"Index",setup(n){const e=ed();return(t,r)=>(Ve(),Nt(v9,{"layer-ids":ye(e).timelineLayerIds,"doc-link":"https://router.vuejs.org/","plugin-id":rke,"github-repo-link":"https://github.com/vuejs/router"},null,8,["layer-ids"]))}}),ike={"h-full":"","w-full":""},ske=Ft({__name:"index",props:{id:{}},setup(n){const e=n,t=YM(),r=Ct(!1),{VirtualRouterView:i,restoreRouter:s}=jM([{path:"/routes",name:"Routes",component:tke,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:nke,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:XMe,icon:"i-ri-route-line"}],{defaultRoutePath:"/routes"});function o(){r.value=!0,a1(()=>{Gt.value.getInspectorInfo(e.id).then(a=>{if(!a)return;const l={homepage:a?.homepage,id:a?.id,label:a?.label,logo:a?.logo,timelineLayerIds:a?.timelineLayers.map(c=>c.id)};t.value=l,s(),r.value=!1})})}return Fr(()=>e.id,a=>{a&&o()}),(a,l)=>(Ve(),Xe("div",ike,[it(ye(i))]))}}),oke=Ft({__name:"components",setup(n){function e(){Gt.value.emit("toggle-panel",!1)}function t(){Gt.value.emit("toggle-panel",!0)}return(r,i)=>(Ve(),Nt(ye(EOe),{onOpenInEditor:ye(cC),onOnInspectComponentStart:e,onOnInspectComponentEnd:t},null,8,["onOpenInEditor"]))}}),ake=[["app",[{icon:"i-carbon-information",name:"overview",order:-100,path:"overview",title:"Overview"},{icon:"i-carbon-assembly-cluster",name:"components",order:-100,path:"components",title:"Components"},{icon:"i-carbon-tree-view-alt",name:"pages",order:-100,path:"pages",title:"Pages"},{icon:"i-carbon-roadmap",name:"Timeline",order:-100,path:"timeline",title:"Timeline"},{icon:"i-carbon-image-copy",name:"assets",order:-100,path:"assets",title:"Assets"}]],["modules",[{icon:"i-ri-route-line",name:"router",order:-100,path:"router",title:"Router"},{icon:"i-logos-pinia",name:"pinia",order:-100,path:"pinia",title:"Pinia"}]],["advanced",[{icon:"i-carbon-network-4",name:"graph",order:-100,path:"graph",title:"Graph"}]]],ane=["assets","graph","vite-inspect"];function lke(n,e){const t=F4(ake);return t.forEach(r=>{if(r[0]==="modules"){r[1]=r[1].filter(s=>s.name==="router"?e.findIndex(o=>o.name.startsWith("router-inspector"))>-1:s.name==="pinia"?e.findIndex(o=>o.name==="pinia")>-1:!0);const i=e.filter(s=>!(s.name.startsWith("router-inspector")||s.name==="pinia"));r[1]=[...r[1],...i]}}),n&&!QC&&!wu?t:t.map(([r,i])=>[r,i.filter(s=>!ane.includes(s.name))])}const Xx="custom-tab-view",xm="custom-inspector-tab-view";function lne(){const{registeredInspector:n}=tne();return ot(()=>n.value.map((t,r)=>({order:r,name:t.id,icon:t.logo,fallbackIcon:t.icon,title:t.label,path:`${xm}/${t.id}`,category:"modules",pluginId:t.pluginId})))}const cke={key:0,flex:"~ col","h-full":"","items-center":"","justify-center":""},uke={flex:"~ col gap2",mxa:"","items-center":""},hke={"text-xl":""},dke={"text-rose":""},fke=Ft({__name:"custom-inspector-tab-view",setup(n){const e=uA(),t=m0(),r=Ct(!1),i=lne(),s=ot(()=>i.value.find(a=>a.name===e.params.name)?.pluginId);function o(){r.value=!0;const a=setTimeout(()=>{clearTimeout(a),t.replace("/overview")},2e3)}return(a,l)=>ye(r)?(Ve(),Xe("div",cke,[Pe("div",uke,[l[1]||(l[1]=Pe("div",{"i-carbon-queued":"",mb2:"","text-5xl":"",op50:""},null,-1)),Pe("p",hke,[Pe("code",dke,gr(ye(e).params.name),1),l[0]||(l[0]=Cr(" not found "))]),l[2]||(l[2]=Pe("p",{mt8:"","animate-pulse":""}," Redirecting to overview page... ",-1))])])):!ye(r)&&ye(s)?(Ve(),Nt(ye(sne),{key:1,id:ye(e).params.name,"plugin-id":ye(s),onLoadError:o},null,8,["id","plugin-id"])):Rt("",!0)}});/*! * vue3-sfc-loader v0.9.5 for vue3 * * @description Vue3 Single File Component loader. * @author Franck FREIBURGER * @license MIT * @sources https://github.com/FranckFreiburger/vue3-sfc-loader */var pke=[(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0});var r={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(e,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Vr.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return rr.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"createFlowUnionType",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return $e.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return Ye.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return st.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return It.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return me.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return _e.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return Ir.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return xe.default}});var i=t(348),s=t(349),o=t(350),a=t(362),l=t(363);Object.keys(l).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===l[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return l[wt]}}))});var c=t(364),u=t(365),h=t(366),d=t(4);Object.keys(d).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===d[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return d[wt]}}))});var g=t(368);Object.keys(g).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===g[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return g[wt]}}))});var f=t(369);Object.keys(f).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===f[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return f[wt]}}))});var v=t(27),C=t(370),A=t(371),b=t(372),m=t(373),E=t(374),I=t(172),S=t(173),T=t(174),P=t(175),_=t(176),$=t(375),B=t(376);Object.keys(B).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===B[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return B[wt]}}))});var U=t(26);Object.keys(U).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===U[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return U[wt]}}))});var H=t(377),N=t(378),W=t(177),D=t(379),R=t(380),Y=t(178),ie=t(381),de=t(382),xe=t(383),X=t(9);Object.keys(X).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===X[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return X[wt]}}))});var Q=t(384),he=t(385),me=t(386),_e=t(181),fe=t(179),oe=t(171),J=t(60),K=t(387),q=t(388);Object.keys(q).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===q[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return q[wt]}}))});var ue=t(180),te=t(96),ce=t(42),ge=t(389),Te=t(390),ae=t(391),L=t(182),F=t(170),re=t(392),ke=t(168),ze=t(393),$e=t(394),Ce=t(395),Ne=t(98),Ye=t(396),st=t(43),ht=t(397),It=t(165),Ir=t(97),rr=t(164),Sr=t(2);Object.keys(Sr).forEach(function(wt){wt!=="default"&&wt!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,wt)||wt in e&&e[wt]===Sr[wt]||Object.defineProperty(e,wt,{enumerable:!0,get:function(){return Sr[wt]}}))});var Vr=t(58);e.react={isReactComponent:i.default,isCompatTag:s.default,buildChildren:o.default},e.toSequenceExpression=t(398).default},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return h.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return h.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return h.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return o.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return h.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return h.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return h.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return h.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return h.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return h.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return v.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return v.parseSync}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return s.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return s.resolvePreset}}),Object.defineProperty(e,"template",{enumerable:!0,get:function(){return u().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return l().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return d.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return d.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return g.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return g.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return g.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return f.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return f.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return f.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return d.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return c().default}}),e.version=e.types=void 0;var r=t(95),i=t(453),s=t(81),o=t(278);function a(){const C=t(0);return a=function(){return C},C}function l(){const C=t(21);return l=function(){return C},C}function c(){const C=t(14);return c=function(){return C},C}function u(){const C=t(37);return u=function(){return C},C}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return a()}});var h=t(82),d=t(475),g=t(488),f=t(489),v=t(490);t(1),e.version="7.23.9",e.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),e.OptionManager=class{init(C){return(0,h.loadOptionsSync)(C)}},e.Plugin=function(C){throw new Error(`The (${C}) Babel 5 plugin is being run with an unsupported Babel version.`)}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=function(o,a){return!!o&&o.type==="ClassAccessorProperty"&&(a==null||(0,r.default)(o,a))},e.isAnyTypeAnnotation=function(o,a){return!!o&&o.type==="AnyTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isArgumentPlaceholder=function(o,a){return!!o&&o.type==="ArgumentPlaceholder"&&(a==null||(0,r.default)(o,a))},e.isArrayExpression=function(o,a){return!!o&&o.type==="ArrayExpression"&&(a==null||(0,r.default)(o,a))},e.isArrayPattern=function(o,a){return!!o&&o.type==="ArrayPattern"&&(a==null||(0,r.default)(o,a))},e.isArrayTypeAnnotation=function(o,a){return!!o&&o.type==="ArrayTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isArrowFunctionExpression=function(o,a){return!!o&&o.type==="ArrowFunctionExpression"&&(a==null||(0,r.default)(o,a))},e.isAssignmentExpression=function(o,a){return!!o&&o.type==="AssignmentExpression"&&(a==null||(0,r.default)(o,a))},e.isAssignmentPattern=function(o,a){return!!o&&o.type==="AssignmentPattern"&&(a==null||(0,r.default)(o,a))},e.isAwaitExpression=function(o,a){return!!o&&o.type==="AwaitExpression"&&(a==null||(0,r.default)(o,a))},e.isBigIntLiteral=function(o,a){return!!o&&o.type==="BigIntLiteral"&&(a==null||(0,r.default)(o,a))},e.isBinary=function(o,a){if(!o)return!1;switch(o.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isBinaryExpression=function(o,a){return!!o&&o.type==="BinaryExpression"&&(a==null||(0,r.default)(o,a))},e.isBindExpression=function(o,a){return!!o&&o.type==="BindExpression"&&(a==null||(0,r.default)(o,a))},e.isBlock=function(o,a){if(!o)return!1;switch(o.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(o.expectedNode==="BlockStatement")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isBlockParent=function(o,a){if(!o)return!1;switch(o.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(o.expectedNode==="BlockStatement")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isBlockStatement=function(o,a){return!!o&&o.type==="BlockStatement"&&(a==null||(0,r.default)(o,a))},e.isBooleanLiteral=function(o,a){return!!o&&o.type==="BooleanLiteral"&&(a==null||(0,r.default)(o,a))},e.isBooleanLiteralTypeAnnotation=function(o,a){return!!o&&o.type==="BooleanLiteralTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isBooleanTypeAnnotation=function(o,a){return!!o&&o.type==="BooleanTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isBreakStatement=function(o,a){return!!o&&o.type==="BreakStatement"&&(a==null||(0,r.default)(o,a))},e.isCallExpression=function(o,a){return!!o&&o.type==="CallExpression"&&(a==null||(0,r.default)(o,a))},e.isCatchClause=function(o,a){return!!o&&o.type==="CatchClause"&&(a==null||(0,r.default)(o,a))},e.isClass=function(o,a){if(!o)return!1;switch(o.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isClassAccessorProperty=function(o,a){return!!o&&o.type==="ClassAccessorProperty"&&(a==null||(0,r.default)(o,a))},e.isClassBody=function(o,a){return!!o&&o.type==="ClassBody"&&(a==null||(0,r.default)(o,a))},e.isClassDeclaration=function(o,a){return!!o&&o.type==="ClassDeclaration"&&(a==null||(0,r.default)(o,a))},e.isClassExpression=function(o,a){return!!o&&o.type==="ClassExpression"&&(a==null||(0,r.default)(o,a))},e.isClassImplements=function(o,a){return!!o&&o.type==="ClassImplements"&&(a==null||(0,r.default)(o,a))},e.isClassMethod=function(o,a){return!!o&&o.type==="ClassMethod"&&(a==null||(0,r.default)(o,a))},e.isClassPrivateMethod=function(o,a){return!!o&&o.type==="ClassPrivateMethod"&&(a==null||(0,r.default)(o,a))},e.isClassPrivateProperty=function(o,a){return!!o&&o.type==="ClassPrivateProperty"&&(a==null||(0,r.default)(o,a))},e.isClassProperty=function(o,a){return!!o&&o.type==="ClassProperty"&&(a==null||(0,r.default)(o,a))},e.isCompletionStatement=function(o,a){if(!o)return!1;switch(o.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isConditional=function(o,a){if(!o)return!1;switch(o.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isConditionalExpression=function(o,a){return!!o&&o.type==="ConditionalExpression"&&(a==null||(0,r.default)(o,a))},e.isContinueStatement=function(o,a){return!!o&&o.type==="ContinueStatement"&&(a==null||(0,r.default)(o,a))},e.isDebuggerStatement=function(o,a){return!!o&&o.type==="DebuggerStatement"&&(a==null||(0,r.default)(o,a))},e.isDecimalLiteral=function(o,a){return!!o&&o.type==="DecimalLiteral"&&(a==null||(0,r.default)(o,a))},e.isDeclaration=function(o,a){if(!o)return!1;switch(o.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":break;case"Placeholder":if(o.expectedNode==="Declaration")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isDeclareClass=function(o,a){return!!o&&o.type==="DeclareClass"&&(a==null||(0,r.default)(o,a))},e.isDeclareExportAllDeclaration=function(o,a){return!!o&&o.type==="DeclareExportAllDeclaration"&&(a==null||(0,r.default)(o,a))},e.isDeclareExportDeclaration=function(o,a){return!!o&&o.type==="DeclareExportDeclaration"&&(a==null||(0,r.default)(o,a))},e.isDeclareFunction=function(o,a){return!!o&&o.type==="DeclareFunction"&&(a==null||(0,r.default)(o,a))},e.isDeclareInterface=function(o,a){return!!o&&o.type==="DeclareInterface"&&(a==null||(0,r.default)(o,a))},e.isDeclareModule=function(o,a){return!!o&&o.type==="DeclareModule"&&(a==null||(0,r.default)(o,a))},e.isDeclareModuleExports=function(o,a){return!!o&&o.type==="DeclareModuleExports"&&(a==null||(0,r.default)(o,a))},e.isDeclareOpaqueType=function(o,a){return!!o&&o.type==="DeclareOpaqueType"&&(a==null||(0,r.default)(o,a))},e.isDeclareTypeAlias=function(o,a){return!!o&&o.type==="DeclareTypeAlias"&&(a==null||(0,r.default)(o,a))},e.isDeclareVariable=function(o,a){return!!o&&o.type==="DeclareVariable"&&(a==null||(0,r.default)(o,a))},e.isDeclaredPredicate=function(o,a){return!!o&&o.type==="DeclaredPredicate"&&(a==null||(0,r.default)(o,a))},e.isDecorator=function(o,a){return!!o&&o.type==="Decorator"&&(a==null||(0,r.default)(o,a))},e.isDirective=function(o,a){return!!o&&o.type==="Directive"&&(a==null||(0,r.default)(o,a))},e.isDirectiveLiteral=function(o,a){return!!o&&o.type==="DirectiveLiteral"&&(a==null||(0,r.default)(o,a))},e.isDoExpression=function(o,a){return!!o&&o.type==="DoExpression"&&(a==null||(0,r.default)(o,a))},e.isDoWhileStatement=function(o,a){return!!o&&o.type==="DoWhileStatement"&&(a==null||(0,r.default)(o,a))},e.isEmptyStatement=function(o,a){return!!o&&o.type==="EmptyStatement"&&(a==null||(0,r.default)(o,a))},e.isEmptyTypeAnnotation=function(o,a){return!!o&&o.type==="EmptyTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isEnumBody=function(o,a){if(!o)return!1;switch(o.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isEnumBooleanBody=function(o,a){return!!o&&o.type==="EnumBooleanBody"&&(a==null||(0,r.default)(o,a))},e.isEnumBooleanMember=function(o,a){return!!o&&o.type==="EnumBooleanMember"&&(a==null||(0,r.default)(o,a))},e.isEnumDeclaration=function(o,a){return!!o&&o.type==="EnumDeclaration"&&(a==null||(0,r.default)(o,a))},e.isEnumDefaultedMember=function(o,a){return!!o&&o.type==="EnumDefaultedMember"&&(a==null||(0,r.default)(o,a))},e.isEnumMember=function(o,a){if(!o)return!1;switch(o.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isEnumNumberBody=function(o,a){return!!o&&o.type==="EnumNumberBody"&&(a==null||(0,r.default)(o,a))},e.isEnumNumberMember=function(o,a){return!!o&&o.type==="EnumNumberMember"&&(a==null||(0,r.default)(o,a))},e.isEnumStringBody=function(o,a){return!!o&&o.type==="EnumStringBody"&&(a==null||(0,r.default)(o,a))},e.isEnumStringMember=function(o,a){return!!o&&o.type==="EnumStringMember"&&(a==null||(0,r.default)(o,a))},e.isEnumSymbolBody=function(o,a){return!!o&&o.type==="EnumSymbolBody"&&(a==null||(0,r.default)(o,a))},e.isExistsTypeAnnotation=function(o,a){return!!o&&o.type==="ExistsTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isExportAllDeclaration=function(o,a){return!!o&&o.type==="ExportAllDeclaration"&&(a==null||(0,r.default)(o,a))},e.isExportDeclaration=function(o,a){if(!o)return!1;switch(o.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isExportDefaultDeclaration=function(o,a){return!!o&&o.type==="ExportDefaultDeclaration"&&(a==null||(0,r.default)(o,a))},e.isExportDefaultSpecifier=function(o,a){return!!o&&o.type==="ExportDefaultSpecifier"&&(a==null||(0,r.default)(o,a))},e.isExportNamedDeclaration=function(o,a){return!!o&&o.type==="ExportNamedDeclaration"&&(a==null||(0,r.default)(o,a))},e.isExportNamespaceSpecifier=function(o,a){return!!o&&o.type==="ExportNamespaceSpecifier"&&(a==null||(0,r.default)(o,a))},e.isExportSpecifier=function(o,a){return!!o&&o.type==="ExportSpecifier"&&(a==null||(0,r.default)(o,a))},e.isExpression=function(o,a){if(!o)return!1;switch(o.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(o.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return a==null||(0,r.default)(o,a)},e.isExpressionStatement=function(o,a){return!!o&&o.type==="ExpressionStatement"&&(a==null||(0,r.default)(o,a))},e.isExpressionWrapper=function(o,a){if(!o)return!1;switch(o.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFile=function(o,a){return!!o&&o.type==="File"&&(a==null||(0,r.default)(o,a))},e.isFlow=function(o,a){if(!o)return!1;switch(o.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFlowBaseAnnotation=function(o,a){if(!o)return!1;switch(o.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFlowDeclaration=function(o,a){if(!o)return!1;switch(o.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFlowPredicate=function(o,a){if(!o)return!1;switch(o.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFlowType=function(o,a){if(!o)return!1;switch(o.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFor=function(o,a){if(!o)return!1;switch(o.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isForInStatement=function(o,a){return!!o&&o.type==="ForInStatement"&&(a==null||(0,r.default)(o,a))},e.isForOfStatement=function(o,a){return!!o&&o.type==="ForOfStatement"&&(a==null||(0,r.default)(o,a))},e.isForStatement=function(o,a){return!!o&&o.type==="ForStatement"&&(a==null||(0,r.default)(o,a))},e.isForXStatement=function(o,a){if(!o)return!1;switch(o.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFunction=function(o,a){if(!o)return!1;switch(o.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFunctionDeclaration=function(o,a){return!!o&&o.type==="FunctionDeclaration"&&(a==null||(0,r.default)(o,a))},e.isFunctionExpression=function(o,a){return!!o&&o.type==="FunctionExpression"&&(a==null||(0,r.default)(o,a))},e.isFunctionParent=function(o,a){if(!o)return!1;switch(o.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isFunctionTypeAnnotation=function(o,a){return!!o&&o.type==="FunctionTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isFunctionTypeParam=function(o,a){return!!o&&o.type==="FunctionTypeParam"&&(a==null||(0,r.default)(o,a))},e.isGenericTypeAnnotation=function(o,a){return!!o&&o.type==="GenericTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isIdentifier=function(o,a){return!!o&&o.type==="Identifier"&&(a==null||(0,r.default)(o,a))},e.isIfStatement=function(o,a){return!!o&&o.type==="IfStatement"&&(a==null||(0,r.default)(o,a))},e.isImmutable=function(o,a){if(!o)return!1;switch(o.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(o.expectedNode==="StringLiteral")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isImport=function(o,a){return!!o&&o.type==="Import"&&(a==null||(0,r.default)(o,a))},e.isImportAttribute=function(o,a){return!!o&&o.type==="ImportAttribute"&&(a==null||(0,r.default)(o,a))},e.isImportDeclaration=function(o,a){return!!o&&o.type==="ImportDeclaration"&&(a==null||(0,r.default)(o,a))},e.isImportDefaultSpecifier=function(o,a){return!!o&&o.type==="ImportDefaultSpecifier"&&(a==null||(0,r.default)(o,a))},e.isImportExpression=function(o,a){return!!o&&o.type==="ImportExpression"&&(a==null||(0,r.default)(o,a))},e.isImportNamespaceSpecifier=function(o,a){return!!o&&o.type==="ImportNamespaceSpecifier"&&(a==null||(0,r.default)(o,a))},e.isImportOrExportDeclaration=s,e.isImportSpecifier=function(o,a){return!!o&&o.type==="ImportSpecifier"&&(a==null||(0,r.default)(o,a))},e.isIndexedAccessType=function(o,a){return!!o&&o.type==="IndexedAccessType"&&(a==null||(0,r.default)(o,a))},e.isInferredPredicate=function(o,a){return!!o&&o.type==="InferredPredicate"&&(a==null||(0,r.default)(o,a))},e.isInterfaceDeclaration=function(o,a){return!!o&&o.type==="InterfaceDeclaration"&&(a==null||(0,r.default)(o,a))},e.isInterfaceExtends=function(o,a){return!!o&&o.type==="InterfaceExtends"&&(a==null||(0,r.default)(o,a))},e.isInterfaceTypeAnnotation=function(o,a){return!!o&&o.type==="InterfaceTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isInterpreterDirective=function(o,a){return!!o&&o.type==="InterpreterDirective"&&(a==null||(0,r.default)(o,a))},e.isIntersectionTypeAnnotation=function(o,a){return!!o&&o.type==="IntersectionTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isJSX=function(o,a){if(!o)return!1;switch(o.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isJSXAttribute=function(o,a){return!!o&&o.type==="JSXAttribute"&&(a==null||(0,r.default)(o,a))},e.isJSXClosingElement=function(o,a){return!!o&&o.type==="JSXClosingElement"&&(a==null||(0,r.default)(o,a))},e.isJSXClosingFragment=function(o,a){return!!o&&o.type==="JSXClosingFragment"&&(a==null||(0,r.default)(o,a))},e.isJSXElement=function(o,a){return!!o&&o.type==="JSXElement"&&(a==null||(0,r.default)(o,a))},e.isJSXEmptyExpression=function(o,a){return!!o&&o.type==="JSXEmptyExpression"&&(a==null||(0,r.default)(o,a))},e.isJSXExpressionContainer=function(o,a){return!!o&&o.type==="JSXExpressionContainer"&&(a==null||(0,r.default)(o,a))},e.isJSXFragment=function(o,a){return!!o&&o.type==="JSXFragment"&&(a==null||(0,r.default)(o,a))},e.isJSXIdentifier=function(o,a){return!!o&&o.type==="JSXIdentifier"&&(a==null||(0,r.default)(o,a))},e.isJSXMemberExpression=function(o,a){return!!o&&o.type==="JSXMemberExpression"&&(a==null||(0,r.default)(o,a))},e.isJSXNamespacedName=function(o,a){return!!o&&o.type==="JSXNamespacedName"&&(a==null||(0,r.default)(o,a))},e.isJSXOpeningElement=function(o,a){return!!o&&o.type==="JSXOpeningElement"&&(a==null||(0,r.default)(o,a))},e.isJSXOpeningFragment=function(o,a){return!!o&&o.type==="JSXOpeningFragment"&&(a==null||(0,r.default)(o,a))},e.isJSXSpreadAttribute=function(o,a){return!!o&&o.type==="JSXSpreadAttribute"&&(a==null||(0,r.default)(o,a))},e.isJSXSpreadChild=function(o,a){return!!o&&o.type==="JSXSpreadChild"&&(a==null||(0,r.default)(o,a))},e.isJSXText=function(o,a){return!!o&&o.type==="JSXText"&&(a==null||(0,r.default)(o,a))},e.isLVal=function(o,a){if(!o)return!1;switch(o.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(o.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return a==null||(0,r.default)(o,a)},e.isLabeledStatement=function(o,a){return!!o&&o.type==="LabeledStatement"&&(a==null||(0,r.default)(o,a))},e.isLiteral=function(o,a){if(!o)return!1;switch(o.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(o.expectedNode==="StringLiteral")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isLogicalExpression=function(o,a){return!!o&&o.type==="LogicalExpression"&&(a==null||(0,r.default)(o,a))},e.isLoop=function(o,a){if(!o)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isMemberExpression=function(o,a){return!!o&&o.type==="MemberExpression"&&(a==null||(0,r.default)(o,a))},e.isMetaProperty=function(o,a){return!!o&&o.type==="MetaProperty"&&(a==null||(0,r.default)(o,a))},e.isMethod=function(o,a){if(!o)return!1;switch(o.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isMiscellaneous=function(o,a){if(!o)return!1;switch(o.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isMixedTypeAnnotation=function(o,a){return!!o&&o.type==="MixedTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isModuleDeclaration=function(o,a){return(0,i.default)("isModuleDeclaration","isImportOrExportDeclaration"),s(o,a)},e.isModuleExpression=function(o,a){return!!o&&o.type==="ModuleExpression"&&(a==null||(0,r.default)(o,a))},e.isModuleSpecifier=function(o,a){if(!o)return!1;switch(o.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isNewExpression=function(o,a){return!!o&&o.type==="NewExpression"&&(a==null||(0,r.default)(o,a))},e.isNoop=function(o,a){return!!o&&o.type==="Noop"&&(a==null||(0,r.default)(o,a))},e.isNullLiteral=function(o,a){return!!o&&o.type==="NullLiteral"&&(a==null||(0,r.default)(o,a))},e.isNullLiteralTypeAnnotation=function(o,a){return!!o&&o.type==="NullLiteralTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isNullableTypeAnnotation=function(o,a){return!!o&&o.type==="NullableTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isNumberLiteral=function(o,a){return(0,i.default)("isNumberLiteral","isNumericLiteral"),!!o&&o.type==="NumberLiteral"&&(a==null||(0,r.default)(o,a))},e.isNumberLiteralTypeAnnotation=function(o,a){return!!o&&o.type==="NumberLiteralTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isNumberTypeAnnotation=function(o,a){return!!o&&o.type==="NumberTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isNumericLiteral=function(o,a){return!!o&&o.type==="NumericLiteral"&&(a==null||(0,r.default)(o,a))},e.isObjectExpression=function(o,a){return!!o&&o.type==="ObjectExpression"&&(a==null||(0,r.default)(o,a))},e.isObjectMember=function(o,a){if(!o)return!1;switch(o.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isObjectMethod=function(o,a){return!!o&&o.type==="ObjectMethod"&&(a==null||(0,r.default)(o,a))},e.isObjectPattern=function(o,a){return!!o&&o.type==="ObjectPattern"&&(a==null||(0,r.default)(o,a))},e.isObjectProperty=function(o,a){return!!o&&o.type==="ObjectProperty"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeAnnotation=function(o,a){return!!o&&o.type==="ObjectTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeCallProperty=function(o,a){return!!o&&o.type==="ObjectTypeCallProperty"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeIndexer=function(o,a){return!!o&&o.type==="ObjectTypeIndexer"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeInternalSlot=function(o,a){return!!o&&o.type==="ObjectTypeInternalSlot"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeProperty=function(o,a){return!!o&&o.type==="ObjectTypeProperty"&&(a==null||(0,r.default)(o,a))},e.isObjectTypeSpreadProperty=function(o,a){return!!o&&o.type==="ObjectTypeSpreadProperty"&&(a==null||(0,r.default)(o,a))},e.isOpaqueType=function(o,a){return!!o&&o.type==="OpaqueType"&&(a==null||(0,r.default)(o,a))},e.isOptionalCallExpression=function(o,a){return!!o&&o.type==="OptionalCallExpression"&&(a==null||(0,r.default)(o,a))},e.isOptionalIndexedAccessType=function(o,a){return!!o&&o.type==="OptionalIndexedAccessType"&&(a==null||(0,r.default)(o,a))},e.isOptionalMemberExpression=function(o,a){return!!o&&o.type==="OptionalMemberExpression"&&(a==null||(0,r.default)(o,a))},e.isParenthesizedExpression=function(o,a){return!!o&&o.type==="ParenthesizedExpression"&&(a==null||(0,r.default)(o,a))},e.isPattern=function(o,a){if(!o)return!1;switch(o.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(o.expectedNode==="Pattern")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isPatternLike=function(o,a){if(!o)return!1;switch(o.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(o.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return a==null||(0,r.default)(o,a)},e.isPipelineBareFunction=function(o,a){return!!o&&o.type==="PipelineBareFunction"&&(a==null||(0,r.default)(o,a))},e.isPipelinePrimaryTopicReference=function(o,a){return!!o&&o.type==="PipelinePrimaryTopicReference"&&(a==null||(0,r.default)(o,a))},e.isPipelineTopicExpression=function(o,a){return!!o&&o.type==="PipelineTopicExpression"&&(a==null||(0,r.default)(o,a))},e.isPlaceholder=function(o,a){return!!o&&o.type==="Placeholder"&&(a==null||(0,r.default)(o,a))},e.isPrivate=function(o,a){if(!o)return!1;switch(o.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isPrivateName=function(o,a){return!!o&&o.type==="PrivateName"&&(a==null||(0,r.default)(o,a))},e.isProgram=function(o,a){return!!o&&o.type==="Program"&&(a==null||(0,r.default)(o,a))},e.isProperty=function(o,a){if(!o)return!1;switch(o.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isPureish=function(o,a){if(!o)return!1;switch(o.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(o.expectedNode==="StringLiteral")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isQualifiedTypeIdentifier=function(o,a){return!!o&&o.type==="QualifiedTypeIdentifier"&&(a==null||(0,r.default)(o,a))},e.isRecordExpression=function(o,a){return!!o&&o.type==="RecordExpression"&&(a==null||(0,r.default)(o,a))},e.isRegExpLiteral=function(o,a){return!!o&&o.type==="RegExpLiteral"&&(a==null||(0,r.default)(o,a))},e.isRegexLiteral=function(o,a){return(0,i.default)("isRegexLiteral","isRegExpLiteral"),!!o&&o.type==="RegexLiteral"&&(a==null||(0,r.default)(o,a))},e.isRestElement=function(o,a){return!!o&&o.type==="RestElement"&&(a==null||(0,r.default)(o,a))},e.isRestProperty=function(o,a){return(0,i.default)("isRestProperty","isRestElement"),!!o&&o.type==="RestProperty"&&(a==null||(0,r.default)(o,a))},e.isReturnStatement=function(o,a){return!!o&&o.type==="ReturnStatement"&&(a==null||(0,r.default)(o,a))},e.isScopable=function(o,a){if(!o)return!1;switch(o.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(o.expectedNode==="BlockStatement")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isSequenceExpression=function(o,a){return!!o&&o.type==="SequenceExpression"&&(a==null||(0,r.default)(o,a))},e.isSpreadElement=function(o,a){return!!o&&o.type==="SpreadElement"&&(a==null||(0,r.default)(o,a))},e.isSpreadProperty=function(o,a){return(0,i.default)("isSpreadProperty","isSpreadElement"),!!o&&o.type==="SpreadProperty"&&(a==null||(0,r.default)(o,a))},e.isStandardized=function(o,a){if(!o)return!1;switch(o.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(o.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return a==null||(0,r.default)(o,a)},e.isStatement=function(o,a){if(!o)return!1;switch(o.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(o.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return a==null||(0,r.default)(o,a)},e.isStaticBlock=function(o,a){return!!o&&o.type==="StaticBlock"&&(a==null||(0,r.default)(o,a))},e.isStringLiteral=function(o,a){return!!o&&o.type==="StringLiteral"&&(a==null||(0,r.default)(o,a))},e.isStringLiteralTypeAnnotation=function(o,a){return!!o&&o.type==="StringLiteralTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isStringTypeAnnotation=function(o,a){return!!o&&o.type==="StringTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isSuper=function(o,a){return!!o&&o.type==="Super"&&(a==null||(0,r.default)(o,a))},e.isSwitchCase=function(o,a){return!!o&&o.type==="SwitchCase"&&(a==null||(0,r.default)(o,a))},e.isSwitchStatement=function(o,a){return!!o&&o.type==="SwitchStatement"&&(a==null||(0,r.default)(o,a))},e.isSymbolTypeAnnotation=function(o,a){return!!o&&o.type==="SymbolTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isTSAnyKeyword=function(o,a){return!!o&&o.type==="TSAnyKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSArrayType=function(o,a){return!!o&&o.type==="TSArrayType"&&(a==null||(0,r.default)(o,a))},e.isTSAsExpression=function(o,a){return!!o&&o.type==="TSAsExpression"&&(a==null||(0,r.default)(o,a))},e.isTSBaseType=function(o,a){if(!o)return!1;switch(o.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSLiteralType":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isTSBigIntKeyword=function(o,a){return!!o&&o.type==="TSBigIntKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSBooleanKeyword=function(o,a){return!!o&&o.type==="TSBooleanKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSCallSignatureDeclaration=function(o,a){return!!o&&o.type==="TSCallSignatureDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSConditionalType=function(o,a){return!!o&&o.type==="TSConditionalType"&&(a==null||(0,r.default)(o,a))},e.isTSConstructSignatureDeclaration=function(o,a){return!!o&&o.type==="TSConstructSignatureDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSConstructorType=function(o,a){return!!o&&o.type==="TSConstructorType"&&(a==null||(0,r.default)(o,a))},e.isTSDeclareFunction=function(o,a){return!!o&&o.type==="TSDeclareFunction"&&(a==null||(0,r.default)(o,a))},e.isTSDeclareMethod=function(o,a){return!!o&&o.type==="TSDeclareMethod"&&(a==null||(0,r.default)(o,a))},e.isTSEntityName=function(o,a){if(!o)return!1;switch(o.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(o.expectedNode==="Identifier")break;default:return!1}return a==null||(0,r.default)(o,a)},e.isTSEnumDeclaration=function(o,a){return!!o&&o.type==="TSEnumDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSEnumMember=function(o,a){return!!o&&o.type==="TSEnumMember"&&(a==null||(0,r.default)(o,a))},e.isTSExportAssignment=function(o,a){return!!o&&o.type==="TSExportAssignment"&&(a==null||(0,r.default)(o,a))},e.isTSExpressionWithTypeArguments=function(o,a){return!!o&&o.type==="TSExpressionWithTypeArguments"&&(a==null||(0,r.default)(o,a))},e.isTSExternalModuleReference=function(o,a){return!!o&&o.type==="TSExternalModuleReference"&&(a==null||(0,r.default)(o,a))},e.isTSFunctionType=function(o,a){return!!o&&o.type==="TSFunctionType"&&(a==null||(0,r.default)(o,a))},e.isTSImportEqualsDeclaration=function(o,a){return!!o&&o.type==="TSImportEqualsDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSImportType=function(o,a){return!!o&&o.type==="TSImportType"&&(a==null||(0,r.default)(o,a))},e.isTSIndexSignature=function(o,a){return!!o&&o.type==="TSIndexSignature"&&(a==null||(0,r.default)(o,a))},e.isTSIndexedAccessType=function(o,a){return!!o&&o.type==="TSIndexedAccessType"&&(a==null||(0,r.default)(o,a))},e.isTSInferType=function(o,a){return!!o&&o.type==="TSInferType"&&(a==null||(0,r.default)(o,a))},e.isTSInstantiationExpression=function(o,a){return!!o&&o.type==="TSInstantiationExpression"&&(a==null||(0,r.default)(o,a))},e.isTSInterfaceBody=function(o,a){return!!o&&o.type==="TSInterfaceBody"&&(a==null||(0,r.default)(o,a))},e.isTSInterfaceDeclaration=function(o,a){return!!o&&o.type==="TSInterfaceDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSIntersectionType=function(o,a){return!!o&&o.type==="TSIntersectionType"&&(a==null||(0,r.default)(o,a))},e.isTSIntrinsicKeyword=function(o,a){return!!o&&o.type==="TSIntrinsicKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSLiteralType=function(o,a){return!!o&&o.type==="TSLiteralType"&&(a==null||(0,r.default)(o,a))},e.isTSMappedType=function(o,a){return!!o&&o.type==="TSMappedType"&&(a==null||(0,r.default)(o,a))},e.isTSMethodSignature=function(o,a){return!!o&&o.type==="TSMethodSignature"&&(a==null||(0,r.default)(o,a))},e.isTSModuleBlock=function(o,a){return!!o&&o.type==="TSModuleBlock"&&(a==null||(0,r.default)(o,a))},e.isTSModuleDeclaration=function(o,a){return!!o&&o.type==="TSModuleDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSNamedTupleMember=function(o,a){return!!o&&o.type==="TSNamedTupleMember"&&(a==null||(0,r.default)(o,a))},e.isTSNamespaceExportDeclaration=function(o,a){return!!o&&o.type==="TSNamespaceExportDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSNeverKeyword=function(o,a){return!!o&&o.type==="TSNeverKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSNonNullExpression=function(o,a){return!!o&&o.type==="TSNonNullExpression"&&(a==null||(0,r.default)(o,a))},e.isTSNullKeyword=function(o,a){return!!o&&o.type==="TSNullKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSNumberKeyword=function(o,a){return!!o&&o.type==="TSNumberKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSObjectKeyword=function(o,a){return!!o&&o.type==="TSObjectKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSOptionalType=function(o,a){return!!o&&o.type==="TSOptionalType"&&(a==null||(0,r.default)(o,a))},e.isTSParameterProperty=function(o,a){return!!o&&o.type==="TSParameterProperty"&&(a==null||(0,r.default)(o,a))},e.isTSParenthesizedType=function(o,a){return!!o&&o.type==="TSParenthesizedType"&&(a==null||(0,r.default)(o,a))},e.isTSPropertySignature=function(o,a){return!!o&&o.type==="TSPropertySignature"&&(a==null||(0,r.default)(o,a))},e.isTSQualifiedName=function(o,a){return!!o&&o.type==="TSQualifiedName"&&(a==null||(0,r.default)(o,a))},e.isTSRestType=function(o,a){return!!o&&o.type==="TSRestType"&&(a==null||(0,r.default)(o,a))},e.isTSSatisfiesExpression=function(o,a){return!!o&&o.type==="TSSatisfiesExpression"&&(a==null||(0,r.default)(o,a))},e.isTSStringKeyword=function(o,a){return!!o&&o.type==="TSStringKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSSymbolKeyword=function(o,a){return!!o&&o.type==="TSSymbolKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSThisType=function(o,a){return!!o&&o.type==="TSThisType"&&(a==null||(0,r.default)(o,a))},e.isTSTupleType=function(o,a){return!!o&&o.type==="TSTupleType"&&(a==null||(0,r.default)(o,a))},e.isTSType=function(o,a){if(!o)return!1;switch(o.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isTSTypeAliasDeclaration=function(o,a){return!!o&&o.type==="TSTypeAliasDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSTypeAnnotation=function(o,a){return!!o&&o.type==="TSTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isTSTypeAssertion=function(o,a){return!!o&&o.type==="TSTypeAssertion"&&(a==null||(0,r.default)(o,a))},e.isTSTypeElement=function(o,a){if(!o)return!1;switch(o.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isTSTypeLiteral=function(o,a){return!!o&&o.type==="TSTypeLiteral"&&(a==null||(0,r.default)(o,a))},e.isTSTypeOperator=function(o,a){return!!o&&o.type==="TSTypeOperator"&&(a==null||(0,r.default)(o,a))},e.isTSTypeParameter=function(o,a){return!!o&&o.type==="TSTypeParameter"&&(a==null||(0,r.default)(o,a))},e.isTSTypeParameterDeclaration=function(o,a){return!!o&&o.type==="TSTypeParameterDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTSTypeParameterInstantiation=function(o,a){return!!o&&o.type==="TSTypeParameterInstantiation"&&(a==null||(0,r.default)(o,a))},e.isTSTypePredicate=function(o,a){return!!o&&o.type==="TSTypePredicate"&&(a==null||(0,r.default)(o,a))},e.isTSTypeQuery=function(o,a){return!!o&&o.type==="TSTypeQuery"&&(a==null||(0,r.default)(o,a))},e.isTSTypeReference=function(o,a){return!!o&&o.type==="TSTypeReference"&&(a==null||(0,r.default)(o,a))},e.isTSUndefinedKeyword=function(o,a){return!!o&&o.type==="TSUndefinedKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSUnionType=function(o,a){return!!o&&o.type==="TSUnionType"&&(a==null||(0,r.default)(o,a))},e.isTSUnknownKeyword=function(o,a){return!!o&&o.type==="TSUnknownKeyword"&&(a==null||(0,r.default)(o,a))},e.isTSVoidKeyword=function(o,a){return!!o&&o.type==="TSVoidKeyword"&&(a==null||(0,r.default)(o,a))},e.isTaggedTemplateExpression=function(o,a){return!!o&&o.type==="TaggedTemplateExpression"&&(a==null||(0,r.default)(o,a))},e.isTemplateElement=function(o,a){return!!o&&o.type==="TemplateElement"&&(a==null||(0,r.default)(o,a))},e.isTemplateLiteral=function(o,a){return!!o&&o.type==="TemplateLiteral"&&(a==null||(0,r.default)(o,a))},e.isTerminatorless=function(o,a){if(!o)return!1;switch(o.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isThisExpression=function(o,a){return!!o&&o.type==="ThisExpression"&&(a==null||(0,r.default)(o,a))},e.isThisTypeAnnotation=function(o,a){return!!o&&o.type==="ThisTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isThrowStatement=function(o,a){return!!o&&o.type==="ThrowStatement"&&(a==null||(0,r.default)(o,a))},e.isTopicReference=function(o,a){return!!o&&o.type==="TopicReference"&&(a==null||(0,r.default)(o,a))},e.isTryStatement=function(o,a){return!!o&&o.type==="TryStatement"&&(a==null||(0,r.default)(o,a))},e.isTupleExpression=function(o,a){return!!o&&o.type==="TupleExpression"&&(a==null||(0,r.default)(o,a))},e.isTupleTypeAnnotation=function(o,a){return!!o&&o.type==="TupleTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isTypeAlias=function(o,a){return!!o&&o.type==="TypeAlias"&&(a==null||(0,r.default)(o,a))},e.isTypeAnnotation=function(o,a){return!!o&&o.type==="TypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isTypeCastExpression=function(o,a){return!!o&&o.type==="TypeCastExpression"&&(a==null||(0,r.default)(o,a))},e.isTypeParameter=function(o,a){return!!o&&o.type==="TypeParameter"&&(a==null||(0,r.default)(o,a))},e.isTypeParameterDeclaration=function(o,a){return!!o&&o.type==="TypeParameterDeclaration"&&(a==null||(0,r.default)(o,a))},e.isTypeParameterInstantiation=function(o,a){return!!o&&o.type==="TypeParameterInstantiation"&&(a==null||(0,r.default)(o,a))},e.isTypeScript=function(o,a){if(!o)return!1;switch(o.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isTypeofTypeAnnotation=function(o,a){return!!o&&o.type==="TypeofTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isUnaryExpression=function(o,a){return!!o&&o.type==="UnaryExpression"&&(a==null||(0,r.default)(o,a))},e.isUnaryLike=function(o,a){if(!o)return!1;switch(o.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isUnionTypeAnnotation=function(o,a){return!!o&&o.type==="UnionTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isUpdateExpression=function(o,a){return!!o&&o.type==="UpdateExpression"&&(a==null||(0,r.default)(o,a))},e.isUserWhitespacable=function(o,a){if(!o)return!1;switch(o.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isV8IntrinsicIdentifier=function(o,a){return!!o&&o.type==="V8IntrinsicIdentifier"&&(a==null||(0,r.default)(o,a))},e.isVariableDeclaration=function(o,a){return!!o&&o.type==="VariableDeclaration"&&(a==null||(0,r.default)(o,a))},e.isVariableDeclarator=function(o,a){return!!o&&o.type==="VariableDeclarator"&&(a==null||(0,r.default)(o,a))},e.isVariance=function(o,a){return!!o&&o.type==="Variance"&&(a==null||(0,r.default)(o,a))},e.isVoidTypeAnnotation=function(o,a){return!!o&&o.type==="VoidTypeAnnotation"&&(a==null||(0,r.default)(o,a))},e.isWhile=function(o,a){if(!o)return!1;switch(o.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return a==null||(0,r.default)(o,a)},e.isWhileStatement=function(o,a){return!!o&&o.type==="WhileStatement"&&(a==null||(0,r.default)(o,a))},e.isWithStatement=function(o,a){return!!o&&o.type==="WithStatement"&&(a==null||(0,r.default)(o,a))},e.isYieldExpression=function(o,a){return!!o&&o.type==="YieldExpression"&&(a==null||(0,r.default)(o,a))};var r=t(96),i=t(58);function s(o,a){if(!o)return!1;switch(o.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return a==null||(0,r.default)(o,a)}},(n,e,t)=>{const r=t(48),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=t(47),{safeRe:o,t:a}=t(34),l=t(75),{compareIdentifiers:c}=t(128);class u{constructor(d,g){if(g=l(g),d instanceof u){if(d.loose===!!g.loose&&d.includePrerelease===!!g.includePrerelease)return d;d=d.version}else if(typeof d!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof d}".`);if(d.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",d,g),this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease;const f=d.trim().match(g.loose?o[a.LOOSE]:o[a.FULL]);if(!f)throw new TypeError(`Invalid Version: ${d}`);if(this.raw=d,this.major=+f[1],this.minor=+f[2],this.patch=+f[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");f[4]?this.prerelease=f[4].split(".").map(v=>{if(/^[0-9]+$/.test(v)){const C=+v;if(C>=0&&C=0;)typeof this.prerelease[C]=="number"&&(this.prerelease[C]++,C=-2);if(C===-1){if(g===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(v)}}if(g){let C=[g,v];f===!1&&(C=[g]),c(this.prerelease[0],g)===0?isNaN(this.prerelease[1])&&(this.prerelease=C):this.prerelease=C}break}default:throw new Error(`invalid increment argument: ${d}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}n.exports=u},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},e.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},e.arrayExpression=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"ArrayExpression",elements:c})},e.arrayPattern=function(c){return(0,r.default)({type:"ArrayPattern",elements:c})},e.arrayTypeAnnotation=function(c){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:c})},e.arrowFunctionExpression=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"ArrowFunctionExpression",params:c,body:u,async:h,expression:null})},e.assignmentExpression=function(c,u,h){return(0,r.default)({type:"AssignmentExpression",operator:c,left:u,right:h})},e.assignmentPattern=function(c,u){return(0,r.default)({type:"AssignmentPattern",left:c,right:u})},e.awaitExpression=function(c){return(0,r.default)({type:"AwaitExpression",argument:c})},e.bigIntLiteral=function(c){return(0,r.default)({type:"BigIntLiteral",value:c})},e.binaryExpression=function(c,u,h){return(0,r.default)({type:"BinaryExpression",operator:c,left:u,right:h})},e.bindExpression=function(c,u){return(0,r.default)({type:"BindExpression",object:c,callee:u})},e.blockStatement=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return(0,r.default)({type:"BlockStatement",body:c,directives:u})},e.booleanLiteral=function(c){return(0,r.default)({type:"BooleanLiteral",value:c})},e.booleanLiteralTypeAnnotation=function(c){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:c})},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"BreakStatement",label:c})},e.callExpression=function(c,u){return(0,r.default)({type:"CallExpression",callee:c,arguments:u})},e.catchClause=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"CatchClause",param:c,body:u})},e.classAccessorProperty=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,g=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5];return(0,r.default)({type:"ClassAccessorProperty",key:c,value:u,typeAnnotation:h,decorators:d,computed:g,static:f})},e.classBody=function(c){return(0,r.default)({type:"ClassBody",body:c})},e.classDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ClassDeclaration",id:c,superClass:u,body:h,decorators:d})},e.classExpression=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ClassExpression",id:c,superClass:u,body:h,decorators:d})},e.classImplements=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ClassImplements",id:c,typeParameters:u})},e.classMethod=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,g=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5],v=arguments.length>6&&arguments[6]!==void 0&&arguments[6],C=arguments.length>7&&arguments[7]!==void 0&&arguments[7];return(0,r.default)({type:"ClassMethod",kind:c,key:u,params:h,body:d,computed:g,static:f,generator:v,async:C})},e.classPrivateMethod=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,g=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ClassPrivateMethod",kind:c,key:u,params:h,body:d,static:g})},e.classPrivateProperty=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ClassPrivateProperty",key:c,value:u,decorators:h,static:d})},e.classProperty=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,g=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5];return(0,r.default)({type:"ClassProperty",key:c,value:u,typeAnnotation:h,decorators:d,computed:g,static:f})},e.conditionalExpression=function(c,u,h){return(0,r.default)({type:"ConditionalExpression",test:c,consequent:u,alternate:h})},e.continueStatement=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ContinueStatement",label:c})},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(c){return(0,r.default)({type:"DecimalLiteral",value:c})},e.declareClass=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"DeclareClass",id:c,typeParameters:u,extends:h,body:d})},e.declareExportAllDeclaration=function(c){return(0,r.default)({type:"DeclareExportAllDeclaration",source:c})},e.declareExportDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareExportDeclaration",declaration:c,specifiers:u,source:h})},e.declareFunction=function(c){return(0,r.default)({type:"DeclareFunction",id:c})},e.declareInterface=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"DeclareInterface",id:c,typeParameters:u,extends:h,body:d})},e.declareModule=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareModule",id:c,body:u,kind:h})},e.declareModuleExports=function(c){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:c})},e.declareOpaqueType=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareOpaqueType",id:c,typeParameters:u,supertype:h})},e.declareTypeAlias=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"DeclareTypeAlias",id:c,typeParameters:u,right:h})},e.declareVariable=function(c){return(0,r.default)({type:"DeclareVariable",id:c})},e.declaredPredicate=function(c){return(0,r.default)({type:"DeclaredPredicate",value:c})},e.decorator=function(c){return(0,r.default)({type:"Decorator",expression:c})},e.directive=function(c){return(0,r.default)({type:"Directive",value:c})},e.directiveLiteral=function(c){return(0,r.default)({type:"DirectiveLiteral",value:c})},e.doExpression=function(c){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"DoExpression",body:c,async:u})},e.doWhileStatement=function(c,u){return(0,r.default)({type:"DoWhileStatement",test:c,body:u})},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(c){return(0,r.default)({type:"EnumBooleanBody",members:c,explicitType:null,hasUnknownMembers:null})},e.enumBooleanMember=function(c){return(0,r.default)({type:"EnumBooleanMember",id:c,init:null})},e.enumDeclaration=function(c,u){return(0,r.default)({type:"EnumDeclaration",id:c,body:u})},e.enumDefaultedMember=function(c){return(0,r.default)({type:"EnumDefaultedMember",id:c})},e.enumNumberBody=function(c){return(0,r.default)({type:"EnumNumberBody",members:c,explicitType:null,hasUnknownMembers:null})},e.enumNumberMember=function(c,u){return(0,r.default)({type:"EnumNumberMember",id:c,init:u})},e.enumStringBody=function(c){return(0,r.default)({type:"EnumStringBody",members:c,explicitType:null,hasUnknownMembers:null})},e.enumStringMember=function(c,u){return(0,r.default)({type:"EnumStringMember",id:c,init:u})},e.enumSymbolBody=function(c){return(0,r.default)({type:"EnumSymbolBody",members:c,hasUnknownMembers:null})},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(c){return(0,r.default)({type:"ExportAllDeclaration",source:c})},e.exportDefaultDeclaration=function(c){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:c})},e.exportDefaultSpecifier=function(c){return(0,r.default)({type:"ExportDefaultSpecifier",exported:c})},e.exportNamedDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ExportNamedDeclaration",declaration:c,specifiers:u,source:h})},e.exportNamespaceSpecifier=function(c){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:c})},e.exportSpecifier=function(c,u){return(0,r.default)({type:"ExportSpecifier",local:c,exported:u})},e.expressionStatement=function(c){return(0,r.default)({type:"ExpressionStatement",expression:c})},e.file=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"File",program:c,comments:u,tokens:h})},e.forInStatement=function(c,u,h){return(0,r.default)({type:"ForInStatement",left:c,right:u,body:h})},e.forOfStatement=function(c,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ForOfStatement",left:c,right:u,body:h,await:d})},e.forStatement=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"ForStatement",init:c,test:u,update:h,body:d})},e.functionDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],g=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionDeclaration",id:c,params:u,body:h,generator:d,async:g})},e.functionExpression=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],g=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionExpression",id:c,params:u,body:h,generator:d,async:g})},e.functionTypeAnnotation=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"FunctionTypeAnnotation",typeParameters:c,params:u,rest:h,returnType:d})},e.functionTypeParam=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"FunctionTypeParam",name:c,typeAnnotation:u})},e.genericTypeAnnotation=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"GenericTypeAnnotation",id:c,typeParameters:u})},e.identifier=function(c){return(0,r.default)({type:"Identifier",name:c})},e.ifStatement=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"IfStatement",test:c,consequent:u,alternate:h})},e.import=function(){return{type:"Import"}},e.importAttribute=function(c,u){return(0,r.default)({type:"ImportAttribute",key:c,value:u})},e.importDeclaration=function(c,u){return(0,r.default)({type:"ImportDeclaration",specifiers:c,source:u})},e.importDefaultSpecifier=function(c){return(0,r.default)({type:"ImportDefaultSpecifier",local:c})},e.importExpression=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ImportExpression",source:c,options:u})},e.importNamespaceSpecifier=function(c){return(0,r.default)({type:"ImportNamespaceSpecifier",local:c})},e.importSpecifier=function(c,u){return(0,r.default)({type:"ImportSpecifier",local:c,imported:u})},e.indexedAccessType=function(c,u){return(0,r.default)({type:"IndexedAccessType",objectType:c,indexType:u})},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"InterfaceDeclaration",id:c,typeParameters:u,extends:h,body:d})},e.interfaceExtends=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"InterfaceExtends",id:c,typeParameters:u})},e.interfaceTypeAnnotation=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"InterfaceTypeAnnotation",extends:c,body:u})},e.interpreterDirective=function(c){return(0,r.default)({type:"InterpreterDirective",value:c})},e.intersectionTypeAnnotation=function(c){return(0,r.default)({type:"IntersectionTypeAnnotation",types:c})},e.jSXAttribute=e.jsxAttribute=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"JSXAttribute",name:c,value:u})},e.jSXClosingElement=e.jsxClosingElement=function(c){return(0,r.default)({type:"JSXClosingElement",name:c})},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"JSXElement",openingElement:c,closingElement:u,children:h,selfClosing:d})},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(c){return(0,r.default)({type:"JSXExpressionContainer",expression:c})},e.jSXFragment=e.jsxFragment=function(c,u,h){return(0,r.default)({type:"JSXFragment",openingFragment:c,closingFragment:u,children:h})},e.jSXIdentifier=e.jsxIdentifier=function(c){return(0,r.default)({type:"JSXIdentifier",name:c})},e.jSXMemberExpression=e.jsxMemberExpression=function(c,u){return(0,r.default)({type:"JSXMemberExpression",object:c,property:u})},e.jSXNamespacedName=e.jsxNamespacedName=function(c,u){return(0,r.default)({type:"JSXNamespacedName",namespace:c,name:u})},e.jSXOpeningElement=e.jsxOpeningElement=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"JSXOpeningElement",name:c,attributes:u,selfClosing:h})},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(c){return(0,r.default)({type:"JSXSpreadAttribute",argument:c})},e.jSXSpreadChild=e.jsxSpreadChild=function(c){return(0,r.default)({type:"JSXSpreadChild",expression:c})},e.jSXText=e.jsxText=function(c){return(0,r.default)({type:"JSXText",value:c})},e.labeledStatement=function(c,u){return(0,r.default)({type:"LabeledStatement",label:c,body:u})},e.logicalExpression=function(c,u,h){return(0,r.default)({type:"LogicalExpression",operator:c,left:u,right:h})},e.memberExpression=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"MemberExpression",object:c,property:u,computed:h,optional:d})},e.metaProperty=function(c,u){return(0,r.default)({type:"MetaProperty",meta:c,property:u})},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(c){return(0,r.default)({type:"ModuleExpression",body:c})},e.newExpression=function(c,u){return(0,r.default)({type:"NewExpression",callee:c,arguments:u})},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(c){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:c})},e.numberLiteral=function(c){return(0,i.default)("NumberLiteral","NumericLiteral","The node type "),s(c)},e.numberLiteralTypeAnnotation=function(c){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:c})},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=s,e.objectExpression=function(c){return(0,r.default)({type:"ObjectExpression",properties:c})},e.objectMethod=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"method",u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3?arguments[3]:void 0,g=arguments.length>4&&arguments[4]!==void 0&&arguments[4],f=arguments.length>5&&arguments[5]!==void 0&&arguments[5],v=arguments.length>6&&arguments[6]!==void 0&&arguments[6];return(0,r.default)({type:"ObjectMethod",kind:c,key:u,params:h,body:d,computed:g,generator:f,async:v})},e.objectPattern=function(c){return(0,r.default)({type:"ObjectPattern",properties:c})},e.objectProperty=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"ObjectProperty",key:c,value:u,computed:h,shorthand:d,decorators:g})},e.objectTypeAnnotation=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],g=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ObjectTypeAnnotation",properties:c,indexers:u,callProperties:h,internalSlots:d,exact:g})},e.objectTypeCallProperty=function(c){return(0,r.default)({type:"ObjectTypeCallProperty",value:c,static:null})},e.objectTypeIndexer=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"ObjectTypeIndexer",id:c,key:u,value:h,variance:d,static:null})},e.objectTypeInternalSlot=function(c,u,h,d,g){return(0,r.default)({type:"ObjectTypeInternalSlot",id:c,value:u,optional:h,static:d,method:g})},e.objectTypeProperty=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ObjectTypeProperty",key:c,value:u,variance:h,kind:null,method:null,optional:null,proto:null,static:null})},e.objectTypeSpreadProperty=function(c){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:c})},e.opaqueType=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"OpaqueType",id:c,typeParameters:u,supertype:h,impltype:d})},e.optionalCallExpression=function(c,u,h){return(0,r.default)({type:"OptionalCallExpression",callee:c,arguments:u,optional:h})},e.optionalIndexedAccessType=function(c,u){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:c,indexType:u,optional:null})},e.optionalMemberExpression=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"OptionalMemberExpression",object:c,property:u,computed:h,optional:d})},e.parenthesizedExpression=function(c){return(0,r.default)({type:"ParenthesizedExpression",expression:c})},e.pipelineBareFunction=function(c){return(0,r.default)({type:"PipelineBareFunction",callee:c})},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(c){return(0,r.default)({type:"PipelineTopicExpression",expression:c})},e.placeholder=function(c,u){return(0,r.default)({type:"Placeholder",expectedNode:c,name:u})},e.privateName=function(c){return(0,r.default)({type:"PrivateName",id:c})},e.program=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"script",d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"Program",body:c,directives:u,sourceType:h,interpreter:d,sourceFile:null})},e.qualifiedTypeIdentifier=function(c,u){return(0,r.default)({type:"QualifiedTypeIdentifier",id:c,qualification:u})},e.recordExpression=function(c){return(0,r.default)({type:"RecordExpression",properties:c})},e.regExpLiteral=o,e.regexLiteral=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,i.default)("RegexLiteral","RegExpLiteral","The node type "),o(c,u)},e.restElement=a,e.restProperty=function(c){return(0,i.default)("RestProperty","RestElement","The node type "),a(c)},e.returnStatement=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ReturnStatement",argument:c})},e.sequenceExpression=function(c){return(0,r.default)({type:"SequenceExpression",expressions:c})},e.spreadElement=l,e.spreadProperty=function(c){return(0,i.default)("SpreadProperty","SpreadElement","The node type "),l(c)},e.staticBlock=function(c){return(0,r.default)({type:"StaticBlock",body:c})},e.stringLiteral=function(c){return(0,r.default)({type:"StringLiteral",value:c})},e.stringLiteralTypeAnnotation=function(c){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:c})},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0;return(0,r.default)({type:"SwitchCase",test:c,consequent:u})},e.switchStatement=function(c,u){return(0,r.default)({type:"SwitchStatement",discriminant:c,cases:u})},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(c,u){return(0,r.default)({type:"TaggedTemplateExpression",tag:c,quasi:u})},e.templateElement=function(c){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"TemplateElement",value:c,tail:u})},e.templateLiteral=function(c,u){return(0,r.default)({type:"TemplateLiteral",quasis:c,expressions:u})},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(c){return(0,r.default)({type:"ThrowStatement",argument:c})},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TryStatement",block:c,handler:u,finalizer:h})},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(c){return(0,r.default)({type:"TSArrayType",elementType:c})},e.tSAsExpression=e.tsAsExpression=function(c,u){return(0,r.default)({type:"TSAsExpression",expression:c,typeAnnotation:u})},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSCallSignatureDeclaration",typeParameters:c,parameters:u,typeAnnotation:h})},e.tSConditionalType=e.tsConditionalType=function(c,u,h,d){return(0,r.default)({type:"TSConditionalType",checkType:c,extendsType:u,trueType:h,falseType:d})},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSConstructSignatureDeclaration",typeParameters:c,parameters:u,typeAnnotation:h})},e.tSConstructorType=e.tsConstructorType=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSConstructorType",typeParameters:c,parameters:u,typeAnnotation:h})},e.tSDeclareFunction=e.tsDeclareFunction=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"TSDeclareFunction",id:c,typeParameters:u,params:h,returnType:d})},e.tSDeclareMethod=e.tsDeclareMethod=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0,g=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"TSDeclareMethod",decorators:c,key:u,typeParameters:h,params:d,returnType:g})},e.tSEnumDeclaration=e.tsEnumDeclaration=function(c,u){return(0,r.default)({type:"TSEnumDeclaration",id:c,members:u})},e.tSEnumMember=e.tsEnumMember=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSEnumMember",id:c,initializer:u})},e.tSExportAssignment=e.tsExportAssignment=function(c){return(0,r.default)({type:"TSExportAssignment",expression:c})},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:c,typeParameters:u})},e.tSExternalModuleReference=e.tsExternalModuleReference=function(c){return(0,r.default)({type:"TSExternalModuleReference",expression:c})},e.tSFunctionType=e.tsFunctionType=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1?arguments[1]:void 0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSFunctionType",typeParameters:c,parameters:u,typeAnnotation:h})},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(c,u){return(0,r.default)({type:"TSImportEqualsDeclaration",id:c,moduleReference:u,isExport:null})},e.tSImportType=e.tsImportType=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSImportType",argument:c,qualifier:u,typeParameters:h})},e.tSIndexSignature=e.tsIndexSignature=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSIndexSignature",parameters:c,typeAnnotation:u})},e.tSIndexedAccessType=e.tsIndexedAccessType=function(c,u){return(0,r.default)({type:"TSIndexedAccessType",objectType:c,indexType:u})},e.tSInferType=e.tsInferType=function(c){return(0,r.default)({type:"TSInferType",typeParameter:c})},e.tSInstantiationExpression=e.tsInstantiationExpression=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSInstantiationExpression",expression:c,typeParameters:u})},e.tSInterfaceBody=e.tsInterfaceBody=function(c){return(0,r.default)({type:"TSInterfaceBody",body:c})},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,d=arguments.length>3?arguments[3]:void 0;return(0,r.default)({type:"TSInterfaceDeclaration",id:c,typeParameters:u,extends:h,body:d})},e.tSIntersectionType=e.tsIntersectionType=function(c){return(0,r.default)({type:"TSIntersectionType",types:c})},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(c){return(0,r.default)({type:"TSLiteralType",literal:c})},e.tSMappedType=e.tsMappedType=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSMappedType",typeParameter:c,typeAnnotation:u,nameType:h})},e.tSMethodSignature=e.tsMethodSignature=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return(0,r.default)({type:"TSMethodSignature",key:c,typeParameters:u,parameters:h,typeAnnotation:d,kind:null})},e.tSModuleBlock=e.tsModuleBlock=function(c){return(0,r.default)({type:"TSModuleBlock",body:c})},e.tSModuleDeclaration=e.tsModuleDeclaration=function(c,u){return(0,r.default)({type:"TSModuleDeclaration",id:c,body:u})},e.tSNamedTupleMember=e.tsNamedTupleMember=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"TSNamedTupleMember",label:c,elementType:u,optional:h})},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(c){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:c})},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(c){return(0,r.default)({type:"TSNonNullExpression",expression:c})},e.tSNullKeyword=e.tsNullKeyword=function(){return{type:"TSNullKeyword"}},e.tSNumberKeyword=e.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},e.tSObjectKeyword=e.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},e.tSOptionalType=e.tsOptionalType=function(c){return(0,r.default)({type:"TSOptionalType",typeAnnotation:c})},e.tSParameterProperty=e.tsParameterProperty=function(c){return(0,r.default)({type:"TSParameterProperty",parameter:c})},e.tSParenthesizedType=e.tsParenthesizedType=function(c){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:c})},e.tSPropertySignature=e.tsPropertySignature=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSPropertySignature",key:c,typeAnnotation:u,kind:null})},e.tSQualifiedName=e.tsQualifiedName=function(c,u){return(0,r.default)({type:"TSQualifiedName",left:c,right:u})},e.tSRestType=e.tsRestType=function(c){return(0,r.default)({type:"TSRestType",typeAnnotation:c})},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(c,u){return(0,r.default)({type:"TSSatisfiesExpression",expression:c,typeAnnotation:u})},e.tSStringKeyword=e.tsStringKeyword=function(){return{type:"TSStringKeyword"}},e.tSSymbolKeyword=e.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},e.tSThisType=e.tsThisType=function(){return{type:"TSThisType"}},e.tSTupleType=e.tsTupleType=function(c){return(0,r.default)({type:"TSTupleType",elementTypes:c})},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TSTypeAliasDeclaration",id:c,typeParameters:u,typeAnnotation:h})},e.tSTypeAnnotation=e.tsTypeAnnotation=function(c){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:c})},e.tSTypeAssertion=e.tsTypeAssertion=function(c,u){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:c,expression:u})},e.tSTypeLiteral=e.tsTypeLiteral=function(c){return(0,r.default)({type:"TSTypeLiteral",members:c})},e.tSTypeOperator=e.tsTypeOperator=function(c){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:c,operator:null})},e.tSTypeParameter=e.tsTypeParameter=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TSTypeParameter",constraint:c,default:u,name:h})},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(c){return(0,r.default)({type:"TSTypeParameterDeclaration",params:c})},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(c){return(0,r.default)({type:"TSTypeParameterInstantiation",params:c})},e.tSTypePredicate=e.tsTypePredicate=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TSTypePredicate",parameterName:c,typeAnnotation:u,asserts:h})},e.tSTypeQuery=e.tsTypeQuery=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeQuery",exprName:c,typeParameters:u})},e.tSTypeReference=e.tsTypeReference=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeReference",typeName:c,typeParameters:u})},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(c){return(0,r.default)({type:"TSUnionType",types:c})},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"TupleExpression",elements:c})},e.tupleTypeAnnotation=function(c){return(0,r.default)({type:"TupleTypeAnnotation",types:c})},e.typeAlias=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0;return(0,r.default)({type:"TypeAlias",id:c,typeParameters:u,right:h})},e.typeAnnotation=function(c){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:c})},e.typeCastExpression=function(c,u){return(0,r.default)({type:"TypeCastExpression",expression:c,typeAnnotation:u})},e.typeParameter=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"TypeParameter",bound:c,default:u,variance:h,name:null})},e.typeParameterDeclaration=function(c){return(0,r.default)({type:"TypeParameterDeclaration",params:c})},e.typeParameterInstantiation=function(c){return(0,r.default)({type:"TypeParameterInstantiation",params:c})},e.typeofTypeAnnotation=function(c){return(0,r.default)({type:"TypeofTypeAnnotation",argument:c})},e.unaryExpression=function(c,u){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return(0,r.default)({type:"UnaryExpression",operator:c,argument:u,prefix:h})},e.unionTypeAnnotation=function(c){return(0,r.default)({type:"UnionTypeAnnotation",types:c})},e.updateExpression=function(c,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"UpdateExpression",operator:c,argument:u,prefix:h})},e.v8IntrinsicIdentifier=function(c){return(0,r.default)({type:"V8IntrinsicIdentifier",name:c})},e.variableDeclaration=function(c,u){return(0,r.default)({type:"VariableDeclaration",kind:c,declarations:u})},e.variableDeclarator=function(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"VariableDeclarator",id:c,init:u})},e.variance=function(c){return(0,r.default)({type:"Variance",kind:c})},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(c,u){return(0,r.default)({type:"WhileStatement",test:c,body:u})},e.withStatement=function(c,u){return(0,r.default)({type:"WithStatement",object:c,body:u})},e.yieldExpression=function(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"YieldExpression",argument:c,delegate:u})};var r=t(352),i=t(58);function s(c){return(0,r.default)({type:"NumericLiteral",value:c})}function o(c){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)({type:"RegExpLiteral",pattern:c,flags:u})}function a(c){return(0,r.default)({type:"RestElement",argument:c})}function l(c){return(0,r.default)({type:"SpreadElement",argument:c})}},function(n,e,t){var r=function(i){return i&&i.Math===Math&&i};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof t.g=="object"&&t.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},n=>{var e=typeof document=="object"&&document.all;n.exports=e===void 0&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"}},(n,e,t)=>{const r=t(3);n.exports=(i,s,o)=>new r(i,o).compare(new r(s,o))},(n,e,t)=>{class r{constructor(D,R){if(R=s(R),D instanceof r)return D.loose===!!R.loose&&D.includePrerelease===!!R.includePrerelease?D:new r(D.raw,R);if(D instanceof o)return this.raw=D.value,this.set=[[D]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=D.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(Y=>this.parseRange(Y.trim())).filter(Y=>Y.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const Y=this.set[0];if(this.set=this.set.filter(ie=>!C(ie[0])),this.set.length===0)this.set=[Y];else if(this.set.length>1){for(const ie of this.set)if(ie.length===1&&A(ie[0])){this.set=[ie];break}}}this.format()}format(){return this.range=this.set.map(D=>D.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(D){const R=((this.options.includePrerelease&&f)|(this.options.loose&&v))+":"+D,Y=i.get(R);if(Y)return Y;const ie=this.options.loose,de=ie?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];D=D.replace(de,H(this.options.includePrerelease)),a("hyphen replace",D),D=D.replace(c[u.COMPARATORTRIM],h),a("comparator trim",D),D=D.replace(c[u.TILDETRIM],d),a("tilde trim",D),D=D.replace(c[u.CARETTRIM],g),a("caret trim",D);let xe=D.split(" ").map(me=>m(me,this.options)).join(" ").split(/\s+/).map(me=>U(me,this.options));ie&&(xe=xe.filter(me=>(a("loose invalid filter",me,this.options),!!me.match(c[u.COMPARATORLOOSE])))),a("range list",xe);const X=new Map,Q=xe.map(me=>new o(me,this.options));for(const me of Q){if(C(me))return[me];X.set(me.value,me)}X.size>1&&X.has("")&&X.delete("");const he=[...X.values()];return i.set(R,he),he}intersects(D,R){if(!(D instanceof r))throw new TypeError("a Range is required");return this.set.some(Y=>b(Y,R)&&D.set.some(ie=>b(ie,R)&&Y.every(de=>ie.every(xe=>de.intersects(xe,R)))))}test(D){if(!D)return!1;if(typeof D=="string")try{D=new l(D,this.options)}catch{return!1}for(let R=0;RW.value==="<0.0.0-0",A=W=>W.value==="",b=(W,D)=>{let R=!0;const Y=W.slice();let ie=Y.pop();for(;R&&Y.length;)R=Y.every(de=>ie.intersects(de,D)),ie=Y.pop();return R},m=(W,D)=>(a("comp",W,D),W=T(W,D),a("caret",W),W=I(W,D),a("tildes",W),W=_(W,D),a("xrange",W),W=B(W,D),a("stars",W),W),E=W=>!W||W.toLowerCase()==="x"||W==="*",I=(W,D)=>W.trim().split(/\s+/).map(R=>S(R,D)).join(" "),S=(W,D)=>{const R=D.loose?c[u.TILDELOOSE]:c[u.TILDE];return W.replace(R,(Y,ie,de,xe,X)=>{let Q;return a("tilde",W,Y,ie,de,xe,X),E(ie)?Q="":E(de)?Q=`>=${ie}.0.0 <${+ie+1}.0.0-0`:E(xe)?Q=`>=${ie}.${de}.0 <${ie}.${+de+1}.0-0`:X?(a("replaceTilde pr",X),Q=`>=${ie}.${de}.${xe}-${X} <${ie}.${+de+1}.0-0`):Q=`>=${ie}.${de}.${xe} <${ie}.${+de+1}.0-0`,a("tilde return",Q),Q})},T=(W,D)=>W.trim().split(/\s+/).map(R=>P(R,D)).join(" "),P=(W,D)=>{a("caret",W,D);const R=D.loose?c[u.CARETLOOSE]:c[u.CARET],Y=D.includePrerelease?"-0":"";return W.replace(R,(ie,de,xe,X,Q)=>{let he;return a("caret",W,ie,de,xe,X,Q),E(de)?he="":E(xe)?he=`>=${de}.0.0${Y} <${+de+1}.0.0-0`:E(X)?he=de==="0"?`>=${de}.${xe}.0${Y} <${de}.${+xe+1}.0-0`:`>=${de}.${xe}.0${Y} <${+de+1}.0.0-0`:Q?(a("replaceCaret pr",Q),he=de==="0"?xe==="0"?`>=${de}.${xe}.${X}-${Q} <${de}.${xe}.${+X+1}-0`:`>=${de}.${xe}.${X}-${Q} <${de}.${+xe+1}.0-0`:`>=${de}.${xe}.${X}-${Q} <${+de+1}.0.0-0`):(a("no pr"),he=de==="0"?xe==="0"?`>=${de}.${xe}.${X}${Y} <${de}.${xe}.${+X+1}-0`:`>=${de}.${xe}.${X}${Y} <${de}.${+xe+1}.0-0`:`>=${de}.${xe}.${X} <${+de+1}.0.0-0`),a("caret return",he),he})},_=(W,D)=>(a("replaceXRanges",W,D),W.split(/\s+/).map(R=>$(R,D)).join(" ")),$=(W,D)=>{W=W.trim();const R=D.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return W.replace(R,(Y,ie,de,xe,X,Q)=>{a("xRange",W,Y,ie,de,xe,X,Q);const he=E(de),me=he||E(xe),_e=me||E(X),fe=_e;return ie==="="&&fe&&(ie=""),Q=D.includePrerelease?"-0":"",he?Y=ie===">"||ie==="<"?"<0.0.0-0":"*":ie&&fe?(me&&(xe=0),X=0,ie===">"?(ie=">=",me?(de=+de+1,xe=0,X=0):(xe=+xe+1,X=0)):ie==="<="&&(ie="<",me?de=+de+1:xe=+xe+1),ie==="<"&&(Q="-0"),Y=`${ie+de}.${xe}.${X}${Q}`):me?Y=`>=${de}.0.0${Q} <${+de+1}.0.0-0`:_e&&(Y=`>=${de}.${xe}.0${Q} <${de}.${+xe+1}.0-0`),a("xRange return",Y),Y})},B=(W,D)=>(a("replaceStars",W,D),W.trim().replace(c[u.STAR],"")),U=(W,D)=>(a("replaceGTE0",W,D),W.trim().replace(c[D.includePrerelease?u.GTE0PRE:u.GTE0],"")),H=W=>(D,R,Y,ie,de,xe,X,Q,he,me,_e,fe,oe)=>`${R=E(Y)?"":E(ie)?`>=${Y}.0.0${W?"-0":""}`:E(de)?`>=${Y}.${ie}.0${W?"-0":""}`:xe?`>=${R}`:`>=${R}${W?"-0":""}`} ${Q=E(he)?"":E(me)?`<${+he+1}.0.0-0`:E(_e)?`<${he}.${+me+1}.0-0`:fe?`<=${he}.${me}.${_e}-${fe}`:W?`<${he}.${me}.${+_e+1}-0`:`<=${Q}`}`.trim(),N=(W,D,R)=>{for(let Y=0;Y0){const ie=W[Y].semver;if(ie.major===D.major&&ie.minor===D.minor&&ie.patch===D.patch)return!0}return!1}return!0}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return o.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return i.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return s.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}});var r=t(166);t(167),t(356),t(357),t(358),t(359),t(360);var i=t(18),s=t(169),o=t(361);Object.keys(o.DEPRECATED_ALIASES).forEach(a=>{i.FLIPPED_ALIAS_KEYS[a]=i.FLIPPED_ALIAS_KEYS[o.DEPRECATED_ALIASES[a]]}),r(i.VISITOR_KEYS),r(i.ALIAS_KEYS),r(i.FLIPPED_ALIAS_KEYS),r(i.NODE_FIELDS),r(i.BUILDER_KEYS),r(i.DEPRECATED_KEYS),r(s.PLACEHOLDERS_ALIAS),r(s.PLACEHOLDERS_FLIPPED_ALIAS),e.TYPES=[].concat(Object.keys(i.VISITOR_KEYS),Object.keys(i.FLIPPED_ALIAS_KEYS),Object.keys(i.DEPRECATED_KEYS))},(n,e,t)=>{var r=t(17);function i(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}function s(a,l){for(var c,u="",h=0,d=-1,g=0,f=0;f<=a.length;++f){if(f2){var v=u.lastIndexOf("/");if(v!==u.length-1){v===-1?(u="",h=0):h=(u=u.slice(0,v)).length-1-u.lastIndexOf("/"),d=f,g=0;continue}}else if(u.length===2||u.length===1){u="",h=0,d=f,g=0;continue}}l&&(u.length>0?u+="/..":u="..",h=2)}else u.length>0?u+="/"+a.slice(d+1,f):u=a.slice(d+1,f),h=f-d-1;d=f,g=0}else c===46&&g!==-1?++g:g=-1}return u}var o={resolve:function(){for(var a,l="",c=!1,u=arguments.length-1;u>=-1&&!c;u--){var h;u>=0?h=arguments[u]:(a===void 0&&(a=r.cwd()),h=a),i(h),h.length!==0&&(l=h+"/"+l,c=h.charCodeAt(0)===47)}return l=s(l,!c),c?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(a){if(i(a),a.length===0)return".";var l=a.charCodeAt(0)===47,c=a.charCodeAt(a.length-1)===47;return(a=s(a,!l)).length!==0||l||(a="."),a.length>0&&c&&(a+="/"),l?"/"+a:a},isAbsolute:function(a){return i(a),a.length>0&&a.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var a,l=0;l0&&(a===void 0?a=c:a+="/"+c)}return a===void 0?".":o.normalize(a)},relative:function(a,l){if(i(a),i(l),a===l||(a=o.resolve(a))===(l=o.resolve(l)))return"";for(var c=1;cf){if(l.charCodeAt(d+C)===47)return l.slice(d+C+1);if(C===0)return l.slice(d+C)}else h>f&&(a.charCodeAt(c+C)===47?v=C:C===0&&(v=0));break}var A=a.charCodeAt(c+C);if(A!==l.charCodeAt(d+C))break;A===47&&(v=C)}var b="";for(C=c+v+1;C<=u;++C)C!==u&&a.charCodeAt(C)!==47||(b.length===0?b+="..":b+="/..");return b.length>0?b+l.slice(d+v):(d+=v,l.charCodeAt(d)===47&&++d,l.slice(d))},_makeLong:function(a){return a},dirname:function(a){if(i(a),a.length===0)return".";for(var l=a.charCodeAt(0),c=l===47,u=-1,h=!0,d=a.length-1;d>=1;--d)if((l=a.charCodeAt(d))===47){if(!h){u=d;break}}else h=!1;return u===-1?c?"/":".":c&&u===1?"//":a.slice(0,u)},basename:function(a,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');i(a);var c,u=0,h=-1,d=!0;if(l!==void 0&&l.length>0&&l.length<=a.length){if(l.length===a.length&&l===a)return"";var g=l.length-1,f=-1;for(c=a.length-1;c>=0;--c){var v=a.charCodeAt(c);if(v===47){if(!d){u=c+1;break}}else f===-1&&(d=!1,f=c+1),g>=0&&(v===l.charCodeAt(g)?--g==-1&&(h=c):(g=-1,h=f))}return u===h?h=f:h===-1&&(h=a.length),a.slice(u,h)}for(c=a.length-1;c>=0;--c)if(a.charCodeAt(c)===47){if(!d){u=c+1;break}}else h===-1&&(d=!1,h=c+1);return h===-1?"":a.slice(u,h)},extname:function(a){i(a);for(var l=-1,c=0,u=-1,h=!0,d=0,g=a.length-1;g>=0;--g){var f=a.charCodeAt(g);if(f!==47)u===-1&&(h=!1,u=g+1),f===46?l===-1?l=g:d!==1&&(d=1):l!==-1&&(d=-1);else if(!h){c=g+1;break}}return l===-1||u===-1||d===0||d===1&&l===u-1&&l===c+1?"":a.slice(l,u)},format:function(a){if(a===null||typeof a!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof a);return function(l,c){var u=c.dir||c.root,h=c.base||(c.name||"")+(c.ext||"");return u?u===c.root?u+h:u+"/"+h:h}(0,a)},parse:function(a){i(a);var l={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return l;var c,u=a.charCodeAt(0),h=u===47;h?(l.root="/",c=1):c=0;for(var d=-1,g=0,f=-1,v=!0,C=a.length-1,A=0;C>=c;--C)if((u=a.charCodeAt(C))!==47)f===-1&&(v=!1,f=C+1),u===46?d===-1?d=C:A!==1&&(A=1):d!==-1&&(A=-1);else if(!v){g=C+1;break}return d===-1||f===-1||A===0||A===1&&d===f-1&&d===g+1?f!==-1&&(l.base=l.name=g===0&&h?a.slice(1,f):a.slice(g,f)):(g===0&&h?(l.name=a.slice(1,d),l.base=a.slice(1,f)):(l.name=a.slice(g,d),l.base=a.slice(g,f)),l.ext=a.slice(d,f)),g>0?l.dir=a.slice(0,g-1):h&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,n.exports=o},n=>{n.exports=function(e){try{return!!e()}catch{return!0}}},(n,e,t)=>{var r=t(5),i=t(66),s=t(206),o=t(218),a=t(221),l=t(63),c=t(11),u=r.RangeError,h=r.Int8Array,d=h&&h.prototype,g=d&&d.set,f=s.aTypedArray,v=s.exportTypedArrayMethod,C=!c(function(){var b=new Uint8ClampedArray(2);return i(g,b,{length:1,0:3},1),b[1]!==3}),A=C&&s.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var b=new h(2);return b.set(1),b.set("2",1),b[0]!==0||b[1]!==2});v("set",function(b){f(this);var m=a(arguments.length>1?arguments[1]:void 0,1),E=l(b);if(C)return i(g,this,E,m);var I=this.length,S=o(E),T=0;if(S+m>I)throw new u("Wrong length");for(;T{const e=Symbol.for("gensync:v1:start"),t=Symbol.for("gensync:v1:suspend"),r="GENSYNC_EXPECTED_START",i="GENSYNC_EXPECTED_SUSPEND",s="GENSYNC_OPTIONS_ERROR",o="GENSYNC_RACE_NONEMPTY";function a(C,A,b,m){if(typeof b===C||m&&b===void 0)return;let E;throw E=m?`Expected opts.${A} to be either a ${C}, or undefined.`:`Expected opts.${A} to be a ${C}.`,l(E,s)}function l(C,A){return Object.assign(new Error(C),{code:A})}function c(C){let{name:A,arity:b,sync:m,async:E}=C;return v(A,b,function*(){const I=yield e;for(var S=arguments.length,T=new Array(S),P=0;P{_||(_={value:$},I())},$=>{_||(_={err:$},I())})}catch($){_={err:$},I()}if(yield t,_.hasOwnProperty("err"))throw _.err;return _.value})}function u(C){let A;for(;!({value:A}=C.next()).done;)d(A,C);return A}function h(C,A,b){(function m(){try{let E;for(;!({value:E}=C.next()).done;){d(E,C);let I=!0,S=!1;const T=C.next(()=>{I?S=!0:m()});if(I=!1,g(T,C),!S)return}return A(E)}catch(E){return b(E)}})()}function d(C,A){C!==e&&f(A,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(C)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function g(C,A){let{value:b,done:m}=C;(m||b!==t)&&f(A,l(m?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(b)}. If you get this, it is probably a gensync bug.`,i))}function f(C,A){throw C.throw&&C.throw(A),A}function v(C,A,b){if(typeof C=="string"){const m=Object.getOwnPropertyDescriptor(b,"name");m&&!m.configurable||Object.defineProperty(b,"name",Object.assign(m||{},{configurable:!0,value:C}))}if(typeof A=="number"){const m=Object.getOwnPropertyDescriptor(b,"length");m&&!m.configurable||Object.defineProperty(b,"length",Object.assign(m||{},{configurable:!0,value:A}))}return b}n.exports=Object.assign(function(C){let A=C;return A=typeof C!="function"?function(b){let{name:m,arity:E,sync:I,async:S,errback:T}=b;if(a("string","name",m,!0),a("number","arity",E,!0),a("function","sync",I),a("function","async",S,!0),a("function","errback",T,!0),S&&T)throw l("Expected one of either opts.async or opts.errback, but got _both_.",s);if(typeof m!="string"){let P;T&&T.name&&T.name!=="errback"&&(P=T.name),S&&S.name&&S.name!=="async"&&(P=S.name.replace(/Async$/,"")),I&&I.name&&I.name!=="sync"&&(P=I.name.replace(/Sync$/,"")),typeof P=="string"&&(m=P)}return typeof E!="number"&&(E=I.length),c({name:m,arity:E,sync:function(P){return I.apply(this,P)},async:function(P,_,$){S?S.apply(this,P).then(_,$):T?T.call(this,...P,(B,U)=>{B==null?_(U):$(B)}):_(I.apply(this,P))}})}(C):function(b){return v(b.name,b.length,function(){for(var m=arguments.length,E=new Array(m),I=0;I{h(b.apply(this,I),T,P)})},errback:function(){for(var E=arguments.length,I=new Array(E),S=0;ST(void 0,_),_=>T(_))}}}(A))},{all:c({name:"all",arity:1,sync:function(C){return Array.from(C[0]).map(A=>u(A))},async:function(C,A,b){const m=Array.from(C[0]);if(m.length===0)return void Promise.resolve().then(()=>A([]));let E=0;const I=m.map(()=>{});m.forEach((S,T)=>{h(S,P=>{I[T]=P,E+=1,E===I.length&&A(I)},b)})}}),race:c({name:"race",arity:1,sync:function(C){const A=Array.from(C[0]);if(A.length===0)throw l("Must race at least 1 item",o);return u(A[0])},async:function(C,A,b){const m=Array.from(C[0]);if(m.length===0)throw l("Must race at least 1 item",o);for(const E of m)h(E,A,b)}})})},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return l.default}}),e.visitors=e.default=void 0;var r=t(57);e.visitors=r;var i=t(0),s=t(35),o=t(100),a=t(28),l=t(183),c=t(444);const{VISITOR_KEYS:u,removeProperties:h,traverseFast:d}=i;function g(v){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},A=arguments.length>2?arguments[2]:void 0,b=arguments.length>3?arguments[3]:void 0,m=arguments.length>4?arguments[4]:void 0,E=arguments.length>5?arguments[5]:void 0;if(v){if(!C.noScope&&!A&&v.type!=="Program"&&v.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${v.type} node without passing scope and parentPath.`);if(!m&&E)throw new Error("visitSelf can only be used when providing a NodePath.");u[v.type]&&(r.explode(C),(0,o.traverseNode)(v,C,A,b,m,null,E))}}function f(v,C){v.node.type===C.type&&(C.has=!0,v.stop())}e.default=g,g.visitors=r,g.verify=r.verify,g.explode=r.explode,g.cheap=function(v,C){d(v,C)},g.node=function(v,C,A,b,m,E){(0,o.traverseNode)(v,C,A,b,m,E)},g.clearNode=function(v,C){h(v,C)},g.removeProperties=function(v,C){return d(v,g.clearNode,C),v},g.hasType=function(v,C,A){if(A!=null&&A.includes(v.type))return!1;if(v.type===C)return!0;const b={has:!1,type:C};return g(v,{noScope:!0,denylist:A,enter:f},null,b),b.has},g.cache=s},(n,e,t)=>{var r=t(11);n.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.declare=r,e.declarePreset=void 0;const t={assertVersion:a=>l=>{(function(c,u){if(typeof c=="number"){if(!Number.isInteger(c))throw new Error("Expected string or integer value.");c=`^${c}.0.0-0`}if(typeof c!="string")throw new Error("Expected string or integer value.");const h=Error.stackTraceLimit;let d;throw typeof h=="number"&&h<25&&(Error.stackTraceLimit=25),d=u.slice(0,2)==="7."?new Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${u}". You'll need to update your @babel/core version.`):new Error(`Requires Babel "${c}", but was loaded with "${u}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`),typeof h=="number"&&(Error.stackTraceLimit=h),Object.assign(d,{code:"BABEL_VERSION_UNSUPPORTED",version:u,range:c})})(l,a.version)}};function r(a){return(l,c,u)=>{var h;let d;for(const g of Object.keys(t))l[g]||(d!=null||(d=s(l)),d[g]=t[g](d));return a((h=d)!=null?h:l,c||{},u)}}Object.assign(t,{targets:()=>()=>({}),assumption:()=>()=>{}});const i=r;function s(a){let l=null;return typeof a.version=="string"&&/^7\./.test(a.version)&&(l=Object.getPrototypeOf(a),!l||o(l,"version")&&o(l,"transform")&&o(l,"template")&&o(l,"types")||(l=null)),Object.assign({},l,a)}function o(a,l){return Object.prototype.hasOwnProperty.call(a,l)}e.declarePreset=i},n=>{var e,t,r=n.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(v){if(e===setTimeout)return setTimeout(v,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(v,0);try{return e(v,0)}catch{try{return e.call(null,v,0)}catch{return e.call(this,v,0)}}}(function(){try{e=typeof setTimeout=="function"?setTimeout:i}catch{e=i}try{t=typeof clearTimeout=="function"?clearTimeout:s}catch{t=s}})();var a,l=[],c=!1,u=-1;function h(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&d())}function d(){if(!c){var v=o(h);c=!0;for(var C=l.length;C;){for(a=l,l=[];++u1)for(var A=1;A{Object.defineProperty(e,"__esModule",{value:!0}),e.VISITOR_KEYS=e.NODE_PARENT_VALIDATIONS=e.NODE_FIELDS=e.FLIPPED_ALIAS_KEYS=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.ALIAS_KEYS=void 0,e.arrayOf=v,e.arrayOfType=C,e.assertEach=A,e.assertNodeOrValueType=function(){for(var _=arguments.length,$=new Array(_),B=0;B<_;B++)$[B]=arguments[B];function U(H,N,W){for(const D of $)if(d(W)===D||(0,r.default)(D,W))return void(0,i.validateChild)(H,N,W);throw new TypeError(`Property ${N} of ${H.type} expected node to be of a type ${JSON.stringify($)} but instead got ${JSON.stringify(W?.type)}`)}return U.oneOfNodeOrValueTypes=$,U},e.assertNodeType=b,e.assertOneOf=function(){for(var _=arguments.length,$=new Array(_),B=0;B<_;B++)$[B]=arguments[B];function U(H,N,W){if($.indexOf(W)<0)throw new TypeError(`Property ${N} expected value to be one of ${JSON.stringify($)} but got ${JSON.stringify(W)}`)}return U.oneOf=$,U},e.assertOptionalChainStart=function(){return function(_){var $;let B=_;for(;_;){const{type:U}=B;if(U!=="OptionalCallExpression"){if(U!=="OptionalMemberExpression")break;if(B.optional)return;B=B.object}else{if(B.optional)return;B=B.callee}}throw new TypeError(`Non-optional ${_.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${($=B)==null?void 0:$.type}`)}},e.assertShape=function(_){function $(B,U,H){const N=[];for(const W of Object.keys(_))try{(0,i.validateField)(B,W,H[W],_[W])}catch(D){if(D instanceof TypeError){N.push(D.message);continue}throw D}if(N.length)throw new TypeError(`Property ${U} of ${B.type} expected to have the following: ${N.join(` `)}`)}return $.shapeOf=_,$},e.assertValueType=m,e.chain=E,e.default=P,e.defineAliasedType=function(){for(var _=arguments.length,$=new Array(_),B=0;B<_;B++)$[B]=arguments[B];return function(U){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=H.aliases;var W;N||(H.inherits&&(N=(W=T[H.inherits].aliases)==null?void 0:W.slice()),N!=null||(N=[]),H.aliases=N);const D=$.filter(R=>!N.includes(R));N.unshift(...D),P(U,H)}},e.typeIs=f,e.validate=g,e.validateArrayOfType=function(_){return g(C(_))},e.validateOptional=function(_){return{validate:_,optional:!0}},e.validateOptionalType=function(_){return{validate:f(_),optional:!0}},e.validateType=function(_){return g(f(_))};var r=t(42),i=t(97);const s=e.VISITOR_KEYS={},o=e.ALIAS_KEYS={},a=e.FLIPPED_ALIAS_KEYS={},l=e.NODE_FIELDS={},c=e.BUILDER_KEYS={},u=e.DEPRECATED_KEYS={},h=e.NODE_PARENT_VALIDATIONS={};function d(_){return Array.isArray(_)?"array":_===null?"null":typeof _}function g(_){return{validate:_}}function f(_){return typeof _=="string"?b(_):b(..._)}function v(_){return E(m("array"),A(_))}function C(_){return v(f(_))}function A(_){function $(B,U,H){if(Array.isArray(H))for(let N=0;N=2&&"type"in $[0]&&$[0].type==="array"&&!("each"in $[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return U}const I=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],S=["default","optional","deprecated","validate"],T={};function P(_){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const B=$.inherits&&T[$.inherits]||{};let U=$.fields;if(!U&&(U={},B.fields)){const D=Object.getOwnPropertyNames(B.fields);for(const R of D){const Y=B.fields[R],ie=Y.default;if(Array.isArray(ie)?ie.length>0:ie&&typeof ie=="object")throw new Error("field defaults can only be primitives or empty arrays currently");U[R]={default:Array.isArray(ie)?[]:ie,optional:Y.optional,deprecated:Y.deprecated,validate:Y.validate}}}const H=$.visitor||B.visitor||[],N=$.aliases||B.aliases||[],W=$.builder||B.builder||$.visitor||[];for(const D of Object.keys($))if(I.indexOf(D)===-1)throw new Error(`Unknown type option "${D}" on ${_}`);$.deprecatedAlias&&(u[$.deprecatedAlias]=_);for(const D of H.concat(W))U[D]=U[D]||{};for(const D of Object.keys(U)){const R=U[D];R.default!==void 0&&W.indexOf(D)===-1&&(R.optional=!0),R.default===void 0?R.default=null:R.validate||R.default==null||(R.validate=m(d(R.default)));for(const Y of Object.keys(R))if(S.indexOf(Y)===-1)throw new Error(`Unknown field key "${Y}" on ${_}.${D}`)}s[_]=$.visitor=H,c[_]=$.builder=W,l[_]=$.fields=U,o[_]=$.aliases=N,N.forEach(D=>{a[D]=a[D]||[],a[D].push(_)}),$.validate&&(h[_]=$.validate),T[_]=$}},(n,e,t)=>{var r=t(104),i=Function.prototype,s=i.call,o=r&&i.bind.bind(s,s);n.exports=r?o:function(a){return function(){return s.apply(a,arguments)}}},(n,e,t)=>{var r=t(6);n.exports=function(i){return typeof i=="object"?i!==null:r(i)}},(n,e,t)=>{function r(Oe,p){if(Oe==null)return{};var y,O,V={},ee=Object.keys(Oe);for(O=0;O=0||(V[y]=Oe[y]);return V}t(44),Object.defineProperty(e,"__esModule",{value:!0});class i{constructor(p,y,O){this.line=void 0,this.column=void 0,this.index=void 0,this.line=p,this.column=y,this.index=O}}class s{constructor(p,y){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=p,this.end=y}}function o(Oe,p){const{line:y,column:O,index:V}=Oe;return new i(y,O+p,V+p)}const a="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={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}};const c={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"},u=Oe=>{let{type:p,prefix:y}=Oe;return p==="UpdateExpression"?c.UpdateExpression[String(y)]:c[p]};var h={AccessorIsGenerator:Oe=>{let{kind:p}=Oe;return`A ${p}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:Oe=>{let{kind:p}=Oe;return`Missing initializer in ${p} 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:Oe=>{let{exportName:p}=Oe;return`\`${p}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:Oe=>{let{phase:p}=Oe;return`'import.${p}(...)' can only be parsed when using the 'createImportExpressions' option.`},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:Oe=>{let{localName:p,exportName:y}=Oe;return`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${p}' as '${y}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:Oe=>{let{type:p}=Oe;return`'${p==="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:Oe=>{let{type:p}=Oe;return`Unsyntactic ${p==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedAssertSyntax: true` option in the import attributes plugin to suppress this error.",ImportBindingIsString:Oe=>{let{importName:p}=Oe;return`A string literal cannot be used as an imported binding. - Did you mean \`import { "${p}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:Oe=>{let{maxArgumentCount:p}=Oe;return`\`import()\` requires exactly ${p===1?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:Oe=>{let{radix:p}=Oe;return`Expected number in radix ${p}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:Oe=>{let{reservedWord:p}=Oe;return`Escape sequence in keyword ${p}.`},InvalidIdentifier:Oe=>{let{identifierName:p}=Oe;return`Invalid identifier ${p}.`},InvalidLhs:Oe=>{let{ancestor:p}=Oe;return`Invalid left-hand side in ${u(p)}.`},InvalidLhsBinding:Oe=>{let{ancestor:p}=Oe;return`Binding invalid left-hand side in ${u(p)}.`},InvalidLhsOptionalChaining:Oe=>{let{ancestor:p}=Oe;return`Invalid optional chaining in the left-hand side of ${u(p)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:Oe=>{let{unexpected:p}=Oe;return`Unexpected character '${p}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:Oe=>{let{identifierName:p}=Oe;return`Private name #${p} 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:Oe=>{let{labelName:p}=Oe;return`Label '${p}' 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:Oe=>{let{missingPlugin:p}=Oe;return`This experimental syntax requires enabling the parser plugin: ${p.map(y=>JSON.stringify(y)).join(", ")}.`},MissingOneOfPlugins:Oe=>{let{missingPlugin:p}=Oe;return`This experimental syntax requires enabling one of the following parser plugin(s): ${p.map(y=>JSON.stringify(y)).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:Oe=>{let{key:p}=Oe;return`Duplicate key "${p}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:Oe=>{let{surrogateCharCode:p}=Oe;return`An export name cannot include a lone surrogate, found '\\u${p.toString(16)}'.`},ModuleExportUndefined:Oe=>{let{localName:p}=Oe;return`Export '${p}' 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:Oe=>{let{identifierName:p}=Oe;return`Private names are only allowed in property accesses (\`obj.#${p}\`) or in \`in\` expressions (\`#${p} in obj\`).`},PrivateNameRedeclaration:Oe=>{let{identifierName:p}=Oe;return`Duplicate private name #${p}.`},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:Oe=>{let{keyword:p}=Oe;return`Unexpected keyword '${p}'.`},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:Oe=>{let{reservedWord:p}=Oe;return`Unexpected reserved word '${p}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:Oe=>{let{expected:p,unexpected:y}=Oe;return`Unexpected token${y?` '${y}'.`:""}${p?`, expected "${p}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:Oe=>{let{target:p,onlyValidPropertyName:y}=Oe;return`The only valid meta property for ${p} is ${p}.${y}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:Oe=>{let{identifierName:p}=Oe;return`Identifier '${p}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."};const d=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var g={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:Oe=>{let{token:p}=Oe;return`Invalid topic token ${p}. In order to use ${p} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${p}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:Oe=>{let{type:p}=Oe;return`Hack-style pipe body cannot be an unparenthesized ${u({type:p})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const f=["toMessage"],v=["message"];function C(Oe,p,y){Object.defineProperty(Oe,p,{enumerable:!1,configurable:!0,value:y})}function A(Oe){let{toMessage:p}=Oe,y=r(Oe,f);return function O(V,ee){const Se=new SyntaxError;return Object.assign(Se,y,{loc:V,pos:V.index}),"missingPlugin"in ee&&Object.assign(Se,{missingPlugin:ee.missingPlugin}),C(Se,"clone",function(){let Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var Ge;const{line:Ze,column:tt,index:Tt}=(Ge=Be.loc)!=null?Ge:V;return O(new i(Ze,tt,Tt),Object.assign({},ee,Be.details))}),C(Se,"details",ee),Object.defineProperty(Se,"message",{configurable:!0,get(){const Be=`${p(ee)} (${V.line}:${V.column})`;return this.message=Be,Be},set(Be){Object.defineProperty(this,"message",{value:Be,writable:!0})}}),Se}}function b(Oe,p){if(Array.isArray(Oe))return O=>b(O,Oe[0]);const y={};for(const O of Object.keys(Oe)){const V=Oe[O],ee=typeof V=="string"?{message:()=>V}:typeof V=="function"?{message:V}:V,{message:Se}=ee,Be=r(ee,v),Ge=typeof Se=="string"?()=>Se:Se;y[O]=A(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:O,toMessage:Ge},p?{syntaxPlugin:p}:{},Be))}return y}const m=Object.assign({},b(l),b(h),b({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:Oe=>{let{referenceName:p}=Oe;return`Assigning to '${p}' in strict mode.`},StrictEvalArgumentsBinding:Oe=>{let{bindingName:p}=Oe;return`Binding '${p}' 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."}),b`pipelineOperator`(g)),{defineProperty:E}=Object,I=(Oe,p)=>E(Oe,p,{enumerable:!1,value:Oe[p]});function S(Oe){return Oe.loc.start&&I(Oe.loc.start,"index"),Oe.loc.end&&I(Oe.loc.end,"index"),Oe}class T{constructor(p,y){this.token=void 0,this.preserveSpace=void 0,this.token=p,this.preserveSpace=!!y}}const P={brace:new T("{"),j_oTag:new T("...",!0)};P.template=new T("`",!0);const _=!0,$=!0,B=!0,U=!0,H=!0;class N{constructor(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};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=p,this.keyword=y.keyword,this.beforeExpr=!!y.beforeExpr,this.startsExpr=!!y.startsExpr,this.rightAssociative=!!y.rightAssociative,this.isLoop=!!y.isLoop,this.isAssign=!!y.isAssign,this.prefix=!!y.prefix,this.postfix=!!y.postfix,this.binop=y.binop!=null?y.binop:null,this.updateContext=null}}const W=new Map;function D(Oe){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};p.keyword=Oe;const y=me(Oe,p);return W.set(Oe,y),y}function R(Oe,p){return me(Oe,{beforeExpr:_,binop:p})}let Y=-1;const ie=[],de=[],xe=[],X=[],Q=[],he=[];function me(Oe){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var y,O,V,ee;return++Y,de.push(Oe),xe.push((y=p.binop)!=null?y:-1),X.push((O=p.beforeExpr)!=null&&O),Q.push((V=p.startsExpr)!=null&&V),he.push((ee=p.prefix)!=null&&ee),ie.push(new N(Oe,p)),Y}function _e(Oe){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var y,O,V,ee;return++Y,W.set(Oe,Y),de.push(Oe),xe.push((y=p.binop)!=null?y:-1),X.push((O=p.beforeExpr)!=null&&O),Q.push((V=p.startsExpr)!=null&&V),he.push((ee=p.prefix)!=null&&ee),ie.push(new N("name",p)),Y}const fe={bracketL:me("[",{beforeExpr:_,startsExpr:$}),bracketHashL:me("#[",{beforeExpr:_,startsExpr:$}),bracketBarL:me("[|",{beforeExpr:_,startsExpr:$}),bracketR:me("]"),bracketBarR:me("|]"),braceL:me("{",{beforeExpr:_,startsExpr:$}),braceBarL:me("{|",{beforeExpr:_,startsExpr:$}),braceHashL:me("#{",{beforeExpr:_,startsExpr:$}),braceR:me("}"),braceBarR:me("|}"),parenL:me("(",{beforeExpr:_,startsExpr:$}),parenR:me(")"),comma:me(",",{beforeExpr:_}),semi:me(";",{beforeExpr:_}),colon:me(":",{beforeExpr:_}),doubleColon:me("::",{beforeExpr:_}),dot:me("."),question:me("?",{beforeExpr:_}),questionDot:me("?."),arrow:me("=>",{beforeExpr:_}),template:me("template"),ellipsis:me("...",{beforeExpr:_}),backQuote:me("`",{startsExpr:$}),dollarBraceL:me("${",{beforeExpr:_,startsExpr:$}),templateTail:me("...`",{startsExpr:$}),templateNonTail:me("...${",{beforeExpr:_,startsExpr:$}),at:me("@"),hash:me("#",{startsExpr:$}),interpreterDirective:me("#!..."),eq:me("=",{beforeExpr:_,isAssign:U}),assign:me("_=",{beforeExpr:_,isAssign:U}),slashAssign:me("_=",{beforeExpr:_,isAssign:U}),xorAssign:me("_=",{beforeExpr:_,isAssign:U}),moduloAssign:me("_=",{beforeExpr:_,isAssign:U}),incDec:me("++/--",{prefix:H,postfix:!0,startsExpr:$}),bang:me("!",{beforeExpr:_,prefix:H,startsExpr:$}),tilde:me("~",{beforeExpr:_,prefix:H,startsExpr:$}),doubleCaret:me("^^",{startsExpr:$}),doubleAt:me("@@",{startsExpr:$}),pipeline:R("|>",0),nullishCoalescing:R("??",1),logicalOR:R("||",1),logicalAND:R("&&",2),bitwiseOR:R("|",3),bitwiseXOR:R("^",4),bitwiseAND:R("&",5),equality:R("==/!=/===/!==",6),lt:R("/<=/>=",7),gt:R("/<=/>=",7),relational:R("/<=/>=",7),bitShift:R("<>/>>>",8),bitShiftL:R("<>/>>>",8),bitShiftR:R("<>/>>>",8),plusMin:me("+/-",{beforeExpr:_,binop:9,prefix:H,startsExpr:$}),modulo:me("%",{binop:10,startsExpr:$}),star:me("*",{binop:10}),slash:R("/",10),exponent:me("**",{beforeExpr:_,binop:11,rightAssociative:!0}),_in:D("in",{beforeExpr:_,binop:7}),_instanceof:D("instanceof",{beforeExpr:_,binop:7}),_break:D("break"),_case:D("case",{beforeExpr:_}),_catch:D("catch"),_continue:D("continue"),_debugger:D("debugger"),_default:D("default",{beforeExpr:_}),_else:D("else",{beforeExpr:_}),_finally:D("finally"),_function:D("function",{startsExpr:$}),_if:D("if"),_return:D("return",{beforeExpr:_}),_switch:D("switch"),_throw:D("throw",{beforeExpr:_,prefix:H,startsExpr:$}),_try:D("try"),_var:D("var"),_const:D("const"),_with:D("with"),_new:D("new",{beforeExpr:_,startsExpr:$}),_this:D("this",{startsExpr:$}),_super:D("super",{startsExpr:$}),_class:D("class",{startsExpr:$}),_extends:D("extends",{beforeExpr:_}),_export:D("export"),_import:D("import",{startsExpr:$}),_null:D("null",{startsExpr:$}),_true:D("true",{startsExpr:$}),_false:D("false",{startsExpr:$}),_typeof:D("typeof",{beforeExpr:_,prefix:H,startsExpr:$}),_void:D("void",{beforeExpr:_,prefix:H,startsExpr:$}),_delete:D("delete",{beforeExpr:_,prefix:H,startsExpr:$}),_do:D("do",{isLoop:B,beforeExpr:_}),_for:D("for",{isLoop:B}),_while:D("while",{isLoop:B}),_as:_e("as",{startsExpr:$}),_assert:_e("assert",{startsExpr:$}),_async:_e("async",{startsExpr:$}),_await:_e("await",{startsExpr:$}),_defer:_e("defer",{startsExpr:$}),_from:_e("from",{startsExpr:$}),_get:_e("get",{startsExpr:$}),_let:_e("let",{startsExpr:$}),_meta:_e("meta",{startsExpr:$}),_of:_e("of",{startsExpr:$}),_sent:_e("sent",{startsExpr:$}),_set:_e("set",{startsExpr:$}),_source:_e("source",{startsExpr:$}),_static:_e("static",{startsExpr:$}),_using:_e("using",{startsExpr:$}),_yield:_e("yield",{startsExpr:$}),_asserts:_e("asserts",{startsExpr:$}),_checks:_e("checks",{startsExpr:$}),_exports:_e("exports",{startsExpr:$}),_global:_e("global",{startsExpr:$}),_implements:_e("implements",{startsExpr:$}),_intrinsic:_e("intrinsic",{startsExpr:$}),_infer:_e("infer",{startsExpr:$}),_is:_e("is",{startsExpr:$}),_mixins:_e("mixins",{startsExpr:$}),_proto:_e("proto",{startsExpr:$}),_require:_e("require",{startsExpr:$}),_satisfies:_e("satisfies",{startsExpr:$}),_keyof:_e("keyof",{startsExpr:$}),_readonly:_e("readonly",{startsExpr:$}),_unique:_e("unique",{startsExpr:$}),_abstract:_e("abstract",{startsExpr:$}),_declare:_e("declare",{startsExpr:$}),_enum:_e("enum",{startsExpr:$}),_module:_e("module",{startsExpr:$}),_namespace:_e("namespace",{startsExpr:$}),_interface:_e("interface",{startsExpr:$}),_type:_e("type",{startsExpr:$}),_opaque:_e("opaque",{startsExpr:$}),name:me("name",{startsExpr:$}),string:me("string",{startsExpr:$}),num:me("num",{startsExpr:$}),bigint:me("bigint",{startsExpr:$}),decimal:me("decimal",{startsExpr:$}),regexp:me("regexp",{startsExpr:$}),privateName:me("#name",{startsExpr:$}),eof:me("eof"),jsxName:me("jsxName"),jsxText:me("jsxText",{beforeExpr:!0}),jsxTagStart:me("jsxTagStart",{startsExpr:!0}),jsxTagEnd:me("jsxTagEnd"),placeholder:me("%%",{startsExpr:!0})};function oe(Oe){return Oe>=93&&Oe<=132}function J(Oe){return Oe>=58&&Oe<=132}function K(Oe){return Oe>=58&&Oe<=136}function q(Oe){return Q[Oe]}function ue(Oe){return Oe>=129&&Oe<=131}function te(Oe){return Oe>=58&&Oe<=92}function ce(Oe){return de[Oe]}function ge(Oe){return xe[Oe]}function Te(Oe){return Oe>=24&&Oe<=25}function ae(Oe){return ie[Oe]}ie[8].updateContext=Oe=>{Oe.pop()},ie[5].updateContext=ie[7].updateContext=ie[23].updateContext=Oe=>{Oe.push(P.brace)},ie[22].updateContext=Oe=>{Oe[Oe.length-1]===P.template?Oe.pop():Oe.push(P.template)},ie[142].updateContext=Oe=>{Oe.push(P.j_expr,P.j_oTag)};let L="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",F="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const re=new RegExp("["+L+"]"),ke=new RegExp("["+L+F+"]");L=F=null;const ze=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],$e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Ce(Oe,p){let y=65536;for(let O=0,V=p.length;OOe)return!1;if(y+=p[O+1],y>=Oe)return!0}return!1}function Ne(Oe){return Oe<65?Oe===36:Oe<=90||(Oe<97?Oe===95:Oe<=122||(Oe<=65535?Oe>=170&&re.test(String.fromCharCode(Oe)):Ce(Oe,ze)))}function Ye(Oe){return Oe<48?Oe===36:Oe<58||!(Oe<65)&&(Oe<=90||(Oe<97?Oe===95:Oe<=122||(Oe<=65535?Oe>=170&&ke.test(String.fromCharCode(Oe)):Ce(Oe,ze)||Ce(Oe,$e))))}const st=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"]),ht=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),It=new Set(["eval","arguments"]);function Ir(Oe,p){return p&&Oe==="await"||Oe==="enum"}function rr(Oe,p){return Ir(Oe,p)||ht.has(Oe)}function Sr(Oe){return It.has(Oe)}function Vr(Oe,p){return rr(Oe,p)||Sr(Oe)}const wt=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"]);class Nn{constructor(p){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=p}}class $n{constructor(p,y){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=p,this.inModule=y}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const p=this.currentThisScopeFlags();return(64&p)>0&&(2&p)==0}get inStaticBlock(){for(let p=this.scopeStack.length-1;;p--){const{flags:y}=this.scopeStack[p];if(128&y)return!0;if(451&y)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(p){return new Nn(p)}enter(p){this.scopeStack.push(this.createScope(p))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(p){return!!(130&p.flags||!this.parser.inModule&&1&p.flags)}declareName(p,y,O){let V=this.currentScope();if(8&y||16&y){this.checkRedeclarationInScope(V,p,y,O);let ee=V.names.get(p)||0;16&y?ee|=4:(V.firstLexicalName||(V.firstLexicalName=p),ee|=2),V.names.set(p,ee),8&y&&this.maybeExportDefined(V,p)}else if(4&y)for(let ee=this.scopeStack.length-1;ee>=0&&(V=this.scopeStack[ee],this.checkRedeclarationInScope(V,p,y,O),V.names.set(p,1|(V.names.get(p)||0)),this.maybeExportDefined(V,p),!(387&V.flags));--ee);this.parser.inModule&&1&V.flags&&this.undefinedExports.delete(p)}maybeExportDefined(p,y){this.parser.inModule&&1&p.flags&&this.undefinedExports.delete(y)}checkRedeclarationInScope(p,y,O,V){this.isRedeclaredInScope(p,y,O)&&this.parser.raise(m.VarRedeclaration,V,{identifierName:y})}isRedeclaredInScope(p,y,O){if(!(1&O))return!1;if(8&O)return p.names.has(y);const V=p.names.get(y);return 16&O?(2&V)>0||!this.treatFunctionsAsVarInScope(p)&&(1&V)>0:(2&V)>0&&!(8&p.flags&&p.firstLexicalName===y)||!this.treatFunctionsAsVarInScope(p)&&(4&V)>0}checkLocalExport(p){const{name:y}=p;this.scopeStack[0].names.has(y)||this.undefinedExports.set(y,p.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let p=this.scopeStack.length-1;;p--){const{flags:y}=this.scopeStack[p];if(387&y)return y}}currentThisScopeFlags(){for(let p=this.scopeStack.length-1;;p--){const{flags:y}=this.scopeStack[p];if(451&y&&!(4&y))return y}}}class Pn extends Nn{constructor(){super(...arguments),this.declareFunctions=new Set}}class Xn extends $n{createScope(p){return new Pn(p)}declareName(p,y,O){const V=this.currentScope();if(2048&y)return this.checkRedeclarationInScope(V,p,y,O),this.maybeExportDefined(V,p),void V.declareFunctions.add(p);super.declareName(p,y,O)}isRedeclaredInScope(p,y,O){if(super.isRedeclaredInScope(p,y,O))return!0;if(2048&O&&!p.declareFunctions.has(y)){const V=p.names.get(y);return(4&V)>0||(2&V)>0}return!1}checkLocalExport(p){this.scopeStack[0].declareFunctions.has(p.name)||super.checkLocalExport(p)}}class si{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(p){if(typeof p=="string")return this.plugins.has(p);{const[y,O]=p;if(!this.hasPlugin(y))return!1;const V=this.plugins.get(y);for(const ee of Object.keys(O))if(V?.[ee]!==O[ee])return!1;return!0}}getPluginOption(p,y){var O;return(O=this.plugins.get(p))==null?void 0:O[y]}}function bs(Oe,p){Oe.trailingComments===void 0?Oe.trailingComments=p:Oe.trailingComments.unshift(...p)}function Nr(Oe,p){Oe.innerComments===void 0?Oe.innerComments=p:Oe.innerComments.unshift(...p)}function Xi(Oe,p,y){let O=null,V=p.length;for(;O===null&&V>0;)O=p[--V];O===null||O.start>y.start?Nr(Oe,y.comments):bs(O,y.comments)}class js extends si{addComment(p){this.filename&&(p.loc.filename=this.filename);const{commentsLen:y}=this.state;this.comments.length!=y&&(this.comments.length=y),this.comments.push(p),this.state.commentsLen++}processComment(p){const{commentStack:y}=this.state,O=y.length;if(O===0)return;let V=O-1;const ee=y[V];ee.start===p.end&&(ee.leadingNode=p,V--);const{start:Se}=p;for(;V>=0;V--){const Be=y[V],Ge=Be.end;if(!(Ge>Se)){Ge===Se&&(Be.trailingNode=p);break}Be.containingNode=p,this.finalizeComment(Be),y.splice(V,1)}}finalizeComment(p){const{comments:y}=p;if(p.leadingNode!==null||p.trailingNode!==null)p.leadingNode!==null&&bs(p.leadingNode,y),p.trailingNode!==null&&function(O,V){O.leadingComments===void 0?O.leadingComments=V:O.leadingComments.unshift(...V)}(p.trailingNode,y);else{const{containingNode:O,start:V}=p;if(this.input.charCodeAt(V-1)===44)switch(O.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Xi(O,O.properties,p);break;case"CallExpression":case"OptionalCallExpression":Xi(O,O.arguments,p);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Xi(O,O.params,p);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Xi(O,O.elements,p);break;case"ExportNamedDeclaration":case"ImportDeclaration":Xi(O,O.specifiers,p);break;default:Nr(O,y)}else Nr(O,y)}}finalizeRemainingComments(){const{commentStack:p}=this.state;for(let y=p.length-1;y>=0;y--)this.finalizeComment(p[y]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(p){const{commentStack:y}=this.state,{length:O}=y;if(O===0)return;const V=y[O-1];V.leadingNode===p&&(V.leadingNode=null)}resetPreviousIdentifierLeadingComments(p){const{commentStack:y}=this.state,{length:O}=y;O!==0&&(y[O-1].trailingNode===p?y[O-1].trailingNode=null:O>=2&&y[O-2].trailingNode===p&&(y[O-2].trailingNode=null))}takeSurroundingComments(p,y,O){const{commentStack:V}=this.state,ee=V.length;if(ee===0)return;let Se=ee-1;for(;Se>=0;Se--){const Be=V[Se],Ge=Be.end;if(Be.start===O)Be.leadingNode=p;else if(Ge===y)Be.trailingNode=p;else if(Ge0}set strict(p){p?this.flags|=1:this.flags&=-2}init(p){let{strictMode:y,sourceType:O,startLine:V,startColumn:ee}=p;this.strict=y!==!1&&(y===!0||O==="module"),this.curLine=V,this.lineStart=-ee,this.startLoc=this.endLoc=new i(V,ee,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(p){p?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(p){p?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(p){p?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(p){p?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(p){p?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(p){p?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(p){p?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(p){p?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(p){p?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(p){p?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(p){p?this.flags|=2048:this.flags&=-2049}curPosition(){return new i(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const p=new ar;return p.flags=this.flags,p.curLine=this.curLine,p.lineStart=this.lineStart,p.startLoc=this.startLoc,p.endLoc=this.endLoc,p.errors=this.errors.slice(),p.potentialArrowAt=this.potentialArrowAt,p.noArrowAt=this.noArrowAt.slice(),p.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),p.topicContext=this.topicContext,p.labels=this.labels.slice(),p.commentsLen=this.commentsLen,p.commentStack=this.commentStack.slice(),p.pos=this.pos,p.type=this.type,p.value=this.value,p.start=this.start,p.end=this.end,p.lastTokEndLoc=this.lastTokEndLoc,p.lastTokStartLoc=this.lastTokStartLoc,p.context=this.context.slice(),p.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,p.strictErrors=this.strictErrors,p.tokensLength=this.tokensLength,p}}var Dr=function(Oe){return Oe>=48&&Oe<=57};const yr={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},dt={bin:Oe=>Oe===48||Oe===49,oct:Oe=>Oe>=48&&Oe<=55,dec:Oe=>Oe>=48&&Oe<=57,hex:Oe=>Oe>=48&&Oe<=57||Oe>=65&&Oe<=70||Oe>=97&&Oe<=102};function Ot(Oe,p,y,O,V,ee){const Se=y,Be=O,Ge=V;let Ze="",tt=null,Tt=y;const{length:mr}=p;for(;;){if(y>=mr){ee.unterminated(Se,Be,Ge),Ze+=p.slice(Tt,y);break}const vr=p.charCodeAt(y);if(_t(Oe,vr,p,y)){Ze+=p.slice(Tt,y);break}if(vr===92){Ze+=p.slice(Tt,y);const rn=Qt(p,y,O,V,Oe==="template",ee);rn.ch!==null||tt?Ze+=rn.ch:tt={pos:y,lineStart:O,curLine:V},{pos:y,lineStart:O,curLine:V}=rn,Tt=y}else vr===8232||vr===8233?(++V,O=++y):vr===10||vr===13?Oe==="template"?(Ze+=p.slice(Tt,y)+` `,++y,vr===13&&p.charCodeAt(y)===10&&++y,++V,Tt=O=y):ee.unterminated(Se,Be,Ge):++y}return{pos:y,str:Ze,firstInvalidLoc:tt,lineStart:O,curLine:V,containsInvalid:!!tt}}function _t(Oe,p,y,O){return Oe==="template"?p===96||p===36&&y.charCodeAt(O+1)===123:p===(Oe==="double"?34:39)}function Qt(Oe,p,y,O,V,ee){const Se=!V;p++;const Be=Ze=>({pos:p,ch:Ze,lineStart:y,curLine:O}),Ge=Oe.charCodeAt(p++);switch(Ge){case 110:return Be(` `);case 114:return Be("\r");case 120:{let Ze;return{code:Ze,pos:p}=wr(Oe,p,y,O,2,!1,Se,ee),Be(Ze===null?null:String.fromCharCode(Ze))}case 117:{let Ze;return{code:Ze,pos:p}=Er(Oe,p,y,O,Se,ee),Be(Ze===null?null:String.fromCodePoint(Ze))}case 116:return Be(" ");case 98:return Be("\b");case 118:return Be("\v");case 102:return Be("\f");case 13:Oe.charCodeAt(p)===10&&++p;case 10:y=p,++O;case 8232:case 8233:return Be("");case 56:case 57:if(V)return Be(null);ee.strictNumericEscape(p-1,y,O);default:if(Ge>=48&&Ge<=55){const Ze=p-1;let tt=Oe.slice(Ze,p+2).match(/^[0-7]+/)[0],Tt=parseInt(tt,8);Tt>255&&(tt=tt.slice(0,-1),Tt=parseInt(tt,8)),p+=tt.length-1;const mr=Oe.charCodeAt(p);if(tt!=="0"||mr===56||mr===57){if(V)return Be(null);ee.strictNumericEscape(Ze,y,O)}return Be(String.fromCharCode(Tt))}return Be(String.fromCharCode(Ge))}}function wr(Oe,p,y,O,V,ee,Se,Be){const Ge=p;let Ze;return{n:Ze,pos:p}=nn(Oe,p,y,O,16,V,ee,!1,Be,!Se),Ze===null&&(Se?Be.invalidEscapeSequence(Ge,y,O):p=Ge-1),{code:Ze,pos:p}}function nn(Oe,p,y,O,V,ee,Se,Be,Ge,Ze){const tt=p,Tt=V===16?yr.hex:yr.decBinOct,mr=V===16?dt.hex:V===10?dt.dec:V===8?dt.oct:dt.bin;let vr=!1,rn=0;for(let Ti=0,ni=ee??1/0;Ti=97?$i-97+10:$i>=65?$i-65+10:Dr($i)?$i-48:1/0,es>=V){if(es<=9&&Ze)return{n:null,pos:p};if(es<=9&&Ge.invalidDigit(p,y,O,V))es=0;else{if(!Se)break;es=0,vr=!0}}++p,rn=rn*V+es}else{const yl=Oe.charCodeAt(p-1),Vi=Oe.charCodeAt(p+1);if(Be){if(Number.isNaN(Vi)||!mr(Vi)||Tt.has(yl)||Tt.has(Vi)){if(Ze)return{n:null,pos:p};Ge.unexpectedNumericSeparator(p,y,O)}}else{if(Ze)return{n:null,pos:p};Ge.numericSeparatorInEscapeSequence(p,y,O)}++p}}return p===tt||ee!=null&&p-tt!==ee||vr?{n:null,pos:p}:{n:rn,pos:p}}function Er(Oe,p,y,O,V,ee){let Se;if(Oe.charCodeAt(p)===123){if(++p,{code:Se,pos:p}=wr(Oe,p,y,O,Oe.indexOf("}",p)-p,!0,V,ee),++p,Se!==null&&Se>1114111){if(!V)return{code:null,pos:p};ee.invalidCodePoint(p,y,O)}}else({code:Se,pos:p}=wr(Oe,p,y,O,4,!1,V,ee));return{code:Se,pos:p}}function en(Oe,p,y){return new i(y,Oe-p,Oe)}const Bn=new Set([103,109,115,105,121,117,100,118]);class tn{constructor(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,this.loc=new s(p.startLoc,p.endLoc)}}class bn extends js{constructor(p,y){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(O,V,ee,Se)=>!!this.options.errorRecovery&&(this.raise(m.InvalidDigit,en(O,V,ee),{radix:Se}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(m.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(m.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(m.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(m.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(O,V,ee)=>{this.recordStrictModeErrors(m.StrictNumericEscape,en(O,V,ee))},unterminated:(O,V,ee)=>{throw this.raise(m.UnterminatedString,en(O-1,V,ee))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(m.StrictNumericEscape),unterminated:(O,V,ee)=>{throw this.raise(m.UnterminatedTemplate,en(O,V,ee))}}),this.state=new ar,this.state.init(p),this.input=y,this.length=y.length,this.comments=[],this.isLookahead=!1}pushToken(p){this.tokens.length=this.state.tokensLength,this.tokens.push(p),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new tn(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(p){return!!this.match(p)&&(this.next(),!0)}match(p){return this.state.type===p}createLookaheadState(p){return{pos:p.pos,value:null,type:p.type,start:p.start,end:p.end,context:[this.curContext()],inType:p.inType,startLoc:p.startLoc,lastTokEndLoc:p.lastTokEndLoc,curLine:p.curLine,lineStart:p.lineStart,curPosition:p.curPosition}}lookahead(){const p=this.state;this.state=this.createLookaheadState(p),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const y=this.state;return this.state=p,y}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(p){return ct.lastIndex=p,ct.test(this.input)?ct.lastIndex:p}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(p){return Mt.lastIndex=p,Mt.test(this.input)?Mt.lastIndex:p}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(p){let y=this.input.charCodeAt(p);if((64512&y)==55296&&++p{let[O,V]=y;return this.raise(O,V)}),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(139):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(p){let y;this.isLookahead||(y=this.state.curPosition());const O=this.state.pos,V=this.input.indexOf(p,O+2);if(V===-1)throw this.raise(m.UnterminatedComment,this.state.curPosition());for(this.state.pos=V+p.length,pt.lastIndex=O+2;pt.test(this.input)&&pt.lastIndex<=V;)++this.state.curLine,this.state.lineStart=pt.lastIndex;if(this.isLookahead)return;const ee={type:"CommentBlock",value:this.input.slice(O+2,V),start:O,end:V+p.length,loc:new s(y,this.state.curPosition())};return this.options.tokens&&this.pushToken(ee),ee}skipLineComment(p){const y=this.state.pos;let O;this.isLookahead||(O=this.state.curPosition());let V=this.input.charCodeAt(this.state.pos+=p);if(this.state.posp))break e;{const ee=this.skipLineComment(3);ee!==void 0&&(this.addComment(ee),this.options.attachComment&&y.push(ee))}}else{if(O!==60||this.inModule||!this.options.annexB)break e;{const V=this.state.pos;if(this.input.charCodeAt(V+1)!==33||this.input.charCodeAt(V+2)!==45||this.input.charCodeAt(V+3)!==45)break e;{const ee=this.skipLineComment(4);ee!==void 0&&(this.addComment(ee),this.options.attachComment&&y.push(ee))}}}}}if(y.length>0){const O={start:p,end:this.state.pos,comments:y,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(O)}}finishToken(p,y){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const O=this.state.type;this.state.type=p,this.state.value=y,this.isLookahead||this.updateContext(O)}replaceToken(p){this.state.type=p,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const p=this.state.pos+1,y=this.codePointAtPos(p);if(y>=48&&y<=57)throw this.raise(m.UnexpectedDigitAfterHash,this.state.curPosition());if(y===123||y===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(y===123?m.RecordExpressionHashIncorrectStartSyntaxType:m.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,y===123?this.finishToken(7):this.finishToken(1)}else Ne(y)?(++this.state.pos,this.finishToken(138,this.readWord1(y))):y===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const p=this.input.charCodeAt(this.state.pos+1);p>=48&&p<=57?this.readNumber(!0):p===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 p=this.input.charCodeAt(this.state.pos+1);if(p!==33)return!1;const y=this.state.pos;for(this.state.pos+=1;!gt(p)&&++this.state.pos=48&&y<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(p){switch(p){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(m.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(m.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{const y=this.input.charCodeAt(this.state.pos+1);if(y===120||y===88)return void this.readRadixNumber(16);if(y===111||y===79)return void this.readRadixNumber(8);if(y===98||y===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(p);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(p);case 124:case 38:return void this.readToken_pipe_amp(p);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(p);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(p);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Ne(p))return void this.readWord(p)}throw this.raise(m.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(p)})}finishOp(p,y){const O=this.input.slice(this.state.pos,this.state.pos+y);this.state.pos+=y,this.finishToken(p,O)}readRegexp(){const p=this.state.startLoc,y=this.state.start+1;let O,V,{pos:ee}=this.state;for(;;++ee){if(ee>=this.length)throw this.raise(m.UnterminatedRegExp,o(p,1));const Ze=this.input.charCodeAt(ee);if(gt(Ze))throw this.raise(m.UnterminatedRegExp,o(p,1));if(O)O=!1;else{if(Ze===91)V=!0;else if(Ze===93&&V)V=!1;else if(Ze===47&&!V)break;O=Ze===92}}const Se=this.input.slice(y,ee);++ee;let Be="";const Ge=()=>o(p,ee+2-y);for(;ee2&&arguments[2]!==void 0&&arguments[2],V=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];const{n:ee,pos:Se}=nn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,p,y,O,V,this.errorHandlers_readInt,!1);return this.state.pos=Se,ee}readRadixNumber(p){const y=this.state.curPosition();let O=!1;this.state.pos+=2;const V=this.readInt(p);V==null&&this.raise(m.InvalidDigit,o(y,2),{radix:p});const ee=this.input.charCodeAt(this.state.pos);if(ee===110)++this.state.pos,O=!0;else if(ee===109)throw this.raise(m.InvalidDecimal,y);if(Ne(this.codePointAtPos(this.state.pos)))throw this.raise(m.NumberIdentifier,this.state.curPosition());if(O){const Se=this.input.slice(y.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,Se)}else this.finishToken(134,V)}readNumber(p){const y=this.state.pos,O=this.state.curPosition();let V=!1,ee=!1,Se=!1,Be=!1,Ge=!1;p||this.readInt(10)!==null||this.raise(m.InvalidNumber,this.state.curPosition());const Ze=this.state.pos-y>=2&&this.input.charCodeAt(y)===48;if(Ze){const vr=this.input.slice(y,this.state.pos);if(this.recordStrictModeErrors(m.StrictOctalLiteral,O),!this.state.strict){const rn=vr.indexOf("_");rn>0&&this.raise(m.ZeroDigitNumericSeparator,o(O,rn))}Ge=Ze&&!/[89]/.test(vr)}let tt=this.input.charCodeAt(this.state.pos);if(tt!==46||Ge||(++this.state.pos,this.readInt(10),V=!0,tt=this.input.charCodeAt(this.state.pos)),tt!==69&&tt!==101||Ge||(tt=this.input.charCodeAt(++this.state.pos),tt!==43&&tt!==45||++this.state.pos,this.readInt(10)===null&&this.raise(m.InvalidOrMissingExponent,O),V=!0,Be=!0,tt=this.input.charCodeAt(this.state.pos)),tt===110&&((V||Ze)&&this.raise(m.InvalidBigIntLiteral,O),++this.state.pos,ee=!0),tt===109&&(this.expectPlugin("decimal",this.state.curPosition()),(Be||Ze)&&this.raise(m.InvalidDecimal,O),++this.state.pos,Se=!0),Ne(this.codePointAtPos(this.state.pos)))throw this.raise(m.NumberIdentifier,this.state.curPosition());const Tt=this.input.slice(y,this.state.pos).replace(/[_mn]/g,"");if(ee)return void this.finishToken(135,Tt);if(Se)return void this.finishToken(136,Tt);const mr=Ge?parseInt(Tt,8):parseFloat(Tt);this.finishToken(134,mr)}readCodePoint(p){const{code:y,pos:O}=Er(this.input,this.state.pos,this.state.lineStart,this.state.curLine,p,this.errorHandlers_readCodePoint);return this.state.pos=O,y}readString(p){const{str:y,pos:O,curLine:V,lineStart:ee}=Ot(p===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=O+1,this.state.lineStart=ee,this.state.curLine=V,this.finishToken(133,y)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const p=this.input[this.state.pos],{str:y,firstInvalidLoc:O,pos:V,curLine:ee,lineStart:Se}=Ot("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=V+1,this.state.lineStart=Se,this.state.curLine=ee,O&&(this.state.firstInvalidTemplateEscapePos=new i(O.curLine,O.pos-O.lineStart,O.pos)),this.input.codePointAt(V)===96?this.finishToken(24,O?null:p+y+"`"):(this.state.pos++,this.finishToken(25,O?null:p+y+"${"))}recordStrictModeErrors(p,y){const O=y.index;this.state.strict&&!this.state.strictErrors.has(O)?this.raise(p,y):this.state.strictErrors.set(O,[p,y])}readWord1(p){this.state.containsEsc=!1;let y="";const O=this.state.pos;let V=this.state.pos;for(p!==void 0&&(this.state.pos+=p<=65535?1:2);this.state.pos2&&arguments[2]!==void 0?arguments[2]:{};const V=p(y instanceof i?y:y.loc.start,O);if(!this.options.errorRecovery)throw V;return this.isLookahead||this.state.errors.push(V),V}raiseOverwrite(p,y){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const V=y instanceof i?y:y.loc.start,ee=V.index,Se=this.state.errors;for(let Be=Se.length-1;Be>=0;Be--){const Ge=Se[Be];if(Ge.loc.index===ee)return Se[Be]=p(V,O);if(Ge.loc.indexthis.hasPlugin(y)))throw this.raise(m.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:p})}errorBuilder(p){return(y,O,V)=>{this.raise(p,en(y,O,V))}}}class En{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Mi{constructor(p){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=p}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new En)}exit(){const p=this.stack.pop(),y=this.current();for(const[O,V]of Array.from(p.undefinedPrivateNames))y?y.undefinedPrivateNames.has(O)||y.undefinedPrivateNames.set(O,V):this.parser.raise(m.InvalidPrivateFieldResolution,V,{identifierName:O})}declarePrivateName(p,y,O){const{privateNames:V,loneAccessors:ee,undefinedPrivateNames:Se}=this.current();let Be=V.has(p);if(3&y){const Ge=Be&&ee.get(p);Ge?(Be=(3&Ge)==(3&y)||(4&Ge)!=(4&y),Be||ee.delete(p)):Be||ee.set(p,y)}Be&&this.parser.raise(m.PrivateNameRedeclaration,O,{identifierName:p}),V.add(p),Se.delete(p)}usePrivateName(p,y){let O;for(O of this.stack)if(O.privateNames.has(p))return;O?O.undefinedPrivateNames.set(p,y):this.parser.raise(m.InvalidPrivateFieldResolution,y,{identifierName:p})}}class In{constructor(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.type=p}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Hr extends In{constructor(p){super(p),this.declarationErrors=new Map}recordDeclarationError(p,y){const O=y.index;this.declarationErrors.set(O,[p,y])}clearDeclarationError(p){this.declarationErrors.delete(p)}iterateErrors(p){this.declarationErrors.forEach(p)}}class Dn{constructor(p){this.parser=void 0,this.stack=[new In],this.parser=p}enter(p){this.stack.push(p)}exit(){this.stack.pop()}recordParameterInitializerError(p,y){const O=y.loc.start,{stack:V}=this;let ee=V.length-1,Se=V[ee];for(;!Se.isCertainlyParameterDeclaration();){if(!Se.canBeArrowParameterDeclaration())return;Se.recordDeclarationError(p,O),Se=V[--ee]}this.parser.raise(p,O)}recordArrowParameterBindingError(p,y){const{stack:O}=this,V=O[O.length-1],ee=y.loc.start;if(V.isCertainlyParameterDeclaration())this.parser.raise(p,ee);else{if(!V.canBeArrowParameterDeclaration())return;V.recordDeclarationError(p,ee)}}recordAsyncArrowParametersError(p){const{stack:y}=this;let O=y.length-1,V=y[O];for(;V.canBeArrowParameterDeclaration();)V.type===2&&V.recordDeclarationError(m.AwaitBindingIdentifier,p),V=y[--O]}validateAsPattern(){const{stack:p}=this,y=p[p.length-1];y.canBeArrowParameterDeclaration()&&y.iterateErrors(O=>{let[V,ee]=O;this.parser.raise(V,ee);let Se=p.length-2,Be=p[Se];for(;Be.canBeArrowParameterDeclaration();)Be.clearDeclarationError(ee.index),Be=p[--Se]})}}function ui(){return new In}class Ds{constructor(){this.stacks=[]}enter(p){this.stacks.push(p)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function as(Oe,p){return(Oe?2:0)|(p?1:0)}class hi extends bn{addExtra(p,y,O){let V=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!p)return;const ee=p.extra=p.extra||{};V?ee[y]=O:Object.defineProperty(ee,y,{enumerable:V,value:O})}isContextual(p){return this.state.type===p&&!this.state.containsEsc}isUnparsedContextual(p,y){const O=p+y.length;if(this.input.slice(p,O)===y){const V=this.input.charCodeAt(O);return!(Ye(V)||(64512&V)==55296)}return!1}isLookaheadContextual(p){const y=this.nextTokenStart();return this.isUnparsedContextual(y,p)}eatContextual(p){return!!this.isContextual(p)&&(this.next(),!0)}expectContextual(p,y){if(!this.eatContextual(p)){if(y!=null)throw this.raise(y,this.state.startLoc);this.unexpected(null,p)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Zi.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Dt.lastIndex=this.state.end,Dt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&arguments[0]!==void 0&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(m.MissingSemicolon,this.state.lastTokEndLoc)}expect(p,y){this.eat(p)||this.unexpected(y,p)}tryParse(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone();const O={node:null};try{const V=p(function(){let ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw O.node=ee,O});if(this.state.errors.length>y.errors.length){const ee=this.state;return this.state=y,this.state.tokensLength=ee.tokensLength,{node:V,error:ee.errors[y.errors.length],thrown:!1,aborted:!1,failState:ee}}return{node:V,error:null,thrown:!1,aborted:!1,failState:null}}catch(V){const ee=this.state;if(this.state=y,V instanceof SyntaxError)return{node:null,error:V,thrown:!0,aborted:!1,failState:ee};if(V===O)return{node:O.node,error:null,thrown:!1,aborted:!0,failState:ee};throw V}}checkExpressionErrors(p,y){if(!p)return!1;const{shorthandAssignLoc:O,doubleProtoLoc:V,privateKeyLoc:ee,optionalParametersLoc:Se}=p;if(!y)return!!(O||V||Se||ee);O!=null&&this.raise(m.InvalidCoverInitializedName,O),V!=null&&this.raise(m.DuplicateProto,V),ee!=null&&this.raise(m.UnexpectedPrivateField,ee),Se!=null&&this.unexpected(Se)}isLiteralPropertyName(){return K(this.state.type)}isPrivateName(p){return p.type==="PrivateName"}getPrivateNameSV(p){return p.id.name}hasPropertyAsPrivateName(p){return(p.type==="MemberExpression"||p.type==="OptionalMemberExpression")&&this.isPrivateName(p.property)}isObjectProperty(p){return p.type==="ObjectProperty"}isObjectMethod(p){return p.type==="ObjectMethod"}initializeScopes(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module";const y=this.state.labels;this.state.labels=[];const O=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const V=this.inModule;this.inModule=p;const ee=this.scope,Se=this.getScopeHandler();this.scope=new Se(this,p);const Be=this.prodParam;this.prodParam=new Ds;const Ge=this.classScope;this.classScope=new Mi(this);const Ze=this.expressionScope;return this.expressionScope=new Dn(this),()=>{this.state.labels=y,this.exportedIdentifiers=O,this.inModule=V,this.scope=ee,this.prodParam=Be,this.classScope=Ge,this.expressionScope=Ze}}enterInitialScopes(){let p=0;this.inModule&&(p|=2),this.scope.enter(1),this.prodParam.enter(p)}checkDestructuringPrivate(p){const{privateKeyLoc:y}=p;y!==null&&this.expectPlugin("destructuringPrivate",y)}}class Es{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class mi{constructor(p,y,O){this.type="",this.start=y,this.end=0,this.loc=new s(O),p!=null&&p.options.ranges&&(this.range=[y,0]),p!=null&&p.filename&&(this.loc.filename=p.filename)}}const Fi=mi.prototype;function ls(Oe){const{type:p,start:y,end:O,loc:V,range:ee,extra:Se,name:Be}=Oe,Ge=Object.create(Fi);return Ge.type=p,Ge.start=y,Ge.end=O,Ge.loc=V,Ge.range=ee,Ge.extra=Se,Ge.name=Be,p==="Placeholder"&&(Ge.expectedNode=Oe.expectedNode),Ge}Fi.__clone=function(){const Oe=new mi(void 0,this.start,this.loc.start),p=Object.keys(this);for(let y=0,O=p.length;y1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;p.end=y.index,p.loc.end=y,this.options.ranges&&(p.range[1]=y.index)}resetStartLocationFromNode(p,y){this.resetStartLocation(p,y.loc.start)}}const Qi=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),nr=b`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:Oe=>{let{reservedType:p}=Oe;return`Cannot overwrite reserved type ${p}.`},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:Oe=>{let{memberName:p,enumName:y}=Oe;return`Boolean enum members need to be initialized. Use either \`${p} = true,\` or \`${p} = false,\` in enum \`${y}\`.`},EnumDuplicateMemberName:Oe=>{let{memberName:p,enumName:y}=Oe;return`Enum member names need to be unique, but the name \`${p}\` has already been used before in enum \`${y}\`.`},EnumInconsistentMemberValues:Oe=>{let{enumName:p}=Oe;return`Enum \`${p}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:Oe=>{let{invalidEnumType:p,enumName:y}=Oe;return`Enum type \`${p}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${y}\`.`},EnumInvalidExplicitTypeUnknownSupplied:Oe=>{let{enumName:p}=Oe;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${p}\`.`},EnumInvalidMemberInitializerPrimaryType:Oe=>{let{enumName:p,memberName:y,explicitType:O}=Oe;return`Enum \`${p}\` has type \`${O}\`, so the initializer of \`${y}\` needs to be a ${O} literal.`},EnumInvalidMemberInitializerSymbolType:Oe=>{let{enumName:p,memberName:y}=Oe;return`Symbol enum members cannot be initialized. Use \`${y},\` in enum \`${p}\`.`},EnumInvalidMemberInitializerUnknownType:Oe=>{let{enumName:p,memberName:y}=Oe;return`The enum member initializer for \`${y}\` needs to be a literal (either a boolean, number, or string) in enum \`${p}\`.`},EnumInvalidMemberName:Oe=>{let{enumName:p,memberName:y,suggestion:O}=Oe;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${y}\`, consider using \`${O}\`, in enum \`${p}\`.`},EnumNumberMemberNotInitialized:Oe=>{let{enumName:p,memberName:y}=Oe;return`Number enum members need to be initialized, e.g. \`${y} = 1\` in enum \`${p}\`.`},EnumStringMemberInconsistentlyInitialized:Oe=>{let{enumName:p}=Oe;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${p}\`.`},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:Oe=>{let{reservedType:p}=Oe;return`Unexpected reserved type ${p}.`},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 ` async () => {}`, use `async () => {}`.",UnsupportedDeclareExportKind:Oe=>{let{unsupportedExportKind:p,suggestion:y}=Oe;return`\`declare export ${p}\` is not supported. Use \`${y}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function ia(Oe){return Oe.importKind==="type"||Oe.importKind==="typeof"}const Ro={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Fs=/\*?\s*@((?:no)?flow)\b/,Mn={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",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:"♦"},cs=b`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:Oe=>{let{openingTagName:p}=Oe;return`Expected corresponding JSX closing tag for <${p}>.`},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:Oe=>{let{unexpected:p,HTMLEntity:y}=Oe;return`Unexpected token \`${p}\`. Did you mean \`${y}\` or \`{'${p}'}\`?`},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 sn(Oe){return!!Oe&&(Oe.type==="JSXOpeningFragment"||Oe.type==="JSXClosingFragment")}function ti(Oe){if(Oe.type==="JSXIdentifier")return Oe.name;if(Oe.type==="JSXNamespacedName")return Oe.namespace.name+":"+Oe.name.name;if(Oe.type==="JSXMemberExpression")return ti(Oe.object)+"."+ti(Oe.property);throw new Error("Node had unexpected type: "+Oe.type)}class ir extends Nn{constructor(){super(...arguments),this.tsNames=new Map}}class ki extends $n{constructor(){super(...arguments),this.importsStack=[]}createScope(p){return this.importsStack.push(new Set),new ir(p)}enter(p){p==256&&this.importsStack.push(new Set),super.enter(p)}exit(){const p=super.exit();return p==256&&this.importsStack.pop(),p}hasImport(p,y){const O=this.importsStack.length;if(this.importsStack[O-1].has(p))return!0;if(!y&&O>1){for(let V=0;V0?!(256&O)||!!(512&O)!=(4&V)>0:128&O&&(8&V)>0?!!(2&p.names.get(y))&&!!(1&O):!!(2&O&&(1&V)>0)||super.isRedeclaredInScope(p,y,O)}checkLocalExport(p){const{name:y}=p;if(!this.hasImport(y)){for(let O=this.scopeStack.length-1;O>=0;O--){const V=this.scopeStack[O].tsNames.get(y);if((1&V)>0||(16&V)>0)return}super.checkLocalExport(p)}}}const Ri=Oe=>Oe.type==="ParenthesizedExpression"?Ri(Oe.expression):Oe;class Ji extends Wa{toAssignable(p){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];var O,V;let ee;switch((p.type==="ParenthesizedExpression"||(O=p.extra)!=null&&O.parenthesized)&&(ee=Ri(p),y?ee.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(m.InvalidParenthesizedAssignment,p):ee.type==="MemberExpression"||this.isOptionalMemberExpression(ee)||this.raise(m.InvalidParenthesizedAssignment,p):this.raise(m.InvalidParenthesizedAssignment,p)),p.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":p.type="ObjectPattern";for(let Be=0,Ge=p.properties.length,Ze=Ge-1;BeV.type!=="ObjectMethod"&&(ee===O||V.type!=="SpreadElement")&&this.isAssignable(V))}case"ObjectProperty":return this.isAssignable(p.value);case"SpreadElement":return this.isAssignable(p.argument);case"ArrayExpression":return p.elements.every(O=>O===null||this.isAssignable(O));case"AssignmentExpression":return p.operator==="=";case"ParenthesizedExpression":return this.isAssignable(p.expression);case"MemberExpression":case"OptionalMemberExpression":return!y;default:return!1}}toReferencedList(p,y){return p}toReferencedListDeep(p,y){this.toReferencedList(p,y);for(const O of p)O?.type==="ArrayExpression"&&this.toReferencedListDeep(O.elements)}parseSpread(p){const y=this.startNode();return this.next(),y.argument=this.parseMaybeAssignAllowIn(p,void 0),this.finishNode(y,"SpreadElement")}parseRestBinding(){const p=this.startNode();return this.next(),p.argument=this.parseBindingAtom(),this.finishNode(p,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const p=this.startNode();return this.next(),p.elements=this.parseBindingList(3,93,1),this.finishNode(p,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(p,y,O){const V=1&O,ee=[];let Se=!0;for(;!this.eat(p);)if(Se?Se=!1:this.expect(12),V&&this.match(12))ee.push(null);else{if(this.eat(p))break;if(this.match(21)){if(ee.push(this.parseAssignableListItemTypes(this.parseRestBinding(),O)),!this.checkCommaAfterRest(y)){this.expect(p);break}}else{const Be=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(m.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)Be.push(this.parseDecorator());ee.push(this.parseAssignableListItem(O,Be))}}return ee}parseBindingRestProperty(p){return this.next(),p.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(p,"RestElement")}parseBindingProperty(){const p=this.startNode(),{type:y,startLoc:O}=this.state;return y===21?this.parseBindingRestProperty(p):(y===138?(this.expectPlugin("destructuringPrivate",O),this.classScope.usePrivateName(this.state.value,O),p.key=this.parsePrivateName()):this.parsePropertyName(p),p.method=!1,this.parseObjPropValue(p,O,!1,!1,!0,!1))}parseAssignableListItem(p,y){const O=this.parseMaybeDefault();this.parseAssignableListItemTypes(O,p);const V=this.parseMaybeDefault(O.loc.start,O);return y.length&&(O.decorators=y),V}parseAssignableListItemTypes(p,y){return p}parseMaybeDefault(p,y){var O;if(p!=null||(p=this.state.startLoc),y=(O=y)!=null?O:this.parseBindingAtom(),!this.eat(29))return y;const V=this.startNodeAt(p);return V.left=y,V.right=this.parseMaybeAssignAllowIn(),this.finishNode(V,"AssignmentPattern")}isValidLVal(p,y,O){return V={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},ee=p,Object.hasOwnProperty.call(V,ee)&&V[ee];var V,ee}isOptionalMemberExpression(p){return p.type==="OptionalMemberExpression"}checkLVal(p,y){let{in:O,binding:V=64,checkClashes:ee=!1,strictModeChanged:Se=!1,hasParenthesizedAncestor:Be=!1}=y;var Ge;const Ze=p.type;if(this.isObjectMethod(p))return;const tt=this.isOptionalMemberExpression(p);if(tt||Ze==="MemberExpression")return tt&&(this.expectPlugin("optionalChainingAssign",p.loc.start),O.type!=="AssignmentExpression"&&this.raise(m.InvalidLhsOptionalChaining,p,{ancestor:O})),void(V!==64&&this.raise(m.InvalidPropertyBindingPattern,p));if(Ze==="Identifier"){this.checkIdentifier(p,V,Se);const{name:Ti}=p;return void(ee&&(ee.has(Ti)?this.raise(m.ParamDupe,p):ee.add(Ti)))}const Tt=this.isValidLVal(Ze,!(Be||(Ge=p.extra)!=null&&Ge.parenthesized)&&O.type==="AssignmentExpression",V);if(Tt===!0)return;if(Tt===!1){const Ti=V===64?m.InvalidLhs:m.InvalidLhsBinding;return void this.raise(Ti,p,{ancestor:O})}const[mr,vr]=Array.isArray(Tt)?Tt:[Tt,Ze==="ParenthesizedExpression"],rn=Ze==="ArrayPattern"||Ze==="ObjectPattern"?{type:Ze}:O;for(const Ti of[].concat(p[mr]))Ti&&this.checkLVal(Ti,{in:rn,binding:V,checkClashes:ee,strictModeChanged:Se,hasParenthesizedAncestor:vr})}checkIdentifier(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.state.strict&&(O?Vr(p.name,this.inModule):Sr(p.name))&&(y===64?this.raise(m.StrictEvalArguments,p,{referenceName:p.name}):this.raise(m.StrictEvalArgumentsBinding,p,{bindingName:p.name})),8192&y&&p.name==="let"&&this.raise(m.LetInLexicalBinding,p),64&y||this.declareNameFromIdentifier(p,y)}declareNameFromIdentifier(p,y){this.scope.declareName(p.name,y,p.loc.start)}checkToRestConversion(p,y){switch(p.type){case"ParenthesizedExpression":this.checkToRestConversion(p.expression,y);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(y)break;default:this.raise(m.InvalidRestAssignmentPattern,p)}}checkCommaAfterRest(p){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===p?m.RestTrailingComma:m.ElementAfterRest,this.state.startLoc),!0)}}function Vo(Oe){if(!Oe)throw new Error("Assert fail")}const $t=b`typescript`({AbstractMethodHasImplementation:Oe=>{let{methodName:p}=Oe;return`Method '${p}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:Oe=>{let{propertyName:p}=Oe;return`Property '${p}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:Oe=>{let{kind:p}=Oe;return`'declare' is not allowed in ${p}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:Oe=>{let{modifier:p}=Oe;return"Accessibility modifier already seen."},DuplicateModifier:Oe=>{let{modifier:p}=Oe;return`Duplicate modifier: '${p}'.`},EmptyHeritageClauseType:Oe=>{let{token:p}=Oe;return`'${p}' 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:Oe=>{let{modifiers:p}=Oe;return`'${p[0]}' modifier cannot be used with '${p[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:Oe=>{let{modifier:p}=Oe;return`Index signatures cannot have an accessibility modifier ('${p}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:Oe=>{let{modifier:p}=Oe;return`'${p}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:Oe=>{let{modifier:p}=Oe;return`'${p}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:Oe=>{let{modifier:p}=Oe;return`'${p}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:Oe=>{let{orderedModifiers:p}=Oe;return`'${p[0]}' modifier must precede '${p[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:Oe=>{let{modifier:p}=Oe;return`Private elements cannot have an accessibility modifier ('${p}').`},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 `() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:Oe=>{let{typeParameterName:p}=Oe;return`Single type parameter ${p} should have a trailing comma. Example usage: <${p},>.`},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:Oe=>{let{type:p}=Oe;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${p}.`}});function fo(Oe){return Oe==="private"||Oe==="public"||Oe==="protected"}function Si(Oe){return Oe==="in"||Oe==="out"}function ri(Oe){if(Oe.type!=="MemberExpression")return!1;const{computed:p,property:y}=Oe;return(!p||y.type==="StringLiteral"||!(y.type!=="TemplateLiteral"||y.expressions.length>0))&&di(Oe.object)}function wa(Oe,p){var y;const{type:O}=Oe;if((y=Oe.extra)!=null&&y.parenthesized)return!1;if(p){if(O==="Literal"){const{value:V}=Oe;if(typeof V=="string"||typeof V=="boolean")return!0}}else if(O==="StringLiteral"||O==="BooleanLiteral")return!0;return!(!us(Oe,p)&&!function(V,ee){if(V.type==="UnaryExpression"){const{operator:Se,argument:Be}=V;if(Se==="-"&&us(Be,ee))return!0}return!1}(Oe,p))||O==="TemplateLiteral"&&Oe.expressions.length===0||!!ri(Oe)}function us(Oe,p){return p?Oe.type==="Literal"&&(typeof Oe.value=="number"||"bigint"in Oe):Oe.type==="NumericLiteral"||Oe.type==="BigIntLiteral"}function di(Oe){return Oe.type==="Identifier"||Oe.type==="MemberExpression"&&!Oe.computed&&di(Oe.object)}const Il=b`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function gi(Oe,p){const[y,O]=typeof p=="string"?[p,{}]:p,V=Object.keys(O),ee=V.length===0;return Oe.some(Se=>{if(typeof Se=="string")return ee&&Se===y;{const[Be,Ge]=Se;if(Be!==y)return!1;for(const Ze of V)if(Ge[Ze]!==O[Ze])return!1;return!0}})}function _o(Oe,p,y){const O=Oe.find(V=>Array.isArray(V)?V[0]===p:V===p);return O&&Array.isArray(O)&&O.length>1?O[1][y]:null}const Bu=["minimal","fsharp","hack","smart"],kd=["^^","@@","^","%","#"],ju=["hash","bar"],G1={estree:Oe=>class extends Oe{parse(){const p=S(super.parse());return this.options.tokens&&(p.tokens=p.tokens.map(S)),p}parseRegExpLiteral(p){let{pattern:y,flags:O}=p,V=null;try{V=new RegExp(y,O)}catch{}const ee=this.estreeParseLiteral(V);return ee.regex={pattern:y,flags:O},ee}parseBigIntLiteral(p){let y;try{y=BigInt(p)}catch{y=null}const O=this.estreeParseLiteral(y);return O.bigint=String(O.value||p),O}parseDecimalLiteral(p){const y=this.estreeParseLiteral(null);return y.decimal=String(y.value||p),y}estreeParseLiteral(p){return this.parseLiteral(p,"Literal")}parseStringLiteral(p){return this.estreeParseLiteral(p)}parseNumericLiteral(p){return this.estreeParseLiteral(p)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(p){return this.estreeParseLiteral(p)}directiveToStmt(p){const y=p.value;delete p.value,y.type="Literal",y.raw=y.extra.raw,y.value=y.extra.expressionValue;const O=p;return O.type="ExpressionStatement",O.expression=y,O.directive=y.extra.rawValue,delete y.extra,O}initFunction(p,y){super.initFunction(p,y),p.expression=!1}checkDeclaration(p){p!=null&&this.isObjectProperty(p)?this.checkDeclaration(p.value):super.checkDeclaration(p)}getObjectOrClassMethodParams(p){return p.value.params}isValidDirective(p){var y;return p.type==="ExpressionStatement"&&p.expression.type==="Literal"&&typeof p.expression.value=="string"&&!((y=p.expression.extra)!=null&&y.parenthesized)}parseBlockBody(p,y,O,V,ee){super.parseBlockBody(p,y,O,V,ee);const Se=p.directives.map(Be=>this.directiveToStmt(Be));p.body=Se.concat(p.body),delete p.directives}pushClassMethod(p,y,O,V,ee,Se){this.parseMethod(y,O,V,ee,Se,"ClassMethod",!0),y.typeParameters&&(y.value.typeParameters=y.typeParameters,delete y.typeParameters),p.body.push(y)}parsePrivateName(){const p=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(p):p}convertPrivateNameToPrivateIdentifier(p){const y=super.getPrivateNameSV(p);return delete p.id,p.name=y,p.type="PrivateIdentifier",p}isPrivateName(p){return this.getPluginOption("estree","classFeatures")?p.type==="PrivateIdentifier":super.isPrivateName(p)}getPrivateNameSV(p){return this.getPluginOption("estree","classFeatures")?p.name:super.getPrivateNameSV(p)}parseLiteral(p,y){const O=super.parseLiteral(p,y);return O.raw=O.extra.raw,delete O.extra,O}parseFunctionBody(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];super.parseFunctionBody(p,y,O),p.expression=p.body.type!=="BlockStatement"}parseMethod(p,y,O,V,ee,Se){let Be=arguments.length>6&&arguments[6]!==void 0&&arguments[6],Ge=this.startNode();return Ge.kind=p.kind,Ge=super.parseMethod(Ge,y,O,V,ee,Se,Be),Ge.type="FunctionExpression",delete Ge.kind,p.value=Ge,Se==="ClassPrivateMethod"&&(p.computed=!1),this.finishNode(p,"MethodDefinition")}parseClassProperty(){const p=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(p.type="PropertyDefinition"),p}parseClassPrivateProperty(){const p=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(p.type="PropertyDefinition",p.computed=!1),p}parseObjectMethod(p,y,O,V,ee){const Se=super.parseObjectMethod(p,y,O,V,ee);return Se&&(Se.type="Property",Se.kind==="method"&&(Se.kind="init"),Se.shorthand=!1),Se}parseObjectProperty(p,y,O,V){const ee=super.parseObjectProperty(p,y,O,V);return ee&&(ee.kind="init",ee.type="Property"),ee}isValidLVal(p,y,O){return p==="Property"?"value":super.isValidLVal(p,y,O)}isAssignable(p,y){return p!=null&&this.isObjectProperty(p)?this.isAssignable(p.value,y):super.isAssignable(p,y)}toAssignable(p){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(p!=null&&this.isObjectProperty(p)){const{key:O,value:V}=p;this.isPrivateName(O)&&this.classScope.usePrivateName(this.getPrivateNameSV(O),O.loc.start),this.toAssignable(V,y)}else super.toAssignable(p,y)}toAssignableObjectExpressionProp(p,y,O){p.kind==="get"||p.kind==="set"?this.raise(m.PatternHasAccessor,p.key):p.method?this.raise(m.PatternHasMethod,p.key):super.toAssignableObjectExpressionProp(p,y,O)}finishCallExpression(p,y){const O=super.finishCallExpression(p,y);var V,ee;return O.callee.type==="Import"&&(O.type="ImportExpression",O.source=O.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(O.options=(V=O.arguments[1])!=null?V:null,O.attributes=(ee=O.arguments[1])!=null?ee:null),delete O.arguments,delete O.callee),O}toReferencedArguments(p){p.type!=="ImportExpression"&&super.toReferencedArguments(p)}parseExport(p,y){const O=this.state.lastTokStartLoc,V=super.parseExport(p,y);switch(V.type){case"ExportAllDeclaration":V.exported=null;break;case"ExportNamedDeclaration":V.specifiers.length===1&&V.specifiers[0].type==="ExportNamespaceSpecifier"&&(V.type="ExportAllDeclaration",V.exported=V.specifiers[0].exported,delete V.specifiers);case"ExportDefaultDeclaration":{var ee;const{declaration:Se}=V;Se?.type==="ClassDeclaration"&&((ee=Se.decorators)==null?void 0:ee.length)>0&&Se.start===V.start&&this.resetStartLocation(V,O)}}return V}parseSubscript(p,y,O,V){const ee=super.parseSubscript(p,y,O,V);if(V.optionalChainMember){if(ee.type!=="OptionalMemberExpression"&&ee.type!=="OptionalCallExpression"||(ee.type=ee.type.substring(8)),V.stop){const Se=this.startNodeAtNode(ee);return Se.expression=ee,this.finishNode(Se,"ChainExpression")}}else ee.type!=="MemberExpression"&&ee.type!=="CallExpression"||(ee.optional=!1);return ee}isOptionalMemberExpression(p){return p.type==="ChainExpression"?p.expression.type==="MemberExpression":super.isOptionalMemberExpression(p)}hasPropertyAsPrivateName(p){return p.type==="ChainExpression"&&(p=p.expression),super.hasPropertyAsPrivateName(p)}isObjectProperty(p){return p.type==="Property"&&p.kind==="init"&&!p.method}isObjectMethod(p){return p.method||p.kind==="get"||p.kind==="set"}finishNodeAt(p,y,O){return S(super.finishNodeAt(p,y,O))}resetStartLocation(p,y){super.resetStartLocation(p,y),S(p)}resetEndLocation(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(p,y),S(p)}},jsx:Oe=>class extends Oe{jsxReadToken(){let p="",y=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(cs.UnterminatedJsxContent,this.state.startLoc);const O=this.input.charCodeAt(this.state.pos);switch(O){case 60:case 123:return this.state.pos===this.state.start?void(O===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(O)):(p+=this.input.slice(y,this.state.pos),void this.finishToken(141,p));case 38:p+=this.input.slice(y,this.state.pos),p+=this.jsxReadEntity(),y=this.state.pos;break;default:gt(O)?(p+=this.input.slice(y,this.state.pos),p+=this.jsxReadNewLine(!0),y=this.state.pos):++this.state.pos}}}jsxReadNewLine(p){const y=this.input.charCodeAt(this.state.pos);let O;return++this.state.pos,y===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,O=p?` `:`\r `):O=String.fromCharCode(y),++this.state.curLine,this.state.lineStart=this.state.pos,O}jsxReadString(p){let y="",O=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(m.UnterminatedString,this.state.startLoc);const V=this.input.charCodeAt(this.state.pos);if(V===p)break;V===38?(y+=this.input.slice(O,this.state.pos),y+=this.jsxReadEntity(),O=this.state.pos):gt(V)?(y+=this.input.slice(O,this.state.pos),y+=this.jsxReadNewLine(!1),O=this.state.pos):++this.state.pos}y+=this.input.slice(O,this.state.pos++),this.finishToken(133,y)}jsxReadEntity(){const p=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let y=10;this.codePointAtPos(this.state.pos)===120&&(y=16,++this.state.pos);const O=this.readInt(y,void 0,!1,"bail");if(O!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(O)}else{let y=0,O=!1;for(;y++<10&&this.state.posclass extends Oe{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Xn}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(p,y){p!==133&&p!==13&&p!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(p,y)}addComment(p){if(this.flowPragma===void 0){const y=Fs.exec(p.value);if(y)if(y[1]==="flow")this.flowPragma="flow";else{if(y[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(p)}flowParseTypeInitialiser(p){const y=this.state.inType;this.state.inType=!0,this.expect(p||14);const O=this.flowParseType();return this.state.inType=y,O}flowParsePredicate(){const p=this.startNode(),y=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>y.index+1&&this.raise(nr.UnexpectedSpaceBetweenModuloChecks,y),this.eat(10)?(p.value=super.parseExpression(),this.expect(11),this.finishNode(p,"DeclaredPredicate")):this.finishNode(p,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const p=this.state.inType;this.state.inType=!0,this.expect(14);let y=null,O=null;return this.match(54)?(this.state.inType=p,O=this.flowParsePredicate()):(y=this.flowParseType(),this.state.inType=p,this.match(54)&&(O=this.flowParsePredicate())),[y,O]}flowParseDeclareClass(p){return this.next(),this.flowParseInterfaceish(p,!0),this.finishNode(p,"DeclareClass")}flowParseDeclareFunction(p){this.next();const y=p.id=this.parseIdentifier(),O=this.startNode(),V=this.startNode();this.match(47)?O.typeParameters=this.flowParseTypeParameterDeclaration():O.typeParameters=null,this.expect(10);const ee=this.flowParseFunctionTypeParams();return O.params=ee.params,O.rest=ee.rest,O.this=ee._this,this.expect(11),[O.returnType,p.predicate]=this.flowParseTypeAndPredicateInitialiser(),V.typeAnnotation=this.finishNode(O,"FunctionTypeAnnotation"),y.typeAnnotation=this.finishNode(V,"TypeAnnotation"),this.resetEndLocation(y),this.semicolon(),this.scope.declareName(p.id.name,2048,p.id.loc.start),this.finishNode(p,"DeclareFunction")}flowParseDeclare(p,y){return this.match(80)?this.flowParseDeclareClass(p):this.match(68)?this.flowParseDeclareFunction(p):this.match(74)?this.flowParseDeclareVariable(p):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(p):(y&&this.raise(nr.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(p)):this.isContextual(130)?this.flowParseDeclareTypeAlias(p):this.isContextual(131)?this.flowParseDeclareOpaqueType(p):this.isContextual(129)?this.flowParseDeclareInterface(p):this.match(82)?this.flowParseDeclareExportDeclaration(p,y):void this.unexpected()}flowParseDeclareVariable(p){return this.next(),p.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(p.id.name,5,p.id.loc.start),this.semicolon(),this.finishNode(p,"DeclareVariable")}flowParseDeclareModule(p){this.scope.enter(0),this.match(133)?p.id=super.parseExprAtom():p.id=this.parseIdentifier();const y=p.body=this.startNode(),O=y.body=[];for(this.expect(5);!this.match(8);){let Se=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(nr.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(Se)):(this.expectContextual(125,nr.UnsupportedStatementInDeclareModule),Se=this.flowParseDeclare(Se,!0)),O.push(Se)}this.scope.exit(),this.expect(8),this.finishNode(y,"BlockStatement");let V=null,ee=!1;return O.forEach(Se=>{(function(Be){return Be.type==="DeclareExportAllDeclaration"||Be.type==="DeclareExportDeclaration"&&(!Be.declaration||Be.declaration.type!=="TypeAlias"&&Be.declaration.type!=="InterfaceDeclaration")})(Se)?(V==="CommonJS"&&this.raise(nr.AmbiguousDeclareModuleKind,Se),V="ES"):Se.type==="DeclareModuleExports"&&(ee&&this.raise(nr.DuplicateDeclareModuleExports,Se),V==="ES"&&this.raise(nr.AmbiguousDeclareModuleKind,Se),V="CommonJS",ee=!0)}),p.kind=V||"CommonJS",this.finishNode(p,"DeclareModule")}flowParseDeclareExportDeclaration(p,y){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?p.declaration=this.flowParseDeclare(this.startNode()):(p.declaration=this.flowParseType(),this.semicolon()),p.default=!0,this.finishNode(p,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!y){const O=this.state.value;throw this.raise(nr.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:O,suggestion:Ro[O]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(p.declaration=this.flowParseDeclare(this.startNode()),p.default=!1,this.finishNode(p,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((p=this.parseExport(p,null)).type==="ExportNamedDeclaration"&&(p.type="ExportDeclaration",p.default=!1,delete p.exportKind),p.type="Declare"+p.type,p):void this.unexpected()}flowParseDeclareModuleExports(p){return this.next(),this.expectContextual(111),p.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(p,"DeclareModuleExports")}flowParseDeclareTypeAlias(p){this.next();const y=this.flowParseTypeAlias(p);return y.type="DeclareTypeAlias",y}flowParseDeclareOpaqueType(p){this.next();const y=this.flowParseOpaqueType(p,!0);return y.type="DeclareOpaqueType",y}flowParseDeclareInterface(p){return this.next(),this.flowParseInterfaceish(p,!1),this.finishNode(p,"DeclareInterface")}flowParseInterfaceish(p,y){if(p.id=this.flowParseRestrictedIdentifier(!y,!0),this.scope.declareName(p.id.name,y?17:8201,p.id.loc.start),this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,p.extends=[],this.eat(81))do p.extends.push(this.flowParseInterfaceExtends());while(!y&&this.eat(12));if(y){if(p.implements=[],p.mixins=[],this.eatContextual(117))do p.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do p.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}p.body=this.flowParseObjectType({allowStatic:y,allowExact:!1,allowSpread:!1,allowProto:y,allowInexact:!1})}flowParseInterfaceExtends(){const p=this.startNode();return p.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,this.finishNode(p,"InterfaceExtends")}flowParseInterface(p){return this.flowParseInterfaceish(p,!1),this.finishNode(p,"InterfaceDeclaration")}checkNotUnderscore(p){p==="_"&&this.raise(nr.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(p,y,O){Qi.has(p)&&this.raise(O?nr.AssignReservedType:nr.UnexpectedReservedType,y,{reservedType:p})}flowParseRestrictedIdentifier(p,y){return this.checkReservedType(this.state.value,this.state.startLoc,y),this.parseIdentifier(p)}flowParseTypeAlias(p){return p.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(p.id.name,8201,p.id.loc.start),this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,p.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(p,"TypeAlias")}flowParseOpaqueType(p,y){return this.expectContextual(130),p.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(p.id.name,8201,p.id.loc.start),this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,p.supertype=null,this.match(14)&&(p.supertype=this.flowParseTypeInitialiser(14)),p.impltype=null,y||(p.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(p,"OpaqueType")}flowParseTypeParameter(){let p=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const y=this.state.startLoc,O=this.startNode(),V=this.flowParseVariance(),ee=this.flowParseTypeAnnotatableIdentifier();return O.name=ee.name,O.variance=V,O.bound=ee.typeAnnotation,this.match(29)?(this.eat(29),O.default=this.flowParseType()):p&&this.raise(nr.MissingTypeParamDefault,y),this.finishNode(O,"TypeParameter")}flowParseTypeParameterDeclaration(){const p=this.state.inType,y=this.startNode();y.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let O=!1;do{const V=this.flowParseTypeParameter(O);y.params.push(V),V.default&&(O=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=p,this.finishNode(y,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const p=this.startNode(),y=this.state.inType;p.params=[],this.state.inType=!0,this.expect(47);const O=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)p.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=O,this.expect(48),this.state.inType=y,this.finishNode(p,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const p=this.startNode(),y=this.state.inType;for(p.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)p.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=y,this.finishNode(p,"TypeParameterInstantiation")}flowParseInterfaceType(){const p=this.startNode();if(this.expectContextual(129),p.extends=[],this.eat(81))do p.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return p.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(p,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(p,y,O){return p.static=y,this.lookahead().type===14?(p.id=this.flowParseObjectPropertyKey(),p.key=this.flowParseTypeInitialiser()):(p.id=null,p.key=this.flowParseType()),this.expect(3),p.value=this.flowParseTypeInitialiser(),p.variance=O,this.finishNode(p,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(p,y){return p.static=y,p.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(p.method=!0,p.optional=!1,p.value=this.flowParseObjectTypeMethodish(this.startNodeAt(p.loc.start))):(p.method=!1,this.eat(17)&&(p.optional=!0),p.value=this.flowParseTypeInitialiser()),this.finishNode(p,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(p){for(p.params=[],p.rest=null,p.typeParameters=null,p.this=null,this.match(47)&&(p.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(p.this=this.flowParseFunctionTypeParam(!0),p.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)p.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(p.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),p.returnType=this.flowParseTypeInitialiser(),this.finishNode(p,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(p,y){const O=this.startNode();return p.static=y,p.value=this.flowParseObjectTypeMethodish(O),this.finishNode(p,"ObjectTypeCallProperty")}flowParseObjectType(p){let{allowStatic:y,allowExact:O,allowSpread:V,allowProto:ee,allowInexact:Se}=p;const Be=this.state.inType;this.state.inType=!0;const Ge=this.startNode();let Ze,tt;Ge.callProperties=[],Ge.properties=[],Ge.indexers=[],Ge.internalSlots=[];let Tt=!1;for(O&&this.match(6)?(this.expect(6),Ze=9,tt=!0):(this.expect(5),Ze=8,tt=!1),Ge.exact=tt;!this.match(Ze);){let vr=!1,rn=null,Ti=null;const ni=this.startNode();if(ee&&this.isContextual(118)){const es=this.lookahead();es.type!==14&&es.type!==17&&(this.next(),rn=this.state.startLoc,y=!1)}if(y&&this.isContextual(106)){const es=this.lookahead();es.type!==14&&es.type!==17&&(this.next(),vr=!0)}const $i=this.flowParseVariance();if(this.eat(0))rn!=null&&this.unexpected(rn),this.eat(0)?($i&&this.unexpected($i.loc.start),Ge.internalSlots.push(this.flowParseObjectTypeInternalSlot(ni,vr))):Ge.indexers.push(this.flowParseObjectTypeIndexer(ni,vr,$i));else if(this.match(10)||this.match(47))rn!=null&&this.unexpected(rn),$i&&this.unexpected($i.loc.start),Ge.callProperties.push(this.flowParseObjectTypeCallProperty(ni,vr));else{let es="init";(this.isContextual(99)||this.isContextual(104))&&K(this.lookahead().type)&&(es=this.state.value,this.next());const yl=this.flowParseObjectTypeProperty(ni,vr,rn,$i,es,V,Se??!tt);yl===null?(Tt=!0,Ti=this.state.lastTokStartLoc):Ge.properties.push(yl)}this.flowObjectTypeSemicolon(),!Ti||this.match(8)||this.match(9)||this.raise(nr.UnexpectedExplicitInexactInObject,Ti)}this.expect(Ze),V&&(Ge.inexact=Tt);const mr=this.finishNode(Ge,"ObjectTypeAnnotation");return this.state.inType=Be,mr}flowParseObjectTypeProperty(p,y,O,V,ee,Se,Be){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(Se?Be||this.raise(nr.InexactInsideExact,this.state.lastTokStartLoc):this.raise(nr.InexactInsideNonObject,this.state.lastTokStartLoc),V&&this.raise(nr.InexactVariance,V),null):(Se||this.raise(nr.UnexpectedSpreadType,this.state.lastTokStartLoc),O!=null&&this.unexpected(O),V&&this.raise(nr.SpreadVariance,V),p.argument=this.flowParseType(),this.finishNode(p,"ObjectTypeSpreadProperty"));{p.key=this.flowParseObjectPropertyKey(),p.static=y,p.proto=O!=null,p.kind=ee;let Ge=!1;return this.match(47)||this.match(10)?(p.method=!0,O!=null&&this.unexpected(O),V&&this.unexpected(V.loc.start),p.value=this.flowParseObjectTypeMethodish(this.startNodeAt(p.loc.start)),ee!=="get"&&ee!=="set"||this.flowCheckGetterSetterParams(p),!Se&&p.key.name==="constructor"&&p.value.this&&this.raise(nr.ThisParamBannedInConstructor,p.value.this)):(ee!=="init"&&this.unexpected(),p.method=!1,this.eat(17)&&(Ge=!0),p.value=this.flowParseTypeInitialiser(),p.variance=V),p.optional=Ge,this.finishNode(p,"ObjectTypeProperty")}}flowCheckGetterSetterParams(p){const y=p.kind==="get"?0:1,O=p.value.params.length+(p.value.rest?1:0);p.value.this&&this.raise(p.kind==="get"?nr.GetterMayNotHaveThisParam:nr.SetterMayNotHaveThisParam,p.value.this),O!==y&&this.raise(p.kind==="get"?m.BadGetterArity:m.BadSetterArity,p),p.kind==="set"&&p.value.rest&&this.raise(m.BadSetterRestParameter,p)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(p,y){p!=null||(p=this.state.startLoc);let O=y||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const V=this.startNodeAt(p);V.qualification=O,V.id=this.flowParseRestrictedIdentifier(!0),O=this.finishNode(V,"QualifiedTypeIdentifier")}return O}flowParseGenericType(p,y){const O=this.startNodeAt(p);return O.typeParameters=null,O.id=this.flowParseQualifiedTypeIdentifier(p,y),this.match(47)&&(O.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(O,"GenericTypeAnnotation")}flowParseTypeofType(){const p=this.startNode();return this.expect(87),p.argument=this.flowParsePrimaryType(),this.finishNode(p,"TypeofTypeAnnotation")}flowParseTupleType(){const p=this.startNode();for(p.types=[],this.expect(0);this.state.pos0&&arguments[0]!==void 0?arguments[0]:[],y=null,O=null;for(this.match(78)&&(O=this.flowParseFunctionTypeParam(!0),O.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)p.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(y=this.flowParseFunctionTypeParam(!1)),{params:p,rest:y,_this:O}}flowIdentToTypeAnnotation(p,y,O){switch(O.name){case"any":return this.finishNode(y,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(y,"BooleanTypeAnnotation");case"mixed":return this.finishNode(y,"MixedTypeAnnotation");case"empty":return this.finishNode(y,"EmptyTypeAnnotation");case"number":return this.finishNode(y,"NumberTypeAnnotation");case"string":return this.finishNode(y,"StringTypeAnnotation");case"symbol":return this.finishNode(y,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(O.name),this.flowParseGenericType(p,O)}}flowParsePrimaryType(){const p=this.state.startLoc,y=this.startNode();let O,V,ee=!1;const Se=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,V=this.flowParseTupleType(),this.state.noAnonFunctionType=Se,V;case 47:return y.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),O=this.flowParseFunctionTypeParams(),y.params=O.params,y.rest=O.rest,y.this=O._this,this.expect(11),this.expect(19),y.returnType=this.flowParseType(),this.finishNode(y,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(oe(this.state.type)||this.match(78)){const Be=this.lookahead().type;ee=Be!==17&&Be!==14}else ee=!0;if(ee){if(this.state.noAnonFunctionType=!1,V=this.flowParseType(),this.state.noAnonFunctionType=Se,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),V;this.eat(12)}return O=V?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(V)]):this.flowParseFunctionTypeParams(),y.params=O.params,y.rest=O.rest,y.this=O._this,this.expect(11),this.expect(19),y.returnType=this.flowParseType(),y.typeParameters=null,this.finishNode(y,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return y.value=this.match(85),this.next(),this.finishNode(y,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",y);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",y);throw this.raise(nr.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 134:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 135:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(y,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(y,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(y,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(y,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(te(this.state.type)){const Be=ce(this.state.type);return this.next(),super.createIdentifier(y,Be)}if(oe(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(p,y,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const p=this.state.startLoc;let y=this.flowParsePrimaryType(),O=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const V=this.startNodeAt(p),ee=this.eat(18);O=O||ee,this.expect(0),!ee&&this.match(3)?(V.elementType=y,this.next(),y=this.finishNode(V,"ArrayTypeAnnotation")):(V.objectType=y,V.indexType=this.flowParseType(),this.expect(3),O?(V.optional=ee,y=this.finishNode(V,"OptionalIndexedAccessType")):y=this.finishNode(V,"IndexedAccessType"))}return y}flowParsePrefixType(){const p=this.startNode();return this.eat(17)?(p.typeAnnotation=this.flowParsePrefixType(),this.finishNode(p,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const p=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const y=this.startNodeAt(p.loc.start);return y.params=[this.reinterpretTypeAsFunctionTypeParam(p)],y.rest=null,y.this=null,y.returnType=this.flowParseType(),y.typeParameters=null,this.finishNode(y,"FunctionTypeAnnotation")}return p}flowParseIntersectionType(){const p=this.startNode();this.eat(45);const y=this.flowParseAnonFunctionWithoutParens();for(p.types=[y];this.eat(45);)p.types.push(this.flowParseAnonFunctionWithoutParens());return p.types.length===1?y:this.finishNode(p,"IntersectionTypeAnnotation")}flowParseUnionType(){const p=this.startNode();this.eat(43);const y=this.flowParseIntersectionType();for(p.types=[y];this.eat(43);)p.types.push(this.flowParseIntersectionType());return p.types.length===1?y:this.finishNode(p,"UnionTypeAnnotation")}flowParseType(){const p=this.state.inType;this.state.inType=!0;const y=this.flowParseUnionType();return this.state.inType=p,y}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const p=this.state.startLoc,y=this.parseIdentifier();return this.flowParseGenericType(p,y)}return this.flowParseType()}flowParseTypeAnnotation(){const p=this.startNode();return p.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(p,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(p){const y=p?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(y.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(y)),y}typeCastToParameter(p){return p.expression.typeAnnotation=p.typeAnnotation,this.resetEndLocation(p.expression,p.typeAnnotation.loc.end),p.expression}flowParseVariance(){let p=null;return this.match(53)?(p=this.startNode(),this.state.value==="+"?p.kind="plus":p.kind="minus",this.next(),this.finishNode(p,"Variance")):p}parseFunctionBody(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];y?this.forwardNoArrowParamsConversionAt(p,()=>super.parseFunctionBody(p,!0,O)):super.parseFunctionBody(p,!1,O)}parseFunctionBodyAndFinish(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(this.match(14)){const V=this.startNode();[V.typeAnnotation,p.predicate]=this.flowParseTypeAndPredicateInitialiser(),p.returnType=V.typeAnnotation?this.finishNode(V,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(p,y,O)}parseStatementLike(p){if(this.state.strict&&this.isContextual(129)){if(J(this.lookahead().type)){const O=this.startNode();return this.next(),this.flowParseInterface(O)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const O=this.startNode();return this.next(),this.flowParseEnumDeclaration(O)}const y=super.parseStatementLike(p);return this.flowPragma!==void 0||this.isValidDirective(y)||(this.flowPragma=null),y}parseExpressionStatement(p,y,O){if(y.type==="Identifier"){if(y.name==="declare"){if(this.match(80)||oe(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(p)}else if(oe(this.state.type)){if(y.name==="interface")return this.flowParseInterface(p);if(y.name==="type")return this.flowParseTypeAlias(p);if(y.name==="opaque")return this.flowParseOpaqueType(p,!1)}}return super.parseExpressionStatement(p,y,O)}shouldParseExportDeclaration(){const{type:p}=this.state;return ue(p)||this.shouldParseEnums()&&p===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:p}=this.state;return ue(p)||this.shouldParseEnums()&&p===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const p=this.startNode();return this.next(),this.flowParseEnumDeclaration(p)}return super.parseExportDefaultExpression()}parseConditional(p,y,O){if(!this.match(17))return p;if(this.state.maybeInArrowParameters){const Tt=this.lookaheadCharCode();if(Tt===44||Tt===61||Tt===58||Tt===41)return this.setOptionalParametersError(O),p}this.expect(17);const V=this.state.clone(),ee=this.state.noArrowAt,Se=this.startNodeAt(y);let{consequent:Be,failed:Ge}=this.tryParseConditionalConsequent(),[Ze,tt]=this.getArrowLikeExpressions(Be);if(Ge||tt.length>0){const Tt=[...ee];if(tt.length>0){this.state=V,this.state.noArrowAt=Tt;for(let mr=0;mr1&&this.raise(nr.AmbiguousConditionalArrow,V.startLoc),Ge&&Ze.length===1&&(this.state=V,Tt.push(Ze[0].start),this.state.noArrowAt=Tt,{consequent:Be,failed:Ge}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(Be,!0),this.state.noArrowAt=ee,this.expect(14),Se.test=p,Se.consequent=Be,Se.alternate=this.forwardNoArrowParamsConversionAt(Se,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Se,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const p=this.parseMaybeAssignAllowIn(),y=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:p,failed:y}}getArrowLikeExpressions(p,y){const O=[p],V=[];for(;O.length!==0;){const ee=O.pop();ee.type==="ArrowFunctionExpression"?(ee.typeParameters||!ee.returnType?this.finishArrowValidation(ee):V.push(ee),O.push(ee.body)):ee.type==="ConditionalExpression"&&(O.push(ee.consequent),O.push(ee.alternate))}return y?(V.forEach(ee=>this.finishArrowValidation(ee)),[V,[]]):function(ee,Se){const Be=[],Ge=[];for(let Ze=0;Zeee.params.every(Se=>this.isAssignable(Se,!0)))}finishArrowValidation(p){var y;this.toAssignableList(p.params,(y=p.extra)==null?void 0:y.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(p,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(p,y){let O;return this.state.noArrowParamsConversionAt.indexOf(p.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),O=y(),this.state.noArrowParamsConversionAt.pop()):O=y(),O}parseParenItem(p,y){if(p=super.parseParenItem(p,y),this.eat(17)&&(p.optional=!0,this.resetEndLocation(p)),this.match(14)){const O=this.startNodeAt(y);return O.expression=p,O.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(O,"TypeCastExpression")}return p}assertModuleNodeAllowed(p){p.type==="ImportDeclaration"&&(p.importKind==="type"||p.importKind==="typeof")||p.type==="ExportNamedDeclaration"&&p.exportKind==="type"||p.type==="ExportAllDeclaration"&&p.exportKind==="type"||super.assertModuleNodeAllowed(p)}parseExportDeclaration(p){if(this.isContextual(130)){p.exportKind="type";const y=this.startNode();return this.next(),this.match(5)?(p.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(p),null):this.flowParseTypeAlias(y)}if(this.isContextual(131)){p.exportKind="type";const y=this.startNode();return this.next(),this.flowParseOpaqueType(y,!1)}if(this.isContextual(129)){p.exportKind="type";const y=this.startNode();return this.next(),this.flowParseInterface(y)}if(this.shouldParseEnums()&&this.isContextual(126)){p.exportKind="value";const y=this.startNode();return this.next(),this.flowParseEnumDeclaration(y)}return super.parseExportDeclaration(p)}eatExportStar(p){return!!super.eatExportStar(p)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(p.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(p){const{startLoc:y}=this.state,O=super.maybeParseExportNamespaceSpecifier(p);return O&&p.exportKind==="type"&&this.unexpected(y),O}parseClassId(p,y,O){super.parseClassId(p,y,O),this.match(47)&&(p.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(p,y,O){const{startLoc:V}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(p,y))return;y.declare=!0}super.parseClassMember(p,y,O),y.declare&&(y.type!=="ClassProperty"&&y.type!=="ClassPrivateProperty"&&y.type!=="PropertyDefinition"?this.raise(nr.DeclareClassElement,V):y.value&&this.raise(nr.DeclareClassFieldInitializer,y.value))}isIterator(p){return p==="iterator"||p==="asyncIterator"}readIterator(){const p=super.readWord1(),y="@@"+p;this.isIterator(p)&&this.state.inType||this.raise(m.InvalidIdentifier,this.state.curPosition(),{identifierName:y}),this.finishToken(132,y)}getTokenFromCode(p){const y=this.input.charCodeAt(this.state.pos+1);p===123&&y===124?this.finishOp(6,2):!this.state.inType||p!==62&&p!==60?this.state.inType&&p===63?y===46?this.finishOp(18,2):this.finishOp(17,1):function(O,V,ee){return O===64&&V===64&&Ne(ee)}(p,y,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(p):this.finishOp(p===62?48:47,1)}isAssignable(p,y){return p.type==="TypeCastExpression"?this.isAssignable(p.expression,y):super.isAssignable(p,y)}toAssignable(p){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];y||p.type!=="AssignmentExpression"||p.left.type!=="TypeCastExpression"||(p.left=this.typeCastToParameter(p.left)),super.toAssignable(p,y)}toAssignableList(p,y,O){for(let V=0;V1)&&y||this.raise(nr.TypeCastInPattern,ee.typeAnnotation)}return p}parseArrayLike(p,y,O,V){const ee=super.parseArrayLike(p,y,O,V);return y&&!this.state.maybeInArrowParameters&&this.toReferencedList(ee.elements),ee}isValidLVal(p,y,O){return p==="TypeCastExpression"||super.isValidLVal(p,y,O)}parseClassProperty(p){return this.match(14)&&(p.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(p)}parseClassPrivateProperty(p){return this.match(14)&&(p.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(p)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(p){return!this.match(14)&&super.isNonstaticConstructor(p)}pushClassMethod(p,y,O,V,ee,Se){if(y.variance&&this.unexpected(y.variance.loc.start),delete y.variance,this.match(47)&&(y.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(p,y,O,V,ee,Se),y.params&&ee){const Be=y.params;Be.length>0&&this.isThisParam(Be[0])&&this.raise(nr.ThisParamBannedInConstructor,y)}else if(y.type==="MethodDefinition"&&ee&&y.value.params){const Be=y.value.params;Be.length>0&&this.isThisParam(Be[0])&&this.raise(nr.ThisParamBannedInConstructor,y)}}pushClassPrivateMethod(p,y,O,V){y.variance&&this.unexpected(y.variance.loc.start),delete y.variance,this.match(47)&&(y.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(p,y,O,V)}parseClassSuper(p){if(super.parseClassSuper(p),p.superClass&&this.match(47)&&(p.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const y=p.implements=[];do{const O=this.startNode();O.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?O.typeParameters=this.flowParseTypeParameterInstantiation():O.typeParameters=null,y.push(this.finishNode(O,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(p){super.checkGetterSetterParams(p);const y=this.getObjectOrClassMethodParams(p);if(y.length>0){const O=y[0];this.isThisParam(O)&&p.kind==="get"?this.raise(nr.GetterMayNotHaveThisParam,O):this.isThisParam(O)&&this.raise(nr.SetterMayNotHaveThisParam,O)}}parsePropertyNamePrefixOperator(p){p.variance=this.flowParseVariance()}parseObjPropValue(p,y,O,V,ee,Se,Be){let Ge;p.variance&&this.unexpected(p.variance.loc.start),delete p.variance,this.match(47)&&!Se&&(Ge=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const Ze=super.parseObjPropValue(p,y,O,V,ee,Se,Be);return Ge&&((Ze.value||Ze).typeParameters=Ge),Ze}parseAssignableListItemTypes(p){return this.eat(17)&&(p.type!=="Identifier"&&this.raise(nr.PatternIsOptional,p),this.isThisParam(p)&&this.raise(nr.ThisParamMayNotBeOptional,p),p.optional=!0),this.match(14)?p.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(p)&&this.raise(nr.ThisParamAnnotationRequired,p),this.match(29)&&this.isThisParam(p)&&this.raise(nr.ThisParamNoDefault,p),this.resetEndLocation(p),p}parseMaybeDefault(p,y){const O=super.parseMaybeDefault(p,y);return O.type==="AssignmentPattern"&&O.typeAnnotation&&O.right.startsuper.parseMaybeAssign(p,y),ee),!V.error)return V.node;const{context:Ge}=this.state,Ze=Ge[Ge.length-1];Ze!==P.j_oTag&&Ze!==P.j_expr||Ge.pop()}if((O=V)!=null&&O.error||this.match(47)){var Se,Be;let Ge;ee=ee||this.state.clone();const Ze=this.tryParse(Tt=>{var mr;Ge=this.flowParseTypeParameterDeclaration();const vr=this.forwardNoArrowParamsConversionAt(Ge,()=>{const Ti=super.parseMaybeAssign(p,y);return this.resetStartLocationFromNode(Ti,Ge),Ti});(mr=vr.extra)!=null&&mr.parenthesized&&Tt();const rn=this.maybeUnwrapTypeCastExpression(vr);return rn.type!=="ArrowFunctionExpression"&&Tt(),rn.typeParameters=Ge,this.resetStartLocationFromNode(rn,Ge),vr},ee);let tt=null;if(Ze.node&&this.maybeUnwrapTypeCastExpression(Ze.node).type==="ArrowFunctionExpression"){if(!Ze.error&&!Ze.aborted)return Ze.node.async&&this.raise(nr.UnexpectedTypeParameterBeforeAsyncArrowFunction,Ge),Ze.node;tt=Ze.node}if((Se=V)!=null&&Se.node)return this.state=V.failState,V.node;if(tt)return this.state=Ze.failState,tt;throw(Be=V)!=null&&Be.thrown?V.error:Ze.thrown?Ze.error:this.raise(nr.UnexpectedTokenAfterTypeParameter,Ge)}return super.parseMaybeAssign(p,y)}parseArrow(p){if(this.match(14)){const y=this.tryParse(()=>{const O=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const V=this.startNode();return[V.typeAnnotation,p.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=O,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),V});if(y.thrown)return null;y.error&&(this.state=y.failState),p.returnType=y.node.typeAnnotation?this.finishNode(y.node,"TypeAnnotation"):null}return super.parseArrow(p)}shouldParseArrow(p){return this.match(14)||super.shouldParseArrow(p)}setArrowFunctionParameters(p,y){this.state.noArrowParamsConversionAt.indexOf(p.start)!==-1?p.params=y:super.setArrowFunctionParameters(p,y)}checkParams(p,y,O){let V=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!O||this.state.noArrowParamsConversionAt.indexOf(p.start)===-1){for(let ee=0;ee0&&this.raise(nr.ThisParamMustBeFirst,p.params[ee]);super.checkParams(p,y,O,V)}}parseParenAndDistinguishExpression(p){return super.parseParenAndDistinguishExpression(p&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(p,y,O){if(p.type==="Identifier"&&p.name==="async"&&this.state.noArrowAt.indexOf(y.index)!==-1){this.next();const V=this.startNodeAt(y);V.callee=p,V.arguments=super.parseCallExpressionArguments(11,!1),p=this.finishNode(V,"CallExpression")}else if(p.type==="Identifier"&&p.name==="async"&&this.match(47)){const V=this.state.clone(),ee=this.tryParse(Be=>this.parseAsyncArrowWithTypeParameters(y)||Be(),V);if(!ee.error&&!ee.aborted)return ee.node;const Se=this.tryParse(()=>super.parseSubscripts(p,y,O),V);if(Se.node&&!Se.error)return Se.node;if(ee.node)return this.state=ee.failState,ee.node;if(Se.node)return this.state=Se.failState,Se.node;throw ee.error||Se.error}return super.parseSubscripts(p,y,O)}parseSubscript(p,y,O,V){if(this.match(18)&&this.isLookaheadToken_lt()){if(V.optionalChainMember=!0,O)return V.stop=!0,p;this.next();const ee=this.startNodeAt(y);return ee.callee=p,ee.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),ee.arguments=this.parseCallExpressionArguments(11,!1),ee.optional=!0,this.finishCallExpression(ee,!0)}if(!O&&this.shouldParseTypes()&&this.match(47)){const ee=this.startNodeAt(y);ee.callee=p;const Se=this.tryParse(()=>(ee.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),ee.arguments=super.parseCallExpressionArguments(11,!1),V.optionalChainMember&&(ee.optional=!1),this.finishCallExpression(ee,V.optionalChainMember)));if(Se.node)return Se.error&&(this.state=Se.failState),Se.node}return super.parseSubscript(p,y,O,V)}parseNewCallee(p){super.parseNewCallee(p);let y=null;this.shouldParseTypes()&&this.match(47)&&(y=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),p.typeArguments=y}parseAsyncArrowWithTypeParameters(p){const y=this.startNodeAt(p);if(this.parseFunctionParams(y,!1),this.parseArrow(y))return super.parseArrowExpression(y,void 0,!0)}readToken_mult_modulo(p){const y=this.input.charCodeAt(this.state.pos+1);if(p===42&&y===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(p)}readToken_pipe_amp(p){const y=this.input.charCodeAt(this.state.pos+1);p!==124||y!==125?super.readToken_pipe_amp(p):this.finishOp(9,2)}parseTopLevel(p,y){const O=super.parseTopLevel(p,y);return this.state.hasFlowComment&&this.raise(nr.UnterminatedFlowComment,this.state.curPosition()),O}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(nr.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const p=this.skipFlowComment();p&&(this.state.pos+=p,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:p}=this.state;let y=2;for(;[32,9].includes(this.input.charCodeAt(p+y));)y++;const O=this.input.charCodeAt(y+p),V=this.input.charCodeAt(y+p+1);return O===58&&V===58?y+2:this.input.slice(y+p,y+p+12)==="flow-include"?y+12:O===58&&V!==58&&y}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(m.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(p,y){let{enumName:O,memberName:V}=y;this.raise(nr.EnumBooleanMemberNotInitialized,p,{memberName:V,enumName:O})}flowEnumErrorInvalidMemberInitializer(p,y){return this.raise(y.explicitType?y.explicitType==="symbol"?nr.EnumInvalidMemberInitializerSymbolType:nr.EnumInvalidMemberInitializerPrimaryType:nr.EnumInvalidMemberInitializerUnknownType,p,y)}flowEnumErrorNumberMemberNotInitialized(p,y){this.raise(nr.EnumNumberMemberNotInitialized,p,y)}flowEnumErrorStringMemberInconsistentlyInitialized(p,y){this.raise(nr.EnumStringMemberInconsistentlyInitialized,p,y)}flowEnumMemberInit(){const p=this.state.startLoc,y=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const O=this.parseNumericLiteral(this.state.value);return y()?{type:"number",loc:O.loc.start,value:O}:{type:"invalid",loc:p}}case 133:{const O=this.parseStringLiteral(this.state.value);return y()?{type:"string",loc:O.loc.start,value:O}:{type:"invalid",loc:p}}case 85:case 86:{const O=this.parseBooleanLiteral(this.match(85));return y()?{type:"boolean",loc:O.loc.start,value:O}:{type:"invalid",loc:p}}default:return{type:"invalid",loc:p}}}flowEnumMemberRaw(){const p=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:p}}}flowEnumCheckExplicitTypeMismatch(p,y,O){const{explicitType:V}=y;V!==null&&V!==O&&this.flowEnumErrorInvalidMemberInitializer(p,y)}flowEnumMembers(p){let{enumName:y,explicitType:O}=p;const V=new Set,ee={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let Se=!1;for(;!this.match(8);){if(this.eat(21)){Se=!0;break}const Be=this.startNode(),{id:Ge,init:Ze}=this.flowEnumMemberRaw(),tt=Ge.name;if(tt==="")continue;/^[a-z]/.test(tt)&&this.raise(nr.EnumInvalidMemberName,Ge,{memberName:tt,suggestion:tt[0].toUpperCase()+tt.slice(1),enumName:y}),V.has(tt)&&this.raise(nr.EnumDuplicateMemberName,Ge,{memberName:tt,enumName:y}),V.add(tt);const Tt={enumName:y,explicitType:O,memberName:tt};switch(Be.id=Ge,Ze.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(Ze.loc,Tt,"boolean"),Be.init=Ze.value,ee.booleanMembers.push(this.finishNode(Be,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(Ze.loc,Tt,"number"),Be.init=Ze.value,ee.numberMembers.push(this.finishNode(Be,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(Ze.loc,Tt,"string"),Be.init=Ze.value,ee.stringMembers.push(this.finishNode(Be,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Ze.loc,Tt);case"none":switch(O){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Ze.loc,Tt);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Ze.loc,Tt);break;default:ee.defaultedMembers.push(this.finishNode(Be,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:ee,hasUnknownMembers:Se}}flowEnumStringMembers(p,y,O){let{enumName:V}=O;if(p.length===0)return y;if(y.length===0)return p;if(y.length>p.length){for(const ee of p)this.flowEnumErrorStringMemberInconsistentlyInitialized(ee,{enumName:V});return y}for(const ee of y)this.flowEnumErrorStringMemberInconsistentlyInitialized(ee,{enumName:V});return p}flowEnumParseExplicitType(p){let{enumName:y}=p;if(!this.eatContextual(102))return null;if(!oe(this.state.type))throw this.raise(nr.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:y});const{value:O}=this.state;return this.next(),O!=="boolean"&&O!=="number"&&O!=="string"&&O!=="symbol"&&this.raise(nr.EnumInvalidExplicitType,this.state.startLoc,{enumName:y,invalidEnumType:O}),O}flowEnumBody(p,y){const O=y.name,V=y.loc.start,ee=this.flowEnumParseExplicitType({enumName:O});this.expect(5);const{members:Se,hasUnknownMembers:Be}=this.flowEnumMembers({enumName:O,explicitType:ee});switch(p.hasUnknownMembers=Be,ee){case"boolean":return p.explicitType=!0,p.members=Se.booleanMembers,this.expect(8),this.finishNode(p,"EnumBooleanBody");case"number":return p.explicitType=!0,p.members=Se.numberMembers,this.expect(8),this.finishNode(p,"EnumNumberBody");case"string":return p.explicitType=!0,p.members=this.flowEnumStringMembers(Se.stringMembers,Se.defaultedMembers,{enumName:O}),this.expect(8),this.finishNode(p,"EnumStringBody");case"symbol":return p.members=Se.defaultedMembers,this.expect(8),this.finishNode(p,"EnumSymbolBody");default:{const Ge=()=>(p.members=[],this.expect(8),this.finishNode(p,"EnumStringBody"));p.explicitType=!1;const Ze=Se.booleanMembers.length,tt=Se.numberMembers.length,Tt=Se.stringMembers.length,mr=Se.defaultedMembers.length;if(Ze||tt||Tt||mr){if(Ze||tt){if(!tt&&!Tt&&Ze>=mr){for(const vr of Se.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(vr.loc.start,{enumName:O,memberName:vr.id.name});return p.members=Se.booleanMembers,this.expect(8),this.finishNode(p,"EnumBooleanBody")}if(!Ze&&!Tt&&tt>=mr){for(const vr of Se.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(vr.loc.start,{enumName:O,memberName:vr.id.name});return p.members=Se.numberMembers,this.expect(8),this.finishNode(p,"EnumNumberBody")}return this.raise(nr.EnumInconsistentMemberValues,V,{enumName:O}),Ge()}return p.members=this.flowEnumStringMembers(Se.stringMembers,Se.defaultedMembers,{enumName:O}),this.expect(8),this.finishNode(p,"EnumStringBody")}return Ge()}}}flowParseEnumDeclaration(p){const y=this.parseIdentifier();return p.id=y,p.body=this.flowEnumBody(this.startNode(),y),this.finishNode(p,"EnumDeclaration")}isLookaheadToken_lt(){const p=this.nextTokenStart();if(this.input.charCodeAt(p)===60){const y=this.input.charCodeAt(p+1);return y!==60&&y!==61}return!1}maybeUnwrapTypeCastExpression(p){return p.type==="TypeCastExpression"?p.expression:p}},typescript:Oe=>class extends Oe{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:$t.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:$t.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:$t.InvalidModifierOnTypeParameter})}getScopeHandler(){return ki}tsIsIdentifier(){return oe(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(138)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(p,y){if(!oe(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const O=this.state.value;if(p.indexOf(O)!==-1){if(y&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return O}}tsParseModifiers(p,y){let{allowedModifiers:O,disallowedModifiers:V,stopOnStartOfClassStaticBlock:ee,errorTemplate:Se=$t.InvalidModifierOnTypeMember}=p;const Be=(Ze,tt,Tt,mr)=>{tt===Tt&&y[mr]&&this.raise($t.InvalidModifiersOrder,Ze,{orderedModifiers:[Tt,mr]})},Ge=(Ze,tt,Tt,mr)=>{(y[Tt]&&tt===mr||y[mr]&&tt===Tt)&&this.raise($t.IncompatibleModifiers,Ze,{modifiers:[Tt,mr]})};for(;;){const{startLoc:Ze}=this.state,tt=this.tsParseModifier(O.concat(V??[]),ee);if(!tt)break;fo(tt)?y.accessibility?this.raise($t.DuplicateAccessibilityModifier,Ze,{modifier:tt}):(Be(Ze,tt,tt,"override"),Be(Ze,tt,tt,"static"),Be(Ze,tt,tt,"readonly"),y.accessibility=tt):Si(tt)?(y[tt]&&this.raise($t.DuplicateModifier,Ze,{modifier:tt}),y[tt]=!0,Be(Ze,tt,"in","out")):(Object.hasOwnProperty.call(y,tt)?this.raise($t.DuplicateModifier,Ze,{modifier:tt}):(Be(Ze,tt,"static","readonly"),Be(Ze,tt,"static","override"),Be(Ze,tt,"override","readonly"),Be(Ze,tt,"abstract","override"),Ge(Ze,tt,"declare","override"),Ge(Ze,tt,"static","abstract")),y[tt]=!0),V!=null&&V.includes(tt)&&this.raise(Se,Ze,{modifier:tt})}}tsIsListTerminator(p){switch(p){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(p,y){const O=[];for(;!this.tsIsListTerminator(p);)O.push(y());return O}tsParseDelimitedList(p,y,O){return function(V){if(V==null)throw new Error(`Unexpected ${V} value.`);return V}(this.tsParseDelimitedListWorker(p,y,!0,O))}tsParseDelimitedListWorker(p,y,O,V){const ee=[];let Se=-1;for(;!this.tsIsListTerminator(p);){Se=-1;const Be=y();if(Be==null)return;if(ee.push(Be),!this.eat(12)){if(this.tsIsListTerminator(p))break;return void(O&&this.expect(12))}Se=this.state.lastTokStartLoc.index}return V&&(V.value=Se),ee}tsParseBracketedList(p,y,O,V,ee){V||(O?this.expect(0):this.expect(47));const Se=this.tsParseDelimitedList(p,y,ee);return O?this.expect(3):this.expect(48),Se}tsParseImportType(){const p=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise($t.UnsupportedImportTypeArgument,this.state.startLoc),p.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(p.qualifier=this.tsParseEntityName()),this.match(47)&&(p.typeParameters=this.tsParseTypeArguments()),this.finishNode(p,"TSImportType")}tsParseEntityName(){let p=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],y=this.parseIdentifier(p);for(;this.eat(16);){const O=this.startNodeAtNode(y);O.left=y,O.right=this.parseIdentifier(p),y=this.finishNode(O,"TSQualifiedName")}return y}tsParseTypeReference(){const p=this.startNode();return p.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(p.typeParameters=this.tsParseTypeArguments()),this.finishNode(p,"TSTypeReference")}tsParseThisTypePredicate(p){this.next();const y=this.startNodeAtNode(p);return y.parameterName=p,y.typeAnnotation=this.tsParseTypeAnnotation(!1),y.asserts=!1,this.finishNode(y,"TSTypePredicate")}tsParseThisTypeNode(){const p=this.startNode();return this.next(),this.finishNode(p,"TSThisType")}tsParseTypeQuery(){const p=this.startNode();return this.expect(87),this.match(83)?p.exprName=this.tsParseImportType():p.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(p.typeParameters=this.tsParseTypeArguments()),this.finishNode(p,"TSTypeQuery")}tsParseTypeParameter(p){const y=this.startNode();return p(y),y.name=this.tsParseTypeParameterName(),y.constraint=this.tsEatThenParseType(81),y.default=this.tsEatThenParseType(29),this.finishNode(y,"TSTypeParameter")}tsTryParseTypeParameters(p){if(this.match(47))return this.tsParseTypeParameters(p)}tsParseTypeParameters(p){const y=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const O={value:-1};return y.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,p),!1,!0,O),y.params.length===0&&this.raise($t.EmptyTypeParameters,y),O.value!==-1&&this.addExtra(y,"trailingComma",O.value),this.finishNode(y,"TSTypeParameterDeclaration")}tsFillSignature(p,y){const O=p===19;y.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),y.parameters=this.tsParseBindingListForSignature(),(O||this.match(p))&&(y.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(p))}tsParseBindingListForSignature(){const p=super.parseBindingList(11,41,2);for(const y of p){const{type:O}=y;O!=="AssignmentPattern"&&O!=="TSParameterProperty"||this.raise($t.UnsupportedSignatureParameterKind,y,{type:O})}return p}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(p,y){return this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon(),this.finishNode(y,p)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!oe(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(p){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const y=this.parseIdentifier();y.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(y),this.expect(3),p.parameters=[y];const O=this.tsTryParseTypeAnnotation();return O&&(p.typeAnnotation=O),this.tsParseTypeMemberSemicolon(),this.finishNode(p,"TSIndexSignature")}tsParsePropertyOrMethodSignature(p,y){this.eat(17)&&(p.optional=!0);const O=p;if(this.match(10)||this.match(47)){y&&this.raise($t.ReadonlyForMethodSignature,p);const V=O;V.kind&&this.match(47)&&this.raise($t.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,V),this.tsParseTypeMemberSemicolon();const ee="parameters",Se="typeAnnotation";if(V.kind==="get")V[ee].length>0&&(this.raise(m.BadGetterArity,this.state.curPosition()),this.isThisParam(V[ee][0])&&this.raise($t.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(V.kind==="set"){if(V[ee].length!==1)this.raise(m.BadSetterArity,this.state.curPosition());else{const Be=V[ee][0];this.isThisParam(Be)&&this.raise($t.AccesorCannotDeclareThisParameter,this.state.curPosition()),Be.type==="Identifier"&&Be.optional&&this.raise($t.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),Be.type==="RestElement"&&this.raise($t.SetAccesorCannotHaveRestParameter,this.state.curPosition())}V[Se]&&this.raise($t.SetAccesorCannotHaveReturnType,V[Se])}else V.kind="method";return this.finishNode(V,"TSMethodSignature")}{const V=O;y&&(V.readonly=!0);const ee=this.tsTryParseTypeAnnotation();return ee&&(V.typeAnnotation=ee),this.tsParseTypeMemberSemicolon(),this.finishNode(V,"TSPropertySignature")}}tsParseTypeMember(){const p=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",p);if(this.match(77)){const y=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",p):(p.key=this.createIdentifier(y,"new"),this.tsParsePropertyOrMethodSignature(p,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},p),this.tsTryParseIndexSignature(p)||(super.parsePropertyName(p),p.computed||p.key.type!=="Identifier"||p.key.name!=="get"&&p.key.name!=="set"||!this.tsTokenCanFollowModifier()||(p.kind=p.key.name,super.parsePropertyName(p)),this.tsParsePropertyOrMethodSignature(p,!!p.readonly))}tsParseTypeLiteral(){const p=this.startNode();return p.members=this.tsParseObjectTypeMembers(),this.finishNode(p,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const p=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),p}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedTypeParameter(){const p=this.startNode();return p.name=this.tsParseTypeParameterName(),p.constraint=this.tsExpectThenParseType(58),this.finishNode(p,"TSTypeParameter")}tsParseMappedType(){const p=this.startNode();return this.expect(5),this.match(53)?(p.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(p.readonly=!0),this.expect(0),p.typeParameter=this.tsParseMappedTypeParameter(),p.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(p.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(p.optional=!0),p.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(p,"TSMappedType")}tsParseTupleType(){const p=this.startNode();p.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let y=!1;return p.elementTypes.forEach(O=>{const{type:V}=O;!y||V==="TSRestType"||V==="TSOptionalType"||V==="TSNamedTupleMember"&&O.optional||this.raise($t.OptionalTypeBeforeRequired,O),y||(y=V==="TSNamedTupleMember"&&O.optional||V==="TSOptionalType")}),this.finishNode(p,"TSTupleType")}tsParseTupleElementType(){const{startLoc:p}=this.state,y=this.eat(21);let O,V,ee,Se;const Be=J(this.state.type)?this.lookaheadCharCode():null;if(Be===58)O=!0,ee=!1,V=this.parseIdentifier(!0),this.expect(14),Se=this.tsParseType();else if(Be===63){ee=!0;const Ge=this.state.startLoc,Ze=this.state.value,tt=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(O=!0,V=this.createIdentifier(this.startNodeAt(Ge),Ze),this.expect(17),this.expect(14),Se=this.tsParseType()):(O=!1,Se=tt,this.expect(17))}else Se=this.tsParseType(),ee=this.eat(17),O=this.eat(14);if(O){let Ge;V?(Ge=this.startNodeAtNode(V),Ge.optional=ee,Ge.label=V,Ge.elementType=Se,this.eat(17)&&(Ge.optional=!0,this.raise($t.TupleOptionalAfterType,this.state.lastTokStartLoc))):(Ge=this.startNodeAtNode(Se),Ge.optional=ee,this.raise($t.InvalidTupleMemberLabel,Se),Ge.label=Se,Ge.elementType=this.tsParseType()),Se=this.finishNode(Ge,"TSNamedTupleMember")}else if(ee){const Ge=this.startNodeAtNode(Se);Ge.typeAnnotation=Se,Se=this.finishNode(Ge,"TSOptionalType")}if(y){const Ge=this.startNodeAt(p);Ge.typeAnnotation=Se,Se=this.finishNode(Ge,"TSRestType")}return Se}tsParseParenthesizedType(){const p=this.startNode();return this.expect(10),p.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(p,"TSParenthesizedType")}tsParseFunctionOrConstructorType(p,y){const O=this.startNode();return p==="TSConstructorType"&&(O.abstract=!!y,y&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,O)),this.finishNode(O,p)}tsParseLiteralTypeNode(){const p=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:p.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(p,"TSLiteralType")}tsParseTemplateLiteralType(){const p=this.startNode();return p.literal=super.parseTemplate(!1),this.finishNode(p,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const p=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(p):p}tsParseNonArrayType(){switch(this.state.type){case 133:case 134:case 135:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const p=this.startNode(),y=this.lookahead();return y.type!==134&&y.type!==135&&this.unexpected(),p.literal=this.parseMaybeUnary(),this.finishNode(p,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:p}=this.state;if(oe(p)||p===88||p===84){const y=p===88?"TSVoidKeyword":p===84?"TSNullKeyword":function(O){switch(O){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}}(this.state.value);if(y!==void 0&&this.lookaheadCharCode()!==46){const O=this.startNode();return this.next(),this.finishNode(O,y)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let p=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const y=this.startNodeAtNode(p);y.elementType=p,this.expect(3),p=this.finishNode(y,"TSArrayType")}else{const y=this.startNodeAtNode(p);y.objectType=p,y.indexType=this.tsParseType(),this.expect(3),p=this.finishNode(y,"TSIndexedAccessType")}return p}tsParseTypeOperator(){const p=this.startNode(),y=this.state.value;return this.next(),p.operator=y,p.typeAnnotation=this.tsParseTypeOperatorOrHigher(),y==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(p),this.finishNode(p,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(p){switch(p.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise($t.UnexpectedReadonly,p)}}tsParseInferType(){const p=this.startNode();this.expectContextual(115);const y=this.startNode();return y.name=this.tsParseTypeParameterName(),y.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),p.typeParameter=this.finishNode(y,"TSTypeParameter"),this.finishNode(p,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const p=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return p}}tsParseTypeOperatorOrHigher(){var p;return(p=this.state.type)>=121&&p<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(p,y,O){const V=this.startNode(),ee=this.eat(O),Se=[];do Se.push(y());while(this.eat(O));return Se.length!==1||ee?(V.types=Se,this.finishNode(V,p)):Se[0]}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)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(oe(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:p}=this.state,y=p.length;try{return this.parseObjectLike(8,!0),p.length===y}catch{return!1}}if(this.match(0)){this.next();const{errors:p}=this.state,y=p.length;try{return super.parseBindingList(3,93,1),p.length===y}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(p){return this.tsInType(()=>{const y=this.startNode();this.expect(p);const O=this.startNode(),V=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(V&&this.match(78)){let Be=this.tsParseThisTypeOrThisTypePredicate();return Be.type==="TSThisType"?(O.parameterName=Be,O.asserts=!0,O.typeAnnotation=null,Be=this.finishNode(O,"TSTypePredicate")):(this.resetStartLocationFromNode(Be,O),Be.asserts=!0),y.typeAnnotation=Be,this.finishNode(y,"TSTypeAnnotation")}const ee=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!ee)return V?(O.parameterName=this.parseIdentifier(),O.asserts=V,O.typeAnnotation=null,y.typeAnnotation=this.finishNode(O,"TSTypePredicate"),this.finishNode(y,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,y);const Se=this.tsParseTypeAnnotation(!1);return O.parameterName=ee,O.typeAnnotation=Se,O.asserts=V,y.typeAnnotation=this.finishNode(O,"TSTypePredicate"),this.finishNode(y,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const p=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),p}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const p=this.state.containsEsc;return this.next(),!(!oe(this.state.type)&&!this.match(78)||(p&&this.raise(m.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let p=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{p&&this.expect(14),y.typeAnnotation=this.tsParseType()}),this.finishNode(y,"TSTypeAnnotation")}tsParseType(){Vo(this.state.inType);const p=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return p;const y=this.startNodeAtNode(p);return y.checkType=p,y.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),y.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),y.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(y,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise($t.ReservedTypeAssertion,this.state.startLoc);const p=this.startNode();return p.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),p.expression=this.parseMaybeUnary(),this.finishNode(p,"TSTypeAssertion")}tsParseHeritageClause(p){const y=this.state.startLoc,O=this.tsParseDelimitedList("HeritageClauseElement",()=>{const V=this.startNode();return V.expression=this.tsParseEntityName(),this.match(47)&&(V.typeParameters=this.tsParseTypeArguments()),this.finishNode(V,"TSExpressionWithTypeArguments")});return O.length||this.raise($t.EmptyHeritageClauseType,y,{token:p}),O}tsParseInterfaceDeclaration(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(129),y.declare&&(p.declare=!0),oe(this.state.type)?(p.id=this.parseIdentifier(),this.checkIdentifier(p.id,130)):(p.id=null,this.raise($t.MissingInterfaceName,this.state.startLoc)),p.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(p.extends=this.tsParseHeritageClause("extends"));const O=this.startNode();return O.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),p.body=this.finishNode(O,"TSInterfaceBody"),this.finishNode(p,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(p){return p.id=this.parseIdentifier(),this.checkIdentifier(p.id,2),p.typeAnnotation=this.tsInType(()=>{if(p.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const y=this.startNode();return this.next(),this.finishNode(y,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(p,"TSTypeAliasDeclaration")}tsInNoContext(p){const y=this.state.context;this.state.context=[y[0]];try{return p()}finally{this.state.context=y}}tsInType(p){const y=this.state.inType;this.state.inType=!0;try{return p()}finally{this.state.inType=y}}tsInDisallowConditionalTypesContext(p){const y=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return p()}finally{this.state.inDisallowConditionalTypesContext=y}}tsInAllowConditionalTypesContext(p){const y=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return p()}finally{this.state.inDisallowConditionalTypesContext=y}}tsEatThenParseType(p){if(this.match(p))return this.tsNextThenParseType()}tsExpectThenParseType(p){return this.tsInType(()=>(this.expect(p),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const p=this.startNode();return p.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(p.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(p,"TSEnumMember")}tsParseEnumDeclaration(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return y.const&&(p.const=!0),y.declare&&(p.declare=!0),this.expectContextual(126),p.id=this.parseIdentifier(),this.checkIdentifier(p.id,p.const?8971:8459),this.expect(5),p.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(p,"TSEnumDeclaration")}tsParseModuleBlock(){const p=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(p.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(p,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(p){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(p.id=this.parseIdentifier(),y||this.checkIdentifier(p.id,1024),this.eat(16)){const O=this.startNode();this.tsParseModuleOrNamespaceDeclaration(O,!0),p.body=O}else this.scope.enter(256),this.prodParam.enter(0),p.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(p,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(p){return this.isContextual(112)?(p.global=!0,p.id=this.parseIdentifier()):this.match(133)?p.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),p.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(p,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(p,y,O){p.isExport=O||!1,p.id=y||this.parseIdentifier(),this.checkIdentifier(p.id,4096),this.expect(29);const V=this.tsParseModuleReference();return p.importKind==="type"&&V.type!=="TSExternalModuleReference"&&this.raise($t.ImportAliasHasImportType,V),p.moduleReference=V,this.semicolon(),this.finishNode(p,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const p=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),p.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(p,"TSExternalModuleReference")}tsLookAhead(p){const y=this.state.clone(),O=p();return this.state=y,O}tsTryParseAndCatch(p){const y=this.tryParse(O=>p()||O());if(!y.aborted&&y.node)return y.error&&(this.state=y.failState),y.node}tsTryParse(p){const y=this.state.clone(),O=p();if(O!==void 0&&O!==!1)return O;this.state=y}tsTryParseDeclare(p){if(this.isLineTerminator())return;let y,O=this.state.type;return this.isContextual(100)&&(O=74,y="let"),this.tsInAmbientContext(()=>{switch(O){case 68:return p.declare=!0,super.parseFunctionStatement(p,!1,!1);case 80:return p.declare=!0,this.parseClass(p,!0,!1);case 126:return this.tsParseEnumDeclaration(p,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(p);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(p,{const:!0,declare:!0})):(p.declare=!0,this.parseVarStatement(p,y||this.state.value,!0));case 129:{const V=this.tsParseInterfaceDeclaration(p,{declare:!0});if(V)return V}default:if(oe(O))return this.tsParseDeclaration(p,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(p,y,O){switch(y.name){case"declare":{const V=this.tsTryParseDeclare(p);return V&&(V.declare=!0),V}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const V=p;return V.global=!0,V.id=y,V.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(V,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(p,y.name,!1,O)}}tsParseDeclaration(p,y,O,V){switch(y){case"abstract":if(this.tsCheckLineTerminator(O)&&(this.match(80)||oe(this.state.type)))return this.tsParseAbstractDeclaration(p,V);break;case"module":if(this.tsCheckLineTerminator(O)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(p);if(oe(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(p)}break;case"namespace":if(this.tsCheckLineTerminator(O)&&oe(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(p);break;case"type":if(this.tsCheckLineTerminator(O)&&oe(this.state.type))return this.tsParseTypeAliasDeclaration(p)}}tsCheckLineTerminator(p){return p?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(p){if(!this.match(47))return;const y=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const O=this.tsTryParseAndCatch(()=>{const V=this.startNodeAt(p);return V.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(V),V.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),V});return this.state.maybeInArrowParameters=y,O?super.parseArrowExpression(O,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const p=this.startNode();return p.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),p.params.length===0?this.raise($t.EmptyTypeArguments,p):this.state.inType||this.curContext()!==P.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(p,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(p=this.state.type)>=124&&p<=130;var p}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(p,y){const O=this.state.startLoc,V={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},V);const ee=V.accessibility,Se=V.override,Be=V.readonly;4&p||!(ee||Be||Se)||this.raise($t.UnexpectedParameterModifier,O);const Ge=this.parseMaybeDefault();this.parseAssignableListItemTypes(Ge,p);const Ze=this.parseMaybeDefault(Ge.loc.start,Ge);if(ee||Be||Se){const tt=this.startNodeAt(O);return y.length&&(tt.decorators=y),ee&&(tt.accessibility=ee),Be&&(tt.readonly=Be),Se&&(tt.override=Se),Ze.type!=="Identifier"&&Ze.type!=="AssignmentPattern"&&this.raise($t.UnsupportedParameterPropertyKind,tt),tt.parameter=Ze,this.finishNode(tt,"TSParameterProperty")}return y.length&&(Ge.decorators=y),Ze}isSimpleParameter(p){return p.type==="TSParameterProperty"&&super.isSimpleParameter(p.parameter)||super.isSimpleParameter(p)}tsDisallowOptionalPattern(p){for(const y of p.params)y.type!=="Identifier"&&y.optional&&!this.state.isAmbientContext&&this.raise($t.PatternIsOptional,y)}setArrowFunctionParameters(p,y,O){super.setArrowFunctionParameters(p,y,O),this.tsDisallowOptionalPattern(p)}parseFunctionBodyAndFinish(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.match(14)&&(p.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const V=y==="FunctionDeclaration"?"TSDeclareFunction":y==="ClassMethod"||y==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return V&&!this.match(5)&&this.isLineTerminator()?this.finishNode(p,V):V==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise($t.DeclareFunctionHasImplementation,p),p.declare)?super.parseFunctionBodyAndFinish(p,V,O):(this.tsDisallowOptionalPattern(p),super.parseFunctionBodyAndFinish(p,y,O))}registerFunctionStatementId(p){!p.body&&p.id?this.checkIdentifier(p.id,1024):super.registerFunctionStatementId(p)}tsCheckForInvalidTypeCasts(p){p.forEach(y=>{y?.type==="TSTypeCastExpression"&&this.raise($t.UnexpectedTypeAnnotation,y.typeAnnotation)})}toReferencedList(p,y){return this.tsCheckForInvalidTypeCasts(p),p}parseArrayLike(p,y,O,V){const ee=super.parseArrayLike(p,y,O,V);return ee.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(ee.elements),ee}parseSubscript(p,y,O,V){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const Se=this.startNodeAt(y);return Se.expression=p,this.finishNode(Se,"TSNonNullExpression")}let ee=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(O)return V.stop=!0,p;V.optionalChainMember=ee=!0,this.next()}if(this.match(47)||this.match(51)){let Se;const Be=this.tsTryParseAndCatch(()=>{if(!O&&this.atPossibleAsyncArrow(p)){const Tt=this.tsTryParseGenericAsyncArrowFunction(y);if(Tt)return Tt}const Ge=this.tsParseTypeArgumentsInExpression();if(!Ge)return;if(ee&&!this.match(10))return void(Se=this.state.curPosition());if(Te(this.state.type)){const Tt=super.parseTaggedTemplateExpression(p,y,V);return Tt.typeParameters=Ge,Tt}if(!O&&this.eat(10)){const Tt=this.startNodeAt(y);return Tt.callee=p,Tt.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Tt.arguments),Tt.typeParameters=Ge,V.optionalChainMember&&(Tt.optional=ee),this.finishCallExpression(Tt,V.optionalChainMember)}const Ze=this.state.type;if(Ze===48||Ze===52||Ze!==10&&q(Ze)&&!this.hasPrecedingLineBreak())return;const tt=this.startNodeAt(y);return tt.expression=p,tt.typeParameters=Ge,this.finishNode(tt,"TSInstantiationExpression")});if(Se&&this.unexpected(Se,10),Be)return Be.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise($t.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),Be}return super.parseSubscript(p,y,O,V)}parseNewCallee(p){var y;super.parseNewCallee(p);const{callee:O}=p;O.type!=="TSInstantiationExpression"||(y=O.extra)!=null&&y.parenthesized||(p.typeParameters=O.typeParameters,p.callee=O.expression)}parseExprOp(p,y,O){let V;if(ge(58)>O&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(V=this.isContextual(120)))){const ee=this.startNodeAt(y);return ee.expression=p,ee.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(V&&this.raise(m.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(ee,V?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(ee,y,O)}return super.parseExprOp(p,y,O)}checkReservedWord(p,y,O,V){this.state.isAmbientContext||super.checkReservedWord(p,y,O,V)}checkImportReflection(p){super.checkImportReflection(p),p.module&&p.importKind!=="value"&&this.raise($t.ImportReflectionHasImportType,p.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(p){if(super.isPotentialImportPhase(p))return!0;if(this.isContextual(130)){const y=this.lookaheadCharCode();return p?y===123||y===42:y!==61}return!p&&this.isContextual(87)}applyImportPhase(p,y,O,V){super.applyImportPhase(p,y,O,V),y?p.exportKind=O==="type"?"type":"value":p.importKind=O==="type"||O==="typeof"?O:"value"}parseImport(p){if(this.match(133))return p.importKind="value",super.parseImport(p);let y;if(oe(this.state.type)&&this.lookaheadCharCode()===61)return p.importKind="value",this.tsParseImportEqualsDeclaration(p);if(this.isContextual(130)){const O=this.parseMaybeImportPhase(p,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(p,O);y=super.parseImportSpecifiersAndAfter(p,O)}else y=super.parseImport(p);return y.importKind==="type"&&y.specifiers.length>1&&y.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise($t.TypeImportCannotSpecifyDefaultAndNamed,y),y}parseExport(p,y){if(this.match(83)){this.next();let O=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?O=this.parseMaybeImportPhase(p,!1):p.importKind="value",this.tsParseImportEqualsDeclaration(p,O,!0)}if(this.eat(29)){const O=p;return O.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(O,"TSExportAssignment")}if(this.eatContextual(93)){const O=p;return this.expectContextual(128),O.id=this.parseIdentifier(),this.semicolon(),this.finishNode(O,"TSNamespaceExportDeclaration")}return super.parseExport(p,y)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const p=this.startNode();return this.next(),p.abstract=!0,this.parseClass(p,!0,!0)}if(this.match(129)){const p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseExportDefaultExpression()}parseVarStatement(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{isAmbientContext:V}=this.state,ee=super.parseVarStatement(p,y,O||V);if(!V)return ee;for(const{id:Se,init:Be}of ee.declarations)Be&&(y!=="const"||Se.typeAnnotation?this.raise($t.InitializerNotAllowedInAmbientContext,Be):wa(Be,this.hasPlugin("estree"))||this.raise($t.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,Be));return ee}parseStatementContent(p,y){if(this.match(75)&&this.isLookaheadContextual("enum")){const O=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(O,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const O=this.tsParseInterfaceDeclaration(this.startNode());if(O)return O}return super.parseStatementContent(p,y)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(p,y){return y.some(O=>fo(O)?p.accessibility===O:!!p[O])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(p,y,O){const V=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:V,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:$t.InvalidModifierOnTypeParameterPositions},y);const ee=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(y,V)&&this.raise($t.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(p,y)):this.parseClassMemberWithIsStatic(p,y,O,!!y.static)};y.declare?this.tsInAmbientContext(ee):ee()}parseClassMemberWithIsStatic(p,y,O,V){const ee=this.tsTryParseIndexSignature(y);if(ee)return p.body.push(ee),y.abstract&&this.raise($t.IndexSignatureHasAbstract,y),y.accessibility&&this.raise($t.IndexSignatureHasAccessibility,y,{modifier:y.accessibility}),y.declare&&this.raise($t.IndexSignatureHasDeclare,y),void(y.override&&this.raise($t.IndexSignatureHasOverride,y));!this.state.inAbstractClass&&y.abstract&&this.raise($t.NonAbstractClassHasAbstractMethod,y),y.override&&(O.hadSuperClass||this.raise($t.OverrideNotInSubClass,y)),super.parseClassMemberWithIsStatic(p,y,O,V)}parsePostMemberNameModifiers(p){this.eat(17)&&(p.optional=!0),p.readonly&&this.match(10)&&this.raise($t.ClassMethodHasReadonly,p),p.declare&&this.match(10)&&this.raise($t.ClassMethodHasDeclare,p)}parseExpressionStatement(p,y,O){return(y.type==="Identifier"?this.tsParseExpressionStatement(p,y,O):void 0)||super.parseExpressionStatement(p,y,O)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(p,y,O){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(p,y,O);const V=this.tryParse(()=>super.parseConditional(p,y));return V.node?(V.error&&(this.state=V.failState),V.node):(V.error&&super.setOptionalParametersError(O,V.error),p)}parseParenItem(p,y){if(p=super.parseParenItem(p,y),this.eat(17)&&(p.optional=!0,this.resetEndLocation(p)),this.match(14)){const O=this.startNodeAt(y);return O.expression=p,O.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(O,"TSTypeCastExpression")}return p}parseExportDeclaration(p){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(p));const y=this.state.startLoc,O=this.eatContextual(125);if(O&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise($t.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const V=oe(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(p);return V?((V.type==="TSInterfaceDeclaration"||V.type==="TSTypeAliasDeclaration"||O)&&(p.exportKind="type"),O&&(this.resetStartLocation(V,y),V.declare=!0),V):null}parseClassId(p,y,O,V){if((!y||O)&&this.isContextual(113))return;super.parseClassId(p,y,O,p.declare?1024:8331);const ee=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);ee&&(p.typeParameters=ee)}parseClassPropertyAnnotation(p){p.optional||(this.eat(35)?p.definite=!0:this.eat(17)&&(p.optional=!0));const y=this.tsTryParseTypeAnnotation();y&&(p.typeAnnotation=y)}parseClassProperty(p){if(this.parseClassPropertyAnnotation(p),this.state.isAmbientContext&&(!p.readonly||p.typeAnnotation)&&this.match(29)&&this.raise($t.DeclareClassFieldHasInitializer,this.state.startLoc),p.abstract&&this.match(29)){const{key:y}=p;this.raise($t.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:y.type!=="Identifier"||p.computed?`[${this.input.slice(y.start,y.end)}]`:y.name})}return super.parseClassProperty(p)}parseClassPrivateProperty(p){return p.abstract&&this.raise($t.PrivateElementHasAbstract,p),p.accessibility&&this.raise($t.PrivateElementHasAccessibility,p,{modifier:p.accessibility}),this.parseClassPropertyAnnotation(p),super.parseClassPrivateProperty(p)}parseClassAccessorProperty(p){return this.parseClassPropertyAnnotation(p),p.optional&&this.raise($t.AccessorCannotBeOptional,p),super.parseClassAccessorProperty(p)}pushClassMethod(p,y,O,V,ee,Se){const Be=this.tsTryParseTypeParameters(this.tsParseConstModifier);Be&&ee&&this.raise($t.ConstructorHasTypeParameters,Be);const{declare:Ge=!1,kind:Ze}=y;!Ge||Ze!=="get"&&Ze!=="set"||this.raise($t.DeclareAccessor,y,{kind:Ze}),Be&&(y.typeParameters=Be),super.pushClassMethod(p,y,O,V,ee,Se)}pushClassPrivateMethod(p,y,O,V){const ee=this.tsTryParseTypeParameters(this.tsParseConstModifier);ee&&(y.typeParameters=ee),super.pushClassPrivateMethod(p,y,O,V)}declareClassPrivateMethodInScope(p,y){p.type!=="TSDeclareMethod"&&(p.type!=="MethodDefinition"||p.value.body)&&super.declareClassPrivateMethodInScope(p,y)}parseClassSuper(p){super.parseClassSuper(p),p.superClass&&(this.match(47)||this.match(51))&&(p.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(p.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(p,y,O,V,ee,Se,Be){const Ge=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Ge&&(p.typeParameters=Ge),super.parseObjPropValue(p,y,O,V,ee,Se,Be)}parseFunctionParams(p,y){const O=this.tsTryParseTypeParameters(this.tsParseConstModifier);O&&(p.typeParameters=O),super.parseFunctionParams(p,y)}parseVarId(p,y){super.parseVarId(p,y),p.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(p.definite=!0);const O=this.tsTryParseTypeAnnotation();O&&(p.id.typeAnnotation=O,this.resetEndLocation(p.id))}parseAsyncArrowFromCallExpression(p,y){return this.match(14)&&(p.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(p,y)}parseMaybeAssign(p,y){var O,V,ee,Se,Be;let Ge,Ze,tt,Tt;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Ge=this.state.clone(),Ze=this.tryParse(()=>super.parseMaybeAssign(p,y),Ge),!Ze.error)return Ze.node;const{context:vr}=this.state,rn=vr[vr.length-1];rn!==P.j_oTag&&rn!==P.j_expr||vr.pop()}if(!((O=Ze)!=null&&O.error||this.match(47)))return super.parseMaybeAssign(p,y);Ge&&Ge!==this.state||(Ge=this.state.clone());const mr=this.tryParse(vr=>{var rn,Ti;Tt=this.tsParseTypeParameters(this.tsParseConstModifier);const ni=super.parseMaybeAssign(p,y);return(ni.type!=="ArrowFunctionExpression"||(rn=ni.extra)!=null&&rn.parenthesized)&&vr(),((Ti=Tt)==null?void 0:Ti.params.length)!==0&&this.resetStartLocationFromNode(ni,Tt),ni.typeParameters=Tt,ni},Ge);if(!mr.error&&!mr.aborted)return Tt&&this.reportReservedArrowTypeParam(Tt),mr.node;if(!Ze&&(Vo(!this.hasPlugin("jsx")),tt=this.tryParse(()=>super.parseMaybeAssign(p,y),Ge),!tt.error))return tt.node;if((V=Ze)!=null&&V.node)return this.state=Ze.failState,Ze.node;if(mr.node)return this.state=mr.failState,Tt&&this.reportReservedArrowTypeParam(Tt),mr.node;if((ee=tt)!=null&&ee.node)return this.state=tt.failState,tt.node;throw((Se=Ze)==null?void 0:Se.error)||mr.error||((Be=tt)==null?void 0:Be.error)}reportReservedArrowTypeParam(p){var y;p.params.length!==1||p.params[0].constraint||(y=p.extra)!=null&&y.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise($t.ReservedArrowTypeParam,p)}parseMaybeUnary(p,y){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(p,y)}parseArrow(p){if(this.match(14)){const y=this.tryParse(O=>{const V=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||O(),V});if(y.aborted)return;y.thrown||(y.error&&(this.state=y.failState),p.returnType=y.node)}return super.parseArrow(p)}parseAssignableListItemTypes(p,y){if(!(2&y))return p;this.eat(17)&&(p.optional=!0);const O=this.tsTryParseTypeAnnotation();return O&&(p.typeAnnotation=O),this.resetEndLocation(p),p}isAssignable(p,y){switch(p.type){case"TSTypeCastExpression":return this.isAssignable(p.expression,y);case"TSParameterProperty":return!0;default:return super.isAssignable(p,y)}}toAssignable(p){let y=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(p.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(p,y);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":y?this.expressionScope.recordArrowParameterBindingError($t.UnexpectedTypeCastInParameter,p):this.raise($t.UnexpectedTypeCastInParameter,p),this.toAssignable(p.expression,y);break;case"AssignmentExpression":y||p.left.type!=="TSTypeCastExpression"||(p.left=this.typeCastToParameter(p.left));default:super.toAssignable(p,y)}}toAssignableParenthesizedExpression(p,y){switch(p.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(p.expression,y);break;default:super.toAssignable(p,y)}}checkToRestConversion(p,y){switch(p.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(p.expression,!1);break;default:super.checkToRestConversion(p,y)}}isValidLVal(p,y,O){return V={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(O!==64||!y)&&["expression",!0],TSSatisfiesExpression:(O!==64||!y)&&["expression",!0],TSTypeAssertion:(O!==64||!y)&&["expression",!0]},ee=p,Object.hasOwnProperty.call(V,ee)&&V[ee]||super.isValidLVal(p,y,O);var V,ee}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(p){if(this.match(47)||this.match(51)){const y=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const O=super.parseMaybeDecoratorArguments(p);return O.typeParameters=y,O}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(p)}checkCommaAfterRest(p){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===p?(this.next(),!1):super.checkCommaAfterRest(p)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(p,y){const O=super.parseMaybeDefault(p,y);return O.type==="AssignmentPattern"&&O.typeAnnotation&&O.right.startthis.isAssignable(y,!0)):super.shouldParseArrow(p)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(p){if(this.match(47)||this.match(51)){const y=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());y&&(p.typeParameters=y)}return super.jsxParseOpeningElementAfterName(p)}getGetterSetterExpectedParamCount(p){const y=super.getGetterSetterExpectedParamCount(p),O=this.getObjectOrClassMethodParams(p)[0];return O&&this.isThisParam(O)?y+1:y}parseCatchClauseParam(){const p=super.parseCatchClauseParam(),y=this.tsTryParseTypeAnnotation();return y&&(p.typeAnnotation=y,this.resetEndLocation(p)),p}tsInAmbientContext(p){const y=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return p()}finally{this.state.isAmbientContext=y}}parseClass(p,y,O){const V=this.state.inAbstractClass;this.state.inAbstractClass=!!p.abstract;try{return super.parseClass(p,y,O)}finally{this.state.inAbstractClass=V}}tsParseAbstractDeclaration(p,y){if(this.match(80))return p.abstract=!0,this.maybeTakeDecorators(y,this.parseClass(p,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return p.abstract=!0,this.raise($t.NonClassMethodPropertyHasAbstractModifer,p),this.tsParseInterfaceDeclaration(p)}else this.unexpected(null,80)}parseMethod(p,y,O,V,ee,Se,Be){const Ge=super.parseMethod(p,y,O,V,ee,Se,Be);if(Ge.abstract&&(this.hasPlugin("estree")?Ge.value.body:Ge.body)){const{key:Ze}=Ge;this.raise($t.AbstractMethodHasImplementation,Ge,{methodName:Ze.type!=="Identifier"||Ge.computed?`[${this.input.slice(Ze.start,Ze.end)}]`:Ze.name})}return Ge}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(p,y,O,V){return!y&&V?(this.parseTypeOnlyImportExportSpecifier(p,!1,O),this.finishNode(p,"ExportSpecifier")):(p.exportKind="value",super.parseExportSpecifier(p,y,O,V))}parseImportSpecifier(p,y,O,V,ee){return!y&&V?(this.parseTypeOnlyImportExportSpecifier(p,!0,O),this.finishNode(p,"ImportSpecifier")):(p.importKind="value",super.parseImportSpecifier(p,y,O,V,O?4098:4096))}parseTypeOnlyImportExportSpecifier(p,y,O){const V=y?"imported":"local",ee=y?"local":"exported";let Se,Be=p[V],Ge=!1,Ze=!0;const tt=Be.loc.start;if(this.isContextual(93)){const Tt=this.parseIdentifier();if(this.isContextual(93)){const mr=this.parseIdentifier();J(this.state.type)?(Ge=!0,Be=Tt,Se=y?this.parseIdentifier():this.parseModuleExportName(),Ze=!1):(Se=mr,Ze=!1)}else J(this.state.type)?(Ze=!1,Se=y?this.parseIdentifier():this.parseModuleExportName()):(Ge=!0,Be=Tt)}else J(this.state.type)&&(Ge=!0,y?(Be=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(Be.name,Be.loc.start,!0,!0)):Be=this.parseModuleExportName());Ge&&O&&this.raise(y?$t.TypeModifierIsUsedInTypeImports:$t.TypeModifierIsUsedInTypeExports,tt),p[V]=Be,p[ee]=Se,p[y?"importKind":"exportKind"]=Ge?"type":"value",Ze&&this.eatContextual(93)&&(p[ee]=y?this.parseIdentifier():this.parseModuleExportName()),p[ee]||(p[ee]=ls(p[V])),y&&this.checkIdentifier(p[ee],Ge?4098:4096)}},v8intrinsic:Oe=>class extends Oe{parseV8Intrinsic(){if(this.match(54)){const p=this.state.startLoc,y=this.startNode();if(this.next(),oe(this.state.type)){const O=this.parseIdentifierName(),V=this.createIdentifier(y,O);if(V.type="V8IntrinsicIdentifier",this.match(10))return V}this.unexpected(p)}}parseExprAtom(p){return this.parseV8Intrinsic()||super.parseExprAtom(p)}},placeholders:Oe=>class extends Oe{parsePlaceholder(p){if(this.match(144)){const y=this.startNode();return this.next(),this.assertNoSpace(),y.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(y,p)}}finishPlaceholder(p,y){const O=!(!p.expectedNode||p.type!=="Placeholder");return p.expectedNode=y,O?p:this.finishNode(p,"Placeholder")}getTokenFromCode(p){p===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(p)}parseExprAtom(p){return this.parsePlaceholder("Expression")||super.parseExprAtom(p)}parseIdentifier(p){return this.parsePlaceholder("Identifier")||super.parseIdentifier(p)}checkReservedWord(p,y,O,V){p!==void 0&&super.checkReservedWord(p,y,O,V)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(p,y,O){return p==="Placeholder"||super.isValidLVal(p,y,O)}toAssignable(p,y){p&&p.type==="Placeholder"&&p.expectedNode==="Expression"?p.expectedNode="Pattern":super.toAssignable(p,y)}chStartsBindingIdentifier(p,y){return!!super.chStartsBindingIdentifier(p,y)||this.lookahead().type===144}verifyBreakContinue(p,y){p.label&&p.label.type==="Placeholder"||super.verifyBreakContinue(p,y)}parseExpressionStatement(p,y){var O;if(y.type!=="Placeholder"||(O=y.extra)!=null&&O.parenthesized)return super.parseExpressionStatement(p,y);if(this.match(14)){const V=p;return V.label=this.finishPlaceholder(y,"Identifier"),this.next(),V.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(V,"LabeledStatement")}return this.semicolon(),p.name=y.name,this.finishPlaceholder(p,"Statement")}parseBlock(p,y,O){return this.parsePlaceholder("BlockStatement")||super.parseBlock(p,y,O)}parseFunctionId(p){return this.parsePlaceholder("Identifier")||super.parseFunctionId(p)}parseClass(p,y,O){const V=y?"ClassDeclaration":"ClassExpression";this.next();const ee=this.state.strict,Se=this.parsePlaceholder("Identifier");if(Se){if(!(this.match(81)||this.match(144)||this.match(5))){if(O||!y)return p.id=null,p.body=this.finishPlaceholder(Se,"ClassBody"),this.finishNode(p,V);throw this.raise(Il.ClassNameIsRequired,this.state.startLoc)}p.id=Se}else this.parseClassId(p,y,O);return super.parseClassSuper(p),p.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!p.superClass,ee),this.finishNode(p,V)}parseExport(p,y){const O=this.parsePlaceholder("Identifier");if(!O)return super.parseExport(p,y);if(!this.isContextual(98)&&!this.match(12))return p.specifiers=[],p.source=null,p.declaration=this.finishPlaceholder(O,"Declaration"),this.finishNode(p,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const V=this.startNode();return V.exported=O,p.specifiers=[this.finishNode(V,"ExportDefaultSpecifier")],super.parseExport(p,y)}isExportDefaultSpecifier(){if(this.match(65)){const p=this.nextTokenStart();if(this.isUnparsedContextual(p,"from")&&this.input.startsWith(ce(144),this.nextTokenStartSince(p+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(p,y){var O;return!((O=p.specifiers)==null||!O.length)||super.maybeParseExportDefaultSpecifier(p,y)}checkExport(p){const{specifiers:y}=p;y!=null&&y.length&&(p.specifiers=y.filter(O=>O.exported.type==="Placeholder")),super.checkExport(p),p.specifiers=y}parseImport(p){const y=this.parsePlaceholder("Identifier");if(!y)return super.parseImport(p);if(p.specifiers=[],!this.isContextual(98)&&!this.match(12))return p.source=this.finishPlaceholder(y,"StringLiteral"),this.semicolon(),this.finishNode(p,"ImportDeclaration");const O=this.startNodeAtNode(y);return O.local=y,p.specifiers.push(this.finishNode(O,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(p)||this.parseNamedImportSpecifiers(p)),this.expectContextual(98),p.source=this.parseImportSource(),this.semicolon(),this.finishNode(p,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Il.UnexpectedSpace,this.state.lastTokEndLoc)}}},K1=Object.keys(G1),q1={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};class $d extends Ji{checkProto(p,y,O,V){if(p.type==="SpreadElement"||this.isObjectMethod(p)||p.computed||p.shorthand)return;const ee=p.key;if((ee.type==="Identifier"?ee.name:ee.value)==="__proto__"){if(y)return void this.raise(m.RecordNoProto,ee);O.used&&(V?V.doubleProtoLoc===null&&(V.doubleProtoLoc=ee.loc.start):this.raise(m.DuplicateProto,ee)),O.used=!0}}shouldExitDescending(p,y){return p.type==="ArrowFunctionExpression"&&p.start===y}getExpression(){this.enterInitialScopes(),this.nextToken();const p=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),p.comments=this.comments,p.errors=this.state.errors,this.options.tokens&&(p.tokens=this.tokens),p}parseExpression(p,y){return p?this.disallowInAnd(()=>this.parseExpressionBase(y)):this.allowInAnd(()=>this.parseExpressionBase(y))}parseExpressionBase(p){const y=this.state.startLoc,O=this.parseMaybeAssign(p);if(this.match(12)){const V=this.startNodeAt(y);for(V.expressions=[O];this.eat(12);)V.expressions.push(this.parseMaybeAssign(p));return this.toReferencedList(V.expressions),this.finishNode(V,"SequenceExpression")}return O}parseMaybeAssignDisallowIn(p,y){return this.disallowInAnd(()=>this.parseMaybeAssign(p,y))}parseMaybeAssignAllowIn(p,y){return this.allowInAnd(()=>this.parseMaybeAssign(p,y))}setOptionalParametersError(p,y){var O;p.optionalParametersLoc=(O=y?.loc)!=null?O:this.state.startLoc}parseMaybeAssign(p,y){const O=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let Ge=this.parseYield();return y&&(Ge=y.call(this,Ge,O)),Ge}let V;p?V=!1:(p=new Es,V=!0);const{type:ee}=this.state;(ee===10||oe(ee))&&(this.state.potentialArrowAt=this.state.start);let Se=this.parseMaybeConditional(p);if(y&&(Se=y.call(this,Se,O)),(Be=this.state.type)>=29&&Be<=33){const Ge=this.startNodeAt(O),Ze=this.state.value;if(Ge.operator=Ze,this.match(29)){this.toAssignable(Se,!0),Ge.left=Se;const tt=O.index;p.doubleProtoLoc!=null&&p.doubleProtoLoc.index>=tt&&(p.doubleProtoLoc=null),p.shorthandAssignLoc!=null&&p.shorthandAssignLoc.index>=tt&&(p.shorthandAssignLoc=null),p.privateKeyLoc!=null&&p.privateKeyLoc.index>=tt&&(this.checkDestructuringPrivate(p),p.privateKeyLoc=null)}else Ge.left=Se;return this.next(),Ge.right=this.parseMaybeAssign(),this.checkLVal(Se,{in:this.finishNode(Ge,"AssignmentExpression")}),Ge}var Be;return V&&this.checkExpressionErrors(p,!0),Se}parseMaybeConditional(p){const y=this.state.startLoc,O=this.state.potentialArrowAt,V=this.parseExprOps(p);return this.shouldExitDescending(V,O)?V:this.parseConditional(V,y,p)}parseConditional(p,y,O){if(this.eat(17)){const V=this.startNodeAt(y);return V.test=p,V.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),V.alternate=this.parseMaybeAssign(),this.finishNode(V,"ConditionalExpression")}return p}parseMaybeUnaryOrPrivate(p){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(p)}parseExprOps(p){const y=this.state.startLoc,O=this.state.potentialArrowAt,V=this.parseMaybeUnaryOrPrivate(p);return this.shouldExitDescending(V,O)?V:this.parseExprOp(V,y,-1)}parseExprOp(p,y,O){if(this.isPrivateName(p)){const Se=this.getPrivateNameSV(p);(O>=ge(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(m.PrivateInExpectedIn,p,{identifierName:Se}),this.classScope.usePrivateName(Se,p.loc.start)}const V=this.state.type;if((ee=V)>=39&&ee<=59&&(this.prodParam.hasIn||!this.match(58))){let Se=ge(V);if(Se>O){if(V===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return p;this.checkPipelineAtInfixOperator(p,y)}const Be=this.startNodeAt(y);Be.left=p,Be.operator=this.state.value;const Ge=V===41||V===42,Ze=V===40;if(Ze&&(Se=ge(42)),this.next(),V===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(m.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);Be.right=this.parseExprOpRightExpr(V,Se);const tt=this.finishNode(Be,Ge||Ze?"LogicalExpression":"BinaryExpression"),Tt=this.state.type;if(Ze&&(Tt===41||Tt===42)||Ge&&Tt===40)throw this.raise(m.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(tt,y,O)}}var ee;return p}parseExprOpRightExpr(p,y){const O=this.state.startLoc;if(p===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(m.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(p,y),O)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(y))}return this.parseExprOpBaseRightExpr(p,y)}parseExprOpBaseRightExpr(p,y){const O=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),O,p===57?y-1:y)}parseHackPipeBody(){var p;const{startLoc:y}=this.state,O=this.parseMaybeAssign();return!d.has(O.type)||(p=O.extra)!=null&&p.parenthesized||this.raise(m.PipeUnparenthesizedBody,y,{type:O.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(m.PipeTopicUnused,y),O}checkExponentialAfterUnary(p){this.match(57)&&this.raise(m.UnexpectedTokenUnaryExponentiation,p.argument)}parseMaybeUnary(p,y){const O=this.state.startLoc,V=this.isContextual(96);if(V&&this.isAwaitAllowed()){this.next();const Ze=this.parseAwait(O);return y||this.checkExponentialAfterUnary(Ze),Ze}const ee=this.match(34),Se=this.startNode();if(Be=this.state.type,he[Be]){Se.operator=this.state.value,Se.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const Ze=this.match(89);if(this.next(),Se.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(p,!0),this.state.strict&&Ze){const tt=Se.argument;tt.type==="Identifier"?this.raise(m.StrictDelete,Se):this.hasPropertyAsPrivateName(tt)&&this.raise(m.DeletePrivateField,Se)}if(!ee)return y||this.checkExponentialAfterUnary(Se),this.finishNode(Se,"UnaryExpression")}var Be;const Ge=this.parseUpdate(Se,ee,p);if(V){const{type:Ze}=this.state;if((this.hasPlugin("v8intrinsic")?q(Ze):q(Ze)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(m.AwaitNotInAsyncContext,O),this.parseAwait(O)}return Ge}parseUpdate(p,y,O){if(y){const Se=p;return this.checkLVal(Se.argument,{in:this.finishNode(Se,"UpdateExpression")}),p}const V=this.state.startLoc;let ee=this.parseExprSubscripts(O);if(this.checkExpressionErrors(O,!1))return ee;for(;this.state.type===34&&!this.canInsertSemicolon();){const Se=this.startNodeAt(V);Se.operator=this.state.value,Se.prefix=!1,Se.argument=ee,this.next(),this.checkLVal(ee,{in:ee=this.finishNode(Se,"UpdateExpression")})}return ee}parseExprSubscripts(p){const y=this.state.startLoc,O=this.state.potentialArrowAt,V=this.parseExprAtom(p);return this.shouldExitDescending(V,O)?V:this.parseSubscripts(V,y)}parseSubscripts(p,y,O){const V={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(p),stop:!1};do p=this.parseSubscript(p,y,O,V),V.maybeAsyncArrow=!1;while(!V.stop);return p}parseSubscript(p,y,O,V){const{type:ee}=this.state;if(!O&&ee===15)return this.parseBind(p,y,O,V);if(Te(ee))return this.parseTaggedTemplateExpression(p,y,V);let Se=!1;if(ee===18){if(O&&(this.raise(m.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return V.stop=!0,p;V.optionalChainMember=Se=!0,this.next()}if(!O&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(p,y,V,Se);{const Be=this.eat(0);return Be||Se||this.eat(16)?this.parseMember(p,y,V,Be,Se):(V.stop=!0,p)}}parseMember(p,y,O,V,ee){const Se=this.startNodeAt(y);return Se.object=p,Se.computed=V,V?(Se.property=this.parseExpression(),this.expect(3)):this.match(138)?(p.type==="Super"&&this.raise(m.SuperPrivateField,y),this.classScope.usePrivateName(this.state.value,this.state.startLoc),Se.property=this.parsePrivateName()):Se.property=this.parseIdentifier(!0),O.optionalChainMember?(Se.optional=ee,this.finishNode(Se,"OptionalMemberExpression")):this.finishNode(Se,"MemberExpression")}parseBind(p,y,O,V){const ee=this.startNodeAt(y);return ee.object=p,this.next(),ee.callee=this.parseNoCallExpr(),V.stop=!0,this.parseSubscripts(this.finishNode(ee,"BindExpression"),y,O)}parseCoverCallAndAsyncArrowHead(p,y,O,V){const ee=this.state.maybeInArrowParameters;let Se=null;this.state.maybeInArrowParameters=!0,this.next();const Be=this.startNodeAt(y);Be.callee=p;const{maybeAsyncArrow:Ge,optionalChainMember:Ze}=O;Ge&&(this.expressionScope.enter(new Hr(2)),Se=new Es),Ze&&(Be.optional=V),Be.arguments=V?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,p.type==="Import",p.type!=="Super",Be,Se);let tt=this.finishCallExpression(Be,Ze);return Ge&&this.shouldParseAsyncArrow()&&!V?(O.stop=!0,this.checkDestructuringPrivate(Se),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),tt=this.parseAsyncArrowFromCallExpression(this.startNodeAt(y),tt)):(Ge&&(this.checkExpressionErrors(Se,!0),this.expressionScope.exit()),this.toReferencedArguments(tt)),this.state.maybeInArrowParameters=ee,tt}toReferencedArguments(p,y){this.toReferencedListDeep(p.arguments,y)}parseTaggedTemplateExpression(p,y,O){const V=this.startNodeAt(y);return V.tag=p,V.quasi=this.parseTemplate(!0),O.optionalChainMember&&this.raise(m.OptionalChainingNoTemplate,y),this.finishNode(V,"TaggedTemplateExpression")}atPossibleAsyncArrow(p){return p.type==="Identifier"&&p.name==="async"&&this.state.lastTokEndLoc.index===p.end&&!this.canInsertSemicolon()&&p.end-p.start==5&&p.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(p,y){if(p.callee.type==="Import")if(p.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),p.arguments.length===0||p.arguments.length>2)this.raise(m.ImportCallArity,p,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const O of p.arguments)O.type==="SpreadElement"&&this.raise(m.ImportCallSpreadArgument,O);return this.finishNode(p,y?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(p,y,O,V,ee){const Se=[];let Be=!0;const Ge=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(p);){if(Be)Be=!1;else if(this.expect(12),this.match(p)){!y||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(m.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),V&&this.addTrailingCommaExtraToNode(V),this.next();break}Se.push(this.parseExprListItem(!1,ee,O))}return this.state.inFSharpPipelineDirectBody=Ge,Se}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(p,y){var O;return this.resetPreviousNodeTrailingComments(y),this.expect(19),this.parseArrowExpression(p,y.arguments,!0,(O=y.extra)==null?void 0:O.trailingCommaLoc),y.innerComments&&Nr(p,y.innerComments),y.callee.trailingComments&&Nr(p,y.callee.trailingComments),p}parseNoCallExpr(){const p=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),p,!0)}parseExprAtom(p){let y,O=null;const{type:V}=this.state;switch(V){case 79:return this.parseSuper();case 83:return y=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(y):this.match(10)?this.options.createImportExpressions?this.parseImportCall(y):this.finishNode(y,"Import"):(this.raise(m.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(y,"Import"));case 78:return y=this.startNode(),this.next(),this.finishNode(y,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 134:return this.parseNumericLiteral(this.state.value);case 135:return this.parseBigIntLiteral(this.state.value);case 136:return this.parseDecimalLiteral(this.state.value);case 133:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const ee=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(ee)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,p);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,p);case 68:return this.parseFunctionOrFunctionSent();case 26:O=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(O,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{y=this.startNode(),this.next(),y.object=null;const ee=y.callee=this.parseNoCallExpr();if(ee.type==="MemberExpression")return this.finishNode(y,"BindExpression");throw this.raise(m.UnsupportedBind,ee)}case 138:return this.raise(m.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const ee=this.getPluginOption("pipelineOperator","proposal");if(ee)return this.parseTopicReference(ee);this.unexpected();break}case 47:{const ee=this.input.codePointAt(this.nextTokenStart());Ne(ee)||ee===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(oe(V)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const ee=this.state.potentialArrowAt===this.state.start,Se=this.state.containsEsc,Be=this.parseIdentifier();if(!Se&&Be.name==="async"&&!this.canInsertSemicolon()){const{type:Ge}=this.state;if(Ge===68)return this.resetPreviousNodeTrailingComments(Be),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(Be));if(oe(Ge))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(Be)):Be;if(Ge===90)return this.resetPreviousNodeTrailingComments(Be),this.parseDo(this.startNodeAtNode(Be),!0)}return ee&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(Be),[Be],!1)):Be}this.unexpected()}}parseTopicReferenceThenEqualsSign(p,y){const O=this.getPluginOption("pipelineOperator","proposal");if(O)return this.state.type=p,this.state.value=y,this.state.pos--,this.state.end--,this.state.endLoc=o(this.state.endLoc,-1),this.parseTopicReference(O);this.unexpected()}parseTopicReference(p){const y=this.startNode(),O=this.state.startLoc,V=this.state.type;return this.next(),this.finishTopicReference(y,O,p,V)}finishTopicReference(p,y,O,V){if(this.testTopicReferenceConfiguration(O,y,V)){const ee=O==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(O==="smart"?m.PrimaryTopicNotAllowed:m.PipeTopicUnbound,y),this.registerTopicReference(),this.finishNode(p,ee)}throw this.raise(m.PipeTopicUnconfiguredToken,y,{token:ce(V)})}testTopicReferenceConfiguration(p,y,O){switch(p){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ce(O)}]);case"smart":return O===27;default:throw this.raise(m.PipeTopicRequiresHackPipes,y)}}parseAsyncArrowUnaryFunction(p){this.prodParam.enter(as(!0,this.prodParam.hasYield));const y=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(m.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(p,y,!0)}parseDo(p,y){this.expectPlugin("doExpressions"),y&&this.expectPlugin("asyncDoExpressions"),p.async=y,this.next();const O=this.state.labels;return this.state.labels=[],y?(this.prodParam.enter(2),p.body=this.parseBlock(),this.prodParam.exit()):p.body=this.parseBlock(),this.state.labels=O,this.finishNode(p,"DoExpression")}parseSuper(){const p=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(m.UnexpectedSuper,p):this.raise(m.SuperNotAllowed,p),this.match(10)||this.match(0)||this.match(16)||this.raise(m.UnsupportedSuper,p),this.finishNode(p,"Super")}parsePrivateName(){const p=this.startNode(),y=this.startNodeAt(o(this.state.startLoc,1)),O=this.state.value;return this.next(),p.id=this.createIdentifier(y,O),this.finishNode(p,"PrivateName")}parseFunctionOrFunctionSent(){const p=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const y=this.createIdentifier(this.startNodeAtNode(p),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(p,y,"sent")}return this.parseFunction(p)}parseMetaProperty(p,y,O){p.meta=y;const V=this.state.containsEsc;return p.property=this.parseIdentifier(!0),(p.property.name!==O||V)&&this.raise(m.UnsupportedMetaProperty,p.property,{target:y.name,onlyValidPropertyName:O}),this.finishNode(p,"MetaProperty")}parseImportMetaProperty(p){const y=this.createIdentifier(this.startNodeAtNode(p),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(m.ImportMetaOutsideModule,y),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const O=this.isContextual(105);if(O||this.unexpected(),this.expectPlugin(O?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(m.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),p.phase=O?"source":"defer",this.parseImportCall(p)}return this.parseMetaProperty(p,y,"meta")}parseLiteralAtNode(p,y,O){return this.addExtra(O,"rawValue",p),this.addExtra(O,"raw",this.input.slice(O.start,this.state.end)),O.value=p,this.next(),this.finishNode(O,y)}parseLiteral(p,y){const O=this.startNode();return this.parseLiteralAtNode(p,y,O)}parseStringLiteral(p){return this.parseLiteral(p,"StringLiteral")}parseNumericLiteral(p){return this.parseLiteral(p,"NumericLiteral")}parseBigIntLiteral(p){return this.parseLiteral(p,"BigIntLiteral")}parseDecimalLiteral(p){return this.parseLiteral(p,"DecimalLiteral")}parseRegExpLiteral(p){const y=this.parseLiteral(p.value,"RegExpLiteral");return y.pattern=p.pattern,y.flags=p.flags,y}parseBooleanLiteral(p){const y=this.startNode();return y.value=p,this.next(),this.finishNode(y,"BooleanLiteral")}parseNullLiteral(){const p=this.startNode();return this.next(),this.finishNode(p,"NullLiteral")}parseParenAndDistinguishExpression(p){const y=this.state.startLoc;let O;this.next(),this.expressionScope.enter(new Hr(1));const V=this.state.maybeInArrowParameters,ee=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const Se=this.state.startLoc,Be=[],Ge=new Es;let Ze,tt,Tt=!0;for(;!this.match(11);){if(Tt)Tt=!1;else if(this.expect(12,Ge.optionalParametersLoc===null?null:Ge.optionalParametersLoc),this.match(11)){tt=this.state.startLoc;break}if(this.match(21)){const rn=this.state.startLoc;if(Ze=this.state.startLoc,Be.push(this.parseParenItem(this.parseRestBinding(),rn)),!this.checkCommaAfterRest(41))break}else Be.push(this.parseMaybeAssignAllowIn(Ge,this.parseParenItem))}const mr=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=V,this.state.inFSharpPipelineDirectBody=ee;let vr=this.startNodeAt(y);return p&&this.shouldParseArrow(Be)&&(vr=this.parseArrow(vr))?(this.checkDestructuringPrivate(Ge),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(vr,Be,!1),vr):(this.expressionScope.exit(),Be.length||this.unexpected(this.state.lastTokStartLoc),tt&&this.unexpected(tt),Ze&&this.unexpected(Ze),this.checkExpressionErrors(Ge,!0),this.toReferencedListDeep(Be,!0),Be.length>1?(O=this.startNodeAt(Se),O.expressions=Be,this.finishNode(O,"SequenceExpression"),this.resetEndLocation(O,mr)):O=Be[0],this.wrapParenthesis(y,O))}wrapParenthesis(p,y){if(!this.options.createParenthesizedExpressions)return this.addExtra(y,"parenthesized",!0),this.addExtra(y,"parenStart",p.index),this.takeSurroundingComments(y,p.index,this.state.lastTokEndLoc.index),y;const O=this.startNodeAt(p);return O.expression=y,this.finishNode(O,"ParenthesizedExpression")}shouldParseArrow(p){return!this.canInsertSemicolon()}parseArrow(p){if(this.eat(19))return p}parseParenItem(p,y){return p}parseNewOrNewTarget(){const p=this.startNode();if(this.next(),this.match(16)){const y=this.createIdentifier(this.startNodeAtNode(p),"new");this.next();const O=this.parseMetaProperty(p,y,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(m.UnexpectedNewTarget,O),O}return this.parseNew(p)}parseNew(p){if(this.parseNewCallee(p),this.eat(10)){const y=this.parseExprList(11);this.toReferencedList(y),p.arguments=y}else p.arguments=[];return this.finishNode(p,"NewExpression")}parseNewCallee(p){const y=this.match(83),O=this.parseNoCallExpr();p.callee=O,!y||O.type!=="Import"&&O.type!=="ImportExpression"||this.raise(m.ImportCallNotNewExpression,O)}parseTemplateElement(p){const{start:y,startLoc:O,end:V,value:ee}=this.state,Se=y+1,Be=this.startNodeAt(o(O,1));ee===null&&(p||this.raise(m.InvalidEscapeSequenceTemplate,o(this.state.firstInvalidTemplateEscapePos,1)));const Ge=this.match(24),Ze=Ge?-1:-2,tt=V+Ze;Be.value={raw:this.input.slice(Se,tt).replace(/\r\n?/g,` `),cooked:ee===null?null:ee.slice(1,Ze)},Be.tail=Ge,this.next();const Tt=this.finishNode(Be,"TemplateElement");return this.resetEndLocation(Tt,o(this.state.lastTokEndLoc,Ze)),Tt}parseTemplate(p){const y=this.startNode();y.expressions=[];let O=this.parseTemplateElement(p);for(y.quasis=[O];!O.tail;)y.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),y.quasis.push(O=this.parseTemplateElement(p));return this.finishNode(y,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(p,y,O,V){O&&this.expectPlugin("recordAndTuple");const ee=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const Se=Object.create(null);let Be=!0;const Ge=this.startNode();for(Ge.properties=[],this.next();!this.match(p);){if(Be)Be=!1;else if(this.expect(12),this.match(p)){this.addTrailingCommaExtraToNode(Ge);break}let tt;y?tt=this.parseBindingProperty():(tt=this.parsePropertyDefinition(V),this.checkProto(tt,O,Se,V)),O&&!this.isObjectProperty(tt)&&tt.type!=="SpreadElement"&&this.raise(m.InvalidRecordProperty,tt),tt.shorthand&&this.addExtra(tt,"shorthand",!0),Ge.properties.push(tt)}this.next(),this.state.inFSharpPipelineDirectBody=ee;let Ze="ObjectExpression";return y?Ze="ObjectPattern":O&&(Ze="RecordExpression"),this.finishNode(Ge,Ze)}addTrailingCommaExtraToNode(p){this.addExtra(p,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(p,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(p){return!p.computed&&p.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(p){let y=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(m.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)y.push(this.parseDecorator());const O=this.startNode();let V,ee=!1,Se=!1;if(this.match(21))return y.length&&this.unexpected(),this.parseSpread();y.length&&(O.decorators=y,y=[]),O.method=!1,p&&(V=this.state.startLoc);let Be=this.eat(55);this.parsePropertyNamePrefixOperator(O);const Ge=this.state.containsEsc,Ze=this.parsePropertyName(O,p);if(!Be&&!Ge&&this.maybeAsyncOrAccessorProp(O)){const tt=Ze.name;tt!=="async"||this.hasPrecedingLineBreak()||(ee=!0,this.resetPreviousNodeTrailingComments(Ze),Be=this.eat(55),this.parsePropertyName(O)),tt!=="get"&&tt!=="set"||(Se=!0,this.resetPreviousNodeTrailingComments(Ze),O.kind=tt,this.match(55)&&(Be=!0,this.raise(m.AccessorIsGenerator,this.state.curPosition(),{kind:tt}),this.next()),this.parsePropertyName(O))}return this.parseObjPropValue(O,V,Be,ee,!1,Se,p)}getGetterSetterExpectedParamCount(p){return p.kind==="get"?0:1}getObjectOrClassMethodParams(p){return p.params}checkGetterSetterParams(p){var y;const O=this.getGetterSetterExpectedParamCount(p),V=this.getObjectOrClassMethodParams(p);V.length!==O&&this.raise(p.kind==="get"?m.BadGetterArity:m.BadSetterArity,p),p.kind==="set"&&((y=V[V.length-1])==null?void 0:y.type)==="RestElement"&&this.raise(m.BadSetterRestParameter,p)}parseObjectMethod(p,y,O,V,ee){if(ee){const Se=this.parseMethod(p,y,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Se),Se}if(O||y||this.match(10))return V&&this.unexpected(),p.kind="method",p.method=!0,this.parseMethod(p,y,O,!1,!1,"ObjectMethod")}parseObjectProperty(p,y,O,V){if(p.shorthand=!1,this.eat(14))return p.value=O?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(V),this.finishNode(p,"ObjectProperty");if(!p.computed&&p.key.type==="Identifier"){if(this.checkReservedWord(p.key.name,p.key.loc.start,!0,!1),O)p.value=this.parseMaybeDefault(y,ls(p.key));else if(this.match(29)){const ee=this.state.startLoc;V!=null?V.shorthandAssignLoc===null&&(V.shorthandAssignLoc=ee):this.raise(m.InvalidCoverInitializedName,ee),p.value=this.parseMaybeDefault(y,ls(p.key))}else p.value=ls(p.key);return p.shorthand=!0,this.finishNode(p,"ObjectProperty")}}parseObjPropValue(p,y,O,V,ee,Se,Be){const Ge=this.parseObjectMethod(p,O,V,ee,Se)||this.parseObjectProperty(p,y,ee,Be);return Ge||this.unexpected(),Ge}parsePropertyName(p,y){if(this.eat(0))p.computed=!0,p.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:O,value:V}=this.state;let ee;if(J(O))ee=this.parseIdentifier(!0);else switch(O){case 134:ee=this.parseNumericLiteral(V);break;case 133:ee=this.parseStringLiteral(V);break;case 135:ee=this.parseBigIntLiteral(V);break;case 136:ee=this.parseDecimalLiteral(V);break;case 138:{const Se=this.state.startLoc;y!=null?y.privateKeyLoc===null&&(y.privateKeyLoc=Se):this.raise(m.UnexpectedPrivateField,Se),ee=this.parsePrivateName();break}default:this.unexpected()}p.key=ee,O!==138&&(p.computed=!1)}return p.key}initFunction(p,y){p.id=null,p.generator=!1,p.async=y}parseMethod(p,y,O,V,ee,Se){let Be=arguments.length>6&&arguments[6]!==void 0&&arguments[6];this.initFunction(p,O),p.generator=y,this.scope.enter(18|(Be?64:0)|(ee?32:0)),this.prodParam.enter(as(O,p.generator)),this.parseFunctionParams(p,V);const Ge=this.parseFunctionBodyAndFinish(p,Se,!0);return this.prodParam.exit(),this.scope.exit(),Ge}parseArrayLike(p,y,O,V){O&&this.expectPlugin("recordAndTuple");const ee=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const Se=this.startNode();return this.next(),Se.elements=this.parseExprList(p,!O,V,Se),this.state.inFSharpPipelineDirectBody=ee,this.finishNode(Se,O?"TupleExpression":"ArrayExpression")}parseArrowExpression(p,y,O,V){this.scope.enter(6);let ee=as(O,!1);!this.match(5)&&this.prodParam.hasIn&&(ee|=8),this.prodParam.enter(ee),this.initFunction(p,O);const Se=this.state.maybeInArrowParameters;return y&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(p,y,V)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(p,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Se,this.finishNode(p,"ArrowFunctionExpression")}setArrowFunctionParameters(p,y,O){this.toAssignableList(y,O,!1),p.params=y}parseFunctionBodyAndFinish(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.parseFunctionBody(p,!1,O),this.finishNode(p,y)}parseFunctionBody(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const V=y&&!this.match(5);if(this.expressionScope.enter(ui()),V)p.body=this.parseMaybeAssign(),this.checkParams(p,!1,y,!1);else{const ee=this.state.strict,Se=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),p.body=this.parseBlock(!0,!1,Be=>{const Ge=!this.isSimpleParamList(p.params);Be&&Ge&&this.raise(m.IllegalLanguageModeDirective,p.kind!=="method"&&p.kind!=="constructor"||!p.key?p:p.key.loc.end);const Ze=!ee&&this.state.strict;this.checkParams(p,!(this.state.strict||y||O||Ge),y,Ze),this.state.strict&&p.id&&this.checkIdentifier(p.id,65,Ze)}),this.prodParam.exit(),this.state.labels=Se}this.expressionScope.exit()}isSimpleParameter(p){return p.type==="Identifier"}isSimpleParamList(p){for(let y=0,O=p.length;y3&&arguments[3]!==void 0)||arguments[3];const ee=!y&&new Set,Se={type:"FormalParameters"};for(const Be of p.params)this.checkLVal(Be,{in:Se,binding:5,checkClashes:ee,strictModeChanged:V})}parseExprList(p,y,O,V){const ee=[];let Se=!0;for(;!this.eat(p);){if(Se)Se=!1;else if(this.expect(12),this.match(p)){V&&this.addTrailingCommaExtraToNode(V),this.next();break}ee.push(this.parseExprListItem(y,O))}return ee}parseExprListItem(p,y,O){let V;if(this.match(12))p||this.raise(m.UnexpectedToken,this.state.curPosition(),{unexpected:","}),V=null;else if(this.match(21)){const ee=this.state.startLoc;V=this.parseParenItem(this.parseSpread(y),ee)}else if(this.match(17)){this.expectPlugin("partialApplication"),O||this.raise(m.UnexpectedArgumentPlaceholder,this.state.startLoc);const ee=this.startNode();this.next(),V=this.finishNode(ee,"ArgumentPlaceholder")}else V=this.parseMaybeAssignAllowIn(y,this.parseParenItem);return V}parseIdentifier(p){const y=this.startNode(),O=this.parseIdentifierName(p);return this.createIdentifier(y,O)}createIdentifier(p,y){return p.name=y,p.loc.identifierName=y,this.finishNode(p,"Identifier")}parseIdentifierName(p){let y;const{startLoc:O,type:V}=this.state;J(V)?y=this.state.value:this.unexpected();const ee=V<=92;return p?ee&&this.replaceToken(132):this.checkReservedWord(y,O,ee,!1),this.next(),y}checkReservedWord(p,y,O,V){if(!(p.length>10)&&function(ee){return wt.has(ee)}(p)){if(O&&function(ee){return st.has(ee)}(p))this.raise(m.UnexpectedKeyword,y,{keyword:p});else if((this.state.strict?V?Vr:rr:Ir)(p,this.inModule))this.raise(m.UnexpectedReservedWord,y,{reservedWord:p});else if(p==="yield"){if(this.prodParam.hasYield)return void this.raise(m.YieldBindingIdentifier,y)}else if(p==="await"){if(this.prodParam.hasAwait)return void this.raise(m.AwaitBindingIdentifier,y);if(this.scope.inStaticBlock)return void this.raise(m.AwaitBindingIdentifierInStaticBlock,y);this.expressionScope.recordAsyncArrowParametersError(y)}else if(p==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(m.ArgumentsInClass,y)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(p){const y=this.startNodeAt(p);return this.expressionScope.recordParameterInitializerError(m.AwaitExpressionFormalParameter,y),this.eat(55)&&this.raise(m.ObsoleteAwaitStar,y),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(y.argument=this.parseMaybeUnary(null,!0)),this.finishNode(y,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:p}=this.state;return p===53||p===10||p===0||Te(p)||p===102&&!this.state.containsEsc||p===137||p===56||this.hasPlugin("v8intrinsic")&&p===54}parseYield(){const p=this.startNode();this.expressionScope.recordParameterInitializerError(m.YieldInParameter,p),this.next();let y=!1,O=null;if(!this.hasPrecedingLineBreak())switch(y=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!y)break;default:O=this.parseMaybeAssign()}return p.delegate=y,p.argument=O,this.finishNode(p,"YieldExpression")}parseImportCall(p){return this.next(),p.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(p.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(p.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(p,"ImportExpression")}checkPipelineAtInfixOperator(p,y){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&p.type==="SequenceExpression"&&this.raise(m.PipelineHeadSequenceExpression,y)}parseSmartPipelineBodyInStyle(p,y){if(this.isSimpleReference(p)){const O=this.startNodeAt(y);return O.callee=p,this.finishNode(O,"PipelineBareFunction")}{const O=this.startNodeAt(y);return this.checkSmartPipeTopicBodyEarlyErrors(y),O.expression=p,this.finishNode(O,"PipelineTopicExpression")}}isSimpleReference(p){switch(p.type){case"MemberExpression":return!p.computed&&this.isSimpleReference(p.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(p){if(this.match(19))throw this.raise(m.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(m.PipelineTopicUnused,p)}withTopicBindingContext(p){const y=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return p()}finally{this.state.topicContext=y}}withSmartMixTopicForbiddingContext(p){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return p();{const y=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return p()}finally{this.state.topicContext=y}}}withSoloAwaitPermittingContext(p){const y=this.state.soloAwait;this.state.soloAwait=!0;try{return p()}finally{this.state.soloAwait=y}}allowInAnd(p){const y=this.prodParam.currentFlags();if(8&~y){this.prodParam.enter(8|y);try{return p()}finally{this.prodParam.exit()}}return p()}disallowInAnd(p){const y=this.prodParam.currentFlags();if(8&y){this.prodParam.enter(-9&y);try{return p()}finally{this.prodParam.exit()}}return p()}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(p){const y=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const O=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const V=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),y,p);return this.state.inFSharpPipelineDirectBody=O,V}parseModuleExpression(){this.expectPlugin("moduleBlocks");const p=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const y=this.startNodeAt(this.state.endLoc);this.next();const O=this.initializeScopes(!0);this.enterInitialScopes();try{p.body=this.parseProgram(y,8,"module")}finally{O()}return this.finishNode(p,"ModuleExpression")}parsePropertyNamePrefixOperator(p){}}const Fu={kind:1},Uu={kind:2},Ms=/[\uD800-\uDFFF]/u,Ga=/in(?:stanceof)?/y;class hv extends $d{parseTopLevel(p,y){return p.program=this.parseProgram(y),p.comments=this.comments,this.options.tokens&&(p.tokens=function(O,V){for(let ee=0;ee1&&arguments[1]!==void 0?arguments[1]:139,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(p.sourceType=V,p.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(p,!0,!0,O),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[ee,Se]of Array.from(this.scope.undefinedExports))this.raise(m.ModuleExportUndefined,Se,{localName:ee});return y=O===139?this.finishNode(p,"Program"):this.finishNodeAt(p,"Program",o(this.state.startLoc,-1)),y}stmtToDirective(p){const y=p;y.type="Directive",y.value=y.expression,delete y.expression;const O=y.value,V=O.value,ee=this.input.slice(O.start,O.end),Se=O.value=ee.slice(1,-1);return this.addExtra(O,"raw",ee),this.addExtra(O,"rawValue",Se),this.addExtra(O,"expressionValue",V),O.type="DirectiveLiteral",y}parseInterpreterDirective(){if(!this.match(28))return null;const p=this.startNode();return p.value=this.state.value,this.next(),this.finishNode(p,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(p,y){if(Ne(p)){if(Ga.lastIndex=y,Ga.test(this.input)){const O=this.codePointAtPos(Ga.lastIndex);if(!Ye(O)&&O!==92)return!1}return!0}return p===92}chStartsBindingPattern(p){return p===91||p===123}hasFollowingBindingAtom(){const p=this.nextTokenStart(),y=this.codePointAtPos(p);return this.chStartsBindingPattern(y)||this.chStartsBindingIdentifier(y,p)}hasInLineFollowingBindingIdentifier(){const p=this.nextTokenInLineStart(),y=this.codePointAtPos(p);return this.chStartsBindingIdentifier(y,p)}startsUsingForOf(){const{type:p,containsEsc:y}=this.lookahead();return!(p===102&&!y)&&(oe(p)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let p=this.nextTokenInLineStart();if(this.isUnparsedContextual(p,"using")){p=this.nextTokenInLineStartSince(p+5);const y=this.codePointAtPos(p);if(this.chStartsBindingIdentifier(y,p))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let p=arguments.length>0&&arguments[0]!==void 0&&arguments[0],y=0;return this.options.annexB&&!this.state.strict&&(y|=4,p&&(y|=8)),this.parseStatementLike(y)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(p){let y=null;return this.match(26)&&(y=this.parseDecorators(!0)),this.parseStatementContent(p,y)}parseStatementContent(p,y){const O=this.state.type,V=this.startNode(),ee=!!(2&p),Se=!!(4&p),Be=1&p;switch(O){case 60:return this.parseBreakContinueStatement(V,!0);case 63:return this.parseBreakContinueStatement(V,!1);case 64:return this.parseDebuggerStatement(V);case 90:return this.parseDoWhileStatement(V);case 91:return this.parseForStatement(V);case 68:if(this.lookaheadCharCode()===46)break;return Se||this.raise(this.state.strict?m.StrictFunction:this.options.annexB?m.SloppyFunctionAnnexB:m.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(V,!1,!ee&&Se);case 80:return ee||this.unexpected(),this.parseClass(this.maybeTakeDecorators(y,V),!0);case 69:return this.parseIfStatement(V);case 70:return this.parseReturnStatement(V);case 71:return this.parseSwitchStatement(V);case 72:return this.parseThrowStatement(V);case 73:return this.parseTryStatement(V);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?ee||this.raise(m.UnexpectedLexicalDeclaration,V):this.raise(m.AwaitUsingNotInAsyncContext,V),this.next(),this.parseVarStatement(V,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(m.UnexpectedUsingDeclaration,this.state.startLoc):ee||this.raise(m.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(V,"using");case 100:{if(this.state.containsEsc)break;const tt=this.nextTokenStart(),Tt=this.codePointAtPos(tt);if(Tt!==91&&(!ee&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Tt,tt)&&Tt!==123))break}case 75:ee||this.raise(m.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const tt=this.state.value;return this.parseVarStatement(V,tt)}case 92:return this.parseWhileStatement(V);case 76:return this.parseWithStatement(V);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(V);case 83:{const tt=this.lookaheadCharCode();if(tt===40||tt===46)break}case 82:{let tt;return this.options.allowImportExportEverywhere||Be||this.raise(m.UnexpectedImportExport,this.state.startLoc),this.next(),O===83?(tt=this.parseImport(V),tt.type!=="ImportDeclaration"||tt.importKind&&tt.importKind!=="value"||(this.sawUnambiguousESM=!0)):(tt=this.parseExport(V,y),(tt.type!=="ExportNamedDeclaration"||tt.exportKind&&tt.exportKind!=="value")&&(tt.type!=="ExportAllDeclaration"||tt.exportKind&&tt.exportKind!=="value")&&tt.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(tt),tt}default:if(this.isAsyncFunction())return ee||this.raise(m.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(V,!0,!ee&&Se)}const Ge=this.state.value,Ze=this.parseExpression();return oe(O)&&Ze.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(V,Ge,Ze,p):this.parseExpressionStatement(V,Ze,y)}assertModuleNodeAllowed(p){this.options.allowImportExportEverywhere||this.inModule||this.raise(m.ImportOutsideModule,p)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(p,y,O){return p&&(y.decorators&&y.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(m.DecoratorsBeforeAfterExport,y.decorators[0]),y.decorators.unshift(...p)):y.decorators=p,this.resetStartLocationFromNode(y,p[0]),O&&this.resetStartLocationFromNode(O,y)),y}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(p){const y=[];do y.push(this.parseDecorator());while(this.match(26));if(this.match(82))p||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(m.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(m.UnexpectedLeadingDecorator,this.state.startLoc);return y}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const p=this.startNode();if(this.next(),this.hasPlugin("decorators")){const y=this.state.startLoc;let O;if(this.match(10)){const V=this.state.startLoc;this.next(),O=this.parseExpression(),this.expect(11),O=this.wrapParenthesis(V,O);const ee=this.state.startLoc;p.expression=this.parseMaybeDecoratorArguments(O),this.getPluginOption("decorators","allowCallParenthesized")===!1&&p.expression!==O&&this.raise(m.DecoratorArgumentsOutsideParentheses,ee)}else{for(O=this.parseIdentifier(!1);this.eat(16);){const V=this.startNodeAt(y);V.object=O,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),V.property=this.parsePrivateName()):V.property=this.parseIdentifier(!0),V.computed=!1,O=this.finishNode(V,"MemberExpression")}p.expression=this.parseMaybeDecoratorArguments(O)}}else p.expression=this.parseExprSubscripts();return this.finishNode(p,"Decorator")}parseMaybeDecoratorArguments(p){if(this.eat(10)){const y=this.startNodeAtNode(p);return y.callee=p,y.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(y.arguments),this.finishNode(y,"CallExpression")}return p}parseBreakContinueStatement(p,y){return this.next(),this.isLineTerminator()?p.label=null:(p.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(p,y),this.finishNode(p,y?"BreakStatement":"ContinueStatement")}verifyBreakContinue(p,y){let O;for(O=0;Othis.parseStatement()),this.state.labels.pop(),this.expect(92),p.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(p,"DoWhileStatement")}parseForStatement(p){this.next(),this.state.labels.push(Fu);let y=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(y=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return y!==null&&this.unexpected(y),this.parseFor(p,null);const O=this.isContextual(100);{const Ge=this.isContextual(96)&&this.startsAwaitUsing(),Ze=Ge||this.isContextual(107)&&this.startsUsingForOf(),tt=O&&this.hasFollowingBindingAtom()||Ze;if(this.match(74)||this.match(75)||tt){const Tt=this.startNode();let mr;Ge?(mr="await using",this.isAwaitAllowed()||this.raise(m.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):mr=this.state.value,this.next(),this.parseVar(Tt,!0,mr);const vr=this.finishNode(Tt,"VariableDeclaration"),rn=this.match(58);return rn&&Ze&&this.raise(m.ForInUsing,vr),(rn||this.isContextual(102))&&vr.declarations.length===1?this.parseForIn(p,vr,y):(y!==null&&this.unexpected(y),this.parseFor(p,vr))}}const V=this.isContextual(95),ee=new Es,Se=this.parseExpression(!0,ee),Be=this.isContextual(102);if(Be&&(O&&this.raise(m.ForOfLet,Se),y===null&&V&&Se.type==="Identifier"&&this.raise(m.ForOfAsync,Se)),Be||this.match(58)){this.checkDestructuringPrivate(ee),this.toAssignable(Se,!0);const Ge=Be?"ForOfStatement":"ForInStatement";return this.checkLVal(Se,{in:{type:Ge}}),this.parseForIn(p,Se,y)}return this.checkExpressionErrors(ee,!0),y!==null&&this.unexpected(y),this.parseFor(p,Se)}parseFunctionStatement(p,y,O){return this.next(),this.parseFunction(p,1|(O?2:0)|(y?8:0))}parseIfStatement(p){return this.next(),p.test=this.parseHeaderExpression(),p.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),p.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(p,"IfStatement")}parseReturnStatement(p){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(m.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?p.argument=null:(p.argument=this.parseExpression(),this.semicolon()),this.finishNode(p,"ReturnStatement")}parseSwitchStatement(p){this.next(),p.discriminant=this.parseHeaderExpression();const y=p.cases=[];let O;this.expect(5),this.state.labels.push(Uu),this.scope.enter(0);for(let V;!this.match(8);)if(this.match(61)||this.match(65)){const ee=this.match(61);O&&this.finishNode(O,"SwitchCase"),y.push(O=this.startNode()),O.consequent=[],this.next(),ee?O.test=this.parseExpression():(V&&this.raise(m.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),V=!0,O.test=null),this.expect(14)}else O?O.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),O&&this.finishNode(O,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(p,"SwitchStatement")}parseThrowStatement(p){return this.next(),this.hasPrecedingLineBreak()&&this.raise(m.NewlineAfterThrow,this.state.lastTokEndLoc),p.argument=this.parseExpression(),this.semicolon(),this.finishNode(p,"ThrowStatement")}parseCatchClauseParam(){const p=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&p.type==="Identifier"?8:0),this.checkLVal(p,{in:{type:"CatchClause"},binding:9}),p}parseTryStatement(p){if(this.next(),p.block=this.parseBlock(),p.handler=null,this.match(62)){const y=this.startNode();this.next(),this.match(10)?(this.expect(10),y.param=this.parseCatchClauseParam(),this.expect(11)):(y.param=null,this.scope.enter(0)),y.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),p.handler=this.finishNode(y,"CatchClause")}return p.finalizer=this.eat(67)?this.parseBlock():null,p.handler||p.finalizer||this.raise(m.NoCatchOrFinally,p),this.finishNode(p,"TryStatement")}parseVarStatement(p,y){let O=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.next(),this.parseVar(p,!1,y,O),this.semicolon(),this.finishNode(p,"VariableDeclaration")}parseWhileStatement(p){return this.next(),p.test=this.parseHeaderExpression(),this.state.labels.push(Fu),p.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(p,"WhileStatement")}parseWithStatement(p){return this.state.strict&&this.raise(m.StrictWith,this.state.startLoc),this.next(),p.object=this.parseHeaderExpression(),p.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(p,"WithStatement")}parseEmptyStatement(p){return this.next(),this.finishNode(p,"EmptyStatement")}parseLabeledStatement(p,y,O,V){for(const Be of this.state.labels)Be.name===y&&this.raise(m.LabelRedeclaration,O,{labelName:y});const ee=(Se=this.state.type)>=90&&Se<=92?1:this.match(71)?2:null;var Se;for(let Be=this.state.labels.length-1;Be>=0;Be--){const Ge=this.state.labels[Be];if(Ge.statementStart!==p.start)break;Ge.statementStart=this.state.start,Ge.kind=ee}return this.state.labels.push({name:y,kind:ee,statementStart:this.state.start}),p.body=8&V?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),p.label=O,this.finishNode(p,"LabeledStatement")}parseExpressionStatement(p,y,O){return p.expression=y,this.semicolon(),this.finishNode(p,"ExpressionStatement")}parseBlock(){let p=arguments.length>0&&arguments[0]!==void 0&&arguments[0],y=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],O=arguments.length>2?arguments[2]:void 0;const V=this.startNode();return p&&this.state.strictErrors.clear(),this.expect(5),y&&this.scope.enter(0),this.parseBlockBody(V,p,!1,8,O),y&&this.scope.exit(),this.finishNode(V,"BlockStatement")}isValidDirective(p){return p.type==="ExpressionStatement"&&p.expression.type==="StringLiteral"&&!p.expression.extra.parenthesized}parseBlockBody(p,y,O,V,ee){const Se=p.body=[],Be=p.directives=[];this.parseBlockOrModuleBlockBody(Se,y?Be:void 0,O,V,ee)}parseBlockOrModuleBlockBody(p,y,O,V,ee){const Se=this.state.strict;let Be=!1,Ge=!1;for(;!this.match(V);){const Ze=O?this.parseModuleItem():this.parseStatementListItem();if(y&&!Ge){if(this.isValidDirective(Ze)){const tt=this.stmtToDirective(Ze);y.push(tt),Be||tt.value.value!=="use strict"||(Be=!0,this.setStrict(!0));continue}Ge=!0,this.state.strictErrors.clear()}p.push(Ze)}ee?.call(this,Be),Se||this.setStrict(!1),this.next()}parseFor(p,y){return p.init=y,this.semicolon(!1),p.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),p.update=this.match(11)?null:this.parseExpression(),this.expect(11),p.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(p,"ForStatement")}parseForIn(p,y,O){const V=this.match(58);return this.next(),V?O!==null&&this.unexpected(O):p.await=O!==null,y.type!=="VariableDeclaration"||y.declarations[0].init==null||V&&this.options.annexB&&!this.state.strict&&y.kind==="var"&&y.declarations[0].id.type==="Identifier"||this.raise(m.ForInOfLoopInitializer,y,{type:V?"ForInStatement":"ForOfStatement"}),y.type==="AssignmentPattern"&&this.raise(m.InvalidLhs,y,{ancestor:{type:"ForStatement"}}),p.left=y,p.right=V?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),p.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(p,V?"ForInStatement":"ForOfStatement")}parseVar(p,y,O){let V=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const ee=p.declarations=[];for(p.kind=O;;){const Se=this.startNode();if(this.parseVarId(Se,O),Se.init=this.eat(29)?y?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,Se.init!==null||V||(Se.id.type==="Identifier"||y&&(this.match(58)||this.isContextual(102))?O!=="const"||this.match(58)||this.isContextual(102)||this.raise(m.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"}):this.raise(m.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),ee.push(this.finishNode(Se,"VariableDeclarator")),!this.eat(12))break}return p}parseVarId(p,y){const O=this.parseBindingAtom();this.checkLVal(O,{in:{type:"VariableDeclarator"},binding:y==="var"?5:8201}),p.id=O}parseAsyncFunctionExpression(p){return this.parseFunction(p,8)}parseFunction(p){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const O=2&y,V=!!(1&y),ee=V&&!(4&y),Se=!!(8&y);this.initFunction(p,Se),this.match(55)&&(O&&this.raise(m.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),p.generator=!0),V&&(p.id=this.parseFunctionId(ee));const Be=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(as(Se,p.generator)),V||(p.id=this.parseFunctionId()),this.parseFunctionParams(p,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(p,V?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),V&&!O&&this.registerFunctionStatementId(p),this.state.maybeInArrowParameters=Be,p}parseFunctionId(p){return p||oe(this.state.type)?this.parseIdentifier():null}parseFunctionParams(p,y){this.expect(10),this.expressionScope.enter(new In(3)),p.params=this.parseBindingList(11,41,2|(y?4:0)),this.expressionScope.exit()}registerFunctionStatementId(p){p.id&&this.scope.declareName(p.id.name,!this.options.annexB||this.state.strict||p.generator||p.async?this.scope.treatFunctionsAsVar?5:8201:17,p.id.loc.start)}parseClass(p,y,O){this.next();const V=this.state.strict;return this.state.strict=!0,this.parseClassId(p,y,O),this.parseClassSuper(p),p.body=this.parseClassBody(!!p.superClass,V),this.finishNode(p,y?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(p){return!(p.computed||p.static||p.key.name!=="constructor"&&p.key.value!=="constructor")}parseClassBody(p,y){this.classScope.enter();const O={hadConstructor:!1,hadSuperClass:p};let V=[];const ee=this.startNode();if(ee.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(V.length>0)throw this.raise(m.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){V.push(this.parseDecorator());continue}const Se=this.startNode();V.length&&(Se.decorators=V,this.resetStartLocationFromNode(Se,V[0]),V=[]),this.parseClassMember(ee,Se,O),Se.kind==="constructor"&&Se.decorators&&Se.decorators.length>0&&this.raise(m.DecoratorConstructor,Se)}}),this.state.strict=y,this.next(),V.length)throw this.raise(m.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(ee,"ClassBody")}parseClassMemberFromModifier(p,y){const O=this.parseIdentifier(!0);if(this.isClassMethod()){const V=y;return V.kind="method",V.computed=!1,V.key=O,V.static=!1,this.pushClassMethod(p,V,!1,!1,!1,!1),!0}if(this.isClassProperty()){const V=y;return V.computed=!1,V.key=O,V.static=!1,p.body.push(this.parseClassProperty(V)),!0}return this.resetPreviousNodeTrailingComments(O),!1}parseClassMember(p,y,O){const V=this.isContextual(106);if(V){if(this.parseClassMemberFromModifier(p,y))return;if(this.eat(5))return void this.parseClassStaticBlock(p,y)}this.parseClassMemberWithIsStatic(p,y,O,V)}parseClassMemberWithIsStatic(p,y,O,V){const ee=y,Se=y,Be=y,Ge=y,Ze=y,tt=ee,Tt=ee;if(y.static=V,this.parsePropertyNamePrefixOperator(y),this.eat(55)){tt.kind="method";const ni=this.match(138);return this.parseClassElementName(tt),ni?void this.pushClassPrivateMethod(p,Se,!0,!1):(this.isNonstaticConstructor(ee)&&this.raise(m.ConstructorIsGenerator,ee.key),void this.pushClassMethod(p,ee,!0,!1,!1,!1))}const mr=oe(this.state.type)&&!this.state.containsEsc,vr=this.match(138),rn=this.parseClassElementName(y),Ti=this.state.startLoc;if(this.parsePostMemberNameModifiers(Tt),this.isClassMethod()){if(tt.kind="method",vr)return void this.pushClassPrivateMethod(p,Se,!1,!1);const ni=this.isNonstaticConstructor(ee);let $i=!1;ni&&(ee.kind="constructor",O.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(m.DuplicateConstructor,rn),ni&&this.hasPlugin("typescript")&&y.override&&this.raise(m.OverrideOnConstructor,rn),O.hadConstructor=!0,$i=O.hadSuperClass),this.pushClassMethod(p,ee,!1,!1,ni,$i)}else if(this.isClassProperty())vr?this.pushClassPrivateProperty(p,Ge):this.pushClassProperty(p,Be);else if(mr&&rn.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(rn);const ni=this.eat(55);Tt.optional&&this.unexpected(Ti),tt.kind="method";const $i=this.match(138);this.parseClassElementName(tt),this.parsePostMemberNameModifiers(Tt),$i?this.pushClassPrivateMethod(p,Se,ni,!0):(this.isNonstaticConstructor(ee)&&this.raise(m.ConstructorIsAsync,ee.key),this.pushClassMethod(p,ee,ni,!0,!1,!1))}else if(!mr||rn.name!=="get"&&rn.name!=="set"||this.match(55)&&this.isLineTerminator())if(mr&&rn.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(rn);const ni=this.match(138);this.parseClassElementName(Be),this.pushClassAccessorProperty(p,Ze,ni)}else this.isLineTerminator()?vr?this.pushClassPrivateProperty(p,Ge):this.pushClassProperty(p,Be):this.unexpected();else{this.resetPreviousNodeTrailingComments(rn),tt.kind=rn.name;const ni=this.match(138);this.parseClassElementName(ee),ni?this.pushClassPrivateMethod(p,Se,!1,!1):(this.isNonstaticConstructor(ee)&&this.raise(m.ConstructorIsAccessor,ee.key),this.pushClassMethod(p,ee,!1,!1,!1,!1)),this.checkGetterSetterParams(ee)}}parseClassElementName(p){const{type:y,value:O}=this.state;if(y!==132&&y!==133||!p.static||O!=="prototype"||this.raise(m.StaticPrototype,this.state.startLoc),y===138){O==="constructor"&&this.raise(m.ConstructorClassPrivateField,this.state.startLoc);const V=this.parsePrivateName();return p.key=V,V}return this.parsePropertyName(p)}parseClassStaticBlock(p,y){var O;this.scope.enter(208);const V=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const ee=y.body=[];this.parseBlockOrModuleBlockBody(ee,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=V,p.body.push(this.finishNode(y,"StaticBlock")),(O=y.decorators)!=null&&O.length&&this.raise(m.DecoratorStaticBlock,y)}pushClassProperty(p,y){y.computed||y.key.name!=="constructor"&&y.key.value!=="constructor"||this.raise(m.ConstructorClassField,y.key),p.body.push(this.parseClassProperty(y))}pushClassPrivateProperty(p,y){const O=this.parseClassPrivateProperty(y);p.body.push(O),this.classScope.declarePrivateName(this.getPrivateNameSV(O.key),0,O.key.loc.start)}pushClassAccessorProperty(p,y,O){if(!O&&!y.computed){const ee=y.key;ee.name!=="constructor"&&ee.value!=="constructor"||this.raise(m.ConstructorClassField,ee)}const V=this.parseClassAccessorProperty(y);p.body.push(V),O&&this.classScope.declarePrivateName(this.getPrivateNameSV(V.key),0,V.key.loc.start)}pushClassMethod(p,y,O,V,ee,Se){p.body.push(this.parseMethod(y,O,V,ee,Se,"ClassMethod",!0))}pushClassPrivateMethod(p,y,O,V){const ee=this.parseMethod(y,O,V,!1,!1,"ClassPrivateMethod",!0);p.body.push(ee);const Se=ee.kind==="get"?ee.static?6:2:ee.kind==="set"?ee.static?5:1:0;this.declareClassPrivateMethodInScope(ee,Se)}declareClassPrivateMethodInScope(p,y){this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),y,p.key.loc.start)}parsePostMemberNameModifiers(p){}parseClassPrivateProperty(p){return this.parseInitializer(p),this.semicolon(),this.finishNode(p,"ClassPrivateProperty")}parseClassProperty(p){return this.parseInitializer(p),this.semicolon(),this.finishNode(p,"ClassProperty")}parseClassAccessorProperty(p){return this.parseInitializer(p),this.semicolon(),this.finishNode(p,"ClassAccessorProperty")}parseInitializer(p){this.scope.enter(80),this.expressionScope.enter(ui()),this.prodParam.enter(0),p.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(p,y,O){let V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8331;if(oe(this.state.type))p.id=this.parseIdentifier(),y&&this.declareNameFromIdentifier(p.id,V);else{if(!O&&y)throw this.raise(m.MissingClassName,this.state.startLoc);p.id=null}}parseClassSuper(p){p.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(p,y){const O=this.parseMaybeImportPhase(p,!0),V=this.maybeParseExportDefaultSpecifier(p,O),ee=!V||this.eat(12),Se=ee&&this.eatExportStar(p),Be=Se&&this.maybeParseExportNamespaceSpecifier(p),Ge=ee&&(!Be||this.eat(12)),Ze=V||Se;if(Se&&!Be){if(V&&this.unexpected(),y)throw this.raise(m.UnsupportedDecoratorExport,p);return this.parseExportFrom(p,!0),this.finishNode(p,"ExportAllDeclaration")}const tt=this.maybeParseExportNamedSpecifiers(p);let Tt;if(V&&ee&&!Se&&!tt&&this.unexpected(null,5),Be&&Ge&&this.unexpected(null,98),Ze||tt){if(Tt=!1,y)throw this.raise(m.UnsupportedDecoratorExport,p);this.parseExportFrom(p,Ze)}else Tt=this.maybeParseExportDeclaration(p);if(Ze||tt||Tt){var mr;const vr=p;if(this.checkExport(vr,!0,!1,!!vr.source),((mr=vr.declaration)==null?void 0:mr.type)==="ClassDeclaration")this.maybeTakeDecorators(y,vr.declaration,vr);else if(y)throw this.raise(m.UnsupportedDecoratorExport,p);return this.finishNode(vr,"ExportNamedDeclaration")}if(this.eat(65)){const vr=p,rn=this.parseExportDefaultExpression();if(vr.declaration=rn,rn.type==="ClassDeclaration")this.maybeTakeDecorators(y,rn,vr);else if(y)throw this.raise(m.UnsupportedDecoratorExport,p);return this.checkExport(vr,!0,!0),this.finishNode(vr,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(p){return this.eat(55)}maybeParseExportDefaultSpecifier(p,y){if(y||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",y?.loc.start);const O=y||this.parseIdentifier(!0),V=this.startNodeAtNode(O);return V.exported=O,p.specifiers=[this.finishNode(V,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(p){if(this.isContextual(93)){p.specifiers||(p.specifiers=[]);const y=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),y.exported=this.parseModuleExportName(),p.specifiers.push(this.finishNode(y,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(p){if(this.match(5)){p.specifiers||(p.specifiers=[]);const y=p.exportKind==="type";return p.specifiers.push(...this.parseExportSpecifiers(y)),p.source=null,p.declaration=null,this.hasPlugin("importAssertions")&&(p.assertions=[]),!0}return!1}maybeParseExportDeclaration(p){return!!this.shouldParseExportDeclaration()&&(p.specifiers=[],p.source=null,this.hasPlugin("importAssertions")&&(p.assertions=[]),p.declaration=this.parseExportDeclaration(p),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const p=this.nextTokenInLineStart();return this.isUnparsedContextual(p,"function")}parseExportDefaultExpression(){const p=this.startNode();if(this.match(68))return this.next(),this.parseFunction(p,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(p,13);if(this.match(80))return this.parseClass(p,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(m.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(m.UnsupportedDefaultExport,this.state.startLoc);const y=this.parseMaybeAssignAllowIn();return this.semicolon(),y}parseExportDeclaration(p){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:p}=this.state;if(oe(p)){if(p===95&&!this.state.containsEsc||p===100)return!1;if((p===130||p===129)&&!this.state.containsEsc){const{type:V}=this.lookahead();if(oe(V)&&V!==98||V===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const y=this.nextTokenStart(),O=this.isUnparsedContextual(y,"from");if(this.input.charCodeAt(y)===44||oe(this.state.type)&&O)return!0;if(this.match(65)&&O){const V=this.input.charCodeAt(this.nextTokenStartSince(y+4));return V===34||V===39}return!1}parseExportFrom(p,y){this.eatContextual(98)?(p.source=this.parseImportSource(),this.checkExport(p),this.maybeParseImportAttributes(p),this.checkJSONModuleImport(p)):y&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:p}=this.state;return p===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(m.DecoratorBeforeExport,this.state.startLoc),!0):p===74||p===75||p===68||p===80||this.isLet()||this.isAsyncFunction()}checkExport(p,y,O,V){var ee;if(y){if(O){if(this.checkDuplicateExports(p,"default"),this.hasPlugin("exportDefaultFrom")){var Se;const Be=p.declaration;Be.type!=="Identifier"||Be.name!=="from"||Be.end-Be.start!=4||(Se=Be.extra)!=null&&Se.parenthesized||this.raise(m.ExportDefaultFromAsIdentifier,Be)}}else if((ee=p.specifiers)!=null&&ee.length)for(const Be of p.specifiers){const{exported:Ge}=Be,Ze=Ge.type==="Identifier"?Ge.name:Ge.value;if(this.checkDuplicateExports(Be,Ze),!V&&Be.local){const{local:tt}=Be;tt.type!=="Identifier"?this.raise(m.ExportBindingIsString,Be,{localName:tt.value,exportName:Ze}):(this.checkReservedWord(tt.name,tt.loc.start,!0,!1),this.scope.checkLocalExport(tt))}}else if(p.declaration){if(p.declaration.type==="FunctionDeclaration"||p.declaration.type==="ClassDeclaration"){const Be=p.declaration.id;if(!Be)throw new Error("Assertion failure");this.checkDuplicateExports(p,Be.name)}else if(p.declaration.type==="VariableDeclaration")for(const Be of p.declaration.declarations)this.checkDeclaration(Be.id)}}}checkDeclaration(p){if(p.type==="Identifier")this.checkDuplicateExports(p,p.name);else if(p.type==="ObjectPattern")for(const y of p.properties)this.checkDeclaration(y);else if(p.type==="ArrayPattern")for(const y of p.elements)y&&this.checkDeclaration(y);else p.type==="ObjectProperty"?this.checkDeclaration(p.value):p.type==="RestElement"?this.checkDeclaration(p.argument):p.type==="AssignmentPattern"&&this.checkDeclaration(p.left)}checkDuplicateExports(p,y){this.exportedIdentifiers.has(y)&&(y==="default"?this.raise(m.DuplicateDefaultExport,p):this.raise(m.DuplicateExport,p,{exportName:y})),this.exportedIdentifiers.add(y)}parseExportSpecifiers(p){const y=[];let O=!0;for(this.expect(5);!this.eat(8);){if(O)O=!1;else if(this.expect(12),this.eat(8))break;const V=this.isContextual(130),ee=this.match(133),Se=this.startNode();Se.local=this.parseModuleExportName(),y.push(this.parseExportSpecifier(Se,ee,p,V))}return y}parseExportSpecifier(p,y,O,V){return this.eatContextual(93)?p.exported=this.parseModuleExportName():y?p.exported=function(ee){const{type:Se,start:Be,end:Ge,loc:Ze,range:tt,extra:Tt}=ee;if(Se==="Placeholder")return function(vr){return ls(vr)}(ee);const mr=Object.create(Fi);return mr.type=Se,mr.start=Be,mr.end=Ge,mr.loc=Ze,mr.range=tt,ee.raw!==void 0?mr.raw=ee.raw:mr.extra=Tt,mr.value=ee.value,mr}(p.local):p.exported||(p.exported=ls(p.local)),this.finishNode(p,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const p=this.parseStringLiteral(this.state.value),y=p.value.match(Ms);return y&&this.raise(m.ModuleExportNameHasLoneSurrogate,p,{surrogateCharCode:y[0].charCodeAt(0)}),p}return this.parseIdentifier(!0)}isJSONModuleImport(p){return p.assertions!=null&&p.assertions.some(y=>{let{key:O,value:V}=y;return V.value==="json"&&(O.type==="Identifier"?O.name==="type":O.value==="type")})}checkImportReflection(p){const{specifiers:y}=p,O=y.length===1?y[0].type:null;if(p.phase==="source")O!=="ImportDefaultSpecifier"&&this.raise(m.SourcePhaseImportRequiresDefault,y[0].loc.start);else if(p.phase==="defer")O!=="ImportNamespaceSpecifier"&&this.raise(m.DeferImportRequiresNamespace,y[0].loc.start);else if(p.module){var V;O!=="ImportDefaultSpecifier"&&this.raise(m.ImportReflectionNotBinding,y[0].loc.start),((V=p.assertions)==null?void 0:V.length)>0&&this.raise(m.ImportReflectionHasAssertion,y[0].loc.start)}}checkJSONModuleImport(p){if(this.isJSONModuleImport(p)&&p.type!=="ExportAllDeclaration"){const{specifiers:y}=p;if(y!=null){const O=y.find(V=>{let ee;if(V.type==="ExportSpecifier"?ee=V.local:V.type==="ImportSpecifier"&&(ee=V.imported),ee!==void 0)return ee.type==="Identifier"?ee.name!=="default":ee.value!=="default"});O!==void 0&&this.raise(m.ImportJSONBindingNotDefault,O.loc.start)}}}isPotentialImportPhase(p){return!p&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(p,y,O,V){y||(O==="module"?(this.expectPlugin("importReflection",V),p.module=!0):this.hasPlugin("importReflection")&&(p.module=!1),O==="source"?(this.expectPlugin("sourcePhaseImports",V),p.phase="source"):O==="defer"?(this.expectPlugin("deferredImportEvaluation",V),p.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(p.phase=null))}parseMaybeImportPhase(p,y){if(!this.isPotentialImportPhase(y))return this.applyImportPhase(p,y,null),null;const O=this.parseIdentifier(!0),{type:V}=this.state;return(J(V)?V!==98||this.lookaheadCharCode()===102:V!==12)?(this.resetPreviousIdentifierLeadingComments(O),this.applyImportPhase(p,y,O.name,O.loc.start),null):(this.applyImportPhase(p,y,null),O)}isPrecedingIdImportPhase(p){const{type:y}=this.state;return oe(y)?y!==98||this.lookaheadCharCode()===102:y!==12}parseImport(p){return this.match(133)?this.parseImportSourceAndAttributes(p):this.parseImportSpecifiersAndAfter(p,this.parseMaybeImportPhase(p,!1))}parseImportSpecifiersAndAfter(p,y){p.specifiers=[];const O=!this.maybeParseDefaultImportSpecifier(p,y)||this.eat(12),V=O&&this.maybeParseStarImportSpecifier(p);return O&&!V&&this.parseNamedImportSpecifiers(p),this.expectContextual(98),this.parseImportSourceAndAttributes(p)}parseImportSourceAndAttributes(p){return p.specifiers!=null||(p.specifiers=[]),p.source=this.parseImportSource(),this.maybeParseImportAttributes(p),this.checkImportReflection(p),this.checkJSONModuleImport(p),this.semicolon(),this.finishNode(p,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(p,y,O){y.local=this.parseIdentifier(),p.specifiers.push(this.finishImportSpecifier(y,O))}finishImportSpecifier(p,y){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8201;return this.checkLVal(p.local,{in:{type:y},binding:O}),this.finishNode(p,y)}parseImportAttributes(){this.expect(5);const p=[],y=new Set;do{if(this.match(8))break;const O=this.startNode(),V=this.state.value;if(y.has(V)&&this.raise(m.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:V}),y.add(V),this.match(133)?O.key=this.parseStringLiteral(V):O.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(m.ModuleAttributeInvalidValue,this.state.startLoc);O.value=this.parseStringLiteral(this.state.value),p.push(this.finishNode(O,"ImportAttribute"))}while(this.eat(12));return this.expect(8),p}parseModuleAttributes(){const p=[],y=new Set;do{const O=this.startNode();if(O.key=this.parseIdentifier(!0),O.key.name!=="type"&&this.raise(m.ModuleAttributeDifferentFromType,O.key),y.has(O.key.name)&&this.raise(m.ModuleAttributesWithDuplicateKeys,O.key,{key:O.key.name}),y.add(O.key.name),this.expect(14),!this.match(133))throw this.raise(m.ModuleAttributeInvalidValue,this.state.startLoc);O.value=this.parseStringLiteral(this.state.value),p.push(this.finishNode(O,"ImportAttribute"))}while(this.eat(12));return p}maybeParseImportAttributes(p){let y,O=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?y=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),y=this.parseImportAttributes()),O=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(m.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(p,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),y=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))y=[];else{if(!this.hasPlugin("moduleAttributes"))return;y=[]}!O&&this.hasPlugin("importAssertions")?p.assertions=y:p.attributes=y}maybeParseDefaultImportSpecifier(p,y){if(y){const O=this.startNodeAtNode(y);return O.local=y,p.specifiers.push(this.finishImportSpecifier(O,"ImportDefaultSpecifier")),!0}return!!J(this.state.type)&&(this.parseImportSpecifierLocal(p,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(p){if(this.match(55)){const y=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(p,y,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(p){let y=!0;for(this.expect(5);!this.eat(8);){if(y)y=!1;else{if(this.eat(14))throw this.raise(m.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const O=this.startNode(),V=this.match(133),ee=this.isContextual(130);O.imported=this.parseModuleExportName();const Se=this.parseImportSpecifier(O,V,p.importKind==="type"||p.importKind==="typeof",ee,void 0);p.specifiers.push(Se)}}parseImportSpecifier(p,y,O,V,ee){if(this.eatContextual(93))p.local=this.parseIdentifier();else{const{imported:Se}=p;if(y)throw this.raise(m.ImportBindingIsString,p,{importName:Se.value});this.checkReservedWord(Se.name,p.loc.start,!0,!0),p.local||(p.local=ls(Se))}return this.finishImportSpecifier(p,"ImportSpecifier",ee)}isThisParam(p){return p.type==="Identifier"&&p.name==="this"}}class mc extends hv{constructor(p,y){super(p=function(O){if(O==null)return Object.assign({},q1);if(O.annexB!=null&&O.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const V={};for(const Se of Object.keys(q1)){var ee;V[Se]=(ee=O[Se])!=null?ee:q1[Se]}return V}(p),y),this.options=p,this.initializeScopes(),this.plugins=function(O){const V=new Map;for(const ee of O){const[Se,Be]=Array.isArray(ee)?ee:[ee,{}];V.has(Se)||V.set(Se,Be||{})}return V}(this.options.plugins),this.filename=p.sourceFilename}getScopeHandler(){return $n}parse(){this.enterInitialScopes();const p=this.startNode(),y=this.startNode();return this.nextToken(),p.errors=null,this.parseTopLevel(p,y),p.errors=this.state.errors,p.comments.length=this.state.commentsLen,p}}const po=function(Oe){const p={};for(const y of Object.keys(Oe))p[y]=ae(Oe[y]);return p}(fe);function Bl(Oe,p){let y=mc;return Oe!=null&&Oe.plugins&&(function(O){if(gi(O,"decorators")){if(gi(O,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const V=_o(O,"decorators","decoratorsBeforeExport");if(V!=null&&typeof V!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const ee=_o(O,"decorators","allowCallParenthesized");if(ee!=null&&typeof ee!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(gi(O,"flow")&&gi(O,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(gi(O,"placeholders")&&gi(O,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(gi(O,"pipelineOperator")){const V=_o(O,"pipelineOperator","proposal");if(!Bu.includes(V)){const Se=Bu.map(Be=>`"${Be}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${Se}.`)}const ee=gi(O,["recordAndTuple",{syntaxType:"hash"}]);if(V==="hack"){if(gi(O,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(gi(O,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const Se=_o(O,"pipelineOperator","topicToken");if(!kd.includes(Se)){const Be=kd.map(Ge=>`"${Ge}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${Be}.`)}if(Se==="#"&&ee)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(V==="smart"&&ee)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(gi(O,"moduleAttributes")){if(gi(O,"importAssertions")||gi(O,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(_o(O,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(gi(O,"importAssertions")&&gi(O,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(gi(O,"recordAndTuple")&&_o(O,"recordAndTuple","syntaxType")!=null&&!ju.includes(_o(O,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ju.map(V=>`'${V}'`).join(", "));if(gi(O,"asyncDoExpressions")&&!gi(O,"doExpressions")){const V=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw V.missingPlugins="doExpressions",V}if(gi(O,"optionalChainingAssign")&&_o(O,"optionalChainingAssign","version")!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}(Oe.plugins),y=function(O){const V=K1.filter(Be=>gi(O,Be)),ee=V.join("/");let Se=Ld[ee];if(!Se){Se=mc;for(const Be of V)Se=G1[Be](Se);Ld[ee]=Se}return Se}(Oe.plugins)),new y(Oe,p)}const Ld={};e.parse=function(Oe,p){var y;if(((y=p)==null?void 0:y.sourceType)!=="unambiguous")return Bl(p,Oe).parse();p=Object.assign({},p);try{p.sourceType="module";const O=Bl(p,Oe),V=O.parse();if(O.sawUnambiguousESM)return V;if(O.ambiguousScriptDifferentAst)try{return p.sourceType="script",Bl(p,Oe).parse()}catch{}else V.program.sourceType="script";return V}catch(O){try{return p.sourceType="script",Bl(p,Oe).parse()}catch{}throw O}},e.parseExpression=function(Oe,p){const y=Bl(p,Oe);return y.options.strictMode&&(y.state.strict=!0),y.getExpression()},e.tokTypes=po},(n,e,t)=>{var r;t(12);var i=SyntaxError,s=Function,o=TypeError,a=function(N){try{return s('"use strict"; return ('+N+").constructor;")()}catch{}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var c=function(){throw new o},u=l?function(){try{return c}catch{try{return l(arguments,"callee").get}catch{return c}}}():c,h=t(230)(),d=t(231)(),g=Object.getPrototypeOf||(d?function(N){return N.__proto__}:null),f={},v=typeof Uint8Array<"u"&&g?g(Uint8Array):r,C={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&g?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":s,"%GeneratorFunction%":f,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&g?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map<"u"&&h&&g?g(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set<"u"&&h&&g?g(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&g?g(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":u,"%TypedArray%":v,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(g)try{null.error}catch(N){var A=g(g(N));C["%Error.prototype%"]=A}var b=function N(W){var D;if(W==="%AsyncFunction%")D=a("async function () {}");else if(W==="%GeneratorFunction%")D=a("function* () {}");else if(W==="%AsyncGeneratorFunction%")D=a("async function* () {}");else if(W==="%AsyncGenerator%"){var R=N("%AsyncGeneratorFunction%");R&&(D=R.prototype)}else if(W==="%AsyncIteratorPrototype%"){var Y=N("%AsyncGenerator%");Y&&g&&(D=g(Y.prototype))}return C[W]=D,D},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=t(71),I=t(233),S=E.call(Function.call,Array.prototype.concat),T=E.call(Function.apply,Array.prototype.splice),P=E.call(Function.call,String.prototype.replace),_=E.call(Function.call,String.prototype.slice),$=E.call(Function.call,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,H=function(N,W){var D,R=N;if(I(m,R)&&(R="%"+(D=m[R])[0]+"%"),I(C,R)){var Y=C[R];if(Y===f&&(Y=b(R)),Y===void 0&&!W)throw new o("intrinsic "+N+" exists, but is not available. Please file an issue!");return{alias:D,name:R,value:Y}}throw new i("intrinsic "+N+" does not exist!")};n.exports=function(N,W){if(typeof N!="string"||N.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof W!="boolean")throw new o('"allowMissing" argument must be a boolean');if($(/^%?[^%]*%?$/,N)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=function(J){var K=_(J,0,1),q=_(J,-1);if(K==="%"&&q!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(q==="%"&&K!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var ue=[];return P(J,B,function(te,ce,ge,Te){ue[ue.length]=ge?P(Te,U,"$1"):ce||te}),ue}(N),R=D.length>0?D[0]:"",Y=H("%"+R+"%",W),ie=Y.name,de=Y.value,xe=!1,X=Y.alias;X&&(R=X[0],T(D,S([0,1],X)));for(var Q=1,he=!0;Q=D.length){var oe=l(de,me);de=(he=!!oe)&&"get"in oe&&!("originalValue"in oe.get)?oe.get:de[me]}else he=I(de,me),de=de[me];he&&!xe&&(C[ie]=de)}}return de}},(n,e,t)=>{const r=t(34),i=t(47),s=t(3),o=t(128),a=t(30),l=t(253),c=t(254),u=t(255),h=t(256),d=t(257),g=t(258),f=t(259),v=t(260),C=t(7),A=t(261),b=t(262),m=t(76),E=t(263),I=t(264),S=t(49),T=t(77),P=t(129),_=t(130),$=t(78),B=t(79),U=t(131),H=t(265),N=t(50),W=t(8),D=t(51),R=t(268),Y=t(269),ie=t(270),de=t(271),xe=t(272),X=t(80),Q=t(273),he=t(274),me=t(275),_e=t(276),fe=t(277);n.exports={parse:a,valid:l,clean:c,inc:u,diff:h,major:d,minor:g,patch:f,prerelease:v,compare:C,rcompare:A,compareLoose:b,compareBuild:m,sort:E,rsort:I,gt:S,lt:T,eq:P,neq:_,gte:$,lte:B,cmp:U,coerce:H,Comparator:N,Range:W,satisfies:D,toComparators:R,maxSatisfying:Y,minSatisfying:ie,minVersion:de,validRange:xe,outside:X,gtr:Q,ltr:he,intersects:me,simplifyRange:_e,subset:fe,SemVer:s,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},(n,e,t)=>{let r,i,s,o,{isClean:a,my:l}=t(145),c=t(52),u=t(56),h=t(53);function d(v){return v.map(C=>(C.nodes&&(C.nodes=d(C.nodes)),delete C.source,C))}function g(v){if(v[a]=!1,v.proxyOf.nodes)for(let C of v.proxyOf.nodes)g(C)}class f extends h{append(){for(var C=arguments.length,A=new Array(C),b=0;bA==="proxyOf"?C:C[A]?A==="each"||typeof A=="string"&&A.startsWith("walk")?function(){for(var b=arguments.length,m=new Array(b),E=0;Etypeof I=="function"?(S,T)=>I(S.toProxy(),T):I))}:A==="every"||A==="some"?b=>C[A](function(m){for(var E=arguments.length,I=new Array(E>1?E-1:0),S=1;SC.root().toProxy():A==="nodes"?C.nodes.map(b=>b.toProxy()):A==="first"||A==="last"?C[A].toProxy():C[A]:C[A],set:(C,A,b)=>(C[A]===b||(C[A]=b,A!=="name"&&A!=="params"&&A!=="selector"||C.markDirty()),!0)}}index(C){return typeof C=="number"?C:(C.proxyOf&&(C=C.proxyOf),this.proxyOf.nodes.indexOf(C))}insertAfter(C,A){let b,m=this.index(C),E=this.normalize(A,this.proxyOf.nodes[m]).reverse();m=this.index(C);for(let I of E)this.proxyOf.nodes.splice(m+1,0,I);for(let I in this.indexes)b=this.indexes[I],m(b[l]||f.rebuild(b),(b=b.proxyOf).parent&&b.parent.removeChild(b),b[a]&&g(b),b.raws.before===void 0&&A&&A.raws.before!==void 0&&(b.raws.before=A.raws.before.replace(/\S/g,"")),b.parent=this.proxyOf,b))}prepend(){for(var C=arguments.length,A=new Array(C),b=0;b=C&&(this.indexes[b]=A-1);return this.markDirty(),this}replaceValues(C,A,b){return b||(b=A,A={}),this.walkDecls(m=>{A.props&&!A.props.includes(m.prop)||A.fast&&!m.value.includes(A.fast)||(m.value=m.value.replace(C,b))}),this.markDirty(),this}some(C){return this.nodes.some(C)}walk(C){return this.each((A,b)=>{let m;try{m=C(A,b)}catch(E){throw A.addToError(E)}return m!==!1&&A.walk&&(m=A.walk(C)),m})}walkAtRules(C,A){return A?C instanceof RegExp?this.walk((b,m)=>{if(b.type==="atrule"&&C.test(b.name))return A(b,m)}):this.walk((b,m)=>{if(b.type==="atrule"&&b.name===C)return A(b,m)}):(A=C,this.walk((b,m)=>{if(b.type==="atrule")return A(b,m)}))}walkComments(C){return this.walk((A,b)=>{if(A.type==="comment")return C(A,b)})}walkDecls(C,A){return A?C instanceof RegExp?this.walk((b,m)=>{if(b.type==="decl"&&C.test(b.prop))return A(b,m)}):this.walk((b,m)=>{if(b.type==="decl"&&b.prop===C)return A(b,m)}):(A=C,this.walk((b,m)=>{if(b.type==="decl")return A(b,m)}))}walkRules(C,A){return A?C instanceof RegExp?this.walk((b,m)=>{if(b.type==="rule"&&C.test(b.selector))return A(b,m)}):this.walk((b,m)=>{if(b.type==="rule"&&b.selector===C)return A(b,m)}):(A=C,this.walk((b,m)=>{if(b.type==="rule")return A(b,m)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=v=>{r=v},f.registerRule=v=>{i=v},f.registerAtRule=v=>{s=v},f.registerRoot=v=>{o=v},n.exports=f,f.default=f,f.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,s.prototype):v.type==="rule"?Object.setPrototypeOf(v,i.prototype):v.type==="decl"?Object.setPrototypeOf(v,c.prototype):v.type==="comment"?Object.setPrototypeOf(v,u.prototype):v.type==="root"&&Object.setPrototypeOf(v,o.prototype),v[l]=!0,v.nodes&&v.nodes.forEach(C=>{f.rebuild(C)})}},(n,e,t)=>{var r=t(17);function i(X){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Q){return typeof Q}:function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},i(X)}function s(X,Q,he){return Object.defineProperty(X,"prototype",{writable:!1}),X}var o,a,l=t(227).codes,c=l.ERR_AMBIGUOUS_ARGUMENT,u=l.ERR_INVALID_ARG_TYPE,h=l.ERR_INVALID_ARG_VALUE,d=l.ERR_INVALID_RETURN_VALUE,g=l.ERR_MISSING_ARGS,f=t(241),v=t(32).inspect,C=t(32).types,A=C.isPromise,b=C.isRegExp,m=t(242)(),E=t(74)(),I=t(38)("RegExp.prototype.test");function S(){var X=t(245);o=X.isDeepEqual,a=X.isDeepStrictEqual}var T=!1,P=n.exports=U,_={};function $(X){throw X.message instanceof Error?X.message:new f(X)}function B(X,Q,he,me){if(!he){var _e=!1;if(Q===0)_e=!0,me="No value argument passed to `assert.ok()`";else if(me instanceof Error)throw me;var fe=new f({actual:he,expected:!0,message:me,operator:"==",stackStartFn:X});throw fe.generatedMessage=_e,fe}}function U(){for(var X=arguments.length,Q=new Array(X),he=0;he1?he-1:0),_e=1;_e1?he-1:0),_e=1;_e1?he-1:0),_e=1;_e1?he-1:0),_e=1;_e{Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_OPERATORS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.STATEMENT_OR_BLOCK_KEYS=e.NUMBER_UNARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.NOT_LOCAL_BINDING=e.LOGICAL_OPERATORS=e.INHERIT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.EQUALITY_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.COMMENT_KEYS=e.BOOLEAN_UNARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.BLOCK_SCOPED_SYMBOL=e.BINARY_OPERATORS=e.ASSIGNMENT_OPERATORS=void 0,e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],e.FLATTENABLE_KEYS=["body","expressions"],e.FOR_INIT_KEYS=["left","init"],e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];const t=e.LOGICAL_OPERATORS=["||","&&","??"],r=(e.UPDATE_OPERATORS=["++","--"],e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),i=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],s=e.COMPARISON_BINARY_OPERATORS=[...i,"in","instanceof"],o=e.BOOLEAN_BINARY_OPERATORS=[...s,...r],a=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],l=(e.BINARY_OPERATORS=["+",...a,...o,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...a.map(h=>h+"="),...t.map(h=>h+"=")],e.BOOLEAN_UNARY_OPERATORS=["delete","!"]),c=e.NUMBER_UNARY_OPERATORS=["+","-","~"],u=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...l,...c,...u],e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){return l(u,!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],arguments.length>2&&arguments[2]!==void 0&&arguments[2],new Map)};var r=t(9),i=t(2);const s=Function.call.bind(Object.prototype.hasOwnProperty);function o(u,h,d,g){return u&&typeof u.type=="string"?l(u,h,d,g):u}function a(u,h,d,g){return Array.isArray(u)?u.map(f=>o(f,h,d,g)):o(u,h,d,g)}function l(u){let h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],g=arguments.length>3?arguments[3]:void 0;if(!u)return u;const{type:f}=u,v={type:u.type};if((0,i.isIdentifier)(u))v.name=u.name,s(u,"optional")&&typeof u.optional=="boolean"&&(v.optional=u.optional),s(u,"typeAnnotation")&&(v.typeAnnotation=h?a(u.typeAnnotation,!0,d,g):u.typeAnnotation);else{if(!s(r.NODE_FIELDS,f))throw new Error(`Unknown node type: "${f}"`);for(const C of Object.keys(r.NODE_FIELDS[f]))s(u,C)&&(v[C]=h?(0,i.isFile)(u)&&C==="comments"?c(u.comments,h,d,g):a(u[C],!0,d,g):u[C])}return s(u,"loc")&&(v.loc=d?null:u.loc),s(u,"leadingComments")&&(v.leadingComments=c(u.leadingComments,h,d,g)),s(u,"innerComments")&&(v.innerComments=c(u.innerComments,h,d,g)),s(u,"trailingComments")&&(v.trailingComments=c(u.trailingComments,h,d,g)),s(u,"extra")&&(v.extra=Object.assign({},u.extra)),v}function c(u,h,d,g){return u&&h?u.map(f=>{const v=g.get(f);if(v)return v;const{type:C,value:A,loc:b}=f,m={type:C,value:A,loc:b};return d&&(m.loc=null),g.set(f,m),m}):u}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var r=t(162),i=t(61),s=t(14),o=t(183),a=t(0),l=a,c=t(35),u=t(101),h=t(423),d=t(424),g=t(427),f=t(430),v=t(431),C=t(436),A=t(437),b=t(438),m=t(440),E=t(442),I=t(443),S=t(163);const{validate:T}=a,P=i("babel"),_=e.REMOVED=1,$=e.SHOULD_STOP=2,B=e.SHOULD_SKIP=4;class U{constructor(N,W){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=W,this.hub=N,this.data=null,this.context=null,this.scope=null}static get(N){let{hub:W,parentPath:D,parent:R,container:Y,listKey:ie,key:de}=N;if(!W&&D&&(W=D.hub),!R)throw new Error("To get a node path the parent needs to exist");const xe=Y[de],X=c.getOrCreateCachedPaths(W,R);let Q=X.get(xe);return Q||(Q=new U(W,R),xe&&X.set(xe,Q)),Q.setup(D,Y,ie,de),Q}getScope(N){return this.isScope()?new o.default(this):N}setData(N,W){return this.data==null&&(this.data=Object.create(null)),this.data[N]=W}getData(N,W){this.data==null&&(this.data=Object.create(null));let D=this.data[N];return D===void 0&&W!==void 0&&(D=this.data[N]=W),D}hasNode(){return this.node!=null}buildCodeFrameError(N){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:SyntaxError;return this.hub.buildError(this.node,N,W)}traverse(N,W){(0,s.default)(this.node,N,this.scope,W,this)}set(N,W){T(this.node,N,W),this.node[N]=W}getPathLocation(){const N=[];let W=this;do{let D=W.key;W.inList&&(D=`${W.listKey}[${D}]`),N.unshift(D)}while(W=W.parentPath);return N.join(".")}debug(N){P.enabled&&P(`${this.getPathLocation()} ${this.type}: ${N}`)}toString(){return(0,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(N){N||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&B)}set shouldSkip(N){N?this._traverseFlags|=B:this._traverseFlags&=~B}get shouldStop(){return!!(this._traverseFlags&$)}set shouldStop(N){N?this._traverseFlags|=$:this._traverseFlags&=~$}get removed(){return!!(this._traverseFlags&_)}set removed(N){N?this._traverseFlags|=_:this._traverseFlags&=~_}}Object.assign(U.prototype,h,d,g,f,v,C,A,b,m,E,I),U.prototype._guessExecutionStatusRelativeToDifferentFunctions=C._guessExecutionStatusRelativeTo;for(const H of l.TYPES){const N=`is${H}`,W=l[N];U.prototype[N]=function(D){return W(this.node,D)},U.prototype[`assert${H}`]=function(D){if(!W(this.node,D))throw new TypeError(`Expected node path of type ${H}`)}}Object.assign(U.prototype,S);for(const H of Object.keys(r))H[0]!=="_"&&(l.TYPES.includes(H)||l.TYPES.push(H));e.default=U},(n,e,t)=>{var r=t(19),i=t(63),s=r({}.hasOwnProperty);n.exports=Object.hasOwn||function(o,a){return s(i(o),a)}},(n,e,t)=>{const r=t(3);n.exports=function(i,s){let o=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(i instanceof r)return i;try{return new r(i,s)}catch(a){if(!o)return null;throw a}}},(n,e,t)=>{/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */t(12);const r=t(417),i=t(418),s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.a=l,e.b=50;const o=2147483647;function a(L){if(L>o)throw new RangeError('The value "'+L+'" is invalid for option "size"');const F=new Uint8Array(L);return Object.setPrototypeOf(F,l.prototype),F}function l(L,F,re){if(typeof L=="number"){if(typeof F=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(L)}return c(L,F,re)}function c(L,F,re){if(typeof L=="string")return function($e,Ce){if(typeof Ce=="string"&&Ce!==""||(Ce="utf8"),!l.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);const Ne=0|v($e,Ce);let Ye=a(Ne);const st=Ye.write($e,Ce);return st!==Ne&&(Ye=Ye.slice(0,st)),Ye}(L,F);if(ArrayBuffer.isView(L))return function($e){if(te($e,Uint8Array)){const Ce=new Uint8Array($e);return g(Ce.buffer,Ce.byteOffset,Ce.byteLength)}return d($e)}(L);if(L==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L);if(te(L,ArrayBuffer)||L&&te(L.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(L,SharedArrayBuffer)||L&&te(L.buffer,SharedArrayBuffer)))return g(L,F,re);if(typeof L=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ke=L.valueOf&&L.valueOf();if(ke!=null&&ke!==L)return l.from(ke,F,re);const ze=function($e){if(l.isBuffer($e)){const Ce=0|f($e.length),Ne=a(Ce);return Ne.length===0||$e.copy(Ne,0,0,Ce),Ne}return $e.length!==void 0?typeof $e.length!="number"||ce($e.length)?a(0):d($e):$e.type==="Buffer"&&Array.isArray($e.data)?d($e.data):void 0}(L);if(ze)return ze;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof L[Symbol.toPrimitive]=="function")return l.from(L[Symbol.toPrimitive]("string"),F,re);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L)}function u(L){if(typeof L!="number")throw new TypeError('"size" argument must be of type number');if(L<0)throw new RangeError('The value "'+L+'" is invalid for option "size"')}function h(L){return u(L),a(L<0?0:0|f(L))}function d(L){const F=L.length<0?0:0|f(L.length),re=a(F);for(let ke=0;ke=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|L}function v(L,F){if(l.isBuffer(L))return L.length;if(ArrayBuffer.isView(L)||te(L,ArrayBuffer))return L.byteLength;if(typeof L!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof L);const re=L.length,ke=arguments.length>2&&arguments[2]===!0;if(!ke&&re===0)return 0;let ze=!1;for(;;)switch(F){case"ascii":case"latin1":case"binary":return re;case"utf8":case"utf-8":return K(L).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*re;case"hex":return re>>>1;case"base64":return q(L).length;default:if(ze)return ke?-1:K(L).length;F=(""+F).toLowerCase(),ze=!0}}function C(L,F,re){let ke=!1;if((F===void 0||F<0)&&(F=0),F>this.length||((re===void 0||re>this.length)&&(re=this.length),re<=0)||(re>>>=0)<=(F>>>=0))return"";for(L||(L="utf8");;)switch(L){case"hex":return N(this,F,re);case"utf8":case"utf-8":return $(this,F,re);case"ascii":return U(this,F,re);case"latin1":case"binary":return H(this,F,re);case"base64":return _(this,F,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,F,re);default:if(ke)throw new TypeError("Unknown encoding: "+L);L=(L+"").toLowerCase(),ke=!0}}function A(L,F,re){const ke=L[F];L[F]=L[re],L[re]=ke}function b(L,F,re,ke,ze){if(L.length===0)return-1;if(typeof re=="string"?(ke=re,re=0):re>2147483647?re=2147483647:re<-2147483648&&(re=-2147483648),ce(re=+re)&&(re=ze?0:L.length-1),re<0&&(re=L.length+re),re>=L.length){if(ze)return-1;re=L.length-1}else if(re<0){if(!ze)return-1;re=0}if(typeof F=="string"&&(F=l.from(F,ke)),l.isBuffer(F))return F.length===0?-1:m(L,F,re,ke,ze);if(typeof F=="number")return F&=255,typeof Uint8Array.prototype.indexOf=="function"?ze?Uint8Array.prototype.indexOf.call(L,F,re):Uint8Array.prototype.lastIndexOf.call(L,F,re):m(L,[F],re,ke,ze);throw new TypeError("val must be string, number or Buffer")}function m(L,F,re,ke,ze){let $e,Ce=1,Ne=L.length,Ye=F.length;if(ke!==void 0&&((ke=String(ke).toLowerCase())==="ucs2"||ke==="ucs-2"||ke==="utf16le"||ke==="utf-16le")){if(L.length<2||F.length<2)return-1;Ce=2,Ne/=2,Ye/=2,re/=2}function st(ht,It){return Ce===1?ht[It]:ht.readUInt16BE(It*Ce)}if(ze){let ht=-1;for($e=re;$eNe&&(re=Ne-Ye),$e=re;$e>=0;$e--){let ht=!0;for(let It=0;Itze&&(ke=ze):ke=ze;const $e=F.length;let Ce;for(ke>$e/2&&(ke=$e/2),Ce=0;Ce>8,Ye=Ce%256,st.push(Ye),st.push(Ne);return st}(F,L.length-re),L,re,ke)}function _(L,F,re){return F===0&&re===L.length?r.fromByteArray(L):r.fromByteArray(L.slice(F,re))}function $(L,F,re){re=Math.min(L.length,re);const ke=[];let ze=F;for(;ze239?4:$e>223?3:$e>191?2:1;if(ze+Ne<=re){let Ye,st,ht,It;switch(Ne){case 1:$e<128&&(Ce=$e);break;case 2:Ye=L[ze+1],(192&Ye)==128&&(It=(31&$e)<<6|63&Ye,It>127&&(Ce=It));break;case 3:Ye=L[ze+1],st=L[ze+2],(192&Ye)==128&&(192&st)==128&&(It=(15&$e)<<12|(63&Ye)<<6|63&st,It>2047&&(It<55296||It>57343)&&(Ce=It));break;case 4:Ye=L[ze+1],st=L[ze+2],ht=L[ze+3],(192&Ye)==128&&(192&st)==128&&(192&ht)==128&&(It=(15&$e)<<18|(63&Ye)<<12|(63&st)<<6|63&ht,It>65535&&It<1114112&&(Ce=It))}}Ce===null?(Ce=65533,Ne=1):Ce>65535&&(Ce-=65536,ke.push(Ce>>>10&1023|55296),Ce=56320|1023&Ce),ke.push(Ce),ze+=Ne}return function($e){const Ce=$e.length;if(Ce<=B)return String.fromCharCode.apply(String,$e);let Ne="",Ye=0;for(;Yeke.length?(l.isBuffer($e)||($e=l.from($e)),$e.copy(ke,ze)):Uint8Array.prototype.set.call(ke,$e,ze);else{if(!l.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(ke,ze)}ze+=$e.length}return ke},l.byteLength=v,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const L=this.length;if(L%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let F=0;FF&&(L+=" ... "),""},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(L,F,re,ke,ze){if(te(L,Uint8Array)&&(L=l.from(L,L.offset,L.byteLength)),!l.isBuffer(L))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof L);if(F===void 0&&(F=0),re===void 0&&(re=L?L.length:0),ke===void 0&&(ke=0),ze===void 0&&(ze=this.length),F<0||re>L.length||ke<0||ze>this.length)throw new RangeError("out of range index");if(ke>=ze&&F>=re)return 0;if(ke>=ze)return-1;if(F>=re)return 1;if(this===L)return 0;let $e=(ze>>>=0)-(ke>>>=0),Ce=(re>>>=0)-(F>>>=0);const Ne=Math.min($e,Ce),Ye=this.slice(ke,ze),st=L.slice(F,re);for(let ht=0;ht>>=0,isFinite(re)?(re>>>=0,ke===void 0&&(ke="utf8")):(ke=re,re=void 0)}const ze=this.length-F;if((re===void 0||re>ze)&&(re=ze),L.length>0&&(re<0||F<0)||F>this.length)throw new RangeError("Attempt to write outside buffer bounds");ke||(ke="utf8");let $e=!1;for(;;)switch(ke){case"hex":return E(this,L,F,re);case"utf8":case"utf-8":return I(this,L,F,re);case"ascii":case"latin1":case"binary":return S(this,L,F,re);case"base64":return T(this,L,F,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,L,F,re);default:if($e)throw new TypeError("Unknown encoding: "+ke);ke=(""+ke).toLowerCase(),$e=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const B=4096;function U(L,F,re){let ke="";re=Math.min(L.length,re);for(let ze=F;zeke)&&(re=ke);let ze="";for(let $e=F;$ere)throw new RangeError("Trying to access beyond buffer length")}function R(L,F,re,ke,ze,$e){if(!l.isBuffer(L))throw new TypeError('"buffer" argument must be a Buffer instance');if(F>ze||F<$e)throw new RangeError('"value" argument is out of bounds');if(re+ke>L.length)throw new RangeError("Index out of range")}function Y(L,F,re,ke,ze){_e(F,ke,ze,L,re,7);let $e=Number(F&BigInt(4294967295));L[re++]=$e,$e>>=8,L[re++]=$e,$e>>=8,L[re++]=$e,$e>>=8,L[re++]=$e;let Ce=Number(F>>BigInt(32)&BigInt(4294967295));return L[re++]=Ce,Ce>>=8,L[re++]=Ce,Ce>>=8,L[re++]=Ce,Ce>>=8,L[re++]=Ce,re}function ie(L,F,re,ke,ze){_e(F,ke,ze,L,re,7);let $e=Number(F&BigInt(4294967295));L[re+7]=$e,$e>>=8,L[re+6]=$e,$e>>=8,L[re+5]=$e,$e>>=8,L[re+4]=$e;let Ce=Number(F>>BigInt(32)&BigInt(4294967295));return L[re+3]=Ce,Ce>>=8,L[re+2]=Ce,Ce>>=8,L[re+1]=Ce,Ce>>=8,L[re]=Ce,re+8}function de(L,F,re,ke,ze,$e){if(re+ke>L.length)throw new RangeError("Index out of range");if(re<0)throw new RangeError("Index out of range")}function xe(L,F,re,ke,ze){return F=+F,re>>>=0,ze||de(L,0,re,4),i.write(L,F,re,ke,23,4),re+4}function X(L,F,re,ke,ze){return F=+F,re>>>=0,ze||de(L,0,re,8),i.write(L,F,re,ke,52,8),re+8}l.prototype.slice=function(L,F){const re=this.length;(L=~~L)<0?(L+=re)<0&&(L=0):L>re&&(L=re),(F=F===void 0?re:~~F)<0?(F+=re)<0&&(F=0):F>re&&(F=re),F>>=0,F>>>=0,re||D(L,F,this.length);let ke=this[L],ze=1,$e=0;for(;++$e>>=0,F>>>=0,re||D(L,F,this.length);let ke=this[L+--F],ze=1;for(;F>0&&(ze*=256);)ke+=this[L+--F]*ze;return ke},l.prototype.readUint8=l.prototype.readUInt8=function(L,F){return L>>>=0,F||D(L,1,this.length),this[L]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(L,F){return L>>>=0,F||D(L,2,this.length),this[L]|this[L+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(L,F){return L>>>=0,F||D(L,2,this.length),this[L]<<8|this[L+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(L,F){return L>>>=0,F||D(L,4,this.length),(this[L]|this[L+1]<<8|this[L+2]<<16)+16777216*this[L+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(L,F){return L>>>=0,F||D(L,4,this.length),16777216*this[L]+(this[L+1]<<16|this[L+2]<<8|this[L+3])},l.prototype.readBigUInt64LE=Te(function(L){fe(L>>>=0,"offset");const F=this[L],re=this[L+7];F!==void 0&&re!==void 0||oe(L,this.length-8);const ke=F+256*this[++L]+65536*this[++L]+this[++L]*2**24,ze=this[++L]+256*this[++L]+65536*this[++L]+re*2**24;return BigInt(ke)+(BigInt(ze)<>>=0,"offset");const F=this[L],re=this[L+7];F!==void 0&&re!==void 0||oe(L,this.length-8);const ke=F*2**24+65536*this[++L]+256*this[++L]+this[++L],ze=this[++L]*2**24+65536*this[++L]+256*this[++L]+re;return(BigInt(ke)<>>=0,F>>>=0,re||D(L,F,this.length);let ke=this[L],ze=1,$e=0;for(;++$e=ze&&(ke-=Math.pow(2,8*F)),ke},l.prototype.readIntBE=function(L,F,re){L>>>=0,F>>>=0,re||D(L,F,this.length);let ke=F,ze=1,$e=this[L+--ke];for(;ke>0&&(ze*=256);)$e+=this[L+--ke]*ze;return ze*=128,$e>=ze&&($e-=Math.pow(2,8*F)),$e},l.prototype.readInt8=function(L,F){return L>>>=0,F||D(L,1,this.length),128&this[L]?-1*(255-this[L]+1):this[L]},l.prototype.readInt16LE=function(L,F){L>>>=0,F||D(L,2,this.length);const re=this[L]|this[L+1]<<8;return 32768&re?4294901760|re:re},l.prototype.readInt16BE=function(L,F){L>>>=0,F||D(L,2,this.length);const re=this[L+1]|this[L]<<8;return 32768&re?4294901760|re:re},l.prototype.readInt32LE=function(L,F){return L>>>=0,F||D(L,4,this.length),this[L]|this[L+1]<<8|this[L+2]<<16|this[L+3]<<24},l.prototype.readInt32BE=function(L,F){return L>>>=0,F||D(L,4,this.length),this[L]<<24|this[L+1]<<16|this[L+2]<<8|this[L+3]},l.prototype.readBigInt64LE=Te(function(L){fe(L>>>=0,"offset");const F=this[L],re=this[L+7];F!==void 0&&re!==void 0||oe(L,this.length-8);const ke=this[L+4]+256*this[L+5]+65536*this[L+6]+(re<<24);return(BigInt(ke)<>>=0,"offset");const F=this[L],re=this[L+7];F!==void 0&&re!==void 0||oe(L,this.length-8);const ke=(F<<24)+65536*this[++L]+256*this[++L]+this[++L];return(BigInt(ke)<>>=0,F||D(L,4,this.length),i.read(this,L,!0,23,4)},l.prototype.readFloatBE=function(L,F){return L>>>=0,F||D(L,4,this.length),i.read(this,L,!1,23,4)},l.prototype.readDoubleLE=function(L,F){return L>>>=0,F||D(L,8,this.length),i.read(this,L,!0,52,8)},l.prototype.readDoubleBE=function(L,F){return L>>>=0,F||D(L,8,this.length),i.read(this,L,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(L,F,re,ke){L=+L,F>>>=0,re>>>=0,ke||R(this,L,F,re,Math.pow(2,8*re)-1,0);let ze=1,$e=0;for(this[F]=255&L;++$e>>=0,re>>>=0,ke||R(this,L,F,re,Math.pow(2,8*re)-1,0);let ze=re-1,$e=1;for(this[F+ze]=255&L;--ze>=0&&($e*=256);)this[F+ze]=L/$e&255;return F+re},l.prototype.writeUint8=l.prototype.writeUInt8=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,1,255,0),this[F]=255&L,F+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,2,65535,0),this[F]=255&L,this[F+1]=L>>>8,F+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,2,65535,0),this[F]=L>>>8,this[F+1]=255&L,F+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,4,4294967295,0),this[F+3]=L>>>24,this[F+2]=L>>>16,this[F+1]=L>>>8,this[F]=255&L,F+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,4,4294967295,0),this[F]=L>>>24,this[F+1]=L>>>16,this[F+2]=L>>>8,this[F+3]=255&L,F+4},l.prototype.writeBigUInt64LE=Te(function(L){return Y(this,L,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=Te(function(L){return ie(this,L,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(L,F,re,ke){if(L=+L,F>>>=0,!ke){const Ne=Math.pow(2,8*re-1);R(this,L,F,re,Ne-1,-Ne)}let ze=0,$e=1,Ce=0;for(this[F]=255&L;++ze>0)-Ce&255;return F+re},l.prototype.writeIntBE=function(L,F,re,ke){if(L=+L,F>>>=0,!ke){const Ne=Math.pow(2,8*re-1);R(this,L,F,re,Ne-1,-Ne)}let ze=re-1,$e=1,Ce=0;for(this[F+ze]=255&L;--ze>=0&&($e*=256);)L<0&&Ce===0&&this[F+ze+1]!==0&&(Ce=1),this[F+ze]=(L/$e>>0)-Ce&255;return F+re},l.prototype.writeInt8=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,1,127,-128),L<0&&(L=255+L+1),this[F]=255&L,F+1},l.prototype.writeInt16LE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,2,32767,-32768),this[F]=255&L,this[F+1]=L>>>8,F+2},l.prototype.writeInt16BE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,2,32767,-32768),this[F]=L>>>8,this[F+1]=255&L,F+2},l.prototype.writeInt32LE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,4,2147483647,-2147483648),this[F]=255&L,this[F+1]=L>>>8,this[F+2]=L>>>16,this[F+3]=L>>>24,F+4},l.prototype.writeInt32BE=function(L,F,re){return L=+L,F>>>=0,re||R(this,L,F,4,2147483647,-2147483648),L<0&&(L=4294967295+L+1),this[F]=L>>>24,this[F+1]=L>>>16,this[F+2]=L>>>8,this[F+3]=255&L,F+4},l.prototype.writeBigInt64LE=Te(function(L){return Y(this,L,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=Te(function(L){return ie(this,L,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(L,F,re){return xe(this,L,F,!0,re)},l.prototype.writeFloatBE=function(L,F,re){return xe(this,L,F,!1,re)},l.prototype.writeDoubleLE=function(L,F,re){return X(this,L,F,!0,re)},l.prototype.writeDoubleBE=function(L,F,re){return X(this,L,F,!1,re)},l.prototype.copy=function(L,F,re,ke){if(!l.isBuffer(L))throw new TypeError("argument should be a Buffer");if(re||(re=0),ke||ke===0||(ke=this.length),F>=L.length&&(F=L.length),F||(F=0),ke>0&&ke=this.length)throw new RangeError("Index out of range");if(ke<0)throw new RangeError("sourceEnd out of bounds");ke>this.length&&(ke=this.length),L.length-F>>=0,re=re===void 0?this.length:re>>>0,L||(L=0),typeof L=="number")for(ze=F;ze=ke+4;re-=3)F=`_${L.slice(re-3,re)}${F}`;return`${L.slice(0,re)}${F}`}function _e(L,F,re,ke,ze,$e){if(L>re||L= 0${Ce} and < 2${Ce} ** ${8*($e+1)}${Ce}`:`>= -(2${Ce} ** ${8*($e+1)-1}${Ce}) and < 2 ** ${8*($e+1)-1}${Ce}`,new Q.ERR_OUT_OF_RANGE("value",Ne,L)}(function(Ce,Ne,Ye){fe(Ne,"offset"),Ce[Ne]!==void 0&&Ce[Ne+Ye]!==void 0||oe(Ne,Ce.length-(Ye+1))})(ke,ze,$e)}function fe(L,F){if(typeof L!="number")throw new Q.ERR_INVALID_ARG_TYPE(F,"number",L)}function oe(L,F,re){throw Math.floor(L)!==L?(fe(L,re),new Q.ERR_OUT_OF_RANGE("offset","an integer",L)):F<0?new Q.ERR_BUFFER_OUT_OF_BOUNDS:new Q.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${F}`,L)}he("ERR_BUFFER_OUT_OF_BOUNDS",function(L){return L?`${L} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),he("ERR_INVALID_ARG_TYPE",function(L,F){return`The "${L}" argument must be of type number. Received type ${typeof F}`},TypeError),he("ERR_OUT_OF_RANGE",function(L,F,re){let ke=`The value of "${L}" is out of range.`,ze=re;return Number.isInteger(re)&&Math.abs(re)>2**32?ze=me(String(re)):typeof re=="bigint"&&(ze=String(re),(re>BigInt(2)**BigInt(32)||re<-(BigInt(2)**BigInt(32)))&&(ze=me(ze)),ze+="n"),ke+=` It must be ${F}. Received ${ze}`,ke},RangeError);const J=/[^+/0-9A-Za-z-_]/g;function K(L,F){let re;F=F||1/0;const ke=L.length;let ze=null;const $e=[];for(let Ce=0;Ce55295&&re<57344){if(!ze){if(re>56319){(F-=3)>-1&&$e.push(239,191,189);continue}if(Ce+1===ke){(F-=3)>-1&&$e.push(239,191,189);continue}ze=re;continue}if(re<56320){(F-=3)>-1&&$e.push(239,191,189),ze=re;continue}re=65536+(ze-55296<<10|re-56320)}else ze&&(F-=3)>-1&&$e.push(239,191,189);if(ze=null,re<128){if((F-=1)<0)break;$e.push(re)}else if(re<2048){if((F-=2)<0)break;$e.push(re>>6|192,63&re|128)}else if(re<65536){if((F-=3)<0)break;$e.push(re>>12|224,re>>6&63|128,63&re|128)}else{if(!(re<1114112))throw new Error("Invalid code point");if((F-=4)<0)break;$e.push(re>>18|240,re>>12&63|128,re>>6&63|128,63&re|128)}}return $e}function q(L){return r.toByteArray(function(F){if((F=(F=F.split("=")[0]).trim().replace(J,"")).length<2)return"";for(;F.length%4!=0;)F+="=";return F}(L))}function ue(L,F,re,ke){let ze;for(ze=0;ze=F.length||ze>=L.length);++ze)F[ze+re]=L[ze];return ze}function te(L,F){return L instanceof F||L!=null&&L.constructor!=null&&L.constructor.name!=null&&L.constructor.name===F.name}function ce(L){return L!=L}const ge=function(){const L="0123456789abcdef",F=new Array(256);for(let re=0;re<16;++re){const ke=16*re;for(let ze=0;ze<16;++ze)F[ke+ze]=L[re]+L[ze]}return F}();function Te(L){return typeof BigInt>"u"?ae:L}function ae(){throw new Error("BigInt not supported")}},(n,e,t)=>{var r=t(17),i=Object.getOwnPropertyDescriptors||function(H){for(var N=Object.keys(H),W={},D=0;D=R)return de;switch(de){case"%s":return String(D[W++]);case"%d":return Number(D[W++]);case"%j":try{return JSON.stringify(D[W++])}catch{return"[Circular]"}default:return de}}),ie=D[W];W=3&&(W.depth=arguments[2]),arguments.length>=4&&(W.colors=arguments[3]),v(N)?W.showHidden=N:N&&e._extend(W,N),m(W.showHidden)&&(W.showHidden=!1),m(W.depth)&&(W.depth=2),m(W.colors)&&(W.colors=!1),m(W.customInspect)&&(W.customInspect=!0),W.colors&&(W.stylize=c),h(W,H,W.depth)}function c(H,N){var W=l.styles[N];return W?"\x1B["+l.colors[W][0]+"m"+H+"\x1B["+l.colors[W][1]+"m":H}function u(H,N){return H}function h(H,N,W){if(H.customInspect&&N&&P(N.inspect)&&N.inspect!==e.inspect&&(!N.constructor||N.constructor.prototype!==N)){var D=N.inspect(W,H);return b(D)||(D=h(H,D,W)),D}var R=function(me,_e){if(m(_e))return me.stylize("undefined","undefined");if(b(_e)){var fe="'"+JSON.stringify(_e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return me.stylize(fe,"string")}return A(_e)?me.stylize(""+_e,"number"):v(_e)?me.stylize(""+_e,"boolean"):C(_e)?me.stylize("null","null"):void 0}(H,N);if(R)return R;var Y=Object.keys(N),ie=function(me){var _e={};return me.forEach(function(fe,oe){_e[fe]=!0}),_e}(Y);if(H.showHidden&&(Y=Object.getOwnPropertyNames(N)),T(N)&&(Y.indexOf("message")>=0||Y.indexOf("description")>=0))return d(N);if(Y.length===0){if(P(N)){var de=N.name?": "+N.name:"";return H.stylize("[Function"+de+"]","special")}if(E(N))return H.stylize(RegExp.prototype.toString.call(N),"regexp");if(S(N))return H.stylize(Date.prototype.toString.call(N),"date");if(T(N))return d(N)}var xe,X="",Q=!1,he=["{","}"];return f(N)&&(Q=!0,he=["[","]"]),P(N)&&(X=" [Function"+(N.name?": "+N.name:"")+"]"),E(N)&&(X=" "+RegExp.prototype.toString.call(N)),S(N)&&(X=" "+Date.prototype.toUTCString.call(N)),T(N)&&(X=" "+d(N)),Y.length!==0||Q&&N.length!=0?W<0?E(N)?H.stylize(RegExp.prototype.toString.call(N),"regexp"):H.stylize("[Object]","special"):(H.seen.push(N),xe=Q?function(me,_e,fe,oe,J){for(var K=[],q=0,ue=_e.length;q60?fe[0]+(_e===""?"":_e+` `)+" "+me.join(`, `)+" "+fe[1]:fe[0]+_e+" "+me.join(", ")+" "+fe[1]}(xe,X,he)):he[0]+X+he[1]}function d(H){return"["+Error.prototype.toString.call(H)+"]"}function g(H,N,W,D,R,Y){var ie,de,xe;if((xe=Object.getOwnPropertyDescriptor(N,R)||{value:N[R]}).get?de=xe.set?H.stylize("[Getter/Setter]","special"):H.stylize("[Getter]","special"):xe.set&&(de=H.stylize("[Setter]","special")),$(D,R)||(ie="["+R+"]"),de||(H.seen.indexOf(xe.value)<0?(de=C(W)?h(H,xe.value,null):h(H,xe.value,W-1)).indexOf(` `)>-1&&(de=Y?de.split(` `).map(function(X){return" "+X}).join(` `).slice(2):` `+de.split(` `).map(function(X){return" "+X}).join(` `)):de=H.stylize("[Circular]","special")),m(ie)){if(Y&&R.match(/^\d+$/))return de;(ie=JSON.stringify(""+R)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ie=ie.slice(1,-1),ie=H.stylize(ie,"name")):(ie=ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ie=H.stylize(ie,"string"))}return ie+": "+de}function f(H){return Array.isArray(H)}function v(H){return typeof H=="boolean"}function C(H){return H===null}function A(H){return typeof H=="number"}function b(H){return typeof H=="string"}function m(H){return H===void 0}function E(H){return I(H)&&_(H)==="[object RegExp]"}function I(H){return typeof H=="object"&&H!==null}function S(H){return I(H)&&_(H)==="[object Date]"}function T(H){return I(H)&&(_(H)==="[object Error]"||H instanceof Error)}function P(H){return typeof H=="function"}function _(H){return Object.prototype.toString.call(H)}function $(H,N){return Object.prototype.hasOwnProperty.call(H,N)}e.debuglog=function(H){return H=H.toUpperCase(),o[H]||(a.test(H)?(r.pid,o[H]=function(){e.format.apply(e,arguments)}):o[H]=function(){}),o[H]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=t(228),e.isArray=f,e.isBoolean=v,e.isNull=C,e.isNullOrUndefined=function(H){return H==null},e.isNumber=A,e.isString=b,e.isSymbol=function(H){return typeof H=="symbol"},e.isUndefined=m,e.isRegExp=E,e.types.isRegExp=E,e.isObject=I,e.isDate=S,e.types.isDate=S,e.isError=T,e.types.isNativeError=T,e.isFunction=P,e.isPrimitive=function(H){return H===null||typeof H=="boolean"||typeof H=="number"||typeof H=="string"||typeof H=="symbol"||H===void 0},e.isBuffer=t(240),e.log=function(){},e.inherits=t(158),e._extend=function(H,N){if(!N||!I(N))return H;for(var W=Object.keys(N),D=W.length;D--;)H[W[D]]=N[W[D]];return H};var B=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function U(H,N){if(!H){var W=new Error("Promise was rejected with a falsy value");W.reason=H,H=W}return N(H)}e.promisify=function(H){if(typeof H!="function")throw new TypeError('The "original" argument must be of type Function');if(B&&H[B]){var N;if(typeof(N=H[B])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(N,B,{value:N,enumerable:!1,writable:!1,configurable:!0}),N}function N(){for(var W,D,R=new Promise(function(de,xe){W=de,D=xe}),Y=[],ie=0;ie{function t(i){const{context:s,node:o}=i;if(o.computed&&s.maybeQueue(i.get("key")),o.decorators)for(const a of i.get("decorators"))s.maybeQueue(a)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.requeueComputedKeyAndDecorators=t,e.skipAllButComputedKey=function(i){i.skip(),i.node.computed&&i.context.maybeQueue(i.get("key"))};var r={FunctionParent(i){i.isArrowFunctionExpression()||(i.skip(),i.isMethod()&&t(i))},Property(i){i.isObjectProperty()||(i.skip(),t(i))}};e.default=r},(n,e,t)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=t(47),o=t(48),a=(e=n.exports={}).re=[],l=e.safeRe=[],c=e.src=[],u=e.t={};let h=0;const d="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",s],[d,i]],f=(v,C,A)=>{const b=(E=>{for(const[I,S]of g)E=E.split(`${I}*`).join(`${I}{0,${S}}`).split(`${I}+`).join(`${I}{1,${S}}`);return E})(C),m=h++;o(v,m,C),u[v]=m,c[m]=C,a[m]=new RegExp(C,A?"g":void 0),l[m]=new RegExp(b,A?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),f("FULL",`^${c[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),f("LOOSE",`^${c[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),f("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",c[u.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(){i(),s()},e.clearPath=i,e.clearScope=s,e.getCachedPaths=function(a,l){var c;return(c=t.get(o))==null?void 0:c.get(l)},e.getOrCreateCachedPaths=function(a,l){let c=t.get(o);c||t.set(o,c=new WeakMap);let u=c.get(l);return u||c.set(l,u=new Map),u},e.scope=e.path=void 0;let t=e.path=new WeakMap,r=e.scope=new WeakMap;function i(){e.path=t=new WeakMap}function s(){e.scope=r=new WeakMap}const o=Object.freeze({})},(n,e,t)=>{var r=t(17);Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=u,e.default=function(h,d,g){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!l){l=!0;const v="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";r.emitWarning?r.emitWarning(v,"DeprecationWarning"):new Error(v).name="DeprecationWarning"}return u(h,{start:{column:g=Math.max(g,0),line:d}},f)};var i=t(428),s=function(h,d){if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=o(!0);if(g&&g.has(h))return g.get(h);var f={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in h)if(C!=="default"&&Object.prototype.hasOwnProperty.call(h,C)){var A=v?Object.getOwnPropertyDescriptor(h,C):null;A&&(A.get||A.set)?Object.defineProperty(f,C,A):f[C]=h[C]}return f.default=h,g&&g.set(h,f),f}(t(224));function o(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,g=new WeakMap;return(o=function(f){return f?g:d})(h)}let a,l=!1;const c=/\r\n|[\n\r\u2028\u2029]/;function u(h,d){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const f=(g.highlightCode||g.forceColor)&&(0,i.shouldHighlight)(g),v=g.forceColor?(a!=null||(a=new s.default.constructor({enabled:!0,level:1})),a):s.default,C=function(_){return{gutter:_.grey,marker:_.red.bold,message:_.red.bold}}(v),A=(_,$)=>f?_($):$,b=h.split(c),{start:m,end:E,markerLines:I}=function(_,$,B){const U=Object.assign({column:0,line:-1},_.start),H=Object.assign({},U,_.end),{linesAbove:N=2,linesBelow:W=3}=B||{},D=U.line,R=U.column,Y=H.line,ie=H.column;let de=Math.max(D-(N+1),0),xe=Math.min($.length,Y+W);D===-1&&(de=0),Y===-1&&(xe=$.length);const X=Y-D,Q={};if(X)for(let he=0;he<=X;he++){const me=he+D;if(R)if(he===0){const _e=$[me-1].length;Q[me]=[R,_e-R+1]}else if(he===X)Q[me]=[0,ie];else{const _e=$[me-he].length;Q[me]=[0,_e]}else Q[me]=!0}else Q[D]=R===ie?!R||[R,0]:[R,ie-R];return{start:de,end:xe,markerLines:Q}}(d,b,g),S=d.start&&typeof d.start.column=="number",T=String(E).length;let P=(f?(0,i.default)(h,g):h).split(c,E).slice(m,E).map((_,$)=>{const B=m+1+$,U=` ${` ${B}`.slice(-T)} |`,H=I[B],N=!I[B+1];if(H){let W="";if(Array.isArray(H)){const D=_.slice(0,Math.max(H[0]-1,0)).replace(/[^\t]/g," "),R=H[1]||1;W=[` `,A(C.gutter,U.replace(/\d/g," "))," ",D,A(C.marker,"^").repeat(R)].join(""),N&&g.message&&(W+=" "+A(C.message,g.message))}return[A(C.marker,">"),A(C.gutter,U),_.length>0?` ${_}`:"",W].join("")}return` ${A(C.gutter,U)}${_.length>0?` ${_}`:""}`}).join(` `);return g.message&&!S&&(P=`${" ".repeat(T+1)}${g.message} ${P}`),f?v.reset(P):P}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var r=t(432),i=t(433);const s=(0,i.default)(r.smart);e.smart=s;const o=(0,i.default)(r.statement);e.statement=o;const a=(0,i.default)(r.statements);e.statements=a;const l=(0,i.default)(r.expression);e.expression=l;const c=(0,i.default)(r.program);e.program=c;var u=Object.assign(s.bind(void 0),{smart:s,statement:o,statements:a,expression:l,program:c,ast:s.ast});e.default=u},(n,e,t)=>{var r=t(22),i=t(41),s=i(r("String.prototype.indexOf"));n.exports=function(o,a){var l=r(o,!!a);return typeof l=="function"&&s(o,".prototype.")>-1?i(l):l}},(n,e)=>{var t;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=function(h){return i?Object.defineProperty(function(){return c(),h(...arguments)},"name",{value:o}):h},e.endHiddenCallStack=function(h){return i?Object.defineProperty(function(){return h(...arguments)},"name",{value:s}):h},e.expectedError=function(h){if(i)return a.add(h),h},e.injectVirtualStackFrame=function(h,d){if(!i)return;let g=l.get(h);return g||l.set(h,g=[]),g.push(function(f){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>f,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>f})}(d)),h};const r=Function.call.bind(Error.prototype.toString),i=!!Error.captureStackTrace&&((t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:t.writable)===!0,s="startHiding - secret - don't use this - v1",o="stopHiding - secret - don't use this - v1",a=new WeakSet,l=new WeakMap;function c(){c=()=>{};const{prepareStackTrace:h=u}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(d,g){let f=[],v=a.has(d)?"hiding":"unknown";for(let C=0;C{let r,i,s=t(24);class o extends s{constructor(l){super(l),this.type="root",this.nodes||(this.nodes=[])}normalize(l,c,u){let h=super.normalize(l);if(c){if(u==="prepend")this.nodes.length>1?c.raws.before=this.nodes[1].raws.before:delete c.raws.before;else if(this.first!==c)for(let d of h)d.raws.before=c.raws.before}return h}removeChild(l,c){let u=this.index(l);return!c&&u===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[u].raws.before),super.removeChild(l)}toResult(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new r(new i,this,l).stringify()}}o.registerLazyResult=a=>{r=a},o.registerProcessor=a=>{i=a},n.exports=o,o.default=o,s.registerRoot(o)},(n,e,t)=>{var r=t(71),i=t(22),s=t(234),o=i("%TypeError%"),a=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,a),u=i("%Object.defineProperty%",!0),h=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}n.exports=function(g){if(typeof g!="function")throw new o("a function is required");var f=c(r,l,arguments);return s(f,1+h(0,g.length-(arguments.length-1)),!0)};var d=function(){return c(r,a,arguments)};u?u(n.exports,"apply",{value:d}):n.exports.apply=d},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,l,c){return!!l&&((0,i.default)(l.type,a)?c===void 0||(0,r.default)(l,c):!c&&l.type==="Placeholder"&&a in o.FLIPPED_ALIAS_KEYS&&(0,s.default)(l.expectedNode,a))};var r=t(96),i=t(98),s=t(168),o=t(9)},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i){return typeof i=="string"&&(!(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])||!(0,r.isKeyword)(i)&&!(0,r.isStrictReservedWord)(i,!0))&&(0,r.isIdentifierName)(i)};var r=t(59)},(n,e,t)=>{var r=t(5),i=t(15),s=t(102),o=t(204),a=t(11),l=r.RegExp,c=l.prototype;i&&a(function(){var u=!0;try{l(".","d")}catch{u=!1}var h={},d="",g=u?"dgimsy":"gimsy",f=function(A,b){Object.defineProperty(h,A,{get:function(){return d+=b,!0}})},v={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var C in u&&(v.hasIndices="d"),v)f(C,v[C]);return Object.getOwnPropertyDescriptor(c,"flags").get.call(h)!==g||d!==g})&&s(c,"flags",{configurable:!0,get:o})},(n,e,t)=>{var r=t(5),i=t(116),s=t(29),o=t(67),a=t(113),l=t(112),c=r.Symbol,u=i("wks"),h=l?c.for||c:c&&c.withoutSetter||o;n.exports=function(d){return s(u,d)||(u[d]=a&&s(c,d)?c[d]:h("Symbol."+d)),u[d]}},(n,e,t)=>{var r=t(123),i=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",s=Object.prototype.toString,o=Array.prototype.concat,a=t(121),l=t(72)(),c=function(h,d,g,f){if(d in h){if(f===!0){if(h[d]===g)return}else if(typeof(v=f)!="function"||s.call(v)!=="[object Function]"||!f())return}var v;l?a(h,d,g,!0):a(h,d,g)},u=function(h,d){var g=arguments.length>2?arguments[2]:{},f=r(d);i&&(f=o.call(f,Object.getOwnPropertySymbols(d)));for(var v=0;v{const e=Number.MAX_SAFE_INTEGER||9007199254740991;n.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},(n,e,t)=>{var r=t(17);const i=(typeof r=="object"&&r.env,()=>{});n.exports=i},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)>0},(n,e,t)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(g,f){if(f=s(f),g instanceof i){if(g.loose===!!f.loose)return g;g=g.value}g=g.trim().split(/\s+/).join(" "),c("comparator",g,f),this.options=f,this.loose=!!f.loose,this.parse(g),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(g){const f=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],v=g.match(f);if(!v)throw new TypeError(`Invalid comparator: ${g}`);this.operator=v[1]!==void 0?v[1]:"",this.operator==="="&&(this.operator=""),v[2]?this.semver=new u(v[2],this.options.loose):this.semver=r}toString(){return this.value}test(g){if(c("Comparator.test",g,this.options.loose),this.semver===r||g===r)return!0;if(typeof g=="string")try{g=new u(g,this.options)}catch{return!1}return l(g,this.operator,this.semver,this.options)}intersects(g,f){if(!(g instanceof i))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new h(g.value,f).test(this.value):g.operator===""?g.value===""||new h(this.value,f).test(g.semver):!((f=s(f)).includePrerelease&&(this.value==="<0.0.0-0"||g.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||g.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!g.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!g.operator.startsWith("<"))&&(this.semver.version!==g.semver.version||!this.operator.includes("=")||!g.operator.includes("="))&&!(l(this.semver,"<",g.semver,f)&&this.operator.startsWith(">")&&g.operator.startsWith("<"))&&!(l(this.semver,">",g.semver,f)&&this.operator.startsWith("<")&&g.operator.startsWith(">")))}}n.exports=i;const s=t(75),{safeRe:o,t:a}=t(34),l=t(131),c=t(48),u=t(3),h=t(8)},(n,e,t)=>{const r=t(8);n.exports=(i,s,o)=>{try{s=new r(s,o)}catch{return!1}return s.test(i)}},(n,e,t)=>{let r=t(53);class i extends r{constructor(o){o&&o.value!==void 0&&typeof o.value!="string"&&(o={...o,value:String(o.value)}),super(o),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}n.exports=i,i.default=i},(n,e,t)=>{let{isClean:r,my:i}=t(145),s=t(87),o=t(146),a=t(54);function l(u,h){let d=new u.constructor;for(let g in u){if(!Object.prototype.hasOwnProperty.call(u,g)||g==="proxyCache")continue;let f=u[g],v=typeof f;g==="parent"&&v==="object"?h&&(d[g]=h):g==="source"?d[g]=f:Array.isArray(f)?d[g]=f.map(C=>l(C,d)):(v==="object"&&f!==null&&(f=l(f)),d[g]=f)}return d}class c{constructor(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.raws={},this[r]=!1,this[i]=!0;for(let d in h)if(d==="nodes"){this.nodes=[];for(let g of h[d])typeof g.clone=="function"?this.append(g.clone()):this.append(g)}else this[d]=h[d]}addToError(h){if(h.postcssNode=this,h.stack&&this.source&&/\n\s{4}at /.test(h.stack)){let d=this.source;h.stack=h.stack.replace(/\n\s{4}at /,`$&${d.input.from}:${d.start.line}:${d.start.column}$&`)}return h}after(h){return this.parent.insertAfter(this,h),this}assign(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let d in h)this[d]=h[d];return this}before(h){return this.parent.insertBefore(this,h),this}cleanRaws(h){delete this.raws.before,delete this.raws.after,h||delete this.raws.between}clone(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=l(this);for(let g in h)d[g]=h[g];return d}cloneAfter(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.clone(h);return this.parent.insertAfter(this,d),d}cloneBefore(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=this.clone(h);return this.parent.insertBefore(this,d),d}error(h){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.source){let{end:g,start:f}=this.rangeBy(d);return this.source.input.error(h,{column:f.column,line:f.line},{column:g.column,line:g.line},d)}return new s(h)}getProxyProcessor(){return{get:(h,d)=>d==="proxyOf"?h:d==="root"?()=>h.root().toProxy():h[d],set:(h,d,g)=>(h[d]===g||(h[d]=g,d!=="prop"&&d!=="value"&&d!=="name"&&d!=="params"&&d!=="important"&&d!=="text"||h.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let h=this;for(;h=h.parent;)h[r]=!1}}next(){if(!this.parent)return;let h=this.parent.index(this);return this.parent.nodes[h+1]}positionBy(h,d){let g=this.source.start;if(h.index)g=this.positionInside(h.index,d);else if(h.word){let f=(d=this.toString()).indexOf(h.word);f!==-1&&(g=this.positionInside(f,d))}return g}positionInside(h,d){let g=d||this.toString(),f=this.source.start.column,v=this.source.start.line;for(let C=0;Ctypeof b=="object"&&b.toJSON?b.toJSON(null,d):b);else if(typeof A=="object"&&A.toJSON)g[C]=A.toJSON(null,d);else if(C==="source"){let b=d.get(A.input);b==null&&(b=v,d.set(A.input,v),v++),g[C]={end:A.end,inputId:b,start:A.start}}else g[C]=A}return f&&(g.inputs=[...d.keys()].map(C=>C.toJSON())),g}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a;h.stringify&&(h=h.stringify);let d="";return h(this,g=>{d+=g}),d}warn(h,d,g){let f={node:this};for(let v in g)f[v]=g[v];return h.warn(d,f)}get proxyOf(){return this}}n.exports=c,c.default=c},(n,e,t)=>{let r=t(146);function i(s,o){new r(o).stringify(s)}n.exports=i,i.default=i},(n,e,t)=>{let{SourceMapConsumer:r,SourceMapGenerator:i}=t(149),{fileURLToPath:s,pathToFileURL:o}=t(318),{isAbsolute:a,resolve:l}=t(150),{nanoid:c}=t(319),u=t(317),h=t(87),d=t(151),g=Symbol("fromOffsetCache"),f=!!(r&&i),v=!!(l&&a);class C{constructor(b){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(b==null||typeof b=="object"&&!b.toString)throw new Error(`PostCSS received ${b} instead of CSS string`);if(this.css=b.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,m.from&&(!v||/^\w+:\/\//.test(m.from)||a(m.from)?this.file=m.from:this.file=l(m.from)),v&&f){let E=new d(this.css,m);if(E.text){this.map=E;let I=E.consumer().file;!this.file&&I&&(this.file=this.mapResolve(I))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(b,m,E){let I,S,T,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(m&&typeof m=="object"){let $=m,B=E;if(typeof $.offset=="number"){let U=this.fromOffset($.offset);m=U.line,E=U.col}else m=$.line,E=$.column;if(typeof B.offset=="number"){let U=this.fromOffset(B.offset);S=U.line,T=U.col}else S=B.line,T=B.column}else if(!E){let $=this.fromOffset(m);m=$.line,E=$.col}let _=this.origin(m,E,S,T);return I=_?new h(b,_.endLine===void 0?_.line:{column:_.column,line:_.line},_.endLine===void 0?_.column:{column:_.endColumn,line:_.endLine},_.source,_.file,P.plugin):new h(b,S===void 0?m:{column:E,line:m},S===void 0?E:{column:T,line:S},this.css,this.file,P.plugin),I.input={column:E,endColumn:T,endLine:S,line:m,source:this.css},this.file&&(o&&(I.input.url=o(this.file).toString()),I.input.file=this.file),I}fromOffset(b){let m,E;if(this[g])E=this[g];else{let S=this.css.split(` `);E=new Array(S.length);let T=0;for(let P=0,_=S.length;P<_;P++)E[P]=T,T+=S[P].length+1;this[g]=E}m=E[E.length-1];let I=0;if(b>=m)I=E.length-1;else{let S,T=E.length-2;for(;I>1),b=E[S+1])){I=S;break}I=S+1}}return{col:b-E[I]+1,line:I+1}}mapResolve(b){return/^\w+:\/\//.test(b)?b:l(this.map.consumer().sourceRoot||this.map.root||".",b)}origin(b,m,E,I){if(!this.map)return!1;let S,T,P=this.map.consumer(),_=P.originalPositionFor({column:m,line:b});if(!_.source)return!1;typeof E=="number"&&(S=P.originalPositionFor({column:I,line:E})),T=a(_.source)?o(_.source):new URL(_.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let $={column:_.column,endColumn:S&&S.column,endLine:S&&S.line,line:_.line,url:T.toString()};if(T.protocol==="file:"){if(!s)throw new Error("file: protocol is not available in this PostCSS build");$.file=s(T)}let B=P.sourceContentFor(_.source);return B&&($.source=B),$}toJSON(){let b={};for(let m of["hasBOM","css","file","id"])this[m]!=null&&(b[m]=this[m]);return this.map&&(b.map={...this.map},b.map.consumerCache&&(b.map.consumerCache=void 0)),b}get from(){return this.file||this.id}}n.exports=C,C.default=C,u&&u.registerInput&&u.registerInput(C)},(n,e,t)=>{let r=t(53);class i extends r{constructor(o){super(o),this.type="comment"}}n.exports=i,i.default=i},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.explode=d,e.isExplodedVisitor=h,e.merge=function(E){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],S=arguments.length>2?arguments[2]:void 0;const T={};for(let P=0;P$.toString()),B}),T[P]=_)}return T}function C(E){E.enter&&!Array.isArray(E.enter)&&(E.enter=[E.enter]),E.exit&&!Array.isArray(E.exit)&&(E.exit=[E.exit])}function A(E,I){const S=i[`is${E}`],T=function(P){if(S.call(P))return I.apply(this,arguments)};return T.toString=()=>I.toString(),T}function b(E){return E[0]==="_"||E==="enter"||E==="exit"||E==="shouldSkip"||E==="denylist"||E==="noScope"||E==="skipKeys"||E==="blacklist"}function m(E,I){for(const S of["enter","exit"])I[S]&&(E[S]=[].concat(E[S]||[],I[S]))}},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r,i){if(t.has(r))return;t.add(r);const{internal:s,trace:o}=function(a,l){const{stackTraceLimit:c,prepareStackTrace:u}=Error;let h;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(g,f){h=f},new Error().stack,Error.stackTraceLimit=c,Error.prepareStackTrace=u,!h)return{internal:!1,trace:""};const d=h.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(d[1].getFileName()),trace:d.map(g=>` at ${g}`).join(` `)}}()};const t=new Set},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=t(353),i=t(354)},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var r=t(2);function i(s,o,a,l){const c=[].concat(s),u=Object.create(null);for(;c.length;){const h=c.shift();if(!h||l&&((0,r.isAssignmentExpression)(h)||(0,r.isUnaryExpression)(h)))continue;const d=i.keys[h.type];if((0,r.isIdentifier)(h))o?(u[h.name]=u[h.name]||[]).push(h):u[h.name]=h;else if(!(0,r.isExportDeclaration)(h)||(0,r.isExportAllDeclaration)(h)){if(a){if((0,r.isFunctionDeclaration)(h)){c.push(h.id);continue}if((0,r.isFunctionExpression)(h))continue}if(d)for(let g=0;g{n.exports=function(){return function(){}}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){if(!u.isExportDeclaration()||u.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(u.isExportDefaultDeclaration()){const v=u.get("declaration"),C=v.isFunctionDeclaration()||v.isClassDeclaration(),A=v.isFunctionExpression()||v.isClassExpression(),b=v.isScope()?v.scope.parent:v.scope;let m=v.node.id,E=!1;m?A&&b.hasBinding(m.name)&&(E=!0,m=b.generateUidIdentifier(m.name)):(E=!0,m=b.generateUidIdentifier("default"),(C||A)&&(v.node.id=i(m)));const I=C?v.node:l("var",[c(i(m),v.node)]),S=s(null,[o(i(m),a("default"))]);return u.insertAfter(S),u.replaceWith(I),E&&b.registerDeclaration(u),u}if(u.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const h=u.get("declaration"),d=h.getOuterBindingIdentifiers(),g=Object.keys(d).map(v=>o(a(v),a(v))),f=s(null,g);return u.insertAfter(f),u.replaceWith(h.node),u};var r=t(0);const{cloneNode:i,exportNamedDeclaration:s,exportSpecifier:o,identifier:a,variableDeclaration:l,variableDeclarator:c}=r},(n,e,t)=>{var r=t(187),i=Object;n.exports=function(s){return i(r(s))}},(n,e,t)=>{var r=t(5),i=t(106),s="__core-js_shared__",o=r[s]||i(s,{});n.exports=o},(n,e,t)=>{var r=t(20),i=String,s=TypeError;n.exports=function(o){if(r(o))return o;throw new s(i(o)+" is not an object")}},(n,e,t)=>{var r=t(104),i=Function.prototype.call;n.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},(n,e,t)=>{var r=t(19),i=0,s=Math.random(),o=r(1 .toString);n.exports=function(a){return"Symbol("+(a===void 0?"":a)+")_"+o(++i+s,36)}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return u.buildDynamicImport}}),e.buildNamespaceInitStatements=function(H,N){let W=arguments.length>2&&arguments[2]!==void 0&&arguments[2],D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:c.wrapReference;var R;const Y=[],ie=b(N.name);for(const xe of N.importsNamespace)xe!==N.name&&Y.push(i.template.statement`var NAME = SOURCE;`({NAME:xe,SOURCE:f(ie)}));const de=(R=D(ie,N.wrap))!=null?R:ie;W&&Y.push(...$(H,N,!0,D));for(const xe of N.reexportNamespace)Y.push((i.types.isIdentifier(de)?i.template.statement`EXPORTS.NAME = NAMESPACE;`:i.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); `)({EXPORTS:H.exportName,NAME:xe,NAMESPACE:f(de)}));if(N.reexportAll){const xe=function(X,Q,he){return(he?i.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; EXPORTS[key] = NAMESPACE[key]; }); `:i.template.statement` Object.keys(NAMESPACE).forEach(function(key) { if (key === "default" || key === "__esModule") return; VERIFY_NAME_LIST; if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return; Object.defineProperty(EXPORTS, key, { enumerable: true, get: function() { return NAMESPACE[key]; }, }); }); `)({NAMESPACE:Q,EXPORTS:X.exportName,VERIFY_NAME_LIST:X.exportNameListName?i.template` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; `({EXPORTS_LIST:X.exportNameListName}):null})}(H,f(de),W);xe.loc=N.reexportAll.loc,Y.push(xe)}return Y},e.ensureStatementsHoisted=function(H){H.forEach(N=>{N._blockHoist=3})},Object.defineProperty(e,"getModuleName",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"hasExports",{enumerable:!0,get:function(){return l.hasExports}}),Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return s.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return l.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=function(H,N){let{exportName:W,strict:D,allowTopLevelThis:R,strictMode:Y,noInterop:ie,importInterop:de=ie?"none":"babel",lazy:xe,getWrapperPayload:X=c.toGetWrapperPayload(xe!=null&&xe),wrapReference:Q=c.wrapReference,esNamespaceOnly:he,filename:me,constantReexports:_e=arguments[1].loose,enumerableModuleMeta:fe=arguments[1].loose,noIncompleteNsImportDetection:oe}=N;(0,l.validateImportInteropOption)(de),r((0,s.isModule)(H),"Cannot process module statements in a script"),H.node.sourceType="script";const J=(0,l.default)(H,W,{importInterop:de,initializeReexports:_e,getWrapperPayload:X,esNamespaceOnly:he,filename:me});R||(0,o.default)(H),(0,a.default)(H,J,Q),Y!==!1&&(H.node.directives.some(te=>te.value.value==="use strict")||H.unshiftContainer("directives",v(C("use strict"))));const K=[];(0,l.hasExports)(J)&&!D&&K.push(function(ue){return(arguments.length>1&&arguments[1]!==void 0&&arguments[1]?i.template.statement` EXPORTS.__esModule = true; `:i.template.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); `)({EXPORTS:ue.exportName})}(J,fe));const q=function(ue,te){const ce=Object.create(null);for(const ae of te.local.values())for(const L of ae.names)ce[L]=!0;let ge=!1;for(const ae of te.source.values()){for(const L of ae.reexports.keys())ce[L]=!0;for(const L of ae.reexportNamespace)ce[L]=!0;ge=ge||!!ae.reexportAll}if(!ge||Object.keys(ce).length===0)return null;const Te=ue.scope.generateUidIdentifier("exportNames");return delete ce.default,{name:Te.name,statement:T("var",[P(Te,S(ce))])}}(H,J);return q&&(J.exportNameListName=q.name,K.push(q.statement)),K.push(...function(ue,te,ce){let ge=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Te=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const ae=[];for(const[F,re]of te.local)if(re.kind!=="import"){if(re.kind==="hoisted")ae.push([re.names[0],U(te,re.names,b(F))]);else if(!Te)for(const ke of re.names)ae.push([ke,null])}for(const F of te.source.values()){if(!ge){const re=$(te,F,!1,ce),ke=[...F.reexports.keys()];for(let ze=0;ze{let[ke]=F,[ze]=re;return ke0&&(L.push(U(te,ke,ue.scope.buildUndefinedNode())),ke=[]),L.push(Ce)):ke.push($e)}ke.length>0&&L.push(U(te,ke,ue.scope.buildUndefinedNode()))}return L}(H,J,Q,_e,oe)),{meta:J,headers:K}},Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return o.default}}),e.wrapInterop=function(H,N,W){if(W==="none")return null;if(W==="node-namespace")return g(H.hub.addHelper("interopRequireWildcard"),[N,d(!0)]);if(W==="node-default")return null;let D;if(W==="default")D="interopRequireDefault";else{if(W!=="namespace")throw new Error(`Unknown interop: ${W}`);D="interopRequireWildcard"}return g(H.hub.addHelper(D),[N])};var r=t(25),i=t(1),s=t(93),o=t(449),a=t(450),l=t(252),c=t(451),u=t(330),h=t(452);const{booleanLiteral:d,callExpression:g,cloneNode:f,directive:v,directiveLiteral:C,expressionStatement:A,identifier:b,isIdentifier:m,memberExpression:E,stringLiteral:I,valueToNode:S,variableDeclaration:T,variableDeclarator:P}=i.types;e.getDynamicImportSource=t(330).getDynamicImportSource;const _={constant:i.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:i.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:i.template.statement` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); `};function $(H,N,W,D){var R;let Y=b(N.name);Y=(R=D(Y,N.wrap))!=null?R:Y;const{stringSpecifiers:ie}=H;return Array.from(N.reexports,de=>{let[xe,X]=de,Q=f(Y);X==="default"&&N.interop==="node-default"||(Q=ie.has(X)?E(Q,I(X),!0):E(Q,b(X)));const he={EXPORTS:H.exportName,EXPORT_NAME:xe,NAMESPACE_IMPORT:Q};return W||m(Q)?ie.has(xe)?_.constantComputed(he):_.constant(he):_.spec(he)})}const B={computed:i.template.expression`EXPORTS["NAME"] = VALUE`,default:i.template.expression`EXPORTS.NAME = VALUE`,define:i.template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`};function U(H,N,W){const{stringSpecifiers:D,exportName:R}=H;return A(N.reduce((Y,ie)=>{const de={EXPORTS:R,NAME:ie,VALUE:Y};return ie==="__proto__"?B.define(de):D.has(ie)?B.computed(de):B.default(de)},W))}},(n,e,t)=>{var r=t(70);n.exports=function(){return r()&&!!Symbol.toStringTag}},n=>{n.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;for(t in e[t]=42,e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,t);if(s.value!==42||s.enumerable!==!0)return!1}return!0}},(n,e,t)=>{var r=t(232);n.exports=Function.prototype.bind||r},(n,e,t)=>{var r=t(22)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch{return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},n.exports=i},(n,e,t)=>{var r=t(22)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}n.exports=r},(n,e,t)=>{var r=t(125);n.exports=function(){return typeof Object.is=="function"?Object.is:r}},n=>{const e=Object.freeze({loose:!0}),t=Object.freeze({});n.exports=r=>r?typeof r!="object"?e:r:t},(n,e,t)=>{const r=t(3);n.exports=(i,s,o)=>{const a=new r(i,o),l=new r(s,o);return a.compare(l)||a.compareBuild(l)}},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)<0},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)>=0},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)<=0},(n,e,t)=>{const r=t(3),i=t(50),{ANY:s}=i,o=t(8),a=t(51),l=t(49),c=t(77),u=t(79),h=t(78);n.exports=(d,g,f,v)=>{let C,A,b,m,E;switch(d=new r(d,v),g=new o(g,v),f){case">":C=l,A=u,b=c,m=">",E=">=";break;case"<":C=c,A=h,b=l,m="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(d,g,v))return!1;for(let I=0;I{_.semver===s&&(_=new i(">=0.0.0")),T=T||_,P=P||_,C(_.semver,T.semver,v)?T=_:b(_.semver,P.semver,v)&&(P=_)}),T.operator===m||T.operator===E||(!P.operator||P.operator===m)&&A(d,P.semver)||P.operator===E&&b(d,P.semver))return!1}return!0}},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=function(t){return null},e.findPackageData=function*(t){return{filepath:t,directories:[],pkg:null,isPackage:!1}},e.findRelativeConfig=function*(t,r,i){return{config:null,ignore:null}},e.findRootConfig=function*(t,r,i){return null},e.loadConfig=function*(t,r,i,s){throw new Error(`Cannot load ${t} relative to ${r} in a browser`)},e.loadPlugin=function(t,r){throw new Error(`Cannot load plugin ${t} relative to ${r} in a browser`)},e.loadPreset=function(t,r){throw new Error(`Cannot load preset ${t} relative to ${r} in a browser`)},e.resolvePlugin=function(t,r){return null},e.resolvePreset=function(t,r){return null},e.resolveShowConfigPath=function*(t){return null},e.ROOT_CONFIG_FILENAMES=[]},(n,e,t)=>{function r(){const f=t(13);return r=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(f,v,C){if(C!==void 0)(0,a.beginHiddenCallStack)(d.errback)(f,v,C);else{if(typeof v!="function")return g(f,v);(0,a.beginHiddenCallStack)(d.errback)(f,void 0,C)}},e.createConfigItemAsync=function(){return(0,a.beginHiddenCallStack)(d.async)(...arguments)},e.createConfigItemSync=g,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.default}}),e.loadOptions=function(f,v){if(v!==void 0)(0,a.beginHiddenCallStack)(u.errback)(f,v);else{if(typeof f!="function")return h(f);(0,a.beginHiddenCallStack)(u.errback)(void 0,f)}},e.loadOptionsAsync=function(){return(0,a.beginHiddenCallStack)(u.async)(...arguments)},e.loadOptionsSync=h,e.loadPartialConfig=function(f,v){if(v!==void 0)(0,a.beginHiddenCallStack)(l.errback)(f,v);else{if(typeof f!="function")return c(f);(0,a.beginHiddenCallStack)(l.errback)(void 0,f)}},e.loadPartialConfigAsync=function(){return(0,a.beginHiddenCallStack)(l.async)(...arguments)},e.loadPartialConfigSync=c;var i=t(454),s=t(294),o=t(83),a=t(39);const l=r()(s.loadPartialConfig);function c(){return(0,a.beginHiddenCallStack)(l.sync)(...arguments)}const u=r()(function*(f){var v;const C=yield*(0,i.default)(f);return(v=C?.options)!=null?v:null});function h(){return(0,a.beginHiddenCallStack)(u.sync)(...arguments)}const d=r()(o.createConfigItem);function g(){return(0,a.beginHiddenCallStack)(d.sync)(...arguments)}},(n,e,t)=>{function r(){const l=t(10);return r=function(){return l},l}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(l){let{dirname:c=".",type:u}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function*(){return s(yield*(0,i.createDescriptor)(l,r().resolve(c),{type:u,alias:"programmatic item"}))}()},e.createItemFromDescriptor=s,e.getItemDescriptor=function(l){if(l!=null&&l[o])return l._descriptor};var i=t(279);function s(l){return new a(l)}const o=Symbol.for("@babel/core@7 - ConfigItem");class a{constructor(c){this._descriptor=void 0,this[o]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=c,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,o,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(a.prototype)},(n,e,t)=>{function r(){const C=t(13);return r=function(){return C},C}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=f,e.makeStrongCache=c,e.makeStrongCacheSync=function(C){return o(c(C))},e.makeWeakCache=l,e.makeWeakCacheSync=function(C){return o(l(C))};var i=t(133),s=t(134);const o=C=>r()(C).sync;function*a(){return!0}function l(C){return u(WeakMap,C)}function c(C){return u(Map,C)}function u(C,A){const b=new C,m=new C,E=new C;return function*(I,S){const T=yield*(0,i.isAsync)(),P=T?m:b,_=yield*function*(N,W,D,R,Y){const ie=yield*h(W,R,Y);if(ie.valid)return ie;if(N){const de=yield*h(D,R,Y);if(de.valid)return{valid:!0,value:yield*(0,i.waitFor)(de.value.promise)}}return{valid:!1,value:null}}(T,P,E,I,S);if(_.valid)return _.value;const $=new g(S),B=A(I,$);let U,H;return H=(0,s.isIterableIterator)(B)?yield*(0,i.onFirstPause)(B,()=>{U=function(N,W,D){const R=new v;return d(W,N,D,R),R}($,E,I)}):B,d(P,$,I,H),U&&(E.delete(I),U.release(H)),H}}function*h(C,A,b){const m=C.get(A);if(m){for(const{value:E,valid:I}of m)if(yield*I(b))return{valid:!0,value:E}}return{valid:!1,value:null}}function d(C,A,b,m){A.configured()||A.forever();let E=C.get(b);switch(A.deactivate(),A.mode()){case"forever":E=[{value:m,valid:a}],C.set(b,E);break;case"invalidate":E=[{value:m,valid:A.validator()}],C.set(b,E);break;case"valid":E?E.push({value:m,valid:A.validator()}):(E=[{value:m,valid:A.validator()}],C.set(b,E))}}class g{constructor(A){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=A}simple(){return function(A){function b(m){if(typeof m!="boolean")return A.using(()=>f(m()));m?A.forever():A.never()}return b.forever=()=>A.forever(),b.never=()=>A.never(),b.using=m=>A.using(()=>f(m())),b.invalidate=m=>A.invalidate(()=>f(m())),b}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(A){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;const b=A(this._data),m=(0,i.maybeAsync)(A,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,i.isThenable)(b)?b.then(E=>(this._pairs.push([E,m]),E)):(this._pairs.push([b,m]),b)}invalidate(A){return this._invalidate=!0,this.using(A)}validator(){const A=this._pairs;return function*(b){for(const[m,E]of A)if(m!==(yield*E(b)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function f(C){if((0,i.isThenable)(C))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(C!=null&&typeof C!="string"&&typeof C!="boolean"&&typeof C!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return C}class v{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(A=>{this._resolve=A})}release(A){this.released=!0,this._resolve(A)}}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(f,v,C,A){if(v===0)return;const b=f[v-1],m=f[v];b.file&&b.options===void 0&&typeof m.value=="object"&&(A.message+=` - Maybe you meant to use "${C}s": [ ["${b.file.request}", ${JSON.stringify(m.value,void 0,2)}] ] To be a valid ${C}, its name and options should be wrapped in a pair of brackets`)},e.validate=function(f,v,C){try{return h({type:"root",source:f},v)}catch(A){const b=new s.default(A.message,C);throw A.code&&(b.code=A.code),b}};var r=t(470),i=t(293),s=t(140);const o={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString},a={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch},l={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString},c={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,i.msg)(f)} is not allowed inside of another .env block`);const C=f.parent,A=(0,i.assertObject)(f,v);if(A)for(const b of Object.keys(A)){const m=(0,i.assertObject)((0,i.access)(f,b),A[b]);m&&h({type:"env",name:b,parent:C},m)}return A},overrides:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,i.msg)(f)} is not allowed inside an .env block`);if(f.parent.type==="overrides")throw new Error(`${(0,i.msg)(f)} is not allowed inside an .overrides block`);const C=f.parent,A=(0,i.assertArray)(f,v);if(A)for(const[b,m]of A.entries()){const E=(0,i.access)(f,b),I=(0,i.assertObject)(E,m);if(!I)throw new Error(`${(0,i.msg)(E)} must be an object`);h({type:"overrides",index:b,parent:C},I)}return A},test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};function u(f){return f.type==="root"?f.source:u(f.parent)}function h(f,v){const C=u(f);return function(A){if(g(A,"sourceMap")&&g(A,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(v),Object.keys(v).forEach(A=>{const b={type:"option",name:A,parent:f};if(C==="preset"&&l[A])throw new Error(`${(0,i.msg)(b)} is not allowed in preset options`);if(C!=="arguments"&&o[A])throw new Error(`${(0,i.msg)(b)} is only allowed in root programmatic options`);if(C!=="arguments"&&C!=="configfile"&&a[A])throw C==="babelrcfile"||C==="extendsfile"?new Error(`${(0,i.msg)(b)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,i.msg)(b)} is only allowed in root programmatic options, or babel.config.js/config file options`);(c[A]||l[A]||a[A]||o[A]||d)(b,v[A])}),v}function d(f){const v=f.name;if(r.default[v]){const{message:C,version:A=5}=r.default[v];throw new Error(`Using removed Babel ${A} option: ${(0,i.msg)(f)} - ${C}`)}{const C=new Error(`Unknown option: ${(0,i.msg)(f)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw C.code="BABEL_UNKNOWN_OPTION",C}}function g(f,v){return Object.prototype.hasOwnProperty.call(f,v)}Object.assign(c,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString}),e.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"])},n=>{var e=String.prototype.replace,t=/%20/g,r="RFC3986";n.exports={default:r,formatters:{RFC1738:function(i){return e.call(i,t,"+")},RFC3986:function(i){return String(i)}},RFC1738:"RFC1738",RFC3986:r}},(n,e,t)=>{let r=t(316),i=t(317);class s extends Error{constructor(a,l,c,u,h,d){super(a),this.name="CssSyntaxError",this.reason=a,h&&(this.file=h),u&&(this.source=u),d&&(this.plugin=d),l!==void 0&&c!==void 0&&(typeof l=="number"?(this.line=l,this.column=c):(this.line=l.line,this.column=l.column,this.endLine=c.line,this.endColumn=c.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",this.line!==void 0&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(a){if(!this.source)return"";let l=this.source;a==null&&(a=r.isColorSupported),i&&a&&(l=i(l));let c,u,h=l.split(/\r?\n/),d=Math.max(this.line-3,0),g=Math.min(this.line+2,h.length),f=String(g).length;if(a){let{bold:v,gray:C,red:A}=r.createColors(!0);c=b=>v(A(b)),u=b=>C(b)}else c=u=v=>v;return h.slice(d,g).map((v,C)=>{let A=d+1+C,b=" "+(" "+A).slice(-f)+" | ";if(A===this.line){let m=u(b.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+u(b)+v+` `+m+c("^")}return" "+u(b)+v}).join(` `)}toString(){let a=this.showSourceCode();return a&&(a=` `+a+` `),this.name+": "+this.message+a}}n.exports=s,s.default=s},(n,e,t)=>{let r,i,s=t(24);class o extends s{constructor(l){super({type:"document",...l}),this.nodes||(this.nodes=[])}toResult(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new r(new i,this,l).stringify()}}o.registerLazyResult=a=>{r=a},o.registerProcessor=a=>{i=a},n.exports=o,o.default=o},(n,e,t)=>{let r=t(153);class i{constructor(o,a,l){this.processor=o,this.messages=[],this.root=a,this.opts=l,this.css=void 0,this.map=void 0}toString(){return this.css}warn(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);let l=new r(o,a);return this.messages.push(l),l}warnings(){return this.messages.filter(o=>o.type==="warning")}get content(){return this.css}}n.exports=i,i.default=i},(n,e,t)=>{let r=t(24),i=t(320),s=t(55);function o(a,l){let c=new s(a,l),u=new i(c);try{u.parse()}catch(h){throw h}return u.root}n.exports=o,o.default=o,r.registerParse(o)},(n,e,t)=>{let r=t(24);class i extends r{constructor(o){super(o),this.type="atrule"}append(){return this.proxyOf.nodes||(this.nodes=[]),super.append(...arguments)}prepend(){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...arguments)}}n.exports=i,i.default=i,r.registerAtRule(i)},(n,e,t)=>{let r=t(24),i=t(154);class s extends r{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(a){let l=this.selector?this.selector.match(/,\s*/):null,c=l?l[0]:","+this.raw("between","beforeOpen");this.selector=a.join(c)}}n.exports=s,s.default=s,r.registerRule(s)},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),e.addDefault=function(s,o,a){return new r.default(s).addDefault(o,a)},e.addNamed=function(s,o,a,l){return new r.default(s).addNamed(o,a,l)},e.addNamespace=function(s,o,a){return new r.default(s).addNamespace(o,a)},e.addSideEffect=function(s,o,a){return new r.default(s).addSideEffect(o,a)},Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return i.default}});var r=t(447),i=t(250)},function(n,e){(function(t){class r{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:a=>this.replacement=a}}replace(a,l,c,u){a&&(c!==null?a[l][c]=u:a[l]=u)}remove(a,l,c){a&&(c!==null?a[l].splice(c,1):delete a[l])}}class i extends r{constructor(a,l){super(),this.enter=a,this.leave=l}visit(a,l,c,u){if(a){if(this.enter){const h=this.should_skip,d=this.should_remove,g=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,a,l,c,u),this.replacement&&(a=this.replacement,this.replace(l,c,u,a)),this.should_remove&&this.remove(l,c,u);const f=this.should_skip,v=this.should_remove;if(this.should_skip=h,this.should_remove=d,this.replacement=g,f)return a;if(v)return null}for(const h in a){const d=a[h];if(typeof d=="object")if(Array.isArray(d))for(let g=0;g{function r(){const g=t(161);return r=function(){return g},g}function i(){const g=t(14);return i=function(){return g},g}function s(){const g=t(36);return s=function(){return g},g}function o(){const g=t(0);return o=function(){return g},g}function a(){const g=t(68);return a=function(){return g},g}function l(){const g=t(23);return l=function(){return g},g}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const{cloneNode:c,interpreterDirective:u}=o(),h={enter(g,f){const v=g.node.loc;v&&(f.loc=v,g.stop())}};class d{constructor(f,v){let{code:C,ast:A,inputMap:b}=v;this._map=new Map,this.opts=void 0,this.declarations={},this.path=void 0,this.ast=void 0,this.scope=void 0,this.metadata={},this.code="",this.inputMap=void 0,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=f,this.code=C,this.ast=A,this.inputMap=b,this.path=i().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){const{interpreter:f}=this.path.node;return f?f.value:""}set shebang(f){f?this.path.get("interpreter").replaceWith(u(f)):this.path.get("interpreter").remove()}set(f,v){if(f==="helpersNamespace")throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(f,v)}get(f){return this._map.get(f)}has(f){return this._map.has(f)}getModuleName(){return(0,a().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(f,v){let C;try{C=r().minVersion(f)}catch(A){if(A.code!=="BABEL_HELPER_UNKNOWN")throw A;return!1}return typeof v!="string"||(l().valid(v)&&(v=`^${v}`),!l().intersects(`<${C}`,v)&&!l().intersects(">=8.0.0",v))}addHelper(f){const v=this.declarations[f];if(v)return c(v);const C=this.get("helperGenerator");if(C){const I=C(f);if(I)return I}r().ensure(f,d);const A=this.declarations[f]=this.scope.generateUidIdentifier(f),b={};for(const I of r().getDependencies(f))b[I]=this.addHelper(I);const{nodes:m,globals:E}=r().get(f,I=>b[I],A,Object.keys(this.scope.getAllBindings()));return E.forEach(I=>{this.path.scope.hasBinding(I,!0)&&this.path.scope.rename(I)}),m.forEach(I=>{I._compact=!0}),this.path.unshiftContainer("body",m),this.path.get("body").forEach(I=>{m.indexOf(I.node)!==-1&&I.isVariableDeclaration()&&this.scope.registerDeclaration(I)}),A}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(f,v){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:SyntaxError,A=f&&(f.loc||f._loc);if(!A&&f){const b={loc:null};(0,i().default)(f,h,this.scope,b),A=b.loc;let m="This is an error on an internal node. Probably an internal error.";A&&(m+=" Location has been estimated."),v+=` (${m})`}if(A){const{highlightCode:b=!0}=this.opts;v+=` `+(0,s().codeFrameColumns)(this.code,{start:{line:A.start.line,column:A.start.column+1},end:A.end&&A.start.line===A.end.line?{line:A.end.line,column:A.end.column+1}:void 0},{highlightCode:b})}return new C(v)}}e.default=d},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,r){const i=Object.keys(r);for(const s of i)if(t[s]!==r[s])return!1;return!0}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,a,l){if(!o)return;const c=r.NODE_FIELDS[o.type];c&&(i(o,a,l,c[a]),s(o,a,l))},e.validateChild=s,e.validateField=i;var r=t(9);function i(o,a,l,c){c!=null&&c.validate&&(c.optional&&l==null||c.validate(o,a,l))}function s(o,a,l){if(l==null)return;const c=r.NODE_PARENT_VALIDATIONS[l.type];c&&c(o,a,l)}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,s){if(i===s)return!0;if(i==null||r.ALIAS_KEYS[s])return!1;const o=r.FLIPPED_ALIAS_KEYS[s];if(o){if(o[0]===i)return!0;for(const a of o)if(i===a)return!0}return!1};var r=t(9)},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,r,i){r&&i&&(r[t]=Array.from(new Set([].concat(r[t],i[t]).filter(Boolean))))}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=function(o,a,l,c,u,h,d){const g=s[o.type];if(!g)return!1;const f=new r.default(l,a,c,u);if(d)return(h==null||!h[u.parentKey])&&f.visitQueue([u]);for(const v of g)if((h==null||!h[v])&&f.visit(o,v))return!0;return!1};var r=t(400),i=t(0);const{VISITOR_KEYS:s}=i},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const c=s(l,a),u=a.sourceMaps?new r.default(a,l):null;return new i.default(c,u).generate(o)};var r=t(405),i=t(408);function s(o,a){var l;const c={auxiliaryCommentBefore:a.auxiliaryCommentBefore,auxiliaryCommentAfter:a.auxiliaryCommentAfter,shouldPrintComment:a.shouldPrintComment,retainLines:a.retainLines,retainFunctionParens:a.retainFunctionParens,comments:a.comments==null||a.comments,compact:a.compact,minified:a.minified,concise:a.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},a.jsescOption),recordAndTupleSyntaxType:(l=a.recordAndTupleSyntaxType)!=null?l:"hash",topicToken:a.topicToken,importAttributesKeyword:a.importAttributesKeyword};c.decoratorsBeforeExport=a.decoratorsBeforeExport,c.jsescOption.json=a.jsonCompatibleStrings,c.minified?(c.compact=!0,c.shouldPrintComment=c.shouldPrintComment||(()=>c.comments)):c.shouldPrintComment=c.shouldPrintComment||(g=>c.comments||g.includes("@license")||g.includes("@preserve")),c.compact==="auto"&&(c.compact=typeof o=="string"&&o.length>5e5,c.compact),c.compact&&(c.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:u,auxiliaryCommentAfter:h,shouldPrintComment:d}=c;return u&&!d(u)&&(c.auxiliaryCommentBefore=void 0),h&&!d(h)&&(c.auxiliaryCommentAfter=void 0),c}e.CodeGenerator=class{constructor(o){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=o,this._format=s(l,a),this._map=a.sourceMaps?new r.default(a,l):null}generate(){return new i.default(this._format,this._map).generate(this._ast)}}},(n,e,t)=>{var r=t(103),i=t(109);n.exports=function(s,o,a){return a.get&&r(a.get,o,{getter:!0}),a.set&&r(a.set,o,{setter:!0}),i.f(s,o,a)}},(n,e,t)=>{var r=t(19),i=t(11),s=t(6),o=t(29),a=t(15),l=t(188).CONFIGURABLE,c=t(189),u=t(107),h=u.enforce,d=u.get,g=String,f=Object.defineProperty,v=r("".slice),C=r("".replace),A=r([].join),b=a&&!i(function(){return f(function(){},"length",{value:8}).length!==8}),m=String(String).split("String"),E=n.exports=function(I,S,T){v(g(S),0,7)==="Symbol("&&(S="["+C(g(S),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(S="get "+S),T&&T.setter&&(S="set "+S),(!o(I,"name")||l&&I.name!==S)&&(a?f(I,"name",{value:S,configurable:!0}):I.name=S),b&&T&&o(T,"arity")&&I.length!==T.arity&&f(I,"length",{value:T.arity});try{T&&o(T,"constructor")&&T.constructor?a&&f(I,"prototype",{writable:!1}):I.prototype&&(I.prototype=void 0)}catch{}var P=h(I);return o(P,"source")||(P.source=A(m,typeof S=="string"?S:"")),I};Function.prototype.toString=E(function(){return s(this)&&d(this).source||c(this)},"toString")},(n,e,t)=>{var r=t(11);n.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},n=>{n.exports=function(e){return e==null}},(n,e,t)=>{var r=t(5),i=Object.defineProperty;n.exports=function(s,o){try{i(r,s,{value:o,configurable:!0,writable:!0})}catch{r[s]=o}return o}},(n,e,t)=>{var r,i,s,o=t(190),a=t(5),l=t(20),c=t(108),u=t(29),h=t(64),d=t(117),g=t(203),f="Object already initialized",v=a.TypeError,C=a.WeakMap;if(o||h.state){var A=h.state||(h.state=new C);A.get=A.get,A.has=A.has,A.set=A.set,r=function(m,E){if(A.has(m))throw new v(f);return E.facade=m,A.set(m,E),E},i=function(m){return A.get(m)||{}},s=function(m){return A.has(m)}}else{var b=d("state");g[b]=!0,r=function(m,E){if(u(m,b))throw new v(f);return E.facade=m,c(m,b,E),E},i=function(m){return u(m,b)?m[b]:{}},s=function(m){return u(m,b)}}n.exports={set:r,get:i,has:s,enforce:function(m){return s(m)?i(m):r(m,{})},getterFor:function(m){return function(E){var I;if(!l(E)||(I=i(E)).type!==m)throw new v("Incompatible receiver, "+m+" required");return I}}}},(n,e,t)=>{var r=t(15),i=t(109),s=t(202);n.exports=r?function(o,a,l){return i.f(o,a,s(1,l))}:function(o,a,l){return o[a]=l,o}},(n,e,t)=>{var r=t(15),i=t(191),s=t(193),o=t(65),a=t(194),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",g="writable";e.f=r?s?function(f,v,C){if(o(f),v=a(v),o(C),typeof f=="function"&&v==="prototype"&&"value"in C&&g in C&&!C[g]){var A=u(f,v);A&&A[g]&&(f[v]=C.value,C={configurable:d in C?C[d]:A[d],enumerable:h in C?C[h]:A[h],writable:!1})}return c(f,v,C)}:c:function(f,v,C){if(o(f),v=a(v),o(C),i)try{return c(f,v,C)}catch{}if("get"in C||"set"in C)throw new l("Accessors not supported");return"value"in C&&(f[v]=C.value),f}},(n,e,t)=>{var r=t(196),i=t(6),s=t(111),o=t(112),a=Object;n.exports=o?function(l){return typeof l=="symbol"}:function(l){var c=r("Symbol");return i(c)&&s(c.prototype,a(l))}},(n,e,t)=>{var r=t(19);n.exports=r({}.isPrototypeOf)},(n,e,t)=>{var r=t(113);n.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(n,e,t)=>{var r=t(197),i=t(11),s=t(5).String;n.exports=!!Object.getOwnPropertySymbols&&!i(function(){var o=Symbol("symbol detection");return!s(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})},(n,e,t)=>{var r=t(6),i=t(115),s=TypeError;n.exports=function(o){if(r(o))return o;throw new s(i(o)+" is not a function")}},n=>{var e=String;n.exports=function(t){try{return e(t)}catch{return"Object"}}},(n,e,t)=>{var r=t(201),i=t(64);(n.exports=function(s,o){return i[s]||(i[s]=o!==void 0?o:{})})("versions",[]).push({version:"3.35.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},(n,e,t)=>{var r=t(116),i=t(67),s=r("keys");n.exports=function(o){return s[o]||(s[o]=i(o))}},(n,e,t)=>{var r=t(220);n.exports=function(i){var s=+i;return s!=s||s===0?0:r(s)}},(n,e,t)=>{t(44),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(P){let _,{node:$,parent:B,scope:U,id:H}=P,N=arguments.length>1&&arguments[1]!==void 0&&arguments[1],W=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if($.id)return;if(!v(B)&&!f(B,{kind:"method"})||B.computed&&!d(B.key)){if(m(B)){if(H=B.id,h(H)&&!N){const R=U.parent.getBinding(H.name);if(R&&R.constant&&U.getBinding(H.name)===R)return $.id=o(H),void($.id[s]=!0)}}else if(l(B,{operator:"="}))H=B.left;else if(!H)return}else H=B.key;if(H&&d(H)?_=function(R){return g(R)?"null":C(R)?`_${R.pattern}_${R.flags}`:b(R)?R.quasis.map(Y=>Y.value.raw).join(""):R.value!==void 0?R.value+"":""}(H):H&&h(H)&&(_=H.name),_===void 0||!W&&u($)&&/[\uD800-\uDFFF]/.test(_))return;_=E(_);const D=a(_);return D[s]=!0,function(R,Y,ie,de){if(R.selfReference){if(!de.hasBinding(ie.name)||de.hasGlobal(ie.name)){if(!u(Y))return;let xe=I;Y.generator&&(xe=S);const X=xe({FUNCTION:Y,FUNCTION_ID:ie,FUNCTION_KEY:de.generateUidIdentifier(ie.name)}).expression,Q=X.callee.body.body[0].params;for(let he=0,me=function(_e){const fe=_e.params.findIndex(oe=>c(oe)||A(oe));return fe===-1?_e.params.length:fe}(Y);he{Object.defineProperty(e,"__esModule",{value:!0}),e.merge=function(r,i){const{placeholderWhitelist:s=r.placeholderWhitelist,placeholderPattern:o=r.placeholderPattern,preserveComments:a=r.preserveComments,syntacticPlaceholders:l=r.syntacticPlaceholders}=i;return{parser:Object.assign({},r.parser,i.parser),placeholderWhitelist:s,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}},e.normalizeReplacements=function(r){if(Array.isArray(r))return r.reduce((i,s,o)=>(i["$"+o]=s,i),{});if(typeof r=="object"||r==null)return r||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},e.validate=function(r){if(r!=null&&typeof r!="object")throw new Error("Unknown template options.");const i=r||{},{placeholderWhitelist:s,placeholderPattern:o,preserveComments:a,syntacticPlaceholders:l}=i,c=function(u,h){if(u==null)return{};var d,g,f={},v=Object.keys(u);for(g=0;g=0||(f[d]=u[d]);return f}(i,t);if(s!=null&&!(s instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(o!=null&&!(o instanceof RegExp)&&o!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(a!=null&&typeof a!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(l!=null&&typeof l!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(l===!0&&(s!=null||o!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:c,placeholderWhitelist:s||void 0,placeholderPattern:o??void 0,preserveComments:a??void 0,syntacticPlaceholders:l??void 0}};const t=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},(n,e,t)=>{var r=t(72)(),i=t(22),s=r&&i("%Object.defineProperty%",!0);if(s)try{s({},"a",{value:1})}catch{s=!1}var o=i("%SyntaxError%"),a=i("%TypeError%"),l=t(73);n.exports=function(c,u,h){if(!c||typeof c!="object"&&typeof c!="function")throw new a("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new a("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,g=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,v=arguments.length>6&&arguments[6],C=!!l&&l(c,u);if(s)s(c,u,{configurable:f===null&&C?C.configurable:!f,enumerable:d===null&&C?C.enumerable:!d,value:h,writable:g===null&&C?C.writable:!g});else{if(!v&&(d||g||f))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");c[u]=h}}},(n,e,t)=>{var r=t(236),i=t(238),s=t(41),o=t(38),a=t(73),l=o("Object.prototype.toString"),c=t(69)(),u=typeof globalThis>"u"?t.g:globalThis,h=i(),d=o("String.prototype.slice"),g=Object.getPrototypeOf,f=o("Array.prototype.indexOf",!0)||function(C,A){for(var b=0;b-1?A:A==="Object"&&function(b){var m=!1;return r(v,function(E,I){if(!m)try{E(b),m=d(I,1)}catch{}}),m}(C)}return a?function(b){var m=!1;return r(v,function(E,I){if(!m)try{"$"+E(b)===I&&(m=d(I,1))}catch{}}),m}(C):null}},(n,e,t)=>{var r=Array.prototype.slice,i=t(124),s=Object.keys,o=s?function(l){return s(l)}:t(244),a=Object.keys;o.shim=function(){if(Object.keys){var l=function(){var c=Object.keys(arguments);return c&&c.length===arguments.length}(1,2);l||(Object.keys=function(c){return i(c)?a(r.call(c)):a(c)})}else Object.keys=o;return Object.keys||o},n.exports=o},n=>{var e=Object.prototype.toString;n.exports=function(t){var r=e.call(t),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&e.call(t.callee)==="[object Function]"),i}},n=>{var e=function(t){return t!=t};n.exports=function(t,r){return t===0&&r===0?1/t==1/r:t===r||!(!e(t)||!e(r))}},n=>{n.exports=function(e){return e!=e}},(n,e,t)=>{var r=t(126);n.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},n=>{const e=/^[0-9]+$/,t=(r,i)=>{const s=e.test(r),o=e.test(i);return s&&o&&(r=+r,i=+i),r===i?0:s&&!o?-1:o&&!s?1:rt(i,r)}},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)===0},(n,e,t)=>{const r=t(7);n.exports=(i,s,o)=>r(i,s,o)!==0},(n,e,t)=>{const r=t(129),i=t(130),s=t(49),o=t(78),a=t(77),l=t(79);n.exports=(c,u,h,d)=>{switch(u){case"===":return typeof c=="object"&&(c=c.version),typeof h=="object"&&(h=h.version),c===h;case"!==":return typeof c=="object"&&(c=c.version),typeof h=="object"&&(h=h.version),c!==h;case"":case"=":case"==":return r(c,h,d);case"!=":return i(c,h,d);case">":return s(c,h,d);case">=":return o(c,h,d);case"<":return a(c,h,d);case"<=":return l(c,h,d);default:throw new TypeError(`Invalid operator: ${u}`)}}},(n,e,t)=>{const r=t(266),i=Symbol("max"),s=Symbol("length"),o=Symbol("lengthCalculator"),a=Symbol("allowStale"),l=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),d=Symbol("cache"),g=Symbol("updateAgeOnGet"),f=()=>1,v=(I,S,T)=>{const P=I[d].get(S);if(P){const _=P.value;if(C(I,_)){if(b(I,P),!I[a])return}else T&&(I[g]&&(P.value.now=Date.now()),I[h].unshiftNode(P));return _.value}},C=(I,S)=>{if(!S||!S.maxAge&&!I[l])return!1;const T=Date.now()-S.now;return S.maxAge?T>S.maxAge:I[l]&&T>I[l]},A=I=>{if(I[s]>I[i])for(let S=I[h].tail;I[s]>I[i]&&S!==null;){const T=S.prev;b(I,S),S=T}},b=(I,S)=>{if(S){const T=S.value;I[c]&&I[c](T.key,T.value),I[s]-=T.length,I[d].delete(T.key),I[h].removeNode(S)}};class m{constructor(S,T,P,_,$){this.key=S,this.value=T,this.length=P,this.now=_,this.maxAge=$||0}}const E=(I,S,T,P)=>{let _=T.value;C(I,_)&&(b(I,T),I[a]||(_=void 0)),_&&S.call(P,_.value,_.key,I)};n.exports=class{constructor(I){if(typeof I=="number"&&(I={max:I}),I||(I={}),I.max&&(typeof I.max!="number"||I.max<0))throw new TypeError("max must be a non-negative number");this[i]=I.max||1/0;const S=I.length||f;if(this[o]=typeof S!="function"?f:S,this[a]=I.stale||!1,I.maxAge&&typeof I.maxAge!="number")throw new TypeError("maxAge must be a number");this[l]=I.maxAge||0,this[c]=I.dispose,this[u]=I.noDisposeOnSet||!1,this[g]=I.updateAgeOnGet||!1,this.reset()}set max(I){if(typeof I!="number"||I<0)throw new TypeError("max must be a non-negative number");this[i]=I||1/0,A(this)}get max(){return this[i]}set allowStale(I){this[a]=!!I}get allowStale(){return this[a]}set maxAge(I){if(typeof I!="number")throw new TypeError("maxAge must be a non-negative number");this[l]=I,A(this)}get maxAge(){return this[l]}set lengthCalculator(I){typeof I!="function"&&(I=f),I!==this[o]&&(this[o]=I,this[s]=0,this[h].forEach(S=>{S.length=this[o](S.value,S.key),this[s]+=S.length})),A(this)}get lengthCalculator(){return this[o]}get length(){return this[s]}get itemCount(){return this[h].length}rforEach(I,S){S=S||this;for(let T=this[h].tail;T!==null;){const P=T.prev;E(this,I,T,S),T=P}}forEach(I,S){S=S||this;for(let T=this[h].head;T!==null;){const P=T.next;E(this,I,T,S),T=P}}keys(){return this[h].toArray().map(I=>I.key)}values(){return this[h].toArray().map(I=>I.value)}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach(I=>this[c](I.key,I.value)),this[d]=new Map,this[h]=new r,this[s]=0}dump(){return this[h].map(I=>!C(this,I)&&{k:I.key,v:I.value,e:I.now+(I.maxAge||0)}).toArray().filter(I=>I)}dumpLru(){return this[h]}set(I,S,T){if((T=T||this[l])&&typeof T!="number")throw new TypeError("maxAge must be a number");const P=T?Date.now():0,_=this[o](S,I);if(this[d].has(I)){if(_>this[i])return b(this,this[d].get(I)),!1;const B=this[d].get(I).value;return this[c]&&(this[u]||this[c](I,B.value)),B.now=P,B.maxAge=T,B.value=S,this[s]+=_-B.length,B.length=_,this.get(I),A(this),!0}const $=new m(I,S,_,P,T);return $.length>this[i]?(this[c]&&this[c](I,S),!1):(this[s]+=$.length,this[h].unshift($),this[d].set(I,this[h].head),A(this),!0)}has(I){if(!this[d].has(I))return!1;const S=this[d].get(I).value;return!C(this,S)}get(I){return v(this,I,!0)}peek(I){return v(this,I,!1)}pop(){const I=this[h].tail;return I?(b(this,I),I.value):null}del(I){b(this,this[d].get(I))}load(I){this.reset();const S=Date.now();for(let T=I.length-1;T>=0;T--){const P=I[T],_=P.e||0;if(_===0)this.set(P.k,P.v);else{const $=_-S;$>0&&this.set(P.k,P.v,$)}}}prune(){this[d].forEach((I,S)=>v(this,S,!1))}}},(n,e,t)=>{function r(){const h=t(13);return r=function(){return h},h}function i(h,d,g,f,v,C,A){try{var b=h[C](A),m=b.value}catch(E){return void g(E)}b.done?d(m):Promise.resolve(m).then(f,v)}function s(h){return function(){var d=this,g=arguments;return new Promise(function(f,v){var C=h.apply(d,g);function A(m){i(C,f,v,A,b,"next",m)}function b(m){i(C,f,v,A,b,"throw",m)}A(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=function(h,d){const g=r()(h);return a(f=>{const v=g[f];return d(v)})},e.isAsync=void 0,e.isThenable=u,e.maybeAsync=function(h,d){return r()({sync(){for(var g=arguments.length,f=new Array(g),v=0;v!1,errback:h=>h(null,!0)});const a=r()({sync:h=>h("sync"),async:(l=s(function*(h){return h("async")}),function(h){return l.apply(this,arguments)})});var l,c;function u(h){return!(!h||typeof h!="object"&&typeof h!="function"||!h.then||typeof h.then!="function")}e.onFirstPause=r()({name:"onFirstPause",arity:2,sync:function(h){return o.sync(h)},errback:function(h,d,g){let f=!1;o.errback(h,(v,C)=>{f=!0,g(v,C)}),f||d()}}),e.waitFor=r()({sync:h=>h,async:(c=s(function*(h){return h}),function(h){return c.apply(this,arguments)})})},(n,e)=>{function t(r,i){for(const s of Object.keys(i)){const o=i[s];o!==void 0&&(r[s]=o)}}Object.defineProperty(e,"__esModule",{value:!0}),e.isIterableIterator=function(r){return!!r&&typeof r.next=="function"&&typeof r[Symbol.iterator]=="function"},e.mergeOptions=function(r,i){for(const s of Object.keys(i))if(s!=="parserOpts"&&s!=="generatorOpts"&&s!=="assumptions"||!i[s]){const o=i[s];o!==void 0&&(r[s]=o)}else{const o=i[s];t(r[s]||(r[s]={}),o)}}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(136);e.default=class{constructor(i,s,o){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:(0,r.finalize)([]);this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.externalDependencies=void 0,this.key=i.name||o,this.manipulateOptions=i.manipulateOptions,this.post=i.post,this.pre=i.pre,this.visitor=i.visitor||{},this.parserOverride=i.parserOverride,this.generatorOverride=i.generatorOverride,this.options=s,this.externalDependencies=a}}},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=function(t){return Object.freeze(t)},e.flattenToSet=function(t){const r=new Set,i=[t];for(;i.length>0;)for(const s of i.pop())Array.isArray(s)?i.push(s):r.add(s);return r}},n=>{function e(t){this.name="BrowserslistError",this.message=t,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,e)}e.prototype=Error.prototype,n.exports=e},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getHighestUnreleased=function(u,h,d){return c(u,h,d)===u?h:u},e.getLowestImplementedVersion=function(u,h){const d=u[h];return d||h!=="android"?d:u.chrome},e.getLowestUnreleased=c,e.isUnreleasedVersion=function(u,h){const d=s.unreleasedLabels[h];return!!d&&d===u.toString().toLowerCase()},e.semverMin=l,e.semverify=function(u){if(typeof u=="string"&&r.valid(u))return u;a.invariant(typeof u=="number"||typeof u=="string"&&o.test(u),`'${u}' is not a valid version`),u=u.toString();let h=0,d=0;for(;(h=u.indexOf(".",h+1))>0;)d++;return u+".0".repeat(2-d)};var r=t(23),i=t(289),s=t(139);const o=/^(\d+|\d+.\d+)$/,a=new i.OptionValidator("@babel/helper-compilation-targets");function l(u,h){return u&&r.lt(u,h)?u:h}function c(u,h,d){const g=s.unreleasedLabels[d];return u===g?h:h===g?u:l(u,h)}},(n,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.unreleasedLabels=e.browserNameMap=void 0,e.unreleasedLabels={safari:"tp"},e.browserNameMap={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"}},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(39);class i extends Error{constructor(o,a){super(o),(0,r.expectedError)(this),a&&(0,r.injectVirtualStackFrame)(this,a)}}e.default=i},(n,e,t)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=t(33),i=t(299),s=t(300),o=t(1);const{assignmentExpression:a,booleanLiteral:l,callExpression:c,cloneNode:u,identifier:h,memberExpression:d,sequenceExpression:g,stringLiteral:f,thisExpression:v}=o.types;{const I=t(33);e.environmentVisitor=I.default,e.skipAllButComputedKey=I.skipAllButComputedKey}function C(I,S,T,P){I=u(I);const _=S||P?I:d(I,h("prototype"));return c(T.addHelper("getPrototypeOf"),[_])}const A=o.traverse.visitors.merge([r.default,{Super(I,S){const{node:T,parentPath:P}=I;P.isMemberExpression({object:T})&&S.handle(P)}}]),b=o.traverse.visitors.merge([r.default,{Scopable(I,S){let{refName:T}=S;const P=I.scope.getOwnBinding(T);P&&P.identifier.name===T&&I.scope.rename(T)}}]),m={memoise(I,S){const{scope:T,node:P}=I,{computed:_,property:$}=P;if(!_)return;const B=T.maybeGenerateMemoised($);B&&this.memoiser.set($,B,S)},prop(I){const{computed:S,property:T}=I.node;return this.memoiser.has(T)?u(this.memoiser.get(T)):S?u(T):f(T.name)},get(I){return this._get(I,this._getThisRefs())},_get(I,S){const T=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("get"),[S.memo?g([S.memo,T]):T,this.prop(I),S.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:v()};const I=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:a("=",I,v()),this:u(I)}},set(I,S){const T=this._getThisRefs(),P=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return c(this.file.addHelper("set"),[T.memo?g([T.memo,P]):P,this.prop(I),S,T.this,l(I.isInStrictMode())])},destructureSet(I){throw I.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(I,S){const T=this._getThisRefs();return(0,s.default)(this._get(I,T),u(T.this),S,!1)},optionalCall(I,S){const T=this._getThisRefs();return(0,s.default)(this._get(I,T),u(T.this),S,!0)},delete(I){return I.node.computed?g([c(this.file.addHelper("toPropertyKey"),[u(I.node.property)]),o.template.expression.ast` function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() `]):o.template.expression.ast` function () { throw new ReferenceError("'delete super.prop' is invalid"); }() `}},E=Object.assign({},m,{prop(I){const{property:S}=I.node;return this.memoiser.has(S)?u(this.memoiser.get(S)):u(S)},get(I){const{isStatic:S,getSuperRef:T}=this,{computed:P}=I.node,_=this.prop(I);let $;var B,U;return $=S?(B=T())!=null?B:d(h("Function"),h("prototype")):d((U=T())!=null?U:h("Object"),h("prototype")),d($,_,P)},set(I,S){const{computed:T}=I.node,P=this.prop(I);return a("=",d(v(),P,T),S)},destructureSet(I){const{computed:S}=I.node,T=this.prop(I);return d(v(),T,S)},call(I,S){return(0,s.default)(this.get(I),v(),S,!1)},optionalCall(I,S){return(0,s.default)(this.get(I),v(),S,!0)}});e.default=class{constructor(I){var S;const T=I.methodPath;this.methodPath=T,this.isDerivedConstructor=T.isClassMethod({kind:"constructor"})&&!!I.superRef,this.isStatic=T.isObjectMethod()||T.node.static||(T.isStaticBlock==null?void 0:T.isStaticBlock()),this.isPrivateMethod=T.isPrivate()&&T.isMethod(),this.file=I.file,this.constantSuper=(S=I.constantSuper)!=null?S:I.isLoose,this.opts=I}getObjectRef(){return u(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?u(this.opts.superRef):this.opts.getSuperRef?u(this.opts.getSuperRef()):void 0}replace(){this.opts.refToPreserve&&this.methodPath.traverse(b,{refName:this.opts.refToPreserve.name});const I=this.constantSuper?E:m;(0,i.default)(this.methodPath,A,Object.assign({file:this.file,scope:this.methodPath.scope,isDerivedConstructor:this.isDerivedConstructor,isStatic:this.isStatic,isPrivateMethod:this.isPrivateMethod,getObjectRef:this.getObjectRef.bind(this),getSuperRef:this.getSuperRef.bind(this),boundGet:I.get},I))}}},(n,e,t)=>{n.exports=t(503)},(n,e,t)=>{/** * @vue/compiler-dom v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/Object.defineProperty(e,"__esModule",{value:!0});var r=t(309),i=t(142);const s=Symbol(""),o=Symbol(""),a=Symbol(""),l=Symbol(""),c=Symbol(""),u=Symbol(""),h=Symbol(""),d=Symbol(""),g=Symbol(""),f=Symbol("");r.registerRuntimeHelpers({[s]:"vModelRadio",[o]:"vModelCheckbox",[a]:"vModelText",[l]:"vModelSelect",[c]:"vModelDynamic",[u]:"withModifiers",[h]:"withKeys",[d]:"vShow",[g]:"Transition",[f]:"TransitionGroup"});const v={parseMode:"html",isVoidTag:i.isVoidTag,isNativeTag:X=>i.isHTMLTag(X)||i.isSVGTag(X)||i.isMathMLTag(X),isPreTag:X=>X==="pre",decodeEntities:void 0,isBuiltInComponent:X=>X==="Transition"||X==="transition"?g:X==="TransitionGroup"||X==="transition-group"?f:void 0,getNamespace(X,Q,he){let me=Q?Q.ns:he;if(Q&&me===2)if(Q.tag==="annotation-xml"){if(X==="svg")return 1;Q.props.some(_e=>_e.type===6&&_e.name==="encoding"&&_e.value!=null&&(_e.value.content==="text/html"||_e.value.content==="application/xhtml+xml"))&&(me=0)}else/^m(?:[ions]|text)$/.test(Q.tag)&&X!=="mglyph"&&X!=="malignmark"&&(me=0);else Q&&me===1&&(Q.tag!=="foreignObject"&&Q.tag!=="desc"&&Q.tag!=="title"||(me=0));if(me===0){if(X==="svg")return 1;if(X==="math")return 2}return me}},C=X=>{X.type===1&&X.props.forEach((Q,he)=>{Q.type===6&&Q.name==="style"&&Q.value&&(X.props[he]={type:7,name:"bind",arg:r.createSimpleExpression("style",!0,Q.loc),exp:A(Q.value.content,Q.loc),modifiers:[],loc:Q.loc})})},A=(X,Q)=>{const he=i.parseStringStyle(X);return r.createSimpleExpression(JSON.stringify(he),!1,Q,3)};function b(X,Q){return r.createCompilerError(X,Q,m)}const m={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on ,