@unocss/inspector 0.45.20 → 0.45.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{_id_.8d881369.js → _id_.55e40eb6.js} +1 -1
- package/dist/client/assets/index.af70fe8a.css +1 -0
- package/dist/client/assets/{index.cc6486c7.js → index.f91d4eaa.js} +6 -6
- package/dist/client/assets/{repl.c7af7bd1.js → repl.5bf0dd74.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/index.ffb3a076.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))f(D);new MutationObserver(D=>{for(const N of D)if(N.type==="childList")for(const Y of N.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&f(Y)}).observe(document,{childList:!0,subtree:!0});function l(D){const N={};return D.integrity&&(N.integrity=D.integrity),D.referrerpolicy&&(N.referrerPolicy=D.referrerpolicy),D.crossorigin==="use-credentials"?N.credentials="include":D.crossorigin==="anonymous"?N.credentials="omit":N.credentials="same-origin",N}function f(D){if(D.ep)return;D.ep=!0;const N=l(D);fetch(D.href,N)}})();const Um="modulepreload",zm=function(s){return"/__unocss/"+s},$h={},yh=function(c,l,f){return!l||l.length===0?c():Promise.all(l.map(D=>{if(D=zm(D),D in $h)return;$h[D]=!0;const N=D.endsWith(".css"),Y=N?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${D}"]${Y}`))return;const pe=document.createElement("link");if(pe.rel=N?"stylesheet":Um,N||(pe.as="script",pe.crossOrigin=""),pe.href=D,document.head.appendChild(pe),N)return new Promise((ye,Me)=>{pe.addEventListener("load",ye),pe.addEventListener("error",()=>Me(new Error(`Unable to preload CSS for ${D}`)))})})).then(()=>c())};function Dh(s,c){const l=Object.create(null),f=s.split(",");for(let D=0;D<f.length;D++)l[f[D]]=!0;return c?D=>!!l[D.toLowerCase()]:D=>!!l[D]}const Hm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$m=Dh(Hm);function od(s){return!!s||s===""}function ep(s){if(fs(s)){const c={};for(let l=0;l<s.length;l++){const f=s[l],D=io(f)?Wm(f):ep(f);if(D)for(const N in D)c[N]=D[N]}return c}else{if(io(s))return s;if(pa(s))return s}}const qm=/;(?![^(]*\))/g,Vm=/:(.+)/;function Wm(s){const c={};return s.split(qm).forEach(l=>{if(l){const f=l.split(Vm);f.length>1&&(c[f[0].trim()]=f[1].trim())}}),c}function Cc(s){let c="";if(io(s))c=s;else if(fs(s))for(let l=0;l<s.length;l++){const f=Cc(s[l]);f&&(c+=f+" ")}else if(pa(s))for(const l in s)s[l]&&(c+=l+" ");return c.trim()}function Gm(s,c){if(s.length!==c.length)return!1;let l=!0;for(let f=0;l&&f<s.length;f++)l=Sp(s[f],c[f]);return l}function Sp(s,c){if(s===c)return!0;let l=qh(s),f=qh(c);if(l||f)return l&&f?s.getTime()===c.getTime():!1;if(l=Gc(s),f=Gc(c),l||f)return s===c;if(l=fs(s),f=fs(c),l||f)return l&&f?Gm(s,c):!1;if(l=pa(s),f=pa(c),l||f){if(!l||!f)return!1;const D=Object.keys(s).length,N=Object.keys(c).length;if(D!==N)return!1;for(const Y in s){const pe=s.hasOwnProperty(Y),ye=c.hasOwnProperty(Y);if(pe&&!ye||!pe&&ye||!Sp(s[Y],c[Y]))return!1}}return String(s)===String(c)}function ud(s,c){return s.findIndex(l=>Sp(l,c))}const ko=s=>io(s)?s:s==null?"":fs(s)||pa(s)&&(s.toString===pd||!Ss(s.toString))?JSON.stringify(s,ld,2):String(s),ld=(s,c)=>c&&c.__v_isRef?ld(s,c.value):Dc(c)?{[`Map(${c.size})`]:[...c.entries()].reduce((l,[f,D])=>(l[`${f} =>`]=D,l),{})}:kp(c)?{[`Set(${c.size})`]:[...c.values()]}:pa(c)&&!fs(c)&&!hd(c)?String(c):c,ua={},yc=[],Ku=()=>{},Xm=()=>!1,Jm=/^on[^a-z]/,Fp=s=>Jm.test(s),vh=s=>s.startsWith("onUpdate:"),No=Object.assign,xh=(s,c)=>{const l=s.indexOf(c);l>-1&&s.splice(l,1)},Km=Object.prototype.hasOwnProperty,Rs=(s,c)=>Km.call(s,c),fs=Array.isArray,Dc=s=>tp(s)==="[object Map]",kp=s=>tp(s)==="[object Set]",qh=s=>tp(s)==="[object Date]",Ss=s=>typeof s=="function",io=s=>typeof s=="string",Gc=s=>typeof s=="symbol",pa=s=>s!==null&&typeof s=="object",cd=s=>pa(s)&&Ss(s.then)&&Ss(s.catch),pd=Object.prototype.toString,tp=s=>pd.call(s),Qm=s=>tp(s).slice(8,-1),hd=s=>tp(s)==="[object Object]",Ch=s=>io(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,lp=Dh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pp=s=>{const c=Object.create(null);return l=>c[l]||(c[l]=s(l))},Ym=/-(\w)/g,vl=Pp(s=>s.replace(Ym,(c,l)=>l?l.toUpperCase():"")),Zm=/\B([A-Z])/g,Fc=Pp(s=>s.replace(Zm,"-$1").toLowerCase()),Np=Pp(s=>s.charAt(0).toUpperCase()+s.slice(1)),Vp=Pp(s=>s?`on${Np(s)}`:""),Xc=(s,c)=>!Object.is(s,c),cp=(s,c)=>{for(let l=0;l<s.length;l++)s[l](c)},dp=(s,c,l)=>{Object.defineProperty(s,c,{configurable:!0,enumerable:!1,value:l})},eg=s=>{const c=parseFloat(s);return isNaN(c)?s:c};let Vh;const tg=()=>Vh||(Vh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let hu;class rg{constructor(c=!1){this.active=!0,this.effects=[],this.cleanups=[],!c&&hu&&(this.parent=hu,this.index=(hu.scopes||(hu.scopes=[])).push(this)-1)}run(c){if(this.active){const l=hu;try{return hu=this,c()}finally{hu=l}}}on(){hu=this}off(){hu=this.parent}stop(c){if(this.active){let l,f;for(l=0,f=this.effects.length;l<f;l++)this.effects[l].stop();for(l=0,f=this.cleanups.length;l<f;l++)this.cleanups[l]();if(this.scopes)for(l=0,f=this.scopes.length;l<f;l++)this.scopes[l].stop(!0);if(this.parent&&!c){const D=this.parent.scopes.pop();D&&D!==this&&(this.parent.scopes[this.index]=D,D.index=this.index)}this.active=!1}}}function ng(s,c=hu){c&&c.active&&c.effects.push(s)}function ig(){return hu}function sg(s){hu&&hu.cleanups.push(s)}const Eh=s=>{const c=new Set(s);return c.w=0,c.n=0,c},fd=s=>(s.w&ec)>0,dd=s=>(s.n&ec)>0,ag=({deps:s})=>{if(s.length)for(let c=0;c<s.length;c++)s[c].w|=ec},og=s=>{const{deps:c}=s;if(c.length){let l=0;for(let f=0;f<c.length;f++){const D=c[f];fd(D)&&!dd(D)?D.delete(s):c[l++]=D,D.w&=~ec,D.n&=~ec}c.length=l}},eh=new WeakMap;let Uc=0,ec=1;const th=30;let Xu;const hc=Symbol(""),rh=Symbol("");class bh{constructor(c,l=null,f){this.fn=c,this.scheduler=l,this.active=!0,this.deps=[],this.parent=void 0,ng(this,f)}run(){if(!this.active)return this.fn();let c=Xu,l=Yl;for(;c;){if(c===this)return;c=c.parent}try{return this.parent=Xu,Xu=this,Yl=!0,ec=1<<++Uc,Uc<=th?ag(this):Wh(this),this.fn()}finally{Uc<=th&&og(this),ec=1<<--Uc,Xu=this.parent,Yl=l,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Xu===this?this.deferStop=!0:this.active&&(Wh(this),this.onStop&&this.onStop(),this.active=!1)}}function Wh(s){const{deps:c}=s;if(c.length){for(let l=0;l<c.length;l++)c[l].delete(s);c.length=0}}let Yl=!0;const md=[];function kc(){md.push(Yl),Yl=!1}function Pc(){const s=md.pop();Yl=s===void 0?!0:s}function fu(s,c,l){if(Yl&&Xu){let f=eh.get(s);f||eh.set(s,f=new Map);let D=f.get(l);D||f.set(l,D=Eh()),gd(D)}}function gd(s,c){let l=!1;Uc<=th?dd(s)||(s.n|=ec,l=!fd(s)):l=!s.has(Xu),l&&(s.add(Xu),Xu.deps.push(s))}function Ul(s,c,l,f,D,N){const Y=eh.get(s);if(!Y)return;let pe=[];if(c==="clear")pe=[...Y.values()];else if(l==="length"&&fs(s))Y.forEach((ye,Me)=>{(Me==="length"||Me>=f)&&pe.push(ye)});else switch(l!==void 0&&pe.push(Y.get(l)),c){case"add":fs(s)?Ch(l)&&pe.push(Y.get("length")):(pe.push(Y.get(hc)),Dc(s)&&pe.push(Y.get(rh)));break;case"delete":fs(s)||(pe.push(Y.get(hc)),Dc(s)&&pe.push(Y.get(rh)));break;case"set":Dc(s)&&pe.push(Y.get(hc));break}if(pe.length===1)pe[0]&&nh(pe[0]);else{const ye=[];for(const Me of pe)Me&&ye.push(...Me);nh(Eh(ye))}}function nh(s,c){const l=fs(s)?s:[...s];for(const f of l)f.computed&&Gh(f);for(const f of l)f.computed||Gh(f)}function Gh(s,c){(s!==Xu||s.allowRecurse)&&(s.scheduler?s.scheduler():s.run())}const ug=Dh("__proto__,__v_isRef,__isVue"),yd=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(Gc)),lg=Ah(),cg=Ah(!1,!0),pg=Ah(!0),Xh=hg();function hg(){const s={};return["includes","indexOf","lastIndexOf"].forEach(c=>{s[c]=function(...l){const f=Xs(this);for(let N=0,Y=this.length;N<Y;N++)fu(f,"get",N+"");const D=f[c](...l);return D===-1||D===!1?f[c](...l.map(Xs)):D}}),["push","pop","shift","unshift","splice"].forEach(c=>{s[c]=function(...l){kc();const f=Xs(this)[c].apply(this,l);return Pc(),f}}),s}function Ah(s=!1,c=!1){return function(f,D,N){if(D==="__v_isReactive")return!s;if(D==="__v_isReadonly")return s;if(D==="__v_isShallow")return c;if(D==="__v_raw"&&N===(s?c?Fg:Ed:c?Cd:xd).get(f))return f;const Y=fs(f);if(!s&&Y&&Rs(Xh,D))return Reflect.get(Xh,D,N);const pe=Reflect.get(f,D,N);return(Gc(D)?yd.has(D):ug(D))||(s||fu(f,"get",D),c)?pe:Na(pe)?Y&&Ch(D)?pe:pe.value:pa(pe)?s?bd(pe):Nc(pe):pe}}const fg=Dd(),dg=Dd(!0);function Dd(s=!1){return function(l,f,D,N){let Y=l[f];if(Ec(Y)&&Na(Y)&&!Na(D))return!1;if(!s&&(!mp(D)&&!Ec(D)&&(Y=Xs(Y),D=Xs(D)),!fs(l)&&Na(Y)&&!Na(D)))return Y.value=D,!0;const pe=fs(l)&&Ch(f)?Number(f)<l.length:Rs(l,f),ye=Reflect.set(l,f,D,N);return l===Xs(N)&&(pe?Xc(D,Y)&&Ul(l,"set",f,D):Ul(l,"add",f,D)),ye}}function mg(s,c){const l=Rs(s,c);s[c];const f=Reflect.deleteProperty(s,c);return f&&l&&Ul(s,"delete",c,void 0),f}function gg(s,c){const l=Reflect.has(s,c);return(!Gc(c)||!yd.has(c))&&fu(s,"has",c),l}function yg(s){return fu(s,"iterate",fs(s)?"length":hc),Reflect.ownKeys(s)}const vd={get:lg,set:fg,deleteProperty:mg,has:gg,ownKeys:yg},Dg={get:pg,set(s,c){return!0},deleteProperty(s,c){return!0}},vg=No({},vd,{get:cg,set:dg}),wh=s=>s,Bp=s=>Reflect.getPrototypeOf(s);function rp(s,c,l=!1,f=!1){s=s.__v_raw;const D=Xs(s),N=Xs(c);l||(c!==N&&fu(D,"get",c),fu(D,"get",N));const{has:Y}=Bp(D),pe=f?wh:l?Fh:Jc;if(Y.call(D,c))return pe(s.get(c));if(Y.call(D,N))return pe(s.get(N));s!==D&&s.get(c)}function np(s,c=!1){const l=this.__v_raw,f=Xs(l),D=Xs(s);return c||(s!==D&&fu(f,"has",s),fu(f,"has",D)),s===D?l.has(s):l.has(s)||l.has(D)}function ip(s,c=!1){return s=s.__v_raw,!c&&fu(Xs(s),"iterate",hc),Reflect.get(s,"size",s)}function Jh(s){s=Xs(s);const c=Xs(this);return Bp(c).has.call(c,s)||(c.add(s),Ul(c,"add",s,s)),this}function Kh(s,c){c=Xs(c);const l=Xs(this),{has:f,get:D}=Bp(l);let N=f.call(l,s);N||(s=Xs(s),N=f.call(l,s));const Y=D.call(l,s);return l.set(s,c),N?Xc(c,Y)&&Ul(l,"set",s,c):Ul(l,"add",s,c),this}function Qh(s){const c=Xs(this),{has:l,get:f}=Bp(c);let D=l.call(c,s);D||(s=Xs(s),D=l.call(c,s)),f&&f.call(c,s);const N=c.delete(s);return D&&Ul(c,"delete",s,void 0),N}function Yh(){const s=Xs(this),c=s.size!==0,l=s.clear();return c&&Ul(s,"clear",void 0,void 0),l}function sp(s,c){return function(f,D){const N=this,Y=N.__v_raw,pe=Xs(Y),ye=c?wh:s?Fh:Jc;return!s&&fu(pe,"iterate",hc),Y.forEach((Me,Oe)=>f.call(D,ye(Me),ye(Oe),N))}}function ap(s,c,l){return function(...f){const D=this.__v_raw,N=Xs(D),Y=Dc(N),pe=s==="entries"||s===Symbol.iterator&&Y,ye=s==="keys"&&Y,Me=D[s](...f),Oe=l?wh:c?Fh:Jc;return!c&&fu(N,"iterate",ye?rh:hc),{next(){const{value:it,done:gt}=Me.next();return gt?{value:it,done:gt}:{value:pe?[Oe(it[0]),Oe(it[1])]:Oe(it),done:gt}},[Symbol.iterator](){return this}}}}function Xl(s){return function(...c){return s==="delete"?!1:this}}function xg(){const s={get(N){return rp(this,N)},get size(){return ip(this)},has:np,add:Jh,set:Kh,delete:Qh,clear:Yh,forEach:sp(!1,!1)},c={get(N){return rp(this,N,!1,!0)},get size(){return ip(this)},has:np,add:Jh,set:Kh,delete:Qh,clear:Yh,forEach:sp(!1,!0)},l={get(N){return rp(this,N,!0)},get size(){return ip(this,!0)},has(N){return np.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:sp(!0,!1)},f={get(N){return rp(this,N,!0,!0)},get size(){return ip(this,!0)},has(N){return np.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:sp(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(N=>{s[N]=ap(N,!1,!1),l[N]=ap(N,!0,!1),c[N]=ap(N,!1,!0),f[N]=ap(N,!0,!0)}),[s,l,c,f]}const[Cg,Eg,bg,Ag]=xg();function Th(s,c){const l=c?s?Ag:bg:s?Eg:Cg;return(f,D,N)=>D==="__v_isReactive"?!s:D==="__v_isReadonly"?s:D==="__v_raw"?f:Reflect.get(Rs(l,D)&&D in f?l:f,D,N)}const wg={get:Th(!1,!1)},Tg={get:Th(!1,!0)},Sg={get:Th(!0,!1)},xd=new WeakMap,Cd=new WeakMap,Ed=new WeakMap,Fg=new WeakMap;function kg(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pg(s){return s.__v_skip||!Object.isExtensible(s)?0:kg(Qm(s))}function Nc(s){return Ec(s)?s:Sh(s,!1,vd,wg,xd)}function Ng(s){return Sh(s,!1,vg,Tg,Cd)}function bd(s){return Sh(s,!0,Dg,Sg,Ed)}function Sh(s,c,l,f,D){if(!pa(s)||s.__v_raw&&!(c&&s.__v_isReactive))return s;const N=D.get(s);if(N)return N;const Y=Pg(s);if(Y===0)return s;const pe=new Proxy(s,Y===2?f:l);return D.set(s,pe),pe}function vc(s){return Ec(s)?vc(s.__v_raw):!!(s&&s.__v_isReactive)}function Ec(s){return!!(s&&s.__v_isReadonly)}function mp(s){return!!(s&&s.__v_isShallow)}function Ad(s){return vc(s)||Ec(s)}function Xs(s){const c=s&&s.__v_raw;return c?Xs(c):s}function wd(s){return dp(s,"__v_skip",!0),s}const Jc=s=>pa(s)?Nc(s):s,Fh=s=>pa(s)?bd(s):s;function Td(s){Yl&&Xu&&(s=Xs(s),gd(s.dep||(s.dep=Eh())))}function Sd(s,c){s=Xs(s),s.dep&&nh(s.dep)}function Na(s){return!!(s&&s.__v_isRef===!0)}function Ba(s){return Fd(s,!1)}function zc(s){return Fd(s,!0)}function Fd(s,c){return Na(s)?s:new Bg(s,c)}class Bg{constructor(c,l){this.__v_isShallow=l,this.dep=void 0,this.__v_isRef=!0,this._rawValue=l?c:Xs(c),this._value=l?c:Jc(c)}get value(){return Td(this),this._value}set value(c){const l=this.__v_isShallow||mp(c)||Ec(c);c=l?c:Xs(c),Xc(c,this._rawValue)&&(this._rawValue=c,this._value=l?c:Jc(c),Sd(this))}}function ws(s){return Na(s)?s.value:s}const _g={get:(s,c,l)=>ws(Reflect.get(s,c,l)),set:(s,c,l,f)=>{const D=s[c];return Na(D)&&!Na(l)?(D.value=l,!0):Reflect.set(s,c,l,f)}};function kd(s){return vc(s)?s:new Proxy(s,_g)}function Ig(s){const c=fs(s)?new Array(s.length):{};for(const l in s)c[l]=Lg(s,l);return c}class Og{constructor(c,l,f){this._object=c,this._key=l,this._defaultValue=f,this.__v_isRef=!0}get value(){const c=this._object[this._key];return c===void 0?this._defaultValue:c}set value(c){this._object[this._key]=c}}function Lg(s,c,l){const f=s[c];return Na(f)?f:new Og(s,c,l)}var Pd;class Mg{constructor(c,l,f,D){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this[Pd]=!1,this._dirty=!0,this.effect=new bh(c,()=>{this._dirty||(this._dirty=!0,Sd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=f}get value(){const c=Xs(this);return Td(c),(c._dirty||!c._cacheable)&&(c._dirty=!1,c._value=c.effect.run()),c._value}set value(c){this._setter(c)}}Pd="__v_isReadonly";function jg(s,c,l=!1){let f,D;const N=Ss(s);return N?(f=s,D=Ku):(f=s.get,D=s.set),new Mg(f,D,N||!D,l)}function Zl(s,c,l,f){let D;try{D=f?s(...f):s()}catch(N){_p(N,c,l)}return D}function Qu(s,c,l,f){if(Ss(s)){const N=Zl(s,c,l,f);return N&&cd(N)&&N.catch(Y=>{_p(Y,c,l)}),N}const D=[];for(let N=0;N<s.length;N++)D.push(Qu(s[N],c,l,f));return D}function _p(s,c,l,f=!0){const D=c?c.vnode:null;if(c){let N=c.parent;const Y=c.proxy,pe=l;for(;N;){const Me=N.ec;if(Me){for(let Oe=0;Oe<Me.length;Oe++)if(Me[Oe](s,Y,pe)===!1)return}N=N.parent}const ye=c.appContext.config.errorHandler;if(ye){Zl(ye,null,10,[s,Y,pe]);return}}Rg(s,l,D,f)}function Rg(s,c,l,f=!0){console.error(s)}let gp=!1,ih=!1;const yo=[];let Dl=0;const xc=[];let Ml=null,lc=0;const Nd=Promise.resolve();let kh=null;function Ip(s){const c=kh||Nd;return s?c.then(this?s.bind(this):s):c}function Ug(s){let c=Dl+1,l=yo.length;for(;c<l;){const f=c+l>>>1;Kc(yo[f])<s?c=f+1:l=f}return c}function Ph(s){(!yo.length||!yo.includes(s,gp&&s.allowRecurse?Dl+1:Dl))&&(s.id==null?yo.push(s):yo.splice(Ug(s.id),0,s),Bd())}function Bd(){!gp&&!ih&&(ih=!0,kh=Nd.then(Id))}function zg(s){const c=yo.indexOf(s);c>Dl&&yo.splice(c,1)}function Hg(s){fs(s)?xc.push(...s):(!Ml||!Ml.includes(s,s.allowRecurse?lc+1:lc))&&xc.push(s),Bd()}function Zh(s,c=Dl){for(;c<yo.length;c++){const l=yo[c];l&&l.pre&&(yo.splice(c,1),c--,l())}}function _d(s){if(xc.length){const c=[...new Set(xc)];if(xc.length=0,Ml){Ml.push(...c);return}for(Ml=c,Ml.sort((l,f)=>Kc(l)-Kc(f)),lc=0;lc<Ml.length;lc++)Ml[lc]();Ml=null,lc=0}}const Kc=s=>s.id==null?1/0:s.id,$g=(s,c)=>{const l=Kc(s)-Kc(c);if(l===0){if(s.pre&&!c.pre)return-1;if(c.pre&&!s.pre)return 1}return l};function Id(s){ih=!1,gp=!0,yo.sort($g);const c=Ku;try{for(Dl=0;Dl<yo.length;Dl++){const l=yo[Dl];l&&l.active!==!1&&Zl(l,null,14)}}finally{Dl=0,yo.length=0,_d(),gp=!1,kh=null,(yo.length||xc.length)&&Id()}}function qg(s,c,...l){if(s.isUnmounted)return;const f=s.vnode.props||ua;let D=l;const N=c.startsWith("update:"),Y=N&&c.slice(7);if(Y&&Y in f){const Oe=`${Y==="modelValue"?"model":Y}Modifiers`,{number:it,trim:gt}=f[Oe]||ua;gt&&(D=l.map(St=>St.trim())),it&&(D=l.map(eg))}let pe,ye=f[pe=Vp(c)]||f[pe=Vp(vl(c))];!ye&&N&&(ye=f[pe=Vp(Fc(c))]),ye&&Qu(ye,s,6,D);const Me=f[pe+"Once"];if(Me){if(!s.emitted)s.emitted={};else if(s.emitted[pe])return;s.emitted[pe]=!0,Qu(Me,s,6,D)}}function Od(s,c,l=!1){const f=c.emitsCache,D=f.get(s);if(D!==void 0)return D;const N=s.emits;let Y={},pe=!1;if(!Ss(s)){const ye=Me=>{const Oe=Od(Me,c,!0);Oe&&(pe=!0,No(Y,Oe))};!l&&c.mixins.length&&c.mixins.forEach(ye),s.extends&&ye(s.extends),s.mixins&&s.mixins.forEach(ye)}return!N&&!pe?(pa(s)&&f.set(s,null),null):(fs(N)?N.forEach(ye=>Y[ye]=null):No(Y,N),pa(s)&&f.set(s,Y),Y)}function Op(s,c){return!s||!Fp(c)?!1:(c=c.slice(2).replace(/Once$/,""),Rs(s,c[0].toLowerCase()+c.slice(1))||Rs(s,Fc(c))||Rs(s,c))}let Do=null,Ld=null;function yp(s){const c=Do;return Do=s,Ld=s&&s.type.__scopeId||null,c}function jl(s,c=Do,l){if(!c||s._n)return s;const f=(...D)=>{f._d&&pf(-1);const N=yp(c),Y=s(...D);return yp(N),f._d&&pf(1),Y};return f._n=!0,f._c=!0,f._d=!0,f}function Wp(s){const{type:c,vnode:l,proxy:f,withProxy:D,props:N,propsOptions:[Y],slots:pe,attrs:ye,emit:Me,render:Oe,renderCache:it,data:gt,setupState:St,ctx:Wt,inheritAttrs:ar}=s;let Rr,At;const It=yp(s);try{if(l.shapeFlag&4){const Er=D||f;Rr=yl(Oe.call(Er,Er,it,N,St,gt,Wt)),At=ye}else{const Er=c;Rr=yl(Er.length>1?Er(N,{attrs:ye,slots:pe,emit:Me}):Er(N,null)),At=c.props?ye:Vg(ye)}}catch(Er){$c.length=0,_p(Er,s,1),Rr=na(tc)}let qt=Rr;if(At&&ar!==!1){const Er=Object.keys(At),{shapeFlag:an}=qt;Er.length&&an&7&&(Y&&Er.some(vh)&&(At=Wg(At,Y)),qt=Ac(qt,At))}return l.dirs&&(qt=Ac(qt),qt.dirs=qt.dirs?qt.dirs.concat(l.dirs):l.dirs),l.transition&&(qt.transition=l.transition),Rr=qt,yp(It),Rr}const Vg=s=>{let c;for(const l in s)(l==="class"||l==="style"||Fp(l))&&((c||(c={}))[l]=s[l]);return c},Wg=(s,c)=>{const l={};for(const f in s)(!vh(f)||!(f.slice(9)in c))&&(l[f]=s[f]);return l};function Gg(s,c,l){const{props:f,children:D,component:N}=s,{props:Y,children:pe,patchFlag:ye}=c,Me=N.emitsOptions;if(c.dirs||c.transition)return!0;if(l&&ye>=0){if(ye&1024)return!0;if(ye&16)return f?ef(f,Y,Me):!!Y;if(ye&8){const Oe=c.dynamicProps;for(let it=0;it<Oe.length;it++){const gt=Oe[it];if(Y[gt]!==f[gt]&&!Op(Me,gt))return!0}}}else return(D||pe)&&(!pe||!pe.$stable)?!0:f===Y?!1:f?Y?ef(f,Y,Me):!0:!!Y;return!1}function ef(s,c,l){const f=Object.keys(c);if(f.length!==Object.keys(s).length)return!0;for(let D=0;D<f.length;D++){const N=f[D];if(c[N]!==s[N]&&!Op(l,N))return!0}return!1}function Xg({vnode:s,parent:c},l){for(;c&&c.subTree===s;)(s=c.vnode).el=l,c=c.parent}const Jg=s=>s.__isSuspense;function Kg(s,c){c&&c.pendingBranch?fs(s)?c.effects.push(...s):c.effects.push(s):Hg(s)}function pp(s,c){if(no){let l=no.provides;const f=no.parent&&no.parent.provides;f===l&&(l=no.provides=Object.create(f)),l[s]=c}}function Rl(s,c,l=!1){const f=no||Do;if(f){const D=f.parent==null?f.vnode.appContext&&f.vnode.appContext.provides:f.parent.provides;if(D&&s in D)return D[s];if(arguments.length>1)return l&&Ss(c)?c.call(f.proxy):c}}function Qg(s,c){return Nh(s,null,c)}const tf={};function Ya(s,c,l){return Nh(s,c,l)}function Nh(s,c,{immediate:l,deep:f,flush:D,onTrack:N,onTrigger:Y}=ua){const pe=no;let ye,Me=!1,Oe=!1;if(Na(s)?(ye=()=>s.value,Me=mp(s)):vc(s)?(ye=()=>s,f=!0):fs(s)?(Oe=!0,Me=s.some(At=>vc(At)||mp(At)),ye=()=>s.map(At=>{if(Na(At))return At.value;if(vc(At))return pc(At);if(Ss(At))return Zl(At,pe,2)})):Ss(s)?c?ye=()=>Zl(s,pe,2):ye=()=>{if(!(pe&&pe.isUnmounted))return it&&it(),Qu(s,pe,3,[gt])}:ye=Ku,c&&f){const At=ye;ye=()=>pc(At())}let it,gt=At=>{it=Rr.onStop=()=>{Zl(At,pe,4)}};if(Yc)return gt=Ku,c?l&&Qu(c,pe,3,[ye(),Oe?[]:void 0,gt]):ye(),Ku;let St=Oe?[]:tf;const Wt=()=>{if(!!Rr.active)if(c){const At=Rr.run();(f||Me||(Oe?At.some((It,qt)=>Xc(It,St[qt])):Xc(At,St)))&&(it&&it(),Qu(c,pe,3,[At,St===tf?void 0:St,gt]),St=At)}else Rr.run()};Wt.allowRecurse=!!c;let ar;D==="sync"?ar=Wt:D==="post"?ar=()=>Zo(Wt,pe&&pe.suspense):(Wt.pre=!0,pe&&(Wt.id=pe.uid),ar=()=>Ph(Wt));const Rr=new bh(ye,ar);return c?l?Wt():St=Rr.run():D==="post"?Zo(Rr.run.bind(Rr),pe&&pe.suspense):Rr.run(),()=>{Rr.stop(),pe&&pe.scope&&xh(pe.scope.effects,Rr)}}function Yg(s,c,l){const f=this.proxy,D=io(s)?s.includes(".")?Md(f,s):()=>f[s]:s.bind(f,f);let N;Ss(c)?N=c:(N=c.handler,l=c);const Y=no;wc(this);const pe=Nh(D,N.bind(f),l);return Y?wc(Y):fc(),pe}function Md(s,c){const l=c.split(".");return()=>{let f=s;for(let D=0;D<l.length&&f;D++)f=f[l[D]];return f}}function pc(s,c){if(!pa(s)||s.__v_skip||(c=c||new Set,c.has(s)))return s;if(c.add(s),Na(s))pc(s.value,c);else if(fs(s))for(let l=0;l<s.length;l++)pc(s[l],c);else if(kp(s)||Dc(s))s.forEach(l=>{pc(l,c)});else if(hd(s))for(const l in s)pc(s[l],c);return s}function Zu(s){return Ss(s)?{setup:s,name:s.name}:s}const Hc=s=>!!s.type.__asyncLoader,jd=s=>s.type.__isKeepAlive;function Zg(s,c){Rd(s,"a",c)}function e0(s,c){Rd(s,"da",c)}function Rd(s,c,l=no){const f=s.__wdc||(s.__wdc=()=>{let D=l;for(;D;){if(D.isDeactivated)return;D=D.parent}return s()});if(Lp(c,f,l),l){let D=l.parent;for(;D&&D.parent;)jd(D.parent.vnode)&&t0(f,c,l,D),D=D.parent}}function t0(s,c,l,f){const D=Lp(c,s,f,!0);zd(()=>{xh(f[c],D)},l)}function Lp(s,c,l=no,f=!1){if(l){const D=l[s]||(l[s]=[]),N=c.__weh||(c.__weh=(...Y)=>{if(l.isUnmounted)return;kc(),wc(l);const pe=Qu(c,l,s,Y);return fc(),Pc(),pe});return f?D.unshift(N):D.push(N),N}}const $l=s=>(c,l=no)=>(!Yc||s==="sp")&&Lp(s,c,l),Ud=$l("bm"),Bh=$l("m"),r0=$l("bu"),n0=$l("u"),i0=$l("bum"),zd=$l("um"),s0=$l("sp"),a0=$l("rtg"),o0=$l("rtc");function u0(s,c=no){Lp("ec",s,c)}function l0(s,c){const l=Do;if(l===null)return s;const f=jp(l)||l.proxy,D=s.dirs||(s.dirs=[]);for(let N=0;N<c.length;N++){let[Y,pe,ye,Me=ua]=c[N];Ss(Y)&&(Y={mounted:Y,updated:Y}),Y.deep&&pc(pe),D.push({dir:Y,instance:f,value:pe,oldValue:void 0,arg:ye,modifiers:Me})}return s}function ac(s,c,l,f){const D=s.dirs,N=c&&c.dirs;for(let Y=0;Y<D.length;Y++){const pe=D[Y];N&&(pe.oldValue=N[Y].value);let ye=pe.dir[f];ye&&(kc(),Qu(ye,l,8,[s.el,pe,s,c]),Pc())}}const Hd="components";function Dp(s,c){return p0(Hd,s,!0,c)||s}const c0=Symbol();function p0(s,c,l=!0,f=!1){const D=Do||no;if(D){const N=D.type;if(s===Hd){const pe=U0(N,!1);if(pe&&(pe===c||pe===vl(c)||pe===Np(vl(c))))return N}const Y=rf(D[s]||N[s],c)||rf(D.appContext[s],c);return!Y&&f?N:Y}}function rf(s,c){return s&&(s[c]||s[vl(c)]||s[Np(vl(c))])}function nf(s,c,l,f){let D;const N=l&&l[f];if(fs(s)||io(s)){D=new Array(s.length);for(let Y=0,pe=s.length;Y<pe;Y++)D[Y]=c(s[Y],Y,void 0,N&&N[Y])}else if(typeof s=="number"){D=new Array(s);for(let Y=0;Y<s;Y++)D[Y]=c(Y+1,Y,void 0,N&&N[Y])}else if(pa(s))if(s[Symbol.iterator])D=Array.from(s,(Y,pe)=>c(Y,pe,void 0,N&&N[pe]));else{const Y=Object.keys(s);D=new Array(Y.length);for(let pe=0,ye=Y.length;pe<ye;pe++){const Me=Y[pe];D[pe]=c(s[Me],Me,pe,N&&N[pe])}}else D=[];return l&&(l[f]=D),D}function vp(s,c,l={},f,D){if(Do.isCE||Do.parent&&Hc(Do.parent)&&Do.parent.isCE)return na("slot",c==="default"?null:{name:c},f&&f());let N=s[c];N&&N._c&&(N._d=!1),ya();const Y=N&&$d(N(l)),pe=bc(eu,{key:l.key||Y&&Y.key||`_${c}`},Y||(f?f():[]),Y&&s._===1?64:-2);return!D&&pe.scopeId&&(pe.slotScopeIds=[pe.scopeId+"-s"]),N&&N._c&&(N._d=!0),pe}function $d(s){return s.some(c=>Ep(c)?!(c.type===tc||c.type===eu&&!$d(c.children)):!0)?s:null}const sh=s=>s?tm(s)?jp(s)||s.proxy:sh(s.parent):null,xp=No(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>s.props,$attrs:s=>s.attrs,$slots:s=>s.slots,$refs:s=>s.refs,$parent:s=>sh(s.parent),$root:s=>sh(s.root),$emit:s=>s.emit,$options:s=>Vd(s),$forceUpdate:s=>s.f||(s.f=()=>Ph(s.update)),$nextTick:s=>s.n||(s.n=Ip.bind(s.proxy)),$watch:s=>Yg.bind(s)}),h0={get({_:s},c){const{ctx:l,setupState:f,data:D,props:N,accessCache:Y,type:pe,appContext:ye}=s;let Me;if(c[0]!=="$"){const St=Y[c];if(St!==void 0)switch(St){case 1:return f[c];case 2:return D[c];case 4:return l[c];case 3:return N[c]}else{if(f!==ua&&Rs(f,c))return Y[c]=1,f[c];if(D!==ua&&Rs(D,c))return Y[c]=2,D[c];if((Me=s.propsOptions[0])&&Rs(Me,c))return Y[c]=3,N[c];if(l!==ua&&Rs(l,c))return Y[c]=4,l[c];ah&&(Y[c]=0)}}const Oe=xp[c];let it,gt;if(Oe)return c==="$attrs"&&fu(s,"get",c),Oe(s);if((it=pe.__cssModules)&&(it=it[c]))return it;if(l!==ua&&Rs(l,c))return Y[c]=4,l[c];if(gt=ye.config.globalProperties,Rs(gt,c))return gt[c]},set({_:s},c,l){const{data:f,setupState:D,ctx:N}=s;return D!==ua&&Rs(D,c)?(D[c]=l,!0):f!==ua&&Rs(f,c)?(f[c]=l,!0):Rs(s.props,c)||c[0]==="$"&&c.slice(1)in s?!1:(N[c]=l,!0)},has({_:{data:s,setupState:c,accessCache:l,ctx:f,appContext:D,propsOptions:N}},Y){let pe;return!!l[Y]||s!==ua&&Rs(s,Y)||c!==ua&&Rs(c,Y)||(pe=N[0])&&Rs(pe,Y)||Rs(f,Y)||Rs(xp,Y)||Rs(D.config.globalProperties,Y)},defineProperty(s,c,l){return l.get!=null?s._.accessCache[c]=0:Rs(l,"value")&&this.set(s,c,l.value,null),Reflect.defineProperty(s,c,l)}};let ah=!0;function f0(s){const c=Vd(s),l=s.proxy,f=s.ctx;ah=!1,c.beforeCreate&&sf(c.beforeCreate,s,"bc");const{data:D,computed:N,methods:Y,watch:pe,provide:ye,inject:Me,created:Oe,beforeMount:it,mounted:gt,beforeUpdate:St,updated:Wt,activated:ar,deactivated:Rr,beforeDestroy:At,beforeUnmount:It,destroyed:qt,unmounted:Er,render:an,renderTracked:Jn,renderTriggered:An,errorCaptured:mi,serverPrefetch:oi,expose:Xn,inheritAttrs:Un,components:gi,directives:xr,filters:Nn}=c;if(Me&&d0(Me,f,null,s.appContext.config.unwrapInjectedRef),Y)for(const or in Y){const Bn=Y[or];Ss(Bn)&&(f[or]=Bn.bind(l))}if(D){const or=D.call(l,l);pa(or)&&(s.data=Nc(or))}if(ah=!0,N)for(const or in N){const Bn=N[or],ti=Ss(Bn)?Bn.bind(l,l):Ss(Bn.get)?Bn.get.bind(l,l):Ku,ts=!Ss(Bn)&&Ss(Bn.set)?Bn.set.bind(l):Ku,Cs=ea({get:ti,set:ts});Object.defineProperty(f,or,{enumerable:!0,configurable:!0,get:()=>Cs.value,set:_s=>Cs.value=_s})}if(pe)for(const or in pe)qd(pe[or],f,l,or);if(ye){const or=Ss(ye)?ye.call(l):ye;Reflect.ownKeys(or).forEach(Bn=>{pp(Bn,or[Bn])})}Oe&&sf(Oe,s,"c");function rn(or,Bn){fs(Bn)?Bn.forEach(ti=>or(ti.bind(l))):Bn&&or(Bn.bind(l))}if(rn(Ud,it),rn(Bh,gt),rn(r0,St),rn(n0,Wt),rn(Zg,ar),rn(e0,Rr),rn(u0,mi),rn(o0,Jn),rn(a0,An),rn(i0,It),rn(zd,Er),rn(s0,oi),fs(Xn))if(Xn.length){const or=s.exposed||(s.exposed={});Xn.forEach(Bn=>{Object.defineProperty(or,Bn,{get:()=>l[Bn],set:ti=>l[Bn]=ti})})}else s.exposed||(s.exposed={});an&&s.render===Ku&&(s.render=an),Un!=null&&(s.inheritAttrs=Un),gi&&(s.components=gi),xr&&(s.directives=xr)}function d0(s,c,l=Ku,f=!1){fs(s)&&(s=oh(s));for(const D in s){const N=s[D];let Y;pa(N)?"default"in N?Y=Rl(N.from||D,N.default,!0):Y=Rl(N.from||D):Y=Rl(N),Na(Y)&&f?Object.defineProperty(c,D,{enumerable:!0,configurable:!0,get:()=>Y.value,set:pe=>Y.value=pe}):c[D]=Y}}function sf(s,c,l){Qu(fs(s)?s.map(f=>f.bind(c.proxy)):s.bind(c.proxy),c,l)}function qd(s,c,l,f){const D=f.includes(".")?Md(l,f):()=>l[f];if(io(s)){const N=c[s];Ss(N)&&Ya(D,N)}else if(Ss(s))Ya(D,s.bind(l));else if(pa(s))if(fs(s))s.forEach(N=>qd(N,c,l,f));else{const N=Ss(s.handler)?s.handler.bind(l):c[s.handler];Ss(N)&&Ya(D,N,s)}}function Vd(s){const c=s.type,{mixins:l,extends:f}=c,{mixins:D,optionsCache:N,config:{optionMergeStrategies:Y}}=s.appContext,pe=N.get(c);let ye;return pe?ye=pe:!D.length&&!l&&!f?ye=c:(ye={},D.length&&D.forEach(Me=>Cp(ye,Me,Y,!0)),Cp(ye,c,Y)),pa(c)&&N.set(c,ye),ye}function Cp(s,c,l,f=!1){const{mixins:D,extends:N}=c;N&&Cp(s,N,l,!0),D&&D.forEach(Y=>Cp(s,Y,l,!0));for(const Y in c)if(!(f&&Y==="expose")){const pe=m0[Y]||l&&l[Y];s[Y]=pe?pe(s[Y],c[Y]):c[Y]}return s}const m0={data:af,props:uc,emits:uc,methods:uc,computed:uc,beforeCreate:Fo,created:Fo,beforeMount:Fo,mounted:Fo,beforeUpdate:Fo,updated:Fo,beforeDestroy:Fo,beforeUnmount:Fo,destroyed:Fo,unmounted:Fo,activated:Fo,deactivated:Fo,errorCaptured:Fo,serverPrefetch:Fo,components:uc,directives:uc,watch:y0,provide:af,inject:g0};function af(s,c){return c?s?function(){return No(Ss(s)?s.call(this,this):s,Ss(c)?c.call(this,this):c)}:c:s}function g0(s,c){return uc(oh(s),oh(c))}function oh(s){if(fs(s)){const c={};for(let l=0;l<s.length;l++)c[s[l]]=s[l];return c}return s}function Fo(s,c){return s?[...new Set([].concat(s,c))]:c}function uc(s,c){return s?No(No(Object.create(null),s),c):c}function y0(s,c){if(!s)return c;if(!c)return s;const l=No(Object.create(null),s);for(const f in c)l[f]=Fo(s[f],c[f]);return l}function D0(s,c,l,f=!1){const D={},N={};dp(N,Mp,1),s.propsDefaults=Object.create(null),Wd(s,c,D,N);for(const Y in s.propsOptions[0])Y in D||(D[Y]=void 0);l?s.props=f?D:Ng(D):s.type.props?s.props=D:s.props=N,s.attrs=N}function v0(s,c,l,f){const{props:D,attrs:N,vnode:{patchFlag:Y}}=s,pe=Xs(D),[ye]=s.propsOptions;let Me=!1;if((f||Y>0)&&!(Y&16)){if(Y&8){const Oe=s.vnode.dynamicProps;for(let it=0;it<Oe.length;it++){let gt=Oe[it];if(Op(s.emitsOptions,gt))continue;const St=c[gt];if(ye)if(Rs(N,gt))St!==N[gt]&&(N[gt]=St,Me=!0);else{const Wt=vl(gt);D[Wt]=uh(ye,pe,Wt,St,s,!1)}else St!==N[gt]&&(N[gt]=St,Me=!0)}}}else{Wd(s,c,D,N)&&(Me=!0);let Oe;for(const it in pe)(!c||!Rs(c,it)&&((Oe=Fc(it))===it||!Rs(c,Oe)))&&(ye?l&&(l[it]!==void 0||l[Oe]!==void 0)&&(D[it]=uh(ye,pe,it,void 0,s,!0)):delete D[it]);if(N!==pe)for(const it in N)(!c||!Rs(c,it)&&!0)&&(delete N[it],Me=!0)}Me&&Ul(s,"set","$attrs")}function Wd(s,c,l,f){const[D,N]=s.propsOptions;let Y=!1,pe;if(c)for(let ye in c){if(lp(ye))continue;const Me=c[ye];let Oe;D&&Rs(D,Oe=vl(ye))?!N||!N.includes(Oe)?l[Oe]=Me:(pe||(pe={}))[Oe]=Me:Op(s.emitsOptions,ye)||(!(ye in f)||Me!==f[ye])&&(f[ye]=Me,Y=!0)}if(N){const ye=Xs(l),Me=pe||ua;for(let Oe=0;Oe<N.length;Oe++){const it=N[Oe];l[it]=uh(D,ye,it,Me[it],s,!Rs(Me,it))}}return Y}function uh(s,c,l,f,D,N){const Y=s[l];if(Y!=null){const pe=Rs(Y,"default");if(pe&&f===void 0){const ye=Y.default;if(Y.type!==Function&&Ss(ye)){const{propsDefaults:Me}=D;l in Me?f=Me[l]:(wc(D),f=Me[l]=ye.call(null,c),fc())}else f=ye}Y[0]&&(N&&!pe?f=!1:Y[1]&&(f===""||f===Fc(l))&&(f=!0))}return f}function Gd(s,c,l=!1){const f=c.propsCache,D=f.get(s);if(D)return D;const N=s.props,Y={},pe=[];let ye=!1;if(!Ss(s)){const Oe=it=>{ye=!0;const[gt,St]=Gd(it,c,!0);No(Y,gt),St&&pe.push(...St)};!l&&c.mixins.length&&c.mixins.forEach(Oe),s.extends&&Oe(s.extends),s.mixins&&s.mixins.forEach(Oe)}if(!N&&!ye)return pa(s)&&f.set(s,yc),yc;if(fs(N))for(let Oe=0;Oe<N.length;Oe++){const it=vl(N[Oe]);of(it)&&(Y[it]=ua)}else if(N)for(const Oe in N){const it=vl(Oe);if(of(it)){const gt=N[Oe],St=Y[it]=fs(gt)||Ss(gt)?{type:gt}:gt;if(St){const Wt=cf(Boolean,St.type),ar=cf(String,St.type);St[0]=Wt>-1,St[1]=ar<0||Wt<ar,(Wt>-1||Rs(St,"default"))&&pe.push(it)}}}const Me=[Y,pe];return pa(s)&&f.set(s,Me),Me}function of(s){return s[0]!=="$"}function uf(s){const c=s&&s.toString().match(/^\s*function (\w+)/);return c?c[1]:s===null?"null":""}function lf(s,c){return uf(s)===uf(c)}function cf(s,c){return fs(c)?c.findIndex(l=>lf(l,s)):Ss(c)&&lf(c,s)?0:-1}const Xd=s=>s[0]==="_"||s==="$stable",_h=s=>fs(s)?s.map(yl):[yl(s)],x0=(s,c,l)=>{if(c._n)return c;const f=jl((...D)=>_h(c(...D)),l);return f._c=!1,f},Jd=(s,c,l)=>{const f=s._ctx;for(const D in s){if(Xd(D))continue;const N=s[D];if(Ss(N))c[D]=x0(D,N,f);else if(N!=null){const Y=_h(N);c[D]=()=>Y}}},Kd=(s,c)=>{const l=_h(c);s.slots.default=()=>l},C0=(s,c)=>{if(s.vnode.shapeFlag&32){const l=c._;l?(s.slots=Xs(c),dp(c,"_",l)):Jd(c,s.slots={})}else s.slots={},c&&Kd(s,c);dp(s.slots,Mp,1)},E0=(s,c,l)=>{const{vnode:f,slots:D}=s;let N=!0,Y=ua;if(f.shapeFlag&32){const pe=c._;pe?l&&pe===1?N=!1:(No(D,c),!l&&pe===1&&delete D._):(N=!c.$stable,Jd(c,D)),Y=c}else c&&(Kd(s,c),Y={default:1});if(N)for(const pe in D)!Xd(pe)&&!(pe in Y)&&delete D[pe]};function Qd(){return{app:null,config:{isNativeTag:Xm,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let b0=0;function A0(s,c){return function(f,D=null){Ss(f)||(f=Object.assign({},f)),D!=null&&!pa(D)&&(D=null);const N=Qd(),Y=new Set;let pe=!1;const ye=N.app={_uid:b0++,_component:f,_props:D,_container:null,_context:N,_instance:null,version:H0,get config(){return N.config},set config(Me){},use(Me,...Oe){return Y.has(Me)||(Me&&Ss(Me.install)?(Y.add(Me),Me.install(ye,...Oe)):Ss(Me)&&(Y.add(Me),Me(ye,...Oe))),ye},mixin(Me){return N.mixins.includes(Me)||N.mixins.push(Me),ye},component(Me,Oe){return Oe?(N.components[Me]=Oe,ye):N.components[Me]},directive(Me,Oe){return Oe?(N.directives[Me]=Oe,ye):N.directives[Me]},mount(Me,Oe,it){if(!pe){const gt=na(f,D);return gt.appContext=N,Oe&&c?c(gt,Me):s(gt,Me,it),pe=!0,ye._container=Me,Me.__vue_app__=ye,jp(gt.component)||gt.component.proxy}},unmount(){pe&&(s(null,ye._container),delete ye._container.__vue_app__)},provide(Me,Oe){return N.provides[Me]=Oe,ye}};return ye}}function lh(s,c,l,f,D=!1){if(fs(s)){s.forEach((gt,St)=>lh(gt,c&&(fs(c)?c[St]:c),l,f,D));return}if(Hc(f)&&!D)return;const N=f.shapeFlag&4?jp(f.component)||f.component.proxy:f.el,Y=D?null:N,{i:pe,r:ye}=s,Me=c&&c.r,Oe=pe.refs===ua?pe.refs={}:pe.refs,it=pe.setupState;if(Me!=null&&Me!==ye&&(io(Me)?(Oe[Me]=null,Rs(it,Me)&&(it[Me]=null)):Na(Me)&&(Me.value=null)),Ss(ye))Zl(ye,pe,12,[Y,Oe]);else{const gt=io(ye),St=Na(ye);if(gt||St){const Wt=()=>{if(s.f){const ar=gt?Oe[ye]:ye.value;D?fs(ar)&&xh(ar,N):fs(ar)?ar.includes(N)||ar.push(N):gt?(Oe[ye]=[N],Rs(it,ye)&&(it[ye]=Oe[ye])):(ye.value=[N],s.k&&(Oe[s.k]=ye.value))}else gt?(Oe[ye]=Y,Rs(it,ye)&&(it[ye]=Y)):St&&(ye.value=Y,s.k&&(Oe[s.k]=Y))};Y?(Wt.id=-1,Zo(Wt,l)):Wt()}}}const Zo=Kg;function w0(s){return T0(s)}function T0(s,c){const l=tg();l.__VUE__=!0;const{insert:f,remove:D,patchProp:N,createElement:Y,createText:pe,createComment:ye,setText:Me,setElementText:Oe,parentNode:it,nextSibling:gt,setScopeId:St=Ku,cloneNode:Wt,insertStaticContent:ar}=s,Rr=(ht,Ot,vr,_r=null,Kr=null,Ur=null,Dn=!1,_n=null,dn=!!Ot.dynamicChildren)=>{if(ht===Ot)return;ht&&!Mc(ht,Ot)&&(_r=cn(ht),Zi(ht,Kr,Ur,!0),ht=null),Ot.patchFlag===-2&&(dn=!1,Ot.dynamicChildren=null);const{type:ct,ref:wr,shapeFlag:Rt}=Ot;switch(ct){case Ih:At(ht,Ot,vr,_r);break;case tc:It(ht,Ot,vr,_r);break;case Gp:ht==null&&qt(Ot,vr,_r,Dn);break;case eu:xr(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn);break;default:Rt&1?Jn(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn):Rt&6?Nn(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn):(Rt&64||Rt&128)&&ct.process(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn,ui)}wr!=null&&Kr&&lh(wr,ht&&ht.ref,Ur,Ot||ht,!Ot)},At=(ht,Ot,vr,_r)=>{if(ht==null)f(Ot.el=pe(Ot.children),vr,_r);else{const Kr=Ot.el=ht.el;Ot.children!==ht.children&&Me(Kr,Ot.children)}},It=(ht,Ot,vr,_r)=>{ht==null?f(Ot.el=ye(Ot.children||""),vr,_r):Ot.el=ht.el},qt=(ht,Ot,vr,_r)=>{[ht.el,ht.anchor]=ar(ht.children,Ot,vr,_r,ht.el,ht.anchor)},Er=({el:ht,anchor:Ot},vr,_r)=>{let Kr;for(;ht&&ht!==Ot;)Kr=gt(ht),f(ht,vr,_r),ht=Kr;f(Ot,vr,_r)},an=({el:ht,anchor:Ot})=>{let vr;for(;ht&&ht!==Ot;)vr=gt(ht),D(ht),ht=vr;D(Ot)},Jn=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{Dn=Dn||Ot.type==="svg",ht==null?An(Ot,vr,_r,Kr,Ur,Dn,_n,dn):Xn(ht,Ot,Kr,Ur,Dn,_n,dn)},An=(ht,Ot,vr,_r,Kr,Ur,Dn,_n)=>{let dn,ct;const{type:wr,props:Rt,shapeFlag:Mn,transition:bi,patchFlag:cs,dirs:ds}=ht;if(ht.el&&Wt!==void 0&&cs===-1)dn=ht.el=Wt(ht.el);else{if(dn=ht.el=Y(ht.type,Ur,Rt&&Rt.is,Rt),Mn&8?Oe(dn,ht.children):Mn&16&&oi(ht.children,dn,null,_r,Kr,Ur&&wr!=="foreignObject",Dn,_n),ds&&ac(ht,null,_r,"created"),Rt){for(const Hi in Rt)Hi!=="value"&&!lp(Hi)&&N(dn,Hi,null,Rt[Hi],Ur,ht.children,_r,Kr,Dr);"value"in Rt&&N(dn,"value",null,Rt.value),(ct=Rt.onVnodeBeforeMount)&&gl(ct,_r,ht)}mi(dn,ht,ht.scopeId,Dn,_r)}ds&&ac(ht,null,_r,"beforeMount");const ms=(!Kr||Kr&&!Kr.pendingBranch)&&bi&&!bi.persisted;ms&&bi.beforeEnter(dn),f(dn,Ot,vr),((ct=Rt&&Rt.onVnodeMounted)||ms||ds)&&Zo(()=>{ct&&gl(ct,_r,ht),ms&&bi.enter(dn),ds&&ac(ht,null,_r,"mounted")},Kr)},mi=(ht,Ot,vr,_r,Kr)=>{if(vr&&St(ht,vr),_r)for(let Ur=0;Ur<_r.length;Ur++)St(ht,_r[Ur]);if(Kr){let Ur=Kr.subTree;if(Ot===Ur){const Dn=Kr.vnode;mi(ht,Dn,Dn.scopeId,Dn.slotScopeIds,Kr.parent)}}},oi=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn=0)=>{for(let ct=dn;ct<ht.length;ct++){const wr=ht[ct]=_n?Kl(ht[ct]):yl(ht[ct]);Rr(null,wr,Ot,vr,_r,Kr,Ur,Dn,_n)}},Xn=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=Ot.el=ht.el;let{patchFlag:dn,dynamicChildren:ct,dirs:wr}=Ot;dn|=ht.patchFlag&16;const Rt=ht.props||ua,Mn=Ot.props||ua;let bi;vr&&oc(vr,!1),(bi=Mn.onVnodeBeforeUpdate)&&gl(bi,vr,Ot,ht),wr&&ac(Ot,ht,vr,"beforeUpdate"),vr&&oc(vr,!0);const cs=Kr&&Ot.type!=="foreignObject";if(ct?Un(ht.dynamicChildren,ct,_n,vr,_r,cs,Ur):Dn||ti(ht,Ot,_n,null,vr,_r,cs,Ur,!1),dn>0){if(dn&16)gi(_n,Ot,Rt,Mn,vr,_r,Kr);else if(dn&2&&Rt.class!==Mn.class&&N(_n,"class",null,Mn.class,Kr),dn&4&&N(_n,"style",Rt.style,Mn.style,Kr),dn&8){const ds=Ot.dynamicProps;for(let ms=0;ms<ds.length;ms++){const Hi=ds[ms],Ws=Rt[Hi],Vn=Mn[Hi];(Vn!==Ws||Hi==="value")&&N(_n,Hi,Ws,Vn,Kr,ht.children,vr,_r,Dr)}}dn&1&&ht.children!==Ot.children&&Oe(_n,Ot.children)}else!Dn&&ct==null&&gi(_n,Ot,Rt,Mn,vr,_r,Kr);((bi=Mn.onVnodeUpdated)||wr)&&Zo(()=>{bi&&gl(bi,vr,Ot,ht),wr&&ac(Ot,ht,vr,"updated")},_r)},Un=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{for(let _n=0;_n<Ot.length;_n++){const dn=ht[_n],ct=Ot[_n],wr=dn.el&&(dn.type===eu||!Mc(dn,ct)||dn.shapeFlag&70)?it(dn.el):vr;Rr(dn,ct,wr,null,_r,Kr,Ur,Dn,!0)}},gi=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{if(vr!==_r){for(const _n in _r){if(lp(_n))continue;const dn=_r[_n],ct=vr[_n];dn!==ct&&_n!=="value"&&N(ht,_n,ct,dn,Dn,Ot.children,Kr,Ur,Dr)}if(vr!==ua)for(const _n in vr)!lp(_n)&&!(_n in _r)&&N(ht,_n,vr[_n],null,Dn,Ot.children,Kr,Ur,Dr);"value"in _r&&N(ht,"value",vr.value,_r.value)}},xr=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{const ct=Ot.el=ht?ht.el:pe(""),wr=Ot.anchor=ht?ht.anchor:pe("");let{patchFlag:Rt,dynamicChildren:Mn,slotScopeIds:bi}=Ot;bi&&(_n=_n?_n.concat(bi):bi),ht==null?(f(ct,vr,_r),f(wr,vr,_r),oi(Ot.children,vr,wr,Kr,Ur,Dn,_n,dn)):Rt>0&&Rt&64&&Mn&&ht.dynamicChildren?(Un(ht.dynamicChildren,Mn,vr,Kr,Ur,Dn,_n),(Ot.key!=null||Kr&&Ot===Kr.subTree)&&Yd(ht,Ot,!0)):ti(ht,Ot,vr,wr,Kr,Ur,Dn,_n,dn)},Nn=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{Ot.slotScopeIds=_n,ht==null?Ot.shapeFlag&512?Kr.ctx.activate(Ot,vr,_r,Dn,dn):Ae(Ot,vr,_r,Kr,Ur,Dn,dn):rn(ht,Ot,dn)},Ae=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=ht.component=O0(ht,_r,Kr);if(jd(ht)&&(_n.ctx.renderer=ui),L0(_n),_n.asyncDep){if(Kr&&Kr.registerDep(_n,or),!ht.el){const dn=_n.subTree=na(tc);It(null,dn,Ot,vr)}return}or(_n,ht,Ot,vr,Kr,Ur,Dn)},rn=(ht,Ot,vr)=>{const _r=Ot.component=ht.component;if(Gg(ht,Ot,vr))if(_r.asyncDep&&!_r.asyncResolved){Bn(_r,Ot,vr);return}else _r.next=Ot,zg(_r.update),_r.update();else Ot.el=ht.el,_r.vnode=Ot},or=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=()=>{if(ht.isMounted){let{next:wr,bu:Rt,u:Mn,parent:bi,vnode:cs}=ht,ds=wr,ms;oc(ht,!1),wr?(wr.el=cs.el,Bn(ht,wr,Dn)):wr=cs,Rt&&cp(Rt),(ms=wr.props&&wr.props.onVnodeBeforeUpdate)&&gl(ms,bi,wr,cs),oc(ht,!0);const Hi=Wp(ht),Ws=ht.subTree;ht.subTree=Hi,Rr(Ws,Hi,it(Ws.el),cn(Ws),ht,Kr,Ur),wr.el=Hi.el,ds===null&&Xg(ht,Hi.el),Mn&&Zo(Mn,Kr),(ms=wr.props&&wr.props.onVnodeUpdated)&&Zo(()=>gl(ms,bi,wr,cs),Kr)}else{let wr;const{el:Rt,props:Mn}=Ot,{bm:bi,m:cs,parent:ds}=ht,ms=Hc(Ot);if(oc(ht,!1),bi&&cp(bi),!ms&&(wr=Mn&&Mn.onVnodeBeforeMount)&&gl(wr,ds,Ot),oc(ht,!0),Rt&&ri){const Hi=()=>{ht.subTree=Wp(ht),ri(Rt,ht.subTree,ht,Kr,null)};ms?Ot.type.__asyncLoader().then(()=>!ht.isUnmounted&&Hi()):Hi()}else{const Hi=ht.subTree=Wp(ht);Rr(null,Hi,vr,_r,ht,Kr,Ur),Ot.el=Hi.el}if(cs&&Zo(cs,Kr),!ms&&(wr=Mn&&Mn.onVnodeMounted)){const Hi=Ot;Zo(()=>gl(wr,ds,Hi),Kr)}(Ot.shapeFlag&256||ds&&Hc(ds.vnode)&&ds.vnode.shapeFlag&256)&&ht.a&&Zo(ht.a,Kr),ht.isMounted=!0,Ot=vr=_r=null}},dn=ht.effect=new bh(_n,()=>Ph(ct),ht.scope),ct=ht.update=()=>dn.run();ct.id=ht.uid,oc(ht,!0),ct()},Bn=(ht,Ot,vr)=>{Ot.component=ht;const _r=ht.vnode.props;ht.vnode=Ot,ht.next=null,v0(ht,Ot.props,_r,vr),E0(ht,Ot.children,vr),kc(),Zh(),Pc()},ti=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn=!1)=>{const ct=ht&&ht.children,wr=ht?ht.shapeFlag:0,Rt=Ot.children,{patchFlag:Mn,shapeFlag:bi}=Ot;if(Mn>0){if(Mn&128){Cs(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn);return}else if(Mn&256){ts(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn);return}}bi&8?(wr&16&&Dr(ct,Kr,Ur),Rt!==ct&&Oe(vr,Rt)):wr&16?bi&16?Cs(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn):Dr(ct,Kr,Ur,!0):(wr&8&&Oe(vr,""),bi&16&&oi(Rt,vr,_r,Kr,Ur,Dn,_n,dn))},ts=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{ht=ht||yc,Ot=Ot||yc;const ct=ht.length,wr=Ot.length,Rt=Math.min(ct,wr);let Mn;for(Mn=0;Mn<Rt;Mn++){const bi=Ot[Mn]=dn?Kl(Ot[Mn]):yl(Ot[Mn]);Rr(ht[Mn],bi,vr,null,Kr,Ur,Dn,_n,dn)}ct>wr?Dr(ht,Kr,Ur,!0,!1,Rt):oi(Ot,vr,_r,Kr,Ur,Dn,_n,dn,Rt)},Cs=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{let ct=0;const wr=Ot.length;let Rt=ht.length-1,Mn=wr-1;for(;ct<=Rt&&ct<=Mn;){const bi=ht[ct],cs=Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]);if(Mc(bi,cs))Rr(bi,cs,vr,null,Kr,Ur,Dn,_n,dn);else break;ct++}for(;ct<=Rt&&ct<=Mn;){const bi=ht[Rt],cs=Ot[Mn]=dn?Kl(Ot[Mn]):yl(Ot[Mn]);if(Mc(bi,cs))Rr(bi,cs,vr,null,Kr,Ur,Dn,_n,dn);else break;Rt--,Mn--}if(ct>Rt){if(ct<=Mn){const bi=Mn+1,cs=bi<wr?Ot[bi].el:_r;for(;ct<=Mn;)Rr(null,Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]),vr,cs,Kr,Ur,Dn,_n,dn),ct++}}else if(ct>Mn)for(;ct<=Rt;)Zi(ht[ct],Kr,Ur,!0),ct++;else{const bi=ct,cs=ct,ds=new Map;for(ct=cs;ct<=Mn;ct++){const Wr=Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]);Wr.key!=null&&ds.set(Wr.key,ct)}let ms,Hi=0;const Ws=Mn-cs+1;let Vn=!1,Pr=0;const Nr=new Array(Ws);for(ct=0;ct<Ws;ct++)Nr[ct]=0;for(ct=bi;ct<=Rt;ct++){const Wr=ht[ct];if(Hi>=Ws){Zi(Wr,Kr,Ur,!0);continue}let _t;if(Wr.key!=null)_t=ds.get(Wr.key);else for(ms=cs;ms<=Mn;ms++)if(Nr[ms-cs]===0&&Mc(Wr,Ot[ms])){_t=ms;break}_t===void 0?Zi(Wr,Kr,Ur,!0):(Nr[_t-cs]=ct+1,_t>=Pr?Pr=_t:Vn=!0,Rr(Wr,Ot[_t],vr,null,Kr,Ur,Dn,_n,dn),Hi++)}const Lr=Vn?S0(Nr):yc;for(ms=Lr.length-1,ct=Ws-1;ct>=0;ct--){const Wr=cs+ct,_t=Ot[Wr],Wn=Wr+1<wr?Ot[Wr+1].el:_r;Nr[ct]===0?Rr(null,_t,vr,Wn,Kr,Ur,Dn,_n,dn):Vn&&(ms<0||ct!==Lr[ms]?_s(_t,vr,Wn,2):ms--)}}},_s=(ht,Ot,vr,_r,Kr=null)=>{const{el:Ur,type:Dn,transition:_n,children:dn,shapeFlag:ct}=ht;if(ct&6){_s(ht.component.subTree,Ot,vr,_r);return}if(ct&128){ht.suspense.move(Ot,vr,_r);return}if(ct&64){Dn.move(ht,Ot,vr,ui);return}if(Dn===eu){f(Ur,Ot,vr);for(let Rt=0;Rt<dn.length;Rt++)_s(dn[Rt],Ot,vr,_r);f(ht.anchor,Ot,vr);return}if(Dn===Gp){Er(ht,Ot,vr);return}if(_r!==2&&ct&1&&_n)if(_r===0)_n.beforeEnter(Ur),f(Ur,Ot,vr),Zo(()=>_n.enter(Ur),Kr);else{const{leave:Rt,delayLeave:Mn,afterLeave:bi}=_n,cs=()=>f(Ur,Ot,vr),ds=()=>{Rt(Ur,()=>{cs(),bi&&bi()})};Mn?Mn(Ur,cs,ds):ds()}else f(Ur,Ot,vr)},Zi=(ht,Ot,vr,_r=!1,Kr=!1)=>{const{type:Ur,props:Dn,ref:_n,children:dn,dynamicChildren:ct,shapeFlag:wr,patchFlag:Rt,dirs:Mn}=ht;if(_n!=null&&lh(_n,null,vr,ht,!0),wr&256){Ot.ctx.deactivate(ht);return}const bi=wr&1&&Mn,cs=!Hc(ht);let ds;if(cs&&(ds=Dn&&Dn.onVnodeBeforeUnmount)&&gl(ds,Ot,ht),wr&6)Yr(ht.component,vr,_r);else{if(wr&128){ht.suspense.unmount(vr,_r);return}bi&&ac(ht,null,Ot,"beforeUnmount"),wr&64?ht.type.remove(ht,Ot,vr,Kr,ui,_r):ct&&(Ur!==eu||Rt>0&&Rt&64)?Dr(ct,Ot,vr,!1,!0):(Ur===eu&&Rt&384||!Kr&&wr&16)&&Dr(dn,Ot,vr),_r&&ls(ht)}(cs&&(ds=Dn&&Dn.onVnodeUnmounted)||bi)&&Zo(()=>{ds&&gl(ds,Ot,ht),bi&&ac(ht,null,Ot,"unmounted")},vr)},ls=ht=>{const{type:Ot,el:vr,anchor:_r,transition:Kr}=ht;if(Ot===eu){$r(vr,_r);return}if(Ot===Gp){an(ht);return}const Ur=()=>{D(vr),Kr&&!Kr.persisted&&Kr.afterLeave&&Kr.afterLeave()};if(ht.shapeFlag&1&&Kr&&!Kr.persisted){const{leave:Dn,delayLeave:_n}=Kr,dn=()=>Dn(vr,Ur);_n?_n(ht.el,Ur,dn):dn()}else Ur()},$r=(ht,Ot)=>{let vr;for(;ht!==Ot;)vr=gt(ht),D(ht),ht=vr;D(Ot)},Yr=(ht,Ot,vr)=>{const{bum:_r,scope:Kr,update:Ur,subTree:Dn,um:_n}=ht;_r&&cp(_r),Kr.stop(),Ur&&(Ur.active=!1,Zi(Dn,ht,Ot,vr)),_n&&Zo(_n,Ot),Zo(()=>{ht.isUnmounted=!0},Ot),Ot&&Ot.pendingBranch&&!Ot.isUnmounted&&ht.asyncDep&&!ht.asyncResolved&&ht.suspenseId===Ot.pendingId&&(Ot.deps--,Ot.deps===0&&Ot.resolve())},Dr=(ht,Ot,vr,_r=!1,Kr=!1,Ur=0)=>{for(let Dn=Ur;Dn<ht.length;Dn++)Zi(ht[Dn],Ot,vr,_r,Kr)},cn=ht=>ht.shapeFlag&6?cn(ht.component.subTree):ht.shapeFlag&128?ht.suspense.next():gt(ht.anchor||ht.el),Gn=(ht,Ot,vr)=>{ht==null?Ot._vnode&&Zi(Ot._vnode,null,null,!0):Rr(Ot._vnode||null,ht,Ot,null,null,null,vr),Zh(),_d(),Ot._vnode=ht},ui={p:Rr,um:Zi,m:_s,r:ls,mt:Ae,mc:oi,pc:ti,pbc:Un,n:cn,o:s};let zn,ri;return c&&([zn,ri]=c(ui)),{render:Gn,hydrate:zn,createApp:A0(Gn,zn)}}function oc({effect:s,update:c},l){s.allowRecurse=c.allowRecurse=l}function Yd(s,c,l=!1){const f=s.children,D=c.children;if(fs(f)&&fs(D))for(let N=0;N<f.length;N++){const Y=f[N];let pe=D[N];pe.shapeFlag&1&&!pe.dynamicChildren&&((pe.patchFlag<=0||pe.patchFlag===32)&&(pe=D[N]=Kl(D[N]),pe.el=Y.el),l||Yd(Y,pe))}}function S0(s){const c=s.slice(),l=[0];let f,D,N,Y,pe;const ye=s.length;for(f=0;f<ye;f++){const Me=s[f];if(Me!==0){if(D=l[l.length-1],s[D]<Me){c[f]=D,l.push(f);continue}for(N=0,Y=l.length-1;N<Y;)pe=N+Y>>1,s[l[pe]]<Me?N=pe+1:Y=pe;Me<s[l[N]]&&(N>0&&(c[f]=l[N-1]),l[N]=f)}}for(N=l.length,Y=l[N-1];N-- >0;)l[N]=Y,Y=c[Y];return l}const F0=s=>s.__isTeleport,eu=Symbol(void 0),Ih=Symbol(void 0),tc=Symbol(void 0),Gp=Symbol(void 0),$c=[];let Ju=null;function ya(s=!1){$c.push(Ju=s?null:[])}function k0(){$c.pop(),Ju=$c[$c.length-1]||null}let Qc=1;function pf(s){Qc+=s}function Zd(s){return s.dynamicChildren=Qc>0?Ju||yc:null,k0(),Qc>0&&Ju&&Ju.push(s),s}function uo(s,c,l,f,D,N){return Zd(Xi(s,c,l,f,D,N,!0))}function bc(s,c,l,f,D){return Zd(na(s,c,l,f,D,!0))}function Ep(s){return s?s.__v_isVNode===!0:!1}function Mc(s,c){return s.type===c.type&&s.key===c.key}const Mp="__vInternal",em=({key:s})=>s!=null?s:null,hp=({ref:s,ref_key:c,ref_for:l})=>s!=null?io(s)||Na(s)||Ss(s)?{i:Do,r:s,k:c,f:!!l}:s:null;function Xi(s,c=null,l=null,f=0,D=null,N=s===eu?0:1,Y=!1,pe=!1){const ye={__v_isVNode:!0,__v_skip:!0,type:s,props:c,key:c&&em(c),ref:c&&hp(c),scopeId:Ld,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:N,patchFlag:f,dynamicProps:D,dynamicChildren:null,appContext:null};return pe?(Oh(ye,l),N&128&&s.normalize(ye)):l&&(ye.shapeFlag|=io(l)?8:16),Qc>0&&!Y&&Ju&&(ye.patchFlag>0||N&6)&&ye.patchFlag!==32&&Ju.push(ye),ye}const na=P0;function P0(s,c=null,l=null,f=0,D=null,N=!1){if((!s||s===c0)&&(s=tc),Ep(s)){const pe=Ac(s,c,!0);return l&&Oh(pe,l),Qc>0&&!N&&Ju&&(pe.shapeFlag&6?Ju[Ju.indexOf(s)]=pe:Ju.push(pe)),pe.patchFlag|=-2,pe}if(z0(s)&&(s=s.__vccOpts),c){c=N0(c);let{class:pe,style:ye}=c;pe&&!io(pe)&&(c.class=Cc(pe)),pa(ye)&&(Ad(ye)&&!fs(ye)&&(ye=No({},ye)),c.style=ep(ye))}const Y=io(s)?1:Jg(s)?128:F0(s)?64:pa(s)?4:Ss(s)?2:0;return Xi(s,c,l,f,D,Y,N,!0)}function N0(s){return s?Ad(s)||Mp in s?No({},s):s:null}function Ac(s,c,l=!1){const{props:f,ref:D,patchFlag:N,children:Y}=s,pe=c?B0(f||{},c):f;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:pe,key:pe&&em(pe),ref:c&&c.ref?l&&D?fs(D)?D.concat(hp(c)):[D,hp(c)]:hp(c):D,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:Y,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:c&&s.type!==eu?N===-1?16:N|16:N,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Ac(s.ssContent),ssFallback:s.ssFallback&&Ac(s.ssFallback),el:s.el,anchor:s.anchor}}function Gu(s=" ",c=0){return na(Ih,null,s,c)}function bp(s="",c=!1){return c?(ya(),bc(tc,null,s)):na(tc,null,s)}function yl(s){return s==null||typeof s=="boolean"?na(tc):fs(s)?na(eu,null,s.slice()):typeof s=="object"?Kl(s):na(Ih,null,String(s))}function Kl(s){return s.el===null||s.memo?s:Ac(s)}function Oh(s,c){let l=0;const{shapeFlag:f}=s;if(c==null)c=null;else if(fs(c))l=16;else if(typeof c=="object")if(f&65){const D=c.default;D&&(D._c&&(D._d=!1),Oh(s,D()),D._c&&(D._d=!0));return}else{l=32;const D=c._;!D&&!(Mp in c)?c._ctx=Do:D===3&&Do&&(Do.slots._===1?c._=1:(c._=2,s.patchFlag|=1024))}else Ss(c)?(c={default:c,_ctx:Do},l=32):(c=String(c),f&64?(l=16,c=[Gu(c)]):l=8);s.children=c,s.shapeFlag|=l}function B0(...s){const c={};for(let l=0;l<s.length;l++){const f=s[l];for(const D in f)if(D==="class")c.class!==f.class&&(c.class=Cc([c.class,f.class]));else if(D==="style")c.style=ep([c.style,f.style]);else if(Fp(D)){const N=c[D],Y=f[D];Y&&N!==Y&&!(fs(N)&&N.includes(Y))&&(c[D]=N?[].concat(N,Y):Y)}else D!==""&&(c[D]=f[D])}return c}function gl(s,c,l,f=null){Qu(s,c,7,[l,f])}const _0=Qd();let I0=0;function O0(s,c,l){const f=s.type,D=(c?c.appContext:s.appContext)||_0,N={uid:I0++,vnode:s,type:f,parent:c,appContext:D,root:null,next:null,subTree:null,effect:null,update:null,scope:new rg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:c?c.provides:Object.create(D.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Gd(f,D),emitsOptions:Od(f,D),emit:null,emitted:null,propsDefaults:ua,inheritAttrs:f.inheritAttrs,ctx:ua,data:ua,props:ua,attrs:ua,slots:ua,refs:ua,setupState:ua,setupContext:null,suspense:l,suspenseId:l?l.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return N.ctx={_:N},N.root=c?c.root:N,N.emit=qg.bind(null,N),s.ce&&s.ce(N),N}let no=null;const Lh=()=>no||Do,wc=s=>{no=s,s.scope.on()},fc=()=>{no&&no.scope.off(),no=null};function tm(s){return s.vnode.shapeFlag&4}let Yc=!1;function L0(s,c=!1){Yc=c;const{props:l,children:f}=s.vnode,D=tm(s);D0(s,l,D,c),C0(s,f);const N=D?M0(s,c):void 0;return Yc=!1,N}function M0(s,c){const l=s.type;s.accessCache=Object.create(null),s.proxy=wd(new Proxy(s.ctx,h0));const{setup:f}=l;if(f){const D=s.setupContext=f.length>1?R0(s):null;wc(s),kc();const N=Zl(f,s,0,[s.props,D]);if(Pc(),fc(),cd(N)){if(N.then(fc,fc),c)return N.then(Y=>{hf(s,Y,c)}).catch(Y=>{_p(Y,s,0)});s.asyncDep=N}else hf(s,N,c)}else rm(s,c)}function hf(s,c,l){Ss(c)?s.type.__ssrInlineRender?s.ssrRender=c:s.render=c:pa(c)&&(s.setupState=kd(c)),rm(s,l)}let ff;function rm(s,c,l){const f=s.type;if(!s.render){if(!c&&ff&&!f.render){const D=f.template;if(D){const{isCustomElement:N,compilerOptions:Y}=s.appContext.config,{delimiters:pe,compilerOptions:ye}=f,Me=No(No({isCustomElement:N,delimiters:pe},Y),ye);f.render=ff(D,Me)}}s.render=f.render||Ku}wc(s),kc(),f0(s),Pc(),fc()}function j0(s){return new Proxy(s.attrs,{get(c,l){return fu(s,"get","$attrs"),c[l]}})}function R0(s){const c=f=>{s.exposed=f||{}};let l;return{get attrs(){return l||(l=j0(s))},slots:s.slots,emit:s.emit,expose:c}}function jp(s){if(s.exposed)return s.exposeProxy||(s.exposeProxy=new Proxy(kd(wd(s.exposed)),{get(c,l){if(l in c)return c[l];if(l in xp)return xp[l](s)}}))}function U0(s,c=!0){return Ss(s)?s.displayName||s.name:s.name||c&&s.__name}function z0(s){return Ss(s)&&"__vccOpts"in s}const ea=(s,c)=>jg(s,c,Yc);function Mh(s,c,l){const f=arguments.length;return f===2?pa(c)&&!fs(c)?Ep(c)?na(s,null,[c]):na(s,c):na(s,null,c):(f>3?l=Array.prototype.slice.call(arguments,2):f===3&&Ep(l)&&(l=[l]),na(s,c,l))}const H0="3.2.38",$0="http://www.w3.org/2000/svg",cc=typeof document<"u"?document:null,df=cc&&cc.createElement("template"),q0={insert:(s,c,l)=>{c.insertBefore(s,l||null)},remove:s=>{const c=s.parentNode;c&&c.removeChild(s)},createElement:(s,c,l,f)=>{const D=c?cc.createElementNS($0,s):cc.createElement(s,l?{is:l}:void 0);return s==="select"&&f&&f.multiple!=null&&D.setAttribute("multiple",f.multiple),D},createText:s=>cc.createTextNode(s),createComment:s=>cc.createComment(s),setText:(s,c)=>{s.nodeValue=c},setElementText:(s,c)=>{s.textContent=c},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>cc.querySelector(s),setScopeId(s,c){s.setAttribute(c,"")},cloneNode(s){const c=s.cloneNode(!0);return"_value"in s&&(c._value=s._value),c},insertStaticContent(s,c,l,f,D,N){const Y=l?l.previousSibling:c.lastChild;if(D&&(D===N||D.nextSibling))for(;c.insertBefore(D.cloneNode(!0),l),!(D===N||!(D=D.nextSibling)););else{df.innerHTML=f?`<svg>${s}</svg>`:s;const pe=df.content;if(f){const ye=pe.firstChild;for(;ye.firstChild;)pe.appendChild(ye.firstChild);pe.removeChild(ye)}c.insertBefore(pe,l)}return[Y?Y.nextSibling:c.firstChild,l?l.previousSibling:c.lastChild]}};function V0(s,c,l){const f=s._vtc;f&&(c=(c?[c,...f]:[...f]).join(" ")),c==null?s.removeAttribute("class"):l?s.setAttribute("class",c):s.className=c}function W0(s,c,l){const f=s.style,D=io(l);if(l&&!D){for(const N in l)ch(f,N,l[N]);if(c&&!io(c))for(const N in c)l[N]==null&&ch(f,N,"")}else{const N=f.display;D?c!==l&&(f.cssText=l):c&&s.removeAttribute("style"),"_vod"in s&&(f.display=N)}}const mf=/\s*!important$/;function ch(s,c,l){if(fs(l))l.forEach(f=>ch(s,c,f));else if(l==null&&(l=""),c.startsWith("--"))s.setProperty(c,l);else{const f=G0(s,c);mf.test(l)?s.setProperty(Fc(f),l.replace(mf,""),"important"):s[f]=l}}const gf=["Webkit","Moz","ms"],Xp={};function G0(s,c){const l=Xp[c];if(l)return l;let f=vl(c);if(f!=="filter"&&f in s)return Xp[c]=f;f=Np(f);for(let D=0;D<gf.length;D++){const N=gf[D]+f;if(N in s)return Xp[c]=N}return c}const yf="http://www.w3.org/1999/xlink";function X0(s,c,l,f,D){if(f&&c.startsWith("xlink:"))l==null?s.removeAttributeNS(yf,c.slice(6,c.length)):s.setAttributeNS(yf,c,l);else{const N=$m(c);l==null||N&&!od(l)?s.removeAttribute(c):s.setAttribute(c,N?"":l)}}function J0(s,c,l,f,D,N,Y){if(c==="innerHTML"||c==="textContent"){f&&Y(f,D,N),s[c]=l==null?"":l;return}if(c==="value"&&s.tagName!=="PROGRESS"&&!s.tagName.includes("-")){s._value=l;const ye=l==null?"":l;(s.value!==ye||s.tagName==="OPTION")&&(s.value=ye),l==null&&s.removeAttribute(c);return}let pe=!1;if(l===""||l==null){const ye=typeof s[c];ye==="boolean"?l=od(l):l==null&&ye==="string"?(l="",pe=!0):ye==="number"&&(l=0,pe=!0)}try{s[c]=l}catch{}pe&&s.removeAttribute(c)}const[nm,K0]=(()=>{let s=Date.now,c=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(s=performance.now.bind(performance));const l=navigator.userAgent.match(/firefox\/(\d+)/i);c=!!(l&&Number(l[1])<=53)}return[s,c]})();let ph=0;const Q0=Promise.resolve(),Y0=()=>{ph=0},Z0=()=>ph||(Q0.then(Y0),ph=nm());function im(s,c,l,f){s.addEventListener(c,l,f)}function ey(s,c,l,f){s.removeEventListener(c,l,f)}function ty(s,c,l,f,D=null){const N=s._vei||(s._vei={}),Y=N[c];if(f&&Y)Y.value=f;else{const[pe,ye]=ry(c);if(f){const Me=N[c]=ny(f,D);im(s,pe,Me,ye)}else Y&&(ey(s,pe,Y,ye),N[c]=void 0)}}const Df=/(?:Once|Passive|Capture)$/;function ry(s){let c;if(Df.test(s)){c={};let f;for(;f=s.match(Df);)s=s.slice(0,s.length-f[0].length),c[f[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):Fc(s.slice(2)),c]}function ny(s,c){const l=f=>{const D=f.timeStamp||nm();(K0||D>=l.attached-1)&&Qu(iy(f,l.value),c,5,[f])};return l.value=s,l.attached=Z0(),l}function iy(s,c){if(fs(c)){const l=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{l.call(s),s._stopped=!0},c.map(f=>D=>!D._stopped&&f&&f(D))}else return c}const vf=/^on[a-z]/,sy=(s,c,l,f,D=!1,N,Y,pe,ye)=>{c==="class"?V0(s,f,D):c==="style"?W0(s,l,f):Fp(c)?vh(c)||ty(s,c,l,f,Y):(c[0]==="."?(c=c.slice(1),!0):c[0]==="^"?(c=c.slice(1),!1):ay(s,c,f,D))?J0(s,c,f,N,Y,pe,ye):(c==="true-value"?s._trueValue=f:c==="false-value"&&(s._falseValue=f),X0(s,c,f,D))};function ay(s,c,l,f){return f?!!(c==="innerHTML"||c==="textContent"||c in s&&vf.test(c)&&Ss(l)):c==="spellcheck"||c==="draggable"||c==="translate"||c==="form"||c==="list"&&s.tagName==="INPUT"||c==="type"&&s.tagName==="TEXTAREA"||vf.test(c)&&io(l)?!1:c in s}const xf=s=>{const c=s.props["onUpdate:modelValue"]||!1;return fs(c)?l=>cp(c,l):c},oy={deep:!0,created(s,c,l){s._assign=xf(l),im(s,"change",()=>{const f=s._modelValue,D=uy(s),N=s.checked,Y=s._assign;if(fs(f)){const pe=ud(f,D),ye=pe!==-1;if(N&&!ye)Y(f.concat(D));else if(!N&&ye){const Me=[...f];Me.splice(pe,1),Y(Me)}}else if(kp(f)){const pe=new Set(f);N?pe.add(D):pe.delete(D),Y(pe)}else Y(sm(s,N))})},mounted:Cf,beforeUpdate(s,c,l){s._assign=xf(l),Cf(s,c,l)}};function Cf(s,{value:c,oldValue:l},f){s._modelValue=c,fs(c)?s.checked=ud(c,f.props.value)>-1:kp(c)?s.checked=c.has(f.props.value):c!==l&&(s.checked=Sp(c,sm(s,!0)))}function uy(s){return"_value"in s?s._value:s.value}function sm(s,c){const l=c?"_trueValue":"_falseValue";return l in s?s[l]:c}const ly=No({patchProp:sy},q0);let Ef;function cy(){return Ef||(Ef=w0(ly))}const py=(...s)=>{const c=cy().createApp(...s),{mount:l}=c;return c.mount=f=>{const D=hy(f);if(!D)return;const N=c._component;!Ss(N)&&!N.render&&!N.template&&(N.template=D.innerHTML),D.innerHTML="";const Y=l(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),Y},c};function hy(s){return io(s)?document.querySelector(s):s}var bf;const Bc=typeof window<"u",fy=s=>typeof s<"u",am=s=>typeof s=="function",dy=s=>typeof s=="string",fp=()=>{};Bc&&((bf=window==null?void 0:window.navigator)==null?void 0:bf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Po(s){return typeof s=="function"?s():ws(s)}function om(s,c){function l(...f){s(()=>c.apply(this,f),{fn:c,thisArg:this,args:f})}return l}const um=s=>s();function my(s,c={}){let l,f;return N=>{const Y=Po(s),pe=Po(c.maxWait);if(l&&clearTimeout(l),Y<=0||pe!==void 0&&pe<=0)return f&&(clearTimeout(f),f=null),N();pe&&!f&&(f=setTimeout(()=>{l&&clearTimeout(l),f=null,N()},pe)),l=setTimeout(()=>{f&&clearTimeout(f),f=null,N()},Y)}}function gy(s=um){const c=Ba(!0);function l(){c.value=!1}function f(){c.value=!0}return{isActive:c,pause:l,resume:f,eventFilter:(...N)=>{c.value&&s(...N)}}}function Af(s,c=!1,l="Timeout"){return new Promise((f,D)=>{setTimeout(c?()=>D(l):f,s)})}function yy(s){return s}function Dy(s,...c){return c.some(l=>l in s)}function qc(){const s=[],c=D=>{const N=s.indexOf(D);N!==-1&&s.splice(N,1)};return{on:D=>(s.push(D),{off:()=>c(D)}),off:c,trigger:D=>{s.forEach(N=>N(D))}}}function Rp(s){return ig()?(sg(s),!0):!1}function vy(s,c=200,l={}){return om(my(c,l),s)}function xy(s,c=200,l={}){if(c<=0)return s;const f=Ba(s.value),D=vy(()=>{f.value=s.value},c,l);return Ya(s,()=>D()),f}function Jp(s){return typeof s=="function"?ea(s):Ba(s)}function Cy(s,c=!0){Lh()?Ud(s):c?s():Ip(s)}function lm(s,c=!0){Lh()?Bh(s):c?s():Ip(s)}function Ey(s){let c=!1;function l(it,{flush:gt="sync",deep:St=!1,timeout:Wt,throwOnTimeout:ar}={}){let Rr=null;const It=[new Promise(qt=>{Rr=Ya(s,Er=>{it(Er)!==c&&(Rr==null||Rr(),qt(Er))},{flush:gt,deep:St,immediate:!0})})];return Wt!=null&&It.push(Af(Wt,ar).then(()=>Po(s)).finally(()=>Rr==null?void 0:Rr())),Promise.race(It)}function f(it,gt){if(!Na(it))return l(Er=>Er===it,gt);const{flush:St="sync",deep:Wt=!1,timeout:ar,throwOnTimeout:Rr}=gt!=null?gt:{};let At=null;const qt=[new Promise(Er=>{At=Ya([s,it],([an,Jn])=>{c!==(an===Jn)&&(At==null||At(),Er(an))},{flush:St,deep:Wt,immediate:!0})})];return ar!=null&&qt.push(Af(ar,Rr).then(()=>Po(s)).finally(()=>(At==null||At(),Po(s)))),Promise.race(qt)}function D(it){return l(gt=>Boolean(gt),it)}function N(it){return f(null,it)}function Y(it){return f(void 0,it)}function pe(it){return l(Number.isNaN,it)}function ye(it,gt){return l(St=>{const Wt=Array.from(St);return Wt.includes(it)||Wt.includes(Po(it))},gt)}function Me(it){return Oe(1,it)}function Oe(it=1,gt){let St=-1;return l(()=>(St+=1,St>=it),gt)}return Array.isArray(Po(s))?{toMatch:l,toContains:ye,changed:Me,changedTimes:Oe,get not(){return c=!c,this}}:{toMatch:l,toBe:f,toBeTruthy:D,toBeNull:N,toBeNaN:pe,toBeUndefined:Y,changed:Me,changedTimes:Oe,get not(){return c=!c,this}}}function by(s,c,l={}){const{immediate:f=!0}=l,D=Ba(!1);let N=null;function Y(){N&&(clearTimeout(N),N=null)}function pe(){D.value=!1,Y()}function ye(...Me){Y(),D.value=!0,N=setTimeout(()=>{D.value=!1,N=null,s(...Me)},Po(c))}return f&&(D.value=!0,Bc&&ye()),Rp(pe),{isPending:D,start:ye,stop:pe}}function Ay(s=!1,c={}){const{truthyValue:l=!0,falsyValue:f=!1}=c,D=Na(s),N=Ba(s);function Y(pe){if(arguments.length)return N.value=pe,N.value;{const ye=Po(l);return N.value=N.value===ye?Po(f):ye,N.value}}return D?Y:[N,Y]}var wf=Object.getOwnPropertySymbols,wy=Object.prototype.hasOwnProperty,Ty=Object.prototype.propertyIsEnumerable,Sy=(s,c)=>{var l={};for(var f in s)wy.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&wf)for(var f of wf(s))c.indexOf(f)<0&&Ty.call(s,f)&&(l[f]=s[f]);return l};function Fy(s,c,l={}){const f=l,{eventFilter:D=um}=f,N=Sy(f,["eventFilter"]);return Ya(s,om(D,c),N)}var ky=Object.defineProperty,Py=Object.defineProperties,Ny=Object.getOwnPropertyDescriptors,Ap=Object.getOwnPropertySymbols,cm=Object.prototype.hasOwnProperty,pm=Object.prototype.propertyIsEnumerable,Tf=(s,c,l)=>c in s?ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,By=(s,c)=>{for(var l in c||(c={}))cm.call(c,l)&&Tf(s,l,c[l]);if(Ap)for(var l of Ap(c))pm.call(c,l)&&Tf(s,l,c[l]);return s},_y=(s,c)=>Py(s,Ny(c)),Iy=(s,c)=>{var l={};for(var f in s)cm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Ap)for(var f of Ap(s))c.indexOf(f)<0&&pm.call(s,f)&&(l[f]=s[f]);return l};function Oy(s,c,l={}){const f=l,{eventFilter:D}=f,N=Iy(f,["eventFilter"]),{eventFilter:Y,pause:pe,resume:ye,isActive:Me}=gy(D);return{stop:Fy(s,c,_y(By({},N),{eventFilter:Y})),pause:pe,resume:ye,isActive:Me}}function px(s,c,l){let f;Na(l)?f={evaluating:l}:f=l||{};const{lazy:D=!1,evaluating:N=void 0,onError:Y=fp}=f,pe=Ba(!D),ye=Ba(c);let Me=0;return Qg(async Oe=>{if(!pe.value)return;Me++;const it=Me;let gt=!1;N&&Promise.resolve().then(()=>{N.value=!0});try{const St=await s(Wt=>{Oe(()=>{N&&(N.value=!1),gt||Wt()})});it===Me&&(ye.value=St)}catch(St){Y(St)}finally{N&&it===Me&&(N.value=!1),gt=!0}}),D?ea(()=>(pe.value=!0,ye.value)):ye}function jh(s){var c;const l=Po(s);return(c=l==null?void 0:l.$el)!=null?c:l}const zl=Bc?window:void 0;Bc&&window.document;Bc&&window.navigator;Bc&&window.location;function Ly(...s){let c,l,f,D;if(dy(s[0])?([l,f,D]=s,c=zl):[c,l,f,D]=s,!c)return fp;let N=fp;const Y=Ya(()=>jh(c),ye=>{N(),ye&&(ye.addEventListener(l,f,D),N=()=>{ye.removeEventListener(l,f,D),N=fp})},{immediate:!0,flush:"post"}),pe=()=>{Y(),N()};return Rp(pe),pe}function hm(s,c=!1){const l=Ba(),f=()=>l.value=Boolean(s());return f(),lm(f,c),l}function My(s,c={}){const{window:l=zl}=c,f=hm(()=>l&&"matchMedia"in l&&typeof l.matchMedia=="function");let D;const N=Ba(!1),Y=()=>{!f.value||(D||(D=l.matchMedia(s)),N.value=D.matches)};return Cy(()=>{Y(),D&&("addEventListener"in D?D.addEventListener("change",Y):D.addListener(Y),Rp(()=>{"removeEventListener"in D?D.removeEventListener("change",Y):D.removeListener(Y)}))}),N}function jy(s){return JSON.parse(JSON.stringify(s))}const hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fh="__vueuse_ssr_handlers__";hh[fh]=hh[fh]||{};const Ry=hh[fh];function fm(s,c){return Ry[s]||c}function Uy(s){return s==null?"any":s instanceof Set?"set":s instanceof Map?"map":s instanceof Date?"date":typeof s=="boolean"?"boolean":typeof s=="string"?"string":typeof s=="object"||Array.isArray(s)?"object":Number.isNaN(s)?"any":"number"}var zy=Object.defineProperty,Sf=Object.getOwnPropertySymbols,Hy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,Ff=(s,c,l)=>c in s?zy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,kf=(s,c)=>{for(var l in c||(c={}))Hy.call(c,l)&&Ff(s,l,c[l]);if(Sf)for(var l of Sf(c))$y.call(c,l)&&Ff(s,l,c[l]);return s};const qy={boolean:{read:s=>s==="true",write:s=>String(s)},object:{read:s=>JSON.parse(s),write:s=>JSON.stringify(s)},number:{read:s=>Number.parseFloat(s),write:s=>String(s)},any:{read:s=>s,write:s=>String(s)},string:{read:s=>s,write:s=>String(s)},map:{read:s=>new Map(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s.entries()))},set:{read:s=>new Set(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s))},date:{read:s=>new Date(s),write:s=>s.toISOString()}};function dm(s,c,l,f={}){var D;const{flush:N="pre",deep:Y=!0,listenToStorageChanges:pe=!0,writeDefaults:ye=!0,mergeDefaults:Me=!1,shallow:Oe,window:it=zl,eventFilter:gt,onError:St=An=>{console.error(An)}}=f,Wt=(Oe?zc:Ba)(c);if(!l)try{l=fm("getDefaultStorage",()=>{var An;return(An=zl)==null?void 0:An.localStorage})()}catch(An){St(An)}if(!l)return Wt;const ar=Po(c),Rr=Uy(ar),At=(D=f.serializer)!=null?D:qy[Rr],{pause:It,resume:qt}=Oy(Wt,()=>Er(Wt.value),{flush:N,deep:Y,eventFilter:gt});return it&&pe&&Ly(it,"storage",Jn),Jn(),Wt;function Er(An){try{An==null?l.removeItem(s):l.setItem(s,At.write(An))}catch(mi){St(mi)}}function an(An){if(!(An&&An.key!==s)){It();try{const mi=An?An.newValue:l.getItem(s);if(mi==null)return ye&&ar!==null&&l.setItem(s,At.write(ar)),ar;if(!An&&Me){const oi=At.read(mi);return am(Me)?Me(oi,ar):Rr==="object"&&!Array.isArray(oi)?kf(kf({},ar),oi):oi}else return typeof mi!="string"?mi:At.read(mi)}catch(mi){St(mi)}finally{qt()}}}function Jn(An){An&&An.key!==s||(Wt.value=an(An))}}function mm(s){return My("(prefers-color-scheme: dark)",s)}var Vy=Object.defineProperty,Pf=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,Gy=Object.prototype.propertyIsEnumerable,Nf=(s,c,l)=>c in s?Vy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Xy=(s,c)=>{for(var l in c||(c={}))Wy.call(c,l)&&Nf(s,l,c[l]);if(Pf)for(var l of Pf(c))Gy.call(c,l)&&Nf(s,l,c[l]);return s};function Jy(s={}){const{selector:c="html",attribute:l="class",initialValue:f="auto",window:D=zl,storage:N,storageKey:Y="vueuse-color-scheme",listenToStorageChanges:pe=!0,storageRef:ye,emitAuto:Me}=s,Oe=Xy({auto:"",light:"light",dark:"dark"},s.modes||{}),it=mm({window:D}),gt=ea(()=>it.value?"dark":"light"),St=ye||(Y==null?Ba(f):dm(Y,f,N,{window:D,listenToStorageChanges:pe})),Wt=ea({get(){return St.value==="auto"&&!Me?gt.value:St.value},set(It){St.value=It}}),ar=fm("updateHTMLAttrs",(It,qt,Er)=>{const an=D==null?void 0:D.document.querySelector(It);if(!!an)if(qt==="class"){const Jn=Er.split(/\s/g);Object.values(Oe).flatMap(An=>(An||"").split(/\s/g)).filter(Boolean).forEach(An=>{Jn.includes(An)?an.classList.add(An):an.classList.remove(An)})}else an.setAttribute(qt,Er)});function Rr(It){var qt;const Er=It==="auto"?gt.value:It;ar(c,l,(qt=Oe[Er])!=null?qt:Er)}function At(It){s.onChanged?s.onChanged(It,Rr):Rr(It)}return Ya(Wt,At,{flush:"post",immediate:!0}),Me&&Ya(gt,()=>At(Wt.value),{flush:"post"}),lm(()=>At(Wt.value)),Wt}var Ky=Object.defineProperty,Qy=Object.defineProperties,Yy=Object.getOwnPropertyDescriptors,Bf=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,eD=Object.prototype.propertyIsEnumerable,_f=(s,c,l)=>c in s?Ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,tD=(s,c)=>{for(var l in c||(c={}))Zy.call(c,l)&&_f(s,l,c[l]);if(Bf)for(var l of Bf(c))eD.call(c,l)&&_f(s,l,c[l]);return s},rD=(s,c)=>Qy(s,Yy(c));function nD(s={}){const{valueDark:c="dark",valueLight:l="",window:f=zl}=s,D=Jy(rD(tD({},s),{onChanged:(pe,ye)=>{var Me;s.onChanged?(Me=s.onChanged)==null||Me.call(s,pe==="dark"):ye(pe)},modes:{dark:c,light:l}})),N=mm({window:f});return ea({get(){return D.value==="dark"},set(pe){pe===N.value?D.value="auto":D.value=pe?"dark":"light"}})}var If=Object.getOwnPropertySymbols,iD=Object.prototype.hasOwnProperty,sD=Object.prototype.propertyIsEnumerable,aD=(s,c)=>{var l={};for(var f in s)iD.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&If)for(var f of If(s))c.indexOf(f)<0&&sD.call(s,f)&&(l[f]=s[f]);return l};function oD(s,c,l={}){const f=l,{window:D=zl}=f,N=aD(f,["window"]);let Y;const pe=hm(()=>D&&"ResizeObserver"in D),ye=()=>{Y&&(Y.disconnect(),Y=void 0)},Me=Ya(()=>jh(s),it=>{ye(),pe.value&&D&&it&&(Y=new ResizeObserver(c),Y.observe(it,N))},{immediate:!0,flush:"post"}),Oe=()=>{ye(),Me()};return Rp(Oe),{isSupported:pe,stop:Oe}}var uD=Object.defineProperty,lD=Object.defineProperties,cD=Object.getOwnPropertyDescriptors,Of=Object.getOwnPropertySymbols,pD=Object.prototype.hasOwnProperty,hD=Object.prototype.propertyIsEnumerable,Lf=(s,c,l)=>c in s?uD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Yo=(s,c)=>{for(var l in c||(c={}))pD.call(c,l)&&Lf(s,l,c[l]);if(Of)for(var l of Of(c))hD.call(c,l)&&Lf(s,l,c[l]);return s},jc=(s,c)=>lD(s,cD(c));const fD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function Mf(s){return Dy(s,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Kp(s){return typeof Headers<"u"&&s instanceof Headers?Object.fromEntries([...s.entries()]):s}function Up(s,...c){var l;const f=typeof AbortController=="function";let D={},N={immediate:!0,refetch:!1,timeout:0};const Y={method:"GET",type:"text",payload:void 0};c.length>0&&(Mf(c[0])?N=Yo(Yo({},N),c[0]):D=c[0]),c.length>1&&Mf(c[1])&&(N=Yo(Yo({},N),c[1]));const{fetch:pe=(l=zl)==null?void 0:l.fetch,initialData:ye,timeout:Me}=N,Oe=qc(),it=qc(),gt=qc(),St=Ba(!1),Wt=Ba(!1),ar=Ba(!1),Rr=Ba(null),At=zc(null),It=zc(null),qt=zc(ye),Er=ea(()=>f&&Wt.value);let an,Jn;const An=()=>{f&&an&&an.abort()},mi=Ae=>{Wt.value=Ae,St.value=!Ae};Me&&(Jn=by(An,Me,{immediate:!1}));const oi=async(Ae=!1)=>{var rn;mi(!0),It.value=null,Rr.value=null,ar.value=!1,an=void 0,f&&(an=new AbortController,an.signal.onabort=()=>ar.value=!0,D=jc(Yo({},D),{signal:an.signal}));const or={method:Y.method,headers:{}};if(Y.payload){const Cs=Kp(or.headers);Y.payloadType&&(Cs["Content-Type"]=(rn=fD[Y.payloadType])!=null?rn:Y.payloadType);const _s=Po(Y.payload);or.body=Y.payloadType==="json"?JSON.stringify(_s):_s}let Bn=!1;const ti={url:Po(s),options:Yo(Yo({},or),D),cancel:()=>{Bn=!0}};if(N.beforeFetch&&Object.assign(ti,await N.beforeFetch(ti)),Bn||!pe)return mi(!1),Promise.resolve(null);let ts=null;return Jn&&Jn.start(),new Promise((Cs,_s)=>{var Zi;pe(ti.url,jc(Yo(Yo({},or),ti.options),{headers:Yo(Yo({},Kp(or.headers)),Kp((Zi=ti.options)==null?void 0:Zi.headers))})).then(async ls=>{if(At.value=ls,Rr.value=ls.status,ts=await ls[Y.type](),N.afterFetch&&Rr.value>=200&&Rr.value<300&&({data:ts}=await N.afterFetch({data:ts,response:ls})),qt.value=ts,!ls.ok)throw new Error(ls.statusText);return Oe.trigger(ls),Cs(ls)}).catch(async ls=>{let $r=ls.message||ls.name;return N.onFetchError&&({data:ts,error:$r}=await N.onFetchError({data:ts,error:ls,response:At.value})),qt.value=ts,It.value=$r,it.trigger(ls),Ae?_s(ls):Cs(null)}).finally(()=>{mi(!1),Jn&&Jn.stop(),gt.trigger(null)})})},Xn=Jp(N.refetch);Ya([Xn,Jp(s)],([Ae])=>Ae&&oi(),{deep:!0});const Un={isFinished:St,statusCode:Rr,response:At,error:It,data:qt,isFetching:Wt,canAbort:Er,aborted:ar,abort:An,execute:oi,onFetchResponse:Oe.on,onFetchError:it.on,onFetchFinally:gt.on,get:gi("GET"),put:gi("PUT"),post:gi("POST"),delete:gi("DELETE"),patch:gi("PATCH"),head:gi("HEAD"),options:gi("OPTIONS"),json:Nn("json"),text:Nn("text"),blob:Nn("blob"),arrayBuffer:Nn("arrayBuffer"),formData:Nn("formData")};function gi(Ae){return(rn,or)=>{if(!Wt.value){Y.method=Ae,Y.payload=rn,Y.payloadType=or,Na(Y.payload)&&Ya([Xn,Jp(Y.payload)],([ti])=>ti&&oi(),{deep:!0});const Bn=Po(Y.payload);return!or&&Bn&&Object.getPrototypeOf(Bn)===Object.prototype&&(Y.payloadType="json"),jc(Yo({},Un),{then(ti,ts){return xr().then(ti,ts)}})}}}function xr(){return new Promise((Ae,rn)=>{Ey(St).toBe(!0).then(()=>Ae(Un)).catch(or=>rn(or))})}function Nn(Ae){return()=>{if(!Wt.value)return Y.type=Ae,jc(Yo({},Un),{then(rn,or){return xr().then(rn,or)}})}}return N.immediate&&setTimeout(oi,0),jc(Yo({},Un),{then(Ae,rn){return xr().then(Ae,rn)}})}function hx(s,c,l={}){const{window:f=zl}=l;return dm(s,c,f==null?void 0:f.localStorage,l)}var jf;(function(s){s.UP="UP",s.RIGHT="RIGHT",s.DOWN="DOWN",s.LEFT="LEFT",s.NONE="NONE"})(jf||(jf={}));var dD=Object.defineProperty,Rf=Object.getOwnPropertySymbols,mD=Object.prototype.hasOwnProperty,gD=Object.prototype.propertyIsEnumerable,Uf=(s,c,l)=>c in s?dD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,yD=(s,c)=>{for(var l in c||(c={}))mD.call(c,l)&&Uf(s,l,c[l]);if(Rf)for(var l of Rf(c))gD.call(c,l)&&Uf(s,l,c[l]);return s};const DD={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};yD({linear:yy},DD);function vD(s,c,l,f={}){var D,N,Y;const{clone:pe=!1,passive:ye=!1,eventName:Me,deep:Oe=!1,defaultValue:it}=f,gt=Lh(),St=l||(gt==null?void 0:gt.emit)||((D=gt==null?void 0:gt.$emit)==null?void 0:D.bind(gt))||((Y=(N=gt==null?void 0:gt.proxy)==null?void 0:N.$emit)==null?void 0:Y.bind(gt==null?void 0:gt.proxy));let Wt=Me;c||(c="modelValue"),Wt=Me||Wt||`update:${c.toString()}`;const ar=At=>pe?am(pe)?pe(At):jy(At):At,Rr=()=>fy(s[c])?ar(s[c]):it;if(ye){const At=Rr(),It=Ba(At);return Ya(()=>s[c],qt=>It.value=ar(qt)),Ya(It,qt=>{(qt!==s[c]||Oe)&&St(Wt,qt)},{deep:Oe}),It}else return ea({get(){return Rr()},set(At){St(Wt,At)}})}function xD(s){const c=s.length;let l=-1,f,D="";const N=s.charCodeAt(0);for(;++l<c;){if(f=s.charCodeAt(l),f===0){D+="\uFFFD";continue}if(f===44){D+="\\,";continue}if(f>=1&&f<=31||f===127||l===0&&f>=48&&f<=57||l===1&&f>=48&&f<=57&&N===45){D+=`\\${f.toString(16)} `;continue}if(l===0&&c===1&&f===45){D+=`\\${s.charAt(l)}`;continue}if(f>=128||f===45||f===95||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122){D+=s.charAt(l);continue}D+=`\\${s.charAt(l)}`}return D}const zf=xD,CD=/^\[(.+?)~?="(.*)"\]$/,ED=/[\w\u00A0-\uFFFF-_:%-?]/;function bD(s){return s.match(CD)}function fx(s=""){return ED.test(s)}const AD=/((?:[!\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function wD(s,c,l=!1){const f=[],D=[],N=new Set;Array.from(c).forEach(pe=>{const ye=bD(pe);ye?ye[2]?D.push(ye):N.add(ye[1]):N.add(pe)});let Y=0;return s.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(pe=>{const ye=Y+pe.length;N.has(pe)&&f.push([Y,ye,pe]),Y=ye}),l&&Array.from(s.matchAll(AD)).forEach(pe=>{const[,ye,Me,Oe]=pe;let gt=pe.index+ye.length+Me.length+1;Oe.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(St=>{const Wt=gt+St.length,ar=ye+Me+St;if(N.has(ar)){const Rr=f.findIndex(([At,It])=>At===gt&&It===Wt);Rr<0?f.push([gt,Wt,ar]):f[Rr][2]=ar}gt=Wt})}),D.forEach(([,pe,ye])=>{const Me=new RegExp(`(${zf(pe)}=)(['"])[^\\2]*?${zf(ye)}[^\\2]*?\\2`,"g");Array.from(s.matchAll(Me)).forEach(Oe=>{const it=Oe[1],St=Oe[0].slice(it.length).indexOf(ye);if(St<0)return;const Wt=Oe.index+it.length+St,ar=Wt+ye.length;f.push([Wt,ar,`[${pe}="${ye}"]`])})}),f.sort((pe,ye)=>pe[0]-ye[0])}var Hl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zp(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ql={exports:{}};(function(s,c){(function(l,f){s.exports=f()})(Hl,function(){var l=navigator.userAgent,f=navigator.platform,D=/gecko\/\d/i.test(l),N=/MSIE \d/.test(l),Y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(l),pe=/Edge\/(\d+)/.exec(l),ye=N||Y||pe,Me=ye&&(N?document.documentMode||6:+(pe||Y)[1]),Oe=!pe&&/WebKit\//.test(l),it=Oe&&/Qt\/\d+\.\d+/.test(l),gt=!pe&&/Chrome\/(\d+)/.exec(l),St=gt&&+gt[1],Wt=/Opera\//.test(l),ar=/Apple Computer/.test(navigator.vendor),Rr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(l),At=/PhantomJS/.test(l),It=ar&&(/Mobile\/\w+/.test(l)||navigator.maxTouchPoints>2),qt=/Android/.test(l),Er=It||qt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(l),an=It||/Mac/.test(f),Jn=/\bCrOS\b/.test(l),An=/win/i.test(f),mi=Wt&&l.match(/Version\/(\d*\.\d*)/);mi&&(mi=Number(mi[1])),mi&&mi>=15&&(Wt=!1,Oe=!0);var oi=an&&(it||Wt&&(mi==null||mi<12.11)),Xn=D||ye&&Me>=9;function Un(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gi=function(e,r){var n=e.className,a=Un(r).exec(n);if(a){var u=n.slice(a.index+a[0].length);e.className=n.slice(0,a.index)+(u?a[1]+u:"")}};function xr(e){for(var r=e.childNodes.length;r>0;--r)e.removeChild(e.firstChild);return e}function Nn(e,r){return xr(e).appendChild(r)}function Ae(e,r,n,a){var u=document.createElement(e);if(n&&(u.className=n),a&&(u.style.cssText=a),typeof r=="string")u.appendChild(document.createTextNode(r));else if(r)for(var h=0;h<r.length;++h)u.appendChild(r[h]);return u}function rn(e,r,n,a){var u=Ae(e,r,n,a);return u.setAttribute("role","presentation"),u}var or;document.createRange?or=function(e,r,n,a){var u=document.createRange();return u.setEnd(a||e,n),u.setStart(e,r),u}:or=function(e,r,n){var a=document.body.createTextRange();try{a.moveToElementText(e.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",n),a.moveStart("character",r),a};function Bn(e,r){if(r.nodeType==3&&(r=r.parentNode),e.contains)return e.contains(r);do if(r.nodeType==11&&(r=r.host),r==e)return!0;while(r=r.parentNode)}function ti(e){var r;try{r=e.activeElement}catch{r=e.body||null}for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;return r}function ts(e,r){var n=e.className;Un(r).test(n)||(e.className+=(n?" ":"")+r)}function Cs(e,r){for(var n=e.split(" "),a=0;a<n.length;a++)n[a]&&!Un(n[a]).test(r)&&(r+=" "+n[a]);return r}var _s=function(e){e.select()};It?_s=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ye&&(_s=function(e){try{e.select()}catch{}});function Zi(e){return e.display.wrapper.ownerDocument}function ls(e){return Zi(e).defaultView}function $r(e){var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}}function Yr(e,r,n){r||(r={});for(var a in e)e.hasOwnProperty(a)&&(n!==!1||!r.hasOwnProperty(a))&&(r[a]=e[a]);return r}function Dr(e,r,n,a,u){r==null&&(r=e.search(/[^\s\u00a0]/),r==-1&&(r=e.length));for(var h=a||0,C=u||0;;){var S=e.indexOf(" ",h);if(S<0||S>=r)return C+(r-h);C+=S-h,C+=n-C%n,h=S+1}}var cn=function(){this.id=null,this.f=null,this.time=0,this.handler=$r(this.onTimeout,this)};cn.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},cn.prototype.set=function(e,r){this.f=r;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function Gn(e,r){for(var n=0;n<e.length;++n)if(e[n]==r)return n;return-1}var ui=50,zn={toString:function(){return"CodeMirror.Pass"}},ri={scroll:!1},ht={origin:"*mouse"},Ot={origin:"+move"};function vr(e,r,n){for(var a=0,u=0;;){var h=e.indexOf(" ",a);h==-1&&(h=e.length);var C=h-a;if(h==e.length||u+C>=r)return a+Math.min(C,r-u);if(u+=h-a,u+=n-u%n,a=h+1,u>=r)return a}}var _r=[""];function Kr(e){for(;_r.length<=e;)_r.push(Ur(_r)+" ");return _r[e]}function Ur(e){return e[e.length-1]}function Dn(e,r){for(var n=[],a=0;a<e.length;a++)n[a]=r(e[a],a);return n}function _n(e,r,n){for(var a=0,u=n(r);a<e.length&&n(e[a])<=u;)a++;e.splice(a,0,r)}function dn(){}function ct(e,r){var n;return Object.create?n=Object.create(e):(dn.prototype=e,n=new dn),r&&Yr(r,n),n}var wr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Rt(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||wr.test(e))}function Mn(e,r){return r?r.source.indexOf("\\w")>-1&&Rt(e)?!0:r.test(e):Rt(e)}function bi(e){for(var r in e)if(e.hasOwnProperty(r)&&e[r])return!1;return!0}var cs=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ds(e){return e.charCodeAt(0)>=768&&cs.test(e)}function ms(e,r,n){for(;(n<0?r>0:r<e.length)&&ds(e.charAt(r));)r+=n;return r}function Hi(e,r,n){for(var a=r>n?-1:1;;){if(r==n)return r;var u=(r+n)/2,h=a<0?Math.ceil(u):Math.floor(u);if(h==r)return e(h)?r:n;e(h)?n=h:r=h+a}}function Ws(e,r,n,a){if(!e)return a(r,n,"ltr",0);for(var u=!1,h=0;h<e.length;++h){var C=e[h];(C.from<n&&C.to>r||r==n&&C.to==r)&&(a(Math.max(C.from,r),Math.min(C.to,n),C.level==1?"rtl":"ltr",h),u=!0)}u||a(r,n,"ltr")}var Vn=null;function Pr(e,r,n){var a;Vn=null;for(var u=0;u<e.length;++u){var h=e[u];if(h.from<r&&h.to>r)return u;h.to==r&&(h.from!=h.to&&n=="before"?a=u:Vn=u),h.from==r&&(h.from!=h.to&&n!="before"?a=u:Vn=u)}return a!=null?a:Vn}var Nr=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(j){return j<=247?e.charAt(j):1424<=j&&j<=1524?"R":1536<=j&&j<=1785?r.charAt(j-1536):1774<=j&&j<=2220?"r":8192<=j&&j<=8203?"w":j==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,u=/[stwN]/,h=/[LRr]/,C=/[Lb1n]/,S=/[1n]/;function O(j,$e,Be){this.level=j,this.from=$e,this.to=Be}return function(j,$e){var Be=$e=="ltr"?"L":"R";if(j.length==0||$e=="ltr"&&!a.test(j))return!1;for(var Pt=j.length,nt=[],jt=0;jt<Pt;++jt)nt.push(n(j.charCodeAt(jt)));for(var dr=0,Jt=Be;dr<Pt;++dr){var Sr=nt[dr];Sr=="m"?nt[dr]=Jt:Jt=Sr}for(var Xr=0,tt=Be;Xr<Pt;++Xr){var yn=nt[Xr];yn=="1"&&tt=="r"?nt[Xr]="n":h.test(yn)&&(tt=yn,yn=="r"&&(nt[Xr]="R"))}for(var Tn=1,jn=nt[0];Tn<Pt-1;++Tn){var zi=nt[Tn];zi=="+"&&jn=="1"&&nt[Tn+1]=="1"?nt[Tn]="1":zi==","&&jn==nt[Tn+1]&&(jn=="1"||jn=="n")&&(nt[Tn]=jn),jn=zi}for(var us=0;us<Pt;++us){var Vs=nt[us];if(Vs==",")nt[us]="N";else if(Vs=="%"){var ke=void 0;for(ke=us+1;ke<Pt&&nt[ke]=="%";++ke);for(var ir=us&&nt[us-1]=="!"||ke<Pt&&nt[ke]=="1"?"1":"N",Pn=us;Pn<ke;++Pn)nt[Pn]=ir;us=ke-1}}for(var wi=0,Ui=Be;wi<Pt;++wi){var bs=nt[wi];Ui=="L"&&bs=="1"?nt[wi]="L":h.test(bs)&&(Ui=bs)}for(var Bs=0;Bs<Pt;++Bs)if(u.test(nt[Bs])){var As=void 0;for(As=Bs+1;As<Pt&&u.test(nt[As]);++As);for(var fi=(Bs?nt[Bs-1]:Be)=="L",Li=(As<Pt?nt[As]:Be)=="L",Wu=fi==Li?fi?"L":"R":Be,dl=Bs;dl<As;++dl)nt[dl]=Wu;Bs=As-1}for(var Qa=[],pu,Sa=0;Sa<Pt;)if(C.test(nt[Sa])){var Lc=Sa;for(++Sa;Sa<Pt&&C.test(nt[Sa]);++Sa);Qa.push(new O(0,Lc,Sa))}else{var Su=Sa,ml=Qa.length,sc=$e=="rtl"?1:0;for(++Sa;Sa<Pt&&nt[Sa]!="L";++Sa);for(var go=Su;go<Sa;)if(S.test(nt[go])){Su<go&&(Qa.splice(ml,0,new O(1,Su,go)),ml+=sc);var dc=go;for(++go;go<Sa&&S.test(nt[go]);++go);Qa.splice(ml,0,new O(2,dc,go)),ml+=sc,Su=go}else++go;Su<Sa&&Qa.splice(ml,0,new O(1,Su,Sa))}return $e=="ltr"&&(Qa[0].level==1&&(pu=j.match(/^\s+/))&&(Qa[0].from=pu[0].length,Qa.unshift(new O(0,0,pu[0].length))),Ur(Qa).level==1&&(pu=j.match(/\s+$/))&&(Ur(Qa).to-=pu[0].length,Qa.push(new O(0,Pt-pu[0].length,Pt)))),$e=="rtl"?Qa.reverse():Qa}}();function Lr(e,r){var n=e.order;return n==null&&(n=e.order=Nr(e.text,r)),n}var Wr=[],_t=function(e,r,n){if(e.addEventListener)e.addEventListener(r,n,!1);else if(e.attachEvent)e.attachEvent("on"+r,n);else{var a=e._handlers||(e._handlers={});a[r]=(a[r]||Wr).concat(n)}};function Wn(e,r){return e._handlers&&e._handlers[r]||Wr}function Xt(e,r,n){if(e.removeEventListener)e.removeEventListener(r,n,!1);else if(e.detachEvent)e.detachEvent("on"+r,n);else{var a=e._handlers,u=a&&a[r];if(u){var h=Gn(u,n);h>-1&&(a[r]=u.slice(0,h).concat(u.slice(h+1)))}}}function On(e,r){var n=Wn(e,r);if(!!n.length)for(var a=Array.prototype.slice.call(arguments,2),u=0;u<n.length;++u)n[u].apply(null,a)}function yr(e,r,n){return typeof r=="string"&&(r={type:r,preventDefault:function(){this.defaultPrevented=!0}}),On(e,n||r.type,e,r),Mr(r)||r.codemirrorIgnore}function Lt(e){var r=e._handlers&&e._handlers.cursorActivity;if(!!r)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),a=0;a<r.length;++a)Gn(n,r[a])==-1&&n.push(r[a])}function je(e,r){return Wn(e,r).length>0}function Bt(e){e.prototype.on=function(r,n){_t(this,r,n)},e.prototype.off=function(r,n){Xt(this,r,n)}}function Ht(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function nr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Mr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function nn(e){Ht(e),nr(e)}function Ut(e){return e.target||e.srcElement}function _e(e){var r=e.which;return r==null&&(e.button&1?r=1:e.button&2?r=3:e.button&4&&(r=2)),an&&e.ctrlKey&&r==1&&(r=3),r}var ce=function(){if(ye&&Me<9)return!1;var e=Ae("div");return"draggable"in e||"dragDrop"in e}(),me;function be(e){if(me==null){var r=Ae("span","\u200B");Nn(e,Ae("span",[r,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(me=r.offsetWidth<=1&&r.offsetHeight>2&&!(ye&&Me<8))}var n=me?Ae("span","\u200B"):Ae("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}var Ee;function ze(e){if(Ee!=null)return Ee;var r=Nn(e,document.createTextNode("A\u062EA")),n=or(r,0,1).getBoundingClientRect(),a=or(r,1,2).getBoundingClientRect();return xr(e),!n||n.left==n.right?!1:Ee=a.right-n.right<3}var Ke=`
|
|
1
|
+
(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const D of document.querySelectorAll('link[rel="modulepreload"]'))f(D);new MutationObserver(D=>{for(const N of D)if(N.type==="childList")for(const Y of N.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&f(Y)}).observe(document,{childList:!0,subtree:!0});function l(D){const N={};return D.integrity&&(N.integrity=D.integrity),D.referrerpolicy&&(N.referrerPolicy=D.referrerpolicy),D.crossorigin==="use-credentials"?N.credentials="include":D.crossorigin==="anonymous"?N.credentials="omit":N.credentials="same-origin",N}function f(D){if(D.ep)return;D.ep=!0;const N=l(D);fetch(D.href,N)}})();const Um="modulepreload",zm=function(s){return"/__unocss/"+s},qh={},yh=function(c,l,f){return!l||l.length===0?c():Promise.all(l.map(D=>{if(D=zm(D),D in qh)return;qh[D]=!0;const N=D.endsWith(".css"),Y=N?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${D}"]${Y}`))return;const pe=document.createElement("link");if(pe.rel=N?"stylesheet":Um,N||(pe.as="script",pe.crossOrigin=""),pe.href=D,document.head.appendChild(pe),N)return new Promise((ye,Me)=>{pe.addEventListener("load",ye),pe.addEventListener("error",()=>Me(new Error(`Unable to preload CSS for ${D}`)))})})).then(()=>c())};function Dh(s,c){const l=Object.create(null),f=s.split(",");for(let D=0;D<f.length;D++)l[f[D]]=!0;return c?D=>!!l[D.toLowerCase()]:D=>!!l[D]}const Hm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$m=Dh(Hm);function ud(s){return!!s||s===""}function tp(s){if(fs(s)){const c={};for(let l=0;l<s.length;l++){const f=s[l],D=io(f)?Wm(f):tp(f);if(D)for(const N in D)c[N]=D[N]}return c}else{if(io(s))return s;if(pa(s))return s}}const qm=/;(?![^(]*\))/g,Vm=/:(.+)/;function Wm(s){const c={};return s.split(qm).forEach(l=>{if(l){const f=l.split(Vm);f.length>1&&(c[f[0].trim()]=f[1].trim())}}),c}function Cc(s){let c="";if(io(s))c=s;else if(fs(s))for(let l=0;l<s.length;l++){const f=Cc(s[l]);f&&(c+=f+" ")}else if(pa(s))for(const l in s)s[l]&&(c+=l+" ");return c.trim()}function Gm(s,c){if(s.length!==c.length)return!1;let l=!0;for(let f=0;l&&f<s.length;f++)l=Sp(s[f],c[f]);return l}function Sp(s,c){if(s===c)return!0;let l=Vh(s),f=Vh(c);if(l||f)return l&&f?s.getTime()===c.getTime():!1;if(l=Gc(s),f=Gc(c),l||f)return s===c;if(l=fs(s),f=fs(c),l||f)return l&&f?Gm(s,c):!1;if(l=pa(s),f=pa(c),l||f){if(!l||!f)return!1;const D=Object.keys(s).length,N=Object.keys(c).length;if(D!==N)return!1;for(const Y in s){const pe=s.hasOwnProperty(Y),ye=c.hasOwnProperty(Y);if(pe&&!ye||!pe&&ye||!Sp(s[Y],c[Y]))return!1}}return String(s)===String(c)}function ld(s,c){return s.findIndex(l=>Sp(l,c))}const ko=s=>io(s)?s:s==null?"":fs(s)||pa(s)&&(s.toString===hd||!Ss(s.toString))?JSON.stringify(s,cd,2):String(s),cd=(s,c)=>c&&c.__v_isRef?cd(s,c.value):Dc(c)?{[`Map(${c.size})`]:[...c.entries()].reduce((l,[f,D])=>(l[`${f} =>`]=D,l),{})}:kp(c)?{[`Set(${c.size})`]:[...c.values()]}:pa(c)&&!fs(c)&&!fd(c)?String(c):c,ua={},yc=[],Ku=()=>{},Xm=()=>!1,Jm=/^on[^a-z]/,Fp=s=>Jm.test(s),vh=s=>s.startsWith("onUpdate:"),No=Object.assign,xh=(s,c)=>{const l=s.indexOf(c);l>-1&&s.splice(l,1)},Km=Object.prototype.hasOwnProperty,Rs=(s,c)=>Km.call(s,c),fs=Array.isArray,Dc=s=>rp(s)==="[object Map]",kp=s=>rp(s)==="[object Set]",Vh=s=>rp(s)==="[object Date]",Ss=s=>typeof s=="function",io=s=>typeof s=="string",Gc=s=>typeof s=="symbol",pa=s=>s!==null&&typeof s=="object",pd=s=>pa(s)&&Ss(s.then)&&Ss(s.catch),hd=Object.prototype.toString,rp=s=>hd.call(s),Qm=s=>rp(s).slice(8,-1),fd=s=>rp(s)==="[object Object]",Ch=s=>io(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,cp=Dh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pp=s=>{const c=Object.create(null);return l=>c[l]||(c[l]=s(l))},Ym=/-(\w)/g,vl=Pp(s=>s.replace(Ym,(c,l)=>l?l.toUpperCase():"")),Zm=/\B([A-Z])/g,Fc=Pp(s=>s.replace(Zm,"-$1").toLowerCase()),Np=Pp(s=>s.charAt(0).toUpperCase()+s.slice(1)),Vp=Pp(s=>s?`on${Np(s)}`:""),Xc=(s,c)=>!Object.is(s,c),pp=(s,c)=>{for(let l=0;l<s.length;l++)s[l](c)},mp=(s,c,l)=>{Object.defineProperty(s,c,{configurable:!0,enumerable:!1,value:l})},eg=s=>{const c=parseFloat(s);return isNaN(c)?s:c};let Wh;const tg=()=>Wh||(Wh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let hu;class rg{constructor(c=!1){this.active=!0,this.effects=[],this.cleanups=[],!c&&hu&&(this.parent=hu,this.index=(hu.scopes||(hu.scopes=[])).push(this)-1)}run(c){if(this.active){const l=hu;try{return hu=this,c()}finally{hu=l}}}on(){hu=this}off(){hu=this.parent}stop(c){if(this.active){let l,f;for(l=0,f=this.effects.length;l<f;l++)this.effects[l].stop();for(l=0,f=this.cleanups.length;l<f;l++)this.cleanups[l]();if(this.scopes)for(l=0,f=this.scopes.length;l<f;l++)this.scopes[l].stop(!0);if(this.parent&&!c){const D=this.parent.scopes.pop();D&&D!==this&&(this.parent.scopes[this.index]=D,D.index=this.index)}this.active=!1}}}function ng(s,c=hu){c&&c.active&&c.effects.push(s)}function ig(){return hu}function sg(s){hu&&hu.cleanups.push(s)}const Eh=s=>{const c=new Set(s);return c.w=0,c.n=0,c},dd=s=>(s.w&ec)>0,md=s=>(s.n&ec)>0,ag=({deps:s})=>{if(s.length)for(let c=0;c<s.length;c++)s[c].w|=ec},og=s=>{const{deps:c}=s;if(c.length){let l=0;for(let f=0;f<c.length;f++){const D=c[f];dd(D)&&!md(D)?D.delete(s):c[l++]=D,D.w&=~ec,D.n&=~ec}c.length=l}},eh=new WeakMap;let Uc=0,ec=1;const th=30;let Xu;const hc=Symbol(""),rh=Symbol("");class bh{constructor(c,l=null,f){this.fn=c,this.scheduler=l,this.active=!0,this.deps=[],this.parent=void 0,ng(this,f)}run(){if(!this.active)return this.fn();let c=Xu,l=Yl;for(;c;){if(c===this)return;c=c.parent}try{return this.parent=Xu,Xu=this,Yl=!0,ec=1<<++Uc,Uc<=th?ag(this):Gh(this),this.fn()}finally{Uc<=th&&og(this),ec=1<<--Uc,Xu=this.parent,Yl=l,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Xu===this?this.deferStop=!0:this.active&&(Gh(this),this.onStop&&this.onStop(),this.active=!1)}}function Gh(s){const{deps:c}=s;if(c.length){for(let l=0;l<c.length;l++)c[l].delete(s);c.length=0}}let Yl=!0;const gd=[];function kc(){gd.push(Yl),Yl=!1}function Pc(){const s=gd.pop();Yl=s===void 0?!0:s}function fu(s,c,l){if(Yl&&Xu){let f=eh.get(s);f||eh.set(s,f=new Map);let D=f.get(l);D||f.set(l,D=Eh()),yd(D)}}function yd(s,c){let l=!1;Uc<=th?md(s)||(s.n|=ec,l=!dd(s)):l=!s.has(Xu),l&&(s.add(Xu),Xu.deps.push(s))}function Ul(s,c,l,f,D,N){const Y=eh.get(s);if(!Y)return;let pe=[];if(c==="clear")pe=[...Y.values()];else if(l==="length"&&fs(s))Y.forEach((ye,Me)=>{(Me==="length"||Me>=f)&&pe.push(ye)});else switch(l!==void 0&&pe.push(Y.get(l)),c){case"add":fs(s)?Ch(l)&&pe.push(Y.get("length")):(pe.push(Y.get(hc)),Dc(s)&&pe.push(Y.get(rh)));break;case"delete":fs(s)||(pe.push(Y.get(hc)),Dc(s)&&pe.push(Y.get(rh)));break;case"set":Dc(s)&&pe.push(Y.get(hc));break}if(pe.length===1)pe[0]&&nh(pe[0]);else{const ye=[];for(const Me of pe)Me&&ye.push(...Me);nh(Eh(ye))}}function nh(s,c){const l=fs(s)?s:[...s];for(const f of l)f.computed&&Xh(f);for(const f of l)f.computed||Xh(f)}function Xh(s,c){(s!==Xu||s.allowRecurse)&&(s.scheduler?s.scheduler():s.run())}const ug=Dh("__proto__,__v_isRef,__isVue"),Dd=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(Gc)),lg=Ah(),cg=Ah(!1,!0),pg=Ah(!0),Jh=hg();function hg(){const s={};return["includes","indexOf","lastIndexOf"].forEach(c=>{s[c]=function(...l){const f=Xs(this);for(let N=0,Y=this.length;N<Y;N++)fu(f,"get",N+"");const D=f[c](...l);return D===-1||D===!1?f[c](...l.map(Xs)):D}}),["push","pop","shift","unshift","splice"].forEach(c=>{s[c]=function(...l){kc();const f=Xs(this)[c].apply(this,l);return Pc(),f}}),s}function Ah(s=!1,c=!1){return function(f,D,N){if(D==="__v_isReactive")return!s;if(D==="__v_isReadonly")return s;if(D==="__v_isShallow")return c;if(D==="__v_raw"&&N===(s?c?Fg:bd:c?Ed:Cd).get(f))return f;const Y=fs(f);if(!s&&Y&&Rs(Jh,D))return Reflect.get(Jh,D,N);const pe=Reflect.get(f,D,N);return(Gc(D)?Dd.has(D):ug(D))||(s||fu(f,"get",D),c)?pe:Na(pe)?Y&&Ch(D)?pe:pe.value:pa(pe)?s?Ad(pe):Nc(pe):pe}}const fg=vd(),dg=vd(!0);function vd(s=!1){return function(l,f,D,N){let Y=l[f];if(Ec(Y)&&Na(Y)&&!Na(D))return!1;if(!s&&(!gp(D)&&!Ec(D)&&(Y=Xs(Y),D=Xs(D)),!fs(l)&&Na(Y)&&!Na(D)))return Y.value=D,!0;const pe=fs(l)&&Ch(f)?Number(f)<l.length:Rs(l,f),ye=Reflect.set(l,f,D,N);return l===Xs(N)&&(pe?Xc(D,Y)&&Ul(l,"set",f,D):Ul(l,"add",f,D)),ye}}function mg(s,c){const l=Rs(s,c);s[c];const f=Reflect.deleteProperty(s,c);return f&&l&&Ul(s,"delete",c,void 0),f}function gg(s,c){const l=Reflect.has(s,c);return(!Gc(c)||!Dd.has(c))&&fu(s,"has",c),l}function yg(s){return fu(s,"iterate",fs(s)?"length":hc),Reflect.ownKeys(s)}const xd={get:lg,set:fg,deleteProperty:mg,has:gg,ownKeys:yg},Dg={get:pg,set(s,c){return!0},deleteProperty(s,c){return!0}},vg=No({},xd,{get:cg,set:dg}),wh=s=>s,Bp=s=>Reflect.getPrototypeOf(s);function np(s,c,l=!1,f=!1){s=s.__v_raw;const D=Xs(s),N=Xs(c);l||(c!==N&&fu(D,"get",c),fu(D,"get",N));const{has:Y}=Bp(D),pe=f?wh:l?Fh:Jc;if(Y.call(D,c))return pe(s.get(c));if(Y.call(D,N))return pe(s.get(N));s!==D&&s.get(c)}function ip(s,c=!1){const l=this.__v_raw,f=Xs(l),D=Xs(s);return c||(s!==D&&fu(f,"has",s),fu(f,"has",D)),s===D?l.has(s):l.has(s)||l.has(D)}function sp(s,c=!1){return s=s.__v_raw,!c&&fu(Xs(s),"iterate",hc),Reflect.get(s,"size",s)}function Kh(s){s=Xs(s);const c=Xs(this);return Bp(c).has.call(c,s)||(c.add(s),Ul(c,"add",s,s)),this}function Qh(s,c){c=Xs(c);const l=Xs(this),{has:f,get:D}=Bp(l);let N=f.call(l,s);N||(s=Xs(s),N=f.call(l,s));const Y=D.call(l,s);return l.set(s,c),N?Xc(c,Y)&&Ul(l,"set",s,c):Ul(l,"add",s,c),this}function Yh(s){const c=Xs(this),{has:l,get:f}=Bp(c);let D=l.call(c,s);D||(s=Xs(s),D=l.call(c,s)),f&&f.call(c,s);const N=c.delete(s);return D&&Ul(c,"delete",s,void 0),N}function Zh(){const s=Xs(this),c=s.size!==0,l=s.clear();return c&&Ul(s,"clear",void 0,void 0),l}function ap(s,c){return function(f,D){const N=this,Y=N.__v_raw,pe=Xs(Y),ye=c?wh:s?Fh:Jc;return!s&&fu(pe,"iterate",hc),Y.forEach((Me,Oe)=>f.call(D,ye(Me),ye(Oe),N))}}function op(s,c,l){return function(...f){const D=this.__v_raw,N=Xs(D),Y=Dc(N),pe=s==="entries"||s===Symbol.iterator&&Y,ye=s==="keys"&&Y,Me=D[s](...f),Oe=l?wh:c?Fh:Jc;return!c&&fu(N,"iterate",ye?rh:hc),{next(){const{value:it,done:gt}=Me.next();return gt?{value:it,done:gt}:{value:pe?[Oe(it[0]),Oe(it[1])]:Oe(it),done:gt}},[Symbol.iterator](){return this}}}}function Xl(s){return function(...c){return s==="delete"?!1:this}}function xg(){const s={get(N){return np(this,N)},get size(){return sp(this)},has:ip,add:Kh,set:Qh,delete:Yh,clear:Zh,forEach:ap(!1,!1)},c={get(N){return np(this,N,!1,!0)},get size(){return sp(this)},has:ip,add:Kh,set:Qh,delete:Yh,clear:Zh,forEach:ap(!1,!0)},l={get(N){return np(this,N,!0)},get size(){return sp(this,!0)},has(N){return ip.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!1)},f={get(N){return np(this,N,!0,!0)},get size(){return sp(this,!0)},has(N){return ip.call(this,N,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(N=>{s[N]=op(N,!1,!1),l[N]=op(N,!0,!1),c[N]=op(N,!1,!0),f[N]=op(N,!0,!0)}),[s,l,c,f]}const[Cg,Eg,bg,Ag]=xg();function Th(s,c){const l=c?s?Ag:bg:s?Eg:Cg;return(f,D,N)=>D==="__v_isReactive"?!s:D==="__v_isReadonly"?s:D==="__v_raw"?f:Reflect.get(Rs(l,D)&&D in f?l:f,D,N)}const wg={get:Th(!1,!1)},Tg={get:Th(!1,!0)},Sg={get:Th(!0,!1)},Cd=new WeakMap,Ed=new WeakMap,bd=new WeakMap,Fg=new WeakMap;function kg(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pg(s){return s.__v_skip||!Object.isExtensible(s)?0:kg(Qm(s))}function Nc(s){return Ec(s)?s:Sh(s,!1,xd,wg,Cd)}function Ng(s){return Sh(s,!1,vg,Tg,Ed)}function Ad(s){return Sh(s,!0,Dg,Sg,bd)}function Sh(s,c,l,f,D){if(!pa(s)||s.__v_raw&&!(c&&s.__v_isReactive))return s;const N=D.get(s);if(N)return N;const Y=Pg(s);if(Y===0)return s;const pe=new Proxy(s,Y===2?f:l);return D.set(s,pe),pe}function vc(s){return Ec(s)?vc(s.__v_raw):!!(s&&s.__v_isReactive)}function Ec(s){return!!(s&&s.__v_isReadonly)}function gp(s){return!!(s&&s.__v_isShallow)}function wd(s){return vc(s)||Ec(s)}function Xs(s){const c=s&&s.__v_raw;return c?Xs(c):s}function Td(s){return mp(s,"__v_skip",!0),s}const Jc=s=>pa(s)?Nc(s):s,Fh=s=>pa(s)?Ad(s):s;function Sd(s){Yl&&Xu&&(s=Xs(s),yd(s.dep||(s.dep=Eh())))}function Fd(s,c){s=Xs(s),s.dep&&nh(s.dep)}function Na(s){return!!(s&&s.__v_isRef===!0)}function Ba(s){return kd(s,!1)}function zc(s){return kd(s,!0)}function kd(s,c){return Na(s)?s:new Bg(s,c)}class Bg{constructor(c,l){this.__v_isShallow=l,this.dep=void 0,this.__v_isRef=!0,this._rawValue=l?c:Xs(c),this._value=l?c:Jc(c)}get value(){return Sd(this),this._value}set value(c){const l=this.__v_isShallow||gp(c)||Ec(c);c=l?c:Xs(c),Xc(c,this._rawValue)&&(this._rawValue=c,this._value=l?c:Jc(c),Fd(this))}}function ws(s){return Na(s)?s.value:s}const _g={get:(s,c,l)=>ws(Reflect.get(s,c,l)),set:(s,c,l,f)=>{const D=s[c];return Na(D)&&!Na(l)?(D.value=l,!0):Reflect.set(s,c,l,f)}};function Pd(s){return vc(s)?s:new Proxy(s,_g)}function Ig(s){const c=fs(s)?new Array(s.length):{};for(const l in s)c[l]=Lg(s,l);return c}class Og{constructor(c,l,f){this._object=c,this._key=l,this._defaultValue=f,this.__v_isRef=!0}get value(){const c=this._object[this._key];return c===void 0?this._defaultValue:c}set value(c){this._object[this._key]=c}}function Lg(s,c,l){const f=s[c];return Na(f)?f:new Og(s,c,l)}var Nd;class Mg{constructor(c,l,f,D){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this[Nd]=!1,this._dirty=!0,this.effect=new bh(c,()=>{this._dirty||(this._dirty=!0,Fd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!D,this.__v_isReadonly=f}get value(){const c=Xs(this);return Sd(c),(c._dirty||!c._cacheable)&&(c._dirty=!1,c._value=c.effect.run()),c._value}set value(c){this._setter(c)}}Nd="__v_isReadonly";function jg(s,c,l=!1){let f,D;const N=Ss(s);return N?(f=s,D=Ku):(f=s.get,D=s.set),new Mg(f,D,N||!D,l)}function Zl(s,c,l,f){let D;try{D=f?s(...f):s()}catch(N){_p(N,c,l)}return D}function Qu(s,c,l,f){if(Ss(s)){const N=Zl(s,c,l,f);return N&&pd(N)&&N.catch(Y=>{_p(Y,c,l)}),N}const D=[];for(let N=0;N<s.length;N++)D.push(Qu(s[N],c,l,f));return D}function _p(s,c,l,f=!0){const D=c?c.vnode:null;if(c){let N=c.parent;const Y=c.proxy,pe=l;for(;N;){const Me=N.ec;if(Me){for(let Oe=0;Oe<Me.length;Oe++)if(Me[Oe](s,Y,pe)===!1)return}N=N.parent}const ye=c.appContext.config.errorHandler;if(ye){Zl(ye,null,10,[s,Y,pe]);return}}Rg(s,l,D,f)}function Rg(s,c,l,f=!0){console.error(s)}let Kc=!1,ih=!1;const yo=[];let Dl=0;const xc=[];let Ml=null,lc=0;const Bd=Promise.resolve();let kh=null;function Ip(s){const c=kh||Bd;return s?c.then(this?s.bind(this):s):c}function Ug(s){let c=Dl+1,l=yo.length;for(;c<l;){const f=c+l>>>1;Qc(yo[f])<s?c=f+1:l=f}return c}function Ph(s){(!yo.length||!yo.includes(s,Kc&&s.allowRecurse?Dl+1:Dl))&&(s.id==null?yo.push(s):yo.splice(Ug(s.id),0,s),_d())}function _d(){!Kc&&!ih&&(ih=!0,kh=Bd.then(Od))}function zg(s){const c=yo.indexOf(s);c>Dl&&yo.splice(c,1)}function Hg(s){fs(s)?xc.push(...s):(!Ml||!Ml.includes(s,s.allowRecurse?lc+1:lc))&&xc.push(s),_d()}function ef(s,c=Kc?Dl+1:0){for(;c<yo.length;c++){const l=yo[c];l&&l.pre&&(yo.splice(c,1),c--,l())}}function Id(s){if(xc.length){const c=[...new Set(xc)];if(xc.length=0,Ml){Ml.push(...c);return}for(Ml=c,Ml.sort((l,f)=>Qc(l)-Qc(f)),lc=0;lc<Ml.length;lc++)Ml[lc]();Ml=null,lc=0}}const Qc=s=>s.id==null?1/0:s.id,$g=(s,c)=>{const l=Qc(s)-Qc(c);if(l===0){if(s.pre&&!c.pre)return-1;if(c.pre&&!s.pre)return 1}return l};function Od(s){ih=!1,Kc=!0,yo.sort($g);const c=Ku;try{for(Dl=0;Dl<yo.length;Dl++){const l=yo[Dl];l&&l.active!==!1&&Zl(l,null,14)}}finally{Dl=0,yo.length=0,Id(),Kc=!1,kh=null,(yo.length||xc.length)&&Od()}}function qg(s,c,...l){if(s.isUnmounted)return;const f=s.vnode.props||ua;let D=l;const N=c.startsWith("update:"),Y=N&&c.slice(7);if(Y&&Y in f){const Oe=`${Y==="modelValue"?"model":Y}Modifiers`,{number:it,trim:gt}=f[Oe]||ua;gt&&(D=l.map(St=>St.trim())),it&&(D=l.map(eg))}let pe,ye=f[pe=Vp(c)]||f[pe=Vp(vl(c))];!ye&&N&&(ye=f[pe=Vp(Fc(c))]),ye&&Qu(ye,s,6,D);const Me=f[pe+"Once"];if(Me){if(!s.emitted)s.emitted={};else if(s.emitted[pe])return;s.emitted[pe]=!0,Qu(Me,s,6,D)}}function Ld(s,c,l=!1){const f=c.emitsCache,D=f.get(s);if(D!==void 0)return D;const N=s.emits;let Y={},pe=!1;if(!Ss(s)){const ye=Me=>{const Oe=Ld(Me,c,!0);Oe&&(pe=!0,No(Y,Oe))};!l&&c.mixins.length&&c.mixins.forEach(ye),s.extends&&ye(s.extends),s.mixins&&s.mixins.forEach(ye)}return!N&&!pe?(pa(s)&&f.set(s,null),null):(fs(N)?N.forEach(ye=>Y[ye]=null):No(Y,N),pa(s)&&f.set(s,Y),Y)}function Op(s,c){return!s||!Fp(c)?!1:(c=c.slice(2).replace(/Once$/,""),Rs(s,c[0].toLowerCase()+c.slice(1))||Rs(s,Fc(c))||Rs(s,c))}let Do=null,Md=null;function yp(s){const c=Do;return Do=s,Md=s&&s.type.__scopeId||null,c}function jl(s,c=Do,l){if(!c||s._n)return s;const f=(...D)=>{f._d&&hf(-1);const N=yp(c),Y=s(...D);return yp(N),f._d&&hf(1),Y};return f._n=!0,f._c=!0,f._d=!0,f}function Wp(s){const{type:c,vnode:l,proxy:f,withProxy:D,props:N,propsOptions:[Y],slots:pe,attrs:ye,emit:Me,render:Oe,renderCache:it,data:gt,setupState:St,ctx:Wt,inheritAttrs:ar}=s;let Rr,At;const It=yp(s);try{if(l.shapeFlag&4){const Er=D||f;Rr=yl(Oe.call(Er,Er,it,N,St,gt,Wt)),At=ye}else{const Er=c;Rr=yl(Er.length>1?Er(N,{attrs:ye,slots:pe,emit:Me}):Er(N,null)),At=c.props?ye:Vg(ye)}}catch(Er){$c.length=0,_p(Er,s,1),Rr=na(tc)}let qt=Rr;if(At&&ar!==!1){const Er=Object.keys(At),{shapeFlag:an}=qt;Er.length&&an&7&&(Y&&Er.some(vh)&&(At=Wg(At,Y)),qt=Ac(qt,At))}return l.dirs&&(qt=Ac(qt),qt.dirs=qt.dirs?qt.dirs.concat(l.dirs):l.dirs),l.transition&&(qt.transition=l.transition),Rr=qt,yp(It),Rr}const Vg=s=>{let c;for(const l in s)(l==="class"||l==="style"||Fp(l))&&((c||(c={}))[l]=s[l]);return c},Wg=(s,c)=>{const l={};for(const f in s)(!vh(f)||!(f.slice(9)in c))&&(l[f]=s[f]);return l};function Gg(s,c,l){const{props:f,children:D,component:N}=s,{props:Y,children:pe,patchFlag:ye}=c,Me=N.emitsOptions;if(c.dirs||c.transition)return!0;if(l&&ye>=0){if(ye&1024)return!0;if(ye&16)return f?tf(f,Y,Me):!!Y;if(ye&8){const Oe=c.dynamicProps;for(let it=0;it<Oe.length;it++){const gt=Oe[it];if(Y[gt]!==f[gt]&&!Op(Me,gt))return!0}}}else return(D||pe)&&(!pe||!pe.$stable)?!0:f===Y?!1:f?Y?tf(f,Y,Me):!0:!!Y;return!1}function tf(s,c,l){const f=Object.keys(c);if(f.length!==Object.keys(s).length)return!0;for(let D=0;D<f.length;D++){const N=f[D];if(c[N]!==s[N]&&!Op(l,N))return!0}return!1}function Xg({vnode:s,parent:c},l){for(;c&&c.subTree===s;)(s=c.vnode).el=l,c=c.parent}const Jg=s=>s.__isSuspense;function Kg(s,c){c&&c.pendingBranch?fs(s)?c.effects.push(...s):c.effects.push(s):Hg(s)}function hp(s,c){if(no){let l=no.provides;const f=no.parent&&no.parent.provides;f===l&&(l=no.provides=Object.create(f)),l[s]=c}}function Rl(s,c,l=!1){const f=no||Do;if(f){const D=f.parent==null?f.vnode.appContext&&f.vnode.appContext.provides:f.parent.provides;if(D&&s in D)return D[s];if(arguments.length>1)return l&&Ss(c)?c.call(f.proxy):c}}function Qg(s,c){return Nh(s,null,c)}const rf={};function Ya(s,c,l){return Nh(s,c,l)}function Nh(s,c,{immediate:l,deep:f,flush:D,onTrack:N,onTrigger:Y}=ua){const pe=no;let ye,Me=!1,Oe=!1;if(Na(s)?(ye=()=>s.value,Me=gp(s)):vc(s)?(ye=()=>s,f=!0):fs(s)?(Oe=!0,Me=s.some(At=>vc(At)||gp(At)),ye=()=>s.map(At=>{if(Na(At))return At.value;if(vc(At))return pc(At);if(Ss(At))return Zl(At,pe,2)})):Ss(s)?c?ye=()=>Zl(s,pe,2):ye=()=>{if(!(pe&&pe.isUnmounted))return it&&it(),Qu(s,pe,3,[gt])}:ye=Ku,c&&f){const At=ye;ye=()=>pc(At())}let it,gt=At=>{it=Rr.onStop=()=>{Zl(At,pe,4)}};if(Zc)return gt=Ku,c?l&&Qu(c,pe,3,[ye(),Oe?[]:void 0,gt]):ye(),Ku;let St=Oe?[]:rf;const Wt=()=>{if(!!Rr.active)if(c){const At=Rr.run();(f||Me||(Oe?At.some((It,qt)=>Xc(It,St[qt])):Xc(At,St)))&&(it&&it(),Qu(c,pe,3,[At,St===rf?void 0:St,gt]),St=At)}else Rr.run()};Wt.allowRecurse=!!c;let ar;D==="sync"?ar=Wt:D==="post"?ar=()=>Zo(Wt,pe&&pe.suspense):(Wt.pre=!0,pe&&(Wt.id=pe.uid),ar=()=>Ph(Wt));const Rr=new bh(ye,ar);return c?l?Wt():St=Rr.run():D==="post"?Zo(Rr.run.bind(Rr),pe&&pe.suspense):Rr.run(),()=>{Rr.stop(),pe&&pe.scope&&xh(pe.scope.effects,Rr)}}function Yg(s,c,l){const f=this.proxy,D=io(s)?s.includes(".")?jd(f,s):()=>f[s]:s.bind(f,f);let N;Ss(c)?N=c:(N=c.handler,l=c);const Y=no;wc(this);const pe=Nh(D,N.bind(f),l);return Y?wc(Y):fc(),pe}function jd(s,c){const l=c.split(".");return()=>{let f=s;for(let D=0;D<l.length&&f;D++)f=f[l[D]];return f}}function pc(s,c){if(!pa(s)||s.__v_skip||(c=c||new Set,c.has(s)))return s;if(c.add(s),Na(s))pc(s.value,c);else if(fs(s))for(let l=0;l<s.length;l++)pc(s[l],c);else if(kp(s)||Dc(s))s.forEach(l=>{pc(l,c)});else if(fd(s))for(const l in s)pc(s[l],c);return s}function Zu(s){return Ss(s)?{setup:s,name:s.name}:s}const Hc=s=>!!s.type.__asyncLoader,Rd=s=>s.type.__isKeepAlive;function Zg(s,c){Ud(s,"a",c)}function e0(s,c){Ud(s,"da",c)}function Ud(s,c,l=no){const f=s.__wdc||(s.__wdc=()=>{let D=l;for(;D;){if(D.isDeactivated)return;D=D.parent}return s()});if(Lp(c,f,l),l){let D=l.parent;for(;D&&D.parent;)Rd(D.parent.vnode)&&t0(f,c,l,D),D=D.parent}}function t0(s,c,l,f){const D=Lp(c,s,f,!0);Hd(()=>{xh(f[c],D)},l)}function Lp(s,c,l=no,f=!1){if(l){const D=l[s]||(l[s]=[]),N=c.__weh||(c.__weh=(...Y)=>{if(l.isUnmounted)return;kc(),wc(l);const pe=Qu(c,l,s,Y);return fc(),Pc(),pe});return f?D.unshift(N):D.push(N),N}}const $l=s=>(c,l=no)=>(!Zc||s==="sp")&&Lp(s,c,l),zd=$l("bm"),Bh=$l("m"),r0=$l("bu"),n0=$l("u"),i0=$l("bum"),Hd=$l("um"),s0=$l("sp"),a0=$l("rtg"),o0=$l("rtc");function u0(s,c=no){Lp("ec",s,c)}function l0(s,c){const l=Do;if(l===null)return s;const f=jp(l)||l.proxy,D=s.dirs||(s.dirs=[]);for(let N=0;N<c.length;N++){let[Y,pe,ye,Me=ua]=c[N];Ss(Y)&&(Y={mounted:Y,updated:Y}),Y.deep&&pc(pe),D.push({dir:Y,instance:f,value:pe,oldValue:void 0,arg:ye,modifiers:Me})}return s}function ac(s,c,l,f){const D=s.dirs,N=c&&c.dirs;for(let Y=0;Y<D.length;Y++){const pe=D[Y];N&&(pe.oldValue=N[Y].value);let ye=pe.dir[f];ye&&(kc(),Qu(ye,l,8,[s.el,pe,s,c]),Pc())}}const $d="components";function Dp(s,c){return p0($d,s,!0,c)||s}const c0=Symbol();function p0(s,c,l=!0,f=!1){const D=Do||no;if(D){const N=D.type;if(s===$d){const pe=U0(N,!1);if(pe&&(pe===c||pe===vl(c)||pe===Np(vl(c))))return N}const Y=nf(D[s]||N[s],c)||nf(D.appContext[s],c);return!Y&&f?N:Y}}function nf(s,c){return s&&(s[c]||s[vl(c)]||s[Np(vl(c))])}function sf(s,c,l,f){let D;const N=l&&l[f];if(fs(s)||io(s)){D=new Array(s.length);for(let Y=0,pe=s.length;Y<pe;Y++)D[Y]=c(s[Y],Y,void 0,N&&N[Y])}else if(typeof s=="number"){D=new Array(s);for(let Y=0;Y<s;Y++)D[Y]=c(Y+1,Y,void 0,N&&N[Y])}else if(pa(s))if(s[Symbol.iterator])D=Array.from(s,(Y,pe)=>c(Y,pe,void 0,N&&N[pe]));else{const Y=Object.keys(s);D=new Array(Y.length);for(let pe=0,ye=Y.length;pe<ye;pe++){const Me=Y[pe];D[pe]=c(s[Me],Me,pe,N&&N[pe])}}else D=[];return l&&(l[f]=D),D}function vp(s,c,l={},f,D){if(Do.isCE||Do.parent&&Hc(Do.parent)&&Do.parent.isCE)return na("slot",c==="default"?null:{name:c},f&&f());let N=s[c];N&&N._c&&(N._d=!1),ya();const Y=N&&qd(N(l)),pe=bc(eu,{key:l.key||Y&&Y.key||`_${c}`},Y||(f?f():[]),Y&&s._===1?64:-2);return!D&&pe.scopeId&&(pe.slotScopeIds=[pe.scopeId+"-s"]),N&&N._c&&(N._d=!0),pe}function qd(s){return s.some(c=>Ep(c)?!(c.type===tc||c.type===eu&&!qd(c.children)):!0)?s:null}const sh=s=>s?tm(s)?jp(s)||s.proxy:sh(s.parent):null,xp=No(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>s.props,$attrs:s=>s.attrs,$slots:s=>s.slots,$refs:s=>s.refs,$parent:s=>sh(s.parent),$root:s=>sh(s.root),$emit:s=>s.emit,$options:s=>_h(s),$forceUpdate:s=>s.f||(s.f=()=>Ph(s.update)),$nextTick:s=>s.n||(s.n=Ip.bind(s.proxy)),$watch:s=>Yg.bind(s)}),h0={get({_:s},c){const{ctx:l,setupState:f,data:D,props:N,accessCache:Y,type:pe,appContext:ye}=s;let Me;if(c[0]!=="$"){const St=Y[c];if(St!==void 0)switch(St){case 1:return f[c];case 2:return D[c];case 4:return l[c];case 3:return N[c]}else{if(f!==ua&&Rs(f,c))return Y[c]=1,f[c];if(D!==ua&&Rs(D,c))return Y[c]=2,D[c];if((Me=s.propsOptions[0])&&Rs(Me,c))return Y[c]=3,N[c];if(l!==ua&&Rs(l,c))return Y[c]=4,l[c];ah&&(Y[c]=0)}}const Oe=xp[c];let it,gt;if(Oe)return c==="$attrs"&&fu(s,"get",c),Oe(s);if((it=pe.__cssModules)&&(it=it[c]))return it;if(l!==ua&&Rs(l,c))return Y[c]=4,l[c];if(gt=ye.config.globalProperties,Rs(gt,c))return gt[c]},set({_:s},c,l){const{data:f,setupState:D,ctx:N}=s;return D!==ua&&Rs(D,c)?(D[c]=l,!0):f!==ua&&Rs(f,c)?(f[c]=l,!0):Rs(s.props,c)||c[0]==="$"&&c.slice(1)in s?!1:(N[c]=l,!0)},has({_:{data:s,setupState:c,accessCache:l,ctx:f,appContext:D,propsOptions:N}},Y){let pe;return!!l[Y]||s!==ua&&Rs(s,Y)||c!==ua&&Rs(c,Y)||(pe=N[0])&&Rs(pe,Y)||Rs(f,Y)||Rs(xp,Y)||Rs(D.config.globalProperties,Y)},defineProperty(s,c,l){return l.get!=null?s._.accessCache[c]=0:Rs(l,"value")&&this.set(s,c,l.value,null),Reflect.defineProperty(s,c,l)}};let ah=!0;function f0(s){const c=_h(s),l=s.proxy,f=s.ctx;ah=!1,c.beforeCreate&&af(c.beforeCreate,s,"bc");const{data:D,computed:N,methods:Y,watch:pe,provide:ye,inject:Me,created:Oe,beforeMount:it,mounted:gt,beforeUpdate:St,updated:Wt,activated:ar,deactivated:Rr,beforeDestroy:At,beforeUnmount:It,destroyed:qt,unmounted:Er,render:an,renderTracked:Jn,renderTriggered:An,errorCaptured:mi,serverPrefetch:oi,expose:Xn,inheritAttrs:Un,components:gi,directives:xr,filters:Nn}=c;if(Me&&d0(Me,f,null,s.appContext.config.unwrapInjectedRef),Y)for(const or in Y){const Bn=Y[or];Ss(Bn)&&(f[or]=Bn.bind(l))}if(D){const or=D.call(l,l);pa(or)&&(s.data=Nc(or))}if(ah=!0,N)for(const or in N){const Bn=N[or],ti=Ss(Bn)?Bn.bind(l,l):Ss(Bn.get)?Bn.get.bind(l,l):Ku,ts=!Ss(Bn)&&Ss(Bn.set)?Bn.set.bind(l):Ku,Cs=ea({get:ti,set:ts});Object.defineProperty(f,or,{enumerable:!0,configurable:!0,get:()=>Cs.value,set:_s=>Cs.value=_s})}if(pe)for(const or in pe)Vd(pe[or],f,l,or);if(ye){const or=Ss(ye)?ye.call(l):ye;Reflect.ownKeys(or).forEach(Bn=>{hp(Bn,or[Bn])})}Oe&&af(Oe,s,"c");function rn(or,Bn){fs(Bn)?Bn.forEach(ti=>or(ti.bind(l))):Bn&&or(Bn.bind(l))}if(rn(zd,it),rn(Bh,gt),rn(r0,St),rn(n0,Wt),rn(Zg,ar),rn(e0,Rr),rn(u0,mi),rn(o0,Jn),rn(a0,An),rn(i0,It),rn(Hd,Er),rn(s0,oi),fs(Xn))if(Xn.length){const or=s.exposed||(s.exposed={});Xn.forEach(Bn=>{Object.defineProperty(or,Bn,{get:()=>l[Bn],set:ti=>l[Bn]=ti})})}else s.exposed||(s.exposed={});an&&s.render===Ku&&(s.render=an),Un!=null&&(s.inheritAttrs=Un),gi&&(s.components=gi),xr&&(s.directives=xr)}function d0(s,c,l=Ku,f=!1){fs(s)&&(s=oh(s));for(const D in s){const N=s[D];let Y;pa(N)?"default"in N?Y=Rl(N.from||D,N.default,!0):Y=Rl(N.from||D):Y=Rl(N),Na(Y)&&f?Object.defineProperty(c,D,{enumerable:!0,configurable:!0,get:()=>Y.value,set:pe=>Y.value=pe}):c[D]=Y}}function af(s,c,l){Qu(fs(s)?s.map(f=>f.bind(c.proxy)):s.bind(c.proxy),c,l)}function Vd(s,c,l,f){const D=f.includes(".")?jd(l,f):()=>l[f];if(io(s)){const N=c[s];Ss(N)&&Ya(D,N)}else if(Ss(s))Ya(D,s.bind(l));else if(pa(s))if(fs(s))s.forEach(N=>Vd(N,c,l,f));else{const N=Ss(s.handler)?s.handler.bind(l):c[s.handler];Ss(N)&&Ya(D,N,s)}}function _h(s){const c=s.type,{mixins:l,extends:f}=c,{mixins:D,optionsCache:N,config:{optionMergeStrategies:Y}}=s.appContext,pe=N.get(c);let ye;return pe?ye=pe:!D.length&&!l&&!f?ye=c:(ye={},D.length&&D.forEach(Me=>Cp(ye,Me,Y,!0)),Cp(ye,c,Y)),pa(c)&&N.set(c,ye),ye}function Cp(s,c,l,f=!1){const{mixins:D,extends:N}=c;N&&Cp(s,N,l,!0),D&&D.forEach(Y=>Cp(s,Y,l,!0));for(const Y in c)if(!(f&&Y==="expose")){const pe=m0[Y]||l&&l[Y];s[Y]=pe?pe(s[Y],c[Y]):c[Y]}return s}const m0={data:of,props:uc,emits:uc,methods:uc,computed:uc,beforeCreate:Fo,created:Fo,beforeMount:Fo,mounted:Fo,beforeUpdate:Fo,updated:Fo,beforeDestroy:Fo,beforeUnmount:Fo,destroyed:Fo,unmounted:Fo,activated:Fo,deactivated:Fo,errorCaptured:Fo,serverPrefetch:Fo,components:uc,directives:uc,watch:y0,provide:of,inject:g0};function of(s,c){return c?s?function(){return No(Ss(s)?s.call(this,this):s,Ss(c)?c.call(this,this):c)}:c:s}function g0(s,c){return uc(oh(s),oh(c))}function oh(s){if(fs(s)){const c={};for(let l=0;l<s.length;l++)c[s[l]]=s[l];return c}return s}function Fo(s,c){return s?[...new Set([].concat(s,c))]:c}function uc(s,c){return s?No(No(Object.create(null),s),c):c}function y0(s,c){if(!s)return c;if(!c)return s;const l=No(Object.create(null),s);for(const f in c)l[f]=Fo(s[f],c[f]);return l}function D0(s,c,l,f=!1){const D={},N={};mp(N,Mp,1),s.propsDefaults=Object.create(null),Wd(s,c,D,N);for(const Y in s.propsOptions[0])Y in D||(D[Y]=void 0);l?s.props=f?D:Ng(D):s.type.props?s.props=D:s.props=N,s.attrs=N}function v0(s,c,l,f){const{props:D,attrs:N,vnode:{patchFlag:Y}}=s,pe=Xs(D),[ye]=s.propsOptions;let Me=!1;if((f||Y>0)&&!(Y&16)){if(Y&8){const Oe=s.vnode.dynamicProps;for(let it=0;it<Oe.length;it++){let gt=Oe[it];if(Op(s.emitsOptions,gt))continue;const St=c[gt];if(ye)if(Rs(N,gt))St!==N[gt]&&(N[gt]=St,Me=!0);else{const Wt=vl(gt);D[Wt]=uh(ye,pe,Wt,St,s,!1)}else St!==N[gt]&&(N[gt]=St,Me=!0)}}}else{Wd(s,c,D,N)&&(Me=!0);let Oe;for(const it in pe)(!c||!Rs(c,it)&&((Oe=Fc(it))===it||!Rs(c,Oe)))&&(ye?l&&(l[it]!==void 0||l[Oe]!==void 0)&&(D[it]=uh(ye,pe,it,void 0,s,!0)):delete D[it]);if(N!==pe)for(const it in N)(!c||!Rs(c,it)&&!0)&&(delete N[it],Me=!0)}Me&&Ul(s,"set","$attrs")}function Wd(s,c,l,f){const[D,N]=s.propsOptions;let Y=!1,pe;if(c)for(let ye in c){if(cp(ye))continue;const Me=c[ye];let Oe;D&&Rs(D,Oe=vl(ye))?!N||!N.includes(Oe)?l[Oe]=Me:(pe||(pe={}))[Oe]=Me:Op(s.emitsOptions,ye)||(!(ye in f)||Me!==f[ye])&&(f[ye]=Me,Y=!0)}if(N){const ye=Xs(l),Me=pe||ua;for(let Oe=0;Oe<N.length;Oe++){const it=N[Oe];l[it]=uh(D,ye,it,Me[it],s,!Rs(Me,it))}}return Y}function uh(s,c,l,f,D,N){const Y=s[l];if(Y!=null){const pe=Rs(Y,"default");if(pe&&f===void 0){const ye=Y.default;if(Y.type!==Function&&Ss(ye)){const{propsDefaults:Me}=D;l in Me?f=Me[l]:(wc(D),f=Me[l]=ye.call(null,c),fc())}else f=ye}Y[0]&&(N&&!pe?f=!1:Y[1]&&(f===""||f===Fc(l))&&(f=!0))}return f}function Gd(s,c,l=!1){const f=c.propsCache,D=f.get(s);if(D)return D;const N=s.props,Y={},pe=[];let ye=!1;if(!Ss(s)){const Oe=it=>{ye=!0;const[gt,St]=Gd(it,c,!0);No(Y,gt),St&&pe.push(...St)};!l&&c.mixins.length&&c.mixins.forEach(Oe),s.extends&&Oe(s.extends),s.mixins&&s.mixins.forEach(Oe)}if(!N&&!ye)return pa(s)&&f.set(s,yc),yc;if(fs(N))for(let Oe=0;Oe<N.length;Oe++){const it=vl(N[Oe]);uf(it)&&(Y[it]=ua)}else if(N)for(const Oe in N){const it=vl(Oe);if(uf(it)){const gt=N[Oe],St=Y[it]=fs(gt)||Ss(gt)?{type:gt}:gt;if(St){const Wt=pf(Boolean,St.type),ar=pf(String,St.type);St[0]=Wt>-1,St[1]=ar<0||Wt<ar,(Wt>-1||Rs(St,"default"))&&pe.push(it)}}}const Me=[Y,pe];return pa(s)&&f.set(s,Me),Me}function uf(s){return s[0]!=="$"}function lf(s){const c=s&&s.toString().match(/^\s*function (\w+)/);return c?c[1]:s===null?"null":""}function cf(s,c){return lf(s)===lf(c)}function pf(s,c){return fs(c)?c.findIndex(l=>cf(l,s)):Ss(c)&&cf(c,s)?0:-1}const Xd=s=>s[0]==="_"||s==="$stable",Ih=s=>fs(s)?s.map(yl):[yl(s)],x0=(s,c,l)=>{if(c._n)return c;const f=jl((...D)=>Ih(c(...D)),l);return f._c=!1,f},Jd=(s,c,l)=>{const f=s._ctx;for(const D in s){if(Xd(D))continue;const N=s[D];if(Ss(N))c[D]=x0(D,N,f);else if(N!=null){const Y=Ih(N);c[D]=()=>Y}}},Kd=(s,c)=>{const l=Ih(c);s.slots.default=()=>l},C0=(s,c)=>{if(s.vnode.shapeFlag&32){const l=c._;l?(s.slots=Xs(c),mp(c,"_",l)):Jd(c,s.slots={})}else s.slots={},c&&Kd(s,c);mp(s.slots,Mp,1)},E0=(s,c,l)=>{const{vnode:f,slots:D}=s;let N=!0,Y=ua;if(f.shapeFlag&32){const pe=c._;pe?l&&pe===1?N=!1:(No(D,c),!l&&pe===1&&delete D._):(N=!c.$stable,Jd(c,D)),Y=c}else c&&(Kd(s,c),Y={default:1});if(N)for(const pe in D)!Xd(pe)&&!(pe in Y)&&delete D[pe]};function Qd(){return{app:null,config:{isNativeTag:Xm,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let b0=0;function A0(s,c){return function(f,D=null){Ss(f)||(f=Object.assign({},f)),D!=null&&!pa(D)&&(D=null);const N=Qd(),Y=new Set;let pe=!1;const ye=N.app={_uid:b0++,_component:f,_props:D,_container:null,_context:N,_instance:null,version:H0,get config(){return N.config},set config(Me){},use(Me,...Oe){return Y.has(Me)||(Me&&Ss(Me.install)?(Y.add(Me),Me.install(ye,...Oe)):Ss(Me)&&(Y.add(Me),Me(ye,...Oe))),ye},mixin(Me){return N.mixins.includes(Me)||N.mixins.push(Me),ye},component(Me,Oe){return Oe?(N.components[Me]=Oe,ye):N.components[Me]},directive(Me,Oe){return Oe?(N.directives[Me]=Oe,ye):N.directives[Me]},mount(Me,Oe,it){if(!pe){const gt=na(f,D);return gt.appContext=N,Oe&&c?c(gt,Me):s(gt,Me,it),pe=!0,ye._container=Me,Me.__vue_app__=ye,jp(gt.component)||gt.component.proxy}},unmount(){pe&&(s(null,ye._container),delete ye._container.__vue_app__)},provide(Me,Oe){return N.provides[Me]=Oe,ye}};return ye}}function lh(s,c,l,f,D=!1){if(fs(s)){s.forEach((gt,St)=>lh(gt,c&&(fs(c)?c[St]:c),l,f,D));return}if(Hc(f)&&!D)return;const N=f.shapeFlag&4?jp(f.component)||f.component.proxy:f.el,Y=D?null:N,{i:pe,r:ye}=s,Me=c&&c.r,Oe=pe.refs===ua?pe.refs={}:pe.refs,it=pe.setupState;if(Me!=null&&Me!==ye&&(io(Me)?(Oe[Me]=null,Rs(it,Me)&&(it[Me]=null)):Na(Me)&&(Me.value=null)),Ss(ye))Zl(ye,pe,12,[Y,Oe]);else{const gt=io(ye),St=Na(ye);if(gt||St){const Wt=()=>{if(s.f){const ar=gt?Oe[ye]:ye.value;D?fs(ar)&&xh(ar,N):fs(ar)?ar.includes(N)||ar.push(N):gt?(Oe[ye]=[N],Rs(it,ye)&&(it[ye]=Oe[ye])):(ye.value=[N],s.k&&(Oe[s.k]=ye.value))}else gt?(Oe[ye]=Y,Rs(it,ye)&&(it[ye]=Y)):St&&(ye.value=Y,s.k&&(Oe[s.k]=Y))};Y?(Wt.id=-1,Zo(Wt,l)):Wt()}}}const Zo=Kg;function w0(s){return T0(s)}function T0(s,c){const l=tg();l.__VUE__=!0;const{insert:f,remove:D,patchProp:N,createElement:Y,createText:pe,createComment:ye,setText:Me,setElementText:Oe,parentNode:it,nextSibling:gt,setScopeId:St=Ku,cloneNode:Wt,insertStaticContent:ar}=s,Rr=(ht,Ot,vr,_r=null,Kr=null,Ur=null,Dn=!1,_n=null,dn=!!Ot.dynamicChildren)=>{if(ht===Ot)return;ht&&!Mc(ht,Ot)&&(_r=cn(ht),Zi(ht,Kr,Ur,!0),ht=null),Ot.patchFlag===-2&&(dn=!1,Ot.dynamicChildren=null);const{type:ct,ref:wr,shapeFlag:Rt}=Ot;switch(ct){case Oh:At(ht,Ot,vr,_r);break;case tc:It(ht,Ot,vr,_r);break;case Gp:ht==null&&qt(Ot,vr,_r,Dn);break;case eu:xr(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn);break;default:Rt&1?Jn(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn):Rt&6?Nn(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn):(Rt&64||Rt&128)&&ct.process(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn,ui)}wr!=null&&Kr&&lh(wr,ht&&ht.ref,Ur,Ot||ht,!Ot)},At=(ht,Ot,vr,_r)=>{if(ht==null)f(Ot.el=pe(Ot.children),vr,_r);else{const Kr=Ot.el=ht.el;Ot.children!==ht.children&&Me(Kr,Ot.children)}},It=(ht,Ot,vr,_r)=>{ht==null?f(Ot.el=ye(Ot.children||""),vr,_r):Ot.el=ht.el},qt=(ht,Ot,vr,_r)=>{[ht.el,ht.anchor]=ar(ht.children,Ot,vr,_r,ht.el,ht.anchor)},Er=({el:ht,anchor:Ot},vr,_r)=>{let Kr;for(;ht&&ht!==Ot;)Kr=gt(ht),f(ht,vr,_r),ht=Kr;f(Ot,vr,_r)},an=({el:ht,anchor:Ot})=>{let vr;for(;ht&&ht!==Ot;)vr=gt(ht),D(ht),ht=vr;D(Ot)},Jn=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{Dn=Dn||Ot.type==="svg",ht==null?An(Ot,vr,_r,Kr,Ur,Dn,_n,dn):Xn(ht,Ot,Kr,Ur,Dn,_n,dn)},An=(ht,Ot,vr,_r,Kr,Ur,Dn,_n)=>{let dn,ct;const{type:wr,props:Rt,shapeFlag:Mn,transition:bi,patchFlag:cs,dirs:ds}=ht;if(ht.el&&Wt!==void 0&&cs===-1)dn=ht.el=Wt(ht.el);else{if(dn=ht.el=Y(ht.type,Ur,Rt&&Rt.is,Rt),Mn&8?Oe(dn,ht.children):Mn&16&&oi(ht.children,dn,null,_r,Kr,Ur&&wr!=="foreignObject",Dn,_n),ds&&ac(ht,null,_r,"created"),Rt){for(const Hi in Rt)Hi!=="value"&&!cp(Hi)&&N(dn,Hi,null,Rt[Hi],Ur,ht.children,_r,Kr,Dr);"value"in Rt&&N(dn,"value",null,Rt.value),(ct=Rt.onVnodeBeforeMount)&&gl(ct,_r,ht)}mi(dn,ht,ht.scopeId,Dn,_r)}ds&&ac(ht,null,_r,"beforeMount");const ms=(!Kr||Kr&&!Kr.pendingBranch)&&bi&&!bi.persisted;ms&&bi.beforeEnter(dn),f(dn,Ot,vr),((ct=Rt&&Rt.onVnodeMounted)||ms||ds)&&Zo(()=>{ct&&gl(ct,_r,ht),ms&&bi.enter(dn),ds&&ac(ht,null,_r,"mounted")},Kr)},mi=(ht,Ot,vr,_r,Kr)=>{if(vr&&St(ht,vr),_r)for(let Ur=0;Ur<_r.length;Ur++)St(ht,_r[Ur]);if(Kr){let Ur=Kr.subTree;if(Ot===Ur){const Dn=Kr.vnode;mi(ht,Dn,Dn.scopeId,Dn.slotScopeIds,Kr.parent)}}},oi=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn=0)=>{for(let ct=dn;ct<ht.length;ct++){const wr=ht[ct]=_n?Kl(ht[ct]):yl(ht[ct]);Rr(null,wr,Ot,vr,_r,Kr,Ur,Dn,_n)}},Xn=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=Ot.el=ht.el;let{patchFlag:dn,dynamicChildren:ct,dirs:wr}=Ot;dn|=ht.patchFlag&16;const Rt=ht.props||ua,Mn=Ot.props||ua;let bi;vr&&oc(vr,!1),(bi=Mn.onVnodeBeforeUpdate)&&gl(bi,vr,Ot,ht),wr&&ac(Ot,ht,vr,"beforeUpdate"),vr&&oc(vr,!0);const cs=Kr&&Ot.type!=="foreignObject";if(ct?Un(ht.dynamicChildren,ct,_n,vr,_r,cs,Ur):Dn||ti(ht,Ot,_n,null,vr,_r,cs,Ur,!1),dn>0){if(dn&16)gi(_n,Ot,Rt,Mn,vr,_r,Kr);else if(dn&2&&Rt.class!==Mn.class&&N(_n,"class",null,Mn.class,Kr),dn&4&&N(_n,"style",Rt.style,Mn.style,Kr),dn&8){const ds=Ot.dynamicProps;for(let ms=0;ms<ds.length;ms++){const Hi=ds[ms],Ws=Rt[Hi],Vn=Mn[Hi];(Vn!==Ws||Hi==="value")&&N(_n,Hi,Ws,Vn,Kr,ht.children,vr,_r,Dr)}}dn&1&&ht.children!==Ot.children&&Oe(_n,Ot.children)}else!Dn&&ct==null&&gi(_n,Ot,Rt,Mn,vr,_r,Kr);((bi=Mn.onVnodeUpdated)||wr)&&Zo(()=>{bi&&gl(bi,vr,Ot,ht),wr&&ac(Ot,ht,vr,"updated")},_r)},Un=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{for(let _n=0;_n<Ot.length;_n++){const dn=ht[_n],ct=Ot[_n],wr=dn.el&&(dn.type===eu||!Mc(dn,ct)||dn.shapeFlag&70)?it(dn.el):vr;Rr(dn,ct,wr,null,_r,Kr,Ur,Dn,!0)}},gi=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{if(vr!==_r){for(const _n in _r){if(cp(_n))continue;const dn=_r[_n],ct=vr[_n];dn!==ct&&_n!=="value"&&N(ht,_n,ct,dn,Dn,Ot.children,Kr,Ur,Dr)}if(vr!==ua)for(const _n in vr)!cp(_n)&&!(_n in _r)&&N(ht,_n,vr[_n],null,Dn,Ot.children,Kr,Ur,Dr);"value"in _r&&N(ht,"value",vr.value,_r.value)}},xr=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{const ct=Ot.el=ht?ht.el:pe(""),wr=Ot.anchor=ht?ht.anchor:pe("");let{patchFlag:Rt,dynamicChildren:Mn,slotScopeIds:bi}=Ot;bi&&(_n=_n?_n.concat(bi):bi),ht==null?(f(ct,vr,_r),f(wr,vr,_r),oi(Ot.children,vr,wr,Kr,Ur,Dn,_n,dn)):Rt>0&&Rt&64&&Mn&&ht.dynamicChildren?(Un(ht.dynamicChildren,Mn,vr,Kr,Ur,Dn,_n),(Ot.key!=null||Kr&&Ot===Kr.subTree)&&Yd(ht,Ot,!0)):ti(ht,Ot,vr,wr,Kr,Ur,Dn,_n,dn)},Nn=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{Ot.slotScopeIds=_n,ht==null?Ot.shapeFlag&512?Kr.ctx.activate(Ot,vr,_r,Dn,dn):Ae(Ot,vr,_r,Kr,Ur,Dn,dn):rn(ht,Ot,dn)},Ae=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=ht.component=O0(ht,_r,Kr);if(Rd(ht)&&(_n.ctx.renderer=ui),L0(_n),_n.asyncDep){if(Kr&&Kr.registerDep(_n,or),!ht.el){const dn=_n.subTree=na(tc);It(null,dn,Ot,vr)}return}or(_n,ht,Ot,vr,Kr,Ur,Dn)},rn=(ht,Ot,vr)=>{const _r=Ot.component=ht.component;if(Gg(ht,Ot,vr))if(_r.asyncDep&&!_r.asyncResolved){Bn(_r,Ot,vr);return}else _r.next=Ot,zg(_r.update),_r.update();else Ot.el=ht.el,_r.vnode=Ot},or=(ht,Ot,vr,_r,Kr,Ur,Dn)=>{const _n=()=>{if(ht.isMounted){let{next:wr,bu:Rt,u:Mn,parent:bi,vnode:cs}=ht,ds=wr,ms;oc(ht,!1),wr?(wr.el=cs.el,Bn(ht,wr,Dn)):wr=cs,Rt&&pp(Rt),(ms=wr.props&&wr.props.onVnodeBeforeUpdate)&&gl(ms,bi,wr,cs),oc(ht,!0);const Hi=Wp(ht),Ws=ht.subTree;ht.subTree=Hi,Rr(Ws,Hi,it(Ws.el),cn(Ws),ht,Kr,Ur),wr.el=Hi.el,ds===null&&Xg(ht,Hi.el),Mn&&Zo(Mn,Kr),(ms=wr.props&&wr.props.onVnodeUpdated)&&Zo(()=>gl(ms,bi,wr,cs),Kr)}else{let wr;const{el:Rt,props:Mn}=Ot,{bm:bi,m:cs,parent:ds}=ht,ms=Hc(Ot);if(oc(ht,!1),bi&&pp(bi),!ms&&(wr=Mn&&Mn.onVnodeBeforeMount)&&gl(wr,ds,Ot),oc(ht,!0),Rt&&ri){const Hi=()=>{ht.subTree=Wp(ht),ri(Rt,ht.subTree,ht,Kr,null)};ms?Ot.type.__asyncLoader().then(()=>!ht.isUnmounted&&Hi()):Hi()}else{const Hi=ht.subTree=Wp(ht);Rr(null,Hi,vr,_r,ht,Kr,Ur),Ot.el=Hi.el}if(cs&&Zo(cs,Kr),!ms&&(wr=Mn&&Mn.onVnodeMounted)){const Hi=Ot;Zo(()=>gl(wr,ds,Hi),Kr)}(Ot.shapeFlag&256||ds&&Hc(ds.vnode)&&ds.vnode.shapeFlag&256)&&ht.a&&Zo(ht.a,Kr),ht.isMounted=!0,Ot=vr=_r=null}},dn=ht.effect=new bh(_n,()=>Ph(ct),ht.scope),ct=ht.update=()=>dn.run();ct.id=ht.uid,oc(ht,!0),ct()},Bn=(ht,Ot,vr)=>{Ot.component=ht;const _r=ht.vnode.props;ht.vnode=Ot,ht.next=null,v0(ht,Ot.props,_r,vr),E0(ht,Ot.children,vr),kc(),ef(),Pc()},ti=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn=!1)=>{const ct=ht&&ht.children,wr=ht?ht.shapeFlag:0,Rt=Ot.children,{patchFlag:Mn,shapeFlag:bi}=Ot;if(Mn>0){if(Mn&128){Cs(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn);return}else if(Mn&256){ts(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn);return}}bi&8?(wr&16&&Dr(ct,Kr,Ur),Rt!==ct&&Oe(vr,Rt)):wr&16?bi&16?Cs(ct,Rt,vr,_r,Kr,Ur,Dn,_n,dn):Dr(ct,Kr,Ur,!0):(wr&8&&Oe(vr,""),bi&16&&oi(Rt,vr,_r,Kr,Ur,Dn,_n,dn))},ts=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{ht=ht||yc,Ot=Ot||yc;const ct=ht.length,wr=Ot.length,Rt=Math.min(ct,wr);let Mn;for(Mn=0;Mn<Rt;Mn++){const bi=Ot[Mn]=dn?Kl(Ot[Mn]):yl(Ot[Mn]);Rr(ht[Mn],bi,vr,null,Kr,Ur,Dn,_n,dn)}ct>wr?Dr(ht,Kr,Ur,!0,!1,Rt):oi(Ot,vr,_r,Kr,Ur,Dn,_n,dn,Rt)},Cs=(ht,Ot,vr,_r,Kr,Ur,Dn,_n,dn)=>{let ct=0;const wr=Ot.length;let Rt=ht.length-1,Mn=wr-1;for(;ct<=Rt&&ct<=Mn;){const bi=ht[ct],cs=Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]);if(Mc(bi,cs))Rr(bi,cs,vr,null,Kr,Ur,Dn,_n,dn);else break;ct++}for(;ct<=Rt&&ct<=Mn;){const bi=ht[Rt],cs=Ot[Mn]=dn?Kl(Ot[Mn]):yl(Ot[Mn]);if(Mc(bi,cs))Rr(bi,cs,vr,null,Kr,Ur,Dn,_n,dn);else break;Rt--,Mn--}if(ct>Rt){if(ct<=Mn){const bi=Mn+1,cs=bi<wr?Ot[bi].el:_r;for(;ct<=Mn;)Rr(null,Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]),vr,cs,Kr,Ur,Dn,_n,dn),ct++}}else if(ct>Mn)for(;ct<=Rt;)Zi(ht[ct],Kr,Ur,!0),ct++;else{const bi=ct,cs=ct,ds=new Map;for(ct=cs;ct<=Mn;ct++){const Wr=Ot[ct]=dn?Kl(Ot[ct]):yl(Ot[ct]);Wr.key!=null&&ds.set(Wr.key,ct)}let ms,Hi=0;const Ws=Mn-cs+1;let Vn=!1,Pr=0;const Nr=new Array(Ws);for(ct=0;ct<Ws;ct++)Nr[ct]=0;for(ct=bi;ct<=Rt;ct++){const Wr=ht[ct];if(Hi>=Ws){Zi(Wr,Kr,Ur,!0);continue}let _t;if(Wr.key!=null)_t=ds.get(Wr.key);else for(ms=cs;ms<=Mn;ms++)if(Nr[ms-cs]===0&&Mc(Wr,Ot[ms])){_t=ms;break}_t===void 0?Zi(Wr,Kr,Ur,!0):(Nr[_t-cs]=ct+1,_t>=Pr?Pr=_t:Vn=!0,Rr(Wr,Ot[_t],vr,null,Kr,Ur,Dn,_n,dn),Hi++)}const Lr=Vn?S0(Nr):yc;for(ms=Lr.length-1,ct=Ws-1;ct>=0;ct--){const Wr=cs+ct,_t=Ot[Wr],Wn=Wr+1<wr?Ot[Wr+1].el:_r;Nr[ct]===0?Rr(null,_t,vr,Wn,Kr,Ur,Dn,_n,dn):Vn&&(ms<0||ct!==Lr[ms]?_s(_t,vr,Wn,2):ms--)}}},_s=(ht,Ot,vr,_r,Kr=null)=>{const{el:Ur,type:Dn,transition:_n,children:dn,shapeFlag:ct}=ht;if(ct&6){_s(ht.component.subTree,Ot,vr,_r);return}if(ct&128){ht.suspense.move(Ot,vr,_r);return}if(ct&64){Dn.move(ht,Ot,vr,ui);return}if(Dn===eu){f(Ur,Ot,vr);for(let Rt=0;Rt<dn.length;Rt++)_s(dn[Rt],Ot,vr,_r);f(ht.anchor,Ot,vr);return}if(Dn===Gp){Er(ht,Ot,vr);return}if(_r!==2&&ct&1&&_n)if(_r===0)_n.beforeEnter(Ur),f(Ur,Ot,vr),Zo(()=>_n.enter(Ur),Kr);else{const{leave:Rt,delayLeave:Mn,afterLeave:bi}=_n,cs=()=>f(Ur,Ot,vr),ds=()=>{Rt(Ur,()=>{cs(),bi&&bi()})};Mn?Mn(Ur,cs,ds):ds()}else f(Ur,Ot,vr)},Zi=(ht,Ot,vr,_r=!1,Kr=!1)=>{const{type:Ur,props:Dn,ref:_n,children:dn,dynamicChildren:ct,shapeFlag:wr,patchFlag:Rt,dirs:Mn}=ht;if(_n!=null&&lh(_n,null,vr,ht,!0),wr&256){Ot.ctx.deactivate(ht);return}const bi=wr&1&&Mn,cs=!Hc(ht);let ds;if(cs&&(ds=Dn&&Dn.onVnodeBeforeUnmount)&&gl(ds,Ot,ht),wr&6)Yr(ht.component,vr,_r);else{if(wr&128){ht.suspense.unmount(vr,_r);return}bi&&ac(ht,null,Ot,"beforeUnmount"),wr&64?ht.type.remove(ht,Ot,vr,Kr,ui,_r):ct&&(Ur!==eu||Rt>0&&Rt&64)?Dr(ct,Ot,vr,!1,!0):(Ur===eu&&Rt&384||!Kr&&wr&16)&&Dr(dn,Ot,vr),_r&&ls(ht)}(cs&&(ds=Dn&&Dn.onVnodeUnmounted)||bi)&&Zo(()=>{ds&&gl(ds,Ot,ht),bi&&ac(ht,null,Ot,"unmounted")},vr)},ls=ht=>{const{type:Ot,el:vr,anchor:_r,transition:Kr}=ht;if(Ot===eu){$r(vr,_r);return}if(Ot===Gp){an(ht);return}const Ur=()=>{D(vr),Kr&&!Kr.persisted&&Kr.afterLeave&&Kr.afterLeave()};if(ht.shapeFlag&1&&Kr&&!Kr.persisted){const{leave:Dn,delayLeave:_n}=Kr,dn=()=>Dn(vr,Ur);_n?_n(ht.el,Ur,dn):dn()}else Ur()},$r=(ht,Ot)=>{let vr;for(;ht!==Ot;)vr=gt(ht),D(ht),ht=vr;D(Ot)},Yr=(ht,Ot,vr)=>{const{bum:_r,scope:Kr,update:Ur,subTree:Dn,um:_n}=ht;_r&&pp(_r),Kr.stop(),Ur&&(Ur.active=!1,Zi(Dn,ht,Ot,vr)),_n&&Zo(_n,Ot),Zo(()=>{ht.isUnmounted=!0},Ot),Ot&&Ot.pendingBranch&&!Ot.isUnmounted&&ht.asyncDep&&!ht.asyncResolved&&ht.suspenseId===Ot.pendingId&&(Ot.deps--,Ot.deps===0&&Ot.resolve())},Dr=(ht,Ot,vr,_r=!1,Kr=!1,Ur=0)=>{for(let Dn=Ur;Dn<ht.length;Dn++)Zi(ht[Dn],Ot,vr,_r,Kr)},cn=ht=>ht.shapeFlag&6?cn(ht.component.subTree):ht.shapeFlag&128?ht.suspense.next():gt(ht.anchor||ht.el),Gn=(ht,Ot,vr)=>{ht==null?Ot._vnode&&Zi(Ot._vnode,null,null,!0):Rr(Ot._vnode||null,ht,Ot,null,null,null,vr),ef(),Id(),Ot._vnode=ht},ui={p:Rr,um:Zi,m:_s,r:ls,mt:Ae,mc:oi,pc:ti,pbc:Un,n:cn,o:s};let zn,ri;return c&&([zn,ri]=c(ui)),{render:Gn,hydrate:zn,createApp:A0(Gn,zn)}}function oc({effect:s,update:c},l){s.allowRecurse=c.allowRecurse=l}function Yd(s,c,l=!1){const f=s.children,D=c.children;if(fs(f)&&fs(D))for(let N=0;N<f.length;N++){const Y=f[N];let pe=D[N];pe.shapeFlag&1&&!pe.dynamicChildren&&((pe.patchFlag<=0||pe.patchFlag===32)&&(pe=D[N]=Kl(D[N]),pe.el=Y.el),l||Yd(Y,pe))}}function S0(s){const c=s.slice(),l=[0];let f,D,N,Y,pe;const ye=s.length;for(f=0;f<ye;f++){const Me=s[f];if(Me!==0){if(D=l[l.length-1],s[D]<Me){c[f]=D,l.push(f);continue}for(N=0,Y=l.length-1;N<Y;)pe=N+Y>>1,s[l[pe]]<Me?N=pe+1:Y=pe;Me<s[l[N]]&&(N>0&&(c[f]=l[N-1]),l[N]=f)}}for(N=l.length,Y=l[N-1];N-- >0;)l[N]=Y,Y=c[Y];return l}const F0=s=>s.__isTeleport,eu=Symbol(void 0),Oh=Symbol(void 0),tc=Symbol(void 0),Gp=Symbol(void 0),$c=[];let Ju=null;function ya(s=!1){$c.push(Ju=s?null:[])}function k0(){$c.pop(),Ju=$c[$c.length-1]||null}let Yc=1;function hf(s){Yc+=s}function Zd(s){return s.dynamicChildren=Yc>0?Ju||yc:null,k0(),Yc>0&&Ju&&Ju.push(s),s}function uo(s,c,l,f,D,N){return Zd(Xi(s,c,l,f,D,N,!0))}function bc(s,c,l,f,D){return Zd(na(s,c,l,f,D,!0))}function Ep(s){return s?s.__v_isVNode===!0:!1}function Mc(s,c){return s.type===c.type&&s.key===c.key}const Mp="__vInternal",em=({key:s})=>s!=null?s:null,fp=({ref:s,ref_key:c,ref_for:l})=>s!=null?io(s)||Na(s)||Ss(s)?{i:Do,r:s,k:c,f:!!l}:s:null;function Xi(s,c=null,l=null,f=0,D=null,N=s===eu?0:1,Y=!1,pe=!1){const ye={__v_isVNode:!0,__v_skip:!0,type:s,props:c,key:c&&em(c),ref:c&&fp(c),scopeId:Md,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:N,patchFlag:f,dynamicProps:D,dynamicChildren:null,appContext:null};return pe?(Lh(ye,l),N&128&&s.normalize(ye)):l&&(ye.shapeFlag|=io(l)?8:16),Yc>0&&!Y&&Ju&&(ye.patchFlag>0||N&6)&&ye.patchFlag!==32&&Ju.push(ye),ye}const na=P0;function P0(s,c=null,l=null,f=0,D=null,N=!1){if((!s||s===c0)&&(s=tc),Ep(s)){const pe=Ac(s,c,!0);return l&&Lh(pe,l),Yc>0&&!N&&Ju&&(pe.shapeFlag&6?Ju[Ju.indexOf(s)]=pe:Ju.push(pe)),pe.patchFlag|=-2,pe}if(z0(s)&&(s=s.__vccOpts),c){c=N0(c);let{class:pe,style:ye}=c;pe&&!io(pe)&&(c.class=Cc(pe)),pa(ye)&&(wd(ye)&&!fs(ye)&&(ye=No({},ye)),c.style=tp(ye))}const Y=io(s)?1:Jg(s)?128:F0(s)?64:pa(s)?4:Ss(s)?2:0;return Xi(s,c,l,f,D,Y,N,!0)}function N0(s){return s?wd(s)||Mp in s?No({},s):s:null}function Ac(s,c,l=!1){const{props:f,ref:D,patchFlag:N,children:Y}=s,pe=c?B0(f||{},c):f;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:pe,key:pe&&em(pe),ref:c&&c.ref?l&&D?fs(D)?D.concat(fp(c)):[D,fp(c)]:fp(c):D,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:Y,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:c&&s.type!==eu?N===-1?16:N|16:N,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Ac(s.ssContent),ssFallback:s.ssFallback&&Ac(s.ssFallback),el:s.el,anchor:s.anchor}}function Gu(s=" ",c=0){return na(Oh,null,s,c)}function bp(s="",c=!1){return c?(ya(),bc(tc,null,s)):na(tc,null,s)}function yl(s){return s==null||typeof s=="boolean"?na(tc):fs(s)?na(eu,null,s.slice()):typeof s=="object"?Kl(s):na(Oh,null,String(s))}function Kl(s){return s.el===null||s.memo?s:Ac(s)}function Lh(s,c){let l=0;const{shapeFlag:f}=s;if(c==null)c=null;else if(fs(c))l=16;else if(typeof c=="object")if(f&65){const D=c.default;D&&(D._c&&(D._d=!1),Lh(s,D()),D._c&&(D._d=!0));return}else{l=32;const D=c._;!D&&!(Mp in c)?c._ctx=Do:D===3&&Do&&(Do.slots._===1?c._=1:(c._=2,s.patchFlag|=1024))}else Ss(c)?(c={default:c,_ctx:Do},l=32):(c=String(c),f&64?(l=16,c=[Gu(c)]):l=8);s.children=c,s.shapeFlag|=l}function B0(...s){const c={};for(let l=0;l<s.length;l++){const f=s[l];for(const D in f)if(D==="class")c.class!==f.class&&(c.class=Cc([c.class,f.class]));else if(D==="style")c.style=tp([c.style,f.style]);else if(Fp(D)){const N=c[D],Y=f[D];Y&&N!==Y&&!(fs(N)&&N.includes(Y))&&(c[D]=N?[].concat(N,Y):Y)}else D!==""&&(c[D]=f[D])}return c}function gl(s,c,l,f=null){Qu(s,c,7,[l,f])}const _0=Qd();let I0=0;function O0(s,c,l){const f=s.type,D=(c?c.appContext:s.appContext)||_0,N={uid:I0++,vnode:s,type:f,parent:c,appContext:D,root:null,next:null,subTree:null,effect:null,update:null,scope:new rg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:c?c.provides:Object.create(D.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Gd(f,D),emitsOptions:Ld(f,D),emit:null,emitted:null,propsDefaults:ua,inheritAttrs:f.inheritAttrs,ctx:ua,data:ua,props:ua,attrs:ua,slots:ua,refs:ua,setupState:ua,setupContext:null,suspense:l,suspenseId:l?l.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return N.ctx={_:N},N.root=c?c.root:N,N.emit=qg.bind(null,N),s.ce&&s.ce(N),N}let no=null;const Mh=()=>no||Do,wc=s=>{no=s,s.scope.on()},fc=()=>{no&&no.scope.off(),no=null};function tm(s){return s.vnode.shapeFlag&4}let Zc=!1;function L0(s,c=!1){Zc=c;const{props:l,children:f}=s.vnode,D=tm(s);D0(s,l,D,c),C0(s,f);const N=D?M0(s,c):void 0;return Zc=!1,N}function M0(s,c){const l=s.type;s.accessCache=Object.create(null),s.proxy=Td(new Proxy(s.ctx,h0));const{setup:f}=l;if(f){const D=s.setupContext=f.length>1?R0(s):null;wc(s),kc();const N=Zl(f,s,0,[s.props,D]);if(Pc(),fc(),pd(N)){if(N.then(fc,fc),c)return N.then(Y=>{ff(s,Y,c)}).catch(Y=>{_p(Y,s,0)});s.asyncDep=N}else ff(s,N,c)}else rm(s,c)}function ff(s,c,l){Ss(c)?s.type.__ssrInlineRender?s.ssrRender=c:s.render=c:pa(c)&&(s.setupState=Pd(c)),rm(s,l)}let df;function rm(s,c,l){const f=s.type;if(!s.render){if(!c&&df&&!f.render){const D=f.template||_h(s).template;if(D){const{isCustomElement:N,compilerOptions:Y}=s.appContext.config,{delimiters:pe,compilerOptions:ye}=f,Me=No(No({isCustomElement:N,delimiters:pe},Y),ye);f.render=df(D,Me)}}s.render=f.render||Ku}wc(s),kc(),f0(s),Pc(),fc()}function j0(s){return new Proxy(s.attrs,{get(c,l){return fu(s,"get","$attrs"),c[l]}})}function R0(s){const c=f=>{s.exposed=f||{}};let l;return{get attrs(){return l||(l=j0(s))},slots:s.slots,emit:s.emit,expose:c}}function jp(s){if(s.exposed)return s.exposeProxy||(s.exposeProxy=new Proxy(Pd(Td(s.exposed)),{get(c,l){if(l in c)return c[l];if(l in xp)return xp[l](s)}}))}function U0(s,c=!0){return Ss(s)?s.displayName||s.name:s.name||c&&s.__name}function z0(s){return Ss(s)&&"__vccOpts"in s}const ea=(s,c)=>jg(s,c,Zc);function jh(s,c,l){const f=arguments.length;return f===2?pa(c)&&!fs(c)?Ep(c)?na(s,null,[c]):na(s,c):na(s,null,c):(f>3?l=Array.prototype.slice.call(arguments,2):f===3&&Ep(l)&&(l=[l]),na(s,c,l))}const H0="3.2.39",$0="http://www.w3.org/2000/svg",cc=typeof document<"u"?document:null,mf=cc&&cc.createElement("template"),q0={insert:(s,c,l)=>{c.insertBefore(s,l||null)},remove:s=>{const c=s.parentNode;c&&c.removeChild(s)},createElement:(s,c,l,f)=>{const D=c?cc.createElementNS($0,s):cc.createElement(s,l?{is:l}:void 0);return s==="select"&&f&&f.multiple!=null&&D.setAttribute("multiple",f.multiple),D},createText:s=>cc.createTextNode(s),createComment:s=>cc.createComment(s),setText:(s,c)=>{s.nodeValue=c},setElementText:(s,c)=>{s.textContent=c},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>cc.querySelector(s),setScopeId(s,c){s.setAttribute(c,"")},cloneNode(s){const c=s.cloneNode(!0);return"_value"in s&&(c._value=s._value),c},insertStaticContent(s,c,l,f,D,N){const Y=l?l.previousSibling:c.lastChild;if(D&&(D===N||D.nextSibling))for(;c.insertBefore(D.cloneNode(!0),l),!(D===N||!(D=D.nextSibling)););else{mf.innerHTML=f?`<svg>${s}</svg>`:s;const pe=mf.content;if(f){const ye=pe.firstChild;for(;ye.firstChild;)pe.appendChild(ye.firstChild);pe.removeChild(ye)}c.insertBefore(pe,l)}return[Y?Y.nextSibling:c.firstChild,l?l.previousSibling:c.lastChild]}};function V0(s,c,l){const f=s._vtc;f&&(c=(c?[c,...f]:[...f]).join(" ")),c==null?s.removeAttribute("class"):l?s.setAttribute("class",c):s.className=c}function W0(s,c,l){const f=s.style,D=io(l);if(l&&!D){for(const N in l)ch(f,N,l[N]);if(c&&!io(c))for(const N in c)l[N]==null&&ch(f,N,"")}else{const N=f.display;D?c!==l&&(f.cssText=l):c&&s.removeAttribute("style"),"_vod"in s&&(f.display=N)}}const gf=/\s*!important$/;function ch(s,c,l){if(fs(l))l.forEach(f=>ch(s,c,f));else if(l==null&&(l=""),c.startsWith("--"))s.setProperty(c,l);else{const f=G0(s,c);gf.test(l)?s.setProperty(Fc(f),l.replace(gf,""),"important"):s[f]=l}}const yf=["Webkit","Moz","ms"],Xp={};function G0(s,c){const l=Xp[c];if(l)return l;let f=vl(c);if(f!=="filter"&&f in s)return Xp[c]=f;f=Np(f);for(let D=0;D<yf.length;D++){const N=yf[D]+f;if(N in s)return Xp[c]=N}return c}const Df="http://www.w3.org/1999/xlink";function X0(s,c,l,f,D){if(f&&c.startsWith("xlink:"))l==null?s.removeAttributeNS(Df,c.slice(6,c.length)):s.setAttributeNS(Df,c,l);else{const N=$m(c);l==null||N&&!ud(l)?s.removeAttribute(c):s.setAttribute(c,N?"":l)}}function J0(s,c,l,f,D,N,Y){if(c==="innerHTML"||c==="textContent"){f&&Y(f,D,N),s[c]=l==null?"":l;return}if(c==="value"&&s.tagName!=="PROGRESS"&&!s.tagName.includes("-")){s._value=l;const ye=l==null?"":l;(s.value!==ye||s.tagName==="OPTION")&&(s.value=ye),l==null&&s.removeAttribute(c);return}let pe=!1;if(l===""||l==null){const ye=typeof s[c];ye==="boolean"?l=ud(l):l==null&&ye==="string"?(l="",pe=!0):ye==="number"&&(l=0,pe=!0)}try{s[c]=l}catch{}pe&&s.removeAttribute(c)}const[nm,K0]=(()=>{let s=Date.now,c=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(s=performance.now.bind(performance));const l=navigator.userAgent.match(/firefox\/(\d+)/i);c=!!(l&&Number(l[1])<=53)}return[s,c]})();let ph=0;const Q0=Promise.resolve(),Y0=()=>{ph=0},Z0=()=>ph||(Q0.then(Y0),ph=nm());function im(s,c,l,f){s.addEventListener(c,l,f)}function ey(s,c,l,f){s.removeEventListener(c,l,f)}function ty(s,c,l,f,D=null){const N=s._vei||(s._vei={}),Y=N[c];if(f&&Y)Y.value=f;else{const[pe,ye]=ry(c);if(f){const Me=N[c]=ny(f,D);im(s,pe,Me,ye)}else Y&&(ey(s,pe,Y,ye),N[c]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function ry(s){let c;if(vf.test(s)){c={};let f;for(;f=s.match(vf);)s=s.slice(0,s.length-f[0].length),c[f[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):Fc(s.slice(2)),c]}function ny(s,c){const l=f=>{const D=f.timeStamp||nm();(K0||D>=l.attached-1)&&Qu(iy(f,l.value),c,5,[f])};return l.value=s,l.attached=Z0(),l}function iy(s,c){if(fs(c)){const l=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{l.call(s),s._stopped=!0},c.map(f=>D=>!D._stopped&&f&&f(D))}else return c}const xf=/^on[a-z]/,sy=(s,c,l,f,D=!1,N,Y,pe,ye)=>{c==="class"?V0(s,f,D):c==="style"?W0(s,l,f):Fp(c)?vh(c)||ty(s,c,l,f,Y):(c[0]==="."?(c=c.slice(1),!0):c[0]==="^"?(c=c.slice(1),!1):ay(s,c,f,D))?J0(s,c,f,N,Y,pe,ye):(c==="true-value"?s._trueValue=f:c==="false-value"&&(s._falseValue=f),X0(s,c,f,D))};function ay(s,c,l,f){return f?!!(c==="innerHTML"||c==="textContent"||c in s&&xf.test(c)&&Ss(l)):c==="spellcheck"||c==="draggable"||c==="translate"||c==="form"||c==="list"&&s.tagName==="INPUT"||c==="type"&&s.tagName==="TEXTAREA"||xf.test(c)&&io(l)?!1:c in s}const Cf=s=>{const c=s.props["onUpdate:modelValue"]||!1;return fs(c)?l=>pp(c,l):c},oy={deep:!0,created(s,c,l){s._assign=Cf(l),im(s,"change",()=>{const f=s._modelValue,D=uy(s),N=s.checked,Y=s._assign;if(fs(f)){const pe=ld(f,D),ye=pe!==-1;if(N&&!ye)Y(f.concat(D));else if(!N&&ye){const Me=[...f];Me.splice(pe,1),Y(Me)}}else if(kp(f)){const pe=new Set(f);N?pe.add(D):pe.delete(D),Y(pe)}else Y(sm(s,N))})},mounted:Ef,beforeUpdate(s,c,l){s._assign=Cf(l),Ef(s,c,l)}};function Ef(s,{value:c,oldValue:l},f){s._modelValue=c,fs(c)?s.checked=ld(c,f.props.value)>-1:kp(c)?s.checked=c.has(f.props.value):c!==l&&(s.checked=Sp(c,sm(s,!0)))}function uy(s){return"_value"in s?s._value:s.value}function sm(s,c){const l=c?"_trueValue":"_falseValue";return l in s?s[l]:c}const ly=No({patchProp:sy},q0);let bf;function cy(){return bf||(bf=w0(ly))}const py=(...s)=>{const c=cy().createApp(...s),{mount:l}=c;return c.mount=f=>{const D=hy(f);if(!D)return;const N=c._component;!Ss(N)&&!N.render&&!N.template&&(N.template=D.innerHTML),D.innerHTML="";const Y=l(D,!1,D instanceof SVGElement);return D instanceof Element&&(D.removeAttribute("v-cloak"),D.setAttribute("data-v-app","")),Y},c};function hy(s){return io(s)?document.querySelector(s):s}var Af;const Bc=typeof window<"u",fy=s=>typeof s<"u",am=s=>typeof s=="function",dy=s=>typeof s=="string",dp=()=>{};Bc&&((Af=window==null?void 0:window.navigator)==null?void 0:Af.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Po(s){return typeof s=="function"?s():ws(s)}function om(s,c){function l(...f){s(()=>c.apply(this,f),{fn:c,thisArg:this,args:f})}return l}const um=s=>s();function my(s,c={}){let l,f;return N=>{const Y=Po(s),pe=Po(c.maxWait);if(l&&clearTimeout(l),Y<=0||pe!==void 0&&pe<=0)return f&&(clearTimeout(f),f=null),N();pe&&!f&&(f=setTimeout(()=>{l&&clearTimeout(l),f=null,N()},pe)),l=setTimeout(()=>{f&&clearTimeout(f),f=null,N()},Y)}}function gy(s=um){const c=Ba(!0);function l(){c.value=!1}function f(){c.value=!0}return{isActive:c,pause:l,resume:f,eventFilter:(...N)=>{c.value&&s(...N)}}}function wf(s,c=!1,l="Timeout"){return new Promise((f,D)=>{setTimeout(c?()=>D(l):f,s)})}function yy(s){return s}function Dy(s,...c){return c.some(l=>l in s)}function qc(){const s=[],c=D=>{const N=s.indexOf(D);N!==-1&&s.splice(N,1)};return{on:D=>(s.push(D),{off:()=>c(D)}),off:c,trigger:D=>{s.forEach(N=>N(D))}}}function Rp(s){return ig()?(sg(s),!0):!1}function vy(s,c=200,l={}){return om(my(c,l),s)}function xy(s,c=200,l={}){if(c<=0)return s;const f=Ba(s.value),D=vy(()=>{f.value=s.value},c,l);return Ya(s,()=>D()),f}function Jp(s){return typeof s=="function"?ea(s):Ba(s)}function Cy(s,c=!0){Mh()?zd(s):c?s():Ip(s)}function lm(s,c=!0){Mh()?Bh(s):c?s():Ip(s)}function Ey(s){let c=!1;function l(it,{flush:gt="sync",deep:St=!1,timeout:Wt,throwOnTimeout:ar}={}){let Rr=null;const It=[new Promise(qt=>{Rr=Ya(s,Er=>{it(Er)!==c&&(Rr==null||Rr(),qt(Er))},{flush:gt,deep:St,immediate:!0})})];return Wt!=null&&It.push(wf(Wt,ar).then(()=>Po(s)).finally(()=>Rr==null?void 0:Rr())),Promise.race(It)}function f(it,gt){if(!Na(it))return l(Er=>Er===it,gt);const{flush:St="sync",deep:Wt=!1,timeout:ar,throwOnTimeout:Rr}=gt!=null?gt:{};let At=null;const qt=[new Promise(Er=>{At=Ya([s,it],([an,Jn])=>{c!==(an===Jn)&&(At==null||At(),Er(an))},{flush:St,deep:Wt,immediate:!0})})];return ar!=null&&qt.push(wf(ar,Rr).then(()=>Po(s)).finally(()=>(At==null||At(),Po(s)))),Promise.race(qt)}function D(it){return l(gt=>Boolean(gt),it)}function N(it){return f(null,it)}function Y(it){return f(void 0,it)}function pe(it){return l(Number.isNaN,it)}function ye(it,gt){return l(St=>{const Wt=Array.from(St);return Wt.includes(it)||Wt.includes(Po(it))},gt)}function Me(it){return Oe(1,it)}function Oe(it=1,gt){let St=-1;return l(()=>(St+=1,St>=it),gt)}return Array.isArray(Po(s))?{toMatch:l,toContains:ye,changed:Me,changedTimes:Oe,get not(){return c=!c,this}}:{toMatch:l,toBe:f,toBeTruthy:D,toBeNull:N,toBeNaN:pe,toBeUndefined:Y,changed:Me,changedTimes:Oe,get not(){return c=!c,this}}}function by(s,c,l={}){const{immediate:f=!0}=l,D=Ba(!1);let N=null;function Y(){N&&(clearTimeout(N),N=null)}function pe(){D.value=!1,Y()}function ye(...Me){Y(),D.value=!0,N=setTimeout(()=>{D.value=!1,N=null,s(...Me)},Po(c))}return f&&(D.value=!0,Bc&&ye()),Rp(pe),{isPending:D,start:ye,stop:pe}}function Ay(s=!1,c={}){const{truthyValue:l=!0,falsyValue:f=!1}=c,D=Na(s),N=Ba(s);function Y(pe){if(arguments.length)return N.value=pe,N.value;{const ye=Po(l);return N.value=N.value===ye?Po(f):ye,N.value}}return D?Y:[N,Y]}var Tf=Object.getOwnPropertySymbols,wy=Object.prototype.hasOwnProperty,Ty=Object.prototype.propertyIsEnumerable,Sy=(s,c)=>{var l={};for(var f in s)wy.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Tf)for(var f of Tf(s))c.indexOf(f)<0&&Ty.call(s,f)&&(l[f]=s[f]);return l};function Fy(s,c,l={}){const f=l,{eventFilter:D=um}=f,N=Sy(f,["eventFilter"]);return Ya(s,om(D,c),N)}var ky=Object.defineProperty,Py=Object.defineProperties,Ny=Object.getOwnPropertyDescriptors,Ap=Object.getOwnPropertySymbols,cm=Object.prototype.hasOwnProperty,pm=Object.prototype.propertyIsEnumerable,Sf=(s,c,l)=>c in s?ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,By=(s,c)=>{for(var l in c||(c={}))cm.call(c,l)&&Sf(s,l,c[l]);if(Ap)for(var l of Ap(c))pm.call(c,l)&&Sf(s,l,c[l]);return s},_y=(s,c)=>Py(s,Ny(c)),Iy=(s,c)=>{var l={};for(var f in s)cm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Ap)for(var f of Ap(s))c.indexOf(f)<0&&pm.call(s,f)&&(l[f]=s[f]);return l};function Oy(s,c,l={}){const f=l,{eventFilter:D}=f,N=Iy(f,["eventFilter"]),{eventFilter:Y,pause:pe,resume:ye,isActive:Me}=gy(D);return{stop:Fy(s,c,_y(By({},N),{eventFilter:Y})),pause:pe,resume:ye,isActive:Me}}function px(s,c,l){let f;Na(l)?f={evaluating:l}:f=l||{};const{lazy:D=!1,evaluating:N=void 0,onError:Y=dp}=f,pe=Ba(!D),ye=Ba(c);let Me=0;return Qg(async Oe=>{if(!pe.value)return;Me++;const it=Me;let gt=!1;N&&Promise.resolve().then(()=>{N.value=!0});try{const St=await s(Wt=>{Oe(()=>{N&&(N.value=!1),gt||Wt()})});it===Me&&(ye.value=St)}catch(St){Y(St)}finally{N&&it===Me&&(N.value=!1),gt=!0}}),D?ea(()=>(pe.value=!0,ye.value)):ye}function Rh(s){var c;const l=Po(s);return(c=l==null?void 0:l.$el)!=null?c:l}const zl=Bc?window:void 0;Bc&&window.document;Bc&&window.navigator;Bc&&window.location;function Ly(...s){let c,l,f,D;if(dy(s[0])?([l,f,D]=s,c=zl):[c,l,f,D]=s,!c)return dp;let N=dp;const Y=Ya(()=>Rh(c),ye=>{N(),ye&&(ye.addEventListener(l,f,D),N=()=>{ye.removeEventListener(l,f,D),N=dp})},{immediate:!0,flush:"post"}),pe=()=>{Y(),N()};return Rp(pe),pe}function hm(s,c=!1){const l=Ba(),f=()=>l.value=Boolean(s());return f(),lm(f,c),l}function My(s,c={}){const{window:l=zl}=c,f=hm(()=>l&&"matchMedia"in l&&typeof l.matchMedia=="function");let D;const N=Ba(!1),Y=()=>{!f.value||(D||(D=l.matchMedia(s)),N.value=D.matches)};return Cy(()=>{Y(),D&&("addEventListener"in D?D.addEventListener("change",Y):D.addListener(Y),Rp(()=>{"removeEventListener"in D?D.removeEventListener("change",Y):D.removeListener(Y)}))}),N}function jy(s){return JSON.parse(JSON.stringify(s))}const hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fh="__vueuse_ssr_handlers__";hh[fh]=hh[fh]||{};const Ry=hh[fh];function fm(s,c){return Ry[s]||c}function Uy(s){return s==null?"any":s instanceof Set?"set":s instanceof Map?"map":s instanceof Date?"date":typeof s=="boolean"?"boolean":typeof s=="string"?"string":typeof s=="object"||Array.isArray(s)?"object":Number.isNaN(s)?"any":"number"}var zy=Object.defineProperty,Ff=Object.getOwnPropertySymbols,Hy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,kf=(s,c,l)=>c in s?zy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Pf=(s,c)=>{for(var l in c||(c={}))Hy.call(c,l)&&kf(s,l,c[l]);if(Ff)for(var l of Ff(c))$y.call(c,l)&&kf(s,l,c[l]);return s};const qy={boolean:{read:s=>s==="true",write:s=>String(s)},object:{read:s=>JSON.parse(s),write:s=>JSON.stringify(s)},number:{read:s=>Number.parseFloat(s),write:s=>String(s)},any:{read:s=>s,write:s=>String(s)},string:{read:s=>s,write:s=>String(s)},map:{read:s=>new Map(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s.entries()))},set:{read:s=>new Set(JSON.parse(s)),write:s=>JSON.stringify(Array.from(s))},date:{read:s=>new Date(s),write:s=>s.toISOString()}};function dm(s,c,l,f={}){var D;const{flush:N="pre",deep:Y=!0,listenToStorageChanges:pe=!0,writeDefaults:ye=!0,mergeDefaults:Me=!1,shallow:Oe,window:it=zl,eventFilter:gt,onError:St=An=>{console.error(An)}}=f,Wt=(Oe?zc:Ba)(c);if(!l)try{l=fm("getDefaultStorage",()=>{var An;return(An=zl)==null?void 0:An.localStorage})()}catch(An){St(An)}if(!l)return Wt;const ar=Po(c),Rr=Uy(ar),At=(D=f.serializer)!=null?D:qy[Rr],{pause:It,resume:qt}=Oy(Wt,()=>Er(Wt.value),{flush:N,deep:Y,eventFilter:gt});return it&&pe&&Ly(it,"storage",Jn),Jn(),Wt;function Er(An){try{An==null?l.removeItem(s):l.setItem(s,At.write(An))}catch(mi){St(mi)}}function an(An){if(!(An&&An.key!==s)){It();try{const mi=An?An.newValue:l.getItem(s);if(mi==null)return ye&&ar!==null&&l.setItem(s,At.write(ar)),ar;if(!An&&Me){const oi=At.read(mi);return am(Me)?Me(oi,ar):Rr==="object"&&!Array.isArray(oi)?Pf(Pf({},ar),oi):oi}else return typeof mi!="string"?mi:At.read(mi)}catch(mi){St(mi)}finally{qt()}}}function Jn(An){An&&An.key!==s||(Wt.value=an(An))}}function mm(s){return My("(prefers-color-scheme: dark)",s)}var Vy=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Wy=Object.prototype.hasOwnProperty,Gy=Object.prototype.propertyIsEnumerable,Bf=(s,c,l)=>c in s?Vy(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Xy=(s,c)=>{for(var l in c||(c={}))Wy.call(c,l)&&Bf(s,l,c[l]);if(Nf)for(var l of Nf(c))Gy.call(c,l)&&Bf(s,l,c[l]);return s};function Jy(s={}){const{selector:c="html",attribute:l="class",initialValue:f="auto",window:D=zl,storage:N,storageKey:Y="vueuse-color-scheme",listenToStorageChanges:pe=!0,storageRef:ye,emitAuto:Me}=s,Oe=Xy({auto:"",light:"light",dark:"dark"},s.modes||{}),it=mm({window:D}),gt=ea(()=>it.value?"dark":"light"),St=ye||(Y==null?Ba(f):dm(Y,f,N,{window:D,listenToStorageChanges:pe})),Wt=ea({get(){return St.value==="auto"&&!Me?gt.value:St.value},set(It){St.value=It}}),ar=fm("updateHTMLAttrs",(It,qt,Er)=>{const an=D==null?void 0:D.document.querySelector(It);if(!!an)if(qt==="class"){const Jn=Er.split(/\s/g);Object.values(Oe).flatMap(An=>(An||"").split(/\s/g)).filter(Boolean).forEach(An=>{Jn.includes(An)?an.classList.add(An):an.classList.remove(An)})}else an.setAttribute(qt,Er)});function Rr(It){var qt;const Er=It==="auto"?gt.value:It;ar(c,l,(qt=Oe[Er])!=null?qt:Er)}function At(It){s.onChanged?s.onChanged(It,Rr):Rr(It)}return Ya(Wt,At,{flush:"post",immediate:!0}),Me&&Ya(gt,()=>At(Wt.value),{flush:"post"}),lm(()=>At(Wt.value)),Wt}var Ky=Object.defineProperty,Qy=Object.defineProperties,Yy=Object.getOwnPropertyDescriptors,_f=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,eD=Object.prototype.propertyIsEnumerable,If=(s,c,l)=>c in s?Ky(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,tD=(s,c)=>{for(var l in c||(c={}))Zy.call(c,l)&&If(s,l,c[l]);if(_f)for(var l of _f(c))eD.call(c,l)&&If(s,l,c[l]);return s},rD=(s,c)=>Qy(s,Yy(c));function nD(s={}){const{valueDark:c="dark",valueLight:l="",window:f=zl}=s,D=Jy(rD(tD({},s),{onChanged:(pe,ye)=>{var Me;s.onChanged?(Me=s.onChanged)==null||Me.call(s,pe==="dark"):ye(pe)},modes:{dark:c,light:l}})),N=mm({window:f});return ea({get(){return D.value==="dark"},set(pe){pe===N.value?D.value="auto":D.value=pe?"dark":"light"}})}var Of=Object.getOwnPropertySymbols,iD=Object.prototype.hasOwnProperty,sD=Object.prototype.propertyIsEnumerable,aD=(s,c)=>{var l={};for(var f in s)iD.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Of)for(var f of Of(s))c.indexOf(f)<0&&sD.call(s,f)&&(l[f]=s[f]);return l};function oD(s,c,l={}){const f=l,{window:D=zl}=f,N=aD(f,["window"]);let Y;const pe=hm(()=>D&&"ResizeObserver"in D),ye=()=>{Y&&(Y.disconnect(),Y=void 0)},Me=Ya(()=>Rh(s),it=>{ye(),pe.value&&D&&it&&(Y=new ResizeObserver(c),Y.observe(it,N))},{immediate:!0,flush:"post"}),Oe=()=>{ye(),Me()};return Rp(Oe),{isSupported:pe,stop:Oe}}var uD=Object.defineProperty,lD=Object.defineProperties,cD=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,pD=Object.prototype.hasOwnProperty,hD=Object.prototype.propertyIsEnumerable,Mf=(s,c,l)=>c in s?uD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,Yo=(s,c)=>{for(var l in c||(c={}))pD.call(c,l)&&Mf(s,l,c[l]);if(Lf)for(var l of Lf(c))hD.call(c,l)&&Mf(s,l,c[l]);return s},jc=(s,c)=>lD(s,cD(c));const fD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function jf(s){return Dy(s,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Kp(s){return typeof Headers<"u"&&s instanceof Headers?Object.fromEntries([...s.entries()]):s}function Up(s,...c){var l;const f=typeof AbortController=="function";let D={},N={immediate:!0,refetch:!1,timeout:0};const Y={method:"GET",type:"text",payload:void 0};c.length>0&&(jf(c[0])?N=Yo(Yo({},N),c[0]):D=c[0]),c.length>1&&jf(c[1])&&(N=Yo(Yo({},N),c[1]));const{fetch:pe=(l=zl)==null?void 0:l.fetch,initialData:ye,timeout:Me}=N,Oe=qc(),it=qc(),gt=qc(),St=Ba(!1),Wt=Ba(!1),ar=Ba(!1),Rr=Ba(null),At=zc(null),It=zc(null),qt=zc(ye),Er=ea(()=>f&&Wt.value);let an,Jn;const An=()=>{f&&an&&an.abort()},mi=Ae=>{Wt.value=Ae,St.value=!Ae};Me&&(Jn=by(An,Me,{immediate:!1}));const oi=async(Ae=!1)=>{var rn;mi(!0),It.value=null,Rr.value=null,ar.value=!1,an=void 0,f&&(an=new AbortController,an.signal.onabort=()=>ar.value=!0,D=jc(Yo({},D),{signal:an.signal}));const or={method:Y.method,headers:{}};if(Y.payload){const Cs=Kp(or.headers);Y.payloadType&&(Cs["Content-Type"]=(rn=fD[Y.payloadType])!=null?rn:Y.payloadType);const _s=Po(Y.payload);or.body=Y.payloadType==="json"?JSON.stringify(_s):_s}let Bn=!1;const ti={url:Po(s),options:Yo(Yo({},or),D),cancel:()=>{Bn=!0}};if(N.beforeFetch&&Object.assign(ti,await N.beforeFetch(ti)),Bn||!pe)return mi(!1),Promise.resolve(null);let ts=null;return Jn&&Jn.start(),new Promise((Cs,_s)=>{var Zi;pe(ti.url,jc(Yo(Yo({},or),ti.options),{headers:Yo(Yo({},Kp(or.headers)),Kp((Zi=ti.options)==null?void 0:Zi.headers))})).then(async ls=>{if(At.value=ls,Rr.value=ls.status,ts=await ls[Y.type](),N.afterFetch&&Rr.value>=200&&Rr.value<300&&({data:ts}=await N.afterFetch({data:ts,response:ls})),qt.value=ts,!ls.ok)throw new Error(ls.statusText);return Oe.trigger(ls),Cs(ls)}).catch(async ls=>{let $r=ls.message||ls.name;return N.onFetchError&&({data:ts,error:$r}=await N.onFetchError({data:ts,error:ls,response:At.value})),qt.value=ts,It.value=$r,it.trigger(ls),Ae?_s(ls):Cs(null)}).finally(()=>{mi(!1),Jn&&Jn.stop(),gt.trigger(null)})})},Xn=Jp(N.refetch);Ya([Xn,Jp(s)],([Ae])=>Ae&&oi(),{deep:!0});const Un={isFinished:St,statusCode:Rr,response:At,error:It,data:qt,isFetching:Wt,canAbort:Er,aborted:ar,abort:An,execute:oi,onFetchResponse:Oe.on,onFetchError:it.on,onFetchFinally:gt.on,get:gi("GET"),put:gi("PUT"),post:gi("POST"),delete:gi("DELETE"),patch:gi("PATCH"),head:gi("HEAD"),options:gi("OPTIONS"),json:Nn("json"),text:Nn("text"),blob:Nn("blob"),arrayBuffer:Nn("arrayBuffer"),formData:Nn("formData")};function gi(Ae){return(rn,or)=>{if(!Wt.value){Y.method=Ae,Y.payload=rn,Y.payloadType=or,Na(Y.payload)&&Ya([Xn,Jp(Y.payload)],([ti])=>ti&&oi(),{deep:!0});const Bn=Po(Y.payload);return!or&&Bn&&Object.getPrototypeOf(Bn)===Object.prototype&&(Y.payloadType="json"),jc(Yo({},Un),{then(ti,ts){return xr().then(ti,ts)}})}}}function xr(){return new Promise((Ae,rn)=>{Ey(St).toBe(!0).then(()=>Ae(Un)).catch(or=>rn(or))})}function Nn(Ae){return()=>{if(!Wt.value)return Y.type=Ae,jc(Yo({},Un),{then(rn,or){return xr().then(rn,or)}})}}return N.immediate&&setTimeout(oi,0),jc(Yo({},Un),{then(Ae,rn){return xr().then(Ae,rn)}})}function hx(s,c,l={}){const{window:f=zl}=l;return dm(s,c,f==null?void 0:f.localStorage,l)}var Rf;(function(s){s.UP="UP",s.RIGHT="RIGHT",s.DOWN="DOWN",s.LEFT="LEFT",s.NONE="NONE"})(Rf||(Rf={}));var dD=Object.defineProperty,Uf=Object.getOwnPropertySymbols,mD=Object.prototype.hasOwnProperty,gD=Object.prototype.propertyIsEnumerable,zf=(s,c,l)=>c in s?dD(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,yD=(s,c)=>{for(var l in c||(c={}))mD.call(c,l)&&zf(s,l,c[l]);if(Uf)for(var l of Uf(c))gD.call(c,l)&&zf(s,l,c[l]);return s};const DD={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};yD({linear:yy},DD);function vD(s,c,l,f={}){var D,N,Y;const{clone:pe=!1,passive:ye=!1,eventName:Me,deep:Oe=!1,defaultValue:it}=f,gt=Mh(),St=l||(gt==null?void 0:gt.emit)||((D=gt==null?void 0:gt.$emit)==null?void 0:D.bind(gt))||((Y=(N=gt==null?void 0:gt.proxy)==null?void 0:N.$emit)==null?void 0:Y.bind(gt==null?void 0:gt.proxy));let Wt=Me;c||(c="modelValue"),Wt=Me||Wt||`update:${c.toString()}`;const ar=At=>pe?am(pe)?pe(At):jy(At):At,Rr=()=>fy(s[c])?ar(s[c]):it;if(ye){const At=Rr(),It=Ba(At);return Ya(()=>s[c],qt=>It.value=ar(qt)),Ya(It,qt=>{(qt!==s[c]||Oe)&&St(Wt,qt)},{deep:Oe}),It}else return ea({get(){return Rr()},set(At){St(Wt,At)}})}function xD(s){const c=s.length;let l=-1,f,D="";const N=s.charCodeAt(0);for(;++l<c;){if(f=s.charCodeAt(l),f===0){D+="\uFFFD";continue}if(f===44){D+="\\,";continue}if(f>=1&&f<=31||f===127||l===0&&f>=48&&f<=57||l===1&&f>=48&&f<=57&&N===45){D+=`\\${f.toString(16)} `;continue}if(l===0&&c===1&&f===45){D+=`\\${s.charAt(l)}`;continue}if(f>=128||f===45||f===95||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122){D+=s.charAt(l);continue}D+=`\\${s.charAt(l)}`}return D}const Hf=xD,CD=/^\[(.+?)~?="(.*)"\]$/,ED=/[\w\u00A0-\uFFFF-_:%-?]/;function bD(s){return s.match(CD)}function fx(s=""){return ED.test(s)}const AD=/((?:[!\w+:_/-]|\[&?>?:?.*\])+?)([:-])\(((?:[~!\w\s:/\\,%#.$-]|\[.*?\])*?)\)/gm;function wD(s,c,l=!1){const f=[],D=[],N=new Set;Array.from(c).forEach(pe=>{const ye=bD(pe);ye?ye[2]?D.push(ye):N.add(ye[1]):N.add(pe)});let Y=0;return s.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(pe=>{const ye=Y+pe.length;N.has(pe)&&f.push([Y,ye,pe]),Y=ye}),l&&Array.from(s.matchAll(AD)).forEach(pe=>{const[,ye,Me,Oe]=pe;let gt=pe.index+ye.length+Me.length+1;Oe.split(/([\s"'`;<>]|:\(|\)"|\)\s)/g).forEach(St=>{const Wt=gt+St.length,ar=ye+Me+St;if(N.has(ar)){const Rr=f.findIndex(([At,It])=>At===gt&&It===Wt);Rr<0?f.push([gt,Wt,ar]):f[Rr][2]=ar}gt=Wt})}),D.forEach(([,pe,ye])=>{const Me=new RegExp(`(${Hf(pe)}=)(['"])[^\\2]*?${Hf(ye)}[^\\2]*?\\2`,"g");Array.from(s.matchAll(Me)).forEach(Oe=>{const it=Oe[1],St=Oe[0].slice(it.length).indexOf(ye);if(St<0)return;const Wt=Oe.index+it.length+St,ar=Wt+ye.length;f.push([Wt,ar,`[${pe}="${ye}"]`])})}),f.sort((pe,ye)=>pe[0]-ye[0])}var Hl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zp(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ql={exports:{}};(function(s,c){(function(l,f){s.exports=f()})(Hl,function(){var l=navigator.userAgent,f=navigator.platform,D=/gecko\/\d/i.test(l),N=/MSIE \d/.test(l),Y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(l),pe=/Edge\/(\d+)/.exec(l),ye=N||Y||pe,Me=ye&&(N?document.documentMode||6:+(pe||Y)[1]),Oe=!pe&&/WebKit\//.test(l),it=Oe&&/Qt\/\d+\.\d+/.test(l),gt=!pe&&/Chrome\/(\d+)/.exec(l),St=gt&&+gt[1],Wt=/Opera\//.test(l),ar=/Apple Computer/.test(navigator.vendor),Rr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(l),At=/PhantomJS/.test(l),It=ar&&(/Mobile\/\w+/.test(l)||navigator.maxTouchPoints>2),qt=/Android/.test(l),Er=It||qt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(l),an=It||/Mac/.test(f),Jn=/\bCrOS\b/.test(l),An=/win/i.test(f),mi=Wt&&l.match(/Version\/(\d*\.\d*)/);mi&&(mi=Number(mi[1])),mi&&mi>=15&&(Wt=!1,Oe=!0);var oi=an&&(it||Wt&&(mi==null||mi<12.11)),Xn=D||ye&&Me>=9;function Un(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var gi=function(e,r){var n=e.className,a=Un(r).exec(n);if(a){var u=n.slice(a.index+a[0].length);e.className=n.slice(0,a.index)+(u?a[1]+u:"")}};function xr(e){for(var r=e.childNodes.length;r>0;--r)e.removeChild(e.firstChild);return e}function Nn(e,r){return xr(e).appendChild(r)}function Ae(e,r,n,a){var u=document.createElement(e);if(n&&(u.className=n),a&&(u.style.cssText=a),typeof r=="string")u.appendChild(document.createTextNode(r));else if(r)for(var h=0;h<r.length;++h)u.appendChild(r[h]);return u}function rn(e,r,n,a){var u=Ae(e,r,n,a);return u.setAttribute("role","presentation"),u}var or;document.createRange?or=function(e,r,n,a){var u=document.createRange();return u.setEnd(a||e,n),u.setStart(e,r),u}:or=function(e,r,n){var a=document.body.createTextRange();try{a.moveToElementText(e.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",n),a.moveStart("character",r),a};function Bn(e,r){if(r.nodeType==3&&(r=r.parentNode),e.contains)return e.contains(r);do if(r.nodeType==11&&(r=r.host),r==e)return!0;while(r=r.parentNode)}function ti(e){var r;try{r=e.activeElement}catch{r=e.body||null}for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;return r}function ts(e,r){var n=e.className;Un(r).test(n)||(e.className+=(n?" ":"")+r)}function Cs(e,r){for(var n=e.split(" "),a=0;a<n.length;a++)n[a]&&!Un(n[a]).test(r)&&(r+=" "+n[a]);return r}var _s=function(e){e.select()};It?_s=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:ye&&(_s=function(e){try{e.select()}catch{}});function Zi(e){return e.display.wrapper.ownerDocument}function ls(e){return Zi(e).defaultView}function $r(e){var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}}function Yr(e,r,n){r||(r={});for(var a in e)e.hasOwnProperty(a)&&(n!==!1||!r.hasOwnProperty(a))&&(r[a]=e[a]);return r}function Dr(e,r,n,a,u){r==null&&(r=e.search(/[^\s\u00a0]/),r==-1&&(r=e.length));for(var h=a||0,C=u||0;;){var S=e.indexOf(" ",h);if(S<0||S>=r)return C+(r-h);C+=S-h,C+=n-C%n,h=S+1}}var cn=function(){this.id=null,this.f=null,this.time=0,this.handler=$r(this.onTimeout,this)};cn.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},cn.prototype.set=function(e,r){this.f=r;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};function Gn(e,r){for(var n=0;n<e.length;++n)if(e[n]==r)return n;return-1}var ui=50,zn={toString:function(){return"CodeMirror.Pass"}},ri={scroll:!1},ht={origin:"*mouse"},Ot={origin:"+move"};function vr(e,r,n){for(var a=0,u=0;;){var h=e.indexOf(" ",a);h==-1&&(h=e.length);var C=h-a;if(h==e.length||u+C>=r)return a+Math.min(C,r-u);if(u+=h-a,u+=n-u%n,a=h+1,u>=r)return a}}var _r=[""];function Kr(e){for(;_r.length<=e;)_r.push(Ur(_r)+" ");return _r[e]}function Ur(e){return e[e.length-1]}function Dn(e,r){for(var n=[],a=0;a<e.length;a++)n[a]=r(e[a],a);return n}function _n(e,r,n){for(var a=0,u=n(r);a<e.length&&n(e[a])<=u;)a++;e.splice(a,0,r)}function dn(){}function ct(e,r){var n;return Object.create?n=Object.create(e):(dn.prototype=e,n=new dn),r&&Yr(r,n),n}var wr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Rt(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||wr.test(e))}function Mn(e,r){return r?r.source.indexOf("\\w")>-1&&Rt(e)?!0:r.test(e):Rt(e)}function bi(e){for(var r in e)if(e.hasOwnProperty(r)&&e[r])return!1;return!0}var cs=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ds(e){return e.charCodeAt(0)>=768&&cs.test(e)}function ms(e,r,n){for(;(n<0?r>0:r<e.length)&&ds(e.charAt(r));)r+=n;return r}function Hi(e,r,n){for(var a=r>n?-1:1;;){if(r==n)return r;var u=(r+n)/2,h=a<0?Math.ceil(u):Math.floor(u);if(h==r)return e(h)?r:n;e(h)?n=h:r=h+a}}function Ws(e,r,n,a){if(!e)return a(r,n,"ltr",0);for(var u=!1,h=0;h<e.length;++h){var C=e[h];(C.from<n&&C.to>r||r==n&&C.to==r)&&(a(Math.max(C.from,r),Math.min(C.to,n),C.level==1?"rtl":"ltr",h),u=!0)}u||a(r,n,"ltr")}var Vn=null;function Pr(e,r,n){var a;Vn=null;for(var u=0;u<e.length;++u){var h=e[u];if(h.from<r&&h.to>r)return u;h.to==r&&(h.from!=h.to&&n=="before"?a=u:Vn=u),h.from==r&&(h.from!=h.to&&n!="before"?a=u:Vn=u)}return a!=null?a:Vn}var Nr=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(j){return j<=247?e.charAt(j):1424<=j&&j<=1524?"R":1536<=j&&j<=1785?r.charAt(j-1536):1774<=j&&j<=2220?"r":8192<=j&&j<=8203?"w":j==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,u=/[stwN]/,h=/[LRr]/,C=/[Lb1n]/,S=/[1n]/;function O(j,$e,Be){this.level=j,this.from=$e,this.to=Be}return function(j,$e){var Be=$e=="ltr"?"L":"R";if(j.length==0||$e=="ltr"&&!a.test(j))return!1;for(var Pt=j.length,nt=[],jt=0;jt<Pt;++jt)nt.push(n(j.charCodeAt(jt)));for(var dr=0,Jt=Be;dr<Pt;++dr){var Sr=nt[dr];Sr=="m"?nt[dr]=Jt:Jt=Sr}for(var Xr=0,tt=Be;Xr<Pt;++Xr){var yn=nt[Xr];yn=="1"&&tt=="r"?nt[Xr]="n":h.test(yn)&&(tt=yn,yn=="r"&&(nt[Xr]="R"))}for(var Tn=1,jn=nt[0];Tn<Pt-1;++Tn){var zi=nt[Tn];zi=="+"&&jn=="1"&&nt[Tn+1]=="1"?nt[Tn]="1":zi==","&&jn==nt[Tn+1]&&(jn=="1"||jn=="n")&&(nt[Tn]=jn),jn=zi}for(var us=0;us<Pt;++us){var Vs=nt[us];if(Vs==",")nt[us]="N";else if(Vs=="%"){var ke=void 0;for(ke=us+1;ke<Pt&&nt[ke]=="%";++ke);for(var ir=us&&nt[us-1]=="!"||ke<Pt&&nt[ke]=="1"?"1":"N",Pn=us;Pn<ke;++Pn)nt[Pn]=ir;us=ke-1}}for(var wi=0,Ui=Be;wi<Pt;++wi){var bs=nt[wi];Ui=="L"&&bs=="1"?nt[wi]="L":h.test(bs)&&(Ui=bs)}for(var Bs=0;Bs<Pt;++Bs)if(u.test(nt[Bs])){var As=void 0;for(As=Bs+1;As<Pt&&u.test(nt[As]);++As);for(var fi=(Bs?nt[Bs-1]:Be)=="L",Li=(As<Pt?nt[As]:Be)=="L",Wu=fi==Li?fi?"L":"R":Be,dl=Bs;dl<As;++dl)nt[dl]=Wu;Bs=As-1}for(var Qa=[],pu,Sa=0;Sa<Pt;)if(C.test(nt[Sa])){var Lc=Sa;for(++Sa;Sa<Pt&&C.test(nt[Sa]);++Sa);Qa.push(new O(0,Lc,Sa))}else{var Su=Sa,ml=Qa.length,sc=$e=="rtl"?1:0;for(++Sa;Sa<Pt&&nt[Sa]!="L";++Sa);for(var go=Su;go<Sa;)if(S.test(nt[go])){Su<go&&(Qa.splice(ml,0,new O(1,Su,go)),ml+=sc);var dc=go;for(++go;go<Sa&&S.test(nt[go]);++go);Qa.splice(ml,0,new O(2,dc,go)),ml+=sc,Su=go}else++go;Su<Sa&&Qa.splice(ml,0,new O(1,Su,Sa))}return $e=="ltr"&&(Qa[0].level==1&&(pu=j.match(/^\s+/))&&(Qa[0].from=pu[0].length,Qa.unshift(new O(0,0,pu[0].length))),Ur(Qa).level==1&&(pu=j.match(/\s+$/))&&(Ur(Qa).to-=pu[0].length,Qa.push(new O(0,Pt-pu[0].length,Pt)))),$e=="rtl"?Qa.reverse():Qa}}();function Lr(e,r){var n=e.order;return n==null&&(n=e.order=Nr(e.text,r)),n}var Wr=[],_t=function(e,r,n){if(e.addEventListener)e.addEventListener(r,n,!1);else if(e.attachEvent)e.attachEvent("on"+r,n);else{var a=e._handlers||(e._handlers={});a[r]=(a[r]||Wr).concat(n)}};function Wn(e,r){return e._handlers&&e._handlers[r]||Wr}function Xt(e,r,n){if(e.removeEventListener)e.removeEventListener(r,n,!1);else if(e.detachEvent)e.detachEvent("on"+r,n);else{var a=e._handlers,u=a&&a[r];if(u){var h=Gn(u,n);h>-1&&(a[r]=u.slice(0,h).concat(u.slice(h+1)))}}}function On(e,r){var n=Wn(e,r);if(!!n.length)for(var a=Array.prototype.slice.call(arguments,2),u=0;u<n.length;++u)n[u].apply(null,a)}function yr(e,r,n){return typeof r=="string"&&(r={type:r,preventDefault:function(){this.defaultPrevented=!0}}),On(e,n||r.type,e,r),Mr(r)||r.codemirrorIgnore}function Lt(e){var r=e._handlers&&e._handlers.cursorActivity;if(!!r)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),a=0;a<r.length;++a)Gn(n,r[a])==-1&&n.push(r[a])}function je(e,r){return Wn(e,r).length>0}function Bt(e){e.prototype.on=function(r,n){_t(this,r,n)},e.prototype.off=function(r,n){Xt(this,r,n)}}function Ht(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function nr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Mr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function nn(e){Ht(e),nr(e)}function Ut(e){return e.target||e.srcElement}function _e(e){var r=e.which;return r==null&&(e.button&1?r=1:e.button&2?r=3:e.button&4&&(r=2)),an&&e.ctrlKey&&r==1&&(r=3),r}var ce=function(){if(ye&&Me<9)return!1;var e=Ae("div");return"draggable"in e||"dragDrop"in e}(),me;function be(e){if(me==null){var r=Ae("span","\u200B");Nn(e,Ae("span",[r,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(me=r.offsetWidth<=1&&r.offsetHeight>2&&!(ye&&Me<8))}var n=me?Ae("span","\u200B"):Ae("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}var Ee;function ze(e){if(Ee!=null)return Ee;var r=Nn(e,document.createTextNode("A\u062EA")),n=or(r,0,1).getBoundingClientRect(),a=or(r,1,2).getBoundingClientRect();return xr(e),!n||n.left==n.right?!1:Ee=a.right-n.right<3}var Ke=`
|
|
2
2
|
|
|
3
3
|
b`.split(/\n/).length!=3?function(e){for(var r=0,n=[],a=e.length;r<=a;){var u=e.indexOf(`
|
|
4
4
|
`,r);u==-1&&(u=e.length);var h=e.slice(r,e.charAt(u-1)=="\r"?u-1:u),C=h.indexOf("\r");C!=-1?(n.push(h.slice(0,C)),r+=C+1):(n.push(h),r=u+1)}return n}:function(e){return e.split(/\r\n?|\n/)},ot=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var r;try{r=e.ownerDocument.selection.createRange()}catch{}return!r||r.parentElement()!=e?!1:r.compareEndPoints("StartToEnd",r)!=0},Ct=function(){var e=Ae("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Kt=null;function ur(e){if(Kt!=null)return Kt;var r=Nn(e,Ae("span","x")),n=r.getBoundingClientRect(),a=or(r,0,1).getBoundingClientRect();return Kt=Math.abs(n.left-a.left)>1}var Cr={},Br={};function tn(e,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),Cr[e]=r}function sn(e,r){Br[e]=r}function kr(e){if(typeof e=="string"&&Br.hasOwnProperty(e))e=Br[e];else if(e&&typeof e.name=="string"&&Br.hasOwnProperty(e.name)){var r=Br[e.name];typeof r=="string"&&(r={name:r}),e=ct(r,e),e.name=r.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return kr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return kr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Fn(e,r){r=kr(r);var n=Cr[r.name];if(!n)return Fn(e,"text/plain");var a=n(e,r);if(hi.hasOwnProperty(r.name)){var u=hi[r.name];for(var h in u)!u.hasOwnProperty(h)||(a.hasOwnProperty(h)&&(a["_"+h]=a[h]),a[h]=u[h])}if(a.name=r.name,r.helperType&&(a.helperType=r.helperType),r.modeProps)for(var C in r.modeProps)a[C]=r.modeProps[C];return a}var hi={};function Cn(e,r){var n=hi.hasOwnProperty(e)?hi[e]:hi[e]={};Yr(r,n)}function $i(e,r){if(r===!0)return r;if(e.copyState)return e.copyState(r);var n={};for(var a in r){var u=r[a];u instanceof Array&&(u=u.concat([])),n[a]=u}return n}function rs(e,r){for(var n;e.innerMode&&(n=e.innerMode(r),!(!n||n.mode==e));)r=n.state,e=n.mode;return n||{mode:e,state:r}}function dt(e,r,n){return e.startState?e.startState(r,n):!0}var Vi=function(e,r,n){this.pos=this.start=0,this.string=e,this.tabSize=r||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Vi.prototype.eol=function(){return this.pos>=this.string.length},Vi.prototype.sol=function(){return this.pos==this.lineStart},Vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Vi.prototype.eat=function(e){var r=this.string.charAt(this.pos),n;if(typeof e=="string"?n=r==e:n=r&&(e.test?e.test(r):e(r)),n)return++this.pos,r},Vi.prototype.eatWhile=function(e){for(var r=this.pos;this.eat(e););return this.pos>r},Vi.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Vi.prototype.skipToEnd=function(){this.pos=this.string.length},Vi.prototype.skipTo=function(e){var r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0},Vi.prototype.backUp=function(e){this.pos-=e},Vi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Dr(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Dr(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.indentation=function(){return Dr(this.string,null,this.tabSize)-(this.lineStart?Dr(this.string,this.lineStart,this.tabSize):0)},Vi.prototype.match=function(e,r,n){if(typeof e=="string"){var a=function(C){return n?C.toLowerCase():C},u=this.string.substr(this.pos,e.length);if(a(u)==a(e))return r!==!1&&(this.pos+=e.length),!0}else{var h=this.string.slice(this.pos).match(e);return h&&h.index>0?null:(h&&r!==!1&&(this.pos+=h[0].length),h)}},Vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},Vi.prototype.hideFirstChars=function(e,r){this.lineStart+=e;try{return r()}finally{this.lineStart-=e}},Vi.prototype.lookAhead=function(e){var r=this.lineOracle;return r&&r.lookAhead(e)},Vi.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function pn(e,r){if(r-=e.first,r<0||r>=e.size)throw new Error("There is no line "+(r+e.first)+" in the document.");for(var n=e;!n.lines;)for(var a=0;;++a){var u=n.children[a],h=u.chunkSize();if(r<h){n=u;break}r-=h}return n.lines[r]}function Si(e,r,n){var a=[],u=r.line;return e.iter(r.line,n.line+1,function(h){var C=h.text;u==n.line&&(C=C.slice(0,n.ch)),u==r.line&&(C=C.slice(r.ch)),a.push(C),++u}),a}function Ji(e,r,n){var a=[];return e.iter(r,n,function(u){a.push(u.text)}),a}function Qn(e,r){var n=r-e.height;if(n)for(var a=e;a;a=a.parent)a.height+=n}function Wi(e){if(e.parent==null)return null;for(var r=e.parent,n=Gn(r.lines,e),a=r.parent;a;r=a,a=a.parent)for(var u=0;a.children[u]!=r;++u)n+=a.children[u].chunkSize();return n+r.first}function Is(e,r){var n=e.first;e:do{for(var a=0;a<e.children.length;++a){var u=e.children[a],h=u.height;if(r<h){e=u;continue e}r-=h,n+=u.chunkSize()}return n}while(!e.lines);for(var C=0;C<e.lines.length;++C){var S=e.lines[C],O=S.height;if(r<O)break;r-=O}return n+C}function _(e,r){return r>=e.first&&r<e.first+e.size}function st(e,r){return String(e.lineNumberFormatter(r+e.firstLineNumber))}function Dt(e,r,n){if(n===void 0&&(n=null),!(this instanceof Dt))return new Dt(e,r,n);this.line=e,this.ch=r,this.sticky=n}function mr(e,r){return e.line-r.line||e.ch-r.ch}function li(e,r){return e.sticky==r.sticky&&mr(e,r)==0}function ps(e){return Dt(e.line,e.ch)}function Ki(e,r){return mr(e,r)<0?r:e}function Os(e,r){return mr(e,r)<0?e:r}function Us(e,r){return Math.max(e.first,Math.min(r,e.first+e.size-1))}function qi(e,r){if(r.line<e.first)return Dt(e.first,0);var n=e.first+e.size-1;return r.line>n?Dt(n,pn(e,n).text.length):Fu(r,pn(e,r.line).text.length)}function Fu(e,r){var n=e.ch;return n==null||n>r?Dt(e.line,r):n<0?Dt(e.line,0):e}function ku(e,r){for(var n=[],a=0;a<r.length;a++)n[a]=qi(e,r[a]);return n}var Bo=function(e,r){this.state=e,this.lookAhead=r},_a=function(e,r,n,a){this.state=r,this.doc=e,this.line=n,this.maxLookAhead=a||0,this.baseTokens=null,this.baseTokenPos=1};_a.prototype.lookAhead=function(e){var r=this.doc.getLine(this.line+e);return r!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),r},_a.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var r=this.baseTokens[this.baseTokenPos+1];return{type:r&&r.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},_a.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},_a.fromSaved=function(e,r,n){return r instanceof Bo?new _a(e,$i(e.mode,r.state),n,r.lookAhead):new _a(e,$i(e.mode,r),n)},_a.prototype.save=function(e){var r=e!==!1?$i(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Bo(r,this.maxLookAhead):r};function tu(e,r,n,a){var u=[e.state.modeGen],h={};yu(e,r.text,e.doc.mode,n,function(j,$e){return u.push(j,$e)},h,a);for(var C=n.state,S=function(j){n.baseTokens=u;var $e=e.state.overlays[j],Be=1,Pt=0;n.state=!0,yu(e,r.text,$e.mode,n,function(nt,jt){for(var dr=Be;Pt<nt;){var Jt=u[Be];Jt>nt&&u.splice(Be,1,nt,u[Be+1],Jt),Be+=2,Pt=Math.min(nt,Jt)}if(!!jt)if($e.opaque)u.splice(dr,Be-dr,nt,"overlay "+jt),Be=dr+2;else for(;dr<Be;dr+=2){var Sr=u[dr+1];u[dr+1]=(Sr?Sr+" ":"")+"overlay "+jt}},h),n.state=C,n.baseTokens=null,n.baseTokenPos=1},O=0;O<e.state.overlays.length;++O)S(O);return{styles:u,classes:h.bgClass||h.textClass?h:null}}function vo(e,r,n){if(!r.styles||r.styles[0]!=e.state.modeGen){var a=lo(e,Wi(r)),u=r.text.length>e.options.maxHighlightLength&&$i(e.doc.mode,a.state),h=tu(e,r,a);u&&(a.state=u),r.stateAfter=a.save(!u),r.styles=h.styles,h.classes?r.styleClasses=h.classes:r.styleClasses&&(r.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return r.styles}function lo(e,r,n){var a=e.doc,u=e.display;if(!a.mode.startState)return new _a(a,!0,r);var h=el(e,r,n),C=h>a.first&&pn(a,h-1).stateAfter,S=C?_a.fromSaved(a,C,h):new _a(a,dt(a.mode),h);return a.iter(h,r,function(O){du(e,O.text,S);var j=S.line;O.stateAfter=j==r-1||j%5==0||j>=u.viewFrom&&j<u.viewTo?S.save():null,S.nextLine()}),n&&(a.modeFrontier=S.line),S}function du(e,r,n,a){var u=e.doc.mode,h=new Vi(r,e.options.tabSize,n);for(h.start=h.pos=a||0,r==""&&mu(u,n.state);!h.eol();)_o(u,h,n.state),h.start=h.pos}function mu(e,r){if(e.blankLine)return e.blankLine(r);if(!!e.innerMode){var n=rs(e,r);if(n.mode.blankLine)return n.mode.blankLine(n.state)}}function _o(e,r,n,a){for(var u=0;u<10;u++){a&&(a[0]=rs(e,n).mode);var h=e.token(r,n);if(r.pos>r.start)return h}throw new Error("Mode "+e.name+" failed to advance stream.")}var Pu=function(e,r,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=r||null,this.state=n};function gu(e,r,n,a){var u=e.doc,h=u.mode,C;r=qi(u,r);var S=pn(u,r.line),O=lo(e,r.line,n),j=new Vi(S.text,e.options.tabSize,O),$e;for(a&&($e=[]);(a||j.pos<r.ch)&&!j.eol();)j.start=j.pos,C=_o(h,j,O.state),a&&$e.push(new Pu(j,C,$i(u.mode,O.state)));return a?$e:new Pu(j,C,O.state)}function Ai(e,r){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var a=n[1]?"bgClass":"textClass";r[a]==null?r[a]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(r[a])||(r[a]+=" "+n[2])}return e}function yu(e,r,n,a,u,h,C){var S=n.flattenSpans;S==null&&(S=e.options.flattenSpans);var O=0,j=null,$e=new Vi(r,e.options.tabSize,a),Be,Pt=e.options.addModeClass&&[null];for(r==""&&Ai(mu(n,a.state),h);!$e.eol();){if($e.pos>e.options.maxHighlightLength?(S=!1,C&&du(e,r,a,$e.pos),$e.pos=r.length,Be=null):Be=Ai(_o(n,$e,a.state,Pt),h),Pt){var nt=Pt[0].name;nt&&(Be="m-"+(Be?nt+" "+Be:nt))}if(!S||j!=Be){for(;O<$e.start;)O=Math.min($e.start,O+5e3),u(O,j);j=Be}$e.start=$e.pos}for(;O<$e.pos;){var jt=Math.min($e.pos,O+5e3);u(jt,j),O=jt}}function el(e,r,n){for(var a,u,h=e.doc,C=n?-1:r-(e.doc.mode.innerMode?1e3:100),S=r;S>C;--S){if(S<=h.first)return h.first;var O=pn(h,S-1),j=O.stateAfter;if(j&&(!n||S+(j instanceof Bo?j.lookAhead:0)<=h.modeFrontier))return S;var $e=Dr(O.text,null,e.options.tabSize);(u==null||a>$e)&&(u=S-1,a=$e)}return u}function tl(e,r){if(e.modeFrontier=Math.min(e.modeFrontier,r),!(e.highlightFrontier<r-10)){for(var n=e.first,a=r-1;a>n;a--){var u=pn(e,a).stateAfter;if(u&&(!(u instanceof Bo)||a+u.lookAhead<r)){n=a+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Nu=!1,za=!1;function xl(){Nu=!0}function rl(){za=!0}function ma(e,r,n){this.marker=e,this.from=r,this.to=n}function Io(e,r){if(e)for(var n=0;n<e.length;++n){var a=e[n];if(a.marker==r)return a}}function Bu(e,r){for(var n,a=0;a<e.length;++a)e[a]!=r&&(n||(n=[])).push(e[a]);return n}function nl(e,r,n){var a=n&&window.WeakSet&&(n.markedSpans||(n.markedSpans=new WeakSet));a&&e.markedSpans&&a.has(e.markedSpans)?e.markedSpans.push(r):(e.markedSpans=e.markedSpans?e.markedSpans.concat([r]):[r],a&&a.add(e.markedSpans)),r.marker.attachLine(e)}function Cl(e,r,n){var a;if(e)for(var u=0;u<e.length;++u){var h=e[u],C=h.marker,S=h.from==null||(C.inclusiveLeft?h.from<=r:h.from<r);if(S||h.from==r&&C.type=="bookmark"&&(!n||!h.marker.insertLeft)){var O=h.to==null||(C.inclusiveRight?h.to>=r:h.to>r);(a||(a=[])).push(new ma(C,h.from,O?null:h.to))}}return a}function El(e,r,n){var a;if(e)for(var u=0;u<e.length;++u){var h=e[u],C=h.marker,S=h.to==null||(C.inclusiveRight?h.to>=r:h.to>r);if(S||h.from==r&&C.type=="bookmark"&&(!n||h.marker.insertLeft)){var O=h.from==null||(C.inclusiveLeft?h.from<=r:h.from<r);(a||(a=[])).push(new ma(C,O?null:h.from-r,h.to==null?null:h.to-r))}}return a}function Oo(e,r){if(r.full)return null;var n=_(e,r.from.line)&&pn(e,r.from.line).markedSpans,a=_(e,r.to.line)&&pn(e,r.to.line).markedSpans;if(!n&&!a)return null;var u=r.from.ch,h=r.to.ch,C=mr(r.from,r.to)==0,S=Cl(n,u,C),O=El(a,h,C),j=r.text.length==1,$e=Ur(r.text).length+(j?u:0);if(S)for(var Be=0;Be<S.length;++Be){var Pt=S[Be];if(Pt.to==null){var nt=Io(O,Pt.marker);nt?j&&(Pt.to=nt.to==null?null:nt.to+$e):Pt.to=u}}if(O)for(var jt=0;jt<O.length;++jt){var dr=O[jt];if(dr.to!=null&&(dr.to+=$e),dr.from==null){var Jt=Io(S,dr.marker);Jt||(dr.from=$e,j&&(S||(S=[])).push(dr))}else dr.from+=$e,j&&(S||(S=[])).push(dr)}S&&(S=Ia(S)),O&&O!=S&&(O=Ia(O));var Sr=[S];if(!j){var Xr=r.text.length-2,tt;if(Xr>0&&S)for(var yn=0;yn<S.length;++yn)S[yn].to==null&&(tt||(tt=[])).push(new ma(S[yn].marker,null,null));for(var Tn=0;Tn<Xr;++Tn)Sr.push(tt);Sr.push(O)}return Sr}function Ia(e){for(var r=0;r<e.length;++r){var n=e[r];n.from!=null&&n.from==n.to&&n.marker.clearWhenEmpty!==!1&&e.splice(r--,1)}return e.length?e:null}function Js(e,r,n){var a=null;if(e.iter(r.line,n.line+1,function(nt){if(nt.markedSpans)for(var jt=0;jt<nt.markedSpans.length;++jt){var dr=nt.markedSpans[jt].marker;dr.readOnly&&(!a||Gn(a,dr)==-1)&&(a||(a=[])).push(dr)}}),!a)return null;for(var u=[{from:r,to:n}],h=0;h<a.length;++h)for(var C=a[h],S=C.find(0),O=0;O<u.length;++O){var j=u[O];if(!(mr(j.to,S.from)<0||mr(j.from,S.to)>0)){var $e=[O,1],Be=mr(j.from,S.from),Pt=mr(j.to,S.to);(Be<0||!C.inclusiveLeft&&!Be)&&$e.push({from:j.from,to:S.from}),(Pt>0||!C.inclusiveRight&&!Pt)&&$e.push({from:S.to,to:j.to}),u.splice.apply(u,$e),O+=$e.length-3}}return u}function Da(e){var r=e.markedSpans;if(!!r){for(var n=0;n<r.length;++n)r[n].marker.detachLine(e);e.markedSpans=null}}function Ha(e,r){if(!!r){for(var n=0;n<r.length;++n)r[n].marker.attachLine(e);e.markedSpans=r}}function $a(e){return e.inclusiveLeft?-1:0}function va(e){return e.inclusiveRight?1:0}function Lo(e,r){var n=e.lines.length-r.lines.length;if(n!=0)return n;var a=e.find(),u=r.find(),h=mr(a.from,u.from)||$a(e)-$a(r);if(h)return-h;var C=mr(a.to,u.to)||va(e)-va(r);return C||r.id-e.id}function Du(e,r){var n=za&&e.markedSpans,a;if(n)for(var u=void 0,h=0;h<n.length;++h)u=n[h],u.marker.collapsed&&(r?u.from:u.to)==null&&(!a||Lo(a,u.marker)<0)&&(a=u.marker);return a}function Qi(e){return Du(e,!0)}function Mo(e){return Du(e,!1)}function _u(e,r){var n=za&&e.markedSpans,a;if(n)for(var u=0;u<n.length;++u){var h=n[u];h.marker.collapsed&&(h.from==null||h.from<r)&&(h.to==null||h.to>r)&&(!a||Lo(a,h.marker)<0)&&(a=h.marker)}return a}function jo(e,r,n,a,u){var h=pn(e,r),C=za&&h.markedSpans;if(C)for(var S=0;S<C.length;++S){var O=C[S];if(!!O.marker.collapsed){var j=O.marker.find(0),$e=mr(j.from,n)||$a(O.marker)-$a(u),Be=mr(j.to,a)||va(O.marker)-va(u);if(!($e>=0&&Be<=0||$e<=0&&Be>=0)&&($e<=0&&(O.marker.inclusiveRight&&u.inclusiveLeft?mr(j.to,n)>=0:mr(j.to,n)>0)||$e>=0&&(O.marker.inclusiveRight&&u.inclusiveLeft?mr(j.from,a)<=0:mr(j.from,a)<0)))return!0}}}function xa(e){for(var r;r=Qi(e);)e=r.find(-1,!0).line;return e}function ru(e){for(var r;r=Mo(e);)e=r.find(1,!0).line;return e}function vu(e){for(var r,n;r=Mo(e);)e=r.find(1,!0).line,(n||(n=[])).push(e);return n}function Ro(e,r){var n=pn(e,r),a=xa(n);return n==a?r:Wi(a)}function xo(e,r){if(r>e.lastLine())return r;var n=pn(e,r),a;if(!Kn(e,n))return r;for(;a=Mo(n);)n=a.find(1,!0).line;return Wi(n)+1}function Kn(e,r){var n=za&&r.markedSpans;if(n){for(var a=void 0,u=0;u<n.length;++u)if(a=n[u],!!a.marker.collapsed){if(a.from==null)return!0;if(!a.marker.widgetNode&&a.from==0&&a.marker.inclusiveLeft&&En(e,r,a))return!0}}}function En(e,r,n){if(n.to==null){var a=n.marker.find(1,!0);return En(e,a.line,Io(a.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==r.text.length)return!0;for(var u=void 0,h=0;h<r.markedSpans.length;++h)if(u=r.markedSpans[h],u.marker.collapsed&&!u.marker.widgetNode&&u.from==n.to&&(u.to==null||u.to!=n.from)&&(u.marker.inclusiveLeft||n.marker.inclusiveRight)&&En(e,r,u))return!0}function mn(e){e=xa(e);for(var r=0,n=e.parent,a=0;a<n.lines.length;++a){var u=n.lines[a];if(u==e)break;r+=u.height}for(var h=n.parent;h;n=h,h=n.parent)for(var C=0;C<h.children.length;++C){var S=h.children[C];if(S==n)break;r+=S.height}return r}function on(e){if(e.height==0)return 0;for(var r=e.text.length,n,a=e;n=Qi(a);){var u=n.find(0,!0);a=u.from.line,r+=u.from.ch-u.to.ch}for(a=e;n=Mo(a);){var h=n.find(0,!0);r-=a.text.length-h.from.ch,a=h.to.line,r+=a.text.length-h.to.ch}return r}function ln(e){var r=e.display,n=e.doc;r.maxLine=pn(n,n.first),r.maxLineLength=on(r.maxLine),r.maxLineChanged=!0,n.iter(function(a){var u=on(a);u>r.maxLineLength&&(r.maxLineLength=u,r.maxLine=a)})}var Yn=function(e,r,n){this.text=e,Ha(this,r),this.height=n?n(this):1};Yn.prototype.lineNo=function(){return Wi(this)},Bt(Yn);function ai(e,r,n,a){e.text=r,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Da(e),Ha(e,n);var u=a?a(e):1;u!=e.height&&Qn(e,u)}function ii(e){e.parent=null,Da(e)}var Ti={},Gi={};function Yi(e,r){if(!e||/^\s*$/.test(e))return null;var n=r.addModeClass?Gi:Ti;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function ei(e,r){var n=rn("span",null,null,Oe?"padding-right: .1px":null),a={pre:rn("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};r.measure={};for(var u=0;u<=(r.rest?r.rest.length:0);u++){var h=u?r.rest[u-1]:r.line,C=void 0;a.pos=0,a.addToken=hs,ze(e.display.measure)&&(C=Lr(h,e.doc.direction))&&(a.addToken=Fs(a.addToken,C)),a.map=[];var S=r!=e.display.externalMeasured&&Wi(h);as(h,a,vo(e,h,S)),h.styleClasses&&(h.styleClasses.bgClass&&(a.bgClass=Cs(h.styleClasses.bgClass,a.bgClass||"")),h.styleClasses.textClass&&(a.textClass=Cs(h.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(be(e.display.measure))),u==0?(r.measure.map=a.map,r.measure.cache={}):((r.measure.maps||(r.measure.maps=[])).push(a.map),(r.measure.caches||(r.measure.caches=[])).push({}))}if(Oe){var O=a.content.lastChild;(/\bcm-tab\b/.test(O.className)||O.querySelector&&O.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return On(e,"renderLine",e,r.line,a.pre),a.pre.className&&(a.textClass=Cs(a.pre.className,a.textClass||"")),a}function Ni(e){var r=Ae("span","\u2022","cm-invalidchar");return r.title="\\u"+e.charCodeAt(0).toString(16),r.setAttribute("aria-label",r.title),r}function hs(e,r,n,a,u,h,C){if(!!r){var S=e.splitSpaces?Mi(r,e.trailingSpace):r,O=e.cm.state.specialChars,j=!1,$e;if(!O.test(r))e.col+=r.length,$e=document.createTextNode(S),e.map.push(e.pos,e.pos+r.length,$e),ye&&Me<9&&(j=!0),e.pos+=r.length;else{$e=document.createDocumentFragment();for(var Be=0;;){O.lastIndex=Be;var Pt=O.exec(r),nt=Pt?Pt.index-Be:r.length-Be;if(nt){var jt=document.createTextNode(S.slice(Be,Be+nt));ye&&Me<9?$e.appendChild(Ae("span",[jt])):$e.appendChild(jt),e.map.push(e.pos,e.pos+nt,jt),e.col+=nt,e.pos+=nt}if(!Pt)break;Be+=nt+1;var dr=void 0;if(Pt[0]==" "){var Jt=e.cm.options.tabSize,Sr=Jt-e.col%Jt;dr=$e.appendChild(Ae("span",Kr(Sr),"cm-tab")),dr.setAttribute("role","presentation"),dr.setAttribute("cm-text"," "),e.col+=Sr}else Pt[0]=="\r"||Pt[0]==`
|
|
@@ -21,7 +21,7 @@ b`.split(/\n/).length!=3?function(e){for(var r=0,n=[],a=e.length;r<=a;){var u=e.
|
|
|
21
21
|
`)>-1?n.value=e.prevInput="":e.prevInput=u,e.composing&&(e.composing.range.clear(),e.composing.range=r.markText(e.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},rt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},rt.prototype.onKeyPress=function(){ye&&Me>=9&&(this.hasSelection=null),this.fastPoll()},rt.prototype.onContextMenu=function(e){var r=this,n=r.cm,a=n.display,u=r.textarea;r.contextMenuPending&&r.contextMenuPending();var h=zo(n,e),C=a.scroller.scrollTop;if(!h||Wt)return;var S=n.options.resetSelectionOnContextMenu;S&&n.doc.sel.contains(h)==-1&&zs(n,xt)(n.doc,oo(h),ri);var O=u.style.cssText,j=r.wrapper.style.cssText,$e=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",u.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
22
22
|
top: `+(e.clientY-$e.top-5)+"px; left: "+(e.clientX-$e.left-5)+`px;
|
|
23
23
|
z-index: 1000; background: `+(ye?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
24
|
-
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Be;Oe&&(Be=u.ownerDocument.defaultView.scrollY),a.input.focus(),Oe&&u.ownerDocument.defaultView.scrollTo(null,Be),a.input.reset(),n.somethingSelected()||(u.value=r.prevInput=" "),r.contextMenuPending=nt,a.selForContextMenu=n.doc.sel,clearTimeout(a.detectingSelectAll);function Pt(){if(u.selectionStart!=null){var dr=n.somethingSelected(),Jt="\u200B"+(dr?u.value:"");u.value="\u21DA",u.value=Jt,r.prevInput=dr?"":"\u200B",u.selectionStart=1,u.selectionEnd=Jt.length,a.selForContextMenu=n.doc.sel}}function nt(){if(r.contextMenuPending==nt&&(r.contextMenuPending=!1,r.wrapper.style.cssText=j,u.style.cssText=O,ye&&Me<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=C),u.selectionStart!=null)){(!ye||ye&&Me<9)&&Pt();var dr=0,Jt=function(){a.selForContextMenu==n.doc.sel&&u.selectionStart==0&&u.selectionEnd>0&&r.prevInput=="\u200B"?zs(n,Ii)(n):dr++<10?a.detectingSelectAll=setTimeout(Jt,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(Jt,200)}}if(ye&&Me>=9&&Pt(),Xn){nn(e);var jt=function(){Xt(window,"mouseup",jt),setTimeout(nt,20)};_t(window,"mouseup",jt)}else setTimeout(nt,50)},rt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},rt.prototype.setUneditable=function(){},rt.prototype.needsContentAttribute=!1;function Vr(e,r){if(r=r?Yr(r):{},r.value=e.value,!r.tabindex&&e.tabIndex&&(r.tabindex=e.tabIndex),!r.placeholder&&e.placeholder&&(r.placeholder=e.placeholder),r.autofocus==null){var n=ti(e.ownerDocument);r.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function a(){e.value=S.getValue()}var u;if(e.form&&(_t(e.form,"submit",a),!r.leaveSubmitMethodAlone)){var h=e.form;u=h.submit;try{var C=h.submit=function(){a(),h.submit=u,h.submit(),h.submit=C}}catch{}}r.finishInit=function(O){O.save=a,O.getTextArea=function(){return e},O.toTextArea=function(){O.toTextArea=isNaN,a(),e.parentNode.removeChild(O.getWrapperElement()),e.style.display="",e.form&&(Xt(e.form,"submit",a),!r.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=u))}},e.style.display="none";var S=pt(function(O){return e.parentNode.insertBefore(O,e.nextSibling)},r);return S}function Hr(e){e.off=Xt,e.on=_t,e.wheelEventPixels=ic,e.Doc=Ls,e.splitLines=Ke,e.countColumn=Dr,e.findColumn=vr,e.isWordChar=Rt,e.Pass=zn,e.signal=On,e.Line=Yn,e.changeEnd=Ka,e.scrollbarModel=al,e.Pos=Dt,e.cmpPos=mr,e.modes=Cr,e.mimeModes=Br,e.resolveMode=kr,e.getMode=Fn,e.modeExtensions=hi,e.extendMode=Cn,e.copyState=$i,e.startState=dt,e.innerMode=rs,e.commands=b,e.keyMap=i,e.keyName=he,e.isModifierKey=y,e.lookupKey=p,e.normalizeKeyMap=o,e.StringStream=Vi,e.SharedTextMarker=si,e.TextMarker=In,e.LineWidget=Ci,e.e_preventDefault=Ht,e.e_stopPropagation=nr,e.e_stop=nn,e.addClass=ts,e.contains=Bn,e.rmClass=gi,e.keyNames=Tu}vt(pt),pr(pt);var en="iter insert remove copy getEditor constructor".split(" ");for(var vi in Ls.prototype)Ls.prototype.hasOwnProperty(vi)&&Gn(en,vi)<0&&(pt.prototype[vi]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ls.prototype[vi]));return Bt(Ls),pt.inputStyles={textarea:rt,contenteditable:Sn},pt.defineMode=function(e){!pt.defaults.mode&&e!="null"&&(pt.defaults.mode=e),tn.apply(this,arguments)},pt.defineMIME=sn,pt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),pt.defineMIME("text/plain","null"),pt.defineExtension=function(e,r){pt.prototype[e]=r},pt.defineDocExtension=function(e,r){Ls.prototype[e]=r},pt.fromTextArea=Vr,Hr(pt),pt.version="5.65.8",pt})})(ql);const TD=ql.exports;var gm={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("javascript",function(f,D){var N=f.indentUnit,Y=D.statementIndent,pe=D.jsonld,ye=D.json||pe,Me=D.trackScope!==!1,Oe=D.typescript,it=D.wordCharacters||/[\w$\xa1-\uffff]/,gt=function(){function _(Os){return{type:Os,style:"keyword"}}var st=_("keyword a"),Dt=_("keyword b"),mr=_("keyword c"),li=_("keyword d"),ps=_("operator"),Ki={type:"atom",style:"atom"};return{if:_("if"),while:st,with:st,else:Dt,do:Dt,try:Dt,finally:Dt,return:li,break:li,continue:li,new:_("new"),delete:mr,void:mr,throw:mr,debugger:_("debugger"),var:_("var"),const:_("var"),let:_("var"),function:_("function"),catch:_("catch"),for:_("for"),switch:_("switch"),case:_("case"),default:_("default"),in:ps,typeof:ps,instanceof:ps,true:Ki,false:Ki,null:Ki,undefined:Ki,NaN:Ki,Infinity:Ki,this:_("this"),class:_("class"),super:_("atom"),yield:mr,export:_("export"),import:_("import"),extends:mr,await:mr}}(),St=/[+\-*&%=<>!?|~^@]/,Wt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ar(_){for(var st=!1,Dt,mr=!1;(Dt=_.next())!=null;){if(!st){if(Dt=="/"&&!mr)return;Dt=="["?mr=!0:mr&&Dt=="]"&&(mr=!1)}st=!st&&Dt=="\\"}}var Rr,At;function It(_,st,Dt){return Rr=_,At=Dt,st}function qt(_,st){var Dt=_.next();if(Dt=='"'||Dt=="'")return st.tokenize=Er(Dt),st.tokenize(_,st);if(Dt=="."&&_.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return It("number","number");if(Dt=="."&&_.match(".."))return It("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Dt))return It(Dt);if(Dt=="="&&_.eat(">"))return It("=>","operator");if(Dt=="0"&&_.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return It("number","number");if(/\d/.test(Dt))return _.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),It("number","number");if(Dt=="/")return _.eat("*")?(st.tokenize=an,an(_,st)):_.eat("/")?(_.skipToEnd(),It("comment","comment")):Is(_,st,1)?(ar(_),_.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),It("regexp","string-2")):(_.eat("="),It("operator","operator",_.current()));if(Dt=="`")return st.tokenize=Jn,Jn(_,st);if(Dt=="#"&&_.peek()=="!")return _.skipToEnd(),It("meta","meta");if(Dt=="#"&&_.eatWhile(it))return It("variable","property");if(Dt=="<"&&_.match("!--")||Dt=="-"&&_.match("->")&&!/\S/.test(_.string.slice(0,_.start)))return _.skipToEnd(),It("comment","comment");if(St.test(Dt))return(Dt!=">"||!st.lexical||st.lexical.type!=">")&&(_.eat("=")?(Dt=="!"||Dt=="=")&&_.eat("="):/[<>*+\-|&?]/.test(Dt)&&(_.eat(Dt),Dt==">"&&_.eat(Dt))),Dt=="?"&&_.eat(".")?It("."):It("operator","operator",_.current());if(it.test(Dt)){_.eatWhile(it);var mr=_.current();if(st.lastType!="."){if(gt.propertyIsEnumerable(mr)){var li=gt[mr];return It(li.type,li.style,mr)}if(mr=="async"&&_.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return It("async","keyword",mr)}return It("variable","variable",mr)}}function Er(_){return function(st,Dt){var mr=!1,li;if(pe&&st.peek()=="@"&&st.match(Wt))return Dt.tokenize=qt,It("jsonld-keyword","meta");for(;(li=st.next())!=null&&!(li==_&&!mr);)mr=!mr&&li=="\\";return mr||(Dt.tokenize=qt),It("string","string")}}function an(_,st){for(var Dt=!1,mr;mr=_.next();){if(mr=="/"&&Dt){st.tokenize=qt;break}Dt=mr=="*"}return It("comment","comment")}function Jn(_,st){for(var Dt=!1,mr;(mr=_.next())!=null;){if(!Dt&&(mr=="`"||mr=="$"&&_.eat("{"))){st.tokenize=qt;break}Dt=!Dt&&mr=="\\"}return It("quasi","string-2",_.current())}var An="([{}])";function mi(_,st){st.fatArrowAt&&(st.fatArrowAt=null);var Dt=_.string.indexOf("=>",_.start);if(!(Dt<0)){if(Oe){var mr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_.string.slice(_.start,Dt));mr&&(Dt=mr.index)}for(var li=0,ps=!1,Ki=Dt-1;Ki>=0;--Ki){var Os=_.string.charAt(Ki),Us=An.indexOf(Os);if(Us>=0&&Us<3){if(!li){++Ki;break}if(--li==0){Os=="("&&(ps=!0);break}}else if(Us>=3&&Us<6)++li;else if(it.test(Os))ps=!0;else if(/["'\/`]/.test(Os))for(;;--Ki){if(Ki==0)return;var qi=_.string.charAt(Ki-1);if(qi==Os&&_.string.charAt(Ki-2)!="\\"){Ki--;break}}else if(ps&&!li){++Ki;break}}ps&&!li&&(st.fatArrowAt=Ki)}}var oi={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Xn(_,st,Dt,mr,li,ps){this.indented=_,this.column=st,this.type=Dt,this.prev=li,this.info=ps,mr!=null&&(this.align=mr)}function Un(_,st){if(!Me)return!1;for(var Dt=_.localVars;Dt;Dt=Dt.next)if(Dt.name==st)return!0;for(var mr=_.context;mr;mr=mr.prev)for(var Dt=mr.vars;Dt;Dt=Dt.next)if(Dt.name==st)return!0}function gi(_,st,Dt,mr,li){var ps=_.cc;for(xr.state=_,xr.stream=li,xr.marked=null,xr.cc=ps,xr.style=st,_.lexical.hasOwnProperty("align")||(_.lexical.align=!0);;){var Ki=ps.length?ps.pop():ye?zn:Gn;if(Ki(Dt,mr)){for(;ps.length&&ps[ps.length-1].lex;)ps.pop()();return xr.marked?xr.marked:Dt=="variable"&&Un(_,mr)?"variable-2":st}}}var xr={state:null,column:null,marked:null,cc:null};function Nn(){for(var _=arguments.length-1;_>=0;_--)xr.cc.push(arguments[_])}function Ae(){return Nn.apply(null,arguments),!0}function rn(_,st){for(var Dt=st;Dt;Dt=Dt.next)if(Dt.name==_)return!0;return!1}function or(_){var st=xr.state;if(xr.marked="def",!!Me){if(st.context){if(st.lexical.info=="var"&&st.context&&st.context.block){var Dt=Bn(_,st.context);if(Dt!=null){st.context=Dt;return}}else if(!rn(_,st.localVars)){st.localVars=new Cs(_,st.localVars);return}}D.globalVars&&!rn(_,st.globalVars)&&(st.globalVars=new Cs(_,st.globalVars))}}function Bn(_,st){if(st)if(st.block){var Dt=Bn(_,st.prev);return Dt?Dt==st.prev?st:new ts(Dt,st.vars,!0):null}else return rn(_,st.vars)?st:new ts(st.prev,new Cs(_,st.vars),!1);else return null}function ti(_){return _=="public"||_=="private"||_=="protected"||_=="abstract"||_=="readonly"}function ts(_,st,Dt){this.prev=_,this.vars=st,this.block=Dt}function Cs(_,st){this.name=_,this.next=st}var _s=new Cs("this",new Cs("arguments",null));function Zi(){xr.state.context=new ts(xr.state.context,xr.state.localVars,!1),xr.state.localVars=_s}function ls(){xr.state.context=new ts(xr.state.context,xr.state.localVars,!0),xr.state.localVars=null}Zi.lex=ls.lex=!0;function $r(){xr.state.localVars=xr.state.context.vars,xr.state.context=xr.state.context.prev}$r.lex=!0;function Yr(_,st){var Dt=function(){var mr=xr.state,li=mr.indented;if(mr.lexical.type=="stat")li=mr.lexical.indented;else for(var ps=mr.lexical;ps&&ps.type==")"&&ps.align;ps=ps.prev)li=ps.indented;mr.lexical=new Xn(li,xr.stream.column(),_,null,mr.lexical,st)};return Dt.lex=!0,Dt}function Dr(){var _=xr.state;_.lexical.prev&&(_.lexical.type==")"&&(_.indented=_.lexical.indented),_.lexical=_.lexical.prev)}Dr.lex=!0;function cn(_){function st(Dt){return Dt==_?Ae():_==";"||Dt=="}"||Dt==")"||Dt=="]"?Nn():Ae(st)}return st}function Gn(_,st){return _=="var"?Ae(Yr("vardef",st),nn,cn(";"),Dr):_=="keyword a"?Ae(Yr("form"),ht,Gn,Dr):_=="keyword b"?Ae(Yr("form"),Gn,Dr):_=="keyword d"?xr.stream.match(/^\s*$/,!1)?Ae():Ae(Yr("stat"),vr,cn(";"),Dr):_=="debugger"?Ae(cn(";")):_=="{"?Ae(Yr("}"),ls,Vn,Dr,$r):_==";"?Ae():_=="if"?(xr.state.lexical.info=="else"&&xr.state.cc[xr.state.cc.length-1]==Dr&&xr.state.cc.pop()(),Ae(Yr("form"),ht,Gn,Dr,Ee)):_=="function"?Ae(Ct):_=="for"?Ae(Yr("form"),ls,ze,Gn,$r,Dr):_=="class"||Oe&&st=="interface"?(xr.marked="keyword",Ae(Yr("form",_=="class"?_:st),tn,Dr)):_=="variable"?Oe&&st=="declare"?(xr.marked="keyword",Ae(Gn)):Oe&&(st=="module"||st=="enum"||st=="type")&&xr.stream.match(/^\s*\w/,!1)?(xr.marked="keyword",st=="enum"?Ae(Ji):st=="type"?Ae(ur,cn("operator"),_t,cn(";")):Ae(Yr("form"),Ut,cn("{"),Yr("}"),Vn,Dr,Dr)):Oe&&st=="namespace"?(xr.marked="keyword",Ae(Yr("form"),zn,Gn,Dr)):Oe&&st=="abstract"?(xr.marked="keyword",Ae(Gn)):Ae(Yr("stat"),Mn):_=="switch"?Ae(Yr("form"),ht,cn("{"),Yr("}","switch"),ls,Vn,Dr,Dr,$r):_=="case"?Ae(zn,cn(":")):_=="default"?Ae(cn(":")):_=="catch"?Ae(Yr("form"),Zi,ui,Gn,Dr,$r):_=="export"?Ae(Yr("stat"),hi,Dr):_=="import"?Ae(Yr("stat"),$i,Dr):_=="async"?Ae(Gn):st=="@"?Ae(zn,Gn):Nn(Yr("stat"),zn,cn(";"),Dr)}function ui(_){if(_=="(")return Ae(Cr,cn(")"))}function zn(_,st){return Ot(_,st,!1)}function ri(_,st){return Ot(_,st,!0)}function ht(_){return _!="("?Nn():Ae(Yr(")"),vr,cn(")"),Dr)}function Ot(_,st,Dt){if(xr.state.fatArrowAt==xr.stream.start){var mr=Dt?dn:_n;if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,cn("=>"),mr,$r);if(_=="variable")return Nn(Zi,Ut,cn("=>"),mr,$r)}var li=Dt?Kr:_r;return oi.hasOwnProperty(_)?Ae(li):_=="function"?Ae(Ct,li):_=="class"||Oe&&st=="interface"?(xr.marked="keyword",Ae(Yr("form"),Br,Dr)):_=="keyword c"||_=="async"?Ae(Dt?ri:zn):_=="("?Ae(Yr(")"),vr,cn(")"),Dr,li):_=="operator"||_=="spread"?Ae(Dt?ri:zn):_=="["?Ae(Yr("]"),Si,Dr,li):_=="{"?Ws(cs,"}",null,li):_=="quasi"?Nn(Ur,li):_=="new"?Ae(ct(Dt)):Ae()}function vr(_){return _.match(/[;\}\)\],]/)?Nn():Nn(zn)}function _r(_,st){return _==","?Ae(vr):Kr(_,st,!1)}function Kr(_,st,Dt){var mr=Dt==!1?_r:Kr,li=Dt==!1?zn:ri;if(_=="=>")return Ae(Zi,Dt?dn:_n,$r);if(_=="operator")return/\+\+|--/.test(st)||Oe&&st=="!"?Ae(mr):Oe&&st=="<"&&xr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Ae(Yr(">"),Hi(_t,">"),Dr,mr):st=="?"?Ae(zn,cn(":"),li):Ae(li);if(_=="quasi")return Nn(Ur,mr);if(_!=";"){if(_=="(")return Ws(ri,")","call",mr);if(_==".")return Ae(bi,mr);if(_=="[")return Ae(Yr("]"),vr,cn("]"),Dr,mr);if(Oe&&st=="as")return xr.marked="keyword",Ae(_t,mr);if(_=="regexp")return xr.state.lastType=xr.marked="operator",xr.stream.backUp(xr.stream.pos-xr.stream.start-1),Ae(li)}}function Ur(_,st){return _!="quasi"?Nn():st.slice(st.length-2)!="${"?Ae(Ur):Ae(vr,Dn)}function Dn(_){if(_=="}")return xr.marked="string-2",xr.state.tokenize=Jn,Ae(Ur)}function _n(_){return mi(xr.stream,xr.state),Nn(_=="{"?Gn:zn)}function dn(_){return mi(xr.stream,xr.state),Nn(_=="{"?Gn:ri)}function ct(_){return function(st){return st=="."?Ae(_?Rt:wr):st=="variable"&&Oe?Ae(Ht,_?Kr:_r):Nn(_?ri:zn)}}function wr(_,st){if(st=="target")return xr.marked="keyword",Ae(_r)}function Rt(_,st){if(st=="target")return xr.marked="keyword",Ae(Kr)}function Mn(_){return _==":"?Ae(Dr,Gn):Nn(_r,cn(";"),Dr)}function bi(_){if(_=="variable")return xr.marked="property",Ae()}function cs(_,st){if(_=="async")return xr.marked="property",Ae(cs);if(_=="variable"||xr.style=="keyword"){if(xr.marked="property",st=="get"||st=="set")return Ae(ds);var Dt;return Oe&&xr.state.fatArrowAt==xr.stream.start&&(Dt=xr.stream.match(/^\s*:\s*/,!1))&&(xr.state.fatArrowAt=xr.stream.pos+Dt[0].length),Ae(ms)}else{if(_=="number"||_=="string")return xr.marked=pe?"property":xr.style+" property",Ae(ms);if(_=="jsonld-keyword")return Ae(ms);if(Oe&&ti(st))return xr.marked="keyword",Ae(cs);if(_=="[")return Ae(zn,Pr,cn("]"),ms);if(_=="spread")return Ae(ri,ms);if(st=="*")return xr.marked="keyword",Ae(cs);if(_==":")return Nn(ms)}}function ds(_){return _!="variable"?Nn(ms):(xr.marked="property",Ae(Ct))}function ms(_){if(_==":")return Ae(ri);if(_=="(")return Nn(Ct)}function Hi(_,st,Dt){function mr(li,ps){if(Dt?Dt.indexOf(li)>-1:li==","){var Ki=xr.state.lexical;return Ki.info=="call"&&(Ki.pos=(Ki.pos||0)+1),Ae(function(Os,Us){return Os==st||Us==st?Nn():Nn(_)},mr)}return li==st||ps==st?Ae():Dt&&Dt.indexOf(";")>-1?Nn(_):Ae(cn(st))}return function(li,ps){return li==st||ps==st?Ae():Nn(_,mr)}}function Ws(_,st,Dt){for(var mr=3;mr<arguments.length;mr++)xr.cc.push(arguments[mr]);return Ae(Yr(st,Dt),Hi(_,st),Dr)}function Vn(_){return _=="}"?Ae():Nn(Gn,Vn)}function Pr(_,st){if(Oe){if(_==":")return Ae(_t);if(st=="?")return Ae(Pr)}}function Nr(_,st){if(Oe&&(_==":"||st=="in"))return Ae(_t)}function Lr(_){if(Oe&&_==":")return xr.stream.match(/^\s*\w+\s+is\b/,!1)?Ae(zn,Wr,_t):Ae(_t)}function Wr(_,st){if(st=="is")return xr.marked="keyword",Ae()}function _t(_,st){if(st=="keyof"||st=="typeof"||st=="infer"||st=="readonly")return xr.marked="keyword",Ae(st=="typeof"?ri:_t);if(_=="variable"||st=="void")return xr.marked="type",Ae(Bt);if(st=="|"||st=="&")return Ae(_t);if(_=="string"||_=="number"||_=="atom")return Ae(Bt);if(_=="[")return Ae(Yr("]"),Hi(_t,"]",","),Dr,Bt);if(_=="{")return Ae(Yr("}"),Xt,Dr,Bt);if(_=="(")return Ae(Hi(je,")"),Wn,Bt);if(_=="<")return Ae(Hi(_t,">"),_t);if(_=="quasi")return Nn(yr,Bt)}function Wn(_){if(_=="=>")return Ae(_t)}function Xt(_){return _.match(/[\}\)\]]/)?Ae():_==","||_==";"?Ae(Xt):Nn(On,Xt)}function On(_,st){if(_=="variable"||xr.style=="keyword")return xr.marked="property",Ae(On);if(st=="?"||_=="number"||_=="string")return Ae(On);if(_==":")return Ae(_t);if(_=="[")return Ae(cn("variable"),Nr,cn("]"),On);if(_=="(")return Nn(Kt,On);if(!_.match(/[;\}\)\],]/))return Ae()}function yr(_,st){return _!="quasi"?Nn():st.slice(st.length-2)!="${"?Ae(yr):Ae(_t,Lt)}function Lt(_){if(_=="}")return xr.marked="string-2",xr.state.tokenize=Jn,Ae(yr)}function je(_,st){return _=="variable"&&xr.stream.match(/^\s*[?:]/,!1)||st=="?"?Ae(je):_==":"?Ae(_t):_=="spread"?Ae(je):Nn(_t)}function Bt(_,st){if(st=="<")return Ae(Yr(">"),Hi(_t,">"),Dr,Bt);if(st=="|"||_=="."||st=="&")return Ae(_t);if(_=="[")return Ae(_t,cn("]"),Bt);if(st=="extends"||st=="implements")return xr.marked="keyword",Ae(_t);if(st=="?")return Ae(_t,cn(":"),_t)}function Ht(_,st){if(st=="<")return Ae(Yr(">"),Hi(_t,">"),Dr,Bt)}function nr(){return Nn(_t,Mr)}function Mr(_,st){if(st=="=")return Ae(_t)}function nn(_,st){return st=="enum"?(xr.marked="keyword",Ae(Ji)):Nn(Ut,Pr,me,be)}function Ut(_,st){if(Oe&&ti(st))return xr.marked="keyword",Ae(Ut);if(_=="variable")return or(st),Ae();if(_=="spread")return Ae(Ut);if(_=="[")return Ws(ce,"]");if(_=="{")return Ws(_e,"}")}function _e(_,st){return _=="variable"&&!xr.stream.match(/^\s*:/,!1)?(or(st),Ae(me)):(_=="variable"&&(xr.marked="property"),_=="spread"?Ae(Ut):_=="}"?Nn():_=="["?Ae(zn,cn("]"),cn(":"),_e):Ae(cn(":"),Ut,me))}function ce(){return Nn(Ut,me)}function me(_,st){if(st=="=")return Ae(ri)}function be(_){if(_==",")return Ae(nn)}function Ee(_,st){if(_=="keyword b"&&st=="else")return Ae(Yr("form","else"),Gn,Dr)}function ze(_,st){if(st=="await")return Ae(ze);if(_=="(")return Ae(Yr(")"),Ke,Dr)}function Ke(_){return _=="var"?Ae(nn,ot):_=="variable"?Ae(ot):Nn(ot)}function ot(_,st){return _==")"?Ae():_==";"?Ae(ot):st=="in"||st=="of"?(xr.marked="keyword",Ae(zn,ot)):Nn(zn,ot)}function Ct(_,st){if(st=="*")return xr.marked="keyword",Ae(Ct);if(_=="variable")return or(st),Ae(Ct);if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,Lr,Gn,$r);if(Oe&&st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,Ct)}function Kt(_,st){if(st=="*")return xr.marked="keyword",Ae(Kt);if(_=="variable")return or(st),Ae(Kt);if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,Lr,$r);if(Oe&&st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,Kt)}function ur(_,st){if(_=="keyword"||_=="variable")return xr.marked="type",Ae(ur);if(st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr)}function Cr(_,st){return st=="@"&&Ae(zn,Cr),_=="spread"?Ae(Cr):Oe&&ti(st)?(xr.marked="keyword",Ae(Cr)):Oe&&_=="this"?Ae(Pr,me):Nn(Ut,Pr,me)}function Br(_,st){return _=="variable"?tn(_,st):sn(_,st)}function tn(_,st){if(_=="variable")return or(st),Ae(sn)}function sn(_,st){if(st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,sn);if(st=="extends"||st=="implements"||Oe&&_==",")return st=="implements"&&(xr.marked="keyword"),Ae(Oe?_t:zn,sn);if(_=="{")return Ae(Yr("}"),kr,Dr)}function kr(_,st){if(_=="async"||_=="variable"&&(st=="static"||st=="get"||st=="set"||Oe&&ti(st))&&xr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return xr.marked="keyword",Ae(kr);if(_=="variable"||xr.style=="keyword")return xr.marked="property",Ae(Fn,kr);if(_=="number"||_=="string")return Ae(Fn,kr);if(_=="[")return Ae(zn,Pr,cn("]"),Fn,kr);if(st=="*")return xr.marked="keyword",Ae(kr);if(Oe&&_=="(")return Nn(Kt,kr);if(_==";"||_==",")return Ae(kr);if(_=="}")return Ae();if(st=="@")return Ae(zn,kr)}function Fn(_,st){if(st=="!"||st=="?")return Ae(Fn);if(_==":")return Ae(_t,me);if(st=="=")return Ae(ri);var Dt=xr.state.lexical.prev,mr=Dt&&Dt.info=="interface";return Nn(mr?Kt:Ct)}function hi(_,st){return st=="*"?(xr.marked="keyword",Ae(pn,cn(";"))):st=="default"?(xr.marked="keyword",Ae(zn,cn(";"))):_=="{"?Ae(Hi(Cn,"}"),pn,cn(";")):Nn(Gn)}function Cn(_,st){if(st=="as")return xr.marked="keyword",Ae(cn("variable"));if(_=="variable")return Nn(ri,Cn)}function $i(_){return _=="string"?Ae():_=="("?Nn(zn):_=="."?Nn(_r):Nn(rs,dt,pn)}function rs(_,st){return _=="{"?Ws(rs,"}"):(_=="variable"&&or(st),st=="*"&&(xr.marked="keyword"),Ae(Vi))}function dt(_){if(_==",")return Ae(rs,dt)}function Vi(_,st){if(st=="as")return xr.marked="keyword",Ae(rs)}function pn(_,st){if(st=="from")return xr.marked="keyword",Ae(zn)}function Si(_){return _=="]"?Ae():Nn(Hi(ri,"]"))}function Ji(){return Nn(Yr("form"),Ut,cn("{"),Yr("}"),Hi(Qn,"}"),Dr,Dr)}function Qn(){return Nn(Ut,me)}function Wi(_,st){return _.lastType=="operator"||_.lastType==","||St.test(st.charAt(0))||/[,.]/.test(st.charAt(0))}function Is(_,st,Dt){return st.tokenize==qt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(st.lastType)||st.lastType=="quasi"&&/\{\s*$/.test(_.string.slice(0,_.pos-(Dt||0)))}return{startState:function(_){var st={tokenize:qt,lastType:"sof",cc:[],lexical:new Xn((_||0)-N,0,"block",!1),localVars:D.localVars,context:D.localVars&&new ts(null,null,!1),indented:_||0};return D.globalVars&&typeof D.globalVars=="object"&&(st.globalVars=D.globalVars),st},token:function(_,st){if(_.sol()&&(st.lexical.hasOwnProperty("align")||(st.lexical.align=!1),st.indented=_.indentation(),mi(_,st)),st.tokenize!=an&&_.eatSpace())return null;var Dt=st.tokenize(_,st);return Rr=="comment"?Dt:(st.lastType=Rr=="operator"&&(At=="++"||At=="--")?"incdec":Rr,gi(st,Dt,Rr,At,_))},indent:function(_,st){if(_.tokenize==an||_.tokenize==Jn)return l.Pass;if(_.tokenize!=qt)return 0;var Dt=st&&st.charAt(0),mr=_.lexical,li;if(!/^\s*else\b/.test(st))for(var ps=_.cc.length-1;ps>=0;--ps){var Ki=_.cc[ps];if(Ki==Dr)mr=mr.prev;else if(Ki!=Ee&&Ki!=$r)break}for(;(mr.type=="stat"||mr.type=="form")&&(Dt=="}"||(li=_.cc[_.cc.length-1])&&(li==_r||li==Kr)&&!/^[,\.=+\-*:?[\(]/.test(st));)mr=mr.prev;Y&&mr.type==")"&&mr.prev.type=="stat"&&(mr=mr.prev);var Os=mr.type,Us=Dt==Os;return Os=="vardef"?mr.indented+(_.lastType=="operator"||_.lastType==","?mr.info.length+1:0):Os=="form"&&Dt=="{"?mr.indented:Os=="form"?mr.indented+N:Os=="stat"?mr.indented+(Wi(_,st)?Y||N:0):mr.info=="switch"&&!Us&&D.doubleIndentSwitch!=!1?mr.indented+(/^(?:case|default)\b/.test(st)?N:2*N):mr.align?mr.column+(Us?0:1):mr.indented+(Us?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ye?null:"/*",blockCommentEnd:ye?null:"*/",blockCommentContinue:ye?null:" * ",lineComment:ye?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ye?"json":"javascript",jsonldMode:pe,jsonMode:ye,expressionAllowed:Is,skipExpression:function(_){gi(_,"atom","atom","true",new l.StringStream("",2,null))}}}),l.registerHelper("wordChars","javascript",/[\w$]/),l.defineMIME("text/javascript","javascript"),l.defineMIME("text/ecmascript","javascript"),l.defineMIME("application/javascript","javascript"),l.defineMIME("application/x-javascript","javascript"),l.defineMIME("application/ecmascript","javascript"),l.defineMIME("application/json",{name:"javascript",json:!0}),l.defineMIME("application/x-json",{name:"javascript",json:!0}),l.defineMIME("application/manifest+json",{name:"javascript",json:!0}),l.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),l.defineMIME("text/typescript",{name:"javascript",typescript:!0}),l.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var SD={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("css",function(Xn,Un){var gi=Un.inline;Un.propertyKeywords||(Un=l.resolveMode("text/css"));var xr=Xn.indentUnit,Nn=Un.tokenHooks,Ae=Un.documentTypes||{},rn=Un.mediaTypes||{},or=Un.mediaFeatures||{},Bn=Un.mediaValueKeywords||{},ti=Un.propertyKeywords||{},ts=Un.nonStandardPropertyKeywords||{},Cs=Un.fontProperties||{},_s=Un.counterDescriptors||{},Zi=Un.colorKeywords||{},ls=Un.valueKeywords||{},$r=Un.allowNested,Yr=Un.lineComment,Dr=Un.supportsAtComponent===!0,cn=Xn.highlightNonStandardPropertyKeywords!==!1,Gn,ui;function zn(ct,wr){return Gn=wr,ct}function ri(ct,wr){var Rt=ct.next();if(Nn[Rt]){var Mn=Nn[Rt](ct,wr);if(Mn!==!1)return Mn}if(Rt=="@")return ct.eatWhile(/[\w\\\-]/),zn("def",ct.current());if(Rt=="="||(Rt=="~"||Rt=="|")&&ct.eat("="))return zn(null,"compare");if(Rt=='"'||Rt=="'")return wr.tokenize=ht(Rt),wr.tokenize(ct,wr);if(Rt=="#")return ct.eatWhile(/[\w\\\-]/),zn("atom","hash");if(Rt=="!")return ct.match(/^\s*\w*/),zn("keyword","important");if(/\d/.test(Rt)||Rt=="."&&ct.eat(/\d/))return ct.eatWhile(/[\w.%]/),zn("number","unit");if(Rt==="-"){if(/[\d.]/.test(ct.peek()))return ct.eatWhile(/[\w.%]/),zn("number","unit");if(ct.match(/^-[\w\\\-]*/))return ct.eatWhile(/[\w\\\-]/),ct.match(/^\s*:/,!1)?zn("variable-2","variable-definition"):zn("variable-2","variable");if(ct.match(/^\w+-/))return zn("meta","meta")}else return/[,+>*\/]/.test(Rt)?zn(null,"select-op"):Rt=="."&&ct.match(/^-?[_a-z][_a-z0-9-]*/i)?zn("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Rt)?zn(null,Rt):ct.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ct.current())&&(wr.tokenize=Ot),zn("variable callee","variable")):/[\w\\\-]/.test(Rt)?(ct.eatWhile(/[\w\\\-]/),zn("property","word")):zn(null,null)}function ht(ct){return function(wr,Rt){for(var Mn=!1,bi;(bi=wr.next())!=null;){if(bi==ct&&!Mn){ct==")"&&wr.backUp(1);break}Mn=!Mn&&bi=="\\"}return(bi==ct||!Mn&&ct!=")")&&(Rt.tokenize=null),zn("string","string")}}function Ot(ct,wr){return ct.next(),ct.match(/^\s*[\"\')]/,!1)?wr.tokenize=null:wr.tokenize=ht(")"),zn(null,"(")}function vr(ct,wr,Rt){this.type=ct,this.indent=wr,this.prev=Rt}function _r(ct,wr,Rt,Mn){return ct.context=new vr(Rt,wr.indentation()+(Mn===!1?0:xr),ct.context),Rt}function Kr(ct){return ct.context.prev&&(ct.context=ct.context.prev),ct.context.type}function Ur(ct,wr,Rt){return dn[Rt.context.type](ct,wr,Rt)}function Dn(ct,wr,Rt,Mn){for(var bi=Mn||1;bi>0;bi--)Rt.context=Rt.context.prev;return Ur(ct,wr,Rt)}function _n(ct){var wr=ct.current().toLowerCase();ls.hasOwnProperty(wr)?ui="atom":Zi.hasOwnProperty(wr)?ui="keyword":ui="variable"}var dn={};return dn.top=function(ct,wr,Rt){if(ct=="{")return _r(Rt,wr,"block");if(ct=="}"&&Rt.context.prev)return Kr(Rt);if(Dr&&/@component/i.test(ct))return _r(Rt,wr,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ct))return _r(Rt,wr,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ct))return _r(Rt,wr,"atBlock");if(/^@(font-face|counter-style)/i.test(ct))return Rt.stateArg=ct,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ct))return"keyframes";if(ct&&ct.charAt(0)=="@")return _r(Rt,wr,"at");if(ct=="hash")ui="builtin";else if(ct=="word")ui="tag";else{if(ct=="variable-definition")return"maybeprop";if(ct=="interpolation")return _r(Rt,wr,"interpolation");if(ct==":")return"pseudo";if($r&&ct=="(")return _r(Rt,wr,"parens")}return Rt.context.type},dn.block=function(ct,wr,Rt){if(ct=="word"){var Mn=wr.current().toLowerCase();return ti.hasOwnProperty(Mn)?(ui="property","maybeprop"):ts.hasOwnProperty(Mn)?(ui=cn?"string-2":"property","maybeprop"):$r?(ui=wr.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ui+=" error","maybeprop")}else return ct=="meta"?"block":!$r&&(ct=="hash"||ct=="qualifier")?(ui="error","block"):dn.top(ct,wr,Rt)},dn.maybeprop=function(ct,wr,Rt){return ct==":"?_r(Rt,wr,"prop"):Ur(ct,wr,Rt)},dn.prop=function(ct,wr,Rt){if(ct==";")return Kr(Rt);if(ct=="{"&&$r)return _r(Rt,wr,"propBlock");if(ct=="}"||ct=="{")return Dn(ct,wr,Rt);if(ct=="(")return _r(Rt,wr,"parens");if(ct=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(wr.current()))ui+=" error";else if(ct=="word")_n(wr);else if(ct=="interpolation")return _r(Rt,wr,"interpolation");return"prop"},dn.propBlock=function(ct,wr,Rt){return ct=="}"?Kr(Rt):ct=="word"?(ui="property","maybeprop"):Rt.context.type},dn.parens=function(ct,wr,Rt){return ct=="{"||ct=="}"?Dn(ct,wr,Rt):ct==")"?Kr(Rt):ct=="("?_r(Rt,wr,"parens"):ct=="interpolation"?_r(Rt,wr,"interpolation"):(ct=="word"&&_n(wr),"parens")},dn.pseudo=function(ct,wr,Rt){return ct=="meta"?"pseudo":ct=="word"?(ui="variable-3",Rt.context.type):Ur(ct,wr,Rt)},dn.documentTypes=function(ct,wr,Rt){return ct=="word"&&Ae.hasOwnProperty(wr.current())?(ui="tag",Rt.context.type):dn.atBlock(ct,wr,Rt)},dn.atBlock=function(ct,wr,Rt){if(ct=="(")return _r(Rt,wr,"atBlock_parens");if(ct=="}"||ct==";")return Dn(ct,wr,Rt);if(ct=="{")return Kr(Rt)&&_r(Rt,wr,$r?"block":"top");if(ct=="interpolation")return _r(Rt,wr,"interpolation");if(ct=="word"){var Mn=wr.current().toLowerCase();Mn=="only"||Mn=="not"||Mn=="and"||Mn=="or"?ui="keyword":rn.hasOwnProperty(Mn)?ui="attribute":or.hasOwnProperty(Mn)?ui="property":Bn.hasOwnProperty(Mn)?ui="keyword":ti.hasOwnProperty(Mn)?ui="property":ts.hasOwnProperty(Mn)?ui=cn?"string-2":"property":ls.hasOwnProperty(Mn)?ui="atom":Zi.hasOwnProperty(Mn)?ui="keyword":ui="error"}return Rt.context.type},dn.atComponentBlock=function(ct,wr,Rt){return ct=="}"?Dn(ct,wr,Rt):ct=="{"?Kr(Rt)&&_r(Rt,wr,$r?"block":"top",!1):(ct=="word"&&(ui="error"),Rt.context.type)},dn.atBlock_parens=function(ct,wr,Rt){return ct==")"?Kr(Rt):ct=="{"||ct=="}"?Dn(ct,wr,Rt,2):dn.atBlock(ct,wr,Rt)},dn.restricted_atBlock_before=function(ct,wr,Rt){return ct=="{"?_r(Rt,wr,"restricted_atBlock"):ct=="word"&&Rt.stateArg=="@counter-style"?(ui="variable","restricted_atBlock_before"):Ur(ct,wr,Rt)},dn.restricted_atBlock=function(ct,wr,Rt){return ct=="}"?(Rt.stateArg=null,Kr(Rt)):ct=="word"?(Rt.stateArg=="@font-face"&&!Cs.hasOwnProperty(wr.current().toLowerCase())||Rt.stateArg=="@counter-style"&&!_s.hasOwnProperty(wr.current().toLowerCase())?ui="error":ui="property","maybeprop"):"restricted_atBlock"},dn.keyframes=function(ct,wr,Rt){return ct=="word"?(ui="variable","keyframes"):ct=="{"?_r(Rt,wr,"top"):Ur(ct,wr,Rt)},dn.at=function(ct,wr,Rt){return ct==";"?Kr(Rt):ct=="{"||ct=="}"?Dn(ct,wr,Rt):(ct=="word"?ui="tag":ct=="hash"&&(ui="builtin"),"at")},dn.interpolation=function(ct,wr,Rt){return ct=="}"?Kr(Rt):ct=="{"||ct==";"?Dn(ct,wr,Rt):(ct=="word"?ui="variable":ct!="variable"&&ct!="("&&ct!=")"&&(ui="error"),"interpolation")},{startState:function(ct){return{tokenize:null,state:gi?"block":"top",stateArg:null,context:new vr(gi?"block":"top",ct||0,null)}},token:function(ct,wr){if(!wr.tokenize&&ct.eatSpace())return null;var Rt=(wr.tokenize||ri)(ct,wr);return Rt&&typeof Rt=="object"&&(Gn=Rt[1],Rt=Rt[0]),ui=Rt,Gn!="comment"&&(wr.state=dn[wr.state](Gn,ct,wr)),ui},indent:function(ct,wr){var Rt=ct.context,Mn=wr&&wr.charAt(0),bi=Rt.indent;return Rt.type=="prop"&&(Mn=="}"||Mn==")")&&(Rt=Rt.prev),Rt.prev&&(Mn=="}"&&(Rt.type=="block"||Rt.type=="top"||Rt.type=="interpolation"||Rt.type=="restricted_atBlock")?(Rt=Rt.prev,bi=Rt.indent):(Mn==")"&&(Rt.type=="parens"||Rt.type=="atBlock_parens")||Mn=="{"&&(Rt.type=="at"||Rt.type=="atBlock"))&&(bi=Math.max(0,Rt.indent-xr))),bi},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Yr,fold:"brace"}});function f(Xn){for(var Un={},gi=0;gi<Xn.length;++gi)Un[Xn[gi].toLowerCase()]=!0;return Un}var D=["domain","regexp","url","url-prefix"],N=f(D),Y=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],pe=f(Y),ye=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Me=f(ye),Oe=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],it=f(Oe),gt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],St=f(gt),Wt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],ar=f(Wt),Rr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],At=f(Rr),It=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],qt=f(It),Er=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],an=f(Er),Jn=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],An=f(Jn),mi=D.concat(Y).concat(ye).concat(Oe).concat(gt).concat(Wt).concat(Er).concat(Jn);l.registerHelper("hintWords","css",mi);function oi(Xn,Un){for(var gi=!1,xr;(xr=Xn.next())!=null;){if(gi&&xr=="/"){Un.tokenize=null;break}gi=xr=="*"}return["comment","comment"]}l.defineMIME("text/css",{documentTypes:N,mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,fontProperties:At,counterDescriptors:qt,colorKeywords:an,valueKeywords:An,tokenHooks:{"/":function(Xn,Un){return Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):!1}},name:"css"}),l.defineMIME("text/x-scss",{mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,colorKeywords:an,valueKeywords:An,fontProperties:At,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Xn,Un){return Xn.eat("/")?(Xn.skipToEnd(),["comment","comment"]):Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):["operator","operator"]},":":function(Xn){return Xn.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Xn){return Xn.match(/^[\w-]+/),Xn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Xn){return Xn.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),l.defineMIME("text/x-less",{mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,colorKeywords:an,valueKeywords:An,fontProperties:At,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Xn,Un){return Xn.eat("/")?(Xn.skipToEnd(),["comment","comment"]):Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):["operator","operator"]},"@":function(Xn){return Xn.eat("{")?[null,"interpolation"]:Xn.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Xn.eatWhile(/[\w\\\-]/),Xn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),l.defineMIME("text/x-gss",{documentTypes:N,mediaTypes:pe,mediaFeatures:Me,propertyKeywords:St,nonStandardPropertyKeywords:ar,fontProperties:At,counterDescriptors:qt,colorKeywords:an,valueKeywords:An,supportsAtComponent:!0,tokenHooks:{"/":function(Xn,Un){return Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):!1}},name:"css",helperType:"gss"})})})();var ym={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){var f={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},D={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};l.defineMode("xml",function(N,Y){var pe=N.indentUnit,ye={},Me=Y.htmlMode?f:D;for(var Oe in Me)ye[Oe]=Me[Oe];for(var Oe in Y)ye[Oe]=Y[Oe];var it,gt;function St(Ae,rn){function or(ts){return rn.tokenize=ts,ts(Ae,rn)}var Bn=Ae.next();if(Bn=="<")return Ae.eat("!")?Ae.eat("[")?Ae.match("CDATA[")?or(Rr("atom","]]>")):null:Ae.match("--")?or(Rr("comment","-->")):Ae.match("DOCTYPE",!0,!0)?(Ae.eatWhile(/[\w\._\-]/),or(At(1))):null:Ae.eat("?")?(Ae.eatWhile(/[\w\._\-]/),rn.tokenize=Rr("meta","?>"),"meta"):(it=Ae.eat("/")?"closeTag":"openTag",rn.tokenize=Wt,"tag bracket");if(Bn=="&"){var ti;return Ae.eat("#")?Ae.eat("x")?ti=Ae.eatWhile(/[a-fA-F\d]/)&&Ae.eat(";"):ti=Ae.eatWhile(/[\d]/)&&Ae.eat(";"):ti=Ae.eatWhile(/[\w\.\-:]/)&&Ae.eat(";"),ti?"atom":"error"}else return Ae.eatWhile(/[^&<]/),null}St.isInText=!0;function Wt(Ae,rn){var or=Ae.next();if(or==">"||or=="/"&&Ae.eat(">"))return rn.tokenize=St,it=or==">"?"endTag":"selfcloseTag","tag bracket";if(or=="=")return it="equals",null;if(or=="<"){rn.tokenize=St,rn.state=Jn,rn.tagName=rn.tagStart=null;var Bn=rn.tokenize(Ae,rn);return Bn?Bn+" tag error":"tag error"}else return/[\'\"]/.test(or)?(rn.tokenize=ar(or),rn.stringStartCol=Ae.column(),rn.tokenize(Ae,rn)):(Ae.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ar(Ae){var rn=function(or,Bn){for(;!or.eol();)if(or.next()==Ae){Bn.tokenize=Wt;break}return"string"};return rn.isInAttribute=!0,rn}function Rr(Ae,rn){return function(or,Bn){for(;!or.eol();){if(or.match(rn)){Bn.tokenize=St;break}or.next()}return Ae}}function At(Ae){return function(rn,or){for(var Bn;(Bn=rn.next())!=null;){if(Bn=="<")return or.tokenize=At(Ae+1),or.tokenize(rn,or);if(Bn==">")if(Ae==1){or.tokenize=St;break}else return or.tokenize=At(Ae-1),or.tokenize(rn,or)}return"meta"}}function It(Ae){return Ae&&Ae.toLowerCase()}function qt(Ae,rn,or){this.prev=Ae.context,this.tagName=rn||"",this.indent=Ae.indented,this.startOfLine=or,(ye.doNotIndent.hasOwnProperty(rn)||Ae.context&&Ae.context.noIndent)&&(this.noIndent=!0)}function Er(Ae){Ae.context&&(Ae.context=Ae.context.prev)}function an(Ae,rn){for(var or;;){if(!Ae.context||(or=Ae.context.tagName,!ye.contextGrabbers.hasOwnProperty(It(or))||!ye.contextGrabbers[It(or)].hasOwnProperty(It(rn))))return;Er(Ae)}}function Jn(Ae,rn,or){return Ae=="openTag"?(or.tagStart=rn.column(),An):Ae=="closeTag"?mi:Jn}function An(Ae,rn,or){return Ae=="word"?(or.tagName=rn.current(),gt="tag",Un):ye.allowMissingTagName&&Ae=="endTag"?(gt="tag bracket",Un(Ae,rn,or)):(gt="error",An)}function mi(Ae,rn,or){if(Ae=="word"){var Bn=rn.current();return or.context&&or.context.tagName!=Bn&&ye.implicitlyClosed.hasOwnProperty(It(or.context.tagName))&&Er(or),or.context&&or.context.tagName==Bn||ye.matchClosing===!1?(gt="tag",oi):(gt="tag error",Xn)}else return ye.allowMissingTagName&&Ae=="endTag"?(gt="tag bracket",oi(Ae,rn,or)):(gt="error",Xn)}function oi(Ae,rn,or){return Ae!="endTag"?(gt="error",oi):(Er(or),Jn)}function Xn(Ae,rn,or){return gt="error",oi(Ae,rn,or)}function Un(Ae,rn,or){if(Ae=="word")return gt="attribute",gi;if(Ae=="endTag"||Ae=="selfcloseTag"){var Bn=or.tagName,ti=or.tagStart;return or.tagName=or.tagStart=null,Ae=="selfcloseTag"||ye.autoSelfClosers.hasOwnProperty(It(Bn))?an(or,Bn):(an(or,Bn),or.context=new qt(or,Bn,ti==or.indented)),Jn}return gt="error",Un}function gi(Ae,rn,or){return Ae=="equals"?xr:(ye.allowMissing||(gt="error"),Un(Ae,rn,or))}function xr(Ae,rn,or){return Ae=="string"?Nn:Ae=="word"&&ye.allowUnquoted?(gt="string",Un):(gt="error",Un(Ae,rn,or))}function Nn(Ae,rn,or){return Ae=="string"?Nn:Un(Ae,rn,or)}return{startState:function(Ae){var rn={tokenize:St,state:Jn,indented:Ae||0,tagName:null,tagStart:null,context:null};return Ae!=null&&(rn.baseIndent=Ae),rn},token:function(Ae,rn){if(!rn.tagName&&Ae.sol()&&(rn.indented=Ae.indentation()),Ae.eatSpace())return null;it=null;var or=rn.tokenize(Ae,rn);return(or||it)&&or!="comment"&&(gt=null,rn.state=rn.state(it||or,Ae,rn),gt&&(or=gt=="error"?or+" error":gt)),or},indent:function(Ae,rn,or){var Bn=Ae.context;if(Ae.tokenize.isInAttribute)return Ae.tagStart==Ae.indented?Ae.stringStartCol+1:Ae.indented+pe;if(Bn&&Bn.noIndent)return l.Pass;if(Ae.tokenize!=Wt&&Ae.tokenize!=St)return or?or.match(/^(\s*)/)[0].length:0;if(Ae.tagName)return ye.multilineTagIndentPastTag!==!1?Ae.tagStart+Ae.tagName.length+2:Ae.tagStart+pe*(ye.multilineTagIndentFactor||1);if(ye.alignCDATA&&/<!\[CDATA\[/.test(rn))return 0;var ti=rn&&/^<(\/)?([\w_:\.-]*)/.exec(rn);if(ti&&ti[1])for(;Bn;)if(Bn.tagName==ti[2]){Bn=Bn.prev;break}else if(ye.implicitlyClosed.hasOwnProperty(It(Bn.tagName)))Bn=Bn.prev;else break;else if(ti)for(;Bn;){var ts=ye.contextGrabbers[It(Bn.tagName)];if(ts&&ts.hasOwnProperty(It(ti[2])))Bn=Bn.prev;else break}for(;Bn&&Bn.prev&&!Bn.startOfLine;)Bn=Bn.prev;return Bn?Bn.indent+pe:Ae.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ye.htmlMode?"html":"xml",helperType:ye.htmlMode?"html":"xml",skipAttribute:function(Ae){Ae.state==xr&&(Ae.state=Un)},xmlCurrentTag:function(Ae){return Ae.tagName?{name:Ae.tagName,close:Ae.type=="closeTag"}:null},xmlCurrentContext:function(Ae){for(var rn=[],or=Ae.context;or;or=or.prev)rn.push(or.tagName);return rn.reverse()}}}),l.defineMIME("text/xml","xml"),l.defineMIME("application/xml","xml"),l.mimeModes.hasOwnProperty("text/html")||l.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(s,c){(function(l){l(ql.exports,ym.exports,gm.exports,SD.exports)})(function(l){var f={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function D(it,gt,St){var Wt=it.current(),ar=Wt.search(gt);return ar>-1?it.backUp(Wt.length-ar):Wt.match(/<\/?$/)&&(it.backUp(Wt.length),it.match(gt,!1)||it.match(Wt)),St}var N={};function Y(it){var gt=N[it];return gt||(N[it]=new RegExp("\\s+"+it+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function pe(it,gt){var St=it.match(Y(gt));return St?/^\s*(.*?)\s*$/.exec(St[2])[1]:""}function ye(it,gt){return new RegExp((gt?"^":"")+"</\\s*"+it+"\\s*>","i")}function Me(it,gt){for(var St in it)for(var Wt=gt[St]||(gt[St]=[]),ar=it[St],Rr=ar.length-1;Rr>=0;Rr--)Wt.unshift(ar[Rr])}function Oe(it,gt){for(var St=0;St<it.length;St++){var Wt=it[St];if(!Wt[0]||Wt[1].test(pe(gt,Wt[0])))return Wt[2]}}l.defineMode("htmlmixed",function(it,gt){var St=l.getMode(it,{name:"xml",htmlMode:!0,multilineTagIndentFactor:gt.multilineTagIndentFactor,multilineTagIndentPastTag:gt.multilineTagIndentPastTag,allowMissingTagName:gt.allowMissingTagName}),Wt={},ar=gt&>.tags,Rr=gt&>.scriptTypes;if(Me(f,Wt),ar&&Me(ar,Wt),Rr)for(var At=Rr.length-1;At>=0;At--)Wt.script.unshift(["type",Rr[At].matches,Rr[At].mode]);function It(qt,Er){var an=St.token(qt,Er.htmlState),Jn=/\btag\b/.test(an),An;if(Jn&&!/[<>\s\/]/.test(qt.current())&&(An=Er.htmlState.tagName&&Er.htmlState.tagName.toLowerCase())&&Wt.hasOwnProperty(An))Er.inTag=An+" ";else if(Er.inTag&&Jn&&/>$/.test(qt.current())){var mi=/^([\S]+) (.*)/.exec(Er.inTag);Er.inTag=null;var oi=qt.current()==">"&&Oe(Wt[mi[1]],mi[2]),Xn=l.getMode(it,oi),Un=ye(mi[1],!0),gi=ye(mi[1],!1);Er.token=function(xr,Nn){return xr.match(Un,!1)?(Nn.token=It,Nn.localState=Nn.localMode=null,null):D(xr,gi,Nn.localMode.token(xr,Nn.localState))},Er.localMode=Xn,Er.localState=l.startState(Xn,St.indent(Er.htmlState,"",""))}else Er.inTag&&(Er.inTag+=qt.current(),qt.eol()&&(Er.inTag+=" "));return an}return{startState:function(){var qt=l.startState(St);return{token:It,inTag:null,localMode:null,localState:null,htmlState:qt}},copyState:function(qt){var Er;return qt.localState&&(Er=l.copyState(qt.localMode,qt.localState)),{token:qt.token,inTag:qt.inTag,localMode:qt.localMode,localState:Er,htmlState:l.copyState(St,qt.htmlState)}},token:function(qt,Er){return Er.token(qt,Er)},indent:function(qt,Er,an){return!qt.localMode||/^\s*<\//.test(Er)?St.indent(qt.htmlState,Er,an):qt.localMode.indent?qt.localMode.indent(qt.localState,Er,an):l.Pass},innerMode:function(qt){return{state:qt.localState||qt.htmlState,mode:qt.localMode||St}}}},"xml","javascript","css"),l.defineMIME("text/html","htmlmixed")})})();(function(s,c){(function(l){l(ql.exports,ym.exports,gm.exports)})(function(l){function f(N,Y,pe,ye){this.state=N,this.mode=Y,this.depth=pe,this.prev=ye}function D(N){return new f(l.copyState(N.mode,N.state),N.mode,N.depth,N.prev&&D(N.prev))}l.defineMode("jsx",function(N,Y){var pe=l.getMode(N,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ye=l.getMode(N,Y&&Y.base||"javascript");function Me(St){var Wt=St.tagName;St.tagName=null;var ar=pe.indent(St,"","");return St.tagName=Wt,ar}function Oe(St,Wt){return Wt.context.mode==pe?it(St,Wt,Wt.context):gt(St,Wt,Wt.context)}function it(St,Wt,ar){if(ar.depth==2)return St.match(/^.*?\*\//)?ar.depth=1:St.skipToEnd(),"comment";if(St.peek()=="{"){pe.skipAttribute(ar.state);var Rr=Me(ar.state),At=ar.state.context;if(At&&St.match(/^[^>]*>\s*$/,!1)){for(;At.prev&&!At.startOfLine;)At=At.prev;At.startOfLine?Rr-=N.indentUnit:ar.prev.state.lexical&&(Rr=ar.prev.state.lexical.indented)}else ar.depth==1&&(Rr+=N.indentUnit);return Wt.context=new f(l.startState(ye,Rr),ye,0,Wt.context),null}if(ar.depth==1){if(St.peek()=="<")return pe.skipAttribute(ar.state),Wt.context=new f(l.startState(pe,Me(ar.state)),pe,0,Wt.context),null;if(St.match("//"))return St.skipToEnd(),"comment";if(St.match("/*"))return ar.depth=2,Oe(St,Wt)}var It=pe.token(St,ar.state),qt=St.current(),Er;return/\btag\b/.test(It)?/>$/.test(qt)?ar.state.context?ar.depth=0:Wt.context=Wt.context.prev:/^</.test(qt)&&(ar.depth=1):!It&&(Er=qt.indexOf("{"))>-1&&St.backUp(qt.length-Er),It}function gt(St,Wt,ar){if(St.peek()=="<"&&ye.expressionAllowed(St,ar.state))return Wt.context=new f(l.startState(pe,ye.indent(ar.state,"","")),pe,0,Wt.context),ye.skipExpression(ar.state),null;var Rr=ye.token(St,ar.state);if(!Rr&&ar.depth!=null){var At=St.current();At=="{"?ar.depth++:At=="}"&&--ar.depth==0&&(Wt.context=Wt.context.prev)}return Rr}return{startState:function(){return{context:new f(l.startState(ye),ye)}},copyState:function(St){return{context:D(St.context)}},token:Oe,indent:function(St,Wt,ar){return St.context.mode.indent(St.context.state,Wt,ar)},innerMode:function(St){return St.context}}},"xml","javascript"),l.defineMIME("text/jsx","jsx"),l.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineOption("placeholder","",function(Me,Oe,it){var gt=it&&it!=l.Init;if(Oe&&!gt)Me.on("blur",Y),Me.on("change",pe),Me.on("swapDoc",pe),l.on(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose=function(){N(Me)}),pe(Me);else if(!Oe&>){Me.off("blur",Y),Me.off("change",pe),Me.off("swapDoc",pe),l.off(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose),f(Me);var St=Me.getWrapperElement();St.className=St.className.replace(" CodeMirror-empty","")}Oe&&!Me.hasFocus()&&Y(Me)});function f(Me){Me.state.placeholder&&(Me.state.placeholder.parentNode.removeChild(Me.state.placeholder),Me.state.placeholder=null)}function D(Me){f(Me);var Oe=Me.state.placeholder=document.createElement("pre");Oe.style.cssText="height: 0; overflow: visible",Oe.style.direction=Me.getOption("direction"),Oe.className="CodeMirror-placeholder CodeMirror-line-like";var it=Me.getOption("placeholder");typeof it=="string"&&(it=document.createTextNode(it)),Oe.appendChild(it),Me.display.lineSpace.insertBefore(Oe,Me.display.lineSpace.firstChild)}function N(Me){setTimeout(function(){var Oe=!1;if(Me.lineCount()==1){var it=Me.getInputField();Oe=it.nodeName=="TEXTAREA"?!Me.getLine(0).length:!/[^\u200b]/.test(it.querySelector(".CodeMirror-line").textContent)}Oe?D(Me):f(Me)},20)}function Y(Me){ye(Me)&&D(Me)}function pe(Me){var Oe=Me.getWrapperElement(),it=ye(Me);Oe.className=Oe.className.replace(" CodeMirror-empty","")+(it?" CodeMirror-empty":""),it?D(Me):f(Me)}function ye(Me){return Me.lineCount()===1&&Me.getLine(0)===""}})})();(function(s,c){(function(l){l(ql.exports)})(function(l){var f="CodeMirror-hint",D="CodeMirror-hint-active";l.showHint=function(At,It,qt){if(!It)return At.showHint(qt);qt&&qt.async&&(It.async=!0);var Er={hint:It};if(qt)for(var an in qt)Er[an]=qt[an];return At.showHint(Er)},l.defineExtension("showHint",function(At){At=ye(this,this.getCursor("start"),At);var It=this.listSelections();if(!(It.length>1)){if(this.somethingSelected()){if(!At.hint.supportsSelection)return;for(var qt=0;qt<It.length;qt++)if(It[qt].head.line!=It[qt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Er=this.state.completionActive=new N(this,At);!Er.options.hint||(l.signal(this,"startCompletion",this),Er.update(!0))}}),l.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function N(At,It){if(this.cm=At,this.options=It,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var qt=this;At.on("cursorActivity",this.activityFunc=function(){qt.cursorActivity()})}}var Y=window.requestAnimationFrame||function(At){return setTimeout(At,1e3/60)},pe=window.cancelAnimationFrame||clearTimeout;N.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&l.signal(this.data,"close"),this.widget&&this.widget.close(),l.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(At,It){var qt=At.list[It],Er=this;this.cm.operation(function(){qt.hint?qt.hint(Er.cm,At,qt):Er.cm.replaceRange(Me(qt),qt.from||At.from,qt.to||At.to,"complete"),l.signal(At,"pick",qt),Er.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(pe(this.debounce),this.debounce=0);var At=this.startPos;this.data&&(At=this.data.from);var It=this.cm.getCursor(),qt=this.cm.getLine(It.line);if(It.line!=this.startPos.line||qt.length-It.ch!=this.startLen-this.startPos.ch||It.ch<At.ch||this.cm.somethingSelected()||!It.ch||this.options.closeCharacters.test(qt.charAt(It.ch-1)))this.close();else{var Er=this;this.debounce=Y(function(){Er.update()}),this.widget&&this.widget.disable()}},update:function(At){if(this.tick!=null){var It=this,qt=++this.tick;Wt(this.options.hint,this.cm,this.options,function(Er){It.tick==qt&&It.finishUpdate(Er,At)})}},finishUpdate:function(At,It){this.data&&l.signal(this.data,"update");var qt=this.widget&&this.widget.picked||It&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=At,At&&At.list.length&&(qt&&At.list.length==1?this.pick(At,0):(this.widget=new gt(this,At),l.signal(At,"shown")))}};function ye(At,It,qt){var Er=At.options.hintOptions,an={};for(var Jn in Rr)an[Jn]=Rr[Jn];if(Er)for(var Jn in Er)Er[Jn]!==void 0&&(an[Jn]=Er[Jn]);if(qt)for(var Jn in qt)qt[Jn]!==void 0&&(an[Jn]=qt[Jn]);return an.hint.resolve&&(an.hint=an.hint.resolve(At,It)),an}function Me(At){return typeof At=="string"?At:At.text}function Oe(At,It){var qt={Up:function(){It.moveFocus(-1)},Down:function(){It.moveFocus(1)},PageUp:function(){It.moveFocus(-It.menuSize()+1,!0)},PageDown:function(){It.moveFocus(It.menuSize()-1,!0)},Home:function(){It.setFocus(0)},End:function(){It.setFocus(It.length-1)},Enter:It.pick,Tab:It.pick,Esc:It.close},Er=/Mac/.test(navigator.platform);Er&&(qt["Ctrl-P"]=function(){It.moveFocus(-1)},qt["Ctrl-N"]=function(){It.moveFocus(1)});var an=At.options.customKeys,Jn=an?{}:qt;function An(Xn,Un){var gi;typeof Un!="string"?gi=function(xr){return Un(xr,It)}:qt.hasOwnProperty(Un)?gi=qt[Un]:gi=Un,Jn[Xn]=gi}if(an)for(var mi in an)an.hasOwnProperty(mi)&&An(mi,an[mi]);var oi=At.options.extraKeys;if(oi)for(var mi in oi)oi.hasOwnProperty(mi)&&An(mi,oi[mi]);return Jn}function it(At,It){for(;It&&It!=At;){if(It.nodeName.toUpperCase()==="LI"&&It.parentNode==At)return It;It=It.parentNode}}function gt(At,It){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=At,this.data=It,this.picked=!1;var qt=this,Er=At.cm,an=Er.getInputField().ownerDocument,Jn=an.defaultView||an.parentWindow,An=this.hints=an.createElement("ul");An.setAttribute("role","listbox"),An.setAttribute("aria-expanded","true"),An.id=this.id;var mi=At.cm.options.theme;An.className="CodeMirror-hints "+mi,this.selectedHint=It.selectedHint||0;for(var oi=It.list,Xn=0;Xn<oi.length;++Xn){var Un=An.appendChild(an.createElement("li")),gi=oi[Xn],xr=f+(Xn!=this.selectedHint?"":" "+D);gi.className!=null&&(xr=gi.className+" "+xr),Un.className=xr,Xn==this.selectedHint&&Un.setAttribute("aria-selected","true"),Un.id=this.id+"-"+Xn,Un.setAttribute("role","option"),gi.render?gi.render(Un,It,gi):Un.appendChild(an.createTextNode(gi.displayText||Me(gi))),Un.hintId=Xn}var Nn=At.options.container||an.body,Ae=Er.cursorCoords(At.options.alignWithWord?It.from:null),rn=Ae.left,or=Ae.bottom,Bn=!0,ti=0,ts=0;if(Nn!==an.body){var Cs=["absolute","relative","fixed"].indexOf(Jn.getComputedStyle(Nn).position)!==-1,_s=Cs?Nn:Nn.offsetParent,Zi=_s.getBoundingClientRect(),ls=an.body.getBoundingClientRect();ti=Zi.left-ls.left-_s.scrollLeft,ts=Zi.top-ls.top-_s.scrollTop}An.style.left=rn-ti+"px",An.style.top=or-ts+"px";var $r=Jn.innerWidth||Math.max(an.body.offsetWidth,an.documentElement.offsetWidth),Yr=Jn.innerHeight||Math.max(an.body.offsetHeight,an.documentElement.offsetHeight);Nn.appendChild(An),Er.getInputField().setAttribute("aria-autocomplete","list"),Er.getInputField().setAttribute("aria-owns",this.id),Er.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Dr=At.options.moveOnOverlap?An.getBoundingClientRect():new DOMRect,cn=At.options.paddingForScrollbar?An.scrollHeight>An.clientHeight+1:!1,Gn;setTimeout(function(){Gn=Er.getScrollInfo()});var ui=Dr.bottom-Yr;if(ui>0){var zn=Dr.bottom-Dr.top,ri=Ae.top-(Ae.bottom-Dr.top);if(ri-zn>0)An.style.top=(or=Ae.top-zn-ts)+"px",Bn=!1;else if(zn>Yr){An.style.height=Yr-5+"px",An.style.top=(or=Ae.bottom-Dr.top-ts)+"px";var ht=Er.getCursor();It.from.ch!=ht.ch&&(Ae=Er.cursorCoords(ht),An.style.left=(rn=Ae.left-ti)+"px",Dr=An.getBoundingClientRect())}}var Ot=Dr.right-$r;if(cn&&(Ot+=Er.display.nativeBarWidth),Ot>0&&(Dr.right-Dr.left>$r&&(An.style.width=$r-5+"px",Ot-=Dr.right-Dr.left-$r),An.style.left=(rn=Math.max(Ae.left-Ot-ti,0))+"px"),cn)for(var vr=An.firstChild;vr;vr=vr.nextSibling)vr.style.paddingRight=Er.display.nativeBarWidth+"px";if(Er.addKeyMap(this.keyMap=Oe(At,{moveFocus:function(Ur,Dn){qt.changeActive(qt.selectedHint+Ur,Dn)},setFocus:function(Ur){qt.changeActive(Ur)},menuSize:function(){return qt.screenAmount()},length:oi.length,close:function(){At.close()},pick:function(){qt.pick()},data:It})),At.options.closeOnUnfocus){var _r;Er.on("blur",this.onBlur=function(){_r=setTimeout(function(){At.close()},100)}),Er.on("focus",this.onFocus=function(){clearTimeout(_r)})}Er.on("scroll",this.onScroll=function(){var Ur=Er.getScrollInfo(),Dn=Er.getWrapperElement().getBoundingClientRect();Gn||(Gn=Er.getScrollInfo());var _n=or+Gn.top-Ur.top,dn=_n-(Jn.pageYOffset||(an.documentElement||an.body).scrollTop);if(Bn||(dn+=An.offsetHeight),dn<=Dn.top||dn>=Dn.bottom)return At.close();An.style.top=_n+"px",An.style.left=rn+Gn.left-Ur.left+"px"}),l.on(An,"dblclick",function(Ur){var Dn=it(An,Ur.target||Ur.srcElement);Dn&&Dn.hintId!=null&&(qt.changeActive(Dn.hintId),qt.pick())}),l.on(An,"click",function(Ur){var Dn=it(An,Ur.target||Ur.srcElement);Dn&&Dn.hintId!=null&&(qt.changeActive(Dn.hintId),At.options.completeOnSingleClick&&qt.pick())}),l.on(An,"mousedown",function(){setTimeout(function(){Er.focus()},20)});var Kr=this.getSelectedHintRange();return(Kr.from!==0||Kr.to!==0)&&this.scrollToActive(),l.signal(It,"select",oi[this.selectedHint],An.childNodes[this.selectedHint]),!0}gt.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var At=this.completion.cm.getInputField();At.removeAttribute("aria-activedescendant"),At.removeAttribute("aria-owns");var It=this.completion.cm;this.completion.options.closeOnUnfocus&&(It.off("blur",this.onBlur),It.off("focus",this.onFocus)),It.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var At=this;this.keyMap={Enter:function(){At.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(At,It){if(At>=this.data.list.length?At=It?this.data.list.length-1:0:At<0&&(At=It?0:this.data.list.length-1),this.selectedHint!=At){var qt=this.hints.childNodes[this.selectedHint];qt&&(qt.className=qt.className.replace(" "+D,""),qt.removeAttribute("aria-selected")),qt=this.hints.childNodes[this.selectedHint=At],qt.className+=" "+D,qt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",qt.id),this.scrollToActive(),l.signal(this.data,"select",this.data.list[this.selectedHint],qt)}},scrollToActive:function(){var At=this.getSelectedHintRange(),It=this.hints.childNodes[At.from],qt=this.hints.childNodes[At.to],Er=this.hints.firstChild;It.offsetTop<this.hints.scrollTop?this.hints.scrollTop=It.offsetTop-Er.offsetTop:qt.offsetTop+qt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=qt.offsetTop+qt.offsetHeight-this.hints.clientHeight+Er.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var At=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-At),to:Math.min(this.data.list.length-1,this.selectedHint+At)}}};function St(At,It){if(!At.somethingSelected())return It;for(var qt=[],Er=0;Er<It.length;Er++)It[Er].supportsSelection&&qt.push(It[Er]);return qt}function Wt(At,It,qt,Er){if(At.async)At(It,Er,qt);else{var an=At(It,qt);an&&an.then?an.then(Er):Er(an)}}function ar(At,It){var qt=At.getHelpers(It,"hint"),Er;if(qt.length){var an=function(Jn,An,mi){var oi=St(Jn,qt);function Xn(Un){if(Un==oi.length)return An(null);Wt(oi[Un],Jn,mi,function(gi){gi&&gi.list.length>0?An(gi):Xn(Un+1)})}Xn(0)};return an.async=!0,an.supportsSelection=!0,an}else return(Er=At.getHelper(At.getCursor(),"hintWords"))?function(Jn){return l.hint.fromList(Jn,{words:Er})}:l.hint.anyword?function(Jn,An){return l.hint.anyword(Jn,An)}:function(){}}l.registerHelper("hint","auto",{resolve:ar}),l.registerHelper("hint","fromList",function(At,It){var qt=At.getCursor(),Er=At.getTokenAt(qt),an,Jn=l.Pos(qt.line,Er.start),An=qt;Er.start<qt.ch&&/\w/.test(Er.string.charAt(qt.ch-Er.start-1))?an=Er.string.substr(0,qt.ch-Er.start):(an="",Jn=qt);for(var mi=[],oi=0;oi<It.words.length;oi++){var Xn=It.words[oi];Xn.slice(0,an.length)==an&&mi.push(Xn)}if(mi.length)return{list:mi,from:Jn,to:An}}),l.commands.autocomplete=l.showHint;var Rr={hint:l.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};l.defineOption("hintOptions",null)})})();function FD(s,c,l={}){const f=TD.fromTextArea(s.value,{theme:"vars",...ws(l)});Ya(l,N=>Object.entries(N).forEach(([Y,pe])=>f.setOption(Y,pe)));let D=!1;return f.on("change",()=>{if(D){D=!1;return}c.value=f.getValue()}),Ya(c,N=>{if(N!==f.getValue()){D=!0;const Y=f.listSelections();f.replaceRange(N,f.posFromIndex(0),f.posFromIndex(1/0)),f.setSelections(Y)}},{immediate:!0}),f}const kD={relative:"","font-mono":"","text-sm":""},PD=Zu({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(s,{emit:c}){const l=s,f={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},D=Ba(),N=vD(l,"modelValue",c,{passive:!0}),Y=ea(()=>f[l.mode||""]||l.mode),pe=ea(()=>l.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ye=ea(()=>l.getHint?{hint:l.getHint}:{});return Bh(async()=>{const Me=FD(D,N,Nc({...Ig(l),mode:Y,hintOptions:ye,extraKeys:pe}));Me.setSize("100%","100%"),l.getHint&&Me.on("keyup",(Wt,ar)=>{ar.key.match(/^[\w:-]$/)&&Wt.execCommand("autocomplete")}),setTimeout(()=>Me.refresh(),100);const Oe=[];function it(Wt,ar){Oe.push(Me.markText(Me.posFromIndex(Wt),Me.posFromIndex(ar),{className:"highlighted"}))}function gt(){Oe.forEach(Wt=>Wt.clear()),wD(l.modelValue,Array.from(l.matched||[]),!0).forEach(Wt=>it(Wt[0],Wt[1]))}let St=0;Ya(()=>[l.modelValue,l.matched],async()=>{clearTimeout(St),l.matched&&(St=setTimeout(gt,200))},{immediate:!0})}),(Me,Oe)=>(ya(),uo("div",kD,[Xi("textarea",{ref_key:"el",ref:D},null,512)]))}});const Dm=(s,c)=>{const l=s.__vccOpts||s;for(const[f,D]of c)l[f]=D;return l},ND={},BD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function _D(s,c){return ya(),uo("div",BD,[vp(s.$slots,"default")])}const ID=Dm(ND,[["render",_D]]),OD={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80",p1:"","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},LD={"mr-2":"","op-60":""},MD={flex:"","gap-2":"","flex-auto":""},jD=Zu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(s,{emit:c}){return(l,f)=>(ya(),uo("div",OD,[Xi("div",{flex:"",onClick:f[0]||(f[0]=D=>c("titleClick",D))},[vp(l.$slots,"before"),Xi("div",LD,ko(s.title),1)]),Xi("div",MD,[vp(l.$slots,"default")])]))}}),RD="/@vite/client",vm=qc(),xm=qc(),UD=vm.on,Cm=xm.on;yh(()=>import(RD),[]).then(s=>{const c=s.createHotContext("/");c.on("vite:beforeUpdate",l=>{l.updates.forEach(f=>{vm.trigger(f)})}),c.on("unocss:config-changed",()=>{xm.trigger()})}).catch(s=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(s)});const Hp="/__unocss_api",Em=Up(Hp).json(),Rh=Up(`${Hp}/overview`,{immediate:!1}).json(),ro=Em.data,op=Rh.data;Cm(()=>{Em.execute(),Rh.execute()});function dx(s){const c=Up(ea(()=>`${Hp}/module?id=${encodeURIComponent(ws(s))}`),{refetch:!0}).json();return Cm(()=>c.execute()),UD(l=>{var f;(l.path===ws(s)||l.path===ws(s).slice(((f=ro.value)==null?void 0:f.root.length)||0))&&setTimeout(()=>{c.execute()},50)}),c}function mx(s,c){const l=xy(s,500);return Up(ea(()=>`${Hp}/repl?token=${encodeURIComponent(l.value)}&safelist=${c.value}`),{refetch:!0}).json()}const up=ea(()=>{if(!ro.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const s=ro.value.modules.map(f=>({full:f,path:f})),c=s.filter(f=>f.full.startsWith(ro.value.root)),l=s.filter(f=>!f.full.startsWith(ro.value.root));return c.forEach(f=>f.path=f.path.slice(ro.value.root.length+1)),{workspace:Hf(c,"Project Root"),root:Hf(l,"Disk Root")}});function Hf(s,c){const l={name:c,children:{},items:[]};function f(D,N,Y=l){if(N.length<=1){Y.items.push(D);return}const pe=N.shift();Y.children[pe]||(Y.children[pe]={name:pe,children:{},items:[]}),f(D,N,Y.children[pe])}return s.forEach(D=>{const N=D.path.split(/\//g).filter(Boolean);f(D,N)}),l}const zD={key:0,"ws-wrap":""},HD=Xi("span",{op80:""},".",-1),$D={key:1},qD=Zu({__name:"ModuleId",props:{id:null},setup(s){return(c,l)=>s.id&&ws(ro)?(ya(),uo("span",zD,[s.id.startsWith(ws(ro).root)?(ya(),uo(eu,{key:0},[HD,Xi("span",null,ko(s.id.slice(ws(ro).root.length)),1)],64)):(ya(),uo("span",$D,ko(s.id),1))])):bp("",!0)}}),VD=(s,c)=>{const l=Ba(null);return oD(s,()=>{var D;const f=(D=jh(s))==null?void 0:D.clientHeight;l.value=f?`--${c}: calc(100vh - ${f}px - 2px);`:null}),l};var bm={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(_e,ce)=>()=>(ce||_e((ce={exports:{}}).exports,ce),ce.exports),f=l((_e,ce)=>{var me=function(be){return be&&be.Math==Math&&be};ce.exports=me(typeof globalThis=="object"&&globalThis)||me(typeof window=="object"&&window)||me(typeof self=="object"&&self)||me(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),D=l((_e,ce)=>{ce.exports=function(me){try{return!!me()}catch{return!0}}}),N=l((_e,ce)=>{var me=D();ce.exports=!me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((_e,ce)=>{var me=D();ce.exports=!me(function(){var be=function(){}.bind();return typeof be!="function"||be.hasOwnProperty("prototype")})}),pe=l((_e,ce)=>{var me=Y(),be=Function.prototype.call;ce.exports=me?be.bind(be):function(){return be.apply(be,arguments)}}),ye=l(_e=>{var ce={}.propertyIsEnumerable,me=Object.getOwnPropertyDescriptor,be=me&&!ce.call({1:2},1);_e.f=be?function(Ee){var ze=me(this,Ee);return!!ze&&ze.enumerable}:ce}),Me=l((_e,ce)=>{ce.exports=function(me,be){return{enumerable:!(me&1),configurable:!(me&2),writable:!(me&4),value:be}}}),Oe=l((_e,ce)=>{var me=Y(),be=Function.prototype,Ee=be.bind,ze=be.call,Ke=me&&Ee.bind(ze,ze);ce.exports=me?function(ot){return ot&&Ke(ot)}:function(ot){return ot&&function(){return ze.apply(ot,arguments)}}}),it=l((_e,ce)=>{var me=Oe(),be=me({}.toString),Ee=me("".slice);ce.exports=function(ze){return Ee(be(ze),8,-1)}}),gt=l((_e,ce)=>{var me=f(),be=Oe(),Ee=D(),ze=it(),Ke=me.Object,ot=be("".split);ce.exports=Ee(function(){return!Ke("z").propertyIsEnumerable(0)})?function(Ct){return ze(Ct)=="String"?ot(Ct,""):Ke(Ct)}:Ke}),St=l((_e,ce)=>{var me=f(),be=me.TypeError;ce.exports=function(Ee){if(Ee==null)throw be("Can't call method on "+Ee);return Ee}}),Wt=l((_e,ce)=>{var me=gt(),be=St();ce.exports=function(Ee){return me(be(Ee))}}),ar=l((_e,ce)=>{ce.exports=function(me){return typeof me=="function"}}),Rr=l((_e,ce)=>{var me=ar();ce.exports=function(be){return typeof be=="object"?be!==null:me(be)}}),At=l((_e,ce)=>{var me=f(),be=ar(),Ee=function(ze){return be(ze)?ze:void 0};ce.exports=function(ze,Ke){return arguments.length<2?Ee(me[ze]):me[ze]&&me[ze][Ke]}}),It=l((_e,ce)=>{var me=Oe();ce.exports=me({}.isPrototypeOf)}),qt=l((_e,ce)=>{var me=At();ce.exports=me("navigator","userAgent")||""}),Er=l((_e,ce)=>{var me=f(),be=qt(),Ee=me.process,ze=me.Deno,Ke=Ee&&Ee.versions||ze&&ze.version,ot=Ke&&Ke.v8,Ct,Kt;ot&&(Ct=ot.split("."),Kt=Ct[0]>0&&Ct[0]<4?1:+(Ct[0]+Ct[1])),!Kt&&be&&(Ct=be.match(/Edge\/(\d+)/),(!Ct||Ct[1]>=74)&&(Ct=be.match(/Chrome\/(\d+)/),Ct&&(Kt=+Ct[1]))),ce.exports=Kt}),an=l((_e,ce)=>{var me=Er(),be=D();ce.exports=!!Object.getOwnPropertySymbols&&!be(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&me&&me<41})}),Jn=l((_e,ce)=>{var me=an();ce.exports=me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((_e,ce)=>{var me=f(),be=At(),Ee=ar(),ze=It(),Ke=Jn(),ot=me.Object;ce.exports=Ke?function(Ct){return typeof Ct=="symbol"}:function(Ct){var Kt=be("Symbol");return Ee(Kt)&&ze(Kt.prototype,ot(Ct))}}),mi=l((_e,ce)=>{var me=f(),be=me.String;ce.exports=function(Ee){try{return be(Ee)}catch{return"Object"}}}),oi=l((_e,ce)=>{var me=f(),be=ar(),Ee=mi(),ze=me.TypeError;ce.exports=function(Ke){if(be(Ke))return Ke;throw ze(Ee(Ke)+" is not a function")}}),Xn=l((_e,ce)=>{var me=oi();ce.exports=function(be,Ee){var ze=be[Ee];return ze==null?void 0:me(ze)}}),Un=l((_e,ce)=>{var me=f(),be=pe(),Ee=ar(),ze=Rr(),Ke=me.TypeError;ce.exports=function(ot,Ct){var Kt,ur;if(Ct==="string"&&Ee(Kt=ot.toString)&&!ze(ur=be(Kt,ot))||Ee(Kt=ot.valueOf)&&!ze(ur=be(Kt,ot))||Ct!=="string"&&Ee(Kt=ot.toString)&&!ze(ur=be(Kt,ot)))return ur;throw Ke("Can't convert object to primitive value")}}),gi=l((_e,ce)=>{ce.exports=!1}),xr=l((_e,ce)=>{var me=f(),be=Object.defineProperty;ce.exports=function(Ee,ze){try{be(me,Ee,{value:ze,configurable:!0,writable:!0})}catch{me[Ee]=ze}return ze}}),Nn=l((_e,ce)=>{var me=f(),be=xr(),Ee="__core-js_shared__",ze=me[Ee]||be(Ee,{});ce.exports=ze}),Ae=l((_e,ce)=>{var me=gi(),be=Nn();(ce.exports=function(Ee,ze){return be[Ee]||(be[Ee]=ze!==void 0?ze:{})})("versions",[]).push({version:"3.22.2",mode:me?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),rn=l((_e,ce)=>{var me=f(),be=St(),Ee=me.Object;ce.exports=function(ze){return Ee(be(ze))}}),or=l((_e,ce)=>{var me=Oe(),be=rn(),Ee=me({}.hasOwnProperty);ce.exports=Object.hasOwn||function(ze,Ke){return Ee(be(ze),Ke)}}),Bn=l((_e,ce)=>{var me=Oe(),be=0,Ee=Math.random(),ze=me(1 .toString);ce.exports=function(Ke){return"Symbol("+(Ke===void 0?"":Ke)+")_"+ze(++be+Ee,36)}}),ti=l((_e,ce)=>{var me=f(),be=Ae(),Ee=or(),ze=Bn(),Ke=an(),ot=Jn(),Ct=be("wks"),Kt=me.Symbol,ur=Kt&&Kt.for,Cr=ot?Kt:Kt&&Kt.withoutSetter||ze;ce.exports=function(Br){if(!Ee(Ct,Br)||!(Ke||typeof Ct[Br]=="string")){var tn="Symbol."+Br;Ke&&Ee(Kt,Br)?Ct[Br]=Kt[Br]:ot&&ur?Ct[Br]=ur(tn):Ct[Br]=Cr(tn)}return Ct[Br]}}),ts=l((_e,ce)=>{var me=f(),be=pe(),Ee=Rr(),ze=An(),Ke=Xn(),ot=Un(),Ct=ti(),Kt=me.TypeError,ur=Ct("toPrimitive");ce.exports=function(Cr,Br){if(!Ee(Cr)||ze(Cr))return Cr;var tn=Ke(Cr,ur),sn;if(tn){if(Br===void 0&&(Br="default"),sn=be(tn,Cr,Br),!Ee(sn)||ze(sn))return sn;throw Kt("Can't convert object to primitive value")}return Br===void 0&&(Br="number"),ot(Cr,Br)}}),Cs=l((_e,ce)=>{var me=ts(),be=An();ce.exports=function(Ee){var ze=me(Ee,"string");return be(ze)?ze:ze+""}}),_s=l((_e,ce)=>{var me=f(),be=Rr(),Ee=me.document,ze=be(Ee)&&be(Ee.createElement);ce.exports=function(Ke){return ze?Ee.createElement(Ke):{}}}),Zi=l((_e,ce)=>{var me=N(),be=D(),Ee=_s();ce.exports=!me&&!be(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})}),ls=l(_e=>{var ce=N(),me=pe(),be=ye(),Ee=Me(),ze=Wt(),Ke=Cs(),ot=or(),Ct=Zi(),Kt=Object.getOwnPropertyDescriptor;_e.f=ce?Kt:function(ur,Cr){if(ur=ze(ur),Cr=Ke(Cr),Ct)try{return Kt(ur,Cr)}catch{}if(ot(ur,Cr))return Ee(!me(be.f,ur,Cr),ur[Cr])}}),$r=l((_e,ce)=>{var me=N(),be=D();ce.exports=me&&be(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Yr=l((_e,ce)=>{var me=f(),be=Rr(),Ee=me.String,ze=me.TypeError;ce.exports=function(Ke){if(be(Ke))return Ke;throw ze(Ee(Ke)+" is not an object")}}),Dr=l(_e=>{var ce=f(),me=N(),be=Zi(),Ee=$r(),ze=Yr(),Ke=Cs(),ot=ce.TypeError,Ct=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,ur="enumerable",Cr="configurable",Br="writable";_e.f=me?Ee?function(tn,sn,kr){if(ze(tn),sn=Ke(sn),ze(kr),typeof tn=="function"&&sn==="prototype"&&"value"in kr&&Br in kr&&!kr[Br]){var Fn=Kt(tn,sn);Fn&&Fn[Br]&&(tn[sn]=kr.value,kr={configurable:Cr in kr?kr[Cr]:Fn[Cr],enumerable:ur in kr?kr[ur]:Fn[ur],writable:!1})}return Ct(tn,sn,kr)}:Ct:function(tn,sn,kr){if(ze(tn),sn=Ke(sn),ze(kr),be)try{return Ct(tn,sn,kr)}catch{}if("get"in kr||"set"in kr)throw ot("Accessors not supported");return"value"in kr&&(tn[sn]=kr.value),tn}}),cn=l((_e,ce)=>{var me=N(),be=Dr(),Ee=Me();ce.exports=me?function(ze,Ke,ot){return be.f(ze,Ke,Ee(1,ot))}:function(ze,Ke,ot){return ze[Ke]=ot,ze}}),Gn=l((_e,ce)=>{var me=Oe(),be=ar(),Ee=Nn(),ze=me(Function.toString);be(Ee.inspectSource)||(Ee.inspectSource=function(Ke){return ze(Ke)}),ce.exports=Ee.inspectSource}),ui=l((_e,ce)=>{var me=f(),be=ar(),Ee=Gn(),ze=me.WeakMap;ce.exports=be(ze)&&/native code/.test(Ee(ze))}),zn=l((_e,ce)=>{var me=Ae(),be=Bn(),Ee=me("keys");ce.exports=function(ze){return Ee[ze]||(Ee[ze]=be(ze))}}),ri=l((_e,ce)=>{ce.exports={}}),ht=l((_e,ce)=>{var me=ui(),be=f(),Ee=Oe(),ze=Rr(),Ke=cn(),ot=or(),Ct=Nn(),Kt=zn(),ur=ri(),Cr="Object already initialized",Br=be.TypeError,tn=be.WeakMap,sn,kr,Fn,hi=function(Si){return Fn(Si)?kr(Si):sn(Si,{})},Cn=function(Si){return function(Ji){var Qn;if(!ze(Ji)||(Qn=kr(Ji)).type!==Si)throw Br("Incompatible receiver, "+Si+" required");return Qn}};me||Ct.state?($i=Ct.state||(Ct.state=new tn),rs=Ee($i.get),dt=Ee($i.has),Vi=Ee($i.set),sn=function(Si,Ji){if(dt($i,Si))throw new Br(Cr);return Ji.facade=Si,Vi($i,Si,Ji),Ji},kr=function(Si){return rs($i,Si)||{}},Fn=function(Si){return dt($i,Si)}):(pn=Kt("state"),ur[pn]=!0,sn=function(Si,Ji){if(ot(Si,pn))throw new Br(Cr);return Ji.facade=Si,Ke(Si,pn,Ji),Ji},kr=function(Si){return ot(Si,pn)?Si[pn]:{}},Fn=function(Si){return ot(Si,pn)});var $i,rs,dt,Vi,pn;ce.exports={set:sn,get:kr,has:Fn,enforce:hi,getterFor:Cn}}),Ot=l((_e,ce)=>{var me=N(),be=or(),Ee=Function.prototype,ze=me&&Object.getOwnPropertyDescriptor,Ke=be(Ee,"name"),ot=Ke&&function(){}.name==="something",Ct=Ke&&(!me||me&&ze(Ee,"name").configurable);ce.exports={EXISTS:Ke,PROPER:ot,CONFIGURABLE:Ct}}),vr=l((_e,ce)=>{var me=f(),be=ar(),Ee=or(),ze=cn(),Ke=xr(),ot=Gn(),Ct=ht(),Kt=Ot().CONFIGURABLE,ur=Ct.get,Cr=Ct.enforce,Br=String(String).split("String");(ce.exports=function(tn,sn,kr,Fn){var hi=Fn?!!Fn.unsafe:!1,Cn=Fn?!!Fn.enumerable:!1,$i=Fn?!!Fn.noTargetGet:!1,rs=Fn&&Fn.name!==void 0?Fn.name:sn,dt;if(be(kr)&&(String(rs).slice(0,7)==="Symbol("&&(rs="["+String(rs).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(kr,"name")||Kt&&kr.name!==rs)&&ze(kr,"name",rs),dt=Cr(kr),dt.source||(dt.source=Br.join(typeof rs=="string"?rs:""))),tn===me){Cn?tn[sn]=kr:Ke(sn,kr);return}else hi?!$i&&tn[sn]&&(Cn=!0):delete tn[sn];Cn?tn[sn]=kr:ze(tn,sn,kr)})(Function.prototype,"toString",function(){return be(this)&&ur(this).source||ot(this)})}),_r=l((_e,ce)=>{var me=Math.ceil,be=Math.floor;ce.exports=function(Ee){var ze=+Ee;return ze!==ze||ze===0?0:(ze>0?be:me)(ze)}}),Kr=l((_e,ce)=>{var me=_r(),be=Math.max,Ee=Math.min;ce.exports=function(ze,Ke){var ot=me(ze);return ot<0?be(ot+Ke,0):Ee(ot,Ke)}}),Ur=l((_e,ce)=>{var me=_r(),be=Math.min;ce.exports=function(Ee){return Ee>0?be(me(Ee),9007199254740991):0}}),Dn=l((_e,ce)=>{var me=Ur();ce.exports=function(be){return me(be.length)}}),_n=l((_e,ce)=>{var me=Wt(),be=Kr(),Ee=Dn(),ze=function(Ke){return function(ot,Ct,Kt){var ur=me(ot),Cr=Ee(ur),Br=be(Kt,Cr),tn;if(Ke&&Ct!=Ct){for(;Cr>Br;)if(tn=ur[Br++],tn!=tn)return!0}else for(;Cr>Br;Br++)if((Ke||Br in ur)&&ur[Br]===Ct)return Ke||Br||0;return!Ke&&-1}};ce.exports={includes:ze(!0),indexOf:ze(!1)}}),dn=l((_e,ce)=>{var me=Oe(),be=or(),Ee=Wt(),ze=_n().indexOf,Ke=ri(),ot=me([].push);ce.exports=function(Ct,Kt){var ur=Ee(Ct),Cr=0,Br=[],tn;for(tn in ur)!be(Ke,tn)&&be(ur,tn)&&ot(Br,tn);for(;Kt.length>Cr;)be(ur,tn=Kt[Cr++])&&(~ze(Br,tn)||ot(Br,tn));return Br}}),ct=l((_e,ce)=>{ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),wr=l(_e=>{var ce=dn(),me=ct(),be=me.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(Ee){return ce(Ee,be)}}),Rt=l(_e=>{_e.f=Object.getOwnPropertySymbols}),Mn=l((_e,ce)=>{var me=At(),be=Oe(),Ee=wr(),ze=Rt(),Ke=Yr(),ot=be([].concat);ce.exports=me("Reflect","ownKeys")||function(Ct){var Kt=Ee.f(Ke(Ct)),ur=ze.f;return ur?ot(Kt,ur(Ct)):Kt}}),bi=l((_e,ce)=>{var me=or(),be=Mn(),Ee=ls(),ze=Dr();ce.exports=function(Ke,ot,Ct){for(var Kt=be(ot),ur=ze.f,Cr=Ee.f,Br=0;Br<Kt.length;Br++){var tn=Kt[Br];!me(Ke,tn)&&!(Ct&&me(Ct,tn))&&ur(Ke,tn,Cr(ot,tn))}}}),cs=l((_e,ce)=>{var me=D(),be=ar(),Ee=/#|\.prototype\./,ze=function(ur,Cr){var Br=ot[Ke(ur)];return Br==Kt?!0:Br==Ct?!1:be(Cr)?me(Cr):!!Cr},Ke=ze.normalize=function(ur){return String(ur).replace(Ee,".").toLowerCase()},ot=ze.data={},Ct=ze.NATIVE="N",Kt=ze.POLYFILL="P";ce.exports=ze}),ds=l((_e,ce)=>{var me=f(),be=ls().f,Ee=cn(),ze=vr(),Ke=xr(),ot=bi(),Ct=cs();ce.exports=function(Kt,ur){var Cr=Kt.target,Br=Kt.global,tn=Kt.stat,sn,kr,Fn,hi,Cn,$i;if(Br?kr=me:tn?kr=me[Cr]||Ke(Cr,{}):kr=(me[Cr]||{}).prototype,kr)for(Fn in ur){if(Cn=ur[Fn],Kt.noTargetGet?($i=be(kr,Fn),hi=$i&&$i.value):hi=kr[Fn],sn=Ct(Br?Fn:Cr+(tn?".":"#")+Fn,Kt.forced),!sn&&hi!==void 0){if(typeof Cn==typeof hi)continue;ot(Cn,hi)}(Kt.sham||hi&&hi.sham)&&Ee(Cn,"sham",!0),ze(kr,Fn,Cn,Kt)}}}),ms=l((_e,ce)=>{var me=it();ce.exports=Array.isArray||function(be){return me(be)=="Array"}}),Hi=l((_e,ce)=>{var me=Oe(),be=oi(),Ee=Y(),ze=me(me.bind);ce.exports=function(Ke,ot){return be(Ke),ot===void 0?Ke:Ee?ze(Ke,ot):function(){return Ke.apply(ot,arguments)}}}),Ws=l((_e,ce)=>{var me=f(),be=ms(),Ee=Dn(),ze=Hi(),Ke=me.TypeError,ot=function(Ct,Kt,ur,Cr,Br,tn,sn,kr){for(var Fn=Br,hi=0,Cn=sn?ze(sn,kr):!1,$i,rs;hi<Cr;){if(hi in ur){if($i=Cn?Cn(ur[hi],hi,Kt):ur[hi],tn>0&&be($i))rs=Ee($i),Fn=ot(Ct,Kt,$i,rs,Fn,tn-1)-1;else{if(Fn>=9007199254740991)throw Ke("Exceed the acceptable array length");Ct[Fn]=$i}Fn++}hi++}return Fn};ce.exports=ot}),Vn=l((_e,ce)=>{var me=ti(),be=me("toStringTag"),Ee={};Ee[be]="z",ce.exports=String(Ee)==="[object z]"}),Pr=l((_e,ce)=>{var me=f(),be=Vn(),Ee=ar(),ze=it(),Ke=ti(),ot=Ke("toStringTag"),Ct=me.Object,Kt=ze(function(){return arguments}())=="Arguments",ur=function(Cr,Br){try{return Cr[Br]}catch{}};ce.exports=be?ze:function(Cr){var Br,tn,sn;return Cr===void 0?"Undefined":Cr===null?"Null":typeof(tn=ur(Br=Ct(Cr),ot))=="string"?tn:Kt?ze(Br):(sn=ze(Br))=="Object"&&Ee(Br.callee)?"Arguments":sn}}),Nr=l((_e,ce)=>{var me=Oe(),be=D(),Ee=ar(),ze=Pr(),Ke=At(),ot=Gn(),Ct=function(){},Kt=[],ur=Ke("Reflect","construct"),Cr=/^\s*(?:class|function)\b/,Br=me(Cr.exec),tn=!Cr.exec(Ct),sn=function(Fn){if(!Ee(Fn))return!1;try{return ur(Ct,Kt,Fn),!0}catch{return!1}},kr=function(Fn){if(!Ee(Fn))return!1;switch(ze(Fn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return tn||!!Br(Cr,ot(Fn))}catch{return!0}};kr.sham=!0,ce.exports=!ur||be(function(){var Fn;return sn(sn.call)||!sn(Object)||!sn(function(){Fn=!0})||Fn})?kr:sn}),Lr=l((_e,ce)=>{var me=f(),be=ms(),Ee=Nr(),ze=Rr(),Ke=ti(),ot=Ke("species"),Ct=me.Array;ce.exports=function(Kt){var ur;return be(Kt)&&(ur=Kt.constructor,Ee(ur)&&(ur===Ct||be(ur.prototype))?ur=void 0:ze(ur)&&(ur=ur[ot],ur===null&&(ur=void 0))),ur===void 0?Ct:ur}}),Wr=l((_e,ce)=>{var me=Lr();ce.exports=function(be,Ee){return new(me(be))(Ee===0?0:Ee)}}),_t=l(()=>{var _e=ds(),ce=Ws(),me=oi(),be=rn(),Ee=Dn(),ze=Wr();_e({target:"Array",proto:!0},{flatMap:function(Ke){var ot=be(this),Ct=Ee(ot),Kt;return me(Ke),Kt=ze(ot,0),Kt.length=ce(Kt,ot,ot,Ct,0,1,Ke,arguments.length>1?arguments[1]:void 0),Kt}})}),Wn=l((_e,ce)=>{ce.exports={}}),Xt=l((_e,ce)=>{var me=ti(),be=Wn(),Ee=me("iterator"),ze=Array.prototype;ce.exports=function(Ke){return Ke!==void 0&&(be.Array===Ke||ze[Ee]===Ke)}}),On=l((_e,ce)=>{var me=Pr(),be=Xn(),Ee=Wn(),ze=ti(),Ke=ze("iterator");ce.exports=function(ot){if(ot!=null)return be(ot,Ke)||be(ot,"@@iterator")||Ee[me(ot)]}}),yr=l((_e,ce)=>{var me=f(),be=pe(),Ee=oi(),ze=Yr(),Ke=mi(),ot=On(),Ct=me.TypeError;ce.exports=function(Kt,ur){var Cr=arguments.length<2?ot(Kt):ur;if(Ee(Cr))return ze(be(Cr,Kt));throw Ct(Ke(Kt)+" is not iterable")}}),Lt=l((_e,ce)=>{var me=pe(),be=Yr(),Ee=Xn();ce.exports=function(ze,Ke,ot){var Ct,Kt;be(ze);try{if(Ct=Ee(ze,"return"),!Ct){if(Ke==="throw")throw ot;return ot}Ct=me(Ct,ze)}catch(ur){Kt=!0,Ct=ur}if(Ke==="throw")throw ot;if(Kt)throw Ct;return be(Ct),ot}}),je=l((_e,ce)=>{var me=f(),be=Hi(),Ee=pe(),ze=Yr(),Ke=mi(),ot=Xt(),Ct=Dn(),Kt=It(),ur=yr(),Cr=On(),Br=Lt(),tn=me.TypeError,sn=function(Fn,hi){this.stopped=Fn,this.result=hi},kr=sn.prototype;ce.exports=function(Fn,hi,Cn){var $i=Cn&&Cn.that,rs=!!(Cn&&Cn.AS_ENTRIES),dt=!!(Cn&&Cn.IS_ITERATOR),Vi=!!(Cn&&Cn.INTERRUPTED),pn=be(hi,$i),Si,Ji,Qn,Wi,Is,_,st,Dt=function(li){return Si&&Br(Si,"normal",li),new sn(!0,li)},mr=function(li){return rs?(ze(li),Vi?pn(li[0],li[1],Dt):pn(li[0],li[1])):Vi?pn(li,Dt):pn(li)};if(dt)Si=Fn;else{if(Ji=Cr(Fn),!Ji)throw tn(Ke(Fn)+" is not iterable");if(ot(Ji)){for(Qn=0,Wi=Ct(Fn);Wi>Qn;Qn++)if(Is=mr(Fn[Qn]),Is&&Kt(kr,Is))return Is;return new sn(!1)}Si=ur(Fn,Ji)}for(_=Si.next;!(st=Ee(_,Si)).done;){try{Is=mr(st.value)}catch(li){Br(Si,"throw",li)}if(typeof Is=="object"&&Is&&Kt(kr,Is))return Is}return new sn(!1)}}),Bt=l((_e,ce)=>{var me=Cs(),be=Dr(),Ee=Me();ce.exports=function(ze,Ke,ot){var Ct=me(Ke);Ct in ze?be.f(ze,Ct,Ee(0,ot)):ze[Ct]=ot}}),Ht=l(()=>{var _e=ds(),ce=je(),me=Bt();_e({target:"Object",stat:!0},{fromEntries:function(be){var Ee={};return ce(be,function(ze,Ke){me(Ee,ze,Ke)},{AS_ENTRIES:!0}),Ee}})}),nr=l(()=>{var _e=ds(),ce=f();_e({global:!0},{globalThis:ce})}),Mr=l(()=>{nr()}),nn=l(()=>{var _e=ds(),ce=Ws(),me=rn(),be=Dn(),Ee=_r(),ze=Wr();_e({target:"Array",proto:!0},{flat:function(){var Ke=arguments.length?arguments[0]:void 0,ot=me(this),Ct=be(ot),Kt=ze(ot,0);return Kt.length=ce(Kt,ot,ot,Ct,0,Ke===void 0?1:Ee(Ke)),Kt}})}),Ut=l((_e,ce)=>{var me=["cliName","cliCategory","cliDescription"],be=["_"],Ee=["languageId"],ze,Ke,ot,Ct,Kt,ur;function Cr(d,A){if(d==null)return{};var m=Br(d,A),b,E;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);for(E=0;E<g.length;E++)b=g[E],!(A.indexOf(b)>=0)&&(!Object.prototype.propertyIsEnumerable.call(d,b)||(m[b]=d[b]))}return m}function Br(d,A){if(d==null)return{};var m={},b=Object.keys(d),E,g;for(g=0;g<b.length;g++)E=b[g],!(A.indexOf(E)>=0)&&(m[E]=d[E]);return m}_t(),Ht(),Mr(),nn();function tn(d,A){return A||(A=d.slice(0)),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(A)}}))}var sn=Object.create,kr=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,hi=Object.getOwnPropertyNames,Cn=Object.getPrototypeOf,$i=Object.prototype.hasOwnProperty,rs=(d,A)=>function(){return d&&(A=(0,d[hi(d)[0]])(d=0)),A},dt=(d,A)=>function(){return A||(0,d[hi(d)[0]])((A={exports:{}}).exports,A),A.exports},Vi=(d,A)=>{for(var m in A)kr(d,m,{get:A[m],enumerable:!0})},pn=(d,A,m,b)=>{if(A&&typeof A=="object"||typeof A=="function")for(let E of hi(A))!$i.call(d,E)&&E!==m&&kr(d,E,{get:()=>A[E],enumerable:!(b=Fn(A,E))||b.enumerable});return d},Si=(d,A,m)=>(m=d!=null?sn(Cn(d)):{},pn(A||!d||!d.__esModule?kr(m,"default",{value:d,enumerable:!0}):m,d)),Ji=d=>pn(kr({},"__esModule",{value:!0}),d),Qn,Wi,Is,_=rs({"<define:process>"(){Qn={},Wi=[],Is={env:Qn,argv:Wi}}}),st=dt({"package.json"(d,A){A.exports={version:"2.7.1"}}}),Dt=dt({"node_modules/diff/lib/diff/base.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.default=A;function A(){}A.prototype={diff:function(E,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=v.callback;typeof v=="function"&&(w=v,v={}),this.options=v;var F=this;function B(J){return w?(setTimeout(function(){w(void 0,J)},0),!0):J}E=this.castInput(E),g=this.castInput(g),E=this.removeEmpty(this.tokenize(E)),g=this.removeEmpty(this.tokenize(g));var H=g.length,R=E.length,V=1,I=H+R,L=[{newPos:-1,components:[]}],z=this.extractCommon(L[0],g,E,0);if(L[0].newPos+1>=H&&z+1>=R)return B([{value:this.join(g),count:g.length}]);function le(){for(var J=-1*V;J<=V;J+=2){var ee=void 0,ue=L[J-1],ge=L[J+1],de=(ge?ge.newPos:0)-J;ue&&(L[J-1]=void 0);var De=ue&&ue.newPos+1<H,W=ge&&0<=de&&de<R;if(!De&&!W){L[J]=void 0;continue}if(!De||W&&ue.newPos<ge.newPos?(ee=b(ge),F.pushComponent(ee.components,void 0,!0)):(ee=ue,ee.newPos++,F.pushComponent(ee.components,!0,void 0)),de=F.extractCommon(ee,g,E,J),ee.newPos+1>=H&&de+1>=R)return B(m(F,ee.components,g,E,F.useLongestToken));L[J]=ee}V++}if(w)(function J(){setTimeout(function(){if(V>I)return w();le()||J()},0)})();else for(;V<=I;){var fe=le();if(fe)return fe}},pushComponent:function(E,g,v){var w=E[E.length-1];w&&w.added===g&&w.removed===v?E[E.length-1]={count:w.count+1,added:g,removed:v}:E.push({count:1,added:g,removed:v})},extractCommon:function(E,g,v,w){for(var F=g.length,B=v.length,H=E.newPos,R=H-w,V=0;H+1<F&&R+1<B&&this.equals(g[H+1],v[R+1]);)H++,R++,V++;return V&&E.components.push({count:V}),E.newPos=H,R},equals:function(E,g){return this.options.comparator?this.options.comparator(E,g):E===g||this.options.ignoreCase&&E.toLowerCase()===g.toLowerCase()},removeEmpty:function(E){for(var g=[],v=0;v<E.length;v++)E[v]&&g.push(E[v]);return g},castInput:function(E){return E},tokenize:function(E){return E.split("")},join:function(E){return E.join("")}};function m(E,g,v,w,F){for(var B=0,H=g.length,R=0,V=0;B<H;B++){var I=g[B];if(I.removed){if(I.value=E.join(w.slice(V,V+I.count)),V+=I.count,B&&g[B-1].added){var L=g[B-1];g[B-1]=g[B],g[B]=L}}else{if(!I.added&&F){var z=v.slice(R,R+I.count);z=z.map(function(fe,J){var ee=w[V+J];return ee.length>fe.length?ee:fe}),I.value=E.join(z)}else I.value=E.join(v.slice(R,R+I.count));R+=I.count,I.added||(V+=I.count)}}var le=g[H-1];return H>1&&typeof le.value=="string"&&(le.added||le.removed)&&E.equals("",le.value)&&(g[H-2].value+=le.value,g.pop()),g}function b(E){return{newPos:E.newPos,components:E.components.slice(0)}}}}),mr=dt({"node_modules/diff/lib/diff/array.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.diffArrays=E,d.arrayDiff=void 0;var A=m(Dt());function m(g){return g&&g.__esModule?g:{default:g}}var b=new A.default;d.arrayDiff=b,b.tokenize=function(g){return g.slice()},b.join=b.removeEmpty=function(g){return g};function E(g,v,w){return b.diff(g,v,w)}}}),li=dt({"src/document/doc-builders.js"(d,A){_();function m(X){return{type:"concat",parts:X}}function b(X){return{type:"indent",contents:X}}function E(X,P){return{type:"align",contents:P,n:X}}function g(X){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:P.id,contents:X,break:Boolean(P.shouldBreak),expandedStates:P.expandedStates}}function v(X){return E(Number.NEGATIVE_INFINITY,X)}function w(X){return E({type:"root"},X)}function F(X){return E(-1,X)}function B(X,P){return g(X[0],Object.assign(Object.assign({},P),{},{expandedStates:X}))}function H(X){return{type:"fill",parts:X}}function R(X,P){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:X,flatContents:P,groupId:G.groupId}}function V(X,P){return{type:"indent-if-break",contents:X,groupId:P.groupId,negate:P.negate}}function I(X){return{type:"line-suffix",contents:X}}var L={type:"line-suffix-boundary"},z={type:"break-parent"},le={type:"trim"},fe={type:"line",hard:!0},J={type:"line",hard:!0,literal:!0},ee={type:"line"},ue={type:"line",soft:!0},ge=m([fe,z]),de=m([J,z]),De={type:"cursor",placeholder:Symbol("cursor")};function W(X,P){let G=[];for(let q=0;q<P.length;q++)q!==0&&G.push(X),G.push(P[q]);return m(G)}function M(X,P,G){let q=X;if(P>0){for(let se=0;se<Math.floor(P/G);++se)q=b(q);q=E(P%G,q),q=E(Number.NEGATIVE_INFINITY,q)}return q}function U(X,P){return{type:"label",label:X,contents:P}}A.exports={concat:m,join:W,line:ee,softline:ue,hardline:ge,literalline:de,group:g,conditionalGroup:B,fill:H,lineSuffix:I,lineSuffixBoundary:L,cursor:De,breakParent:z,ifBreak:R,trim:le,indent:b,indentIfBreak:V,align:E,addAlignmentToDoc:M,markAsRoot:w,dedentToRoot:v,dedent:F,hardlineWithoutBreakParent:fe,literallineWithoutBreakParent:J,label:U}}}),ps=dt({"src/common/end-of-line.js"(d,A){_();function m(v){let w=v.indexOf("\r");return w>=0?v.charAt(w+1)===`
|
|
24
|
+
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Be;Oe&&(Be=u.ownerDocument.defaultView.scrollY),a.input.focus(),Oe&&u.ownerDocument.defaultView.scrollTo(null,Be),a.input.reset(),n.somethingSelected()||(u.value=r.prevInput=" "),r.contextMenuPending=nt,a.selForContextMenu=n.doc.sel,clearTimeout(a.detectingSelectAll);function Pt(){if(u.selectionStart!=null){var dr=n.somethingSelected(),Jt="\u200B"+(dr?u.value:"");u.value="\u21DA",u.value=Jt,r.prevInput=dr?"":"\u200B",u.selectionStart=1,u.selectionEnd=Jt.length,a.selForContextMenu=n.doc.sel}}function nt(){if(r.contextMenuPending==nt&&(r.contextMenuPending=!1,r.wrapper.style.cssText=j,u.style.cssText=O,ye&&Me<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=C),u.selectionStart!=null)){(!ye||ye&&Me<9)&&Pt();var dr=0,Jt=function(){a.selForContextMenu==n.doc.sel&&u.selectionStart==0&&u.selectionEnd>0&&r.prevInput=="\u200B"?zs(n,Ii)(n):dr++<10?a.detectingSelectAll=setTimeout(Jt,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(Jt,200)}}if(ye&&Me>=9&&Pt(),Xn){nn(e);var jt=function(){Xt(window,"mouseup",jt),setTimeout(nt,20)};_t(window,"mouseup",jt)}else setTimeout(nt,50)},rt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},rt.prototype.setUneditable=function(){},rt.prototype.needsContentAttribute=!1;function Vr(e,r){if(r=r?Yr(r):{},r.value=e.value,!r.tabindex&&e.tabIndex&&(r.tabindex=e.tabIndex),!r.placeholder&&e.placeholder&&(r.placeholder=e.placeholder),r.autofocus==null){var n=ti(e.ownerDocument);r.autofocus=n==e||e.getAttribute("autofocus")!=null&&n==document.body}function a(){e.value=S.getValue()}var u;if(e.form&&(_t(e.form,"submit",a),!r.leaveSubmitMethodAlone)){var h=e.form;u=h.submit;try{var C=h.submit=function(){a(),h.submit=u,h.submit(),h.submit=C}}catch{}}r.finishInit=function(O){O.save=a,O.getTextArea=function(){return e},O.toTextArea=function(){O.toTextArea=isNaN,a(),e.parentNode.removeChild(O.getWrapperElement()),e.style.display="",e.form&&(Xt(e.form,"submit",a),!r.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=u))}},e.style.display="none";var S=pt(function(O){return e.parentNode.insertBefore(O,e.nextSibling)},r);return S}function Hr(e){e.off=Xt,e.on=_t,e.wheelEventPixels=ic,e.Doc=Ls,e.splitLines=Ke,e.countColumn=Dr,e.findColumn=vr,e.isWordChar=Rt,e.Pass=zn,e.signal=On,e.Line=Yn,e.changeEnd=Ka,e.scrollbarModel=al,e.Pos=Dt,e.cmpPos=mr,e.modes=Cr,e.mimeModes=Br,e.resolveMode=kr,e.getMode=Fn,e.modeExtensions=hi,e.extendMode=Cn,e.copyState=$i,e.startState=dt,e.innerMode=rs,e.commands=b,e.keyMap=i,e.keyName=he,e.isModifierKey=y,e.lookupKey=p,e.normalizeKeyMap=o,e.StringStream=Vi,e.SharedTextMarker=si,e.TextMarker=In,e.LineWidget=Ci,e.e_preventDefault=Ht,e.e_stopPropagation=nr,e.e_stop=nn,e.addClass=ts,e.contains=Bn,e.rmClass=gi,e.keyNames=Tu}vt(pt),pr(pt);var en="iter insert remove copy getEditor constructor".split(" ");for(var vi in Ls.prototype)Ls.prototype.hasOwnProperty(vi)&&Gn(en,vi)<0&&(pt.prototype[vi]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ls.prototype[vi]));return Bt(Ls),pt.inputStyles={textarea:rt,contenteditable:Sn},pt.defineMode=function(e){!pt.defaults.mode&&e!="null"&&(pt.defaults.mode=e),tn.apply(this,arguments)},pt.defineMIME=sn,pt.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),pt.defineMIME("text/plain","null"),pt.defineExtension=function(e,r){pt.prototype[e]=r},pt.defineDocExtension=function(e,r){Ls.prototype[e]=r},pt.fromTextArea=Vr,Hr(pt),pt.version="5.65.8",pt})})(ql);const TD=ql.exports;var gm={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("javascript",function(f,D){var N=f.indentUnit,Y=D.statementIndent,pe=D.jsonld,ye=D.json||pe,Me=D.trackScope!==!1,Oe=D.typescript,it=D.wordCharacters||/[\w$\xa1-\uffff]/,gt=function(){function _(Os){return{type:Os,style:"keyword"}}var st=_("keyword a"),Dt=_("keyword b"),mr=_("keyword c"),li=_("keyword d"),ps=_("operator"),Ki={type:"atom",style:"atom"};return{if:_("if"),while:st,with:st,else:Dt,do:Dt,try:Dt,finally:Dt,return:li,break:li,continue:li,new:_("new"),delete:mr,void:mr,throw:mr,debugger:_("debugger"),var:_("var"),const:_("var"),let:_("var"),function:_("function"),catch:_("catch"),for:_("for"),switch:_("switch"),case:_("case"),default:_("default"),in:ps,typeof:ps,instanceof:ps,true:Ki,false:Ki,null:Ki,undefined:Ki,NaN:Ki,Infinity:Ki,this:_("this"),class:_("class"),super:_("atom"),yield:mr,export:_("export"),import:_("import"),extends:mr,await:mr}}(),St=/[+\-*&%=<>!?|~^@]/,Wt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ar(_){for(var st=!1,Dt,mr=!1;(Dt=_.next())!=null;){if(!st){if(Dt=="/"&&!mr)return;Dt=="["?mr=!0:mr&&Dt=="]"&&(mr=!1)}st=!st&&Dt=="\\"}}var Rr,At;function It(_,st,Dt){return Rr=_,At=Dt,st}function qt(_,st){var Dt=_.next();if(Dt=='"'||Dt=="'")return st.tokenize=Er(Dt),st.tokenize(_,st);if(Dt=="."&&_.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return It("number","number");if(Dt=="."&&_.match(".."))return It("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Dt))return It(Dt);if(Dt=="="&&_.eat(">"))return It("=>","operator");if(Dt=="0"&&_.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return It("number","number");if(/\d/.test(Dt))return _.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),It("number","number");if(Dt=="/")return _.eat("*")?(st.tokenize=an,an(_,st)):_.eat("/")?(_.skipToEnd(),It("comment","comment")):Is(_,st,1)?(ar(_),_.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),It("regexp","string-2")):(_.eat("="),It("operator","operator",_.current()));if(Dt=="`")return st.tokenize=Jn,Jn(_,st);if(Dt=="#"&&_.peek()=="!")return _.skipToEnd(),It("meta","meta");if(Dt=="#"&&_.eatWhile(it))return It("variable","property");if(Dt=="<"&&_.match("!--")||Dt=="-"&&_.match("->")&&!/\S/.test(_.string.slice(0,_.start)))return _.skipToEnd(),It("comment","comment");if(St.test(Dt))return(Dt!=">"||!st.lexical||st.lexical.type!=">")&&(_.eat("=")?(Dt=="!"||Dt=="=")&&_.eat("="):/[<>*+\-|&?]/.test(Dt)&&(_.eat(Dt),Dt==">"&&_.eat(Dt))),Dt=="?"&&_.eat(".")?It("."):It("operator","operator",_.current());if(it.test(Dt)){_.eatWhile(it);var mr=_.current();if(st.lastType!="."){if(gt.propertyIsEnumerable(mr)){var li=gt[mr];return It(li.type,li.style,mr)}if(mr=="async"&&_.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return It("async","keyword",mr)}return It("variable","variable",mr)}}function Er(_){return function(st,Dt){var mr=!1,li;if(pe&&st.peek()=="@"&&st.match(Wt))return Dt.tokenize=qt,It("jsonld-keyword","meta");for(;(li=st.next())!=null&&!(li==_&&!mr);)mr=!mr&&li=="\\";return mr||(Dt.tokenize=qt),It("string","string")}}function an(_,st){for(var Dt=!1,mr;mr=_.next();){if(mr=="/"&&Dt){st.tokenize=qt;break}Dt=mr=="*"}return It("comment","comment")}function Jn(_,st){for(var Dt=!1,mr;(mr=_.next())!=null;){if(!Dt&&(mr=="`"||mr=="$"&&_.eat("{"))){st.tokenize=qt;break}Dt=!Dt&&mr=="\\"}return It("quasi","string-2",_.current())}var An="([{}])";function mi(_,st){st.fatArrowAt&&(st.fatArrowAt=null);var Dt=_.string.indexOf("=>",_.start);if(!(Dt<0)){if(Oe){var mr=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(_.string.slice(_.start,Dt));mr&&(Dt=mr.index)}for(var li=0,ps=!1,Ki=Dt-1;Ki>=0;--Ki){var Os=_.string.charAt(Ki),Us=An.indexOf(Os);if(Us>=0&&Us<3){if(!li){++Ki;break}if(--li==0){Os=="("&&(ps=!0);break}}else if(Us>=3&&Us<6)++li;else if(it.test(Os))ps=!0;else if(/["'\/`]/.test(Os))for(;;--Ki){if(Ki==0)return;var qi=_.string.charAt(Ki-1);if(qi==Os&&_.string.charAt(Ki-2)!="\\"){Ki--;break}}else if(ps&&!li){++Ki;break}}ps&&!li&&(st.fatArrowAt=Ki)}}var oi={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Xn(_,st,Dt,mr,li,ps){this.indented=_,this.column=st,this.type=Dt,this.prev=li,this.info=ps,mr!=null&&(this.align=mr)}function Un(_,st){if(!Me)return!1;for(var Dt=_.localVars;Dt;Dt=Dt.next)if(Dt.name==st)return!0;for(var mr=_.context;mr;mr=mr.prev)for(var Dt=mr.vars;Dt;Dt=Dt.next)if(Dt.name==st)return!0}function gi(_,st,Dt,mr,li){var ps=_.cc;for(xr.state=_,xr.stream=li,xr.marked=null,xr.cc=ps,xr.style=st,_.lexical.hasOwnProperty("align")||(_.lexical.align=!0);;){var Ki=ps.length?ps.pop():ye?zn:Gn;if(Ki(Dt,mr)){for(;ps.length&&ps[ps.length-1].lex;)ps.pop()();return xr.marked?xr.marked:Dt=="variable"&&Un(_,mr)?"variable-2":st}}}var xr={state:null,column:null,marked:null,cc:null};function Nn(){for(var _=arguments.length-1;_>=0;_--)xr.cc.push(arguments[_])}function Ae(){return Nn.apply(null,arguments),!0}function rn(_,st){for(var Dt=st;Dt;Dt=Dt.next)if(Dt.name==_)return!0;return!1}function or(_){var st=xr.state;if(xr.marked="def",!!Me){if(st.context){if(st.lexical.info=="var"&&st.context&&st.context.block){var Dt=Bn(_,st.context);if(Dt!=null){st.context=Dt;return}}else if(!rn(_,st.localVars)){st.localVars=new Cs(_,st.localVars);return}}D.globalVars&&!rn(_,st.globalVars)&&(st.globalVars=new Cs(_,st.globalVars))}}function Bn(_,st){if(st)if(st.block){var Dt=Bn(_,st.prev);return Dt?Dt==st.prev?st:new ts(Dt,st.vars,!0):null}else return rn(_,st.vars)?st:new ts(st.prev,new Cs(_,st.vars),!1);else return null}function ti(_){return _=="public"||_=="private"||_=="protected"||_=="abstract"||_=="readonly"}function ts(_,st,Dt){this.prev=_,this.vars=st,this.block=Dt}function Cs(_,st){this.name=_,this.next=st}var _s=new Cs("this",new Cs("arguments",null));function Zi(){xr.state.context=new ts(xr.state.context,xr.state.localVars,!1),xr.state.localVars=_s}function ls(){xr.state.context=new ts(xr.state.context,xr.state.localVars,!0),xr.state.localVars=null}Zi.lex=ls.lex=!0;function $r(){xr.state.localVars=xr.state.context.vars,xr.state.context=xr.state.context.prev}$r.lex=!0;function Yr(_,st){var Dt=function(){var mr=xr.state,li=mr.indented;if(mr.lexical.type=="stat")li=mr.lexical.indented;else for(var ps=mr.lexical;ps&&ps.type==")"&&ps.align;ps=ps.prev)li=ps.indented;mr.lexical=new Xn(li,xr.stream.column(),_,null,mr.lexical,st)};return Dt.lex=!0,Dt}function Dr(){var _=xr.state;_.lexical.prev&&(_.lexical.type==")"&&(_.indented=_.lexical.indented),_.lexical=_.lexical.prev)}Dr.lex=!0;function cn(_){function st(Dt){return Dt==_?Ae():_==";"||Dt=="}"||Dt==")"||Dt=="]"?Nn():Ae(st)}return st}function Gn(_,st){return _=="var"?Ae(Yr("vardef",st),nn,cn(";"),Dr):_=="keyword a"?Ae(Yr("form"),ht,Gn,Dr):_=="keyword b"?Ae(Yr("form"),Gn,Dr):_=="keyword d"?xr.stream.match(/^\s*$/,!1)?Ae():Ae(Yr("stat"),vr,cn(";"),Dr):_=="debugger"?Ae(cn(";")):_=="{"?Ae(Yr("}"),ls,Vn,Dr,$r):_==";"?Ae():_=="if"?(xr.state.lexical.info=="else"&&xr.state.cc[xr.state.cc.length-1]==Dr&&xr.state.cc.pop()(),Ae(Yr("form"),ht,Gn,Dr,Ee)):_=="function"?Ae(Ct):_=="for"?Ae(Yr("form"),ls,ze,Gn,$r,Dr):_=="class"||Oe&&st=="interface"?(xr.marked="keyword",Ae(Yr("form",_=="class"?_:st),tn,Dr)):_=="variable"?Oe&&st=="declare"?(xr.marked="keyword",Ae(Gn)):Oe&&(st=="module"||st=="enum"||st=="type")&&xr.stream.match(/^\s*\w/,!1)?(xr.marked="keyword",st=="enum"?Ae(Ji):st=="type"?Ae(ur,cn("operator"),_t,cn(";")):Ae(Yr("form"),Ut,cn("{"),Yr("}"),Vn,Dr,Dr)):Oe&&st=="namespace"?(xr.marked="keyword",Ae(Yr("form"),zn,Gn,Dr)):Oe&&st=="abstract"?(xr.marked="keyword",Ae(Gn)):Ae(Yr("stat"),Mn):_=="switch"?Ae(Yr("form"),ht,cn("{"),Yr("}","switch"),ls,Vn,Dr,Dr,$r):_=="case"?Ae(zn,cn(":")):_=="default"?Ae(cn(":")):_=="catch"?Ae(Yr("form"),Zi,ui,Gn,Dr,$r):_=="export"?Ae(Yr("stat"),hi,Dr):_=="import"?Ae(Yr("stat"),$i,Dr):_=="async"?Ae(Gn):st=="@"?Ae(zn,Gn):Nn(Yr("stat"),zn,cn(";"),Dr)}function ui(_){if(_=="(")return Ae(Cr,cn(")"))}function zn(_,st){return Ot(_,st,!1)}function ri(_,st){return Ot(_,st,!0)}function ht(_){return _!="("?Nn():Ae(Yr(")"),vr,cn(")"),Dr)}function Ot(_,st,Dt){if(xr.state.fatArrowAt==xr.stream.start){var mr=Dt?dn:_n;if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,cn("=>"),mr,$r);if(_=="variable")return Nn(Zi,Ut,cn("=>"),mr,$r)}var li=Dt?Kr:_r;return oi.hasOwnProperty(_)?Ae(li):_=="function"?Ae(Ct,li):_=="class"||Oe&&st=="interface"?(xr.marked="keyword",Ae(Yr("form"),Br,Dr)):_=="keyword c"||_=="async"?Ae(Dt?ri:zn):_=="("?Ae(Yr(")"),vr,cn(")"),Dr,li):_=="operator"||_=="spread"?Ae(Dt?ri:zn):_=="["?Ae(Yr("]"),Si,Dr,li):_=="{"?Ws(cs,"}",null,li):_=="quasi"?Nn(Ur,li):_=="new"?Ae(ct(Dt)):Ae()}function vr(_){return _.match(/[;\}\)\],]/)?Nn():Nn(zn)}function _r(_,st){return _==","?Ae(vr):Kr(_,st,!1)}function Kr(_,st,Dt){var mr=Dt==!1?_r:Kr,li=Dt==!1?zn:ri;if(_=="=>")return Ae(Zi,Dt?dn:_n,$r);if(_=="operator")return/\+\+|--/.test(st)||Oe&&st=="!"?Ae(mr):Oe&&st=="<"&&xr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?Ae(Yr(">"),Hi(_t,">"),Dr,mr):st=="?"?Ae(zn,cn(":"),li):Ae(li);if(_=="quasi")return Nn(Ur,mr);if(_!=";"){if(_=="(")return Ws(ri,")","call",mr);if(_==".")return Ae(bi,mr);if(_=="[")return Ae(Yr("]"),vr,cn("]"),Dr,mr);if(Oe&&st=="as")return xr.marked="keyword",Ae(_t,mr);if(_=="regexp")return xr.state.lastType=xr.marked="operator",xr.stream.backUp(xr.stream.pos-xr.stream.start-1),Ae(li)}}function Ur(_,st){return _!="quasi"?Nn():st.slice(st.length-2)!="${"?Ae(Ur):Ae(vr,Dn)}function Dn(_){if(_=="}")return xr.marked="string-2",xr.state.tokenize=Jn,Ae(Ur)}function _n(_){return mi(xr.stream,xr.state),Nn(_=="{"?Gn:zn)}function dn(_){return mi(xr.stream,xr.state),Nn(_=="{"?Gn:ri)}function ct(_){return function(st){return st=="."?Ae(_?Rt:wr):st=="variable"&&Oe?Ae(Ht,_?Kr:_r):Nn(_?ri:zn)}}function wr(_,st){if(st=="target")return xr.marked="keyword",Ae(_r)}function Rt(_,st){if(st=="target")return xr.marked="keyword",Ae(Kr)}function Mn(_){return _==":"?Ae(Dr,Gn):Nn(_r,cn(";"),Dr)}function bi(_){if(_=="variable")return xr.marked="property",Ae()}function cs(_,st){if(_=="async")return xr.marked="property",Ae(cs);if(_=="variable"||xr.style=="keyword"){if(xr.marked="property",st=="get"||st=="set")return Ae(ds);var Dt;return Oe&&xr.state.fatArrowAt==xr.stream.start&&(Dt=xr.stream.match(/^\s*:\s*/,!1))&&(xr.state.fatArrowAt=xr.stream.pos+Dt[0].length),Ae(ms)}else{if(_=="number"||_=="string")return xr.marked=pe?"property":xr.style+" property",Ae(ms);if(_=="jsonld-keyword")return Ae(ms);if(Oe&&ti(st))return xr.marked="keyword",Ae(cs);if(_=="[")return Ae(zn,Pr,cn("]"),ms);if(_=="spread")return Ae(ri,ms);if(st=="*")return xr.marked="keyword",Ae(cs);if(_==":")return Nn(ms)}}function ds(_){return _!="variable"?Nn(ms):(xr.marked="property",Ae(Ct))}function ms(_){if(_==":")return Ae(ri);if(_=="(")return Nn(Ct)}function Hi(_,st,Dt){function mr(li,ps){if(Dt?Dt.indexOf(li)>-1:li==","){var Ki=xr.state.lexical;return Ki.info=="call"&&(Ki.pos=(Ki.pos||0)+1),Ae(function(Os,Us){return Os==st||Us==st?Nn():Nn(_)},mr)}return li==st||ps==st?Ae():Dt&&Dt.indexOf(";")>-1?Nn(_):Ae(cn(st))}return function(li,ps){return li==st||ps==st?Ae():Nn(_,mr)}}function Ws(_,st,Dt){for(var mr=3;mr<arguments.length;mr++)xr.cc.push(arguments[mr]);return Ae(Yr(st,Dt),Hi(_,st),Dr)}function Vn(_){return _=="}"?Ae():Nn(Gn,Vn)}function Pr(_,st){if(Oe){if(_==":")return Ae(_t);if(st=="?")return Ae(Pr)}}function Nr(_,st){if(Oe&&(_==":"||st=="in"))return Ae(_t)}function Lr(_){if(Oe&&_==":")return xr.stream.match(/^\s*\w+\s+is\b/,!1)?Ae(zn,Wr,_t):Ae(_t)}function Wr(_,st){if(st=="is")return xr.marked="keyword",Ae()}function _t(_,st){if(st=="keyof"||st=="typeof"||st=="infer"||st=="readonly")return xr.marked="keyword",Ae(st=="typeof"?ri:_t);if(_=="variable"||st=="void")return xr.marked="type",Ae(Bt);if(st=="|"||st=="&")return Ae(_t);if(_=="string"||_=="number"||_=="atom")return Ae(Bt);if(_=="[")return Ae(Yr("]"),Hi(_t,"]",","),Dr,Bt);if(_=="{")return Ae(Yr("}"),Xt,Dr,Bt);if(_=="(")return Ae(Hi(je,")"),Wn,Bt);if(_=="<")return Ae(Hi(_t,">"),_t);if(_=="quasi")return Nn(yr,Bt)}function Wn(_){if(_=="=>")return Ae(_t)}function Xt(_){return _.match(/[\}\)\]]/)?Ae():_==","||_==";"?Ae(Xt):Nn(On,Xt)}function On(_,st){if(_=="variable"||xr.style=="keyword")return xr.marked="property",Ae(On);if(st=="?"||_=="number"||_=="string")return Ae(On);if(_==":")return Ae(_t);if(_=="[")return Ae(cn("variable"),Nr,cn("]"),On);if(_=="(")return Nn(Kt,On);if(!_.match(/[;\}\)\],]/))return Ae()}function yr(_,st){return _!="quasi"?Nn():st.slice(st.length-2)!="${"?Ae(yr):Ae(_t,Lt)}function Lt(_){if(_=="}")return xr.marked="string-2",xr.state.tokenize=Jn,Ae(yr)}function je(_,st){return _=="variable"&&xr.stream.match(/^\s*[?:]/,!1)||st=="?"?Ae(je):_==":"?Ae(_t):_=="spread"?Ae(je):Nn(_t)}function Bt(_,st){if(st=="<")return Ae(Yr(">"),Hi(_t,">"),Dr,Bt);if(st=="|"||_=="."||st=="&")return Ae(_t);if(_=="[")return Ae(_t,cn("]"),Bt);if(st=="extends"||st=="implements")return xr.marked="keyword",Ae(_t);if(st=="?")return Ae(_t,cn(":"),_t)}function Ht(_,st){if(st=="<")return Ae(Yr(">"),Hi(_t,">"),Dr,Bt)}function nr(){return Nn(_t,Mr)}function Mr(_,st){if(st=="=")return Ae(_t)}function nn(_,st){return st=="enum"?(xr.marked="keyword",Ae(Ji)):Nn(Ut,Pr,me,be)}function Ut(_,st){if(Oe&&ti(st))return xr.marked="keyword",Ae(Ut);if(_=="variable")return or(st),Ae();if(_=="spread")return Ae(Ut);if(_=="[")return Ws(ce,"]");if(_=="{")return Ws(_e,"}")}function _e(_,st){return _=="variable"&&!xr.stream.match(/^\s*:/,!1)?(or(st),Ae(me)):(_=="variable"&&(xr.marked="property"),_=="spread"?Ae(Ut):_=="}"?Nn():_=="["?Ae(zn,cn("]"),cn(":"),_e):Ae(cn(":"),Ut,me))}function ce(){return Nn(Ut,me)}function me(_,st){if(st=="=")return Ae(ri)}function be(_){if(_==",")return Ae(nn)}function Ee(_,st){if(_=="keyword b"&&st=="else")return Ae(Yr("form","else"),Gn,Dr)}function ze(_,st){if(st=="await")return Ae(ze);if(_=="(")return Ae(Yr(")"),Ke,Dr)}function Ke(_){return _=="var"?Ae(nn,ot):_=="variable"?Ae(ot):Nn(ot)}function ot(_,st){return _==")"?Ae():_==";"?Ae(ot):st=="in"||st=="of"?(xr.marked="keyword",Ae(zn,ot)):Nn(zn,ot)}function Ct(_,st){if(st=="*")return xr.marked="keyword",Ae(Ct);if(_=="variable")return or(st),Ae(Ct);if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,Lr,Gn,$r);if(Oe&&st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,Ct)}function Kt(_,st){if(st=="*")return xr.marked="keyword",Ae(Kt);if(_=="variable")return or(st),Ae(Kt);if(_=="(")return Ae(Zi,Yr(")"),Hi(Cr,")"),Dr,Lr,$r);if(Oe&&st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,Kt)}function ur(_,st){if(_=="keyword"||_=="variable")return xr.marked="type",Ae(ur);if(st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr)}function Cr(_,st){return st=="@"&&Ae(zn,Cr),_=="spread"?Ae(Cr):Oe&&ti(st)?(xr.marked="keyword",Ae(Cr)):Oe&&_=="this"?Ae(Pr,me):Nn(Ut,Pr,me)}function Br(_,st){return _=="variable"?tn(_,st):sn(_,st)}function tn(_,st){if(_=="variable")return or(st),Ae(sn)}function sn(_,st){if(st=="<")return Ae(Yr(">"),Hi(nr,">"),Dr,sn);if(st=="extends"||st=="implements"||Oe&&_==",")return st=="implements"&&(xr.marked="keyword"),Ae(Oe?_t:zn,sn);if(_=="{")return Ae(Yr("}"),kr,Dr)}function kr(_,st){if(_=="async"||_=="variable"&&(st=="static"||st=="get"||st=="set"||Oe&&ti(st))&&xr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return xr.marked="keyword",Ae(kr);if(_=="variable"||xr.style=="keyword")return xr.marked="property",Ae(Fn,kr);if(_=="number"||_=="string")return Ae(Fn,kr);if(_=="[")return Ae(zn,Pr,cn("]"),Fn,kr);if(st=="*")return xr.marked="keyword",Ae(kr);if(Oe&&_=="(")return Nn(Kt,kr);if(_==";"||_==",")return Ae(kr);if(_=="}")return Ae();if(st=="@")return Ae(zn,kr)}function Fn(_,st){if(st=="!"||st=="?")return Ae(Fn);if(_==":")return Ae(_t,me);if(st=="=")return Ae(ri);var Dt=xr.state.lexical.prev,mr=Dt&&Dt.info=="interface";return Nn(mr?Kt:Ct)}function hi(_,st){return st=="*"?(xr.marked="keyword",Ae(pn,cn(";"))):st=="default"?(xr.marked="keyword",Ae(zn,cn(";"))):_=="{"?Ae(Hi(Cn,"}"),pn,cn(";")):Nn(Gn)}function Cn(_,st){if(st=="as")return xr.marked="keyword",Ae(cn("variable"));if(_=="variable")return Nn(ri,Cn)}function $i(_){return _=="string"?Ae():_=="("?Nn(zn):_=="."?Nn(_r):Nn(rs,dt,pn)}function rs(_,st){return _=="{"?Ws(rs,"}"):(_=="variable"&&or(st),st=="*"&&(xr.marked="keyword"),Ae(Vi))}function dt(_){if(_==",")return Ae(rs,dt)}function Vi(_,st){if(st=="as")return xr.marked="keyword",Ae(rs)}function pn(_,st){if(st=="from")return xr.marked="keyword",Ae(zn)}function Si(_){return _=="]"?Ae():Nn(Hi(ri,"]"))}function Ji(){return Nn(Yr("form"),Ut,cn("{"),Yr("}"),Hi(Qn,"}"),Dr,Dr)}function Qn(){return Nn(Ut,me)}function Wi(_,st){return _.lastType=="operator"||_.lastType==","||St.test(st.charAt(0))||/[,.]/.test(st.charAt(0))}function Is(_,st,Dt){return st.tokenize==qt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(st.lastType)||st.lastType=="quasi"&&/\{\s*$/.test(_.string.slice(0,_.pos-(Dt||0)))}return{startState:function(_){var st={tokenize:qt,lastType:"sof",cc:[],lexical:new Xn((_||0)-N,0,"block",!1),localVars:D.localVars,context:D.localVars&&new ts(null,null,!1),indented:_||0};return D.globalVars&&typeof D.globalVars=="object"&&(st.globalVars=D.globalVars),st},token:function(_,st){if(_.sol()&&(st.lexical.hasOwnProperty("align")||(st.lexical.align=!1),st.indented=_.indentation(),mi(_,st)),st.tokenize!=an&&_.eatSpace())return null;var Dt=st.tokenize(_,st);return Rr=="comment"?Dt:(st.lastType=Rr=="operator"&&(At=="++"||At=="--")?"incdec":Rr,gi(st,Dt,Rr,At,_))},indent:function(_,st){if(_.tokenize==an||_.tokenize==Jn)return l.Pass;if(_.tokenize!=qt)return 0;var Dt=st&&st.charAt(0),mr=_.lexical,li;if(!/^\s*else\b/.test(st))for(var ps=_.cc.length-1;ps>=0;--ps){var Ki=_.cc[ps];if(Ki==Dr)mr=mr.prev;else if(Ki!=Ee&&Ki!=$r)break}for(;(mr.type=="stat"||mr.type=="form")&&(Dt=="}"||(li=_.cc[_.cc.length-1])&&(li==_r||li==Kr)&&!/^[,\.=+\-*:?[\(]/.test(st));)mr=mr.prev;Y&&mr.type==")"&&mr.prev.type=="stat"&&(mr=mr.prev);var Os=mr.type,Us=Dt==Os;return Os=="vardef"?mr.indented+(_.lastType=="operator"||_.lastType==","?mr.info.length+1:0):Os=="form"&&Dt=="{"?mr.indented:Os=="form"?mr.indented+N:Os=="stat"?mr.indented+(Wi(_,st)?Y||N:0):mr.info=="switch"&&!Us&&D.doubleIndentSwitch!=!1?mr.indented+(/^(?:case|default)\b/.test(st)?N:2*N):mr.align?mr.column+(Us?0:1):mr.indented+(Us?0:N)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:ye?null:"/*",blockCommentEnd:ye?null:"*/",blockCommentContinue:ye?null:" * ",lineComment:ye?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:ye?"json":"javascript",jsonldMode:pe,jsonMode:ye,expressionAllowed:Is,skipExpression:function(_){gi(_,"atom","atom","true",new l.StringStream("",2,null))}}}),l.registerHelper("wordChars","javascript",/[\w$]/),l.defineMIME("text/javascript","javascript"),l.defineMIME("text/ecmascript","javascript"),l.defineMIME("application/javascript","javascript"),l.defineMIME("application/x-javascript","javascript"),l.defineMIME("application/ecmascript","javascript"),l.defineMIME("application/json",{name:"javascript",json:!0}),l.defineMIME("application/x-json",{name:"javascript",json:!0}),l.defineMIME("application/manifest+json",{name:"javascript",json:!0}),l.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),l.defineMIME("text/typescript",{name:"javascript",typescript:!0}),l.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var SD={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineMode("css",function(Xn,Un){var gi=Un.inline;Un.propertyKeywords||(Un=l.resolveMode("text/css"));var xr=Xn.indentUnit,Nn=Un.tokenHooks,Ae=Un.documentTypes||{},rn=Un.mediaTypes||{},or=Un.mediaFeatures||{},Bn=Un.mediaValueKeywords||{},ti=Un.propertyKeywords||{},ts=Un.nonStandardPropertyKeywords||{},Cs=Un.fontProperties||{},_s=Un.counterDescriptors||{},Zi=Un.colorKeywords||{},ls=Un.valueKeywords||{},$r=Un.allowNested,Yr=Un.lineComment,Dr=Un.supportsAtComponent===!0,cn=Xn.highlightNonStandardPropertyKeywords!==!1,Gn,ui;function zn(ct,wr){return Gn=wr,ct}function ri(ct,wr){var Rt=ct.next();if(Nn[Rt]){var Mn=Nn[Rt](ct,wr);if(Mn!==!1)return Mn}if(Rt=="@")return ct.eatWhile(/[\w\\\-]/),zn("def",ct.current());if(Rt=="="||(Rt=="~"||Rt=="|")&&ct.eat("="))return zn(null,"compare");if(Rt=='"'||Rt=="'")return wr.tokenize=ht(Rt),wr.tokenize(ct,wr);if(Rt=="#")return ct.eatWhile(/[\w\\\-]/),zn("atom","hash");if(Rt=="!")return ct.match(/^\s*\w*/),zn("keyword","important");if(/\d/.test(Rt)||Rt=="."&&ct.eat(/\d/))return ct.eatWhile(/[\w.%]/),zn("number","unit");if(Rt==="-"){if(/[\d.]/.test(ct.peek()))return ct.eatWhile(/[\w.%]/),zn("number","unit");if(ct.match(/^-[\w\\\-]*/))return ct.eatWhile(/[\w\\\-]/),ct.match(/^\s*:/,!1)?zn("variable-2","variable-definition"):zn("variable-2","variable");if(ct.match(/^\w+-/))return zn("meta","meta")}else return/[,+>*\/]/.test(Rt)?zn(null,"select-op"):Rt=="."&&ct.match(/^-?[_a-z][_a-z0-9-]*/i)?zn("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Rt)?zn(null,Rt):ct.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ct.current())&&(wr.tokenize=Ot),zn("variable callee","variable")):/[\w\\\-]/.test(Rt)?(ct.eatWhile(/[\w\\\-]/),zn("property","word")):zn(null,null)}function ht(ct){return function(wr,Rt){for(var Mn=!1,bi;(bi=wr.next())!=null;){if(bi==ct&&!Mn){ct==")"&&wr.backUp(1);break}Mn=!Mn&&bi=="\\"}return(bi==ct||!Mn&&ct!=")")&&(Rt.tokenize=null),zn("string","string")}}function Ot(ct,wr){return ct.next(),ct.match(/^\s*[\"\')]/,!1)?wr.tokenize=null:wr.tokenize=ht(")"),zn(null,"(")}function vr(ct,wr,Rt){this.type=ct,this.indent=wr,this.prev=Rt}function _r(ct,wr,Rt,Mn){return ct.context=new vr(Rt,wr.indentation()+(Mn===!1?0:xr),ct.context),Rt}function Kr(ct){return ct.context.prev&&(ct.context=ct.context.prev),ct.context.type}function Ur(ct,wr,Rt){return dn[Rt.context.type](ct,wr,Rt)}function Dn(ct,wr,Rt,Mn){for(var bi=Mn||1;bi>0;bi--)Rt.context=Rt.context.prev;return Ur(ct,wr,Rt)}function _n(ct){var wr=ct.current().toLowerCase();ls.hasOwnProperty(wr)?ui="atom":Zi.hasOwnProperty(wr)?ui="keyword":ui="variable"}var dn={};return dn.top=function(ct,wr,Rt){if(ct=="{")return _r(Rt,wr,"block");if(ct=="}"&&Rt.context.prev)return Kr(Rt);if(Dr&&/@component/i.test(ct))return _r(Rt,wr,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ct))return _r(Rt,wr,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ct))return _r(Rt,wr,"atBlock");if(/^@(font-face|counter-style)/i.test(ct))return Rt.stateArg=ct,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ct))return"keyframes";if(ct&&ct.charAt(0)=="@")return _r(Rt,wr,"at");if(ct=="hash")ui="builtin";else if(ct=="word")ui="tag";else{if(ct=="variable-definition")return"maybeprop";if(ct=="interpolation")return _r(Rt,wr,"interpolation");if(ct==":")return"pseudo";if($r&&ct=="(")return _r(Rt,wr,"parens")}return Rt.context.type},dn.block=function(ct,wr,Rt){if(ct=="word"){var Mn=wr.current().toLowerCase();return ti.hasOwnProperty(Mn)?(ui="property","maybeprop"):ts.hasOwnProperty(Mn)?(ui=cn?"string-2":"property","maybeprop"):$r?(ui=wr.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ui+=" error","maybeprop")}else return ct=="meta"?"block":!$r&&(ct=="hash"||ct=="qualifier")?(ui="error","block"):dn.top(ct,wr,Rt)},dn.maybeprop=function(ct,wr,Rt){return ct==":"?_r(Rt,wr,"prop"):Ur(ct,wr,Rt)},dn.prop=function(ct,wr,Rt){if(ct==";")return Kr(Rt);if(ct=="{"&&$r)return _r(Rt,wr,"propBlock");if(ct=="}"||ct=="{")return Dn(ct,wr,Rt);if(ct=="(")return _r(Rt,wr,"parens");if(ct=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(wr.current()))ui+=" error";else if(ct=="word")_n(wr);else if(ct=="interpolation")return _r(Rt,wr,"interpolation");return"prop"},dn.propBlock=function(ct,wr,Rt){return ct=="}"?Kr(Rt):ct=="word"?(ui="property","maybeprop"):Rt.context.type},dn.parens=function(ct,wr,Rt){return ct=="{"||ct=="}"?Dn(ct,wr,Rt):ct==")"?Kr(Rt):ct=="("?_r(Rt,wr,"parens"):ct=="interpolation"?_r(Rt,wr,"interpolation"):(ct=="word"&&_n(wr),"parens")},dn.pseudo=function(ct,wr,Rt){return ct=="meta"?"pseudo":ct=="word"?(ui="variable-3",Rt.context.type):Ur(ct,wr,Rt)},dn.documentTypes=function(ct,wr,Rt){return ct=="word"&&Ae.hasOwnProperty(wr.current())?(ui="tag",Rt.context.type):dn.atBlock(ct,wr,Rt)},dn.atBlock=function(ct,wr,Rt){if(ct=="(")return _r(Rt,wr,"atBlock_parens");if(ct=="}"||ct==";")return Dn(ct,wr,Rt);if(ct=="{")return Kr(Rt)&&_r(Rt,wr,$r?"block":"top");if(ct=="interpolation")return _r(Rt,wr,"interpolation");if(ct=="word"){var Mn=wr.current().toLowerCase();Mn=="only"||Mn=="not"||Mn=="and"||Mn=="or"?ui="keyword":rn.hasOwnProperty(Mn)?ui="attribute":or.hasOwnProperty(Mn)?ui="property":Bn.hasOwnProperty(Mn)?ui="keyword":ti.hasOwnProperty(Mn)?ui="property":ts.hasOwnProperty(Mn)?ui=cn?"string-2":"property":ls.hasOwnProperty(Mn)?ui="atom":Zi.hasOwnProperty(Mn)?ui="keyword":ui="error"}return Rt.context.type},dn.atComponentBlock=function(ct,wr,Rt){return ct=="}"?Dn(ct,wr,Rt):ct=="{"?Kr(Rt)&&_r(Rt,wr,$r?"block":"top",!1):(ct=="word"&&(ui="error"),Rt.context.type)},dn.atBlock_parens=function(ct,wr,Rt){return ct==")"?Kr(Rt):ct=="{"||ct=="}"?Dn(ct,wr,Rt,2):dn.atBlock(ct,wr,Rt)},dn.restricted_atBlock_before=function(ct,wr,Rt){return ct=="{"?_r(Rt,wr,"restricted_atBlock"):ct=="word"&&Rt.stateArg=="@counter-style"?(ui="variable","restricted_atBlock_before"):Ur(ct,wr,Rt)},dn.restricted_atBlock=function(ct,wr,Rt){return ct=="}"?(Rt.stateArg=null,Kr(Rt)):ct=="word"?(Rt.stateArg=="@font-face"&&!Cs.hasOwnProperty(wr.current().toLowerCase())||Rt.stateArg=="@counter-style"&&!_s.hasOwnProperty(wr.current().toLowerCase())?ui="error":ui="property","maybeprop"):"restricted_atBlock"},dn.keyframes=function(ct,wr,Rt){return ct=="word"?(ui="variable","keyframes"):ct=="{"?_r(Rt,wr,"top"):Ur(ct,wr,Rt)},dn.at=function(ct,wr,Rt){return ct==";"?Kr(Rt):ct=="{"||ct=="}"?Dn(ct,wr,Rt):(ct=="word"?ui="tag":ct=="hash"&&(ui="builtin"),"at")},dn.interpolation=function(ct,wr,Rt){return ct=="}"?Kr(Rt):ct=="{"||ct==";"?Dn(ct,wr,Rt):(ct=="word"?ui="variable":ct!="variable"&&ct!="("&&ct!=")"&&(ui="error"),"interpolation")},{startState:function(ct){return{tokenize:null,state:gi?"block":"top",stateArg:null,context:new vr(gi?"block":"top",ct||0,null)}},token:function(ct,wr){if(!wr.tokenize&&ct.eatSpace())return null;var Rt=(wr.tokenize||ri)(ct,wr);return Rt&&typeof Rt=="object"&&(Gn=Rt[1],Rt=Rt[0]),ui=Rt,Gn!="comment"&&(wr.state=dn[wr.state](Gn,ct,wr)),ui},indent:function(ct,wr){var Rt=ct.context,Mn=wr&&wr.charAt(0),bi=Rt.indent;return Rt.type=="prop"&&(Mn=="}"||Mn==")")&&(Rt=Rt.prev),Rt.prev&&(Mn=="}"&&(Rt.type=="block"||Rt.type=="top"||Rt.type=="interpolation"||Rt.type=="restricted_atBlock")?(Rt=Rt.prev,bi=Rt.indent):(Mn==")"&&(Rt.type=="parens"||Rt.type=="atBlock_parens")||Mn=="{"&&(Rt.type=="at"||Rt.type=="atBlock"))&&(bi=Math.max(0,Rt.indent-xr))),bi},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Yr,fold:"brace"}});function f(Xn){for(var Un={},gi=0;gi<Xn.length;++gi)Un[Xn[gi].toLowerCase()]=!0;return Un}var D=["domain","regexp","url","url-prefix"],N=f(D),Y=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],pe=f(Y),ye=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Me=f(ye),Oe=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],it=f(Oe),gt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],St=f(gt),Wt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],ar=f(Wt),Rr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],At=f(Rr),It=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],qt=f(It),Er=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],an=f(Er),Jn=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],An=f(Jn),mi=D.concat(Y).concat(ye).concat(Oe).concat(gt).concat(Wt).concat(Er).concat(Jn);l.registerHelper("hintWords","css",mi);function oi(Xn,Un){for(var gi=!1,xr;(xr=Xn.next())!=null;){if(gi&&xr=="/"){Un.tokenize=null;break}gi=xr=="*"}return["comment","comment"]}l.defineMIME("text/css",{documentTypes:N,mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,fontProperties:At,counterDescriptors:qt,colorKeywords:an,valueKeywords:An,tokenHooks:{"/":function(Xn,Un){return Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):!1}},name:"css"}),l.defineMIME("text/x-scss",{mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,colorKeywords:an,valueKeywords:An,fontProperties:At,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Xn,Un){return Xn.eat("/")?(Xn.skipToEnd(),["comment","comment"]):Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):["operator","operator"]},":":function(Xn){return Xn.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Xn){return Xn.match(/^[\w-]+/),Xn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Xn){return Xn.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),l.defineMIME("text/x-less",{mediaTypes:pe,mediaFeatures:Me,mediaValueKeywords:it,propertyKeywords:St,nonStandardPropertyKeywords:ar,colorKeywords:an,valueKeywords:An,fontProperties:At,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Xn,Un){return Xn.eat("/")?(Xn.skipToEnd(),["comment","comment"]):Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):["operator","operator"]},"@":function(Xn){return Xn.eat("{")?[null,"interpolation"]:Xn.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Xn.eatWhile(/[\w\\\-]/),Xn.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),l.defineMIME("text/x-gss",{documentTypes:N,mediaTypes:pe,mediaFeatures:Me,propertyKeywords:St,nonStandardPropertyKeywords:ar,fontProperties:At,counterDescriptors:qt,colorKeywords:an,valueKeywords:An,supportsAtComponent:!0,tokenHooks:{"/":function(Xn,Un){return Xn.eat("*")?(Un.tokenize=oi,oi(Xn,Un)):!1}},name:"css",helperType:"gss"})})})();var ym={exports:{}};(function(s,c){(function(l){l(ql.exports)})(function(l){var f={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},D={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};l.defineMode("xml",function(N,Y){var pe=N.indentUnit,ye={},Me=Y.htmlMode?f:D;for(var Oe in Me)ye[Oe]=Me[Oe];for(var Oe in Y)ye[Oe]=Y[Oe];var it,gt;function St(Ae,rn){function or(ts){return rn.tokenize=ts,ts(Ae,rn)}var Bn=Ae.next();if(Bn=="<")return Ae.eat("!")?Ae.eat("[")?Ae.match("CDATA[")?or(Rr("atom","]]>")):null:Ae.match("--")?or(Rr("comment","-->")):Ae.match("DOCTYPE",!0,!0)?(Ae.eatWhile(/[\w\._\-]/),or(At(1))):null:Ae.eat("?")?(Ae.eatWhile(/[\w\._\-]/),rn.tokenize=Rr("meta","?>"),"meta"):(it=Ae.eat("/")?"closeTag":"openTag",rn.tokenize=Wt,"tag bracket");if(Bn=="&"){var ti;return Ae.eat("#")?Ae.eat("x")?ti=Ae.eatWhile(/[a-fA-F\d]/)&&Ae.eat(";"):ti=Ae.eatWhile(/[\d]/)&&Ae.eat(";"):ti=Ae.eatWhile(/[\w\.\-:]/)&&Ae.eat(";"),ti?"atom":"error"}else return Ae.eatWhile(/[^&<]/),null}St.isInText=!0;function Wt(Ae,rn){var or=Ae.next();if(or==">"||or=="/"&&Ae.eat(">"))return rn.tokenize=St,it=or==">"?"endTag":"selfcloseTag","tag bracket";if(or=="=")return it="equals",null;if(or=="<"){rn.tokenize=St,rn.state=Jn,rn.tagName=rn.tagStart=null;var Bn=rn.tokenize(Ae,rn);return Bn?Bn+" tag error":"tag error"}else return/[\'\"]/.test(or)?(rn.tokenize=ar(or),rn.stringStartCol=Ae.column(),rn.tokenize(Ae,rn)):(Ae.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ar(Ae){var rn=function(or,Bn){for(;!or.eol();)if(or.next()==Ae){Bn.tokenize=Wt;break}return"string"};return rn.isInAttribute=!0,rn}function Rr(Ae,rn){return function(or,Bn){for(;!or.eol();){if(or.match(rn)){Bn.tokenize=St;break}or.next()}return Ae}}function At(Ae){return function(rn,or){for(var Bn;(Bn=rn.next())!=null;){if(Bn=="<")return or.tokenize=At(Ae+1),or.tokenize(rn,or);if(Bn==">")if(Ae==1){or.tokenize=St;break}else return or.tokenize=At(Ae-1),or.tokenize(rn,or)}return"meta"}}function It(Ae){return Ae&&Ae.toLowerCase()}function qt(Ae,rn,or){this.prev=Ae.context,this.tagName=rn||"",this.indent=Ae.indented,this.startOfLine=or,(ye.doNotIndent.hasOwnProperty(rn)||Ae.context&&Ae.context.noIndent)&&(this.noIndent=!0)}function Er(Ae){Ae.context&&(Ae.context=Ae.context.prev)}function an(Ae,rn){for(var or;;){if(!Ae.context||(or=Ae.context.tagName,!ye.contextGrabbers.hasOwnProperty(It(or))||!ye.contextGrabbers[It(or)].hasOwnProperty(It(rn))))return;Er(Ae)}}function Jn(Ae,rn,or){return Ae=="openTag"?(or.tagStart=rn.column(),An):Ae=="closeTag"?mi:Jn}function An(Ae,rn,or){return Ae=="word"?(or.tagName=rn.current(),gt="tag",Un):ye.allowMissingTagName&&Ae=="endTag"?(gt="tag bracket",Un(Ae,rn,or)):(gt="error",An)}function mi(Ae,rn,or){if(Ae=="word"){var Bn=rn.current();return or.context&&or.context.tagName!=Bn&&ye.implicitlyClosed.hasOwnProperty(It(or.context.tagName))&&Er(or),or.context&&or.context.tagName==Bn||ye.matchClosing===!1?(gt="tag",oi):(gt="tag error",Xn)}else return ye.allowMissingTagName&&Ae=="endTag"?(gt="tag bracket",oi(Ae,rn,or)):(gt="error",Xn)}function oi(Ae,rn,or){return Ae!="endTag"?(gt="error",oi):(Er(or),Jn)}function Xn(Ae,rn,or){return gt="error",oi(Ae,rn,or)}function Un(Ae,rn,or){if(Ae=="word")return gt="attribute",gi;if(Ae=="endTag"||Ae=="selfcloseTag"){var Bn=or.tagName,ti=or.tagStart;return or.tagName=or.tagStart=null,Ae=="selfcloseTag"||ye.autoSelfClosers.hasOwnProperty(It(Bn))?an(or,Bn):(an(or,Bn),or.context=new qt(or,Bn,ti==or.indented)),Jn}return gt="error",Un}function gi(Ae,rn,or){return Ae=="equals"?xr:(ye.allowMissing||(gt="error"),Un(Ae,rn,or))}function xr(Ae,rn,or){return Ae=="string"?Nn:Ae=="word"&&ye.allowUnquoted?(gt="string",Un):(gt="error",Un(Ae,rn,or))}function Nn(Ae,rn,or){return Ae=="string"?Nn:Un(Ae,rn,or)}return{startState:function(Ae){var rn={tokenize:St,state:Jn,indented:Ae||0,tagName:null,tagStart:null,context:null};return Ae!=null&&(rn.baseIndent=Ae),rn},token:function(Ae,rn){if(!rn.tagName&&Ae.sol()&&(rn.indented=Ae.indentation()),Ae.eatSpace())return null;it=null;var or=rn.tokenize(Ae,rn);return(or||it)&&or!="comment"&&(gt=null,rn.state=rn.state(it||or,Ae,rn),gt&&(or=gt=="error"?or+" error":gt)),or},indent:function(Ae,rn,or){var Bn=Ae.context;if(Ae.tokenize.isInAttribute)return Ae.tagStart==Ae.indented?Ae.stringStartCol+1:Ae.indented+pe;if(Bn&&Bn.noIndent)return l.Pass;if(Ae.tokenize!=Wt&&Ae.tokenize!=St)return or?or.match(/^(\s*)/)[0].length:0;if(Ae.tagName)return ye.multilineTagIndentPastTag!==!1?Ae.tagStart+Ae.tagName.length+2:Ae.tagStart+pe*(ye.multilineTagIndentFactor||1);if(ye.alignCDATA&&/<!\[CDATA\[/.test(rn))return 0;var ti=rn&&/^<(\/)?([\w_:\.-]*)/.exec(rn);if(ti&&ti[1])for(;Bn;)if(Bn.tagName==ti[2]){Bn=Bn.prev;break}else if(ye.implicitlyClosed.hasOwnProperty(It(Bn.tagName)))Bn=Bn.prev;else break;else if(ti)for(;Bn;){var ts=ye.contextGrabbers[It(Bn.tagName)];if(ts&&ts.hasOwnProperty(It(ti[2])))Bn=Bn.prev;else break}for(;Bn&&Bn.prev&&!Bn.startOfLine;)Bn=Bn.prev;return Bn?Bn.indent+pe:Ae.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:ye.htmlMode?"html":"xml",helperType:ye.htmlMode?"html":"xml",skipAttribute:function(Ae){Ae.state==xr&&(Ae.state=Un)},xmlCurrentTag:function(Ae){return Ae.tagName?{name:Ae.tagName,close:Ae.type=="closeTag"}:null},xmlCurrentContext:function(Ae){for(var rn=[],or=Ae.context;or;or=or.prev)rn.push(or.tagName);return rn.reverse()}}}),l.defineMIME("text/xml","xml"),l.defineMIME("application/xml","xml"),l.mimeModes.hasOwnProperty("text/html")||l.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(s,c){(function(l){l(ql.exports,ym.exports,gm.exports,SD.exports)})(function(l){var f={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function D(it,gt,St){var Wt=it.current(),ar=Wt.search(gt);return ar>-1?it.backUp(Wt.length-ar):Wt.match(/<\/?$/)&&(it.backUp(Wt.length),it.match(gt,!1)||it.match(Wt)),St}var N={};function Y(it){var gt=N[it];return gt||(N[it]=new RegExp("\\s+"+it+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function pe(it,gt){var St=it.match(Y(gt));return St?/^\s*(.*?)\s*$/.exec(St[2])[1]:""}function ye(it,gt){return new RegExp((gt?"^":"")+"</\\s*"+it+"\\s*>","i")}function Me(it,gt){for(var St in it)for(var Wt=gt[St]||(gt[St]=[]),ar=it[St],Rr=ar.length-1;Rr>=0;Rr--)Wt.unshift(ar[Rr])}function Oe(it,gt){for(var St=0;St<it.length;St++){var Wt=it[St];if(!Wt[0]||Wt[1].test(pe(gt,Wt[0])))return Wt[2]}}l.defineMode("htmlmixed",function(it,gt){var St=l.getMode(it,{name:"xml",htmlMode:!0,multilineTagIndentFactor:gt.multilineTagIndentFactor,multilineTagIndentPastTag:gt.multilineTagIndentPastTag,allowMissingTagName:gt.allowMissingTagName}),Wt={},ar=gt&>.tags,Rr=gt&>.scriptTypes;if(Me(f,Wt),ar&&Me(ar,Wt),Rr)for(var At=Rr.length-1;At>=0;At--)Wt.script.unshift(["type",Rr[At].matches,Rr[At].mode]);function It(qt,Er){var an=St.token(qt,Er.htmlState),Jn=/\btag\b/.test(an),An;if(Jn&&!/[<>\s\/]/.test(qt.current())&&(An=Er.htmlState.tagName&&Er.htmlState.tagName.toLowerCase())&&Wt.hasOwnProperty(An))Er.inTag=An+" ";else if(Er.inTag&&Jn&&/>$/.test(qt.current())){var mi=/^([\S]+) (.*)/.exec(Er.inTag);Er.inTag=null;var oi=qt.current()==">"&&Oe(Wt[mi[1]],mi[2]),Xn=l.getMode(it,oi),Un=ye(mi[1],!0),gi=ye(mi[1],!1);Er.token=function(xr,Nn){return xr.match(Un,!1)?(Nn.token=It,Nn.localState=Nn.localMode=null,null):D(xr,gi,Nn.localMode.token(xr,Nn.localState))},Er.localMode=Xn,Er.localState=l.startState(Xn,St.indent(Er.htmlState,"",""))}else Er.inTag&&(Er.inTag+=qt.current(),qt.eol()&&(Er.inTag+=" "));return an}return{startState:function(){var qt=l.startState(St);return{token:It,inTag:null,localMode:null,localState:null,htmlState:qt}},copyState:function(qt){var Er;return qt.localState&&(Er=l.copyState(qt.localMode,qt.localState)),{token:qt.token,inTag:qt.inTag,localMode:qt.localMode,localState:Er,htmlState:l.copyState(St,qt.htmlState)}},token:function(qt,Er){return Er.token(qt,Er)},indent:function(qt,Er,an){return!qt.localMode||/^\s*<\//.test(Er)?St.indent(qt.htmlState,Er,an):qt.localMode.indent?qt.localMode.indent(qt.localState,Er,an):l.Pass},innerMode:function(qt){return{state:qt.localState||qt.htmlState,mode:qt.localMode||St}}}},"xml","javascript","css"),l.defineMIME("text/html","htmlmixed")})})();(function(s,c){(function(l){l(ql.exports,ym.exports,gm.exports)})(function(l){function f(N,Y,pe,ye){this.state=N,this.mode=Y,this.depth=pe,this.prev=ye}function D(N){return new f(l.copyState(N.mode,N.state),N.mode,N.depth,N.prev&&D(N.prev))}l.defineMode("jsx",function(N,Y){var pe=l.getMode(N,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),ye=l.getMode(N,Y&&Y.base||"javascript");function Me(St){var Wt=St.tagName;St.tagName=null;var ar=pe.indent(St,"","");return St.tagName=Wt,ar}function Oe(St,Wt){return Wt.context.mode==pe?it(St,Wt,Wt.context):gt(St,Wt,Wt.context)}function it(St,Wt,ar){if(ar.depth==2)return St.match(/^.*?\*\//)?ar.depth=1:St.skipToEnd(),"comment";if(St.peek()=="{"){pe.skipAttribute(ar.state);var Rr=Me(ar.state),At=ar.state.context;if(At&&St.match(/^[^>]*>\s*$/,!1)){for(;At.prev&&!At.startOfLine;)At=At.prev;At.startOfLine?Rr-=N.indentUnit:ar.prev.state.lexical&&(Rr=ar.prev.state.lexical.indented)}else ar.depth==1&&(Rr+=N.indentUnit);return Wt.context=new f(l.startState(ye,Rr),ye,0,Wt.context),null}if(ar.depth==1){if(St.peek()=="<")return pe.skipAttribute(ar.state),Wt.context=new f(l.startState(pe,Me(ar.state)),pe,0,Wt.context),null;if(St.match("//"))return St.skipToEnd(),"comment";if(St.match("/*"))return ar.depth=2,Oe(St,Wt)}var It=pe.token(St,ar.state),qt=St.current(),Er;return/\btag\b/.test(It)?/>$/.test(qt)?ar.state.context?ar.depth=0:Wt.context=Wt.context.prev:/^</.test(qt)&&(ar.depth=1):!It&&(Er=qt.indexOf("{"))>-1&&St.backUp(qt.length-Er),It}function gt(St,Wt,ar){if(St.peek()=="<"&&ye.expressionAllowed(St,ar.state))return Wt.context=new f(l.startState(pe,ye.indent(ar.state,"","")),pe,0,Wt.context),ye.skipExpression(ar.state),null;var Rr=ye.token(St,ar.state);if(!Rr&&ar.depth!=null){var At=St.current();At=="{"?ar.depth++:At=="}"&&--ar.depth==0&&(Wt.context=Wt.context.prev)}return Rr}return{startState:function(){return{context:new f(l.startState(ye),ye)}},copyState:function(St){return{context:D(St.context)}},token:Oe,indent:function(St,Wt,ar){return St.context.mode.indent(St.context.state,Wt,ar)},innerMode:function(St){return St.context}}},"xml","javascript"),l.defineMIME("text/jsx","jsx"),l.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(s,c){(function(l){l(ql.exports)})(function(l){l.defineOption("placeholder","",function(Me,Oe,it){var gt=it&&it!=l.Init;if(Oe&&!gt)Me.on("blur",Y),Me.on("change",pe),Me.on("swapDoc",pe),l.on(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose=function(){N(Me)}),pe(Me);else if(!Oe&>){Me.off("blur",Y),Me.off("change",pe),Me.off("swapDoc",pe),l.off(Me.getInputField(),"compositionupdate",Me.state.placeholderCompose),f(Me);var St=Me.getWrapperElement();St.className=St.className.replace(" CodeMirror-empty","")}Oe&&!Me.hasFocus()&&Y(Me)});function f(Me){Me.state.placeholder&&(Me.state.placeholder.parentNode.removeChild(Me.state.placeholder),Me.state.placeholder=null)}function D(Me){f(Me);var Oe=Me.state.placeholder=document.createElement("pre");Oe.style.cssText="height: 0; overflow: visible",Oe.style.direction=Me.getOption("direction"),Oe.className="CodeMirror-placeholder CodeMirror-line-like";var it=Me.getOption("placeholder");typeof it=="string"&&(it=document.createTextNode(it)),Oe.appendChild(it),Me.display.lineSpace.insertBefore(Oe,Me.display.lineSpace.firstChild)}function N(Me){setTimeout(function(){var Oe=!1;if(Me.lineCount()==1){var it=Me.getInputField();Oe=it.nodeName=="TEXTAREA"?!Me.getLine(0).length:!/[^\u200b]/.test(it.querySelector(".CodeMirror-line").textContent)}Oe?D(Me):f(Me)},20)}function Y(Me){ye(Me)&&D(Me)}function pe(Me){var Oe=Me.getWrapperElement(),it=ye(Me);Oe.className=Oe.className.replace(" CodeMirror-empty","")+(it?" CodeMirror-empty":""),it?D(Me):f(Me)}function ye(Me){return Me.lineCount()===1&&Me.getLine(0)===""}})})();(function(s,c){(function(l){l(ql.exports)})(function(l){var f="CodeMirror-hint",D="CodeMirror-hint-active";l.showHint=function(At,It,qt){if(!It)return At.showHint(qt);qt&&qt.async&&(It.async=!0);var Er={hint:It};if(qt)for(var an in qt)Er[an]=qt[an];return At.showHint(Er)},l.defineExtension("showHint",function(At){At=ye(this,this.getCursor("start"),At);var It=this.listSelections();if(!(It.length>1)){if(this.somethingSelected()){if(!At.hint.supportsSelection)return;for(var qt=0;qt<It.length;qt++)if(It[qt].head.line!=It[qt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Er=this.state.completionActive=new N(this,At);!Er.options.hint||(l.signal(this,"startCompletion",this),Er.update(!0))}}),l.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function N(At,It){if(this.cm=At,this.options=It,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var qt=this;At.on("cursorActivity",this.activityFunc=function(){qt.cursorActivity()})}}var Y=window.requestAnimationFrame||function(At){return setTimeout(At,1e3/60)},pe=window.cancelAnimationFrame||clearTimeout;N.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&l.signal(this.data,"close"),this.widget&&this.widget.close(),l.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(At,It){var qt=At.list[It],Er=this;this.cm.operation(function(){qt.hint?qt.hint(Er.cm,At,qt):Er.cm.replaceRange(Me(qt),qt.from||At.from,qt.to||At.to,"complete"),l.signal(At,"pick",qt),Er.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(pe(this.debounce),this.debounce=0);var At=this.startPos;this.data&&(At=this.data.from);var It=this.cm.getCursor(),qt=this.cm.getLine(It.line);if(It.line!=this.startPos.line||qt.length-It.ch!=this.startLen-this.startPos.ch||It.ch<At.ch||this.cm.somethingSelected()||!It.ch||this.options.closeCharacters.test(qt.charAt(It.ch-1)))this.close();else{var Er=this;this.debounce=Y(function(){Er.update()}),this.widget&&this.widget.disable()}},update:function(At){if(this.tick!=null){var It=this,qt=++this.tick;Wt(this.options.hint,this.cm,this.options,function(Er){It.tick==qt&&It.finishUpdate(Er,At)})}},finishUpdate:function(At,It){this.data&&l.signal(this.data,"update");var qt=this.widget&&this.widget.picked||It&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=At,At&&At.list.length&&(qt&&At.list.length==1?this.pick(At,0):(this.widget=new gt(this,At),l.signal(At,"shown")))}};function ye(At,It,qt){var Er=At.options.hintOptions,an={};for(var Jn in Rr)an[Jn]=Rr[Jn];if(Er)for(var Jn in Er)Er[Jn]!==void 0&&(an[Jn]=Er[Jn]);if(qt)for(var Jn in qt)qt[Jn]!==void 0&&(an[Jn]=qt[Jn]);return an.hint.resolve&&(an.hint=an.hint.resolve(At,It)),an}function Me(At){return typeof At=="string"?At:At.text}function Oe(At,It){var qt={Up:function(){It.moveFocus(-1)},Down:function(){It.moveFocus(1)},PageUp:function(){It.moveFocus(-It.menuSize()+1,!0)},PageDown:function(){It.moveFocus(It.menuSize()-1,!0)},Home:function(){It.setFocus(0)},End:function(){It.setFocus(It.length-1)},Enter:It.pick,Tab:It.pick,Esc:It.close},Er=/Mac/.test(navigator.platform);Er&&(qt["Ctrl-P"]=function(){It.moveFocus(-1)},qt["Ctrl-N"]=function(){It.moveFocus(1)});var an=At.options.customKeys,Jn=an?{}:qt;function An(Xn,Un){var gi;typeof Un!="string"?gi=function(xr){return Un(xr,It)}:qt.hasOwnProperty(Un)?gi=qt[Un]:gi=Un,Jn[Xn]=gi}if(an)for(var mi in an)an.hasOwnProperty(mi)&&An(mi,an[mi]);var oi=At.options.extraKeys;if(oi)for(var mi in oi)oi.hasOwnProperty(mi)&&An(mi,oi[mi]);return Jn}function it(At,It){for(;It&&It!=At;){if(It.nodeName.toUpperCase()==="LI"&&It.parentNode==At)return It;It=It.parentNode}}function gt(At,It){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=At,this.data=It,this.picked=!1;var qt=this,Er=At.cm,an=Er.getInputField().ownerDocument,Jn=an.defaultView||an.parentWindow,An=this.hints=an.createElement("ul");An.setAttribute("role","listbox"),An.setAttribute("aria-expanded","true"),An.id=this.id;var mi=At.cm.options.theme;An.className="CodeMirror-hints "+mi,this.selectedHint=It.selectedHint||0;for(var oi=It.list,Xn=0;Xn<oi.length;++Xn){var Un=An.appendChild(an.createElement("li")),gi=oi[Xn],xr=f+(Xn!=this.selectedHint?"":" "+D);gi.className!=null&&(xr=gi.className+" "+xr),Un.className=xr,Xn==this.selectedHint&&Un.setAttribute("aria-selected","true"),Un.id=this.id+"-"+Xn,Un.setAttribute("role","option"),gi.render?gi.render(Un,It,gi):Un.appendChild(an.createTextNode(gi.displayText||Me(gi))),Un.hintId=Xn}var Nn=At.options.container||an.body,Ae=Er.cursorCoords(At.options.alignWithWord?It.from:null),rn=Ae.left,or=Ae.bottom,Bn=!0,ti=0,ts=0;if(Nn!==an.body){var Cs=["absolute","relative","fixed"].indexOf(Jn.getComputedStyle(Nn).position)!==-1,_s=Cs?Nn:Nn.offsetParent,Zi=_s.getBoundingClientRect(),ls=an.body.getBoundingClientRect();ti=Zi.left-ls.left-_s.scrollLeft,ts=Zi.top-ls.top-_s.scrollTop}An.style.left=rn-ti+"px",An.style.top=or-ts+"px";var $r=Jn.innerWidth||Math.max(an.body.offsetWidth,an.documentElement.offsetWidth),Yr=Jn.innerHeight||Math.max(an.body.offsetHeight,an.documentElement.offsetHeight);Nn.appendChild(An),Er.getInputField().setAttribute("aria-autocomplete","list"),Er.getInputField().setAttribute("aria-owns",this.id),Er.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var Dr=At.options.moveOnOverlap?An.getBoundingClientRect():new DOMRect,cn=At.options.paddingForScrollbar?An.scrollHeight>An.clientHeight+1:!1,Gn;setTimeout(function(){Gn=Er.getScrollInfo()});var ui=Dr.bottom-Yr;if(ui>0){var zn=Dr.bottom-Dr.top,ri=Ae.top-(Ae.bottom-Dr.top);if(ri-zn>0)An.style.top=(or=Ae.top-zn-ts)+"px",Bn=!1;else if(zn>Yr){An.style.height=Yr-5+"px",An.style.top=(or=Ae.bottom-Dr.top-ts)+"px";var ht=Er.getCursor();It.from.ch!=ht.ch&&(Ae=Er.cursorCoords(ht),An.style.left=(rn=Ae.left-ti)+"px",Dr=An.getBoundingClientRect())}}var Ot=Dr.right-$r;if(cn&&(Ot+=Er.display.nativeBarWidth),Ot>0&&(Dr.right-Dr.left>$r&&(An.style.width=$r-5+"px",Ot-=Dr.right-Dr.left-$r),An.style.left=(rn=Math.max(Ae.left-Ot-ti,0))+"px"),cn)for(var vr=An.firstChild;vr;vr=vr.nextSibling)vr.style.paddingRight=Er.display.nativeBarWidth+"px";if(Er.addKeyMap(this.keyMap=Oe(At,{moveFocus:function(Ur,Dn){qt.changeActive(qt.selectedHint+Ur,Dn)},setFocus:function(Ur){qt.changeActive(Ur)},menuSize:function(){return qt.screenAmount()},length:oi.length,close:function(){At.close()},pick:function(){qt.pick()},data:It})),At.options.closeOnUnfocus){var _r;Er.on("blur",this.onBlur=function(){_r=setTimeout(function(){At.close()},100)}),Er.on("focus",this.onFocus=function(){clearTimeout(_r)})}Er.on("scroll",this.onScroll=function(){var Ur=Er.getScrollInfo(),Dn=Er.getWrapperElement().getBoundingClientRect();Gn||(Gn=Er.getScrollInfo());var _n=or+Gn.top-Ur.top,dn=_n-(Jn.pageYOffset||(an.documentElement||an.body).scrollTop);if(Bn||(dn+=An.offsetHeight),dn<=Dn.top||dn>=Dn.bottom)return At.close();An.style.top=_n+"px",An.style.left=rn+Gn.left-Ur.left+"px"}),l.on(An,"dblclick",function(Ur){var Dn=it(An,Ur.target||Ur.srcElement);Dn&&Dn.hintId!=null&&(qt.changeActive(Dn.hintId),qt.pick())}),l.on(An,"click",function(Ur){var Dn=it(An,Ur.target||Ur.srcElement);Dn&&Dn.hintId!=null&&(qt.changeActive(Dn.hintId),At.options.completeOnSingleClick&&qt.pick())}),l.on(An,"mousedown",function(){setTimeout(function(){Er.focus()},20)});var Kr=this.getSelectedHintRange();return(Kr.from!==0||Kr.to!==0)&&this.scrollToActive(),l.signal(It,"select",oi[this.selectedHint],An.childNodes[this.selectedHint]),!0}gt.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var At=this.completion.cm.getInputField();At.removeAttribute("aria-activedescendant"),At.removeAttribute("aria-owns");var It=this.completion.cm;this.completion.options.closeOnUnfocus&&(It.off("blur",this.onBlur),It.off("focus",this.onFocus)),It.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var At=this;this.keyMap={Enter:function(){At.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(At,It){if(At>=this.data.list.length?At=It?this.data.list.length-1:0:At<0&&(At=It?0:this.data.list.length-1),this.selectedHint!=At){var qt=this.hints.childNodes[this.selectedHint];qt&&(qt.className=qt.className.replace(" "+D,""),qt.removeAttribute("aria-selected")),qt=this.hints.childNodes[this.selectedHint=At],qt.className+=" "+D,qt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",qt.id),this.scrollToActive(),l.signal(this.data,"select",this.data.list[this.selectedHint],qt)}},scrollToActive:function(){var At=this.getSelectedHintRange(),It=this.hints.childNodes[At.from],qt=this.hints.childNodes[At.to],Er=this.hints.firstChild;It.offsetTop<this.hints.scrollTop?this.hints.scrollTop=It.offsetTop-Er.offsetTop:qt.offsetTop+qt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=qt.offsetTop+qt.offsetHeight-this.hints.clientHeight+Er.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var At=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-At),to:Math.min(this.data.list.length-1,this.selectedHint+At)}}};function St(At,It){if(!At.somethingSelected())return It;for(var qt=[],Er=0;Er<It.length;Er++)It[Er].supportsSelection&&qt.push(It[Er]);return qt}function Wt(At,It,qt,Er){if(At.async)At(It,Er,qt);else{var an=At(It,qt);an&&an.then?an.then(Er):Er(an)}}function ar(At,It){var qt=At.getHelpers(It,"hint"),Er;if(qt.length){var an=function(Jn,An,mi){var oi=St(Jn,qt);function Xn(Un){if(Un==oi.length)return An(null);Wt(oi[Un],Jn,mi,function(gi){gi&&gi.list.length>0?An(gi):Xn(Un+1)})}Xn(0)};return an.async=!0,an.supportsSelection=!0,an}else return(Er=At.getHelper(At.getCursor(),"hintWords"))?function(Jn){return l.hint.fromList(Jn,{words:Er})}:l.hint.anyword?function(Jn,An){return l.hint.anyword(Jn,An)}:function(){}}l.registerHelper("hint","auto",{resolve:ar}),l.registerHelper("hint","fromList",function(At,It){var qt=At.getCursor(),Er=At.getTokenAt(qt),an,Jn=l.Pos(qt.line,Er.start),An=qt;Er.start<qt.ch&&/\w/.test(Er.string.charAt(qt.ch-Er.start-1))?an=Er.string.substr(0,qt.ch-Er.start):(an="",Jn=qt);for(var mi=[],oi=0;oi<It.words.length;oi++){var Xn=It.words[oi];Xn.slice(0,an.length)==an&&mi.push(Xn)}if(mi.length)return{list:mi,from:Jn,to:An}}),l.commands.autocomplete=l.showHint;var Rr={hint:l.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};l.defineOption("hintOptions",null)})})();function FD(s,c,l={}){const f=TD.fromTextArea(s.value,{theme:"vars",...ws(l)});Ya(l,N=>Object.entries(N).forEach(([Y,pe])=>f.setOption(Y,pe)));let D=!1;return f.on("change",()=>{if(D){D=!1;return}c.value=f.getValue()}),Ya(c,N=>{if(N!==f.getValue()){D=!0;const Y=f.listSelections();f.replaceRange(N,f.posFromIndex(0),f.posFromIndex(1/0)),f.setSelections(Y)}},{immediate:!0}),f}const kD={relative:"","font-mono":"","text-sm":""},PD=Zu({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(s,{emit:c}){const l=s,f={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},D=Ba(),N=vD(l,"modelValue",c,{passive:!0}),Y=ea(()=>f[l.mode||""]||l.mode),pe=ea(()=>l.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),ye=ea(()=>l.getHint?{hint:l.getHint}:{});return Bh(async()=>{const Me=FD(D,N,Nc({...Ig(l),mode:Y,hintOptions:ye,extraKeys:pe}));Me.setSize("100%","100%"),l.getHint&&Me.on("keyup",(Wt,ar)=>{ar.key.match(/^[\w:-]$/)&&Wt.execCommand("autocomplete")}),setTimeout(()=>Me.refresh(),100);const Oe=[];function it(Wt,ar){Oe.push(Me.markText(Me.posFromIndex(Wt),Me.posFromIndex(ar),{className:"highlighted"}))}function gt(){Oe.forEach(Wt=>Wt.clear()),wD(l.modelValue,Array.from(l.matched||[]),!0).forEach(Wt=>it(Wt[0],Wt[1]))}let St=0;Ya(()=>[l.modelValue,l.matched],async()=>{clearTimeout(St),l.matched&&(St=setTimeout(gt,200))},{immediate:!0})}),(Me,Oe)=>(ya(),uo("div",kD,[Xi("textarea",{ref_key:"el",ref:D},null,512)]))}});const Dm=(s,c)=>{const l=s.__vccOpts||s;for(const[f,D]of c)l[f]=D;return l},ND={},BD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function _D(s,c){return ya(),uo("div",BD,[vp(s.$slots,"default")])}const ID=Dm(ND,[["render",_D]]),OD={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80",p1:"","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},LD={"mr-2":"","op-60":""},MD={flex:"","gap-2":"","flex-auto":""},jD=Zu({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(s,{emit:c}){return(l,f)=>(ya(),uo("div",OD,[Xi("div",{flex:"",onClick:f[0]||(f[0]=D=>c("titleClick",D))},[vp(l.$slots,"before"),Xi("div",LD,ko(s.title),1)]),Xi("div",MD,[vp(l.$slots,"default")])]))}}),RD="/@vite/client",vm=qc(),xm=qc(),UD=vm.on,Cm=xm.on;yh(()=>import(RD),[]).then(s=>{const c=s.createHotContext("/");c.on("vite:beforeUpdate",l=>{l.updates.forEach(f=>{vm.trigger(f)})}),c.on("unocss:config-changed",()=>{xm.trigger()})}).catch(s=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(s)});const Hp="/__unocss_api",Em=Up(Hp).json(),Uh=Up(`${Hp}/overview`,{immediate:!1}).json(),ro=Em.data,up=Uh.data;Cm(()=>{Em.execute(),Uh.execute()});function dx(s){const c=Up(ea(()=>`${Hp}/module?id=${encodeURIComponent(ws(s))}`),{refetch:!0}).json();return Cm(()=>c.execute()),UD(l=>{var f;(l.path===ws(s)||l.path===ws(s).slice(((f=ro.value)==null?void 0:f.root.length)||0))&&setTimeout(()=>{c.execute()},50)}),c}function mx(s,c){const l=xy(s,500);return Up(ea(()=>`${Hp}/repl?token=${encodeURIComponent(l.value)}&safelist=${c.value}`),{refetch:!0}).json()}const lp=ea(()=>{if(!ro.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const s=ro.value.modules.map(f=>({full:f,path:f})),c=s.filter(f=>f.full.startsWith(ro.value.root)),l=s.filter(f=>!f.full.startsWith(ro.value.root));return c.forEach(f=>f.path=f.path.slice(ro.value.root.length+1)),{workspace:$f(c,"Project Root"),root:$f(l,"Disk Root")}});function $f(s,c){const l={name:c,children:{},items:[]};function f(D,N,Y=l){if(N.length<=1){Y.items.push(D);return}const pe=N.shift();Y.children[pe]||(Y.children[pe]={name:pe,children:{},items:[]}),f(D,N,Y.children[pe])}return s.forEach(D=>{const N=D.path.split(/\//g).filter(Boolean);f(D,N)}),l}const zD={key:0,"ws-wrap":""},HD=Xi("span",{op80:""},".",-1),$D={key:1},qD=Zu({__name:"ModuleId",props:{id:null},setup(s){return(c,l)=>s.id&&ws(ro)?(ya(),uo("span",zD,[s.id.startsWith(ws(ro).root)?(ya(),uo(eu,{key:0},[HD,Xi("span",null,ko(s.id.slice(ws(ro).root.length)),1)],64)):(ya(),uo("span",$D,ko(s.id),1))])):bp("",!0)}}),VD=(s,c)=>{const l=Ba(null);return oD(s,()=>{var D;const f=(D=Rh(s))==null?void 0:D.clientHeight;l.value=f?`--${c}: calc(100vh - ${f}px - 2px);`:null}),l};var bm={exports:{}};(function(s,c){(function(l){s.exports=l()})(function(){var l=(_e,ce)=>()=>(ce||_e((ce={exports:{}}).exports,ce),ce.exports),f=l((_e,ce)=>{var me=function(be){return be&&be.Math==Math&&be};ce.exports=me(typeof globalThis=="object"&&globalThis)||me(typeof window=="object"&&window)||me(typeof self=="object"&&self)||me(typeof Hl=="object"&&Hl)||function(){return this}()||Function("return this")()}),D=l((_e,ce)=>{ce.exports=function(me){try{return!!me()}catch{return!0}}}),N=l((_e,ce)=>{var me=D();ce.exports=!me(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((_e,ce)=>{var me=D();ce.exports=!me(function(){var be=function(){}.bind();return typeof be!="function"||be.hasOwnProperty("prototype")})}),pe=l((_e,ce)=>{var me=Y(),be=Function.prototype.call;ce.exports=me?be.bind(be):function(){return be.apply(be,arguments)}}),ye=l(_e=>{var ce={}.propertyIsEnumerable,me=Object.getOwnPropertyDescriptor,be=me&&!ce.call({1:2},1);_e.f=be?function(Ee){var ze=me(this,Ee);return!!ze&&ze.enumerable}:ce}),Me=l((_e,ce)=>{ce.exports=function(me,be){return{enumerable:!(me&1),configurable:!(me&2),writable:!(me&4),value:be}}}),Oe=l((_e,ce)=>{var me=Y(),be=Function.prototype,Ee=be.bind,ze=be.call,Ke=me&&Ee.bind(ze,ze);ce.exports=me?function(ot){return ot&&Ke(ot)}:function(ot){return ot&&function(){return ze.apply(ot,arguments)}}}),it=l((_e,ce)=>{var me=Oe(),be=me({}.toString),Ee=me("".slice);ce.exports=function(ze){return Ee(be(ze),8,-1)}}),gt=l((_e,ce)=>{var me=f(),be=Oe(),Ee=D(),ze=it(),Ke=me.Object,ot=be("".split);ce.exports=Ee(function(){return!Ke("z").propertyIsEnumerable(0)})?function(Ct){return ze(Ct)=="String"?ot(Ct,""):Ke(Ct)}:Ke}),St=l((_e,ce)=>{var me=f(),be=me.TypeError;ce.exports=function(Ee){if(Ee==null)throw be("Can't call method on "+Ee);return Ee}}),Wt=l((_e,ce)=>{var me=gt(),be=St();ce.exports=function(Ee){return me(be(Ee))}}),ar=l((_e,ce)=>{ce.exports=function(me){return typeof me=="function"}}),Rr=l((_e,ce)=>{var me=ar();ce.exports=function(be){return typeof be=="object"?be!==null:me(be)}}),At=l((_e,ce)=>{var me=f(),be=ar(),Ee=function(ze){return be(ze)?ze:void 0};ce.exports=function(ze,Ke){return arguments.length<2?Ee(me[ze]):me[ze]&&me[ze][Ke]}}),It=l((_e,ce)=>{var me=Oe();ce.exports=me({}.isPrototypeOf)}),qt=l((_e,ce)=>{var me=At();ce.exports=me("navigator","userAgent")||""}),Er=l((_e,ce)=>{var me=f(),be=qt(),Ee=me.process,ze=me.Deno,Ke=Ee&&Ee.versions||ze&&ze.version,ot=Ke&&Ke.v8,Ct,Kt;ot&&(Ct=ot.split("."),Kt=Ct[0]>0&&Ct[0]<4?1:+(Ct[0]+Ct[1])),!Kt&&be&&(Ct=be.match(/Edge\/(\d+)/),(!Ct||Ct[1]>=74)&&(Ct=be.match(/Chrome\/(\d+)/),Ct&&(Kt=+Ct[1]))),ce.exports=Kt}),an=l((_e,ce)=>{var me=Er(),be=D();ce.exports=!!Object.getOwnPropertySymbols&&!be(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&me&&me<41})}),Jn=l((_e,ce)=>{var me=an();ce.exports=me&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((_e,ce)=>{var me=f(),be=At(),Ee=ar(),ze=It(),Ke=Jn(),ot=me.Object;ce.exports=Ke?function(Ct){return typeof Ct=="symbol"}:function(Ct){var Kt=be("Symbol");return Ee(Kt)&&ze(Kt.prototype,ot(Ct))}}),mi=l((_e,ce)=>{var me=f(),be=me.String;ce.exports=function(Ee){try{return be(Ee)}catch{return"Object"}}}),oi=l((_e,ce)=>{var me=f(),be=ar(),Ee=mi(),ze=me.TypeError;ce.exports=function(Ke){if(be(Ke))return Ke;throw ze(Ee(Ke)+" is not a function")}}),Xn=l((_e,ce)=>{var me=oi();ce.exports=function(be,Ee){var ze=be[Ee];return ze==null?void 0:me(ze)}}),Un=l((_e,ce)=>{var me=f(),be=pe(),Ee=ar(),ze=Rr(),Ke=me.TypeError;ce.exports=function(ot,Ct){var Kt,ur;if(Ct==="string"&&Ee(Kt=ot.toString)&&!ze(ur=be(Kt,ot))||Ee(Kt=ot.valueOf)&&!ze(ur=be(Kt,ot))||Ct!=="string"&&Ee(Kt=ot.toString)&&!ze(ur=be(Kt,ot)))return ur;throw Ke("Can't convert object to primitive value")}}),gi=l((_e,ce)=>{ce.exports=!1}),xr=l((_e,ce)=>{var me=f(),be=Object.defineProperty;ce.exports=function(Ee,ze){try{be(me,Ee,{value:ze,configurable:!0,writable:!0})}catch{me[Ee]=ze}return ze}}),Nn=l((_e,ce)=>{var me=f(),be=xr(),Ee="__core-js_shared__",ze=me[Ee]||be(Ee,{});ce.exports=ze}),Ae=l((_e,ce)=>{var me=gi(),be=Nn();(ce.exports=function(Ee,ze){return be[Ee]||(be[Ee]=ze!==void 0?ze:{})})("versions",[]).push({version:"3.22.2",mode:me?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),rn=l((_e,ce)=>{var me=f(),be=St(),Ee=me.Object;ce.exports=function(ze){return Ee(be(ze))}}),or=l((_e,ce)=>{var me=Oe(),be=rn(),Ee=me({}.hasOwnProperty);ce.exports=Object.hasOwn||function(ze,Ke){return Ee(be(ze),Ke)}}),Bn=l((_e,ce)=>{var me=Oe(),be=0,Ee=Math.random(),ze=me(1 .toString);ce.exports=function(Ke){return"Symbol("+(Ke===void 0?"":Ke)+")_"+ze(++be+Ee,36)}}),ti=l((_e,ce)=>{var me=f(),be=Ae(),Ee=or(),ze=Bn(),Ke=an(),ot=Jn(),Ct=be("wks"),Kt=me.Symbol,ur=Kt&&Kt.for,Cr=ot?Kt:Kt&&Kt.withoutSetter||ze;ce.exports=function(Br){if(!Ee(Ct,Br)||!(Ke||typeof Ct[Br]=="string")){var tn="Symbol."+Br;Ke&&Ee(Kt,Br)?Ct[Br]=Kt[Br]:ot&&ur?Ct[Br]=ur(tn):Ct[Br]=Cr(tn)}return Ct[Br]}}),ts=l((_e,ce)=>{var me=f(),be=pe(),Ee=Rr(),ze=An(),Ke=Xn(),ot=Un(),Ct=ti(),Kt=me.TypeError,ur=Ct("toPrimitive");ce.exports=function(Cr,Br){if(!Ee(Cr)||ze(Cr))return Cr;var tn=Ke(Cr,ur),sn;if(tn){if(Br===void 0&&(Br="default"),sn=be(tn,Cr,Br),!Ee(sn)||ze(sn))return sn;throw Kt("Can't convert object to primitive value")}return Br===void 0&&(Br="number"),ot(Cr,Br)}}),Cs=l((_e,ce)=>{var me=ts(),be=An();ce.exports=function(Ee){var ze=me(Ee,"string");return be(ze)?ze:ze+""}}),_s=l((_e,ce)=>{var me=f(),be=Rr(),Ee=me.document,ze=be(Ee)&&be(Ee.createElement);ce.exports=function(Ke){return ze?Ee.createElement(Ke):{}}}),Zi=l((_e,ce)=>{var me=N(),be=D(),Ee=_s();ce.exports=!me&&!be(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})}),ls=l(_e=>{var ce=N(),me=pe(),be=ye(),Ee=Me(),ze=Wt(),Ke=Cs(),ot=or(),Ct=Zi(),Kt=Object.getOwnPropertyDescriptor;_e.f=ce?Kt:function(ur,Cr){if(ur=ze(ur),Cr=Ke(Cr),Ct)try{return Kt(ur,Cr)}catch{}if(ot(ur,Cr))return Ee(!me(be.f,ur,Cr),ur[Cr])}}),$r=l((_e,ce)=>{var me=N(),be=D();ce.exports=me&&be(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Yr=l((_e,ce)=>{var me=f(),be=Rr(),Ee=me.String,ze=me.TypeError;ce.exports=function(Ke){if(be(Ke))return Ke;throw ze(Ee(Ke)+" is not an object")}}),Dr=l(_e=>{var ce=f(),me=N(),be=Zi(),Ee=$r(),ze=Yr(),Ke=Cs(),ot=ce.TypeError,Ct=Object.defineProperty,Kt=Object.getOwnPropertyDescriptor,ur="enumerable",Cr="configurable",Br="writable";_e.f=me?Ee?function(tn,sn,kr){if(ze(tn),sn=Ke(sn),ze(kr),typeof tn=="function"&&sn==="prototype"&&"value"in kr&&Br in kr&&!kr[Br]){var Fn=Kt(tn,sn);Fn&&Fn[Br]&&(tn[sn]=kr.value,kr={configurable:Cr in kr?kr[Cr]:Fn[Cr],enumerable:ur in kr?kr[ur]:Fn[ur],writable:!1})}return Ct(tn,sn,kr)}:Ct:function(tn,sn,kr){if(ze(tn),sn=Ke(sn),ze(kr),be)try{return Ct(tn,sn,kr)}catch{}if("get"in kr||"set"in kr)throw ot("Accessors not supported");return"value"in kr&&(tn[sn]=kr.value),tn}}),cn=l((_e,ce)=>{var me=N(),be=Dr(),Ee=Me();ce.exports=me?function(ze,Ke,ot){return be.f(ze,Ke,Ee(1,ot))}:function(ze,Ke,ot){return ze[Ke]=ot,ze}}),Gn=l((_e,ce)=>{var me=Oe(),be=ar(),Ee=Nn(),ze=me(Function.toString);be(Ee.inspectSource)||(Ee.inspectSource=function(Ke){return ze(Ke)}),ce.exports=Ee.inspectSource}),ui=l((_e,ce)=>{var me=f(),be=ar(),Ee=Gn(),ze=me.WeakMap;ce.exports=be(ze)&&/native code/.test(Ee(ze))}),zn=l((_e,ce)=>{var me=Ae(),be=Bn(),Ee=me("keys");ce.exports=function(ze){return Ee[ze]||(Ee[ze]=be(ze))}}),ri=l((_e,ce)=>{ce.exports={}}),ht=l((_e,ce)=>{var me=ui(),be=f(),Ee=Oe(),ze=Rr(),Ke=cn(),ot=or(),Ct=Nn(),Kt=zn(),ur=ri(),Cr="Object already initialized",Br=be.TypeError,tn=be.WeakMap,sn,kr,Fn,hi=function(Si){return Fn(Si)?kr(Si):sn(Si,{})},Cn=function(Si){return function(Ji){var Qn;if(!ze(Ji)||(Qn=kr(Ji)).type!==Si)throw Br("Incompatible receiver, "+Si+" required");return Qn}};me||Ct.state?($i=Ct.state||(Ct.state=new tn),rs=Ee($i.get),dt=Ee($i.has),Vi=Ee($i.set),sn=function(Si,Ji){if(dt($i,Si))throw new Br(Cr);return Ji.facade=Si,Vi($i,Si,Ji),Ji},kr=function(Si){return rs($i,Si)||{}},Fn=function(Si){return dt($i,Si)}):(pn=Kt("state"),ur[pn]=!0,sn=function(Si,Ji){if(ot(Si,pn))throw new Br(Cr);return Ji.facade=Si,Ke(Si,pn,Ji),Ji},kr=function(Si){return ot(Si,pn)?Si[pn]:{}},Fn=function(Si){return ot(Si,pn)});var $i,rs,dt,Vi,pn;ce.exports={set:sn,get:kr,has:Fn,enforce:hi,getterFor:Cn}}),Ot=l((_e,ce)=>{var me=N(),be=or(),Ee=Function.prototype,ze=me&&Object.getOwnPropertyDescriptor,Ke=be(Ee,"name"),ot=Ke&&function(){}.name==="something",Ct=Ke&&(!me||me&&ze(Ee,"name").configurable);ce.exports={EXISTS:Ke,PROPER:ot,CONFIGURABLE:Ct}}),vr=l((_e,ce)=>{var me=f(),be=ar(),Ee=or(),ze=cn(),Ke=xr(),ot=Gn(),Ct=ht(),Kt=Ot().CONFIGURABLE,ur=Ct.get,Cr=Ct.enforce,Br=String(String).split("String");(ce.exports=function(tn,sn,kr,Fn){var hi=Fn?!!Fn.unsafe:!1,Cn=Fn?!!Fn.enumerable:!1,$i=Fn?!!Fn.noTargetGet:!1,rs=Fn&&Fn.name!==void 0?Fn.name:sn,dt;if(be(kr)&&(String(rs).slice(0,7)==="Symbol("&&(rs="["+String(rs).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(kr,"name")||Kt&&kr.name!==rs)&&ze(kr,"name",rs),dt=Cr(kr),dt.source||(dt.source=Br.join(typeof rs=="string"?rs:""))),tn===me){Cn?tn[sn]=kr:Ke(sn,kr);return}else hi?!$i&&tn[sn]&&(Cn=!0):delete tn[sn];Cn?tn[sn]=kr:ze(tn,sn,kr)})(Function.prototype,"toString",function(){return be(this)&&ur(this).source||ot(this)})}),_r=l((_e,ce)=>{var me=Math.ceil,be=Math.floor;ce.exports=function(Ee){var ze=+Ee;return ze!==ze||ze===0?0:(ze>0?be:me)(ze)}}),Kr=l((_e,ce)=>{var me=_r(),be=Math.max,Ee=Math.min;ce.exports=function(ze,Ke){var ot=me(ze);return ot<0?be(ot+Ke,0):Ee(ot,Ke)}}),Ur=l((_e,ce)=>{var me=_r(),be=Math.min;ce.exports=function(Ee){return Ee>0?be(me(Ee),9007199254740991):0}}),Dn=l((_e,ce)=>{var me=Ur();ce.exports=function(be){return me(be.length)}}),_n=l((_e,ce)=>{var me=Wt(),be=Kr(),Ee=Dn(),ze=function(Ke){return function(ot,Ct,Kt){var ur=me(ot),Cr=Ee(ur),Br=be(Kt,Cr),tn;if(Ke&&Ct!=Ct){for(;Cr>Br;)if(tn=ur[Br++],tn!=tn)return!0}else for(;Cr>Br;Br++)if((Ke||Br in ur)&&ur[Br]===Ct)return Ke||Br||0;return!Ke&&-1}};ce.exports={includes:ze(!0),indexOf:ze(!1)}}),dn=l((_e,ce)=>{var me=Oe(),be=or(),Ee=Wt(),ze=_n().indexOf,Ke=ri(),ot=me([].push);ce.exports=function(Ct,Kt){var ur=Ee(Ct),Cr=0,Br=[],tn;for(tn in ur)!be(Ke,tn)&&be(ur,tn)&&ot(Br,tn);for(;Kt.length>Cr;)be(ur,tn=Kt[Cr++])&&(~ze(Br,tn)||ot(Br,tn));return Br}}),ct=l((_e,ce)=>{ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),wr=l(_e=>{var ce=dn(),me=ct(),be=me.concat("length","prototype");_e.f=Object.getOwnPropertyNames||function(Ee){return ce(Ee,be)}}),Rt=l(_e=>{_e.f=Object.getOwnPropertySymbols}),Mn=l((_e,ce)=>{var me=At(),be=Oe(),Ee=wr(),ze=Rt(),Ke=Yr(),ot=be([].concat);ce.exports=me("Reflect","ownKeys")||function(Ct){var Kt=Ee.f(Ke(Ct)),ur=ze.f;return ur?ot(Kt,ur(Ct)):Kt}}),bi=l((_e,ce)=>{var me=or(),be=Mn(),Ee=ls(),ze=Dr();ce.exports=function(Ke,ot,Ct){for(var Kt=be(ot),ur=ze.f,Cr=Ee.f,Br=0;Br<Kt.length;Br++){var tn=Kt[Br];!me(Ke,tn)&&!(Ct&&me(Ct,tn))&&ur(Ke,tn,Cr(ot,tn))}}}),cs=l((_e,ce)=>{var me=D(),be=ar(),Ee=/#|\.prototype\./,ze=function(ur,Cr){var Br=ot[Ke(ur)];return Br==Kt?!0:Br==Ct?!1:be(Cr)?me(Cr):!!Cr},Ke=ze.normalize=function(ur){return String(ur).replace(Ee,".").toLowerCase()},ot=ze.data={},Ct=ze.NATIVE="N",Kt=ze.POLYFILL="P";ce.exports=ze}),ds=l((_e,ce)=>{var me=f(),be=ls().f,Ee=cn(),ze=vr(),Ke=xr(),ot=bi(),Ct=cs();ce.exports=function(Kt,ur){var Cr=Kt.target,Br=Kt.global,tn=Kt.stat,sn,kr,Fn,hi,Cn,$i;if(Br?kr=me:tn?kr=me[Cr]||Ke(Cr,{}):kr=(me[Cr]||{}).prototype,kr)for(Fn in ur){if(Cn=ur[Fn],Kt.noTargetGet?($i=be(kr,Fn),hi=$i&&$i.value):hi=kr[Fn],sn=Ct(Br?Fn:Cr+(tn?".":"#")+Fn,Kt.forced),!sn&&hi!==void 0){if(typeof Cn==typeof hi)continue;ot(Cn,hi)}(Kt.sham||hi&&hi.sham)&&Ee(Cn,"sham",!0),ze(kr,Fn,Cn,Kt)}}}),ms=l((_e,ce)=>{var me=it();ce.exports=Array.isArray||function(be){return me(be)=="Array"}}),Hi=l((_e,ce)=>{var me=Oe(),be=oi(),Ee=Y(),ze=me(me.bind);ce.exports=function(Ke,ot){return be(Ke),ot===void 0?Ke:Ee?ze(Ke,ot):function(){return Ke.apply(ot,arguments)}}}),Ws=l((_e,ce)=>{var me=f(),be=ms(),Ee=Dn(),ze=Hi(),Ke=me.TypeError,ot=function(Ct,Kt,ur,Cr,Br,tn,sn,kr){for(var Fn=Br,hi=0,Cn=sn?ze(sn,kr):!1,$i,rs;hi<Cr;){if(hi in ur){if($i=Cn?Cn(ur[hi],hi,Kt):ur[hi],tn>0&&be($i))rs=Ee($i),Fn=ot(Ct,Kt,$i,rs,Fn,tn-1)-1;else{if(Fn>=9007199254740991)throw Ke("Exceed the acceptable array length");Ct[Fn]=$i}Fn++}hi++}return Fn};ce.exports=ot}),Vn=l((_e,ce)=>{var me=ti(),be=me("toStringTag"),Ee={};Ee[be]="z",ce.exports=String(Ee)==="[object z]"}),Pr=l((_e,ce)=>{var me=f(),be=Vn(),Ee=ar(),ze=it(),Ke=ti(),ot=Ke("toStringTag"),Ct=me.Object,Kt=ze(function(){return arguments}())=="Arguments",ur=function(Cr,Br){try{return Cr[Br]}catch{}};ce.exports=be?ze:function(Cr){var Br,tn,sn;return Cr===void 0?"Undefined":Cr===null?"Null":typeof(tn=ur(Br=Ct(Cr),ot))=="string"?tn:Kt?ze(Br):(sn=ze(Br))=="Object"&&Ee(Br.callee)?"Arguments":sn}}),Nr=l((_e,ce)=>{var me=Oe(),be=D(),Ee=ar(),ze=Pr(),Ke=At(),ot=Gn(),Ct=function(){},Kt=[],ur=Ke("Reflect","construct"),Cr=/^\s*(?:class|function)\b/,Br=me(Cr.exec),tn=!Cr.exec(Ct),sn=function(Fn){if(!Ee(Fn))return!1;try{return ur(Ct,Kt,Fn),!0}catch{return!1}},kr=function(Fn){if(!Ee(Fn))return!1;switch(ze(Fn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return tn||!!Br(Cr,ot(Fn))}catch{return!0}};kr.sham=!0,ce.exports=!ur||be(function(){var Fn;return sn(sn.call)||!sn(Object)||!sn(function(){Fn=!0})||Fn})?kr:sn}),Lr=l((_e,ce)=>{var me=f(),be=ms(),Ee=Nr(),ze=Rr(),Ke=ti(),ot=Ke("species"),Ct=me.Array;ce.exports=function(Kt){var ur;return be(Kt)&&(ur=Kt.constructor,Ee(ur)&&(ur===Ct||be(ur.prototype))?ur=void 0:ze(ur)&&(ur=ur[ot],ur===null&&(ur=void 0))),ur===void 0?Ct:ur}}),Wr=l((_e,ce)=>{var me=Lr();ce.exports=function(be,Ee){return new(me(be))(Ee===0?0:Ee)}}),_t=l(()=>{var _e=ds(),ce=Ws(),me=oi(),be=rn(),Ee=Dn(),ze=Wr();_e({target:"Array",proto:!0},{flatMap:function(Ke){var ot=be(this),Ct=Ee(ot),Kt;return me(Ke),Kt=ze(ot,0),Kt.length=ce(Kt,ot,ot,Ct,0,1,Ke,arguments.length>1?arguments[1]:void 0),Kt}})}),Wn=l((_e,ce)=>{ce.exports={}}),Xt=l((_e,ce)=>{var me=ti(),be=Wn(),Ee=me("iterator"),ze=Array.prototype;ce.exports=function(Ke){return Ke!==void 0&&(be.Array===Ke||ze[Ee]===Ke)}}),On=l((_e,ce)=>{var me=Pr(),be=Xn(),Ee=Wn(),ze=ti(),Ke=ze("iterator");ce.exports=function(ot){if(ot!=null)return be(ot,Ke)||be(ot,"@@iterator")||Ee[me(ot)]}}),yr=l((_e,ce)=>{var me=f(),be=pe(),Ee=oi(),ze=Yr(),Ke=mi(),ot=On(),Ct=me.TypeError;ce.exports=function(Kt,ur){var Cr=arguments.length<2?ot(Kt):ur;if(Ee(Cr))return ze(be(Cr,Kt));throw Ct(Ke(Kt)+" is not iterable")}}),Lt=l((_e,ce)=>{var me=pe(),be=Yr(),Ee=Xn();ce.exports=function(ze,Ke,ot){var Ct,Kt;be(ze);try{if(Ct=Ee(ze,"return"),!Ct){if(Ke==="throw")throw ot;return ot}Ct=me(Ct,ze)}catch(ur){Kt=!0,Ct=ur}if(Ke==="throw")throw ot;if(Kt)throw Ct;return be(Ct),ot}}),je=l((_e,ce)=>{var me=f(),be=Hi(),Ee=pe(),ze=Yr(),Ke=mi(),ot=Xt(),Ct=Dn(),Kt=It(),ur=yr(),Cr=On(),Br=Lt(),tn=me.TypeError,sn=function(Fn,hi){this.stopped=Fn,this.result=hi},kr=sn.prototype;ce.exports=function(Fn,hi,Cn){var $i=Cn&&Cn.that,rs=!!(Cn&&Cn.AS_ENTRIES),dt=!!(Cn&&Cn.IS_ITERATOR),Vi=!!(Cn&&Cn.INTERRUPTED),pn=be(hi,$i),Si,Ji,Qn,Wi,Is,_,st,Dt=function(li){return Si&&Br(Si,"normal",li),new sn(!0,li)},mr=function(li){return rs?(ze(li),Vi?pn(li[0],li[1],Dt):pn(li[0],li[1])):Vi?pn(li,Dt):pn(li)};if(dt)Si=Fn;else{if(Ji=Cr(Fn),!Ji)throw tn(Ke(Fn)+" is not iterable");if(ot(Ji)){for(Qn=0,Wi=Ct(Fn);Wi>Qn;Qn++)if(Is=mr(Fn[Qn]),Is&&Kt(kr,Is))return Is;return new sn(!1)}Si=ur(Fn,Ji)}for(_=Si.next;!(st=Ee(_,Si)).done;){try{Is=mr(st.value)}catch(li){Br(Si,"throw",li)}if(typeof Is=="object"&&Is&&Kt(kr,Is))return Is}return new sn(!1)}}),Bt=l((_e,ce)=>{var me=Cs(),be=Dr(),Ee=Me();ce.exports=function(ze,Ke,ot){var Ct=me(Ke);Ct in ze?be.f(ze,Ct,Ee(0,ot)):ze[Ct]=ot}}),Ht=l(()=>{var _e=ds(),ce=je(),me=Bt();_e({target:"Object",stat:!0},{fromEntries:function(be){var Ee={};return ce(be,function(ze,Ke){me(Ee,ze,Ke)},{AS_ENTRIES:!0}),Ee}})}),nr=l(()=>{var _e=ds(),ce=f();_e({global:!0},{globalThis:ce})}),Mr=l(()=>{nr()}),nn=l(()=>{var _e=ds(),ce=Ws(),me=rn(),be=Dn(),Ee=_r(),ze=Wr();_e({target:"Array",proto:!0},{flat:function(){var Ke=arguments.length?arguments[0]:void 0,ot=me(this),Ct=be(ot),Kt=ze(ot,0);return Kt.length=ce(Kt,ot,ot,Ct,0,Ke===void 0?1:Ee(Ke)),Kt}})}),Ut=l((_e,ce)=>{var me=["cliName","cliCategory","cliDescription"],be=["_"],Ee=["languageId"],ze,Ke,ot,Ct,Kt,ur;function Cr(d,A){if(d==null)return{};var m=Br(d,A),b,E;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(d);for(E=0;E<g.length;E++)b=g[E],!(A.indexOf(b)>=0)&&(!Object.prototype.propertyIsEnumerable.call(d,b)||(m[b]=d[b]))}return m}function Br(d,A){if(d==null)return{};var m={},b=Object.keys(d),E,g;for(g=0;g<b.length;g++)E=b[g],!(A.indexOf(E)>=0)&&(m[E]=d[E]);return m}_t(),Ht(),Mr(),nn();function tn(d,A){return A||(A=d.slice(0)),Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(A)}}))}var sn=Object.create,kr=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,hi=Object.getOwnPropertyNames,Cn=Object.getPrototypeOf,$i=Object.prototype.hasOwnProperty,rs=(d,A)=>function(){return d&&(A=(0,d[hi(d)[0]])(d=0)),A},dt=(d,A)=>function(){return A||(0,d[hi(d)[0]])((A={exports:{}}).exports,A),A.exports},Vi=(d,A)=>{for(var m in A)kr(d,m,{get:A[m],enumerable:!0})},pn=(d,A,m,b)=>{if(A&&typeof A=="object"||typeof A=="function")for(let E of hi(A))!$i.call(d,E)&&E!==m&&kr(d,E,{get:()=>A[E],enumerable:!(b=Fn(A,E))||b.enumerable});return d},Si=(d,A,m)=>(m=d!=null?sn(Cn(d)):{},pn(A||!d||!d.__esModule?kr(m,"default",{value:d,enumerable:!0}):m,d)),Ji=d=>pn(kr({},"__esModule",{value:!0}),d),Qn,Wi,Is,_=rs({"<define:process>"(){Qn={},Wi=[],Is={env:Qn,argv:Wi}}}),st=dt({"package.json"(d,A){A.exports={version:"2.7.1"}}}),Dt=dt({"node_modules/diff/lib/diff/base.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.default=A;function A(){}A.prototype={diff:function(E,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=v.callback;typeof v=="function"&&(w=v,v={}),this.options=v;var F=this;function B(J){return w?(setTimeout(function(){w(void 0,J)},0),!0):J}E=this.castInput(E),g=this.castInput(g),E=this.removeEmpty(this.tokenize(E)),g=this.removeEmpty(this.tokenize(g));var H=g.length,R=E.length,V=1,I=H+R,L=[{newPos:-1,components:[]}],z=this.extractCommon(L[0],g,E,0);if(L[0].newPos+1>=H&&z+1>=R)return B([{value:this.join(g),count:g.length}]);function le(){for(var J=-1*V;J<=V;J+=2){var ee=void 0,ue=L[J-1],ge=L[J+1],de=(ge?ge.newPos:0)-J;ue&&(L[J-1]=void 0);var De=ue&&ue.newPos+1<H,W=ge&&0<=de&&de<R;if(!De&&!W){L[J]=void 0;continue}if(!De||W&&ue.newPos<ge.newPos?(ee=b(ge),F.pushComponent(ee.components,void 0,!0)):(ee=ue,ee.newPos++,F.pushComponent(ee.components,!0,void 0)),de=F.extractCommon(ee,g,E,J),ee.newPos+1>=H&&de+1>=R)return B(m(F,ee.components,g,E,F.useLongestToken));L[J]=ee}V++}if(w)(function J(){setTimeout(function(){if(V>I)return w();le()||J()},0)})();else for(;V<=I;){var fe=le();if(fe)return fe}},pushComponent:function(E,g,v){var w=E[E.length-1];w&&w.added===g&&w.removed===v?E[E.length-1]={count:w.count+1,added:g,removed:v}:E.push({count:1,added:g,removed:v})},extractCommon:function(E,g,v,w){for(var F=g.length,B=v.length,H=E.newPos,R=H-w,V=0;H+1<F&&R+1<B&&this.equals(g[H+1],v[R+1]);)H++,R++,V++;return V&&E.components.push({count:V}),E.newPos=H,R},equals:function(E,g){return this.options.comparator?this.options.comparator(E,g):E===g||this.options.ignoreCase&&E.toLowerCase()===g.toLowerCase()},removeEmpty:function(E){for(var g=[],v=0;v<E.length;v++)E[v]&&g.push(E[v]);return g},castInput:function(E){return E},tokenize:function(E){return E.split("")},join:function(E){return E.join("")}};function m(E,g,v,w,F){for(var B=0,H=g.length,R=0,V=0;B<H;B++){var I=g[B];if(I.removed){if(I.value=E.join(w.slice(V,V+I.count)),V+=I.count,B&&g[B-1].added){var L=g[B-1];g[B-1]=g[B],g[B]=L}}else{if(!I.added&&F){var z=v.slice(R,R+I.count);z=z.map(function(fe,J){var ee=w[V+J];return ee.length>fe.length?ee:fe}),I.value=E.join(z)}else I.value=E.join(v.slice(R,R+I.count));R+=I.count,I.added||(V+=I.count)}}var le=g[H-1];return H>1&&typeof le.value=="string"&&(le.added||le.removed)&&E.equals("",le.value)&&(g[H-2].value+=le.value,g.pop()),g}function b(E){return{newPos:E.newPos,components:E.components.slice(0)}}}}),mr=dt({"node_modules/diff/lib/diff/array.js"(d){_(),Object.defineProperty(d,"__esModule",{value:!0}),d.diffArrays=E,d.arrayDiff=void 0;var A=m(Dt());function m(g){return g&&g.__esModule?g:{default:g}}var b=new A.default;d.arrayDiff=b,b.tokenize=function(g){return g.slice()},b.join=b.removeEmpty=function(g){return g};function E(g,v,w){return b.diff(g,v,w)}}}),li=dt({"src/document/doc-builders.js"(d,A){_();function m(X){return{type:"concat",parts:X}}function b(X){return{type:"indent",contents:X}}function E(X,P){return{type:"align",contents:P,n:X}}function g(X){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:P.id,contents:X,break:Boolean(P.shouldBreak),expandedStates:P.expandedStates}}function v(X){return E(Number.NEGATIVE_INFINITY,X)}function w(X){return E({type:"root"},X)}function F(X){return E(-1,X)}function B(X,P){return g(X[0],Object.assign(Object.assign({},P),{},{expandedStates:X}))}function H(X){return{type:"fill",parts:X}}function R(X,P){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:X,flatContents:P,groupId:G.groupId}}function V(X,P){return{type:"indent-if-break",contents:X,groupId:P.groupId,negate:P.negate}}function I(X){return{type:"line-suffix",contents:X}}var L={type:"line-suffix-boundary"},z={type:"break-parent"},le={type:"trim"},fe={type:"line",hard:!0},J={type:"line",hard:!0,literal:!0},ee={type:"line"},ue={type:"line",soft:!0},ge=m([fe,z]),de=m([J,z]),De={type:"cursor",placeholder:Symbol("cursor")};function W(X,P){let G=[];for(let q=0;q<P.length;q++)q!==0&&G.push(X),G.push(P[q]);return m(G)}function M(X,P,G){let q=X;if(P>0){for(let se=0;se<Math.floor(P/G);++se)q=b(q);q=E(P%G,q),q=E(Number.NEGATIVE_INFINITY,q)}return q}function U(X,P){return{type:"label",label:X,contents:P}}A.exports={concat:m,join:W,line:ee,softline:ue,hardline:ge,literalline:de,group:g,conditionalGroup:B,fill:H,lineSuffix:I,lineSuffixBoundary:L,cursor:De,breakParent:z,ifBreak:R,trim:le,indent:b,indentIfBreak:V,align:E,addAlignmentToDoc:M,markAsRoot:w,dedentToRoot:v,dedent:F,hardlineWithoutBreakParent:fe,literallineWithoutBreakParent:J,label:U}}}),ps=dt({"src/common/end-of-line.js"(d,A){_();function m(v){let w=v.indexOf("\r");return w>=0?v.charAt(w+1)===`
|
|
25
25
|
`?"crlf":"cr":"lf"}function b(v){switch(v){case"cr":return"\r";case"crlf":return`\r
|
|
26
26
|
`;default:return`
|
|
27
27
|
`}}function E(v,w){let F;switch(w){case`
|
|
@@ -273,10 +273,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
273
273
|
`:`\r
|
|
274
274
|
`):p=String.fromCharCode(o),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(t){let o="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(mt.UnterminatedString,{at:this.state.startLoc});let y=this.input.charCodeAt(this.state.pos);if(y===t)break;y===38?(o+=this.input.slice(p,this.state.pos),o+=this.jsxReadEntity(),p=this.state.pos):Go(y)?(o+=this.input.slice(p,this.state.pos),o+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}return o+=this.input.slice(p,this.state.pos++),this.finishToken(129,o)}jsxReadEntity(){let t=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let o=10;this.codePointAtPos(this.state.pos)===120&&(o=16,++this.state.pos);let p=this.readInt(o,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let o=0,p=!1;for(;o++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(p){let y=this.input.slice(t,this.state.pos),$=Fe[y];if(++this.state.pos,$)return $}}return this.state.pos=t,"&"}jsxReadWord(){let t,o=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(ta(t)||t===45);return this.finishToken(136,this.input.slice(o,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(136)?t.name=this.state.value:yt(this.state.type)?t.name=Ms(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.start,o=this.state.startLoc,p=this.jsxParseIdentifier();if(!this.eat(14))return p;let y=this.startNodeAt(t,o);return y.namespace=p,y.name=this.jsxParseIdentifier(),this.finishNode(y,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.start,o=this.state.startLoc,p=this.jsxParseNamespacedName();if(p.type==="JSXNamespacedName")return p;for(;this.eat(16);){let y=this.startNodeAt(t,o);y.object=p,y.property=this.jsxParseIdentifier(),p=this.finishNode(y,"JSXMemberExpression")}return p}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(Bi.brace),this.next(),t=this.jsxParseExpressionContainer(t,Bi.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(Xe.AttributeIsEmpty,{at:t}),t;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Xe.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let t=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(Bi.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,o){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{let p=this.parseExpression();t.expression=p}return this.setContext(o),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){let t=this.startNode();return this.match(5)?(this.setContext(Bi.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(Bi.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsxParseOpeningElementAt(t,o){let p=this.startNodeAt(t,o);return this.eat(139)?this.finishNode(p,"JSXOpeningFragment"):(p.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(p))}jsxParseOpeningElementAfterName(t){let o=[];for(;!this.match(56)&&!this.match(139);)o.push(this.jsxParseAttribute());return t.attributes=o,t.selfClosing=this.eat(56),this.expect(139),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t,o){let p=this.startNodeAt(t,o);return this.eat(139)?this.finishNode(p,"JSXClosingFragment"):(p.name=this.jsxParseElementName(),this.expect(139),this.finishNode(p,"JSXClosingElement"))}jsxParseElementAt(t,o){let p=this.startNodeAt(t,o),y=[],$=this.jsxParseOpeningElementAt(t,o),he=null;if(!$.selfClosing){e:for(;;)switch(this.state.type){case 138:if(t=this.state.start,o=this.state.startLoc,this.next(),this.eat(56)){he=this.jsxParseClosingElementAt(t,o);break e}y.push(this.jsxParseElementAt(t,o));break;case 137:y.push(this.parseExprAtom());break;case 5:{let Qe=this.startNode();this.setContext(Bi.brace),this.next(),this.match(21)?y.push(this.jsxParseSpreadChild(Qe)):y.push(this.jsxParseExpressionContainer(Qe,Bi.j_expr));break}default:throw this.unexpected()}Ge($)&&!Ge(he)&&he!==null?this.raise(Xe.MissingClosingTagFragment,{at:he}):!Ge($)&&Ge(he)?this.raise(Xe.MissingClosingTagElement,{at:he,openingTagName:Ne($.name)}):!Ge($)&&!Ge(he)&&Ne(he.name)!==Ne($.name)&&this.raise(Xe.MissingClosingTagElement,{at:he,openingTagName:Ne($.name)})}if(Ge($)?(p.openingFragment=$,p.closingFragment=he):(p.openingElement=$,p.closingElement=he),p.children=y,this.match(47))throw this.raise(Xe.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Ge($)?this.finishNode(p,"JSXFragment"):this.finishNode(p,"JSXElement")}jsxParseElement(){let t=this.state.start,o=this.state.startLoc;return this.next(),this.jsxParseElementAt(t,o)}setContext(t){let{context:o}=this.state;o[o.length-1]=t}parseExprAtom(t){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){let o=this.curContext();if(o===Bi.j_expr)return this.jsxReadToken();if(o===Bi.j_oTag||o===Bi.j_cTag){if(Ts(t))return this.jsxReadWord();if(t===62)return++this.state.pos,this.finishToken(139);if((t===34||t===39)&&o===Bi.j_oTag)return this.jsxReadString(t)}return t===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(t)}updateContext(t){let{context:o,type:p}=this.state;if(p===56&&t===138)o.splice(-2,2,Bi.j_cTag),this.state.canStartJSXElement=!1;else if(p===138)o.push(Bi.j_oTag);else if(p===139){let y=o[o.length-1];y===Bi.j_oTag&&t===56||y===Bi.j_cTag?(o.pop(),this.state.canStartJSXElement=o[o.length-1]===Bi.j_expr):(this.setContext(Bi.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Fi(p)}},kt=class extends pl{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Gt=class extends uu{createScope(i){return new kt(i)}declareName(i,t,o){let p=this.currentScope();if(t&Mu){this.maybeExportDefined(p,i),p.exportOnlyBindings.add(i);return}super.declareName(...arguments),t&ho&&(t&Ja||(this.checkRedeclarationInScope(p,i,t,o),this.maybeExportDefined(p,i)),p.types.add(i)),t&bl&&p.enums.add(i),t&Al&&p.constEnums.add(i),t&Eo&&p.classes.add(i)}isRedeclaredInScope(i,t,o){if(i.enums.has(t)){if(o&bl){let p=!!(o&Al),y=i.constEnums.has(t);return p!==y}return!0}return o&Eo&&i.classes.has(t)?i.lexical.has(t)?!!(o&Ja):!1:o&ho&&i.types.has(t)?!0:super.isRedeclaredInScope(...arguments)}checkLocalExport(i){let t=this.scopeStack[0],{name:o}=i;!t.types.has(o)&&!t.exportOnlyBindings.has(o)&&super.checkLocalExport(i)}},fn=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t];function $n(i){if(i==null)throw new Error("Unexpected ".concat(i," value."));return i}function qn(i){if(!i)throw new Error("Assert fail")}function yi(i){return _i(i)||ga(i)}var Zr=ji(nr||(nr=nn(["typescript"])))(i=>({AbstractMethodHasImplementation:i(t=>{let{methodName:o}=t;return"Method '".concat(o,"' cannot have an implementation because it is marked abstract.")}),AbstractPropertyHasInitializer:i(t=>{let{propertyName:o}=t;return"Property '".concat(o,"' cannot have an initializer because it is marked abstract.")}),AccesorCannotDeclareThisParameter:i("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:i("An accessor cannot have type parameters."),CannotFindName:i(t=>{let{name:o}=t;return"Cannot find name '".concat(o,"'.")}),ClassMethodHasDeclare:i("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:i("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:i("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:i("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:i(t=>{let{kind:o}=t;return"'declare' is not allowed in ".concat(o,"ters.")}),DeclareClassFieldHasInitializer:i("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:i("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:i(t=>"Accessibility modifier already seen."),DuplicateModifier:i(t=>{let{modifier:o}=t;return"Duplicate modifier: '".concat(o,"'.")}),EmptyHeritageClauseType:i(t=>{let{token:o}=t;return"'".concat(o,"' list cannot be empty.")}),EmptyTypeArguments:i("Type argument list cannot be empty."),EmptyTypeParameters:i("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:i("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:i("An import alias can not use 'import type'."),IncompatibleModifiers:i(t=>{let{modifiers:o}=t;return"'".concat(o[0],"' modifier cannot be used with '").concat(o[1],"' modifier.")}),IndexSignatureHasAbstract:i("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:i(t=>{let{modifier:o}=t;return"Index signatures cannot have an accessibility modifier ('".concat(o,"').")}),IndexSignatureHasDeclare:i("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:i("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:i("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:i("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier cannot appear on a type member.")}),InvalidModifierOnTypeParameter:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier cannot appear on a type parameter.")}),InvalidModifierOnTypeParameterPositions:i(t=>{let{modifier:o}=t;return"'".concat(o,"' modifier can only appear on a type parameter of a class, interface or type alias.")}),InvalidModifiersOrder:i(t=>{let{orderedModifiers:o}=t;return"'".concat(o[0],"' modifier must precede '").concat(o[1],"' modifier.")}),InvalidTupleMemberLabel:i("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:i("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:i("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:i("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:i("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:i("A required element cannot follow an optional element."),OverrideNotInSubClass:i("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:i("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:i("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:i(t=>{let{modifier:o}=t;return"Private elements cannot have an accessibility modifier ('".concat(o,"').")}),ReadonlyForMethodSignature:i("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:i("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:i("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:i("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:i("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:i("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:i(t=>{let{typeParameterName:o}=t;return"Single type parameter ".concat(o," should have a trailing comma. Example usage: <").concat(o,",>.")}),StaticBlockCannotHaveModifier:i("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:i("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:i("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:i("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:i("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:i("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:i("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:i("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:i("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:i("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:i("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:i(t=>{let{type:o}=t;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(o,".")})}));function Ii(i){switch(i){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function di(i){return i==="private"||i==="public"||i==="protected"}function Di(i){return i==="in"||i==="out"}var vn=i=>class extends i{getScopeHandler(){return Gt}tsIsIdentifier(){return Rn(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(t,o){if(!Rn(this.state.type)&&this.state.type!==58)return;let p=this.state.value;if(t.indexOf(p)!==-1){if(o&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers(t){let{modified:o,allowedModifiers:p,disallowedModifiers:y,stopOnStartOfClassStaticBlock:$,errorTemplate:he=Zr.InvalidModifierOnTypeMember}=t,Qe=(sr,d,A,m)=>{d===A&&o[m]&&this.raise(Zr.InvalidModifiersOrder,{at:sr,orderedModifiers:[A,m]})},wt=(sr,d,A,m)=>{(o[A]&&d===m||o[m]&&d===A)&&this.raise(Zr.IncompatibleModifiers,{at:sr,modifiers:[A,m]})};for(;;){let{startLoc:sr}=this.state,d=this.tsParseModifier(p.concat(y!=null?y:[]),$);if(!d)break;di(d)?o.accessibility?this.raise(Zr.DuplicateAccessibilityModifier,{at:sr,modifier:d}):(Qe(sr,d,d,"override"),Qe(sr,d,d,"static"),Qe(sr,d,d,"readonly"),o.accessibility=d):Di(d)?(o[d]&&this.raise(Zr.DuplicateModifier,{at:sr,modifier:d}),o[d]=!0,Qe(sr,d,"in","out")):(Object.hasOwnProperty.call(o,d)?this.raise(Zr.DuplicateModifier,{at:sr,modifier:d}):(Qe(sr,d,"static","readonly"),Qe(sr,d,"static","override"),Qe(sr,d,"override","readonly"),Qe(sr,d,"abstract","override"),wt(sr,d,"declare","override"),wt(sr,d,"static","abstract")),o[d]=!0),y!=null&&y.includes(d)&&this.raise(he,{at:sr,modifier:d})}}tsIsListTerminator(t){switch(t){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(t,o){let p=[];for(;!this.tsIsListTerminator(t);)p.push(o());return p}tsParseDelimitedList(t,o,p){return $n(this.tsParseDelimitedListWorker(t,o,!0,p))}tsParseDelimitedListWorker(t,o,p,y){let $=[],he=-1;for(;!this.tsIsListTerminator(t);){he=-1;let Qe=o();if(Qe==null)return;if($.push(Qe),this.eat(12)){he=this.state.lastTokStart;continue}if(this.tsIsListTerminator(t))break;p&&this.expect(12);return}return y&&(y.value=he),$}tsParseBracketedList(t,o,p,y,$){y||(p?this.expect(0):this.expect(47));let he=this.tsParseDelimitedList(t,o,$);return p?this.expect(3):this.expect(48),he}tsParseImportType(){let t=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Zr.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseEntityName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,o=this.parseIdentifier(t);for(;this.eat(16);){let p=this.startNodeAtNode(o);p.left=o,p.right=this.parseIdentifier(t),o=this.finishNode(p,"TSQualifiedName")}return o}tsParseTypeReference(){let t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();let o=this.startNodeAtNode(t);return o.parameterName=t,o.typeAnnotation=this.tsParseTypeAnnotation(!1),o.asserts=!1,this.finishNode(o,"TSTypePredicate")}tsParseThisTypeNode(){let t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){let t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseInOutModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Zr.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Zr.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tsParseNoneModifiers.bind(this),o=this.startNode();return t(o),o.name=this.tsParseTypeParameterName(),o.constraint=this.tsEatThenParseType(81),o.default=this.tsEatThenParseType(29),this.finishNode(o,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let o=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let p={value:-1};return o.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,p),o.params.length===0&&this.raise(Zr.EmptyTypeParameters,{at:o}),p.value!==-1&&this.addExtra(o,"trailingComma",p.value),this.finishNode(o,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type!==75)return null;this.next();let t=this.tsParseTypeReference();return t.typeParameters&&this.raise(Zr.CannotFindName,{at:t.typeName,name:"const"}),t}tsFillSignature(t,o){let p=t===19,y="parameters",$="typeAnnotation";o.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),o[y]=this.tsParseBindingListForSignature(),p?o[$]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(o[$]=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(t=>(t.type!=="Identifier"&&t.type!=="RestElement"&&t.type!=="ObjectPattern"&&t.type!=="ArrayPattern"&&this.raise(Zr.UnsupportedSignatureParameterKind,{at:t,type:t.type}),t))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(t,o){return this.tsFillSignature(14,o),this.tsParseTypeMemberSemicolon(),this.finishNode(o,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),Rn(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(t){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let o=this.parseIdentifier();o.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(o),this.expect(3),t.parameters=[o];let p=this.tsTryParseTypeAnnotation();return p&&(t.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,o){this.eat(17)&&(t.optional=!0);let p=t;if(this.match(10)||this.match(47)){o&&this.raise(Zr.ReadonlyForMethodSignature,{at:t});let y=p;y.kind&&this.match(47)&&this.raise(Zr.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon();let $="parameters",he="typeAnnotation";if(y.kind==="get")y[$].length>0&&(this.raise(mt.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(y[$][0])&&this.raise(Zr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(y.kind==="set"){if(y[$].length!==1)this.raise(mt.BadSetterArity,{at:this.state.curPosition()});else{let Qe=y[$][0];this.isThisParam(Qe)&&this.raise(Zr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),Qe.type==="Identifier"&&Qe.optional&&this.raise(Zr.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),Qe.type==="RestElement"&&this.raise(Zr.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}y[he]&&this.raise(Zr.SetAccesorCannotHaveReturnType,{at:y[he]})}else y.kind="method";return this.finishNode(y,"TSMethodSignature")}else{let y=p;o&&(y.readonly=!0);let $=this.tsTryParseTypeAnnotation();return $&&(y.typeAnnotation=$),this.tsParseTypeMemberSemicolon(),this.finishNode(y,"TSPropertySignature")}}tsParseTypeMember(){let t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){let p=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(p,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}return this.tsParseModifiers({modified:t,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(t)||(this.parsePropertyName(t),!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.tsTokenCanFollowModifier()&&(t.kind=t.key.name,this.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){let t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}tsParseMappedType(){let t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}tsParseTupleType(){let t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let o=!1,p=null;return t.elementTypes.forEach(y=>{var $;let{type:he}=y;o&&he!=="TSRestType"&&he!=="TSOptionalType"&&!(he==="TSNamedTupleMember"&&y.optional)&&this.raise(Zr.OptionalTypeBeforeRequired,{at:y}),o=o||he==="TSNamedTupleMember"&&y.optional||he==="TSOptionalType",he==="TSRestType"&&(y=y.typeAnnotation,he=y.type);let Qe=he==="TSNamedTupleMember";p=($=p)!=null?$:Qe,p!==Qe&&this.raise(Zr.MixedLabeledAndUnlabeledElements,{at:y})}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let{start:t,startLoc:o}=this.state,p=this.eat(21),y=this.tsParseType(),$=this.eat(17);if(this.eat(14)){let he=this.startNodeAtNode(y);he.optional=$,y.type==="TSTypeReference"&&!y.typeParameters&&y.typeName.type==="Identifier"?he.label=y.typeName:(this.raise(Zr.InvalidTupleMemberLabel,{at:y}),he.label=y),he.elementType=this.tsParseType(),y=this.finishNode(he,"TSNamedTupleMember")}else if($){let he=this.startNodeAtNode(y);he.typeAnnotation=y,y=this.finishNode(he,"TSOptionalType")}if(p){let he=this.startNodeAt(t,o);he.typeAnnotation=y,y=this.finishNode(he,"TSRestType")}return y}tsParseParenthesizedType(){let t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,o){let p=this.startNode();return t==="TSConstructorType"&&(p.abstract=!!o,o&&this.next(),this.next()),this.tsFillSignature(19,p),this.finishNode(p,t)}tsParseLiteralTypeNode(){let t=this.startNode();return t.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){let t=this.startNode();return t.literal=this.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let t=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let t=this.startNode(),o=this.lookahead();if(o.type!==130&&o.type!==131)throw this.unexpected();return t.literal=this.parseMaybeUnary(),this.finishNode(t,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:t}=this.state;if(Rn(t)||t===88||t===84){let o=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":Ii(this.state.value);if(o!==void 0&&this.lookaheadCharCode()!==46){let p=this.startNode();return this.next(),this.finishNode(p,o)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let o=this.startNodeAtNode(t);o.elementType=t,this.expect(3),t=this.finishNode(o,"TSArrayType")}else{let o=this.startNodeAtNode(t);o.objectType=t,o.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(o,"TSIndexedAccessType")}return t}tsParseTypeOperator(){let t=this.startNode(),o=this.state.value;return this.next(),t.operator=o,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),o==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Zr.UnexpectedReadonly,{at:t})}}tsParseInferType(){let t=this.startNode();this.expectContextual(112);let o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(o,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let t=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}tsParseTypeOperatorOrHigher(){return es(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,o,p){let y=this.startNode(),$=this.eat(p),he=[];do he.push(o());while(this.eat(p));return he.length===1&&!$?he[0]:(y.types=he,this.finishNode(y,t))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Rn(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:t}=this.state,o=t.length;try{return this.parseObjectLike(8,!0),t.length===o}catch{return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,o=t.length;try{return this.parseBindingList(3,93,!0),t.length===o}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(t){return this.tsInType(()=>{let o=this.startNode();this.expect(t);let p=this.startNode(),y=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(y&&this.match(78)){let Qe=this.tsParseThisTypeOrThisTypePredicate();return Qe.type==="TSThisType"?(p.parameterName=Qe,p.asserts=!0,p.typeAnnotation=null,Qe=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(Qe,p),Qe.asserts=!0),o.typeAnnotation=Qe,this.finishNode(o,"TSTypeAnnotation")}let $=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!$)return y?(p.parameterName=this.parseIdentifier(),p.asserts=y,p.typeAnnotation=null,o.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,o);let he=this.tsParseTypeAnnotation(!1);return p.parameterName=$,p.typeAnnotation=he,p.asserts=y,o.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let t=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(this.state.type!==106)return!1;let t=this.state.containsEsc;return this.next(),!Rn(this.state.type)&&!this.match(78)?!1:(t&&this.raise(mt.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{t&&this.expect(14),o.typeAnnotation=this.tsParseType()}),this.finishNode(o,"TSTypeAnnotation")}tsParseType(){qn(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;let o=this.startNodeAtNode(t);return o.checkType=t,o.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),o.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),o.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(o,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&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(Zr.ReservedTypeAssertion,{at:this.state.startLoc});let t=this.startNode(),o=this.tsTryNextParseConstantContext();return t.typeAnnotation=o||this.tsNextThenParseType(),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let o=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{let y=this.startNode();return y.expression=this.tsParseEntityName(),this.match(47)&&(y.typeParameters=this.tsParseTypeArguments()),this.finishNode(y,"TSExpressionWithTypeArguments")});return p.length||this.raise(Zr.EmptyHeritageClauseType,{at:o,token:t}),p}tsParseInterfaceDeclaration(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),o.declare&&(t.declare=!0),Rn(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Ru)):(t.id=null,this.raise(Zr.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));let p=this.startNode();return p.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(p,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,il),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&this.lookahead().type!==16){let o=this.startNode();return this.next(),this.finishNode(o,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){let o=this.state.context;this.state.context=[o[0]];try{return t()}finally{this.state.context=o}}tsInType(t){let o=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=o}}tsInDisallowConditionalTypesContext(t){let o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=o}}tsInAllowConditionalTypesContext(t){let o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=o}}tsEatThenParseType(t){return this.match(t)?this.tsNextThenParseType():void 0}tsExpectThenParseType(t){return this.tsDoThenParseType(()=>this.expect(t))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(t){return this.tsInType(()=>(t(),this.tsParseType()))}tsParseEnumMember(){let t=this.startNode();return t.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(t.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return o.const&&(t.const=!0),o.declare&&(t.declare=!0),this.expectContextual(122),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?eo:bo),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}tsParseModuleBlock(){let t=this.startNode();return this.scope.enter(Wa),this.expect(5),this.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.parseIdentifier(),o||this.checkIdentifier(t.id,au),this.eat(16)){let p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),t.body=p}else this.scope.enter(Cu),this.prodParam.enter(Qo),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(109)?(t.global=!0,t.id=this.parseIdentifier()):this.match(129)?t.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(Cu),this.prodParam.enter(Qo),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,o){t.isExport=o||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Aa),this.expect(29);let p=this.tsParseModuleReference();return t.importKind==="type"&&p.type!=="TSExternalModuleReference"&&this.raise(Zr.ImportAliasHasImportType,{at:p}),t.moduleReference=p,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let t=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return t.expression=this.parseExprAtom(),this.expect(11),this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){let o=this.state.clone(),p=t();return this.state=o,p}tsTryParseAndCatch(t){let o=this.tryParse(p=>t()||p());if(!(o.aborted||!o.node))return o.error&&(this.state=o.failState),o.node}tsTryParse(t){let o=this.state.clone(),p=t();if(p!==void 0&&p!==!1)return p;this.state=o}tsTryParseDeclare(t){if(this.isLineTerminator())return;let o=this.state.type,p;return this.isContextual(99)&&(o=74,p="let"),this.tsInAmbientContext(()=>{if(o===68)return t.declare=!0,this.parseFunctionStatement(t,!1,!0);if(o===80)return t.declare=!0,this.parseClass(t,!0,!1);if(o===122)return this.tsParseEnumDeclaration(t,{declare:!0});if(o===109)return this.tsParseAmbientExternalModuleDeclaration(t);if(o===75||o===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(t.declare=!0,this.parseVarStatement(t,p||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(t,{const:!0,declare:!0}));if(o===125){let y=this.tsParseInterfaceDeclaration(t,{declare:!0});if(y)return y}if(Rn(o))return this.tsParseDeclaration(t,this.state.value,!0)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(t,o){switch(o.name){case"declare":{let p=this.tsTryParseDeclare(t);if(p)return p.declare=!0,p;break}case"global":if(this.match(5)){this.scope.enter(Cu),this.prodParam.enter(Qo);let p=t;return p.global=!0,p.id=o,p.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(p,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,o.name,!1)}}tsParseDeclaration(t,o,p){switch(o){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||Rn(this.state.type)))return this.tsParseAbstractDeclaration(t);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(t);if(Rn(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&Rn(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(p)&&Rn(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t,o){if(!this.match(47))return;let p=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let y=this.tsTryParseAndCatch(()=>{let $=this.startNodeAt(t,o);return $.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams($),$.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),$});if(this.state.maybeInArrowParameters=p,!!y)return this.parseArrowExpression(y,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let t=this.startNode();return t.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),t.params.length===0&&this.raise(Zr.EmptyTypeArguments,{at:t}),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Es(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(t,o){let p=this.state.start,y=this.state.startLoc,$,he=!1,Qe=!1;if(t!==void 0){let d={};this.tsParseModifiers({modified:d,allowedModifiers:["public","private","protected","override","readonly"]}),$=d.accessibility,Qe=d.override,he=d.readonly,t===!1&&($||he||Qe)&&this.raise(Zr.UnexpectedParameterModifier,{at:y})}let wt=this.parseMaybeDefault();this.parseAssignableListItemTypes(wt);let sr=this.parseMaybeDefault(wt.start,wt.loc.start,wt);if($||he||Qe){let d=this.startNodeAt(p,y);return o.length&&(d.decorators=o),$&&(d.accessibility=$),he&&(d.readonly=he),Qe&&(d.override=Qe),sr.type!=="Identifier"&&sr.type!=="AssignmentPattern"&&this.raise(Zr.UnsupportedParameterPropertyKind,{at:d}),d.parameter=sr,this.finishNode(d,"TSParameterProperty")}return o.length&&(wt.decorators=o),sr}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}parseFunctionBodyAndFinish(t,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let y=o==="FunctionDeclaration"?"TSDeclareFunction":o==="ClassMethod"||o==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(y&&!this.match(5)&&this.isLineTerminator()){this.finishNode(t,y);return}if(y==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Zr.DeclareFunctionHasImplementation,{at:t}),t.declare)){super.parseFunctionBodyAndFinish(t,y,p);return}super.parseFunctionBodyAndFinish(t,o,p)}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,sl):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(t){t.forEach(o=>{(o==null?void 0:o.type)==="TSTypeCastExpression"&&this.raise(Zr.UnexpectedTypeAnnotation,{at:o.typeAnnotation})})}toReferencedList(t,o){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(){let t=super.parseArrayLike(...arguments);return t.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(t,o,p,y,$){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Qe=this.startNodeAt(o,p);return Qe.expression=t,this.finishNode(Qe,"TSNonNullExpression")}let he=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(y)return $.stop=!0,t;$.optionalChainMember=he=!0,this.next()}if(this.match(47)||this.match(51)){let Qe,wt=this.tsTryParseAndCatch(()=>{if(!y&&this.atPossibleAsyncArrow(t)){let A=this.tsTryParseGenericAsyncArrowFunction(o,p);if(A)return A}let sr=this.tsParseTypeArgumentsInExpression();if(!sr)throw this.unexpected();if(he&&!this.match(10))throw Qe=this.state.curPosition(),this.unexpected();if(ks(this.state.type)){let A=this.parseTaggedTemplateExpression(t,o,p,$);return A.typeParameters=sr,A}if(!y&&this.eat(10)){let A=this.startNodeAt(o,p);return A.callee=t,A.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=sr,$.optionalChainMember&&(A.optional=he),this.finishCallExpression(A,$.optionalChainMember)}if(yi(this.state.type)&&this.state.type!==10)throw this.unexpected();let d=this.startNodeAt(o,p);return d.expression=t,d.typeParameters=sr,this.finishNode(d,"TSInstantiationExpression")});if(Qe&&this.unexpected(Qe,10),wt)return wt}return super.parseSubscript(t,o,p,y,$)}parseNewCallee(t){var o;super.parseNewCallee(t);let{callee:p}=t;p.type==="TSInstantiationExpression"&&!((o=p.extra)!=null&&o.parenthesized)&&(t.typeParameters=p.typeParameters,t.callee=p.expression)}parseExprOp(t,o,p,y){if(Hs(58)>y&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let $=this.startNodeAt(o,p);$.expression=t;let he=this.tsTryNextParseConstantContext();return he?$.typeAnnotation=he:$.typeAnnotation=this.tsNextThenParseType(),this.finishNode($,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp($,o,p,y)}return super.parseExprOp(t,o,p,y)}checkReservedWord(t,o,p,y){this.state.isAmbientContext||super.checkReservedWord(t,o,p,y)}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",Rn(this.state.type)||this.match(55)||this.match(5)){let p=this.lookahead();if(this.isContextual(126)&&p.type!==12&&p.type!==97&&p.type!==29&&(t.importKind="type",this.next(),p=this.lookahead()),Rn(this.state.type)&&p.type===29)return this.tsParseImportEqualsDeclaration(t)}let o=super.parseImport(t);return o.importKind==="type"&&o.specifiers.length>1&&o.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Zr.TypeImportCannotSpecifyDefaultAndNamed,{at:o}),o}parseExport(t){if(this.match(83))return this.next(),this.isContextual(126)&&this.lookaheadCharCode()!==61?(t.importKind="type",this.next()):t.importKind="value",this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(29)){let o=t;return o.expression=this.parseExpression(),this.semicolon(),this.finishNode(o,"TSExportAssignment")}else if(this.eatContextual(93)){let o=t;return this.expectContextual(124),o.id=this.parseIdentifier(),this.semicolon(),this.finishNode(o,"TSNamespaceExportDeclaration")}else return this.isContextual(126)&&this.lookahead().type===5?(this.next(),t.exportKind="type"):t.exportKind="value",super.parseExport(t)}isAbstractClass(){return this.isContextual(120)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0),t}if(this.match(125)){let t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,o){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:y}=this.state,$=super.parseVarStatement(t,o,p||y);if(!y)return $;for(let{id:he,init:Qe}of $.declarations)!Qe||(o!=="const"||!!he.typeAnnotation?this.raise(Zr.InitializerNotAllowedInAmbientContext,{at:Qe}):Qe.type!=="StringLiteral"&&Qe.type!=="BooleanLiteral"&&Qe.type!=="NumericLiteral"&&Qe.type!=="BigIntLiteral"&&(Qe.type!=="TemplateLiteral"||Qe.expressions.length>0)&&!Gr(Qe)&&this.raise(Zr.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:Qe}));return $}parseStatementContent(t,o){if(this.match(75)&&this.isLookaheadContextual("enum")){let p=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(p,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){let p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseStatementContent(t,o)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,o){return o.some(p=>di(p)?t.accessibility===p:!!t[p])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(t,o,p){let y=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:o,allowedModifiers:y,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Zr.InvalidModifierOnTypeParameterPositions});let $=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(o,y)&&this.raise(Zr.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(t,o)):this.parseClassMemberWithIsStatic(t,o,p,!!o.static)};o.declare?this.tsInAmbientContext($):$()}parseClassMemberWithIsStatic(t,o,p,y){let $=this.tsTryParseIndexSignature(o);if($){t.body.push($),o.abstract&&this.raise(Zr.IndexSignatureHasAbstract,{at:o}),o.accessibility&&this.raise(Zr.IndexSignatureHasAccessibility,{at:o,modifier:o.accessibility}),o.declare&&this.raise(Zr.IndexSignatureHasDeclare,{at:o}),o.override&&this.raise(Zr.IndexSignatureHasOverride,{at:o});return}!this.state.inAbstractClass&&o.abstract&&this.raise(Zr.NonAbstractClassHasAbstractMethod,{at:o}),o.override&&(p.hadSuperClass||this.raise(Zr.OverrideNotInSubClass,{at:o})),super.parseClassMemberWithIsStatic(t,o,p,y)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(Zr.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(Zr.ClassMethodHasDeclare,{at:t})}parseExpressionStatement(t,o){return(o.type==="Identifier"?this.tsParseExpressionStatement(t,o):void 0)||super.parseExpressionStatement(t,o)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,o,p,y){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,o,p,y);let $=this.tryParse(()=>super.parseConditional(t,o,p));return $.node?($.error&&(this.state=$.failState),$.node):($.error&&super.setOptionalParametersError(y,$.error),t)}parseParenItem(t,o,p){if(t=super.parseParenItem(t,o,p),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let y=this.startNodeAt(o,p);return y.expression=t,y.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(y,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let o=this.state.start,p=this.state.startLoc,y=this.eatContextual(121);if(y&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Zr.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let $=Rn(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return $?(($.type==="TSInterfaceDeclaration"||$.type==="TSTypeAliasDeclaration"||y)&&(t.exportKind="type"),y&&(this.resetStartLocation($,o,p),$.declare=!0),$):null}parseClassId(t,o,p){if((!o||p)&&this.isContextual(110))return;super.parseClassId(t,o,p,t.declare?sl:iu);let y=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));y&&(t.typeParameters=y)}parseClassPropertyAnnotation(t){!t.optional&&this.eat(35)&&(t.definite=!0);let o=this.tsTryParseTypeAnnotation();o&&(t.typeAnnotation=o)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&this.match(29)&&this.raise(Zr.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){let{key:o}=t;this.raise(Zr.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:o.type==="Identifier"&&!t.computed?o.name:"[".concat(this.input.slice(o.start,o.end),"]")})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(Zr.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(Zr.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}pushClassMethod(t,o,p,y,$,he){let Qe=this.tsTryParseTypeParameters();Qe&&$&&this.raise(Zr.ConstructorHasTypeParameters,{at:Qe});let{declare:wt=!1,kind:sr}=o;wt&&(sr==="get"||sr==="set")&&this.raise(Zr.DeclareAccessor,{at:o,kind:sr}),Qe&&(o.typeParameters=Qe),super.pushClassMethod(t,o,p,y,$,he)}pushClassPrivateMethod(t,o,p,y){let $=this.tsTryParseTypeParameters();$&&(o.typeParameters=$),super.pushClassPrivateMethod(t,o,p,y)}declareClassPrivateMethodInScope(t,o){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&!t.value.body||super.declareClassPrivateMethodInScope(t,o))}parseClassSuper(t){super.parseClassSuper(t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t){let o=this.tsTryParseTypeParameters();o&&(t.typeParameters=o);for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];super.parseObjPropValue(t,...y)}parseFunctionParams(t,o){let p=this.tsTryParseTypeParameters();p&&(t.typeParameters=p),super.parseFunctionParams(t,o)}parseVarId(t,o){super.parseVarId(t,o),t.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(t.definite=!0);let p=this.tsTryParseTypeAnnotation();p&&(t.id.typeAnnotation=p,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,o){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,o)}parseMaybeAssign(){for(var t=arguments.length,o=new Array(t),p=0;p<t;p++)o[p]=arguments[p];var y,$,he,Qe,wt,sr,d;let A,m,b;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(A=this.state.clone(),m=this.tryParse(()=>super.parseMaybeAssign(...o),A),!m.error)return m.node;let{context:v}=this.state,w=v[v.length-1];(w===Bi.j_oTag||w===Bi.j_expr)&&v.pop()}if(!((y=m)!=null&&y.error)&&!this.match(47))return super.parseMaybeAssign(...o);let E;A=A||this.state.clone();let g=this.tryParse(v=>{var w,F,B;E=this.tsParseTypeParameters();let H=super.parseMaybeAssign(...o);return(H.type!=="ArrowFunctionExpression"||(w=H.extra)!=null&&w.parenthesized)&&v(),((F=E)==null?void 0:F.params.length)!==0&&this.resetStartLocationFromNode(H,E),H.typeParameters=E,this.hasPlugin("jsx")&&H.typeParameters.params.length===1&&!((B=H.typeParameters.extra)!=null&&B.trailingComma)&&H.typeParameters.params[0].constraint,H},A);if(!g.error&&!g.aborted)return E&&this.reportReservedArrowTypeParam(E),g.node;if(!m&&(qn(!this.hasPlugin("jsx")),b=this.tryParse(()=>super.parseMaybeAssign(...o),A),!b.error))return b.node;if(($=m)!=null&&$.node)return this.state=m.failState,m.node;if(g.node)return this.state=g.failState,E&&this.reportReservedArrowTypeParam(E),g.node;if((he=b)!=null&&he.node)return this.state=b.failState,b.node;throw(Qe=m)!=null&&Qe.thrown?m.error:g.thrown?g.error:(wt=b)!=null&&wt.thrown?b.error:((sr=m)==null?void 0:sr.error)||g.error||((d=b)==null?void 0:d.error)}reportReservedArrowTypeParam(t){var o;t.params.length===1&&!((o=t.extra)!=null&&o.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Zr.ReservedArrowTypeParam,{at:t})}parseMaybeUnary(t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(t)}parseArrow(t){if(this.match(14)){let o=this.tryParse(p=>{let y=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),y});if(o.aborted)return;o.thrown||(o.error&&(this.state=o.failState),t.returnType=o.node)}return super.parseArrow(t)}parseAssignableListItemTypes(t){this.eat(17)&&(t.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(Zr.PatternIsOptional,{at:t}),t.optional=!0);let o=this.tsTryParseTypeAnnotation();return o&&(t.typeAnnotation=o),this.resetEndLocation(t),t}isAssignable(t,o){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,o);case"TSParameterProperty":return!0;default:return super.isAssignable(t,o)}}toAssignable(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,o);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":o?this.expressionScope.recordArrowParemeterBindingError(Zr.UnexpectedTypeCastInParameter,{at:t}):this.raise(Zr.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,o);break;case"AssignmentExpression":!o&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,o)}}toAssignableParenthesizedExpression(t,o){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,o);break;default:super.toAssignable(t,o)}}checkToRestConversion(t,o){switch(t.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,o)}}isValidLVal(t,o,p){return fn({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(p!==wa||!o)&&["expression",!0],TSTypeAssertion:(p!==wa||!o)&&["expression",!0]},t)||super.isValidLVal(t,o,p)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){let o=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let p=super.parseMaybeDecoratorArguments(t);return p.typeParameters=o,p}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(t)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(){let t=super.parseMaybeDefault(...arguments);return t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(Zr.TypeAnnotationAfterAssign,{at:t.typeAnnotation}),t}getTokenFromCode(t){if(this.state.inType){if(t===62)return this.finishOp(48,1);if(t===60)return this.finishOp(47,1)}return super.getTokenFromCode(t)}reScan_lt_gt(){let{type:t}=this.state;t===47?(this.state.pos-=1,this.readToken_lt()):t===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===51?(this.state.pos-=2,this.finishOp(47,1),47):t}toAssignableList(t){for(let o=0;o<t.length;o++){let p=t[o];(p==null?void 0:p.type)==="TSTypeCastExpression"&&(t[o]=this.typeCastToParameter(p))}super.toAssignableList(...arguments)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}shouldParseArrow(t){return this.match(14)?t.every(o=>this.isAssignable(o,!0)):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(47)||this.match(51)){let o=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());o&&(t.typeParameters=o)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let o=super.getGetterSetterExpectedParamCount(t),p=this.getObjectOrClassMethodParams(t)[0];return p&&this.isThisParam(p)?o+1:o}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),o=this.tsTryParseTypeAnnotation();return o&&(t.typeAnnotation=o,this.resetEndLocation(t)),t}tsInAmbientContext(t){let o=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=o}}parseClass(t){let o=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{for(var p=arguments.length,y=new Array(p>1?p-1:0),$=1;$<p;$++)y[$-1]=arguments[$];return super.parseClass(t,...y)}finally{this.state.inAbstractClass=o}}tsParseAbstractDeclaration(t){if(this.match(80))return t.abstract=!0,this.parseClass(t,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return t.abstract=!0,this.raise(Zr.NonClassMethodPropertyHasAbstractModifer,{at:t}),this.tsParseInterfaceDeclaration(t)}else this.unexpected(null,80)}parseMethod(){let t=super.parseMethod(...arguments);if(t.abstract&&(this.hasPlugin("estree")?!!t.value.body:!!t.body)){let{key:o}=t;this.raise(Zr.AbstractMethodHasImplementation,{at:t,methodName:o.type==="Identifier"&&!t.computed?o.name:"[".concat(this.input.slice(o.start,o.end),"]")})}return t}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(t,o,p,y){return!o&&y?(this.parseTypeOnlyImportExportSpecifier(t,!1,p),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,o,p,y))}parseImportSpecifier(t,o,p,y){return!o&&y?(this.parseTypeOnlyImportExportSpecifier(t,!0,p),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,o,p,y))}parseTypeOnlyImportExportSpecifier(t,o,p){let y=o?"imported":"local",$=o?"local":"exported",he=t[y],Qe,wt=!1,sr=!0,d=he.loc.start;if(this.isContextual(93)){let m=this.parseIdentifier();if(this.isContextual(93)){let b=this.parseIdentifier();ys(this.state.type)?(wt=!0,he=m,Qe=o?this.parseIdentifier():this.parseModuleExportName(),sr=!1):(Qe=b,sr=!1)}else ys(this.state.type)?(sr=!1,Qe=o?this.parseIdentifier():this.parseModuleExportName()):(wt=!0,he=m)}else ys(this.state.type)&&(wt=!0,o?(he=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(he.name,he.loc.start,!0,!0)):he=this.parseModuleExportName());wt&&p&&this.raise(o?Zr.TypeModifierIsUsedInTypeImports:Zr.TypeModifierIsUsedInTypeExports,{at:d}),t[y]=he,t[$]=Qe;let A=o?"importKind":"exportKind";t[A]=wt?"type":"value",sr&&this.eatContextual(93)&&(t[$]=o?this.parseIdentifier():this.parseModuleExportName()),t[$]||(t[$]=K(t[y])),o&&this.checkIdentifier(t[$],Aa)}};function Gr(i){if(i.type!=="MemberExpression")return!1;let{computed:t,property:o}=i;return t&&o.type!=="StringLiteral"&&(o.type!=="TemplateLiteral"||o.expressions.length>0)?!1:xn(i.object)}function xn(i){return i.type==="Identifier"?!0:i.type!=="MemberExpression"||i.computed?!1:xn(i.object)}var Ir=ji(Mr||(Mr=nn(["placeholders"])))(i=>({ClassNameIsRequired:i("A class name is required."),UnexpectedSpace:i("Unexpected space in placeholder.")})),Qs=i=>class extends i{parsePlaceholder(t){if(this.match(140)){let o=this.startNode();return this.next(),this.assertNoSpace(),o.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(o,t)}}finishPlaceholder(t,o){let p=!!(t.expectedNode&&t.type==="Placeholder");return t.expectedNode=o,p?t:this.finishNode(t,"Placeholder")}getTokenFromCode(t){return t===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(t){t!==void 0&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(t){for(var o=arguments.length,p=new Array(o>1?o-1:0),y=1;y<o;y++)p[y-1]=arguments[y];return t==="Placeholder"||super.isValidLVal(t,...p)}toAssignable(t){t&&t.type==="Placeholder"&&t.expectedNode==="Expression"?t.expectedNode="Pattern":super.toAssignable(...arguments)}isLet(t){return super.isLet(t)?!0:!this.isContextual(99)||t?!1:this.lookahead().type===140}verifyBreakContinue(t){t.label&&t.label.type==="Placeholder"||super.verifyBreakContinue(...arguments)}parseExpressionStatement(t,o){if(o.type!=="Placeholder"||o.extra&&o.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let p=t;return p.label=this.finishPlaceholder(o,"Identifier"),this.next(),p.body=this.parseStatement("label"),this.finishNode(p,"LabeledStatement")}return this.semicolon(),t.name=o.name,this.finishPlaceholder(t,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(t,o,p){let y=o?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(t);let $=this.state.strict,he=this.parsePlaceholder("Identifier");if(he)if(this.match(81)||this.match(140)||this.match(5))t.id=he;else{if(p||!o)return t.id=null,t.body=this.finishPlaceholder(he,"ClassBody"),this.finishNode(t,y);throw this.raise(Ir.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(t,o,p);return this.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!t.superClass,$),this.finishNode(t,y)}parseExport(t){let o=this.parsePlaceholder("Identifier");if(!o)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(o,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let p=this.startNode();return p.exported=o,t.specifiers=[this.finishNode(p,"ExportDefaultSpecifier")],super.parseExport(t)}isExportDefaultSpecifier(){if(this.match(65)){let t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(Ms(140),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t){return t.specifiers&&t.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(t){let{specifiers:o}=t;o!=null&&o.length&&(t.specifiers=o.filter(p=>p.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=o}parseImport(t){let o=this.parsePlaceholder("Identifier");if(!o)return super.parseImport(...arguments);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(o,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let p=this.startNodeAtNode(o);return p.local=o,this.finishNode(p,"ImportDefaultSpecifier"),t.specifiers.push(p),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Ir.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},Ds=i=>class extends i{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,o=this.startNode();if(this.next(),Rn(this.state.type)){let p=this.parseIdentifierName(this.state.start),y=this.createIdentifier(o,p);if(y.type="V8IntrinsicIdentifier",this.match(10))return y}this.unexpected(t)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function is(i,t){let[o,p]=typeof t=="string"?[t,{}]:t,y=Object.keys(p),$=y.length===0;return i.some(he=>{if(typeof he=="string")return $&&he===o;{let[Qe,wt]=he;if(Qe!==o)return!1;for(let sr of y)if(wt[sr]!==p[sr])return!1;return!0}})}function gs(i,t,o){let p=i.find(y=>Array.isArray(y)?y[0]===t:y===t);return p&&Array.isArray(p)?p[1][o]:null}var ss=["minimal","fsharp","hack","smart"],ni=["^^","@@","^","%","#"],Oi=["hash","bar"];function xi(i){if(is(i,"decorators")){if(is(i,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=gs(i,"decorators","decoratorsBeforeExport");if(t==null)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if(typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(is(i,"flow")&&is(i,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(is(i,"placeholders")&&is(i,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(is(i,"pipelineOperator")){let t=gs(i,"pipelineOperator","proposal");if(!ss.includes(t)){let p=ss.map(y=>'"'.concat(y,'"')).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(p,"."))}let o=is(i,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(is(i,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(is(i,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let p=gs(i,"pipelineOperator","topicToken");if(!ni.includes(p)){let y=ni.map($=>'"'.concat($,'"')).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(y,"."))}if(p==="#"&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&o)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(is(i,"moduleAttributes")){if(is(i,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(gs(i,"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(is(i,"recordAndTuple")&&!Oi.includes(gs(i,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Oi.map(t=>"'".concat(t,"'")).join(", "));if(is(i,"asyncDoExpressions")&&!is(i,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var Ci={estree:Co,jsx:xt,flow:Ie,typescript:vn,v8intrinsic:Ds,placeholders:Qs},Vt=Object.keys(Ci),Fr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function Or(i){let t={};for(let o of Object.keys(Fr))t[o]=i&&i[o]!=null?i[o]:Fr[o];return t}var In=(i,t)=>Object.hasOwnProperty.call(i,t)&&i[t],Mt=i=>i.type==="ParenthesizedExpression"?Mt(i.expression):i,si=class extends we{toAssignable(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var o,p;let y;switch((i.type==="ParenthesizedExpression"||(o=i.extra)!=null&&o.parenthesized)&&(y=Mt(i),t?y.type==="Identifier"?this.expressionScope.recordArrowParemeterBindingError(mt.InvalidParenthesizedAssignment,{at:i}):y.type!=="MemberExpression"&&this.raise(mt.InvalidParenthesizedAssignment,{at:i}):this.raise(mt.InvalidParenthesizedAssignment,{at:i})),i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":i.type="ObjectPattern";for(let he=0,Qe=i.properties.length,wt=Qe-1;he<Qe;he++){var $;let sr=i.properties[he],d=he===wt;this.toAssignableObjectExpressionProp(sr,d,t),d&&sr.type==="RestElement"&&($=i.extra)!=null&&$.trailingCommaLoc&&this.raise(mt.RestTrailingComma,{at:i.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:he,value:Qe}=i;this.isPrivateName(he)&&this.classScope.usePrivateName(this.getPrivateNameSV(he),he.loc.start),this.toAssignable(Qe,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":i.type="ArrayPattern",this.toAssignableList(i.elements,(p=i.extra)==null?void 0:p.trailingCommaLoc,t);break;case"AssignmentExpression":i.operator!=="="&&this.raise(mt.MissingEqInAssignment,{at:i.left.loc.end}),i.type="AssignmentPattern",delete i.operator,this.toAssignable(i.left,t);break;case"ParenthesizedExpression":this.toAssignable(y,t);break}}toAssignableObjectExpressionProp(i,t,o){if(i.type==="ObjectMethod")this.raise(i.kind==="get"||i.kind==="set"?mt.PatternHasAccessor:mt.PatternHasMethod,{at:i.key});else if(i.type==="SpreadElement"){i.type="RestElement";let p=i.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,o),t||this.raise(mt.RestTrailingComma,{at:i})}else this.toAssignable(i,o)}toAssignableList(i,t,o){let p=i.length-1;for(let y=0;y<=p;y++){let $=i[y];if($){if($.type==="SpreadElement"){$.type="RestElement";let he=$.argument;this.checkToRestConversion(he,!0),this.toAssignable(he,o)}else this.toAssignable($,o);$.type==="RestElement"&&(y<p?this.raise(mt.RestTrailingComma,{at:$}):t&&this.raise(mt.RestTrailingComma,{at:t}))}}}isAssignable(i,t){switch(i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let o=i.properties.length-1;return i.properties.every((p,y)=>p.type!=="ObjectMethod"&&(y===o||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(i.value);case"SpreadElement":return this.isAssignable(i.argument);case"ArrayExpression":return i.elements.every(o=>o===null||this.isAssignable(o));case"AssignmentExpression":return i.operator==="=";case"ParenthesizedExpression":return this.isAssignable(i.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(i,t){return i}toReferencedListDeep(i,t){this.toReferencedList(i,t);for(let o of i)(o==null?void 0:o.type)==="ArrayExpression"&&this.toReferencedListDeep(o.elements)}parseSpread(i,t){let o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(i,void 0,t),this.finishNode(o,"SpreadElement")}parseRestBinding(){let i=this.startNode();return this.next(),i.argument=this.parseBindingAtom(),this.finishNode(i,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let i=this.startNode();return this.next(),i.elements=this.parseBindingList(3,93,!0),this.finishNode(i,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(i,t,o,p){let y=[],$=!0;for(;!this.eat(i);)if($?$=!1:this.expect(12),o&&this.match(12))y.push(null);else{if(this.eat(i))break;if(this.match(21)){if(y.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(i);break}}else{let he=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(mt.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)he.push(this.parseDecorator());y.push(this.parseAssignableListItem(p,he))}}return y}parseBindingRestProperty(i){return this.next(),i.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(i,"RestElement")}parseBindingProperty(){let i=this.startNode(),{type:t,start:o,startLoc:p}=this.state;return t===21?this.parseBindingRestProperty(i):(t===134?(this.expectPlugin("destructuringPrivate",p),this.classScope.usePrivateName(this.state.value,p),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,o,p,!1,!1,!0,!1),i)}parseAssignableListItem(i,t){let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);let p=this.parseMaybeDefault(o.start,o.loc.start,o);return t.length&&(o.decorators=t),p}parseAssignableListItemTypes(i){return i}parseMaybeDefault(i,t,o){var p,y,$;if(t=(p=t)!=null?p:this.state.startLoc,i=(y=i)!=null?y:this.state.start,o=($=o)!=null?$:this.parseBindingAtom(),!this.eat(29))return o;let he=this.startNodeAt(i,t);return he.left=o,he.right=this.parseMaybeAssignAllowIn(),this.finishNode(he,"AssignmentPattern")}isValidLVal(i,t,o){return In({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},i)}checkLVal(i,t){let{in:o,binding:p=wa,checkClashes:y=!1,strictModeChanged:$=!1,allowingSloppyLetBinding:he=!(p&ba),hasParenthesizedAncestor:Qe=!1}=t;var wt;let sr=i.type;if(this.isObjectMethod(i))return;if(sr==="MemberExpression"){p!==wa&&this.raise(mt.InvalidPropertyBindingPattern,{at:i});return}if(i.type==="Identifier"){this.checkIdentifier(i,p,$,he);let{name:E}=i;y&&(y.has(E)?this.raise(mt.ParamDupe,{at:i}):y.add(E));return}let d=this.isValidLVal(i.type,!(Qe||(wt=i.extra)!=null&&wt.parenthesized)&&o.type==="AssignmentExpression",p);if(d===!0)return;if(d===!1){let E=p===wa?mt.InvalidLhs:mt.InvalidLhsBinding;this.raise(E,{at:i,ancestor:o.type==="UpdateExpression"?{type:"UpdateExpression",prefix:o.prefix}:{type:o.type}});return}let[A,m]=Array.isArray(d)?d:[d,sr==="ParenthesizedExpression"],b=i.type==="ArrayPattern"||i.type==="ObjectPattern"||i.type==="ParenthesizedExpression"?i:o;for(let E of[].concat(i[A]))E&&this.checkLVal(E,{in:b,binding:p,checkClashes:y,allowingSloppyLetBinding:he,strictModeChanged:$,hasParenthesizedAncestor:m})}checkIdentifier(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!(t&ba);this.state.strict&&(o?Va(i.name,this.inModule):Ea(i.name))&&(t===wa?this.raise(mt.StrictEvalArguments,{at:i,referenceName:i.name}):this.raise(mt.StrictEvalArgumentsBinding,{at:i,bindingName:i.name})),!p&&i.name==="let"&&this.raise(mt.LetInLexicalBinding,{at:i}),t&wa||this.declareNameFromIdentifier(i,t)}declareNameFromIdentifier(i,t){this.scope.declareName(i.name,t,i.loc.start)}checkToRestConversion(i,t){switch(i.type){case"ParenthesizedExpression":this.checkToRestConversion(i.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(mt.InvalidRestAssignmentPattern,{at:i})}}checkCommaAfterRest(i){return this.match(12)?(this.raise(this.lookaheadCharCode()===i?mt.RestTrailingComma:mt.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},Zn=class extends si{checkProto(i,t,o,p){if(i.type==="SpreadElement"||this.isObjectMethod(i)||i.computed||i.shorthand)return;let y=i.key;if((y.type==="Identifier"?y.name:y.value)==="__proto__"){if(t){this.raise(mt.RecordNoProto,{at:y});return}o.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=y.loc.start):this.raise(mt.DuplicateProto,{at:y})),o.used=!0}}shouldExitDescending(i,t){return i.type==="ArrowFunctionExpression"&&i.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let i=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),i.comments=this.state.comments,i.errors=this.state.errors,this.options.tokens&&(i.tokens=this.tokens),i}parseExpression(i,t){return i?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(i){let t=this.state.start,o=this.state.startLoc,p=this.parseMaybeAssign(i);if(this.match(12)){let y=this.startNodeAt(t,o);for(y.expressions=[p];this.eat(12);)y.expressions.push(this.parseMaybeAssign(i));return this.toReferencedList(y.expressions),this.finishNode(y,"SequenceExpression")}return p}parseMaybeAssignDisallowIn(i,t){return this.disallowInAnd(()=>this.parseMaybeAssign(i,t))}parseMaybeAssignAllowIn(i,t){return this.allowInAnd(()=>this.parseMaybeAssign(i,t))}setOptionalParametersError(i,t){var o;i.optionalParametersLoc=(o=t==null?void 0:t.loc)!=null?o:this.state.startLoc}parseMaybeAssign(i,t){let o=this.state.start,p=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let Qe=this.parseYield();return t&&(Qe=t.call(this,Qe,o,p)),Qe}let y;i?y=!1:(i=new So,y=!0);let{type:$}=this.state;($===10||Rn($))&&(this.state.potentialArrowAt=this.state.start);let he=this.parseMaybeConditional(i);if(t&&(he=t.call(this,he,o,p)),ns(this.state.type)){let Qe=this.startNodeAt(o,p),wt=this.state.value;return Qe.operator=wt,this.match(29)?(this.toAssignable(he,!0),Qe.left=he,i.doubleProtoLoc!=null&&i.doubleProtoLoc.index>=o&&(i.doubleProtoLoc=null),i.shorthandAssignLoc!=null&&i.shorthandAssignLoc.index>=o&&(i.shorthandAssignLoc=null),i.privateKeyLoc!=null&&i.privateKeyLoc.index>=o&&(this.checkDestructuringPrivate(i),i.privateKeyLoc=null)):Qe.left=he,this.next(),Qe.right=this.parseMaybeAssign(),this.checkLVal(he,{in:this.finishNode(Qe,"AssignmentExpression")}),Qe}else y&&this.checkExpressionErrors(i,!0);return he}parseMaybeConditional(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseExprOps(i);return this.shouldExitDescending(y,p)?y:this.parseConditional(y,t,o,i)}parseConditional(i,t,o,p){if(this.eat(17)){let y=this.startNodeAt(t,o);return y.test=i,y.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),y.alternate=this.parseMaybeAssign(),this.finishNode(y,"ConditionalExpression")}return i}parseMaybeUnaryOrPrivate(i){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(i)}parseExprOps(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseMaybeUnaryOrPrivate(i);return this.shouldExitDescending(y,p)?y:this.parseExprOp(y,t,o,-1)}parseExprOp(i,t,o,p){if(this.isPrivateName(i)){let $=this.getPrivateNameSV(i);(p>=Hs(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(mt.PrivateInExpectedIn,{at:i,identifierName:$}),this.classScope.usePrivateName($,i.loc.start)}let y=this.state.type;if(qr(y)&&(this.prodParam.hasIn||!this.match(58))){let $=Hs(y);if($>p){if(y===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return i;this.checkPipelineAtInfixOperator(i,o)}let he=this.startNodeAt(t,o);he.left=i,he.operator=this.state.value;let Qe=y===41||y===42,wt=y===40;if(wt&&($=Hs(42)),this.next(),y===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(mt.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});he.right=this.parseExprOpRightExpr(y,$),this.finishNode(he,Qe||wt?"LogicalExpression":"BinaryExpression");let sr=this.state.type;if(wt&&(sr===41||sr===42)||Qe&&sr===40)throw this.raise(mt.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(he,t,o,p)}}return i}parseExprOpRightExpr(i,t){let o=this.state.start,p=this.state.startLoc;switch(i){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(mt.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(i,t),o,p)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(i,t)}}parseExprOpBaseRightExpr(i,t){let o=this.state.start,p=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,p,vs(i)?t-1:t)}parseHackPipeBody(){var i;let{startLoc:t}=this.state,o=this.parseMaybeAssign();return hs.has(o.type)&&!((i=o.extra)!=null&&i.parenthesized)&&this.raise(mt.PipeUnparenthesizedBody,{at:t,type:o.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(mt.PipeTopicUnused,{at:t}),o}checkExponentialAfterUnary(i){this.match(57)&&this.raise(mt.UnexpectedTokenUnaryExponentiation,{at:i.argument})}parseMaybeUnary(i,t){let o=this.state.start,p=this.state.startLoc,y=this.isContextual(96);if(y&&this.isAwaitAllowed()){this.next();let wt=this.parseAwait(o,p);return t||this.checkExponentialAfterUnary(wt),wt}let $=this.match(34),he=this.startNode();if(bn(this.state.type)){he.operator=this.state.value,he.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let wt=this.match(89);if(this.next(),he.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(i,!0),this.state.strict&&wt){let sr=he.argument;sr.type==="Identifier"?this.raise(mt.StrictDelete,{at:he}):this.hasPropertyAsPrivateName(sr)&&this.raise(mt.DeletePrivateField,{at:he})}if(!$)return t||this.checkExponentialAfterUnary(he),this.finishNode(he,"UnaryExpression")}let Qe=this.parseUpdate(he,$,i);if(y){let{type:wt}=this.state;if((this.hasPlugin("v8intrinsic")?_i(wt):_i(wt)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(mt.AwaitNotInAsyncContext,{at:p}),this.parseAwait(o,p)}return Qe}parseUpdate(i,t,o){if(t)return this.checkLVal(i.argument,{in:this.finishNode(i,"UpdateExpression")}),i;let p=this.state.start,y=this.state.startLoc,$=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return $;for(;hr(this.state.type)&&!this.canInsertSemicolon();){let he=this.startNodeAt(p,y);he.operator=this.state.value,he.prefix=!1,he.argument=$,this.next(),this.checkLVal($,{in:$=this.finishNode(he,"UpdateExpression")})}return $}parseExprSubscripts(i){let t=this.state.start,o=this.state.startLoc,p=this.state.potentialArrowAt,y=this.parseExprAtom(i);return this.shouldExitDescending(y,p)?y:this.parseSubscripts(y,t,o)}parseSubscripts(i,t,o,p){let y={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(i),stop:!1};do i=this.parseSubscript(i,t,o,p,y),y.maybeAsyncArrow=!1;while(!y.stop);return i}parseSubscript(i,t,o,p,y){let{type:$}=this.state;if(!p&&$===15)return this.parseBind(i,t,o,p,y);if(ks($))return this.parseTaggedTemplateExpression(i,t,o,y);let he=!1;if($===18){if(p&&this.lookaheadCharCode()===40)return y.stop=!0,i;y.optionalChainMember=he=!0,this.next()}if(!p&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(i,t,o,y,he);{let Qe=this.eat(0);return Qe||he||this.eat(16)?this.parseMember(i,t,o,y,Qe,he):(y.stop=!0,i)}}parseMember(i,t,o,p,y,$){let he=this.startNodeAt(t,o);return he.object=i,he.computed=y,y?(he.property=this.parseExpression(),this.expect(3)):this.match(134)?(i.type==="Super"&&this.raise(mt.SuperPrivateField,{at:o}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),he.property=this.parsePrivateName()):he.property=this.parseIdentifier(!0),p.optionalChainMember?(he.optional=$,this.finishNode(he,"OptionalMemberExpression")):this.finishNode(he,"MemberExpression")}parseBind(i,t,o,p,y){let $=this.startNodeAt(t,o);return $.object=i,this.next(),$.callee=this.parseNoCallExpr(),y.stop=!0,this.parseSubscripts(this.finishNode($,"BindExpression"),t,o,p)}parseCoverCallAndAsyncArrowHead(i,t,o,p,y){let $=this.state.maybeInArrowParameters,he=null;this.state.maybeInArrowParameters=!0,this.next();let Qe=this.startNodeAt(t,o);Qe.callee=i;let{maybeAsyncArrow:wt,optionalChainMember:sr}=p;return wt&&(this.expressionScope.enter(Jo()),he=new So),sr&&(Qe.optional=y),y?Qe.arguments=this.parseCallExpressionArguments(11):Qe.arguments=this.parseCallExpressionArguments(11,i.type==="Import",i.type!=="Super",Qe,he),this.finishCallExpression(Qe,sr),wt&&this.shouldParseAsyncArrow()&&!y?(p.stop=!0,this.checkDestructuringPrivate(he),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Qe=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,o),Qe)):(wt&&(this.checkExpressionErrors(he,!0),this.expressionScope.exit()),this.toReferencedArguments(Qe)),this.state.maybeInArrowParameters=$,Qe}toReferencedArguments(i,t){this.toReferencedListDeep(i.arguments,t)}parseTaggedTemplateExpression(i,t,o,p){let y=this.startNodeAt(t,o);return y.tag=i,y.quasi=this.parseTemplate(!0),p.optionalChainMember&&this.raise(mt.OptionalChainingNoTemplate,{at:o}),this.finishNode(y,"TaggedTemplateExpression")}atPossibleAsyncArrow(i){return i.type==="Identifier"&&i.name==="async"&&this.state.lastTokEndLoc.index===i.end&&!this.canInsertSemicolon()&&i.end-i.start===5&&i.start===this.state.potentialArrowAt}finishCallExpression(i,t){if(i.callee.type==="Import")if(i.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),i.arguments.length===0||i.arguments.length>2)this.raise(mt.ImportCallArity,{at:i,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let o of i.arguments)o.type==="SpreadElement"&&this.raise(mt.ImportCallSpreadArgument,{at:o});return this.finishNode(i,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(i,t,o,p,y){let $=[],he=!0,Qe=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(i);){if(he)he=!1;else if(this.expect(12),this.match(i)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(mt.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),p&&this.addTrailingCommaExtraToNode(p),this.next();break}$.push(this.parseExprListItem(!1,y,o))}return this.state.inFSharpPipelineDirectBody=Qe,$}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(i,t){var o;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(i,t.arguments,!0,(o=t.extra)==null?void 0:o.trailingCommaLoc),t.innerComments&&ia(i,t.innerComments),t.callee.trailingComments&&ia(i,t.callee.trailingComments),i}parseNoCallExpr(){let i=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),i,t,!0)}parseExprAtom(i){let t,{type:o}=this.state;switch(o){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(mt.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let p=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(p)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,i);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,i);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let p=t.callee=this.parseNoCallExpr();if(p.type==="MemberExpression")return this.finishNode(t,"BindExpression");throw this.raise(mt.UnsupportedBind,{at:p})}case 134:return this.raise(mt.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let p=this.getPluginOption("pipelineOperator","proposal");if(p)return this.parseTopicReference(p);throw this.unexpected()}case 47:{let p=this.input.codePointAt(this.nextTokenStart());if(Ts(p)||p===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(Rn(o)){if(this.isContextual(123)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let p=this.state.potentialArrowAt===this.state.start,y=this.state.containsEsc,$=this.parseIdentifier();if(!y&&$.name==="async"&&!this.canInsertSemicolon()){let{type:he}=this.state;if(he===68)return this.resetPreviousNodeTrailingComments($),this.next(),this.parseFunction(this.startNodeAtNode($),void 0,!0);if(Rn(he))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode($)):$;if(he===90)return this.resetPreviousNodeTrailingComments($),this.parseDo(this.startNodeAtNode($),!0)}return p&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode($),[$],!1)):$}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(i,t){let o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.state.type=i,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=ln(this.state.endLoc,-1),this.parseTopicReference(o);throw this.unexpected()}parseTopicReference(i){let t=this.startNode(),o=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(t,o,i,p)}finishTopicReference(i,t,o,p){if(this.testTopicReferenceConfiguration(o,t,p)){let y=o==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(o==="smart"?mt.PrimaryTopicNotAllowed:mt.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(i,y)}else throw this.raise(mt.PipeTopicUnconfiguredToken,{at:t,token:Ms(p)})}testTopicReferenceConfiguration(i,t,o){switch(i){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ms(o)}]);case"smart":return o===27;default:throw this.raise(mt.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(i){this.prodParam.enter(lu(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(mt.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(i,t,!0),i}parseDo(i,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),i.async=t,this.next();let o=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(qu),i.body=this.parseBlock(),this.prodParam.exit()):i.body=this.parseBlock(),this.state.labels=o,this.finishNode(i,"DoExpression")}parseSuper(){let i=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(mt.SuperNotAllowed,{at:i}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(mt.UnexpectedSuper,{at:i}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(mt.UnsupportedSuper,{at:i}),this.finishNode(i,"Super")}parsePrivateName(){let i=this.startNode(),t=this.startNodeAt(this.state.start+1,new mn(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),o=this.state.value;return this.next(),i.id=this.createIdentifier(t,o),this.finishNode(i,"PrivateName")}parseFunctionOrFunctionSent(){let i=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(i),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(i,t,"sent")}return this.parseFunction(i)}parseMetaProperty(i,t,o){i.meta=t;let p=this.state.containsEsc;return i.property=this.parseIdentifier(!0),(i.property.name!==o||p)&&this.raise(mt.UnsupportedMetaProperty,{at:i.property,target:t.name,onlyValidPropertyName:o}),this.finishNode(i,"MetaProperty")}parseImportMetaProperty(i){let t=this.createIdentifier(this.startNodeAtNode(i),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(mt.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(i,t,"meta")}parseLiteralAtNode(i,t,o){return this.addExtra(o,"rawValue",i),this.addExtra(o,"raw",this.input.slice(o.start,this.state.end)),o.value=i,this.next(),this.finishNode(o,t)}parseLiteral(i,t){let o=this.startNode();return this.parseLiteralAtNode(i,t,o)}parseStringLiteral(i){return this.parseLiteral(i,"StringLiteral")}parseNumericLiteral(i){return this.parseLiteral(i,"NumericLiteral")}parseBigIntLiteral(i){return this.parseLiteral(i,"BigIntLiteral")}parseDecimalLiteral(i){return this.parseLiteral(i,"DecimalLiteral")}parseRegExpLiteral(i){let t=this.parseLiteral(i.value,"RegExpLiteral");return t.pattern=i.pattern,t.flags=i.flags,t}parseBooleanLiteral(i){let t=this.startNode();return t.value=i,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let i=this.startNode();return this.next(),this.finishNode(i,"NullLiteral")}parseParenAndDistinguishExpression(i){let t=this.state.start,o=this.state.startLoc,p;this.next(),this.expressionScope.enter(hl());let y=this.state.maybeInArrowParameters,$=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let he=this.state.start,Qe=this.state.startLoc,wt=[],sr=new So,d=!0,A,m;for(;!this.match(11);){if(d)d=!1;else if(this.expect(12,sr.optionalParametersLoc===null?null:sr.optionalParametersLoc),this.match(11)){m=this.state.startLoc;break}if(this.match(21)){let g=this.state.start,v=this.state.startLoc;if(A=this.state.startLoc,wt.push(this.parseParenItem(this.parseRestBinding(),g,v)),!this.checkCommaAfterRest(41))break}else wt.push(this.parseMaybeAssignAllowIn(sr,this.parseParenItem))}let b=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=y,this.state.inFSharpPipelineDirectBody=$;let E=this.startNodeAt(t,o);return i&&this.shouldParseArrow(wt)&&(E=this.parseArrow(E))?(this.checkDestructuringPrivate(sr),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(E,wt,!1),E):(this.expressionScope.exit(),wt.length||this.unexpected(this.state.lastTokStartLoc),m&&this.unexpected(m),A&&this.unexpected(A),this.checkExpressionErrors(sr,!0),this.toReferencedListDeep(wt,!0),wt.length>1?(p=this.startNodeAt(he,Qe),p.expressions=wt,this.finishNode(p,"SequenceExpression"),this.resetEndLocation(p,b)):p=wt[0],this.wrapParenthesis(t,o,p))}wrapParenthesis(i,t,o){if(!this.options.createParenthesizedExpressions)return this.addExtra(o,"parenthesized",!0),this.addExtra(o,"parenStart",i),this.takeSurroundingComments(o,i,this.state.lastTokEndLoc.index),o;let p=this.startNodeAt(i,t);return p.expression=o,this.finishNode(p,"ParenthesizedExpression"),p}shouldParseArrow(i){return!this.canInsertSemicolon()}parseArrow(i){if(this.eat(19))return i}parseParenItem(i,t,o){return i}parseNewOrNewTarget(){let i=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(i),"new");this.next();let o=this.parseMetaProperty(i,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(mt.UnexpectedNewTarget,{at:o}),o}return this.parseNew(i)}parseNew(i){if(this.parseNewCallee(i),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),i.arguments=t}else i.arguments=[];return this.finishNode(i,"NewExpression")}parseNewCallee(i){i.callee=this.parseNoCallExpr(),i.callee.type==="Import"?this.raise(mt.ImportCallNotNewExpression,{at:i.callee}):this.isOptionalChain(i.callee)?this.raise(mt.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(mt.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(i){let{start:t,startLoc:o,end:p,value:y}=this.state,$=t+1,he=this.startNodeAt($,ln(o,1));y===null&&(i||this.raise(mt.InvalidEscapeSequenceTemplate,{at:ln(o,2)}));let Qe=this.match(24),wt=Qe?-1:-2,sr=p+wt;return he.value={raw:this.input.slice($,sr).replace(/\r\n?/g,`
|
|
275
275
|
`),cooked:y===null?null:y.slice(1,wt)},he.tail=Qe,this.next(),this.finishNode(he,"TemplateElement"),this.resetEndLocation(he,ln(this.state.lastTokEndLoc,wt)),he}parseTemplate(i){let t=this.startNode();t.expressions=[];let o=this.parseTemplateElement(i);for(t.quasis=[o];!o.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(o=this.parseTemplateElement(i));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(i,t,o,p){o&&this.expectPlugin("recordAndTuple");let y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let $=Object.create(null),he=!0,Qe=this.startNode();for(Qe.properties=[],this.next();!this.match(i);){if(he)he=!1;else if(this.expect(12),this.match(i)){this.addTrailingCommaExtraToNode(Qe);break}let sr;t?sr=this.parseBindingProperty():(sr=this.parsePropertyDefinition(p),this.checkProto(sr,o,$,p)),o&&!this.isObjectProperty(sr)&&sr.type!=="SpreadElement"&&this.raise(mt.InvalidRecordProperty,{at:sr}),sr.shorthand&&this.addExtra(sr,"shorthand",!0),Qe.properties.push(sr)}this.next(),this.state.inFSharpPipelineDirectBody=y;let wt="ObjectExpression";return t?wt="ObjectPattern":o&&(wt="RecordExpression"),this.finishNode(Qe,wt)}addTrailingCommaExtraToNode(i){this.addExtra(i,"trailingComma",this.state.lastTokStart),this.addExtra(i,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(i){return!i.computed&&i.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(i){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(mt.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let o=this.startNode(),p=!1,y=!1,$,he;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(o.decorators=t,t=[]),o.method=!1,i&&($=this.state.start,he=this.state.startLoc);let Qe=this.eat(55);this.parsePropertyNamePrefixOperator(o);let wt=this.state.containsEsc,sr=this.parsePropertyName(o,i);if(!Qe&&!wt&&this.maybeAsyncOrAccessorProp(o)){let d=sr.name;d==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(sr),Qe=this.eat(55),this.parsePropertyName(o)),(d==="get"||d==="set")&&(y=!0,this.resetPreviousNodeTrailingComments(sr),o.kind=d,this.match(55)&&(Qe=!0,this.raise(mt.AccessorIsGenerator,{at:this.state.curPosition(),kind:d}),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,$,he,Qe,p,!1,y,i),o}getGetterSetterExpectedParamCount(i){return i.kind==="get"?0:1}getObjectOrClassMethodParams(i){return i.params}checkGetterSetterParams(i){var t;let o=this.getGetterSetterExpectedParamCount(i),p=this.getObjectOrClassMethodParams(i);p.length!==o&&this.raise(i.kind==="get"?mt.BadGetterArity:mt.BadSetterArity,{at:i}),i.kind==="set"&&((t=p[p.length-1])==null?void 0:t.type)==="RestElement"&&this.raise(mt.BadSetterRestParameter,{at:i})}parseObjectMethod(i,t,o,p,y){if(y)return this.parseMethod(i,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(i),i;if(o||t||this.match(10))return p&&this.unexpected(),i.kind="method",i.method=!0,this.parseMethod(i,t,o,!1,!1,"ObjectMethod")}parseObjectProperty(i,t,o,p,y){if(i.shorthand=!1,this.eat(14))return i.value=p?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(y),this.finishNode(i,"ObjectProperty");if(!i.computed&&i.key.type==="Identifier"){if(this.checkReservedWord(i.key.name,i.key.loc.start,!0,!1),p)i.value=this.parseMaybeDefault(t,o,K(i.key));else if(this.match(29)){let $=this.state.startLoc;y!=null?y.shorthandAssignLoc===null&&(y.shorthandAssignLoc=$):this.raise(mt.InvalidCoverInitializedName,{at:$}),i.value=this.parseMaybeDefault(t,o,K(i.key))}else i.value=K(i.key);return i.shorthand=!0,this.finishNode(i,"ObjectProperty")}}parseObjPropValue(i,t,o,p,y,$,he,Qe){let wt=this.parseObjectMethod(i,p,y,$,he)||this.parseObjectProperty(i,t,o,$,Qe);return wt||this.unexpected(),wt}parsePropertyName(i,t){if(this.eat(0))i.computed=!0,i.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:o,value:p}=this.state,y;if(ys(o))y=this.parseIdentifier(!0);else switch(o){case 130:y=this.parseNumericLiteral(p);break;case 129:y=this.parseStringLiteral(p);break;case 131:y=this.parseBigIntLiteral(p);break;case 132:y=this.parseDecimalLiteral(p);break;case 134:{let $=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=$):this.raise(mt.UnexpectedPrivateField,{at:$}),y=this.parsePrivateName();break}default:throw this.unexpected()}i.key=y,o!==134&&(i.computed=!1)}return i.key}initFunction(i,t){i.id=null,i.generator=!1,i.async=!!t}parseMethod(i,t,o,p,y,$){let he=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(i,o),i.generator=!!t;let Qe=p;return this.scope.enter(Xa|po|(he?so:0)|(y?Ou:0)),this.prodParam.enter(lu(o,i.generator)),this.parseFunctionParams(i,Qe),this.parseFunctionBodyAndFinish(i,$,!0),this.prodParam.exit(),this.scope.exit(),i}parseArrayLike(i,t,o,p){o&&this.expectPlugin("recordAndTuple");let y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let $=this.startNode();return this.next(),$.elements=this.parseExprList(i,!o,p,$),this.state.inFSharpPipelineDirectBody=y,this.finishNode($,o?"TupleExpression":"ArrayExpression")}parseArrowExpression(i,t,o,p){this.scope.enter(Xa|xu);let y=lu(o,!1);!this.match(5)&&this.prodParam.hasIn&&(y|=Ra),this.prodParam.enter(y),this.initFunction(i,o);let $=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(i,t,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(i,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=$,this.finishNode(i,"ArrowFunctionExpression")}setArrowFunctionParameters(i,t,o){this.toAssignableList(t,o,!1),i.params=t}parseFunctionBodyAndFinish(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.parseFunctionBody(i,!1,o),this.finishNode(i,t)}parseFunctionBody(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&&!this.match(5);if(this.expressionScope.enter(Ko()),p)i.body=this.parseMaybeAssign(),this.checkParams(i,!1,t,!1);else{let y=this.state.strict,$=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|Vu),i.body=this.parseBlock(!0,!1,he=>{let Qe=!this.isSimpleParamList(i.params);he&&Qe&&this.raise(mt.IllegalLanguageModeDirective,{at:(i.kind==="method"||i.kind==="constructor")&&!!i.key?i.key.loc.end:i});let wt=!y&&this.state.strict;this.checkParams(i,!this.state.strict&&!t&&!o&&!Qe,t,wt),this.state.strict&&i.id&&this.checkIdentifier(i.id,su,wt)}),this.prodParam.exit(),this.state.labels=$}this.expressionScope.exit()}isSimpleParameter(i){return i.type==="Identifier"}isSimpleParamList(i){for(let t=0,o=i.length;t<o;t++)if(!this.isSimpleParameter(i[t]))return!1;return!0}checkParams(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,y=!t&&new Set,$={type:"FormalParameters"};for(let he of i.params)this.checkLVal(he,{in:$,binding:Za,checkClashes:y,strictModeChanged:p})}parseExprList(i,t,o,p){let y=[],$=!0;for(;!this.eat(i);){if($)$=!1;else if(this.expect(12),this.match(i)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}y.push(this.parseExprListItem(t,o))}return y}parseExprListItem(i,t,o){let p;if(this.match(12))i||this.raise(mt.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),p=null;else if(this.match(21)){let y=this.state.start,$=this.state.startLoc;p=this.parseParenItem(this.parseSpread(t),y,$)}else if(this.match(17)){this.expectPlugin("partialApplication"),o||this.raise(mt.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let y=this.startNode();this.next(),p=this.finishNode(y,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return p}parseIdentifier(i){let t=this.startNode(),o=this.parseIdentifierName(t.start,i);return this.createIdentifier(t,o)}createIdentifier(i,t){return i.name=t,i.loc.identifierName=t,this.finishNode(i,"Identifier")}parseIdentifierName(i,t){let o,{startLoc:p,type:y}=this.state;if(ys(y))o=this.state.value;else throw this.unexpected();let $=Ri(y);return t?$&&this.replaceToken(128):this.checkReservedWord(o,p,$,!1),this.next(),o}checkReservedWord(i,t,o,p){if(!(i.length>10||!la(i))){if(i==="yield"){if(this.prodParam.hasYield){this.raise(mt.YieldBindingIdentifier,{at:t});return}}else if(i==="await"){if(this.prodParam.hasAwait){this.raise(mt.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(mt.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(i==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(mt.ArgumentsInClass,{at:t});return}if(o&&Ma(i)){this.raise(mt.UnexpectedKeyword,{at:t,keyword:i});return}(this.state.strict?p?Va:Uo:co)(i,this.inModule)&&this.raise(mt.UnexpectedReservedWord,{at:t,reservedWord:i})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(i,t){let o=this.startNodeAt(i,t);return this.expressionScope.recordParameterInitializerError(mt.AwaitExpressionFormalParameter,{at:o}),this.eat(55)&&this.raise(mt.ObsoleteAwaitStar,{at:o}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:i}=this.state;return i===53||i===10||i===0||ks(i)||i===133||i===56||this.hasPlugin("v8intrinsic")&&i===54}parseYield(){let i=this.startNode();this.expressionScope.recordParameterInitializerError(mt.YieldInParameter,{at:i}),this.next();let t=!1,o=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:o=this.parseMaybeAssign()}return i.delegate=t,i.argument=o,this.finishNode(i,"YieldExpression")}checkPipelineAtInfixOperator(i,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&i.type==="SequenceExpression"&&this.raise(mt.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(i,t,o){let p=this.startNodeAt(t,o);return this.isSimpleReference(i)?(p.callee=i,this.finishNode(p,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(o),p.expression=i,this.finishNode(p,"PipelineTopicExpression"))}isSimpleReference(i){switch(i.type){case"MemberExpression":return!i.computed&&this.isSimpleReference(i.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(i){if(this.match(19))throw this.raise(mt.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(mt.PipelineTopicUnused,{at:i})}withTopicBindingContext(i){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(i){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=t}}else return i()}withSoloAwaitPermittingContext(i){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return i()}finally{this.state.soloAwait=t}}allowInAnd(i){let t=this.prodParam.currentFlags();if(Ra&~t){this.prodParam.enter(t|Ra);try{return i()}finally{this.prodParam.exit()}}return i()}disallowInAnd(i){let t=this.prodParam.currentFlags();if(Ra&t){this.prodParam.enter(t&~Ra);try{return i()}finally{this.prodParam.exit()}}return i()}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(i){let t=this.state.start,o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let p=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let y=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,o,i);return this.state.inFSharpPipelineDirectBody=p,y}parseModuleExpression(){this.expectPlugin("moduleBlocks");let i=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let o=this.startNode();try{i.body=this.parseProgram(o,8,"module")}finally{t()}return this.eat(8),this.finishNode(i,"ModuleExpression")}parsePropertyNamePrefixOperator(i){}},ra={kind:"loop"},sa={kind:"switch"},ka=0,Pa=1,Ls=2,Ys=4,Ua=/[\uD800-\uDFFF]/u,ca=/in(?:stanceof)?/y;function aa(i,t){for(let o=0;o<i.length;o++){let p=i[o],{type:y}=p;if(typeof y=="number"){{if(y===134){let{loc:$,start:he,value:Qe,end:wt}=p,sr=he+1,d=ln($.start,1);i.splice(o,1,new To({type:Gs(27),value:"#",start:he,end:sr,startLoc:$.start,endLoc:d}),new To({type:Gs(128),value:Qe,start:sr,end:wt,startLoc:d,endLoc:$.end})),o++;continue}if(ks(y)){let{loc:$,start:he,value:Qe,end:wt}=p,sr=he+1,d=ln($.start,1),A;t.charCodeAt(he)===96?A=new To({type:Gs(22),value:"`",start:he,end:sr,startLoc:$.start,endLoc:d}):A=new To({type:Gs(8),value:"}",start:he,end:sr,startLoc:$.start,endLoc:d});let m,b,E,g;y===24?(b=wt-1,E=ln($.end,-1),m=Qe===null?null:Qe.slice(1,-1),g=new To({type:Gs(22),value:"`",start:b,end:wt,startLoc:E,endLoc:$.end})):(b=wt-2,E=ln($.end,-2),m=Qe===null?null:Qe.slice(1,-2),g=new To({type:Gs(23),value:"${",start:b,end:wt,startLoc:E,endLoc:$.end})),i.splice(o,1,A,new To({type:Gs(20),value:m,start:sr,end:b,startLoc:d,endLoc:E}),g),o+=2;continue}}p.type=Gs(y)}}return i}var oa=class extends Zn{parseTopLevel(i,t){return i.program=this.parseProgram(t),i.comments=this.state.comments,this.options.tokens&&(i.tokens=aa(this.tokens,this.input)),this.finishNode(i,"File")}parseProgram(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:135,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(i.sourceType=o,i.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(i,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[p,y]of Array.from(this.scope.undefinedExports))this.raise(mt.ModuleExportUndefined,{at:y,localName:p});return this.finishNode(i,"Program")}stmtToDirective(i){let t=i;t.type="Directive",t.value=t.expression,delete t.expression;let o=t.value,p=o.value,y=this.input.slice(o.start,o.end),$=o.value=y.slice(1,-1);return this.addExtra(o,"raw",y),this.addExtra(o,"rawValue",$),this.addExtra(o,"expressionValue",p),o.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let i=this.startNode();return i.value=this.state.value,this.next(),this.finishNode(i,"InterpreterDirective")}isLet(i){return this.isContextual(99)?this.isLetKeyword(i):!1}isLetKeyword(i){let t=this.nextTokenStart(),o=this.codePointAtPos(t);if(o===92||o===91)return!0;if(i)return!1;if(o===123)return!0;if(Ts(o)){if(ca.lastIndex=t,ca.test(this.input)){let p=this.codePointAtPos(ca.lastIndex);if(!ta(p)&&p!==92)return!1}return!0}return!1}parseStatement(i,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(i,t)}parseStatementContent(i,t){let o=this.state.type,p=this.startNode(),y;switch(this.isLet(i)&&(o=74,y="let"),o){case 60:return this.parseBreakContinueStatement(p,!0);case 63:return this.parseBreakContinueStatement(p,!1);case 64:return this.parseDebuggerStatement(p);case 90:return this.parseDoStatement(p);case 91:return this.parseForStatement(p);case 68:if(this.lookaheadCharCode()===46)break;return i&&(this.state.strict?this.raise(mt.StrictFunction,{at:this.state.startLoc}):i!=="if"&&i!=="label"&&this.raise(mt.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(p,!1,!i);case 80:return i&&this.unexpected(),this.parseClass(p,!0);case 69:return this.parseIfStatement(p);case 70:return this.parseReturnStatement(p);case 71:return this.parseSwitchStatement(p);case 72:return this.parseThrowStatement(p);case 73:return this.parseTryStatement(p);case 75:case 74:return y=y||this.state.value,i&&y!=="var"&&this.raise(mt.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(p,y);case 92:return this.parseWhileStatement(p);case 76:return this.parseWithStatement(p);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(p);case 83:{let Qe=this.lookaheadCharCode();if(Qe===40||Qe===46)break}case 82:{!this.options.allowImportExportEverywhere&&!t&&this.raise(mt.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let Qe;return o===83?(Qe=this.parseImport(p),Qe.type==="ImportDeclaration"&&(!Qe.importKind||Qe.importKind==="value")&&(this.sawUnambiguousESM=!0)):(Qe=this.parseExport(p),(Qe.type==="ExportNamedDeclaration"&&(!Qe.exportKind||Qe.exportKind==="value")||Qe.type==="ExportAllDeclaration"&&(!Qe.exportKind||Qe.exportKind==="value")||Qe.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(p),Qe}default:if(this.isAsyncFunction())return i&&this.raise(mt.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(p,!0,!i)}let $=this.state.value,he=this.parseExpression();return Rn(o)&&he.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,$,he,i):this.parseExpressionStatement(p,he)}assertModuleNodeAllowed(i){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(mt.ImportOutsideModule,{at:i})}takeDecorators(i){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(i.decorators=t,this.resetStartLocationFromNode(i,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(i){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let o=this.parseDecorator();t.push(o)}if(this.match(82))i||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(mt.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(mt.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let i=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t=this.state.start,o=this.state.startLoc,p;if(this.match(10)){let y=this.state.start,$=this.state.startLoc;this.next(),p=this.parseExpression(),this.expect(11),p=this.wrapParenthesis(y,$,p)}else for(p=this.parseIdentifier(!1);this.eat(16);){let y=this.startNodeAt(t,o);y.object=p,y.property=this.parseIdentifier(!0),y.computed=!1,p=this.finishNode(y,"MemberExpression")}i.expression=this.parseMaybeDecoratorArguments(p),this.state.decoratorStack.pop()}else i.expression=this.parseExprSubscripts();return this.finishNode(i,"Decorator")}parseMaybeDecoratorArguments(i){if(this.eat(10)){let t=this.startNodeAtNode(i);return t.callee=i,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return i}parseBreakContinueStatement(i,t){return this.next(),this.isLineTerminator()?i.label=null:(i.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(i,t),this.finishNode(i,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(i,t){let o;for(o=0;o<this.state.labels.length;++o){let p=this.state.labels[o];if((i.label==null||p.name===i.label.name)&&(p.kind!=null&&(t||p.kind==="loop")||i.label&&t))break}if(o===this.state.labels.length){let p=t?"BreakStatement":"ContinueStatement";this.raise(mt.IllegalBreakContinue,{at:i,type:p})}}parseDebuggerStatement(i){return this.next(),this.semicolon(),this.finishNode(i,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let i=this.parseExpression();return this.expect(11),i}parseDoStatement(i){return this.next(),this.state.labels.push(ra),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(92),i.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(i,"DoWhileStatement")}parseForStatement(i){this.next(),this.state.labels.push(ra);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Wa),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(i,null);let o=this.isContextual(99),p=o&&this.isLetKeyword();if(this.match(74)||this.match(75)||p){let wt=this.startNode(),sr=p?"let":this.state.value;return this.next(),this.parseVar(wt,!0,sr),this.finishNode(wt,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&wt.declarations.length===1?this.parseForIn(i,wt,t):(t!==null&&this.unexpected(t),this.parseFor(i,wt))}let y=this.isContextual(95),$=new So,he=this.parseExpression(!0,$),Qe=this.isContextual(101);if(Qe&&(o&&this.raise(mt.ForOfLet,{at:he}),t===null&&y&&he.type==="Identifier"&&this.raise(mt.ForOfAsync,{at:he})),Qe||this.match(58)){this.checkDestructuringPrivate($),this.toAssignable(he,!0);let wt=Qe?"ForOfStatement":"ForInStatement";return this.checkLVal(he,{in:{type:wt}}),this.parseForIn(i,he,t)}else this.checkExpressionErrors($,!0);return t!==null&&this.unexpected(t),this.parseFor(i,he)}parseFunctionStatement(i,t,o){return this.next(),this.parseFunction(i,Pa|(o?0:Ls),t)}parseIfStatement(i){return this.next(),i.test=this.parseHeaderExpression(),i.consequent=this.parseStatement("if"),i.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(i,"IfStatement")}parseReturnStatement(i){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(mt.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?i.argument=null:(i.argument=this.parseExpression(),this.semicolon()),this.finishNode(i,"ReturnStatement")}parseSwitchStatement(i){this.next(),i.discriminant=this.parseHeaderExpression();let t=i.cases=[];this.expect(5),this.state.labels.push(sa),this.scope.enter(Wa);let o;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){let y=this.match(61);o&&this.finishNode(o,"SwitchCase"),t.push(o=this.startNode()),o.consequent=[],this.next(),y?o.test=this.parseExpression():(p&&this.raise(mt.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),p=!0,o.test=null),this.expect(14)}else o?o.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(i,"SwitchStatement")}parseThrowStatement(i){return this.next(),this.hasPrecedingLineBreak()&&this.raise(mt.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),i.argument=this.parseExpression(),this.semicolon(),this.finishNode(i,"ThrowStatement")}parseCatchClauseParam(){let i=this.parseBindingAtom(),t=i.type==="Identifier";return this.scope.enter(t?Iu:0),this.checkLVal(i,{in:{type:"CatchClause"},binding:Aa,allowingSloppyLetBinding:!0}),i}parseTryStatement(i){if(this.next(),i.block=this.parseBlock(),i.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(Wa)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),i.handler=this.finishNode(t,"CatchClause")}return i.finalizer=this.eat(67)?this.parseBlock():null,!i.handler&&!i.finalizer&&this.raise(mt.NoCatchOrFinally,{at:i}),this.finishNode(i,"TryStatement")}parseVarStatement(i,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(i,!1,t,o),this.semicolon(),this.finishNode(i,"VariableDeclaration")}parseWhileStatement(i){return this.next(),i.test=this.parseHeaderExpression(),this.state.labels.push(ra),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(i,"WhileStatement")}parseWithStatement(i){return this.state.strict&&this.raise(mt.StrictWith,{at:this.state.startLoc}),this.next(),i.object=this.parseHeaderExpression(),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(i,"WithStatement")}parseEmptyStatement(i){return this.next(),this.finishNode(i,"EmptyStatement")}parseLabeledStatement(i,t,o,p){for(let $ of this.state.labels)$.name===t&&this.raise(mt.LabelRedeclaration,{at:o,labelName:t});let y=We(this.state.type)?"loop":this.match(71)?"switch":null;for(let $=this.state.labels.length-1;$>=0;$--){let he=this.state.labels[$];if(he.statementStart===i.start)he.statementStart=this.state.start,he.kind=y;else break}return this.state.labels.push({name:t,kind:y,statementStart:this.state.start}),i.body=this.parseStatement(p?p.indexOf("label")===-1?p+"label":p:"label"),this.state.labels.pop(),i.label=o,this.finishNode(i,"LabeledStatement")}parseExpressionStatement(i,t){return i.expression=t,this.semicolon(),this.finishNode(i,"ExpressionStatement")}parseBlock(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,o=arguments.length>2?arguments[2]:void 0,p=this.startNode();return i&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Wa),this.parseBlockBody(p,i,!1,8,o),t&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(i){return i.type==="ExpressionStatement"&&i.expression.type==="StringLiteral"&&!i.expression.extra.parenthesized}parseBlockBody(i,t,o,p,y){let $=i.body=[],he=i.directives=[];this.parseBlockOrModuleBlockBody($,t?he:void 0,o,p,y)}parseBlockOrModuleBlockBody(i,t,o,p,y){let $=this.state.strict,he=!1,Qe=!1;for(;!this.match(p);){let wt=this.parseStatement(null,o);if(t&&!Qe){if(this.isValidDirective(wt)){let sr=this.stmtToDirective(wt);t.push(sr),!he&&sr.value.value==="use strict"&&(he=!0,this.setStrict(!0));continue}Qe=!0,this.state.strictErrors.clear()}i.push(wt)}y&&y.call(this,he),$||this.setStrict(!1),this.next()}parseFor(i,t){return i.init=t,this.semicolon(!1),i.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),i.update=this.match(11)?null:this.parseExpression(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,"ForStatement")}parseForIn(i,t,o){let p=this.match(58);return this.next(),p?o!==null&&this.unexpected(o):i.await=o!==null,t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!p||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(mt.ForInOfLoopInitializer,{at:t,type:p?"ForInStatement":"ForOfStatement"}),t.type==="AssignmentPattern"&&this.raise(mt.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),i.left=t,i.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,p?"ForInStatement":"ForOfStatement")}parseVar(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,y=i.declarations=[];for(i.kind=o;;){let $=this.startNode();if(this.parseVarId($,o),$.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,$.init===null&&!p&&($.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(mt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):o==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(mt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),y.push(this.finishNode($,"VariableDeclarator")),!this.eat(12))break}return i}parseVarId(i,t){i.id=this.parseBindingAtom(),this.checkLVal(i.id,{in:{type:"VariableDeclarator"},binding:t==="var"?Za:Aa})}parseFunction(i){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ka,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&Pa,y=t&Ls,$=!!p&&!(t&Ys);this.initFunction(i,o),this.match(55)&&y&&this.raise(mt.GeneratorInSingleStatementContext,{at:this.state.startLoc}),i.generator=this.eat(55),p&&(i.id=this.parseFunctionId($));let he=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Xa),this.prodParam.enter(lu(o,i.generator)),p||(i.id=this.parseFunctionId()),this.parseFunctionParams(i,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(i,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!y&&this.registerFunctionStatementId(i),this.state.maybeInArrowParameters=he,i}parseFunctionId(i){return i||Rn(this.state.type)?this.parseIdentifier():null}parseFunctionParams(i,t){this.expect(10),this.expressionScope.enter(Bl()),i.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(i){!i.id||this.scope.declareName(i.id.name,this.state.strict||i.generator||i.async?this.scope.treatFunctionsAsVar?Za:Aa:ju,i.id.loc.start)}parseClass(i,t,o){this.next(),this.takeDecorators(i);let p=this.state.strict;return this.state.strict=!0,this.parseClassId(i,t,o),this.parseClassSuper(i),i.body=this.parseClassBody(!!i.superClass,p),this.finishNode(i,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(i){return!i.computed&&!i.static&&(i.key.name==="constructor"||i.key.value==="constructor")}parseClassBody(i,t){this.classScope.enter();let o={hadConstructor:!1,hadSuperClass:i},p=[],y=this.startNode();if(y.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(p.length>0)throw this.raise(mt.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){p.push(this.parseDecorator());continue}let $=this.startNode();p.length&&($.decorators=p,this.resetStartLocationFromNode($,p[0]),p=[]),this.parseClassMember(y,$,o),$.kind==="constructor"&&$.decorators&&$.decorators.length>0&&this.raise(mt.DecoratorConstructor,{at:$})}}),this.state.strict=t,this.next(),p.length)throw this.raise(mt.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(y,"ClassBody")}parseClassMemberFromModifier(i,t){let o=this.parseIdentifier(!0);if(this.isClassMethod()){let p=t;return p.kind="method",p.computed=!1,p.key=o,p.static=!1,this.pushClassMethod(i,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let p=t;return p.computed=!1,p.key=o,p.static=!1,i.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(o),!1}parseClassMember(i,t,o){let p=this.isContextual(104);if(p){if(this.parseClassMemberFromModifier(i,t))return;if(this.eat(5)){this.parseClassStaticBlock(i,t);return}}this.parseClassMemberWithIsStatic(i,t,o,p)}parseClassMemberWithIsStatic(i,t,o,p){let y=t,$=t,he=t,Qe=t,wt=t,sr=y,d=y;if(t.static=p,this.parsePropertyNamePrefixOperator(t),this.eat(55)){sr.kind="method";let g=this.match(134);if(this.parseClassElementName(sr),g){this.pushClassPrivateMethod(i,$,!0,!1);return}this.isNonstaticConstructor(y)&&this.raise(mt.ConstructorIsGenerator,{at:y.key}),this.pushClassMethod(i,y,!0,!1,!1,!1);return}let A=Rn(this.state.type)&&!this.state.containsEsc,m=this.match(134),b=this.parseClassElementName(t),E=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(sr.kind="method",m){this.pushClassPrivateMethod(i,$,!1,!1);return}let g=this.isNonstaticConstructor(y),v=!1;g&&(y.kind="constructor",o.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(mt.DuplicateConstructor,{at:b}),g&&this.hasPlugin("typescript")&&t.override&&this.raise(mt.OverrideOnConstructor,{at:b}),o.hadConstructor=!0,v=o.hadSuperClass),this.pushClassMethod(i,y,!1,!1,g,v)}else if(this.isClassProperty())m?this.pushClassPrivateProperty(i,Qe):this.pushClassProperty(i,he);else if(A&&b.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(b);let g=this.eat(55);d.optional&&this.unexpected(E),sr.kind="method";let v=this.match(134);this.parseClassElementName(sr),this.parsePostMemberNameModifiers(d),v?this.pushClassPrivateMethod(i,$,g,!0):(this.isNonstaticConstructor(y)&&this.raise(mt.ConstructorIsAsync,{at:y.key}),this.pushClassMethod(i,y,g,!0,!1,!1))}else if(A&&(b.name==="get"||b.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(b),sr.kind=b.name;let g=this.match(134);this.parseClassElementName(y),g?this.pushClassPrivateMethod(i,$,!1,!1):(this.isNonstaticConstructor(y)&&this.raise(mt.ConstructorIsAccessor,{at:y.key}),this.pushClassMethod(i,y,!1,!1,!1,!1)),this.checkGetterSetterParams(y)}else if(A&&b.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(b);let g=this.match(134);this.parseClassElementName(he),this.pushClassAccessorProperty(i,wt,g)}else this.isLineTerminator()?m?this.pushClassPrivateProperty(i,Qe):this.pushClassProperty(i,he):this.unexpected()}parseClassElementName(i){let{type:t,value:o}=this.state;if((t===128||t===129)&&i.static&&o==="prototype"&&this.raise(mt.StaticPrototype,{at:this.state.startLoc}),t===134){o==="constructor"&&this.raise(mt.ConstructorClassPrivateField,{at:this.state.startLoc});let p=this.parsePrivateName();return i.key=p,p}return this.parsePropertyName(i)}parseClassStaticBlock(i,t){var o;this.scope.enter(so|Ho|po);let p=this.state.labels;this.state.labels=[],this.prodParam.enter(Qo);let y=t.body=[];this.parseBlockOrModuleBlockBody(y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,i.body.push(this.finishNode(t,"StaticBlock")),(o=t.decorators)!=null&&o.length&&this.raise(mt.DecoratorStaticBlock,{at:t})}pushClassProperty(i,t){!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")&&this.raise(mt.ConstructorClassField,{at:t.key}),i.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(i,t){let o=this.parseClassPrivateProperty(t);i.body.push(o),this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),Eu,o.key.loc.start)}pushClassAccessorProperty(i,t,o){if(!o&&!t.computed){let y=t.key;(y.name==="constructor"||y.value==="constructor")&&this.raise(mt.ConstructorClassField,{at:y})}let p=this.parseClassAccessorProperty(t);i.body.push(p),o&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),Eu,p.key.loc.start)}pushClassMethod(i,t,o,p,y,$){i.body.push(this.parseMethod(t,o,p,y,$,"ClassMethod",!0))}pushClassPrivateMethod(i,t,o,p){let y=this.parseMethod(t,o,p,!1,!1,"ClassPrivateMethod",!0);i.body.push(y);let $=y.kind==="get"?y.static?ao:Vl:y.kind==="set"?y.static?wo:rc:Eu;this.declareClassPrivateMethodInScope(y,$)}declareClassPrivateMethodInScope(i,t){this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),t,i.key.loc.start)}parsePostMemberNameModifiers(i){}parseClassPrivateProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassPrivateProperty")}parseClassProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassProperty")}parseClassAccessorProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassAccessorProperty")}parseInitializer(i){this.scope.enter(so|po),this.expressionScope.enter(Ko()),this.prodParam.enter(Qo),i.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(i,t,o){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:iu;if(Rn(this.state.type))i.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(i.id,p);else if(o||!t)i.id=null;else throw this.raise(mt.MissingClassName,{at:this.state.startLoc})}parseClassSuper(i){i.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(i){let t=this.maybeParseExportDefaultSpecifier(i),o=!t||this.eat(12),p=o&&this.eatExportStar(i),y=p&&this.maybeParseExportNamespaceSpecifier(i),$=o&&(!y||this.eat(12)),he=t||p;if(p&&!y)return t&&this.unexpected(),this.parseExportFrom(i,!0),this.finishNode(i,"ExportAllDeclaration");let Qe=this.maybeParseExportNamedSpecifiers(i);if(t&&o&&!p&&!Qe||y&&$&&!Qe)throw this.unexpected(null,5);let wt;if(he||Qe?(wt=!1,this.parseExportFrom(i,he)):wt=this.maybeParseExportDeclaration(i),he||Qe||wt)return this.checkExport(i,!0,!1,!!i.source),this.finishNode(i,"ExportNamedDeclaration");if(this.eat(65))return i.declaration=this.parseExportDefaultExpression(),this.checkExport(i,!0,!0),this.finishNode(i,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(i){return this.eat(55)}maybeParseExportDefaultSpecifier(i){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),i.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(i){if(this.isContextual(93)){i.specifiers||(i.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),i.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(i){if(this.match(5)){i.specifiers||(i.specifiers=[]);let t=i.exportKind==="type";return i.specifiers.push(...this.parseExportSpecifiers(t)),i.source=null,i.declaration=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),!0}return!1}maybeParseExportDeclaration(i){return this.shouldParseExportDeclaration()?(i.specifiers=[],i.source=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),i.declaration=this.parseExportDeclaration(i),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let i=this.nextTokenStart();return!Ks.test(this.input.slice(this.state.pos,i))&&this.isUnparsedContextual(i,"function")}parseExportDefaultExpression(){let i=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(i,Pa|Ys,t);if(this.match(80))return this.parseClass(i,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(mt.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(i,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(mt.UnsupportedDefaultExport,{at:this.state.startLoc});let o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}parseExportDeclaration(i){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:i}=this.state;if(Rn(i)){if(i===95&&!this.state.containsEsc||i===99)return!1;if((i===126||i===125)&&!this.state.containsEsc){let{type:p}=this.lookahead();if(Rn(p)&&p!==97||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),o=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||Rn(this.state.type)&&o)return!0;if(this.match(65)&&o){let p=this.input.charCodeAt(this.nextTokenStartSince(t+4));return p===34||p===39}return!1}parseExportFrom(i,t){if(this.eatContextual(97)){i.source=this.parseImportSource(),this.checkExport(i);let o=this.maybeParseImportAssertions();o&&(i.assertions=o)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:i}=this.state;if(i===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(mt.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return i===74||i===75||i===68||i===80||this.isLet()||this.isAsyncFunction()}checkExport(i,t,o,p){if(t){if(o){if(this.checkDuplicateExports(i,"default"),this.hasPlugin("exportDefaultFrom")){var y;let $=i.declaration;$.type==="Identifier"&&$.name==="from"&&$.end-$.start===4&&!((y=$.extra)!=null&&y.parenthesized)&&this.raise(mt.ExportDefaultFromAsIdentifier,{at:$})}}else if(i.specifiers&&i.specifiers.length)for(let $ of i.specifiers){let{exported:he}=$,Qe=he.type==="Identifier"?he.name:he.value;if(this.checkDuplicateExports($,Qe),!p&&$.local){let{local:wt}=$;wt.type!=="Identifier"?this.raise(mt.ExportBindingIsString,{at:$,localName:wt.value,exportName:Qe}):(this.checkReservedWord(wt.name,wt.loc.start,!0,!1),this.scope.checkLocalExport(wt))}}else if(i.declaration){if(i.declaration.type==="FunctionDeclaration"||i.declaration.type==="ClassDeclaration"){let $=i.declaration.id;if(!$)throw new Error("Assertion failure");this.checkDuplicateExports(i,$.name)}else if(i.declaration.type==="VariableDeclaration")for(let $ of i.declaration.declarations)this.checkDeclaration($.id)}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(mt.UnsupportedDecoratorExport,{at:i})}checkDeclaration(i){if(i.type==="Identifier")this.checkDuplicateExports(i,i.name);else if(i.type==="ObjectPattern")for(let t of i.properties)this.checkDeclaration(t);else if(i.type==="ArrayPattern")for(let t of i.elements)t&&this.checkDeclaration(t);else i.type==="ObjectProperty"?this.checkDeclaration(i.value):i.type==="RestElement"?this.checkDeclaration(i.argument):i.type==="AssignmentPattern"&&this.checkDeclaration(i.left)}checkDuplicateExports(i,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(mt.DuplicateDefaultExport,{at:i}):this.raise(mt.DuplicateExport,{at:i,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(i){let t=[],o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else if(this.expect(12),this.eat(8))break;let p=this.isContextual(126),y=this.match(129),$=this.startNode();$.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier($,y,i,p))}return t}parseExportSpecifier(i,t,o,p){return this.eatContextual(93)?i.exported=this.parseModuleExportName():t?i.exported=oe(i.local):i.exported||(i.exported=K(i.local)),this.finishNode(i,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let i=this.parseStringLiteral(this.state.value),t=i.value.match(Ua);return t&&this.raise(mt.ModuleExportNameHasLoneSurrogate,{at:i,surrogateCharCode:t[0].charCodeAt(0)}),i}return this.parseIdentifier(!0)}parseImport(i){if(i.specifiers=[],!this.match(129)){let o=!this.maybeParseDefaultImportSpecifier(i)||this.eat(12),p=o&&this.maybeParseStarImportSpecifier(i);o&&!p&&this.parseNamedImportSpecifiers(i),this.expectContextual(97)}i.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)i.assertions=t;else{let o=this.maybeParseModuleAttributes();o&&(i.attributes=o)}return this.semicolon(),this.finishNode(i,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(i){return Rn(this.state.type)}parseImportSpecifierLocal(i,t,o){t.local=this.parseIdentifier(),i.specifiers.push(this.finishImportSpecifier(t,o))}finishImportSpecifier(i,t){return this.checkLVal(i.local,{in:i,binding:Aa}),this.finishNode(i,t)}parseAssertEntries(){let i=[],t=new Set;do{if(this.match(8))break;let o=this.startNode(),p=this.state.value;if(t.has(p)&&this.raise(mt.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:p}),t.add(p),this.match(129)?o.key=this.parseStringLiteral(p):o.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(mt.ModuleAttributeInvalidValue,{at:this.state.startLoc});o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),i.push(o)}while(this.eat(12));return i}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let i=[],t=new Set;do{let o=this.startNode();if(o.key=this.parseIdentifier(!0),o.key.name!=="type"&&this.raise(mt.ModuleAttributeDifferentFromType,{at:o.key}),t.has(o.key.name)&&this.raise(mt.ModuleAttributesWithDuplicateKeys,{at:o.key,key:o.key.name}),t.add(o.key.name),this.expect(14),!this.match(129))throw this.raise(mt.ModuleAttributeInvalidValue,{at:this.state.startLoc});o.value=this.parseStringLiteral(this.state.value),this.finishNode(o,"ImportAttribute"),i.push(o)}while(this.eat(12));return i}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let i=this.parseAssertEntries();return this.eat(8),i}maybeParseDefaultImportSpecifier(i){return this.shouldParseDefaultImport(i)?(this.parseImportSpecifierLocal(i,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(i){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(i,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(i){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(mt.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let o=this.startNode(),p=this.match(129),y=this.isContextual(126);o.imported=this.parseModuleExportName();let $=this.parseImportSpecifier(o,p,i.importKind==="type"||i.importKind==="typeof",y);i.specifiers.push($)}}parseImportSpecifier(i,t,o,p){if(this.eatContextual(93))i.local=this.parseIdentifier();else{let{imported:y}=i;if(t)throw this.raise(mt.ImportBindingIsString,{at:i,importName:y.value});this.checkReservedWord(y.name,i.loc.start,!0,!0),i.local||(i.local=K(y))}return this.finishImportSpecifier(i,"ImportSpecifier")}isThisParam(i){return i.type==="Identifier"&&i.name==="this"}},fl=class extends oa{constructor(i,t){i=Or(i),super(i,t),this.options=i,this.initializeScopes(),this.plugins=wu(this.options.plugins),this.filename=i.sourceFilename}getScopeHandler(){return uu}parse(){this.enterInitialScopes();let i=this.startNode(),t=this.startNode();return this.nextToken(),i.errors=null,this.parseTopLevel(i,t),i.errors=this.state.errors,i}};function wu(i){let t=new Map;for(let o of i){let[p,y]=Array.isArray(o)?o:[o,{}];t.has(p)||t.set(p,y||{})}return t}function _c(i,t){var o;if(((o=t)==null?void 0:o.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let p=cu(t,i),y=p.parse();if(p.sawUnambiguousESM)return y;if(p.ambiguousScriptDifferentAst)try{return t.sourceType="script",cu(t,i).parse()}catch{}else y.program.sourceType="script";return y}catch(p){try{return t.sourceType="script",cu(t,i).parse()}catch{}throw p}}else return cu(t,i).parse()}function Ic(i,t){let o=cu(t,i);return o.options.strictMode&&(o.state.strict=!0),o.getExpression()}function Oc(i){let t={};for(let o of Object.keys(i))t[o]=Gs(i[o]);return t}var Tu=Oc(kn);function cu(i,t){let o=fl;return i!=null&&i.plugins&&(xi(i.plugins),o=Ol(i.plugins)),new o(i,t)}var Il={};function Ol(i){let t=Vt.filter(y=>is(i,y)),o=t.join("/"),p=Il[o];if(!p){p=fl;for(let y of t)p=Ci[y](p);Il[o]=p}return p}Kn.parse=_c,Kn.parseExpression=Ic,Kn.tokTypes=Tu}}),Nu=Ee({"src/language-js/parse/json.js"(Kn,En){Ct();var mn=Bo(),on=vo(),ln=tu(),Yn=lo();function ai(){let ei=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Ni=!0}=ei;return function(hs){let{parseExpression:Mi}=tl(),Fs;try{Fs=Mi(hs,{tokens:!0,ranges:!0})}catch(da){throw Yn(da)}if(!Ni&&mn(Fs.comments))throw ii(Fs.comments[0],"Comment");return Ti(Fs),Fs}}function ii(ei,Ni){let[hs,Mi]=[ei.loc.start,ei.loc.end].map(Fs=>{let{line:da,column:as}=Fs;return{line:da,column:as+1}});return on("".concat(Ni," is not allowed in JSON."),{start:hs,end:Mi})}function Ti(ei){switch(ei.type){case"ArrayExpression":for(let Ni of ei.elements)Ni!==null&&Ti(Ni);return;case"ObjectExpression":for(let Ni of ei.properties)Ti(Ni);return;case"ObjectProperty":if(ei.computed)throw ii(ei.key,"Computed key");if(ei.shorthand)throw ii(ei.key,"Shorthand property");ei.key.type!=="Identifier"&&Ti(ei.key),Ti(ei.value);return;case"UnaryExpression":{let{operator:Ni,argument:hs}=ei;if(Ni!=="+"&&Ni!=="-")throw ii(ei,"Operator '".concat(ei.operator,"'"));if(hs.type==="NumericLiteral"||hs.type==="Identifier"&&(hs.name==="Infinity"||hs.name==="NaN"))return;throw ii(hs,"Operator '".concat(Ni,"' before '").concat(hs.type,"'"))}case"Identifier":if(ei.name!=="Infinity"&&ei.name!=="NaN"&&ei.name!=="undefined")throw ii(ei,"Identifier '".concat(ei.name,"'"));return;case"TemplateLiteral":if(mn(ei.expressions))throw ii(ei.expressions[0],"'TemplateLiteral' with expression");for(let Ni of ei.quasis)Ti(Ni);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw ii(ei,"'".concat(ei.type,"'"))}}var Gi=ai(),Yi={json:ln({parse:Gi,hasPragma(){return!0}}),json5:ln(Gi),"json-stringify":ln({parse:ai({allowComments:!1}),astFormat:"estree-json"})};En.exports=Yi}});Ct();var za=Kt(),xl=ur(),rl=kr(),ma=tu(),Io=lo(),Bu=el(),nl=Nu(),Cl={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},El=["recordAndTuple",{syntaxType:"hash"}],Oo="v8intrinsic",Ia=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Js=function(Kn){let En=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Cl;return Object.assign(Object.assign({},En),{},{plugins:[...En.plugins,...Kn]})},Da=/@(?:no)?flow\b/;function Ha(Kn,En){if(En.filepath&&En.filepath.endsWith(".js.flow"))return!0;let mn=xl(Kn);mn&&(Kn=Kn.slice(mn.length));let on=rl(Kn,0);return on!==!1&&(Kn=Kn.slice(0,on)),Da.test(Kn)}function $a(Kn,En,mn){let on=tl()[Kn](En,mn),ln=on.errors.find(Yn=>!xa.has(Yn.reasonCode));if(ln)throw ln;return on}function va(Kn){for(var En=arguments.length,mn=new Array(En>1?En-1:0),on=1;on<En;on++)mn[on-1]=arguments[on];return function(ln,Yn){let ai=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((ai.parser==="babel"||ai.parser==="__babel_estree")&&Ha(ln,ai))return ai.parser="babel-flow",Du(ln,Yn,ai);let ii=mn;ai.__babelSourceType==="script"&&(ii=ii.map(ei=>Object.assign(Object.assign({},ei),{},{sourceType:"script"}))),/#[[{]/.test(ln)&&(ii=ii.map(ei=>Js([El],ei)));let Ti=/%[A-Z]/.test(ln);ln.includes("|>")?ii=(Ti?[...Ia,Oo]:Ia).flatMap(ei=>ii.map(Ni=>Js([ei],Ni))):Ti&&(ii=ii.map(ei=>Js([Oo],ei)));let{result:Gi,error:Yi}=za(...ii.map(ei=>()=>$a(Kn,ln,ei)));if(!Gi)throw Io(Yi);return ai.originalText=ln,Bu(Gi,ai)}}var Lo=va("parse",Js(["jsx","flow"])),Du=va("parse",Js(["jsx",["flow",{all:!0,enums:!0}]])),Qi=va("parse",Js(["jsx","typescript"]),Js(["typescript"])),Mo=va("parse",Js(["jsx","flow","estree"])),_u=va("parseExpression",Js(["jsx"])),jo=va("parseExpression",Js(["typescript"])),xa=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),ru=ma(Lo),vu=ma(Qi),Ro=ma(_u),xo=ma(jo);Lt.exports={parsers:Object.assign(Object.assign({babel:ru,"babel-flow":ma(Du),"babel-ts":vu},nl),{},{__js_expression:Ro,__vue_expression:Ro,__vue_ts_expression:xo,__vue_event_binding:ru,__vue_ts_event_binding:vu,__babel_estree:ma(Mo)})}});return On()})})(Tm);const JD=zp(Tm.exports);function KD(s,c,l){const f={css:GD,html:XD,babel:JD};return ea(()=>{if(!ws(c))return ws(s)||"/* empty */";try{return WD.format(ws(s)||"",{parser:l,plugins:[f[l]],singleQuote:!0,semi:!1})}catch(D){return console.error(D),`/* Error on prettifying: ${D.message} */
|
|
276
|
-
${ws(s)||""}`}})}function QD(s,c=!0){return KD(s,c,"css")}const YD={"h-full":""},ZD={p:"x4 y2",grid:"~ cols-4 gap-4"},ev=Xi("div",{op80:""}," Presets ",-1),tv={op50:"","ws-pre":""},rv={overflow:"auto"},nv=Xi("div",{op80:""}," Rules ",-1),iv=Xi("span",{op50:""},"dynamic",-1),sv=Xi("br",null,null,-1),av=Xi("span",{op50:""},"static",-1),ov=Xi("div",{op80:""}," Variants ",-1),uv=Xi("div",{op80:""}," Shortcuts ",-1),lv={key:0},cv=Xi("div",{op80:""}," Config File ",-1),pv=Xi("div",{op80:""}," Version ",-1),hv={op50:"","ws-pre":""},fv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},dv=Xi("div",{op80:""}," Included Files ",-1),mv=Xi("div",{op80:""}," CSS Size ",-1),gv=Xi("span",{op50:""},"gzipped",-1),yv=Xi("div",{op80:""}," Matched Rules ",-1),Dv=Xi("div",{op80:""}," Layers ",-1),vv={op50:"","ws-pre":""},xv=Gu(" Prettify "),Cv=Zu({__name:"Overview",setup(s){const c=Ba(null),l=VD(c,"overview-scrolls");
|
|
277
|
-
`)),1)]),Xi("div",rv,[nv,Gu(" "+ko((Rr=(ar=(Wt=ws(ro))==null?void 0:Wt.config)==null?void 0:ar.rulesDynamic)==null?void 0:Rr.length)+" ",1),iv,sv,Gu(" "+ko(Object.keys(((It=(At=ws(ro))==null?void 0:At.config)==null?void 0:It.rulesStaticMap)||{}).length)+" ",1),av]),Xi("div",null,[ov,Gu(" "+ko((an=(Er=(qt=ws(ro))==null?void 0:qt.config)==null?void 0:Er.variants)==null?void 0:an.length),1)]),Xi("div",null,[uv,Gu(" "+ko((Jn=ws(ro))==null?void 0:Jn.config.shortcuts.length),1)]),(An=ws(ro))!=null&&An.configPath?(ya(),uo("div",lv,[cv,na(pe,{id:ws(ro).configPath},null,8,["id"])])):bp("",!0),Xi("div",null,[pv,Xi("div",hv,ko((mi=ws(ro))==null?void 0:mi.version),1)])]),Xi("div",fv,[Xi("div",null,[dv,Gu(" "+ko((oi=ws(ro))==null?void 0:oi.modules.length),1)]),Xi("div",null,[mv,Gu(" "+ko(((((Xn=ws(
|
|
278
|
-
`)),1)])]),na(ye,{border:"t gray-400/20",title:"Output CSS"},{default:jl(()=>[Xi("label",null,[l0(Xi("input",{"onUpdate:modelValue":Y[0]||(Y[0]=xr=>f.value=xr),type:"checkbox"},null,512),[[oy,f.value]]),xv])]),_:1})]}),_:1},512),na(Oe,{"model-value":ws(D),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:
|
|
276
|
+
${ws(s)||""}`}})}function QD(s,c=!0){return KD(s,c,"css")}const YD={"h-full":""},ZD={p:"x4 y2",grid:"~ cols-4 gap-4"},ev=Xi("div",{op80:""}," Presets ",-1),tv={op50:"","ws-pre":""},rv={overflow:"auto"},nv=Xi("div",{op80:""}," Rules ",-1),iv=Xi("span",{op50:""},"dynamic",-1),sv=Xi("br",null,null,-1),av=Xi("span",{op50:""},"static",-1),ov=Xi("div",{op80:""}," Variants ",-1),uv=Xi("div",{op80:""}," Shortcuts ",-1),lv={key:0},cv=Xi("div",{op80:""}," Config File ",-1),pv=Xi("div",{op80:""}," Version ",-1),hv={op50:"","ws-pre":""},fv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},dv=Xi("div",{op80:""}," Included Files ",-1),mv=Xi("div",{op80:""}," CSS Size ",-1),gv=Xi("span",{op50:""},"gzipped",-1),yv=Xi("div",{op80:""}," Matched Rules ",-1),Dv=Xi("div",{op80:""}," Layers ",-1),vv={op50:"","ws-pre":""},xv=Gu(" Prettify "),Cv=Zu({__name:"Overview",setup(s){const c=Ba(null),l=VD(c,"overview-scrolls");Uh.execute();const f=Ba(!1),D=QD(ea(()=>{var N;return(N=up.value)==null?void 0:N.css}),f);return(N,Y)=>{const pe=qD,ye=jD,Me=ID,Oe=PD;return ya(),uo("div",YD,[na(Me,{ref_key:"status",ref:c,p0:""},{default:jl(()=>{var it,gt,St,Wt,ar,Rr,At,It,qt,Er,an,Jn,An,mi,oi,Xn,Un,gi;return[Xi("div",ZD,[Xi("div",null,[ev,Xi("div",tv,ko((St=(gt=(it=ws(ro))==null?void 0:it.config)==null?void 0:gt.presets)==null?void 0:St.map(xr=>xr.name).join(`
|
|
277
|
+
`)),1)]),Xi("div",rv,[nv,Gu(" "+ko((Rr=(ar=(Wt=ws(ro))==null?void 0:Wt.config)==null?void 0:ar.rulesDynamic)==null?void 0:Rr.length)+" ",1),iv,sv,Gu(" "+ko(Object.keys(((It=(At=ws(ro))==null?void 0:At.config)==null?void 0:It.rulesStaticMap)||{}).length)+" ",1),av]),Xi("div",null,[ov,Gu(" "+ko((an=(Er=(qt=ws(ro))==null?void 0:qt.config)==null?void 0:Er.variants)==null?void 0:an.length),1)]),Xi("div",null,[uv,Gu(" "+ko((Jn=ws(ro))==null?void 0:Jn.config.shortcuts.length),1)]),(An=ws(ro))!=null&&An.configPath?(ya(),uo("div",lv,[cv,na(pe,{id:ws(ro).configPath},null,8,["id"])])):bp("",!0),Xi("div",null,[pv,Xi("div",hv,ko((mi=ws(ro))==null?void 0:mi.version),1)])]),Xi("div",fv,[Xi("div",null,[dv,Gu(" "+ko((oi=ws(ro))==null?void 0:oi.modules.length),1)]),Xi("div",null,[mv,Gu(" "+ko(((((Xn=ws(up))==null?void 0:Xn.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),gv]),Xi("div",null,[yv,Gu(" "+ko((Un=ws(up))==null?void 0:Un.matched.length),1)]),Xi("div",null,[Dv,Xi("div",vv,ko((gi=ws(up))==null?void 0:gi.layers.join(`
|
|
278
|
+
`)),1)])]),na(ye,{border:"t gray-400/20",title:"Output CSS"},{default:jl(()=>[Xi("label",null,[l0(Xi("input",{"onUpdate:modelValue":Y[0]||(Y[0]=xr=>f.value=xr),type:"checkbox"},null,512),[[oy,f.value]]),xv])]),_:1})]}),_:1},512),na(Oe,{"model-value":ws(D),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:tp(ws(l))},null,8,["model-value","style"])])}}}),Ev={};function bv(s,c){const l=Cv;return ya(),bc(l)}const Av=Dm(Ev,[["render",bv]]),wv=()=>yh(()=>import("./repl.5bf0dd74.js"),[]),Tv=()=>yh(()=>import("./_id_.55e40eb6.js"),[]),Sv=[{name:"repl",path:"/repl",component:wv,props:!0},{name:"index",path:"/",component:Av,props:!0},{name:"module-id",path:"/module/:id",component:Tv,props:!0}];/*!
|
|
279
279
|
* vue-router v4.1.5
|
|
280
280
|
* (c) 2022 Eduardo San Martin Morote
|
|
281
281
|
* @license MIT
|
|
282
|
-
*/const gc=typeof window<"u";function Fv(s){return s.__esModule||s[Symbol.toStringTag]==="Module"}const Zs=Object.assign;function Qp(s,c){const l={};for(const f in c){const D=c[f];l[f]=Yu(D)?D.map(s):s(D)}return l}const Vc=()=>{},Yu=Array.isArray,kv=/\/$/,Pv=s=>s.replace(kv,"");function Yp(s,c,l="/"){let f,D={},N="",Y="";const pe=c.indexOf("#");let ye=c.indexOf("?");return pe<ye&&pe>=0&&(ye=-1),ye>-1&&(f=c.slice(0,ye),N=c.slice(ye+1,pe>-1?pe:c.length),D=s(N)),pe>-1&&(f=f||c.slice(0,pe),Y=c.slice(pe,c.length)),f=Iv(f!=null?f:c,l),{fullPath:f+(N&&"?")+N+Y,path:f,query:D,hash:Y}}function Nv(s,c){const l=c.query?s(c.query):"";return c.path+(l&&"?")+l+(c.hash||"")}function $f(s,c){return!c||!s.toLowerCase().startsWith(c.toLowerCase())?s:s.slice(c.length)||"/"}function Bv(s,c,l){const f=c.matched.length-1,D=l.matched.length-1;return f>-1&&f===D&&Tc(c.matched[f],l.matched[D])&&Sm(c.params,l.params)&&s(c.query)===s(l.query)&&c.hash===l.hash}function Tc(s,c){return(s.aliasOf||s)===(c.aliasOf||c)}function Sm(s,c){if(Object.keys(s).length!==Object.keys(c).length)return!1;for(const l in s)if(!_v(s[l],c[l]))return!1;return!0}function _v(s,c){return Yu(s)?qf(s,c):Yu(c)?qf(c,s):s===c}function qf(s,c){return Yu(c)?s.length===c.length&&s.every((l,f)=>l===c[f]):s.length===1&&s[0]===c}function Iv(s,c){if(s.startsWith("/"))return s;if(!s)return c;const l=c.split("/"),f=s.split("/");let D=l.length-1,N,Y;for(N=0;N<f.length;N++)if(Y=f[N],Y!==".")if(Y==="..")D>1&&D--;else break;return l.slice(0,D).join("/")+"/"+f.slice(N-(N===f.length?1:0)).join("/")}var Zc;(function(s){s.pop="pop",s.push="push"})(Zc||(Zc={}));var Wc;(function(s){s.back="back",s.forward="forward",s.unknown=""})(Wc||(Wc={}));function Ov(s){if(!s)if(gc){const c=document.querySelector("base");s=c&&c.getAttribute("href")||"/",s=s.replace(/^\w+:\/\/[^\/]+/,"")}else s="/";return s[0]!=="/"&&s[0]!=="#"&&(s="/"+s),Pv(s)}const Lv=/^[^#]+#/;function Mv(s,c){return s.replace(Lv,"#")+c}function jv(s,c){const l=document.documentElement.getBoundingClientRect(),f=s.getBoundingClientRect();return{behavior:c.behavior,left:f.left-l.left-(c.left||0),top:f.top-l.top-(c.top||0)}}const $p=()=>({left:window.pageXOffset,top:window.pageYOffset});function Rv(s){let c;if("el"in s){const l=s.el,f=typeof l=="string"&&l.startsWith("#"),D=typeof l=="string"?f?document.getElementById(l.slice(1)):document.querySelector(l):l;if(!D)return;c=jv(D,s)}else c=s;"scrollBehavior"in document.documentElement.style?window.scrollTo(c):window.scrollTo(c.left!=null?c.left:window.pageXOffset,c.top!=null?c.top:window.pageYOffset)}function Vf(s,c){return(history.state?history.state.position-c:-1)+s}const dh=new Map;function Uv(s,c){dh.set(s,c)}function zv(s){const c=dh.get(s);return dh.delete(s),c}let Hv=()=>location.protocol+"//"+location.host;function Fm(s,c){const{pathname:l,search:f,hash:D}=c,N=s.indexOf("#");if(N>-1){let pe=D.includes(s.slice(N))?s.slice(N).length:1,ye=D.slice(pe);return ye[0]!=="/"&&(ye="/"+ye),$f(ye,"")}return $f(l,s)+f+D}function $v(s,c,l,f){let D=[],N=[],Y=null;const pe=({state:gt})=>{const St=Fm(s,location),Wt=l.value,ar=c.value;let Rr=0;if(gt){if(l.value=St,c.value=gt,Y&&Y===Wt){Y=null;return}Rr=ar?gt.position-ar.position:0}else f(St);D.forEach(At=>{At(l.value,Wt,{delta:Rr,type:Zc.pop,direction:Rr?Rr>0?Wc.forward:Wc.back:Wc.unknown})})};function ye(){Y=l.value}function Me(gt){D.push(gt);const St=()=>{const Wt=D.indexOf(gt);Wt>-1&&D.splice(Wt,1)};return N.push(St),St}function Oe(){const{history:gt}=window;!gt.state||gt.replaceState(Zs({},gt.state,{scroll:$p()}),"")}function it(){for(const gt of N)gt();N=[],window.removeEventListener("popstate",pe),window.removeEventListener("beforeunload",Oe)}return window.addEventListener("popstate",pe),window.addEventListener("beforeunload",Oe),{pauseListeners:ye,listen:Me,destroy:it}}function Wf(s,c,l,f=!1,D=!1){return{back:s,current:c,forward:l,replaced:f,position:window.history.length,scroll:D?$p():null}}function qv(s){const{history:c,location:l}=window,f={value:Fm(s,l)},D={value:c.state};D.value||N(f.value,{back:null,current:f.value,forward:null,position:c.length-1,replaced:!0,scroll:null},!0);function N(ye,Me,Oe){const it=s.indexOf("#"),gt=it>-1?(l.host&&document.querySelector("base")?s:s.slice(it))+ye:Hv()+s+ye;try{c[Oe?"replaceState":"pushState"](Me,"",gt),D.value=Me}catch(St){console.error(St),l[Oe?"replace":"assign"](gt)}}function Y(ye,Me){const Oe=Zs({},c.state,Wf(D.value.back,ye,D.value.forward,!0),Me,{position:D.value.position});N(ye,Oe,!0),f.value=ye}function pe(ye,Me){const Oe=Zs({},D.value,c.state,{forward:ye,scroll:$p()});N(Oe.current,Oe,!0);const it=Zs({},Wf(f.value,ye,null),{position:Oe.position+1},Me);N(ye,it,!1),f.value=ye}return{location:f,state:D,push:pe,replace:Y}}function Vv(s){s=Ov(s);const c=qv(s),l=$v(s,c.state,c.location,c.replace);function f(N,Y=!0){Y||l.pauseListeners(),history.go(N)}const D=Zs({location:"",base:s,go:f,createHref:Mv.bind(null,s)},c,l);return Object.defineProperty(D,"location",{enumerable:!0,get:()=>c.location.value}),Object.defineProperty(D,"state",{enumerable:!0,get:()=>c.state.value}),D}function Wv(s){return s=location.host?s||location.pathname+location.search:"",s.includes("#")||(s+="#"),Vv(s)}function Gv(s){return typeof s=="string"||s&&typeof s=="object"}function km(s){return typeof s=="string"||typeof s=="symbol"}const Jl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Pm=Symbol("");var Gf;(function(s){s[s.aborted=4]="aborted",s[s.cancelled=8]="cancelled",s[s.duplicated=16]="duplicated"})(Gf||(Gf={}));function Sc(s,c){return Zs(new Error,{type:s,[Pm]:!0},c)}function Ll(s,c){return s instanceof Error&&Pm in s&&(c==null||!!(s.type&c))}const Xf="[^/]+?",Xv={sensitive:!1,strict:!1,start:!0,end:!0},Jv=/[.+*?^${}()[\]/\\]/g;function Kv(s,c){const l=Zs({},Xv,c),f=[];let D=l.start?"^":"";const N=[];for(const Me of s){const Oe=Me.length?[]:[90];l.strict&&!Me.length&&(D+="/");for(let it=0;it<Me.length;it++){const gt=Me[it];let St=40+(l.sensitive?.25:0);if(gt.type===0)it||(D+="/"),D+=gt.value.replace(Jv,"\\$&"),St+=40;else if(gt.type===1){const{value:Wt,repeatable:ar,optional:Rr,regexp:At}=gt;N.push({name:Wt,repeatable:ar,optional:Rr});const It=At||Xf;if(It!==Xf){St+=10;try{new RegExp(`(${It})`)}catch(Er){throw new Error(`Invalid custom RegExp for param "${Wt}" (${It}): `+Er.message)}}let qt=ar?`((?:${It})(?:/(?:${It}))*)`:`(${It})`;it||(qt=Rr&&Me.length<2?`(?:/${qt})`:"/"+qt),Rr&&(qt+="?"),D+=qt,St+=20,Rr&&(St+=-8),ar&&(St+=-20),It===".*"&&(St+=-50)}Oe.push(St)}f.push(Oe)}if(l.strict&&l.end){const Me=f.length-1;f[Me][f[Me].length-1]+=.7000000000000001}l.strict||(D+="/?"),l.end?D+="$":l.strict&&(D+="(?:/|$)");const Y=new RegExp(D,l.sensitive?"":"i");function pe(Me){const Oe=Me.match(Y),it={};if(!Oe)return null;for(let gt=1;gt<Oe.length;gt++){const St=Oe[gt]||"",Wt=N[gt-1];it[Wt.name]=St&&Wt.repeatable?St.split("/"):St}return it}function ye(Me){let Oe="",it=!1;for(const gt of s){(!it||!Oe.endsWith("/"))&&(Oe+="/"),it=!1;for(const St of gt)if(St.type===0)Oe+=St.value;else if(St.type===1){const{value:Wt,repeatable:ar,optional:Rr}=St,At=Wt in Me?Me[Wt]:"";if(Yu(At)&&!ar)throw new Error(`Provided param "${Wt}" is an array but it is not repeatable (* or + modifiers)`);const It=Yu(At)?At.join("/"):At;if(!It)if(Rr)gt.length<2&&(Oe.endsWith("/")?Oe=Oe.slice(0,-1):it=!0);else throw new Error(`Missing required param "${Wt}"`);Oe+=It}}return Oe||"/"}return{re:Y,score:f,keys:N,parse:pe,stringify:ye}}function Qv(s,c){let l=0;for(;l<s.length&&l<c.length;){const f=c[l]-s[l];if(f)return f;l++}return s.length<c.length?s.length===1&&s[0]===40+40?-1:1:s.length>c.length?c.length===1&&c[0]===40+40?1:-1:0}function Yv(s,c){let l=0;const f=s.score,D=c.score;for(;l<f.length&&l<D.length;){const N=Qv(f[l],D[l]);if(N)return N;l++}if(Math.abs(D.length-f.length)===1){if(Jf(f))return 1;if(Jf(D))return-1}return D.length-f.length}function Jf(s){const c=s[s.length-1];return s.length>0&&c[c.length-1]<0}const Zv={type:0,value:""},e1=/[a-zA-Z0-9_]/;function t1(s){if(!s)return[[]];if(s==="/")return[[Zv]];if(!s.startsWith("/"))throw new Error(`Invalid path "${s}"`);function c(St){throw new Error(`ERR (${l})/"${Me}": ${St}`)}let l=0,f=l;const D=[];let N;function Y(){N&&D.push(N),N=[]}let pe=0,ye,Me="",Oe="";function it(){!Me||(l===0?N.push({type:0,value:Me}):l===1||l===2||l===3?(N.length>1&&(ye==="*"||ye==="+")&&c(`A repeatable param (${Me}) must be alone in its segment. eg: '/:ids+.`),N.push({type:1,value:Me,regexp:Oe,repeatable:ye==="*"||ye==="+",optional:ye==="*"||ye==="?"})):c("Invalid state to consume buffer"),Me="")}function gt(){Me+=ye}for(;pe<s.length;){if(ye=s[pe++],ye==="\\"&&l!==2){f=l,l=4;continue}switch(l){case 0:ye==="/"?(Me&&it(),Y()):ye===":"?(it(),l=1):gt();break;case 4:gt(),l=f;break;case 1:ye==="("?l=2:e1.test(ye)?gt():(it(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&pe--);break;case 2:ye===")"?Oe[Oe.length-1]=="\\"?Oe=Oe.slice(0,-1)+ye:l=3:Oe+=ye;break;case 3:it(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&pe--,Oe="";break;default:c("Unknown state");break}}return l===2&&c(`Unfinished custom RegExp for param "${Me}"`),it(),Y(),D}function r1(s,c,l){const f=Kv(t1(s.path),l),D=Zs(f,{record:s,parent:c,children:[],alias:[]});return c&&!D.record.aliasOf==!c.record.aliasOf&&c.children.push(D),D}function n1(s,c){const l=[],f=new Map;c=Yf({strict:!1,end:!0,sensitive:!1},c);function D(Oe){return f.get(Oe)}function N(Oe,it,gt){const St=!gt,Wt=i1(Oe);Wt.aliasOf=gt&>.record;const ar=Yf(c,Oe),Rr=[Wt];if("alias"in Oe){const qt=typeof Oe.alias=="string"?[Oe.alias]:Oe.alias;for(const Er of qt)Rr.push(Zs({},Wt,{components:gt?gt.record.components:Wt.components,path:Er,aliasOf:gt?gt.record:Wt}))}let At,It;for(const qt of Rr){const{path:Er}=qt;if(it&&Er[0]!=="/"){const an=it.record.path,Jn=an[an.length-1]==="/"?"":"/";qt.path=it.record.path+(Er&&Jn+Er)}if(At=r1(qt,it,ar),gt?gt.alias.push(At):(It=It||At,It!==At&&It.alias.push(At),St&&Oe.name&&!Qf(At)&&Y(Oe.name)),Wt.children){const an=Wt.children;for(let Jn=0;Jn<an.length;Jn++)N(an[Jn],At,gt&>.children[Jn])}gt=gt||At,ye(At)}return It?()=>{Y(It)}:Vc}function Y(Oe){if(km(Oe)){const it=f.get(Oe);it&&(f.delete(Oe),l.splice(l.indexOf(it),1),it.children.forEach(Y),it.alias.forEach(Y))}else{const it=l.indexOf(Oe);it>-1&&(l.splice(it,1),Oe.record.name&&f.delete(Oe.record.name),Oe.children.forEach(Y),Oe.alias.forEach(Y))}}function pe(){return l}function ye(Oe){let it=0;for(;it<l.length&&Yv(Oe,l[it])>=0&&(Oe.record.path!==l[it].record.path||!Nm(Oe,l[it]));)it++;l.splice(it,0,Oe),Oe.record.name&&!Qf(Oe)&&f.set(Oe.record.name,Oe)}function Me(Oe,it){let gt,St={},Wt,ar;if("name"in Oe&&Oe.name){if(gt=f.get(Oe.name),!gt)throw Sc(1,{location:Oe});ar=gt.record.name,St=Zs(Kf(it.params,gt.keys.filter(It=>!It.optional).map(It=>It.name)),Oe.params&&Kf(Oe.params,gt.keys.map(It=>It.name))),Wt=gt.stringify(St)}else if("path"in Oe)Wt=Oe.path,gt=l.find(It=>It.re.test(Wt)),gt&&(St=gt.parse(Wt),ar=gt.record.name);else{if(gt=it.name?f.get(it.name):l.find(It=>It.re.test(it.path)),!gt)throw Sc(1,{location:Oe,currentLocation:it});ar=gt.record.name,St=Zs({},it.params,Oe.params),Wt=gt.stringify(St)}const Rr=[];let At=gt;for(;At;)Rr.unshift(At.record),At=At.parent;return{name:ar,path:Wt,params:St,matched:Rr,meta:a1(Rr)}}return s.forEach(Oe=>N(Oe)),{addRoute:N,resolve:Me,removeRoute:Y,getRoutes:pe,getRecordMatcher:D}}function Kf(s,c){const l={};for(const f of c)f in s&&(l[f]=s[f]);return l}function i1(s){return{path:s.path,redirect:s.redirect,name:s.name,meta:s.meta||{},aliasOf:void 0,beforeEnter:s.beforeEnter,props:s1(s),children:s.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in s?s.components||null:s.component&&{default:s.component}}}function s1(s){const c={},l=s.props||!1;if("component"in s)c.default=l;else for(const f in s.components)c[f]=typeof l=="boolean"?l:l[f];return c}function Qf(s){for(;s;){if(s.record.aliasOf)return!0;s=s.parent}return!1}function a1(s){return s.reduce((c,l)=>Zs(c,l.meta),{})}function Yf(s,c){const l={};for(const f in s)l[f]=f in c?c[f]:s[f];return l}function Nm(s,c){return c.children.some(l=>l===s||Nm(s,l))}const Bm=/#/g,o1=/&/g,u1=/\//g,l1=/=/g,c1=/\?/g,_m=/\+/g,p1=/%5B/g,h1=/%5D/g,Im=/%5E/g,f1=/%60/g,Om=/%7B/g,d1=/%7C/g,Lm=/%7D/g,m1=/%20/g;function Uh(s){return encodeURI(""+s).replace(d1,"|").replace(p1,"[").replace(h1,"]")}function g1(s){return Uh(s).replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function mh(s){return Uh(s).replace(_m,"%2B").replace(m1,"+").replace(Bm,"%23").replace(o1,"%26").replace(f1,"`").replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function y1(s){return mh(s).replace(l1,"%3D")}function D1(s){return Uh(s).replace(Bm,"%23").replace(c1,"%3F")}function v1(s){return s==null?"":D1(s).replace(u1,"%2F")}function wp(s){try{return decodeURIComponent(""+s)}catch{}return""+s}function x1(s){const c={};if(s===""||s==="?")return c;const f=(s[0]==="?"?s.slice(1):s).split("&");for(let D=0;D<f.length;++D){const N=f[D].replace(_m," "),Y=N.indexOf("="),pe=wp(Y<0?N:N.slice(0,Y)),ye=Y<0?null:wp(N.slice(Y+1));if(pe in c){let Me=c[pe];Yu(Me)||(Me=c[pe]=[Me]),Me.push(ye)}else c[pe]=ye}return c}function Zf(s){let c="";for(let l in s){const f=s[l];if(l=y1(l),f==null){f!==void 0&&(c+=(c.length?"&":"")+l);continue}(Yu(f)?f.map(N=>N&&mh(N)):[f&&mh(f)]).forEach(N=>{N!==void 0&&(c+=(c.length?"&":"")+l,N!=null&&(c+="="+N))})}return c}function C1(s){const c={};for(const l in s){const f=s[l];f!==void 0&&(c[l]=Yu(f)?f.map(D=>D==null?null:""+D):f==null?f:""+f)}return c}const E1=Symbol(""),ed=Symbol(""),zh=Symbol(""),Hh=Symbol(""),gh=Symbol("");function Rc(){let s=[];function c(f){return s.push(f),()=>{const D=s.indexOf(f);D>-1&&s.splice(D,1)}}function l(){s=[]}return{add:c,list:()=>s,reset:l}}function Ql(s,c,l,f,D){const N=f&&(f.enterCallbacks[D]=f.enterCallbacks[D]||[]);return()=>new Promise((Y,pe)=>{const ye=it=>{it===!1?pe(Sc(4,{from:l,to:c})):it instanceof Error?pe(it):Gv(it)?pe(Sc(2,{from:c,to:it})):(N&&f.enterCallbacks[D]===N&&typeof it=="function"&&N.push(it),Y())},Me=s.call(f&&f.instances[D],c,l,ye);let Oe=Promise.resolve(Me);s.length<3&&(Oe=Oe.then(ye)),Oe.catch(it=>pe(it))})}function Zp(s,c,l,f){const D=[];for(const N of s)for(const Y in N.components){let pe=N.components[Y];if(!(c!=="beforeRouteEnter"&&!N.instances[Y]))if(b1(pe)){const Me=(pe.__vccOpts||pe)[c];Me&&D.push(Ql(Me,l,f,N,Y))}else{let ye=pe();D.push(()=>ye.then(Me=>{if(!Me)return Promise.reject(new Error(`Couldn't resolve component "${Y}" at "${N.path}"`));const Oe=Fv(Me)?Me.default:Me;N.components[Y]=Oe;const gt=(Oe.__vccOpts||Oe)[c];return gt&&Ql(gt,l,f,N,Y)()}))}}return D}function b1(s){return typeof s=="object"||"displayName"in s||"props"in s||"__vccOpts"in s}function td(s){const c=Rl(zh),l=Rl(Hh),f=ea(()=>c.resolve(ws(s.to))),D=ea(()=>{const{matched:ye}=f.value,{length:Me}=ye,Oe=ye[Me-1],it=l.matched;if(!Oe||!it.length)return-1;const gt=it.findIndex(Tc.bind(null,Oe));if(gt>-1)return gt;const St=rd(ye[Me-2]);return Me>1&&rd(Oe)===St&&it[it.length-1].path!==St?it.findIndex(Tc.bind(null,ye[Me-2])):gt}),N=ea(()=>D.value>-1&&S1(l.params,f.value.params)),Y=ea(()=>D.value>-1&&D.value===l.matched.length-1&&Sm(l.params,f.value.params));function pe(ye={}){return T1(ye)?c[ws(s.replace)?"replace":"push"](ws(s.to)).catch(Vc):Promise.resolve()}return{route:f,href:ea(()=>f.value.href),isActive:N,isExactActive:Y,navigate:pe}}const A1=Zu({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:td,setup(s,{slots:c}){const l=Nc(td(s)),{options:f}=Rl(zh),D=ea(()=>({[nd(s.activeClass,f.linkActiveClass,"router-link-active")]:l.isActive,[nd(s.exactActiveClass,f.linkExactActiveClass,"router-link-exact-active")]:l.isExactActive}));return()=>{const N=c.default&&c.default(l);return s.custom?N:Mh("a",{"aria-current":l.isExactActive?s.ariaCurrentValue:null,href:l.href,onClick:l.navigate,class:D.value},N)}}}),w1=A1;function T1(s){if(!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)&&!s.defaultPrevented&&!(s.button!==void 0&&s.button!==0)){if(s.currentTarget&&s.currentTarget.getAttribute){const c=s.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(c))return}return s.preventDefault&&s.preventDefault(),!0}}function S1(s,c){for(const l in c){const f=c[l],D=s[l];if(typeof f=="string"){if(f!==D)return!1}else if(!Yu(D)||D.length!==f.length||f.some((N,Y)=>N!==D[Y]))return!1}return!0}function rd(s){return s?s.aliasOf?s.aliasOf.path:s.path:""}const nd=(s,c,l)=>s!=null?s:c!=null?c:l,F1=Zu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(s,{attrs:c,slots:l}){const f=Rl(gh),D=ea(()=>s.route||f.value),N=Rl(ed,0),Y=ea(()=>{let Me=ws(N);const{matched:Oe}=D.value;let it;for(;(it=Oe[Me])&&!it.components;)Me++;return Me}),pe=ea(()=>D.value.matched[Y.value]);pp(ed,ea(()=>Y.value+1)),pp(E1,pe),pp(gh,D);const ye=Ba();return Ya(()=>[ye.value,pe.value,s.name],([Me,Oe,it],[gt,St,Wt])=>{Oe&&(Oe.instances[it]=Me,St&&St!==Oe&&Me&&Me===gt&&(Oe.leaveGuards.size||(Oe.leaveGuards=St.leaveGuards),Oe.updateGuards.size||(Oe.updateGuards=St.updateGuards))),Me&&Oe&&(!St||!Tc(Oe,St)||!gt)&&(Oe.enterCallbacks[it]||[]).forEach(ar=>ar(Me))},{flush:"post"}),()=>{const Me=D.value,Oe=s.name,it=pe.value,gt=it&&it.components[Oe];if(!gt)return id(l.default,{Component:gt,route:Me});const St=it.props[Oe],Wt=St?St===!0?Me.params:typeof St=="function"?St(Me):St:null,Rr=Mh(gt,Zs({},Wt,c,{onVnodeUnmounted:At=>{At.component.isUnmounted&&(it.instances[Oe]=null)},ref:ye}));return id(l.default,{Component:Rr,route:Me})||Rr}}});function id(s,c){if(!s)return null;const l=s(c);return l.length===1?l[0]:l}const k1=F1;function P1(s){const c=n1(s.routes,s),l=s.parseQuery||x1,f=s.stringifyQuery||Zf,D=s.history,N=Rc(),Y=Rc(),pe=Rc(),ye=zc(Jl);let Me=Jl;gc&&s.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Oe=Qp.bind(null,$r=>""+$r),it=Qp.bind(null,v1),gt=Qp.bind(null,wp);function St($r,Yr){let Dr,cn;return km($r)?(Dr=c.getRecordMatcher($r),cn=Yr):cn=$r,c.addRoute(cn,Dr)}function Wt($r){const Yr=c.getRecordMatcher($r);Yr&&c.removeRoute(Yr)}function ar(){return c.getRoutes().map($r=>$r.record)}function Rr($r){return!!c.getRecordMatcher($r)}function At($r,Yr){if(Yr=Zs({},Yr||ye.value),typeof $r=="string"){const ri=Yp(l,$r,Yr.path),ht=c.resolve({path:ri.path},Yr),Ot=D.createHref(ri.fullPath);return Zs(ri,ht,{params:gt(ht.params),hash:wp(ri.hash),redirectedFrom:void 0,href:Ot})}let Dr;if("path"in $r)Dr=Zs({},$r,{path:Yp(l,$r.path,Yr.path).path});else{const ri=Zs({},$r.params);for(const ht in ri)ri[ht]==null&&delete ri[ht];Dr=Zs({},$r,{params:it($r.params)}),Yr.params=it(Yr.params)}const cn=c.resolve(Dr,Yr),Gn=$r.hash||"";cn.params=Oe(gt(cn.params));const ui=Nv(f,Zs({},$r,{hash:g1(Gn),path:cn.path})),zn=D.createHref(ui);return Zs({fullPath:ui,hash:Gn,query:f===Zf?C1($r.query):$r.query||{}},cn,{redirectedFrom:void 0,href:zn})}function It($r){return typeof $r=="string"?Yp(l,$r,ye.value.path):Zs({},$r)}function qt($r,Yr){if(Me!==$r)return Sc(8,{from:Yr,to:$r})}function Er($r){return An($r)}function an($r){return Er(Zs(It($r),{replace:!0}))}function Jn($r){const Yr=$r.matched[$r.matched.length-1];if(Yr&&Yr.redirect){const{redirect:Dr}=Yr;let cn=typeof Dr=="function"?Dr($r):Dr;return typeof cn=="string"&&(cn=cn.includes("?")||cn.includes("#")?cn=It(cn):{path:cn},cn.params={}),Zs({query:$r.query,hash:$r.hash,params:"path"in cn?{}:$r.params},cn)}}function An($r,Yr){const Dr=Me=At($r),cn=ye.value,Gn=$r.state,ui=$r.force,zn=$r.replace===!0,ri=Jn(Dr);if(ri)return An(Zs(It(ri),{state:typeof ri=="object"?Zs({},Gn,ri.state):Gn,force:ui,replace:zn}),Yr||Dr);const ht=Dr;ht.redirectedFrom=Yr;let Ot;return!ui&&Bv(f,cn,Dr)&&(Ot=Sc(16,{to:ht,from:cn}),ts(cn,cn,!0,!1)),(Ot?Promise.resolve(Ot):oi(ht,cn)).catch(vr=>Ll(vr)?Ll(vr,2)?vr:ti(vr):or(vr,ht,cn)).then(vr=>{if(vr){if(Ll(vr,2))return An(Zs({replace:zn},It(vr.to),{state:typeof vr.to=="object"?Zs({},Gn,vr.to.state):Gn,force:ui}),Yr||ht)}else vr=Un(ht,cn,!0,zn,Gn);return Xn(ht,cn,vr),vr})}function mi($r,Yr){const Dr=qt($r,Yr);return Dr?Promise.reject(Dr):Promise.resolve()}function oi($r,Yr){let Dr;const[cn,Gn,ui]=N1($r,Yr);Dr=Zp(cn.reverse(),"beforeRouteLeave",$r,Yr);for(const ri of cn)ri.leaveGuards.forEach(ht=>{Dr.push(Ql(ht,$r,Yr))});const zn=mi.bind(null,$r,Yr);return Dr.push(zn),mc(Dr).then(()=>{Dr=[];for(const ri of N.list())Dr.push(Ql(ri,$r,Yr));return Dr.push(zn),mc(Dr)}).then(()=>{Dr=Zp(Gn,"beforeRouteUpdate",$r,Yr);for(const ri of Gn)ri.updateGuards.forEach(ht=>{Dr.push(Ql(ht,$r,Yr))});return Dr.push(zn),mc(Dr)}).then(()=>{Dr=[];for(const ri of $r.matched)if(ri.beforeEnter&&!Yr.matched.includes(ri))if(Yu(ri.beforeEnter))for(const ht of ri.beforeEnter)Dr.push(Ql(ht,$r,Yr));else Dr.push(Ql(ri.beforeEnter,$r,Yr));return Dr.push(zn),mc(Dr)}).then(()=>($r.matched.forEach(ri=>ri.enterCallbacks={}),Dr=Zp(ui,"beforeRouteEnter",$r,Yr),Dr.push(zn),mc(Dr))).then(()=>{Dr=[];for(const ri of Y.list())Dr.push(Ql(ri,$r,Yr));return Dr.push(zn),mc(Dr)}).catch(ri=>Ll(ri,8)?ri:Promise.reject(ri))}function Xn($r,Yr,Dr){for(const cn of pe.list())cn($r,Yr,Dr)}function Un($r,Yr,Dr,cn,Gn){const ui=qt($r,Yr);if(ui)return ui;const zn=Yr===Jl,ri=gc?history.state:{};Dr&&(cn||zn?D.replace($r.fullPath,Zs({scroll:zn&&ri&&ri.scroll},Gn)):D.push($r.fullPath,Gn)),ye.value=$r,ts($r,Yr,Dr,zn),ti()}let gi;function xr(){gi||(gi=D.listen(($r,Yr,Dr)=>{if(!ls.listening)return;const cn=At($r),Gn=Jn(cn);if(Gn){An(Zs(Gn,{replace:!0}),cn).catch(Vc);return}Me=cn;const ui=ye.value;gc&&Uv(Vf(ui.fullPath,Dr.delta),$p()),oi(cn,ui).catch(zn=>Ll(zn,12)?zn:Ll(zn,2)?(An(zn.to,cn).then(ri=>{Ll(ri,20)&&!Dr.delta&&Dr.type===Zc.pop&&D.go(-1,!1)}).catch(Vc),Promise.reject()):(Dr.delta&&D.go(-Dr.delta,!1),or(zn,cn,ui))).then(zn=>{zn=zn||Un(cn,ui,!1),zn&&(Dr.delta&&!Ll(zn,8)?D.go(-Dr.delta,!1):Dr.type===Zc.pop&&Ll(zn,20)&&D.go(-1,!1)),Xn(cn,ui,zn)}).catch(Vc)}))}let Nn=Rc(),Ae=Rc(),rn;function or($r,Yr,Dr){ti($r);const cn=Ae.list();return cn.length?cn.forEach(Gn=>Gn($r,Yr,Dr)):console.error($r),Promise.reject($r)}function Bn(){return rn&&ye.value!==Jl?Promise.resolve():new Promise(($r,Yr)=>{Nn.add([$r,Yr])})}function ti($r){return rn||(rn=!$r,xr(),Nn.list().forEach(([Yr,Dr])=>$r?Dr($r):Yr()),Nn.reset()),$r}function ts($r,Yr,Dr,cn){const{scrollBehavior:Gn}=s;if(!gc||!Gn)return Promise.resolve();const ui=!Dr&&zv(Vf($r.fullPath,0))||(cn||!Dr)&&history.state&&history.state.scroll||null;return Ip().then(()=>Gn($r,Yr,ui)).then(zn=>zn&&Rv(zn)).catch(zn=>or(zn,$r,Yr))}const Cs=$r=>D.go($r);let _s;const Zi=new Set,ls={currentRoute:ye,listening:!0,addRoute:St,removeRoute:Wt,hasRoute:Rr,getRoutes:ar,resolve:At,options:s,push:Er,replace:an,go:Cs,back:()=>Cs(-1),forward:()=>Cs(1),beforeEach:N.add,beforeResolve:Y.add,afterEach:pe.add,onError:Ae.add,isReady:Bn,install($r){const Yr=this;$r.component("RouterLink",w1),$r.component("RouterView",k1),$r.config.globalProperties.$router=Yr,Object.defineProperty($r.config.globalProperties,"$route",{enumerable:!0,get:()=>ws(ye)}),gc&&!_s&&ye.value===Jl&&(_s=!0,Er(D.location).catch(Gn=>{}));const Dr={};for(const Gn in Jl)Dr[Gn]=ea(()=>ye.value[Gn]);$r.provide(zh,Yr),$r.provide(Hh,Nc(Dr)),$r.provide(gh,ye);const cn=$r.unmount;Zi.add($r),$r.unmount=function(){Zi.delete($r),Zi.size<1&&(Me=Jl,gi&&gi(),gi=null,ye.value=Jl,_s=!1,rn=!1),cn()}}};return ls}function mc(s){return s.reduce((c,l)=>c.then(()=>l()),Promise.resolve())}function N1(s,c){const l=[],f=[],D=[],N=Math.max(c.matched.length,s.matched.length);for(let Y=0;Y<N;Y++){const pe=c.matched[Y];pe&&(s.matched.find(Me=>Tc(Me,pe))?f.push(pe):l.push(pe));const ye=s.matched[Y];ye&&(c.matched.find(Me=>Tc(Me,ye))||D.push(ye))}return[l,f,D]}function B1(){return Rl(Hh)}const _1=Zu({__name:"FileIcon",props:{id:null},setup(s){const c=s,l=ea(()=>c.id.split(/\./g).pop()),f=ea(()=>{switch(l.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(D,N)=>(ya(),uo("div",{class:Cc(ws(f))},null,2))}}),I1={open:""},O1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},L1={"ml-1":""},M1=Zu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(s){const c=B1();return(l,f)=>{const D=Dp("ModuleTreeNode",!0),N=_1,Y=Dp("RouterLink");return ya(),uo("details",I1,[Xi("summary",O1,[Xi("div",{class:Cc(s.icon)},null,2),Gu(" "+ko(s.node.name),1)]),(ya(!0),uo(eu,null,nf(Object.entries(s.node.children),pe=>(ya(),bc(D,{key:pe[0],ml2:"",node:pe[1]},null,8,["node"]))),128)),(ya(!0),uo(eu,null,nf(s.node.items,pe=>(ya(),uo("div",{key:pe.full,ml4:"","ws-nowrap":""},[na(Y,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(pe.full)}`,class:Cc({"bg-gray/10":pe.full===ws(c).params.id})},{default:jl(()=>[na(N,{id:pe.path},null,8,["id"]),Xi("span",L1,ko(pe.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),j1="/__unocss/icon.svg",R1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},U1=Xi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Xi("img",{src:j1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Xi("div",{"of-hidden":""},[Gu(" Inspector "),Xi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),z1=Zu({__name:"NarBar",setup(s){const c=nD(),l=Ay(c);return(f,D)=>(ya(),uo("nav",R1,[U1,Xi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:D[0]||(D[0]=N=>ws(l)())})]))}}),H1={"h-full":""},$1={b:"r main","of-hidden":""},q1={pt:"4",flex:"~ col gap-3"},V1=Xi("div",{"i-carbon-dashboard":""},null,-1),W1=Xi("span",null," Overview ",-1),G1=Xi("div",{"i-carbon-terminal":""},null,-1),X1=Xi("span",null," REPL ",-1),J1=Xi("div",{b:"b main"},null,-1),K1={b:"r main",class:"scrolls scrolls-sidebar"},Q1=Zu({__name:"Sidebar",setup(s){return(c,l)=>{const f=z1,D=Dp("RouterLink"),N=M1;return ya(),uo("div",H1,[Xi("div",$1,[na(f),Xi("div",q1,[na(D,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:jl(()=>[V1,W1]),_:1}),na(D,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:jl(()=>[G1,X1]),_:1}),J1])]),Xi("div",K1,[Object.keys(ws(up).workspace.children).length?(ya(),bc(N,{key:0,node:ws(up).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):bp("",!0),Object.keys(ws(up).root.children).length?(ya(),bc(N,{key:1,node:ws(up).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):bp("",!0)])])}}});var Y1=Object.defineProperty,Z1=Object.defineProperties,ex=Object.getOwnPropertyDescriptors,Tp=Object.getOwnPropertySymbols,Mm=Object.prototype.hasOwnProperty,jm=Object.prototype.propertyIsEnumerable,sd=(s,c,l)=>c in s?Y1(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,tx=(s,c)=>{for(var l in c||(c={}))Mm.call(c,l)&&sd(s,l,c[l]);if(Tp)for(var l of Tp(c))jm.call(c,l)&&sd(s,l,c[l]);return s},rx=(s,c)=>Z1(s,ex(c)),nx=(s,c)=>{var l={};for(var f in s)Mm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Tp)for(var f of Tp(s))c.indexOf(f)<0&&jm.call(s,f)&&(l[f]=s[f]);return l};const ix={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((s,c)=>(s[c.id]=c)&&s,{})}},methods:{updatePaneComponents(){this.panes.forEach(s=>{s.update&&s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(s,c){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=c},onMouseMove(s){this.touch.mouseDown&&(s.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(s)),this.$emit("resize",this.panes.map(c=>({min:c.min,max:c.max,size:c.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(s,c){"ontouchstart"in window&&(s.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===c?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(s,c),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=c,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[c])},onSplitterDblClick(s,c){let l=0;this.panes=this.panes.map((f,D)=>(f.size=D===c?f.max:f.min,D!==c&&(l+=f.min),f)),this.panes[c].size-=l,this.$emit("pane-maximize",this.panes[c])},onPaneClick(s,c){this.$emit("pane-click",this.indexedPanes[c])},getCurrentMouseDrag(s){const c=this.container.getBoundingClientRect(),{clientX:l,clientY:f}="ontouchstart"in window&&s.touches?s.touches[0]:s;return{x:l-c.left,y:f-c.top}},getCurrentDragPercentage(s){s=s[this.horizontal?"y":"x"];const c=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(s=c-s),s*100/c},calculatePanesSize(s){const c=this.touch.activeSplitter;let l={prevPanesSize:this.sumPrevPanesSize(c),nextPanesSize:this.sumNextPanesSize(c),prevReachedMinPanes:0,nextReachedMinPanes:0};const f=0+(this.pushOtherPanes?0:l.prevPanesSize),D=100-(this.pushOtherPanes?0:l.nextPanesSize),N=Math.max(Math.min(this.getCurrentDragPercentage(s),D),f);let Y=[c,c+1],pe=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null;const Me=pe.max<100&&N>=pe.max+l.prevPanesSize,Oe=ye.max<100&&N<=100-(ye.max+this.sumNextPanesSize(c+1));if(Me||Oe){Me?(pe.size=pe.max,ye.size=Math.max(100-pe.max-l.prevPanesSize-l.nextPanesSize,0)):(pe.size=Math.max(100-ye.max-l.prevPanesSize-this.sumNextPanesSize(c+1),0),ye.size=ye.max);return}if(this.pushOtherPanes){const it=this.doPushOtherPanes(l,N);if(!it)return;({sums:l,panesToResize:Y}=it),pe=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null}pe!==null&&(pe.size=Math.min(Math.max(N-l.prevPanesSize-l.prevReachedMinPanes,pe.min),pe.max)),ye!==null&&(ye.size=Math.min(Math.max(100-N-l.nextPanesSize-l.nextReachedMinPanes,ye.min),ye.max))},doPushOtherPanes(s,c){const l=this.touch.activeSplitter,f=[l,l+1];return c<s.prevPanesSize+this.panes[f[0]].min&&(f[0]=this.findPrevExpandedPane(l).index,s.prevReachedMinPanes=0,f[0]<l&&this.panes.forEach((D,N)=>{N>f[0]&&N<=l&&(D.size=D.min,s.prevReachedMinPanes+=D.min)}),s.prevPanesSize=this.sumPrevPanesSize(f[0]),f[0]===void 0)?(s.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((D,N)=>{N>0&&N<=l&&(D.size=D.min,s.prevReachedMinPanes+=D.min)}),this.panes[f[1]].size=100-s.prevReachedMinPanes-this.panes[0].min-s.prevPanesSize-s.nextPanesSize,null):c>100-s.nextPanesSize-this.panes[f[1]].min&&(f[1]=this.findNextExpandedPane(l).index,s.nextReachedMinPanes=0,f[1]>l+1&&this.panes.forEach((D,N)=>{N>l&&N<f[1]&&(D.size=D.min,s.nextReachedMinPanes+=D.min)}),s.nextPanesSize=this.sumNextPanesSize(f[1]-1),f[1]===void 0)?(s.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((D,N)=>{N<this.panesCount-1&&N>=l+1&&(D.size=D.min,s.nextReachedMinPanes+=D.min)}),this.panes[f[0]].size=100-s.prevPanesSize-s.nextReachedMinPanes-this.panes[this.panesCount-1].min-s.nextPanesSize,null):{sums:s,panesToResize:f}},sumPrevPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f<s?l.size:0),0)},sumNextPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f>s+1?l.size:0),0)},findPrevExpandedPane(s){return[...this.panes].reverse().find(l=>l.index<s&&l.size>l.min)||{}},findNextExpandedPane(s){return this.panes.find(l=>l.index>s+1&&l.size>l.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(c=>{const l=c.classList.contains("splitpanes__pane"),f=c.classList.contains("splitpanes__splitter");if(!l&&!f){c.parentNode.removeChild(c),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter(s,c,l=!1){const f=s-1,D=document.createElement("div");D.classList.add("splitpanes__splitter"),l||(D.onmousedown=N=>this.onMouseDown(N,f),typeof window<"u"&&"ontouchstart"in window&&(D.ontouchstart=N=>this.onMouseDown(N,f)),D.onclick=N=>this.onSplitterClick(N,f+1)),this.dblClickSplitter&&(D.ondblclick=N=>this.onSplitterDblClick(N,f+1)),c.parentNode.insertBefore(D,c)},removeSplitter(s){s.onmousedown=void 0,s.onclick=void 0,s.ondblclick=void 0,s.parentNode.removeChild(s)},redoSplitters(){const s=Array.from(this.container.children);s.forEach(l=>{l.className.includes("splitpanes__splitter")&&this.removeSplitter(l)});let c=0;s.forEach(l=>{l.className.includes("splitpanes__pane")&&(!c&&this.firstSplitter?this.addSplitter(c,l,!0):c&&this.addSplitter(c,l),c++)})},requestUpdate(s){var c=s,{target:l}=c,f=nx(c,["target"]);const D=this.indexedPanes[l._.uid];Object.entries(f).forEach(([N,Y])=>D[N]=Y)},onPaneAdd(s){let c=-1;Array.from(s.$el.parentNode.children).some(D=>(D.className.includes("splitpanes__pane")&&c++,D===s.$el));const l=parseFloat(s.minSize),f=parseFloat(s.maxSize);this.panes.splice(c,0,{id:s._.uid,index:c,min:isNaN(l)?0:l,max:isNaN(f)?100:f,size:s.size===null?null:parseFloat(s.size),givenSize:s.size,update:s.update}),this.panes.forEach((D,N)=>D.index=N),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[c]}),this.$emit("pane-add",{index:c,panes:this.panes.map(D=>({min:D.min,max:D.max,size:D.size}))})})},onPaneRemove(s){const c=this.panes.findIndex(f=>f.id===s._.uid),l=this.panes.splice(c,1)[0];this.panes.forEach((f,D)=>f.index=D),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:rx(tx({},l),{index:c})}),this.$emit("pane-remove",{removed:l,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},resetPaneSizes(s={}){!s.addedPane&&!s.removedPane?this.initialPanesSizing():this.panes.some(c=>c.givenSize!==null||c.min||c.max<100)?this.equalizeAfterAddOrRemove(s):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(c=>({min:c.min,max:c.max,size:c.size})))},equalize(){const s=100/this.panesCount;let c=0,l=[],f=[];this.panes.forEach(D=>{D.size=Math.max(Math.min(s,D.max),D.min),c-=D.size,D.size>=D.max&&l.push(D.id),D.size<=D.min&&f.push(D.id)}),c>.1&&this.readjustSizes(c,l,f)},initialPanesSizing(){100/this.panesCount;let s=100,c=[],l=[],f=0;this.panes.forEach(N=>{s-=N.size,N.size!==null&&f++,N.size>=N.max&&c.push(N.id),N.size<=N.min&&l.push(N.id)});let D=100;s>.1&&(this.panes.forEach(N=>{N.size===null&&(N.size=Math.max(Math.min(s/(this.panesCount-f),N.max),N.min)),D-=N.size}),D>.1&&this.readjustSizes(s,c,l))},equalizeAfterAddOrRemove({addedPane:s,removedPane:c}={}){let l=100/this.panesCount,f=0,D=[],N=[];s&&s.givenSize!==null&&(l=(100-s.givenSize)/(this.panesCount-1)),this.panes.forEach(Y=>{f-=Y.size,Y.size>=Y.max&&D.push(Y.id),Y.size<=Y.min&&N.push(Y.id)}),!(Math.abs(f)<.1)&&(this.panes.forEach(Y=>{s&&s.givenSize!==null&&s.id===Y.id||(Y.size=Math.max(Math.min(l,Y.max),Y.min)),f-=Y.size,Y.size>=Y.max&&D.push(Y.id),Y.size<=Y.min&&N.push(Y.id)}),f>.1&&this.readjustSizes(f,D,N))},readjustSizes(s,c,l){let f;s>0?f=s/(this.panesCount-c.length):f=s/(this.panesCount-l.length),this.panes.forEach((D,N)=>{if(s>0&&!c.includes(D.id)){const Y=Math.max(Math.min(D.size+f,D.max),D.min);s-=Y-D.size,D.size=Y}else if(!l.includes(D.id)){const Y=Math.max(Math.min(D.size+f,D.max),D.min);s-=Y-D.size,D.size=Y}D.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[D.id].size}%`})}),Math.abs(s)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(s){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((l,f)=>{l.ondblclick=s?D=>this.onSplitterDblClick(D,f):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Mh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var sx=(s,c)=>{const l=s.__vccOpts||s;for(const[f,D]of c)l[f]=D;return l};const ax={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(s){this.style=s}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(s){this.requestUpdate({target:this,size:s})},minSizeNumber(s){this.requestUpdate({target:this,min:s})},maxSizeNumber(s){this.requestUpdate({target:this,max:s})}}};function ox(s,c,l,f,D,N){return ya(),uo("div",{class:"splitpanes__pane",onClick:c[0]||(c[0]=Y=>N.onPaneClick(Y,s._.uid)),style:ep(s.style)},[vp(s.$slots,"default")],4)}var ad=sx(ax,[["render",ox]]);const ux={"h-screen":"","w-screen":"","of-hidden":""},lx={"h-full":"","of-hidden":""},cx=Zu({__name:"App",setup(s){return(c,l)=>{const f=Q1,D=Dp("RouterView");return ya(),uo("div",ux,[na(ws(ix),null,{default:jl(()=>[na(ws(ad),{size:"20","push-other-panes":!1},{default:jl(()=>[na(f)]),_:1}),na(ws(ad),{size:"80"},{default:jl(()=>[Xi("div",lx,[na(D)])]),_:1})]),_:1})])}}}),Rm=py(cx);Rm.use(P1({history:Wv(),routes:Sv}));Rm.mount("#app");export{QD as A,ea as B,bp as C,ko as D,ad as E,ix as F,qD as G,B1 as H,ID as _,hx as a,dm as b,uo as c,Zu as d,na as e,mx as f,Xi as g,l0 as h,ws as i,Na as j,Gu as k,jD as l,PD as m,ep as n,ya as o,Dm as p,bc as q,Ba as r,fx as s,bD as t,VD as u,oy as v,jl as w,dx as x,Lg as y,px as z};
|
|
282
|
+
*/const gc=typeof window<"u";function Fv(s){return s.__esModule||s[Symbol.toStringTag]==="Module"}const Zs=Object.assign;function Qp(s,c){const l={};for(const f in c){const D=c[f];l[f]=Yu(D)?D.map(s):s(D)}return l}const Vc=()=>{},Yu=Array.isArray,kv=/\/$/,Pv=s=>s.replace(kv,"");function Yp(s,c,l="/"){let f,D={},N="",Y="";const pe=c.indexOf("#");let ye=c.indexOf("?");return pe<ye&&pe>=0&&(ye=-1),ye>-1&&(f=c.slice(0,ye),N=c.slice(ye+1,pe>-1?pe:c.length),D=s(N)),pe>-1&&(f=f||c.slice(0,pe),Y=c.slice(pe,c.length)),f=Iv(f!=null?f:c,l),{fullPath:f+(N&&"?")+N+Y,path:f,query:D,hash:Y}}function Nv(s,c){const l=c.query?s(c.query):"";return c.path+(l&&"?")+l+(c.hash||"")}function qf(s,c){return!c||!s.toLowerCase().startsWith(c.toLowerCase())?s:s.slice(c.length)||"/"}function Bv(s,c,l){const f=c.matched.length-1,D=l.matched.length-1;return f>-1&&f===D&&Tc(c.matched[f],l.matched[D])&&Sm(c.params,l.params)&&s(c.query)===s(l.query)&&c.hash===l.hash}function Tc(s,c){return(s.aliasOf||s)===(c.aliasOf||c)}function Sm(s,c){if(Object.keys(s).length!==Object.keys(c).length)return!1;for(const l in s)if(!_v(s[l],c[l]))return!1;return!0}function _v(s,c){return Yu(s)?Vf(s,c):Yu(c)?Vf(c,s):s===c}function Vf(s,c){return Yu(c)?s.length===c.length&&s.every((l,f)=>l===c[f]):s.length===1&&s[0]===c}function Iv(s,c){if(s.startsWith("/"))return s;if(!s)return c;const l=c.split("/"),f=s.split("/");let D=l.length-1,N,Y;for(N=0;N<f.length;N++)if(Y=f[N],Y!==".")if(Y==="..")D>1&&D--;else break;return l.slice(0,D).join("/")+"/"+f.slice(N-(N===f.length?1:0)).join("/")}var ep;(function(s){s.pop="pop",s.push="push"})(ep||(ep={}));var Wc;(function(s){s.back="back",s.forward="forward",s.unknown=""})(Wc||(Wc={}));function Ov(s){if(!s)if(gc){const c=document.querySelector("base");s=c&&c.getAttribute("href")||"/",s=s.replace(/^\w+:\/\/[^\/]+/,"")}else s="/";return s[0]!=="/"&&s[0]!=="#"&&(s="/"+s),Pv(s)}const Lv=/^[^#]+#/;function Mv(s,c){return s.replace(Lv,"#")+c}function jv(s,c){const l=document.documentElement.getBoundingClientRect(),f=s.getBoundingClientRect();return{behavior:c.behavior,left:f.left-l.left-(c.left||0),top:f.top-l.top-(c.top||0)}}const $p=()=>({left:window.pageXOffset,top:window.pageYOffset});function Rv(s){let c;if("el"in s){const l=s.el,f=typeof l=="string"&&l.startsWith("#"),D=typeof l=="string"?f?document.getElementById(l.slice(1)):document.querySelector(l):l;if(!D)return;c=jv(D,s)}else c=s;"scrollBehavior"in document.documentElement.style?window.scrollTo(c):window.scrollTo(c.left!=null?c.left:window.pageXOffset,c.top!=null?c.top:window.pageYOffset)}function Wf(s,c){return(history.state?history.state.position-c:-1)+s}const dh=new Map;function Uv(s,c){dh.set(s,c)}function zv(s){const c=dh.get(s);return dh.delete(s),c}let Hv=()=>location.protocol+"//"+location.host;function Fm(s,c){const{pathname:l,search:f,hash:D}=c,N=s.indexOf("#");if(N>-1){let pe=D.includes(s.slice(N))?s.slice(N).length:1,ye=D.slice(pe);return ye[0]!=="/"&&(ye="/"+ye),qf(ye,"")}return qf(l,s)+f+D}function $v(s,c,l,f){let D=[],N=[],Y=null;const pe=({state:gt})=>{const St=Fm(s,location),Wt=l.value,ar=c.value;let Rr=0;if(gt){if(l.value=St,c.value=gt,Y&&Y===Wt){Y=null;return}Rr=ar?gt.position-ar.position:0}else f(St);D.forEach(At=>{At(l.value,Wt,{delta:Rr,type:ep.pop,direction:Rr?Rr>0?Wc.forward:Wc.back:Wc.unknown})})};function ye(){Y=l.value}function Me(gt){D.push(gt);const St=()=>{const Wt=D.indexOf(gt);Wt>-1&&D.splice(Wt,1)};return N.push(St),St}function Oe(){const{history:gt}=window;!gt.state||gt.replaceState(Zs({},gt.state,{scroll:$p()}),"")}function it(){for(const gt of N)gt();N=[],window.removeEventListener("popstate",pe),window.removeEventListener("beforeunload",Oe)}return window.addEventListener("popstate",pe),window.addEventListener("beforeunload",Oe),{pauseListeners:ye,listen:Me,destroy:it}}function Gf(s,c,l,f=!1,D=!1){return{back:s,current:c,forward:l,replaced:f,position:window.history.length,scroll:D?$p():null}}function qv(s){const{history:c,location:l}=window,f={value:Fm(s,l)},D={value:c.state};D.value||N(f.value,{back:null,current:f.value,forward:null,position:c.length-1,replaced:!0,scroll:null},!0);function N(ye,Me,Oe){const it=s.indexOf("#"),gt=it>-1?(l.host&&document.querySelector("base")?s:s.slice(it))+ye:Hv()+s+ye;try{c[Oe?"replaceState":"pushState"](Me,"",gt),D.value=Me}catch(St){console.error(St),l[Oe?"replace":"assign"](gt)}}function Y(ye,Me){const Oe=Zs({},c.state,Gf(D.value.back,ye,D.value.forward,!0),Me,{position:D.value.position});N(ye,Oe,!0),f.value=ye}function pe(ye,Me){const Oe=Zs({},D.value,c.state,{forward:ye,scroll:$p()});N(Oe.current,Oe,!0);const it=Zs({},Gf(f.value,ye,null),{position:Oe.position+1},Me);N(ye,it,!1),f.value=ye}return{location:f,state:D,push:pe,replace:Y}}function Vv(s){s=Ov(s);const c=qv(s),l=$v(s,c.state,c.location,c.replace);function f(N,Y=!0){Y||l.pauseListeners(),history.go(N)}const D=Zs({location:"",base:s,go:f,createHref:Mv.bind(null,s)},c,l);return Object.defineProperty(D,"location",{enumerable:!0,get:()=>c.location.value}),Object.defineProperty(D,"state",{enumerable:!0,get:()=>c.state.value}),D}function Wv(s){return s=location.host?s||location.pathname+location.search:"",s.includes("#")||(s+="#"),Vv(s)}function Gv(s){return typeof s=="string"||s&&typeof s=="object"}function km(s){return typeof s=="string"||typeof s=="symbol"}const Jl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Pm=Symbol("");var Xf;(function(s){s[s.aborted=4]="aborted",s[s.cancelled=8]="cancelled",s[s.duplicated=16]="duplicated"})(Xf||(Xf={}));function Sc(s,c){return Zs(new Error,{type:s,[Pm]:!0},c)}function Ll(s,c){return s instanceof Error&&Pm in s&&(c==null||!!(s.type&c))}const Jf="[^/]+?",Xv={sensitive:!1,strict:!1,start:!0,end:!0},Jv=/[.+*?^${}()[\]/\\]/g;function Kv(s,c){const l=Zs({},Xv,c),f=[];let D=l.start?"^":"";const N=[];for(const Me of s){const Oe=Me.length?[]:[90];l.strict&&!Me.length&&(D+="/");for(let it=0;it<Me.length;it++){const gt=Me[it];let St=40+(l.sensitive?.25:0);if(gt.type===0)it||(D+="/"),D+=gt.value.replace(Jv,"\\$&"),St+=40;else if(gt.type===1){const{value:Wt,repeatable:ar,optional:Rr,regexp:At}=gt;N.push({name:Wt,repeatable:ar,optional:Rr});const It=At||Jf;if(It!==Jf){St+=10;try{new RegExp(`(${It})`)}catch(Er){throw new Error(`Invalid custom RegExp for param "${Wt}" (${It}): `+Er.message)}}let qt=ar?`((?:${It})(?:/(?:${It}))*)`:`(${It})`;it||(qt=Rr&&Me.length<2?`(?:/${qt})`:"/"+qt),Rr&&(qt+="?"),D+=qt,St+=20,Rr&&(St+=-8),ar&&(St+=-20),It===".*"&&(St+=-50)}Oe.push(St)}f.push(Oe)}if(l.strict&&l.end){const Me=f.length-1;f[Me][f[Me].length-1]+=.7000000000000001}l.strict||(D+="/?"),l.end?D+="$":l.strict&&(D+="(?:/|$)");const Y=new RegExp(D,l.sensitive?"":"i");function pe(Me){const Oe=Me.match(Y),it={};if(!Oe)return null;for(let gt=1;gt<Oe.length;gt++){const St=Oe[gt]||"",Wt=N[gt-1];it[Wt.name]=St&&Wt.repeatable?St.split("/"):St}return it}function ye(Me){let Oe="",it=!1;for(const gt of s){(!it||!Oe.endsWith("/"))&&(Oe+="/"),it=!1;for(const St of gt)if(St.type===0)Oe+=St.value;else if(St.type===1){const{value:Wt,repeatable:ar,optional:Rr}=St,At=Wt in Me?Me[Wt]:"";if(Yu(At)&&!ar)throw new Error(`Provided param "${Wt}" is an array but it is not repeatable (* or + modifiers)`);const It=Yu(At)?At.join("/"):At;if(!It)if(Rr)gt.length<2&&(Oe.endsWith("/")?Oe=Oe.slice(0,-1):it=!0);else throw new Error(`Missing required param "${Wt}"`);Oe+=It}}return Oe||"/"}return{re:Y,score:f,keys:N,parse:pe,stringify:ye}}function Qv(s,c){let l=0;for(;l<s.length&&l<c.length;){const f=c[l]-s[l];if(f)return f;l++}return s.length<c.length?s.length===1&&s[0]===40+40?-1:1:s.length>c.length?c.length===1&&c[0]===40+40?1:-1:0}function Yv(s,c){let l=0;const f=s.score,D=c.score;for(;l<f.length&&l<D.length;){const N=Qv(f[l],D[l]);if(N)return N;l++}if(Math.abs(D.length-f.length)===1){if(Kf(f))return 1;if(Kf(D))return-1}return D.length-f.length}function Kf(s){const c=s[s.length-1];return s.length>0&&c[c.length-1]<0}const Zv={type:0,value:""},e1=/[a-zA-Z0-9_]/;function t1(s){if(!s)return[[]];if(s==="/")return[[Zv]];if(!s.startsWith("/"))throw new Error(`Invalid path "${s}"`);function c(St){throw new Error(`ERR (${l})/"${Me}": ${St}`)}let l=0,f=l;const D=[];let N;function Y(){N&&D.push(N),N=[]}let pe=0,ye,Me="",Oe="";function it(){!Me||(l===0?N.push({type:0,value:Me}):l===1||l===2||l===3?(N.length>1&&(ye==="*"||ye==="+")&&c(`A repeatable param (${Me}) must be alone in its segment. eg: '/:ids+.`),N.push({type:1,value:Me,regexp:Oe,repeatable:ye==="*"||ye==="+",optional:ye==="*"||ye==="?"})):c("Invalid state to consume buffer"),Me="")}function gt(){Me+=ye}for(;pe<s.length;){if(ye=s[pe++],ye==="\\"&&l!==2){f=l,l=4;continue}switch(l){case 0:ye==="/"?(Me&&it(),Y()):ye===":"?(it(),l=1):gt();break;case 4:gt(),l=f;break;case 1:ye==="("?l=2:e1.test(ye)?gt():(it(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&pe--);break;case 2:ye===")"?Oe[Oe.length-1]=="\\"?Oe=Oe.slice(0,-1)+ye:l=3:Oe+=ye;break;case 3:it(),l=0,ye!=="*"&&ye!=="?"&&ye!=="+"&&pe--,Oe="";break;default:c("Unknown state");break}}return l===2&&c(`Unfinished custom RegExp for param "${Me}"`),it(),Y(),D}function r1(s,c,l){const f=Kv(t1(s.path),l),D=Zs(f,{record:s,parent:c,children:[],alias:[]});return c&&!D.record.aliasOf==!c.record.aliasOf&&c.children.push(D),D}function n1(s,c){const l=[],f=new Map;c=Zf({strict:!1,end:!0,sensitive:!1},c);function D(Oe){return f.get(Oe)}function N(Oe,it,gt){const St=!gt,Wt=i1(Oe);Wt.aliasOf=gt&>.record;const ar=Zf(c,Oe),Rr=[Wt];if("alias"in Oe){const qt=typeof Oe.alias=="string"?[Oe.alias]:Oe.alias;for(const Er of qt)Rr.push(Zs({},Wt,{components:gt?gt.record.components:Wt.components,path:Er,aliasOf:gt?gt.record:Wt}))}let At,It;for(const qt of Rr){const{path:Er}=qt;if(it&&Er[0]!=="/"){const an=it.record.path,Jn=an[an.length-1]==="/"?"":"/";qt.path=it.record.path+(Er&&Jn+Er)}if(At=r1(qt,it,ar),gt?gt.alias.push(At):(It=It||At,It!==At&&It.alias.push(At),St&&Oe.name&&!Yf(At)&&Y(Oe.name)),Wt.children){const an=Wt.children;for(let Jn=0;Jn<an.length;Jn++)N(an[Jn],At,gt&>.children[Jn])}gt=gt||At,ye(At)}return It?()=>{Y(It)}:Vc}function Y(Oe){if(km(Oe)){const it=f.get(Oe);it&&(f.delete(Oe),l.splice(l.indexOf(it),1),it.children.forEach(Y),it.alias.forEach(Y))}else{const it=l.indexOf(Oe);it>-1&&(l.splice(it,1),Oe.record.name&&f.delete(Oe.record.name),Oe.children.forEach(Y),Oe.alias.forEach(Y))}}function pe(){return l}function ye(Oe){let it=0;for(;it<l.length&&Yv(Oe,l[it])>=0&&(Oe.record.path!==l[it].record.path||!Nm(Oe,l[it]));)it++;l.splice(it,0,Oe),Oe.record.name&&!Yf(Oe)&&f.set(Oe.record.name,Oe)}function Me(Oe,it){let gt,St={},Wt,ar;if("name"in Oe&&Oe.name){if(gt=f.get(Oe.name),!gt)throw Sc(1,{location:Oe});ar=gt.record.name,St=Zs(Qf(it.params,gt.keys.filter(It=>!It.optional).map(It=>It.name)),Oe.params&&Qf(Oe.params,gt.keys.map(It=>It.name))),Wt=gt.stringify(St)}else if("path"in Oe)Wt=Oe.path,gt=l.find(It=>It.re.test(Wt)),gt&&(St=gt.parse(Wt),ar=gt.record.name);else{if(gt=it.name?f.get(it.name):l.find(It=>It.re.test(it.path)),!gt)throw Sc(1,{location:Oe,currentLocation:it});ar=gt.record.name,St=Zs({},it.params,Oe.params),Wt=gt.stringify(St)}const Rr=[];let At=gt;for(;At;)Rr.unshift(At.record),At=At.parent;return{name:ar,path:Wt,params:St,matched:Rr,meta:a1(Rr)}}return s.forEach(Oe=>N(Oe)),{addRoute:N,resolve:Me,removeRoute:Y,getRoutes:pe,getRecordMatcher:D}}function Qf(s,c){const l={};for(const f of c)f in s&&(l[f]=s[f]);return l}function i1(s){return{path:s.path,redirect:s.redirect,name:s.name,meta:s.meta||{},aliasOf:void 0,beforeEnter:s.beforeEnter,props:s1(s),children:s.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in s?s.components||null:s.component&&{default:s.component}}}function s1(s){const c={},l=s.props||!1;if("component"in s)c.default=l;else for(const f in s.components)c[f]=typeof l=="boolean"?l:l[f];return c}function Yf(s){for(;s;){if(s.record.aliasOf)return!0;s=s.parent}return!1}function a1(s){return s.reduce((c,l)=>Zs(c,l.meta),{})}function Zf(s,c){const l={};for(const f in s)l[f]=f in c?c[f]:s[f];return l}function Nm(s,c){return c.children.some(l=>l===s||Nm(s,l))}const Bm=/#/g,o1=/&/g,u1=/\//g,l1=/=/g,c1=/\?/g,_m=/\+/g,p1=/%5B/g,h1=/%5D/g,Im=/%5E/g,f1=/%60/g,Om=/%7B/g,d1=/%7C/g,Lm=/%7D/g,m1=/%20/g;function zh(s){return encodeURI(""+s).replace(d1,"|").replace(p1,"[").replace(h1,"]")}function g1(s){return zh(s).replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function mh(s){return zh(s).replace(_m,"%2B").replace(m1,"+").replace(Bm,"%23").replace(o1,"%26").replace(f1,"`").replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function y1(s){return mh(s).replace(l1,"%3D")}function D1(s){return zh(s).replace(Bm,"%23").replace(c1,"%3F")}function v1(s){return s==null?"":D1(s).replace(u1,"%2F")}function wp(s){try{return decodeURIComponent(""+s)}catch{}return""+s}function x1(s){const c={};if(s===""||s==="?")return c;const f=(s[0]==="?"?s.slice(1):s).split("&");for(let D=0;D<f.length;++D){const N=f[D].replace(_m," "),Y=N.indexOf("="),pe=wp(Y<0?N:N.slice(0,Y)),ye=Y<0?null:wp(N.slice(Y+1));if(pe in c){let Me=c[pe];Yu(Me)||(Me=c[pe]=[Me]),Me.push(ye)}else c[pe]=ye}return c}function ed(s){let c="";for(let l in s){const f=s[l];if(l=y1(l),f==null){f!==void 0&&(c+=(c.length?"&":"")+l);continue}(Yu(f)?f.map(N=>N&&mh(N)):[f&&mh(f)]).forEach(N=>{N!==void 0&&(c+=(c.length?"&":"")+l,N!=null&&(c+="="+N))})}return c}function C1(s){const c={};for(const l in s){const f=s[l];f!==void 0&&(c[l]=Yu(f)?f.map(D=>D==null?null:""+D):f==null?f:""+f)}return c}const E1=Symbol(""),td=Symbol(""),Hh=Symbol(""),$h=Symbol(""),gh=Symbol("");function Rc(){let s=[];function c(f){return s.push(f),()=>{const D=s.indexOf(f);D>-1&&s.splice(D,1)}}function l(){s=[]}return{add:c,list:()=>s,reset:l}}function Ql(s,c,l,f,D){const N=f&&(f.enterCallbacks[D]=f.enterCallbacks[D]||[]);return()=>new Promise((Y,pe)=>{const ye=it=>{it===!1?pe(Sc(4,{from:l,to:c})):it instanceof Error?pe(it):Gv(it)?pe(Sc(2,{from:c,to:it})):(N&&f.enterCallbacks[D]===N&&typeof it=="function"&&N.push(it),Y())},Me=s.call(f&&f.instances[D],c,l,ye);let Oe=Promise.resolve(Me);s.length<3&&(Oe=Oe.then(ye)),Oe.catch(it=>pe(it))})}function Zp(s,c,l,f){const D=[];for(const N of s)for(const Y in N.components){let pe=N.components[Y];if(!(c!=="beforeRouteEnter"&&!N.instances[Y]))if(b1(pe)){const Me=(pe.__vccOpts||pe)[c];Me&&D.push(Ql(Me,l,f,N,Y))}else{let ye=pe();D.push(()=>ye.then(Me=>{if(!Me)return Promise.reject(new Error(`Couldn't resolve component "${Y}" at "${N.path}"`));const Oe=Fv(Me)?Me.default:Me;N.components[Y]=Oe;const gt=(Oe.__vccOpts||Oe)[c];return gt&&Ql(gt,l,f,N,Y)()}))}}return D}function b1(s){return typeof s=="object"||"displayName"in s||"props"in s||"__vccOpts"in s}function rd(s){const c=Rl(Hh),l=Rl($h),f=ea(()=>c.resolve(ws(s.to))),D=ea(()=>{const{matched:ye}=f.value,{length:Me}=ye,Oe=ye[Me-1],it=l.matched;if(!Oe||!it.length)return-1;const gt=it.findIndex(Tc.bind(null,Oe));if(gt>-1)return gt;const St=nd(ye[Me-2]);return Me>1&&nd(Oe)===St&&it[it.length-1].path!==St?it.findIndex(Tc.bind(null,ye[Me-2])):gt}),N=ea(()=>D.value>-1&&S1(l.params,f.value.params)),Y=ea(()=>D.value>-1&&D.value===l.matched.length-1&&Sm(l.params,f.value.params));function pe(ye={}){return T1(ye)?c[ws(s.replace)?"replace":"push"](ws(s.to)).catch(Vc):Promise.resolve()}return{route:f,href:ea(()=>f.value.href),isActive:N,isExactActive:Y,navigate:pe}}const A1=Zu({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:rd,setup(s,{slots:c}){const l=Nc(rd(s)),{options:f}=Rl(Hh),D=ea(()=>({[id(s.activeClass,f.linkActiveClass,"router-link-active")]:l.isActive,[id(s.exactActiveClass,f.linkExactActiveClass,"router-link-exact-active")]:l.isExactActive}));return()=>{const N=c.default&&c.default(l);return s.custom?N:jh("a",{"aria-current":l.isExactActive?s.ariaCurrentValue:null,href:l.href,onClick:l.navigate,class:D.value},N)}}}),w1=A1;function T1(s){if(!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)&&!s.defaultPrevented&&!(s.button!==void 0&&s.button!==0)){if(s.currentTarget&&s.currentTarget.getAttribute){const c=s.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(c))return}return s.preventDefault&&s.preventDefault(),!0}}function S1(s,c){for(const l in c){const f=c[l],D=s[l];if(typeof f=="string"){if(f!==D)return!1}else if(!Yu(D)||D.length!==f.length||f.some((N,Y)=>N!==D[Y]))return!1}return!0}function nd(s){return s?s.aliasOf?s.aliasOf.path:s.path:""}const id=(s,c,l)=>s!=null?s:c!=null?c:l,F1=Zu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(s,{attrs:c,slots:l}){const f=Rl(gh),D=ea(()=>s.route||f.value),N=Rl(td,0),Y=ea(()=>{let Me=ws(N);const{matched:Oe}=D.value;let it;for(;(it=Oe[Me])&&!it.components;)Me++;return Me}),pe=ea(()=>D.value.matched[Y.value]);hp(td,ea(()=>Y.value+1)),hp(E1,pe),hp(gh,D);const ye=Ba();return Ya(()=>[ye.value,pe.value,s.name],([Me,Oe,it],[gt,St,Wt])=>{Oe&&(Oe.instances[it]=Me,St&&St!==Oe&&Me&&Me===gt&&(Oe.leaveGuards.size||(Oe.leaveGuards=St.leaveGuards),Oe.updateGuards.size||(Oe.updateGuards=St.updateGuards))),Me&&Oe&&(!St||!Tc(Oe,St)||!gt)&&(Oe.enterCallbacks[it]||[]).forEach(ar=>ar(Me))},{flush:"post"}),()=>{const Me=D.value,Oe=s.name,it=pe.value,gt=it&&it.components[Oe];if(!gt)return sd(l.default,{Component:gt,route:Me});const St=it.props[Oe],Wt=St?St===!0?Me.params:typeof St=="function"?St(Me):St:null,Rr=jh(gt,Zs({},Wt,c,{onVnodeUnmounted:At=>{At.component.isUnmounted&&(it.instances[Oe]=null)},ref:ye}));return sd(l.default,{Component:Rr,route:Me})||Rr}}});function sd(s,c){if(!s)return null;const l=s(c);return l.length===1?l[0]:l}const k1=F1;function P1(s){const c=n1(s.routes,s),l=s.parseQuery||x1,f=s.stringifyQuery||ed,D=s.history,N=Rc(),Y=Rc(),pe=Rc(),ye=zc(Jl);let Me=Jl;gc&&s.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const Oe=Qp.bind(null,$r=>""+$r),it=Qp.bind(null,v1),gt=Qp.bind(null,wp);function St($r,Yr){let Dr,cn;return km($r)?(Dr=c.getRecordMatcher($r),cn=Yr):cn=$r,c.addRoute(cn,Dr)}function Wt($r){const Yr=c.getRecordMatcher($r);Yr&&c.removeRoute(Yr)}function ar(){return c.getRoutes().map($r=>$r.record)}function Rr($r){return!!c.getRecordMatcher($r)}function At($r,Yr){if(Yr=Zs({},Yr||ye.value),typeof $r=="string"){const ri=Yp(l,$r,Yr.path),ht=c.resolve({path:ri.path},Yr),Ot=D.createHref(ri.fullPath);return Zs(ri,ht,{params:gt(ht.params),hash:wp(ri.hash),redirectedFrom:void 0,href:Ot})}let Dr;if("path"in $r)Dr=Zs({},$r,{path:Yp(l,$r.path,Yr.path).path});else{const ri=Zs({},$r.params);for(const ht in ri)ri[ht]==null&&delete ri[ht];Dr=Zs({},$r,{params:it($r.params)}),Yr.params=it(Yr.params)}const cn=c.resolve(Dr,Yr),Gn=$r.hash||"";cn.params=Oe(gt(cn.params));const ui=Nv(f,Zs({},$r,{hash:g1(Gn),path:cn.path})),zn=D.createHref(ui);return Zs({fullPath:ui,hash:Gn,query:f===ed?C1($r.query):$r.query||{}},cn,{redirectedFrom:void 0,href:zn})}function It($r){return typeof $r=="string"?Yp(l,$r,ye.value.path):Zs({},$r)}function qt($r,Yr){if(Me!==$r)return Sc(8,{from:Yr,to:$r})}function Er($r){return An($r)}function an($r){return Er(Zs(It($r),{replace:!0}))}function Jn($r){const Yr=$r.matched[$r.matched.length-1];if(Yr&&Yr.redirect){const{redirect:Dr}=Yr;let cn=typeof Dr=="function"?Dr($r):Dr;return typeof cn=="string"&&(cn=cn.includes("?")||cn.includes("#")?cn=It(cn):{path:cn},cn.params={}),Zs({query:$r.query,hash:$r.hash,params:"path"in cn?{}:$r.params},cn)}}function An($r,Yr){const Dr=Me=At($r),cn=ye.value,Gn=$r.state,ui=$r.force,zn=$r.replace===!0,ri=Jn(Dr);if(ri)return An(Zs(It(ri),{state:typeof ri=="object"?Zs({},Gn,ri.state):Gn,force:ui,replace:zn}),Yr||Dr);const ht=Dr;ht.redirectedFrom=Yr;let Ot;return!ui&&Bv(f,cn,Dr)&&(Ot=Sc(16,{to:ht,from:cn}),ts(cn,cn,!0,!1)),(Ot?Promise.resolve(Ot):oi(ht,cn)).catch(vr=>Ll(vr)?Ll(vr,2)?vr:ti(vr):or(vr,ht,cn)).then(vr=>{if(vr){if(Ll(vr,2))return An(Zs({replace:zn},It(vr.to),{state:typeof vr.to=="object"?Zs({},Gn,vr.to.state):Gn,force:ui}),Yr||ht)}else vr=Un(ht,cn,!0,zn,Gn);return Xn(ht,cn,vr),vr})}function mi($r,Yr){const Dr=qt($r,Yr);return Dr?Promise.reject(Dr):Promise.resolve()}function oi($r,Yr){let Dr;const[cn,Gn,ui]=N1($r,Yr);Dr=Zp(cn.reverse(),"beforeRouteLeave",$r,Yr);for(const ri of cn)ri.leaveGuards.forEach(ht=>{Dr.push(Ql(ht,$r,Yr))});const zn=mi.bind(null,$r,Yr);return Dr.push(zn),mc(Dr).then(()=>{Dr=[];for(const ri of N.list())Dr.push(Ql(ri,$r,Yr));return Dr.push(zn),mc(Dr)}).then(()=>{Dr=Zp(Gn,"beforeRouteUpdate",$r,Yr);for(const ri of Gn)ri.updateGuards.forEach(ht=>{Dr.push(Ql(ht,$r,Yr))});return Dr.push(zn),mc(Dr)}).then(()=>{Dr=[];for(const ri of $r.matched)if(ri.beforeEnter&&!Yr.matched.includes(ri))if(Yu(ri.beforeEnter))for(const ht of ri.beforeEnter)Dr.push(Ql(ht,$r,Yr));else Dr.push(Ql(ri.beforeEnter,$r,Yr));return Dr.push(zn),mc(Dr)}).then(()=>($r.matched.forEach(ri=>ri.enterCallbacks={}),Dr=Zp(ui,"beforeRouteEnter",$r,Yr),Dr.push(zn),mc(Dr))).then(()=>{Dr=[];for(const ri of Y.list())Dr.push(Ql(ri,$r,Yr));return Dr.push(zn),mc(Dr)}).catch(ri=>Ll(ri,8)?ri:Promise.reject(ri))}function Xn($r,Yr,Dr){for(const cn of pe.list())cn($r,Yr,Dr)}function Un($r,Yr,Dr,cn,Gn){const ui=qt($r,Yr);if(ui)return ui;const zn=Yr===Jl,ri=gc?history.state:{};Dr&&(cn||zn?D.replace($r.fullPath,Zs({scroll:zn&&ri&&ri.scroll},Gn)):D.push($r.fullPath,Gn)),ye.value=$r,ts($r,Yr,Dr,zn),ti()}let gi;function xr(){gi||(gi=D.listen(($r,Yr,Dr)=>{if(!ls.listening)return;const cn=At($r),Gn=Jn(cn);if(Gn){An(Zs(Gn,{replace:!0}),cn).catch(Vc);return}Me=cn;const ui=ye.value;gc&&Uv(Wf(ui.fullPath,Dr.delta),$p()),oi(cn,ui).catch(zn=>Ll(zn,12)?zn:Ll(zn,2)?(An(zn.to,cn).then(ri=>{Ll(ri,20)&&!Dr.delta&&Dr.type===ep.pop&&D.go(-1,!1)}).catch(Vc),Promise.reject()):(Dr.delta&&D.go(-Dr.delta,!1),or(zn,cn,ui))).then(zn=>{zn=zn||Un(cn,ui,!1),zn&&(Dr.delta&&!Ll(zn,8)?D.go(-Dr.delta,!1):Dr.type===ep.pop&&Ll(zn,20)&&D.go(-1,!1)),Xn(cn,ui,zn)}).catch(Vc)}))}let Nn=Rc(),Ae=Rc(),rn;function or($r,Yr,Dr){ti($r);const cn=Ae.list();return cn.length?cn.forEach(Gn=>Gn($r,Yr,Dr)):console.error($r),Promise.reject($r)}function Bn(){return rn&&ye.value!==Jl?Promise.resolve():new Promise(($r,Yr)=>{Nn.add([$r,Yr])})}function ti($r){return rn||(rn=!$r,xr(),Nn.list().forEach(([Yr,Dr])=>$r?Dr($r):Yr()),Nn.reset()),$r}function ts($r,Yr,Dr,cn){const{scrollBehavior:Gn}=s;if(!gc||!Gn)return Promise.resolve();const ui=!Dr&&zv(Wf($r.fullPath,0))||(cn||!Dr)&&history.state&&history.state.scroll||null;return Ip().then(()=>Gn($r,Yr,ui)).then(zn=>zn&&Rv(zn)).catch(zn=>or(zn,$r,Yr))}const Cs=$r=>D.go($r);let _s;const Zi=new Set,ls={currentRoute:ye,listening:!0,addRoute:St,removeRoute:Wt,hasRoute:Rr,getRoutes:ar,resolve:At,options:s,push:Er,replace:an,go:Cs,back:()=>Cs(-1),forward:()=>Cs(1),beforeEach:N.add,beforeResolve:Y.add,afterEach:pe.add,onError:Ae.add,isReady:Bn,install($r){const Yr=this;$r.component("RouterLink",w1),$r.component("RouterView",k1),$r.config.globalProperties.$router=Yr,Object.defineProperty($r.config.globalProperties,"$route",{enumerable:!0,get:()=>ws(ye)}),gc&&!_s&&ye.value===Jl&&(_s=!0,Er(D.location).catch(Gn=>{}));const Dr={};for(const Gn in Jl)Dr[Gn]=ea(()=>ye.value[Gn]);$r.provide(Hh,Yr),$r.provide($h,Nc(Dr)),$r.provide(gh,ye);const cn=$r.unmount;Zi.add($r),$r.unmount=function(){Zi.delete($r),Zi.size<1&&(Me=Jl,gi&&gi(),gi=null,ye.value=Jl,_s=!1,rn=!1),cn()}}};return ls}function mc(s){return s.reduce((c,l)=>c.then(()=>l()),Promise.resolve())}function N1(s,c){const l=[],f=[],D=[],N=Math.max(c.matched.length,s.matched.length);for(let Y=0;Y<N;Y++){const pe=c.matched[Y];pe&&(s.matched.find(Me=>Tc(Me,pe))?f.push(pe):l.push(pe));const ye=s.matched[Y];ye&&(c.matched.find(Me=>Tc(Me,ye))||D.push(ye))}return[l,f,D]}function B1(){return Rl($h)}const _1=Zu({__name:"FileIcon",props:{id:null},setup(s){const c=s,l=ea(()=>c.id.split(/\./g).pop()),f=ea(()=>{switch(l.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(D,N)=>(ya(),uo("div",{class:Cc(ws(f))},null,2))}}),I1={open:""},O1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},L1={"ml-1":""},M1=Zu({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(s){const c=B1();return(l,f)=>{const D=Dp("ModuleTreeNode",!0),N=_1,Y=Dp("RouterLink");return ya(),uo("details",I1,[Xi("summary",O1,[Xi("div",{class:Cc(s.icon)},null,2),Gu(" "+ko(s.node.name),1)]),(ya(!0),uo(eu,null,sf(Object.entries(s.node.children),pe=>(ya(),bc(D,{key:pe[0],ml2:"",node:pe[1]},null,8,["node"]))),128)),(ya(!0),uo(eu,null,sf(s.node.items,pe=>(ya(),uo("div",{key:pe.full,ml4:"","ws-nowrap":""},[na(Y,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(pe.full)}`,class:Cc({"bg-gray/10":pe.full===ws(c).params.id})},{default:jl(()=>[na(N,{id:pe.path},null,8,["id"]),Xi("span",L1,ko(pe.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),j1="/__unocss/icon.svg",R1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},U1=Xi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Xi("img",{src:j1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Xi("div",{"of-hidden":""},[Gu(" Inspector "),Xi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),z1=Zu({__name:"NarBar",setup(s){const c=nD(),l=Ay(c);return(f,D)=>(ya(),uo("nav",R1,[U1,Xi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:D[0]||(D[0]=N=>ws(l)())})]))}}),H1={"h-full":""},$1={b:"r main","of-hidden":""},q1={pt:"4",flex:"~ col gap-3"},V1=Xi("div",{"i-carbon-dashboard":""},null,-1),W1=Xi("span",null," Overview ",-1),G1=Xi("div",{"i-carbon-terminal":""},null,-1),X1=Xi("span",null," REPL ",-1),J1=Xi("div",{b:"b main"},null,-1),K1={b:"r main",class:"scrolls scrolls-sidebar"},Q1=Zu({__name:"Sidebar",setup(s){return(c,l)=>{const f=z1,D=Dp("RouterLink"),N=M1;return ya(),uo("div",H1,[Xi("div",$1,[na(f),Xi("div",q1,[na(D,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:jl(()=>[V1,W1]),_:1}),na(D,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:jl(()=>[G1,X1]),_:1}),J1])]),Xi("div",K1,[Object.keys(ws(lp).workspace.children).length?(ya(),bc(N,{key:0,node:ws(lp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):bp("",!0),Object.keys(ws(lp).root.children).length?(ya(),bc(N,{key:1,node:ws(lp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):bp("",!0)])])}}});var Y1=Object.defineProperty,Z1=Object.defineProperties,ex=Object.getOwnPropertyDescriptors,Tp=Object.getOwnPropertySymbols,Mm=Object.prototype.hasOwnProperty,jm=Object.prototype.propertyIsEnumerable,ad=(s,c,l)=>c in s?Y1(s,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[c]=l,tx=(s,c)=>{for(var l in c||(c={}))Mm.call(c,l)&&ad(s,l,c[l]);if(Tp)for(var l of Tp(c))jm.call(c,l)&&ad(s,l,c[l]);return s},rx=(s,c)=>Z1(s,ex(c)),nx=(s,c)=>{var l={};for(var f in s)Mm.call(s,f)&&c.indexOf(f)<0&&(l[f]=s[f]);if(s!=null&&Tp)for(var f of Tp(s))c.indexOf(f)<0&&jm.call(s,f)&&(l[f]=s[f]);return l};const ix={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((s,c)=>(s[c.id]=c)&&s,{})}},methods:{updatePaneComponents(){this.panes.forEach(s=>{s.update&&s.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[s.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(s,c){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=c},onMouseMove(s){this.touch.mouseDown&&(s.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(s)),this.$emit("resize",this.panes.map(c=>({min:c.min,max:c.max,size:c.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(s,c){"ontouchstart"in window&&(s.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===c?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(s,c),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=c,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[c])},onSplitterDblClick(s,c){let l=0;this.panes=this.panes.map((f,D)=>(f.size=D===c?f.max:f.min,D!==c&&(l+=f.min),f)),this.panes[c].size-=l,this.$emit("pane-maximize",this.panes[c])},onPaneClick(s,c){this.$emit("pane-click",this.indexedPanes[c])},getCurrentMouseDrag(s){const c=this.container.getBoundingClientRect(),{clientX:l,clientY:f}="ontouchstart"in window&&s.touches?s.touches[0]:s;return{x:l-c.left,y:f-c.top}},getCurrentDragPercentage(s){s=s[this.horizontal?"y":"x"];const c=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(s=c-s),s*100/c},calculatePanesSize(s){const c=this.touch.activeSplitter;let l={prevPanesSize:this.sumPrevPanesSize(c),nextPanesSize:this.sumNextPanesSize(c),prevReachedMinPanes:0,nextReachedMinPanes:0};const f=0+(this.pushOtherPanes?0:l.prevPanesSize),D=100-(this.pushOtherPanes?0:l.nextPanesSize),N=Math.max(Math.min(this.getCurrentDragPercentage(s),D),f);let Y=[c,c+1],pe=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null;const Me=pe.max<100&&N>=pe.max+l.prevPanesSize,Oe=ye.max<100&&N<=100-(ye.max+this.sumNextPanesSize(c+1));if(Me||Oe){Me?(pe.size=pe.max,ye.size=Math.max(100-pe.max-l.prevPanesSize-l.nextPanesSize,0)):(pe.size=Math.max(100-ye.max-l.prevPanesSize-this.sumNextPanesSize(c+1),0),ye.size=ye.max);return}if(this.pushOtherPanes){const it=this.doPushOtherPanes(l,N);if(!it)return;({sums:l,panesToResize:Y}=it),pe=this.panes[Y[0]]||null,ye=this.panes[Y[1]]||null}pe!==null&&(pe.size=Math.min(Math.max(N-l.prevPanesSize-l.prevReachedMinPanes,pe.min),pe.max)),ye!==null&&(ye.size=Math.min(Math.max(100-N-l.nextPanesSize-l.nextReachedMinPanes,ye.min),ye.max))},doPushOtherPanes(s,c){const l=this.touch.activeSplitter,f=[l,l+1];return c<s.prevPanesSize+this.panes[f[0]].min&&(f[0]=this.findPrevExpandedPane(l).index,s.prevReachedMinPanes=0,f[0]<l&&this.panes.forEach((D,N)=>{N>f[0]&&N<=l&&(D.size=D.min,s.prevReachedMinPanes+=D.min)}),s.prevPanesSize=this.sumPrevPanesSize(f[0]),f[0]===void 0)?(s.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((D,N)=>{N>0&&N<=l&&(D.size=D.min,s.prevReachedMinPanes+=D.min)}),this.panes[f[1]].size=100-s.prevReachedMinPanes-this.panes[0].min-s.prevPanesSize-s.nextPanesSize,null):c>100-s.nextPanesSize-this.panes[f[1]].min&&(f[1]=this.findNextExpandedPane(l).index,s.nextReachedMinPanes=0,f[1]>l+1&&this.panes.forEach((D,N)=>{N>l&&N<f[1]&&(D.size=D.min,s.nextReachedMinPanes+=D.min)}),s.nextPanesSize=this.sumNextPanesSize(f[1]-1),f[1]===void 0)?(s.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((D,N)=>{N<this.panesCount-1&&N>=l+1&&(D.size=D.min,s.nextReachedMinPanes+=D.min)}),this.panes[f[0]].size=100-s.prevPanesSize-s.nextReachedMinPanes-this.panes[this.panesCount-1].min-s.nextPanesSize,null):{sums:s,panesToResize:f}},sumPrevPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f<s?l.size:0),0)},sumNextPanesSize(s){return this.panes.reduce((c,l,f)=>c+(f>s+1?l.size:0),0)},findPrevExpandedPane(s){return[...this.panes].reverse().find(l=>l.index<s&&l.size>l.min)||{}},findNextExpandedPane(s){return this.panes.find(l=>l.index>s+1&&l.size>l.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(c=>{const l=c.classList.contains("splitpanes__pane"),f=c.classList.contains("splitpanes__splitter");if(!l&&!f){c.parentNode.removeChild(c),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter(s,c,l=!1){const f=s-1,D=document.createElement("div");D.classList.add("splitpanes__splitter"),l||(D.onmousedown=N=>this.onMouseDown(N,f),typeof window<"u"&&"ontouchstart"in window&&(D.ontouchstart=N=>this.onMouseDown(N,f)),D.onclick=N=>this.onSplitterClick(N,f+1)),this.dblClickSplitter&&(D.ondblclick=N=>this.onSplitterDblClick(N,f+1)),c.parentNode.insertBefore(D,c)},removeSplitter(s){s.onmousedown=void 0,s.onclick=void 0,s.ondblclick=void 0,s.parentNode.removeChild(s)},redoSplitters(){const s=Array.from(this.container.children);s.forEach(l=>{l.className.includes("splitpanes__splitter")&&this.removeSplitter(l)});let c=0;s.forEach(l=>{l.className.includes("splitpanes__pane")&&(!c&&this.firstSplitter?this.addSplitter(c,l,!0):c&&this.addSplitter(c,l),c++)})},requestUpdate(s){var c=s,{target:l}=c,f=nx(c,["target"]);const D=this.indexedPanes[l._.uid];Object.entries(f).forEach(([N,Y])=>D[N]=Y)},onPaneAdd(s){let c=-1;Array.from(s.$el.parentNode.children).some(D=>(D.className.includes("splitpanes__pane")&&c++,D===s.$el));const l=parseFloat(s.minSize),f=parseFloat(s.maxSize);this.panes.splice(c,0,{id:s._.uid,index:c,min:isNaN(l)?0:l,max:isNaN(f)?100:f,size:s.size===null?null:parseFloat(s.size),givenSize:s.size,update:s.update}),this.panes.forEach((D,N)=>D.index=N),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[c]}),this.$emit("pane-add",{index:c,panes:this.panes.map(D=>({min:D.min,max:D.max,size:D.size}))})})},onPaneRemove(s){const c=this.panes.findIndex(f=>f.id===s._.uid),l=this.panes.splice(c,1)[0];this.panes.forEach((f,D)=>f.index=D),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:rx(tx({},l),{index:c})}),this.$emit("pane-remove",{removed:l,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},resetPaneSizes(s={}){!s.addedPane&&!s.removedPane?this.initialPanesSizing():this.panes.some(c=>c.givenSize!==null||c.min||c.max<100)?this.equalizeAfterAddOrRemove(s):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(c=>({min:c.min,max:c.max,size:c.size})))},equalize(){const s=100/this.panesCount;let c=0,l=[],f=[];this.panes.forEach(D=>{D.size=Math.max(Math.min(s,D.max),D.min),c-=D.size,D.size>=D.max&&l.push(D.id),D.size<=D.min&&f.push(D.id)}),c>.1&&this.readjustSizes(c,l,f)},initialPanesSizing(){100/this.panesCount;let s=100,c=[],l=[],f=0;this.panes.forEach(N=>{s-=N.size,N.size!==null&&f++,N.size>=N.max&&c.push(N.id),N.size<=N.min&&l.push(N.id)});let D=100;s>.1&&(this.panes.forEach(N=>{N.size===null&&(N.size=Math.max(Math.min(s/(this.panesCount-f),N.max),N.min)),D-=N.size}),D>.1&&this.readjustSizes(s,c,l))},equalizeAfterAddOrRemove({addedPane:s,removedPane:c}={}){let l=100/this.panesCount,f=0,D=[],N=[];s&&s.givenSize!==null&&(l=(100-s.givenSize)/(this.panesCount-1)),this.panes.forEach(Y=>{f-=Y.size,Y.size>=Y.max&&D.push(Y.id),Y.size<=Y.min&&N.push(Y.id)}),!(Math.abs(f)<.1)&&(this.panes.forEach(Y=>{s&&s.givenSize!==null&&s.id===Y.id||(Y.size=Math.max(Math.min(l,Y.max),Y.min)),f-=Y.size,Y.size>=Y.max&&D.push(Y.id),Y.size<=Y.min&&N.push(Y.id)}),f>.1&&this.readjustSizes(f,D,N))},readjustSizes(s,c,l){let f;s>0?f=s/(this.panesCount-c.length):f=s/(this.panesCount-l.length),this.panes.forEach((D,N)=>{if(s>0&&!c.includes(D.id)){const Y=Math.max(Math.min(D.size+f,D.max),D.min);s-=Y-D.size,D.size=Y}else if(!l.includes(D.id)){const Y=Math.max(Math.min(D.size+f,D.max),D.min);s-=Y-D.size,D.size=Y}D.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[D.id].size}%`})}),Math.abs(s)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(s){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((l,f)=>{l.ondblclick=s?D=>this.onSplitterDblClick(D,f):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return jh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var sx=(s,c)=>{const l=s.__vccOpts||s;for(const[f,D]of c)l[f]=D;return l};const ax={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(s){this.style=s}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(s){this.requestUpdate({target:this,size:s})},minSizeNumber(s){this.requestUpdate({target:this,min:s})},maxSizeNumber(s){this.requestUpdate({target:this,max:s})}}};function ox(s,c,l,f,D,N){return ya(),uo("div",{class:"splitpanes__pane",onClick:c[0]||(c[0]=Y=>N.onPaneClick(Y,s._.uid)),style:tp(s.style)},[vp(s.$slots,"default")],4)}var od=sx(ax,[["render",ox]]);const ux={"h-screen":"","w-screen":"","of-hidden":""},lx={"h-full":"","of-hidden":""},cx=Zu({__name:"App",setup(s){return(c,l)=>{const f=Q1,D=Dp("RouterView");return ya(),uo("div",ux,[na(ws(ix),null,{default:jl(()=>[na(ws(od),{size:"20","push-other-panes":!1},{default:jl(()=>[na(f)]),_:1}),na(ws(od),{size:"80"},{default:jl(()=>[Xi("div",lx,[na(D)])]),_:1})]),_:1})])}}}),Rm=py(cx);Rm.use(P1({history:Wv(),routes:Sv}));Rm.mount("#app");export{QD as A,ea as B,bp as C,ko as D,od as E,ix as F,qD as G,B1 as H,ID as _,hx as a,dm as b,uo as c,Zu as d,na as e,mx as f,Xi as g,l0 as h,ws as i,Na as j,Gu as k,jD as l,PD as m,tp as n,ya as o,Dm as p,bc as q,Ba as r,fx as s,bD as t,VD as u,oy as v,jl as w,dx as x,Lg as y,px as z};
|