nuxt-link-checker 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +0,0 @@
1
- function Tr(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const we={},qt=[],et=()=>{},Cl=()=>!1,Ol=/^on[^a-z]/,Fn=e=>Ol.test(e),xr=e=>e.startsWith("onUpdate:"),xe=Object.assign,Lr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Il=Object.prototype.hasOwnProperty,pe=(e,t)=>Il.call(e,t),te=Array.isArray,Vt=e=>ws(e)==="[object Map]",Ni=e=>ws(e)==="[object Set]",se=e=>typeof e=="function",Te=e=>typeof e=="string",Sr=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Ar=e=>_e(e)&&se(e.then)&&se(e.catch),Ti=Object.prototype.toString,ws=e=>Ti.call(e),Ml=e=>ws(e).slice(8,-1),xi=e=>ws(e)==="[object Object]",Pr=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=Tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ks=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$l=/-(\w)/g,rt=ks(e=>e.replace($l,(t,n)=>n?n.toUpperCase():"")),Fl=/\B([A-Z])/g,tn=ks(e=>e.replace(Fl,"-$1").toLowerCase()),Ns=ks(e=>e.charAt(0).toUpperCase()+e.slice(1)),$s=ks(e=>e?`on${Ns(e)}`:""),En=(e,t)=>!Object.is(e,t),Fs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ts=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Bl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Li=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let io;const er=()=>io||(io=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nn(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Te(s)?Wl(s):nn(s);if(o)for(const r in o)t[r]=o[r]}return t}else{if(Te(e))return e;if(_e(e))return e}}const Dl=/;(?![^(]*\))/g,Hl=/:([^]+)/,Ul=/\/\*[^]*?\*\//g;function Wl(e){const t={};return e.replace(Ul,"").split(Dl).forEach(n=>{if(n){const s=n.split(Hl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Tt(e){let t="";if(Te(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const s=Tt(e[n]);s&&(t+=s+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Si(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Te(t)&&(e.class=Tt(t)),n&&(e.style=nn(n)),e}const Gl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ql=Tr(Gl);function Ai(e){return!!e||e===""}const Ce=e=>Te(e)?e:e==null?"":te(e)||_e(e)&&(e.toString===Ti||!se(e.toString))?JSON.stringify(e,Pi,2):String(e),Pi=(e,t)=>t&&t.__v_isRef?Pi(e,t.value):Vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ni(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!te(t)&&!xi(t)?String(t):t;let We;class Vl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Kl(e,t=We){t&&t.active&&t.effects.push(e)}function Ei(){return We}function zl(e){We&&We.cleanups.push(e)}const Er=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ri=e=>(e.w&xt)>0,ji=e=>(e.n&xt)>0,Jl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=xt},Ql=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Ri(o)&&!ji(o)?o.delete(e):t[n++]=o,o.w&=~xt,o.n&=~xt}t.length=n}},ns=new WeakMap;let _n=0,xt=1;const tr=30;let Ze;const Mt=Symbol(""),nr=Symbol("");class Rr{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Kl(this,s)}run(){if(!this.active)return this.fn();let t=Ze,n=wt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ze,Ze=this,wt=!0,xt=1<<++_n,_n<=tr?Jl(this):ao(this),this.fn()}finally{_n<=tr&&Ql(this),xt=1<<--_n,Ze=this.parent,wt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ze===this?this.deferStop=!0:this.active&&(ao(this),this.onStop&&this.onStop(),this.active=!1)}}function ao(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let wt=!0;const Ci=[];function sn(){Ci.push(wt),wt=!1}function rn(){const e=Ci.pop();wt=e===void 0?!0:e}function De(e,t,n){if(wt&&Ze){let s=ns.get(e);s||ns.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=Er()),Oi(o)}}function Oi(e,t){let n=!1;_n<=tr?ji(e)||(e.n|=xt,n=!Ri(e)):n=!e.has(Ze),n&&(e.add(Ze),Ze.deps.push(e))}function ft(e,t,n,s,o,r){const i=ns.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&te(e)){const c=Number(s);i.forEach((a,d)=>{(d==="length"||d>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":te(e)?Pr(n)&&l.push(i.get("length")):(l.push(i.get(Mt)),Vt(e)&&l.push(i.get(nr)));break;case"delete":te(e)||(l.push(i.get(Mt)),Vt(e)&&l.push(i.get(nr)));break;case"set":Vt(e)&&l.push(i.get(Mt));break}if(l.length===1)l[0]&&sr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);sr(Er(c))}}function sr(e,t){const n=te(e)?e:[...e];for(const s of n)s.computed&&lo(s);for(const s of n)s.computed||lo(s)}function lo(e,t){(e!==Ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Xl(e,t){var n;return(n=ns.get(e))==null?void 0:n.get(t)}const Yl=Tr("__proto__,__v_isRef,__isVue"),Ii=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Sr)),Zl=jr(),ec=jr(!1,!0),tc=jr(!0),co=nc();function nc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=he(this);for(let r=0,i=this.length;r<i;r++)De(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(he)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){sn();const s=he(this)[t].apply(this,n);return rn(),s}}),e}function sc(e){const t=he(this);return De(t,"has",e),t.hasOwnProperty(e)}function jr(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?_c:Di:t?Bi:Fi).get(s))return s;const i=te(s);if(!e){if(i&&pe(co,o))return Reflect.get(co,o,r);if(o==="hasOwnProperty")return sc}const l=Reflect.get(s,o,r);return(Sr(o)?Ii.has(o):Yl(o))||(e||De(s,"get",o),t)?l:Ae(l)?i&&Pr(o)?l:l.value:_e(l)?e?Hi(l):dt(l):l}}const rc=Mi(),oc=Mi(!0);function Mi(e=!1){return function(n,s,o,r){let i=n[s];if($t(i)&&Ae(i)&&!Ae(o))return!1;if(!e&&(!ss(o)&&!$t(o)&&(i=he(i),o=he(o)),!te(n)&&Ae(i)&&!Ae(o)))return i.value=o,!0;const l=te(n)&&Pr(s)?Number(s)<n.length:pe(n,s),c=Reflect.set(n,s,o,r);return n===he(r)&&(l?En(o,i)&&ft(n,"set",s,o):ft(n,"add",s,o)),c}}function ic(e,t){const n=pe(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ft(e,"delete",t,void 0),s}function ac(e,t){const n=Reflect.has(e,t);return(!Sr(t)||!Ii.has(t))&&De(e,"has",t),n}function lc(e){return De(e,"iterate",te(e)?"length":Mt),Reflect.ownKeys(e)}const $i={get:Zl,set:rc,deleteProperty:ic,has:ac,ownKeys:lc},cc={get:tc,set(e,t){return!0},deleteProperty(e,t){return!0}},uc=xe({},$i,{get:ec,set:oc}),Cr=e=>e,Ts=e=>Reflect.getPrototypeOf(e);function Dn(e,t,n=!1,s=!1){e=e.__v_raw;const o=he(e),r=he(t);n||(t!==r&&De(o,"get",t),De(o,"get",r));const{has:i}=Ts(o),l=s?Cr:n?$r:Rn;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function Hn(e,t=!1){const n=this.__v_raw,s=he(n),o=he(e);return t||(e!==o&&De(s,"has",e),De(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Un(e,t=!1){return e=e.__v_raw,!t&&De(he(e),"iterate",Mt),Reflect.get(e,"size",e)}function uo(e){e=he(e);const t=he(this);return Ts(t).has.call(t,e)||(t.add(e),ft(t,"add",e,e)),this}function fo(e,t){t=he(t);const n=he(this),{has:s,get:o}=Ts(n);let r=s.call(n,e);r||(e=he(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?En(t,i)&&ft(n,"set",e,t):ft(n,"add",e,t),this}function po(e){const t=he(this),{has:n,get:s}=Ts(t);let o=n.call(t,e);o||(e=he(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&ft(t,"delete",e,void 0),r}function ho(){const e=he(this),t=e.size!==0,n=e.clear();return t&&ft(e,"clear",void 0,void 0),n}function Wn(e,t){return function(s,o){const r=this,i=r.__v_raw,l=he(i),c=t?Cr:e?$r:Rn;return!e&&De(l,"iterate",Mt),i.forEach((a,d)=>s.call(o,c(a),c(d),r))}}function Gn(e,t,n){return function(...s){const o=this.__v_raw,r=he(o),i=Vt(r),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=o[e](...s),d=n?Cr:t?$r:Rn;return!t&&De(r,"iterate",c?nr:Mt),{next(){const{value:f,done:p}=a.next();return p?{value:f,done:p}:{value:l?[d(f[0]),d(f[1])]:d(f),done:p}},[Symbol.iterator](){return this}}}}function ht(e){return function(...t){return e==="delete"?!1:this}}function fc(){const e={get(r){return Dn(this,r)},get size(){return Un(this)},has:Hn,add:uo,set:fo,delete:po,clear:ho,forEach:Wn(!1,!1)},t={get(r){return Dn(this,r,!1,!0)},get size(){return Un(this)},has:Hn,add:uo,set:fo,delete:po,clear:ho,forEach:Wn(!1,!0)},n={get(r){return Dn(this,r,!0)},get size(){return Un(this,!0)},has(r){return Hn.call(this,r,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:Wn(!0,!1)},s={get(r){return Dn(this,r,!0,!0)},get size(){return Un(this,!0)},has(r){return Hn.call(this,r,!0)},add:ht("add"),set:ht("set"),delete:ht("delete"),clear:ht("clear"),forEach:Wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Gn(r,!1,!1),n[r]=Gn(r,!0,!1),t[r]=Gn(r,!1,!0),s[r]=Gn(r,!0,!0)}),[e,n,t,s]}const[dc,pc,hc,mc]=fc();function Or(e,t){const n=t?e?mc:hc:e?pc:dc;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(pe(n,o)&&o in s?n:s,o,r)}const gc={get:Or(!1,!1)},yc={get:Or(!1,!0)},bc={get:Or(!0,!1)},Fi=new WeakMap,Bi=new WeakMap,Di=new WeakMap,_c=new WeakMap;function vc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wc(e){return e.__v_skip||!Object.isExtensible(e)?0:vc(Ml(e))}function dt(e){return $t(e)?e:Mr(e,!1,$i,gc,Fi)}function Ir(e){return Mr(e,!1,uc,yc,Bi)}function Hi(e){return Mr(e,!0,cc,bc,Di)}function Mr(e,t,n,s,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=wc(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Kt(e){return $t(e)?Kt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(e){return!!(e&&e.__v_isReadonly)}function ss(e){return!!(e&&e.__v_isShallow)}function Ui(e){return Kt(e)||$t(e)}function he(e){const t=e&&e.__v_raw;return t?he(t):e}function Wi(e){return ts(e,"__v_skip",!0),e}const Rn=e=>_e(e)?dt(e):e,$r=e=>_e(e)?Hi(e):e;function Gi(e){wt&&Ze&&(e=he(e),Oi(e.dep||(e.dep=Er())))}function qi(e,t){e=he(e);const n=e.dep;n&&sr(n)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Vi(e,!1)}function mo(e){return Vi(e,!0)}function Vi(e,t){return Ae(e)?e:new kc(e,t)}class kc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:he(t),this._value=n?t:Rn(t)}get value(){return Gi(this),this._value}set value(t){const n=this.__v_isShallow||ss(t)||$t(t);t=n?t:he(t),En(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Rn(t),qi(this))}}function ge(e){return Ae(e)?e.value:e}const Nc={get:(e,t,n)=>ge(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Ki(e){return Kt(e)?e:new Proxy(e,Nc)}class Tc{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Xl(he(this._object),this._key)}}class xc{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zi(e,t,n){return Ae(e)?e:se(e)?new xc(e):_e(e)&&arguments.length>1?Lc(e,t,n):be(e)}function Lc(e,t,n){const s=e[t];return Ae(s)?s:new Tc(e,t,n)}class Sc{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Rr(t,()=>{this._dirty||(this._dirty=!0,qi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=he(this);return Gi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ac(e,t,n=!1){let s,o;const r=se(e);return r?(s=e,o=et):(s=e.get,o=e.set),new Sc(s,o,r||!o,n)}function kt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){on(r,t,n)}return o}function Qe(e,t,n,s){if(se(e)){const r=kt(e,t,n,s);return r&&Ar(r)&&r.catch(i=>{on(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(Qe(e[r],t,n,s));return o}function on(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,l=n;for(;r;){const a=r.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,i,l)===!1)return}r=r.parent}const c=t.appContext.config.errorHandler;if(c){kt(c,null,10,[e,i,l]);return}}Pc(e,n,o,s)}function Pc(e,t,n,s=!0){console.error(e)}let jn=!1,rr=!1;const Oe=[];let st=0;const zt=[];let at=null,Rt=0;const Ji=Promise.resolve();let Fr=null;function xs(e){const t=Fr||Ji;return e?t.then(this?e.bind(this):e):t}function Ec(e){let t=st+1,n=Oe.length;for(;t<n;){const s=t+n>>>1;Cn(Oe[s])<e?t=s+1:n=s}return t}function Ls(e){(!Oe.length||!Oe.includes(e,jn&&e.allowRecurse?st+1:st))&&(e.id==null?Oe.push(e):Oe.splice(Ec(e.id),0,e),Qi())}function Qi(){!jn&&!rr&&(rr=!0,Fr=Ji.then(Yi))}function Rc(e){const t=Oe.indexOf(e);t>st&&Oe.splice(t,1)}function Xi(e){te(e)?zt.push(...e):(!at||!at.includes(e,e.allowRecurse?Rt+1:Rt))&&zt.push(e),Qi()}function go(e,t=jn?st+1:0){for(;t<Oe.length;t++){const n=Oe[t];n&&n.pre&&(Oe.splice(t,1),t--,n())}}function rs(e){if(zt.length){const t=[...new Set(zt)];if(zt.length=0,at){at.push(...t);return}for(at=t,at.sort((n,s)=>Cn(n)-Cn(s)),Rt=0;Rt<at.length;Rt++)at[Rt]();at=null,Rt=0}}const Cn=e=>e.id==null?1/0:e.id,jc=(e,t)=>{const n=Cn(e)-Cn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yi(e){rr=!1,jn=!0,Oe.sort(jc);const t=et;try{for(st=0;st<Oe.length;st++){const n=Oe[st];n&&n.active!==!1&&kt(n,null,14)}}finally{st=0,Oe.length=0,rs(),jn=!1,Fr=null,(Oe.length||zt.length)&&Yi()}}function Cc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||we;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:p}=s[d]||we;p&&(o=n.map(L=>Te(L)?L.trim():L)),f&&(o=n.map(Bl))}let l,c=s[l=$s(t)]||s[l=$s(rt(t))];!c&&r&&(c=s[l=$s(tn(t))]),c&&Qe(c,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(a,e,6,o)}}function Zi(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!se(e)){const c=a=>{const d=Zi(a,t,!0);d&&(l=!0,xe(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(_e(e)&&s.set(e,null),null):(te(r)?r.forEach(c=>i[c]=null):xe(i,r),_e(e)&&s.set(e,i),i)}function Ss(e,t){return!e||!Fn(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,tn(t))||pe(e,t))}let Ee=null,As=null;function os(e){const t=Ee;return Ee=e,As=e&&e.type.__scopeId||null,t}function $g(e){As=e}function Fg(){As=null}function Be(e,t=Ee,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Eo(-1);const r=os(t);let i;try{i=e(...o)}finally{os(r),s._d&&Eo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Bs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:c,emit:a,render:d,renderCache:f,data:p,setupState:L,ctx:y,inheritAttrs:S}=e;let E,N;const v=os(e);try{if(n.shapeFlag&4){const x=o||s;E=Ke(d.call(x,x,f,r,L,p,y)),N=c}else{const x=t;E=Ke(x.length>1?x(r,{attrs:c,slots:l,emit:a}):x(r,null)),N=t.props?c:Ic(c)}}catch(x){xn.length=0,on(x,e,1),E=oe(Xe)}let T=E;if(N&&S!==!1){const x=Object.keys(N),{shapeFlag:w}=T;x.length&&w&7&&(i&&x.some(xr)&&(N=Mc(N,i)),T=Ft(T,N))}return n.dirs&&(T=Ft(T),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&(T.transition=n.transition),E=T,os(v),E}function Oc(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Mn(s)){if(s.type!==Xe||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Ic=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fn(n))&&((t||(t={}))[n]=e[n]);return t},Mc=(e,t)=>{const n={};for(const s in e)(!xr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function $c(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?yo(s,i,a):!!i;if(c&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const p=d[f];if(i[p]!==s[p]&&!Ss(a,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?yo(s,i,a):!0:!!i;return!1}function yo(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Ss(n,r))return!0}return!1}function Br({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Fc=e=>e.__isSuspense,Bc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,l,c,a){e==null?Hc(t,n,s,o,r,i,l,c,a):Uc(e,t,n,s,o,i,l,c,a)},hydrate:Wc,create:Dr,normalize:Gc},Dc=Bc;function On(e,t){const n=e.props&&e.props[t];se(n)&&n()}function Hc(e,t,n,s,o,r,i,l,c){const{p:a,o:{createElement:d}}=c,f=d("div"),p=e.suspense=Dr(e,o,s,t,f,n,r,i,l,c);a(null,p.pendingBranch=e.ssContent,f,null,s,p,r,i),p.deps>0?(On(e,"onPending"),On(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,r,i),Jt(p,e.ssFallback)):p.resolve(!1,!0)}function Uc(e,t,n,s,o,r,i,l,{p:c,um:a,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,L=t.ssFallback,{activeBranch:y,pendingBranch:S,isInFallback:E,isHydrating:N}=f;if(S)f.pendingBranch=p,lt(p,S)?(c(S,p,f.hiddenContainer,null,o,f,r,i,l),f.deps<=0?f.resolve():E&&(c(y,L,n,s,o,null,r,i,l),Jt(f,L))):(f.pendingId++,N?(f.isHydrating=!1,f.activeBranch=S):a(S,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),E?(c(null,p,f.hiddenContainer,null,o,f,r,i,l),f.deps<=0?f.resolve():(c(y,L,n,s,o,null,r,i,l),Jt(f,L))):y&&lt(p,y)?(c(y,p,n,s,o,f,r,i,l),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,o,f,r,i,l),f.deps<=0&&f.resolve()));else if(y&&lt(p,y))c(y,p,n,s,o,f,r,i,l),Jt(f,p);else if(On(t,"onPending"),f.pendingBranch=p,f.pendingId++,c(null,p,f.hiddenContainer,null,o,f,r,i,l),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:T}=f;v>0?setTimeout(()=>{f.pendingId===T&&f.fallback(L)},v):v===0&&f.fallback(L)}}function Dr(e,t,n,s,o,r,i,l,c,a,d=!1){const{p:f,m:p,um:L,n:y,o:{parentNode:S,remove:E}}=a;let N;const v=qc(e);v&&t!=null&&t.pendingBranch&&(N=t.pendingId,t.deps++);const T=e.props?Li(e.props.timeout):void 0,x={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:typeof T=="number"?T:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(w=!1,u=!1){const{vnode:_,activeBranch:g,pendingBranch:m,pendingId:k,effects:h,parentComponent:b,container:A}=x;if(x.isHydrating)x.isHydrating=!1;else if(!w){const M=g&&m.transition&&m.transition.mode==="out-in";M&&(g.transition.afterLeave=()=>{k===x.pendingId&&p(m,A,V,0)});let{anchor:V}=x;g&&(V=y(g),L(g,b,x,!0)),M||p(m,A,V,0)}Jt(x,m),x.pendingBranch=null,x.isInFallback=!1;let j=x.parent,I=!1;for(;j;){if(j.pendingBranch){j.effects.push(...h),I=!0;break}j=j.parent}I||Xi(h),x.effects=[],v&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!u&&t.resolve()),On(_,"onResolve")},fallback(w){if(!x.pendingBranch)return;const{vnode:u,activeBranch:_,parentComponent:g,container:m,isSVG:k}=x;On(u,"onFallback");const h=y(_),b=()=>{x.isInFallback&&(f(null,w,m,h,g,null,k,l,c),Jt(x,w))},A=w.transition&&w.transition.mode==="out-in";A&&(_.transition.afterLeave=b),x.isInFallback=!0,L(_,g,null,!0),A||b()},move(w,u,_){x.activeBranch&&p(x.activeBranch,w,u,_),x.container=w},next(){return x.activeBranch&&y(x.activeBranch)},registerDep(w,u){const _=!!x.pendingBranch;_&&x.deps++;const g=w.vnode.el;w.asyncDep.catch(m=>{on(m,w,0)}).then(m=>{if(w.isUnmounted||x.isUnmounted||x.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:k}=w;dr(w,m,!1),g&&(k.el=g);const h=!g&&w.subTree.el;u(w,k,S(g||w.subTree.el),g?null:y(w.subTree),x,i,c),h&&E(h),Br(w,k.el),_&&--x.deps===0&&x.resolve()})},unmount(w,u){x.isUnmounted=!0,x.activeBranch&&L(x.activeBranch,n,w,u),x.pendingBranch&&L(x.pendingBranch,n,w,u)}};return x}function Wc(e,t,n,s,o,r,i,l,c){const a=t.suspense=Dr(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,l,!0),d=c(e,a.pendingBranch=t.ssContent,n,a,r,i);return a.deps===0&&a.resolve(!1,!0),d}function Gc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=bo(s?n.default:n),e.ssFallback=s?bo(n.fallback):oe(Xe)}function bo(e){let t;if(se(e)){const n=Zt&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=Je,Ta())}return te(e)&&(e=Oc(e)),e=Ke(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ea(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Xi(e)}function Jt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,Br(s,o))}function qc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function ta(e,t){return Hr(e,null,t)}const qn={};function ut(e,t,n){return Hr(e,t,n)}function Hr(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=we){var l;const c=Ei()===((l=Le)==null?void 0:l.scope)?Le:null;let a,d=!1,f=!1;if(Ae(e)?(a=()=>e.value,d=ss(e)):Kt(e)?(a=()=>e,s=!0):te(e)?(f=!0,d=e.some(x=>Kt(x)||ss(x)),a=()=>e.map(x=>{if(Ae(x))return x.value;if(Kt(x))return It(x);if(se(x))return kt(x,c,2)})):se(e)?t?a=()=>kt(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return p&&p(),Qe(e,c,3,[L])}:a=et,t&&s){const x=a;a=()=>It(x())}let p,L=x=>{p=v.onStop=()=>{kt(x,c,4)}},y;if(en)if(L=et,t?n&&Qe(t,c,3,[a(),f?[]:void 0,L]):a(),o==="sync"){const x=$u();y=x.__watcherHandles||(x.__watcherHandles=[])}else return et;let S=f?new Array(e.length).fill(qn):qn;const E=()=>{if(v.active)if(t){const x=v.run();(s||d||(f?x.some((w,u)=>En(w,S[u])):En(x,S)))&&(p&&p(),Qe(t,c,3,[x,S===qn?void 0:f&&S[0]===qn?[]:S,L]),S=x)}else v.run()};E.allowRecurse=!!t;let N;o==="sync"?N=E:o==="post"?N=()=>$e(E,c&&c.suspense):(E.pre=!0,c&&(E.id=c.uid),N=()=>Ls(E));const v=new Rr(a,N);t?n?E():S=v.run():o==="post"?$e(v.run.bind(v),c&&c.suspense):v.run();const T=()=>{v.stop(),c&&c.scope&&Lr(c.scope.effects,v)};return y&&y.push(T),T}function Vc(e,t,n){const s=this.proxy,o=Te(e)?e.includes(".")?na(s,e):()=>s[e]:e.bind(s,s);let r;se(t)?r=t:(r=t.handler,n=t);const i=Le;St(this);const l=Hr(o,r.bind(s),n);return i?St(i):Nt(),l}function na(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function It(e,t){if(!_e(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ae(e))It(e.value,t);else if(te(e))for(let n=0;n<e.length;n++)It(e[n],t);else if(Ni(e)||Vt(e))e.forEach(n=>{It(n,t)});else if(xi(e))for(const n in e)It(e[n],t);return e}function Kc(e,t){const n=Ee;if(n===null)return e;const s=Cs(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,l,c,a=we]=t[r];i&&(se(i)&&(i={mounted:i,updated:i}),i.deep&&It(l),o.push({dir:i,instance:s,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function nt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let c=l.dir[s];c&&(sn(),Qe(c,n,8,[e.el,l,e,t]),rn())}}function zc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wr(()=>{e.isMounted=!0}),Es(()=>{e.isUnmounting=!0}),e}const qe=[Function,Array],Jc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qe,onEnter:qe,onAfterEnter:qe,onEnterCancelled:qe,onBeforeLeave:qe,onLeave:qe,onAfterLeave:qe,onLeaveCancelled:qe,onBeforeAppear:qe,onAppear:qe,onAfterAppear:qe,onAppearCancelled:qe};function Qc(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function or(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:L,onLeaveCancelled:y,onBeforeAppear:S,onAppear:E,onAfterAppear:N,onAppearCancelled:v}=t,T=String(e.key),x=Qc(n,e),w=(g,m)=>{g&&Qe(g,s,9,m)},u=(g,m)=>{const k=m[1];w(g,m),te(g)?g.every(h=>h.length<=1)&&k():g.length<=1&&k()},_={mode:r,persisted:i,beforeEnter(g){let m=l;if(!n.isMounted)if(o)m=S||l;else return;g._leaveCb&&g._leaveCb(!0);const k=x[T];k&&lt(e,k)&&k.el._leaveCb&&k.el._leaveCb(),w(m,[g])},enter(g){let m=c,k=a,h=d;if(!n.isMounted)if(o)m=E||c,k=N||a,h=v||d;else return;let b=!1;const A=g._enterCb=j=>{b||(b=!0,j?w(h,[g]):w(k,[g]),_.delayedLeave&&_.delayedLeave(),g._enterCb=void 0)};m?u(m,[g,A]):A()},leave(g,m){const k=String(e.key);if(g._enterCb&&g._enterCb(!0),n.isUnmounting)return m();w(f,[g]);let h=!1;const b=g._leaveCb=A=>{h||(h=!0,m(),A?w(y,[g]):w(L,[g]),g._leaveCb=void 0,x[k]===e&&delete x[k])};x[k]=e,p?u(p,[g,b]):b()},clone(g){return or(g,t,n,s)}};return _}function ir(e,t){e.shapeFlag&6&&e.component?ir(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function sa(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===ke?(i.patchFlag&128&&o++,s=s.concat(sa(i.children,t,l))):(t||i.type!==Xe)&&s.push(l!=null?Ft(i,{key:l}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Me(e,t){return se(e)?(()=>xe({name:e.name},t,{setup:e}))():e}const Qt=e=>!!e.type.__asyncLoader;function _o(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:l}=e;let c=null,a,d=0;const f=()=>(d++,c=null,p()),p=()=>{let L;return c||(L=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((S,E)=>{l(y,()=>S(f()),()=>E(y),d+1)});throw y}).then(y=>L!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),a=y,y)))};return Me({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const L=Le;if(a)return()=>Ds(a,L);const y=v=>{c=null,on(v,L,13,!s)};if(i&&L.suspense||en)return p().then(v=>()=>Ds(v,L)).catch(v=>(y(v),()=>s?oe(s,{error:v}):null));const S=be(!1),E=be(),N=be(!!o);return o&&setTimeout(()=>{N.value=!1},o),r!=null&&setTimeout(()=>{if(!S.value&&!E.value){const v=new Error(`Async component timed out after ${r}ms.`);y(v),E.value=v}},r),p().then(()=>{S.value=!0,L.parent&&Ur(L.parent.vnode)&&Ls(L.parent.update)}).catch(v=>{y(v),E.value=v}),()=>{if(S.value&&a)return Ds(a,L);if(E.value&&s)return oe(s,{error:E.value});if(n&&!N.value)return oe(n)}}})}function Ds(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=oe(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const Ur=e=>e.type.__isKeepAlive;function ra(e,t){ia(e,"a",t)}function oa(e,t){ia(e,"da",t)}function ia(e,t,n=Le){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ps(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Ur(o.parent.vnode)&&Xc(s,t,n,o),o=o.parent}}function Xc(e,t,n,s){const o=Ps(t,e,s,!0);la(()=>{Lr(s[t],o)},n)}function Ps(e,t,n=Le,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;sn(),St(n);const l=Qe(t,n,e,i);return Nt(),rn(),l});return s?o.unshift(r):o.push(r),r}}const pt=e=>(t,n=Le)=>(!en||e==="sp")&&Ps(e,(...s)=>t(...s),n),Yc=pt("bm"),Wr=pt("m"),Zc=pt("bu"),aa=pt("u"),Es=pt("bum"),la=pt("um"),eu=pt("sp"),tu=pt("rtg"),nu=pt("rtc");function ca(e,t=Le){Ps("ec",e,t)}const Gr="components";function su(e,t){return fa(Gr,e,!0,t)||e}const ua=Symbol.for("v-ndc");function Rs(e){return Te(e)?fa(Gr,e,!1)||e:e||ua}function fa(e,t,n=!0,s=!1){const o=Ee||Le;if(o){const r=o.type;if(e===Gr){const l=Ou(r,!1);if(l&&(l===t||l===rt(t)||l===Ns(rt(t))))return r}const i=vo(o[e]||r[e],t)||vo(o.appContext[e],t);return!i&&s?r:i}}function vo(e,t){return e&&(e[t]||e[rt(t)]||e[Ns(rt(t))])}function _t(e,t,n,s){let o;const r=n&&n[s];if(te(e)||Te(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(_e(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const a=i[l];o[l]=t(e[a],a,l,r&&r[l])}}else o=[];return n&&(n[s]=o),o}function Lt(e,t,n={},s,o){if(Ee.isCE||Ee.parent&&Qt(Ee.parent)&&Ee.parent.isCE)return t!=="default"&&(n.name=t),oe("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),Y();const i=r&&da(r(n)),l=Ne(ke,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function da(e){return e.some(t=>Mn(t)?!(t.type===Xe||t.type===ke&&!da(t.children)):!0)?e:null}const ar=e=>e?Sa(e)?Cs(e)||e.proxy:ar(e.parent):null,Nn=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ar(e.parent),$root:e=>ar(e.root),$emit:e=>e.emit,$options:e=>qr(e),$forceUpdate:e=>e.f||(e.f=()=>Ls(e.update)),$nextTick:e=>e.n||(e.n=xs.bind(e.proxy)),$watch:e=>Vc.bind(e)}),Hs=(e,t)=>e!==we&&!e.__isScriptSetup&&pe(e,t),ru={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const L=i[t];if(L!==void 0)switch(L){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Hs(s,t))return i[t]=1,s[t];if(o!==we&&pe(o,t))return i[t]=2,o[t];if((a=e.propsOptions[0])&&pe(a,t))return i[t]=3,r[t];if(n!==we&&pe(n,t))return i[t]=4,n[t];lr&&(i[t]=0)}}const d=Nn[t];let f,p;if(d)return t==="$attrs"&&De(e,"get",t),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==we&&pe(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,pe(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Hs(o,t)?(o[t]=n,!0):s!==we&&pe(s,t)?(s[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==we&&pe(e,i)||Hs(t,i)||(l=r[0])&&pe(l,i)||pe(s,i)||pe(Nn,i)||pe(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wo(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ou(e){const t=ln();let n=e();return Nt(),Ar(n)&&(n=n.catch(s=>{throw St(t),s})),[n,()=>St(t)]}let lr=!0;function iu(e){const t=qr(e),n=e.proxy,s=e.ctx;lr=!1,t.beforeCreate&&ko(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:c,inject:a,created:d,beforeMount:f,mounted:p,beforeUpdate:L,updated:y,activated:S,deactivated:E,beforeDestroy:N,beforeUnmount:v,destroyed:T,unmounted:x,render:w,renderTracked:u,renderTriggered:_,errorCaptured:g,serverPrefetch:m,expose:k,inheritAttrs:h,components:b,directives:A,filters:j}=t;if(a&&au(a,s,null),i)for(const V in i){const K=i[V];se(K)&&(s[V]=K.bind(n))}if(o){const V=o.call(n,n);_e(V)&&(e.data=dt(V))}if(lr=!0,r)for(const V in r){const K=r[V],J=se(K)?K.bind(n,n):se(K.get)?K.get.bind(n,n):et,ae=!se(K)&&se(K.set)?K.set.bind(n):et,le=ze({get:J,set:ae});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>le.value,set:ne=>le.value=ne})}if(l)for(const V in l)pa(l[V],s,n,V);if(c){const V=se(c)?c.call(n):c;Reflect.ownKeys(V).forEach(K=>{ma(K,V[K])})}d&&ko(d,e,"c");function M(V,K){te(K)?K.forEach(J=>V(J.bind(n))):K&&V(K.bind(n))}if(M(Yc,f),M(Wr,p),M(Zc,L),M(aa,y),M(ra,S),M(oa,E),M(ca,g),M(nu,u),M(tu,_),M(Es,v),M(la,x),M(eu,m),te(k))if(k.length){const V=e.exposed||(e.exposed={});k.forEach(K=>{Object.defineProperty(V,K,{get:()=>n[K],set:J=>n[K]=J})})}else e.exposed||(e.exposed={});w&&e.render===et&&(e.render=w),h!=null&&(e.inheritAttrs=h),b&&(e.components=b),A&&(e.directives=A)}function au(e,t,n=et){te(e)&&(e=cr(e));for(const s in e){const o=e[s];let r;_e(o)?"default"in o?r=Xt(o.from||s,o.default,!0):r=Xt(o.from||s):r=Xt(o),Ae(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function ko(e,t,n){Qe(te(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function pa(e,t,n,s){const o=s.includes(".")?na(n,s):()=>n[s];if(Te(e)){const r=t[e];se(r)&&ut(o,r)}else if(se(e))ut(o,e.bind(n));else if(_e(e))if(te(e))e.forEach(r=>pa(r,t,n,s));else{const r=se(e.handler)?e.handler.bind(n):t[e.handler];se(r)&&ut(o,r,e)}}function qr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(a=>is(c,a,i,!0)),is(c,t,i)),_e(t)&&r.set(t,c),c}function is(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&is(e,r,n,!0),o&&o.forEach(i=>is(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=lu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const lu={data:No,props:To,emits:To,methods:vn,computed:vn,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:vn,directives:vn,watch:uu,provide:No,inject:cu};function No(e,t){return t?e?function(){return xe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function cu(e,t){return vn(cr(e),cr(t))}function cr(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function vn(e,t){return e?xe(Object.create(null),e,t):t}function To(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:xe(Object.create(null),wo(e),wo(t??{})):t}function uu(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Ie(e[s],t[s]);return n}function ha(){return{app:null,config:{isNativeTag:Cl,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 fu=0;function du(e,t){return function(s,o=null){se(s)||(s=xe({},s)),o!=null&&!_e(o)&&(o=null);const r=ha(),i=new Set;let l=!1;const c=r.app={_uid:fu++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Pa,get config(){return r.config},set config(a){},use(a,...d){return i.has(a)||(a&&se(a.install)?(i.add(a),a.install(c,...d)):se(a)&&(i.add(a),a(c,...d))),c},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),c},component(a,d){return d?(r.components[a]=d,c):r.components[a]},directive(a,d){return d?(r.directives[a]=d,c):r.directives[a]},mount(a,d,f){if(!l){const p=oe(s,o);return p.appContext=r,d&&t?t(p,a):e(p,a,f),l=!0,c._container=a,a.__vue_app__=c,Cs(p.component)||p.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,d){return r.provides[a]=d,c},runWithContext(a){In=c;try{return a()}finally{In=null}}};return c}}let In=null;function ma(e,t){if(Le){let n=Le.provides;const s=Le.parent&&Le.parent.provides;s===n&&(n=Le.provides=Object.create(s)),n[e]=t}}function Xt(e,t,n=!1){const s=Le||Ee;if(s||In){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:In._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&se(t)?t.call(s&&s.proxy):t}}function ga(){return!!(Le||Ee||In)}function pu(e,t,n,s=!1){const o={},r={};ts(r,js,1),e.propsDefaults=Object.create(null),ya(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Ir(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function hu(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=he(o),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let p=d[f];if(Ss(e.emitsOptions,p))continue;const L=t[p];if(c)if(pe(r,p))L!==r[p]&&(r[p]=L,a=!0);else{const y=rt(p);o[y]=ur(c,l,y,L,e,!1)}else L!==r[p]&&(r[p]=L,a=!0)}}}else{ya(e,t,o,r)&&(a=!0);let d;for(const f in l)(!t||!pe(t,f)&&((d=tn(f))===f||!pe(t,d)))&&(c?n&&(n[f]!==void 0||n[d]!==void 0)&&(o[f]=ur(c,l,f,void 0,e,!0)):delete o[f]);if(r!==l)for(const f in r)(!t||!pe(t,f))&&(delete r[f],a=!0)}a&&ft(e,"set","$attrs")}function ya(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(kn(c))continue;const a=t[c];let d;o&&pe(o,d=rt(c))?!r||!r.includes(d)?n[d]=a:(l||(l={}))[d]=a:Ss(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,i=!0)}if(r){const c=he(n),a=l||we;for(let d=0;d<r.length;d++){const f=r[d];n[f]=ur(o,c,f,a[f],e,!pe(a,f))}}return i}function ur(e,t,n,s,o,r){const i=e[n];if(i!=null){const l=pe(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&se(c)){const{propsDefaults:a}=o;n in a?s=a[n]:(St(o),s=a[n]=c.call(null,t),Nt())}else s=c}i[0]&&(r&&!l?s=!1:i[1]&&(s===""||s===tn(n))&&(s=!0))}return s}function ba(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},l=[];let c=!1;if(!se(e)){const d=f=>{c=!0;const[p,L]=ba(f,t,!0);xe(i,p),L&&l.push(...L)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!c)return _e(e)&&s.set(e,qt),qt;if(te(r))for(let d=0;d<r.length;d++){const f=rt(r[d]);xo(f)&&(i[f]=we)}else if(r)for(const d in r){const f=rt(d);if(xo(f)){const p=r[d],L=i[f]=te(p)||se(p)?{type:p}:xe({},p);if(L){const y=Ao(Boolean,L.type),S=Ao(String,L.type);L[0]=y>-1,L[1]=S<0||y<S,(y>-1||pe(L,"default"))&&l.push(f)}}}const a=[i,l];return _e(e)&&s.set(e,a),a}function xo(e){return e[0]!=="$"}function Lo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function So(e,t){return Lo(e)===Lo(t)}function Ao(e,t){return te(t)?t.findIndex(n=>So(n,e)):se(t)&&So(t,e)?0:-1}const _a=e=>e[0]==="_"||e==="$stable",Vr=e=>te(e)?e.map(Ke):[Ke(e)],mu=(e,t,n)=>{if(t._n)return t;const s=Be((...o)=>Vr(t(...o)),n);return s._c=!1,s},va=(e,t,n)=>{const s=e._ctx;for(const o in e){if(_a(o))continue;const r=e[o];if(se(r))t[o]=mu(o,r,s);else if(r!=null){const i=Vr(r);t[o]=()=>i}}},wa=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},gu=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=he(t),ts(t,"_",n)):va(t,e.slots={})}else e.slots={},t&&wa(e,t);ts(e.slots,js,1)},yu=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=we;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(xe(o,t),!n&&l===1&&delete o._):(r=!t.$stable,va(t,o)),i=t}else t&&(wa(e,t),i={default:1});if(r)for(const l in o)!_a(l)&&!(l in i)&&delete o[l]};function as(e,t,n,s,o=!1){if(te(e)){e.forEach((p,L)=>as(p,t&&(te(t)?t[L]:t),n,s,o));return}if(Qt(s)&&!o)return;const r=s.shapeFlag&4?Cs(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:c}=e,a=t&&t.r,d=l.refs===we?l.refs={}:l.refs,f=l.setupState;if(a!=null&&a!==c&&(Te(a)?(d[a]=null,pe(f,a)&&(f[a]=null)):Ae(a)&&(a.value=null)),se(c))kt(c,l,12,[i,d]);else{const p=Te(c),L=Ae(c);if(p||L){const y=()=>{if(e.f){const S=p?pe(f,c)?f[c]:d[c]:c.value;o?te(S)&&Lr(S,r):te(S)?S.includes(r)||S.push(r):p?(d[c]=[r],pe(f,c)&&(f[c]=d[c])):(c.value=[r],e.k&&(d[e.k]=c.value))}else p?(d[c]=i,pe(f,c)&&(f[c]=i)):L&&(c.value=i,e.k&&(d[e.k]=i))};i?(y.id=-1,$e(y,n)):y()}}}let mt=!1;const Vn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Kn=e=>e.nodeType===8;function bu(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:l,insert:c,createComment:a}}=e,d=(N,v)=>{if(!v.hasChildNodes()){n(null,N,v),rs(),v._vnode=N;return}mt=!1,f(v.firstChild,N,null,null,null),rs(),v._vnode=N,mt&&console.error("Hydration completed but contains mismatches.")},f=(N,v,T,x,w,u=!1)=>{const _=Kn(N)&&N.data==="[",g=()=>S(N,v,T,x,w,_),{type:m,ref:k,shapeFlag:h,patchFlag:b}=v;let A=N.nodeType;v.el=N,b===-2&&(u=!1,v.dynamicChildren=null);let j=null;switch(m){case Yt:A!==3?v.children===""?(c(v.el=o(""),i(N),N),j=N):j=g():(N.data!==v.children&&(mt=!0,N.data=v.children),j=r(N));break;case Xe:A!==8||_?j=g():j=r(N);break;case Zn:if(_&&(N=r(N),A=N.nodeType),A===1||A===3){j=N;const I=!v.children.length;for(let M=0;M<v.staticCount;M++)I&&(v.children+=j.nodeType===1?j.outerHTML:j.data),M===v.staticCount-1&&(v.anchor=j),j=r(j);return _?r(j):j}else g();break;case ke:_?j=y(N,v,T,x,w,u):j=g();break;default:if(h&1)A!==1||v.type.toLowerCase()!==N.tagName.toLowerCase()?j=g():j=p(N,v,T,x,w,u);else if(h&6){v.slotScopeIds=w;const I=i(N);if(t(v,I,null,T,x,Vn(I),u),j=_?E(N):r(N),j&&Kn(j)&&j.data==="teleport end"&&(j=r(j)),Qt(v)){let M;_?(M=oe(ke),M.anchor=j?j.previousSibling:I.lastChild):M=N.nodeType===3?Re(""):oe("div"),M.el=N,v.component.subTree=M}}else h&64?A!==8?j=g():j=v.type.hydrate(N,v,T,x,w,u,e,L):h&128&&(j=v.type.hydrate(N,v,T,x,Vn(i(N)),w,u,e,f))}return k!=null&&as(k,null,x,v),j},p=(N,v,T,x,w,u)=>{u=u||!!v.dynamicChildren;const{type:_,props:g,patchFlag:m,shapeFlag:k,dirs:h}=v,b=_==="input"&&h||_==="option";if(b||m!==-1){if(h&&nt(v,null,T,"created"),g)if(b||!u||m&48)for(const j in g)(b&&j.endsWith("value")||Fn(j)&&!kn(j))&&s(N,j,null,g[j],!1,void 0,T);else g.onClick&&s(N,"onClick",null,g.onClick,!1,void 0,T);let A;if((A=g&&g.onVnodeBeforeMount)&&Ve(A,T,v),h&&nt(v,null,T,"beforeMount"),((A=g&&g.onVnodeMounted)||h)&&ea(()=>{A&&Ve(A,T,v),h&&nt(v,null,T,"mounted")},x),k&16&&!(g&&(g.innerHTML||g.textContent))){let j=L(N.firstChild,v,N,T,x,w,u);for(;j;){mt=!0;const I=j;j=j.nextSibling,l(I)}}else k&8&&N.textContent!==v.children&&(mt=!0,N.textContent=v.children)}return N.nextSibling},L=(N,v,T,x,w,u,_)=>{_=_||!!v.dynamicChildren;const g=v.children,m=g.length;for(let k=0;k<m;k++){const h=_?g[k]:g[k]=Ke(g[k]);if(N)N=f(N,h,x,w,u,_);else{if(h.type===Yt&&!h.children)continue;mt=!0,n(null,h,T,null,x,w,Vn(T),u)}}return N},y=(N,v,T,x,w,u)=>{const{slotScopeIds:_}=v;_&&(w=w?w.concat(_):_);const g=i(N),m=L(r(N),v,g,T,x,w,u);return m&&Kn(m)&&m.data==="]"?r(v.anchor=m):(mt=!0,c(v.anchor=a("]"),g,m),m)},S=(N,v,T,x,w,u)=>{if(mt=!0,v.el=null,u){const m=E(N);for(;;){const k=r(N);if(k&&k!==m)l(k);else break}}const _=r(N),g=i(N);return l(N),n(null,v,g,_,T,x,Vn(g),w),_},E=N=>{let v=0;for(;N;)if(N=r(N),N&&Kn(N)&&(N.data==="["&&v++,N.data==="]")){if(v===0)return r(N);v--}return N};return[d,f]}const $e=ea;function _u(e){return ka(e)}function vu(e){return ka(e,bu)}function ka(e,t){const n=er();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:c,setText:a,setElementText:d,parentNode:f,nextSibling:p,setScopeId:L=et,insertStaticContent:y}=e,S=(P,R,O,F=null,$=null,G=null,q=!1,U=null,W=!!R.dynamicChildren)=>{if(P===R)return;P&&!lt(P,R)&&(F=H(P),ne(P,$,G,!0),P=null),R.patchFlag===-2&&(W=!1,R.dynamicChildren=null);const{type:D,ref:Q,shapeFlag:C}=R;switch(D){case Yt:E(P,R,O,F);break;case Xe:N(P,R,O,F);break;case Zn:P==null&&v(R,O,F,q);break;case ke:b(P,R,O,F,$,G,q,U,W);break;default:C&1?w(P,R,O,F,$,G,q,U,W):C&6?A(P,R,O,F,$,G,q,U,W):(C&64||C&128)&&D.process(P,R,O,F,$,G,q,U,W,fe)}Q!=null&&$&&as(Q,P&&P.ref,G,R||P,!R)},E=(P,R,O,F)=>{if(P==null)s(R.el=l(R.children),O,F);else{const $=R.el=P.el;R.children!==P.children&&a($,R.children)}},N=(P,R,O,F)=>{P==null?s(R.el=c(R.children||""),O,F):R.el=P.el},v=(P,R,O,F)=>{[P.el,P.anchor]=y(P.children,R,O,F,P.el,P.anchor)},T=({el:P,anchor:R},O,F)=>{let $;for(;P&&P!==R;)$=p(P),s(P,O,F),P=$;s(R,O,F)},x=({el:P,anchor:R})=>{let O;for(;P&&P!==R;)O=p(P),o(P),P=O;o(R)},w=(P,R,O,F,$,G,q,U,W)=>{q=q||R.type==="svg",P==null?u(R,O,F,$,G,q,U,W):m(P,R,$,G,q,U,W)},u=(P,R,O,F,$,G,q,U)=>{let W,D;const{type:Q,props:C,shapeFlag:B,transition:z,dirs:ee}=P;if(W=P.el=i(P.type,G,C&&C.is,C),B&8?d(W,P.children):B&16&&g(P.children,W,null,F,$,G&&Q!=="foreignObject",q,U),ee&&nt(P,null,F,"created"),_(W,P,P.scopeId,q,F),C){for(const X in C)X!=="value"&&!kn(X)&&r(W,X,null,C[X],G,P.children,F,$,me);"value"in C&&r(W,"value",null,C.value),(D=C.onVnodeBeforeMount)&&Ve(D,F,P)}ee&&nt(P,null,F,"beforeMount");const Z=(!$||$&&!$.pendingBranch)&&z&&!z.persisted;Z&&z.beforeEnter(W),s(W,R,O),((D=C&&C.onVnodeMounted)||Z||ee)&&$e(()=>{D&&Ve(D,F,P),Z&&z.enter(W),ee&&nt(P,null,F,"mounted")},$)},_=(P,R,O,F,$)=>{if(O&&L(P,O),F)for(let G=0;G<F.length;G++)L(P,F[G]);if($){let G=$.subTree;if(R===G){const q=$.vnode;_(P,q,q.scopeId,q.slotScopeIds,$.parent)}}},g=(P,R,O,F,$,G,q,U,W=0)=>{for(let D=W;D<P.length;D++){const Q=P[D]=U?bt(P[D]):Ke(P[D]);S(null,Q,R,O,F,$,G,q,U)}},m=(P,R,O,F,$,G,q)=>{const U=R.el=P.el;let{patchFlag:W,dynamicChildren:D,dirs:Q}=R;W|=P.patchFlag&16;const C=P.props||we,B=R.props||we;let z;O&&Pt(O,!1),(z=B.onVnodeBeforeUpdate)&&Ve(z,O,R,P),Q&&nt(R,P,O,"beforeUpdate"),O&&Pt(O,!0);const ee=$&&R.type!=="foreignObject";if(D?k(P.dynamicChildren,D,U,O,F,ee,G):q||K(P,R,U,null,O,F,ee,G,!1),W>0){if(W&16)h(U,R,C,B,O,F,$);else if(W&2&&C.class!==B.class&&r(U,"class",null,B.class,$),W&4&&r(U,"style",C.style,B.style,$),W&8){const Z=R.dynamicProps;for(let X=0;X<Z.length;X++){const ie=Z[X],Pe=C[ie],He=B[ie];(He!==Pe||ie==="value")&&r(U,ie,Pe,He,$,P.children,O,F,me)}}W&1&&P.children!==R.children&&d(U,R.children)}else!q&&D==null&&h(U,R,C,B,O,F,$);((z=B.onVnodeUpdated)||Q)&&$e(()=>{z&&Ve(z,O,R,P),Q&&nt(R,P,O,"updated")},F)},k=(P,R,O,F,$,G,q)=>{for(let U=0;U<R.length;U++){const W=P[U],D=R[U],Q=W.el&&(W.type===ke||!lt(W,D)||W.shapeFlag&70)?f(W.el):O;S(W,D,Q,null,F,$,G,q,!0)}},h=(P,R,O,F,$,G,q)=>{if(O!==F){if(O!==we)for(const U in O)!kn(U)&&!(U in F)&&r(P,U,O[U],null,q,R.children,$,G,me);for(const U in F){if(kn(U))continue;const W=F[U],D=O[U];W!==D&&U!=="value"&&r(P,U,D,W,q,R.children,$,G,me)}"value"in F&&r(P,"value",O.value,F.value)}},b=(P,R,O,F,$,G,q,U,W)=>{const D=R.el=P?P.el:l(""),Q=R.anchor=P?P.anchor:l("");let{patchFlag:C,dynamicChildren:B,slotScopeIds:z}=R;z&&(U=U?U.concat(z):z),P==null?(s(D,O,F),s(Q,O,F),g(R.children,O,Q,$,G,q,U,W)):C>0&&C&64&&B&&P.dynamicChildren?(k(P.dynamicChildren,B,O,$,G,q,U),(R.key!=null||$&&R===$.subTree)&&Kr(P,R,!0)):K(P,R,O,Q,$,G,q,U,W)},A=(P,R,O,F,$,G,q,U,W)=>{R.slotScopeIds=U,P==null?R.shapeFlag&512?$.ctx.activate(R,O,F,q,W):j(R,O,F,$,G,q,W):I(P,R,W)},j=(P,R,O,F,$,G,q)=>{const U=P.component=Pu(P,F,$);if(Ur(P)&&(U.ctx.renderer=fe),Eu(U),U.asyncDep){if($&&$.registerDep(U,M),!P.el){const W=U.subTree=oe(Xe);N(null,W,R,O)}return}M(U,P,R,O,$,G,q)},I=(P,R,O)=>{const F=R.component=P.component;if($c(P,R,O))if(F.asyncDep&&!F.asyncResolved){V(F,R,O);return}else F.next=R,Rc(F.update),F.update();else R.el=P.el,F.vnode=R},M=(P,R,O,F,$,G,q)=>{const U=()=>{if(P.isMounted){let{next:Q,bu:C,u:B,parent:z,vnode:ee}=P,Z=Q,X;Pt(P,!1),Q?(Q.el=ee.el,V(P,Q,q)):Q=ee,C&&Fs(C),(X=Q.props&&Q.props.onVnodeBeforeUpdate)&&Ve(X,z,Q,ee),Pt(P,!0);const ie=Bs(P),Pe=P.subTree;P.subTree=ie,S(Pe,ie,f(Pe.el),H(Pe),P,$,G),Q.el=ie.el,Z===null&&Br(P,ie.el),B&&$e(B,$),(X=Q.props&&Q.props.onVnodeUpdated)&&$e(()=>Ve(X,z,Q,ee),$)}else{let Q;const{el:C,props:B}=R,{bm:z,m:ee,parent:Z}=P,X=Qt(R);if(Pt(P,!1),z&&Fs(z),!X&&(Q=B&&B.onVnodeBeforeMount)&&Ve(Q,Z,R),Pt(P,!0),C&&Ye){const ie=()=>{P.subTree=Bs(P),Ye(C,P.subTree,P,$,null)};X?R.type.__asyncLoader().then(()=>!P.isUnmounted&&ie()):ie()}else{const ie=P.subTree=Bs(P);S(null,ie,O,F,P,$,G),R.el=ie.el}if(ee&&$e(ee,$),!X&&(Q=B&&B.onVnodeMounted)){const ie=R;$e(()=>Ve(Q,Z,ie),$)}(R.shapeFlag&256||Z&&Qt(Z.vnode)&&Z.vnode.shapeFlag&256)&&P.a&&$e(P.a,$),P.isMounted=!0,R=O=F=null}},W=P.effect=new Rr(U,()=>Ls(D),P.scope),D=P.update=()=>W.run();D.id=P.uid,Pt(P,!0),D()},V=(P,R,O)=>{R.component=P;const F=P.vnode.props;P.vnode=R,P.next=null,hu(P,R.props,F,O),yu(P,R.children,O),sn(),go(),rn()},K=(P,R,O,F,$,G,q,U,W=!1)=>{const D=P&&P.children,Q=P?P.shapeFlag:0,C=R.children,{patchFlag:B,shapeFlag:z}=R;if(B>0){if(B&128){ae(D,C,O,F,$,G,q,U,W);return}else if(B&256){J(D,C,O,F,$,G,q,U,W);return}}z&8?(Q&16&&me(D,$,G),C!==D&&d(O,C)):Q&16?z&16?ae(D,C,O,F,$,G,q,U,W):me(D,$,G,!0):(Q&8&&d(O,""),z&16&&g(C,O,F,$,G,q,U,W))},J=(P,R,O,F,$,G,q,U,W)=>{P=P||qt,R=R||qt;const D=P.length,Q=R.length,C=Math.min(D,Q);let B;for(B=0;B<C;B++){const z=R[B]=W?bt(R[B]):Ke(R[B]);S(P[B],z,O,null,$,G,q,U,W)}D>Q?me(P,$,G,!0,!1,C):g(R,O,F,$,G,q,U,W,C)},ae=(P,R,O,F,$,G,q,U,W)=>{let D=0;const Q=R.length;let C=P.length-1,B=Q-1;for(;D<=C&&D<=B;){const z=P[D],ee=R[D]=W?bt(R[D]):Ke(R[D]);if(lt(z,ee))S(z,ee,O,null,$,G,q,U,W);else break;D++}for(;D<=C&&D<=B;){const z=P[C],ee=R[B]=W?bt(R[B]):Ke(R[B]);if(lt(z,ee))S(z,ee,O,null,$,G,q,U,W);else break;C--,B--}if(D>C){if(D<=B){const z=B+1,ee=z<Q?R[z].el:F;for(;D<=B;)S(null,R[D]=W?bt(R[D]):Ke(R[D]),O,ee,$,G,q,U,W),D++}}else if(D>B)for(;D<=C;)ne(P[D],$,G,!0),D++;else{const z=D,ee=D,Z=new Map;for(D=ee;D<=B;D++){const Ue=R[D]=W?bt(R[D]):Ke(R[D]);Ue.key!=null&&Z.set(Ue.key,D)}let X,ie=0;const Pe=B-ee+1;let He=!1,un=0;const fn=new Array(Pe);for(D=0;D<Pe;D++)fn[D]=0;for(D=z;D<=C;D++){const Ue=P[D];if(ie>=Pe){ne(Ue,$,G,!0);continue}let tt;if(Ue.key!=null)tt=Z.get(Ue.key);else for(X=ee;X<=B;X++)if(fn[X-ee]===0&&lt(Ue,R[X])){tt=X;break}tt===void 0?ne(Ue,$,G,!0):(fn[tt-ee]=D+1,tt>=un?un=tt:He=!0,S(Ue,R[tt],O,null,$,G,q,U,W),ie++)}const ro=He?wu(fn):qt;for(X=ro.length-1,D=Pe-1;D>=0;D--){const Ue=ee+D,tt=R[Ue],oo=Ue+1<Q?R[Ue+1].el:F;fn[D]===0?S(null,tt,O,oo,$,G,q,U,W):He&&(X<0||D!==ro[X]?le(tt,O,oo,2):X--)}}},le=(P,R,O,F,$=null)=>{const{el:G,type:q,transition:U,children:W,shapeFlag:D}=P;if(D&6){le(P.component.subTree,R,O,F);return}if(D&128){P.suspense.move(R,O,F);return}if(D&64){q.move(P,R,O,fe);return}if(q===ke){s(G,R,O);for(let C=0;C<W.length;C++)le(W[C],R,O,F);s(P.anchor,R,O);return}if(q===Zn){T(P,R,O);return}if(F!==2&&D&1&&U)if(F===0)U.beforeEnter(G),s(G,R,O),$e(()=>U.enter(G),$);else{const{leave:C,delayLeave:B,afterLeave:z}=U,ee=()=>s(G,R,O),Z=()=>{C(G,()=>{ee(),z&&z()})};B?B(G,ee,Z):Z()}else s(G,R,O)},ne=(P,R,O,F=!1,$=!1)=>{const{type:G,props:q,ref:U,children:W,dynamicChildren:D,shapeFlag:Q,patchFlag:C,dirs:B}=P;if(U!=null&&as(U,null,O,P,!0),Q&256){R.ctx.deactivate(P);return}const z=Q&1&&B,ee=!Qt(P);let Z;if(ee&&(Z=q&&q.onVnodeBeforeUnmount)&&Ve(Z,R,P),Q&6)ue(P.component,O,F);else{if(Q&128){P.suspense.unmount(O,F);return}z&&nt(P,null,R,"beforeUnmount"),Q&64?P.type.remove(P,R,O,$,fe,F):D&&(G!==ke||C>0&&C&64)?me(D,R,O,!1,!0):(G===ke&&C&384||!$&&Q&16)&&me(W,R,O),F&&ce(P)}(ee&&(Z=q&&q.onVnodeUnmounted)||z)&&$e(()=>{Z&&Ve(Z,R,P),z&&nt(P,null,R,"unmounted")},O)},ce=P=>{const{type:R,el:O,anchor:F,transition:$}=P;if(R===ke){de(O,F);return}if(R===Zn){x(P);return}const G=()=>{o(O),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(P.shapeFlag&1&&$&&!$.persisted){const{leave:q,delayLeave:U}=$,W=()=>q(O,G);U?U(P.el,G,W):W()}else G()},de=(P,R)=>{let O;for(;P!==R;)O=p(P),o(P),P=O;o(R)},ue=(P,R,O)=>{const{bum:F,scope:$,update:G,subTree:q,um:U}=P;F&&Fs(F),$.stop(),G&&(G.active=!1,ne(q,P,R,O)),U&&$e(U,R),$e(()=>{P.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},me=(P,R,O,F=!1,$=!1,G=0)=>{for(let q=G;q<P.length;q++)ne(P[q],R,O,F,$)},H=P=>P.shapeFlag&6?H(P.component.subTree):P.shapeFlag&128?P.suspense.next():p(P.anchor||P.el),ve=(P,R,O)=>{P==null?R._vnode&&ne(R._vnode,null,null,!0):S(R._vnode||null,P,R,null,null,null,O),go(),rs(),R._vnode=P},fe={p:S,um:ne,m:le,r:ce,mt:j,mc:g,pc:K,pbc:k,n:H,o:e};let je,Ye;return t&&([je,Ye]=t(fe)),{render:ve,hydrate:je,createApp:du(ve,je)}}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Kr(e,t,n=!1){const s=e.children,o=t.children;if(te(s)&&te(o))for(let r=0;r<s.length;r++){const i=s[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=bt(o[r]),l.el=i.el),n||Kr(i,l)),l.type===Yt&&(l.el=i.el)}}function wu(e){const t=e.slice(),n=[0];let s,o,r,i,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(o=n[n.length-1],e[o]<a){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<a?r=l+1:i=l;a<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const ku=e=>e.__isTeleport,Tn=e=>e&&(e.disabled||e.disabled===""),Po=e=>typeof SVGElement<"u"&&e instanceof SVGElement,fr=(e,t)=>{const n=e&&e.to;return Te(n)?t?t(n):null:n},Nu={__isTeleport:!0,process(e,t,n,s,o,r,i,l,c,a){const{mc:d,pc:f,pbc:p,o:{insert:L,querySelector:y,createText:S,createComment:E}}=a,N=Tn(t.props);let{shapeFlag:v,children:T,dynamicChildren:x}=t;if(e==null){const w=t.el=S(""),u=t.anchor=S("");L(w,n,s),L(u,n,s);const _=t.target=fr(t.props,y),g=t.targetAnchor=S("");_&&(L(g,_),i=i||Po(_));const m=(k,h)=>{v&16&&d(T,k,h,o,r,i,l,c)};N?m(n,u):_&&m(_,g)}else{t.el=e.el;const w=t.anchor=e.anchor,u=t.target=e.target,_=t.targetAnchor=e.targetAnchor,g=Tn(e.props),m=g?n:u,k=g?w:_;if(i=i||Po(u),x?(p(e.dynamicChildren,x,m,o,r,i,l),Kr(e,t,!0)):c||f(e,t,m,k,o,r,i,l,!1),N)g||zn(t,n,w,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const h=t.target=fr(t.props,y);h&&zn(t,h,null,a,0)}else g&&zn(t,u,_,a,1)}Na(t)},remove(e,t,n,s,{um:o,o:{remove:r}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:d,target:f,props:p}=e;if(f&&r(d),(i||!Tn(p))&&(r(a),l&16))for(let L=0;L<c.length;L++){const y=c[L];o(y,t,n,!0,!!y.dynamicChildren)}},move:zn,hydrate:Tu};function zn(e,t,n,{o:{insert:s},m:o},r=2){r===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:d}=e,f=r===2;if(f&&s(i,t,n),(!f||Tn(d))&&c&16)for(let p=0;p<a.length;p++)o(a[p],t,n,2);f&&s(l,t,n)}function Tu(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:l,querySelector:c}},a){const d=t.target=fr(t.props,c);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Tn(t.props))t.anchor=a(i(e),t,l(e),n,s,o,r),t.targetAnchor=f;else{t.anchor=i(e);let p=f;for(;p;)if(p=i(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(f,t,d,n,s,o,r)}Na(t)}return t.anchor&&i(t.anchor)}const xu=Nu;function Na(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const ke=Symbol.for("v-fgt"),Yt=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),xn=[];let Je=null;function Y(e=!1){xn.push(Je=e?null:[])}function Ta(){xn.pop(),Je=xn[xn.length-1]||null}let Zt=1;function Eo(e){Zt+=e}function xa(e){return e.dynamicChildren=Zt>0?Je||qt:null,Ta(),Zt>0&&Je&&Je.push(e),e}function ye(e,t,n,s,o,r){return xa(re(e,t,n,s,o,r,!0))}function Ne(e,t,n,s,o){return xa(oe(e,t,n,s,o,!0))}function Mn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const js="__vInternal",La=({key:e})=>e??null,es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||Ae(e)||se(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function re(e,t=null,n=null,s=0,o=null,r=e===ke?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&La(t),ref:t&&es(t),scopeId:As,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ee};return l?(Jr(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=Te(n)?8:16),Zt>0&&!i&&Je&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Je.push(c),c}const oe=Lu;function Lu(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===ua)&&(e=Xe),Mn(e)){const l=Ft(e,t,!0);return n&&Jr(l,n),Zt>0&&!r&&Je&&(l.shapeFlag&6?Je[Je.indexOf(e)]=l:Je.push(l)),l.patchFlag|=-2,l}if(Iu(e)&&(e=e.__vccOpts),t){t=zr(t);let{class:l,style:c}=t;l&&!Te(l)&&(t.class=Tt(l)),_e(c)&&(Ui(c)&&!te(c)&&(c=xe({},c)),t.style=nn(c))}const i=Te(e)?1:Fc(e)?128:ku(e)?64:_e(e)?4:se(e)?2:0;return re(e,t,n,s,o,i,r,!0)}function zr(e){return e?Ui(e)||js in e?xe({},e):e:null}function Ft(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?an(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&La(l),ref:t&&t.ref?n&&o?te(o)?o.concat(es(t)):[o,es(t)]:es(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ke?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Re(e=" ",t=0){return oe(Yt,null,e,t)}function Ge(e="",t=!1){return t?(Y(),Ne(Xe,null,e)):oe(Xe,null,e)}function Ke(e){return e==null||typeof e=="boolean"?oe(Xe):te(e)?oe(ke,null,e.slice()):typeof e=="object"?bt(e):oe(Yt,null,String(e))}function bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function Jr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Jr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(js in t)?t._ctx=Ee:o===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),s&64?(n=16,t=[Re(t)]):n=8);e.children=t,e.shapeFlag|=n}function an(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Tt([t.class,s.class]));else if(o==="style")t.style=nn([t.style,s.style]);else if(Fn(o)){const r=t[o],i=s[o];i&&r!==i&&!(te(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function Ve(e,t,n,s=null){Qe(e,t,7,[n,s])}const Su=ha();let Au=0;function Pu(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Su,r={uid:Au++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ba(s,o),emitsOptions:Zi(s,o),emit:null,emitted:null,propsDefaults:we,inheritAttrs:s.inheritAttrs,ctx:we,data:we,props:we,attrs:we,slots:we,refs:we,setupState:we,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Cc.bind(null,r),e.ce&&e.ce(r),r}let Le=null;const ln=()=>Le||Ee;let Qr,Ut,Ro="__VUE_INSTANCE_SETTERS__";(Ut=er()[Ro])||(Ut=er()[Ro]=[]),Ut.push(e=>Le=e),Qr=e=>{Ut.length>1?Ut.forEach(t=>t(e)):Ut[0](e)};const St=e=>{Qr(e),e.scope.on()},Nt=()=>{Le&&Le.scope.off(),Qr(null)};function Sa(e){return e.vnode.shapeFlag&4}let en=!1;function Eu(e,t=!1){en=t;const{props:n,children:s}=e.vnode,o=Sa(e);pu(e,n,o,t),gu(e,s);const r=o?Ru(e,t):void 0;return en=!1,r}function Ru(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wi(new Proxy(e.ctx,ru));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Cu(e):null;St(e),sn();const r=kt(s,e,0,[e.props,o]);if(rn(),Nt(),Ar(r)){if(r.then(Nt,Nt),t)return r.then(i=>{dr(e,i,t)}).catch(i=>{on(i,e,0)});e.asyncDep=r}else dr(e,r,t)}else Aa(e,t)}function dr(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Ki(t)),Aa(e,n)}let jo;function Aa(e,t,n){const s=e.type;if(!e.render){if(!t&&jo&&!s.render){const o=s.template||qr(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=xe(xe({isCustomElement:r,delimiters:l},i),c);s.render=jo(o,a)}}e.render=s.render||et}St(e),sn(),iu(e),rn(),Nt()}function ju(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return De(e,"get","$attrs"),t[n]}}))}function Cu(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ju(e)},slots:e.slots,emit:e.emit,expose:t}}function Cs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ki(Wi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nn)return Nn[n](e)},has(t,n){return n in t||n in Nn}}))}function Ou(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function Iu(e){return se(e)&&"__vccOpts"in e}const ze=(e,t)=>Ac(e,t,en);function $n(e,t,n){const s=arguments.length;return s===2?_e(t)&&!te(t)?Mn(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Mn(n)&&(n=[n]),oe(e,t,n))}const Mu=Symbol.for("v-scx"),$u=()=>Xt(Mu),Pa="3.3.4",Fu="http://www.w3.org/2000/svg",jt=typeof document<"u"?document:null,Co=jt&&jt.createElement("template"),Bu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?jt.createElementNS(Fu,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Co.innerHTML=s?`<svg>${e}</svg>`:e;const l=Co.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Du(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Hu(e,t,n){const s=e.style,o=Te(n);if(n&&!o){if(t&&!Te(t))for(const r in t)n[r]==null&&pr(s,r,"");for(const r in n)pr(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Oo=/\s*!important$/;function pr(e,t,n){if(te(n))n.forEach(s=>pr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Uu(e,t);Oo.test(n)?e.setProperty(tn(s),n.replace(Oo,""),"important"):e[s]=n}}const Io=["Webkit","Moz","ms"],Us={};function Uu(e,t){const n=Us[t];if(n)return n;let s=rt(t);if(s!=="filter"&&s in e)return Us[t]=s;s=Ns(s);for(let o=0;o<Io.length;o++){const r=Io[o]+s;if(r in e)return Us[t]=r}return t}const Mo="http://www.w3.org/1999/xlink";function Wu(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Mo,t.slice(6,t.length)):e.setAttributeNS(Mo,t,n);else{const r=ql(t);n==null||r&&!Ai(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function Gu(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";a!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Ai(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function qu(e,t,n,s){e.addEventListener(t,n,s)}function Vu(e,t,n,s){e.removeEventListener(t,n,s)}function Ku(e,t,n,s,o=null){const r=e._vei||(e._vei={}),i=r[t];if(s&&i)i.value=s;else{const[l,c]=zu(t);if(s){const a=r[t]=Xu(s,o);qu(e,l,a,c)}else i&&(Vu(e,l,i,c),r[t]=void 0)}}const $o=/(?:Once|Passive|Capture)$/;function zu(e){let t;if($o.test(e)){t={};let s;for(;s=e.match($o);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tn(e.slice(2)),t]}let Ws=0;const Ju=Promise.resolve(),Qu=()=>Ws||(Ju.then(()=>Ws=0),Ws=Date.now());function Xu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(Yu(s,n.value),t,5,[s])};return n.value=e,n.attached=Qu(),n}function Yu(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Fo=/^on[a-z]/,Zu=(e,t,n,s,o=!1,r,i,l,c)=>{t==="class"?Du(e,s,o):t==="style"?Hu(e,n,s):Fn(t)?xr(t)||Ku(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ef(e,t,s,o))?Gu(e,t,s,r,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Wu(e,t,s,o))};function ef(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Fo.test(t)&&se(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Fo.test(t)&&Te(n)?!1:t in e}const gt="transition",dn="animation",Ea={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tf=xe({},Jc,Ea),Et=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Bo=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function nf(e){const t={};for(const b in e)b in Ea||(t[b]=e[b]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:L=`${n}-leave-to`}=e,y=sf(o),S=y&&y[0],E=y&&y[1],{onBeforeEnter:N,onEnter:v,onEnterCancelled:T,onLeave:x,onLeaveCancelled:w,onBeforeAppear:u=N,onAppear:_=v,onAppearCancelled:g=T}=t,m=(b,A,j)=>{yt(b,A?d:l),yt(b,A?a:i),j&&j()},k=(b,A)=>{b._isLeaving=!1,yt(b,f),yt(b,L),yt(b,p),A&&A()},h=b=>(A,j)=>{const I=b?_:v,M=()=>m(A,b,j);Et(I,[A,M]),Do(()=>{yt(A,b?c:r),it(A,b?d:l),Bo(I)||Ho(A,s,S,M)})};return xe(t,{onBeforeEnter(b){Et(N,[b]),it(b,r),it(b,i)},onBeforeAppear(b){Et(u,[b]),it(b,c),it(b,a)},onEnter:h(!1),onAppear:h(!0),onLeave(b,A){b._isLeaving=!0;const j=()=>k(b,A);it(b,f),ja(),it(b,p),Do(()=>{b._isLeaving&&(yt(b,f),it(b,L),Bo(x)||Ho(b,s,E,j))}),Et(x,[b,j])},onEnterCancelled(b){m(b,!1),Et(T,[b])},onAppearCancelled(b){m(b,!0),Et(g,[b])},onLeaveCancelled(b){k(b),Et(w,[b])}})}function sf(e){if(e==null)return null;if(_e(e))return[Gs(e.enter),Gs(e.leave)];{const t=Gs(e);return[t,t]}}function Gs(e){return Li(e)}function it(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function yt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Do(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rf=0;function Ho(e,t,n,s){const o=e._endId=++rf,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:c}=Ra(e,t);if(!i)return s();const a=i+"end";let d=0;const f=()=>{e.removeEventListener(a,p),r()},p=L=>{L.target===e&&++d>=c&&f()};setTimeout(()=>{d<c&&f()},l+1),e.addEventListener(a,p)}function Ra(e,t){const n=window.getComputedStyle(e),s=y=>(n[y]||"").split(", "),o=s(`${gt}Delay`),r=s(`${gt}Duration`),i=Uo(o,r),l=s(`${dn}Delay`),c=s(`${dn}Duration`),a=Uo(l,c);let d=null,f=0,p=0;t===gt?i>0&&(d=gt,f=i,p=r.length):t===dn?a>0&&(d=dn,f=a,p=c.length):(f=Math.max(i,a),d=f>0?i>a?gt:dn:null,p=d?d===gt?r.length:c.length:0);const L=d===gt&&/\b(transform|all)(,|$)/.test(s(`${gt}Property`).toString());return{type:d,timeout:f,propCount:p,hasTransform:L}}function Uo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Wo(n)+Wo(e[s])))}function Wo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ja(){return document.body.offsetHeight}const Ca=new WeakMap,Oa=new WeakMap,Ia={name:"TransitionGroup",props:xe({},tf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ln(),s=zc();let o,r;return aa(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!ff(o[0].el,n.vnode.el,i))return;o.forEach(lf),o.forEach(cf);const l=o.filter(uf);ja(),l.forEach(c=>{const a=c.el,d=a.style;it(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const f=a._moveCb=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",f),a._moveCb=null,yt(a,i))};a.addEventListener("transitionend",f)})}),()=>{const i=he(e),l=nf(i);let c=i.tag||ke;o=r,r=t.default?sa(t.default()):[];for(let a=0;a<r.length;a++){const d=r[a];d.key!=null&&ir(d,or(d,l,s,n))}if(o)for(let a=0;a<o.length;a++){const d=o[a];ir(d,or(d,l,s,n)),Ca.set(d,d.el.getBoundingClientRect())}return oe(c,null,r)}}},of=e=>delete e.mode;Ia.props;const af=Ia;function lf(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function cf(e){Oa.set(e,e.el.getBoundingClientRect())}function uf(e){const t=Ca.get(e),n=Oa.get(e),s=t.left-n.left,o=t.top-n.top;if(s||o){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",e}}function ff(e,t,n){const s=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:r}=Ra(s);return o.removeChild(s),r}const df=["ctrl","shift","alt","meta"],pf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>df.some(n=>e[`${n}Key`]&&!t.includes(n))},hf=(e,t)=>(n,...s)=>{for(let o=0;o<t.length;o++){const r=pf[t[o]];if(r&&r(n,t))return}return e(n,...s)},mf={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),pn(e,!0),s.enter(e)):s.leave(e,()=>{pn(e,!1)}):pn(e,t))},beforeUnmount(e,{value:t}){pn(e,t)}};function pn(e,t){e.style.display=t?e._vod:"none"}const Ma=xe({patchProp:Zu},Bu);let Ln,Go=!1;function gf(){return Ln||(Ln=_u(Ma))}function yf(){return Ln=Go?Ln:vu(Ma),Go=!0,Ln}const bf=(...e)=>{const t=gf().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=$a(s);if(!o)return;const r=t._component;!se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},_f=(...e)=>{const t=yf().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=$a(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function $a(e){return Te(e)?document.querySelector(e):e}const vf=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,wf=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kf=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Nf(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Tf(e);return}return t}function Tf(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function xf(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s!=="undefined"){if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY;if(!kf.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(vf.test(e)||wf.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Nf)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}}const Lf=/#/g,Sf=/&/g,Af=/=/g,Xr=/\+/g,Pf=/%5e/gi,Ef=/%60/gi,Rf=/%7c/gi,jf=/%20/gi;function Cf(e){return encodeURI(""+e).replace(Rf,"|")}function hr(e){return Cf(typeof e=="string"?e:JSON.stringify(e)).replace(Xr,"%2B").replace(jf,"+").replace(Lf,"%23").replace(Sf,"%26").replace(Ef,"`").replace(Pf,"^")}function qs(e){return hr(e).replace(Af,"%3D")}function ls(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Of(e){return ls(e.replace(Xr," "))}function If(e){return ls(e.replace(Xr," "))}function Os(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=Of(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=If(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function Mf(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${qs(e)}=${hr(n)}`).join("&"):`${qs(e)}=${hr(t)}`:qs(e)}function Fa(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Mf(t,e[t])).filter(Boolean).join("&")}const $f=/^\w{2,}:([/\\]{1,2})/,Ff=/^\w{2,}:([/\\]{2})?/,Bf=/^([/\\]\s*){2,}[^/\\]/;function Bn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?$f.test(e):Ff.test(e)||(t.acceptRelative?Bf.test(e):!1)}const Df=/\/$|\/\?/;function mr(e="",t=!1){return t?Df.test(e):e.endsWith("/")}function Yr(e="",t=!1){if(!t)return(mr(e)?e.slice(0,-1):e)||"/";if(!mr(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function cs(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(mr(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}function Hf(e=""){return e.startsWith("/")}function qo(e=""){return Hf(e)?e:"/"+e}function Uf(e,t){if(Da(t)||Bn(e))return e;const n=Yr(t);return e.startsWith(n)?e:cn(n,e)}function Wf(e,t){if(Da(t))return e;const n=Yr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Ba(e,t){const n=Dt(e),s={...Os(n.search),...t};return n.search=Fa(s),Ha(n)}function Gf(e){return Os(Dt(e).search)}function Da(e){return!e||e==="/"}function qf(e){return e&&e!=="/"}const Vf=/^\.?\//;function cn(e,...t){let n=e||"";for(const s of t.filter(o=>qf(o)))if(n){const o=s.replace(Vf,"");n=cs(n)+o}else n=s;return n}function Kf(e,t,n={}){return n.trailingSlash||(e=cs(e),t=cs(t)),n.leadingSlash||(e=qo(e),t=qo(t)),n.encoding||(e=ls(e),t=ls(t)),e===t}function Dt(e="",t){if(!Bn(e,{acceptRelative:!0}))return t?Dt(t+e):Vo(e);const[n="",s,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[r="",i=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:l,search:c,hash:a}=Vo(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:r,pathname:l,search:c,hash:a}}function Vo(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function Ha(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class zf extends Error{constructor(){super(...arguments),this.name="FetchError"}}function Jf(e,t,n){let s="";t&&(s=t.message),e&&n?s=`${s} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(s=`${s} (${e.toString()})`);const o=new zf(s);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return n}}),Object.defineProperty(o,"data",{get(){return n&&n._data}}),Object.defineProperty(o,"status",{get(){return n&&n.status}}),Object.defineProperty(o,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(o,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(o,"statusMessage",{get(){return n&&n.statusText}}),o}const Qf=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ko(e="GET"){return Qf.has(e.toUpperCase())}function Xf(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Yf=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Zf=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ed(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Zf.test(t)?"json":Yf.has(t)||t.startsWith("text/")?"text":"blob"}function td(e,t,n=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new n((t==null?void 0:t.headers)||{});for(const[o,r]of new n((e==null?void 0:e.headers)||{}))s.headers.set(o,r)}return s}const nd=new Set([408,409,425,429,500,502,503,504]);function Ua(e){const{fetch:t,Headers:n}=e;function s(i){const l=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!l){let a;typeof i.options.retry=="number"?a=i.options.retry:a=Ko(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(a>0&&nd.has(d))return o(i.request,{...i.options,retry:a-1})}const c=Jf(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const a={request:l,options:td(c,e.defaults,n),response:void 0,error:void 0};a.options.onRequest&&await a.options.onRequest(a),typeof a.request=="string"&&(a.options.baseURL&&(a.request=Uf(a.request,a.options.baseURL)),(a.options.query||a.options.params)&&(a.request=Ba(a.request,{...a.options.params,...a.options.query})),a.options.body&&Ko(a.options.method)&&Xf(a.options.body)&&(a.options.body=typeof a.options.body=="string"?a.options.body:JSON.stringify(a.options.body),a.options.headers=new n(a.options.headers||{}),a.options.headers.has("content-type")||a.options.headers.set("content-type","application/json"),a.options.headers.has("accept")||a.options.headers.set("accept","application/json")));try{a.response=await t(a.request,a.options)}catch(f){return a.error=f,a.options.onRequestError&&await a.options.onRequestError(a),await s(a)}const d=(a.options.parseResponse?"json":a.options.responseType)||ed(a.response.headers.get("content-type")||"");if(d==="json"){const f=await a.response.text(),p=a.options.parseResponse||xf;a.response._data=p(f)}else d==="stream"?a.response._data=a.response.body:a.response._data=await a.response[d]();return a.options.onResponse&&await a.options.onResponse(a),!a.options.ignoreResponseError&&a.response.status>=400&&a.response.status<600?(a.options.onResponseError&&await a.options.onResponseError(a),await s(a)):a.response},r=async function(l,c){return(await o(l,c))._data};return r.raw=o,r.native=t,r.create=(i={})=>Ua({...e,defaults:{...e.defaults,...i}}),r}const Wa=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),sd=Wa.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),rd=Wa.Headers,od=Ua({fetch:sd,Headers:rd}),id=od,ad=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},us=ad().app,ld=()=>us.baseURL,cd=()=>us.buildAssetsDir,ud=(...e)=>cn(Ga(),cd(),...e),Ga=(...e)=>{const t=us.cdnURL||us.baseURL;return e.length?cn(t,...e):t};globalThis.__buildAssetsURL=ud,globalThis.__publicAssetsURL=Ga;function gr(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?gr(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const fd={run:e=>e()},dd=()=>fd,qa=typeof console.createTask<"u"?console.createTask:dd;function pd(e,t){const n=t.shift(),s=qa(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function hd(e,t){const n=t.shift(),s=qa(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Vs(e,t){for(const n of[...e])n(t)}class md{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=gr(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=gr(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(pd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(hd,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Vs(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Vs(this._after,o)}):(this._after&&o&&Vs(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Va(){return new md}function gd(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),set:(i,l)=>{l||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{s(i),t=i;try{return o?o.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const c=()=>{t=i},a=()=>t===i?c:void 0;yr.add(a);try{const d=o?o.run(i,l):l();return n||(t=void 0),await d}finally{yr.delete(a)}}}}function yd(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=gd({...e,...s})),t[n],t[n]}}}const fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},zo="__unctx__",bd=fs[zo]||(fs[zo]=yd()),_d=(e,t={})=>bd.get(e,t),Jo="__unctx_async_handlers__",yr=fs[Jo]||(fs[Jo]=new Set);function vd(e){const t=[];for(const o of yr){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const Ka=_d("nuxt-app"),wd="__nuxt_plugin";function kd(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.5"},get vue(){return n.vueApp.version}},payload:dt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>xd(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Va(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,r)=>{const i="$"+o;Jn(n,i,r),Jn(n.vueApp.config.globalProperties,i,r)},Jn(n.vueApp,"$nuxt",n),Jn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||Se;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=dt(n.payload.config);return n.provide("config",s),n}async function Nd(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Td(e,t){const n=[],s=[];for(const o of t){const r=Nd(e,o);o.parallel?n.push(r.catch(i=>s.push(i))):await r}if(await Promise.all(n),s.length)throw s[0]}/*! @__NO_SIDE_EFFECTS__ */function At(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[wd]:!0}))}function xd(e,t,n){const s=()=>n?t(...n):t();return Ka.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function Se(){var t;let e;if(ga()&&(e=(t=ln())==null?void 0:t.appContext.app.$nuxt),e=e||Ka.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function ds(){return Se().$config}function Jn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Ld="modulepreload",Sd=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},Qo={},Ad=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Sd(r,s),r in Qo)return;Qo[r]=!0;const i=r.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const f=o[d];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${l}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":Ld,i||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),i)return new Promise((d,f)=>{a.addEventListener("load",d),a.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},br=(...e)=>Ad(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Pd=-1,Ed=-2,Rd=-3,jd=-4,Cd=-5,Od=-6;function Id(e,t){return Md(JSON.parse(e),t)}function Md(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function o(r,i=!1){if(r===Pd)return;if(r===Rd)return NaN;if(r===jd)return 1/0;if(r===Cd)return-1/0;if(r===Od)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const l=n[r];if(!l||typeof l!="object")s[r]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const c=l[0],a=t==null?void 0:t[c];if(a)return s[r]=a(o(l[1]));switch(c){case"Date":s[r]=new Date(l[1]);break;case"Set":const d=new Set;s[r]=d;for(let L=1;L<l.length;L+=1)d.add(o(l[L]));break;case"Map":const f=new Map;s[r]=f;for(let L=1;L<l.length;L+=2)f.set(o(l[L]),o(l[L+1]));break;case"RegExp":s[r]=new RegExp(l[1],l[2]);break;case"Object":s[r]=Object(l[1]);break;case"BigInt":s[r]=BigInt(l[1]);break;case"null":const p=Object.create(null);s[r]=p;for(let L=1;L<l.length;L+=2)p[l[L]]=o(l[L+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(l.length);s[r]=c;for(let a=0;a<l.length;a+=1){const d=l[a];d!==Ed&&(c[a]=o(d))}}else{const c={};s[r]=c;for(const a in l){const d=l[a];c[a]=o(d)}}return s[r]}return o(0)}function $d(e){return Array.isArray(e)?e:[e]}const za=["title","script","style","noscript"],Ja=["base","meta","link","style","script","noscript"],Fd=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Bd=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Xo=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function Qa(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function _r(e){return Qa(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Dd(e){let t=9;for(const n of e)for(let s=0;s<n.length;)t=Math.imul(t^n.charCodeAt(s++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Xa(e,t){const{props:n,tag:s}=e;if(Bd.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];s==="meta"&&o.push("name","property","http-equiv");for(const r of o)if(typeof n[r]<"u"){const i=String(n[r]);return t&&!t(i)?!1:`${s}:${r}:${i}`}return!1}function Yo(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Qn(e,t=!1,n){const{tag:s,$el:o}=e;o&&(Object.entries(s.props).forEach(([r,i])=>{i=String(i);const l=`attr:${r}`;if(r==="class"){if(!i)return;for(const c of i.split(" ")){const a=`${l}:${c}`;n&&n(e,a,()=>o.classList.remove(c)),o.classList.contains(c)||o.classList.add(c)}return}n&&!r.startsWith("data-h-")&&n(e,l,()=>o.removeAttribute(r)),(t||o.getAttribute(r)!==i)&&o.setAttribute(r,i)}),za.includes(s.tag)&&(s.textContent&&s.textContent!==o.textContent?o.textContent=s.textContent:s.innerHTML&&s.innerHTML!==o.innerHTML&&(o.innerHTML=s.innerHTML)))}let hn=!1;async function Hd(e,t={}){var p,L;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const s=t.document||e.resolvedOptions.document||window.document,o=(await e.resolveTags()).map(l);if(e.resolvedOptions.experimentalHashHydration&&(hn=hn||e._hash||!1,hn)){const y=Dd(o.map(S=>S.tag._h));if(hn===y)return;hn=y}const r=e._popSideEffectQueue();e.headEntries().map(y=>y._sde).forEach(y=>{Object.entries(y).forEach(([S,E])=>{r[S]=E})});const i=(y,S,E)=>{S=`${y.renderId}:${S}`,y.entry&&(y.entry._sde[S]=E),delete r[S]};function l(y){const S=e.headEntries().find(N=>N._i===y._e),E={renderId:y._d||_r(y),$el:null,shouldRender:!0,tag:y,entry:S,markSideEffect:(N,v)=>i(E,N,v)};return E}const c=[],a={body:[],head:[]},d=y=>{e._elMap[y.renderId]=y.$el,c.push(y),i(y,"el",()=>{var S;(S=y.$el)==null||S.remove(),delete e._elMap[y.renderId]})};for(const y of o){if(await e.hooks.callHook("dom:beforeRenderTag",y),!y.shouldRender)continue;const{tag:S}=y;if(S.tag==="title"){s.title=S.textContent||"",c.push(y);continue}if(S.tag==="htmlAttrs"||S.tag==="bodyAttrs"){y.$el=s[S.tag==="htmlAttrs"?"documentElement":"body"],Qn(y,!1,i),c.push(y);continue}if(y.$el=e._elMap[y.renderId],!y.$el&&S.key&&(y.$el=s.querySelector(`${(p=S.tagPosition)!=null&&p.startsWith("body")?"body":"head"} > ${S.tag}[data-h-${S._h}]`)),y.$el){y.tag._d&&Qn(y),d(y);continue}a[(L=S.tagPosition)!=null&&L.startsWith("body")?"body":"head"].push(y)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(a).forEach(([y,S])=>{var N;if(!S.length)return;const E=(N=s==null?void 0:s[y])==null?void 0:N.children;if(E){for(const v of[...E].reverse()){const T=v.tagName.toLowerCase();if(!Ja.includes(T))continue;const x=v.getAttributeNames().reduce((g,m)=>({...g,[m]:v.getAttribute(m)}),{}),w={tag:T,props:x};v.innerHTML&&(w.innerHTML=v.innerHTML);const u=_r(w);let _=S.findIndex(g=>(g==null?void 0:g.renderId)===u);if(_===-1){const g=Xa(w);_=S.findIndex(m=>(m==null?void 0:m.tag._d)&&m.tag._d===g)}if(_!==-1){const g=S[_];g.$el=v,Qn(g),d(g),delete S[_]}}S.forEach(v=>{const T=v.tag.tagPosition||"head";f[T]=f[T]||s.createDocumentFragment(),v.$el||(v.$el=s.createElement(v.tag.tag),Qn(v,!0)),f[T].appendChild(v.$el),d(v)})}}),f.head&&s.head.appendChild(f.head),f.bodyOpen&&s.body.insertBefore(f.bodyOpen,s.body.firstChild),f.bodyClose&&s.body.appendChild(f.bodyClose);for(const y of c)await e.hooks.callHook("dom:renderTag",y);Object.values(r).forEach(y=>y())}let Ks=null;async function Ud(e,t={}){function n(){return Ks=null,Hd(e,t)}const s=t.delayFn||(o=>setTimeout(o,10));return Ks=Ks||new Promise(o=>s(()=>o(n())))}function Wd(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let n=e==null?void 0:e.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),Ud(t,{document:(e==null?void 0:e.document)||window.document,delayFn:n})}}}}function Gd(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const Zo={base:-1,title:1},ei={critical:-8,high:-1,low:2};function ps(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag in Zo&&(t=Zo[e.tag]),typeof n=="string"&&n in ei?t+ei[n]:t)}const qd=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function Vd(){return{hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(o=>o._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of qd)for(const o of e.tags.filter(r=>typeof r.tagPriority=="string"&&r.tagPriority.startsWith(n))){const r=t(o.tagPriority.replace(n,""));typeof r<"u"&&(o._p=r+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>ps(n)-ps(s))}}}}function Kd(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const s=t.findIndex(o=>o.tag==="title");if(s!==-1&&n!==-1){const o=Yo(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=Yo(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function zd(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const Jd=["link","style","script","noscript"];function Qd(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=_r(e)),e.key&&Jd.includes(e.tag)&&(e._h=Qa(e.key),e.props[`data-h-${e._h}`]="")}}}}const ti=["script","link","bodyAttrs"];function Xd(){const e=(t,n)=>{const s={},o={};Object.entries(n.props).forEach(([i,l])=>{i.startsWith("on")&&typeof l=="function"?o[i]=l:s[i]=l});let r;return t==="dom"&&n.tag==="script"&&typeof s.src=="string"&&typeof o.onload<"u"&&(r=s.src,delete s.src),{props:s,eventHandlers:o,delayedSrc:r}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!ti.includes(n.tag)||!Object.entries(n.props).find(([s,o])=>s.startsWith("on")&&typeof o=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!ti.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([r,i])=>r.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:s,delayedSrc:o}=e("dom",t.tag);Object.keys(s).length&&(t.tag.props=n,t.tag._eventHandlers=s,t.tag._delayedSrc=o)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const s=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([o,r])=>{const i=`${t.tag._d||t.tag._p}:${o}`,l=o.slice(2).toLowerCase(),c=`data-h-${l}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const a=r;n.setAttribute(c,""),s.addEventListener(l,a),t.entry&&(t.entry._sde[i]=()=>{s.removeEventListener(l,a),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const Yd=["templateParams","htmlAttrs","bodyAttrs"];function Zd(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=Xa(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const o=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,r=t[o];if(r){let l=s==null?void 0:s.tagDuplicateStrategy;if(!l&&Yd.includes(s.tag)&&(l="merge"),l==="merge"){const c=r.props;["class","style"].forEach(a=>{s.props[a]&&c[a]&&(a==="style"&&!c[a].endsWith(";")&&(c[a]+=";"),s.props[a]=`${c[a]} ${s.props[a]}`)}),t[o].props={...c,...s.props};return}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);return}else if(ps(s)>ps(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(Ja.includes(s.tag)&&i===0){delete t[o];return}t[o]=s});const n=[];Object.values(t).forEach(s=>{const o=s._duped;delete s._duped,n.push(s),o&&n.push(...o)}),e.tags=n}}}}function mn(e,t){if(typeof e!="string")return e;function n(i){if(["s","pageTitle"].includes(i))return t.pageTitle;let l;return i.includes(".")?l=i.split(".").reduce((c,a)=>c&&c[a]||void 0,t):l=t[i],typeof l<"u"?l||"":!1}let s=e;try{s=decodeURI(e)}catch{}(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const l=n(i.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),`${l}$1`).trim())});const r=t.separator;return e.includes(r)&&(e.endsWith(r)&&(e=e.slice(0,-r.length).trim()),e.startsWith(r)&&(e=e.slice(r.length).trim()),e=e.replace(new RegExp(`\\${r}\\s*\\${r}`,"g"),r)),e}function ep(){return{hooks:{"tags:resolve":e=>{var r;const{tags:t}=e,n=(r=t.find(i=>i.tag==="title"))==null?void 0:r.textContent,s=t.findIndex(i=>i.tag==="templateParams"),o=s!==-1?t[s].props:{};o.separator=o.separator||"|",o.pageTitle=mn(o.pageTitle||n||"",o);for(const i of t)if(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string")i.textContent=mn(i.textContent,o);else if(i.tag==="meta"&&typeof i.props.content=="string")i.props.content=mn(i.props.content,o);else if(i.tag==="link"&&typeof i.props.href=="string")i.props.href=mn(i.props.href,o);else if(i.tag==="script"&&["application/json","application/ld+json"].includes(i.props.type)&&typeof i.innerHTML=="string")try{i.innerHTML=JSON.stringify(JSON.parse(i.innerHTML),(l,c)=>typeof c=="string"?mn(c,o):c)}catch{}e.tags=t.filter(i=>i.tag!=="templateParams")}}}}const tp=typeof window<"u";let Ya;function np(e){return Ya=e}function sp(){return Ya}async function rp(e,t,n){const s={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(s.props=t,s):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(s.textContent=t.textContent,t.tagPriority&&(s.tagPriority=t.tagPriority)):s.textContent=t,s):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?s.props.src=t:s.innerHTML=t,s):!1:(s.props=await ip(e,{...t}),s.props.children&&(s.props.innerHTML=s.props.children),delete s.props.children,Object.keys(s.props).filter(o=>Xo.includes(o)).forEach(o=>{(!["innerHTML","textContent"].includes(o)||za.includes(s.tag))&&(s[o]=s.props[o]),delete s.props[o]}),Xo.forEach(o=>{!s[o]&&n[o]&&(s[o]=n[o])}),["innerHTML","textContent"].forEach(o=>{if(s.tag==="script"&&typeof s[o]=="string"&&["application/ld+json","application/json"].includes(s.props.type))try{s[o]=JSON.parse(s[o])}catch{s[o]=""}typeof s[o]=="object"&&(s[o]=JSON.stringify(s[o]))}),s.props.class&&(s.props.class=op(s.props.class)),s.props.content&&Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s)}function op(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function ip(e,t){for(const n of Object.keys(t)){const s=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=s?"true":"":String(t[n])==="false"&&(s?t[n]="false":delete t[n])}return t}const ap=10;async function lp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&Fd.includes(n)).forEach(([n,s])=>{const o=$d(s);t.push(...o.map(r=>rp(n,r,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,n._p=(e._i<<ap)+s,n))}function cp(){return[Zd(),Vd(),ep(),Kd(),Qd(),Xd(),zd()]}function up(e={}){return[Wd({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function fp(e={}){const t=dp({...e,plugins:[...up(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=Gd(t.resolvedOptions.document)),np(t),t}function dp(e={}){let t=[],n={},s=0;const o=Va();e!=null&&e.hooks&&o.addHooks(e.hooks),e.plugins=[...cp(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(l=>l.hooks&&o.addHooks(l.hooks)),e.document=e.document||(tp?document:void 0);const r=()=>o.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return o},use(l){l.hooks&&o.addHooks(l.hooks)},push(l,c){const a={_i:s++,input:l,_sde:{},...c},d=(a==null?void 0:a.mode)||e.mode;return d&&(a.mode=d),t.push(a),r(),{dispose(){t=t.filter(f=>f._i!==a._i?!0:(n={...n,...f._sde||{}},f._sde={},r(),!1))},patch(f){t=t.map(p=>(p._i===a._i&&(a.input=p.input=f,r()),p))}}},async resolveTags(){const l={tags:[],entries:[...t]};await o.callHook("entries:resolve",l);for(const c of l.entries){const a=c.resolvedInput||c.input;if(c.resolvedInput=c.transform?c.transform(a):a,c.resolvedInput)for(const d of await lp(c)){const f={tag:d,entry:c,resolvedOptions:i.resolvedOptions};await o.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await o.callHook("tags:resolve",l),l.tags},_popSideEffectQueue(){const l={...n};return n={},l},_elMap:{}};return i.hooks.callHook("init",i),i}function pp(e){return typeof e=="function"?e():ge(e)}function hs(e,t=""){if(e instanceof Promise)return e;const n=pp(e);return!e||!n?n:Array.isArray(n)?n.map(s=>hs(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,ge(o)]:[s,hs(o,s)])):n}const hp=Pa.startsWith("3"),mp=typeof window<"u",Za="usehead";function Zr(){return ln()&&Xt(Za)||sp()}function gp(e){return{install(n){hp&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Za,e))}}.install}function yp(e={}){const t=fp({...e,domDelayFn:n=>setTimeout(()=>xs(()=>n()),10),plugins:[bp(),...(e==null?void 0:e.plugins)||[]]});return t.install=gp(t),t}function bp(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=hs(t.input)}}}}function _p(e,t={}){const n=Zr(),s=be(!1),o=be({});ta(()=>{o.value=s.value?{}:hs(e)});const r=n.push(o.value,t);return ut(o,l=>{r.patch(l)}),ln()&&(Es(()=>{r.dispose()}),oa(()=>{s.value=!0}),ra(()=>{s.value=!1})),r}function vp(e,t={}){return Zr().push(e,t)}function Bg(e,t={}){var s;const n=Zr();if(n){const o=mp||!!((s=n.resolvedOptions)!=null&&s.document);return t.mode==="server"&&o||t.mode==="client"&&!o?void 0:o?_p(e,t):vp(e,t)}}const wp={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},kp="__nuxt",Np=!0;function ni(e,t={}){const n=Tp(e,t),s=Se(),o=s._payloadCache=s._payloadCache||{};return o[n]||(o[n]=el(n).then(r=>r||(delete o[n],null))),o[n]}const si="json";function Tp(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Bn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return cn(ds().app.baseURL,n.pathname,s?`_payload.${s}.${si}`:`_payload.${si}`)}async function el(e){try{return Np?tl(await fetch(e).then(t=>t.text())):await br(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function xp(){return!!Se().payload.prerenderedAt}let Xn=null;async function Lp(){if(Xn)return Xn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=tl(e.textContent||""),n=e.dataset.src?await el(e.dataset.src):void 0;return Xn={...t,...n,...window.__NUXT__},Xn}function tl(e){return Id(e,Se()._payloadRevivers)}function Sp(e,t){Se()._payloadRevivers[e]=t}class vr extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1}toJSON(){const t={message:this.message,statusCode:wr(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=nl(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}vr.__h3_error__=!0;function Ap(e){if(typeof e=="string")return new vr(e);if(Pp(e))return e;const t=new vr(e.message??e.statusMessage??"",e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=wr(e.statusCode,t.statusCode):e.status&&(t.statusCode=wr(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;nl(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Pp(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Ep=/[^\u0009\u0020-\u007E]/g;function nl(e=""){return e.replace(Ep,"")}function wr(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Rp="$s";function sl(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o=Rp+n,r=Se(),i=zi(r.payload.state,o);if(i.value===void 0&&s){const l=s();if(Ae(l))return r.payload.state[o]=l,l;i.value=l}return i}const rl=Symbol("route"),Ht=()=>{var e;return(e=Se())==null?void 0:e.$router},jp=()=>ga()?Xt(rl,Se()._route):Se()._route,Cp=()=>{try{if(Se()._processingMiddleware)return!0}catch{return!0}return!1},ol=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Ba(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:c={}}=t.open,a=Object.entries(c).filter(([d,f])=>f!==void 0).map(([d,f])=>`${d.toLowerCase()}=${f}`).join(", ");open(n,l,a)}return Promise.resolve()}const s=(t==null?void 0:t.external)||Bn(n,{acceptRelative:!0});if(s&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(s&&Dt(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const o=Cp();if(!s&&o)return e;const r=Ht(),i=Se();return s?(t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?r.replace(e):r.push(e)},eo=()=>zi(Se().payload,"error"),Op=e=>{const t=il(e);try{const n=Se(),s=eo();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Ip=async(e={})=>{const t=Se(),n=eo();t.callHook("app:error:cleared",e),e.redirect&&await Ht().replace(e.redirect),n.value=null},Mp=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),il=e=>{const t=Ap(e);return t.__nuxt_error=!0,t},ri={NuxtError:e=>il(e),EmptyShallowRef:e=>mo(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>mo(e),ShallowReactive:e=>Ir(e),Ref:e=>be(e),Reactive:e=>dt(e)},$p=At({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in ri)Sp(s,ri[s]);Object.assign(e.payload,([t,n]=vd(()=>e.runWithContext(Lp)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Fp=[];function zs(e){typeof e=="object"&&(e=Ha({pathname:e.path||"",search:Fa(e.query||{}),hash:e.hash||""}));const t=Dt(e.toString());return{path:t.pathname,fullPath:e,query:Os(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Bp=At({name:"nuxt:router",enforce:"pre",setup(e){const t=Wf(window.location.pathname,ds().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(d,f)=>(s[d].push(f),()=>s[d].splice(s[d].indexOf(f),1)),r=ds().app.baseURL,i=dt(zs(t));async function l(d,f){try{const p=zs(d);for(const L of s["navigate:before"]){const y=await L(p,i);if(y===!1||y instanceof Error)return;if(y)return l(y,!0)}for(const L of s["resolve:before"])await L(p,i);Object.assign(i,p),window.history[f?"replaceState":"pushState"]({},"",cn(r,p.fullPath)),e.isHydrating||await e.runWithContext(Ip);for(const L of s["navigate:after"])await L(p,i)}catch(p){for(const L of s.error)await L(p)}}const c={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:d=>l(d,!1),replace:d=>l(d,!0),back:()=>window.history.go(-1),go:d=>window.history.go(d),forward:()=>window.history.go(1),beforeResolve:d=>o("resolve:before",d),beforeEach:d=>o("navigate:before",d),afterEach:d=>o("navigate:after",d),onError:d=>o("error",d),resolve:zs,addRoute:(d,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:d=>n.some(f=>f.name===d),removeRoute:d=>{const f=n.findIndex(p=>p.name===d);f!==-1&&n.splice(f,1)}};e.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(d,{slots:f})=>{const p=()=>l(d.to,d.replace);return()=>{var y;const L=c.resolve(d.to);return d.custom?(y=f.default)==null?void 0:y.call(f,{href:d.to,navigate:p,route:L}):$n("a",{href:d.to,onClick:S=>(S.preventDefault(),p())},f)}}}),window.addEventListener("popstate",d=>{const f=d.target.location;c.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const a=sl("_layout");return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(d,f)=>{d.meta=dt(d.meta||{}),e.isHydrating&&a.value&&!$t(d.meta.layout)&&(d.meta.layout=a.value),e._processingMiddleware=!0;{const p=new Set([...Fp,...e._middleware.global]);for(const L of p){const y=await e.runWithContext(()=>L(d,f));if(y||y===!1)return y}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Kf(i.fullPath,t)||await e.runWithContext(()=>ol(i.fullPath))}),{provide:{route:i,router:c}}}}),Dp=At({name:"nuxt:payload",setup(e){xp()&&(e.hooks.hook("link:prefetch",async t=>{Dt(t).protocol||await ni(t)}),Ht().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await ni(t.path);s&&Object.assign(e.static.data,s.data)}))}}),Hp=At({name:"nuxt:global-components"}),Up=At({name:"nuxt:head",setup(e){const n=yp();n.push(wp),e.vueApp.use(n);{let s=!0;const o=()=>{s=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",o),e.hooks.hook("app:suspense:resolve",o)}}}),kr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Wp=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Gp=e=>{const t=Se();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{kr(e)}):kr(e)};async function al(e,t=Ht()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>al(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var l;return(l=i.components)==null?void 0:l.default}).filter(i=>typeof i=="function");for(const i of r){const l=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}function qp(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Se().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Vp=(...e)=>e.find(t=>t!==void 0),Kp="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function zp(e){const t=e.componentName||"NuxtLink",n=(s,o)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const r=e.trailingSlash==="append"?cs:Yr;if(typeof s=="string")return r(s,!0);const i="path"in s?s.path:o(s).path;return{...s,name:void 0,path:r(i,!0)}};return Me({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(s,{slots:o}){const r=Ht(),i=ze(()=>{const f=s.to||s.href||"";return n(f,r.resolve)}),l=ze(()=>s.external||s.target&&s.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Bn(i.value,{acceptRelative:!0})),c=be(!1),a=be(null),d=f=>{var p;a.value=s.custom?(p=f==null?void 0:f.$el)==null?void 0:p.nextElementSibling:f==null?void 0:f.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Qp()){const p=Se();let L,y=null;Wr(()=>{const S=Jp();Gp(()=>{L=kr(()=>{var E;(E=a==null?void 0:a.value)!=null&&E.tagName&&(y=S.observe(a.value,async()=>{y==null||y(),y=null;const N=typeof i.value=="string"?i.value:r.resolve(i.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",N).catch(()=>{}),!l.value&&al(i.value,r).catch(()=>{})]),c.value=!0}))})})}),Es(()=>{L&&Wp(L),y==null||y(),y=null})}return()=>{var S,E;if(!l.value){const N={ref:d,to:i.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(c.value&&(N.class=s.prefetchedClass||e.prefetchedClass),N.rel=s.rel),$n(su("RouterLink"),N,o.default)}const f=typeof i.value=="object"?((S=r.resolve(i.value))==null?void 0:S.href)??null:i.value||null,p=s.target||null,L=s.noRel?null:Vp(s.rel,e.externalRelAttribute,f?Kp:"")||null,y=()=>ol(f,{replace:s.replace});return s.custom?o.default?o.default({href:f,navigate:y,get route(){if(!f)return;const N=Dt(f);return{path:N.pathname,fullPath:N.pathname,get query(){return Os(N.search)},hash:N.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:L,target:p,isExternal:l.value,isActive:!1,isExactActive:!1}):null:$n("a",{ref:a,href:f,rel:L,target:p},(E=o.default)==null?void 0:E.call(o))}}})}const ll=zp({componentName:"NuxtLink"});function Jp(){const e=Se();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(l=>{for(const c of l){const a=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&a&&a()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Qp(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Xp="__NUXT_COLOR_MODE__",Yp="nuxt-color-mode",ot=window[Xp],Zp=At(e=>{const t=sl("color-mode",()=>dt({preference:ot.preference,value:ot.value,unknown:!1,forced:!1})).value;Ht().afterEach(o=>{const r=o.meta.colorMode;r&&r!=="system"?(t.value=r,t.forced=!0):(r==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?ot.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=ot.getColorScheme())}))}ut(()=>t.preference,o=>{var r;t.forced||(o==="system"?(t.value=ot.getColorScheme(),s()):t.value=o,(r=window.localStorage)==null||r.setItem(Yp,o))},{immediate:!0}),ut(()=>t.value,(o,r)=>{ot.removeColorScheme(r),ot.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=ot.preference,t.value=ot.value,t.unknown=!1)}),e.provide("colorMode",t)});const eh=At(()=>{}),th=At({name:"nuxt:chunk-reload",setup(e){const t=Ht(),n=ds(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:o})=>{s.add(o)}),t.onError((o,r)=>{if(s.has(o)){const l="href"in r&&r.href.startsWith("#")?n.app.baseURL+r.href:cn(n.app.baseURL,r.fullPath);qp({path:l,persistState:!0})}})}}),nh=[$p,Bp,Dp,Hp,Up,Zp,eh,th],Is=Me({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),ye("div",{class:Tt(["n-icon",t.icon])},null,2))}}),sh=Me({__name:"NLink",props:{to:{},href:{},target:{}},setup(e){return(t,n)=>(Y(),Ne(Rs(t.href||t.target?"a":ge(ll)),an(t.$props,{class:"n-link n-transition hover:n-link-hover n-link-base"}),{default:Be(()=>[Lt(t.$slots,"default")]),_:3},16))}}),rh={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},oh=Me({__name:"NTextExternalLink",props:{link:{}},setup(e){return(t,n)=>(Y(),Ne(Rs(t.link?sh:"div"),Si(zr(t.link?{href:t.link,target:"_blank",rel:"noopener noreferrer"}:{})),{default:Be(()=>[Lt(t.$slots,"default"),t.link?(Y(),ye("div",rh)):Ge("",!0)]),_:3},16))}});var cl=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},ul={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(cl,()=>{return n={770:function(o,r,i){var l=this&&this.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(r,"__esModule",{value:!0}),r.setDefaultDebugCall=r.createOnigScanner=r.createOnigString=r.loadWASM=r.OnigScanner=r.OnigString=void 0;const c=l(i(418));let a=null,d=!1;class f{static _utf8ByteLength(N){let v=0;for(let T=0,x=N.length;T<x;T++){const w=N.charCodeAt(T);let u=w,_=!1;if(w>=55296&&w<=56319&&T+1<x){const g=N.charCodeAt(T+1);g>=56320&&g<=57343&&(u=65536+(w-55296<<10)|g-56320,_=!0)}v+=u<=127?1:u<=2047?2:u<=65535?3:4,_&&T++}return v}constructor(N){const v=N.length,T=f._utf8ByteLength(N),x=T!==v,w=x?new Uint32Array(v+1):null;x&&(w[v]=T);const u=x?new Uint32Array(T+1):null;x&&(u[T]=v);const _=new Uint8Array(T);let g=0;for(let m=0;m<v;m++){const k=N.charCodeAt(m);let h=k,b=!1;if(k>=55296&&k<=56319&&m+1<v){const A=N.charCodeAt(m+1);A>=56320&&A<=57343&&(h=65536+(k-55296<<10)|A-56320,b=!0)}x&&(w[m]=g,b&&(w[m+1]=g),h<=127?u[g+0]=m:h<=2047?(u[g+0]=m,u[g+1]=m):h<=65535?(u[g+0]=m,u[g+1]=m,u[g+2]=m):(u[g+0]=m,u[g+1]=m,u[g+2]=m,u[g+3]=m)),h<=127?_[g++]=h:h<=2047?(_[g++]=192|(1984&h)>>>6,_[g++]=128|(63&h)>>>0):h<=65535?(_[g++]=224|(61440&h)>>>12,_[g++]=128|(4032&h)>>>6,_[g++]=128|(63&h)>>>0):(_[g++]=240|(1835008&h)>>>18,_[g++]=128|(258048&h)>>>12,_[g++]=128|(4032&h)>>>6,_[g++]=128|(63&h)>>>0),b&&m++}this.utf16Length=v,this.utf8Length=T,this.utf16Value=N,this.utf8Value=_,this.utf16OffsetToUtf8=w,this.utf8OffsetToUtf16=u}createString(N){const v=N._omalloc(this.utf8Length);return N.HEAPU8.set(this.utf8Value,v),v}}class p{constructor(N){if(this.id=++p.LAST_ID,!a)throw new Error("Must invoke loadWASM first.");this._onigBinding=a,this.content=N;const v=new f(N);this.utf16Length=v.utf16Length,this.utf8Length=v.utf8Length,this.utf16OffsetToUtf8=v.utf16OffsetToUtf8,this.utf8OffsetToUtf16=v.utf8OffsetToUtf16,this.utf8Length<1e4&&!p._sharedPtrInUse?(p._sharedPtr||(p._sharedPtr=a._omalloc(1e4)),p._sharedPtrInUse=!0,a.HEAPU8.set(v.utf8Value,p._sharedPtr),this.ptr=p._sharedPtr):this.ptr=v.createString(a)}convertUtf8OffsetToUtf16(N){return this.utf8OffsetToUtf16?N<0?0:N>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[N]:N}convertUtf16OffsetToUtf8(N){return this.utf16OffsetToUtf8?N<0?0:N>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[N]:N}dispose(){this.ptr===p._sharedPtr?p._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}r.OnigString=p,p.LAST_ID=0,p._sharedPtr=0,p._sharedPtrInUse=!1;class L{constructor(N){if(!a)throw new Error("Must invoke loadWASM first.");const v=[],T=[];for(let _=0,g=N.length;_<g;_++){const m=new f(N[_]);v[_]=m.createString(a),T[_]=m.utf8Length}const x=a._omalloc(4*N.length);a.HEAPU32.set(v,x/4);const w=a._omalloc(4*N.length);a.HEAPU32.set(T,w/4);const u=a._createOnigScanner(x,w,N.length);for(let _=0,g=N.length;_<g;_++)a._ofree(v[_]);a._ofree(w),a._ofree(x),u===0&&function(_){throw new Error(_.UTF8ToString(_._getLastOnigError()))}(a),this._onigBinding=a,this._ptr=u}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(N,v,T){let x=d,w=0;if(typeof T=="number"?(8&T&&(x=!0),w=T):typeof T=="boolean"&&(x=T),typeof N=="string"){N=new p(N);const u=this._findNextMatchSync(N,v,x,w);return N.dispose(),u}return this._findNextMatchSync(N,v,x,w)}_findNextMatchSync(N,v,T,x){const w=this._onigBinding;let u;if(u=T?w._findNextOnigScannerMatchDbg(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(v),x):w._findNextOnigScannerMatch(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(v),x),u===0)return null;const _=w.HEAPU32;let g=u/4;const m=_[g++],k=_[g++];let h=[];for(let b=0;b<k;b++){const A=N.convertUtf8OffsetToUtf16(_[g++]),j=N.convertUtf8OffsetToUtf16(_[g++]);h[b]={start:A,end:j,length:j-A}}return{index:m,captureIndices:h}}}r.OnigScanner=L;let y=!1,S=null;r.loadWASM=function(E){if(y)return S;let N,v,T,x;if(y=!0,function(w){return typeof w.instantiator=="function"}(E))N=E.instantiator,v=E.print;else{let w;(function(u){return u.data!==void 0})(E)?(w=E.data,v=E.print):w=E,N=function(u){return typeof Response<"u"&&u instanceof Response}(w)?typeof WebAssembly.instantiateStreaming=="function"?function(u){return _=>WebAssembly.instantiateStreaming(u,_)}(w):function(u){return async _=>{const g=await u.arrayBuffer();return WebAssembly.instantiate(g,_)}}(w):function(u){return _=>WebAssembly.instantiate(u,_)}(w)}return S=new Promise((w,u)=>{T=w,x=u}),function(w,u,_,g){(0,c.default)({print:u,instantiateWasm:(m,k)=>{if(typeof performance>"u"){const h=()=>Date.now();m.env.emscripten_get_now=h,m.wasi_snapshot_preview1.emscripten_get_now=h}return w(m).then(h=>k(h.instance),g),{}}}).then(m=>{a=m,_()})}(N,v,T,x),S},r.createOnigString=function(E){return new p(E)},r.createOnigScanner=function(E){return new L(E)},r.setDefaultDebugCall=function(E){d=E}},418:o=>{var r=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var l,c,a=(i=i||{})!==void 0?i:{};a.ready=new Promise(function(C,B){l=C,c=B});var d,f=Object.assign({},a),p=!1,L="";function y(C){return a.locateFile?a.locateFile(C,L):L+C}d=function(C){let B;return typeof readbuffer=="function"?new Uint8Array(readbuffer(C)):(B=read(C,"binary"),x(typeof B=="object"),B)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var S,E,N=a.print||console.log.bind(console),v=a.printErr||console.warn.bind(console);Object.assign(a,f),f=null,a.arguments&&a.arguments,a.thisProgram&&a.thisProgram,a.quit&&a.quit,a.wasmBinary&&(S=a.wasmBinary),a.noExitRuntime,typeof WebAssembly!="object"&&ue("no native wasm support detected");var T=!1;function x(C,B){C||ue(B)}var w,u,_,g=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(C,B,z){for(var ee=B+z,Z=B;C[Z]&&!(Z>=ee);)++Z;if(Z-B>16&&C.buffer&&g)return g.decode(C.subarray(B,Z));for(var X="";B<Z;){var ie=C[B++];if(128&ie){var Pe=63&C[B++];if((224&ie)!=192){var He=63&C[B++];if((ie=(240&ie)==224?(15&ie)<<12|Pe<<6|He:(7&ie)<<18|Pe<<12|He<<6|63&C[B++])<65536)X+=String.fromCharCode(ie);else{var un=ie-65536;X+=String.fromCharCode(55296|un>>10,56320|1023&un)}}else X+=String.fromCharCode((31&ie)<<6|Pe)}else X+=String.fromCharCode(ie)}return X}function k(C,B){return C?m(u,C,B):""}function h(C){w=C,a.HEAP8=new Int8Array(C),a.HEAP16=new Int16Array(C),a.HEAP32=new Int32Array(C),a.HEAPU8=u=new Uint8Array(C),a.HEAPU16=new Uint16Array(C),a.HEAPU32=_=new Uint32Array(C),a.HEAPF32=new Float32Array(C),a.HEAPF64=new Float64Array(C)}a.INITIAL_MEMORY;var b=[],A=[],j=[];function I(){if(a.preRun)for(typeof a.preRun=="function"&&(a.preRun=[a.preRun]);a.preRun.length;)K(a.preRun.shift());R(b)}function M(){R(A)}function V(){if(a.postRun)for(typeof a.postRun=="function"&&(a.postRun=[a.postRun]);a.postRun.length;)ae(a.postRun.shift());R(j)}function K(C){b.unshift(C)}function J(C){A.unshift(C)}function ae(C){j.unshift(C)}var le=0,ne=null;function ce(C){le++,a.monitorRunDependencies&&a.monitorRunDependencies(le)}function de(C){if(le--,a.monitorRunDependencies&&a.monitorRunDependencies(le),le==0&&ne){var B=ne;ne=null,B()}}function ue(C){a.onAbort&&a.onAbort(C),v(C="Aborted("+C+")"),T=!0,C+=". Build with -sASSERTIONS for more info.";var B=new WebAssembly.RuntimeError(C);throw c(B),B}var me,H,ve="data:application/octet-stream;base64,";function fe(C){return C.startsWith(ve)}function je(C){try{if(C==me&&S)return new Uint8Array(S);if(d)return d(C);throw"both async and sync fetching of the wasm failed"}catch(B){ue(B)}}function Ye(){return S||!p||typeof fetch!="function"?Promise.resolve().then(function(){return je(me)}):fetch(me,{credentials:"same-origin"}).then(function(C){if(!C.ok)throw"failed to load wasm binary file at '"+me+"'";return C.arrayBuffer()}).catch(function(){return je(me)})}function P(){var C={env:D,wasi_snapshot_preview1:D};function B(Z,X){var ie=Z.exports;a.asm=ie,h((E=a.asm.memory).buffer),a.asm.__indirect_function_table,J(a.asm.__wasm_call_ctors),de()}function z(Z){B(Z.instance)}function ee(Z){return Ye().then(function(X){return WebAssembly.instantiate(X,C)}).then(function(X){return X}).then(Z,function(X){v("failed to asynchronously prepare wasm: "+X),ue(X)})}if(ce(),a.instantiateWasm)try{return a.instantiateWasm(C,B)}catch(Z){v("Module.instantiateWasm callback failed with error: "+Z),c(Z)}return(S||typeof WebAssembly.instantiateStreaming!="function"||fe(me)||typeof fetch!="function"?ee(z):fetch(me,{credentials:"same-origin"}).then(function(Z){return WebAssembly.instantiateStreaming(Z,C).then(z,function(X){return v("wasm streaming compile failed: "+X),v("falling back to ArrayBuffer instantiation"),ee(z)})})).catch(c),{}}function R(C){for(;C.length>0;)C.shift()(a)}function O(C,B,z){u.copyWithin(C,B,B+z)}function F(C){try{return E.grow(C-w.byteLength+65535>>>16),h(E.buffer),1}catch{}}function $(C){var B,z=u.length,ee=2147483648;if((C>>>=0)>ee)return!1;for(var Z=1;Z<=4;Z*=2){var X=z*(1+.2/Z);if(X=Math.min(X,C+100663296),F(Math.min(ee,(B=Math.max(C,X))+(65536-B%65536)%65536)))return!0}return!1}fe(me="onig.wasm")||(me=y(me)),H=typeof dateNow<"u"?dateNow:()=>performance.now();var G=[null,[],[]];function q(C,B){var z=G[C];B===0||B===10?((C===1?N:v)(m(z,0)),z.length=0):z.push(B)}function U(C,B,z,ee){for(var Z=0,X=0;X<z;X++){var ie=_[B>>2],Pe=_[B+4>>2];B+=8;for(var He=0;He<Pe;He++)q(C,u[ie+He]);Z+=Pe}return _[ee>>2]=Z,0}var W,D={emscripten_get_now:H,emscripten_memcpy_big:O,emscripten_resize_heap:$,fd_write:U};function Q(C){function B(){W||(W=!0,a.calledRun=!0,T||(M(),l(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),V()))}le>0||(I(),le>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),B()},1)):B()))}if(P(),a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=a.asm.__wasm_call_ctors).apply(null,arguments)},a.___errno_location=function(){return(a.___errno_location=a.asm.__errno_location).apply(null,arguments)},a._omalloc=function(){return(a._omalloc=a.asm.omalloc).apply(null,arguments)},a._ofree=function(){return(a._ofree=a.asm.ofree).apply(null,arguments)},a._getLastOnigError=function(){return(a._getLastOnigError=a.asm.getLastOnigError).apply(null,arguments)},a._createOnigScanner=function(){return(a._createOnigScanner=a.asm.createOnigScanner).apply(null,arguments)},a._freeOnigScanner=function(){return(a._freeOnigScanner=a.asm.freeOnigScanner).apply(null,arguments)},a._findNextOnigScannerMatch=function(){return(a._findNextOnigScannerMatch=a.asm.findNextOnigScannerMatch).apply(null,arguments)},a._findNextOnigScannerMatchDbg=function(){return(a._findNextOnigScannerMatchDbg=a.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},a.stackSave=function(){return(a.stackSave=a.asm.stackSave).apply(null,arguments)},a.stackRestore=function(){return(a.stackRestore=a.asm.stackRestore).apply(null,arguments)},a.stackAlloc=function(){return(a.stackAlloc=a.asm.stackAlloc).apply(null,arguments)},a.dynCall_jiji=function(){return(a.dynCall_jiji=a.asm.dynCall_jiji).apply(null,arguments)},a.UTF8ToString=k,ne=function C(){W||Q(),W||(ne=C)},a.preInit)for(typeof a.preInit=="function"&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return Q(),i.ready});o.exports=r}},s={},function o(r){var i=s[r];if(i!==void 0)return i.exports;var l=s[r]={exports:{}};return n[r].call(l.exports,l,l.exports,o),l.exports}(770);var n,s})})(ul);var Js=ul.exports,fl={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(cl,function(){return(()=>{var n={350:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.UseOnigurumaFindOptions=r.DebugFlags=void 0,r.DebugFlags={InDebugMode:typeof process<"u"&&!1},r.UseOnigurumaFindOptions=!1},36:(o,r)=>{var i;Object.defineProperty(r,"__esModule",{value:!0}),r.toOptionalTokenType=r.EncodedTokenAttributes=void 0,(i=r.EncodedTokenAttributes||(r.EncodedTokenAttributes={})).toBinaryStr=function(l){let c=l.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(l){const c=i.getLanguageId(l),a=i.getTokenType(l),d=i.getFontStyle(l),f=i.getForeground(l),p=i.getBackground(l);console.log({languageId:c,tokenType:a,fontStyle:d,foreground:f,background:p})},i.getLanguageId=function(l){return(255&l)>>>0},i.getTokenType=function(l){return(768&l)>>>8},i.containsBalancedBrackets=function(l){return(1024&l)!=0},i.getFontStyle=function(l){return(30720&l)>>>11},i.getForeground=function(l){return(16744448&l)>>>15},i.getBackground=function(l){return(4278190080&l)>>>24},i.set=function(l,c,a,d,f,p,L){let y=i.getLanguageId(l),S=i.getTokenType(l),E=i.containsBalancedBrackets(l)?1:0,N=i.getFontStyle(l),v=i.getForeground(l),T=i.getBackground(l);return c!==0&&(y=c),a!==8&&(S=a),d!==null&&(E=d?1:0),f!==-1&&(N=f),p!==0&&(v=p),L!==0&&(T=L),(y<<0|S<<8|E<<10|N<<11|v<<15|T<<24)>>>0},r.toOptionalTokenType=function(l){return l}},996:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BasicScopeAttributesProvider=r.BasicScopeAttributes=void 0;const l=i(878);class c{constructor(p,L){this.languageId=p,this.tokenType=L}}r.BasicScopeAttributes=c;class a{constructor(p,L){this._getBasicScopeAttributes=new l.CachedFn(y=>{const S=this._scopeToLanguage(y),E=this._toStandardTokenType(y);return new c(S,E)}),this._defaultAttributes=new c(p,8),this._embeddedLanguagesMatcher=new d(Object.entries(L||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(p){return p===null?a._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(p)}_scopeToLanguage(p){return this._embeddedLanguagesMatcher.match(p)||0}_toStandardTokenType(p){const L=p.match(a.STANDARD_TOKEN_TYPE_REGEXP);if(!L)return 8;switch(L[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}r.BasicScopeAttributesProvider=a,a._NULL_SCOPE_METADATA=new c(0,0),a.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(p){if(p.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(p);const L=p.map(([y,S])=>l.escapeRegExpCharacters(y));L.sort(),L.reverse(),this.scopesRegExp=new RegExp(`^((${L.join(")|(")}))($|\\.)`,"")}}match(p){if(!this.scopesRegExp)return;const L=p.match(this.scopesRegExp);return L?this.values.get(L[1]):void 0}}},947:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LineTokens=r.BalancedBracketSelectors=r.StateStack=r.AttributedScopeStack=r.Grammar=r.createGrammar=void 0;const l=i(350),c=i(36),a=i(736),d=i(44),f=i(792),p=i(583),L=i(878),y=i(996),S=i(47);function E(g,m,k,h,b){const A=a.createMatchers(m,N),j=f.RuleFactory.getCompiledRuleId(k,h,b.repository);for(const I of A)g.push({debugSelector:m,matcher:I.matcher,ruleId:j,grammar:b,priority:I.priority})}function N(g,m){if(m.length<g.length)return!1;let k=0;return g.every(h=>{for(let b=k;b<m.length;b++)if(v(m[b],h))return k=b+1,!0;return!1})}function v(g,m){if(!g)return!1;if(g===m)return!0;const k=m.length;return g.length>k&&g.substr(0,k)===m&&g[k]==="."}r.createGrammar=function(g,m,k,h,b,A,j,I){return new T(g,m,k,h,b,A,j,I)};class T{constructor(m,k,h,b,A,j,I,M){if(this._rootScopeName=m,this.balancedBracketSelectors=j,this._onigLib=M,this._basicScopeAttributesProvider=new y.BasicScopeAttributesProvider(h,b),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=x(k,null),this._injections=null,this._tokenTypeMatchers=[],A)for(const V of Object.keys(A)){const K=a.createMatchers(V,N);for(const J of K)this._tokenTypeMatchers.push({matcher:J.matcher,type:A[V]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const m of this._ruleId2desc)m&&m.dispose()}createOnigScanner(m){return this._onigLib.createOnigScanner(m)}createOnigString(m){return this._onigLib.createOnigString(m)}getMetadataForScope(m){return this._basicScopeAttributesProvider.getBasicScopeAttributes(m)}_collectInjections(){const m=[],k=this._rootScopeName,h=(b=>b===this._rootScopeName?this._grammar:this.getExternalGrammar(b))(k);if(h){const b=h.injections;if(b)for(let j in b)E(m,j,b[j],this,h);const A=this._grammarRepository.injections(k);A&&A.forEach(j=>{const I=this.getExternalGrammar(j);if(I){const M=I.injectionSelector;M&&E(m,M,I,this,I)}})}return m.sort((b,A)=>b.priority-A.priority),m}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),l.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const m of this._injections)console.log(` - ${m.debugSelector}`)}return this._injections}registerRule(m){const k=++this._lastRuleId,h=m(f.ruleIdFromNumber(k));return this._ruleId2desc[k]=h,h}getRule(m){return this._ruleId2desc[f.ruleIdToNumber(m)]}getExternalGrammar(m,k){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const h=this._grammarRepository.lookup(m);if(h)return this._includedGrammars[m]=x(h,k&&k.$base),this._includedGrammars[m]}}tokenizeLine(m,k,h=0){const b=this._tokenize(m,k,!1,h);return{tokens:b.lineTokens.getResult(b.ruleStack,b.lineLength),ruleStack:b.ruleStack,stoppedEarly:b.stoppedEarly}}tokenizeLine2(m,k,h=0){const b=this._tokenize(m,k,!0,h);return{tokens:b.lineTokens.getBinaryResult(b.ruleStack,b.lineLength),ruleStack:b.ruleStack,stoppedEarly:b.stoppedEarly}}_tokenize(m,k,h,b){let A;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==u.NULL)A=!1,k.reset();else{A=!0;const K=this._basicScopeAttributesProvider.getDefaultAttributes(),J=this.themeProvider.getDefaults(),ae=c.EncodedTokenAttributes.set(0,K.languageId,K.tokenType,null,J.fontStyle,J.foregroundId,J.backgroundId),le=this.getRule(this._rootId).getName(null,null);let ne;ne=le?w.createRootAndLookUpScopeName(le,ae,this):w.createRoot("unknown",ae),k=new u(null,this._rootId,-1,-1,!1,null,ne,ne)}m+=`
2
- `;const j=this.createOnigString(m),I=j.content.length,M=new _(h,m,this._tokenTypeMatchers,this.balancedBracketSelectors),V=S._tokenizeString(this,j,A,0,k,M,!0,b);return d.disposeOnigString(j),{lineLength:I,lineTokens:M,ruleStack:V.stack,stoppedEarly:V.stoppedEarly}}}function x(g,m){return(g=L.clone(g)).repository=g.repository||{},g.repository.$self={$vscodeTextmateLocation:g.$vscodeTextmateLocation,patterns:g.patterns,name:g.scopeName},g.repository.$base=m||g.repository.$self,g}r.Grammar=T;class w{constructor(m,k,h){this.parent=m,this.scopePath=k,this.tokenAttributes=h}static createRoot(m,k){return new w(null,new p.ScopeStack(null,m),k)}static createRootAndLookUpScopeName(m,k,h){const b=h.getMetadataForScope(m),A=new p.ScopeStack(null,m),j=h.themeProvider.themeMatch(A),I=w.mergeAttributes(k,b,j);return new w(null,A,I)}get scopeName(){return this.scopePath.scopeName}equals(m){return w._equals(this,m)}static _equals(m,k){for(;;){if(m===k||!m&&!k)return!0;if(!m||!k||m.scopeName!==k.scopeName||m.tokenAttributes!==k.tokenAttributes)return!1;m=m.parent,k=k.parent}}static mergeAttributes(m,k,h){let b=-1,A=0,j=0;return h!==null&&(b=h.fontStyle,A=h.foregroundId,j=h.backgroundId),c.EncodedTokenAttributes.set(m,k.languageId,k.tokenType,null,b,A,j)}pushAttributed(m,k){if(m===null)return this;if(m.indexOf(" ")===-1)return w._pushAttributed(this,m,k);const h=m.split(/ /g);let b=this;for(const A of h)b=w._pushAttributed(b,A,k);return b}static _pushAttributed(m,k,h){const b=h.getMetadataForScope(k),A=m.scopePath.push(k),j=h.themeProvider.themeMatch(A),I=w.mergeAttributes(m.tokenAttributes,b,j);return new w(m,A,I)}getScopeNames(){return this.scopePath.getSegments()}}r.AttributedScopeStack=w;class u{constructor(m,k,h,b,A,j,I,M){this.parent=m,this.ruleId=k,this.beginRuleCapturedEOL=A,this.endRule=j,this.nameScopesList=I,this.contentNameScopesList=M,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=h,this._anchorPos=b}equals(m){return m!==null&&u._equals(this,m)}static _equals(m,k){return m===k||!!this._structuralEquals(m,k)&&m.contentNameScopesList.equals(k.contentNameScopesList)}static _structuralEquals(m,k){for(;;){if(m===k||!m&&!k)return!0;if(!m||!k||m.depth!==k.depth||m.ruleId!==k.ruleId||m.endRule!==k.endRule)return!1;m=m.parent,k=k.parent}}clone(){return this}static _reset(m){for(;m;)m._enterPos=-1,m._anchorPos=-1,m=m.parent}reset(){u._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,k,h,b,A,j,I){return new u(this,m,k,h,b,A,j,I)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(m){return m.getRule(this.ruleId)}toString(){const m=[];return this._writeString(m,0),"["+m.join(",")+"]"}_writeString(m,k){return this.parent&&(k=this.parent._writeString(m,k)),m[k++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,k}withContentNameScopesList(m){return this.contentNameScopesList===m?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,m)}withEndRule(m){return this.endRule===m?this:new u(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,m,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(m){let k=this;for(;k&&k._enterPos===m._enterPos;){if(k.ruleId===m.ruleId)return!0;k=k.parent}return!1}}r.StateStack=u,u.NULL=new u(null,0,0,0,!1,null,null,null),r.BalancedBracketSelectors=class{constructor(g,m){this.allowAny=!1,this.balancedBracketScopes=g.flatMap(k=>k==="*"?(this.allowAny=!0,[]):a.createMatchers(k,N).map(h=>h.matcher)),this.unbalancedBracketScopes=m.flatMap(k=>a.createMatchers(k,N).map(h=>h.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(g){for(const m of this.unbalancedBracketScopes)if(m(g))return!1;for(const m of this.balancedBracketScopes)if(m(g))return!0;return this.allowAny}};class _{constructor(m,k,h,b){this.balancedBracketSelectors=b,this._emitBinaryTokens=m,this._tokenTypeOverrides=h,l.DebugFlags.InDebugMode?this._lineText=k:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(m,k){this.produceFromScopes(m.contentNameScopesList,k)}produceFromScopes(m,k){var b;if(this._lastTokenEndIndex>=k)return;if(this._emitBinaryTokens){let A=m.tokenAttributes,j=!1;if((b=this.balancedBracketSelectors)!=null&&b.matchesAlways&&(j=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const I=m.getScopeNames();for(const M of this._tokenTypeOverrides)M.matcher(I)&&(A=c.EncodedTokenAttributes.set(A,0,c.toOptionalTokenType(M.type),null,-1,0,0));this.balancedBracketSelectors&&(j=this.balancedBracketSelectors.match(I))}if(j&&(A=c.EncodedTokenAttributes.set(A,0,8,j,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===A)return void(this._lastTokenEndIndex=k);if(l.DebugFlags.InDebugMode){const I=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let M=0;M<I.length;M++)console.log(" * "+I[M])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(A),void(this._lastTokenEndIndex=k)}const h=m.getScopeNames();if(l.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let A=0;A<h.length;A++)console.log(" * "+h[A])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:h}),this._lastTokenEndIndex=k}getResult(m,k){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===k-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,k),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(m,k){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===k-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,k),this._binaryTokens[this._binaryTokens.length-2]=0);const h=new Uint32Array(this._binaryTokens.length);for(let b=0,A=this._binaryTokens.length;b<A;b++)h[b]=this._binaryTokens[b];return h}}r.LineTokens=_},965:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseInclude=r.TopLevelRepositoryReference=r.TopLevelReference=r.RelativeReference=r.SelfReference=r.BaseReference=r.ScopeDependencyProcessor=r.ExternalReferenceCollector=r.TopLevelRepositoryRuleReference=r.TopLevelRuleReference=void 0;const l=i(878);class c{constructor(u){this.scopeName=u}toKey(){return this.scopeName}}r.TopLevelRuleReference=c;class a{constructor(u,_){this.scopeName=u,this.ruleName=_}toKey(){return`${this.scopeName}#${this.ruleName}`}}r.TopLevelRepositoryRuleReference=a;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(u){const _=u.toKey();this._seenReferenceKeys.has(_)||(this._seenReferenceKeys.add(_),this._references.push(u))}}function f(w,u,_,g){const m=_.lookup(w.scopeName);if(!m){if(w.scopeName===u)throw new Error(`No grammar provided for <${u}>`);return}const k=_.lookup(u);w instanceof c?L({baseGrammar:k,selfGrammar:m},g):p(w.ruleName,{baseGrammar:k,selfGrammar:m,repository:m.repository},g);const h=_.injections(w.scopeName);if(h)for(const b of h)g.add(new c(b))}function p(w,u,_){u.repository&&u.repository[w]&&y([u.repository[w]],u,_)}function L(w,u){w.selfGrammar.patterns&&Array.isArray(w.selfGrammar.patterns)&&y(w.selfGrammar.patterns,{...w,repository:w.selfGrammar.repository},u),w.selfGrammar.injections&&y(Object.values(w.selfGrammar.injections),{...w,repository:w.selfGrammar.repository},u)}function y(w,u,_){for(const g of w){if(_.visitedRule.has(g))continue;_.visitedRule.add(g);const m=g.repository?l.mergeObjects({},u.repository,g.repository):u.repository;Array.isArray(g.patterns)&&y(g.patterns,{...u,repository:m},_);const k=g.include;if(!k)continue;const h=x(k);switch(h.kind){case 0:L({...u,selfGrammar:u.baseGrammar},_);break;case 1:L(u,_);break;case 2:p(h.ruleName,{...u,repository:m},_);break;case 3:case 4:const b=h.scopeName===u.selfGrammar.scopeName?u.selfGrammar:h.scopeName===u.baseGrammar.scopeName?u.baseGrammar:void 0;if(b){const A={baseGrammar:u.baseGrammar,selfGrammar:b,repository:m};h.kind===4?p(h.ruleName,A,_):L(A,_)}else h.kind===4?_.add(new a(h.scopeName,h.ruleName)):_.add(new c(h.scopeName))}}}r.ExternalReferenceCollector=d,r.ScopeDependencyProcessor=class{constructor(w,u){this.repo=w,this.initialScopeName=u,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const w=this.Q;this.Q=[];const u=new d;for(const _ of w)f(_,this.initialScopeName,this.repo,u);for(const _ of u.references)if(_ instanceof c){if(this.seenFullScopeRequests.has(_.scopeName))continue;this.seenFullScopeRequests.add(_.scopeName),this.Q.push(_)}else{if(this.seenFullScopeRequests.has(_.scopeName)||this.seenPartialScopeRequests.has(_.toKey()))continue;this.seenPartialScopeRequests.add(_.toKey()),this.Q.push(_)}}};class S{constructor(){this.kind=0}}r.BaseReference=S;class E{constructor(){this.kind=1}}r.SelfReference=E;class N{constructor(u){this.ruleName=u,this.kind=2}}r.RelativeReference=N;class v{constructor(u){this.scopeName=u,this.kind=3}}r.TopLevelReference=v;class T{constructor(u,_){this.scopeName=u,this.ruleName=_,this.kind=4}}function x(w){if(w==="$base")return new S;if(w==="$self")return new E;const u=w.indexOf("#");if(u===-1)return new v(w);if(u===0)return new N(w.substring(1));{const _=w.substring(0,u),g=w.substring(u+1);return new T(_,g)}}r.TopLevelRepositoryReference=T,r.parseInclude=x},391:function(o,r,i){var l=this&&this.__createBinding||(Object.create?function(a,d,f,p){p===void 0&&(p=f),Object.defineProperty(a,p,{enumerable:!0,get:function(){return d[f]}})}:function(a,d,f,p){p===void 0&&(p=f),a[p]=d[f]}),c=this&&this.__exportStar||function(a,d){for(var f in a)f==="default"||Object.prototype.hasOwnProperty.call(d,f)||l(d,a,f)};Object.defineProperty(r,"__esModule",{value:!0}),c(i(947),r)},47:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStackElement=r._tokenizeString=void 0;const l=i(350),c=i(44),a=i(792),d=i(878);class f{constructor(T,x){this.stack=T,this.stoppedEarly=x}}function p(v,T,x,w,u,_,g,m){const k=T.content.length;let h=!1,b=-1;if(g){const I=function(M,V,K,J,ae,le){let ne=ae.beginRuleCapturedEOL?0:-1;const ce=[];for(let de=ae;de;de=de.pop()){const ue=de.getRule(M);ue instanceof a.BeginWhileRule&&ce.push({rule:ue,stack:de})}for(let de=ce.pop();de;de=ce.pop()){const{ruleScanner:ue,findOptions:me}=y(de.rule,M,de.stack.endRule,K,J===ne),H=ue.findNextMatchSync(V,J,me);if(l.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ue.toString())),!H){l.DebugFlags.InDebugMode&&console.log(" popping "+de.rule.debugName+" - "+de.rule.debugWhileRegExp),ae=de.stack.pop();break}if(H.ruleId!==a.whileRuleId){ae=de.stack.pop();break}H.captureIndices&&H.captureIndices.length&&(le.produce(de.stack,H.captureIndices[0].start),E(M,V,K,de.stack,le,de.rule.whileCaptures,H.captureIndices),le.produce(de.stack,H.captureIndices[0].end),ne=H.captureIndices[0].end,H.captureIndices[0].end>J&&(J=H.captureIndices[0].end,K=!1))}return{stack:ae,linePos:J,anchorPosition:ne,isFirstLine:K}}(v,T,x,w,u,_);u=I.stack,w=I.linePos,x=I.isFirstLine,b=I.anchorPosition}const A=Date.now();for(;!h;){if(m!==0&&Date.now()-A>m)return new f(u,!0);j()}return new f(u,!1);function j(){l.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${w}: |${T.content.substr(w).replace(/\n$/,"\\n")}|`));const I=function(J,ae,le,ne,ce,de){const ue=function(je,Ye,P,R,O,F){const $=O.getRule(je),{ruleScanner:G,findOptions:q}=L($,je,O.endRule,P,R===F);let U=0;l.DebugFlags.InDebugMode&&(U=d.performanceNow());const W=G.findNextMatchSync(Ye,R,q);if(l.DebugFlags.InDebugMode){const D=d.performanceNow()-U;D>5&&console.warn(`Rule ${$.debugName} (${$.id}) matching took ${D} against '${Ye}'`),console.log(` scanning for (linePos: ${R}, anchorPosition: ${F})`),console.log(G.toString()),W&&console.log(`matched rule id: ${W.ruleId} from ${W.captureIndices[0].start} to ${W.captureIndices[0].end}`)}return W?{captureIndices:W.captureIndices,matchedRuleId:W.ruleId}:null}(J,ae,le,ne,ce,de),me=J.getInjections();if(me.length===0)return ue;const H=function(je,Ye,P,R,O,F,$){let G,q=Number.MAX_VALUE,U=null,W=0;const D=F.contentNameScopesList.getScopeNames();for(let Q=0,C=je.length;Q<C;Q++){const B=je[Q];if(!B.matcher(D))continue;const z=Ye.getRule(B.ruleId),{ruleScanner:ee,findOptions:Z}=L(z,Ye,null,R,O===$),X=ee.findNextMatchSync(P,O,Z);if(!X)continue;l.DebugFlags.InDebugMode&&(console.log(` matched injection: ${B.debugSelector}`),console.log(ee.toString()));const ie=X.captureIndices[0].start;if(!(ie>=q)&&(q=ie,U=X.captureIndices,G=X.ruleId,W=B.priority,q===O))break}return U?{priorityMatch:W===-1,captureIndices:U,matchedRuleId:G}:null}(me,J,ae,le,ne,ce,de);if(!H)return ue;if(!ue)return H;const ve=ue.captureIndices[0].start,fe=H.captureIndices[0].start;return fe<ve||H.priorityMatch&&fe===ve?H:ue}(v,T,x,w,u,b);if(!I)return l.DebugFlags.InDebugMode&&console.log(" no more matches."),_.produce(u,k),void(h=!0);const M=I.captureIndices,V=I.matchedRuleId,K=!!(M&&M.length>0)&&M[0].end>w;if(V===a.endRuleId){const J=u.getRule(v);l.DebugFlags.InDebugMode&&console.log(" popping "+J.debugName+" - "+J.debugEndRegExp),_.produce(u,M[0].start),u=u.withContentNameScopesList(u.nameScopesList),E(v,T,x,u,_,J.endCaptures,M),_.produce(u,M[0].end);const ae=u;if(u=u.parent,b=ae.getAnchorPos(),!K&&ae.getEnterPos()===w)return l.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),u=ae,_.produce(u,k),void(h=!0)}else{const J=v.getRule(V);_.produce(u,M[0].start);const ae=u,le=J.getName(T.content,M),ne=u.contentNameScopesList.pushAttributed(le,v);if(u=u.push(V,w,b,M[0].end===k,null,ne,ne),J instanceof a.BeginEndRule){const ce=J;l.DebugFlags.InDebugMode&&console.log(" pushing "+ce.debugName+" - "+ce.debugBeginRegExp),E(v,T,x,u,_,ce.beginCaptures,M),_.produce(u,M[0].end),b=M[0].end;const de=ce.getContentName(T.content,M),ue=ne.pushAttributed(de,v);if(u=u.withContentNameScopesList(ue),ce.endHasBackReferences&&(u=u.withEndRule(ce.getEndWithResolvedBackReferences(T.content,M))),!K&&ae.hasSameRuleAs(u))return l.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),_.produce(u,k),void(h=!0)}else if(J instanceof a.BeginWhileRule){const ce=J;l.DebugFlags.InDebugMode&&console.log(" pushing "+ce.debugName),E(v,T,x,u,_,ce.beginCaptures,M),_.produce(u,M[0].end),b=M[0].end;const de=ce.getContentName(T.content,M),ue=ne.pushAttributed(de,v);if(u=u.withContentNameScopesList(ue),ce.whileHasBackReferences&&(u=u.withEndRule(ce.getWhileWithResolvedBackReferences(T.content,M))),!K&&ae.hasSameRuleAs(u))return l.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),_.produce(u,k),void(h=!0)}else{const ce=J;if(l.DebugFlags.InDebugMode&&console.log(" matched "+ce.debugName+" - "+ce.debugMatchRegExp),E(v,T,x,u,_,ce.captures,M),_.produce(u,M[0].end),u=u.pop(),!K)return l.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),u=u.safePop(),_.produce(u,k),void(h=!0)}}M[0].end>w&&(w=M[0].end,x=!1)}}function L(v,T,x,w,u){return l.UseOnigurumaFindOptions?{ruleScanner:v.compile(T,x),findOptions:S(w,u)}:{ruleScanner:v.compileAG(T,x,w,u),findOptions:0}}function y(v,T,x,w,u){return l.UseOnigurumaFindOptions?{ruleScanner:v.compileWhile(T,x),findOptions:S(w,u)}:{ruleScanner:v.compileWhileAG(T,x,w,u),findOptions:0}}function S(v,T){let x=0;return v||(x|=1),T||(x|=4),x}function E(v,T,x,w,u,_,g){if(_.length===0)return;const m=T.content,k=Math.min(_.length,g.length),h=[],b=g[0].end;for(let A=0;A<k;A++){const j=_[A];if(j===null)continue;const I=g[A];if(I.length===0)continue;if(I.start>b)break;for(;h.length>0&&h[h.length-1].endPos<=I.start;)u.produceFromScopes(h[h.length-1].scopes,h[h.length-1].endPos),h.pop();if(h.length>0?u.produceFromScopes(h[h.length-1].scopes,I.start):u.produce(w,I.start),j.retokenizeCapturedWithRuleId){const V=j.getName(m,g),K=w.contentNameScopesList.pushAttributed(V,v),J=j.getContentName(m,g),ae=K.pushAttributed(J,v),le=w.push(j.retokenizeCapturedWithRuleId,I.start,-1,!1,null,K,ae),ne=v.createOnigString(m.substring(0,I.end));p(v,ne,x&&I.start===0,I.start,le,u,!1,0),c.disposeOnigString(ne);continue}const M=j.getName(m,g);if(M!==null){const V=(h.length>0?h[h.length-1].scopes:w.contentNameScopesList).pushAttributed(M,v);h.push(new N(V,I.end))}}for(;h.length>0;)u.produceFromScopes(h[h.length-1].scopes,h[h.length-1].endPos),h.pop()}r._tokenizeString=p;class N{constructor(T,x){this.scopes=T,this.endPos=x}}r.LocalStackElement=N},974:(o,r)=>{function i(d,f){throw new Error("Near offset "+d.pos+": "+f+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(r,"__esModule",{value:!0}),r.parseJSON=void 0,r.parseJSON=function(d,f,p){let L=new l(d),y=new c,S=0,E=null,N=[],v=[];function T(){N.push(S),v.push(E)}function x(){S=N.pop(),E=v.pop()}function w(u){i(L,u)}for(;a(L,y);){if(S===0){if(E!==null&&w("too many constructs in root"),y.type===3){E={},p&&(E.$vscodeTextmateLocation=y.toLocation(f)),T(),S=1;continue}if(y.type===2){E=[],T(),S=4;continue}w("unexpected token in root")}if(S===2){if(y.type===5){x();continue}if(y.type===7){S=3;continue}w("expected , or }")}if(S===1||S===3){if(S===1&&y.type===5){x();continue}if(y.type===1){let u=y.value;if(a(L,y)&&y.type===6||w("expected colon"),a(L,y)||w("expected value"),S=2,y.type===1){E[u]=y.value;continue}if(y.type===8){E[u]=null;continue}if(y.type===9){E[u]=!0;continue}if(y.type===10){E[u]=!1;continue}if(y.type===11){E[u]=parseFloat(y.value);continue}if(y.type===2){let _=[];E[u]=_,T(),S=4,E=_;continue}if(y.type===3){let _={};p&&(_.$vscodeTextmateLocation=y.toLocation(f)),E[u]=_,T(),S=1,E=_;continue}}w("unexpected token in dict")}if(S===5){if(y.type===4){x();continue}if(y.type===7){S=6;continue}w("expected , or ]")}if(S===4||S===6){if(S===4&&y.type===4){x();continue}if(S=5,y.type===1){E.push(y.value);continue}if(y.type===8){E.push(null);continue}if(y.type===9){E.push(!0);continue}if(y.type===10){E.push(!1);continue}if(y.type===11){E.push(parseFloat(y.value));continue}if(y.type===2){let u=[];E.push(u),T(),S=4,E=u;continue}if(y.type===3){let u={};p&&(u.$vscodeTextmateLocation=y.toLocation(f)),E.push(u),T(),S=1,E=u;continue}w("unexpected token in array")}w("unknown state")}return v.length!==0&&w("unclosed constructs"),E};class l{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function a(d,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let p,L=d.source,y=d.pos,S=d.len,E=d.line,N=d.char;for(;;){if(y>=S)return!1;if(p=L.charCodeAt(y),p!==32&&p!==9&&p!==13){if(p!==10)break;y++,E++,N=0}else y++,N++}if(f.offset=y,f.line=E,f.char=N,p===34){for(f.type=1,y++,N++;;){if(y>=S)return!1;if(p=L.charCodeAt(y),y++,N++,p!==92){if(p===34)break}else y++,N++}f.value=L.substring(f.offset+1,y-1).replace(/\\u([0-9A-Fa-f]{4})/g,(v,T)=>String.fromCodePoint(parseInt(T,16))).replace(/\\(.)/g,(v,T)=>{switch(T){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
3
- `;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(p===91)f.type=2,y++,N++;else if(p===123)f.type=3,y++,N++;else if(p===93)f.type=4,y++,N++;else if(p===125)f.type=5,y++,N++;else if(p===58)f.type=6,y++,N++;else if(p===44)f.type=7,y++,N++;else if(p===110){if(f.type=8,y++,N++,p=L.charCodeAt(y),p!==117||(y++,N++,p=L.charCodeAt(y),p!==108)||(y++,N++,p=L.charCodeAt(y),p!==108))return!1;y++,N++}else if(p===116){if(f.type=9,y++,N++,p=L.charCodeAt(y),p!==114||(y++,N++,p=L.charCodeAt(y),p!==117)||(y++,N++,p=L.charCodeAt(y),p!==101))return!1;y++,N++}else if(p===102){if(f.type=10,y++,N++,p=L.charCodeAt(y),p!==97||(y++,N++,p=L.charCodeAt(y),p!==108)||(y++,N++,p=L.charCodeAt(y),p!==115)||(y++,N++,p=L.charCodeAt(y),p!==101))return!1;y++,N++}else for(f.type=11;;){if(y>=S)return!1;if(p=L.charCodeAt(y),!(p===46||p>=48&&p<=57||p===101||p===69||p===45||p===43))break;y++,N++}return f.len=y-f.offset,f.value===null&&(f.value=L.substr(f.offset,f.len)),d.pos=y,d.line=E,d.char=N,!0}},787:function(o,r,i){var l=this&&this.__createBinding||(Object.create?function(y,S,E,N){N===void 0&&(N=E),Object.defineProperty(y,N,{enumerable:!0,get:function(){return S[E]}})}:function(y,S,E,N){N===void 0&&(N=E),y[N]=S[E]}),c=this&&this.__exportStar||function(y,S){for(var E in y)E==="default"||Object.prototype.hasOwnProperty.call(S,E)||l(S,y,E)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=r.INITIAL=r.Registry=void 0;const a=i(391),d=i(50),f=i(652),p=i(583),L=i(965);c(i(44),r),r.Registry=class{constructor(y){this._options=y,this._syncRegistry=new f.SyncRegistry(p.Theme.createFromRawTheme(y.theme,y.colorMap),y.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(y,S){this._syncRegistry.setTheme(p.Theme.createFromRawTheme(y,S))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(y,S,E){return this.loadGrammarWithConfiguration(y,S,{embeddedLanguages:E})}loadGrammarWithConfiguration(y,S,E){return this._loadGrammar(y,S,E.embeddedLanguages,E.tokenTypes,new a.BalancedBracketSelectors(E.balancedBracketSelectors||[],E.unbalancedBracketSelectors||[]))}loadGrammar(y){return this._loadGrammar(y,0,null,null,null)}async _loadGrammar(y,S,E,N,v){const T=new L.ScopeDependencyProcessor(this._syncRegistry,y);for(;T.Q.length>0;)await Promise.all(T.Q.map(x=>this._loadSingleGrammar(x.scopeName))),T.processQueue();return this._grammarForScopeName(y,S,E,N,v)}async _loadSingleGrammar(y){return this._ensureGrammarCache.has(y)||this._ensureGrammarCache.set(y,this._doLoadSingleGrammar(y)),this._ensureGrammarCache.get(y)}async _doLoadSingleGrammar(y){const S=await this._options.loadGrammar(y);if(S){const E=typeof this._options.getInjections=="function"?this._options.getInjections(y):void 0;this._syncRegistry.addGrammar(S,E)}}async addGrammar(y,S=[],E=0,N=null){return this._syncRegistry.addGrammar(y,S),await this._grammarForScopeName(y.scopeName,E,N)}_grammarForScopeName(y,S=0,E=null,N=null,v=null){return this._syncRegistry.grammarForScopeName(y,S,E,N,v)}},r.INITIAL=a.StateStack.NULL,r.parseRawGrammar=d.parseRawGrammar},736:(o,r)=>{function i(l){return!!l&&!!l.match(/[\w\.:]+/)}Object.defineProperty(r,"__esModule",{value:!0}),r.createMatchers=void 0,r.createMatchers=function(l,c){const a=[],d=function(y){let S=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,E=S.exec(y);return{next:()=>{if(!E)return null;const N=E[0];return E=S.exec(y),N}}}(l);let f=d.next();for(;f!==null;){let y=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=d.next()}let S=L();if(a.push({matcher:S,priority:y}),f!==",")break;f=d.next()}return a;function p(){if(f==="-"){f=d.next();const y=p();return S=>!!y&&!y(S)}if(f==="("){f=d.next();const y=function(){const S=[];let E=L();for(;E&&(S.push(E),f==="|"||f===",");){do f=d.next();while(f==="|"||f===",");E=L()}return N=>S.some(v=>v(N))}();return f===")"&&(f=d.next()),y}if(i(f)){const y=[];do y.push(f),f=d.next();while(i(f));return S=>c(y,S)}return null}function L(){const y=[];let S=p();for(;S;)y.push(S),S=p();return E=>y.every(N=>N(E))}}},44:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.disposeOnigString=void 0,r.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=void 0;const l=i(69),c=i(350),a=i(974);r.parseRawGrammar=function(d,f=null){return f!==null&&/\.json$/.test(f)?(p=d,L=f,c.DebugFlags.InDebugMode?a.parseJSON(p,L,!0):JSON.parse(p)):function(y,S){return c.DebugFlags.InDebugMode?l.parseWithLocation(y,S,"$vscodeTextmateLocation"):l.parsePLIST(y)}(d,f);var p,L}},69:(o,r)=>{function i(l,c,a){const d=l.length;let f=0,p=1,L=0;function y(H){if(a===null)f+=H;else for(;H>0;)l.charCodeAt(f)===10?(f++,p++,L=0):(f++,L++),H--}function S(H){a===null?f=H:y(H-f)}function E(){for(;f<d;){let H=l.charCodeAt(f);if(H!==32&&H!==9&&H!==13&&H!==10)break;y(1)}}function N(H){return l.substr(f,H.length)===H&&(y(H.length),!0)}function v(H){let ve=l.indexOf(H,f);S(ve!==-1?ve+H.length:d)}function T(H){let ve=l.indexOf(H,f);if(ve!==-1){let fe=l.substring(f,ve);return S(ve+H.length),fe}{let fe=l.substr(f);return S(d),fe}}d>0&&l.charCodeAt(0)===65279&&(f=1);let x=0,w=null,u=[],_=[],g=null;function m(H,ve){u.push(x),_.push(w),x=H,w=ve}function k(){if(u.length===0)return h("illegal state stack");x=u.pop(),w=_.pop()}function h(H){throw new Error("Near offset "+f+": "+H+" ~~~"+l.substr(f,50)+"~~~")}const b=function(){if(g===null)return h("missing <key>");let H={};a!==null&&(H[a]={filename:c,line:p,char:L}),w[g]=H,g=null,m(1,H)},A=function(){if(g===null)return h("missing <key>");let H=[];w[g]=H,g=null,m(2,H)},j=function(){let H={};a!==null&&(H[a]={filename:c,line:p,char:L}),w.push(H),m(1,H)},I=function(){let H=[];w.push(H),m(2,H)};function M(){if(x!==1)return h("unexpected </dict>");k()}function V(){return x===1||x!==2?h("unexpected </array>"):void k()}function K(H){if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function J(H){if(isNaN(H))return h("cannot parse float");if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function ae(H){if(isNaN(H))return h("cannot parse integer");if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function le(H){if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function ne(H){if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function ce(H){if(x===1){if(g===null)return h("missing <key>");w[g]=H,g=null}else x===2?w.push(H):w=H}function de(){let H=T(">"),ve=!1;return H.charCodeAt(H.length-1)===47&&(ve=!0,H=H.substring(0,H.length-1)),{name:H.trim(),isClosed:ve}}function ue(H){if(H.isClosed)return"";let ve=T("</");return v(">"),ve.replace(/&#([0-9]+);/g,function(fe,je){return String.fromCodePoint(parseInt(je,10))}).replace(/&#x([0-9a-f]+);/g,function(fe,je){return String.fromCodePoint(parseInt(je,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(fe){switch(fe){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return fe})}for(;f<d&&(E(),!(f>=d));){const H=l.charCodeAt(f);if(y(1),H!==60)return h("expected <");if(f>=d)return h("unexpected end of input");const ve=l.charCodeAt(f);if(ve===63){y(1),v("?>");continue}if(ve===33){if(y(1),N("--")){v("-->");continue}v(">");continue}if(ve===47){if(y(1),E(),N("plist")){v(">");continue}if(N("dict")){v(">"),M();continue}if(N("array")){v(">"),V();continue}return h("unexpected closed tag")}let fe=de();switch(fe.name){case"dict":x===1?b():x===2?j():(w={},a!==null&&(w[a]={filename:c,line:p,char:L}),m(1,w)),fe.isClosed&&M();continue;case"array":x===1?A():x===2?I():(w=[],m(2,w)),fe.isClosed&&V();continue;case"key":me=ue(fe),x!==1?h("unexpected <key>"):g!==null?h("too many <key>"):g=me;continue;case"string":K(ue(fe));continue;case"real":J(parseFloat(ue(fe)));continue;case"integer":ae(parseInt(ue(fe),10));continue;case"date":le(new Date(ue(fe)));continue;case"data":ne(ue(fe));continue;case"true":ue(fe),ce(!0);continue;case"false":ue(fe),ce(!1);continue}if(!/^plist/.test(fe.name))return h("unexpected opened tag "+fe.name)}var me;return w}Object.defineProperty(r,"__esModule",{value:!0}),r.parsePLIST=r.parseWithLocation=void 0,r.parseWithLocation=function(l,c,a){return i(l,c,a)},r.parsePLIST=function(l){return i(l,null,null)}},652:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SyncRegistry=void 0;const l=i(391);r.SyncRegistry=class{constructor(c,a){this._onigLibPromise=a,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,a){this._rawGrammars.set(c.scopeName,c),a&&this._injectionGrammars.set(c.scopeName,a)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,a,d,f,p){if(!this._grammars.has(c)){let L=this._rawGrammars.get(c);if(!L)return null;this._grammars.set(c,l.createGrammar(c,L,a,d,f,p,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.CompiledRule=r.RegExpSourceList=r.RegExpSource=r.RuleFactory=r.BeginWhileRule=r.BeginEndRule=r.IncludeOnlyRule=r.MatchRule=r.CaptureRule=r.Rule=r.ruleIdToNumber=r.ruleIdFromNumber=r.whileRuleId=r.endRuleId=void 0;const l=i(878),c=i(965),a=/\\(\d+)/,d=/\\(\d+)/g;r.endRuleId=-1,r.whileRuleId=-2,r.ruleIdFromNumber=function(w){return w},r.ruleIdToNumber=function(w){return w};class f{constructor(u,_,g,m){this.$location=u,this.id=_,this._name=g||null,this._nameIsCapturing=l.RegexSource.hasCaptures(this._name),this._contentName=m||null,this._contentNameIsCapturing=l.RegexSource.hasCaptures(this._contentName)}get debugName(){const u=this.$location?`${l.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${u}`}getName(u,_){return this._nameIsCapturing&&this._name!==null&&u!==null&&_!==null?l.RegexSource.replaceCaptures(this._name,u,_):this._name}getContentName(u,_){return this._contentNameIsCapturing&&this._contentName!==null?l.RegexSource.replaceCaptures(this._contentName,u,_):this._contentName}}r.Rule=f;class p extends f{constructor(u,_,g,m,k){super(u,_,g,m),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(u,_){throw new Error("Not supported!")}compile(u,_){throw new Error("Not supported!")}compileAG(u,_,g,m){throw new Error("Not supported!")}}r.CaptureRule=p;class L extends f{constructor(u,_,g,m,k){super(u,_,g,null),this._match=new v(m,this.id),this.captures=k,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(u,_){_.push(this._match)}compile(u,_){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,_,g,m){return this._getCachedCompiledPatterns(u).compileAG(u,g,m)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new T,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.MatchRule=L;class y extends f{constructor(u,_,g,m,k){super(u,_,g,m),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(u,_){for(const g of this.patterns)u.getRule(g).collectPatterns(u,_)}compile(u,_){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,_,g,m){return this._getCachedCompiledPatterns(u).compileAG(u,g,m)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new T,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.IncludeOnlyRule=y;class S extends f{constructor(u,_,g,m,k,h,b,A,j,I){super(u,_,g,m),this._begin=new v(k,this.id),this.beginCaptures=h,this._end=new v(b||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=A,this.applyEndPatternLast=j||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(u,_){return this._end.resolveBackReferences(u,_)}collectPatterns(u,_){_.push(this._begin)}compile(u,_){return this._getCachedCompiledPatterns(u,_).compile(u)}compileAG(u,_,g,m){return this._getCachedCompiledPatterns(u,_).compileAG(u,g,m)}_getCachedCompiledPatterns(u,_){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new T;for(const g of this.patterns)u.getRule(g).collectPatterns(u,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,_):this._cachedCompiledPatterns.setSource(0,_)),this._cachedCompiledPatterns}}r.BeginEndRule=S;class E extends f{constructor(u,_,g,m,k,h,b,A,j){super(u,_,g,m),this._begin=new v(k,this.id),this.beginCaptures=h,this.whileCaptures=A,this._while=new v(b,r.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=j.patterns,this.hasMissingPatterns=j.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(u,_){return this._while.resolveBackReferences(u,_)}collectPatterns(u,_){_.push(this._begin)}compile(u,_){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,_,g,m){return this._getCachedCompiledPatterns(u).compileAG(u,g,m)}_getCachedCompiledPatterns(u){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new T;for(const _ of this.patterns)u.getRule(_).collectPatterns(u,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(u,_){return this._getCachedCompiledWhilePatterns(u,_).compile(u)}compileWhileAG(u,_,g,m){return this._getCachedCompiledWhilePatterns(u,_).compileAG(u,g,m)}_getCachedCompiledWhilePatterns(u,_){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new T,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,_||"￿"),this._cachedCompiledWhilePatterns}}r.BeginWhileRule=E;class N{static createCaptureRule(u,_,g,m,k){return u.registerRule(h=>new p(_,h,g,m,k))}static getCompiledRuleId(u,_,g){return u.id||_.registerRule(m=>{if(u.id=m,u.match)return new L(u.$vscodeTextmateLocation,u.id,u.name,u.match,N._compileCaptures(u.captures,_,g));if(u.begin===void 0){u.repository&&(g=l.mergeObjects({},g,u.repository));let k=u.patterns;return k===void 0&&u.include&&(k=[{include:u.include}]),new y(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,N._compilePatterns(k,_,g))}return u.while?new E(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,N._compileCaptures(u.beginCaptures||u.captures,_,g),u.while,N._compileCaptures(u.whileCaptures||u.captures,_,g),N._compilePatterns(u.patterns,_,g)):new S(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,N._compileCaptures(u.beginCaptures||u.captures,_,g),u.end,N._compileCaptures(u.endCaptures||u.captures,_,g),u.applyEndPatternLast,N._compilePatterns(u.patterns,_,g))}),u.id}static _compileCaptures(u,_,g){let m=[];if(u){let k=0;for(const h in u){if(h==="$vscodeTextmateLocation")continue;const b=parseInt(h,10);b>k&&(k=b)}for(let h=0;h<=k;h++)m[h]=null;for(const h in u){if(h==="$vscodeTextmateLocation")continue;const b=parseInt(h,10);let A=0;u[h].patterns&&(A=N.getCompiledRuleId(u[h],_,g)),m[b]=N.createCaptureRule(_,u[h].$vscodeTextmateLocation,u[h].name,u[h].contentName,A)}}return m}static _compilePatterns(u,_,g){let m=[];if(u)for(let k=0,h=u.length;k<h;k++){const b=u[k];let A=-1;if(b.include){const j=c.parseInclude(b.include);switch(j.kind){case 0:case 1:A=N.getCompiledRuleId(g[b.include],_,g);break;case 2:let I=g[j.ruleName];I&&(A=N.getCompiledRuleId(I,_,g));break;case 3:case 4:const M=j.scopeName,V=j.kind===4?j.ruleName:null,K=_.getExternalGrammar(M,g);if(K)if(V){let J=K.repository[V];J&&(A=N.getCompiledRuleId(J,_,K.repository))}else A=N.getCompiledRuleId(K.repository.$self,_,K.repository)}}else A=N.getCompiledRuleId(b,_,g);if(A!==-1){const j=_.getRule(A);let I=!1;if((j instanceof y||j instanceof S||j instanceof E)&&j.hasMissingPatterns&&j.patterns.length===0&&(I=!0),I)continue;m.push(A)}}return{patterns:m,hasMissingPatterns:(u?u.length:0)!==m.length}}}r.RuleFactory=N;class v{constructor(u,_){if(u){const g=u.length;let m=0,k=[],h=!1;for(let b=0;b<g;b++)if(u.charAt(b)==="\\"&&b+1<g){const A=u.charAt(b+1);A==="z"?(k.push(u.substring(m,b)),k.push("$(?!\\n)(?<!\\n)"),m=b+2):A!=="A"&&A!=="G"||(h=!0),b++}this.hasAnchor=h,m===0?this.source=u:(k.push(u.substring(m,g)),this.source=k.join(""))}else this.hasAnchor=!1,this.source=u;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=_,this.hasBackReferences=a.test(this.source)}clone(){return new v(this.source,this.ruleId)}setSource(u){this.source!==u&&(this.source=u,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(u,_){let g=_.map(m=>u.substring(m.start,m.end));return d.lastIndex=0,this.source.replace(d,(m,k)=>l.escapeRegExpCharacters(g[parseInt(k,10)]||""))}_buildAnchorCache(){let u,_,g,m,k=[],h=[],b=[],A=[];for(u=0,_=this.source.length;u<_;u++)g=this.source.charAt(u),k[u]=g,h[u]=g,b[u]=g,A[u]=g,g==="\\"&&u+1<_&&(m=this.source.charAt(u+1),m==="A"?(k[u+1]="￿",h[u+1]="￿",b[u+1]="A",A[u+1]="A"):m==="G"?(k[u+1]="￿",h[u+1]="G",b[u+1]="￿",A[u+1]="G"):(k[u+1]=m,h[u+1]=m,b[u+1]=m,A[u+1]=m),u++);return{A0_G0:k.join(""),A0_G1:h.join(""),A1_G0:b.join(""),A1_G1:A.join("")}}resolveAnchors(u,_){return this.hasAnchor&&this._anchorCache?u?_?this._anchorCache.A1_G1:this._anchorCache.A1_G0:_?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}r.RegExpSource=v;class T{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(u){this._items.push(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}unshift(u){this._items.unshift(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}length(){return this._items.length}setSource(u,_){this._items[u].source!==_&&(this._disposeCaches(),this._items[u].setSource(_))}compile(u){if(!this._cached){let _=this._items.map(g=>g.source);this._cached=new x(u,_,this._items.map(g=>g.ruleId))}return this._cached}compileAG(u,_,g){return this._hasAnchors?_?g?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(u,_,g)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(u,_,g)),this._anchorCache.A1_G0):g?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(u,_,g)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(u,_,g)),this._anchorCache.A0_G0):this.compile(u)}_resolveAnchors(u,_,g){let m=this._items.map(k=>k.resolveAnchors(_,g));return new x(u,m,this._items.map(k=>k.ruleId))}}r.RegExpSourceList=T;class x{constructor(u,_,g){this.regExps=_,this.rules=g,this.scanner=u.createOnigScanner(_)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const u=[];for(let _=0,g=this.rules.length;_<g;_++)u.push(" - "+this.rules[_]+": "+this.regExps[_]);return u.join(`
4
- `)}findNextMatchSync(u,_,g){const m=this.scanner.findNextMatchSync(u,_,g);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}r.CompiledRule=x},583:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ThemeTrieElement=r.ThemeTrieElementRule=r.ColorMap=r.fontStyleToString=r.ParsedThemeRule=r.parseTheme=r.StyleAttributes=r.ScopeStack=r.Theme=void 0;const l=i(878);class c{constructor(v,T,x){this._colorMap=v,this._defaults=T,this._root=x,this._cachedMatchRoot=new l.CachedFn(w=>this._root.match(w))}static createFromRawTheme(v,T){return this.createFromParsedTheme(p(v),T)}static createFromParsedTheme(v,T){return function(x,w){x.sort((b,A)=>{let j=l.strcmp(b.scope,A.scope);return j!==0?j:(j=l.strArrCmp(b.parentScopes,A.parentScopes),j!==0?j:b.index-A.index)});let u=0,_="#000000",g="#ffffff";for(;x.length>=1&&x[0].scope==="";){let b=x.shift();b.fontStyle!==-1&&(u=b.fontStyle),b.foreground!==null&&(_=b.foreground),b.background!==null&&(g=b.background)}let m=new y(w),k=new f(u,m.getId(_),m.getId(g)),h=new E(new S(0,null,-1,0,0),[]);for(let b=0,A=x.length;b<A;b++){let j=x[b];h.insert(0,j.scope,j.parentScopes,j.fontStyle,m.getId(j.foreground),m.getId(j.background))}return new c(m,k,h)}(v,T)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(v){if(v===null)return this._defaults;const T=v.scopeName,x=this._cachedMatchRoot.get(T).find(w=>function(u,_){if(_===null)return!0;let g=0,m=_[g];for(;u;){if(d(u.scopeName,m)){if(g++,g===_.length)return!0;m=_[g]}u=u.parent}return!1}(v.parent,w.parentScopes));return x?new f(x.fontStyle,x.foreground,x.background):null}}r.Theme=c;class a{constructor(v,T){this.parent=v,this.scopeName=T}static from(...v){let T=null;for(let x=0;x<v.length;x++)T=new a(T,v[x]);return T}push(v){return new a(this,v)}getSegments(){let v=this;const T=[];for(;v;)T.push(v.scopeName),v=v.parent;return T.reverse(),T}toString(){return this.getSegments().join(" ")}}function d(N,v){return v===N||N.startsWith(v)&&N[v.length]==="."}r.ScopeStack=a;class f{constructor(v,T,x){this.fontStyle=v,this.foregroundId=T,this.backgroundId=x}}function p(N){if(!N)return[];if(!N.settings||!Array.isArray(N.settings))return[];let v=N.settings,T=[],x=0;for(let w=0,u=v.length;w<u;w++){let _,g=v[w];if(!g.settings)continue;if(typeof g.scope=="string"){let b=g.scope;b=b.replace(/^[,]+/,""),b=b.replace(/[,]+$/,""),_=b.split(",")}else _=Array.isArray(g.scope)?g.scope:[""];let m=-1;if(typeof g.settings.fontStyle=="string"){m=0;let b=g.settings.fontStyle.split(" ");for(let A=0,j=b.length;A<j;A++)switch(b[A]){case"italic":m|=1;break;case"bold":m|=2;break;case"underline":m|=4;break;case"strikethrough":m|=8}}let k=null;typeof g.settings.foreground=="string"&&l.isValidHexColor(g.settings.foreground)&&(k=g.settings.foreground);let h=null;typeof g.settings.background=="string"&&l.isValidHexColor(g.settings.background)&&(h=g.settings.background);for(let b=0,A=_.length;b<A;b++){let j=_[b].trim().split(" "),I=j[j.length-1],M=null;j.length>1&&(M=j.slice(0,j.length-1),M.reverse()),T[x++]=new L(I,M,w,m,k,h)}}return T}r.StyleAttributes=f,r.parseTheme=p;class L{constructor(v,T,x,w,u,_){this.scope=v,this.parentScopes=T,this.index=x,this.fontStyle=w,this.foreground=u,this.background=_}}r.ParsedThemeRule=L,r.fontStyleToString=function(N){if(N===-1)return"not set";let v="";return 1&N&&(v+="italic "),2&N&&(v+="bold "),4&N&&(v+="underline "),8&N&&(v+="strikethrough "),v===""&&(v="none"),v.trim()};class y{constructor(v){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(v)){this._isFrozen=!0;for(let T=0,x=v.length;T<x;T++)this._color2id[v[T]]=T,this._id2color[T]=v[T]}else this._isFrozen=!1}getId(v){if(v===null)return 0;v=v.toUpperCase();let T=this._color2id[v];if(T)return T;if(this._isFrozen)throw new Error(`Missing color in color map - ${v}`);return T=++this._lastColorId,this._color2id[v]=T,this._id2color[T]=v,T}getColorMap(){return this._id2color.slice(0)}}r.ColorMap=y;class S{constructor(v,T,x,w,u){this.scopeDepth=v,this.parentScopes=T,this.fontStyle=x,this.foreground=w,this.background=u}clone(){return new S(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(v){let T=[];for(let x=0,w=v.length;x<w;x++)T[x]=v[x].clone();return T}acceptOverwrite(v,T,x,w){this.scopeDepth>v?console.log("how did this happen?"):this.scopeDepth=v,T!==-1&&(this.fontStyle=T),x!==0&&(this.foreground=x),w!==0&&(this.background=w)}}r.ThemeTrieElementRule=S;class E{constructor(v,T=[],x={}){this._mainRule=v,this._children=x,this._rulesWithParentScopes=T}static _sortBySpecificity(v){return v.length===1||v.sort(this._cmpBySpecificity),v}static _cmpBySpecificity(v,T){if(v.scopeDepth===T.scopeDepth){const x=v.parentScopes,w=T.parentScopes;let u=x===null?0:x.length,_=w===null?0:w.length;if(u===_)for(let g=0;g<u;g++){const m=x[g].length,k=w[g].length;if(m!==k)return k-m}return _-u}return T.scopeDepth-v.scopeDepth}match(v){if(v==="")return E._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let T,x,w=v.indexOf(".");return w===-1?(T=v,x=""):(T=v.substring(0,w),x=v.substring(w+1)),this._children.hasOwnProperty(T)?this._children[T].match(x):E._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(v,T,x,w,u,_){if(T==="")return void this._doInsertHere(v,x,w,u,_);let g,m,k,h=T.indexOf(".");h===-1?(g=T,m=""):(g=T.substring(0,h),m=T.substring(h+1)),this._children.hasOwnProperty(g)?k=this._children[g]:(k=new E(this._mainRule.clone(),S.cloneArr(this._rulesWithParentScopes)),this._children[g]=k),k.insert(v+1,m,x,w,u,_)}_doInsertHere(v,T,x,w,u){if(T!==null){for(let _=0,g=this._rulesWithParentScopes.length;_<g;_++){let m=this._rulesWithParentScopes[_];if(l.strArrCmp(m.parentScopes,T)===0)return void m.acceptOverwrite(v,x,w,u)}x===-1&&(x=this._mainRule.fontStyle),w===0&&(w=this._mainRule.foreground),u===0&&(u=this._mainRule.background),this._rulesWithParentScopes.push(new S(v,T,x,w,u))}else this._mainRule.acceptOverwrite(v,x,w,u)}}r.ThemeTrieElement=E},878:(o,r)=>{function i(a){return Array.isArray(a)?function(d){let f=[];for(let p=0,L=d.length;p<L;p++)f[p]=i(d[p]);return f}(a):typeof a=="object"?function(d){let f={};for(let p in d)f[p]=i(d[p]);return f}(a):a}Object.defineProperty(r,"__esModule",{value:!0}),r.performanceNow=r.CachedFn=r.escapeRegExpCharacters=r.isValidHexColor=r.strArrCmp=r.strcmp=r.RegexSource=r.basename=r.mergeObjects=r.clone=void 0,r.clone=function(a){return i(a)},r.mergeObjects=function(a,...d){return d.forEach(f=>{for(let p in f)a[p]=f[p]}),a},r.basename=function a(d){const f=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return f===0?d:~f==d.length-1?a(d.substring(0,d.length-1)):d.substr(1+~f)};let l=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(a,d){return a<d?-1:a>d?1:0}r.RegexSource=class{static hasCaptures(a){return a!==null&&(l.lastIndex=0,l.test(a))}static replaceCaptures(a,d,f){return a.replace(l,(p,L,y,S)=>{let E=f[parseInt(L||y,10)];if(!E)return p;{let N=d.substring(E.start,E.end);for(;N[0]===".";)N=N.substring(1);switch(S){case"downcase":return N.toLowerCase();case"upcase":return N.toUpperCase();default:return N}}})}},r.strcmp=c,r.strArrCmp=function(a,d){if(a===null&&d===null)return 0;if(!a)return-1;if(!d)return 1;let f=a.length,p=d.length;if(f===p){for(let L=0;L<f;L++){let y=c(a[L],d[L]);if(y!==0)return y}return 0}return f-p},r.isValidHexColor=function(a){return!!(/^#[0-9a-f]{6}$/i.test(a)||/^#[0-9a-f]{8}$/i.test(a)||/^#[0-9a-f]{3}$/i.test(a)||/^#[0-9a-f]{4}$/i.test(a))},r.escapeRegExpCharacters=function(a){return a.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},r.CachedFn=class{constructor(a){this.fn=a,this.cache=new Map}get(a){if(this.cache.has(a))return this.cache.get(a);const d=this.fn(a);return this.cache.set(a,d),d}},r.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function o(r){var i=s[r];if(i!==void 0)return i.exports;var l=s[r]={exports:{}};return n[r].call(l.exports,l,l.exports,o),l.exports}(787)})()})})(fl);var dl=fl.exports;const Ms=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Dream Maker"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",displayName:"Elixir",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",displayName:"Elm",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",displayName:"ERB",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",displayName:"Erlang",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",displayName:"Fish",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",displayName:"F#",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gdresource",scopeName:"source.gdresource",path:"gdresource.tmLanguage.json",displayName:"GDResource",samplePath:"gdresource.sample",embeddedLangs:["gdshader","gdscript"]},{id:"gdscript",scopeName:"source.gdscript",path:"gdscript.tmLanguage.json",displayName:"GDScript",samplePath:"gdscript.sample"},{id:"gdshader",scopeName:"source.gdshader",path:"gdshader.tmLanguage.json",displayName:"GDShader",samplePath:"gdshader.sample"},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json",displayName:"Gherkin"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",displayName:"Git Commit Message",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",displayName:"Git Rebase Message",embeddedLangs:["shellscript"]},{id:"glimmer-js",scopeName:"source.gjs",path:"glimmer-js.tmLanguage.json",displayName:"Glimmer JS",aliases:["gjs"],embeddedLangs:["javascript","handlebars"]},{id:"glimmer-ts",scopeName:"source.gts",path:"glimmer-ts.tmLanguage.json",displayName:"Glimmer TS",aliases:["gts"],embeddedLangs:["typescript","handlebars"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",displayName:"GLSL",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json",displayName:"Gnuplot"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",displayName:"Go",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",displayName:"GraphQL",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json",displayName:"Groovy"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",displayName:"Hack",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",displayName:"Ruby Haml",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",displayName:"Handlebars",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",displayName:"Haskell",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",displayName:"HashiCorp HCL",samplePath:"hcl.sample"},{id:"hjson",scopeName:"source.hjson",path:"hjson.tmLanguage.json",displayName:"Hjson",samplePath:"hjson.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json",displayName:"HLSL"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",displayName:"HTML",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"http",scopeName:"source.http",path:"http.tmLanguage.json",displayName:"HTTP",samplePath:"http.sample",embeddedLangs:["shellscript","json","xml","graphql"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",displayName:"Imba",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json",displayName:"INI",aliases:["properties"]},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",displayName:"Java",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",displayName:"JavaScript",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",displayName:"Jinja",embeddedLangs:["html"]},{id:"jison",scopeName:"source.jison",path:"jison.tmLanguage.json",displayName:"Jison",samplePath:"jison.sample",embeddedLangs:["javascript"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json",displayName:"JSON"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",displayName:"JSON5",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json",displayName:"JSON with Comments"},{id:"jsonl",scopeName:"source.json.lines",path:"jsonl.tmLanguage.json",displayName:"JSON Lines"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json",displayName:"Jsonnet"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",displayName:"JSSM",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json",displayName:"JSX"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",displayName:"Julia",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json",displayName:"Kotlin",samplePath:"kotlin.sample"},{id:"kusto",scopeName:"source.kusto",path:"kusto.tmLanguage.json",displayName:"Kusto",samplePath:"kusto.sample",aliases:["kql"]},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",displayName:"LaTeX",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",displayName:"Less",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",displayName:"Liquid",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json",displayName:"Lisp"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json",displayName:"Logo"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",displayName:"Lua",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",displayName:"Makefile",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",displayName:"Markdown",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",displayName:"Marko",embeddedLangs:["css","less","scss","javascript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json",displayName:"MATLAB"},{id:"mdx",scopeName:"source.mdx",path:"mdx.tmLanguage.json",displayName:"MDX",embeddedLangs:["tsx","toml","yaml","c","clojure","coffee","cpp","csharp","css","diff","docker","elixir","elm","erlang","go","graphql","haskell","html","ini","java","javascript","json","julia","kotlin","less","lua","make","markdown","objective-c","perl","python","r","ruby","rust","scala","scss","shellscript","sql","xml","swift","typescript"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json",displayName:"Mermaid"},{id:"narrat",scopeName:"source.narrat",path:"narrat.tmLanguage.json",displayName:"Narrat Language",samplePath:"narrat.sample",aliases:["nar"]},{id:"nextflow",scopeName:"source.nextflow",path:"nextflow.tmLanguage.json",displayName:"Nextflow",samplePath:"nextflow.sample",aliases:["nf"]},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",displayName:"Nginx",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",displayName:"Nim",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json",displayName:"Nix"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",displayName:"Objective-C",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json",displayName:"Objective-C++"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json",displayName:"OCaml"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json",displayName:"Pascal"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",displayName:"Perl",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",displayName:"PHP",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json",displayName:"PL/SQL"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json",displayName:"PostCSS"},{id:"powerquery",scopeName:"source.powerquery",path:"powerquery.tmLanguage.json",displayName:"PowerQuery",samplePath:"powerquery.sample"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",displayName:"PowerShell",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",displayName:"Prisma",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json",displayName:"Prolog"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",displayName:"Protocol Buffer 3",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",displayName:"Pug",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json",displayName:"Puppet"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json",displayName:"PureScript"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",displayName:"Python",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json",displayName:"R"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",displayName:"Perl 6",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",displayName:"ASP.NET Razor",embeddedLangs:["html","csharp"]},{id:"reg",scopeName:"source.reg",path:"reg.tmLanguage.json",displayName:"Windows Registry Script",samplePath:"reg.sample"},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",displayName:"Rel",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json",displayName:"RISC-V"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",displayName:"reStructuredText",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",displayName:"Ruby",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",displayName:"Rust",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",displayName:"SAS",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json",displayName:"Sass"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json",displayName:"Scala"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json",displayName:"Scheme"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",displayName:"SCSS",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",displayName:"ShaderLab",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",displayName:"Shell",aliases:["bash","console","sh","shell","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json",displayName:"Smalltalk"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json",displayName:"Solidity"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",displayName:"SPARQL",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json",displayName:"SQL"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json",displayName:"SSH Config"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",displayName:"Stata",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",displayName:"Stylus",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",displayName:"Svelte",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json",displayName:"Swift"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json",displayName:"SystemVerilog"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",displayName:"Tasl",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json",displayName:"Tcl"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",displayName:"TeX",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json",displayName:"TOML"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",displayName:"TSX",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",displayName:"Turtle",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",displayName:"Twig",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",displayName:"TypeScript",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",displayName:"V",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",displayName:"Visual Basic",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json",displayName:"Verilog"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json",displayName:"VHDL"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",displayName:"Vim Script",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",displayName:"Vue HTML",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",displayName:"Vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","json5","yaml","toml","graphql"]},{id:"vyper",scopeName:"source.vyper",path:"vyper.tmLanguage.json",displayName:"Vyper",samplePath:"vyper.sample",aliases:["vy"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json",displayName:"WebAssembly"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",displayName:"Wenyan",aliases:["文言"]},{id:"wgsl",scopeName:"source.wgsl",path:"wgsl.tmLanguage.json",displayName:"WGSL",samplePath:"wgsl.sample"},{id:"wolfram",scopeName:"source.wolfram",path:"wolfram.tmLanguage.json",displayName:"Wolfram",samplePath:"wolfram.sample"},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",displayName:"XML",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",displayName:"XSL",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json",displayName:"YAML",aliases:["yml"]},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",displayName:"ZenScript",samplePath:"zenscript.sample"}];var vt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(vt||{});class Fe{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Fe.getLanguageId(t),s=Fe.getTokenType(t),o=Fe.getFontStyle(t),r=Fe.getForeground(t),i=Fe.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:o,foreground:r,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,s,o,r,i){let l=Fe.getLanguageId(t),c=Fe.getTokenType(t),a=Fe.getFontStyle(t),d=Fe.getForeground(t),f=Fe.getBackground(t),p=Fe.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),s!==0&&(c=s===8?0:s),o!==-1&&(a=o),r!==0&&(d=r),i!==0&&(f=i),(l<<0|c<<8|a<<11|p<<10|d<<15|f<<24)>>>0}}function ih(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function ah(e){return e.startsWith("./")?e.slice(2):e}function pl(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function hl(...e){return e.map(ih).map(ah).join("/")}function lh(e,t){const n=new Map;for(const s of e){const o=t(s);n.has(o)?n.get(o).push(s):n.set(o,[s])}return n}function ch(e,t=!1){const n=e.length;let s=0,o="",r=0,i=16,l=0,c=0,a=0,d=0,f=0;function p(T,x){let w=0,u=0;for(;w<T||!x;){let _=e.charCodeAt(s);if(_>=48&&_<=57)u=u*16+_-48;else if(_>=65&&_<=70)u=u*16+_-65+10;else if(_>=97&&_<=102)u=u*16+_-97+10;else break;s++,w++}return w<T&&(u=-1),u}function L(T){s=T,o="",r=0,i=16,f=0}function y(){let T=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&Wt(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&Wt(e.charCodeAt(s)))for(s++;s<e.length&&Wt(e.charCodeAt(s));)s++;else return f=3,e.substring(T,s);let x=s;if(s<e.length&&(e.charCodeAt(s)===69||e.charCodeAt(s)===101))if(s++,(s<e.length&&e.charCodeAt(s)===43||e.charCodeAt(s)===45)&&s++,s<e.length&&Wt(e.charCodeAt(s))){for(s++;s<e.length&&Wt(e.charCodeAt(s));)s++;x=s}else f=3;return e.substring(T,x)}function S(){let T="",x=s;for(;;){if(s>=n){T+=e.substring(x,s),f=2;break}const w=e.charCodeAt(s);if(w===34){T+=e.substring(x,s),s++;break}if(w===92){if(T+=e.substring(x,s),s++,s>=n){f=2;break}switch(e.charCodeAt(s++)){case 34:T+='"';break;case 92:T+="\\";break;case 47:T+="/";break;case 98:T+="\b";break;case 102:T+="\f";break;case 110:T+=`
5
- `;break;case 114:T+="\r";break;case 116:T+=" ";break;case 117:const _=p(4,!0);_>=0?T+=String.fromCharCode(_):f=4;break;default:f=5}x=s;continue}if(w>=0&&w<=31)if(gn(w)){T+=e.substring(x,s),f=2;break}else f=6;s++}return T}function E(){if(o="",f=0,r=s,c=l,d=a,s>=n)return r=n,i=17;let T=e.charCodeAt(s);if(Qs(T)){do s++,o+=String.fromCharCode(T),T=e.charCodeAt(s);while(Qs(T));return i=15}if(gn(T))return s++,o+=String.fromCharCode(T),T===13&&e.charCodeAt(s)===10&&(s++,o+=`
6
- `),l++,a=s,i=14;switch(T){case 123:return s++,i=1;case 125:return s++,i=2;case 91:return s++,i=3;case 93:return s++,i=4;case 58:return s++,i=6;case 44:return s++,i=5;case 34:return s++,o=S(),i=10;case 47:const x=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!gn(e.charCodeAt(s));)s++;return o=e.substring(x,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const w=n-1;let u=!1;for(;s<w;){const _=e.charCodeAt(s);if(_===42&&e.charCodeAt(s+1)===47){s+=2,u=!0;break}s++,gn(_)&&(_===13&&e.charCodeAt(s)===10&&s++,l++,a=s)}return u||(s++,f=1),o=e.substring(x,s),i=13}return o+=String.fromCharCode(T),s++,i=16;case 45:if(o+=String.fromCharCode(T),s++,s===n||!Wt(e.charCodeAt(s)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=y(),i=11;default:for(;s<n&&N(T);)s++,T=e.charCodeAt(s);if(r!==s){switch(o=e.substring(r,s),o){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return o+=String.fromCharCode(T),s++,i=16}}function N(T){if(Qs(T)||gn(T))return!1;switch(T){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function v(){let T;do T=E();while(T>=12&&T<=15);return T}return{setPosition:L,getPosition:()=>s,scan:t?v:E,getToken:()=>i,getTokenValue:()=>o,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenStartLine:()=>c,getTokenStartCharacter:()=>r-d,getTokenError:()=>f}}function Qs(e){return e===32||e===9}function gn(e){return e===10||e===13}function Wt(e){return e>=48&&e<=57}var oi;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(oi||(oi={}));var ms;(function(e){e.DEFAULT={allowTrailingComma:!1}})(ms||(ms={}));function uh(e,t=[],n=ms.DEFAULT){let s=null,o=[];const r=[];function i(c){Array.isArray(o)?o.push(c):s!==null&&(o[s]=c)}return fh(e,{onObjectBegin:()=>{const c={};i(c),r.push(o),o=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{o=r.pop()},onArrayBegin:()=>{const c=[];i(c),r.push(o),o=c,s=null},onArrayEnd:()=>{o=r.pop()},onLiteralValue:i,onError:(c,a,d)=>{t.push({error:c,offset:a,length:d})}},n),o[0]}function fh(e,t,n=ms.DEFAULT){const s=ch(e,!1),o=[];function r(b){return b?()=>b(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(b){return b?()=>b(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}function l(b){return b?A=>b(A,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function c(b){return b?A=>b(A,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}const a=i(t.onObjectBegin),d=c(t.onObjectProperty),f=r(t.onObjectEnd),p=i(t.onArrayBegin),L=r(t.onArrayEnd),y=c(t.onLiteralValue),S=l(t.onSeparator),E=r(t.onComment),N=l(t.onError),v=n&&n.disallowComments,T=n&&n.allowTrailingComma;function x(){for(;;){const b=s.scan();switch(s.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:v||w(11);break;case 2:w(12);break;case 6:w(16);break}switch(b){case 12:case 13:v?w(10):E();break;case 16:w(1);break;case 15:case 14:break;default:return b}}}function w(b,A=[],j=[]){if(N(b),A.length+j.length>0){let I=s.getToken();for(;I!==17;){if(A.indexOf(I)!==-1){x();break}else if(j.indexOf(I)!==-1)break;I=x()}}}function u(b){const A=s.getTokenValue();return b?y(A):(d(A),o.push(A)),x(),!0}function _(){switch(s.getToken()){case 11:const b=s.getTokenValue();let A=Number(b);isNaN(A)&&(w(2),A=0),y(A);break;case 7:y(null);break;case 8:y(!0);break;case 9:y(!1);break;default:return!1}return x(),!0}function g(){return s.getToken()!==10?(w(3,[],[2,5]),!1):(u(!1),s.getToken()===6?(S(":"),x(),h()||w(4,[],[2,5])):w(5,[],[2,5]),o.pop(),!0)}function m(){a(),x();let b=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(b||w(4,[],[]),S(","),x(),s.getToken()===2&&T)break}else b&&w(6,[],[]);g()||w(4,[],[2,5]),b=!0}return f(),s.getToken()!==2?w(7,[2],[]):x(),!0}function k(){p(),x();let b=!0,A=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(A||w(4,[],[]),S(","),x(),s.getToken()===4&&T)break}else A&&w(6,[],[]);b?(o.push(0),b=!1):o[o.length-1]++,h()||w(4,[],[4,5]),A=!0}return L(),b||o.pop(),s.getToken()!==4?w(8,[4],[]):x(),!0}function h(){switch(s.getToken()){case 3:return k();case 1:return m();case 10:return u(!0);default:return _()}}return x(),s.getToken()===17?n.allowEmptyContent?!0:(w(4,[],[]),!1):h()?(s.getToken()!==17&&w(9,[],[]),!0):(w(4,[],[]),!1)}var ii;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ii||(ii={}));var ai;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(ai||(ai={}));const dh=uh;var li;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(li||(li={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let ml="";const ph="dist/";function hh(e){ml=e.endsWith("/")?e:e+"/"}let Xs=null;async function mh(e){if(!Xs){let t;t=Js.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(gl(hl(...pl(e),"onig.wasm")))}),Xs=t.then(()=>({createOnigScanner(n){return Js.createOnigScanner(n)},createOnigString(n){return Js.createOnigString(n)}}))}return Xs}function gl(e){return`${ml}${e}`}async function gh(e){const t=gl(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function yl(e){const t=[],n=await gh(e);let s;try{s=JSON.parse(n)}catch{if(s=dh(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function bl(e){let t=await yl(e);const n=_l(t);if(n.include){const s=await bl(hl(...pl(e),n.include));s.settings&&(n.settings=s.settings.concat(n.settings)),s.bg&&!n.bg&&(n.bg=s.bg),s.colors&&(n.colors={...s.colors,...n.colors}),delete n.include}return n}async function yh(e){return await yl(e)}function bh(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}function _l(e){const t=e.type||"dark",n={name:e.name,type:t,...e,..._h(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),bh(n),n}const ci={light:"#333333",dark:"#bbbbbb"},ui={light:"#fffffe",dark:"#1e1e1e"};function _h(e){var r,i,l,c;let t,n,s=e.settings?e.settings:e.tokenColors;const o=s?s.find(a=>!a.name&&!a.scope):void 0;return(r=o==null?void 0:o.settings)!=null&&r.foreground&&(t=o.settings.foreground),(i=o==null?void 0:o.settings)!=null&&i.background&&(n=o.settings.background),!t&&((l=e==null?void 0:e.colors)!=null&&l["editor.foreground"])&&(t=e.colors["editor.foreground"]),!n&&((c=e==null?void 0:e.colors)!=null&&c["editor.background"])&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?ci.light:ci.dark),n||(n=e.type==="light"?ui.light:ui.dark),{fg:t,bg:n}}class vh{constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const s=await yh(Ms.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=s,s}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function wh(e,t,n,s,o){let r=n.split(/\r\n|\r|\n/),i=dl.INITIAL,l=[],c=[];for(let a=0,d=r.length;a<d;a++){let f=r[a];if(f===""){l=[],c.push([]);continue}let p,L,y;o.includeExplanation&&(p=s.tokenizeLine(f,i),L=p.tokens,y=0);let S=s.tokenizeLine2(f,i),E=S.tokens.length/2;for(let N=0;N<E;N++){let v=S.tokens[2*N],T=N+1<E?S.tokens[2*N+2]:f.length;if(v===T)continue;let x=S.tokens[2*N+1],w=Fe.getForeground(x),u=t[w],_=Fe.getFontStyle(x),g=[];if(o.includeExplanation){let m=0;for(;v+m<T;){let k=L[y],h=f.substring(k.startIndex,k.endIndex);m+=h.length,g.push({content:h,scopes:kh(e,k.scopes)}),y++}}l.push({content:f.substring(v,T),color:u,fontStyle:_,explanation:g})}c.push(l),l=[],i=S.ruleStack}return c}function kh(e,t){let n=[];for(let s=0,o=t.length;s<o;s++){let r=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:Th(e,i,r)}}return n}function fi(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function Nh(e,t,n,s){if(!fi(e,n))return!1;let o=t.length-1,r=s.length-1;for(;o>=0&&r>=0;)fi(t[o],s[r])&&o--,r--;return o===-1}function Th(e,t,n){let s=[],o=0;for(let r=0,i=e.settings.length;r<i;r++){let l=e.settings[r],c;if(typeof l.scope=="string")c=l.scope.split(/,/).map(a=>a.trim());else if(Array.isArray(l.scope))c=l.scope;else continue;for(let a=0,d=c.length;a<d;a++){let p=c[a].split(/ /),L=p[p.length-1],y=p.slice(0,p.length-1);Nh(L,y,t,n)&&(s[o++]=l,a=d)}}return s}var ct=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ys={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function xh(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const s=e.indexOf("m",n);return{sequence:e.substring(n+2,s).split(";"),startPosition:n,position:s+1}}return{position:e.length}}function di(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(s=>Number.parseInt(s));return n.length!==3||n.some(s=>Number.isNaN(s))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function Lh(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const s=Number.parseInt(n);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)Ys[s]&&t.push({type:"setDecoration",value:Ys[s]});else if(s<=29){const o=Ys[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ct[s-30]}});else if(s===38){const o=di(e);o&&t.push({type:"setForegroundColor",value:o})}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ct[s-40]}});else if(s===48){const o=di(e);o&&t.push({type:"setBackgroundColor",value:o})}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ct[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ct[s-100+8]}})}return t}function Sh(){let e=null,t=null,n=new Set;return{parse(s){const o=[];let r=0;do{const i=xh(s,r),l=i.sequence?s.substring(r,i.startPosition):s.substring(r);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=Lh(i.sequence);for(const a of c)a.type==="resetAll"?(e=null,t=null,n.clear()):a.type==="resetForegroundColor"?e=null:a.type==="resetBackgroundColor"?t=null:a.type==="resetDecoration"&&n.delete(a.value);for(const a of c)a.type==="setForegroundColor"?e=a.value:a.type==="setBackgroundColor"?t=a.value:a.type==="setDecoration"&&n.add(a.value)}r=i.position}while(r<s.length);return o}}}var Ah={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Ph(e=Ah){function t(l){return e[l]}function n(l){return`#${l.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}let s;function o(){if(s)return s;s=[];for(let a=0;a<ct.length;a++)s.push(t(ct[a]));let l=[0,95,135,175,215,255];for(let a=0;a<6;a++)for(let d=0;d<6;d++)for(let f=0;f<6;f++)s.push(n([l[a],l[d],l[f]]));let c=8;for(let a=0;a<24;a++,c+=10)s.push(n([c,c,c]));return s}function r(l){return o()[l]}function i(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return r(l.index)}}return{value:i}}function Eh(e,t){const n=t.split(/\r?\n/),s=Ph(Object.fromEntries(ct.map(r=>[r,e.colors[`terminal.ansi${r[0].toUpperCase()}${r.substring(1)}`]]))),o=Sh();return n.map(r=>o.parse(r).map(i=>{let l;i.decorations.has("reverse")?l=i.background?s.value(i.background):e.bg:l=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(l=Rh(l));let c=vt.None;return i.decorations.has("bold")&&(c|=vt.Bold),i.decorations.has("italic")&&(c|=vt.Italic),i.decorations.has("underline")&&(c|=vt.Underline),{content:i.value,color:l,fontStyle:c}}))}function Rh(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const s=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${s}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(s=>`${s}${s}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}const jh={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}" tabindex="0">${n}</pre>`},code({children:e}){return`<code>${e}</code>`},line({className:e,children:t}){return`<span class="${e}">${t}</span>`},token({style:e,children:t}){return`<span style="${e}">${t}</span>`}};function pi(e,t={}){const n=t.bg||"#fff",s=lh(t.lineOptions??[],i=>i.line),o=t.elements||{};function r(i="",l={},c){const a=o[i]||jh[i];return a?(c=c.filter(Boolean),a({...l,children:i==="code"?c.join(`
7
- `):c.join("")})):""}return r("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",r("code",{},e.map((i,l)=>{const c=l+1,a=s.get(c)??[],d=Ih(a).join(" ");return r("line",{className:d,lines:e,line:i,index:l},i.map((f,p)=>{const L=[`color: ${f.color||t.fg}`];return f.fontStyle&vt.Italic&&L.push("font-style: italic"),f.fontStyle&vt.Bold&&L.push("font-weight: bold"),f.fontStyle&vt.Underline&&L.push("text-decoration: underline"),r("token",{style:L.join("; "),tokens:i,token:f,index:p},[Oh(f.content)])}))}))])}const Ch={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Oh(e){return e.replace(/[&<>"']/g,t=>Ch[t])}function Ih(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class Mh extends dl.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ms.reduce((n,s)=>(n[s.id]=s,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await bl(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=_l(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){var r;const s={embeddedLanguages:(r=t.embeddedLangs)==null?void 0:r.reduce(async(i,l,c)=>{if(!this.getLoadedLanguages().includes(l)&&this._resolver.getLangRegistration(l))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(l).scopeName),i[this._resolver.getLangRegistration(l).scopeName]=c+2,i},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},o=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=o,t.aliases&&t.aliases.forEach(i=>{this._resolvedGrammars[i]=o})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function vl(e){return typeof e=="string"?Ms.find(t=>{var n;return t.id===e||((n=t.aliases)==null?void 0:n.includes(e))}):e}function $h(e){var o;let t=Ms,n=e.themes||[],s=(o=e.paths)!=null&&o.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":ph;return e.langs&&(t=e.langs.map(vl)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function Fh(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;t<ct.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=ct[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function Bh(e){var g,m;const{_languages:t,_themes:n,_wasmPath:s}=$h(e),o=new vh(mh(s),"vscode-oniguruma"),r=new Mh(o);(g=e.paths)!=null&&g.themes&&(r.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(m=e.paths)!=null&&m.languages&&(o.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const l=(await r.loadThemes(n))[0];let c;await r.loadLanguages(t);let a=Fh();function d(k){a=k}function f(k,h){k.bg=a[k.bg]||k.bg,k.fg=a[k.fg]||k.fg,Object.entries(k.colors).forEach(([b,A])=>{k.colors[b]=a[A]||A}),h.forEach((b,A)=>{h[A]=a[b]||b})}function p(k){const h=k?r.getTheme(k):l;if(!h)throw Error(`No theme registration for ${k}`);(!c||c.name!==h.name)&&(r.setTheme(h),c=h);const b=r.getColorMap();return h.type==="css"&&f(h,b),{_theme:h,_colorMap:b}}function L(k){const h=r.getGrammar(k);if(!h)throw Error(`No language registration for ${k}`);return{_grammar:h}}function y(k,h="text",b,A={includeExplanation:!0}){if(Dh(h))return[...k.split(/\r\n|\r|\n/).map(K=>[{content:K}])];const{_grammar:j}=L(h),{_theme:I,_colorMap:M}=p(b);return wh(I,M,k,j,A)}function S(k,h){const{_theme:b}=p(h);return Eh(b,k)}function E(k,h="text",b){let A;typeof h=="object"?A=h:A={lang:h,theme:b};const j=y(k,A.lang,A.theme,{includeExplanation:!1}),{_theme:I}=p(A.theme);return pi(j,{fg:I.fg,bg:I.bg,lineOptions:A==null?void 0:A.lineOptions,themeName:I.name})}function N(k,h){const b=S(k,h==null?void 0:h.theme),{_theme:A}=p(h==null?void 0:h.theme);return pi(b,{fg:A.fg,bg:A.bg,lineOptions:h==null?void 0:h.lineOptions,themeName:A.name})}async function v(k){await r.loadTheme(k)}async function T(k){const h=vl(k);o.addLanguage(h),await r.loadLanguage(h)}function x(){return r.getLoadedThemes()}function w(){return r.getLoadedLanguages()}function u(k){const{_theme:h}=p(k);return h.bg}function _(k){const{_theme:h}=p(k);return h.fg}return{codeToThemedTokens:y,codeToHtml:E,ansiToThemedTokens:S,ansiToHtml:N,getTheme:k=>p(k)._theme,loadTheme:v,loadLanguage:T,getBackgroundColor:u,getForegroundColor:_,getLoadedThemes:x,getLoadedLanguages:w,setColorReplacements:d}}function Dh(e){return!e||["plaintext","txt","text"].includes(e)}const Hh="0.14.0";hh(`https://cdn.jsdelivr.net/npm/shiki-es@${Hh}/dist/assets/`);let Uh;const yn=[];function Wh(e){if(yn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&yn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&yn.forEach(n=>n(t))},get(){return Uh.value},configurable:!0}),()=>{yn.splice(yn.indexOf(e),1)}}const Sn=be([]),An=be([]),wn=be(0),Ct=be(""),Gh="nuxt-link-checker-rpc",wl=be(),to=be(),no=be();Wh(async e=>{var s,o;const t=e.host.nuxt,n=(s=t.vueApp._instance)==null?void 0:s.appContext.provides.linkChecker;Sn.value=n.linkDb.value,An.value=[...n.visibleLinks],no.value=e.devtools.rpc,wl.value=e.devtools,Ct.value=Gf(((o=e.host.getIframe())==null?void 0:o.src)||"").link,to.value=e.devtools.extendClientRpc(Gh,{queueWorking(r){var i;wn.value=r.queueLength,Sn.value=ge((i=t.vueApp._instance)==null?void 0:i.appContext.provides.linkChecker.linkDb),An.value=[...n.visibleLinks]},updated(){var r;Sn.value=ge((r=t.vueApp._instance)==null?void 0:r.appContext.provides.linkChecker.linkDb),An.value=[...n.visibleLinks]},filter(r){Ct.value=r.link}})});const kl=be();function qh(){return Bh({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{kl.value=e})}function Vh(e,t){return ze(()=>{var s;const n=((s=wl.value)==null?void 0:s.colorMode)||"light";return kl.value.codeToHtml(ge(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Kh=["innerHTML"],Nl=Me({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=ze(()=>{const s=Vh(t.code,t.lang);return t.transformRendered?t.transformRendered(s.value||""):s.value});return(s,o)=>(Y(),ye("pre",{class:Tt(["n-code-block",s.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Kh))}});const zh=Me({__name:"CodeHighlight",props:{code:{},lang:{},link:{}},setup(e){const t=e;function n(o){return o.replace(t.link,`<span class="highlight">${t.link}</span>`)}const s=be();return(o,r)=>{const i=Nl;return Y(),Ne(i,an({ref_key:"elRef",ref:s,code:o.code,lang:o.lang,"transform-rendered":n},o.$attrs),null,16,["code","lang"])}}});const Jh=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Qh={},Xh={class:"n-card n-card-base"};function Yh(e,t){return Y(),ye("div",Xh,[Lt(e.$slots,"default")])}const so=Jh(Qh,[["render",Yh]]),Zh=e=>typeof e<"u";function em(e={}){let t=0;const n=be([]);function s(...i){const l=Ir({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(l),l.promise=new Promise((c,a)=>{l.resolve=d=>(l.isResolving=!0,c(d)),l.reject=a}).finally(()=>{l.promise=void 0;const c=n.value.indexOf(l);c!==-1&&n.value.splice(c,1)}),l.promise}function o(...i){return e.singleton&&n.value.length>0?n.value[0].promise:s(...i)}const r=Me((i,{slots:l})=>{const c=()=>n.value.map(a=>{var d;return $n(ke,{key:a.key},(d=l.default)==null?void 0:d.call(l,a))});return e.transition?()=>$n(af,e.transition,c):c});return r.start=o,r}function tm(e){return JSON.parse(JSON.stringify(e))}function nm(e,t,n,s={}){var o,r,i;const{clone:l=!1,passive:c=!1,eventName:a,deep:d=!1,defaultValue:f,shouldEmit:p}=s,L=ln(),y=n||(L==null?void 0:L.emit)||((o=L==null?void 0:L.$emit)==null?void 0:o.bind(L))||((i=(r=L==null?void 0:L.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(L==null?void 0:L.proxy));let S=a;t||(t="modelValue"),S=S||`update:${t.toString()}`;const E=T=>l?typeof l=="function"?l(T):tm(T):T,N=()=>Zh(e[t])?E(e[t]):f,v=T=>{p?p(T)&&y(S,T):y(S,T)};if(c){const T=N(),x=be(T);return ut(()=>e[t],w=>x.value=E(w)),ut(x,w=>{(w!==e[t]||d)&&v(w)},{deep:d}),x}else return ze({get(){return N()},set(T){v(T)}})}const Tl=em(),sm={key:0,mb7:"","text-sm":""},rm={key:0,class:"flex gap-2 items-center w-full"},om=re("div",{style:{"flex-basis":"4rem"}},[re("span",{class:"text-green-800 text-xs flex items-center font-medium dark:text-green-300"},[re("span",{"i-carbon-checkmark-outline":"","mr-1":"","text-xs":""}),Re(" Pass ")])],-1),im={"text-sm":"",op60:"","font-mono":""},am={flex:"",mb3:"","items-center":"","gap-3":""},lm={"text-sm":"",op60:"","font-mono":""},cm={flex:"~ col gap-1 items-start",px4:""},um={class:"flex gap-2 w-full"},fm={style:{"flex-basis":"4rem","margin-top":"1px"}},dm={key:0,class:"text-red-800 text-xs flex items-center font-medium dark:text-red-300"},pm=re("span",{"i-carbon-error":"","mr-1":"","text-xs":""},null,-1),hm={key:1,class:"text-yellow-800 flex items-center text-xs font-medium dark:text-yellow-300"},mm=re("span",{"i-carbon-warning":"","mr-1":"","text-xs":""},null,-1),gm={class:"flex-grow"},ym={class:"text-gray-500"},bm={key:0,op60:"",ml2:""},_m={key:0},vm=Me({__name:"LinkInspection",props:{item:{}},setup(e){const t=e;function n(o){no.value.openInEditor(o)}async function s(){await Tl.start(t.item)&&await to.value.applyLinkFixes(t.item.sources[0].filepath,t.item.link,t.item.fix)}return(o,r)=>{const i=oh,l=zh,c=so,a=Is;return o.item?(Y(),ye("div",sm,[o.item.passes?(Y(),ye("div",rm,[om,re("div",null,[re("div",im,Ce(o.item.link),1)])])):Ge("",!0),(Y(!0),ye(ke,null,_t(o.item.sources,(d,f)=>(Y(),ye("div",{key:f,mb4:""},[re("div",am,[re("div",lm,Ce(o.item.link),1),oe(i,{type:"button",op50:"","text-xs":"","font-mono":"",link:d.filepath,onClick:hf(p=>n(d.filepath),["prevent"])},{default:Be(()=>[Re(Ce(d.filepath),1)]),_:2},1032,["link","onClick"])]),(Y(!0),ye(ke,null,_t(d.previews,(p,L)=>(Y(),Ne(c,{key:L,"items-center":"","justify-between":"","of-hidden":""},{default:Be(()=>[re("div",cm,[oe(l,{link:o.item.link,code:p.code,lang:"vue-html",class:"overflow-auto",style:nn({"--start":p.lineNumber})},null,8,["link","code","style"])])]),_:2},1024))),128))]))),128)),(Y(!0),ye(ke,null,_t([...o.item.error,...o.item.warning],(d,f)=>(Y(),ye("div",{key:f,flex:"~ row gap-2 items-center",mb2:""},[re("div",um,[re("div",fm,[d.scope==="error"?(Y(),ye("span",dm,[pm,Re(" Error ")])):(Y(),ye("span",hm,[mm,Re(" Warning ")]))]),re("div",gm,[re("div",null,[Re(Ce(d.message)+" ",1),re("span",ym,"("+Ce(d.name)+")",1),d.tip?(Y(),ye("span",bm,Ce(d.tip),1)):Ge("",!0)]),d.fix?(Y(),ye("button",{key:0,class:"hover:shadow-lg transition mt-2 items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:s},[oe(a,{icon:"carbon:magic-wand"}),d.fixDescription?(Y(),ye("div",_m,Ce(d.fixDescription),1)):Ge("",!0)])):Ge("",!0)])])]))),128))])):Ge("",!0)}}}),wm=Me({__name:"CodeDiff",props:{code:{},lang:{},diff:{}},setup(e){const t=e,n=be(t.diff.added[0]-2);function s(r){let i=0;const l=new Set;return r.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,a=>{i++;const d=t.diff.added.includes(i-1),f=t.diff.removed.includes(i-1);if(d||f)for(let p=i-3;p<i+3;p++)p>=0&&l.add(p);return d?'class="line line-added"':f?'class="line line-removed"':a}).replace(/<code>([\s\S]*)<\/code>/,(a,d)=>`<code>${d.split(`
8
- `).filter((L,y)=>l.has(y+1)).join(`
9
- `)}</code>`)}const o=be();return(r,i)=>{const l=Nl;return Y(),Ne(l,{ref_key:"elRef",ref:o,code:r.diff.result,lang:r.lang,"transform-rendered":s,style:nn(`--start: ${n.value};`)},null,8,["code","lang","style"])}}}),km={class:"n-tip n-tip-base"},Nm=Me({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const s=Is;return Y(),ye("div",km,[Lt(t.$slots,"icon",{},()=>[t.icon?(Y(),Ne(s,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):Ge("",!0)]),re("div",null,[Lt(t.$slots,"default")])])}}}),Tm=Me({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const s=Is;return Y(),Ne(Rs(t.to?ge(ll):"button"),an({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:Be(()=>[Lt(t.$slots,"icon",{},()=>[t.icon?(Y(),Ne(s,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ge("",!0)]),Lt(t.$slots,"default")]),_:3},16,["to"])}}});function xm(e){return Ei()?(zl(e),!0):!1}function Lm(e){return typeof e=="function"?e():ge(e)}function Sm(e){var t;const n=Lm(e);return(t=n==null?void 0:n.$el)!=null?t:n}/*!
10
- * tabbable 6.2.0
11
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
12
- */var xl=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],gs=xl.join(","),Ll=typeof Element>"u",Bt=Ll?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ys=!Ll&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},bs=function e(t,n){var s;n===void 0&&(n=!0);var o=t==null||(s=t.getAttribute)===null||s===void 0?void 0:s.call(t,"inert"),r=o===""||o==="true",i=r||n&&t&&e(t.parentNode);return i},Am=function(t){var n,s=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return s===""||s==="true"},Sl=function(t,n,s){if(bs(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(gs));return n&&Bt.call(t,gs)&&o.unshift(t),o=o.filter(s),o},Al=function e(t,n,s){for(var o=[],r=Array.from(t);r.length;){var i=r.shift();if(!bs(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),c=l.length?l:i.children,a=e(c,!0,s);s.flatten?o.push.apply(o,a):o.push({scopeParent:i,candidates:a})}else{var d=Bt.call(i,gs);d&&s.filter(i)&&(n||!t.includes(i))&&o.push(i);var f=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),p=!bs(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&p){var L=e(f===!0?i.children:f.children,!0,s);s.flatten?o.push.apply(o,L):o.push({scopeParent:i,candidates:L})}else r.unshift.apply(r,i.children)}}return o},Pl=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Ot=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||Am(t))&&!Pl(t)?0:t.tabIndex},Pm=function(t,n){var s=Ot(t);return s<0&&n&&!Pl(t)?0:s},Em=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},El=function(t){return t.tagName==="INPUT"},Rm=function(t){return El(t)&&t.type==="hidden"},jm=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(s){return s.tagName==="SUMMARY"});return n},Cm=function(t,n){for(var s=0;s<t.length;s++)if(t[s].checked&&t[s].form===n)return t[s]},Om=function(t){if(!t.name)return!0;var n=t.form||ys(t),s=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=s(window.CSS.escape(t.name));else try{o=s(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var r=Cm(o,t.form);return!r||r===t},Im=function(t){return El(t)&&t.type==="radio"},Mm=function(t){return Im(t)&&!Om(t)},$m=function(t){var n,s=t&&ys(t),o=(n=s)===null||n===void 0?void 0:n.host,r=!1;if(s&&s!==t){var i,l,c;for(r=!!((i=o)!==null&&i!==void 0&&(l=i.ownerDocument)!==null&&l!==void 0&&l.contains(o)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!r&&o;){var a,d,f;s=ys(o),o=(a=s)===null||a===void 0?void 0:a.host,r=!!((d=o)!==null&&d!==void 0&&(f=d.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return r},hi=function(t){var n=t.getBoundingClientRect(),s=n.width,o=n.height;return s===0&&o===0},Fm=function(t,n){var s=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var r=Bt.call(t,"details>summary:first-of-type"),i=r?t.parentElement:t;if(Bt.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof o=="function"){for(var l=t;t;){var c=t.parentElement,a=ys(t);if(c&&!c.shadowRoot&&o(c)===!0)return hi(t);t.assignedSlot?t=t.assignedSlot:!c&&a!==t.ownerDocument?t=a.host:t=c}t=l}if($m(t))return!t.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return hi(t);return!1},Bm=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s<n.children.length;s++){var o=n.children.item(s);if(o.tagName==="LEGEND")return Bt.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},_s=function(t,n){return!(n.disabled||bs(n)||Rm(n)||Fm(n,t)||jm(n)||Bm(n))},Nr=function(t,n){return!(Mm(n)||Ot(n)<0||!_s(t,n))},Dm=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Hm=function e(t){var n=[],s=[];return t.forEach(function(o,r){var i=!!o.scopeParent,l=i?o.scopeParent:o,c=Pm(l,i),a=i?e(o.candidates):l;c===0?i?n.push.apply(n,a):n.push(l):s.push({documentOrder:r,tabIndex:c,item:o,isScope:i,content:a})}),s.sort(Em).reduce(function(o,r){return r.isScope?o.push.apply(o,r.content):o.push(r.content),o},[]).concat(n)},Um=function(t,n){n=n||{};var s;return n.getShadowRoot?s=Al([t],n.includeContainer,{filter:Nr.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Dm}):s=Sl(t,n.includeContainer,Nr.bind(null,n)),Hm(s)},Wm=function(t,n){n=n||{};var s;return n.getShadowRoot?s=Al([t],n.includeContainer,{filter:_s.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=Sl(t,n.includeContainer,_s.bind(null,n)),s},Gt=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Bt.call(t,gs)===!1?!1:Nr(n,t)},Gm=xl.concat("iframe").join(","),Zs=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Bt.call(t,Gm)===!1?!1:_s(n,t)};/*!
13
- * focus-trap 7.5.2
14
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
15
- */function mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,s)}return n}function gi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mi(Object(n),!0).forEach(function(s){qm(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mi(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function qm(e,t,n){return t=Km(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vm(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Km(e){var t=Vm(e,"string");return typeof t=="symbol"?t:String(t)}var yi={activateTrap:function(t,n){if(t.length>0){var s=t[t.length-1];s!==n&&s.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var s=t.indexOf(n);s!==-1&&t.splice(s,1),t.length>0&&t[t.length-1].unpause()}},zm=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Jm=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Pn=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Qm=function(t){return Pn(t)&&!t.shiftKey},Xm=function(t){return Pn(t)&&t.shiftKey},bi=function(t){return setTimeout(t,0)},_i=function(t,n){var s=-1;return t.every(function(o,r){return n(o)?(s=r,!1):!0}),s},bn=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,s):t},Yn=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},Ym=[],Zm=function(t,n){var s=(n==null?void 0:n.document)||document,o=(n==null?void 0:n.trapStack)||Ym,r=gi({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Qm,isKeyBackward:Xm},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,c=function(h,b,A){return h&&h[b]!==void 0?h[b]:r[A||b]},a=function(h,b){var A=typeof(b==null?void 0:b.composedPath)=="function"?b.composedPath():void 0;return i.containerGroups.findIndex(function(j){var I=j.container,M=j.tabbableNodes;return I.contains(h)||(A==null?void 0:A.includes(I))||M.find(function(V){return V===h})})},d=function(h){var b=r[h];if(typeof b=="function"){for(var A=arguments.length,j=new Array(A>1?A-1:0),I=1;I<A;I++)j[I-1]=arguments[I];b=b.apply(void 0,j)}if(b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(h,"` was specified but was not a node, or did not return a node"))}var M=b;if(typeof b=="string"&&(M=s.querySelector(b),!M))throw new Error("`".concat(h,"` as selector refers to no known node"));return M},f=function(){var h=d("initialFocus");if(h===!1)return!1;if(h===void 0||!Zs(h,r.tabbableOptions))if(a(s.activeElement)>=0)h=s.activeElement;else{var b=i.tabbableGroups[0],A=b&&b.firstTabbableNode;h=A||d("fallbackFocus")}if(!h)throw new Error("Your focus-trap needs to have at least one focusable element");return h},p=function(){if(i.containerGroups=i.containers.map(function(h){var b=Um(h,r.tabbableOptions),A=Wm(h,r.tabbableOptions),j=b.length>0?b[0]:void 0,I=b.length>0?b[b.length-1]:void 0,M=A.find(function(J){return Gt(J)}),V=A.slice().reverse().find(function(J){return Gt(J)}),K=!!b.find(function(J){return Ot(J)>0});return{container:h,tabbableNodes:b,focusableNodes:A,posTabIndexesFound:K,firstTabbableNode:j,lastTabbableNode:I,firstDomTabbableNode:M,lastDomTabbableNode:V,nextTabbableNode:function(ae){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ne=b.indexOf(ae);return ne<0?le?A.slice(A.indexOf(ae)+1).find(function(ce){return Gt(ce)}):A.slice(0,A.indexOf(ae)).reverse().find(function(ce){return Gt(ce)}):b[ne+(le?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(h){return h.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(h){return h.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},L=function k(h){if(h!==!1&&h!==s.activeElement){if(!h||!h.focus){k(f());return}h.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=h,zm(h)&&h.select()}},y=function(h){var b=d("setReturnFocus",h);return b||(b===!1?!1:h)},S=function(h){var b=h.target,A=h.event,j=h.isBackward,I=j===void 0?!1:j;b=b||Yn(A),p();var M=null;if(i.tabbableGroups.length>0){var V=a(b,A),K=V>=0?i.containerGroups[V]:void 0;if(V<0)I?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(I){var J=_i(i.tabbableGroups,function(ue){var me=ue.firstTabbableNode;return b===me});if(J<0&&(K.container===b||Zs(b,r.tabbableOptions)&&!Gt(b,r.tabbableOptions)&&!K.nextTabbableNode(b,!1))&&(J=V),J>=0){var ae=J===0?i.tabbableGroups.length-1:J-1,le=i.tabbableGroups[ae];M=Ot(b)>=0?le.lastTabbableNode:le.lastDomTabbableNode}else Pn(A)||(M=K.nextTabbableNode(b,!1))}else{var ne=_i(i.tabbableGroups,function(ue){var me=ue.lastTabbableNode;return b===me});if(ne<0&&(K.container===b||Zs(b,r.tabbableOptions)&&!Gt(b,r.tabbableOptions)&&!K.nextTabbableNode(b))&&(ne=V),ne>=0){var ce=ne===i.tabbableGroups.length-1?0:ne+1,de=i.tabbableGroups[ce];M=Ot(b)>=0?de.firstTabbableNode:de.firstDomTabbableNode}else Pn(A)||(M=K.nextTabbableNode(b))}}else M=d("fallbackFocus");return M},E=function(h){var b=Yn(h);if(!(a(b,h)>=0)){if(bn(r.clickOutsideDeactivates,h)){l.deactivate({returnFocus:r.returnFocusOnDeactivate});return}bn(r.allowOutsideClick,h)||h.preventDefault()}},N=function(h){var b=Yn(h),A=a(b,h)>=0;if(A||b instanceof Document)A&&(i.mostRecentlyFocusedNode=b);else{h.stopImmediatePropagation();var j,I=!0;if(i.mostRecentlyFocusedNode)if(Ot(i.mostRecentlyFocusedNode)>0){var M=a(i.mostRecentlyFocusedNode),V=i.containerGroups[M].tabbableNodes;if(V.length>0){var K=V.findIndex(function(J){return J===i.mostRecentlyFocusedNode});K>=0&&(r.isKeyForward(i.recentNavEvent)?K+1<V.length&&(j=V[K+1],I=!1):K-1>=0&&(j=V[K-1],I=!1))}}else i.containerGroups.some(function(J){return J.tabbableNodes.some(function(ae){return Ot(ae)>0})})||(I=!1);else I=!1;I&&(j=S({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),L(j||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},v=function(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=h;var A=S({event:h,isBackward:b});A&&(Pn(h)&&h.preventDefault(),L(A))},T=function(h){if(Jm(h)&&bn(r.escapeDeactivates,h)!==!1){h.preventDefault(),l.deactivate();return}(r.isKeyForward(h)||r.isKeyBackward(h))&&v(h,r.isKeyBackward(h))},x=function(h){var b=Yn(h);a(b,h)>=0||bn(r.clickOutsideDeactivates,h)||bn(r.allowOutsideClick,h)||(h.preventDefault(),h.stopImmediatePropagation())},w=function(){if(i.active)return yi.activateTrap(o,l),i.delayInitialFocusTimer=r.delayInitialFocus?bi(function(){L(f())}):L(f()),s.addEventListener("focusin",N,!0),s.addEventListener("mousedown",E,{capture:!0,passive:!1}),s.addEventListener("touchstart",E,{capture:!0,passive:!1}),s.addEventListener("click",x,{capture:!0,passive:!1}),s.addEventListener("keydown",T,{capture:!0,passive:!1}),l},u=function(){if(i.active)return s.removeEventListener("focusin",N,!0),s.removeEventListener("mousedown",E,!0),s.removeEventListener("touchstart",E,!0),s.removeEventListener("click",x,!0),s.removeEventListener("keydown",T,!0),l},_=function(h){var b=h.some(function(A){var j=Array.from(A.removedNodes);return j.some(function(I){return I===i.mostRecentlyFocusedNode})});b&&L(f())},g=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,m=function(){g&&(g.disconnect(),i.active&&!i.paused&&i.containers.map(function(h){g.observe(h,{subtree:!0,childList:!0})}))};return l={get active(){return i.active},get paused(){return i.paused},activate:function(h){if(i.active)return this;var b=c(h,"onActivate"),A=c(h,"onPostActivate"),j=c(h,"checkCanFocusTrap");j||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,b==null||b();var I=function(){j&&p(),w(),m(),A==null||A()};return j?(j(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(h){if(!i.active)return this;var b=gi({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},h);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,u(),i.active=!1,i.paused=!1,m(),yi.deactivateTrap(o,l);var A=c(b,"onDeactivate"),j=c(b,"onPostDeactivate"),I=c(b,"checkCanReturnFocus"),M=c(b,"returnFocus","returnFocusOnDeactivate");A==null||A();var V=function(){bi(function(){M&&L(y(i.nodeFocusedBeforeActivation)),j==null||j()})};return M&&I?(I(y(i.nodeFocusedBeforeActivation)).then(V,V),this):(V(),this)},pause:function(h){if(i.paused||!i.active)return this;var b=c(h,"onPause"),A=c(h,"onPostPause");return i.paused=!0,b==null||b(),u(),m(),A==null||A(),this},unpause:function(h){if(!i.paused||!i.active)return this;var b=c(h,"onUnpause"),A=c(h,"onPostUnpause");return i.paused=!1,b==null||b(),p(),w(),m(),A==null||A(),this},updateContainerElements:function(h){var b=[].concat(h).filter(Boolean);return i.containers=b.map(function(A){return typeof A=="string"?s.querySelector(A):A}),i.active&&p(),m(),this}},l.updateContainerElements(t),l},eg=Object.defineProperty,tg=Object.defineProperties,ng=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,Rl=Object.prototype.hasOwnProperty,jl=Object.prototype.propertyIsEnumerable,vi=(e,t,n)=>t in e?eg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sg=(e,t)=>{for(var n in t||(t={}))Rl.call(t,n)&&vi(e,n,t[n]);if(vs)for(var n of vs(t))jl.call(t,n)&&vi(e,n,t[n]);return e},rg=(e,t)=>tg(e,ng(t)),og=(e,t)=>{var n={};for(var s in e)Rl.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&vs)for(var s of vs(e))t.indexOf(s)<0&&jl.call(e,s)&&(n[s]=e[s]);return n};function ig(e,t={}){let n;const s=t,{immediate:o}=s,r=og(s,["immediate"]),i=be(!1),l=be(!1),c=p=>n&&n.activate(p),a=p=>n&&n.deactivate(p),d=()=>{n&&(n.pause(),l.value=!0)},f=()=>{n&&(n.unpause(),l.value=!1)};return ut(()=>Sm(e),p=>{p&&(n=Zm(p,rg(sg({},r),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),o&&c())},{flush:"post"}),xm(()=>a()),{hasFocus:i,isPaused:l,activate:c,deactivate:a,pause:d,unpause:f}}const ag={inheritAttrs:!1},lg=Me({...ag,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const s=nm(e,"modelValue",t,{passive:!0}),o=be(null),r=be(!1),{activate:i,deactivate:l}=ig(ze(()=>o.value||document.body),{immediate:!1});ta(()=>{!r.value&&s.value&&(r.value=!0),s.value&&o.value?xs(i):l()});function c(){s.value=!1,t("close")}return(a,d)=>{const f=so;return r.value?(Y(),Ne(xu,{key:0,to:"body"},[Kc(re("div",{class:Tt(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[ge(s)?"":"op0 pointer-events-none visibility-none"]])},[re("div",{class:Tt(["absolute inset-0 -z-1",[a.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=p=>c())},null,2),oe(f,an(a.$attrs,{ref_key:"card",ref:o,class:"max-h-screen of-auto"}),{default:Be(()=>[Lt(a.$slots,"default")]),_:3},16)],2),[[mf,ge(s)]])])):Ge("",!0)}}}),cg={"my-10":""},ug={flex:"~ col gap-2","w-200":"",p4:"",border:"t base"},fg=re("h2",{"text-xl":"",class:"text-primary"}," Confirm Code Diff ",-1),dg={flex:"","items-center":"","gap-2":"",mb1:""},pg={"text-sm":"","gap-2":"",flex:"","flex-row":"",mb1:"","justify-end":""},hg={class:"text-green-500"},mg={class:"text-red-500"},gg=["onClick"],yg={flex:"~ col gap-1 items-start",px4:"",py2:""},bg={flex:"~ gap-3",mt2:"","justify-end":""},_g=Me({__name:"FixActionDialog",setup(e){function t(s){no.value.openInEditor(s)}function n(s,o){o(!1)}return(s,o)=>{const r=wm,i=so,l=Nm,c=Tm,a=lg;return Y(),Ne(ge(Tl),null,{default:Be(({resolve:d,args:f})=>[re("div",cg,[oe(a,{"model-value":!0,style:{"max-height":"80vh"},"onUpdate:modelValue":p=>n("a",d),onClose:p=>n("b",d)},{default:Be(()=>[re("div",ug,[fg,(Y(!0),ye(ke,null,_t(f[0].diff,(p,L)=>(Y(),ye("div",{key:L},[re("div",dg,[re("div",pg,[re("span",hg,"+"+Ce(p.diff.added.length),1),re("span",mg,"-"+Ce(p.diff.removed.length),1)]),re("button",{type:"button",op50:"","text-xs":"","font-mono":"",onClick:y=>t(f[0].sources[0].filepath)},Ce(f[0].sources[0].filepath),9,gg)]),(Y(),Ne(i,{key:L,"items-center":"","justify-between":"","of-hidden":"","max-h-50":"",style:{overflow:"auto"}},{default:Be(()=>[re("div",yg,[oe(r,an(p,{lang:"vue-html",class:"overflow-auto"}),null,16)])]),_:2},1024))]))),128)),re("div",bg,[oe(l,{n:"sm purple","flex-auto":"",icon:"carbon-chemistry"},{default:Be(()=>[Re(" Experimental. ")]),_:1}),oe(c,{onClick:p=>d(!1)},{default:Be(()=>[Re(" Cancel ")]),_:2},1032,["onClick"]),oe(c,{n:"solid",capitalize:"",class:"n-blue",onClick:p=>d(!0)},{default:Be(()=>[Re(" Apply Fix ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onUpdate:modelValue","onClose"])])]),_:1})}}}),vg={class:"relative p8 n-bg-base flex flex-col h-screen"},wg={class:"flex justify-between",mb4:""},kg={"text-lg":"",mb2:"",flex:"","items-center":"","gap-2":""},Ng=re("p",{"text-sm":"",op60:"",mb3:""}," Discover issues with your links that may be negatively effecting your SEO. ",-1),Tg={key:0},xg={key:0,"text-sm":"",flex:"","items-center":"","gap-1":"",mb6:""},Lg={key:1},Sg={flex:"","items-center":"","gap-3":"",mb7:"","text-sm":""},Ag={mr5:""},Pg={key:0},Eg={"text-xs":""},Rg={"text-xs":""},jg={"text-xs":""},Cg={key:2},Og=re("div",{class:"flex-auto"},null,-1),Ig=Me({__name:"app",async setup(e){let t,n;[t,n]=ou(()=>qh()),await t,n();const s=be(0),o=setInterval(()=>{s.value++,s.value>=3&&clearInterval(o)},2e3),r=ze(()=>{const f=An.value;let p=[...Sn.value];return Ct.value?p=p.filter(L=>L.link===Ct.value):p=p.filter(L=>f.includes(L.link)),p.sort((L,y)=>L.fix&&!y.fix?1:-1)}),i=ze(()=>r.value.filter(f=>f.passes).length),l=ze(()=>{let f=0;return r.value.map(p=>p.error.length).forEach(p=>{f+=p}),f}),c=ze(()=>{let f=0;return r.value.map(p=>p.warning.length).forEach(p=>{f+=p}),f}),a=ze(()=>An.value.length);async function d(){Sn.value=[],wn.value=0,await to.value.reset()}return(f,p)=>{const L=Is,y=vm;return Y(),ye("div",vg,[re("div",null,[re("div",wg,[re("div",null,[re("h2",kg,[oe(L,{icon:"carbon:cloud-satellite-link",op50:""}),Re(" Link Inspections ")]),Ng]),r.value.length?(Y(),ye("div",Tg,[re("button",{class:"hover:shadow-lg text-sm transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:d},[oe(L,{icon:"carbon:retry-failed"}),re("div",null," Retry "+Ce(r.value.length>1?"All":""),1)])])):Ge("",!0)]),ge(Ct)?(Y(),ye("p",xg,[ge(wn)?(Y(),Ne(L,{key:0,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):Ge("",!0),oe(L,{icon:"carbon:filter"}),Re(" Filtering Results. "),re("button",{type:"button",underline:"",onClick:p[0]||(p[0]=S=>Ct.value=!1)}," Show All ")])):Ge("",!0),ge(Ct)?(Y(),ye("div",Cg,[(Y(!0),ye(ke,null,_t(r.value,(S,E)=>(Y(),Ne(y,{key:E,item:S},null,8,["item"]))),128))])):(Y(),ye("div",Lg,[re("div",Sg,[re("div",Ag,[ge(wn)?(Y(),ye("span",Pg,[oe(L,{icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"}),Re(" "+Ce(Math.abs(ge(wn)-a.value))+" / ",1)])):Ge("",!0),Re(" "+Ce(a.value)+" Links ",1)]),re("div",Eg,[oe(L,{icon:"carbon:error","h-4":"","w-4":"","text-red-500":""}),Re(" "+Ce(l.value)+" Errors ",1)]),re("div",Rg,[oe(L,{icon:"carbon:warning","h-4":"","w-4":"","text-red-500":""}),Re(" "+Ce(c.value)+" Warnings ",1)]),re("div",jg,[oe(L,{icon:"carbon:checkmark-outline","h-4":"","w-4":"","text-green-500":""}),Re(" "+Ce(i.value)+" Passing ",1)])]),(Y(!0),ye(ke,null,_t(r.value.filter(S=>S.error.length),(S,E)=>(Y(),Ne(y,{key:E,item:S},null,8,["item"]))),128)),(Y(!0),ye(ke,null,_t(r.value.filter(S=>S.warning.length),(S,E)=>(Y(),Ne(y,{key:E,item:S},null,8,["item"]))),128)),(Y(!0),ye(ke,null,_t(r.value.filter(S=>S.passes),(S,E)=>(Y(),Ne(y,{key:E,item:S},null,8,["item"]))),128))])),oe(_g)]),Og])}}}),Mg={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
16
- `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
17
- `);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,d=o?_o(()=>br(()=>import("./error-404.bcda0509.js"),["./error-404.bcda0509.js","./error-404.d7252154.css"],import.meta.url).then(f=>f.default||f)):_o(()=>br(()=>import("./error-500.d34ec619.js"),["./error-500.d34ec619.js","./error-500.06915589.css"],import.meta.url).then(f=>f.default||f));return(f,p)=>(Y(),Ne(ge(d),Si(zr({statusCode:ge(s),statusMessage:ge(r),description:ge(i),stack:ge(l)})),null,16))}},wi={__name:"nuxt-root",setup(e){const t=()=>null,n=Se(),s=n.deferHydration(),o=!1;ma(rl,jp()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const r=eo();ca((l,c,a)=>{if(n.hooks.callHook("vue:error",l,c,a).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),Mp(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Op(l)),!1});const{islandContext:i}=!1;return(l,c)=>(Y(),Ne(Dc,{onResolve:ge(s)},{default:Be(()=>[ge(r)?(Y(),Ne(ge(Mg),{key:0,error:ge(r)},null,8,["error"])):ge(i)?(Y(),Ne(ge(t),{key:1,context:ge(i)},null,8,["context"])):ge(o)?(Y(),Ne(Rs(ge(o)),{key:2})):(Y(),Ne(ge(Ig),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=id.create({baseURL:ld()}));let ki;{let e;ki=async function(){var r,i;if(e)return e;const s=!!((r=window.__NUXT__)!=null&&r.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?_f(wi):bf(wi),o=kd({vueApp:s});try{await Td(o,nh)}catch(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount("#"+kp),await o.hooks.callHook("app:mounted",s),await xs()}catch(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}return s},e=ki().catch(t=>{console.error("Error while mounting app:",t)})}export{Jh as _,re as a,oe as b,ye as c,Re as d,ll as e,Fg as f,Y as o,$g as p,Ce as t,Bg as u,Be as w};