nuxt-schema-org 3.2.1 → 3.2.2

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,9 +1,9 @@
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 be={},Bt=[],ze=()=>{},el=()=>!1,tl=/^on[^a-z]/,bn=e=>tl.test(e),nr=e=>e.startsWith("onUpdate:"),Ae=Object.assign,sr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},nl=Object.prototype.hasOwnProperty,le=(e,t)=>nl.call(e,t),Z=Array.isArray,Ft=e=>vn(e)==="[object Map]",Jo=e=>vn(e)==="[object Set]",$r=e=>vn(e)==="[object Date]",ee=e=>typeof e=="function",we=e=>typeof e=="string",qt=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",rr=e=>(_e(e)||ee(e))&&ee(e.then)&&ee(e.catch),zo=Object.prototype.toString,vn=e=>zo.call(e),sl=e=>vn(e).slice(8,-1),Qo=e=>vn(e)==="[object Object]",or=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rl=/-(\w)/g,nt=Zn(e=>e.replace(rl,(t,n)=>n?n.toUpperCase():"")),ol=/\B([A-Z])/g,Qt=Zn(e=>e.replace(ol,"-$1").toLowerCase()),es=Zn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ms=Zn(e=>e?`on${es(e)}`:""),Rt=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},il=e=>{const t=parseFloat(e);return isNaN(t)?e:t},al=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Br;const js=()=>Br||(Br=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ts(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?fl(s):ts(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(we(e)||_e(e))return e}const ll=/;(?![^(]*\))/g,cl=/:([^]+)/,ul=/\/\*[^]*?\*\//g;function fl(e){const t={};return e.replace(ul,"").split(ll).forEach(n=>{if(n){const s=n.split(cl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(we(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const s=Ie(e[n]);s&&(t+=s+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function pl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!we(t)&&(e.class=Ie(t)),n&&(e.style=ts(n)),e}const dl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hl=tr(dl);function Xo(e){return!!e||e===""}function ml(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Fn(e[s],t[s]);return n}function Fn(e,t){if(e===t)return!0;let n=$r(e),s=$r(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=qt(e),s=qt(t),n||s)return e===t;if(n=Z(e),s=Z(t),n||s)return n&&s?ml(e,t):!1;if(n=_e(e),s=_e(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(a&&!u||!a&&u||!Fn(e[i],t[i]))return!1}}return String(e)===String(t)}const At=e=>we(e)?e:e==null?"":Z(e)||_e(e)&&(e.toString===zo||!ee(e.toString))?JSON.stringify(e,Yo,2):String(e),Yo=(e,t)=>t&&t.__v_isRef?Yo(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Jo(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!Z(t)&&!Qo(t)?String(t):t;let Ue;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=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 gl(e){return new Zo(e)}function _l(e,t=Ue){t&&t.active&&t.effects.push(e)}function ei(){return Ue}function yl(e){Ue&&Ue.cleanups.push(e)}const ir=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ti=e=>(e.w&kt)>0,ni=e=>(e.n&kt)>0,bl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=kt},vl=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];ti(o)&&!ni(o)?o.delete(e):t[n++]=o,o.w&=~kt,o.n&=~kt}t.length=n}},Hn=new WeakMap;let on=0,kt=1;const Rs=30;let Je;const jt=Symbol(""),Es=Symbol("");class ar{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,_l(this,s)}run(){if(!this.active)return this.fn();let t=Je,n=yt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Je,Je=this,yt=!0,kt=1<<++on,on<=Rs?bl(this):Fr(this),this.fn()}finally{on<=Rs&&vl(this),kt=1<<--on,Je=this.parent,yt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Je===this?this.deferStop=!0:this.active&&(Fr(this),this.onStop&&this.onStop(),this.active=!1)}}function Fr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let yt=!0;const si=[];function Xt(){si.push(yt),yt=!1}function Yt(){const e=si.pop();yt=e===void 0?!0:e}function Fe(e,t,n){if(yt&&Je){let s=Hn.get(e);s||Hn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=ir()),ri(o)}}function ri(e,t){let n=!1;on<=Rs?ni(e)||(e.n|=kt,n=!ti(e)):n=!e.has(Je),n&&(e.add(Je),Je.deps.push(e))}function lt(e,t,n,s,o,r){const i=Hn.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Z(e)){const u=Number(s);i.forEach((l,p)=>{(p==="length"||!qt(p)&&p>=u)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?or(n)&&a.push(i.get("length")):(a.push(i.get(jt)),Ft(e)&&a.push(i.get(Es)));break;case"delete":Z(e)||(a.push(i.get(jt)),Ft(e)&&a.push(i.get(Es)));break;case"set":Ft(e)&&a.push(i.get(jt));break}if(a.length===1)a[0]&&Os(a[0]);else{const u=[];for(const l of a)l&&u.push(...l);Os(ir(u))}}function Os(e,t){const n=Z(e)?e:[...e];for(const s of n)s.computed&&Hr(s);for(const s of n)s.computed||Hr(s)}function Hr(e,t){(e!==Je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function wl(e,t){var n;return(n=Hn.get(e))==null?void 0:n.get(t)}const kl=tr("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qt)),Dr=Nl();function Nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let r=0,i=this.length;r<i;r++)Fe(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(ce)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Xt();const s=ce(this)[t].apply(this,n);return Yt(),s}}),e}function Tl(e){const t=ce(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const o=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(o?r?$l:ui:r?ci:li).get(t))return t;const i=Z(t);if(!o){if(i&&le(Dr,n))return Reflect.get(Dr,n,s);if(n==="hasOwnProperty")return Tl}const a=Reflect.get(t,n,s);return(qt(n)?oi.has(n):kl(n))||(o||Fe(t,"get",n),r)?a:Le(a)?i&&or(n)?a:a.value:_e(a)?o?ur(a):st(a):a}}class ai extends ii{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(Et(r)&&Le(r)&&!Le(s))return!1;if(!this._shallow&&(!Dn(s)&&!Et(s)&&(r=ce(r),s=ce(s)),!Z(t)&&Le(r)&&!Le(s)))return r.value=s,!0;const i=Z(t)&&or(n)?Number(n)<t.length:le(t,n),a=Reflect.set(t,n,s,o);return t===ce(o)&&(i?Rt(s,r)&&lt(t,"set",n,s):lt(t,"add",n,s)),a}deleteProperty(t,n){const s=le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&lt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!qt(n)||!oi.has(n))&&Fe(t,"has",n),s}ownKeys(t){return Fe(t,"iterate",Z(t)?"length":jt),Reflect.ownKeys(t)}}class Ll extends ii{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xl=new ai,Sl=new Ll,Al=new ai(!0),lr=e=>e,ns=e=>Reflect.getPrototypeOf(e);function kn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),r=ce(t);n||(Rt(t,r)&&Fe(o,"get",t),Fe(o,"get",r));const{has:i}=ns(o),a=s?lr:n?pr:pn;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Nn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(Rt(e,o)&&Fe(s,"has",e),Fe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Fe(ce(e),"iterate",jt),Reflect.get(e,"size",e)}function Ur(e){e=ce(e);const t=ce(this);return ns(t).has.call(t,e)||(t.add(e),lt(t,"add",e,e)),this}function Wr(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=ns(n);let r=s.call(n,e);r||(e=ce(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Rt(t,i)&&lt(n,"set",e,t):lt(n,"add",e,t),this}function Gr(e){const t=ce(this),{has:n,get:s}=ns(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&lt(t,"delete",e,void 0),r}function qr(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&lt(e,"clear",void 0,void 0),n}function Ln(e,t){return function(s,o){const r=this,i=r.__v_raw,a=ce(i),u=t?lr:e?pr:pn;return!e&&Fe(a,"iterate",jt),i.forEach((l,p)=>s.call(o,u(l),u(p),r))}}function xn(e,t,n){return function(...s){const o=this.__v_raw,r=ce(o),i=Ft(r),a=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,l=o[e](...s),p=n?lr:t?pr:pn;return!t&&Fe(r,"iterate",u?Es:jt),{next(){const{value:f,done:h}=l.next();return h?{value:f,done:h}:{value:a?[p(f[0]),p(f[1])]:p(f),done:h}},[Symbol.iterator](){return this}}}}function pt(e){return function(...t){return e==="delete"?!1:this}}function Pl(){const e={get(r){return kn(this,r)},get size(){return Tn(this)},has:Nn,add:Ur,set:Wr,delete:Gr,clear:qr,forEach:Ln(!1,!1)},t={get(r){return kn(this,r,!1,!0)},get size(){return Tn(this)},has:Nn,add:Ur,set:Wr,delete:Gr,clear:qr,forEach:Ln(!1,!0)},n={get(r){return kn(this,r,!0)},get size(){return Tn(this,!0)},has(r){return Nn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!1)},s={get(r){return kn(this,r,!0,!0)},get size(){return Tn(this,!0)},has(r){return Nn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xn(r,!1,!1),n[r]=xn(r,!0,!1),t[r]=xn(r,!1,!0),s[r]=xn(r,!0,!0)}),[e,n,t,s]}const[jl,Rl,El,Ol]=Pl();function cr(e,t){const n=t?e?Ol:El:e?Rl:jl;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(le(n,o)&&o in s?n:s,o,r)}const Il={get:cr(!1,!1)},Cl={get:cr(!1,!0)},Ml={get:cr(!0,!1)},li=new WeakMap,ci=new WeakMap,ui=new WeakMap,$l=new WeakMap;function Bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Bl(sl(e))}function st(e){return Et(e)?e:fr(e,!1,xl,Il,li)}function fi(e){return fr(e,!1,Al,Cl,ci)}function ur(e){return fr(e,!0,Sl,Ml,ui)}function fr(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=Fl(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function Ht(e){return Et(e)?Ht(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Dn(e){return!!(e&&e.__v_isShallow)}function pi(e){return Ht(e)||Et(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function di(e){return Bn(e,"__v_skip",!0),e}const pn=e=>_e(e)?st(e):e,pr=e=>_e(e)?ur(e):e;function hi(e){yt&&Je&&(e=ce(e),ri(e.dep||(e.dep=ir())))}function mi(e,t){e=ce(e);const n=e.dep;n&&Os(n)}function Le(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return gi(e,!1)}function Vr(e){return gi(e,!0)}function gi(e,t){return Le(e)?e:new Hl(e,t)}class Hl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:pn(t)}get value(){return hi(this),this._value}set value(t){const n=this.__v_isShallow||Dn(t)||Et(t);t=n?t:ce(t),Rt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:pn(t),mi(this))}}function ge(e){return Le(e)?e.value:e}const Dl={get:(e,t,n)=>ge(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function _i(e){return Ht(e)?e:new Proxy(e,Dl)}class Ul{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 wl(ce(this._object),this._key)}}class Wl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yi(e,t,n){return Le(e)?e:ee(e)?new Wl(e):_e(e)&&arguments.length>1?Gl(e,t,n):ve(e)}function Gl(e,t,n){const s=e[t];return Le(s)?s:new Ul(e,t,n)}class ql{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 ar(t,()=>{this._dirty||(this._dirty=!0,mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return hi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Vl(e,t,n=!1){let s,o;const r=ee(e);return r?(s=e,o=ze):(s=e.get,o=e.set),new ql(s,o,r||!o,n)}function bt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Zt(r,t,n)}return o}function Qe(e,t,n,s){if(ee(e)){const r=bt(e,t,n,s);return r&&rr(r)&&r.catch(i=>{Zt(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 Zt(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=n;for(;r;){const l=r.ec;if(l){for(let p=0;p<l.length;p++)if(l[p](e,i,a)===!1)return}r=r.parent}const u=t.appContext.config.errorHandler;if(u){bt(u,null,10,[e,i,a]);return}}Kl(e,n,o,s)}function Kl(e,t,n,s=!0){console.error(e)}let dn=!1,Is=!1;const Re=[];let tt=0;const Dt=[];let ot=null,xt=0;const bi=Promise.resolve();let dr=null;function ss(e){const t=dr||bi;return e?t.then(this?e.bind(this):e):t}function Jl(e){let t=tt+1,n=Re.length;for(;t<n;){const s=t+n>>>1,o=Re[s],r=hn(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function rs(e){(!Re.length||!Re.includes(e,dn&&e.allowRecurse?tt+1:tt))&&(e.id==null?Re.push(e):Re.splice(Jl(e.id),0,e),vi())}function vi(){!dn&&!Is&&(Is=!0,dr=bi.then(wi))}function zl(e){const t=Re.indexOf(e);t>tt&&Re.splice(t,1)}function Cs(e){Z(e)?Dt.push(...e):(!ot||!ot.includes(e,e.allowRecurse?xt+1:xt))&&Dt.push(e),vi()}function Kr(e,t=dn?tt+1:0){for(;t<Re.length;t++){const n=Re[t];n&&n.pre&&(Re.splice(t,1),t--,n())}}function Un(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,ot){ot.push(...t);return}for(ot=t,ot.sort((n,s)=>hn(n)-hn(s)),xt=0;xt<ot.length;xt++)ot[xt]();ot=null,xt=0}}const hn=e=>e.id==null?1/0:e.id,Ql=(e,t)=>{const n=hn(e)-hn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wi(e){Is=!1,dn=!0,Re.sort(Ql);const t=ze;try{for(tt=0;tt<Re.length;tt++){const n=Re[tt];n&&n.active!==!1&&bt(n,null,14)}}finally{tt=0,Re.length=0,Un(),dn=!1,dr=null,(Re.length||Dt.length)&&wi()}}function Xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||be;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:h}=s[p]||be;h&&(o=n.map(T=>we(T)?T.trim():T)),f&&(o=n.map(il))}let a,u=s[a=ms(t)]||s[a=ms(nt(t))];!u&&r&&(u=s[a=ms(Qt(t))]),u&&Qe(u,e,6,o);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Qe(l,e,6,o)}}function ki(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ee(e)){const u=l=>{const p=ki(l,t,!0);p&&(a=!0,Ae(i,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!a?(_e(e)&&s.set(e,null),null):(Z(r)?r.forEach(u=>i[u]=null):Ae(i,r),_e(e)&&s.set(e,i),i)}function os(e,t){return!e||!bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Qt(t))||le(e,t))}let Se=null,is=null;function Wn(e){const t=Se;return Se=e,is=e&&e.type.__scopeId||null,t}function Yl(e){is=e}function Zl(){is=null}function $e(e,t=Se,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ao(-1);const r=Wn(t);let i;try{i=e(...o)}finally{Wn(r),s._d&&ao(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:u,emit:l,render:p,renderCache:f,data:h,setupState:T,ctx:b,inheritAttrs:P}=e;let A,L;const k=Wn(e);try{if(n.shapeFlag&4){const _=o||s;A=qe(p.call(_,_,f,r,T,h,b)),L=u}else{const _=t;A=qe(_.length>1?_(r,{attrs:u,slots:a,emit:l}):_(r,null)),L=t.props?u:tc(u)}}catch(_){un.length=0,Zt(_,e,1),A=re(Ye)}let d=A;if(L&&P!==!1){const _=Object.keys(L),{shapeFlag:g}=d;_.length&&g&7&&(i&&_.some(nr)&&(L=nc(L,i)),d=Jt(d,L))}return n.dirs&&(d=Jt(d),d.dirs=d.dirs?d.dirs.concat(n.dirs):n.dirs),n.transition&&(d.transition=n.transition),A=d,Wn(k),A}function ec(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(_n(s)){if(s.type!==Ye||s.children==="v-if"){if(t)return;t=s}}else return}return t}const tc=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},nc=(e,t)=>{const n={};for(const s in e)(!nr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function sc(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:u}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Jr(s,i,l):!!i;if(u&8){const p=t.dynamicProps;for(let f=0;f<p.length;f++){const h=p[f];if(i[h]!==s[h]&&!os(l,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Jr(s,i,l):!0:!!i;return!1}function Jr(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]&&!os(n,r))return!0}return!1}function hr({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const mr="components";function rc(e,t){return Li(mr,e,!0,t)||e}const Ni=Symbol.for("v-ndc");function Ti(e){return we(e)?Li(mr,e,!1)||e:e||Ni}function Li(e,t,n=!0,s=!1){const o=Se||Ne;if(o){const r=o.type;if(e===mr){const a=Xc(r,!1);if(a&&(a===t||a===nt(t)||a===es(nt(t))))return r}const i=zr(o[e]||r[e],t)||zr(o.appContext[e],t);return!i&&s?r:i}}function zr(e,t){return e&&(e[t]||e[nt(t)]||e[es(nt(t))])}const oc=e=>e.__isSuspense,ic={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,u,l){e==null?lc(t,n,s,o,r,i,a,u,l):cc(e,t,n,s,o,i,a,u,l)},hydrate:uc,create:gr,normalize:fc},ac=ic;function mn(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function lc(e,t,n,s,o,r,i,a,u){const{p:l,o:{createElement:p}}=u,f=p("div"),h=e.suspense=gr(e,o,s,t,f,n,r,i,a,u);l(null,h.pendingBranch=e.ssContent,f,null,s,h,r,i),h.deps>0?(mn(e,"onPending"),mn(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,r,i),Ut(h,e.ssFallback)):h.resolve(!1,!0)}function cc(e,t,n,s,o,r,i,a,{p:u,um:l,o:{createElement:p}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,T=t.ssFallback,{activeBranch:b,pendingBranch:P,isInFallback:A,isHydrating:L}=f;if(P)f.pendingBranch=h,gt(h,P)?(u(P,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():A&&(u(b,T,n,s,o,null,r,i,a),Ut(f,T))):(f.pendingId++,L?(f.isHydrating=!1,f.activeBranch=P):l(P,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=p("div"),A?(u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():(u(b,T,n,s,o,null,r,i,a),Ut(f,T))):b&&gt(h,b)?(u(b,h,n,s,o,f,r,i,a),f.resolve(!0)):(u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0&&f.resolve()));else if(b&&gt(h,b))u(b,h,n,s,o,f,r,i,a),Ut(f,h);else if(mn(t,"onPending"),f.pendingBranch=h,f.pendingId++,u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:k,pendingId:d}=f;k>0?setTimeout(()=>{f.pendingId===d&&f.fallback(T)},k):k===0&&f.fallback(T)}}function gr(e,t,n,s,o,r,i,a,u,l,p=!1){const{p:f,m:h,um:T,n:b,o:{parentNode:P,remove:A}}=l;let L;const k=pc(e);k&&t!=null&&t.pendingBranch&&(L=t.pendingId,t.deps++);const d=e.props?al(e.props.timeout):void 0,_={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:typeof d=="number"?d:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(g=!1,c=!1){const{vnode:y,activeBranch:v,pendingBranch:m,pendingId:w,effects:N,parentComponent:S,container:R}=_;let $=!1;if(_.isHydrating)_.isHydrating=!1;else if(!g){$=v&&m.transition&&m.transition.mode==="out-in",$&&(v.transition.afterLeave=()=>{w===_.pendingId&&(h(m,R,K,0),Cs(N))});let{anchor:K}=_;v&&(K=b(v),T(v,S,_,!0)),$||h(m,R,K,0)}Ut(_,m),_.pendingBranch=null,_.isInFallback=!1;let D=_.parent,I=!1;for(;D;){if(D.pendingBranch){D.effects.push(...N),I=!0;break}D=D.parent}!I&&!$&&Cs(N),_.effects=[],k&&t&&t.pendingBranch&&L===t.pendingId&&(t.deps--,t.deps===0&&!c&&t.resolve()),mn(y,"onResolve")},fallback(g){if(!_.pendingBranch)return;const{vnode:c,activeBranch:y,parentComponent:v,container:m,isSVG:w}=_;mn(c,"onFallback");const N=b(y),S=()=>{_.isInFallback&&(f(null,g,m,N,v,null,w,a,u),Ut(_,g))},R=g.transition&&g.transition.mode==="out-in";R&&(y.transition.afterLeave=S),_.isInFallback=!0,T(y,v,null,!0),R||S()},move(g,c,y){_.activeBranch&&h(_.activeBranch,g,c,y),_.container=g},next(){return _.activeBranch&&b(_.activeBranch)},registerDep(g,c){const y=!!_.pendingBranch;y&&_.deps++;const v=g.vnode.el;g.asyncDep.catch(m=>{Zt(m,g,0)}).then(m=>{if(g.isUnmounted||_.isUnmounted||_.pendingId!==g.suspenseId)return;g.asyncResolved=!0;const{vnode:w}=g;Hs(g,m,!1),v&&(w.el=v);const N=!v&&g.subTree.el;c(g,w,P(v||g.subTree.el),v?null:b(g.subTree),_,i,u),N&&A(N),hr(g,w.el),y&&--_.deps===0&&_.resolve()})},unmount(g,c){_.isUnmounted=!0,_.activeBranch&&T(_.activeBranch,n,g,c),_.pendingBranch&&T(_.pendingBranch,n,g,c)}};return _}function uc(e,t,n,s,o,r,i,a,u){const l=t.suspense=gr(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),p=u(e,l.pendingBranch=t.ssContent,n,l,r,i);return l.deps===0&&l.resolve(!1,!0),p}function fc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Qr(s?n.default:n),e.ssFallback=s?Qr(n.fallback):re(Ye)}function Qr(e){let t;if(ee(e)){const n=Kt&&e._c;n&&(e._d=!1,ae()),e=e(),n&&(e._d=!0,t=Ve,qi())}return Z(e)&&(e=ec(e)),e=qe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xi(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Cs(e)}function Ut(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,hr(s,o))}function pc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function _m(e,t){return _r(e,null,t)}const Sn={};function vt(e,t,n){return _r(e,t,n)}function _r(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=be){var a;const u=ei()===((a=Ne)==null?void 0:a.scope)?Ne:null;let l,p=!1,f=!1;if(Le(e)?(l=()=>e.value,p=Dn(e)):Ht(e)?(l=()=>e,s=!0):Z(e)?(f=!0,p=e.some(_=>Ht(_)||Dn(_)),l=()=>e.map(_=>{if(Le(_))return _.value;if(Ht(_))return Pt(_);if(ee(_))return bt(_,u,2)})):ee(e)?t?l=()=>bt(e,u,2):l=()=>{if(!(u&&u.isUnmounted))return h&&h(),Qe(e,u,3,[T])}:l=ze,t&&s){const _=l;l=()=>Pt(_())}let h,T=_=>{h=k.onStop=()=>{bt(_,u,4)}},b;if(zt)if(T=ze,t?n&&Qe(t,u,3,[l(),f?[]:void 0,T]):l(),o==="sync"){const _=eu();b=_.__watcherHandles||(_.__watcherHandles=[])}else return ze;let P=f?new Array(e.length).fill(Sn):Sn;const A=()=>{if(k.active)if(t){const _=k.run();(s||p||(f?_.some((g,c)=>Rt(g,P[c])):Rt(_,P)))&&(h&&h(),Qe(t,u,3,[_,P===Sn?void 0:f&&P[0]===Sn?[]:P,T]),P=_)}else k.run()};A.allowRecurse=!!t;let L;o==="sync"?L=A:o==="post"?L=()=>Ce(A,u&&u.suspense):(A.pre=!0,u&&(A.id=u.uid),L=()=>rs(A));const k=new ar(l,L);t?n?A():P=k.run():o==="post"?Ce(k.run.bind(k),u&&u.suspense):k.run();const d=()=>{k.stop(),u&&u.scope&&sr(u.scope.effects,k)};return b&&b.push(d),d}function dc(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Si(s,e):()=>s[e]:e.bind(s,s);let r;ee(t)?r=t:(r=t.handler,n=t);const i=Ne;Nt(this);const a=_r(o,r.bind(s),n);return i?Nt(i):wt(),a}function Si(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 Pt(e,t){if(!_e(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Le(e))Pt(e.value,t);else if(Z(e))for(let n=0;n<e.length;n++)Pt(e[n],t);else if(Jo(e)||Ft(e))e.forEach(n=>{Pt(n,t)});else if(Qo(e))for(const n in e)Pt(e[n],t);return e}function hc(e,t){const n=Se;if(n===null)return e;const s=us(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,u,l=be]=t[r];i&&(ee(i)&&(i={mounted:i,updated:i}),i.deep&&Pt(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:u,modifiers:l}))}return e}function et(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let u=a.dir[s];u&&(Xt(),Qe(u,n,8,[e.el,a,e,t]),Yt())}}/*! #__NO_SIDE_EFFECTS__ */function ct(e,t){return ee(e)?(()=>Ae({name:e.name},t,{setup:e}))():e}const Wt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Xr(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:a}=e;let u=null,l,p=0;const f=()=>(p++,u=null,h()),h=()=>{let T;return u||(T=u=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((P,A)=>{a(b,()=>P(f()),()=>A(b),p+1)});throw b}).then(b=>T!==u&&u?u:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),l=b,b)))};return ct({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return l},setup(){const T=Ne;if(l)return()=>_s(l,T);const b=k=>{u=null,Zt(k,T,13,!s)};if(i&&T.suspense||zt)return h().then(k=>()=>_s(k,T)).catch(k=>(b(k),()=>s?re(s,{error:k}):null));const P=ve(!1),A=ve(),L=ve(!!o);return o&&setTimeout(()=>{L.value=!1},o),r!=null&&setTimeout(()=>{if(!P.value&&!A.value){const k=new Error(`Async component timed out after ${r}ms.`);b(k),A.value=k}},r),h().then(()=>{P.value=!0,T.parent&&yr(T.parent.vnode)&&rs(T.parent.update)}).catch(k=>{b(k),A.value=k}),()=>{if(P.value&&l)return _s(l,T);if(A.value&&s)return re(s,{error:A.value});if(n&&!L.value)return re(n)}}})}function _s(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=re(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const yr=e=>e.type.__isKeepAlive;function mc(e,t){Ai(e,"a",t)}function gc(e,t){Ai(e,"da",t)}function Ai(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(as(t,s,n),n){let o=n.parent;for(;o&&o.parent;)yr(o.parent.vnode)&&_c(s,t,n,o),o=o.parent}}function _c(e,t,n,s){const o=as(t,e,s,!0);ji(()=>{sr(s[t],o)},n)}function as(e,t,n=Ne,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Xt(),Nt(n);const a=Qe(t,n,e,i);return wt(),Yt(),a});return s?o.unshift(r):o.push(r),r}}const ut=e=>(t,n=Ne)=>(!zt||e==="sp")&&as(e,(...s)=>t(...s),n),yc=ut("bm"),br=ut("m"),bc=ut("bu"),vc=ut("u"),Pi=ut("bum"),ji=ut("um"),wc=ut("sp"),kc=ut("rtg"),Nc=ut("rtc");function Ri(e,t=Ne){as("ec",e,t)}function Yr(e,t,n,s){let o;const r=n&&n[s];if(Z(e)||we(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;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,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,u=i.length;a<u;a++){const l=i[a];o[a]=t(e[l],l,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function Ge(e,t,n={},s,o){if(Se.isCE||Se.parent&&Wt(Se.parent)&&Se.parent.isCE)return t!=="default"&&(n.name=t),re("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),ae();const i=r&&Ei(r(n)),a=Oe(je,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ei(e){return e.some(t=>_n(t)?!(t.type===Ye||t.type===je&&!Ei(t.children)):!0)?e:null}const Ms=e=>e?zi(e)?us(e)||e.proxy:Ms(e.parent):null,cn=Ae(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=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>vr(e),$forceUpdate:e=>e.f||(e.f=()=>rs(e.update)),$nextTick:e=>e.n||(e.n=ss.bind(e.proxy)),$watch:e=>dc.bind(e)}),ys=(e,t)=>e!==be&&!e.__isScriptSetup&&le(e,t),Tc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:u}=e;let l;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ys(s,t))return i[t]=1,s[t];if(o!==be&&le(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&le(l,t))return i[t]=3,r[t];if(n!==be&&le(n,t))return i[t]=4,n[t];$s&&(i[t]=0)}}const p=cn[t];let f,h;if(p)return t==="$attrs"&&Fe(e,"get",t),p(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==be&&le(n,t))return i[t]=4,n[t];if(h=u.config.globalProperties,le(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ys(o,t)?(o[t]=n,!0):s!==be&&le(s,t)?(s[t]=n,!0):le(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 a;return!!n[i]||e!==be&&le(e,i)||ys(t,i)||(a=r[0])&&le(a,i)||le(s,i)||le(cn,i)||le(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Zr(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Lc(e){const t=cs();let n=e();return wt(),rr(n)&&(n=n.catch(s=>{throw Nt(t),s})),[n,()=>Nt(t)]}let $s=!0;function xc(e){const t=vr(e),n=e.proxy,s=e.ctx;$s=!1,t.beforeCreate&&eo(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:u,inject:l,created:p,beforeMount:f,mounted:h,beforeUpdate:T,updated:b,activated:P,deactivated:A,beforeDestroy:L,beforeUnmount:k,destroyed:d,unmounted:_,render:g,renderTracked:c,renderTriggered:y,errorCaptured:v,serverPrefetch:m,expose:w,inheritAttrs:N,components:S,directives:R,filters:$}=t;if(l&&Sc(l,s,null),i)for(const K in i){const q=i[K];ee(q)&&(s[K]=q.bind(n))}if(o){const K=o.call(n,n);_e(K)&&(e.data=st(K))}if($s=!0,r)for(const K in r){const q=r[K],te=ee(q)?q.bind(n,n):ee(q.get)?q.get.bind(n,n):ze,he=!ee(q)&&ee(q.set)?q.set.bind(n):ze,ue=Xe({get:te,set:he});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>ue.value,set:oe=>ue.value=oe})}if(a)for(const K in a)Oi(a[K],s,n,K);if(u){const K=ee(u)?u.call(n):u;Reflect.ownKeys(K).forEach(q=>{Ci(q,K[q])})}p&&eo(p,e,"c");function I(K,q){Z(q)?q.forEach(te=>K(te.bind(n))):q&&K(q.bind(n))}if(I(yc,f),I(br,h),I(bc,T),I(vc,b),I(mc,P),I(gc,A),I(Ri,v),I(Nc,c),I(kc,y),I(Pi,k),I(ji,_),I(wc,m),Z(w))if(w.length){const K=e.exposed||(e.exposed={});w.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:te=>n[q]=te})})}else e.exposed||(e.exposed={});g&&e.render===ze&&(e.render=g),N!=null&&(e.inheritAttrs=N),S&&(e.components=S),R&&(e.directives=R)}function Sc(e,t,n=ze){Z(e)&&(e=Bs(e));for(const s in e){const o=e[s];let r;_e(o)?"default"in o?r=Gt(o.from||s,o.default,!0):r=Gt(o.from||s):r=Gt(o),Le(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function eo(e,t,n){Qe(Z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oi(e,t,n,s){const o=s.includes(".")?Si(n,s):()=>n[s];if(we(e)){const r=t[e];ee(r)&&vt(o,r)}else if(ee(e))vt(o,e.bind(n));else if(_e(e))if(Z(e))e.forEach(r=>Oi(r,t,n,s));else{const r=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(r)&&vt(o,r,e)}}function vr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let u;return a?u=a:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(l=>Gn(u,l,i,!0)),Gn(u,t,i)),_e(t)&&r.set(t,u),u}function Gn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Gn(e,r,n,!0),o&&o.forEach(i=>Gn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Ac[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ac={data:to,props:no,emits:no,methods:an,computed:an,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:an,directives:an,watch:jc,provide:to,inject:Pc};function to(e,t){return t?e?function(){return Ae(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Pc(e,t){return an(Bs(e),Bs(t))}function Bs(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function an(e,t){return e?Ae(Object.create(null),e,t):t}function no(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Zr(e),Zr(t??{})):t}function jc(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const s in t)n[s]=Ee(e[s],t[s]);return n}function Ii(){return{app:null,config:{isNativeTag:el,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 Rc=0;function Ec(e,t){return function(s,o=null){ee(s)||(s=Ae({},s)),o!=null&&!_e(o)&&(o=null);const r=Ii(),i=new WeakSet;let a=!1;const u=r.app={_uid:Rc++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Xi,get config(){return r.config},set config(l){},use(l,...p){return i.has(l)||(l&&ee(l.install)?(i.add(l),l.install(u,...p)):ee(l)&&(i.add(l),l(u,...p))),u},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),u},component(l,p){return p?(r.components[l]=p,u):r.components[l]},directive(l,p){return p?(r.directives[l]=p,u):r.directives[l]},mount(l,p,f){if(!a){const h=re(s,o);return h.appContext=r,p&&t?t(h,l):e(h,l,f),a=!0,u._container=l,l.__vue_app__=u,us(h.component)||h.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(l,p){return r.provides[l]=p,u},runWithContext(l){gn=u;try{return l()}finally{gn=null}}};return u}}let gn=null;function Ci(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function Gt(e,t,n=!1){const s=Ne||Se;if(s||gn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:gn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ee(t)?t.call(s&&s.proxy):t}}function Mi(){return!!(Ne||Se||gn)}function Oc(e,t,n,s=!1){const o={},r={};Bn(r,ls,1),e.propsDefaults=Object.create(null),$i(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:fi(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Ic(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ce(o),[u]=e.propsOptions;let l=!1;if((s||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let f=0;f<p.length;f++){let h=p[f];if(os(e.emitsOptions,h))continue;const T=t[h];if(u)if(le(r,h))T!==r[h]&&(r[h]=T,l=!0);else{const b=nt(h);o[b]=Fs(u,a,b,T,e,!1)}else T!==r[h]&&(r[h]=T,l=!0)}}}else{$i(e,t,o,r)&&(l=!0);let p;for(const f in a)(!t||!le(t,f)&&((p=Qt(f))===f||!le(t,p)))&&(u?n&&(n[f]!==void 0||n[p]!==void 0)&&(o[f]=Fs(u,a,f,void 0,e,!0)):delete o[f]);if(r!==a)for(const f in r)(!t||!le(t,f))&&(delete r[f],l=!0)}l&&lt(e,"set","$attrs")}function $i(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let u in t){if(ln(u))continue;const l=t[u];let p;o&&le(o,p=nt(u))?!r||!r.includes(p)?n[p]=l:(a||(a={}))[p]=l:os(e.emitsOptions,u)||(!(u in s)||l!==s[u])&&(s[u]=l,i=!0)}if(r){const u=ce(n),l=a||be;for(let p=0;p<r.length;p++){const f=r[p];n[f]=Fs(o,u,f,l[f],e,!le(l,f))}}return i}function Fs(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=le(i,"default");if(a&&s===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&ee(u)){const{propsDefaults:l}=o;n in l?s=l[n]:(Nt(o),s=l[n]=u.call(null,t),wt())}else s=u}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Qt(n))&&(s=!0))}return s}function Bi(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let u=!1;if(!ee(e)){const p=f=>{u=!0;const[h,T]=Bi(f,t,!0);Ae(i,h),T&&a.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!u)return _e(e)&&s.set(e,Bt),Bt;if(Z(r))for(let p=0;p<r.length;p++){const f=nt(r[p]);so(f)&&(i[f]=be)}else if(r)for(const p in r){const f=nt(p);if(so(f)){const h=r[p],T=i[f]=Z(h)||ee(h)?{type:h}:Ae({},h);if(T){const b=io(Boolean,T.type),P=io(String,T.type);T[0]=b>-1,T[1]=P<0||b<P,(b>-1||le(T,"default"))&&a.push(f)}}}const l=[i,a];return _e(e)&&s.set(e,l),l}function so(e){return e[0]!=="$"}function ro(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function oo(e,t){return ro(e)===ro(t)}function io(e,t){return Z(t)?t.findIndex(n=>oo(n,e)):ee(t)&&oo(t,e)?0:-1}const Fi=e=>e[0]==="_"||e==="$stable",wr=e=>Z(e)?e.map(qe):[qe(e)],Cc=(e,t,n)=>{if(t._n)return t;const s=$e((...o)=>wr(t(...o)),n);return s._c=!1,s},Hi=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Fi(o))continue;const r=e[o];if(ee(r))t[o]=Cc(o,r,s);else if(r!=null){const i=wr(r);t[o]=()=>i}}},Di=(e,t)=>{const n=wr(t);e.slots.default=()=>n},Mc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Bn(t,"_",n)):Hi(t,e.slots={})}else e.slots={},t&&Di(e,t);Bn(e.slots,ls,1)},$c=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=be;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Ae(o,t),!n&&a===1&&delete o._):(r=!t.$stable,Hi(t,o)),i=t}else t&&(Di(e,t),i={default:1});if(r)for(const a in o)!Fi(a)&&i[a]==null&&delete o[a]};function qn(e,t,n,s,o=!1){if(Z(e)){e.forEach((h,T)=>qn(h,t&&(Z(t)?t[T]:t),n,s,o));return}if(Wt(s)&&!o)return;const r=s.shapeFlag&4?us(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:u}=e,l=t&&t.r,p=a.refs===be?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==u&&(we(l)?(p[l]=null,le(f,l)&&(f[l]=null)):Le(l)&&(l.value=null)),ee(u))bt(u,a,12,[i,p]);else{const h=we(u),T=Le(u);if(h||T){const b=()=>{if(e.f){const P=h?le(f,u)?f[u]:p[u]:u.value;o?Z(P)&&sr(P,r):Z(P)?P.includes(r)||P.push(r):h?(p[u]=[r],le(f,u)&&(f[u]=p[u])):(u.value=[r],e.k&&(p[e.k]=u.value))}else h?(p[u]=i,le(f,u)&&(f[u]=i)):T&&(u.value=i,e.k&&(p[e.k]=i))};i?(b.id=-1,Ce(b,n)):b()}}}let dt=!1;const An=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Pn=e=>e.nodeType===8;function Bc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:u,createComment:l}}=e,p=(d,_)=>{if(!_.hasChildNodes()){n(null,d,_),Un(),_._vnode=d;return}dt=!1,f(_.firstChild,d,null,null,null),Un(),_._vnode=d,dt&&console.error("Hydration completed but contains mismatches.")},f=(d,_,g,c,y,v=!1)=>{const m=Pn(d)&&d.data==="[",w=()=>P(d,_,g,c,y,m),{type:N,ref:S,shapeFlag:R,patchFlag:$}=_;let D=d.nodeType;_.el=d,$===-2&&(v=!1,_.dynamicChildren=null);let I=null;switch(N){case Vt:D!==3?_.children===""?(u(_.el=o(""),i(d),d),I=d):I=w():(d.data!==_.children&&(dt=!0,d.data=_.children),I=r(d));break;case Ye:k(d)?(I=r(d),L(_.el=d.content.firstChild,d,g)):D!==8||m?I=w():I=r(d);break;case On:if(m&&(d=r(d),D=d.nodeType),D===1||D===3){I=d;const K=!_.children.length;for(let q=0;q<_.staticCount;q++)K&&(_.children+=I.nodeType===1?I.outerHTML:I.data),q===_.staticCount-1&&(_.anchor=I),I=r(I);return m?r(I):I}else w();break;case je:m?I=b(d,_,g,c,y,v):I=w();break;default:if(R&1)(D!==1||_.type.toLowerCase()!==d.tagName.toLowerCase())&&!k(d)?I=w():I=h(d,_,g,c,y,v);else if(R&6){_.slotScopeIds=y;const K=i(d);if(m?I=A(d):Pn(d)&&d.data==="teleport start"?I=A(d,d.data,"teleport end"):I=r(d),t(_,K,null,g,c,An(K),v),Wt(_)){let q;m?(q=re(je),q.anchor=I?I.previousSibling:K.lastChild):q=d.nodeType===3?Be(""):re("div"),q.el=d,_.component.subTree=q}}else R&64?D!==8?I=w():I=_.type.hydrate(d,_,g,c,y,v,e,T):R&128&&(I=_.type.hydrate(d,_,g,c,An(i(d)),y,v,e,f))}return S!=null&&qn(S,null,c,_),I},h=(d,_,g,c,y,v)=>{v=v||!!_.dynamicChildren;const{type:m,props:w,patchFlag:N,shapeFlag:S,dirs:R,transition:$}=_,D=m==="input"&&R||m==="option";if(D||N!==-1){if(R&&et(_,null,g,"created"),w)if(D||!v||N&48)for(const q in w)(D&&q.endsWith("value")||bn(q)&&!ln(q))&&s(d,q,null,w[q],!1,void 0,g);else w.onClick&&s(d,"onClick",null,w.onClick,!1,void 0,g);let I;(I=w&&w.onVnodeBeforeMount)&&We(I,g,_);let K=!1;if(k(d)){K=Wi(c,$)&&g&&g.vnode.props&&g.vnode.props.appear;const q=d.content.firstChild;K&&$.beforeEnter(q),L(q,d,g),_.el=d=q}if(R&&et(_,null,g,"beforeMount"),((I=w&&w.onVnodeMounted)||R||K)&&xi(()=>{I&&We(I,g,_),K&&$.enter(d),R&&et(_,null,g,"mounted")},c),S&16&&!(w&&(w.innerHTML||w.textContent))){let q=T(d.firstChild,_,d,g,c,y,v);for(;q;){dt=!0;const te=q;q=q.nextSibling,a(te)}}else S&8&&d.textContent!==_.children&&(dt=!0,d.textContent=_.children)}return d.nextSibling},T=(d,_,g,c,y,v,m)=>{m=m||!!_.dynamicChildren;const w=_.children,N=w.length;for(let S=0;S<N;S++){const R=m?w[S]:w[S]=qe(w[S]);if(d)d=f(d,R,c,y,v,m);else{if(R.type===Vt&&!R.children)continue;dt=!0,n(null,R,g,null,c,y,An(g),v)}}return d},b=(d,_,g,c,y,v)=>{const{slotScopeIds:m}=_;m&&(y=y?y.concat(m):m);const w=i(d),N=T(r(d),_,w,g,c,y,v);return N&&Pn(N)&&N.data==="]"?r(_.anchor=N):(dt=!0,u(_.anchor=l("]"),w,N),N)},P=(d,_,g,c,y,v)=>{if(dt=!0,_.el=null,v){const N=A(d);for(;;){const S=r(d);if(S&&S!==N)a(S);else break}}const m=r(d),w=i(d);return a(d),n(null,_,w,m,g,c,An(w),y),m},A=(d,_="[",g="]")=>{let c=0;for(;d;)if(d=r(d),d&&Pn(d)&&(d.data===_&&c++,d.data===g)){if(c===0)return r(d);c--}return d},L=(d,_,g)=>{const c=_.parentNode;c&&c.replaceChild(d,_);let y=g;for(;y;)y.vnode.el===_&&(y.vnode.el=y.subTree.el=d),y=y.parent},k=d=>d.nodeType===1&&d.tagName.toLowerCase()==="template";return[p,f]}const Ce=xi;function Fc(e){return Ui(e)}function Hc(e){return Ui(e,Bc)}function Ui(e,t){const n=js();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:u,setText:l,setElementText:p,parentNode:f,nextSibling:h,setScopeId:T=ze,insertStaticContent:b}=e,P=(x,j,O,C=null,M=null,G=null,V=!1,U=null,W=!!j.dynamicChildren)=>{if(x===j)return;x&&!gt(x,j)&&(C=H(x),oe(x,M,G,!0),x=null),j.patchFlag===-2&&(W=!1,j.dynamicChildren=null);const{type:F,ref:z,shapeFlag:E}=j;switch(F){case Vt:A(x,j,O,C);break;case Ye:L(x,j,O,C);break;case On:x==null&&k(j,O,C,V);break;case je:S(x,j,O,C,M,G,V,U,W);break;default:E&1?g(x,j,O,C,M,G,V,U,W):E&6?R(x,j,O,C,M,G,V,U,W):(E&64||E&128)&&F.process(x,j,O,C,M,G,V,U,W,ie)}z!=null&&M&&qn(z,x&&x.ref,G,j||x,!j)},A=(x,j,O,C)=>{if(x==null)s(j.el=a(j.children),O,C);else{const M=j.el=x.el;j.children!==x.children&&l(M,j.children)}},L=(x,j,O,C)=>{x==null?s(j.el=u(j.children||""),O,C):j.el=x.el},k=(x,j,O,C)=>{[x.el,x.anchor]=b(x.children,j,O,C,x.el,x.anchor)},d=({el:x,anchor:j},O,C)=>{let M;for(;x&&x!==j;)M=h(x),s(x,O,C),x=M;s(j,O,C)},_=({el:x,anchor:j})=>{let O;for(;x&&x!==j;)O=h(x),o(x),x=O;o(j)},g=(x,j,O,C,M,G,V,U,W)=>{V=V||j.type==="svg",x==null?c(j,O,C,M,G,V,U,W):m(x,j,M,G,V,U,W)},c=(x,j,O,C,M,G,V,U)=>{let W,F;const{type:z,props:E,shapeFlag:B,transition:J,dirs:Y}=x;if(W=x.el=i(x.type,G,E&&E.is,E),B&8?p(W,x.children):B&16&&v(x.children,W,null,C,M,G&&z!=="foreignObject",V,U),Y&&et(x,null,C,"created"),y(W,x,x.scopeId,V,C),E){for(const Q in E)Q!=="value"&&!ln(Q)&&r(W,Q,null,E[Q],G,x.children,C,M,me);"value"in E&&r(W,"value",null,E.value),(F=E.onVnodeBeforeMount)&&We(F,C,x)}Y&&et(x,null,C,"beforeMount");const X=Wi(M,J);X&&J.beforeEnter(W),s(W,j,O),((F=E&&E.onVnodeMounted)||X||Y)&&Ce(()=>{F&&We(F,C,x),X&&J.enter(W),Y&&et(x,null,C,"mounted")},M)},y=(x,j,O,C,M)=>{if(O&&T(x,O),C)for(let G=0;G<C.length;G++)T(x,C[G]);if(M){let G=M.subTree;if(j===G){const V=M.vnode;y(x,V,V.scopeId,V.slotScopeIds,M.parent)}}},v=(x,j,O,C,M,G,V,U,W=0)=>{for(let F=W;F<x.length;F++){const z=x[F]=U?mt(x[F]):qe(x[F]);P(null,z,j,O,C,M,G,V,U)}},m=(x,j,O,C,M,G,V)=>{const U=j.el=x.el;let{patchFlag:W,dynamicChildren:F,dirs:z}=j;W|=x.patchFlag&16;const E=x.props||be,B=j.props||be;let J;O&&Tt(O,!1),(J=B.onVnodeBeforeUpdate)&&We(J,O,j,x),z&&et(j,x,O,"beforeUpdate"),O&&Tt(O,!0);const Y=M&&j.type!=="foreignObject";if(F?w(x.dynamicChildren,F,U,O,C,Y,G):V||q(x,j,U,null,O,C,Y,G,!1),W>0){if(W&16)N(U,j,E,B,O,C,M);else if(W&2&&E.class!==B.class&&r(U,"class",null,B.class,M),W&4&&r(U,"style",E.style,B.style,M),W&8){const X=j.dynamicProps;for(let Q=0;Q<X.length;Q++){const se=X[Q],xe=E[se],He=B[se];(He!==xe||se==="value")&&r(U,se,xe,He,M,x.children,O,C,me)}}W&1&&x.children!==j.children&&p(U,j.children)}else!V&&F==null&&N(U,j,E,B,O,C,M);((J=B.onVnodeUpdated)||z)&&Ce(()=>{J&&We(J,O,j,x),z&&et(j,x,O,"updated")},C)},w=(x,j,O,C,M,G,V)=>{for(let U=0;U<j.length;U++){const W=x[U],F=j[U],z=W.el&&(W.type===je||!gt(W,F)||W.shapeFlag&70)?f(W.el):O;P(W,F,z,null,C,M,G,V,!0)}},N=(x,j,O,C,M,G,V)=>{if(O!==C){if(O!==be)for(const U in O)!ln(U)&&!(U in C)&&r(x,U,O[U],null,V,j.children,M,G,me);for(const U in C){if(ln(U))continue;const W=C[U],F=O[U];W!==F&&U!=="value"&&r(x,U,F,W,V,j.children,M,G,me)}"value"in C&&r(x,"value",O.value,C.value)}},S=(x,j,O,C,M,G,V,U,W)=>{const F=j.el=x?x.el:a(""),z=j.anchor=x?x.anchor:a("");let{patchFlag:E,dynamicChildren:B,slotScopeIds:J}=j;J&&(U=U?U.concat(J):J),x==null?(s(F,O,C),s(z,O,C),v(j.children,O,z,M,G,V,U,W)):E>0&&E&64&&B&&x.dynamicChildren?(w(x.dynamicChildren,B,O,M,G,V,U),(j.key!=null||M&&j===M.subTree)&&Gi(x,j,!0)):q(x,j,O,z,M,G,V,U,W)},R=(x,j,O,C,M,G,V,U,W)=>{j.slotScopeIds=U,x==null?j.shapeFlag&512?M.ctx.activate(j,O,C,V,W):$(j,O,C,M,G,V,W):D(x,j,W)},$=(x,j,O,C,M,G,V)=>{const U=x.component=Vc(x,C,M);if(yr(x)&&(U.ctx.renderer=ie),Kc(U),U.asyncDep){if(M&&M.registerDep(U,I),!x.el){const W=U.subTree=re(Ye);L(null,W,j,O)}return}I(U,x,j,O,M,G,V)},D=(x,j,O)=>{const C=j.component=x.component;if(sc(x,j,O))if(C.asyncDep&&!C.asyncResolved){K(C,j,O);return}else C.next=j,zl(C.update),C.update();else j.el=x.el,C.vnode=j},I=(x,j,O,C,M,G,V)=>{const U=()=>{if(x.isMounted){let{next:z,bu:E,u:B,parent:J,vnode:Y}=x,X=z,Q;Tt(x,!1),z?(z.el=Y.el,K(x,z,V)):z=Y,E&&En(E),(Q=z.props&&z.props.onVnodeBeforeUpdate)&&We(Q,J,z,Y),Tt(x,!0);const se=gs(x),xe=x.subTree;x.subTree=se,P(xe,se,f(xe.el),H(xe),x,M,G),z.el=se.el,X===null&&hr(x,se.el),B&&Ce(B,M),(Q=z.props&&z.props.onVnodeUpdated)&&Ce(()=>We(Q,J,z,Y),M)}else{let z;const{el:E,props:B}=j,{bm:J,m:Y,parent:X}=x,Q=Wt(j);if(Tt(x,!1),J&&En(J),!Q&&(z=B&&B.onVnodeBeforeMount)&&We(z,X,j),Tt(x,!0),E&&Ke){const se=()=>{x.subTree=gs(x),Ke(E,x.subTree,x,M,null)};Q?j.type.__asyncLoader().then(()=>!x.isUnmounted&&se()):se()}else{const se=x.subTree=gs(x);P(null,se,O,C,x,M,G),j.el=se.el}if(Y&&Ce(Y,M),!Q&&(z=B&&B.onVnodeMounted)){const se=j;Ce(()=>We(z,X,se),M)}(j.shapeFlag&256||X&&Wt(X.vnode)&&X.vnode.shapeFlag&256)&&x.a&&Ce(x.a,M),x.isMounted=!0,j=O=C=null}},W=x.effect=new ar(U,()=>rs(F),x.scope),F=x.update=()=>W.run();F.id=x.uid,Tt(x,!0),F()},K=(x,j,O)=>{j.component=x;const C=x.vnode.props;x.vnode=j,x.next=null,Ic(x,j.props,C,O),$c(x,j.children,O),Xt(),Kr(),Yt()},q=(x,j,O,C,M,G,V,U,W=!1)=>{const F=x&&x.children,z=x?x.shapeFlag:0,E=j.children,{patchFlag:B,shapeFlag:J}=j;if(B>0){if(B&128){he(F,E,O,C,M,G,V,U,W);return}else if(B&256){te(F,E,O,C,M,G,V,U,W);return}}J&8?(z&16&&me(F,M,G),E!==F&&p(O,E)):z&16?J&16?he(F,E,O,C,M,G,V,U,W):me(F,M,G,!0):(z&8&&p(O,""),J&16&&v(E,O,C,M,G,V,U,W))},te=(x,j,O,C,M,G,V,U,W)=>{x=x||Bt,j=j||Bt;const F=x.length,z=j.length,E=Math.min(F,z);let B;for(B=0;B<E;B++){const J=j[B]=W?mt(j[B]):qe(j[B]);P(x[B],J,O,null,M,G,V,U,W)}F>z?me(x,M,G,!0,!1,E):v(j,O,C,M,G,V,U,W,E)},he=(x,j,O,C,M,G,V,U,W)=>{let F=0;const z=j.length;let E=x.length-1,B=z-1;for(;F<=E&&F<=B;){const J=x[F],Y=j[F]=W?mt(j[F]):qe(j[F]);if(gt(J,Y))P(J,Y,O,null,M,G,V,U,W);else break;F++}for(;F<=E&&F<=B;){const J=x[E],Y=j[B]=W?mt(j[B]):qe(j[B]);if(gt(J,Y))P(J,Y,O,null,M,G,V,U,W);else break;E--,B--}if(F>E){if(F<=B){const J=B+1,Y=J<z?j[J].el:C;for(;F<=B;)P(null,j[F]=W?mt(j[F]):qe(j[F]),O,Y,M,G,V,U,W),F++}}else if(F>B)for(;F<=E;)oe(x[F],M,G,!0),F++;else{const J=F,Y=F,X=new Map;for(F=Y;F<=B;F++){const De=j[F]=W?mt(j[F]):qe(j[F]);De.key!=null&&X.set(De.key,F)}let Q,se=0;const xe=B-Y+1;let He=!1,tn=0;const nn=new Array(xe);for(F=0;F<xe;F++)nn[F]=0;for(F=J;F<=E;F++){const De=x[F];if(se>=xe){oe(De,M,G,!0);continue}let Ze;if(De.key!=null)Ze=X.get(De.key);else for(Q=Y;Q<=B;Q++)if(nn[Q-Y]===0&&gt(De,j[Q])){Ze=Q;break}Ze===void 0?oe(De,M,G,!0):(nn[Ze-Y]=F+1,Ze>=tn?tn=Ze:He=!0,P(De,j[Ze],O,null,M,G,V,U,W),se++)}const Cr=He?Dc(nn):Bt;for(Q=Cr.length-1,F=xe-1;F>=0;F--){const De=Y+F,Ze=j[De],Mr=De+1<z?j[De+1].el:C;nn[F]===0?P(null,Ze,O,Mr,M,G,V,U,W):He&&(Q<0||F!==Cr[Q]?ue(Ze,O,Mr,2):Q--)}}},ue=(x,j,O,C,M=null)=>{const{el:G,type:V,transition:U,children:W,shapeFlag:F}=x;if(F&6){ue(x.component.subTree,j,O,C);return}if(F&128){x.suspense.move(j,O,C);return}if(F&64){V.move(x,j,O,ie);return}if(V===je){s(G,j,O);for(let E=0;E<W.length;E++)ue(W[E],j,O,C);s(x.anchor,j,O);return}if(V===On){d(x,j,O);return}if(C!==2&&F&1&&U)if(C===0)U.beforeEnter(G),s(G,j,O),Ce(()=>U.enter(G),M);else{const{leave:E,delayLeave:B,afterLeave:J}=U,Y=()=>s(G,j,O),X=()=>{E(G,()=>{Y(),J&&J()})};B?B(G,Y,X):X()}else s(G,j,O)},oe=(x,j,O,C=!1,M=!1)=>{const{type:G,props:V,ref:U,children:W,dynamicChildren:F,shapeFlag:z,patchFlag:E,dirs:B}=x;if(U!=null&&qn(U,null,O,x,!0),z&256){j.ctx.deactivate(x);return}const J=z&1&&B,Y=!Wt(x);let X;if(Y&&(X=V&&V.onVnodeBeforeUnmount)&&We(X,j,x),z&6)de(x.component,O,C);else{if(z&128){x.suspense.unmount(O,C);return}J&&et(x,null,j,"beforeUnmount"),z&64?x.type.remove(x,j,O,M,ie,C):F&&(G!==je||E>0&&E&64)?me(F,j,O,!1,!0):(G===je&&E&384||!M&&z&16)&&me(W,j,O),C&&fe(x)}(Y&&(X=V&&V.onVnodeUnmounted)||J)&&Ce(()=>{X&&We(X,j,x),J&&et(x,null,j,"unmounted")},O)},fe=x=>{const{type:j,el:O,anchor:C,transition:M}=x;if(j===je){pe(O,C);return}if(j===On){_(x);return}const G=()=>{o(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(x.shapeFlag&1&&M&&!M.persisted){const{leave:V,delayLeave:U}=M,W=()=>V(O,G);U?U(x.el,G,W):W()}else G()},pe=(x,j)=>{let O;for(;x!==j;)O=h(x),o(x),x=O;o(j)},de=(x,j,O)=>{const{bum:C,scope:M,update:G,subTree:V,um:U}=x;C&&En(C),M.stop(),G&&(G.active=!1,oe(V,x,j,O)),U&&Ce(U,j),Ce(()=>{x.isUnmounted=!0},j),j&&j.pendingBranch&&!j.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===j.pendingId&&(j.deps--,j.deps===0&&j.resolve())},me=(x,j,O,C=!1,M=!1,G=0)=>{for(let V=G;V<x.length;V++)oe(x[V],j,O,C,M)},H=x=>x.shapeFlag&6?H(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),ye=(x,j,O)=>{x==null?j._vnode&&oe(j._vnode,null,null,!0):P(j._vnode||null,x,j,null,null,null,O),Kr(),Un(),j._vnode=x},ie={p:P,um:oe,m:ue,r:fe,mt:$,mc:v,pc:q,pbc:w,n:H,o:e};let Pe,Ke;return t&&([Pe,Ke]=t(ie)),{render:ye,hydrate:Pe,createApp:Ec(ye,Pe)}}function Tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gi(e,t,n=!1){const s=e.children,o=t.children;if(Z(s)&&Z(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=mt(o[r]),a.el=i.el),n||Gi(i,a)),a.type===Vt&&(a.el=i.el)}}function Dc(e){const t=e.slice(),n=[0];let s,o,r,i,a;const u=e.length;for(s=0;s<u;s++){const l=e[s];if(l!==0){if(o=n[n.length-1],e[o]<l){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<l?r=a+1:i=a;l<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 Uc=e=>e.__isTeleport,je=Symbol.for("v-fgt"),Vt=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),un=[];let Ve=null;function ae(e=!1){un.push(Ve=e?null:[])}function qi(){un.pop(),Ve=un[un.length-1]||null}let Kt=1;function ao(e){Kt+=e}function Vi(e){return e.dynamicChildren=Kt>0?Ve||Bt:null,qi(),Kt>0&&Ve&&Ve.push(e),e}function Te(e,t,n,s,o,r){return Vi(ne(e,t,n,s,o,r,!0))}function Oe(e,t,n,s,o){return Vi(re(e,t,n,s,o,!0))}function _n(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const ls="__vInternal",Ki=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Le(e)||ee(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,o=null,r=e===je?0:1,i=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&In(t),scopeId:is,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:Se};return a?(kr(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=we(n)?8:16),Kt>0&&!i&&Ve&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&Ve.push(u),u}const re=Wc;function Wc(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ni)&&(e=Ye),_n(e)){const a=Jt(e,t,!0);return n&&kr(a,n),Kt>0&&!r&&Ve&&(a.shapeFlag&6?Ve[Ve.indexOf(e)]=a:Ve.push(a)),a.patchFlag|=-2,a}if(Yc(e)&&(e=e.__vccOpts),t){t=Ji(t);let{class:a,style:u}=t;a&&!we(a)&&(t.class=Ie(a)),_e(u)&&(pi(u)&&!Z(u)&&(u=Ae({},u)),t.style=ts(u))}const i=we(e)?1:oc(e)?128:Uc(e)?64:_e(e)?4:ee(e)?2:0;return ne(e,t,n,s,o,i,r,!0)}function Ji(e){return e?pi(e)||ls in e?Ae({},e):e:null}function Jt(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,a=t?Nr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ki(a),ref:t&&t.ref?n&&o?Z(o)?o.concat(In(t)):[o,In(t)]:In(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!==je?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&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Be(e=" ",t=0){return re(Vt,null,e,t)}function it(e="",t=!1){return t?(ae(),Oe(Ye,null,e)):re(Ye,null,e)}function qe(e){return e==null||typeof e=="boolean"?re(Ye):Z(e)?re(je,null,e.slice()):typeof e=="object"?mt(e):re(Vt,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),kr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ls in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Be(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nr(...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=Ie([t.class,s.class]));else if(o==="style")t.style=ts([t.style,s.style]);else if(bn(o)){const r=t[o],i=s[o];i&&r!==i&&!(Z(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function We(e,t,n,s=null){Qe(e,t,7,[n,s])}const Gc=Ii();let qc=0;function Vc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Gc,r={uid:qc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Zo(!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:Bi(s,o),emitsOptions:ki(s,o),emit:null,emitted:null,propsDefaults:be,inheritAttrs:s.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,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=Xl.bind(null,r),e.ce&&e.ce(r),r}let Ne=null;const cs=()=>Ne||Se;let Tr,Ct,lo="__VUE_INSTANCE_SETTERS__";(Ct=js()[lo])||(Ct=js()[lo]=[]),Ct.push(e=>Ne=e),Tr=e=>{Ct.length>1?Ct.forEach(t=>t(e)):Ct[0](e)};const Nt=e=>{Tr(e),e.scope.on()},wt=()=>{Ne&&Ne.scope.off(),Tr(null)};function zi(e){return e.vnode.shapeFlag&4}let zt=!1;function Kc(e,t=!1){zt=t;const{props:n,children:s}=e.vnode,o=zi(e);Oc(e,n,o,t),Mc(e,s);const r=o?Jc(e,t):void 0;return zt=!1,r}function Jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=di(new Proxy(e.ctx,Tc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Qc(e):null;Nt(e),Xt();const r=bt(s,e,0,[e.props,o]);if(Yt(),wt(),rr(r)){if(r.then(wt,wt),t)return r.then(i=>{Hs(e,i,t)}).catch(i=>{Zt(i,e,0)});e.asyncDep=r}else Hs(e,r,t)}else Qi(e,t)}function Hs(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=_i(t)),Qi(e,n)}let co;function Qi(e,t,n){const s=e.type;if(!e.render){if(!t&&co&&!s.render){const o=s.template||vr(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:u}=s,l=Ae(Ae({isCustomElement:r,delimiters:a},i),u);s.render=co(o,l)}}e.render=s.render||ze}{Nt(e),Xt();try{xc(e)}finally{Yt(),wt()}}}function zc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}}))}function Qc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return zc(e)},slots:e.slots,emit:e.emit,expose:t}}function us(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_i(di(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function Xc(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Yc(e){return ee(e)&&"__vccOpts"in e}const Xe=(e,t)=>Vl(e,t,zt);function Ds(e,t,n){const s=arguments.length;return s===2?_e(t)&&!Z(t)?_n(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_n(n)&&(n=[n]),re(e,t,n))}const Zc=Symbol.for("v-scx"),eu=()=>Gt(Zc),Xi="3.3.8",tu="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,uo=St&&St.createElement("template"),nu={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?St.createElementNS(tu,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.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{uo.innerHTML=s?`<svg>${e}</svg>`:e;const a=uo.content;if(s){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},su=Symbol("_vtc");function ru(e,t,n){const s=e[su];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ou=Symbol("_vod");function iu(e,t,n){const s=e.style,o=we(n);if(n&&!o){if(t&&!we(t))for(const r in t)n[r]==null&&Us(s,r,"");for(const r in n)Us(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),ou in e&&(s.display=r)}}const fo=/\s*!important$/;function Us(e,t,n){if(Z(n))n.forEach(s=>Us(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=au(e,t);fo.test(n)?e.setProperty(Qt(s),n.replace(fo,""),"important"):e[s]=n}}const po=["Webkit","Moz","ms"],bs={};function au(e,t){const n=bs[t];if(n)return n;let s=nt(t);if(s!=="filter"&&s in e)return bs[t]=s;s=es(s);for(let o=0;o<po.length;o++){const r=po[o]+s;if(r in e)return bs[t]=r}return t}const ho="http://www.w3.org/1999/xlink";function lu(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ho,t.slice(6,t.length)):e.setAttributeNS(ho,t,n);else{const r=hl(t);n==null||r&&!Xo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function cu(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,p=n??"";l!==p&&(e.value=p),n==null&&e.removeAttribute(t);return}let u=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Xo(n):n==null&&l==="string"?(n="",u=!0):l==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function Yi(e,t,n,s){e.addEventListener(t,n,s)}function uu(e,t,n,s){e.removeEventListener(t,n,s)}const mo=Symbol("_vei");function fu(e,t,n,s,o=null){const r=e[mo]||(e[mo]={}),i=r[t];if(s&&i)i.value=s;else{const[a,u]=pu(t);if(s){const l=r[t]=mu(s,o);Yi(e,a,l,u)}else i&&(uu(e,a,i,u),r[t]=void 0)}}const go=/(?:Once|Passive|Capture)$/;function pu(e){let t;if(go.test(e)){t={};let s;for(;s=e.match(go);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Qt(e.slice(2)),t]}let vs=0;const du=Promise.resolve(),hu=()=>vs||(du.then(()=>vs=0),vs=Date.now());function mu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(gu(s,n.value),t,5,[s])};return n.value=e,n.attached=hu(),n}function gu(e,t){if(Z(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 _o=/^on[a-z]/,_u=(e,t,n,s,o=!1,r,i,a,u)=>{t==="class"?ru(e,s,o):t==="style"?iu(e,n,s):bn(t)?nr(t)||fu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yu(e,t,s,o))?cu(e,t,s,r,i,a,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),lu(e,t,s,o))};function yu(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&_o.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_o.test(t)&&we(n)?!1:t in e}const yo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>En(t,n):t},ws=Symbol("_assign"),bu={created(e,{value:t},n){e.checked=Fn(t,n.props.value),e[ws]=yo(n),Yi(e,"change",()=>{e[ws](vu(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ws]=yo(s),t!==n&&(e.checked=Fn(t,s.props.value))}};function vu(e){return"_value"in e?e._value:e.value}const Zi=Ae({patchProp:_u},nu);let fn,bo=!1;function wu(){return fn||(fn=Fc(Zi))}function ku(){return fn=bo?fn:Hc(Zi),bo=!0,fn}const Nu=(...e)=>{const t=wu().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=ea(s);if(!o)return;const r=t._component;!ee(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},Tu=(...e)=>{const t=ku().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=ea(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function ea(e){return we(e)?document.querySelector(e):e}const Lu=/#/g,xu=/&/g,Su=/=/g,Lr=/\+/g,Au=/%5e/gi,Pu=/%60/gi,ju=/%7c/gi,Ru=/%20/gi;function Eu(e){return encodeURI(""+e).replace(ju,"|")}function Ws(e){return Eu(typeof e=="string"?e:JSON.stringify(e)).replace(Lr,"%2B").replace(Ru,"+").replace(Lu,"%23").replace(xu,"%26").replace(Pu,"`").replace(Au,"^")}function ks(e){return Ws(e).replace(Su,"%3D")}function Vn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ou(e){return Vn(e.replace(Lr," "))}function Iu(e){return Vn(e.replace(Lr," "))}function xr(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=Ou(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Iu(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 Cu(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ks(e)}=${Ws(n)}`).join("&"):`${ks(e)}=${Ws(t)}`:ks(e)}function ta(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Cu(t,e[t])).filter(Boolean).join("&")}const Mu=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,$u=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Bu=/^([/\\]\s*){2,}[^/\\]/;function wn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Mu.test(e):$u.test(e)||(t.acceptRelative?Bu.test(e):!1)}const Fu=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Hu(e){return!!e&&Fu.test(e)}const Du=/\/$|\/\?|\/#/;function Gs(e="",t){return t?Du.test(e):e.endsWith("/")}function Sr(e="",t){if(!t)return(Gs(e)?e.slice(0,-1):e)||"/";if(!Gs(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return(r.slice(0,-1)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Kn(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Gs(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Uu(e=""){return e.startsWith("/")}function vo(e=""){return Uu(e)?e:"/"+e}function Wu(e,t){if(sa(t)||wn(e))return e;const n=Sr(t);return e.startsWith(n)?e:Ot(n,e)}function Gu(e,t){if(sa(t))return e;const n=Sr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function na(e,t){const n=en(e),s={...xr(n.search),...t};return n.search=ta(s),ra(n)}function sa(e){return!e||e==="/"}function qu(e){return e&&e!=="/"}const Vu=/^\.?\//;function Ot(e,...t){let n=e||"";for(const s of t.filter(o=>qu(o)))if(n){const o=s.replace(Vu,"");n=Kn(n)+o}else n=s;return n}function Ku(e,t,n={}){return n.trailingSlash||(e=Kn(e),t=Kn(t)),n.leadingSlash||(e=vo(e),t=vo(t)),n.encoding||(e=Vn(e),t=Vn(t)),e===t}function en(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!wn(e,{acceptRelative:!0}))return t?en(t+e):wo(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:u,search:l,hash:p}=wo(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:u,search:l,hash:p}}function wo(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function ra(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol?e.protocol+"//":"")+o+r+t+n+s}const Ju=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Jn=Ju().app,zu=()=>Jn.baseURL,Qu=()=>Jn.buildAssetsDir,Ar=(...e)=>Ot(oa(),Qu(),...e),oa=(...e)=>{const t=Jn.cdnURL||Jn.baseURL;return e.length?Ot(t,...e):t};globalThis.__buildAssetsURL=Ar,globalThis.__publicAssetsURL=oa;const Xu=/"(?:_|\\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*:/,Yu=/"(?: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*:/,Zu=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ef(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 zn(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;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(!Zu.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Xu.test(e)||Yu.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ef)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}class nf extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function sf(e){var u,l,p,f,h;const t=((u=e.error)==null?void 0:u.message)||((l=e.error)==null?void 0:l.toString())||"",n=((p=e.request)==null?void 0:p.method)||((f=e.options)==null?void 0:f.method)||"GET",s=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new nf(i,e.error?{cause:e.error}:void 0);for(const T of["request","options","response"])Object.defineProperty(a,T,{get(){return e[T]}});for(const[T,b]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,T,{get(){return e.response&&e.response[b]}});return a}const rf=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ko(e="GET"){return rf.has(e.toUpperCase())}function of(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.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const af=new Set(["image/svg","application/xml","application/xhtml","application/html"]),lf=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function cf(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return lf.test(t)?"json":af.has(t)||t.startsWith("text/")?"text":"blob"}function uf(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 ff=new Set([408,409,425,429,500,502,503,504]),pf=new Set([101,204,205,304]);function ia(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const u=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!u){let p;typeof a.options.retry=="number"?p=a.options.retry:p=ko(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(p>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):ff.has(f))){const h=a.options.retryDelay||0;return h>0&&await new Promise(T=>setTimeout(T,h)),r(a.request,{...a.options,retry:p-1,timeout:a.options.timeout})}}const l=sf(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,r),l}const r=async function(u,l={}){var h;const p={request:u,options:uf(l,e.defaults,n),response:void 0,error:void 0};if(p.options.method=(h=p.options.method)==null?void 0:h.toUpperCase(),p.options.onRequest&&await p.options.onRequest(p),typeof p.request=="string"&&(p.options.baseURL&&(p.request=Wu(p.request,p.options.baseURL)),(p.options.query||p.options.params)&&(p.request=na(p.request,{...p.options.params,...p.options.query}))),p.options.body&&ko(p.options.method)&&(of(p.options.body)?(p.options.body=typeof p.options.body=="string"?p.options.body:JSON.stringify(p.options.body),p.options.headers=new n(p.options.headers||{}),p.options.headers.has("content-type")||p.options.headers.set("content-type","application/json"),p.options.headers.has("accept")||p.options.headers.set("accept","application/json")):("pipeTo"in p.options.body&&typeof p.options.body.pipeTo=="function"||typeof p.options.body.pipe=="function")&&("duplex"in p.options||(p.options.duplex="half"))),!p.options.signal&&p.options.timeout){const T=new s;setTimeout(()=>T.abort(),p.options.timeout),p.options.signal=T.signal}try{p.response=await t(p.request,p.options)}catch(T){return p.error=T,p.options.onRequestError&&await p.options.onRequestError(p),await o(p)}if(p.response.body&&!pf.has(p.response.status)&&p.options.method!=="HEAD"){const T=(p.options.parseResponse?"json":p.options.responseType)||cf(p.response.headers.get("content-type")||"");switch(T){case"json":{const b=await p.response.text(),P=p.options.parseResponse||zn;p.response._data=P(b);break}case"stream":{p.response._data=p.response.body;break}default:p.response._data=await p.response[T]()}}return p.options.onResponse&&await p.options.onResponse(p),!p.options.ignoreResponseError&&p.response.status>=400&&p.response.status<600?(p.options.onResponseError&&await p.options.onResponseError(p),await o(p)):p.response},i=async function(u,l){return(await r(u,l))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>ia({...e,defaults:{...e.defaults,...a}}),i}const Pr=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")}(),df=Pr.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),hf=Pr.Headers,mf=Pr.AbortController,gf=ia({fetch:df,Headers:hf,AbortController:mf}),_f=gf;globalThis.$fetch||(globalThis.$fetch=_f.create({baseURL:zu()}));function qs(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?qs(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const yf={run:e=>e()},bf=()=>yf,aa=typeof console.createTask<"u"?console.createTask:bf;function vf(e,t){const n=t.shift(),s=aa(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function wf(e,t){const n=t.shift(),s=aa(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Ns(e,t){for(const n of[...e])n(t)}class kf{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=qs(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=qs(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(vf,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(wf,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ns(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Ns(this._after,o)}):(this._after&&o&&Ns(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 la(){return new kf}function Nf(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,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const u=()=>{t=i},l=()=>t===i?u:void 0;Vs.add(l);try{const p=o?o.run(i,a):a();return n||(t=void 0),await p}finally{Vs.delete(l)}}}}function Tf(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Nf({...e,...s})),t[n],t[n]}}}const Qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},No="__unctx__",Lf=Qn[No]||(Qn[No]=Tf()),xf=(e,t={})=>Lf.get(e,t),To="__unctx_async_handlers__",Vs=Qn[To]||(Qn[To]=new Set);function ca(e){const t=[];for(const o of Vs){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 ua=xf("nuxt-app",{asyncContext:!1}),Sf="__nuxt_plugin";function Af(e){let t=0;const n={_scope:gl(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Rf(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=la(),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||ke;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=st(n.payload.config);return n.provide("config",s),n}async function Pf(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 jf(e,t){const n=[],s=[];for(const o of t){const r=Pf(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 ft(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Sf]:!0}))}function Rf(e,t,n){const s=()=>n?t(...n):t();return ua.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function ke(){var t;let e;if(Mi()&&(e=(t=cs())==null?void 0:t.appContext.app.$nuxt),e=e||ua.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function yn(){return ke().$config}function jn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Ef="modulepreload",Of=function(e,t){return e[0]==="."?new URL(e,t).href:e},Lo={},If=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Of(r,s),r in Lo)return;Lo[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let p=o.length-1;p>=0;p--){const f=o[p];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Ef,i||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),i)return new Promise((p,f)=>{l.addEventListener("load",p),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},xo=(...e)=>If(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Cf=-1,Mf=-2,$f=-3,Bf=-4,Ff=-5,Hf=-6;function Df(e,t){return Uf(JSON.parse(e),t)}function Uf(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===Cf)return;if(r===$f)return NaN;if(r===Bf)return 1/0;if(r===Ff)return-1/0;if(r===Hf)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const u=a[0],l=t==null?void 0:t[u];if(l)return s[r]=l(o(a[1]));switch(u){case"Date":s[r]=new Date(a[1]);break;case"Set":const p=new Set;s[r]=p;for(let T=1;T<a.length;T+=1)p.add(o(a[T]));break;case"Map":const f=new Map;s[r]=f;for(let T=1;T<a.length;T+=2)f.set(o(a[T]),o(a[T+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const h=Object.create(null);s[r]=h;for(let T=1;T<a.length;T+=2)h[a[T]]=o(a[T+1]);break;default:throw new Error(`Unknown type ${u}`)}}else{const u=new Array(a.length);s[r]=u;for(let l=0;l<a.length;l+=1){const p=a[l];p!==Mf&&(u[l]=o(p))}}else{const u={};s[r]=u;for(const l in a){const p=a[l];u[l]=o(p)}}return s[r]}return o(0)}function Wf(e){return Array.isArray(e)?e:[e]}const Gf=["title","titleTemplate","script","style","noscript"],Cn=["base","meta","link","style","script","noscript"],qf=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Vf=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],fa=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],Kf=typeof window<"u";function jr(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 So(e){return e._h||jr(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function pa(e,t){const{props:n,tag:s}=e;if(Vf.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 Ao(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Jf(e,t,n){const s={tag:e,props:await da(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return fa.forEach(o=>{const r=typeof s.props[o]<"u"?s.props[o]:n[o];typeof r<"u"&&((!["innerHTML","textContent"].includes(o)||Gf.includes(s.tag))&&(s[o]=r),delete s.props[o])}),s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.props.children&&(s.innerHTML=s.props.children,delete s.props.children),s.tag==="script"&&(typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),s.innerHTML&&["application/ld+json","application/json"].includes(s.props.type)&&(s.innerHTML=s.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function zf(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 da(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=zf(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!fa.includes(n)){const s=String(e[n]),o=n.startsWith("data-");s==="true"||s===""?e[n]=o?"true":!0:e[n]||(o&&s==="false"?e[n]="false":delete e[n])}}return e}const Qf=10;async function Xf(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&qf.includes(n)).forEach(([n,s])=>{const o=Wf(s);t.push(...o.map(r=>Jf(n,r,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Qf)+s,n))}const Po={base:-10,title:10},jo={critical:-80,high:-10,low:20};function Xn(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Po&&(t=Po[e.tag]),typeof n=="string"&&n in jo?t+jo[n]:t)}const Yf=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ha=["onload","onerror","onabort","onprogress","onloadstart"],ht="%separator";function Mn(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((u,l)=>u&&u[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=s(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(u,l)=>`${a}${l}`).trim())}),e.includes(ht)&&(e.endsWith(ht)&&(e=e.slice(0,-ht.length).trim()),e.startsWith(ht)&&(e=e.slice(ht.length).trim()),e=e.replace(new RegExp(`\\${ht}\\s*\\${ht}`,"g"),ht),e=Mn(e,{separator:n},n)),e}async function Zf(e){const t={tag:e.tagName.toLowerCase(),props:await da(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=pa(t),t}async function ma(e,t={}){var p;const n=t.document||e.resolvedOptions.document;if(!n)return;const s={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Cn.includes(f.tag)?So(f):f.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const h=(p=n==null?void 0:n[f])==null?void 0:p.children;for(const T of[...h].filter(b=>Cn.includes(b.tagName.toLowerCase())))r.elMap[T.getAttribute("data-hid")||So(await Zf(T))]=T}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(f,h,T){const b=`${f}:${h}`;r.sideEffects[b]=T,delete r.pendingSideEffects[b]}function a({id:f,$el:h,tag:T}){const b=T.tag.endsWith("Attrs");r.elMap[f]=h,b||(["textContent","innerHTML"].forEach(P=>{T[P]&&T[P]!==h[P]&&(h[P]=T[P])}),i(f,"el",()=>{r.elMap[f].remove(),delete r.elMap[f]})),Object.entries(T.props).forEach(([P,A])=>{const L=`attr:${P}`;if(P==="class")for(const k of(A||"").split(" ").filter(Boolean))b&&i(f,`${L}:${k}`,()=>h.classList.remove(k)),!h.classList.contains(k)&&h.classList.add(k);else h.getAttribute(P)!==A&&h.setAttribute(P,A===!0?"":String(A)),b&&i(f,L,()=>h.removeAttribute(P))})}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:h,shouldRender:T,id:b}=f;if(T){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||r.elMap[b],f.$el?a(f):Cn.includes(h.tag)&&u.push(f)}}for(const f of u){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[h]=l[h]||n.createDocumentFragment(),l[h].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(r.pendingSideEffects).forEach(f=>f()),e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function ep(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await ma(e,t),delete e._domUpdatePromise,s()}))}function tp(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){ep(r,e)}}}}}const np=["templateParams","htmlAttrs","bodyAttrs"],sp={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=pa(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 a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&np.includes(s.tag)&&(a="merge"),a==="merge"){const u=r.props;["class","style"].forEach(l=>{s.props[l]&&u[l]&&(l==="style"&&!u[l].endsWith(";")&&(u[l]+=";"),s.props[l]=`${u[l]} ${s.props[l]}`)}),t[o].props={...u,...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(Xn(s)>Xn(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(Cn.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,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},rp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},op=["script","link","bodyAttrs"];function ip(e){const t={},n={};return Object.entries(e.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"?(ha.includes(s)&&(t[s]=`this.dataset.${s} = true`),n[s]=o):t[s]=o}),{props:t,eventHandlers:n}}const ap=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(op.includes(n.tag)){const{props:s,eventHandlers:o}=ip(n);n.props=s,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||jr(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,s){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,i])=>{const a=`${t.tag._d||t.tag._p}:${r}`,u=r.slice(2).toLowerCase(),l=`data-h-${u}`;if(s(t.id,a,()=>{}),t.$el.hasAttribute(l))return;t.$el.setAttribute(l,"");let p;const f=h=>{i(h),p==null||p.disconnect()};r in t.$el.dataset?f(new Event(r.replace("on",""))):ha.includes(r)&&typeof MutationObserver<"u"?(p=new MutationObserver(h=>{h.some(b=>b.attributeName===`data-${r}`)&&(f(new Event(r.replace("on",""))),p==null||p.disconnect())}),p.observe(t.$el,{attributes:!0})):o.addEventListener(u,f),s(t.id,a,()=>{p==null||p.disconnect(),o.removeEventListener(u,f),t.$el.removeAttribute(l)})})}}}),lp=["link","style","script","noscript"],cp={hooks:{"tag:normalise":({tag:e})=>{e.key&&lp.includes(e.tag)&&(e.props["data-hid"]=e._h=jr(e.key))}}},up={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 Yf)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)=>Xn(n)-Xn(s))}}},fp={meta:"content",link:"href",htmlAttrs:"lang"},pp=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,s=(a=n.find(u=>u.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(u=>u.tag==="templateParams"),r=o!==-1?n[o].props:{},i=r.separator||"|";delete r.separator,r.pageTitle=Mn(r.pageTitle||s||"",r,i);for(const u of n.filter(l=>l.processTemplateParams!==!1)){const l=fp[u.tag];l&&typeof u.props[l]=="string"?u.props[l]=Mn(u.props[l],r,i):(u.processTemplateParams===!0||["titleTemplate","title"].includes(u.tag))&&["innerHTML","textContent"].forEach(p=>{typeof u[p]=="string"&&(u[p]=Mn(u[p],r,i))})}e._templateParams=r,e._separator=i,t.tags=n.filter(u=>u.tag!=="templateParams")}}}),dp={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=Ao(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=Ao(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)}}};let ga;function hp(e={}){const t=mp(e);return t.use(tp()),ga=t}function Ro(e,t){return!e||e==="server"&&t||e==="client"&&!t}function mp(e={}){const t=la();t.addHooks(e.hooks||{}),e.document=e.document||(Kf?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(u){const l=typeof u=="function"?u(a):u;(!l.key||!i.some(p=>p.key===l.key))&&(i.push(l),Ro(l.mode,n)&&t.addHooks(l.hooks||{}))},push(u,l){l==null||delete l.head;const p={_i:o++,input:u,...l};return Ro(p.mode,n)&&(r.push(p),s()),{dispose(){r=r.filter(f=>f._i!==p._i),t.callHook("entries:updated",a),s()},patch(f){r=r.map(h=>(h._i===p._i&&(h.input=p.input=f),h)),s()}}},async resolveTags(){const u={tags:[],entries:[...r]};await t.callHook("entries:resolve",u);for(const l of u.entries){const p=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(p):p),l.resolvedInput)for(const f of await Xf(l)){const h={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",h),u.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",u),await t.callHook("tags:resolve",u),u.tags},ssr:n};return[sp,rp,ap,cp,up,pp,dp,...(e==null?void 0:e.plugins)||[]].forEach(u=>a.use(u)),a.hooks.callHook("init",a),a}function gp(){return ga}const _p=Xi.startsWith("3");function yp(e){return typeof e=="function"?e():ge(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=yp(e);return!e||!n?n:Array.isArray(n)?n.map(s=>Ks(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,ge(o)]:[s,Ks(o,s)])):n}const bp={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},_a="usehead";function vp(e){return{install(n){_p&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_a,e))}}.install}function wp(e={}){e.domDelayFn=e.domDelayFn||(n=>ss(()=>setTimeout(()=>n(),0)));const t=hp(e);return t.use(bp),t.install=vp(t),t}const Js=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zs="__unhead_injection_handler__";function kp(e){Js[zs]=e}function ym(){if(zs in Js)return Js[zs]();const e=Gt(_a);return e||gp()}function Np(e){return{ctx:{table:e},matchAll:t=>ba(t,e)}}function ya(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,ya(o)])):new Map(Object.entries(e[n]));return t}function Tp(e){return Np(ya(e))}function ba(e,t){const n=[];for(const[o,r]of Eo(t.wildcard))e.startsWith(o)&&n.push(r);for(const[o,r]of Eo(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...ba(i,r))}const s=t.static.get(e);return s&&n.push(s),n.filter(Boolean)}function Eo(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Qs(e,t,n=".",s){if(!Ts(t))return Qs(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:Ts(i)&&Ts(o[r])?o[r]=Qs(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Ts(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function va(e){return(...t)=>t.reduce((n,s)=>Qs(n,s,"",e),{})}const Lp=va(),xp=va((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Sp(e,t){try{return t in e}catch{return!1}}var Ap=Object.defineProperty,Pp=(e,t,n)=>t in e?Ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lt=(e,t,n)=>(Pp(e,typeof t!="symbol"?t+"":t,n),n);class Xs extends Error{constructor(t,n={}){super(t,n),Lt(this,"statusCode",500),Lt(this,"fatal",!1),Lt(this,"unhandled",!1),Lt(this,"statusMessage"),Lt(this,"data"),Lt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ys(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=wa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Lt(Xs,"__h3_error__",!0);function jp(e){if(typeof e=="string")return new Xs(e);if(Rp(e))return e;const t=new Xs(e.message??e.statusMessage??"",{cause:e.cause||e});if(Sp(e,"stack"))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=Ys(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ys(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;wa(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 Rp(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 wa(e=""){return e.replace(Ep,"")}function Ys(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ka=Symbol("route"),Rr=()=>yi(ke().payload,"error"),Op=e=>{const t=Na(e);try{const n=ke(),s=Rr();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Ip=async(e={})=>{const t=ke(),n=Rr();t.callHook("app:error:cleared",e),e.redirect&&await It().replace(e.redirect),n.value=null},Cp=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Na=e=>{const t=jp(e);return t.__nuxt_error=!0,t},It=()=>{var e;return(e=ke())==null?void 0:e.$router},Ta=()=>Mi()?Gt(ka,ke()._route):ke()._route;/*! @__NO_SIDE_EFFECTS__ */const Mp=()=>{try{if(ke()._processingMiddleware)return!0}catch{return!0}return!1},La=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:na(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).filter(([p,f])=>f!==void 0).map(([p,f])=>`${p.toLowerCase()}=${f}`).join(", ");open(n,a,l)}return Promise.resolve()}const s=(t==null?void 0:t.external)||wn(n,{acceptRelative:!0});if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=en(n).protocol;if(a&&Hu(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Mp();if(!s&&o)return e;const r=It(),i=ke();return s?(i._scope.stop(),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)},$p={nuxt:{buildId:"ee95e106-6a84-4c8a-a243-ab39a1480d4a"}},Bp=xp($p);function Fp(){const e=ke();return e._appConfig||(e._appConfig=st(Bp)),e._appConfig}const Hp={componentName:"NuxtLink"},Dp="#__nuxt";let $n,xa;function Up(){var t;const e=(t=Fp().nuxt)==null?void 0:t.buildId;return $n=$fetch(Ar(`builds/meta/${e}.json`)),$n.then(n=>{xa=Tp(n.matcher)}),$n}function fs(){return $n||Up()}async function Sa(e){return await fs(),Lp({},...xa.matchAll(e).reverse())}function Oo(e,t={}){const n=Wp(e,t),s=ke(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=Gp(e).then(r=>r?Aa(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Io="json";function Wp(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"||wn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Ot(yn().app.baseURL,n.pathname,s?`_payload.${s}.${Io}`:`_payload.${Io}`)}async function Aa(e){const t=fetch(e).then(n=>n.text().then(Pa));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Gp(e=Ta().path){if((await fs()).prerendered.includes(e))return!0;const n=await Sa(e);return!!n.prerender&&!n.redirect}let Rn=null;async function qp(){if(Rn)return Rn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Pa(e.textContent||""),n=e.dataset.src?await Aa(e.dataset.src):void 0;return Rn={...t,...n,...window.__NUXT__},Rn}function Pa(e){return Df(e,ke()._payloadRevivers)}function Vp(e,t){ke()._payloadRevivers[e]=t}const Co={NuxtError:e=>Na(e),EmptyShallowRef:e=>Vr(e==="_"?void 0:e==="0n"?BigInt(0):zn(e)),EmptyRef:e=>ve(e==="_"?void 0:e==="0n"?BigInt(0):zn(e)),ShallowRef:e=>Vr(e),ShallowReactive:e=>fi(e),Ref:e=>ve(e),Reactive:e=>st(e)},Kp=ft({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Co)Vp(s,Co[s]);Object.assign(e.payload,([t,n]=ca(()=>e.runWithContext(qp)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Jp=[],zp=ft({name:"nuxt:head",enforce:"pre",setup(e){const t=wp({plugins:Jp});kp(()=>ke().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await ma(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}}),Qp=async e=>{let t,n;const s=([t,n]=ca(()=>Sa(e.path)),t=await t,n(),t);if(s.redirect)return s.redirect},Xp=[Qp];function Ls(e){typeof e=="object"&&(e=ra({pathname:e.path||"",search:ta(e.query||{}),hash:e.hash||""}));const t=en(e.toString());return{path:t.pathname,fullPath:e,query:xr(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Yp=ft({name:"nuxt:router",enforce:"pre",setup(e){const t=Gu(window.location.pathname,yn().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(p,f)=>(s[p].push(f),()=>s[p].splice(s[p].indexOf(f),1)),r=yn().app.baseURL,i=st(Ls(t));async function a(p,f){try{const h=Ls(p);for(const T of s["navigate:before"]){const b=await T(h,i);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return a(b,!0)}for(const T of s["resolve:before"])await T(h,i);Object.assign(i,h),window.history[f?"replaceState":"pushState"]({},"",Ot(r,h.fullPath)),e.isHydrating||await e.runWithContext(Ip);for(const T of s["navigate:after"])await T(h,i)}catch(h){for(const T of s.error)await T(h)}}const u={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:p=>a(p,!1),replace:p=>a(p,!0),back:()=>window.history.go(-1),go:p=>window.history.go(p),forward:()=>window.history.go(1),beforeResolve:p=>o("resolve:before",p),beforeEach:p=>o("navigate:before",p),afterEach:p=>o("navigate:after",p),onError:p=>o("error",p),resolve:Ls,addRoute:(p,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:p=>n.some(f=>f.name===p),removeRoute:p=>{const f=n.findIndex(h=>h.name===p);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:(p,{slots:f})=>{const h=()=>a(p.to,p.replace);return()=>{var b;const T=u.resolve(p.to);return p.custom?(b=f.default)==null?void 0:b.call(f,{href:p.to,navigate:h,route:T}):Ds("a",{href:p.to,onClick:P=>(P.preventDefault(),h())},f)}}}),window.addEventListener("popstate",p=>{const f=p.target.location;u.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const l=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(p,f)=>{p.meta=st(p.meta||{}),e.isHydrating&&l&&!Et(p.meta.layout)&&(p.meta.layout=l),e._processingMiddleware=!0;{const h=new Set([...Xp,...e._middleware.global]);for(const T of h){const b=await e.runWithContext(()=>T(p,f));if(b!==!0&&(b||b===!1))return b}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),Ku(i.fullPath,t)||await e.runWithContext(()=>La(i.fullPath))}),{provide:{route:i,router:u}}}}),Zs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Zp=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Er=e=>{const t=ke();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zs(e)}):Zs(e)},ed=ft({name:"nuxt:payload",setup(e){It().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Oo(t.path);s&&Object.assign(e.static.data,s.data)}),Er(()=>{var t;e.hooks.hook("link:prefetch",async n=>{en(n).protocol||await Oo(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(fs,1e3)})}}),td=ft({name:"nuxt:global-components"}),nd="$s";function sd(...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=nd+n,r=ke(),i=yi(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Le(a))return r.payload.state[o]=a,a;i.value=a}return i}const rd="__NUXT_COLOR_MODE__",od="nuxt-color-mode",rt=window[rd]||{},id=ft(e=>{const t=sd("color-mode",()=>st({preference:rt.preference,value:rt.value,unknown:!1,forced:!1})).value;It().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"?rt.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=rt.getColorScheme())}))}vt(()=>t.preference,o=>{var r;t.forced||(o==="system"?(t.value=rt.getColorScheme(),s()):t.value=o,(r=window.localStorage)==null||r.setItem(od,o))},{immediate:!0}),vt(()=>t.value,(o,r)=>{rt.removeColorScheme(r),rt.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=rt.preference,t.value=rt.value,t.unknown=!1)}),e.provide("colorMode",t)});const ad=ft(()=>{});function ld(e={}){const t=e.path||window.location.pathname;let n={};try{n=zn(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:ke().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const cd=ft({name:"nuxt:chunk-reload",setup(e){const t=It(),n=yn(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href.startsWith("#")?n.app.baseURL+r.href:Ot(n.app.baseURL,r.fullPath);ld({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),ud=ft(e=>{let t;async function n(){const s=await fs();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Ar("builds/latest.json"));o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}Er(()=>{t=setTimeout(n,1e3*60*60)})}),fd=[Kp,zp,Yp,ed,td,id,ad,cd,ud],Or=ct({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ae(),Te("div",{class:Ie(["n-icon",t.icon])},null,2))}}),ps=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},pd={},dd={class:"n-badge"};function hd(e,t){return ae(),Te("span",dd,[Ge(e.$slots,"default")])}const md=ps(pd,[["render",hd]]),gd={},_d={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},yd=ne("path",{fill:"#00DC82",d:"M62.3,-53.9C74.4,-34.5,73.5,-9,67.1,13.8C60.6,36.5,48.7,56.5,30.7,66.1C12.7,75.7,-11.4,74.8,-31.6,65.2C-51.8,55.7,-67.9,37.4,-73.8,15.7C-79.6,-6,-75.1,-31.2,-61.1,-51C-47.1,-70.9,-23.6,-85.4,0.8,-86C25.1,-86.7,50.2,-73.4,62.3,-53.9Z",transform:"translate(100 100)"},null,-1),bd=[yd];function vd(e,t){return ae(),Te("svg",_d,bd)}const wd=ps(gd,[["render",vd]]);async function ja(e,t=It()){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(()=>ja(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const kd=(...e)=>e.find(t=>t!==void 0),Nd="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Td(e){const t=e.componentName||"NuxtLink",n=(s,o)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const r=e.trailingSlash==="append"?Kn:Sr;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 ct({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=It(),i=yn(),a=Xe(()=>{const T=s.to||s.href||"";return n(T,r.resolve)}),u=Xe(()=>typeof a.value=="string"&&wn(a.value,{acceptRelative:!0})),l=Xe(()=>s.external||s.target&&s.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||u.value),p=ve(!1),f=ve(null),h=T=>{var b;f.value=s.custom?(b=T==null?void 0:T.$el)==null?void 0:b.nextElementSibling:T==null?void 0:T.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!xd()){const b=ke();let P,A=null;br(()=>{const L=Ld();Er(()=>{P=Zs(()=>{var k;(k=f==null?void 0:f.value)!=null&&k.tagName&&(A=L.observe(f.value,async()=>{A==null||A(),A=null;const d=typeof a.value=="string"?a.value:r.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",d).catch(()=>{}),!l.value&&ja(a.value,r).catch(()=>{})]),p.value=!0}))})})}),Pi(()=>{P&&Zp(P),A==null||A(),A=null})}return()=>{var L,k;if(!l.value){const d={ref:h,to:a.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(p.value&&(d.class=s.prefetchedClass||e.prefetchedClass),d.rel=s.rel),Ds(rc("RouterLink"),d,o.default)}const T=typeof a.value=="object"?((L=r.resolve(a.value))==null?void 0:L.href)??null:a.value&&!s.external&&!u.value?n(Ot(i.app.baseURL,a.value),r.resolve):a.value||null,b=s.target||null,P=s.noRel?null:kd(s.rel,e.externalRelAttribute,T?Nd:"")||null,A=()=>La(T,{replace:s.replace});return s.custom?o.default?o.default({href:T,navigate:A,get route(){if(!T)return;const d=en(T);return{path:d.pathname,fullPath:d.pathname,get query(){return xr(d.search)},hash:d.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:T}},rel:P,target:b,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Ds("a",{ref:f,href:T,rel:P,target:b},(k=o.default)==null?void 0:k.call(o))}}})}const Ra=Td(Hp);function Ld(){const e=ke();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const u of a){const l=n.get(u.target);(u.isIntersecting||u.intersectionRatio>0)&&l&&l()}})),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 xd(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Sd={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Ad=ct({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Xe(()=>t.href||t.to);return(s,o)=>{const r=Ra;return ae(),Oe(r,Nr(n.value?{href:n.value,target:s.target,rel:s.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||s.underline}}),{default:$e(()=>[Ge(s.$slots,"default"),n.value&&s.target==="_blank"?(ae(),Te("div",Sd)):it("",!0)]),_:3},16,["class"])}}}),Pd={},jd={class:"n-loading n-panel-grids-center"},Rd={class:"flex flex-col animate-pulse items-center text-lg"},Ed=ne("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Od(e,t){return ae(),Te("div",jd,[ne("div",Rd,[Ed,Ge(e.$slots,"default",{},()=>[Be(" Loading... ")])])])}const Id=ps(Pd,[["render",Od]]),Cd=ct({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const s=Or;return ae(),Oe(Ti(t.to?ge(Ra):"button"),Nr({to:t.to},{...t.$attrs,...!t.to&&{type:t.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:$e(()=>[Ge(t.$slots,"icon",{},()=>[t.icon?(ae(),Oe(s,{key:0,icon:t.icon,class:Ie({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):it("",!0)]),Ge(t.$slots,"default")]),_:3},16,["to","class"])}}});function Ea(e){return ei()?(yl(e),!0):!1}function ds(e){return typeof e=="function"?e():ge(e)}const Ir=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Md=e=>typeof e<"u",$d=Object.prototype.toString,Bd=e=>$d.call(e)==="[object Object]",Fd=()=>{};function Hd(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function Dd(e,t,n={}){const{immediate:s=!0}=n,o=ve(!1);let r=null;function i(){r&&(clearTimeout(r),r=null)}function a(){o.value=!1,i()}function u(...l){i(),o.value=!0,r=setTimeout(()=>{o.value=!1,r=null,e(...l)},ds(t))}return s&&(o.value=!0,Ir&&u()),Ea(a),{isPending:ur(o),start:u,stop:a}}function Ud(e){var t;const n=ds(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Wd=Ir?window:void 0,Oa=Ir?window.navigator:void 0;function Ia(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Wd):[t,n,s,o]=e,!t)return Fd;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],i=()=>{r.forEach(p=>p()),r.length=0},a=(p,f,h,T)=>(p.addEventListener(f,h,T),()=>p.removeEventListener(f,h,T)),u=vt(()=>[Ud(t),ds(o)],([p,f])=>{if(i(),!p)return;const h=Bd(f)?{...f}:f;r.push(...n.flatMap(T=>s.map(b=>a(p,T,b,h))))},{immediate:!0,flush:"post"}),l=()=>{u(),i()};return Ea(l),l}function Gd(){const e=ve(!1);return cs()&&br(()=>{e.value=!0}),e}function Ca(e){const t=Gd();return Xe(()=>(t.value,!!e()))}function Mo(e,t={}){const{controls:n=!1,navigator:s=Oa}=t,o=Ca(()=>s&&"permissions"in s);let r;const i=typeof e=="string"?{name:e}:e,a=ve(),u=()=>{r&&(a.value=r.state)},l=Hd(async()=>{if(o.value){if(!r)try{r=await s.permissions.query(i),Ia(r,"change",u),u()}catch{a.value="prompt"}return r}});return l(),n?{state:a,isSupported:o,query:l}:a}function qd(e={}){const{navigator:t=Oa,read:n=!1,source:s,copiedDuring:o=1500,legacy:r=!1}=e,i=Ca(()=>t&&"clipboard"in t),a=Mo("clipboard-read"),u=Mo("clipboard-write"),l=Xe(()=>i.value||r),p=ve(""),f=ve(!1),h=Dd(()=>f.value=!1,o);function T(){i.value&&a.value!=="denied"?t.clipboard.readText().then(L=>{p.value=L}):p.value=A()}l.value&&n&&Ia(["copy","cut"],T);async function b(L=ds(s)){l.value&&L!=null&&(i.value&&u.value!=="denied"?await t.clipboard.writeText(L):P(L),p.value=L,f.value=!0,h.start())}function P(L){const k=document.createElement("textarea");k.value=L??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function A(){var L,k,d;return(d=(k=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:k.toString())!=null?d:""}return{isSupported:l,text:p,copied:f,copy:b}}function Vd(e){return JSON.parse(JSON.stringify(e))}function Kd(e,t,n,s={}){var o,r,i;const{clone:a=!1,passive:u=!1,eventName:l,deep:p=!1,defaultValue:f,shouldEmit:h}=s,T=cs(),b=n||(T==null?void 0:T.emit)||((o=T==null?void 0:T.$emit)==null?void 0:o.bind(T))||((i=(r=T==null?void 0:T.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(T==null?void 0:T.proxy));let P=l;t||(t="modelValue"),P=P||`update:${t.toString()}`;const A=d=>a?typeof a=="function"?a(d):Vd(d):d,L=()=>Md(e[t])?A(e[t]):f,k=d=>{h?h(d)&&b(P,d):b(P,d)};if(u){const d=L(),_=ve(d);let g=!1;return vt(()=>e[t],c=>{g||(g=!0,_.value=A(c),ss(()=>g=!1))}),vt(_,c=>{!g&&(c!==e[t]||p)&&k(c)},{deep:p}),_}else return Xe({get(){return L()},set(d){k(d)}})}var Ma=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},$a={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,()=>{return n={770:function(o,r,i){var a=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(r,"__esModule",{value:!0}),r.setDefaultDebugCall=r.createOnigScanner=r.createOnigString=r.loadWASM=r.OnigScanner=r.OnigString=void 0;const u=a(i(418));let l=null,p=!1;class f{static _utf8ByteLength(L){let k=0;for(let d=0,_=L.length;d<_;d++){const g=L.charCodeAt(d);let c=g,y=!1;if(g>=55296&&g<=56319&&d+1<_){const v=L.charCodeAt(d+1);v>=56320&&v<=57343&&(c=65536+(g-55296<<10)|v-56320,y=!0)}k+=c<=127?1:c<=2047?2:c<=65535?3:4,y&&d++}return k}constructor(L){const k=L.length,d=f._utf8ByteLength(L),_=d!==k,g=_?new Uint32Array(k+1):null;_&&(g[k]=d);const c=_?new Uint32Array(d+1):null;_&&(c[d]=k);const y=new Uint8Array(d);let v=0;for(let m=0;m<k;m++){const w=L.charCodeAt(m);let N=w,S=!1;if(w>=55296&&w<=56319&&m+1<k){const R=L.charCodeAt(m+1);R>=56320&&R<=57343&&(N=65536+(w-55296<<10)|R-56320,S=!0)}_&&(g[m]=v,S&&(g[m+1]=v),N<=127?c[v+0]=m:N<=2047?(c[v+0]=m,c[v+1]=m):N<=65535?(c[v+0]=m,c[v+1]=m,c[v+2]=m):(c[v+0]=m,c[v+1]=m,c[v+2]=m,c[v+3]=m)),N<=127?y[v++]=N:N<=2047?(y[v++]=192|(1984&N)>>>6,y[v++]=128|(63&N)>>>0):N<=65535?(y[v++]=224|(61440&N)>>>12,y[v++]=128|(4032&N)>>>6,y[v++]=128|(63&N)>>>0):(y[v++]=240|(1835008&N)>>>18,y[v++]=128|(258048&N)>>>12,y[v++]=128|(4032&N)>>>6,y[v++]=128|(63&N)>>>0),S&&m++}this.utf16Length=k,this.utf8Length=d,this.utf16Value=L,this.utf8Value=y,this.utf16OffsetToUtf8=g,this.utf8OffsetToUtf16=c}createString(L){const k=L._omalloc(this.utf8Length);return L.HEAPU8.set(this.utf8Value,k),k}}class h{constructor(L){if(this.id=++h.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=L;const k=new f(L);this.utf16Length=k.utf16Length,this.utf8Length=k.utf8Length,this.utf16OffsetToUtf8=k.utf16OffsetToUtf8,this.utf8OffsetToUtf16=k.utf8OffsetToUtf16,this.utf8Length<1e4&&!h._sharedPtrInUse?(h._sharedPtr||(h._sharedPtr=l._omalloc(1e4)),h._sharedPtrInUse=!0,l.HEAPU8.set(k.utf8Value,h._sharedPtr),this.ptr=h._sharedPtr):this.ptr=k.createString(l)}convertUtf8OffsetToUtf16(L){return this.utf8OffsetToUtf16?L<0?0:L>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[L]:L}convertUtf16OffsetToUtf8(L){return this.utf16OffsetToUtf8?L<0?0:L>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[L]:L}dispose(){this.ptr===h._sharedPtr?h._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}r.OnigString=h,h.LAST_ID=0,h._sharedPtr=0,h._sharedPtrInUse=!1;class T{constructor(L){if(!l)throw new Error("Must invoke loadWASM first.");const k=[],d=[];for(let y=0,v=L.length;y<v;y++){const m=new f(L[y]);k[y]=m.createString(l),d[y]=m.utf8Length}const _=l._omalloc(4*L.length);l.HEAPU32.set(k,_/4);const g=l._omalloc(4*L.length);l.HEAPU32.set(d,g/4);const c=l._createOnigScanner(_,g,L.length);for(let y=0,v=L.length;y<v;y++)l._ofree(k[y]);l._ofree(g),l._ofree(_),c===0&&function(y){throw new Error(y.UTF8ToString(y._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=c}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(L,k,d){let _=p,g=0;if(typeof d=="number"?(8&d&&(_=!0),g=d):typeof d=="boolean"&&(_=d),typeof L=="string"){L=new h(L);const c=this._findNextMatchSync(L,k,_,g);return L.dispose(),c}return this._findNextMatchSync(L,k,_,g)}_findNextMatchSync(L,k,d,_){const g=this._onigBinding;let c;if(c=d?g._findNextOnigScannerMatchDbg(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),_):g._findNextOnigScannerMatch(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),_),c===0)return null;const y=g.HEAPU32;let v=c/4;const m=y[v++],w=y[v++];let N=[];for(let S=0;S<w;S++){const R=L.convertUtf8OffsetToUtf16(y[v++]),$=L.convertUtf8OffsetToUtf16(y[v++]);N[S]={start:R,end:$,length:$-R}}return{index:m,captureIndices:N}}}r.OnigScanner=T;let b=!1,P=null;r.loadWASM=function(A){if(b)return P;let L,k,d,_;if(b=!0,function(g){return typeof g.instantiator=="function"}(A))L=A.instantiator,k=A.print;else{let g;(function(c){return c.data!==void 0})(A)?(g=A.data,k=A.print):g=A,L=function(c){return typeof Response<"u"&&c instanceof Response}(g)?typeof WebAssembly.instantiateStreaming=="function"?function(c){return y=>WebAssembly.instantiateStreaming(c,y)}(g):function(c){return async y=>{const v=await c.arrayBuffer();return WebAssembly.instantiate(v,y)}}(g):function(c){return y=>WebAssembly.instantiate(c,y)}(g)}return P=new Promise((g,c)=>{d=g,_=c}),function(g,c,y,v){(0,u.default)({print:c,instantiateWasm:(m,w)=>{if(typeof performance>"u"){const N=()=>Date.now();m.env.emscripten_get_now=N,m.wasi_snapshot_preview1.emscripten_get_now=N}return g(m).then(N=>w(N.instance),v),{}}}).then(m=>{l=m,y()})}(L,k,d,_),P},r.createOnigString=function(A){return new h(A)},r.createOnigScanner=function(A){return new T(A)},r.setDefaultDebugCall=function(A){p=A}},418:o=>{var r=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,u,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(E,B){a=E,u=B});var p,f=Object.assign({},l),h=!1,T="";function b(E){return l.locateFile?l.locateFile(E,T):T+E}p=function(E){let B;return typeof readbuffer=="function"?new Uint8Array(readbuffer(E)):(B=read(E,"binary"),_(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 P,A,L=l.print||console.log.bind(console),k=l.printErr||console.warn.bind(console);Object.assign(l,f),f=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(P=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&de("no native wasm support detected");var d=!1;function _(E,B){E||de(B)}var g,c,y,v=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(E,B,J){for(var Y=B+J,X=B;E[X]&&!(X>=Y);)++X;if(X-B>16&&E.buffer&&v)return v.decode(E.subarray(B,X));for(var Q="";B<X;){var se=E[B++];if(128&se){var xe=63&E[B++];if((224&se)!=192){var He=63&E[B++];if((se=(240&se)==224?(15&se)<<12|xe<<6|He:(7&se)<<18|xe<<12|He<<6|63&E[B++])<65536)Q+=String.fromCharCode(se);else{var tn=se-65536;Q+=String.fromCharCode(55296|tn>>10,56320|1023&tn)}}else Q+=String.fromCharCode((31&se)<<6|xe)}else Q+=String.fromCharCode(se)}return Q}function w(E,B){return E?m(c,E,B):""}function N(E){g=E,l.HEAP8=new Int8Array(E),l.HEAP16=new Int16Array(E),l.HEAP32=new Int32Array(E),l.HEAPU8=c=new Uint8Array(E),l.HEAPU16=new Uint16Array(E),l.HEAPU32=y=new Uint32Array(E),l.HEAPF32=new Float32Array(E),l.HEAPF64=new Float64Array(E)}l.INITIAL_MEMORY;var S=[],R=[],$=[];function D(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)q(l.preRun.shift());j(S)}function I(){j(R)}function K(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)he(l.postRun.shift());j($)}function q(E){S.unshift(E)}function te(E){R.unshift(E)}function he(E){$.unshift(E)}var ue=0,oe=null;function fe(E){ue++,l.monitorRunDependencies&&l.monitorRunDependencies(ue)}function pe(E){if(ue--,l.monitorRunDependencies&&l.monitorRunDependencies(ue),ue==0&&oe){var B=oe;oe=null,B()}}function de(E){l.onAbort&&l.onAbort(E),k(E="Aborted("+E+")"),d=!0,E+=". Build with -sASSERTIONS for more info.";var B=new WebAssembly.RuntimeError(E);throw u(B),B}var me,H,ye="data:application/octet-stream;base64,";function ie(E){return E.startsWith(ye)}function Pe(E){try{if(E==me&&P)return new Uint8Array(P);if(p)return p(E);throw"both async and sync fetching of the wasm failed"}catch(B){de(B)}}function Ke(){return P||!h||typeof fetch!="function"?Promise.resolve().then(function(){return Pe(me)}):fetch(me,{credentials:"same-origin"}).then(function(E){if(!E.ok)throw"failed to load wasm binary file at '"+me+"'";return E.arrayBuffer()}).catch(function(){return Pe(me)})}function x(){var E={env:F,wasi_snapshot_preview1:F};function B(X,Q){var se=X.exports;l.asm=se,N((A=l.asm.memory).buffer),l.asm.__indirect_function_table,te(l.asm.__wasm_call_ctors),pe()}function J(X){B(X.instance)}function Y(X){return Ke().then(function(Q){return WebAssembly.instantiate(Q,E)}).then(function(Q){return Q}).then(X,function(Q){k("failed to asynchronously prepare wasm: "+Q),de(Q)})}if(fe(),l.instantiateWasm)try{return l.instantiateWasm(E,B)}catch(X){k("Module.instantiateWasm callback failed with error: "+X),u(X)}return(P||typeof WebAssembly.instantiateStreaming!="function"||ie(me)||typeof fetch!="function"?Y(J):fetch(me,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,E).then(J,function(Q){return k("wasm streaming compile failed: "+Q),k("falling back to ArrayBuffer instantiation"),Y(J)})})).catch(u),{}}function j(E){for(;E.length>0;)E.shift()(l)}function O(E,B,J){c.copyWithin(E,B,B+J)}function C(E){try{return A.grow(E-g.byteLength+65535>>>16),N(A.buffer),1}catch{}}function M(E){var B,J=c.length,Y=2147483648;if((E>>>=0)>Y)return!1;for(var X=1;X<=4;X*=2){var Q=J*(1+.2/X);if(Q=Math.min(Q,E+100663296),C(Math.min(Y,(B=Math.max(E,Q))+(65536-B%65536)%65536)))return!0}return!1}ie(me="onig.wasm")||(me=b(me)),H=typeof dateNow<"u"?dateNow:()=>performance.now();var G=[null,[],[]];function V(E,B){var J=G[E];B===0||B===10?((E===1?L:k)(m(J,0)),J.length=0):J.push(B)}function U(E,B,J,Y){for(var X=0,Q=0;Q<J;Q++){var se=y[B>>2],xe=y[B+4>>2];B+=8;for(var He=0;He<xe;He++)V(E,c[se+He]);X+=xe}return y[Y>>2]=X,0}var W,F={emscripten_get_now:H,emscripten_memcpy_big:O,emscripten_resize_heap:M,fd_write:U};function z(E){function B(){W||(W=!0,l.calledRun=!0,d||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),K()))}ue>0||(D(),ue>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),B()},1)):B()))}if(x(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=w,oe=function E(){W||z(),W||(oe=E)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return z(),i.ready});o.exports=r}},s={},function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(770);var n,s})})($a);var xs=$a.exports,Ba={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,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(a){let u=a.toString(2);for(;u.length<32;)u="0"+u;return u},i.print=function(a){const u=i.getLanguageId(a),l=i.getTokenType(a),p=i.getFontStyle(a),f=i.getForeground(a),h=i.getBackground(a);console.log({languageId:u,tokenType:l,fontStyle:p,foreground:f,background:h})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,u,l,p,f,h,T){let b=i.getLanguageId(a),P=i.getTokenType(a),A=i.containsBalancedBrackets(a)?1:0,L=i.getFontStyle(a),k=i.getForeground(a),d=i.getBackground(a);return u!==0&&(b=u),l!==8&&(P=l),p!==null&&(A=p?1:0),f!==-1&&(L=f),h!==0&&(k=h),T!==0&&(d=T),(b<<0|P<<8|A<<10|L<<11|k<<15|d<<24)>>>0},r.toOptionalTokenType=function(a){return a}},996:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BasicScopeAttributesProvider=r.BasicScopeAttributes=void 0;const a=i(878);class u{constructor(h,T){this.languageId=h,this.tokenType=T}}r.BasicScopeAttributes=u;class l{constructor(h,T){this._getBasicScopeAttributes=new a.CachedFn(b=>{const P=this._scopeToLanguage(b),A=this._toStandardTokenType(b);return new u(P,A)}),this._defaultAttributes=new u(h,8),this._embeddedLanguagesMatcher=new p(Object.entries(T||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(h){return h===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(h)}_scopeToLanguage(h){return this._embeddedLanguagesMatcher.match(h)||0}_toStandardTokenType(h){const T=h.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!T)return 8;switch(T[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}r.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new u(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class p{constructor(h){if(h.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(h);const T=h.map(([b,P])=>a.escapeRegExpCharacters(b));T.sort(),T.reverse(),this.scopesRegExp=new RegExp(`^((${T.join(")|(")}))($|\\.)`,"")}}match(h){if(!this.scopesRegExp)return;const T=h.match(this.scopesRegExp);return T?this.values.get(T[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 a=i(350),u=i(36),l=i(736),p=i(44),f=i(792),h=i(583),T=i(878),b=i(996),P=i(47);function A(v,m,w,N,S){const R=l.createMatchers(m,L),$=f.RuleFactory.getCompiledRuleId(w,N,S.repository);for(const D of R)v.push({debugSelector:m,matcher:D.matcher,ruleId:$,grammar:S,priority:D.priority})}function L(v,m){if(m.length<v.length)return!1;let w=0;return v.every(N=>{for(let S=w;S<m.length;S++)if(k(m[S],N))return w=S+1,!0;return!1})}function k(v,m){if(!v)return!1;if(v===m)return!0;const w=m.length;return v.length>w&&v.substr(0,w)===m&&v[w]==="."}r.createGrammar=function(v,m,w,N,S,R,$,D){return new d(v,m,w,N,S,R,$,D)};class d{constructor(m,w,N,S,R,$,D,I){if(this._rootScopeName=m,this.balancedBracketSelectors=$,this._onigLib=I,this._basicScopeAttributesProvider=new b.BasicScopeAttributesProvider(N,S),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=D,this._grammar=_(w,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const K of Object.keys(R)){const q=l.createMatchers(K,L);for(const te of q)this._tokenTypeMatchers.push({matcher:te.matcher,type:R[K]})}}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=[],w=this._rootScopeName,N=(S=>S===this._rootScopeName?this._grammar:this.getExternalGrammar(S))(w);if(N){const S=N.injections;if(S)for(let $ in S)A(m,$,S[$],this,N);const R=this._grammarRepository.injections(w);R&&R.forEach($=>{const D=this.getExternalGrammar($);if(D){const I=D.injectionSelector;I&&A(m,I,D,this,D)}})}return m.sort((S,R)=>S.priority-R.priority),m}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.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 w=++this._lastRuleId,N=m(f.ruleIdFromNumber(w));return this._ruleId2desc[w]=N,N}getRule(m){return this._ruleId2desc[f.ruleIdToNumber(m)]}getExternalGrammar(m,w){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const N=this._grammarRepository.lookup(m);if(N)return this._includedGrammars[m]=_(N,w&&w.$base),this._includedGrammars[m]}}tokenizeLine(m,w,N=0){const S=this._tokenize(m,w,!1,N);return{tokens:S.lineTokens.getResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}tokenizeLine2(m,w,N=0){const S=this._tokenize(m,w,!0,N);return{tokens:S.lineTokens.getBinaryResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}_tokenize(m,w,N,S){let R;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),w&&w!==c.NULL)R=!1,w.reset();else{R=!0;const q=this._basicScopeAttributesProvider.getDefaultAttributes(),te=this.themeProvider.getDefaults(),he=u.EncodedTokenAttributes.set(0,q.languageId,q.tokenType,null,te.fontStyle,te.foregroundId,te.backgroundId),ue=this.getRule(this._rootId).getName(null,null);let oe;oe=ue?g.createRootAndLookUpScopeName(ue,he,this):g.createRoot("unknown",he),w=new c(null,this._rootId,-1,-1,!1,null,oe,oe)}m+=`
2
- `;const $=this.createOnigString(m),D=$.content.length,I=new y(N,m,this._tokenTypeMatchers,this.balancedBracketSelectors),K=P._tokenizeString(this,$,R,0,w,I,!0,S);return p.disposeOnigString($),{lineLength:D,lineTokens:I,ruleStack:K.stack,stoppedEarly:K.stoppedEarly}}}function _(v,m){return(v=T.clone(v)).repository=v.repository||{},v.repository.$self={$vscodeTextmateLocation:v.$vscodeTextmateLocation,patterns:v.patterns,name:v.scopeName},v.repository.$base=m||v.repository.$self,v}r.Grammar=d;class g{constructor(m,w,N){this.parent=m,this.scopePath=w,this.tokenAttributes=N}static createRoot(m,w){return new g(null,new h.ScopeStack(null,m),w)}static createRootAndLookUpScopeName(m,w,N){const S=N.getMetadataForScope(m),R=new h.ScopeStack(null,m),$=N.themeProvider.themeMatch(R),D=g.mergeAttributes(w,S,$);return new g(null,R,D)}get scopeName(){return this.scopePath.scopeName}equals(m){return g._equals(this,m)}static _equals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.scopeName!==w.scopeName||m.tokenAttributes!==w.tokenAttributes)return!1;m=m.parent,w=w.parent}}static mergeAttributes(m,w,N){let S=-1,R=0,$=0;return N!==null&&(S=N.fontStyle,R=N.foregroundId,$=N.backgroundId),u.EncodedTokenAttributes.set(m,w.languageId,w.tokenType,null,S,R,$)}pushAttributed(m,w){if(m===null)return this;if(m.indexOf(" ")===-1)return g._pushAttributed(this,m,w);const N=m.split(/ /g);let S=this;for(const R of N)S=g._pushAttributed(S,R,w);return S}static _pushAttributed(m,w,N){const S=N.getMetadataForScope(w),R=m.scopePath.push(w),$=N.themeProvider.themeMatch(R),D=g.mergeAttributes(m.tokenAttributes,S,$);return new g(m,R,D)}getScopeNames(){return this.scopePath.getSegments()}}r.AttributedScopeStack=g;class c{constructor(m,w,N,S,R,$,D,I){this.parent=m,this.ruleId=w,this.beginRuleCapturedEOL=R,this.endRule=$,this.nameScopesList=D,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=N,this._anchorPos=S}equals(m){return m!==null&&c._equals(this,m)}static _equals(m,w){return m===w||!!this._structuralEquals(m,w)&&m.contentNameScopesList.equals(w.contentNameScopesList)}static _structuralEquals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.depth!==w.depth||m.ruleId!==w.ruleId||m.endRule!==w.endRule)return!1;m=m.parent,w=w.parent}}clone(){return this}static _reset(m){for(;m;)m._enterPos=-1,m._anchorPos=-1,m=m.parent}reset(){c._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,w,N,S,R,$,D){return new c(this,m,w,N,S,R,$,D)}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,w){return this.parent&&(w=this.parent._writeString(m,w)),m[w++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,w}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 c(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,m,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(m){let w=this;for(;w&&w._enterPos===m._enterPos;){if(w.ruleId===m.ruleId)return!0;w=w.parent}return!1}}r.StateStack=c,c.NULL=new c(null,0,0,0,!1,null,null,null),r.BalancedBracketSelectors=class{constructor(v,m){this.allowAny=!1,this.balancedBracketScopes=v.flatMap(w=>w==="*"?(this.allowAny=!0,[]):l.createMatchers(w,L).map(N=>N.matcher)),this.unbalancedBracketScopes=m.flatMap(w=>l.createMatchers(w,L).map(N=>N.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(v){for(const m of this.unbalancedBracketScopes)if(m(v))return!1;for(const m of this.balancedBracketScopes)if(m(v))return!0;return this.allowAny}};class y{constructor(m,w,N,S){this.balancedBracketSelectors=S,this._emitBinaryTokens=m,this._tokenTypeOverrides=N,a.DebugFlags.InDebugMode?this._lineText=w:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(m,w){this.produceFromScopes(m.contentNameScopesList,w)}produceFromScopes(m,w){var S;if(this._lastTokenEndIndex>=w)return;if(this._emitBinaryTokens){let R=m.tokenAttributes,$=!1;if((S=this.balancedBracketSelectors)!=null&&S.matchesAlways&&($=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const D=m.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(D)&&(R=u.EncodedTokenAttributes.set(R,0,u.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&($=this.balancedBracketSelectors.match(D))}if($&&(R=u.EncodedTokenAttributes.set(R,0,8,$,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===R)return void(this._lastTokenEndIndex=w);if(a.DebugFlags.InDebugMode){const D=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let I=0;I<D.length;I++)console.log(" * "+D[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(R),void(this._lastTokenEndIndex=w)}const N=m.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let R=0;R<N.length;R++)console.log(" * "+N[R])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:w,scopes:N}),this._lastTokenEndIndex=w}getResult(m,w){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===w-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(m,w){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===w-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),this._binaryTokens[this._binaryTokens.length-2]=0);const N=new Uint32Array(this._binaryTokens.length);for(let S=0,R=this._binaryTokens.length;S<R;S++)N[S]=this._binaryTokens[S];return N}}r.LineTokens=y},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 a=i(878);class u{constructor(c){this.scopeName=c}toKey(){return this.scopeName}}r.TopLevelRuleReference=u;class l{constructor(c,y){this.scopeName=c,this.ruleName=y}toKey(){return`${this.scopeName}#${this.ruleName}`}}r.TopLevelRepositoryRuleReference=l;class p{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(c){const y=c.toKey();this._seenReferenceKeys.has(y)||(this._seenReferenceKeys.add(y),this._references.push(c))}}function f(g,c,y,v){const m=y.lookup(g.scopeName);if(!m){if(g.scopeName===c)throw new Error(`No grammar provided for <${c}>`);return}const w=y.lookup(c);g instanceof u?T({baseGrammar:w,selfGrammar:m},v):h(g.ruleName,{baseGrammar:w,selfGrammar:m,repository:m.repository},v);const N=y.injections(g.scopeName);if(N)for(const S of N)v.add(new u(S))}function h(g,c,y){c.repository&&c.repository[g]&&b([c.repository[g]],c,y)}function T(g,c){g.selfGrammar.patterns&&Array.isArray(g.selfGrammar.patterns)&&b(g.selfGrammar.patterns,{...g,repository:g.selfGrammar.repository},c),g.selfGrammar.injections&&b(Object.values(g.selfGrammar.injections),{...g,repository:g.selfGrammar.repository},c)}function b(g,c,y){for(const v of g){if(y.visitedRule.has(v))continue;y.visitedRule.add(v);const m=v.repository?a.mergeObjects({},c.repository,v.repository):c.repository;Array.isArray(v.patterns)&&b(v.patterns,{...c,repository:m},y);const w=v.include;if(!w)continue;const N=_(w);switch(N.kind){case 0:T({...c,selfGrammar:c.baseGrammar},y);break;case 1:T(c,y);break;case 2:h(N.ruleName,{...c,repository:m},y);break;case 3:case 4:const S=N.scopeName===c.selfGrammar.scopeName?c.selfGrammar:N.scopeName===c.baseGrammar.scopeName?c.baseGrammar:void 0;if(S){const R={baseGrammar:c.baseGrammar,selfGrammar:S,repository:m};N.kind===4?h(N.ruleName,R,y):T(R,y)}else N.kind===4?y.add(new l(N.scopeName,N.ruleName)):y.add(new u(N.scopeName))}}}r.ExternalReferenceCollector=p,r.ScopeDependencyProcessor=class{constructor(g,c){this.repo=g,this.initialScopeName=c,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new u(this.initialScopeName)]}processQueue(){const g=this.Q;this.Q=[];const c=new p;for(const y of g)f(y,this.initialScopeName,this.repo,c);for(const y of c.references)if(y instanceof u){if(this.seenFullScopeRequests.has(y.scopeName))continue;this.seenFullScopeRequests.add(y.scopeName),this.Q.push(y)}else{if(this.seenFullScopeRequests.has(y.scopeName)||this.seenPartialScopeRequests.has(y.toKey()))continue;this.seenPartialScopeRequests.add(y.toKey()),this.Q.push(y)}}};class P{constructor(){this.kind=0}}r.BaseReference=P;class A{constructor(){this.kind=1}}r.SelfReference=A;class L{constructor(c){this.ruleName=c,this.kind=2}}r.RelativeReference=L;class k{constructor(c){this.scopeName=c,this.kind=3}}r.TopLevelReference=k;class d{constructor(c,y){this.scopeName=c,this.ruleName=y,this.kind=4}}function _(g){if(g==="$base")return new P;if(g==="$self")return new A;const c=g.indexOf("#");if(c===-1)return new k(g);if(c===0)return new L(g.substring(1));{const y=g.substring(0,c),v=g.substring(c+1);return new d(y,v)}}r.TopLevelRepositoryReference=d,r.parseInclude=_},391:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(l,p,f,h){h===void 0&&(h=f),Object.defineProperty(l,h,{enumerable:!0,get:function(){return p[f]}})}:function(l,p,f,h){h===void 0&&(h=f),l[h]=p[f]}),u=this&&this.__exportStar||function(l,p){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(p,f)||a(p,l,f)};Object.defineProperty(r,"__esModule",{value:!0}),u(i(947),r)},47:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStackElement=r._tokenizeString=void 0;const a=i(350),u=i(44),l=i(792),p=i(878);class f{constructor(d,_){this.stack=d,this.stoppedEarly=_}}function h(k,d,_,g,c,y,v,m){const w=d.content.length;let N=!1,S=-1;if(v){const D=function(I,K,q,te,he,ue){let oe=he.beginRuleCapturedEOL?0:-1;const fe=[];for(let pe=he;pe;pe=pe.pop()){const de=pe.getRule(I);de instanceof l.BeginWhileRule&&fe.push({rule:de,stack:pe})}for(let pe=fe.pop();pe;pe=fe.pop()){const{ruleScanner:de,findOptions:me}=b(pe.rule,I,pe.stack.endRule,q,te===oe),H=de.findNextMatchSync(K,te,me);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(de.toString())),!H){a.DebugFlags.InDebugMode&&console.log(" popping "+pe.rule.debugName+" - "+pe.rule.debugWhileRegExp),he=pe.stack.pop();break}if(H.ruleId!==l.whileRuleId){he=pe.stack.pop();break}H.captureIndices&&H.captureIndices.length&&(ue.produce(pe.stack,H.captureIndices[0].start),A(I,K,q,pe.stack,ue,pe.rule.whileCaptures,H.captureIndices),ue.produce(pe.stack,H.captureIndices[0].end),oe=H.captureIndices[0].end,H.captureIndices[0].end>te&&(te=H.captureIndices[0].end,q=!1))}return{stack:he,linePos:te,anchorPosition:oe,isFirstLine:q}}(k,d,_,g,c,y);c=D.stack,g=D.linePos,_=D.isFirstLine,S=D.anchorPosition}const R=Date.now();for(;!N;){if(m!==0&&Date.now()-R>m)return new f(c,!0);$()}return new f(c,!1);function $(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${g}: |${d.content.substr(g).replace(/\n$/,"\\n")}|`));const D=function(te,he,ue,oe,fe,pe){const de=function(Pe,Ke,x,j,O,C){const M=O.getRule(Pe),{ruleScanner:G,findOptions:V}=T(M,Pe,O.endRule,x,j===C);let U=0;a.DebugFlags.InDebugMode&&(U=p.performanceNow());const W=G.findNextMatchSync(Ke,j,V);if(a.DebugFlags.InDebugMode){const F=p.performanceNow()-U;F>5&&console.warn(`Rule ${M.debugName} (${M.id}) matching took ${F} against '${Ke}'`),console.log(` scanning for (linePos: ${j}, anchorPosition: ${C})`),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}(te,he,ue,oe,fe,pe),me=te.getInjections();if(me.length===0)return de;const H=function(Pe,Ke,x,j,O,C,M){let G,V=Number.MAX_VALUE,U=null,W=0;const F=C.contentNameScopesList.getScopeNames();for(let z=0,E=Pe.length;z<E;z++){const B=Pe[z];if(!B.matcher(F))continue;const J=Ke.getRule(B.ruleId),{ruleScanner:Y,findOptions:X}=T(J,Ke,null,j,O===M),Q=Y.findNextMatchSync(x,O,X);if(!Q)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${B.debugSelector}`),console.log(Y.toString()));const se=Q.captureIndices[0].start;if(!(se>=V)&&(V=se,U=Q.captureIndices,G=Q.ruleId,W=B.priority,V===O))break}return U?{priorityMatch:W===-1,captureIndices:U,matchedRuleId:G}:null}(me,te,he,ue,oe,fe,pe);if(!H)return de;if(!de)return H;const ye=de.captureIndices[0].start,ie=H.captureIndices[0].start;return ie<ye||H.priorityMatch&&ie===ye?H:de}(k,d,_,g,c,S);if(!D)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),y.produce(c,w),void(N=!0);const I=D.captureIndices,K=D.matchedRuleId,q=!!(I&&I.length>0)&&I[0].end>g;if(K===l.endRuleId){const te=c.getRule(k);a.DebugFlags.InDebugMode&&console.log(" popping "+te.debugName+" - "+te.debugEndRegExp),y.produce(c,I[0].start),c=c.withContentNameScopesList(c.nameScopesList),A(k,d,_,c,y,te.endCaptures,I),y.produce(c,I[0].end);const he=c;if(c=c.parent,S=he.getAnchorPos(),!q&&he.getEnterPos()===g)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),c=he,y.produce(c,w),void(N=!0)}else{const te=k.getRule(K);y.produce(c,I[0].start);const he=c,ue=te.getName(d.content,I),oe=c.contentNameScopesList.pushAttributed(ue,k);if(c=c.push(K,g,S,I[0].end===w,null,oe,oe),te instanceof l.BeginEndRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName+" - "+fe.debugBeginRegExp),A(k,d,_,c,y,fe.beginCaptures,I),y.produce(c,I[0].end),S=I[0].end;const pe=fe.getContentName(d.content,I),de=oe.pushAttributed(pe,k);if(c=c.withContentNameScopesList(de),fe.endHasBackReferences&&(c=c.withEndRule(fe.getEndWithResolvedBackReferences(d.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),y.produce(c,w),void(N=!0)}else if(te instanceof l.BeginWhileRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName),A(k,d,_,c,y,fe.beginCaptures,I),y.produce(c,I[0].end),S=I[0].end;const pe=fe.getContentName(d.content,I),de=oe.pushAttributed(pe,k);if(c=c.withContentNameScopesList(de),fe.whileHasBackReferences&&(c=c.withEndRule(fe.getWhileWithResolvedBackReferences(d.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),y.produce(c,w),void(N=!0)}else{const fe=te;if(a.DebugFlags.InDebugMode&&console.log(" matched "+fe.debugName+" - "+fe.debugMatchRegExp),A(k,d,_,c,y,fe.captures,I),y.produce(c,I[0].end),c=c.pop(),!q)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),c=c.safePop(),y.produce(c,w),void(N=!0)}}I[0].end>g&&(g=I[0].end,_=!1)}}function T(k,d,_,g,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compile(d,_),findOptions:P(g,c)}:{ruleScanner:k.compileAG(d,_,g,c),findOptions:0}}function b(k,d,_,g,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compileWhile(d,_),findOptions:P(g,c)}:{ruleScanner:k.compileWhileAG(d,_,g,c),findOptions:0}}function P(k,d){let _=0;return k||(_|=1),d||(_|=4),_}function A(k,d,_,g,c,y,v){if(y.length===0)return;const m=d.content,w=Math.min(y.length,v.length),N=[],S=v[0].end;for(let R=0;R<w;R++){const $=y[R];if($===null)continue;const D=v[R];if(D.length===0)continue;if(D.start>S)break;for(;N.length>0&&N[N.length-1].endPos<=D.start;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop();if(N.length>0?c.produceFromScopes(N[N.length-1].scopes,D.start):c.produce(g,D.start),$.retokenizeCapturedWithRuleId){const K=$.getName(m,v),q=g.contentNameScopesList.pushAttributed(K,k),te=$.getContentName(m,v),he=q.pushAttributed(te,k),ue=g.push($.retokenizeCapturedWithRuleId,D.start,-1,!1,null,q,he),oe=k.createOnigString(m.substring(0,D.end));h(k,oe,_&&D.start===0,D.start,ue,c,!1,0),u.disposeOnigString(oe);continue}const I=$.getName(m,v);if(I!==null){const K=(N.length>0?N[N.length-1].scopes:g.contentNameScopesList).pushAttributed(I,k);N.push(new L(K,D.end))}}for(;N.length>0;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop()}r._tokenizeString=h;class L{constructor(d,_){this.scopes=d,this.endPos=_}}r.LocalStackElement=L},974:(o,r)=>{function i(p,f){throw new Error("Near offset "+p.pos+": "+f+" ~~~"+p.source.substr(p.pos,50)+"~~~")}Object.defineProperty(r,"__esModule",{value:!0}),r.parseJSON=void 0,r.parseJSON=function(p,f,h){let T=new a(p),b=new u,P=0,A=null,L=[],k=[];function d(){L.push(P),k.push(A)}function _(){P=L.pop(),A=k.pop()}function g(c){i(T,c)}for(;l(T,b);){if(P===0){if(A!==null&&g("too many constructs in root"),b.type===3){A={},h&&(A.$vscodeTextmateLocation=b.toLocation(f)),d(),P=1;continue}if(b.type===2){A=[],d(),P=4;continue}g("unexpected token in root")}if(P===2){if(b.type===5){_();continue}if(b.type===7){P=3;continue}g("expected , or }")}if(P===1||P===3){if(P===1&&b.type===5){_();continue}if(b.type===1){let c=b.value;if(l(T,b)&&b.type===6||g("expected colon"),l(T,b)||g("expected value"),P=2,b.type===1){A[c]=b.value;continue}if(b.type===8){A[c]=null;continue}if(b.type===9){A[c]=!0;continue}if(b.type===10){A[c]=!1;continue}if(b.type===11){A[c]=parseFloat(b.value);continue}if(b.type===2){let y=[];A[c]=y,d(),P=4,A=y;continue}if(b.type===3){let y={};h&&(y.$vscodeTextmateLocation=b.toLocation(f)),A[c]=y,d(),P=1,A=y;continue}}g("unexpected token in dict")}if(P===5){if(b.type===4){_();continue}if(b.type===7){P=6;continue}g("expected , or ]")}if(P===4||P===6){if(P===4&&b.type===4){_();continue}if(P=5,b.type===1){A.push(b.value);continue}if(b.type===8){A.push(null);continue}if(b.type===9){A.push(!0);continue}if(b.type===10){A.push(!1);continue}if(b.type===11){A.push(parseFloat(b.value));continue}if(b.type===2){let c=[];A.push(c),d(),P=4,A=c;continue}if(b.type===3){let c={};h&&(c.$vscodeTextmateLocation=b.toLocation(f)),A.push(c),d(),P=1,A=c;continue}g("unexpected token in array")}g("unknown state")}return k.length!==0&&g("unclosed constructs"),A};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class u{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 l(p,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let h,T=p.source,b=p.pos,P=p.len,A=p.line,L=p.char;for(;;){if(b>=P)return!1;if(h=T.charCodeAt(b),h!==32&&h!==9&&h!==13){if(h!==10)break;b++,A++,L=0}else b++,L++}if(f.offset=b,f.line=A,f.char=L,h===34){for(f.type=1,b++,L++;;){if(b>=P)return!1;if(h=T.charCodeAt(b),b++,L++,h!==92){if(h===34)break}else b++,L++}f.value=T.substring(f.offset+1,b-1).replace(/\\u([0-9A-Fa-f]{4})/g,(k,d)=>String.fromCodePoint(parseInt(d,16))).replace(/\\(.)/g,(k,d)=>{switch(d){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(p,"invalid escape sequence")}throw new Error("unreachable")})}else if(h===91)f.type=2,b++,L++;else if(h===123)f.type=3,b++,L++;else if(h===93)f.type=4,b++,L++;else if(h===125)f.type=5,b++,L++;else if(h===58)f.type=6,b++,L++;else if(h===44)f.type=7,b++,L++;else if(h===110){if(f.type=8,b++,L++,h=T.charCodeAt(b),h!==117||(b++,L++,h=T.charCodeAt(b),h!==108)||(b++,L++,h=T.charCodeAt(b),h!==108))return!1;b++,L++}else if(h===116){if(f.type=9,b++,L++,h=T.charCodeAt(b),h!==114||(b++,L++,h=T.charCodeAt(b),h!==117)||(b++,L++,h=T.charCodeAt(b),h!==101))return!1;b++,L++}else if(h===102){if(f.type=10,b++,L++,h=T.charCodeAt(b),h!==97||(b++,L++,h=T.charCodeAt(b),h!==108)||(b++,L++,h=T.charCodeAt(b),h!==115)||(b++,L++,h=T.charCodeAt(b),h!==101))return!1;b++,L++}else for(f.type=11;;){if(b>=P)return!1;if(h=T.charCodeAt(b),!(h===46||h>=48&&h<=57||h===101||h===69||h===45||h===43))break;b++,L++}return f.len=b-f.offset,f.value===null&&(f.value=T.substr(f.offset,f.len)),p.pos=b,p.line=A,p.char=L,!0}},787:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(b,P,A,L){L===void 0&&(L=A),Object.defineProperty(b,L,{enumerable:!0,get:function(){return P[A]}})}:function(b,P,A,L){L===void 0&&(L=A),b[L]=P[A]}),u=this&&this.__exportStar||function(b,P){for(var A in b)A==="default"||Object.prototype.hasOwnProperty.call(P,A)||a(P,b,A)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=r.INITIAL=r.Registry=void 0;const l=i(391),p=i(50),f=i(652),h=i(583),T=i(965);u(i(44),r),r.Registry=class{constructor(b){this._options=b,this._syncRegistry=new f.SyncRegistry(h.Theme.createFromRawTheme(b.theme,b.colorMap),b.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(b,P){this._syncRegistry.setTheme(h.Theme.createFromRawTheme(b,P))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(b,P,A){return this.loadGrammarWithConfiguration(b,P,{embeddedLanguages:A})}loadGrammarWithConfiguration(b,P,A){return this._loadGrammar(b,P,A.embeddedLanguages,A.tokenTypes,new l.BalancedBracketSelectors(A.balancedBracketSelectors||[],A.unbalancedBracketSelectors||[]))}loadGrammar(b){return this._loadGrammar(b,0,null,null,null)}async _loadGrammar(b,P,A,L,k){const d=new T.ScopeDependencyProcessor(this._syncRegistry,b);for(;d.Q.length>0;)await Promise.all(d.Q.map(_=>this._loadSingleGrammar(_.scopeName))),d.processQueue();return this._grammarForScopeName(b,P,A,L,k)}async _loadSingleGrammar(b){return this._ensureGrammarCache.has(b)||this._ensureGrammarCache.set(b,this._doLoadSingleGrammar(b)),this._ensureGrammarCache.get(b)}async _doLoadSingleGrammar(b){const P=await this._options.loadGrammar(b);if(P){const A=typeof this._options.getInjections=="function"?this._options.getInjections(b):void 0;this._syncRegistry.addGrammar(P,A)}}async addGrammar(b,P=[],A=0,L=null){return this._syncRegistry.addGrammar(b,P),await this._grammarForScopeName(b.scopeName,A,L)}_grammarForScopeName(b,P=0,A=null,L=null,k=null){return this._syncRegistry.grammarForScopeName(b,P,A,L,k)}},r.INITIAL=l.StateStack.NULL,r.parseRawGrammar=p.parseRawGrammar},736:(o,r)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(r,"__esModule",{value:!0}),r.createMatchers=void 0,r.createMatchers=function(a,u){const l=[],p=function(b){let P=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,A=P.exec(b);return{next:()=>{if(!A)return null;const L=A[0];return A=P.exec(b),L}}}(a);let f=p.next();for(;f!==null;){let b=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":b=1;break;case"L":b=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=p.next()}let P=T();if(l.push({matcher:P,priority:b}),f!==",")break;f=p.next()}return l;function h(){if(f==="-"){f=p.next();const b=h();return P=>!!b&&!b(P)}if(f==="("){f=p.next();const b=function(){const P=[];let A=T();for(;A&&(P.push(A),f==="|"||f===",");){do f=p.next();while(f==="|"||f===",");A=T()}return L=>P.some(k=>k(L))}();return f===")"&&(f=p.next()),b}if(i(f)){const b=[];do b.push(f),f=p.next();while(i(f));return P=>u(b,P)}return null}function T(){const b=[];let P=h();for(;P;)b.push(P),P=h();return A=>b.every(L=>L(A))}}},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 a=i(69),u=i(350),l=i(974);r.parseRawGrammar=function(p,f=null){return f!==null&&/\.json$/.test(f)?(h=p,T=f,u.DebugFlags.InDebugMode?l.parseJSON(h,T,!0):JSON.parse(h)):function(b,P){return u.DebugFlags.InDebugMode?a.parseWithLocation(b,P,"$vscodeTextmateLocation"):a.parsePLIST(b)}(p,f);var h,T}},69:(o,r)=>{function i(a,u,l){const p=a.length;let f=0,h=1,T=0;function b(H){if(l===null)f+=H;else for(;H>0;)a.charCodeAt(f)===10?(f++,h++,T=0):(f++,T++),H--}function P(H){l===null?f=H:b(H-f)}function A(){for(;f<p;){let H=a.charCodeAt(f);if(H!==32&&H!==9&&H!==13&&H!==10)break;b(1)}}function L(H){return a.substr(f,H.length)===H&&(b(H.length),!0)}function k(H){let ye=a.indexOf(H,f);P(ye!==-1?ye+H.length:p)}function d(H){let ye=a.indexOf(H,f);if(ye!==-1){let ie=a.substring(f,ye);return P(ye+H.length),ie}{let ie=a.substr(f);return P(p),ie}}p>0&&a.charCodeAt(0)===65279&&(f=1);let _=0,g=null,c=[],y=[],v=null;function m(H,ye){c.push(_),y.push(g),_=H,g=ye}function w(){if(c.length===0)return N("illegal state stack");_=c.pop(),g=y.pop()}function N(H){throw new Error("Near offset "+f+": "+H+" ~~~"+a.substr(f,50)+"~~~")}const S=function(){if(v===null)return N("missing <key>");let H={};l!==null&&(H[l]={filename:u,line:h,char:T}),g[v]=H,v=null,m(1,H)},R=function(){if(v===null)return N("missing <key>");let H=[];g[v]=H,v=null,m(2,H)},$=function(){let H={};l!==null&&(H[l]={filename:u,line:h,char:T}),g.push(H),m(1,H)},D=function(){let H=[];g.push(H),m(2,H)};function I(){if(_!==1)return N("unexpected </dict>");w()}function K(){return _===1||_!==2?N("unexpected </array>"):void w()}function q(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function te(H){if(isNaN(H))return N("cannot parse float");if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function he(H){if(isNaN(H))return N("cannot parse integer");if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function ue(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function oe(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function fe(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function pe(){let H=d(">"),ye=!1;return H.charCodeAt(H.length-1)===47&&(ye=!0,H=H.substring(0,H.length-1)),{name:H.trim(),isClosed:ye}}function de(H){if(H.isClosed)return"";let ye=d("</");return k(">"),ye.replace(/&#([0-9]+);/g,function(ie,Pe){return String.fromCodePoint(parseInt(Pe,10))}).replace(/&#x([0-9a-f]+);/g,function(ie,Pe){return String.fromCodePoint(parseInt(Pe,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(ie){switch(ie){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return ie})}for(;f<p&&(A(),!(f>=p));){const H=a.charCodeAt(f);if(b(1),H!==60)return N("expected <");if(f>=p)return N("unexpected end of input");const ye=a.charCodeAt(f);if(ye===63){b(1),k("?>");continue}if(ye===33){if(b(1),L("--")){k("-->");continue}k(">");continue}if(ye===47){if(b(1),A(),L("plist")){k(">");continue}if(L("dict")){k(">"),I();continue}if(L("array")){k(">"),K();continue}return N("unexpected closed tag")}let ie=pe();switch(ie.name){case"dict":_===1?S():_===2?$():(g={},l!==null&&(g[l]={filename:u,line:h,char:T}),m(1,g)),ie.isClosed&&I();continue;case"array":_===1?R():_===2?D():(g=[],m(2,g)),ie.isClosed&&K();continue;case"key":me=de(ie),_!==1?N("unexpected <key>"):v!==null?N("too many <key>"):v=me;continue;case"string":q(de(ie));continue;case"real":te(parseFloat(de(ie)));continue;case"integer":he(parseInt(de(ie),10));continue;case"date":ue(new Date(de(ie)));continue;case"data":oe(de(ie));continue;case"true":de(ie),fe(!0);continue;case"false":de(ie),fe(!1);continue}if(!/^plist/.test(ie.name))return N("unexpected opened tag "+ie.name)}var me;return g}Object.defineProperty(r,"__esModule",{value:!0}),r.parsePLIST=r.parseWithLocation=void 0,r.parseWithLocation=function(a,u,l){return i(a,u,l)},r.parsePLIST=function(a){return i(a,null,null)}},652:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SyncRegistry=void 0;const a=i(391);r.SyncRegistry=class{constructor(u,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=u}dispose(){for(const u of this._grammars.values())u.dispose()}setTheme(u){this._theme=u}getColorMap(){return this._theme.getColorMap()}addGrammar(u,l){this._rawGrammars.set(u.scopeName,u),l&&this._injectionGrammars.set(u.scopeName,l)}lookup(u){return this._rawGrammars.get(u)}injections(u){return this._injectionGrammars.get(u)}getDefaults(){return this._theme.getDefaults()}themeMatch(u){return this._theme.match(u)}async grammarForScopeName(u,l,p,f,h){if(!this._grammars.has(u)){let T=this._rawGrammars.get(u);if(!T)return null;this._grammars.set(u,a.createGrammar(u,T,l,p,f,h,this,await this._onigLibPromise))}return this._grammars.get(u)}}},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 a=i(878),u=i(965),l=/\\(\d+)/,p=/\\(\d+)/g;r.endRuleId=-1,r.whileRuleId=-2,r.ruleIdFromNumber=function(g){return g},r.ruleIdToNumber=function(g){return g};class f{constructor(c,y,v,m){this.$location=c,this.id=y,this._name=v||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=m||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const c=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${c}`}getName(c,y){return this._nameIsCapturing&&this._name!==null&&c!==null&&y!==null?a.RegexSource.replaceCaptures(this._name,c,y):this._name}getContentName(c,y){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,c,y):this._contentName}}r.Rule=f;class h extends f{constructor(c,y,v,m,w){super(c,y,v,m),this.retokenizeCapturedWithRuleId=w}dispose(){}collectPatterns(c,y){throw new Error("Not supported!")}compile(c,y){throw new Error("Not supported!")}compileAG(c,y,v,m){throw new Error("Not supported!")}}r.CaptureRule=h;class T extends f{constructor(c,y,v,m,w){super(c,y,v,null),this._match=new k(m,this.id),this.captures=w,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(c,y){y.push(this._match)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new d,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.MatchRule=T;class b extends f{constructor(c,y,v,m,w){super(c,y,v,m),this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(c,y){for(const v of this.patterns)c.getRule(v).collectPatterns(c,y)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new d,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.IncludeOnlyRule=b;class P extends f{constructor(c,y,v,m,w,N,S,R,$,D){super(c,y,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this._end=new k(S||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=$||!1,this.patterns=D.patterns,this.hasMissingPatterns=D.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(c,y){return this._end.resolveBackReferences(c,y)}collectPatterns(c,y){y.push(this._begin)}compile(c,y){return this._getCachedCompiledPatterns(c,y).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c,y).compileAG(c,v,m)}_getCachedCompiledPatterns(c,y){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new d;for(const v of this.patterns)c.getRule(v).collectPatterns(c,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,y):this._cachedCompiledPatterns.setSource(0,y)),this._cachedCompiledPatterns}}r.BeginEndRule=P;class A extends f{constructor(c,y,v,m,w,N,S,R,$){super(c,y,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this.whileCaptures=R,this._while=new k(S,r.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=$.patterns,this.hasMissingPatterns=$.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(c,y){return this._while.resolveBackReferences(c,y)}collectPatterns(c,y){y.push(this._begin)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new d;for(const y of this.patterns)c.getRule(y).collectPatterns(c,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(c,y){return this._getCachedCompiledWhilePatterns(c,y).compile(c)}compileWhileAG(c,y,v,m){return this._getCachedCompiledWhilePatterns(c,y).compileAG(c,v,m)}_getCachedCompiledWhilePatterns(c,y){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new d,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,y||"￿"),this._cachedCompiledWhilePatterns}}r.BeginWhileRule=A;class L{static createCaptureRule(c,y,v,m,w){return c.registerRule(N=>new h(y,N,v,m,w))}static getCompiledRuleId(c,y,v){return c.id||y.registerRule(m=>{if(c.id=m,c.match)return new T(c.$vscodeTextmateLocation,c.id,c.name,c.match,L._compileCaptures(c.captures,y,v));if(c.begin===void 0){c.repository&&(v=a.mergeObjects({},v,c.repository));let w=c.patterns;return w===void 0&&c.include&&(w=[{include:c.include}]),new b(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,L._compilePatterns(w,y,v))}return c.while?new A(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,y,v),c.while,L._compileCaptures(c.whileCaptures||c.captures,y,v),L._compilePatterns(c.patterns,y,v)):new P(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,y,v),c.end,L._compileCaptures(c.endCaptures||c.captures,y,v),c.applyEndPatternLast,L._compilePatterns(c.patterns,y,v))}),c.id}static _compileCaptures(c,y,v){let m=[];if(c){let w=0;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const S=parseInt(N,10);S>w&&(w=S)}for(let N=0;N<=w;N++)m[N]=null;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const S=parseInt(N,10);let R=0;c[N].patterns&&(R=L.getCompiledRuleId(c[N],y,v)),m[S]=L.createCaptureRule(y,c[N].$vscodeTextmateLocation,c[N].name,c[N].contentName,R)}}return m}static _compilePatterns(c,y,v){let m=[];if(c)for(let w=0,N=c.length;w<N;w++){const S=c[w];let R=-1;if(S.include){const $=u.parseInclude(S.include);switch($.kind){case 0:case 1:R=L.getCompiledRuleId(v[S.include],y,v);break;case 2:let D=v[$.ruleName];D&&(R=L.getCompiledRuleId(D,y,v));break;case 3:case 4:const I=$.scopeName,K=$.kind===4?$.ruleName:null,q=y.getExternalGrammar(I,v);if(q)if(K){let te=q.repository[K];te&&(R=L.getCompiledRuleId(te,y,q.repository))}else R=L.getCompiledRuleId(q.repository.$self,y,q.repository)}}else R=L.getCompiledRuleId(S,y,v);if(R!==-1){const $=y.getRule(R);let D=!1;if(($ instanceof b||$ instanceof P||$ instanceof A)&&$.hasMissingPatterns&&$.patterns.length===0&&(D=!0),D)continue;m.push(R)}}return{patterns:m,hasMissingPatterns:(c?c.length:0)!==m.length}}}r.RuleFactory=L;class k{constructor(c,y){if(c){const v=c.length;let m=0,w=[],N=!1;for(let S=0;S<v;S++)if(c.charAt(S)==="\\"&&S+1<v){const R=c.charAt(S+1);R==="z"?(w.push(c.substring(m,S)),w.push("$(?!\\n)(?<!\\n)"),m=S+2):R!=="A"&&R!=="G"||(N=!0),S++}this.hasAnchor=N,m===0?this.source=c:(w.push(c.substring(m,v)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=c;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=y,this.hasBackReferences=l.test(this.source)}clone(){return new k(this.source,this.ruleId)}setSource(c){this.source!==c&&(this.source=c,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(c,y){let v=y.map(m=>c.substring(m.start,m.end));return p.lastIndex=0,this.source.replace(p,(m,w)=>a.escapeRegExpCharacters(v[parseInt(w,10)]||""))}_buildAnchorCache(){let c,y,v,m,w=[],N=[],S=[],R=[];for(c=0,y=this.source.length;c<y;c++)v=this.source.charAt(c),w[c]=v,N[c]=v,S[c]=v,R[c]=v,v==="\\"&&c+1<y&&(m=this.source.charAt(c+1),m==="A"?(w[c+1]="￿",N[c+1]="￿",S[c+1]="A",R[c+1]="A"):m==="G"?(w[c+1]="￿",N[c+1]="G",S[c+1]="￿",R[c+1]="G"):(w[c+1]=m,N[c+1]=m,S[c+1]=m,R[c+1]=m),c++);return{A0_G0:w.join(""),A0_G1:N.join(""),A1_G0:S.join(""),A1_G1:R.join("")}}resolveAnchors(c,y){return this.hasAnchor&&this._anchorCache?c?y?this._anchorCache.A1_G1:this._anchorCache.A1_G0:y?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}r.RegExpSource=k;class d{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(c){this._items.push(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}unshift(c){this._items.unshift(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}length(){return this._items.length}setSource(c,y){this._items[c].source!==y&&(this._disposeCaches(),this._items[c].setSource(y))}compile(c){if(!this._cached){let y=this._items.map(v=>v.source);this._cached=new _(c,y,this._items.map(v=>v.ruleId))}return this._cached}compileAG(c,y,v){return this._hasAnchors?y?v?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(c,y,v)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(c,y,v)),this._anchorCache.A1_G0):v?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(c,y,v)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(c,y,v)),this._anchorCache.A0_G0):this.compile(c)}_resolveAnchors(c,y,v){let m=this._items.map(w=>w.resolveAnchors(y,v));return new _(c,m,this._items.map(w=>w.ruleId))}}r.RegExpSourceList=d;class _{constructor(c,y,v){this.regExps=y,this.rules=v,this.scanner=c.createOnigScanner(y)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const c=[];for(let y=0,v=this.rules.length;y<v;y++)c.push(" - "+this.rules[y]+": "+this.regExps[y]);return c.join(`
4
- `)}findNextMatchSync(c,y,v){const m=this.scanner.findNextMatchSync(c,y,v);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}r.CompiledRule=_},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 a=i(878);class u{constructor(k,d,_){this._colorMap=k,this._defaults=d,this._root=_,this._cachedMatchRoot=new a.CachedFn(g=>this._root.match(g))}static createFromRawTheme(k,d){return this.createFromParsedTheme(h(k),d)}static createFromParsedTheme(k,d){return function(_,g){_.sort((S,R)=>{let $=a.strcmp(S.scope,R.scope);return $!==0?$:($=a.strArrCmp(S.parentScopes,R.parentScopes),$!==0?$:S.index-R.index)});let c=0,y="#000000",v="#ffffff";for(;_.length>=1&&_[0].scope==="";){let S=_.shift();S.fontStyle!==-1&&(c=S.fontStyle),S.foreground!==null&&(y=S.foreground),S.background!==null&&(v=S.background)}let m=new b(g),w=new f(c,m.getId(y),m.getId(v)),N=new A(new P(0,null,-1,0,0),[]);for(let S=0,R=_.length;S<R;S++){let $=_[S];N.insert(0,$.scope,$.parentScopes,$.fontStyle,m.getId($.foreground),m.getId($.background))}return new u(m,w,N)}(k,d)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(k){if(k===null)return this._defaults;const d=k.scopeName,_=this._cachedMatchRoot.get(d).find(g=>function(c,y){if(y===null)return!0;let v=0,m=y[v];for(;c;){if(p(c.scopeName,m)){if(v++,v===y.length)return!0;m=y[v]}c=c.parent}return!1}(k.parent,g.parentScopes));return _?new f(_.fontStyle,_.foreground,_.background):null}}r.Theme=u;class l{constructor(k,d){this.parent=k,this.scopeName=d}static from(...k){let d=null;for(let _=0;_<k.length;_++)d=new l(d,k[_]);return d}push(k){return new l(this,k)}getSegments(){let k=this;const d=[];for(;k;)d.push(k.scopeName),k=k.parent;return d.reverse(),d}toString(){return this.getSegments().join(" ")}}function p(L,k){return k===L||L.startsWith(k)&&L[k.length]==="."}r.ScopeStack=l;class f{constructor(k,d,_){this.fontStyle=k,this.foregroundId=d,this.backgroundId=_}}function h(L){if(!L)return[];if(!L.settings||!Array.isArray(L.settings))return[];let k=L.settings,d=[],_=0;for(let g=0,c=k.length;g<c;g++){let y,v=k[g];if(!v.settings)continue;if(typeof v.scope=="string"){let S=v.scope;S=S.replace(/^[,]+/,""),S=S.replace(/[,]+$/,""),y=S.split(",")}else y=Array.isArray(v.scope)?v.scope:[""];let m=-1;if(typeof v.settings.fontStyle=="string"){m=0;let S=v.settings.fontStyle.split(" ");for(let R=0,$=S.length;R<$;R++)switch(S[R]){case"italic":m|=1;break;case"bold":m|=2;break;case"underline":m|=4;break;case"strikethrough":m|=8}}let w=null;typeof v.settings.foreground=="string"&&a.isValidHexColor(v.settings.foreground)&&(w=v.settings.foreground);let N=null;typeof v.settings.background=="string"&&a.isValidHexColor(v.settings.background)&&(N=v.settings.background);for(let S=0,R=y.length;S<R;S++){let $=y[S].trim().split(" "),D=$[$.length-1],I=null;$.length>1&&(I=$.slice(0,$.length-1),I.reverse()),d[_++]=new T(D,I,g,m,w,N)}}return d}r.StyleAttributes=f,r.parseTheme=h;class T{constructor(k,d,_,g,c,y){this.scope=k,this.parentScopes=d,this.index=_,this.fontStyle=g,this.foreground=c,this.background=y}}r.ParsedThemeRule=T,r.fontStyleToString=function(L){if(L===-1)return"not set";let k="";return 1&L&&(k+="italic "),2&L&&(k+="bold "),4&L&&(k+="underline "),8&L&&(k+="strikethrough "),k===""&&(k="none"),k.trim()};class b{constructor(k){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(k)){this._isFrozen=!0;for(let d=0,_=k.length;d<_;d++)this._color2id[k[d]]=d,this._id2color[d]=k[d]}else this._isFrozen=!1}getId(k){if(k===null)return 0;k=k.toUpperCase();let d=this._color2id[k];if(d)return d;if(this._isFrozen)throw new Error(`Missing color in color map - ${k}`);return d=++this._lastColorId,this._color2id[k]=d,this._id2color[d]=k,d}getColorMap(){return this._id2color.slice(0)}}r.ColorMap=b;class P{constructor(k,d,_,g,c){this.scopeDepth=k,this.parentScopes=d,this.fontStyle=_,this.foreground=g,this.background=c}clone(){return new P(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(k){let d=[];for(let _=0,g=k.length;_<g;_++)d[_]=k[_].clone();return d}acceptOverwrite(k,d,_,g){this.scopeDepth>k?console.log("how did this happen?"):this.scopeDepth=k,d!==-1&&(this.fontStyle=d),_!==0&&(this.foreground=_),g!==0&&(this.background=g)}}r.ThemeTrieElementRule=P;class A{constructor(k,d=[],_={}){this._mainRule=k,this._children=_,this._rulesWithParentScopes=d}static _sortBySpecificity(k){return k.length===1||k.sort(this._cmpBySpecificity),k}static _cmpBySpecificity(k,d){if(k.scopeDepth===d.scopeDepth){const _=k.parentScopes,g=d.parentScopes;let c=_===null?0:_.length,y=g===null?0:g.length;if(c===y)for(let v=0;v<c;v++){const m=_[v].length,w=g[v].length;if(m!==w)return w-m}return y-c}return d.scopeDepth-k.scopeDepth}match(k){if(k==="")return A._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let d,_,g=k.indexOf(".");return g===-1?(d=k,_=""):(d=k.substring(0,g),_=k.substring(g+1)),this._children.hasOwnProperty(d)?this._children[d].match(_):A._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(k,d,_,g,c,y){if(d==="")return void this._doInsertHere(k,_,g,c,y);let v,m,w,N=d.indexOf(".");N===-1?(v=d,m=""):(v=d.substring(0,N),m=d.substring(N+1)),this._children.hasOwnProperty(v)?w=this._children[v]:(w=new A(this._mainRule.clone(),P.cloneArr(this._rulesWithParentScopes)),this._children[v]=w),w.insert(k+1,m,_,g,c,y)}_doInsertHere(k,d,_,g,c){if(d!==null){for(let y=0,v=this._rulesWithParentScopes.length;y<v;y++){let m=this._rulesWithParentScopes[y];if(a.strArrCmp(m.parentScopes,d)===0)return void m.acceptOverwrite(k,_,g,c)}_===-1&&(_=this._mainRule.fontStyle),g===0&&(g=this._mainRule.foreground),c===0&&(c=this._mainRule.background),this._rulesWithParentScopes.push(new P(k,d,_,g,c))}else this._mainRule.acceptOverwrite(k,_,g,c)}}r.ThemeTrieElement=A},878:(o,r)=>{function i(l){return Array.isArray(l)?function(p){let f=[];for(let h=0,T=p.length;h<T;h++)f[h]=i(p[h]);return f}(l):typeof l=="object"?function(p){let f={};for(let h in p)f[h]=i(p[h]);return f}(l):l}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(l){return i(l)},r.mergeObjects=function(l,...p){return p.forEach(f=>{for(let h in f)l[h]=f[h]}),l},r.basename=function l(p){const f=~p.lastIndexOf("/")||~p.lastIndexOf("\\");return f===0?p:~f==p.length-1?l(p.substring(0,p.length-1)):p.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function u(l,p){return l<p?-1:l>p?1:0}r.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,p,f){return l.replace(a,(h,T,b,P)=>{let A=f[parseInt(T||b,10)];if(!A)return h;{let L=p.substring(A.start,A.end);for(;L[0]===".";)L=L.substring(1);switch(P){case"downcase":return L.toLowerCase();case"upcase":return L.toUpperCase();default:return L}}})}},r.strcmp=u,r.strArrCmp=function(l,p){if(l===null&&p===null)return 0;if(!l)return-1;if(!p)return 1;let f=l.length,h=p.length;if(f===h){for(let T=0;T<f;T++){let b=u(l[T],p[T]);if(b!==0)return b}return 0}return f-h},r.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},r.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},r.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const p=this.fn(l);return this.cache.set(l,p),p}},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 a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(787)})()})})(Ba);var Fa=Ba.exports;const hs=[{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 _t=(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))(_t||{});class Me{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Me.getLanguageId(t),s=Me.getTokenType(t),o=Me.getFontStyle(t),r=Me.getForeground(t),i=Me.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 a=Me.getLanguageId(t),u=Me.getTokenType(t),l=Me.getFontStyle(t),p=Me.getForeground(t),f=Me.getBackground(t),h=Me.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(u=s===8?0:s),o!==-1&&(l=o),r!==0&&(p=r),i!==0&&(f=i),(a<<0|u<<8|l<<11|h<<10|p<<15|f<<24)>>>0}}function Jd(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function zd(e){return e.startsWith("./")?e.slice(2):e}function Ha(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Da(...e){return e.map(Jd).map(zd).join("/")}function Qd(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 Xd(e,t=!1){const n=e.length;let s=0,o="",r=0,i=16,a=0,u=0,l=0,p=0,f=0;function h(d,_){let g=0,c=0;for(;g<d||!_;){let y=e.charCodeAt(s);if(y>=48&&y<=57)c=c*16+y-48;else if(y>=65&&y<=70)c=c*16+y-65+10;else if(y>=97&&y<=102)c=c*16+y-97+10;else break;s++,g++}return g<d&&(c=-1),c}function T(d){s=d,o="",r=0,i=16,f=0}function b(){let d=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&Mt(e.charCodeAt(s)))for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;else return f=3,e.substring(d,s);let _=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&&Mt(e.charCodeAt(s))){for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;_=s}else f=3;return e.substring(d,_)}function P(){let d="",_=s;for(;;){if(s>=n){d+=e.substring(_,s),f=2;break}const g=e.charCodeAt(s);if(g===34){d+=e.substring(_,s),s++;break}if(g===92){if(d+=e.substring(_,s),s++,s>=n){f=2;break}switch(e.charCodeAt(s++)){case 34:d+='"';break;case 92:d+="\\";break;case 47:d+="/";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+=`
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 be={},$t=[],ze=()=>{},el=()=>!1,tl=/^on[^a-z]/,bn=e=>tl.test(e),nr=e=>e.startsWith("onUpdate:"),Ae=Object.assign,sr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},nl=Object.prototype.hasOwnProperty,le=(e,t)=>nl.call(e,t),Z=Array.isArray,Ft=e=>vn(e)==="[object Map]",Jo=e=>vn(e)==="[object Set]",Br=e=>vn(e)==="[object Date]",ee=e=>typeof e=="function",we=e=>typeof e=="string",qt=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",rr=e=>(_e(e)||ee(e))&&ee(e.then)&&ee(e.catch),zo=Object.prototype.toString,vn=e=>zo.call(e),sl=e=>vn(e).slice(8,-1),Xo=e=>vn(e)==="[object Object]",or=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rl=/-(\w)/g,nt=Zn(e=>e.replace(rl,(t,n)=>n?n.toUpperCase():"")),ol=/\B([A-Z])/g,Xt=Zn(e=>e.replace(ol,"-$1").toLowerCase()),es=Zn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ms=Zn(e=>e?`on${es(e)}`:""),Rt=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$n=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},il=e=>{const t=parseFloat(e);return isNaN(t)?e:t},al=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let $r;const js=()=>$r||($r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ts(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?fl(s):ts(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(we(e)||_e(e))return e}const ll=/;(?![^(]*\))/g,cl=/:([^]+)/,ul=/\/\*[^]*?\*\//g;function fl(e){const t={};return e.replace(ul,"").split(ll).forEach(n=>{if(n){const s=n.split(cl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(we(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const s=Ie(e[n]);s&&(t+=s+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function pl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!we(t)&&(e.class=Ie(t)),n&&(e.style=ts(n)),e}const dl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hl=tr(dl);function Qo(e){return!!e||e===""}function ml(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Fn(e[s],t[s]);return n}function Fn(e,t){if(e===t)return!0;let n=Br(e),s=Br(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=qt(e),s=qt(t),n||s)return e===t;if(n=Z(e),s=Z(t),n||s)return n&&s?ml(e,t):!1;if(n=_e(e),s=_e(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(a&&!u||!a&&u||!Fn(e[i],t[i]))return!1}}return String(e)===String(t)}const At=e=>we(e)?e:e==null?"":Z(e)||_e(e)&&(e.toString===zo||!ee(e.toString))?JSON.stringify(e,Yo,2):String(e),Yo=(e,t)=>t&&t.__v_isRef?Yo(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Jo(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!Z(t)&&!Xo(t)?String(t):t;let Ue;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=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 gl(e){return new Zo(e)}function _l(e,t=Ue){t&&t.active&&t.effects.push(e)}function ei(){return Ue}function yl(e){Ue&&Ue.cleanups.push(e)}const ir=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ti=e=>(e.w&kt)>0,ni=e=>(e.n&kt)>0,bl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=kt},vl=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];ti(o)&&!ni(o)?o.delete(e):t[n++]=o,o.w&=~kt,o.n&=~kt}t.length=n}},Hn=new WeakMap;let on=0,kt=1;const Rs=30;let Je;const jt=Symbol(""),Es=Symbol("");class ar{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,_l(this,s)}run(){if(!this.active)return this.fn();let t=Je,n=yt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Je,Je=this,yt=!0,kt=1<<++on,on<=Rs?bl(this):Fr(this),this.fn()}finally{on<=Rs&&vl(this),kt=1<<--on,Je=this.parent,yt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Je===this?this.deferStop=!0:this.active&&(Fr(this),this.onStop&&this.onStop(),this.active=!1)}}function Fr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let yt=!0;const si=[];function Qt(){si.push(yt),yt=!1}function Yt(){const e=si.pop();yt=e===void 0?!0:e}function Fe(e,t,n){if(yt&&Je){let s=Hn.get(e);s||Hn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=ir()),ri(o)}}function ri(e,t){let n=!1;on<=Rs?ni(e)||(e.n|=kt,n=!ti(e)):n=!e.has(Je),n&&(e.add(Je),Je.deps.push(e))}function lt(e,t,n,s,o,r){const i=Hn.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Z(e)){const u=Number(s);i.forEach((l,p)=>{(p==="length"||!qt(p)&&p>=u)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?or(n)&&a.push(i.get("length")):(a.push(i.get(jt)),Ft(e)&&a.push(i.get(Es)));break;case"delete":Z(e)||(a.push(i.get(jt)),Ft(e)&&a.push(i.get(Es)));break;case"set":Ft(e)&&a.push(i.get(jt));break}if(a.length===1)a[0]&&Os(a[0]);else{const u=[];for(const l of a)l&&u.push(...l);Os(ir(u))}}function Os(e,t){const n=Z(e)?e:[...e];for(const s of n)s.computed&&Hr(s);for(const s of n)s.computed||Hr(s)}function Hr(e,t){(e!==Je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function wl(e,t){var n;return(n=Hn.get(e))==null?void 0:n.get(t)}const kl=tr("__proto__,__v_isRef,__isVue"),oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qt)),Dr=Nl();function Nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let r=0,i=this.length;r<i;r++)Fe(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(ce)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Qt();const s=ce(this)[t].apply(this,n);return Yt(),s}}),e}function Tl(e){const t=ce(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const o=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(o?r?Bl:ui:r?ci:li).get(t))return t;const i=Z(t);if(!o){if(i&&le(Dr,n))return Reflect.get(Dr,n,s);if(n==="hasOwnProperty")return Tl}const a=Reflect.get(t,n,s);return(qt(n)?oi.has(n):kl(n))||(o||Fe(t,"get",n),r)?a:Le(a)?i&&or(n)?a:a.value:_e(a)?o?ur(a):st(a):a}}class ai extends ii{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(Et(r)&&Le(r)&&!Le(s))return!1;if(!this._shallow&&(!Dn(s)&&!Et(s)&&(r=ce(r),s=ce(s)),!Z(t)&&Le(r)&&!Le(s)))return r.value=s,!0;const i=Z(t)&&or(n)?Number(n)<t.length:le(t,n),a=Reflect.set(t,n,s,o);return t===ce(o)&&(i?Rt(s,r)&&lt(t,"set",n,s):lt(t,"add",n,s)),a}deleteProperty(t,n){const s=le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&lt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!qt(n)||!oi.has(n))&&Fe(t,"has",n),s}ownKeys(t){return Fe(t,"iterate",Z(t)?"length":jt),Reflect.ownKeys(t)}}class Ll extends ii{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xl=new ai,Sl=new Ll,Al=new ai(!0),lr=e=>e,ns=e=>Reflect.getPrototypeOf(e);function kn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),r=ce(t);n||(Rt(t,r)&&Fe(o,"get",t),Fe(o,"get",r));const{has:i}=ns(o),a=s?lr:n?pr:pn;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Nn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(Rt(e,o)&&Fe(s,"has",e),Fe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Fe(ce(e),"iterate",jt),Reflect.get(e,"size",e)}function Ur(e){e=ce(e);const t=ce(this);return ns(t).has.call(t,e)||(t.add(e),lt(t,"add",e,e)),this}function Wr(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=ns(n);let r=s.call(n,e);r||(e=ce(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Rt(t,i)&&lt(n,"set",e,t):lt(n,"add",e,t),this}function Gr(e){const t=ce(this),{has:n,get:s}=ns(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&lt(t,"delete",e,void 0),r}function qr(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&lt(e,"clear",void 0,void 0),n}function Ln(e,t){return function(s,o){const r=this,i=r.__v_raw,a=ce(i),u=t?lr:e?pr:pn;return!e&&Fe(a,"iterate",jt),i.forEach((l,p)=>s.call(o,u(l),u(p),r))}}function xn(e,t,n){return function(...s){const o=this.__v_raw,r=ce(o),i=Ft(r),a=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,l=o[e](...s),p=n?lr:t?pr:pn;return!t&&Fe(r,"iterate",u?Es:jt),{next(){const{value:f,done:h}=l.next();return h?{value:f,done:h}:{value:a?[p(f[0]),p(f[1])]:p(f),done:h}},[Symbol.iterator](){return this}}}}function pt(e){return function(...t){return e==="delete"?!1:this}}function Pl(){const e={get(r){return kn(this,r)},get size(){return Tn(this)},has:Nn,add:Ur,set:Wr,delete:Gr,clear:qr,forEach:Ln(!1,!1)},t={get(r){return kn(this,r,!1,!0)},get size(){return Tn(this)},has:Nn,add:Ur,set:Wr,delete:Gr,clear:qr,forEach:Ln(!1,!0)},n={get(r){return kn(this,r,!0)},get size(){return Tn(this,!0)},has(r){return Nn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!1)},s={get(r){return kn(this,r,!0,!0)},get size(){return Tn(this,!0)},has(r){return Nn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xn(r,!1,!1),n[r]=xn(r,!0,!1),t[r]=xn(r,!1,!0),s[r]=xn(r,!0,!0)}),[e,n,t,s]}const[jl,Rl,El,Ol]=Pl();function cr(e,t){const n=t?e?Ol:El:e?Rl:jl;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(le(n,o)&&o in s?n:s,o,r)}const Il={get:cr(!1,!1)},Cl={get:cr(!1,!0)},Ml={get:cr(!0,!1)},li=new WeakMap,ci=new WeakMap,ui=new WeakMap,Bl=new WeakMap;function $l(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:$l(sl(e))}function st(e){return Et(e)?e:fr(e,!1,xl,Il,li)}function fi(e){return fr(e,!1,Al,Cl,ci)}function ur(e){return fr(e,!0,Sl,Ml,ui)}function fr(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=Fl(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function Ht(e){return Et(e)?Ht(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Dn(e){return!!(e&&e.__v_isShallow)}function pi(e){return Ht(e)||Et(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function di(e){return $n(e,"__v_skip",!0),e}const pn=e=>_e(e)?st(e):e,pr=e=>_e(e)?ur(e):e;function hi(e){yt&&Je&&(e=ce(e),ri(e.dep||(e.dep=ir())))}function mi(e,t){e=ce(e);const n=e.dep;n&&Os(n)}function Le(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return gi(e,!1)}function Vr(e){return gi(e,!0)}function gi(e,t){return Le(e)?e:new Hl(e,t)}class Hl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:pn(t)}get value(){return hi(this),this._value}set value(t){const n=this.__v_isShallow||Dn(t)||Et(t);t=n?t:ce(t),Rt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:pn(t),mi(this))}}function ge(e){return Le(e)?e.value:e}const Dl={get:(e,t,n)=>ge(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Le(o)&&!Le(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function _i(e){return Ht(e)?e:new Proxy(e,Dl)}class Ul{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 wl(ce(this._object),this._key)}}class Wl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yi(e,t,n){return Le(e)?e:ee(e)?new Wl(e):_e(e)&&arguments.length>1?Gl(e,t,n):ve(e)}function Gl(e,t,n){const s=e[t];return Le(s)?s:new Ul(e,t,n)}class ql{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 ar(t,()=>{this._dirty||(this._dirty=!0,mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return hi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Vl(e,t,n=!1){let s,o;const r=ee(e);return r?(s=e,o=ze):(s=e.get,o=e.set),new ql(s,o,r||!o,n)}function bt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Zt(r,t,n)}return o}function Xe(e,t,n,s){if(ee(e)){const r=bt(e,t,n,s);return r&&rr(r)&&r.catch(i=>{Zt(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(Xe(e[r],t,n,s));return o}function Zt(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=n;for(;r;){const l=r.ec;if(l){for(let p=0;p<l.length;p++)if(l[p](e,i,a)===!1)return}r=r.parent}const u=t.appContext.config.errorHandler;if(u){bt(u,null,10,[e,i,a]);return}}Kl(e,n,o,s)}function Kl(e,t,n,s=!0){console.error(e)}let dn=!1,Is=!1;const Re=[];let tt=0;const Dt=[];let ot=null,xt=0;const bi=Promise.resolve();let dr=null;function ss(e){const t=dr||bi;return e?t.then(this?e.bind(this):e):t}function Jl(e){let t=tt+1,n=Re.length;for(;t<n;){const s=t+n>>>1,o=Re[s],r=hn(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function rs(e){(!Re.length||!Re.includes(e,dn&&e.allowRecurse?tt+1:tt))&&(e.id==null?Re.push(e):Re.splice(Jl(e.id),0,e),vi())}function vi(){!dn&&!Is&&(Is=!0,dr=bi.then(wi))}function zl(e){const t=Re.indexOf(e);t>tt&&Re.splice(t,1)}function Cs(e){Z(e)?Dt.push(...e):(!ot||!ot.includes(e,e.allowRecurse?xt+1:xt))&&Dt.push(e),vi()}function Kr(e,t=dn?tt+1:0){for(;t<Re.length;t++){const n=Re[t];n&&n.pre&&(Re.splice(t,1),t--,n())}}function Un(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,ot){ot.push(...t);return}for(ot=t,ot.sort((n,s)=>hn(n)-hn(s)),xt=0;xt<ot.length;xt++)ot[xt]();ot=null,xt=0}}const hn=e=>e.id==null?1/0:e.id,Xl=(e,t)=>{const n=hn(e)-hn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wi(e){Is=!1,dn=!0,Re.sort(Xl);const t=ze;try{for(tt=0;tt<Re.length;tt++){const n=Re[tt];n&&n.active!==!1&&bt(n,null,14)}}finally{tt=0,Re.length=0,Un(),dn=!1,dr=null,(Re.length||Dt.length)&&wi()}}function Ql(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||be;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const p=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:h}=s[p]||be;h&&(o=n.map(T=>we(T)?T.trim():T)),f&&(o=n.map(il))}let a,u=s[a=ms(t)]||s[a=ms(nt(t))];!u&&r&&(u=s[a=ms(Xt(t))]),u&&Xe(u,e,6,o);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(l,e,6,o)}}function ki(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ee(e)){const u=l=>{const p=ki(l,t,!0);p&&(a=!0,Ae(i,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!a?(_e(e)&&s.set(e,null),null):(Z(r)?r.forEach(u=>i[u]=null):Ae(i,r),_e(e)&&s.set(e,i),i)}function os(e,t){return!e||!bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Xt(t))||le(e,t))}let Se=null,is=null;function Wn(e){const t=Se;return Se=e,is=e&&e.type.__scopeId||null,t}function Yl(e){is=e}function Zl(){is=null}function Be(e,t=Se,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ao(-1);const r=Wn(t);let i;try{i=e(...o)}finally{Wn(r),s._d&&ao(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:u,emit:l,render:p,renderCache:f,data:h,setupState:T,ctx:b,inheritAttrs:P}=e;let A,L;const k=Wn(e);try{if(n.shapeFlag&4){const _=o||s;A=qe(p.call(_,_,f,r,T,h,b)),L=u}else{const _=t;A=qe(_.length>1?_(r,{attrs:u,slots:a,emit:l}):_(r,null)),L=t.props?u:tc(u)}}catch(_){un.length=0,Zt(_,e,1),A=re(Ye)}let d=A;if(L&&P!==!1){const _=Object.keys(L),{shapeFlag:g}=d;_.length&&g&7&&(i&&_.some(nr)&&(L=nc(L,i)),d=Jt(d,L))}return n.dirs&&(d=Jt(d),d.dirs=d.dirs?d.dirs.concat(n.dirs):n.dirs),n.transition&&(d.transition=n.transition),A=d,Wn(k),A}function ec(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(_n(s)){if(s.type!==Ye||s.children==="v-if"){if(t)return;t=s}}else return}return t}const tc=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},nc=(e,t)=>{const n={};for(const s in e)(!nr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function sc(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:u}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Jr(s,i,l):!!i;if(u&8){const p=t.dynamicProps;for(let f=0;f<p.length;f++){const h=p[f];if(i[h]!==s[h]&&!os(l,h))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Jr(s,i,l):!0:!!i;return!1}function Jr(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]&&!os(n,r))return!0}return!1}function hr({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const mr="components";function rc(e,t){return Li(mr,e,!0,t)||e}const Ni=Symbol.for("v-ndc");function Ti(e){return we(e)?Li(mr,e,!1)||e:e||Ni}function Li(e,t,n=!0,s=!1){const o=Se||Ne;if(o){const r=o.type;if(e===mr){const a=Qc(r,!1);if(a&&(a===t||a===nt(t)||a===es(nt(t))))return r}const i=zr(o[e]||r[e],t)||zr(o.appContext[e],t);return!i&&s?r:i}}function zr(e,t){return e&&(e[t]||e[nt(t)]||e[es(nt(t))])}const oc=e=>e.__isSuspense,ic={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,u,l){e==null?lc(t,n,s,o,r,i,a,u,l):cc(e,t,n,s,o,i,a,u,l)},hydrate:uc,create:gr,normalize:fc},ac=ic;function mn(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function lc(e,t,n,s,o,r,i,a,u){const{p:l,o:{createElement:p}}=u,f=p("div"),h=e.suspense=gr(e,o,s,t,f,n,r,i,a,u);l(null,h.pendingBranch=e.ssContent,f,null,s,h,r,i),h.deps>0?(mn(e,"onPending"),mn(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,r,i),Ut(h,e.ssFallback)):h.resolve(!1,!0)}function cc(e,t,n,s,o,r,i,a,{p:u,um:l,o:{createElement:p}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,T=t.ssFallback,{activeBranch:b,pendingBranch:P,isInFallback:A,isHydrating:L}=f;if(P)f.pendingBranch=h,gt(h,P)?(u(P,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():A&&(u(b,T,n,s,o,null,r,i,a),Ut(f,T))):(f.pendingId++,L?(f.isHydrating=!1,f.activeBranch=P):l(P,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=p("div"),A?(u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():(u(b,T,n,s,o,null,r,i,a),Ut(f,T))):b&&gt(h,b)?(u(b,h,n,s,o,f,r,i,a),f.resolve(!0)):(u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0&&f.resolve()));else if(b&&gt(h,b))u(b,h,n,s,o,f,r,i,a),Ut(f,h);else if(mn(t,"onPending"),f.pendingBranch=h,f.pendingId++,u(null,h,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:k,pendingId:d}=f;k>0?setTimeout(()=>{f.pendingId===d&&f.fallback(T)},k):k===0&&f.fallback(T)}}function gr(e,t,n,s,o,r,i,a,u,l,p=!1){const{p:f,m:h,um:T,n:b,o:{parentNode:P,remove:A}}=l;let L;const k=pc(e);k&&t!=null&&t.pendingBranch&&(L=t.pendingId,t.deps++);const d=e.props?al(e.props.timeout):void 0,_={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:typeof d=="number"?d:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(g=!1,c=!1){const{vnode:y,activeBranch:v,pendingBranch:m,pendingId:w,effects:N,parentComponent:S,container:R}=_;let B=!1;if(_.isHydrating)_.isHydrating=!1;else if(!g){B=v&&m.transition&&m.transition.mode==="out-in",B&&(v.transition.afterLeave=()=>{w===_.pendingId&&(h(m,R,K,0),Cs(N))});let{anchor:K}=_;v&&(K=b(v),T(v,S,_,!0)),B||h(m,R,K,0)}Ut(_,m),_.pendingBranch=null,_.isInFallback=!1;let D=_.parent,I=!1;for(;D;){if(D.pendingBranch){D.effects.push(...N),I=!0;break}D=D.parent}!I&&!B&&Cs(N),_.effects=[],k&&t&&t.pendingBranch&&L===t.pendingId&&(t.deps--,t.deps===0&&!c&&t.resolve()),mn(y,"onResolve")},fallback(g){if(!_.pendingBranch)return;const{vnode:c,activeBranch:y,parentComponent:v,container:m,isSVG:w}=_;mn(c,"onFallback");const N=b(y),S=()=>{_.isInFallback&&(f(null,g,m,N,v,null,w,a,u),Ut(_,g))},R=g.transition&&g.transition.mode==="out-in";R&&(y.transition.afterLeave=S),_.isInFallback=!0,T(y,v,null,!0),R||S()},move(g,c,y){_.activeBranch&&h(_.activeBranch,g,c,y),_.container=g},next(){return _.activeBranch&&b(_.activeBranch)},registerDep(g,c){const y=!!_.pendingBranch;y&&_.deps++;const v=g.vnode.el;g.asyncDep.catch(m=>{Zt(m,g,0)}).then(m=>{if(g.isUnmounted||_.isUnmounted||_.pendingId!==g.suspenseId)return;g.asyncResolved=!0;const{vnode:w}=g;Hs(g,m,!1),v&&(w.el=v);const N=!v&&g.subTree.el;c(g,w,P(v||g.subTree.el),v?null:b(g.subTree),_,i,u),N&&A(N),hr(g,w.el),y&&--_.deps===0&&_.resolve()})},unmount(g,c){_.isUnmounted=!0,_.activeBranch&&T(_.activeBranch,n,g,c),_.pendingBranch&&T(_.pendingBranch,n,g,c)}};return _}function uc(e,t,n,s,o,r,i,a,u){const l=t.suspense=gr(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),p=u(e,l.pendingBranch=t.ssContent,n,l,r,i);return l.deps===0&&l.resolve(!1,!0),p}function fc(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Xr(s?n.default:n),e.ssFallback=s?Xr(n.fallback):re(Ye)}function Xr(e){let t;if(ee(e)){const n=Kt&&e._c;n&&(e._d=!1,ae()),e=e(),n&&(e._d=!0,t=Ve,qi())}return Z(e)&&(e=ec(e)),e=qe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function xi(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Cs(e)}function Ut(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,hr(s,o))}function pc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function _m(e,t){return _r(e,null,t)}const Sn={};function vt(e,t,n){return _r(e,t,n)}function _r(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=be){var a;const u=ei()===((a=Ne)==null?void 0:a.scope)?Ne:null;let l,p=!1,f=!1;if(Le(e)?(l=()=>e.value,p=Dn(e)):Ht(e)?(l=()=>e,s=!0):Z(e)?(f=!0,p=e.some(_=>Ht(_)||Dn(_)),l=()=>e.map(_=>{if(Le(_))return _.value;if(Ht(_))return Pt(_);if(ee(_))return bt(_,u,2)})):ee(e)?t?l=()=>bt(e,u,2):l=()=>{if(!(u&&u.isUnmounted))return h&&h(),Xe(e,u,3,[T])}:l=ze,t&&s){const _=l;l=()=>Pt(_())}let h,T=_=>{h=k.onStop=()=>{bt(_,u,4)}},b;if(zt)if(T=ze,t?n&&Xe(t,u,3,[l(),f?[]:void 0,T]):l(),o==="sync"){const _=eu();b=_.__watcherHandles||(_.__watcherHandles=[])}else return ze;let P=f?new Array(e.length).fill(Sn):Sn;const A=()=>{if(k.active)if(t){const _=k.run();(s||p||(f?_.some((g,c)=>Rt(g,P[c])):Rt(_,P)))&&(h&&h(),Xe(t,u,3,[_,P===Sn?void 0:f&&P[0]===Sn?[]:P,T]),P=_)}else k.run()};A.allowRecurse=!!t;let L;o==="sync"?L=A:o==="post"?L=()=>Ce(A,u&&u.suspense):(A.pre=!0,u&&(A.id=u.uid),L=()=>rs(A));const k=new ar(l,L);t?n?A():P=k.run():o==="post"?Ce(k.run.bind(k),u&&u.suspense):k.run();const d=()=>{k.stop(),u&&u.scope&&sr(u.scope.effects,k)};return b&&b.push(d),d}function dc(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Si(s,e):()=>s[e]:e.bind(s,s);let r;ee(t)?r=t:(r=t.handler,n=t);const i=Ne;Nt(this);const a=_r(o,r.bind(s),n);return i?Nt(i):wt(),a}function Si(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 Pt(e,t){if(!_e(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Le(e))Pt(e.value,t);else if(Z(e))for(let n=0;n<e.length;n++)Pt(e[n],t);else if(Jo(e)||Ft(e))e.forEach(n=>{Pt(n,t)});else if(Xo(e))for(const n in e)Pt(e[n],t);return e}function hc(e,t){const n=Se;if(n===null)return e;const s=us(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,u,l=be]=t[r];i&&(ee(i)&&(i={mounted:i,updated:i}),i.deep&&Pt(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:u,modifiers:l}))}return e}function et(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let u=a.dir[s];u&&(Qt(),Xe(u,n,8,[e.el,a,e,t]),Yt())}}/*! #__NO_SIDE_EFFECTS__ */function ct(e,t){return ee(e)?(()=>Ae({name:e.name},t,{setup:e}))():e}const Wt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Qr(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:a}=e;let u=null,l,p=0;const f=()=>(p++,u=null,h()),h=()=>{let T;return u||(T=u=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),a)return new Promise((P,A)=>{a(b,()=>P(f()),()=>A(b),p+1)});throw b}).then(b=>T!==u&&u?u:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),l=b,b)))};return ct({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return l},setup(){const T=Ne;if(l)return()=>_s(l,T);const b=k=>{u=null,Zt(k,T,13,!s)};if(i&&T.suspense||zt)return h().then(k=>()=>_s(k,T)).catch(k=>(b(k),()=>s?re(s,{error:k}):null));const P=ve(!1),A=ve(),L=ve(!!o);return o&&setTimeout(()=>{L.value=!1},o),r!=null&&setTimeout(()=>{if(!P.value&&!A.value){const k=new Error(`Async component timed out after ${r}ms.`);b(k),A.value=k}},r),h().then(()=>{P.value=!0,T.parent&&yr(T.parent.vnode)&&rs(T.parent.update)}).catch(k=>{b(k),A.value=k}),()=>{if(P.value&&l)return _s(l,T);if(A.value&&s)return re(s,{error:A.value});if(n&&!L.value)return re(n)}}})}function _s(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=re(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const yr=e=>e.type.__isKeepAlive;function mc(e,t){Ai(e,"a",t)}function gc(e,t){Ai(e,"da",t)}function Ai(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(as(t,s,n),n){let o=n.parent;for(;o&&o.parent;)yr(o.parent.vnode)&&_c(s,t,n,o),o=o.parent}}function _c(e,t,n,s){const o=as(t,e,s,!0);ji(()=>{sr(s[t],o)},n)}function as(e,t,n=Ne,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Qt(),Nt(n);const a=Xe(t,n,e,i);return wt(),Yt(),a});return s?o.unshift(r):o.push(r),r}}const ut=e=>(t,n=Ne)=>(!zt||e==="sp")&&as(e,(...s)=>t(...s),n),yc=ut("bm"),br=ut("m"),bc=ut("bu"),vc=ut("u"),Pi=ut("bum"),ji=ut("um"),wc=ut("sp"),kc=ut("rtg"),Nc=ut("rtc");function Ri(e,t=Ne){as("ec",e,t)}function Yr(e,t,n,s){let o;const r=n&&n[s];if(Z(e)||we(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;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,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,u=i.length;a<u;a++){const l=i[a];o[a]=t(e[l],l,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function Ge(e,t,n={},s,o){if(Se.isCE||Se.parent&&Wt(Se.parent)&&Se.parent.isCE)return t!=="default"&&(n.name=t),re("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),ae();const i=r&&Ei(r(n)),a=Oe(je,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ei(e){return e.some(t=>_n(t)?!(t.type===Ye||t.type===je&&!Ei(t.children)):!0)?e:null}const Ms=e=>e?zi(e)?us(e)||e.proxy:Ms(e.parent):null,cn=Ae(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=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>vr(e),$forceUpdate:e=>e.f||(e.f=()=>rs(e.update)),$nextTick:e=>e.n||(e.n=ss.bind(e.proxy)),$watch:e=>dc.bind(e)}),ys=(e,t)=>e!==be&&!e.__isScriptSetup&&le(e,t),Tc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:u}=e;let l;if(t[0]!=="$"){const T=i[t];if(T!==void 0)switch(T){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ys(s,t))return i[t]=1,s[t];if(o!==be&&le(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&le(l,t))return i[t]=3,r[t];if(n!==be&&le(n,t))return i[t]=4,n[t];Bs&&(i[t]=0)}}const p=cn[t];let f,h;if(p)return t==="$attrs"&&Fe(e,"get",t),p(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==be&&le(n,t))return i[t]=4,n[t];if(h=u.config.globalProperties,le(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ys(o,t)?(o[t]=n,!0):s!==be&&le(s,t)?(s[t]=n,!0):le(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 a;return!!n[i]||e!==be&&le(e,i)||ys(t,i)||(a=r[0])&&le(a,i)||le(s,i)||le(cn,i)||le(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Zr(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Lc(e){const t=cs();let n=e();return wt(),rr(n)&&(n=n.catch(s=>{throw Nt(t),s})),[n,()=>Nt(t)]}let Bs=!0;function xc(e){const t=vr(e),n=e.proxy,s=e.ctx;Bs=!1,t.beforeCreate&&eo(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:u,inject:l,created:p,beforeMount:f,mounted:h,beforeUpdate:T,updated:b,activated:P,deactivated:A,beforeDestroy:L,beforeUnmount:k,destroyed:d,unmounted:_,render:g,renderTracked:c,renderTriggered:y,errorCaptured:v,serverPrefetch:m,expose:w,inheritAttrs:N,components:S,directives:R,filters:B}=t;if(l&&Sc(l,s,null),i)for(const K in i){const q=i[K];ee(q)&&(s[K]=q.bind(n))}if(o){const K=o.call(n,n);_e(K)&&(e.data=st(K))}if(Bs=!0,r)for(const K in r){const q=r[K],te=ee(q)?q.bind(n,n):ee(q.get)?q.get.bind(n,n):ze,he=!ee(q)&&ee(q.set)?q.set.bind(n):ze,ue=Qe({get:te,set:he});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>ue.value,set:oe=>ue.value=oe})}if(a)for(const K in a)Oi(a[K],s,n,K);if(u){const K=ee(u)?u.call(n):u;Reflect.ownKeys(K).forEach(q=>{Ci(q,K[q])})}p&&eo(p,e,"c");function I(K,q){Z(q)?q.forEach(te=>K(te.bind(n))):q&&K(q.bind(n))}if(I(yc,f),I(br,h),I(bc,T),I(vc,b),I(mc,P),I(gc,A),I(Ri,v),I(Nc,c),I(kc,y),I(Pi,k),I(ji,_),I(wc,m),Z(w))if(w.length){const K=e.exposed||(e.exposed={});w.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:te=>n[q]=te})})}else e.exposed||(e.exposed={});g&&e.render===ze&&(e.render=g),N!=null&&(e.inheritAttrs=N),S&&(e.components=S),R&&(e.directives=R)}function Sc(e,t,n=ze){Z(e)&&(e=$s(e));for(const s in e){const o=e[s];let r;_e(o)?"default"in o?r=Gt(o.from||s,o.default,!0):r=Gt(o.from||s):r=Gt(o),Le(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function eo(e,t,n){Xe(Z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oi(e,t,n,s){const o=s.includes(".")?Si(n,s):()=>n[s];if(we(e)){const r=t[e];ee(r)&&vt(o,r)}else if(ee(e))vt(o,e.bind(n));else if(_e(e))if(Z(e))e.forEach(r=>Oi(r,t,n,s));else{const r=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(r)&&vt(o,r,e)}}function vr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let u;return a?u=a:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(l=>Gn(u,l,i,!0)),Gn(u,t,i)),_e(t)&&r.set(t,u),u}function Gn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Gn(e,r,n,!0),o&&o.forEach(i=>Gn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Ac[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ac={data:to,props:no,emits:no,methods:an,computed:an,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:an,directives:an,watch:jc,provide:to,inject:Pc};function to(e,t){return t?e?function(){return Ae(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Pc(e,t){return an($s(e),$s(t))}function $s(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function an(e,t){return e?Ae(Object.create(null),e,t):t}function no(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Zr(e),Zr(t??{})):t}function jc(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const s in t)n[s]=Ee(e[s],t[s]);return n}function Ii(){return{app:null,config:{isNativeTag:el,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 Rc=0;function Ec(e,t){return function(s,o=null){ee(s)||(s=Ae({},s)),o!=null&&!_e(o)&&(o=null);const r=Ii(),i=new WeakSet;let a=!1;const u=r.app={_uid:Rc++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Qi,get config(){return r.config},set config(l){},use(l,...p){return i.has(l)||(l&&ee(l.install)?(i.add(l),l.install(u,...p)):ee(l)&&(i.add(l),l(u,...p))),u},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),u},component(l,p){return p?(r.components[l]=p,u):r.components[l]},directive(l,p){return p?(r.directives[l]=p,u):r.directives[l]},mount(l,p,f){if(!a){const h=re(s,o);return h.appContext=r,p&&t?t(h,l):e(h,l,f),a=!0,u._container=l,l.__vue_app__=u,us(h.component)||h.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(l,p){return r.provides[l]=p,u},runWithContext(l){gn=u;try{return l()}finally{gn=null}}};return u}}let gn=null;function Ci(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function Gt(e,t,n=!1){const s=Ne||Se;if(s||gn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:gn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ee(t)?t.call(s&&s.proxy):t}}function Mi(){return!!(Ne||Se||gn)}function Oc(e,t,n,s=!1){const o={},r={};$n(r,ls,1),e.propsDefaults=Object.create(null),Bi(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:fi(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Ic(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ce(o),[u]=e.propsOptions;let l=!1;if((s||i>0)&&!(i&16)){if(i&8){const p=e.vnode.dynamicProps;for(let f=0;f<p.length;f++){let h=p[f];if(os(e.emitsOptions,h))continue;const T=t[h];if(u)if(le(r,h))T!==r[h]&&(r[h]=T,l=!0);else{const b=nt(h);o[b]=Fs(u,a,b,T,e,!1)}else T!==r[h]&&(r[h]=T,l=!0)}}}else{Bi(e,t,o,r)&&(l=!0);let p;for(const f in a)(!t||!le(t,f)&&((p=Xt(f))===f||!le(t,p)))&&(u?n&&(n[f]!==void 0||n[p]!==void 0)&&(o[f]=Fs(u,a,f,void 0,e,!0)):delete o[f]);if(r!==a)for(const f in r)(!t||!le(t,f))&&(delete r[f],l=!0)}l&&lt(e,"set","$attrs")}function Bi(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let u in t){if(ln(u))continue;const l=t[u];let p;o&&le(o,p=nt(u))?!r||!r.includes(p)?n[p]=l:(a||(a={}))[p]=l:os(e.emitsOptions,u)||(!(u in s)||l!==s[u])&&(s[u]=l,i=!0)}if(r){const u=ce(n),l=a||be;for(let p=0;p<r.length;p++){const f=r[p];n[f]=Fs(o,u,f,l[f],e,!le(l,f))}}return i}function Fs(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=le(i,"default");if(a&&s===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&ee(u)){const{propsDefaults:l}=o;n in l?s=l[n]:(Nt(o),s=l[n]=u.call(null,t),wt())}else s=u}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Xt(n))&&(s=!0))}return s}function $i(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let u=!1;if(!ee(e)){const p=f=>{u=!0;const[h,T]=$i(f,t,!0);Ae(i,h),T&&a.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!r&&!u)return _e(e)&&s.set(e,$t),$t;if(Z(r))for(let p=0;p<r.length;p++){const f=nt(r[p]);so(f)&&(i[f]=be)}else if(r)for(const p in r){const f=nt(p);if(so(f)){const h=r[p],T=i[f]=Z(h)||ee(h)?{type:h}:Ae({},h);if(T){const b=io(Boolean,T.type),P=io(String,T.type);T[0]=b>-1,T[1]=P<0||b<P,(b>-1||le(T,"default"))&&a.push(f)}}}const l=[i,a];return _e(e)&&s.set(e,l),l}function so(e){return e[0]!=="$"}function ro(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function oo(e,t){return ro(e)===ro(t)}function io(e,t){return Z(t)?t.findIndex(n=>oo(n,e)):ee(t)&&oo(t,e)?0:-1}const Fi=e=>e[0]==="_"||e==="$stable",wr=e=>Z(e)?e.map(qe):[qe(e)],Cc=(e,t,n)=>{if(t._n)return t;const s=Be((...o)=>wr(t(...o)),n);return s._c=!1,s},Hi=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Fi(o))continue;const r=e[o];if(ee(r))t[o]=Cc(o,r,s);else if(r!=null){const i=wr(r);t[o]=()=>i}}},Di=(e,t)=>{const n=wr(t);e.slots.default=()=>n},Mc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),$n(t,"_",n)):Hi(t,e.slots={})}else e.slots={},t&&Di(e,t);$n(e.slots,ls,1)},Bc=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=be;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Ae(o,t),!n&&a===1&&delete o._):(r=!t.$stable,Hi(t,o)),i=t}else t&&(Di(e,t),i={default:1});if(r)for(const a in o)!Fi(a)&&i[a]==null&&delete o[a]};function qn(e,t,n,s,o=!1){if(Z(e)){e.forEach((h,T)=>qn(h,t&&(Z(t)?t[T]:t),n,s,o));return}if(Wt(s)&&!o)return;const r=s.shapeFlag&4?us(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:u}=e,l=t&&t.r,p=a.refs===be?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==u&&(we(l)?(p[l]=null,le(f,l)&&(f[l]=null)):Le(l)&&(l.value=null)),ee(u))bt(u,a,12,[i,p]);else{const h=we(u),T=Le(u);if(h||T){const b=()=>{if(e.f){const P=h?le(f,u)?f[u]:p[u]:u.value;o?Z(P)&&sr(P,r):Z(P)?P.includes(r)||P.push(r):h?(p[u]=[r],le(f,u)&&(f[u]=p[u])):(u.value=[r],e.k&&(p[e.k]=u.value))}else h?(p[u]=i,le(f,u)&&(f[u]=i)):T&&(u.value=i,e.k&&(p[e.k]=i))};i?(b.id=-1,Ce(b,n)):b()}}}let dt=!1;const An=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Pn=e=>e.nodeType===8;function $c(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:u,createComment:l}}=e,p=(d,_)=>{if(!_.hasChildNodes()){n(null,d,_),Un(),_._vnode=d;return}dt=!1,f(_.firstChild,d,null,null,null),Un(),_._vnode=d,dt&&console.error("Hydration completed but contains mismatches.")},f=(d,_,g,c,y,v=!1)=>{const m=Pn(d)&&d.data==="[",w=()=>P(d,_,g,c,y,m),{type:N,ref:S,shapeFlag:R,patchFlag:B}=_;let D=d.nodeType;_.el=d,B===-2&&(v=!1,_.dynamicChildren=null);let I=null;switch(N){case Vt:D!==3?_.children===""?(u(_.el=o(""),i(d),d),I=d):I=w():(d.data!==_.children&&(dt=!0,d.data=_.children),I=r(d));break;case Ye:k(d)?(I=r(d),L(_.el=d.content.firstChild,d,g)):D!==8||m?I=w():I=r(d);break;case On:if(m&&(d=r(d),D=d.nodeType),D===1||D===3){I=d;const K=!_.children.length;for(let q=0;q<_.staticCount;q++)K&&(_.children+=I.nodeType===1?I.outerHTML:I.data),q===_.staticCount-1&&(_.anchor=I),I=r(I);return m?r(I):I}else w();break;case je:m?I=b(d,_,g,c,y,v):I=w();break;default:if(R&1)(D!==1||_.type.toLowerCase()!==d.tagName.toLowerCase())&&!k(d)?I=w():I=h(d,_,g,c,y,v);else if(R&6){_.slotScopeIds=y;const K=i(d);if(m?I=A(d):Pn(d)&&d.data==="teleport start"?I=A(d,d.data,"teleport end"):I=r(d),t(_,K,null,g,c,An(K),v),Wt(_)){let q;m?(q=re(je),q.anchor=I?I.previousSibling:K.lastChild):q=d.nodeType===3?$e(""):re("div"),q.el=d,_.component.subTree=q}}else R&64?D!==8?I=w():I=_.type.hydrate(d,_,g,c,y,v,e,T):R&128&&(I=_.type.hydrate(d,_,g,c,An(i(d)),y,v,e,f))}return S!=null&&qn(S,null,c,_),I},h=(d,_,g,c,y,v)=>{v=v||!!_.dynamicChildren;const{type:m,props:w,patchFlag:N,shapeFlag:S,dirs:R,transition:B}=_,D=m==="input"&&R||m==="option";if(D||N!==-1){if(R&&et(_,null,g,"created"),w)if(D||!v||N&48)for(const q in w)(D&&q.endsWith("value")||bn(q)&&!ln(q))&&s(d,q,null,w[q],!1,void 0,g);else w.onClick&&s(d,"onClick",null,w.onClick,!1,void 0,g);let I;(I=w&&w.onVnodeBeforeMount)&&We(I,g,_);let K=!1;if(k(d)){K=Wi(c,B)&&g&&g.vnode.props&&g.vnode.props.appear;const q=d.content.firstChild;K&&B.beforeEnter(q),L(q,d,g),_.el=d=q}if(R&&et(_,null,g,"beforeMount"),((I=w&&w.onVnodeMounted)||R||K)&&xi(()=>{I&&We(I,g,_),K&&B.enter(d),R&&et(_,null,g,"mounted")},c),S&16&&!(w&&(w.innerHTML||w.textContent))){let q=T(d.firstChild,_,d,g,c,y,v);for(;q;){dt=!0;const te=q;q=q.nextSibling,a(te)}}else S&8&&d.textContent!==_.children&&(dt=!0,d.textContent=_.children)}return d.nextSibling},T=(d,_,g,c,y,v,m)=>{m=m||!!_.dynamicChildren;const w=_.children,N=w.length;for(let S=0;S<N;S++){const R=m?w[S]:w[S]=qe(w[S]);if(d)d=f(d,R,c,y,v,m);else{if(R.type===Vt&&!R.children)continue;dt=!0,n(null,R,g,null,c,y,An(g),v)}}return d},b=(d,_,g,c,y,v)=>{const{slotScopeIds:m}=_;m&&(y=y?y.concat(m):m);const w=i(d),N=T(r(d),_,w,g,c,y,v);return N&&Pn(N)&&N.data==="]"?r(_.anchor=N):(dt=!0,u(_.anchor=l("]"),w,N),N)},P=(d,_,g,c,y,v)=>{if(dt=!0,_.el=null,v){const N=A(d);for(;;){const S=r(d);if(S&&S!==N)a(S);else break}}const m=r(d),w=i(d);return a(d),n(null,_,w,m,g,c,An(w),y),m},A=(d,_="[",g="]")=>{let c=0;for(;d;)if(d=r(d),d&&Pn(d)&&(d.data===_&&c++,d.data===g)){if(c===0)return r(d);c--}return d},L=(d,_,g)=>{const c=_.parentNode;c&&c.replaceChild(d,_);let y=g;for(;y;)y.vnode.el===_&&(y.vnode.el=y.subTree.el=d),y=y.parent},k=d=>d.nodeType===1&&d.tagName.toLowerCase()==="template";return[p,f]}const Ce=xi;function Fc(e){return Ui(e)}function Hc(e){return Ui(e,$c)}function Ui(e,t){const n=js();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:u,setText:l,setElementText:p,parentNode:f,nextSibling:h,setScopeId:T=ze,insertStaticContent:b}=e,P=(x,j,O,C=null,M=null,G=null,V=!1,U=null,W=!!j.dynamicChildren)=>{if(x===j)return;x&&!gt(x,j)&&(C=H(x),oe(x,M,G,!0),x=null),j.patchFlag===-2&&(W=!1,j.dynamicChildren=null);const{type:F,ref:z,shapeFlag:E}=j;switch(F){case Vt:A(x,j,O,C);break;case Ye:L(x,j,O,C);break;case On:x==null&&k(j,O,C,V);break;case je:S(x,j,O,C,M,G,V,U,W);break;default:E&1?g(x,j,O,C,M,G,V,U,W):E&6?R(x,j,O,C,M,G,V,U,W):(E&64||E&128)&&F.process(x,j,O,C,M,G,V,U,W,ie)}z!=null&&M&&qn(z,x&&x.ref,G,j||x,!j)},A=(x,j,O,C)=>{if(x==null)s(j.el=a(j.children),O,C);else{const M=j.el=x.el;j.children!==x.children&&l(M,j.children)}},L=(x,j,O,C)=>{x==null?s(j.el=u(j.children||""),O,C):j.el=x.el},k=(x,j,O,C)=>{[x.el,x.anchor]=b(x.children,j,O,C,x.el,x.anchor)},d=({el:x,anchor:j},O,C)=>{let M;for(;x&&x!==j;)M=h(x),s(x,O,C),x=M;s(j,O,C)},_=({el:x,anchor:j})=>{let O;for(;x&&x!==j;)O=h(x),o(x),x=O;o(j)},g=(x,j,O,C,M,G,V,U,W)=>{V=V||j.type==="svg",x==null?c(j,O,C,M,G,V,U,W):m(x,j,M,G,V,U,W)},c=(x,j,O,C,M,G,V,U)=>{let W,F;const{type:z,props:E,shapeFlag:$,transition:J,dirs:Y}=x;if(W=x.el=i(x.type,G,E&&E.is,E),$&8?p(W,x.children):$&16&&v(x.children,W,null,C,M,G&&z!=="foreignObject",V,U),Y&&et(x,null,C,"created"),y(W,x,x.scopeId,V,C),E){for(const X in E)X!=="value"&&!ln(X)&&r(W,X,null,E[X],G,x.children,C,M,me);"value"in E&&r(W,"value",null,E.value),(F=E.onVnodeBeforeMount)&&We(F,C,x)}Y&&et(x,null,C,"beforeMount");const Q=Wi(M,J);Q&&J.beforeEnter(W),s(W,j,O),((F=E&&E.onVnodeMounted)||Q||Y)&&Ce(()=>{F&&We(F,C,x),Q&&J.enter(W),Y&&et(x,null,C,"mounted")},M)},y=(x,j,O,C,M)=>{if(O&&T(x,O),C)for(let G=0;G<C.length;G++)T(x,C[G]);if(M){let G=M.subTree;if(j===G){const V=M.vnode;y(x,V,V.scopeId,V.slotScopeIds,M.parent)}}},v=(x,j,O,C,M,G,V,U,W=0)=>{for(let F=W;F<x.length;F++){const z=x[F]=U?mt(x[F]):qe(x[F]);P(null,z,j,O,C,M,G,V,U)}},m=(x,j,O,C,M,G,V)=>{const U=j.el=x.el;let{patchFlag:W,dynamicChildren:F,dirs:z}=j;W|=x.patchFlag&16;const E=x.props||be,$=j.props||be;let J;O&&Tt(O,!1),(J=$.onVnodeBeforeUpdate)&&We(J,O,j,x),z&&et(j,x,O,"beforeUpdate"),O&&Tt(O,!0);const Y=M&&j.type!=="foreignObject";if(F?w(x.dynamicChildren,F,U,O,C,Y,G):V||q(x,j,U,null,O,C,Y,G,!1),W>0){if(W&16)N(U,j,E,$,O,C,M);else if(W&2&&E.class!==$.class&&r(U,"class",null,$.class,M),W&4&&r(U,"style",E.style,$.style,M),W&8){const Q=j.dynamicProps;for(let X=0;X<Q.length;X++){const se=Q[X],xe=E[se],He=$[se];(He!==xe||se==="value")&&r(U,se,xe,He,M,x.children,O,C,me)}}W&1&&x.children!==j.children&&p(U,j.children)}else!V&&F==null&&N(U,j,E,$,O,C,M);((J=$.onVnodeUpdated)||z)&&Ce(()=>{J&&We(J,O,j,x),z&&et(j,x,O,"updated")},C)},w=(x,j,O,C,M,G,V)=>{for(let U=0;U<j.length;U++){const W=x[U],F=j[U],z=W.el&&(W.type===je||!gt(W,F)||W.shapeFlag&70)?f(W.el):O;P(W,F,z,null,C,M,G,V,!0)}},N=(x,j,O,C,M,G,V)=>{if(O!==C){if(O!==be)for(const U in O)!ln(U)&&!(U in C)&&r(x,U,O[U],null,V,j.children,M,G,me);for(const U in C){if(ln(U))continue;const W=C[U],F=O[U];W!==F&&U!=="value"&&r(x,U,F,W,V,j.children,M,G,me)}"value"in C&&r(x,"value",O.value,C.value)}},S=(x,j,O,C,M,G,V,U,W)=>{const F=j.el=x?x.el:a(""),z=j.anchor=x?x.anchor:a("");let{patchFlag:E,dynamicChildren:$,slotScopeIds:J}=j;J&&(U=U?U.concat(J):J),x==null?(s(F,O,C),s(z,O,C),v(j.children,O,z,M,G,V,U,W)):E>0&&E&64&&$&&x.dynamicChildren?(w(x.dynamicChildren,$,O,M,G,V,U),(j.key!=null||M&&j===M.subTree)&&Gi(x,j,!0)):q(x,j,O,z,M,G,V,U,W)},R=(x,j,O,C,M,G,V,U,W)=>{j.slotScopeIds=U,x==null?j.shapeFlag&512?M.ctx.activate(j,O,C,V,W):B(j,O,C,M,G,V,W):D(x,j,W)},B=(x,j,O,C,M,G,V)=>{const U=x.component=Vc(x,C,M);if(yr(x)&&(U.ctx.renderer=ie),Kc(U),U.asyncDep){if(M&&M.registerDep(U,I),!x.el){const W=U.subTree=re(Ye);L(null,W,j,O)}return}I(U,x,j,O,M,G,V)},D=(x,j,O)=>{const C=j.component=x.component;if(sc(x,j,O))if(C.asyncDep&&!C.asyncResolved){K(C,j,O);return}else C.next=j,zl(C.update),C.update();else j.el=x.el,C.vnode=j},I=(x,j,O,C,M,G,V)=>{const U=()=>{if(x.isMounted){let{next:z,bu:E,u:$,parent:J,vnode:Y}=x,Q=z,X;Tt(x,!1),z?(z.el=Y.el,K(x,z,V)):z=Y,E&&En(E),(X=z.props&&z.props.onVnodeBeforeUpdate)&&We(X,J,z,Y),Tt(x,!0);const se=gs(x),xe=x.subTree;x.subTree=se,P(xe,se,f(xe.el),H(xe),x,M,G),z.el=se.el,Q===null&&hr(x,se.el),$&&Ce($,M),(X=z.props&&z.props.onVnodeUpdated)&&Ce(()=>We(X,J,z,Y),M)}else{let z;const{el:E,props:$}=j,{bm:J,m:Y,parent:Q}=x,X=Wt(j);if(Tt(x,!1),J&&En(J),!X&&(z=$&&$.onVnodeBeforeMount)&&We(z,Q,j),Tt(x,!0),E&&Ke){const se=()=>{x.subTree=gs(x),Ke(E,x.subTree,x,M,null)};X?j.type.__asyncLoader().then(()=>!x.isUnmounted&&se()):se()}else{const se=x.subTree=gs(x);P(null,se,O,C,x,M,G),j.el=se.el}if(Y&&Ce(Y,M),!X&&(z=$&&$.onVnodeMounted)){const se=j;Ce(()=>We(z,Q,se),M)}(j.shapeFlag&256||Q&&Wt(Q.vnode)&&Q.vnode.shapeFlag&256)&&x.a&&Ce(x.a,M),x.isMounted=!0,j=O=C=null}},W=x.effect=new ar(U,()=>rs(F),x.scope),F=x.update=()=>W.run();F.id=x.uid,Tt(x,!0),F()},K=(x,j,O)=>{j.component=x;const C=x.vnode.props;x.vnode=j,x.next=null,Ic(x,j.props,C,O),Bc(x,j.children,O),Qt(),Kr(),Yt()},q=(x,j,O,C,M,G,V,U,W=!1)=>{const F=x&&x.children,z=x?x.shapeFlag:0,E=j.children,{patchFlag:$,shapeFlag:J}=j;if($>0){if($&128){he(F,E,O,C,M,G,V,U,W);return}else if($&256){te(F,E,O,C,M,G,V,U,W);return}}J&8?(z&16&&me(F,M,G),E!==F&&p(O,E)):z&16?J&16?he(F,E,O,C,M,G,V,U,W):me(F,M,G,!0):(z&8&&p(O,""),J&16&&v(E,O,C,M,G,V,U,W))},te=(x,j,O,C,M,G,V,U,W)=>{x=x||$t,j=j||$t;const F=x.length,z=j.length,E=Math.min(F,z);let $;for($=0;$<E;$++){const J=j[$]=W?mt(j[$]):qe(j[$]);P(x[$],J,O,null,M,G,V,U,W)}F>z?me(x,M,G,!0,!1,E):v(j,O,C,M,G,V,U,W,E)},he=(x,j,O,C,M,G,V,U,W)=>{let F=0;const z=j.length;let E=x.length-1,$=z-1;for(;F<=E&&F<=$;){const J=x[F],Y=j[F]=W?mt(j[F]):qe(j[F]);if(gt(J,Y))P(J,Y,O,null,M,G,V,U,W);else break;F++}for(;F<=E&&F<=$;){const J=x[E],Y=j[$]=W?mt(j[$]):qe(j[$]);if(gt(J,Y))P(J,Y,O,null,M,G,V,U,W);else break;E--,$--}if(F>E){if(F<=$){const J=$+1,Y=J<z?j[J].el:C;for(;F<=$;)P(null,j[F]=W?mt(j[F]):qe(j[F]),O,Y,M,G,V,U,W),F++}}else if(F>$)for(;F<=E;)oe(x[F],M,G,!0),F++;else{const J=F,Y=F,Q=new Map;for(F=Y;F<=$;F++){const De=j[F]=W?mt(j[F]):qe(j[F]);De.key!=null&&Q.set(De.key,F)}let X,se=0;const xe=$-Y+1;let He=!1,tn=0;const nn=new Array(xe);for(F=0;F<xe;F++)nn[F]=0;for(F=J;F<=E;F++){const De=x[F];if(se>=xe){oe(De,M,G,!0);continue}let Ze;if(De.key!=null)Ze=Q.get(De.key);else for(X=Y;X<=$;X++)if(nn[X-Y]===0&&gt(De,j[X])){Ze=X;break}Ze===void 0?oe(De,M,G,!0):(nn[Ze-Y]=F+1,Ze>=tn?tn=Ze:He=!0,P(De,j[Ze],O,null,M,G,V,U,W),se++)}const Cr=He?Dc(nn):$t;for(X=Cr.length-1,F=xe-1;F>=0;F--){const De=Y+F,Ze=j[De],Mr=De+1<z?j[De+1].el:C;nn[F]===0?P(null,Ze,O,Mr,M,G,V,U,W):He&&(X<0||F!==Cr[X]?ue(Ze,O,Mr,2):X--)}}},ue=(x,j,O,C,M=null)=>{const{el:G,type:V,transition:U,children:W,shapeFlag:F}=x;if(F&6){ue(x.component.subTree,j,O,C);return}if(F&128){x.suspense.move(j,O,C);return}if(F&64){V.move(x,j,O,ie);return}if(V===je){s(G,j,O);for(let E=0;E<W.length;E++)ue(W[E],j,O,C);s(x.anchor,j,O);return}if(V===On){d(x,j,O);return}if(C!==2&&F&1&&U)if(C===0)U.beforeEnter(G),s(G,j,O),Ce(()=>U.enter(G),M);else{const{leave:E,delayLeave:$,afterLeave:J}=U,Y=()=>s(G,j,O),Q=()=>{E(G,()=>{Y(),J&&J()})};$?$(G,Y,Q):Q()}else s(G,j,O)},oe=(x,j,O,C=!1,M=!1)=>{const{type:G,props:V,ref:U,children:W,dynamicChildren:F,shapeFlag:z,patchFlag:E,dirs:$}=x;if(U!=null&&qn(U,null,O,x,!0),z&256){j.ctx.deactivate(x);return}const J=z&1&&$,Y=!Wt(x);let Q;if(Y&&(Q=V&&V.onVnodeBeforeUnmount)&&We(Q,j,x),z&6)de(x.component,O,C);else{if(z&128){x.suspense.unmount(O,C);return}J&&et(x,null,j,"beforeUnmount"),z&64?x.type.remove(x,j,O,M,ie,C):F&&(G!==je||E>0&&E&64)?me(F,j,O,!1,!0):(G===je&&E&384||!M&&z&16)&&me(W,j,O),C&&fe(x)}(Y&&(Q=V&&V.onVnodeUnmounted)||J)&&Ce(()=>{Q&&We(Q,j,x),J&&et(x,null,j,"unmounted")},O)},fe=x=>{const{type:j,el:O,anchor:C,transition:M}=x;if(j===je){pe(O,C);return}if(j===On){_(x);return}const G=()=>{o(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(x.shapeFlag&1&&M&&!M.persisted){const{leave:V,delayLeave:U}=M,W=()=>V(O,G);U?U(x.el,G,W):W()}else G()},pe=(x,j)=>{let O;for(;x!==j;)O=h(x),o(x),x=O;o(j)},de=(x,j,O)=>{const{bum:C,scope:M,update:G,subTree:V,um:U}=x;C&&En(C),M.stop(),G&&(G.active=!1,oe(V,x,j,O)),U&&Ce(U,j),Ce(()=>{x.isUnmounted=!0},j),j&&j.pendingBranch&&!j.isUnmounted&&x.asyncDep&&!x.asyncResolved&&x.suspenseId===j.pendingId&&(j.deps--,j.deps===0&&j.resolve())},me=(x,j,O,C=!1,M=!1,G=0)=>{for(let V=G;V<x.length;V++)oe(x[V],j,O,C,M)},H=x=>x.shapeFlag&6?H(x.component.subTree):x.shapeFlag&128?x.suspense.next():h(x.anchor||x.el),ye=(x,j,O)=>{x==null?j._vnode&&oe(j._vnode,null,null,!0):P(j._vnode||null,x,j,null,null,null,O),Kr(),Un(),j._vnode=x},ie={p:P,um:oe,m:ue,r:fe,mt:B,mc:v,pc:q,pbc:w,n:H,o:e};let Pe,Ke;return t&&([Pe,Ke]=t(ie)),{render:ye,hydrate:Pe,createApp:Ec(ye,Pe)}}function Tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gi(e,t,n=!1){const s=e.children,o=t.children;if(Z(s)&&Z(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=mt(o[r]),a.el=i.el),n||Gi(i,a)),a.type===Vt&&(a.el=i.el)}}function Dc(e){const t=e.slice(),n=[0];let s,o,r,i,a;const u=e.length;for(s=0;s<u;s++){const l=e[s];if(l!==0){if(o=n[n.length-1],e[o]<l){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<l?r=a+1:i=a;l<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 Uc=e=>e.__isTeleport,je=Symbol.for("v-fgt"),Vt=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),un=[];let Ve=null;function ae(e=!1){un.push(Ve=e?null:[])}function qi(){un.pop(),Ve=un[un.length-1]||null}let Kt=1;function ao(e){Kt+=e}function Vi(e){return e.dynamicChildren=Kt>0?Ve||$t:null,qi(),Kt>0&&Ve&&Ve.push(e),e}function Te(e,t,n,s,o,r){return Vi(ne(e,t,n,s,o,r,!0))}function Oe(e,t,n,s,o){return Vi(re(e,t,n,s,o,!0))}function _n(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const ls="__vInternal",Ki=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Le(e)||ee(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,o=null,r=e===je?0:1,i=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&In(t),scopeId:is,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:Se};return a?(kr(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=we(n)?8:16),Kt>0&&!i&&Ve&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&Ve.push(u),u}const re=Wc;function Wc(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ni)&&(e=Ye),_n(e)){const a=Jt(e,t,!0);return n&&kr(a,n),Kt>0&&!r&&Ve&&(a.shapeFlag&6?Ve[Ve.indexOf(e)]=a:Ve.push(a)),a.patchFlag|=-2,a}if(Yc(e)&&(e=e.__vccOpts),t){t=Ji(t);let{class:a,style:u}=t;a&&!we(a)&&(t.class=Ie(a)),_e(u)&&(pi(u)&&!Z(u)&&(u=Ae({},u)),t.style=ts(u))}const i=we(e)?1:oc(e)?128:Uc(e)?64:_e(e)?4:ee(e)?2:0;return ne(e,t,n,s,o,i,r,!0)}function Ji(e){return e?pi(e)||ls in e?Ae({},e):e:null}function Jt(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,a=t?Nr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ki(a),ref:t&&t.ref?n&&o?Z(o)?o.concat(In(t)):[o,In(t)]:In(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!==je?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&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $e(e=" ",t=0){return re(Vt,null,e,t)}function it(e="",t=!1){return t?(ae(),Oe(Ye,null,e)):re(Ye,null,e)}function qe(e){return e==null||typeof e=="boolean"?re(Ye):Z(e)?re(je,null,e.slice()):typeof e=="object"?mt(e):re(Vt,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function kr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),kr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ls in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[$e(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nr(...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=Ie([t.class,s.class]));else if(o==="style")t.style=ts([t.style,s.style]);else if(bn(o)){const r=t[o],i=s[o];i&&r!==i&&!(Z(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function We(e,t,n,s=null){Xe(e,t,7,[n,s])}const Gc=Ii();let qc=0;function Vc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Gc,r={uid:qc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Zo(!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:$i(s,o),emitsOptions:ki(s,o),emit:null,emitted:null,propsDefaults:be,inheritAttrs:s.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,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=Ql.bind(null,r),e.ce&&e.ce(r),r}let Ne=null;const cs=()=>Ne||Se;let Tr,Ct,lo="__VUE_INSTANCE_SETTERS__";(Ct=js()[lo])||(Ct=js()[lo]=[]),Ct.push(e=>Ne=e),Tr=e=>{Ct.length>1?Ct.forEach(t=>t(e)):Ct[0](e)};const Nt=e=>{Tr(e),e.scope.on()},wt=()=>{Ne&&Ne.scope.off(),Tr(null)};function zi(e){return e.vnode.shapeFlag&4}let zt=!1;function Kc(e,t=!1){zt=t;const{props:n,children:s}=e.vnode,o=zi(e);Oc(e,n,o,t),Mc(e,s);const r=o?Jc(e,t):void 0;return zt=!1,r}function Jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=di(new Proxy(e.ctx,Tc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Xc(e):null;Nt(e),Qt();const r=bt(s,e,0,[e.props,o]);if(Yt(),wt(),rr(r)){if(r.then(wt,wt),t)return r.then(i=>{Hs(e,i,t)}).catch(i=>{Zt(i,e,0)});e.asyncDep=r}else Hs(e,r,t)}else Xi(e,t)}function Hs(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=_i(t)),Xi(e,n)}let co;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&co&&!s.render){const o=s.template||vr(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:u}=s,l=Ae(Ae({isCustomElement:r,delimiters:a},i),u);s.render=co(o,l)}}e.render=s.render||ze}{Nt(e),Qt();try{xc(e)}finally{Yt(),wt()}}}function zc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}}))}function Xc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return zc(e)},slots:e.slots,emit:e.emit,expose:t}}function us(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_i(di(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function Qc(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Yc(e){return ee(e)&&"__vccOpts"in e}const Qe=(e,t)=>Vl(e,t,zt);function Ds(e,t,n){const s=arguments.length;return s===2?_e(t)&&!Z(t)?_n(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_n(n)&&(n=[n]),re(e,t,n))}const Zc=Symbol.for("v-scx"),eu=()=>Gt(Zc),Qi="3.3.8",tu="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,uo=St&&St.createElement("template"),nu={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?St.createElementNS(tu,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.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{uo.innerHTML=s?`<svg>${e}</svg>`:e;const a=uo.content;if(s){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},su=Symbol("_vtc");function ru(e,t,n){const s=e[su];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ou=Symbol("_vod");function iu(e,t,n){const s=e.style,o=we(n);if(n&&!o){if(t&&!we(t))for(const r in t)n[r]==null&&Us(s,r,"");for(const r in n)Us(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),ou in e&&(s.display=r)}}const fo=/\s*!important$/;function Us(e,t,n){if(Z(n))n.forEach(s=>Us(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=au(e,t);fo.test(n)?e.setProperty(Xt(s),n.replace(fo,""),"important"):e[s]=n}}const po=["Webkit","Moz","ms"],bs={};function au(e,t){const n=bs[t];if(n)return n;let s=nt(t);if(s!=="filter"&&s in e)return bs[t]=s;s=es(s);for(let o=0;o<po.length;o++){const r=po[o]+s;if(r in e)return bs[t]=r}return t}const ho="http://www.w3.org/1999/xlink";function lu(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ho,t.slice(6,t.length)):e.setAttributeNS(ho,t,n);else{const r=hl(t);n==null||r&&!Qo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function cu(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,p=n??"";l!==p&&(e.value=p),n==null&&e.removeAttribute(t);return}let u=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Qo(n):n==null&&l==="string"?(n="",u=!0):l==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function Yi(e,t,n,s){e.addEventListener(t,n,s)}function uu(e,t,n,s){e.removeEventListener(t,n,s)}const mo=Symbol("_vei");function fu(e,t,n,s,o=null){const r=e[mo]||(e[mo]={}),i=r[t];if(s&&i)i.value=s;else{const[a,u]=pu(t);if(s){const l=r[t]=mu(s,o);Yi(e,a,l,u)}else i&&(uu(e,a,i,u),r[t]=void 0)}}const go=/(?:Once|Passive|Capture)$/;function pu(e){let t;if(go.test(e)){t={};let s;for(;s=e.match(go);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Xt(e.slice(2)),t]}let vs=0;const du=Promise.resolve(),hu=()=>vs||(du.then(()=>vs=0),vs=Date.now());function mu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Xe(gu(s,n.value),t,5,[s])};return n.value=e,n.attached=hu(),n}function gu(e,t){if(Z(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 _o=/^on[a-z]/,_u=(e,t,n,s,o=!1,r,i,a,u)=>{t==="class"?ru(e,s,o):t==="style"?iu(e,n,s):bn(t)?nr(t)||fu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yu(e,t,s,o))?cu(e,t,s,r,i,a,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),lu(e,t,s,o))};function yu(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&_o.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_o.test(t)&&we(n)?!1:t in e}const yo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>En(t,n):t},ws=Symbol("_assign"),bu={created(e,{value:t},n){e.checked=Fn(t,n.props.value),e[ws]=yo(n),Yi(e,"change",()=>{e[ws](vu(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ws]=yo(s),t!==n&&(e.checked=Fn(t,s.props.value))}};function vu(e){return"_value"in e?e._value:e.value}const Zi=Ae({patchProp:_u},nu);let fn,bo=!1;function wu(){return fn||(fn=Fc(Zi))}function ku(){return fn=bo?fn:Hc(Zi),bo=!0,fn}const Nu=(...e)=>{const t=wu().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=ea(s);if(!o)return;const r=t._component;!ee(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},Tu=(...e)=>{const t=ku().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=ea(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function ea(e){return we(e)?document.querySelector(e):e}const Lu=/#/g,xu=/&/g,Su=/=/g,Lr=/\+/g,Au=/%5e/gi,Pu=/%60/gi,ju=/%7c/gi,Ru=/%20/gi;function Eu(e){return encodeURI(""+e).replace(ju,"|")}function Ws(e){return Eu(typeof e=="string"?e:JSON.stringify(e)).replace(Lr,"%2B").replace(Ru,"+").replace(Lu,"%23").replace(xu,"%26").replace(Pu,"`").replace(Au,"^")}function ks(e){return Ws(e).replace(Su,"%3D")}function Vn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ou(e){return Vn(e.replace(Lr," "))}function Iu(e){return Vn(e.replace(Lr," "))}function xr(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=Ou(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Iu(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 Cu(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ks(e)}=${Ws(n)}`).join("&"):`${ks(e)}=${Ws(t)}`:ks(e)}function ta(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Cu(t,e[t])).filter(Boolean).join("&")}const Mu=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Bu=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,$u=/^([/\\]\s*){2,}[^/\\]/;function wn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Mu.test(e):Bu.test(e)||(t.acceptRelative?$u.test(e):!1)}const Fu=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Hu(e){return!!e&&Fu.test(e)}const Du=/\/$|\/\?|\/#/;function Gs(e="",t){return t?Du.test(e):e.endsWith("/")}function Sr(e="",t){if(!t)return(Gs(e)?e.slice(0,-1):e)||"/";if(!Gs(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return(r.slice(0,-1)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Kn(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Gs(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Uu(e=""){return e.startsWith("/")}function vo(e=""){return Uu(e)?e:"/"+e}function Wu(e,t){if(sa(t)||wn(e))return e;const n=Sr(t);return e.startsWith(n)?e:Ot(n,e)}function Gu(e,t){if(sa(t))return e;const n=Sr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function na(e,t){const n=en(e),s={...xr(n.search),...t};return n.search=ta(s),ra(n)}function sa(e){return!e||e==="/"}function qu(e){return e&&e!=="/"}const Vu=/^\.?\//;function Ot(e,...t){let n=e||"";for(const s of t.filter(o=>qu(o)))if(n){const o=s.replace(Vu,"");n=Kn(n)+o}else n=s;return n}function Ku(e,t,n={}){return n.trailingSlash||(e=Kn(e),t=Kn(t)),n.leadingSlash||(e=vo(e),t=vo(t)),n.encoding||(e=Vn(e),t=Vn(t)),e===t}function en(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!wn(e,{acceptRelative:!0}))return t?en(t+e):wo(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:u,search:l,hash:p}=wo(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:u,search:l,hash:p}}function wo(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function ra(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol?e.protocol+"//":"")+o+r+t+n+s}const Ju=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Jn=Ju().app,zu=()=>Jn.baseURL,Xu=()=>Jn.buildAssetsDir,Ar=(...e)=>Ot(oa(),Xu(),...e),oa=(...e)=>{const t=Jn.cdnURL||Jn.baseURL;return e.length?Ot(t,...e):t};globalThis.__buildAssetsURL=Ar,globalThis.__publicAssetsURL=oa;const Qu=/"(?:_|\\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*:/,Yu=/"(?: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*:/,Zu=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ef(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 zn(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;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(!Zu.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Qu.test(e)||Yu.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ef)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}class nf extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function sf(e){var u,l,p,f,h;const t=((u=e.error)==null?void 0:u.message)||((l=e.error)==null?void 0:l.toString())||"",n=((p=e.request)==null?void 0:p.method)||((f=e.options)==null?void 0:f.method)||"GET",s=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new nf(i,e.error?{cause:e.error}:void 0);for(const T of["request","options","response"])Object.defineProperty(a,T,{get(){return e[T]}});for(const[T,b]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,T,{get(){return e.response&&e.response[b]}});return a}const rf=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ko(e="GET"){return rf.has(e.toUpperCase())}function of(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.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const af=new Set(["image/svg","application/xml","application/xhtml","application/html"]),lf=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function cf(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return lf.test(t)?"json":af.has(t)||t.startsWith("text/")?"text":"blob"}function uf(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 ff=new Set([408,409,425,429,500,502,503,504]),pf=new Set([101,204,205,304]);function ia(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const u=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!u){let p;typeof a.options.retry=="number"?p=a.options.retry:p=ko(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(p>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):ff.has(f))){const h=a.options.retryDelay||0;return h>0&&await new Promise(T=>setTimeout(T,h)),r(a.request,{...a.options,retry:p-1,timeout:a.options.timeout})}}const l=sf(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,r),l}const r=async function(u,l={}){var h;const p={request:u,options:uf(l,e.defaults,n),response:void 0,error:void 0};if(p.options.method=(h=p.options.method)==null?void 0:h.toUpperCase(),p.options.onRequest&&await p.options.onRequest(p),typeof p.request=="string"&&(p.options.baseURL&&(p.request=Wu(p.request,p.options.baseURL)),(p.options.query||p.options.params)&&(p.request=na(p.request,{...p.options.params,...p.options.query}))),p.options.body&&ko(p.options.method)&&(of(p.options.body)?(p.options.body=typeof p.options.body=="string"?p.options.body:JSON.stringify(p.options.body),p.options.headers=new n(p.options.headers||{}),p.options.headers.has("content-type")||p.options.headers.set("content-type","application/json"),p.options.headers.has("accept")||p.options.headers.set("accept","application/json")):("pipeTo"in p.options.body&&typeof p.options.body.pipeTo=="function"||typeof p.options.body.pipe=="function")&&("duplex"in p.options||(p.options.duplex="half"))),!p.options.signal&&p.options.timeout){const T=new s;setTimeout(()=>T.abort(),p.options.timeout),p.options.signal=T.signal}try{p.response=await t(p.request,p.options)}catch(T){return p.error=T,p.options.onRequestError&&await p.options.onRequestError(p),await o(p)}if(p.response.body&&!pf.has(p.response.status)&&p.options.method!=="HEAD"){const T=(p.options.parseResponse?"json":p.options.responseType)||cf(p.response.headers.get("content-type")||"");switch(T){case"json":{const b=await p.response.text(),P=p.options.parseResponse||zn;p.response._data=P(b);break}case"stream":{p.response._data=p.response.body;break}default:p.response._data=await p.response[T]()}}return p.options.onResponse&&await p.options.onResponse(p),!p.options.ignoreResponseError&&p.response.status>=400&&p.response.status<600?(p.options.onResponseError&&await p.options.onResponseError(p),await o(p)):p.response},i=async function(u,l){return(await r(u,l))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>ia({...e,defaults:{...e.defaults,...a}}),i}const Pr=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")}(),df=Pr.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),hf=Pr.Headers,mf=Pr.AbortController,gf=ia({fetch:df,Headers:hf,AbortController:mf}),_f=gf;globalThis.$fetch||(globalThis.$fetch=_f.create({baseURL:zu()}));function qs(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?qs(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const yf={run:e=>e()},bf=()=>yf,aa=typeof console.createTask<"u"?console.createTask:bf;function vf(e,t){const n=t.shift(),s=aa(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function wf(e,t){const n=t.shift(),s=aa(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Ns(e,t){for(const n of[...e])n(t)}class kf{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=qs(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=qs(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(vf,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(wf,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ns(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Ns(this._after,o)}):(this._after&&o&&Ns(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 la(){return new kf}function Nf(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,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const u=()=>{t=i},l=()=>t===i?u:void 0;Vs.add(l);try{const p=o?o.run(i,a):a();return n||(t=void 0),await p}finally{Vs.delete(l)}}}}function Tf(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Nf({...e,...s})),t[n],t[n]}}}const Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},No="__unctx__",Lf=Xn[No]||(Xn[No]=Tf()),xf=(e,t={})=>Lf.get(e,t),To="__unctx_async_handlers__",Vs=Xn[To]||(Xn[To]=new Set);function ca(e){const t=[];for(const o of Vs){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 ua=xf("nuxt-app",{asyncContext:!1}),Sf="__nuxt_plugin";function Af(e){let t=0;const n={_scope:gl(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:st({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Rf(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=la(),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||ke;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=st(n.payload.config);return n.provide("config",s),n}async function Pf(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 jf(e,t){const n=[],s=[];for(const o of t){const r=Pf(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 ft(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[Sf]:!0}))}function Rf(e,t,n){const s=()=>n?t(...n):t();return ua.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function ke(){var t;let e;if(Mi()&&(e=(t=cs())==null?void 0:t.appContext.app.$nuxt),e=e||ua.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function yn(){return ke().$config}function jn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Ef="modulepreload",Of=function(e,t){return e[0]==="."?new URL(e,t).href:e},Lo={},If=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Of(r,s),r in Lo)return;Lo[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let p=o.length-1;p>=0;p--){const f=o[p];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Ef,i||(l.as="script",l.crossOrigin=""),l.href=r,document.head.appendChild(l),i)return new Promise((p,f)=>{l.addEventListener("load",p),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},xo=(...e)=>If(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Cf=-1,Mf=-2,Bf=-3,$f=-4,Ff=-5,Hf=-6;function Df(e,t){return Uf(JSON.parse(e),t)}function Uf(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===Cf)return;if(r===Bf)return NaN;if(r===$f)return 1/0;if(r===Ff)return-1/0;if(r===Hf)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const u=a[0],l=t==null?void 0:t[u];if(l)return s[r]=l(o(a[1]));switch(u){case"Date":s[r]=new Date(a[1]);break;case"Set":const p=new Set;s[r]=p;for(let T=1;T<a.length;T+=1)p.add(o(a[T]));break;case"Map":const f=new Map;s[r]=f;for(let T=1;T<a.length;T+=2)f.set(o(a[T]),o(a[T+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const h=Object.create(null);s[r]=h;for(let T=1;T<a.length;T+=2)h[a[T]]=o(a[T+1]);break;default:throw new Error(`Unknown type ${u}`)}}else{const u=new Array(a.length);s[r]=u;for(let l=0;l<a.length;l+=1){const p=a[l];p!==Mf&&(u[l]=o(p))}}else{const u={};s[r]=u;for(const l in a){const p=a[l];u[l]=o(p)}}return s[r]}return o(0)}function Wf(e){return Array.isArray(e)?e:[e]}const Gf=["title","titleTemplate","script","style","noscript"],Cn=["base","meta","link","style","script","noscript"],qf=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Vf=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],fa=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],Kf=typeof window<"u";function jr(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 So(e){return e._h||jr(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function pa(e,t){const{props:n,tag:s}=e;if(Vf.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 Ao(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Jf(e,t,n){const s={tag:e,props:await da(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return fa.forEach(o=>{const r=typeof s.props[o]<"u"?s.props[o]:n[o];typeof r<"u"&&((!["innerHTML","textContent"].includes(o)||Gf.includes(s.tag))&&(s[o]=r),delete s.props[o])}),s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.props.children&&(s.innerHTML=s.props.children,delete s.props.children),s.tag==="script"&&(typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),s.innerHTML&&["application/ld+json","application/json"].includes(s.props.type)&&(s.innerHTML=s.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s}function zf(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 da(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=zf(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!fa.includes(n)){const s=String(e[n]),o=n.startsWith("data-");s==="true"||s===""?e[n]=o?"true":!0:e[n]||(o&&s==="false"?e[n]="false":delete e[n])}}return e}const Xf=10;async function Qf(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&qf.includes(n)).forEach(([n,s])=>{const o=Wf(s);t.push(...o.map(r=>Jf(n,r,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Xf)+s,n))}const Po={base:-10,title:10},jo={critical:-80,high:-10,low:20};function Qn(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Po&&(t=Po[e.tag]),typeof n=="string"&&n in jo?t+jo[n]:t)}const Yf=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ha=["onload","onerror","onabort","onprogress","onloadstart"],ht="%separator";function Mn(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((u,l)=>u&&u[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=s(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(u,l)=>`${a}${l}`).trim())}),e.includes(ht)&&(e.endsWith(ht)&&(e=e.slice(0,-ht.length).trim()),e.startsWith(ht)&&(e=e.slice(ht.length).trim()),e=e.replace(new RegExp(`\\${ht}\\s*\\${ht}`,"g"),ht),e=Mn(e,{separator:n},n)),e}async function Zf(e){const t={tag:e.tagName.toLowerCase(),props:await da(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=pa(t),t}async function ma(e,t={}){var p;const n=t.document||e.resolvedOptions.document;if(!n)return;const s={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Cn.includes(f.tag)?So(f):f.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const h=(p=n==null?void 0:n[f])==null?void 0:p.children;for(const T of[...h].filter(b=>Cn.includes(b.tagName.toLowerCase())))r.elMap[T.getAttribute("data-hid")||So(await Zf(T))]=T}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(f,h,T){const b=`${f}:${h}`;r.sideEffects[b]=T,delete r.pendingSideEffects[b]}function a({id:f,$el:h,tag:T}){const b=T.tag.endsWith("Attrs");r.elMap[f]=h,b||(["textContent","innerHTML"].forEach(P=>{T[P]&&T[P]!==h[P]&&(h[P]=T[P])}),i(f,"el",()=>{r.elMap[f].remove(),delete r.elMap[f]})),Object.entries(T.props).forEach(([P,A])=>{const L=`attr:${P}`;if(P==="class")for(const k of(A||"").split(" ").filter(Boolean))b&&i(f,`${L}:${k}`,()=>h.classList.remove(k)),!h.classList.contains(k)&&h.classList.add(k);else h.getAttribute(P)!==A&&h.setAttribute(P,A===!0?"":String(A)),b&&i(f,L,()=>h.removeAttribute(P))})}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:h,shouldRender:T,id:b}=f;if(T){if(h.tag==="title"){n.title=h.textContent;continue}f.$el=f.$el||r.elMap[b],f.$el?a(f):Cn.includes(h.tag)&&u.push(f)}}for(const f of u){const h=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[h]=l[h]||n.createDocumentFragment(),l[h].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(r.pendingSideEffects).forEach(f=>f()),e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function ep(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await ma(e,t),delete e._domUpdatePromise,s()}))}function tp(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){ep(r,e)}}}}}const np=["templateParams","htmlAttrs","bodyAttrs"],sp={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=pa(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 a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&np.includes(s.tag)&&(a="merge"),a==="merge"){const u=r.props;["class","style"].forEach(l=>{s.props[l]&&u[l]&&(l==="style"&&!u[l].endsWith(";")&&(u[l]+=";"),s.props[l]=`${u[l]} ${s.props[l]}`)}),t[o].props={...u,...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(Qn(s)>Qn(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(Cn.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,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},rp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},op=["script","link","bodyAttrs"];function ip(e){const t={},n={};return Object.entries(e.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"?(ha.includes(s)&&(t[s]=`this.dataset.${s} = true`),n[s]=o):t[s]=o}),{props:t,eventHandlers:n}}const ap=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(op.includes(n.tag)){const{props:s,eventHandlers:o}=ip(n);n.props=s,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||jr(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,s){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,i])=>{const a=`${t.tag._d||t.tag._p}:${r}`,u=r.slice(2).toLowerCase(),l=`data-h-${u}`;if(s(t.id,a,()=>{}),t.$el.hasAttribute(l))return;t.$el.setAttribute(l,"");let p;const f=h=>{i(h),p==null||p.disconnect()};r in t.$el.dataset?f(new Event(r.replace("on",""))):ha.includes(r)&&typeof MutationObserver<"u"?(p=new MutationObserver(h=>{h.some(b=>b.attributeName===`data-${r}`)&&(f(new Event(r.replace("on",""))),p==null||p.disconnect())}),p.observe(t.$el,{attributes:!0})):o.addEventListener(u,f),s(t.id,a,()=>{p==null||p.disconnect(),o.removeEventListener(u,f),t.$el.removeAttribute(l)})})}}}),lp=["link","style","script","noscript"],cp={hooks:{"tag:normalise":({tag:e})=>{e.key&&lp.includes(e.tag)&&(e.props["data-hid"]=e._h=jr(e.key))}}},up={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 Yf)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)=>Qn(n)-Qn(s))}}},fp={meta:"content",link:"href",htmlAttrs:"lang"},pp=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,s=(a=n.find(u=>u.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(u=>u.tag==="templateParams"),r=o!==-1?n[o].props:{},i=r.separator||"|";delete r.separator,r.pageTitle=Mn(r.pageTitle||s||"",r,i);for(const u of n.filter(l=>l.processTemplateParams!==!1)){const l=fp[u.tag];l&&typeof u.props[l]=="string"?u.props[l]=Mn(u.props[l],r,i):(u.processTemplateParams===!0||["titleTemplate","title"].includes(u.tag))&&["innerHTML","textContent"].forEach(p=>{typeof u[p]=="string"&&(u[p]=Mn(u[p],r,i))})}e._templateParams=r,e._separator=i,t.tags=n.filter(u=>u.tag!=="templateParams")}}}),dp={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=Ao(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=Ao(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)}}};let ga;function hp(e={}){const t=mp(e);return t.use(tp()),ga=t}function Ro(e,t){return!e||e==="server"&&t||e==="client"&&!t}function mp(e={}){const t=la();t.addHooks(e.hooks||{}),e.document=e.document||(Kf?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(u){const l=typeof u=="function"?u(a):u;(!l.key||!i.some(p=>p.key===l.key))&&(i.push(l),Ro(l.mode,n)&&t.addHooks(l.hooks||{}))},push(u,l){l==null||delete l.head;const p={_i:o++,input:u,...l};return Ro(p.mode,n)&&(r.push(p),s()),{dispose(){r=r.filter(f=>f._i!==p._i),t.callHook("entries:updated",a),s()},patch(f){r=r.map(h=>(h._i===p._i&&(h.input=p.input=f),h)),s()}}},async resolveTags(){const u={tags:[],entries:[...r]};await t.callHook("entries:resolve",u);for(const l of u.entries){const p=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(p):p),l.resolvedInput)for(const f of await Qf(l)){const h={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",h),u.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",u),await t.callHook("tags:resolve",u),u.tags},ssr:n};return[sp,rp,ap,cp,up,pp,dp,...(e==null?void 0:e.plugins)||[]].forEach(u=>a.use(u)),a.hooks.callHook("init",a),a}function gp(){return ga}const _p=Qi.startsWith("3");function yp(e){return typeof e=="function"?e():ge(e)}function Ks(e,t=""){if(e instanceof Promise)return e;const n=yp(e);return!e||!n?n:Array.isArray(n)?n.map(s=>Ks(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,ge(o)]:[s,Ks(o,s)])):n}const bp={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ks(t.input)}}},_a="usehead";function vp(e){return{install(n){_p&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(_a,e))}}.install}function wp(e={}){e.domDelayFn=e.domDelayFn||(n=>ss(()=>setTimeout(()=>n(),0)));const t=hp(e);return t.use(bp),t.install=vp(t),t}const Js=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zs="__unhead_injection_handler__";function kp(e){Js[zs]=e}function ym(){if(zs in Js)return Js[zs]();const e=Gt(_a);return e||gp()}function Np(e){return{ctx:{table:e},matchAll:t=>ba(t,e)}}function ya(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,ya(o)])):new Map(Object.entries(e[n]));return t}function Tp(e){return Np(ya(e))}function ba(e,t){const n=[];for(const[o,r]of Eo(t.wildcard))e.startsWith(o)&&n.push(r);for(const[o,r]of Eo(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...ba(i,r))}const s=t.static.get(e);return s&&n.push(s),n.filter(Boolean)}function Eo(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Xs(e,t,n=".",s){if(!Ts(t))return Xs(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:Ts(i)&&Ts(o[r])?o[r]=Xs(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Ts(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function va(e){return(...t)=>t.reduce((n,s)=>Xs(n,s,"",e),{})}const Lp=va(),xp=va((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Sp(e,t){try{return t in e}catch{return!1}}var Ap=Object.defineProperty,Pp=(e,t,n)=>t in e?Ap(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lt=(e,t,n)=>(Pp(e,typeof t!="symbol"?t+"":t,n),n);class Qs extends Error{constructor(t,n={}){super(t,n),Lt(this,"statusCode",500),Lt(this,"fatal",!1),Lt(this,"unhandled",!1),Lt(this,"statusMessage"),Lt(this,"data"),Lt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ys(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=wa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Lt(Qs,"__h3_error__",!0);function jp(e){if(typeof e=="string")return new Qs(e);if(Rp(e))return e;const t=new Qs(e.message??e.statusMessage??"",{cause:e.cause||e});if(Sp(e,"stack"))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=Ys(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ys(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;wa(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 Rp(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 wa(e=""){return e.replace(Ep,"")}function Ys(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ka=Symbol("route"),Rr=()=>yi(ke().payload,"error"),Op=e=>{const t=Na(e);try{const n=ke(),s=Rr();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Ip=async(e={})=>{const t=ke(),n=Rr();t.callHook("app:error:cleared",e),e.redirect&&await It().replace(e.redirect),n.value=null},Cp=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Na=e=>{const t=jp(e);return t.__nuxt_error=!0,t},It=()=>{var e;return(e=ke())==null?void 0:e.$router},Ta=()=>Mi()?Gt(ka,ke()._route):ke()._route;/*! @__NO_SIDE_EFFECTS__ */const Mp=()=>{try{if(ke()._processingMiddleware)return!0}catch{return!0}return!1},La=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:na(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).filter(([p,f])=>f!==void 0).map(([p,f])=>`${p.toLowerCase()}=${f}`).join(", ");open(n,a,l)}return Promise.resolve()}const s=(t==null?void 0:t.external)||wn(n,{acceptRelative:!0});if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=en(n).protocol;if(a&&Hu(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Mp();if(!s&&o)return e;const r=It(),i=ke();return s?(i._scope.stop(),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)},Bp={nuxt:{buildId:"dev"}},$p=xp(Bp);function Fp(){const e=ke();return e._appConfig||(e._appConfig=st($p)),e._appConfig}const Hp={componentName:"NuxtLink"},Dp="#__nuxt";let Bn,xa;function Up(){var t;const e=(t=Fp().nuxt)==null?void 0:t.buildId;return Bn=$fetch(Ar(`builds/meta/${e}.json`)),Bn.then(n=>{xa=Tp(n.matcher)}),Bn}function fs(){return Bn||Up()}async function Sa(e){return await fs(),Lp({},...xa.matchAll(e).reverse())}function Oo(e,t={}){const n=Wp(e,t),s=ke(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=Gp(e).then(r=>r?Aa(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Io="json";function Wp(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"||wn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Ot(yn().app.baseURL,n.pathname,s?`_payload.${s}.${Io}`:`_payload.${Io}`)}async function Aa(e){const t=fetch(e).then(n=>n.text().then(Pa));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Gp(e=Ta().path){if((await fs()).prerendered.includes(e))return!0;const n=await Sa(e);return!!n.prerender&&!n.redirect}let Rn=null;async function qp(){if(Rn)return Rn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Pa(e.textContent||""),n=e.dataset.src?await Aa(e.dataset.src):void 0;return Rn={...t,...n,...window.__NUXT__},Rn}function Pa(e){return Df(e,ke()._payloadRevivers)}function Vp(e,t){ke()._payloadRevivers[e]=t}const Co={NuxtError:e=>Na(e),EmptyShallowRef:e=>Vr(e==="_"?void 0:e==="0n"?BigInt(0):zn(e)),EmptyRef:e=>ve(e==="_"?void 0:e==="0n"?BigInt(0):zn(e)),ShallowRef:e=>Vr(e),ShallowReactive:e=>fi(e),Ref:e=>ve(e),Reactive:e=>st(e)},Kp=ft({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Co)Vp(s,Co[s]);Object.assign(e.payload,([t,n]=ca(()=>e.runWithContext(qp)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Jp=[],zp=ft({name:"nuxt:head",enforce:"pre",setup(e){const t=wp({plugins:Jp});kp(()=>ke().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await ma(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}}),Xp=async e=>{let t,n;const s=([t,n]=ca(()=>Sa(e.path)),t=await t,n(),t);if(s.redirect)return s.redirect},Qp=[Xp];function Ls(e){typeof e=="object"&&(e=ra({pathname:e.path||"",search:ta(e.query||{}),hash:e.hash||""}));const t=en(e.toString());return{path:t.pathname,fullPath:e,query:xr(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Yp=ft({name:"nuxt:router",enforce:"pre",setup(e){const t=Gu(window.location.pathname,yn().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(p,f)=>(s[p].push(f),()=>s[p].splice(s[p].indexOf(f),1)),r=yn().app.baseURL,i=st(Ls(t));async function a(p,f){try{const h=Ls(p);for(const T of s["navigate:before"]){const b=await T(h,i);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return a(b,!0)}for(const T of s["resolve:before"])await T(h,i);Object.assign(i,h),window.history[f?"replaceState":"pushState"]({},"",Ot(r,h.fullPath)),e.isHydrating||await e.runWithContext(Ip);for(const T of s["navigate:after"])await T(h,i)}catch(h){for(const T of s.error)await T(h)}}const u={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:p=>a(p,!1),replace:p=>a(p,!0),back:()=>window.history.go(-1),go:p=>window.history.go(p),forward:()=>window.history.go(1),beforeResolve:p=>o("resolve:before",p),beforeEach:p=>o("navigate:before",p),afterEach:p=>o("navigate:after",p),onError:p=>o("error",p),resolve:Ls,addRoute:(p,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:p=>n.some(f=>f.name===p),removeRoute:p=>{const f=n.findIndex(h=>h.name===p);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:(p,{slots:f})=>{const h=()=>a(p.to,p.replace);return()=>{var b;const T=u.resolve(p.to);return p.custom?(b=f.default)==null?void 0:b.call(f,{href:p.to,navigate:h,route:T}):Ds("a",{href:p.to,onClick:P=>(P.preventDefault(),h())},f)}}}),window.addEventListener("popstate",p=>{const f=p.target.location;u.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const l=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(p,f)=>{p.meta=st(p.meta||{}),e.isHydrating&&l&&!Et(p.meta.layout)&&(p.meta.layout=l),e._processingMiddleware=!0;{const h=new Set([...Qp,...e._middleware.global]);for(const T of h){const b=await e.runWithContext(()=>T(p,f));if(b!==!0&&(b||b===!1))return b}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),Ku(i.fullPath,t)||await e.runWithContext(()=>La(i.fullPath))}),{provide:{route:i,router:u}}}}),Zs=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Zp=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Er=e=>{const t=ke();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zs(e)}):Zs(e)},ed=ft({name:"nuxt:payload",setup(e){It().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Oo(t.path);s&&Object.assign(e.static.data,s.data)}),Er(()=>{var t;e.hooks.hook("link:prefetch",async n=>{en(n).protocol||await Oo(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(fs,1e3)})}}),td=ft({name:"nuxt:global-components"}),nd="$s";function sd(...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=nd+n,r=ke(),i=yi(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Le(a))return r.payload.state[o]=a,a;i.value=a}return i}const rd="__NUXT_COLOR_MODE__",od="nuxt-color-mode",rt=window[rd]||{},id=ft(e=>{const t=sd("color-mode",()=>st({preference:rt.preference,value:rt.value,unknown:!1,forced:!1})).value;It().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"?rt.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=rt.getColorScheme())}))}vt(()=>t.preference,o=>{var r;t.forced||(o==="system"?(t.value=rt.getColorScheme(),s()):t.value=o,(r=window.localStorage)==null||r.setItem(od,o))},{immediate:!0}),vt(()=>t.value,(o,r)=>{rt.removeColorScheme(r),rt.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=rt.preference,t.value=rt.value,t.unknown=!1)}),e.provide("colorMode",t)});const ad=ft(()=>{});function ld(e={}){const t=e.path||window.location.pathname;let n={};try{n=zn(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:ke().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const cd=ft({name:"nuxt:chunk-reload",setup(e){const t=It(),n=yn(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href.startsWith("#")?n.app.baseURL+r.href:Ot(n.app.baseURL,r.fullPath);ld({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),ud=ft(e=>{let t;async function n(){const s=await fs();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Ar("builds/latest.json"));o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}Er(()=>{t=setTimeout(n,1e3*60*60)})}),fd=[Kp,zp,Yp,ed,td,id,ad,cd,ud],Or=ct({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ae(),Te("div",{class:Ie(["n-icon",t.icon])},null,2))}}),ps=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},pd={},dd={class:"n-badge"};function hd(e,t){return ae(),Te("span",dd,[Ge(e.$slots,"default")])}const md=ps(pd,[["render",hd]]),gd={},_d={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},yd=ne("path",{fill:"#00DC82",d:"M62.3,-53.9C74.4,-34.5,73.5,-9,67.1,13.8C60.6,36.5,48.7,56.5,30.7,66.1C12.7,75.7,-11.4,74.8,-31.6,65.2C-51.8,55.7,-67.9,37.4,-73.8,15.7C-79.6,-6,-75.1,-31.2,-61.1,-51C-47.1,-70.9,-23.6,-85.4,0.8,-86C25.1,-86.7,50.2,-73.4,62.3,-53.9Z",transform:"translate(100 100)"},null,-1),bd=[yd];function vd(e,t){return ae(),Te("svg",_d,bd)}const wd=ps(gd,[["render",vd]]);async function ja(e,t=It()){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(()=>ja(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const kd=(...e)=>e.find(t=>t!==void 0),Nd="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Td(e){const t=e.componentName||"NuxtLink",n=(s,o)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const r=e.trailingSlash==="append"?Kn:Sr;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 ct({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=It(),i=yn(),a=Qe(()=>{const T=s.to||s.href||"";return n(T,r.resolve)}),u=Qe(()=>typeof a.value=="string"&&wn(a.value,{acceptRelative:!0})),l=Qe(()=>s.external||s.target&&s.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||u.value),p=ve(!1),f=ve(null),h=T=>{var b;f.value=s.custom?(b=T==null?void 0:T.$el)==null?void 0:b.nextElementSibling:T==null?void 0:T.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!xd()){const b=ke();let P,A=null;br(()=>{const L=Ld();Er(()=>{P=Zs(()=>{var k;(k=f==null?void 0:f.value)!=null&&k.tagName&&(A=L.observe(f.value,async()=>{A==null||A(),A=null;const d=typeof a.value=="string"?a.value:r.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",d).catch(()=>{}),!l.value&&ja(a.value,r).catch(()=>{})]),p.value=!0}))})})}),Pi(()=>{P&&Zp(P),A==null||A(),A=null})}return()=>{var L,k;if(!l.value){const d={ref:h,to:a.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(p.value&&(d.class=s.prefetchedClass||e.prefetchedClass),d.rel=s.rel),Ds(rc("RouterLink"),d,o.default)}const T=typeof a.value=="object"?((L=r.resolve(a.value))==null?void 0:L.href)??null:a.value&&!s.external&&!u.value?n(Ot(i.app.baseURL,a.value),r.resolve):a.value||null,b=s.target||null,P=s.noRel?null:kd(s.rel,e.externalRelAttribute,T?Nd:"")||null,A=()=>La(T,{replace:s.replace});return s.custom?o.default?o.default({href:T,navigate:A,get route(){if(!T)return;const d=en(T);return{path:d.pathname,fullPath:d.pathname,get query(){return xr(d.search)},hash:d.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:T}},rel:P,target:b,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Ds("a",{ref:f,href:T,rel:P,target:b},(k=o.default)==null?void 0:k.call(o))}}})}const Ra=Td(Hp);function Ld(){const e=ke();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const u of a){const l=n.get(u.target);(u.isIntersecting||u.intersectionRatio>0)&&l&&l()}})),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 xd(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Sd={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Ad=ct({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Qe(()=>t.href||t.to);return(s,o)=>{const r=Ra;return ae(),Oe(r,Nr(n.value?{href:n.value,target:s.target,rel:s.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||s.underline}}),{default:Be(()=>[Ge(s.$slots,"default"),n.value&&s.target==="_blank"?(ae(),Te("div",Sd)):it("",!0)]),_:3},16,["class"])}}}),Pd={},jd={class:"n-loading n-panel-grids-center"},Rd={class:"flex flex-col animate-pulse items-center text-lg"},Ed=ne("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Od(e,t){return ae(),Te("div",jd,[ne("div",Rd,[Ed,Ge(e.$slots,"default",{},()=>[$e(" Loading... ")])])])}const Id=ps(Pd,[["render",Od]]),Cd=ct({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const s=Or;return ae(),Oe(Ti(t.to?ge(Ra):"button"),Nr({to:t.to},{...t.$attrs,...!t.to&&{type:t.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:Be(()=>[Ge(t.$slots,"icon",{},()=>[t.icon?(ae(),Oe(s,{key:0,icon:t.icon,class:Ie({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):it("",!0)]),Ge(t.$slots,"default")]),_:3},16,["to","class"])}}});function Ea(e){return ei()?(yl(e),!0):!1}function ds(e){return typeof e=="function"?e():ge(e)}const Ir=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Md=e=>typeof e<"u",Bd=Object.prototype.toString,$d=e=>Bd.call(e)==="[object Object]",Fd=()=>{};function Hd(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const s=t;t=void 0,s&&await s},n}function Dd(e,t,n={}){const{immediate:s=!0}=n,o=ve(!1);let r=null;function i(){r&&(clearTimeout(r),r=null)}function a(){o.value=!1,i()}function u(...l){i(),o.value=!0,r=setTimeout(()=>{o.value=!1,r=null,e(...l)},ds(t))}return s&&(o.value=!0,Ir&&u()),Ea(a),{isPending:ur(o),start:u,stop:a}}function Ud(e){var t;const n=ds(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Wd=Ir?window:void 0,Oa=Ir?window.navigator:void 0;function Ia(...e){let t,n,s,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,o]=e,t=Wd):[t,n,s,o]=e,!t)return Fd;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],i=()=>{r.forEach(p=>p()),r.length=0},a=(p,f,h,T)=>(p.addEventListener(f,h,T),()=>p.removeEventListener(f,h,T)),u=vt(()=>[Ud(t),ds(o)],([p,f])=>{if(i(),!p)return;const h=$d(f)?{...f}:f;r.push(...n.flatMap(T=>s.map(b=>a(p,T,b,h))))},{immediate:!0,flush:"post"}),l=()=>{u(),i()};return Ea(l),l}function Gd(){const e=ve(!1);return cs()&&br(()=>{e.value=!0}),e}function Ca(e){const t=Gd();return Qe(()=>(t.value,!!e()))}function Mo(e,t={}){const{controls:n=!1,navigator:s=Oa}=t,o=Ca(()=>s&&"permissions"in s);let r;const i=typeof e=="string"?{name:e}:e,a=ve(),u=()=>{r&&(a.value=r.state)},l=Hd(async()=>{if(o.value){if(!r)try{r=await s.permissions.query(i),Ia(r,"change",u),u()}catch{a.value="prompt"}return r}});return l(),n?{state:a,isSupported:o,query:l}:a}function qd(e={}){const{navigator:t=Oa,read:n=!1,source:s,copiedDuring:o=1500,legacy:r=!1}=e,i=Ca(()=>t&&"clipboard"in t),a=Mo("clipboard-read"),u=Mo("clipboard-write"),l=Qe(()=>i.value||r),p=ve(""),f=ve(!1),h=Dd(()=>f.value=!1,o);function T(){i.value&&a.value!=="denied"?t.clipboard.readText().then(L=>{p.value=L}):p.value=A()}l.value&&n&&Ia(["copy","cut"],T);async function b(L=ds(s)){l.value&&L!=null&&(i.value&&u.value!=="denied"?await t.clipboard.writeText(L):P(L),p.value=L,f.value=!0,h.start())}function P(L){const k=document.createElement("textarea");k.value=L??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function A(){var L,k,d;return(d=(k=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:k.toString())!=null?d:""}return{isSupported:l,text:p,copied:f,copy:b}}function Vd(e){return JSON.parse(JSON.stringify(e))}function Kd(e,t,n,s={}){var o,r,i;const{clone:a=!1,passive:u=!1,eventName:l,deep:p=!1,defaultValue:f,shouldEmit:h}=s,T=cs(),b=n||(T==null?void 0:T.emit)||((o=T==null?void 0:T.$emit)==null?void 0:o.bind(T))||((i=(r=T==null?void 0:T.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(T==null?void 0:T.proxy));let P=l;t||(t="modelValue"),P=P||`update:${t.toString()}`;const A=d=>a?typeof a=="function"?a(d):Vd(d):d,L=()=>Md(e[t])?A(e[t]):f,k=d=>{h?h(d)&&b(P,d):b(P,d)};if(u){const d=L(),_=ve(d);let g=!1;return vt(()=>e[t],c=>{g||(g=!0,_.value=A(c),ss(()=>g=!1))}),vt(_,c=>{!g&&(c!==e[t]||p)&&k(c)},{deep:p}),_}else return Qe({get(){return L()},set(d){k(d)}})}var Ma=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Ba={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,()=>{return n={770:function(o,r,i){var a=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(r,"__esModule",{value:!0}),r.setDefaultDebugCall=r.createOnigScanner=r.createOnigString=r.loadWASM=r.OnigScanner=r.OnigString=void 0;const u=a(i(418));let l=null,p=!1;class f{static _utf8ByteLength(L){let k=0;for(let d=0,_=L.length;d<_;d++){const g=L.charCodeAt(d);let c=g,y=!1;if(g>=55296&&g<=56319&&d+1<_){const v=L.charCodeAt(d+1);v>=56320&&v<=57343&&(c=65536+(g-55296<<10)|v-56320,y=!0)}k+=c<=127?1:c<=2047?2:c<=65535?3:4,y&&d++}return k}constructor(L){const k=L.length,d=f._utf8ByteLength(L),_=d!==k,g=_?new Uint32Array(k+1):null;_&&(g[k]=d);const c=_?new Uint32Array(d+1):null;_&&(c[d]=k);const y=new Uint8Array(d);let v=0;for(let m=0;m<k;m++){const w=L.charCodeAt(m);let N=w,S=!1;if(w>=55296&&w<=56319&&m+1<k){const R=L.charCodeAt(m+1);R>=56320&&R<=57343&&(N=65536+(w-55296<<10)|R-56320,S=!0)}_&&(g[m]=v,S&&(g[m+1]=v),N<=127?c[v+0]=m:N<=2047?(c[v+0]=m,c[v+1]=m):N<=65535?(c[v+0]=m,c[v+1]=m,c[v+2]=m):(c[v+0]=m,c[v+1]=m,c[v+2]=m,c[v+3]=m)),N<=127?y[v++]=N:N<=2047?(y[v++]=192|(1984&N)>>>6,y[v++]=128|(63&N)>>>0):N<=65535?(y[v++]=224|(61440&N)>>>12,y[v++]=128|(4032&N)>>>6,y[v++]=128|(63&N)>>>0):(y[v++]=240|(1835008&N)>>>18,y[v++]=128|(258048&N)>>>12,y[v++]=128|(4032&N)>>>6,y[v++]=128|(63&N)>>>0),S&&m++}this.utf16Length=k,this.utf8Length=d,this.utf16Value=L,this.utf8Value=y,this.utf16OffsetToUtf8=g,this.utf8OffsetToUtf16=c}createString(L){const k=L._omalloc(this.utf8Length);return L.HEAPU8.set(this.utf8Value,k),k}}class h{constructor(L){if(this.id=++h.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=L;const k=new f(L);this.utf16Length=k.utf16Length,this.utf8Length=k.utf8Length,this.utf16OffsetToUtf8=k.utf16OffsetToUtf8,this.utf8OffsetToUtf16=k.utf8OffsetToUtf16,this.utf8Length<1e4&&!h._sharedPtrInUse?(h._sharedPtr||(h._sharedPtr=l._omalloc(1e4)),h._sharedPtrInUse=!0,l.HEAPU8.set(k.utf8Value,h._sharedPtr),this.ptr=h._sharedPtr):this.ptr=k.createString(l)}convertUtf8OffsetToUtf16(L){return this.utf8OffsetToUtf16?L<0?0:L>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[L]:L}convertUtf16OffsetToUtf8(L){return this.utf16OffsetToUtf8?L<0?0:L>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[L]:L}dispose(){this.ptr===h._sharedPtr?h._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}r.OnigString=h,h.LAST_ID=0,h._sharedPtr=0,h._sharedPtrInUse=!1;class T{constructor(L){if(!l)throw new Error("Must invoke loadWASM first.");const k=[],d=[];for(let y=0,v=L.length;y<v;y++){const m=new f(L[y]);k[y]=m.createString(l),d[y]=m.utf8Length}const _=l._omalloc(4*L.length);l.HEAPU32.set(k,_/4);const g=l._omalloc(4*L.length);l.HEAPU32.set(d,g/4);const c=l._createOnigScanner(_,g,L.length);for(let y=0,v=L.length;y<v;y++)l._ofree(k[y]);l._ofree(g),l._ofree(_),c===0&&function(y){throw new Error(y.UTF8ToString(y._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=c}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(L,k,d){let _=p,g=0;if(typeof d=="number"?(8&d&&(_=!0),g=d):typeof d=="boolean"&&(_=d),typeof L=="string"){L=new h(L);const c=this._findNextMatchSync(L,k,_,g);return L.dispose(),c}return this._findNextMatchSync(L,k,_,g)}_findNextMatchSync(L,k,d,_){const g=this._onigBinding;let c;if(c=d?g._findNextOnigScannerMatchDbg(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),_):g._findNextOnigScannerMatch(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),_),c===0)return null;const y=g.HEAPU32;let v=c/4;const m=y[v++],w=y[v++];let N=[];for(let S=0;S<w;S++){const R=L.convertUtf8OffsetToUtf16(y[v++]),B=L.convertUtf8OffsetToUtf16(y[v++]);N[S]={start:R,end:B,length:B-R}}return{index:m,captureIndices:N}}}r.OnigScanner=T;let b=!1,P=null;r.loadWASM=function(A){if(b)return P;let L,k,d,_;if(b=!0,function(g){return typeof g.instantiator=="function"}(A))L=A.instantiator,k=A.print;else{let g;(function(c){return c.data!==void 0})(A)?(g=A.data,k=A.print):g=A,L=function(c){return typeof Response<"u"&&c instanceof Response}(g)?typeof WebAssembly.instantiateStreaming=="function"?function(c){return y=>WebAssembly.instantiateStreaming(c,y)}(g):function(c){return async y=>{const v=await c.arrayBuffer();return WebAssembly.instantiate(v,y)}}(g):function(c){return y=>WebAssembly.instantiate(c,y)}(g)}return P=new Promise((g,c)=>{d=g,_=c}),function(g,c,y,v){(0,u.default)({print:c,instantiateWasm:(m,w)=>{if(typeof performance>"u"){const N=()=>Date.now();m.env.emscripten_get_now=N,m.wasi_snapshot_preview1.emscripten_get_now=N}return g(m).then(N=>w(N.instance),v),{}}}).then(m=>{l=m,y()})}(L,k,d,_),P},r.createOnigString=function(A){return new h(A)},r.createOnigScanner=function(A){return new T(A)},r.setDefaultDebugCall=function(A){p=A}},418:o=>{var r=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,u,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(E,$){a=E,u=$});var p,f=Object.assign({},l),h=!1,T="";function b(E){return l.locateFile?l.locateFile(E,T):T+E}p=function(E){let $;return typeof readbuffer=="function"?new Uint8Array(readbuffer(E)):($=read(E,"binary"),_(typeof $=="object"),$)},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 P,A,L=l.print||console.log.bind(console),k=l.printErr||console.warn.bind(console);Object.assign(l,f),f=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(P=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&de("no native wasm support detected");var d=!1;function _(E,$){E||de($)}var g,c,y,v=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(E,$,J){for(var Y=$+J,Q=$;E[Q]&&!(Q>=Y);)++Q;if(Q-$>16&&E.buffer&&v)return v.decode(E.subarray($,Q));for(var X="";$<Q;){var se=E[$++];if(128&se){var xe=63&E[$++];if((224&se)!=192){var He=63&E[$++];if((se=(240&se)==224?(15&se)<<12|xe<<6|He:(7&se)<<18|xe<<12|He<<6|63&E[$++])<65536)X+=String.fromCharCode(se);else{var tn=se-65536;X+=String.fromCharCode(55296|tn>>10,56320|1023&tn)}}else X+=String.fromCharCode((31&se)<<6|xe)}else X+=String.fromCharCode(se)}return X}function w(E,$){return E?m(c,E,$):""}function N(E){g=E,l.HEAP8=new Int8Array(E),l.HEAP16=new Int16Array(E),l.HEAP32=new Int32Array(E),l.HEAPU8=c=new Uint8Array(E),l.HEAPU16=new Uint16Array(E),l.HEAPU32=y=new Uint32Array(E),l.HEAPF32=new Float32Array(E),l.HEAPF64=new Float64Array(E)}l.INITIAL_MEMORY;var S=[],R=[],B=[];function D(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)q(l.preRun.shift());j(S)}function I(){j(R)}function K(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)he(l.postRun.shift());j(B)}function q(E){S.unshift(E)}function te(E){R.unshift(E)}function he(E){B.unshift(E)}var ue=0,oe=null;function fe(E){ue++,l.monitorRunDependencies&&l.monitorRunDependencies(ue)}function pe(E){if(ue--,l.monitorRunDependencies&&l.monitorRunDependencies(ue),ue==0&&oe){var $=oe;oe=null,$()}}function de(E){l.onAbort&&l.onAbort(E),k(E="Aborted("+E+")"),d=!0,E+=". Build with -sASSERTIONS for more info.";var $=new WebAssembly.RuntimeError(E);throw u($),$}var me,H,ye="data:application/octet-stream;base64,";function ie(E){return E.startsWith(ye)}function Pe(E){try{if(E==me&&P)return new Uint8Array(P);if(p)return p(E);throw"both async and sync fetching of the wasm failed"}catch($){de($)}}function Ke(){return P||!h||typeof fetch!="function"?Promise.resolve().then(function(){return Pe(me)}):fetch(me,{credentials:"same-origin"}).then(function(E){if(!E.ok)throw"failed to load wasm binary file at '"+me+"'";return E.arrayBuffer()}).catch(function(){return Pe(me)})}function x(){var E={env:F,wasi_snapshot_preview1:F};function $(Q,X){var se=Q.exports;l.asm=se,N((A=l.asm.memory).buffer),l.asm.__indirect_function_table,te(l.asm.__wasm_call_ctors),pe()}function J(Q){$(Q.instance)}function Y(Q){return Ke().then(function(X){return WebAssembly.instantiate(X,E)}).then(function(X){return X}).then(Q,function(X){k("failed to asynchronously prepare wasm: "+X),de(X)})}if(fe(),l.instantiateWasm)try{return l.instantiateWasm(E,$)}catch(Q){k("Module.instantiateWasm callback failed with error: "+Q),u(Q)}return(P||typeof WebAssembly.instantiateStreaming!="function"||ie(me)||typeof fetch!="function"?Y(J):fetch(me,{credentials:"same-origin"}).then(function(Q){return WebAssembly.instantiateStreaming(Q,E).then(J,function(X){return k("wasm streaming compile failed: "+X),k("falling back to ArrayBuffer instantiation"),Y(J)})})).catch(u),{}}function j(E){for(;E.length>0;)E.shift()(l)}function O(E,$,J){c.copyWithin(E,$,$+J)}function C(E){try{return A.grow(E-g.byteLength+65535>>>16),N(A.buffer),1}catch{}}function M(E){var $,J=c.length,Y=2147483648;if((E>>>=0)>Y)return!1;for(var Q=1;Q<=4;Q*=2){var X=J*(1+.2/Q);if(X=Math.min(X,E+100663296),C(Math.min(Y,($=Math.max(E,X))+(65536-$%65536)%65536)))return!0}return!1}ie(me="onig.wasm")||(me=b(me)),H=typeof dateNow<"u"?dateNow:()=>performance.now();var G=[null,[],[]];function V(E,$){var J=G[E];$===0||$===10?((E===1?L:k)(m(J,0)),J.length=0):J.push($)}function U(E,$,J,Y){for(var Q=0,X=0;X<J;X++){var se=y[$>>2],xe=y[$+4>>2];$+=8;for(var He=0;He<xe;He++)V(E,c[se+He]);Q+=xe}return y[Y>>2]=Q,0}var W,F={emscripten_get_now:H,emscripten_memcpy_big:O,emscripten_resize_heap:M,fd_write:U};function z(E){function $(){W||(W=!0,l.calledRun=!0,d||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),K()))}ue>0||(D(),ue>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),$()},1)):$()))}if(x(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=w,oe=function E(){W||z(),W||(oe=E)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return z(),i.ready});o.exports=r}},s={},function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(770);var n,s})})(Ba);var xs=Ba.exports,$a={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,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(a){let u=a.toString(2);for(;u.length<32;)u="0"+u;return u},i.print=function(a){const u=i.getLanguageId(a),l=i.getTokenType(a),p=i.getFontStyle(a),f=i.getForeground(a),h=i.getBackground(a);console.log({languageId:u,tokenType:l,fontStyle:p,foreground:f,background:h})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,u,l,p,f,h,T){let b=i.getLanguageId(a),P=i.getTokenType(a),A=i.containsBalancedBrackets(a)?1:0,L=i.getFontStyle(a),k=i.getForeground(a),d=i.getBackground(a);return u!==0&&(b=u),l!==8&&(P=l),p!==null&&(A=p?1:0),f!==-1&&(L=f),h!==0&&(k=h),T!==0&&(d=T),(b<<0|P<<8|A<<10|L<<11|k<<15|d<<24)>>>0},r.toOptionalTokenType=function(a){return a}},996:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BasicScopeAttributesProvider=r.BasicScopeAttributes=void 0;const a=i(878);class u{constructor(h,T){this.languageId=h,this.tokenType=T}}r.BasicScopeAttributes=u;class l{constructor(h,T){this._getBasicScopeAttributes=new a.CachedFn(b=>{const P=this._scopeToLanguage(b),A=this._toStandardTokenType(b);return new u(P,A)}),this._defaultAttributes=new u(h,8),this._embeddedLanguagesMatcher=new p(Object.entries(T||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(h){return h===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(h)}_scopeToLanguage(h){return this._embeddedLanguagesMatcher.match(h)||0}_toStandardTokenType(h){const T=h.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!T)return 8;switch(T[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}r.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new u(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class p{constructor(h){if(h.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(h);const T=h.map(([b,P])=>a.escapeRegExpCharacters(b));T.sort(),T.reverse(),this.scopesRegExp=new RegExp(`^((${T.join(")|(")}))($|\\.)`,"")}}match(h){if(!this.scopesRegExp)return;const T=h.match(this.scopesRegExp);return T?this.values.get(T[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 a=i(350),u=i(36),l=i(736),p=i(44),f=i(792),h=i(583),T=i(878),b=i(996),P=i(47);function A(v,m,w,N,S){const R=l.createMatchers(m,L),B=f.RuleFactory.getCompiledRuleId(w,N,S.repository);for(const D of R)v.push({debugSelector:m,matcher:D.matcher,ruleId:B,grammar:S,priority:D.priority})}function L(v,m){if(m.length<v.length)return!1;let w=0;return v.every(N=>{for(let S=w;S<m.length;S++)if(k(m[S],N))return w=S+1,!0;return!1})}function k(v,m){if(!v)return!1;if(v===m)return!0;const w=m.length;return v.length>w&&v.substr(0,w)===m&&v[w]==="."}r.createGrammar=function(v,m,w,N,S,R,B,D){return new d(v,m,w,N,S,R,B,D)};class d{constructor(m,w,N,S,R,B,D,I){if(this._rootScopeName=m,this.balancedBracketSelectors=B,this._onigLib=I,this._basicScopeAttributesProvider=new b.BasicScopeAttributesProvider(N,S),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=D,this._grammar=_(w,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const K of Object.keys(R)){const q=l.createMatchers(K,L);for(const te of q)this._tokenTypeMatchers.push({matcher:te.matcher,type:R[K]})}}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=[],w=this._rootScopeName,N=(S=>S===this._rootScopeName?this._grammar:this.getExternalGrammar(S))(w);if(N){const S=N.injections;if(S)for(let B in S)A(m,B,S[B],this,N);const R=this._grammarRepository.injections(w);R&&R.forEach(B=>{const D=this.getExternalGrammar(B);if(D){const I=D.injectionSelector;I&&A(m,I,D,this,D)}})}return m.sort((S,R)=>S.priority-R.priority),m}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.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 w=++this._lastRuleId,N=m(f.ruleIdFromNumber(w));return this._ruleId2desc[w]=N,N}getRule(m){return this._ruleId2desc[f.ruleIdToNumber(m)]}getExternalGrammar(m,w){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const N=this._grammarRepository.lookup(m);if(N)return this._includedGrammars[m]=_(N,w&&w.$base),this._includedGrammars[m]}}tokenizeLine(m,w,N=0){const S=this._tokenize(m,w,!1,N);return{tokens:S.lineTokens.getResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}tokenizeLine2(m,w,N=0){const S=this._tokenize(m,w,!0,N);return{tokens:S.lineTokens.getBinaryResult(S.ruleStack,S.lineLength),ruleStack:S.ruleStack,stoppedEarly:S.stoppedEarly}}_tokenize(m,w,N,S){let R;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),w&&w!==c.NULL)R=!1,w.reset();else{R=!0;const q=this._basicScopeAttributesProvider.getDefaultAttributes(),te=this.themeProvider.getDefaults(),he=u.EncodedTokenAttributes.set(0,q.languageId,q.tokenType,null,te.fontStyle,te.foregroundId,te.backgroundId),ue=this.getRule(this._rootId).getName(null,null);let oe;oe=ue?g.createRootAndLookUpScopeName(ue,he,this):g.createRoot("unknown",he),w=new c(null,this._rootId,-1,-1,!1,null,oe,oe)}m+=`
2
+ `;const B=this.createOnigString(m),D=B.content.length,I=new y(N,m,this._tokenTypeMatchers,this.balancedBracketSelectors),K=P._tokenizeString(this,B,R,0,w,I,!0,S);return p.disposeOnigString(B),{lineLength:D,lineTokens:I,ruleStack:K.stack,stoppedEarly:K.stoppedEarly}}}function _(v,m){return(v=T.clone(v)).repository=v.repository||{},v.repository.$self={$vscodeTextmateLocation:v.$vscodeTextmateLocation,patterns:v.patterns,name:v.scopeName},v.repository.$base=m||v.repository.$self,v}r.Grammar=d;class g{constructor(m,w,N){this.parent=m,this.scopePath=w,this.tokenAttributes=N}static createRoot(m,w){return new g(null,new h.ScopeStack(null,m),w)}static createRootAndLookUpScopeName(m,w,N){const S=N.getMetadataForScope(m),R=new h.ScopeStack(null,m),B=N.themeProvider.themeMatch(R),D=g.mergeAttributes(w,S,B);return new g(null,R,D)}get scopeName(){return this.scopePath.scopeName}equals(m){return g._equals(this,m)}static _equals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.scopeName!==w.scopeName||m.tokenAttributes!==w.tokenAttributes)return!1;m=m.parent,w=w.parent}}static mergeAttributes(m,w,N){let S=-1,R=0,B=0;return N!==null&&(S=N.fontStyle,R=N.foregroundId,B=N.backgroundId),u.EncodedTokenAttributes.set(m,w.languageId,w.tokenType,null,S,R,B)}pushAttributed(m,w){if(m===null)return this;if(m.indexOf(" ")===-1)return g._pushAttributed(this,m,w);const N=m.split(/ /g);let S=this;for(const R of N)S=g._pushAttributed(S,R,w);return S}static _pushAttributed(m,w,N){const S=N.getMetadataForScope(w),R=m.scopePath.push(w),B=N.themeProvider.themeMatch(R),D=g.mergeAttributes(m.tokenAttributes,S,B);return new g(m,R,D)}getScopeNames(){return this.scopePath.getSegments()}}r.AttributedScopeStack=g;class c{constructor(m,w,N,S,R,B,D,I){this.parent=m,this.ruleId=w,this.beginRuleCapturedEOL=R,this.endRule=B,this.nameScopesList=D,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=N,this._anchorPos=S}equals(m){return m!==null&&c._equals(this,m)}static _equals(m,w){return m===w||!!this._structuralEquals(m,w)&&m.contentNameScopesList.equals(w.contentNameScopesList)}static _structuralEquals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.depth!==w.depth||m.ruleId!==w.ruleId||m.endRule!==w.endRule)return!1;m=m.parent,w=w.parent}}clone(){return this}static _reset(m){for(;m;)m._enterPos=-1,m._anchorPos=-1,m=m.parent}reset(){c._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,w,N,S,R,B,D){return new c(this,m,w,N,S,R,B,D)}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,w){return this.parent&&(w=this.parent._writeString(m,w)),m[w++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,w}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 c(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,m,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(m){let w=this;for(;w&&w._enterPos===m._enterPos;){if(w.ruleId===m.ruleId)return!0;w=w.parent}return!1}}r.StateStack=c,c.NULL=new c(null,0,0,0,!1,null,null,null),r.BalancedBracketSelectors=class{constructor(v,m){this.allowAny=!1,this.balancedBracketScopes=v.flatMap(w=>w==="*"?(this.allowAny=!0,[]):l.createMatchers(w,L).map(N=>N.matcher)),this.unbalancedBracketScopes=m.flatMap(w=>l.createMatchers(w,L).map(N=>N.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(v){for(const m of this.unbalancedBracketScopes)if(m(v))return!1;for(const m of this.balancedBracketScopes)if(m(v))return!0;return this.allowAny}};class y{constructor(m,w,N,S){this.balancedBracketSelectors=S,this._emitBinaryTokens=m,this._tokenTypeOverrides=N,a.DebugFlags.InDebugMode?this._lineText=w:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(m,w){this.produceFromScopes(m.contentNameScopesList,w)}produceFromScopes(m,w){var S;if(this._lastTokenEndIndex>=w)return;if(this._emitBinaryTokens){let R=m.tokenAttributes,B=!1;if((S=this.balancedBracketSelectors)!=null&&S.matchesAlways&&(B=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const D=m.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(D)&&(R=u.EncodedTokenAttributes.set(R,0,u.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(B=this.balancedBracketSelectors.match(D))}if(B&&(R=u.EncodedTokenAttributes.set(R,0,8,B,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===R)return void(this._lastTokenEndIndex=w);if(a.DebugFlags.InDebugMode){const D=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let I=0;I<D.length;I++)console.log(" * "+D[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(R),void(this._lastTokenEndIndex=w)}const N=m.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let R=0;R<N.length;R++)console.log(" * "+N[R])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:w,scopes:N}),this._lastTokenEndIndex=w}getResult(m,w){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===w-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(m,w){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===w-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),this._binaryTokens[this._binaryTokens.length-2]=0);const N=new Uint32Array(this._binaryTokens.length);for(let S=0,R=this._binaryTokens.length;S<R;S++)N[S]=this._binaryTokens[S];return N}}r.LineTokens=y},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 a=i(878);class u{constructor(c){this.scopeName=c}toKey(){return this.scopeName}}r.TopLevelRuleReference=u;class l{constructor(c,y){this.scopeName=c,this.ruleName=y}toKey(){return`${this.scopeName}#${this.ruleName}`}}r.TopLevelRepositoryRuleReference=l;class p{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(c){const y=c.toKey();this._seenReferenceKeys.has(y)||(this._seenReferenceKeys.add(y),this._references.push(c))}}function f(g,c,y,v){const m=y.lookup(g.scopeName);if(!m){if(g.scopeName===c)throw new Error(`No grammar provided for <${c}>`);return}const w=y.lookup(c);g instanceof u?T({baseGrammar:w,selfGrammar:m},v):h(g.ruleName,{baseGrammar:w,selfGrammar:m,repository:m.repository},v);const N=y.injections(g.scopeName);if(N)for(const S of N)v.add(new u(S))}function h(g,c,y){c.repository&&c.repository[g]&&b([c.repository[g]],c,y)}function T(g,c){g.selfGrammar.patterns&&Array.isArray(g.selfGrammar.patterns)&&b(g.selfGrammar.patterns,{...g,repository:g.selfGrammar.repository},c),g.selfGrammar.injections&&b(Object.values(g.selfGrammar.injections),{...g,repository:g.selfGrammar.repository},c)}function b(g,c,y){for(const v of g){if(y.visitedRule.has(v))continue;y.visitedRule.add(v);const m=v.repository?a.mergeObjects({},c.repository,v.repository):c.repository;Array.isArray(v.patterns)&&b(v.patterns,{...c,repository:m},y);const w=v.include;if(!w)continue;const N=_(w);switch(N.kind){case 0:T({...c,selfGrammar:c.baseGrammar},y);break;case 1:T(c,y);break;case 2:h(N.ruleName,{...c,repository:m},y);break;case 3:case 4:const S=N.scopeName===c.selfGrammar.scopeName?c.selfGrammar:N.scopeName===c.baseGrammar.scopeName?c.baseGrammar:void 0;if(S){const R={baseGrammar:c.baseGrammar,selfGrammar:S,repository:m};N.kind===4?h(N.ruleName,R,y):T(R,y)}else N.kind===4?y.add(new l(N.scopeName,N.ruleName)):y.add(new u(N.scopeName))}}}r.ExternalReferenceCollector=p,r.ScopeDependencyProcessor=class{constructor(g,c){this.repo=g,this.initialScopeName=c,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new u(this.initialScopeName)]}processQueue(){const g=this.Q;this.Q=[];const c=new p;for(const y of g)f(y,this.initialScopeName,this.repo,c);for(const y of c.references)if(y instanceof u){if(this.seenFullScopeRequests.has(y.scopeName))continue;this.seenFullScopeRequests.add(y.scopeName),this.Q.push(y)}else{if(this.seenFullScopeRequests.has(y.scopeName)||this.seenPartialScopeRequests.has(y.toKey()))continue;this.seenPartialScopeRequests.add(y.toKey()),this.Q.push(y)}}};class P{constructor(){this.kind=0}}r.BaseReference=P;class A{constructor(){this.kind=1}}r.SelfReference=A;class L{constructor(c){this.ruleName=c,this.kind=2}}r.RelativeReference=L;class k{constructor(c){this.scopeName=c,this.kind=3}}r.TopLevelReference=k;class d{constructor(c,y){this.scopeName=c,this.ruleName=y,this.kind=4}}function _(g){if(g==="$base")return new P;if(g==="$self")return new A;const c=g.indexOf("#");if(c===-1)return new k(g);if(c===0)return new L(g.substring(1));{const y=g.substring(0,c),v=g.substring(c+1);return new d(y,v)}}r.TopLevelRepositoryReference=d,r.parseInclude=_},391:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(l,p,f,h){h===void 0&&(h=f),Object.defineProperty(l,h,{enumerable:!0,get:function(){return p[f]}})}:function(l,p,f,h){h===void 0&&(h=f),l[h]=p[f]}),u=this&&this.__exportStar||function(l,p){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(p,f)||a(p,l,f)};Object.defineProperty(r,"__esModule",{value:!0}),u(i(947),r)},47:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStackElement=r._tokenizeString=void 0;const a=i(350),u=i(44),l=i(792),p=i(878);class f{constructor(d,_){this.stack=d,this.stoppedEarly=_}}function h(k,d,_,g,c,y,v,m){const w=d.content.length;let N=!1,S=-1;if(v){const D=function(I,K,q,te,he,ue){let oe=he.beginRuleCapturedEOL?0:-1;const fe=[];for(let pe=he;pe;pe=pe.pop()){const de=pe.getRule(I);de instanceof l.BeginWhileRule&&fe.push({rule:de,stack:pe})}for(let pe=fe.pop();pe;pe=fe.pop()){const{ruleScanner:de,findOptions:me}=b(pe.rule,I,pe.stack.endRule,q,te===oe),H=de.findNextMatchSync(K,te,me);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(de.toString())),!H){a.DebugFlags.InDebugMode&&console.log(" popping "+pe.rule.debugName+" - "+pe.rule.debugWhileRegExp),he=pe.stack.pop();break}if(H.ruleId!==l.whileRuleId){he=pe.stack.pop();break}H.captureIndices&&H.captureIndices.length&&(ue.produce(pe.stack,H.captureIndices[0].start),A(I,K,q,pe.stack,ue,pe.rule.whileCaptures,H.captureIndices),ue.produce(pe.stack,H.captureIndices[0].end),oe=H.captureIndices[0].end,H.captureIndices[0].end>te&&(te=H.captureIndices[0].end,q=!1))}return{stack:he,linePos:te,anchorPosition:oe,isFirstLine:q}}(k,d,_,g,c,y);c=D.stack,g=D.linePos,_=D.isFirstLine,S=D.anchorPosition}const R=Date.now();for(;!N;){if(m!==0&&Date.now()-R>m)return new f(c,!0);B()}return new f(c,!1);function B(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${g}: |${d.content.substr(g).replace(/\n$/,"\\n")}|`));const D=function(te,he,ue,oe,fe,pe){const de=function(Pe,Ke,x,j,O,C){const M=O.getRule(Pe),{ruleScanner:G,findOptions:V}=T(M,Pe,O.endRule,x,j===C);let U=0;a.DebugFlags.InDebugMode&&(U=p.performanceNow());const W=G.findNextMatchSync(Ke,j,V);if(a.DebugFlags.InDebugMode){const F=p.performanceNow()-U;F>5&&console.warn(`Rule ${M.debugName} (${M.id}) matching took ${F} against '${Ke}'`),console.log(` scanning for (linePos: ${j}, anchorPosition: ${C})`),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}(te,he,ue,oe,fe,pe),me=te.getInjections();if(me.length===0)return de;const H=function(Pe,Ke,x,j,O,C,M){let G,V=Number.MAX_VALUE,U=null,W=0;const F=C.contentNameScopesList.getScopeNames();for(let z=0,E=Pe.length;z<E;z++){const $=Pe[z];if(!$.matcher(F))continue;const J=Ke.getRule($.ruleId),{ruleScanner:Y,findOptions:Q}=T(J,Ke,null,j,O===M),X=Y.findNextMatchSync(x,O,Q);if(!X)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${$.debugSelector}`),console.log(Y.toString()));const se=X.captureIndices[0].start;if(!(se>=V)&&(V=se,U=X.captureIndices,G=X.ruleId,W=$.priority,V===O))break}return U?{priorityMatch:W===-1,captureIndices:U,matchedRuleId:G}:null}(me,te,he,ue,oe,fe,pe);if(!H)return de;if(!de)return H;const ye=de.captureIndices[0].start,ie=H.captureIndices[0].start;return ie<ye||H.priorityMatch&&ie===ye?H:de}(k,d,_,g,c,S);if(!D)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),y.produce(c,w),void(N=!0);const I=D.captureIndices,K=D.matchedRuleId,q=!!(I&&I.length>0)&&I[0].end>g;if(K===l.endRuleId){const te=c.getRule(k);a.DebugFlags.InDebugMode&&console.log(" popping "+te.debugName+" - "+te.debugEndRegExp),y.produce(c,I[0].start),c=c.withContentNameScopesList(c.nameScopesList),A(k,d,_,c,y,te.endCaptures,I),y.produce(c,I[0].end);const he=c;if(c=c.parent,S=he.getAnchorPos(),!q&&he.getEnterPos()===g)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),c=he,y.produce(c,w),void(N=!0)}else{const te=k.getRule(K);y.produce(c,I[0].start);const he=c,ue=te.getName(d.content,I),oe=c.contentNameScopesList.pushAttributed(ue,k);if(c=c.push(K,g,S,I[0].end===w,null,oe,oe),te instanceof l.BeginEndRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName+" - "+fe.debugBeginRegExp),A(k,d,_,c,y,fe.beginCaptures,I),y.produce(c,I[0].end),S=I[0].end;const pe=fe.getContentName(d.content,I),de=oe.pushAttributed(pe,k);if(c=c.withContentNameScopesList(de),fe.endHasBackReferences&&(c=c.withEndRule(fe.getEndWithResolvedBackReferences(d.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),y.produce(c,w),void(N=!0)}else if(te instanceof l.BeginWhileRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName),A(k,d,_,c,y,fe.beginCaptures,I),y.produce(c,I[0].end),S=I[0].end;const pe=fe.getContentName(d.content,I),de=oe.pushAttributed(pe,k);if(c=c.withContentNameScopesList(de),fe.whileHasBackReferences&&(c=c.withEndRule(fe.getWhileWithResolvedBackReferences(d.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),y.produce(c,w),void(N=!0)}else{const fe=te;if(a.DebugFlags.InDebugMode&&console.log(" matched "+fe.debugName+" - "+fe.debugMatchRegExp),A(k,d,_,c,y,fe.captures,I),y.produce(c,I[0].end),c=c.pop(),!q)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),c=c.safePop(),y.produce(c,w),void(N=!0)}}I[0].end>g&&(g=I[0].end,_=!1)}}function T(k,d,_,g,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compile(d,_),findOptions:P(g,c)}:{ruleScanner:k.compileAG(d,_,g,c),findOptions:0}}function b(k,d,_,g,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compileWhile(d,_),findOptions:P(g,c)}:{ruleScanner:k.compileWhileAG(d,_,g,c),findOptions:0}}function P(k,d){let _=0;return k||(_|=1),d||(_|=4),_}function A(k,d,_,g,c,y,v){if(y.length===0)return;const m=d.content,w=Math.min(y.length,v.length),N=[],S=v[0].end;for(let R=0;R<w;R++){const B=y[R];if(B===null)continue;const D=v[R];if(D.length===0)continue;if(D.start>S)break;for(;N.length>0&&N[N.length-1].endPos<=D.start;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop();if(N.length>0?c.produceFromScopes(N[N.length-1].scopes,D.start):c.produce(g,D.start),B.retokenizeCapturedWithRuleId){const K=B.getName(m,v),q=g.contentNameScopesList.pushAttributed(K,k),te=B.getContentName(m,v),he=q.pushAttributed(te,k),ue=g.push(B.retokenizeCapturedWithRuleId,D.start,-1,!1,null,q,he),oe=k.createOnigString(m.substring(0,D.end));h(k,oe,_&&D.start===0,D.start,ue,c,!1,0),u.disposeOnigString(oe);continue}const I=B.getName(m,v);if(I!==null){const K=(N.length>0?N[N.length-1].scopes:g.contentNameScopesList).pushAttributed(I,k);N.push(new L(K,D.end))}}for(;N.length>0;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop()}r._tokenizeString=h;class L{constructor(d,_){this.scopes=d,this.endPos=_}}r.LocalStackElement=L},974:(o,r)=>{function i(p,f){throw new Error("Near offset "+p.pos+": "+f+" ~~~"+p.source.substr(p.pos,50)+"~~~")}Object.defineProperty(r,"__esModule",{value:!0}),r.parseJSON=void 0,r.parseJSON=function(p,f,h){let T=new a(p),b=new u,P=0,A=null,L=[],k=[];function d(){L.push(P),k.push(A)}function _(){P=L.pop(),A=k.pop()}function g(c){i(T,c)}for(;l(T,b);){if(P===0){if(A!==null&&g("too many constructs in root"),b.type===3){A={},h&&(A.$vscodeTextmateLocation=b.toLocation(f)),d(),P=1;continue}if(b.type===2){A=[],d(),P=4;continue}g("unexpected token in root")}if(P===2){if(b.type===5){_();continue}if(b.type===7){P=3;continue}g("expected , or }")}if(P===1||P===3){if(P===1&&b.type===5){_();continue}if(b.type===1){let c=b.value;if(l(T,b)&&b.type===6||g("expected colon"),l(T,b)||g("expected value"),P=2,b.type===1){A[c]=b.value;continue}if(b.type===8){A[c]=null;continue}if(b.type===9){A[c]=!0;continue}if(b.type===10){A[c]=!1;continue}if(b.type===11){A[c]=parseFloat(b.value);continue}if(b.type===2){let y=[];A[c]=y,d(),P=4,A=y;continue}if(b.type===3){let y={};h&&(y.$vscodeTextmateLocation=b.toLocation(f)),A[c]=y,d(),P=1,A=y;continue}}g("unexpected token in dict")}if(P===5){if(b.type===4){_();continue}if(b.type===7){P=6;continue}g("expected , or ]")}if(P===4||P===6){if(P===4&&b.type===4){_();continue}if(P=5,b.type===1){A.push(b.value);continue}if(b.type===8){A.push(null);continue}if(b.type===9){A.push(!0);continue}if(b.type===10){A.push(!1);continue}if(b.type===11){A.push(parseFloat(b.value));continue}if(b.type===2){let c=[];A.push(c),d(),P=4,A=c;continue}if(b.type===3){let c={};h&&(c.$vscodeTextmateLocation=b.toLocation(f)),A.push(c),d(),P=1,A=c;continue}g("unexpected token in array")}g("unknown state")}return k.length!==0&&g("unclosed constructs"),A};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class u{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 l(p,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let h,T=p.source,b=p.pos,P=p.len,A=p.line,L=p.char;for(;;){if(b>=P)return!1;if(h=T.charCodeAt(b),h!==32&&h!==9&&h!==13){if(h!==10)break;b++,A++,L=0}else b++,L++}if(f.offset=b,f.line=A,f.char=L,h===34){for(f.type=1,b++,L++;;){if(b>=P)return!1;if(h=T.charCodeAt(b),b++,L++,h!==92){if(h===34)break}else b++,L++}f.value=T.substring(f.offset+1,b-1).replace(/\\u([0-9A-Fa-f]{4})/g,(k,d)=>String.fromCodePoint(parseInt(d,16))).replace(/\\(.)/g,(k,d)=>{switch(d){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(p,"invalid escape sequence")}throw new Error("unreachable")})}else if(h===91)f.type=2,b++,L++;else if(h===123)f.type=3,b++,L++;else if(h===93)f.type=4,b++,L++;else if(h===125)f.type=5,b++,L++;else if(h===58)f.type=6,b++,L++;else if(h===44)f.type=7,b++,L++;else if(h===110){if(f.type=8,b++,L++,h=T.charCodeAt(b),h!==117||(b++,L++,h=T.charCodeAt(b),h!==108)||(b++,L++,h=T.charCodeAt(b),h!==108))return!1;b++,L++}else if(h===116){if(f.type=9,b++,L++,h=T.charCodeAt(b),h!==114||(b++,L++,h=T.charCodeAt(b),h!==117)||(b++,L++,h=T.charCodeAt(b),h!==101))return!1;b++,L++}else if(h===102){if(f.type=10,b++,L++,h=T.charCodeAt(b),h!==97||(b++,L++,h=T.charCodeAt(b),h!==108)||(b++,L++,h=T.charCodeAt(b),h!==115)||(b++,L++,h=T.charCodeAt(b),h!==101))return!1;b++,L++}else for(f.type=11;;){if(b>=P)return!1;if(h=T.charCodeAt(b),!(h===46||h>=48&&h<=57||h===101||h===69||h===45||h===43))break;b++,L++}return f.len=b-f.offset,f.value===null&&(f.value=T.substr(f.offset,f.len)),p.pos=b,p.line=A,p.char=L,!0}},787:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(b,P,A,L){L===void 0&&(L=A),Object.defineProperty(b,L,{enumerable:!0,get:function(){return P[A]}})}:function(b,P,A,L){L===void 0&&(L=A),b[L]=P[A]}),u=this&&this.__exportStar||function(b,P){for(var A in b)A==="default"||Object.prototype.hasOwnProperty.call(P,A)||a(P,b,A)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=r.INITIAL=r.Registry=void 0;const l=i(391),p=i(50),f=i(652),h=i(583),T=i(965);u(i(44),r),r.Registry=class{constructor(b){this._options=b,this._syncRegistry=new f.SyncRegistry(h.Theme.createFromRawTheme(b.theme,b.colorMap),b.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(b,P){this._syncRegistry.setTheme(h.Theme.createFromRawTheme(b,P))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(b,P,A){return this.loadGrammarWithConfiguration(b,P,{embeddedLanguages:A})}loadGrammarWithConfiguration(b,P,A){return this._loadGrammar(b,P,A.embeddedLanguages,A.tokenTypes,new l.BalancedBracketSelectors(A.balancedBracketSelectors||[],A.unbalancedBracketSelectors||[]))}loadGrammar(b){return this._loadGrammar(b,0,null,null,null)}async _loadGrammar(b,P,A,L,k){const d=new T.ScopeDependencyProcessor(this._syncRegistry,b);for(;d.Q.length>0;)await Promise.all(d.Q.map(_=>this._loadSingleGrammar(_.scopeName))),d.processQueue();return this._grammarForScopeName(b,P,A,L,k)}async _loadSingleGrammar(b){return this._ensureGrammarCache.has(b)||this._ensureGrammarCache.set(b,this._doLoadSingleGrammar(b)),this._ensureGrammarCache.get(b)}async _doLoadSingleGrammar(b){const P=await this._options.loadGrammar(b);if(P){const A=typeof this._options.getInjections=="function"?this._options.getInjections(b):void 0;this._syncRegistry.addGrammar(P,A)}}async addGrammar(b,P=[],A=0,L=null){return this._syncRegistry.addGrammar(b,P),await this._grammarForScopeName(b.scopeName,A,L)}_grammarForScopeName(b,P=0,A=null,L=null,k=null){return this._syncRegistry.grammarForScopeName(b,P,A,L,k)}},r.INITIAL=l.StateStack.NULL,r.parseRawGrammar=p.parseRawGrammar},736:(o,r)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(r,"__esModule",{value:!0}),r.createMatchers=void 0,r.createMatchers=function(a,u){const l=[],p=function(b){let P=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,A=P.exec(b);return{next:()=>{if(!A)return null;const L=A[0];return A=P.exec(b),L}}}(a);let f=p.next();for(;f!==null;){let b=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":b=1;break;case"L":b=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=p.next()}let P=T();if(l.push({matcher:P,priority:b}),f!==",")break;f=p.next()}return l;function h(){if(f==="-"){f=p.next();const b=h();return P=>!!b&&!b(P)}if(f==="("){f=p.next();const b=function(){const P=[];let A=T();for(;A&&(P.push(A),f==="|"||f===",");){do f=p.next();while(f==="|"||f===",");A=T()}return L=>P.some(k=>k(L))}();return f===")"&&(f=p.next()),b}if(i(f)){const b=[];do b.push(f),f=p.next();while(i(f));return P=>u(b,P)}return null}function T(){const b=[];let P=h();for(;P;)b.push(P),P=h();return A=>b.every(L=>L(A))}}},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 a=i(69),u=i(350),l=i(974);r.parseRawGrammar=function(p,f=null){return f!==null&&/\.json$/.test(f)?(h=p,T=f,u.DebugFlags.InDebugMode?l.parseJSON(h,T,!0):JSON.parse(h)):function(b,P){return u.DebugFlags.InDebugMode?a.parseWithLocation(b,P,"$vscodeTextmateLocation"):a.parsePLIST(b)}(p,f);var h,T}},69:(o,r)=>{function i(a,u,l){const p=a.length;let f=0,h=1,T=0;function b(H){if(l===null)f+=H;else for(;H>0;)a.charCodeAt(f)===10?(f++,h++,T=0):(f++,T++),H--}function P(H){l===null?f=H:b(H-f)}function A(){for(;f<p;){let H=a.charCodeAt(f);if(H!==32&&H!==9&&H!==13&&H!==10)break;b(1)}}function L(H){return a.substr(f,H.length)===H&&(b(H.length),!0)}function k(H){let ye=a.indexOf(H,f);P(ye!==-1?ye+H.length:p)}function d(H){let ye=a.indexOf(H,f);if(ye!==-1){let ie=a.substring(f,ye);return P(ye+H.length),ie}{let ie=a.substr(f);return P(p),ie}}p>0&&a.charCodeAt(0)===65279&&(f=1);let _=0,g=null,c=[],y=[],v=null;function m(H,ye){c.push(_),y.push(g),_=H,g=ye}function w(){if(c.length===0)return N("illegal state stack");_=c.pop(),g=y.pop()}function N(H){throw new Error("Near offset "+f+": "+H+" ~~~"+a.substr(f,50)+"~~~")}const S=function(){if(v===null)return N("missing <key>");let H={};l!==null&&(H[l]={filename:u,line:h,char:T}),g[v]=H,v=null,m(1,H)},R=function(){if(v===null)return N("missing <key>");let H=[];g[v]=H,v=null,m(2,H)},B=function(){let H={};l!==null&&(H[l]={filename:u,line:h,char:T}),g.push(H),m(1,H)},D=function(){let H=[];g.push(H),m(2,H)};function I(){if(_!==1)return N("unexpected </dict>");w()}function K(){return _===1||_!==2?N("unexpected </array>"):void w()}function q(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function te(H){if(isNaN(H))return N("cannot parse float");if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function he(H){if(isNaN(H))return N("cannot parse integer");if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function ue(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function oe(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function fe(H){if(_===1){if(v===null)return N("missing <key>");g[v]=H,v=null}else _===2?g.push(H):g=H}function pe(){let H=d(">"),ye=!1;return H.charCodeAt(H.length-1)===47&&(ye=!0,H=H.substring(0,H.length-1)),{name:H.trim(),isClosed:ye}}function de(H){if(H.isClosed)return"";let ye=d("</");return k(">"),ye.replace(/&#([0-9]+);/g,function(ie,Pe){return String.fromCodePoint(parseInt(Pe,10))}).replace(/&#x([0-9a-f]+);/g,function(ie,Pe){return String.fromCodePoint(parseInt(Pe,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(ie){switch(ie){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return ie})}for(;f<p&&(A(),!(f>=p));){const H=a.charCodeAt(f);if(b(1),H!==60)return N("expected <");if(f>=p)return N("unexpected end of input");const ye=a.charCodeAt(f);if(ye===63){b(1),k("?>");continue}if(ye===33){if(b(1),L("--")){k("-->");continue}k(">");continue}if(ye===47){if(b(1),A(),L("plist")){k(">");continue}if(L("dict")){k(">"),I();continue}if(L("array")){k(">"),K();continue}return N("unexpected closed tag")}let ie=pe();switch(ie.name){case"dict":_===1?S():_===2?B():(g={},l!==null&&(g[l]={filename:u,line:h,char:T}),m(1,g)),ie.isClosed&&I();continue;case"array":_===1?R():_===2?D():(g=[],m(2,g)),ie.isClosed&&K();continue;case"key":me=de(ie),_!==1?N("unexpected <key>"):v!==null?N("too many <key>"):v=me;continue;case"string":q(de(ie));continue;case"real":te(parseFloat(de(ie)));continue;case"integer":he(parseInt(de(ie),10));continue;case"date":ue(new Date(de(ie)));continue;case"data":oe(de(ie));continue;case"true":de(ie),fe(!0);continue;case"false":de(ie),fe(!1);continue}if(!/^plist/.test(ie.name))return N("unexpected opened tag "+ie.name)}var me;return g}Object.defineProperty(r,"__esModule",{value:!0}),r.parsePLIST=r.parseWithLocation=void 0,r.parseWithLocation=function(a,u,l){return i(a,u,l)},r.parsePLIST=function(a){return i(a,null,null)}},652:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SyncRegistry=void 0;const a=i(391);r.SyncRegistry=class{constructor(u,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=u}dispose(){for(const u of this._grammars.values())u.dispose()}setTheme(u){this._theme=u}getColorMap(){return this._theme.getColorMap()}addGrammar(u,l){this._rawGrammars.set(u.scopeName,u),l&&this._injectionGrammars.set(u.scopeName,l)}lookup(u){return this._rawGrammars.get(u)}injections(u){return this._injectionGrammars.get(u)}getDefaults(){return this._theme.getDefaults()}themeMatch(u){return this._theme.match(u)}async grammarForScopeName(u,l,p,f,h){if(!this._grammars.has(u)){let T=this._rawGrammars.get(u);if(!T)return null;this._grammars.set(u,a.createGrammar(u,T,l,p,f,h,this,await this._onigLibPromise))}return this._grammars.get(u)}}},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 a=i(878),u=i(965),l=/\\(\d+)/,p=/\\(\d+)/g;r.endRuleId=-1,r.whileRuleId=-2,r.ruleIdFromNumber=function(g){return g},r.ruleIdToNumber=function(g){return g};class f{constructor(c,y,v,m){this.$location=c,this.id=y,this._name=v||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=m||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const c=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${c}`}getName(c,y){return this._nameIsCapturing&&this._name!==null&&c!==null&&y!==null?a.RegexSource.replaceCaptures(this._name,c,y):this._name}getContentName(c,y){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,c,y):this._contentName}}r.Rule=f;class h extends f{constructor(c,y,v,m,w){super(c,y,v,m),this.retokenizeCapturedWithRuleId=w}dispose(){}collectPatterns(c,y){throw new Error("Not supported!")}compile(c,y){throw new Error("Not supported!")}compileAG(c,y,v,m){throw new Error("Not supported!")}}r.CaptureRule=h;class T extends f{constructor(c,y,v,m,w){super(c,y,v,null),this._match=new k(m,this.id),this.captures=w,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(c,y){y.push(this._match)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new d,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.MatchRule=T;class b extends f{constructor(c,y,v,m,w){super(c,y,v,m),this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(c,y){for(const v of this.patterns)c.getRule(v).collectPatterns(c,y)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new d,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.IncludeOnlyRule=b;class P extends f{constructor(c,y,v,m,w,N,S,R,B,D){super(c,y,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this._end=new k(S||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=B||!1,this.patterns=D.patterns,this.hasMissingPatterns=D.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(c,y){return this._end.resolveBackReferences(c,y)}collectPatterns(c,y){y.push(this._begin)}compile(c,y){return this._getCachedCompiledPatterns(c,y).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c,y).compileAG(c,v,m)}_getCachedCompiledPatterns(c,y){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new d;for(const v of this.patterns)c.getRule(v).collectPatterns(c,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,y):this._cachedCompiledPatterns.setSource(0,y)),this._cachedCompiledPatterns}}r.BeginEndRule=P;class A extends f{constructor(c,y,v,m,w,N,S,R,B){super(c,y,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this.whileCaptures=R,this._while=new k(S,r.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=B.patterns,this.hasMissingPatterns=B.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(c,y){return this._while.resolveBackReferences(c,y)}collectPatterns(c,y){y.push(this._begin)}compile(c,y){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,y,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new d;for(const y of this.patterns)c.getRule(y).collectPatterns(c,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(c,y){return this._getCachedCompiledWhilePatterns(c,y).compile(c)}compileWhileAG(c,y,v,m){return this._getCachedCompiledWhilePatterns(c,y).compileAG(c,v,m)}_getCachedCompiledWhilePatterns(c,y){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new d,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,y||"￿"),this._cachedCompiledWhilePatterns}}r.BeginWhileRule=A;class L{static createCaptureRule(c,y,v,m,w){return c.registerRule(N=>new h(y,N,v,m,w))}static getCompiledRuleId(c,y,v){return c.id||y.registerRule(m=>{if(c.id=m,c.match)return new T(c.$vscodeTextmateLocation,c.id,c.name,c.match,L._compileCaptures(c.captures,y,v));if(c.begin===void 0){c.repository&&(v=a.mergeObjects({},v,c.repository));let w=c.patterns;return w===void 0&&c.include&&(w=[{include:c.include}]),new b(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,L._compilePatterns(w,y,v))}return c.while?new A(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,y,v),c.while,L._compileCaptures(c.whileCaptures||c.captures,y,v),L._compilePatterns(c.patterns,y,v)):new P(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,y,v),c.end,L._compileCaptures(c.endCaptures||c.captures,y,v),c.applyEndPatternLast,L._compilePatterns(c.patterns,y,v))}),c.id}static _compileCaptures(c,y,v){let m=[];if(c){let w=0;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const S=parseInt(N,10);S>w&&(w=S)}for(let N=0;N<=w;N++)m[N]=null;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const S=parseInt(N,10);let R=0;c[N].patterns&&(R=L.getCompiledRuleId(c[N],y,v)),m[S]=L.createCaptureRule(y,c[N].$vscodeTextmateLocation,c[N].name,c[N].contentName,R)}}return m}static _compilePatterns(c,y,v){let m=[];if(c)for(let w=0,N=c.length;w<N;w++){const S=c[w];let R=-1;if(S.include){const B=u.parseInclude(S.include);switch(B.kind){case 0:case 1:R=L.getCompiledRuleId(v[S.include],y,v);break;case 2:let D=v[B.ruleName];D&&(R=L.getCompiledRuleId(D,y,v));break;case 3:case 4:const I=B.scopeName,K=B.kind===4?B.ruleName:null,q=y.getExternalGrammar(I,v);if(q)if(K){let te=q.repository[K];te&&(R=L.getCompiledRuleId(te,y,q.repository))}else R=L.getCompiledRuleId(q.repository.$self,y,q.repository)}}else R=L.getCompiledRuleId(S,y,v);if(R!==-1){const B=y.getRule(R);let D=!1;if((B instanceof b||B instanceof P||B instanceof A)&&B.hasMissingPatterns&&B.patterns.length===0&&(D=!0),D)continue;m.push(R)}}return{patterns:m,hasMissingPatterns:(c?c.length:0)!==m.length}}}r.RuleFactory=L;class k{constructor(c,y){if(c){const v=c.length;let m=0,w=[],N=!1;for(let S=0;S<v;S++)if(c.charAt(S)==="\\"&&S+1<v){const R=c.charAt(S+1);R==="z"?(w.push(c.substring(m,S)),w.push("$(?!\\n)(?<!\\n)"),m=S+2):R!=="A"&&R!=="G"||(N=!0),S++}this.hasAnchor=N,m===0?this.source=c:(w.push(c.substring(m,v)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=c;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=y,this.hasBackReferences=l.test(this.source)}clone(){return new k(this.source,this.ruleId)}setSource(c){this.source!==c&&(this.source=c,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(c,y){let v=y.map(m=>c.substring(m.start,m.end));return p.lastIndex=0,this.source.replace(p,(m,w)=>a.escapeRegExpCharacters(v[parseInt(w,10)]||""))}_buildAnchorCache(){let c,y,v,m,w=[],N=[],S=[],R=[];for(c=0,y=this.source.length;c<y;c++)v=this.source.charAt(c),w[c]=v,N[c]=v,S[c]=v,R[c]=v,v==="\\"&&c+1<y&&(m=this.source.charAt(c+1),m==="A"?(w[c+1]="￿",N[c+1]="￿",S[c+1]="A",R[c+1]="A"):m==="G"?(w[c+1]="￿",N[c+1]="G",S[c+1]="￿",R[c+1]="G"):(w[c+1]=m,N[c+1]=m,S[c+1]=m,R[c+1]=m),c++);return{A0_G0:w.join(""),A0_G1:N.join(""),A1_G0:S.join(""),A1_G1:R.join("")}}resolveAnchors(c,y){return this.hasAnchor&&this._anchorCache?c?y?this._anchorCache.A1_G1:this._anchorCache.A1_G0:y?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}r.RegExpSource=k;class d{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(c){this._items.push(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}unshift(c){this._items.unshift(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}length(){return this._items.length}setSource(c,y){this._items[c].source!==y&&(this._disposeCaches(),this._items[c].setSource(y))}compile(c){if(!this._cached){let y=this._items.map(v=>v.source);this._cached=new _(c,y,this._items.map(v=>v.ruleId))}return this._cached}compileAG(c,y,v){return this._hasAnchors?y?v?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(c,y,v)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(c,y,v)),this._anchorCache.A1_G0):v?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(c,y,v)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(c,y,v)),this._anchorCache.A0_G0):this.compile(c)}_resolveAnchors(c,y,v){let m=this._items.map(w=>w.resolveAnchors(y,v));return new _(c,m,this._items.map(w=>w.ruleId))}}r.RegExpSourceList=d;class _{constructor(c,y,v){this.regExps=y,this.rules=v,this.scanner=c.createOnigScanner(y)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const c=[];for(let y=0,v=this.rules.length;y<v;y++)c.push(" - "+this.rules[y]+": "+this.regExps[y]);return c.join(`
4
+ `)}findNextMatchSync(c,y,v){const m=this.scanner.findNextMatchSync(c,y,v);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}r.CompiledRule=_},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 a=i(878);class u{constructor(k,d,_){this._colorMap=k,this._defaults=d,this._root=_,this._cachedMatchRoot=new a.CachedFn(g=>this._root.match(g))}static createFromRawTheme(k,d){return this.createFromParsedTheme(h(k),d)}static createFromParsedTheme(k,d){return function(_,g){_.sort((S,R)=>{let B=a.strcmp(S.scope,R.scope);return B!==0?B:(B=a.strArrCmp(S.parentScopes,R.parentScopes),B!==0?B:S.index-R.index)});let c=0,y="#000000",v="#ffffff";for(;_.length>=1&&_[0].scope==="";){let S=_.shift();S.fontStyle!==-1&&(c=S.fontStyle),S.foreground!==null&&(y=S.foreground),S.background!==null&&(v=S.background)}let m=new b(g),w=new f(c,m.getId(y),m.getId(v)),N=new A(new P(0,null,-1,0,0),[]);for(let S=0,R=_.length;S<R;S++){let B=_[S];N.insert(0,B.scope,B.parentScopes,B.fontStyle,m.getId(B.foreground),m.getId(B.background))}return new u(m,w,N)}(k,d)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(k){if(k===null)return this._defaults;const d=k.scopeName,_=this._cachedMatchRoot.get(d).find(g=>function(c,y){if(y===null)return!0;let v=0,m=y[v];for(;c;){if(p(c.scopeName,m)){if(v++,v===y.length)return!0;m=y[v]}c=c.parent}return!1}(k.parent,g.parentScopes));return _?new f(_.fontStyle,_.foreground,_.background):null}}r.Theme=u;class l{constructor(k,d){this.parent=k,this.scopeName=d}static from(...k){let d=null;for(let _=0;_<k.length;_++)d=new l(d,k[_]);return d}push(k){return new l(this,k)}getSegments(){let k=this;const d=[];for(;k;)d.push(k.scopeName),k=k.parent;return d.reverse(),d}toString(){return this.getSegments().join(" ")}}function p(L,k){return k===L||L.startsWith(k)&&L[k.length]==="."}r.ScopeStack=l;class f{constructor(k,d,_){this.fontStyle=k,this.foregroundId=d,this.backgroundId=_}}function h(L){if(!L)return[];if(!L.settings||!Array.isArray(L.settings))return[];let k=L.settings,d=[],_=0;for(let g=0,c=k.length;g<c;g++){let y,v=k[g];if(!v.settings)continue;if(typeof v.scope=="string"){let S=v.scope;S=S.replace(/^[,]+/,""),S=S.replace(/[,]+$/,""),y=S.split(",")}else y=Array.isArray(v.scope)?v.scope:[""];let m=-1;if(typeof v.settings.fontStyle=="string"){m=0;let S=v.settings.fontStyle.split(" ");for(let R=0,B=S.length;R<B;R++)switch(S[R]){case"italic":m|=1;break;case"bold":m|=2;break;case"underline":m|=4;break;case"strikethrough":m|=8}}let w=null;typeof v.settings.foreground=="string"&&a.isValidHexColor(v.settings.foreground)&&(w=v.settings.foreground);let N=null;typeof v.settings.background=="string"&&a.isValidHexColor(v.settings.background)&&(N=v.settings.background);for(let S=0,R=y.length;S<R;S++){let B=y[S].trim().split(" "),D=B[B.length-1],I=null;B.length>1&&(I=B.slice(0,B.length-1),I.reverse()),d[_++]=new T(D,I,g,m,w,N)}}return d}r.StyleAttributes=f,r.parseTheme=h;class T{constructor(k,d,_,g,c,y){this.scope=k,this.parentScopes=d,this.index=_,this.fontStyle=g,this.foreground=c,this.background=y}}r.ParsedThemeRule=T,r.fontStyleToString=function(L){if(L===-1)return"not set";let k="";return 1&L&&(k+="italic "),2&L&&(k+="bold "),4&L&&(k+="underline "),8&L&&(k+="strikethrough "),k===""&&(k="none"),k.trim()};class b{constructor(k){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(k)){this._isFrozen=!0;for(let d=0,_=k.length;d<_;d++)this._color2id[k[d]]=d,this._id2color[d]=k[d]}else this._isFrozen=!1}getId(k){if(k===null)return 0;k=k.toUpperCase();let d=this._color2id[k];if(d)return d;if(this._isFrozen)throw new Error(`Missing color in color map - ${k}`);return d=++this._lastColorId,this._color2id[k]=d,this._id2color[d]=k,d}getColorMap(){return this._id2color.slice(0)}}r.ColorMap=b;class P{constructor(k,d,_,g,c){this.scopeDepth=k,this.parentScopes=d,this.fontStyle=_,this.foreground=g,this.background=c}clone(){return new P(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(k){let d=[];for(let _=0,g=k.length;_<g;_++)d[_]=k[_].clone();return d}acceptOverwrite(k,d,_,g){this.scopeDepth>k?console.log("how did this happen?"):this.scopeDepth=k,d!==-1&&(this.fontStyle=d),_!==0&&(this.foreground=_),g!==0&&(this.background=g)}}r.ThemeTrieElementRule=P;class A{constructor(k,d=[],_={}){this._mainRule=k,this._children=_,this._rulesWithParentScopes=d}static _sortBySpecificity(k){return k.length===1||k.sort(this._cmpBySpecificity),k}static _cmpBySpecificity(k,d){if(k.scopeDepth===d.scopeDepth){const _=k.parentScopes,g=d.parentScopes;let c=_===null?0:_.length,y=g===null?0:g.length;if(c===y)for(let v=0;v<c;v++){const m=_[v].length,w=g[v].length;if(m!==w)return w-m}return y-c}return d.scopeDepth-k.scopeDepth}match(k){if(k==="")return A._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let d,_,g=k.indexOf(".");return g===-1?(d=k,_=""):(d=k.substring(0,g),_=k.substring(g+1)),this._children.hasOwnProperty(d)?this._children[d].match(_):A._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(k,d,_,g,c,y){if(d==="")return void this._doInsertHere(k,_,g,c,y);let v,m,w,N=d.indexOf(".");N===-1?(v=d,m=""):(v=d.substring(0,N),m=d.substring(N+1)),this._children.hasOwnProperty(v)?w=this._children[v]:(w=new A(this._mainRule.clone(),P.cloneArr(this._rulesWithParentScopes)),this._children[v]=w),w.insert(k+1,m,_,g,c,y)}_doInsertHere(k,d,_,g,c){if(d!==null){for(let y=0,v=this._rulesWithParentScopes.length;y<v;y++){let m=this._rulesWithParentScopes[y];if(a.strArrCmp(m.parentScopes,d)===0)return void m.acceptOverwrite(k,_,g,c)}_===-1&&(_=this._mainRule.fontStyle),g===0&&(g=this._mainRule.foreground),c===0&&(c=this._mainRule.background),this._rulesWithParentScopes.push(new P(k,d,_,g,c))}else this._mainRule.acceptOverwrite(k,_,g,c)}}r.ThemeTrieElement=A},878:(o,r)=>{function i(l){return Array.isArray(l)?function(p){let f=[];for(let h=0,T=p.length;h<T;h++)f[h]=i(p[h]);return f}(l):typeof l=="object"?function(p){let f={};for(let h in p)f[h]=i(p[h]);return f}(l):l}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(l){return i(l)},r.mergeObjects=function(l,...p){return p.forEach(f=>{for(let h in f)l[h]=f[h]}),l},r.basename=function l(p){const f=~p.lastIndexOf("/")||~p.lastIndexOf("\\");return f===0?p:~f==p.length-1?l(p.substring(0,p.length-1)):p.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function u(l,p){return l<p?-1:l>p?1:0}r.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,p,f){return l.replace(a,(h,T,b,P)=>{let A=f[parseInt(T||b,10)];if(!A)return h;{let L=p.substring(A.start,A.end);for(;L[0]===".";)L=L.substring(1);switch(P){case"downcase":return L.toLowerCase();case"upcase":return L.toUpperCase();default:return L}}})}},r.strcmp=u,r.strArrCmp=function(l,p){if(l===null&&p===null)return 0;if(!l)return-1;if(!p)return 1;let f=l.length,h=p.length;if(f===h){for(let T=0;T<f;T++){let b=u(l[T],p[T]);if(b!==0)return b}return 0}return f-h},r.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},r.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},r.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const p=this.fn(l);return this.cache.set(l,p),p}},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 a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(787)})()})})($a);var Fa=$a.exports;const hs=[{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 _t=(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))(_t||{});class Me{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Me.getLanguageId(t),s=Me.getTokenType(t),o=Me.getFontStyle(t),r=Me.getForeground(t),i=Me.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 a=Me.getLanguageId(t),u=Me.getTokenType(t),l=Me.getFontStyle(t),p=Me.getForeground(t),f=Me.getBackground(t),h=Me.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(u=s===8?0:s),o!==-1&&(l=o),r!==0&&(p=r),i!==0&&(f=i),(a<<0|u<<8|l<<11|h<<10|p<<15|f<<24)>>>0}}function Jd(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function zd(e){return e.startsWith("./")?e.slice(2):e}function Ha(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Da(...e){return e.map(Jd).map(zd).join("/")}function Xd(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 Qd(e,t=!1){const n=e.length;let s=0,o="",r=0,i=16,a=0,u=0,l=0,p=0,f=0;function h(d,_){let g=0,c=0;for(;g<d||!_;){let y=e.charCodeAt(s);if(y>=48&&y<=57)c=c*16+y-48;else if(y>=65&&y<=70)c=c*16+y-65+10;else if(y>=97&&y<=102)c=c*16+y-97+10;else break;s++,g++}return g<d&&(c=-1),c}function T(d){s=d,o="",r=0,i=16,f=0}function b(){let d=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&Mt(e.charCodeAt(s)))for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;else return f=3,e.substring(d,s);let _=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&&Mt(e.charCodeAt(s))){for(s++;s<e.length&&Mt(e.charCodeAt(s));)s++;_=s}else f=3;return e.substring(d,_)}function P(){let d="",_=s;for(;;){if(s>=n){d+=e.substring(_,s),f=2;break}const g=e.charCodeAt(s);if(g===34){d+=e.substring(_,s),s++;break}if(g===92){if(d+=e.substring(_,s),s++,s>=n){f=2;break}switch(e.charCodeAt(s++)){case 34:d+='"';break;case 92:d+="\\";break;case 47:d+="/";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+=`
5
5
  `;break;case 114:d+="\r";break;case 116:d+=" ";break;case 117:const y=h(4,!0);y>=0?d+=String.fromCharCode(y):f=4;break;default:f=5}_=s;continue}if(g>=0&&g<=31)if(sn(g)){d+=e.substring(_,s),f=2;break}else f=6;s++}return d}function A(){if(o="",f=0,r=s,u=a,p=l,s>=n)return r=n,i=17;let d=e.charCodeAt(s);if(Ss(d)){do s++,o+=String.fromCharCode(d),d=e.charCodeAt(s);while(Ss(d));return i=15}if(sn(d))return s++,o+=String.fromCharCode(d),d===13&&e.charCodeAt(s)===10&&(s++,o+=`
6
- `),a++,l=s,i=14;switch(d){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=P(),i=10;case 47:const _=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!sn(e.charCodeAt(s));)s++;return o=e.substring(_,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const g=n-1;let c=!1;for(;s<g;){const y=e.charCodeAt(s);if(y===42&&e.charCodeAt(s+1)===47){s+=2,c=!0;break}s++,sn(y)&&(y===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return c||(s++,f=1),o=e.substring(_,s),i=13}return o+=String.fromCharCode(d),s++,i=16;case 45:if(o+=String.fromCharCode(d),s++,s===n||!Mt(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+=b(),i=11;default:for(;s<n&&L(d);)s++,d=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(d),s++,i=16}}function L(d){if(Ss(d)||sn(d))return!1;switch(d){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let d;do d=A();while(d>=12&&d<=15);return d}return{setPosition:T,getPosition:()=>s,scan:t?k:A,getToken:()=>i,getTokenValue:()=>o,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenStartLine:()=>u,getTokenStartCharacter:()=>r-p,getTokenError:()=>f}}function Ss(e){return e===32||e===9}function sn(e){return e===10||e===13}function Mt(e){return e>=48&&e<=57}var $o;(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"})($o||($o={}));var Yn;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Yn||(Yn={}));function Yd(e,t=[],n=Yn.DEFAULT){let s=null,o=[];const r=[];function i(u){Array.isArray(o)?o.push(u):s!==null&&(o[s]=u)}return Zd(e,{onObjectBegin:()=>{const u={};i(u),r.push(o),o=u,s=null},onObjectProperty:u=>{s=u},onObjectEnd:()=>{o=r.pop()},onArrayBegin:()=>{const u=[];i(u),r.push(o),o=u,s=null},onArrayEnd:()=>{o=r.pop()},onLiteralValue:i,onError:(u,l,p)=>{t.push({error:u,offset:l,length:p})}},n),o[0]}function Zd(e,t,n=Yn.DEFAULT){const s=Xd(e,!1),o=[];function r(S){return S?()=>S(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(S){return S?()=>S(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}function a(S){return S?R=>S(R,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function u(S){return S?R=>S(R,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}const l=i(t.onObjectBegin),p=u(t.onObjectProperty),f=r(t.onObjectEnd),h=i(t.onArrayBegin),T=r(t.onArrayEnd),b=u(t.onLiteralValue),P=a(t.onSeparator),A=r(t.onComment),L=a(t.onError),k=n&&n.disallowComments,d=n&&n.allowTrailingComma;function _(){for(;;){const S=s.scan();switch(s.getTokenError()){case 4:g(14);break;case 5:g(15);break;case 3:g(13);break;case 1:k||g(11);break;case 2:g(12);break;case 6:g(16);break}switch(S){case 12:case 13:k?g(10):A();break;case 16:g(1);break;case 15:case 14:break;default:return S}}}function g(S,R=[],$=[]){if(L(S),R.length+$.length>0){let D=s.getToken();for(;D!==17;){if(R.indexOf(D)!==-1){_();break}else if($.indexOf(D)!==-1)break;D=_()}}}function c(S){const R=s.getTokenValue();return S?b(R):(p(R),o.push(R)),_(),!0}function y(){switch(s.getToken()){case 11:const S=s.getTokenValue();let R=Number(S);isNaN(R)&&(g(2),R=0),b(R);break;case 7:b(null);break;case 8:b(!0);break;case 9:b(!1);break;default:return!1}return _(),!0}function v(){return s.getToken()!==10?(g(3,[],[2,5]),!1):(c(!1),s.getToken()===6?(P(":"),_(),N()||g(4,[],[2,5])):g(5,[],[2,5]),o.pop(),!0)}function m(){l(),_();let S=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(S||g(4,[],[]),P(","),_(),s.getToken()===2&&d)break}else S&&g(6,[],[]);v()||g(4,[],[2,5]),S=!0}return f(),s.getToken()!==2?g(7,[2],[]):_(),!0}function w(){h(),_();let S=!0,R=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(R||g(4,[],[]),P(","),_(),s.getToken()===4&&d)break}else R&&g(6,[],[]);S?(o.push(0),S=!1):o[o.length-1]++,N()||g(4,[],[4,5]),R=!0}return T(),S||o.pop(),s.getToken()!==4?g(8,[4],[]):_(),!0}function N(){switch(s.getToken()){case 3:return w();case 1:return m();case 10:return c(!0);default:return y()}}return _(),s.getToken()===17?n.allowEmptyContent?!0:(g(4,[],[]),!1):N()?(s.getToken()!==17&&g(9,[],[]),!0):(g(4,[],[]),!1)}var Bo;(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"})(Bo||(Bo={}));var Fo;(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"})(Fo||(Fo={}));const eh=Yd;var Ho;(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"})(Ho||(Ho={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Ua="";const th="dist/";function nh(e){Ua=e.endsWith("/")?e:e+"/"}let As=null;async function sh(e){if(!As){let t;t=xs.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Wa(Da(...Ha(e),"onig.wasm")))}),As=t.then(()=>({createOnigScanner(n){return xs.createOnigScanner(n)},createOnigString(n){return xs.createOnigString(n)}}))}return As}function Wa(e){return`${Ua}${e}`}async function rh(e){const t=Wa(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Ga(e){const t=[],n=await rh(e);let s;try{s=JSON.parse(n)}catch{if(s=eh(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function qa(e){let t=await Ga(e);const n=Va(t);if(n.include){const s=await qa(Da(...Ha(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 oh(e){return await Ga(e)}function ih(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 Va(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...ah(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),ih(n),n}const Do={light:"#333333",dark:"#bbbbbb"},Uo={light:"#fffffe",dark:"#1e1e1e"};function ah(e){var r,i,a,u;let t,n,s=e.settings?e.settings:e.tokenColors;const o=s?s.find(l=>!l.name&&!l.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&&((a=e==null?void 0:e.colors)!=null&&a["editor.foreground"])&&(t=e.colors["editor.foreground"]),!n&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?Do.light:Do.dark),n||(n=e.type==="light"?Uo.light:Uo.dark),{fg:t,bg:n}}class lh{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 oh(hs.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 ch(e,t,n,s,o){let r=n.split(/\r\n|\r|\n/),i=Fa.INITIAL,a=[],u=[];for(let l=0,p=r.length;l<p;l++){let f=r[l];if(f===""){a=[],u.push([]);continue}let h,T,b;o.includeExplanation&&(h=s.tokenizeLine(f,i),T=h.tokens,b=0);let P=s.tokenizeLine2(f,i),A=P.tokens.length/2;for(let L=0;L<A;L++){let k=P.tokens[2*L],d=L+1<A?P.tokens[2*L+2]:f.length;if(k===d)continue;let _=P.tokens[2*L+1],g=Me.getForeground(_),c=t[g],y=Me.getFontStyle(_),v=[];if(o.includeExplanation){let m=0;for(;k+m<d;){let w=T[b],N=f.substring(w.startIndex,w.endIndex);m+=N.length,v.push({content:N,scopes:uh(e,w.scopes)}),b++}}a.push({content:f.substring(k,d),color:c,fontStyle:y,explanation:v})}u.push(a),a=[],i=P.ruleStack}return u}function uh(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:ph(e,i,r)}}return n}function Wo(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function fh(e,t,n,s){if(!Wo(e,n))return!1;let o=t.length-1,r=s.length-1;for(;o>=0&&r>=0;)Wo(t[o],s[r])&&o--,r--;return o===-1}function ph(e,t,n){let s=[],o=0;for(let r=0,i=e.settings.length;r<i;r++){let a=e.settings[r],u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let l=0,p=u.length;l<p;l++){let h=u[l].split(/ /),T=h[h.length-1],b=h.slice(0,h.length-1);fh(T,b,t,n)&&(s[o++]=a,l=p)}}return s}var at=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ps={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function dh(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 Go(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 hh(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)Ps[s]&&t.push({type:"setDecoration",value:Ps[s]});else if(s<=29){const o=Ps[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:at[s-30]}});else if(s===38){const o=Go(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:at[s-40]}});else if(s===48){const o=Go(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:at[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:at[s-100+8]}})}return t}function mh(){let e=null,t=null,n=new Set;return{parse(s){const o=[];let r=0;do{const i=dh(s,r),a=i.sequence?s.substring(r,i.startPosition):s.substring(r);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const u=hh(i.sequence);for(const l of u)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of u)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}r=i.position}while(r<s.length);return o}}}var gh={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 _h(e=gh){function t(a){return e[a]}function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let s;function o(){if(s)return s;s=[];for(let l=0;l<at.length;l++)s.push(t(at[l]));let a=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let p=0;p<6;p++)for(let f=0;f<6;f++)s.push(n([a[l],a[p],a[f]]));let u=8;for(let l=0;l<24;l++,u+=10)s.push(n([u,u,u]));return s}function r(a){return o()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return r(a.index)}}return{value:i}}function yh(e,t){const n=t.split(/\r?\n/),s=_h(Object.fromEntries(at.map(r=>[r,e.colors[`terminal.ansi${r[0].toUpperCase()}${r.substring(1)}`]]))),o=mh();return n.map(r=>o.parse(r).map(i=>{let a;i.decorations.has("reverse")?a=i.background?s.value(i.background):e.bg:a=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=bh(a));let u=_t.None;return i.decorations.has("bold")&&(u|=_t.Bold),i.decorations.has("italic")&&(u|=_t.Italic),i.decorations.has("underline")&&(u|=_t.Underline),{content:i.value,color:a,fontStyle:u}}))}function bh(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 vh={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 qo(e,t={}){const n=t.bg||"#fff",s=Qd(t.lineOptions??[],i=>i.line),o=t.elements||{};function r(i="",a={},u){const l=o[i]||vh[i];return l?(u=u.filter(Boolean),l({...a,children:i==="code"?u.join(`
7
- `):u.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,a)=>{const u=a+1,l=s.get(u)??[],p=Nh(l).join(" ");return r("line",{className:p,lines:e,line:i,index:a},i.map((f,h)=>{const T=[`color: ${f.color||t.fg}`];return f.fontStyle&_t.Italic&&T.push("font-style: italic"),f.fontStyle&_t.Bold&&T.push("font-weight: bold"),f.fontStyle&_t.Underline&&T.push("text-decoration: underline"),r("token",{style:T.join("; "),tokens:i,token:f,index:h},[kh(f.content)])}))}))])}const wh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function kh(e){return e.replace(/[&<>"']/g,t=>wh[t])}function Nh(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 Th extends Fa.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=hs.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 qa(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Va(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,a,u)=>{if(!this.getLoadedLanguages().includes(a)&&this._resolver.getLangRegistration(a))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(a).scopeName),i[this._resolver.getLangRegistration(a).scopeName]=u+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 Ka(e){return typeof e=="string"?hs.find(t=>{var n;return t.id===e||((n=t.aliases)==null?void 0:n.includes(e))}):e}function Lh(e){var o;let t=hs,n=e.themes||[],s=(o=e.paths)!=null&&o.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":th;return e.langs&&(t=e.langs.map(Ka)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function xh(){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<at.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=at[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function Sh(e){var v,m;const{_languages:t,_themes:n,_wasmPath:s}=Lh(e),o=new lh(sh(s),"vscode-oniguruma"),r=new Th(o);(v=e.paths)!=null&&v.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 a=(await r.loadThemes(n))[0];let u;await r.loadLanguages(t);let l=xh();function p(w){l=w}function f(w,N){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([S,R])=>{w.colors[S]=l[R]||R}),N.forEach((S,R)=>{N[R]=l[S]||S})}function h(w){const N=w?r.getTheme(w):a;if(!N)throw Error(`No theme registration for ${w}`);(!u||u.name!==N.name)&&(r.setTheme(N),u=N);const S=r.getColorMap();return N.type==="css"&&f(N,S),{_theme:N,_colorMap:S}}function T(w){const N=r.getGrammar(w);if(!N)throw Error(`No language registration for ${w}`);return{_grammar:N}}function b(w,N="text",S,R={includeExplanation:!0}){if(Ah(N))return[...w.split(/\r\n|\r|\n/).map(q=>[{content:q}])];const{_grammar:$}=T(N),{_theme:D,_colorMap:I}=h(S);return ch(D,I,w,$,R)}function P(w,N){const{_theme:S}=h(N);return yh(S,w)}function A(w,N="text",S){let R;typeof N=="object"?R=N:R={lang:N,theme:S};const $=b(w,R.lang,R.theme,{includeExplanation:!1}),{_theme:D}=h(R.theme);return qo($,{fg:D.fg,bg:D.bg,lineOptions:R==null?void 0:R.lineOptions,themeName:D.name})}function L(w,N){const S=P(w,N==null?void 0:N.theme),{_theme:R}=h(N==null?void 0:N.theme);return qo(S,{fg:R.fg,bg:R.bg,lineOptions:N==null?void 0:N.lineOptions,themeName:R.name})}async function k(w){await r.loadTheme(w)}async function d(w){const N=Ka(w);o.addLanguage(N),await r.loadLanguage(N)}function _(){return r.getLoadedThemes()}function g(){return r.getLoadedLanguages()}function c(w){const{_theme:N}=h(w);return N.bg}function y(w){const{_theme:N}=h(w);return N.fg}return{codeToThemedTokens:b,codeToHtml:A,ansiToThemedTokens:P,ansiToHtml:L,getTheme:w=>h(w)._theme,loadTheme:k,loadLanguage:d,getBackgroundColor:c,getForegroundColor:y,getLoadedThemes:_,getLoadedLanguages:g,setColorReplacements:p}}function Ah(e){return!e||["plaintext","txt","text"].includes(e)}const Ph="0.14.0";nh(`https://cdn.jsdelivr.net/npm/shiki-es@${Ph}/dist/assets/`);let jh;const rn=[];function Rh(e){if(rn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&rn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&rn.forEach(n=>n(t))},get(){return jh.value},configurable:!0}),()=>{rn.splice(rn.indexOf(e),1)}}const $t=ve(null),Ja=ve(null);async function za(){var e;$t.value=(e=(await Xa.value.resolveTags()).filter(t=>t.key==="schema-org-graph")[0])==null?void 0:e.innerHTML,er.value&&(Ja.value=await er.value("/__schema-org__/debug.json"))}const Qa=ve(),er=ve(),Xa=ve();Rh(async e=>{er.value=e.host.app.$fetch,Qa.value=e.devtools;const t=e.host.nuxt.vueApp._context.provides.usehead;e.host.nuxt.$router.afterEach(()=>{setTimeout(async()=>{var n;$t.value=(n=(await t.resolveTags()).filter(s=>s.key==="schema-org-graph")[0])==null?void 0:n.innerHTML},100)}),Xa.value=t,za()});const Ya=ve();function Eh(){return Sh({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Ya.value=e})}function Oh(e,t){return Xe(()=>{var s;const n=((s=Qa.value)==null?void 0:s.colorMode)||"light";return Ya.value.codeToHtml(ge(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Ih={class:"group relative"},Ch=["innerHTML"],Mh=ct({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=qd(),s=ve("carbon:copy");function o(){n.copy(t.code),s.value="carbon:checkmark",setTimeout(()=>{s.value="carbon:copy"},2e3)}const r=Xe(()=>{const i=Oh(t.code,t.lang);return t.transformRendered?t.transformRendered(i.value||""):i.value});return(i,a)=>{const u=Cd;return ae(),Te("div",Ih,[re(u,{icon:ge(s),variant:"solid",class:"absolute right-3 top-3 opacity-0 group-hover:opacity-100 transition-opacity z-[1]",size:"xs",tabindex:"-1",onClick:o},null,8,["icon"]),ne("pre",{class:Ie(["n-code-block",i.lines?"n-code-block-lines":""]),innerHTML:r.value},null,10,Ch)])}}});const $h={flex:"~ gap-3","items-center":""},Bh=ct({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(ae(),Te("div",$h,[t.icon?(ae(),Te("div",{key:0,class:Ie(t.icon)},null,2)):it("",!0),Ge(t.$slots,"default",{},()=>[ne("div",null,At(t.text),1)])]))}}),Za=e=>(Yl("data-v-348c1d92"),e=e(),Zl(),e),Fh=["open"],Hh={"text-base":""},Dh={key:0,"text-sm":"",op50:""},Uh=Za(()=>ne("div",{class:"flex-auto"},null,-1)),Wh=Za(()=>ne("div",{class:"x-divider"},null,-1)),Gh=ct({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=Kd(e,"open");function s(o){n.value=o.target.open}return(o,r)=>{const i=Or,a=Bh;return ae(),Te(je,null,[ne("details",{open:ge(n),onToggle:s},[ne("summary",{class:Ie(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[re(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ie([ge(n)?"op100":"op60",o.headerClass])},{default:$e(()=>[ne("div",null,[ne("div",Hh,[Ge(o.$slots,"text",{},()=>[Be(At(o.text),1)],!0)]),o.description||o.$slots.description?(ae(),Te("div",Dh,[Ge(o.$slots,"description",{},()=>[Be(At(o.description),1)],!0)])):it("",!0)]),Uh,Ge(o.$slots,"actions",{},void 0,!0),o.collapse?(ae(),Oe(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):it("",!0)]),_:3},8,["icon","text","class"])],2),ne("div",{class:Ie(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Ge(o.$slots,"details",{},void 0,!0),ne("div",{class:Ie([o.containerClass,"mt1"])},[Ge(o.$slots,"default",{},void 0,!0)],2),Ge(o.$slots,"footer",{},void 0,!0)],2)],40,Fh),Wh],64)}}});const qh=ps(Gh,[["__scopeId","data-v-348c1d92"]]),Vh={class:"relative p8 n-bg-base flex flex-col h-screen"},Kh={class:"flex justify-between items-center",mb6:""},Jh={"text-xl":"",mb2:"",flex:"","items-center":"","gap-2":""},zh={class:"space-x-3 mt-1 ml-1 opacity-80 text-sm"},Qh={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Xh=ne("span",{class:"hidden sm:block"},"Nuxt",-1),Yh=ne("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),Zh={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},em={class:"px-2 py-1"},tm={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},nm=ne("p",{"text-xs":"",op60:""}," The Schema.org nodes that are generated from your application. ",-1),sm={class:"px-2 py-1"},rm={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},om=ne("p",{"text-xs":"",op60:""}," The raw JSON-LD snippet that is generated from your application. ",-1),im=["value","title"],am={key:0},lm={key:1,class:"mt-5"},cm={key:0},um={class:"opacity-80 text-base mb-1"},fm={class:"px-3 py-2 space-y-5"},pm={key:1,class:"space-y-5"},dm={class:"space-x-3"},hm=ne("div",{class:"flex-auto"},null,-1),mm=ct({__name:"app",async setup(e){let t,n;[t,n]=Lc(()=>Eh()),await t,n();const s=ve(!1);async function o(){s.value=!0,$t.value=null,await za(),setTimeout(()=>{s.value=!1},300)}const r=ve("nodes"),i=Xe(()=>JSON.parse($t.value)["@graph"]);return(a,u)=>{const l=Or,p=md,f=wd,h=Ad,T=Id,b=Mh,P=qh;return ae(),Te("div",Vh,[ne("div",null,[ne("div",Kh,[ne("div",null,[ne("h1",Jh,[re(l,{icon:"carbon:chart-relationship text-blue-300"}),Be(" Nuxt Schema.org "),re(p,{class:"text-sm"},{default:$e(()=>{var A,L;return[Be(At((L=(A="data"in a?a.data:ge(Ja))==null?void 0:A.runtimeConfig)==null?void 0:L.version),1)]}),_:1})]),ne("div",zh,[re(h,{href:"https://nuxtseo.com/sitemap",target:"_blank"},{default:$e(()=>[re(f,{class:"mr-[2px] w-5 h-5 inline"}),Be(" Documentation ")]),_:1}),re(h,{href:"https://github.com/harlan-zw/nuxt-simple-sitemap",target:"_blank"},{default:$e(()=>[Be(" Submit an issue ")]),_:1})])]),ne("div",null,[ne("a",Qh,[re(f),Xh,Yh])])])]),ne("div",null,[ne("fieldset",Zh,[(ae(),Te(je,null,Yr(["nodes","raw"],(A,L)=>ne("label",{key:L,class:Ie(["relative n-border-base hover:n-bg-active px-0.5em py-0.1em",[L?"border-l n-border-base ml--1px":"",A===r.value?"n-bg-active":""]])},[A==="nodes"?(ae(),Te("div",{key:0,class:Ie([A===r.value?"":"op35"])},[ne("div",em,[ne("h2",tm,[re(l,{icon:"carbon:connect-source opacity-50"}),Be(" Nodes "),re(p,{class:"text-sm"},{default:$e(()=>[Be(At(i.value.length),1)]),_:1})]),nm])],2)):it("",!0),A==="raw"?(ae(),Te("div",{key:1,class:Ie([A===r.value?"":"op35"])},[ne("div",sm,[ne("h2",rm,[re(l,{icon:"carbon:code opacity-50"}),Be(" Raw Snippet ")]),om])],2)):it("",!0),hc(ne("input",{"onUpdate:modelValue":u[0]||(u[0]=k=>r.value=k),type:"radio",value:A,title:A,class:"absolute inset-0 op-0.1"},null,8,im),[[bu,r.value]])],2)),64))]),ne("button",{class:"ml-5 hover:shadow-lg text-xs transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:o},[s.value?(ae(),Oe(l,{key:1,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):(ae(),Te("div",am," Refresh Data "))]),!ge($t)||s.value?(ae(),Oe(T,{key:0})):(ae(),Te("div",lm,[r.value==="nodes"?(ae(),Te("div",cm,[(ae(!0),Te(je,null,Yr(i.value,(A,L)=>(ae(),Oe(P,{key:L},{text:$e(()=>[ne("h3",um,At(Array.isArray(A["@type"])?A["@type"].join(", "):A["@type"]),1)]),description:$e(()=>[ne("div",null,At(A["@id"]),1)]),default:$e(()=>[ne("div",fm,[re(b,{code:JSON.stringify(A,null,4),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):it("",!0),r.value==="raw"?(ae(),Te("div",pm,[ne("div",dm,[re(h,{to:"https://validator.schema.org/",target:"_blank"},{default:$e(()=>[re(l,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),Be("Structured Data Test ")]),_:1}),re(h,{to:"https://search.google.com/test/rich-results",target:"_blank"},{default:$e(()=>[re(l,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),Be("Rich Results Test ")]),_:1})]),re(b,{code:ge($t),lang:"json"},null,8,["code"])])):it("",!0)]))]),hm])}}}),gm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
6
+ `),a++,l=s,i=14;switch(d){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=P(),i=10;case 47:const _=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!sn(e.charCodeAt(s));)s++;return o=e.substring(_,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const g=n-1;let c=!1;for(;s<g;){const y=e.charCodeAt(s);if(y===42&&e.charCodeAt(s+1)===47){s+=2,c=!0;break}s++,sn(y)&&(y===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return c||(s++,f=1),o=e.substring(_,s),i=13}return o+=String.fromCharCode(d),s++,i=16;case 45:if(o+=String.fromCharCode(d),s++,s===n||!Mt(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+=b(),i=11;default:for(;s<n&&L(d);)s++,d=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(d),s++,i=16}}function L(d){if(Ss(d)||sn(d))return!1;switch(d){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let d;do d=A();while(d>=12&&d<=15);return d}return{setPosition:T,getPosition:()=>s,scan:t?k:A,getToken:()=>i,getTokenValue:()=>o,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenStartLine:()=>u,getTokenStartCharacter:()=>r-p,getTokenError:()=>f}}function Ss(e){return e===32||e===9}function sn(e){return e===10||e===13}function Mt(e){return e>=48&&e<=57}var Bo;(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"})(Bo||(Bo={}));var Yn;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Yn||(Yn={}));function Yd(e,t=[],n=Yn.DEFAULT){let s=null,o=[];const r=[];function i(u){Array.isArray(o)?o.push(u):s!==null&&(o[s]=u)}return Zd(e,{onObjectBegin:()=>{const u={};i(u),r.push(o),o=u,s=null},onObjectProperty:u=>{s=u},onObjectEnd:()=>{o=r.pop()},onArrayBegin:()=>{const u=[];i(u),r.push(o),o=u,s=null},onArrayEnd:()=>{o=r.pop()},onLiteralValue:i,onError:(u,l,p)=>{t.push({error:u,offset:l,length:p})}},n),o[0]}function Zd(e,t,n=Yn.DEFAULT){const s=Qd(e,!1),o=[];function r(S){return S?()=>S(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(S){return S?()=>S(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}function a(S){return S?R=>S(R,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function u(S){return S?R=>S(R,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}const l=i(t.onObjectBegin),p=u(t.onObjectProperty),f=r(t.onObjectEnd),h=i(t.onArrayBegin),T=r(t.onArrayEnd),b=u(t.onLiteralValue),P=a(t.onSeparator),A=r(t.onComment),L=a(t.onError),k=n&&n.disallowComments,d=n&&n.allowTrailingComma;function _(){for(;;){const S=s.scan();switch(s.getTokenError()){case 4:g(14);break;case 5:g(15);break;case 3:g(13);break;case 1:k||g(11);break;case 2:g(12);break;case 6:g(16);break}switch(S){case 12:case 13:k?g(10):A();break;case 16:g(1);break;case 15:case 14:break;default:return S}}}function g(S,R=[],B=[]){if(L(S),R.length+B.length>0){let D=s.getToken();for(;D!==17;){if(R.indexOf(D)!==-1){_();break}else if(B.indexOf(D)!==-1)break;D=_()}}}function c(S){const R=s.getTokenValue();return S?b(R):(p(R),o.push(R)),_(),!0}function y(){switch(s.getToken()){case 11:const S=s.getTokenValue();let R=Number(S);isNaN(R)&&(g(2),R=0),b(R);break;case 7:b(null);break;case 8:b(!0);break;case 9:b(!1);break;default:return!1}return _(),!0}function v(){return s.getToken()!==10?(g(3,[],[2,5]),!1):(c(!1),s.getToken()===6?(P(":"),_(),N()||g(4,[],[2,5])):g(5,[],[2,5]),o.pop(),!0)}function m(){l(),_();let S=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(S||g(4,[],[]),P(","),_(),s.getToken()===2&&d)break}else S&&g(6,[],[]);v()||g(4,[],[2,5]),S=!0}return f(),s.getToken()!==2?g(7,[2],[]):_(),!0}function w(){h(),_();let S=!0,R=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(R||g(4,[],[]),P(","),_(),s.getToken()===4&&d)break}else R&&g(6,[],[]);S?(o.push(0),S=!1):o[o.length-1]++,N()||g(4,[],[4,5]),R=!0}return T(),S||o.pop(),s.getToken()!==4?g(8,[4],[]):_(),!0}function N(){switch(s.getToken()){case 3:return w();case 1:return m();case 10:return c(!0);default:return y()}}return _(),s.getToken()===17?n.allowEmptyContent?!0:(g(4,[],[]),!1):N()?(s.getToken()!==17&&g(9,[],[]),!0):(g(4,[],[]),!1)}var $o;(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"})($o||($o={}));var Fo;(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"})(Fo||(Fo={}));const eh=Yd;var Ho;(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"})(Ho||(Ho={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Ua="";const th="dist/";function nh(e){Ua=e.endsWith("/")?e:e+"/"}let As=null;async function sh(e){if(!As){let t;t=xs.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Wa(Da(...Ha(e),"onig.wasm")))}),As=t.then(()=>({createOnigScanner(n){return xs.createOnigScanner(n)},createOnigString(n){return xs.createOnigString(n)}}))}return As}function Wa(e){return`${Ua}${e}`}async function rh(e){const t=Wa(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Ga(e){const t=[],n=await rh(e);let s;try{s=JSON.parse(n)}catch{if(s=eh(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function qa(e){let t=await Ga(e);const n=Va(t);if(n.include){const s=await qa(Da(...Ha(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 oh(e){return await Ga(e)}function ih(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 Va(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...ah(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),ih(n),n}const Do={light:"#333333",dark:"#bbbbbb"},Uo={light:"#fffffe",dark:"#1e1e1e"};function ah(e){var r,i,a,u;let t,n,s=e.settings?e.settings:e.tokenColors;const o=s?s.find(l=>!l.name&&!l.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&&((a=e==null?void 0:e.colors)!=null&&a["editor.foreground"])&&(t=e.colors["editor.foreground"]),!n&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?Do.light:Do.dark),n||(n=e.type==="light"?Uo.light:Uo.dark),{fg:t,bg:n}}class lh{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 oh(hs.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 ch(e,t,n,s,o){let r=n.split(/\r\n|\r|\n/),i=Fa.INITIAL,a=[],u=[];for(let l=0,p=r.length;l<p;l++){let f=r[l];if(f===""){a=[],u.push([]);continue}let h,T,b;o.includeExplanation&&(h=s.tokenizeLine(f,i),T=h.tokens,b=0);let P=s.tokenizeLine2(f,i),A=P.tokens.length/2;for(let L=0;L<A;L++){let k=P.tokens[2*L],d=L+1<A?P.tokens[2*L+2]:f.length;if(k===d)continue;let _=P.tokens[2*L+1],g=Me.getForeground(_),c=t[g],y=Me.getFontStyle(_),v=[];if(o.includeExplanation){let m=0;for(;k+m<d;){let w=T[b],N=f.substring(w.startIndex,w.endIndex);m+=N.length,v.push({content:N,scopes:uh(e,w.scopes)}),b++}}a.push({content:f.substring(k,d),color:c,fontStyle:y,explanation:v})}u.push(a),a=[],i=P.ruleStack}return u}function uh(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:ph(e,i,r)}}return n}function Wo(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function fh(e,t,n,s){if(!Wo(e,n))return!1;let o=t.length-1,r=s.length-1;for(;o>=0&&r>=0;)Wo(t[o],s[r])&&o--,r--;return o===-1}function ph(e,t,n){let s=[],o=0;for(let r=0,i=e.settings.length;r<i;r++){let a=e.settings[r],u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let l=0,p=u.length;l<p;l++){let h=u[l].split(/ /),T=h[h.length-1],b=h.slice(0,h.length-1);fh(T,b,t,n)&&(s[o++]=a,l=p)}}return s}var at=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ps={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function dh(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 Go(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 hh(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)Ps[s]&&t.push({type:"setDecoration",value:Ps[s]});else if(s<=29){const o=Ps[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:at[s-30]}});else if(s===38){const o=Go(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:at[s-40]}});else if(s===48){const o=Go(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:at[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:at[s-100+8]}})}return t}function mh(){let e=null,t=null,n=new Set;return{parse(s){const o=[];let r=0;do{const i=dh(s,r),a=i.sequence?s.substring(r,i.startPosition):s.substring(r);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const u=hh(i.sequence);for(const l of u)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of u)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}r=i.position}while(r<s.length);return o}}}var gh={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 _h(e=gh){function t(a){return e[a]}function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let s;function o(){if(s)return s;s=[];for(let l=0;l<at.length;l++)s.push(t(at[l]));let a=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let p=0;p<6;p++)for(let f=0;f<6;f++)s.push(n([a[l],a[p],a[f]]));let u=8;for(let l=0;l<24;l++,u+=10)s.push(n([u,u,u]));return s}function r(a){return o()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return r(a.index)}}return{value:i}}function yh(e,t){const n=t.split(/\r?\n/),s=_h(Object.fromEntries(at.map(r=>[r,e.colors[`terminal.ansi${r[0].toUpperCase()}${r.substring(1)}`]]))),o=mh();return n.map(r=>o.parse(r).map(i=>{let a;i.decorations.has("reverse")?a=i.background?s.value(i.background):e.bg:a=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=bh(a));let u=_t.None;return i.decorations.has("bold")&&(u|=_t.Bold),i.decorations.has("italic")&&(u|=_t.Italic),i.decorations.has("underline")&&(u|=_t.Underline),{content:i.value,color:a,fontStyle:u}}))}function bh(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 vh={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 qo(e,t={}){const n=t.bg||"#fff",s=Xd(t.lineOptions??[],i=>i.line),o=t.elements||{};function r(i="",a={},u){const l=o[i]||vh[i];return l?(u=u.filter(Boolean),l({...a,children:i==="code"?u.join(`
7
+ `):u.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,a)=>{const u=a+1,l=s.get(u)??[],p=Nh(l).join(" ");return r("line",{className:p,lines:e,line:i,index:a},i.map((f,h)=>{const T=[`color: ${f.color||t.fg}`];return f.fontStyle&_t.Italic&&T.push("font-style: italic"),f.fontStyle&_t.Bold&&T.push("font-weight: bold"),f.fontStyle&_t.Underline&&T.push("text-decoration: underline"),r("token",{style:T.join("; "),tokens:i,token:f,index:h},[kh(f.content)])}))}))])}const wh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function kh(e){return e.replace(/[&<>"']/g,t=>wh[t])}function Nh(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 Th extends Fa.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=hs.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 qa(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Va(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,a,u)=>{if(!this.getLoadedLanguages().includes(a)&&this._resolver.getLangRegistration(a))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(a).scopeName),i[this._resolver.getLangRegistration(a).scopeName]=u+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 Ka(e){return typeof e=="string"?hs.find(t=>{var n;return t.id===e||((n=t.aliases)==null?void 0:n.includes(e))}):e}function Lh(e){var o;let t=hs,n=e.themes||[],s=(o=e.paths)!=null&&o.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":th;return e.langs&&(t=e.langs.map(Ka)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function xh(){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<at.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=at[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function Sh(e){var v,m;const{_languages:t,_themes:n,_wasmPath:s}=Lh(e),o=new lh(sh(s),"vscode-oniguruma"),r=new Th(o);(v=e.paths)!=null&&v.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 a=(await r.loadThemes(n))[0];let u;await r.loadLanguages(t);let l=xh();function p(w){l=w}function f(w,N){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([S,R])=>{w.colors[S]=l[R]||R}),N.forEach((S,R)=>{N[R]=l[S]||S})}function h(w){const N=w?r.getTheme(w):a;if(!N)throw Error(`No theme registration for ${w}`);(!u||u.name!==N.name)&&(r.setTheme(N),u=N);const S=r.getColorMap();return N.type==="css"&&f(N,S),{_theme:N,_colorMap:S}}function T(w){const N=r.getGrammar(w);if(!N)throw Error(`No language registration for ${w}`);return{_grammar:N}}function b(w,N="text",S,R={includeExplanation:!0}){if(Ah(N))return[...w.split(/\r\n|\r|\n/).map(q=>[{content:q}])];const{_grammar:B}=T(N),{_theme:D,_colorMap:I}=h(S);return ch(D,I,w,B,R)}function P(w,N){const{_theme:S}=h(N);return yh(S,w)}function A(w,N="text",S){let R;typeof N=="object"?R=N:R={lang:N,theme:S};const B=b(w,R.lang,R.theme,{includeExplanation:!1}),{_theme:D}=h(R.theme);return qo(B,{fg:D.fg,bg:D.bg,lineOptions:R==null?void 0:R.lineOptions,themeName:D.name})}function L(w,N){const S=P(w,N==null?void 0:N.theme),{_theme:R}=h(N==null?void 0:N.theme);return qo(S,{fg:R.fg,bg:R.bg,lineOptions:N==null?void 0:N.lineOptions,themeName:R.name})}async function k(w){await r.loadTheme(w)}async function d(w){const N=Ka(w);o.addLanguage(N),await r.loadLanguage(N)}function _(){return r.getLoadedThemes()}function g(){return r.getLoadedLanguages()}function c(w){const{_theme:N}=h(w);return N.bg}function y(w){const{_theme:N}=h(w);return N.fg}return{codeToThemedTokens:b,codeToHtml:A,ansiToThemedTokens:P,ansiToHtml:L,getTheme:w=>h(w)._theme,loadTheme:k,loadLanguage:d,getBackgroundColor:c,getForegroundColor:y,getLoadedThemes:_,getLoadedLanguages:g,setColorReplacements:p}}function Ah(e){return!e||["plaintext","txt","text"].includes(e)}const Ph="0.14.0";nh(`https://cdn.jsdelivr.net/npm/shiki-es@${Ph}/dist/assets/`);let jh;const rn=[];function Rh(e){if(rn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&rn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&rn.forEach(n=>n(t))},get(){return jh.value},configurable:!0}),()=>{rn.splice(rn.indexOf(e),1)}}const Bt=ve(null),Ja=ve(null);async function za(){var e;Bt.value=(e=(await Qa.value.resolveTags()).filter(t=>t.key==="schema-org-graph")[0])==null?void 0:e.innerHTML,er.value&&(Ja.value=await er.value("/__schema-org__/debug.json"))}const Xa=ve(),er=ve(),Qa=ve();Rh(async e=>{er.value=e.host.app.$fetch,Xa.value=e.devtools;const t=e.host.nuxt.vueApp._context.provides.usehead;e.host.nuxt.$router.afterEach(()=>{setTimeout(async()=>{var n;Bt.value=(n=(await t.resolveTags()).filter(s=>s.key==="schema-org-graph")[0])==null?void 0:n.innerHTML},100)}),Qa.value=t,za()});const Ya=ve();function Eh(){return Sh({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Ya.value=e})}function Oh(e,t){return Qe(()=>{var s;const n=((s=Xa.value)==null?void 0:s.colorMode)||"light";return Ya.value.codeToHtml(ge(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Ih={class:"group relative"},Ch=["innerHTML"],Mh=ct({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=qd(),s=ve("carbon:copy");function o(){n.copy(t.code),s.value="carbon:checkmark",setTimeout(()=>{s.value="carbon:copy"},2e3)}const r=Qe(()=>{const i=Oh(t.code,t.lang);return t.transformRendered?t.transformRendered(i.value||""):i.value});return(i,a)=>{const u=Cd;return ae(),Te("div",Ih,[re(u,{icon:ge(s),variant:"solid",class:"absolute right-3 top-3 opacity-0 group-hover:opacity-100 transition-opacity z-[1]",size:"xs",tabindex:"-1",onClick:o},null,8,["icon"]),ne("pre",{class:Ie(["n-code-block",i.lines?"n-code-block-lines":""]),innerHTML:r.value},null,10,Ch)])}}});const Bh={flex:"~ gap-3","items-center":""},$h=ct({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(ae(),Te("div",Bh,[t.icon?(ae(),Te("div",{key:0,class:Ie(t.icon)},null,2)):it("",!0),Ge(t.$slots,"default",{},()=>[ne("div",null,At(t.text),1)])]))}}),Za=e=>(Yl("data-v-348c1d92"),e=e(),Zl(),e),Fh=["open"],Hh={"text-base":""},Dh={key:0,"text-sm":"",op50:""},Uh=Za(()=>ne("div",{class:"flex-auto"},null,-1)),Wh=Za(()=>ne("div",{class:"x-divider"},null,-1)),Gh=ct({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=Kd(e,"open");function s(o){n.value=o.target.open}return(o,r)=>{const i=Or,a=$h;return ae(),Te(je,null,[ne("details",{open:ge(n),onToggle:s},[ne("summary",{class:Ie(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[re(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ie([ge(n)?"op100":"op60",o.headerClass])},{default:Be(()=>[ne("div",null,[ne("div",Hh,[Ge(o.$slots,"text",{},()=>[$e(At(o.text),1)],!0)]),o.description||o.$slots.description?(ae(),Te("div",Dh,[Ge(o.$slots,"description",{},()=>[$e(At(o.description),1)],!0)])):it("",!0)]),Uh,Ge(o.$slots,"actions",{},void 0,!0),o.collapse?(ae(),Oe(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):it("",!0)]),_:3},8,["icon","text","class"])],2),ne("div",{class:Ie(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Ge(o.$slots,"details",{},void 0,!0),ne("div",{class:Ie([o.containerClass,"mt1"])},[Ge(o.$slots,"default",{},void 0,!0)],2),Ge(o.$slots,"footer",{},void 0,!0)],2)],40,Fh),Wh],64)}}});const qh=ps(Gh,[["__scopeId","data-v-348c1d92"]]),Vh={class:"relative p8 n-bg-base flex flex-col h-screen"},Kh={class:"flex justify-between items-center",mb6:""},Jh={"text-xl":"",mb2:"",flex:"","items-center":"","gap-2":""},zh={class:"space-x-3 mt-1 ml-1 opacity-80 text-sm"},Xh={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Qh=ne("span",{class:"hidden sm:block"},"Nuxt",-1),Yh=ne("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),Zh={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},em={class:"px-2 py-1"},tm={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},nm=ne("p",{"text-xs":"",op60:""}," The Schema.org nodes that are generated from your application. ",-1),sm={class:"px-2 py-1"},rm={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},om=ne("p",{"text-xs":"",op60:""}," The raw JSON-LD snippet that is generated from your application. ",-1),im=["value","title"],am={key:0},lm={key:1,class:"mt-5"},cm={key:0},um={class:"opacity-80 text-base mb-1"},fm={class:"px-3 py-2 space-y-5"},pm={key:1,class:"space-y-5"},dm={class:"space-x-3"},hm=ne("div",{class:"flex-auto"},null,-1),mm=ct({__name:"app",async setup(e){let t,n;[t,n]=Lc(()=>Eh()),await t,n();const s=ve(!1);async function o(){s.value=!0,Bt.value=null,await za(),setTimeout(()=>{s.value=!1},300)}const r=ve("nodes"),i=Qe(()=>JSON.parse(Bt.value)["@graph"]);return(a,u)=>{const l=Or,p=md,f=wd,h=Ad,T=Id,b=Mh,P=qh;return ae(),Te("div",Vh,[ne("div",null,[ne("div",Kh,[ne("div",null,[ne("h1",Jh,[re(l,{icon:"carbon:chart-relationship text-blue-300"}),$e(" Nuxt Schema.org "),re(p,{class:"text-sm"},{default:Be(()=>{var A,L;return[$e(At((L=(A="data"in a?a.data:ge(Ja))==null?void 0:A.runtimeConfig)==null?void 0:L.version),1)]}),_:1})]),ne("div",zh,[re(h,{href:"https://nuxtseo.com/sitemap",target:"_blank"},{default:Be(()=>[re(f,{class:"mr-[2px] w-5 h-5 inline"}),$e(" Documentation ")]),_:1}),re(h,{href:"https://github.com/harlan-zw/nuxt-simple-sitemap",target:"_blank"},{default:Be(()=>[$e(" Submit an issue ")]),_:1})])]),ne("div",null,[ne("a",Xh,[re(f),Qh,Yh])])])]),ne("div",null,[ne("fieldset",Zh,[(ae(),Te(je,null,Yr(["nodes","raw"],(A,L)=>ne("label",{key:L,class:Ie(["relative n-border-base hover:n-bg-active px-0.5em py-0.1em",[L?"border-l n-border-base ml--1px":"",A===r.value?"n-bg-active":""]])},[A==="nodes"?(ae(),Te("div",{key:0,class:Ie([A===r.value?"":"op35"])},[ne("div",em,[ne("h2",tm,[re(l,{icon:"carbon:connect-source opacity-50"}),$e(" Nodes "),re(p,{class:"text-sm"},{default:Be(()=>[$e(At(i.value.length),1)]),_:1})]),nm])],2)):it("",!0),A==="raw"?(ae(),Te("div",{key:1,class:Ie([A===r.value?"":"op35"])},[ne("div",sm,[ne("h2",rm,[re(l,{icon:"carbon:code opacity-50"}),$e(" Raw Snippet ")]),om])],2)):it("",!0),hc(ne("input",{"onUpdate:modelValue":u[0]||(u[0]=k=>r.value=k),type:"radio",value:A,title:A,class:"absolute inset-0 op-0.1"},null,8,im),[[bu,r.value]])],2)),64))]),ne("button",{class:"ml-5 hover:shadow-lg text-xs transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:o},[s.value?(ae(),Oe(l,{key:1,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):(ae(),Te("div",am," Refresh Data "))]),!ge(Bt)||s.value?(ae(),Oe(T,{key:0})):(ae(),Te("div",lm,[r.value==="nodes"?(ae(),Te("div",cm,[(ae(!0),Te(je,null,Yr(i.value,(A,L)=>(ae(),Oe(P,{key:L},{text:Be(()=>[ne("h3",um,At(Array.isArray(A["@type"])?A["@type"].join(", "):A["@type"]),1)]),description:Be(()=>[ne("div",null,At(A["@id"]),1)]),default:Be(()=>[ne("div",fm,[re(b,{code:JSON.stringify(A,null,4),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):it("",!0),r.value==="raw"?(ae(),Te("div",pm,[ne("div",dm,[re(h,{to:"https://validator.schema.org/",target:"_blank"},{default:Be(()=>[re(l,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),$e("Structured Data Test ")]),_:1}),re(h,{to:"https://search.google.com/test/rich-results",target:"_blank"},{default:Be(()=>[re(l,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),$e("Rich Results Test ")]),_:1})]),re(b,{code:ge(Bt),lang:"json"},null,8,["code"])])):it("",!0)]))]),hm])}}}),gm={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
8
8
  `).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(`
9
- `);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,p=o?Xr(()=>xo(()=>import("./error-404.1cce7bb5.js"),["./error-404.1cce7bb5.js","./vue.f36acd1f.c7ad5a91.js","./error-404.b751fa02.css"],import.meta.url).then(f=>f.default||f)):Xr(()=>xo(()=>import("./error-500.b6dba74c.js"),["./error-500.b6dba74c.js","./vue.f36acd1f.c7ad5a91.js","./error-500.69009e70.css"],import.meta.url).then(f=>f.default||f));return(f,h)=>(ae(),Oe(ge(p),pl(Ji({statusCode:ge(s),statusMessage:ge(r),description:ge(i),stack:ge(a)})),null,16))}},Vo={__name:"nuxt-root",setup(e){const t=()=>null,n=ke(),s=n.deferHydration(),o=!1;Ci(ka,Ta()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const r=Rr();Ri((a,u,l)=>{if(n.hooks.callHook("vue:error",a,u,l).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),Cp(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Op(a)),!1});const i=!1;return(a,u)=>(ae(),Oe(ac,{onResolve:ge(s)},{default:$e(()=>[ge(r)?(ae(),Oe(ge(gm),{key:0,error:ge(r)},null,8,["error"])):ge(i)?(ae(),Oe(ge(t),{key:1,context:ge(i)},null,8,["context"])):ge(o)?(ae(),Oe(Ti(ge(o)),{key:2})):(ae(),Oe(ge(mm),{key:3}))]),_:1},8,["onResolve"]))}};let Ko;{let e;Ko=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Tu(Vo):Nu(Vo),o=Af({vueApp:s});async function r(u){await o.callHook("app:error",u),o.payload.error=o.payload.error||u}s.config.errorHandler=r;try{await jf(o,fd)}catch(u){r(u)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Dp),await o.hooks.callHook("app:mounted",s),await ss()}catch(u){r(u)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Ko().catch(t=>{console.error("Error while mounting app:",t)})}export{ps as _,ne as a,re as b,Te as c,Be as d,Ra as e,Zl as f,_m as g,vt as h,ym as i,Pi as j,gc as k,mc as l,Ks as m,cs as n,ae as o,Yl as p,ve as r,At as t,$e as w};
9
+ `);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,p=o?Qr(()=>xo(()=>import("./error-404.3277f307.js"),["./error-404.3277f307.js","./vue.f36acd1f.ff6bc90b.js","./error-404.b751fa02.css"],import.meta.url).then(f=>f.default||f)):Qr(()=>xo(()=>import("./error-500.0011ea03.js"),["./error-500.0011ea03.js","./vue.f36acd1f.ff6bc90b.js","./error-500.69009e70.css"],import.meta.url).then(f=>f.default||f));return(f,h)=>(ae(),Oe(ge(p),pl(Ji({statusCode:ge(s),statusMessage:ge(r),description:ge(i),stack:ge(a)})),null,16))}},Vo={__name:"nuxt-root",setup(e){const t=()=>null,n=ke(),s=n.deferHydration(),o=!1;Ci(ka,Ta()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const r=Rr();Ri((a,u,l)=>{if(n.hooks.callHook("vue:error",a,u,l).catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),Cp(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Op(a)),!1});const i=!1;return(a,u)=>(ae(),Oe(ac,{onResolve:ge(s)},{default:Be(()=>[ge(r)?(ae(),Oe(ge(gm),{key:0,error:ge(r)},null,8,["error"])):ge(i)?(ae(),Oe(ge(t),{key:1,context:ge(i)},null,8,["context"])):ge(o)?(ae(),Oe(Ti(ge(o)),{key:2})):(ae(),Oe(ge(mm),{key:3}))]),_:1},8,["onResolve"]))}};let Ko;{let e;Ko=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Tu(Vo):Nu(Vo),o=Af({vueApp:s});async function r(u){await o.callHook("app:error",u),o.payload.error=o.payload.error||u}s.config.errorHandler=r;try{await jf(o,fd)}catch(u){r(u)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Dp),await o.hooks.callHook("app:mounted",s),await ss()}catch(u){r(u)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Ko().catch(t=>{console.error("Error while mounting app:",t)})}export{ps as _,ne as a,re as b,Te as c,$e as d,Ra as e,Zl as f,_m as g,vt as h,ym as i,Pi as j,gc as k,mc as l,Ks as m,cs as n,ae as o,Yl as p,ve as r,At as t,Be as w};