const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-CYH3TOzo.js","./css-DPfMkruS.js","./javascript-BMMyXqK5.js","./typescript-DlfHMoPT.js","./json-Cp-IABpG.js","./html-B8pBdPMQ.js","./vue-html-zSiQ3dJi.js","./components-Dza6_XRl.js","./index-lUvZHcVj.css","./pinia-Cq2YPuZV.js","./router-Drkf543k.js","./pages-yIVwEfZL.js","./SectionBlock-BTPkVZM2.js","./IconTitle.vue_vue_type_script_setup_true_lang-Enp_Ksfn.js","./SectionBlock-BYDDTsu3.css","./timeline-R3j-Lp7H.js","./timeline-DQ8UE2TV.css","./assets-D3XLNB-6.js","./settings-DyJW_A0F.js","./custom-inspector-tab-view-_L81oF56.js"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();const Qx="modulepreload",Zx=function(t,e){return new URL(t,e).href},vg={},ps=function(e,n,r){let a=Promise.resolve();if(n&&n.length>0){let p=function(u){return Promise.all(u.map(h=>Promise.resolve(h).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");a=p(n.map(u=>{if(u=Zx(u,r),u in vg)return;vg[u]=!0;const h=u.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(r)for(let f=s.length-1;f>=0;f--){const v=s[f];if(v.href===u&&(!h||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const m=document.createElement("link");if(m.rel=h?"stylesheet":Qx,h||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),h)return new Promise((f,v)=>{m.addEventListener("load",f),m.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(s){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s}return a.then(s=>{for(const o of s||[])o.status==="rejected"&&i(o.reason);return e().catch(i)})};var ew=Object.create,Y6=Object.defineProperty,tw=Object.getOwnPropertyDescriptor,J6=Object.getOwnPropertyNames,rw=Object.getPrototypeOf,nw=Object.prototype.hasOwnProperty,sw=(t,e)=>function(){return e||(0,t[J6(t)[0]])((e={exports:{}}).exports,e),e.exports},iw=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var a=J6(e),i=0,s=a.length,o;ie[l]).bind(null,o),enumerable:!(r=tw(e,o))||r.enumerable});return t},ow=(t,e,n)=>(n=t!=null?ew(rw(t)):{},iw(Y6(n,"default",{value:t,enumerable:!0}),t));const Du=typeof navigator<"u",Gt=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{},$a=typeof Gt.chrome<"u"&&!!Gt.chrome.devtools,Q6=Du&&Gt.self!==Gt.top,mh=typeof navigator<"u"&&navigator.userAgent?.toLowerCase().includes("electron"),Z6=!Q6&&!$a&&!mh;var aw=sw({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js":((t,e)=>{e.exports=r;function n(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function r(i){if(i=i||{},i.circles)return a(i);const s=new Map;if(s.set(Date,h=>new Date(h)),s.set(Map,(h,d)=>new Map(l(Array.from(h),d))),s.set(Set,(h,d)=>new Set(l(Array.from(h),d))),i.constructorHandlers)for(const h of i.constructorHandlers)s.set(h[0],h[1]);let o=null;return i.proto?u:p;function l(h,d){const m=Object.keys(h),f=new Array(m.length);for(let v=0;vnew Date(m)),l.set(Map,(m,f)=>new Map(u(Array.from(m),f))),l.set(Set,(m,f)=>new Set(u(Array.from(m),f))),i.constructorHandlers)for(const m of i.constructorHandlers)l.set(m[0],m[1]);let p=null;return i.proto?d:h;function u(m,f){const v=Object.keys(m),C=new Array(v.length);for(let S=0;Snavigator?.platform?navigator?.platform.toLowerCase().includes("mac"):/Macintosh/.test(navigator.userAgent),cw=/(?:^|[-_/])(\w)/g,uw=/-(\w)/g;function ey(t,e){return e?e.toUpperCase():""}function pw(t){return t&&`${t}`.replace(cw,ey)}function hw(t){return t&&t.replace(uw,ey)}function fw(t,e){let n=t.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${e}`)&&(n=n.replace(`/index${e}`,e));const r=n.lastIndexOf("/"),a=n.substring(r+1);{const i=a.lastIndexOf(e);return a.substring(0,i)}}function ty(t){return t&&t.slice().sort((e,n)=>e.keyn.key?1:0)}const dw=/^https?:\/\//;function mw(t){return t.startsWith("/")||dw.test(t)}const i0=(0,lw.default)({circles:!0});function gw(){return Math.random().toString(36).slice(2)}function yg(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function bg(t){return Array.isArray(t)}const vw={trailing:!0};function Pl(t,e=25,n={}){if(n={...vw,...n},!Number.isFinite(e))throw new TypeError("Expected `wait` to be a finite number");let r,a,i=[],s,o;const l=(h,d)=>(s=yw(t,h,d),s.finally(()=>{if(s=null,n.trailing&&o&&!a){const m=l(h,o);return o=null,m}}),s),p=function(...h){return n.trailing&&(o=h),s||new Promise(d=>{const m=!a&&n.leading;clearTimeout(a),a=setTimeout(()=>{a=null;const f=n.leading?r:l(this,h);o=null;for(const v of i)v(f);i=[]},e),m?(r=l(this,h),d(r)):i.push(d)})},u=h=>{h&&(clearTimeout(h),a=null)};return p.isPending=()=>!!a,p.cancel=()=>{u(a),i=[],o=null},p.flush=()=>{if(u(a),!o||s)return;const h=o;return o=null,l(this,h)},p}async function yw(t,e,n){return await t.apply(e,n)}function o0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?o0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}const bw={run:t=>t()},Cw=()=>bw,ry=typeof console.createTask<"u"?console.createTask:Cw;function Sw(t,e){const n=e.shift(),r=ry(n);return t.reduce((a,i)=>a.then(()=>r.run(()=>i(...e))),Promise.resolve())}function Ew(t,e){const n=e.shift(),r=ry(n);return Promise.all(t.map(a=>r.run(()=>a(...e))))}function ld(t,e){for(const n of[...t])n(e)}let xw=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,n,r={}){if(!e||typeof n!="function")return()=>{};const a=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${a} 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(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,a=(...i)=>(typeof r=="function"&&r(),r=void 0,a=void 0,n(...i));return r=this.hook(e,a),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const a of r)this.hook(e,a)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=o0(e),r=Object.keys(n).map(a=>this.hook(a,n[a]));return()=>{for(const a of r.splice(0,r.length))a()}}removeHooks(e){const n=o0(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(Sw,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(Ew,e,...n)}callHookWith(e,n,...r){const a=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ld(this._before,a);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&a&&ld(this._after,a)}):(this._after&&a&&ld(this._after,a),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}};function ny(){return new xw}const Cg="q",Sg="s",ww=6e4;function sy(t){return t}const Tw=sy,{clearTimeout:Aw,setTimeout:_w}=globalThis,Mw=Math.random.bind(Math);function Pw(t,e){const{post:n,on:r,off:a=()=>{},eventNames:i=[],serialize:s=sy,deserialize:o=Tw,resolver:l,bind:p="rpc",timeout:u=ww}=e,h=new Map;let d,m=!1;const f=new Proxy({},{get(x,g){if(g==="$functions")return t;if(g==="$close")return v;if(g==="$rejectPendingCalls")return C;if(g==="$closed")return m;if(g==="then"&&!i.includes("then")&&!("then"in t))return;const w=(..._)=>{n(s({m:g,a:_,t:Cg}))};if(i.includes(g))return w.asEvent=w,w;const y=async(..._)=>{if(m)throw new Error(`[birpc] rpc is closed, cannot call "${g}"`);if(d)try{await d}finally{d=void 0}return new Promise((T,O)=>{const I=Ow();let z;u>=0&&(z=_w(()=>{try{if(e.onTimeoutError?.(g,_)!==!0)throw new Error(`[birpc] timeout on calling "${g}"`)}catch(G){O(G)}h.delete(I)},u),typeof z=="object"&&(z=z.unref?.())),h.set(I,{resolve:T,reject:O,timeoutId:z,method:g}),n(s({m:g,a:_,i:I,t:"q"}))})};return y.asEvent=w,y}});function v(x){m=!0,h.forEach(({reject:g,method:w})=>{const y=new Error(`[birpc] rpc is closed, cannot call "${w}"`);if(x)return x.cause??=y,g(x);g(y)}),h.clear(),a(S)}function C(x){const w=Array.from(h.values()).map(({method:y,reject:_})=>x?x({method:y,reject:_}):_(new Error(`[birpc]: rejected pending call "${y}".`)));return h.clear(),w}async function S(x,...g){let w;try{w=o(x)}catch(y){if(e.onGeneralError?.(y)!==!0)throw y;return}if(w.t===Cg){const{m:y,a:_}=w;let T,O;const I=await(l?l(y,t[y]):t[y]);if(!I)O=new Error(`[birpc] function "${y}" not found`);else try{T=await I.apply(p==="rpc"?f:t,_)}catch(z){O=z}if(w.i){if(O&&e.onError&&e.onError(O,y,_),O&&e.onFunctionError&&e.onFunctionError(O,y,_)===!0)return;if(!O)try{n(s({t:Sg,i:w.i,r:T}),...g);return}catch(z){if(O=z,e.onGeneralError?.(z,y,_)!==!0)throw z}try{n(s({t:Sg,i:w.i,e:O}),...g)}catch(z){if(e.onGeneralError?.(z,y,_)!==!0)throw z}}}else{const{i:y,r:_,e:T}=w,O=h.get(y);O&&(Aw(O.timeoutId),T?O.reject(T):O.resolve(_)),h.delete(y)}}return d=r(S),f}const Lw="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function Ow(t=21){let e="",n=t;for(;n--;)e+=Lw[Mw()*64|0];return e}/** * @vue/shared v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function gh(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const yn={},Mc=[],Zi=()=>{},iy=()=>!1,Ru=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),L5=t=>t.startsWith("onUpdate:"),jn=Object.assign,O5=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Iw=Object.prototype.hasOwnProperty,Pn=(t,e)=>Iw.call(t,e),yr=Array.isArray,Pc=t=>Jc(t)==="[object Map]",Vl=t=>Jc(t)==="[object Set]",Eg=t=>Jc(t)==="[object Date]",kw=t=>Jc(t)==="[object RegExp]",Dr=t=>typeof t=="function",ss=t=>typeof t=="string",uo=t=>typeof t=="symbol",Hn=t=>t!==null&&typeof t=="object",I5=t=>(Hn(t)||Dr(t))&&Dr(t.then)&&Dr(t.catch),oy=Object.prototype.toString,Jc=t=>oy.call(t),zw=t=>Jc(t).slice(8,-1),vh=t=>Jc(t)==="[object Object]",k5=t=>ss(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Lc=gh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yh=t=>{const e=Object.create(null);return(n=>e[n]||(e[n]=t(n)))},Nw=/-\w/g,ni=yh(t=>t.replace(Nw,e=>e.slice(1).toUpperCase())),Vw=/\B([A-Z])/g,Mi=yh(t=>t.replace(Vw,"-$1").toLowerCase()),ju=yh(t=>t.charAt(0).toUpperCase()+t.slice(1)),G1=yh(t=>t?`on${ju(t)}`:""),Ci=(t,e)=>!Object.is(t,e),Oc=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Ep=t=>{const e=parseFloat(t);return isNaN(e)?t:e},xp=t=>{const e=ss(t)?Number(t):NaN;return isNaN(e)?t:e};let xg;const bh=()=>xg||(xg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Hw="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",Dw=gh(Hw);function Rs(t){if(yr(t)){const e={};for(let n=0;n{if(n){const r=n.split(jw);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function $r(t){let e="";if(ss(t))e=t;else if(yr(t))for(let n=0;nUa(n,e))}const cy=t=>!!(t&&t.__v_isRef===!0),cn=t=>ss(t)?t:t==null?"":yr(t)||Hn(t)&&(t.toString===oy||!Dr(t.toString))?cy(t)?cn(t.value):JSON.stringify(t,uy,2):String(t),uy=(t,e)=>cy(e)?uy(t,e.value):Pc(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,a],i)=>(n[cd(r,i)+" =>"]=a,n),{})}:Vl(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>cd(n))}:uo(e)?cd(e):Hn(e)&&!yr(e)&&!vh(e)?String(e):e,cd=(t,e="")=>{var n;return uo(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};function Ww(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}/** * @vue/reactivity v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let ai;class z5{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ai,!e&&ai&&(this.index=(ai.scopes||(ai.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0&&--this._on===0&&(ai=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(q1){let e=q1;for(q1=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;W1;){let e=W1;for(W1=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function fy(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function dy(t){let e,n=t.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),D5(r),Kw(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}t.deps=e,t.depsTail=n}function a0(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(my(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function my(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===cu)||(t.globalVersion=cu,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!a0(t))))return;t.flags|=2;const e=t.dep,n=rs,r=lo;rs=t,lo=!0;try{fy(t);const a=t.fn(t._value);(e.version===0||Ci(a,t._value))&&(t.flags|=128,t._value=a,e.version++)}catch(a){throw e.version++,a}finally{rs=n,lo=r,dy(t),t.flags&=-3}}function D5(t,e=!1){const{dep:n,prevSub:r,nextSub:a}=t;if(r&&(r.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)D5(i,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Kw(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function Xw(t,e){t.effect instanceof lu&&(t=t.effect.fn);const n=new lu(t);e&&jn(n,e);try{n.run()}catch(a){throw n.stop(),a}const r=n.run.bind(n);return r.effect=n,r}function Yw(t){t.effect.stop()}let lo=!0;const gy=[];function sa(){gy.push(lo),lo=!1}function ia(){const t=gy.pop();lo=t===void 0?!0:t}function wg(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=rs;rs=void 0;try{e()}finally{rs=n}}}let cu=0;class Jw{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xh{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!rs||!lo||rs===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==rs)n=this.activeLink=new Jw(rs,this),rs.deps?(n.prevDep=rs.depsTail,rs.depsTail.nextDep=n,rs.depsTail=n):rs.deps=rs.depsTail=n,vy(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=rs.depsTail,n.nextDep=void 0,rs.depsTail.nextDep=n,rs.depsTail=n,rs.deps===n&&(rs.deps=r)}return n}trigger(e){this.version++,cu++,this.notify(e)}notify(e){V5();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{H5()}}}function vy(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)vy(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const wp=new WeakMap,Tl=Symbol(""),l0=Symbol(""),uu=Symbol("");function ci(t,e,n){if(lo&&rs){let r=wp.get(t);r||wp.set(t,r=new Map);let a=r.get(n);a||(r.set(n,a=new xh),a.map=r,a.key=n),a.track()}}function Xo(t,e,n,r,a,i){const s=wp.get(t);if(!s){cu++;return}const o=l=>{l&&l.trigger()};if(V5(),e==="clear")s.forEach(o);else{const l=yr(t),p=l&&k5(n);if(l&&n==="length"){const u=Number(r);s.forEach((h,d)=>{(d==="length"||d===uu||!uo(d)&&d>=u)&&o(h)})}else switch((n!==void 0||s.has(void 0))&&o(s.get(n)),p&&o(s.get(uu)),e){case"add":l?p&&o(s.get("length")):(o(s.get(Tl)),Pc(t)&&o(s.get(l0)));break;case"delete":l||(o(s.get(Tl)),Pc(t)&&o(s.get(l0)));break;case"set":Pc(t)&&o(s.get(Tl));break}}H5()}function Qw(t,e){const n=wp.get(t);return n&&n.get(e)}function mc(t){const e=gn(t);return e===t?e:(ci(e,"iterate",uu),Di(t)?e:e.map(Qs))}function wh(t){return ci(t=gn(t),"iterate",uu),t}const Zw={__proto__:null,[Symbol.iterator](){return pd(this,Symbol.iterator,Qs)},concat(...t){return mc(this).concat(...t.map(e=>yr(e)?mc(e):e))},entries(){return pd(this,"entries",t=>(t[1]=Qs(t[1]),t))},every(t,e){return $o(this,"every",t,e,void 0,arguments)},filter(t,e){return $o(this,"filter",t,e,n=>n.map(Qs),arguments)},find(t,e){return $o(this,"find",t,e,Qs,arguments)},findIndex(t,e){return $o(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return $o(this,"findLast",t,e,Qs,arguments)},findLastIndex(t,e){return $o(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return $o(this,"forEach",t,e,void 0,arguments)},includes(...t){return hd(this,"includes",t)},indexOf(...t){return hd(this,"indexOf",t)},join(t){return mc(this).join(t)},lastIndexOf(...t){return hd(this,"lastIndexOf",t)},map(t,e){return $o(this,"map",t,e,void 0,arguments)},pop(){return O1(this,"pop")},push(...t){return O1(this,"push",t)},reduce(t,...e){return Tg(this,"reduce",t,e)},reduceRight(t,...e){return Tg(this,"reduceRight",t,e)},shift(){return O1(this,"shift")},some(t,e){return $o(this,"some",t,e,void 0,arguments)},splice(...t){return O1(this,"splice",t)},toReversed(){return mc(this).toReversed()},toSorted(t){return mc(this).toSorted(t)},toSpliced(...t){return mc(this).toSpliced(...t)},unshift(...t){return O1(this,"unshift",t)},values(){return pd(this,"values",Qs)}};function pd(t,e,n){const r=wh(t),a=r[e]();return r!==t&&!Di(t)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.done||(i.value=n(i.value)),i}),a}const eT=Array.prototype;function $o(t,e,n,r,a,i){const s=wh(t),o=s!==t&&!Di(t),l=s[e];if(l!==eT[e]){const h=l.apply(t,i);return o?Qs(h):h}let p=n;s!==t&&(o?p=function(h,d){return n.call(this,Qs(h),d,t)}:n.length>2&&(p=function(h,d){return n.call(this,h,d,t)}));const u=l.call(s,p,r);return o&&a?a(u):u}function Tg(t,e,n,r){const a=wh(t);let i=n;return a!==t&&(Di(t)?n.length>3&&(i=function(s,o,l){return n.call(this,s,o,l,t)}):i=function(s,o,l){return n.call(this,s,Qs(o),l,t)}),a[e](i,...r)}function hd(t,e,n){const r=gn(t);ci(r,"iterate",uu);const a=r[e](...n);return(a===-1||a===!1)&&Mh(n[0])?(n[0]=gn(n[0]),r[e](...n)):a}function O1(t,e,n=[]){sa(),V5();const r=gn(t)[e].apply(t,n);return H5(),ia(),r}const tT=gh("__proto__,__v_isRef,__isVue"),yy=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(uo));function rT(t){uo(t)||(t=String(t));const e=gn(this);return ci(e,"has",t),e.hasOwnProperty(t)}class by{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const a=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(a?i?Ty:wy:i?xy:Ey).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const s=yr(e);if(!a){let l;if(s&&(l=Zw[n]))return l;if(n==="hasOwnProperty")return rT}const o=Reflect.get(e,n,xn(e)?e:r);if((uo(n)?yy.has(n):tT(n))||(a||ci(e,"get",n),i))return o;if(xn(o)){const l=s&&k5(n)?o:o.value;return a&&Hn(l)?Ga(l):l}return Hn(o)?a?Ga(o):po(o):o}}class Cy extends by{constructor(e=!1){super(!1,e)}set(e,n,r,a){let i=e[n];if(!this._isShallow){const l=oa(i);if(!Di(r)&&!oa(r)&&(i=gn(i),r=gn(r)),!yr(e)&&xn(i)&&!xn(r))return l||(i.value=r),!0}const s=yr(e)&&k5(n)?Number(n)t,V2=t=>Reflect.getPrototypeOf(t);function aT(t,e,n){return function(...r){const a=this.__v_raw,i=gn(a),s=Pc(i),o=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,p=a[t](...r),u=n?c0:e?Tp:Qs;return!e&&ci(i,"iterate",l?l0:Tl),{next(){const{value:h,done:d}=p.next();return d?{value:h,done:d}:{value:o?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function H2(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function lT(t,e){const n={get(a){const i=this.__v_raw,s=gn(i),o=gn(a);t||(Ci(a,o)&&ci(s,"get",a),ci(s,"get",o));const{has:l}=V2(s),p=e?c0:t?Tp:Qs;if(l.call(s,a))return p(i.get(a));if(l.call(s,o))return p(i.get(o));i!==s&&i.get(a)},get size(){const a=this.__v_raw;return!t&&ci(gn(a),"iterate",Tl),a.size},has(a){const i=this.__v_raw,s=gn(i),o=gn(a);return t||(Ci(a,o)&&ci(s,"has",a),ci(s,"has",o)),a===o?i.has(a):i.has(a)||i.has(o)},forEach(a,i){const s=this,o=s.__v_raw,l=gn(o),p=e?c0:t?Tp:Qs;return!t&&ci(l,"iterate",Tl),o.forEach((u,h)=>a.call(i,p(u),p(h),s))}};return jn(n,t?{add:H2("add"),set:H2("set"),delete:H2("delete"),clear:H2("clear")}:{add(a){!e&&!Di(a)&&!oa(a)&&(a=gn(a));const i=gn(this);return V2(i).has.call(i,a)||(i.add(a),Xo(i,"add",a,a)),this},set(a,i){!e&&!Di(i)&&!oa(i)&&(i=gn(i));const s=gn(this),{has:o,get:l}=V2(s);let p=o.call(s,a);p||(a=gn(a),p=o.call(s,a));const u=l.call(s,a);return s.set(a,i),p?Ci(i,u)&&Xo(s,"set",a,i):Xo(s,"add",a,i),this},delete(a){const i=gn(this),{has:s,get:o}=V2(i);let l=s.call(i,a);l||(a=gn(a),l=s.call(i,a)),o&&o.call(i,a);const p=i.delete(a);return l&&Xo(i,"delete",a,void 0),p},clear(){const a=gn(this),i=a.size!==0,s=a.clear();return i&&Xo(a,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=aT(a,t,e)}),n}function Th(t,e){const n=lT(t,e);return(r,a,i)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?r:Reflect.get(Pn(n,a)&&a in r?n:r,a,i)}const cT={get:Th(!1,!1)},uT={get:Th(!1,!0)},pT={get:Th(!0,!1)},hT={get:Th(!0,!0)},Ey=new WeakMap,xy=new WeakMap,wy=new WeakMap,Ty=new WeakMap;function fT(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dT(t){return t.__v_skip||!Object.isExtensible(t)?0:fT(zw(t))}function po(t){return oa(t)?t:_h(t,!1,nT,cT,Ey)}function Ah(t){return _h(t,!1,iT,uT,xy)}function Ga(t){return _h(t,!0,sT,pT,wy)}function Bu(t){return _h(t,!0,oT,hT,Ty)}function _h(t,e,n,r,a){if(!Hn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=dT(t);if(i===0)return t;const s=a.get(t);if(s)return s;const o=new Proxy(t,i===2?r:n);return a.set(t,o),o}function Va(t){return oa(t)?Va(t.__v_raw):!!(t&&t.__v_isReactive)}function oa(t){return!!(t&&t.__v_isReadonly)}function Di(t){return!!(t&&t.__v_isShallow)}function Mh(t){return t?!!t.__v_raw:!1}function gn(t){const e=t&&t.__v_raw;return e?gn(e):t}function R5(t){return!Pn(t,"__v_skip")&&Object.isExtensible(t)&&ay(t,"__v_skip",!0),t}const Qs=t=>Hn(t)?po(t):t,Tp=t=>Hn(t)?Ga(t):t;function xn(t){return t?t.__v_isRef===!0:!1}function xt(t){return Ay(t,!1)}function Gr(t){return Ay(t,!0)}function Ay(t,e){return xn(t)?t:new mT(t,e)}class mT{constructor(e,n){this.dep=new xh,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:gn(e),this._value=n?e:Qs(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Di(e)||oa(e);e=r?e:gn(e),Ci(e,n)&&(this._rawValue=e,this._value=r?e:Qs(e),this.dep.trigger())}}function gT(t){t.dep&&t.dep.trigger()}function $e(t){return xn(t)?t.value:t}function Pr(t){return Dr(t)?t():$e(t)}const vT={get:(t,e,n)=>e==="__v_raw"?t:$e(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const a=t[e];return xn(a)&&!xn(n)?(a.value=n,!0):Reflect.set(t,e,n,r)}};function j5(t){return Va(t)?t:new Proxy(t,vT)}class yT{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new xh,{get:r,set:a}=e(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=a}get value(){return this._value=this._get()}set value(e){this._set(e)}}function Ph(t){return new yT(t)}function _y(t){const e=yr(t)?new Array(t.length):{};for(const n in t)e[n]=Py(t,n);return e}class bT{constructor(e,n,r){this._object=e,this._key=n,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 Qw(gn(this._object),this._key)}}class CT{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 My(t,e,n){return xn(t)?t:Dr(t)?new CT(t):Hn(t)&&arguments.length>1?Py(t,e,n):xt(t)}function Py(t,e,n){const r=t[e];return xn(r)?r:new bT(t,e,n)}class ST{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new xh(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=cu-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&rs!==this)return hy(this,!0),!0}get value(){const e=this.dep.track();return my(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function ET(t,e,n=!1){let r,a;return Dr(t)?r=t:(r=t.get,a=t.set),new ST(r,a,n)}const xT={GET:"get",HAS:"has",ITERATE:"iterate"},wT={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},D2={},Ap=new WeakMap;let La;function TT(){return La}function Ly(t,e=!1,n=La){if(n){let r=Ap.get(n);r||Ap.set(n,r=[]),r.push(t)}}function AT(t,e,n=yn){const{immediate:r,deep:a,once:i,scheduler:s,augmentJob:o,call:l}=n,p=w=>a?w:Di(w)||a===!1||a===0?Yo(w,1):Yo(w);let u,h,d,m,f=!1,v=!1;if(xn(t)?(h=()=>t.value,f=Di(t)):Va(t)?(h=()=>p(t),f=!0):yr(t)?(v=!0,f=t.some(w=>Va(w)||Di(w)),h=()=>t.map(w=>{if(xn(w))return w.value;if(Va(w))return p(w);if(Dr(w))return l?l(w,2):w()})):Dr(t)?e?h=l?()=>l(t,2):t:h=()=>{if(d){sa();try{d()}finally{ia()}}const w=La;La=u;try{return l?l(t,3,[m]):t(m)}finally{La=w}}:h=Zi,e&&a){const w=h,y=a===!0?1/0:a;h=()=>Yo(w(),y)}const C=Eh(),S=()=>{u.stop(),C&&C.active&&O5(C.effects,u)};if(i&&e){const w=e;e=(...y)=>{w(...y),S()}}let x=v?new Array(t.length).fill(D2):D2;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(e){const y=u.run();if(a||f||(v?y.some((_,T)=>Ci(_,x[T])):Ci(y,x))){d&&d();const _=La;La=u;try{const T=[y,x===D2?void 0:v&&x[0]===D2?[]:x,m];x=y,l?l(e,3,T):e(...T)}finally{La=_}}}else u.run()};return o&&o(g),u=new lu(h),u.scheduler=s?()=>s(g,!1):g,m=w=>Ly(w,!1,u),d=u.onStop=()=>{const w=Ap.get(u);if(w){if(l)l(w,4);else for(const y of w)y();Ap.delete(u)}},e?r?g(!0):x=u.run():s?s(g.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Yo(t,e=1/0,n){if(e<=0||!Hn(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,xn(t))Yo(t.value,e,n);else if(yr(t))for(let r=0;r{Yo(r,e,n)});else if(vh(t)){for(const r in t)Yo(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&Yo(t[r],e,n)}return t}/** * @vue/runtime-core v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const Oy=[];function _T(t){Oy.push(t)}function MT(){Oy.pop()}function PT(t,e){}const LT={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"},OT={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 Qc(t,e,n,r){try{return r?t(...r):t()}catch(a){Hl(a,e,n)}}function to(t,e,n,r){if(Dr(t)){const a=Qc(t,e,n,r);return a&&I5(a)&&a.catch(i=>{Hl(i,e,n)}),a}if(yr(t)){const a=[];for(let i=0;i>>1,a=Si[r],i=hu(a);i=hu(n)?Si.push(t):Si.splice(kT(e),0,t),t.flags|=1,ky()}}function ky(){_p||(_p=Iy.then(zy))}function pu(t){yr(t)?Ic.push(...t):Oa&&t.id===-1?Oa.splice(bc+1,0,t):t.flags&1||(Ic.push(t),t.flags|=1),ky()}function Ag(t,e,n=xo+1){for(;nhu(n)-hu(r));if(Ic.length=0,Oa){Oa.push(...e);return}for(Oa=e,bc=0;bct.id==null?t.flags&2?-1:1/0:t.id;function zy(t){try{for(xo=0;xoCc.emit(a,...i)),R2=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Ny(i,e)}),setTimeout(()=>{Cc||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,R2=[])},3e3)):R2=[]}let ei=null,Lh=null;function fu(t){const e=ei;return ei=t,Lh=t&&t.type.__scopeId||null,e}function F5(t){Lh=t}function $5(){Lh=null}const U5=t=>zt;function zt(t,e=ei,n){if(!e||t._n)return t;const r=(...a)=>{r._d&&gu(-1);const i=fu(e);let s;try{s=t(...a)}finally{fu(i),r._d&&gu(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(t,e){if(ei===null)return t;const n=Gu(ei),r=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport,K1=t=>t&&(t.disabled||t.disabled===""),_g=t=>t&&(t.defer||t.defer===""),Mg=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Pg=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,u0=(t,e)=>{const n=t&&t.to;return ss(n)?e?e(n):null:n},Dy={name:"Teleport",__isTeleport:!0,process(t,e,n,r,a,i,s,o,l,p){const{mc:u,pc:h,pbc:d,o:{insert:m,querySelector:f,createText:v,createComment:C}}=p,S=K1(e.props);let{shapeFlag:x,children:g,dynamicChildren:w}=e;if(t==null){const y=e.el=v(""),_=e.anchor=v("");m(y,n,r),m(_,n,r);const T=(I,z)=>{x&16&&u(g,I,z,a,i,s,o,l)},O=()=>{const I=e.target=u0(e.props,f),z=Ry(I,e,v,m);I&&(s!=="svg"&&Mg(I)?s="svg":s!=="mathml"&&Pg(I)&&(s="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(I),S||(T(I,z),cp(e,!1)))};S&&(T(n,_),cp(e,!0)),_g(e.props)?(e.el.__isMounted=!1,Hs(()=>{O(),delete e.el.__isMounted},i)):O()}else{if(_g(e.props)&&t.el.__isMounted===!1){Hs(()=>{Dy.process(t,e,n,r,a,i,s,o,l,p)},i);return}e.el=t.el,e.targetStart=t.targetStart;const y=e.anchor=t.anchor,_=e.target=t.target,T=e.targetAnchor=t.targetAnchor,O=K1(t.props),I=O?n:_,z=O?y:T;if(s==="svg"||Mg(_)?s="svg":(s==="mathml"||Pg(_))&&(s="mathml"),w?(d(t.dynamicChildren,w,I,a,i,s,o),im(t,e,!0)):l||h(t,e,I,z,a,i,s,o,!1),S)O?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):j2(e,n,y,p,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const G=e.target=u0(e.props,f);G&&j2(e,G,null,p,0)}else O&&j2(e,_,T,p,1);cp(e,S)}},remove(t,e,n,{um:r,o:{remove:a}},i){const{shapeFlag:s,children:o,anchor:l,targetStart:p,targetAnchor:u,target:h,props:d}=t;if(h&&(a(p),a(u)),i&&a(l),s&16){const m=i||!K1(d);for(let f=0;f{t.isMounted=!0}),Zc(()=>{t.isUnmounting=!0}),t}const Ui=[Function,Array],q5={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ui,onEnter:Ui,onAfterEnter:Ui,onEnterCancelled:Ui,onBeforeLeave:Ui,onLeave:Ui,onAfterLeave:Ui,onLeaveCancelled:Ui,onBeforeAppear:Ui,onAppear:Ui,onAfterAppear:Ui,onAppearCancelled:Ui},jy=t=>{const e=t.subTree;return e.component?jy(e.component):e},NT={name:"BaseTransition",props:q5,setup(t,{slots:e}){const n=Ts(),r=W5();return()=>{const a=e.default&&Oh(e.default(),!0);if(!a||!a.length)return;const i=By(a),s=gn(t),{mode:o}=s;if(r.isLeaving)return fd(i);const l=Lg(i);if(!l)return fd(i);let p=jc(l,s,r,n,h=>p=h);l.type!==Ps&&aa(l,p);let u=n.subTree&&Lg(n.subTree);if(u&&u.type!==Ps&&!so(u,l)&&jy(n).type!==Ps){let h=jc(u,s,r,n);if(aa(u,h),o==="out-in"&&l.type!==Ps)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},fd(i);o==="in-out"&&l.type!==Ps?h.delayLeave=(d,m,f)=>{const v=$y(r,u);v[String(u.key)]=u,d[Ko]=()=>{m(),d[Ko]=void 0,delete p.delayedLeave,u=void 0},p.delayedLeave=()=>{f(),delete p.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function By(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Ps){e=n;break}}return e}const Fy=NT;function $y(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function jc(t,e,n,r,a){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:l,onEnter:p,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:m,onAfterLeave:f,onLeaveCancelled:v,onBeforeAppear:C,onAppear:S,onAfterAppear:x,onAppearCancelled:g}=e,w=String(t.key),y=$y(n,t),_=(I,z)=>{I&&to(I,r,9,z)},T=(I,z)=>{const G=z[1];_(I,z),yr(I)?I.every(W=>W.length<=1)&&G():I.length<=1&&G()},O={mode:s,persisted:o,beforeEnter(I){let z=l;if(!n.isMounted)if(i)z=C||l;else return;I[Ko]&&I[Ko](!0);const G=y[w];G&&so(t,G)&&G.el[Ko]&&G.el[Ko](),_(z,[I])},enter(I){let z=p,G=u,W=h;if(!n.isMounted)if(i)z=S||p,G=x||u,W=g||h;else return;let F=!1;const N=I[B2]=$=>{F||(F=!0,$?_(W,[I]):_(G,[I]),O.delayedLeave&&O.delayedLeave(),I[B2]=void 0)};z?T(z,[I,N]):N()},leave(I,z){const G=String(t.key);if(I[B2]&&I[B2](!0),n.isUnmounting)return z();_(d,[I]);let W=!1;const F=I[Ko]=N=>{W||(W=!0,z(),N?_(v,[I]):_(f,[I]),I[Ko]=void 0,y[G]===t&&delete y[G])};y[G]=t,m?T(m,[I,F]):F()},clone(I){const z=jc(I,e,n,r,a);return a&&a(z),z}};return O}function fd(t){if(Fu(t))return t=Lo(t),t.children=null,t}function Lg(t){if(!Fu(t))return Hy(t.type)&&t.children?By(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Dr(n.default))return n.default()}}function aa(t,e){t.shapeFlag&6&&t.component?(t.transition=e,aa(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Oh(t,e=!1,n){let r=[],a=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}const Pp=new WeakMap;function kc(t,e,n,r,a=!1){if(yr(t)){t.forEach((f,v)=>kc(f,e&&(yr(e)?e[v]:e),n,r,a));return}if(Ha(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&kc(t,e,n,r.component.subTree);return}const i=r.shapeFlag&4?Gu(r.component):r.el,s=a?null:i,{i:o,r:l}=t,p=e&&e.r,u=o.refs===yn?o.refs={}:o.refs,h=o.setupState,d=gn(h),m=h===yn?iy:f=>Pn(d,f);if(p!=null&&p!==l){if(Og(e),ss(p))u[p]=null,m(p)&&(h[p]=null);else if(xn(p)){p.value=null;const f=e;f.k&&(u[f.k]=null)}}if(Dr(l))Qc(l,o,12,[s,u]);else{const f=ss(l),v=xn(l);if(f||v){const C=()=>{if(t.f){const S=f?m(l)?h[l]:u[l]:l.value;if(a)yr(S)&&O5(S,i);else if(yr(S))S.includes(i)||S.push(i);else if(f)u[l]=[i],m(l)&&(h[l]=u[l]);else{const x=[i];l.value=x,t.k&&(u[t.k]=x)}}else f?(u[l]=s,m(l)&&(h[l]=s)):v&&(l.value=s,t.k&&(u[t.k]=s))};if(s){const S=()=>{C(),Pp.delete(t)};S.id=-1,Pp.set(t,S),Hs(S,n)}else Og(t),C()}}}function Og(t){const e=Pp.get(t);e&&(e.flags|=8,Pp.delete(t))}let Ig=!1;const gc=()=>{Ig||(console.error("Hydration completed but contains mismatches."),Ig=!0)},DT=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",RT=t=>t.namespaceURI.includes("MathML"),F2=t=>{if(t.nodeType===1){if(DT(t))return"svg";if(RT(t))return"mathml"}},Tc=t=>t.nodeType===8;function jT(t){const{mt:e,p:n,o:{patchProp:r,createText:a,nextSibling:i,parentNode:s,remove:o,insert:l,createComment:p}}=t,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),Mp(),w._vnode=g;return}h(w.firstChild,g,null,null,null),Mp(),w._vnode=g},h=(g,w,y,_,T,O=!1)=>{O=O||!!w.dynamicChildren;const I=Tc(g)&&g.data==="[",z=()=>v(g,w,y,_,T,I),{type:G,ref:W,shapeFlag:F,patchFlag:N}=w;let $=g.nodeType;w.el=g,N===-2&&(O=!1,w.dynamicChildren=null);let H=null;switch(G){case Da:$!==3?w.children===""?(l(w.el=a(""),s(g),g),H=g):H=z():(g.data!==w.children&&(gc(),g.data=w.children),H=i(g));break;case Ps:x(g)?(H=i(g),S(w.el=g.content.firstChild,g,y)):$!==8||I?H=z():H=i(g);break;case _l:if(I&&(g=i(g),$=g.nodeType),$===1||$===3){H=g;const R=!w.children.length;for(let K=0;K{O=O||!!w.dynamicChildren;const{type:I,props:z,patchFlag:G,shapeFlag:W,dirs:F,transition:N}=w,$=I==="input"||I==="option";if($||G!==-1){F&&wo(w,null,y,"created");let H=!1;if(x(g)){H=g8(null,N)&&y&&y.vnode.props&&y.vnode.props.appear;const K=g.content.firstChild;if(H){const ie=K.getAttribute("class");ie&&(K.$cls=ie),N.beforeEnter(K)}S(K,g,y),w.el=g=K}if(W&16&&!(z&&(z.innerHTML||z.textContent))){let K=m(g.firstChild,w,g,y,_,T,O);for(;K;){$2(g,1)||gc();const ie=K;K=K.nextSibling,o(ie)}}else if(W&8){let K=w.children;K[0]===` `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(K=K.slice(1)),g.textContent!==K&&($2(g,0)||gc(),g.textContent=w.children)}if(z){if($||!O||G&48){const K=g.tagName.includes("-");for(const ie in z)($&&(ie.endsWith("value")||ie==="indeterminate")||Ru(ie)&&!Lc(ie)||ie[0]==="."||K)&&r(g,ie,null,z[ie],void 0,y)}else if(z.onClick)r(g,"onClick",null,z.onClick,void 0,y);else if(G&4&&Va(z.style))for(const K in z.style)z.style[K]}let R;(R=z&&z.onVnodeBeforeMount)&&Ti(R,y,w),F&&wo(w,null,y,"beforeMount"),((R=z&&z.onVnodeMounted)||F||H)&&T8(()=>{R&&Ti(R,y,w),H&&N.enter(g),F&&wo(w,null,y,"mounted")},_)}return g.nextSibling},m=(g,w,y,_,T,O,I)=>{I=I||!!w.dynamicChildren;const z=w.children,G=z.length;for(let W=0;W{const{slotScopeIds:I}=w;I&&(T=T?T.concat(I):I);const z=s(g),G=m(i(g),w,z,y,_,T,O);return G&&Tc(G)&&G.data==="]"?i(w.anchor=G):(gc(),l(w.anchor=p("]"),z,G),G)},v=(g,w,y,_,T,O)=>{if($2(g.parentElement,1)||gc(),w.el=null,O){const G=C(g);for(;;){const W=i(g);if(W&&W!==G)o(W);else break}}const I=i(g),z=s(g);return o(g),n(null,w,z,I,y,_,F2(z),T),y&&(y.vnode.el=w.el,Hh(y,w.el)),I},C=(g,w="[",y="]")=>{let _=0;for(;g;)if(g=i(g),g&&Tc(g)&&(g.data===w&&_++,g.data===y)){if(_===0)return i(g);_--}return g},S=(g,w,y)=>{const _=w.parentNode;_&&_.replaceChild(g,w);let T=y;for(;T;)T.vnode.el===w&&(T.vnode.el=T.subTree.el=g),T=T.parent},x=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,h]}const kg="data-allow-mismatch",BT={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function $2(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(kg);)t=t.parentElement;const n=t&&t.getAttribute(kg);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return e===0&&r.includes("children")?!0:r.includes(BT[e])}}const FT=bh().requestIdleCallback||(t=>setTimeout(t,1)),$T=bh().cancelIdleCallback||(t=>clearTimeout(t)),UT=(t=1e4)=>e=>{const n=FT(e,{timeout:t});return()=>$T(n)};function GT(t){const{top:e,left:n,bottom:r,right:a}=t.getBoundingClientRect(),{innerHeight:i,innerWidth:s}=window;return(e>0&&e0&&r0&&n0&&a(e,n)=>{const r=new IntersectionObserver(a=>{for(const i of a)if(i.isIntersecting){r.disconnect(),e();break}},t);return n(a=>{if(a instanceof Element){if(GT(a))return e(),r.disconnect(),!1;r.observe(a)}}),()=>r.disconnect()},qT=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},KT=(t=[])=>(e,n)=>{ss(t)&&(t=[t]);let r=!1;const a=s=>{r||(r=!0,i(),e(),s.target.dispatchEvent(new s.constructor(s.type,s)))},i=()=>{n(s=>{for(const o of t)s.removeEventListener(o,a)})};return n(s=>{for(const o of t)s.addEventListener(o,a,{once:!0})}),i};function XT(t,e){if(Tc(t)&&t.data==="["){let n=1,r=t.nextSibling;for(;r;){if(r.nodeType===1){if(e(r)===!1)break}else if(Tc(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else e(t)}const Ha=t=>!!t.type.__asyncLoader;function X5(t){Dr(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:i,timeout:s,suspensible:o=!0,onError:l}=t;let p=null,u,h=0;const d=()=>(h++,p=null,m()),m=()=>{let f;return p||(f=p=e().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((C,S)=>{l(v,()=>C(d()),()=>S(v),h+1)});throw v}).then(v=>f!==p&&p?p:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return lr({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(f,v,C){let S=!1;(v.bu||(v.bu=[])).push(()=>S=!0);const x=()=>{S||C()},g=i?()=>{const w=i(x,y=>XT(f,y));w&&(v.bum||(v.bum=[])).push(w)}:x;u?g():m().then(()=>!v.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const f=Zs;if(K5(f),u)return()=>dd(u,f);const v=g=>{p=null,Hl(g,f,13,!r)};if(o&&f.suspense||Fc)return m().then(g=>()=>dd(g,f)).catch(g=>(v(g),()=>r?gt(r,{error:g}):null));const C=xt(!1),S=xt(),x=xt(!!a);return a&&setTimeout(()=>{x.value=!1},a),s!=null&&setTimeout(()=>{if(!C.value&&!S.value){const g=new Error(`Async component timed out after ${s}ms.`);v(g),S.value=g}},s),m().then(()=>{C.value=!0,f.parent&&Fu(f.parent.vnode)&&f.parent.update()}).catch(g=>{v(g),S.value=g}),()=>{if(C.value&&u)return dd(u,f);if(S.value&&r)return gt(r,{error:S.value});if(n&&!x.value)return gt(n)}}})}function dd(t,e){const{ref:n,props:r,children:a,ce:i}=e.vnode,s=gt(t,r,a);return s.ref=n,s.ce=i,delete e.vnode.ce,s}const Fu=t=>t.type.__isKeepAlive,YT={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ts(),r=n.ctx;if(!r.renderer)return()=>{const x=e.default&&e.default();return x&&x.length===1?x[0]:x};const a=new Map,i=new Set;let s=null;const o=n.suspense,{renderer:{p:l,m:p,um:u,o:{createElement:h}}}=r,d=h("div");r.activate=(x,g,w,y,_)=>{const T=x.component;p(x,g,w,0,o),l(T.vnode,x,g,w,T,o,y,x.slotScopeIds,_),Hs(()=>{T.isDeactivated=!1,T.a&&Oc(T.a);const O=x.props&&x.props.onVnodeMounted;O&&Ti(O,T.parent,x)},o)},r.deactivate=x=>{const g=x.component;Op(g.m),Op(g.a),p(x,d,null,1,o),Hs(()=>{g.da&&Oc(g.da);const w=x.props&&x.props.onVnodeUnmounted;w&&Ti(w,g.parent,x),g.isDeactivated=!0},o)};function m(x){md(x),u(x,n,o,!0)}function f(x){a.forEach((g,w)=>{const y=S0(g.type);y&&!x(y)&&v(w)})}function v(x){const g=a.get(x);g&&(!s||!so(g,s))?m(g):s&&md(s),a.delete(x),i.delete(x)}Lr(()=>[t.include,t.exclude],([x,g])=>{x&&f(w=>B1(x,w)),g&&f(w=>!B1(g,w))},{flush:"post",deep:!0});let C=null;const S=()=>{C!=null&&(Ip(n.subTree.type)?Hs(()=>{a.set(C,U2(n.subTree))},n.subTree.suspense):a.set(C,U2(n.subTree)))};return si(S),kh(S),Zc(()=>{a.forEach(x=>{const{subTree:g,suspense:w}=n,y=U2(g);if(x.type===y.type&&x.key===y.key){md(y);const _=y.component.da;_&&Hs(_,w);return}m(x)})}),()=>{if(C=null,!e.default)return s=null;const x=e.default(),g=x[0];if(x.length>1)return s=null,x;if(!ca(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return s=null,g;let w=U2(g);if(w.type===Ps)return s=null,w;const y=w.type,_=S0(Ha(w)?w.type.__asyncResolved||{}:y),{include:T,exclude:O,max:I}=t;if(T&&(!_||!B1(T,_))||O&&_&&B1(O,_))return w.shapeFlag&=-257,s=w,g;const z=w.key==null?y:w.key,G=a.get(z);return w.el&&(w=Lo(w),g.shapeFlag&128&&(g.ssContent=w)),C=z,G?(w.el=G.el,w.component=G.component,w.transition&&aa(w,w.transition),w.shapeFlag|=512,i.delete(z),i.add(z)):(i.add(z),I&&i.size>parseInt(I,10)&&v(i.values().next().value)),w.shapeFlag|=256,s=w,Ip(g.type)?g:w}}},JT=YT;function B1(t,e){return yr(t)?t.some(n=>B1(n,e)):ss(t)?t.split(",").includes(e):kw(t)?(t.lastIndex=0,t.test(e)):!1}function Uy(t,e){Wy(t,"a",e)}function Gy(t,e){Wy(t,"da",e)}function Wy(t,e,n=Zs){const r=t.__wdc||(t.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(Ih(e,r,n),n){let a=n.parent;for(;a&&a.parent;)Fu(a.parent.vnode)&&QT(r,e,n,a),a=a.parent}}function QT(t,e,n,r){const a=Ih(e,t,r,!0);fi(()=>{O5(r[e],a)},n)}function md(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function U2(t){return t.shapeFlag&128?t.ssContent:t}function Ih(t,e,n=Zs,r=!1){if(n){const a=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{sa();const o=Ol(n),l=to(e,n,t,s);return o(),ia(),l});return r?a.unshift(i):a.push(i),i}}const ha=t=>(e,n=Zs)=>{(!Fc||t==="sp")&&Ih(t,(...r)=>e(...r),n)},qy=ha("bm"),si=ha("m"),Y5=ha("bu"),kh=ha("u"),Zc=ha("bum"),fi=ha("um"),Ky=ha("sp"),Xy=ha("rtg"),Yy=ha("rtc");function Jy(t,e=Zs){Ih("ec",t,e)}const J5="components",ZT="directives";function la(t,e){return Q5(J5,t,!0,e)||t}const Qy=Symbol.for("v-ndc");function Po(t){return ss(t)?Q5(J5,t,!1)||t:t||Qy}function Zy(t){return Q5(ZT,t)}function Q5(t,e,n=!0,r=!1){const a=ei||Zs;if(a){const i=a.type;if(t===J5){const o=S0(i,!1);if(o&&(o===e||o===ni(e)||o===ju(ni(e))))return i}const s=zg(a[t]||i[t],e)||zg(a.appContext[t],e);return!s&&r?i:s}}function zg(t,e){return t&&(t[e]||t[ni(e)]||t[ju(ni(e))])}function ws(t,e,n,r){let a;const i=n&&n[r],s=yr(t);if(s||ss(t)){const o=s&&Va(t);let l=!1,p=!1;o&&(l=!Di(t),p=oa(t),t=wh(t)),a=new Array(t.length);for(let u=0,h=t.length;ue(o,l,void 0,i&&i[l]));else{const o=Object.keys(t);a=new Array(o.length);for(let l=0,p=o.length;l{const i=r.fn(...a);return i&&(i.key=r.key),i}:r.fn)}return t}function hn(t,e,n={},r,a){if(ei.ce||ei.parent&&Ha(ei.parent)&&ei.parent.ce){const p=Object.keys(n).length>0;return e!=="default"&&(n.name=e),Je(),Jt(Vr,null,[gt("slot",n,r&&r())],p?-2:64)}let i=t[e];i&&i._c&&(i._d=!1),Je();const s=i&&em(i(n)),o=n.key||s&&s.key,l=Jt(Vr,{key:(o&&!uo(o)?o:`_${e}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&t._===1?64:-2);return!a&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function em(t){return t.some(e=>ca(e)?!(e.type===Ps||e.type===Vr&&!em(e.children)):!0)?t:null}function e8(t,e){const n={};for(const r in t)n[e&&/[A-Z]/.test(r)?`on:${r}`:G1(r)]=t[r];return n}const p0=t=>t?O8(t)?Gu(t):p0(t.parent):null,X1=jn(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>p0(t.parent),$root:t=>p0(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>tm(t),$forceUpdate:t=>t.f||(t.f=()=>{B5(t.update)}),$nextTick:t=>t.n||(t.n=xs.bind(t.proxy)),$watch:t=>AA.bind(t)}),gd=(t,e)=>t!==yn&&!t.__isScriptSetup&&Pn(t,e),h0={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:i,accessCache:s,type:o,appContext:l}=t;let p;if(e[0]!=="$"){const m=s[e];if(m!==void 0)switch(m){case 1:return r[e];case 2:return a[e];case 4:return n[e];case 3:return i[e]}else{if(gd(r,e))return s[e]=1,r[e];if(a!==yn&&Pn(a,e))return s[e]=2,a[e];if((p=t.propsOptions[0])&&Pn(p,e))return s[e]=3,i[e];if(n!==yn&&Pn(n,e))return s[e]=4,n[e];f0&&(s[e]=0)}}const u=X1[e];let h,d;if(u)return e==="$attrs"&&ci(t.attrs,"get",""),u(t);if((h=o.__cssModules)&&(h=h[e]))return h;if(n!==yn&&Pn(n,e))return s[e]=4,n[e];if(d=l.config.globalProperties,Pn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:a,ctx:i}=t;return gd(a,e)?(a[e]=n,!0):r!==yn&&Pn(r,e)?(r[e]=n,!0):Pn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:a,propsOptions:i,type:s}},o){let l,p;return!!(n[o]||t!==yn&&o[0]!=="$"&&Pn(t,o)||gd(e,o)||(l=i[0])&&Pn(l,o)||Pn(r,o)||Pn(X1,o)||Pn(a.config.globalProperties,o)||(p=s.__cssModules)&&p[o])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Pn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},eA=jn({},h0,{get(t,e){if(e!==Symbol.unscopables)return h0.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Dw(e)}});function tA(){return null}function rA(){return null}function nA(t){}function sA(t){}function iA(){return null}function oA(){}function aA(t,e){return null}function zh(){return r8().slots}function t8(){return r8().attrs}function r8(t){const e=Ts();return e.setupContext||(e.setupContext=z8(e))}function du(t){return yr(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function lA(t,e){const n=du(t);for(const r in e){if(r.startsWith("__skip"))continue;let a=n[r];a?yr(a)||Dr(a)?a=n[r]={type:a,default:e[r]}:a.default=e[r]:a===null&&(a=n[r]={default:e[r]}),a&&e[`__skip_${r}`]&&(a.skipFactory=!0)}return n}function Bc(t,e){return!t||!e?t||e:yr(t)&&yr(e)?t.concat(e):jn({},du(t),du(e))}function cA(t,e){const n={};for(const r in t)e.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>t[r]});return n}function uA(t){const e=Ts();let n=t();return y0(),I5(n)&&(n=n.catch(r=>{throw Ol(e),r})),[n,()=>Ol(e)]}let f0=!0;function pA(t){const e=tm(t),n=t.proxy,r=t.ctx;f0=!1,e.beforeCreate&&Ng(e.beforeCreate,t,"bc");const{data:a,computed:i,methods:s,watch:o,provide:l,inject:p,created:u,beforeMount:h,mounted:d,beforeUpdate:m,updated:f,activated:v,deactivated:C,beforeDestroy:S,beforeUnmount:x,destroyed:g,unmounted:w,render:y,renderTracked:_,renderTriggered:T,errorCaptured:O,serverPrefetch:I,expose:z,inheritAttrs:G,components:W,directives:F,filters:N}=e;if(p&&hA(p,r,null),s)for(const R in s){const K=s[R];Dr(K)&&(r[R]=K.bind(n))}if(a){const R=a.call(n,n);Hn(R)&&(t.data=po(R))}if(f0=!0,i)for(const R in i){const K=i[R],ie=Dr(K)?K.bind(n,n):Dr(K.get)?K.get.bind(n,n):Zi,he=!Dr(K)&&Dr(K.set)?K.set.bind(n):Zi,Le=pt({get:ie,set:he});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:()=>Le.value,set:X=>Le.value=X})}if(o)for(const R in o)n8(o[R],r,n,R);if(l){const R=Dr(l)?l.call(n):l;Reflect.ownKeys(R).forEach(K=>{Ms(K,R[K])})}u&&Ng(u,t,"c");function H(R,K){yr(K)?K.forEach(ie=>R(ie.bind(n))):K&&R(K.bind(n))}if(H(qy,h),H(si,d),H(Y5,m),H(kh,f),H(Uy,v),H(Gy,C),H(Jy,O),H(Yy,_),H(Xy,T),H(Zc,x),H(fi,w),H(Ky,I),yr(z))if(z.length){const R=t.exposed||(t.exposed={});z.forEach(K=>{Object.defineProperty(R,K,{get:()=>n[K],set:ie=>n[K]=ie,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===Zi&&(t.render=y),G!=null&&(t.inheritAttrs=G),W&&(t.components=W),F&&(t.directives=F),I&&K5(t)}function hA(t,e,n=Zi){yr(t)&&(t=d0(t));for(const r in t){const a=t[r];let i;Hn(a)?"default"in a?i=zn(a.from||r,a.default,!0):i=zn(a.from||r):i=zn(a),xn(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function Ng(t,e,n){to(yr(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function n8(t,e,n,r){let a=r.includes(".")?S8(n,r):()=>n[r];if(ss(t)){const i=e[t];Dr(i)&&Lr(a,i)}else if(Dr(t))Lr(a,t.bind(n));else if(Hn(t))if(yr(t))t.forEach(i=>n8(i,e,n,r));else{const i=Dr(t.handler)?t.handler.bind(n):e[t.handler];Dr(i)&&Lr(a,i,t)}}function tm(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:a,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,o=i.get(e);let l;return o?l=o:!a.length&&!n&&!r?l=e:(l={},a.length&&a.forEach(p=>Lp(l,p,s,!0)),Lp(l,e,s)),Hn(e)&&i.set(e,l),l}function Lp(t,e,n,r=!1){const{mixins:a,extends:i}=e;i&&Lp(t,i,n,!0),a&&a.forEach(s=>Lp(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const o=fA[s]||n&&n[s];t[s]=o?o(t[s],e[s]):e[s]}return t}const fA={data:Vg,props:Hg,emits:Hg,methods:F1,computed:F1,beforeCreate:yi,created:yi,beforeMount:yi,mounted:yi,beforeUpdate:yi,updated:yi,beforeDestroy:yi,beforeUnmount:yi,destroyed:yi,unmounted:yi,activated:yi,deactivated:yi,errorCaptured:yi,serverPrefetch:yi,components:F1,directives:F1,watch:mA,provide:Vg,inject:dA};function Vg(t,e){return e?t?function(){return jn(Dr(t)?t.call(this,this):t,Dr(e)?e.call(this,this):e)}:e:t}function dA(t,e){return F1(d0(t),d0(e))}function d0(t){if(yr(t)){const e={};for(let n=0;n1)return n&&Dr(e)?e.call(r&&r.proxy):e}}function rm(){return!!(Ts()||Al)}const i8={},o8=()=>Object.create(i8),a8=t=>Object.getPrototypeOf(t)===i8;function yA(t,e,n,r=!1){const a={},i=o8();t.propsDefaults=Object.create(null),l8(t,e,a,i);for(const s in t.propsOptions[0])s in a||(a[s]=void 0);n?t.props=r?a:Ah(a):t.type.props?t.props=a:t.props=i,t.attrs=i}function bA(t,e,n,r){const{props:a,attrs:i,vnode:{patchFlag:s}}=t,o=gn(a),[l]=t.propsOptions;let p=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,m]=c8(h,e,!0);jn(s,d),m&&o.push(...m)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!l)return Hn(t)&&r.set(t,Mc),Mc;if(yr(i))for(let u=0;ut==="_"||t==="_ctx"||t==="$stable",sm=t=>yr(t)?t.map(_i):[_i(t)],SA=(t,e,n)=>{if(e._n)return e;const r=zt((...a)=>sm(e(...a)),n);return r._c=!1,r},u8=(t,e,n)=>{const r=t._ctx;for(const a in t){if(nm(a))continue;const i=t[a];if(Dr(i))e[a]=SA(a,i,r);else if(i!=null){const s=sm(i);e[a]=()=>s}}},p8=(t,e)=>{const n=sm(e);t.slots.default=()=>n},h8=(t,e,n)=>{for(const r in e)(n||!nm(r))&&(t[r]=e[r])},EA=(t,e,n)=>{const r=t.slots=o8();if(t.vnode.shapeFlag&32){const a=e._;a?(h8(r,e,n),n&&ay(r,"_",a,!0)):u8(e,r)}else e&&p8(t,e)},xA=(t,e,n)=>{const{vnode:r,slots:a}=t;let i=!0,s=yn;if(r.shapeFlag&32){const o=e._;o?n&&o===1?i=!1:h8(a,e,n):(i=!e.$stable,u8(e,a)),s=e}else e&&(p8(t,e),s={default:1});if(i)for(const o in a)!nm(o)&&s[o]==null&&delete a[o]},Hs=T8;function f8(t){return m8(t)}function d8(t){return m8(t,jT)}function m8(t,e){const n=bh();n.__VUE__=!0;const{insert:r,remove:a,patchProp:i,createElement:s,createText:o,createComment:l,setText:p,setElementText:u,parentNode:h,nextSibling:d,setScopeId:m=Zi,insertStaticContent:f}=t,v=(se,ve,xe,He=null,ee=null,k=null,j=void 0,J=null,Te=!!ve.dynamicChildren)=>{if(se===ve)return;se&&!so(se,ve)&&(He=ue(se),X(se,ee,k,!0),se=null),ve.patchFlag===-2&&(Te=!1,ve.dynamicChildren=null);const{type:Ie,ref:Pe,shapeFlag:de}=ve;switch(Ie){case Da:C(se,ve,xe,He);break;case Ps:S(se,ve,xe,He);break;case _l:se==null&&x(ve,xe,He,j);break;case Vr:W(se,ve,xe,He,ee,k,j,J,Te);break;default:de&1?y(se,ve,xe,He,ee,k,j,J,Te):de&6?F(se,ve,xe,He,ee,k,j,J,Te):(de&64||de&128)&&Ie.process(se,ve,xe,He,ee,k,j,J,Te,oe)}Pe!=null&&ee?kc(Pe,se&&se.ref,k,ve||se,!ve):Pe==null&&se&&se.ref!=null&&kc(se.ref,null,k,se,!0)},C=(se,ve,xe,He)=>{if(se==null)r(ve.el=o(ve.children),xe,He);else{const ee=ve.el=se.el;ve.children!==se.children&&p(ee,ve.children)}},S=(se,ve,xe,He)=>{se==null?r(ve.el=l(ve.children||""),xe,He):ve.el=se.el},x=(se,ve,xe,He)=>{[se.el,se.anchor]=f(se.children,ve,xe,He,se.el,se.anchor)},g=({el:se,anchor:ve},xe,He)=>{let ee;for(;se&&se!==ve;)ee=d(se),r(se,xe,He),se=ee;r(ve,xe,He)},w=({el:se,anchor:ve})=>{let xe;for(;se&&se!==ve;)xe=d(se),a(se),se=xe;a(ve)},y=(se,ve,xe,He,ee,k,j,J,Te)=>{ve.type==="svg"?j="svg":ve.type==="math"&&(j="mathml"),se==null?_(ve,xe,He,ee,k,j,J,Te):I(se,ve,ee,k,j,J,Te)},_=(se,ve,xe,He,ee,k,j,J)=>{let Te,Ie;const{props:Pe,shapeFlag:de,transition:ke,dirs:qe}=se;if(Te=se.el=s(se.type,k,Pe&&Pe.is,Pe),de&8?u(Te,se.children):de&16&&O(se.children,Te,null,He,ee,vd(se,k),j,J),qe&&wo(se,null,He,"created"),T(Te,se,se.scopeId,j,He),Pe){for(const ct in Pe)ct!=="value"&&!Lc(ct)&&i(Te,ct,null,Pe[ct],k,He);"value"in Pe&&i(Te,"value",null,Pe.value,k),(Ie=Pe.onVnodeBeforeMount)&&Ti(Ie,He,se)}qe&&wo(se,null,He,"beforeMount");const nt=g8(ee,ke);nt&&ke.beforeEnter(Te),r(Te,ve,xe),((Ie=Pe&&Pe.onVnodeMounted)||nt||qe)&&Hs(()=>{Ie&&Ti(Ie,He,se),nt&&ke.enter(Te),qe&&wo(se,null,He,"mounted")},ee)},T=(se,ve,xe,He,ee)=>{if(xe&&m(se,xe),He)for(let k=0;k{for(let Ie=Te;Ie{const J=ve.el=se.el;let{patchFlag:Te,dynamicChildren:Ie,dirs:Pe}=ve;Te|=se.patchFlag&16;const de=se.props||yn,ke=ve.props||yn;let qe;if(xe&&fl(xe,!1),(qe=ke.onVnodeBeforeUpdate)&&Ti(qe,xe,ve,se),Pe&&wo(ve,se,xe,"beforeUpdate"),xe&&fl(xe,!0),(de.innerHTML&&ke.innerHTML==null||de.textContent&&ke.textContent==null)&&u(J,""),Ie?z(se.dynamicChildren,Ie,J,xe,He,vd(ve,ee),k):j||K(se,ve,J,null,xe,He,vd(ve,ee),k,!1),Te>0){if(Te&16)G(J,de,ke,xe,ee);else if(Te&2&&de.class!==ke.class&&i(J,"class",null,ke.class,ee),Te&4&&i(J,"style",de.style,ke.style,ee),Te&8){const nt=ve.dynamicProps;for(let ct=0;ct{qe&&Ti(qe,xe,ve,se),Pe&&wo(ve,se,xe,"updated")},He)},z=(se,ve,xe,He,ee,k,j)=>{for(let J=0;J{if(ve!==xe){if(ve!==yn)for(const k in ve)!Lc(k)&&!(k in xe)&&i(se,k,ve[k],null,ee,He);for(const k in xe){if(Lc(k))continue;const j=xe[k],J=ve[k];j!==J&&k!=="value"&&i(se,k,J,j,ee,He)}"value"in xe&&i(se,"value",ve.value,xe.value,ee)}},W=(se,ve,xe,He,ee,k,j,J,Te)=>{const Ie=ve.el=se?se.el:o(""),Pe=ve.anchor=se?se.anchor:o("");let{patchFlag:de,dynamicChildren:ke,slotScopeIds:qe}=ve;qe&&(J=J?J.concat(qe):qe),se==null?(r(Ie,xe,He),r(Pe,xe,He),O(ve.children||[],xe,Pe,ee,k,j,J,Te)):de>0&&de&64&&ke&&se.dynamicChildren?(z(se.dynamicChildren,ke,xe,ee,k,j,J),(ve.key!=null||ee&&ve===ee.subTree)&&im(se,ve,!0)):K(se,ve,xe,Pe,ee,k,j,J,Te)},F=(se,ve,xe,He,ee,k,j,J,Te)=>{ve.slotScopeIds=J,se==null?ve.shapeFlag&512?ee.ctx.activate(ve,xe,He,j,Te):N(ve,xe,He,ee,k,j,Te):$(se,ve,Te)},N=(se,ve,xe,He,ee,k,j)=>{const J=se.component=L8(se,He,ee);if(Fu(se)&&(J.ctx.renderer=oe),I8(J,!1,j),J.asyncDep){if(ee&&ee.registerDep(J,H,j),!se.el){const Te=J.subTree=gt(Ps);S(null,Te,ve,xe),se.placeholder=Te.el}}else H(J,se,ve,xe,ee,k,j)},$=(se,ve,xe)=>{const He=ve.component=se.component;if(IA(se,ve,xe))if(He.asyncDep&&!He.asyncResolved){R(He,ve,xe);return}else He.next=ve,He.update();else ve.el=se.el,He.vnode=ve},H=(se,ve,xe,He,ee,k,j)=>{const J=()=>{if(se.isMounted){let{next:de,bu:ke,u:qe,parent:nt,vnode:ct}=se;{const gr=v8(se);if(gr){de&&(de.el=ct.el,R(se,de,j)),gr.asyncDep.then(()=>{se.isUnmounted||J()});return}}let yt=de,Qt;fl(se,!1),de?(de.el=ct.el,R(se,de,j)):de=ct,ke&&Oc(ke),(Qt=de.props&&de.props.onVnodeBeforeUpdate)&&Ti(Qt,nt,de,ct),fl(se,!0);const Bt=up(se),sr=se.subTree;se.subTree=Bt,v(sr,Bt,h(sr.el),ue(sr),se,ee,k),de.el=Bt.el,yt===null&&Hh(se,Bt.el),qe&&Hs(qe,ee),(Qt=de.props&&de.props.onVnodeUpdated)&&Hs(()=>Ti(Qt,nt,de,ct),ee)}else{let de;const{el:ke,props:qe}=ve,{bm:nt,m:ct,parent:yt,root:Qt,type:Bt}=se,sr=Ha(ve);if(fl(se,!1),nt&&Oc(nt),!sr&&(de=qe&&qe.onVnodeBeforeMount)&&Ti(de,yt,ve),fl(se,!0),ke&&Se){const gr=()=>{se.subTree=up(se),Se(ke,se.subTree,se,ee,null)};sr&&Bt.__asyncHydrate?Bt.__asyncHydrate(ke,se,gr):gr()}else{Qt.ce&&Qt.ce._def.shadowRoot!==!1&&Qt.ce._injectChildStyle(Bt);const gr=se.subTree=up(se);v(null,gr,xe,He,se,ee,k),ve.el=gr.el}if(ct&&Hs(ct,ee),!sr&&(de=qe&&qe.onVnodeMounted)){const gr=ve;Hs(()=>Ti(de,yt,gr),ee)}(ve.shapeFlag&256||yt&&Ha(yt.vnode)&&yt.vnode.shapeFlag&256)&&se.a&&Hs(se.a,ee),se.isMounted=!0,ve=xe=He=null}};se.scope.on();const Te=se.effect=new lu(J);se.scope.off();const Ie=se.update=Te.run.bind(Te),Pe=se.job=Te.runIfDirty.bind(Te);Pe.i=se,Pe.id=se.uid,Te.scheduler=()=>B5(Pe),fl(se,!0),Ie()},R=(se,ve,xe)=>{ve.component=se;const He=se.vnode.props;se.vnode=ve,se.next=null,bA(se,ve.props,He,xe),xA(se,ve.children,xe),sa(),Ag(se),ia()},K=(se,ve,xe,He,ee,k,j,J,Te=!1)=>{const Ie=se&&se.children,Pe=se?se.shapeFlag:0,de=ve.children,{patchFlag:ke,shapeFlag:qe}=ve;if(ke>0){if(ke&128){he(Ie,de,xe,He,ee,k,j,J,Te);return}else if(ke&256){ie(Ie,de,xe,He,ee,k,j,J,Te);return}}qe&8?(Pe&16&&Me(Ie,ee,k),de!==Ie&&u(xe,de)):Pe&16?qe&16?he(Ie,de,xe,He,ee,k,j,J,Te):Me(Ie,ee,k,!0):(Pe&8&&u(xe,""),qe&16&&O(de,xe,He,ee,k,j,J,Te))},ie=(se,ve,xe,He,ee,k,j,J,Te)=>{se=se||Mc,ve=ve||Mc;const Ie=se.length,Pe=ve.length,de=Math.min(Ie,Pe);let ke;for(ke=0;kePe?Me(se,ee,k,!0,!1,de):O(ve,xe,He,ee,k,j,J,Te,de)},he=(se,ve,xe,He,ee,k,j,J,Te)=>{let Ie=0;const Pe=ve.length;let de=se.length-1,ke=Pe-1;for(;Ie<=de&&Ie<=ke;){const qe=se[Ie],nt=ve[Ie]=Te?Ia(ve[Ie]):_i(ve[Ie]);if(so(qe,nt))v(qe,nt,xe,null,ee,k,j,J,Te);else break;Ie++}for(;Ie<=de&&Ie<=ke;){const qe=se[de],nt=ve[ke]=Te?Ia(ve[ke]):_i(ve[ke]);if(so(qe,nt))v(qe,nt,xe,null,ee,k,j,J,Te);else break;de--,ke--}if(Ie>de){if(Ie<=ke){const qe=ke+1,nt=qeke)for(;Ie<=de;)X(se[Ie],ee,k,!0),Ie++;else{const qe=Ie,nt=Ie,ct=new Map;for(Ie=nt;Ie<=ke;Ie++){const Jr=ve[Ie]=Te?Ia(ve[Ie]):_i(ve[Ie]);Jr.key!=null&&ct.set(Jr.key,Ie)}let yt,Qt=0;const Bt=ke-nt+1;let sr=!1,gr=0;const Ct=new Array(Bt);for(Ie=0;Ie=Bt){X(Jr,ee,k,!0);continue}let qr;if(Jr.key!=null)qr=ct.get(Jr.key);else for(yt=nt;yt<=ke;yt++)if(Ct[yt-nt]===0&&so(Jr,ve[yt])){qr=yt;break}qr===void 0?X(Jr,ee,k,!0):(Ct[qr-nt]=Ie+1,qr>=gr?gr=qr:sr=!0,v(Jr,ve[qr],xe,null,ee,k,j,J,Te),Qt++)}const Qr=sr?wA(Ct):Mc;for(yt=Qr.length-1,Ie=Bt-1;Ie>=0;Ie--){const Jr=nt+Ie,qr=ve[Jr],un=ve[Jr+1],nn=Jr+1{const{el:k,type:j,transition:J,children:Te,shapeFlag:Ie}=se;if(Ie&6){Le(se.component.subTree,ve,xe,He);return}if(Ie&128){se.suspense.move(ve,xe,He);return}if(Ie&64){j.move(se,ve,xe,oe);return}if(j===Vr){r(k,ve,xe);for(let de=0;deJ.enter(k),ee);else{const{leave:de,delayLeave:ke,afterLeave:qe}=J,nt=()=>{se.ctx.isUnmounted?a(k):r(k,ve,xe)},ct=()=>{k._isLeaving&&k[Ko](!0),de(k,()=>{nt(),qe&&qe()})};ke?ke(k,nt,ct):ct()}else r(k,ve,xe)},X=(se,ve,xe,He=!1,ee=!1)=>{const{type:k,props:j,ref:J,children:Te,dynamicChildren:Ie,shapeFlag:Pe,patchFlag:de,dirs:ke,cacheIndex:qe}=se;if(de===-2&&(ee=!1),J!=null&&(sa(),kc(J,null,xe,se,!0),ia()),qe!=null&&(ve.renderCache[qe]=void 0),Pe&256){ve.ctx.deactivate(se);return}const nt=Pe&1&&ke,ct=!Ha(se);let yt;if(ct&&(yt=j&&j.onVnodeBeforeUnmount)&&Ti(yt,ve,se),Pe&6)Ce(se.component,xe,He);else{if(Pe&128){se.suspense.unmount(xe,He);return}nt&&wo(se,null,ve,"beforeUnmount"),Pe&64?se.type.remove(se,ve,xe,oe,He):Ie&&!Ie.hasOnce&&(k!==Vr||de>0&&de&64)?Me(Ie,ve,xe,!1,!0):(k===Vr&&de&384||!ee&&Pe&16)&&Me(Te,ve,xe),He&&Q(se)}(ct&&(yt=j&&j.onVnodeUnmounted)||nt)&&Hs(()=>{yt&&Ti(yt,ve,se),nt&&wo(se,null,ve,"unmounted")},xe)},Q=se=>{const{type:ve,el:xe,anchor:He,transition:ee}=se;if(ve===Vr){fe(xe,He);return}if(ve===_l){w(se);return}const k=()=>{a(xe),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(se.shapeFlag&1&&ee&&!ee.persisted){const{leave:j,delayLeave:J}=ee,Te=()=>j(xe,k);J?J(se.el,k,Te):Te()}else k()},fe=(se,ve)=>{let xe;for(;se!==ve;)xe=d(se),a(se),se=xe;a(ve)},Ce=(se,ve,xe)=>{const{bum:He,scope:ee,job:k,subTree:j,um:J,m:Te,a:Ie}=se;Op(Te),Op(Ie),He&&Oc(He),ee.stop(),k&&(k.flags|=8,X(j,se,ve,xe)),J&&Hs(J,ve),Hs(()=>{se.isUnmounted=!0},ve)},Me=(se,ve,xe,He=!1,ee=!1,k=0)=>{for(let j=k;j{if(se.shapeFlag&6)return ue(se.component.subTree);if(se.shapeFlag&128)return se.suspense.next();const ve=d(se.anchor||se.el),xe=ve&&ve[Vy];return xe?d(xe):ve};let ae=!1;const ce=(se,ve,xe)=>{se==null?ve._vnode&&X(ve._vnode,null,null,!0):v(ve._vnode||null,se,ve,null,null,null,xe),ve._vnode=se,ae||(ae=!0,Ag(),Mp(),ae=!1)},oe={p:v,um:X,m:Le,r:Q,mt:N,mc:O,pc:K,pbc:z,n:ue,o:t};let ne,Se;return e&&([ne,Se]=e(oe)),{render:ce,hydrate:ne,createApp:vA(ce,ne)}}function vd({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function fl({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function g8(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function im(t,e,n=!1){const r=t.children,a=e.children;if(yr(r)&&yr(a))for(let i=0;i>1,t[n[o]]0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}function v8(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:v8(e)}function Op(t){if(t)for(let e=0;ezn(y8);function ti(t,e){return $u(t,null,e)}function TA(t,e){return $u(t,null,{flush:"post"})}function C8(t,e){return $u(t,null,{flush:"sync"})}function Lr(t,e,n){return $u(t,e,n)}function $u(t,e,n=yn){const{immediate:r,deep:a,flush:i,once:s}=n,o=jn({},n),l=e&&r||!e&&i!=="post";let p;if(Fc){if(i==="sync"){const m=b8();p=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Zi,m.resume=Zi,m.pause=Zi,m}}const u=Zs;o.call=(m,f,v)=>to(m,u,f,v);let h=!1;i==="post"?o.scheduler=m=>{Hs(m,u&&u.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(m,f)=>{f?m():B5(m)}),o.augmentJob=m=>{e&&(m.flags|=4),h&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const d=AT(t,e,o);return Fc&&(p?p.push(d):l&&d()),d}function AA(t,e,n){const r=this.proxy,a=ss(t)?t.includes(".")?S8(r,t):()=>r[t]:t.bind(r,r);let i;Dr(e)?i=e:(i=e.handler,n=e);const s=Ol(this),o=$u(a,i.bind(r),n);return s(),o}function S8(t,e){const n=e.split(".");return()=>{let r=t;for(let a=0;a{let u,h=yn,d;return C8(()=>{const m=t[a];Ci(u,m)&&(u=m,p())}),{get(){return l(),n.get?n.get(u):u},set(m){const f=n.set?n.set(m):m;if(!Ci(f,u)&&!(h!==yn&&Ci(m,h)))return;const v=r.vnode.props;v&&(e in v||a in v||i in v)&&(`onUpdate:${e}`in v||`onUpdate:${a}`in v||`onUpdate:${i}`in v)||(u=m,p()),r.emit(`update:${e}`,f),Ci(m,f)&&Ci(m,h)&&!Ci(f,d)&&p(),h=m,d=f}}});return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?s||yn:o,done:!1}:{done:!0}}}},o}const E8=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ni(e)}Modifiers`]||t[`${Mi(e)}Modifiers`];function _A(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||yn;let a=n;const i=e.startsWith("update:"),s=i&&E8(r,e.slice(7));s&&(s.trim&&(a=n.map(u=>ss(u)?u.trim():u)),s.number&&(a=n.map(Ep)));let o,l=r[o=G1(e)]||r[o=G1(ni(e))];!l&&i&&(l=r[o=G1(Mi(e))]),l&&to(l,t,6,a);const p=r[o+"Once"];if(p){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,to(p,t,6,a)}}const MA=new WeakMap;function x8(t,e,n=!1){const r=n?MA:e.emitsCache,a=r.get(t);if(a!==void 0)return a;const i=t.emits;let s={},o=!1;if(!Dr(t)){const l=p=>{const u=x8(p,e,!0);u&&(o=!0,jn(s,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!o?(Hn(t)&&r.set(t,null),null):(yr(i)?i.forEach(l=>s[l]=null):jn(s,i),Hn(t)&&r.set(t,s),s)}function Vh(t,e){return!t||!Ru(e)?!1:(e=e.slice(2).replace(/Once$/,""),Pn(t,e[0].toLowerCase()+e.slice(1))||Pn(t,Mi(e))||Pn(t,e))}function up(t){const{type:e,vnode:n,proxy:r,withProxy:a,propsOptions:[i],slots:s,attrs:o,emit:l,render:p,renderCache:u,props:h,data:d,setupState:m,ctx:f,inheritAttrs:v}=t,C=fu(t);let S,x;try{if(n.shapeFlag&4){const w=a||r,y=w;S=_i(p.call(y,w,u,h,m,d,f)),x=o}else{const w=e;S=_i(w.length>1?w(h,{attrs:o,slots:s,emit:l}):w(h,null)),x=e.props?o:LA(o)}}catch(w){Y1.length=0,Hl(w,t,1),S=gt(Ps)}let g=S;if(x&&v!==!1){const w=Object.keys(x),{shapeFlag:y}=g;w.length&&y&7&&(i&&w.some(L5)&&(x=OA(x,i)),g=Lo(g,x,!1,!0))}return n.dirs&&(g=Lo(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&aa(g,n.transition),S=g,fu(C),S}function PA(t,e=!0){let n;for(let r=0;r{let e;for(const n in t)(n==="class"||n==="style"||Ru(n))&&((e||(e={}))[n]=t[n]);return e},OA=(t,e)=>{const n={};for(const r in t)(!L5(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function IA(t,e,n){const{props:r,children:a,component:i}=t,{props:s,children:o,patchFlag:l}=e,p=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Rg(r,s,p):!!s;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;let g0=0;const kA={name:"Suspense",__isSuspense:!0,process(t,e,n,r,a,i,s,o,l,p){if(t==null)NA(e,n,r,a,i,s,o,l,p);else{if(i&&i.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}VA(t,e,n,r,a,s,o,l,p)}},hydrate:HA,normalize:DA},zA=kA;function mu(t,e){const n=t.props&&t.props[e];Dr(n)&&n()}function NA(t,e,n,r,a,i,s,o,l){const{p,o:{createElement:u}}=l,h=u("div"),d=t.suspense=w8(t,a,r,e,h,n,i,s,o,l);p(null,d.pendingBranch=t.ssContent,h,null,r,d,i,s),d.deps>0?(mu(t,"onPending"),mu(t,"onFallback"),p(null,t.ssFallback,e,n,r,null,i,s),zc(d,t.ssFallback)):d.resolve(!1,!0)}function VA(t,e,n,r,a,i,s,o,{p:l,um:p,o:{createElement:u}}){const h=e.suspense=t.suspense;h.vnode=e,e.el=t.el;const d=e.ssContent,m=e.ssFallback,{activeBranch:f,pendingBranch:v,isInFallback:C,isHydrating:S}=h;if(v)h.pendingBranch=d,so(v,d)?(l(v,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0?h.resolve():C&&(S||(l(f,m,n,r,a,null,i,s,o),zc(h,m)))):(h.pendingId=g0++,S?(h.isHydrating=!1,h.activeBranch=v):p(v,a,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),C?(l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0?h.resolve():(l(f,m,n,r,a,null,i,s,o),zc(h,m))):f&&so(f,d)?(l(f,d,n,r,a,h,i,s,o),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0&&h.resolve()));else if(f&&so(f,d))l(f,d,n,r,a,h,i,s,o),zc(h,d);else if(mu(e,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=g0++,l(null,d,h.hiddenContainer,null,a,h,i,s,o),h.deps<=0)h.resolve();else{const{timeout:x,pendingId:g}=h;x>0?setTimeout(()=>{h.pendingId===g&&h.fallback(m)},x):x===0&&h.fallback(m)}}function w8(t,e,n,r,a,i,s,o,l,p,u=!1){const{p:h,m:d,um:m,n:f,o:{parentNode:v,remove:C}}=p;let S;const x=RA(t);x&&e&&e.pendingBranch&&(S=e.pendingId,e.deps++);const g=t.props?xp(t.props.timeout):void 0,w=i,y={vnode:t,parent:e,parentComponent:n,namespace:s,container:r,hiddenContainer:a,deps:0,pendingId:g0++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(_=!1,T=!1){const{vnode:O,activeBranch:I,pendingBranch:z,pendingId:G,effects:W,parentComponent:F,container:N}=y;let $=!1;y.isHydrating?y.isHydrating=!1:_||($=I&&z.transition&&z.transition.mode==="out-in",$&&(I.transition.afterLeave=()=>{G===y.pendingId&&(d(z,N,i===w?f(I):i,0),pu(W))}),I&&(v(I.el)===N&&(i=f(I)),m(I,F,y,!0)),$||d(z,N,i,0)),zc(y,z),y.pendingBranch=null,y.isInFallback=!1;let H=y.parent,R=!1;for(;H;){if(H.pendingBranch){H.effects.push(...W),R=!0;break}H=H.parent}!R&&!$&&pu(W),y.effects=[],x&&e&&e.pendingBranch&&S===e.pendingId&&(e.deps--,e.deps===0&&!T&&e.resolve()),mu(O,"onResolve")},fallback(_){if(!y.pendingBranch)return;const{vnode:T,activeBranch:O,parentComponent:I,container:z,namespace:G}=y;mu(T,"onFallback");const W=f(O),F=()=>{y.isInFallback&&(h(null,_,z,W,I,null,G,o,l),zc(y,_))},N=_.transition&&_.transition.mode==="out-in";N&&(O.transition.afterLeave=F),y.isInFallback=!0,m(O,I,null,!0),N||F()},move(_,T,O){y.activeBranch&&d(y.activeBranch,_,T,O),y.container=_},next(){return y.activeBranch&&f(y.activeBranch)},registerDep(_,T,O){const I=!!y.pendingBranch;I&&y.deps++;const z=_.vnode.el;_.asyncDep.catch(G=>{Hl(G,_,0)}).then(G=>{if(_.isUnmounted||y.isUnmounted||y.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:W}=_;b0(_,G,!1),z&&(W.el=z);const F=!z&&_.subTree.el;T(_,W,v(z||_.subTree.el),z?null:f(_.subTree),y,s,O),F&&C(F),Hh(_,W.el),I&&--y.deps===0&&y.resolve()})},unmount(_,T){y.isUnmounted=!0,y.activeBranch&&m(y.activeBranch,n,_,T),y.pendingBranch&&m(y.pendingBranch,n,_,T)}};return y}function HA(t,e,n,r,a,i,s,o,l){const p=e.suspense=w8(e,r,n,t.parentNode,document.createElement("div"),null,a,i,s,o,!0),u=l(t,p.pendingBranch=e.ssContent,n,p,i,s);return p.deps===0&&p.resolve(!1,!0),u}function DA(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=jg(r?n.default:n),t.ssFallback=r?jg(n.fallback):gt(Ps)}function jg(t){let e;if(Dr(t)){const n=Ll&&t._c;n&&(t._d=!1,Je()),t=t(),n&&(t._d=!0,e=pi,A8())}return yr(t)&&(t=PA(t)),t=_i(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function T8(t,e){e&&e.pendingBranch?yr(t)?e.effects.push(...t):e.effects.push(t):pu(t)}function zc(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t;let a=e.el;for(;!a&&e.component;)e=e.component.subTree,a=e.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,Hh(r,a))}function RA(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const Vr=Symbol.for("v-fgt"),Da=Symbol.for("v-txt"),Ps=Symbol.for("v-cmt"),_l=Symbol.for("v-stc"),Y1=[];let pi=null;function Je(t=!1){Y1.push(pi=t?null:[])}function A8(){Y1.pop(),pi=Y1[Y1.length-1]||null}let Ll=1;function gu(t,e=!1){Ll+=t,t<0&&pi&&e&&(pi.hasOnce=!0)}function _8(t){return t.dynamicChildren=Ll>0?pi||Mc:null,A8(),Ll>0&&pi&&pi.push(t),t}function lt(t,e,n,r,a,i){return _8(Ze(t,e,n,r,a,i,!0))}function Jt(t,e,n,r,a){return _8(gt(t,e,n,r,a,!0))}function ca(t){return t?t.__v_isVNode===!0:!1}function so(t,e){return t.type===e.type&&t.key===e.key}function jA(t){}const M8=({key:t})=>t??null,pp=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ss(t)||xn(t)||Dr(t)?{i:ei,r:t,k:e,f:!!n}:t:null);function Ze(t,e=null,n=null,r=0,a=null,i=t===Vr?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&M8(e),ref:e&&pp(e),scopeId:Lh,slotScopeIds:null,children:n,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:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ei};return o?(om(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=ss(n)?8:16),Ll>0&&!s&&pi&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&pi.push(l),l}const gt=BA;function BA(t,e=null,n=null,r=0,a=null,i=!1){if((!t||t===Qy)&&(t=Ps),ca(t)){const o=Lo(t,e,!0);return n&&om(o,n),Ll>0&&!i&&pi&&(o.shapeFlag&6?pi[pi.indexOf(t)]=o:pi.push(o)),o.patchFlag=-2,o}if(KA(t)&&(t=t.__vccOpts),e){e=Uu(e);let{class:o,style:l}=e;o&&!ss(o)&&(e.class=$r(o)),Hn(l)&&(Mh(l)&&!yr(l)&&(l=jn({},l)),e.style=Rs(l))}const s=ss(t)?1:Ip(t)?128:Hy(t)?64:Hn(t)?4:Dr(t)?2:0;return Ze(t,e,n,r,a,s,i,!0)}function Uu(t){return t?Mh(t)||a8(t)?jn({},t):t:null}function Lo(t,e,n=!1,r=!1){const{props:a,ref:i,patchFlag:s,children:o,transition:l}=t,p=e?ks(a||{},e):a,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:p,key:p&&M8(p),ref:e&&e.ref?n&&i?yr(i)?i.concat(pp(e)):[i,pp(e)]:pp(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Vr?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Lo(t.ssContent),ssFallback:t.ssFallback&&Lo(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&aa(u,l.clone(u)),u}function ln(t=" ",e=0){return gt(Da,null,t,e)}function P8(t,e){const n=gt(_l,null,t);return n.staticCount=e,n}function rr(t="",e=!1){return e?(Je(),Jt(Ps,null,t)):gt(Ps,null,t)}function _i(t){return t==null||typeof t=="boolean"?gt(Ps):yr(t)?gt(Vr,null,t.slice()):ca(t)?Ia(t):gt(Da,null,String(t))}function Ia(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Lo(t)}function om(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(yr(e))n=16;else if(typeof e=="object")if(r&65){const a=e.default;a&&(a._c&&(a._d=!1),om(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!a8(e)?e._ctx=ei:a===3&&ei&&(ei.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Dr(e)?(e={default:e,_ctx:ei},n=32):(e=String(e),r&64?(n=16,e=[ln(e)]):n=8);t.children=e,t.shapeFlag|=n}function ks(...t){const e={};for(let n=0;nZs||ei;let kp,v0;{const t=bh(),e=(n,r)=>{let a;return(a=t[n])||(a=t[n]=[]),a.push(r),i=>{a.length>1?a.forEach(s=>s(i)):a[0](i)}};kp=e("__VUE_INSTANCE_SETTERS__",n=>Zs=n),v0=e("__VUE_SSR_SETTERS__",n=>Fc=n)}const Ol=t=>{const e=Zs;return kp(t),t.scope.on(),()=>{t.scope.off(),kp(e)}},y0=()=>{Zs&&Zs.scope.off(),kp(null)};function O8(t){return t.vnode.shapeFlag&4}let Fc=!1;function I8(t,e=!1,n=!1){e&&v0(e);const{props:r,children:a}=t.vnode,i=O8(t);yA(t,r,i,e),EA(t,a,n||e);const s=i?UA(t,e):void 0;return e&&v0(!1),s}function UA(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,h0);const{setup:r}=n;if(r){sa();const a=t.setupContext=r.length>1?z8(t):null,i=Ol(t),s=Qc(r,t,0,[t.props,a]),o=I5(s);if(ia(),i(),(o||t.sp)&&!Ha(t)&&K5(t),o){if(s.then(y0,y0),e)return s.then(l=>{b0(t,l,e)}).catch(l=>{Hl(l,t,0)});t.asyncDep=s}else b0(t,s,e)}else k8(t,e)}function b0(t,e,n){Dr(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Hn(e)&&(t.setupState=j5(e)),k8(t,n)}let zp,C0;function GA(t){zp=t,C0=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,eA))}}const WA=()=>!zp;function k8(t,e,n){const r=t.type;if(!t.render){if(!e&&zp&&!r.render){const a=r.template||tm(t).template;if(a){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:l}=r,p=jn(jn({isCustomElement:i,delimiters:o},s),l);r.render=zp(a,p)}}t.render=r.render||Zi,C0&&C0(t)}{const a=Ol(t);sa();try{pA(t)}finally{ia(),a()}}}const qA={get(t,e){return ci(t,"get",""),t[e]}};function z8(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,qA),slots:t.slots,emit:t.emit,expose:e}}function Gu(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(j5(R5(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in X1)return X1[n](t)},has(e,n){return n in e||n in X1}})):t.proxy}function S0(t,e=!0){return Dr(t)?t.displayName||t.name:t.name||e&&t.__name}function KA(t){return Dr(t)&&"__vccOpts"in t}const pt=(t,e)=>ET(t,e,Fc);function Ja(t,e,n){try{gu(-1);const r=arguments.length;return r===2?Hn(e)&&!yr(e)?ca(e)?gt(t,null,[e]):gt(t,e):gt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ca(n)&&(n=[n]),gt(t,e,n))}finally{gu(1)}}function XA(){}function YA(t,e,n,r){const a=n[r];if(a&&N8(a,t))return a;const i=e();return i.memo=t.slice(),i.cacheIndex=r,n[r]=i}function N8(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let r=0;r0&&pi&&pi.push(t),!0}const V8="3.5.22",JA=Zi,QA=OT,ZA=Cc,e_=Ny,t_={createComponentInstance:L8,setupComponent:I8,renderComponentRoot:up,setCurrentRenderingInstance:fu,isVNode:ca,normalizeVNode:_i,getComponentPublicInstance:Gu,ensureValidVNode:em,pushWarningContext:_T,popWarningContext:MT},r_=t_,n_=null,s_=null,i_=null;/** * @vue/runtime-dom v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let E0;const Bg=typeof window<"u"&&window.trustedTypes;if(Bg)try{E0=Bg.createPolicy("vue",{createHTML:t=>t})}catch{}const H8=E0?t=>E0.createHTML(t):t=>t,o_="http://www.w3.org/2000/svg",a_="http://www.w3.org/1998/Math/MathML",qo=typeof document<"u"?document:null,Fg=qo&&qo.createElement("template"),l_={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const a=e==="svg"?qo.createElementNS(o_,t):e==="mathml"?qo.createElementNS(a_,t):n?qo.createElement(t,{is:n}):qo.createElement(t);return t==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:t=>qo.createTextNode(t),createComment:t=>qo.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>qo.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,a,i){const s=n?n.previousSibling:e.lastChild;if(a&&(a===i||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{Fg.innerHTML=H8(r==="svg"?`${t}`:r==="mathml"?`${t}`:t);const o=Fg.content;if(r==="svg"||r==="mathml"){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},xa="transition",I1="animation",$c=Symbol("_vtc"),D8={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},R8=jn({},q5,D8),c_=t=>(t.displayName="Transition",t.props=R8,t),Dh=c_((t,{slots:e})=>Ja(Fy,j8(t),e)),dl=(t,e=[])=>{yr(t)?t.forEach(n=>n(...e)):t&&t(...e)},$g=t=>t?yr(t)?t.some(e=>e.length>1):t.length>1:!1;function j8(t){const e={};for(const W in t)W in D8||(e[W]=t[W]);if(t.css===!1)return e;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:p=s,appearToClass:u=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=t,f=u_(a),v=f&&f[0],C=f&&f[1],{onBeforeEnter:S,onEnter:x,onEnterCancelled:g,onLeave:w,onLeaveCancelled:y,onBeforeAppear:_=S,onAppear:T=x,onAppearCancelled:O=g}=e,I=(W,F,N,$)=>{W._enterCancelled=$,Ta(W,F?u:o),Ta(W,F?p:s),N&&N()},z=(W,F)=>{W._isLeaving=!1,Ta(W,h),Ta(W,m),Ta(W,d),F&&F()},G=W=>(F,N)=>{const $=W?T:x,H=()=>I(F,W,N);dl($,[F,H]),Ug(()=>{Ta(F,W?l:i),So(F,W?u:o),$g($)||Gg(F,r,v,H)})};return jn(e,{onBeforeEnter(W){dl(S,[W]),So(W,i),So(W,s)},onBeforeAppear(W){dl(_,[W]),So(W,l),So(W,p)},onEnter:G(!1),onAppear:G(!0),onLeave(W,F){W._isLeaving=!0;const N=()=>z(W,F);So(W,h),W._enterCancelled?(So(W,d),x0(W)):(x0(W),So(W,d)),Ug(()=>{W._isLeaving&&(Ta(W,h),So(W,m),$g(w)||Gg(W,r,C,N))}),dl(w,[W,N])},onEnterCancelled(W){I(W,!1,void 0,!0),dl(g,[W])},onAppearCancelled(W){I(W,!0,void 0,!0),dl(O,[W])},onLeaveCancelled(W){z(W),dl(y,[W])}})}function u_(t){if(t==null)return null;if(Hn(t))return[yd(t.enter),yd(t.leave)];{const e=yd(t);return[e,e]}}function yd(t){return xp(t)}function So(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[$c]||(t[$c]=new Set)).add(e)}function Ta(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[$c];n&&(n.delete(e),n.size||(t[$c]=void 0))}function Ug(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let p_=0;function Gg(t,e,n,r){const a=t._endId=++p_,i=()=>{a===t._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:o,propCount:l}=B8(t,e);if(!s)return r();const p=s+"end";let u=0;const h=()=>{t.removeEventListener(p,d),i()},d=m=>{m.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[f]||"").split(", "),a=r(`${xa}Delay`),i=r(`${xa}Duration`),s=Wg(a,i),o=r(`${I1}Delay`),l=r(`${I1}Duration`),p=Wg(o,l);let u=null,h=0,d=0;e===xa?s>0&&(u=xa,h=s,d=i.length):e===I1?p>0&&(u=I1,h=p,d=l.length):(h=Math.max(s,p),u=h>0?s>p?xa:I1:null,d=u?u===xa?i.length:l.length:0);const m=u===xa&&/\b(?:transform|all)(?:,|$)/.test(r(`${xa}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:m}}function Wg(t,e){for(;t.lengthqg(n)+qg(t[r])))}function qg(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function x0(t){return(t?t.ownerDocument:document).body.offsetHeight}function h_(t,e,n){const r=t[$c];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Np=Symbol("_vod"),F8=Symbol("_vsh"),am={name:"show",beforeMount(t,{value:e},{transition:n}){t[Np]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):k1(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),k1(t,!0),r.enter(t)):r.leave(t,()=>{k1(t,!1)}):k1(t,e))},beforeUnmount(t,{value:e}){k1(t,e)}};function k1(t,e){t.style.display=e?t[Np]:"none",t[F8]=!e}function f_(){am.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const $8=Symbol("");function d_(t){const e=Ts();if(!e)return;const n=e.ut=(a=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>Vp(i,a))},r=()=>{const a=t(e.proxy);e.ce?Vp(e.ce,a):w0(e.subTree,a),n(a)};Y5(()=>{pu(r)}),si(()=>{Lr(r,Zi,{flush:"post"});const a=new MutationObserver(r);a.observe(e.subTree.el.parentNode,{childList:!0}),fi(()=>a.disconnect())})}function w0(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{w0(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Vp(t.el,e);else if(t.type===Vr)t.children.forEach(n=>w0(n,e));else if(t.type===_l){let{el:n,anchor:r}=t;for(;n&&(Vp(n,e),n!==r);)n=n.nextSibling}}function Vp(t,e){if(t.nodeType===1){const n=t.style;let r="";for(const a in e){const i=Ww(e[a]);n.setProperty(`--${a}`,i),r+=`--${a}: ${i};`}n[$8]=r}}const m_=/(?:^|;)\s*display\s*:/;function g_(t,e,n){const r=t.style,a=ss(n);let i=!1;if(n&&!a){if(e)if(ss(e))for(const s of e.split(";")){const o=s.slice(0,s.indexOf(":")).trim();n[o]==null&&hp(r,o,"")}else for(const s in e)n[s]==null&&hp(r,s,"");for(const s in n)s==="display"&&(i=!0),hp(r,s,n[s])}else if(a){if(e!==n){const s=r[$8];s&&(n+=";"+s),r.cssText=n,i=m_.test(n)}}else e&&t.removeAttribute("style");Np in t&&(t[Np]=i?r.display:"",t[F8]&&(r.display="none"))}const Kg=/\s*!important$/;function hp(t,e,n){if(yr(n))n.forEach(r=>hp(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=v_(t,e);Kg.test(n)?t.setProperty(Mi(r),n.replace(Kg,""),"important"):t[r]=n}}const Xg=["Webkit","Moz","ms"],bd={};function v_(t,e){const n=bd[e];if(n)return n;let r=ni(e);if(r!=="filter"&&r in t)return bd[e]=r;r=ju(r);for(let a=0;aCd||(S_.then(()=>Cd=0),Cd=Date.now());function x_(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;to(w_(r,n.value),e,5,[r])};return n.value=t,n.attached=E_(),n}function w_(t,e){if(yr(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>a=>!a._stopped&&r&&r(a))}else return e}const t9=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,T_=(t,e,n,r,a,i)=>{const s=a==="svg";e==="class"?h_(t,r,s):e==="style"?g_(t,n,r):Ru(e)?L5(e)||b_(t,e,n,r,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):A_(t,e,r,s))?(Qg(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Jg(t,e,r,s,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ss(r))?Qg(t,ni(e),r,i,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),Jg(t,e,r,s))};function A_(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&t9(e)&&Dr(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return t9(e)&&ss(n)?!1:e in t}const r9={};function U8(t,e,n){let r=lr(t,e);vh(r)&&(r=jn({},r,e));class a extends Rh{constructor(s){super(r,s,n)}}return a.def=r,a}const __=((t,e)=>U8(t,e,t7)),M_=typeof HTMLElement<"u"?HTMLElement:class{};class Rh extends M_{constructor(e,n={},r=vu){super(),this._def=e,this._props=n,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!==vu?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(jn({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Rh){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):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._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,xs(()=>{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,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:s}=r;let o;if(i&&!yr(i))for(const l in i){const p=i[l];(p===Number||p&&p.type===Number)&&(l in this._props&&(this._props[l]=xp(this._props[l])),(o||(o=Object.create(null)))[ni(l)]=!0)}this._numberProps=o,this._resolveProps(r),this.shadowRoot&&this._applyStyles(s),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,e(this._def=r,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)Pn(this,r)||Object.defineProperty(this,r,{get:()=>$e(n[r])})}_resolveProps(e){const{props:n}=e,r=yr(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&r.includes(a)&&this._setProp(a,this[a]);for(const a of r.map(ni))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(i){this._setProp(a,i,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let r=n?this.getAttribute(e):r9;const a=ni(e);n&&this._numberProps&&this._numberProps[a]&&(r=xp(r)),this._setProp(a,r,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,r=!0,a=!1){if(n!==this._props[e]&&(n===r9?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),r)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Mi(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Mi(e),n+""):n||this.removeAttribute(Mi(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Rp(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=gt(this._def,jn(e,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const a=(i,s)=>{this.dispatchEvent(new CustomEvent(i,vh(s[0])?jn({detail:s},s[0]):{detail:s}))};r.emit=(i,...s)=>{a(i,s),Mi(i)!==i&&a(Mi(i),s)},this._setParent()}),n}_applyStyles(e,n){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let a=e.length-1;a>=0;a--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=e[a],this.shadowRoot.prepend(i)}}_parseSlots(){const e=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(e[r]||(e[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const e=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r(n.push(...Array.from(r.querySelectorAll("slot"))),n),[])}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function G8(t){const e=Ts(),n=e&&e.ce;return n||null}function P_(){const t=G8();return t&&t.shadowRoot}function L_(t="$style"){{const e=Ts();if(!e)return yn;const n=e.type.__cssModules;if(!n)return yn;const r=n[t];return r||yn}}const W8=new WeakMap,q8=new WeakMap,Hp=Symbol("_moveCb"),n9=Symbol("_enterCb"),O_=t=>(delete t.props.mode,t),I_=O_({name:"TransitionGroup",props:jn({},R8,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Ts(),r=W5();let a,i;return kh(()=>{if(!a.length)return;const s=t.moveClass||`${t.name||"v"}-move`;if(!H_(a[0].el,n.vnode.el,s)){a=[];return}a.forEach(z_),a.forEach(N_);const o=a.filter(V_);x0(n.vnode.el),o.forEach(l=>{const p=l.el,u=p.style;So(p,s),u.transform=u.webkitTransform=u.transitionDuration="";const h=p[Hp]=d=>{d&&d.target!==p||(!d||d.propertyName.endsWith("transform"))&&(p.removeEventListener("transitionend",h),p[Hp]=null,Ta(p,s))};p.addEventListener("transitionend",h)}),a=[]}),()=>{const s=gn(t),o=j8(s);let l=s.tag||Vr;if(a=[],i)for(let p=0;p{o.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(o=>o&&r.classList.add(o)),r.style.display="none";const i=e.nodeType===1?e:e.parentNode;i.appendChild(r);const{hasTransform:s}=B8(r);return i.removeChild(r),s}const Wa=t=>{const e=t.props["onUpdate:modelValue"]||!1;return yr(e)?n=>Oc(e,n):e};function D_(t){t.target.composing=!0}function s9(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const eo=Symbol("_assign"),Dp={created(t,{modifiers:{lazy:e,trim:n,number:r}},a){t[eo]=Wa(a);const i=r||a.props&&a.props.type==="number";Jo(t,e?"change":"input",s=>{if(s.target.composing)return;let o=t.value;n&&(o=o.trim()),i&&(o=Ep(o)),t[eo](o)}),n&&Jo(t,"change",()=>{t.value=t.value.trim()}),e||(Jo(t,"compositionstart",D_),Jo(t,"compositionend",s9),Jo(t,"change",s9))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},s){if(t[eo]=Wa(s),t.composing)return;const o=(i||t.type==="number")&&!/^0\d/.test(t.value)?Ep(t.value):t.value,l=e??"";o!==l&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||a&&t.value.trim()===l)||(t.value=l))}},lm={deep:!0,created(t,e,n){t[eo]=Wa(n),Jo(t,"change",()=>{const r=t._modelValue,a=Uc(t),i=t.checked,s=t[eo];if(yr(r)){const o=Sh(r,a),l=o!==-1;if(i&&!l)s(r.concat(a));else if(!i&&l){const p=[...r];p.splice(o,1),s(p)}}else if(Vl(r)){const o=new Set(r);i?o.add(a):o.delete(a),s(o)}else s(X8(t,i))})},mounted:i9,beforeUpdate(t,e,n){t[eo]=Wa(n),i9(t,e,n)}};function i9(t,{value:e,oldValue:n},r){t._modelValue=e;let a;if(yr(e))a=Sh(e,r.props.value)>-1;else if(Vl(e))a=e.has(r.props.value);else{if(e===n)return;a=Ua(e,X8(t,!0))}t.checked!==a&&(t.checked=a)}const cm={created(t,{value:e},n){t.checked=Ua(e,n.props.value),t[eo]=Wa(n),Jo(t,"change",()=>{t[eo](Uc(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[eo]=Wa(r),e!==n&&(t.checked=Ua(e,r.props.value))}},K8={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const a=Vl(e);Jo(t,"change",()=>{const i=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?Ep(Uc(s)):Uc(s));t[eo](t.multiple?a?new Set(i):i:i[0]),t._assigning=!0,xs(()=>{t._assigning=!1})}),t[eo]=Wa(r)},mounted(t,{value:e}){o9(t,e)},beforeUpdate(t,e,n){t[eo]=Wa(n)},updated(t,{value:e}){t._assigning||o9(t,e)}};function o9(t,e){const n=t.multiple,r=yr(e);if(!(n&&!r&&!Vl(e))){for(let a=0,i=t.options.length;aString(p)===String(o)):s.selected=Sh(e,o)>-1}else s.selected=e.has(o);else if(Ua(Uc(s),e)){t.selectedIndex!==a&&(t.selectedIndex=a);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Uc(t){return"_value"in t?t._value:t.value}function X8(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const um={created(t,e,n){G2(t,e,n,null,"created")},mounted(t,e,n){G2(t,e,n,null,"mounted")},beforeUpdate(t,e,n,r){G2(t,e,n,r,"beforeUpdate")},updated(t,e,n,r){G2(t,e,n,r,"updated")}};function Y8(t,e){switch(t){case"SELECT":return K8;case"TEXTAREA":return Dp;default:switch(e){case"checkbox":return lm;case"radio":return cm;default:return Dp}}}function G2(t,e,n,r,a){const s=Y8(t.tagName,n.props&&n.props.type)[a];s&&s(t,e,n,r)}function R_(){Dp.getSSRProps=({value:t})=>({value:t}),cm.getSSRProps=({value:t},e)=>{if(e.props&&Ua(e.props.value,t))return{checked:!0}},lm.getSSRProps=({value:t},e)=>{if(yr(t)){if(e.props&&Sh(t,e.props.value)>-1)return{checked:!0}}else if(Vl(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},um.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=Y8(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const j_=["ctrl","shift","alt","meta"],B_={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>j_.some(n=>t[`${n}Key`]&&!e.includes(n))},io=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=((a,...i)=>{for(let s=0;s{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=(a=>{if(!("key"in a))return;const i=Mi(a.key);if(e.some(s=>s===i||F_[s]===i))return t(a)}))},Q8=jn({patchProp:T_},l_);let J1,a9=!1;function Z8(){return J1||(J1=f8(Q8))}function e7(){return J1=a9?J1:d8(Q8),a9=!0,J1}const Rp=((...t)=>{Z8().render(...t)}),$_=((...t)=>{e7().hydrate(...t)}),vu=((...t)=>{const e=Z8().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=n7(r);if(!a)return;const i=e._component;!Dr(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const s=n(a,!1,r7(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),s},e}),t7=((...t)=>{const e=e7().createApp(...t),{mount:n}=e;return e.mount=r=>{const a=n7(r);if(a)return n(a,!0,r7(a))},e});function r7(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function n7(t){return ss(t)?document.querySelector(t):t}let l9=!1;const U_=()=>{l9||(l9=!0,R_(),f_())};/** * vue v3.5.22 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const G_=()=>{},W_=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Fy,BaseTransitionPropsValidators:q5,Comment:Ps,DeprecationTypes:i_,EffectScope:z5,ErrorCodes:LT,ErrorTypeStrings:QA,Fragment:Vr,KeepAlive:JT,ReactiveEffect:lu,Static:_l,Suspense:zA,Teleport:G5,Text:Da,TrackOpTypes:xT,Transition:Dh,TransitionGroup:k_,TriggerOpTypes:wT,VueElement:Rh,assertNumber:PT,callWithAsyncErrorHandling:to,callWithErrorHandling:Qc,camelize:ni,capitalize:ju,cloneVNode:Lo,compatUtils:s_,compile:G_,computed:pt,createApp:vu,createBlock:Jt,createCommentVNode:rr,createElementBlock:lt,createElementVNode:Ze,createHydrationRenderer:d8,createPropsRestProxy:cA,createRenderer:f8,createSSRApp:t7,createSlots:Z5,createStaticVNode:P8,createTextVNode:ln,createVNode:gt,customRef:Ph,defineAsyncComponent:X5,defineComponent:lr,defineCustomElement:U8,defineEmits:rA,defineExpose:nA,defineModel:oA,defineOptions:sA,defineProps:tA,defineSSRCustomElement:__,defineSlots:iA,devtools:ZA,effect:Xw,effectScope:qw,getCurrentInstance:Ts,getCurrentScope:Eh,getCurrentWatcher:TT,getTransitionRawChildren:Oh,guardReactiveProps:Uu,h:Ja,handleError:Hl,hasInjectionContext:rm,hydrate:$_,hydrateOnIdle:UT,hydrateOnInteraction:KT,hydrateOnMediaQuery:qT,hydrateOnVisible:WT,initCustomFormatter:XA,initDirectivesForSSR:U_,inject:zn,isMemoSame:N8,isProxy:Mh,isReactive:Va,isReadonly:oa,isRef:xn,isRuntimeOnly:WA,isShallow:Di,isVNode:ca,markRaw:R5,mergeDefaults:lA,mergeModels:Bc,mergeProps:ks,nextTick:xs,normalizeClass:$r,normalizeProps:Ch,normalizeStyle:Rs,onActivated:Uy,onBeforeMount:qy,onBeforeUnmount:Zc,onBeforeUpdate:Y5,onDeactivated:Gy,onErrorCaptured:Jy,onMounted:si,onRenderTracked:Yy,onRenderTriggered:Xy,onScopeDispose:N5,onServerPrefetch:Ky,onUnmounted:fi,onUpdated:kh,onWatcherCleanup:Ly,openBlock:Je,popScopeId:$5,provide:Ms,proxyRefs:j5,pushScopeId:F5,queuePostFlushCb:pu,reactive:po,readonly:Ga,ref:xt,registerRuntimeCompiler:GA,render:Rp,renderList:ws,renderSlot:hn,resolveComponent:la,resolveDirective:Zy,resolveDynamicComponent:Po,resolveFilter:n_,resolveTransitionHooks:jc,setBlockTracking:gu,setDevtoolsHook:e_,setTransitionHooks:aa,shallowReactive:Ah,shallowReadonly:Bu,shallowRef:Gr,ssrContextKey:y8,ssrUtils:r_,stop:Yw,toDisplayString:cn,toHandlerKey:G1,toHandlers:e8,toRaw:gn,toRef:My,toRefs:_y,toValue:Pr,transformVNodeArgs:jA,triggerRef:gT,unref:$e,useAttrs:t8,useCssModule:L_,useCssVars:d_,useHost:G8,useId:VT,useModel:Nh,useSSRContext:b8,useShadowRoot:P_,useSlots:zh,useTemplateRef:HT,useTransitionState:W5,vModelCheckbox:lm,vModelDynamic:um,vModelRadio:cm,vModelSelect:K8,vModelText:Dp,vShow:am,version:V8,warn:JA,watch:Lr,watchEffect:ti,watchPostEffect:TA,watchSyncEffect:C8,withAsyncContext:uA,withCtx:zt,withDefaults:aA,withDirectives:Rn,withKeys:J8,withMemo:YA,withModifiers:io,withScopeId:U5},Symbol.toStringTag,{value:"Module"}));var q_=Object.create,s7=Object.defineProperty,K_=Object.getOwnPropertyDescriptor,i7=Object.getOwnPropertyNames,X_=Object.getPrototypeOf,Y_=Object.prototype.hasOwnProperty,o7=(t,e)=>function(){return e||(0,t[i7(t)[0]])((e={exports:{}}).exports,e),e.exports},J_=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(var a=i7(e),i=0,s=a.length,o;ie[l]).bind(null,o),enumerable:!(r=K_(e,o))||r.enumerable});return t},Q_=(t,e,n)=>(n=t!=null?q_(X_(t)):{},J_(s7(n,"default",{value:t,enumerable:!0}),t));function Z_(t){const e=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return e==="index"&&t.__file?.endsWith("index.vue")?"":e}function a7(t){const e=t.__file;if(e)return pw(fw(e,".vue"))}function eM(t){const e=t.displayName||t.name||t._componentTag;return e||a7(t)}function c9(t,e){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=e,e}function pm(t){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function l7(t){const e=t.subTree?.type,n=pm(t);return n?n?.types?.Fragment===e:!1}function Wu(t){const e=Z_(t?.type||{});if(e)return e;if(t?.root===t)return"Root";for(const r in t.parent?.type?.components)if(t.parent.type.components[r]===t?.type)return c9(t,r);for(const r in t.appContext?.components)if(t.appContext.components[r]===t?.type)return c9(t,r);const n=a7(t?.type||{});return n||"Anonymous Component"}function tM(t){return`${t?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__??0}:${t===t?.root?"root":t.uid}`}function Qa(t){try{return t()}catch(e){return e}}function T0(t,e){return e=e||`${t.id}:root`,t.instanceMap.get(e)||t.instanceMap.get(":root")}function Yi(t,e,n=!1){return n||typeof t=="object"&&t!==null?e in t:!1}function rM(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}let W2;function nM(t){return W2||(W2=document.createRange()),W2.selectNode(t),W2.getBoundingClientRect()}function sM(t){const e=rM();if(!t.children)return e;for(let n=0,r=t.children.length;nt.bottom)&&(t.bottom=e.bottom),(!t.left||e.leftt.right)&&(t.right=e.right),t}const u9={top:0,left:0,right:0,bottom:0,width:0,height:0};function Il(t){const e=t.subTree.el;return typeof window>"u"?u9:l7(t)?sM(t.subTree):e?.nodeType===1?e?.getBoundingClientRect():t.subTree.component?Il(t.subTree.component):u9}function hm(t){return l7(t)?oM(t.subTree):t.subTree?[t.subTree.el]:[]}function oM(t){if(!t.children)return[];const e=[];return t.children.forEach(n=>{n.component?e.push(...hm(n.component)):n?.el&&e.push(n.el)}),e}const c7="__vue-devtools-component-inspector__",u7="__vue-devtools-component-inspector__card__",p7="__vue-devtools-component-inspector__name__",h7="__vue-devtools-component-inspector__indicator__",f7={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},aM={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)"},lM={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function e1(){return document.getElementById(c7)}function cM(){return document.getElementById(u7)}function uM(){return document.getElementById(h7)}function pM(){return document.getElementById(p7)}function fm(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function dm(t){const e=document.createElement("div");e.id=t.elementId??c7,Object.assign(e.style,{...f7,...fm(t.bounds),...t.style});const n=document.createElement("span");n.id=u7,Object.assign(n.style,{...aM,top:t.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=p7,r.innerHTML=`<${t.name}>  `;const a=document.createElement("i");return a.id=h7,a.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(a.style,lM),n.appendChild(r),n.appendChild(a),e.appendChild(n),document.body.appendChild(e),e}function mm(t){const e=e1(),n=cM(),r=pM(),a=uM();e&&(Object.assign(e.style,{...f7,...fm(t.bounds)}),Object.assign(n.style,{top:t.bounds.top<35?0:"-35px"}),r.innerHTML=`<${t.name}>  `,a.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function hM(t){const e=Il(t);if(!e.width&&!e.height)return;const n=Wu(t);e1()?mm({bounds:e,name:n}):dm({bounds:e,name:n})}function d7(){const t=e1();t&&(t.style.display="none")}let A0=null;function _0(t){const e=t.target;if(e){const n=e.__vueParentComponent;if(n&&(A0=n,n.vnode.el)){const r=Il(n),a=Wu(n);e1()?mm({bounds:r,name:a}):dm({bounds:r,name:a})}}}function fM(t,e){t.preventDefault(),t.stopPropagation(),A0&&e(tM(A0))}let jp=null;function dM(){d7(),window.removeEventListener("mouseover",_0),window.removeEventListener("click",jp,!0),jp=null}function mM(){return window.addEventListener("mouseover",_0),new Promise(t=>{function e(n){n.preventDefault(),n.stopPropagation(),fM(n,r=>{window.removeEventListener("click",e,!0),jp=null,window.removeEventListener("mouseover",_0);const a=e1();a&&(a.style.display="none"),t(JSON.stringify({id:r}))})}jp=e,window.addEventListener("click",e,!0)})}function gM(t){const e=T0(Us.value,t.id);if(e){const[n]=hm(e);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Il(e),a=document.createElement("div"),i={...fm(r),position:"absolute"};Object.assign(a.style,i),document.body.appendChild(a),a.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(a)},2e3)}setTimeout(()=>{const r=Il(e);if(r.width||r.height){const a=Wu(e),i=e1();i?mm({...t,name:a,bounds:r}):dm({...t,name:a,bounds:r}),setTimeout(()=>{i&&(i.style.display="none")},1500)}},1200)}}Gt.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__??=!0;function vM(t){let e=0;const n=setInterval(()=>{Gt.__VUE_INSPECTOR__&&(clearInterval(n),e+=30,t()),e>=5e3&&clearInterval(n)},30)}function yM(){const t=Gt.__VUE_INSPECTOR__,e=t.openInEditor;t.openInEditor=async(...n)=>{t.disable(),e(...n)}}function bM(){return new Promise(t=>{function e(){yM(),t(Gt.__VUE_INSPECTOR__)}Gt.__VUE_INSPECTOR__?e():vM(()=>{e()})})}let Bp=(function(t){return t.SKIP="__v_skip",t.IS_REACTIVE="__v_isReactive",t.IS_READONLY="__v_isReadonly",t.IS_SHALLOW="__v_isShallow",t.RAW="__v_raw",t})({});function CM(t){return!!(t&&t[Bp.IS_READONLY])}function m7(t){return CM(t)?m7(t[Bp.RAW]):!!(t&&t[Bp.IS_REACTIVE])}function Sd(t){return!!(t&&t.__v_isRef===!0)}function $1(t){const e=t&&t[Bp.RAW];return e?$1(e):t}var SM=class{constructor(){this.refEditor=new EM}set(t,e,n,r){const a=Array.isArray(e)?e:e.split(".");for(;a.length>1;){const o=a.shift();t instanceof Map?t=t.get(o):t instanceof Set?t=Array.from(t.values())[o]:t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const i=a[0],s=this.refEditor.get(t)[i];r?r(t,i,n):this.refEditor.isRef(s)?this.refEditor.set(s,n):t[i]=n}get(t,e){const n=Array.isArray(e)?e:e.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(e)?e.slice():e.split("."),a=n?2:1;for(;t&&r.length>a;){const i=r.shift();t=t[i],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,r[0])}createDefaultSetCallback(t){return(e,n,r)=>{if((t.remove||t.newKey)&&(Array.isArray(e)?e.splice(n,1):$1(e)instanceof Map?e.delete(n):$1(e)instanceof Set?e.delete(Array.from(e.values())[n]):Reflect.deleteProperty(e,n)),!t.remove){const a=e[t.newKey||n];this.refEditor.isRef(a)?this.refEditor.set(a,r):$1(e)instanceof Map?e.set(t.newKey||n,r):$1(e)instanceof Set?e.add(r):e[t.newKey||n]=r}}}},EM=class{set(t,e){if(Sd(t))t.value=e;else{if(t instanceof Set&&Array.isArray(e)){t.clear(),e.forEach(a=>t.add(a));return}const n=Object.keys(e);if(t instanceof Map){const a=new Set(t.keys());n.forEach(i=>{t.set(i,Reflect.get(e,i)),a.delete(i)}),a.forEach(i=>t.delete(i));return}const r=new Set(Object.keys(t));n.forEach(a=>{Reflect.set(t,a,Reflect.get(e,a)),r.delete(a)}),r.forEach(a=>Reflect.deleteProperty(t,a))}}get(t){return Sd(t)?t.value:t}isRef(t){return Sd(t)||m7(t)}};const g7="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function xM(t){!Du||typeof localStorage>"u"||localStorage===null||localStorage.setItem(g7,JSON.stringify(t))}function wM(){if(!Du||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=typeof localStorage.getItem<"u"?localStorage.getItem(g7):null;return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}Gt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS??=[];const v7=new Proxy(Gt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(t,e,n){return Reflect.get(t,e,n)}});function TM(t,e){zs.timelineLayersState[e.id]=!1,v7.push({...t,descriptorId:e.id,appRecord:pm(e.app)})}function AM(t){const e={...zs.timelineLayersState,...t};xM(e),b7({timelineLayersState:e})}Gt.__VUE_DEVTOOLS_KIT_INSPECTOR__??=[];const gm=new Proxy(Gt.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(t,e,n){return Reflect.get(t,e,n)}}),y7=Pl(()=>{qa.hooks.callHook(Ai.SEND_INSPECTOR_TO_CLIENT,vm())});function _M(t,e){gm.push({options:t,descriptor:e,treeFilterPlaceholder:t.treeFilterPlaceholder??"Search tree...",stateFilterPlaceholder:t.stateFilterPlaceholder??"Search state...",treeFilter:"",selectedNodeId:"",appRecord:pm(e.app)}),y7()}function vm(){return gm.filter(t=>t.descriptor.app===Us.value.app).filter(t=>t.descriptor.id!=="components").map(t=>{const e=t.descriptor,n=t.options;return{id:n.id,label:n.label,logo:e.logo,icon:`custom-ic-baseline-${n?.icon?.replace(/_/g,"-")}`,packageName:e.packageName,homepage:e.homepage,pluginId:e.id}})}function MM(t){const e=Ra(t,Us.value.app);if(!e)return;const n=e.descriptor,r=e.options,a=v7.filter(i=>i.descriptorId===n.id).map(i=>({id:i.id,label:i.label,color:i.color}));return{id:r.id,label:r.label,logo:n.logo,packageName:n.packageName,homepage:n.homepage,timelineLayers:a,treeFilterPlaceholder:e.treeFilterPlaceholder,stateFilterPlaceholder:e.stateFilterPlaceholder}}function Ra(t,e){return gm.find(n=>n.options.id===t&&(e?n.descriptor.app===e:!0))}function p9(t){return Ra(t)?.options.actions}function h9(t){return Ra(t)?.options.nodeActions}let li=(function(t){return t.VISIT_COMPONENT_TREE="visitComponentTree",t.INSPECT_COMPONENT="inspectComponent",t.EDIT_COMPONENT_STATE="editComponentState",t.GET_INSPECTOR_TREE="getInspectorTree",t.GET_INSPECTOR_STATE="getInspectorState",t.EDIT_INSPECTOR_STATE="editInspectorState",t.INSPECT_TIMELINE_EVENT="inspectTimelineEvent",t.TIMELINE_CLEARED="timelineCleared",t.SET_PLUGIN_SETTINGS="setPluginSettings",t})({}),ns=(function(t){return t.ADD_INSPECTOR="addInspector",t.SEND_INSPECTOR_TREE="sendInspectorTree",t.SEND_INSPECTOR_STATE="sendInspectorState",t.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",t.TIMELINE_LAYER_ADDED="timelineLayerAdded",t.TIMELINE_EVENT_ADDED="timelineEventAdded",t.GET_COMPONENT_INSTANCES="getComponentInstances",t.GET_COMPONENT_BOUNDS="getComponentBounds",t.GET_COMPONENT_NAME="getComponentName",t.COMPONENT_HIGHLIGHT="componentHighlight",t.COMPONENT_UNHIGHLIGHT="componentUnhighlight",t})({}),Ai=(function(t){return t.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",t.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",t.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",t.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",t.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",t.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",t.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",t.ROUTER_INFO_UPDATED="routerInfoUpdated",t})({});function PM(){const t=ny();t.hook(ns.ADD_INSPECTOR,({inspector:r,plugin:a})=>{_M(r,a.descriptor)});const e=Pl(async({inspectorId:r,plugin:a})=>{if(!r||!a?.descriptor?.app||zs.highPerfModeEnabled)return;const i=Ra(r,a.descriptor.app),s={app:a.descriptor.app,inspectorId:r,filter:i?.treeFilter||"",rootNodes:[]};await new Promise(o=>{t.callHookWith(async l=>{await Promise.all(l.map(p=>p(s))),o()},li.GET_INSPECTOR_TREE)}),t.callHookWith(async o=>{await Promise.all(o.map(l=>l({inspectorId:r,rootNodes:s.rootNodes})))},Ai.SEND_INSPECTOR_TREE_TO_CLIENT)},120);t.hook(ns.SEND_INSPECTOR_TREE,e);const n=Pl(async({inspectorId:r,plugin:a})=>{if(!r||!a?.descriptor?.app||zs.highPerfModeEnabled)return;const i=Ra(r,a.descriptor.app),s={app:a.descriptor.app,inspectorId:r,nodeId:i?.selectedNodeId||"",state:null},o={currentTab:`custom-inspector:${r}`};s.nodeId&&await new Promise(l=>{t.callHookWith(async p=>{await Promise.all(p.map(u=>u(s,o))),l()},li.GET_INSPECTOR_STATE)}),t.callHookWith(async l=>{await Promise.all(l.map(p=>p({inspectorId:r,nodeId:s.nodeId,state:s.state})))},Ai.SEND_INSPECTOR_STATE_TO_CLIENT)},120);return t.hook(ns.SEND_INSPECTOR_STATE,n),t.hook(ns.CUSTOM_INSPECTOR_SELECT_NODE,({inspectorId:r,nodeId:a,plugin:i})=>{const s=Ra(r,i.descriptor.app);s&&(s.selectedNodeId=a)}),t.hook(ns.TIMELINE_LAYER_ADDED,({options:r,plugin:a})=>{TM(r,a.descriptor)}),t.hook(ns.TIMELINE_EVENT_ADDED,({options:r,plugin:a})=>{zs.highPerfModeEnabled||!zs.timelineLayersState?.[a.descriptor.id]&&!["performance","component-event","keyboard","mouse"].includes(r.layerId)||t.callHookWith(async i=>{await Promise.all(i.map(s=>s(r)))},Ai.SEND_TIMELINE_EVENT_TO_CLIENT)}),t.hook(ns.GET_COMPONENT_INSTANCES,async({app:r})=>{const a=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!a)return null;const i=a.id.toString();return[...a.instanceMap].filter(([s])=>s.split(":")[0]===i).map(([,s])=>s)}),t.hook(ns.GET_COMPONENT_BOUNDS,async({instance:r})=>Il(r)),t.hook(ns.GET_COMPONENT_NAME,({instance:r})=>Wu(r)),t.hook(ns.COMPONENT_HIGHLIGHT,({uid:r})=>{const a=Us.value.instanceMap.get(r);a&&hM(a)}),t.hook(ns.COMPONENT_UNHIGHLIGHT,()=>{d7()}),t}Gt.__VUE_DEVTOOLS_KIT_APP_RECORDS__??=[];Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__??={};Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__??="";Gt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__??=[];Gt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__??=[];const Qo="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function LM(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:wM()}}Gt[Qo]??=LM();const OM=Pl(t=>{qa.hooks.callHook(Ai.DEVTOOLS_STATE_UPDATED,{state:t})}),IM=Pl((t,e)=>{qa.hooks.callHook(Ai.DEVTOOLS_CONNECTED_UPDATED,{state:t,oldState:e})}),qu=new Proxy(Gt.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(t,e,n){return e==="value"?Gt.__VUE_DEVTOOLS_KIT_APP_RECORDS__:Gt.__VUE_DEVTOOLS_KIT_APP_RECORDS__[e]}}),Us=new Proxy(Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(t,e,n){return e==="value"?Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:e==="id"?Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[e]}});function ym(){OM({...Gt[Qo],appRecords:qu.value,activeAppRecordId:Us.id,tabs:Gt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:Gt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function kM(t){Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=t,ym()}function zM(t){Gt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,ym()}const zs=new Proxy(Gt[Qo],{get(t,e){return e==="appRecords"?qu:e==="activeAppRecordId"?Us.id:e==="tabs"?Gt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:e==="commands"?Gt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:Gt[Qo][e]},deleteProperty(t,e){return delete t[e],!0},set(t,e,n){return{...Gt[Qo]},t[e]=n,Gt[Qo][e]=n,!0}});function b7(t){const e={...Gt[Qo],appRecords:qu.value,activeAppRecordId:Us.id};(e.connected!==t.connected&&t.connected||e.clientConnected!==t.clientConnected&&t.clientConnected)&&IM(Gt[Qo],e),Object.assign(Gt[Qo],t),ym()}function NM(t){b7({clientConnected:t})}function VM(t={}){const{file:e,host:n,baseUrl:r=window.location.origin,line:a=0,column:i=0}=t;if(e){if(n==="chrome-extension"){const s=e.replace(/\\/g,"\\\\"),o=window.VUE_DEVTOOLS_CONFIG?.openInEditorHost??"/";fetch(`${o}__open-in-editor?file=${encodeURI(e)}`).then(l=>{if(!l.ok){const p=`Opening component ${s} failed`;console.log(`%c${p}`,"color:red")}})}else if(zs.vitePluginDetected){const s=Gt.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__??r;Gt.__VUE_INSPECTOR__.openInEditor(s,e,a,i)}}}Gt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__??=[];const bm=new Proxy(Gt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(t,e,n){return Reflect.get(t,e,n)}});function M0(t){const e={};return Object.keys(t).forEach(n=>{e[n]=t[n].defaultValue}),e}function Cm(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function HM(t){return(bm.find(e=>e[0].id===t&&!!e[0]?.settings)?.[0]??null)?.settings??null}function C7(t,e){const n=Cm(t);if(n){const r=localStorage.getItem(n);if(r)return JSON.parse(r)}return M0(t?(bm.find(r=>r[0].id===t)?.[0]??null)?.settings??{}:e)}function DM(t,e){const n=Cm(t);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(M0(e)))}function RM(t,e,n){const r=Cm(t),a=localStorage.getItem(r),i=JSON.parse(a||"{}"),s={...i,[e]:n};localStorage.setItem(r,JSON.stringify(s)),qa.hooks.callHookWith(o=>{o.forEach(l=>l({pluginId:t,key:e,oldValue:i[e],newValue:n,settings:s}))},li.SET_PLUGIN_SETTINGS)}let Wi=(function(t){return t.APP_INIT="app:init",t.APP_UNMOUNT="app:unmount",t.COMPONENT_UPDATED="component:updated",t.COMPONENT_ADDED="component:added",t.COMPONENT_REMOVED="component:removed",t.COMPONENT_EMIT="component:emit",t.PERFORMANCE_START="perf:start",t.PERFORMANCE_END="perf:end",t.ADD_ROUTE="router:add-route",t.REMOVE_ROUTE="router:remove-route",t.RENDER_TRACKED="render:tracked",t.RENDER_TRIGGERED="render:triggered",t.APP_CONNECTED="app:connected",t.SETUP_DEVTOOLS_PLUGIN="devtools-plugin:setup",t})({});const qi=Gt.__VUE_DEVTOOLS_HOOK??=ny(),jM={vueAppInit(t){qi.hook(Wi.APP_INIT,t)},vueAppUnmount(t){qi.hook(Wi.APP_UNMOUNT,t)},vueAppConnected(t){qi.hook(Wi.APP_CONNECTED,t)},componentAdded(t){return qi.hook(Wi.COMPONENT_ADDED,t)},componentEmit(t){return qi.hook(Wi.COMPONENT_EMIT,t)},componentUpdated(t){return qi.hook(Wi.COMPONENT_UPDATED,t)},componentRemoved(t){return qi.hook(Wi.COMPONENT_REMOVED,t)},setupDevtoolsPlugin(t){qi.hook(Wi.SETUP_DEVTOOLS_PLUGIN,t)},perfStart(t){return qi.hook(Wi.PERFORMANCE_START,t)},perfEnd(t){return qi.hook(Wi.PERFORMANCE_END,t)}},BM={on:jM};var FM=class{constructor({plugin:t,ctx:e}){this.hooks=e.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook(li.VISIT_COMPONENT_TREE,t)},inspectComponent:t=>{this.hooks.hook(li.INSPECT_COMPONENT,t)},editComponentState:t=>{this.hooks.hook(li.EDIT_COMPONENT_STATE,t)},getInspectorTree:t=>{this.hooks.hook(li.GET_INSPECTOR_TREE,t)},getInspectorState:t=>{this.hooks.hook(li.GET_INSPECTOR_STATE,t)},editInspectorState:t=>{this.hooks.hook(li.EDIT_INSPECTOR_STATE,t)},inspectTimelineEvent:t=>{this.hooks.hook(li.INSPECT_TIMELINE_EVENT,t)},timelineCleared:t=>{this.hooks.hook(li.TIMELINE_CLEARED,t)},setPluginSettings:t=>{this.hooks.hook(li.SET_PLUGIN_SETTINGS,t)}}}notifyComponentUpdate(t){if(zs.highPerfModeEnabled)return;const e=vm().find(n=>n.packageName===this.plugin.descriptor.packageName);if(e?.id){if(t){const n=[t.appContext.app,t.uid,t.parent?.uid,t];qi.callHook(Wi.COMPONENT_UPDATED,...n)}else qi.callHook(Wi.COMPONENT_UPDATED);this.hooks.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:e.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook(ns.ADD_INSPECTOR,{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&DM(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){zs.highPerfModeEnabled||this.hooks.callHook(ns.SEND_INSPECTOR_TREE,{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){zs.highPerfModeEnabled||this.hooks.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,e){this.hooks.callHook(ns.CUSTOM_INSPECTOR_SELECT_NODE,{inspectorId:t,nodeId:e,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook(li.VISIT_COMPONENT_TREE,t)}now(){return zs.highPerfModeEnabled?0:Date.now()}addTimelineLayer(t){this.hooks.callHook(ns.TIMELINE_LAYER_ADDED,{options:t,plugin:this.plugin})}addTimelineEvent(t){zs.highPerfModeEnabled||this.hooks.callHook(ns.TIMELINE_EVENT_ADDED,{options:t,plugin:this.plugin})}getSettings(t){return C7(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook(ns.GET_COMPONENT_INSTANCES,{app:t})}getComponentBounds(t){return this.hooks.callHook(ns.GET_COMPONENT_BOUNDS,{instance:t})}getComponentName(t){return this.hooks.callHook(ns.GET_COMPONENT_NAME,{instance:t})}highlightElement(t){const e=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook(ns.COMPONENT_HIGHLIGHT,{uid:e})}unhighlightElement(){return this.hooks.callHook(ns.COMPONENT_UNHIGHLIGHT)}};const $M=FM,UM=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"]),f9=/^\[native Symbol Symbol\((.*)\)\]$/,GM=/^\[object (\w+)\]$/,Fp=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,WM=/^(?:function|class) (\w+)/,d9=1e4,m9=5e3,t1="__vue_devtool_undefined__",Ku="__vue_devtool_infinity__",Xu="__vue_devtool_negative_infinity__",Yu="__vue_devtool_nan__",qM={"<":"<",">":">",'"':""","&":"&"};function S7(t){return!Yi(t,"_")||!jh(t._)?!1:Object.keys(t._).includes("vnode")}function jh(t){return Object.prototype.toString.call(t)==="[object Object]"}function KM(t){if(t==null)return!0;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}function E7(t){return!!t.__v_isRef}function XM(t){return E7(t)&&!!t.effect}function YM(t){return!!t.__v_isReactive}function JM(t){return!!t.__v_isReadonly}const $p={[t1]:"undefined",[Yu]:"NaN",[Ku]:"Infinity",[Xu]:"-Infinity"},Ed=Object.entries($p).reduce((t,[e,n])=>(t[n]=e,t),{});function QM(t){return t===null?"null":typeof t=="string"&&$p[t]||!1}function ZM(t){const e=new RegExp(`"(${Object.keys($p).join("|")})"`,"g");return t.replace(e,(n,r)=>$p[r])}function eP(t){const e=Ed[t.trim()];if(e)return`"${e}"`;const n=new RegExp(`:\\s*(${Object.keys(Ed).join("|")})`,"g");return t.replace(n,(r,a)=>`:"${Ed[a]}"`)}function x7(t){if(Array.isArray(t))return t.map(n=>x7(n)).join(" or ");if(t==null)return"null";const e=t.toString().match(WM);return typeof t=="function"&&e&&e[1]||"any"}function tP(t){return!KM(t)&&!Array.isArray(t)&&!jh(t)?Object.prototype.toString.call(t):t}function w7(t){try{return{ref:E7(t),computed:XM(t),reactive:YM(t),readonly:JM(t)}}catch{return{ref:!1,computed:!1,reactive:!1,readonly:!1}}}function T7(t){return t?.__v_raw?t.__v_raw:t}function Bh(t){return t.replace(/[<>"&]/g,e=>qM[e]||e)}function Up(t,e,n){if(typeof e=="function"&&(e=e.options),!e)return t;const{mixins:r,extends:a}=e;a&&Up(t,a),r&&r.forEach(i=>Up(t,i));for(const i of["computed","inject"])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]?Object.assign(t[i],e[i]):t[i]=e[i]);return t}function rP(t){const e=t?.type;if(!e)return{};const{mixins:n,extends:r}=e,a=t.appContext.mixins;if(!a.length&&!n&&!r)return e;const i={};return a.forEach(s=>Up(i,s)),Up(i,e),i}function nP(t){const e=[],n=t?.type?.props;for(const r in t?.props){const a=n?n[r]:null,i=hw(r);e.push({type:"props",key:i,value:Qa(()=>t.props[r]),editable:!0,meta:a?{type:a.type?x7(a.type):"any",required:!!a.required,...a.default?{default:a.default.toString()}:{}}:{type:"invalid"}})}return e}function sP(t){const e=t.type,n=e?.props,r=e.vuex&&e.vuex.getters,a=e.computed,i={...t.data,...t.renderContext};return Object.keys(i).filter(s=>!(n&&s in n)&&!(r&&s in r)&&!(a&&s in a)).map(s=>({key:s,type:"data",value:Qa(()=>i[s]),editable:!0}))}function iP(t){const e=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null;return{stateType:e,stateTypeName:e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:null}}function oP(t){const e=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(n=>!UM.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{const r=Qa(()=>T7(t.setupState[n])),a=r instanceof Error,i=e[n];let s,o=a||typeof r=="function"||Yi(r,"render")&&typeof r.render=="function"||Yi(r,"__asyncLoader")&&typeof r.__asyncLoader=="function"||typeof r=="object"&&r&&("setup"in r||"props"in r)||/^v[A-Z]/.test(n);if(i&&!a){const l=w7(i),{stateType:p,stateTypeName:u}=iP(l),h=l.ref||l.computed||l.reactive,d=Yi(i,"effect")?i.effect?.raw?.toString()||i.effect?.fn?.toString():null;p&&(o=!1),s={...p?{stateType:p,stateTypeName:u}:{},...d?{raw:d}:{},editable:h&&!l.readonly}}return{key:n,value:r,type:o?"setup (other)":"setup",...s}})}function aP(t,e){const n=e,r=[],a=n.computed||{};for(const i in a){const s=a[i],o=typeof s=="function"&&s.vuex?"vuex bindings":"computed";r.push({type:o,key:i,value:Qa(()=>t?.proxy?.[i]),editable:typeof s.set=="function"})}return r}function lP(t){return Object.keys(t.attrs).map(e=>({type:"attrs",key:e,value:Qa(()=>t.attrs[e])}))}function cP(t){return Reflect.ownKeys(t.provides).map(e=>({type:"provided",key:e.toString(),value:Qa(()=>t.provides[e])}))}function uP(t,e){if(!e?.inject)return[];let n=[],r;return Array.isArray(e.inject)?n=e.inject.map(a=>({key:a,originalKey:a})):n=Reflect.ownKeys(e.inject).map(a=>{const i=e.inject[a];let s;return typeof i=="string"||typeof i=="symbol"?s=i:(s=i.from,r=i.default),{key:a,originalKey:s}}),n.map(({key:a,originalKey:i})=>({type:"injected",key:i&&a!==i?`${i.toString()} ➞ ${a.toString()}`:a.toString(),value:Qa(()=>t.ctx.hasOwnProperty(a)?t.ctx[a]:t.provides.hasOwnProperty(i)?t.provides[i]:r)}))}function pP(t){return Object.keys(t.refs).map(e=>({type:"template refs",key:e,value:Qa(()=>t.refs[e])}))}function hP(t){const e=t.type.emits,n=Array.isArray(e)?e:Object.keys(e??{}),r=Object.keys(t?.vnode?.props??{}),a=[];for(const i of r){const[s,...o]=i.split(/(?=[A-Z])/);if(s==="on"){const l=o.join("-").toLowerCase(),p=n.includes(l);a.push({type:"event listeners",key:l,value:{_custom:{displayText:p?"✅ Declared":"⚠️ Not declared",key:p?"✅ Declared":"⚠️ Not declared",value:p?"✅ Declared":"⚠️ Not declared",tooltipText:p?null:`The event ${l} is not declared in the emits option. It will leak into the component's attributes ($attrs).`}}})}}return a}function fP(t){const e=rP(t);return nP(t).concat(sP(t),oP(t),aP(t,e),lP(t),cP(t),uP(t,e),pP(t),hP(t))}Gt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__??=new Set;function dP(t,e){const[n,r]=t;if(n.app!==e)return;const a=new $M({plugin:{setupFn:r,descriptor:n},ctx:qa});n.packageName==="vuex"&&a.on.editInspectorState(i=>{a.sendInspectorState(i.inspectorId)}),r(a)}function A7(t,e){Gt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||zs.highPerfModeEnabled&&!e?.inspectingComponent||(Gt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),bm.forEach(n=>{dP(n,t)}))}const Gp="__VUE_DEVTOOLS_ROUTER__",yu="__VUE_DEVTOOLS_ROUTER_INFO__";Gt[yu]??={currentRoute:null,routes:[]};Gt[Gp]??={};const mP=new Proxy(Gt[yu],{get(t,e){return Gt[yu][e]}}),g9=new Proxy(Gt[Gp],{get(t,e){if(e==="value")return Gt[Gp]}});function gP(t){const e=new Map;return(t?.getRoutes()||[]).filter(n=>!e.has(n.path)&&e.set(n.path,1))}function Sm(t){return t.map(e=>{let{path:n,name:r,children:a,meta:i}=e;return a?.length&&(a=Sm(a)),{path:n,name:r,children:a,meta:i}})}function vP(t){if(t){const{fullPath:e,hash:n,href:r,path:a,name:i,matched:s,params:o,query:l}=t;return{fullPath:e,hash:n,href:r,path:a,name:i,params:o,query:l,matched:Sm(s)}}return t}function yP(t,e){function n(){const r=t.app?.config.globalProperties.$router,a=vP(r?.currentRoute.value),i=Sm(gP(r)),s=console.warn;console.warn=()=>{},Gt[yu]={currentRoute:a?i0(a):{},routes:i0(i)},Gt[Gp]=r,console.warn=s}n(),BM.on.componentUpdated(Pl(()=>{e.value?.app===t.app&&(n(),!zs.highPerfModeEnabled&&qa.hooks.callHook(Ai.ROUTER_INFO_UPDATED,{state:Gt[yu]}))},200))}function bP(t){return{async getInspectorTree(e){const n={...e,app:Us.value.app,rootNodes:[]};return await new Promise(r=>{t.callHookWith(async a=>{await Promise.all(a.map(i=>i(n))),r()},li.GET_INSPECTOR_TREE)}),n.rootNodes},async getInspectorState(e){const n={...e,app:Us.value.app,state:null},r={currentTab:`custom-inspector:${e.inspectorId}`};return await new Promise(a=>{t.callHookWith(async i=>{await Promise.all(i.map(s=>s(n,r))),a()},li.GET_INSPECTOR_STATE)}),n.state},editInspectorState(e){const n=new SM,r={...e,app:Us.value.app,set:(a,i=e.path,s=e.state.value,o)=>{n.set(a,i,s,o||n.createDefaultSetCallback(e.state))}};t.callHookWith(a=>{a.forEach(i=>i(r))},li.EDIT_INSPECTOR_STATE)},sendInspectorState(e){const n=Ra(e);t.callHook(ns.SEND_INSPECTOR_STATE,{inspectorId:e,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return mM()},cancelInspectComponentInspector(){return dM()},getComponentRenderCode(e){const n=T0(Us.value,e);if(n)return typeof n?.type!="function"?n.render.toString():n.type.toString()},scrollToComponent(e){return gM({id:e})},openInEditor:VM,getVueInspector:bM,toggleApp(e,n){const r=qu.value.find(a=>a.id===e);r&&(zM(e),kM(r),yP(r,Us),y7(),A7(r.app,n))},inspectDOM(e){const n=T0(Us.value,e);if(n){const[r]=hm(n);r&&(Gt.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(e,n,r){RM(e,n,r)},getPluginSettings(e){return{options:HM(e),values:C7(e)}}}}Gt.__VUE_DEVTOOLS_ENV__??={vitePluginDetected:!1};const v9=PM();Gt.__VUE_DEVTOOLS_KIT_CONTEXT__??={hooks:v9,get state(){return{...zs,activeAppRecordId:Us.id,activeAppRecord:Us.value,appRecords:qu.value}},api:bP(v9)};const qa=Gt.__VUE_DEVTOOLS_KIT_CONTEXT__;var CP=o7({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js":((t,e)=>{(function(n){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"},a=["်","ް"],i={"ာ":"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"},s={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"}},o={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(""),p=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),h=function(C,S){var x="-",g="",w="",y=!0,_={},T,O,I,z,G,W,F,N,$,H,R,K,ie,he,Le="";if(typeof C!="string")return"";if(typeof S=="string"&&(x=S),F=o.en,N=s.en,typeof S=="object"){T=S.maintainCase||!1,_=S.custom&&typeof S.custom=="object"?S.custom:_,I=+S.truncate>1&&S.truncate||!1,z=S.uric||!1,G=S.uricNoSlash||!1,W=S.mark||!1,y=!(S.symbols===!1||S.lang===!1),x=S.separator||x,z&&(Le+=l),G&&(Le+=p),W&&(Le+=u),F=S.lang&&o[S.lang]&&y?o[S.lang]:y?o.en:{},N=S.lang&&s[S.lang]?s[S.lang]:S.lang===!1||S.lang===!0?{}:s.en,S.titleCase&&typeof S.titleCase.length=="number"&&Array.prototype.toString.call(S.titleCase)?(S.titleCase.forEach(function(X){_[X+""]=X+""}),O=!0):O=!!S.titleCase,S.custom&&typeof S.custom.length=="number"&&Array.prototype.toString.call(S.custom)&&S.custom.forEach(function(X){_[X+""]=X+""}),Object.keys(_).forEach(function(X){var Q;X.length>1?Q=new RegExp("\\b"+m(X)+"\\b","gi"):Q=new RegExp(m(X),"gi"),C=C.replace(Q,_[X])});for(R in _)Le+=R}for(Le+=x,Le=m(Le),C=C.replace(/(^\s+|\s+$)/g,""),ie=!1,he=!1,H=0,K=C.length;H=0?(w+=R,R=""):he===!0?(R=i[w]+r[R],w=""):R=ie&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],ie=!1,he=!1):R in i?(w+=R,R="",H===K-1&&(R=i[w]),he=!0):F[R]&&!(z&&l.indexOf(R)!==-1)&&!(G&&p.indexOf(R)!==-1)?(R=ie||g.substr(-1).match(/[A-Za-z0-9]/)?x+F[R]:F[R],R+=C[H+1]!==void 0&&C[H+1].match(/[A-Za-z0-9]/)?x:"",ie=!0):(he===!0?(R=i[w]+R,w="",he=!1):ie&&(/[A-Za-z0-9]/.test(R)||g.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),ie=!1),g+=R.replace(new RegExp("[^\\w\\s"+Le+"_-]","g"),x);return O&&(g=g.replace(/(\w)(\S*)/g,function(X,Q,fe){var Ce=Q.toUpperCase()+(fe!==null?fe:"");return Object.keys(_).indexOf(Ce.toLowerCase())<0?Ce:Ce.toLowerCase()})),g=g.replace(/\s+/g,x).replace(new RegExp("\\"+x+"+","g"),x).replace(new RegExp("(^\\"+x+"+|\\"+x+"+$)","g"),""),I&&g.length>I&&($=g.charAt(I)===x,g=g.slice(0,I),$||(g=g.slice(0,g.lastIndexOf(x)))),!T&&!O&&(g=g.toLowerCase()),g},d=function(C){return function(x){return h(x,C)}},m=function(C){return C.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(v,C){for(var S in C)if(C[S]===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(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=h,n.createSlug=d}catch{}})(t)})}),SP=o7({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js":((t,e)=>{e.exports=CP()})});SP();Gt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__??={id:0,appIds:new Set};function EP(t){zs.highPerfModeEnabled=t??!zs.highPerfModeEnabled,!t&&Us.value&&A7(Us.value.app)}function xP(t){const e=new Set,n=t._custom.value;for(let r=0;r"${r?.string?`${z1(t)}`:z1(t)}"`:t=r?.string?`${z1(t)}`:z1(t)}return t}function z1(t){return Bh(t).replace(/ /g," ").replace(/\n/g,"\\n")}function Em(t){let e;const n=bu(t)==="custom";let r={};if(n){const a=t,i=a._custom?.value,s=a._custom?.type,o=typeof i=="object"&&i!==null&&"_custom"in i?Em(i):{inherit:void 0,value:void 0,customType:void 0};r=o.inherit||a._custom?.fields||{},t=o.value||i,e=o.customType||s}return t&&t._isArray&&(t=t.items),{value:t,inherit:r,customType:e}}function TP(t,e){return e==="bigint"||e==="date"?t:ZM(JSON.stringify(t))}function fp(t,e){return e==="bigint"?BigInt(t):e==="date"?new Date(t):JSON.parse(eP(t),_7)}function P7(t){zs.devtoolsClientDetected={...zs.devtoolsClientDetected,...t},EP(!Object.values(zs.devtoolsClientDetected).some(Boolean))}Gt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__??=P7;var AP=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(t,e){this.keyToValue.set(t,e),this.valueToKey.set(e,t)}getByKey(t){return this.keyToValue.get(t)}getByValue(t){return this.valueToKey.get(t)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},L7=class{constructor(e){this.generateIdentifier=e,this.kv=new AP}register(e,n){this.kv.getByValue(e)||(n||(n=this.generateIdentifier(e)),this.kv.set(n,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},_P=class extends L7{constructor(){super(t=>t.name),this.classToAllowedProps=new Map}register(t,e){typeof e=="object"?(e.allowProps&&this.classToAllowedProps.set(t,e.allowProps),super.register(t,e.identifier)):super.register(t,e)}getAllowedProps(t){return this.classToAllowedProps.get(t)}};function MP(t){if("values"in Object)return Object.values(t);const e=[];for(const n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e}function PP(t,e){const n=MP(t);if("find"in n)return n.find(e);const r=n;for(let a=0;ae(r,n))}function dp(t,e){return t.indexOf(e)!==-1}function y9(t,e){for(let n=0;ne.isApplicable(t))}findByName(t){return this.transfomers[t]}};const OP=t=>Object.prototype.toString.call(t).slice(8,-1),O7=t=>typeof t>"u",IP=t=>t===null,Cu=t=>typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype,P0=t=>Cu(t)&&Object.keys(t).length===0,Ka=t=>Array.isArray(t),kP=t=>typeof t=="string",zP=t=>typeof t=="number"&&!isNaN(t),NP=t=>typeof t=="boolean",VP=t=>t instanceof RegExp,Su=t=>t instanceof Map,Eu=t=>t instanceof Set,I7=t=>OP(t)==="Symbol",HP=t=>t instanceof Date&&!isNaN(t.valueOf()),DP=t=>t instanceof Error,b9=t=>typeof t=="number"&&isNaN(t),RP=t=>NP(t)||IP(t)||O7(t)||zP(t)||kP(t)||I7(t),jP=t=>typeof t=="bigint",BP=t=>t===1/0||t===-1/0,FP=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),$P=t=>t instanceof URL,k7=t=>t.replace(/\./g,"\\."),xd=t=>t.map(String).map(k7).join("."),Q1=t=>{const e=[];let n="";for(let a=0;anull,()=>{}),Co(jP,"bigint",t=>t.toString(),t=>typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),Co(HP,"Date",t=>t.toISOString(),t=>new Date(t)),Co(DP,"Error",(t,e)=>{const n={name:t.name,message:t.message};return e.allowedErrorProps.forEach(r=>{n[r]=t[r]}),n},(t,e)=>{const n=new Error(t.message);return n.name=t.name,n.stack=t.stack,e.allowedErrorProps.forEach(r=>{n[r]=t[r]}),n}),Co(VP,"regexp",t=>""+t,t=>{const e=t.slice(1,t.lastIndexOf("/")),n=t.slice(t.lastIndexOf("/")+1);return new RegExp(e,n)}),Co(Eu,"set",t=>[...t.values()],t=>new Set(t)),Co(Su,"map",t=>[...t.entries()],t=>new Map(t)),Co(t=>b9(t)||BP(t),"number",t=>b9(t)?"NaN":t>0?"Infinity":"-Infinity",Number),Co(t=>t===0&&1/t===-1/0,"number",()=>"-0",Number),Co($P,"URL",t=>t.toString(),t=>new URL(t))];function $h(t,e,n,r){return{isApplicable:t,annotation:e,transform:n,untransform:r}}const N7=$h((t,e)=>I7(t)?!!e.symbolRegistry.getIdentifier(t):!1,(t,e)=>["symbol",e.symbolRegistry.getIdentifier(t)],t=>t.description,(t,e,n)=>{const r=n.symbolRegistry.getValue(e[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),UP=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,e)=>(t[e.name]=e,t),{}),V7=$h(FP,t=>["typed-array",t.constructor.name],t=>[...t],(t,e)=>{const n=UP[e[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(t)});function H7(t,e){return t?.constructor?!!e.classRegistry.getIdentifier(t.constructor):!1}const D7=$h(H7,(t,e)=>["class",e.classRegistry.getIdentifier(t.constructor)],(t,e)=>{const n=e.classRegistry.getAllowedProps(t.constructor);if(!n)return{...t};const r={};return n.forEach(a=>{r[a]=t[a]}),r},(t,e,n)=>{const r=n.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),t)}),R7=$h((t,e)=>!!e.customTransformerRegistry.findApplicable(t),(t,e)=>["custom",e.customTransformerRegistry.findApplicable(t).name],(t,e)=>e.customTransformerRegistry.findApplicable(t).serialize(t),(t,e,n)=>{const r=n.customTransformerRegistry.findByName(e[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(t)}),GP=[D7,N7,R7,V7],C9=(t,e)=>{const n=y9(GP,a=>a.isApplicable(t,e));if(n)return{value:n.transform(t,e),type:n.annotation(t,e)};const r=y9(z7,a=>a.isApplicable(t,e));if(r)return{value:r.transform(t,e),type:r.annotation}},j7={};z7.forEach(t=>{j7[t.annotation]=t});const WP=(t,e,n)=>{if(Ka(e))switch(e[0]){case"symbol":return N7.untransform(t,e,n);case"class":return D7.untransform(t,e,n);case"custom":return R7.untransform(t,e,n);case"typed-array":return V7.untransform(t,e,n);default:throw new Error("Unknown transformation: "+e)}else{const r=j7[e];if(!r)throw new Error("Unknown transformation: "+e);return r.untransform(t,n)}},Ac=(t,e)=>{if(e>t.size)throw new Error("index out of bounds");const n=t.keys();for(;e>0;)n.next(),e--;return n.next().value};function B7(t){if(dp(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(dp(t,"prototype"))throw new Error("prototype is not allowed as a property");if(dp(t,"constructor"))throw new Error("constructor is not allowed as a property")}const qP=(t,e)=>{B7(e);for(let n=0;n{if(B7(e),e.length===0)return n(t);let r=t;for(let i=0;iO0(i,e,[...n,...Q1(s)]));return}const[r,a]=t;a&&Gc(a,(i,s)=>{O0(i,e,[...n,...Q1(s)])}),e(r,n)}function KP(t,e,n){return O0(e,(r,a)=>{t=L0(t,a,i=>WP(i,r,n))}),t}function XP(t,e){function n(r,a){const i=qP(t,Q1(a));r.map(Q1).forEach(s=>{t=L0(t,s,()=>i)})}if(Ka(e)){const[r,a]=e;r.forEach(i=>{t=L0(t,Q1(i),()=>t)}),a&&Gc(a,n)}else Gc(e,n);return t}const YP=(t,e)=>Cu(t)||Ka(t)||Su(t)||Eu(t)||H7(t,e);function JP(t,e,n){const r=n.get(t);r?r.push(e):n.set(t,[e])}function QP(t,e){const n={};let r;return t.forEach(a=>{if(a.length<=1)return;e||(a=a.map(o=>o.map(String)).sort((o,l)=>o.length-l.length));const[i,...s]=a;i.length===0?r=s.map(xd):n[xd(i)]=s.map(xd)}),r?P0(n)?[r]:[r,n]:P0(n)?void 0:n}const F7=(t,e,n,r,a=[],i=[],s=new Map)=>{const o=RP(t);if(!o){JP(t,a,e);const m=s.get(t);if(m)return r?{transformedValue:null}:m}if(!YP(t,n)){const m=C9(t,n),f=m?{transformedValue:m.value,annotations:[m.type]}:{transformedValue:t};return o||s.set(t,f),f}if(dp(i,t))return{transformedValue:null};const l=C9(t,n),p=l?.value??t,u=Ka(p)?[]:{},h={};Gc(p,(m,f)=>{if(f==="__proto__"||f==="constructor"||f==="prototype")throw new Error(`Detected property ${f}. This is a prototype pollution risk, please remove it from your object.`);const v=F7(m,e,n,r,[...a,f],[...i,t],s);u[f]=v.transformedValue,Ka(v.annotations)?h[f]=v.annotations:Cu(v.annotations)&&Gc(v.annotations,(C,S)=>{h[k7(f)+"."+S]=C})});const d=P0(h)?{transformedValue:u,annotations:l?[l.type]:void 0}:{transformedValue:u,annotations:l?[l.type,h]:h};return o||s.set(t,d),d};function $7(t){return Object.prototype.toString.call(t).slice(8,-1)}function S9(t){return $7(t)==="Array"}function ZP(t){if($7(t)!=="Object")return!1;const e=Object.getPrototypeOf(t);return!!e&&e.constructor===Object&&e===Object.prototype}function eL(t,e,n,r,a){const i={}.propertyIsEnumerable.call(r,e)?"enumerable":"nonenumerable";i==="enumerable"&&(t[e]=n),a&&i==="nonenumerable"&&Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})}function I0(t,e={}){if(S9(t))return t.map(a=>I0(a,e));if(!ZP(t))return t;const n=Object.getOwnPropertyNames(t),r=Object.getOwnPropertySymbols(t);return[...n,...r].reduce((a,i)=>{if(S9(e.props)&&!e.props.includes(i))return a;const s=t[i];return eL(a,i,I0(s,e),t,e.nonenumerable),a},{})}var kr=class{constructor({dedupe:t=!1}={}){this.classRegistry=new _P,this.symbolRegistry=new L7(e=>e.description??""),this.customTransformerRegistry=new LP,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const e=new Map,n=F7(t,e,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const a=QP(e,this.dedupe);return a&&(r.meta={...r.meta,referentialEqualities:a}),r}deserialize(t){const{json:e,meta:n}=t;let r=I0(e);return n?.values&&(r=KP(r,n.values,this)),n?.referentialEqualities&&(r=XP(r,n.referentialEqualities)),r}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,e){this.classRegistry.register(t,e)}registerSymbol(t,e){this.symbolRegistry.register(t,e)}registerCustom(t,e){this.customTransformerRegistry.register({name:e,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};kr.defaultInstance=new kr;kr.serialize=kr.defaultInstance.serialize.bind(kr.defaultInstance);kr.deserialize=kr.defaultInstance.deserialize.bind(kr.defaultInstance);kr.stringify=kr.defaultInstance.stringify.bind(kr.defaultInstance);kr.parse=kr.defaultInstance.parse.bind(kr.defaultInstance);kr.registerClass=kr.defaultInstance.registerClass.bind(kr.defaultInstance);kr.registerSymbol=kr.defaultInstance.registerSymbol.bind(kr.defaultInstance);kr.registerCustom=kr.defaultInstance.registerCustom.bind(kr.defaultInstance);kr.allowErrorProps=kr.defaultInstance.allowErrorProps.bind(kr.defaultInstance);kr.serialize;kr.deserialize;kr.stringify;kr.parse;kr.registerClass;kr.registerCustom;kr.registerSymbol;kr.allowErrorProps;const E9="__devtools-kit-broadcast-messaging-event-key__",tL="__devtools-kit:broadcast-channel__";function x9(){const t=new BroadcastChannel(tL);return{post:e=>{t.postMessage(kr.stringify({event:E9,data:e}))},on:e=>{t.onmessage=n=>{const r=kr.parse(n.data);r.event===E9&&e(r.data)}}}}const rL="electron:client-context",nL="electron:proxy-context",sL="electron:server-context",Na={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function iL(){return Gt[rL]}function oL(){return Gt[nL]}function aL(){return Gt[sL]}function lL(){const t=iL();return{post:e=>{t.emit(Na.CLIENT_TO_PROXY,kr.stringify(e))},on:e=>{t.on(Na.PROXY_TO_CLIENT,n=>{e(kr.parse(n))})}}}function cL(){const t=oL();return{post:e=>{},on:e=>{t.on(Na.SERVER_TO_PROXY,n=>{t.broadcast.emit(Na.PROXY_TO_CLIENT,n)}),t.on(Na.CLIENT_TO_PROXY,n=>{t.broadcast.emit(Na.PROXY_TO_SERVER,n)})}}}function uL(){const t=aL();return{post:e=>{t.emit(Na.SERVER_TO_PROXY,kr.stringify(e))},on:e=>{t.on(Na.PROXY_TO_SERVER,n=>{e(kr.parse(n))})}}}const pL="electron:client-context",Wp={PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function hL(t){Gt[pL]=t}function fL(){let t=!1,e=null,n=null,r=null;function a(){try{clearTimeout(n),e=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),hL(e),t=!1,e?.onMessage.addListener(r),e.onDisconnect.addListener(()=>{t=!0,e?.onMessage.removeListener(r),n=setTimeout(a,1e3)})}catch{t=!0}}return a(),{post:i=>{t||e?.postMessage(kr.stringify(i))},on:i=>{r=s=>{t||i(kr.parse(s))},e?.onMessage.addListener(r)}}}function dL(){const t=chrome.runtime.connect({name:"content-script"});function e(r){window.postMessage({source:Wp.PROXY_TO_SERVER,payload:r},"*")}function n(r){if(r.data&&r.data.source===Wp.SERVER_TO_PROXY)try{t.postMessage(r.data.payload)}catch{}}return t.onMessage.addListener(e),window.addEventListener("message",n),t.onDisconnect.addListener(()=>{window.removeEventListener("message",n),e(kr.stringify({event:"shutdown"}))}),e(kr.stringify({event:"init"})),{post:r=>{},on:r=>{}}}function mL(){return{post:t=>{window.postMessage({source:Wp.SERVER_TO_PROXY,payload:kr.stringify(t)},"*")},on:t=>{const e=n=>{n.data.source===Wp.PROXY_TO_SERVER&&n.data.payload&&t(kr.parse(n.data.payload))};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}}}const qp="__devtools-kit-iframe-messaging-event-key__",gL="iframe:server-context";function w9(){return Gt[gL]}function vL(){return Du?{post:t=>window.parent.postMessage(kr.stringify({event:qp,data:t}),"*"),on:t=>window.addEventListener("message",e=>{try{const n=kr.parse(e.data);e.source===window.parent&&n.event===qp&&t(n.data)}catch{}})}:{post:t=>{},on:t=>{}}}function yL(){return Du?{post:t=>{w9()?.contentWindow?.postMessage(kr.stringify({event:qp,data:t}),"*")},on:t=>{window.addEventListener("message",e=>{const n=w9();try{const r=kr.parse(e.data);e.source===n?.contentWindow&&r.event===qp&&t(r.data)}catch{}})}}:{post:t=>{},on:t=>{}}}const Kp="__devtools-kit-vite-messaging-event-key__",U7="vite:client-context",bL="vite:server-context";function CL(){return Gt[U7]}function SL(t){Gt[U7]=t}function EL(){return Gt[bL]}function xL(){const t=CL();return{post:e=>{t?.send(Kp,kr.stringify(e))},on:e=>{t?.on(Kp,n=>{e(kr.parse(n))})}}}function wL(){const t=EL(),e=t.hot??t.ws;return{post:n=>e?.send(Kp,kr.stringify(n)),on:n=>e?.on(Kp,r=>{n(kr.parse(r))})}}Gt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__??=[];Gt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__??=null;Gt.__VUE_DEVTOOLS_KIT_RPC_SERVER__??=null;Gt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__??=null;Gt.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__??=null;Gt.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__??=null;function TL(t){Gt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=t}function AL(){return Gt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function G7(){return Gt.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function _L(t){Gt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=t}function ML(){return Gt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function PL(t,e="client"){const n={iframe:{client:vL,server:yL}[e],electron:{client:lL,proxy:cL,server:uL}[e],vite:{client:xL,server:wL}[e],broadcast:{client:x9,server:x9}[e],extension:{client:fL,proxy:dL,server:mL}[e]}[t];return n()}function k0(t,e={}){const{channel:n,options:r,preset:a}=e,i=a?PL(a):n,s=Pw(t,{...r,...i,timeout:-1});if(a==="vite"){_L(s);return}return TL(s),s}function LL(t){let e="",n=null;try{e=Function.prototype.toString.call(t),n=String.prototype.match.call(e,/\([\s\S]*?\)/)}catch{}const r=n&&n[0],a=typeof r=="string"?r:"(?)";return{_custom:{type:"function",displayText:`function ${Bh(typeof t.name=="string"?t.name:"")}${a}`,tooltipText:e.trim()?`
${e}
`:null}}}function OL(t){const e=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${e})`,value:e}}}function IL(t){const e=new Date(t.getTime());return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(t),value:e.toISOString().slice(0,-1)}}}function kL(t){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(t),readOnly:!0,fields:{abstract:!0}}}}function zL(t){const e=Array.from(t);return{_custom:{type:"set",displayText:`Set[${e.length}]`,value:e,readOnly:!0}}}function NL(t){const e={},n=t.getters||{},r=Object.keys(n);for(let a=0;a{try{return n[i]}catch(s){return s}}})}return e}function VL(t){if(t.length)return t.reduce((e,n)=>{const r=n.type||"data",a=e[r]=e[r]||{};return a[n.key]=n.value,e},{})}function HL(t){const e={},n=t.length;for(let r=0;r(${t.__file})`):e="Unknown Component",{_custom:{type:"component-definition",displayText:e,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function FL(t){try{return{_custom:{type:"HTMLElement",displayText:`<${t.tagName.toLowerCase()}>`,value:HL(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`${String(t)}`}}}}function $L(t){if(Yi(t,"_value",!0))return t._value;if(Yi(t,"value",!0))return t.value}function UL(t){const e=w7(t);if(e.ref||e.computed||e.reactive){const n=e.computed?"Computed":e.ref?"Ref":e.reactive?"Reactive":null,r=T7(e.reactive?t:$L(t)),a=Yi(t,"effect")?t.effect?.raw?.toString()||t.effect?.fn?.toString():null;return{_custom:{type:n?.toLowerCase(),stateTypeName:n,value:r,...a?{tooltipText:`${a}`}:{}}}}if(Yi(t,"__asyncLoader")&&typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function GL(t,e,n,r){if(t==="compilerOptions")return;const a=this[t],i=typeof a;if(Array.isArray(a)){const s=a.length;return s>m9?{_isArray:!0,length:s,items:a.slice(0,m9)}:a}else{if(typeof a=="string")return a.length>d9?`${a.substring(0,d9)}... (${a.length} total length)`:a;if(i==="undefined")return t1;if(a===Number.POSITIVE_INFINITY)return Ku;if(a===Number.NEGATIVE_INFINITY)return Xu;if(typeof a=="function")return LL(a);if(i==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(a)}]`;if(typeof a=="bigint")return OL(a);if(a!==null&&typeof a=="object"){const s=Object.prototype.toString.call(a);if(s==="[object Map]")return kL(a);if(s==="[object Set]")return zL(a);if(s==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(a)}]`;if(s==="[object Date]")return IL(a);if(s==="[object Error]")return`[native Error ${a.message}<>${a.stack}]`;if(Yi(a,"state",!0)&&Yi(a,"_vm",!0))return DL(a);if(a.constructor&&a.constructor.name==="VueRouter")return RL(a);if(S7(a)){const l=jL(a),p=r?.get(a);return p&&p`:(r?.set(a,n),l)}else{if(Yi(a,"render",!0)&&typeof a.render=="function")return BL(a);if(a.constructor&&a.constructor.name==="VNode")return`[native VNode <${a.tag}>]`;if(typeof HTMLElement<"u"&&a instanceof HTMLElement)return FL(a);if(a.constructor?.name==="Store"&&"_wrappedGetters"in a)return"[object Store]";if(Yi(a,"currentRoute",!0))return"[object Router]"}const o=UL(a);if(o!=null)return o}else if(Number.isNaN(a))return Yu}return tP(a)}const q2=2*1024*1024;function T9(t,e){return e==="[object Object]"}function WL(t,e){return e==="[object Array]"}function qL(t){const e=t?.constructor?.name;return e==="Dep"&&"activeLink"in t||e==="Link"&&"dep"in t}function z0(t,e,n,r,a=0,i=new Map){let s,o,l,p,u;const h=r.get(t);if(h!=null)return h;const d=n.length,m=Object.prototype.toString.call(t);if(T9(t,m)){if(qL(t))return d;s={},r.set(t,d),n.push(s);const f=Object.keys(t);for(p=0,u=f.length;pe?.(a,i)?.call(this),n)}catch{r=YL(t,e,n)}if(r.length>q2){const a=Math.ceil(r.length/q2),i=[];for(let s=0;s{const e={file:t};return $a&&(e.host="chrome-extension"),Yt.value.openInEditor(e)};function N0(t,e={},n){for(const r in t){const a=t[r],i=n?`${n}:${r}`:r;typeof a=="object"&&a!==null?N0(a,e,i):typeof a=="function"&&(e[i]=a)}return e}const QL={run:t=>t()},ZL=()=>QL,W7=typeof console.createTask<"u"?console.createTask:ZL;function eO(t,e){const n=W7(e.shift());return t.reduce((r,a)=>r.then(()=>n.run(()=>a(...e))),Promise.resolve())}function tO(t,e){const n=W7(e.shift());return Promise.all(t.map(r=>n.run(()=>r(...e))))}function wd(t,e){for(const n of[...t])n(e)}var rO=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(t,e,n={}){if(!t||typeof e!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!n.allowDeprecated){let i=a.message;i||(i=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!e.name)try{Object.defineProperty(e,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(e),()=>{e&&(this.removeHook(t,e),e=void 0)}}hookOnce(t,e){let n,r=(...a)=>(typeof n=="function"&&n(),n=void 0,r=void 0,e(...a));return n=this.hook(t,r),n}removeHook(t,e){if(this._hooks[t]){const n=this._hooks[t].indexOf(e);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,e){this._deprecatedHooks[t]=typeof e=="string"?{to:e}:e;const n=this._hooks[t]||[];delete this._hooks[t];for(const r of n)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const e in t)this.deprecateHook(e,t[e])}addHooks(t){const e=N0(t),n=Object.keys(e).map(r=>this.hook(r,e[r]));return()=>{for(const r of n.splice(0,n.length))r()}}removeHooks(t){const e=N0(t);for(const n in e)this.removeHook(n,e[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...e){return e.unshift(t),this.callHookWith(eO,t,...e)}callHookParallel(t,...e){return e.unshift(t),this.callHookWith(tO,t,...e)}callHookWith(t,e,...n){const r=this._before||this._after?{name:e,args:n,context:{}}:void 0;this._before&&wd(this._before,r);const a=t(e in this._hooks?[...this._hooks[e]]:[],n);return a instanceof Promise?a.finally(()=>{this._after&&r&&wd(this._after,r)}):(this._after&&r&&wd(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const e=this._before.indexOf(t);e!==-1&&this._before.splice(e,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const e=this._after.indexOf(t);e!==-1&&this._after.splice(e,1)}}}};function q7(){return new rO}const K2=q7();let Ln=(function(t){return t.INSPECTOR_TREE_UPDATED="inspector-tree-updated",t.INSPECTOR_STATE_UPDATED="inspector-state-updated",t.DEVTOOLS_STATE_UPDATED="devtools-state-updated",t.ROUTER_INFO_UPDATED="router-info-updated",t.TIMELINE_EVENT_UPDATED="timeline-event-updated",t.INSPECTOR_UPDATED="inspector-updated",t.ACTIVE_APP_UNMOUNTED="active-app-updated",t.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",t.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",t})({});function _9(){const t=as.ctx.state;return{connected:t.connected,clientConnected:!0,vueVersion:t?.activeAppRecord?.version||"",tabs:t.tabs,commands:t.commands,vitePluginDetected:t.vitePluginDetected,appRecords:t.appRecords.map(e=>({id:e.id,name:e.name,version:e.version,routerId:e.routerId,iframe:e.iframe})),activeAppRecordId:t.activeAppRecordId,timelineLayersState:t.timelineLayersState}}const M9={on:(t,e)=>{K2.hook(t,e)},off:(t,e)=>{K2.removeHook(t,e)},once:(t,e)=>{K2.hookOnce(t,e)},emit:(t,...e)=>{K2.callHook(t,...e)},heartbeat:()=>!0,devtoolsState:()=>_9(),async getInspectorTree(t){return N1(await as.ctx.api.getInspectorTree(t))},async getInspectorState(t){const e=Ra(t.inspectorId);return e&&(e.selectedNodeId=t.nodeId),N1(await as.ctx.api.getInspectorState(t))},async editInspectorState(t){return await as.ctx.api.editInspectorState(t)},sendInspectorState(t){return as.ctx.api.sendInspectorState(t)},inspectComponentInspector(){return as.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return as.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(t){return as.ctx.api.getComponentRenderCode(t)},scrollToComponent(t){return as.ctx.api.scrollToComponent(t)},inspectDOM(t){return as.ctx.api.inspectDOM(t)},getInspectorNodeActions(t){return h9(t)},getInspectorActions(t){return p9(t)},updateTimelineLayersState(t){return AM(t)},callInspectorNodeAction(t,e,n){const r=h9(t);r?.length&&r[e].action?.(n)},callInspectorAction(t,e){const n=p9(t);n?.length&&n[e].action?.()},openInEditor(t){return as.ctx.api.openInEditor(t)},async checkVueInspectorDetected(){return!!await as.ctx.api.getVueInspector()},async enableVueInspector(){const t=await as?.api?.getVueInspector?.();t&&await t.enable()},async toggleApp(t,e){return as.ctx.api.toggleApp(t,e)},updatePluginSettings(t,e,n){return as.ctx.api.updatePluginSettings(t,e,n)},getPluginSettings(t){return as.ctx.api.getPluginSettings(t)},getRouterInfo(){return mP},navigate(t){return g9.value?.push(t).catch(()=>({}))},getMatchedRoutes(t){const e=console.warn;console.warn=()=>{};const n=g9.value?.resolve?.({path:t||"/"}).matched??[];return console.warn=e,n},toggleClientConnected(t){NM(t)},getCustomInspector(){return vm()},getInspectorInfo(t){return MM(t)},highlighComponent(t){return as.ctx.hooks.callHook(ns.COMPONENT_HIGHLIGHT,{uid:t})},unhighlight(){return as.ctx.hooks.callHook(ns.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(t){P7(t)},initDevToolsServerListener(){const t=G7().broadcast;as.ctx.hooks.hook(Ai.SEND_INSPECTOR_TREE_TO_CLIENT,e=>{t.emit(Ln.INSPECTOR_TREE_UPDATED,N1(e))}),as.ctx.hooks.hook(Ai.SEND_INSPECTOR_STATE_TO_CLIENT,e=>{t.emit(Ln.INSPECTOR_STATE_UPDATED,N1(e))}),as.ctx.hooks.hook(Ai.DEVTOOLS_STATE_UPDATED,()=>{t.emit(Ln.DEVTOOLS_STATE_UPDATED,_9())}),as.ctx.hooks.hook(Ai.ROUTER_INFO_UPDATED,({state:e})=>{t.emit(Ln.ROUTER_INFO_UPDATED,e)}),as.ctx.hooks.hook(Ai.SEND_TIMELINE_EVENT_TO_CLIENT,e=>{t.emit(Ln.TIMELINE_EVENT_UPDATED,N1(e))}),as.ctx.hooks.hook(Ai.SEND_INSPECTOR_TO_CLIENT,e=>{t.emit(Ln.INSPECTOR_UPDATED,e)}),as.ctx.hooks.hook(Ai.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{t.emit(Ln.ACTIVE_APP_UNMOUNTED)})}},Yt=new Proxy({value:{},functions:{}},{get(t,e){const n=AL();if(e==="value")return n;if(e==="functions")return n.$functions}});new Proxy({value:{},functions:{}},{get(t,e){const n=G7();if(e==="value")return n;if(e==="functions")return n.functions}});function ta(t){let e=null,n=0;function r(){Yt.value?.heartbeat?.().then(()=>{t(),clearTimeout(e)}).catch(()=>{})}e=setInterval(()=>{n>=30&&clearTimeout(e),n++,r()},n*200+200),r()}const X2=q7(),nO={on:(t,e)=>{X2.hook(t,e)},off:(t,e)=>{X2.removeHook(t,e)},once:(t,e)=>{X2.hookOnce(t,e)},emit:(t,...e)=>{X2.callHook(t,...e)},heartbeat:()=>!0},sO=new Proxy({value:{},functions:{}},{get(t,e){const n=ML();if(e==="value")return n;if(e==="functions")return n?.$functions}});function vX(t){let e=null;function n(){sO.value?.heartbeat?.().then(()=>{clearTimeout(e),t()}).catch(()=>({})),e=setTimeout(()=>{n()},80)}n()}function iO(){k0(nO,{preset:"vite"})}const K7=Symbol.for("__VueDevToolsStateSymbol__");function oO(){return{install(t){const e=aO();e.getDevToolsState(),t.provide(K7,e),t.config.globalProperties.$getDevToolsState=e.getDevToolsState,t.config.globalProperties.$disconnectDevToolsClient=()=>{e.clientConnected.value=!1,e.connected.value=!1}}}}function aO(){const t=xt(!1),e=xt(!1),n=xt(""),r=xt([]),a=xt([]),i=xt(!1),s=xt([]),o=xt(""),l=xt({});function p(h){t.value=h.connected,e.value=h.clientConnected,n.value=h.vueVersion||"",r.value=h.tabs,a.value=h.commands,i.value=h.vitePluginDetected,s.value=h.appRecords,o.value=h.activeAppRecordId,l.value=h.timelineLayersState}function u(){ta(()=>{Yt.value.devtoolsState().then(h=>{p(h)}),Yt.functions.off(Ln.DEVTOOLS_STATE_UPDATED,p),Yt.functions.on(Ln.DEVTOOLS_STATE_UPDATED,p)})}return{getDevToolsState:u,connected:t,clientConnected:e,vueVersion:n,tabs:r,commands:a,vitePluginDetected:i,appRecords:s,activeAppRecordId:o,timelineLayersState:l}}function Dl(){return zn(K7)}const Sc=[];function lO(t){const{connected:e,clientConnected:n}=Dl();Sc.push(t),fi(()=>{Sc.splice(Sc.indexOf(t),1)});const r=pt(()=>n.value&&e.value);if(r.value)t();else{const a=Lr(r,i=>{i&&(t(),a())})}return()=>{Sc.splice(Sc.indexOf(t),1)}}function X7(){Sc.forEach(t=>t())}async function cO(t="/",e=!0){try{const n=`${t}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(n)}catch{e&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}/*! * vue-router v4.6.0 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ec=typeof document<"u";function Y7(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function uO(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Y7(t.default)}const ls=Object.assign;function Td(t,e){const n={};for(const r in e){const a=e[r];n[r]=ho(a)?a.map(t):t(a)}return n}const Z1=()=>{},ho=Array.isArray;function P9(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}const J7=/#/g,pO=/&/g,hO=/\//g,fO=/=/g,dO=/\?/g,Q7=/\+/g,mO=/%5B/g,gO=/%5D/g,Z7=/%5E/g,vO=/%60/g,eb=/%7B/g,yO=/%7C/g,tb=/%7D/g,bO=/%20/g;function xm(t){return t==null?"":encodeURI(""+t).replace(yO,"|").replace(mO,"[").replace(gO,"]")}function CO(t){return xm(t).replace(eb,"{").replace(tb,"}").replace(Z7,"^")}function V0(t){return xm(t).replace(Q7,"%2B").replace(bO,"+").replace(J7,"%23").replace(pO,"%26").replace(vO,"`").replace(eb,"{").replace(tb,"}").replace(Z7,"^")}function SO(t){return V0(t).replace(fO,"%3D")}function EO(t){return xm(t).replace(J7,"%23").replace(dO,"%3F")}function xO(t){return EO(t).replace(hO,"%2F")}function xu(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const wO=/\/$/,TO=t=>t.replace(wO,"");function Ad(t,e,n="/"){let r,a={},i="",s="";const o=e.indexOf("#");let l=e.indexOf("?");return l=o>=0&&l>o?-1:l,l>=0&&(r=e.slice(0,l),i=e.slice(l,o>0?o:e.length),a=t(i)),o>=0&&(r=r||e.slice(0,o),s=e.slice(o,e.length)),r=PO(r??e,n),{fullPath:r+i+s,path:r,query:a,hash:xu(s)}}function AO(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function _O(t,e,n){const r=e.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&Wc(e.matched[r],n.matched[a])&&rb(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Wc(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function rb(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!MO(t[n],e[n]))return!1;return!0}function MO(t,e){return ho(t)?L9(t,e):ho(e)?L9(e,t):t===e}function L9(t,e){return ho(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function PO(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const wa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let H0=(function(t){return t.pop="pop",t.push="push",t})({}),O9=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});const _d="";function LO(t){if(!t)if(Ec){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),TO(t)}const OO=/^[^#]+#/;function IO(t,e){return t.replace(OO,"#")+e}function kO(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const zO=()=>({left:window.scrollX,top:window.scrollY});function NO(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;e=kO(a,t)}else e=t;"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 I9(t,e){return(history.state?history.state.position-e:-1)+t}const D0=new Map;function VO(t,e){D0.set(t,e)}function HO(t){const e=D0.get(t);return D0.delete(t),e}function DO(t){return typeof t=="string"||t&&typeof t=="object"}function nb(t){return typeof t=="string"||typeof t=="symbol"}let Cs=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const sb=Symbol("");Cs.MATCHER_NOT_FOUND+"",Cs.NAVIGATION_GUARD_REDIRECT+"",Cs.NAVIGATION_ABORTED+"",Cs.NAVIGATION_CANCELLED+"",Cs.NAVIGATION_DUPLICATED+"";function qc(t,e){return ls(new Error,{type:t,[sb]:!0},e)}function Uo(t,e){return t instanceof Error&&sb in t&&(e==null||!!(t.type&e))}const RO=["params","query","hash"];function jO(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of RO)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}function BO(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;ra&&V0(a)):[r&&V0(r)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+n,a!=null&&(e+="="+a))})}return e}function FO(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=ho(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return e}const $O=Symbol(""),z9=Symbol(""),Uh=Symbol(""),wm=Symbol(""),R0=Symbol("");function V1(){let t=[];function e(r){return t.push(r),()=>{const a=t.indexOf(r);a>-1&&t.splice(a,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function ka(t,e,n,r,a,i=s=>s()){const s=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((o,l)=>{const p=d=>{d===!1?l(qc(Cs.NAVIGATION_ABORTED,{from:n,to:e})):d instanceof Error?l(d):DO(d)?l(qc(Cs.NAVIGATION_GUARD_REDIRECT,{from:e,to:d})):(s&&r.enterCallbacks[a]===s&&typeof d=="function"&&s.push(d),o())},u=i(()=>t.call(r&&r.instances[a],e,n,p));let h=Promise.resolve(u);t.length<3&&(h=h.then(p)),h.catch(d=>l(d))})}function Md(t,e,n,r,a=i=>i()){const i=[];for(const s of t)for(const o in s.components){let l=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(Y7(l)){const p=(l.__vccOpts||l)[e];p&&i.push(ka(p,n,r,s,o,a))}else{let p=l();i.push(()=>p.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${o}" at "${s.path}"`);const h=uO(u)?u.default:u;s.mods[o]=u,s.components[o]=h;const d=(h.__vccOpts||h)[e];return d&&ka(d,n,r,s,o,a)()}))}}return i}function UO(t,e){const n=[],r=[],a=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;sWc(p,o))?r.push(o):n.push(o));const l=t.matched[s];l&&(e.matched.find(p=>Wc(p,l))||a.push(l))}return[n,r,a]}/*! * vue-router v4.6.0 * (c) 2025 Eduardo San Martin Morote * @license MIT */function GO(t=""){let e=[],n=[[_d,{}]],r=0;t=LO(t);function a(o,l={}){r++,r!==n.length&&n.splice(r),n.push([o,l])}function i(o,l,{direction:p,delta:u}){const h={direction:p,delta:u,type:H0.pop};for(const d of e)d(o,l,h)}const s={location:_d,state:{},base:t,createHref:IO.bind(null,t),replace(o,l){n.splice(r--,1),a(o,l)},push(o,l){a(o,l)},listen(o){return e.push(o),()=>{const l=e.indexOf(o);l>-1&&e.splice(l,1)}},destroy(){e=[],n=[[_d,{}]],r=0},go(o,l=!0){const p=this.location,u=o<0?O9.back:O9.forward;r=Math.max(0,Math.min(r+o,n.length-1)),l&&i(this.location,p,{direction:u,delta:o})}};return Object.defineProperty(s,"location",{enumerable:!0,get:()=>n[r][0]}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>n[r][1]}),s}let Sl=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Vs=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Vs||{});const WO={type:Sl.Static,value:""},qO=/[a-zA-Z0-9_]/;function KO(t){if(!t)return[[]];if(t==="/")return[[WO]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${n})/"${p}": ${m}`)}let n=Vs.Static,r=n;const a=[];let i;function s(){i&&a.push(i),i=[]}let o=0,l,p="",u="";function h(){p&&(n===Vs.Static?i.push({type:Sl.Static,value:p}):n===Vs.Param||n===Vs.ParamRegExp||n===Vs.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Sl.Param,value:p,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),p="")}function d(){p+=l}for(;oe.length?e.length===1&&e[0]===bi.Static+bi.Segment?1:-1:0}function ib(t,e){let n=0;const r=t.score,a=e.score;for(;n0&&e[e.length-1]<0}const ZO={strict:!1,end:!0,sensitive:!1};function eI(t,e,n){const r=JO(KO(t.path),n),a=ls(r,{record:t,parent:e,children:[],alias:[]});return e&&!a.record.aliasOf==!e.record.aliasOf&&e.children.push(a),a}function tI(t,e){const n=[],r=new Map;e=P9(ZO,e);function a(h){return r.get(h)}function i(h,d,m){const f=!m,v=D9(h);v.aliasOf=m&&m.record;const C=P9(e,h),S=[v];if("alias"in h){const w=typeof h.alias=="string"?[h.alias]:h.alias;for(const y of w)S.push(D9(ls({},v,{components:m?m.record.components:v.components,path:y,aliasOf:m?m.record:v})))}let x,g;for(const w of S){const{path:y}=w;if(d&&y[0]!=="/"){const _=d.record.path,T=_[_.length-1]==="/"?"":"/";w.path=d.record.path+(y&&T+y)}if(x=eI(w,d,C),m?m.alias.push(x):(g=g||x,g!==x&&g.alias.push(x),f&&h.name&&!R9(x)&&s(h.name)),ob(x)&&l(x),v.children){const _=v.children;for(let T=0;T<_.length;T++)i(_[T],x,m&&m.children[T])}m=m||x}return g?()=>{s(g)}:Z1}function s(h){if(nb(h)){const d=r.get(h);d&&(r.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&r.delete(h.record.name),h.children.forEach(s),h.alias.forEach(s))}}function o(){return n}function l(h){const d=sI(h,n);n.splice(d,0,h),h.record.name&&!R9(h)&&r.set(h.record.name,h)}function p(h,d){let m,f={},v,C;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw qc(Cs.MATCHER_NOT_FOUND,{location:h});C=m.record.name,f=ls(H9(d.params,m.keys.filter(g=>!g.optional).concat(m.parent?m.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),h.params&&H9(h.params,m.keys.map(g=>g.name))),v=m.stringify(f)}else if(h.path!=null)v=h.path,m=n.find(g=>g.re.test(v)),m&&(f=m.parse(v),C=m.record.name);else{if(m=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!m)throw qc(Cs.MATCHER_NOT_FOUND,{location:h,currentLocation:d});C=m.record.name,f=ls({},d.params,h.params),v=m.stringify(f)}const S=[];let x=m;for(;x;)S.unshift(x.record),x=x.parent;return{name:C,path:v,params:f,matched:S,meta:nI(S)}}t.forEach(h=>i(h));function u(){n.length=0,r.clear()}return{addRoute:i,resolve:p,removeRoute:s,clearRoutes:u,getRoutes:o,getRecordMatcher:a}}function H9(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function D9(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:rI(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function rI(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="object"?n[r]:n;return e}function R9(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function nI(t){return t.reduce((e,n)=>ls(e,n.meta),{})}function sI(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;ib(t,e[i])<0?r=i:n=i+1}const a=iI(t);return a&&(r=e.lastIndexOf(a,r-1)),r}function iI(t){let e=t;for(;e=e.parent;)if(ob(e)&&ib(t,e)===0)return e}function ob({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function j9(t){const e=zn(Uh),n=zn(wm),r=pt(()=>{const l=$e(t.to);return e.resolve(l)}),a=pt(()=>{const{matched:l}=r.value,{length:p}=l,u=l[p-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(Wc.bind(null,u));if(d>-1)return d;const m=B9(l[p-2]);return p>1&&B9(u)===m&&h[h.length-1].path!==m?h.findIndex(Wc.bind(null,l[p-2])):d}),i=pt(()=>a.value>-1&&cI(n.params,r.value.params)),s=pt(()=>a.value>-1&&a.value===n.matched.length-1&&rb(n.params,r.value.params));function o(l={}){if(lI(l)){const p=e[$e(t.replace)?"replace":"push"]($e(t.to)).catch(Z1);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>p),p}return Promise.resolve()}return{route:r,href:pt(()=>r.value.href),isActive:i,isExactActive:s,navigate:o}}function oI(t){return t.length===1?t[0]:t}const aI=lr({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"},viewTransition:Boolean},useLink:j9,setup(t,{slots:e}){const n=po(j9(t)),{options:r}=zn(Uh),a=pt(()=>({[F9(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[F9(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=e.default&&oI(e.default(n));return t.custom?i:Ja("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),ab=aI;function lI(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function cI(t,e){for(const n in e){const r=e[n],a=t[n];if(typeof r=="string"){if(r!==a)return!1}else if(!ho(a)||a.length!==r.length||r.some((i,s)=>i!==a[s]))return!1}return!0}function B9(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const F9=(t,e,n)=>t??e??n,uI=lr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=zn(R0),a=pt(()=>t.route||r.value),i=zn(z9,0),s=pt(()=>{let p=$e(i);const{matched:u}=a.value;let h;for(;(h=u[p])&&!h.components;)p++;return p}),o=pt(()=>a.value.matched[s.value]);Ms(z9,pt(()=>s.value+1)),Ms($O,o),Ms(R0,a);const l=xt();return Lr(()=>[l.value,o.value,t.name],([p,u,h],[d,m,f])=>{u&&(u.instances[h]=p,m&&m!==u&&p&&p===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),p&&u&&(!m||!Wc(u,m)||!d)&&(u.enterCallbacks[h]||[]).forEach(v=>v(p))},{flush:"post"}),()=>{const p=a.value,u=t.name,h=o.value,d=h&&h.components[u];if(!d)return $9(n.default,{Component:d,route:p});const m=h.props[u],f=m?m===!0?p.params:typeof m=="function"?m(p):m:null,C=Ja(d,ls({},f,e,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return $9(n.default,{Component:C,route:p})||C}}});function $9(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const pI=uI;function hI(t){const e=tI(t.routes,t),n=t.parseQuery||BO,r=t.stringifyQuery||k9,a=t.history,i=V1(),s=V1(),o=V1(),l=Gr(wa);let p=wa;Ec&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Td.bind(null,ue=>""+ue),h=Td.bind(null,xO),d=Td.bind(null,xu);function m(ue,ae){let ce,oe;return nb(ue)?(ce=e.getRecordMatcher(ue),oe=ae):oe=ue,e.addRoute(oe,ce)}function f(ue){const ae=e.getRecordMatcher(ue);ae&&e.removeRoute(ae)}function v(){return e.getRoutes().map(ue=>ue.record)}function C(ue){return!!e.getRecordMatcher(ue)}function S(ue,ae){if(ae=ls({},ae||l.value),typeof ue=="string"){const ve=Ad(n,ue,ae.path),xe=e.resolve({path:ve.path},ae),He=a.createHref(ve.fullPath);return ls(ve,xe,{params:d(xe.params),hash:xu(ve.hash),redirectedFrom:void 0,href:He})}let ce;if(ue.path!=null)ce=ls({},ue,{path:Ad(n,ue.path,ae.path).path});else{const ve=ls({},ue.params);for(const xe in ve)ve[xe]==null&&delete ve[xe];ce=ls({},ue,{params:h(ve)}),ae.params=h(ae.params)}const oe=e.resolve(ce,ae),ne=ue.hash||"";oe.params=u(d(oe.params));const Se=AO(r,ls({},ue,{hash:CO(ne),path:oe.path})),se=a.createHref(Se);return ls({fullPath:Se,hash:ne,query:r===k9?FO(ue.query):ue.query||{}},oe,{redirectedFrom:void 0,href:se})}function x(ue){return typeof ue=="string"?Ad(n,ue,l.value.path):ls({},ue)}function g(ue,ae){if(p!==ue)return qc(Cs.NAVIGATION_CANCELLED,{from:ae,to:ue})}function w(ue){return T(ue)}function y(ue){return w(ls(x(ue),{replace:!0}))}function _(ue,ae){const ce=ue.matched[ue.matched.length-1];if(ce&&ce.redirect){const{redirect:oe}=ce;let ne=typeof oe=="function"?oe(ue,ae):oe;return typeof ne=="string"&&(ne=ne.includes("?")||ne.includes("#")?ne=x(ne):{path:ne},ne.params={}),ls({query:ue.query,hash:ue.hash,params:ne.path!=null?{}:ue.params},ne)}}function T(ue,ae){const ce=p=S(ue),oe=l.value,ne=ue.state,Se=ue.force,se=ue.replace===!0,ve=_(ce,oe);if(ve)return T(ls(x(ve),{state:typeof ve=="object"?ls({},ne,ve.state):ne,force:Se,replace:se}),ae||ce);const xe=ce;xe.redirectedFrom=ae;let He;return!Se&&_O(r,oe,ce)&&(He=qc(Cs.NAVIGATION_DUPLICATED,{to:xe,from:oe}),Le(oe,oe,!0,!1)),(He?Promise.resolve(He):z(xe,oe)).catch(ee=>Uo(ee)?Uo(ee,Cs.NAVIGATION_GUARD_REDIRECT)?ee:he(ee):K(ee,xe,oe)).then(ee=>{if(ee){if(Uo(ee,Cs.NAVIGATION_GUARD_REDIRECT))return T(ls({replace:se},x(ee.to),{state:typeof ee.to=="object"?ls({},ne,ee.to.state):ne,force:Se}),ae||xe)}else ee=W(xe,oe,!0,se,ne);return G(xe,oe,ee),ee})}function O(ue,ae){const ce=g(ue,ae);return ce?Promise.reject(ce):Promise.resolve()}function I(ue){const ae=fe.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(ue):ue()}function z(ue,ae){let ce;const[oe,ne,Se]=UO(ue,ae);ce=Md(oe.reverse(),"beforeRouteLeave",ue,ae);for(const ve of oe)ve.leaveGuards.forEach(xe=>{ce.push(ka(xe,ue,ae))});const se=O.bind(null,ue,ae);return ce.push(se),Me(ce).then(()=>{ce=[];for(const ve of i.list())ce.push(ka(ve,ue,ae));return ce.push(se),Me(ce)}).then(()=>{ce=Md(ne,"beforeRouteUpdate",ue,ae);for(const ve of ne)ve.updateGuards.forEach(xe=>{ce.push(ka(xe,ue,ae))});return ce.push(se),Me(ce)}).then(()=>{ce=[];for(const ve of Se)if(ve.beforeEnter)if(ho(ve.beforeEnter))for(const xe of ve.beforeEnter)ce.push(ka(xe,ue,ae));else ce.push(ka(ve.beforeEnter,ue,ae));return ce.push(se),Me(ce)}).then(()=>(ue.matched.forEach(ve=>ve.enterCallbacks={}),ce=Md(Se,"beforeRouteEnter",ue,ae,I),ce.push(se),Me(ce))).then(()=>{ce=[];for(const ve of s.list())ce.push(ka(ve,ue,ae));return ce.push(se),Me(ce)}).catch(ve=>Uo(ve,Cs.NAVIGATION_CANCELLED)?ve:Promise.reject(ve))}function G(ue,ae,ce){o.list().forEach(oe=>I(()=>oe(ue,ae,ce)))}function W(ue,ae,ce,oe,ne){const Se=g(ue,ae);if(Se)return Se;const se=ae===wa,ve=Ec?history.state:{};ce&&(oe||se?a.replace(ue.fullPath,ls({scroll:se&&ve&&ve.scroll},ne)):a.push(ue.fullPath,ne)),l.value=ue,Le(ue,ae,ce,se),he()}let F;function N(){F||(F=a.listen((ue,ae,ce)=>{if(!Ce.listening)return;const oe=S(ue),ne=_(oe,Ce.currentRoute.value);if(ne){T(ls(ne,{replace:!0,force:!0}),oe).catch(Z1);return}p=oe;const Se=l.value;Ec&&VO(I9(Se.fullPath,ce.delta),zO()),z(oe,Se).catch(se=>Uo(se,Cs.NAVIGATION_ABORTED|Cs.NAVIGATION_CANCELLED)?se:Uo(se,Cs.NAVIGATION_GUARD_REDIRECT)?(T(ls(x(se.to),{force:!0}),oe).then(ve=>{Uo(ve,Cs.NAVIGATION_ABORTED|Cs.NAVIGATION_DUPLICATED)&&!ce.delta&&ce.type===H0.pop&&a.go(-1,!1)}).catch(Z1),Promise.reject()):(ce.delta&&a.go(-ce.delta,!1),K(se,oe,Se))).then(se=>{se=se||W(oe,Se,!1),se&&(ce.delta&&!Uo(se,Cs.NAVIGATION_CANCELLED)?a.go(-ce.delta,!1):ce.type===H0.pop&&Uo(se,Cs.NAVIGATION_ABORTED|Cs.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),G(oe,Se,se)}).catch(Z1)}))}let $=V1(),H=V1(),R;function K(ue,ae,ce){he(ue);const oe=H.list();return oe.length?oe.forEach(ne=>ne(ue,ae,ce)):console.error(ue),Promise.reject(ue)}function ie(){return R&&l.value!==wa?Promise.resolve():new Promise((ue,ae)=>{$.add([ue,ae])})}function he(ue){return R||(R=!ue,N(),$.list().forEach(([ae,ce])=>ue?ce(ue):ae()),$.reset()),ue}function Le(ue,ae,ce,oe){const{scrollBehavior:ne}=t;if(!Ec||!ne)return Promise.resolve();const Se=!ce&&HO(I9(ue.fullPath,0))||(oe||!ce)&&history.state&&history.state.scroll||null;return xs().then(()=>ne(ue,ae,Se)).then(se=>se&&NO(se)).catch(se=>K(se,ue,ae))}const X=ue=>a.go(ue);let Q;const fe=new Set,Ce={currentRoute:l,listening:!0,addRoute:m,removeRoute:f,clearRoutes:e.clearRoutes,hasRoute:C,getRoutes:v,resolve:S,options:t,push:w,replace:y,go:X,back:()=>X(-1),forward:()=>X(1),beforeEach:i.add,beforeResolve:s.add,afterEach:o.add,onError:H.add,isReady:ie,install(ue){ue.component("RouterLink",ab),ue.component("RouterView",pI),ue.config.globalProperties.$router=Ce,Object.defineProperty(ue.config.globalProperties,"$route",{enumerable:!0,get:()=>$e(l)}),Ec&&!Q&&l.value===wa&&(Q=!0,w(a.location).catch(oe=>{}));const ae={};for(const oe in wa)Object.defineProperty(ae,oe,{get:()=>l.value[oe],enumerable:!0});ue.provide(Uh,Ce),ue.provide(wm,Ah(ae)),ue.provide(R0,l);const ce=ue.unmount;fe.add(ue),ue.unmount=function(){fe.delete(ue),fe.size<1&&(p=wa,F&&F(),F=null,l.value=wa,Q=!1,R=!1),ce()}}};function Me(ue){return ue.reduce((ae,ce)=>ae.then(()=>I(ce)),Promise.resolve())}return Ce}function Gh(){return zn(Uh)}function Tm(t){return zn(wm)}const fI=["top","right","bottom","left"],U9=["start","end"],G9=fI.reduce((t,e)=>t.concat(e,e+"-"+U9[0],e+"-"+U9[1]),[]),wu=Math.min,vl=Math.max,dI={left:"right",right:"left",bottom:"top",top:"bottom"},mI={start:"end",end:"start"};function j0(t,e,n){return vl(t,wu(e,n))}function Rl(t,e){return typeof t=="function"?t(e):t}function Oo(t){return t.split("-")[0]}function co(t){return t.split("-")[1]}function lb(t){return t==="x"?"y":"x"}function Am(t){return t==="y"?"height":"width"}const gI=new Set(["top","bottom"]);function Zo(t){return gI.has(Oo(t))?"y":"x"}function _m(t){return lb(Zo(t))}function cb(t,e,n){n===void 0&&(n=!1);const r=co(t),a=_m(t),i=Am(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Yp(s)),[s,Yp(s)]}function vI(t){const e=Yp(t);return[Xp(t),e,Xp(e)]}function Xp(t){return t.replace(/start|end/g,e=>mI[e])}const W9=["left","right"],q9=["right","left"],yI=["top","bottom"],bI=["bottom","top"];function CI(t,e,n){switch(t){case"top":case"bottom":return n?e?q9:W9:e?W9:q9;case"left":case"right":return e?yI:bI;default:return[]}}function SI(t,e,n,r){const a=co(t);let i=CI(Oo(t),n==="start",r);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Xp)))),i}function Yp(t){return t.replace(/left|right|bottom|top/g,e=>dI[e])}function EI(t){return{top:0,right:0,bottom:0,left:0,...t}}function ub(t){return typeof t!="number"?EI(t):{top:t,right:t,bottom:t,left:t}}function eu(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function K9(t,e,n){let{reference:r,floating:a}=t;const i=Zo(e),s=_m(e),o=Am(s),l=Oo(e),p=i==="y",u=r.x+r.width/2-a.width/2,h=r.y+r.height/2-a.height/2,d=r[o]/2-a[o]/2;let m;switch(l){case"top":m={x:u,y:r.y-a.height};break;case"bottom":m={x:u,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:h};break;case"left":m={x:r.x-a.width,y:h};break;default:m={x:r.x,y:r.y}}switch(co(e)){case"start":m[s]-=d*(n&&p?-1:1);break;case"end":m[s]+=d*(n&&p?-1:1);break}return m}const xI=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,o=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:u,y:h}=K9(p,r,l),d=r,m={},f=0;for(let v=0;v({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:s,elements:o,middlewareData:l}=e,{element:p,padding:u=0}=Rl(t,e)||{};if(p==null)return{};const h=ub(u),d={x:n,y:r},m=_m(a),f=Am(m),v=await s.getDimensions(p),C=m==="y",S=C?"top":"left",x=C?"bottom":"right",g=C?"clientHeight":"clientWidth",w=i.reference[f]+i.reference[m]-d[m]-i.floating[f],y=d[m]-i.reference[m],_=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p));let T=_?_[g]:0;(!T||!await(s.isElement==null?void 0:s.isElement(_)))&&(T=o.floating[g]||i.floating[f]);const O=w/2-y/2,I=T/2-v[f]/2-1,z=wu(h[S],I),G=wu(h[x],I),W=z,F=T-v[f]-G,N=T/2-v[f]/2+O,$=j0(W,N,F),H=!l.arrow&&co(a)!=null&&N!==$&&i.reference[f]/2-(Nco(a)===t),...n.filter(a=>co(a)!==t)]:n.filter(a=>Oo(a)===a)).filter(a=>t?co(a)===t||(e?Xp(a)!==a:!1):!0)}const AI=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,a;const{rects:i,middlewareData:s,placement:o,platform:l,elements:p}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:d=G9,autoAlignment:m=!0,...f}=Rl(t,e),v=h!==void 0||d===G9?TI(h||null,m,d):d,C=await Wh(e,f),S=((n=s.autoPlacement)==null?void 0:n.index)||0,x=v[S];if(x==null)return{};const g=cb(x,i,await(l.isRTL==null?void 0:l.isRTL(p.floating)));if(o!==x)return{reset:{placement:v[0]}};const w=[C[Oo(x)],C[g[0]],C[g[1]]],y=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:x,overflows:w}],_=v[S+1];if(_)return{data:{index:S+1,overflows:y},reset:{placement:_}};const T=y.map(z=>{const G=co(z.placement);return[z.placement,G&&u?z.overflows.slice(0,2).reduce((W,F)=>W+F,0):z.overflows[0],z.overflows]}).sort((z,G)=>z[1]-G[1]),I=((a=T.filter(z=>z[2].slice(0,co(z[0])?2:3).every(G=>G<=0))[0])==null?void 0:a[0])||T[0][0];return I!==o?{data:{index:S+1,overflows:y},reset:{placement:I}}:{}}}},_I=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:a,middlewareData:i,rects:s,initialPlacement:o,platform:l,elements:p}=e,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...C}=Rl(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=Oo(a),x=Zo(o),g=Oo(o)===o,w=await(l.isRTL==null?void 0:l.isRTL(p.floating)),y=d||(g||!v?[Yp(o)]:vI(o)),_=f!=="none";!d&&_&&y.push(...SI(o,v,f,w));const T=[o,...y],O=await Wh(e,C),I=[];let z=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&I.push(O[S]),h){const N=cb(a,s,w);I.push(O[N[0]],O[N[1]])}if(z=[...z,{placement:a,overflows:I}],!I.every(N=>N<=0)){var G,W;const N=(((G=i.flip)==null?void 0:G.index)||0)+1,$=T[N];if($&&(!(h==="alignment"?x!==Zo($):!1)||z.every(K=>Zo(K.placement)===x?K.overflows[0]>0:!0)))return{data:{index:N,overflows:z},reset:{placement:$}};let H=(W=z.filter(R=>R.overflows[0]<=0).sort((R,K)=>R.overflows[1]-K.overflows[1])[0])==null?void 0:W.placement;if(!H)switch(m){case"bestFit":{var F;const R=(F=z.filter(K=>{if(_){const ie=Zo(K.placement);return ie===x||ie==="y"}return!0}).map(K=>[K.placement,K.overflows.filter(ie=>ie>0).reduce((ie,he)=>ie+he,0)]).sort((K,ie)=>K[1]-ie[1])[0])==null?void 0:F[0];R&&(H=R);break}case"initialPlacement":H=o;break}if(a!==H)return{reset:{placement:H}}}return{}}}},MI=new Set(["left","top"]);async function PI(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=Oo(n),o=co(n),l=Zo(n)==="y",p=MI.has(s)?-1:1,u=i&&l?-1:1,h=Rl(e,t);let{mainAxis:d,crossAxis:m,alignmentAxis:f}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return o&&typeof f=="number"&&(m=o==="end"?f*-1:f),l?{x:m*u,y:d*p}:{x:d*p,y:m*u}}const LI=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:s,middlewareData:o}=e,l=await PI(e,t);return s===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:a+l.x,y:i+l.y,data:{...l,placement:s}}}}},OI=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:o={fn:C=>{let{x:S,y:x}=C;return{x:S,y:x}}},...l}=Rl(t,e),p={x:n,y:r},u=await Wh(e,l),h=Zo(Oo(a)),d=lb(h);let m=p[d],f=p[h];if(i){const C=d==="y"?"top":"left",S=d==="y"?"bottom":"right",x=m+u[C],g=m-u[S];m=j0(x,m,g)}if(s){const C=h==="y"?"top":"left",S=h==="y"?"bottom":"right",x=f+u[C],g=f-u[S];f=j0(x,f,g)}const v=o.fn({...e,[d]:m,[h]:f});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[d]:i,[h]:s}}}}}},II=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:a,rects:i,platform:s,elements:o}=e,{apply:l=()=>{},...p}=Rl(t,e),u=await Wh(e,p),h=Oo(a),d=co(a),m=Zo(a)==="y",{width:f,height:v}=i.floating;let C,S;h==="top"||h==="bottom"?(C=h,S=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(S=h,C=d==="end"?"top":"bottom");const x=v-u.top-u.bottom,g=f-u.left-u.right,w=wu(v-u[C],x),y=wu(f-u[S],g),_=!e.middlewareData.shift;let T=w,O=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(O=g),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(T=x),_&&!d){const z=vl(u.left,0),G=vl(u.right,0),W=vl(u.top,0),F=vl(u.bottom,0);m?O=f-2*(z!==0||G!==0?z+G:vl(u.left,u.right)):T=v-2*(W!==0||F!==0?W+F:vl(u.top,u.bottom))}await l({...e,availableWidth:O,availableHeight:T});const I=await s.getDimensions(o.floating);return f!==I.width||v!==I.height?{reset:{rects:!0}}:{}}}};function Ji(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _o(t){return Ji(t).getComputedStyle(t)}const X9=Math.min,tu=Math.max,Jp=Math.round;function pb(t){const e=_o(t);let n=parseFloat(e.width),r=parseFloat(e.height);const a=t.offsetWidth,i=t.offsetHeight,s=Jp(n)!==a||Jp(r)!==i;return s&&(n=a,r=i),{width:n,height:r,fallback:s}}function Xa(t){return fb(t)?(t.nodeName||"").toLowerCase():""}let Y2;function hb(){if(Y2)return Y2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Y2=t.brands.map((e=>e.brand+"/"+e.version)).join(" "),Y2):navigator.userAgent}function Mo(t){return t instanceof Ji(t).HTMLElement}function ja(t){return t instanceof Ji(t).Element}function fb(t){return t instanceof Ji(t).Node}function Y9(t){return typeof ShadowRoot>"u"?!1:t instanceof Ji(t).ShadowRoot||t instanceof ShadowRoot}function qh(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=_o(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(a)}function kI(t){return["table","td","th"].includes(Xa(t))}function B0(t){const e=/firefox/i.test(hb()),n=_o(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some((a=>n.willChange.includes(a)))||["paint","layout","strict","content"].some((a=>{const i=n.contain;return i!=null&&i.includes(a)}))}function db(){return!/^((?!chrome|android).)*safari/i.test(hb())}function Mm(t){return["html","body","#document"].includes(Xa(t))}function mb(t){return ja(t)?t:t.contextElement}const gb={x:1,y:1};function Nc(t){const e=mb(t);if(!Mo(e))return gb;const n=e.getBoundingClientRect(),{width:r,height:a,fallback:i}=pb(e);let s=(i?Jp(n.width):n.width)/r,o=(i?Jp(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function Tu(t,e,n,r){var a,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),o=mb(t);let l=gb;e&&(r?ja(r)&&(l=Nc(r)):l=Nc(t));const p=o?Ji(o):window,u=!db()&&n;let h=(s.left+(u&&((a=p.visualViewport)==null?void 0:a.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=p.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,m=s.width/l.x,f=s.height/l.y;if(o){const v=Ji(o),C=r&&ja(r)?Ji(r):r;let S=v.frameElement;for(;S&&r&&C!==v;){const x=Nc(S),g=S.getBoundingClientRect(),w=getComputedStyle(S);g.x+=(S.clientLeft+parseFloat(w.paddingLeft))*x.x,g.y+=(S.clientTop+parseFloat(w.paddingTop))*x.y,h*=x.x,d*=x.y,m*=x.x,f*=x.y,h+=g.x,d+=g.y,S=Ji(S).frameElement}}return{width:m,height:f,top:d,right:h+m,bottom:d+f,left:h,x:h,y:d}}function Ba(t){return((fb(t)?t.ownerDocument:t.document)||window.document).documentElement}function Kh(t){return ja(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vb(t){return Tu(Ba(t)).left+Kh(t).scrollLeft}function Au(t){if(Xa(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Y9(t)&&t.host||Ba(t);return Y9(e)?e.host:e}function yb(t){const e=Au(t);return Mm(e)?e.ownerDocument.body:Mo(e)&&qh(e)?e:yb(e)}function Qp(t,e){var n;e===void 0&&(e=[]);const r=yb(t),a=r===((n=t.ownerDocument)==null?void 0:n.body),i=Ji(r);return a?e.concat(i,i.visualViewport||[],qh(r)?r:[]):e.concat(r,Qp(r))}function J9(t,e,n){return e==="viewport"?eu((function(r,a){const i=Ji(r),s=Ba(r),o=i.visualViewport;let l=s.clientWidth,p=s.clientHeight,u=0,h=0;if(o){l=o.width,p=o.height;const d=db();(d||!d&&a==="fixed")&&(u=o.offsetLeft,h=o.offsetTop)}return{width:l,height:p,x:u,y:h}})(t,n)):ja(e)?eu((function(r,a){const i=Tu(r,!0,a==="fixed"),s=i.top+r.clientTop,o=i.left+r.clientLeft,l=Mo(r)?Nc(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:o*l.x,y:s*l.y}})(e,n)):eu((function(r){const a=Ba(r),i=Kh(r),s=r.ownerDocument.body,o=tu(a.scrollWidth,a.clientWidth,s.scrollWidth,s.clientWidth),l=tu(a.scrollHeight,a.clientHeight,s.scrollHeight,s.clientHeight);let p=-i.scrollLeft+vb(r);const u=-i.scrollTop;return _o(s).direction==="rtl"&&(p+=tu(a.clientWidth,s.clientWidth)-o),{width:o,height:l,x:p,y:u}})(Ba(t)))}function Q9(t){return Mo(t)&&_o(t).position!=="fixed"?t.offsetParent:null}function Z9(t){const e=Ji(t);let n=Q9(t);for(;n&&kI(n)&&_o(n).position==="static";)n=Q9(n);return n&&(Xa(n)==="html"||Xa(n)==="body"&&_o(n).position==="static"&&!B0(n))?e:n||(function(r){let a=Au(r);for(;Mo(a)&&!Mm(a);){if(B0(a))return a;a=Au(a)}return null})(t)||e}function zI(t,e,n){const r=Mo(e),a=Ba(e),i=Tu(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(r||!r&&n!=="fixed")if((Xa(e)!=="body"||qh(a))&&(s=Kh(e)),Mo(e)){const l=Tu(e,!0);o.x=l.x+e.clientLeft,o.y=l.y+e.clientTop}else a&&(o.x=vb(a));return{x:i.left+s.scrollLeft-o.x,y:i.top+s.scrollTop-o.y,width:i.width,height:i.height}}const NI={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const i=n==="clippingAncestors"?(function(p,u){const h=u.get(p);if(h)return h;let d=Qp(p).filter((C=>ja(C)&&Xa(C)!=="body")),m=null;const f=_o(p).position==="fixed";let v=f?Au(p):p;for(;ja(v)&&!Mm(v);){const C=_o(v),S=B0(v);(f?S||m:S||C.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=C:d=d.filter((x=>x!==v)),v=Au(v)}return u.set(p,d),d})(e,this._c):[].concat(n),s=[...i,r],o=s[0],l=s.reduce(((p,u)=>{const h=J9(e,u,a);return p.top=tu(h.top,p.top),p.right=X9(h.right,p.right),p.bottom=X9(h.bottom,p.bottom),p.left=tu(h.left,p.left),p}),J9(e,o,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const a=Mo(n),i=Ba(n);if(n===i)return e;let s={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((a||!a&&r!=="fixed")&&((Xa(n)!=="body"||qh(i))&&(s=Kh(n)),Mo(n))){const p=Tu(n);o=Nc(n),l.x=p.x+n.clientLeft,l.y=p.y+n.clientTop}return{width:e.width*o.x,height:e.height*o.y,x:e.x*o.x-s.scrollLeft*o.x+l.x,y:e.y*o.y-s.scrollTop*o.y+l.y}},isElement:ja,getDimensions:function(t){return Mo(t)?pb(t):t.getBoundingClientRect()},getOffsetParent:Z9,getDocumentElement:Ba,getScale:Nc,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const a=this.getOffsetParent||Z9,i=this.getDimensions;return{reference:zI(e,await a(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>_o(t).direction==="rtl"},VI=(t,e,n)=>{const r=new Map,a={platform:NI,...n},i={...a.platform,_c:r};return xI(t,e,{...a,platform:i})},Ml={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:t=>[...t,"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 _u(t,e){let n=Ml.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Ml.themes[n.$extend]||{}:(n=null,r=Ml[e]):n=null;while(n);return r}function HI(t){const e=[t];let n=Ml.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Ml.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function ev(t){const e=[t];let n=Ml.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Ml.themes[n.$extend]||{}):n=null;while(n);return e}let Kc=!1;if(typeof window<"u"){Kc=!1;try{const t=Object.defineProperty({},"passive",{get(){Kc=!0}});window.addEventListener("test",null,t)}catch{}}let bb=!1;typeof window<"u"&&typeof navigator<"u"&&(bb=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Cb=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),tv={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},rv={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function nv(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function Pd(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const oo=[];let ml=null;const sv={};function iv(t){let e=sv[t];return e||(e=sv[t]=[]),e}let F0=function(){};typeof window<"u"&&(F0=window.Element);function En(t){return function(e){return _u(e.theme,t)}}const Ld="__floating-vue__popper",Sb=()=>lr({name:"VPopper",provide(){return{[Ld]:{parentPopper:this}}},inject:{[Ld]:{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:En("disabled")},positioningDisabled:{type:Boolean,default:En("positioningDisabled")},placement:{type:String,default:En("placement"),validator:t=>Cb.includes(t)},delay:{type:[String,Number,Object],default:En("delay")},distance:{type:[Number,String],default:En("distance")},skidding:{type:[Number,String],default:En("skidding")},triggers:{type:Array,default:En("triggers")},showTriggers:{type:[Array,Function],default:En("showTriggers")},hideTriggers:{type:[Array,Function],default:En("hideTriggers")},popperTriggers:{type:Array,default:En("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:En("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:En("popperHideTriggers")},container:{type:[String,Object,F0,Boolean],default:En("container")},boundary:{type:[String,F0],default:En("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:En("strategy")},autoHide:{type:[Boolean,Function],default:En("autoHide")},handleResize:{type:Boolean,default:En("handleResize")},instantMove:{type:Boolean,default:En("instantMove")},eagerMount:{type:Boolean,default:En("eagerMount")},popperClass:{type:[String,Array,Object],default:En("popperClass")},computeTransformOrigin:{type:Boolean,default:En("computeTransformOrigin")},autoMinSize:{type:Boolean,default:En("autoMinSize")},autoSize:{type:[Boolean,String],default:En("autoSize")},autoMaxSize:{type:Boolean,default:En("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:En("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:En("preventOverflow")},overflowPadding:{type:[Number,String],default:En("overflowPadding")},arrowPadding:{type:[Number,String],default:En("arrowPadding")},arrowOverflow:{type:Boolean,default:En("arrowOverflow")},flip:{type:Boolean,default:En("flip")},shift:{type:Boolean,default:En("shift")},shiftCrossAxis:{type:Boolean,default:En("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:En("noAutoFocus")},disposeTimeout:{type:Number,default:En("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":t=>!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(t=>t.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 t;return(t=this[Ld])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?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((t,e)=>(t[e]="$_computePosition",t),{})},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:t=null,skipDelay:e=!1,force:n=!1}={}){var r,a;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var n;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}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.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 t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(LI({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(AI({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(OI({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(_I({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(wI({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:a,middlewareData:i})=>{let s;const{centerOffset:o}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(o)>a.reference.width/2:s=Math.abs(o)>a.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:a,placement:i,middlewareData:s})=>{var o;if((o=s.autoSize)!=null&&o.skip)return{};let l,p;return i.startsWith("top")||i.startsWith("bottom")?l=a.reference.width:p=a.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"]=p!=null?`${p}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(II({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:a})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=a!=null?`${a}px`:null}})));const n=await VI(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ml&&this.instantMove&&ml.instantMove&&ml!==this.parentPopper){ml.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t,e=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(ml=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Pd(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Qp(this.$_referenceNode),...Qp(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),a=e.x+e.width/2-(r.left+n.offsetLeft),i=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${a}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,nv(oo,this),oo.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ev(this.theme)){const r=iv(n);nv(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}ml===this&&(ml=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 Pd(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,tv,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tv,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,rv,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],rv,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,Kc?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,a){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const o=e[s];o&&this.$_registerEventListeners(t,o,a)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:a,handler:i}=n;!t||t===a?r.forEach(s=>s.removeEventListener(a,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.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(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(ru>=t.left&&ru<=t.right&&nu>=t.top&&nu<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=ru-Aa,r=nu-_a,a=e.left+e.width/2-Aa+(e.top+e.height/2)-_a+e.width+e.height,i=Aa+n*a,s=_a+r*a;return J2(Aa,_a,i,s,e.left,e.top,e.left,e.bottom)||J2(Aa,_a,i,s,e.left,e.top,e.right,e.top)||J2(Aa,_a,i,s,e.right,e.top,e.right,e.bottom)||J2(Aa,_a,i,s,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(bb){const t=Kc?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",e=>ov(e),t),document.addEventListener("touchend",e=>av(e,!0),t)}else window.addEventListener("mousedown",t=>ov(t),!0),window.addEventListener("click",t=>av(t,!1),!0);window.addEventListener("resize",jI)}function ov(t,e){for(let n=0;n=0;r--){const a=oo[r];try{const i=a.containsGlobalTarget=a.mouseDownContains||a.popperNode().contains(t.target);a.pendingHide=!1,requestAnimationFrame(()=>{if(a.pendingHide=!1,!n[a.randomId]&&lv(a,i,t)){if(a.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let o=a.parentPopper;for(;o;)n[o.randomId]=!0,o=o.parentPopper;return}let s=a.parentPopper;for(;s&&lv(s,s.containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function lv(t,e,n){return n.closeAllPopover||n.closePopover&&e||RI(t,n)&&!e}function RI(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function jI(){for(let t=0;t{Aa=ru,_a=nu,ru=t.clientX,nu=t.clientY},Kc?{passive:!0}:void 0);function J2(t,e,n,r,a,i,s,o){const l=((s-a)*(e-i)-(o-i)*(t-a))/((o-i)*(n-t)-(s-a)*(r-e)),p=((n-t)*(e-i)-(r-e)*(t-a))/((o-i)*(n-t)-(s-a)*(r-e));return l>=0&&l<=1&&p>=0&&p<=1}const BI={extends:Sb()},Xh=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n};function FI(t,e,n,r,a,i){return Je(),lt("div",{ref:"reference",class:$r(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[hn(t.$slots,"default",Ch(Uu(t.slotData)))],2)}const $I=Xh(BI,[["render",FI]]);function UI(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var a=t.indexOf("Edge/");return a>0?parseInt(t.substring(a+5,t.indexOf(".",a)),10):-1}let mp;function $0(){$0.init||($0.init=!0,mp=UI()!==-1)}var Yh={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$0(),xs(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",mp&&this.$el.appendChild(t),t.data="about:blank",mp||this.$el.appendChild(t)},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&&(!mp&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const GI=U5();F5("data-v-b329ee4c");const WI={class:"resize-observer",tabindex:"-1"};$5();const qI=GI((t,e,n,r,a,i)=>(Je(),Jt("div",WI)));Yh.render=qI;Yh.__scopeId="data-v-b329ee4c";Yh.__file="src/components/ResizeObserver.vue";const Eb=(t="theme")=>({computed:{themeClass(){return HI(this[t])}}}),KI=lr({name:"VPopperContent",components:{ResizeObserver:Yh},mixins:[Eb()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),XI=["id","aria-hidden","tabindex","data-popper-placement"],YI={ref:"inner",class:"v-popper__inner"},JI=Ze("div",{class:"v-popper__arrow-outer"},null,-1),QI=Ze("div",{class:"v-popper__arrow-inner"},null,-1),ZI=[JI,QI];function ek(t,e,n,r,a,i){const s=la("ResizeObserver");return Je(),lt("div",{id:t.popperId,ref:"popover",class:$r(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:Rs(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=J8(o=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ze("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=o=>t.autoHide&&t.$emit("hide"))}),Ze("div",{class:"v-popper__wrapper",style:Rs(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ze("div",YI,[t.mounted?(Je(),lt(Vr,{key:0},[Ze("div",null,[hn(t.$slots,"default")]),t.handleResize?(Je(),Jt(s,{key:0,onNotify:e[1]||(e[1]=o=>t.$emit("resize",o))})):rr("",!0)],64)):rr("",!0)],512),Ze("div",{ref:"arrow",class:"v-popper__arrow-container",style:Rs(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},ZI,4)],4)],46,XI)}const xb=Xh(KI,[["render",ek]]),wb={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}};let U0=function(){};typeof window<"u"&&(U0=window.Element);const tk=lr({name:"VPopperWrapper",components:{Popper:$I,PopperContent:xb},mixins:[wb,Eb("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,U0,Boolean],default:void 0},boundary:{type:[String,U0],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":t=>!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(t=>t!==this.$refs.popperContent.$el)}}});function rk(t,e,n,r,a,i){const s=la("PopperContent"),o=la("Popper");return Je(),Jt(o,ks({ref:"popper"},t.$props,{theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:[t.themeClass],onShow:e[0]||(e[0]=()=>t.$emit("show")),onHide:e[1]||(e[1]=()=>t.$emit("hide")),"onUpdate:shown":e[2]||(e[2]=l=>t.$emit("update:shown",l)),onApplyShow:e[3]||(e[3]=()=>t.$emit("apply-show")),onApplyHide:e[4]||(e[4]=()=>t.$emit("apply-hide")),onCloseGroup:e[5]||(e[5]=()=>t.$emit("close-group")),onCloseDirective:e[6]||(e[6]=()=>t.$emit("close-directive")),onAutoHide:e[7]||(e[7]=()=>t.$emit("auto-hide")),onResize:e[8]||(e[8]=()=>t.$emit("resize"))}),{default:zt(({popperId:l,isShown:p,shouldMountContent:u,skipTransition:h,autoHide:d,show:m,hide:f,handleResize:v,onResize:C,classes:S,result:x})=>[hn(t.$slots,"default",{shown:p,show:m,hide:f}),gt(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:p,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:S,result:x,onHide:f,onResize:C},{default:zt(()=>[hn(t.$slots,"popper",{shown:p,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 Pm=Xh(tk,[["render",rk]]),nk={...Pm,name:"VDropdown",vPopperTheme:"dropdown"};({...Pm});const sk={...Pm,name:"VTooltip",vPopperTheme:"tooltip"},ik=lr({name:"VTooltipDirective",components:{Popper:Sb(),PopperContent:xb},mixins:[wb],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>_u(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>_u(t.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(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),ok=["innerHTML"],ak=["textContent"];function lk(t,e,n,r,a,i){const s=la("PopperContent"),o=la("Popper");return Je(),Jt(o,ks({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:zt(({popperId:l,isShown:p,shouldMountContent:u,skipTransition:h,autoHide:d,hide:m,handleResize:f,onResize:v,classes:C,result:S})=>[gt(s,{ref:"popperContent",class:$r({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:p,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":f,classes:C,result:S,onHide:m,onResize:v},{default:zt(()=>[t.html?(Je(),lt("div",{key:0,innerHTML:t.finalContent},null,8,ok)):(Je(),lt("div",{key:1,textContent:cn(t.finalContent)},null,8,ak))]),_: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 ck=Xh(ik,[["render",lk]]),Tb="v-popper--has-tooltip";function uk(t,e){let n=t.placement;if(!n&&e)for(const r of Cb)e[r]&&(n=r);return n||(n=_u(t.theme||"tooltip","placement")),n}function Ab(t,e,n){let r;const a=typeof e;return a==="string"?r={content:e}:e&&a==="object"?r=e:r={content:!1},r.placement=uk(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let Od,Mu,pk=0;function hk(){if(Od)return;Mu=xt([]),Od=vu({name:"VTooltipDirectiveApp",setup(){return{directives:Mu}},render(){return this.directives.map(e=>Ja(ck,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Od.mount(t)}function fk(t,e,n){hk();const r=xt(Ab(t,e,n)),a=xt(!1),i={id:pk++,options:r,shown:a};return Mu.value.push(i),t.classList&&t.classList.add(Tb),t.$_popper={options:r,item:i,show(){a.value=!0},hide(){a.value=!1}}}function _b(t){if(t.$_popper){const e=Mu.value.indexOf(t.$_popper.item);e!==-1&&Mu.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(Tb)}function cv(t,{value:e,modifiers:n}){const r=Ab(t,e,n);if(!r.content||_u(r.theme||"tooltip","disabled"))_b(t);else{let a;t.$_popper?(a=t.$_popper,a.options.value=r):a=fk(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?a.show():a.hide())}}const dk={beforeMount:cv,updated:cv,beforeUnmount(t){_b(t)}};function uv(t){t.addEventListener("mousedown",Zp),t.addEventListener("click",Zp),t.addEventListener("touchstart",Mb,Kc?{passive:!0}:!1)}function pv(t){t.removeEventListener("mousedown",Zp),t.removeEventListener("click",Zp),t.removeEventListener("touchstart",Mb),t.removeEventListener("touchend",Pb),t.removeEventListener("touchcancel",Lb)}function Zp(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Mb(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",Pb),e.addEventListener("touchcancel",Lb)}}function Pb(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Lb(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const mk={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&uv(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?uv(t):pv(t))},beforeUnmount(t){pv(t)}},Es=dk,Ob=mk,gk=nk,vk=sk;function Io(t){return Eh()?(N5(t),!0):!1}const Id=new WeakMap,yk=(...t)=>{var e;const n=t[0],r=(e=Ts())==null?void 0:e.proxy;if(r==null&&!rm())throw new Error("injectLocal must be called in setup");return r&&Id.has(r)&&n in Id.get(r)?Id.get(r)[n]:zn(...t)};function bk(t,e,{enumerable:n=!1,unwrap:r=!0}={}){for(const[a,i]of Object.entries(e))a!=="value"&&(xn(i)&&r?Object.defineProperty(t,a,{get(){return i.value},set(s){i.value=s},enumerable:n}):Object.defineProperty(t,a,{value:i,enumerable:n}));return t}function yX(t){if(!xn(t))return po(t);const e=new Proxy({},{get(n,r,a){return $e(Reflect.get(t.value,r,a))},set(n,r,a){return xn(t.value[r])&&!xn(a)?t.value[r].value=a:t.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(t.value,r)},has(n,r){return Reflect.has(t.value,r)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return po(e)}const kl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ck=t=>typeof t<"u",Ib=t=>t!=null,Sk=Object.prototype.toString,Ek=t=>Sk.call(t)==="[object Object]",Vi=()=>{},G0=xk();function xk(){var t,e;return kl&&((t=window?.navigator)==null?void 0:t.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 Lm(...t){if(t.length!==1)return My(...t);const e=t[0];return typeof e=="function"?Ga(Ph(()=>({get:e,set:Vi}))):xt(e)}function kb(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const zb=t=>t();function Nb(t,e={}){let n,r,a=Vi;const i=l=>{clearTimeout(l),a(),a=Vi};let s;return l=>{const p=Pr(t),u=Pr(e.maxWait);return n&&i(n),p<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((h,d)=>{a=e.rejectOnCancel?d:h,s=l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,h(s())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,h(l())},p)})}}function wk(t=zb,e={}){const{initialState:n="active"}=e,r=Lm(n==="active");function a(){r.value=!1}function i(){r.value=!0}const s=(...o)=>{r.value&&t(...o)};return{isActive:Ga(r),pause:a,resume:i,eventFilter:s}}function Tk(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const r=e;e=void 0,r&&await r},n}function hv(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function Vc(t){return Array.isArray(t)?t:[t]}function Ak(t){return Ts()}function _k(t,e=200,n={}){return kb(Nb(e,n),t)}function Mk(t,e=200,n={}){const r=xt(Pr(t)),a=_k(()=>{r.value=t.value},e,n);return Lr(t,()=>a()),Bu(r)}function Pk(t,e={}){let n=t,r,a;const i=Ph((d,m)=>(r=d,a=m,{get(){return s()},set(f){o(f)}}));function s(d=!0){return d&&r(),n}function o(d,m=!0){var f,v;if(d===n)return;const C=n;((f=e.onBeforeChange)==null?void 0:f.call(e,d,C))!==!1&&(n=d,(v=e.onChanged)==null||v.call(e,d,C),m&&a())}return bk(i,{get:s,set:o,untrackedGet:()=>s(!1),silentSet:d=>o(d,!1),peek:()=>s(!1),lay:d=>o(d,!1)},{enumerable:!0})}function Vb(t,e,n={}){const{eventFilter:r=zb,...a}=n;return Lr(t,kb(r,e),a)}function Lk(t,e,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:s,pause:o,resume:l,isActive:p}=wk(r,{initialState:a});return{stop:Vb(t,e,{...i,eventFilter:s}),pause:o,resume:l,isActive:p}}const Ok=Pr;function r1(t,e=!0,n){Ak()?si(t,n):e?t():xs(t)}function Ik(t,e=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let i=null;const s=Gr(!1);function o(){i&&(clearInterval(i),i=null)}function l(){s.value=!1,o()}function p(){const u=Pr(e);u<=0||(s.value=!0,a&&t(),o(),s.value&&(i=setInterval(t,u)))}if(r&&kl&&p(),xn(e)||typeof e=="function"){const u=Lr(e,()=>{s.value&&kl&&p()});Io(u)}return Io(l),{isActive:Bu(s),pause:l,resume:p}}function kk(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=Gr(!1);let s;function o(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,o()}function p(...u){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},Pr(e))}return r&&(i.value=!0,kl&&p()),Io(l),{isPending:Bu(i),start:p,stop:l}}function zk(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=xn(t),i=Gr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Pr(n);return i.value=i.value===l?Pr(r):l,i.value}}return a?s:[i,s]}function bX(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return Vb(t,e,{...i,eventFilter:Nb(r,{maxWait:a})})}function Nk(t,e,n){return Lr(t,e,{...n,immediate:!0})}function CX(t,e,n){return Lr(t,e,{...n,once:!0})}function SX(t,e,n){var r;let a;xn(n)?a={evaluating:n}:a={};const{lazy:i=!1,flush:s="pre",evaluating:o=void 0,shallow:l=!0,onError:p=(r=globalThis.reportError)!=null?r:Vi}=a,u=Gr(!i),h=l?Gr(e):xt(e);let d=0;return ti(async m=>{if(!u.value)return;d++;const f=d;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const C=await t(S=>{m(()=>{o&&(o.value=!1),v||S()})});f===d&&(h.value=C)}catch(C){p(C)}finally{o&&f===d&&(o.value=!1),v=!0}},{flush:s}),i?pt(()=>(u.value=!0,h.value)):h}const Pi=kl?window:void 0,Vk=kl?window.document:void 0,Hb=kl?window.navigator:void 0;function qs(t){var e;const n=Pr(t);return(e=n?.$el)!=null?e:n}function hi(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,p,u)=>(o.addEventListener(l,p,u),()=>o.removeEventListener(l,p,u)),a=pt(()=>{const o=Vc(Pr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=Nk(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(p=>qs(p)))!=null?l:[Pi].filter(p=>p!=null),Vc(Pr(a.value?t[1]:t[0])),Vc($e(a.value?t[2]:t[1])),Pr(a.value?t[3]:t[2])]},([o,l,p,u])=>{if(n(),!o?.length||!l?.length||!p?.length)return;const h=Ek(u)?{...u}:u;e.push(...o.flatMap(d=>l.flatMap(m=>p.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return Io(n),s}let fv=!1;function Hk(t,e,n={}){const{window:r=Pi,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:o=!1}=n;if(!r)return o?{stop:Vi,cancel:Vi,trigger:Vi}:Vi;if(G0&&!fv){fv=!0;const C={passive:!0};Array.from(r.document.body.children).forEach(S=>S.addEventListener("click",Vi,C)),r.document.documentElement.addEventListener("click",Vi,C)}let l=!0;const p=C=>Pr(a).some(S=>{if(typeof S=="string")return Array.from(r.document.querySelectorAll(S)).some(x=>x===C.target||C.composedPath().includes(x));{const x=qs(S);return x&&(C.target===x||C.composedPath().includes(x))}});function u(C){const S=Pr(C);return S&&S.$.subTree.shapeFlag===16}function h(C,S){const x=Pr(C),g=x.$.subTree&&x.$.subTree.children;return g==null||!Array.isArray(g)?!1:g.some(w=>w.el===S.target||S.composedPath().includes(w.el))}const d=C=>{const S=qs(t);if(C.target!=null&&!(!(S instanceof Element)&&u(t)&&h(t,C))&&!(!S||S===C.target||C.composedPath().includes(S))){if("detail"in C&&C.detail===0&&(l=!p(C)),!l){l=!0;return}e(C)}};let m=!1;const f=[hi(r,"click",C=>{m||(m=!0,setTimeout(()=>{m=!1},0),d(C))},{passive:!0,capture:i}),hi(r,"pointerdown",C=>{const S=qs(t);l=!p(C)&&!!(S&&!C.composedPath().includes(S))},{passive:!0}),s&&hi(r,"blur",C=>{setTimeout(()=>{var S;const x=qs(t);((S=r.document.activeElement)==null?void 0:S.tagName)==="IFRAME"&&!x?.contains(r.document.activeElement)&&e(C)},0)},{passive:!0})].filter(Boolean),v=()=>f.forEach(C=>C());return o?{stop:v,cancel:()=>{l=!1},trigger:C=>{l=!0,d(C),l=!1}}:v}function Dk(){const t=Gr(!1),e=Ts();return e&&si(()=>{t.value=!0},e),t}function jl(t){const e=Dk();return pt(()=>(e.value,!!t()))}function Rk(t,e,n={}){const{window:r=Pi,...a}=n;let i;const s=jl(()=>r&&"MutationObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const d=Pr(t),m=Vc(d).map(qs).filter(Ib);return new Set(m)}),p=Lr(l,d=>{o(),s.value&&d.size&&(i=new MutationObserver(e),d.forEach(m=>i.observe(m,a)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),h=()=>{p(),o()};return Io(h),{isSupported:s,stop:h,takeRecords:u}}function jk(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function Db(...t){let e,n,r={};t.length===3?(e=t[0],n=t[1],r=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],r=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:a=Pi,eventName:i="keydown",passive:s=!1,dedupe:o=!1}=r,l=jk(e);return hi(a,i,u=>{u.repeat&&Pr(o)||l(u)&&n(u)},s)}function Bk(t,e={}){const{immediate:n=!0,fpsLimit:r=void 0,window:a=Pi,once:i=!1}=e,s=Gr(!1),o=pt(()=>r?1e3/Pr(r):null);let l=0,p=null;function u(m){if(!s.value||!a)return;l||(l=m);const f=m-l;if(o.value&&fn&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Gr(typeof r=="number"),s=Gr(),o=Gr(!1),l=p=>{o.value=p.matches};return ti(()=>{if(i.value){i.value=!a.value;const p=Pr(t).split(",");o.value=p.some(u=>{const h=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||m);return d&&f&&(f=r>=hv(d[1])),m&&f&&(f=r<=hv(m[1])),h?!f:f});return}a.value&&(s.value=n.matchMedia(Pr(t)),o.value=s.value.matches)}),hi(s,"change",l,{passive:!0}),pt(()=>o.value)}function dv(t,e={}){const{controls:n=!1,navigator:r=Hb}=e,a=jl(()=>r&&"permissions"in r),i=Gr(),s=typeof t=="string"?{name:t}:t,o=Gr(),l=()=>{var u,h;o.value=(h=(u=i.value)==null?void 0:u.state)!=null?h:"prompt"};hi(i,"change",l,{passive:!0});const p=Tk(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return gn(i.value)}});return p(),n?{state:o,isSupported:a,query:p}:o}function Uk(t={}){const{navigator:e=Hb,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=jl(()=>e&&"clipboard"in e),o=dv("clipboard-read"),l=dv("clipboard-write"),p=pt(()=>s.value||i),u=Gr(""),h=Gr(!1),d=kk(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&S(o.value));if(!x)try{u.value=await e.clipboard.readText()}catch{x=!0}x&&(u.value=C())}p.value&&n&&hi(["copy","cut"],m,{passive:!0});async function f(x=Pr(r)){if(p.value&&x!=null){let g=!(s.value&&S(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),u.value=x,h.value=!0,d.start()}}function v(x){const g=document.createElement("textarea");g.value=x??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function C(){var x,g,w;return(w=(g=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:g.toString())!=null?w:""}function S(x){return x==="granted"||x==="prompt"}return{isSupported:p,text:u,copied:h,copy:f}}function Gk(t){return JSON.parse(JSON.stringify(t))}const Q2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Z2="__vueuse_ssr_handlers__",Wk=qk();function qk(){return Z2 in Q2||(Q2[Z2]=Q2[Z2]||{}),Q2[Z2]}function Rb(t,e){return Wk[t]||e}function Kk(t){return Om("(prefers-color-scheme: dark)",t)}function Xk(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Yk={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},mv="vueuse-storage";function jb(t,e,n,r={}){var a;const{flush:i="pre",deep:s=!0,listenToStorageChanges:o=!0,writeDefaults:l=!0,mergeDefaults:p=!1,shallow:u,window:h=Pi,eventFilter:d,onError:m=N=>{console.error(N)},initOnMounted:f}=r,v=(u?Gr:xt)(typeof e=="function"?e():e),C=pt(()=>Pr(t));if(!n)try{n=Rb("getDefaultStorage",()=>{var N;return(N=Pi)==null?void 0:N.localStorage})()}catch(N){m(N)}if(!n)return v;const S=Pr(e),x=Xk(S),g=(a=r.serializer)!=null?a:Yk[x],{pause:w,resume:y}=Lk(v,N=>z(N),{flush:i,deep:s,eventFilter:d});Lr(C,()=>W(),{flush:i});let _=!1;const T=N=>{f&&!_||W(N)},O=N=>{f&&!_||F(N)};h&&o&&(n instanceof Storage?hi(h,"storage",T,{passive:!0}):hi(h,mv,O)),f?r1(()=>{_=!0,W()}):W();function I(N,$){if(h){const H={key:C.value,oldValue:N,newValue:$,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",H):new CustomEvent(mv,{detail:H}))}}function z(N){try{const $=n.getItem(C.value);if(N==null)I($,null),n.removeItem(C.value);else{const H=g.write(N);$!==H&&(n.setItem(C.value,H),I($,H))}}catch($){m($)}}function G(N){const $=N?N.newValue:n.getItem(C.value);if($==null)return l&&S!=null&&n.setItem(C.value,g.write(S)),S;if(!N&&p){const H=g.read($);return typeof p=="function"?p(H,S):x==="object"&&!Array.isArray(H)?{...S,...H}:H}else return typeof $!="string"?$:g.read($)}function W(N){if(!(N&&N.storageArea!==n)){if(N&&N.key==null){v.value=S;return}if(!(N&&N.key!==C.value)){w();try{const $=g.write(v.value);(N===void 0||N?.newValue!==$)&&(v.value=G(N))}catch($){m($)}finally{N?xs(y):y()}}}}function F(N){W(N.detail)}return v}const Jk="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Qk(t={}){const{selector:e="html",attribute:n="class",initialValue:r="auto",window:a=Pi,storage:i,storageKey:s="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:l,emitAuto:p,disableTransition:u=!0}=t,h={auto:"",light:"light",dark:"dark",...t.modes||{}},d=Kk({window:a}),m=pt(()=>d.value?"dark":"light"),f=l||(s==null?Lm(r):jb(s,r,i,{window:a,listenToStorageChanges:o})),v=pt(()=>f.value==="auto"?m.value:f.value),C=Rb("updateHTMLAttrs",(w,y,_)=>{const T=typeof w=="string"?a?.document.querySelector(w):qs(w);if(!T)return;const O=new Set,I=new Set;let z=null;if(y==="class"){const W=_.split(/\s/g);Object.values(h).flatMap(F=>(F||"").split(/\s/g)).filter(Boolean).forEach(F=>{W.includes(F)?O.add(F):I.add(F)})}else z={key:y,value:_};if(O.size===0&&I.size===0&&z===null)return;let G;u&&(G=a.document.createElement("style"),G.appendChild(document.createTextNode(Jk)),a.document.head.appendChild(G));for(const W of O)T.classList.add(W);for(const W of I)T.classList.remove(W);z&&T.setAttribute(z.key,z.value),u&&(a.getComputedStyle(G).opacity,document.head.removeChild(G))});function S(w){var y;C(e,n,(y=h[w])!=null?y:w)}function x(w){t.onChanged?t.onChanged(w,S):S(w)}Lr(v,x,{flush:"post",immediate:!0}),r1(()=>x(v.value));const g=pt({get(){return p?f.value:v.value},set(w){f.value=w}});return Object.assign(g,{store:f,system:m,state:v})}function Im(t,e,n={}){const{window:r=Pi,...a}=n;let i;const s=jl(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Pr(t);return Array.isArray(h)?h.map(d=>qs(d)):[qs(h)]}),p=Lr(l,h=>{if(o(),s.value&&r){i=new ResizeObserver(e);for(const d of h)d&&i.observe(d,a)}},{immediate:!0,flush:"post"}),u=()=>{o(),p()};return Io(u),{isSupported:s,stop:u}}function Zk(t,e={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:i=!0,updateTiming:s="sync"}=e,o=Gr(0),l=Gr(0),p=Gr(0),u=Gr(0),h=Gr(0),d=Gr(0),m=Gr(0),f=Gr(0);function v(){const S=qs(t);if(!S){n&&(o.value=0,l.value=0,p.value=0,u.value=0,h.value=0,d.value=0,m.value=0,f.value=0);return}const x=S.getBoundingClientRect();o.value=x.height,l.value=x.bottom,p.value=x.left,u.value=x.right,h.value=x.top,d.value=x.width,m.value=x.x,f.value=x.y}function C(){s==="sync"?v():s==="next-frame"&&requestAnimationFrame(()=>v())}return Im(t,C),Lr(()=>qs(t),S=>!S&&C()),Rk(t,C,{attributeFilter:["style","class"]}),a&&hi("scroll",C,{capture:!0,passive:!0}),r&&hi("resize",C,{passive:!0}),r1(()=>{i&&C()}),{height:o,bottom:l,left:p,right:u,top:h,width:d,x:m,y:f,update:C}}function ez(t,e={width:0,height:0},n={}){const{window:r=Pi,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=qs(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=Gr(e.width),o=Gr(e.height),{stop:l}=Im(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=qs(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=Vc(d);s.value=m.reduce((f,{inlineSize:v})=>f+v,0),o.value=m.reduce((f,{blockSize:v})=>f+v,0)}else s.value=h.contentRect.width,o.value=h.contentRect.height},n);r1(()=>{const h=qs(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const p=Lr(()=>qs(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function u(){l(),p()}return{width:s,height:o,stop:u}}function tz(t,e,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:s=Pi,immediate:o=!0}=n,l=jl(()=>s&&"IntersectionObserver"in s),p=pt(()=>{const f=Pr(t);return Vc(f).map(qs).filter(Ib)});let u=Vi;const h=Gr(o),d=l.value?Lr(()=>[p.value,qs(r),h.value],([f,v])=>{if(u(),!h.value||!f.length)return;const C=new IntersectionObserver(e,{root:qs(v),rootMargin:a,threshold:i});f.forEach(S=>S&&C.observe(S)),u=()=>{C.disconnect(),u=Vi}},{immediate:o,flush:"post"}):Vi,m=()=>{u(),d(),h.value=!1};return Io(m),{isSupported:l,isActive:h,pause(){u(),h.value=!1},resume(){h.value=!0},stop:m}}function rz(t={}){const{initialValue:e=""}=t,n=jl(()=>typeof window<"u"&&"EyeDropper"in window),r=Gr(e);async function a(i){if(!n.value)return;const o=await new window.EyeDropper().open(i);return r.value=o.sRGBHex,o}return{isSupported:n,sRGBHex:r,open:a}}function kd(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function nz(t,e,n={}){const{window:r=Pi}=n;return jb(t,e,r?.localStorage,n)}function sz(t={}){const{controls:e=!1,interval:n="requestAnimationFrame",immediate:r=!0}=t,a=xt(new Date),i=()=>a.value=new Date,s=n==="requestAnimationFrame"?Bk(i,{immediate:r}):Ik(i,n,{immediate:r});return e?{now:a,...s}:a}function iz(t){const e=Om("(prefers-reduced-motion: reduce)",t);return pt(()=>e.value?"reduce":"no-preference")}function Bb(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const zd=new WeakMap;function az(t,e=!1){const n=Gr(e);let r=null,a="";Lr(Lm(t),o=>{const l=kd(Pr(o));if(l){const p=l;if(zd.get(p)||zd.set(p,p.style.overflow),p.style.overflow!=="hidden"&&(a=p.style.overflow),p.style.overflow==="hidden")return n.value=!0;if(n.value)return p.style.overflow="hidden"}},{immediate:!0});const i=()=>{const o=kd(Pr(t));!o||n.value||(G0&&(r=hi(o,"touchmove",l=>{oz(l)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},s=()=>{const o=kd(Pr(t));!o||!n.value||(G0&&r?.(),o.style.overflow=a,zd.delete(o),n.value=!1)};return Io(s),pt({get(){return n.value},set(o){o?i():s()}})}let lz=0;function EX(t,e={}){const n=Gr(!1),{document:r=Vk,immediate:a=!0,manual:i=!1,id:s=`vueuse_styletag_${++lz}`}=e,o=Gr(t);let l=()=>{};const p=()=>{if(!r)return;const h=r.getElementById(s)||r.createElement("style");h.isConnected||(h.id=s,e.nonce&&(h.nonce=e.nonce),e.media&&(h.media=e.media),r.head.appendChild(h)),!n.value&&(l=Lr(o,d=>{h.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(s)),n.value=!1)};return a&&!i&&r1(p),i||Io(u),{id:s,css:o,unload:u,load:p,isLoaded:Ga(n)}}const cz=[{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"}],uz={justNow:"just now",past:t=>t.match(/\d/)?`${t} ago`:t,future:t=>t.match(/\d/)?`in ${t}`:t,month:(t,e)=>t===1?e?"last month":"next month":`${t} month${t>1?"s":""}`,year:(t,e)=>t===1?e?"last year":"next year":`${t} year${t>1?"s":""}`,day:(t,e)=>t===1?e?"yesterday":"tomorrow":`${t} day${t>1?"s":""}`,week:(t,e)=>t===1?e?"last week":"next week":`${t} week${t>1?"s":""}`,hour:t=>`${t} hour${t>1?"s":""}`,minute:t=>`${t} minute${t>1?"s":""}`,second:t=>`${t} second${t>1?"s":""}`,invalid:""};function pz(t){return t.toISOString().slice(0,10)}function xX(t,e={}){const{controls:n=!1,updateInterval:r=3e4}=e,{now:a,...i}=sz({interval:r,controls:!0}),s=pt(()=>hz(new Date(Pr(t)),e,Pr(a)));return n?{timeAgo:s,...i}:s}function hz(t,e={},n=Date.now()){var r;const{max:a,messages:i=uz,fullDateFormatter:s=pz,units:o=cz,showSecond:l=!1,rounding:p="round"}=e,u=typeof p=="number"?C=>+C.toFixed(p):Math[p],h=+n-+t,d=Math.abs(h);function m(C,S){return u(Math.abs(C)/S.value)}function f(C,S){const x=m(C,S),g=C>0,w=v(S.name,x,g);return v(g?"past":"future",w,g)}function v(C,S,x){const g=i[C];return typeof g=="function"?g(S,x):g.replace("{0}",S.toString())}if(d<6e4&&!l)return i.justNow;if(typeof a=="number"&&d>a)return s(new Date(t));if(typeof a=="string"){const C=(r=o.find(S=>S.name===a))==null?void 0:r.max;if(C&&d>C)return s(new Date(t))}for(const[C,S]of o.entries()){if(m(h,S)<=0&&o[C-1])return f(h,o[C-1]);if(do?typeof o=="function"?o(g):Gk(g):g,S=()=>Ck(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=S(),w=xt(g);let y=!1;return Lr(()=>t[e],_=>{y||(y=!0,w.value=C(_),xs(()=>y=!1))}),Lr(w,_=>{!y&&(_!==t[e]||u)&&x(_)},{deep:u}),w}else return pt({get(){return S()},set(g){x(g)}})}function fz(t={}){const{window:e=Pi,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:i=!0,type:s="inner"}=t,o=Gr(n),l=Gr(r),p=()=>{if(e)if(s==="outer")o.value=e.outerWidth,l.value=e.outerHeight;else if(s==="visual"&&e.visualViewport){const{width:h,height:d,scale:m}=e.visualViewport;o.value=Math.round(h*m),l.value=Math.round(d*m)}else i?(o.value=e.innerWidth,l.value=e.innerHeight):(o.value=e.document.documentElement.clientWidth,l.value=e.document.documentElement.clientHeight)};p(),r1(p);const u={passive:!0};if(hi("resize",p,u),e&&s==="visual"&&e.visualViewport&&hi(e.visualViewport,"resize",p,u),a){const h=Om("(orientation: portrait)");Lr(h,()=>p())}return{width:o,height:l}}let Gs=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function dz(t){return km(t)}function km(t){return Array.isArray(t)?mz(t):t instanceof RegExp?t:typeof t=="object"?gz(t):t}function mz(t){let e=[];for(let n=0,r=t.length;n{for(let r in n)t[r]=n[r]}),t}function $b(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?$b(t.substring(0,t.length-1)):t.substr(~e+1)}var Nd=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ep=class{static hasCaptures(t){return t===null?!1:(Nd.lastIndex=0,Nd.test(t))}static replaceCaptures(t,e,n){return t.replace(Nd,(r,a,i,s)=>{let o=n[parseInt(a||i,10)];if(o){let l=e.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Ub(t,e){return te?1:0}function Gb(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,r=e.length;if(n===r){for(let a=0;athis._root.match(t));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,r=this._cachedMatchRoot.get(e).find(a=>vz(t.parent,a.parentScopes));return r?new Kb(r.fontStyle,r.foreground,r.background):null}},Vd=class gp{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const r of n)e=new gp(e,r);return e}static from(...e){let n=null;for(let r=0;r"){if(n===e.length-1)return!1;r=e[++n],a=!0}for(;t&&!yz(t.scopeName,r);){if(a)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function yz(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var Kb=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function bz(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],r=0;for(let a=0,i=e.length;a1&&(C=f.slice(0,f.length-1),C.reverse()),n[r++]=new Cz(v,C,a,l,p,u)}}return n}var Cz=class{constructor(t,e,n,r,a,i){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=r,this.foreground=a,this.background=i}},ui=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(ui||{});function Sz(t,e){t.sort((l,p)=>{let u=Ub(l.scope,p.scope);return u!==0||(u=Gb(l.parentScopes,p.parentScopes),u!==0)?u:l.index-p.index});let n=0,r="#000000",a="#ffffff";for(;t.length>=1&&t[0].scope==="";){let l=t.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(a=l.background)}let i=new Ez(e),s=new Kb(n,i.getId(r),i.getId(a)),o=new wz(new W0(0,null,-1,0,0),[]);for(let l=0,p=t.length;le?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},wz=class q0{constructor(e,n=[],r={}){this._mainRule=e,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let r=0,a=0;for(;e.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=e.parentScopes.length||a>=n.parentScopes.length);){const i=n.parentScopes[a].length-e.parentScopes[r].length;if(i!==0)return i;r++,a++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let r=e.indexOf("."),a,i;if(r===-1?(a=e,i=""):(a=e.substring(0,r),i=e.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(q0._cmpBySpecificity),n}insert(e,n,r,a,i,s){if(n===""){this._doInsertHere(e,r,a,i,s);return}let o=n.indexOf("."),l,p;o===-1?(l=n,p=""):(l=n.substring(0,o),p=n.substring(o+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new q0(this._mainRule.clone(),W0.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(e+1,p,r,a,i,s)}_doInsertHere(e,n,r,a,i){if(n===null){this._mainRule.acceptOverwrite(e,r,a,i);return}for(let s=0,o=this._rulesWithParentScopes.length;s>>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,n,r,a,i,s,o){let l=Gi.getLanguageId(e),p=Gi.getTokenType(e),u=Gi.containsBalancedBrackets(e)?1:0,h=Gi.getFontStyle(e),d=Gi.getForeground(e),m=Gi.getBackground(e);return n!==0&&(l=n),r!==8&&(p=r),a!==null&&(u=a?1:0),i!==-1&&(h=i),s!==0&&(d=s),o!==0&&(m=o),(l<<0|p<<8|u<<10|h<<11|d<<15|m<<24)>>>0}};function th(t,e){const n=[],r=Tz(t);let a=r.next();for(;a!==null;){let l=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let p=s();if(n.push({matcher:p,priority:l}),a!==",")break;a=r.next()}return n;function i(){if(a==="-"){a=r.next();const l=i();return p=>!!l&&!l(p)}if(a==="("){a=r.next();const l=o();return a===")"&&(a=r.next()),l}if(vv(a)){const l=[];do l.push(a),a=r.next();while(vv(a));return p=>e(l,p)}return null}function s(){const l=[];let p=i();for(;p;)l.push(p),p=i();return u=>l.every(h=>h(u))}function o(){const l=[];let p=s();for(;p&&(l.push(p),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");p=s()}return u=>l.some(h=>h(u))}}function vv(t){return!!t&&!!t.match(/[\w\.:]+/)}function Tz(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const r=n[0];return n=e.exec(t),r}}}function Yb(t){typeof t.dispose=="function"&&t.dispose()}var Pu=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},Az=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},_z=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},Mz=class{constructor(t,e){this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Pu(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const t=this.Q;this.Q=[];const e=new _z;for(const n of t)Pz(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Pu){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function Pz(t,e,n,r){const a=n.lookup(t.scopeName);if(!a){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const i=n.lookup(e);t instanceof Pu?vp({baseGrammar:i,selfGrammar:a},r):K0(t.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},r);const s=n.injections(t.scopeName);if(s)for(const o of s)r.add(new Pu(o))}function K0(t,e,n){if(e.repository&&e.repository[t]){const r=e.repository[t];rh([r],e,n)}}function vp(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&rh(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&rh(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function rh(t,e,n){for(const r of t){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?Fb({},e.repository,r.repository):e.repository;Array.isArray(r.patterns)&&rh(r.patterns,{...e,repository:a},n);const i=r.include;if(!i)continue;const s=Jb(i);switch(s.kind){case 0:vp({...e,selfGrammar:e.baseGrammar},n);break;case 1:vp(e,n);break;case 2:K0(s.ruleName,{...e,repository:a},n);break;case 3:case 4:const o=s.scopeName===e.selfGrammar.scopeName?e.selfGrammar:s.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(o){const l={baseGrammar:e.baseGrammar,selfGrammar:o,repository:a};s.kind===4?K0(s.ruleName,l,n):vp(l,n)}else s.kind===4?n.add(new Az(s.scopeName,s.ruleName)):n.add(new Pu(s.scopeName));break}}}var Lz=class{kind=0},Oz=class{kind=1},Iz=class{constructor(t){this.ruleName=t}kind=2},kz=class{constructor(t){this.scopeName=t}kind=3},zz=class{constructor(t,e){this.scopeName=t,this.ruleName=e}kind=4};function Jb(t){if(t==="$base")return new Lz;if(t==="$self")return new Oz;const e=t.indexOf("#");if(e===-1)return new kz(t);if(e===0)return new Iz(t.substring(1));{const n=t.substring(0,e),r=t.substring(e+1);return new zz(n,r)}}var Nz=/\\(\d+)/,yv=/\\(\d+)/g,Vz=-1,Qb=-2;var Ju=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,e,n,r){this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=ep.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=ep.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${$b(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:ep.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ep.replaceCaptures(this._contentName,t,e)}},Hz=class extends Ju{retokenizeCapturedWithRuleId;constructor(t,e,n,r,a){super(t,e,n,r),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(t,e){throw new Error("Not supported!")}compile(t,e){throw new Error("Not supported!")}compileAG(t,e,n,r){throw new Error("Not supported!")}},Dz=class extends Ju{_match;captures;_cachedCompiledPatterns;constructor(t,e,n,r,a){super(t,e,n,null),this._match=new Lu(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,e){e.push(this._match)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ou,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},bv=class extends Ju{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,a){super(t,e,n,r),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,e){for(const n of this.patterns)t.getRule(n).collectPatterns(t,e)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ou,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},X0=class extends Ju{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,e,n,r,a,i,s,o,l,p){super(t,e,n,r),this._begin=new Lu(a,this.id),this.beginCaptures=i,this._end=new Lu(s||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=p.patterns,this.hasMissingPatterns=p.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(t,e){return this._end.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t,e).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t,e).compileAG(t,n,r)}_getCachedCompiledPatterns(t,e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ou;for(const n of this.patterns)t.getRule(n).collectPatterns(t,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}},nh=class extends Ju{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,e,n,r,a,i,s,o,l){super(t,e,n,r),this._begin=new Lu(a,this.id),this.beginCaptures=i,this.whileCaptures=o,this._while=new Lu(s,Qb),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(t,e){return this._while.resolveBackReferences(t,e)}collectPatterns(t,e){e.push(this._begin)}compile(t,e){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,e,n,r){return this._getCachedCompiledPatterns(t).compileAG(t,n,r)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ou;for(const e of this.patterns)t.getRule(e).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,e){return this._getCachedCompiledWhilePatterns(t,e).compile(t)}compileWhileAG(t,e,n,r){return this._getCachedCompiledWhilePatterns(t,e).compileAG(t,n,r)}_getCachedCompiledWhilePatterns(t,e){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ou,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,e||"￿"),this._cachedCompiledWhilePatterns}},Zb=class oi{static createCaptureRule(e,n,r,a,i){return e.registerRule(s=>new Hz(n,s,r,a,i))}static getCompiledRuleId(e,n,r){return e.id||n.registerRule(a=>{if(e.id=a,e.match)return new Dz(e.$vscodeTextmateLocation,e.id,e.name,e.match,oi._compileCaptures(e.captures,n,r));if(typeof e.begin>"u"){e.repository&&(r=Fb({},r,e.repository));let i=e.patterns;return typeof i>"u"&&e.include&&(i=[{include:e.include}]),new bv(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,oi._compilePatterns(i,n,r))}return e.while?new nh(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,oi._compileCaptures(e.beginCaptures||e.captures,n,r),e.while,oi._compileCaptures(e.whileCaptures||e.captures,n,r),oi._compilePatterns(e.patterns,n,r)):new X0(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,oi._compileCaptures(e.beginCaptures||e.captures,n,r),e.end,oi._compileCaptures(e.endCaptures||e.captures,n,r),e.applyEndPatternLast,oi._compilePatterns(e.patterns,n,r))}),e.id}static _compileCaptures(e,n,r){let a=[];if(e){let i=0;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);o>i&&(i=o)}for(let s=0;s<=i;s++)a[s]=null;for(const s in e){if(s==="$vscodeTextmateLocation")continue;const o=parseInt(s,10);let l=0;e[s].patterns&&(l=oi.getCompiledRuleId(e[s],n,r)),a[o]=oi.createCaptureRule(n,e[s].$vscodeTextmateLocation,e[s].name,e[s].contentName,l)}}return a}static _compilePatterns(e,n,r){let a=[];if(e)for(let i=0,s=e.length;ie.substring(a.start,a.end));return yv.lastIndex=0,this.source.replace(yv,(a,i)=>Wb(r[parseInt(i,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],r=[],a=[],i,s,o,l;for(i=0,s=this.source.length;in.source);this._cached=new Cv(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let r=this._items.map(a=>a.resolveAnchors(e,n));return new Cv(t,r,this._items.map(a=>a.ruleId))}},Cv=class{constructor(t,e,n){this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e{const n=this._scopeToLanguage(e),r=this._toStandardTokenType(e);return new Hd(n,r)});_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(Y0.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[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/},jz=class{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,r])=>Wb(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}},Sv=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function tC(t,e,n,r,a,i,s,o){const l=e.content.length;let p=!1,u=-1;if(s){const m=Bz(t,e,n,r,a,i);a=m.stack,r=m.linePos,n=m.isFirstLine,u=m.anchorPosition}const h=Date.now();for(;!p;){if(o!==0&&Date.now()-h>o)return new Sv(a,!0);d()}return new Sv(a,!1);function d(){const m=Fz(t,e,n,r,a,u);if(!m){i.produce(a,l),p=!0;return}const f=m.captureIndices,v=m.matchedRuleId,C=f&&f.length>0?f[0].end>r:!1;if(v===Vz){const S=a.getRule(t);i.produce(a,f[0].start),a=a.withContentNameScopesList(a.nameScopesList),U1(t,e,n,a,i,S.endCaptures,f),i.produce(a,f[0].end);const x=a;if(a=a.parent,u=x.getAnchorPos(),!C&&x.getEnterPos()===r){a=x,i.produce(a,l),p=!0;return}}else{const S=t.getRule(v);i.produce(a,f[0].start);const x=a,g=S.getName(e.content,f),w=a.contentNameScopesList.pushAttributed(g,t);if(a=a.push(v,r,u,f[0].end===l,null,w,w),S instanceof X0){const y=S;U1(t,e,n,a,i,y.beginCaptures,f),i.produce(a,f[0].end),u=f[0].end;const _=y.getContentName(e.content,f),T=w.pushAttributed(_,t);if(a=a.withContentNameScopesList(T),y.endHasBackReferences&&(a=a.withEndRule(y.getEndWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),p=!0;return}}else if(S instanceof nh){const y=S;U1(t,e,n,a,i,y.beginCaptures,f),i.produce(a,f[0].end),u=f[0].end;const _=y.getContentName(e.content,f),T=w.pushAttributed(_,t);if(a=a.withContentNameScopesList(T),y.whileHasBackReferences&&(a=a.withEndRule(y.getWhileWithResolvedBackReferences(e.content,f))),!C&&x.hasSameRuleAs(a)){a=a.pop(),i.produce(a,l),p=!0;return}}else if(U1(t,e,n,a,i,S.captures,f),i.produce(a,f[0].end),a=a.pop(),!C){a=a.safePop(),i.produce(a,l),p=!0;return}}f[0].end>r&&(r=f[0].end,n=!1)}}function Bz(t,e,n,r,a,i){let s=a.beginRuleCapturedEOL?0:-1;const o=[];for(let l=a;l;l=l.pop()){const p=l.getRule(t);p instanceof nh&&o.push({rule:p,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:p,findOptions:u}=Gz(l.rule,t,l.stack.endRule,n,r===s),h=p.findNextMatchSync(e,r,u);if(h){if(h.ruleId!==Qb){a=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(i.produce(l.stack,h.captureIndices[0].start),U1(t,e,n,l.stack,i,l.rule.whileCaptures,h.captureIndices),i.produce(l.stack,h.captureIndices[0].end),s=h.captureIndices[0].end,h.captureIndices[0].end>r&&(r=h.captureIndices[0].end,n=!1))}else{a=l.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:s,isFirstLine:n}}function Fz(t,e,n,r,a,i){const s=$z(t,e,n,r,a,i),o=t.getInjections();if(o.length===0)return s;const l=Uz(o,t,e,n,r,a,i);if(!l)return s;if(!s)return l;const p=s.captureIndices[0].start,u=l.captureIndices[0].start;return u=o)&&(o=g,l=x.captureIndices,p=x.ruleId,u=f.priority,o===a))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:p}:null}function rC(t,e,n,r,a){return{ruleScanner:t.compileAG(e,n,r,a),findOptions:0}}function Gz(t,e,n,r,a){return{ruleScanner:t.compileWhileAG(e,n,r,a),findOptions:0}}function U1(t,e,n,r,a,i,s){if(i.length===0)return;const o=e.content,l=Math.min(i.length,s.length),p=[],u=s[0].end;for(let h=0;hu)break;for(;p.length>0&&p[p.length-1].endPos<=m.start;)a.produceFromScopes(p[p.length-1].scopes,p[p.length-1].endPos),p.pop();if(p.length>0?a.produceFromScopes(p[p.length-1].scopes,m.start):a.produce(r,m.start),d.retokenizeCapturedWithRuleId){const v=d.getName(o,s),C=r.contentNameScopesList.pushAttributed(v,t),S=d.getContentName(o,s),x=C.pushAttributed(S,t),g=r.push(d.retokenizeCapturedWithRuleId,m.start,-1,!1,null,C,x),w=t.createOnigString(o.substring(0,m.end));tC(t,w,n&&m.start===0,m.start,g,a,!1,0),Yb(w);continue}const f=d.getName(o,s);if(f!==null){const C=(p.length>0?p[p.length-1].scopes:r.contentNameScopesList).pushAttributed(f,t);p.push(new Wz(C,m.end))}}for(;p.length>0;)a.produceFromScopes(p[p.length-1].scopes,p[p.length-1].endPos),p.pop()}var Wz=class{scopes;endPos;constructor(t,e){this.scopes=t,this.endPos=e}};function qz(t,e,n,r,a,i,s,o){return new Xz(t,e,n,r,a,i,s,o)}function Ev(t,e,n,r,a){const i=th(e,sh),s=Zb.getCompiledRuleId(n,r,a.repository);for(const o of i)t.push({debugSelector:e,matcher:o.matcher,ruleId:s,grammar:a,priority:o.priority})}function sh(t,e){if(e.length{for(let a=n;an&&t.substr(0,n)===e&&t[n]==="."}var Xz=class{constructor(t,e,n,r,a,i,s,o){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=o,this._basicScopeAttributesProvider=new Rz(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=xv(e,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const l of Object.keys(a)){const p=th(l,sh);for(const u of p)this._tokenTypeMatchers.push({matcher:u.matcher,type:a[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},e=[],n=this._rootScopeName,r=t.lookup(n);if(r){const a=r.injections;if(a)for(let s in a)Ev(e,s,a[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const o=this.getExternalGrammar(s);if(o){const l=o.injectionSelector;l&&Ev(e,l,o,this,o)}})}return e.sort((a,i)=>a.priority-i.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=xv(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const r=this._tokenize(t,e,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(t,e,n=0){const r=this._tokenize(t,e,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(t,e,n,r){this._rootId===-1&&(this._rootId=Zb.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!e||e===J0.NULL){a=!0;const p=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),h=Xc.set(0,p.languageId,p.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=su.createRootAndLookUpScopeName(d,h,this):m=su.createRoot("unknown",h),e=new J0(null,this._rootId,-1,-1,!1,null,m,m)}else a=!1,e.reset();t=t+` `;const i=this.createOnigString(t),s=i.content.length,o=new Jz(n,t,this._tokenTypeMatchers,this.balancedBracketSelectors),l=tC(this,i,a,0,e,o,!0,r);return Yb(i),{lineLength:s,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function xv(t,e){return t=dz(t),t.repository=t.repository||{},t.repository.$self={$vscodeTextmateLocation:t.$vscodeTextmateLocation,patterns:t.patterns,name:t.scopeName},t.repository.$base=e||t.repository.$self,t}var su=class Eo{constructor(e,n,r){this.parent=e,this.scopePath=n,this.tokenAttributes=r}static fromExtension(e,n){let r=e,a=e?.scopePath??null;for(const i of n)a=Vd.push(a,i.scopeNames),r=new Eo(r,a,i.encodedTokenAttributes);return r}static createRoot(e,n){return new Eo(null,new Vd(null,e),n)}static createRootAndLookUpScopeName(e,n,r){const a=r.getMetadataForScope(e),i=new Vd(null,e),s=r.themeProvider.themeMatch(i),o=Eo.mergeAttributes(n,a,s);return new Eo(null,i,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(e){return Eo.equals(this,e)}static equals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.scopeName!==n.scopeName||e.tokenAttributes!==n.tokenAttributes)return!1;e=e.parent,n=n.parent}while(!0)}static mergeAttributes(e,n,r){let a=-1,i=0,s=0;return r!==null&&(a=r.fontStyle,i=r.foregroundId,s=r.backgroundId),Xc.set(e,n.languageId,n.tokenType,null,a,i,s)}pushAttributed(e,n){if(e===null)return this;if(e.indexOf(" ")===-1)return Eo._pushAttributed(this,e,n);const r=e.split(/ /g);let a=this;for(const i of r)a=Eo._pushAttributed(a,i,n);return a}static _pushAttributed(e,n,r){const a=r.getMetadataForScope(n),i=e.scopePath.push(n),s=r.themeProvider.themeMatch(i),o=Eo.mergeAttributes(e.tokenAttributes,a,s);return new Eo(e,i,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){const n=[];let r=this;for(;r&&r!==e;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===e?n.reverse():void 0}},J0=class yl{constructor(e,n,r,a,i,s,o,l){this.parent=e,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new yl(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(e){return e===null?!1:yl._equals(this,e)}static _equals(e,n){return e===n?!0:this._structuralEquals(e,n)?su.equals(e.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(e,n){do{if(e===n||!e&&!n)return!0;if(!e||!n||e.depth!==n.depth||e.ruleId!==n.ruleId||e.endRule!==n.endRule)return!1;e=e.parent,n=n.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){yl._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,a,i,s,o){return new yl(this,e,n,r,a,i,s,o)}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,n){return this.parent&&(n=this.parent._writeString(e,n)),e[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}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 yl(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let n=this;for(;n&&n._enterPos===e._enterPos;){if(n.ruleId===e.ruleId)return!0;n=n.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,n){const r=su.fromExtension(e?.nameScopesList??null,n.nameScopesList);return new yl(e,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,su.fromExtension(r,n.contentNameScopesList))}},Yz=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,e){this.balancedBracketScopes=t.flatMap(n=>n==="*"?(this.allowAny=!0,[]):th(n,sh).map(r=>r.matcher)),this.unbalancedBracketScopes=e.flatMap(n=>th(n,sh).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const e of this.unbalancedBracketScopes)if(e(t))return!1;for(const e of this.balancedBracketScopes)if(e(t))return!0;return this.allowAny}},Jz=class{constructor(t,e,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=t,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(t,e){this.produceFromScopes(t.contentNameScopesList,e)}produceFromScopes(t,e){if(this._lastTokenEndIndex>=e)return;if(this._emitBinaryTokens){let r=t?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=t?.getScopeNames()??[];for(const s of this._tokenTypeOverrides)s.matcher(i)&&(r=Xc.set(r,0,s.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(r=Xc.set(r,0,8,a,-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 n=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:e,scopes:n}),this._lastTokenEndIndex=e}getResult(t,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(t,e),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,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(t,e),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r0;)s.Q.map(o=>this._loadSingleGrammar(o.scopeName)),s.processQueue();return this._grammarForScopeName(e,n,r,a,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const n=this._options.loadGrammar(e);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(e,n=[],r=0,a=null){return this._syncRegistry.addGrammar(e,n),this._grammarForScopeName(e.scopeName,r,a)}_grammarForScopeName(e,n=0,r=null,a=null,i=null){return this._syncRegistry.grammarForScopeName(e,n,r,a,i)}},Q0=J0.NULL;const eN=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Qu{constructor(e,n,r){this.normal=n,this.property=e,r&&(this.space=r)}}Qu.prototype.normal={};Qu.prototype.property={};Qu.prototype.space=void 0;function nC(t,e){const n={},r={};for(const a of t)Object.assign(n,a.property),Object.assign(r,a.normal);return new Qu(n,r,e)}function Z0(t){return t.toLowerCase()}class Li{constructor(e,n){this.attribute=n,this.property=e}}Li.prototype.attribute="";Li.prototype.booleanish=!1;Li.prototype.boolean=!1;Li.prototype.commaOrSpaceSeparated=!1;Li.prototype.commaSeparated=!1;Li.prototype.defined=!1;Li.prototype.mustUseProperty=!1;Li.prototype.number=!1;Li.prototype.overloadedBoolean=!1;Li.prototype.property="";Li.prototype.spaceSeparated=!1;Li.prototype.space=void 0;let tN=0;const rn=Fl(),Is=Fl(),e5=Fl(),Rt=Fl(),ts=Fl(),Hc=Fl(),Ni=Fl();function Fl(){return 2**++tN}const t5=Object.freeze(Object.defineProperty({__proto__:null,boolean:rn,booleanish:Is,commaOrSpaceSeparated:Ni,commaSeparated:Hc,number:Rt,overloadedBoolean:e5,spaceSeparated:ts},Symbol.toStringTag,{value:"Module"})),Dd=Object.keys(t5);class zm extends Li{constructor(e,n,r,a){let i=-1;if(super(e,n),wv(this,"space",a),typeof r=="number")for(;++i4&&n.slice(0,4)==="data"&&iN.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(Tv,lN);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!Tv.test(i)){let s=i.replace(sN,aN);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}a=zm}return new a(r,e)}function aN(t){return"-"+t.toLowerCase()}function lN(t){return t.charAt(1).toUpperCase()}const cN=nC([sC,rN,aC,lC,cC],"html"),uC=nC([sC,nN,aC,lC,cC],"svg"),Av={}.hasOwnProperty;function uN(t,e){const n=e||{};function r(a,...i){let s=r.invalid;const o=r.handlers;if(a&&Av.call(a,t)){const l=String(a[t]);s=Av.call(o,l)?o[l]:r.unknown}if(s)return s.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const pN=/["&'<>`]/g,hN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fN=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,dN=/[|\\{}()[\]^$+*?.]/g,_v=new WeakMap;function mN(t,e){if(t=t.replace(e.subset?gN(e.subset):pN,r),e.subset||e.escapeOnly)return t;return t.replace(hN,n).replace(fN,r);function n(a,i,s){return e.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),e)}function r(a,i,s){return e.format(a.charCodeAt(0),s.charCodeAt(i+1),e)}}function gN(t){let e=_v.get(t);return e||(e=vN(t),_v.set(t,e)),e}function vN(t){const e=[];let n=-1;for(;++n",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:"€"},xN=["cent","copy","divide","gt","lt","not","para","times"],pC={}.hasOwnProperty,r5={};let tp;for(tp in Rd)pC.call(Rd,tp)&&(r5[Rd[tp]]=tp);const wN=/[^\dA-Za-z]/;function TN(t,e,n,r){const a=String.fromCharCode(t);if(pC.call(r5,a)){const i=r5[a],s="&"+i;return n&&EN.includes(i)&&!xN.includes(i)&&(!r||e&&e!==61&&wN.test(String.fromCharCode(e)))?s:s+";"}return""}function AN(t,e,n){let r=bN(t,e,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=TN(t,e,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=SN(t,e,n.omitOptionalSemicolons);i.length|^->||--!>|"],PN=["<",">"];function LN(t,e,n,r){return r.settings.bogusComments?"":"";function a(i){return Dc(i,Object.assign({},r.settings.characterReferences,{subset:PN}))}}function ON(t,e,n,r){return""}function Mv(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(e);for(;a!==-1;)r++,a=n.indexOf(e,a+e.length);return r}function IN(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function kN(t){return t.join(" ").trim()}const zN=/[ \t\n\f\r]/g;function Nm(t){return typeof t=="object"?t.type==="text"?Pv(t.value):!1:Pv(t)}function Pv(t){return t.replace(zN,"")===""}const js=fC(1),hC=fC(-1),NN=[];function fC(t){return e;function e(n,r,a){const i=n?n.children:NN;let s=(r||0)+t,o=i[s];if(!a)for(;o&&Nm(o);)s+=t,o=i[s];return o}}const VN={}.hasOwnProperty;function dC(t){return e;function e(n,r,a){return VN.call(t,n.tagName)&&t[n.tagName](n,r,a)}}const Vm=dC({body:DN,caption:jd,colgroup:jd,dd:FN,dt:BN,head:jd,html:HN,li:jN,optgroup:$N,option:UN,p:RN,rp:Lv,rt:Lv,tbody:WN,td:Ov,tfoot:qN,th:Ov,thead:GN,tr:KN});function jd(t,e,n){const r=js(n,e,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Nm(r.value.charAt(0)))}function HN(t,e,n){const r=js(n,e);return!r||r.type!=="comment"}function DN(t,e,n){const r=js(n,e);return!r||r.type!=="comment"}function RN(t,e,n){const r=js(n,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"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function jN(t,e,n){const r=js(n,e);return!r||r.type==="element"&&r.tagName==="li"}function BN(t,e,n){const r=js(n,e);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function FN(t,e,n){const r=js(n,e);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Lv(t,e,n){const r=js(n,e);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function $N(t,e,n){const r=js(n,e);return!r||r.type==="element"&&r.tagName==="optgroup"}function UN(t,e,n){const r=js(n,e);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function GN(t,e,n){const r=js(n,e);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function WN(t,e,n){const r=js(n,e);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function qN(t,e,n){return!js(n,e)}function KN(t,e,n){const r=js(n,e);return!r||r.type==="element"&&r.tagName==="tr"}function Ov(t,e,n){const r=js(n,e);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const XN=dC({body:QN,colgroup:ZN,head:JN,html:YN,tbody:eV});function YN(t){const e=js(t,-1);return!e||e.type!=="comment"}function JN(t){const e=new Set;for(const r of t.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(e.has(r.tagName))return!1;e.add(r.tagName)}const n=t.children[0];return!n||n.type==="element"}function QN(t){const e=js(t,-1,!0);return!e||e.type!=="comment"&&!(e.type==="text"&&Nm(e.value.charAt(0)))&&!(e.type==="element"&&(e.tagName==="meta"||e.tagName==="link"||e.tagName==="script"||e.tagName==="style"||e.tagName==="template"))}function ZN(t,e,n){const r=hC(n,e),a=js(t,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Vm(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function eV(t,e,n){const r=hC(n,e),a=js(t,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Vm(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const rp={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 tV(t,e,n,r){const a=r.schema,i=a.space==="svg"?!1:r.settings.omitOptionalTags;let s=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(t.tagName.toLowerCase());const o=[];let l;a.space==="html"&&t.tagName==="svg"&&(r.schema=uC);const p=rV(r,t.properties),u=r.all(a.space==="html"&&t.tagName==="template"?t.content:t);return r.schema=a,u&&(s=!1),(p||!i||!XN(t,e,n))&&(o.push("<",t.tagName,p?" "+p:""),s&&(a.space==="svg"||r.settings.closeSelfClosing)&&(l=p.charAt(p.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(u),!s&&(!i||!Vm(t,e,n))&&o.push(""),o.join("")}function rV(t,e){const n=[];let r=-1,a;if(e){for(a in e)if(e[a]!==null&&e[a]!==void 0){const i=nV(t,a,e[a]);i&&n.push(i)}}for(;++rMv(n,t.alternative)&&(s=t.alternative),o=s+Dc(n,Object.assign({},t.settings.characterReferences,{subset:(s==="'"?rp.single:rp.double)[a][i],attribute:!0}))+s),l+(o&&"="+o))}const sV=["<","&"];function mC(t,e,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?t.value:Dc(t.value,Object.assign({},r.settings.characterReferences,{subset:sV}))}function iV(t,e,n,r){return r.settings.allowDangerousHtml?t.value:mC(t,e,n,r)}function oV(t,e,n,r){return r.all(t)}const aV=uN("type",{invalid:lV,unknown:cV,handlers:{comment:LN,doctype:ON,element:tV,raw:iV,root:oV,text:mC}});function lV(t){throw new Error("Expected node, not `"+t+"`")}function cV(t){const e=t;throw new Error("Cannot compile unknown node `"+e.type+"`")}const uV={},pV={},hV=[];function fV(t,e){const n=e||uV,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:dV,all:mV,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||eN,characterReferences:n.characterReferences||pV,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?uC:cN,quote:r,alternative:a}.one(Array.isArray(t)?{type:"root",children:t}:t,void 0,void 0)}function dV(t,e,n){return aV(t,e,n,this)}function mV(t){const e=[],n=t&&t.children||hV;let r=-1;for(;++re.default||e)}function Hm(t){return!t||["plaintext","txt","text","plain"].includes(t)}function vV(t){return t==="ansi"||Hm(t)}function Dm(t){return t==="none"}function yV(t){return Dm(t)}function vC(t,e){if(!e)return t;t.properties||={},t.properties.class||=[],typeof t.properties.class=="string"&&(t.properties.class=t.properties.class.split(/\s+/g)),Array.isArray(t.properties.class)||(t.properties.class=[]);const n=Array.isArray(e)?e:e.split(/\s+/g);for(const r of n)r&&!t.properties.class.includes(r)&&t.properties.class.push(r);return t}function Jh(t,e=!1){const n=t.split(/(\r?\n)/g);let r=0;const a=[];for(let i=0;ia);function n(a){if(a===t.length)return{line:e.length-1,character:e[e.length-1].length};let i=a,s=0;for(const o of e){if(in&&r.push({...t,content:t.content.slice(n,a),offset:t.offset+n}),n=a;return nr-a);return n.length?t.map(r=>r.flatMap(a=>{const i=n.filter(s=>a.offsets-a.offset).sort((s,o)=>s-o);return i.length?SV(a,i):a})):t}function xV(t,e,n,r,a="css-vars"){const i={content:t.content,explanation:t.explanation,offset:t.offset},s=e.map(u=>oh(t.variants[u])),o=new Set(s.flatMap(u=>Object.keys(u))),l={},p=(u,h)=>{const d=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return n+e[u]+(h==="color"?"":d)};return s.forEach((u,h)=>{for(const d of o){const m=u[d]||"inherit";if(h===0&&r&&CV.includes(d))if(r===Rm&&s.length>1){const f=e.findIndex(x=>x==="light"),v=e.findIndex(x=>x==="dark");if(f===-1||v===-1)throw new Gs('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const C=s[f][d]||"inherit",S=s[v][d]||"inherit";l[d]=`light-dark(${C}, ${S})`,a==="css-vars"&&(l[p(h,d)]=m)}else l[d]=m;else a==="css-vars"&&(l[p(h,d)]=m)}}),i.htmlStyle=l,i}function oh(t){const e={};if(t.color&&(e.color=t.color),t.bgColor&&(e["background-color"]=t.bgColor),t.fontStyle){t.fontStyle&ui.Italic&&(e["font-style"]="italic"),t.fontStyle&ui.Bold&&(e["font-weight"]="bold");const n=[];t.fontStyle&ui.Underline&&n.push("underline"),t.fontStyle&ui.Strikethrough&&n.push("line-through"),n.length&&(e["text-decoration"]=n.join(" "))}return e}function n5(t){return typeof t=="string"?t:Object.entries(t).map(([e,n])=>`${e}:${n}`).join(";")}const yC=new WeakMap;function Qh(t,e){yC.set(t,e)}function Iu(t){return yC.get(t)}class s1{_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,n){return new s1(Object.fromEntries(gV(n).map(r=>[r,Q0])),e)}constructor(...e){if(e.length===2){const[n,r]=e;this.lang=r,this._stacks=n}else{const[n,r,a]=e;this.lang=r,this._stacks={[a]:n}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return wV(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function wV(t){const e=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const i=a?.nameScopesList?.scopeName;i&&e.push(i),a.parent&&r(a.parent)}return r(t),e}function TV(t,e){if(!(t instanceof s1))throw new Gs("Invalid grammar state");return t.getInternalStack(e)}function AV(){const t=new WeakMap;function e(n){if(!t.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new Gs(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...a.indexToPos(s),offset:s}}else{const o=a.lines[s.line];if(o===void 0)throw new Gs(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${a.lines.length}`);let l=s.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new Gs(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${o.length}`);return{...s,character:l,offset:a.posToIndex(s.line,l)}}};const a=bV(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));_V(i),t.set(n.meta,{decorations:i,converter:a,source:n.source})}return t.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const a=e(this).decorations.flatMap(s=>[s.start.offset,s.end.offset]);return EV(n,a)},code(n){if(!this.options.decorations?.length)return;const r=e(this),a=Array.from(n.children).filter(u=>u.type==="element"&&u.tagName==="span");if(a.length!==r.converter.lines.length)throw new Gs(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(u,h,d,m){const f=a[u];let v="",C=-1,S=-1;if(h===0&&(C=0),d===0&&(S=0),d===Number.POSITIVE_INFINITY&&(S=f.children.length),C===-1||S===-1)for(let g=0;gv);return u.tagName=h.tagName||"span",u.properties={...u.properties,...m,class:u.properties.class},h.properties?.class&&vC(u,h.properties.class),u=f(u,d)||u,u}const l=[],p=r.decorations.sort((u,h)=>h.start.offset-u.start.offset||u.end.offset-h.end.offset);for(const u of p){const{start:h,end:d}=u;if(h.line===d.line)i(h.line,h.character,d.character,u);else if(h.lines(m,u));i(d.line,0,d.character,u)}}l.forEach(u=>u())}}}function _V(t){for(let e=0;en.end.offset)throw new Gs(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=e+1;rNumber.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(e==="5"){const n=t.shift();if(n)return{type:"table",index:Number(n)}}}function OV(t){const e=[];for(;t.length>0;){const n=t.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)e.push({type:"resetAll"});else if(r<=9)Bd[r]&&e.push({type:"setDecoration",value:Bd[r]});else if(r<=29){const a=Bd[r-20];a&&(e.push({type:"resetDecoration",value:a}),a==="dim"&&e.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)e.push({type:"setForegroundColor",value:{type:"named",name:El[r-30]}});else if(r===38){const a=Iv(t);a&&e.push({type:"setForegroundColor",value:a})}else if(r===39)e.push({type:"resetForegroundColor"});else if(r<=47)e.push({type:"setBackgroundColor",value:{type:"named",name:El[r-40]}});else if(r===48){const a=Iv(t);a&&e.push({type:"setBackgroundColor",value:a})}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:El[r-90+8]}}):r>=100&&r<=107&&e.push({type:"setBackgroundColor",value:{type:"named",name:El[r-100+8]}})}return e}function IV(){let t=null,e=null,n=new Set;return{parse(r){const a=[];let i=0;do{const s=LV(r,i),o=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(o.length>0&&a.push({value:o,foreground:t,background:e,decorations:new Set(n)}),s.sequence){const l=OV(s.sequence);for(const p of l)p.type==="resetAll"?(t=null,e=null,n.clear()):p.type==="resetForegroundColor"?t=null:p.type==="resetBackgroundColor"?e=null:p.type==="resetDecoration"&&n.delete(p.value);for(const p of l)p.type==="setForegroundColor"?t=p.value:p.type==="setBackgroundColor"?e=p.value:p.type==="setDecoration"&&n.add(p.value)}i=s.position}while(iMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let p=0;p[o,t.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),s=IV();return a.map(o=>s.parse(o[0]).map(l=>{let p,u;l.decorations.has("reverse")?(p=l.background?i.value(l.background):t.bg,u=l.foreground?i.value(l.foreground):t.fg):(p=l.foreground?i.value(l.foreground):t.fg,u=l.background?i.value(l.background):void 0),p=Fa(p,r),u=Fa(u,r),l.decorations.has("dim")&&(p=VV(p));let h=ui.None;return l.decorations.has("bold")&&(h|=ui.Bold),l.decorations.has("italic")&&(h|=ui.Italic),l.decorations.has("underline")&&(h|=ui.Underline),l.decorations.has("strikethrough")&&(h|=ui.Strikethrough),{content:l.value,offset:o[1],color:p,bgColor:u,fontStyle:h}}))}function VV(t){const e=t.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 n=t.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:t}function jm(t,e,n={}){const{lang:r="text",theme:a=t.getLoadedThemes()[0]}=n;if(Hm(r)||Dm(a))return Jh(e).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=t.setTheme(a);if(r==="ansi")return NV(i,e,n);const o=t.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new Gs(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Gs(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return DV(e,o,i,s,n)}function HV(...t){if(t.length===2)return Iu(t[1]);const[e,n,r={}]=t,{lang:a="text",theme:i=e.getLoadedThemes()[0]}=r;if(Hm(a)||Dm(i))throw new Gs("Plain language does not have grammar state");if(a==="ansi")throw new Gs("ANSI language does not have grammar state");const{theme:s,colorMap:o}=e.setTheme(i),l=e.getLanguage(a);return new s1(lh(n,l,s,o,r).stateStack,l.name,s.name)}function DV(t,e,n,r,a){const i=lh(t,e,n,r,a),s=new s1(lh(t,e,n,r,a).stateStack,e.name,n.name);return Qh(i.tokens,s),i.tokens}function lh(t,e,n,r,a){const i=ih(n,a),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:o=500}=a,l=Jh(t);let p=a.grammarState?TV(a.grammarState,n.name)??Q0:a.grammarContextCode!=null?lh(a.grammarContextCode,e,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:Q0,u=[];const h=[];for(let d=0,m=l.length;d0&&f.length>=s){u=[],h.push([{content:f,offset:v,color:"",fontStyle:0}]);continue}let C,S,x;a.includeExplanation&&(C=e.tokenizeLine(f,p,o),S=C.tokens,x=0);const g=e.tokenizeLine2(f,p,o),w=g.tokens.length/2;for(let y=0;yH.trim());break;case"object":$=N.scope;break;default:continue}W.push({settings:N,selectors:$.map(H=>H.split(/ /))})}G.explanation=[];let F=0;for(;_+F({scopeName:e}))}function jV(t,e){const n=[];for(let r=0,a=e.length;r=0&&a>=0;)kv(t[r],n[a])&&(r-=1),a-=1;return r===-1}function FV(t,e,n){const r=[];for(const{selectors:a,settings:i}of t)for(const s of a)if(BV(s,e,n)){r.push(i);break}return r}function CC(t,e,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),a=r.map(l=>{const p=jm(t,e,{...n,theme:l.theme}),u=Iu(p),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:p,state:u,theme:h}}),i=$V(...a.map(l=>l.tokens)),s=i[0].map((l,p)=>l.map((u,h)=>{const d={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=u.explanation),i.forEach((m,f)=>{const{content:v,explanation:C,offset:S,...x}=m[p][h];d.variants[r[f].color]=x}),d})),o=a[0].state?new s1(Object.fromEntries(a.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),a[0].state.lang):void 0;return o&&Qh(s,o),s}function $V(...t){const e=t.map(()=>[]),n=t.length;for(let r=0;rl[r]),i=e.map(()=>[]);e.forEach((l,p)=>l.push(i[p]));const s=a.map(()=>0),o=a.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(p=>p.content.length));for(let p=0;pS[1]).map(S=>({color:S[0],theme:S[1]})).sort((S,x)=>S.color===p?-1:x.color===p?1:0);if(d.length===0)throw new Gs("`themes` option must not be empty");const m=CC(t,e,n);if(l=Iu(m),p&&Rm!==p&&!d.find(S=>S.color===p))throw new Gs(`\`themes\` option must contain the defaultColor key \`${p}\``);const f=d.map(S=>t.getTheme(S.theme)),v=d.map(S=>S.color);i=m.map(S=>S.map(x=>xV(x,v,u,p,h))),l&&Qh(i,l);const C=d.map(S=>ih(S.theme,n));a=zv(d,f,C,u,p,"fg",h),r=zv(d,f,C,u,p,"bg",h),s=`shiki-themes ${f.map(S=>S.name).join(" ")}`,o=p?void 0:[a,r].join(";")}else if("theme"in n){const p=ih(n.theme,n);i=jm(t,e,n);const u=t.getTheme(n.theme);r=Fa(u.bg,p),a=Fa(u.fg,p),s=u.name,l=Iu(i)}else throw new Gs("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:r,themeName:s,rootStyle:o,grammarState:l}}function zv(t,e,n,r,a,i,s){return t.map((o,l)=>{const p=Fa(e[l][i],n[l])||"inherit",u=`${r+o.color}${i==="bg"?"-bg":""}:${p}`;if(l===0&&a){if(a===Rm&&t.length>1){const h=t.findIndex(v=>v.color==="light"),d=t.findIndex(v=>v.color==="dark");if(h===-1||d===-1)throw new Gs('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const m=Fa(e[h][i],n[h])||"inherit",f=Fa(e[d][i],n[d])||"inherit";return`light-dark(${m}, ${f});${u}`}return p}return s==="css-vars"?u:null}).filter(o=>!!o).join(";")}function uh(t,e,n,r={meta:{},options:n,codeToHast:(a,i)=>uh(t,a,i),codeToTokens:(a,i)=>ch(t,a,i)}){let a=e;for(const f of ah(n))a=f.preprocess?.call(r,a,n)||a;let{tokens:i,fg:s,bg:o,themeName:l,rootStyle:p,grammarState:u}=ch(t,a,n);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:d=!1}=n;h===!0?i=GV(i):h==="never"&&(i=WV(i)),d&&(i=qV(i));const m={...r,get source(){return a}};for(const f of ah(n))i=f.tokens?.call(m,i)||i;return UV(i,{...n,fg:s,bg:o,themeName:l,rootStyle:p},m,u)}function UV(t,e,n,r=Iu(t)){const a=ah(e),i=[],s={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=e;let p={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:i};const h=[],d={...n,structure:o,addClassToHast:vC,get source(){return n.source},get tokens(){return t},get options(){return e},get root(){return s},get pre(){return p},get code(){return u},get lines(){return h}};if(t.forEach((f,v)=>{v&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:` `}));let C={type:"element",tagName:"span",properties:{class:"line"},children:[]},S=0;for(const x of f){let g={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const w=n5(x.htmlStyle||oh(x));w&&(g.properties.style=w);for(const y of a)g=y?.span?.call(d,g,v+1,S,C,x)||g;o==="inline"?s.children.push(g):o==="classic"&&C.children.push(g),S+=x.content.length}if(o==="classic"){for(const x of a)C=x?.line?.call(d,C,v+1)||C;h.push(C),i.push(C)}}),o==="classic"){for(const f of a)u=f?.code?.call(d,u)||u;p.children.push(u);for(const f of a)p=f?.pre?.call(d,p)||p;s.children.push(p)}let m=s;for(const f of a)m=f?.root?.call(d,m)||m;return r&&Qh(m,r),m}function GV(t){return t.map(e=>{const n=[];let r="",a=0;return e.forEach((i,s)=>{const l=!(i.fontStyle&&(i.fontStyle&ui.Underline||i.fontStyle&ui.Strikethrough));l&&i.content.match(/^\s+$/)&&e[s+1]?(a||(a=i.offset),r+=i.content):r?(l?n.push({...i,offset:a,content:r+i.content}):n.push({content:r,offset:a},i),a=0,r=""):n.push(i)}),n})}function WV(t){return t.map(e=>e.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,a,i,s]=r;if(!a&&!s)return n;const o=[{...n,offset:n.offset+a.length,content:i}];return a&&o.unshift({content:a,offset:n.offset}),s&&o.push({content:s,offset:n.offset+a.length+i.length}),o}))}function qV(t){return t.map(e=>{const n=[];for(const r of e){if(n.length===0){n.push({...r});continue}const a=n[n.length-1],i=n5(a.htmlStyle||oh(a)),s=n5(r.htmlStyle||oh(r)),o=a.fontStyle&&(a.fontStyle&ui.Underline||a.fontStyle&ui.Strikethrough),l=r.fontStyle&&(r.fontStyle&ui.Underline||r.fontStyle&ui.Strikethrough);!o&&!l&&i===s?a.content+=r.content:n.push({...r})}return n})}const KV=fV;function XV(t,e,n){const r={meta:{},options:n,codeToHast:(i,s)=>uh(t,i,s),codeToTokens:(i,s)=>ch(t,i,s)};let a=KV(uh(t,e,n,r));for(const i of ah(n))a=i.postprocess?.call(r,a,n)||a;return a}const Nv={light:"#333333",dark:"#bbbbbb"},Vv={light:"#fffffe",dark:"#1e1e1e"},Hv="__shiki_resolved";function Bm(t){if(t?.[Hv])return t;const e={...t};e.tokenColors&&!e.settings&&(e.settings=e.tokenColors,delete e.tokenColors),e.type||="dark",e.colorReplacements={...e.colorReplacements},e.settings||=[];let{bg:n,fg:r}=e;if(!n||!r){const o=e.settings?e.settings.find(l=>!l.name&&!l.scope):void 0;o?.settings?.foreground&&(r=o.settings.foreground),o?.settings?.background&&(n=o.settings.background),!r&&e?.colors?.["editor.foreground"]&&(r=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),r||(r=e.type==="light"?Nv.light:Nv.dark),n||(n=e.type==="light"?Vv.light:Vv.dark),e.fg=r,e.bg=n}e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope||e.settings.unshift({settings:{foreground:e.fg,background:e.bg}});let a=0;const i=new Map;function s(o){if(i.has(o))return i.get(o);a+=1;const l=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return e.colorReplacements?.[`#${l}`]?s(o):(i.set(o,l),l)}e.settings=e.settings.map(o=>{const l=o.settings?.foreground&&!o.settings.foreground.startsWith("#"),p=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!p)return o;const u={...o,settings:{...o.settings}};if(l){const h=s(o.settings.foreground);e.colorReplacements[h]=o.settings.foreground,u.settings.foreground=h}if(p){const h=s(o.settings.background);e.colorReplacements[h]=o.settings.background,u.settings.background=h}return u});for(const o of Object.keys(e.colors||{}))if((o==="editor.foreground"||o==="editor.background"||o.startsWith("terminal.ansi"))&&!e.colors[o]?.startsWith("#")){const l=s(e.colors[o]);e.colorReplacements[l]=e.colors[o],e.colors[o]=l}return Object.defineProperty(e,Hv,{enumerable:!1,writable:!1,value:!0}),e}async function SC(t){return Array.from(new Set((await Promise.all(t.filter(e=>!vV(e)).map(async e=>await gC(e).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function EC(t){return(await Promise.all(t.map(async n=>yV(n)?null:Bm(await gC(n))))).filter(n=>!!n)}let YV=3;function JV(t,e=3){e>YV||console.trace(`[SHIKI DEPRECATE]: ${t}`)}class _c extends Error{constructor(e){super(e),this.name="ShikiError"}}class QV extends Zz{constructor(e,n,r,a={}){super(e),this._resolver=e,this._themes=n,this._langs=r,this._alias=a,this._themes.map(i=>this.loadTheme(i)),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 n=Bm(e);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let n=this._textmateThemeCache.get(e);n||(n=eh.createFromRawTheme(e),this._textmateThemeCache.set(e,n)),this._syncRegistry.setTheme(n)}getGrammar(e){if(this._alias[e]){const n=new Set([e]);for(;this._alias[e];){if(e=this._alias[e],n.has(e))throw new _c(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const n=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const a=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(a.name=e.name,this._resolvedGrammars.set(e.name,a),e.aliases&&e.aliases.forEach(i=>{this._alias[i]=e.name}),this._loadedLanguagesCache=null,n.size)for(const i of n)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const a of e)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),r=n.filter(([a,i])=>!i);if(r.length){const a=n.filter(([i,s])=>s&&s.embeddedLangs?.some(o=>r.map(([l])=>l).includes(o))).filter(i=>!r.includes(i));throw new _c(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of n)this._resolver.addLanguage(i);for(const[a,i]of n)this.loadLanguage(i)}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 n of e.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class ZV{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,n){this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},n.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(n=>{this._langs.set(n,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(e.scopeName)})}getInjections(e){const n=e.split(".");let r=[];for(let a=1;a<=n.length;a++){const i=n.slice(0,a).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let H1=0;function eH(t){H1+=1,t.warnings!==!1&&H1>=10&&H1%10===0&&console.warn(`[Shiki] ${H1} 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(!t.engine)throw new _c("`engine` option is required for synchronous mode");const n=(t.langs||[]).flat(1),r=(t.themes||[]).flat(1).map(Bm),a=new ZV(t.engine,n),i=new QV(a,r,n,t.langAlias);let s;function o(x){C();const g=i.getGrammar(typeof x=="string"?x:x.name);if(!g)throw new _c(`Language \`${x}\` not found, you may need to load it first`);return g}function l(x){if(x==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};C();const g=i.getTheme(x);if(!g)throw new _c(`Theme \`${x}\` not found, you may need to load it first`);return g}function p(x){C();const g=l(x);s!==x&&(i.setTheme(g),s=x);const w=i.getColorMap();return{theme:g,colorMap:w}}function u(){return C(),i.getLoadedThemes()}function h(){return C(),i.getLoadedLanguages()}function d(...x){C(),i.loadLanguages(x.flat(1))}async function m(...x){return d(await SC(x))}function f(...x){C();for(const g of x.flat(1))i.loadTheme(g)}async function v(...x){return C(),f(await EC(x))}function C(){if(e)throw new _c("Shiki instance has been disposed")}function S(){e||(e=!0,i.dispose(),H1-=1)}return{setTheme:p,getTheme:l,getLanguage:o,getLoadedThemes:u,getLoadedLanguages:h,loadLanguage:m,loadLanguageSync:d,loadTheme:v,loadThemeSync:f,dispose:S,[Symbol.dispose]:S}}async function tH(t){t.engine||JV("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[e,n,r]=await Promise.all([EC(t.themes||[]),SC(t.langs||[]),t.engine]);return eH({...t,themes:e,langs:n,engine:r})}async function rH(t){const e=await tH(t);return{getLastGrammarState:(...n)=>HV(e,...n),codeToTokensBase:(n,r)=>jm(e,n,r),codeToTokensWithThemes:(n,r)=>CC(e,n,r),codeToTokens:(n,r)=>ch(e,n,r),codeToHast:(n,r)=>uh(e,n,r),codeToHtml:(n,r)=>XV(e,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...e,getInternalContext:()=>e}}function i1(t){if([...t].length!==1)throw new Error(`Expected "${t}" to be a single code point`);return t.codePointAt(0)}function nH(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}const Fm=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Ws=String.raw;function o1(t,e){if(t==null)throw new Error(e??"Value expected");return t}const xC=Ws`\[\^?`,wC=`c.? | C(?:-.?)?|${Ws`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Ws`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Ws`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Ws`o\{[^\}]*\}?`}|${Ws`\d{1,3}`}`,$m=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,np=new RegExp(Ws` \\ (?: ${wC} | [gk]<[^>]*>? | [gk]'[^']*'? | . ) | \( (?: \? (?: [:=!>({] | <[=!] | <[^>]*> | '[^']*' | ~\|? | #(?:[^)\\]|\\.?)* | [^:)]*[:)] )? | \*[^\)]*\)? )? | (?:${$m.source})+ | ${xC} | . `.replace(/\s+/g,""),"gsu"),Fd=new RegExp(Ws` \\ (?: ${wC} | . ) | \[:(?:\^?\p{Alpha}+|\^):\] | ${xC} | && | . `.replace(/\s+/g,""),"gsu");function sH(t,e={}){const n={flags:"",...e,rules:{captureGroup:!1,singleline:!1,...e.rules}};if(typeof t!="string")throw new Error("String expected as pattern");const r=xH(n.flags),a=[r.extended],i={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(h){a.push(h)},replaceCurrentModX(h){a[a.length-1]=h},singleline:n.rules.singleline};let s=[],o;for(np.lastIndex=0;o=np.exec(t);){const h=iH(i,t,o[0],np.lastIndex);h.tokens?s.push(...h.tokens):h.token&&s.push(h.token),h.lastIndex!==void 0&&(np.lastIndex=h.lastIndex)}const l=[];let p=0;s.filter(h=>h.type==="GroupOpen").forEach(h=>{h.kind==="capturing"?h.number=++p:h.raw==="("&&l.push(h)}),p||l.forEach((h,d)=>{h.kind="capturing",h.number=d+1});const u=p||l.length;return{tokens:s.map(h=>h.type==="EscapedNumber"?TH(h,u):h).flat(),flags:r}}function iH(t,e,n,r){const[a,i]=n;if(n==="["||n==="[^"){const s=oH(e,n,r);return{tokens:s.tokens,lastIndex:s.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:Dv(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:gH(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:AC(n)}}if(i==="K")return{token:_C("keep",n)};if(i==="N"||i==="R")return{token:xl("newline",n,{negate:i==="N"})};if(i==="O")return{token:xl("any",n)};if(i==="X")return{token:xl("text_segment",n)};const s=TC(n,{inCharClass:!1});return Array.isArray(s)?{tokens:s}:{token:s}}if(a==="("){if(i==="*")return{token:CH(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(e[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:bH(n,t)};if(t.pushModX(t.getCurrentModX()),t.numOpenGroups++,n==="("&&!t.captureGroup||n==="(?:")return{token:xc("group",n)};if(n==="(?>")return{token:xc("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?")||n.startsWith("(?'")&&n.endsWith("'"))return{token:xc("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:xc("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(t.popModX(),t.numOpenGroups--,t.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:fH(n)}}if(t.getCurrentModX()){if(n==="#"){const s=e.indexOf(` `,r);return{lastIndex:s===-1?e.length:s}}if(/^\s$/.test(n)){const s=/\s+/y;return s.lastIndex=r,{lastIndex:s.exec(e)?s.lastIndex:r}}}if(n===".")return{token:xl("dot",n)};if(n==="^"||n==="$"){const s=t.singleline?{"^":Ws`\A`,$:Ws`\Z`}[n]:n;return{token:Dv(s,n)}}return n==="|"?{token:lH(n)}:$m.test(n)?{tokens:AH(n)}:{token:ea(i1(n),n)}}function oH(t,e,n){const r=[Rv(e[1]==="^",e)];let a=1,i;for(Fd.lastIndex=n;i=Fd.exec(t);){const s=i[0];if(s[0]==="["&&s[1]!==":")a++,r.push(Rv(s[1]==="^",s));else if(s==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(ea(93,s));else if(a--,r.push(cH(s)),!a)break}else{const o=aH(s);Array.isArray(o)?r.push(...o):r.push(o)}}return{tokens:r,lastIndex:Fd.lastIndex||t.length}}function aH(t){if(t[0]==="\\")return TC(t,{inCharClass:!0});if(t[0]==="["){const e=/\[:(?\^?)(?[a-z]+):\]/.exec(t);if(!e||!Fm.has(e.groups.name))throw new Error(`Invalid POSIX class "${t}"`);return xl("posix",t,{value:e.groups.name,negate:!!e.groups.negate})}return t==="-"?uH(t):t==="&&"?pH(t):ea(i1(t),t)}function TC(t,{inCharClass:e}){const n=t[1];if(n==="c"||n==="C")return yH(t);if("dDhHsSwW".includes(n))return SH(t);if(t.startsWith(Ws`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${t}"`);if(/^\\[pP]\{/.test(t)){if(t.length===3)throw new Error(`Incomplete or invalid Unicode property "${t}"`);return EH(t)}if(/^\\x[89A-Fa-f]\p{AHex}/u.test(t))try{const r=t.split(/\\x/).slice(1).map(s=>parseInt(s,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),i=new TextEncoder;return[...a].map(s=>{const o=[...i.encode(s)].map(l=>`\\x${l.toString(16)}`).join("");return ea(i1(s),o)})}catch{throw new Error(`Multibyte code "${t}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return ea(wH(t),t);if(jv.has(n))return ea(jv.get(n),t);if(/\d/.test(n))return hH(e,t);if(t==="\\")throw new Error(Ws`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${t}"`);if([...t].length===2)return ea(t.codePointAt(1),t);throw new Error(`Unexpected escape "${t}"`)}function lH(t){return{type:"Alternator",raw:t}}function Dv(t,e){return{type:"Assertion",kind:t,raw:e}}function AC(t){return{type:"Backreference",raw:t}}function ea(t,e){return{type:"Character",value:t,raw:e}}function cH(t){return{type:"CharacterClassClose",raw:t}}function uH(t){return{type:"CharacterClassHyphen",raw:t}}function pH(t){return{type:"CharacterClassIntersector",raw:t}}function Rv(t,e){return{type:"CharacterClassOpen",negate:t,raw:e}}function xl(t,e,n={}){return{type:"CharacterSet",kind:t,...n,raw:e}}function _C(t,e,n={}){return t==="keep"?{type:"Directive",kind:t,raw:e}:{type:"Directive",kind:t,flags:o1(n.flags),raw:e}}function hH(t,e){return{type:"EscapedNumber",inCharClass:t,raw:e}}function fH(t){return{type:"GroupClose",raw:t}}function xc(t,e,n={}){return{type:"GroupOpen",kind:t,...n,raw:e}}function dH(t,e,n,r){return{type:"NamedCallout",kind:t,tag:e,arguments:n,raw:r}}function mH(t,e,n,r){return{type:"Quantifier",kind:t,min:e,max:n,raw:r}}function gH(t){return{type:"Subroutine",raw:t}}const vH=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),jv=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function yH(t){const e=t[1]==="c"?t[2]:t[3];if(!e||!/[A-Za-z]/.test(e))throw new Error(`Unsupported control character "${t}"`);return ea(i1(e.toUpperCase())-64,t)}function bH(t,e){let{on:n,off:r}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(t).groups;r??="";const a=(e.getCurrentModX()||n.includes("x"))&&!r.includes("x"),i=Fv(n),s=Fv(r),o={};if(i&&(o.enable=i),s&&(o.disable=s),t.endsWith(")"))return e.replaceCurrentModX(a),_C("flags",t,{flags:o});if(t.endsWith(":"))return e.pushModX(a),e.numOpenGroups++,xc("group",t,{...(i||s)&&{flags:o}});throw new Error(`Unexpected flag modifier "${t}"`)}function CH(t){const e=/\(\*(?[A-Za-z_]\w*)?(?:\[(?(?:[A-Za-z_]\w*)?)\])?(?:\{(?[^}]*)\})?\)/.exec(t);if(!e)throw new Error(`Incomplete or invalid named callout "${t}"`);const{name:n,tag:r,args:a}=e.groups;if(!n)throw new Error(`Invalid named callout "${t}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${t}"`);const i=a?a.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[s,o,l]=i,p=vH.has(n)?n.toLowerCase():"custom";switch(p){case"fail":case"mismatch":case"skip":if(i.length>0)throw new Error(`Named callout arguments not allowed "${i}"`);break;case"error":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(typeof s=="string")throw new Error(`Named callout argument must be a number "${s}"`);break;case"max":if(!i.length||i.length>2)throw new Error(`Named callout must have one or two arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(i.length===2&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${o}"`);break;case"count":case"total_count":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(i.length===1&&(typeof s=="number"||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${s}"`);break;case"cmp":if(i.length!==3)throw new Error(`Named callout must have three arguments "${i}"`);if(typeof s=="string"&&!/^[A-Za-z_]\w*$/.test(s))throw new Error(`Named callout argument one must be a tag or number "${s}"`);if(typeof o=="number"||!/^(?:[<>!=]=|[<>])$/.test(o))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${o}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${p}"`)}return dH(p,r??null,a?.split(",")??null,t)}function Bv(t){let e=null,n,r;if(t[0]==="{"){const{minStr:a,maxStr:i}=/^\{(?\d*)(?:,(?\d*))?/.exec(t).groups,s=1e5;if(+a>s||i&&+i>s)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=i===void 0?+a:i===""?1/0:+i,n>r&&(e="possessive",[n,r]=[r,n]),t.endsWith("?")){if(e==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');e="lazy"}else e||(e="greedy")}else n=t[0]==="+"?1:0,r=t[0]==="?"?1:1/0,e=t[1]==="+"?"possessive":t[1]==="?"?"lazy":"greedy";return mH(e,n,r,t)}function SH(t){const e=t[1].toLowerCase();return xl({d:"digit",h:"hex",s:"space",w:"word"}[e],t,{negate:t[1]!==e})}function EH(t){const{p:e,neg:n,value:r}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(t).groups;return xl("property",t,{value:r,negate:e==="P"&&!n||e==="p"&&!!n})}function Fv(t){const e={};return t.includes("i")&&(e.ignoreCase=!0),t.includes("m")&&(e.dotAll=!0),t.includes("x")&&(e.extended=!0),Object.keys(e).length?e:null}function xH(t){const e={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n\p{AHex}+)/u.exec(t).groups.hex:t.slice(2);return parseInt(e,16)}function TH(t,e){const{raw:n,inCharClass:r}=t,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=e))return[AC(n)];const i=[],s=a.match(/^[0-7]+|\d/g);for(let o=0;o127)throw new Error(Ws`Octal encoded byte above 177 unsupported "${n}"`)}else p=i1(l);i.push(ea(p,(o===0?"\\":"")+l))}return i}function AH(t){const e=[],n=new RegExp($m,"gy");let r;for(;r=n.exec(t);){const a=r[0];if(a[0]==="{"){const i=/^\{(?\d+),(?\d+)\}\??$/.exec(a);if(i){const{min:s,max:o}=i.groups;if(+s>+o&&a.endsWith("?")){n.lastIndex--,e.push(Bv(a.slice(0,-1)));continue}}}e.push(Bv(a))}return e}function MC(t,e){if(!Array.isArray(t.body))throw new Error("Expected node with body array");if(t.body.length!==1)return!1;const n=t.body[0];return!e||Object.keys(e).every(r=>e[r]===n[r])}function _H(t){return MH.has(t.type)}const MH=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function PC(t,e={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e,rules:{captureGroup:!1,singleline:!1,...e.rules}},r=sH(t,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(d,m)=>{const f=r.tokens[i.nextIndex];switch(i.parent=d,i.nextIndex++,f.type){case"Alternator":return zl();case"Assertion":return PH(f);case"Backreference":return LH(f,i);case"Character":return Zh(f.value,{useLastValid:!!m.isCheckingRangeEnd});case"CharacterClassHyphen":return OH(f,i,m);case"CharacterClassOpen":return IH(f,i,m);case"CharacterSet":return kH(f,i);case"Directive":return RH(f.kind,{flags:f.flags});case"GroupOpen":return zH(f,i,m);case"NamedCallout":return BH(f.kind,f.tag,f.arguments);case"Quantifier":return NH(f,i);case"Subroutine":return VH(f,i);default:throw new Error(`Unexpected token type "${f.type}"`)}},i={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},s=$H(jH(r.flags));let o=s.body[0];for(;i.nextIndexl.length)throw new Error("Subroutine uses a group number that's not defined");d&&(l[d-1].isSubroutined=!0)}else if(u.has(d)){if(u.get(d).length>1)throw new Error(Ws`Subroutine uses a duplicate group name "\g<${d}>"`);u.get(d)[0].isSubroutined=!0}else throw new Error(Ws`Subroutine uses a group name that's not defined "\g<${d}>"`);return s}function PH({kind:t}){return s5(o1({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[t],`Unexpected assertion kind "${t}"`),{negate:t===Ws`\B`||t===Ws`\Y`})}function LH({raw:t},e){const n=/^\\k[<']/.test(t),r=n?t.slice(3,-1):t.slice(1),a=(i,s=!1)=>{const o=e.capturingGroups.length;let l=!1;if(i>o)if(e.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${t}"`);return e.hasNumberedRef=!0,i5(s?o+1-i:i,{orphan:l})};if(n){const i=/^(?-?)0*(?[1-9]\d*)$/.exec(r);if(i)return a(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${t}"`);if(!e.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${t}"`);return i5(r)}return a(+r)}function OH(t,e,n){const{tokens:r,walk:a}=e,i=e.parent,s=i.body.at(-1),o=r[e.nextIndex];if(!n.isCheckingRangeEnd&&s&&s.type!=="CharacterClass"&&s.type!=="CharacterClassRange"&&o&&o.type!=="CharacterClassOpen"&&o.type!=="CharacterClassClose"&&o.type!=="CharacterClassIntersector"){const l=a(i,{...n,isCheckingRangeEnd:!0});if(s.type==="Character"&&l.type==="Character")return i.body.pop(),DH(s,l);throw new Error("Invalid character class range")}return Zh(i1("-"))}function IH({negate:t},e,n){const{tokens:r,walk:a}=e,i=r[e.nextIndex],s=[yp()];let o=Gv(i);for(;o.type!=="CharacterClassClose";){if(o.type==="CharacterClassIntersector")s.push(yp()),e.nextIndex++;else{const p=s.at(-1);p.body.push(a(p,n))}o=Gv(r[e.nextIndex],i)}const l=yp({negate:t});return s.length===1?l.body=s[0].body:(l.kind="intersection",l.body=s.map(p=>p.body.length===1?p.body[0]:p)),e.nextIndex++,l}function kH({kind:t,negate:e,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s}=r;if(t==="property"){const o=ef(n);if(Fm.has(o)&&!s?.has(o))t="posix",n=o;else return wc(n,{negate:e,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:s})}return t==="posix"?FH(n,{negate:e}):o5(t,{negate:e})}function zH(t,e,n){const{tokens:r,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:s,walk:o}=e,l=UH(t),p=l.type==="AbsenceFunction",u=Uv(l),h=u&&l.negate;if(l.type==="CapturingGroup"&&(a.push(l),l.name&&nH(i,l.name,[]).push(l)),p&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let d=Wv(r[e.nextIndex]);for(;d.type!=="GroupClose";){if(d.type==="Alternator")l.body.push(zl()),e.nextIndex++;else{const m=l.body.at(-1),f=o(m,{...n,isInAbsenceFunction:n.isInAbsenceFunction||p,isInLookbehind:n.isInLookbehind||u,isInNegLookbehind:n.isInNegLookbehind||h});if(m.body.push(f),(u||n.isInLookbehind)&&!s){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(h||n.isInNegLookbehind){if($v(f)||f.type==="CapturingGroup")throw new Error(v)}else if($v(f)||Uv(f)&&f.negate)throw new Error(v)}}d=Wv(r[e.nextIndex])}return e.nextIndex++,l}function NH({kind:t,min:e,max:n},r){const a=r.parent,i=a.body.at(-1);if(!i||!_H(i))throw new Error("Quantifier requires a repeatable token");const s=OC(t,e,n,i);return a.body.pop(),s}function VH({raw:t},e){const{capturingGroups:n,subroutines:r}=e;let a=t.slice(3,-1);const i=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(a);if(i){const o=+i.groups.num,l=n.length;if(e.hasNumberedRef=!0,a={"":o,"+":l+o,"-":l+1-o}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const s=IC(a);return r.push(s),s}function HH(t,e){return{type:"AbsenceFunction",kind:t,body:Zu(e?.body)}}function zl(t){return{type:"Alternative",body:kC(t?.body)}}function s5(t,e){const n={type:"Assertion",kind:t};return(t==="word_boundary"||t==="text_segment_boundary")&&(n.negate=!!e?.negate),n}function i5(t,e){const n=!!e?.orphan;return{type:"Backreference",ref:t,...n&&{orphan:n}}}function LC(t,e){const n={name:void 0,isSubroutined:!1,...e};if(n.name!==void 0&&!GH(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:t,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:Zu(e?.body)}}function Zh(t,e){const n={useLastValid:!1,...e};if(t>1114111){const r=t.toString(16);if(n.useLastValid)t=1114111;else throw t>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:"Character",value:t}}function yp(t){const e={kind:"union",negate:!1,...t};return{type:"CharacterClass",kind:e.kind,negate:e.negate,body:kC(t?.body)}}function DH(t,e){if(e.valuen)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:t,min:e,max:n,body:r}}function $H(t,e){return{type:"Regex",body:Zu(e?.body),flags:t}}function IC(t){return{type:"Subroutine",ref:t}}function wc(t,e){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...e};let r=n.unicodePropertyMap?.get(ef(t));if(!r){if(n.normalizeUnknownPropertyNames)r=WH(t);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(Ws`Invalid Unicode property "\p{${t}}"`)}return{type:"CharacterSet",kind:"property",value:r??t,negate:n.negate}}function UH({flags:t,kind:e,name:n,negate:r,number:a}){switch(e){case"absence_repeater":return HH("repeater");case"atomic":return ao({atomic:!0});case"capturing":return LC(a,{name:n});case"group":return ao({flags:t});case"lookahead":case"lookbehind":return bl({behind:e==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${e}"`)}}function Zu(t){if(t===void 0)t=[zl()];else if(!Array.isArray(t)||!t.length||!t.every(e=>e.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return t}function kC(t){if(t===void 0)t=[];else if(!Array.isArray(t)||!t.every(e=>!!e.type))throw new Error("Invalid body; expected array of nodes");return t}function $v(t){return t.type==="LookaroundAssertion"&&t.kind==="lookahead"}function Uv(t){return t.type==="LookaroundAssertion"&&t.kind==="lookbehind"}function GH(t){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(t)}function WH(t){return t.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}function ef(t){return t.replace(/[- _]+/g,"").toLowerCase()}function Gv(t,e){return o1(t,`${e?.type==="Character"&&e.value===93?"Empty":"Unclosed"} character class`)}function Wv(t){return o1(t,"Unclosed group")}function iu(t,e,n=null){function r(i,s){for(let o=0;oA-Za-z\-]|<[=!]|\(DEFINE\))`;function KH(t,e){for(let n=0;n=e&&t[n]++}function XH(t,e,n,r){return t.slice(0,e)+r+t.slice(e+n.length)}const Qi=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Um(t,e,n,r){const a=new RegExp(String.raw`${e}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let s=0,o="";for(const l of t.matchAll(a)){const{0:p,groups:{$skip:u}}=l;if(!u&&(!r||r===Qi.DEFAULT==!s)){n instanceof Function?o+=n(l,{context:s?Qi.CHAR_CLASS:Qi.DEFAULT,negated:i[i.length-1]}):o+=n;continue}p[0]==="["?(s++,i.push(p[1]==="^")):p==="]"&&s&&(s--,i.pop()),o+=p}return o}function zC(t,e,n,r){Um(t,e,n,r)}function YH(t,e,n=0,r){if(!new RegExp(e,"su").test(t))return null;const a=new RegExp(`${e}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let i=0,s;for(;s=a.exec(t);){const{0:o,groups:{$skip:l}}=s;if(!l&&(!r||r===Qi.DEFAULT==!i))return s;o==="["?i++:o==="]"&&i&&i--,a.lastIndex==s.index&&a.lastIndex++}return null}function ip(t,e,n){return!!YH(t,e,0,n)}function JH(t,e){const n=/\\?./gsu;n.lastIndex=e;let r=t.length,a=0,i=1,s;for(;s=n.exec(t);){const[o]=s;if(o==="[")a++;else if(a)o==="]"&&a--;else if(o==="(")i++;else if(o===")"&&(i--,!i)){r=s.index;break}}return t.slice(e,r)}const qv=new RegExp(String.raw`(?${qH})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function QH(t,e){const n=e?.hiddenCaptures??[];let r=e?.captureTransfers??new Map;if(!/\(\?>/.test(t))return{pattern:t,captureTransfers:r,hiddenCaptures:n};const a="(?>",i="(?:(?=(",s=[0],o=[];let l=0,p=0,u=NaN,h;do{h=!1;let d=0,m=0,f=!1,v;for(qv.lastIndex=Number.isNaN(u)?0:u+i.length;v=qv.exec(t);){const{0:C,index:S,groups:{capturingStart:x,noncapturingStart:g}}=v;if(C==="[")d++;else if(d)C==="]"&&d--;else if(C===a&&!f)u=S,f=!0;else if(f&&g)m++;else if(x)f?m++:(l++,s.push(l+p));else if(C===")"&&f){if(!m){p++;const w=l+p;if(t=`${t.slice(0,u)}${i}${t.slice(u+a.length,S)}))<$$${w}>)${t.slice(S+1)}`,h=!0,o.push(w),KH(n,w),r.size){const y=new Map;r.forEach((_,T)=>{y.set(T>=w?T+1:T,_.map(O=>O>=w?O+1:O))}),r=y}break}m--}}}while(h);return n.push(...o),t=Um(t,String.raw`\\(?[1-9]\d*)|<\$\$(?\d+)>`,({0:d,groups:{backrefNum:m,wrappedBackrefNum:f}})=>{if(m){const v=+m;if(v>s.length-1)throw new Error(`Backref "${d}" greater than number of captures`);return`\\${s[v]}`}return`\\${f}`},Qi.DEFAULT),{pattern:t,captureTransfers:r,hiddenCaptures:n}}const NC=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,$d=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\) ))? | (?${NC})(?[?+]?)(?[?*+\{]?) | \\?. `.replace(/\s+/g,""),"gsu");function ZH(t){if(!new RegExp(`${NC}\\+`).test(t))return{pattern:t};const e=[];let n=null,r=null,a="",i=0,s;for($d.lastIndex=0;s=$d.exec(t);){const{0:o,index:l,groups:{qBase:p,qMod:u,invalidQ:h}}=s;if(o==="[")i||(r=l),i++;else if(o==="]")i?i--:r=null;else if(!i)if(u==="+"&&a&&!a.startsWith("(")){if(h)throw new Error(`Invalid quantifier "${o}"`);let d=-1;if(/^\{\d+\}$/.test(p))t=XH(t,l+p.length,u,"");else{if(a===")"||a==="]"){const m=a===")"?n:r;if(m===null)throw new Error(`Invalid unmatched "${a}"`);t=`${t.slice(0,m)}(?>${t.slice(m,l)}${p})${t.slice(l+o.length)}`}else t=`${t.slice(0,l-a.length)}(?>${a}${p})${t.slice(l+o.length)}`;d+=4}$d.lastIndex+=d}else o[0]==="("?e.push(l):o===")"&&(n=e.length?e.pop():null);a=o}return{pattern:t}}const Xi=String.raw,eD=Xi`\\g<(?[^>&]+)&R=(?[^>]+)>`,a5=Xi`\(\?R=(?[^\)]+)\)|${eD}`,tf=Xi`\(\?<(?![=!])(?[^>]+)>`,VC=Xi`${tf}|(?\()(?!\?)`,gl=new RegExp(Xi`${tf}|${a5}|\(\?|\\?.`,"gsu"),Ud="Cannot use multiple overlapping recursions";function tD(t,e){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...e};let a=e?.captureTransfers??new Map;if(!new RegExp(a5,"su").test(t))return{pattern:t,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&ip(t,Xi`\(\?\(DEFINE\)`,Qi.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],s=ip(t,Xi`\\[1-9]`,Qi.DEFAULT),o=new Map,l=[];let p=!1,u=0,h=0,d;for(gl.lastIndex=0;d=gl.exec(t);){const{0:m,groups:{captureName:f,rDepth:v,gRNameOrNum:C,gRDepth:S}}=d;if(m==="[")u++;else if(u)m==="]"&&u--;else if(v){if(Kv(v),p)throw new Error(Ud);if(s)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const x=t.slice(0,d.index),g=t.slice(gl.lastIndex);if(ip(g,a5,Qi.DEFAULT))throw new Error(Ud);const w=+v-1;t=Xv(x,g,w,!1,n,i,h),a=Jv(a,x,w,i.length,0,h);break}else if(C){Kv(S);let x=!1;for(const W of l)if(W.name===C||W.num===+C){if(x=!0,W.hasRecursedWithin)throw new Error(Ud);break}if(!x)throw new Error(Xi`Recursive \g cannot be used outside the referenced group "${r==="external"?C:Xi`\g<${C}&R=${S}>`}"`);const g=o.get(C),w=JH(t,g);if(s&&ip(w,Xi`${tf}|\((?!\?)`,Qi.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const y=t.slice(g,d.index),_=w.slice(y.length+m.length),T=i.length,O=+S-1,I=Xv(y,_,O,!0,n,i,h);a=Jv(a,y,O,i.length-T,T,h);const z=t.slice(0,g),G=t.slice(g+w.length);t=`${z}${I}${G}`,gl.lastIndex+=I.length-m.length-y.length-_.length,l.forEach(W=>W.hasRecursedWithin=!0),p=!0}else if(f)h++,o.set(String(h),gl.lastIndex),o.set(f,gl.lastIndex),l.push({num:h,name:f});else if(m[0]==="("){const x=m==="(";x&&(h++,o.set(String(h),gl.lastIndex)),l.push(x?{num:h}:{})}else m===")"&&l.pop()}return n.push(...i),{pattern:t,captureTransfers:a,hiddenCaptures:n}}function Kv(t){const e=`Max depth must be integer between 2 and 100; used ${t}`;if(!/^[1-9]\d*$/.test(t))throw new Error(e);if(t=+t,t<2||t>100)throw new Error(e)}function Xv(t,e,n,r,a,i,s){const o=new Set;r&&zC(t+e,tf,({groups:{captureName:p}})=>{o.add(p)},Qi.DEFAULT);const l=[n,r?o:null,a,i,s];return`${t}${Yv(`(?:${t}`,"forward",...l)}(?:)${Yv(`${e})`,"backward",...l)}${e}`}function Yv(t,e,n,r,a,i,s){const l=u=>e==="forward"?u+2:n-u+2-1;let p="";for(let u=0;u[^>]+)>`,({0:d,groups:{captureName:m,unnamed:f,backref:v}})=>{if(v&&r&&!r.has(v))return d;const C=`_$${h}`;if(f||m){const S=s+i.length+1;return i.push(S),rD(a,S),f?d:`(?<${m}${C}>`}return Xi`\k<${v}${C}>`},Qi.DEFAULT)}return p}function rD(t,e){for(let n=0;n=e&&t[n]++}function Jv(t,e,n,r,a,i){if(t.size&&r){let s=0;zC(e,VC,()=>s++,Qi.DEFAULT);const o=i-s+a,l=new Map;return t.forEach((p,u)=>{const h=(r-s*n)/n,d=s*n,m=u>o+s?u+r:u,f=[];for(const v of p)if(v<=o)f.push(v);else if(v>o+s+h)f.push(v+r);else if(v<=o+s)for(let C=0;C<=n;C++)f.push(v+s*C);else for(let C=0;C<=n;C++)f.push(v+d+h*C);l.set(m,f)}),l}return t}var Ds=String.fromCodePoint,Yr=String.raw,ra={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};ra.bugFlagVLiteralHyphenIsRange=ra.unicodeSets?(()=>{try{new RegExp(Yr`[\d\-a]`,"v")}catch{return!0}return!1})():!1;ra.bugNestedClassIgnoresNegation=ra.unicodeSets&&new RegExp("[[^a]]","v").test("a");function ph(t,{enable:e,disable:n}){return{dotAll:!n?.dotAll&&!!(e?.dotAll||t.dotAll),ignoreCase:!n?.ignoreCase&&!!(e?.ignoreCase||t.ignoreCase)}}function ku(t,e,n){return t.has(e)||t.set(e,n),t.get(e)}function l5(t,e){return Qv[t]>=Qv[e]}function nD(t,e){if(t==null)throw new Error(e??"Value expected");return t}var Qv={ES2025:2025,ES2024:2024,ES2018:2018},sD={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function HC(t={}){if({}.toString.call(t)!=="[object Object]")throw new Error("Unexpected options");if(t.target!==void 0&&!sD[t.target])throw new Error(`Unexpected target "${t.target}"`);const e={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...t,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...t.rules}};return e.target==="auto"&&(e.target=ra.flagGroups?"ES2025":ra.unicodeSets?"ES2024":"ES2018"),e}var iD="[ -\r ]",oD=new Set([Ds(304),Ds(305)]),Go=Yr`[\p{L}\p{M}\p{N}\p{Pc}]`;function DC(t){if(oD.has(t))return[t];const e=new Set,n=t.toLowerCase(),r=n.toUpperCase(),a=cD.get(n),i=aD.get(n),s=lD.get(n);return[...r].length===1&&e.add(r),s&&e.add(s),a&&e.add(a),e.add(n),i&&e.add(i),[...e]}var Gm=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(t=>[ef(t),t])),aD=new Map([["s",Ds(383)],[Ds(383),"s"]]),lD=new Map([[Ds(223),Ds(7838)],[Ds(107),Ds(8490)],[Ds(229),Ds(8491)],[Ds(969),Ds(8486)]]),cD=new Map([Ma(453),Ma(456),Ma(459),Ma(498),...Gd(8072,8079),...Gd(8088,8095),...Gd(8104,8111),Ma(8124),Ma(8140),Ma(8188)]),uD=new Map([["alnum",Yr`[\p{Alpha}\p{Nd}]`],["alpha",Yr`\p{Alpha}`],["ascii",Yr`\p{ASCII}`],["blank",Yr`[\p{Zs}\t]`],["cntrl",Yr`\p{Cc}`],["digit",Yr`\p{Nd}`],["graph",Yr`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Yr`\p{Lower}`],["print",Yr`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Yr`[\p{P}\p{S}]`],["space",Yr`\p{space}`],["upper",Yr`\p{Upper}`],["word",Yr`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Yr`\p{AHex}`]]);function pD(t,e){const n=[];for(let r=t;r<=e;r++)n.push(r);return n}function Ma(t){const e=Ds(t);return[e.toLowerCase(),e]}function Gd(t,e){return pD(t,e).map(n=>Ma(n))}var RC=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function hD(t,e){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...e};jC(t);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:l5(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:t.flags.digitIsAscii,spaceIsAscii:t.flags.spaceIsAscii,wordIsAscii:t.flags.wordIsAscii};iu(t,fD,r);const a={dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},i={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};iu(t,dD,i);const s={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return iu(t,mD,s),t._originMap=i.groupOriginByCopy,t._strategy=r.strategy,t}var fD={AbsenceFunction({node:t,parent:e,replaceWith:n}){const{body:r,kind:a}=t;if(a==="repeater"){const i=ao();i.body[0].body.push(bl({negate:!0,body:r}),wc("Any"));const s=ao();s.body[0].body.push(OC("greedy",0,1/0,i)),n(As(s,e),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:t,parent:e,key:n},{flagDirectivesByAlt:r}){const a=t.body.filter(i=>i.kind==="flags");for(let i=n+1;i\r\n|${a?Yr`\p{RGI_Emoji}`:d}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),e))}else if(l==="hex")n(Pa(wc("AHex",{negate:p}),e));else if(l==="newline")n(As(Wo(p?`[^ ]`:`(?>\r ?|[ \v\f…\u2028\u2029])`),e));else if(l==="posix")if(!a&&(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];p&&(h=`\0-${Ds(h.codePointAt(0)-1)}${Ds(h.codePointAt(2)+1)}-􏿿`),n(As(Wo(`[${h}]`),e))}else n(As(Kd(Wo(uD.get(u)),p),e));else if(l==="property")Gm.has(ef(u))||(t.key="sc");else if(l==="space")n(Pa(wc("space",{negate:p}),e));else if(l==="word")n(As(Kd(Wo(Go),p),e));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:t,parent:e,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:s}){const{kind:o,flags:l}=t;if(o==="flags")if(!l.enable&&!l.disable)r();else{const p=ao({flags:l});p.body[0].body=s(),a(As(p,e),{traverse:!0})}else if(o==="keep"){const p=n.body[0],h=n.body.length===1&&MC(p,{type:"Group"})&&p.body[0].body.length===1?p.body[0]:n;if(e.parent!==h||h.body.length>1)throw new Error(Yr`Uses "\K" in a way that's unsupported`);const d=bl({behind:!0});d.body[0].body=i(),a(As(d,e))}else throw new Error(`Unexpected directive kind "${o}"`)},Flags({node:t,parent:e}){if(t.posixIsAscii)throw new Error('Unsupported flag "P"');if(t.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete t[n]),Object.assign(t,{global:!1,hasIndices:!1,multiline:!1,sticky:t.sticky??!1}),e.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:t}){if(!t.flags)return;const{enable:e,disable:n}=t.flags;e?.extended&&delete e.extended,n?.extended&&delete n.extended,e?.dotAll&&n?.dotAll&&delete e.dotAll,e?.ignoreCase&&n?.ignoreCase&&delete e.ignoreCase,e&&!Object.keys(e).length&&delete t.flags.enable,n&&!Object.keys(n).length&&delete t.flags.disable,!t.flags.enable&&!t.flags.disable&&delete t.flags},LookaroundAssertion({node:t},e){const{kind:n}=t;n==="lookbehind"&&(e.passedLookbehind=!0)},NamedCallout({node:t,parent:e,replaceWith:n}){const{kind:r}=t;if(r==="fail")n(As(bl({negate:!0}),e));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:t}){if(t.body.type==="Quantifier"){const e=ao();e.body[0].body.push(t.body),t.body=As(e,t)}},Regex:{enter({node:t},{supportedGNodes:e}){const n=[];let r=!1,a=!1;for(const i of t.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{const s=UC(i.body);s?(r=!0,Array.isArray(s)?n.push(...s):n.push(s)):a=!0}r&&!a&&n.forEach(i=>e.add(i))},exit(t,{accuracy:e,passedLookbehind:n,strategy:r}){if(e==="strict"&&n&&r)throw new Error(Yr`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:t},{jsGroupNameMap:e}){let{ref:n}=t;typeof n=="string"&&!qd(n)&&(n=Wd(n,e),t.ref=n)}},dD={Backreference({node:t},{multiplexCapturesToLeftByRef:e,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=t;r||n.set(t,[...e.get(a).map(({node:i})=>i)])},CapturingGroup:{enter({node:t,parent:e,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:i,multiplexCapturesToLeftByRef:s,openRefs:o,reffedNodesByReferencer:l}){const p=a.get(t);if(p&&o.has(t.number)){const h=Pa(Zv(t.number),e);l.set(h,o.get(t.number)),n(h);return}o.set(t.number,t),s.set(t.number,[]),t.name&&ku(s,t.name,[]);const u=s.get(t.name??t.number);for(let h=0;hd.type==="Group"&&!!d.flags)),h=u?ph(r.globalFlags,u):r.globalFlags;gD(h,r.currentFlags)||(p=ao({flags:bD(h)}),p.body[0].body.push(l))}n(As(p,e),{traverse:!o})}},mD={Backreference({node:t,parent:e,replaceWith:n},r){if(t.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,t.ref);return}const i=r.reffedNodesByReferencer.get(t).filter(s=>vD(s,t));if(!i.length)n(As(bl({negate:!0}),e));else if(i.length>1){const s=ao({atomic:!0,body:i.reverse().map(o=>zl({body:[i5(o.number)]}))});n(As(s,e))}else t.ref=i[0].number},CapturingGroup({node:t},e){t.number=++e.numCapturesToLeft,t.name&&e.groupsByName.get(t.name).get(t).hasDuplicateNameToRemove&&delete t.name},Regex:{exit({node:t},e){const n=Math.max(e.highestOrphanBackref-e.numCapturesToLeft,0);for(let r=0;r{e.forEach(a=>{r.enable?.[a]&&(delete n.disable[a],n.enable[a]=!0),r.disable?.[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function bD({dotAll:t,ignoreCase:e}){const n={};return(t||e)&&(n.enable={},t&&(n.enable.dotAll=!0),e&&(n.enable.ignoreCase=!0)),(!t||!e)&&(n.disable={},!t&&(n.disable.dotAll=!0),!e&&(n.disable.ignoreCase=!0)),n}function $C(t){if(!t)throw new Error("Node expected");const{body:e}=t;return Array.isArray(e)?e:e?[e]:null}function UC(t){const e=t.find(n=>n.kind==="search_start"||ED(n,{negate:!1})||!CD(n));if(!e)return null;if(e.kind==="search_start")return e;if(e.type==="LookaroundAssertion")return e.body[0].body[0];if(e.type==="CapturingGroup"||e.type==="Group"){const n=[];for(const r of e.body){const a=UC(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function GC(t,e){const n=$C(t)??[];for(const r of n)if(r===e||GC(r,e))return!0;return!1}function CD({type:t}){return t==="Assertion"||t==="Directive"||t==="LookaroundAssertion"}function SD(t){const e=["Character","CharacterClass","CharacterSet"];return e.includes(t.type)||t.type==="Quantifier"&&t.min&&e.includes(t.body.type)}function ED(t,e){const n={negate:null,...e};return t.type==="LookaroundAssertion"&&(n.negate===null||t.negate===n.negate)&&t.body.length===1&&MC(t.body[0],{type:"Assertion",kind:"search_start"})}function qd(t){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(t)}function Wo(t,e){const r=PC(t,{...e,unicodePropertyMap:Gm}).body;return r.length>1||r[0].body.length>1?ao({body:r}):r[0].body[0]}function Kd(t,e){return t.negate=e,t}function Pa(t,e){return t.parent=e,t}function As(t,e){return jC(t),t.parent=e,t}function xD(t,e){const n=HC(e),r=l5(n.target,"ES2024"),a=l5(n.target,"ES2025"),i=n.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let s=null,o=null;if(!a){const m=[t.flags.ignoreCase];iu(t,wD,{getCurrentModI:()=>m.at(-1),popModI(){m.pop()},pushModI(f){m.push(f)},setHasCasedChar(){m.at(-1)?s=!0:o=!0}})}const l={dotAll:t.flags.dotAll,ignoreCase:!!((t.flags.ignoreCase||s)&&!o)};let p=t;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:t.flags.dotAll,ignoreCase:t.flags.ignoreCase},inCharClass:!1,lastNode:p,originMap:t._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&s&&o),useFlagMods:a,useFlagV:r,verbose:n.verbose};function h(m){return u.lastNode=p,p=m,nD(TD[m.type],`Unexpected node type "${m.type}"`)(m,u,h)}const d={pattern:t.body.map(h).join("|"),flags:h(t.flags),options:{...t.options}};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((m,f)=>{m.hidden&&d._hiddenCaptures.push(f),m.transferTo&&ku(d._captureTransfers,m.transferTo,[]).push(f)}),d}var wD={"*":{enter({node:t},e){if(t6(t)){const n=e.getCurrentModI();e.pushModI(t.flags?ph({ignoreCase:n},t.flags).ignoreCase:n)}},exit({node:t},e){t6(t)&&e.popModI()}},Backreference(t,e){e.setHasCasedChar()},Character({node:t},e){Wm(Ds(t.value))&&e.setHasCasedChar()},CharacterClassRange({node:t,skip:e},n){e(),WC(t,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:t},e){t.kind==="property"&&RC.has(t.value)&&e.setHasCasedChar()}},TD={Alternative({body:t},e,n){return t.map(n).join("")},Assertion({kind:t,negate:e}){if(t==="string_end")return"$";if(t==="string_start")return"^";if(t==="word_boundary")return e?Yr`\B`:Yr`\b`;throw new Error(`Unexpected assertion kind "${t}"`)},Backreference({ref:t},e){if(typeof t!="number")throw new Error("Unexpected named backref in transformed AST");if(!e.useFlagMods&&e.accuracy==="strict"&&e.currentFlags.ignoreCase&&!e.captureMap.get(t).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+t},CapturingGroup(t,e,n){const{body:r,name:a,number:i}=t,s={ignoreCase:e.currentFlags.ignoreCase},o=e.originMap.get(t);return o&&(s.hidden=!0,i>o.number&&(s.transferTo=o.number)),e.captureMap.set(i,s),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:t},e){const n=Ds(t),r=yc(t,{escDigit:e.lastNode.type==="Backreference",inCharClass:e.inCharClass,useFlagV:e.useFlagV});if(r!==n)return r;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase&&Wm(n)){const a=DC(n);return e.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(t,e,n){const{kind:r,negate:a,parent:i}=t;let{body:s}=t;if(r==="intersection"&&!e.useFlagV)throw new Error("Use of class intersection requires min target ES2024");ra.bugFlagVLiteralHyphenIsRange&&e.useFlagV&&s.some(r6)&&(s=[Zh(45),...s.filter(p=>!r6(p))]);const o=()=>`[${a?"^":""}${s.map(n).join(r==="intersection"?"&&":"")}]`;if(!e.inCharClass){if((!e.useFlagV||ra.bugNestedClassIgnoresNegation)&&!a){const u=s.filter(h=>h.type==="CharacterClass"&&h.kind==="union"&&h.negate);if(u.length){const h=ao(),d=h.body[0];return h.parent=i,d.parent=h,s=s.filter(m=>!u.includes(m)),t.body=s,s.length?(t.parent=d,d.body.push(t)):h.body.pop(),u.forEach(m=>{const f=zl({body:[m]});m.parent=f,f.parent=h,h.body.push(f)}),n(h)}}e.inCharClass=!0;const p=o();return e.inCharClass=!1,p}const l=s[0];if(r==="union"&&!a&&l&&((!e.useFlagV||!e.verbose)&&i.kind==="union"&&!(ra.bugFlagVLiteralHyphenIsRange&&e.useFlagV)||!e.verbose&&i.kind==="intersection"&&s.length===1&&l.type!=="CharacterClassRange"))return s.map(n).join("");if(!e.useFlagV&&i.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return o()},CharacterClassRange(t,e){const n=t.min.value,r=t.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:e.useFlagV},i=yc(n,a),s=yc(r,a),o=new Set;if(e.useAppliedIgnoreCase&&e.currentFlags.ignoreCase){const l=WC(t);LD(l).forEach(u=>{o.add(Array.isArray(u)?`${yc(u[0],a)}-${yc(u[1],a)}`:yc(u,a))})}return`${i}-${s}${[...o].join("")}`},CharacterSet({kind:t,negate:e,value:n,key:r},a){if(t==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":Yr`[^\n]`;if(t==="digit")return e?Yr`\D`:Yr`\d`;if(t==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&RC.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${e?Yr`\P`:Yr`\p`}{${r?`${r}=`:""}${n}}`}if(t==="word")return e?Yr`\W`:Yr`\w`;throw new Error(`Unexpected character set kind "${t}"`)},Flags(t,e){return(e.appliedGlobalFlags.ignoreCase?"i":"")+(t.dotAll?"s":"")+(t.sticky?"y":"")},Group({atomic:t,body:e,flags:n,parent:r},a,i){const s=a.currentFlags;n&&(a.currentFlags=ph(s,n));const o=e.map(i).join("|"),l=!a.verbose&&e.length===1&&r.type!=="Quantifier"&&!t&&(!a.useFlagMods||!n)?o:`(?${OD(t,n,a.useFlagMods)}${o})`;return a.currentFlags=s,l},LookaroundAssertion({body:t,kind:e,negate:n},r,a){return`(?${`${e==="lookahead"?"":"<"}${n?"!":"="}`}${t.map(a).join("|")})`},Quantifier(t,e,n){return n(t.body)+ID(t)},Subroutine({isRecursive:t,ref:e},n){if(!t)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return e===0?`(?R=${r})`:Yr`\g<${e}&R=${r}>`}},AD=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),_D=new Set(["-","\\","]","^","["]),MD=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),e6=new Map([[9,Yr`\t`],[10,Yr`\n`],[11,Yr`\v`],[12,Yr`\f`],[13,Yr`\r`],[8232,Yr`\u2028`],[8233,Yr`\u2029`],[65279,Yr`\uFEFF`]]),PD=/^\p{Cased}$/u;function Wm(t){return PD.test(t)}function WC(t,e){const n=!!e?.firstOnly,r=t.min.value,a=t.max.value,i=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return i;for(let s=r;s<=a;s++){const o=Ds(s);if(!Wm(o))continue;const l=DC(o).filter(p=>{const u=p.codePointAt(0);return ua});if(l.length&&(i.push(...l),n))break}return i}function yc(t,{escDigit:e,inCharClass:n,useFlagV:r}){if(e6.has(t))return e6.get(t);if(t<32||t>126&&t<160||t>262143||e&&kD(t))return t>255?`\\u{${t.toString(16).toUpperCase()}}`:`\\x${t.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?MD:_D:AD,i=Ds(t);return(a.has(i)?"\\":"")+i}function LD(t){const e=t.map(a=>a.codePointAt(0)).sort((a,i)=>a-i),n=[];let r=null;for(let a=0;a";let r="";if(e&&n){const{enable:a,disable:i}=e;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(i?"-":"")+(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")}return`${r}:`}function ID({kind:t,max:e,min:n}){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 t6({type:t}){return t==="CapturingGroup"||t==="Group"||t==="LookaroundAssertion"}function kD(t){return t>47&&t<58}function r6({type:t,value:e}){return t==="Character"&&e===45}var zD=class c5 extends RegExp{#r=new Map;#n=null;#c;#t=null;#i=null;rawOptions={};get source(){return this.#c||"(?:)"}constructor(e,n,r){const a=!!r?.lazyCompile;if(e instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const i=e;super(i,n),this.#c=i.source,i instanceof c5&&(this.#r=i.#r,this.#t=i.#t,this.#i=i.#i,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":e,n),this.#c=e,this.#r=VD(i.hiddenCaptures,i.transfers),this.#i=i.strategy,this.rawOptions=r??{}}a||(this.#n=this)}exec(e){if(!this.#n){const{lazyCompile:a,...i}=this.rawOptions;this.#n=new c5(this.#c,this.flags,i)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#i==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#o(e.slice(r));return a&&(ND(a,r,e,this.hasIndices),this.lastIndex+=r),a}return this.#o(e)}#o(e){this.#n.lastIndex=this.lastIndex;const n=super.exec.call(this.#n,e);if(this.lastIndex=this.#n.lastIndex,!n||!this.#r.size)return n;const r=[...n];n.length=1;let a;this.hasIndices&&(a=[...n.indices],n.indices.length=1);const i=[0];for(let s=1;s{const o=i[s];o&&(i[s]=[o[0]+e,o[1]+e])})}}function VD(t,e){const n=new Map;for(const r of t)n.set(r,{hidden:!0});for(const[r,a]of e)for(const i of a)ku(n,i,{}).transferTo=r;return n}function HD(t){const e=/(?\((?:\?<(?![=!])(?[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,i;for(;i=e.exec(t);){const{0:s,groups:{capture:o,name:l}}=i;s==="["?r++:r?s==="]"&&r--:o&&(a++,l&&n.set(a,l))}return n}function DD(t,e){const n=RD(t,e);return n.options?new zD(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function RD(t,e){const n=HC(e),r=PC(t,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Gm}),a=hD(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=xD(a,n),s=tD(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),o=ZH(s.pattern),l=QH(o.pattern,{captureTransfers:s.captureTransfers,hiddenCaptures:s.hiddenCaptures}),p={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.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=a._strategy,m=p.pattern.length>=n.lazyCompileLength;(u.length||h.length||d||m)&&(p.options={...u.length&&{hiddenCaptures:u},...h.length&&{transfers:h},...d&&{strategy:d},...m&&{lazyCompile:m}})}return p}const n6=4294967295;class jD{constructor(e,n={}){this.patterns=e,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:i}=n;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const o=a?.get(s);if(o){if(o instanceof RegExp)return o;if(r)return null;throw o}try{const l=i(s);return a?.set(s,l),l}catch(l){if(a?.set(s,l),r)return null;throw l}})}regexps;findNextMatchSync(e,n,r){const a=typeof e=="string"?e:e.content,i=[];function s(o,l,p=0){return{index:o,captureIndices:l.indices.map(u=>u==null?{start:n6,end:n6,length:0}:{start:u[0]+p,end:u[1]+p,length:u[1]-u[0]})}}for(let o=0;ol[1].index));for(const[l,p,u]of i)if(p.index===o)return s(l,p,u)}return null}}function BD(t,e){return DD(t,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...e})}function FD(t={}){const e=Object.assign({target:"auto",cache:new Map},t);return e.regexConstructor||=n=>BD(n,{target:e.target}),{createScanner(n){return new jD(n,e)},createString(n){return{content:n}}}}const $D={"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":''},qm=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},UD={},GD={class:"mx-0.5 $ui-base inline-block select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs"};function WD(t,e){return Je(),lt("span",GD,[hn(t.$slots,"default")])}const AX=qm(UD,[["render",WD]]),qD={},KD={class:"h-3 w-3 $ui-inline-fcc"};function XD(t,e){return Je(),lt("div",KD,[...e[0]||(e[0]=[Ze("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[Ze("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),Ze("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 qC=qm(qD,[["render",XD]]),YD={key:2},Ss=lr({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(t,{emit:e}){const n=t,r=e,a=t8(),i=pt(()=>a.to?"router-link":a.href?"a":"button"),s=pt(()=>n.loading||n.disabled);function o(h){if(s.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"}},p=zh(),u=pt(()=>n.flat?l.flat[n.type]:n.outlined?l.outlined[n.type]:l.normal[n.type]);return(h,d)=>(Je(),Jt(Po(i.value),ks(h.$attrs,{role:"button","aria-disabled":s.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[l.common[n.type]],{"rounded-full":n.round==="full","$ui-base-br":n.round==="normal","opacity-50 cursor-not-allowed":s.value,"bg-transparent":n.flat||n.outlined},[t.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",t.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",u.value]]],onClickCapture:o}),{default:zt(()=>[t.loading?(Je(),Jt(qC,{key:0,class:"mt0.5 h-full w3"})):hn(h.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),$e(p).default?(Je(),lt("div",YD,[hn(h.$slots,"default")])):rr("",!0),hn(h.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),JD={},QD={class:"$ui-base border $ui-border-base rounded shadow-sm"};function ZD(t,e){return Je(),lt("div",QD,[hn(t.$slots,"default")])}const eR=qm(JD,[["render",ZD]]),_X=lr({__name:"Checkbox",props:{modelValue:{type:Boolean},variant:{default:"normal"}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Bl(t,"modelValue",e);return(r,a)=>(Je(),lt("div",{class:$r(["relative $ui-base h5 w5 $ui-inline-fcc cursor-pointer border-0.125rem rounded-1.25 transition-colors duration-200 ease-in-out",[$e(n)?t.variant==="normal"?"bg-primary-500 border-primary-200 dark:border-primary-100":"bg-accent-500 border-accent-200 dark:border-accent-100":""]]),onClick:a[0]||(a[0]=i=>n.value=!$e(n))},[Ze("div",{class:$r([[$e(n)?"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))}}),op=Gr();let s6=null;function tR(t,e="text"){if(!s6&&!op.value){const r=FD();s6=rH({themes:[ps(()=>import("./vitesse-dark-D0r3Knsf.js"),[],import.meta.url),ps(()=>import("./vitesse-light-CVO1_9PV.js"),[],import.meta.url)],langs:[ps(()=>import("./json-Cp-IABpG.js"),[],import.meta.url),ps(()=>import("./yaml-Buea-lGh.js"),[],import.meta.url),ps(()=>import("./css-DPfMkruS.js"),[],import.meta.url),ps(()=>import("./javascript-BMMyXqK5.js"),[],import.meta.url),ps(()=>import("./typescript-DlfHMoPT.js"),[],import.meta.url),ps(()=>import("./vue-CYH3TOzo.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),ps(()=>import("./vue-html-zSiQ3dJi.js"),__vite__mapDeps([6,0,1,2,3,4,5]),import.meta.url),ps(()=>import("./html-B8pBdPMQ.js"),__vite__mapDeps([5,2,1]),import.meta.url),ps(()=>import("./diff-D97Zzqfu.js"),[],import.meta.url),ps(()=>import("./shellscript-Yzrsuije.js"),[],import.meta.url)],engine:r}).then(a=>{op.value=a})}const n=op.value?.getLoadedLanguages().includes(e);return n?{code:op.value.codeToHtml(t,{lang:e,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:t,supported:n}}const rR=["innerHTML"],nR={class:"shiki"},sR=["textContent"],iR=lr({__name:"CodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},emits:["loaded"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>{const i=n.lang==="text"?{code:n.code,supported:!1}:tR(n.code,n.lang)||{code:n.code,supported:!1};return i.supported&&n.transformRendered&&(i.code=n.transformRendered(i.code)),i.supported&&xs(()=>r("loaded")),i});return(i,s)=>t.lang&&a.value.supported?(Je(),lt("pre",{key:0,class:$r(["code-block",t.lines?"code-block-lines":""]),innerHTML:a.value.code},null,10,rR)):(Je(),lt("pre",{key:1,class:$r(["code-block",t.lines?"code-block-lines":""])},[Ze("pre",nR,[Ze("code",null,[(Je(!0),lt(Vr,null,ws(t.code.split(` `),(o,l)=>(Je(),lt(Vr,{key:l},[Ze("span",{class:"line",textContent:cn(o)},null,8,sR),s[0]||(s[0]=Ze("br",null,null,-1))],64))),128))])])],2))}}),Km=lr({__name:"Overlay",props:{dim:{type:Boolean},blur:{type:Boolean},position:{default:"fixed"}},setup(t){return(e,n)=>(Je(),lt("div",{class:$r(["left-0 top-0 $ui-z-max h-full w-full $ui-fcc $ui-bg-base transition-opacity transition-duration-300",[t.dim?"bg-opacity-50!":"bg-opacity-0!",t.blur?"backdrop-blur-sm":"",t.position]])},[hn(e.$slots,"default")],2))}}),oR={class:"h7.5 w-full $ui-fbc"},aR={class:"text-4.5"},lR={class:"content transition-all transition-duration-300"},cR={class:"footer h8 w-full transition-all transition-duration-300 delay-250"},uR={class:"$ui-fcc"},KC=lr({__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(t,{emit:e}){const n=t,r=Bl(n,"modelValue",e,{passive:!0}),a=az(()=>window.document.documentElement);ti(()=>{r.value?a.value=!0:a.value=!1});function i(){r.value&&n.autoClose&&(r.value=!1)}Db("Escape",()=>{i()});const s=xt(!1);return si(()=>s.value=!0),(o,l)=>s.value||t.mountTo==="body"?(Je(),Jt(G5,{key:0,to:t.mountTo},[gt(Dh,{"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:zt(()=>[$e(r)?(Je(),Jt(Km,{key:0,dim:t.dim,blur:t.blur,position:t.position},{default:zt(()=>[Ze("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:Rs({width:n.width,height:n.height})},[Ze("div",oR,[Ze("div",aR,[hn(o.$slots,"title",{},()=>[ln(cn(n.title),1)])]),t.closable?(Je(),lt("div",{key:0,class:"h6 w6 $ui-fcc cursor-pointer rounded-full transition-colors hover:bg-primary-100 dark:hover:bg-gray-700",onClick:i},[...l[0]||(l[0]=[Ze("div",{class:"i-carbon-close"},null,-1)])])):rr("",!0)]),Ze("div",lR,[hn(o.$slots,"default")]),Ze("div",cR,[hn(o.$slots,"footer",{},()=>[hn(o.$slots,"footer",{},()=>[Ze("div",uR,[gt(Ss,{type:"primary",onClick:i},{default:zt(()=>[...l[1]||(l[1]=[ln(" close ",-1)])]),_:1})])])])])],4)]),_:3},8,["dim","blur","position"])):rr("",!0)]),_:3})],8,["to"])):rr("",!0)}}),pR={class:"$ui-fec gap2.5"},MX=lr({__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(t,{emit:e}){const n=t,r=e,a=Bl(n,"modelValue",r);ti(()=>{a.value||r("close")});function i(s=!1){(n.autoClose||s)&&(a.value=!1)}return(s,o)=>(Je(),Jt(KC,{modelValue:$e(a),"onUpdate:modelValue":o[2]||(o[2]=l=>xn(a)?a.value=l:null),width:t.width,height:t.height,title:t.title,closable:!1},{footer:zt(()=>[Ze("div",pR,[gt(Ss,{onClick:o[0]||(o[0]=()=>{r("cancel"),i(!0)})},{default:zt(()=>[ln(cn(t.cancelText),1)]),_:1}),gt(Ss,{loading:t.loading,type:"primary",onClick:o[1]||(o[1]=()=>{r("confirm"),i()})},{default:zt(()=>[ln(cn(t.confirmText),1)]),_:1},8,["loading"])])]),default:zt(()=>[hn(s.$slots,"default",{class:"h-auto w-auto"},()=>[ln(cn(t.content),1)])]),_:3},8,["modelValue","width","height","title"]))}}),hR=lr({__name:"Notification",props:{message:{},type:{default:"info"},classes:{},duration:{default:3e3},placement:{default:"top-center"},onClose:{}},setup(t){const e=t,n={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"},a=xt(!1);si(()=>{a.value=!0,setTimeout(()=>{a.value=!1},e.duration)});const i=pt(()=>e.placement.startsWith("top")?"translate-y--300%":"translate-y-300%");return(s,o)=>(Je(),lt("div",{class:$r(["fixed left-0 right-0 $ui-z-max-override text-center",[{"top-0":t.placement.startsWith("top")},{"bottom-0":t.placement.startsWith("bottom")}]])},[gt(Dh,{"enter-from-class":i.value,"leave-to-class":i.value,onAfterLeave:o[0]||(o[0]=()=>{a.value||t.onClose?.()})},{default:zt(()=>[a.value?(Je(),lt("div",{key:0,class:"flex transition-all duration-300",style:Rs({justifyContent:t.placement.includes("right")?"right":t.placement.includes("left")?"left":"center"})},[Ze("div",{class:$r(["m3 flex-inline items-center gap2 b-1 b-1 rounded $ui-bg-base px4 py1 shadow transition-all duration-300",[t.classes,r[t.type]]])},[Ze("div",{class:$r(n[t.type])},null,2),Ze("div",null,cn(t.message),1)],2)],4)):rr("",!0)]),_:1},8,["enter-from-class","leave-to-class"])],2))}});function i6(t){const e=document.createElement("div");e.classList.add("$ui-z-max-override","fixed"),document.body.appendChild(e);const n=t.onClose;function r(){Rp(null,e)}t.onClose=()=>{r(),n?.(),document.body.removeChild(e)};const a=Ja(hR,t);Rp(a,e)}const fR="__vue-devtools-theme__";function Xm(t={}){const e=Qk({...t,storageKey:fR});return{colorMode:e,isDark:pt(()=>e.value==="dark")}}const dR={class:"$ui-dark-toggle-vtr"},mR=lr({__name:"DarkToggle",props:{isDark:{type:Boolean,default:!1},animation:{type:Boolean,default:!0},animationDuration:{default:400}},setup(t){const e=t,n=Bl(e,"isDark"),{colorMode:r}=Xm({initialValue:n.value?"dark":"light",onChanged:o=>{n.value=o==="dark"}}),a=pt({get:()=>r.value==="dark",set:o=>r.value=o?"dark":"light"}),i=!!document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(o){if(!i||!o||!e.animation){a.value=!a.value;return}const l=o.clientX,p=o.clientY,u=Math.hypot(Math.max(l,innerWidth-l),Math.max(p,innerHeight-p));document.startViewTransition(async()=>{a.value=!a.value,await xs()}).ready.then(()=>{const h=[`circle(0px at ${l}px ${p}px)`,`circle(${u}px at ${l}px ${p}px)`];document.documentElement.animate({clipPath:a.value?[...h].reverse():h},{duration:e.animationDuration,easing:"ease-in",pseudoElement:a.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(o,l)=>(Je(),lt("span",dR,[hn(o.$slots,"default",Ch(Uu({mode:$e(r),isDark:a.value,toggle:s})))]))}}),PX=lr({__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(t,{emit:e}){const n=t,r=e,{height:a}=ez(()=>typeof n.top=="string"?document.querySelector(n.top):n.top,void 0,{box:"border-box"}),i=Bl(n,"modelValue",r),s={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%"}};Db("Escape",()=>{n.closable&&(i.value=!1)});const o=pt(()=>s[n.placement]),l=xt(!1);return si(()=>l.value=!0),(p,u)=>l.value||t.mountTo==="body"?(Je(),Jt(G5,{key:0,to:t.mountTo},[gt(Dh,{"enter-from-class":`${o.value.transition}`,"leave-to-class":`${o.value.transition}`},{default:zt(()=>[$e(i)?(Je(),Jt(Km,{key:0,class:$r({"pointer-events-none":t.permanent}),dim:t.dim,blur:t.blur,position:t.position,onClick:u[2]||(u[2]=h=>t.closeOutside&&t.closable&&(i.value=!1))},{default:zt(()=>[Ze("div",{class:$r([[o.value.class,t.contentClass??"",t.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:Rs({top:t.placement==="bottom"?"auto":`${$e(a)}px`,height:["top","bottom"].includes(t.placement)?"auto":`calc(100% - ${$e(a)}px)`}),onClick:u[1]||(u[1]=io(()=>{},["stop"]))},[t.closable?(Je(),lt("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=>i.value=!1)})):rr("",!0),hn(p.$slots,"default")],6)]),_:3},8,["class","dim","blur","position"])):rr("",!0)]),_:3},8,["enter-from-class","leave-to-class"])],8,["to"])):rr("",!0)}}),gR={class:"overflow-hidden rounded-lg shadow-lg"},zu=lr({__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(t){const e=t;return Ms("$ui-dropdown-disabled",pt(()=>e.disabled)),(n,r)=>(Je(),Jt($e(gk),{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]=a=>n.$emit("update:visible",a)),onClick:r[1]||(r[1]=a=>{a.stopPropagation()})},{popper:zt(({hide:a})=>[Ze("div",gR,[hn(n.$slots,"popper",Ch(Uu({hide:a})),()=>[r[2]||(r[2]=Ze("div",{class:"p2 opacity-40"}," Empty... ",-1))])])]),default:zt(()=>[hn(n.$slots,"default",{},()=>[gt(Ss,ks({...t.buttonProps,disabled:t.disabled},{class:t.buttonClass}),Z5({icon:zt(()=>[hn(n.$slots,"button-icon")]),"icon-right":zt(()=>[hn(n.$slots,"button-icon-right")]),_:2},[t.label?{name:"default",fn:zt(()=>[ln(cn(t.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),o6=lr({__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(t){const e=t,n=zn("$ui-dropdown-disabled",void 0);return(r,a)=>Rn((Je(),Jt(Ss,ks({...e,round:!1},{disabled:$e(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:zt(()=>[hn(r.$slots,"icon")]),default:zt(()=>[hn(r.$slots,"default")]),_:3},16,["disabled"])),[[$e(Ob)]])}}),_s=lr({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(t){return(e,n)=>(Je(),Jt(Po(t.inline?"span":"div"),{class:$r(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}}),vR=["type","placeholder","disabled"],yR={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"},Xd="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",ko=lr({__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(t,{emit:e}){const n=t,r=e,a=Bl(n,"modelValue",r),i=Mk(pt(()=>n.loading),n.loadingDebounceTime),s=Pk(!1,{onChanged(h){r("updateFocused",h)}}),o=pt(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),l=pt(()=>n.disabled||i.value),p=xt();let u=!1;return ti(()=>{i.value&&s.value?u=!0:!i.value&&u&&(u=!1,xs(()=>{s.value=!0}))}),si(()=>{n.autoFocus&&(s.value=!0)}),ti(()=>{s.value&&p.value?.focus()}),(h,d)=>(Je(),lt("div",{class:$r(["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":t.variant==="flat","cursor-not-allowed opacity-50":l.value,accent:t.variant==="accent",focused:$e(s)},[t.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:d[2]||(d[2]=()=>{s.value=!0})},[t.leftIcon?(Je(),lt("div",{key:0,class:$r(Xd)},[gt(_s,{icon:t.leftIcon},null,8,["icon"])])):rr("",!0),Rn(Ze("input",{ref_key:"inputRef",ref:p,"onUpdate:modelValue":d[0]||(d[0]=m=>xn(a)?a.value=m:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:t.type,placeholder:t.placeholder,disabled:l.value||t.readonly,onBlur:d[1]||(d[1]=m=>s.value=!1)},null,40,vR),[[um,$e(a)]]),$e(i)?(Je(),lt("div",{key:1,class:$r(Xd)},[gt(qC)])):t.rightIcon?(Je(),lt("div",{key:2,class:$r(Xd)},[gt(_s,{icon:t.rightIcon},null,8,["icon"])])):rr("",!0),o.value?rr("",!0):(Je(),lt("div",yR))],2))}}),bR=["innerHTML"],Nu=lr({__name:"IcIcon",props:{name:{}},setup(t){const e=t,n=pt(()=>$D[e.name]??"");return(r,a)=>(Je(),lt("div",null,[(Je(),lt("svg",{class:"custom-svg h-1em w-1em",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",innerHTML:n.value},null,8,bR))]))}}),CR={class:"m1 min-w-35 w-auto flex flex-col"},SR=["onClick"],XC=lr({__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:t=>String(t)},buttonProps:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=zh(),i=pt({get:()=>n.modelValue,set:l=>r("update:modelValue",l)}),s=pt(()=>{const l=n.options.find(p=>p.value===i.value);return l?.label?n.labelRenderer(l.label):n.placeholder});function o(l){n.multiple?i.value=i.value.includes(l.value)?i.value.filter(p=>p!==l.value):[...i.value,l.value]:i.value=l.value}return(l,p)=>(Je(),Jt(zu,ks({label:s.value},{buttonProps:t.buttonProps,disabled:t.disabled}),Z5({popper:zt(()=>[Ze("div",CR,[$e(a).item?(Je(!0),lt(Vr,{key:0},ws(t.options,u=>(Je(),lt("div",{key:u.value,class:"cursor-pointer",onClick:h=>o(u)},[hn(l.$slots,"item",ks({ref_for:!0},{item:u,active:t.multiple?i.value.includes(u.value):u.value===i.value,disabled:t.disabled}))],8,SR))),128)):(Je(!0),lt(Vr,{key:1},ws(t.options,u=>Rn((Je(),Jt(Ss,{key:u.value,disabled:t.disabled,round:"normal",class:$r(["flex-[auto_1_1] not-hover:[&:not(.active)]:bg-transparent!",{active:t.multiple?i.value.includes(u.value):u.value===i.value}]),onClick:h=>o(u)},{default:zt(()=>[ln(cn(u.label),1)]),_:2},1032,["disabled","class","onClick"])),[[$e(Ob),t.autoClose]])),128))])]),"button-icon-right":zt(()=>[p[0]||(p[0]=Ze("div",{class:"i-mdi-chevron-down"},null,-1))]),_:2},[$e(a).button?{name:"default",fn:zt(()=>[hn(l.$slots,"button")]),key:"0"}:void 0]),1040,["label"]))}}),ER=lr({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const n=Bl(t,"modelValue",e),r=zk(n);return(a,i)=>(Je(),lt("div",{class:$r([[t.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:i[0]||(i[0]=s=>!t.disabled&&$e(r)())},[hn(a.$slots,"default"),Ze("div",{class:$r([{selected:$e(n)},"group relative $ui-base h4 w8 rounded-2 bg-primary-100 transition-colors dark:bg-gray-700 [&.selected]:bg-primary-500!"])},[Ze("div",{class:$r(["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":!t.disabled},{"opacity-65":t.disabled}]])},null,2)],2)],2))}}),xR=lr({__name:"Tooltip",props:{trigger:{},distance:{},skidding:{},placement:{},disabled:{type:Boolean},shown:{type:Boolean}},setup(t){return(e,n)=>(Je(),Jt($e(vk),ks({disabled:t.disabled,placement:t.placement},e.$attrs),{popper:zt(()=>[hn(e.$slots,"popper")]),default:zt(()=>[hn(e.$slots,"default")]),_:3},16,["disabled","placement"]))}}),wR="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",TR={class:"h-screen w-screen $ui-fcc flex-col"},AR={class:"outer"},_R={class:"inner"},MR=["src"],PR=lr({__name:"AppConnecting",setup(t){return(e,n)=>(Je(),lt("div",TR,[Ze("div",AR,[Ze("div",_R,[Ze("img",{src:$e(wR),class:"max-w-18",alt:"Vue logo"},null,8,MR)])]),hn(e.$slots,"default",{},void 0,!0)]))}}),LR=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},OR=LR(PR,[["__scopeId","data-v-56eba732"]]);function IR(){const{copy:t,copied:e}=Uk();return{copy:(r,a={})=>{const{silent:i=!1,type:s=""}=a;t(r).then(()=>{i||i6({message:"Copied to clipboard",type:"success",duration:3e3})}).catch(()=>{i||i6({message:"Failed to copy to clipboard",type:"error",duration:3e3})})},copied:e}}const kR=["src","alt"],zR=["title"],a6="custom-ic-",rf=lr({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0},fallback:{}},setup(t){const e=t,n=xt(e.icon);Lr(()=>e.icon,a=>{n.value=a});function r(){n.value=e.fallback}return(a,i)=>$e(n)&&$e(mw)($e(n))?(Je(),lt("img",ks({key:0,style:{width:"1em",height:"1em"}},a.$attrs,{src:$e(n),alt:t.title,onError:r}),null,16,kR)):$e(n)?.startsWith(a6)?(Je(),Jt($e(Nu),ks({key:1,name:$e(n).slice(a6.length)},a.$attrs,{title:t.showTitle?t.title:void 0}),null,16,["name","title"])):(Je(),lt("div",ks({key:2,style:{width:"1em",height:"1em"}},a.$attrs,{class:$e(n)||"i-carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,zR))}});function ua(t){return Array.isArray?Array.isArray(t):QC(t)==="[object Array]"}function NR(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function VR(t){return t==null?"":NR(t)}function To(t){return typeof t=="string"}function YC(t){return typeof t=="number"}function HR(t){return t===!0||t===!1||DR(t)&&QC(t)=="[object Boolean]"}function JC(t){return typeof t=="object"}function DR(t){return JC(t)&&t!==null}function Hi(t){return t!=null}function Yd(t){return!t.trim().length}function QC(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const RR="Incorrect 'index' type",jR=t=>`Invalid value for key ${t}`,BR=t=>`Pattern length exceeds max of ${t}.`,FR=t=>`Missing ${t} property in key`,$R=t=>`Property 'weight' in key '${t}' must be a positive integer`,l6=Object.prototype.hasOwnProperty;class UR{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let a=ZC(r);this._keys.push(a),this._keyMap[a.id]=a,n+=a.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ZC(t){let e=null,n=null,r=null,a=1,i=null;if(To(t)||ua(t))r=t,e=c6(t),n=u5(t);else{if(!l6.call(t,"name"))throw new Error(FR("name"));const s=t.name;if(r=s,l6.call(t,"weight")&&(a=t.weight,a<=0))throw new Error($R(s));e=c6(s),n=u5(s),i=t.getFn}return{path:e,id:n,weight:a,src:r,getFn:i}}function c6(t){return ua(t)?t:t.split(".")}function u5(t){return ua(t)?t.join("."):t}function GR(t,e){let n=[],r=!1;const a=(i,s,o)=>{if(Hi(i))if(!s[o])n.push(i);else{let l=s[o];const p=i[l];if(!Hi(p))return;if(o===s.length-1&&(To(p)||YC(p)||HR(p)))n.push(VR(p));else if(ua(p)){r=!0;for(let u=0,h=p.length;ut.score===e.score?t.idx{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,To(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();To(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n{let s=a.getFn?a.getFn(e):this.getFn(e,a.path);if(Hi(s)){if(ua(s)){let o=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:p,value:u}=l.pop();if(Hi(u))if(To(u)&&!Yd(u)){let h={v:u,i:p,n:this.norm.get(u)};o.push(h)}else ua(u)&&u.forEach((h,d)=>{l.push({nestedArrIndex:d,value:h})})}r.$[i]=o}else if(To(s)&&!Yd(s)){let o={v:s,n:this.norm.get(s)};r.$[i]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function eS(t,e,{getFn:n=Ur.getFn,fieldNormWeight:r=Ur.fieldNormWeight}={}){const a=new Ym({getFn:n,fieldNormWeight:r});return a.setKeys(t.map(ZC)),a.setSources(e),a.create(),a}function QR(t,{getFn:e=Ur.getFn,fieldNormWeight:n=Ur.fieldNormWeight}={}){const{keys:r,records:a}=t,i=new Ym({getFn:e,fieldNormWeight:n});return i.setKeys(r),i.setIndexRecords(a),i}function ap(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Ur.distance,ignoreLocation:i=Ur.ignoreLocation}={}){const s=e/t.length;if(i)return s;const o=Math.abs(r-n);return a?s+o/a:o?1:s}function ZR(t=[],e=Ur.minMatchCharLength){let n=[],r=-1,a=-1,i=0;for(let s=t.length;i=e&&n.push([r,a]),r=-1)}return t[i-1]&&i-r>=e&&n.push([r,i-1]),n}const Cl=32;function ej(t,e,n,{location:r=Ur.location,distance:a=Ur.distance,threshold:i=Ur.threshold,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,includeMatches:l=Ur.includeMatches,ignoreLocation:p=Ur.ignoreLocation}={}){if(e.length>Cl)throw new Error(BR(Cl));const u=e.length,h=t.length,d=Math.max(0,Math.min(r,h));let m=i,f=d;const v=o>1||l,C=v?Array(h):[];let S;for(;(S=t.indexOf(e,f))>-1;){let T=ap(e,{currentLocation:S,expectedLocation:d,distance:a,ignoreLocation:p});if(m=Math.min(T,m),f=S+u,v){let O=0;for(;O=z;N-=1){let $=N-1,H=n[t.charAt($)];if(v&&(C[$]=+!!H),W[N]=(W[N+1]<<1|1)&H,T&&(W[N]|=(x[N+1]|x[N])<<1|1|x[N+1]),W[N]&y&&(g=ap(e,{errors:T,currentLocation:$,expectedLocation:d,distance:a,ignoreLocation:p}),g<=m)){if(m=g,f=$,f<=d)break;z=Math.max(1,2*d-f)}}if(ap(e,{errors:T+1,currentLocation:d,expectedLocation:d,distance:a,ignoreLocation:p})>m)break;x=W}const _={isMatch:f>=0,score:Math.max(.001,g)};if(v){const T=ZR(C,o);T.length?l&&(_.indices=T):_.isMatch=!1}return _}function tj(t){let e={};for(let n=0,r=t.length;nt.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,"")):(t=>t);class tS{constructor(e,{location:n=Ur.location,threshold:r=Ur.threshold,distance:a=Ur.distance,includeMatches:i=Ur.includeMatches,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,isCaseSensitive:l=Ur.isCaseSensitive,ignoreDiacritics:p=Ur.ignoreDiacritics,ignoreLocation:u=Ur.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:p,ignoreLocation:u},e=l?e:e.toLowerCase(),e=p?hh(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const h=(m,f)=>{this.chunks.push({pattern:m,alphabet:tj(m),startIndex:f})},d=this.pattern.length;if(d>Cl){let m=0;const f=d%Cl,v=d-f;for(;m{const{isMatch:x,score:g,indices:w}=ej(e,v,C,{location:i+S,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:p,includeMatches:a,ignoreLocation:u});x&&(m=!0),d+=g,x&&w&&(h=[...h,...w])});let f={isMatch:m,score:m?d/this.chunks.length:1};return m&&a&&(f.indices=h),f}}class Za{constructor(e){this.pattern=e}static isMultiMatch(e){return u6(e,this.multiRegex)}static isSingleMatch(e){return u6(e,this.singleRegex)}search(){}}function u6(t,e){const n=t.match(e);return n?n[1]:null}class rj extends Za{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class nj extends Za{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 sj extends Za{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ij extends Za{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class oj extends Za{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class aj extends Za{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class rS extends Za{constructor(e,{location:n=Ur.location,threshold:r=Ur.threshold,distance:a=Ur.distance,includeMatches:i=Ur.includeMatches,findAllMatches:s=Ur.findAllMatches,minMatchCharLength:o=Ur.minMatchCharLength,isCaseSensitive:l=Ur.isCaseSensitive,ignoreDiacritics:p=Ur.ignoreDiacritics,ignoreLocation:u=Ur.ignoreLocation}={}){super(e),this._bitapSearch=new tS(e,{location:n,threshold:r,distance:a,includeMatches:i,findAllMatches:s,minMatchCharLength:o,isCaseSensitive:l,ignoreDiacritics:p,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class nS extends Za{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const a=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+i,a.push([r,n-1]);const s=!!a.length;return{isMatch:s,score:s?0:1,indices:a}}}const p5=[rj,nS,sj,ij,aj,oj,nj,rS],p6=p5.length,lj=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,cj="|";function uj(t,e={}){return t.split(cj).map(n=>{let r=n.trim().split(lj).filter(i=>i&&!!i.trim()),a=[];for(let i=0,s=r.length;i!!(t[fh.AND]||t[fh.OR]),dj=t=>!!t[d5.PATH],mj=t=>!ua(t)&&JC(t)&&!m5(t),h6=t=>({[fh.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function sS(t,e,{auto:n=!0}={}){const r=a=>{let i=Object.keys(a);const s=dj(a);if(!s&&i.length>1&&!m5(a))return r(h6(a));if(mj(a)){const l=s?a[d5.PATH]:i[0],p=s?a[d5.PATTERN]:a[l];if(!To(p))throw new Error(jR(l));const u={keyId:u5(l),pattern:p};return n&&(u.searcher=f5(p,e)),u}let o={children:[],operator:i[0]};return i.forEach(l=>{const p=a[l];ua(p)&&p.forEach(u=>{o.children.push(r(u))})}),o};return m5(t)||(t=h6(t)),r(t)}function gj(t,{ignoreFieldNorm:e=Ur.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:a,norm:i,score:s})=>{const o=a?a.weight:null;r*=Math.pow(s===0&&o?Number.EPSILON:s,(o||1)*(e?1:i))}),n.score=r})}function vj(t,e){const n=t.matches;e.matches=[],Hi(n)&&n.forEach(r=>{if(!Hi(r.indices)||!r.indices.length)return;const{indices:a,value:i}=r;let s={indices:a,value:i};r.key&&(s.key=r.key.src),r.idx>-1&&(s.refIndex=r.idx),e.matches.push(s)})}function yj(t,e){e.score=t.score}function bj(t,e,{includeMatches:n=Ur.includeMatches,includeScore:r=Ur.includeScore}={}){const a=[];return n&&a.push(vj),r&&a.push(yj),t.map(i=>{const{idx:s}=i,o={item:e[s],refIndex:s};return a.length&&a.forEach(l=>{l(i,o)}),o})}class a1{constructor(e,n={},r){this.options={...Ur,...n},this.options.useExtendedSearch,this._keyStore=new UR(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof Ym))throw new Error(RR);this._myIndex=n||eS(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Hi(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,a=this._docs.length;r-1&&(l=l.slice(0,n)),bj(l,this._docs,{includeMatches:r,includeScore:a})}_searchStringList(e){const n=f5(e,this.options),{records:r}=this._myIndex,a=[];return r.forEach(({v:i,i:s,n:o})=>{if(!Hi(i))return;const{isMatch:l,score:p,indices:u}=n.searchIn(i);l&&a.push({item:i,idx:s,matches:[{score:p,value:i,norm:o,indices:u}]})}),a}_searchLogical(e){const n=sS(e,this.options),r=(o,l,p)=>{if(!o.children){const{keyId:h,searcher:d}=o,m=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:d});return m&&m.length?[{idx:p,item:l,matches:m}]:[]}const u=[];for(let h=0,d=o.children.length;h{if(Hi(o)){let p=r(n,o,l);p.length&&(i[l]||(i[l]={idx:l,item:o,matches:[]},s.push(i[l])),p.forEach(({matches:u})=>{i[l].matches.push(...u)}))}}),s}_searchObjectList(e){const n=f5(e,this.options),{keys:r,records:a}=this._myIndex,i=[];return a.forEach(({$:s,i:o})=>{if(!Hi(s))return;let l=[];r.forEach((p,u)=>{l.push(...this._findMatches({key:p,value:s[u],searcher:n}))}),l.length&&i.push({idx:o,item:s,matches:l})}),i}_findMatches({key:e,value:n,searcher:r}){if(!Hi(n))return[];let a=[];if(ua(n))n.forEach(({v:i,i:s,n:o})=>{if(!Hi(i))return;const{isMatch:l,score:p,indices:u}=r.searchIn(i);l&&a.push({score:p,key:e,value:i,idx:s,norm:o,indices:u})});else{const{v:i,n:s}=n,{isMatch:o,score:l,indices:p}=r.searchIn(i);o&&a.push({score:l,key:e,value:i,norm:s,indices:p})}return a}}a1.version="7.1.0";a1.createIndex=eS;a1.parseIndex=QR;a1.config=Ur;a1.parseQuery=sS;fj(hj);function Cj(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Jd,f6;function Sj(){return f6||(f6=1,Jd=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!t(e[a],n[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}),Jd}var Ej=Sj();const iS=Cj(Ej),l1={__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(t,{emit:e}){const n=e,r=t,a=zh(),i=xt([]),s=pt(()=>i.value.reduce((ue,ae)=>(ue[~~ae.id]=ae)&&ue,{})),o=pt(()=>i.value.length),l=xt(null),p=xt(!1),u=xt({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),h=xt({splitter:null,timeoutId:null}),d=pt(()=>({[`splitpanes splitpanes--${r.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":u.value.dragging})),m=()=>{document.addEventListener("mousemove",C,{passive:!1}),document.addEventListener("mouseup",S),"ontouchstart"in window&&(document.addEventListener("touchmove",C,{passive:!1}),document.addEventListener("touchend",S))},f=()=>{document.removeEventListener("mousemove",C,{passive:!1}),document.removeEventListener("mouseup",S),"ontouchstart"in window&&(document.removeEventListener("touchmove",C,{passive:!1}),document.removeEventListener("touchend",S))},v=(ue,ae)=>{const ce=ue.target.closest(".splitpanes__splitter");if(ce){const{left:oe,top:ne}=ce.getBoundingClientRect(),{clientX:Se,clientY:se}="ontouchstart"in window&&ue.touches?ue.touches[0]:ue;u.value.cursorOffset=r.horizontal?se-ne:Se-oe}m(),u.value.mouseDown=!0,u.value.activeSplitter=ae},C=ue=>{u.value.mouseDown&&(ue.preventDefault(),u.value.dragging=!0,requestAnimationFrame(()=>{T(y(ue)),Ce("resize",{event:ue},!0)}))},S=ue=>{u.value.dragging&&(window.getSelection().removeAllRanges(),Ce("resized",{event:ue},!0)),u.value.mouseDown=!1,u.value.activeSplitter=null,setTimeout(()=>{u.value.dragging=!1,f()},100)},x=(ue,ae)=>{"ontouchstart"in window&&(ue.preventDefault(),h.value.splitter===ae?(clearTimeout(h.value.timeoutId),h.value.timeoutId=null,g(ue,ae),h.value.splitter=null):(h.value.splitter=ae,h.value.timeoutId=setTimeout(()=>h.value.splitter=null,500))),u.value.dragging||Ce("splitter-click",{event:ue,index:ae},!0)},g=(ue,ae)=>{if(Ce("splitter-dblclick",{event:ue,index:ae},!0),r.maximizePanes){let ce=0;i.value=i.value.map((oe,ne)=>(oe.size=ne===ae?oe.max:oe.min,ne!==ae&&(ce+=oe.min),oe)),i.value[ae].size-=ce,Ce("pane-maximize",{event:ue,index:ae,pane:i.value[ae]}),Ce("resized",{event:ue,index:ae},!0)}},w=(ue,ae)=>{Ce("pane-click",{event:ue,index:s.value[ae].index,pane:s.value[ae]})},y=ue=>{const ae=l.value.getBoundingClientRect(),{clientX:ce,clientY:oe}="ontouchstart"in window&&ue.touches?ue.touches[0]:ue;return{x:ce-(r.horizontal?0:u.value.cursorOffset)-ae.left,y:oe-(r.horizontal?u.value.cursorOffset:0)-ae.top}},_=ue=>{ue=ue[r.horizontal?"y":"x"];const ae=l.value[r.horizontal?"clientHeight":"clientWidth"];return r.rtl&&!r.horizontal&&(ue=ae-ue),ue*100/ae},T=ue=>{const ae=u.value.activeSplitter;let ce={prevPanesSize:I(ae),nextPanesSize:z(ae),prevReachedMinPanes:0,nextReachedMinPanes:0};const oe=0+(r.pushOtherPanes?0:ce.prevPanesSize),ne=100-(r.pushOtherPanes?0:ce.nextPanesSize),Se=Math.max(Math.min(_(ue),ne),oe);let se=[ae,ae+1],ve=i.value[se[0]]||null,xe=i.value[se[1]]||null;const He=ve.max<100&&Se>=ve.max+ce.prevPanesSize,ee=xe.max<100&&Se<=100-(xe.max+z(ae+1));if(He||ee){He?(ve.size=ve.max,xe.size=Math.max(100-ve.max-ce.prevPanesSize-ce.nextPanesSize,0)):(ve.size=Math.max(100-xe.max-ce.prevPanesSize-z(ae+1),0),xe.size=xe.max);return}if(r.pushOtherPanes){const k=O(ce,Se);if(!k)return;({sums:ce,panesToResize:se}=k),ve=i.value[se[0]]||null,xe=i.value[se[1]]||null}ve!==null&&(ve.size=Math.min(Math.max(Se-ce.prevPanesSize-ce.prevReachedMinPanes,ve.min),ve.max)),xe!==null&&(xe.size=Math.min(Math.max(100-Se-ce.nextPanesSize-ce.nextReachedMinPanes,xe.min),xe.max))},O=(ue,ae)=>{const ce=u.value.activeSplitter,oe=[ce,ce+1];return ae{Se>oe[0]&&Se<=ce&&(ne.size=ne.min,ue.prevReachedMinPanes+=ne.min)}),ue.prevPanesSize=I(oe[0]),oe[0]===void 0)?(ue.prevReachedMinPanes=0,i.value[0].size=i.value[0].min,i.value.forEach((ne,Se)=>{Se>0&&Se<=ce&&(ne.size=ne.min,ue.prevReachedMinPanes+=ne.min)}),i.value[oe[1]].size=100-ue.prevReachedMinPanes-i.value[0].min-ue.prevPanesSize-ue.nextPanesSize,null):ae>100-ue.nextPanesSize-i.value[oe[1]].min&&(oe[1]=W(ce).index,ue.nextReachedMinPanes=0,oe[1]>ce+1&&i.value.forEach((ne,Se)=>{Se>ce&&Se{Se=ce+1&&(ne.size=ne.min,ue.nextReachedMinPanes+=ne.min)}),i.value[oe[0]].size=100-ue.prevPanesSize-z(oe[0]-1),null):{sums:ue,panesToResize:oe}},I=ue=>i.value.reduce((ae,ce,oe)=>ae+(oei.value.reduce((ae,ce,oe)=>ae+(oe>ue+1?ce.size:0),0),G=ue=>[...i.value].reverse().find(ae=>ae.indexae.min)||{},W=ue=>i.value.find(ae=>ae.index>ue+1&&ae.size>ae.min)||{},F=()=>{var ue;const ae=Array.from(((ue=l.value)==null?void 0:ue.children)||[]);for(const ce of ae){const oe=ce.classList.contains("splitpanes__pane"),ne=ce.classList.contains("splitpanes__splitter");!oe&&!ne&&(ce.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))}},N=(ue,ae,ce=!1)=>{const oe=ue-1,ne=document.createElement("div");ne.classList.add("splitpanes__splitter"),ce||(ne.onmousedown=Se=>v(Se,oe),typeof window<"u"&&"ontouchstart"in window&&(ne.ontouchstart=Se=>v(Se,oe)),ne.onclick=Se=>x(Se,oe+1)),ne.ondblclick=Se=>g(Se,oe+1),ae.parentNode.insertBefore(ne,ae)},$=ue=>{ue.onmousedown=void 0,ue.onclick=void 0,ue.ondblclick=void 0,ue.remove()},H=()=>{var ue;const ae=Array.from(((ue=l.value)==null?void 0:ue.children)||[]);for(const oe of ae)oe.className.includes("splitpanes__splitter")&&$(oe);let ce=0;for(const oe of ae)oe.className.includes("splitpanes__pane")&&(!ce&&r.firstSplitter?N(ce,oe,!0):ce&&N(ce,oe),ce++)},R=({uid:ue,...ae})=>{const ce=s.value[ue];for(const[oe,ne]of Object.entries(ae))ce[oe]=ne},K=ue=>{var ae;let ce=-1;Array.from(((ae=l.value)==null?void 0:ae.children)||[]).some(oe=>(oe.className.includes("splitpanes__pane")&&ce++,oe.isSameNode(ue.el))),i.value.splice(ce,0,{...ue,index:ce}),i.value.forEach((oe,ne)=>oe.index=ne),p.value&&xs(()=>{H(),he({addedPane:i.value[ce]}),Ce("pane-add",{pane:i.value[ce]})})},ie=ue=>{const ae=i.value.findIndex(oe=>oe.id===ue);i.value[ae].el=null;const ce=i.value.splice(ae,1)[0];i.value.forEach((oe,ne)=>oe.index=ne),xs(()=>{H(),Ce("pane-remove",{pane:ce}),he({removedPane:{...ce}})})},he=(ue={})=>{!ue.addedPane&&!ue.removedPane?X():i.value.some(ae=>ae.givenSize!==null||ae.min||ae.max<100)?Q(ue):Le(),p.value&&Ce("resized")},Le=()=>{const ue=100/o.value;let ae=0;const ce=[],oe=[];for(const ne of i.value)ne.size=Math.max(Math.min(ue,ne.max),ne.min),ae-=ne.size,ne.size>=ne.max&&ce.push(ne.id),ne.size<=ne.min&&oe.push(ne.id);ae>.1&&fe(ae,ce,oe)},X=()=>{let ue=100;const ae=[],ce=[];let oe=0;for(const Se of i.value)ue-=Se.size,Se.givenSize!==null&&oe++,Se.size>=Se.max&&ae.push(Se.id),Se.size<=Se.min&&ce.push(Se.id);let ne=100;if(ue>.1){for(const Se of i.value)Se.givenSize===null&&(Se.size=Math.max(Math.min(ue/(o.value-oe),Se.max),Se.min)),ne-=Se.size;ne>.1&&fe(ne,ae,ce)}},Q=({addedPane:ue,removedPane:ae}={})=>{let ce=100/o.value,oe=0;const ne=[],Se=[];(ue?.givenSize??null)!==null&&(ce=(100-ue.givenSize)/(o.value-1));for(const se of i.value)oe-=se.size,se.size>=se.max&&ne.push(se.id),se.size<=se.min&&Se.push(se.id);if(!(Math.abs(oe)<.1)){for(const se of i.value)ue?.givenSize!==null&&ue?.id===se.id||(se.size=Math.max(Math.min(ce,se.max),se.min)),oe-=se.size,se.size>=se.max&&ne.push(se.id),se.size<=se.min&&Se.push(se.id);oe>.1&&fe(oe,ne,Se)}},fe=(ue,ae,ce)=>{let oe;ue>0?oe=ue/(o.value-ae.length):oe=ue/(o.value-ce.length),i.value.forEach((ne,Se)=>{if(ue>0&&!ae.includes(ne.id)){const se=Math.max(Math.min(ne.size+oe,ne.max),ne.min),ve=se-ne.size;ue-=ve,ne.size=se}else if(!ce.includes(ne.id)){const se=Math.max(Math.min(ne.size+oe,ne.max),ne.min),ve=se-ne.size;ue-=ve,ne.size=se}}),Math.abs(ue)>.1&&xs(()=>{p.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},Ce=(ue,ae=void 0,ce=!1)=>{const oe=ae?.index??u.value.activeSplitter??null;n(ue,{...ae,...oe!==null&&{index:oe},...ce&&oe!==null&&{prevPane:i.value[oe-(r.firstSplitter?1:0)],nextPane:i.value[oe+(r.firstSplitter?0:1)]},panes:i.value.map(ne=>({min:ne.min,max:ne.max,size:ne.size}))})};Lr(()=>r.firstSplitter,()=>H()),si(()=>{F(),H(),he(),Ce("ready"),p.value=!0}),Zc(()=>p.value=!1);const Me=()=>{var ue;return Ja("div",{ref:l,class:d.value},(ue=a.default)==null?void 0:ue.call(a))};return Ms("panes",i),Ms("indexedPanes",s),Ms("horizontal",pt(()=>r.horizontal)),Ms("requestUpdate",R),Ms("onPaneAdd",K),Ms("onPaneRemove",ie),Ms("onPaneClick",w),(ue,ae)=>(Je(),Jt(Po(Me)))}},Ri={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(t){var e;const n=t,r=zn("requestUpdate"),a=zn("onPaneAdd"),i=zn("horizontal"),s=zn("onPaneRemove"),o=zn("onPaneClick"),l=(e=Ts())==null?void 0:e.uid,p=zn("indexedPanes"),u=pt(()=>p.value[l]),h=xt(null),d=pt(()=>{const C=isNaN(n.size)||n.size===void 0?0:parseFloat(n.size);return Math.max(Math.min(C,f.value),m.value)}),m=pt(()=>{const C=parseFloat(n.minSize);return isNaN(C)?0:C}),f=pt(()=>{const C=parseFloat(n.maxSize);return isNaN(C)?100:C}),v=pt(()=>{var C;return`${i.value?"height":"width"}: ${(C=u.value)==null?void 0:C.size}%`});return Lr(()=>d.value,C=>r({uid:l,size:C})),Lr(()=>m.value,C=>r({uid:l,min:C})),Lr(()=>f.value,C=>r({uid:l,max:C})),si(()=>{a({id:l,el:h.value,min:m.value,max:f.value,givenSize:n.size===void 0?null:d.value,size:d.value})}),Zc(()=>s(l)),(C,S)=>(Je(),lt("div",{ref_key:"paneEl",ref:h,class:"splitpanes__pane",onClick:S[0]||(S[0]=x=>$e(o)(x,C._.uid)),style:Rs(v.value)},[hn(C.$slots,"default")],4))}};function xj(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var a=t.indexOf("Edge/");return a>0?parseInt(t.substring(a+5,t.indexOf(".",a)),10):-1}let bp;function g5(){g5.init||(g5.init=!0,bp=xj()!==-1)}var nf={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){g5(),xs(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",bp&&this.$el.appendChild(t),t.data="about:blank",bp||this.$el.appendChild(t)},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&&(!bp&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const wj=U5();F5("data-v-b329ee4c");const Tj={class:"resize-observer",tabindex:"-1"};$5();const Aj=wj((t,e,n,r,a,i)=>(Je(),Jt("div",Tj)));nf.render=Aj;nf.__scopeId="data-v-b329ee4c";nf.__file="src/components/ResizeObserver.vue";function Cp(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Cp=function(e){return typeof e}:Cp=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cp(t)}function _j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mj(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&arguments[2]!==void 0?arguments[2]:{},r,a,i,s=function(l){for(var p=arguments.length,u=new Array(p>1?p-1:0),h=1;h1){var p=o.find(function(h){return h.isIntersecting});p&&(l=p)}if(a.callback){var u=l.isIntersecting&&l.intersectionRatio>=a.threshold;if(u===a.oldResult)return;a.oldResult=u,a.callback(u,l)}},this.options.intersection),xs(function(){a.observer&&a.observer.observe(a.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}}]),t})();function aS(t,e,n){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 a=new Vj(t,r,n);t._vue_visibilityState=a}}function Hj(t,e,n){var r=e.value,a=e.oldValue;if(!oS(r,a)){var i=t._vue_visibilityState;if(!r){lS(t);return}i?i.createObserver(r,n):aS(t,{value:r},n)}}function lS(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}var Dj={beforeMount:aS,updated:Hj,unmounted:lS},Rj={itemsLimit:1e3},jj=/(auto|scroll)/;function cS(t,e){return t.parentNode===null?e:cS(t.parentNode,e.concat([t]))}var Qd=function(e,n){return getComputedStyle(e,null).getPropertyValue(n)},Bj=function(e){return Qd(e,"overflow")+Qd(e,"overflow-y")+Qd(e,"overflow-x")},Fj=function(e){return jj.test(Bj(e))};function m6(t){if(t instanceof HTMLElement||t instanceof SVGElement){for(var e=cS(t.parentNode,[]),n=0;n{this.$_prerender=!1,this.updateVisibleItems(!0),this.ready=!0})},activated(){const t=this.$_lastUpdateScrollPosition;typeof t=="number"&&this.$nextTick(()=>{this.scrollToPosition(t)})},beforeUnmount(){this.removeListeners()},methods:{addView(t,e,n,r,a){const i=R5({id:Wj++,index:e,used:!0,key:r,type:a}),s=Ah({item:n,position:0,nr:i});return t.push(s),s},unuseView(t,e=!1){const n=this.$_unusedViews,r=t.nr.type;let a=n.get(r);a||(a=[],n.set(r,a)),a.push(t),e||(t.nr.used=!1,t.position=-9999)},handleResize(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll(t){if(!this.$_scrollDirty){if(this.$_scrollDirty=!0,this.$_updateTimeout)return;const e=()=>requestAnimationFrame(()=>{this.$_scrollDirty=!1;const{continuous:n}=this.updateVisibleItems(!1,!0);n||(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(t,e){this.ready&&(t||e.boundingClientRect.width!==0||e.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(()=>{this.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems(t,e=!1){const n=this.itemSize,r=this.gridItems||1,a=this.itemSecondarySize||n,i=this.$_computedMinItemSize,s=this.typeField,o=this.simpleArray?null:this.keyField,l=this.items,p=l.length,u=this.sizes,h=this.$_views,d=this.$_unusedViews,m=this.pool,f=this.itemIndexByKey;let v,C,S,x,g;if(!p)v=C=x=g=S=0;else if(this.$_prerender)v=x=0,C=g=Math.min(this.prerender,l.length),S=null;else{const z=this.getScroll();if(e){let F=z.start-this.$_lastUpdateScrollPosition;if(F<0&&(F=-F),n===null&&Fz.start&&($=H),H=~~((N+$)/2);while(H!==R);for(H<0&&(H=0),v=H,S=u[p-1].accumulator,C=H;Cp&&(C=p)),x=v;xp&&(C=p),x<0&&(x=0),g>p&&(g=p),S=Math.ceil(p/r)*n}}C-v>Rj.itemsLimit&&this.itemsLimitError(),this.totalSize=S;let w;const y=v<=this.$_endIndex&&C>=this.$_startIndex;if(y)for(let z=0,G=m.length;z=C)&&this.unuseView(w));const _=y?null:new Map;let T,O,I;for(let z=v;z=W.length)&&(w=this.addView(m,z,T,G,O),this.unuseView(w,!0),W=d.get(O)),w=W[I],_.set(O,I+1)),h.delete(w.nr.key),w.nr.used=!0,w.nr.index=z,w.nr.key=G,w.nr.type=O,h.set(G,w),F=!0;else if(!w.nr.used&&(w.nr.used=!0,F=!0,W)){const N=W.indexOf(w);N!==-1&&W.splice(N,1)}w.item=T,F&&(z===l.length-1&&this.$emit("scroll-end"),z===0&&this.$emit("scroll-start")),n===null?(w.position=u[z-1].accumulator,w.offset=0):(w.position=Math.floor(z/r)*n,w.offset=z%r*a)}return this.$_startIndex=v,this.$_endIndex=C,this.emitUpdate&&this.$emit("update",v,C,x,g),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,this.updateInterval+300),{continuous:y}},getListenerTarget(){let t=m6(this.$el);return window.document&&(t===window.document.documentElement||t===window.document.body)&&(t=window),t},getScroll(){const{$el:t,direction:e}=this,n=e==="vertical";let r;if(this.pageMode){const a=t.getBoundingClientRect(),i=n?a.height:a.width;let s=-(n?a.top:a.left),o=n?window.innerHeight:window.innerWidth;s<0&&(o+=s,s=0),s+o>i&&(o=i-s),r={start:s,end:s+o}}else n?r={start:t.scrollTop,end:t.scrollTop+t.clientHeight}:r={start:t.scrollLeft,end:t.scrollLeft+t.clientWidth};return r},applyPageMode(){this.pageMode?this.addListeners():this.removeListeners()},addListeners(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,b5?{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(t){let e;const n=this.gridItems||1;this.itemSize===null?e=t>0?this.sizes[t-1].accumulator:0:e=Math.floor(t/n)*this.itemSize,this.scrollToPosition(e)},scrollToPosition(t){const e=this.direction==="vertical"?{scroll:"scrollTop",start:"top"}:{scroll:"scrollLeft",start:"left"};let n,r,a;if(this.pageMode){const i=m6(this.$el),s=i.tagName==="HTML"?0:i[e.scroll],o=i.getBoundingClientRect(),p=this.$el.getBoundingClientRect()[e.start]-o[e.start];n=i,r=e.scroll,a=t+s+p}else n=this.$el,r=e.scroll,a=t;n[r]=a},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((t,e)=>t.nr.index-e.nr.index)}}};const qj={key:0,ref:"before",class:"vue-recycle-scroller__slot"},Kj={key:1,ref:"after",class:"vue-recycle-scroller__slot"};function Xj(t,e,n,r,a,i){const s=la("ResizeObserver"),o=Zy("observe-visibility");return Rn((Je(),lt("div",{class:$r(["vue-recycle-scroller",{ready:a.ready,"page-mode":n.pageMode,[`direction-${t.direction}`]:!0}]),onScrollPassive:e[0]||(e[0]=(...l)=>i.handleScroll&&i.handleScroll(...l))},[t.$slots.before?(Je(),lt("div",qj,[hn(t.$slots,"before")],512)):rr("v-if",!0),(Je(),Jt(Po(n.listTag),{ref:"wrapper",style:Rs({[t.direction==="vertical"?"minHeight":"minWidth"]:a.totalSize+"px"}),class:$r(["vue-recycle-scroller__item-wrapper",n.listClass])},{default:zt(()=>[(Je(!0),lt(Vr,null,ws(a.pool,l=>(Je(),Jt(Po(n.itemTag),ks({key:l.nr.id,style:a.ready?{transform:`translate${t.direction==="vertical"?"Y":"X"}(${l.position}px) translate${t.direction==="vertical"?"X":"Y"}(${l.offset}px)`,width:n.gridItems?`${t.direction==="vertical"&&n.itemSecondarySize||n.itemSize}px`:void 0,height:n.gridItems?`${t.direction==="horizontal"&&n.itemSecondarySize||n.itemSize}px`:void 0}:null,class:["vue-recycle-scroller__item-view",[n.itemClass,{hover:!n.skipHover&&a.hoverKey===l.nr.key}]]},e8(n.skipHover?{}:{mouseenter:()=>{a.hoverKey=l.nr.key},mouseleave:()=>{a.hoverKey=null}})),{default:zt(()=>[hn(t.$slots,"default",{item:l.item,index:l.nr.index,active:l.nr.used})]),_:2},1040,["style","class"]))),128)),hn(t.$slots,"empty")]),_:3},8,["style","class"])),t.$slots.after?(Je(),lt("div",Kj,[hn(t.$slots,"after")],512)):rr("v-if",!0),gt(s,{onNotify:i.handleResize},null,8,["onNotify"])],34)),[[o,i.handleVisibilityChange]])}Jm.render=Xj;Jm.__file="src/components/RecycleScroller.vue";var uS=typeof global=="object"&&global&&global.Object===Object&&global,Yj=typeof self=="object"&&self&&self.Object===Object&&self,fa=uS||Yj||Function("return this")(),zo=fa.Symbol,pS=Object.prototype,Jj=pS.hasOwnProperty,Qj=pS.toString,D1=zo?zo.toStringTag:void 0;function Zj(t){var e=Jj.call(t,D1),n=t[D1];try{t[D1]=void 0;var r=!0}catch{}var a=Qj.call(t);return r&&(e?t[D1]=n:delete t[D1]),a}var eB=Object.prototype,tB=eB.toString;function rB(t){return tB.call(t)}var nB="[object Null]",sB="[object Undefined]",g6=zo?zo.toStringTag:void 0;function c1(t){return t==null?t===void 0?sB:nB:g6&&g6 in Object(t)?Zj(t):rB(t)}function Yc(t){return t!=null&&typeof t=="object"}var iB="[object Symbol]";function Qm(t){return typeof t=="symbol"||Yc(t)&&c1(t)==iB}function oB(t,e){for(var n=-1,r=t==null?0:t.length,a=Array(r);++n-1&&t%1==0&&t-1&&t%1==0&&t<=_B}function gS(t){return t!=null&&e4(t.length)&&!fS(t)}var MB=Object.prototype;function PB(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||MB;return t===n}function LB(t,e){for(var n=-1,r=Array(t);++n-1}function HF(t,e){var n=this.__data__,r=sf(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function da(t){var e=-1,n=t==null?0:t.length;for(this.clear();++eo))return!1;var p=i.get(t),u=i.get(e);if(p&&u)return p==e&&u==t;var h=-1,d=!0,m=n&T$?new dh:void 0;for(i.set(t,e),i.set(e,t);++h_S)return!1;let a=!1;const i=Object.keys(t);let s,o;for(let l=0;l_S)return!1;let a=!1,i;for(let s=0;sEU({[o.key]:o.value},n));s.length&&(a[i]=r?r(s):s)}return a}const LS=lr({__name:"NodeTag",props:{tag:{}},setup(t){return(e,n)=>Rn((Je(),lt("span",{style:Rs({color:`#${$e(R6)(t.tag.textColor)}`,backgroundColor:`#${$e(R6)(t.tag.backgroundColor)}`}),class:"ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"},[ln(cn(t.tag.label),1)],4)),[[$e(Es),{content:t.tag.tooltip,html:!0}]])}}),TU={class:"p2"},AU=["onClick"],_U=lr({__name:"SelectiveList",props:Bc({data:{}},{modelValue:{},modelModifiers:{}}),emits:Bc(["select"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Nh(t,"modelValue");function a(i){r.value=i,n("select",i)}return(i,s)=>(Je(),lt("ul",TU,[(Je(!0),lt(Vr,null,ws(t.data,o=>(Je(),lt("li",{key:o.id,class:$r(["selectable-item",{active:o.id===r.value}]),onClick:l=>a(o.id)},[ln(cn(o.label)+" ",1),(Je(!0),lt(Vr,null,ws(o.tags,(l,p)=>(Je(),Jt(LS,{key:p,tag:l},null,8,["tag"]))),128))],10,AU))),128))]))}}),a4=Symbol("VirtualRouteKey"),OS=Symbol("VirtualRoutesKey");function l4(t,e){const n=e?.defaultRoutePath??Pr(t)[0].path,r=xt({path:n}),a=pt(()=>Pr(t)),i=pt(()=>r.value.path),s=lr({setup(){return()=>{const l=a.value.find(p=>p.path===i.value);return l?Ja(l.component):null}}});function o(){r.value.path=n}return Ms(a4,r),Ms(OS,a),{VirtualRouterView:s,restoreRouter:o}}function e2(){const t=zn(a4);return{push(e){t.value.path=e}}}function MU(){const t=zn(OS),e=zn(a4);return{routes:t,currentRoute:e}}const PU={border:"b base",class:"flex items-center justify-between px3"},LU=["href"],OU=["href"],u1=lr({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(t){const e=e2();return(n,r)=>(Je(),lt("div",PU,[Ze("div",null,[hn(n.$slots,"default",{},()=>[Ze("i",{class:"i-ep:back cursor-pointer text-base op70 hover:op100",onClick:r[0]||(r[0]=a=>$e(e).push("/"))})])]),Ze("div",null,[Ze("a",{class:"pr2",href:t.docLink,target:"_blank",title:"View Documentation"},[...r[1]||(r[1]=[Ze("i",{class:"i-clarity:document-line cursor-pointer text-base op70 hover:op100"},null,-1)])],8,LU),t.githubRepoLink?(Je(),lt("a",{key:0,href:t.githubRepoLink,target:"_blank",title:"Star on GitHub"},[...r[2]||(r[2]=[Ze("i",{class:"i-mdi:github cursor-pointer text-base op70 hover:op100"},null,-1)])],8,OU)):rr("",!0)])]))}}),el=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},IU={},kU={class:"h-full flex flex-col items-center justify-center op50"};function zU(t,e){return Je(),lt("div",kU,[e[0]||(e[0]=Ze("i",{class:"i-lets-icons:blank-light"},null,-1)),Ze("span",null,[hn(t.$slots,"default")])])}const Rc=el(IU,[["render",zU]]),NU={class:"flex gap3"},VU=["onClick"],p1=lr({__name:"Navbar",setup(t){const{routes:e,currentRoute:n}=MU(),r=e2();return(a,i)=>(Je(),lt("ul",NU,[(Je(!0),lt(Vr,null,ws($e(e),(s,o)=>(Je(),lt("li",{key:o,class:$r(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100",$e(n).path===s.path?"op-100 font-medium text-primary-400 border-primary-400":"border-transparent op-70"]),onClick:l=>$e(r).push(s.path)},cn(s.name),11,VU))),128))]))}}),c4=lr({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(t){return(e,n)=>(Je(),lt("i",{class:$r(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}}),IS=Symbol("StateEditorSymbol");function HU(t){const e=xt(t);return Ms(IS,e),{context:e}}function u4(){return zn(IS)}function DU(){const t=xt(""),e=xt("string"),n=xt(!1),r=u4();return{editingText:t,editing:n,toggleEditing(a){a&&(e.value=a),n.value=!n.value},editingType:e,nodeId:pt(()=>r.value.nodeId)}}function RU(t,e){if(t==="array")return e.length;const n="newProp";let r=1;for(;;){const a=`${n}${r}`;if(!e[a])return a;r++}}function jU(){const t=xt({enable:!1,key:"",value:"undefined"});function e(r,a){const i=RU(r,a);t.value={enable:!0,key:i.toString(),value:"undefined"}}function n(){t.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:e,resetDrafting:n,draftingNewProp:t}}const kS="expanded-state";function pa(t=""){const e=xt([]);return Ms(`${kS}-${t}`,e),{expanded:e}}function p4(t=""){const e=zn(`${kS}-${t}`,xt([]));function n(r){const a=e.value.indexOf(r);a===-1?e.value.push(r):e.value.splice(a,1)}return{expanded:e,toggleExpanded:n}}function h4(t){return Eh()?(N5(t),!0):!1}const f4=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const BU=t=>typeof t<"u",FU=Object.prototype.toString,$U=t=>FU.call(t)==="[object Object]",T5=()=>{};function zS(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const UU=t=>t();function NS(t,e={}){let n,r,a=T5;const i=o=>{clearTimeout(o),a(),a=T5};let s;return o=>{const l=Pr(t),p=Pr(e.maxWait);return n&&i(n),l<=0||p!==void 0&&p<=0?(r&&(i(r),r=void 0),Promise.resolve(o())):new Promise((u,h)=>{a=e.rejectOnCancel?h:u,s=o,p&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,u(s())},p)),n=setTimeout(()=>{r&&i(r),r=void 0,u(o())},l)})}}function B6(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function GU(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const r=e;e=void 0,r&&await r},n}function Sp(t){return Array.isArray(t)?t:[t]}function WU(t){return Ts()}function F6(t,e=200,n={}){return zS(NS(e,n),t)}function qU(t,e,n={}){const{eventFilter:r=UU,...a}=n;return Lr(t,zS(r,e),a)}function KU(t,e=!0,n){WU()?si(t,n):e?t():xs(t)}function A5(t,e=!1){function n(h,{flush:d="sync",deep:m=!1,timeout:f,throwOnTimeout:v}={}){let C=null;const S=[new Promise(x=>{C=Lr(t,g=>{h(g)!==e&&(C?C():xs(()=>C?.()),x(g))},{flush:d,deep:m,immediate:!0})})];return f!=null&&S.push(B6(f,v).then(()=>Pr(t)).finally(()=>C?.())),Promise.race(S)}function r(h,d){if(!xn(h))return n(g=>g===h,d);const{flush:m="sync",deep:f=!1,timeout:v,throwOnTimeout:C}=d??{};let S=null;const x=[new Promise(g=>{S=Lr([t,h],([w,y])=>{e!==(w===y)&&(S?S():xs(()=>S?.()),g(w))},{flush:m,deep:f,immediate:!0})})];return v!=null&&x.push(B6(v,C).then(()=>Pr(t)).finally(()=>(S?.(),Pr(t)))),Promise.race(x)}function a(h){return n(d=>!!d,h)}function i(h){return r(null,h)}function s(h){return r(void 0,h)}function o(h){return n(Number.isNaN,h)}function l(h,d){return n(m=>{const f=Array.from(m);return f.includes(h)||f.includes(Pr(h))},d)}function p(h){return u(1,h)}function u(h=1,d){let m=-1;return n(()=>(m+=1,m>=h),d)}return Array.isArray(Pr(t))?{toMatch:n,toContains:l,changed:p,changedTimes:u,get not(){return A5(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:i,toBeNaN:o,toBeUndefined:s,changed:p,changedTimes:u,get not(){return A5(t,!e)}}}function VS(t){return A5(t)}function XU(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=Gr(!1);let s;function o(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,o()}function p(...u){a&&t(),o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},Pr(e))}return r&&(i.value=!0,f4&&p()),h4(l),{isPending:Bu(i),start:p,stop:l}}function HS(t=!1,e={}){const{truthyValue:n=!0,falsyValue:r=!1}=e,a=xn(t),i=Gr(t);function s(o){if(arguments.length)return i.value=o,i.value;{const l=Pr(n);return i.value=i.value===l?Pr(r):l,i.value}}return a?s:[i,s]}function DS(t,e,n={}){const{debounce:r=0,maxWait:a=void 0,...i}=n;return qU(t,e,{...i,eventFilter:NS(r,{maxWait:a})})}function YU(t,e,n){return Lr(t,e,{...n,immediate:!0})}const t2=f4?window:void 0,RS=f4?window.navigator:void 0;function wl(t){var e;const n=Pr(t);return(e=n?.$el)!=null?e:n}function Ao(...t){const e=[],n=()=>{e.forEach(o=>o()),e.length=0},r=(o,l,p,u)=>(o.addEventListener(l,p,u),()=>o.removeEventListener(l,p,u)),a=pt(()=>{const o=Sp(Pr(t[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),i=YU(()=>{var o,l;return[(l=(o=a.value)==null?void 0:o.map(p=>wl(p)))!=null?l:[t2].filter(p=>p!=null),Sp(Pr(a.value?t[1]:t[0])),Sp($e(a.value?t[2]:t[1])),Pr(a.value?t[3]:t[2])]},([o,l,p,u])=>{if(n(),!o?.length||!l?.length||!p?.length)return;const h=$U(u)?{...u}:u;e.push(...o.flatMap(d=>l.flatMap(m=>p.map(f=>r(d,m,f,h)))))},{flush:"post"}),s=()=>{i(),n()};return h4(n),s}function JU(){const t=Gr(!1),e=Ts();return e&&si(()=>{t.value=!0},e),t}function d4(t){const e=JU();return pt(()=>(e.value,!!t()))}function QU(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function R1(...t){let e,n,r={};t.length===3?(e=t[0],n=t[1],r=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],r=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:a=t2,eventName:i="keydown",passive:s=!1,dedupe:o=!1}=r,l=QU(e);return Ao(a,i,p=>{p.repeat&&Pr(o)||l(p)&&n(p)},s)}function $6(t,e={}){const{controls:n=!1,navigator:r=RS}=e,a=d4(()=>r&&"permissions"in r),i=Gr(),s=typeof t=="string"?{name:t}:t,o=Gr(),l=()=>{var u,h;o.value=(h=(u=i.value)==null?void 0:u.state)!=null?h:"prompt"};Ao(i,"change",l,{passive:!0});const p=GU(async()=>{if(a.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return gn(i.value)}});return p(),n?{state:o,isSupported:a,query:p}:o}function ZU(t={}){const{navigator:e=RS,read:n=!1,source:r,copiedDuring:a=1500,legacy:i=!1}=t,s=d4(()=>e&&"clipboard"in e),o=$6("clipboard-read"),l=$6("clipboard-write"),p=pt(()=>s.value||i),u=Gr(""),h=Gr(!1),d=XU(()=>h.value=!1,a,{immediate:!1});async function m(){let x=!(s.value&&S(o.value));if(!x)try{u.value=await e.clipboard.readText()}catch{x=!0}x&&(u.value=C())}p.value&&n&&Ao(["copy","cut"],m,{passive:!0});async function f(x=Pr(r)){if(p.value&&x!=null){let g=!(s.value&&S(l.value));if(!g)try{await e.clipboard.writeText(x)}catch{g=!0}g&&v(x),u.value=x,h.value=!0,d.start()}}function v(x){const g=document.createElement("textarea");g.value=x??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function C(){var x,g,w;return(w=(g=(x=document?.getSelection)==null?void 0:x.call(document))==null?void 0:g.toString())!=null?w:""}function S(x){return x==="granted"||x==="prompt"}return{isSupported:p,text:u,copied:h,copy:f}}function eG(t){return JSON.parse(JSON.stringify(t))}function tG(t,e,n={}){const{window:r=t2,...a}=n;let i;const s=d4(()=>r&&"ResizeObserver"in r),o=()=>{i&&(i.disconnect(),i=void 0)},l=pt(()=>{const h=Pr(t);return Array.isArray(h)?h.map(d=>wl(d)):[wl(h)]}),p=Lr(l,h=>{if(o(),s.value&&r){i=new ResizeObserver(e);for(const d of h)d&&i.observe(d,a)}},{immediate:!0,flush:"post"}),u=()=>{o(),p()};return h4(u),{isSupported:s,stop:u}}function rG(t,e={width:0,height:0},n={}){const{window:r=t2,box:a="content-box"}=n,i=pt(()=>{var h,d;return(d=(h=wl(t))==null?void 0:h.namespaceURI)==null?void 0:d.includes("svg")}),s=Gr(e.width),o=Gr(e.height),{stop:l}=tG(t,([h])=>{const d=a==="border-box"?h.borderBoxSize:a==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(r&&i.value){const m=wl(t);if(m){const f=m.getBoundingClientRect();s.value=f.width,o.value=f.height}}else if(d){const m=Sp(d);s.value=m.reduce((f,{inlineSize:v})=>f+v,0),o.value=m.reduce((f,{blockSize:v})=>f+v,0)}else s.value=h.contentRect.width,o.value=h.contentRect.height},n);KU(()=>{const h=wl(t);h&&(s.value="offsetWidth"in h?h.offsetWidth:e.width,o.value="offsetHeight"in h?h.offsetHeight:e.height)});const p=Lr(()=>wl(t),h=>{s.value=h?e.width:0,o.value=h?e.height:0});function u(){l(),p()}return{width:s,height:o,stop:u}}const nG={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function sG(t={}){const{reactive:e=!1,target:n=t2,aliasMap:r=nG,passive:a=!0,onEventFired:i=T5}=t,s=po(new Set),o={toJSON(){return{}},current:s},l=e?po(o):o,p=new Set,u=new Set,h=new Set;function d(C,S){C in l&&(e?l[C]=S:l[C].value=S)}function m(){s.clear();for(const C of h)d(C,!1)}function f(C,S){var x,g;const w=(x=C.key)==null?void 0:x.toLowerCase(),y=[(g=C.code)==null?void 0:g.toLowerCase(),w].filter(Boolean);w&&(S?s.add(w):s.delete(w));for(const _ of y)h.add(_),d(_,S);if(w==="shift"&&!S){const _=Array.from(u),T=_.indexOf("shift");_.forEach((O,I)=>{I>=T&&(s.delete(O),d(O,!1))}),u.clear()}else typeof C.getModifierState=="function"&&C.getModifierState("Shift")&&S&&[...s,...y].forEach(_=>u.add(_));w==="meta"&&!S?(p.forEach(_=>{s.delete(_),d(_,!1)}),p.clear()):typeof C.getModifierState=="function"&&C.getModifierState("Meta")&&S&&[...s,...y].forEach(_=>p.add(_))}Ao(n,"keydown",C=>(f(C,!0),i(C)),{passive:a}),Ao(n,"keyup",C=>(f(C,!1),i(C)),{passive:a}),Ao("blur",m,{passive:a}),Ao("focus",m,{passive:a});const v=new Proxy(l,{get(C,S,x){if(typeof S!="string")return Reflect.get(C,S,x);if(S=S.toLowerCase(),S in r&&(S=r[S]),!(S in l))if(/[+_-]/.test(S)){const w=S.split(/[+_-]/g).map(y=>y.trim());l[S]=pt(()=>w.map(y=>Pr(v[y])).every(Boolean))}else l[S]=Gr(!1);const g=Reflect.get(C,S,x);return e?Pr(g):g}});return v}function iG(t,e,n,r={}){var a,i,s;const{clone:o=!1,passive:l=!1,eventName:p,deep:u=!1,defaultValue:h,shouldEmit:d}=r,m=Ts(),f=n||m?.emit||((a=m?.$emit)==null?void 0:a.bind(m))||((s=(i=m?.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(m?.proxy));let v=p;v=v||`update:${e.toString()}`;const C=g=>o?typeof o=="function"?o(g):eG(g):g,S=()=>BU(t[e])?C(t[e]):h,x=g=>{d?d(g)&&f(v,g):f(v,g)};if(l){const g=S(),w=xt(g);let y=!1;return Lr(()=>t[e],_=>{y||(y=!0,w.value=C(_),xs(()=>y=!1))}),Lr(w,_=>{!y&&(_!==t[e]||u)&&x(_)},{deep:u}),w}else return pt({get(){return S()},set(g){x(g)}})}function oG(t,e={}){const{enter:n=()=>{},leave:r=()=>{},initial:a=!1}=e,i=xt(a);return Ao(t,"mouseenter",()=>{i.value=!0,n()}),Ao(t,"mouseleave",()=>{i.value=!1,r()}),{isHovering:i}}const aG={class:"flex pl5px"},lG={class:"w160px py5px"},cG=lr({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(t){const e=t,n=u4(),{copy:r,isSupported:a}=ZU(),i=xt(!1),s=pt(()=>Em(e.data.value)),o=pt(()=>s.value.value),l=pt(()=>s.value.customType),p=pt(()=>o.value===null?"null":typeof o.value),u={flat:!0,size:"mini"},h=pt(()=>({"opacity-0":!e.hovering}));async function d(f,v=!1){await Yt.value.editInspectorState({path:e.data.path||[e.data.key],inspectorId:n.value.inspectorId,type:e.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:gn(f),type:p.value,remove:v}}),await Yt.value.sendInspectorState(n.value.inspectorId)}function m(f,v){const C=typeof f=="number"?f+v:BigInt(f)+BigInt(v);d(C)}return(f,v)=>(Je(),lt("div",aG,[!e.disableEdit&&t.data.editable?(Je(),lt(Vr,{key:0},[p.value==="string"||p.value==="number"||p.value==="object"||p.value==="null"?(Je(),lt(Vr,{key:0},[Rn((Je(),Jt($e(Ss),ks(u,{class:h.value,onClick:v[0]||(v[0]=io(C=>f.$emit("enableEditInput",p.value),["stop"]))}),{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[$e(Es),{content:"Edit value"}]]),p.value==="object"&&t.showAddIfNeeded?Rn((Je(),Jt($e(Ss),ks({key:0},u,{class:h.value,onClick:v[1]||(v[1]=io(C=>f.$emit("addNewProp",Array.isArray(o.value)?"array":"object"),["stop"]))}),{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[$e(Es),{content:"Add new value"}]]):rr("",!0)],64)):rr("",!0),p.value==="boolean"?(Je(),Jt($e(Ss),ks({key:1},u,{class:h.value,onClick:v[2]||(v[2]=C=>d(!o.value))}),{icon:zt(()=>[gt($e(_s),{icon:o.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):p.value==="number"||l.value==="bigint"?(Je(),lt(Vr,{key:2},[gt($e(Ss),ks(u,{class:h.value,onClick:v[3]||(v[3]=io(C=>m(o.value,1),["stop"]))}),{icon:zt(()=>[gt($e(_s),{icon:"i-carbon-add"})]),_:1},16,["class"]),gt($e(Ss),ks(u,{class:h.value,onClick:v[4]||(v[4]=io(C=>m(o.value,-1),["stop"]))}),{icon:zt(()=>[gt($e(_s),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):rr("",!0)],64)):rr("",!0),!e.disableEdit&&t.depth>0&&t.data.editable?(Je(),Jt($e(Ss),ks({key:1},u,{class:h.value,onClick:v[5]||(v[5]=io(C=>d(o.value,!0),["stop"]))}),{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):rr("",!0),gt($e(zu),{class:$r({"opacity-0":!t.hovering&&!i.value}),"button-props":{flat:!0,size:"mini"},disabled:!$e(a),"onUpdate:visible":v[8]||(v[8]=C=>i.value=C)},{popper:zt(()=>[Ze("div",lG,[gt($e(o6),{onClick:v[6]||(v[6]=C=>$e(r)(typeof o.value=="object"?JSON.stringify(o.value):o.value.toString()))},{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[9]||(v[9]=ln(" Copy Value ",-1))]),_:1}),gt($e(o6),{onClick:v[7]||(v[7]=()=>{$e(r)(t.data.key)})},{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),v[10]||(v[10]=ln(" Copy Path ",-1))]),_:1})])]),"button-icon":zt(()=>[gt($e(_s),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),uG={class:"flex-inline items-center gap4px"},r0=lr({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>n.customType==="date"?"datetime-local":""),{escape:i,enter:s}=sG();ti(()=>{i.value?r("cancel"):s.value&&r("submit")});const o=iG(n,"modelValue",r);function l(u){try{return fp(u,n.customType),!0}catch{return!1}}const p=xt(!1);return Lr(o,Pl(()=>{p.value=!l(o.value)},300)),(u,h)=>(Je(),lt("span",uG,[gt($e(ko),{modelValue:$e(o),"onUpdate:modelValue":h[0]||(h[0]=d=>xn(o)?o.value=d:null),type:a.value,variant:p.value?"warning":"normal",class:$r(["h25px px4px",t.customType==="date"?"w240px":"w120px"]),"auto-focus":t.autoFocus,onClick:h[1]||(h[1]=io(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),t.showActions?(Je(),lt(Vr,{key:0},[Rn((Je(),Jt($e(Ss),{size:"mini",flat:"",class:"p2px!",onClick:h[2]||(h[2]=io(d=>u.$emit("cancel"),["stop"]))},{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-cancel"})]),_:1})),[[$e(Es),{content:"Esc to cancel"}]]),p.value?Rn((Je(),Jt($e(_s),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[$e(Es),{content:"Invalid value"}]]):Rn((Je(),Jt($e(Ss),{key:0,size:"mini",flat:"",class:"p2px!",onClick:h[3]||(h[3]=io(d=>u.$emit("submit"),["stop"]))},{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-save"})]),_:1})),[[$e(Es),{content:"Enter to submit change"}]])],64)):rr("",!0)]))}}),pG={key:1,pl5:""},hG={"whitespace-nowrap":"","text-purple-700":"",op70:"","dark:text-purple-300":""},fG=["innerHTML"],dG={key:0},mG={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},U6=30,gG=lr({__name:"StateFieldViewer",props:{data:{},depth:{},index:{},expandedStateId:{}},setup(t){const e=t,n=xt(U6),r=pt(()=>M7(e.data.value,!1,{customClass:{string:"max-w-120 truncate"}})),a=pt(()=>bu(e.data.value)),i=pt(()=>Em(e.data.value)),{expanded:s,toggleExpanded:o}=p4(e.expandedStateId??""),l=pt(()=>a.value==="custom"?`${e.data.value._custom?.type??"string"}-custom-state`:"unknown-state-type"),p=pt(()=>{const{value:F}=i.value;return bg(F)?F.length:yg(F)?Object.keys(F).length:0}),u=pt(()=>e.data.path||[e.data.key]),h=pt(()=>u.value[u.value.length-1]),d=pt(()=>{const F=["Reactive"],N=e.data.value?._custom?.stateTypeName||e.data?.stateTypeName;if(F.includes(N))return N;if(e.data.value?.fields?.abstract)return"";{const $=e.data.value?._custom?.type,H=a.value==="custom"&&!$?`"${r.value}"`:r.value===""?'""':r.value,R=a.value==="custom"&&$==="ref"?bu(H):a.value,K=a.value==="string"?"select-text":"",ie=`${H}`;return N?`${ie} (${N})`:ie}}),m=pt(()=>{const{value:F,inherit:N,customType:$}=i.value,H=$==="set";let R=[];return bg(F)?F.slice(0,n.value).map((K,ie)=>({key:ie.toString(),path:[...u.value,ie.toString()],value:K,...N,editable:e.data.editable&&!H,creating:!1})):(yg(F)&&(R=Object.keys(F).slice(0,n.value).map(K=>({key:K,path:[...u.value,K],value:F[K],...N,editable:e.data.editable&&!H,creating:!1})),a.value!=="custom"&&(R=ty(R))),R===e.data.value?[]:R)}),f=pt(()=>m.value.length>0),v=xt(),C=u4(),{isHovering:S}=oG(()=>v.value),{editingType:x,editing:g,editingText:w,toggleEditing:y,nodeId:_}=DU();Lr(()=>g.value,F=>{if(F){const{value:N}=i.value;w.value=TP(N,i.value.customType)}else w.value=""});async function T(){const F=e.data;await Yt.value.editInspectorState({path:u.value,inspectorId:C.value.inspectorId,type:F.stateType,nodeId:_.value,state:{newKey:null,type:x.value,value:fp(w.value,i.value.customType)}}),await Yt.value.sendInspectorState(C.value.inspectorId),y()}const{addNewProp:O,draftingNewProp:I,resetDrafting:z}=jU();function G(F){const N=`${e.depth}-${e.index}`;s.value.includes(N)||o(N),O(F,i.value.value)}async function W(){const F=e.data;await Yt.value.editInspectorState({path:[...u.value,I.value.key],inspectorId:C.value.inspectorId,type:F.stateType,nodeId:_.value,state:{newKey:I.value.key,type:typeof fp(I.value.value),value:fp(I.value.value)}}),await Yt.value.sendInspectorState(C.value.inspectorId),z()}return(F,N)=>(Je(),lt("div",null,[Ze("div",{ref_key:"containerRef",ref:v,class:$r(["font-state-field flex items-center text-3.5",[f.value&&"cursor-pointer hover:bg-active"]]),style:Rs({paddingLeft:`${t.depth*15+4}px`}),onClick:N[1]||(N[1]=$=>$e(o)(`${t.depth}-${t.index}`))},[f.value?(Je(),Jt(c4,{key:0,value:$e(s).includes(`${t.depth}-${t.index}`)},null,8,["value"])):(Je(),lt("span",pG)),Ze("span",hG,cn(h.value),1),N[5]||(N[5]=Ze("span",{mx1:""},":",-1)),$e(g)?(Je(),Jt(r0,{key:2,modelValue:$e(w),"onUpdate:modelValue":N[0]||(N[0]=$=>xn(w)?w.value=$:null),class:"mr-1","custom-type":i.value.customType,onCancel:$e(y),onSubmit:T},null,8,["modelValue","custom-type","onCancel"])):rr("",!0),Ze("span",{class:$r([l.value,"flex whitespace-nowrap dark:text-#bdc6cf"])},[Ze("span",{class:"flex",innerHTML:d.value},null,8,fG)],2),gt(cG,{hovering:$e(S),"disable-edit":$e(C).disableEdit||$e(g),data:t.data,depth:t.depth,onEnableEditInput:$e(y),onAddNewProp:G},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),f.value&&$e(s).includes(`${t.depth}-${t.index}`)?(Je(),lt("div",dG,[gt(jS,{data:m.value,depth:t.depth,index:t.index},null,8,["data","depth","index"]),p.value>n.value?Rn((Je(),Jt($e(Ss),{key:0,flat:"",size:"mini",class:"ml-4",onClick:N[2]||(N[2]=$=>n.value+=U6)},{icon:zt(()=>[gt($e(_s),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[$e(Es),"Show more"]]):rr("",!0),$e(I).enable?(Je(),lt("div",{key:1,style:Rs({paddingLeft:`${(t.depth+1)*15+4}px`})},[Ze("span",mG,[gt(r0,{modelValue:$e(I).key,"onUpdate:modelValue":N[3]||(N[3]=$=>$e(I).key=$),"show-actions":!1},null,8,["modelValue"])]),N[6]||(N[6]=Ze("span",{"mx-1":""},":",-1)),gt(r0,{modelValue:$e(I).value,"onUpdate:modelValue":N[4]||(N[4]=$=>$e(I).value=$),"auto-focus":!1,onCancel:$e(z),onSubmit:W},null,8,["modelValue","onCancel"])],4)):rr("",!0)])):rr("",!0)]))}}),vG=el(gG,[["__scopeId","data-v-7918b8f2"]]),jS=lr({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{},expandedStateId:{default:""}},setup(t){return(e,n)=>(Je(),lt("div",null,[(Je(!0),lt(Vr,null,ws(t.data,(r,a)=>(Je(),lt("div",{key:a},[gt(vG,{data:r,depth:t.depth+1,index:`${t.index}-${a}`,"expanded-state-id":t.expandedStateId},null,8,["data","depth","index","expanded-state-id"])]))),128))]))}}),yG=["onClick"],bG={key:1,pl5:""},CG={"font-state-field":"","text-3.5":"","text-hex-a3a3a3":""},SG={key:0},r2=lr({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1},expandedStateId:{default:""}},setup(t){const e=t;function n(){return{nodeId:e.nodeId,inspectorId:e.inspectorId,disableEdit:e.disableEdit}}const{context:r}=HU(n());ti(()=>{r.value=n()});const{expanded:a,toggleExpanded:i}=p4(e.expandedStateId);return(s,o)=>(Je(),lt("div",null,[(Je(!0),lt(Vr,null,ws(t.data,(l,p,u)=>(Je(),lt("div",{key:u},[Ze("div",{class:$r(["flex items-center",[l?.length&&"cursor-pointer hover:bg-active"]]),onClick:h=>$e(i)(`${u}`)},[l?.length?(Je(),Jt(c4,{key:0,value:$e(a).includes(`${u}`)},null,8,["value"])):(Je(),lt("span",bG)),Ze("span",CG,cn(p),1)],10,yG),l?.length&&$e(a).includes(`${u}`)?(Je(),lt("div",SG,[gt(jS,{data:l,index:`${u}`,"expanded-state-id":t.expandedStateId},null,8,["data","index","expanded-state-id"])])):rr("",!0)]))),128))]))}}),EG={class:"p3"},xG=["onClick"],wG={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},TG={class:"h-full flex items-center truncate pl5"},AG={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},_G={pl2:"",op30:""},MG=lr({__name:"EventList",props:Bc({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,n=Nh(t,"modelValue"),r=["#3e5770","#42b983","#0098c4"],a=xt(null),i=pt(()=>{let s=-1,o=0;return e.data.forEach((l,p)=>{(l.groupId!==o||s===-1)&&(s=(s+1)%r.length),o=l.groupId??o,l.id=p,l.color=r[s]}),e.data});return Lr(()=>i.value.length,s=>{a.value?.scrollToItem(s-1)},{flush:"post"}),(s,o)=>(Je(),lt("div",EG,[gt($e(Jm),{ref_key:"scrollerRef",ref:a,items:i.value,"min-item-size":52,"key-field":"id","page-mode":"","item-tag":"li","list-tag":"ul",buffer:20},{default:zt(({item:l})=>[Ze("div",{class:"relative mb7 h6 cursor-pointer",style:Rs({color:n.value===l.id?l.color:""}),onClick:p=>n.value=l.id},[Ze("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:Rs({border:`3px solid ${l.color}`})},null,4),l.ido.timelineLayersState.value?.[n.pluginId]),p=pt(()=>a.value[s.value]??null),u=pt(()=>l.value?"Stop recording":"Start recording"),h=pt(()=>{const x=[];for(const g in p.value?.data)x.push({key:g,type:g,editable:!1,value:p.value.data[g]});return x}),d=pt(()=>{const x=p.value?.groupId,g=i.value.get(x);if(g){const w=g[g.length-1]?.time-(g[0]?.time??0);return[{key:"events",type:"events",editable:!1,value:g.length},w&&{key:"duration",type:"duration",editable:!1,value:`${w}ms`}].filter(Boolean)}}),m=pt(()=>({"Event Info":h.value,...d.value&&{"Group Info":d.value}}));function f(x){const g=x.groupId;g!==void 0&&(i.value.set(g,i.value.get(g)??[]),i.value.get(g)?.push(x))}function v(x){const g=ri(x);if(!g)return;const{layerId:w,event:y}=g;n.layerIds.includes(w)&&(a.value.push(y),f(y))}Yt.functions.on(Ln.TIMELINE_EVENT_UPDATED,v),fi(()=>{Yt.functions.off(Ln.TIMELINE_EVENT_UPDATED,v)});function C(){a.value=[],i.value.clear()}e({clear:C});function S(){Yt.value.updateTimelineLayersState({[n.pluginId]:!l.value})}return(x,g)=>(Je(),lt("div",PG,[t.headerVisible?(Je(),Jt(u1,{key:0,"doc-link":t.docLink,"github-repo-link":t.githubRepoLink},{default:zt(()=>[gt(p1)]),_:1},8,["doc-link","github-repo-link"])):rr("",!0),a.value.length?(Je(),lt("div",LG,[gt($e(l1),{class:"h-full"},{default:zt(()=>[gt($e(Ri),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",OG,[gt(MG,{modelValue:s.value,"onUpdate:modelValue":g[0]||(g[0]=w=>s.value=w),data:a.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Ri),{size:"60"},{default:zt(()=>[Ze("div",IG,[gt(r2,{class:"p3",data:m.value,"node-id":"","inspector-id":"","disable-edit":!0,"expanded-state-id":"timeline-state"},null,8,["data"])])]),_:1})]),_:1})])):(Je(),Jt(Rc,{key:2,class:"flex-1"},{default:zt(()=>[...g[1]||(g[1]=[ln(" No events ",-1)])]),_:1})),t.switcherVisible?(Je(),lt("div",kG,[Ze("div",zG,[Rn((Je(),lt("div",{class:"flex items-center gap1",onClick:S},[l.value?(Je(),lt("span",NG)):(Je(),lt("span",VG))])),[[$e(Es),{content:u.value},void 0,{"bottom-end":!0}]]),Rn((Je(),lt("div",{class:"flex items-center gap1",onClick:C},[gt($e(Nu),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Es),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),Rn((Je(),lt("div",HG,[gt($e(Nu),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[$e(Es),{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}]])])])):rr("",!0)]))}}),m4=el(DG,[["__scopeId","data-v-3dbcfd2a"]]);function RG(){const t=xt([]),e=xt([]);function n(a){e.value=a,a.length{r(i)})}ta(()=>{Yt.value.getCustomInspector().then(a=>{e.value=a,e.value.forEach(i=>{r(i)})}),Yt.functions.on(Ln.INSPECTOR_UPDATED,n)});function r(a){t.value.some(i=>i.id===a.id)||t.value.push(a)}return fi(()=>{Yt.functions.off(Ln.INSPECTOR_UPDATED,n)}),{registeredInspector:t,register:r}}const BS=Symbol("SelectedSymbolKey");function jG(){const t=xt("");return Ms(BS,t),{selected:t}}function BG(){const t=zn(BS,xt(""));function e(n){t.value=n}return{selected:t,select:e}}const FG=["onClick","onDblclick","onMouseover"],$G={key:1,pl5:""},UG={"font-state-field":"","text-3.5":""},GG={key:0,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},WG={"group-hover:text-white":"",class:"ws-nowrap [.active_&]:text-white"},qG={key:2,class:"text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"},KG={key:2,class:"ml-2 rounded-sm bg-blue-400 px-1 text-[0.75rem] leading-snug dark:bg-blue-800"},XG={key:3,class:"ml-2 rounded-sm bg-gray-500 px-1 text-[0.75rem] leading-snug"},YG={key:0},n2=lr({__name:"TreeViewer",props:Bc({data:{},depth:{default:0},withTag:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:Bc(["hover","leave"],["update:modelValue"]),setup(t,{emit:e}){const n=e,r=Nh(t,"modelValue"),{expanded:a,toggleExpanded:i}=p4();BG();function s(l){return"name"in l&&l?.name||"label"in l&&l.label}function o(l){r.value=l}return(l,p)=>(Je(!0),lt(Vr,null,ws(t.data,(u,h)=>(Je(),lt("div",{key:h,class:$r({"min-w-max":t.depth===0})},[Ze("div",{class:$r(["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:Rs({paddingLeft:`${15*t.depth+4}px`}),onClick:d=>o(u.id),onDblclick:d=>$e(i)(u.id),onMouseover:()=>n("hover",u.id),onMouseleave:p[0]||(p[0]=()=>n("leave"))},[u?.children?.length?(Je(),Jt(c4,{key:0,value:$e(a).includes(u.id),class:"[.active_&]:op20 group-hover:op20",onClick:io(d=>$e(i)(u.id),["stop"])},null,8,["value","onClick"])):(Je(),lt("span",$G)),Ze("span",UG,[t.withTag?(Je(),lt("span",GG,"<")):rr("",!0),Ze("span",WG,cn(s(u)),1),(u.renderKey===0||u.renderKey)&&u.renderKey!==$e(t1)?(Je(),lt("span",{key:1,class:$r(["text-xs opacity-50",{"opacity-100":r.value===u.id}])},[Ze("span",{class:$r([r.value===u.id?"text-purple-200":"text-purple-500"])}," key",2),p[4]||(p[4]=ln("=",-1)),Ze("span",null,cn(u.renderKey),1)],2)):rr("",!0),t.withTag?(Je(),lt("span",qG,">")):rr("",!0)]),u.isFragment?Rn((Je(),lt("span",KG,[...p[5]||(p[5]=[ln(" fragment ",-1)])])),[[$e(Es),"Has multiple root DOM nodes"]]):rr("",!0),u.inactive?Rn((Je(),lt("span",XG,[...p[6]||(p[6]=[ln(" inactive ",-1)])])),[[$e(Es),"Currently inactive but not destroyed"]]):rr("",!0),(Je(!0),lt(Vr,null,ws(u.tags,(d,m)=>(Je(),Jt(LS,{key:m,tag:d},null,8,["tag"]))),128))],46,FG),u?.children?.length&&$e(a).includes(u.id)?(Je(),lt("div",YG,[gt(n2,{modelValue:r.value,"onUpdate:modelValue":p[1]||(p[1]=d=>r.value=d),data:u?.children,depth:t.depth+1,"with-tag":t.withTag,onHover:p[2]||(p[2]=d=>n("hover",d)),onLeave:p[3]||(p[3]=d=>n("leave"))},null,8,["modelValue","data","depth","with-tag"])])):rr("",!0)],2))),128))}}),G6=200;function JG(){return{highlight:F6(t=>Yt.value.highlighComponent(t),G6),unhighlight:F6(()=>Yt.value.unhighlight(),G6)}}const QG={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"},ZG={class:"flex-1 overflow-scroll text-3.5"},eW=lr({__name:"RenderCode",props:{code:{}},emits:["close"],setup(t,{emit:e}){const n=e;function r(){n("close")}return(a,i)=>(Je(),lt("div",QG,[Ze("div",{class:"h-12 w-full flex items-center justify-between p-2"},[i[0]||(i[0]=Ze("span",{class:"font-500"},"Render Code",-1)),Ze("i",{class:"i-carbon-close cursor-pointer hover:op80",onClick:r})]),Ze("div",ZG,[gt($e(iR),{code:t.code,lang:"javascript"},null,8,["code"])])]))}}),tW={class:"h-full w-full"},rW={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},nW={key:0,class:"h-full flex flex-col p2"},sW={class:"flex py2"},iW={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"},oW={class:"h-full flex flex-col p2"},aW={class:"flex py2"},lW={key:0,class:"font-state-field flex items-center px-1 text-3.5"},cW={"group-hover:text-white":"",class:"max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"},uW={class:"flex items-center gap-2 px-1"},pW={class:"h-full flex flex-col items-center justify-center gap-2"},hW={class:"block"},fW={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"},dW={class:"flex items-center justify-center"},j1="components",mW=lr({__name:"index",emits:["openInEditor","onInspectComponentStart","onInspectComponentEnd"],setup(t,{emit:e}){const n=e,r=xt(),a=xt(!1),{width:i}=rG(r),s=pt(()=>a.value?i.value<700:!1),o=xt(""),l=xt(""),[p,u]=HS(!0),h=xt(!1),d=xt(!1),m=xt(""),f=xt(!1),v=JG();function C(ee,k=[],j=[]){return k.push(ee.id),ee.children?.length===0&&j.push([...k]),Array.isArray(ee.children)&&ee.children.forEach(J=>{C(J,k,j)}),k.pop(),j}function S(ee){const k=[],j=J=>{J?.forEach(Te=>{k.push(Te),Te.children?.length&&j(Te.children)})};return j(ee),k}function x(ee,k){const j=[];return ee?.forEach(J=>{j.push(...J.slice(0,k+1))}),[...new Set(j)]}function g(ee,k){const j=[];return ee.forEach(J=>{const Te=J.indexOf(k);Te!==-1&&j.push(...J.slice(0,Te+1))}),[...new Set(j)]}const w=xt([]),y=pt(()=>w.value?.length?C(w.value?.[0]):[]),_=pt(()=>S(w.value)),T=pt(()=>_.value.map(ee=>ee.id)),O=xt({}),I=xt(""),z=pt(()=>{const ee=[],k=j=>{j.forEach(J=>{J.id===I.value&&ee.push(J),J.children?.length&&k(J.children)})};return k(w.value),ee[0]}),G=pt(()=>z.value?.file??""),W=pt(()=>o4({state:O.value,filterKey:l.value,processGroup(ee){return e$(Object.values(CU(ty(ee),"stateType")))}})),{expanded:F}=pa(),{expanded:N}=pa("component-state");jG();async function $(ee=""){return Yt.value.getInspectorTree({inspectorId:j1,filter:ee}).then(k=>{const j=ri(k);w.value=j,I.value=w.value?.[0]?.id,F.value=x(y.value,1),h.value=!0})}function H(ee){if(!ee||!ee?.state)return{};const k={};return ee.state.forEach(j=>{k[j.type]||(k[j.type]=[]),k[j.type].push(j)}),k}function R(ee){Yt.value.getInspectorState({inspectorId:j1,nodeId:ee}).then(k=>{const j=ri(k);j&&(O.value=H(j),N.value=Array.from({length:Object.keys(O.value).length},(J,Te)=>`${Te}`))})}Lr(I,ee=>{R(ee),f.value&&Se()});function K(ee){const k=ri(ee);k.inspectorId!==j1||k.nodeId!==I.value||(O.value=H({state:k.state.state}))}Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,K),$();function ie(ee){const k=ee.trim().toLowerCase();u(),$(k).then(()=>{u()})}DS(o,ee=>{ie(ee)},{debounce:300});function he(ee){const k=ri(ee);k.inspectorId===j1&&(o.value?ie(o.value):w.value=k.rootNodes,T.value.includes(I.value)||(I.value=w.value?.[0]?.id,F.value=x(y.value,1)))}Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,he),fi(()=>{Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,K),Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,he)});const Le=Dl(),X=pt(()=>Le.appRecords.value.map(ee=>({label:ee.name+(ee.version?` (${ee.version})`:""),value:ee.id,iframe:ee.iframe}))),Q=pt(()=>X.value.map(ee=>({label:ee.label+(ee.iframe?` (iframe: ${ee.iframe})`:""),id:ee.value}))),fe=xt(Le.activeAppRecordId.value);ti(()=>{fe.value=Le.activeAppRecordId.value});async function Ce(ee,k={}){await Yt.value.toggleApp(ee,k),I.value="",await $()}async function Me(){d.value=!0,n("onInspectComponentStart");try{const ee=JSON.parse(await Yt.value.inspectComponentInspector()),k=ee.id.split(":")[0];fe.value!==ee.appId&&await Ce(k,{inspectingComponent:!0}),I.value=ee.id,F.value.includes(ee.id)||F.value.push(ee.id),F.value=[...new Set([...F.value,...g(y.value,ee.id)])],xe()}finally{d.value=!1,n("onInspectComponentEnd")}}function ue(){d.value=!1,Yt.value.cancelInspectComponentInspector()}Ao("keydown",ee=>{ee.key==="s"&&(ee.ctrlKey||ee.metaKey)&&!d.value?Me():ee.key==="Escape"&&d.value&&ue()}),R1("ArrowRight",()=>{const ee=F.value.includes(I.value),k=_.value.find(j=>j.id===I.value)?.children?.length;!ee&&k&&F.value.push(I.value)}),R1("ArrowLeft",()=>{F.value.includes(I.value)&&F.value.splice(F.value.indexOf(I.value),1)}),R1("ArrowDown",()=>{const ee=T.value.indexOf(I.value);if(F.value.includes(I.value)&&ee>=0&&ee{const ee=I.value,k=y.value.find(Pe=>Pe.includes(ee));if(!k)return;const j=k.indexOf(ee),J=j>0?j-1:0,Te=k[J],Ie=ae(Te);Ie&&(I.value=Ie.id)}),R1([" ","Enter"],()=>{if(!_.value.find(k=>k.id===I.value)?.children?.length)return;const ee=F.value.indexOf(I.value);ee===-1?F.value.push(I.value):F.value.splice(ee,1)});function ae(ee){const k=_.value.find(Te=>Te.id===ee);if(!k||!k.children?.length||k.children.length===1)return k;const j=k?.children?.findIndex(Te=>Te.id===I.value);if(j<=0)return k;let J=k.children[j-1];for(;J&&F.value.includes(J.id)&&J.children?.length;){const Te=J.children[J.children.length-1],Ie=ae(Te.id);if(!Ie||Ie.id===J.id)break;J=Ie}return J||k}function ce(){const ee=y.value,k=[...ee].findLastIndex(Ie=>Ie?.includes(I.value));if(k===-1)return I.value;const j=ee[k],J=ee[k+1],Te=J?.findIndex((Ie,Pe)=>Ie!==j[Pe])??-1;return Te!==-1?J[Te]:I.value}function oe(){Yt.value.scrollToComponent(I.value)}function ne(){Yt.value.inspectDOM(I.value).then(()=>{chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)")})}function Se(){Yt.value.getComponentRenderCode(I.value).then(ee=>{m.value=ee,f.value=!0})}function se(){n("openInEditor",G.value)}const ve=xt();function xe(){setTimeout(()=>{ve.value?.querySelector(".active")?.scrollIntoView({behavior:"smooth",block:"center"})},300)}function He(){m.value="",f.value=!1}return(ee,k)=>(Je(),lt("div",tW,[gt($e(l1),{ref_key:"splitpanesRef",ref:r,class:"flex-1 overflow-auto",horizontal:s.value,onReady:k[4]||(k[4]=j=>a.value=!0)},{default:zt(()=>[X.value.length>1?(Je(),Jt($e(Ri),{key:0,border:"base h-full",size:"20"},{default:zt(()=>[Ze("div",rW,[gt(_U,{modelValue:fe.value,"onUpdate:modelValue":k[0]||(k[0]=j=>fe.value=j),data:Q.value,class:"w-full",onSelect:Ce},null,8,["modelValue","data"])])]),_:1})):rr("",!0),gt($e(Ri),{border:"base","h-full":""},{default:zt(()=>[h.value?(Je(),lt("div",nW,[Ze("div",sW,[gt($e(ko),{modelValue:o.value,"onUpdate:modelValue":k[1]||(k[1]=j=>o.value=j),"loading-debounce-time":250,loading:!$e(p),placeholder:"Find components...",class:"flex-1 text-3.5"},null,8,["modelValue","loading"]),$e(Z6)?rr("",!0):Rn((Je(),lt("button",{key:0,"px-1":"",class:"hover:color-#00dc82",onClick:Me},[(Je(),lt("svg",iW,[...k[6]||(k[6]=[Ze("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)])]))])),[[$e(Es),"Select component in the page",void 0,{bottom:!0}]])]),Ze("div",{ref_key:"componentTreeContainer",ref:ve,class:"no-scrollbar flex-1 select-none overflow-scroll"},[gt(n2,{modelValue:I.value,"onUpdate:modelValue":k[2]||(k[2]=j=>I.value=j),data:w.value,"with-tag":!0,onHover:$e(v).highlight,onLeave:$e(v).unhighlight},null,8,["modelValue","data","onHover","onLeave"])],512)])):rr("",!0)]),_:1}),gt($e(Ri),{relative:"","h-full":""},{default:zt(()=>[Ze("div",oW,[Ze("div",aW,[z.value?.name?(Je(),lt("span",lW,[k[7]||(k[7]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},"<",-1)),Ze("span",cW,cn(z.value.name),1),k[8]||(k[8]=Ze("span",{class:"text-gray-400 dark:text-gray-600"},">",-1))])):rr("",!0),gt($e(ko),{modelValue:l.value,"onUpdate:modelValue":k[3]||(k[3]=j=>l.value=j),"loading-debounce-time":250,placeholder:"Filter State...",class:"flex-1 text-3.5"},null,8,["modelValue"]),Ze("div",uW,[Rn(Ze("i",{class:"i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",onClick:oe},null,512),[[$e(Es),"Scroll to component",void 0,{bottom:!0}]]),Rn(Ze("i",{class:"i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",onClick:Se},null,512),[[$e(Es),"Show render code",void 0,{bottom:!0}]]),$e($a)?Rn((Je(),lt("i",{key:0,class:"i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",onClick:ne},null,512)),[[$e(Es),"Inspect DOM",void 0,{bottom:!0}]]):rr("",!0),G.value?Rn((Je(),lt("i",{key:1,class:"i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",onClick:se},null,512)),[[$e(Es),"Open in Editor",void 0,{bottom:!0}]]):rr("",!0)])]),gt(r2,{class:"no-scrollbar flex-1 overflow-scroll",data:W.value,"node-id":I.value,"inspector-id":j1,"expanded-state-id":"component-state"},null,8,["data","node-id"])]),f.value&&m.value?(Je(),Jt(eW,{key:0,code:m.value,onClose:He},null,8,["code"])):rr("",!0)]),_:1})]),_:1},8,["horizontal"]),$e($a)?(Je(),Jt($e(KC),{key:0,modelValue:d.value,"onUpdate:modelValue":k[5]||(k[5]=j=>d.value=j),title:"",height:"12rem",closable:!1},{footer:zt(()=>[Ze("div",dW,[gt($e(Ss),{onClick:ue},{default:zt(()=>[...k[11]||(k[11]=[ln(" Cancel ",-1)])]),_:1})])]),default:zt(()=>[Ze("div",pW,[Ze("span",hW,[(Je(),lt("svg",fW,[...k[9]||(k[9]=[Ze("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[Ze("circle",{cx:"12",cy:"12",r:".5",fill:"currentColor"}),Ze("path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2"})],-1)])]))]),k[10]||(k[10]=Ze("p",null," Click on a component on the page to select it ",-1))])]),_:1},8,["modelValue"])):rr("",!0)]))}}),LX=el(mW,[["__scopeId","data-v-fbde5eca"]]),gW={},vW={class:"h-screen w-screen $ui-fcc flex-col"};function yW(t,e){return Je(),lt("div",vW,[e[0]||(e[0]=Ze("div",{class:"outer"},[Ze("div",{class:"inner"},[Ze("i",{class:"i-logos-vue inline-block h8! w8!",alt:"Vue logo"})])],-1)),hn(t.$slots,"default",{},void 0,!0)])}const bW=el(gW,[["render",yW],["__scopeId","data-v-b8018f07"]]),FS=Symbol.for("VueDevToolsCustomInspectorStateSymbol");function Ya(){return zn(FS)}function g4(){const t=xt({homepage:"",id:"",label:"",logo:"",timelineLayerIds:[]});return Ms(FS,t),t}const CW={},SW={width:"175",height:"34",viewBox:"0 0 175 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function EW(t,e){return Je(),lt("svg",SW,[...e[0]||(e[0]=[Ze("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 xW=el(CW,[["render",EW]]),wW={"h-full":"","w-full":"",flex:"","items-center":""},TW={flex:"~ col gap2",ma:"","px-5":""},AW={flex:"~ col","mt-20":"","items-center":""},_W={flex:"~","mt--10":"","items-center":"","justify-center":""},MW={class:"mr-1"},PW={key:0,class:"inline-block w20"},LW=["src","alt"],OW={key:1,class:"mr2 inline-block min-w-20 text-center text-10 font-600"},IW={mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},kW={op40:""},zW={flex:"~ gap2 wrap"},NW={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},VW=["href"],HW=lr({__name:"About",setup(t){const e=e2(),n=Ya(),r=xt(!1),a=xt(!1);function i(){r.value=!0}function s(){r.value=!0,a.value=!0}return(o,l)=>(Je(),lt("div",wW,[Ze("div",TW,[l[5]||(l[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",AW,[Ze("div",_W,[Ze("span",MW,[r.value?rr("",!0):(Je(),lt("span",PW)),Rn(Ze("img",{src:$e(n).logo,alt:`${$e(n).label} Logo`,class:"inline-block h16",onError:s,onLoad:i},null,40,LW),[[am,r.value&&!a.value]]),a.value?(Je(),lt("span",OW,cn($e(n).label),1)):rr("",!0)]),Ze("span",null,[gt(xW,{"h-18":""})])]),Ze("div",IW,[Ze("span",kW,cn($e(n).label)+" DevTools ",1)])]),l[6]||(l[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",zW,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:l[0]||(l[0]=p=>$e(e).push("/state"))},[...l[2]||(l[2]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"State",-1)])]),$e(n).timelineLayerIds?.length?(Je(),lt("div",{key:0,flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:l[1]||(l[1]=p=>$e(e).push("/timeline"))},[...l[3]||(l[3]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)])])):rr("",!0)]),Ze("div",NW,[Ze("a",{href:$e(n).homepage,target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[...l[4]||(l[4]=[Ze("div",{"i-carbon-document":""},null,-1),ln(" View Documentation ",-1)])],8,VW)]),l[7]||(l[7]=Ze("div",{"flex-auto":""},null,-1))])]))}}),DW={class:"flex-1 overflow-y-auto p2"},RW={class:"max-w-[190px] flex-1 select-none py-1.5 text-sm"},jW={class:"w-4/5"},BW={key:0,class:"flex justify-start"},FW={key:1},$S=lr({__name:"Settings",props:{pluginId:{},options:{},values:{}},emits:["update"],setup(t,{emit:e}){const n=t,r=e,a=pt(()=>n.options),i=pt(()=>n.values);function s(o,l){Yt.value.updatePluginSettings(n.pluginId,o,l),Yt.value.getPluginSettings(n.pluginId).then(p=>{r("update",p)})}return(o,l)=>(Je(),lt("div",DW,[Ze("ul",null,[(Je(!0),lt(Vr,null,ws(a.value,(p,u)=>(Je(),lt("li",{key:u,class:"flex items-center py-2"},[Ze("div",RW,cn(p.label),1),Ze("div",jW,[p.type==="boolean"?(Je(),lt("div",BW,[gt($e(ER),{"model-value":i.value[u],class:"row-reverse flex py1 pl2 pr1 hover:bg-active","onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","onUpdate:modelValue"])])):p.type==="choice"?(Je(),lt("div",FW,[gt($e(XC),{"model-value":i.value[u],options:p.options,"onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","options","onUpdate:modelValue"])])):p.type==="text"?(Je(),Jt($e(ko),{key:2,"model-value":i.value[u],"onUpdate:modelValue":h=>s(u,h)},null,8,["model-value","onUpdate:modelValue"])):rr("",!0)])]))),128))])]))}}),$W={class:"h-full flex flex-col"},UW=lr({__name:"Settings",setup(t){const e=zn("pluginSettings"),n=Ya(),r=pt(()=>e.value.options),a=pt(()=>e.value.values);function i(s){e.value=s}return(s,o)=>(Je(),lt("div",$W,[gt(u1,{"doc-link":$e(n).homepage},{default:zt(()=>[gt(p1)]),_:1},8,["doc-link"]),gt($S,{"plugin-id":$e(n).pluginId,options:r.value,values:a.value,onUpdate:i},null,8,["plugin-id","options","values"])]))}}),GW={class:"h-full flex flex-col"},WW={class:"h-full flex flex-col p2"},qW={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},KW={key:0,class:"flex items-center gap-2 px-1"},XW=["onClick"],YW={key:0,class:"no-scrollbar flex-1 select-none overflow-scroll"},JW={class:"h-full flex flex-col p2"},QW={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},ZW={key:0,class:"flex items-center gap-2 px-1"},eq=["onClick"],tq=lr({__name:"Index",setup(t){const{expanded:e}=pa(),{expanded:n}=pa("custom-inspector-state"),r=Ya(),a=pt(()=>r.value.id),i=xt([]),s=xt([]),o=xt([]),l=pt(()=>o.value?.length?x(o.value?.[0]):[]),p=pt(()=>w(o.value)),u=pt(()=>p.value.map($=>$.id)),h=xt(""),d=xt({}),m=pt(()=>!Object.keys(d.value).length),f=Ya(),v=xt(""),C=xt("");Lr(v,($,H)=>{!$.trim().length&&!H.trim().length||W($)});const S=pt(()=>o4({state:d.value,filterKey:C.value}));function x($,H=[],R=[]){return H.push($.id),$.children?.length===0&&R.push([...H]),Array.isArray($.children)&&$.children.forEach(K=>{x(K,H,R)}),H.pop(),R}function g($,H){const R=[];return $?.forEach(K=>{R.push(...K.slice(0,H+1))}),[...new Set(R)]}function w($){const H=[],R=K=>{K?.forEach(ie=>{H.push(ie),ie.children?.length&&R(ie.children)})};return R($),H}function y(){Yt.value.getInspectorNodeActions(a.value).then($=>{i.value=$})}function _(){Yt.value.getInspectorActions(a.value).then($=>{s.value=$})}y(),_();function T($){Yt.value.callInspectorNodeAction(a.value,$,h.value)}function O($){Yt.value.callInspectorAction(a.value,$)}function I($){for(const H in $)$[H]?.length||delete $[H];return $}function z($){Yt.value.getInspectorState({inspectorId:a.value,nodeId:$}).then(H=>{const R=ri(H);R&&(d.value=I(R),n.value=Array.from({length:Object.keys(d.value).length},(K,ie)=>`${ie}`))})}function G(){d.value={}}Lr(h,()=>{G(),z(h.value)});function W($=""){Yt.value.getInspectorTree({inspectorId:a.value,filter:$}).then(H=>{const R=ri(H);o.value=R,!h.value&&R.length&&(h.value=R[0].id,e.value=g(l.value,1),z(R[0].id))})}VS(a).toBeTruthy().then(()=>W());function F($){const H=ri($);!H.rootNodes.length||H.inspectorId!==a.value||(o.value=H.rootNodes,u.value.includes(h.value)||(h.value=o.value?.[0]?.id,e.value=g(l.value,1)))}function N($){const H=ri($);if(H.inspectorId!==a.value||!H.state||H.nodeId!==h.value)return;const{inspectorId:R,...K}=H.state;d.value=I(K)}return ta(()=>{Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,F),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,N)}),fi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,F),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,N)}),($,H)=>(Je(),lt("div",GW,[gt(u1,{"doc-link":$e(r).homepage},{default:zt(()=>[gt(p1)]),_:1},8,["doc-link"]),!o.value.length&&!v.value.trim().length?(Je(),Jt(Rc,{key:0},{default:zt(()=>[...H[3]||(H[3]=[ln(" No Data ",-1)])]),_:1})):(Je(),Jt($e(l1),{key:1,class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Ri),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",WW,[Ze("div",qW,[gt($e(ko),{modelValue:v.value,"onUpdate:modelValue":H[0]||(H[0]=R=>v.value=R),placeholder:$e(f).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),s.value?.length?(Je(),lt("div",KW,[(Je(!0),lt(Vr,null,ws(s.value,(R,K)=>Rn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:ie=>O(K)},[gt($e(Nu),{name:`baseline-${R.icon.replace(/\_/g,"-")}`,"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,8,["name"])],8,XW)),[[$e(Es),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),o.value.length?(Je(),lt("div",YW,[gt(n2,{modelValue:h.value,"onUpdate:modelValue":H[1]||(H[1]=R=>h.value=R),data:o.value},null,8,["modelValue","data"])])):(Je(),Jt(Rc,{key:1},{default:zt(()=>[...H[4]||(H[4]=[ln(" No Data ",-1)])]),_:1}))])]),_:1}),gt($e(Ri),{size:"60"},{default:zt(()=>[Ze("div",JW,[Ze("div",QW,[gt($e(ko),{modelValue:C.value,"onUpdate:modelValue":H[2]||(H[2]=R=>C.value=R),placeholder:$e(f).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),i.value?.length?(Je(),lt("div",ZW,[(Je(!0),lt(Vr,null,ws(i.value,(R,K)=>Rn((Je(),lt("div",{key:K,class:"flex items-center gap1",onClick:ie=>T(K)},[gt($e(Nu),{name:`baseline-${R.icon.replace(/\_/g,"-")}`,"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,8,["name"])],8,eq)),[[$e(Es),{content:R.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),h.value&&!m.value?(Je(),Jt(r2,{key:0,data:S.value,"node-id":h.value,"inspector-id":a.value,"expanded-state-id":"custom-inspector-state",class:"no-scrollbar flex-1 overflow-scroll"},null,8,["data","node-id","inspector-id"])):(Je(),Jt(Rc,{key:1},{default:zt(()=>[...H[5]||(H[5]=[ln(" No Data ",-1)])]),_:1}))])]),_:1})]),_:1}))]))}}),rq=lr({__name:"Index",setup(t){const e=Ya();return(n,r)=>(Je(),Jt(m4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":$e(e).homepage,"plugin-id":$e(e).pluginId},null,8,["layer-ids","doc-link","plugin-id"]))}}),nq={"h-full":"","w-full":""},sq={key:0},iq=lr({__name:"index",props:{id:{},pluginId:{}},emits:["loadError"],setup(t,{emit:e}){const n=t,r=e,a=g4(),i=xt(!1),s=xt(null);Ms("pluginSettings",s);const o=pt(()=>[{path:"/state",name:"State",component:tq,icon:"i-carbon-tree-view-alt"},a.value.timelineLayerIds?.length&&{path:"/timeline",name:"Timeline",component:rq,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:HW},s.value&&{path:"/settings",name:"Settings",component:UW,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:l,restoreRouter:p}=l4(o,{defaultRoutePath:"/state"});function u(){i.value=!0,ta(()=>{Yt.value.getInspectorInfo(n.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(m=>m.id),pluginId:n.pluginId,treeFilterPlaceholder:h.treeFilterPlaceholder,stateFilterPlaceholder:h.stateFilterPlaceholder};a.value=d,p(),i.value=!1}),Yt.value.getPluginSettings(n.pluginId).then(h=>{h.options?s.value=h:s.value=null})})}return Lr(()=>n.id,()=>{u()},{immediate:!0}),fi(()=>{Yt.value.unhighlight()}),(h,d)=>(Je(),lt("div",nq,[i.value?(Je(),lt("div",sq,[gt(bW)])):(Je(),Jt($e(l),{key:1}))]))}}),oq={},aq={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lq(t,e){return Je(),lt("svg",aq,[...e[0]||(e[0]=[P8('',2)])])}const cq=el(oq,[["render",lq]]),uq={"h-full":"","w-full":"",flex:"","items-center":""},pq={flex:"~ col gap2",ma:"","px-5":""},hq={flex:"~ col","mt-20":"","items-center":""},fq={flex:"~","mt--10":"","items-center":"","justify-center":""},dq={flex:"~ gap2 wrap"},mq=lr({__name:"About",setup(t){const e=e2();return(n,r)=>(Je(),lt("div",uq,[Ze("div",pq,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",hq,[Ze("div",fq,[gt(cq,{"h-18":""})]),r[2]||(r[2]=Ze("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Ze("span",{op40:""}," Pinia DevTools ")],-1))]),r[6]||(r[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",dq,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:r[0]||(r[0]=a=>$e(e).push("/store"))},[...r[3]||(r[3]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"Store",-1)])]),Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:r[1]||(r[1]=a=>$e(e).push("/timeline"))},[...r[4]||(r[4]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)])])]),r[7]||(r[7]=Ze("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Ze("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Ze("div",{"i-carbon-star":""}),ln(" Star on GitHub ")]),Ze("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Ze("div",{"i-carbon-document":""}),ln(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),gq={class:"h-full flex flex-col"},vq=lr({__name:"Settings",setup(t){const e=zn("pluginSettings"),n=pt(()=>e.value.options),r=pt(()=>e.value.values);function a(i){e.value=i}return(i,s)=>(Je(),lt("div",gq,[gt(u1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:zt(()=>[gt(p1)]),_:1}),gt($S,{"plugin-id":"dev.esm.pinia",options:n.value,values:r.value,onUpdate:a},null,8,["options","values"])]))}}),yq="dev.esm.pinia",US="pinia",bq={class:"h-full flex flex-col"},Cq={class:"h-full flex flex-col p2"},Sq={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},Eq={key:0,class:"flex items-center gap-2 px-1"},xq=["onClick"],wq={class:"no-scrollbar flex-1 select-none overflow-scroll"},Tq={class:"h-full flex flex-col p2"},Aq={class:"grid grid-cols-[1fr_auto] mb1 items-center gap2 pb1",border:"b dashed base"},_q={key:0,class:"flex items-center gap-2 px-1"},Mq=["onClick"],Pq=lr({__name:"Index",setup(t){const{expanded:e}=pa(),{expanded:n}=pa("pinia-store-state"),r=US,a=xt([]),i=xt([]),s=Ya(),o=xt(""),l=xt([]),p=pt(()=>l.value?.length?S(l.value?.[0]):[]),u=pt(()=>g(l.value)),h=pt(()=>u.value.map(N=>N.id)),d=xt({}),m=xt(""),f=xt("");Lr(m,(N,$)=>{!N.trim().length&&!$.trim().length||G(N)});const v=pt(()=>o4({state:d.value,filterKey:f.value})),C=pt(()=>!d.value.state?.length&&!d.value.getters?.length);function S(N,$=[],H=[]){return $.push(N.id),N.children?.length===0&&H.push([...$]),Array.isArray(N.children)&&N.children.forEach(R=>{S(R,$,H)}),$.pop(),H}function x(N,$){const H=[];return N?.forEach(R=>{H.push(...R.slice(0,$+1))}),[...new Set(H)]}function g(N){const $=[],H=R=>{R?.forEach(K=>{$.push(K),K.children?.length&&H(K.children)})};return H(N),$}function w(){Yt.value.getInspectorNodeActions(r).then(N=>{a.value=N})}function y(){Yt.value.getInspectorActions(r).then(N=>{i.value=N})}w(),y();function _(N){Yt.value.callInspectorNodeAction(r,N,o.value)}function T(N){Yt.value.callInspectorAction(r,N)}function O(N){for(const $ in N)N[$]?.length||delete N[$];return N}function I(N){Yt.value.getInspectorState({inspectorId:r,nodeId:N}).then($=>{const H=ri($);H&&(d.value=O(H),n.value=Array.from({length:Object.keys(d.value).length},(R,K)=>`${K}`))})}function z(){d.value={}}Lr(o,()=>{z(),I(o.value)});function G(N=""){Yt.value.getInspectorTree({inspectorId:r,filter:N}).then($=>{const H=ri($);l.value=H,!o.value&&H.length&&(o.value=H[0].id,I(H[0].id),e.value=x(p.value,1))})}G();function W(N){const $=ri(N);$.inspectorId!==r||!$.rootNodes.length||(l.value=$.rootNodes,h.value.includes(o.value)||(o.value=$.rootNodes[0].id,e.value=x(p.value,1),I($.rootNodes[0].id)))}function F(N){const $=ri(N);if($.inspectorId!==r)return;const H=$.state;H&&(d.value=O({state:H.state,getters:H.getters}))}return Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,W),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,F),fi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,W),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,F)}),(N,$)=>(Je(),lt("div",bq,[gt(u1,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"},{default:zt(()=>[gt(p1)]),_:1}),gt($e(l1),{class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Ri),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",Cq,[Ze("div",Sq,[gt($e(ko),{modelValue:m.value,"onUpdate:modelValue":$[0]||($[0]=H=>m.value=H),placeholder:$e(s).treeFilterPlaceholder},null,8,["modelValue","placeholder"]),i.value?.length?(Je(),lt("div",Eq,[(Je(!0),lt(Vr,null,ws(i.value,(H,R)=>Rn((Je(),lt("div",{key:R,class:"flex items-center gap1",onClick:K=>T(R)},[Ze("i",{class:$r(`i-ic-baseline-${H.icon.replace(/\_/g,"-")}`),"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,2)],8,xq)),[[$e(Es),{content:H.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),Ze("div",wq,[gt(n2,{modelValue:o.value,"onUpdate:modelValue":$[1]||($[1]=H=>o.value=H),data:l.value},null,8,["modelValue","data"])])])]),_:1}),gt($e(Ri),{size:"60"},{default:zt(()=>[Ze("div",Tq,[Ze("div",Aq,[gt($e(ko),{modelValue:f.value,"onUpdate:modelValue":$[2]||($[2]=H=>f.value=H),placeholder:$e(s).stateFilterPlaceholder},null,8,["modelValue","placeholder"]),a.value?.length?(Je(),lt("div",_q,[(Je(!0),lt(Vr,null,ws(a.value,(H,R)=>Rn((Je(),lt("div",{key:R,class:"flex items-center gap1",onClick:K=>_(R)},[Ze("i",{class:$r(`i-ic-baseline-${H.icon.replace(/\_/g,"-")}`),"cursor-pointer":"","text-base":"",op70:"","hover:op100":""},null,2)],8,Mq)),[[$e(Es),{content:H.tooltip},void 0,{"bottom-end":!0}]])),128))])):rr("",!0)]),o.value&&!C.value?(Je(),Jt(r2,{key:0,class:"no-scrollbar flex-1 overflow-scroll",data:v.value,"node-id":o.value,"inspector-id":$e(r),"expanded-state-id":"pinia-store-state"},null,8,["data","node-id","inspector-id"])):(Je(),Jt(Rc,{key:1},{default:zt(()=>[...$[3]||($[3]=[ln(" No Data ",-1)])]),_:1}))])]),_:1})]),_:1})]))}}),Lq="dev.esm.pinia",Oq=lr({__name:"Index",setup(t){const e=["pinia:mutations"];return(n,r)=>(Je(),Jt(m4,{"layer-ids":e,"doc-link":"https://pinia.vuejs.org/","plugin-id":Lq,"github-repo-link":"https://github.com/vuejs/pinia"}))}}),Iq={"h-full":"","w-full":""},OX=lr({__name:"index",setup(t){const e=xt(null);Ms("pluginSettings",e);const n=pt(()=>[{path:"/store",name:"Store",component:Pq,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:Oq,icon:"i-mdi:timeline-clock-outline"},{path:"/",name:"About",component:mq,icon:"i-logos-pinia"},e.value&&{path:"/settings",name:"Settings",component:vq,icon:"i-mdi:cog-outline"}].filter(Boolean)),{VirtualRouterView:r}=l4(n,{defaultRoutePath:"/store"}),a=g4();return ta(()=>{Yt.value.getPluginSettings(yq).then(i=>{i.options?e.value=i:e.value=null}),Yt.value.getInspectorInfo(US).then(i=>{i&&(a.value={stateFilterPlaceholder:i.stateFilterPlaceholder,treeFilterPlaceholder:i.treeFilterPlaceholder})})}),(i,s)=>(Je(),lt("div",Iq,[gt($e(r))]))}}),kq={},zq={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Nq(t,e){return Je(),lt("svg",zq,[...e[0]||(e[0]=[Ze("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8em",height:"8em",viewBox:"0 -4 24 24"},[Ze("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),Ze("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 Vq=el(kq,[["render",Nq]]),Hq={"h-full":"","w-full":"",flex:"","items-center":""},Dq={flex:"~ col gap2",ma:"","px-5":""},Rq={flex:"~ col","mt-20":"","items-center":""},jq={flex:"~","mt--10":"","items-center":"","justify-center":""},Bq={flex:"~ gap2 wrap"},Fq=lr({__name:"About",setup(t){const e=e2();return(n,r)=>(Je(),lt("div",Hq,[Ze("div",Dq,[r[5]||(r[5]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",Rq,[Ze("div",jq,[gt(Vq,{"h-18":""})]),r[2]||(r[2]=Ze("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[Ze("span",{op40:""}," Router DevTools ")],-1))]),r[6]||(r[6]=Ze("div",{"flex-auto":""},null,-1)),Ze("div",Bq,[Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:r[0]||(r[0]=a=>$e(e).push("/routes"))},[...r[3]||(r[3]=[Ze("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),Ze("code",null,"Routes",-1)])]),Ze("div",{flex:"~ col auto","min-w-40":"","theme-card-lime":"",p4:"",onClick:r[1]||(r[1]=a=>$e(e).push("/timeline"))},[...r[4]||(r[4]=[Ze("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),Ze("div",null,"Timeline",-1)])])]),r[7]||(r[7]=Ze("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[Ze("a",{href:"https://github.com/vuejs/router",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[Ze("div",{"i-carbon-star":""}),ln(" Star on GitHub ")]),Ze("a",{href:"https://router.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[Ze("div",{"i-carbon-document":""}),ln(" View Documentation ")])],-1)),r[8]||(r[8]=Ze("div",{"flex-auto":""},null,-1))])]))}}),$q={class:"h-full flex flex-col"},Uq={"h-full":"","select-none":"","overflow-scroll":"",p2:"",class:"no-scrollbar"},Gq={class:"pb2"},Wq={"h-full":"","overflow-scroll":"",class:"no-scrollbar"},qq=lr({__name:"Index",setup(t){const{expanded:e}=pa(),{expanded:n}=pa("routes-state"),r=Ya(),a=pt(()=>r.value.id),i=xt(""),s=xt(""),[o,l]=HS(!0),p=xt([]),u=pt(()=>p.value?.length?f(p.value?.[0]):[]),h=pt(()=>C(p.value)),d=pt(()=>h.value.map(O=>O.id)),m=xt({});function f(O,I=[],z=[]){return I.push(O.id),O.children?.length===0&&z.push([...I]),Array.isArray(O.children)&&O.children.forEach(G=>{f(G,I,z)}),I.pop(),z}function v(O,I){const z=[];return O?.forEach(G=>{z.push(...G.slice(0,I+1))}),[...new Set(z)]}function C(O){const I=[],z=G=>{G?.forEach(W=>{I.push(W),W.children?.length&&z(W.children)})};return z(O),I}function S(O){for(const I in O)O[I]?.length||delete O[I];return O}function x(O){Yt.value.getInspectorState({inspectorId:a.value,nodeId:O}).then(I=>{const z=ri(I);z&&(m.value=S(z),n.value=Array.from({length:Object.keys(m.value).length},(G,W)=>`${W}`))})}function g(){m.value={}}Lr(i,()=>{g(),x(i.value)});const w=async(O="")=>{await Yt.value.getInspectorTree({inspectorId:a.value,filter:O}).then(I=>{const z=ri(I);p.value=z,!i.value&&z.length&&(i.value=z[0].id,x(z[0].id),e.value=v(u.value,1))})};VS(a).toBeTruthy().then(()=>{w()});function y(O){const I=ri(O);I.inspectorId!==a.value||!I.rootNodes.length||(p.value=I.rootNodes,d.value.includes(i.value)||(i.value=I.rootNodes[0].id,e.value=v(u.value,1),x(I.rootNodes[0].id)))}function _(O){const I=ri(O);if(I.inspectorId!==a.value)return;const z=I.state;m.value=S(z)}Yt.functions.on(Ln.INSPECTOR_TREE_UPDATED,y),Yt.functions.on(Ln.INSPECTOR_STATE_UPDATED,_),fi(()=>{Yt.functions.off(Ln.INSPECTOR_TREE_UPDATED,y),Yt.functions.off(Ln.INSPECTOR_STATE_UPDATED,_)});function T(O){const I=O.trim().toLowerCase();l(),w(I).then(()=>{l()})}return DS(s,O=>{T(O)},{debounce:300}),(O,I)=>(Je(),lt("div",$q,[gt(u1,{"doc-link":"https://router.vuejs.org/","github-repo-link":"https://github.com/vuejs/router"},{default:zt(()=>[gt(p1)]),_:1}),gt($e(l1),{class:"flex-1 overflow-auto"},{default:zt(()=>[gt($e(Ri),{border:"r base",size:"40","h-full":""},{default:zt(()=>[Ze("div",Uq,[Ze("div",Gq,[gt($e(ko),{modelValue:s.value,"onUpdate:modelValue":I[0]||(I[0]=z=>s.value=z),placeholder:"Search routes",loading:!$e(o),"loading-debounce-time":250,class:"text-3.5"},null,8,["modelValue","loading"])]),gt(n2,{modelValue:i.value,"onUpdate:modelValue":I[1]||(I[1]=z=>i.value=z),data:p.value},null,8,["modelValue","data"])])]),_:1}),gt($e(Ri),{size:"60"},{default:zt(()=>[Ze("div",Wq,[i.value?(Je(),Jt(r2,{key:0,class:"p3",data:m.value,"node-id":"","inspector-id":"router","expanded-state-id":"routes-state"},null,8,["data"])):(Je(),Jt(Rc,{key:1},{default:zt(()=>[...I[2]||(I[2]=[ln(" No Data ",-1)])]),_:1}))])]),_:1})]),_:1})]))}}),Kq="org.vuejs.router",Xq=lr({__name:"Index",setup(t){const e=Ya();return(n,r)=>(Je(),Jt(m4,{"layer-ids":$e(e).timelineLayerIds,"doc-link":"https://router.vuejs.org/","plugin-id":Kq,"github-repo-link":"https://github.com/vuejs/router"},null,8,["layer-ids"]))}}),Yq={"h-full":"","w-full":""},IX=lr({__name:"index",props:{id:{}},setup(t){const e=t,n=g4(),r=xt(!1),{VirtualRouterView:a,restoreRouter:i}=l4([{path:"/routes",name:"Routes",component:qq,icon:"i-carbon-tree-view-alt"},{path:"/timeline",name:"Timeline",component:Xq,icon:"i-mdi:timeline-clock-outline"},{path:"/about",name:"About",component:Fq,icon:"i-ri-route-line"}],{defaultRoutePath:"/routes"});function s(){r.value=!0,ta(()=>{Yt.value.getInspectorInfo(e.id).then(o=>{if(!o)return;const l={homepage:o?.homepage,id:o?.id,label:o?.label,logo:o?.logo,timelineLayerIds:o?.timelineLayers.map(p=>p.id)};n.value=l,i(),r.value=!1})})}return Lr(()=>e.id,o=>{o&&s()}),(o,l)=>(Je(),lt("div",Yq,[gt($e(a))]))}}),Jq=[["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"}]]],GS=["assets","graph","vite-inspect"];function Qq(t,e){const n=i0(Jq);return n.forEach(r=>{if(r[0]==="modules"){r[1]=r[1].filter(i=>i.name==="router"?e.findIndex(s=>s.name.startsWith("router-inspector"))>-1:i.name==="pinia"?e.findIndex(s=>s.name==="pinia")>-1:!0);const a=e.filter(i=>!(i.name.startsWith("router-inspector")||i.name==="pinia"));r[1]=[...r[1],...a]}}),t&&!mh&&!$a?n:n.map(([r,a])=>[r,a.filter(i=>!GS.includes(i.name))])}const _5="custom-tab-view",au="custom-inspector-tab-view";function Zq(){const{registeredInspector:t}=RG();return pt(()=>t.value.map((n,r)=>({order:r,name:n.id,icon:n.logo,fallbackIcon:n.icon,title:n.label,path:`${au}/${n.id}`,category:"modules",pluginId:n.pluginId})))}function WS(){return{isFirstVisit:!0,route:"/",graphSettings:{node_modules:!1,virtual:!1,lib:!1},tabSettings:{hiddenTabCategories:[],hiddenTabs:[],pinnedTabs:[]},expandSidebar:!1,scrollableSidebar:!0,splitScreen:{enabled:!1,view:"overview",size:[50,50]},scale:1,interactionCloseOnOutsideClick:!1,showPanel:!0,minimizePanelInteractive:5e3,reduceMotion:!1}}const ms=nz("__VUE_DEVTOOLS_CLIENT_STATE__",WS(),{mergeDefaults:!0});function kX(){ms.value=WS()}Lr(()=>ms.value.splitScreen.enabled,(t,e)=>{e&&!t&&(ms.value.splitScreen.size=[50,50])});const eK=iz();Lr(eK,t=>{ms.value.reduceMotion=t==="reduce"},{immediate:!0});function v4(){const t=Dl(),e=Zq();let n=[];const r=pt(()=>iS(t.tabs.value,n)?n:(n=t.tabs.value,t.tabs.value)),a=pt(()=>{const p=t.vitePluginDetected.value,u=[...Qq(p,e.value)];return r.value.forEach(h=>{const d=u.find(m=>m[0]===h.category);if(d){if(d[1].some(m=>m.name===h.name)||(!p||mh||$a)&&GS.includes(h.name))return;d[1].push({...h})}}),[...u]}),i=pt(()=>a.value.reduce((p,[u,h])=>(h.forEach(d=>{p.push(d)}),p),[])),s=pt(()=>{const{hiddenTabCategories:p,hiddenTabs:u,pinnedTabs:h}=ms.value.tabSettings,d=p.includes("pinned"),m=a.value.reduce((f,[v,C])=>{const S=[{hidden:!1,name:v},[]],x=p.includes(v);return C.forEach(g=>{const w=u.includes(g.name);if(h.includes(g.name))f[0][1].push({...g,hidden:w||d});else{const y=w||x;S[1].push({...g,hidden:y})}}),S[0].hidden=S[1].every(g=>g.hidden),f.push(S),f},[[{name:"pinned",hidden:!1},[]]]);return m[0][0].hidden=m[0][1].every(f=>f.hidden),m[0][1].sort((f,v)=>h.indexOf(f.name)-h.indexOf(v.name)),m}),o=pt(()=>s.value.reduce((p,[u,h])=>{if(u.hidden)return p;const d=h.filter(m=>!m.hidden);return d.length&&p.push([u,d]),p},[])),l=pt(()=>o.value.reduce((p,[u,h])=>(h.forEach(d=>{p.push(d)}),p),[]));return{categorizedTabs:s,flattenedTabs:i,enabledTabs:o,enabledFlattenTabs:l}}function W6(t,e){return pt(()=>{const n=[],r=ms.value.tabSettings.pinnedTabs;Pr(e).reduce((s,[{name:o,hidden:l},p])=>(p.forEach(u=>{if(Pr(t).some(h=>h.name===u.name)){const h=r.includes(u.name)?"pinned":o||"app";s.push({tab:u,category:{name:h,hidden:l}})}}),s),[]).forEach(({tab:s,category:o})=>{const l=n.find(([{name:p}])=>p===o.name);l?l[1].push(s):n.push([o,[s]])});const i=n.find(([{name:s}])=>s==="pinned");return i&&i[1].sort((s,o)=>r.indexOf(s.name)-r.indexOf(o.name)),n})}function tK(t){const e=new Map;return t.forEach(n=>e.set(n.id,n)),Array.from(e.values())}const M5=po(new Map);function rK(){const{enabledFlattenTabs:t}=v4(),e=Gh(),n=Dl();let r=[];const a=pt(()=>iS(n.commands.value,r)?r:(r=n.commands.value,n.commands.value)),i=[{id:"fixed:settings",title:"Settings",icon:"i-carbon-settings-adjust",action:()=>{e.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>sK()}],s=pt(()=>t.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():e.push("path"in o&&o.path?o.path:`/custom-tab-view/${o.name}`)}})));return pt(()=>tK([...i,...s.value,...nK(a.value),...Array.from(M5.values()).flatMap(o=>Pr(o))]))}function q6(t){t?.type==="url"&&window.open(t.src,"_blank")}function nK(t){return t.map(e=>({id:`${e.id}`,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{if(e.children)return e.children.map(n=>({id:n.id,title:n.title,icon:n.icon,description:n.description,order:n.order,action:()=>{q6(n.action)}})).sort((n,r)=>(r.order??0)-(n.order??0));q6(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0))}function K6(t){const e=gw();M5.set(e,t),fi(()=>{M5.delete(e)})}let n0;const X6={"utility-types":"i-mdi-language-typescript",ssr:"i-codicon-server-process","custom-renderer":"i-codicon-server-process","sfc-script-setup":"i-material-symbols:magic-button","sfc-css-features":"i-material-symbols-css","built-in-directives":"i-material-symbols-code","built-in-special-attributes":"i-material-symbols-code","component-instance":"i-material-symbols-code","composition-api-dependency-injection":"i-material-symbols-code","composition-api-lifecycle":"i-material-symbols-code",general:"i-material-symbols-code","compile-time-flags":"i-material-symbols-toggle-on","reactivity-utilities":"i-mdi-api","reactivity-advanced":"i-mdi-api","render-function":"i-mdi-api","...others":"i-uim-vuejs"};async function sK(){return n0||(n0=(await ps(()=>import("./vue-apis-DJBctb31.js"),[],import.meta.url).then(e=>e.default)).map(e=>({...e,icon:X6[e.description]??X6["...others"],action:()=>{window.open(e.url,"_blank")}}))),n0}const iK={flex:"~ col",h:"60%",border:"1 base","m-x-4":"","max-h-120":"","min-h-60":"","w-xl":"","of-hidden":"","rounded-md":"","text-3.75":""},oK={border:"b base","flex-none":""},aK={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},lK=["id","onClick","onMouseover"],cK={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},uK={"ws-nowrap":""},pK={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},hK={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},fK={"text-primary":""},dK={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},mK={"text-xs":"",flex:"~ items-center gap2"},gK={px1:""},vK={px1:""},yK={"text-xs":"",flex:"~ items-center gap2"},bK={op75:""},CK={"text-xs":"",flex:"~ items-center gap2"},SK={px1:""},EK=lr({__name:"CommandPalette",setup(t){const e=xt(!1),n=xt(""),r=rK(),a=xt(),i=pt(()=>a.value||r.value),s=pt(()=>new a1(i.value,{keys:["id","title"],distance:50})),o=pt(()=>n.value?s.value.search(n.value).map(d=>d.item):i.value||[]),l=xt(0);Lr(n,()=>{l.value=0,u()});function p(d){l.value=(l.value+d+o.value.length)%o.value.length,u()}function u(){document.getElementById(o.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function h(d){const m=await d.action();m?(a.value=m,n.value=""):(a.value=void 0,n.value="",e.value=!1)}return hi("keydown",d=>{if((d.altKey||d.metaKey)&&d.key==="k"){d.preventDefault(),a.value=void 0,n.value="",e.value=!e.value;return}if(e.value)switch(d.key){case"ArrowDown":case"ArrowUp":d.preventDefault(),p(d.key==="ArrowDown"?1:-1);break;case"Enter":{const m=o.value[l.value];m&&(d.preventDefault(),h(m));break}case"Escape":{d.preventDefault(),a.value?(a.value=void 0,n.value=""):e.value=!1;break}}}),(d,m)=>{const f=rf;return $e(e)?(Je(),Jt($e(Km),{key:0,dim:"",class:"$ui-z-max-override backdrop-blur-2xl!"},{default:zt(()=>[Ze("div",iK,[Ze("header",oK,[gt($e(ko),{modelValue:$e(n),"onUpdate:modelValue":m[0]||(m[0]=v=>xn(n)?n.value=v:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),Ze("div",aK,[(Je(!0),lt(Vr,null,ws($e(o),(v,C)=>(Je(),lt("button",{id:v.id,key:v.id,onClick:S=>h(v),onMouseover:S=>l.value=C},[Ze("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:$r($e(l)===C?"op100 saturate-100 bg-active":"op80")},[gt(f,{icon:v.icon,title:v.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),Ze("span",cK,[Ze("span",uK,cn(v.title),1),Ze("span",pK,cn(v.description),1)]),$e(l)===C?(Je(),Jt($e(_s),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):rr("",!0)],2)],40,lK))),128)),$e(o).length?rr("",!0):(Je(),lt("div",hK,[gt($e(_s),{icon:"carbon-search",op50:""}),Ze("div",null,[m[1]||(m[1]=Ze("span",{op50:""},"No results for",-1)),Ze("strong",fK,' "'+cn($e(n))+'" ',1)])]))]),Ze("footer",dK,[Ze("div",mK,[Ze("button",gK,[gt($e(_s),{icon:"i-carbon-arrow-down"})]),Ze("button",vK,[gt($e(_s),{icon:"i-carbon-arrow-up"})]),m[2]||(m[2]=Ze("span",{op75:""},"to navigate",-1))]),Ze("div",yK,[m[3]||(m[3]=Ze("button",{px1:""}," Esc ",-1)),Ze("span",bK,"to "+cn($e(a)?"go back":"close"),1)]),Ze("div",CK,[Ze("button",SK,[gt($e(_s),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),m[4]||(m[4]=Ze("span",{op75:""},"to select",-1))])])])]),_:1})):rr("",!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 xK=[(t,e,n)=>{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 gr.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Bt.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return g.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 p.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return He.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return Ie.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return ke.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return qe.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return ct.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return Ce.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return Me.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return Qt.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return Le.default}});var a=n(348),i=n(349),s=n(350),o=n(362),l=n(363);Object.keys(l).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===l[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return l[Ct]}}))}));var p=n(364),u=n(365),h=n(366),d=n(4);Object.keys(d).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===d[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return d[Ct]}}))}));var m=n(368);Object.keys(m).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===m[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return m[Ct]}}))}));var f=n(369);Object.keys(f).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===f[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return f[Ct]}}))}));var v=n(27),C=n(370),S=n(371),x=n(372),g=n(373),w=n(374),y=n(172),_=n(173),T=n(174),O=n(175),I=n(176),z=n(375),G=n(376);Object.keys(G).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===G[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return G[Ct]}}))}));var W=n(26);Object.keys(W).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===W[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return W[Ct]}}))}));var F=n(377),N=n(378),$=n(177),H=n(379),R=n(380),K=n(178),ie=n(381),he=n(382),Le=n(383),X=n(9);Object.keys(X).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===X[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return X[Ct]}}))}));var Q=n(384),fe=n(385),Ce=n(386),Me=n(181),ue=n(179),ae=n(171),ce=n(60),oe=n(387),ne=n(388);Object.keys(ne).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===ne[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return ne[Ct]}}))}));var Se=n(180),se=n(96),ve=n(42),xe=n(389),He=n(390),ee=n(391),k=n(182),j=n(170),J=n(392),Te=n(168),Ie=n(393),Pe=n(394),de=n(395),ke=n(98),qe=n(396),nt=n(43),ct=n(397),yt=n(165),Qt=n(97),Bt=n(164),sr=n(2);Object.keys(sr).forEach((function(Ct){Ct!=="default"&&Ct!=="__esModule"&&(Object.prototype.hasOwnProperty.call(r,Ct)||Ct in e&&e[Ct]===sr[Ct]||Object.defineProperty(e,Ct,{enumerable:!0,get:function(){return sr[Ct]}}))}));var gr=n(58);e.react={isReactComponent:a.default,isCompatTag:i.default,buildChildren:s.default},e.toSequenceExpression=n(398).default},(t,e,n)=>{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 a.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 s.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 i.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return i.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 m.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return m.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return m.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 p().default}}),e.version=e.types=void 0;var r=n(95),a=n(453),i=n(81),s=n(278);function o(){const C=n(0);return o=function(){return C},C}function l(){const C=n(21);return l=function(){return C},C}function p(){const C=n(14);return p=function(){return C},C}function u(){const C=n(37);return u=function(){return C},C}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return o()}});var h=n(82),d=n(475),m=n(488),f=n(489),v=n(490);n(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.`)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=function(s,o){return!!s&&s.type==="ClassAccessorProperty"&&(o==null||(0,r.default)(s,o))},e.isAnyTypeAnnotation=function(s,o){return!!s&&s.type==="AnyTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isArgumentPlaceholder=function(s,o){return!!s&&s.type==="ArgumentPlaceholder"&&(o==null||(0,r.default)(s,o))},e.isArrayExpression=function(s,o){return!!s&&s.type==="ArrayExpression"&&(o==null||(0,r.default)(s,o))},e.isArrayPattern=function(s,o){return!!s&&s.type==="ArrayPattern"&&(o==null||(0,r.default)(s,o))},e.isArrayTypeAnnotation=function(s,o){return!!s&&s.type==="ArrayTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isArrowFunctionExpression=function(s,o){return!!s&&s.type==="ArrowFunctionExpression"&&(o==null||(0,r.default)(s,o))},e.isAssignmentExpression=function(s,o){return!!s&&s.type==="AssignmentExpression"&&(o==null||(0,r.default)(s,o))},e.isAssignmentPattern=function(s,o){return!!s&&s.type==="AssignmentPattern"&&(o==null||(0,r.default)(s,o))},e.isAwaitExpression=function(s,o){return!!s&&s.type==="AwaitExpression"&&(o==null||(0,r.default)(s,o))},e.isBigIntLiteral=function(s,o){return!!s&&s.type==="BigIntLiteral"&&(o==null||(0,r.default)(s,o))},e.isBinary=function(s,o){if(!s)return!1;switch(s.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBinaryExpression=function(s,o){return!!s&&s.type==="BinaryExpression"&&(o==null||(0,r.default)(s,o))},e.isBindExpression=function(s,o){return!!s&&s.type==="BindExpression"&&(o==null||(0,r.default)(s,o))},e.isBlock=function(s,o){if(!s)return!1;switch(s.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBlockParent=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isBlockStatement=function(s,o){return!!s&&s.type==="BlockStatement"&&(o==null||(0,r.default)(s,o))},e.isBooleanLiteral=function(s,o){return!!s&&s.type==="BooleanLiteral"&&(o==null||(0,r.default)(s,o))},e.isBooleanLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="BooleanLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isBooleanTypeAnnotation=function(s,o){return!!s&&s.type==="BooleanTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isBreakStatement=function(s,o){return!!s&&s.type==="BreakStatement"&&(o==null||(0,r.default)(s,o))},e.isCallExpression=function(s,o){return!!s&&s.type==="CallExpression"&&(o==null||(0,r.default)(s,o))},e.isCatchClause=function(s,o){return!!s&&s.type==="CatchClause"&&(o==null||(0,r.default)(s,o))},e.isClass=function(s,o){if(!s)return!1;switch(s.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isClassAccessorProperty=function(s,o){return!!s&&s.type==="ClassAccessorProperty"&&(o==null||(0,r.default)(s,o))},e.isClassBody=function(s,o){return!!s&&s.type==="ClassBody"&&(o==null||(0,r.default)(s,o))},e.isClassDeclaration=function(s,o){return!!s&&s.type==="ClassDeclaration"&&(o==null||(0,r.default)(s,o))},e.isClassExpression=function(s,o){return!!s&&s.type==="ClassExpression"&&(o==null||(0,r.default)(s,o))},e.isClassImplements=function(s,o){return!!s&&s.type==="ClassImplements"&&(o==null||(0,r.default)(s,o))},e.isClassMethod=function(s,o){return!!s&&s.type==="ClassMethod"&&(o==null||(0,r.default)(s,o))},e.isClassPrivateMethod=function(s,o){return!!s&&s.type==="ClassPrivateMethod"&&(o==null||(0,r.default)(s,o))},e.isClassPrivateProperty=function(s,o){return!!s&&s.type==="ClassPrivateProperty"&&(o==null||(0,r.default)(s,o))},e.isClassProperty=function(s,o){return!!s&&s.type==="ClassProperty"&&(o==null||(0,r.default)(s,o))},e.isCompletionStatement=function(s,o){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isConditional=function(s,o){if(!s)return!1;switch(s.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isConditionalExpression=function(s,o){return!!s&&s.type==="ConditionalExpression"&&(o==null||(0,r.default)(s,o))},e.isContinueStatement=function(s,o){return!!s&&s.type==="ContinueStatement"&&(o==null||(0,r.default)(s,o))},e.isDebuggerStatement=function(s,o){return!!s&&s.type==="DebuggerStatement"&&(o==null||(0,r.default)(s,o))},e.isDecimalLiteral=function(s,o){return!!s&&s.type==="DecimalLiteral"&&(o==null||(0,r.default)(s,o))},e.isDeclaration=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode==="Declaration")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isDeclareClass=function(s,o){return!!s&&s.type==="DeclareClass"&&(o==null||(0,r.default)(s,o))},e.isDeclareExportAllDeclaration=function(s,o){return!!s&&s.type==="DeclareExportAllDeclaration"&&(o==null||(0,r.default)(s,o))},e.isDeclareExportDeclaration=function(s,o){return!!s&&s.type==="DeclareExportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isDeclareFunction=function(s,o){return!!s&&s.type==="DeclareFunction"&&(o==null||(0,r.default)(s,o))},e.isDeclareInterface=function(s,o){return!!s&&s.type==="DeclareInterface"&&(o==null||(0,r.default)(s,o))},e.isDeclareModule=function(s,o){return!!s&&s.type==="DeclareModule"&&(o==null||(0,r.default)(s,o))},e.isDeclareModuleExports=function(s,o){return!!s&&s.type==="DeclareModuleExports"&&(o==null||(0,r.default)(s,o))},e.isDeclareOpaqueType=function(s,o){return!!s&&s.type==="DeclareOpaqueType"&&(o==null||(0,r.default)(s,o))},e.isDeclareTypeAlias=function(s,o){return!!s&&s.type==="DeclareTypeAlias"&&(o==null||(0,r.default)(s,o))},e.isDeclareVariable=function(s,o){return!!s&&s.type==="DeclareVariable"&&(o==null||(0,r.default)(s,o))},e.isDeclaredPredicate=function(s,o){return!!s&&s.type==="DeclaredPredicate"&&(o==null||(0,r.default)(s,o))},e.isDecorator=function(s,o){return!!s&&s.type==="Decorator"&&(o==null||(0,r.default)(s,o))},e.isDirective=function(s,o){return!!s&&s.type==="Directive"&&(o==null||(0,r.default)(s,o))},e.isDirectiveLiteral=function(s,o){return!!s&&s.type==="DirectiveLiteral"&&(o==null||(0,r.default)(s,o))},e.isDoExpression=function(s,o){return!!s&&s.type==="DoExpression"&&(o==null||(0,r.default)(s,o))},e.isDoWhileStatement=function(s,o){return!!s&&s.type==="DoWhileStatement"&&(o==null||(0,r.default)(s,o))},e.isEmptyStatement=function(s,o){return!!s&&s.type==="EmptyStatement"&&(o==null||(0,r.default)(s,o))},e.isEmptyTypeAnnotation=function(s,o){return!!s&&s.type==="EmptyTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isEnumBody=function(s,o){if(!s)return!1;switch(s.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isEnumBooleanBody=function(s,o){return!!s&&s.type==="EnumBooleanBody"&&(o==null||(0,r.default)(s,o))},e.isEnumBooleanMember=function(s,o){return!!s&&s.type==="EnumBooleanMember"&&(o==null||(0,r.default)(s,o))},e.isEnumDeclaration=function(s,o){return!!s&&s.type==="EnumDeclaration"&&(o==null||(0,r.default)(s,o))},e.isEnumDefaultedMember=function(s,o){return!!s&&s.type==="EnumDefaultedMember"&&(o==null||(0,r.default)(s,o))},e.isEnumMember=function(s,o){if(!s)return!1;switch(s.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isEnumNumberBody=function(s,o){return!!s&&s.type==="EnumNumberBody"&&(o==null||(0,r.default)(s,o))},e.isEnumNumberMember=function(s,o){return!!s&&s.type==="EnumNumberMember"&&(o==null||(0,r.default)(s,o))},e.isEnumStringBody=function(s,o){return!!s&&s.type==="EnumStringBody"&&(o==null||(0,r.default)(s,o))},e.isEnumStringMember=function(s,o){return!!s&&s.type==="EnumStringMember"&&(o==null||(0,r.default)(s,o))},e.isEnumSymbolBody=function(s,o){return!!s&&s.type==="EnumSymbolBody"&&(o==null||(0,r.default)(s,o))},e.isExistsTypeAnnotation=function(s,o){return!!s&&s.type==="ExistsTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isExportAllDeclaration=function(s,o){return!!s&&s.type==="ExportAllDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportDeclaration=function(s,o){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isExportDefaultDeclaration=function(s,o){return!!s&&s.type==="ExportDefaultDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportDefaultSpecifier=function(s,o){return!!s&&s.type==="ExportDefaultSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExportNamedDeclaration=function(s,o){return!!s&&s.type==="ExportNamedDeclaration"&&(o==null||(0,r.default)(s,o))},e.isExportNamespaceSpecifier=function(s,o){return!!s&&s.type==="ExportNamespaceSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExportSpecifier=function(s,o){return!!s&&s.type==="ExportSpecifier"&&(o==null||(0,r.default)(s,o))},e.isExpression=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isExpressionStatement=function(s,o){return!!s&&s.type==="ExpressionStatement"&&(o==null||(0,r.default)(s,o))},e.isExpressionWrapper=function(s,o){if(!s)return!1;switch(s.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFile=function(s,o){return!!s&&s.type==="File"&&(o==null||(0,r.default)(s,o))},e.isFlow=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isFlowBaseAnnotation=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isFlowDeclaration=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isFlowPredicate=function(s,o){if(!s)return!1;switch(s.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFlowType=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isFor=function(s,o){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isForInStatement=function(s,o){return!!s&&s.type==="ForInStatement"&&(o==null||(0,r.default)(s,o))},e.isForOfStatement=function(s,o){return!!s&&s.type==="ForOfStatement"&&(o==null||(0,r.default)(s,o))},e.isForStatement=function(s,o){return!!s&&s.type==="ForStatement"&&(o==null||(0,r.default)(s,o))},e.isForXStatement=function(s,o){if(!s)return!1;switch(s.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunction=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunctionDeclaration=function(s,o){return!!s&&s.type==="FunctionDeclaration"&&(o==null||(0,r.default)(s,o))},e.isFunctionExpression=function(s,o){return!!s&&s.type==="FunctionExpression"&&(o==null||(0,r.default)(s,o))},e.isFunctionParent=function(s,o){if(!s)return!1;switch(s.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isFunctionTypeAnnotation=function(s,o){return!!s&&s.type==="FunctionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isFunctionTypeParam=function(s,o){return!!s&&s.type==="FunctionTypeParam"&&(o==null||(0,r.default)(s,o))},e.isGenericTypeAnnotation=function(s,o){return!!s&&s.type==="GenericTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isIdentifier=function(s,o){return!!s&&s.type==="Identifier"&&(o==null||(0,r.default)(s,o))},e.isIfStatement=function(s,o){return!!s&&s.type==="IfStatement"&&(o==null||(0,r.default)(s,o))},e.isImmutable=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isImport=function(s,o){return!!s&&s.type==="Import"&&(o==null||(0,r.default)(s,o))},e.isImportAttribute=function(s,o){return!!s&&s.type==="ImportAttribute"&&(o==null||(0,r.default)(s,o))},e.isImportDeclaration=function(s,o){return!!s&&s.type==="ImportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isImportDefaultSpecifier=function(s,o){return!!s&&s.type==="ImportDefaultSpecifier"&&(o==null||(0,r.default)(s,o))},e.isImportExpression=function(s,o){return!!s&&s.type==="ImportExpression"&&(o==null||(0,r.default)(s,o))},e.isImportNamespaceSpecifier=function(s,o){return!!s&&s.type==="ImportNamespaceSpecifier"&&(o==null||(0,r.default)(s,o))},e.isImportOrExportDeclaration=i,e.isImportSpecifier=function(s,o){return!!s&&s.type==="ImportSpecifier"&&(o==null||(0,r.default)(s,o))},e.isIndexedAccessType=function(s,o){return!!s&&s.type==="IndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isInferredPredicate=function(s,o){return!!s&&s.type==="InferredPredicate"&&(o==null||(0,r.default)(s,o))},e.isInterfaceDeclaration=function(s,o){return!!s&&s.type==="InterfaceDeclaration"&&(o==null||(0,r.default)(s,o))},e.isInterfaceExtends=function(s,o){return!!s&&s.type==="InterfaceExtends"&&(o==null||(0,r.default)(s,o))},e.isInterfaceTypeAnnotation=function(s,o){return!!s&&s.type==="InterfaceTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isInterpreterDirective=function(s,o){return!!s&&s.type==="InterpreterDirective"&&(o==null||(0,r.default)(s,o))},e.isIntersectionTypeAnnotation=function(s,o){return!!s&&s.type==="IntersectionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isJSX=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isJSXAttribute=function(s,o){return!!s&&s.type==="JSXAttribute"&&(o==null||(0,r.default)(s,o))},e.isJSXClosingElement=function(s,o){return!!s&&s.type==="JSXClosingElement"&&(o==null||(0,r.default)(s,o))},e.isJSXClosingFragment=function(s,o){return!!s&&s.type==="JSXClosingFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXElement=function(s,o){return!!s&&s.type==="JSXElement"&&(o==null||(0,r.default)(s,o))},e.isJSXEmptyExpression=function(s,o){return!!s&&s.type==="JSXEmptyExpression"&&(o==null||(0,r.default)(s,o))},e.isJSXExpressionContainer=function(s,o){return!!s&&s.type==="JSXExpressionContainer"&&(o==null||(0,r.default)(s,o))},e.isJSXFragment=function(s,o){return!!s&&s.type==="JSXFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXIdentifier=function(s,o){return!!s&&s.type==="JSXIdentifier"&&(o==null||(0,r.default)(s,o))},e.isJSXMemberExpression=function(s,o){return!!s&&s.type==="JSXMemberExpression"&&(o==null||(0,r.default)(s,o))},e.isJSXNamespacedName=function(s,o){return!!s&&s.type==="JSXNamespacedName"&&(o==null||(0,r.default)(s,o))},e.isJSXOpeningElement=function(s,o){return!!s&&s.type==="JSXOpeningElement"&&(o==null||(0,r.default)(s,o))},e.isJSXOpeningFragment=function(s,o){return!!s&&s.type==="JSXOpeningFragment"&&(o==null||(0,r.default)(s,o))},e.isJSXSpreadAttribute=function(s,o){return!!s&&s.type==="JSXSpreadAttribute"&&(o==null||(0,r.default)(s,o))},e.isJSXSpreadChild=function(s,o){return!!s&&s.type==="JSXSpreadChild"&&(o==null||(0,r.default)(s,o))},e.isJSXText=function(s,o){return!!s&&s.type==="JSXText"&&(o==null||(0,r.default)(s,o))},e.isLVal=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isLabeledStatement=function(s,o){return!!s&&s.type==="LabeledStatement"&&(o==null||(0,r.default)(s,o))},e.isLiteral=function(s,o){if(!s)return!1;switch(s.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isLogicalExpression=function(s,o){return!!s&&s.type==="LogicalExpression"&&(o==null||(0,r.default)(s,o))},e.isLoop=function(s,o){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMemberExpression=function(s,o){return!!s&&s.type==="MemberExpression"&&(o==null||(0,r.default)(s,o))},e.isMetaProperty=function(s,o){return!!s&&s.type==="MetaProperty"&&(o==null||(0,r.default)(s,o))},e.isMethod=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMiscellaneous=function(s,o){if(!s)return!1;switch(s.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isMixedTypeAnnotation=function(s,o){return!!s&&s.type==="MixedTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isModuleDeclaration=function(s,o){return(0,a.default)("isModuleDeclaration","isImportOrExportDeclaration"),i(s,o)},e.isModuleExpression=function(s,o){return!!s&&s.type==="ModuleExpression"&&(o==null||(0,r.default)(s,o))},e.isModuleSpecifier=function(s,o){if(!s)return!1;switch(s.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isNewExpression=function(s,o){return!!s&&s.type==="NewExpression"&&(o==null||(0,r.default)(s,o))},e.isNoop=function(s,o){return!!s&&s.type==="Noop"&&(o==null||(0,r.default)(s,o))},e.isNullLiteral=function(s,o){return!!s&&s.type==="NullLiteral"&&(o==null||(0,r.default)(s,o))},e.isNullLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="NullLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNullableTypeAnnotation=function(s,o){return!!s&&s.type==="NullableTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumberLiteral=function(s,o){return(0,a.default)("isNumberLiteral","isNumericLiteral"),!!s&&s.type==="NumberLiteral"&&(o==null||(0,r.default)(s,o))},e.isNumberLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="NumberLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumberTypeAnnotation=function(s,o){return!!s&&s.type==="NumberTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isNumericLiteral=function(s,o){return!!s&&s.type==="NumericLiteral"&&(o==null||(0,r.default)(s,o))},e.isObjectExpression=function(s,o){return!!s&&s.type==="ObjectExpression"&&(o==null||(0,r.default)(s,o))},e.isObjectMember=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isObjectMethod=function(s,o){return!!s&&s.type==="ObjectMethod"&&(o==null||(0,r.default)(s,o))},e.isObjectPattern=function(s,o){return!!s&&s.type==="ObjectPattern"&&(o==null||(0,r.default)(s,o))},e.isObjectProperty=function(s,o){return!!s&&s.type==="ObjectProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeAnnotation=function(s,o){return!!s&&s.type==="ObjectTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeCallProperty=function(s,o){return!!s&&s.type==="ObjectTypeCallProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeIndexer=function(s,o){return!!s&&s.type==="ObjectTypeIndexer"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeInternalSlot=function(s,o){return!!s&&s.type==="ObjectTypeInternalSlot"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeProperty=function(s,o){return!!s&&s.type==="ObjectTypeProperty"&&(o==null||(0,r.default)(s,o))},e.isObjectTypeSpreadProperty=function(s,o){return!!s&&s.type==="ObjectTypeSpreadProperty"&&(o==null||(0,r.default)(s,o))},e.isOpaqueType=function(s,o){return!!s&&s.type==="OpaqueType"&&(o==null||(0,r.default)(s,o))},e.isOptionalCallExpression=function(s,o){return!!s&&s.type==="OptionalCallExpression"&&(o==null||(0,r.default)(s,o))},e.isOptionalIndexedAccessType=function(s,o){return!!s&&s.type==="OptionalIndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isOptionalMemberExpression=function(s,o){return!!s&&s.type==="OptionalMemberExpression"&&(o==null||(0,r.default)(s,o))},e.isParenthesizedExpression=function(s,o){return!!s&&s.type==="ParenthesizedExpression"&&(o==null||(0,r.default)(s,o))},e.isPattern=function(s,o){if(!s)return!1;switch(s.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(s.expectedNode==="Pattern")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPatternLike=function(s,o){if(!s)return!1;switch(s.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(s.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPipelineBareFunction=function(s,o){return!!s&&s.type==="PipelineBareFunction"&&(o==null||(0,r.default)(s,o))},e.isPipelinePrimaryTopicReference=function(s,o){return!!s&&s.type==="PipelinePrimaryTopicReference"&&(o==null||(0,r.default)(s,o))},e.isPipelineTopicExpression=function(s,o){return!!s&&s.type==="PipelineTopicExpression"&&(o==null||(0,r.default)(s,o))},e.isPlaceholder=function(s,o){return!!s&&s.type==="Placeholder"&&(o==null||(0,r.default)(s,o))},e.isPrivate=function(s,o){if(!s)return!1;switch(s.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPrivateName=function(s,o){return!!s&&s.type==="PrivateName"&&(o==null||(0,r.default)(s,o))},e.isProgram=function(s,o){return!!s&&s.type==="Program"&&(o==null||(0,r.default)(s,o))},e.isProperty=function(s,o){if(!s)return!1;switch(s.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isPureish=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isQualifiedTypeIdentifier=function(s,o){return!!s&&s.type==="QualifiedTypeIdentifier"&&(o==null||(0,r.default)(s,o))},e.isRecordExpression=function(s,o){return!!s&&s.type==="RecordExpression"&&(o==null||(0,r.default)(s,o))},e.isRegExpLiteral=function(s,o){return!!s&&s.type==="RegExpLiteral"&&(o==null||(0,r.default)(s,o))},e.isRegexLiteral=function(s,o){return(0,a.default)("isRegexLiteral","isRegExpLiteral"),!!s&&s.type==="RegexLiteral"&&(o==null||(0,r.default)(s,o))},e.isRestElement=function(s,o){return!!s&&s.type==="RestElement"&&(o==null||(0,r.default)(s,o))},e.isRestProperty=function(s,o){return(0,a.default)("isRestProperty","isRestElement"),!!s&&s.type==="RestProperty"&&(o==null||(0,r.default)(s,o))},e.isReturnStatement=function(s,o){return!!s&&s.type==="ReturnStatement"&&(o==null||(0,r.default)(s,o))},e.isScopable=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isSequenceExpression=function(s,o){return!!s&&s.type==="SequenceExpression"&&(o==null||(0,r.default)(s,o))},e.isSpreadElement=function(s,o){return!!s&&s.type==="SpreadElement"&&(o==null||(0,r.default)(s,o))},e.isSpreadProperty=function(s,o){return(0,a.default)("isSpreadProperty","isSpreadElement"),!!s&&s.type==="SpreadProperty"&&(o==null||(0,r.default)(s,o))},e.isStandardized=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isStatement=function(s,o){if(!s)return!1;switch(s.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(s.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return o==null||(0,r.default)(s,o)},e.isStaticBlock=function(s,o){return!!s&&s.type==="StaticBlock"&&(o==null||(0,r.default)(s,o))},e.isStringLiteral=function(s,o){return!!s&&s.type==="StringLiteral"&&(o==null||(0,r.default)(s,o))},e.isStringLiteralTypeAnnotation=function(s,o){return!!s&&s.type==="StringLiteralTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isStringTypeAnnotation=function(s,o){return!!s&&s.type==="StringTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isSuper=function(s,o){return!!s&&s.type==="Super"&&(o==null||(0,r.default)(s,o))},e.isSwitchCase=function(s,o){return!!s&&s.type==="SwitchCase"&&(o==null||(0,r.default)(s,o))},e.isSwitchStatement=function(s,o){return!!s&&s.type==="SwitchStatement"&&(o==null||(0,r.default)(s,o))},e.isSymbolTypeAnnotation=function(s,o){return!!s&&s.type==="SymbolTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTSAnyKeyword=function(s,o){return!!s&&s.type==="TSAnyKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSArrayType=function(s,o){return!!s&&s.type==="TSArrayType"&&(o==null||(0,r.default)(s,o))},e.isTSAsExpression=function(s,o){return!!s&&s.type==="TSAsExpression"&&(o==null||(0,r.default)(s,o))},e.isTSBaseType=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isTSBigIntKeyword=function(s,o){return!!s&&s.type==="TSBigIntKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSBooleanKeyword=function(s,o){return!!s&&s.type==="TSBooleanKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSCallSignatureDeclaration=function(s,o){return!!s&&s.type==="TSCallSignatureDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSConditionalType=function(s,o){return!!s&&s.type==="TSConditionalType"&&(o==null||(0,r.default)(s,o))},e.isTSConstructSignatureDeclaration=function(s,o){return!!s&&s.type==="TSConstructSignatureDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSConstructorType=function(s,o){return!!s&&s.type==="TSConstructorType"&&(o==null||(0,r.default)(s,o))},e.isTSDeclareFunction=function(s,o){return!!s&&s.type==="TSDeclareFunction"&&(o==null||(0,r.default)(s,o))},e.isTSDeclareMethod=function(s,o){return!!s&&s.type==="TSDeclareMethod"&&(o==null||(0,r.default)(s,o))},e.isTSEntityName=function(s,o){if(!s)return!1;switch(s.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(s.expectedNode==="Identifier")break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSEnumDeclaration=function(s,o){return!!s&&s.type==="TSEnumDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSEnumMember=function(s,o){return!!s&&s.type==="TSEnumMember"&&(o==null||(0,r.default)(s,o))},e.isTSExportAssignment=function(s,o){return!!s&&s.type==="TSExportAssignment"&&(o==null||(0,r.default)(s,o))},e.isTSExpressionWithTypeArguments=function(s,o){return!!s&&s.type==="TSExpressionWithTypeArguments"&&(o==null||(0,r.default)(s,o))},e.isTSExternalModuleReference=function(s,o){return!!s&&s.type==="TSExternalModuleReference"&&(o==null||(0,r.default)(s,o))},e.isTSFunctionType=function(s,o){return!!s&&s.type==="TSFunctionType"&&(o==null||(0,r.default)(s,o))},e.isTSImportEqualsDeclaration=function(s,o){return!!s&&s.type==="TSImportEqualsDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSImportType=function(s,o){return!!s&&s.type==="TSImportType"&&(o==null||(0,r.default)(s,o))},e.isTSIndexSignature=function(s,o){return!!s&&s.type==="TSIndexSignature"&&(o==null||(0,r.default)(s,o))},e.isTSIndexedAccessType=function(s,o){return!!s&&s.type==="TSIndexedAccessType"&&(o==null||(0,r.default)(s,o))},e.isTSInferType=function(s,o){return!!s&&s.type==="TSInferType"&&(o==null||(0,r.default)(s,o))},e.isTSInstantiationExpression=function(s,o){return!!s&&s.type==="TSInstantiationExpression"&&(o==null||(0,r.default)(s,o))},e.isTSInterfaceBody=function(s,o){return!!s&&s.type==="TSInterfaceBody"&&(o==null||(0,r.default)(s,o))},e.isTSInterfaceDeclaration=function(s,o){return!!s&&s.type==="TSInterfaceDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSIntersectionType=function(s,o){return!!s&&s.type==="TSIntersectionType"&&(o==null||(0,r.default)(s,o))},e.isTSIntrinsicKeyword=function(s,o){return!!s&&s.type==="TSIntrinsicKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSLiteralType=function(s,o){return!!s&&s.type==="TSLiteralType"&&(o==null||(0,r.default)(s,o))},e.isTSMappedType=function(s,o){return!!s&&s.type==="TSMappedType"&&(o==null||(0,r.default)(s,o))},e.isTSMethodSignature=function(s,o){return!!s&&s.type==="TSMethodSignature"&&(o==null||(0,r.default)(s,o))},e.isTSModuleBlock=function(s,o){return!!s&&s.type==="TSModuleBlock"&&(o==null||(0,r.default)(s,o))},e.isTSModuleDeclaration=function(s,o){return!!s&&s.type==="TSModuleDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSNamedTupleMember=function(s,o){return!!s&&s.type==="TSNamedTupleMember"&&(o==null||(0,r.default)(s,o))},e.isTSNamespaceExportDeclaration=function(s,o){return!!s&&s.type==="TSNamespaceExportDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSNeverKeyword=function(s,o){return!!s&&s.type==="TSNeverKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSNonNullExpression=function(s,o){return!!s&&s.type==="TSNonNullExpression"&&(o==null||(0,r.default)(s,o))},e.isTSNullKeyword=function(s,o){return!!s&&s.type==="TSNullKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSNumberKeyword=function(s,o){return!!s&&s.type==="TSNumberKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSObjectKeyword=function(s,o){return!!s&&s.type==="TSObjectKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSOptionalType=function(s,o){return!!s&&s.type==="TSOptionalType"&&(o==null||(0,r.default)(s,o))},e.isTSParameterProperty=function(s,o){return!!s&&s.type==="TSParameterProperty"&&(o==null||(0,r.default)(s,o))},e.isTSParenthesizedType=function(s,o){return!!s&&s.type==="TSParenthesizedType"&&(o==null||(0,r.default)(s,o))},e.isTSPropertySignature=function(s,o){return!!s&&s.type==="TSPropertySignature"&&(o==null||(0,r.default)(s,o))},e.isTSQualifiedName=function(s,o){return!!s&&s.type==="TSQualifiedName"&&(o==null||(0,r.default)(s,o))},e.isTSRestType=function(s,o){return!!s&&s.type==="TSRestType"&&(o==null||(0,r.default)(s,o))},e.isTSSatisfiesExpression=function(s,o){return!!s&&s.type==="TSSatisfiesExpression"&&(o==null||(0,r.default)(s,o))},e.isTSStringKeyword=function(s,o){return!!s&&s.type==="TSStringKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSSymbolKeyword=function(s,o){return!!s&&s.type==="TSSymbolKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSThisType=function(s,o){return!!s&&s.type==="TSThisType"&&(o==null||(0,r.default)(s,o))},e.isTSTupleType=function(s,o){return!!s&&s.type==="TSTupleType"&&(o==null||(0,r.default)(s,o))},e.isTSType=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isTSTypeAliasDeclaration=function(s,o){return!!s&&s.type==="TSTypeAliasDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSTypeAnnotation=function(s,o){return!!s&&s.type==="TSTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTSTypeAssertion=function(s,o){return!!s&&s.type==="TSTypeAssertion"&&(o==null||(0,r.default)(s,o))},e.isTSTypeElement=function(s,o){if(!s)return!1;switch(s.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isTSTypeLiteral=function(s,o){return!!s&&s.type==="TSTypeLiteral"&&(o==null||(0,r.default)(s,o))},e.isTSTypeOperator=function(s,o){return!!s&&s.type==="TSTypeOperator"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameter=function(s,o){return!!s&&s.type==="TSTypeParameter"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameterDeclaration=function(s,o){return!!s&&s.type==="TSTypeParameterDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTSTypeParameterInstantiation=function(s,o){return!!s&&s.type==="TSTypeParameterInstantiation"&&(o==null||(0,r.default)(s,o))},e.isTSTypePredicate=function(s,o){return!!s&&s.type==="TSTypePredicate"&&(o==null||(0,r.default)(s,o))},e.isTSTypeQuery=function(s,o){return!!s&&s.type==="TSTypeQuery"&&(o==null||(0,r.default)(s,o))},e.isTSTypeReference=function(s,o){return!!s&&s.type==="TSTypeReference"&&(o==null||(0,r.default)(s,o))},e.isTSUndefinedKeyword=function(s,o){return!!s&&s.type==="TSUndefinedKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSUnionType=function(s,o){return!!s&&s.type==="TSUnionType"&&(o==null||(0,r.default)(s,o))},e.isTSUnknownKeyword=function(s,o){return!!s&&s.type==="TSUnknownKeyword"&&(o==null||(0,r.default)(s,o))},e.isTSVoidKeyword=function(s,o){return!!s&&s.type==="TSVoidKeyword"&&(o==null||(0,r.default)(s,o))},e.isTaggedTemplateExpression=function(s,o){return!!s&&s.type==="TaggedTemplateExpression"&&(o==null||(0,r.default)(s,o))},e.isTemplateElement=function(s,o){return!!s&&s.type==="TemplateElement"&&(o==null||(0,r.default)(s,o))},e.isTemplateLiteral=function(s,o){return!!s&&s.type==="TemplateLiteral"&&(o==null||(0,r.default)(s,o))},e.isTerminatorless=function(s,o){if(!s)return!1;switch(s.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isThisExpression=function(s,o){return!!s&&s.type==="ThisExpression"&&(o==null||(0,r.default)(s,o))},e.isThisTypeAnnotation=function(s,o){return!!s&&s.type==="ThisTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isThrowStatement=function(s,o){return!!s&&s.type==="ThrowStatement"&&(o==null||(0,r.default)(s,o))},e.isTopicReference=function(s,o){return!!s&&s.type==="TopicReference"&&(o==null||(0,r.default)(s,o))},e.isTryStatement=function(s,o){return!!s&&s.type==="TryStatement"&&(o==null||(0,r.default)(s,o))},e.isTupleExpression=function(s,o){return!!s&&s.type==="TupleExpression"&&(o==null||(0,r.default)(s,o))},e.isTupleTypeAnnotation=function(s,o){return!!s&&s.type==="TupleTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTypeAlias=function(s,o){return!!s&&s.type==="TypeAlias"&&(o==null||(0,r.default)(s,o))},e.isTypeAnnotation=function(s,o){return!!s&&s.type==="TypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isTypeCastExpression=function(s,o){return!!s&&s.type==="TypeCastExpression"&&(o==null||(0,r.default)(s,o))},e.isTypeParameter=function(s,o){return!!s&&s.type==="TypeParameter"&&(o==null||(0,r.default)(s,o))},e.isTypeParameterDeclaration=function(s,o){return!!s&&s.type==="TypeParameterDeclaration"&&(o==null||(0,r.default)(s,o))},e.isTypeParameterInstantiation=function(s,o){return!!s&&s.type==="TypeParameterInstantiation"&&(o==null||(0,r.default)(s,o))},e.isTypeScript=function(s,o){if(!s)return!1;switch(s.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 o==null||(0,r.default)(s,o)},e.isTypeofTypeAnnotation=function(s,o){return!!s&&s.type==="TypeofTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isUnaryExpression=function(s,o){return!!s&&s.type==="UnaryExpression"&&(o==null||(0,r.default)(s,o))},e.isUnaryLike=function(s,o){if(!s)return!1;switch(s.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isUnionTypeAnnotation=function(s,o){return!!s&&s.type==="UnionTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isUpdateExpression=function(s,o){return!!s&&s.type==="UpdateExpression"&&(o==null||(0,r.default)(s,o))},e.isUserWhitespacable=function(s,o){if(!s)return!1;switch(s.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isV8IntrinsicIdentifier=function(s,o){return!!s&&s.type==="V8IntrinsicIdentifier"&&(o==null||(0,r.default)(s,o))},e.isVariableDeclaration=function(s,o){return!!s&&s.type==="VariableDeclaration"&&(o==null||(0,r.default)(s,o))},e.isVariableDeclarator=function(s,o){return!!s&&s.type==="VariableDeclarator"&&(o==null||(0,r.default)(s,o))},e.isVariance=function(s,o){return!!s&&s.type==="Variance"&&(o==null||(0,r.default)(s,o))},e.isVoidTypeAnnotation=function(s,o){return!!s&&s.type==="VoidTypeAnnotation"&&(o==null||(0,r.default)(s,o))},e.isWhile=function(s,o){if(!s)return!1;switch(s.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return o==null||(0,r.default)(s,o)},e.isWhileStatement=function(s,o){return!!s&&s.type==="WhileStatement"&&(o==null||(0,r.default)(s,o))},e.isWithStatement=function(s,o){return!!s&&s.type==="WithStatement"&&(o==null||(0,r.default)(s,o))},e.isYieldExpression=function(s,o){return!!s&&s.type==="YieldExpression"&&(o==null||(0,r.default)(s,o))};var r=n(96),a=n(58);function i(s,o){if(!s)return!1;switch(s.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return o==null||(0,r.default)(s,o)}},(t,e,n)=>{const r=n(48),{MAX_LENGTH:a,MAX_SAFE_INTEGER:i}=n(47),{safeRe:s,t:o}=n(34),l=n(75),{compareIdentifiers:p}=n(128);class u{constructor(d,m){if(m=l(m),d instanceof u){if(d.loose===!!m.loose&&d.includePrerelease===!!m.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>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",d,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;const f=d.trim().match(m.loose?s[o.LOOSE]:s[o.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>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||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(m===this.prerelease.join(".")&&f===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(v)}}if(m){let C=[m,v];f===!1&&(C=[m]),p(this.prerelease[0],m)===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}}t.exports=u},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},e.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},e.arrayExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"ArrayExpression",elements:p})},e.arrayPattern=function(p){return(0,r.default)({type:"ArrayPattern",elements:p})},e.arrayTypeAnnotation=function(p){return(0,r.default)({type:"ArrayTypeAnnotation",elementType:p})},e.arrowFunctionExpression=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"ArrowFunctionExpression",params:p,body:u,async:h,expression:null})},e.assignmentExpression=function(p,u,h){return(0,r.default)({type:"AssignmentExpression",operator:p,left:u,right:h})},e.assignmentPattern=function(p,u){return(0,r.default)({type:"AssignmentPattern",left:p,right:u})},e.awaitExpression=function(p){return(0,r.default)({type:"AwaitExpression",argument:p})},e.bigIntLiteral=function(p){return(0,r.default)({type:"BigIntLiteral",value:p})},e.binaryExpression=function(p,u,h){return(0,r.default)({type:"BinaryExpression",operator:p,left:u,right:h})},e.bindExpression=function(p,u){return(0,r.default)({type:"BindExpression",object:p,callee:u})},e.blockStatement=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return(0,r.default)({type:"BlockStatement",body:p,directives:u})},e.booleanLiteral=function(p){return(0,r.default)({type:"BooleanLiteral",value:p})},e.booleanLiteralTypeAnnotation=function(p){return(0,r.default)({type:"BooleanLiteralTypeAnnotation",value:p})},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"BreakStatement",label:p})},e.callExpression=function(p,u){return(0,r.default)({type:"CallExpression",callee:p,arguments:u})},e.catchClause=function(){let p=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:p,body:u})},e.classAccessorProperty=function(p){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,m=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:p,value:u,typeAnnotation:h,decorators:d,computed:m,static:f})},e.classBody=function(p){return(0,r.default)({type:"ClassBody",body:p})},e.classDeclaration=function(){let p=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:p,superClass:u,body:h,decorators:d})},e.classExpression=function(){let p=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:p,superClass:u,body:h,decorators:d})},e.classImplements=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ClassImplements",id:p,typeParameters:u})},e.classMethod=function(){let p=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,m=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:p,key:u,params:h,body:d,computed:m,static:f,generator:v,async:C})},e.classPrivateMethod=function(){let p=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,m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ClassPrivateMethod",kind:p,key:u,params:h,body:d,static:m})},e.classPrivateProperty=function(p){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:p,value:u,decorators:h,static:d})},e.classProperty=function(p){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,m=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:p,value:u,typeAnnotation:h,decorators:d,computed:m,static:f})},e.conditionalExpression=function(p,u,h){return(0,r.default)({type:"ConditionalExpression",test:p,consequent:u,alternate:h})},e.continueStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ContinueStatement",label:p})},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(p){return(0,r.default)({type:"DecimalLiteral",value:p})},e.declareClass=function(p){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:p,typeParameters:u,extends:h,body:d})},e.declareExportAllDeclaration=function(p){return(0,r.default)({type:"DeclareExportAllDeclaration",source:p})},e.declareExportDeclaration=function(){let p=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:p,specifiers:u,source:h})},e.declareFunction=function(p){return(0,r.default)({type:"DeclareFunction",id:p})},e.declareInterface=function(p){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:p,typeParameters:u,extends:h,body:d})},e.declareModule=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"DeclareModule",id:p,body:u,kind:h})},e.declareModuleExports=function(p){return(0,r.default)({type:"DeclareModuleExports",typeAnnotation:p})},e.declareOpaqueType=function(p){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:p,typeParameters:u,supertype:h})},e.declareTypeAlias=function(p){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:p,typeParameters:u,right:h})},e.declareVariable=function(p){return(0,r.default)({type:"DeclareVariable",id:p})},e.declaredPredicate=function(p){return(0,r.default)({type:"DeclaredPredicate",value:p})},e.decorator=function(p){return(0,r.default)({type:"Decorator",expression:p})},e.directive=function(p){return(0,r.default)({type:"Directive",value:p})},e.directiveLiteral=function(p){return(0,r.default)({type:"DirectiveLiteral",value:p})},e.doExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"DoExpression",body:p,async:u})},e.doWhileStatement=function(p,u){return(0,r.default)({type:"DoWhileStatement",test:p,body:u})},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(p){return(0,r.default)({type:"EnumBooleanBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumBooleanMember=function(p){return(0,r.default)({type:"EnumBooleanMember",id:p,init:null})},e.enumDeclaration=function(p,u){return(0,r.default)({type:"EnumDeclaration",id:p,body:u})},e.enumDefaultedMember=function(p){return(0,r.default)({type:"EnumDefaultedMember",id:p})},e.enumNumberBody=function(p){return(0,r.default)({type:"EnumNumberBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumNumberMember=function(p,u){return(0,r.default)({type:"EnumNumberMember",id:p,init:u})},e.enumStringBody=function(p){return(0,r.default)({type:"EnumStringBody",members:p,explicitType:null,hasUnknownMembers:null})},e.enumStringMember=function(p,u){return(0,r.default)({type:"EnumStringMember",id:p,init:u})},e.enumSymbolBody=function(p){return(0,r.default)({type:"EnumSymbolBody",members:p,hasUnknownMembers:null})},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(p){return(0,r.default)({type:"ExportAllDeclaration",source:p})},e.exportDefaultDeclaration=function(p){return(0,r.default)({type:"ExportDefaultDeclaration",declaration:p})},e.exportDefaultSpecifier=function(p){return(0,r.default)({type:"ExportDefaultSpecifier",exported:p})},e.exportNamedDeclaration=function(){let p=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:p,specifiers:u,source:h})},e.exportNamespaceSpecifier=function(p){return(0,r.default)({type:"ExportNamespaceSpecifier",exported:p})},e.exportSpecifier=function(p,u){return(0,r.default)({type:"ExportSpecifier",local:p,exported:u})},e.expressionStatement=function(p){return(0,r.default)({type:"ExpressionStatement",expression:p})},e.file=function(p){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:p,comments:u,tokens:h})},e.forInStatement=function(p,u,h){return(0,r.default)({type:"ForInStatement",left:p,right:u,body:h})},e.forOfStatement=function(p,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3];return(0,r.default)({type:"ForOfStatement",left:p,right:u,body:h,await:d})},e.forStatement=function(){let p=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:p,test:u,update:h,body:d})},e.functionDeclaration=function(){let p=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],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionDeclaration",id:p,params:u,body:h,generator:d,async:m})},e.functionExpression=function(){let p=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],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"FunctionExpression",id:p,params:u,body:h,generator:d,async:m})},e.functionTypeAnnotation=function(){let p=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:p,params:u,rest:h,returnType:d})},e.functionTypeParam=function(){let p=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:p,typeAnnotation:u})},e.genericTypeAnnotation=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"GenericTypeAnnotation",id:p,typeParameters:u})},e.identifier=function(p){return(0,r.default)({type:"Identifier",name:p})},e.ifStatement=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"IfStatement",test:p,consequent:u,alternate:h})},e.import=function(){return{type:"Import"}},e.importAttribute=function(p,u){return(0,r.default)({type:"ImportAttribute",key:p,value:u})},e.importDeclaration=function(p,u){return(0,r.default)({type:"ImportDeclaration",specifiers:p,source:u})},e.importDefaultSpecifier=function(p){return(0,r.default)({type:"ImportDefaultSpecifier",local:p})},e.importExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"ImportExpression",source:p,options:u})},e.importNamespaceSpecifier=function(p){return(0,r.default)({type:"ImportNamespaceSpecifier",local:p})},e.importSpecifier=function(p,u){return(0,r.default)({type:"ImportSpecifier",local:p,imported:u})},e.indexedAccessType=function(p,u){return(0,r.default)({type:"IndexedAccessType",objectType:p,indexType:u})},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(p){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:p,typeParameters:u,extends:h,body:d})},e.interfaceExtends=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"InterfaceExtends",id:p,typeParameters:u})},e.interfaceTypeAnnotation=function(){let p=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:p,body:u})},e.interpreterDirective=function(p){return(0,r.default)({type:"InterpreterDirective",value:p})},e.intersectionTypeAnnotation=function(p){return(0,r.default)({type:"IntersectionTypeAnnotation",types:p})},e.jSXAttribute=e.jsxAttribute=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"JSXAttribute",name:p,value:u})},e.jSXClosingElement=e.jsxClosingElement=function(p){return(0,r.default)({type:"JSXClosingElement",name:p})},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(p){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:p,closingElement:u,children:h,selfClosing:d})},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(p){return(0,r.default)({type:"JSXExpressionContainer",expression:p})},e.jSXFragment=e.jsxFragment=function(p,u,h){return(0,r.default)({type:"JSXFragment",openingFragment:p,closingFragment:u,children:h})},e.jSXIdentifier=e.jsxIdentifier=function(p){return(0,r.default)({type:"JSXIdentifier",name:p})},e.jSXMemberExpression=e.jsxMemberExpression=function(p,u){return(0,r.default)({type:"JSXMemberExpression",object:p,property:u})},e.jSXNamespacedName=e.jsxNamespacedName=function(p,u){return(0,r.default)({type:"JSXNamespacedName",namespace:p,name:u})},e.jSXOpeningElement=e.jsxOpeningElement=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"JSXOpeningElement",name:p,attributes:u,selfClosing:h})},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(p){return(0,r.default)({type:"JSXSpreadAttribute",argument:p})},e.jSXSpreadChild=e.jsxSpreadChild=function(p){return(0,r.default)({type:"JSXSpreadChild",expression:p})},e.jSXText=e.jsxText=function(p){return(0,r.default)({type:"JSXText",value:p})},e.labeledStatement=function(p,u){return(0,r.default)({type:"LabeledStatement",label:p,body:u})},e.logicalExpression=function(p,u,h){return(0,r.default)({type:"LogicalExpression",operator:p,left:u,right:h})},e.memberExpression=function(p,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:p,property:u,computed:h,optional:d})},e.metaProperty=function(p,u){return(0,r.default)({type:"MetaProperty",meta:p,property:u})},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(p){return(0,r.default)({type:"ModuleExpression",body:p})},e.newExpression=function(p,u){return(0,r.default)({type:"NewExpression",callee:p,arguments:u})},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(p){return(0,r.default)({type:"NullableTypeAnnotation",typeAnnotation:p})},e.numberLiteral=function(p){return(0,a.default)("NumberLiteral","NumericLiteral","The node type "),i(p)},e.numberLiteralTypeAnnotation=function(p){return(0,r.default)({type:"NumberLiteralTypeAnnotation",value:p})},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=i,e.objectExpression=function(p){return(0,r.default)({type:"ObjectExpression",properties:p})},e.objectMethod=function(){let p=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,m=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:p,key:u,params:h,body:d,computed:m,generator:f,async:v})},e.objectPattern=function(p){return(0,r.default)({type:"ObjectPattern",properties:p})},e.objectProperty=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2],d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"ObjectProperty",key:p,value:u,computed:h,shorthand:d,decorators:m})},e.objectTypeAnnotation=function(p){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]:[],m=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return(0,r.default)({type:"ObjectTypeAnnotation",properties:p,indexers:u,callProperties:h,internalSlots:d,exact:m})},e.objectTypeCallProperty=function(p){return(0,r.default)({type:"ObjectTypeCallProperty",value:p,static:null})},e.objectTypeIndexer=function(){let p=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:p,key:u,value:h,variance:d,static:null})},e.objectTypeInternalSlot=function(p,u,h,d,m){return(0,r.default)({type:"ObjectTypeInternalSlot",id:p,value:u,optional:h,static:d,method:m})},e.objectTypeProperty=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return(0,r.default)({type:"ObjectTypeProperty",key:p,value:u,variance:h,kind:null,method:null,optional:null,proto:null,static:null})},e.objectTypeSpreadProperty=function(p){return(0,r.default)({type:"ObjectTypeSpreadProperty",argument:p})},e.opaqueType=function(p){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:p,typeParameters:u,supertype:h,impltype:d})},e.optionalCallExpression=function(p,u,h){return(0,r.default)({type:"OptionalCallExpression",callee:p,arguments:u,optional:h})},e.optionalIndexedAccessType=function(p,u){return(0,r.default)({type:"OptionalIndexedAccessType",objectType:p,indexType:u,optional:null})},e.optionalMemberExpression=function(p,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:p,property:u,computed:h,optional:d})},e.parenthesizedExpression=function(p){return(0,r.default)({type:"ParenthesizedExpression",expression:p})},e.pipelineBareFunction=function(p){return(0,r.default)({type:"PipelineBareFunction",callee:p})},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(p){return(0,r.default)({type:"PipelineTopicExpression",expression:p})},e.placeholder=function(p,u){return(0,r.default)({type:"Placeholder",expectedNode:p,name:u})},e.privateName=function(p){return(0,r.default)({type:"PrivateName",id:p})},e.program=function(p){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:p,directives:u,sourceType:h,interpreter:d,sourceFile:null})},e.qualifiedTypeIdentifier=function(p,u){return(0,r.default)({type:"QualifiedTypeIdentifier",id:p,qualification:u})},e.recordExpression=function(p){return(0,r.default)({type:"RecordExpression",properties:p})},e.regExpLiteral=s,e.regexLiteral=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,a.default)("RegexLiteral","RegExpLiteral","The node type "),s(p,u)},e.restElement=o,e.restProperty=function(p){return(0,a.default)("RestProperty","RestElement","The node type "),o(p)},e.returnStatement=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return(0,r.default)({type:"ReturnStatement",argument:p})},e.sequenceExpression=function(p){return(0,r.default)({type:"SequenceExpression",expressions:p})},e.spreadElement=l,e.spreadProperty=function(p){return(0,a.default)("SpreadProperty","SpreadElement","The node type "),l(p)},e.staticBlock=function(p){return(0,r.default)({type:"StaticBlock",body:p})},e.stringLiteral=function(p){return(0,r.default)({type:"StringLiteral",value:p})},e.stringLiteralTypeAnnotation=function(p){return(0,r.default)({type:"StringLiteralTypeAnnotation",value:p})},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(){let p=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:p,consequent:u})},e.switchStatement=function(p,u){return(0,r.default)({type:"SwitchStatement",discriminant:p,cases:u})},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(p,u){return(0,r.default)({type:"TaggedTemplateExpression",tag:p,quasi:u})},e.templateElement=function(p){let u=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return(0,r.default)({type:"TemplateElement",value:p,tail:u})},e.templateLiteral=function(p,u){return(0,r.default)({type:"TemplateLiteral",quasis:p,expressions:u})},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(p){return(0,r.default)({type:"ThrowStatement",argument:p})},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(p){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:p,handler:u,finalizer:h})},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(p){return(0,r.default)({type:"TSArrayType",elementType:p})},e.tSAsExpression=e.tsAsExpression=function(p,u){return(0,r.default)({type:"TSAsExpression",expression:p,typeAnnotation:u})},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(){let p=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:p,parameters:u,typeAnnotation:h})},e.tSConditionalType=e.tsConditionalType=function(p,u,h,d){return(0,r.default)({type:"TSConditionalType",checkType:p,extendsType:u,trueType:h,falseType:d})},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(){let p=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:p,parameters:u,typeAnnotation:h})},e.tSConstructorType=e.tsConstructorType=function(){let p=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:p,parameters:u,typeAnnotation:h})},e.tSDeclareFunction=e.tsDeclareFunction=function(){let p=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:p,typeParameters:u,params:h,returnType:d})},e.tSDeclareMethod=e.tsDeclareMethod=function(){let p=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,m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;return(0,r.default)({type:"TSDeclareMethod",decorators:p,key:u,typeParameters:h,params:d,returnType:m})},e.tSEnumDeclaration=e.tsEnumDeclaration=function(p,u){return(0,r.default)({type:"TSEnumDeclaration",id:p,members:u})},e.tSEnumMember=e.tsEnumMember=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSEnumMember",id:p,initializer:u})},e.tSExportAssignment=e.tsExportAssignment=function(p){return(0,r.default)({type:"TSExportAssignment",expression:p})},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSExpressionWithTypeArguments",expression:p,typeParameters:u})},e.tSExternalModuleReference=e.tsExternalModuleReference=function(p){return(0,r.default)({type:"TSExternalModuleReference",expression:p})},e.tSFunctionType=e.tsFunctionType=function(){let p=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:p,parameters:u,typeAnnotation:h})},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(p,u){return(0,r.default)({type:"TSImportEqualsDeclaration",id:p,moduleReference:u,isExport:null})},e.tSImportType=e.tsImportType=function(p){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:p,qualifier:u,typeParameters:h})},e.tSIndexSignature=e.tsIndexSignature=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSIndexSignature",parameters:p,typeAnnotation:u})},e.tSIndexedAccessType=e.tsIndexedAccessType=function(p,u){return(0,r.default)({type:"TSIndexedAccessType",objectType:p,indexType:u})},e.tSInferType=e.tsInferType=function(p){return(0,r.default)({type:"TSInferType",typeParameter:p})},e.tSInstantiationExpression=e.tsInstantiationExpression=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSInstantiationExpression",expression:p,typeParameters:u})},e.tSInterfaceBody=e.tsInterfaceBody=function(p){return(0,r.default)({type:"TSInterfaceBody",body:p})},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(p){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:p,typeParameters:u,extends:h,body:d})},e.tSIntersectionType=e.tsIntersectionType=function(p){return(0,r.default)({type:"TSIntersectionType",types:p})},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(p){return(0,r.default)({type:"TSLiteralType",literal:p})},e.tSMappedType=e.tsMappedType=function(p){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:p,typeAnnotation:u,nameType:h})},e.tSMethodSignature=e.tsMethodSignature=function(p){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:p,typeParameters:u,parameters:h,typeAnnotation:d,kind:null})},e.tSModuleBlock=e.tsModuleBlock=function(p){return(0,r.default)({type:"TSModuleBlock",body:p})},e.tSModuleDeclaration=e.tsModuleDeclaration=function(p,u){return(0,r.default)({type:"TSModuleDeclaration",id:p,body:u})},e.tSNamedTupleMember=e.tsNamedTupleMember=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"TSNamedTupleMember",label:p,elementType:u,optional:h})},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(p){return(0,r.default)({type:"TSNamespaceExportDeclaration",id:p})},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(p){return(0,r.default)({type:"TSNonNullExpression",expression:p})},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(p){return(0,r.default)({type:"TSOptionalType",typeAnnotation:p})},e.tSParameterProperty=e.tsParameterProperty=function(p){return(0,r.default)({type:"TSParameterProperty",parameter:p})},e.tSParenthesizedType=e.tsParenthesizedType=function(p){return(0,r.default)({type:"TSParenthesizedType",typeAnnotation:p})},e.tSPropertySignature=e.tsPropertySignature=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSPropertySignature",key:p,typeAnnotation:u,kind:null})},e.tSQualifiedName=e.tsQualifiedName=function(p,u){return(0,r.default)({type:"TSQualifiedName",left:p,right:u})},e.tSRestType=e.tsRestType=function(p){return(0,r.default)({type:"TSRestType",typeAnnotation:p})},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(p,u){return(0,r.default)({type:"TSSatisfiesExpression",expression:p,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(p){return(0,r.default)({type:"TSTupleType",elementTypes:p})},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(p){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:p,typeParameters:u,typeAnnotation:h})},e.tSTypeAnnotation=e.tsTypeAnnotation=function(p){return(0,r.default)({type:"TSTypeAnnotation",typeAnnotation:p})},e.tSTypeAssertion=e.tsTypeAssertion=function(p,u){return(0,r.default)({type:"TSTypeAssertion",typeAnnotation:p,expression:u})},e.tSTypeLiteral=e.tsTypeLiteral=function(p){return(0,r.default)({type:"TSTypeLiteral",members:p})},e.tSTypeOperator=e.tsTypeOperator=function(p){return(0,r.default)({type:"TSTypeOperator",typeAnnotation:p,operator:null})},e.tSTypeParameter=e.tsTypeParameter=function(){let p=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:p,default:u,name:h})},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(p){return(0,r.default)({type:"TSTypeParameterDeclaration",params:p})},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(p){return(0,r.default)({type:"TSTypeParameterInstantiation",params:p})},e.tSTypePredicate=e.tsTypePredicate=function(p){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:p,typeAnnotation:u,asserts:h})},e.tSTypeQuery=e.tsTypeQuery=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeQuery",exprName:p,typeParameters:u})},e.tSTypeReference=e.tsTypeReference=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"TSTypeReference",typeName:p,typeParameters:u})},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(p){return(0,r.default)({type:"TSUnionType",types:p})},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return(0,r.default)({type:"TupleExpression",elements:p})},e.tupleTypeAnnotation=function(p){return(0,r.default)({type:"TupleTypeAnnotation",types:p})},e.typeAlias=function(p){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:p,typeParameters:u,right:h})},e.typeAnnotation=function(p){return(0,r.default)({type:"TypeAnnotation",typeAnnotation:p})},e.typeCastExpression=function(p,u){return(0,r.default)({type:"TypeCastExpression",expression:p,typeAnnotation:u})},e.typeParameter=function(){let p=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:p,default:u,variance:h,name:null})},e.typeParameterDeclaration=function(p){return(0,r.default)({type:"TypeParameterDeclaration",params:p})},e.typeParameterInstantiation=function(p){return(0,r.default)({type:"TypeParameterInstantiation",params:p})},e.typeofTypeAnnotation=function(p){return(0,r.default)({type:"TypeofTypeAnnotation",argument:p})},e.unaryExpression=function(p,u){let h=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return(0,r.default)({type:"UnaryExpression",operator:p,argument:u,prefix:h})},e.unionTypeAnnotation=function(p){return(0,r.default)({type:"UnionTypeAnnotation",types:p})},e.updateExpression=function(p,u){let h=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return(0,r.default)({type:"UpdateExpression",operator:p,argument:u,prefix:h})},e.v8IntrinsicIdentifier=function(p){return(0,r.default)({type:"V8IntrinsicIdentifier",name:p})},e.variableDeclaration=function(p,u){return(0,r.default)({type:"VariableDeclaration",kind:p,declarations:u})},e.variableDeclarator=function(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return(0,r.default)({type:"VariableDeclarator",id:p,init:u})},e.variance=function(p){return(0,r.default)({type:"Variance",kind:p})},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(p,u){return(0,r.default)({type:"WhileStatement",test:p,body:u})},e.withStatement=function(p,u){return(0,r.default)({type:"WithStatement",object:p,body:u})},e.yieldExpression=function(){let p=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:p,delegate:u})};var r=n(352),a=n(58);function i(p){return(0,r.default)({type:"NumericLiteral",value:p})}function s(p){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,r.default)({type:"RegExpLiteral",pattern:p,flags:u})}function o(p){return(0,r.default)({type:"RestElement",argument:p})}function l(p){return(0,r.default)({type:"SpreadElement",argument:p})}},function(t,e,n){var r=function(a){return a&&a.Math===Math&&a};t.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof n.g=="object"&&n.g)||r(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},t=>{var e=typeof document=="object"&&document.all;t.exports=e===void 0&&e!==void 0?function(n){return typeof n=="function"||n===e}:function(n){return typeof n=="function"}},(t,e,n)=>{const r=n(3);t.exports=(a,i,s)=>new r(a,s).compare(new r(i,s))},(t,e,n)=>{class r{constructor(H,R){if(R=i(R),H instanceof r)return H.loose===!!R.loose&&H.includePrerelease===!!R.includePrerelease?H:new r(H.raw,R);if(H instanceof s)return this.raw=H.value,this.set=[[H]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=H.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((K=>this.parseRange(K.trim()))).filter((K=>K.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const K=this.set[0];if(this.set=this.set.filter((ie=>!C(ie[0]))),this.set.length===0)this.set=[K];else if(this.set.length>1){for(const ie of this.set)if(ie.length===1&&S(ie[0])){this.set=[ie];break}}}this.format()}format(){return this.range=this.set.map((H=>H.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(H){const R=((this.options.includePrerelease&&f)|(this.options.loose&&v))+":"+H,K=a.get(R);if(K)return K;const ie=this.options.loose,he=ie?p[u.HYPHENRANGELOOSE]:p[u.HYPHENRANGE];H=H.replace(he,F(this.options.includePrerelease)),o("hyphen replace",H),H=H.replace(p[u.COMPARATORTRIM],h),o("comparator trim",H),H=H.replace(p[u.TILDETRIM],d),o("tilde trim",H),H=H.replace(p[u.CARETTRIM],m),o("caret trim",H);let Le=H.split(" ").map((Ce=>g(Ce,this.options))).join(" ").split(/\s+/).map((Ce=>W(Ce,this.options)));ie&&(Le=Le.filter((Ce=>(o("loose invalid filter",Ce,this.options),!!Ce.match(p[u.COMPARATORLOOSE]))))),o("range list",Le);const X=new Map,Q=Le.map((Ce=>new s(Ce,this.options)));for(const Ce of Q){if(C(Ce))return[Ce];X.set(Ce.value,Ce)}X.size>1&&X.has("")&&X.delete("");const fe=[...X.values()];return a.set(R,fe),fe}intersects(H,R){if(!(H instanceof r))throw new TypeError("a Range is required");return this.set.some((K=>x(K,R)&&H.set.some((ie=>x(ie,R)&&K.every((he=>ie.every((Le=>he.intersects(Le,R)))))))))}test(H){if(!H)return!1;if(typeof H=="string")try{H=new l(H,this.options)}catch{return!1}for(let R=0;R$.value==="<0.0.0-0",S=$=>$.value==="",x=($,H)=>{let R=!0;const K=$.slice();let ie=K.pop();for(;R&&K.length;)R=K.every((he=>ie.intersects(he,H))),ie=K.pop();return R},g=($,H)=>(o("comp",$,H),$=T($,H),o("caret",$),$=y($,H),o("tildes",$),$=I($,H),o("xrange",$),$=G($,H),o("stars",$),$),w=$=>!$||$.toLowerCase()==="x"||$==="*",y=($,H)=>$.trim().split(/\s+/).map((R=>_(R,H))).join(" "),_=($,H)=>{const R=H.loose?p[u.TILDELOOSE]:p[u.TILDE];return $.replace(R,((K,ie,he,Le,X)=>{let Q;return o("tilde",$,K,ie,he,Le,X),w(ie)?Q="":w(he)?Q=`>=${ie}.0.0 <${+ie+1}.0.0-0`:w(Le)?Q=`>=${ie}.${he}.0 <${ie}.${+he+1}.0-0`:X?(o("replaceTilde pr",X),Q=`>=${ie}.${he}.${Le}-${X} <${ie}.${+he+1}.0-0`):Q=`>=${ie}.${he}.${Le} <${ie}.${+he+1}.0-0`,o("tilde return",Q),Q}))},T=($,H)=>$.trim().split(/\s+/).map((R=>O(R,H))).join(" "),O=($,H)=>{o("caret",$,H);const R=H.loose?p[u.CARETLOOSE]:p[u.CARET],K=H.includePrerelease?"-0":"";return $.replace(R,((ie,he,Le,X,Q)=>{let fe;return o("caret",$,ie,he,Le,X,Q),w(he)?fe="":w(Le)?fe=`>=${he}.0.0${K} <${+he+1}.0.0-0`:w(X)?fe=he==="0"?`>=${he}.${Le}.0${K} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.0${K} <${+he+1}.0.0-0`:Q?(o("replaceCaret pr",Q),fe=he==="0"?Le==="0"?`>=${he}.${Le}.${X}-${Q} <${he}.${Le}.${+X+1}-0`:`>=${he}.${Le}.${X}-${Q} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.${X}-${Q} <${+he+1}.0.0-0`):(o("no pr"),fe=he==="0"?Le==="0"?`>=${he}.${Le}.${X}${K} <${he}.${Le}.${+X+1}-0`:`>=${he}.${Le}.${X}${K} <${he}.${+Le+1}.0-0`:`>=${he}.${Le}.${X} <${+he+1}.0.0-0`),o("caret return",fe),fe}))},I=($,H)=>(o("replaceXRanges",$,H),$.split(/\s+/).map((R=>z(R,H))).join(" ")),z=($,H)=>{$=$.trim();const R=H.loose?p[u.XRANGELOOSE]:p[u.XRANGE];return $.replace(R,((K,ie,he,Le,X,Q)=>{o("xRange",$,K,ie,he,Le,X,Q);const fe=w(he),Ce=fe||w(Le),Me=Ce||w(X),ue=Me;return ie==="="&&ue&&(ie=""),Q=H.includePrerelease?"-0":"",fe?K=ie===">"||ie==="<"?"<0.0.0-0":"*":ie&&ue?(Ce&&(Le=0),X=0,ie===">"?(ie=">=",Ce?(he=+he+1,Le=0,X=0):(Le=+Le+1,X=0)):ie==="<="&&(ie="<",Ce?he=+he+1:Le=+Le+1),ie==="<"&&(Q="-0"),K=`${ie+he}.${Le}.${X}${Q}`):Ce?K=`>=${he}.0.0${Q} <${+he+1}.0.0-0`:Me&&(K=`>=${he}.${Le}.0${Q} <${he}.${+Le+1}.0-0`),o("xRange return",K),K}))},G=($,H)=>(o("replaceStars",$,H),$.trim().replace(p[u.STAR],"")),W=($,H)=>(o("replaceGTE0",$,H),$.trim().replace(p[H.includePrerelease?u.GTE0PRE:u.GTE0],"")),F=$=>(H,R,K,ie,he,Le,X,Q,fe,Ce,Me,ue,ae)=>`${R=w(K)?"":w(ie)?`>=${K}.0.0${$?"-0":""}`:w(he)?`>=${K}.${ie}.0${$?"-0":""}`:Le?`>=${R}`:`>=${R}${$?"-0":""}`} ${Q=w(fe)?"":w(Ce)?`<${+fe+1}.0.0-0`:w(Me)?`<${fe}.${+Ce+1}.0-0`:ue?`<=${fe}.${Ce}.${Me}-${ue}`:$?`<${fe}.${Ce}.${+Me+1}-0`:`<=${Q}`}`.trim(),N=($,H,R)=>{for(let K=0;K<$.length;K++)if(!$[K].test(H))return!1;if(H.prerelease.length&&!R.includePrerelease){for(let K=0;K<$.length;K++)if(o($[K].semver),$[K].semver!==s.ANY&&$[K].semver.prerelease.length>0){const ie=$[K].semver;if(ie.major===H.major&&ie.minor===H.minor&&ie.patch===H.patch)return!0}return!1}return!0}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return a.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return a.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return s.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return a.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return a.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return a.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return a.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return i.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return i.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return a.VISITOR_KEYS}});var r=n(166);n(167),n(356),n(357),n(358),n(359),n(360);var a=n(18),i=n(169),s=n(361);Object.keys(s.DEPRECATED_ALIASES).forEach((o=>{a.FLIPPED_ALIAS_KEYS[o]=a.FLIPPED_ALIAS_KEYS[s.DEPRECATED_ALIASES[o]]})),r(a.VISITOR_KEYS),r(a.ALIAS_KEYS),r(a.FLIPPED_ALIAS_KEYS),r(a.NODE_FIELDS),r(a.BUILDER_KEYS),r(a.DEPRECATED_KEYS),r(i.PLACEHOLDERS_ALIAS),r(i.PLACEHOLDERS_FLIPPED_ALIAS),e.TYPES=[].concat(Object.keys(a.VISITOR_KEYS),Object.keys(a.FLIPPED_ALIAS_KEYS),Object.keys(a.DEPRECATED_KEYS))},(t,e,n)=>{var r=n(17);function a(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function i(o,l){for(var p,u="",h=0,d=-1,m=0,f=0;f<=o.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,m=0;continue}}else if(u.length===2||u.length===1){u="",h=0,d=f,m=0;continue}}l&&(u.length>0?u+="/..":u="..",h=2)}else u.length>0?u+="/"+o.slice(d+1,f):u=o.slice(d+1,f),h=f-d-1;d=f,m=0}else p===46&&m!==-1?++m:m=-1}return u}var s={resolve:function(){for(var o,l="",p=!1,u=arguments.length-1;u>=-1&&!p;u--){var h;u>=0?h=arguments[u]:(o===void 0&&(o=r.cwd()),h=o),a(h),h.length!==0&&(l=h+"/"+l,p=h.charCodeAt(0)===47)}return l=i(l,!p),p?l.length>0?"/"+l:"/":l.length>0?l:"."},normalize:function(o){if(a(o),o.length===0)return".";var l=o.charCodeAt(0)===47,p=o.charCodeAt(o.length-1)===47;return(o=i(o,!l)).length!==0||l||(o="."),o.length>0&&p&&(o+="/"),l?"/"+o:o},isAbsolute:function(o){return a(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,l=0;l0&&(o===void 0?o=p:o+="/"+p)}return o===void 0?".":s.normalize(o)},relative:function(o,l){if(a(o),a(l),o===l||(o=s.resolve(o))===(l=s.resolve(l)))return"";for(var p=1;pf){if(l.charCodeAt(d+C)===47)return l.slice(d+C+1);if(C===0)return l.slice(d+C)}else h>f&&(o.charCodeAt(p+C)===47?v=C:C===0&&(v=0));break}var S=o.charCodeAt(p+C);if(S!==l.charCodeAt(d+C))break;S===47&&(v=C)}var x="";for(C=p+v+1;C<=u;++C)C!==u&&o.charCodeAt(C)!==47||(x.length===0?x+="..":x+="/..");return x.length>0?x+l.slice(d+v):(d+=v,l.charCodeAt(d)===47&&++d,l.slice(d))},_makeLong:function(o){return o},dirname:function(o){if(a(o),o.length===0)return".";for(var l=o.charCodeAt(0),p=l===47,u=-1,h=!0,d=o.length-1;d>=1;--d)if((l=o.charCodeAt(d))===47){if(!h){u=d;break}}else h=!1;return u===-1?p?"/":".":p&&u===1?"//":o.slice(0,u)},basename:function(o,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');a(o);var p,u=0,h=-1,d=!0;if(l!==void 0&&l.length>0&&l.length<=o.length){if(l.length===o.length&&l===o)return"";var m=l.length-1,f=-1;for(p=o.length-1;p>=0;--p){var v=o.charCodeAt(p);if(v===47){if(!d){u=p+1;break}}else f===-1&&(d=!1,f=p+1),m>=0&&(v===l.charCodeAt(m)?--m==-1&&(h=p):(m=-1,h=f))}return u===h?h=f:h===-1&&(h=o.length),o.slice(u,h)}for(p=o.length-1;p>=0;--p)if(o.charCodeAt(p)===47){if(!d){u=p+1;break}}else h===-1&&(d=!1,h=p+1);return h===-1?"":o.slice(u,h)},extname:function(o){a(o);for(var l=-1,p=0,u=-1,h=!0,d=0,m=o.length-1;m>=0;--m){var f=o.charCodeAt(m);if(f!==47)u===-1&&(h=!1,u=m+1),f===46?l===-1?l=m:d!==1&&(d=1):l!==-1&&(d=-1);else if(!h){p=m+1;break}}return l===-1||u===-1||d===0||d===1&&l===u-1&&l===p+1?"":o.slice(l,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return(function(l,p){var u=p.dir||p.root,h=p.base||(p.name||"")+(p.ext||"");return u?u===p.root?u+h:u+"/"+h:h})(0,o)},parse:function(o){a(o);var l={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return l;var p,u=o.charCodeAt(0),h=u===47;h?(l.root="/",p=1):p=0;for(var d=-1,m=0,f=-1,v=!0,C=o.length-1,S=0;C>=p;--C)if((u=o.charCodeAt(C))!==47)f===-1&&(v=!1,f=C+1),u===46?d===-1?d=C:S!==1&&(S=1):d!==-1&&(S=-1);else if(!v){m=C+1;break}return d===-1||f===-1||S===0||S===1&&d===f-1&&d===m+1?f!==-1&&(l.base=l.name=m===0&&h?o.slice(1,f):o.slice(m,f)):(m===0&&h?(l.name=o.slice(1,d),l.base=o.slice(1,f)):(l.name=o.slice(m,d),l.base=o.slice(m,f)),l.ext=o.slice(d,f)),m>0?l.dir=o.slice(0,m-1):h&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s,t.exports=s},t=>{t.exports=function(e){try{return!!e()}catch{return!0}}},(t,e,n)=>{var r=n(5),a=n(66),i=n(206),s=n(218),o=n(221),l=n(63),p=n(11),u=r.RangeError,h=r.Int8Array,d=h&&h.prototype,m=d&&d.set,f=i.aTypedArray,v=i.exportTypedArrayMethod,C=!p((function(){var x=new Uint8ClampedArray(2);return a(m,x,{length:1,0:3},1),x[1]!==3})),S=C&&i.NATIVE_ARRAY_BUFFER_VIEWS&&p((function(){var x=new h(2);return x.set(1),x.set("2",1),x[0]!==0||x[1]!==2}));v("set",(function(x){f(this);var g=o(arguments.length>1?arguments[1]:void 0,1),w=l(x);if(C)return a(m,this,w,g);var y=this.length,_=s(w),T=0;if(_+g>y)throw new u("Wrong length");for(;T<_;)this[g+T]=w[T++]}),!C||S)},t=>{const e=Symbol.for("gensync:v1:start"),n=Symbol.for("gensync:v1:suspend"),r="GENSYNC_EXPECTED_START",a="GENSYNC_EXPECTED_SUSPEND",i="GENSYNC_OPTIONS_ERROR",s="GENSYNC_RACE_NONEMPTY";function o(C,S,x,g){if(typeof x===C||g&&x===void 0)return;let w;throw w=g?`Expected opts.${S} to be either a ${C}, or undefined.`:`Expected opts.${S} to be a ${C}.`,l(w,i)}function l(C,S){return Object.assign(new Error(C),{code:S})}function p(C){let{name:S,arity:x,sync:g,async:w}=C;return v(S,x,(function*(){const y=yield e;for(var _=arguments.length,T=new Array(_),O=0;O<_;O++)T[O]=arguments[O];if(!y)return g.call(this,T);let I;try{w.call(this,T,(z=>{I||(I={value:z},y())}),(z=>{I||(I={err:z},y())}))}catch(z){I={err:z},y()}if(yield n,I.hasOwnProperty("err"))throw I.err;return I.value}))}function u(C){let S;for(;!({value:S}=C.next()).done;)d(S,C);return S}function h(C,S,x){(function g(){try{let w;for(;!({value:w}=C.next()).done;){d(w,C);let y=!0,_=!1;const T=C.next((()=>{y?_=!0:g()}));if(y=!1,m(T,C),!_)return}return S(w)}catch(w){return x(w)}})()}function d(C,S){C!==e&&f(S,l(`Got unexpected yielded value in gensync generator: ${JSON.stringify(C)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function m(C,S){let{value:x,done:g}=C;(g||x!==n)&&f(S,l(g?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(x)}. If you get this, it is probably a gensync bug.`,a))}function f(C,S){throw C.throw&&C.throw(S),S}function v(C,S,x){if(typeof C=="string"){const g=Object.getOwnPropertyDescriptor(x,"name");g&&!g.configurable||Object.defineProperty(x,"name",Object.assign(g||{},{configurable:!0,value:C}))}if(typeof S=="number"){const g=Object.getOwnPropertyDescriptor(x,"length");g&&!g.configurable||Object.defineProperty(x,"length",Object.assign(g||{},{configurable:!0,value:S}))}return x}t.exports=Object.assign((function(C){let S=C;return S=typeof C!="function"?(function(x){let{name:g,arity:w,sync:y,async:_,errback:T}=x;if(o("string","name",g,!0),o("number","arity",w,!0),o("function","sync",y),o("function","async",_,!0),o("function","errback",T,!0),_&&T)throw l("Expected one of either opts.async or opts.errback, but got _both_.",i);if(typeof g!="string"){let O;T&&T.name&&T.name!=="errback"&&(O=T.name),_&&_.name&&_.name!=="async"&&(O=_.name.replace(/Async$/,"")),y&&y.name&&y.name!=="sync"&&(O=y.name.replace(/Sync$/,"")),typeof O=="string"&&(g=O)}return typeof w!="number"&&(w=y.length),p({name:g,arity:w,sync:function(O){return y.apply(this,O)},async:function(O,I,z){_?_.apply(this,O).then(I,z):T?T.call(this,...O,((G,W)=>{G==null?I(W):z(G)})):I(y.apply(this,O))}})})(C):(function(x){return v(x.name,x.length,(function(){for(var g=arguments.length,w=new Array(g),y=0;y{h(x.apply(this,y),T,O)}))},errback:function(){for(var w=arguments.length,y=new Array(w),_=0;_T(void 0,I)),(I=>T(I)))}}})(S))}),{all:p({name:"all",arity:1,sync:function(C){return Array.from(C[0]).map((S=>u(S)))},async:function(C,S,x){const g=Array.from(C[0]);if(g.length===0)return void Promise.resolve().then((()=>S([])));let w=0;const y=g.map((()=>{}));g.forEach(((_,T)=>{h(_,(O=>{y[T]=O,w+=1,w===y.length&&S(y)}),x)}))}}),race:p({name:"race",arity:1,sync:function(C){const S=Array.from(C[0]);if(S.length===0)throw l("Must race at least 1 item",s);return u(S[0])},async:function(C,S,x){const g=Array.from(C[0]);if(g.length===0)throw l("Must race at least 1 item",s);for(const w of g)h(w,S,x)}})})},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return l.default}}),e.visitors=e.default=void 0;var r=n(57);e.visitors=r;var a=n(0),i=n(35),s=n(100),o=n(28),l=n(183),p=n(444);const{VISITOR_KEYS:u,removeProperties:h,traverseFast:d}=a;function m(v){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},S=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,g=arguments.length>4?arguments[4]:void 0,w=arguments.length>5?arguments[5]:void 0;if(v){if(!C.noScope&&!S&&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(!g&&w)throw new Error("visitSelf can only be used when providing a NodePath.");u[v.type]&&(r.explode(C),(0,s.traverseNode)(v,C,S,x,g,null,w))}}function f(v,C){v.node.type===C.type&&(C.has=!0,v.stop())}e.default=m,m.visitors=r,m.verify=r.verify,m.explode=r.explode,m.cheap=function(v,C){d(v,C)},m.node=function(v,C,S,x,g,w){(0,s.traverseNode)(v,C,S,x,g,w)},m.clearNode=function(v,C){h(v,C)},m.removeProperties=function(v,C){return d(v,m.clearNode,C),v},m.hasType=function(v,C,S){if(S!=null&&S.includes(v.type))return!1;if(v.type===C)return!0;const x={has:!1,type:C};return m(v,{noScope:!0,denylist:S,enter:f},null,x),x.has},m.cache=i},(t,e,n)=>{var r=n(11);t.exports=!r((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.declare=r,e.declarePreset=void 0;const n={assertVersion:o=>l=>{(function(p,u){if(typeof p=="number"){if(!Number.isInteger(p))throw new Error("Expected string or integer value.");p=`^${p}.0.0-0`}if(typeof p!="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 "${p}", 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:p})})(l,o.version)}};function r(o){return(l,p,u)=>{var h;let d;for(const m of Object.keys(n))l[m]||(d!=null||(d=i(l)),d[m]=n[m](d));return o((h=d)!=null?h:l,p||{},u)}}Object.assign(n,{targets:()=>()=>({}),assumption:()=>()=>{}});const a=r;function i(o){let l=null;return typeof o.version=="string"&&/^7\./.test(o.version)&&(l=Object.getPrototypeOf(o),!l||s(l,"version")&&s(l,"transform")&&s(l,"template")&&s(l,"types")||(l=null)),Object.assign({},l,o)}function s(o,l){return Object.prototype.hasOwnProperty.call(o,l)}e.declarePreset=a},t=>{var e,n,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(v){if(e===setTimeout)return setTimeout(v,0);if((e===a||!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:a}catch{e=a}try{n=typeof clearTimeout=="function"?clearTimeout:i}catch{n=i}})();var o,l=[],p=!1,u=-1;function h(){p&&o&&(p=!1,o.length?l=o.concat(l):u=-1,l.length&&d())}function d(){if(!p){var v=s(h);p=!0;for(var C=l.length;C;){for(o=l,l=[];++u1)for(var S=1;S{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=S,e.assertNodeOrValueType=function(){for(var I=arguments.length,z=new Array(I),G=0;G1&&arguments[1]!==void 0?arguments[1]:{},N=F.aliases;var $;N||(F.inherits&&(N=($=T[F.inherits].aliases)==null?void 0:$.slice()),N!=null||(N=[]),F.aliases=N);const H=z.filter((R=>!N.includes(R)));N.unshift(...H),O(W,F)}},e.typeIs=f,e.validate=m,e.validateArrayOfType=function(I){return m(C(I))},e.validateOptional=function(I){return{validate:I,optional:!0}},e.validateOptionalType=function(I){return{validate:f(I),optional:!0}},e.validateType=function(I){return m(f(I))};var r=n(42),a=n(97);const i=e.VISITOR_KEYS={},s=e.ALIAS_KEYS={},o=e.FLIPPED_ALIAS_KEYS={},l=e.NODE_FIELDS={},p=e.BUILDER_KEYS={},u=e.DEPRECATED_KEYS={},h=e.NODE_PARENT_VALIDATIONS={};function d(I){return Array.isArray(I)?"array":I===null?"null":typeof I}function m(I){return{validate:I}}function f(I){return typeof I=="string"?x(I):x(...I)}function v(I){return w(g("array"),S(I))}function C(I){return v(f(I))}function S(I){function z(G,W,F){if(Array.isArray(F))for(let N=0;N=2&&"type"in z[0]&&z[0].type==="array"&&!("each"in z[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return W}const y=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],_=["default","optional","deprecated","validate"],T={};function O(I){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const G=z.inherits&&T[z.inherits]||{};let W=z.fields;if(!W&&(W={},G.fields)){const H=Object.getOwnPropertyNames(G.fields);for(const R of H){const K=G.fields[R],ie=K.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");W[R]={default:Array.isArray(ie)?[]:ie,optional:K.optional,deprecated:K.deprecated,validate:K.validate}}}const F=z.visitor||G.visitor||[],N=z.aliases||G.aliases||[],$=z.builder||G.builder||z.visitor||[];for(const H of Object.keys(z))if(y.indexOf(H)===-1)throw new Error(`Unknown type option "${H}" on ${I}`);z.deprecatedAlias&&(u[z.deprecatedAlias]=I);for(const H of F.concat($))W[H]=W[H]||{};for(const H of Object.keys(W)){const R=W[H];R.default!==void 0&&$.indexOf(H)===-1&&(R.optional=!0),R.default===void 0?R.default=null:R.validate||R.default==null||(R.validate=g(d(R.default)));for(const K of Object.keys(R))if(_.indexOf(K)===-1)throw new Error(`Unknown field key "${K}" on ${I}.${H}`)}i[I]=z.visitor=F,p[I]=z.builder=$,l[I]=z.fields=W,s[I]=z.aliases=N,N.forEach((H=>{o[H]=o[H]||[],o[H].push(I)})),z.validate&&(h[I]=z.validate),T[I]=z}},(t,e,n)=>{var r=n(104),a=Function.prototype,i=a.call,s=r&&a.bind.bind(i,i);t.exports=r?s:function(o){return function(){return i.apply(o,arguments)}}},(t,e,n)=>{var r=n(6);t.exports=function(a){return typeof a=="object"?a!==null:r(a)}},(t,e,n)=>{function r(Ae,c){if(Ae==null)return{};var b,M,D={},Y=Object.keys(Ae);for(M=0;M=0||(D[b]=Ae[b]);return D}n(44),Object.defineProperty(e,"__esModule",{value:!0});class a{constructor(c,b,M){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=b,this.index=M}}class i{constructor(c,b){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=b}}function s(Ae,c){const{line:b,column:M,index:D}=Ae;return new a(b,M+c,D+c)}const o="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:o},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:o}};const p={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=Ae=>{let{type:c,prefix:b}=Ae;return c==="UpdateExpression"?p.UpdateExpression[String(b)]:p[c]};var h={AccessorIsGenerator:Ae=>{let{kind:c}=Ae;return`A ${c}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:Ae=>{let{kind:c}=Ae;return`Missing initializer in ${c} 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:Ae=>{let{exportName:c}=Ae;return`\`${c}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:Ae=>{let{phase:c}=Ae;return`'import.${c}(...)' can only be parsed when using the 'createImportExpressions' option.`},ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:Ae=>{let{localName:c,exportName:b}=Ae;return`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${c}' as '${b}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:Ae=>{let{type:c}=Ae;return`'${c==="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:Ae=>{let{type:c}=Ae;return`Unsyntactic ${c==="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:Ae=>{let{importName:c}=Ae;return`A string literal cannot be used as an imported binding. - Did you mean \`import { "${c}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:Ae=>{let{maxArgumentCount:c}=Ae;return`\`import()\` requires exactly ${c===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:Ae=>{let{radix:c}=Ae;return`Expected number in radix ${c}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:Ae=>{let{reservedWord:c}=Ae;return`Escape sequence in keyword ${c}.`},InvalidIdentifier:Ae=>{let{identifierName:c}=Ae;return`Invalid identifier ${c}.`},InvalidLhs:Ae=>{let{ancestor:c}=Ae;return`Invalid left-hand side in ${u(c)}.`},InvalidLhsBinding:Ae=>{let{ancestor:c}=Ae;return`Binding invalid left-hand side in ${u(c)}.`},InvalidLhsOptionalChaining:Ae=>{let{ancestor:c}=Ae;return`Invalid optional chaining in the left-hand side of ${u(c)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:Ae=>{let{unexpected:c}=Ae;return`Unexpected character '${c}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:Ae=>{let{identifierName:c}=Ae;return`Private name #${c} 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:Ae=>{let{labelName:c}=Ae;return`Label '${c}' 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:Ae=>{let{missingPlugin:c}=Ae;return`This experimental syntax requires enabling the parser plugin: ${c.map((b=>JSON.stringify(b))).join(", ")}.`},MissingOneOfPlugins:Ae=>{let{missingPlugin:c}=Ae;return`This experimental syntax requires enabling one of the following parser plugin(s): ${c.map((b=>JSON.stringify(b))).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:Ae=>{let{key:c}=Ae;return`Duplicate key "${c}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:Ae=>{let{surrogateCharCode:c}=Ae;return`An export name cannot include a lone surrogate, found '\\u${c.toString(16)}'.`},ModuleExportUndefined:Ae=>{let{localName:c}=Ae;return`Export '${c}' 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:Ae=>{let{identifierName:c}=Ae;return`Private names are only allowed in property accesses (\`obj.#${c}\`) or in \`in\` expressions (\`#${c} in obj\`).`},PrivateNameRedeclaration:Ae=>{let{identifierName:c}=Ae;return`Duplicate private name #${c}.`},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:Ae=>{let{keyword:c}=Ae;return`Unexpected keyword '${c}'.`},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:Ae=>{let{reservedWord:c}=Ae;return`Unexpected reserved word '${c}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:Ae=>{let{expected:c,unexpected:b}=Ae;return`Unexpected token${b?` '${b}'.`:""}${c?`, expected "${c}"`:""}`},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:Ae=>{let{target:c,onlyValidPropertyName:b}=Ae;return`The only valid meta property for ${c} is ${c}.${b}.`},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:Ae=>{let{identifierName:c}=Ae;return`Identifier '${c}' 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 m={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:Ae=>{let{token:c}=Ae;return`Invalid topic token ${c}. In order to use ${c} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${c}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:Ae=>{let{type:c}=Ae;return`Hack-style pipe body cannot be an unparenthesized ${u({type:c})}; 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(Ae,c,b){Object.defineProperty(Ae,c,{enumerable:!1,configurable:!0,value:b})}function S(Ae){let{toMessage:c}=Ae,b=r(Ae,f);return function M(D,Y){const we=new SyntaxError;return Object.assign(we,b,{loc:D,pos:D.index}),"missingPlugin"in Y&&Object.assign(we,{missingPlugin:Y.missingPlugin}),C(we,"clone",(function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var Ue;const{line:Ke,column:et,index:Et}=(Ue=De.loc)!=null?Ue:D;return M(new a(Ke,et,Et),Object.assign({},Y,De.details))})),C(we,"details",Y),Object.defineProperty(we,"message",{configurable:!0,get(){const De=`${c(Y)} (${D.line}:${D.column})`;return this.message=De,De},set(De){Object.defineProperty(this,"message",{value:De,writable:!0})}}),we}}function x(Ae,c){if(Array.isArray(Ae))return M=>x(M,Ae[0]);const b={};for(const M of Object.keys(Ae)){const D=Ae[M],Y=typeof D=="string"?{message:()=>D}:typeof D=="function"?{message:D}:D,{message:we}=Y,De=r(Y,v),Ue=typeof we=="string"?()=>we:we;b[M]=S(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:M,toMessage:Ue},c?{syntaxPlugin:c}:{},De))}return b}const g=Object.assign({},x(l),x(h),x({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:Ae=>{let{referenceName:c}=Ae;return`Assigning to '${c}' in strict mode.`},StrictEvalArgumentsBinding:Ae=>{let{bindingName:c}=Ae;return`Binding '${c}' 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."}),x`pipelineOperator`(m)),{defineProperty:w}=Object,y=(Ae,c)=>w(Ae,c,{enumerable:!1,value:Ae[c]});function _(Ae){return Ae.loc.start&&y(Ae.loc.start,"index"),Ae.loc.end&&y(Ae.loc.end,"index"),Ae}class T{constructor(c,b){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!b}}const O={brace:new T("{"),j_oTag:new T("...
",!0)};O.template=new T("`",!0);const I=!0,z=!0,G=!0,W=!0,F=!0;class N{constructor(c){let b=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=c,this.keyword=b.keyword,this.beforeExpr=!!b.beforeExpr,this.startsExpr=!!b.startsExpr,this.rightAssociative=!!b.rightAssociative,this.isLoop=!!b.isLoop,this.isAssign=!!b.isAssign,this.prefix=!!b.prefix,this.postfix=!!b.postfix,this.binop=b.binop!=null?b.binop:null,this.updateContext=null}}const $=new Map;function H(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};c.keyword=Ae;const b=Ce(Ae,c);return $.set(Ae,b),b}function R(Ae,c){return Ce(Ae,{beforeExpr:I,binop:c})}let K=-1;const ie=[],he=[],Le=[],X=[],Q=[],fe=[];function Ce(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var b,M,D,Y;return++K,he.push(Ae),Le.push((b=c.binop)!=null?b:-1),X.push((M=c.beforeExpr)!=null&&M),Q.push((D=c.startsExpr)!=null&&D),fe.push((Y=c.prefix)!=null&&Y),ie.push(new N(Ae,c)),K}function Me(Ae){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var b,M,D,Y;return++K,$.set(Ae,K),he.push(Ae),Le.push((b=c.binop)!=null?b:-1),X.push((M=c.beforeExpr)!=null&&M),Q.push((D=c.startsExpr)!=null&&D),fe.push((Y=c.prefix)!=null&&Y),ie.push(new N("name",c)),K}const ue={bracketL:Ce("[",{beforeExpr:I,startsExpr:z}),bracketHashL:Ce("#[",{beforeExpr:I,startsExpr:z}),bracketBarL:Ce("[|",{beforeExpr:I,startsExpr:z}),bracketR:Ce("]"),bracketBarR:Ce("|]"),braceL:Ce("{",{beforeExpr:I,startsExpr:z}),braceBarL:Ce("{|",{beforeExpr:I,startsExpr:z}),braceHashL:Ce("#{",{beforeExpr:I,startsExpr:z}),braceR:Ce("}"),braceBarR:Ce("|}"),parenL:Ce("(",{beforeExpr:I,startsExpr:z}),parenR:Ce(")"),comma:Ce(",",{beforeExpr:I}),semi:Ce(";",{beforeExpr:I}),colon:Ce(":",{beforeExpr:I}),doubleColon:Ce("::",{beforeExpr:I}),dot:Ce("."),question:Ce("?",{beforeExpr:I}),questionDot:Ce("?."),arrow:Ce("=>",{beforeExpr:I}),template:Ce("template"),ellipsis:Ce("...",{beforeExpr:I}),backQuote:Ce("`",{startsExpr:z}),dollarBraceL:Ce("${",{beforeExpr:I,startsExpr:z}),templateTail:Ce("...`",{startsExpr:z}),templateNonTail:Ce("...${",{beforeExpr:I,startsExpr:z}),at:Ce("@"),hash:Ce("#",{startsExpr:z}),interpreterDirective:Ce("#!..."),eq:Ce("=",{beforeExpr:I,isAssign:W}),assign:Ce("_=",{beforeExpr:I,isAssign:W}),slashAssign:Ce("_=",{beforeExpr:I,isAssign:W}),xorAssign:Ce("_=",{beforeExpr:I,isAssign:W}),moduloAssign:Ce("_=",{beforeExpr:I,isAssign:W}),incDec:Ce("++/--",{prefix:F,postfix:!0,startsExpr:z}),bang:Ce("!",{beforeExpr:I,prefix:F,startsExpr:z}),tilde:Ce("~",{beforeExpr:I,prefix:F,startsExpr:z}),doubleCaret:Ce("^^",{startsExpr:z}),doubleAt:Ce("@@",{startsExpr:z}),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:Ce("+/-",{beforeExpr:I,binop:9,prefix:F,startsExpr:z}),modulo:Ce("%",{binop:10,startsExpr:z}),star:Ce("*",{binop:10}),slash:R("/",10),exponent:Ce("**",{beforeExpr:I,binop:11,rightAssociative:!0}),_in:H("in",{beforeExpr:I,binop:7}),_instanceof:H("instanceof",{beforeExpr:I,binop:7}),_break:H("break"),_case:H("case",{beforeExpr:I}),_catch:H("catch"),_continue:H("continue"),_debugger:H("debugger"),_default:H("default",{beforeExpr:I}),_else:H("else",{beforeExpr:I}),_finally:H("finally"),_function:H("function",{startsExpr:z}),_if:H("if"),_return:H("return",{beforeExpr:I}),_switch:H("switch"),_throw:H("throw",{beforeExpr:I,prefix:F,startsExpr:z}),_try:H("try"),_var:H("var"),_const:H("const"),_with:H("with"),_new:H("new",{beforeExpr:I,startsExpr:z}),_this:H("this",{startsExpr:z}),_super:H("super",{startsExpr:z}),_class:H("class",{startsExpr:z}),_extends:H("extends",{beforeExpr:I}),_export:H("export"),_import:H("import",{startsExpr:z}),_null:H("null",{startsExpr:z}),_true:H("true",{startsExpr:z}),_false:H("false",{startsExpr:z}),_typeof:H("typeof",{beforeExpr:I,prefix:F,startsExpr:z}),_void:H("void",{beforeExpr:I,prefix:F,startsExpr:z}),_delete:H("delete",{beforeExpr:I,prefix:F,startsExpr:z}),_do:H("do",{isLoop:G,beforeExpr:I}),_for:H("for",{isLoop:G}),_while:H("while",{isLoop:G}),_as:Me("as",{startsExpr:z}),_assert:Me("assert",{startsExpr:z}),_async:Me("async",{startsExpr:z}),_await:Me("await",{startsExpr:z}),_defer:Me("defer",{startsExpr:z}),_from:Me("from",{startsExpr:z}),_get:Me("get",{startsExpr:z}),_let:Me("let",{startsExpr:z}),_meta:Me("meta",{startsExpr:z}),_of:Me("of",{startsExpr:z}),_sent:Me("sent",{startsExpr:z}),_set:Me("set",{startsExpr:z}),_source:Me("source",{startsExpr:z}),_static:Me("static",{startsExpr:z}),_using:Me("using",{startsExpr:z}),_yield:Me("yield",{startsExpr:z}),_asserts:Me("asserts",{startsExpr:z}),_checks:Me("checks",{startsExpr:z}),_exports:Me("exports",{startsExpr:z}),_global:Me("global",{startsExpr:z}),_implements:Me("implements",{startsExpr:z}),_intrinsic:Me("intrinsic",{startsExpr:z}),_infer:Me("infer",{startsExpr:z}),_is:Me("is",{startsExpr:z}),_mixins:Me("mixins",{startsExpr:z}),_proto:Me("proto",{startsExpr:z}),_require:Me("require",{startsExpr:z}),_satisfies:Me("satisfies",{startsExpr:z}),_keyof:Me("keyof",{startsExpr:z}),_readonly:Me("readonly",{startsExpr:z}),_unique:Me("unique",{startsExpr:z}),_abstract:Me("abstract",{startsExpr:z}),_declare:Me("declare",{startsExpr:z}),_enum:Me("enum",{startsExpr:z}),_module:Me("module",{startsExpr:z}),_namespace:Me("namespace",{startsExpr:z}),_interface:Me("interface",{startsExpr:z}),_type:Me("type",{startsExpr:z}),_opaque:Me("opaque",{startsExpr:z}),name:Ce("name",{startsExpr:z}),string:Ce("string",{startsExpr:z}),num:Ce("num",{startsExpr:z}),bigint:Ce("bigint",{startsExpr:z}),decimal:Ce("decimal",{startsExpr:z}),regexp:Ce("regexp",{startsExpr:z}),privateName:Ce("#name",{startsExpr:z}),eof:Ce("eof"),jsxName:Ce("jsxName"),jsxText:Ce("jsxText",{beforeExpr:!0}),jsxTagStart:Ce("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ce("jsxTagEnd"),placeholder:Ce("%%",{startsExpr:!0})};function ae(Ae){return Ae>=93&&Ae<=132}function ce(Ae){return Ae>=58&&Ae<=132}function oe(Ae){return Ae>=58&&Ae<=136}function ne(Ae){return Q[Ae]}function Se(Ae){return Ae>=129&&Ae<=131}function se(Ae){return Ae>=58&&Ae<=92}function ve(Ae){return he[Ae]}function xe(Ae){return Le[Ae]}function He(Ae){return Ae>=24&&Ae<=25}function ee(Ae){return ie[Ae]}ie[8].updateContext=Ae=>{Ae.pop()},ie[5].updateContext=ie[7].updateContext=ie[23].updateContext=Ae=>{Ae.push(O.brace)},ie[22].updateContext=Ae=>{Ae[Ae.length-1]===O.template?Ae.pop():Ae.push(O.template)},ie[142].updateContext=Ae=>{Ae.push(O.j_expr,O.j_oTag)};let k="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",j="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const J=new RegExp("["+k+"]"),Te=new RegExp("["+k+j+"]");k=j=null;const Ie=[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],Pe=[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 de(Ae,c){let b=65536;for(let M=0,D=c.length;MAe)return!1;if(b+=c[M+1],b>=Ae)return!0}return!1}function ke(Ae){return Ae<65?Ae===36:Ae<=90||(Ae<97?Ae===95:Ae<=122||(Ae<=65535?Ae>=170&&J.test(String.fromCharCode(Ae)):de(Ae,Ie)))}function qe(Ae){return Ae<48?Ae===36:Ae<58||!(Ae<65)&&(Ae<=90||(Ae<97?Ae===95:Ae<=122||(Ae<=65535?Ae>=170&&Te.test(String.fromCharCode(Ae)):de(Ae,Ie)||de(Ae,Pe))))}const nt=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"]),ct=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),yt=new Set(["eval","arguments"]);function Qt(Ae,c){return c&&Ae==="await"||Ae==="enum"}function Bt(Ae,c){return Qt(Ae,c)||ct.has(Ae)}function sr(Ae){return yt.has(Ae)}function gr(Ae,c){return Bt(Ae,c)||sr(Ae)}const Ct=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 Qr{constructor(c){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=c}}class Jr{constructor(c,b){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=b}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 c=this.currentThisScopeFlags();return(64&c)>0&&(2&c)==0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){const{flags:b}=this.scopeStack[c];if(128&b)return!0;if(451&b)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new Qr(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(130&c.flags||!this.parser.inModule&&1&c.flags)}declareName(c,b,M){let D=this.currentScope();if(8&b||16&b){this.checkRedeclarationInScope(D,c,b,M);let Y=D.names.get(c)||0;16&b?Y|=4:(D.firstLexicalName||(D.firstLexicalName=c),Y|=2),D.names.set(c,Y),8&b&&this.maybeExportDefined(D,c)}else if(4&b)for(let Y=this.scopeStack.length-1;Y>=0&&(D=this.scopeStack[Y],this.checkRedeclarationInScope(D,c,b,M),D.names.set(c,1|(D.names.get(c)||0)),this.maybeExportDefined(D,c),!(387&D.flags));--Y);this.parser.inModule&&1&D.flags&&this.undefinedExports.delete(c)}maybeExportDefined(c,b){this.parser.inModule&&1&c.flags&&this.undefinedExports.delete(b)}checkRedeclarationInScope(c,b,M,D){this.isRedeclaredInScope(c,b,M)&&this.parser.raise(g.VarRedeclaration,D,{identifierName:b})}isRedeclaredInScope(c,b,M){if(!(1&M))return!1;if(8&M)return c.names.has(b);const D=c.names.get(b);return 16&M?(2&D)>0||!this.treatFunctionsAsVarInScope(c)&&(1&D)>0:(2&D)>0&&!(8&c.flags&&c.firstLexicalName===b)||!this.treatFunctionsAsVarInScope(c)&&(4&D)>0}checkLocalExport(c){const{name:b}=c;this.scopeStack[0].names.has(b)||this.undefinedExports.set(b,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:b}=this.scopeStack[c];if(387&b)return b}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){const{flags:b}=this.scopeStack[c];if(451&b&&!(4&b))return b}}}class qr extends Qr{constructor(){super(...arguments),this.declareFunctions=new Set}}class un extends Jr{createScope(c){return new qr(c)}declareName(c,b,M){const D=this.currentScope();if(2048&b)return this.checkRedeclarationInScope(D,c,b,M),this.maybeExportDefined(D,c),void D.declareFunctions.add(c);super.declareName(c,b,M)}isRedeclaredInScope(c,b,M){if(super.isRedeclaredInScope(c,b,M))return!0;if(2048&M&&!c.declareFunctions.has(b)){const D=c.names.get(b);return(4&D)>0||(2&D)>0}return!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}}class nn{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{const[b,M]=c;if(!this.hasPlugin(b))return!1;const D=this.plugins.get(b);for(const Y of Object.keys(M))if(D?.[Y]!==M[Y])return!1;return!0}}getPluginOption(c,b){var M;return(M=this.plugins.get(c))==null?void 0:M[b]}}function is(Ae,c){Ae.trailingComments===void 0?Ae.trailingComments=c:Ae.trailingComments.unshift(...c)}function fr(Ae,c){Ae.innerComments===void 0?Ae.innerComments=c:Ae.innerComments.unshift(...c)}function Bn(Ae,c,b){let M=null,D=c.length;for(;M===null&&D>0;)M=c[--D];M===null||M.start>b.start?fr(Ae,b.comments):is(M,b.comments)}class gs extends nn{addComment(c){this.filename&&(c.loc.filename=this.filename);const{commentsLen:b}=this.state;this.comments.length!=b&&(this.comments.length=b),this.comments.push(c),this.state.commentsLen++}processComment(c){const{commentStack:b}=this.state,M=b.length;if(M===0)return;let D=M-1;const Y=b[D];Y.start===c.end&&(Y.leadingNode=c,D--);const{start:we}=c;for(;D>=0;D--){const De=b[D],Ue=De.end;if(!(Ue>we)){Ue===we&&(De.trailingNode=c);break}De.containingNode=c,this.finalizeComment(De),b.splice(D,1)}}finalizeComment(c){const{comments:b}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&is(c.leadingNode,b),c.trailingNode!==null&&(function(M,D){M.leadingComments===void 0?M.leadingComments=D:M.leadingComments.unshift(...D)})(c.trailingNode,b);else{const{containingNode:M,start:D}=c;if(this.input.charCodeAt(D-1)===44)switch(M.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Bn(M,M.properties,c);break;case"CallExpression":case"OptionalCallExpression":Bn(M,M.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Bn(M,M.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Bn(M,M.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":Bn(M,M.specifiers,c);break;default:fr(M,b)}else fr(M,b)}}finalizeRemainingComments(){const{commentStack:c}=this.state;for(let b=c.length-1;b>=0;b--)this.finalizeComment(c[b]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){const{commentStack:b}=this.state,{length:M}=b;if(M===0)return;const D=b[M-1];D.leadingNode===c&&(D.leadingNode=null)}resetPreviousIdentifierLeadingComments(c){const{commentStack:b}=this.state,{length:M}=b;M!==0&&(b[M-1].trailingNode===c?b[M-1].trailingNode=null:M>=2&&b[M-2].trailingNode===c&&(b[M-2].trailingNode=null))}takeSurroundingComments(c,b,M){const{commentStack:D}=this.state,Y=D.length;if(Y===0)return;let we=Y-1;for(;we>=0;we--){const De=D[we],Ue=De.end;if(De.start===M)De.leadingNode=c;else if(Ue===b)De.trailingNode=c;else if(Ue0}set strict(c){c?this.flags|=1:this.flags&=-2}init(c){let{strictMode:b,sourceType:M,startLine:D,startColumn:Y}=c;this.strict=b!==!1&&(b===!0||M==="module"),this.curLine=D,this.lineStart=-Y,this.startLoc=this.endLoc=new a(D,Y,0)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(c){c?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(c){c?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(c){c?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(c){c?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(c){c?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(c){c?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(c){c?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(c){c?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(c){c?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(c){c?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(c){c?this.flags|=2048:this.flags&=-2049}curPosition(){return new a(this.curLine,this.pos-this.lineStart,this.pos)}clone(){const c=new Ut;return c.flags=this.flags,c.curLine=this.curLine,c.lineStart=this.lineStart,c.startLoc=this.startLoc,c.endLoc=this.endLoc,c.errors=this.errors.slice(),c.potentialArrowAt=this.potentialArrowAt,c.noArrowAt=this.noArrowAt.slice(),c.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),c.topicContext=this.topicContext,c.labels=this.labels.slice(),c.commentsLen=this.commentsLen,c.commentStack=this.commentStack.slice(),c.pos=this.pos,c.type=this.type,c.value=this.value,c.start=this.start,c.end=this.end,c.lastTokEndLoc=this.lastTokEndLoc,c.lastTokStartLoc=this.lastTokStartLoc,c.context=this.context.slice(),c.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,c.strictErrors=this.strictErrors,c.tokensLength=this.tokensLength,c}}var dr=function(Ae){return Ae>=48&&Ae<=57};const Zt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ut={bin:Ae=>Ae===48||Ae===49,oct:Ae=>Ae>=48&&Ae<=55,dec:Ae=>Ae>=48&&Ae<=57,hex:Ae=>Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102};function Tt(Ae,c,b,M,D,Y){const we=b,De=M,Ue=D;let Ke="",et=null,Et=b;const{length:Xt}=c;for(;;){if(b>=Xt){Y.unterminated(we,De,Ue),Ke+=c.slice(Et,b);break}const Kt=c.charCodeAt(b);if(wt(Ae,Kt,c,b)){Ke+=c.slice(Et,b);break}if(Kt===92){Ke+=c.slice(Et,b);const Tr=Dt(c,b,M,D,Ae==="template",Y);Tr.ch!==null||et?Ke+=Tr.ch:et={pos:b,lineStart:M,curLine:D},{pos:b,lineStart:M,curLine:D}=Tr,Et=b}else Kt===8232||Kt===8233?(++D,M=++b):Kt===10||Kt===13?Ae==="template"?(Ke+=c.slice(Et,b)+` `,++b,Kt===13&&c.charCodeAt(b)===10&&++b,++D,Et=M=b):Y.unterminated(we,De,Ue):++b}return{pos:b,str:Ke,firstInvalidLoc:et,lineStart:M,curLine:D,containsInvalid:!!et}}function wt(Ae,c,b,M){return Ae==="template"?c===96||c===36&&b.charCodeAt(M+1)===123:c===(Ae==="double"?34:39)}function Dt(Ae,c,b,M,D,Y){const we=!D;c++;const De=Ke=>({pos:c,ch:Ke,lineStart:b,curLine:M}),Ue=Ae.charCodeAt(c++);switch(Ue){case 110:return De(` `);case 114:return De("\r");case 120:{let Ke;return{code:Ke,pos:c}=nr(Ae,c,b,M,2,!1,we,Y),De(Ke===null?null:String.fromCharCode(Ke))}case 117:{let Ke;return{code:Ke,pos:c}=tr(Ae,c,b,M,we,Y),De(Ke===null?null:String.fromCodePoint(Ke))}case 116:return De(" ");case 98:return De("\b");case 118:return De("\v");case 102:return De("\f");case 13:Ae.charCodeAt(c)===10&&++c;case 10:b=c,++M;case 8232:case 8233:return De("");case 56:case 57:if(D)return De(null);Y.strictNumericEscape(c-1,b,M);default:if(Ue>=48&&Ue<=55){const Ke=c-1;let et=Ae.slice(Ke,c+2).match(/^[0-7]+/)[0],Et=parseInt(et,8);Et>255&&(et=et.slice(0,-1),Et=parseInt(et,8)),c+=et.length-1;const Xt=Ae.charCodeAt(c);if(et!=="0"||Xt===56||Xt===57){if(D)return De(null);Y.strictNumericEscape(Ke,b,M)}return De(String.fromCharCode(Et))}return De(String.fromCharCode(Ue))}}function nr(Ae,c,b,M,D,Y,we,De){const Ue=c;let Ke;return{n:Ke,pos:c}=Ar(Ae,c,b,M,16,D,Y,!1,De,!we),Ke===null&&(we?De.invalidEscapeSequence(Ue,b,M):c=Ue-1),{code:Ke,pos:c}}function Ar(Ae,c,b,M,D,Y,we,De,Ue,Ke){const et=c,Et=D===16?Zt.hex:Zt.decBinOct,Xt=D===16?ut.hex:D===10?ut.dec:D===8?ut.oct:ut.bin;let Kt=!1,Tr=0;for(let Mn=0,mn=Y??1/0;Mn=97?kn-97+10:kn>=65?kn-65+10:dr(kn)?kn-48:1/0,Gn>=D){if(Gn<=9&&Ke)return{n:null,pos:c};if(Gn<=9&&Ue.invalidDigit(c,b,M,D))Gn=0;else{if(!we)break;Gn=0,Kt=!0}}++c,Tr=Tr*D+Gn}else{const Ii=Ae.charCodeAt(c-1),Vn=Ae.charCodeAt(c+1);if(De){if(Number.isNaN(Vn)||!Xt(Vn)||Et.has(Ii)||Et.has(Vn)){if(Ke)return{n:null,pos:c};Ue.unexpectedNumericSeparator(c,b,M)}}else{if(Ke)return{n:null,pos:c};Ue.numericSeparatorInEscapeSequence(c,b,M)}++c}}return c===et||Y!=null&&c-et!==Y||Kt?{n:null,pos:c}:{n:Tr,pos:c}}function tr(Ae,c,b,M,D,Y){let we;if(Ae.charCodeAt(c)===123){if(++c,{code:we,pos:c}=nr(Ae,c,b,M,Ae.indexOf("}",c)-c,!0,D,Y),++c,we!==null&&we>1114111){if(!D)return{code:null,pos:c};Y.invalidCodePoint(c,b,M)}}else({code:we,pos:c}=nr(Ae,c,b,M,4,!1,D,Y));return{code:we,pos:c}}function xr(Ae,c,b){return new a(b,Ae-c,Ae)}const sn=new Set([103,109,115,105,121,117,100,118]);class wr{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new i(c.startLoc,c.endLoc)}}class Rr extends gs{constructor(c,b){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(M,D,Y,we)=>!!this.options.errorRecovery&&(this.raise(g.InvalidDigit,xr(M,D,Y),{radix:we}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(M,D,Y)=>{this.recordStrictModeErrors(g.StrictNumericEscape,xr(M,D,Y))},unterminated:(M,D,Y)=>{throw this.raise(g.UnterminatedString,xr(M-1,D,Y))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(M,D,Y)=>{throw this.raise(g.UnterminatedTemplate,xr(M,D,Y))}}),this.state=new Ut,this.state.init(c),this.input=b,this.length=b.length,this.comments=[],this.isLookahead=!1}pushToken(c){this.tokens.length=this.state.tokensLength,this.tokens.push(c),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new wr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return!!this.match(c)&&(this.next(),!0)}match(c){return this.state.type===c}createLookaheadState(c){return{pos:c.pos,value:null,type:c.type,start:c.start,end:c.end,context:[this.curContext()],inType:c.inType,startLoc:c.startLoc,lastTokEndLoc:c.lastTokEndLoc,curLine:c.curLine,lineStart:c.lineStart,curPosition:c.curPosition}}lookahead(){const c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const b=this.state;return this.state=c,b}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return ot.lastIndex=c,ot.test(this.input)?ot.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(c){return At.lastIndex=c,At.test(this.input)?At.lastIndex:c}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(c){let b=this.input.charCodeAt(c);if((64512&b)==55296&&++c{let[M,D]=b;return this.raise(M,D)})),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(c){let b;this.isLookahead||(b=this.state.curPosition());const M=this.state.pos,D=this.input.indexOf(c,M+2);if(D===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=D+c.length,ft.lastIndex=M+2;ft.test(this.input)&&ft.lastIndex<=D;)++this.state.curLine,this.state.lineStart=ft.lastIndex;if(this.isLookahead)return;const Y={type:"CommentBlock",value:this.input.slice(M+2,D),start:M,end:D+c.length,loc:new i(b,this.state.curPosition())};return this.options.tokens&&this.pushToken(Y),Y}skipLineComment(c){const b=this.state.pos;let M;this.isLookahead||(M=this.state.curPosition());let D=this.input.charCodeAt(this.state.pos+=c);if(this.state.posc))break e;{const Y=this.skipLineComment(3);Y!==void 0&&(this.addComment(Y),this.options.attachComment&&b.push(Y))}}else{if(M!==60||this.inModule||!this.options.annexB)break e;{const D=this.state.pos;if(this.input.charCodeAt(D+1)!==33||this.input.charCodeAt(D+2)!==45||this.input.charCodeAt(D+3)!==45)break e;{const Y=this.skipLineComment(4);Y!==void 0&&(this.addComment(Y),this.options.attachComment&&b.push(Y))}}}}}if(b.length>0){const M={start:c,end:this.state.pos,comments:b,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(M)}}finishToken(c,b){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const M=this.state.type;this.state.type=c,this.state.value=b,this.isLookahead||this.updateContext(M)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const c=this.state.pos+1,b=this.codePointAtPos(c);if(b>=48&&b<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(b===123||b===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(b===123?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,b===123?this.finishToken(7):this.finishToken(1)}else ke(b)?(++this.state.pos,this.finishToken(138,this.readWord1(b))):b===92?(++this.state.pos,this.finishToken(138,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const c=this.input.charCodeAt(this.state.pos+1);c>=48&&c<=57?this.readNumber(!0):c===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 c=this.input.charCodeAt(this.state.pos+1);if(c!==33)return!1;const b=this.state.pos;for(this.state.pos+=1;!dt(c)&&++this.state.pos=48&&b<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(c){switch(c){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(g.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(g.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 b=this.input.charCodeAt(this.state.pos+1);if(b===120||b===88)return void this.readRadixNumber(16);if(b===111||b===79)return void this.readRadixNumber(8);if(b===98||b===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(c);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(c);case 124:case 38:return void this.readToken_pipe_amp(c);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(c);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(c);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(ke(c))return void this.readWord(c)}throw this.raise(g.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(c)})}finishOp(c,b){const M=this.input.slice(this.state.pos,this.state.pos+b);this.state.pos+=b,this.finishToken(c,M)}readRegexp(){const c=this.state.startLoc,b=this.state.start+1;let M,D,{pos:Y}=this.state;for(;;++Y){if(Y>=this.length)throw this.raise(g.UnterminatedRegExp,s(c,1));const Ke=this.input.charCodeAt(Y);if(dt(Ke))throw this.raise(g.UnterminatedRegExp,s(c,1));if(M)M=!1;else{if(Ke===91)D=!0;else if(Ke===93&&D)D=!1;else if(Ke===47&&!D)break;M=Ke===92}}const we=this.input.slice(b,Y);++Y;let De="";const Ue=()=>s(c,Y+2-b);for(;Y2&&arguments[2]!==void 0&&arguments[2],D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];const{n:Y,pos:we}=Ar(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,b,M,D,this.errorHandlers_readInt,!1);return this.state.pos=we,Y}readRadixNumber(c){const b=this.state.curPosition();let M=!1;this.state.pos+=2;const D=this.readInt(c);D==null&&this.raise(g.InvalidDigit,s(b,2),{radix:c});const Y=this.input.charCodeAt(this.state.pos);if(Y===110)++this.state.pos,M=!0;else if(Y===109)throw this.raise(g.InvalidDecimal,b);if(ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(M){const we=this.input.slice(b.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(135,we)}else this.finishToken(134,D)}readNumber(c){const b=this.state.pos,M=this.state.curPosition();let D=!1,Y=!1,we=!1,De=!1,Ue=!1;c||this.readInt(10)!==null||this.raise(g.InvalidNumber,this.state.curPosition());const Ke=this.state.pos-b>=2&&this.input.charCodeAt(b)===48;if(Ke){const Kt=this.input.slice(b,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,M),!this.state.strict){const Tr=Kt.indexOf("_");Tr>0&&this.raise(g.ZeroDigitNumericSeparator,s(M,Tr))}Ue=Ke&&!/[89]/.test(Kt)}let et=this.input.charCodeAt(this.state.pos);if(et!==46||Ue||(++this.state.pos,this.readInt(10),D=!0,et=this.input.charCodeAt(this.state.pos)),et!==69&&et!==101||Ue||(et=this.input.charCodeAt(++this.state.pos),et!==43&&et!==45||++this.state.pos,this.readInt(10)===null&&this.raise(g.InvalidOrMissingExponent,M),D=!0,De=!0,et=this.input.charCodeAt(this.state.pos)),et===110&&((D||Ke)&&this.raise(g.InvalidBigIntLiteral,M),++this.state.pos,Y=!0),et===109&&(this.expectPlugin("decimal",this.state.curPosition()),(De||Ke)&&this.raise(g.InvalidDecimal,M),++this.state.pos,we=!0),ke(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const Et=this.input.slice(b,this.state.pos).replace(/[_mn]/g,"");if(Y)return void this.finishToken(135,Et);if(we)return void this.finishToken(136,Et);const Xt=Ue?parseInt(Et,8):parseFloat(Et);this.finishToken(134,Xt)}readCodePoint(c){const{code:b,pos:M}=tr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=M,b}readString(c){const{str:b,pos:M,curLine:D,lineStart:Y}=Tt(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=M+1,this.state.lineStart=Y,this.state.curLine=D,this.finishToken(133,b)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const c=this.input[this.state.pos],{str:b,firstInvalidLoc:M,pos:D,curLine:Y,lineStart:we}=Tt("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=D+1,this.state.lineStart=we,this.state.curLine=Y,M&&(this.state.firstInvalidTemplateEscapePos=new a(M.curLine,M.pos-M.lineStart,M.pos)),this.input.codePointAt(D)===96?this.finishToken(24,M?null:c+b+"`"):(this.state.pos++,this.finishToken(25,M?null:c+b+"${"))}recordStrictModeErrors(c,b){const M=b.index;this.state.strict&&!this.state.strictErrors.has(M)?this.raise(c,b):this.state.strictErrors.set(M,[c,b])}readWord1(c){this.state.containsEsc=!1;let b="";const M=this.state.pos;let D=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos2&&arguments[2]!==void 0?arguments[2]:{};const D=c(b instanceof a?b:b.loc.start,M);if(!this.options.errorRecovery)throw D;return this.isLookahead||this.state.errors.push(D),D}raiseOverwrite(c,b){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const D=b instanceof a?b:b.loc.start,Y=D.index,we=this.state.errors;for(let De=we.length-1;De>=0;De--){const Ue=we[De];if(Ue.loc.index===Y)return we[De]=c(D,M);if(Ue.loc.indexthis.hasPlugin(b))))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:c})}errorBuilder(c){return(b,M,D)=>{this.raise(c,xr(b,M,D))}}}class jr{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class On{constructor(c){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=c}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new jr)}exit(){const c=this.stack.pop(),b=this.current();for(const[M,D]of Array.from(c.undefinedPrivateNames))b?b.undefinedPrivateNames.has(M)||b.undefinedPrivateNames.set(M,D):this.parser.raise(g.InvalidPrivateFieldResolution,D,{identifierName:M})}declarePrivateName(c,b,M){const{privateNames:D,loneAccessors:Y,undefinedPrivateNames:we}=this.current();let De=D.has(c);if(3&b){const Ue=De&&Y.get(c);Ue?(De=(3&Ue)==(3&b)||(4&Ue)!=(4&b),De||Y.delete(c)):De||Y.set(c,b)}De&&this.parser.raise(g.PrivateNameRedeclaration,M,{identifierName:c}),D.add(c),we.delete(c)}usePrivateName(c,b){let M;for(M of this.stack)if(M.privateNames.has(c))return;M?M.undefinedPrivateNames.set(c,b):this.parser.raise(g.InvalidPrivateFieldResolution,b,{identifierName:c})}}class Hr{constructor(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.type=c}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class vr extends Hr{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,b){const M=b.index;this.declarationErrors.set(M,[c,b])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}}class Zr{constructor(c){this.parser=void 0,this.stack=[new Hr],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,b){const M=b.loc.start,{stack:D}=this;let Y=D.length-1,we=D[Y];for(;!we.isCertainlyParameterDeclaration();){if(!we.canBeArrowParameterDeclaration())return;we.recordDeclarationError(c,M),we=D[--Y]}this.parser.raise(c,M)}recordArrowParameterBindingError(c,b){const{stack:M}=this,D=M[M.length-1],Y=b.loc.start;if(D.isCertainlyParameterDeclaration())this.parser.raise(c,Y);else{if(!D.canBeArrowParameterDeclaration())return;D.recordDeclarationError(c,Y)}}recordAsyncArrowParametersError(c){const{stack:b}=this;let M=b.length-1,D=b[M];for(;D.canBeArrowParameterDeclaration();)D.type===2&&D.recordDeclarationError(g.AwaitBindingIdentifier,c),D=b[--M]}validateAsPattern(){const{stack:c}=this,b=c[c.length-1];b.canBeArrowParameterDeclaration()&&b.iterateErrors((M=>{let[D,Y]=M;this.parser.raise(D,Y);let we=c.length-2,De=c[we];for(;De.canBeArrowParameterDeclaration();)De.clearDeclarationError(Y.index),De=c[--we]}))}}function bn(){return new Hr}class hs{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}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 Xn(Ae,c){return(Ae?2:0)|(c?1:0)}class Cn extends Rr{addExtra(c,b,M){let D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!c)return;const Y=c.extra=c.extra||{};D?Y[b]=M:Object.defineProperty(Y,b,{enumerable:D,value:M})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,b){const M=c+b.length;if(this.input.slice(c,M)===b){const D=this.input.charCodeAt(M);return!(qe(D)||(64512&D)==55296)}return!1}isLookaheadContextual(c){const b=this.nextTokenStart();return this.isUnparsedContextual(b,c)}eatContextual(c){return!!this.isContextual(c)&&(this.next(),!0)}expectContextual(c,b){if(!this.eatContextual(c)){if(b!=null)throw this.raise(b,this.state.startLoc);this.unexpected(null,c)}}canInsertSemicolon(){return this.match(139)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Fn.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Lt.lastIndex=this.state.end,Lt.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(g.MissingSemicolon,this.state.lastTokEndLoc)}expect(c,b){this.eat(c)||this.unexpected(b,c)}tryParse(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone();const M={node:null};try{const D=c((function(){let Y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw M.node=Y,M}));if(this.state.errors.length>b.errors.length){const Y=this.state;return this.state=b,this.state.tokensLength=Y.tokensLength,{node:D,error:Y.errors[b.errors.length],thrown:!1,aborted:!1,failState:Y}}return{node:D,error:null,thrown:!1,aborted:!1,failState:null}}catch(D){const Y=this.state;if(this.state=b,D instanceof SyntaxError)return{node:null,error:D,thrown:!0,aborted:!1,failState:Y};if(D===M)return{node:M.node,error:null,thrown:!1,aborted:!0,failState:Y};throw D}}checkExpressionErrors(c,b){if(!c)return!1;const{shorthandAssignLoc:M,doubleProtoLoc:D,privateKeyLoc:Y,optionalParametersLoc:we}=c;if(!b)return!!(M||D||we||Y);M!=null&&this.raise(g.InvalidCoverInitializedName,M),D!=null&&this.raise(g.DuplicateProto,D),Y!=null&&this.raise(g.UnexpectedPrivateField,Y),we!=null&&this.unexpected(we)}isLiteralPropertyName(){return oe(this.state.type)}isPrivateName(c){return c.type==="PrivateName"}getPrivateNameSV(c){return c.id.name}hasPropertyAsPrivateName(c){return(c.type==="MemberExpression"||c.type==="OptionalMemberExpression")&&this.isPrivateName(c.property)}isObjectProperty(c){return c.type==="ObjectProperty"}isObjectMethod(c){return c.type==="ObjectMethod"}initializeScopes(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module";const b=this.state.labels;this.state.labels=[];const M=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const D=this.inModule;this.inModule=c;const Y=this.scope,we=this.getScopeHandler();this.scope=new we(this,c);const De=this.prodParam;this.prodParam=new hs;const Ue=this.classScope;this.classScope=new On(this);const Ke=this.expressionScope;return this.expressionScope=new Zr(this),()=>{this.state.labels=b,this.exportedIdentifiers=M,this.inModule=D,this.scope=Y,this.prodParam=De,this.classScope=Ue,this.expressionScope=Ke}}enterInitialScopes(){let c=0;this.inModule&&(c|=2),this.scope.enter(1),this.prodParam.enter(c)}checkDestructuringPrivate(c){const{privateKeyLoc:b}=c;b!==null&&this.expectPlugin("destructuringPrivate",b)}}class os{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Tn{constructor(c,b,M){this.type="",this.start=b,this.end=0,this.loc=new i(M),c!=null&&c.options.ranges&&(this.range=[b,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}}const Dn=Tn.prototype;function Yn(Ae){const{type:c,start:b,end:M,loc:D,range:Y,extra:we,name:De}=Ae,Ue=Object.create(Dn);return Ue.type=c,Ue.start=b,Ue.end=M,Ue.loc=D,Ue.range=Y,Ue.extra=we,Ue.name=De,c==="Placeholder"&&(Ue.expectedNode=Ae.expectedNode),Ue}Dn.__clone=function(){const Ae=new Tn(void 0,this.start,this.loc.start),c=Object.keys(this);for(let b=0,M=c.length;b1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;c.end=b.index,c.loc.end=b,this.options.ranges&&(c.range[1]=b.index)}resetStartLocationFromNode(c,b){this.resetStartLocation(c,b.loc.start)}}const $n=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ft=x`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:Ae=>{let{reservedType:c}=Ae;return`Cannot overwrite reserved type ${c}.`},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:Ae=>{let{memberName:c,enumName:b}=Ae;return`Boolean enum members need to be initialized. Use either \`${c} = true,\` or \`${c} = false,\` in enum \`${b}\`.`},EnumDuplicateMemberName:Ae=>{let{memberName:c,enumName:b}=Ae;return`Enum member names need to be unique, but the name \`${c}\` has already been used before in enum \`${b}\`.`},EnumInconsistentMemberValues:Ae=>{let{enumName:c}=Ae;return`Enum \`${c}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:Ae=>{let{invalidEnumType:c,enumName:b}=Ae;return`Enum type \`${c}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${b}\`.`},EnumInvalidExplicitTypeUnknownSupplied:Ae=>{let{enumName:c}=Ae;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${c}\`.`},EnumInvalidMemberInitializerPrimaryType:Ae=>{let{enumName:c,memberName:b,explicitType:M}=Ae;return`Enum \`${c}\` has type \`${M}\`, so the initializer of \`${b}\` needs to be a ${M} literal.`},EnumInvalidMemberInitializerSymbolType:Ae=>{let{enumName:c,memberName:b}=Ae;return`Symbol enum members cannot be initialized. Use \`${b},\` in enum \`${c}\`.`},EnumInvalidMemberInitializerUnknownType:Ae=>{let{enumName:c,memberName:b}=Ae;return`The enum member initializer for \`${b}\` needs to be a literal (either a boolean, number, or string) in enum \`${c}\`.`},EnumInvalidMemberName:Ae=>{let{enumName:c,memberName:b,suggestion:M}=Ae;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${b}\`, consider using \`${M}\`, in enum \`${c}\`.`},EnumNumberMemberNotInitialized:Ae=>{let{enumName:c,memberName:b}=Ae;return`Number enum members need to be initialized, e.g. \`${b} = 1\` in enum \`${c}\`.`},EnumStringMemberInconsistentlyInitialized:Ae=>{let{enumName:c}=Ae;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${c}\`.`},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:Ae=>{let{reservedType:c}=Ae;return`Unexpected reserved type ${c}.`},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:Ae=>{let{unsupportedExportKind:c,suggestion:b}=Ae;return`\`declare export ${c}\` is not supported. Use \`${b}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ks(Ae){return Ae.importKind==="type"||Ae.importKind==="typeof"}const Bs={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},vs=/\*?\s*@((?:no)?flow)\b/,Xr={__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:"♦"},Jn=x`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:Ae=>{let{openingTagName:c}=Ae;return`Expected corresponding JSX closing tag for <${c}>.`},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:Ae=>{let{unexpected:c,HTMLEntity:b}=Ae;return`Unexpected token \`${c}\`. Did you mean \`${b}\` or \`{'${c}'}\`?`},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 _r(Ae){return!!Ae&&(Ae.type==="JSXOpeningFragment"||Ae.type==="JSXClosingFragment")}function fn(Ae){if(Ae.type==="JSXIdentifier")return Ae.name;if(Ae.type==="JSXNamespacedName")return Ae.namespace.name+":"+Ae.name.name;if(Ae.type==="JSXMemberExpression")return fn(Ae.object)+"."+fn(Ae.property);throw new Error("Node had unexpected type: "+Ae.type)}class $t extends Qr{constructor(){super(...arguments),this.tsNames=new Map}}class In extends Jr{constructor(){super(...arguments),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new $t(c)}enter(c){c==256&&this.importsStack.push(new Set),super.enter(c)}exit(){const c=super.exit();return c==256&&this.importsStack.pop(),c}hasImport(c,b){const M=this.importsStack.length;if(this.importsStack[M-1].has(c))return!0;if(!b&&M>1){for(let D=0;D0?!(256&M)||!!(512&M)!=(4&D)>0:128&M&&(8&D)>0?!!(2&c.names.get(b))&&!!(1&M):!!(2&M&&(1&D)>0)||super.isRedeclaredInScope(c,b,M)}checkLocalExport(c){const{name:b}=c;if(!this.hasImport(b)){for(let M=this.scopeStack.length-1;M>=0;M--){const D=this.scopeStack[M].tsNames.get(b);if((1&D)>0||(16&D)>0)return}super.checkLocalExport(c)}}}const Nn=Ae=>Ae.type==="ParenthesizedExpression"?Nn(Ae.expression):Ae;class Un extends Ei{toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];var M,D;let Y;switch((c.type==="ParenthesizedExpression"||(M=c.extra)!=null&&M.parenthesized)&&(Y=Nn(c),b?Y.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,c):Y.type==="MemberExpression"||this.isOptionalMemberExpression(Y)||this.raise(g.InvalidParenthesizedAssignment,c):this.raise(g.InvalidParenthesizedAssignment,c)),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let De=0,Ue=c.properties.length,Ke=Ue-1;DeD.type!=="ObjectMethod"&&(Y===M||D.type!=="SpreadElement")&&this.isAssignable(D)))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every((M=>M===null||this.isAssignable(M)));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!b;default:return!1}}toReferencedList(c,b){return c}toReferencedListDeep(c,b){this.toReferencedList(c,b);for(const M of c)M?.type==="ArrayExpression"&&this.toReferencedListDeep(M.elements)}parseSpread(c){const b=this.startNode();return this.next(),b.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(b,"SpreadElement")}parseRestBinding(){const c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const c=this.startNode();return this.next(),c.elements=this.parseBindingList(3,93,1),this.finishNode(c,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(c,b,M){const D=1&M,Y=[];let we=!0;for(;!this.eat(c);)if(we?we=!1:this.expect(12),D&&this.match(12))Y.push(null);else{if(this.eat(c))break;if(this.match(21)){if(Y.push(this.parseAssignableListItemTypes(this.parseRestBinding(),M)),!this.checkCommaAfterRest(b)){this.expect(c);break}}else{const De=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)De.push(this.parseDecorator());Y.push(this.parseAssignableListItem(M,De))}}return Y}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){const c=this.startNode(),{type:b,startLoc:M}=this.state;return b===21?this.parseBindingRestProperty(c):(b===138?(this.expectPlugin("destructuringPrivate",M),this.classScope.usePrivateName(this.state.value,M),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,M,!1,!1,!0,!1))}parseAssignableListItem(c,b){const M=this.parseMaybeDefault();this.parseAssignableListItemTypes(M,c);const D=this.parseMaybeDefault(M.loc.start,M);return b.length&&(M.decorators=b),D}parseAssignableListItemTypes(c,b){return c}parseMaybeDefault(c,b){var M;if(c!=null||(c=this.state.startLoc),b=(M=b)!=null?M:this.parseBindingAtom(),!this.eat(29))return b;const D=this.startNodeAt(c);return D.left=b,D.right=this.parseMaybeAssignAllowIn(),this.finishNode(D,"AssignmentPattern")}isValidLVal(c,b,M){return D={AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},Y=c,Object.hasOwnProperty.call(D,Y)&&D[Y];var D,Y}isOptionalMemberExpression(c){return c.type==="OptionalMemberExpression"}checkLVal(c,b){let{in:M,binding:D=64,checkClashes:Y=!1,strictModeChanged:we=!1,hasParenthesizedAncestor:De=!1}=b;var Ue;const Ke=c.type;if(this.isObjectMethod(c))return;const et=this.isOptionalMemberExpression(c);if(et||Ke==="MemberExpression")return et&&(this.expectPlugin("optionalChainingAssign",c.loc.start),M.type!=="AssignmentExpression"&&this.raise(g.InvalidLhsOptionalChaining,c,{ancestor:M})),void(D!==64&&this.raise(g.InvalidPropertyBindingPattern,c));if(Ke==="Identifier"){this.checkIdentifier(c,D,we);const{name:Mn}=c;return void(Y&&(Y.has(Mn)?this.raise(g.ParamDupe,c):Y.add(Mn)))}const Et=this.isValidLVal(Ke,!(De||(Ue=c.extra)!=null&&Ue.parenthesized)&&M.type==="AssignmentExpression",D);if(Et===!0)return;if(Et===!1){const Mn=D===64?g.InvalidLhs:g.InvalidLhsBinding;return void this.raise(Mn,c,{ancestor:M})}const[Xt,Kt]=Array.isArray(Et)?Et:[Et,Ke==="ParenthesizedExpression"],Tr=Ke==="ArrayPattern"||Ke==="ObjectPattern"?{type:Ke}:M;for(const Mn of[].concat(c[Xt]))Mn&&this.checkLVal(Mn,{in:Tr,binding:D,checkClashes:Y,strictModeChanged:we,hasParenthesizedAncestor:Kt})}checkIdentifier(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.state.strict&&(M?gr(c.name,this.inModule):sr(c.name))&&(b===64?this.raise(g.StrictEvalArguments,c,{referenceName:c.name}):this.raise(g.StrictEvalArgumentsBinding,c,{bindingName:c.name})),8192&b&&c.name==="let"&&this.raise(g.LetInLexicalBinding,c),64&b||this.declareNameFromIdentifier(c,b)}declareNameFromIdentifier(c,b){this.scope.declareName(c.name,b,c.loc.start)}checkToRestConversion(c,b){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,b);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(b)break;default:this.raise(g.InvalidRestAssignmentPattern,c)}}checkCommaAfterRest(c){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===c?g.RestTrailingComma:g.ElementAfterRest,this.state.startLoc),!0)}}function Fs(Ae){if(!Ae)throw new Error("Assert fail")}const Mt=x`typescript`({AbstractMethodHasImplementation:Ae=>{let{methodName:c}=Ae;return`Method '${c}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:Ae=>{let{propertyName:c}=Ae;return`Property '${c}' 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:Ae=>{let{kind:c}=Ae;return`'declare' is not allowed in ${c}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:Ae=>{let{modifier:c}=Ae;return"Accessibility modifier already seen."},DuplicateModifier:Ae=>{let{modifier:c}=Ae;return`Duplicate modifier: '${c}'.`},EmptyHeritageClauseType:Ae=>{let{token:c}=Ae;return`'${c}' 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:Ae=>{let{modifiers:c}=Ae;return`'${c[0]}' modifier cannot be used with '${c[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:Ae=>{let{modifier:c}=Ae;return`Index signatures cannot have an accessibility modifier ('${c}').`},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:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:Ae=>{let{modifier:c}=Ae;return`'${c}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:Ae=>{let{orderedModifiers:c}=Ae;return`'${c[0]}' modifier must precede '${c[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:Ae=>{let{modifier:c}=Ae;return`Private elements cannot have an accessibility modifier ('${c}').`},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:Ae=>{let{typeParameterName:c}=Ae;return`Single type parameter ${c} should have a trailing comma. Example usage: <${c},>.`},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:Ae=>{let{type:c}=Ae;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${c}.`}});function Ls(Ae){return Ae==="private"||Ae==="public"||Ae==="protected"}function _n(Ae){return Ae==="in"||Ae==="out"}function dn(Ae){if(Ae.type!=="MemberExpression")return!1;const{computed:c,property:b}=Ae;return(!c||b.type==="StringLiteral"||!(b.type!=="TemplateLiteral"||b.expressions.length>0))&&Sn(Ae.object)}function di(Ae,c){var b;const{type:M}=Ae;if((b=Ae.extra)!=null&&b.parenthesized)return!1;if(c){if(M==="Literal"){const{value:D}=Ae;if(typeof D=="string"||typeof D=="boolean")return!0}}else if(M==="StringLiteral"||M==="BooleanLiteral")return!0;return!(!Qn(Ae,c)&&!(function(D,Y){if(D.type==="UnaryExpression"){const{operator:we,argument:De}=D;if(we==="-"&&Qn(De,Y))return!0}return!1})(Ae,c))||M==="TemplateLiteral"&&Ae.expressions.length===0||!!dn(Ae)}function Qn(Ae,c){return c?Ae.type==="Literal"&&(typeof Ae.value=="number"||"bigint"in Ae):Ae.type==="NumericLiteral"||Ae.type==="BigIntLiteral"}function Sn(Ae){return Ae.type==="Identifier"||Ae.type==="MemberExpression"&&!Ae.computed&&Sn(Ae.object)}const Oi=x`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function wn(Ae,c){const[b,M]=typeof c=="string"?[c,{}]:c,D=Object.keys(M),Y=D.length===0;return Ae.some((we=>{if(typeof we=="string")return Y&&we===b;{const[De,Ue]=we;if(De!==b)return!1;for(const Ke of D)if(Ue[Ke]!==M[Ke])return!1;return!0}}))}function Ns(Ae,c,b){const M=Ae.find((D=>Array.isArray(D)?D[0]===c:D===c));return M&&Array.isArray(M)&&M.length>1?M[1][b]:null}const No=["minimal","fsharp","hack","smart"],tl=["^^","@@","^","%","#"],Vo=["hash","bar"],ga={estree:Ae=>class extends Ae{parse(){const c=_(super.parse());return this.options.tokens&&(c.tokens=c.tokens.map(_)),c}parseRegExpLiteral(c){let{pattern:b,flags:M}=c,D=null;try{D=new RegExp(b,M)}catch{}const Y=this.estreeParseLiteral(D);return Y.regex={pattern:b,flags:M},Y}parseBigIntLiteral(c){let b;try{b=BigInt(c)}catch{b=null}const M=this.estreeParseLiteral(b);return M.bigint=String(M.value||c),M}parseDecimalLiteral(c){const b=this.estreeParseLiteral(null);return b.decimal=String(b.value||c),b}estreeParseLiteral(c){return this.parseLiteral(c,"Literal")}parseStringLiteral(c){return this.estreeParseLiteral(c)}parseNumericLiteral(c){return this.estreeParseLiteral(c)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(c){return this.estreeParseLiteral(c)}directiveToStmt(c){const b=c.value;delete c.value,b.type="Literal",b.raw=b.extra.raw,b.value=b.extra.expressionValue;const M=c;return M.type="ExpressionStatement",M.expression=b,M.directive=b.extra.rawValue,delete b.extra,M}initFunction(c,b){super.initFunction(c,b),c.expression=!1}checkDeclaration(c){c!=null&&this.isObjectProperty(c)?this.checkDeclaration(c.value):super.checkDeclaration(c)}getObjectOrClassMethodParams(c){return c.value.params}isValidDirective(c){var b;return c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&!((b=c.expression.extra)!=null&&b.parenthesized)}parseBlockBody(c,b,M,D,Y){super.parseBlockBody(c,b,M,D,Y);const we=c.directives.map((De=>this.directiveToStmt(De)));c.body=we.concat(c.body),delete c.directives}pushClassMethod(c,b,M,D,Y,we){this.parseMethod(b,M,D,Y,we,"ClassMethod",!0),b.typeParameters&&(b.value.typeParameters=b.typeParameters,delete b.typeParameters),c.body.push(b)}parsePrivateName(){const c=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(c):c}convertPrivateNameToPrivateIdentifier(c){const b=super.getPrivateNameSV(c);return delete c.id,c.name=b,c.type="PrivateIdentifier",c}isPrivateName(c){return this.getPluginOption("estree","classFeatures")?c.type==="PrivateIdentifier":super.isPrivateName(c)}getPrivateNameSV(c){return this.getPluginOption("estree","classFeatures")?c.name:super.getPrivateNameSV(c)}parseLiteral(c,b){const M=super.parseLiteral(c,b);return M.raw=M.extra.raw,delete M.extra,M}parseFunctionBody(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];super.parseFunctionBody(c,b,M),c.expression=c.body.type!=="BlockStatement"}parseMethod(c,b,M,D,Y,we){let De=arguments.length>6&&arguments[6]!==void 0&&arguments[6],Ue=this.startNode();return Ue.kind=c.kind,Ue=super.parseMethod(Ue,b,M,D,Y,we,De),Ue.type="FunctionExpression",delete Ue.kind,c.value=Ue,we==="ClassPrivateMethod"&&(c.computed=!1),this.finishNode(c,"MethodDefinition")}parseClassProperty(){const c=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(c.type="PropertyDefinition"),c}parseClassPrivateProperty(){const c=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(c.type="PropertyDefinition",c.computed=!1),c}parseObjectMethod(c,b,M,D,Y){const we=super.parseObjectMethod(c,b,M,D,Y);return we&&(we.type="Property",we.kind==="method"&&(we.kind="init"),we.shorthand=!1),we}parseObjectProperty(c,b,M,D){const Y=super.parseObjectProperty(c,b,M,D);return Y&&(Y.kind="init",Y.type="Property"),Y}isValidLVal(c,b,M){return c==="Property"?"value":super.isValidLVal(c,b,M)}isAssignable(c,b){return c!=null&&this.isObjectProperty(c)?this.isAssignable(c.value,b):super.isAssignable(c,b)}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c!=null&&this.isObjectProperty(c)){const{key:M,value:D}=c;this.isPrivateName(M)&&this.classScope.usePrivateName(this.getPrivateNameSV(M),M.loc.start),this.toAssignable(D,b)}else super.toAssignable(c,b)}toAssignableObjectExpressionProp(c,b,M){c.kind==="get"||c.kind==="set"?this.raise(g.PatternHasAccessor,c.key):c.method?this.raise(g.PatternHasMethod,c.key):super.toAssignableObjectExpressionProp(c,b,M)}finishCallExpression(c,b){const M=super.finishCallExpression(c,b);var D,Y;return M.callee.type==="Import"&&(M.type="ImportExpression",M.source=M.arguments[0],(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(M.options=(D=M.arguments[1])!=null?D:null,M.attributes=(Y=M.arguments[1])!=null?Y:null),delete M.arguments,delete M.callee),M}toReferencedArguments(c){c.type!=="ImportExpression"&&super.toReferencedArguments(c)}parseExport(c,b){const M=this.state.lastTokStartLoc,D=super.parseExport(c,b);switch(D.type){case"ExportAllDeclaration":D.exported=null;break;case"ExportNamedDeclaration":D.specifiers.length===1&&D.specifiers[0].type==="ExportNamespaceSpecifier"&&(D.type="ExportAllDeclaration",D.exported=D.specifiers[0].exported,delete D.specifiers);case"ExportDefaultDeclaration":{var Y;const{declaration:we}=D;we?.type==="ClassDeclaration"&&((Y=we.decorators)==null?void 0:Y.length)>0&&we.start===D.start&&this.resetStartLocation(D,M)}}return D}parseSubscript(c,b,M,D){const Y=super.parseSubscript(c,b,M,D);if(D.optionalChainMember){if(Y.type!=="OptionalMemberExpression"&&Y.type!=="OptionalCallExpression"||(Y.type=Y.type.substring(8)),D.stop){const we=this.startNodeAtNode(Y);return we.expression=Y,this.finishNode(we,"ChainExpression")}}else Y.type!=="MemberExpression"&&Y.type!=="CallExpression"||(Y.optional=!1);return Y}isOptionalMemberExpression(c){return c.type==="ChainExpression"?c.expression.type==="MemberExpression":super.isOptionalMemberExpression(c)}hasPropertyAsPrivateName(c){return c.type==="ChainExpression"&&(c=c.expression),super.hasPropertyAsPrivateName(c)}isObjectProperty(c){return c.type==="Property"&&c.kind==="init"&&!c.method}isObjectMethod(c){return c.method||c.kind==="get"||c.kind==="set"}finishNodeAt(c,b,M){return _(super.finishNodeAt(c,b,M))}resetStartLocation(c,b){super.resetStartLocation(c,b),_(c)}resetEndLocation(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(c,b),_(c)}},jsx:Ae=>class extends Ae{jsxReadToken(){let c="",b=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Jn.UnterminatedJsxContent,this.state.startLoc);const M=this.input.charCodeAt(this.state.pos);switch(M){case 60:case 123:return this.state.pos===this.state.start?void(M===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(142)):super.getTokenFromCode(M)):(c+=this.input.slice(b,this.state.pos),void this.finishToken(141,c));case 38:c+=this.input.slice(b,this.state.pos),c+=this.jsxReadEntity(),b=this.state.pos;break;default:dt(M)?(c+=this.input.slice(b,this.state.pos),c+=this.jsxReadNewLine(!0),b=this.state.pos):++this.state.pos}}}jsxReadNewLine(c){const b=this.input.charCodeAt(this.state.pos);let M;return++this.state.pos,b===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,M=c?` `:`\r `):M=String.fromCharCode(b),++this.state.curLine,this.state.lineStart=this.state.pos,M}jsxReadString(c){let b="",M=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const D=this.input.charCodeAt(this.state.pos);if(D===c)break;D===38?(b+=this.input.slice(M,this.state.pos),b+=this.jsxReadEntity(),M=this.state.pos):dt(D)?(b+=this.input.slice(M,this.state.pos),b+=this.jsxReadNewLine(!1),M=this.state.pos):++this.state.pos}b+=this.input.slice(M,this.state.pos++),this.finishToken(133,b)}jsxReadEntity(){const c=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let b=10;this.codePointAtPos(this.state.pos)===120&&(b=16,++this.state.pos);const M=this.readInt(b,void 0,!1,"bail");if(M!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(M)}else{let b=0,M=!1;for(;b++<10&&this.state.posclass extends Ae{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return un}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(c,b){c!==133&&c!==13&&c!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(c,b)}addComment(c){if(this.flowPragma===void 0){const b=vs.exec(c.value);if(b)if(b[1]==="flow")this.flowPragma="flow";else{if(b[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(c)}flowParseTypeInitialiser(c){const b=this.state.inType;this.state.inType=!0,this.expect(c||14);const M=this.flowParseType();return this.state.inType=b,M}flowParsePredicate(){const c=this.startNode(),b=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>b.index+1&&this.raise(Ft.UnexpectedSpaceBetweenModuloChecks,b),this.eat(10)?(c.value=super.parseExpression(),this.expect(11),this.finishNode(c,"DeclaredPredicate")):this.finishNode(c,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const c=this.state.inType;this.state.inType=!0,this.expect(14);let b=null,M=null;return this.match(54)?(this.state.inType=c,M=this.flowParsePredicate()):(b=this.flowParseType(),this.state.inType=c,this.match(54)&&(M=this.flowParsePredicate())),[b,M]}flowParseDeclareClass(c){return this.next(),this.flowParseInterfaceish(c,!0),this.finishNode(c,"DeclareClass")}flowParseDeclareFunction(c){this.next();const b=c.id=this.parseIdentifier(),M=this.startNode(),D=this.startNode();this.match(47)?M.typeParameters=this.flowParseTypeParameterDeclaration():M.typeParameters=null,this.expect(10);const Y=this.flowParseFunctionTypeParams();return M.params=Y.params,M.rest=Y.rest,M.this=Y._this,this.expect(11),[M.returnType,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),D.typeAnnotation=this.finishNode(M,"FunctionTypeAnnotation"),b.typeAnnotation=this.finishNode(D,"TypeAnnotation"),this.resetEndLocation(b),this.semicolon(),this.scope.declareName(c.id.name,2048,c.id.loc.start),this.finishNode(c,"DeclareFunction")}flowParseDeclare(c,b){return this.match(80)?this.flowParseDeclareClass(c):this.match(68)?this.flowParseDeclareFunction(c):this.match(74)?this.flowParseDeclareVariable(c):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(c):(b&&this.raise(Ft.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(c)):this.isContextual(130)?this.flowParseDeclareTypeAlias(c):this.isContextual(131)?this.flowParseDeclareOpaqueType(c):this.isContextual(129)?this.flowParseDeclareInterface(c):this.match(82)?this.flowParseDeclareExportDeclaration(c,b):void this.unexpected()}flowParseDeclareVariable(c){return this.next(),c.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(c.id.name,5,c.id.loc.start),this.semicolon(),this.finishNode(c,"DeclareVariable")}flowParseDeclareModule(c){this.scope.enter(0),this.match(133)?c.id=super.parseExprAtom():c.id=this.parseIdentifier();const b=c.body=this.startNode(),M=b.body=[];for(this.expect(5);!this.match(8);){let we=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Ft.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(we)):(this.expectContextual(125,Ft.UnsupportedStatementInDeclareModule),we=this.flowParseDeclare(we,!0)),M.push(we)}this.scope.exit(),this.expect(8),this.finishNode(b,"BlockStatement");let D=null,Y=!1;return M.forEach((we=>{(function(De){return De.type==="DeclareExportAllDeclaration"||De.type==="DeclareExportDeclaration"&&(!De.declaration||De.declaration.type!=="TypeAlias"&&De.declaration.type!=="InterfaceDeclaration")})(we)?(D==="CommonJS"&&this.raise(Ft.AmbiguousDeclareModuleKind,we),D="ES"):we.type==="DeclareModuleExports"&&(Y&&this.raise(Ft.DuplicateDeclareModuleExports,we),D==="ES"&&this.raise(Ft.AmbiguousDeclareModuleKind,we),D="CommonJS",Y=!0)})),c.kind=D||"CommonJS",this.finishNode(c,"DeclareModule")}flowParseDeclareExportDeclaration(c,b){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?c.declaration=this.flowParseDeclare(this.startNode()):(c.declaration=this.flowParseType(),this.semicolon()),c.default=!0,this.finishNode(c,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!b){const M=this.state.value;throw this.raise(Ft.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:M,suggestion:Bs[M]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(c.declaration=this.flowParseDeclare(this.startNode()),c.default=!1,this.finishNode(c,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((c=this.parseExport(c,null)).type==="ExportNamedDeclaration"&&(c.type="ExportDeclaration",c.default=!1,delete c.exportKind),c.type="Declare"+c.type,c):void this.unexpected()}flowParseDeclareModuleExports(c){return this.next(),this.expectContextual(111),c.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(c,"DeclareModuleExports")}flowParseDeclareTypeAlias(c){this.next();const b=this.flowParseTypeAlias(c);return b.type="DeclareTypeAlias",b}flowParseDeclareOpaqueType(c){this.next();const b=this.flowParseOpaqueType(c,!0);return b.type="DeclareOpaqueType",b}flowParseDeclareInterface(c){return this.next(),this.flowParseInterfaceish(c,!1),this.finishNode(c,"DeclareInterface")}flowParseInterfaceish(c,b){if(c.id=this.flowParseRestrictedIdentifier(!b,!0),this.scope.declareName(c.id.name,b?17:8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(!b&&this.eat(12));if(b){if(c.implements=[],c.mixins=[],this.eatContextual(117))do c.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do c.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}c.body=this.flowParseObjectType({allowStatic:b,allowExact:!1,allowSpread:!1,allowProto:b,allowInexact:!1})}flowParseInterfaceExtends(){const c=this.startNode();return c.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?c.typeParameters=this.flowParseTypeParameterInstantiation():c.typeParameters=null,this.finishNode(c,"InterfaceExtends")}flowParseInterface(c){return this.flowParseInterfaceish(c,!1),this.finishNode(c,"InterfaceDeclaration")}checkNotUnderscore(c){c==="_"&&this.raise(Ft.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(c,b,M){$n.has(c)&&this.raise(M?Ft.AssignReservedType:Ft.UnexpectedReservedType,b,{reservedType:c})}flowParseRestrictedIdentifier(c,b){return this.checkReservedType(this.state.value,this.state.startLoc,b),this.parseIdentifier(c)}flowParseTypeAlias(c){return c.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(c,"TypeAlias")}flowParseOpaqueType(c,b){return this.expectContextual(130),c.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(c.id.name,8201,c.id.loc.start),this.match(47)?c.typeParameters=this.flowParseTypeParameterDeclaration():c.typeParameters=null,c.supertype=null,this.match(14)&&(c.supertype=this.flowParseTypeInitialiser(14)),c.impltype=null,b||(c.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(c,"OpaqueType")}flowParseTypeParameter(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const b=this.state.startLoc,M=this.startNode(),D=this.flowParseVariance(),Y=this.flowParseTypeAnnotatableIdentifier();return M.name=Y.name,M.variance=D,M.bound=Y.typeAnnotation,this.match(29)?(this.eat(29),M.default=this.flowParseType()):c&&this.raise(Ft.MissingTypeParamDefault,b),this.finishNode(M,"TypeParameter")}flowParseTypeParameterDeclaration(){const c=this.state.inType,b=this.startNode();b.params=[],this.state.inType=!0,this.match(47)||this.match(142)?this.next():this.unexpected();let M=!1;do{const D=this.flowParseTypeParameter(M);b.params.push(D),D.default&&(M=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=c,this.finishNode(b,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const c=this.startNode(),b=this.state.inType;c.params=[],this.state.inType=!0,this.expect(47);const M=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)c.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=M,this.expect(48),this.state.inType=b,this.finishNode(c,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const c=this.startNode(),b=this.state.inType;for(c.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)c.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=b,this.finishNode(c,"TypeParameterInstantiation")}flowParseInterfaceType(){const c=this.startNode();if(this.expectContextual(129),c.extends=[],this.eat(81))do c.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return c.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(c,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(134)||this.match(133)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(c,b,M){return c.static=b,this.lookahead().type===14?(c.id=this.flowParseObjectPropertyKey(),c.key=this.flowParseTypeInitialiser()):(c.id=null,c.key=this.flowParseType()),this.expect(3),c.value=this.flowParseTypeInitialiser(),c.variance=M,this.finishNode(c,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(c,b){return c.static=b,c.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(c.method=!0,c.optional=!1,c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start))):(c.method=!1,this.eat(17)&&(c.optional=!0),c.value=this.flowParseTypeInitialiser()),this.finishNode(c,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(c){for(c.params=[],c.rest=null,c.typeParameters=null,c.this=null,this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(c.this=this.flowParseFunctionTypeParam(!0),c.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(c.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),c.returnType=this.flowParseTypeInitialiser(),this.finishNode(c,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(c,b){const M=this.startNode();return c.static=b,c.value=this.flowParseObjectTypeMethodish(M),this.finishNode(c,"ObjectTypeCallProperty")}flowParseObjectType(c){let{allowStatic:b,allowExact:M,allowSpread:D,allowProto:Y,allowInexact:we}=c;const De=this.state.inType;this.state.inType=!0;const Ue=this.startNode();let Ke,et;Ue.callProperties=[],Ue.properties=[],Ue.indexers=[],Ue.internalSlots=[];let Et=!1;for(M&&this.match(6)?(this.expect(6),Ke=9,et=!0):(this.expect(5),Ke=8,et=!1),Ue.exact=et;!this.match(Ke);){let Kt=!1,Tr=null,Mn=null;const mn=this.startNode();if(Y&&this.isContextual(118)){const Gn=this.lookahead();Gn.type!==14&&Gn.type!==17&&(this.next(),Tr=this.state.startLoc,b=!1)}if(b&&this.isContextual(106)){const Gn=this.lookahead();Gn.type!==14&&Gn.type!==17&&(this.next(),Kt=!0)}const kn=this.flowParseVariance();if(this.eat(0))Tr!=null&&this.unexpected(Tr),this.eat(0)?(kn&&this.unexpected(kn.loc.start),Ue.internalSlots.push(this.flowParseObjectTypeInternalSlot(mn,Kt))):Ue.indexers.push(this.flowParseObjectTypeIndexer(mn,Kt,kn));else if(this.match(10)||this.match(47))Tr!=null&&this.unexpected(Tr),kn&&this.unexpected(kn.loc.start),Ue.callProperties.push(this.flowParseObjectTypeCallProperty(mn,Kt));else{let Gn="init";(this.isContextual(99)||this.isContextual(104))&&oe(this.lookahead().type)&&(Gn=this.state.value,this.next());const Ii=this.flowParseObjectTypeProperty(mn,Kt,Tr,kn,Gn,D,we??!et);Ii===null?(Et=!0,Mn=this.state.lastTokStartLoc):Ue.properties.push(Ii)}this.flowObjectTypeSemicolon(),!Mn||this.match(8)||this.match(9)||this.raise(Ft.UnexpectedExplicitInexactInObject,Mn)}this.expect(Ke),D&&(Ue.inexact=Et);const Xt=this.finishNode(Ue,"ObjectTypeAnnotation");return this.state.inType=De,Xt}flowParseObjectTypeProperty(c,b,M,D,Y,we,De){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(we?De||this.raise(Ft.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Ft.InexactInsideNonObject,this.state.lastTokStartLoc),D&&this.raise(Ft.InexactVariance,D),null):(we||this.raise(Ft.UnexpectedSpreadType,this.state.lastTokStartLoc),M!=null&&this.unexpected(M),D&&this.raise(Ft.SpreadVariance,D),c.argument=this.flowParseType(),this.finishNode(c,"ObjectTypeSpreadProperty"));{c.key=this.flowParseObjectPropertyKey(),c.static=b,c.proto=M!=null,c.kind=Y;let Ue=!1;return this.match(47)||this.match(10)?(c.method=!0,M!=null&&this.unexpected(M),D&&this.unexpected(D.loc.start),c.value=this.flowParseObjectTypeMethodish(this.startNodeAt(c.loc.start)),Y!=="get"&&Y!=="set"||this.flowCheckGetterSetterParams(c),!we&&c.key.name==="constructor"&&c.value.this&&this.raise(Ft.ThisParamBannedInConstructor,c.value.this)):(Y!=="init"&&this.unexpected(),c.method=!1,this.eat(17)&&(Ue=!0),c.value=this.flowParseTypeInitialiser(),c.variance=D),c.optional=Ue,this.finishNode(c,"ObjectTypeProperty")}}flowCheckGetterSetterParams(c){const b=c.kind==="get"?0:1,M=c.value.params.length+(c.value.rest?1:0);c.value.this&&this.raise(c.kind==="get"?Ft.GetterMayNotHaveThisParam:Ft.SetterMayNotHaveThisParam,c.value.this),M!==b&&this.raise(c.kind==="get"?g.BadGetterArity:g.BadSetterArity,c),c.kind==="set"&&c.value.rest&&this.raise(g.BadSetterRestParameter,c)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(c,b){c!=null||(c=this.state.startLoc);let M=b||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const D=this.startNodeAt(c);D.qualification=M,D.id=this.flowParseRestrictedIdentifier(!0),M=this.finishNode(D,"QualifiedTypeIdentifier")}return M}flowParseGenericType(c,b){const M=this.startNodeAt(c);return M.typeParameters=null,M.id=this.flowParseQualifiedTypeIdentifier(c,b),this.match(47)&&(M.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(M,"GenericTypeAnnotation")}flowParseTypeofType(){const c=this.startNode();return this.expect(87),c.argument=this.flowParsePrimaryType(),this.finishNode(c,"TypeofTypeAnnotation")}flowParseTupleType(){const c=this.startNode();for(c.types=[],this.expect(0);this.state.pos0&&arguments[0]!==void 0?arguments[0]:[],b=null,M=null;for(this.match(78)&&(M=this.flowParseFunctionTypeParam(!0),M.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)c.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(b=this.flowParseFunctionTypeParam(!1)),{params:c,rest:b,_this:M}}flowIdentToTypeAnnotation(c,b,M){switch(M.name){case"any":return this.finishNode(b,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(b,"BooleanTypeAnnotation");case"mixed":return this.finishNode(b,"MixedTypeAnnotation");case"empty":return this.finishNode(b,"EmptyTypeAnnotation");case"number":return this.finishNode(b,"NumberTypeAnnotation");case"string":return this.finishNode(b,"StringTypeAnnotation");case"symbol":return this.finishNode(b,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(M.name),this.flowParseGenericType(c,M)}}flowParsePrimaryType(){const c=this.state.startLoc,b=this.startNode();let M,D,Y=!1;const we=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,D=this.flowParseTupleType(),this.state.noAnonFunctionType=we,D;case 47:return b.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),M=this.flowParseFunctionTypeParams(),b.params=M.params,b.rest=M.rest,b.this=M._this,this.expect(11),this.expect(19),b.returnType=this.flowParseType(),this.finishNode(b,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ae(this.state.type)||this.match(78)){const De=this.lookahead().type;Y=De!==17&&De!==14}else Y=!0;if(Y){if(this.state.noAnonFunctionType=!1,D=this.flowParseType(),this.state.noAnonFunctionType=we,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),D;this.eat(12)}return M=D?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(D)]):this.flowParseFunctionTypeParams(),b.params=M.params,b.rest=M.rest,b.this=M._this,this.expect(11),this.expect(19),b.returnType=this.flowParseType(),b.typeParameters=null,this.finishNode(b,"FunctionTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return b.value=this.match(85),this.next(),this.finishNode(b,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(134))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",b);if(this.match(135))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",b);throw this.raise(Ft.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(b,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(b,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(b,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(b,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(se(this.state.type)){const De=ve(this.state.type);return this.next(),super.createIdentifier(b,De)}if(ae(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(c,b,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const c=this.state.startLoc;let b=this.flowParsePrimaryType(),M=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const D=this.startNodeAt(c),Y=this.eat(18);M=M||Y,this.expect(0),!Y&&this.match(3)?(D.elementType=b,this.next(),b=this.finishNode(D,"ArrayTypeAnnotation")):(D.objectType=b,D.indexType=this.flowParseType(),this.expect(3),M?(D.optional=Y,b=this.finishNode(D,"OptionalIndexedAccessType")):b=this.finishNode(D,"IndexedAccessType"))}return b}flowParsePrefixType(){const c=this.startNode();return this.eat(17)?(c.typeAnnotation=this.flowParsePrefixType(),this.finishNode(c,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const c=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const b=this.startNodeAt(c.loc.start);return b.params=[this.reinterpretTypeAsFunctionTypeParam(c)],b.rest=null,b.this=null,b.returnType=this.flowParseType(),b.typeParameters=null,this.finishNode(b,"FunctionTypeAnnotation")}return c}flowParseIntersectionType(){const c=this.startNode();this.eat(45);const b=this.flowParseAnonFunctionWithoutParens();for(c.types=[b];this.eat(45);)c.types.push(this.flowParseAnonFunctionWithoutParens());return c.types.length===1?b:this.finishNode(c,"IntersectionTypeAnnotation")}flowParseUnionType(){const c=this.startNode();this.eat(43);const b=this.flowParseIntersectionType();for(c.types=[b];this.eat(43);)c.types.push(this.flowParseIntersectionType());return c.types.length===1?b:this.finishNode(c,"UnionTypeAnnotation")}flowParseType(){const c=this.state.inType;this.state.inType=!0;const b=this.flowParseUnionType();return this.state.inType=c,b}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const c=this.state.startLoc,b=this.parseIdentifier();return this.flowParseGenericType(c,b)}return this.flowParseType()}flowParseTypeAnnotation(){const c=this.startNode();return c.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(c,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(c){const b=c?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(b.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(b)),b}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.loc.end),c.expression}flowParseVariance(){let c=null;return this.match(53)?(c=this.startNode(),this.state.value==="+"?c.kind="plus":c.kind="minus",this.next(),this.finishNode(c,"Variance")):c}parseFunctionBody(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];b?this.forwardNoArrowParamsConversionAt(c,(()=>super.parseFunctionBody(c,!0,M))):super.parseFunctionBody(c,!1,M)}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(this.match(14)){const D=this.startNode();[D.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),c.returnType=D.typeAnnotation?this.finishNode(D,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(c,b,M)}parseStatementLike(c){if(this.state.strict&&this.isContextual(129)){if(ce(this.lookahead().type)){const M=this.startNode();return this.next(),this.flowParseInterface(M)}}else if(this.shouldParseEnums()&&this.isContextual(126)){const M=this.startNode();return this.next(),this.flowParseEnumDeclaration(M)}const b=super.parseStatementLike(c);return this.flowPragma!==void 0||this.isValidDirective(b)||(this.flowPragma=null),b}parseExpressionStatement(c,b,M){if(b.type==="Identifier"){if(b.name==="declare"){if(this.match(80)||ae(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(c)}else if(ae(this.state.type)){if(b.name==="interface")return this.flowParseInterface(c);if(b.name==="type")return this.flowParseTypeAlias(c);if(b.name==="opaque")return this.flowParseOpaqueType(c,!1)}}return super.parseExpressionStatement(c,b,M)}shouldParseExportDeclaration(){const{type:c}=this.state;return Se(c)||this.shouldParseEnums()&&c===126?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:c}=this.state;return Se(c)||this.shouldParseEnums()&&c===126?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(126)){const c=this.startNode();return this.next(),this.flowParseEnumDeclaration(c)}return super.parseExportDefaultExpression()}parseConditional(c,b,M){if(!this.match(17))return c;if(this.state.maybeInArrowParameters){const Et=this.lookaheadCharCode();if(Et===44||Et===61||Et===58||Et===41)return this.setOptionalParametersError(M),c}this.expect(17);const D=this.state.clone(),Y=this.state.noArrowAt,we=this.startNodeAt(b);let{consequent:De,failed:Ue}=this.tryParseConditionalConsequent(),[Ke,et]=this.getArrowLikeExpressions(De);if(Ue||et.length>0){const Et=[...Y];if(et.length>0){this.state=D,this.state.noArrowAt=Et;for(let Xt=0;Xt1&&this.raise(Ft.AmbiguousConditionalArrow,D.startLoc),Ue&&Ke.length===1&&(this.state=D,Et.push(Ke[0].start),this.state.noArrowAt=Et,{consequent:De,failed:Ue}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(De,!0),this.state.noArrowAt=Y,this.expect(14),we.test=c,we.consequent=De,we.alternate=this.forwardNoArrowParamsConversionAt(we,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(we,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const c=this.parseMaybeAssignAllowIn(),b=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:c,failed:b}}getArrowLikeExpressions(c,b){const M=[c],D=[];for(;M.length!==0;){const Y=M.pop();Y.type==="ArrowFunctionExpression"?(Y.typeParameters||!Y.returnType?this.finishArrowValidation(Y):D.push(Y),M.push(Y.body)):Y.type==="ConditionalExpression"&&(M.push(Y.consequent),M.push(Y.alternate))}return b?(D.forEach((Y=>this.finishArrowValidation(Y))),[D,[]]):(function(Y,we){const De=[],Ue=[];for(let Ke=0;KeY.params.every((we=>this.isAssignable(we,!0)))))}finishArrowValidation(c){var b;this.toAssignableList(c.params,(b=c.extra)==null?void 0:b.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(c,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(c,b){let M;return this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),M=b(),this.state.noArrowParamsConversionAt.pop()):M=b(),M}parseParenItem(c,b){if(c=super.parseParenItem(c,b),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const M=this.startNodeAt(b);return M.expression=c,M.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(M,"TypeCastExpression")}return c}assertModuleNodeAllowed(c){c.type==="ImportDeclaration"&&(c.importKind==="type"||c.importKind==="typeof")||c.type==="ExportNamedDeclaration"&&c.exportKind==="type"||c.type==="ExportAllDeclaration"&&c.exportKind==="type"||super.assertModuleNodeAllowed(c)}parseExportDeclaration(c){if(this.isContextual(130)){c.exportKind="type";const b=this.startNode();return this.next(),this.match(5)?(c.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(c),null):this.flowParseTypeAlias(b)}if(this.isContextual(131)){c.exportKind="type";const b=this.startNode();return this.next(),this.flowParseOpaqueType(b,!1)}if(this.isContextual(129)){c.exportKind="type";const b=this.startNode();return this.next(),this.flowParseInterface(b)}if(this.shouldParseEnums()&&this.isContextual(126)){c.exportKind="value";const b=this.startNode();return this.next(),this.flowParseEnumDeclaration(b)}return super.parseExportDeclaration(c)}eatExportStar(c){return!!super.eatExportStar(c)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(c.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(c){const{startLoc:b}=this.state,M=super.maybeParseExportNamespaceSpecifier(c);return M&&c.exportKind==="type"&&this.unexpected(b),M}parseClassId(c,b,M){super.parseClassId(c,b,M),this.match(47)&&(c.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(c,b,M){const{startLoc:D}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(c,b))return;b.declare=!0}super.parseClassMember(c,b,M),b.declare&&(b.type!=="ClassProperty"&&b.type!=="ClassPrivateProperty"&&b.type!=="PropertyDefinition"?this.raise(Ft.DeclareClassElement,D):b.value&&this.raise(Ft.DeclareClassFieldInitializer,b.value))}isIterator(c){return c==="iterator"||c==="asyncIterator"}readIterator(){const c=super.readWord1(),b="@@"+c;this.isIterator(c)&&this.state.inType||this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:b}),this.finishToken(132,b)}getTokenFromCode(c){const b=this.input.charCodeAt(this.state.pos+1);c===123&&b===124?this.finishOp(6,2):!this.state.inType||c!==62&&c!==60?this.state.inType&&c===63?b===46?this.finishOp(18,2):this.finishOp(17,1):(function(M,D,Y){return M===64&&D===64&&ke(Y)})(c,b,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(c):this.finishOp(c===62?48:47,1)}isAssignable(c,b){return c.type==="TypeCastExpression"?this.isAssignable(c.expression,b):super.isAssignable(c,b)}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];b||c.type!=="AssignmentExpression"||c.left.type!=="TypeCastExpression"||(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,b)}toAssignableList(c,b,M){for(let D=0;D1)&&b||this.raise(Ft.TypeCastInPattern,Y.typeAnnotation)}return c}parseArrayLike(c,b,M,D){const Y=super.parseArrayLike(c,b,M,D);return b&&!this.state.maybeInArrowParameters&&this.toReferencedList(Y.elements),Y}isValidLVal(c,b,M){return c==="TypeCastExpression"||super.isValidLVal(c,b,M)}parseClassProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(c)}parseClassPrivateProperty(c){return this.match(14)&&(c.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(c){return!this.match(14)&&super.isNonstaticConstructor(c)}pushClassMethod(c,b,M,D,Y,we){if(b.variance&&this.unexpected(b.variance.loc.start),delete b.variance,this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(c,b,M,D,Y,we),b.params&&Y){const De=b.params;De.length>0&&this.isThisParam(De[0])&&this.raise(Ft.ThisParamBannedInConstructor,b)}else if(b.type==="MethodDefinition"&&Y&&b.value.params){const De=b.value.params;De.length>0&&this.isThisParam(De[0])&&this.raise(Ft.ThisParamBannedInConstructor,b)}}pushClassPrivateMethod(c,b,M,D){b.variance&&this.unexpected(b.variance.loc.start),delete b.variance,this.match(47)&&(b.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(c,b,M,D)}parseClassSuper(c){if(super.parseClassSuper(c),c.superClass&&this.match(47)&&(c.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();const b=c.implements=[];do{const M=this.startNode();M.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?M.typeParameters=this.flowParseTypeParameterInstantiation():M.typeParameters=null,b.push(this.finishNode(M,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(c){super.checkGetterSetterParams(c);const b=this.getObjectOrClassMethodParams(c);if(b.length>0){const M=b[0];this.isThisParam(M)&&c.kind==="get"?this.raise(Ft.GetterMayNotHaveThisParam,M):this.isThisParam(M)&&this.raise(Ft.SetterMayNotHaveThisParam,M)}}parsePropertyNamePrefixOperator(c){c.variance=this.flowParseVariance()}parseObjPropValue(c,b,M,D,Y,we,De){let Ue;c.variance&&this.unexpected(c.variance.loc.start),delete c.variance,this.match(47)&&!we&&(Ue=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const Ke=super.parseObjPropValue(c,b,M,D,Y,we,De);return Ue&&((Ke.value||Ke).typeParameters=Ue),Ke}parseAssignableListItemTypes(c){return this.eat(17)&&(c.type!=="Identifier"&&this.raise(Ft.PatternIsOptional,c),this.isThisParam(c)&&this.raise(Ft.ThisParamMayNotBeOptional,c),c.optional=!0),this.match(14)?c.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(c)&&this.raise(Ft.ThisParamAnnotationRequired,c),this.match(29)&&this.isThisParam(c)&&this.raise(Ft.ThisParamNoDefault,c),this.resetEndLocation(c),c}parseMaybeDefault(c,b){const M=super.parseMaybeDefault(c,b);return M.type==="AssignmentPattern"&&M.typeAnnotation&&M.right.startsuper.parseMaybeAssign(c,b)),Y),!D.error)return D.node;const{context:Ue}=this.state,Ke=Ue[Ue.length-1];Ke!==O.j_oTag&&Ke!==O.j_expr||Ue.pop()}if((M=D)!=null&&M.error||this.match(47)){var we,De;let Ue;Y=Y||this.state.clone();const Ke=this.tryParse((Et=>{var Xt;Ue=this.flowParseTypeParameterDeclaration();const Kt=this.forwardNoArrowParamsConversionAt(Ue,(()=>{const Mn=super.parseMaybeAssign(c,b);return this.resetStartLocationFromNode(Mn,Ue),Mn}));(Xt=Kt.extra)!=null&&Xt.parenthesized&&Et();const Tr=this.maybeUnwrapTypeCastExpression(Kt);return Tr.type!=="ArrowFunctionExpression"&&Et(),Tr.typeParameters=Ue,this.resetStartLocationFromNode(Tr,Ue),Kt}),Y);let et=null;if(Ke.node&&this.maybeUnwrapTypeCastExpression(Ke.node).type==="ArrowFunctionExpression"){if(!Ke.error&&!Ke.aborted)return Ke.node.async&&this.raise(Ft.UnexpectedTypeParameterBeforeAsyncArrowFunction,Ue),Ke.node;et=Ke.node}if((we=D)!=null&&we.node)return this.state=D.failState,D.node;if(et)return this.state=Ke.failState,et;throw(De=D)!=null&&De.thrown?D.error:Ke.thrown?Ke.error:this.raise(Ft.UnexpectedTokenAfterTypeParameter,Ue)}return super.parseMaybeAssign(c,b)}parseArrow(c){if(this.match(14)){const b=this.tryParse((()=>{const M=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const D=this.startNode();return[D.typeAnnotation,c.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=M,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),D}));if(b.thrown)return null;b.error&&(this.state=b.failState),c.returnType=b.node.typeAnnotation?this.finishNode(b.node,"TypeAnnotation"):null}return super.parseArrow(c)}shouldParseArrow(c){return this.match(14)||super.shouldParseArrow(c)}setArrowFunctionParameters(c,b){this.state.noArrowParamsConversionAt.indexOf(c.start)!==-1?c.params=b:super.setArrowFunctionParameters(c,b)}checkParams(c,b,M){let D=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3];if(!M||this.state.noArrowParamsConversionAt.indexOf(c.start)===-1){for(let Y=0;Y0&&this.raise(Ft.ThisParamMustBeFirst,c.params[Y]);super.checkParams(c,b,M,D)}}parseParenAndDistinguishExpression(c){return super.parseParenAndDistinguishExpression(c&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(c,b,M){if(c.type==="Identifier"&&c.name==="async"&&this.state.noArrowAt.indexOf(b.index)!==-1){this.next();const D=this.startNodeAt(b);D.callee=c,D.arguments=super.parseCallExpressionArguments(11,!1),c=this.finishNode(D,"CallExpression")}else if(c.type==="Identifier"&&c.name==="async"&&this.match(47)){const D=this.state.clone(),Y=this.tryParse((De=>this.parseAsyncArrowWithTypeParameters(b)||De()),D);if(!Y.error&&!Y.aborted)return Y.node;const we=this.tryParse((()=>super.parseSubscripts(c,b,M)),D);if(we.node&&!we.error)return we.node;if(Y.node)return this.state=Y.failState,Y.node;if(we.node)return this.state=we.failState,we.node;throw Y.error||we.error}return super.parseSubscripts(c,b,M)}parseSubscript(c,b,M,D){if(this.match(18)&&this.isLookaheadToken_lt()){if(D.optionalChainMember=!0,M)return D.stop=!0,c;this.next();const Y=this.startNodeAt(b);return Y.callee=c,Y.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),Y.arguments=this.parseCallExpressionArguments(11,!1),Y.optional=!0,this.finishCallExpression(Y,!0)}if(!M&&this.shouldParseTypes()&&this.match(47)){const Y=this.startNodeAt(b);Y.callee=c;const we=this.tryParse((()=>(Y.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Y.arguments=super.parseCallExpressionArguments(11,!1),D.optionalChainMember&&(Y.optional=!1),this.finishCallExpression(Y,D.optionalChainMember))));if(we.node)return we.error&&(this.state=we.failState),we.node}return super.parseSubscript(c,b,M,D)}parseNewCallee(c){super.parseNewCallee(c);let b=null;this.shouldParseTypes()&&this.match(47)&&(b=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),c.typeArguments=b}parseAsyncArrowWithTypeParameters(c){const b=this.startNodeAt(c);if(this.parseFunctionParams(b,!1),this.parseArrow(b))return super.parseArrowExpression(b,void 0,!0)}readToken_mult_modulo(c){const b=this.input.charCodeAt(this.state.pos+1);if(c===42&&b===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(c)}readToken_pipe_amp(c){const b=this.input.charCodeAt(this.state.pos+1);c!==124||b!==125?super.readToken_pipe_amp(c):this.finishOp(9,2)}parseTopLevel(c,b){const M=super.parseTopLevel(c,b);return this.state.hasFlowComment&&this.raise(Ft.UnterminatedFlowComment,this.state.curPosition()),M}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Ft.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const c=this.skipFlowComment();c&&(this.state.pos+=c,this.state.hasFlowComment=!0)}}skipFlowComment(){const{pos:c}=this.state;let b=2;for(;[32,9].includes(this.input.charCodeAt(c+b));)b++;const M=this.input.charCodeAt(b+c),D=this.input.charCodeAt(b+c+1);return M===58&&D===58?b+2:this.input.slice(b+c,b+c+12)==="flow-include"?b+12:M===58&&D!==58&&b}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(c,b){let{enumName:M,memberName:D}=b;this.raise(Ft.EnumBooleanMemberNotInitialized,c,{memberName:D,enumName:M})}flowEnumErrorInvalidMemberInitializer(c,b){return this.raise(b.explicitType?b.explicitType==="symbol"?Ft.EnumInvalidMemberInitializerSymbolType:Ft.EnumInvalidMemberInitializerPrimaryType:Ft.EnumInvalidMemberInitializerUnknownType,c,b)}flowEnumErrorNumberMemberNotInitialized(c,b){this.raise(Ft.EnumNumberMemberNotInitialized,c,b)}flowEnumErrorStringMemberInconsistentlyInitialized(c,b){this.raise(Ft.EnumStringMemberInconsistentlyInitialized,c,b)}flowEnumMemberInit(){const c=this.state.startLoc,b=()=>this.match(12)||this.match(8);switch(this.state.type){case 134:{const M=this.parseNumericLiteral(this.state.value);return b()?{type:"number",loc:M.loc.start,value:M}:{type:"invalid",loc:c}}case 133:{const M=this.parseStringLiteral(this.state.value);return b()?{type:"string",loc:M.loc.start,value:M}:{type:"invalid",loc:c}}case 85:case 86:{const M=this.parseBooleanLiteral(this.match(85));return b()?{type:"boolean",loc:M.loc.start,value:M}:{type:"invalid",loc:c}}default:return{type:"invalid",loc:c}}}flowEnumMemberRaw(){const c=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:c}}}flowEnumCheckExplicitTypeMismatch(c,b,M){const{explicitType:D}=b;D!==null&&D!==M&&this.flowEnumErrorInvalidMemberInitializer(c,b)}flowEnumMembers(c){let{enumName:b,explicitType:M}=c;const D=new Set,Y={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let we=!1;for(;!this.match(8);){if(this.eat(21)){we=!0;break}const De=this.startNode(),{id:Ue,init:Ke}=this.flowEnumMemberRaw(),et=Ue.name;if(et==="")continue;/^[a-z]/.test(et)&&this.raise(Ft.EnumInvalidMemberName,Ue,{memberName:et,suggestion:et[0].toUpperCase()+et.slice(1),enumName:b}),D.has(et)&&this.raise(Ft.EnumDuplicateMemberName,Ue,{memberName:et,enumName:b}),D.add(et);const Et={enumName:b,explicitType:M,memberName:et};switch(De.id=Ue,Ke.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"boolean"),De.init=Ke.value,Y.booleanMembers.push(this.finishNode(De,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"number"),De.init=Ke.value,Y.numberMembers.push(this.finishNode(De,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(Ke.loc,Et,"string"),De.init=Ke.value,Y.stringMembers.push(this.finishNode(De,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Ke.loc,Et);case"none":switch(M){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Ke.loc,Et);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Ke.loc,Et);break;default:Y.defaultedMembers.push(this.finishNode(De,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:Y,hasUnknownMembers:we}}flowEnumStringMembers(c,b,M){let{enumName:D}=M;if(c.length===0)return b;if(b.length===0)return c;if(b.length>c.length){for(const Y of c)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:D});return b}for(const Y of b)this.flowEnumErrorStringMemberInconsistentlyInitialized(Y,{enumName:D});return c}flowEnumParseExplicitType(c){let{enumName:b}=c;if(!this.eatContextual(102))return null;if(!ae(this.state.type))throw this.raise(Ft.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:b});const{value:M}=this.state;return this.next(),M!=="boolean"&&M!=="number"&&M!=="string"&&M!=="symbol"&&this.raise(Ft.EnumInvalidExplicitType,this.state.startLoc,{enumName:b,invalidEnumType:M}),M}flowEnumBody(c,b){const M=b.name,D=b.loc.start,Y=this.flowEnumParseExplicitType({enumName:M});this.expect(5);const{members:we,hasUnknownMembers:De}=this.flowEnumMembers({enumName:M,explicitType:Y});switch(c.hasUnknownMembers=De,Y){case"boolean":return c.explicitType=!0,c.members=we.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody");case"number":return c.explicitType=!0,c.members=we.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody");case"string":return c.explicitType=!0,c.members=this.flowEnumStringMembers(we.stringMembers,we.defaultedMembers,{enumName:M}),this.expect(8),this.finishNode(c,"EnumStringBody");case"symbol":return c.members=we.defaultedMembers,this.expect(8),this.finishNode(c,"EnumSymbolBody");default:{const Ue=()=>(c.members=[],this.expect(8),this.finishNode(c,"EnumStringBody"));c.explicitType=!1;const Ke=we.booleanMembers.length,et=we.numberMembers.length,Et=we.stringMembers.length,Xt=we.defaultedMembers.length;if(Ke||et||Et||Xt){if(Ke||et){if(!et&&!Et&&Ke>=Xt){for(const Kt of we.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Kt.loc.start,{enumName:M,memberName:Kt.id.name});return c.members=we.booleanMembers,this.expect(8),this.finishNode(c,"EnumBooleanBody")}if(!Ke&&!Et&&et>=Xt){for(const Kt of we.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Kt.loc.start,{enumName:M,memberName:Kt.id.name});return c.members=we.numberMembers,this.expect(8),this.finishNode(c,"EnumNumberBody")}return this.raise(Ft.EnumInconsistentMemberValues,D,{enumName:M}),Ue()}return c.members=this.flowEnumStringMembers(we.stringMembers,we.defaultedMembers,{enumName:M}),this.expect(8),this.finishNode(c,"EnumStringBody")}return Ue()}}}flowParseEnumDeclaration(c){const b=this.parseIdentifier();return c.id=b,c.body=this.flowEnumBody(this.startNode(),b),this.finishNode(c,"EnumDeclaration")}isLookaheadToken_lt(){const c=this.nextTokenStart();if(this.input.charCodeAt(c)===60){const b=this.input.charCodeAt(c+1);return b!==60&&b!==61}return!1}maybeUnwrapTypeCastExpression(c){return c.type==="TypeCastExpression"?c.expression:c}},typescript:Ae=>class extends Ae{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Mt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Mt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Mt.InvalidModifierOnTypeParameter})}getScopeHandler(){return In}tsIsIdentifier(){return ae(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(c,b){if(!ae(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const M=this.state.value;if(c.indexOf(M)!==-1){if(b&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return M}}tsParseModifiers(c,b){let{allowedModifiers:M,disallowedModifiers:D,stopOnStartOfClassStaticBlock:Y,errorTemplate:we=Mt.InvalidModifierOnTypeMember}=c;const De=(Ke,et,Et,Xt)=>{et===Et&&b[Xt]&&this.raise(Mt.InvalidModifiersOrder,Ke,{orderedModifiers:[Et,Xt]})},Ue=(Ke,et,Et,Xt)=>{(b[Et]&&et===Xt||b[Xt]&&et===Et)&&this.raise(Mt.IncompatibleModifiers,Ke,{modifiers:[Et,Xt]})};for(;;){const{startLoc:Ke}=this.state,et=this.tsParseModifier(M.concat(D??[]),Y);if(!et)break;Ls(et)?b.accessibility?this.raise(Mt.DuplicateAccessibilityModifier,Ke,{modifier:et}):(De(Ke,et,et,"override"),De(Ke,et,et,"static"),De(Ke,et,et,"readonly"),b.accessibility=et):_n(et)?(b[et]&&this.raise(Mt.DuplicateModifier,Ke,{modifier:et}),b[et]=!0,De(Ke,et,"in","out")):(Object.hasOwnProperty.call(b,et)?this.raise(Mt.DuplicateModifier,Ke,{modifier:et}):(De(Ke,et,"static","readonly"),De(Ke,et,"static","override"),De(Ke,et,"override","readonly"),De(Ke,et,"abstract","override"),Ue(Ke,et,"declare","override"),Ue(Ke,et,"static","abstract")),b[et]=!0),D!=null&&D.includes(et)&&this.raise(we,Ke,{modifier:et})}}tsIsListTerminator(c){switch(c){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(c,b){const M=[];for(;!this.tsIsListTerminator(c);)M.push(b());return M}tsParseDelimitedList(c,b,M){return(function(D){if(D==null)throw new Error(`Unexpected ${D} value.`);return D})(this.tsParseDelimitedListWorker(c,b,!0,M))}tsParseDelimitedListWorker(c,b,M,D){const Y=[];let we=-1;for(;!this.tsIsListTerminator(c);){we=-1;const De=b();if(De==null)return;if(Y.push(De),!this.eat(12)){if(this.tsIsListTerminator(c))break;return void(M&&this.expect(12))}we=this.state.lastTokStartLoc.index}return D&&(D.value=we),Y}tsParseBracketedList(c,b,M,D,Y){D||(M?this.expect(0):this.expect(47));const we=this.tsParseDelimitedList(c,b,Y);return M?this.expect(3):this.expect(48),we}tsParseImportType(){const c=this.startNode();return this.expect(83),this.expect(10),this.match(133)||this.raise(Mt.UnsupportedImportTypeArgument,this.state.startLoc),c.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(c.qualifier=this.tsParseEntityName()),this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSImportType")}tsParseEntityName(){let c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],b=this.parseIdentifier(c);for(;this.eat(16);){const M=this.startNodeAtNode(b);M.left=b,M.right=this.parseIdentifier(c),b=this.finishNode(M,"TSQualifiedName")}return b}tsParseTypeReference(){const c=this.startNode();return c.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeReference")}tsParseThisTypePredicate(c){this.next();const b=this.startNodeAtNode(c);return b.parameterName=c,b.typeAnnotation=this.tsParseTypeAnnotation(!1),b.asserts=!1,this.finishNode(b,"TSTypePredicate")}tsParseThisTypeNode(){const c=this.startNode();return this.next(),this.finishNode(c,"TSThisType")}tsParseTypeQuery(){const c=this.startNode();return this.expect(87),this.match(83)?c.exprName=this.tsParseImportType():c.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(c.typeParameters=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeQuery")}tsParseTypeParameter(c){const b=this.startNode();return c(b),b.name=this.tsParseTypeParameterName(),b.constraint=this.tsEatThenParseType(81),b.default=this.tsEatThenParseType(29),this.finishNode(b,"TSTypeParameter")}tsTryParseTypeParameters(c){if(this.match(47))return this.tsParseTypeParameters(c)}tsParseTypeParameters(c){const b=this.startNode();this.match(47)||this.match(142)?this.next():this.unexpected();const M={value:-1};return b.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,M),b.params.length===0&&this.raise(Mt.EmptyTypeParameters,b),M.value!==-1&&this.addExtra(b,"trailingComma",M.value),this.finishNode(b,"TSTypeParameterDeclaration")}tsFillSignature(c,b){const M=c===19;b.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),b.parameters=this.tsParseBindingListForSignature(),(M||this.match(c))&&(b.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(c))}tsParseBindingListForSignature(){const c=super.parseBindingList(11,41,2);for(const b of c){const{type:M}=b;M!=="AssignmentPattern"&&M!=="TSParameterProperty"||this.raise(Mt.UnsupportedSignatureParameterKind,b,{type:M})}return c}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(c,b){return this.tsFillSignature(14,b),this.tsParseTypeMemberSemicolon(),this.finishNode(b,c)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!ae(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(c){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const b=this.parseIdentifier();b.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(b),this.expect(3),c.parameters=[b];const M=this.tsTryParseTypeAnnotation();return M&&(c.typeAnnotation=M),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParsePropertyOrMethodSignature(c,b){this.eat(17)&&(c.optional=!0);const M=c;if(this.match(10)||this.match(47)){b&&this.raise(Mt.ReadonlyForMethodSignature,c);const D=M;D.kind&&this.match(47)&&this.raise(Mt.AccesorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,D),this.tsParseTypeMemberSemicolon();const Y="parameters",we="typeAnnotation";if(D.kind==="get")D[Y].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(D[Y][0])&&this.raise(Mt.AccesorCannotDeclareThisParameter,this.state.curPosition()));else if(D.kind==="set"){if(D[Y].length!==1)this.raise(g.BadSetterArity,this.state.curPosition());else{const De=D[Y][0];this.isThisParam(De)&&this.raise(Mt.AccesorCannotDeclareThisParameter,this.state.curPosition()),De.type==="Identifier"&&De.optional&&this.raise(Mt.SetAccesorCannotHaveOptionalParameter,this.state.curPosition()),De.type==="RestElement"&&this.raise(Mt.SetAccesorCannotHaveRestParameter,this.state.curPosition())}D[we]&&this.raise(Mt.SetAccesorCannotHaveReturnType,D[we])}else D.kind="method";return this.finishNode(D,"TSMethodSignature")}{const D=M;b&&(D.readonly=!0);const Y=this.tsTryParseTypeAnnotation();return Y&&(D.typeAnnotation=Y),this.tsParseTypeMemberSemicolon(),this.finishNode(D,"TSPropertySignature")}}tsParseTypeMember(){const c=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(77)){const b=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(b,"new"),this.tsParsePropertyOrMethodSignature(c,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},c),this.tsTryParseIndexSignature(c)||(super.parsePropertyName(c),c.computed||c.key.type!=="Identifier"||c.key.name!=="get"&&c.key.name!=="set"||!this.tsTokenCanFollowModifier()||(c.kind=c.key.name,super.parsePropertyName(c)),this.tsParsePropertyOrMethodSignature(c,!!c.readonly))}tsParseTypeLiteral(){const c=this.startNode();return c.members=this.tsParseObjectTypeMembers(),this.finishNode(c,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const c=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),c}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 c=this.startNode();return c.name=this.tsParseTypeParameterName(),c.constraint=this.tsExpectThenParseType(58),this.finishNode(c,"TSTypeParameter")}tsParseMappedType(){const c=this.startNode();return this.expect(5),this.match(53)?(c.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(c.readonly=!0),this.expect(0),c.typeParameter=this.tsParseMappedTypeParameter(),c.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(c.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(c.optional=!0),c.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(c,"TSMappedType")}tsParseTupleType(){const c=this.startNode();c.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let b=!1;return c.elementTypes.forEach((M=>{const{type:D}=M;!b||D==="TSRestType"||D==="TSOptionalType"||D==="TSNamedTupleMember"&&M.optional||this.raise(Mt.OptionalTypeBeforeRequired,M),b||(b=D==="TSNamedTupleMember"&&M.optional||D==="TSOptionalType")})),this.finishNode(c,"TSTupleType")}tsParseTupleElementType(){const{startLoc:c}=this.state,b=this.eat(21);let M,D,Y,we;const De=ce(this.state.type)?this.lookaheadCharCode():null;if(De===58)M=!0,Y=!1,D=this.parseIdentifier(!0),this.expect(14),we=this.tsParseType();else if(De===63){Y=!0;const Ue=this.state.startLoc,Ke=this.state.value,et=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(M=!0,D=this.createIdentifier(this.startNodeAt(Ue),Ke),this.expect(17),this.expect(14),we=this.tsParseType()):(M=!1,we=et,this.expect(17))}else we=this.tsParseType(),Y=this.eat(17),M=this.eat(14);if(M){let Ue;D?(Ue=this.startNodeAtNode(D),Ue.optional=Y,Ue.label=D,Ue.elementType=we,this.eat(17)&&(Ue.optional=!0,this.raise(Mt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(Ue=this.startNodeAtNode(we),Ue.optional=Y,this.raise(Mt.InvalidTupleMemberLabel,we),Ue.label=we,Ue.elementType=this.tsParseType()),we=this.finishNode(Ue,"TSNamedTupleMember")}else if(Y){const Ue=this.startNodeAtNode(we);Ue.typeAnnotation=we,we=this.finishNode(Ue,"TSOptionalType")}if(b){const Ue=this.startNodeAt(c);Ue.typeAnnotation=we,we=this.finishNode(Ue,"TSRestType")}return we}tsParseParenthesizedType(){const c=this.startNode();return this.expect(10),c.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(c,"TSParenthesizedType")}tsParseFunctionOrConstructorType(c,b){const M=this.startNode();return c==="TSConstructorType"&&(M.abstract=!!b,b&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,M))),this.finishNode(M,c)}tsParseLiteralTypeNode(){const c=this.startNode();switch(this.state.type){case 134:case 135:case 133:case 85:case 86:c.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(c,"TSLiteralType")}tsParseTemplateLiteralType(){const c=this.startNode();return c.literal=super.parseTemplate(!1),this.finishNode(c,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const c=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(c):c}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 c=this.startNode(),b=this.lookahead();return b.type!==134&&b.type!==135&&this.unexpected(),c.literal=this.parseMaybeUnary(),this.finishNode(c,"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:c}=this.state;if(ae(c)||c===88||c===84){const b=c===88?"TSVoidKeyword":c===84?"TSNullKeyword":(function(M){switch(M){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(b!==void 0&&this.lookaheadCharCode()!==46){const M=this.startNode();return this.next(),this.finishNode(M,b)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const b=this.startNodeAtNode(c);b.elementType=c,this.expect(3),c=this.finishNode(b,"TSArrayType")}else{const b=this.startNodeAtNode(c);b.objectType=c,b.indexType=this.tsParseType(),this.expect(3),c=this.finishNode(b,"TSIndexedAccessType")}return c}tsParseTypeOperator(){const c=this.startNode(),b=this.state.value;return this.next(),c.operator=b,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),b==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Mt.UnexpectedReadonly,c)}}tsParseInferType(){const c=this.startNode();this.expectContextual(115);const b=this.startNode();return b.name=this.tsParseTypeParameterName(),b.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),c.typeParameter=this.finishNode(b,"TSTypeParameter"),this.finishNode(c,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const c=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return c}}tsParseTypeOperatorOrHigher(){var c;return(c=this.state.type)>=121&&c<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(c,b,M){const D=this.startNode(),Y=this.eat(M),we=[];do we.push(b());while(this.eat(M));return we.length!==1||Y?(D.types=we,this.finishNode(D,c)):we[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(ae(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:c}=this.state,b=c.length;try{return this.parseObjectLike(8,!0),c.length===b}catch{return!1}}if(this.match(0)){this.next();const{errors:c}=this.state,b=c.length;try{return super.parseBindingList(3,93,1),c.length===b}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(c){return this.tsInType((()=>{const b=this.startNode();this.expect(c);const M=this.startNode(),D=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(D&&this.match(78)){let De=this.tsParseThisTypeOrThisTypePredicate();return De.type==="TSThisType"?(M.parameterName=De,M.asserts=!0,M.typeAnnotation=null,De=this.finishNode(M,"TSTypePredicate")):(this.resetStartLocationFromNode(De,M),De.asserts=!0),b.typeAnnotation=De,this.finishNode(b,"TSTypeAnnotation")}const Y=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Y)return D?(M.parameterName=this.parseIdentifier(),M.asserts=D,M.typeAnnotation=null,b.typeAnnotation=this.finishNode(M,"TSTypePredicate"),this.finishNode(b,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,b);const we=this.tsParseTypeAnnotation(!1);return M.parameterName=Y,M.typeAnnotation=we,M.asserts=D,b.typeAnnotation=this.finishNode(M,"TSTypePredicate"),this.finishNode(b,"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 c=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),c}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const c=this.state.containsEsc;return this.next(),!(!ae(this.state.type)&&!this.match(78)||(c&&this.raise(g.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType((()=>{c&&this.expect(14),b.typeAnnotation=this.tsParseType()})),this.finishNode(b,"TSTypeAnnotation")}tsParseType(){Fs(this.state.inType);const c=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return c;const b=this.startNodeAtNode(c);return b.checkType=c,b.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),b.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),b.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(b,"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(Mt.ReservedTypeAssertion,this.state.startLoc);const c=this.startNode();return c.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),c.expression=this.parseMaybeUnary(),this.finishNode(c,"TSTypeAssertion")}tsParseHeritageClause(c){const b=this.state.startLoc,M=this.tsParseDelimitedList("HeritageClauseElement",(()=>{const D=this.startNode();return D.expression=this.tsParseEntityName(),this.match(47)&&(D.typeParameters=this.tsParseTypeArguments()),this.finishNode(D,"TSExpressionWithTypeArguments")}));return M.length||this.raise(Mt.EmptyHeritageClauseType,b,{token:c}),M}tsParseInterfaceDeclaration(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(129),b.declare&&(c.declare=!0),ae(this.state.type)?(c.id=this.parseIdentifier(),this.checkIdentifier(c.id,130)):(c.id=null,this.raise(Mt.MissingInterfaceName,this.state.startLoc)),c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(c.extends=this.tsParseHeritageClause("extends"));const M=this.startNode();return M.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),c.body=this.finishNode(M,"TSInterfaceBody"),this.finishNode(c,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(c){return c.id=this.parseIdentifier(),this.checkIdentifier(c.id,2),c.typeAnnotation=this.tsInType((()=>{if(c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const b=this.startNode();return this.next(),this.finishNode(b,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsInNoContext(c){const b=this.state.context;this.state.context=[b[0]];try{return c()}finally{this.state.context=b}}tsInType(c){const b=this.state.inType;this.state.inType=!0;try{return c()}finally{this.state.inType=b}}tsInDisallowConditionalTypesContext(c){const b=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.state.inDisallowConditionalTypesContext=b}}tsInAllowConditionalTypesContext(c){const b=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.state.inDisallowConditionalTypesContext=b}}tsEatThenParseType(c){if(this.match(c))return this.tsNextThenParseType()}tsExpectThenParseType(c){return this.tsInType((()=>(this.expect(c),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){const c=this.startNode();return c.id=this.match(133)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(c.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(c,"TSEnumMember")}tsParseEnumDeclaration(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return b.const&&(c.const=!0),b.declare&&(c.declare=!0),this.expectContextual(126),c.id=this.parseIdentifier(),this.checkIdentifier(c.id,c.const?8971:8459),this.expect(5),c.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(c,"TSEnumDeclaration")}tsParseModuleBlock(){const c=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(c.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(c,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(c.id=this.parseIdentifier(),b||this.checkIdentifier(c.id,1024),this.eat(16)){const M=this.startNode();this.tsParseModuleOrNamespaceDeclaration(M,!0),c.body=M}else this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(c,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(c){return this.isContextual(112)?(c.global=!0,c.id=this.parseIdentifier()):this.match(133)?c.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),c.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(c,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(c,b,M){c.isExport=M||!1,c.id=b||this.parseIdentifier(),this.checkIdentifier(c.id,4096),this.expect(29);const D=this.tsParseModuleReference();return c.importKind==="type"&&D.type!=="TSExternalModuleReference"&&this.raise(Mt.ImportAliasHasImportType,D),c.moduleReference=D,this.semicolon(),this.finishNode(c,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const c=this.startNode();return this.expectContextual(119),this.expect(10),this.match(133)||this.unexpected(),c.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(c,"TSExternalModuleReference")}tsLookAhead(c){const b=this.state.clone(),M=c();return this.state=b,M}tsTryParseAndCatch(c){const b=this.tryParse((M=>c()||M()));if(!b.aborted&&b.node)return b.error&&(this.state=b.failState),b.node}tsTryParse(c){const b=this.state.clone(),M=c();if(M!==void 0&&M!==!1)return M;this.state=b}tsTryParseDeclare(c){if(this.isLineTerminator())return;let b,M=this.state.type;return this.isContextual(100)&&(M=74,b="let"),this.tsInAmbientContext((()=>{switch(M){case 68:return c.declare=!0,super.parseFunctionStatement(c,!1,!1);case 80:return c.declare=!0,this.parseClass(c,!0,!1);case 126:return this.tsParseEnumDeclaration(c,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(c);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(c,{const:!0,declare:!0})):(c.declare=!0,this.parseVarStatement(c,b||this.state.value,!0));case 129:{const D=this.tsParseInterfaceDeclaration(c,{declare:!0});if(D)return D}default:if(ae(M))return this.tsParseDeclaration(c,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(c,b,M){switch(b.name){case"declare":{const D=this.tsTryParseDeclare(c);return D&&(D.declare=!0),D}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const D=c;return D.global=!0,D.id=b,D.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(D,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,b.name,!1,M)}}tsParseDeclaration(c,b,M,D){switch(b){case"abstract":if(this.tsCheckLineTerminator(M)&&(this.match(80)||ae(this.state.type)))return this.tsParseAbstractDeclaration(c,D);break;case"module":if(this.tsCheckLineTerminator(M)){if(this.match(133))return this.tsParseAmbientExternalModuleDeclaration(c);if(ae(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(M)&&ae(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(M)&&ae(this.state.type))return this.tsParseTypeAliasDeclaration(c)}}tsCheckLineTerminator(c){return c?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(c){if(!this.match(47))return;const b=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const M=this.tsTryParseAndCatch((()=>{const D=this.startNodeAt(c);return D.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(D),D.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),D}));return this.state.maybeInArrowParameters=b,M?super.parseArrowExpression(M,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const c=this.startNode();return c.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),c.params.length===0?this.raise(Mt.EmptyTypeArguments,c):this.state.inType||this.curContext()!==O.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(c,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(c=this.state.type)>=124&&c<=130;var c}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(c,b){const M=this.state.startLoc,D={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},D);const Y=D.accessibility,we=D.override,De=D.readonly;4&c||!(Y||De||we)||this.raise(Mt.UnexpectedParameterModifier,M);const Ue=this.parseMaybeDefault();this.parseAssignableListItemTypes(Ue,c);const Ke=this.parseMaybeDefault(Ue.loc.start,Ue);if(Y||De||we){const et=this.startNodeAt(M);return b.length&&(et.decorators=b),Y&&(et.accessibility=Y),De&&(et.readonly=De),we&&(et.override=we),Ke.type!=="Identifier"&&Ke.type!=="AssignmentPattern"&&this.raise(Mt.UnsupportedParameterPropertyKind,et),et.parameter=Ke,this.finishNode(et,"TSParameterProperty")}return b.length&&(Ue.decorators=b),Ke}isSimpleParameter(c){return c.type==="TSParameterProperty"&&super.isSimpleParameter(c.parameter)||super.isSimpleParameter(c)}tsDisallowOptionalPattern(c){for(const b of c.params)b.type!=="Identifier"&&b.optional&&!this.state.isAmbientContext&&this.raise(Mt.PatternIsOptional,b)}setArrowFunctionParameters(c,b,M){super.setArrowFunctionParameters(c,b,M),this.tsDisallowOptionalPattern(c)}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];this.match(14)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const D=b==="FunctionDeclaration"?"TSDeclareFunction":b==="ClassMethod"||b==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return D&&!this.match(5)&&this.isLineTerminator()?this.finishNode(c,D):D==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Mt.DeclareFunctionHasImplementation,c),c.declare)?super.parseFunctionBodyAndFinish(c,D,M):(this.tsDisallowOptionalPattern(c),super.parseFunctionBodyAndFinish(c,b,M))}registerFunctionStatementId(c){!c.body&&c.id?this.checkIdentifier(c.id,1024):super.registerFunctionStatementId(c)}tsCheckForInvalidTypeCasts(c){c.forEach((b=>{b?.type==="TSTypeCastExpression"&&this.raise(Mt.UnexpectedTypeAnnotation,b.typeAnnotation)}))}toReferencedList(c,b){return this.tsCheckForInvalidTypeCasts(c),c}parseArrayLike(c,b,M,D){const Y=super.parseArrayLike(c,b,M,D);return Y.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(Y.elements),Y}parseSubscript(c,b,M,D){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const we=this.startNodeAt(b);return we.expression=c,this.finishNode(we,"TSNonNullExpression")}let Y=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(M)return D.stop=!0,c;D.optionalChainMember=Y=!0,this.next()}if(this.match(47)||this.match(51)){let we;const De=this.tsTryParseAndCatch((()=>{if(!M&&this.atPossibleAsyncArrow(c)){const Et=this.tsTryParseGenericAsyncArrowFunction(b);if(Et)return Et}const Ue=this.tsParseTypeArgumentsInExpression();if(!Ue)return;if(Y&&!this.match(10))return void(we=this.state.curPosition());if(He(this.state.type)){const Et=super.parseTaggedTemplateExpression(c,b,D);return Et.typeParameters=Ue,Et}if(!M&&this.eat(10)){const Et=this.startNodeAt(b);return Et.callee=c,Et.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Et.arguments),Et.typeParameters=Ue,D.optionalChainMember&&(Et.optional=Y),this.finishCallExpression(Et,D.optionalChainMember)}const Ke=this.state.type;if(Ke===48||Ke===52||Ke!==10&&ne(Ke)&&!this.hasPrecedingLineBreak())return;const et=this.startNodeAt(b);return et.expression=c,et.typeParameters=Ue,this.finishNode(et,"TSInstantiationExpression")}));if(we&&this.unexpected(we,10),De)return De.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Mt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),De}return super.parseSubscript(c,b,M,D)}parseNewCallee(c){var b;super.parseNewCallee(c);const{callee:M}=c;M.type!=="TSInstantiationExpression"||(b=M.extra)!=null&&b.parenthesized||(c.typeParameters=M.typeParameters,c.callee=M.expression)}parseExprOp(c,b,M){let D;if(xe(58)>M&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(D=this.isContextual(120)))){const Y=this.startNodeAt(b);return Y.expression=c,Y.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(D&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(Y,D?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Y,b,M)}return super.parseExprOp(c,b,M)}checkReservedWord(c,b,M,D){this.state.isAmbientContext||super.checkReservedWord(c,b,M,D)}checkImportReflection(c){super.checkImportReflection(c),c.module&&c.importKind!=="value"&&this.raise(Mt.ImportReflectionHasImportType,c.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(c){if(super.isPotentialImportPhase(c))return!0;if(this.isContextual(130)){const b=this.lookaheadCharCode();return c?b===123||b===42:b!==61}return!c&&this.isContextual(87)}applyImportPhase(c,b,M,D){super.applyImportPhase(c,b,M,D),b?c.exportKind=M==="type"?"type":"value":c.importKind=M==="type"||M==="typeof"?M:"value"}parseImport(c){if(this.match(133))return c.importKind="value",super.parseImport(c);let b;if(ae(this.state.type)&&this.lookaheadCharCode()===61)return c.importKind="value",this.tsParseImportEqualsDeclaration(c);if(this.isContextual(130)){const M=this.parseMaybeImportPhase(c,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(c,M);b=super.parseImportSpecifiersAndAfter(c,M)}else b=super.parseImport(c);return b.importKind==="type"&&b.specifiers.length>1&&b.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Mt.TypeImportCannotSpecifyDefaultAndNamed,b),b}parseExport(c,b){if(this.match(83)){this.next();let M=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?M=this.parseMaybeImportPhase(c,!1):c.importKind="value",this.tsParseImportEqualsDeclaration(c,M,!0)}if(this.eat(29)){const M=c;return M.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(M,"TSExportAssignment")}if(this.eatContextual(93)){const M=c;return this.expectContextual(128),M.id=this.parseIdentifier(),this.semicolon(),this.finishNode(M,"TSNamespaceExportDeclaration")}return super.parseExport(c,b)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const c=this.startNode();return this.next(),c.abstract=!0,this.parseClass(c,!0,!0)}if(this.match(129)){const c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseExportDefaultExpression()}parseVarStatement(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{isAmbientContext:D}=this.state,Y=super.parseVarStatement(c,b,M||D);if(!D)return Y;for(const{id:we,init:De}of Y.declarations)De&&(b!=="const"||we.typeAnnotation?this.raise(Mt.InitializerNotAllowedInAmbientContext,De):di(De,this.hasPlugin("estree"))||this.raise(Mt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,De));return Y}parseStatementContent(c,b){if(this.match(75)&&this.isLookaheadContextual("enum")){const M=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(M,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const M=this.tsParseInterfaceDeclaration(this.startNode());if(M)return M}return super.parseStatementContent(c,b)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(c,b){return b.some((M=>Ls(M)?c.accessibility===M:!!c[M]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(c,b,M){const D=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:D,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Mt.InvalidModifierOnTypeParameterPositions},b);const Y=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(b,D)&&this.raise(Mt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(c,b)):this.parseClassMemberWithIsStatic(c,b,M,!!b.static)};b.declare?this.tsInAmbientContext(Y):Y()}parseClassMemberWithIsStatic(c,b,M,D){const Y=this.tsTryParseIndexSignature(b);if(Y)return c.body.push(Y),b.abstract&&this.raise(Mt.IndexSignatureHasAbstract,b),b.accessibility&&this.raise(Mt.IndexSignatureHasAccessibility,b,{modifier:b.accessibility}),b.declare&&this.raise(Mt.IndexSignatureHasDeclare,b),void(b.override&&this.raise(Mt.IndexSignatureHasOverride,b));!this.state.inAbstractClass&&b.abstract&&this.raise(Mt.NonAbstractClassHasAbstractMethod,b),b.override&&(M.hadSuperClass||this.raise(Mt.OverrideNotInSubClass,b)),super.parseClassMemberWithIsStatic(c,b,M,D)}parsePostMemberNameModifiers(c){this.eat(17)&&(c.optional=!0),c.readonly&&this.match(10)&&this.raise(Mt.ClassMethodHasReadonly,c),c.declare&&this.match(10)&&this.raise(Mt.ClassMethodHasDeclare,c)}parseExpressionStatement(c,b,M){return(b.type==="Identifier"?this.tsParseExpressionStatement(c,b,M):void 0)||super.parseExpressionStatement(c,b,M)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(c,b,M){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(c,b,M);const D=this.tryParse((()=>super.parseConditional(c,b)));return D.node?(D.error&&(this.state=D.failState),D.node):(D.error&&super.setOptionalParametersError(M,D.error),c)}parseParenItem(c,b){if(c=super.parseParenItem(c,b),this.eat(17)&&(c.optional=!0,this.resetEndLocation(c)),this.match(14)){const M=this.startNodeAt(b);return M.expression=c,M.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(M,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(c)));const b=this.state.startLoc,M=this.eatContextual(125);if(M&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Mt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const D=ae(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(c);return D?((D.type==="TSInterfaceDeclaration"||D.type==="TSTypeAliasDeclaration"||M)&&(c.exportKind="type"),M&&(this.resetStartLocation(D,b),D.declare=!0),D):null}parseClassId(c,b,M,D){if((!b||M)&&this.isContextual(113))return;super.parseClassId(c,b,M,c.declare?1024:8331);const Y=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);Y&&(c.typeParameters=Y)}parseClassPropertyAnnotation(c){c.optional||(this.eat(35)?c.definite=!0:this.eat(17)&&(c.optional=!0));const b=this.tsTryParseTypeAnnotation();b&&(c.typeAnnotation=b)}parseClassProperty(c){if(this.parseClassPropertyAnnotation(c),this.state.isAmbientContext&&(!c.readonly||c.typeAnnotation)&&this.match(29)&&this.raise(Mt.DeclareClassFieldHasInitializer,this.state.startLoc),c.abstract&&this.match(29)){const{key:b}=c;this.raise(Mt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:b.type!=="Identifier"||c.computed?`[${this.input.slice(b.start,b.end)}]`:b.name})}return super.parseClassProperty(c)}parseClassPrivateProperty(c){return c.abstract&&this.raise(Mt.PrivateElementHasAbstract,c),c.accessibility&&this.raise(Mt.PrivateElementHasAccessibility,c,{modifier:c.accessibility}),this.parseClassPropertyAnnotation(c),super.parseClassPrivateProperty(c)}parseClassAccessorProperty(c){return this.parseClassPropertyAnnotation(c),c.optional&&this.raise(Mt.AccessorCannotBeOptional,c),super.parseClassAccessorProperty(c)}pushClassMethod(c,b,M,D,Y,we){const De=this.tsTryParseTypeParameters(this.tsParseConstModifier);De&&Y&&this.raise(Mt.ConstructorHasTypeParameters,De);const{declare:Ue=!1,kind:Ke}=b;!Ue||Ke!=="get"&&Ke!=="set"||this.raise(Mt.DeclareAccessor,b,{kind:Ke}),De&&(b.typeParameters=De),super.pushClassMethod(c,b,M,D,Y,we)}pushClassPrivateMethod(c,b,M,D){const Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);Y&&(b.typeParameters=Y),super.pushClassPrivateMethod(c,b,M,D)}declareClassPrivateMethodInScope(c,b){c.type!=="TSDeclareMethod"&&(c.type!=="MethodDefinition"||c.value.body)&&super.declareClassPrivateMethodInScope(c,b)}parseClassSuper(c){super.parseClassSuper(c),c.superClass&&(this.match(47)||this.match(51))&&(c.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(c.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(c,b,M,D,Y,we,De){const Ue=this.tsTryParseTypeParameters(this.tsParseConstModifier);return Ue&&(c.typeParameters=Ue),super.parseObjPropValue(c,b,M,D,Y,we,De)}parseFunctionParams(c,b){const M=this.tsTryParseTypeParameters(this.tsParseConstModifier);M&&(c.typeParameters=M),super.parseFunctionParams(c,b)}parseVarId(c,b){super.parseVarId(c,b),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(c.definite=!0);const M=this.tsTryParseTypeAnnotation();M&&(c.id.typeAnnotation=M,this.resetEndLocation(c.id))}parseAsyncArrowFromCallExpression(c,b){return this.match(14)&&(c.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(c,b)}parseMaybeAssign(c,b){var M,D,Y,we,De;let Ue,Ke,et,Et;if(this.hasPlugin("jsx")&&(this.match(142)||this.match(47))){if(Ue=this.state.clone(),Ke=this.tryParse((()=>super.parseMaybeAssign(c,b)),Ue),!Ke.error)return Ke.node;const{context:Kt}=this.state,Tr=Kt[Kt.length-1];Tr!==O.j_oTag&&Tr!==O.j_expr||Kt.pop()}if(!((M=Ke)!=null&&M.error||this.match(47)))return super.parseMaybeAssign(c,b);Ue&&Ue!==this.state||(Ue=this.state.clone());const Xt=this.tryParse((Kt=>{var Tr,Mn;Et=this.tsParseTypeParameters(this.tsParseConstModifier);const mn=super.parseMaybeAssign(c,b);return(mn.type!=="ArrowFunctionExpression"||(Tr=mn.extra)!=null&&Tr.parenthesized)&&Kt(),((Mn=Et)==null?void 0:Mn.params.length)!==0&&this.resetStartLocationFromNode(mn,Et),mn.typeParameters=Et,mn}),Ue);if(!Xt.error&&!Xt.aborted)return Et&&this.reportReservedArrowTypeParam(Et),Xt.node;if(!Ke&&(Fs(!this.hasPlugin("jsx")),et=this.tryParse((()=>super.parseMaybeAssign(c,b)),Ue),!et.error))return et.node;if((D=Ke)!=null&&D.node)return this.state=Ke.failState,Ke.node;if(Xt.node)return this.state=Xt.failState,Et&&this.reportReservedArrowTypeParam(Et),Xt.node;if((Y=et)!=null&&Y.node)return this.state=et.failState,et.node;throw((we=Ke)==null?void 0:we.error)||Xt.error||((De=et)==null?void 0:De.error)}reportReservedArrowTypeParam(c){var b;c.params.length!==1||c.params[0].constraint||(b=c.extra)!=null&&b.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Mt.ReservedArrowTypeParam,c)}parseMaybeUnary(c,b){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(c,b)}parseArrow(c){if(this.match(14)){const b=this.tryParse((M=>{const D=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||M(),D}));if(b.aborted)return;b.thrown||(b.error&&(this.state=b.failState),c.returnType=b.node)}return super.parseArrow(c)}parseAssignableListItemTypes(c,b){if(!(2&b))return c;this.eat(17)&&(c.optional=!0);const M=this.tsTryParseTypeAnnotation();return M&&(c.typeAnnotation=M),this.resetEndLocation(c),c}isAssignable(c,b){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,b);case"TSParameterProperty":return!0;default:return super.isAssignable(c,b)}}toAssignable(c){let b=arguments.length>1&&arguments[1]!==void 0&&arguments[1];switch(c.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(c,b);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":b?this.expressionScope.recordArrowParameterBindingError(Mt.UnexpectedTypeCastInParameter,c):this.raise(Mt.UnexpectedTypeCastInParameter,c),this.toAssignable(c.expression,b);break;case"AssignmentExpression":b||c.left.type!=="TSTypeCastExpression"||(c.left=this.typeCastToParameter(c.left));default:super.toAssignable(c,b)}}toAssignableParenthesizedExpression(c,b){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(c.expression,b);break;default:super.toAssignable(c,b)}}checkToRestConversion(c,b){switch(c.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(c.expression,!1);break;default:super.checkToRestConversion(c,b)}}isValidLVal(c,b,M){return D={TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(M!==64||!b)&&["expression",!0],TSSatisfiesExpression:(M!==64||!b)&&["expression",!0],TSTypeAssertion:(M!==64||!b)&&["expression",!0]},Y=c,Object.hasOwnProperty.call(D,Y)&&D[Y]||super.isValidLVal(c,b,M);var D,Y}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(c){if(this.match(47)||this.match(51)){const b=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const M=super.parseMaybeDecoratorArguments(c);return M.typeParameters=b,M}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(c)}checkCommaAfterRest(c){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===c?(this.next(),!1):super.checkCommaAfterRest(c)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(c,b){const M=super.parseMaybeDefault(c,b);return M.type==="AssignmentPattern"&&M.typeAnnotation&&M.right.startthis.isAssignable(b,!0))):super.shouldParseArrow(c)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(c){if(this.match(47)||this.match(51)){const b=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));b&&(c.typeParameters=b)}return super.jsxParseOpeningElementAfterName(c)}getGetterSetterExpectedParamCount(c){const b=super.getGetterSetterExpectedParamCount(c),M=this.getObjectOrClassMethodParams(c)[0];return M&&this.isThisParam(M)?b+1:b}parseCatchClauseParam(){const c=super.parseCatchClauseParam(),b=this.tsTryParseTypeAnnotation();return b&&(c.typeAnnotation=b,this.resetEndLocation(c)),c}tsInAmbientContext(c){const b=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return c()}finally{this.state.isAmbientContext=b}}parseClass(c,b,M){const D=this.state.inAbstractClass;this.state.inAbstractClass=!!c.abstract;try{return super.parseClass(c,b,M)}finally{this.state.inAbstractClass=D}}tsParseAbstractDeclaration(c,b){if(this.match(80))return c.abstract=!0,this.maybeTakeDecorators(b,this.parseClass(c,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.raise(Mt.NonClassMethodPropertyHasAbstractModifer,c),this.tsParseInterfaceDeclaration(c)}else this.unexpected(null,80)}parseMethod(c,b,M,D,Y,we,De){const Ue=super.parseMethod(c,b,M,D,Y,we,De);if(Ue.abstract&&(this.hasPlugin("estree")?Ue.value.body:Ue.body)){const{key:Ke}=Ue;this.raise(Mt.AbstractMethodHasImplementation,Ue,{methodName:Ke.type!=="Identifier"||Ue.computed?`[${this.input.slice(Ke.start,Ke.end)}]`:Ke.name})}return Ue}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(c,b,M,D){return!b&&D?(this.parseTypeOnlyImportExportSpecifier(c,!1,M),this.finishNode(c,"ExportSpecifier")):(c.exportKind="value",super.parseExportSpecifier(c,b,M,D))}parseImportSpecifier(c,b,M,D,Y){return!b&&D?(this.parseTypeOnlyImportExportSpecifier(c,!0,M),this.finishNode(c,"ImportSpecifier")):(c.importKind="value",super.parseImportSpecifier(c,b,M,D,M?4098:4096))}parseTypeOnlyImportExportSpecifier(c,b,M){const D=b?"imported":"local",Y=b?"local":"exported";let we,De=c[D],Ue=!1,Ke=!0;const et=De.loc.start;if(this.isContextual(93)){const Et=this.parseIdentifier();if(this.isContextual(93)){const Xt=this.parseIdentifier();ce(this.state.type)?(Ue=!0,De=Et,we=b?this.parseIdentifier():this.parseModuleExportName(),Ke=!1):(we=Xt,Ke=!1)}else ce(this.state.type)?(Ke=!1,we=b?this.parseIdentifier():this.parseModuleExportName()):(Ue=!0,De=Et)}else ce(this.state.type)&&(Ue=!0,b?(De=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(De.name,De.loc.start,!0,!0)):De=this.parseModuleExportName());Ue&&M&&this.raise(b?Mt.TypeModifierIsUsedInTypeImports:Mt.TypeModifierIsUsedInTypeExports,et),c[D]=De,c[Y]=we,c[b?"importKind":"exportKind"]=Ue?"type":"value",Ke&&this.eatContextual(93)&&(c[Y]=b?this.parseIdentifier():this.parseModuleExportName()),c[Y]||(c[Y]=Yn(c[D])),b&&this.checkIdentifier(c[Y],Ue?4098:4096)}},v8intrinsic:Ae=>class extends Ae{parseV8Intrinsic(){if(this.match(54)){const c=this.state.startLoc,b=this.startNode();if(this.next(),ae(this.state.type)){const M=this.parseIdentifierName(),D=this.createIdentifier(b,M);if(D.type="V8IntrinsicIdentifier",this.match(10))return D}this.unexpected(c)}}parseExprAtom(c){return this.parseV8Intrinsic()||super.parseExprAtom(c)}},placeholders:Ae=>class extends Ae{parsePlaceholder(c){if(this.match(144)){const b=this.startNode();return this.next(),this.assertNoSpace(),b.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(144),this.finishPlaceholder(b,c)}}finishPlaceholder(c,b){const M=!(!c.expectedNode||c.type!=="Placeholder");return c.expectedNode=b,M?c:this.finishNode(c,"Placeholder")}getTokenFromCode(c){c===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(144,2):super.getTokenFromCode(c)}parseExprAtom(c){return this.parsePlaceholder("Expression")||super.parseExprAtom(c)}parseIdentifier(c){return this.parsePlaceholder("Identifier")||super.parseIdentifier(c)}checkReservedWord(c,b,M,D){c!==void 0&&super.checkReservedWord(c,b,M,D)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(c,b,M){return c==="Placeholder"||super.isValidLVal(c,b,M)}toAssignable(c,b){c&&c.type==="Placeholder"&&c.expectedNode==="Expression"?c.expectedNode="Pattern":super.toAssignable(c,b)}chStartsBindingIdentifier(c,b){return!!super.chStartsBindingIdentifier(c,b)||this.lookahead().type===144}verifyBreakContinue(c,b){c.label&&c.label.type==="Placeholder"||super.verifyBreakContinue(c,b)}parseExpressionStatement(c,b){var M;if(b.type!=="Placeholder"||(M=b.extra)!=null&&M.parenthesized)return super.parseExpressionStatement(c,b);if(this.match(14)){const D=c;return D.label=this.finishPlaceholder(b,"Identifier"),this.next(),D.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(D,"LabeledStatement")}return this.semicolon(),c.name=b.name,this.finishPlaceholder(c,"Statement")}parseBlock(c,b,M){return this.parsePlaceholder("BlockStatement")||super.parseBlock(c,b,M)}parseFunctionId(c){return this.parsePlaceholder("Identifier")||super.parseFunctionId(c)}parseClass(c,b,M){const D=b?"ClassDeclaration":"ClassExpression";this.next();const Y=this.state.strict,we=this.parsePlaceholder("Identifier");if(we){if(!(this.match(81)||this.match(144)||this.match(5))){if(M||!b)return c.id=null,c.body=this.finishPlaceholder(we,"ClassBody"),this.finishNode(c,D);throw this.raise(Oi.ClassNameIsRequired,this.state.startLoc)}c.id=we}else this.parseClassId(c,b,M);return super.parseClassSuper(c),c.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!c.superClass,Y),this.finishNode(c,D)}parseExport(c,b){const M=this.parsePlaceholder("Identifier");if(!M)return super.parseExport(c,b);if(!this.isContextual(98)&&!this.match(12))return c.specifiers=[],c.source=null,c.declaration=this.finishPlaceholder(M,"Declaration"),this.finishNode(c,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const D=this.startNode();return D.exported=M,c.specifiers=[this.finishNode(D,"ExportDefaultSpecifier")],super.parseExport(c,b)}isExportDefaultSpecifier(){if(this.match(65)){const c=this.nextTokenStart();if(this.isUnparsedContextual(c,"from")&&this.input.startsWith(ve(144),this.nextTokenStartSince(c+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(c,b){var M;return!((M=c.specifiers)==null||!M.length)||super.maybeParseExportDefaultSpecifier(c,b)}checkExport(c){const{specifiers:b}=c;b!=null&&b.length&&(c.specifiers=b.filter((M=>M.exported.type==="Placeholder"))),super.checkExport(c),c.specifiers=b}parseImport(c){const b=this.parsePlaceholder("Identifier");if(!b)return super.parseImport(c);if(c.specifiers=[],!this.isContextual(98)&&!this.match(12))return c.source=this.finishPlaceholder(b,"StringLiteral"),this.semicolon(),this.finishNode(c,"ImportDeclaration");const M=this.startNodeAtNode(b);return M.local=b,c.specifiers.push(this.finishNode(M,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(c)||this.parseNamedImportSpecifiers(c)),this.expectContextual(98),c.source=this.parseImportSource(),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Oi.UnexpectedSpace,this.state.lastTokEndLoc)}}},va=Object.keys(ga),ya={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 rl extends Un{checkProto(c,b,M,D){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;const Y=c.key;if((Y.type==="Identifier"?Y.name:Y.value)==="__proto__"){if(b)return void this.raise(g.RecordNoProto,Y);M.used&&(D?D.doubleProtoLoc===null&&(D.doubleProtoLoc=Y.loc.start):this.raise(g.DuplicateProto,Y)),M.used=!0}}shouldExitDescending(c,b){return c.type==="ArrowFunctionExpression"&&c.start===b}getExpression(){this.enterInitialScopes(),this.nextToken();const c=this.parseExpression();return this.match(139)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,b){return c?this.disallowInAnd((()=>this.parseExpressionBase(b))):this.allowInAnd((()=>this.parseExpressionBase(b)))}parseExpressionBase(c){const b=this.state.startLoc,M=this.parseMaybeAssign(c);if(this.match(12)){const D=this.startNodeAt(b);for(D.expressions=[M];this.eat(12);)D.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(D.expressions),this.finishNode(D,"SequenceExpression")}return M}parseMaybeAssignDisallowIn(c,b){return this.disallowInAnd((()=>this.parseMaybeAssign(c,b)))}parseMaybeAssignAllowIn(c,b){return this.allowInAnd((()=>this.parseMaybeAssign(c,b)))}setOptionalParametersError(c,b){var M;c.optionalParametersLoc=(M=b?.loc)!=null?M:this.state.startLoc}parseMaybeAssign(c,b){const M=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let Ue=this.parseYield();return b&&(Ue=b.call(this,Ue,M)),Ue}let D;c?D=!1:(c=new os,D=!0);const{type:Y}=this.state;(Y===10||ae(Y))&&(this.state.potentialArrowAt=this.state.start);let we=this.parseMaybeConditional(c);if(b&&(we=b.call(this,we,M)),(De=this.state.type)>=29&&De<=33){const Ue=this.startNodeAt(M),Ke=this.state.value;if(Ue.operator=Ke,this.match(29)){this.toAssignable(we,!0),Ue.left=we;const et=M.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=et&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=et&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=et&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else Ue.left=we;return this.next(),Ue.right=this.parseMaybeAssign(),this.checkLVal(we,{in:this.finishNode(Ue,"AssignmentExpression")}),Ue}var De;return D&&this.checkExpressionErrors(c,!0),we}parseMaybeConditional(c){const b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseExprOps(c);return this.shouldExitDescending(D,M)?D:this.parseConditional(D,b,c)}parseConditional(c,b,M){if(this.eat(17)){const D=this.startNodeAt(b);return D.test=c,D.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),D.alternate=this.parseMaybeAssign(),this.finishNode(D,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(138)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){const b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(D,M)?D:this.parseExprOp(D,b,-1)}parseExprOp(c,b,M){if(this.isPrivateName(c)){const we=this.getPrivateNameSV(c);(M>=xe(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,c,{identifierName:we}),this.classScope.usePrivateName(we,c.loc.start)}const D=this.state.type;if((Y=D)>=39&&Y<=59&&(this.prodParam.hasIn||!this.match(58))){let we=xe(D);if(we>M){if(D===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,b)}const De=this.startNodeAt(b);De.left=c,De.operator=this.state.value;const Ue=D===41||D===42,Ke=D===40;if(Ke&&(we=xe(42)),this.next(),D===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);De.right=this.parseExprOpRightExpr(D,we);const et=this.finishNode(De,Ue||Ke?"LogicalExpression":"BinaryExpression"),Et=this.state.type;if(Ke&&(Et===41||Et===42)||Ue&&Et===40)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(et,b,M)}}var Y;return c}parseExprOpRightExpr(c,b){const M=this.state.startLoc;if(c===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(g.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,b),M)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(b)))}return this.parseExprOpBaseRightExpr(c,b)}parseExprOpBaseRightExpr(c,b){const M=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),M,c===57?b-1:b)}parseHackPipeBody(){var c;const{startLoc:b}=this.state,M=this.parseMaybeAssign();return!d.has(M.type)||(c=M.extra)!=null&&c.parenthesized||this.raise(g.PipeUnparenthesizedBody,b,{type:M.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,b),M}checkExponentialAfterUnary(c){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,c.argument)}parseMaybeUnary(c,b){const M=this.state.startLoc,D=this.isContextual(96);if(D&&this.isAwaitAllowed()){this.next();const Ke=this.parseAwait(M);return b||this.checkExponentialAfterUnary(Ke),Ke}const Y=this.match(34),we=this.startNode();if(De=this.state.type,fe[De]){we.operator=this.state.value,we.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const Ke=this.match(89);if(this.next(),we.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&Ke){const et=we.argument;et.type==="Identifier"?this.raise(g.StrictDelete,we):this.hasPropertyAsPrivateName(et)&&this.raise(g.DeletePrivateField,we)}if(!Y)return b||this.checkExponentialAfterUnary(we),this.finishNode(we,"UnaryExpression")}var De;const Ue=this.parseUpdate(we,Y,c);if(D){const{type:Ke}=this.state;if((this.hasPlugin("v8intrinsic")?ne(Ke):ne(Ke)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(g.AwaitNotInAsyncContext,M),this.parseAwait(M)}return Ue}parseUpdate(c,b,M){if(b){const we=c;return this.checkLVal(we.argument,{in:this.finishNode(we,"UpdateExpression")}),c}const D=this.state.startLoc;let Y=this.parseExprSubscripts(M);if(this.checkExpressionErrors(M,!1))return Y;for(;this.state.type===34&&!this.canInsertSemicolon();){const we=this.startNodeAt(D);we.operator=this.state.value,we.prefix=!1,we.argument=Y,this.next(),this.checkLVal(Y,{in:Y=this.finishNode(we,"UpdateExpression")})}return Y}parseExprSubscripts(c){const b=this.state.startLoc,M=this.state.potentialArrowAt,D=this.parseExprAtom(c);return this.shouldExitDescending(D,M)?D:this.parseSubscripts(D,b)}parseSubscripts(c,b,M){const D={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,b,M,D),D.maybeAsyncArrow=!1;while(!D.stop);return c}parseSubscript(c,b,M,D){const{type:Y}=this.state;if(!M&&Y===15)return this.parseBind(c,b,M,D);if(He(Y))return this.parseTaggedTemplateExpression(c,b,D);let we=!1;if(Y===18){if(M&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return D.stop=!0,c;D.optionalChainMember=we=!0,this.next()}if(!M&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,b,D,we);{const De=this.eat(0);return De||we||this.eat(16)?this.parseMember(c,b,D,De,we):(D.stop=!0,c)}}parseMember(c,b,M,D,Y){const we=this.startNodeAt(b);return we.object=c,we.computed=D,D?(we.property=this.parseExpression(),this.expect(3)):this.match(138)?(c.type==="Super"&&this.raise(g.SuperPrivateField,b),this.classScope.usePrivateName(this.state.value,this.state.startLoc),we.property=this.parsePrivateName()):we.property=this.parseIdentifier(!0),M.optionalChainMember?(we.optional=Y,this.finishNode(we,"OptionalMemberExpression")):this.finishNode(we,"MemberExpression")}parseBind(c,b,M,D){const Y=this.startNodeAt(b);return Y.object=c,this.next(),Y.callee=this.parseNoCallExpr(),D.stop=!0,this.parseSubscripts(this.finishNode(Y,"BindExpression"),b,M)}parseCoverCallAndAsyncArrowHead(c,b,M,D){const Y=this.state.maybeInArrowParameters;let we=null;this.state.maybeInArrowParameters=!0,this.next();const De=this.startNodeAt(b);De.callee=c;const{maybeAsyncArrow:Ue,optionalChainMember:Ke}=M;Ue&&(this.expressionScope.enter(new vr(2)),we=new os),Ke&&(De.optional=D),De.arguments=D?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",De,we);let et=this.finishCallExpression(De,Ke);return Ue&&this.shouldParseAsyncArrow()&&!D?(M.stop=!0,this.checkDestructuringPrivate(we),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),et=this.parseAsyncArrowFromCallExpression(this.startNodeAt(b),et)):(Ue&&(this.checkExpressionErrors(we,!0),this.expressionScope.exit()),this.toReferencedArguments(et)),this.state.maybeInArrowParameters=Y,et}toReferencedArguments(c,b){this.toReferencedListDeep(c.arguments,b)}parseTaggedTemplateExpression(c,b,M){const D=this.startNodeAt(b);return D.tag=c,D.quasi=this.parseTemplate(!0),M.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,b),this.finishNode(D,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start==5&&c.start===this.state.potentialArrowAt}expectImportAttributesPlugin(){this.hasPlugin("importAssertions")||this.expectPlugin("importAttributes")}finishCallExpression(c,b){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectImportAttributesPlugin()),c.arguments.length===0||c.arguments.length>2)this.raise(g.ImportCallArity,c,{maxArgumentCount:this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const M of c.arguments)M.type==="SpreadElement"&&this.raise(g.ImportCallSpreadArgument,M);return this.finishNode(c,b?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,b,M,D,Y){const we=[];let De=!0;const Ue=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(De)De=!1;else if(this.expect(12),this.match(c)){!b||this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(g.ImportCallArgumentTrailingComma,this.state.lastTokStartLoc),D&&this.addTrailingCommaExtraToNode(D),this.next();break}we.push(this.parseExprListItem(!1,Y,M))}return this.state.inFSharpPipelineDirectBody=Ue,we}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,b){var M;return this.resetPreviousNodeTrailingComments(b),this.expect(19),this.parseArrowExpression(c,b.arguments,!0,(M=b.extra)==null?void 0:M.trailingCommaLoc),b.innerComments&&fr(c,b.innerComments),b.callee.trailingComments&&fr(c,b.callee.trailingComments),c}parseNoCallExpr(){const c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let b,M=null;const{type:D}=this.state;switch(D){case 79:return this.parseSuper();case 83:return b=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(b):this.match(10)?this.options.createImportExpressions?this.parseImportCall(b):this.finishNode(b,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(b,"Import"));case 78:return b=this.startNode(),this.next(),this.finishNode(b,"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 Y=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(Y)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,c);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,c);case 68:return this.parseFunctionOrFunctionSent();case 26:M=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(M,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{b=this.startNode(),this.next(),b.object=null;const Y=b.callee=this.parseNoCallExpr();if(Y.type==="MemberExpression")return this.finishNode(b,"BindExpression");throw this.raise(g.UnsupportedBind,Y)}case 138:return this.raise(g.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 Y=this.getPluginOption("pipelineOperator","proposal");if(Y)return this.parseTopicReference(Y);this.unexpected();break}case 47:{const Y=this.input.codePointAt(this.nextTokenStart());ke(Y)||Y===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ae(D)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const Y=this.state.potentialArrowAt===this.state.start,we=this.state.containsEsc,De=this.parseIdentifier();if(!we&&De.name==="async"&&!this.canInsertSemicolon()){const{type:Ue}=this.state;if(Ue===68)return this.resetPreviousNodeTrailingComments(De),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(De));if(ae(Ue))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(De)):De;if(Ue===90)return this.resetPreviousNodeTrailingComments(De),this.parseDo(this.startNodeAtNode(De),!0)}return Y&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(De),[De],!1)):De}this.unexpected()}}parseTopicReferenceThenEqualsSign(c,b){const M=this.getPluginOption("pipelineOperator","proposal");if(M)return this.state.type=c,this.state.value=b,this.state.pos--,this.state.end--,this.state.endLoc=s(this.state.endLoc,-1),this.parseTopicReference(M);this.unexpected()}parseTopicReference(c){const b=this.startNode(),M=this.state.startLoc,D=this.state.type;return this.next(),this.finishTopicReference(b,M,c,D)}finishTopicReference(c,b,M,D){if(this.testTopicReferenceConfiguration(M,b,D)){const Y=M==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(M==="smart"?g.PrimaryTopicNotAllowed:g.PipeTopicUnbound,b),this.registerTopicReference(),this.finishNode(c,Y)}throw this.raise(g.PipeTopicUnconfiguredToken,b,{token:ve(D)})}testTopicReferenceConfiguration(c,b,M){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:ve(M)}]);case"smart":return M===27;default:throw this.raise(g.PipeTopicRequiresHackPipes,b)}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(Xn(!0,this.prodParam.hasYield));const b=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(c,b,!0)}parseDo(c,b){this.expectPlugin("doExpressions"),b&&this.expectPlugin("asyncDoExpressions"),c.async=b,this.next();const M=this.state.labels;return this.state.labels=[],b?(this.prodParam.enter(2),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=M,this.finishNode(c,"DoExpression")}parseSuper(){const c=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(g.UnexpectedSuper,c):this.raise(g.SuperNotAllowed,c),this.match(10)||this.match(0)||this.match(16)||this.raise(g.UnsupportedSuper,c),this.finishNode(c,"Super")}parsePrivateName(){const c=this.startNode(),b=this.startNodeAt(s(this.state.startLoc,1)),M=this.state.value;return this.next(),c.id=this.createIdentifier(b,M),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){const c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const b=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,b,"sent")}return this.parseFunction(c)}parseMetaProperty(c,b,M){c.meta=b;const D=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==M||D)&&this.raise(g.UnsupportedMetaProperty,c.property,{target:b.name,onlyValidPropertyName:M}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){const b=this.createIdentifier(this.startNodeAtNode(c),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,b),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const M=this.isContextual(105);if(M||this.unexpected(),this.expectPlugin(M?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),c.phase=M?"source":"defer",this.parseImportCall(c)}return this.parseMetaProperty(c,b,"meta")}parseLiteralAtNode(c,b,M){return this.addExtra(M,"rawValue",c),this.addExtra(M,"raw",this.input.slice(M.start,this.state.end)),M.value=c,this.next(),this.finishNode(M,b)}parseLiteral(c,b){const M=this.startNode();return this.parseLiteralAtNode(c,b,M)}parseStringLiteral(c){return this.parseLiteral(c,"StringLiteral")}parseNumericLiteral(c){return this.parseLiteral(c,"NumericLiteral")}parseBigIntLiteral(c){return this.parseLiteral(c,"BigIntLiteral")}parseDecimalLiteral(c){return this.parseLiteral(c,"DecimalLiteral")}parseRegExpLiteral(c){const b=this.parseLiteral(c.value,"RegExpLiteral");return b.pattern=c.pattern,b.flags=c.flags,b}parseBooleanLiteral(c){const b=this.startNode();return b.value=c,this.next(),this.finishNode(b,"BooleanLiteral")}parseNullLiteral(){const c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){const b=this.state.startLoc;let M;this.next(),this.expressionScope.enter(new vr(1));const D=this.state.maybeInArrowParameters,Y=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const we=this.state.startLoc,De=[],Ue=new os;let Ke,et,Et=!0;for(;!this.match(11);){if(Et)Et=!1;else if(this.expect(12,Ue.optionalParametersLoc===null?null:Ue.optionalParametersLoc),this.match(11)){et=this.state.startLoc;break}if(this.match(21)){const Tr=this.state.startLoc;if(Ke=this.state.startLoc,De.push(this.parseParenItem(this.parseRestBinding(),Tr)),!this.checkCommaAfterRest(41))break}else De.push(this.parseMaybeAssignAllowIn(Ue,this.parseParenItem))}const Xt=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=D,this.state.inFSharpPipelineDirectBody=Y;let Kt=this.startNodeAt(b);return c&&this.shouldParseArrow(De)&&(Kt=this.parseArrow(Kt))?(this.checkDestructuringPrivate(Ue),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Kt,De,!1),Kt):(this.expressionScope.exit(),De.length||this.unexpected(this.state.lastTokStartLoc),et&&this.unexpected(et),Ke&&this.unexpected(Ke),this.checkExpressionErrors(Ue,!0),this.toReferencedListDeep(De,!0),De.length>1?(M=this.startNodeAt(we),M.expressions=De,this.finishNode(M,"SequenceExpression"),this.resetEndLocation(M,Xt)):M=De[0],this.wrapParenthesis(b,M))}wrapParenthesis(c,b){if(!this.options.createParenthesizedExpressions)return this.addExtra(b,"parenthesized",!0),this.addExtra(b,"parenStart",c.index),this.takeSurroundingComments(b,c.index,this.state.lastTokEndLoc.index),b;const M=this.startNodeAt(c);return M.expression=b,this.finishNode(M,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,b){return c}parseNewOrNewTarget(){const c=this.startNode();if(this.next(),this.match(16)){const b=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();const M=this.parseMetaProperty(c,b,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(g.UnexpectedNewTarget,M),M}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){const b=this.parseExprList(11);this.toReferencedList(b),c.arguments=b}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){const b=this.match(83),M=this.parseNoCallExpr();c.callee=M,!b||M.type!=="Import"&&M.type!=="ImportExpression"||this.raise(g.ImportCallNotNewExpression,M)}parseTemplateElement(c){const{start:b,startLoc:M,end:D,value:Y}=this.state,we=b+1,De=this.startNodeAt(s(M,1));Y===null&&(c||this.raise(g.InvalidEscapeSequenceTemplate,s(this.state.firstInvalidTemplateEscapePos,1)));const Ue=this.match(24),Ke=Ue?-1:-2,et=D+Ke;De.value={raw:this.input.slice(we,et).replace(/\r\n?/g,` `),cooked:Y===null?null:Y.slice(1,Ke)},De.tail=Ue,this.next();const Et=this.finishNode(De,"TemplateElement");return this.resetEndLocation(Et,s(this.state.lastTokEndLoc,Ke)),Et}parseTemplate(c){const b=this.startNode();b.expressions=[];let M=this.parseTemplateElement(c);for(b.quasis=[M];!M.tail;)b.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),b.quasis.push(M=this.parseTemplateElement(c));return this.finishNode(b,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,b,M,D){M&&this.expectPlugin("recordAndTuple");const Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const we=Object.create(null);let De=!0;const Ue=this.startNode();for(Ue.properties=[],this.next();!this.match(c);){if(De)De=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(Ue);break}let et;b?et=this.parseBindingProperty():(et=this.parsePropertyDefinition(D),this.checkProto(et,M,we,D)),M&&!this.isObjectProperty(et)&&et.type!=="SpreadElement"&&this.raise(g.InvalidRecordProperty,et),et.shorthand&&this.addExtra(et,"shorthand",!0),Ue.properties.push(et)}this.next(),this.state.inFSharpPipelineDirectBody=Y;let Ke="ObjectExpression";return b?Ke="ObjectPattern":M&&(Ke="RecordExpression"),this.finishNode(Ue,Ke)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(c,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(c){return!c.computed&&c.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(c){let b=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)b.push(this.parseDecorator());const M=this.startNode();let D,Y=!1,we=!1;if(this.match(21))return b.length&&this.unexpected(),this.parseSpread();b.length&&(M.decorators=b,b=[]),M.method=!1,c&&(D=this.state.startLoc);let De=this.eat(55);this.parsePropertyNamePrefixOperator(M);const Ue=this.state.containsEsc,Ke=this.parsePropertyName(M,c);if(!De&&!Ue&&this.maybeAsyncOrAccessorProp(M)){const et=Ke.name;et!=="async"||this.hasPrecedingLineBreak()||(Y=!0,this.resetPreviousNodeTrailingComments(Ke),De=this.eat(55),this.parsePropertyName(M)),et!=="get"&&et!=="set"||(we=!0,this.resetPreviousNodeTrailingComments(Ke),M.kind=et,this.match(55)&&(De=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:et}),this.next()),this.parsePropertyName(M))}return this.parseObjPropValue(M,D,De,Y,!1,we,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var b;const M=this.getGetterSetterExpectedParamCount(c),D=this.getObjectOrClassMethodParams(c);D.length!==M&&this.raise(c.kind==="get"?g.BadGetterArity:g.BadSetterArity,c),c.kind==="set"&&((b=D[D.length-1])==null?void 0:b.type)==="RestElement"&&this.raise(g.BadSetterRestParameter,c)}parseObjectMethod(c,b,M,D,Y){if(Y){const we=this.parseMethod(c,b,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(we),we}if(M||b||this.match(10))return D&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,b,M,!1,!1,"ObjectMethod")}parseObjectProperty(c,b,M,D){if(c.shorthand=!1,this.eat(14))return c.value=M?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(D),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),M)c.value=this.parseMaybeDefault(b,Yn(c.key));else if(this.match(29)){const Y=this.state.startLoc;D!=null?D.shorthandAssignLoc===null&&(D.shorthandAssignLoc=Y):this.raise(g.InvalidCoverInitializedName,Y),c.value=this.parseMaybeDefault(b,Yn(c.key))}else c.value=Yn(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,b,M,D,Y,we,De){const Ue=this.parseObjectMethod(c,M,D,Y,we)||this.parseObjectProperty(c,b,Y,De);return Ue||this.unexpected(),Ue}parsePropertyName(c,b){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:M,value:D}=this.state;let Y;if(ce(M))Y=this.parseIdentifier(!0);else switch(M){case 134:Y=this.parseNumericLiteral(D);break;case 133:Y=this.parseStringLiteral(D);break;case 135:Y=this.parseBigIntLiteral(D);break;case 136:Y=this.parseDecimalLiteral(D);break;case 138:{const we=this.state.startLoc;b!=null?b.privateKeyLoc===null&&(b.privateKeyLoc=we):this.raise(g.UnexpectedPrivateField,we),Y=this.parsePrivateName();break}default:this.unexpected()}c.key=Y,M!==138&&(c.computed=!1)}return c.key}initFunction(c,b){c.id=null,c.generator=!1,c.async=b}parseMethod(c,b,M,D,Y,we){let De=arguments.length>6&&arguments[6]!==void 0&&arguments[6];this.initFunction(c,M),c.generator=b,this.scope.enter(18|(De?64:0)|(Y?32:0)),this.prodParam.enter(Xn(M,c.generator)),this.parseFunctionParams(c,D);const Ue=this.parseFunctionBodyAndFinish(c,we,!0);return this.prodParam.exit(),this.scope.exit(),Ue}parseArrayLike(c,b,M,D){M&&this.expectPlugin("recordAndTuple");const Y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const we=this.startNode();return this.next(),we.elements=this.parseExprList(c,!M,D,we),this.state.inFSharpPipelineDirectBody=Y,this.finishNode(we,M?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,b,M,D){this.scope.enter(6);let Y=Xn(M,!1);!this.match(5)&&this.prodParam.hasIn&&(Y|=8),this.prodParam.enter(Y),this.initFunction(c,M);const we=this.state.maybeInArrowParameters;return b&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,b,D)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=we,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,b,M){this.toAssignableList(b,M,!1),c.params=b}parseFunctionBodyAndFinish(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.parseFunctionBody(c,!1,M),this.finishNode(c,b)}parseFunctionBody(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const D=b&&!this.match(5);if(this.expressionScope.enter(bn()),D)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,b,!1);else{const Y=this.state.strict,we=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),c.body=this.parseBlock(!0,!1,(De=>{const Ue=!this.isSimpleParamList(c.params);De&&Ue&&this.raise(g.IllegalLanguageModeDirective,c.kind!=="method"&&c.kind!=="constructor"||!c.key?c:c.key.loc.end);const Ke=!Y&&this.state.strict;this.checkParams(c,!(this.state.strict||b||M||Ue),b,Ke),this.state.strict&&c.id&&this.checkIdentifier(c.id,65,Ke)})),this.prodParam.exit(),this.state.labels=we}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let b=0,M=c.length;b3&&arguments[3]!==void 0)||arguments[3];const Y=!b&&new Set,we={type:"FormalParameters"};for(const De of c.params)this.checkLVal(De,{in:we,binding:5,checkClashes:Y,strictModeChanged:D})}parseExprList(c,b,M,D){const Y=[];let we=!0;for(;!this.eat(c);){if(we)we=!1;else if(this.expect(12),this.match(c)){D&&this.addTrailingCommaExtraToNode(D),this.next();break}Y.push(this.parseExprListItem(b,M))}return Y}parseExprListItem(c,b,M){let D;if(this.match(12))c||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),D=null;else if(this.match(21)){const Y=this.state.startLoc;D=this.parseParenItem(this.parseSpread(b),Y)}else if(this.match(17)){this.expectPlugin("partialApplication"),M||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const Y=this.startNode();this.next(),D=this.finishNode(Y,"ArgumentPlaceholder")}else D=this.parseMaybeAssignAllowIn(b,this.parseParenItem);return D}parseIdentifier(c){const b=this.startNode(),M=this.parseIdentifierName(c);return this.createIdentifier(b,M)}createIdentifier(c,b){return c.name=b,c.loc.identifierName=b,this.finishNode(c,"Identifier")}parseIdentifierName(c){let b;const{startLoc:M,type:D}=this.state;ce(D)?b=this.state.value:this.unexpected();const Y=D<=92;return c?Y&&this.replaceToken(132):this.checkReservedWord(b,M,Y,!1),this.next(),b}checkReservedWord(c,b,M,D){if(!(c.length>10)&&(function(Y){return Ct.has(Y)})(c)){if(M&&(function(Y){return nt.has(Y)})(c))this.raise(g.UnexpectedKeyword,b,{keyword:c});else if((this.state.strict?D?gr:Bt:Qt)(c,this.inModule))this.raise(g.UnexpectedReservedWord,b,{reservedWord:c});else if(c==="yield"){if(this.prodParam.hasYield)return void this.raise(g.YieldBindingIdentifier,b)}else if(c==="await"){if(this.prodParam.hasAwait)return void this.raise(g.AwaitBindingIdentifier,b);if(this.scope.inStaticBlock)return void this.raise(g.AwaitBindingIdentifierInStaticBlock,b);this.expressionScope.recordAsyncArrowParametersError(b)}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(g.ArgumentsInClass,b)}}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(c){const b=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,b),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,b),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(b.argument=this.parseMaybeUnary(null,!0)),this.finishNode(b,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:c}=this.state;return c===53||c===10||c===0||He(c)||c===102&&!this.state.containsEsc||c===137||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){const c=this.startNode();this.expressionScope.recordParameterInitializerError(g.YieldInParameter,c),this.next();let b=!1,M=null;if(!this.hasPrecedingLineBreak())switch(b=this.eat(55),this.state.type){case 13:case 139:case 8:case 11:case 3:case 9:case 14:case 12:if(!b)break;default:M=this.parseMaybeAssign()}return c.delegate=b,c.argument=M,this.finishNode(c,"YieldExpression")}parseImportCall(c){return this.next(),c.source=this.parseMaybeAssignAllowIn(),(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))&&(c.options=null),this.eat(12)&&(this.expectImportAttributesPlugin(),this.match(11)||(c.options=this.parseMaybeAssignAllowIn(),this.eat(12))),this.expect(11),this.finishNode(c,"ImportExpression")}checkPipelineAtInfixOperator(c,b){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(g.PipelineHeadSequenceExpression,b)}parseSmartPipelineBodyInStyle(c,b){if(this.isSimpleReference(c)){const M=this.startNodeAt(b);return M.callee=c,this.finishNode(M,"PipelineBareFunction")}{const M=this.startNodeAt(b);return this.checkSmartPipeTopicBodyEarlyErrors(b),M.expression=c,this.finishNode(M,"PipelineTopicExpression")}}isSimpleReference(c){switch(c.type){case"MemberExpression":return!c.computed&&this.isSimpleReference(c.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(c){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,c)}withTopicBindingContext(c){const b=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=b}}withSmartMixTopicForbiddingContext(c){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return c();{const b=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=b}}}withSoloAwaitPermittingContext(c){const b=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=b}}allowInAnd(c){const b=this.prodParam.currentFlags();if(8&~b){this.prodParam.enter(8|b);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){const b=this.prodParam.currentFlags();if(8&b){this.prodParam.enter(-9&b);try{return c()}finally{this.prodParam.exit()}}return c()}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(c){const b=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const M=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const D=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),b,c);return this.state.inFSharpPipelineDirectBody=M,D}parseModuleExpression(){this.expectPlugin("moduleBlocks");const c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const b=this.startNodeAt(this.state.endLoc);this.next();const M=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(b,8,"module")}finally{M()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}}const Ho={kind:1},Do={kind:2},us=/[\uD800-\uDFFF]/u,xi=/in(?:stanceof)?/y;class h1 extends rl{parseTopLevel(c,b){return c.program=this.parseProgram(b),c.comments=this.comments,this.options.tokens&&(c.tokens=(function(M,D){for(let Y=0;Y1&&arguments[1]!==void 0?arguments[1]:139,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(c.sourceType=D,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,M),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[Y,we]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,we,{localName:Y});return b=M===139?this.finishNode(c,"Program"):this.finishNodeAt(c,"Program",s(this.state.startLoc,-1)),b}stmtToDirective(c){const b=c;b.type="Directive",b.value=b.expression,delete b.expression;const M=b.value,D=M.value,Y=this.input.slice(M.start,M.end),we=M.value=Y.slice(1,-1);return this.addExtra(M,"raw",Y),this.addExtra(M,"rawValue",we),this.addExtra(M,"expressionValue",D),M.type="DirectiveLiteral",b}parseInterpreterDirective(){if(!this.match(28))return null;const c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(c,b){if(ke(c)){if(xi.lastIndex=b,xi.test(this.input)){const M=this.codePointAtPos(xi.lastIndex);if(!qe(M)&&M!==92)return!1}return!0}return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){const c=this.nextTokenStart(),b=this.codePointAtPos(c);return this.chStartsBindingPattern(b)||this.chStartsBindingIdentifier(b,c)}hasInLineFollowingBindingIdentifier(){const c=this.nextTokenInLineStart(),b=this.codePointAtPos(c);return this.chStartsBindingIdentifier(b,c)}startsUsingForOf(){const{type:c,containsEsc:b}=this.lookahead();return!(c===102&&!b)&&(ae(c)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let c=this.nextTokenInLineStart();if(this.isUnparsedContextual(c,"using")){c=this.nextTokenInLineStartSince(c+5);const b=this.codePointAtPos(c);if(this.chStartsBindingIdentifier(b,c))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 c=arguments.length>0&&arguments[0]!==void 0&&arguments[0],b=0;return this.options.annexB&&!this.state.strict&&(b|=4,c&&(b|=8)),this.parseStatementLike(b)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let b=null;return this.match(26)&&(b=this.parseDecorators(!0)),this.parseStatementContent(c,b)}parseStatementContent(c,b){const M=this.state.type,D=this.startNode(),Y=!!(2&c),we=!!(4&c),De=1&c;switch(M){case 60:return this.parseBreakContinueStatement(D,!0);case 63:return this.parseBreakContinueStatement(D,!1);case 64:return this.parseDebuggerStatement(D);case 90:return this.parseDoWhileStatement(D);case 91:return this.parseForStatement(D);case 68:if(this.lookaheadCharCode()===46)break;return we||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(D,!1,!Y&&we);case 80:return Y||this.unexpected(),this.parseClass(this.maybeTakeDecorators(b,D),!0);case 69:return this.parseIfStatement(D);case 70:return this.parseReturnStatement(D);case 71:return this.parseSwitchStatement(D);case 72:return this.parseThrowStatement(D);case 73:return this.parseTryStatement(D);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.isAwaitAllowed()?Y||this.raise(g.UnexpectedLexicalDeclaration,D):this.raise(g.AwaitUsingNotInAsyncContext,D),this.next(),this.parseVarStatement(D,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,this.state.startLoc):Y||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(D,"using");case 100:{if(this.state.containsEsc)break;const et=this.nextTokenStart(),Et=this.codePointAtPos(et);if(Et!==91&&(!Y&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Et,et)&&Et!==123))break}case 75:Y||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const et=this.state.value;return this.parseVarStatement(D,et)}case 92:return this.parseWhileStatement(D);case 76:return this.parseWithStatement(D);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(D);case 83:{const et=this.lookaheadCharCode();if(et===40||et===46)break}case 82:{let et;return this.options.allowImportExportEverywhere||De||this.raise(g.UnexpectedImportExport,this.state.startLoc),this.next(),M===83?(et=this.parseImport(D),et.type!=="ImportDeclaration"||et.importKind&&et.importKind!=="value"||(this.sawUnambiguousESM=!0)):(et=this.parseExport(D,b),(et.type!=="ExportNamedDeclaration"||et.exportKind&&et.exportKind!=="value")&&(et.type!=="ExportAllDeclaration"||et.exportKind&&et.exportKind!=="value")&&et.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(et),et}default:if(this.isAsyncFunction())return Y||this.raise(g.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(D,!0,!Y&&we)}const Ue=this.state.value,Ke=this.parseExpression();return ae(M)&&Ke.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(D,Ue,Ke,c):this.parseExpressionStatement(D,Ke,b)}assertModuleNodeAllowed(c){this.options.allowImportExportEverywhere||this.inModule||this.raise(g.ImportOutsideModule,c)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,b,M){return c&&(b.decorators&&b.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(g.DecoratorsBeforeAfterExport,b.decorators[0]),b.decorators.unshift(...c)):b.decorators=c,this.resetStartLocationFromNode(b,c[0]),M&&this.resetStartLocationFromNode(M,b)),b}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){const b=[];do b.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,this.state.startLoc);return b}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const c=this.startNode();if(this.next(),this.hasPlugin("decorators")){const b=this.state.startLoc;let M;if(this.match(10)){const D=this.state.startLoc;this.next(),M=this.parseExpression(),this.expect(11),M=this.wrapParenthesis(D,M);const Y=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(M),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==M&&this.raise(g.DecoratorArgumentsOutsideParentheses,Y)}else{for(M=this.parseIdentifier(!1);this.eat(16);){const D=this.startNodeAt(b);D.object=M,this.match(138)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),D.property=this.parsePrivateName()):D.property=this.parseIdentifier(!0),D.computed=!1,M=this.finishNode(D,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(M)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){const b=this.startNodeAtNode(c);return b.callee=c,b.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(b.arguments),this.finishNode(b,"CallExpression")}return c}parseBreakContinueStatement(c,b){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,b),this.finishNode(c,b?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,b){let M;for(M=0;Mthis.parseStatement())),this.state.labels.pop(),this.expect(92),c.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(c,"DoWhileStatement")}parseForStatement(c){this.next(),this.state.labels.push(Ho);let b=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(b=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return b!==null&&this.unexpected(b),this.parseFor(c,null);const M=this.isContextual(100);{const Ue=this.isContextual(96)&&this.startsAwaitUsing(),Ke=Ue||this.isContextual(107)&&this.startsUsingForOf(),et=M&&this.hasFollowingBindingAtom()||Ke;if(this.match(74)||this.match(75)||et){const Et=this.startNode();let Xt;Ue?(Xt="await using",this.isAwaitAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Xt=this.state.value,this.next(),this.parseVar(Et,!0,Xt);const Kt=this.finishNode(Et,"VariableDeclaration"),Tr=this.match(58);return Tr&&Ke&&this.raise(g.ForInUsing,Kt),(Tr||this.isContextual(102))&&Kt.declarations.length===1?this.parseForIn(c,Kt,b):(b!==null&&this.unexpected(b),this.parseFor(c,Kt))}}const D=this.isContextual(95),Y=new os,we=this.parseExpression(!0,Y),De=this.isContextual(102);if(De&&(M&&this.raise(g.ForOfLet,we),b===null&&D&&we.type==="Identifier"&&this.raise(g.ForOfAsync,we)),De||this.match(58)){this.checkDestructuringPrivate(Y),this.toAssignable(we,!0);const Ue=De?"ForOfStatement":"ForInStatement";return this.checkLVal(we,{in:{type:Ue}}),this.parseForIn(c,we,b)}return this.checkExpressionErrors(Y,!0),b!==null&&this.unexpected(b),this.parseFor(c,we)}parseFunctionStatement(c,b,M){return this.next(),this.parseFunction(c,1|(M?2:0)|(b?8:0))}parseIfStatement(c){return this.next(),c.test=this.parseHeaderExpression(),c.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),c.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(c,"IfStatement")}parseReturnStatement(c){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(g.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")}parseSwitchStatement(c){this.next(),c.discriminant=this.parseHeaderExpression();const b=c.cases=[];let M;this.expect(5),this.state.labels.push(Do),this.scope.enter(0);for(let D;!this.match(8);)if(this.match(61)||this.match(65)){const Y=this.match(61);M&&this.finishNode(M,"SwitchCase"),b.push(M=this.startNode()),M.consequent=[],this.next(),Y?M.test=this.parseExpression():(D&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),D=!0,M.test=null),this.expect(14)}else M?M.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),M&&this.finishNode(M,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,this.state.lastTokEndLoc),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){const c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?8:0),this.checkLVal(c,{in:{type:"CatchClause"},binding:9}),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){const b=this.startNode();this.next(),this.match(10)?(this.expect(10),b.param=this.parseCatchClauseParam(),this.expect(11)):(b.param=null,this.scope.enter(0)),b.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),c.handler=this.finishNode(b,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,c.handler||c.finalizer||this.raise(g.NoCatchOrFinally,c),this.finishNode(c,"TryStatement")}parseVarStatement(c,b){let M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return this.next(),this.parseVar(c,!1,b,M),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(Ho),c.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(g.StrictWith,this.state.startLoc),this.next(),c.object=this.parseHeaderExpression(),c.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(c,"WithStatement")}parseEmptyStatement(c){return this.next(),this.finishNode(c,"EmptyStatement")}parseLabeledStatement(c,b,M,D){for(const De of this.state.labels)De.name===b&&this.raise(g.LabelRedeclaration,M,{labelName:b});const Y=(we=this.state.type)>=90&&we<=92?1:this.match(71)?2:null;var we;for(let De=this.state.labels.length-1;De>=0;De--){const Ue=this.state.labels[De];if(Ue.statementStart!==c.start)break;Ue.statementStart=this.state.start,Ue.kind=Y}return this.state.labels.push({name:b,kind:Y,statementStart:this.state.start}),c.body=8&D?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=M,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,b,M){return c.expression=b,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(){let c=arguments.length>0&&arguments[0]!==void 0&&arguments[0],b=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],M=arguments.length>2?arguments[2]:void 0;const D=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),b&&this.scope.enter(0),this.parseBlockBody(D,c,!1,8,M),b&&this.scope.exit(),this.finishNode(D,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,b,M,D,Y){const we=c.body=[],De=c.directives=[];this.parseBlockOrModuleBlockBody(we,b?De:void 0,M,D,Y)}parseBlockOrModuleBlockBody(c,b,M,D,Y){const we=this.state.strict;let De=!1,Ue=!1;for(;!this.match(D);){const Ke=M?this.parseModuleItem():this.parseStatementListItem();if(b&&!Ue){if(this.isValidDirective(Ke)){const et=this.stmtToDirective(Ke);b.push(et),De||et.value.value!=="use strict"||(De=!0,this.setStrict(!0));continue}Ue=!0,this.state.strictErrors.clear()}c.push(Ke)}Y?.call(this,De),we||this.setStrict(!1),this.next()}parseFor(c,b){return c.init=b,this.semicolon(!1),c.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),c.update=this.match(11)?null:this.parseExpression(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,"ForStatement")}parseForIn(c,b,M){const D=this.match(58);return this.next(),D?M!==null&&this.unexpected(M):c.await=M!==null,b.type!=="VariableDeclaration"||b.declarations[0].init==null||D&&this.options.annexB&&!this.state.strict&&b.kind==="var"&&b.declarations[0].id.type==="Identifier"||this.raise(g.ForInOfLoopInitializer,b,{type:D?"ForInStatement":"ForOfStatement"}),b.type==="AssignmentPattern"&&this.raise(g.InvalidLhs,b,{ancestor:{type:"ForStatement"}}),c.left=b,c.right=D?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,D?"ForInStatement":"ForOfStatement")}parseVar(c,b,M){let D=arguments.length>3&&arguments[3]!==void 0&&arguments[3];const Y=c.declarations=[];for(c.kind=M;;){const we=this.startNode();if(this.parseVarId(we,M),we.init=this.eat(29)?b?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,we.init!==null||D||(we.id.type==="Identifier"||b&&(this.match(58)||this.isContextual(102))?M!=="const"||this.match(58)||this.isContextual(102)||this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"const"}):this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),Y.push(this.finishNode(we,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,b){const M=this.parseBindingAtom();this.checkLVal(M,{in:{type:"VariableDeclarator"},binding:b==="var"?5:8201}),c.id=M}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const M=2&b,D=!!(1&b),Y=D&&!(4&b),we=!!(8&b);this.initFunction(c,we),this.match(55)&&(M&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),c.generator=!0),D&&(c.id=this.parseFunctionId(Y));const De=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Xn(we,c.generator)),D||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(c,D?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),D&&!M&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=De,c}parseFunctionId(c){return c||ae(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,b){this.expect(10),this.expressionScope.enter(new Hr(3)),c.params=this.parseBindingList(11,41,2|(b?4:0)),this.expressionScope.exit()}registerFunctionStatementId(c){c.id&&this.scope.declareName(c.id.name,!this.options.annexB||this.state.strict||c.generator||c.async?this.scope.treatFunctionsAsVar?5:8201:17,c.id.loc.start)}parseClass(c,b,M){this.next();const D=this.state.strict;return this.state.strict=!0,this.parseClassId(c,b,M),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,D),this.finishNode(c,b?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(c){return!(c.computed||c.static||c.key.name!=="constructor"&&c.key.value!=="constructor")}parseClassBody(c,b){this.classScope.enter();const M={hadConstructor:!1,hadSuperClass:c};let D=[];const Y=this.startNode();if(Y.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(D.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){D.push(this.parseDecorator());continue}const we=this.startNode();D.length&&(we.decorators=D,this.resetStartLocationFromNode(we,D[0]),D=[]),this.parseClassMember(Y,we,M),we.kind==="constructor"&&we.decorators&&we.decorators.length>0&&this.raise(g.DecoratorConstructor,we)}})),this.state.strict=b,this.next(),D.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(Y,"ClassBody")}parseClassMemberFromModifier(c,b){const M=this.parseIdentifier(!0);if(this.isClassMethod()){const D=b;return D.kind="method",D.computed=!1,D.key=M,D.static=!1,this.pushClassMethod(c,D,!1,!1,!1,!1),!0}if(this.isClassProperty()){const D=b;return D.computed=!1,D.key=M,D.static=!1,c.body.push(this.parseClassProperty(D)),!0}return this.resetPreviousNodeTrailingComments(M),!1}parseClassMember(c,b,M){const D=this.isContextual(106);if(D){if(this.parseClassMemberFromModifier(c,b))return;if(this.eat(5))return void this.parseClassStaticBlock(c,b)}this.parseClassMemberWithIsStatic(c,b,M,D)}parseClassMemberWithIsStatic(c,b,M,D){const Y=b,we=b,De=b,Ue=b,Ke=b,et=Y,Et=Y;if(b.static=D,this.parsePropertyNamePrefixOperator(b),this.eat(55)){et.kind="method";const mn=this.match(138);return this.parseClassElementName(et),mn?void this.pushClassPrivateMethod(c,we,!0,!1):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsGenerator,Y.key),void this.pushClassMethod(c,Y,!0,!1,!1,!1))}const Xt=ae(this.state.type)&&!this.state.containsEsc,Kt=this.match(138),Tr=this.parseClassElementName(b),Mn=this.state.startLoc;if(this.parsePostMemberNameModifiers(Et),this.isClassMethod()){if(et.kind="method",Kt)return void this.pushClassPrivateMethod(c,we,!1,!1);const mn=this.isNonstaticConstructor(Y);let kn=!1;mn&&(Y.kind="constructor",M.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,Tr),mn&&this.hasPlugin("typescript")&&b.override&&this.raise(g.OverrideOnConstructor,Tr),M.hadConstructor=!0,kn=M.hadSuperClass),this.pushClassMethod(c,Y,!1,!1,mn,kn)}else if(this.isClassProperty())Kt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De);else if(Xt&&Tr.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Tr);const mn=this.eat(55);Et.optional&&this.unexpected(Mn),et.kind="method";const kn=this.match(138);this.parseClassElementName(et),this.parsePostMemberNameModifiers(Et),kn?this.pushClassPrivateMethod(c,we,mn,!0):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsAsync,Y.key),this.pushClassMethod(c,Y,mn,!0,!1,!1))}else if(!Xt||Tr.name!=="get"&&Tr.name!=="set"||this.match(55)&&this.isLineTerminator())if(Xt&&Tr.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Tr);const mn=this.match(138);this.parseClassElementName(De),this.pushClassAccessorProperty(c,Ke,mn)}else this.isLineTerminator()?Kt?this.pushClassPrivateProperty(c,Ue):this.pushClassProperty(c,De):this.unexpected();else{this.resetPreviousNodeTrailingComments(Tr),et.kind=Tr.name;const mn=this.match(138);this.parseClassElementName(Y),mn?this.pushClassPrivateMethod(c,we,!1,!1):(this.isNonstaticConstructor(Y)&&this.raise(g.ConstructorIsAccessor,Y.key),this.pushClassMethod(c,Y,!1,!1,!1,!1)),this.checkGetterSetterParams(Y)}}parseClassElementName(c){const{type:b,value:M}=this.state;if(b!==132&&b!==133||!c.static||M!=="prototype"||this.raise(g.StaticPrototype,this.state.startLoc),b===138){M==="constructor"&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const D=this.parsePrivateName();return c.key=D,D}return this.parsePropertyName(c)}parseClassStaticBlock(c,b){var M;this.scope.enter(208);const D=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const Y=b.body=[];this.parseBlockOrModuleBlockBody(Y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=D,c.body.push(this.finishNode(b,"StaticBlock")),(M=b.decorators)!=null&&M.length&&this.raise(g.DecoratorStaticBlock,b)}pushClassProperty(c,b){b.computed||b.key.name!=="constructor"&&b.key.value!=="constructor"||this.raise(g.ConstructorClassField,b.key),c.body.push(this.parseClassProperty(b))}pushClassPrivateProperty(c,b){const M=this.parseClassPrivateProperty(b);c.body.push(M),this.classScope.declarePrivateName(this.getPrivateNameSV(M.key),0,M.key.loc.start)}pushClassAccessorProperty(c,b,M){if(!M&&!b.computed){const Y=b.key;Y.name!=="constructor"&&Y.value!=="constructor"||this.raise(g.ConstructorClassField,Y)}const D=this.parseClassAccessorProperty(b);c.body.push(D),M&&this.classScope.declarePrivateName(this.getPrivateNameSV(D.key),0,D.key.loc.start)}pushClassMethod(c,b,M,D,Y,we){c.body.push(this.parseMethod(b,M,D,Y,we,"ClassMethod",!0))}pushClassPrivateMethod(c,b,M,D){const Y=this.parseMethod(b,M,D,!1,!1,"ClassPrivateMethod",!0);c.body.push(Y);const we=Y.kind==="get"?Y.static?6:2:Y.kind==="set"?Y.static?5:1:0;this.declareClassPrivateMethodInScope(Y,we)}declareClassPrivateMethodInScope(c,b){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),b,c.key.loc.start)}parsePostMemberNameModifiers(c){}parseClassPrivateProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassPrivateProperty")}parseClassProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassProperty")}parseClassAccessorProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassAccessorProperty")}parseInitializer(c){this.scope.enter(80),this.expressionScope.enter(bn()),this.prodParam.enter(0),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,b,M){let D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:8331;if(ae(this.state.type))c.id=this.parseIdentifier(),b&&this.declareNameFromIdentifier(c.id,D);else{if(!M&&b)throw this.raise(g.MissingClassName,this.state.startLoc);c.id=null}}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,b){const M=this.parseMaybeImportPhase(c,!0),D=this.maybeParseExportDefaultSpecifier(c,M),Y=!D||this.eat(12),we=Y&&this.eatExportStar(c),De=we&&this.maybeParseExportNamespaceSpecifier(c),Ue=Y&&(!De||this.eat(12)),Ke=D||we;if(we&&!De){if(D&&this.unexpected(),b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}const et=this.maybeParseExportNamedSpecifiers(c);let Et;if(D&&Y&&!we&&!et&&this.unexpected(null,5),De&&Ue&&this.unexpected(null,98),Ke||et){if(Et=!1,b)throw this.raise(g.UnsupportedDecoratorExport,c);this.parseExportFrom(c,Ke)}else Et=this.maybeParseExportDeclaration(c);if(Ke||et||Et){var Xt;const Kt=c;if(this.checkExport(Kt,!0,!1,!!Kt.source),((Xt=Kt.declaration)==null?void 0:Xt.type)==="ClassDeclaration")this.maybeTakeDecorators(b,Kt.declaration,Kt);else if(b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.finishNode(Kt,"ExportNamedDeclaration")}if(this.eat(65)){const Kt=c,Tr=this.parseExportDefaultExpression();if(Kt.declaration=Tr,Tr.type==="ClassDeclaration")this.maybeTakeDecorators(b,Tr,Kt);else if(b)throw this.raise(g.UnsupportedDecoratorExport,c);return this.checkExport(Kt,!0,!0),this.finishNode(Kt,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c,b){if(b||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",b?.loc.start);const M=b||this.parseIdentifier(!0),D=this.startNodeAtNode(M);return D.exported=M,c.specifiers=[this.finishNode(D,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);const b=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),b.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(b,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);const b=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(b)),c.source=null,c.declaration=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),!0}return!1}maybeParseExportDeclaration(c){return!!this.shouldParseExportDeclaration()&&(c.specifiers=[],c.source=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),c.declaration=this.parseExportDeclaration(c),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const c=this.nextTokenInLineStart();return this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){const c=this.startNode();if(this.match(68))return this.next(),this.parseFunction(c,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(c,13);if(this.match(80))return this.parseClass(c,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.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(g.UnsupportedDefaultExport,this.state.startLoc);const b=this.parseMaybeAssignAllowIn();return this.semicolon(),b}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:c}=this.state;if(ae(c)){if(c===95&&!this.state.containsEsc||c===100)return!1;if((c===130||c===129)&&!this.state.containsEsc){const{type:D}=this.lookahead();if(ae(D)&&D!==98||D===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const b=this.nextTokenStart(),M=this.isUnparsedContextual(b,"from");if(this.input.charCodeAt(b)===44||ae(this.state.type)&&M)return!0;if(this.match(65)&&M){const D=this.input.charCodeAt(this.nextTokenStartSince(b+4));return D===34||D===39}return!1}parseExportFrom(c,b){this.eatContextual(98)?(c.source=this.parseImportSource(),this.checkExport(c),this.maybeParseImportAttributes(c),this.checkJSONModuleImport(c)):b&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,b,M,D){var Y;if(b){if(M){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var we;const De=c.declaration;De.type!=="Identifier"||De.name!=="from"||De.end-De.start!=4||(we=De.extra)!=null&&we.parenthesized||this.raise(g.ExportDefaultFromAsIdentifier,De)}}else if((Y=c.specifiers)!=null&&Y.length)for(const De of c.specifiers){const{exported:Ue}=De,Ke=Ue.type==="Identifier"?Ue.name:Ue.value;if(this.checkDuplicateExports(De,Ke),!D&&De.local){const{local:et}=De;et.type!=="Identifier"?this.raise(g.ExportBindingIsString,De,{localName:et.value,exportName:Ke}):(this.checkReservedWord(et.name,et.loc.start,!0,!1),this.scope.checkLocalExport(et))}}else if(c.declaration){if(c.declaration.type==="FunctionDeclaration"||c.declaration.type==="ClassDeclaration"){const De=c.declaration.id;if(!De)throw new Error("Assertion failure");this.checkDuplicateExports(c,De.name)}else if(c.declaration.type==="VariableDeclaration")for(const De of c.declaration.declarations)this.checkDeclaration(De.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(const b of c.properties)this.checkDeclaration(b);else if(c.type==="ArrayPattern")for(const b of c.elements)b&&this.checkDeclaration(b);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,b){this.exportedIdentifiers.has(b)&&(b==="default"?this.raise(g.DuplicateDefaultExport,c):this.raise(g.DuplicateExport,c,{exportName:b})),this.exportedIdentifiers.add(b)}parseExportSpecifiers(c){const b=[];let M=!0;for(this.expect(5);!this.eat(8);){if(M)M=!1;else if(this.expect(12),this.eat(8))break;const D=this.isContextual(130),Y=this.match(133),we=this.startNode();we.local=this.parseModuleExportName(),b.push(this.parseExportSpecifier(we,Y,c,D))}return b}parseExportSpecifier(c,b,M,D){return this.eatContextual(93)?c.exported=this.parseModuleExportName():b?c.exported=(function(Y){const{type:we,start:De,end:Ue,loc:Ke,range:et,extra:Et}=Y;if(we==="Placeholder")return(function(Kt){return Yn(Kt)})(Y);const Xt=Object.create(Dn);return Xt.type=we,Xt.start=De,Xt.end=Ue,Xt.loc=Ke,Xt.range=et,Y.raw!==void 0?Xt.raw=Y.raw:Xt.extra=Et,Xt.value=Y.value,Xt})(c.local):c.exported||(c.exported=Yn(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(133)){const c=this.parseStringLiteral(this.state.value),b=c.value.match(us);return b&&this.raise(g.ModuleExportNameHasLoneSurrogate,c,{surrogateCharCode:b[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null&&c.assertions.some((b=>{let{key:M,value:D}=b;return D.value==="json"&&(M.type==="Identifier"?M.name==="type":M.value==="type")}))}checkImportReflection(c){const{specifiers:b}=c,M=b.length===1?b[0].type:null;if(c.phase==="source")M!=="ImportDefaultSpecifier"&&this.raise(g.SourcePhaseImportRequiresDefault,b[0].loc.start);else if(c.phase==="defer")M!=="ImportNamespaceSpecifier"&&this.raise(g.DeferImportRequiresNamespace,b[0].loc.start);else if(c.module){var D;M!=="ImportDefaultSpecifier"&&this.raise(g.ImportReflectionNotBinding,b[0].loc.start),((D=c.assertions)==null?void 0:D.length)>0&&this.raise(g.ImportReflectionHasAssertion,b[0].loc.start)}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){const{specifiers:b}=c;if(b!=null){const M=b.find((D=>{let Y;if(D.type==="ExportSpecifier"?Y=D.local:D.type==="ImportSpecifier"&&(Y=D.imported),Y!==void 0)return Y.type==="Identifier"?Y.name!=="default":Y.value!=="default"}));M!==void 0&&this.raise(g.ImportJSONBindingNotDefault,M.loc.start)}}}isPotentialImportPhase(c){return!c&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(c,b,M,D){b||(M==="module"?(this.expectPlugin("importReflection",D),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1),M==="source"?(this.expectPlugin("sourcePhaseImports",D),c.phase="source"):M==="defer"?(this.expectPlugin("deferredImportEvaluation",D),c.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(c.phase=null))}parseMaybeImportPhase(c,b){if(!this.isPotentialImportPhase(b))return this.applyImportPhase(c,b,null),null;const M=this.parseIdentifier(!0),{type:D}=this.state;return(ce(D)?D!==98||this.lookaheadCharCode()===102:D!==12)?(this.resetPreviousIdentifierLeadingComments(M),this.applyImportPhase(c,b,M.name,M.loc.start),null):(this.applyImportPhase(c,b,null),M)}isPrecedingIdImportPhase(c){const{type:b}=this.state;return ae(b)?b!==98||this.lookaheadCharCode()===102:b!==12}parseImport(c){return this.match(133)?this.parseImportSourceAndAttributes(c):this.parseImportSpecifiersAndAfter(c,this.parseMaybeImportPhase(c,!1))}parseImportSpecifiersAndAfter(c,b){c.specifiers=[];const M=!this.maybeParseDefaultImportSpecifier(c,b)||this.eat(12),D=M&&this.maybeParseStarImportSpecifier(c);return M&&!D&&this.parseNamedImportSpecifiers(c),this.expectContextual(98),this.parseImportSourceAndAttributes(c)}parseImportSourceAndAttributes(c){return c.specifiers!=null||(c.specifiers=[]),c.source=this.parseImportSource(),this.maybeParseImportAttributes(c),this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(133)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(c,b,M){b.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(b,M))}finishImportSpecifier(c,b){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:8201;return this.checkLVal(c.local,{in:{type:b},binding:M}),this.finishNode(c,b)}parseImportAttributes(){this.expect(5);const c=[],b=new Set;do{if(this.match(8))break;const M=this.startNode(),D=this.state.value;if(b.has(D)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:D}),b.add(D),this.match(133)?M.key=this.parseStringLiteral(D):M.key=this.parseIdentifier(!0),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);M.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(M,"ImportAttribute"))}while(this.eat(12));return this.expect(8),c}parseModuleAttributes(){const c=[],b=new Set;do{const M=this.startNode();if(M.key=this.parseIdentifier(!0),M.key.name!=="type"&&this.raise(g.ModuleAttributeDifferentFromType,M.key),b.has(M.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,M.key,{key:M.key.name}),b.add(M.key.name),this.expect(14),!this.match(133))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);M.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(M,"ImportAttribute"))}while(this.eat(12));return c}maybeParseImportAttributes(c){let b,M=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?b=this.parseModuleAttributes():(this.expectImportAttributesPlugin(),b=this.parseImportAttributes()),M=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.hasPlugin("importAttributes")?(this.getPluginOption("importAttributes","deprecatedAssertSyntax")!==!0&&this.raise(g.ImportAttributesUseAssert,this.state.startLoc),this.addExtra(c,"deprecatedAssertSyntax",!0)):this.expectOnePlugin(["importAttributes","importAssertions"]),this.next(),b=this.parseImportAttributes();else if(this.hasPlugin("importAttributes")||this.hasPlugin("importAssertions"))b=[];else{if(!this.hasPlugin("moduleAttributes"))return;b=[]}!M&&this.hasPlugin("importAssertions")?c.assertions=b:c.attributes=b}maybeParseDefaultImportSpecifier(c,b){if(b){const M=this.startNodeAtNode(b);return M.local=b,c.specifiers.push(this.finishImportSpecifier(M,"ImportDefaultSpecifier")),!0}return!!ce(this.state.type)&&(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(c){if(this.match(55)){const b=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,b,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let b=!0;for(this.expect(5);!this.eat(8);){if(b)b=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const M=this.startNode(),D=this.match(133),Y=this.isContextual(130);M.imported=this.parseModuleExportName();const we=this.parseImportSpecifier(M,D,c.importKind==="type"||c.importKind==="typeof",Y,void 0);c.specifiers.push(we)}}parseImportSpecifier(c,b,M,D,Y){if(this.eatContextual(93))c.local=this.parseIdentifier();else{const{imported:we}=c;if(b)throw this.raise(g.ImportBindingIsString,c,{importName:we.value});this.checkReservedWord(we.name,c.loc.start,!0,!0),c.local||(c.local=Yn(we))}return this.finishImportSpecifier(c,"ImportSpecifier",Y)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}}class ro extends h1{constructor(c,b){super(c=(function(M){if(M==null)return Object.assign({},ya);if(M.annexB!=null&&M.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const D={};for(const we of Object.keys(ya)){var Y;D[we]=(Y=M[we])!=null?Y:ya[we]}return D})(c),b),this.options=c,this.initializeScopes(),this.plugins=(function(M){const D=new Map;for(const Y of M){const[we,De]=Array.isArray(Y)?Y:[Y,{}];D.has(we)||D.set(we,De||{})}return D})(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return Jr}parse(){this.enterInitialScopes();const c=this.startNode(),b=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,b),c.errors=this.state.errors,c.comments.length=this.state.commentsLen,c}}const Os=(function(Ae){const c={};for(const b of Object.keys(Ae))c[b]=ee(Ae[b]);return c})(ue);function ji(Ae,c){let b=ro;return Ae!=null&&Ae.plugins&&((function(M){if(wn(M,"decorators")){if(wn(M,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const D=Ns(M,"decorators","decoratorsBeforeExport");if(D!=null&&typeof D!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const Y=Ns(M,"decorators","allowCallParenthesized");if(Y!=null&&typeof Y!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(wn(M,"flow")&&wn(M,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(wn(M,"placeholders")&&wn(M,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(wn(M,"pipelineOperator")){const D=Ns(M,"pipelineOperator","proposal");if(!No.includes(D)){const we=No.map((De=>`"${De}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${we}.`)}const Y=wn(M,["recordAndTuple",{syntaxType:"hash"}]);if(D==="hack"){if(wn(M,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(wn(M,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const we=Ns(M,"pipelineOperator","topicToken");if(!tl.includes(we)){const De=tl.map((Ue=>`"${Ue}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${De}.`)}if(we==="#"&&Y)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(D==="smart"&&Y)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(wn(M,"moduleAttributes")){if(wn(M,"importAssertions")||wn(M,"importAttributes"))throw new Error("Cannot combine importAssertions, importAttributes and moduleAttributes plugins.");if(Ns(M,"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(wn(M,"importAssertions")&&wn(M,"importAttributes"))throw new Error("Cannot combine importAssertions and importAttributes plugins.");if(wn(M,"recordAndTuple")&&Ns(M,"recordAndTuple","syntaxType")!=null&&!Vo.includes(Ns(M,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Vo.map((D=>`'${D}'`)).join(", "));if(wn(M,"asyncDoExpressions")&&!wn(M,"doExpressions")){const D=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw D.missingPlugins="doExpressions",D}if(wn(M,"optionalChainingAssign")&&Ns(M,"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'.")})(Ae.plugins),b=(function(M){const D=va.filter((De=>wn(M,De))),Y=D.join("/");let we=nl[Y];if(!we){we=ro;for(const De of D)we=ga[De](we);nl[Y]=we}return we})(Ae.plugins)),new b(Ae,c)}const nl={};e.parse=function(Ae,c){var b;if(((b=c)==null?void 0:b.sourceType)!=="unambiguous")return ji(c,Ae).parse();c=Object.assign({},c);try{c.sourceType="module";const M=ji(c,Ae),D=M.parse();if(M.sawUnambiguousESM)return D;if(M.ambiguousScriptDifferentAst)try{return c.sourceType="script",ji(c,Ae).parse()}catch{}else D.program.sourceType="script";return D}catch(M){try{return c.sourceType="script",ji(c,Ae).parse()}catch{}throw M}},e.parseExpression=function(Ae,c){const b=ji(c,Ae);return b.options.strictMode&&(b.state.strict=!0),b.getExpression()},e.tokTypes=Os},(t,e,n)=>{var r;n(12);var a=SyntaxError,i=Function,s=TypeError,o=function(N){try{return i('"use strict"; return ('+N+").constructor;")()}catch{}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var p=function(){throw new s},u=l?(function(){try{return p}catch{try{return l(arguments,"callee").get}catch{return p}}})():p,h=n(230)(),d=n(231)(),m=Object.getPrototypeOf||(d?function(N){return N.__proto__}:null),f={},v=typeof Uint8Array<"u"&&m?m(Uint8Array):r,C={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&m?m([][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%":i,"%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&&m?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map<"u"&&h&&m?m(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&&m?m(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&m?m(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":u,"%TypedArray%":v,"%TypeError%":s,"%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(m)try{null.error}catch(N){var S=m(m(N));C["%Error.prototype%"]=S}var x=function N($){var H;if($==="%AsyncFunction%")H=o("async function () {}");else if($==="%GeneratorFunction%")H=o("function* () {}");else if($==="%AsyncGeneratorFunction%")H=o("async function* () {}");else if($==="%AsyncGenerator%"){var R=N("%AsyncGeneratorFunction%");R&&(H=R.prototype)}else if($==="%AsyncIteratorPrototype%"){var K=N("%AsyncGenerator%");K&&m&&(H=m(K.prototype))}return C[$]=H,H},g={"%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"]},w=n(71),y=n(233),_=w.call(Function.call,Array.prototype.concat),T=w.call(Function.apply,Array.prototype.splice),O=w.call(Function.call,String.prototype.replace),I=w.call(Function.call,String.prototype.slice),z=w.call(Function.call,RegExp.prototype.exec),G=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,F=function(N,$){var H,R=N;if(y(g,R)&&(R="%"+(H=g[R])[0]+"%"),y(C,R)){var K=C[R];if(K===f&&(K=x(R)),K===void 0&&!$)throw new s("intrinsic "+N+" exists, but is not available. Please file an issue!");return{alias:H,name:R,value:K}}throw new a("intrinsic "+N+" does not exist!")};t.exports=function(N,$){if(typeof N!="string"||N.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof $!="boolean")throw new s('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,N)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var H=(function(ce){var oe=I(ce,0,1),ne=I(ce,-1);if(oe==="%"&&ne!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ne==="%"&&oe!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Se=[];return O(ce,G,(function(se,ve,xe,He){Se[Se.length]=xe?O(He,W,"$1"):ve||se})),Se})(N),R=H.length>0?H[0]:"",K=F("%"+R+"%",$),ie=K.name,he=K.value,Le=!1,X=K.alias;X&&(R=X[0],T(H,_([0,1],X)));for(var Q=1,fe=!0;Q=H.length){var ae=l(he,Ce);he=(fe=!!ae)&&"get"in ae&&!("originalValue"in ae.get)?ae.get:he[Ce]}else fe=y(he,Ce),he=he[Ce];fe&&!Le&&(C[ie]=he)}}return he}},(t,e,n)=>{const r=n(34),a=n(47),i=n(3),s=n(128),o=n(30),l=n(253),p=n(254),u=n(255),h=n(256),d=n(257),m=n(258),f=n(259),v=n(260),C=n(7),S=n(261),x=n(262),g=n(76),w=n(263),y=n(264),_=n(49),T=n(77),O=n(129),I=n(130),z=n(78),G=n(79),W=n(131),F=n(265),N=n(50),$=n(8),H=n(51),R=n(268),K=n(269),ie=n(270),he=n(271),Le=n(272),X=n(80),Q=n(273),fe=n(274),Ce=n(275),Me=n(276),ue=n(277);t.exports={parse:o,valid:l,clean:p,inc:u,diff:h,major:d,minor:m,patch:f,prerelease:v,compare:C,rcompare:S,compareLoose:x,compareBuild:g,sort:w,rsort:y,gt:_,lt:T,eq:O,neq:I,gte:z,lte:G,cmp:W,coerce:F,Comparator:N,Range:$,satisfies:H,toComparators:R,maxSatisfying:K,minSatisfying:ie,minVersion:he,validRange:Le,outside:X,gtr:Q,ltr:fe,intersects:Ce,simplifyRange:Me,subset:ue,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}},(t,e,n)=>{let r,a,i,s,{isClean:o,my:l}=n(145),p=n(52),u=n(56),h=n(53);function d(v){return v.map((C=>(C.nodes&&(C.nodes=d(C.nodes)),delete C.source,C)))}function m(v){if(v[o]=!1,v.proxyOf.nodes)for(let C of v.proxyOf.nodes)m(C)}class f extends h{append(){for(var C=arguments.length,S=new Array(C),x=0;xS==="proxyOf"?C:C[S]?S==="each"||typeof S=="string"&&S.startsWith("walk")?function(){for(var x=arguments.length,g=new Array(x),w=0;wtypeof y=="function"?(_,T)=>y(_.toProxy(),T):y)))}:S==="every"||S==="some"?x=>C[S]((function(g){for(var w=arguments.length,y=new Array(w>1?w-1:0),_=1;_C.root().toProxy():S==="nodes"?C.nodes.map((x=>x.toProxy())):S==="first"||S==="last"?C[S].toProxy():C[S]:C[S],set:(C,S,x)=>(C[S]===x||(C[S]=x,S!=="name"&&S!=="params"&&S!=="selector"||C.markDirty()),!0)}}index(C){return typeof C=="number"?C:(C.proxyOf&&(C=C.proxyOf),this.proxyOf.nodes.indexOf(C))}insertAfter(C,S){let x,g=this.index(C),w=this.normalize(S,this.proxyOf.nodes[g]).reverse();g=this.index(C);for(let y of w)this.proxyOf.nodes.splice(g+1,0,y);for(let y in this.indexes)x=this.indexes[y],g(x[l]||f.rebuild(x),(x=x.proxyOf).parent&&x.parent.removeChild(x),x[o]&&m(x),x.raws.before===void 0&&S&&S.raws.before!==void 0&&(x.raws.before=S.raws.before.replace(/\S/g,"")),x.parent=this.proxyOf,x)))}prepend(){for(var C=arguments.length,S=new Array(C),x=0;x=C&&(this.indexes[x]=S-1);return this.markDirty(),this}replaceValues(C,S,x){return x||(x=S,S={}),this.walkDecls((g=>{S.props&&!S.props.includes(g.prop)||S.fast&&!g.value.includes(S.fast)||(g.value=g.value.replace(C,x))})),this.markDirty(),this}some(C){return this.nodes.some(C)}walk(C){return this.each(((S,x)=>{let g;try{g=C(S,x)}catch(w){throw S.addToError(w)}return g!==!1&&S.walk&&(g=S.walk(C)),g}))}walkAtRules(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="atrule"&&C.test(x.name))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="atrule"&&x.name===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="atrule")return S(x,g)})))}walkComments(C){return this.walk(((S,x)=>{if(S.type==="comment")return C(S,x)}))}walkDecls(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="decl"&&C.test(x.prop))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="decl"&&x.prop===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="decl")return S(x,g)})))}walkRules(C,S){return S?C instanceof RegExp?this.walk(((x,g)=>{if(x.type==="rule"&&C.test(x.selector))return S(x,g)})):this.walk(((x,g)=>{if(x.type==="rule"&&x.selector===C)return S(x,g)})):(S=C,this.walk(((x,g)=>{if(x.type==="rule")return S(x,g)})))}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=>{a=v},f.registerAtRule=v=>{i=v},f.registerRoot=v=>{s=v},t.exports=f,f.default=f,f.rebuild=v=>{v.type==="atrule"?Object.setPrototypeOf(v,i.prototype):v.type==="rule"?Object.setPrototypeOf(v,a.prototype):v.type==="decl"?Object.setPrototypeOf(v,p.prototype):v.type==="comment"?Object.setPrototypeOf(v,u.prototype):v.type==="root"&&Object.setPrototypeOf(v,s.prototype),v[l]=!0,v.nodes&&v.nodes.forEach((C=>{f.rebuild(C)}))}},(t,e,n)=>{var r=n(17);function a(X){return a=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},a(X)}function i(X,Q,fe){return Object.defineProperty(X,"prototype",{writable:!1}),X}var s,o,l=n(227).codes,p=l.ERR_AMBIGUOUS_ARGUMENT,u=l.ERR_INVALID_ARG_TYPE,h=l.ERR_INVALID_ARG_VALUE,d=l.ERR_INVALID_RETURN_VALUE,m=l.ERR_MISSING_ARGS,f=n(241),v=n(32).inspect,C=n(32).types,S=C.isPromise,x=C.isRegExp,g=n(242)(),w=n(74)(),y=n(38)("RegExp.prototype.test");function _(){var X=n(245);s=X.isDeepEqual,o=X.isDeepStrictEqual}var T=!1,O=t.exports=W,I={};function z(X){throw X.message instanceof Error?X.message:new f(X)}function G(X,Q,fe,Ce){if(!fe){var Me=!1;if(Q===0)Me=!0,Ce="No value argument passed to `assert.ok()`";else if(Ce instanceof Error)throw Ce;var ue=new f({actual:fe,expected:!0,message:Ce,operator:"==",stackStartFn:X});throw ue.generatedMessage=Me,ue}}function W(){for(var X=arguments.length,Q=new Array(X),fe=0;fe1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me1?fe-1:0),Me=1;Me{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 n=e.LOGICAL_OPERATORS=["||","&&","??"],r=(e.UPDATE_OPERATORS=["++","--"],e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),a=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],i=e.COMPARISON_BINARY_OPERATORS=[...a,"in","instanceof"],s=e.BOOLEAN_BINARY_OPERATORS=[...i,...r],o=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],l=(e.BINARY_OPERATORS=["+",...o,...s,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...o.map((h=>h+"=")),...n.map((h=>h+"="))],e.BOOLEAN_UNARY_OPERATORS=["delete","!"]),p=e.NUMBER_UNARY_OPERATORS=["+","-","~"],u=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...l,...p,...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")},(t,e,n)=>{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=n(9),a=n(2);const i=Function.call.bind(Object.prototype.hasOwnProperty);function s(u,h,d,m){return u&&typeof u.type=="string"?l(u,h,d,m):u}function o(u,h,d,m){return Array.isArray(u)?u.map((f=>s(f,h,d,m))):s(u,h,d,m)}function l(u){let h=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d=arguments.length>2&&arguments[2]!==void 0&&arguments[2],m=arguments.length>3?arguments[3]:void 0;if(!u)return u;const{type:f}=u,v={type:u.type};if((0,a.isIdentifier)(u))v.name=u.name,i(u,"optional")&&typeof u.optional=="boolean"&&(v.optional=u.optional),i(u,"typeAnnotation")&&(v.typeAnnotation=h?o(u.typeAnnotation,!0,d,m):u.typeAnnotation);else{if(!i(r.NODE_FIELDS,f))throw new Error(`Unknown node type: "${f}"`);for(const C of Object.keys(r.NODE_FIELDS[f]))i(u,C)&&(v[C]=h?(0,a.isFile)(u)&&C==="comments"?p(u.comments,h,d,m):o(u[C],!0,d,m):u[C])}return i(u,"loc")&&(v.loc=d?null:u.loc),i(u,"leadingComments")&&(v.leadingComments=p(u.leadingComments,h,d,m)),i(u,"innerComments")&&(v.innerComments=p(u.innerComments,h,d,m)),i(u,"trailingComments")&&(v.trailingComments=p(u.trailingComments,h,d,m)),i(u,"extra")&&(v.extra=Object.assign({},u.extra)),v}function p(u,h,d,m){return u&&h?u.map((f=>{const v=m.get(f);if(v)return v;const{type:C,value:S,loc:x}=f,g={type:C,value:S,loc:x};return d&&(g.loc=null),m.set(f,g),g})):u}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var r=n(162),a=n(61),i=n(14),s=n(183),o=n(0),l=o,p=n(35),u=n(101),h=n(423),d=n(424),m=n(427),f=n(430),v=n(431),C=n(436),S=n(437),x=n(438),g=n(440),w=n(442),y=n(443),_=n(163);const{validate:T}=o,O=a("babel"),I=e.REMOVED=1,z=e.SHOULD_STOP=2,G=e.SHOULD_SKIP=4;class W{constructor(N,$){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=$,this.hub=N,this.data=null,this.context=null,this.scope=null}static get(N){let{hub:$,parentPath:H,parent:R,container:K,listKey:ie,key:he}=N;if(!$&&H&&($=H.hub),!R)throw new Error("To get a node path the parent needs to exist");const Le=K[he],X=p.getOrCreateCachedPaths($,R);let Q=X.get(Le);return Q||(Q=new W($,R),Le&&X.set(Le,Q)),Q.setup(H,K,ie,he),Q}getScope(N){return this.isScope()?new s.default(this):N}setData(N,$){return this.data==null&&(this.data=Object.create(null)),this.data[N]=$}getData(N,$){this.data==null&&(this.data=Object.create(null));let H=this.data[N];return H===void 0&&$!==void 0&&(H=this.data[N]=$),H}hasNode(){return this.node!=null}buildCodeFrameError(N){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:SyntaxError;return this.hub.buildError(this.node,N,$)}traverse(N,$){(0,i.default)(this.node,N,this.scope,$,this)}set(N,$){T(this.node,N,$),this.node[N]=$}getPathLocation(){const N=[];let $=this;do{let H=$.key;$.inList&&(H=`${$.listKey}[${H}]`),N.unshift(H)}while($=$.parentPath);return N.join(".")}debug(N){O.enabled&&O(`${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&G)}set shouldSkip(N){N?this._traverseFlags|=G:this._traverseFlags&=~G}get shouldStop(){return!!(this._traverseFlags&z)}set shouldStop(N){N?this._traverseFlags|=z:this._traverseFlags&=~z}get removed(){return!!(this._traverseFlags&I)}set removed(N){N?this._traverseFlags|=I:this._traverseFlags&=~I}}Object.assign(W.prototype,h,d,m,f,v,C,S,x,g,w,y),W.prototype._guessExecutionStatusRelativeToDifferentFunctions=C._guessExecutionStatusRelativeTo;for(const F of l.TYPES){const N=`is${F}`,$=l[N];W.prototype[N]=function(H){return $(this.node,H)},W.prototype[`assert${F}`]=function(H){if(!$(this.node,H))throw new TypeError(`Expected node path of type ${F}`)}}Object.assign(W.prototype,_);for(const F of Object.keys(r))F[0]!=="_"&&(l.TYPES.includes(F)||l.TYPES.push(F));e.default=W},(t,e,n)=>{var r=n(19),a=n(63),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(s,o){return i(a(s),o)}},(t,e,n)=>{const r=n(3);t.exports=function(a,i){let s=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(a instanceof r)return a;try{return new r(a,i)}catch(o){if(!s)return null;throw o}}},(t,e,n)=>{/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */n(12);const r=n(417),a=n(418),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.a=l,e.b=50;const s=2147483647;function o(k){if(k>s)throw new RangeError('The value "'+k+'" is invalid for option "size"');const j=new Uint8Array(k);return Object.setPrototypeOf(j,l.prototype),j}function l(k,j,J){if(typeof k=="number"){if(typeof j=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return h(k)}return p(k,j,J)}function p(k,j,J){if(typeof k=="string")return(function(Pe,de){if(typeof de=="string"&&de!==""||(de="utf8"),!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);const ke=0|v(Pe,de);let qe=o(ke);const nt=qe.write(Pe,de);return nt!==ke&&(qe=qe.slice(0,nt)),qe})(k,j);if(ArrayBuffer.isView(k))return(function(Pe){if(se(Pe,Uint8Array)){const de=new Uint8Array(Pe);return m(de.buffer,de.byteOffset,de.byteLength)}return d(Pe)})(k);if(k==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k);if(se(k,ArrayBuffer)||k&&se(k.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(se(k,SharedArrayBuffer)||k&&se(k.buffer,SharedArrayBuffer)))return m(k,j,J);if(typeof k=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Te=k.valueOf&&k.valueOf();if(Te!=null&&Te!==k)return l.from(Te,j,J);const Ie=(function(Pe){if(l.isBuffer(Pe)){const de=0|f(Pe.length),ke=o(de);return ke.length===0||Pe.copy(ke,0,0,de),ke}return Pe.length!==void 0?typeof Pe.length!="number"||ve(Pe.length)?o(0):d(Pe):Pe.type==="Buffer"&&Array.isArray(Pe.data)?d(Pe.data):void 0})(k);if(Ie)return Ie;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof k[Symbol.toPrimitive]=="function")return l.from(k[Symbol.toPrimitive]("string"),j,J);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof k)}function u(k){if(typeof k!="number")throw new TypeError('"size" argument must be of type number');if(k<0)throw new RangeError('The value "'+k+'" is invalid for option "size"')}function h(k){return u(k),o(k<0?0:0|f(k))}function d(k){const j=k.length<0?0:0|f(k.length),J=o(j);for(let Te=0;Te=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|k}function v(k,j){if(l.isBuffer(k))return k.length;if(ArrayBuffer.isView(k)||se(k,ArrayBuffer))return k.byteLength;if(typeof k!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof k);const J=k.length,Te=arguments.length>2&&arguments[2]===!0;if(!Te&&J===0)return 0;let Ie=!1;for(;;)switch(j){case"ascii":case"latin1":case"binary":return J;case"utf8":case"utf-8":return oe(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*J;case"hex":return J>>>1;case"base64":return ne(k).length;default:if(Ie)return Te?-1:oe(k).length;j=(""+j).toLowerCase(),Ie=!0}}function C(k,j,J){let Te=!1;if((j===void 0||j<0)&&(j=0),j>this.length||((J===void 0||J>this.length)&&(J=this.length),J<=0)||(J>>>=0)<=(j>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return N(this,j,J);case"utf8":case"utf-8":return z(this,j,J);case"ascii":return W(this,j,J);case"latin1":case"binary":return F(this,j,J);case"base64":return I(this,j,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,j,J);default:if(Te)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),Te=!0}}function S(k,j,J){const Te=k[j];k[j]=k[J],k[J]=Te}function x(k,j,J,Te,Ie){if(k.length===0)return-1;if(typeof J=="string"?(Te=J,J=0):J>2147483647?J=2147483647:J<-2147483648&&(J=-2147483648),ve(J=+J)&&(J=Ie?0:k.length-1),J<0&&(J=k.length+J),J>=k.length){if(Ie)return-1;J=k.length-1}else if(J<0){if(!Ie)return-1;J=0}if(typeof j=="string"&&(j=l.from(j,Te)),l.isBuffer(j))return j.length===0?-1:g(k,j,J,Te,Ie);if(typeof j=="number")return j&=255,typeof Uint8Array.prototype.indexOf=="function"?Ie?Uint8Array.prototype.indexOf.call(k,j,J):Uint8Array.prototype.lastIndexOf.call(k,j,J):g(k,[j],J,Te,Ie);throw new TypeError("val must be string, number or Buffer")}function g(k,j,J,Te,Ie){let Pe,de=1,ke=k.length,qe=j.length;if(Te!==void 0&&((Te=String(Te).toLowerCase())==="ucs2"||Te==="ucs-2"||Te==="utf16le"||Te==="utf-16le")){if(k.length<2||j.length<2)return-1;de=2,ke/=2,qe/=2,J/=2}function nt(ct,yt){return de===1?ct[yt]:ct.readUInt16BE(yt*de)}if(Ie){let ct=-1;for(Pe=J;Peke&&(J=ke-qe),Pe=J;Pe>=0;Pe--){let ct=!0;for(let yt=0;ytIe&&(Te=Ie):Te=Ie;const Pe=j.length;let de;for(Te>Pe/2&&(Te=Pe/2),de=0;de>8,qe=de%256,nt.push(qe),nt.push(ke);return nt})(j,k.length-J),k,J,Te)}function I(k,j,J){return j===0&&J===k.length?r.fromByteArray(k):r.fromByteArray(k.slice(j,J))}function z(k,j,J){J=Math.min(k.length,J);const Te=[];let Ie=j;for(;Ie239?4:Pe>223?3:Pe>191?2:1;if(Ie+ke<=J){let qe,nt,ct,yt;switch(ke){case 1:Pe<128&&(de=Pe);break;case 2:qe=k[Ie+1],(192&qe)==128&&(yt=(31&Pe)<<6|63&qe,yt>127&&(de=yt));break;case 3:qe=k[Ie+1],nt=k[Ie+2],(192&qe)==128&&(192&nt)==128&&(yt=(15&Pe)<<12|(63&qe)<<6|63&nt,yt>2047&&(yt<55296||yt>57343)&&(de=yt));break;case 4:qe=k[Ie+1],nt=k[Ie+2],ct=k[Ie+3],(192&qe)==128&&(192&nt)==128&&(192&ct)==128&&(yt=(15&Pe)<<18|(63&qe)<<12|(63&nt)<<6|63&ct,yt>65535&&yt<1114112&&(de=yt))}}de===null?(de=65533,ke=1):de>65535&&(de-=65536,Te.push(de>>>10&1023|55296),de=56320|1023&de),Te.push(de),Ie+=ke}return(function(Pe){const de=Pe.length;if(de<=G)return String.fromCharCode.apply(String,Pe);let ke="",qe=0;for(;qeTe.length?(l.isBuffer(Pe)||(Pe=l.from(Pe)),Pe.copy(Te,Ie)):Uint8Array.prototype.set.call(Te,Pe,Ie);else{if(!l.isBuffer(Pe))throw new TypeError('"list" argument must be an Array of Buffers');Pe.copy(Te,Ie)}Ie+=Pe.length}return Te},l.byteLength=v,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const k=this.length;if(k%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let j=0;jj&&(k+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(k,j,J,Te,Ie){if(se(k,Uint8Array)&&(k=l.from(k,k.offset,k.byteLength)),!l.isBuffer(k))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof k);if(j===void 0&&(j=0),J===void 0&&(J=k?k.length:0),Te===void 0&&(Te=0),Ie===void 0&&(Ie=this.length),j<0||J>k.length||Te<0||Ie>this.length)throw new RangeError("out of range index");if(Te>=Ie&&j>=J)return 0;if(Te>=Ie)return-1;if(j>=J)return 1;if(this===k)return 0;let Pe=(Ie>>>=0)-(Te>>>=0),de=(J>>>=0)-(j>>>=0);const ke=Math.min(Pe,de),qe=this.slice(Te,Ie),nt=k.slice(j,J);for(let ct=0;ct>>=0,isFinite(J)?(J>>>=0,Te===void 0&&(Te="utf8")):(Te=J,J=void 0)}const Ie=this.length-j;if((J===void 0||J>Ie)&&(J=Ie),k.length>0&&(J<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");let Pe=!1;for(;;)switch(Te){case"hex":return w(this,k,j,J);case"utf8":case"utf-8":return y(this,k,j,J);case"ascii":case"latin1":case"binary":return _(this,k,j,J);case"base64":return T(this,k,j,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,k,j,J);default:if(Pe)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),Pe=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const G=4096;function W(k,j,J){let Te="";J=Math.min(k.length,J);for(let Ie=j;IeTe)&&(J=Te);let Ie="";for(let Pe=j;PeJ)throw new RangeError("Trying to access beyond buffer length")}function R(k,j,J,Te,Ie,Pe){if(!l.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(j>Ie||jk.length)throw new RangeError("Index out of range")}function K(k,j,J,Te,Ie){Me(j,Te,Ie,k,J,7);let Pe=Number(j&BigInt(4294967295));k[J++]=Pe,Pe>>=8,k[J++]=Pe,Pe>>=8,k[J++]=Pe,Pe>>=8,k[J++]=Pe;let de=Number(j>>BigInt(32)&BigInt(4294967295));return k[J++]=de,de>>=8,k[J++]=de,de>>=8,k[J++]=de,de>>=8,k[J++]=de,J}function ie(k,j,J,Te,Ie){Me(j,Te,Ie,k,J,7);let Pe=Number(j&BigInt(4294967295));k[J+7]=Pe,Pe>>=8,k[J+6]=Pe,Pe>>=8,k[J+5]=Pe,Pe>>=8,k[J+4]=Pe;let de=Number(j>>BigInt(32)&BigInt(4294967295));return k[J+3]=de,de>>=8,k[J+2]=de,de>>=8,k[J+1]=de,de>>=8,k[J]=de,J+8}function he(k,j,J,Te,Ie,Pe){if(J+Te>k.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("Index out of range")}function Le(k,j,J,Te,Ie){return j=+j,J>>>=0,Ie||he(k,0,J,4),a.write(k,j,J,Te,23,4),J+4}function X(k,j,J,Te,Ie){return j=+j,J>>>=0,Ie||he(k,0,J,8),a.write(k,j,J,Te,52,8),J+8}l.prototype.slice=function(k,j){const J=this.length;(k=~~k)<0?(k+=J)<0&&(k=0):k>J&&(k=J),(j=j===void 0?J:~~j)<0?(j+=J)<0&&(j=0):j>J&&(j=J),j>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k],Ie=1,Pe=0;for(;++Pe>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k+--j],Ie=1;for(;j>0&&(Ie*=256);)Te+=this[k+--j]*Ie;return Te},l.prototype.readUint8=l.prototype.readUInt8=function(k,j){return k>>>=0,j||H(k,1,this.length),this[k]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(k,j){return k>>>=0,j||H(k,2,this.length),this[k]|this[k+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(k,j){return k>>>=0,j||H(k,2,this.length),this[k]<<8|this[k+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(k,j){return k>>>=0,j||H(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(k,j){return k>>>=0,j||H(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},l.prototype.readBigUInt64LE=He((function(k){ue(k>>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=j+256*this[++k]+65536*this[++k]+this[++k]*2**24,Ie=this[++k]+256*this[++k]+65536*this[++k]+J*2**24;return BigInt(Te)+(BigInt(Ie)<>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=j*2**24+65536*this[++k]+256*this[++k]+this[++k],Ie=this[++k]*2**24+65536*this[++k]+256*this[++k]+J;return(BigInt(Te)<>>=0,j>>>=0,J||H(k,j,this.length);let Te=this[k],Ie=1,Pe=0;for(;++Pe=Ie&&(Te-=Math.pow(2,8*j)),Te},l.prototype.readIntBE=function(k,j,J){k>>>=0,j>>>=0,J||H(k,j,this.length);let Te=j,Ie=1,Pe=this[k+--Te];for(;Te>0&&(Ie*=256);)Pe+=this[k+--Te]*Ie;return Ie*=128,Pe>=Ie&&(Pe-=Math.pow(2,8*j)),Pe},l.prototype.readInt8=function(k,j){return k>>>=0,j||H(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},l.prototype.readInt16LE=function(k,j){k>>>=0,j||H(k,2,this.length);const J=this[k]|this[k+1]<<8;return 32768&J?4294901760|J:J},l.prototype.readInt16BE=function(k,j){k>>>=0,j||H(k,2,this.length);const J=this[k+1]|this[k]<<8;return 32768&J?4294901760|J:J},l.prototype.readInt32LE=function(k,j){return k>>>=0,j||H(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},l.prototype.readInt32BE=function(k,j){return k>>>=0,j||H(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},l.prototype.readBigInt64LE=He((function(k){ue(k>>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=this[k+4]+256*this[k+5]+65536*this[k+6]+(J<<24);return(BigInt(Te)<>>=0,"offset");const j=this[k],J=this[k+7];j!==void 0&&J!==void 0||ae(k,this.length-8);const Te=(j<<24)+65536*this[++k]+256*this[++k]+this[++k];return(BigInt(Te)<>>=0,j||H(k,4,this.length),a.read(this,k,!0,23,4)},l.prototype.readFloatBE=function(k,j){return k>>>=0,j||H(k,4,this.length),a.read(this,k,!1,23,4)},l.prototype.readDoubleLE=function(k,j){return k>>>=0,j||H(k,8,this.length),a.read(this,k,!0,52,8)},l.prototype.readDoubleBE=function(k,j){return k>>>=0,j||H(k,8,this.length),a.read(this,k,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(k,j,J,Te){k=+k,j>>>=0,J>>>=0,Te||R(this,k,j,J,Math.pow(2,8*J)-1,0);let Ie=1,Pe=0;for(this[j]=255&k;++Pe>>=0,J>>>=0,Te||R(this,k,j,J,Math.pow(2,8*J)-1,0);let Ie=J-1,Pe=1;for(this[j+Ie]=255&k;--Ie>=0&&(Pe*=256);)this[j+Ie]=k/Pe&255;return j+J},l.prototype.writeUint8=l.prototype.writeUInt8=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,1,255,0),this[j]=255&k,j+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,65535,0),this[j]=255&k,this[j+1]=k>>>8,j+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,65535,0),this[j]=k>>>8,this[j+1]=255&k,j+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,4294967295,0),this[j+3]=k>>>24,this[j+2]=k>>>16,this[j+1]=k>>>8,this[j]=255&k,j+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,4294967295,0),this[j]=k>>>24,this[j+1]=k>>>16,this[j+2]=k>>>8,this[j+3]=255&k,j+4},l.prototype.writeBigUInt64LE=He((function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=He((function(k){return ie(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(k,j,J,Te){if(k=+k,j>>>=0,!Te){const ke=Math.pow(2,8*J-1);R(this,k,j,J,ke-1,-ke)}let Ie=0,Pe=1,de=0;for(this[j]=255&k;++Ie>0)-de&255;return j+J},l.prototype.writeIntBE=function(k,j,J,Te){if(k=+k,j>>>=0,!Te){const ke=Math.pow(2,8*J-1);R(this,k,j,J,ke-1,-ke)}let Ie=J-1,Pe=1,de=0;for(this[j+Ie]=255&k;--Ie>=0&&(Pe*=256);)k<0&&de===0&&this[j+Ie+1]!==0&&(de=1),this[j+Ie]=(k/Pe>>0)-de&255;return j+J},l.prototype.writeInt8=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,1,127,-128),k<0&&(k=255+k+1),this[j]=255&k,j+1},l.prototype.writeInt16LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,32767,-32768),this[j]=255&k,this[j+1]=k>>>8,j+2},l.prototype.writeInt16BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,2,32767,-32768),this[j]=k>>>8,this[j+1]=255&k,j+2},l.prototype.writeInt32LE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,2147483647,-2147483648),this[j]=255&k,this[j+1]=k>>>8,this[j+2]=k>>>16,this[j+3]=k>>>24,j+4},l.prototype.writeInt32BE=function(k,j,J){return k=+k,j>>>=0,J||R(this,k,j,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),this[j]=k>>>24,this[j+1]=k>>>16,this[j+2]=k>>>8,this[j+3]=255&k,j+4},l.prototype.writeBigInt64LE=He((function(k){return K(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=He((function(k){return ie(this,k,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(k,j,J){return Le(this,k,j,!0,J)},l.prototype.writeFloatBE=function(k,j,J){return Le(this,k,j,!1,J)},l.prototype.writeDoubleLE=function(k,j,J){return X(this,k,j,!0,J)},l.prototype.writeDoubleBE=function(k,j,J){return X(this,k,j,!1,J)},l.prototype.copy=function(k,j,J,Te){if(!l.isBuffer(k))throw new TypeError("argument should be a Buffer");if(J||(J=0),Te||Te===0||(Te=this.length),j>=k.length&&(j=k.length),j||(j=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),k.length-j>>=0,J=J===void 0?this.length:J>>>0,k||(k=0),typeof k=="number")for(Ie=j;Ie=Te+4;J-=3)j=`_${k.slice(J-3,J)}${j}`;return`${k.slice(0,J)}${j}`}function Me(k,j,J,Te,Ie,Pe){if(k>J||k= 0${de} and < 2${de} ** ${8*(Pe+1)}${de}`:`>= -(2${de} ** ${8*(Pe+1)-1}${de}) and < 2 ** ${8*(Pe+1)-1}${de}`,new Q.ERR_OUT_OF_RANGE("value",ke,k)}(function(de,ke,qe){ue(ke,"offset"),de[ke]!==void 0&&de[ke+qe]!==void 0||ae(ke,de.length-(qe+1))})(Te,Ie,Pe)}function ue(k,j){if(typeof k!="number")throw new Q.ERR_INVALID_ARG_TYPE(j,"number",k)}function ae(k,j,J){throw Math.floor(k)!==k?(ue(k,J),new Q.ERR_OUT_OF_RANGE("offset","an integer",k)):j<0?new Q.ERR_BUFFER_OUT_OF_BOUNDS:new Q.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${j}`,k)}fe("ERR_BUFFER_OUT_OF_BOUNDS",(function(k){return k?`${k} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),fe("ERR_INVALID_ARG_TYPE",(function(k,j){return`The "${k}" argument must be of type number. Received type ${typeof j}`}),TypeError),fe("ERR_OUT_OF_RANGE",(function(k,j,J){let Te=`The value of "${k}" is out of range.`,Ie=J;return Number.isInteger(J)&&Math.abs(J)>2**32?Ie=Ce(String(J)):typeof J=="bigint"&&(Ie=String(J),(J>BigInt(2)**BigInt(32)||J<-(BigInt(2)**BigInt(32)))&&(Ie=Ce(Ie)),Ie+="n"),Te+=` It must be ${j}. Received ${Ie}`,Te}),RangeError);const ce=/[^+/0-9A-Za-z-_]/g;function oe(k,j){let J;j=j||1/0;const Te=k.length;let Ie=null;const Pe=[];for(let de=0;de55295&&J<57344){if(!Ie){if(J>56319){(j-=3)>-1&&Pe.push(239,191,189);continue}if(de+1===Te){(j-=3)>-1&&Pe.push(239,191,189);continue}Ie=J;continue}if(J<56320){(j-=3)>-1&&Pe.push(239,191,189),Ie=J;continue}J=65536+(Ie-55296<<10|J-56320)}else Ie&&(j-=3)>-1&&Pe.push(239,191,189);if(Ie=null,J<128){if((j-=1)<0)break;Pe.push(J)}else if(J<2048){if((j-=2)<0)break;Pe.push(J>>6|192,63&J|128)}else if(J<65536){if((j-=3)<0)break;Pe.push(J>>12|224,J>>6&63|128,63&J|128)}else{if(!(J<1114112))throw new Error("Invalid code point");if((j-=4)<0)break;Pe.push(J>>18|240,J>>12&63|128,J>>6&63|128,63&J|128)}}return Pe}function ne(k){return r.toByteArray((function(j){if((j=(j=j.split("=")[0]).trim().replace(ce,"")).length<2)return"";for(;j.length%4!=0;)j+="=";return j})(k))}function Se(k,j,J,Te){let Ie;for(Ie=0;Ie=j.length||Ie>=k.length);++Ie)j[Ie+J]=k[Ie];return Ie}function se(k,j){return k instanceof j||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===j.name}function ve(k){return k!=k}const xe=(function(){const k="0123456789abcdef",j=new Array(256);for(let J=0;J<16;++J){const Te=16*J;for(let Ie=0;Ie<16;++Ie)j[Te+Ie]=k[J]+k[Ie]}return j})();function He(k){return typeof BigInt>"u"?ee:k}function ee(){throw new Error("BigInt not supported")}},(t,e,n)=>{var r=n(17),a=Object.getOwnPropertyDescriptors||function(F){for(var N=Object.keys(F),$={},H=0;H=R)return he;switch(he){case"%s":return String(H[$++]);case"%d":return Number(H[$++]);case"%j":try{return JSON.stringify(H[$++])}catch{return"[Circular]"}default:return he}})),ie=H[$];$=3&&($.depth=arguments[2]),arguments.length>=4&&($.colors=arguments[3]),v(N)?$.showHidden=N:N&&e._extend($,N),g($.showHidden)&&($.showHidden=!1),g($.depth)&&($.depth=2),g($.colors)&&($.colors=!1),g($.customInspect)&&($.customInspect=!0),$.colors&&($.stylize=p),h($,F,$.depth)}function p(F,N){var $=l.styles[N];return $?"\x1B["+l.colors[$][0]+"m"+F+"\x1B["+l.colors[$][1]+"m":F}function u(F,N){return F}function h(F,N,$){if(F.customInspect&&N&&O(N.inspect)&&N.inspect!==e.inspect&&(!N.constructor||N.constructor.prototype!==N)){var H=N.inspect($,F);return x(H)||(H=h(F,H,$)),H}var R=(function(Ce,Me){if(g(Me))return Ce.stylize("undefined","undefined");if(x(Me)){var ue="'"+JSON.stringify(Me).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ce.stylize(ue,"string")}return S(Me)?Ce.stylize(""+Me,"number"):v(Me)?Ce.stylize(""+Me,"boolean"):C(Me)?Ce.stylize("null","null"):void 0})(F,N);if(R)return R;var K=Object.keys(N),ie=(function(Ce){var Me={};return Ce.forEach((function(ue,ae){Me[ue]=!0})),Me})(K);if(F.showHidden&&(K=Object.getOwnPropertyNames(N)),T(N)&&(K.indexOf("message")>=0||K.indexOf("description")>=0))return d(N);if(K.length===0){if(O(N)){var he=N.name?": "+N.name:"";return F.stylize("[Function"+he+"]","special")}if(w(N))return F.stylize(RegExp.prototype.toString.call(N),"regexp");if(_(N))return F.stylize(Date.prototype.toString.call(N),"date");if(T(N))return d(N)}var Le,X="",Q=!1,fe=["{","}"];return f(N)&&(Q=!0,fe=["[","]"]),O(N)&&(X=" [Function"+(N.name?": "+N.name:"")+"]"),w(N)&&(X=" "+RegExp.prototype.toString.call(N)),_(N)&&(X=" "+Date.prototype.toUTCString.call(N)),T(N)&&(X=" "+d(N)),K.length!==0||Q&&N.length!=0?$<0?w(N)?F.stylize(RegExp.prototype.toString.call(N),"regexp"):F.stylize("[Object]","special"):(F.seen.push(N),Le=Q?(function(Ce,Me,ue,ae,ce){for(var oe=[],ne=0,Se=Me.length;ne60?ue[0]+(Me===""?"":Me+` `)+" "+Ce.join(`, `)+" "+ue[1]:ue[0]+Me+" "+Ce.join(", ")+" "+ue[1]})(Le,X,fe)):fe[0]+X+fe[1]}function d(F){return"["+Error.prototype.toString.call(F)+"]"}function m(F,N,$,H,R,K){var ie,he,Le;if((Le=Object.getOwnPropertyDescriptor(N,R)||{value:N[R]}).get?he=Le.set?F.stylize("[Getter/Setter]","special"):F.stylize("[Getter]","special"):Le.set&&(he=F.stylize("[Setter]","special")),z(H,R)||(ie="["+R+"]"),he||(F.seen.indexOf(Le.value)<0?(he=C($)?h(F,Le.value,null):h(F,Le.value,$-1)).indexOf(` `)>-1&&(he=K?he.split(` `).map((function(X){return" "+X})).join(` `).slice(2):` `+he.split(` `).map((function(X){return" "+X})).join(` `)):he=F.stylize("[Circular]","special")),g(ie)){if(K&&R.match(/^\d+$/))return he;(ie=JSON.stringify(""+R)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ie=ie.slice(1,-1),ie=F.stylize(ie,"name")):(ie=ie.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ie=F.stylize(ie,"string"))}return ie+": "+he}function f(F){return Array.isArray(F)}function v(F){return typeof F=="boolean"}function C(F){return F===null}function S(F){return typeof F=="number"}function x(F){return typeof F=="string"}function g(F){return F===void 0}function w(F){return y(F)&&I(F)==="[object RegExp]"}function y(F){return typeof F=="object"&&F!==null}function _(F){return y(F)&&I(F)==="[object Date]"}function T(F){return y(F)&&(I(F)==="[object Error]"||F instanceof Error)}function O(F){return typeof F=="function"}function I(F){return Object.prototype.toString.call(F)}function z(F,N){return Object.prototype.hasOwnProperty.call(F,N)}e.debuglog=function(F){return F=F.toUpperCase(),s[F]||(o.test(F)?(r.pid,s[F]=function(){e.format.apply(e,arguments)}):s[F]=function(){}),s[F]},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=n(228),e.isArray=f,e.isBoolean=v,e.isNull=C,e.isNullOrUndefined=function(F){return F==null},e.isNumber=S,e.isString=x,e.isSymbol=function(F){return typeof F=="symbol"},e.isUndefined=g,e.isRegExp=w,e.types.isRegExp=w,e.isObject=y,e.isDate=_,e.types.isDate=_,e.isError=T,e.types.isNativeError=T,e.isFunction=O,e.isPrimitive=function(F){return F===null||typeof F=="boolean"||typeof F=="number"||typeof F=="string"||typeof F=="symbol"||F===void 0},e.isBuffer=n(240),e.log=function(){},e.inherits=n(158),e._extend=function(F,N){if(!N||!y(N))return F;for(var $=Object.keys(N),H=$.length;H--;)F[$[H]]=N[$[H]];return F};var G=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function W(F,N){if(!F){var $=new Error("Promise was rejected with a falsy value");$.reason=F,F=$}return N(F)}e.promisify=function(F){if(typeof F!="function")throw new TypeError('The "original" argument must be of type Function');if(G&&F[G]){var N;if(typeof(N=F[G])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(N,G,{value:N,enumerable:!1,writable:!1,configurable:!0}),N}function N(){for(var $,H,R=new Promise((function(he,Le){$=he,H=Le})),K=[],ie=0;ie{function n(a){const{context:i,node:s}=a;if(s.computed&&i.maybeQueue(a.get("key")),s.decorators)for(const o of a.get("decorators"))i.maybeQueue(o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.requeueComputedKeyAndDecorators=n,e.skipAllButComputedKey=function(a){a.skip(),a.node.computed&&a.context.maybeQueue(a.get("key"))};var r={FunctionParent(a){a.isArrowFunctionExpression()||(a.skip(),a.isMethod()&&n(a))},Property(a){a.isObjectProperty()||(a.skip(),n(a))}};e.default=r},(t,e,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:i}=n(47),s=n(48),o=(e=t.exports={}).re=[],l=e.safeRe=[],p=e.src=[],u=e.t={};let h=0;const d="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[d,a]],f=(v,C,S)=>{const x=(w=>{for(const[y,_]of m)w=w.split(`${y}*`).join(`${y}{0,${_}}`).split(`${y}+`).join(`${y}{1,${_}}`);return w})(C),g=h++;s(v,g,C),u[v]=g,p[g]=C,o[g]=new RegExp(C,S?"g":void 0),l[g]=new RegExp(x,S?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),f("MAINVERSION",`(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})\\.(${p[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})\\.(${p[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${p[u.NUMERICIDENTIFIER]}|${p[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${p[u.NUMERICIDENTIFIERLOOSE]}|${p[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${p[u.PRERELEASEIDENTIFIER]}(?:\\.${p[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${p[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${p[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${d}+`),f("BUILD",`(?:\\+(${p[u.BUILDIDENTIFIER]}(?:\\.${p[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${p[u.MAINVERSION]}${p[u.PRERELEASE]}?${p[u.BUILD]}?`),f("FULL",`^${p[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${p[u.MAINVERSIONLOOSE]}${p[u.PRERELEASELOOSE]}?${p[u.BUILD]}?`),f("LOOSE",`^${p[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${p[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${p[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:\\.(${p[u.XRANGEIDENTIFIER]})(?:${p[u.PRERELEASE]})?${p[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${p[u.XRANGEIDENTIFIERLOOSE]})(?:${p[u.PRERELEASELOOSE]})?${p[u.BUILD]}?)?)?`),f("XRANGE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${p[u.GTLT]}\\s*${p[u.XRANGEPLAINLOOSE]}$`),f("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),f("COERCERTL",p[u.COERCE],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${p[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",f("TILDE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${p[u.LONETILDE]}${p[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${p[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",f("CARET",`^${p[u.LONECARET]}${p[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${p[u.LONECARET]}${p[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${p[u.GTLT]}\\s*(${p[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${p[u.GTLT]}\\s*(${p[u.LOOSEPLAIN]}|${p[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${p[u.XRANGEPLAIN]})\\s+-\\s+(${p[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${p[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${p[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(){a(),i()},e.clearPath=a,e.clearScope=i,e.getCachedPaths=function(o,l){var p;return(p=n.get(s))==null?void 0:p.get(l)},e.getOrCreateCachedPaths=function(o,l){let p=n.get(s);p||n.set(s,p=new WeakMap);let u=p.get(l);return u||p.set(l,u=new Map),u},e.scope=e.path=void 0;let n=e.path=new WeakMap,r=e.scope=new WeakMap;function a(){e.path=n=new WeakMap}function i(){e.scope=r=new WeakMap}const s=Object.freeze({})},(t,e,n)=>{var r=n(17);Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=u,e.default=function(h,d,m){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:m=Math.max(m,0),line:d}},f)};var a=n(428),i=(function(h,d){if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=s(!0);if(m&&m.has(h))return m.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 S=v?Object.getOwnPropertyDescriptor(h,C):null;S&&(S.get||S.set)?Object.defineProperty(f,C,S):f[C]=h[C]}return f.default=h,m&&m.set(h,f),f})(n(224));function s(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(s=function(f){return f?m:d})(h)}let o,l=!1;const p=/\r\n|[\n\r\u2028\u2029]/;function u(h,d){let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const f=(m.highlightCode||m.forceColor)&&(0,a.shouldHighlight)(m),v=m.forceColor?(o!=null||(o=new i.default.constructor({enabled:!0,level:1})),o):i.default,C=(function(I){return{gutter:I.grey,marker:I.red.bold,message:I.red.bold}})(v),S=(I,z)=>f?I(z):z,x=h.split(p),{start:g,end:w,markerLines:y}=(function(I,z,G){const W=Object.assign({column:0,line:-1},I.start),F=Object.assign({},W,I.end),{linesAbove:N=2,linesBelow:$=3}=G||{},H=W.line,R=W.column,K=F.line,ie=F.column;let he=Math.max(H-(N+1),0),Le=Math.min(z.length,K+$);H===-1&&(he=0),K===-1&&(Le=z.length);const X=K-H,Q={};if(X)for(let fe=0;fe<=X;fe++){const Ce=fe+H;if(R)if(fe===0){const Me=z[Ce-1].length;Q[Ce]=[R,Me-R+1]}else if(fe===X)Q[Ce]=[0,ie];else{const Me=z[Ce-fe].length;Q[Ce]=[0,Me]}else Q[Ce]=!0}else Q[H]=R===ie?!R||[R,0]:[R,ie-R];return{start:he,end:Le,markerLines:Q}})(d,x,m),_=d.start&&typeof d.start.column=="number",T=String(w).length;let O=(f?(0,a.default)(h,m):h).split(p,w).slice(g,w).map(((I,z)=>{const G=g+1+z,W=` ${` ${G}`.slice(-T)} |`,F=y[G],N=!y[G+1];if(F){let $="";if(Array.isArray(F)){const H=I.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),R=F[1]||1;$=[` `,S(C.gutter,W.replace(/\d/g," "))," ",H,S(C.marker,"^").repeat(R)].join(""),N&&m.message&&($+=" "+S(C.message,m.message))}return[S(C.marker,">"),S(C.gutter,W),I.length>0?` ${I}`:"",$].join("")}return` ${S(C.gutter,W)}${I.length>0?` ${I}`:""}`})).join(` `);return m.message&&!_&&(O=`${" ".repeat(T+1)}${m.message} ${O}`),f?v.reset(O):O}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var r=n(432),a=n(433);const i=(0,a.default)(r.smart);e.smart=i;const s=(0,a.default)(r.statement);e.statement=s;const o=(0,a.default)(r.statements);e.statements=o;const l=(0,a.default)(r.expression);e.expression=l;const p=(0,a.default)(r.program);e.program=p;var u=Object.assign(i.bind(void 0),{smart:i,statement:s,statements:o,expression:l,program:p,ast:i.ast});e.default=u},(t,e,n)=>{var r=n(22),a=n(41),i=a(r("String.prototype.indexOf"));t.exports=function(s,o){var l=r(s,!!o);return typeof l=="function"&&i(s,".prototype.")>-1?a(l):l}},(t,e)=>{var n;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=function(h){return a?Object.defineProperty((function(){return p(),h(...arguments)}),"name",{value:s}):h},e.endHiddenCallStack=function(h){return a?Object.defineProperty((function(){return h(...arguments)}),"name",{value:i}):h},e.expectedError=function(h){if(a)return o.add(h),h},e.injectVirtualStackFrame=function(h,d){if(!a)return;let m=l.get(h);return m||l.set(h,m=[]),m.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),a=!!Error.captureStackTrace&&((n=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:n.writable)===!0,i="startHiding - secret - don't use this - v1",s="stopHiding - secret - don't use this - v1",o=new WeakSet,l=new WeakMap;function p(){p=()=>{};const{prepareStackTrace:h=u}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(d,m){let f=[],v=o.has(d)?"hiding":"unknown";for(let C=0;C{let r,a,i=n(24);class s extends i{constructor(l){super(l),this.type="root",this.nodes||(this.nodes=[])}normalize(l,p,u){let h=super.normalize(l);if(p){if(u==="prepend")this.nodes.length>1?p.raws.before=this.nodes[1].raws.before:delete p.raws.before;else if(this.first!==p)for(let d of h)d.raws.before=p.raws.before}return h}removeChild(l,p){let u=this.index(l);return!p&&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 a,this,l).stringify()}}s.registerLazyResult=o=>{r=o},s.registerProcessor=o=>{a=o},t.exports=s,s.default=s,i.registerRoot(s)},(t,e,n)=>{var r=n(71),a=n(22),i=n(234),s=a("%TypeError%"),o=a("%Function.prototype.apply%"),l=a("%Function.prototype.call%"),p=a("%Reflect.apply%",!0)||r.call(l,o),u=a("%Object.defineProperty%",!0),h=a("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){if(typeof m!="function")throw new s("a function is required");var f=p(r,l,arguments);return i(f,1+h(0,m.length-(arguments.length-1)),!0)};var d=function(){return p(r,o,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,l,p){return!!l&&((0,a.default)(l.type,o)?p===void 0||(0,r.default)(l,p):!p&&l.type==="Placeholder"&&o in s.FLIPPED_ALIAS_KEYS&&(0,i.default)(l.expectedNode,o))};var r=n(96),a=n(98),i=n(168),s=n(9)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return typeof a=="string"&&(!(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])||!(0,r.isKeyword)(a)&&!(0,r.isStrictReservedWord)(a,!0))&&(0,r.isIdentifierName)(a)};var r=n(59)},(t,e,n)=>{var r=n(5),a=n(15),i=n(102),s=n(204),o=n(11),l=r.RegExp,p=l.prototype;a&&o((function(){var u=!0;try{l(".","d")}catch{u=!1}var h={},d="",m=u?"dgimsy":"gimsy",f=function(S,x){Object.defineProperty(h,S,{get:function(){return d+=x,!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(p,"flags").get.call(h)!==m||d!==m}))&&i(p,"flags",{configurable:!0,get:s})},(t,e,n)=>{var r=n(5),a=n(116),i=n(29),s=n(67),o=n(113),l=n(112),p=r.Symbol,u=a("wks"),h=l?p.for||p:p&&p.withoutSetter||s;t.exports=function(d){return i(u,d)||(u[d]=o&&i(p,d)?p[d]:h("Symbol."+d)),u[d]}},(t,e,n)=>{var r=n(123),a=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,s=Array.prototype.concat,o=n(121),l=n(72)(),p=function(h,d,m,f){if(d in h){if(f===!0){if(h[d]===m)return}else if(typeof(v=f)!="function"||i.call(v)!=="[object Function]"||!f())return}var v;l?o(h,d,m,!0):o(h,d,m)},u=function(h,d){var m=arguments.length>2?arguments[2]:{},f=r(d);a&&(f=s.call(f,Object.getOwnPropertySymbols(d)));for(var v=0;v{const e=Number.MAX_SAFE_INTEGER||9007199254740991;t.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}},(t,e,n)=>{var r=n(17);const a=(typeof r=="object"&&r.env,()=>{});t.exports=a},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)>0},(t,e,n)=>{const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(m,f){if(f=i(f),m instanceof a){if(m.loose===!!f.loose)return m;m=m.value}m=m.trim().split(/\s+/).join(" "),p("comparator",m,f),this.options=f,this.loose=!!f.loose,this.parse(m),this.semver===r?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}parse(m){const f=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],v=m.match(f);if(!v)throw new TypeError(`Invalid comparator: ${m}`);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(m){if(p("Comparator.test",m,this.options.loose),this.semver===r||m===r)return!0;if(typeof m=="string")try{m=new u(m,this.options)}catch{return!1}return l(m,this.operator,this.semver,this.options)}intersects(m,f){if(!(m instanceof a))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new h(m.value,f).test(this.value):m.operator===""?m.value===""||new h(this.value,f).test(m.semver):!((f=i(f)).includePrerelease&&(this.value==="<0.0.0-0"||m.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||m.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!m.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!m.operator.startsWith("<"))&&(this.semver.version!==m.semver.version||!this.operator.includes("=")||!m.operator.includes("="))&&!(l(this.semver,"<",m.semver,f)&&this.operator.startsWith(">")&&m.operator.startsWith("<"))&&!(l(this.semver,">",m.semver,f)&&this.operator.startsWith("<")&&m.operator.startsWith(">")))}}t.exports=a;const i=n(75),{safeRe:s,t:o}=n(34),l=n(131),p=n(48),u=n(3),h=n(8)},(t,e,n)=>{const r=n(8);t.exports=(a,i,s)=>{try{i=new r(i,s)}catch{return!1}return i.test(a)}},(t,e,n)=>{let r=n(53);class a extends r{constructor(s){s&&s.value!==void 0&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}t.exports=a,a.default=a},(t,e,n)=>{let{isClean:r,my:a}=n(145),i=n(87),s=n(146),o=n(54);function l(u,h){let d=new u.constructor;for(let m in u){if(!Object.prototype.hasOwnProperty.call(u,m)||m==="proxyCache")continue;let f=u[m],v=typeof f;m==="parent"&&v==="object"?h&&(d[m]=h):m==="source"?d[m]=f:Array.isArray(f)?d[m]=f.map((C=>l(C,d))):(v==="object"&&f!==null&&(f=l(f)),d[m]=f)}return d}class p{constructor(){let h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.raws={},this[r]=!1,this[a]=!0;for(let d in h)if(d==="nodes"){this.nodes=[];for(let m of h[d])typeof m.clone=="function"?this.append(m.clone()):this.append(m)}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 m in h)d[m]=h[m];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:m,start:f}=this.rangeBy(d);return this.source.input.error(h,{column:f.column,line:f.line},{column:m.column,line:m.line},d)}return new i(h)}getProxyProcessor(){return{get:(h,d)=>d==="proxyOf"?h:d==="root"?()=>h.root().toProxy():h[d],set:(h,d,m)=>(h[d]===m||(h[d]=m,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 m=this.source.start;if(h.index)m=this.positionInside(h.index,d);else if(h.word){let f=(d=this.toString()).indexOf(h.word);f!==-1&&(m=this.positionInside(f,d))}return m}positionInside(h,d){let m=d||this.toString(),f=this.source.start.column,v=this.source.start.line;for(let C=0;Ctypeof x=="object"&&x.toJSON?x.toJSON(null,d):x));else if(typeof S=="object"&&S.toJSON)m[C]=S.toJSON(null,d);else if(C==="source"){let x=d.get(S.input);x==null&&(x=v,d.set(S.input,v),v++),m[C]={end:S.end,inputId:x,start:S.start}}else m[C]=S}return f&&(m.inputs=[...d.keys()].map((C=>C.toJSON()))),m}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]:o;h.stringify&&(h=h.stringify);let d="";return h(this,(m=>{d+=m})),d}warn(h,d,m){let f={node:this};for(let v in m)f[v]=m[v];return h.warn(d,f)}get proxyOf(){return this}}t.exports=p,p.default=p},(t,e,n)=>{let r=n(146);function a(i,s){new r(s).stringify(i)}t.exports=a,a.default=a},(t,e,n)=>{let{SourceMapConsumer:r,SourceMapGenerator:a}=n(149),{fileURLToPath:i,pathToFileURL:s}=n(318),{isAbsolute:o,resolve:l}=n(150),{nanoid:p}=n(319),u=n(317),h=n(87),d=n(151),m=Symbol("fromOffsetCache"),f=!!(r&&a),v=!!(l&&o);class C{constructor(x){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(x==null||typeof x=="object"&&!x.toString)throw new Error(`PostCSS received ${x} instead of CSS string`);if(this.css=x.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,g.from&&(!v||/^\w+:\/\//.test(g.from)||o(g.from)?this.file=g.from:this.file=l(g.from)),v&&f){let w=new d(this.css,g);if(w.text){this.map=w;let y=w.consumer().file;!this.file&&y&&(this.file=this.mapResolve(y))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(x,g,w){let y,_,T,O=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(g&&typeof g=="object"){let z=g,G=w;if(typeof z.offset=="number"){let W=this.fromOffset(z.offset);g=W.line,w=W.col}else g=z.line,w=z.column;if(typeof G.offset=="number"){let W=this.fromOffset(G.offset);_=W.line,T=W.col}else _=G.line,T=G.column}else if(!w){let z=this.fromOffset(g);g=z.line,w=z.col}let I=this.origin(g,w,_,T);return y=I?new h(x,I.endLine===void 0?I.line:{column:I.column,line:I.line},I.endLine===void 0?I.column:{column:I.endColumn,line:I.endLine},I.source,I.file,O.plugin):new h(x,_===void 0?g:{column:w,line:g},_===void 0?w:{column:T,line:_},this.css,this.file,O.plugin),y.input={column:w,endColumn:T,endLine:_,line:g,source:this.css},this.file&&(s&&(y.input.url=s(this.file).toString()),y.input.file=this.file),y}fromOffset(x){let g,w;if(this[m])w=this[m];else{let _=this.css.split(` `);w=new Array(_.length);let T=0;for(let O=0,I=_.length;O=g)y=w.length-1;else{let _,T=w.length-2;for(;y>1),x=w[_+1])){y=_;break}y=_+1}}return{col:x-w[y]+1,line:y+1}}mapResolve(x){return/^\w+:\/\//.test(x)?x:l(this.map.consumer().sourceRoot||this.map.root||".",x)}origin(x,g,w,y){if(!this.map)return!1;let _,T,O=this.map.consumer(),I=O.originalPositionFor({column:g,line:x});if(!I.source)return!1;typeof w=="number"&&(_=O.originalPositionFor({column:y,line:w})),T=o(I.source)?s(I.source):new URL(I.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let z={column:I.column,endColumn:_&&_.column,endLine:_&&_.line,line:I.line,url:T.toString()};if(T.protocol==="file:"){if(!i)throw new Error("file: protocol is not available in this PostCSS build");z.file=i(T)}let G=O.sourceContentFor(I.source);return G&&(z.source=G),z}toJSON(){let x={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(x[g]=this[g]);return this.map&&(x.map={...this.map},x.map.consumerCache&&(x.map.consumerCache=void 0)),x}get from(){return this.file||this.id}}t.exports=C,C.default=C,u&&u.registerInput&&u.registerInput(C)},(t,e,n)=>{let r=n(53);class a extends r{constructor(s){super(s),this.type="comment"}}t.exports=a,a.default=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.explode=d,e.isExplodedVisitor=h,e.merge=function(w){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],_=arguments.length>2?arguments[2]:void 0;const T={};for(let O=0;Oz.toString()),G})),T[O]=I)}return T}function C(w){w.enter&&!Array.isArray(w.enter)&&(w.enter=[w.enter]),w.exit&&!Array.isArray(w.exit)&&(w.exit=[w.exit])}function S(w,y){const _=a[`is${w}`],T=function(O){if(_.call(O))return y.apply(this,arguments)};return T.toString=()=>y.toString(),T}function x(w){return w[0]==="_"||w==="enter"||w==="exit"||w==="shouldSkip"||w==="denylist"||w==="noScope"||w==="skipKeys"||w==="blacklist"}function g(w,y){for(const _ of["enter","exit"])y[_]&&(w[_]=[].concat(w[_]||[],y[_]))}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r,a){if(n.has(r))return;n.add(r);const{internal:i,trace:s}=(function(o,l){const{stackTraceLimit:p,prepareStackTrace:u}=Error;let h;if(Error.stackTraceLimit=4,Error.prepareStackTrace=function(m,f){h=f},new Error().stack,Error.stackTraceLimit=p,Error.prepareStackTrace=u,!h)return{internal:!1,trace:""};const d=h.slice(2,4);return{internal:/[\\/]@babel[\\/]/.test(d[1].getFileName()),trace:d.map((m=>` at ${m}`)).join(` `)}})()};const n=new Set},(t,e,n)=>{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 a.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return a.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return a.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return a.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return a.isStrictReservedWord}});var r=n(353),a=n(354)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=n(2);function a(i,s,o,l){const p=[].concat(i),u=Object.create(null);for(;p.length;){const h=p.shift();if(!h||l&&((0,r.isAssignmentExpression)(h)||(0,r.isUnaryExpression)(h)))continue;const d=a.keys[h.type];if((0,r.isIdentifier)(h))s?(u[h.name]=u[h.name]||[]).push(h):u[h.name]=h;else if(!(0,r.isExportDeclaration)(h)||(0,r.isExportAllDeclaration)(h)){if(o){if((0,r.isFunctionDeclaration)(h)){p.push(h.id);continue}if((0,r.isFunctionExpression)(h))continue}if(d)for(let m=0;m{t.exports=function(){return function(){}}},(t,e,n)=>{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(),S=v.isFunctionExpression()||v.isClassExpression(),x=v.isScope()?v.scope.parent:v.scope;let g=v.node.id,w=!1;g?S&&x.hasBinding(g.name)&&(w=!0,g=x.generateUidIdentifier(g.name)):(w=!0,g=x.generateUidIdentifier("default"),(C||S)&&(v.node.id=a(g)));const y=C?v.node:l("var",[p(a(g),v.node)]),_=i(null,[s(a(g),o("default"))]);return u.insertAfter(_),u.replaceWith(y),w&&x.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(),m=Object.keys(d).map((v=>s(o(v),o(v)))),f=i(null,m);return u.insertAfter(f),u.replaceWith(h.node),u};var r=n(0);const{cloneNode:a,exportNamedDeclaration:i,exportSpecifier:s,identifier:o,variableDeclaration:l,variableDeclarator:p}=r},(t,e,n)=>{var r=n(187),a=Object;t.exports=function(i){return a(r(i))}},(t,e,n)=>{var r=n(5),a=n(106),i="__core-js_shared__",s=r[i]||a(i,{});t.exports=s},(t,e,n)=>{var r=n(20),a=String,i=TypeError;t.exports=function(s){if(r(s))return s;throw new i(a(s)+" is not an object")}},(t,e,n)=>{var r=n(104),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},(t,e,n)=>{var r=n(19),a=0,i=Math.random(),s=r(1 .toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+s(++a+i,36)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return u.buildDynamicImport}}),e.buildNamespaceInitStatements=function(F,N){let $=arguments.length>2&&arguments[2]!==void 0&&arguments[2],H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:p.wrapReference;var R;const K=[],ie=x(N.name);for(const Le of N.importsNamespace)Le!==N.name&&K.push(a.template.statement`var NAME = SOURCE;`({NAME:Le,SOURCE:f(ie)}));const he=(R=H(ie,N.wrap))!=null?R:ie;$&&K.push(...z(F,N,!0,H));for(const Le of N.reexportNamespace)K.push((a.types.isIdentifier(he)?a.template.statement`EXPORTS.NAME = NAMESPACE;`:a.template.statement` Object.defineProperty(EXPORTS, "NAME", { enumerable: true, get: function() { return NAMESPACE; } }); `)({EXPORTS:F.exportName,NAME:Le,NAMESPACE:f(he)}));if(N.reexportAll){const Le=(function(X,Q,fe){return(fe?a.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]; }); `:a.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?a.template` if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return; `({EXPORTS_LIST:X.exportNameListName}):null})})(F,f(he),$);Le.loc=N.reexportAll.loc,K.push(Le)}return K},e.ensureStatementsHoisted=function(F){F.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 i.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return l.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=function(F,N){let{exportName:$,strict:H,allowTopLevelThis:R,strictMode:K,noInterop:ie,importInterop:he=ie?"none":"babel",lazy:Le,getWrapperPayload:X=p.toGetWrapperPayload(Le!=null&&Le),wrapReference:Q=p.wrapReference,esNamespaceOnly:fe,filename:Ce,constantReexports:Me=arguments[1].loose,enumerableModuleMeta:ue=arguments[1].loose,noIncompleteNsImportDetection:ae}=N;(0,l.validateImportInteropOption)(he),r((0,i.isModule)(F),"Cannot process module statements in a script"),F.node.sourceType="script";const ce=(0,l.default)(F,$,{importInterop:he,initializeReexports:Me,getWrapperPayload:X,esNamespaceOnly:fe,filename:Ce});R||(0,s.default)(F),(0,o.default)(F,ce,Q),K!==!1&&(F.node.directives.some((se=>se.value.value==="use strict"))||F.unshiftContainer("directives",v(C("use strict"))));const oe=[];(0,l.hasExports)(ce)&&!H&&oe.push((function(Se){return(arguments.length>1&&arguments[1]!==void 0&&arguments[1]?a.template.statement` EXPORTS.__esModule = true; `:a.template.statement` Object.defineProperty(EXPORTS, "__esModule", { value: true, }); `)({EXPORTS:Se.exportName})})(ce,ue));const ne=(function(Se,se){const ve=Object.create(null);for(const ee of se.local.values())for(const k of ee.names)ve[k]=!0;let xe=!1;for(const ee of se.source.values()){for(const k of ee.reexports.keys())ve[k]=!0;for(const k of ee.reexportNamespace)ve[k]=!0;xe=xe||!!ee.reexportAll}if(!xe||Object.keys(ve).length===0)return null;const He=Se.scope.generateUidIdentifier("exportNames");return delete ve.default,{name:He.name,statement:T("var",[O(He,_(ve))])}})(F,ce);return ne&&(ce.exportNameListName=ne.name,oe.push(ne.statement)),oe.push(...(function(Se,se,ve){let xe=arguments.length>3&&arguments[3]!==void 0&&arguments[3],He=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const ee=[];for(const[j,J]of se.local)if(J.kind!=="import"){if(J.kind==="hoisted")ee.push([J.names[0],W(se,J.names,x(j))]);else if(!He)for(const Te of J.names)ee.push([Te,null])}for(const j of se.source.values()){if(!xe){const J=z(se,j,!1,ve),Te=[...j.reexports.keys()];for(let Ie=0;Ie{let[Te]=j,[Ie]=J;return Te0&&(k.push(W(se,Te,Se.scope.buildUndefinedNode())),Te=[]),k.push(de)):Te.push(Pe)}Te.length>0&&k.push(W(se,Te,Se.scope.buildUndefinedNode()))}return k})(F,ce,Q,Me,ae)),{meta:ce,headers:oe}},Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return s.default}}),e.wrapInterop=function(F,N,$){if($==="none")return null;if($==="node-namespace")return m(F.hub.addHelper("interopRequireWildcard"),[N,d(!0)]);if($==="node-default")return null;let H;if($==="default")H="interopRequireDefault";else{if($!=="namespace")throw new Error(`Unknown interop: ${$}`);H="interopRequireWildcard"}return m(F.hub.addHelper(H),[N])};var r=n(25),a=n(1),i=n(93),s=n(449),o=n(450),l=n(252),p=n(451),u=n(330),h=n(452);const{booleanLiteral:d,callExpression:m,cloneNode:f,directive:v,directiveLiteral:C,expressionStatement:S,identifier:x,isIdentifier:g,memberExpression:w,stringLiteral:y,valueToNode:_,variableDeclaration:T,variableDeclarator:O}=a.types;e.getDynamicImportSource=n(330).getDynamicImportSource;const I={constant:a.template.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:a.template.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:a.template.statement` Object.defineProperty(EXPORTS, "EXPORT_NAME", { enumerable: true, get: function() { return NAMESPACE_IMPORT; }, }); `};function z(F,N,$,H){var R;let K=x(N.name);K=(R=H(K,N.wrap))!=null?R:K;const{stringSpecifiers:ie}=F;return Array.from(N.reexports,(he=>{let[Le,X]=he,Q=f(K);X==="default"&&N.interop==="node-default"||(Q=ie.has(X)?w(Q,y(X),!0):w(Q,x(X)));const fe={EXPORTS:F.exportName,EXPORT_NAME:Le,NAMESPACE_IMPORT:Q};return $||g(Q)?ie.has(Le)?I.constantComputed(fe):I.constant(fe):I.spec(fe)}))}const G={computed:a.template.expression`EXPORTS["NAME"] = VALUE`,default:a.template.expression`EXPORTS.NAME = VALUE`,define:a.template.expression`Object.defineProperty(EXPORTS, "NAME", { enumerable:true, value: void 0, writable: true })["NAME"] = VALUE`};function W(F,N,$){const{stringSpecifiers:H,exportName:R}=F;return S(N.reduce(((K,ie)=>{const he={EXPORTS:R,NAME:ie,VALUE:K};return ie==="__proto__"?G.define(he):H.has(ie)?G.computed(he):G.default(he)}),$))}},(t,e,n)=>{var r=n(70);t.exports=function(){return r()&&!!Symbol.toStringTag}},t=>{t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;for(n in e[n]=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 a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,n);if(i.value!==42||i.enumerable!==!0)return!1}return!0}},(t,e,n)=>{var r=n(232);t.exports=Function.prototype.bind||r},(t,e,n)=>{var r=n(22)("%Object.defineProperty%",!0),a=function(){if(r)try{return r({},"a",{value:1}),!0}catch{return!1}return!1};a.hasArrayLengthDefineBug=function(){if(!a())return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=a},(t,e,n)=>{var r=n(22)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}t.exports=r},(t,e,n)=>{var r=n(125);t.exports=function(){return typeof Object.is=="function"?Object.is:r}},t=>{const e=Object.freeze({loose:!0}),n=Object.freeze({});t.exports=r=>r?typeof r!="object"?e:r:n},(t,e,n)=>{const r=n(3);t.exports=(a,i,s)=>{const o=new r(a,s),l=new r(i,s);return o.compare(l)||o.compareBuild(l)}},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)<0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)>=0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)<=0},(t,e,n)=>{const r=n(3),a=n(50),{ANY:i}=a,s=n(8),o=n(51),l=n(49),p=n(77),u=n(79),h=n(78);t.exports=(d,m,f,v)=>{let C,S,x,g,w;switch(d=new r(d,v),m=new s(m,v),f){case">":C=l,S=u,x=p,g=">",w=">=";break;case"<":C=p,S=h,x=l,g="<",w="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(d,m,v))return!1;for(let y=0;y{I.semver===i&&(I=new a(">=0.0.0")),T=T||I,O=O||I,C(I.semver,T.semver,v)?T=I:x(I.semver,O.semver,v)&&(O=I)})),T.operator===g||T.operator===w||(!O.operator||O.operator===g)&&S(d,O.semver)||O.operator===w&&x(d,O.semver))return!1}return!0}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=function(n){return null},e.findPackageData=function*(n){return{filepath:n,directories:[],pkg:null,isPackage:!1}},e.findRelativeConfig=function*(n,r,a){return{config:null,ignore:null}},e.findRootConfig=function*(n,r,a){return null},e.loadConfig=function*(n,r,a,i){throw new Error(`Cannot load ${n} relative to ${r} in a browser`)},e.loadPlugin=function(n,r){throw new Error(`Cannot load plugin ${n} relative to ${r} in a browser`)},e.loadPreset=function(n,r){throw new Error(`Cannot load preset ${n} relative to ${r} in a browser`)},e.resolvePlugin=function(n,r){return null},e.resolvePreset=function(n,r){return null},e.resolveShowConfigPath=function*(n){return null},e.ROOT_CONFIG_FILENAMES=[]},(t,e,n)=>{function r(){const f=n(13);return r=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(f,v,C){if(C!==void 0)(0,o.beginHiddenCallStack)(d.errback)(f,v,C);else{if(typeof v!="function")return m(f,v);(0,o.beginHiddenCallStack)(d.errback)(f,void 0,C)}},e.createConfigItemAsync=function(){return(0,o.beginHiddenCallStack)(d.async)(...arguments)},e.createConfigItemSync=m,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a.default}}),e.loadOptions=function(f,v){if(v!==void 0)(0,o.beginHiddenCallStack)(u.errback)(f,v);else{if(typeof f!="function")return h(f);(0,o.beginHiddenCallStack)(u.errback)(void 0,f)}},e.loadOptionsAsync=function(){return(0,o.beginHiddenCallStack)(u.async)(...arguments)},e.loadOptionsSync=h,e.loadPartialConfig=function(f,v){if(v!==void 0)(0,o.beginHiddenCallStack)(l.errback)(f,v);else{if(typeof f!="function")return p(f);(0,o.beginHiddenCallStack)(l.errback)(void 0,f)}},e.loadPartialConfigAsync=function(){return(0,o.beginHiddenCallStack)(l.async)(...arguments)},e.loadPartialConfigSync=p;var a=n(454),i=n(294),s=n(83),o=n(39);const l=r()(i.loadPartialConfig);function p(){return(0,o.beginHiddenCallStack)(l.sync)(...arguments)}const u=r()((function*(f){var v;const C=yield*(0,a.default)(f);return(v=C?.options)!=null?v:null}));function h(){return(0,o.beginHiddenCallStack)(u.sync)(...arguments)}const d=r()(s.createConfigItem);function m(){return(0,o.beginHiddenCallStack)(d.sync)(...arguments)}},(t,e,n)=>{function r(){const l=n(10);return r=function(){return l},l}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(l){let{dirname:p=".",type:u}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(function*(){return i(yield*(0,a.createDescriptor)(l,r().resolve(p),{type:u,alias:"programmatic item"}))})()},e.createItemFromDescriptor=i,e.getItemDescriptor=function(l){if(l!=null&&l[s])return l._descriptor};var a=n(279);function i(l){return new o(l)}const s=Symbol.for("@babel/core@7 - ConfigItem");class o{constructor(p){this._descriptor=void 0,this[s]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=p,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,s,{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(o.prototype)},(t,e,n)=>{function r(){const C=n(13);return r=function(){return C},C}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=f,e.makeStrongCache=p,e.makeStrongCacheSync=function(C){return s(p(C))},e.makeWeakCache=l,e.makeWeakCacheSync=function(C){return s(l(C))};var a=n(133),i=n(134);const s=C=>r()(C).sync;function*o(){return!0}function l(C){return u(WeakMap,C)}function p(C){return u(Map,C)}function u(C,S){const x=new C,g=new C,w=new C;return function*(y,_){const T=yield*(0,a.isAsync)(),O=T?g:x,I=yield*(function*(N,$,H,R,K){const ie=yield*h($,R,K);if(ie.valid)return ie;if(N){const he=yield*h(H,R,K);if(he.valid)return{valid:!0,value:yield*(0,a.waitFor)(he.value.promise)}}return{valid:!1,value:null}})(T,O,w,y,_);if(I.valid)return I.value;const z=new m(_),G=S(y,z);let W,F;return F=(0,i.isIterableIterator)(G)?yield*(0,a.onFirstPause)(G,(()=>{W=(function(N,$,H){const R=new v;return d($,N,H,R),R})(z,w,y)})):G,d(O,z,y,F),W&&(w.delete(y),W.release(F)),F}}function*h(C,S,x){const g=C.get(S);if(g){for(const{value:w,valid:y}of g)if(yield*y(x))return{valid:!0,value:w}}return{valid:!1,value:null}}function d(C,S,x,g){S.configured()||S.forever();let w=C.get(x);switch(S.deactivate(),S.mode()){case"forever":w=[{value:g,valid:o}],C.set(x,w);break;case"invalidate":w=[{value:g,valid:S.validator()}],C.set(x,w);break;case"valid":w?w.push({value:g,valid:S.validator()}):(w=[{value:g,valid:S.validator()}],C.set(x,w))}}class m{constructor(S){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=S}simple(){return(function(S){function x(g){if(typeof g!="boolean")return S.using((()=>f(g())));g?S.forever():S.never()}return x.forever=()=>S.forever(),x.never=()=>S.never(),x.using=g=>S.using((()=>f(g()))),x.invalidate=g=>S.invalidate((()=>f(g()))),x})(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(S){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 x=S(this._data),g=(0,a.maybeAsync)(S,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,a.isThenable)(x)?x.then((w=>(this._pairs.push([w,g]),w))):(this._pairs.push([x,g]),x)}invalidate(S){return this._invalidate=!0,this.using(S)}validator(){const S=this._pairs;return function*(x){for(const[g,w]of S)if(g!==(yield*w(x)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function f(C){if((0,a.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((S=>{this._resolve=S}))}release(S){this.released=!0,this._resolve(S)}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(f,v,C,S){if(v===0)return;const x=f[v-1],g=f[v];x.file&&x.options===void 0&&typeof g.value=="object"&&(S.message+=` - Maybe you meant to use "${C}s": [ ["${x.file.request}", ${JSON.stringify(g.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(S){const x=new i.default(S.message,C);throw S.code&&(x.code=S.code),x}};var r=n(470),a=n(293),i=n(140);const s={cwd:a.assertString,root:a.assertString,rootMode:a.assertRootMode,configFile:a.assertConfigFileSearch,caller:a.assertCallerMetadata,filename:a.assertString,filenameRelative:a.assertString,code:a.assertBoolean,ast:a.assertBoolean,cloneInputAst:a.assertBoolean,envName:a.assertString},o={babelrc:a.assertBoolean,babelrcRoots:a.assertBabelrcSearch},l={extends:a.assertString,ignore:a.assertIgnoreList,only:a.assertIgnoreList,targets:a.assertTargets,browserslistConfigFile:a.assertConfigFileSearch,browserslistEnv:a.assertString},p={inputSourceMap:a.assertInputSourceMap,presets:a.assertPluginList,plugins:a.assertPluginList,passPerPreset:a.assertBoolean,assumptions:a.assertAssumptions,env:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,a.msg)(f)} is not allowed inside of another .env block`);const C=f.parent,S=(0,a.assertObject)(f,v);if(S)for(const x of Object.keys(S)){const g=(0,a.assertObject)((0,a.access)(f,x),S[x]);g&&h({type:"env",name:x,parent:C},g)}return S},overrides:function(f,v){if(f.parent.type==="env")throw new Error(`${(0,a.msg)(f)} is not allowed inside an .env block`);if(f.parent.type==="overrides")throw new Error(`${(0,a.msg)(f)} is not allowed inside an .overrides block`);const C=f.parent,S=(0,a.assertArray)(f,v);if(S)for(const[x,g]of S.entries()){const w=(0,a.access)(f,x),y=(0,a.assertObject)(w,g);if(!y)throw new Error(`${(0,a.msg)(w)} must be an object`);h({type:"overrides",index:x,parent:C},y)}return S},test:a.assertConfigApplicableTest,include:a.assertConfigApplicableTest,exclude:a.assertConfigApplicableTest,retainLines:a.assertBoolean,comments:a.assertBoolean,shouldPrintComment:a.assertFunction,compact:a.assertCompact,minified:a.assertBoolean,auxiliaryCommentBefore:a.assertString,auxiliaryCommentAfter:a.assertString,sourceType:a.assertSourceType,wrapPluginVisitorMethod:a.assertFunction,highlightCode:a.assertBoolean,sourceMaps:a.assertSourceMaps,sourceMap:a.assertSourceMaps,sourceFileName:a.assertString,sourceRoot:a.assertString,parserOpts:a.assertObject,generatorOpts:a.assertObject};function u(f){return f.type==="root"?f.source:u(f.parent)}function h(f,v){const C=u(f);return(function(S){if(m(S,"sourceMap")&&m(S,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")})(v),Object.keys(v).forEach((S=>{const x={type:"option",name:S,parent:f};if(C==="preset"&&l[S])throw new Error(`${(0,a.msg)(x)} is not allowed in preset options`);if(C!=="arguments"&&s[S])throw new Error(`${(0,a.msg)(x)} is only allowed in root programmatic options`);if(C!=="arguments"&&C!=="configfile"&&o[S])throw C==="babelrcfile"||C==="extendsfile"?new Error(`${(0,a.msg)(x)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,a.msg)(x)} is only allowed in root programmatic options, or babel.config.js/config file options`);(p[S]||l[S]||o[S]||s[S]||d)(x,v[S])})),v}function d(f){const v=f.name;if(r.default[v]){const{message:C,version:S=5}=r.default[v];throw new Error(`Using removed Babel ${S} option: ${(0,a.msg)(f)} - ${C}`)}{const C=new Error(`Unknown option: ${(0,a.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 m(f,v){return Object.prototype.hasOwnProperty.call(f,v)}Object.assign(p,{getModuleId:a.assertFunction,moduleRoot:a.assertString,moduleIds:a.assertBoolean,moduleId:a.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"])},t=>{var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(a){return e.call(a,n,"+")},RFC3986:function(a){return String(a)}},RFC1738:"RFC1738",RFC3986:r}},(t,e,n)=>{let r=n(316),a=n(317);class i extends Error{constructor(o,l,p,u,h,d){super(o),this.name="CssSyntaxError",this.reason=o,h&&(this.file=h),u&&(this.source=u),d&&(this.plugin=d),l!==void 0&&p!==void 0&&(typeof l=="number"?(this.line=l,this.column=p):(this.line=l.line,this.column=l.column,this.endLine=p.line,this.endColumn=p.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}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(o){if(!this.source)return"";let l=this.source;o==null&&(o=r.isColorSupported),a&&o&&(l=a(l));let p,u,h=l.split(/\r?\n/),d=Math.max(this.line-3,0),m=Math.min(this.line+2,h.length),f=String(m).length;if(o){let{bold:v,gray:C,red:S}=r.createColors(!0);p=x=>v(S(x)),u=x=>C(x)}else p=u=v=>v;return h.slice(d,m).map(((v,C)=>{let S=d+1+C,x=" "+(" "+S).slice(-f)+" | ";if(S===this.line){let g=u(x.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return p(">")+u(x)+v+` `+g+p("^")}return" "+u(x)+v})).join(` `)}toString(){let o=this.showSourceCode();return o&&(o=` `+o+` `),this.name+": "+this.message+o}}t.exports=i,i.default=i},(t,e,n)=>{let r,a,i=n(24);class s extends i{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 a,this,l).stringify()}}s.registerLazyResult=o=>{r=o},s.registerProcessor=o=>{a=o},t.exports=s,s.default=s},(t,e,n)=>{let r=n(153);class a{constructor(s,o,l){this.processor=s,this.messages=[],this.root=o,this.opts=l,this.css=void 0,this.map=void 0}toString(){return this.css}warn(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let l=new r(s,o);return this.messages.push(l),l}warnings(){return this.messages.filter((s=>s.type==="warning"))}get content(){return this.css}}t.exports=a,a.default=a},(t,e,n)=>{let r=n(24),a=n(320),i=n(55);function s(o,l){let p=new i(o,l),u=new a(p);try{u.parse()}catch(h){throw h}return u.root}t.exports=s,s.default=s,r.registerParse(s)},(t,e,n)=>{let r=n(24);class a extends r{constructor(s){super(s),this.type="atrule"}append(){return this.proxyOf.nodes||(this.nodes=[]),super.append(...arguments)}prepend(){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...arguments)}}t.exports=a,a.default=a,r.registerAtRule(a)},(t,e,n)=>{let r=n(24),a=n(154);class i extends r{constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return a.comma(this.selector)}set selectors(o){let l=this.selector?this.selector.match(/,\s*/):null,p=l?l[0]:","+this.raw("between","beforeOpen");this.selector=o.join(p)}}t.exports=i,i.default=i,r.registerRule(i)},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return r.default}}),e.addDefault=function(i,s,o){return new r.default(i).addDefault(s,o)},e.addNamed=function(i,s,o,l){return new r.default(i).addNamed(s,o,l)},e.addNamespace=function(i,s,o){return new r.default(i).addNamespace(s,o)},e.addSideEffect=function(i,s,o){return new r.default(i).addSideEffect(s,o)},Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return a.default}});var r=n(447),a=n(250)},function(t,e){(function(n){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:o=>this.replacement=o}}replace(o,l,p,u){o&&(p!==null?o[l][p]=u:o[l]=u)}remove(o,l,p){o&&(p!==null?o[l].splice(p,1):delete o[l])}}class a extends r{constructor(o,l){super(),this.enter=o,this.leave=l}visit(o,l,p,u){if(o){if(this.enter){const h=this.should_skip,d=this.should_remove,m=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,o,l,p,u),this.replacement&&(o=this.replacement,this.replace(l,p,u,o)),this.should_remove&&this.remove(l,p,u);const f=this.should_skip,v=this.should_remove;if(this.should_skip=h,this.should_remove=d,this.replacement=m,f)return o;if(v)return null}for(const h in o){const d=o[h];if(typeof d=="object")if(Array.isArray(d))for(let m=0;m{function r(){const m=n(161);return r=function(){return m},m}function a(){const m=n(14);return a=function(){return m},m}function i(){const m=n(36);return i=function(){return m},m}function s(){const m=n(0);return s=function(){return m},m}function o(){const m=n(68);return o=function(){return m},m}function l(){const m=n(23);return l=function(){return m},m}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const{cloneNode:p,interpreterDirective:u}=s(),h={enter(m,f){const v=m.node.loc;v&&(f.loc=v,m.stop())}};class d{constructor(f,v){let{code:C,ast:S,inputMap:x}=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=S,this.inputMap=x,this.path=a().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,o().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(S){if(S.code!=="BABEL_HELPER_UNKNOWN")throw S;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 p(v);const C=this.get("helperGenerator");if(C){const y=C(f);if(y)return y}r().ensure(f,d);const S=this.declarations[f]=this.scope.generateUidIdentifier(f),x={};for(const y of r().getDependencies(f))x[y]=this.addHelper(y);const{nodes:g,globals:w}=r().get(f,(y=>x[y]),S,Object.keys(this.scope.getAllBindings()));return w.forEach((y=>{this.path.scope.hasBinding(y,!0)&&this.path.scope.rename(y)})),g.forEach((y=>{y._compact=!0})),this.path.unshiftContainer("body",g),this.path.get("body").forEach((y=>{g.indexOf(y.node)!==-1&&y.isVariableDeclaration()&&this.scope.registerDeclaration(y)})),S}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,S=f&&(f.loc||f._loc);if(!S&&f){const x={loc:null};(0,a().default)(f,h,this.scope,x),S=x.loc;let g="This is an error on an internal node. Probably an internal error.";S&&(g+=" Location has been estimated."),v+=` (${g})`}if(S){const{highlightCode:x=!0}=this.opts;v+=` `+(0,i().codeFrameColumns)(this.code,{start:{line:S.start.line,column:S.start.column+1},end:S.end&&S.start.line===S.end.line?{line:S.end.line,column:S.end.column+1}:void 0},{highlightCode:x})}return new C(v)}}e.default=d},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,r){const a=Object.keys(r);for(const i of a)if(n[i]!==r[i])return!1;return!0}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s,o,l){if(!s)return;const p=r.NODE_FIELDS[s.type];p&&(a(s,o,l,p[o]),i(s,o,l))},e.validateChild=i,e.validateField=a;var r=n(9);function a(s,o,l,p){p!=null&&p.validate&&(p.optional&&l==null||p.validate(s,o,l))}function i(s,o,l){if(l==null)return;const p=r.NODE_PARENT_VALIDATIONS[l.type];p&&p(s,o,l)}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a,i){if(a===i)return!0;if(a==null||r.ALIAS_KEYS[i])return!1;const s=r.FLIPPED_ALIAS_KEYS[i];if(s){if(s[0]===a)return!0;for(const o of s)if(a===o)return!0}return!1};var r=n(9)},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,r,a){r&&a&&(r[n]=Array.from(new Set([].concat(r[n],a[n]).filter(Boolean))))}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=function(s,o,l,p,u,h,d){const m=i[s.type];if(!m)return!1;const f=new r.default(l,o,p,u);if(d)return(h==null||!h[u.parentKey])&&f.visitQueue([u]);for(const v of m)if((h==null||!h[v])&&f.visit(s,v))return!0;return!1};var r=n(400),a=n(0);const{VISITOR_KEYS:i}=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const p=i(l,o),u=o.sourceMaps?new r.default(o,l):null;return new a.default(p,u).generate(s)};var r=n(405),a=n(408);function i(s,o){var l;const p={auxiliaryCommentBefore:o.auxiliaryCommentBefore,auxiliaryCommentAfter:o.auxiliaryCommentAfter,shouldPrintComment:o.shouldPrintComment,retainLines:o.retainLines,retainFunctionParens:o.retainFunctionParens,comments:o.comments==null||o.comments,compact:o.compact,minified:o.minified,concise:o.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},o.jsescOption),recordAndTupleSyntaxType:(l=o.recordAndTupleSyntaxType)!=null?l:"hash",topicToken:o.topicToken,importAttributesKeyword:o.importAttributesKeyword};p.decoratorsBeforeExport=o.decoratorsBeforeExport,p.jsescOption.json=o.jsonCompatibleStrings,p.minified?(p.compact=!0,p.shouldPrintComment=p.shouldPrintComment||(()=>p.comments)):p.shouldPrintComment=p.shouldPrintComment||(m=>p.comments||m.includes("@license")||m.includes("@preserve")),p.compact==="auto"&&(p.compact=typeof s=="string"&&s.length>5e5,p.compact),p.compact&&(p.indent.adjustMultilineComment=!1);const{auxiliaryCommentBefore:u,auxiliaryCommentAfter:h,shouldPrintComment:d}=p;return u&&!d(u)&&(p.auxiliaryCommentBefore=void 0),h&&!d(h)&&(p.auxiliaryCommentAfter=void 0),p}e.CodeGenerator=class{constructor(s){let o=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=s,this._format=i(l,o),this._map=o.sourceMaps?new r.default(o,l):null}generate(){return new a.default(this._format,this._map).generate(this._ast)}}},(t,e,n)=>{var r=n(103),a=n(109);t.exports=function(i,s,o){return o.get&&r(o.get,s,{getter:!0}),o.set&&r(o.set,s,{setter:!0}),a.f(i,s,o)}},(t,e,n)=>{var r=n(19),a=n(11),i=n(6),s=n(29),o=n(15),l=n(188).CONFIGURABLE,p=n(189),u=n(107),h=u.enforce,d=u.get,m=String,f=Object.defineProperty,v=r("".slice),C=r("".replace),S=r([].join),x=o&&!a((function(){return f((function(){}),"length",{value:8}).length!==8})),g=String(String).split("String"),w=t.exports=function(y,_,T){v(m(_),0,7)==="Symbol("&&(_="["+C(m(_),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),T&&T.getter&&(_="get "+_),T&&T.setter&&(_="set "+_),(!s(y,"name")||l&&y.name!==_)&&(o?f(y,"name",{value:_,configurable:!0}):y.name=_),x&&T&&s(T,"arity")&&y.length!==T.arity&&f(y,"length",{value:T.arity});try{T&&s(T,"constructor")&&T.constructor?o&&f(y,"prototype",{writable:!1}):y.prototype&&(y.prototype=void 0)}catch{}var O=h(y);return s(O,"source")||(O.source=S(g,typeof _=="string"?_:"")),y};Function.prototype.toString=w((function(){return i(this)&&d(this).source||p(this)}),"toString")},(t,e,n)=>{var r=n(11);t.exports=!r((function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")}))},t=>{t.exports=function(e){return e==null}},(t,e,n)=>{var r=n(5),a=Object.defineProperty;t.exports=function(i,s){try{a(r,i,{value:s,configurable:!0,writable:!0})}catch{r[i]=s}return s}},(t,e,n)=>{var r,a,i,s=n(190),o=n(5),l=n(20),p=n(108),u=n(29),h=n(64),d=n(117),m=n(203),f="Object already initialized",v=o.TypeError,C=o.WeakMap;if(s||h.state){var S=h.state||(h.state=new C);S.get=S.get,S.has=S.has,S.set=S.set,r=function(g,w){if(S.has(g))throw new v(f);return w.facade=g,S.set(g,w),w},a=function(g){return S.get(g)||{}},i=function(g){return S.has(g)}}else{var x=d("state");m[x]=!0,r=function(g,w){if(u(g,x))throw new v(f);return w.facade=g,p(g,x,w),w},a=function(g){return u(g,x)?g[x]:{}},i=function(g){return u(g,x)}}t.exports={set:r,get:a,has:i,enforce:function(g){return i(g)?a(g):r(g,{})},getterFor:function(g){return function(w){var y;if(!l(w)||(y=a(w)).type!==g)throw new v("Incompatible receiver, "+g+" required");return y}}}},(t,e,n)=>{var r=n(15),a=n(109),i=n(202);t.exports=r?function(s,o,l){return a.f(s,o,i(1,l))}:function(s,o,l){return s[o]=l,s}},(t,e,n)=>{var r=n(15),a=n(191),i=n(193),s=n(65),o=n(194),l=TypeError,p=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",m="writable";e.f=r?i?function(f,v,C){if(s(f),v=o(v),s(C),typeof f=="function"&&v==="prototype"&&"value"in C&&m in C&&!C[m]){var S=u(f,v);S&&S[m]&&(f[v]=C.value,C={configurable:d in C?C[d]:S[d],enumerable:h in C?C[h]:S[h],writable:!1})}return p(f,v,C)}:p:function(f,v,C){if(s(f),v=o(v),s(C),a)try{return p(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}},(t,e,n)=>{var r=n(196),a=n(6),i=n(111),s=n(112),o=Object;t.exports=s?function(l){return typeof l=="symbol"}:function(l){var p=r("Symbol");return a(p)&&i(p.prototype,o(l))}},(t,e,n)=>{var r=n(19);t.exports=r({}.isPrototypeOf)},(t,e,n)=>{var r=n(113);t.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(t,e,n)=>{var r=n(197),a=n(11),i=n(5).String;t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var s=Symbol("symbol detection");return!i(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(t,e,n)=>{var r=n(6),a=n(115),i=TypeError;t.exports=function(s){if(r(s))return s;throw new i(a(s)+" is not a function")}},t=>{var e=String;t.exports=function(n){try{return e(n)}catch{return"Object"}}},(t,e,n)=>{var r=n(201),a=n(64);(t.exports=function(i,s){return a[i]||(a[i]=s!==void 0?s:{})})("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"})},(t,e,n)=>{var r=n(116),a=n(67),i=r("keys");t.exports=function(s){return i[s]||(i[s]=a(s))}},(t,e,n)=>{var r=n(220);t.exports=function(a){var i=+a;return i!=i||i===0?0:r(i)}},(t,e,n)=>{n(44),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(O){let I,{node:z,parent:G,scope:W,id:F}=O,N=arguments.length>1&&arguments[1]!==void 0&&arguments[1],$=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(z.id)return;if(!v(G)&&!f(G,{kind:"method"})||G.computed&&!d(G.key)){if(g(G)){if(F=G.id,h(F)&&!N){const R=W.parent.getBinding(F.name);if(R&&R.constant&&W.getBinding(F.name)===R)return z.id=s(F),void(z.id[i]=!0)}}else if(l(G,{operator:"="}))F=G.left;else if(!F)return}else F=G.key;if(F&&d(F)?I=(function(R){return m(R)?"null":C(R)?`_${R.pattern}_${R.flags}`:x(R)?R.quasis.map((K=>K.value.raw)).join(""):R.value!==void 0?R.value+"":""})(F):F&&h(F)&&(I=F.name),I===void 0||!$&&u(z)&&/[\uD800-\uDFFF]/.test(I))return;I=w(I);const H=o(I);return H[i]=!0,(function(R,K,ie,he){if(R.selfReference){if(!he.hasBinding(ie.name)||he.hasGlobal(ie.name)){if(!u(K))return;let Le=y;K.generator&&(Le=_);const X=Le({FUNCTION:K,FUNCTION_ID:ie,FUNCTION_KEY:he.generateUidIdentifier(ie.name)}).expression,Q=X.callee.body.body[0].params;for(let fe=0,Ce=(function(Me){const ue=Me.params.findIndex((ae=>p(ae)||S(ae)));return ue===-1?Me.params.length:ue})(K);fe{Object.defineProperty(e,"__esModule",{value:!0}),e.merge=function(r,a){const{placeholderWhitelist:i=r.placeholderWhitelist,placeholderPattern:s=r.placeholderPattern,preserveComments:o=r.preserveComments,syntacticPlaceholders:l=r.syntacticPlaceholders}=a;return{parser:Object.assign({},r.parser,a.parser),placeholderWhitelist:i,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}},e.normalizeReplacements=function(r){if(Array.isArray(r))return r.reduce(((a,i,s)=>(a["$"+s]=i,a)),{});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 a=r||{},{placeholderWhitelist:i,placeholderPattern:s,preserveComments:o,syntacticPlaceholders:l}=a,p=(function(u,h){if(u==null)return{};var d,m,f={},v=Object.keys(u);for(m=0;m=0||(f[d]=u[d]);return f})(a,n);if(i!=null&&!(i instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(s!=null&&!(s instanceof RegExp)&&s!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(o!=null&&typeof o!="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&&(i!=null||s!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:p,placeholderWhitelist:i||void 0,placeholderPattern:s??void 0,preserveComments:o??void 0,syntacticPlaceholders:l??void 0}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},(t,e,n)=>{var r=n(72)(),a=n(22),i=r&&a("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch{i=!1}var s=a("%SyntaxError%"),o=a("%TypeError%"),l=n(73);t.exports=function(p,u,h){if(!p||typeof p!="object"&&typeof p!="function")throw new o("`obj` must be an object or a function`");if(typeof u!="string"&&typeof u!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,m=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,v=arguments.length>6&&arguments[6],C=!!l&&l(p,u);if(i)i(p,u,{configurable:f===null&&C?C.configurable:!f,enumerable:d===null&&C?C.enumerable:!d,value:h,writable:m===null&&C?C.writable:!m});else{if(!v&&(d||m||f))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");p[u]=h}}},(t,e,n)=>{var r=n(236),a=n(238),i=n(41),s=n(38),o=n(73),l=s("Object.prototype.toString"),p=n(69)(),u=typeof globalThis>"u"?n.g:globalThis,h=a(),d=s("String.prototype.slice"),m=Object.getPrototypeOf,f=s("Array.prototype.indexOf",!0)||function(C,S){for(var x=0;x-1?S:S==="Object"&&(function(x){var g=!1;return r(v,(function(w,y){if(!g)try{w(x),g=d(y,1)}catch{}})),g})(C)}return o?(function(x){var g=!1;return r(v,(function(w,y){if(!g)try{"$"+w(x)===y&&(g=d(y,1))}catch{}})),g})(C):null}},(t,e,n)=>{var r=Array.prototype.slice,a=n(124),i=Object.keys,s=i?function(l){return i(l)}:n(244),o=Object.keys;s.shim=function(){if(Object.keys){var l=(function(){var p=Object.keys(arguments);return p&&p.length===arguments.length})(1,2);l||(Object.keys=function(p){return a(p)?o(r.call(p)):o(p)})}else Object.keys=s;return Object.keys||s},t.exports=s},t=>{var e=Object.prototype.toString;t.exports=function(n){var r=e.call(n),a=r==="[object Arguments]";return a||(a=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&e.call(n.callee)==="[object Function]"),a}},t=>{var e=function(n){return n!=n};t.exports=function(n,r){return n===0&&r===0?1/n==1/r:n===r||!(!e(n)||!e(r))}},t=>{t.exports=function(e){return e!=e}},(t,e,n)=>{var r=n(126);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},t=>{const e=/^[0-9]+$/,n=(r,a)=>{const i=e.test(r),s=e.test(a);return i&&s&&(r=+r,a=+a),r===a?0:i&&!s?-1:s&&!i?1:rn(a,r)}},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)===0},(t,e,n)=>{const r=n(7);t.exports=(a,i,s)=>r(a,i,s)!==0},(t,e,n)=>{const r=n(129),a=n(130),i=n(49),s=n(78),o=n(77),l=n(79);t.exports=(p,u,h,d)=>{switch(u){case"===":return typeof p=="object"&&(p=p.version),typeof h=="object"&&(h=h.version),p===h;case"!==":return typeof p=="object"&&(p=p.version),typeof h=="object"&&(h=h.version),p!==h;case"":case"=":case"==":return r(p,h,d);case"!=":return a(p,h,d);case">":return i(p,h,d);case">=":return s(p,h,d);case"<":return o(p,h,d);case"<=":return l(p,h,d);default:throw new TypeError(`Invalid operator: ${u}`)}}},(t,e,n)=>{const r=n(266),a=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),o=Symbol("allowStale"),l=Symbol("maxAge"),p=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1,v=(y,_,T)=>{const O=y[d].get(_);if(O){const I=O.value;if(C(y,I)){if(x(y,O),!y[o])return}else T&&(y[m]&&(O.value.now=Date.now()),y[h].unshiftNode(O));return I.value}},C=(y,_)=>{if(!_||!_.maxAge&&!y[l])return!1;const T=Date.now()-_.now;return _.maxAge?T>_.maxAge:y[l]&&T>y[l]},S=y=>{if(y[i]>y[a])for(let _=y[h].tail;y[i]>y[a]&&_!==null;){const T=_.prev;x(y,_),_=T}},x=(y,_)=>{if(_){const T=_.value;y[p]&&y[p](T.key,T.value),y[i]-=T.length,y[d].delete(T.key),y[h].removeNode(_)}};class g{constructor(_,T,O,I,z){this.key=_,this.value=T,this.length=O,this.now=I,this.maxAge=z||0}}const w=(y,_,T,O)=>{let I=T.value;C(y,I)&&(x(y,T),y[o]||(I=void 0)),I&&_.call(O,I.value,I.key,y)};t.exports=class{constructor(y){if(typeof y=="number"&&(y={max:y}),y||(y={}),y.max&&(typeof y.max!="number"||y.max<0))throw new TypeError("max must be a non-negative number");this[a]=y.max||1/0;const _=y.length||f;if(this[s]=typeof _!="function"?f:_,this[o]=y.stale||!1,y.maxAge&&typeof y.maxAge!="number")throw new TypeError("maxAge must be a number");this[l]=y.maxAge||0,this[p]=y.dispose,this[u]=y.noDisposeOnSet||!1,this[m]=y.updateAgeOnGet||!1,this.reset()}set max(y){if(typeof y!="number"||y<0)throw new TypeError("max must be a non-negative number");this[a]=y||1/0,S(this)}get max(){return this[a]}set allowStale(y){this[o]=!!y}get allowStale(){return this[o]}set maxAge(y){if(typeof y!="number")throw new TypeError("maxAge must be a non-negative number");this[l]=y,S(this)}get maxAge(){return this[l]}set lengthCalculator(y){typeof y!="function"&&(y=f),y!==this[s]&&(this[s]=y,this[i]=0,this[h].forEach((_=>{_.length=this[s](_.value,_.key),this[i]+=_.length}))),S(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[h].length}rforEach(y,_){_=_||this;for(let T=this[h].tail;T!==null;){const O=T.prev;w(this,y,T,_),T=O}}forEach(y,_){_=_||this;for(let T=this[h].head;T!==null;){const O=T.next;w(this,y,T,_),T=O}}keys(){return this[h].toArray().map((y=>y.key))}values(){return this[h].toArray().map((y=>y.value))}reset(){this[p]&&this[h]&&this[h].length&&this[h].forEach((y=>this[p](y.key,y.value))),this[d]=new Map,this[h]=new r,this[i]=0}dump(){return this[h].map((y=>!C(this,y)&&{k:y.key,v:y.value,e:y.now+(y.maxAge||0)})).toArray().filter((y=>y))}dumpLru(){return this[h]}set(y,_,T){if((T=T||this[l])&&typeof T!="number")throw new TypeError("maxAge must be a number");const O=T?Date.now():0,I=this[s](_,y);if(this[d].has(y)){if(I>this[a])return x(this,this[d].get(y)),!1;const G=this[d].get(y).value;return this[p]&&(this[u]||this[p](y,G.value)),G.now=O,G.maxAge=T,G.value=_,this[i]+=I-G.length,G.length=I,this.get(y),S(this),!0}const z=new g(y,_,I,O,T);return z.length>this[a]?(this[p]&&this[p](y,_),!1):(this[i]+=z.length,this[h].unshift(z),this[d].set(y,this[h].head),S(this),!0)}has(y){if(!this[d].has(y))return!1;const _=this[d].get(y).value;return!C(this,_)}get(y){return v(this,y,!0)}peek(y){return v(this,y,!1)}pop(){const y=this[h].tail;return y?(x(this,y),y.value):null}del(y){x(this,this[d].get(y))}load(y){this.reset();const _=Date.now();for(let T=y.length-1;T>=0;T--){const O=y[T],I=O.e||0;if(I===0)this.set(O.k,O.v);else{const z=I-_;z>0&&this.set(O.k,O.v,z)}}}prune(){this[d].forEach(((y,_)=>v(this,_,!1)))}}},(t,e,n)=>{function r(){const h=n(13);return r=function(){return h},h}function a(h,d,m,f,v,C,S){try{var x=h[C](S),g=x.value}catch(w){return void m(w)}x.done?d(g):Promise.resolve(g).then(f,v)}function i(h){return function(){var d=this,m=arguments;return new Promise((function(f,v){var C=h.apply(d,m);function S(g){a(C,f,v,S,x,"next",g)}function x(g){a(C,f,v,S,x,"throw",g)}S(void 0)}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=function(h,d){const m=r()(h);return o((f=>{const v=m[f];return d(v)}))},e.isAsync=void 0,e.isThenable=u,e.maybeAsync=function(h,d){return r()({sync(){for(var m=arguments.length,f=new Array(m),v=0;v!1,errback:h=>h(null,!0)});const o=r()({sync:h=>h("sync"),async:(l=i((function*(h){return h("async")})),function(h){return l.apply(this,arguments)})});var l,p;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 s.sync(h)},errback:function(h,d,m){let f=!1;s.errback(h,((v,C)=>{f=!0,m(v,C)})),f||d()}}),e.waitFor=r()({sync:h=>h,async:(p=i((function*(h){return h})),function(h){return p.apply(this,arguments)})})},(t,e)=>{function n(r,a){for(const i of Object.keys(a)){const s=a[i];s!==void 0&&(r[i]=s)}}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,a){for(const i of Object.keys(a))if(i!=="parserOpts"&&i!=="generatorOpts"&&i!=="assumptions"||!a[i]){const s=a[i];s!==void 0&&(r[i]=s)}else{const s=a[i];n(r[i]||(r[i]={}),s)}}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(136);e.default=class{constructor(a,i,s){let o=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=a.name||s,this.manipulateOptions=a.manipulateOptions,this.post=a.post,this.pre=a.pre,this.visitor=a.visitor||{},this.parserOverride=a.parserOverride,this.generatorOverride=a.generatorOverride,this.options=i,this.externalDependencies=o}}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=function(n){return Object.freeze(n)},e.flattenToSet=function(n){const r=new Set,a=[n];for(;a.length>0;)for(const i of a.pop())Array.isArray(i)?a.push(i):r.add(i);return r}},t=>{function e(n){this.name="BrowserslistError",this.message=n,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,e)}e.prototype=Error.prototype,t.exports=e},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getHighestUnreleased=function(u,h,d){return p(u,h,d)===u?h:u},e.getLowestImplementedVersion=function(u,h){const d=u[h];return d||h!=="android"?d:u.chrome},e.getLowestUnreleased=p,e.isUnreleasedVersion=function(u,h){const d=i.unreleasedLabels[h];return!!d&&d===u.toString().toLowerCase()},e.semverMin=l,e.semverify=function(u){if(typeof u=="string"&&r.valid(u))return u;o.invariant(typeof u=="number"||typeof u=="string"&&s.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=n(23),a=n(289),i=n(139);const s=/^(\d+|\d+.\d+)$/,o=new a.OptionValidator("@babel/helper-compilation-targets");function l(u,h){return u&&r.lt(u,h)?u:h}function p(u,h,d){const m=i.unreleasedLabels[d];return u===m?h:h===m?u:l(u,h)}},(t,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"}},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(39);class a extends Error{constructor(s,o){super(s),(0,r.expectedError)(this),o&&(0,r.injectVirtualStackFrame)(this,o)}}e.default=a},(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(33),a=n(299),i=n(300),s=n(1);const{assignmentExpression:o,booleanLiteral:l,callExpression:p,cloneNode:u,identifier:h,memberExpression:d,sequenceExpression:m,stringLiteral:f,thisExpression:v}=s.types;{const y=n(33);e.environmentVisitor=y.default,e.skipAllButComputedKey=y.skipAllButComputedKey}function C(y,_,T,O){y=u(y);const I=_||O?y:d(y,h("prototype"));return p(T.addHelper("getPrototypeOf"),[I])}const S=s.traverse.visitors.merge([r.default,{Super(y,_){const{node:T,parentPath:O}=y;O.isMemberExpression({object:T})&&_.handle(O)}}]),x=s.traverse.visitors.merge([r.default,{Scopable(y,_){let{refName:T}=_;const O=y.scope.getOwnBinding(T);O&&O.identifier.name===T&&y.scope.rename(T)}}]),g={memoise(y,_){const{scope:T,node:O}=y,{computed:I,property:z}=O;if(!I)return;const G=T.maybeGenerateMemoised(z);G&&this.memoiser.set(z,G,_)},prop(y){const{computed:_,property:T}=y.node;return this.memoiser.has(T)?u(this.memoiser.get(T)):_?u(T):f(T.name)},get(y){return this._get(y,this._getThisRefs())},_get(y,_){const T=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("get"),[_.memo?m([_.memo,T]):T,this.prop(y),_.this])},_getThisRefs(){if(!this.isDerivedConstructor)return{this:v()};const y=this.scope.generateDeclaredUidIdentifier("thisSuper");return{memo:o("=",y,v()),this:u(y)}},set(y,_){const T=this._getThisRefs(),O=C(this.getObjectRef(),this.isStatic,this.file,this.isPrivateMethod);return p(this.file.addHelper("set"),[T.memo?m([T.memo,O]):O,this.prop(y),_,T.this,l(y.isInStrictMode())])},destructureSet(y){throw y.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(y,_){const T=this._getThisRefs();return(0,i.default)(this._get(y,T),u(T.this),_,!1)},optionalCall(y,_){const T=this._getThisRefs();return(0,i.default)(this._get(y,T),u(T.this),_,!0)},delete(y){return y.node.computed?m([p(this.file.addHelper("toPropertyKey"),[u(y.node.property)]),s.template.expression.ast` function () { throw new ReferenceError("'delete super[expr]' is invalid"); }() `]):s.template.expression.ast` function () { throw new ReferenceError("'delete super.prop' is invalid"); }() `}},w=Object.assign({},g,{prop(y){const{property:_}=y.node;return this.memoiser.has(_)?u(this.memoiser.get(_)):u(_)},get(y){const{isStatic:_,getSuperRef:T}=this,{computed:O}=y.node,I=this.prop(y);let z;var G,W;return z=_?(G=T())!=null?G:d(h("Function"),h("prototype")):d((W=T())!=null?W:h("Object"),h("prototype")),d(z,I,O)},set(y,_){const{computed:T}=y.node,O=this.prop(y);return o("=",d(v(),O,T),_)},destructureSet(y){const{computed:_}=y.node,T=this.prop(y);return d(v(),T,_)},call(y,_){return(0,i.default)(this.get(y),v(),_,!1)},optionalCall(y,_){return(0,i.default)(this.get(y),v(),_,!0)}});e.default=class{constructor(y){var _;const T=y.methodPath;this.methodPath=T,this.isDerivedConstructor=T.isClassMethod({kind:"constructor"})&&!!y.superRef,this.isStatic=T.isObjectMethod()||T.node.static||(T.isStaticBlock==null?void 0:T.isStaticBlock()),this.isPrivateMethod=T.isPrivate()&&T.isMethod(),this.file=y.file,this.constantSuper=(_=y.constantSuper)!=null?_:y.isLoose,this.opts=y}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(x,{refName:this.opts.refToPreserve.name});const y=this.constantSuper?w:g;(0,a.default)(this.methodPath,S,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:y.get},y))}}},(t,e,n)=>{t.exports=n(503)},(t,e,n)=>{/** * @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=n(309),a=n(142);const i=Symbol(""),s=Symbol(""),o=Symbol(""),l=Symbol(""),p=Symbol(""),u=Symbol(""),h=Symbol(""),d=Symbol(""),m=Symbol(""),f=Symbol("");r.registerRuntimeHelpers({[i]:"vModelRadio",[s]:"vModelCheckbox",[o]:"vModelText",[l]:"vModelSelect",[p]:"vModelDynamic",[u]:"withModifiers",[h]:"withKeys",[d]:"vShow",[m]:"Transition",[f]:"TransitionGroup"});const v={parseMode:"html",isVoidTag:a.isVoidTag,isNativeTag:X=>a.isHTMLTag(X)||a.isSVGTag(X)||a.isMathMLTag(X),isPreTag:X=>X==="pre",decodeEntities:void 0,isBuiltInComponent:X=>X==="Transition"||X==="transition"?m:X==="TransitionGroup"||X==="transition-group"?f:void 0,getNamespace(X,Q,fe){let Ce=Q?Q.ns:fe;if(Q&&Ce===2)if(Q.tag==="annotation-xml"){if(X==="svg")return 1;Q.props.some((Me=>Me.type===6&&Me.name==="encoding"&&Me.value!=null&&(Me.value.content==="text/html"||Me.value.content==="application/xhtml+xml")))&&(Ce=0)}else/^m(?:[ions]|text)$/.test(Q.tag)&&X!=="mglyph"&&X!=="malignmark"&&(Ce=0);else Q&&Ce===1&&(Q.tag!=="foreignObject"&&Q.tag!=="desc"&&Q.tag!=="title"||(Ce=0));if(Ce===0){if(X==="svg")return 1;if(X==="math")return 2}return Ce}},C=X=>{X.type===1&&X.props.forEach(((Q,fe)=>{Q.type===6&&Q.name==="style"&&Q.value&&(X.props[fe]={type:7,name:"bind",arg:r.createSimpleExpression("style",!0,Q.loc),exp:S(Q.value.content,Q.loc),modifiers:[],loc:Q.loc})}))},S=(X,Q)=>{const fe=a.parseStringStyle(X);return r.createSimpleExpression(JSON.stringify(fe),!1,Q,3)};function x(X,Q){return r.createCompilerError(X,Q,g)}const g={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 ,