nuxt-og-image 3.0.0-beta.17 → 3.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +4 -4
- package/dist/client/404.html +4 -4
- package/dist/client/_nuxt/{IconCSS.f28630e8.js → IconCSS.87bcb0f3.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/5e27be75-aebe-490c-9568-17ec11c8309b.json +1 -0
- package/dist/client/_nuxt/{entry.a173a47f.js → entry.a0f1ce5f.js} +3 -3
- package/dist/client/_nuxt/{error-404.0a39dc18.js → error-404.2d763c3f.js} +1 -1
- package/dist/client/_nuxt/{error-500.c10b453e.js → error-500.c22eee32.js} +1 -1
- package/dist/client/index.html +4 -4
- package/dist/module.json +1 -1
- package/dist/module.mjs +20 -15
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/589941de-a30a-47dc-9316-0b535d087e4e.json +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function Ik(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const $r={},nf=[],Sa=()=>{},LW=()=>!1,DW=/^on[^a-z]/,Ap=t=>DW.test(t),Lk=t=>t.startsWith("onUpdate:"),Ao=Object.assign,Dk=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},zW=Object.prototype.hasOwnProperty,Bn=(t,e)=>zW.call(t,e),Qt=Array.isArray,rf=t=>Pp(t)==="[object Map]",R0=t=>Pp(t)==="[object Set]",NS=t=>Pp(t)==="[object Date]",nn=t=>typeof t=="function",Zr=t=>typeof t=="string",Of=t=>typeof t=="symbol",hr=t=>t!==null&&typeof t=="object",zk=t=>(hr(t)||nn(t))&&nn(t.then)&&nn(t.catch),M7=Object.prototype.toString,Pp=t=>M7.call(t),BW=t=>Pp(t).slice(8,-1),R7=t=>Pp(t)==="[object Object]",Bk=t=>Zr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rh=Ik(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N0=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},FW=/-(\w)/g,ss=N0(t=>t.replace(FW,(e,n)=>n?n.toUpperCase():"")),HW=/\B([A-Z])/g,mu=N0(t=>t.replace(HW,"-$1").toLowerCase()),I0=N0(t=>t.charAt(0).toUpperCase()+t.slice(1)),ty=N0(t=>t?`on${I0(t)}`:""),Zl=(t,e)=>!Object.is(t,e),Pm=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},cg=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},N7=t=>{const e=parseFloat(t);return isNaN(e)?t:e},qW=t=>{const e=Zr(t)?Number(t):NaN;return isNaN(e)?t:e};let IS;const Gb=()=>IS||(IS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xi(t){if(Qt(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Zr(r)?GW(r):xi(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(Zr(t)||hr(t))return t}const VW=/;(?![^(]*\))/g,WW=/:([^]+)/,UW=/\/\*[^]*?\*\//g;function GW(t){const e={};return t.replace(UW,"").split(VW).forEach(n=>{if(n){const r=n.split(WW);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function cr(t){let e="";if(Zr(t))e=t;else if(Qt(t))for(let n=0;n<t.length;n++){const r=cr(t[n]);r&&(e+=r+" ")}else if(hr(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function I7(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Zr(e)&&(t.class=cr(e)),n&&(t.style=xi(n)),t}const KW="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",JW=Ik(KW);function L7(t){return!!t||t===""}function QW(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=Af(t[r],e[r]);return n}function Af(t,e){if(t===e)return!0;let n=NS(t),r=NS(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Of(t),r=Of(e),n||r)return t===e;if(n=Qt(t),r=Qt(e),n||r)return n&&r?QW(t,e):!1;if(n=hr(t),r=hr(e),n||r){if(!n||!r)return!1;const o=Object.keys(t).length,i=Object.keys(e).length;if(o!==i)return!1;for(const a in t){const s=t.hasOwnProperty(a),c=e.hasOwnProperty(a);if(s&&!c||!s&&c||!Af(t[a],e[a]))return!1}}return String(t)===String(e)}function ZW(t,e){return t.findIndex(n=>Af(n,e))}const ao=t=>Zr(t)?t:t==null?"":Qt(t)||hr(t)&&(t.toString===M7||!nn(t.toString))?JSON.stringify(t,D7,2):String(t),D7=(t,e)=>e&&e.__v_isRef?D7(t,e.value):rf(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:R0(e)?{[`Set(${e.size})`]:[...e.values()]}:hr(e)&&!Qt(e)&&!R7(e)?String(e):e;let ua;class z7{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ua,!e&&ua&&(this.index=(ua.scopes||(ua.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=ua;try{return ua=this,e()}finally{ua=n}}}on(){ua=this}off(){ua=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){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 YW(t){return new z7(t)}function XW(t,e=ua){e&&e.active&&e.effects.push(t)}function eU(){return ua}const Fk=t=>{const e=new Set(t);return e.w=0,e.n=0,e},B7=t=>(t.w&Gc)>0,F7=t=>(t.n&Gc)>0,tU=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=Gc},nU=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];B7(o)&&!F7(o)?o.delete(t):e[n++]=o,o.w&=~Gc,o.n&=~Gc}e.length=n}},lg=new WeakMap;let Ud=0,Gc=1;const Kb=30;let pa;const Wl=Symbol(""),Jb=Symbol("");class Hk{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,XW(this,r)}run(){if(!this.active)return this.fn();let e=pa,n=Rc;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=pa,pa=this,Rc=!0,Gc=1<<++Ud,Ud<=Kb?tU(this):LS(this),this.fn()}finally{Ud<=Kb&&nU(this),Gc=1<<--Ud,pa=this.parent,Rc=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){pa===this?this.deferStop=!0:this.active&&(LS(this),this.onStop&&this.onStop(),this.active=!1)}}function LS(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let Rc=!0;const H7=[];function Xf(){H7.push(Rc),Rc=!1}function ed(){const t=H7.pop();Rc=t===void 0?!0:t}function oi(t,e,n){if(Rc&&pa){let r=lg.get(t);r||lg.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Fk()),q7(o)}}function q7(t,e){let n=!1;Ud<=Kb?F7(t)||(t.n|=Gc,n=!B7(t)):n=!t.has(pa),n&&(t.add(pa),pa.deps.push(t))}function Fs(t,e,n,r,o,i){const a=lg.get(t);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(n==="length"&&Qt(t)){const c=Number(r);a.forEach((l,u)=>{(u==="length"||!Of(u)&&u>=c)&&s.push(l)})}else switch(n!==void 0&&s.push(a.get(n)),e){case"add":Qt(t)?Bk(n)&&s.push(a.get("length")):(s.push(a.get(Wl)),rf(t)&&s.push(a.get(Jb)));break;case"delete":Qt(t)||(s.push(a.get(Wl)),rf(t)&&s.push(a.get(Jb)));break;case"set":rf(t)&&s.push(a.get(Wl));break}if(s.length===1)s[0]&&Qb(s[0]);else{const c=[];for(const l of s)l&&c.push(...l);Qb(Fk(c))}}function Qb(t,e){const n=Qt(t)?t:[...t];for(const r of n)r.computed&&DS(r);for(const r of n)r.computed||DS(r)}function DS(t,e){(t!==pa||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function rU(t,e){var n;return(n=lg.get(t))==null?void 0:n.get(e)}const oU=Ik("__proto__,__v_isRef,__isVue"),V7=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Of)),zS=iU();function iU(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Hn(this);for(let i=0,a=this.length;i<a;i++)oi(r,"get",i+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(Hn)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Xf();const r=Hn(this)[e].apply(this,n);return ed(),r}}),t}function aU(t){const e=Hn(this);return oi(e,"has",t),e.hasOwnProperty(t)}class W7{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&r===(o?i?bU:J7:i?K7:G7).get(e))return e;const a=Qt(e);if(!o){if(a&&Bn(zS,n))return Reflect.get(zS,n,r);if(n==="hasOwnProperty")return aU}const s=Reflect.get(e,n,r);return(Of(n)?V7.has(n):oU(n))||(o||oi(e,"get",n),i)?s:co(s)?a&&Bk(n)?s:s.value:hr(s)?o?Z7(s):cs(s):s}}class U7 extends W7{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if(Yl(i)&&co(i)&&!co(r))return!1;if(!this._shallow&&(!ug(r)&&!Yl(r)&&(i=Hn(i),r=Hn(r)),!Qt(e)&&co(i)&&!co(r)))return i.value=r,!0;const a=Qt(e)&&Bk(n)?Number(n)<e.length:Bn(e,n),s=Reflect.set(e,n,r,o);return e===Hn(o)&&(a?Zl(r,i)&&Fs(e,"set",n,r):Fs(e,"add",n,r)),s}deleteProperty(e,n){const r=Bn(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&Fs(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Of(n)||!V7.has(n))&&oi(e,"has",n),r}ownKeys(e){return oi(e,"iterate",Qt(e)?"length":Wl),Reflect.ownKeys(e)}}class sU extends W7{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const cU=new U7,lU=new sU,uU=new U7(!0),qk=t=>t,L0=t=>Reflect.getPrototypeOf(t);function av(t,e,n=!1,r=!1){t=t.__v_raw;const o=Hn(t),i=Hn(e);n||(Zl(e,i)&&oi(o,"get",e),oi(o,"get",i));const{has:a}=L0(o),s=r?qk:n?Uk:Ph;if(a.call(o,e))return s(t.get(e));if(a.call(o,i))return s(t.get(i));t!==o&&t.get(e)}function sv(t,e=!1){const n=this.__v_raw,r=Hn(n),o=Hn(t);return e||(Zl(t,o)&&oi(r,"has",t),oi(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function cv(t,e=!1){return t=t.__v_raw,!e&&oi(Hn(t),"iterate",Wl),Reflect.get(t,"size",t)}function BS(t){t=Hn(t);const e=Hn(this);return L0(e).has.call(e,t)||(e.add(t),Fs(e,"add",t,t)),this}function FS(t,e){e=Hn(e);const n=Hn(this),{has:r,get:o}=L0(n);let i=r.call(n,t);i||(t=Hn(t),i=r.call(n,t));const a=o.call(n,t);return n.set(t,e),i?Zl(e,a)&&Fs(n,"set",t,e):Fs(n,"add",t,e),this}function HS(t){const e=Hn(this),{has:n,get:r}=L0(e);let o=n.call(e,t);o||(t=Hn(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&Fs(e,"delete",t,void 0),i}function qS(){const t=Hn(this),e=t.size!==0,n=t.clear();return e&&Fs(t,"clear",void 0,void 0),n}function lv(t,e){return function(r,o){const i=this,a=i.__v_raw,s=Hn(a),c=e?qk:t?Uk:Ph;return!t&&oi(s,"iterate",Wl),a.forEach((l,u)=>r.call(o,c(l),c(u),i))}}function uv(t,e,n){return function(...r){const o=this.__v_raw,i=Hn(o),a=rf(i),s=t==="entries"||t===Symbol.iterator&&a,c=t==="keys"&&a,l=o[t](...r),u=n?qk:e?Uk:Ph;return!e&&oi(i,"iterate",c?Jb:Wl),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function uc(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function fU(){const t={get(i){return av(this,i)},get size(){return cv(this)},has:sv,add:BS,set:FS,delete:HS,clear:qS,forEach:lv(!1,!1)},e={get(i){return av(this,i,!1,!0)},get size(){return cv(this)},has:sv,add:BS,set:FS,delete:HS,clear:qS,forEach:lv(!1,!0)},n={get(i){return av(this,i,!0)},get size(){return cv(this,!0)},has(i){return sv.call(this,i,!0)},add:uc("add"),set:uc("set"),delete:uc("delete"),clear:uc("clear"),forEach:lv(!0,!1)},r={get(i){return av(this,i,!0,!0)},get size(){return cv(this,!0)},has(i){return sv.call(this,i,!0)},add:uc("add"),set:uc("set"),delete:uc("delete"),clear:uc("clear"),forEach:lv(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=uv(i,!1,!1),n[i]=uv(i,!0,!1),e[i]=uv(i,!1,!0),r[i]=uv(i,!0,!0)}),[t,n,e,r]}const[dU,hU,pU,vU]=fU();function Vk(t,e){const n=e?t?vU:pU:t?hU:dU;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(Bn(n,o)&&o in r?n:r,o,i)}const mU={get:Vk(!1,!1)},gU={get:Vk(!1,!0)},yU={get:Vk(!0,!1)},G7=new WeakMap,K7=new WeakMap,J7=new WeakMap,bU=new WeakMap;function wU(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xU(t){return t.__v_skip||!Object.isExtensible(t)?0:wU(BW(t))}function cs(t){return Yl(t)?t:Wk(t,!1,cU,mU,G7)}function Q7(t){return Wk(t,!1,uU,gU,K7)}function Z7(t){return Wk(t,!0,lU,yU,J7)}function Wk(t,e,n,r,o){if(!hr(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const a=xU(t);if(a===0)return t;const s=new Proxy(t,a===2?r:n);return o.set(t,s),s}function of(t){return Yl(t)?of(t.__v_raw):!!(t&&t.__v_isReactive)}function Yl(t){return!!(t&&t.__v_isReadonly)}function ug(t){return!!(t&&t.__v_isShallow)}function Y7(t){return of(t)||Yl(t)}function Hn(t){const e=t&&t.__v_raw;return e?Hn(e):t}function X7(t){return cg(t,"__v_skip",!0),t}const Ph=t=>hr(t)?cs(t):t,Uk=t=>hr(t)?Z7(t):t;function eI(t){Rc&&pa&&(t=Hn(t),q7(t.dep||(t.dep=Fk())))}function tI(t,e){t=Hn(t);const n=t.dep;n&&Qb(n)}function co(t){return!!(t&&t.__v_isRef===!0)}function rn(t){return nI(t,!1)}function Zb(t){return nI(t,!0)}function nI(t,e){return co(t)?t:new kU(t,e)}class kU{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Hn(e),this._value=n?e:Ph(e)}get value(){return eI(this),this._value}set value(e){const n=this.__v_isShallow||ug(e)||Yl(e);e=n?e:Hn(e),Zl(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Ph(e),tI(this))}}function Ve(t){return co(t)?t.value:t}const jU={get:(t,e,n)=>Ve(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return co(o)&&!co(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function rI(t){return of(t)?t:new Proxy(t,jU)}class _U{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return rU(Hn(this._object),this._key)}}class SU{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gk(t,e,n){return co(t)?t:nn(t)?new SU(t):hr(t)&&arguments.length>1?$U(t,e,n):rn(t)}function $U(t,e,n){const r=t[e];return co(r)?r:new _U(t,e,n)}class CU{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Hk(e,()=>{this._dirty||(this._dirty=!0,tI(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=Hn(this);return eI(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function OU(t,e,n=!1){let r,o;const i=nn(t);return i?(r=t,o=Sa):(r=t.get,o=t.set),new CU(r,o,i||!o,n)}function Nc(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){td(i,e,n)}return o}function $a(t,e,n,r){if(nn(t)){const i=Nc(t,e,n,r);return i&&zk(i)&&i.catch(a=>{td(a,e,n)}),i}const o=[];for(let i=0;i<t.length;i++)o.push($a(t[i],e,n,r));return o}function td(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let i=e.parent;const a=e.proxy,s=n;for(;i;){const l=i.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](t,a,s)===!1)return}i=i.parent}const c=e.appContext.config.errorHandler;if(c){Nc(c,null,10,[t,a,s]);return}}AU(t,n,o,r)}function AU(t,e,n,r=!0){console.error(t)}let Th=!1,Yb=!1;const Lo=[];let Za=0;const af=[];let Ps=null,Pl=0;const oI=Promise.resolve();let Kk=null;function Tp(t){const e=Kk||oI;return t?e.then(this?t.bind(this):t):e}function PU(t){let e=Za+1,n=Lo.length;for(;e<n;){const r=e+n>>>1,o=Lo[r],i=Eh(o);i<t||i===t&&o.pre?e=r+1:n=r}return e}function D0(t){(!Lo.length||!Lo.includes(t,Th&&t.allowRecurse?Za+1:Za))&&(t.id==null?Lo.push(t):Lo.splice(PU(t.id),0,t),iI())}function iI(){!Th&&!Yb&&(Yb=!0,Kk=oI.then(aI))}function TU(t){const e=Lo.indexOf(t);e>Za&&Lo.splice(e,1)}function Xb(t){Qt(t)?af.push(...t):(!Ps||!Ps.includes(t,t.allowRecurse?Pl+1:Pl))&&af.push(t),iI()}function VS(t,e=Th?Za+1:0){for(;e<Lo.length;e++){const n=Lo[e];n&&n.pre&&(Lo.splice(e,1),e--,n())}}function fg(t){if(af.length){const e=[...new Set(af)];if(af.length=0,Ps){Ps.push(...e);return}for(Ps=e,Ps.sort((n,r)=>Eh(n)-Eh(r)),Pl=0;Pl<Ps.length;Pl++)Ps[Pl]();Ps=null,Pl=0}}const Eh=t=>t.id==null?1/0:t.id,EU=(t,e)=>{const n=Eh(t)-Eh(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function aI(t){Yb=!1,Th=!0,Lo.sort(EU);const e=Sa;try{for(Za=0;Za<Lo.length;Za++){const n=Lo[Za];n&&n.active!==!1&&Nc(n,null,14)}}finally{Za=0,Lo.length=0,fg(),Th=!1,Kk=null,(Lo.length||af.length)&&aI()}}function MU(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||$r;let o=n;const i=e.startsWith("update:"),a=i&&e.slice(7);if(a&&a in r){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:d}=r[u]||$r;d&&(o=n.map(h=>Zr(h)?h.trim():h)),f&&(o=n.map(N7))}let s,c=r[s=ty(e)]||r[s=ty(ss(e))];!c&&i&&(c=r[s=ty(mu(e))]),c&&$a(c,t,6,o);const l=r[s+"Once"];if(l){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,$a(l,t,6,o)}}function sI(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let a={},s=!1;if(!nn(t)){const c=l=>{const u=sI(l,e,!0);u&&(s=!0,Ao(a,u))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!s?(hr(t)&&r.set(t,null),null):(Qt(i)?i.forEach(c=>a[c]=null):Ao(a,i),hr(t)&&r.set(t,a),a)}function z0(t,e){return!t||!Ap(e)?!1:(e=e.slice(2).replace(/Once$/,""),Bn(t,e[0].toLowerCase()+e.slice(1))||Bn(t,mu(e))||Bn(t,e))}let mo=null,B0=null;function dg(t){const e=mo;return mo=t,B0=t&&t.type.__scopeId||null,e}function Jk(t){B0=t}function Qk(){B0=null}const RU=t=>Bt;function Bt(t,e=mo,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&n3(-1);const i=dg(e);let a;try{a=t(...o)}finally{dg(i),r._d&&n3(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function ny(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=t;let m,g;const y=dg(t);try{if(n.shapeFlag&4){const x=o||r,k=x;m=Ei(u.call(k,x,f,i,h,d,p)),g=c}else{const x=e;m=Ei(x.length>1?x(i,{attrs:c,slots:s,emit:l}):x(i,null)),g=e.props?c:IU(c)}}catch(x){ah.length=0,td(x,t,1),m=gt(Ma)}let w=m;if(g&&v!==!1){const x=Object.keys(g),{shapeFlag:k}=w;x.length&&k&7&&(a&&x.some(Lk)&&(g=LU(g,a)),w=Mf(w,g))}return n.dirs&&(w=Mf(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,dg(y),m}function NU(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(Nh(r)){if(r.type!==Ma||r.children==="v-if"){if(e)return;e=r}}else return}return e}const IU=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ap(n))&&((e||(e={}))[n]=t[n]);return e},LU=(t,e)=>{const n={};for(const r in t)(!Lk(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function DU(t,e,n){const{props:r,children:o,component:i}=t,{props:a,children:s,patchFlag:c}=e,l=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?WS(r,a,l):!!a;if(c&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==r[d]&&!z0(l,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?WS(r,a,l):!0:!!a;return!1}function WS(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(e[i]!==t[i]&&!z0(n,i))return!0}return!1}function Zk({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Yk="components";function Xl(t,e){return lI(Yk,t,!0,e)||t}const cI=Symbol.for("v-ndc");function Xk(t){return Zr(t)?lI(Yk,t,!1)||t:t||cI}function lI(t,e,n=!0,r=!1){const o=mo||so;if(o){const i=o.type;if(t===Yk){const s=CG(i,!1);if(s&&(s===e||s===ss(e)||s===I0(ss(e))))return i}const a=US(o[t]||i[t],e)||US(o.appContext[t],e);return!a&&r?i:a}}function US(t,e){return t&&(t[e]||t[ss(e)]||t[I0(ss(e))])}const zU=t=>t.__isSuspense,BU={name:"Suspense",__isSuspense:!0,process(t,e,n,r,o,i,a,s,c,l){t==null?HU(e,n,r,o,i,a,s,c,l):qU(t,e,n,r,o,a,s,c,l)},hydrate:VU,create:e2,normalize:WU},FU=BU;function Mh(t,e){const n=t.props&&t.props[e];nn(n)&&n()}function HU(t,e,n,r,o,i,a,s,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=t.suspense=e2(t,o,r,e,f,n,i,a,s,c);l(null,d.pendingBranch=t.ssContent,f,null,r,d,i,a),d.deps>0?(Mh(t,"onPending"),Mh(t,"onFallback"),l(null,t.ssFallback,e,n,r,null,i,a),sf(d,t.ssFallback)):d.resolve(!1,!0)}function qU(t,e,n,r,o,i,a,s,{p:c,um:l,o:{createElement:u}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const d=e.ssContent,h=e.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:m,isHydrating:g}=f;if(v)f.pendingBranch=d,kc(d,v)?(c(v,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():m&&(c(p,h,n,r,o,null,i,a,s),sf(f,h))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=v):l(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(p,h,n,r,o,null,i,a,s),sf(f,h))):p&&kc(d,p)?(c(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&kc(d,p))c(p,d,n,r,o,f,i,a,s),sf(f,d);else if(Mh(e,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:w}=f;y>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},y):y===0&&f.fallback(h)}}function e2(t,e,n,r,o,i,a,s,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:m}}=l;let g;const y=UU(t);y&&e!=null&&e.pendingBranch&&(g=e.pendingId,e.deps++);const w=t.props?qW(t.props.timeout):void 0,x={vnode:t,parent:e,parentComponent:n,isSVG:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,b=!1){const{vnode:j,activeBranch:$,pendingBranch:S,pendingId:_,effects:C,parentComponent:O,container:L}=x;let E=!1;if(x.isHydrating)x.isHydrating=!1;else if(!k){E=$&&S.transition&&S.transition.mode==="out-in",E&&($.transition.afterLeave=()=>{_===x.pendingId&&(d(S,L,T,0),Xb(C))});let{anchor:T}=x;$&&(T=p($),h($,O,x,!0)),E||d(S,L,T,0)}sf(x,S),x.pendingBranch=null,x.isInFallback=!1;let D=x.parent,B=!1;for(;D;){if(D.pendingBranch){D.effects.push(...C),B=!0;break}D=D.parent}!B&&!E&&Xb(C),x.effects=[],y&&e&&e.pendingBranch&&g===e.pendingId&&(e.deps--,e.deps===0&&!b&&e.resolve()),Mh(j,"onResolve")},fallback(k){if(!x.pendingBranch)return;const{vnode:b,activeBranch:j,parentComponent:$,container:S,isSVG:_}=x;Mh(b,"onFallback");const C=p(j),O=()=>{x.isInFallback&&(f(null,k,S,C,$,null,_,s,c),sf(x,k))},L=k.transition&&k.transition.mode==="out-in";L&&(j.transition.afterLeave=O),x.isInFallback=!0,h(j,$,null,!0),L||O()},move(k,b,j){x.activeBranch&&d(x.activeBranch,k,b,j),x.container=k},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(k,b){const j=!!x.pendingBranch;j&&x.deps++;const $=k.vnode.el;k.asyncDep.catch(S=>{td(S,k,0)}).then(S=>{if(k.isUnmounted||x.isUnmounted||x.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:_}=k;ow(k,S,!1),$&&(_.el=$);const C=!$&&k.subTree.el;b(k,_,v($||k.subTree.el),$?null:p(k.subTree),x,a,c),C&&m(C),Zk(k,_.el),j&&--x.deps===0&&x.resolve()})},unmount(k,b){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,k,b),x.pendingBranch&&h(x.pendingBranch,n,k,b)}};return x}function VU(t,e,n,r,o,i,a,s,c){const l=e.suspense=e2(e,r,n,t.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=c(t,l.pendingBranch=e.ssContent,n,l,i,a);return l.deps===0&&l.resolve(!1,!0),u}function WU(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=GS(r?n.default:n),t.ssFallback=r?GS(n.fallback):gt(Ma)}function GS(t){let e;if(nn(t)){const n=Ef&&t._c;n&&(t._d=!1,et()),t=t(),n&&(t._d=!0,e=Li,MI())}return Qt(t)&&(t=NU(t)),t=Ei(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function uI(t,e){e&&e.pendingBranch?Qt(t)?e.effects.push(...t):e.effects.push(t):Xb(t)}function sf(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t,o=n.el=e.el;r&&r.subTree===n&&(r.vnode.el=o,Zk(r,o))}function UU(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function fI(t,e){return F0(t,null,e)}function GU(t,e){return F0(t,null,{flush:"post"})}const fv={};function Jr(t,e,n){return F0(t,e,n)}function F0(t,e,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:a}=$r){var s;const c=eU()===((s=so)==null?void 0:s.scope)?so:null;let l,u=!1,f=!1;if(co(t)?(l=()=>t.value,u=ug(t)):of(t)?(l=()=>t,r=!0):Qt(t)?(f=!0,u=t.some(x=>of(x)||ug(x)),l=()=>t.map(x=>{if(co(x))return x.value;if(of(x))return Ll(x);if(nn(x))return Nc(x,c,2)})):nn(t)?e?l=()=>Nc(t,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),$a(t,c,3,[h])}:l=Sa,e&&r){const x=l;l=()=>Ll(x())}let d,h=x=>{d=y.onStop=()=>{Nc(x,c,4),d=y.onStop=void 0}},p;if(Rf)if(h=Sa,e?n&&$a(e,c,3,[l(),f?[]:void 0,h]):l(),o==="sync"){const x=PG();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Sa;let v=f?new Array(t.length).fill(fv):fv;const m=()=>{if(y.active)if(e){const x=y.run();(r||u||(f?x.some((k,b)=>Zl(k,v[b])):Zl(x,v)))&&(d&&d(),$a(e,c,3,[x,v===fv?void 0:f&&v[0]===fv?[]:v,h]),v=x)}else y.run()};m.allowRecurse=!!e;let g;o==="sync"?g=m:o==="post"?g=()=>Yo(m,c&&c.suspense):(m.pre=!0,c&&(m.id=c.uid),g=()=>D0(m));const y=new Hk(l,g);e?n?m():v=y.run():o==="post"?Yo(y.run.bind(y),c&&c.suspense):y.run();const w=()=>{y.stop(),c&&c.scope&&Dk(c.scope.effects,y)};return p&&p.push(w),w}function KU(t,e,n){const r=this.proxy,o=Zr(t)?t.includes(".")?dI(r,t):()=>r[t]:t.bind(r,r);let i;nn(e)?i=e:(i=e.handler,n=e);const a=so;Kc(this);const s=F0(o,i.bind(r),n);return a?Kc(a):Ic(),s}function dI(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ll(t,e){if(!hr(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),co(t))Ll(t.value,e);else if(Qt(t))for(let n=0;n<t.length;n++)Ll(t[n],e);else if(R0(t)||rf(t))t.forEach(n=>{Ll(n,e)});else if(R7(t))for(const n in t)Ll(t[n],e);return t}function hI(t,e){const n=mo;if(n===null)return t;const r=W0(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[a,s,c,l=$r]=e[i];a&&(nn(a)&&(a={mounted:a,updated:a}),a.deep&&Ll(s),o.push({dir:a,instance:r,value:s,oldValue:void 0,arg:c,modifiers:l}))}return t}function Ja(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let c=s.dir[r];c&&(Xf(),$a(c,n,8,[t.el,s,t,e]),ed())}}/*! #__NO_SIDE_EFFECTS__ */function ho(t,e){return nn(t)?(()=>Ao({name:t.name},e,{setup:t}))():t}const cf=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function hg(t){nn(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=t;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,m)=>{s(p,()=>v(f()),()=>m(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return ho({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=so;if(l)return()=>ry(l,h);const p=y=>{c=null,td(y,h,13,!r)};if(a&&h.suspense||Rf)return d().then(y=>()=>ry(y,h)).catch(y=>(p(y),()=>r?gt(r,{error:y}):null));const v=rn(!1),m=rn(),g=rn(!!o);return o&&setTimeout(()=>{g.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!m.value){const y=new Error(`Async component timed out after ${i}ms.`);p(y),m.value=y}},i),d().then(()=>{v.value=!0,h.parent&&t2(h.parent.vnode)&&D0(h.parent.update)}).catch(y=>{p(y),m.value=y}),()=>{if(v.value&&l)return ry(l,h);if(m.value&&r)return gt(r,{error:m.value});if(n&&!g.value)return gt(n)}}})}function ry(t,e){const{ref:n,props:r,children:o,ce:i}=e.vnode,a=gt(t,r,o);return a.ref=n,a.ce=i,delete e.vnode.ce,a}const t2=t=>t.type.__isKeepAlive;function pI(t,e){mI(t,"a",e)}function vI(t,e){mI(t,"da",e)}function mI(t,e,n=so){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(H0(e,r,n),n){let o=n.parent;for(;o&&o.parent;)t2(o.parent.vnode)&&JU(r,e,n,o),o=o.parent}}function JU(t,e,n,r){const o=H0(e,t,r,!0);Pf(()=>{Dk(r[e],o)},n)}function H0(t,e,n=so,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...a)=>{if(n.isUnmounted)return;Xf(),Kc(n);const s=$a(e,n,t,a);return Ic(),ed(),s});return r?o.unshift(i):o.push(i),i}}const ec=t=>(e,n=so)=>(!Rf||t==="sp")&&H0(t,(...r)=>e(...r),n),gI=ec("bm"),nd=ec("m"),QU=ec("bu"),ZU=ec("u"),n2=ec("bum"),Pf=ec("um"),YU=ec("sp"),XU=ec("rtg"),eG=ec("rtc");function yI(t,e=so){H0("ec",t,e)}function xd(t,e,n,r){let o;const i=n&&n[r];if(Qt(t)||Zr(t)){o=new Array(t.length);for(let a=0,s=t.length;a<s;a++)o[a]=e(t[a],a,void 0,i&&i[a])}else if(typeof t=="number"){o=new Array(t);for(let a=0;a<t;a++)o[a]=e(a+1,a,void 0,i&&i[a])}else if(hr(t))if(t[Symbol.iterator])o=Array.from(t,(a,s)=>e(a,s,void 0,i&&i[s]));else{const a=Object.keys(t);o=new Array(a.length);for(let s=0,c=a.length;s<c;s++){const l=a[s];o[s]=e(t[l],l,s,i&&i[s])}}else o=[];return n&&(n[r]=o),o}function dr(t,e,n={},r,o){if(mo.isCE||mo.parent&&cf(mo.parent)&&mo.parent.isCE)return e!=="default"&&(n.name=e),gt("slot",n,r&&r());let i=t[e];i&&i._c&&(i._d=!1),et();const a=i&&bI(i(n)),s=yn(Gr,{key:n.key||a&&a.key||`_${e}`},a||(r?r():[]),a&&t._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function bI(t){return t.some(e=>Nh(e)?!(e.type===Ma||e.type===Gr&&!bI(e.children)):!0)?t:null}const ew=t=>t?II(t)?W0(t)||t.proxy:ew(t.parent):null,oh=Ao(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ew(t.parent),$root:t=>ew(t.root),$emit:t=>t.emit,$options:t=>r2(t),$forceUpdate:t=>t.f||(t.f=()=>D0(t.update)),$nextTick:t=>t.n||(t.n=Tp.bind(t.proxy)),$watch:t=>KU.bind(t)}),oy=(t,e)=>t!==$r&&!t.__isScriptSetup&&Bn(t,e),tG={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=t;let l;if(e[0]!=="$"){const h=a[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return i[e]}else{if(oy(r,e))return a[e]=1,r[e];if(o!==$r&&Bn(o,e))return a[e]=2,o[e];if((l=t.propsOptions[0])&&Bn(l,e))return a[e]=3,i[e];if(n!==$r&&Bn(n,e))return a[e]=4,n[e];tw&&(a[e]=0)}}const u=oh[e];let f,d;if(u)return e==="$attrs"&&oi(t,"get",e),u(t);if((f=s.__cssModules)&&(f=f[e]))return f;if(n!==$r&&Bn(n,e))return a[e]=4,n[e];if(d=c.config.globalProperties,Bn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return oy(o,e)?(o[e]=n,!0):r!==$r&&Bn(r,e)?(r[e]=n,!0):Bn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||t!==$r&&Bn(t,a)||oy(e,a)||(s=i[0])&&Bn(s,a)||Bn(r,a)||Bn(oh,a)||Bn(o.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Bn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function KS(t){return Qt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function wI(t){const e=gu();let n=t();return Ic(),zk(n)&&(n=n.catch(r=>{throw Kc(e),r})),[n,()=>Kc(e)]}let tw=!0;function nG(t){const e=r2(t),n=t.proxy,r=t.ctx;tw=!1,e.beforeCreate&&JS(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:m,beforeDestroy:g,beforeUnmount:y,destroyed:w,unmounted:x,render:k,renderTracked:b,renderTriggered:j,errorCaptured:$,serverPrefetch:S,expose:_,inheritAttrs:C,components:O,directives:L,filters:E}=e;if(l&&rG(l,r,null),a)for(const T in a){const P=a[T];nn(P)&&(r[T]=P.bind(n))}if(o){const T=o.call(n,n);hr(T)&&(t.data=cs(T))}if(tw=!0,i)for(const T in i){const P=i[T],A=nn(P)?P.bind(n,n):nn(P.get)?P.get.bind(n,n):Sa,R=!nn(P)&&nn(P.set)?P.set.bind(n):Sa,N=gn({get:A,set:R});Object.defineProperty(r,T,{enumerable:!0,configurable:!0,get:()=>N.value,set:z=>N.value=z})}if(s)for(const T in s)xI(s[T],r,n,T);if(c){const T=nn(c)?c.call(n):c;Reflect.ownKeys(T).forEach(P=>{jI(P,T[P])})}u&&JS(u,t,"c");function B(T,P){Qt(P)?P.forEach(A=>T(A.bind(n))):P&&T(P.bind(n))}if(B(gI,f),B(nd,d),B(QU,h),B(ZU,p),B(pI,v),B(vI,m),B(yI,$),B(eG,b),B(XU,j),B(n2,y),B(Pf,x),B(YU,S),Qt(_))if(_.length){const T=t.exposed||(t.exposed={});_.forEach(P=>{Object.defineProperty(T,P,{get:()=>n[P],set:A=>n[P]=A})})}else t.exposed||(t.exposed={});k&&t.render===Sa&&(t.render=k),C!=null&&(t.inheritAttrs=C),O&&(t.components=O),L&&(t.directives=L)}function rG(t,e,n=Sa){Qt(t)&&(t=nw(t));for(const r in t){const o=t[r];let i;hr(o)?"default"in o?i=lf(o.from||r,o.default,!0):i=lf(o.from||r):i=lf(o),co(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[r]=i}}function JS(t,e,n){$a(Qt(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function xI(t,e,n,r){const o=r.includes(".")?dI(n,r):()=>n[r];if(Zr(t)){const i=e[t];nn(i)&&Jr(o,i)}else if(nn(t))Jr(o,t.bind(n));else if(hr(t))if(Qt(t))t.forEach(i=>xI(i,e,n,r));else{const i=nn(t.handler)?t.handler.bind(n):e[t.handler];nn(i)&&Jr(o,i,t)}}function r2(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=t.appContext,s=i.get(e);let c;return s?c=s:!o.length&&!n&&!r?c=e:(c={},o.length&&o.forEach(l=>pg(c,l,a,!0)),pg(c,e,a)),hr(e)&&i.set(e,c),c}function pg(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&pg(t,i,n,!0),o&&o.forEach(a=>pg(t,a,n,!0));for(const a in e)if(!(r&&a==="expose")){const s=oG[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const oG={data:QS,props:ZS,emits:ZS,methods:Gd,computed:Gd,beforeCreate:Vo,created:Vo,beforeMount:Vo,mounted:Vo,beforeUpdate:Vo,updated:Vo,beforeDestroy:Vo,beforeUnmount:Vo,destroyed:Vo,unmounted:Vo,activated:Vo,deactivated:Vo,errorCaptured:Vo,serverPrefetch:Vo,components:Gd,directives:Gd,watch:aG,provide:QS,inject:iG};function QS(t,e){return e?t?function(){return Ao(nn(t)?t.call(this,this):t,nn(e)?e.call(this,this):e)}:e:t}function iG(t,e){return Gd(nw(t),nw(e))}function nw(t){if(Qt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Vo(t,e){return t?[...new Set([].concat(t,e))]:e}function Gd(t,e){return t?Ao(Object.create(null),t,e):e}function ZS(t,e){return t?Qt(t)&&Qt(e)?[...new Set([...t,...e])]:Ao(Object.create(null),KS(t),KS(e??{})):e}function aG(t,e){if(!t)return e;if(!e)return t;const n=Ao(Object.create(null),t);for(const r in e)n[r]=Vo(t[r],e[r]);return n}function kI(){return{app:null,config:{isNativeTag:LW,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 sG=0;function cG(t,e){return function(r,o=null){nn(r)||(r=Ao({},r)),o!=null&&!hr(o)&&(o=null);const i=kI(),a=new WeakSet;let s=!1;const c=i.app={_uid:sG++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:DI,get config(){return i.config},set config(l){},use(l,...u){return a.has(l)||(l&&nn(l.install)?(a.add(l),l.install(c,...u)):nn(l)&&(a.add(l),l(c,...u))),c},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),c},component(l,u){return u?(i.components[l]=u,c):i.components[l]},directive(l,u){return u?(i.directives[l]=u,c):i.directives[l]},mount(l,u,f){if(!s){const d=gt(r,o);return d.appContext=i,u&&e?e(d,l):t(d,l,f),s=!0,c._container=l,l.__vue_app__=c,W0(d.component)||d.component.proxy}},unmount(){s&&(t(null,c._container),delete c._container.__vue_app__)},provide(l,u){return i.provides[l]=u,c},runWithContext(l){Rh=c;try{return l()}finally{Rh=null}}};return c}}let Rh=null;function jI(t,e){if(so){let n=so.provides;const r=so.parent&&so.parent.provides;r===n&&(n=so.provides=Object.create(r)),n[t]=e}}function lf(t,e,n=!1){const r=so||mo;if(r||Rh){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Rh._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&nn(e)?e.call(r&&r.proxy):e}}function _I(){return!!(so||mo||Rh)}function lG(t,e,n,r=!1){const o={},i={};cg(i,q0,1),t.propsDefaults=Object.create(null),SI(t,e,o,i);for(const a in t.propsOptions[0])a in o||(o[a]=void 0);n?t.props=r?o:Q7(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function uG(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=t,s=Hn(o),[c]=t.propsOptions;let l=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(z0(t.emitsOptions,d))continue;const h=e[d];if(c)if(Bn(i,d))h!==i[d]&&(i[d]=h,l=!0);else{const p=ss(d);o[p]=rw(c,s,p,h,t,!1)}else h!==i[d]&&(i[d]=h,l=!0)}}}else{SI(t,e,o,i)&&(l=!0);let u;for(const f in s)(!e||!Bn(e,f)&&((u=mu(f))===f||!Bn(e,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=rw(c,s,f,void 0,t,!0)):delete o[f]);if(i!==s)for(const f in i)(!e||!Bn(e,f))&&(delete i[f],l=!0)}l&&Fs(t,"set","$attrs")}function SI(t,e,n,r){const[o,i]=t.propsOptions;let a=!1,s;if(e)for(let c in e){if(rh(c))continue;const l=e[c];let u;o&&Bn(o,u=ss(c))?!i||!i.includes(u)?n[u]=l:(s||(s={}))[u]=l:z0(t.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,a=!0)}if(i){const c=Hn(n),l=s||$r;for(let u=0;u<i.length;u++){const f=i[u];n[f]=rw(o,c,f,l[f],t,!Bn(l,f))}}return a}function rw(t,e,n,r,o,i){const a=t[n];if(a!=null){const s=Bn(a,"default");if(s&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&nn(c)){const{propsDefaults:l}=o;n in l?r=l[n]:(Kc(o),r=l[n]=c.call(null,e),Ic())}else r=c}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===mu(n))&&(r=!0))}return r}function $I(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const i=t.props,a={},s=[];let c=!1;if(!nn(t)){const u=f=>{c=!0;const[d,h]=$I(f,e,!0);Ao(a,d),h&&s.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!c)return hr(t)&&r.set(t,nf),nf;if(Qt(i))for(let u=0;u<i.length;u++){const f=ss(i[u]);YS(f)&&(a[f]=$r)}else if(i)for(const u in i){const f=ss(u);if(YS(f)){const d=i[u],h=a[f]=Qt(d)||nn(d)?{type:d}:Ao({},d);if(h){const p=t3(Boolean,h.type),v=t3(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Bn(h,"default"))&&s.push(f)}}}const l=[a,s];return hr(t)&&r.set(t,l),l}function YS(t){return t[0]!=="$"}function XS(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function e3(t,e){return XS(t)===XS(e)}function t3(t,e){return Qt(e)?e.findIndex(n=>e3(n,t)):nn(e)&&e3(e,t)?0:-1}const CI=t=>t[0]==="_"||t==="$stable",o2=t=>Qt(t)?t.map(Ei):[Ei(t)],fG=(t,e,n)=>{if(e._n)return e;const r=Bt((...o)=>o2(e(...o)),n);return r._c=!1,r},OI=(t,e,n)=>{const r=t._ctx;for(const o in t){if(CI(o))continue;const i=t[o];if(nn(i))e[o]=fG(o,i,r);else if(i!=null){const a=o2(i);e[o]=()=>a}}},AI=(t,e)=>{const n=o2(e);t.slots.default=()=>n},dG=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Hn(e),cg(e,"_",n)):OI(e,t.slots={})}else t.slots={},e&&AI(t,e);cg(t.slots,q0,1)},hG=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,a=$r;if(r.shapeFlag&32){const s=e._;s?n&&s===1?i=!1:(Ao(o,e),!n&&s===1&&delete o._):(i=!e.$stable,OI(e,o)),a=e}else e&&(AI(t,e),a={default:1});if(i)for(const s in o)!CI(s)&&a[s]==null&&delete o[s]};function vg(t,e,n,r,o=!1){if(Qt(t)){t.forEach((d,h)=>vg(d,e&&(Qt(e)?e[h]:e),n,r,o));return}if(cf(r)&&!o)return;const i=r.shapeFlag&4?W0(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=t,l=e&&e.r,u=s.refs===$r?s.refs={}:s.refs,f=s.setupState;if(l!=null&&l!==c&&(Zr(l)?(u[l]=null,Bn(f,l)&&(f[l]=null)):co(l)&&(l.value=null)),nn(c))Nc(c,s,12,[a,u]);else{const d=Zr(c),h=co(c);if(d||h){const p=()=>{if(t.f){const v=d?Bn(f,c)?f[c]:u[c]:c.value;o?Qt(v)&&Dk(v,i):Qt(v)?v.includes(i)||v.push(i):d?(u[c]=[i],Bn(f,c)&&(f[c]=u[c])):(c.value=[i],t.k&&(u[t.k]=c.value))}else d?(u[c]=a,Bn(f,c)&&(f[c]=a)):h&&(c.value=a,t.k&&(u[t.k]=a))};a?(p.id=-1,Yo(p,n)):p()}}}let fc=!1;const dv=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",hv=t=>t.nodeType===8;function pG(t){const{mt:e,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:c,createComment:l}}=t,u=(w,x)=>{if(!x.hasChildNodes()){n(null,w,x),fg(),x._vnode=w;return}fc=!1,f(x.firstChild,w,null,null,null),fg(),x._vnode=w,fc&&console.error("Hydration completed but contains mismatches.")},f=(w,x,k,b,j,$=!1)=>{const S=hv(w)&&w.data==="[",_=()=>v(w,x,k,b,j,S),{type:C,ref:O,shapeFlag:L,patchFlag:E}=x;let D=w.nodeType;x.el=w,E===-2&&($=!1,x.dynamicChildren=null);let B=null;switch(C){case Tf:D!==3?x.children===""?(c(x.el=o(""),a(w),w),B=w):B=_():(w.data!==x.children&&(fc=!0,w.data=x.children),B=i(w));break;case Ma:y(w)?(B=i(w),g(x.el=w.content.firstChild,w,k)):D!==8||S?B=_():B=i(w);break;case ih:if(S&&(w=i(w),D=w.nodeType),D===1||D===3){B=w;const T=!x.children.length;for(let P=0;P<x.staticCount;P++)T&&(x.children+=B.nodeType===1?B.outerHTML:B.data),P===x.staticCount-1&&(x.anchor=B),B=i(B);return S?i(B):B}else _();break;case Gr:S?B=p(w,x,k,b,j,$):B=_();break;default:if(L&1)(D!==1||x.type.toLowerCase()!==w.tagName.toLowerCase())&&!y(w)?B=_():B=d(w,x,k,b,j,$);else if(L&6){x.slotScopeIds=j;const T=a(w);if(S?B=m(w):hv(w)&&w.data==="teleport start"?B=m(w,w.data,"teleport end"):B=i(w),e(x,T,null,k,b,dv(T),$),cf(x)){let P;S?(P=gt(Gr),P.anchor=B?B.previousSibling:T.lastChild):P=w.nodeType===3?xn(""):gt("div"),P.el=w,x.component.subTree=P}}else L&64?D!==8?B=_():B=x.type.hydrate(w,x,k,b,j,$,t,h):L&128&&(B=x.type.hydrate(w,x,k,b,dv(a(w)),j,$,t,f))}return O!=null&&vg(O,null,b,x),B},d=(w,x,k,b,j,$)=>{$=$||!!x.dynamicChildren;const{type:S,props:_,patchFlag:C,shapeFlag:O,dirs:L,transition:E}=x,D=S==="input"||S==="option";if(D||C!==-1){if(L&&Ja(x,null,k,"created"),_)if(D||!$||C&48)for(const P in _)(D&&(P.endsWith("value")||P==="indeterminate")||Ap(P)&&!rh(P)||P[0]===".")&&r(w,P,null,_[P],!1,void 0,k);else _.onClick&&r(w,"onClick",null,_.onClick,!1,void 0,k);let B;(B=_&&_.onVnodeBeforeMount)&&Pi(B,k,x);let T=!1;if(y(w)){T=TI(b,E)&&k&&k.vnode.props&&k.vnode.props.appear;const P=w.content.firstChild;T&&E.beforeEnter(P),g(P,w,k),x.el=w=P}if(L&&Ja(x,null,k,"beforeMount"),((B=_&&_.onVnodeMounted)||L||T)&&uI(()=>{B&&Pi(B,k,x),T&&E.enter(w),L&&Ja(x,null,k,"mounted")},b),O&16&&!(_&&(_.innerHTML||_.textContent))){let P=h(w.firstChild,x,w,k,b,j,$);for(;P;){fc=!0;const A=P;P=P.nextSibling,s(A)}}else O&8&&w.textContent!==x.children&&(fc=!0,w.textContent=x.children)}return w.nextSibling},h=(w,x,k,b,j,$,S)=>{S=S||!!x.dynamicChildren;const _=x.children,C=_.length;for(let O=0;O<C;O++){const L=S?_[O]:_[O]=Ei(_[O]);if(w)w=f(w,L,b,j,$,S);else{if(L.type===Tf&&!L.children)continue;fc=!0,n(null,L,k,null,b,j,dv(k),$)}}return w},p=(w,x,k,b,j,$)=>{const{slotScopeIds:S}=x;S&&(j=j?j.concat(S):S);const _=a(w),C=h(i(w),x,_,k,b,j,$);return C&&hv(C)&&C.data==="]"?i(x.anchor=C):(fc=!0,c(x.anchor=l("]"),_,C),C)},v=(w,x,k,b,j,$)=>{if(fc=!0,x.el=null,$){const C=m(w);for(;;){const O=i(w);if(O&&O!==C)s(O);else break}}const S=i(w),_=a(w);return s(w),n(null,x,_,S,k,b,dv(_),j),S},m=(w,x="[",k="]")=>{let b=0;for(;w;)if(w=i(w),w&&hv(w)&&(w.data===x&&b++,w.data===k)){if(b===0)return i(w);b--}return w},g=(w,x,k)=>{const b=x.parentNode;b&&b.replaceChild(w,x);let j=k;for(;j;)j.vnode.el===x&&(j.vnode.el=j.subTree.el=w),j=j.parent},y=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[u,f]}const Yo=uI;function vG(t){return PI(t)}function mG(t){return PI(t,pG)}function PI(t,e){const n=Gb();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Sa,insertStaticContent:p}=t,v=(ee,Q,ue,X=null,Se=null,V=null,q=!1,Z=null,ge=!!Q.dynamicChildren)=>{if(ee===Q)return;ee&&!kc(ee,Q)&&(X=U(ee),z(ee,Se,V,!0),ee=null),Q.patchFlag===-2&&(ge=!1,Q.dynamicChildren=null);const{type:pe,ref:Pe,shapeFlag:me}=Q;switch(pe){case Tf:m(ee,Q,ue,X);break;case Ma:g(ee,Q,ue,X);break;case ih:ee==null&&y(Q,ue,X,q);break;case Gr:O(ee,Q,ue,X,Se,V,q,Z,ge);break;default:me&1?k(ee,Q,ue,X,Se,V,q,Z,ge):me&6?L(ee,Q,ue,X,Se,V,q,Z,ge):(me&64||me&128)&&pe.process(ee,Q,ue,X,Se,V,q,Z,ge,be)}Pe!=null&&Se&&vg(Pe,ee&&ee.ref,V,Q||ee,!Q)},m=(ee,Q,ue,X)=>{if(ee==null)r(Q.el=s(Q.children),ue,X);else{const Se=Q.el=ee.el;Q.children!==ee.children&&l(Se,Q.children)}},g=(ee,Q,ue,X)=>{ee==null?r(Q.el=c(Q.children||""),ue,X):Q.el=ee.el},y=(ee,Q,ue,X)=>{[ee.el,ee.anchor]=p(ee.children,Q,ue,X,ee.el,ee.anchor)},w=({el:ee,anchor:Q},ue,X)=>{let Se;for(;ee&&ee!==Q;)Se=d(ee),r(ee,ue,X),ee=Se;r(Q,ue,X)},x=({el:ee,anchor:Q})=>{let ue;for(;ee&&ee!==Q;)ue=d(ee),o(ee),ee=ue;o(Q)},k=(ee,Q,ue,X,Se,V,q,Z,ge)=>{q=q||Q.type==="svg",ee==null?b(Q,ue,X,Se,V,q,Z,ge):S(ee,Q,Se,V,q,Z,ge)},b=(ee,Q,ue,X,Se,V,q,Z)=>{let ge,pe;const{type:Pe,props:me,shapeFlag:xe,transition:Fe,dirs:Ye}=ee;if(ge=ee.el=a(ee.type,V,me&&me.is,me),xe&8?u(ge,ee.children):xe&16&&$(ee.children,ge,null,X,Se,V&&Pe!=="foreignObject",q,Z),Ye&&Ja(ee,null,X,"created"),j(ge,ee,ee.scopeId,q,X),me){for(const Qe in me)Qe!=="value"&&!rh(Qe)&&i(ge,Qe,null,me[Qe],V,ee.children,X,Se,le);"value"in me&&i(ge,"value",null,me.value),(pe=me.onVnodeBeforeMount)&&Pi(pe,X,ee)}Ye&&Ja(ee,null,X,"beforeMount");const De=TI(Se,Fe);De&&Fe.beforeEnter(ge),r(ge,Q,ue),((pe=me&&me.onVnodeMounted)||De||Ye)&&Yo(()=>{pe&&Pi(pe,X,ee),De&&Fe.enter(ge),Ye&&Ja(ee,null,X,"mounted")},Se)},j=(ee,Q,ue,X,Se)=>{if(ue&&h(ee,ue),X)for(let V=0;V<X.length;V++)h(ee,X[V]);if(Se){let V=Se.subTree;if(Q===V){const q=Se.vnode;j(ee,q,q.scopeId,q.slotScopeIds,Se.parent)}}},$=(ee,Q,ue,X,Se,V,q,Z,ge=0)=>{for(let pe=ge;pe<ee.length;pe++){const Pe=ee[pe]=Z?yc(ee[pe]):Ei(ee[pe]);v(null,Pe,Q,ue,X,Se,V,q,Z)}},S=(ee,Q,ue,X,Se,V,q)=>{const Z=Q.el=ee.el;let{patchFlag:ge,dynamicChildren:pe,dirs:Pe}=Q;ge|=ee.patchFlag&16;const me=ee.props||$r,xe=Q.props||$r;let Fe;ue&&bl(ue,!1),(Fe=xe.onVnodeBeforeUpdate)&&Pi(Fe,ue,Q,ee),Pe&&Ja(Q,ee,ue,"beforeUpdate"),ue&&bl(ue,!0);const Ye=Se&&Q.type!=="foreignObject";if(pe?_(ee.dynamicChildren,pe,Z,ue,X,Ye,V):q||P(ee,Q,Z,null,ue,X,Ye,V,!1),ge>0){if(ge&16)C(Z,Q,me,xe,ue,X,Se);else if(ge&2&&me.class!==xe.class&&i(Z,"class",null,xe.class,Se),ge&4&&i(Z,"style",me.style,xe.style,Se),ge&8){const De=Q.dynamicProps;for(let Qe=0;Qe<De.length;Qe++){const mt=De[Qe],Pt=me[mt],ht=xe[mt];(ht!==Pt||mt==="value")&&i(Z,mt,Pt,ht,Se,ee.children,ue,X,le)}}ge&1&&ee.children!==Q.children&&u(Z,Q.children)}else!q&&pe==null&&C(Z,Q,me,xe,ue,X,Se);((Fe=xe.onVnodeUpdated)||Pe)&&Yo(()=>{Fe&&Pi(Fe,ue,Q,ee),Pe&&Ja(Q,ee,ue,"updated")},X)},_=(ee,Q,ue,X,Se,V,q)=>{for(let Z=0;Z<Q.length;Z++){const ge=ee[Z],pe=Q[Z],Pe=ge.el&&(ge.type===Gr||!kc(ge,pe)||ge.shapeFlag&70)?f(ge.el):ue;v(ge,pe,Pe,null,X,Se,V,q,!0)}},C=(ee,Q,ue,X,Se,V,q)=>{if(ue!==X){if(ue!==$r)for(const Z in ue)!rh(Z)&&!(Z in X)&&i(ee,Z,ue[Z],null,q,Q.children,Se,V,le);for(const Z in X){if(rh(Z))continue;const ge=X[Z],pe=ue[Z];ge!==pe&&Z!=="value"&&i(ee,Z,pe,ge,q,Q.children,Se,V,le)}"value"in X&&i(ee,"value",ue.value,X.value)}},O=(ee,Q,ue,X,Se,V,q,Z,ge)=>{const pe=Q.el=ee?ee.el:s(""),Pe=Q.anchor=ee?ee.anchor:s("");let{patchFlag:me,dynamicChildren:xe,slotScopeIds:Fe}=Q;Fe&&(Z=Z?Z.concat(Fe):Fe),ee==null?(r(pe,ue,X),r(Pe,ue,X),$(Q.children,ue,Pe,Se,V,q,Z,ge)):me>0&&me&64&&xe&&ee.dynamicChildren?(_(ee.dynamicChildren,xe,ue,Se,V,q,Z),(Q.key!=null||Se&&Q===Se.subTree)&&EI(ee,Q,!0)):P(ee,Q,ue,Pe,Se,V,q,Z,ge)},L=(ee,Q,ue,X,Se,V,q,Z,ge)=>{Q.slotScopeIds=Z,ee==null?Q.shapeFlag&512?Se.ctx.activate(Q,ue,X,q,ge):E(Q,ue,X,Se,V,q,ge):D(ee,Q,ge)},E=(ee,Q,ue,X,Se,V,q)=>{const Z=ee.component=kG(ee,X,Se);if(t2(ee)&&(Z.ctx.renderer=be),jG(Z),Z.asyncDep){if(Se&&Se.registerDep(Z,B),!ee.el){const ge=Z.subTree=gt(Ma);g(null,ge,Q,ue)}return}B(Z,ee,Q,ue,Se,V,q)},D=(ee,Q,ue)=>{const X=Q.component=ee.component;if(DU(ee,Q,ue))if(X.asyncDep&&!X.asyncResolved){T(X,Q,ue);return}else X.next=Q,TU(X.update),X.update();else Q.el=ee.el,X.vnode=Q},B=(ee,Q,ue,X,Se,V,q)=>{const Z=()=>{if(ee.isMounted){let{next:Pe,bu:me,u:xe,parent:Fe,vnode:Ye}=ee,De=Pe,Qe;bl(ee,!1),Pe?(Pe.el=Ye.el,T(ee,Pe,q)):Pe=Ye,me&&Pm(me),(Qe=Pe.props&&Pe.props.onVnodeBeforeUpdate)&&Pi(Qe,Fe,Pe,Ye),bl(ee,!0);const mt=ny(ee),Pt=ee.subTree;ee.subTree=mt,v(Pt,mt,f(Pt.el),U(Pt),ee,Se,V),Pe.el=mt.el,De===null&&Zk(ee,mt.el),xe&&Yo(xe,Se),(Qe=Pe.props&&Pe.props.onVnodeUpdated)&&Yo(()=>Pi(Qe,Fe,Pe,Ye),Se)}else{let Pe;const{el:me,props:xe}=Q,{bm:Fe,m:Ye,parent:De}=ee,Qe=cf(Q);if(bl(ee,!1),Fe&&Pm(Fe),!Qe&&(Pe=xe&&xe.onVnodeBeforeMount)&&Pi(Pe,De,Q),bl(ee,!0),me&&we){const mt=()=>{ee.subTree=ny(ee),we(me,ee.subTree,ee,Se,null)};Qe?Q.type.__asyncLoader().then(()=>!ee.isUnmounted&&mt()):mt()}else{const mt=ee.subTree=ny(ee);v(null,mt,ue,X,ee,Se,V),Q.el=mt.el}if(Ye&&Yo(Ye,Se),!Qe&&(Pe=xe&&xe.onVnodeMounted)){const mt=Q;Yo(()=>Pi(Pe,De,mt),Se)}(Q.shapeFlag&256||De&&cf(De.vnode)&&De.vnode.shapeFlag&256)&&ee.a&&Yo(ee.a,Se),ee.isMounted=!0,Q=ue=X=null}},ge=ee.effect=new Hk(Z,()=>D0(pe),ee.scope),pe=ee.update=()=>ge.run();pe.id=ee.uid,bl(ee,!0),pe()},T=(ee,Q,ue)=>{Q.component=ee;const X=ee.vnode.props;ee.vnode=Q,ee.next=null,uG(ee,Q.props,X,ue),hG(ee,Q.children,ue),Xf(),VS(),ed()},P=(ee,Q,ue,X,Se,V,q,Z,ge=!1)=>{const pe=ee&&ee.children,Pe=ee?ee.shapeFlag:0,me=Q.children,{patchFlag:xe,shapeFlag:Fe}=Q;if(xe>0){if(xe&128){R(pe,me,ue,X,Se,V,q,Z,ge);return}else if(xe&256){A(pe,me,ue,X,Se,V,q,Z,ge);return}}Fe&8?(Pe&16&&le(pe,Se,V),me!==pe&&u(ue,me)):Pe&16?Fe&16?R(pe,me,ue,X,Se,V,q,Z,ge):le(pe,Se,V,!0):(Pe&8&&u(ue,""),Fe&16&&$(me,ue,X,Se,V,q,Z,ge))},A=(ee,Q,ue,X,Se,V,q,Z,ge)=>{ee=ee||nf,Q=Q||nf;const pe=ee.length,Pe=Q.length,me=Math.min(pe,Pe);let xe;for(xe=0;xe<me;xe++){const Fe=Q[xe]=ge?yc(Q[xe]):Ei(Q[xe]);v(ee[xe],Fe,ue,null,Se,V,q,Z,ge)}pe>Pe?le(ee,Se,V,!0,!1,me):$(Q,ue,X,Se,V,q,Z,ge,me)},R=(ee,Q,ue,X,Se,V,q,Z,ge)=>{let pe=0;const Pe=Q.length;let me=ee.length-1,xe=Pe-1;for(;pe<=me&&pe<=xe;){const Fe=ee[pe],Ye=Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]);if(kc(Fe,Ye))v(Fe,Ye,ue,null,Se,V,q,Z,ge);else break;pe++}for(;pe<=me&&pe<=xe;){const Fe=ee[me],Ye=Q[xe]=ge?yc(Q[xe]):Ei(Q[xe]);if(kc(Fe,Ye))v(Fe,Ye,ue,null,Se,V,q,Z,ge);else break;me--,xe--}if(pe>me){if(pe<=xe){const Fe=xe+1,Ye=Fe<Pe?Q[Fe].el:X;for(;pe<=xe;)v(null,Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]),ue,Ye,Se,V,q,Z,ge),pe++}}else if(pe>xe)for(;pe<=me;)z(ee[pe],Se,V,!0),pe++;else{const Fe=pe,Ye=pe,De=new Map;for(pe=Ye;pe<=xe;pe++){const Dt=Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]);Dt.key!=null&&De.set(Dt.key,pe)}let Qe,mt=0;const Pt=xe-Ye+1;let ht=!1,Ln=0;const qt=new Array(Pt);for(pe=0;pe<Pt;pe++)qt[pe]=0;for(pe=Fe;pe<=me;pe++){const Dt=ee[pe];if(mt>=Pt){z(Dt,Se,V,!0);continue}let On;if(Dt.key!=null)On=De.get(Dt.key);else for(Qe=Ye;Qe<=xe;Qe++)if(qt[Qe-Ye]===0&&kc(Dt,Q[Qe])){On=Qe;break}On===void 0?z(Dt,Se,V,!0):(qt[On-Ye]=pe+1,On>=Ln?Ln=On:ht=!0,v(Dt,Q[On],ue,null,Se,V,q,Z,ge),mt++)}const _n=ht?gG(qt):nf;for(Qe=_n.length-1,pe=Pt-1;pe>=0;pe--){const Dt=Ye+pe,On=Q[Dt],qn=Dt+1<Pe?Q[Dt+1].el:X;qt[pe]===0?v(null,On,ue,qn,Se,V,q,Z,ge):ht&&(Qe<0||pe!==_n[Qe]?N(On,ue,qn,2):Qe--)}}},N=(ee,Q,ue,X,Se=null)=>{const{el:V,type:q,transition:Z,children:ge,shapeFlag:pe}=ee;if(pe&6){N(ee.component.subTree,Q,ue,X);return}if(pe&128){ee.suspense.move(Q,ue,X);return}if(pe&64){q.move(ee,Q,ue,be);return}if(q===Gr){r(V,Q,ue);for(let me=0;me<ge.length;me++)N(ge[me],Q,ue,X);r(ee.anchor,Q,ue);return}if(q===ih){w(ee,Q,ue);return}if(X!==2&&pe&1&&Z)if(X===0)Z.beforeEnter(V),r(V,Q,ue),Yo(()=>Z.enter(V),Se);else{const{leave:me,delayLeave:xe,afterLeave:Fe}=Z,Ye=()=>r(V,Q,ue),De=()=>{me(V,()=>{Ye(),Fe&&Fe()})};xe?xe(V,Ye,De):De()}else r(V,Q,ue)},z=(ee,Q,ue,X=!1,Se=!1)=>{const{type:V,props:q,ref:Z,children:ge,dynamicChildren:pe,shapeFlag:Pe,patchFlag:me,dirs:xe}=ee;if(Z!=null&&vg(Z,null,ue,ee,!0),Pe&256){Q.ctx.deactivate(ee);return}const Fe=Pe&1&&xe,Ye=!cf(ee);let De;if(Ye&&(De=q&&q.onVnodeBeforeUnmount)&&Pi(De,Q,ee),Pe&6)F(ee.component,ue,X);else{if(Pe&128){ee.suspense.unmount(ue,X);return}Fe&&Ja(ee,null,Q,"beforeUnmount"),Pe&64?ee.type.remove(ee,Q,ue,Se,be,X):pe&&(V!==Gr||me>0&&me&64)?le(pe,Q,ue,!1,!0):(V===Gr&&me&384||!Se&&Pe&16)&&le(ge,Q,ue),X&&I(ee)}(Ye&&(De=q&&q.onVnodeUnmounted)||Fe)&&Yo(()=>{De&&Pi(De,Q,ee),Fe&&Ja(ee,null,Q,"unmounted")},ue)},I=ee=>{const{type:Q,el:ue,anchor:X,transition:Se}=ee;if(Q===Gr){W(ue,X);return}if(Q===ih){x(ee);return}const V=()=>{o(ue),Se&&!Se.persisted&&Se.afterLeave&&Se.afterLeave()};if(ee.shapeFlag&1&&Se&&!Se.persisted){const{leave:q,delayLeave:Z}=Se,ge=()=>q(ue,V);Z?Z(ee.el,V,ge):ge()}else V()},W=(ee,Q)=>{let ue;for(;ee!==Q;)ue=d(ee),o(ee),ee=ue;o(Q)},F=(ee,Q,ue)=>{const{bum:X,scope:Se,update:V,subTree:q,um:Z}=ee;X&&Pm(X),Se.stop(),V&&(V.active=!1,z(q,ee,Q,ue)),Z&&Yo(Z,Q),Yo(()=>{ee.isUnmounted=!0},Q),Q&&Q.pendingBranch&&!Q.isUnmounted&&ee.asyncDep&&!ee.asyncResolved&&ee.suspenseId===Q.pendingId&&(Q.deps--,Q.deps===0&&Q.resolve())},le=(ee,Q,ue,X=!1,Se=!1,V=0)=>{for(let q=V;q<ee.length;q++)z(ee[q],Q,ue,X,Se)},U=ee=>ee.shapeFlag&6?U(ee.component.subTree):ee.shapeFlag&128?ee.suspense.next():d(ee.anchor||ee.el),ae=(ee,Q,ue)=>{ee==null?Q._vnode&&z(Q._vnode,null,null,!0):v(Q._vnode||null,ee,Q,null,null,null,ue),VS(),fg(),Q._vnode=ee},be={p:v,um:z,m:N,r:I,mt:E,mc:$,pc:P,pbc:_,n:U,o:t};let Oe,we;return e&&([Oe,we]=e(be)),{render:ae,hydrate:Oe,createApp:cG(ae,Oe)}}function bl({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function TI(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function EI(t,e,n=!1){const r=t.children,o=e.children;if(Qt(r)&&Qt(o))for(let i=0;i<r.length;i++){const a=r[i];let s=o[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[i]=yc(o[i]),s.el=a.el),n||EI(a,s)),s.type===Tf&&(s.el=a.el)}}function gG(t){const e=t.slice(),n=[0];let r,o,i,a,s;const c=t.length;for(r=0;r<c;r++){const l=t[r];if(l!==0){if(o=n[n.length-1],t[o]<l){e[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,t[n[s]]<l?i=s+1:a=s;l<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=e[a];return n}const yG=t=>t.__isTeleport,Gr=Symbol.for("v-fgt"),Tf=Symbol.for("v-txt"),Ma=Symbol.for("v-cmt"),ih=Symbol.for("v-stc"),ah=[];let Li=null;function et(t=!1){ah.push(Li=t?null:[])}function MI(){ah.pop(),Li=ah[ah.length-1]||null}let Ef=1;function n3(t){Ef+=t}function RI(t){return t.dynamicChildren=Ef>0?Li||nf:null,MI(),Ef>0&&Li&&Li.push(t),t}function zt(t,e,n,r,o,i){return RI(Ue(t,e,n,r,o,i,!0))}function yn(t,e,n,r,o){return RI(gt(t,e,n,r,o,!0))}function Nh(t){return t?t.__v_isVNode===!0:!1}function kc(t,e){return t.type===e.type&&t.key===e.key}const q0="__vInternal",NI=({key:t})=>t??null,Tm=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Zr(t)||co(t)||nn(t)?{i:mo,r:t,k:e,f:!!n}:t:null);function Ue(t,e=null,n=null,r=0,o=null,i=t===Gr?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&NI(e),ref:e&&Tm(e),scopeId:B0,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mo};return s?(a2(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=Zr(n)?8:16),Ef>0&&!a&&Li&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Li.push(c),c}const gt=bG;function bG(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===cI)&&(t=Ma),Nh(t)){const s=Mf(t,e,!0);return n&&a2(s,n),Ef>0&&!i&&Li&&(s.shapeFlag&6?Li[Li.indexOf(t)]=s:Li.push(s)),s.patchFlag|=-2,s}if(OG(t)&&(t=t.__vccOpts),e){e=i2(e);let{class:s,style:c}=e;s&&!Zr(s)&&(e.class=cr(s)),hr(c)&&(Y7(c)&&!Qt(c)&&(c=Ao({},c)),e.style=xi(c))}const a=Zr(t)?1:zU(t)?128:yG(t)?64:hr(t)?4:nn(t)?2:0;return Ue(t,e,n,r,o,a,i,!0)}function i2(t){return t?Y7(t)||q0 in t?Ao({},t):t:null}function Mf(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=t,s=e?V0(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&NI(s),ref:e&&e.ref?n&&o?Qt(o)?o.concat(Tm(e)):[o,Tm(e)]:Tm(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Gr?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mf(t.ssContent),ssFallback:t.ssFallback&&Mf(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xn(t=" ",e=0){return gt(Tf,null,t,e)}function _r(t="",e=!1){return e?(et(),yn(Ma,null,t)):gt(Ma,null,t)}function Ei(t){return t==null||typeof t=="boolean"?gt(Ma):Qt(t)?gt(Gr,null,t.slice()):typeof t=="object"?yc(t):gt(Tf,null,String(t))}function yc(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mf(t)}function a2(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Qt(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),a2(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(q0 in e)?e._ctx=mo:o===3&&mo&&(mo.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else nn(e)?(e={default:e,_ctx:mo},n=32):(e=String(e),r&64?(n=16,e=[xn(e)]):n=8);t.children=e,t.shapeFlag|=n}function V0(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=cr([e.class,r.class]));else if(o==="style")e.style=xi([e.style,r.style]);else if(Ap(o)){const i=e[o],a=r[o];a&&i!==a&&!(Qt(i)&&i.includes(a))&&(e[o]=i?[].concat(i,a):a)}else o!==""&&(e[o]=r[o])}return e}function Pi(t,e,n,r=null){$a(t,e,7,[n,r])}const wG=kI();let xG=0;function kG(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||wG,i={uid:xG++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new z7(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$I(r,o),emitsOptions:sI(r,o),emit:null,emitted:null,propsDefaults:$r,inheritAttrs:r.inheritAttrs,ctx:$r,data:$r,props:$r,attrs:$r,slots:$r,refs:$r,setupState:$r,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 i.ctx={_:i},i.root=e?e.root:i,i.emit=MU.bind(null,i),t.ce&&t.ce(i),i}let so=null;const gu=()=>so||mo;let s2,Eu,r3="__VUE_INSTANCE_SETTERS__";(Eu=Gb()[r3])||(Eu=Gb()[r3]=[]),Eu.push(t=>so=t),s2=t=>{Eu.length>1?Eu.forEach(e=>e(t)):Eu[0](t)};const Kc=t=>{s2(t),t.scope.on()},Ic=()=>{so&&so.scope.off(),s2(null)};function II(t){return t.vnode.shapeFlag&4}let Rf=!1;function jG(t,e=!1){Rf=e;const{props:n,children:r}=t.vnode,o=II(t);lG(t,n,o,e),dG(t,r);const i=o?_G(t,e):void 0;return Rf=!1,i}function _G(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=X7(new Proxy(t.ctx,tG));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?$G(t):null;Kc(t),Xf();const i=Nc(r,t,0,[t.props,o]);if(ed(),Ic(),zk(i)){if(i.then(Ic,Ic),e)return i.then(a=>{ow(t,a,e)}).catch(a=>{td(a,t,0)});t.asyncDep=i}else ow(t,i,e)}else LI(t,e)}function ow(t,e,n){nn(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:hr(e)&&(t.setupState=rI(e)),LI(t,n)}let o3;function LI(t,e,n){const r=t.type;if(!t.render){if(!e&&o3&&!r.render){const o=r.template||r2(t).template;if(o){const{isCustomElement:i,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:c}=r,l=Ao(Ao({isCustomElement:i,delimiters:s},a),c);r.render=o3(o,l)}}t.render=r.render||Sa}{Kc(t),Xf();try{nG(t)}finally{ed(),Ic()}}}function SG(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return oi(t,"get","$attrs"),e[n]}}))}function $G(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return SG(t)},slots:t.slots,emit:t.emit,expose:e}}function W0(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(rI(X7(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in oh)return oh[n](t)},has(e,n){return n in e||n in oh}}))}function CG(t,e=!0){return nn(t)?t.displayName||t.name:t.name||e&&t.__name}function OG(t){return nn(t)&&"__vccOpts"in t}const gn=(t,e)=>OU(t,e,Rf);function Jc(t,e,n){const r=arguments.length;return r===2?hr(e)&&!Qt(e)?Nh(e)?gt(t,null,[e]):gt(t,e):gt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nh(n)&&(n=[n]),gt(t,e,n))}const AG=Symbol.for("v-scx"),PG=()=>lf(AG),DI="3.3.9",TG="http://www.w3.org/2000/svg",Tl=typeof document<"u"?document:null,i3=Tl&&Tl.createElement("template"),EG={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?Tl.createElementNS(TG,t):Tl.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>Tl.createTextNode(t),createComment:t=>Tl.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Tl.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const a=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{i3.innerHTML=r?`<svg>${t}</svg>`:t;const s=i3.content;if(r){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}e.insertBefore(s,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},MG=Symbol("_vtc");function RG(t,e,n){const r=t[MG];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const NG=Symbol("_vod");function IG(t,e,n){const r=t.style,o=Zr(n);if(n&&!o){if(e&&!Zr(e))for(const i in e)n[i]==null&&iw(r,i,"");for(const i in n)iw(r,i,n[i])}else{const i=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),NG in t&&(r.display=i)}}const a3=/\s*!important$/;function iw(t,e,n){if(Qt(n))n.forEach(r=>iw(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=LG(t,e);a3.test(n)?t.setProperty(mu(r),n.replace(a3,""),"important"):t[r]=n}}const s3=["Webkit","Moz","ms"],iy={};function LG(t,e){const n=iy[e];if(n)return n;let r=ss(e);if(r!=="filter"&&r in t)return iy[e]=r;r=I0(r);for(let o=0;o<s3.length;o++){const i=s3[o]+r;if(i in t)return iy[e]=i}return e}const c3="http://www.w3.org/1999/xlink";function DG(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(c3,e.slice(6,e.length)):t.setAttributeNS(c3,e,n);else{const i=JW(e);n==null||i&&!L7(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function zG(t,e,n,r,o,i,a){if(e==="innerHTML"||e==="textContent"){r&&a(r,o,i),t[e]=n??"";return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){t._value=n;const l=s==="OPTION"?t.getAttribute("value"):t.value,u=n??"";l!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let c=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=L7(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{t[e]=n}catch{}c&&t.removeAttribute(e)}function c2(t,e,n,r){t.addEventListener(e,n,r)}function BG(t,e,n,r){t.removeEventListener(e,n,r)}const l3=Symbol("_vei");function FG(t,e,n,r,o=null){const i=t[l3]||(t[l3]={}),a=i[e];if(r&&a)a.value=r;else{const[s,c]=HG(e);if(r){const l=i[e]=WG(r,o);c2(t,s,l,c)}else a&&(BG(t,s,a,c),i[e]=void 0)}}const u3=/(?:Once|Passive|Capture)$/;function HG(t){let e;if(u3.test(t)){e={};let r;for(;r=t.match(u3);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):mu(t.slice(2)),e]}let ay=0;const qG=Promise.resolve(),VG=()=>ay||(qG.then(()=>ay=0),ay=Date.now());function WG(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$a(UG(r,n.value),e,5,[r])};return n.value=t,n.attached=VG(),n}function UG(t,e){if(Qt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const f3=/^on[a-z]/,GG=(t,e,n,r,o=!1,i,a,s,c)=>{e==="class"?RG(t,r,o):e==="style"?IG(t,n,r):Ap(e)?Lk(e)||FG(t,e,n,r,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):KG(t,e,r,o))?zG(t,e,r,i,a,s,c):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),DG(t,e,r,o))};function KG(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&f3.test(e)&&nn(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||f3.test(e)&&Zr(n)?!1:e in t}function j6e(t){const e=gu();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>sw(i,o))},r=()=>{const o=t(e.proxy);aw(e.subTree,o),n(o)};GU(r),nd(()=>{const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),Pf(()=>o.disconnect())})}function aw(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{aw(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)sw(t.el,e);else if(t.type===Gr)t.children.forEach(n=>aw(n,e));else if(t.type===ih){let{el:n,anchor:r}=t;for(;n&&(sw(n,e),n!==r);)n=n.nextSibling}}function sw(t,e){if(t.nodeType===1){const n=t.style;for(const r in e)n.setProperty(`--${r}`,e[r])}}const mg=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Qt(e)?n=>Pm(e,n):e},uf=Symbol("_assign"),JG={created(t,{value:e},n){t.checked=Af(e,n.props.value),t[uf]=mg(n),c2(t,"change",()=>{t[uf](Ih(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[uf]=mg(r),e!==n&&(t.checked=Af(e,r.props.value))}},QG={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=R0(e);c2(t,"change",()=>{const i=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>n?N7(Ih(a)):Ih(a));t[uf](t.multiple?o?new Set(i):i:i[0])}),t[uf]=mg(r)},mounted(t,{value:e}){d3(t,e)},beforeUpdate(t,e,n){t[uf]=mg(n)},updated(t,{value:e}){d3(t,e)}};function d3(t,e){const n=t.multiple;if(!(n&&!Qt(e)&&!R0(e))){for(let r=0,o=t.options.length;r<o;r++){const i=t.options[r],a=Ih(i);if(n)Qt(e)?i.selected=ZW(e,a)>-1:i.selected=e.has(a);else if(Af(Ih(i),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ih(t){return"_value"in t?t._value:t.value}const ZG=["ctrl","shift","alt","meta"],YG={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ZG.some(n=>t[`${n}Key`]&&!e.includes(n))},XG=(t,e)=>(n,...r)=>{for(let o=0;o<e.length;o++){const i=YG[e[o]];if(i&&i(n,e))return}return t(n,...r)},eK={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tK=(t,e)=>n=>{if(!("key"in n))return;const r=mu(n.key);if(e.some(o=>o===r||eK[o]===r))return t(n)},zI=Ao({patchProp:GG},EG);let sh,h3=!1;function nK(){return sh||(sh=vG(zI))}function rK(){return sh=h3?sh:mG(zI),h3=!0,sh}const BI=(...t)=>{const e=nK().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=FI(r);if(!o)return;const i=e._component;!nn(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},e},oK=(...t)=>{const e=rK().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=FI(r);if(o)return n(o,!0,o instanceof SVGElement)},e};function FI(t){return Zr(t)?document.querySelector(t):t}const iK=/#/g,aK=/&/g,sK=/=/g,l2=/\+/g,cK=/%5e/gi,lK=/%60/gi,uK=/%7c/gi,fK=/%20/gi;function dK(t){return encodeURI(""+t).replace(uK,"|")}function cw(t){return dK(typeof t=="string"?t:JSON.stringify(t)).replace(l2,"%2B").replace(fK,"+").replace(iK,"%23").replace(aK,"%26").replace(lK,"`").replace(cK,"^")}function sy(t){return cw(t).replace(sK,"%3D")}function gg(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function hK(t){return gg(t.replace(l2," "))}function pK(t){return gg(t.replace(l2," "))}function u2(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=hK(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=pK(r[2]||"");e[o]===void 0?e[o]=i:Array.isArray(e[o])?e[o].push(i):e[o]=[e[o],i]}return e}function vK(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${sy(t)}=${cw(n)}`).join("&"):`${sy(t)}=${cw(e)}`:sy(t)}function HI(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>vK(e,t[e])).filter(Boolean).join("&")}const mK=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gK=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,yK=/^([/\\]\s*){2,}[^/\\]/;function Ep(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?mK.test(t):gK.test(t)||(e.acceptRelative?yK.test(t):!1)}const bK=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function wK(t){return!!t&&bK.test(t)}const xK=/\/$|\/\?|\/#/;function lw(t="",e){return e?xK.test(t):t.endsWith("/")}function f2(t="",e){if(!e)return(lw(t)?t.slice(0,-1):t)||"/";if(!lw(t,!0))return t||"/";let n=t,r="";const o=t.indexOf("#");o>=0&&(n=t.slice(0,o),r=t.slice(o));const[i,...a]=n.split("?");return(i.slice(0,-1)||"/")+(a.length>0?`?${a.join("?")}`:"")+r}function yg(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(lw(t,!0))return t||"/";let n=t,r="";const o=t.indexOf("#");if(o>=0&&(n=t.slice(0,o),r=t.slice(o),!n))return r;const[i,...a]=n.split("?");return i+"/"+(a.length>0?`?${a.join("?")}`:"")+r}function kK(t=""){return t.startsWith("/")}function p3(t=""){return kK(t)?t:"/"+t}function qI(t,e){if(VI(e)||Ep(t))return t;const n=f2(e);return t.startsWith(n)?t:tc(n,t)}function jK(t,e){if(VI(e))return t;const n=f2(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Dl(t,e){const n=yu(t),r={...u2(n.search),...e};return n.search=HI(r),WI(n)}function VI(t){return!t||t==="/"}function _K(t){return t&&t!=="/"}const SK=/^\.?\//;function tc(t,...e){let n=t||"";for(const r of e.filter(o=>_K(o)))if(n){const o=r.replace(SK,"");n=yg(n)+o}else n=r;return n}function $K(t,e,n={}){return n.trailingSlash||(t=yg(t),e=yg(e)),n.leadingSlash||(t=p3(t),e=p3(e)),n.encoding||(t=gg(t),e=gg(e)),t===e}function yu(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ep(t,{acceptRelative:!0}))return e?yu(e+t):v3(t);const[,r="",o,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",s=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=v3(s.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:a,pathname:c,search:l,hash:u}}function v3(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function WI(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",o=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol?t.protocol+"//":"")+o+i+e+n+r}const CK=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},bg=CK().app,OK=()=>bg.baseURL,AK=()=>bg.buildAssetsDir,d2=(...t)=>tc(UI(),AK(),...t),UI=(...t)=>{const e=bg.cdnURL||bg.baseURL;return t.length?tc(e,...t):e};globalThis.__buildAssetsURL=d2,globalThis.__publicAssetsURL=UI;const PK=/"(?:_|\\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*:/,TK=/"(?: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*:/,EK=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function MK(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){RK(t);return}return e}function RK(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function wg(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.at(-1)==='"'&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!EK.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(PK.test(t)||TK.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,MK)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}class NK extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function IK(t){var c,l,u,f,d;const e=((c=t.error)==null?void 0:c.message)||((l=t.error)==null?void 0:l.toString())||"",n=((u=t.request)==null?void 0:u.method)||((f=t.options)==null?void 0:f.method)||"GET",r=((d=t.request)==null?void 0:d.url)||String(t.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",a=`${o}: ${i}${e?` ${e}`:""}`,s=new NK(a,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(s,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,h,{get(){return t.response&&t.response[p]}});return s}const LK=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function m3(t="GET"){return LK.has(t.toUpperCase())}function DK(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const zK=new Set(["image/svg","application/xml","application/xhtml","application/html"]),BK=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function FK(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return BK.test(e)?"json":zK.has(e)||e.startsWith("text/")?"text":"blob"}function HK(t,e,n=globalThis.Headers){const r={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(r.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(r.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){r.headers=new n((e==null?void 0:e.headers)||{});for(const[o,i]of new n((t==null?void 0:t.headers)||{}))r.headers.set(o,i)}return r}const qK=new Set([408,409,425,429,500,502,503,504]),VK=new Set([101,204,205,304]);function GI(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function o(s){const c=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!c){let u;typeof s.options.retry=="number"?u=s.options.retry:u=m3(s.options.method)?0:1;const f=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(f):qK.has(f))){const d=s.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(s.request,{...s.options,retry:u-1,timeout:s.options.timeout})}}const l=IK(s);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(c,l={}){var d;const u={request:c,options:HK(l,t.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=qI(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Dl(u.request,{...u.options.params,...u.options.query}))),u.options.body&&m3(u.options.method)&&(DK(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const h=new r;setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await e(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!VK.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||FK(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),v=u.options.parseResponse||wg;u.response._data=v(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},a=async function(c,l){return(await i(c,l))._data};return a.raw=i,a.native=(...s)=>e(...s),a.create=(s={})=>GI({...t,defaults:{...t.defaults,...s}}),a}const h2=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")}(),WK=h2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),UK=h2.Headers,GK=h2.AbortController,KK=GI({fetch:WK,Headers:UK,AbortController:GK}),JK=KK;globalThis.$fetch||(globalThis.$fetch=JK.create({baseURL:OK()}));function uw(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?uw(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const QK={run:t=>t()},ZK=()=>QK,KI=typeof console.createTask<"u"?console.createTask:ZK;function YK(t,e){const n=e.shift(),r=KI(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function XK(t,e){const n=e.shift(),r=KI(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function cy(t,e){for(const n of[...t])n(e)}class eJ{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,r={}){if(!e||typeof n!="function")return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!r.allowDeprecated){let a=i.message;a||(a=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(e,o),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const o of r)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=uw(e),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(e){const n=uw(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(YK,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(XK,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&cy(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&cy(this._after,o)}):(this._after&&o&&cy(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function JI(){return new eJ}function tJ(t={}){let e,n=!1;const r=a=>{if(e&&e!==a)throw new Error("Context conflict")};let o;if(t.asyncContext){const a=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?o=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&e===void 0){const a=o.getStore();if(a!==void 0)return a}return e};return{use:()=>{const a=i();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>i(),set:(a,s)=>{s||r(a),e=a,n=!0},unset:()=>{e=void 0,n=!1},call:(a,s)=>{r(a),e=a;try{return o?o.run(a,s):s()}finally{n||(e=void 0)}},async callAsync(a,s){e=a;const c=()=>{e=a},l=()=>e===a?c:void 0;fw.add(l);try{const u=o?o.run(a,s):s();return n||(e=void 0),await u}finally{fw.delete(l)}}}}function nJ(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=tJ({...t,...r})),e[n],e[n]}}}const xg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},g3="__unctx__",rJ=xg[g3]||(xg[g3]=nJ()),oJ=(t,e={})=>rJ.get(t,e),y3="__unctx_async_handlers__",fw=xg[y3]||(xg[y3]=new Set);function QI(t){const e=[];for(const o of fw){const i=o();i&&e.push(i)}const n=()=>{for(const o of e)o()};let r=t();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const ZI=oJ("nuxt-app",{asyncContext:!1}),iJ="__nuxt_plugin";function aJ(t){let e=0;const n={_scope:YW(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:cs({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>lJ(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let o=!1;return()=>{if(!o&&(o=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...t};n.hooks=JI(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;pv(n,a,i),pv(n.vueApp.config.globalProperties,a,i)},pv(n.vueApp,"$nuxt",n),pv(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||Rr;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=cs(n.payload.config);return n.provide("config",r),n}async function sJ(t,e){if(e.hooks&&t.hooks.addHooks(e.hooks),typeof e=="function"){const{provide:n}=await t.runWithContext(()=>e(t))||{};if(n&&typeof n=="object")for(const r in n)t.provide(r,n[r])}}async function cJ(t,e){const n=[],r=[];for(const o of e){const i=sJ(t,o);o.parallel?n.push(i.catch(a=>r.push(a))):await i}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function ys(t){return typeof t=="function"?t:(delete t.name,Object.assign(t.setup||(()=>{}),t,{[iJ]:!0}))}function lJ(t,e,n){const r=()=>n?e(...n):e();return ZI.set(t),t.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Rr(){var e;let t;if(_I()&&(t=(e=gu())==null?void 0:e.appContext.app.$nuxt),t=t||ZI.tryUse(),!t)throw new Error("[nuxt] instance unavailable");return t}/*! @__NO_SIDE_EFFECTS__ */function Lh(){return Rr().$config}function pv(t,e,n){Object.defineProperty(t,e,{get:()=>n})}const uJ="modulepreload",fJ=function(t,e){return t[0]==="."?new URL(t,e).href:t},b3={},dJ=function(e,n,r){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=fJ(i,r),i in b3)return;b3[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const l=document.createElement("link");if(l.rel=a?"stylesheet":uJ,a||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),a)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},kg=(...t)=>dJ(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),hJ=-1,pJ=-2,vJ=-3,mJ=-4,gJ=-5,yJ=-6;function bJ(t,e){return wJ(JSON.parse(t),e)}function wJ(t,e){if(typeof t=="number")return o(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function o(i,a=!1){if(i===hJ)return;if(i===vJ)return NaN;if(i===mJ)return 1/0;if(i===gJ)return-1/0;if(i===yJ)return-0;if(a)throw new Error("Invalid input");if(i in r)return r[i];const s=n[i];if(!s||typeof s!="object")r[i]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=e==null?void 0:e[c];if(l)return r[i]=l(o(s[1]));switch(c){case"Date":r[i]=new Date(s[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<s.length;h+=1)u.add(o(s[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<s.length;h+=2)f.set(o(s[h]),o(s[h+1]));break;case"RegExp":r[i]=new RegExp(s[1],s[2]);break;case"Object":r[i]=Object(s[1]);break;case"BigInt":r[i]=BigInt(s[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<s.length;h+=2)d[s[h]]=o(s[h+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);r[i]=c;for(let l=0;l<s.length;l+=1){const u=s[l];u!==pJ&&(c[l]=o(u))}}else{const c={};r[i]=c;for(const l in s){const u=s[l];c[l]=o(u)}}return r[i]}return o(0)}function xJ(t){return Array.isArray(t)?t:[t]}const kJ=["title","titleTemplate","script","style","noscript"],Em=["base","meta","link","style","script","noscript"],jJ=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],_J=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],YI=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],SJ=typeof window<"u";function p2(t){let e=9;for(let n=0;n<t.length;)e=Math.imul(e^t.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function w3(t){return t._h||p2(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function XI(t,e){const{props:n,tag:r}=t;if(_J.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const a=String(n[i]);return e&&!e(a)?!1:`${r}:${i}:${a}`}return!1}function x3(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function $J(t,e,n){const r={tag:t,props:await e9(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return YI.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||kJ.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function CJ(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(e=>t[e])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(e=>e.trim()).filter(Boolean).join(" ")}async function e9(t,e){for(const n of Object.keys(t)){if(n==="class"){t[n]=CJ(t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!YI.includes(n)){const r=String(t[n]),o=n.startsWith("data-");r==="true"||r===""?t[n]=o?"true":!0:t[n]||(o&&r==="false"?t[n]="false":delete t[n])}}return t}const OJ=10;async function AJ(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&jJ.includes(n)).forEach(([n,r])=>{const o=xJ(r);e.push(...o.map(i=>$J(n,i,t)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,r)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<OJ)+r,n))}const k3={base:-10,title:10},j3={critical:-80,high:-10,low:20};function jg(t){let e=100;const n=t.tagPriority;return typeof n=="number"?n:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(e=-30),t.props.charset&&(e=-20),t.props.name==="viewport"&&(e=-15)):t.tag==="link"&&t.props.rel==="preconnect"?e=20:t.tag in k3&&(e=k3[t.tag]),typeof n=="string"&&n in j3?e+j3[n]:e)}const PJ=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],t9=["onload","onerror","onabort","onprogress","onloadstart"],dc="%separator";function Mm(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(a){let s;return["s","pageTitle"].includes(a)?s=e.pageTitle:a.includes(".")?s=a.split(".").reduce((c,l)=>c&&c[l]||void 0,e):s=e[a],typeof s<"u"?(s||"").replace(/"/g,'\\"'):!1}let o=t;try{o=decodeURI(t)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const s=r(a.slice(1));typeof s=="string"&&(t=t.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,l)=>`${s}${l}`).trim())}),t.includes(dc)&&(t.endsWith(dc)&&(t=t.slice(0,-dc.length).trim()),t.startsWith(dc)&&(t=t.slice(dc.length).trim()),t=t.replace(new RegExp(`\\${dc}\\s*\\${dc}`,"g"),dc),t=Mm(t,{separator:n},n)),t}async function TJ(t){const e={tag:t.tagName.toLowerCase(),props:await e9(t.getAttributeNames().reduce((n,r)=>({...n,[r]:t.getAttribute(r)}),{})),innerHTML:t.innerHTML};return e._d=XI(e),e}async function n9(t,e={}){var u;const n=e.document||t.resolvedOptions.document;if(!n)return;const r={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await t.resolveTags()).map(f=>({tag:f,id:Em.includes(f.tag)?w3(f):f.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const h of[...d].filter(p=>Em.includes(p.tagName.toLowerCase())))i.elMap[h.getAttribute("data-hid")||w3(await TJ(h))]=h}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function a(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function s({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),a(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(h.props).forEach(([v,m])=>{const g=`attr:${v}`;if(v==="class")for(const y of(m||"").split(" ").filter(Boolean))p&&a(f,`${g}:${y}`,()=>d.classList.remove(y)),!d.classList.contains(y)&&d.classList.add(y);else d.getAttribute(v)!==m&&d.setAttribute(v,m===!0?"":String(m)),p&&a(f,g,()=>d.removeAttribute(v))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?s(f):Em.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),s(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await t.hooks.callHook("dom:renderTag",f,n,a);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(i.pendingSideEffects).forEach(f=>f()),t._dom=i,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:o})}async function EJ(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await n9(t,e),delete t._domUpdatePromise,r()}))}function MJ(t){return e=>{var r,o;const n=((o=(r=e.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){EJ(i,t)}}}}}const RJ=["templateParams","htmlAttrs","bodyAttrs"],NJ={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(r=>{t.props[r]&&(t.key=t.props[r],delete t.props[r])});const n=XI(t)||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":function(t){const e={};t.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=e[o];if(i){let s=r==null?void 0:r.tagDuplicateStrategy;if(!s&&RJ.includes(r.tag)&&(s="merge"),s==="merge"){const c=i.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),e[o].props={...c,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(jg(r)>jg(i))return}const a=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Em.includes(r.tag)&&a===0){delete e[o];return}e[o]=r});const n=[];Object.values(e).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},IJ={mode:"server",hooks:{"tags:resolve":function(t){const e={};t.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},LJ=["script","link","bodyAttrs"];function DJ(t){const e={},n={};return Object.entries(t.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(t9.includes(r)&&(e[r]=`this.dataset.${r} = true`),n[r]=o):e[r]=o}),{props:e,eventHandlers:n}}const zJ=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags)if(LJ.includes(n.tag)){const{props:r,eventHandlers:o}=DJ(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||p2(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(e,n,r){if(!e.tag._eventHandlers)return;const o=e.tag.tag==="bodyAttrs"?n.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([i,a])=>{const s=`${e.tag._d||e.tag._p}:${i}`,c=i.slice(2).toLowerCase(),l=`data-h-${c}`;if(r(e.id,s,()=>{}),e.$el.hasAttribute(l))return;e.$el.setAttribute(l,"");let u;const f=d=>{a(d),u==null||u.disconnect()};i in e.$el.dataset?f(new Event(i.replace("on",""))):t9.includes(i)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(p=>p.attributeName===`data-${i}`)&&(f(new Event(i.replace("on",""))),u==null||u.disconnect())}),u.observe(e.$el,{attributes:!0})):o.addEventListener(c,f),r(e.id,s,()=>{u==null||u.disconnect(),o.removeEventListener(c,f),e.$el.removeAttribute(l)})})}}}),BJ=["link","style","script","noscript"],FJ={hooks:{"tag:normalise":({tag:t})=>{t.key&&BJ.includes(t.tag)&&(t.props["data-hid"]=t._h=p2(t.key))}}},HJ={hooks:{"tags:resolve":t=>{const e=n=>{var r;return(r=t.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of PJ)for(const o of t.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=e(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}t.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>jg(n)-jg(r))}}},qJ={meta:"content",link:"href",htmlAttrs:"lang"},VJ=t=>({hooks:{"tags:resolve":e=>{var s;const{tags:n}=e,r=(s=n.find(c=>c.tag==="title"))==null?void 0:s.textContent,o=n.findIndex(c=>c.tag==="templateParams"),i=o!==-1?n[o].props:{},a=i.separator||"|";delete i.separator,i.pageTitle=Mm(i.pageTitle||r||"",i,a);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=qJ[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=Mm(c.props[l],i,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=Mm(c[u],i,a))})}t._templateParams=i,t._separator=a,e.tags=n.filter(c=>c.tag!=="templateParams")}}}),WJ={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n=e.findIndex(o=>o.tag==="titleTemplate");const r=e.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=x3(e[n].textContent,e[r].textContent);o!==null?e[r].textContent=o||e[r].textContent:delete e[r]}else if(n!==-1){const o=x3(e[n].textContent);o!==null&&(e[n].textContent=o,e[n].tag="title",n=-1)}n!==-1&&delete e[n],t.tags=e.filter(Boolean)}}},UJ={hooks:{"tags:afterResolve":function(t){for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let r9;function GJ(t={}){const e=KJ(t);return e.use(MJ()),r9=e}function _3(t,e){return!t||t==="server"&&e||t==="client"&&!e}function KJ(t={}){const e=JI();e.addHooks(t.hooks||{}),t.document=t.document||(SJ?document:void 0);const n=!t.document,r=()=>{s.dirty=!0,e.callHook("entries:updated",s)};let o=0,i=[];const a=[],s={plugins:a,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return i},use(c){const l=typeof c=="function"?c(s):c;(!l.key||!a.some(u=>u.key===l.key))&&(a.push(l),_3(l.mode,n)&&e.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:o++,input:c,...l};return _3(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",s),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...i]};await e.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await AJ(l)){const d={tag:f,entry:l,resolvedOptions:s.resolvedOptions};await e.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",c),await e.callHook("tags:resolve",c),await e.callHook("tags:afterResolve",c),c.tags},ssr:n};return[NJ,IJ,zJ,FJ,HJ,VJ,WJ,UJ,...(t==null?void 0:t.plugins)||[]].forEach(c=>s.use(c)),s.hooks.callHook("init",s),s}function JJ(){return r9}const QJ=DI.startsWith("3");function ZJ(t){return typeof t=="function"?t():Ve(t)}function _g(t,e=""){if(t instanceof Promise)return t;const n=ZJ(t);return!t||!n?n:Array.isArray(n)?n.map(r=>_g(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,Ve(o)]:[r,_g(o,r)])):n}const YJ={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=_g(e.input)}}},o9="usehead";function XJ(t){return{install(n){QJ&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(o9,t))}}.install}function eQ(t={}){t.domDelayFn=t.domDelayFn||(n=>Tp(()=>setTimeout(()=>n(),0)));const e=GJ(t);return e.use(YJ),e.install=XJ(e),e}const dw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hw="__unhead_injection_handler__";function tQ(t){dw[hw]=t}function nQ(){if(hw in dw)return dw[hw]();const t=lf(o9);return t||JJ()}function i9(t,e={}){const n=e.head||nQ();if(n)return n.ssr?n.push(t,e):rQ(n,t,e)}function rQ(t,e,n={}){const r=rn(!1),o=rn({});fI(()=>{o.value=r.value?{}:_g(e)});const i=t.push(o.value,n);return Jr(o,s=>{i.patch(s)}),gu()&&(n2(()=>{i.dispose()}),vI(()=>{r.value=!0}),pI(()=>{r.value=!1})),i}function oQ(t){return{ctx:{table:t},matchAll:e=>s9(e,t)}}function a9(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,o])=>[r,a9(o)])):new Map(Object.entries(t[n]));return e}function iQ(t){return oQ(a9(t))}function s9(t,e){const n=[];for(const[o,i]of S3(e.wildcard))t.startsWith(o)&&n.push(i);for(const[o,i]of S3(e.dynamic))if(t.startsWith(o+"/")){const a="/"+t.slice(o.length).split("/").splice(2).join("/");n.push(...s9(a,i))}const r=e.static.get(t);return r&&n.push(r),n.filter(Boolean)}function S3(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function pw(t,e,n=".",r){if(!ly(e))return pw(t,{},n,r);const o=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const a=t[i];a!=null&&(r&&r(o,i,a,n)||(Array.isArray(a)&&Array.isArray(o[i])?o[i]=[...a,...o[i]]:ly(a)&&ly(o[i])?o[i]=pw(a,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=a))}return o}function ly(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function c9(t){return(...e)=>e.reduce((n,r)=>pw(n,r,"",t),{})}const aQ=c9(),sQ=c9((t,e,n)=>{if(t[e]!==void 0&&typeof n=="function")return t[e]=n(t[e]),!0});function cQ(t,e){try{return e in t}catch{return!1}}var lQ=Object.defineProperty,uQ=(t,e,n)=>e in t?lQ(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,$l=(t,e,n)=>(uQ(t,typeof e!="symbol"?e+"":e,n),n);class vw extends Error{constructor(e,n={}){super(e,n),$l(this,"statusCode",500),$l(this,"fatal",!1),$l(this,"unhandled",!1),$l(this,"statusMessage"),$l(this,"data"),$l(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:mw(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=l9(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}$l(vw,"__h3_error__",!0);function fQ(t){if(typeof t=="string")return new vw(t);if(dQ(t))return t;const e=new vw(t.message??t.statusMessage??"",{cause:t.cause||t});if(cQ(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=mw(t.statusCode,e.statusCode):t.status&&(e.statusCode=mw(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;l9(e.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 t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function dQ(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const hQ=/[^\u0009\u0020-\u007E]/g;function l9(t=""){return t.replace(hQ,"")}function mw(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const u9=Symbol("route"),v2=()=>Gk(Rr().payload,"error"),pQ=t=>{const e=m2(t);try{const n=Rr(),r=v2();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},vQ=async(t={})=>{const e=Rr(),n=v2();e.callHook("app:error:cleared",t),t.redirect&&await bu().replace(t.redirect),n.value=null},mQ=t=>!!(t&&typeof t=="object"&&"__nuxt_error"in t),m2=t=>{const e=fQ(t);return e.__nuxt_error=!0,e},bu=()=>{var t;return(t=Rr())==null?void 0:t.$router},Sg=()=>_I()?lf(u9,Rr()._route):Rr()._route;/*! @__NO_SIDE_EFFECTS__ */const gQ=()=>{try{if(Rr()._processingMiddleware)return!0}catch{return!0}return!1},f9=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:Dl(t.path||"/",t.query||{})+(t.hash||"");if(e!=null&&e.open){{const{target:s="_blank",windowFeatures:c={}}=e.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,s,l)}return Promise.resolve()}const r=(e==null?void 0:e.external)||Ep(n,{acceptRelative:!0});if(r){if(!(e!=null&&e.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const s=yu(n).protocol;if(s&&wK(s))throw new Error(`Cannot navigate to a URL with '${s}' protocol.`)}const o=gQ();if(!r&&o)return t;const i=bu(),a=Rr();return r?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?i.replace(t):i.push(t)},yQ={nuxt:{buildId:"589941de-a30a-47dc-9316-0b535d087e4e"}},bQ=sQ(yQ);function d9(){const t=Rr();return t._appConfig||(t._appConfig=cs(bQ)),t._appConfig}const wQ={componentName:"NuxtLink"},xQ={deep:!0},kQ="#__nuxt";let Rm,h9;function jQ(){var e;const t=(e=d9().nuxt)==null?void 0:e.buildId;return Rm=$fetch(d2(`builds/meta/${t}.json`)),Rm.then(n=>{h9=iQ(n.matcher)}),Rm}function U0(){return Rm||jQ()}async function p9(t){return await U0(),aQ({},...h9.matchAll(t).reverse())}function $3(t,e={}){const n=_Q(t,e),r=Rr(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=SQ(t).then(i=>i?v9(n).then(a=>a||(delete o[n],null)):(o[n]=null,null))),o[n]}const C3="json";function _Q(t,e={}){const n=new URL(t,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+t);if(n.host!=="localhost"||Ep(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=e.hash||(e.fresh?Date.now():"");return tc(Lh().app.baseURL,n.pathname,r?`_payload.${r}.${C3}`:`_payload.${C3}`)}async function v9(t){const e=fetch(t).then(n=>n.text().then(m9));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function SQ(t=Sg().path){if((await U0()).prerendered.includes(t))return!0;const n=await p9(t);return!!n.prerender&&!n.redirect}let vv=null;async function $Q(){if(vv)return vv;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=m9(t.textContent||""),n=t.dataset.src?await v9(t.dataset.src):void 0;return vv={...e,...n,...window.__NUXT__},vv}function m9(t){return bJ(t,Rr()._payloadRevivers)}function CQ(t,e){Rr()._payloadRevivers[t]=e}const gw={NuxtError:t=>m2(t),EmptyShallowRef:t=>Zb(t==="_"?void 0:t==="0n"?BigInt(0):wg(t)),EmptyRef:t=>rn(t==="_"?void 0:t==="0n"?BigInt(0):wg(t)),ShallowRef:t=>Zb(t),ShallowReactive:t=>Q7(t),Ref:t=>rn(t),Reactive:t=>cs(t)};gw.Island=({key:t,params:e})=>{const n=Rr();return n.isHydrating||(n.payload.data[t]=n.payload.data[t]||$fetch(`/__nuxt_island/${t}.json`,{responseType:"json",...e?{params:e}:{}}).then(r=>(n.payload.data[t]=r,r))),null};const OQ=ys({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in gw)CQ(r,gw[r]);Object.assign(t.payload,([e,n]=QI(()=>t.runWithContext($Q)),e=await e,n(),e)),window.__NUXT__=t.payload}}),AQ=[],PQ=ys({name:"nuxt:head",enforce:"pre",setup(t){const e=eQ({plugins:AQ});tQ(()=>Rr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await n9(e)};e.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),t.hooks.hook("page:start",()=>{n=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||r()}),t.hooks.hook("app:error",r),t.hooks.hook("app:suspense:resolve",r)}}}),TQ=async t=>{let e,n;const r=([e,n]=QI(()=>p9(t.path)),e=await e,n(),e);if(r.redirect)return r.redirect},EQ=[TQ];function uy(t){typeof t=="object"&&(t=WI({pathname:t.path||"",search:HI(t.query||{}),hash:t.hash||""}));const e=yu(t.toString());return{path:e.pathname,fullPath:t,query:u2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const MQ=ys({name:"nuxt:router",enforce:"pre",setup(t){const e=jK(window.location.pathname,Lh().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(u,f)=>(r[u].push(f),()=>r[u].splice(r[u].indexOf(f),1)),i=Lh().app.baseURL,a=cs(uy(e));async function s(u,f){try{const d=uy(u);for(const h of r["navigate:before"]){const p=await h(d,a);if(p===!1||p instanceof Error)return;if(typeof p=="string"&&p.length)return s(p,!0)}for(const h of r["resolve:before"])await h(d,a);Object.assign(a,d),window.history[f?"replaceState":"pushState"]({},"",tc(i,d.fullPath)),t.isHydrating||await t.runWithContext(vQ);for(const h of r["navigate:after"])await h(d,a)}catch(d){for(const h of r.error)await h(d)}}const c={currentRoute:a,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>s(u,!1),replace:u=>s(u,!0),back:()=>window.history.go(-1),go:u=>window.history.go(u),forward:()=>window.history.go(1),beforeResolve:u=>o("resolve:before",u),beforeEach:u=>o("navigate:before",u),afterEach:u=>o("navigate:after",u),onError:u=>o("error",u),resolve:uy,addRoute:(u,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:u=>n.some(f=>f.name===u),removeRoute:u=>{const f=n.findIndex(d=>d.name===u);f!==-1&&n.splice(f,1)}};t.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(u,{slots:f})=>{const d=()=>s(u.to,u.replace);return()=>{var p;const h=c.resolve(u.to);return u.custom?(p=f.default)==null?void 0:p.call(f,{href:u.to,navigate:d,route:h}):Jc("a",{href:u.to,onClick:v=>(v.preventDefault(),d())},f)}}}),window.addEventListener("popstate",u=>{const f=u.target.location;c.replace(f.href.replace(f.origin,""))}),t._route=a,t._middleware=t._middleware||{global:[],named:{}};const l=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(u,f)=>{u.meta=cs(u.meta||{}),t.isHydrating&&l&&!Yl(u.meta.layout)&&(u.meta.layout=l),t._processingMiddleware=!0;{const d=new Set([...EQ,...t._middleware.global]);for(const h of d){const p=await t.runWithContext(()=>h(u,f));if(p!==!0&&(p||p===!1))return p}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),$K(a.fullPath,e)||await t.runWithContext(()=>f9(a.fullPath))}),{provide:{route:a,router:c}}}}),yw=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),RQ=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),g2=t=>{const e=Rr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{yw(t)}):yw(t)},NQ=ys({name:"nuxt:payload",setup(t){bu().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await $3(e.path);r&&Object.assign(t.static.data,r.data)}),g2(()=>{var e;t.hooks.hook("link:prefetch",async n=>{yu(n).protocol||await $3(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(U0,1e3)})}}),IQ=hg(()=>kg(()=>Promise.resolve().then(()=>ree),void 0,import.meta.url).then(t=>t.default)),LQ=hg(()=>kg(()=>import("./IconCSS.f28630e8.js"),["./IconCSS.f28630e8.js","./IconCSS.7e8f1f7b.css"],import.meta.url).then(t=>t.default)),DQ=[["Icon",IQ],["IconCss",LQ]],zQ=ys({name:"nuxt:global-components",setup(t){for(const[e,n]of DQ)t.vueApp.component(e,n),t.vueApp.component("Lazy"+e,n)}}),BQ="$s";function y2(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);const[n,r]=t;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=BQ+n,i=Rr(),a=Gk(i.payload.state,o);if(a.value===void 0&&r){const s=r();if(co(s))return i.payload.state[o]=s,s;a.value=s}return a}const FQ="__NUXT_COLOR_MODE__",HQ="nuxt-color-mode",$s=window[FQ]||{},qQ=ys(t=>{const e=y2("color-mode",()=>cs({preference:$s.preference,value:$s.value,unknown:!1,forced:!1})).value;bu().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(e.value=i,e.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),e.forced=!1,e.value=e.preference==="system"?$s.getColorScheme():e.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!e.forced&&e.preference==="system"&&(e.value=$s.getColorScheme())}))}Jr(()=>e.preference,o=>{var i;e.forced||(o==="system"?(e.value=$s.getColorScheme(),r()):e.value=o,(i=window.localStorage)==null||i.setItem(HQ,o))},{immediate:!0}),Jr(()=>e.value,(o,i)=>{$s.removeColorScheme(i),$s.addColorScheme(o)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=$s.preference,e.value=$s.value,e.unknown=!1)}),t.provide("colorMode",e)});const VQ=ys(()=>{});function WQ(t={}){const e=t.path||window.location.pathname;let n={};try{n=wg(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||(n==null?void 0:n.path)!==e||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Rr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const UQ=ys({name:"nuxt:chunk-reload",setup(t){const e=bu(),n=Lh(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:tc(n.app.baseURL,i.fullPath);WQ({path:s,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(o)}),e.onError((i,a)=>{r.has(i)&&o(a)})}}),GQ=ys(t=>{let e;async function n(){const r=await U0();e&&clearTimeout(e),e=setTimeout(n,1e3*60*60);const o=await $fetch(d2("builds/latest.json"));o.id!==r.id&&t.hooks.callHook("app:manifest:update",o)}g2(()=>{e=setTimeout(n,1e3*60*60)})}),KQ=["top","right","bottom","left"],O3=["start","end"],A3=KQ.reduce((t,e)=>t.concat(e,e+"-"+O3[0],e+"-"+O3[1]),[]),Dh=Math.min,Cl=Math.max,JQ={left:"right",right:"left",bottom:"top",top:"bottom"},QQ={start:"end",end:"start"};function bw(t,e,n){return Cl(t,Dh(e,n))}function wu(t,e){return typeof t=="function"?t(e):t}function ls(t){return t.split("-")[0]}function Ca(t){return t.split("-")[1]}function g9(t){return t==="x"?"y":"x"}function b2(t){return t==="y"?"height":"width"}function Mp(t){return["top","bottom"].includes(ls(t))?"y":"x"}function w2(t){return g9(Mp(t))}function y9(t,e,n){n===void 0&&(n=!1);const r=Ca(t),o=w2(t),i=b2(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Cg(a)),[a,Cg(a)]}function ZQ(t){const e=Cg(t);return[$g(t),e,$g(e)]}function $g(t){return t.replace(/start|end/g,e=>QQ[e])}function YQ(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function XQ(t,e,n,r){const o=Ca(t);let i=YQ(ls(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map($g)))),i}function Cg(t){return t.replace(/left|right|bottom|top/g,e=>JQ[e])}function eZ(t){return{top:0,right:0,bottom:0,left:0,...t}}function b9(t){return typeof t!="number"?eZ(t):{top:t,right:t,bottom:t,left:t}}function ch(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P3(t,e,n){let{reference:r,floating:o}=t;const i=Mp(e),a=w2(e),s=b2(a),c=ls(e),l=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[s]/2-o[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Ca(e)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1);break}return h}const tZ=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=P3(l,r,c),d=r,h={},p=0;for(let v=0;v<s.length;v++){const{name:m,fn:g}=s[v],{x:y,y:w,data:x,reset:k}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:l,platform:a,elements:{reference:t,floating:e}});if(u=y??u,f=w??f,h={...h,[m]:{...h[m],...x}},k&&p<=50){p++,typeof k=="object"&&(k.placement&&(d=k.placement),k.rects&&(l=k.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:u,y:f}=P3(l,d,c)),v=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function G0(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=wu(e,t),p=b9(h),m=s[d?f==="floating"?"reference":"floating":f],g=ch(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),y=f==="floating"?{...a.floating,x:r,y:o}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=ch(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:w,strategy:c}):y);return{top:(g.top-k.top+p.top)/x.y,bottom:(k.bottom-g.bottom+p.bottom)/x.y,left:(g.left-k.left+p.left)/x.x,right:(k.right-g.right+p.right)/x.x}}const nZ=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=e,{element:l,padding:u=0}=wu(t,e)||{};if(l==null)return{};const f=b9(u),d={x:n,y:r},h=w2(o),p=b2(h),v=await a.getDimensions(l),m=h==="y",g=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",x=i.reference[p]+i.reference[h]-d[h]-i.floating[p],k=d[h]-i.reference[h],b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let j=b?b[w]:0;(!j||!await(a.isElement==null?void 0:a.isElement(b)))&&(j=s.floating[w]||i.floating[p]);const $=x/2-k/2,S=j/2-v[p]/2-1,_=Dh(f[g],S),C=Dh(f[y],S),O=_,L=j-v[p]-C,E=j/2-v[p]/2+$,D=bw(O,E,L),B=!c.arrow&&Ca(o)!=null&&E!=D&&i.reference[p]/2-(E<O?_:C)-v[p]/2<0,T=B?E<O?E-O:E-L:0;return{[h]:d[h]+T,data:{[h]:D,centerOffset:E-D-T,...B&&{alignmentOffset:T}},reset:B}}});function rZ(t,e,n){return(t?[...n.filter(o=>Ca(o)===t),...n.filter(o=>Ca(o)!==t)]:n.filter(o=>ls(o)===o)).filter(o=>t?Ca(o)===t||(e?$g(o)!==o:!1):!0)}const oZ=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=A3,autoAlignment:h=!0,...p}=wu(t,e),v=f!==void 0||d===A3?rZ(f||null,h,d):d,m=await G0(e,p),g=((n=a.autoPlacement)==null?void 0:n.index)||0,y=v[g];if(y==null)return{};const w=y9(y,i,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(s!==y)return{reset:{placement:v[0]}};const x=[m[ls(y)],m[w[0]],m[w[1]]],k=[...((r=a.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:x}],b=v[g+1];if(b)return{data:{index:g+1,overflows:k},reset:{placement:b}};const j=k.map(_=>{const C=Ca(_.placement);return[_.placement,C&&u?_.overflows.slice(0,2).reduce((O,L)=>O+L,0):_.overflows[0],_.overflows]}).sort((_,C)=>_[1]-C[1]),S=((o=j.filter(_=>_[2].slice(0,Ca(_[0])?2:3).every(C=>C<=0))[0])==null?void 0:o[0])||j[0][0];return S!==s?{data:{index:g+1,overflows:k},reset:{placement:S}}:{}}}},iZ=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:l}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...m}=wu(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=ls(o),y=ls(s)===s,w=await(c.isRTL==null?void 0:c.isRTL(l.floating)),x=d||(y||!v?[Cg(s)]:ZQ(s));!d&&p!=="none"&&x.push(...XQ(s,v,p,w));const k=[s,...x],b=await G0(e,m),j=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&j.push(b[g]),f){const O=y9(o,a,w);j.push(b[O[0]],b[O[1]])}if($=[...$,{placement:o,overflows:j}],!j.every(O=>O<=0)){var S,_;const O=(((S=i.flip)==null?void 0:S.index)||0)+1,L=k[O];if(L)return{data:{index:O,overflows:$},reset:{placement:L}};let E=(_=$.filter(D=>D.overflows[0]<=0).sort((D,B)=>D.overflows[1]-B.overflows[1])[0])==null?void 0:_.placement;if(!E)switch(h){case"bestFit":{var C;const D=(C=$.map(B=>[B.placement,B.overflows.filter(T=>T>0).reduce((T,P)=>T+P,0)]).sort((B,T)=>B[1]-T[1])[0])==null?void 0:C[0];D&&(E=D);break}case"initialPlacement":E=s;break}if(o!==E)return{reset:{placement:E}}}return{}}}};async function aZ(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ls(n),s=Ca(n),c=Mp(n)==="y",l=["left","top"].includes(a)?-1:1,u=i&&c?-1:1,f=wu(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof p=="number"&&(h=s==="end"?p*-1:p),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}const sZ=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:r}=e,o=await aZ(e,t);return{x:n+o.x,y:r+o.y,data:o}}}},cZ=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...c}=wu(t,e),l={x:n,y:r},u=await G0(e,c),f=Mp(ls(o)),d=g9(f);let h=l[d],p=l[f];if(i){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=h+u[m],w=h-u[g];h=bw(y,h,w)}if(a){const m=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=p+u[m],w=p-u[g];p=bw(y,p,w)}const v=s.fn({...e,[d]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},lZ=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=wu(t,e),c=await G0(e,s),l=ls(n),u=Ca(n),f=Mp(n)==="y",{width:d,height:h}=r.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=l,p=u==="end"?"top":"bottom");const m=h-c[p],g=d-c[v],y=!e.middlewareData.shift;let w=m,x=g;if(f){const b=d-c.left-c.right;x=u||y?Dh(g,b):b}else{const b=h-c.top-c.bottom;w=u||y?Dh(m,b):b}if(y&&!u){const b=Cl(c.left,0),j=Cl(c.right,0),$=Cl(c.top,0),S=Cl(c.bottom,0);f?x=d-2*(b!==0||j!==0?b+j:Cl(c.left,c.right)):w=h-2*($!==0||S!==0?$+S:Cl(c.top,c.bottom))}await a({...e,availableWidth:x,availableHeight:w});const k=await o.getDimensions(i.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Di(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function es(t){return Di(t).getComputedStyle(t)}const T3=Math.min,lh=Math.max,Og=Math.round;function w9(t){const e=es(t);let n=parseFloat(e.width),r=parseFloat(e.height);const o=t.offsetWidth,i=t.offsetHeight,a=Og(n)!==o||Og(r)!==i;return a&&(n=o,r=i),{width:n,height:r,fallback:a}}function Qc(t){return k9(t)?(t.nodeName||"").toLowerCase():""}let mv;function x9(){if(mv)return mv;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(mv=t.brands.map(e=>e.brand+"/"+e.version).join(" "),mv):navigator.userAgent}function ts(t){return t instanceof Di(t).HTMLElement}function Lc(t){return t instanceof Di(t).Element}function k9(t){return t instanceof Di(t).Node}function E3(t){return typeof ShadowRoot>"u"?!1:t instanceof Di(t).ShadowRoot||t instanceof ShadowRoot}function K0(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=es(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function uZ(t){return["table","td","th"].includes(Qc(t))}function ww(t){const e=/firefox/i.test(x9()),n=es(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function j9(){return!/^((?!chrome|android).)*safari/i.test(x9())}function x2(t){return["html","body","#document"].includes(Qc(t))}function _9(t){return Lc(t)?t:t.contextElement}const S9={x:1,y:1};function ff(t){const e=_9(t);if(!ts(e))return S9;const n=e.getBoundingClientRect(),{width:r,height:o,fallback:i}=w9(e);let a=(i?Og(n.width):n.width)/r,s=(i?Og(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function zh(t,e,n,r){var o,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=_9(t);let c=S9;e&&(r?Lc(r)&&(c=ff(r)):c=ff(t));const l=s?Di(s):window,u=!j9()&&n;let f=(a.left+(u&&((o=l.visualViewport)==null?void 0:o.offsetLeft)||0))/c.x,d=(a.top+(u&&((i=l.visualViewport)==null?void 0:i.offsetTop)||0))/c.y,h=a.width/c.x,p=a.height/c.y;if(s){const v=Di(s),m=r&&Lc(r)?Di(r):r;let g=v.frameElement;for(;g&&r&&m!==v;){const y=ff(g),w=g.getBoundingClientRect(),x=getComputedStyle(g);w.x+=(g.clientLeft+parseFloat(x.paddingLeft))*y.x,w.y+=(g.clientTop+parseFloat(x.paddingTop))*y.y,f*=y.x,d*=y.y,h*=y.x,p*=y.y,f+=w.x,d+=w.y,g=Di(g).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Dc(t){return((k9(t)?t.ownerDocument:t.document)||window.document).documentElement}function J0(t){return Lc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $9(t){return zh(Dc(t)).left+J0(t).scrollLeft}function Bh(t){if(Qc(t)==="html")return t;const e=t.assignedSlot||t.parentNode||E3(t)&&t.host||Dc(t);return E3(e)?e.host:e}function C9(t){const e=Bh(t);return x2(e)?e.ownerDocument.body:ts(e)&&K0(e)?e:C9(e)}function Ag(t,e){var n;e===void 0&&(e=[]);const r=C9(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Di(r);return o?e.concat(i,i.visualViewport||[],K0(r)?r:[]):e.concat(r,Ag(r))}function M3(t,e,n){return e==="viewport"?ch(function(r,o){const i=Di(r),a=Dc(r),s=i.visualViewport;let c=a.clientWidth,l=a.clientHeight,u=0,f=0;if(s){c=s.width,l=s.height;const d=j9();(d||!d&&o==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:c,height:l,x:u,y:f}}(t,n)):Lc(e)?ch(function(r,o){const i=zh(r,!0,o==="fixed"),a=i.top+r.clientTop,s=i.left+r.clientLeft,c=ts(r)?ff(r):{x:1,y:1};return{width:r.clientWidth*c.x,height:r.clientHeight*c.y,x:s*c.x,y:a*c.y}}(e,n)):ch(function(r){const o=Dc(r),i=J0(r),a=r.ownerDocument.body,s=lh(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=lh(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let l=-i.scrollLeft+$9(r);const u=-i.scrollTop;return es(a).direction==="rtl"&&(l+=lh(o.clientWidth,a.clientWidth)-s),{width:s,height:c,x:l,y:u}}(Dc(t)))}function R3(t){return ts(t)&&es(t).position!=="fixed"?t.offsetParent:null}function N3(t){const e=Di(t);let n=R3(t);for(;n&&uZ(n)&&es(n).position==="static";)n=R3(n);return n&&(Qc(n)==="html"||Qc(n)==="body"&&es(n).position==="static"&&!ww(n))?e:n||function(r){let o=Bh(r);for(;ts(o)&&!x2(o);){if(ww(o))return o;o=Bh(o)}return null}(t)||e}function fZ(t,e,n){const r=ts(e),o=Dc(e),i=zh(t,!0,n==="fixed",e);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Qc(e)!=="body"||K0(o))&&(a=J0(e)),ts(e)){const c=zh(e,!0);s.x=c.x+e.clientLeft,s.y=c.y+e.clientTop}else o&&(s.x=$9(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}const dZ={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=n==="clippingAncestors"?function(l,u){const f=u.get(l);if(f)return f;let d=Ag(l).filter(m=>Lc(m)&&Qc(m)!=="body"),h=null;const p=es(l).position==="fixed";let v=p?Bh(l):l;for(;Lc(v)&&!x2(v);){const m=es(v),g=ww(v);(p?g||h:g||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(y=>y!==v),v=Bh(v)}return u.set(l,d),d}(e,this._c):[].concat(n),a=[...i,r],s=a[0],c=a.reduce((l,u)=>{const f=M3(e,u,o);return l.top=lh(f.top,l.top),l.right=T3(f.right,l.right),l.bottom=T3(f.bottom,l.bottom),l.left=lh(f.left,l.left),l},M3(e,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=ts(n),i=Dc(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const c={x:0,y:0};if((o||!o&&r!=="fixed")&&((Qc(n)!=="body"||K0(i))&&(a=J0(n)),ts(n))){const l=zh(n);s=ff(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},isElement:Lc,getDimensions:function(t){return ts(t)?w9(t):t.getBoundingClientRect()},getOffsetParent:N3,getDocumentElement:Dc,getScale:ff,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const o=this.getOffsetParent||N3,i=this.getDimensions;return{reference:fZ(e,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>es(t).direction==="rtl"},hZ=(t,e,n)=>{const r=new Map,o={platform:dZ,...n},i={...o.platform,_c:r};return tZ(t,e,{...o,platform:i})};function O9(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?O9(t[n],e[n]):t[n]=e[n])}const Hs={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Fh(t,e){let n=Hs.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Hs.themes[n.$extend]||{}:(n=null,r=Hs[e]):n=null;while(n);return r}function pZ(t){const e=[t];let n=Hs.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Hs.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function I3(t){const e=[t];let n=Hs.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Hs.themes[n.$extend]||{}):n=null;while(n);return e}let eu=!1;if(typeof window<"u"){eu=!1;try{const t=Object.defineProperty({},"passive",{get(){eu=!0}});window.addEventListener("test",null,t)}catch{}}let A9=!1;typeof window<"u"&&typeof navigator<"u"&&(A9=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const P9=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),L3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},D3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function z3(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function fy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const va=[];let wl=null;const B3={};function F3(t){let e=B3[t];return e||(e=B3[t]=[]),e}let xw=function(){};typeof window<"u"&&(xw=window.Element);function zn(t){return function(e){return Fh(e.theme,t)}}const dy="__floating-vue__popper",T9=()=>ho({name:"VPopper",provide(){return{[dy]:{parentPopper:this}}},inject:{[dy]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:zn("disabled")},positioningDisabled:{type:Boolean,default:zn("positioningDisabled")},placement:{type:String,default:zn("placement"),validator:t=>P9.includes(t)},delay:{type:[String,Number,Object],default:zn("delay")},distance:{type:[Number,String],default:zn("distance")},skidding:{type:[Number,String],default:zn("skidding")},triggers:{type:Array,default:zn("triggers")},showTriggers:{type:[Array,Function],default:zn("showTriggers")},hideTriggers:{type:[Array,Function],default:zn("hideTriggers")},popperTriggers:{type:Array,default:zn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:zn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:zn("popperHideTriggers")},container:{type:[String,Object,xw,Boolean],default:zn("container")},boundary:{type:[String,xw],default:zn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:zn("strategy")},autoHide:{type:[Boolean,Function],default:zn("autoHide")},handleResize:{type:Boolean,default:zn("handleResize")},instantMove:{type:Boolean,default:zn("instantMove")},eagerMount:{type:Boolean,default:zn("eagerMount")},popperClass:{type:[String,Array,Object],default:zn("popperClass")},computeTransformOrigin:{type:Boolean,default:zn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:zn("autoMinSize")},autoSize:{type:[Boolean,String],default:zn("autoSize")},autoMaxSize:{type:Boolean,default:zn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:zn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:zn("preventOverflow")},overflowPadding:{type:[Number,String],default:zn("overflowPadding")},arrowPadding:{type:[Number,String],default:zn("arrowPadding")},arrowOverflow:{type:Boolean,default:zn("arrowOverflow")},flip:{type:Boolean,default:zn("flip")},shift:{type:Boolean,default:zn("shift")},shiftCrossAxis:{type:Boolean,default:zn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:zn("noAutoFocus")},disposeTimeout:{type:Number,default:zn("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[dy])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(sZ({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(oZ({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(cZ({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(iZ({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(nZ({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let a;const{centerOffset:s}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?a=Math.abs(s)>o.reference.width/2:a=Math.abs(s)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:a})=>{var s;if((s=a.autoSize)!=null&&s.skip)return{};let c,l;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:l=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(lZ({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await hZ(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wl&&this.instantMove&&wl.instantMove&&wl!==this.parentPopper){wl.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(wl=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await fy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ag(this.$_referenceNode),...Ag(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=e.x+e.width/2-(r.left+n.offsetLeft),i=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<va.length;n++)e=va[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}va.push(this),document.body.classList.add("v-popper--some-open");for(const e of I3(this.theme))F3(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await fy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,z3(va,this),va.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of I3(this.theme)){const r=F3(n);z3(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}wl===this&&(wl=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await fy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,L3,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],L3,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,D3,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],D3,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,eu?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(a=>{const s=e[a];s&&this.$_registerEventListeners(t,s,o)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!t||t===o?r.forEach(a=>a.removeEventListener(o,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(uh>=t.left&&uh<=t.right&&fh>=t.top&&fh<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=uh-mc,r=fh-gc,o=e.left+e.width/2-mc+(e.top+e.height/2)-gc+e.width+e.height,i=mc+n*o,a=gc+r*o;return gv(mc,gc,i,a,e.left,e.top,e.left,e.bottom)||gv(mc,gc,i,a,e.left,e.top,e.right,e.top)||gv(mc,gc,i,a,e.right,e.top,e.right,e.bottom)||gv(mc,gc,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(A9?(document.addEventListener("touchstart",H3,eu?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",mZ,eu?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",H3,!0),window.addEventListener("click",vZ,!0)),window.addEventListener("resize",bZ));function H3(t){for(let e=0;e<va.length;e++){const n=va[e];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(t.target)}catch{}}}function vZ(t){E9(t)}function mZ(t){E9(t,!0)}function E9(t,e=!1){const n={};for(let r=va.length-1;r>=0;r--){const o=va[r];try{const i=o.$_containsGlobalTarget=gZ(o,t);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&q3(o,i,t)){if(o.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let s=o.parentPopper;for(;s;)n[s.randomId]=!0,s=s.parentPopper;return}let a=o.parentPopper;for(;a&&q3(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,e),a=a.parentPopper}})}catch{}}}function gZ(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function q3(t,e,n){return n.closeAllPopover||n.closePopover&&e||yZ(t,n)&&!e}function yZ(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function bZ(t){for(let e=0;e<va.length;e++)va[e].$_computePosition(t)}let mc=0,gc=0,uh=0,fh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{mc=uh,gc=fh,uh=t.clientX,fh=t.clientY},eu?{passive:!0}:void 0);function gv(t,e,n,r,o,i,a,s){const c=((a-o)*(e-i)-(s-i)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e)),l=((n-t)*(e-i)-(r-e)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e));return c>=0&&c<=1&&l>=0&&l<=1}const wZ={extends:T9()},Q0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};function xZ(t,e,n,r,o,i){return et(),zt("div",{ref:"reference",class:cr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[dr(t.$slots,"default",I7(i2(t.slotData)))],2)}const kZ=Q0(wZ,[["render",xZ]]);function jZ(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0?parseInt(t.substring(o+5,t.indexOf(".",o)),10):-1}let Nm;function kw(){kw.init||(kw.init=!0,Nm=jZ()!==-1)}var Z0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){kw(),Tp(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Nm&&this.$el.appendChild(t),t.data="about:blank",Nm||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Nm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const _Z=RU();Jk("data-v-b329ee4c");const SZ={class:"resize-observer",tabindex:"-1"};Qk();const $Z=_Z((t,e,n,r,o,i)=>(et(),yn("div",SZ)));Z0.render=$Z;Z0.__scopeId="data-v-b329ee4c";Z0.__file="src/components/ResizeObserver.vue";const M9=(t="theme")=>({computed:{themeClass(){return pZ(this[t])}}}),CZ=ho({name:"VPopperContent",components:{ResizeObserver:Z0},mixins:[M9()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),OZ=["id","aria-hidden","tabindex","data-popper-placement"],AZ={ref:"inner",class:"v-popper__inner"},PZ=Ue("div",{class:"v-popper__arrow-outer"},null,-1),TZ=Ue("div",{class:"v-popper__arrow-inner"},null,-1),EZ=[PZ,TZ];function MZ(t,e,n,r,o,i){const a=Xl("ResizeObserver");return et(),zt("div",{id:t.popperId,ref:"popover",class:cr(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:xi(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=tK(s=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ue("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=s=>t.autoHide&&t.$emit("hide"))}),Ue("div",{class:"v-popper__wrapper",style:xi(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ue("div",AZ,[t.mounted?(et(),zt(Gr,{key:0},[Ue("div",null,[dr(t.$slots,"default")]),t.handleResize?(et(),yn(a,{key:0,onNotify:e[1]||(e[1]=s=>t.$emit("resize",s))})):_r("",!0)],64)):_r("",!0)],512),Ue("div",{ref:"arrow",class:"v-popper__arrow-container",style:xi(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},EZ,4)],4)],46,OZ)}const R9=Q0(CZ,[["render",MZ]]),N9={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},RZ=ho({name:"VPopperWrapper",components:{Popper:kZ,PopperContent:R9},mixins:[N9,M9("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function NZ(t,e,n,r,o,i){const a=Xl("PopperContent"),s=Xl("Popper");return et(),yn(s,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:cr([t.themeClass])},{default:Bt(({popperId:c,isShown:l,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:v,onResize:m,classes:g,result:y})=>[dr(t.$slots,"default",{shown:l,show:h,hide:p}),gt(a,{ref:"popperContent","popper-id":c,theme:t.finalTheme,shown:l,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":v,classes:g,result:y,onHide:p,onResize:m},{default:Bt(()=>[dr(t.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const k2=Q0(RZ,[["render",NZ]]),IZ={...k2,name:"VDropdown",vPopperTheme:"dropdown"},LZ={...k2,name:"VMenu",vPopperTheme:"menu"},DZ={...k2,name:"VTooltip",vPopperTheme:"tooltip"},zZ=ho({name:"VTooltipDirective",components:{Popper:T9(),PopperContent:R9},mixins:[N9],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Fh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Fh(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),BZ=["innerHTML"],FZ=["textContent"];function HZ(t,e,n,r,o,i){const a=Xl("PopperContent"),s=Xl("Popper");return et(),yn(s,V0({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Bt(({popperId:c,isShown:l,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:v,classes:m,result:g})=>[gt(a,{ref:"popperContent",class:cr({"v-popper--tooltip-loading":t.loading}),"popper-id":c,theme:t.theme,shown:l,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:g,onHide:h,onResize:v},{default:Bt(()=>[t.html?(et(),zt("div",{key:0,innerHTML:t.finalContent},null,8,BZ)):(et(),zt("div",{key:1,textContent:ao(t.finalContent)},null,8,FZ))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const qZ=Q0(zZ,[["render",HZ]]),I9="v-popper--has-tooltip";function VZ(t,e){let n=t.placement;if(!n&&e)for(const r of P9)e[r]&&(n=r);return n||(n=Fh(t.theme||"tooltip","placement")),n}function L9(t,e,n){let r;const o=typeof e;return o==="string"?r={content:e}:e&&o==="object"?r=e:r={content:!1},r.placement=VZ(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let hy,Hh,WZ=0;function UZ(){if(hy)return;Hh=rn([]),hy=BI({name:"VTooltipDirectiveApp",setup(){return{directives:Hh}},render(){return this.directives.map(e=>Jc(qZ,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),hy.mount(t)}function GZ(t,e,n){UZ();const r=rn(L9(t,e,n)),o=rn(!1),i={id:WZ++,options:r,shown:o};return Hh.value.push(i),t.classList&&t.classList.add(I9),t.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function D9(t){if(t.$_popper){const e=Hh.value.indexOf(t.$_popper.item);e!==-1&&Hh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(I9)}function V3(t,{value:e,modifiers:n}){const r=L9(t,e,n);if(!r.content||Fh(r.theme||"tooltip","disabled"))D9(t);else{let o;t.$_popper?(o=t.$_popper,o.options.value=r):o=GZ(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?o.show():o.hide())}}const KZ={beforeMount:V3,updated:V3,beforeUnmount(t){D9(t)}};function W3(t){t.addEventListener("click",z9),t.addEventListener("touchstart",B9,eu?{passive:!0}:!1)}function U3(t){t.removeEventListener("click",z9),t.removeEventListener("touchstart",B9),t.removeEventListener("touchend",F9),t.removeEventListener("touchcancel",H9)}function z9(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function B9(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",F9),e.addEventListener("touchcancel",H9)}}function F9(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function H9(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const JZ={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&W3(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?W3(t):U3(t))},beforeUnmount(t){U3(t)}};function QZ(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,O9(Hs,e),t.directive("tooltip",KZ),t.directive("close-popper",JZ),t.component("VTooltip",DZ),t.component("VDropdown",IZ),t.component("VMenu",LZ))}const ZZ={version:"2.0.0-beta.24",install:QZ,options:Hs},YZ=ys(t=>{t.vueApp.use(ZZ)}),XZ=[OQ,PQ,MQ,NQ,zQ,qQ,VQ,UQ,GQ,YZ],Rp=ho({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(et(),zt("div",{class:cr(["n-icon",e.icon])},null,2))}}),nc=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},eY={},tY={class:"n-badge"};function nY(t,e){return et(),zt("span",tY,[dr(t.$slots,"default")])}const rY=nc(eY,[["render",nY]]);async function q9(t,e=bu()){const{path:n,matched:r}=e.resolve(t);if(!r.length||(e._routePreloaded||(e._routePreloaded=new Set),e._routePreloaded.has(n)))return;const o=e._preloadPromises=e._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>q9(t,e));e._routePreloaded.add(n);const i=r.map(a=>{var s;return(s=a.components)==null?void 0:s.default}).filter(a=>typeof a=="function");for(const a of i){const s=Promise.resolve(a()).catch(()=>{}).finally(()=>o.splice(o.indexOf(s)));o.push(s)}await Promise.all(o)}const oY=(...t)=>t.find(e=>e!==void 0),iY="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function aY(t){const e=t.componentName||"NuxtLink",n=(r,o)=>{if(!r||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return r;const i=t.trailingSlash==="append"?yg:f2;if(typeof r=="string")return i(r,!0);const a="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(a,!0)}};return ho({name:e,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(r,{slots:o}){const i=bu(),a=Lh(),s=gn(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),c=gn(()=>typeof s.value=="string"&&Ep(s.value,{acceptRelative:!0})),l=gn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof s.value=="object"?!1:s.value===""||c.value),u=rn(!1),f=rn(null),d=h=>{var p;f.value=r.custom?(p=h==null?void 0:h.$el)==null?void 0:p.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!cY()){const p=Rr();let v,m=null;nd(()=>{const g=sY();g2(()=>{v=yw(()=>{var y;(y=f==null?void 0:f.value)!=null&&y.tagName&&(m=g.observe(f.value,async()=>{m==null||m(),m=null;const w=typeof s.value=="string"?s.value:i.resolve(s.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",w).catch(()=>{}),!l.value&&q9(s.value,i).catch(()=>{})]),u.value=!0}))})})}),n2(()=>{v&&RQ(v),m==null||m(),m=null})}return()=>{var g,y;if(!l.value){const w={ref:d,to:s.value,activeClass:r.activeClass||t.activeClass,exactActiveClass:r.exactActiveClass||t.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(w.class=r.prefetchedClass||t.prefetchedClass),w.rel=r.rel),Jc(Xl("RouterLink"),w,o.default)}const h=typeof s.value=="object"?((g=i.resolve(s.value))==null?void 0:g.href)??null:s.value&&!r.external&&!c.value?n(tc(a.app.baseURL,s.value),i.resolve):s.value||null,p=r.target||null,v=r.noRel?null:oY(r.rel,t.externalRelAttribute,h?iY:"")||null,m=()=>f9(h,{replace:r.replace});return r.custom?o.default?o.default({href:h,navigate:m,get route(){if(!h)return;const w=yu(h);return{path:w.pathname,fullPath:w.pathname,get query(){return u2(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:p,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Jc("a",{ref:f,href:h,rel:v,target:p},(y=o.default)==null?void 0:y.call(o))}}})}const V9=aY(wQ);function sY(){const t=Rr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(i,a)=>(e||(e=new IntersectionObserver(s=>{for(const c of s){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(i,a),e.observe(i),()=>{n.delete(i),e.unobserve(i),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function cY(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const lY={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},W9=ho({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=gn(()=>e.href||e.to);return(r,o)=>{const i=V9;return et(),yn(i,V0(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:Bt(()=>[dr(r.$slots,"default"),n.value&&r.target==="_blank"?(et(),zt("div",lY)):_r("",!0)]),_:3},16,["class"])}}}),uY={},fY={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},dY=Ue("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),hY=[dY];function pY(t,e){return et(),zt("svg",fY,hY)}const vY=nc(uY,[["render",pY]]),mY=ho({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Rp;return et(),yn(Xk(e.to?Ve(V9):"button"),V0({to:e.to},{...e.$attrs,...!e.to&&{type:e.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":e.border},{"n-icon-button":!e.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:Bt(()=>[dr(e.$slots,"icon",{},()=>[e.icon?(et(),yn(r,{key:0,icon:e.icon,class:cr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):_r("",!0)]),dr(e.$slots,"default")]),_:3},16,["to","class"])}}}),gY={},yY={class:"n-loading n-panel-grids-center"},bY={class:"flex flex-col animate-pulse items-center text-lg"},wY=Ue("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function xY(t,e){return et(),zt("div",yY,[Ue("div",bY,[wY,dr(t.$slots,"default",{},()=>[xn(" Loading... ")])])])}const U9=nc(gY,[["render",xY]]),kY=ho({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=rn(),i=rn(!0),a=rn();function s(c){const l=o.value;if(c!==a.value){a.value=c,i.value=!0,l.style.backgroundImage="";const u=Date.now();$fetch.raw(c,{responseType:"blob"}).then(f=>{const d=f.headers.get("content-length"),h=Math.round(Number(d)/1024),p=new FileReader;p.readAsDataURL(f._data),p.onloadend=()=>{const v=p.result;v&&(l.style.backgroundImage=`url(${v})`,i.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return nd(()=>{Jr(()=>n.src,c=>{s(c)},{immediate:!0})}),(c,l)=>{const u=U9;return et(),zt("div",{ref_key:"image",ref:o,style:xi({aspectRatio:c.aspectRatio})},[Ve(i)?(et(),yn(u,{key:0})):_r("",!0)],4)}}});const G9=nc(kY,[["__scopeId","data-v-eaa32c83"]]),j2=()=>y2("color-mode").value;function G3(t){return typeof t=="function"?t():Ve(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jY=t=>typeof t<"u",K3=()=>{};function _Y(t,e){function n(...r){return new Promise((o,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return n}function SY(t,e={}){let n,r,o=K3;const i=s=>{clearTimeout(s),o(),o=K3};return s=>{const c=G3(t),l=G3(e.maxWait);return n&&i(n),c<=0||l!==void 0&&l<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,l&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,u(s())},l)),n=setTimeout(()=>{r&&i(r),r=null,u(s())},c)})}}function _2(t,e=200,n={}){return _Y(SY(e,n),t)}function $Y(t){return JSON.parse(JSON.stringify(t))}function K9(t,e,n,r={}){var o,i,a;const{clone:s=!1,passive:c=!1,eventName:l,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=gu(),p=n||(h==null?void 0:h.emit)||((o=h==null?void 0:h.$emit)==null?void 0:o.bind(h))||((a=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let v=l;e||(e="modelValue"),v=v||`update:${e.toString()}`;const m=w=>s?typeof s=="function"?s(w):$Y(w):w,g=()=>jY(t[e])?m(t[e]):f,y=w=>{d?d(w)&&p(v,w):p(v,w)};if(c){const w=g(),x=rn(w);let k=!1;return Jr(()=>t[e],b=>{k||(k=!0,x.value=m(b),Tp(()=>k=!1))}),Jr(x,b=>{!k&&(b!==t[e]||u)&&y(b)},{deep:u}),x}else return gn({get(){return g()},set(w){y(w)}})}const Y0=rn(Date.now()),J9=rn(Date.now()),kd=rn(null),CY=window.location.host,dh=rn("/"),Q9=rn("/"),io=rn({}),pi=rn({}),Mu=rn(!1),py=rn({}),Ai=_2(()=>{Y0.value=Date.now()},200),OY=_2(()=>{Y0.value=Date.now()},1e3),S2=gn(()=>qI(Q9.value,`${window.location.protocol}//${CY}`)),AY=["width","height"],PY=ho({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=rn(),i=j2(),a=rn(),s=_2(()=>{const u=a.value,f=Date.now();u.src="";const d=io.value.width||1200,h=io.value.height||600,p=u.offsetHeight,v=u.offsetWidth,m=p>h?1:p/h,g=v>d?1:v/d,y=g>m?m:g;u.style.opacity="0",u.onload=()=>{u.style.opacity="1",r("load",{timeTaken:Date.now()-f})},u.src=`${o.value}&scale=${y}&mode=${i.value}`},200);nd(()=>{Jr(()=>n.src,u=>{o.value!==u&&a.value&&(o.value=u,s())},{immediate:!0}),Jr([()=>i,a],()=>{s()})}),i9({bodyAttrs:{onresize:()=>{s()}}});const c=gn(()=>n.maxWidth||io.value.width),l=gn(()=>n.maxHeight||io.value.height);return(u,f)=>(et(),zt("div",{class:"w-full mx-auto h-full justify-center flex",style:xi({maxHeight:`${Ve(l)}px`,maxWidth:`${Ve(c)}px`})},[Ue("iframe",{ref_key:"iframe",ref:a,class:"max-h-full",style:xi({aspectRatio:u.aspectRatio}),width:Ve(c),height:Ve(l)},null,12,AY)],4))}});const Z9=nc(PY,[["__scopeId","data-v-ee72acc8"]]);const TY={},EY={class:"root max-h-full relative flex"},MY={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},RY={class:"image-wrap"},NY={class:"domain absolute bottom-3 bg-black/20 z-2 left-3 text-white"};function IY(t,e){return et(),zt("div",EY,[Ue("div",MY,[Ue("div",RY,[dr(t.$slots,"default",{},void 0,!0)])]),Ue("div",NY,[dr(t.$slots,"domain",{},void 0,!0)])])}const LY=nc(TY,[["render",IY],["__scopeId","data-v-7198aba6"]]);const DY={},zY=t=>(Jk("data-v-ba8e339e"),t=t(),Qk(),t),BY={class:"root"},FY=zY(()=>Ue("div",{class:"bar"},null,-1)),HY={class:"content"},qY={class:"flex items-center space-x-2"},VY={class:"favIcon"},WY={class:"siteName"},UY={class:"title"},GY={class:"description"};function KY(t,e){return et(),zt("div",BY,[FY,Ue("div",HY,[Ue("div",qY,[Ue("div",VY,[dr(t.$slots,"favIcon",{},void 0,!0)]),Ue("div",WY,[dr(t.$slots,"siteName",{},void 0,!0)])]),Ue("div",UY,[dr(t.$slots,"title",{},void 0,!0)]),Ue("div",GY,[dr(t.$slots,"description",{},void 0,!0)]),dr(t.$slots,"default",{},void 0,!0)])])}const JY=nc(DY,[["render",KY],["__scopeId","data-v-ba8e339e"]]),Y9=Object.freeze({left:0,top:0,width:16,height:16}),X9=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),$2=Object.freeze({...Y9,...X9});Object.freeze({...$2,body:"",hidden:!1});({...Y9});const eL=Object.freeze({width:null,height:null}),tL=Object.freeze({...eL,...X9});function QY(t,e){const n={...t};for(const r in e){const o=e[r],i=typeof o;r in eL?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ZY=/[\s,]+/;function YY(t,e){e.split(ZY).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function XY(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:r(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return e}const eX=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tX=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function J3(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const r=t.split(eX);if(r===null||!r.length)return t;const o=[];let i=r.shift(),a=tX.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}const nX=t=>t==="unset"||t==="undefined"||t==="none";function rX(t,e){const n={...$2,...t},r={...tL,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):g&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let w;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:w=o.height/2+o.top,v.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,v.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}y%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),v.length&&(i='<g transform="'+v.join(" ")+'">'+i+"</g>")});const a=r.width,s=r.height,c=o.width,l=o.height;let u,f;a===null?(f=s===null?"1em":s==="auto"?l:s,u=J3(f,c/l)):(u=a==="auto"?c:a,f=s===null?J3(u,l/c):s==="auto"?l:s);const d={},h=(p,v)=>{nX(v)||(d[p]=v.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:i}}const oX=/\sid="(\S+)"/g,iX="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let aX=0;function sX(t,e=iX){const n=[];let r;for(;r=oX.exec(t);)n.push(r[1]);if(!n.length)return t;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof e=="function"?e(i):e+(aX++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),t=t.replace(new RegExp(o,"g"),""),t}function cX(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in e)n+=" "+r+'="'+e[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function lX(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function uX(t){return"data:image/svg+xml,"+lX(t)}function fX(t){return'url("'+uX(t)+'")'}const Q3={...tL,inline:!1},dX={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},hX={display:"inline-block"},jw={backgroundColor:"currentColor"},nL={backgroundColor:"transparent"},Z3={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Y3={webkitMask:jw,mask:jw,background:nL};for(const t in Y3){const e=Y3[t];for(const n in Z3)e[t+n]=Z3[n]}const Im={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Im[t+"-flip"]=e,Im[t.slice(0,1)+"-flip"]=e,Im[t+"Flip"]=e});function X3(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const pX=(t,e)=>{const n=QY(Q3,e),r={...dX},o=e.mode||"svg",i={},a=e.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in e){const m=e[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&YY(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=XY(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=Im[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):Q3[v]===void 0&&(r[v]=m)}}}const c=rX(t,n),l=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...s},Object.assign(r,l);let v=0,m=e.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=sX(c.body,m?()=>m+"ID"+v++:"iconifyVue"),Jc("svg",r)}const{body:u,width:f,height:d}=t,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),p=cX(u,{...l,width:f+"",height:d+""});return r.style={...i,"--svg":fX(p),width:X3(l.width),height:X3(l.height),...hX,...h?jw:nL,...s},Jc("span",r)},vX=Object.create(null),mX=ho({inheritAttrs:!1,render(){const t=this.$attrs,e=t.icon,n=typeof e=="string"?vX[e]:typeof e=="object"?e:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:pX({...$2,...n},t)}}),hh=/^[a-z0-9]+(-[a-z0-9]+)*$/,X0=(t,e,n,r="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:s};return e&&!Lm(l)?null:l}const i=o[0],a=i.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return e&&!Lm(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:i};return e&&!Lm(s,n)?null:s}return null},Lm=(t,e)=>t?!!((t.provider===""||t.provider.match(hh))&&(e&&t.prefix===""||t.prefix.match(hh))&&t.name.match(hh)):!1,rL=Object.freeze({left:0,top:0,width:16,height:16}),Pg=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),C2=Object.freeze({...rL,...Pg}),_w=Object.freeze({...C2,body:"",hidden:!1});function gX(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(e.rotate||0))%4;return r&&(n.rotate=r),n}function e$(t,e){const n=gX(t,e);for(const r in _w)r in Pg?r in t&&!(r in n)&&(n[r]=Pg[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function yX(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const s=r[a]&&r[a].parent,c=s&&i(s);c&&(o[a]=[s].concat(c))}return o[a]}return(e||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function bX(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function a(s){i=e$(r[s]||o[s],i)}return a(e),n.forEach(a),e$(t,i)}function oL(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const r=yX(t);for(const o in r){const i=r[o];i&&(e(o,bX(t,o,i)),n.push(o))}return n}const wX={provider:"",aliases:{},not_found:{},...rL};function vy(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function iL(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!vy(t,wX))return null;const n=e.icons;for(const o in n){const i=n[o];if(!o.match(hh)||typeof i.body!="string"||!vy(i,_w))return null}const r=e.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(hh)||typeof a!="string"||!n[a]&&!r[a]||!vy(i,_w))return null}return e}const t$=Object.create(null);function xX(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function tu(t,e){const n=t$[t]||(t$[t]=Object.create(null));return n[e]||(n[e]=xX(t,e))}function O2(t,e){return iL(e)?oL(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function kX(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let qh=!1;function aL(t){return typeof t=="boolean"&&(qh=t),qh}function jX(t){const e=typeof t=="string"?X0(t,!0,qh):t;if(e){const n=tu(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _X(t,e){const n=X0(t,!0,qh);if(!n)return!1;const r=tu(n.provider,n.prefix);return kX(r,n.name,e)}function SX(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),qh&&!e&&!t.prefix){let o=!1;return iL(t)&&(t.prefix="",oL(t,(i,a)=>{a&&_X(i,a)&&(o=!0)})),o}const n=t.prefix;if(!Lm({provider:e,prefix:n,name:"a"}))return!1;const r=tu(e,n);return!!O2(r,t)}const $X=Object.freeze({width:null,height:null}),CX=Object.freeze({...$X,...Pg});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Sw=Object.create(null);function OX(t,e){Sw[t]=e}function $w(t){return Sw[t]||Sw[""]}function A2(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const P2=Object.create(null),jd=["https://api.simplesvg.com","https://api.unisvg.com"],Dm=[];for(;jd.length>0;)jd.length===1||Math.random()>.5?Dm.push(jd.shift()):Dm.push(jd.pop());P2[""]=A2({resources:["https://api.iconify.design"].concat(Dm)});function Cw(t,e){const n=A2(e);return n===null?!1:(P2[t]=n,!0)}function T2(t){return P2[t]}const AX=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let n$=AX();function PX(t,e){const n=T2(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=e+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function TX(t){return t===404}const EX=(t,e,n)=>{const r=[],o=PX(t,e),i="icons";let a={type:i,provider:t,prefix:e,icons:[]},s=0;return n.forEach((c,l)=>{s+=c.length+1,s>=o&&l>0&&(r.push(a),a={type:i,provider:t,prefix:e,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function MX(t){if(typeof t=="string"){const e=T2(t);if(e)return e.path}return"/"}const RX=(t,e,n)=>{if(!n$){n("abort",424);return}let r=MX(e.provider);switch(e.type){case"icons":{const i=e.prefix,s=e.icons.join(","),c=new URLSearchParams({icons:s});r+=i+".json?"+c.toString();break}case"custom":{const i=e.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;n$(t+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(TX(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},NX={prepare:EX,send:RX};function IX(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return t.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,a=o.prefix,s=o.name,c=n[i]||(n[i]=Object.create(null)),l=c[a]||(c[a]=tu(i,a));let u;s in l.icons?u=e.loaded:a===""||l.missing.has(s)?u=e.missing:u=e.pending;const f={provider:i,prefix:a,name:s};u.push(f)}),e}function sL(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==e))})}function LX(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const r=t.provider,o=t.prefix;e.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(t.icons[l])a.loaded.push({provider:r,prefix:o,name:l});else if(t.missing.has(l))a.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||sL([t],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let DX=0;function zX(t,e,n){const r=DX++,o=sL.bind(null,n,r);if(!e.pending.length)return o;const i={id:r,icons:e,callback:t,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function BX(t,e=!0,n=!1){const r=[];return t.forEach(o=>{const i=typeof o=="string"?X0(o,e,n):o;i&&r.push(i)}),r}var FX={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function HX(t,e,n,r){const o=t.resources.length,i=t.random?Math.floor(Math.random()*o):t.index;let a;if(t.random){let b=t.resources.slice(0);for(a=[];b.length>1;){const j=Math.floor(Math.random()*b.length);a.push(b[j]),b=b.slice(0,j).concat(b.slice(j+1))}a=a.concat(b)}else a=t.resources.slice(i).concat(t.resources.slice(0,i));const s=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){c==="pending"&&(c="aborted"),p(),d.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),d=[]}function m(b,j){j&&(h=[]),typeof b=="function"&&h.push(b)}function g(){return{startTime:s,payload:e,status:c,queriesSent:l,queriesPending:d.length,subscribe:m,abort:v}}function y(){c="failed",h.forEach(b=>{b(void 0,u)})}function w(){d.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),d=[]}function x(b,j,$){const S=j!=="success";switch(d=d.filter(_=>_!==b),c){case"pending":break;case"failed":if(S||!t.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=$,y();return}if(S){u=$,d.length||(a.length?k():y());return}if(p(),w(),!t.random){const _=t.resources.indexOf(b.resource);_!==-1&&_!==t.index&&(t.index=_)}c="completed",h.forEach(_=>{_($)})}function k(){if(c!=="pending")return;p();const b=a.shift();if(b===void 0){if(d.length){f=setTimeout(()=>{p(),c==="pending"&&(w(),y())},t.timeout);return}y();return}const j={status:"pending",resource:b,callback:($,S)=>{x(j,$,S)}};d.push(j),l++,f=setTimeout(k,t.rotate),n(b,e,j.callback)}return setTimeout(k),g}function cL(t){const e={...FX,...t};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,l){const u=HX(e,s,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function i(s){return n.find(c=>s(c))||null}return{query:o,find:i,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:r}}function r$(){}const my=Object.create(null);function qX(t){if(!my[t]){const e=T2(t);if(!e)return;const n=cL(e),r={config:e,redundancy:n};my[t]=r}return my[t]}function VX(t,e,n){let r,o;if(typeof t=="string"){const i=$w(t);if(!i)return n(void 0,424),r$;o=i.send;const a=qX(t);a&&(r=a.redundancy)}else{const i=A2(t);if(i){r=cL(i);const a=t.resources?t.resources[0]:"",s=$w(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),r$):r.query(e,o,n)().abort}const o$="iconify2",Vh="iconify",lL=Vh+"-count",i$=Vh+"-version",uL=36e5,WX=168;function Ow(t,e){try{return t.getItem(e)}catch{}}function E2(t,e,n){try{return t.setItem(e,n),!0}catch{}}function a$(t,e){try{t.removeItem(e)}catch{}}function Aw(t,e){return E2(t,lL,e.toString())}function Pw(t){return parseInt(Ow(t,lL))||0}const e1={local:!0,session:!0},fL={local:new Set,session:new Set};let M2=!1;function UX(t){M2=t}let yv=typeof window>"u"?{}:window;function dL(t){const e=t+"Storage";try{if(yv&&yv[e]&&typeof yv[e].length=="number")return yv[e]}catch{}e1[t]=!1}function hL(t,e){const n=dL(t);if(!n)return;const r=Ow(n,i$);if(r!==o$){if(r){const s=Pw(n);for(let c=0;c<s;c++)a$(n,Vh+c.toString())}E2(n,i$,o$),Aw(n,0);return}const o=Math.floor(Date.now()/uL)-WX,i=s=>{const c=Vh+s.toString(),l=Ow(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&e(u,s))return!0}catch{}a$(n,c)}};let a=Pw(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Aw(n,a)):fL[t].add(s))}function pL(){if(!M2){UX(!0);for(const t in e1)hL(t,e=>{const n=e.data,r=e.provider,o=n.prefix,i=tu(r,o);if(!O2(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function GX(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const r in e1)hL(r,o=>{const i=o.data;return o.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===e});return!0}function KX(t,e){M2||pL();function n(r){let o;if(!e1[r]||!(o=dL(r)))return;const i=fL[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Pw(o),!Aw(o,a+1))return;const s={cached:Math.floor(Date.now()/uL),provider:t.provider,data:e};return E2(o,Vh+a.toString(),JSON.stringify(s))}e.lastModified&&!GX(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function s$(){}function JX(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,LX(t)}))}function QX(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,o=t.iconsToLoad;delete t.iconsToLoad;let i;if(!o||!(i=$w(n)))return;i.prepare(n,r,o).forEach(s=>{VX(n,s,c=>{if(typeof c!="object")s.icons.forEach(l=>{t.missing.add(l)});else try{const l=O2(t,c);if(!l.length)return;const u=t.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),KX(t,c)}catch(l){console.error(l)}JX(t)})})}))}const ZX=(t,e)=>{const n=BX(t,!0,aL()),r=IX(n);if(!r.pending.length){let c=!0;return e&&setTimeout(()=>{c&&e(r.loaded,r.missing,r.pending,s$)}),()=>{c=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===s&&l===a)return;a=l,s=u,i.push(tu(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=tu(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[l][u].push(f))}),i.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&QX(c,o[l][u])}),e?zX(e,r,i):s$},YX=t=>new Promise((e,n)=>{const r=typeof t=="string"?X0(t,!0):t;if(!r){n(t);return}ZX([r||t],o=>{if(o.length&&r){const i=jX(r);if(i){e({...C2,...i});return}}n(t)})});({...CX});const c$={backgroundColor:"currentColor"},XX={backgroundColor:"transparent"},l$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},u$={webkitMask:c$,mask:c$,background:XX};for(const t in u$){const e=u$[t];for(const n in l$)e[t+n]=l$[n]}const gy={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";gy[t+"-flip"]=e,gy[t.slice(0,1)+"-flip"]=e,gy[t+"Flip"]=e});aL(!0);OX("",NX);if(typeof document<"u"&&typeof window<"u"){pL();const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!SX(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const r="IconifyProviders["+n+"] is invalid.";try{const o=e[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Cw(n,o)||console.error(r)}catch{console.error(r)}}}}({...C2});const eee=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","devicon-plain","entypo-social","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","covid","maki","gala","ooui","noto","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","bxl","cib","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function tee(t=""){let e,n="";if(t[0]==="@"&&t.includes(":")&&(n=t.split(":")[0].slice(1),t=t.split(":").slice(1).join(":")),t.startsWith("i-")){t=t.replace(/^i-/,"");for(const r of eee)if(t.startsWith(r)){e=r,t=t.slice(r.length+1);break}}else if(t.includes(":")){const[r,o]=t.split(":");e=r,t=o}return{provider:n,prefix:e||"",name:t||""}}const nee=ho({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let e,n;const r=Rr(),o=d9(),i=t;Jr(()=>{var m;return(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions},()=>{var m,g,y,w,x,k;if((g=(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions)!=null&&g.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((w=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&w.publicApiFallback){Cw("custom",{resources:[(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions.url],index:0});return}Cw("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const a=y2("icons",()=>({})),s=rn(!1),c=gn(()=>{var m,g;return(g=(m=o.nuxtIcon)==null?void 0:m.aliases)!=null&&g[i.name]?o.nuxtIcon.aliases[i.name]:i.name}),l=gn(()=>tee(c.value)),u=gn(()=>[l.value.provider,l.value.prefix,l.value.name].filter(Boolean).join(":")),f=gn(()=>{var m;return(m=a.value)==null?void 0:m[u.value]}),d=gn(()=>r.vueApp.component(c.value)),h=gn(()=>{var g,y,w;if(!i.size&&typeof((g=o.nuxtIcon)==null?void 0:g.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const m=i.size||((w=o.nuxtIcon)==null?void 0:w.size)||"1em";return String(Number(m))===m?`${m}px`:m}),p=gn(()=>{var m;return((m=o==null?void 0:o.nuxtIcon)==null?void 0:m.class)??"icon"});async function v(){var m;d.value||(m=a.value)!=null&&m[u.value]||(s.value=!0,a.value[u.value]=await YX(l.value).catch(()=>{}),s.value=!1)}return Jr(c,v),!d.value&&([e,n]=wI(()=>v()),e=await e,n()),(m,g)=>s.value?(et(),zt("span",{key:0,class:cr(p.value),style:xi({width:h.value,height:h.value})},null,6)):f.value?(et(),yn(Ve(mX),{key:1,icon:f.value,class:cr(p.value),width:h.value,height:h.value},null,8,["icon","class","width","height"])):d.value?(et(),yn(Xk(d.value),{key:2,class:cr(p.value),width:h.value,height:h.value},null,8,["class","width","height"])):(et(),zt("span",{key:3,class:cr(p.value),style:xi({fontSize:h.value,lineHeight:h.value,width:h.value,height:h.value})},[dr(m.$slots,"default",{},()=>[xn(ao(t.name),1)],!0)],6))}});const vL=nc(nee,[["__scopeId","data-v-3e5f898f"]]),ree=Object.freeze(Object.defineProperty({__proto__:null,default:vL},Symbol.toStringTag,{value:"Module"})),oee=["disabled"],iee={key:0,value:"",disabled:"",hidden:""},aee=ho({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const o=K9(t,"modelValue",e,{passive:!0});return(i,a)=>{const s=Rp;return et(),zt("div",{class:cr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",i.disabled?"border-gray:10":"n-border-base"])},[dr(i.$slots,"icon",{},()=>[i.icon?(et(),yn(s,{key:0,icon:i.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):_r("",!0)]),hI(Ue("select",{"onUpdate:modelValue":a[0]||(a[0]=c=>co(o)?o.value=c:null),disabled:i.disabled,class:cr(["w-full flex-auto n-bg-base !outline-none",i.disabled?"appearance-none":""])},[i.placeholder?(et(),zt("option",iee,ao(i.placeholder),1)):_r("",!0),dr(i.$slots,"default")],10,oee),[[QG,Ve(o)]])],2)}}}),see={flex:"~ gap-3","items-center":""},cee=ho({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(et(),zt("div",see,[e.icon?(et(),zt("div",{key:0,class:cr(e.icon)},null,2)):_r("",!0),dr(e.$slots,"default",{},()=>[Ue("div",null,ao(e.text),1)])]))}}),mL=t=>(Jk("data-v-348c1d92"),t=t(),Qk(),t),lee=["open"],uee={"text-base":""},fee={key:0,"text-sm":"",op50:""},dee=mL(()=>Ue("div",{class:"flex-auto"},null,-1)),hee=mL(()=>Ue("div",{class:"x-divider"},null,-1)),pee=ho({__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(t){const n=K9(t,"open");function r(o){n.value=o.target.open}return(o,i)=>{const a=Rp,s=cee;return et(),zt(Gr,null,[Ue("details",{open:Ve(n),onToggle:r},[Ue("summary",{class:cr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[gt(s,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:cr([Ve(n)?"op100":"op60",o.headerClass])},{default:Bt(()=>[Ue("div",null,[Ue("div",uee,[dr(o.$slots,"text",{},()=>[xn(ao(o.text),1)],!0)]),o.description||o.$slots.description?(et(),zt("div",fee,[dr(o.$slots,"description",{},()=>[xn(ao(o.description),1)],!0)])):_r("",!0)]),dee,dr(o.$slots,"actions",{},void 0,!0),o.collapse?(et(),yn(a,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):_r("",!0)]),_:3},8,["icon","text","class"])],2),Ue("div",{class:cr(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[dr(o.$slots,"details",{},void 0,!0),Ue("div",{class:cr([o.containerClass,"mt1"])},[dr(o.$slots,"default",{},void 0,!0)],2),dr(o.$slots,"footer",{},void 0,!0)],2)],40,lee),hee],64)}}});const vee=nc(pee,[["__scopeId","data-v-348c1d92"]]);let mee;const _d=[];function gee(t){if(_d.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&_d.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&_d.forEach(n=>n(e))},get(){return mee.value},configurable:!0}),()=>{_d.splice(_d.indexOf(t),1)}}const yee=rn(),bee=rn(),jc=rn(),wee=rn();gee(async t=>{yee.value=t.host.app.$fetch,fI(()=>{wee.value=t.host.app.colorMode.value}),bee.value=t.devtools,jc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(e){var n,r,o,i;(i=(o=(r=(n=jc.value)==null?void 0:n.host.nuxt.vueApp.config)==null?void 0:r.globalProperties)==null?void 0:o.$route.matched[0].components)!=null&&i.default.__file.includes(e)&&Ai()},refreshGlobalData(){J9.value=Date.now()}})});const xee={key:0,class:"opacity-70 text-sm"},kee={class:"w-[228px] h-[120px] relative mb-1"},jee={class:"flex justify-between items-center text-xs px-2"},_ee={class:"flex items-center"},See={class:"opacity-85"},$ee={class:"opacity-70"},Cee=ho({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var s;(s=jc.value)==null||s.devtools.rpc.openInEditor(e.component.path)}const r=gn(()=>e.src.includes(".html")),o=gn(()=>{var s;return(s=e.component.credits)==null?void 0:s.split("<")[0].trim()}),i=gn(()=>{var s;return(s=e.component.credits)==null?void 0:s.split("<")[1].trim().replace(">","")}),a=rn();return(s,c)=>{const l=W9,u=Rp,f=G9,d=Z9;return et(),zt("div",null,[s.component.credits?(et(),zt("div",xee,[i.value?(et(),yn(l,{key:0,href:i.value,external:"",class:"underline"},{default:Bt(()=>[xn(ao(o.value),1)]),_:1},8,["href"])):_r("",!0)])):_r("",!0),Ue("div",kee,[s.active?(et(),yn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):_r("",!0),r.value?(et(),yn(d,{key:2,src:s.src,"aspect-ratio":s.aspectRatio,onLoad:c[1]||(c[1]=h=>a.value=h)},null,8,["src","aspect-ratio"])):(et(),yn(f,{key:1,src:Ve(Dl)(s.src,{component:s.component.pascalName}),"aspect-ratio":s.aspectRatio,class:cr(["rounded overflow-hidden",s.active?["ring-2 ring-green-500"]:[]]),onLoad:c[0]||(c[0]=h=>a.value=h)},null,8,["src","aspect-ratio","class"]))]),Ue("div",jee,[Ue("div",_ee,[gt(l,{external:"",class:"underline opacity-85",onClick:XG(n,["stop"])},{default:Bt(()=>[xn(ao(s.component.pascalName)+".vue ",1)]),_:1},8,["onClick"])]),a.value?(et(),zt(Gr,{key:0},[Ue("div",See,ao(a.value.timeTaken)+"ms ",1),Ue("div",$ee,ao(a.value.sizeKb)+"kb ",1)],64)):_r("",!0)])])}}});function gL(...t){var h;const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);let[n,r,o={}]=t;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=Rr(),a=()=>null,s=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??s,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??xQ.deep;const c=()=>![null,void 0].includes(o.getCachedData(n));if(!i._asyncData[n]||!o.immediate){(h=i.payload._errors)[n]??(h[n]=null);const p=o.deep?rn:Zb;i._asyncData[n]={data:p(o.getCachedData(n)??o.default()),pending:rn(!c()),error:Gk(i.payload._errors,n),status:rn("idle")}}const l={...i._asyncData[n]};l.refresh=l.execute=(p={})=>{if(i._asyncDataPromises[n]){if(p.dedupe===!1)return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((p._initial||i.isHydrating&&p._initial!==!1)&&c())return Promise.resolve(o.getCachedData(n));l.pending.value=!0,l.status.value="pending";const v=new Promise((m,g)=>{try{m(r(i))}catch(y){g(y)}}).then(m=>{if(v.cancelled)return i._asyncDataPromises[n];let g=m;o.transform&&(g=o.transform(m)),o.pick&&(g=Oee(g,o.pick)),i.payload.data[n]=g,l.data.value=g,l.error.value=null,l.status.value="success"}).catch(m=>{if(v.cancelled)return i._asyncDataPromises[n];l.error.value=m2(m),l.data.value=Ve(o.default()),l.status.value="error"}).finally(()=>{v.cancelled||(l.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=v,i._asyncDataPromises[n]};const u=()=>l.refresh({_initial:!0}),f=o.server!==!1&&i.payload.serverRendered;{const p=gu();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const m=p._nuxtOnBeforeMountCbs;p&&(gI(()=>{m.forEach(g=>{g()}),m.splice(0,m.length)}),Pf(()=>m.splice(0,m.length)))}f&&i.isHydrating&&(l.error.value||c())?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):p&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?p._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&Jr(o.watch,()=>l.refresh());const v=i.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await l.refresh()});p&&Pf(v)}const d=Promise.resolve(i._asyncDataPromises[n]).then(()=>l);return Object.assign(d,l),d}function Oee(t,e){const n={};for(const r of e)n[r]=t[r];return n}function f$(){return gL(()=>$fetch(tc("/__og-image__/image",dh.value,"og.json"),{baseURL:S2.value,query:pi.value}),{watch:[dh,Y0]},"$XVR8o8RMBy")}function Aee(){return gL(()=>$fetch("/__og-image__/debug.json",{baseURL:S2.value}),{watch:[J9]},"$cHgKigQ0kS")}var yL=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},bL={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(yL,()=>{return n={770:function(o,i,a){var s=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(i,"__esModule",{value:!0}),i.setDefaultDebugCall=i.createOnigScanner=i.createOnigString=i.loadWASM=i.OnigScanner=i.OnigString=void 0;const c=s(a(418));let l=null,u=!1;class f{static _utf8ByteLength(g){let y=0;for(let w=0,x=g.length;w<x;w++){const k=g.charCodeAt(w);let b=k,j=!1;if(k>=55296&&k<=56319&&w+1<x){const $=g.charCodeAt(w+1);$>=56320&&$<=57343&&(b=65536+(k-55296<<10)|$-56320,j=!0)}y+=b<=127?1:b<=2047?2:b<=65535?3:4,j&&w++}return y}constructor(g){const y=g.length,w=f._utf8ByteLength(g),x=w!==y,k=x?new Uint32Array(y+1):null;x&&(k[y]=w);const b=x?new Uint32Array(w+1):null;x&&(b[w]=y);const j=new Uint8Array(w);let $=0;for(let S=0;S<y;S++){const _=g.charCodeAt(S);let C=_,O=!1;if(_>=55296&&_<=56319&&S+1<y){const L=g.charCodeAt(S+1);L>=56320&&L<=57343&&(C=65536+(_-55296<<10)|L-56320,O=!0)}x&&(k[S]=$,O&&(k[S+1]=$),C<=127?b[$+0]=S:C<=2047?(b[$+0]=S,b[$+1]=S):C<=65535?(b[$+0]=S,b[$+1]=S,b[$+2]=S):(b[$+0]=S,b[$+1]=S,b[$+2]=S,b[$+3]=S)),C<=127?j[$++]=C:C<=2047?(j[$++]=192|(1984&C)>>>6,j[$++]=128|(63&C)>>>0):C<=65535?(j[$++]=224|(61440&C)>>>12,j[$++]=128|(4032&C)>>>6,j[$++]=128|(63&C)>>>0):(j[$++]=240|(1835008&C)>>>18,j[$++]=128|(258048&C)>>>12,j[$++]=128|(4032&C)>>>6,j[$++]=128|(63&C)>>>0),O&&S++}this.utf16Length=y,this.utf8Length=w,this.utf16Value=g,this.utf8Value=j,this.utf16OffsetToUtf8=k,this.utf8OffsetToUtf16=b}createString(g){const y=g._omalloc(this.utf8Length);return g.HEAPU8.set(this.utf8Value,y),y}}class d{constructor(g){if(this.id=++d.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=g;const y=new f(g);this.utf16Length=y.utf16Length,this.utf8Length=y.utf8Length,this.utf16OffsetToUtf8=y.utf16OffsetToUtf8,this.utf8OffsetToUtf16=y.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=l._omalloc(1e4)),d._sharedPtrInUse=!0,l.HEAPU8.set(y.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=y.createString(l)}convertUtf8OffsetToUtf16(g){return this.utf8OffsetToUtf16?g<0?0:g>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[g]:g}convertUtf16OffsetToUtf8(g){return this.utf16OffsetToUtf8?g<0?0:g>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[g]:g}dispose(){this.ptr===d._sharedPtr?d._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}i.OnigString=d,d.LAST_ID=0,d._sharedPtr=0,d._sharedPtrInUse=!1;class h{constructor(g){if(!l)throw new Error("Must invoke loadWASM first.");const y=[],w=[];for(let j=0,$=g.length;j<$;j++){const S=new f(g[j]);y[j]=S.createString(l),w[j]=S.utf8Length}const x=l._omalloc(4*g.length);l.HEAPU32.set(y,x/4);const k=l._omalloc(4*g.length);l.HEAPU32.set(w,k/4);const b=l._createOnigScanner(x,k,g.length);for(let j=0,$=g.length;j<$;j++)l._ofree(y[j]);l._ofree(k),l._ofree(x),b===0&&function(j){throw new Error(j.UTF8ToString(j._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=b}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(g,y,w){let x=u,k=0;if(typeof w=="number"?(8&w&&(x=!0),k=w):typeof w=="boolean"&&(x=w),typeof g=="string"){g=new d(g);const b=this._findNextMatchSync(g,y,x,k);return g.dispose(),b}return this._findNextMatchSync(g,y,x,k)}_findNextMatchSync(g,y,w,x){const k=this._onigBinding;let b;if(b=w?k._findNextOnigScannerMatchDbg(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(y),x):k._findNextOnigScannerMatch(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(y),x),b===0)return null;const j=k.HEAPU32;let $=b/4;const S=j[$++],_=j[$++];let C=[];for(let O=0;O<_;O++){const L=g.convertUtf8OffsetToUtf16(j[$++]),E=g.convertUtf8OffsetToUtf16(j[$++]);C[O]={start:L,end:E,length:E-L}}return{index:S,captureIndices:C}}}i.OnigScanner=h;let p=!1,v=null;i.loadWASM=function(m){if(p)return v;let g,y,w,x;if(p=!0,function(k){return typeof k.instantiator=="function"}(m))g=m.instantiator,y=m.print;else{let k;(function(b){return b.data!==void 0})(m)?(k=m.data,y=m.print):k=m,g=function(b){return typeof Response<"u"&&b instanceof Response}(k)?typeof WebAssembly.instantiateStreaming=="function"?function(b){return j=>WebAssembly.instantiateStreaming(b,j)}(k):function(b){return async j=>{const $=await b.arrayBuffer();return WebAssembly.instantiate($,j)}}(k):function(b){return j=>WebAssembly.instantiate(b,j)}(k)}return v=new Promise((k,b)=>{w=k,x=b}),function(k,b,j,$){(0,c.default)({print:b,instantiateWasm:(S,_)=>{if(typeof performance>"u"){const C=()=>Date.now();S.env.emscripten_get_now=C,S.wasi_snapshot_preview1.emscripten_get_now=C}return k(S).then(C=>_(C.instance),$),{}}}).then(S=>{l=S,j()})}(g,y,w,x),v},i.createOnigString=function(m){return new d(m)},i.createOnigScanner=function(m){return new h(m)},i.setDefaultDebugCall=function(m){u=m}},418:o=>{var i=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(a){var s,c,l=(a=a||{})!==void 0?a:{};l.ready=new Promise(function(me,xe){s=me,c=xe});var u,f=Object.assign({},l),d=!1,h="";function p(me){return l.locateFile?l.locateFile(me,h):h+me}u=function(me){let xe;return typeof readbuffer=="function"?new Uint8Array(readbuffer(me)):(xe=read(me,"binary"),x(typeof xe=="object"),xe)},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 v,m,g=l.print||console.log.bind(console),y=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&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&F("no native wasm support detected");var w=!1;function x(me,xe){me||F(xe)}var k,b,j,$=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function S(me,xe,Fe){for(var Ye=xe+Fe,De=xe;me[De]&&!(De>=Ye);)++De;if(De-xe>16&&me.buffer&&$)return $.decode(me.subarray(xe,De));for(var Qe="";xe<De;){var mt=me[xe++];if(128&mt){var Pt=63&me[xe++];if((224&mt)!=192){var ht=63&me[xe++];if((mt=(240&mt)==224?(15&mt)<<12|Pt<<6|ht:(7&mt)<<18|Pt<<12|ht<<6|63&me[xe++])<65536)Qe+=String.fromCharCode(mt);else{var Ln=mt-65536;Qe+=String.fromCharCode(55296|Ln>>10,56320|1023&Ln)}}else Qe+=String.fromCharCode((31&mt)<<6|Pt)}else Qe+=String.fromCharCode(mt)}return Qe}function _(me,xe){return me?S(b,me,xe):""}function C(me){k=me,l.HEAP8=new Int8Array(me),l.HEAP16=new Int16Array(me),l.HEAP32=new Int32Array(me),l.HEAPU8=b=new Uint8Array(me),l.HEAPU16=new Uint16Array(me),l.HEAPU32=j=new Uint32Array(me),l.HEAPF32=new Float32Array(me),l.HEAPF64=new Float64Array(me)}l.INITIAL_MEMORY;var O=[],L=[],E=[];function D(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)P(l.preRun.shift());Q(O)}function B(){Q(L)}function T(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)R(l.postRun.shift());Q(E)}function P(me){O.unshift(me)}function A(me){L.unshift(me)}function R(me){E.unshift(me)}var N=0,z=null;function I(me){N++,l.monitorRunDependencies&&l.monitorRunDependencies(N)}function W(me){if(N--,l.monitorRunDependencies&&l.monitorRunDependencies(N),N==0&&z){var xe=z;z=null,xe()}}function F(me){l.onAbort&&l.onAbort(me),y(me="Aborted("+me+")"),w=!0,me+=". Build with -sASSERTIONS for more info.";var xe=new WebAssembly.RuntimeError(me);throw c(xe),xe}var le,U,ae="data:application/octet-stream;base64,";function be(me){return me.startsWith(ae)}function Oe(me){try{if(me==le&&v)return new Uint8Array(v);if(u)return u(me);throw"both async and sync fetching of the wasm failed"}catch(xe){F(xe)}}function we(){return v||!d||typeof fetch!="function"?Promise.resolve().then(function(){return Oe(le)}):fetch(le,{credentials:"same-origin"}).then(function(me){if(!me.ok)throw"failed to load wasm binary file at '"+le+"'";return me.arrayBuffer()}).catch(function(){return Oe(le)})}function ee(){var me={env:pe,wasi_snapshot_preview1:pe};function xe(De,Qe){var mt=De.exports;l.asm=mt,C((m=l.asm.memory).buffer),l.asm.__indirect_function_table,A(l.asm.__wasm_call_ctors),W()}function Fe(De){xe(De.instance)}function Ye(De){return we().then(function(Qe){return WebAssembly.instantiate(Qe,me)}).then(function(Qe){return Qe}).then(De,function(Qe){y("failed to asynchronously prepare wasm: "+Qe),F(Qe)})}if(I(),l.instantiateWasm)try{return l.instantiateWasm(me,xe)}catch(De){y("Module.instantiateWasm callback failed with error: "+De),c(De)}return(v||typeof WebAssembly.instantiateStreaming!="function"||be(le)||typeof fetch!="function"?Ye(Fe):fetch(le,{credentials:"same-origin"}).then(function(De){return WebAssembly.instantiateStreaming(De,me).then(Fe,function(Qe){return y("wasm streaming compile failed: "+Qe),y("falling back to ArrayBuffer instantiation"),Ye(Fe)})})).catch(c),{}}function Q(me){for(;me.length>0;)me.shift()(l)}function ue(me,xe,Fe){b.copyWithin(me,xe,xe+Fe)}function X(me){try{return m.grow(me-k.byteLength+65535>>>16),C(m.buffer),1}catch{}}function Se(me){var xe,Fe=b.length,Ye=2147483648;if((me>>>=0)>Ye)return!1;for(var De=1;De<=4;De*=2){var Qe=Fe*(1+.2/De);if(Qe=Math.min(Qe,me+100663296),X(Math.min(Ye,(xe=Math.max(me,Qe))+(65536-xe%65536)%65536)))return!0}return!1}be(le="onig.wasm")||(le=p(le)),U=typeof dateNow<"u"?dateNow:()=>performance.now();var V=[null,[],[]];function q(me,xe){var Fe=V[me];xe===0||xe===10?((me===1?g:y)(S(Fe,0)),Fe.length=0):Fe.push(xe)}function Z(me,xe,Fe,Ye){for(var De=0,Qe=0;Qe<Fe;Qe++){var mt=j[xe>>2],Pt=j[xe+4>>2];xe+=8;for(var ht=0;ht<Pt;ht++)q(me,b[mt+ht]);De+=Pt}return j[Ye>>2]=De,0}var ge,pe={emscripten_get_now:U,emscripten_memcpy_big:ue,emscripten_resize_heap:Se,fd_write:Z};function Pe(me){function xe(){ge||(ge=!0,l.calledRun=!0,w||(B(),s(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),T()))}N>0||(D(),N>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),xe()},1)):xe()))}if(ee(),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=_,z=function me(){ge||Pe(),ge||(z=me)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return Pe(),a.ready});o.exports=i}},r={},function o(i){var a=r[i];if(a!==void 0)return a.exports;var s=r[i]={exports:{}};return n[i].call(s.exports,s,s.exports,o),s.exports}(770);var n,r})})(bL);var yy=bL.exports,wL={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(yL,function(){return(()=>{var n={350:(o,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.UseOnigurumaFindOptions=i.DebugFlags=void 0,i.DebugFlags={InDebugMode:typeof process<"u"&&!1},i.UseOnigurumaFindOptions=!1},36:(o,i)=>{var a;Object.defineProperty(i,"__esModule",{value:!0}),i.toOptionalTokenType=i.EncodedTokenAttributes=void 0,(a=i.EncodedTokenAttributes||(i.EncodedTokenAttributes={})).toBinaryStr=function(s){let c=s.toString(2);for(;c.length<32;)c="0"+c;return c},a.print=function(s){const c=a.getLanguageId(s),l=a.getTokenType(s),u=a.getFontStyle(s),f=a.getForeground(s),d=a.getBackground(s);console.log({languageId:c,tokenType:l,fontStyle:u,foreground:f,background:d})},a.getLanguageId=function(s){return(255&s)>>>0},a.getTokenType=function(s){return(768&s)>>>8},a.containsBalancedBrackets=function(s){return(1024&s)!=0},a.getFontStyle=function(s){return(30720&s)>>>11},a.getForeground=function(s){return(16744448&s)>>>15},a.getBackground=function(s){return(4278190080&s)>>>24},a.set=function(s,c,l,u,f,d,h){let p=a.getLanguageId(s),v=a.getTokenType(s),m=a.containsBalancedBrackets(s)?1:0,g=a.getFontStyle(s),y=a.getForeground(s),w=a.getBackground(s);return c!==0&&(p=c),l!==8&&(v=l),u!==null&&(m=u?1:0),f!==-1&&(g=f),d!==0&&(y=d),h!==0&&(w=h),(p<<0|v<<8|m<<10|g<<11|y<<15|w<<24)>>>0},i.toOptionalTokenType=function(s){return s}},996:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.BasicScopeAttributesProvider=i.BasicScopeAttributes=void 0;const s=a(878);class c{constructor(d,h){this.languageId=d,this.tokenType=h}}i.BasicScopeAttributes=c;class l{constructor(d,h){this._getBasicScopeAttributes=new s.CachedFn(p=>{const v=this._scopeToLanguage(p),m=this._toStandardTokenType(p);return new c(v,m)}),this._defaultAttributes=new c(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const h=d.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[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!")}}i.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class u{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const h=d.map(([p,v])=>s.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const h=d.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LineTokens=i.BalancedBracketSelectors=i.StateStack=i.AttributedScopeStack=i.Grammar=i.createGrammar=void 0;const s=a(350),c=a(36),l=a(736),u=a(44),f=a(792),d=a(583),h=a(878),p=a(996),v=a(47);function m($,S,_,C,O){const L=l.createMatchers(S,g),E=f.RuleFactory.getCompiledRuleId(_,C,O.repository);for(const D of L)$.push({debugSelector:S,matcher:D.matcher,ruleId:E,grammar:O,priority:D.priority})}function g($,S){if(S.length<$.length)return!1;let _=0;return $.every(C=>{for(let O=_;O<S.length;O++)if(y(S[O],C))return _=O+1,!0;return!1})}function y($,S){if(!$)return!1;if($===S)return!0;const _=S.length;return $.length>_&&$.substr(0,_)===S&&$[_]==="."}i.createGrammar=function($,S,_,C,O,L,E,D){return new w($,S,_,C,O,L,E,D)};class w{constructor(S,_,C,O,L,E,D,B){if(this._rootScopeName=S,this.balancedBracketSelectors=E,this._onigLib=B,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(C,O),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=D,this._grammar=x(_,null),this._injections=null,this._tokenTypeMatchers=[],L)for(const T of Object.keys(L)){const P=l.createMatchers(T,g);for(const A of P)this._tokenTypeMatchers.push({matcher:A.matcher,type:L[T]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const S of this._ruleId2desc)S&&S.dispose()}createOnigScanner(S){return this._onigLib.createOnigScanner(S)}createOnigString(S){return this._onigLib.createOnigString(S)}getMetadataForScope(S){return this._basicScopeAttributesProvider.getBasicScopeAttributes(S)}_collectInjections(){const S=[],_=this._rootScopeName,C=(O=>O===this._rootScopeName?this._grammar:this.getExternalGrammar(O))(_);if(C){const O=C.injections;if(O)for(let E in O)m(S,E,O[E],this,C);const L=this._grammarRepository.injections(_);L&&L.forEach(E=>{const D=this.getExternalGrammar(E);if(D){const B=D.injectionSelector;B&&m(S,B,D,this,D)}})}return S.sort((O,L)=>O.priority-L.priority),S}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),s.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const S of this._injections)console.log(` - ${S.debugSelector}`)}return this._injections}registerRule(S){const _=++this._lastRuleId,C=S(f.ruleIdFromNumber(_));return this._ruleId2desc[_]=C,C}getRule(S){return this._ruleId2desc[f.ruleIdToNumber(S)]}getExternalGrammar(S,_){if(this._includedGrammars[S])return this._includedGrammars[S];if(this._grammarRepository){const C=this._grammarRepository.lookup(S);if(C)return this._includedGrammars[S]=x(C,_&&_.$base),this._includedGrammars[S]}}tokenizeLine(S,_,C=0){const O=this._tokenize(S,_,!1,C);return{tokens:O.lineTokens.getResult(O.ruleStack,O.lineLength),ruleStack:O.ruleStack,stoppedEarly:O.stoppedEarly}}tokenizeLine2(S,_,C=0){const O=this._tokenize(S,_,!0,C);return{tokens:O.lineTokens.getBinaryResult(O.ruleStack,O.lineLength),ruleStack:O.ruleStack,stoppedEarly:O.stoppedEarly}}_tokenize(S,_,C,O){let L;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),_&&_!==b.NULL)L=!1,_.reset();else{L=!0;const P=this._basicScopeAttributesProvider.getDefaultAttributes(),A=this.themeProvider.getDefaults(),R=c.EncodedTokenAttributes.set(0,P.languageId,P.tokenType,null,A.fontStyle,A.foregroundId,A.backgroundId),N=this.getRule(this._rootId).getName(null,null);let z;z=N?k.createRootAndLookUpScopeName(N,R,this):k.createRoot("unknown",R),_=new b(null,this._rootId,-1,-1,!1,null,z,z)}S+=`
|
|
1
|
+
function Ik(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return e?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const $r={},nf=[],Sa=()=>{},LW=()=>!1,DW=/^on[^a-z]/,Ap=t=>DW.test(t),Lk=t=>t.startsWith("onUpdate:"),Ao=Object.assign,Dk=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},zW=Object.prototype.hasOwnProperty,Bn=(t,e)=>zW.call(t,e),Qt=Array.isArray,rf=t=>Pp(t)==="[object Map]",R0=t=>Pp(t)==="[object Set]",NS=t=>Pp(t)==="[object Date]",nn=t=>typeof t=="function",Zr=t=>typeof t=="string",Of=t=>typeof t=="symbol",hr=t=>t!==null&&typeof t=="object",zk=t=>(hr(t)||nn(t))&&nn(t.then)&&nn(t.catch),M7=Object.prototype.toString,Pp=t=>M7.call(t),BW=t=>Pp(t).slice(8,-1),R7=t=>Pp(t)==="[object Object]",Bk=t=>Zr(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,rh=Ik(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N0=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},FW=/-(\w)/g,ss=N0(t=>t.replace(FW,(e,n)=>n?n.toUpperCase():"")),HW=/\B([A-Z])/g,mu=N0(t=>t.replace(HW,"-$1").toLowerCase()),I0=N0(t=>t.charAt(0).toUpperCase()+t.slice(1)),ty=N0(t=>t?`on${I0(t)}`:""),Zl=(t,e)=>!Object.is(t,e),Pm=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},cg=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},N7=t=>{const e=parseFloat(t);return isNaN(e)?t:e},qW=t=>{const e=Zr(t)?Number(t):NaN;return isNaN(e)?t:e};let IS;const Gb=()=>IS||(IS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xi(t){if(Qt(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Zr(r)?GW(r):xi(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(Zr(t)||hr(t))return t}const VW=/;(?![^(]*\))/g,WW=/:([^]+)/,UW=/\/\*[^]*?\*\//g;function GW(t){const e={};return t.replace(UW,"").split(VW).forEach(n=>{if(n){const r=n.split(WW);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function cr(t){let e="";if(Zr(t))e=t;else if(Qt(t))for(let n=0;n<t.length;n++){const r=cr(t[n]);r&&(e+=r+" ")}else if(hr(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function I7(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Zr(e)&&(t.class=cr(e)),n&&(t.style=xi(n)),t}const KW="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",JW=Ik(KW);function L7(t){return!!t||t===""}function QW(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=Af(t[r],e[r]);return n}function Af(t,e){if(t===e)return!0;let n=NS(t),r=NS(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Of(t),r=Of(e),n||r)return t===e;if(n=Qt(t),r=Qt(e),n||r)return n&&r?QW(t,e):!1;if(n=hr(t),r=hr(e),n||r){if(!n||!r)return!1;const o=Object.keys(t).length,i=Object.keys(e).length;if(o!==i)return!1;for(const a in t){const s=t.hasOwnProperty(a),c=e.hasOwnProperty(a);if(s&&!c||!s&&c||!Af(t[a],e[a]))return!1}}return String(t)===String(e)}function ZW(t,e){return t.findIndex(n=>Af(n,e))}const ao=t=>Zr(t)?t:t==null?"":Qt(t)||hr(t)&&(t.toString===M7||!nn(t.toString))?JSON.stringify(t,D7,2):String(t),D7=(t,e)=>e&&e.__v_isRef?D7(t,e.value):rf(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:R0(e)?{[`Set(${e.size})`]:[...e.values()]}:hr(e)&&!Qt(e)&&!R7(e)?String(e):e;let ua;class z7{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ua,!e&&ua&&(this.index=(ua.scopes||(ua.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=ua;try{return ua=this,e()}finally{ua=n}}}on(){ua=this}off(){ua=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){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 YW(t){return new z7(t)}function XW(t,e=ua){e&&e.active&&e.effects.push(t)}function eU(){return ua}const Fk=t=>{const e=new Set(t);return e.w=0,e.n=0,e},B7=t=>(t.w&Gc)>0,F7=t=>(t.n&Gc)>0,tU=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=Gc},nU=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];B7(o)&&!F7(o)?o.delete(t):e[n++]=o,o.w&=~Gc,o.n&=~Gc}e.length=n}},lg=new WeakMap;let Ud=0,Gc=1;const Kb=30;let pa;const Wl=Symbol(""),Jb=Symbol("");class Hk{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,XW(this,r)}run(){if(!this.active)return this.fn();let e=pa,n=Rc;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=pa,pa=this,Rc=!0,Gc=1<<++Ud,Ud<=Kb?tU(this):LS(this),this.fn()}finally{Ud<=Kb&&nU(this),Gc=1<<--Ud,pa=this.parent,Rc=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){pa===this?this.deferStop=!0:this.active&&(LS(this),this.onStop&&this.onStop(),this.active=!1)}}function LS(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let Rc=!0;const H7=[];function Xf(){H7.push(Rc),Rc=!1}function ed(){const t=H7.pop();Rc=t===void 0?!0:t}function oi(t,e,n){if(Rc&&pa){let r=lg.get(t);r||lg.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Fk()),q7(o)}}function q7(t,e){let n=!1;Ud<=Kb?F7(t)||(t.n|=Gc,n=!B7(t)):n=!t.has(pa),n&&(t.add(pa),pa.deps.push(t))}function Fs(t,e,n,r,o,i){const a=lg.get(t);if(!a)return;let s=[];if(e==="clear")s=[...a.values()];else if(n==="length"&&Qt(t)){const c=Number(r);a.forEach((l,u)=>{(u==="length"||!Of(u)&&u>=c)&&s.push(l)})}else switch(n!==void 0&&s.push(a.get(n)),e){case"add":Qt(t)?Bk(n)&&s.push(a.get("length")):(s.push(a.get(Wl)),rf(t)&&s.push(a.get(Jb)));break;case"delete":Qt(t)||(s.push(a.get(Wl)),rf(t)&&s.push(a.get(Jb)));break;case"set":rf(t)&&s.push(a.get(Wl));break}if(s.length===1)s[0]&&Qb(s[0]);else{const c=[];for(const l of s)l&&c.push(...l);Qb(Fk(c))}}function Qb(t,e){const n=Qt(t)?t:[...t];for(const r of n)r.computed&&DS(r);for(const r of n)r.computed||DS(r)}function DS(t,e){(t!==pa||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function rU(t,e){var n;return(n=lg.get(t))==null?void 0:n.get(e)}const oU=Ik("__proto__,__v_isRef,__isVue"),V7=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Of)),zS=iU();function iU(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Hn(this);for(let i=0,a=this.length;i<a;i++)oi(r,"get",i+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(Hn)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Xf();const r=Hn(this)[e].apply(this,n);return ed(),r}}),t}function aU(t){const e=Hn(this);return oi(e,"has",t),e.hasOwnProperty(t)}class W7{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,r){const o=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&r===(o?i?bU:J7:i?K7:G7).get(e))return e;const a=Qt(e);if(!o){if(a&&Bn(zS,n))return Reflect.get(zS,n,r);if(n==="hasOwnProperty")return aU}const s=Reflect.get(e,n,r);return(Of(n)?V7.has(n):oU(n))||(o||oi(e,"get",n),i)?s:co(s)?a&&Bk(n)?s:s.value:hr(s)?o?Z7(s):cs(s):s}}class U7 extends W7{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if(Yl(i)&&co(i)&&!co(r))return!1;if(!this._shallow&&(!ug(r)&&!Yl(r)&&(i=Hn(i),r=Hn(r)),!Qt(e)&&co(i)&&!co(r)))return i.value=r,!0;const a=Qt(e)&&Bk(n)?Number(n)<e.length:Bn(e,n),s=Reflect.set(e,n,r,o);return e===Hn(o)&&(a?Zl(r,i)&&Fs(e,"set",n,r):Fs(e,"add",n,r)),s}deleteProperty(e,n){const r=Bn(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&Fs(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Of(n)||!V7.has(n))&&oi(e,"has",n),r}ownKeys(e){return oi(e,"iterate",Qt(e)?"length":Wl),Reflect.ownKeys(e)}}class sU extends W7{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const cU=new U7,lU=new sU,uU=new U7(!0),qk=t=>t,L0=t=>Reflect.getPrototypeOf(t);function av(t,e,n=!1,r=!1){t=t.__v_raw;const o=Hn(t),i=Hn(e);n||(Zl(e,i)&&oi(o,"get",e),oi(o,"get",i));const{has:a}=L0(o),s=r?qk:n?Uk:Ph;if(a.call(o,e))return s(t.get(e));if(a.call(o,i))return s(t.get(i));t!==o&&t.get(e)}function sv(t,e=!1){const n=this.__v_raw,r=Hn(n),o=Hn(t);return e||(Zl(t,o)&&oi(r,"has",t),oi(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function cv(t,e=!1){return t=t.__v_raw,!e&&oi(Hn(t),"iterate",Wl),Reflect.get(t,"size",t)}function BS(t){t=Hn(t);const e=Hn(this);return L0(e).has.call(e,t)||(e.add(t),Fs(e,"add",t,t)),this}function FS(t,e){e=Hn(e);const n=Hn(this),{has:r,get:o}=L0(n);let i=r.call(n,t);i||(t=Hn(t),i=r.call(n,t));const a=o.call(n,t);return n.set(t,e),i?Zl(e,a)&&Fs(n,"set",t,e):Fs(n,"add",t,e),this}function HS(t){const e=Hn(this),{has:n,get:r}=L0(e);let o=n.call(e,t);o||(t=Hn(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&Fs(e,"delete",t,void 0),i}function qS(){const t=Hn(this),e=t.size!==0,n=t.clear();return e&&Fs(t,"clear",void 0,void 0),n}function lv(t,e){return function(r,o){const i=this,a=i.__v_raw,s=Hn(a),c=e?qk:t?Uk:Ph;return!t&&oi(s,"iterate",Wl),a.forEach((l,u)=>r.call(o,c(l),c(u),i))}}function uv(t,e,n){return function(...r){const o=this.__v_raw,i=Hn(o),a=rf(i),s=t==="entries"||t===Symbol.iterator&&a,c=t==="keys"&&a,l=o[t](...r),u=n?qk:e?Uk:Ph;return!e&&oi(i,"iterate",c?Jb:Wl),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:s?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function uc(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function fU(){const t={get(i){return av(this,i)},get size(){return cv(this)},has:sv,add:BS,set:FS,delete:HS,clear:qS,forEach:lv(!1,!1)},e={get(i){return av(this,i,!1,!0)},get size(){return cv(this)},has:sv,add:BS,set:FS,delete:HS,clear:qS,forEach:lv(!1,!0)},n={get(i){return av(this,i,!0)},get size(){return cv(this,!0)},has(i){return sv.call(this,i,!0)},add:uc("add"),set:uc("set"),delete:uc("delete"),clear:uc("clear"),forEach:lv(!0,!1)},r={get(i){return av(this,i,!0,!0)},get size(){return cv(this,!0)},has(i){return sv.call(this,i,!0)},add:uc("add"),set:uc("set"),delete:uc("delete"),clear:uc("clear"),forEach:lv(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=uv(i,!1,!1),n[i]=uv(i,!0,!1),e[i]=uv(i,!1,!0),r[i]=uv(i,!0,!0)}),[t,n,e,r]}const[dU,hU,pU,vU]=fU();function Vk(t,e){const n=e?t?vU:pU:t?hU:dU;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(Bn(n,o)&&o in r?n:r,o,i)}const mU={get:Vk(!1,!1)},gU={get:Vk(!1,!0)},yU={get:Vk(!0,!1)},G7=new WeakMap,K7=new WeakMap,J7=new WeakMap,bU=new WeakMap;function wU(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xU(t){return t.__v_skip||!Object.isExtensible(t)?0:wU(BW(t))}function cs(t){return Yl(t)?t:Wk(t,!1,cU,mU,G7)}function Q7(t){return Wk(t,!1,uU,gU,K7)}function Z7(t){return Wk(t,!0,lU,yU,J7)}function Wk(t,e,n,r,o){if(!hr(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const a=xU(t);if(a===0)return t;const s=new Proxy(t,a===2?r:n);return o.set(t,s),s}function of(t){return Yl(t)?of(t.__v_raw):!!(t&&t.__v_isReactive)}function Yl(t){return!!(t&&t.__v_isReadonly)}function ug(t){return!!(t&&t.__v_isShallow)}function Y7(t){return of(t)||Yl(t)}function Hn(t){const e=t&&t.__v_raw;return e?Hn(e):t}function X7(t){return cg(t,"__v_skip",!0),t}const Ph=t=>hr(t)?cs(t):t,Uk=t=>hr(t)?Z7(t):t;function eI(t){Rc&&pa&&(t=Hn(t),q7(t.dep||(t.dep=Fk())))}function tI(t,e){t=Hn(t);const n=t.dep;n&&Qb(n)}function co(t){return!!(t&&t.__v_isRef===!0)}function rn(t){return nI(t,!1)}function Zb(t){return nI(t,!0)}function nI(t,e){return co(t)?t:new kU(t,e)}class kU{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Hn(e),this._value=n?e:Ph(e)}get value(){return eI(this),this._value}set value(e){const n=this.__v_isShallow||ug(e)||Yl(e);e=n?e:Hn(e),Zl(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Ph(e),tI(this))}}function Ve(t){return co(t)?t.value:t}const jU={get:(t,e,n)=>Ve(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return co(o)&&!co(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function rI(t){return of(t)?t:new Proxy(t,jU)}class _U{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return rU(Hn(this._object),this._key)}}class SU{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gk(t,e,n){return co(t)?t:nn(t)?new SU(t):hr(t)&&arguments.length>1?$U(t,e,n):rn(t)}function $U(t,e,n){const r=t[e];return co(r)?r:new _U(t,e,n)}class CU{constructor(e,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Hk(e,()=>{this._dirty||(this._dirty=!0,tI(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=Hn(this);return eI(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function OU(t,e,n=!1){let r,o;const i=nn(t);return i?(r=t,o=Sa):(r=t.get,o=t.set),new CU(r,o,i||!o,n)}function Nc(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){td(i,e,n)}return o}function $a(t,e,n,r){if(nn(t)){const i=Nc(t,e,n,r);return i&&zk(i)&&i.catch(a=>{td(a,e,n)}),i}const o=[];for(let i=0;i<t.length;i++)o.push($a(t[i],e,n,r));return o}function td(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let i=e.parent;const a=e.proxy,s=n;for(;i;){const l=i.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](t,a,s)===!1)return}i=i.parent}const c=e.appContext.config.errorHandler;if(c){Nc(c,null,10,[t,a,s]);return}}AU(t,n,o,r)}function AU(t,e,n,r=!0){console.error(t)}let Th=!1,Yb=!1;const Lo=[];let Za=0;const af=[];let Ps=null,Pl=0;const oI=Promise.resolve();let Kk=null;function Tp(t){const e=Kk||oI;return t?e.then(this?t.bind(this):t):e}function PU(t){let e=Za+1,n=Lo.length;for(;e<n;){const r=e+n>>>1,o=Lo[r],i=Eh(o);i<t||i===t&&o.pre?e=r+1:n=r}return e}function D0(t){(!Lo.length||!Lo.includes(t,Th&&t.allowRecurse?Za+1:Za))&&(t.id==null?Lo.push(t):Lo.splice(PU(t.id),0,t),iI())}function iI(){!Th&&!Yb&&(Yb=!0,Kk=oI.then(aI))}function TU(t){const e=Lo.indexOf(t);e>Za&&Lo.splice(e,1)}function Xb(t){Qt(t)?af.push(...t):(!Ps||!Ps.includes(t,t.allowRecurse?Pl+1:Pl))&&af.push(t),iI()}function VS(t,e=Th?Za+1:0){for(;e<Lo.length;e++){const n=Lo[e];n&&n.pre&&(Lo.splice(e,1),e--,n())}}function fg(t){if(af.length){const e=[...new Set(af)];if(af.length=0,Ps){Ps.push(...e);return}for(Ps=e,Ps.sort((n,r)=>Eh(n)-Eh(r)),Pl=0;Pl<Ps.length;Pl++)Ps[Pl]();Ps=null,Pl=0}}const Eh=t=>t.id==null?1/0:t.id,EU=(t,e)=>{const n=Eh(t)-Eh(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function aI(t){Yb=!1,Th=!0,Lo.sort(EU);const e=Sa;try{for(Za=0;Za<Lo.length;Za++){const n=Lo[Za];n&&n.active!==!1&&Nc(n,null,14)}}finally{Za=0,Lo.length=0,fg(),Th=!1,Kk=null,(Lo.length||af.length)&&aI()}}function MU(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||$r;let o=n;const i=e.startsWith("update:"),a=i&&e.slice(7);if(a&&a in r){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:d}=r[u]||$r;d&&(o=n.map(h=>Zr(h)?h.trim():h)),f&&(o=n.map(N7))}let s,c=r[s=ty(e)]||r[s=ty(ss(e))];!c&&i&&(c=r[s=ty(mu(e))]),c&&$a(c,t,6,o);const l=r[s+"Once"];if(l){if(!t.emitted)t.emitted={};else if(t.emitted[s])return;t.emitted[s]=!0,$a(l,t,6,o)}}function sI(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let a={},s=!1;if(!nn(t)){const c=l=>{const u=sI(l,e,!0);u&&(s=!0,Ao(a,u))};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!s?(hr(t)&&r.set(t,null),null):(Qt(i)?i.forEach(c=>a[c]=null):Ao(a,i),hr(t)&&r.set(t,a),a)}function z0(t,e){return!t||!Ap(e)?!1:(e=e.slice(2).replace(/Once$/,""),Bn(t,e[0].toLowerCase()+e.slice(1))||Bn(t,mu(e))||Bn(t,e))}let mo=null,B0=null;function dg(t){const e=mo;return mo=t,B0=t&&t.type.__scopeId||null,e}function Jk(t){B0=t}function Qk(){B0=null}const RU=t=>Bt;function Bt(t,e=mo,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&n3(-1);const i=dg(e);let a;try{a=t(...o)}finally{dg(i),r._d&&n3(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function ny(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=t;let m,g;const y=dg(t);try{if(n.shapeFlag&4){const x=o||r,k=x;m=Ei(u.call(k,x,f,i,h,d,p)),g=c}else{const x=e;m=Ei(x.length>1?x(i,{attrs:c,slots:s,emit:l}):x(i,null)),g=e.props?c:IU(c)}}catch(x){ah.length=0,td(x,t,1),m=gt(Ma)}let w=m;if(g&&v!==!1){const x=Object.keys(g),{shapeFlag:k}=w;x.length&&k&7&&(a&&x.some(Lk)&&(g=LU(g,a)),w=Mf(w,g))}return n.dirs&&(w=Mf(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,dg(y),m}function NU(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(Nh(r)){if(r.type!==Ma||r.children==="v-if"){if(e)return;e=r}}else return}return e}const IU=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ap(n))&&((e||(e={}))[n]=t[n]);return e},LU=(t,e)=>{const n={};for(const r in t)(!Lk(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function DU(t,e,n){const{props:r,children:o,component:i}=t,{props:a,children:s,patchFlag:c}=e,l=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?WS(r,a,l):!!a;if(c&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(a[d]!==r[d]&&!z0(l,d))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?WS(r,a,l):!0:!!a;return!1}function WS(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(e[i]!==t[i]&&!z0(n,i))return!0}return!1}function Zk({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const Yk="components";function Xl(t,e){return lI(Yk,t,!0,e)||t}const cI=Symbol.for("v-ndc");function Xk(t){return Zr(t)?lI(Yk,t,!1)||t:t||cI}function lI(t,e,n=!0,r=!1){const o=mo||so;if(o){const i=o.type;if(t===Yk){const s=CG(i,!1);if(s&&(s===e||s===ss(e)||s===I0(ss(e))))return i}const a=US(o[t]||i[t],e)||US(o.appContext[t],e);return!a&&r?i:a}}function US(t,e){return t&&(t[e]||t[ss(e)]||t[I0(ss(e))])}const zU=t=>t.__isSuspense,BU={name:"Suspense",__isSuspense:!0,process(t,e,n,r,o,i,a,s,c,l){t==null?HU(e,n,r,o,i,a,s,c,l):qU(t,e,n,r,o,a,s,c,l)},hydrate:VU,create:e2,normalize:WU},FU=BU;function Mh(t,e){const n=t.props&&t.props[e];nn(n)&&n()}function HU(t,e,n,r,o,i,a,s,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=t.suspense=e2(t,o,r,e,f,n,i,a,s,c);l(null,d.pendingBranch=t.ssContent,f,null,r,d,i,a),d.deps>0?(Mh(t,"onPending"),Mh(t,"onFallback"),l(null,t.ssFallback,e,n,r,null,i,a),sf(d,t.ssFallback)):d.resolve(!1,!0)}function qU(t,e,n,r,o,i,a,s,{p:c,um:l,o:{createElement:u}}){const f=e.suspense=t.suspense;f.vnode=e,e.el=t.el;const d=e.ssContent,h=e.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:m,isHydrating:g}=f;if(v)f.pendingBranch=d,kc(d,v)?(c(v,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():m&&(c(p,h,n,r,o,null,i,a,s),sf(f,h))):(f.pendingId++,g?(f.isHydrating=!1,f.activeBranch=v):l(v,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0?f.resolve():(c(p,h,n,r,o,null,i,a,s),sf(f,h))):p&&kc(d,p)?(c(p,d,n,r,o,f,i,a,s),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0&&f.resolve()));else if(p&&kc(d,p))c(p,d,n,r,o,f,i,a,s),sf(f,d);else if(Mh(e,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,i,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:w}=f;y>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},y):y===0&&f.fallback(h)}}function e2(t,e,n,r,o,i,a,s,c,l,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:m}}=l;let g;const y=UU(t);y&&e!=null&&e.pendingBranch&&(g=e.pendingId,e.deps++);const w=t.props?qW(t.props.timeout):void 0,x={vnode:t,parent:e,parentComponent:n,isSVG:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,b=!1){const{vnode:j,activeBranch:$,pendingBranch:S,pendingId:_,effects:C,parentComponent:O,container:L}=x;let E=!1;if(x.isHydrating)x.isHydrating=!1;else if(!k){E=$&&S.transition&&S.transition.mode==="out-in",E&&($.transition.afterLeave=()=>{_===x.pendingId&&(d(S,L,T,0),Xb(C))});let{anchor:T}=x;$&&(T=p($),h($,O,x,!0)),E||d(S,L,T,0)}sf(x,S),x.pendingBranch=null,x.isInFallback=!1;let D=x.parent,B=!1;for(;D;){if(D.pendingBranch){D.effects.push(...C),B=!0;break}D=D.parent}!B&&!E&&Xb(C),x.effects=[],y&&e&&e.pendingBranch&&g===e.pendingId&&(e.deps--,e.deps===0&&!b&&e.resolve()),Mh(j,"onResolve")},fallback(k){if(!x.pendingBranch)return;const{vnode:b,activeBranch:j,parentComponent:$,container:S,isSVG:_}=x;Mh(b,"onFallback");const C=p(j),O=()=>{x.isInFallback&&(f(null,k,S,C,$,null,_,s,c),sf(x,k))},L=k.transition&&k.transition.mode==="out-in";L&&(j.transition.afterLeave=O),x.isInFallback=!0,h(j,$,null,!0),L||O()},move(k,b,j){x.activeBranch&&d(x.activeBranch,k,b,j),x.container=k},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(k,b){const j=!!x.pendingBranch;j&&x.deps++;const $=k.vnode.el;k.asyncDep.catch(S=>{td(S,k,0)}).then(S=>{if(k.isUnmounted||x.isUnmounted||x.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:_}=k;ow(k,S,!1),$&&(_.el=$);const C=!$&&k.subTree.el;b(k,_,v($||k.subTree.el),$?null:p(k.subTree),x,a,c),C&&m(C),Zk(k,_.el),j&&--x.deps===0&&x.resolve()})},unmount(k,b){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,k,b),x.pendingBranch&&h(x.pendingBranch,n,k,b)}};return x}function VU(t,e,n,r,o,i,a,s,c){const l=e.suspense=e2(e,r,n,t.parentNode,document.createElement("div"),null,o,i,a,s,!0),u=c(t,l.pendingBranch=e.ssContent,n,l,i,a);return l.deps===0&&l.resolve(!1,!0),u}function WU(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=GS(r?n.default:n),t.ssFallback=r?GS(n.fallback):gt(Ma)}function GS(t){let e;if(nn(t)){const n=Ef&&t._c;n&&(t._d=!1,et()),t=t(),n&&(t._d=!0,e=Li,MI())}return Qt(t)&&(t=NU(t)),t=Ei(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function uI(t,e){e&&e.pendingBranch?Qt(t)?e.effects.push(...t):e.effects.push(t):Xb(t)}function sf(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t,o=n.el=e.el;r&&r.subTree===n&&(r.vnode.el=o,Zk(r,o))}function UU(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function fI(t,e){return F0(t,null,e)}function GU(t,e){return F0(t,null,{flush:"post"})}const fv={};function Jr(t,e,n){return F0(t,e,n)}function F0(t,e,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:a}=$r){var s;const c=eU()===((s=so)==null?void 0:s.scope)?so:null;let l,u=!1,f=!1;if(co(t)?(l=()=>t.value,u=ug(t)):of(t)?(l=()=>t,r=!0):Qt(t)?(f=!0,u=t.some(x=>of(x)||ug(x)),l=()=>t.map(x=>{if(co(x))return x.value;if(of(x))return Ll(x);if(nn(x))return Nc(x,c,2)})):nn(t)?e?l=()=>Nc(t,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),$a(t,c,3,[h])}:l=Sa,e&&r){const x=l;l=()=>Ll(x())}let d,h=x=>{d=y.onStop=()=>{Nc(x,c,4),d=y.onStop=void 0}},p;if(Rf)if(h=Sa,e?n&&$a(e,c,3,[l(),f?[]:void 0,h]):l(),o==="sync"){const x=PG();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Sa;let v=f?new Array(t.length).fill(fv):fv;const m=()=>{if(y.active)if(e){const x=y.run();(r||u||(f?x.some((k,b)=>Zl(k,v[b])):Zl(x,v)))&&(d&&d(),$a(e,c,3,[x,v===fv?void 0:f&&v[0]===fv?[]:v,h]),v=x)}else y.run()};m.allowRecurse=!!e;let g;o==="sync"?g=m:o==="post"?g=()=>Yo(m,c&&c.suspense):(m.pre=!0,c&&(m.id=c.uid),g=()=>D0(m));const y=new Hk(l,g);e?n?m():v=y.run():o==="post"?Yo(y.run.bind(y),c&&c.suspense):y.run();const w=()=>{y.stop(),c&&c.scope&&Dk(c.scope.effects,y)};return p&&p.push(w),w}function KU(t,e,n){const r=this.proxy,o=Zr(t)?t.includes(".")?dI(r,t):()=>r[t]:t.bind(r,r);let i;nn(e)?i=e:(i=e.handler,n=e);const a=so;Kc(this);const s=F0(o,i.bind(r),n);return a?Kc(a):Ic(),s}function dI(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ll(t,e){if(!hr(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),co(t))Ll(t.value,e);else if(Qt(t))for(let n=0;n<t.length;n++)Ll(t[n],e);else if(R0(t)||rf(t))t.forEach(n=>{Ll(n,e)});else if(R7(t))for(const n in t)Ll(t[n],e);return t}function hI(t,e){const n=mo;if(n===null)return t;const r=W0(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[a,s,c,l=$r]=e[i];a&&(nn(a)&&(a={mounted:a,updated:a}),a.deep&&Ll(s),o.push({dir:a,instance:r,value:s,oldValue:void 0,arg:c,modifiers:l}))}return t}function Ja(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let a=0;a<o.length;a++){const s=o[a];i&&(s.oldValue=i[a].value);let c=s.dir[r];c&&(Xf(),$a(c,n,8,[t.el,s,t,e]),ed())}}/*! #__NO_SIDE_EFFECTS__ */function ho(t,e){return nn(t)?(()=>Ao({name:t.name},e,{setup:t}))():t}const cf=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function hg(t){nn(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:a=!0,onError:s}=t;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let h;return c||(h=c=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,m)=>{s(p,()=>v(f()),()=>m(p),u+1)});throw p}).then(p=>h!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return ho({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const h=so;if(l)return()=>ry(l,h);const p=y=>{c=null,td(y,h,13,!r)};if(a&&h.suspense||Rf)return d().then(y=>()=>ry(y,h)).catch(y=>(p(y),()=>r?gt(r,{error:y}):null));const v=rn(!1),m=rn(),g=rn(!!o);return o&&setTimeout(()=>{g.value=!1},o),i!=null&&setTimeout(()=>{if(!v.value&&!m.value){const y=new Error(`Async component timed out after ${i}ms.`);p(y),m.value=y}},i),d().then(()=>{v.value=!0,h.parent&&t2(h.parent.vnode)&&D0(h.parent.update)}).catch(y=>{p(y),m.value=y}),()=>{if(v.value&&l)return ry(l,h);if(m.value&&r)return gt(r,{error:m.value});if(n&&!g.value)return gt(n)}}})}function ry(t,e){const{ref:n,props:r,children:o,ce:i}=e.vnode,a=gt(t,r,o);return a.ref=n,a.ce=i,delete e.vnode.ce,a}const t2=t=>t.type.__isKeepAlive;function pI(t,e){mI(t,"a",e)}function vI(t,e){mI(t,"da",e)}function mI(t,e,n=so){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(H0(e,r,n),n){let o=n.parent;for(;o&&o.parent;)t2(o.parent.vnode)&&JU(r,e,n,o),o=o.parent}}function JU(t,e,n,r){const o=H0(e,t,r,!0);Pf(()=>{Dk(r[e],o)},n)}function H0(t,e,n=so,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...a)=>{if(n.isUnmounted)return;Xf(),Kc(n);const s=$a(e,n,t,a);return Ic(),ed(),s});return r?o.unshift(i):o.push(i),i}}const ec=t=>(e,n=so)=>(!Rf||t==="sp")&&H0(t,(...r)=>e(...r),n),gI=ec("bm"),nd=ec("m"),QU=ec("bu"),ZU=ec("u"),n2=ec("bum"),Pf=ec("um"),YU=ec("sp"),XU=ec("rtg"),eG=ec("rtc");function yI(t,e=so){H0("ec",t,e)}function xd(t,e,n,r){let o;const i=n&&n[r];if(Qt(t)||Zr(t)){o=new Array(t.length);for(let a=0,s=t.length;a<s;a++)o[a]=e(t[a],a,void 0,i&&i[a])}else if(typeof t=="number"){o=new Array(t);for(let a=0;a<t;a++)o[a]=e(a+1,a,void 0,i&&i[a])}else if(hr(t))if(t[Symbol.iterator])o=Array.from(t,(a,s)=>e(a,s,void 0,i&&i[s]));else{const a=Object.keys(t);o=new Array(a.length);for(let s=0,c=a.length;s<c;s++){const l=a[s];o[s]=e(t[l],l,s,i&&i[s])}}else o=[];return n&&(n[r]=o),o}function dr(t,e,n={},r,o){if(mo.isCE||mo.parent&&cf(mo.parent)&&mo.parent.isCE)return e!=="default"&&(n.name=e),gt("slot",n,r&&r());let i=t[e];i&&i._c&&(i._d=!1),et();const a=i&&bI(i(n)),s=yn(Gr,{key:n.key||a&&a.key||`_${e}`},a||(r?r():[]),a&&t._===1?64:-2);return!o&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function bI(t){return t.some(e=>Nh(e)?!(e.type===Ma||e.type===Gr&&!bI(e.children)):!0)?t:null}const ew=t=>t?II(t)?W0(t)||t.proxy:ew(t.parent):null,oh=Ao(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ew(t.parent),$root:t=>ew(t.root),$emit:t=>t.emit,$options:t=>r2(t),$forceUpdate:t=>t.f||(t.f=()=>D0(t.update)),$nextTick:t=>t.n||(t.n=Tp.bind(t.proxy)),$watch:t=>KU.bind(t)}),oy=(t,e)=>t!==$r&&!t.__isScriptSetup&&Bn(t,e),tG={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:c}=t;let l;if(e[0]!=="$"){const h=a[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return i[e]}else{if(oy(r,e))return a[e]=1,r[e];if(o!==$r&&Bn(o,e))return a[e]=2,o[e];if((l=t.propsOptions[0])&&Bn(l,e))return a[e]=3,i[e];if(n!==$r&&Bn(n,e))return a[e]=4,n[e];tw&&(a[e]=0)}}const u=oh[e];let f,d;if(u)return e==="$attrs"&&oi(t,"get",e),u(t);if((f=s.__cssModules)&&(f=f[e]))return f;if(n!==$r&&Bn(n,e))return a[e]=4,n[e];if(d=c.config.globalProperties,Bn(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return oy(o,e)?(o[e]=n,!0):r!==$r&&Bn(r,e)?(r[e]=n,!0):Bn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||t!==$r&&Bn(t,a)||oy(e,a)||(s=i[0])&&Bn(s,a)||Bn(r,a)||Bn(oh,a)||Bn(o.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Bn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function KS(t){return Qt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function wI(t){const e=gu();let n=t();return Ic(),zk(n)&&(n=n.catch(r=>{throw Kc(e),r})),[n,()=>Kc(e)]}let tw=!0;function nG(t){const e=r2(t),n=t.proxy,r=t.ctx;tw=!1,e.beforeCreate&&JS(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:a,watch:s,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:m,beforeDestroy:g,beforeUnmount:y,destroyed:w,unmounted:x,render:k,renderTracked:b,renderTriggered:j,errorCaptured:$,serverPrefetch:S,expose:_,inheritAttrs:C,components:O,directives:L,filters:E}=e;if(l&&rG(l,r,null),a)for(const T in a){const P=a[T];nn(P)&&(r[T]=P.bind(n))}if(o){const T=o.call(n,n);hr(T)&&(t.data=cs(T))}if(tw=!0,i)for(const T in i){const P=i[T],A=nn(P)?P.bind(n,n):nn(P.get)?P.get.bind(n,n):Sa,R=!nn(P)&&nn(P.set)?P.set.bind(n):Sa,N=gn({get:A,set:R});Object.defineProperty(r,T,{enumerable:!0,configurable:!0,get:()=>N.value,set:z=>N.value=z})}if(s)for(const T in s)xI(s[T],r,n,T);if(c){const T=nn(c)?c.call(n):c;Reflect.ownKeys(T).forEach(P=>{jI(P,T[P])})}u&&JS(u,t,"c");function B(T,P){Qt(P)?P.forEach(A=>T(A.bind(n))):P&&T(P.bind(n))}if(B(gI,f),B(nd,d),B(QU,h),B(ZU,p),B(pI,v),B(vI,m),B(yI,$),B(eG,b),B(XU,j),B(n2,y),B(Pf,x),B(YU,S),Qt(_))if(_.length){const T=t.exposed||(t.exposed={});_.forEach(P=>{Object.defineProperty(T,P,{get:()=>n[P],set:A=>n[P]=A})})}else t.exposed||(t.exposed={});k&&t.render===Sa&&(t.render=k),C!=null&&(t.inheritAttrs=C),O&&(t.components=O),L&&(t.directives=L)}function rG(t,e,n=Sa){Qt(t)&&(t=nw(t));for(const r in t){const o=t[r];let i;hr(o)?"default"in o?i=lf(o.from||r,o.default,!0):i=lf(o.from||r):i=lf(o),co(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[r]=i}}function JS(t,e,n){$a(Qt(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function xI(t,e,n,r){const o=r.includes(".")?dI(n,r):()=>n[r];if(Zr(t)){const i=e[t];nn(i)&&Jr(o,i)}else if(nn(t))Jr(o,t.bind(n));else if(hr(t))if(Qt(t))t.forEach(i=>xI(i,e,n,r));else{const i=nn(t.handler)?t.handler.bind(n):e[t.handler];nn(i)&&Jr(o,i,t)}}function r2(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=t.appContext,s=i.get(e);let c;return s?c=s:!o.length&&!n&&!r?c=e:(c={},o.length&&o.forEach(l=>pg(c,l,a,!0)),pg(c,e,a)),hr(e)&&i.set(e,c),c}function pg(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&pg(t,i,n,!0),o&&o.forEach(a=>pg(t,a,n,!0));for(const a in e)if(!(r&&a==="expose")){const s=oG[a]||n&&n[a];t[a]=s?s(t[a],e[a]):e[a]}return t}const oG={data:QS,props:ZS,emits:ZS,methods:Gd,computed:Gd,beforeCreate:Vo,created:Vo,beforeMount:Vo,mounted:Vo,beforeUpdate:Vo,updated:Vo,beforeDestroy:Vo,beforeUnmount:Vo,destroyed:Vo,unmounted:Vo,activated:Vo,deactivated:Vo,errorCaptured:Vo,serverPrefetch:Vo,components:Gd,directives:Gd,watch:aG,provide:QS,inject:iG};function QS(t,e){return e?t?function(){return Ao(nn(t)?t.call(this,this):t,nn(e)?e.call(this,this):e)}:e:t}function iG(t,e){return Gd(nw(t),nw(e))}function nw(t){if(Qt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Vo(t,e){return t?[...new Set([].concat(t,e))]:e}function Gd(t,e){return t?Ao(Object.create(null),t,e):e}function ZS(t,e){return t?Qt(t)&&Qt(e)?[...new Set([...t,...e])]:Ao(Object.create(null),KS(t),KS(e??{})):e}function aG(t,e){if(!t)return e;if(!e)return t;const n=Ao(Object.create(null),t);for(const r in e)n[r]=Vo(t[r],e[r]);return n}function kI(){return{app:null,config:{isNativeTag:LW,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 sG=0;function cG(t,e){return function(r,o=null){nn(r)||(r=Ao({},r)),o!=null&&!hr(o)&&(o=null);const i=kI(),a=new WeakSet;let s=!1;const c=i.app={_uid:sG++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:DI,get config(){return i.config},set config(l){},use(l,...u){return a.has(l)||(l&&nn(l.install)?(a.add(l),l.install(c,...u)):nn(l)&&(a.add(l),l(c,...u))),c},mixin(l){return i.mixins.includes(l)||i.mixins.push(l),c},component(l,u){return u?(i.components[l]=u,c):i.components[l]},directive(l,u){return u?(i.directives[l]=u,c):i.directives[l]},mount(l,u,f){if(!s){const d=gt(r,o);return d.appContext=i,u&&e?e(d,l):t(d,l,f),s=!0,c._container=l,l.__vue_app__=c,W0(d.component)||d.component.proxy}},unmount(){s&&(t(null,c._container),delete c._container.__vue_app__)},provide(l,u){return i.provides[l]=u,c},runWithContext(l){Rh=c;try{return l()}finally{Rh=null}}};return c}}let Rh=null;function jI(t,e){if(so){let n=so.provides;const r=so.parent&&so.parent.provides;r===n&&(n=so.provides=Object.create(r)),n[t]=e}}function lf(t,e,n=!1){const r=so||mo;if(r||Rh){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Rh._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&nn(e)?e.call(r&&r.proxy):e}}function _I(){return!!(so||mo||Rh)}function lG(t,e,n,r=!1){const o={},i={};cg(i,q0,1),t.propsDefaults=Object.create(null),SI(t,e,o,i);for(const a in t.propsOptions[0])a in o||(o[a]=void 0);n?t.props=r?o:Q7(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function uG(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=t,s=Hn(o),[c]=t.propsOptions;let l=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(z0(t.emitsOptions,d))continue;const h=e[d];if(c)if(Bn(i,d))h!==i[d]&&(i[d]=h,l=!0);else{const p=ss(d);o[p]=rw(c,s,p,h,t,!1)}else h!==i[d]&&(i[d]=h,l=!0)}}}else{SI(t,e,o,i)&&(l=!0);let u;for(const f in s)(!e||!Bn(e,f)&&((u=mu(f))===f||!Bn(e,u)))&&(c?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=rw(c,s,f,void 0,t,!0)):delete o[f]);if(i!==s)for(const f in i)(!e||!Bn(e,f))&&(delete i[f],l=!0)}l&&Fs(t,"set","$attrs")}function SI(t,e,n,r){const[o,i]=t.propsOptions;let a=!1,s;if(e)for(let c in e){if(rh(c))continue;const l=e[c];let u;o&&Bn(o,u=ss(c))?!i||!i.includes(u)?n[u]=l:(s||(s={}))[u]=l:z0(t.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,a=!0)}if(i){const c=Hn(n),l=s||$r;for(let u=0;u<i.length;u++){const f=i[u];n[f]=rw(o,c,f,l[f],t,!Bn(l,f))}}return a}function rw(t,e,n,r,o,i){const a=t[n];if(a!=null){const s=Bn(a,"default");if(s&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&nn(c)){const{propsDefaults:l}=o;n in l?r=l[n]:(Kc(o),r=l[n]=c.call(null,e),Ic())}else r=c}a[0]&&(i&&!s?r=!1:a[1]&&(r===""||r===mu(n))&&(r=!0))}return r}function $I(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const i=t.props,a={},s=[];let c=!1;if(!nn(t)){const u=f=>{c=!0;const[d,h]=$I(f,e,!0);Ao(a,d),h&&s.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!c)return hr(t)&&r.set(t,nf),nf;if(Qt(i))for(let u=0;u<i.length;u++){const f=ss(i[u]);YS(f)&&(a[f]=$r)}else if(i)for(const u in i){const f=ss(u);if(YS(f)){const d=i[u],h=a[f]=Qt(d)||nn(d)?{type:d}:Ao({},d);if(h){const p=t3(Boolean,h.type),v=t3(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Bn(h,"default"))&&s.push(f)}}}const l=[a,s];return hr(t)&&r.set(t,l),l}function YS(t){return t[0]!=="$"}function XS(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function e3(t,e){return XS(t)===XS(e)}function t3(t,e){return Qt(e)?e.findIndex(n=>e3(n,t)):nn(e)&&e3(e,t)?0:-1}const CI=t=>t[0]==="_"||t==="$stable",o2=t=>Qt(t)?t.map(Ei):[Ei(t)],fG=(t,e,n)=>{if(e._n)return e;const r=Bt((...o)=>o2(e(...o)),n);return r._c=!1,r},OI=(t,e,n)=>{const r=t._ctx;for(const o in t){if(CI(o))continue;const i=t[o];if(nn(i))e[o]=fG(o,i,r);else if(i!=null){const a=o2(i);e[o]=()=>a}}},AI=(t,e)=>{const n=o2(e);t.slots.default=()=>n},dG=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Hn(e),cg(e,"_",n)):OI(e,t.slots={})}else t.slots={},e&&AI(t,e);cg(t.slots,q0,1)},hG=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,a=$r;if(r.shapeFlag&32){const s=e._;s?n&&s===1?i=!1:(Ao(o,e),!n&&s===1&&delete o._):(i=!e.$stable,OI(e,o)),a=e}else e&&(AI(t,e),a={default:1});if(i)for(const s in o)!CI(s)&&a[s]==null&&delete o[s]};function vg(t,e,n,r,o=!1){if(Qt(t)){t.forEach((d,h)=>vg(d,e&&(Qt(e)?e[h]:e),n,r,o));return}if(cf(r)&&!o)return;const i=r.shapeFlag&4?W0(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:c}=t,l=e&&e.r,u=s.refs===$r?s.refs={}:s.refs,f=s.setupState;if(l!=null&&l!==c&&(Zr(l)?(u[l]=null,Bn(f,l)&&(f[l]=null)):co(l)&&(l.value=null)),nn(c))Nc(c,s,12,[a,u]);else{const d=Zr(c),h=co(c);if(d||h){const p=()=>{if(t.f){const v=d?Bn(f,c)?f[c]:u[c]:c.value;o?Qt(v)&&Dk(v,i):Qt(v)?v.includes(i)||v.push(i):d?(u[c]=[i],Bn(f,c)&&(f[c]=u[c])):(c.value=[i],t.k&&(u[t.k]=c.value))}else d?(u[c]=a,Bn(f,c)&&(f[c]=a)):h&&(c.value=a,t.k&&(u[t.k]=a))};a?(p.id=-1,Yo(p,n)):p()}}}let fc=!1;const dv=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",hv=t=>t.nodeType===8;function pG(t){const{mt:e,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:a,remove:s,insert:c,createComment:l}}=t,u=(w,x)=>{if(!x.hasChildNodes()){n(null,w,x),fg(),x._vnode=w;return}fc=!1,f(x.firstChild,w,null,null,null),fg(),x._vnode=w,fc&&console.error("Hydration completed but contains mismatches.")},f=(w,x,k,b,j,$=!1)=>{const S=hv(w)&&w.data==="[",_=()=>v(w,x,k,b,j,S),{type:C,ref:O,shapeFlag:L,patchFlag:E}=x;let D=w.nodeType;x.el=w,E===-2&&($=!1,x.dynamicChildren=null);let B=null;switch(C){case Tf:D!==3?x.children===""?(c(x.el=o(""),a(w),w),B=w):B=_():(w.data!==x.children&&(fc=!0,w.data=x.children),B=i(w));break;case Ma:y(w)?(B=i(w),g(x.el=w.content.firstChild,w,k)):D!==8||S?B=_():B=i(w);break;case ih:if(S&&(w=i(w),D=w.nodeType),D===1||D===3){B=w;const T=!x.children.length;for(let P=0;P<x.staticCount;P++)T&&(x.children+=B.nodeType===1?B.outerHTML:B.data),P===x.staticCount-1&&(x.anchor=B),B=i(B);return S?i(B):B}else _();break;case Gr:S?B=p(w,x,k,b,j,$):B=_();break;default:if(L&1)(D!==1||x.type.toLowerCase()!==w.tagName.toLowerCase())&&!y(w)?B=_():B=d(w,x,k,b,j,$);else if(L&6){x.slotScopeIds=j;const T=a(w);if(S?B=m(w):hv(w)&&w.data==="teleport start"?B=m(w,w.data,"teleport end"):B=i(w),e(x,T,null,k,b,dv(T),$),cf(x)){let P;S?(P=gt(Gr),P.anchor=B?B.previousSibling:T.lastChild):P=w.nodeType===3?xn(""):gt("div"),P.el=w,x.component.subTree=P}}else L&64?D!==8?B=_():B=x.type.hydrate(w,x,k,b,j,$,t,h):L&128&&(B=x.type.hydrate(w,x,k,b,dv(a(w)),j,$,t,f))}return O!=null&&vg(O,null,b,x),B},d=(w,x,k,b,j,$)=>{$=$||!!x.dynamicChildren;const{type:S,props:_,patchFlag:C,shapeFlag:O,dirs:L,transition:E}=x,D=S==="input"||S==="option";if(D||C!==-1){if(L&&Ja(x,null,k,"created"),_)if(D||!$||C&48)for(const P in _)(D&&(P.endsWith("value")||P==="indeterminate")||Ap(P)&&!rh(P)||P[0]===".")&&r(w,P,null,_[P],!1,void 0,k);else _.onClick&&r(w,"onClick",null,_.onClick,!1,void 0,k);let B;(B=_&&_.onVnodeBeforeMount)&&Pi(B,k,x);let T=!1;if(y(w)){T=TI(b,E)&&k&&k.vnode.props&&k.vnode.props.appear;const P=w.content.firstChild;T&&E.beforeEnter(P),g(P,w,k),x.el=w=P}if(L&&Ja(x,null,k,"beforeMount"),((B=_&&_.onVnodeMounted)||L||T)&&uI(()=>{B&&Pi(B,k,x),T&&E.enter(w),L&&Ja(x,null,k,"mounted")},b),O&16&&!(_&&(_.innerHTML||_.textContent))){let P=h(w.firstChild,x,w,k,b,j,$);for(;P;){fc=!0;const A=P;P=P.nextSibling,s(A)}}else O&8&&w.textContent!==x.children&&(fc=!0,w.textContent=x.children)}return w.nextSibling},h=(w,x,k,b,j,$,S)=>{S=S||!!x.dynamicChildren;const _=x.children,C=_.length;for(let O=0;O<C;O++){const L=S?_[O]:_[O]=Ei(_[O]);if(w)w=f(w,L,b,j,$,S);else{if(L.type===Tf&&!L.children)continue;fc=!0,n(null,L,k,null,b,j,dv(k),$)}}return w},p=(w,x,k,b,j,$)=>{const{slotScopeIds:S}=x;S&&(j=j?j.concat(S):S);const _=a(w),C=h(i(w),x,_,k,b,j,$);return C&&hv(C)&&C.data==="]"?i(x.anchor=C):(fc=!0,c(x.anchor=l("]"),_,C),C)},v=(w,x,k,b,j,$)=>{if(fc=!0,x.el=null,$){const C=m(w);for(;;){const O=i(w);if(O&&O!==C)s(O);else break}}const S=i(w),_=a(w);return s(w),n(null,x,_,S,k,b,dv(_),j),S},m=(w,x="[",k="]")=>{let b=0;for(;w;)if(w=i(w),w&&hv(w)&&(w.data===x&&b++,w.data===k)){if(b===0)return i(w);b--}return w},g=(w,x,k)=>{const b=x.parentNode;b&&b.replaceChild(w,x);let j=k;for(;j;)j.vnode.el===x&&(j.vnode.el=j.subTree.el=w),j=j.parent},y=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[u,f]}const Yo=uI;function vG(t){return PI(t)}function mG(t){return PI(t,pG)}function PI(t,e){const n=Gb();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Sa,insertStaticContent:p}=t,v=(ee,Q,ue,X=null,Se=null,V=null,q=!1,Z=null,ge=!!Q.dynamicChildren)=>{if(ee===Q)return;ee&&!kc(ee,Q)&&(X=U(ee),z(ee,Se,V,!0),ee=null),Q.patchFlag===-2&&(ge=!1,Q.dynamicChildren=null);const{type:pe,ref:Pe,shapeFlag:me}=Q;switch(pe){case Tf:m(ee,Q,ue,X);break;case Ma:g(ee,Q,ue,X);break;case ih:ee==null&&y(Q,ue,X,q);break;case Gr:O(ee,Q,ue,X,Se,V,q,Z,ge);break;default:me&1?k(ee,Q,ue,X,Se,V,q,Z,ge):me&6?L(ee,Q,ue,X,Se,V,q,Z,ge):(me&64||me&128)&&pe.process(ee,Q,ue,X,Se,V,q,Z,ge,be)}Pe!=null&&Se&&vg(Pe,ee&&ee.ref,V,Q||ee,!Q)},m=(ee,Q,ue,X)=>{if(ee==null)r(Q.el=s(Q.children),ue,X);else{const Se=Q.el=ee.el;Q.children!==ee.children&&l(Se,Q.children)}},g=(ee,Q,ue,X)=>{ee==null?r(Q.el=c(Q.children||""),ue,X):Q.el=ee.el},y=(ee,Q,ue,X)=>{[ee.el,ee.anchor]=p(ee.children,Q,ue,X,ee.el,ee.anchor)},w=({el:ee,anchor:Q},ue,X)=>{let Se;for(;ee&&ee!==Q;)Se=d(ee),r(ee,ue,X),ee=Se;r(Q,ue,X)},x=({el:ee,anchor:Q})=>{let ue;for(;ee&&ee!==Q;)ue=d(ee),o(ee),ee=ue;o(Q)},k=(ee,Q,ue,X,Se,V,q,Z,ge)=>{q=q||Q.type==="svg",ee==null?b(Q,ue,X,Se,V,q,Z,ge):S(ee,Q,Se,V,q,Z,ge)},b=(ee,Q,ue,X,Se,V,q,Z)=>{let ge,pe;const{type:Pe,props:me,shapeFlag:xe,transition:Fe,dirs:Ye}=ee;if(ge=ee.el=a(ee.type,V,me&&me.is,me),xe&8?u(ge,ee.children):xe&16&&$(ee.children,ge,null,X,Se,V&&Pe!=="foreignObject",q,Z),Ye&&Ja(ee,null,X,"created"),j(ge,ee,ee.scopeId,q,X),me){for(const Qe in me)Qe!=="value"&&!rh(Qe)&&i(ge,Qe,null,me[Qe],V,ee.children,X,Se,le);"value"in me&&i(ge,"value",null,me.value),(pe=me.onVnodeBeforeMount)&&Pi(pe,X,ee)}Ye&&Ja(ee,null,X,"beforeMount");const De=TI(Se,Fe);De&&Fe.beforeEnter(ge),r(ge,Q,ue),((pe=me&&me.onVnodeMounted)||De||Ye)&&Yo(()=>{pe&&Pi(pe,X,ee),De&&Fe.enter(ge),Ye&&Ja(ee,null,X,"mounted")},Se)},j=(ee,Q,ue,X,Se)=>{if(ue&&h(ee,ue),X)for(let V=0;V<X.length;V++)h(ee,X[V]);if(Se){let V=Se.subTree;if(Q===V){const q=Se.vnode;j(ee,q,q.scopeId,q.slotScopeIds,Se.parent)}}},$=(ee,Q,ue,X,Se,V,q,Z,ge=0)=>{for(let pe=ge;pe<ee.length;pe++){const Pe=ee[pe]=Z?yc(ee[pe]):Ei(ee[pe]);v(null,Pe,Q,ue,X,Se,V,q,Z)}},S=(ee,Q,ue,X,Se,V,q)=>{const Z=Q.el=ee.el;let{patchFlag:ge,dynamicChildren:pe,dirs:Pe}=Q;ge|=ee.patchFlag&16;const me=ee.props||$r,xe=Q.props||$r;let Fe;ue&&bl(ue,!1),(Fe=xe.onVnodeBeforeUpdate)&&Pi(Fe,ue,Q,ee),Pe&&Ja(Q,ee,ue,"beforeUpdate"),ue&&bl(ue,!0);const Ye=Se&&Q.type!=="foreignObject";if(pe?_(ee.dynamicChildren,pe,Z,ue,X,Ye,V):q||P(ee,Q,Z,null,ue,X,Ye,V,!1),ge>0){if(ge&16)C(Z,Q,me,xe,ue,X,Se);else if(ge&2&&me.class!==xe.class&&i(Z,"class",null,xe.class,Se),ge&4&&i(Z,"style",me.style,xe.style,Se),ge&8){const De=Q.dynamicProps;for(let Qe=0;Qe<De.length;Qe++){const mt=De[Qe],Pt=me[mt],ht=xe[mt];(ht!==Pt||mt==="value")&&i(Z,mt,Pt,ht,Se,ee.children,ue,X,le)}}ge&1&&ee.children!==Q.children&&u(Z,Q.children)}else!q&&pe==null&&C(Z,Q,me,xe,ue,X,Se);((Fe=xe.onVnodeUpdated)||Pe)&&Yo(()=>{Fe&&Pi(Fe,ue,Q,ee),Pe&&Ja(Q,ee,ue,"updated")},X)},_=(ee,Q,ue,X,Se,V,q)=>{for(let Z=0;Z<Q.length;Z++){const ge=ee[Z],pe=Q[Z],Pe=ge.el&&(ge.type===Gr||!kc(ge,pe)||ge.shapeFlag&70)?f(ge.el):ue;v(ge,pe,Pe,null,X,Se,V,q,!0)}},C=(ee,Q,ue,X,Se,V,q)=>{if(ue!==X){if(ue!==$r)for(const Z in ue)!rh(Z)&&!(Z in X)&&i(ee,Z,ue[Z],null,q,Q.children,Se,V,le);for(const Z in X){if(rh(Z))continue;const ge=X[Z],pe=ue[Z];ge!==pe&&Z!=="value"&&i(ee,Z,pe,ge,q,Q.children,Se,V,le)}"value"in X&&i(ee,"value",ue.value,X.value)}},O=(ee,Q,ue,X,Se,V,q,Z,ge)=>{const pe=Q.el=ee?ee.el:s(""),Pe=Q.anchor=ee?ee.anchor:s("");let{patchFlag:me,dynamicChildren:xe,slotScopeIds:Fe}=Q;Fe&&(Z=Z?Z.concat(Fe):Fe),ee==null?(r(pe,ue,X),r(Pe,ue,X),$(Q.children,ue,Pe,Se,V,q,Z,ge)):me>0&&me&64&&xe&&ee.dynamicChildren?(_(ee.dynamicChildren,xe,ue,Se,V,q,Z),(Q.key!=null||Se&&Q===Se.subTree)&&EI(ee,Q,!0)):P(ee,Q,ue,Pe,Se,V,q,Z,ge)},L=(ee,Q,ue,X,Se,V,q,Z,ge)=>{Q.slotScopeIds=Z,ee==null?Q.shapeFlag&512?Se.ctx.activate(Q,ue,X,q,ge):E(Q,ue,X,Se,V,q,ge):D(ee,Q,ge)},E=(ee,Q,ue,X,Se,V,q)=>{const Z=ee.component=kG(ee,X,Se);if(t2(ee)&&(Z.ctx.renderer=be),jG(Z),Z.asyncDep){if(Se&&Se.registerDep(Z,B),!ee.el){const ge=Z.subTree=gt(Ma);g(null,ge,Q,ue)}return}B(Z,ee,Q,ue,Se,V,q)},D=(ee,Q,ue)=>{const X=Q.component=ee.component;if(DU(ee,Q,ue))if(X.asyncDep&&!X.asyncResolved){T(X,Q,ue);return}else X.next=Q,TU(X.update),X.update();else Q.el=ee.el,X.vnode=Q},B=(ee,Q,ue,X,Se,V,q)=>{const Z=()=>{if(ee.isMounted){let{next:Pe,bu:me,u:xe,parent:Fe,vnode:Ye}=ee,De=Pe,Qe;bl(ee,!1),Pe?(Pe.el=Ye.el,T(ee,Pe,q)):Pe=Ye,me&&Pm(me),(Qe=Pe.props&&Pe.props.onVnodeBeforeUpdate)&&Pi(Qe,Fe,Pe,Ye),bl(ee,!0);const mt=ny(ee),Pt=ee.subTree;ee.subTree=mt,v(Pt,mt,f(Pt.el),U(Pt),ee,Se,V),Pe.el=mt.el,De===null&&Zk(ee,mt.el),xe&&Yo(xe,Se),(Qe=Pe.props&&Pe.props.onVnodeUpdated)&&Yo(()=>Pi(Qe,Fe,Pe,Ye),Se)}else{let Pe;const{el:me,props:xe}=Q,{bm:Fe,m:Ye,parent:De}=ee,Qe=cf(Q);if(bl(ee,!1),Fe&&Pm(Fe),!Qe&&(Pe=xe&&xe.onVnodeBeforeMount)&&Pi(Pe,De,Q),bl(ee,!0),me&&we){const mt=()=>{ee.subTree=ny(ee),we(me,ee.subTree,ee,Se,null)};Qe?Q.type.__asyncLoader().then(()=>!ee.isUnmounted&&mt()):mt()}else{const mt=ee.subTree=ny(ee);v(null,mt,ue,X,ee,Se,V),Q.el=mt.el}if(Ye&&Yo(Ye,Se),!Qe&&(Pe=xe&&xe.onVnodeMounted)){const mt=Q;Yo(()=>Pi(Pe,De,mt),Se)}(Q.shapeFlag&256||De&&cf(De.vnode)&&De.vnode.shapeFlag&256)&&ee.a&&Yo(ee.a,Se),ee.isMounted=!0,Q=ue=X=null}},ge=ee.effect=new Hk(Z,()=>D0(pe),ee.scope),pe=ee.update=()=>ge.run();pe.id=ee.uid,bl(ee,!0),pe()},T=(ee,Q,ue)=>{Q.component=ee;const X=ee.vnode.props;ee.vnode=Q,ee.next=null,uG(ee,Q.props,X,ue),hG(ee,Q.children,ue),Xf(),VS(),ed()},P=(ee,Q,ue,X,Se,V,q,Z,ge=!1)=>{const pe=ee&&ee.children,Pe=ee?ee.shapeFlag:0,me=Q.children,{patchFlag:xe,shapeFlag:Fe}=Q;if(xe>0){if(xe&128){R(pe,me,ue,X,Se,V,q,Z,ge);return}else if(xe&256){A(pe,me,ue,X,Se,V,q,Z,ge);return}}Fe&8?(Pe&16&&le(pe,Se,V),me!==pe&&u(ue,me)):Pe&16?Fe&16?R(pe,me,ue,X,Se,V,q,Z,ge):le(pe,Se,V,!0):(Pe&8&&u(ue,""),Fe&16&&$(me,ue,X,Se,V,q,Z,ge))},A=(ee,Q,ue,X,Se,V,q,Z,ge)=>{ee=ee||nf,Q=Q||nf;const pe=ee.length,Pe=Q.length,me=Math.min(pe,Pe);let xe;for(xe=0;xe<me;xe++){const Fe=Q[xe]=ge?yc(Q[xe]):Ei(Q[xe]);v(ee[xe],Fe,ue,null,Se,V,q,Z,ge)}pe>Pe?le(ee,Se,V,!0,!1,me):$(Q,ue,X,Se,V,q,Z,ge,me)},R=(ee,Q,ue,X,Se,V,q,Z,ge)=>{let pe=0;const Pe=Q.length;let me=ee.length-1,xe=Pe-1;for(;pe<=me&&pe<=xe;){const Fe=ee[pe],Ye=Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]);if(kc(Fe,Ye))v(Fe,Ye,ue,null,Se,V,q,Z,ge);else break;pe++}for(;pe<=me&&pe<=xe;){const Fe=ee[me],Ye=Q[xe]=ge?yc(Q[xe]):Ei(Q[xe]);if(kc(Fe,Ye))v(Fe,Ye,ue,null,Se,V,q,Z,ge);else break;me--,xe--}if(pe>me){if(pe<=xe){const Fe=xe+1,Ye=Fe<Pe?Q[Fe].el:X;for(;pe<=xe;)v(null,Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]),ue,Ye,Se,V,q,Z,ge),pe++}}else if(pe>xe)for(;pe<=me;)z(ee[pe],Se,V,!0),pe++;else{const Fe=pe,Ye=pe,De=new Map;for(pe=Ye;pe<=xe;pe++){const Dt=Q[pe]=ge?yc(Q[pe]):Ei(Q[pe]);Dt.key!=null&&De.set(Dt.key,pe)}let Qe,mt=0;const Pt=xe-Ye+1;let ht=!1,Ln=0;const qt=new Array(Pt);for(pe=0;pe<Pt;pe++)qt[pe]=0;for(pe=Fe;pe<=me;pe++){const Dt=ee[pe];if(mt>=Pt){z(Dt,Se,V,!0);continue}let On;if(Dt.key!=null)On=De.get(Dt.key);else for(Qe=Ye;Qe<=xe;Qe++)if(qt[Qe-Ye]===0&&kc(Dt,Q[Qe])){On=Qe;break}On===void 0?z(Dt,Se,V,!0):(qt[On-Ye]=pe+1,On>=Ln?Ln=On:ht=!0,v(Dt,Q[On],ue,null,Se,V,q,Z,ge),mt++)}const _n=ht?gG(qt):nf;for(Qe=_n.length-1,pe=Pt-1;pe>=0;pe--){const Dt=Ye+pe,On=Q[Dt],qn=Dt+1<Pe?Q[Dt+1].el:X;qt[pe]===0?v(null,On,ue,qn,Se,V,q,Z,ge):ht&&(Qe<0||pe!==_n[Qe]?N(On,ue,qn,2):Qe--)}}},N=(ee,Q,ue,X,Se=null)=>{const{el:V,type:q,transition:Z,children:ge,shapeFlag:pe}=ee;if(pe&6){N(ee.component.subTree,Q,ue,X);return}if(pe&128){ee.suspense.move(Q,ue,X);return}if(pe&64){q.move(ee,Q,ue,be);return}if(q===Gr){r(V,Q,ue);for(let me=0;me<ge.length;me++)N(ge[me],Q,ue,X);r(ee.anchor,Q,ue);return}if(q===ih){w(ee,Q,ue);return}if(X!==2&&pe&1&&Z)if(X===0)Z.beforeEnter(V),r(V,Q,ue),Yo(()=>Z.enter(V),Se);else{const{leave:me,delayLeave:xe,afterLeave:Fe}=Z,Ye=()=>r(V,Q,ue),De=()=>{me(V,()=>{Ye(),Fe&&Fe()})};xe?xe(V,Ye,De):De()}else r(V,Q,ue)},z=(ee,Q,ue,X=!1,Se=!1)=>{const{type:V,props:q,ref:Z,children:ge,dynamicChildren:pe,shapeFlag:Pe,patchFlag:me,dirs:xe}=ee;if(Z!=null&&vg(Z,null,ue,ee,!0),Pe&256){Q.ctx.deactivate(ee);return}const Fe=Pe&1&&xe,Ye=!cf(ee);let De;if(Ye&&(De=q&&q.onVnodeBeforeUnmount)&&Pi(De,Q,ee),Pe&6)F(ee.component,ue,X);else{if(Pe&128){ee.suspense.unmount(ue,X);return}Fe&&Ja(ee,null,Q,"beforeUnmount"),Pe&64?ee.type.remove(ee,Q,ue,Se,be,X):pe&&(V!==Gr||me>0&&me&64)?le(pe,Q,ue,!1,!0):(V===Gr&&me&384||!Se&&Pe&16)&&le(ge,Q,ue),X&&I(ee)}(Ye&&(De=q&&q.onVnodeUnmounted)||Fe)&&Yo(()=>{De&&Pi(De,Q,ee),Fe&&Ja(ee,null,Q,"unmounted")},ue)},I=ee=>{const{type:Q,el:ue,anchor:X,transition:Se}=ee;if(Q===Gr){W(ue,X);return}if(Q===ih){x(ee);return}const V=()=>{o(ue),Se&&!Se.persisted&&Se.afterLeave&&Se.afterLeave()};if(ee.shapeFlag&1&&Se&&!Se.persisted){const{leave:q,delayLeave:Z}=Se,ge=()=>q(ue,V);Z?Z(ee.el,V,ge):ge()}else V()},W=(ee,Q)=>{let ue;for(;ee!==Q;)ue=d(ee),o(ee),ee=ue;o(Q)},F=(ee,Q,ue)=>{const{bum:X,scope:Se,update:V,subTree:q,um:Z}=ee;X&&Pm(X),Se.stop(),V&&(V.active=!1,z(q,ee,Q,ue)),Z&&Yo(Z,Q),Yo(()=>{ee.isUnmounted=!0},Q),Q&&Q.pendingBranch&&!Q.isUnmounted&&ee.asyncDep&&!ee.asyncResolved&&ee.suspenseId===Q.pendingId&&(Q.deps--,Q.deps===0&&Q.resolve())},le=(ee,Q,ue,X=!1,Se=!1,V=0)=>{for(let q=V;q<ee.length;q++)z(ee[q],Q,ue,X,Se)},U=ee=>ee.shapeFlag&6?U(ee.component.subTree):ee.shapeFlag&128?ee.suspense.next():d(ee.anchor||ee.el),ae=(ee,Q,ue)=>{ee==null?Q._vnode&&z(Q._vnode,null,null,!0):v(Q._vnode||null,ee,Q,null,null,null,ue),VS(),fg(),Q._vnode=ee},be={p:v,um:z,m:N,r:I,mt:E,mc:$,pc:P,pbc:_,n:U,o:t};let Oe,we;return e&&([Oe,we]=e(be)),{render:ae,hydrate:Oe,createApp:cG(ae,Oe)}}function bl({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function TI(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function EI(t,e,n=!1){const r=t.children,o=e.children;if(Qt(r)&&Qt(o))for(let i=0;i<r.length;i++){const a=r[i];let s=o[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[i]=yc(o[i]),s.el=a.el),n||EI(a,s)),s.type===Tf&&(s.el=a.el)}}function gG(t){const e=t.slice(),n=[0];let r,o,i,a,s;const c=t.length;for(r=0;r<c;r++){const l=t[r];if(l!==0){if(o=n[n.length-1],t[o]<l){e[r]=o,n.push(r);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,t[n[s]]<l?i=s+1:a=s;l<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=e[a];return n}const yG=t=>t.__isTeleport,Gr=Symbol.for("v-fgt"),Tf=Symbol.for("v-txt"),Ma=Symbol.for("v-cmt"),ih=Symbol.for("v-stc"),ah=[];let Li=null;function et(t=!1){ah.push(Li=t?null:[])}function MI(){ah.pop(),Li=ah[ah.length-1]||null}let Ef=1;function n3(t){Ef+=t}function RI(t){return t.dynamicChildren=Ef>0?Li||nf:null,MI(),Ef>0&&Li&&Li.push(t),t}function zt(t,e,n,r,o,i){return RI(Ue(t,e,n,r,o,i,!0))}function yn(t,e,n,r,o){return RI(gt(t,e,n,r,o,!0))}function Nh(t){return t?t.__v_isVNode===!0:!1}function kc(t,e){return t.type===e.type&&t.key===e.key}const q0="__vInternal",NI=({key:t})=>t??null,Tm=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Zr(t)||co(t)||nn(t)?{i:mo,r:t,k:e,f:!!n}:t:null);function Ue(t,e=null,n=null,r=0,o=null,i=t===Gr?0:1,a=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&NI(e),ref:e&&Tm(e),scopeId:B0,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mo};return s?(a2(c,n),i&128&&t.normalize(c)):n&&(c.shapeFlag|=Zr(n)?8:16),Ef>0&&!a&&Li&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Li.push(c),c}const gt=bG;function bG(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===cI)&&(t=Ma),Nh(t)){const s=Mf(t,e,!0);return n&&a2(s,n),Ef>0&&!i&&Li&&(s.shapeFlag&6?Li[Li.indexOf(t)]=s:Li.push(s)),s.patchFlag|=-2,s}if(OG(t)&&(t=t.__vccOpts),e){e=i2(e);let{class:s,style:c}=e;s&&!Zr(s)&&(e.class=cr(s)),hr(c)&&(Y7(c)&&!Qt(c)&&(c=Ao({},c)),e.style=xi(c))}const a=Zr(t)?1:zU(t)?128:yG(t)?64:hr(t)?4:nn(t)?2:0;return Ue(t,e,n,r,o,a,i,!0)}function i2(t){return t?Y7(t)||q0 in t?Ao({},t):t:null}function Mf(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=t,s=e?V0(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&NI(s),ref:e&&e.ref?n&&o?Qt(o)?o.concat(Tm(e)):[o,Tm(e)]:Tm(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Gr?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mf(t.ssContent),ssFallback:t.ssFallback&&Mf(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function xn(t=" ",e=0){return gt(Tf,null,t,e)}function _r(t="",e=!1){return e?(et(),yn(Ma,null,t)):gt(Ma,null,t)}function Ei(t){return t==null||typeof t=="boolean"?gt(Ma):Qt(t)?gt(Gr,null,t.slice()):typeof t=="object"?yc(t):gt(Tf,null,String(t))}function yc(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mf(t)}function a2(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Qt(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),a2(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(q0 in e)?e._ctx=mo:o===3&&mo&&(mo.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else nn(e)?(e={default:e,_ctx:mo},n=32):(e=String(e),r&64?(n=16,e=[xn(e)]):n=8);t.children=e,t.shapeFlag|=n}function V0(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const o in r)if(o==="class")e.class!==r.class&&(e.class=cr([e.class,r.class]));else if(o==="style")e.style=xi([e.style,r.style]);else if(Ap(o)){const i=e[o],a=r[o];a&&i!==a&&!(Qt(i)&&i.includes(a))&&(e[o]=i?[].concat(i,a):a)}else o!==""&&(e[o]=r[o])}return e}function Pi(t,e,n,r=null){$a(t,e,7,[n,r])}const wG=kI();let xG=0;function kG(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||wG,i={uid:xG++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new z7(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$I(r,o),emitsOptions:sI(r,o),emit:null,emitted:null,propsDefaults:$r,inheritAttrs:r.inheritAttrs,ctx:$r,data:$r,props:$r,attrs:$r,slots:$r,refs:$r,setupState:$r,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 i.ctx={_:i},i.root=e?e.root:i,i.emit=MU.bind(null,i),t.ce&&t.ce(i),i}let so=null;const gu=()=>so||mo;let s2,Eu,r3="__VUE_INSTANCE_SETTERS__";(Eu=Gb()[r3])||(Eu=Gb()[r3]=[]),Eu.push(t=>so=t),s2=t=>{Eu.length>1?Eu.forEach(e=>e(t)):Eu[0](t)};const Kc=t=>{s2(t),t.scope.on()},Ic=()=>{so&&so.scope.off(),s2(null)};function II(t){return t.vnode.shapeFlag&4}let Rf=!1;function jG(t,e=!1){Rf=e;const{props:n,children:r}=t.vnode,o=II(t);lG(t,n,o,e),dG(t,r);const i=o?_G(t,e):void 0;return Rf=!1,i}function _G(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=X7(new Proxy(t.ctx,tG));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?$G(t):null;Kc(t),Xf();const i=Nc(r,t,0,[t.props,o]);if(ed(),Ic(),zk(i)){if(i.then(Ic,Ic),e)return i.then(a=>{ow(t,a,e)}).catch(a=>{td(a,t,0)});t.asyncDep=i}else ow(t,i,e)}else LI(t,e)}function ow(t,e,n){nn(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:hr(e)&&(t.setupState=rI(e)),LI(t,n)}let o3;function LI(t,e,n){const r=t.type;if(!t.render){if(!e&&o3&&!r.render){const o=r.template||r2(t).template;if(o){const{isCustomElement:i,compilerOptions:a}=t.appContext.config,{delimiters:s,compilerOptions:c}=r,l=Ao(Ao({isCustomElement:i,delimiters:s},a),c);r.render=o3(o,l)}}t.render=r.render||Sa}{Kc(t),Xf();try{nG(t)}finally{ed(),Ic()}}}function SG(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return oi(t,"get","$attrs"),e[n]}}))}function $G(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return SG(t)},slots:t.slots,emit:t.emit,expose:e}}function W0(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(rI(X7(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in oh)return oh[n](t)},has(e,n){return n in e||n in oh}}))}function CG(t,e=!0){return nn(t)?t.displayName||t.name:t.name||e&&t.__name}function OG(t){return nn(t)&&"__vccOpts"in t}const gn=(t,e)=>OU(t,e,Rf);function Jc(t,e,n){const r=arguments.length;return r===2?hr(e)&&!Qt(e)?Nh(e)?gt(t,null,[e]):gt(t,e):gt(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nh(n)&&(n=[n]),gt(t,e,n))}const AG=Symbol.for("v-scx"),PG=()=>lf(AG),DI="3.3.9",TG="http://www.w3.org/2000/svg",Tl=typeof document<"u"?document:null,i3=Tl&&Tl.createElement("template"),EG={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?Tl.createElementNS(TG,t):Tl.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>Tl.createTextNode(t),createComment:t=>Tl.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Tl.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const a=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{i3.innerHTML=r?`<svg>${t}</svg>`:t;const s=i3.content;if(r){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}e.insertBefore(s,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},MG=Symbol("_vtc");function RG(t,e,n){const r=t[MG];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const NG=Symbol("_vod");function IG(t,e,n){const r=t.style,o=Zr(n);if(n&&!o){if(e&&!Zr(e))for(const i in e)n[i]==null&&iw(r,i,"");for(const i in n)iw(r,i,n[i])}else{const i=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),NG in t&&(r.display=i)}}const a3=/\s*!important$/;function iw(t,e,n){if(Qt(n))n.forEach(r=>iw(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=LG(t,e);a3.test(n)?t.setProperty(mu(r),n.replace(a3,""),"important"):t[r]=n}}const s3=["Webkit","Moz","ms"],iy={};function LG(t,e){const n=iy[e];if(n)return n;let r=ss(e);if(r!=="filter"&&r in t)return iy[e]=r;r=I0(r);for(let o=0;o<s3.length;o++){const i=s3[o]+r;if(i in t)return iy[e]=i}return e}const c3="http://www.w3.org/1999/xlink";function DG(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(c3,e.slice(6,e.length)):t.setAttributeNS(c3,e,n);else{const i=JW(e);n==null||i&&!L7(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function zG(t,e,n,r,o,i,a){if(e==="innerHTML"||e==="textContent"){r&&a(r,o,i),t[e]=n??"";return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){t._value=n;const l=s==="OPTION"?t.getAttribute("value"):t.value,u=n??"";l!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let c=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=L7(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{t[e]=n}catch{}c&&t.removeAttribute(e)}function c2(t,e,n,r){t.addEventListener(e,n,r)}function BG(t,e,n,r){t.removeEventListener(e,n,r)}const l3=Symbol("_vei");function FG(t,e,n,r,o=null){const i=t[l3]||(t[l3]={}),a=i[e];if(r&&a)a.value=r;else{const[s,c]=HG(e);if(r){const l=i[e]=WG(r,o);c2(t,s,l,c)}else a&&(BG(t,s,a,c),i[e]=void 0)}}const u3=/(?:Once|Passive|Capture)$/;function HG(t){let e;if(u3.test(t)){e={};let r;for(;r=t.match(u3);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):mu(t.slice(2)),e]}let ay=0;const qG=Promise.resolve(),VG=()=>ay||(qG.then(()=>ay=0),ay=Date.now());function WG(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$a(UG(r,n.value),e,5,[r])};return n.value=t,n.attached=VG(),n}function UG(t,e){if(Qt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const f3=/^on[a-z]/,GG=(t,e,n,r,o=!1,i,a,s,c)=>{e==="class"?RG(t,r,o):e==="style"?IG(t,n,r):Ap(e)?Lk(e)||FG(t,e,n,r,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):KG(t,e,r,o))?zG(t,e,r,i,a,s,c):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),DG(t,e,r,o))};function KG(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&f3.test(e)&&nn(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||f3.test(e)&&Zr(n)?!1:e in t}function j6e(t){const e=gu();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>sw(i,o))},r=()=>{const o=t(e.proxy);aw(e.subTree,o),n(o)};GU(r),nd(()=>{const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),Pf(()=>o.disconnect())})}function aw(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{aw(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)sw(t.el,e);else if(t.type===Gr)t.children.forEach(n=>aw(n,e));else if(t.type===ih){let{el:n,anchor:r}=t;for(;n&&(sw(n,e),n!==r);)n=n.nextSibling}}function sw(t,e){if(t.nodeType===1){const n=t.style;for(const r in e)n.setProperty(`--${r}`,e[r])}}const mg=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Qt(e)?n=>Pm(e,n):e},uf=Symbol("_assign"),JG={created(t,{value:e},n){t.checked=Af(e,n.props.value),t[uf]=mg(n),c2(t,"change",()=>{t[uf](Ih(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[uf]=mg(r),e!==n&&(t.checked=Af(e,r.props.value))}},QG={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=R0(e);c2(t,"change",()=>{const i=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>n?N7(Ih(a)):Ih(a));t[uf](t.multiple?o?new Set(i):i:i[0])}),t[uf]=mg(r)},mounted(t,{value:e}){d3(t,e)},beforeUpdate(t,e,n){t[uf]=mg(n)},updated(t,{value:e}){d3(t,e)}};function d3(t,e){const n=t.multiple;if(!(n&&!Qt(e)&&!R0(e))){for(let r=0,o=t.options.length;r<o;r++){const i=t.options[r],a=Ih(i);if(n)Qt(e)?i.selected=ZW(e,a)>-1:i.selected=e.has(a);else if(Af(Ih(i),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ih(t){return"_value"in t?t._value:t.value}const ZG=["ctrl","shift","alt","meta"],YG={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ZG.some(n=>t[`${n}Key`]&&!e.includes(n))},XG=(t,e)=>(n,...r)=>{for(let o=0;o<e.length;o++){const i=YG[e[o]];if(i&&i(n,e))return}return t(n,...r)},eK={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tK=(t,e)=>n=>{if(!("key"in n))return;const r=mu(n.key);if(e.some(o=>o===r||eK[o]===r))return t(n)},zI=Ao({patchProp:GG},EG);let sh,h3=!1;function nK(){return sh||(sh=vG(zI))}function rK(){return sh=h3?sh:mG(zI),h3=!0,sh}const BI=(...t)=>{const e=nK().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=FI(r);if(!o)return;const i=e._component;!nn(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},e},oK=(...t)=>{const e=rK().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=FI(r);if(o)return n(o,!0,o instanceof SVGElement)},e};function FI(t){return Zr(t)?document.querySelector(t):t}const iK=/#/g,aK=/&/g,sK=/=/g,l2=/\+/g,cK=/%5e/gi,lK=/%60/gi,uK=/%7c/gi,fK=/%20/gi;function dK(t){return encodeURI(""+t).replace(uK,"|")}function cw(t){return dK(typeof t=="string"?t:JSON.stringify(t)).replace(l2,"%2B").replace(fK,"+").replace(iK,"%23").replace(aK,"%26").replace(lK,"`").replace(cK,"^")}function sy(t){return cw(t).replace(sK,"%3D")}function gg(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function hK(t){return gg(t.replace(l2," "))}function pK(t){return gg(t.replace(l2," "))}function u2(t=""){const e={};t[0]==="?"&&(t=t.slice(1));for(const n of t.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=hK(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=pK(r[2]||"");e[o]===void 0?e[o]=i:Array.isArray(e[o])?e[o].push(i):e[o]=[e[o],i]}return e}function vK(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${sy(t)}=${cw(n)}`).join("&"):`${sy(t)}=${cw(e)}`:sy(t)}function HI(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>vK(e,t[e])).filter(Boolean).join("&")}const mK=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gK=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,yK=/^([/\\]\s*){2,}[^/\\]/;function Ep(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?mK.test(t):gK.test(t)||(e.acceptRelative?yK.test(t):!1)}const bK=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function wK(t){return!!t&&bK.test(t)}const xK=/\/$|\/\?|\/#/;function lw(t="",e){return e?xK.test(t):t.endsWith("/")}function f2(t="",e){if(!e)return(lw(t)?t.slice(0,-1):t)||"/";if(!lw(t,!0))return t||"/";let n=t,r="";const o=t.indexOf("#");o>=0&&(n=t.slice(0,o),r=t.slice(o));const[i,...a]=n.split("?");return(i.slice(0,-1)||"/")+(a.length>0?`?${a.join("?")}`:"")+r}function yg(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(lw(t,!0))return t||"/";let n=t,r="";const o=t.indexOf("#");if(o>=0&&(n=t.slice(0,o),r=t.slice(o),!n))return r;const[i,...a]=n.split("?");return i+"/"+(a.length>0?`?${a.join("?")}`:"")+r}function kK(t=""){return t.startsWith("/")}function p3(t=""){return kK(t)?t:"/"+t}function qI(t,e){if(VI(e)||Ep(t))return t;const n=f2(e);return t.startsWith(n)?t:tc(n,t)}function jK(t,e){if(VI(e))return t;const n=f2(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Dl(t,e){const n=yu(t),r={...u2(n.search),...e};return n.search=HI(r),WI(n)}function VI(t){return!t||t==="/"}function _K(t){return t&&t!=="/"}const SK=/^\.?\//;function tc(t,...e){let n=t||"";for(const r of e.filter(o=>_K(o)))if(n){const o=r.replace(SK,"");n=yg(n)+o}else n=r;return n}function $K(t,e,n={}){return n.trailingSlash||(t=yg(t),e=yg(e)),n.leadingSlash||(t=p3(t),e=p3(e)),n.encoding||(t=gg(t),e=gg(e)),t===e}function yu(t="",e){const n=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ep(t,{acceptRelative:!0}))return e?yu(e+t):v3(t);const[,r="",o,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",s=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:u}=v3(s.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:a,pathname:c,search:l,hash:u}}function v3(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function WI(t){const e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",o=t.auth?t.auth+"@":"",i=t.host||"";return(t.protocol?t.protocol+"//":"")+o+i+e+n+r}const CK=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},bg=CK().app,OK=()=>bg.baseURL,AK=()=>bg.buildAssetsDir,d2=(...t)=>tc(UI(),AK(),...t),UI=(...t)=>{const e=bg.cdnURL||bg.baseURL;return t.length?tc(e,...t):e};globalThis.__buildAssetsURL=d2,globalThis.__publicAssetsURL=UI;const PK=/"(?:_|\\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*:/,TK=/"(?: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*:/,EK=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function MK(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){RK(t);return}return e}function RK(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function wg(t,e={}){if(typeof t!="string")return t;const n=t.trim();if(t[0]==='"'&&t.at(-1)==='"'&&!t.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!EK.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(PK.test(t)||TK.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,MK)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}class NK extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function IK(t){var c,l,u,f,d;const e=((c=t.error)==null?void 0:c.message)||((l=t.error)==null?void 0:l.toString())||"",n=((u=t.request)==null?void 0:u.method)||((f=t.options)==null?void 0:f.method)||"GET",r=((d=t.request)==null?void 0:d.url)||String(t.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=t.response?`${t.response.status} ${t.response.statusText}`:"<no response>",a=`${o}: ${i}${e?` ${e}`:""}`,s=new NK(a,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(s,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,h,{get(){return t.response&&t.response[p]}});return s}const LK=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function m3(t="GET"){return LK.has(t.toUpperCase())}function DK(t){if(t===void 0)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"||e===null?!0:e!=="object"?!1:Array.isArray(t)?!0:t.buffer?!1:t.constructor&&t.constructor.name==="Object"||typeof t.toJSON=="function"}const zK=new Set(["image/svg","application/xml","application/xhtml","application/html"]),BK=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function FK(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return BK.test(e)?"json":zK.has(e)||e.startsWith("text/")?"text":"blob"}function HK(t,e,n=globalThis.Headers){const r={...e,...t};if(e!=null&&e.params&&(t!=null&&t.params)&&(r.params={...e==null?void 0:e.params,...t==null?void 0:t.params}),e!=null&&e.query&&(t!=null&&t.query)&&(r.query={...e==null?void 0:e.query,...t==null?void 0:t.query}),e!=null&&e.headers&&(t!=null&&t.headers)){r.headers=new n((e==null?void 0:e.headers)||{});for(const[o,i]of new n((t==null?void 0:t.headers)||{}))r.headers.set(o,i)}return r}const qK=new Set([408,409,425,429,500,502,503,504]),VK=new Set([101,204,205,304]);function GI(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function o(s){const c=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!c){let u;typeof s.options.retry=="number"?u=s.options.retry:u=m3(s.options.method)?0:1;const f=s.response&&s.response.status||500;if(u>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(f):qK.has(f))){const d=s.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(s.request,{...s.options,retry:u-1,timeout:s.options.timeout})}}const l=IK(s);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(c,l={}){var d;const u={request:c,options:HK(l,t.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=qI(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Dl(u.request,{...u.options.params,...u.options.query}))),u.options.body&&m3(u.options.method)&&(DK(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const h=new r;setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await e(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!VK.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||FK(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),v=u.options.parseResponse||wg;u.response._data=v(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},a=async function(c,l){return(await i(c,l))._data};return a.raw=i,a.native=(...s)=>e(...s),a.create=(s={})=>GI({...t,defaults:{...t.defaults,...s}}),a}const h2=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")}(),WK=h2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),UK=h2.Headers,GK=h2.AbortController,KK=GI({fetch:WK,Headers:UK,AbortController:GK}),JK=KK;globalThis.$fetch||(globalThis.$fetch=JK.create({baseURL:OK()}));function uw(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?uw(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const QK={run:t=>t()},ZK=()=>QK,KI=typeof console.createTask<"u"?console.createTask:ZK;function YK(t,e){const n=e.shift(),r=KI(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function XK(t,e){const n=e.shift(),r=KI(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function cy(t,e){for(const n of[...t])n(e)}class eJ{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,r={}){if(!e||typeof n!="function")return()=>{};const o=e;let i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!r.allowDeprecated){let a=i.message;a||(a=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(e,o),r}removeHook(e,n){if(this._hooks[e]){const r=this._hooks[e].indexOf(n);r!==-1&&this._hooks[e].splice(r,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const r=this._hooks[e]||[];delete this._hooks[e];for(const o of r)this.hook(e,o)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=uw(e),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(e){const n=uw(e);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(YK,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(XK,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&cy(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&cy(this._after,o)}):(this._after&&o&&cy(this._after,o),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function JI(){return new eJ}function tJ(t={}){let e,n=!1;const r=a=>{if(e&&e!==a)throw new Error("Context conflict")};let o;if(t.asyncContext){const a=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;a?o=new a:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&e===void 0){const a=o.getStore();if(a!==void 0)return a}return e};return{use:()=>{const a=i();if(a===void 0)throw new Error("Context is not available");return a},tryUse:()=>i(),set:(a,s)=>{s||r(a),e=a,n=!0},unset:()=>{e=void 0,n=!1},call:(a,s)=>{r(a),e=a;try{return o?o.run(a,s):s()}finally{n||(e=void 0)}},async callAsync(a,s){e=a;const c=()=>{e=a},l=()=>e===a?c:void 0;fw.add(l);try{const u=o?o.run(a,s):s();return n||(e=void 0),await u}finally{fw.delete(l)}}}}function nJ(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=tJ({...t,...r})),e[n],e[n]}}}const xg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},g3="__unctx__",rJ=xg[g3]||(xg[g3]=nJ()),oJ=(t,e={})=>rJ.get(t,e),y3="__unctx_async_handlers__",fw=xg[y3]||(xg[y3]=new Set);function QI(t){const e=[];for(const o of fw){const i=o();i&&e.push(i)}const n=()=>{for(const o of e)o()};let r=t();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const ZI=oJ("nuxt-app",{asyncContext:!1}),iJ="__nuxt_plugin";function aJ(t){let e=0;const n={_scope:YW(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:cs({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>lJ(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};e++;let o=!1;return()=>{if(!o&&(o=!0,e--,e===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...t};n.hooks=JI(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;pv(n,a,i),pv(n.vueApp.config.globalProperties,a,i)},pv(n.vueApp,"$nuxt",n),pv(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||Rr;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=cs(n.payload.config);return n.provide("config",r),n}async function sJ(t,e){if(e.hooks&&t.hooks.addHooks(e.hooks),typeof e=="function"){const{provide:n}=await t.runWithContext(()=>e(t))||{};if(n&&typeof n=="object")for(const r in n)t.provide(r,n[r])}}async function cJ(t,e){const n=[],r=[];for(const o of e){const i=sJ(t,o);o.parallel?n.push(i.catch(a=>r.push(a))):await i}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function ys(t){return typeof t=="function"?t:(delete t.name,Object.assign(t.setup||(()=>{}),t,{[iJ]:!0}))}function lJ(t,e,n){const r=()=>n?e(...n):e();return ZI.set(t),t.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Rr(){var e;let t;if(_I()&&(t=(e=gu())==null?void 0:e.appContext.app.$nuxt),t=t||ZI.tryUse(),!t)throw new Error("[nuxt] instance unavailable");return t}/*! @__NO_SIDE_EFFECTS__ */function Lh(){return Rr().$config}function pv(t,e,n){Object.defineProperty(t,e,{get:()=>n})}const uJ="modulepreload",fJ=function(t,e){return t[0]==="."?new URL(t,e).href:t},b3={},dJ=function(e,n,r){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=fJ(i,r),i in b3)return;b3[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const l=document.createElement("link");if(l.rel=a?"stylesheet":uJ,a||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),a)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},kg=(...t)=>dJ(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),hJ=-1,pJ=-2,vJ=-3,mJ=-4,gJ=-5,yJ=-6;function bJ(t,e){return wJ(JSON.parse(t),e)}function wJ(t,e){if(typeof t=="number")return o(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,r=Array(n.length);function o(i,a=!1){if(i===hJ)return;if(i===vJ)return NaN;if(i===mJ)return 1/0;if(i===gJ)return-1/0;if(i===yJ)return-0;if(a)throw new Error("Invalid input");if(i in r)return r[i];const s=n[i];if(!s||typeof s!="object")r[i]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=e==null?void 0:e[c];if(l)return r[i]=l(o(s[1]));switch(c){case"Date":r[i]=new Date(s[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<s.length;h+=1)u.add(o(s[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<s.length;h+=2)f.set(o(s[h]),o(s[h+1]));break;case"RegExp":r[i]=new RegExp(s[1],s[2]);break;case"Object":r[i]=Object(s[1]);break;case"BigInt":r[i]=BigInt(s[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<s.length;h+=2)d[s[h]]=o(s[h+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);r[i]=c;for(let l=0;l<s.length;l+=1){const u=s[l];u!==pJ&&(c[l]=o(u))}}else{const c={};r[i]=c;for(const l in s){const u=s[l];c[l]=o(u)}}return r[i]}return o(0)}function xJ(t){return Array.isArray(t)?t:[t]}const kJ=["title","titleTemplate","script","style","noscript"],Em=["base","meta","link","style","script","noscript"],jJ=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],_J=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],YI=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],SJ=typeof window<"u";function p2(t){let e=9;for(let n=0;n<t.length;)e=Math.imul(e^t.charCodeAt(n++),9**9);return((e^e>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function w3(t){return t._h||p2(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function XI(t,e){const{props:n,tag:r}=t;if(_J.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const a=String(n[i]);return e&&!e(a)?!1:`${r}:${i}:${a}`}return!1}function x3(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function $J(t,e,n){const r={tag:t,props:await e9(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return YI.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||kJ.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function CJ(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(e=>t[e])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(e=>e.trim()).filter(Boolean).join(" ")}async function e9(t,e){for(const n of Object.keys(t)){if(n==="class"){t[n]=CJ(t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!YI.includes(n)){const r=String(t[n]),o=n.startsWith("data-");r==="true"||r===""?t[n]=o?"true":!0:t[n]||(o&&r==="false"?t[n]="false":delete t[n])}}return t}const OJ=10;async function AJ(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&jJ.includes(n)).forEach(([n,r])=>{const o=xJ(r);e.push(...o.map(i=>$J(n,i,t)).flat())}),(await Promise.all(e)).flat().filter(Boolean).map((n,r)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<OJ)+r,n))}const k3={base:-10,title:10},j3={critical:-80,high:-10,low:20};function jg(t){let e=100;const n=t.tagPriority;return typeof n=="number"?n:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(e=-30),t.props.charset&&(e=-20),t.props.name==="viewport"&&(e=-15)):t.tag==="link"&&t.props.rel==="preconnect"?e=20:t.tag in k3&&(e=k3[t.tag]),typeof n=="string"&&n in j3?e+j3[n]:e)}const PJ=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],t9=["onload","onerror","onabort","onprogress","onloadstart"],dc="%separator";function Mm(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(a){let s;return["s","pageTitle"].includes(a)?s=e.pageTitle:a.includes(".")?s=a.split(".").reduce((c,l)=>c&&c[l]||void 0,e):s=e[a],typeof s<"u"?(s||"").replace(/"/g,'\\"'):!1}let o=t;try{o=decodeURI(t)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const s=r(a.slice(1));typeof s=="string"&&(t=t.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,l)=>`${s}${l}`).trim())}),t.includes(dc)&&(t.endsWith(dc)&&(t=t.slice(0,-dc.length).trim()),t.startsWith(dc)&&(t=t.slice(dc.length).trim()),t=t.replace(new RegExp(`\\${dc}\\s*\\${dc}`,"g"),dc),t=Mm(t,{separator:n},n)),t}async function TJ(t){const e={tag:t.tagName.toLowerCase(),props:await e9(t.getAttributeNames().reduce((n,r)=>({...n,[r]:t.getAttribute(r)}),{})),innerHTML:t.innerHTML};return e._d=XI(e),e}async function n9(t,e={}){var u;const n=e.document||t.resolvedOptions.document;if(!n)return;const r={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await t.resolveTags()).map(f=>({tag:f,id:Em.includes(f.tag)?w3(f):f.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const h of[...d].filter(p=>Em.includes(p.tagName.toLowerCase())))i.elMap[h.getAttribute("data-hid")||w3(await TJ(h))]=h}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function a(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function s({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),a(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(h.props).forEach(([v,m])=>{const g=`attr:${v}`;if(v==="class")for(const y of(m||"").split(" ").filter(Boolean))p&&a(f,`${g}:${y}`,()=>d.classList.remove(y)),!d.classList.contains(y)&&d.classList.add(y);else d.getAttribute(v)!==m&&d.setAttribute(v,m===!0?"":String(m)),p&&a(f,g,()=>d.removeAttribute(v))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?s(f):Em.includes(d.tag)&&c.push(f)}}for(const f of c){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),s(f),l[d]=l[d]||n.createDocumentFragment(),l[d].appendChild(f.$el)}for(const f of o)await t.hooks.callHook("dom:renderTag",f,n,a);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(i.pendingSideEffects).forEach(f=>f()),t._dom=i,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:o})}async function EJ(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await n9(t,e),delete t._domUpdatePromise,r()}))}function MJ(t){return e=>{var r,o;const n=((o=(r=e.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){EJ(i,t)}}}}}const RJ=["templateParams","htmlAttrs","bodyAttrs"],NJ={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(r=>{t.props[r]&&(t.key=t.props[r],delete t.props[r])});const n=XI(t)||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":function(t){const e={};t.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=e[o];if(i){let s=r==null?void 0:r.tagDuplicateStrategy;if(!s&&RJ.includes(r.tag)&&(s="merge"),s==="merge"){const c=i.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),e[o].props={...c,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(jg(r)>jg(i))return}const a=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Em.includes(r.tag)&&a===0){delete e[o];return}e[o]=r});const n=[];Object.values(e).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),t.tags=n,t.tags=t.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},IJ={mode:"server",hooks:{"tags:resolve":function(t){const e={};t.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{e[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(e).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},LJ=["script","link","bodyAttrs"];function DJ(t){const e={},n={};return Object.entries(t.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(t9.includes(r)&&(e[r]=`this.dataset.${r} = true`),n[r]=o):e[r]=o}),{props:e,eventHandlers:n}}const zJ=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags)if(LJ.includes(n.tag)){const{props:r,eventHandlers:o}=DJ(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||p2(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(e,n,r){if(!e.tag._eventHandlers)return;const o=e.tag.tag==="bodyAttrs"?n.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([i,a])=>{const s=`${e.tag._d||e.tag._p}:${i}`,c=i.slice(2).toLowerCase(),l=`data-h-${c}`;if(r(e.id,s,()=>{}),e.$el.hasAttribute(l))return;e.$el.setAttribute(l,"");let u;const f=d=>{a(d),u==null||u.disconnect()};i in e.$el.dataset?f(new Event(i.replace("on",""))):t9.includes(i)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(p=>p.attributeName===`data-${i}`)&&(f(new Event(i.replace("on",""))),u==null||u.disconnect())}),u.observe(e.$el,{attributes:!0})):o.addEventListener(c,f),r(e.id,s,()=>{u==null||u.disconnect(),o.removeEventListener(c,f),e.$el.removeAttribute(l)})})}}}),BJ=["link","style","script","noscript"],FJ={hooks:{"tag:normalise":({tag:t})=>{t.key&&BJ.includes(t.tag)&&(t.props["data-hid"]=t._h=p2(t.key))}}},HJ={hooks:{"tags:resolve":t=>{const e=n=>{var r;return(r=t.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of PJ)for(const o of t.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=e(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}t.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>jg(n)-jg(r))}}},qJ={meta:"content",link:"href",htmlAttrs:"lang"},VJ=t=>({hooks:{"tags:resolve":e=>{var s;const{tags:n}=e,r=(s=n.find(c=>c.tag==="title"))==null?void 0:s.textContent,o=n.findIndex(c=>c.tag==="templateParams"),i=o!==-1?n[o].props:{},a=i.separator||"|";delete i.separator,i.pageTitle=Mm(i.pageTitle||r||"",i,a);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=qJ[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=Mm(c.props[l],i,a):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(u=>{typeof c[u]=="string"&&(c[u]=Mm(c[u],i,a))})}t._templateParams=i,t._separator=a,e.tags=n.filter(c=>c.tag!=="templateParams")}}}),WJ={hooks:{"tags:resolve":t=>{const{tags:e}=t;let n=e.findIndex(o=>o.tag==="titleTemplate");const r=e.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=x3(e[n].textContent,e[r].textContent);o!==null?e[r].textContent=o||e[r].textContent:delete e[r]}else if(n!==-1){const o=x3(e[n].textContent);o!==null&&(e[n].textContent=o,e[n].tag="title",n=-1)}n!==-1&&delete e[n],t.tags=e.filter(Boolean)}}},UJ={hooks:{"tags:afterResolve":function(t){for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&["application/ld+json","application/json"].includes(e.props.type)?e.innerHTML=e.innerHTML.replace(/</g,"\\u003C"):e.innerHTML=e.innerHTML.replace(new RegExp(`</${e.tag}`,"g"),`<\\/${e.tag}`))}}};let r9;function GJ(t={}){const e=KJ(t);return e.use(MJ()),r9=e}function _3(t,e){return!t||t==="server"&&e||t==="client"&&!e}function KJ(t={}){const e=JI();e.addHooks(t.hooks||{}),t.document=t.document||(SJ?document:void 0);const n=!t.document,r=()=>{s.dirty=!0,e.callHook("entries:updated",s)};let o=0,i=[];const a=[],s={plugins:a,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return i},use(c){const l=typeof c=="function"?c(s):c;(!l.key||!a.some(u=>u.key===l.key))&&(a.push(l),_3(l.mode,n)&&e.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const u={_i:o++,input:c,...l};return _3(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",s),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const c={tags:[],entries:[...i]};await e.callHook("entries:resolve",c);for(const l of c.entries){const u=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(u):u),l.resolvedInput)for(const f of await AJ(l)){const d={tag:f,entry:l,resolvedOptions:s.resolvedOptions};await e.callHook("tag:normalise",d),c.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",c),await e.callHook("tags:resolve",c),await e.callHook("tags:afterResolve",c),c.tags},ssr:n};return[NJ,IJ,zJ,FJ,HJ,VJ,WJ,UJ,...(t==null?void 0:t.plugins)||[]].forEach(c=>s.use(c)),s.hooks.callHook("init",s),s}function JJ(){return r9}const QJ=DI.startsWith("3");function ZJ(t){return typeof t=="function"?t():Ve(t)}function _g(t,e=""){if(t instanceof Promise)return t;const n=ZJ(t);return!t||!n?n:Array.isArray(n)?n.map(r=>_g(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,Ve(o)]:[r,_g(o,r)])):n}const YJ={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=_g(e.input)}}},o9="usehead";function XJ(t){return{install(n){QJ&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(o9,t))}}.install}function eQ(t={}){t.domDelayFn=t.domDelayFn||(n=>Tp(()=>setTimeout(()=>n(),0)));const e=GJ(t);return e.use(YJ),e.install=XJ(e),e}const dw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hw="__unhead_injection_handler__";function tQ(t){dw[hw]=t}function nQ(){if(hw in dw)return dw[hw]();const t=lf(o9);return t||JJ()}function i9(t,e={}){const n=e.head||nQ();if(n)return n.ssr?n.push(t,e):rQ(n,t,e)}function rQ(t,e,n={}){const r=rn(!1),o=rn({});fI(()=>{o.value=r.value?{}:_g(e)});const i=t.push(o.value,n);return Jr(o,s=>{i.patch(s)}),gu()&&(n2(()=>{i.dispose()}),vI(()=>{r.value=!0}),pI(()=>{r.value=!1})),i}function oQ(t){return{ctx:{table:t},matchAll:e=>s9(e,t)}}function a9(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,o])=>[r,a9(o)])):new Map(Object.entries(t[n]));return e}function iQ(t){return oQ(a9(t))}function s9(t,e){const n=[];for(const[o,i]of S3(e.wildcard))t.startsWith(o)&&n.push(i);for(const[o,i]of S3(e.dynamic))if(t.startsWith(o+"/")){const a="/"+t.slice(o.length).split("/").splice(2).join("/");n.push(...s9(a,i))}const r=e.static.get(t);return r&&n.push(r),n.filter(Boolean)}function S3(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function pw(t,e,n=".",r){if(!ly(e))return pw(t,{},n,r);const o=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const a=t[i];a!=null&&(r&&r(o,i,a,n)||(Array.isArray(a)&&Array.isArray(o[i])?o[i]=[...a,...o[i]]:ly(a)&&ly(o[i])?o[i]=pw(a,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=a))}return o}function ly(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function c9(t){return(...e)=>e.reduce((n,r)=>pw(n,r,"",t),{})}const aQ=c9(),sQ=c9((t,e,n)=>{if(t[e]!==void 0&&typeof n=="function")return t[e]=n(t[e]),!0});function cQ(t,e){try{return e in t}catch{return!1}}var lQ=Object.defineProperty,uQ=(t,e,n)=>e in t?lQ(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,$l=(t,e,n)=>(uQ(t,typeof e!="symbol"?e+"":e,n),n);class vw extends Error{constructor(e,n={}){super(e,n),$l(this,"statusCode",500),$l(this,"fatal",!1),$l(this,"unhandled",!1),$l(this,"statusMessage"),$l(this,"data"),$l(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:mw(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=l9(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}$l(vw,"__h3_error__",!0);function fQ(t){if(typeof t=="string")return new vw(t);if(dQ(t))return t;const e=new vw(t.message??t.statusMessage??"",{cause:t.cause||t});if(cQ(t,"stack"))try{Object.defineProperty(e,"stack",{get(){return t.stack}})}catch{try{e.stack=t.stack}catch{}}if(t.data&&(e.data=t.data),t.statusCode?e.statusCode=mw(t.statusCode,e.statusCode):t.status&&(e.statusCode=mw(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;l9(e.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 t.fatal!==void 0&&(e.fatal=t.fatal),t.unhandled!==void 0&&(e.unhandled=t.unhandled),e}function dQ(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const hQ=/[^\u0009\u0020-\u007E]/g;function l9(t=""){return t.replace(hQ,"")}function mw(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const u9=Symbol("route"),v2=()=>Gk(Rr().payload,"error"),pQ=t=>{const e=m2(t);try{const n=Rr(),r=v2();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},vQ=async(t={})=>{const e=Rr(),n=v2();e.callHook("app:error:cleared",t),t.redirect&&await bu().replace(t.redirect),n.value=null},mQ=t=>!!(t&&typeof t=="object"&&"__nuxt_error"in t),m2=t=>{const e=fQ(t);return e.__nuxt_error=!0,e},bu=()=>{var t;return(t=Rr())==null?void 0:t.$router},Sg=()=>_I()?lf(u9,Rr()._route):Rr()._route;/*! @__NO_SIDE_EFFECTS__ */const gQ=()=>{try{if(Rr()._processingMiddleware)return!0}catch{return!0}return!1},f9=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:Dl(t.path||"/",t.query||{})+(t.hash||"");if(e!=null&&e.open){{const{target:s="_blank",windowFeatures:c={}}=e.open,l=Object.entries(c).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,s,l)}return Promise.resolve()}const r=(e==null?void 0:e.external)||Ep(n,{acceptRelative:!0});if(r){if(!(e!=null&&e.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const s=yu(n).protocol;if(s&&wK(s))throw new Error(`Cannot navigate to a URL with '${s}' protocol.`)}const o=gQ();if(!r&&o)return t;const i=bu(),a=Rr();return r?(a._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?i.replace(t):i.push(t)},yQ={nuxt:{buildId:"5e27be75-aebe-490c-9568-17ec11c8309b"}},bQ=sQ(yQ);function d9(){const t=Rr();return t._appConfig||(t._appConfig=cs(bQ)),t._appConfig}const wQ={componentName:"NuxtLink"},xQ={deep:!0},kQ="#__nuxt";let Rm,h9;function jQ(){var e;const t=(e=d9().nuxt)==null?void 0:e.buildId;return Rm=$fetch(d2(`builds/meta/${t}.json`)),Rm.then(n=>{h9=iQ(n.matcher)}),Rm}function U0(){return Rm||jQ()}async function p9(t){return await U0(),aQ({},...h9.matchAll(t).reverse())}function $3(t,e={}){const n=_Q(t,e),r=Rr(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=SQ(t).then(i=>i?v9(n).then(a=>a||(delete o[n],null)):(o[n]=null,null))),o[n]}const C3="json";function _Q(t,e={}){const n=new URL(t,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+t);if(n.host!=="localhost"||Ep(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=e.hash||(e.fresh?Date.now():"");return tc(Lh().app.baseURL,n.pathname,r?`_payload.${r}.${C3}`:`_payload.${C3}`)}async function v9(t){const e=fetch(t).then(n=>n.text().then(m9));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function SQ(t=Sg().path){if((await U0()).prerendered.includes(t))return!0;const n=await p9(t);return!!n.prerender&&!n.redirect}let vv=null;async function $Q(){if(vv)return vv;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=m9(t.textContent||""),n=t.dataset.src?await v9(t.dataset.src):void 0;return vv={...e,...n,...window.__NUXT__},vv}function m9(t){return bJ(t,Rr()._payloadRevivers)}function CQ(t,e){Rr()._payloadRevivers[t]=e}const gw={NuxtError:t=>m2(t),EmptyShallowRef:t=>Zb(t==="_"?void 0:t==="0n"?BigInt(0):wg(t)),EmptyRef:t=>rn(t==="_"?void 0:t==="0n"?BigInt(0):wg(t)),ShallowRef:t=>Zb(t),ShallowReactive:t=>Q7(t),Ref:t=>rn(t),Reactive:t=>cs(t)};gw.Island=({key:t,params:e})=>{const n=Rr();return n.isHydrating||(n.payload.data[t]=n.payload.data[t]||$fetch(`/__nuxt_island/${t}.json`,{responseType:"json",...e?{params:e}:{}}).then(r=>(n.payload.data[t]=r,r))),null};const OQ=ys({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in gw)CQ(r,gw[r]);Object.assign(t.payload,([e,n]=QI(()=>t.runWithContext($Q)),e=await e,n(),e)),window.__NUXT__=t.payload}}),AQ=[],PQ=ys({name:"nuxt:head",enforce:"pre",setup(t){const e=eQ({plugins:AQ});tQ(()=>Rr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await n9(e)};e.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),t.hooks.hook("page:start",()=>{n=!0}),t.hooks.hook("page:finish",()=>{t.isHydrating||r()}),t.hooks.hook("app:error",r),t.hooks.hook("app:suspense:resolve",r)}}}),TQ=async t=>{let e,n;const r=([e,n]=QI(()=>p9(t.path)),e=await e,n(),e);if(r.redirect)return r.redirect},EQ=[TQ];function uy(t){typeof t=="object"&&(t=WI({pathname:t.path||"",search:HI(t.query||{}),hash:t.hash||""}));const e=yu(t.toString());return{path:e.pathname,fullPath:t,query:u2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const MQ=ys({name:"nuxt:router",enforce:"pre",setup(t){const e=jK(window.location.pathname,Lh().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(u,f)=>(r[u].push(f),()=>r[u].splice(r[u].indexOf(f),1)),i=Lh().app.baseURL,a=cs(uy(e));async function s(u,f){try{const d=uy(u);for(const h of r["navigate:before"]){const p=await h(d,a);if(p===!1||p instanceof Error)return;if(typeof p=="string"&&p.length)return s(p,!0)}for(const h of r["resolve:before"])await h(d,a);Object.assign(a,d),window.history[f?"replaceState":"pushState"]({},"",tc(i,d.fullPath)),t.isHydrating||await t.runWithContext(vQ);for(const h of r["navigate:after"])await h(d,a)}catch(d){for(const h of r.error)await h(d)}}const c={currentRoute:a,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>s(u,!1),replace:u=>s(u,!0),back:()=>window.history.go(-1),go:u=>window.history.go(u),forward:()=>window.history.go(1),beforeResolve:u=>o("resolve:before",u),beforeEach:u=>o("navigate:before",u),afterEach:u=>o("navigate:after",u),onError:u=>o("error",u),resolve:uy,addRoute:(u,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:u=>n.some(f=>f.name===u),removeRoute:u=>{const f=n.findIndex(d=>d.name===u);f!==-1&&n.splice(f,1)}};t.vueApp.component("RouterLink",{functional:!0,props:{to:String,custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(u,{slots:f})=>{const d=()=>s(u.to,u.replace);return()=>{var p;const h=c.resolve(u.to);return u.custom?(p=f.default)==null?void 0:p.call(f,{href:u.to,navigate:d,route:h}):Jc("a",{href:u.to,onClick:v=>(v.preventDefault(),d())},f)}}}),window.addEventListener("popstate",u=>{const f=u.target.location;c.replace(f.href.replace(f.origin,""))}),t._route=a,t._middleware=t._middleware||{global:[],named:{}};const l=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(u,f)=>{u.meta=cs(u.meta||{}),t.isHydrating&&l&&!Yl(u.meta.layout)&&(u.meta.layout=l),t._processingMiddleware=!0;{const d=new Set([...EQ,...t._middleware.global]);for(const h of d){const p=await t.runWithContext(()=>h(u,f));if(p!==!0&&(p||p===!1))return p}}}),c.afterEach(()=>{delete t._processingMiddleware}),await c.replace(e),$K(a.fullPath,e)||await t.runWithContext(()=>f9(a.fullPath))}),{provide:{route:a,router:c}}}}),yw=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),RQ=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),g2=t=>{const e=Rr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{yw(t)}):yw(t)},NQ=ys({name:"nuxt:payload",setup(t){bu().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await $3(e.path);r&&Object.assign(t.static.data,r.data)}),g2(()=>{var e;t.hooks.hook("link:prefetch",async n=>{yu(n).protocol||await $3(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(U0,1e3)})}}),IQ=hg(()=>kg(()=>Promise.resolve().then(()=>ree),void 0,import.meta.url).then(t=>t.default)),LQ=hg(()=>kg(()=>import("./IconCSS.87bcb0f3.js"),["./IconCSS.87bcb0f3.js","./IconCSS.7e8f1f7b.css"],import.meta.url).then(t=>t.default)),DQ=[["Icon",IQ],["IconCss",LQ]],zQ=ys({name:"nuxt:global-components",setup(t){for(const[e,n]of DQ)t.vueApp.component(e,n),t.vueApp.component("Lazy"+e,n)}}),BQ="$s";function y2(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);const[n,r]=t;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=BQ+n,i=Rr(),a=Gk(i.payload.state,o);if(a.value===void 0&&r){const s=r();if(co(s))return i.payload.state[o]=s,s;a.value=s}return a}const FQ="__NUXT_COLOR_MODE__",HQ="nuxt-color-mode",$s=window[FQ]||{},qQ=ys(t=>{const e=y2("color-mode",()=>cs({preference:$s.preference,value:$s.value,unknown:!1,forced:!1})).value;bu().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(e.value=i,e.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),e.forced=!1,e.value=e.preference==="system"?$s.getColorScheme():e.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!e.forced&&e.preference==="system"&&(e.value=$s.getColorScheme())}))}Jr(()=>e.preference,o=>{var i;e.forced||(o==="system"?(e.value=$s.getColorScheme(),r()):e.value=o,(i=window.localStorage)==null||i.setItem(HQ,o))},{immediate:!0}),Jr(()=>e.value,(o,i)=>{$s.removeColorScheme(i),$s.addColorScheme(o)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=$s.preference,e.value=$s.value,e.unknown=!1)}),t.provide("colorMode",e)});const VQ=ys(()=>{});function WQ(t={}){const e=t.path||window.location.pathname;let n={};try{n=wg(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(t.force||(n==null?void 0:n.path)!==e||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:e,expires:Date.now()+(t.ttl??1e4)}))}catch{}if(t.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Rr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const UQ=ys({name:"nuxt:chunk-reload",setup(t){const e=bu(),n=Lh(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const s="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:tc(n.app.baseURL,i.fullPath);WQ({path:s,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(o)}),e.onError((i,a)=>{r.has(i)&&o(a)})}}),GQ=ys(t=>{let e;async function n(){const r=await U0();e&&clearTimeout(e),e=setTimeout(n,1e3*60*60);const o=await $fetch(d2("builds/latest.json"));o.id!==r.id&&t.hooks.callHook("app:manifest:update",o)}g2(()=>{e=setTimeout(n,1e3*60*60)})}),KQ=["top","right","bottom","left"],O3=["start","end"],A3=KQ.reduce((t,e)=>t.concat(e,e+"-"+O3[0],e+"-"+O3[1]),[]),Dh=Math.min,Cl=Math.max,JQ={left:"right",right:"left",bottom:"top",top:"bottom"},QQ={start:"end",end:"start"};function bw(t,e,n){return Cl(t,Dh(e,n))}function wu(t,e){return typeof t=="function"?t(e):t}function ls(t){return t.split("-")[0]}function Ca(t){return t.split("-")[1]}function g9(t){return t==="x"?"y":"x"}function b2(t){return t==="y"?"height":"width"}function Mp(t){return["top","bottom"].includes(ls(t))?"y":"x"}function w2(t){return g9(Mp(t))}function y9(t,e,n){n===void 0&&(n=!1);const r=Ca(t),o=w2(t),i=b2(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Cg(a)),[a,Cg(a)]}function ZQ(t){const e=Cg(t);return[$g(t),e,$g(e)]}function $g(t){return t.replace(/start|end/g,e=>QQ[e])}function YQ(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function XQ(t,e,n,r){const o=Ca(t);let i=YQ(ls(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map($g)))),i}function Cg(t){return t.replace(/left|right|bottom|top/g,e=>JQ[e])}function eZ(t){return{top:0,right:0,bottom:0,left:0,...t}}function b9(t){return typeof t!="number"?eZ(t):{top:t,right:t,bottom:t,left:t}}function ch(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function P3(t,e,n){let{reference:r,floating:o}=t;const i=Mp(e),a=w2(e),s=b2(a),c=ls(e),l=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[s]/2-o[s]/2;let h;switch(c){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Ca(e)){case"start":h[a]-=d*(n&&l?-1:1);break;case"end":h[a]+=d*(n&&l?-1:1);break}return h}const tZ=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=P3(l,r,c),d=r,h={},p=0;for(let v=0;v<s.length;v++){const{name:m,fn:g}=s[v],{x:y,y:w,data:x,reset:k}=await g({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:l,platform:a,elements:{reference:t,floating:e}});if(u=y??u,f=w??f,h={...h,[m]:{...h[m],...x}},k&&p<=50){p++,typeof k=="object"&&(k.placement&&(d=k.placement),k.rects&&(l=k.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:u,y:f}=P3(l,d,c)),v=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function G0(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=wu(e,t),p=b9(h),m=s[d?f==="floating"?"reference":"floating":f],g=ch(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),y=f==="floating"?{...a.floating,x:r,y:o}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},k=ch(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:w,strategy:c}):y);return{top:(g.top-k.top+p.top)/x.y,bottom:(k.bottom-g.bottom+p.bottom)/x.y,left:(g.left-k.left+p.left)/x.x,right:(k.right-g.right+p.right)/x.x}}const nZ=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=e,{element:l,padding:u=0}=wu(t,e)||{};if(l==null)return{};const f=b9(u),d={x:n,y:r},h=w2(o),p=b2(h),v=await a.getDimensions(l),m=h==="y",g=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",x=i.reference[p]+i.reference[h]-d[h]-i.floating[p],k=d[h]-i.reference[h],b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let j=b?b[w]:0;(!j||!await(a.isElement==null?void 0:a.isElement(b)))&&(j=s.floating[w]||i.floating[p]);const $=x/2-k/2,S=j/2-v[p]/2-1,_=Dh(f[g],S),C=Dh(f[y],S),O=_,L=j-v[p]-C,E=j/2-v[p]/2+$,D=bw(O,E,L),B=!c.arrow&&Ca(o)!=null&&E!=D&&i.reference[p]/2-(E<O?_:C)-v[p]/2<0,T=B?E<O?E-O:E-L:0;return{[h]:d[h]+T,data:{[h]:D,centerOffset:E-D-T,...B&&{alignmentOffset:T}},reset:B}}});function rZ(t,e,n){return(t?[...n.filter(o=>Ca(o)===t),...n.filter(o=>Ca(o)!==t)]:n.filter(o=>ls(o)===o)).filter(o=>t?Ca(o)===t||(e?$g(o)!==o:!1):!0)}const oZ=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=A3,autoAlignment:h=!0,...p}=wu(t,e),v=f!==void 0||d===A3?rZ(f||null,h,d):d,m=await G0(e,p),g=((n=a.autoPlacement)==null?void 0:n.index)||0,y=v[g];if(y==null)return{};const w=y9(y,i,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(s!==y)return{reset:{placement:v[0]}};const x=[m[ls(y)],m[w[0]],m[w[1]]],k=[...((r=a.autoPlacement)==null?void 0:r.overflows)||[],{placement:y,overflows:x}],b=v[g+1];if(b)return{data:{index:g+1,overflows:k},reset:{placement:b}};const j=k.map(_=>{const C=Ca(_.placement);return[_.placement,C&&u?_.overflows.slice(0,2).reduce((O,L)=>O+L,0):_.overflows[0],_.overflows]}).sort((_,C)=>_[1]-C[1]),S=((o=j.filter(_=>_[2].slice(0,Ca(_[0])?2:3).every(C=>C<=0))[0])==null?void 0:o[0])||j[0][0];return S!==s?{data:{index:g+1,overflows:k},reset:{placement:S}}:{}}}},iZ=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:l}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...m}=wu(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=ls(o),y=ls(s)===s,w=await(c.isRTL==null?void 0:c.isRTL(l.floating)),x=d||(y||!v?[Cg(s)]:ZQ(s));!d&&p!=="none"&&x.push(...XQ(s,v,p,w));const k=[s,...x],b=await G0(e,m),j=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&j.push(b[g]),f){const O=y9(o,a,w);j.push(b[O[0]],b[O[1]])}if($=[...$,{placement:o,overflows:j}],!j.every(O=>O<=0)){var S,_;const O=(((S=i.flip)==null?void 0:S.index)||0)+1,L=k[O];if(L)return{data:{index:O,overflows:$},reset:{placement:L}};let E=(_=$.filter(D=>D.overflows[0]<=0).sort((D,B)=>D.overflows[1]-B.overflows[1])[0])==null?void 0:_.placement;if(!E)switch(h){case"bestFit":{var C;const D=(C=$.map(B=>[B.placement,B.overflows.filter(T=>T>0).reduce((T,P)=>T+P,0)]).sort((B,T)=>B[1]-T[1])[0])==null?void 0:C[0];D&&(E=D);break}case"initialPlacement":E=s;break}if(o!==E)return{reset:{placement:E}}}return{}}}};async function aZ(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ls(n),s=Ca(n),c=Mp(n)==="y",l=["left","top"].includes(a)?-1:1,u=i&&c?-1:1,f=wu(e,t);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof p=="number"&&(h=s==="end"?p*-1:p),c?{x:h*u,y:d*l}:{x:d*l,y:h*u}}const sZ=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:r}=e,o=await aZ(e,t);return{x:n+o.x,y:r+o.y,data:o}}}},cZ=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...c}=wu(t,e),l={x:n,y:r},u=await G0(e,c),f=Mp(ls(o)),d=g9(f);let h=l[d],p=l[f];if(i){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=h+u[m],w=h-u[g];h=bw(y,h,w)}if(a){const m=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=p+u[m],w=p-u[g];p=bw(y,p,w)}const v=s.fn({...e,[d]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},lZ=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=wu(t,e),c=await G0(e,s),l=ls(n),u=Ca(n),f=Mp(n)==="y",{width:d,height:h}=r.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=l,p=u==="end"?"top":"bottom");const m=h-c[p],g=d-c[v],y=!e.middlewareData.shift;let w=m,x=g;if(f){const b=d-c.left-c.right;x=u||y?Dh(g,b):b}else{const b=h-c.top-c.bottom;w=u||y?Dh(m,b):b}if(y&&!u){const b=Cl(c.left,0),j=Cl(c.right,0),$=Cl(c.top,0),S=Cl(c.bottom,0);f?x=d-2*(b!==0||j!==0?b+j:Cl(c.left,c.right)):w=h-2*($!==0||S!==0?$+S:Cl(c.top,c.bottom))}await a({...e,availableWidth:x,availableHeight:w});const k=await o.getDimensions(i.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function Di(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function es(t){return Di(t).getComputedStyle(t)}const T3=Math.min,lh=Math.max,Og=Math.round;function w9(t){const e=es(t);let n=parseFloat(e.width),r=parseFloat(e.height);const o=t.offsetWidth,i=t.offsetHeight,a=Og(n)!==o||Og(r)!==i;return a&&(n=o,r=i),{width:n,height:r,fallback:a}}function Qc(t){return k9(t)?(t.nodeName||"").toLowerCase():""}let mv;function x9(){if(mv)return mv;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(mv=t.brands.map(e=>e.brand+"/"+e.version).join(" "),mv):navigator.userAgent}function ts(t){return t instanceof Di(t).HTMLElement}function Lc(t){return t instanceof Di(t).Element}function k9(t){return t instanceof Di(t).Node}function E3(t){return typeof ShadowRoot>"u"?!1:t instanceof Di(t).ShadowRoot||t instanceof ShadowRoot}function K0(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=es(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function uZ(t){return["table","td","th"].includes(Qc(t))}function ww(t){const e=/firefox/i.test(x9()),n=es(t),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||e&&n.willChange==="filter"||e&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function j9(){return!/^((?!chrome|android).)*safari/i.test(x9())}function x2(t){return["html","body","#document"].includes(Qc(t))}function _9(t){return Lc(t)?t:t.contextElement}const S9={x:1,y:1};function ff(t){const e=_9(t);if(!ts(e))return S9;const n=e.getBoundingClientRect(),{width:r,height:o,fallback:i}=w9(e);let a=(i?Og(n.width):n.width)/r,s=(i?Og(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function zh(t,e,n,r){var o,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=_9(t);let c=S9;e&&(r?Lc(r)&&(c=ff(r)):c=ff(t));const l=s?Di(s):window,u=!j9()&&n;let f=(a.left+(u&&((o=l.visualViewport)==null?void 0:o.offsetLeft)||0))/c.x,d=(a.top+(u&&((i=l.visualViewport)==null?void 0:i.offsetTop)||0))/c.y,h=a.width/c.x,p=a.height/c.y;if(s){const v=Di(s),m=r&&Lc(r)?Di(r):r;let g=v.frameElement;for(;g&&r&&m!==v;){const y=ff(g),w=g.getBoundingClientRect(),x=getComputedStyle(g);w.x+=(g.clientLeft+parseFloat(x.paddingLeft))*y.x,w.y+=(g.clientTop+parseFloat(x.paddingTop))*y.y,f*=y.x,d*=y.y,h*=y.x,p*=y.y,f+=w.x,d+=w.y,g=Di(g).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function Dc(t){return((k9(t)?t.ownerDocument:t.document)||window.document).documentElement}function J0(t){return Lc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $9(t){return zh(Dc(t)).left+J0(t).scrollLeft}function Bh(t){if(Qc(t)==="html")return t;const e=t.assignedSlot||t.parentNode||E3(t)&&t.host||Dc(t);return E3(e)?e.host:e}function C9(t){const e=Bh(t);return x2(e)?e.ownerDocument.body:ts(e)&&K0(e)?e:C9(e)}function Ag(t,e){var n;e===void 0&&(e=[]);const r=C9(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=Di(r);return o?e.concat(i,i.visualViewport||[],K0(r)?r:[]):e.concat(r,Ag(r))}function M3(t,e,n){return e==="viewport"?ch(function(r,o){const i=Di(r),a=Dc(r),s=i.visualViewport;let c=a.clientWidth,l=a.clientHeight,u=0,f=0;if(s){c=s.width,l=s.height;const d=j9();(d||!d&&o==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:c,height:l,x:u,y:f}}(t,n)):Lc(e)?ch(function(r,o){const i=zh(r,!0,o==="fixed"),a=i.top+r.clientTop,s=i.left+r.clientLeft,c=ts(r)?ff(r):{x:1,y:1};return{width:r.clientWidth*c.x,height:r.clientHeight*c.y,x:s*c.x,y:a*c.y}}(e,n)):ch(function(r){const o=Dc(r),i=J0(r),a=r.ownerDocument.body,s=lh(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),c=lh(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight);let l=-i.scrollLeft+$9(r);const u=-i.scrollTop;return es(a).direction==="rtl"&&(l+=lh(o.clientWidth,a.clientWidth)-s),{width:s,height:c,x:l,y:u}}(Dc(t)))}function R3(t){return ts(t)&&es(t).position!=="fixed"?t.offsetParent:null}function N3(t){const e=Di(t);let n=R3(t);for(;n&&uZ(n)&&es(n).position==="static";)n=R3(n);return n&&(Qc(n)==="html"||Qc(n)==="body"&&es(n).position==="static"&&!ww(n))?e:n||function(r){let o=Bh(r);for(;ts(o)&&!x2(o);){if(ww(o))return o;o=Bh(o)}return null}(t)||e}function fZ(t,e,n){const r=ts(e),o=Dc(e),i=zh(t,!0,n==="fixed",e);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Qc(e)!=="body"||K0(o))&&(a=J0(e)),ts(e)){const c=zh(e,!0);s.x=c.x+e.clientLeft,s.y=c.y+e.clientTop}else o&&(s.x=$9(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}const dZ={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=n==="clippingAncestors"?function(l,u){const f=u.get(l);if(f)return f;let d=Ag(l).filter(m=>Lc(m)&&Qc(m)!=="body"),h=null;const p=es(l).position==="fixed";let v=p?Bh(l):l;for(;Lc(v)&&!x2(v);){const m=es(v),g=ww(v);(p?g||h:g||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(y=>y!==v),v=Bh(v)}return u.set(l,d),d}(e,this._c):[].concat(n),a=[...i,r],s=a[0],c=a.reduce((l,u)=>{const f=M3(e,u,o);return l.top=lh(f.top,l.top),l.right=T3(f.right,l.right),l.bottom=T3(f.bottom,l.bottom),l.left=lh(f.left,l.left),l},M3(e,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=ts(n),i=Dc(n);if(n===i)return e;let a={scrollLeft:0,scrollTop:0},s={x:1,y:1};const c={x:0,y:0};if((o||!o&&r!=="fixed")&&((Qc(n)!=="body"||K0(i))&&(a=J0(n)),ts(n))){const l=zh(n);s=ff(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},isElement:Lc,getDimensions:function(t){return ts(t)?w9(t):t.getBoundingClientRect()},getOffsetParent:N3,getDocumentElement:Dc,getScale:ff,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const o=this.getOffsetParent||N3,i=this.getDimensions;return{reference:fZ(e,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>es(t).direction==="rtl"},hZ=(t,e,n)=>{const r=new Map,o={platform:dZ,...n},i={...o.platform,_c:r};return tZ(t,e,{...o,platform:i})};function O9(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?O9(t[n],e[n]):t[n]=e[n])}const Hs={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Fh(t,e){let n=Hs.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Hs.themes[n.$extend]||{}:(n=null,r=Hs[e]):n=null;while(n);return r}function pZ(t){const e=[t];let n=Hs.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Hs.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function I3(t){const e=[t];let n=Hs.themes[t]||{};do n.$extend?(e.push(n.$extend),n=Hs.themes[n.$extend]||{}):n=null;while(n);return e}let eu=!1;if(typeof window<"u"){eu=!1;try{const t=Object.defineProperty({},"passive",{get(){eu=!0}});window.addEventListener("test",null,t)}catch{}}let A9=!1;typeof window<"u"&&typeof navigator<"u"&&(A9=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const P9=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),L3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},D3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function z3(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function fy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const va=[];let wl=null;const B3={};function F3(t){let e=B3[t];return e||(e=B3[t]=[]),e}let xw=function(){};typeof window<"u"&&(xw=window.Element);function zn(t){return function(e){return Fh(e.theme,t)}}const dy="__floating-vue__popper",T9=()=>ho({name:"VPopper",provide(){return{[dy]:{parentPopper:this}}},inject:{[dy]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:zn("disabled")},positioningDisabled:{type:Boolean,default:zn("positioningDisabled")},placement:{type:String,default:zn("placement"),validator:t=>P9.includes(t)},delay:{type:[String,Number,Object],default:zn("delay")},distance:{type:[Number,String],default:zn("distance")},skidding:{type:[Number,String],default:zn("skidding")},triggers:{type:Array,default:zn("triggers")},showTriggers:{type:[Array,Function],default:zn("showTriggers")},hideTriggers:{type:[Array,Function],default:zn("hideTriggers")},popperTriggers:{type:Array,default:zn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:zn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:zn("popperHideTriggers")},container:{type:[String,Object,xw,Boolean],default:zn("container")},boundary:{type:[String,xw],default:zn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:zn("strategy")},autoHide:{type:[Boolean,Function],default:zn("autoHide")},handleResize:{type:Boolean,default:zn("handleResize")},instantMove:{type:Boolean,default:zn("instantMove")},eagerMount:{type:Boolean,default:zn("eagerMount")},popperClass:{type:[String,Array,Object],default:zn("popperClass")},computeTransformOrigin:{type:Boolean,default:zn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:zn("autoMinSize")},autoSize:{type:[Boolean,String],default:zn("autoSize")},autoMaxSize:{type:Boolean,default:zn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:zn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:zn("preventOverflow")},overflowPadding:{type:[Number,String],default:zn("overflowPadding")},arrowPadding:{type:[Number,String],default:zn("arrowPadding")},arrowOverflow:{type:Boolean,default:zn("arrowOverflow")},flip:{type:Boolean,default:zn("flip")},shift:{type:Boolean,default:zn("shift")},shiftCrossAxis:{type:Boolean,default:zn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:zn("noAutoFocus")},disposeTimeout:{type:Number,default:zn("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[dy])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,e;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,e)=>(t[e]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,e)=>(t[e]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:e=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:e=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(sZ({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(oZ({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(cZ({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(iZ({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(nZ({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let a;const{centerOffset:s}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?a=Math.abs(s)>o.reference.width/2:a=Math.abs(s)>o.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:a})=>{var s;if((s=a.autoSize)!=null&&s.skip)return{};let c,l;return i.startsWith("top")||i.startsWith("bottom")?c=o.reference.width:l=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(lZ({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await hZ(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wl&&this.instantMove&&wl.instantMove&&wl!==this.parentPopper){wl.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(wl=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const e=this.delay;return parseInt(e&&e[t]||e||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await fy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ag(this.$_referenceNode),...Ag(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=e.x+e.width/2-(r.left+n.offsetLeft),i=e.y+e.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let e;for(let n=0;n<va.length;n++)e=va[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}va.push(this),document.body.classList.add("v-popper--some-open");for(const e of I3(this.theme))F3(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await fy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,z3(va,this),va.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of I3(this.theme)){const r=F3(n);z3(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}wl===this&&(wl=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await fy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,L3,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],L3,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,D3,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],D3,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(t,e,n){this.$_events.push({targetNodes:t,eventType:e,handler:n}),t.forEach(r=>r.addEventListener(e,n,eu?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(a=>{const s=e[a];s&&this.$_registerEventListeners(t,s,o)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!t||t===o?r.forEach(a=>a.removeEventListener(o,i)):e.push(n)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,e=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,e){for(const n of this.$_targetNodes){const r=n.getAttribute(t);r&&(n.removeAttribute(t),n.setAttribute(e,r))}},$_applyAttrsToTarget(t){for(const e of this.$_targetNodes)for(const n in t){const r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,r)}},$_updateParentShownChildren(t){let e=this.parentPopper;for(;e;)t?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(uh>=t.left&&uh<=t.right&&fh>=t.top&&fh<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=uh-mc,r=fh-gc,o=e.left+e.width/2-mc+(e.top+e.height/2)-gc+e.width+e.height,i=mc+n*o,a=gc+r*o;return gv(mc,gc,i,a,e.left,e.top,e.left,e.bottom)||gv(mc,gc,i,a,e.left,e.top,e.right,e.top)||gv(mc,gc,i,a,e.right,e.top,e.right,e.bottom)||gv(mc,gc,i,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(A9?(document.addEventListener("touchstart",H3,eu?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",mZ,eu?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",H3,!0),window.addEventListener("click",vZ,!0)),window.addEventListener("resize",bZ));function H3(t){for(let e=0;e<va.length;e++){const n=va[e];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(t.target)}catch{}}}function vZ(t){E9(t)}function mZ(t){E9(t,!0)}function E9(t,e=!1){const n={};for(let r=va.length-1;r>=0;r--){const o=va[r];try{const i=o.$_containsGlobalTarget=gZ(o,t);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&q3(o,i,t)){if(o.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let s=o.parentPopper;for(;s;)n[s.randomId]=!0,s=s.parentPopper;return}let a=o.parentPopper;for(;a&&q3(a,a.$_containsGlobalTarget,t);)a.$_handleGlobalClose(t,e),a=a.parentPopper}})}catch{}}}function gZ(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function q3(t,e,n){return n.closeAllPopover||n.closePopover&&e||yZ(t,n)&&!e}function yZ(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function bZ(t){for(let e=0;e<va.length;e++)va[e].$_computePosition(t)}let mc=0,gc=0,uh=0,fh=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{mc=uh,gc=fh,uh=t.clientX,fh=t.clientY},eu?{passive:!0}:void 0);function gv(t,e,n,r,o,i,a,s){const c=((a-o)*(e-i)-(s-i)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e)),l=((n-t)*(e-i)-(r-e)*(t-o))/((s-i)*(n-t)-(a-o)*(r-e));return c>=0&&c<=1&&l>=0&&l<=1}const wZ={extends:T9()},Q0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};function xZ(t,e,n,r,o,i){return et(),zt("div",{ref:"reference",class:cr(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[dr(t.$slots,"default",I7(i2(t.slotData)))],2)}const kZ=Q0(wZ,[["render",xZ]]);function jZ(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("Trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var o=t.indexOf("Edge/");return o>0?parseInt(t.substring(o+5,t.indexOf(".",o)),10):-1}let Nm;function kw(){kw.init||(kw.init=!0,Nm=jZ()!==-1)}var Z0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){kw(),Tp(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Nm&&this.$el.appendChild(t),t.data="about:blank",Nm||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Nm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const _Z=RU();Jk("data-v-b329ee4c");const SZ={class:"resize-observer",tabindex:"-1"};Qk();const $Z=_Z((t,e,n,r,o,i)=>(et(),yn("div",SZ)));Z0.render=$Z;Z0.__scopeId="data-v-b329ee4c";Z0.__file="src/components/ResizeObserver.vue";const M9=(t="theme")=>({computed:{themeClass(){return pZ(this[t])}}}),CZ=ho({name:"VPopperContent",components:{ResizeObserver:Z0},mixins:[M9()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),OZ=["id","aria-hidden","tabindex","data-popper-placement"],AZ={ref:"inner",class:"v-popper__inner"},PZ=Ue("div",{class:"v-popper__arrow-outer"},null,-1),TZ=Ue("div",{class:"v-popper__arrow-inner"},null,-1),EZ=[PZ,TZ];function MZ(t,e,n,r,o,i){const a=Xl("ResizeObserver");return et(),zt("div",{id:t.popperId,ref:"popover",class:cr(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:xi(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:e[2]||(e[2]=tK(s=>t.autoHide&&t.$emit("hide"),["esc"]))},[Ue("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=s=>t.autoHide&&t.$emit("hide"))}),Ue("div",{class:"v-popper__wrapper",style:xi(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Ue("div",AZ,[t.mounted?(et(),zt(Gr,{key:0},[Ue("div",null,[dr(t.$slots,"default")]),t.handleResize?(et(),yn(a,{key:0,onNotify:e[1]||(e[1]=s=>t.$emit("resize",s))})):_r("",!0)],64)):_r("",!0)],512),Ue("div",{ref:"arrow",class:"v-popper__arrow-container",style:xi(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},EZ,4)],4)],46,OZ)}const R9=Q0(CZ,[["render",MZ]]),N9={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},RZ=ho({name:"VPopperWrapper",components:{Popper:kZ,PopperContent:R9},mixins:[N9,M9("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function NZ(t,e,n,r,o,i){const a=Xl("PopperContent"),s=Xl("Popper");return et(),yn(s,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:cr([t.themeClass])},{default:Bt(({popperId:c,isShown:l,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:v,onResize:m,classes:g,result:y})=>[dr(t.$slots,"default",{shown:l,show:h,hide:p}),gt(a,{ref:"popperContent","popper-id":c,theme:t.finalTheme,shown:l,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":v,classes:g,result:y,onHide:p,onResize:m},{default:Bt(()=>[dr(t.$slots,"popper",{shown:l,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const k2=Q0(RZ,[["render",NZ]]),IZ={...k2,name:"VDropdown",vPopperTheme:"dropdown"},LZ={...k2,name:"VMenu",vPopperTheme:"menu"},DZ={...k2,name:"VTooltip",vPopperTheme:"tooltip"},zZ=ho({name:"VTooltipDirective",components:{Popper:T9(),PopperContent:R9},mixins:[N9],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Fh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Fh(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const e=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(e,r)):this.onResult(e,n)}},onResult(t,e){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=e)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),BZ=["innerHTML"],FZ=["textContent"];function HZ(t,e,n,r,o,i){const a=Xl("PopperContent"),s=Xl("Popper");return et(),yn(s,V0({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Bt(({popperId:c,isShown:l,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:v,classes:m,result:g})=>[gt(a,{ref:"popperContent",class:cr({"v-popper--tooltip-loading":t.loading}),"popper-id":c,theme:t.theme,shown:l,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:g,onHide:h,onResize:v},{default:Bt(()=>[t.html?(et(),zt("div",{key:0,innerHTML:t.finalContent},null,8,BZ)):(et(),zt("div",{key:1,textContent:ao(t.finalContent)},null,8,FZ))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const qZ=Q0(zZ,[["render",HZ]]),I9="v-popper--has-tooltip";function VZ(t,e){let n=t.placement;if(!n&&e)for(const r of P9)e[r]&&(n=r);return n||(n=Fh(t.theme||"tooltip","placement")),n}function L9(t,e,n){let r;const o=typeof e;return o==="string"?r={content:e}:e&&o==="object"?r=e:r={content:!1},r.placement=VZ(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let hy,Hh,WZ=0;function UZ(){if(hy)return;Hh=rn([]),hy=BI({name:"VTooltipDirectiveApp",setup(){return{directives:Hh}},render(){return this.directives.map(e=>Jc(qZ,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),hy.mount(t)}function GZ(t,e,n){UZ();const r=rn(L9(t,e,n)),o=rn(!1),i={id:WZ++,options:r,shown:o};return Hh.value.push(i),t.classList&&t.classList.add(I9),t.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function D9(t){if(t.$_popper){const e=Hh.value.indexOf(t.$_popper.item);e!==-1&&Hh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(I9)}function V3(t,{value:e,modifiers:n}){const r=L9(t,e,n);if(!r.content||Fh(r.theme||"tooltip","disabled"))D9(t);else{let o;t.$_popper?(o=t.$_popper,o.options.value=r):o=GZ(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?o.show():o.hide())}}const KZ={beforeMount:V3,updated:V3,beforeUnmount(t){D9(t)}};function W3(t){t.addEventListener("click",z9),t.addEventListener("touchstart",B9,eu?{passive:!0}:!1)}function U3(t){t.removeEventListener("click",z9),t.removeEventListener("touchstart",B9),t.removeEventListener("touchend",F9),t.removeEventListener("touchcancel",H9)}function z9(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function B9(t){if(t.changedTouches.length===1){const e=t.currentTarget;e.$_vclosepopover_touch=!0;const n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",F9),e.addEventListener("touchcancel",H9)}}function F9(t){const e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){const n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function H9(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const JZ={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&W3(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?W3(t):U3(t))},beforeUnmount(t){U3(t)}};function QZ(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,O9(Hs,e),t.directive("tooltip",KZ),t.directive("close-popper",JZ),t.component("VTooltip",DZ),t.component("VDropdown",IZ),t.component("VMenu",LZ))}const ZZ={version:"2.0.0-beta.24",install:QZ,options:Hs},YZ=ys(t=>{t.vueApp.use(ZZ)}),XZ=[OQ,PQ,MQ,NQ,zQ,qQ,VQ,UQ,GQ,YZ],Rp=ho({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(et(),zt("div",{class:cr(["n-icon",e.icon])},null,2))}}),nc=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},eY={},tY={class:"n-badge"};function nY(t,e){return et(),zt("span",tY,[dr(t.$slots,"default")])}const rY=nc(eY,[["render",nY]]);async function q9(t,e=bu()){const{path:n,matched:r}=e.resolve(t);if(!r.length||(e._routePreloaded||(e._routePreloaded=new Set),e._routePreloaded.has(n)))return;const o=e._preloadPromises=e._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>q9(t,e));e._routePreloaded.add(n);const i=r.map(a=>{var s;return(s=a.components)==null?void 0:s.default}).filter(a=>typeof a=="function");for(const a of i){const s=Promise.resolve(a()).catch(()=>{}).finally(()=>o.splice(o.indexOf(s)));o.push(s)}await Promise.all(o)}const oY=(...t)=>t.find(e=>e!==void 0),iY="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function aY(t){const e=t.componentName||"NuxtLink",n=(r,o)=>{if(!r||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return r;const i=t.trailingSlash==="append"?yg:f2;if(typeof r=="string")return i(r,!0);const a="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(a,!0)}};return ho({name:e,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(r,{slots:o}){const i=bu(),a=Lh(),s=gn(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),c=gn(()=>typeof s.value=="string"&&Ep(s.value,{acceptRelative:!0})),l=gn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof s.value=="object"?!1:s.value===""||c.value),u=rn(!1),f=rn(null),d=h=>{var p;f.value=r.custom?(p=h==null?void 0:h.$el)==null?void 0:p.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!cY()){const p=Rr();let v,m=null;nd(()=>{const g=sY();g2(()=>{v=yw(()=>{var y;(y=f==null?void 0:f.value)!=null&&y.tagName&&(m=g.observe(f.value,async()=>{m==null||m(),m=null;const w=typeof s.value=="string"?s.value:i.resolve(s.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",w).catch(()=>{}),!l.value&&q9(s.value,i).catch(()=>{})]),u.value=!0}))})})}),n2(()=>{v&&RQ(v),m==null||m(),m=null})}return()=>{var g,y;if(!l.value){const w={ref:d,to:s.value,activeClass:r.activeClass||t.activeClass,exactActiveClass:r.exactActiveClass||t.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(w.class=r.prefetchedClass||t.prefetchedClass),w.rel=r.rel),Jc(Xl("RouterLink"),w,o.default)}const h=typeof s.value=="object"?((g=i.resolve(s.value))==null?void 0:g.href)??null:s.value&&!r.external&&!c.value?n(tc(a.app.baseURL,s.value),i.resolve):s.value||null,p=r.target||null,v=r.noRel?null:oY(r.rel,t.externalRelAttribute,h?iY:"")||null,m=()=>f9(h,{replace:r.replace});return r.custom?o.default?o.default({href:h,navigate:m,get route(){if(!h)return;const w=yu(h);return{path:w.pathname,fullPath:w.pathname,get query(){return u2(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:p,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Jc("a",{ref:f,href:h,rel:v,target:p},(y=o.default)==null?void 0:y.call(o))}}})}const V9=aY(wQ);function sY(){const t=Rr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(i,a)=>(e||(e=new IntersectionObserver(s=>{for(const c of s){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(i,a),e.observe(i),()=>{n.delete(i),e.unobserve(i),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function cY(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const lY={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},W9=ho({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=gn(()=>e.href||e.to);return(r,o)=>{const i=V9;return et(),yn(i,V0(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:Bt(()=>[dr(r.$slots,"default"),n.value&&r.target==="_blank"?(et(),zt("div",lY)):_r("",!0)]),_:3},16,["class"])}}}),uY={},fY={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},dY=Ue("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),hY=[dY];function pY(t,e){return et(),zt("svg",fY,hY)}const vY=nc(uY,[["render",pY]]),mY=ho({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Rp;return et(),yn(Xk(e.to?Ve(V9):"button"),V0({to:e.to},{...e.$attrs,...!e.to&&{type:e.type}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":e.border},{"n-icon-button":!e.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:Bt(()=>[dr(e.$slots,"icon",{},()=>[e.icon?(et(),yn(r,{key:0,icon:e.icon,class:cr({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):_r("",!0)]),dr(e.$slots,"default")]),_:3},16,["to","class"])}}}),gY={},yY={class:"n-loading n-panel-grids-center"},bY={class:"flex flex-col animate-pulse items-center text-lg"},wY=Ue("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function xY(t,e){return et(),zt("div",yY,[Ue("div",bY,[wY,dr(t.$slots,"default",{},()=>[xn(" Loading... ")])])])}const U9=nc(gY,[["render",xY]]),kY=ho({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=rn(),i=rn(!0),a=rn();function s(c){const l=o.value;if(c!==a.value){a.value=c,i.value=!0,l.style.backgroundImage="";const u=Date.now();$fetch.raw(c,{responseType:"blob"}).then(f=>{const d=f.headers.get("content-length"),h=Math.round(Number(d)/1024),p=new FileReader;p.readAsDataURL(f._data),p.onloadend=()=>{const v=p.result;v&&(l.style.backgroundImage=`url(${v})`,i.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return nd(()=>{Jr(()=>n.src,c=>{s(c)},{immediate:!0})}),(c,l)=>{const u=U9;return et(),zt("div",{ref_key:"image",ref:o,style:xi({aspectRatio:c.aspectRatio})},[Ve(i)?(et(),yn(u,{key:0})):_r("",!0)],4)}}});const G9=nc(kY,[["__scopeId","data-v-eaa32c83"]]),j2=()=>y2("color-mode").value;function G3(t){return typeof t=="function"?t():Ve(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jY=t=>typeof t<"u",K3=()=>{};function _Y(t,e){function n(...r){return new Promise((o,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(o).catch(i)})}return n}function SY(t,e={}){let n,r,o=K3;const i=s=>{clearTimeout(s),o(),o=K3};return s=>{const c=G3(t),l=G3(e.maxWait);return n&&i(n),c<=0||l!==void 0&&l<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,l&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,u(s())},l)),n=setTimeout(()=>{r&&i(r),r=null,u(s())},c)})}}function _2(t,e=200,n={}){return _Y(SY(e,n),t)}function $Y(t){return JSON.parse(JSON.stringify(t))}function K9(t,e,n,r={}){var o,i,a;const{clone:s=!1,passive:c=!1,eventName:l,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=gu(),p=n||(h==null?void 0:h.emit)||((o=h==null?void 0:h.$emit)==null?void 0:o.bind(h))||((a=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(h==null?void 0:h.proxy));let v=l;e||(e="modelValue"),v=v||`update:${e.toString()}`;const m=w=>s?typeof s=="function"?s(w):$Y(w):w,g=()=>jY(t[e])?m(t[e]):f,y=w=>{d?d(w)&&p(v,w):p(v,w)};if(c){const w=g(),x=rn(w);let k=!1;return Jr(()=>t[e],b=>{k||(k=!0,x.value=m(b),Tp(()=>k=!1))}),Jr(x,b=>{!k&&(b!==t[e]||u)&&y(b)},{deep:u}),x}else return gn({get(){return g()},set(w){y(w)}})}const Y0=rn(Date.now()),J9=rn(Date.now()),kd=rn(null),CY=window.location.host,dh=rn("/"),Q9=rn("/"),io=rn({}),pi=rn({}),Mu=rn(!1),py=rn({}),Ai=_2(()=>{Y0.value=Date.now()},200),OY=_2(()=>{Y0.value=Date.now()},1e3),S2=gn(()=>qI(Q9.value,`${window.location.protocol}//${CY}`)),AY=["width","height"],PY=ho({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=rn(),i=j2(),a=rn(),s=_2(()=>{const u=a.value,f=Date.now();u.src="";const d=io.value.width||1200,h=io.value.height||600,p=u.offsetHeight,v=u.offsetWidth,m=p>h?1:p/h,g=v>d?1:v/d,y=g>m?m:g;u.style.opacity="0",u.onload=()=>{u.style.opacity="1",r("load",{timeTaken:Date.now()-f})},u.src=`${o.value}&scale=${y}&mode=${i.value}`},200);nd(()=>{Jr(()=>n.src,u=>{o.value!==u&&a.value&&(o.value=u,s())},{immediate:!0}),Jr([()=>i,a],()=>{s()})}),i9({bodyAttrs:{onresize:()=>{s()}}});const c=gn(()=>n.maxWidth||io.value.width),l=gn(()=>n.maxHeight||io.value.height);return(u,f)=>(et(),zt("div",{class:"w-full mx-auto h-full justify-center flex",style:xi({maxHeight:`${Ve(l)}px`,maxWidth:`${Ve(c)}px`})},[Ue("iframe",{ref_key:"iframe",ref:a,class:"max-h-full",style:xi({aspectRatio:u.aspectRatio}),width:Ve(c),height:Ve(l)},null,12,AY)],4))}});const Z9=nc(PY,[["__scopeId","data-v-ee72acc8"]]);const TY={},EY={class:"root max-h-full relative flex"},MY={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},RY={class:"image-wrap"},NY={class:"domain absolute bottom-3 bg-black/20 z-2 left-3 text-white"};function IY(t,e){return et(),zt("div",EY,[Ue("div",MY,[Ue("div",RY,[dr(t.$slots,"default",{},void 0,!0)])]),Ue("div",NY,[dr(t.$slots,"domain",{},void 0,!0)])])}const LY=nc(TY,[["render",IY],["__scopeId","data-v-7198aba6"]]);const DY={},zY=t=>(Jk("data-v-ba8e339e"),t=t(),Qk(),t),BY={class:"root"},FY=zY(()=>Ue("div",{class:"bar"},null,-1)),HY={class:"content"},qY={class:"flex items-center space-x-2"},VY={class:"favIcon"},WY={class:"siteName"},UY={class:"title"},GY={class:"description"};function KY(t,e){return et(),zt("div",BY,[FY,Ue("div",HY,[Ue("div",qY,[Ue("div",VY,[dr(t.$slots,"favIcon",{},void 0,!0)]),Ue("div",WY,[dr(t.$slots,"siteName",{},void 0,!0)])]),Ue("div",UY,[dr(t.$slots,"title",{},void 0,!0)]),Ue("div",GY,[dr(t.$slots,"description",{},void 0,!0)]),dr(t.$slots,"default",{},void 0,!0)])])}const JY=nc(DY,[["render",KY],["__scopeId","data-v-ba8e339e"]]),Y9=Object.freeze({left:0,top:0,width:16,height:16}),X9=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),$2=Object.freeze({...Y9,...X9});Object.freeze({...$2,body:"",hidden:!1});({...Y9});const eL=Object.freeze({width:null,height:null}),tL=Object.freeze({...eL,...X9});function QY(t,e){const n={...t};for(const r in e){const o=e[r],i=typeof o;r in eL?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const ZY=/[\s,]+/;function YY(t,e){e.split(ZY).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function XY(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:r(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(t.slice(0,t.length-n.length));return isNaN(i)?0:(i=i/o,i%1===0?r(i):0)}}return e}const eX=/(-?[0-9.]*[0-9]+[0-9.]*)/g,tX=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function J3(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const r=t.split(eX);if(r===null||!r.length)return t;const o=[];let i=r.shift(),a=tX.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?o.push(i):o.push(Math.ceil(s*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");a=!a}}const nX=t=>t==="unset"||t==="undefined"||t==="none";function rX(t,e){const n={...$2,...t},r={...tL,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const v=[],m=p.hFlip,g=p.vFlip;let y=p.rotate;m?g?y+=2:(v.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),v.push("scale(-1 1)"),o.top=o.left=0):g&&(v.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),v.push("scale(1 -1)"),o.top=o.left=0);let w;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:w=o.height/2+o.top,v.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:v.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,v.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}y%2===1&&(o.left!==o.top&&(w=o.left,o.left=o.top,o.top=w),o.width!==o.height&&(w=o.width,o.width=o.height,o.height=w)),v.length&&(i='<g transform="'+v.join(" ")+'">'+i+"</g>")});const a=r.width,s=r.height,c=o.width,l=o.height;let u,f;a===null?(f=s===null?"1em":s==="auto"?l:s,u=J3(f,c/l)):(u=a==="auto"?c:a,f=s===null?J3(u,l/c):s==="auto"?l:s);const d={},h=(p,v)=>{nX(v)||(d[p]=v.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:i}}const oX=/\sid="(\S+)"/g,iX="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let aX=0;function sX(t,e=iX){const n=[];let r;for(;r=oX.exec(t);)n.push(r[1]);if(!n.length)return t;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof e=="function"?e(i):e+(aX++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+o+"$3")}),t=t.replace(new RegExp(o,"g"),""),t}function cX(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in e)n+=" "+r+'="'+e[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function lX(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function uX(t){return"data:image/svg+xml,"+lX(t)}function fX(t){return'url("'+uX(t)+'")'}const Q3={...tL,inline:!1},dX={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},hX={display:"inline-block"},jw={backgroundColor:"currentColor"},nL={backgroundColor:"transparent"},Z3={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Y3={webkitMask:jw,mask:jw,background:nL};for(const t in Y3){const e=Y3[t];for(const n in Z3)e[t+n]=Z3[n]}const Im={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Im[t+"-flip"]=e,Im[t.slice(0,1)+"-flip"]=e,Im[t+"Flip"]=e});function X3(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const pX=(t,e)=>{const n=QY(Q3,e),r={...dX},o=e.mode||"svg",i={},a=e.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let v in e){const m=e[v];if(m!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&YY(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[v]=XY(m):typeof m=="number"&&(n[v]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const g=Im[v];g?(m===!0||m==="true"||m===1)&&(n[g]=!0):Q3[v]===void 0&&(r[v]=m)}}}const c=rX(t,n),l=c.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...s},Object.assign(r,l);let v=0,m=e.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=sX(c.body,m?()=>m+"ID"+v++:"iconifyVue"),Jc("svg",r)}const{body:u,width:f,height:d}=t,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),p=cX(u,{...l,width:f+"",height:d+""});return r.style={...i,"--svg":fX(p),width:X3(l.width),height:X3(l.height),...hX,...h?jw:nL,...s},Jc("span",r)},vX=Object.create(null),mX=ho({inheritAttrs:!1,render(){const t=this.$attrs,e=t.icon,n=typeof e=="string"?vX[e]:typeof e=="object"?e:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:pX({...$2,...n},t)}}),hh=/^[a-z0-9]+(-[a-z0-9]+)*$/,X0=(t,e,n,r="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const s=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:s};return e&&!Lm(l)?null:l}const i=o[0],a=i.split("-");if(a.length>1){const s={provider:r,prefix:a.shift(),name:a.join("-")};return e&&!Lm(s)?null:s}if(n&&r===""){const s={provider:r,prefix:"",name:i};return e&&!Lm(s,n)?null:s}return null},Lm=(t,e)=>t?!!((t.provider===""||t.provider.match(hh))&&(e&&t.prefix===""||t.prefix.match(hh))&&t.name.match(hh)):!1,rL=Object.freeze({left:0,top:0,width:16,height:16}),Pg=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),C2=Object.freeze({...rL,...Pg}),_w=Object.freeze({...C2,body:"",hidden:!1});function gX(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(e.rotate||0))%4;return r&&(n.rotate=r),n}function e$(t,e){const n=gX(t,e);for(const r in _w)r in Pg?r in t&&!(r in n)&&(n[r]=Pg[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function yX(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const s=r[a]&&r[a].parent,c=s&&i(s);c&&(o[a]=[s].concat(c))}return o[a]}return(e||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function bX(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function a(s){i=e$(r[s]||o[s],i)}return a(e),n.forEach(a),e$(t,i)}function oL(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const r=yX(t);for(const o in r){const i=r[o];i&&(e(o,bX(t,o,i)),n.push(o))}return n}const wX={provider:"",aliases:{},not_found:{},...rL};function vy(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function iL(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!vy(t,wX))return null;const n=e.icons;for(const o in n){const i=n[o];if(!o.match(hh)||typeof i.body!="string"||!vy(i,_w))return null}const r=e.aliases||Object.create(null);for(const o in r){const i=r[o],a=i.parent;if(!o.match(hh)||typeof a!="string"||!n[a]&&!r[a]||!vy(i,_w))return null}return e}const t$=Object.create(null);function xX(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function tu(t,e){const n=t$[t]||(t$[t]=Object.create(null));return n[e]||(n[e]=xX(t,e))}function O2(t,e){return iL(e)?oL(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function kX(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let qh=!1;function aL(t){return typeof t=="boolean"&&(qh=t),qh}function jX(t){const e=typeof t=="string"?X0(t,!0,qh):t;if(e){const n=tu(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function _X(t,e){const n=X0(t,!0,qh);if(!n)return!1;const r=tu(n.provider,n.prefix);return kX(r,n.name,e)}function SX(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),qh&&!e&&!t.prefix){let o=!1;return iL(t)&&(t.prefix="",oL(t,(i,a)=>{a&&_X(i,a)&&(o=!0)})),o}const n=t.prefix;if(!Lm({provider:e,prefix:n,name:"a"}))return!1;const r=tu(e,n);return!!O2(r,t)}const $X=Object.freeze({width:null,height:null}),CX=Object.freeze({...$X,...Pg});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Sw=Object.create(null);function OX(t,e){Sw[t]=e}function $w(t){return Sw[t]||Sw[""]}function A2(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const P2=Object.create(null),jd=["https://api.simplesvg.com","https://api.unisvg.com"],Dm=[];for(;jd.length>0;)jd.length===1||Math.random()>.5?Dm.push(jd.shift()):Dm.push(jd.pop());P2[""]=A2({resources:["https://api.iconify.design"].concat(Dm)});function Cw(t,e){const n=A2(e);return n===null?!1:(P2[t]=n,!0)}function T2(t){return P2[t]}const AX=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let n$=AX();function PX(t,e){const n=T2(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const i=e+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function TX(t){return t===404}const EX=(t,e,n)=>{const r=[],o=PX(t,e),i="icons";let a={type:i,provider:t,prefix:e,icons:[]},s=0;return n.forEach((c,l)=>{s+=c.length+1,s>=o&&l>0&&(r.push(a),a={type:i,provider:t,prefix:e,icons:[]},s=c.length),a.icons.push(c)}),r.push(a),r};function MX(t){if(typeof t=="string"){const e=T2(t);if(e)return e.path}return"/"}const RX=(t,e,n)=>{if(!n$){n("abort",424);return}let r=MX(e.provider);switch(e.type){case"icons":{const i=e.prefix,s=e.icons.join(","),c=new URLSearchParams({icons:s});r+=i+".json?"+c.toString();break}case"custom":{const i=e.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let o=503;n$(t+r).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(TX(a)?"abort":"next",a)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",o)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",o)})},NX={prepare:EX,send:RX};function IX(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return t.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const i=o.provider,a=o.prefix,s=o.name,c=n[i]||(n[i]=Object.create(null)),l=c[a]||(c[a]=tu(i,a));let u;s in l.icons?u=e.loaded:a===""||l.missing.has(s)?u=e.missing:u=e.pending;const f={provider:i,prefix:a,name:s};u.push(f)}),e}function sL(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==e))})}function LX(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const r=t.provider,o=t.prefix;e.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(t.icons[l])a.loaded.push({provider:r,prefix:o,name:l});else if(t.missing.has(l))a.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||sL([t],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let DX=0;function zX(t,e,n){const r=DX++,o=sL.bind(null,n,r);if(!e.pending.length)return o;const i={id:r,icons:e,callback:t,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),o}function BX(t,e=!0,n=!1){const r=[];return t.forEach(o=>{const i=typeof o=="string"?X0(o,e,n):o;i&&r.push(i)}),r}var FX={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function HX(t,e,n,r){const o=t.resources.length,i=t.random?Math.floor(Math.random()*o):t.index;let a;if(t.random){let b=t.resources.slice(0);for(a=[];b.length>1;){const j=Math.floor(Math.random()*b.length);a.push(b[j]),b=b.slice(0,j).concat(b.slice(j+1))}a=a.concat(b)}else a=t.resources.slice(i).concat(t.resources.slice(0,i));const s=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function v(){c==="pending"&&(c="aborted"),p(),d.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),d=[]}function m(b,j){j&&(h=[]),typeof b=="function"&&h.push(b)}function g(){return{startTime:s,payload:e,status:c,queriesSent:l,queriesPending:d.length,subscribe:m,abort:v}}function y(){c="failed",h.forEach(b=>{b(void 0,u)})}function w(){d.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),d=[]}function x(b,j,$){const S=j!=="success";switch(d=d.filter(_=>_!==b),c){case"pending":break;case"failed":if(S||!t.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=$,y();return}if(S){u=$,d.length||(a.length?k():y());return}if(p(),w(),!t.random){const _=t.resources.indexOf(b.resource);_!==-1&&_!==t.index&&(t.index=_)}c="completed",h.forEach(_=>{_($)})}function k(){if(c!=="pending")return;p();const b=a.shift();if(b===void 0){if(d.length){f=setTimeout(()=>{p(),c==="pending"&&(w(),y())},t.timeout);return}y();return}const j={status:"pending",resource:b,callback:($,S)=>{x(j,$,S)}};d.push(j),l++,f=setTimeout(k,t.rotate),n(b,e,j.callback)}return setTimeout(k),g}function cL(t){const e={...FX,...t};let n=[];function r(){n=n.filter(s=>s().status==="pending")}function o(s,c,l){const u=HX(e,s,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function i(s){return n.find(c=>s(c))||null}return{query:o,find:i,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:r}}function r$(){}const my=Object.create(null);function qX(t){if(!my[t]){const e=T2(t);if(!e)return;const n=cL(e),r={config:e,redundancy:n};my[t]=r}return my[t]}function VX(t,e,n){let r,o;if(typeof t=="string"){const i=$w(t);if(!i)return n(void 0,424),r$;o=i.send;const a=qX(t);a&&(r=a.redundancy)}else{const i=A2(t);if(i){r=cL(i);const a=t.resources?t.resources[0]:"",s=$w(a);s&&(o=s.send)}}return!r||!o?(n(void 0,424),r$):r.query(e,o,n)().abort}const o$="iconify2",Vh="iconify",lL=Vh+"-count",i$=Vh+"-version",uL=36e5,WX=168;function Ow(t,e){try{return t.getItem(e)}catch{}}function E2(t,e,n){try{return t.setItem(e,n),!0}catch{}}function a$(t,e){try{t.removeItem(e)}catch{}}function Aw(t,e){return E2(t,lL,e.toString())}function Pw(t){return parseInt(Ow(t,lL))||0}const e1={local:!0,session:!0},fL={local:new Set,session:new Set};let M2=!1;function UX(t){M2=t}let yv=typeof window>"u"?{}:window;function dL(t){const e=t+"Storage";try{if(yv&&yv[e]&&typeof yv[e].length=="number")return yv[e]}catch{}e1[t]=!1}function hL(t,e){const n=dL(t);if(!n)return;const r=Ow(n,i$);if(r!==o$){if(r){const s=Pw(n);for(let c=0;c<s;c++)a$(n,Vh+c.toString())}E2(n,i$,o$),Aw(n,0);return}const o=Math.floor(Date.now()/uL)-WX,i=s=>{const c=Vh+s.toString(),l=Ow(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&e(u,s))return!0}catch{}a$(n,c)}};let a=Pw(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Aw(n,a)):fL[t].add(s))}function pL(){if(!M2){UX(!0);for(const t in e1)hL(t,e=>{const n=e.data,r=e.provider,o=n.prefix,i=tu(r,o);if(!O2(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function GX(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const r in e1)hL(r,o=>{const i=o.data;return o.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===e});return!0}function KX(t,e){M2||pL();function n(r){let o;if(!e1[r]||!(o=dL(r)))return;const i=fL[r];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Pw(o),!Aw(o,a+1))return;const s={cached:Math.floor(Date.now()/uL),provider:t.provider,data:e};return E2(o,Vh+a.toString(),JSON.stringify(s))}e.lastModified&&!GX(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function s$(){}function JX(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,LX(t)}))}function QX(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,o=t.iconsToLoad;delete t.iconsToLoad;let i;if(!o||!(i=$w(n)))return;i.prepare(n,r,o).forEach(s=>{VX(n,s,c=>{if(typeof c!="object")s.icons.forEach(l=>{t.missing.add(l)});else try{const l=O2(t,c);if(!l.length)return;const u=t.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),KX(t,c)}catch(l){console.error(l)}JX(t)})})}))}const ZX=(t,e)=>{const n=BX(t,!0,aL()),r=IX(n);if(!r.pending.length){let c=!0;return e&&setTimeout(()=>{c&&e(r.loaded,r.missing,r.pending,s$)}),()=>{c=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===s&&l===a)return;a=l,s=u,i.push(tu(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=tu(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[l][u].push(f))}),i.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&QX(c,o[l][u])}),e?zX(e,r,i):s$},YX=t=>new Promise((e,n)=>{const r=typeof t=="string"?X0(t,!0):t;if(!r){n(t);return}ZX([r||t],o=>{if(o.length&&r){const i=jX(r);if(i){e({...C2,...i});return}}n(t)})});({...CX});const c$={backgroundColor:"currentColor"},XX={backgroundColor:"transparent"},l$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},u$={webkitMask:c$,mask:c$,background:XX};for(const t in u$){const e=u$[t];for(const n in l$)e[t+n]=l$[n]}const gy={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";gy[t+"-flip"]=e,gy[t.slice(0,1)+"-flip"]=e,gy[t+"Flip"]=e});aL(!0);OX("",NX);if(typeof document<"u"&&typeof window<"u"){pL();const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!SX(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const r="IconifyProviders["+n+"] is invalid.";try{const o=e[n];if(typeof o!="object"||!o||o.resources===void 0)continue;Cw(n,o)||console.error(r)}catch{console.error(r)}}}}({...C2});const eee=["fluent-emoji-high-contrast","material-symbols-light","cryptocurrency-color","icon-park-outline","icon-park-twotone","fluent-emoji-flat","emojione-monotone","streamline-emojis","heroicons-outline","simple-line-icons","material-symbols","flat-color-icons","icon-park-solid","pepicons-pencil","heroicons-solid","pepicons-print","cryptocurrency","pixelarticons","system-uicons","devicon-plain","entypo-social","grommet-icons","vscode-icons","pepicons-pop","svg-spinners","fluent-emoji","simple-icons","circle-flags","medical-icon","icomoon-free","majesticons","radix-icons","humbleicons","fa6-regular","emojione-v1","skill-icons","academicons","healthicons","fluent-mdl2","teenyicons","ant-design","akar-icons","lets-icons","streamline","fa6-brands","file-icons","game-icons","foundation","fa-regular","mono-icons","iconamoon","zondicons","mdi-light","eos-icons","gridicons","icon-park","heroicons","fa6-solid","meteocons","arcticons","dashicons","fa-brands","websymbol","fontelico","mingcute","bytesize","guidance","openmoji","emojione","nonicons","brandico","flagpack","fa-solid","fontisto","si-glyph","pepicons","iconoir","tdesign","clarity","octicon","codicon","pajamas","formkit","line-md","twemoji","noto-v1","fxemoji","devicon","raphael","flat-ui","topcoat","feather","tabler","carbon","lucide","memory","mynaui","circum","fluent","nimbus","entypo","icons8","subway","vaadin","solar","basil","typcn","charm","prime","quill","logos","covid","maki","gala","ooui","noto","flag","iwwa","zmdi","bpmn","mdi","ion","uil","bxs","cil","uiw","uim","uit","uis","jam","bxl","cib","cif","gis","map","geo","fad","eva","wpf","whh","ic","ph","ri","bi","bx","gg","ci","ep","fe","mi","ei","wi","la","fa","oi","et","el","ls","vs","il","ps"];function tee(t=""){let e,n="";if(t[0]==="@"&&t.includes(":")&&(n=t.split(":")[0].slice(1),t=t.split(":").slice(1).join(":")),t.startsWith("i-")){t=t.replace(/^i-/,"");for(const r of eee)if(t.startsWith(r)){e=r,t=t.slice(r.length+1);break}}else if(t.includes(":")){const[r,o]=t.split(":");e=r,t=o}return{provider:n,prefix:e||"",name:t||""}}const nee=ho({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let e,n;const r=Rr(),o=d9(),i=t;Jr(()=>{var m;return(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions},()=>{var m,g,y,w,x,k;if((g=(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions)!=null&&g.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((w=(y=o.nuxtIcon)==null?void 0:y.iconifyApiOptions)!=null&&w.publicApiFallback){Cw("custom",{resources:[(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions.url],index:0});return}Cw("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const a=y2("icons",()=>({})),s=rn(!1),c=gn(()=>{var m,g;return(g=(m=o.nuxtIcon)==null?void 0:m.aliases)!=null&&g[i.name]?o.nuxtIcon.aliases[i.name]:i.name}),l=gn(()=>tee(c.value)),u=gn(()=>[l.value.provider,l.value.prefix,l.value.name].filter(Boolean).join(":")),f=gn(()=>{var m;return(m=a.value)==null?void 0:m[u.value]}),d=gn(()=>r.vueApp.component(c.value)),h=gn(()=>{var g,y,w;if(!i.size&&typeof((g=o.nuxtIcon)==null?void 0:g.size)=="boolean"&&!((y=o.nuxtIcon)!=null&&y.size))return;const m=i.size||((w=o.nuxtIcon)==null?void 0:w.size)||"1em";return String(Number(m))===m?`${m}px`:m}),p=gn(()=>{var m;return((m=o==null?void 0:o.nuxtIcon)==null?void 0:m.class)??"icon"});async function v(){var m;d.value||(m=a.value)!=null&&m[u.value]||(s.value=!0,a.value[u.value]=await YX(l.value).catch(()=>{}),s.value=!1)}return Jr(c,v),!d.value&&([e,n]=wI(()=>v()),e=await e,n()),(m,g)=>s.value?(et(),zt("span",{key:0,class:cr(p.value),style:xi({width:h.value,height:h.value})},null,6)):f.value?(et(),yn(Ve(mX),{key:1,icon:f.value,class:cr(p.value),width:h.value,height:h.value},null,8,["icon","class","width","height"])):d.value?(et(),yn(Xk(d.value),{key:2,class:cr(p.value),width:h.value,height:h.value},null,8,["class","width","height"])):(et(),zt("span",{key:3,class:cr(p.value),style:xi({fontSize:h.value,lineHeight:h.value,width:h.value,height:h.value})},[dr(m.$slots,"default",{},()=>[xn(ao(t.name),1)],!0)],6))}});const vL=nc(nee,[["__scopeId","data-v-3e5f898f"]]),ree=Object.freeze(Object.defineProperty({__proto__:null,default:vL},Symbol.toStringTag,{value:"Module"})),oee=["disabled"],iee={key:0,value:"",disabled:"",hidden:""},aee=ho({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const o=K9(t,"modelValue",e,{passive:!0});return(i,a)=>{const s=Rp;return et(),zt("div",{class:cr(["n-select flex flex items-center border rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base",i.disabled?"border-gray:10":"n-border-base"])},[dr(i.$slots,"icon",{},()=>[i.icon?(et(),yn(s,{key:0,icon:i.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):_r("",!0)]),hI(Ue("select",{"onUpdate:modelValue":a[0]||(a[0]=c=>co(o)?o.value=c:null),disabled:i.disabled,class:cr(["w-full flex-auto n-bg-base !outline-none",i.disabled?"appearance-none":""])},[i.placeholder?(et(),zt("option",iee,ao(i.placeholder),1)):_r("",!0),dr(i.$slots,"default")],10,oee),[[QG,Ve(o)]])],2)}}}),see={flex:"~ gap-3","items-center":""},cee=ho({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(et(),zt("div",see,[e.icon?(et(),zt("div",{key:0,class:cr(e.icon)},null,2)):_r("",!0),dr(e.$slots,"default",{},()=>[Ue("div",null,ao(e.text),1)])]))}}),mL=t=>(Jk("data-v-348c1d92"),t=t(),Qk(),t),lee=["open"],uee={"text-base":""},fee={key:0,"text-sm":"",op50:""},dee=mL(()=>Ue("div",{class:"flex-auto"},null,-1)),hee=mL(()=>Ue("div",{class:"x-divider"},null,-1)),pee=ho({__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(t){const n=K9(t,"open");function r(o){n.value=o.target.open}return(o,i)=>{const a=Rp,s=cee;return et(),zt(Gr,null,[Ue("details",{open:Ve(n),onToggle:r},[Ue("summary",{class:cr(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[gt(s,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:cr([Ve(n)?"op100":"op60",o.headerClass])},{default:Bt(()=>[Ue("div",null,[Ue("div",uee,[dr(o.$slots,"text",{},()=>[xn(ao(o.text),1)],!0)]),o.description||o.$slots.description?(et(),zt("div",fee,[dr(o.$slots,"description",{},()=>[xn(ao(o.description),1)],!0)])):_r("",!0)]),dee,dr(o.$slots,"actions",{},void 0,!0),o.collapse?(et(),yn(a,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):_r("",!0)]),_:3},8,["icon","text","class"])],2),Ue("div",{class:cr(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[dr(o.$slots,"details",{},void 0,!0),Ue("div",{class:cr([o.containerClass,"mt1"])},[dr(o.$slots,"default",{},void 0,!0)],2),dr(o.$slots,"footer",{},void 0,!0)],2)],40,lee),hee],64)}}});const vee=nc(pee,[["__scopeId","data-v-348c1d92"]]);let mee;const _d=[];function gee(t){if(_d.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&_d.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&_d.forEach(n=>n(e))},get(){return mee.value},configurable:!0}),()=>{_d.splice(_d.indexOf(t),1)}}const yee=rn(),bee=rn(),jc=rn(),wee=rn();gee(async t=>{yee.value=t.host.app.$fetch,fI(()=>{wee.value=t.host.app.colorMode.value}),bee.value=t.devtools,jc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(e){var n,r,o,i;(i=(o=(r=(n=jc.value)==null?void 0:n.host.nuxt.vueApp.config)==null?void 0:r.globalProperties)==null?void 0:o.$route.matched[0].components)!=null&&i.default.__file.includes(e)&&Ai()},refreshGlobalData(){J9.value=Date.now()}})});const xee={key:0,class:"opacity-70 text-sm"},kee={class:"w-[228px] h-[120px] relative mb-1"},jee={class:"flex justify-between items-center text-xs px-2"},_ee={class:"flex items-center"},See={class:"opacity-85"},$ee={class:"opacity-70"},Cee=ho({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var s;(s=jc.value)==null||s.devtools.rpc.openInEditor(e.component.path)}const r=gn(()=>e.src.includes(".html")),o=gn(()=>{var s;return(s=e.component.credits)==null?void 0:s.split("<")[0].trim()}),i=gn(()=>{var s;return(s=e.component.credits)==null?void 0:s.split("<")[1].trim().replace(">","")}),a=rn();return(s,c)=>{const l=W9,u=Rp,f=G9,d=Z9;return et(),zt("div",null,[s.component.credits?(et(),zt("div",xee,[i.value?(et(),yn(l,{key:0,href:i.value,external:"",class:"underline"},{default:Bt(()=>[xn(ao(o.value),1)]),_:1},8,["href"])):_r("",!0)])):_r("",!0),Ue("div",kee,[s.active?(et(),yn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):_r("",!0),r.value?(et(),yn(d,{key:2,src:s.src,"aspect-ratio":s.aspectRatio,onLoad:c[1]||(c[1]=h=>a.value=h)},null,8,["src","aspect-ratio"])):(et(),yn(f,{key:1,src:Ve(Dl)(s.src,{component:s.component.pascalName}),"aspect-ratio":s.aspectRatio,class:cr(["rounded overflow-hidden",s.active?["ring-2 ring-green-500"]:[]]),onLoad:c[0]||(c[0]=h=>a.value=h)},null,8,["src","aspect-ratio","class"]))]),Ue("div",jee,[Ue("div",_ee,[gt(l,{external:"",class:"underline opacity-85",onClick:XG(n,["stop"])},{default:Bt(()=>[xn(ao(s.component.pascalName)+".vue ",1)]),_:1},8,["onClick"])]),a.value?(et(),zt(Gr,{key:0},[Ue("div",See,ao(a.value.timeTaken)+"ms ",1),Ue("div",$ee,ao(a.value.sizeKb)+"kb ",1)],64)):_r("",!0)])])}}});function gL(...t){var h;const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);let[n,r,o={}]=t;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=Rr(),a=()=>null,s=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??s,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??xQ.deep;const c=()=>![null,void 0].includes(o.getCachedData(n));if(!i._asyncData[n]||!o.immediate){(h=i.payload._errors)[n]??(h[n]=null);const p=o.deep?rn:Zb;i._asyncData[n]={data:p(o.getCachedData(n)??o.default()),pending:rn(!c()),error:Gk(i.payload._errors,n),status:rn("idle")}}const l={...i._asyncData[n]};l.refresh=l.execute=(p={})=>{if(i._asyncDataPromises[n]){if(p.dedupe===!1)return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if((p._initial||i.isHydrating&&p._initial!==!1)&&c())return Promise.resolve(o.getCachedData(n));l.pending.value=!0,l.status.value="pending";const v=new Promise((m,g)=>{try{m(r(i))}catch(y){g(y)}}).then(m=>{if(v.cancelled)return i._asyncDataPromises[n];let g=m;o.transform&&(g=o.transform(m)),o.pick&&(g=Oee(g,o.pick)),i.payload.data[n]=g,l.data.value=g,l.error.value=null,l.status.value="success"}).catch(m=>{if(v.cancelled)return i._asyncDataPromises[n];l.error.value=m2(m),l.data.value=Ve(o.default()),l.status.value="error"}).finally(()=>{v.cancelled||(l.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=v,i._asyncDataPromises[n]};const u=()=>l.refresh({_initial:!0}),f=o.server!==!1&&i.payload.serverRendered;{const p=gu();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const m=p._nuxtOnBeforeMountCbs;p&&(gI(()=>{m.forEach(g=>{g()}),m.splice(0,m.length)}),Pf(()=>m.splice(0,m.length)))}f&&i.isHydrating&&(l.error.value||c())?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):p&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?p._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&Jr(o.watch,()=>l.refresh());const v=i.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await l.refresh()});p&&Pf(v)}const d=Promise.resolve(i._asyncDataPromises[n]).then(()=>l);return Object.assign(d,l),d}function Oee(t,e){const n={};for(const r of e)n[r]=t[r];return n}function f$(){return gL(()=>$fetch(tc("/__og-image__/image",dh.value,"og.json"),{baseURL:S2.value,query:pi.value}),{watch:[dh,Y0]},"$XVR8o8RMBy")}function Aee(){return gL(()=>$fetch("/__og-image__/debug.json",{baseURL:S2.value}),{watch:[J9]},"$cHgKigQ0kS")}var yL=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},bL={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(yL,()=>{return n={770:function(o,i,a){var s=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(i,"__esModule",{value:!0}),i.setDefaultDebugCall=i.createOnigScanner=i.createOnigString=i.loadWASM=i.OnigScanner=i.OnigString=void 0;const c=s(a(418));let l=null,u=!1;class f{static _utf8ByteLength(g){let y=0;for(let w=0,x=g.length;w<x;w++){const k=g.charCodeAt(w);let b=k,j=!1;if(k>=55296&&k<=56319&&w+1<x){const $=g.charCodeAt(w+1);$>=56320&&$<=57343&&(b=65536+(k-55296<<10)|$-56320,j=!0)}y+=b<=127?1:b<=2047?2:b<=65535?3:4,j&&w++}return y}constructor(g){const y=g.length,w=f._utf8ByteLength(g),x=w!==y,k=x?new Uint32Array(y+1):null;x&&(k[y]=w);const b=x?new Uint32Array(w+1):null;x&&(b[w]=y);const j=new Uint8Array(w);let $=0;for(let S=0;S<y;S++){const _=g.charCodeAt(S);let C=_,O=!1;if(_>=55296&&_<=56319&&S+1<y){const L=g.charCodeAt(S+1);L>=56320&&L<=57343&&(C=65536+(_-55296<<10)|L-56320,O=!0)}x&&(k[S]=$,O&&(k[S+1]=$),C<=127?b[$+0]=S:C<=2047?(b[$+0]=S,b[$+1]=S):C<=65535?(b[$+0]=S,b[$+1]=S,b[$+2]=S):(b[$+0]=S,b[$+1]=S,b[$+2]=S,b[$+3]=S)),C<=127?j[$++]=C:C<=2047?(j[$++]=192|(1984&C)>>>6,j[$++]=128|(63&C)>>>0):C<=65535?(j[$++]=224|(61440&C)>>>12,j[$++]=128|(4032&C)>>>6,j[$++]=128|(63&C)>>>0):(j[$++]=240|(1835008&C)>>>18,j[$++]=128|(258048&C)>>>12,j[$++]=128|(4032&C)>>>6,j[$++]=128|(63&C)>>>0),O&&S++}this.utf16Length=y,this.utf8Length=w,this.utf16Value=g,this.utf8Value=j,this.utf16OffsetToUtf8=k,this.utf8OffsetToUtf16=b}createString(g){const y=g._omalloc(this.utf8Length);return g.HEAPU8.set(this.utf8Value,y),y}}class d{constructor(g){if(this.id=++d.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=g;const y=new f(g);this.utf16Length=y.utf16Length,this.utf8Length=y.utf8Length,this.utf16OffsetToUtf8=y.utf16OffsetToUtf8,this.utf8OffsetToUtf16=y.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=l._omalloc(1e4)),d._sharedPtrInUse=!0,l.HEAPU8.set(y.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=y.createString(l)}convertUtf8OffsetToUtf16(g){return this.utf8OffsetToUtf16?g<0?0:g>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[g]:g}convertUtf16OffsetToUtf8(g){return this.utf16OffsetToUtf8?g<0?0:g>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[g]:g}dispose(){this.ptr===d._sharedPtr?d._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}i.OnigString=d,d.LAST_ID=0,d._sharedPtr=0,d._sharedPtrInUse=!1;class h{constructor(g){if(!l)throw new Error("Must invoke loadWASM first.");const y=[],w=[];for(let j=0,$=g.length;j<$;j++){const S=new f(g[j]);y[j]=S.createString(l),w[j]=S.utf8Length}const x=l._omalloc(4*g.length);l.HEAPU32.set(y,x/4);const k=l._omalloc(4*g.length);l.HEAPU32.set(w,k/4);const b=l._createOnigScanner(x,k,g.length);for(let j=0,$=g.length;j<$;j++)l._ofree(y[j]);l._ofree(k),l._ofree(x),b===0&&function(j){throw new Error(j.UTF8ToString(j._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=b}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(g,y,w){let x=u,k=0;if(typeof w=="number"?(8&w&&(x=!0),k=w):typeof w=="boolean"&&(x=w),typeof g=="string"){g=new d(g);const b=this._findNextMatchSync(g,y,x,k);return g.dispose(),b}return this._findNextMatchSync(g,y,x,k)}_findNextMatchSync(g,y,w,x){const k=this._onigBinding;let b;if(b=w?k._findNextOnigScannerMatchDbg(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(y),x):k._findNextOnigScannerMatch(this._ptr,g.id,g.ptr,g.utf8Length,g.convertUtf16OffsetToUtf8(y),x),b===0)return null;const j=k.HEAPU32;let $=b/4;const S=j[$++],_=j[$++];let C=[];for(let O=0;O<_;O++){const L=g.convertUtf8OffsetToUtf16(j[$++]),E=g.convertUtf8OffsetToUtf16(j[$++]);C[O]={start:L,end:E,length:E-L}}return{index:S,captureIndices:C}}}i.OnigScanner=h;let p=!1,v=null;i.loadWASM=function(m){if(p)return v;let g,y,w,x;if(p=!0,function(k){return typeof k.instantiator=="function"}(m))g=m.instantiator,y=m.print;else{let k;(function(b){return b.data!==void 0})(m)?(k=m.data,y=m.print):k=m,g=function(b){return typeof Response<"u"&&b instanceof Response}(k)?typeof WebAssembly.instantiateStreaming=="function"?function(b){return j=>WebAssembly.instantiateStreaming(b,j)}(k):function(b){return async j=>{const $=await b.arrayBuffer();return WebAssembly.instantiate($,j)}}(k):function(b){return j=>WebAssembly.instantiate(b,j)}(k)}return v=new Promise((k,b)=>{w=k,x=b}),function(k,b,j,$){(0,c.default)({print:b,instantiateWasm:(S,_)=>{if(typeof performance>"u"){const C=()=>Date.now();S.env.emscripten_get_now=C,S.wasi_snapshot_preview1.emscripten_get_now=C}return k(S).then(C=>_(C.instance),$),{}}}).then(S=>{l=S,j()})}(g,y,w,x),v},i.createOnigString=function(m){return new d(m)},i.createOnigScanner=function(m){return new h(m)},i.setDefaultDebugCall=function(m){u=m}},418:o=>{var i=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(a){var s,c,l=(a=a||{})!==void 0?a:{};l.ready=new Promise(function(me,xe){s=me,c=xe});var u,f=Object.assign({},l),d=!1,h="";function p(me){return l.locateFile?l.locateFile(me,h):h+me}u=function(me){let xe;return typeof readbuffer=="function"?new Uint8Array(readbuffer(me)):(xe=read(me,"binary"),x(typeof xe=="object"),xe)},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 v,m,g=l.print||console.log.bind(console),y=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&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&F("no native wasm support detected");var w=!1;function x(me,xe){me||F(xe)}var k,b,j,$=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function S(me,xe,Fe){for(var Ye=xe+Fe,De=xe;me[De]&&!(De>=Ye);)++De;if(De-xe>16&&me.buffer&&$)return $.decode(me.subarray(xe,De));for(var Qe="";xe<De;){var mt=me[xe++];if(128&mt){var Pt=63&me[xe++];if((224&mt)!=192){var ht=63&me[xe++];if((mt=(240&mt)==224?(15&mt)<<12|Pt<<6|ht:(7&mt)<<18|Pt<<12|ht<<6|63&me[xe++])<65536)Qe+=String.fromCharCode(mt);else{var Ln=mt-65536;Qe+=String.fromCharCode(55296|Ln>>10,56320|1023&Ln)}}else Qe+=String.fromCharCode((31&mt)<<6|Pt)}else Qe+=String.fromCharCode(mt)}return Qe}function _(me,xe){return me?S(b,me,xe):""}function C(me){k=me,l.HEAP8=new Int8Array(me),l.HEAP16=new Int16Array(me),l.HEAP32=new Int32Array(me),l.HEAPU8=b=new Uint8Array(me),l.HEAPU16=new Uint16Array(me),l.HEAPU32=j=new Uint32Array(me),l.HEAPF32=new Float32Array(me),l.HEAPF64=new Float64Array(me)}l.INITIAL_MEMORY;var O=[],L=[],E=[];function D(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)P(l.preRun.shift());Q(O)}function B(){Q(L)}function T(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)R(l.postRun.shift());Q(E)}function P(me){O.unshift(me)}function A(me){L.unshift(me)}function R(me){E.unshift(me)}var N=0,z=null;function I(me){N++,l.monitorRunDependencies&&l.monitorRunDependencies(N)}function W(me){if(N--,l.monitorRunDependencies&&l.monitorRunDependencies(N),N==0&&z){var xe=z;z=null,xe()}}function F(me){l.onAbort&&l.onAbort(me),y(me="Aborted("+me+")"),w=!0,me+=". Build with -sASSERTIONS for more info.";var xe=new WebAssembly.RuntimeError(me);throw c(xe),xe}var le,U,ae="data:application/octet-stream;base64,";function be(me){return me.startsWith(ae)}function Oe(me){try{if(me==le&&v)return new Uint8Array(v);if(u)return u(me);throw"both async and sync fetching of the wasm failed"}catch(xe){F(xe)}}function we(){return v||!d||typeof fetch!="function"?Promise.resolve().then(function(){return Oe(le)}):fetch(le,{credentials:"same-origin"}).then(function(me){if(!me.ok)throw"failed to load wasm binary file at '"+le+"'";return me.arrayBuffer()}).catch(function(){return Oe(le)})}function ee(){var me={env:pe,wasi_snapshot_preview1:pe};function xe(De,Qe){var mt=De.exports;l.asm=mt,C((m=l.asm.memory).buffer),l.asm.__indirect_function_table,A(l.asm.__wasm_call_ctors),W()}function Fe(De){xe(De.instance)}function Ye(De){return we().then(function(Qe){return WebAssembly.instantiate(Qe,me)}).then(function(Qe){return Qe}).then(De,function(Qe){y("failed to asynchronously prepare wasm: "+Qe),F(Qe)})}if(I(),l.instantiateWasm)try{return l.instantiateWasm(me,xe)}catch(De){y("Module.instantiateWasm callback failed with error: "+De),c(De)}return(v||typeof WebAssembly.instantiateStreaming!="function"||be(le)||typeof fetch!="function"?Ye(Fe):fetch(le,{credentials:"same-origin"}).then(function(De){return WebAssembly.instantiateStreaming(De,me).then(Fe,function(Qe){return y("wasm streaming compile failed: "+Qe),y("falling back to ArrayBuffer instantiation"),Ye(Fe)})})).catch(c),{}}function Q(me){for(;me.length>0;)me.shift()(l)}function ue(me,xe,Fe){b.copyWithin(me,xe,xe+Fe)}function X(me){try{return m.grow(me-k.byteLength+65535>>>16),C(m.buffer),1}catch{}}function Se(me){var xe,Fe=b.length,Ye=2147483648;if((me>>>=0)>Ye)return!1;for(var De=1;De<=4;De*=2){var Qe=Fe*(1+.2/De);if(Qe=Math.min(Qe,me+100663296),X(Math.min(Ye,(xe=Math.max(me,Qe))+(65536-xe%65536)%65536)))return!0}return!1}be(le="onig.wasm")||(le=p(le)),U=typeof dateNow<"u"?dateNow:()=>performance.now();var V=[null,[],[]];function q(me,xe){var Fe=V[me];xe===0||xe===10?((me===1?g:y)(S(Fe,0)),Fe.length=0):Fe.push(xe)}function Z(me,xe,Fe,Ye){for(var De=0,Qe=0;Qe<Fe;Qe++){var mt=j[xe>>2],Pt=j[xe+4>>2];xe+=8;for(var ht=0;ht<Pt;ht++)q(me,b[mt+ht]);De+=Pt}return j[Ye>>2]=De,0}var ge,pe={emscripten_get_now:U,emscripten_memcpy_big:ue,emscripten_resize_heap:Se,fd_write:Z};function Pe(me){function xe(){ge||(ge=!0,l.calledRun=!0,w||(B(),s(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),T()))}N>0||(D(),N>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),xe()},1)):xe()))}if(ee(),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=_,z=function me(){ge||Pe(),ge||(z=me)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return Pe(),a.ready});o.exports=i}},r={},function o(i){var a=r[i];if(a!==void 0)return a.exports;var s=r[i]={exports:{}};return n[i].call(s.exports,s,s.exports,o),s.exports}(770);var n,r})})(bL);var yy=bL.exports,wL={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(yL,function(){return(()=>{var n={350:(o,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.UseOnigurumaFindOptions=i.DebugFlags=void 0,i.DebugFlags={InDebugMode:typeof process<"u"&&!1},i.UseOnigurumaFindOptions=!1},36:(o,i)=>{var a;Object.defineProperty(i,"__esModule",{value:!0}),i.toOptionalTokenType=i.EncodedTokenAttributes=void 0,(a=i.EncodedTokenAttributes||(i.EncodedTokenAttributes={})).toBinaryStr=function(s){let c=s.toString(2);for(;c.length<32;)c="0"+c;return c},a.print=function(s){const c=a.getLanguageId(s),l=a.getTokenType(s),u=a.getFontStyle(s),f=a.getForeground(s),d=a.getBackground(s);console.log({languageId:c,tokenType:l,fontStyle:u,foreground:f,background:d})},a.getLanguageId=function(s){return(255&s)>>>0},a.getTokenType=function(s){return(768&s)>>>8},a.containsBalancedBrackets=function(s){return(1024&s)!=0},a.getFontStyle=function(s){return(30720&s)>>>11},a.getForeground=function(s){return(16744448&s)>>>15},a.getBackground=function(s){return(4278190080&s)>>>24},a.set=function(s,c,l,u,f,d,h){let p=a.getLanguageId(s),v=a.getTokenType(s),m=a.containsBalancedBrackets(s)?1:0,g=a.getFontStyle(s),y=a.getForeground(s),w=a.getBackground(s);return c!==0&&(p=c),l!==8&&(v=l),u!==null&&(m=u?1:0),f!==-1&&(g=f),d!==0&&(y=d),h!==0&&(w=h),(p<<0|v<<8|m<<10|g<<11|y<<15|w<<24)>>>0},i.toOptionalTokenType=function(s){return s}},996:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.BasicScopeAttributesProvider=i.BasicScopeAttributes=void 0;const s=a(878);class c{constructor(d,h){this.languageId=d,this.tokenType=h}}i.BasicScopeAttributes=c;class l{constructor(d,h){this._getBasicScopeAttributes=new s.CachedFn(p=>{const v=this._scopeToLanguage(p),m=this._toStandardTokenType(p);return new c(v,m)}),this._defaultAttributes=new c(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const h=d.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[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!")}}i.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class u{constructor(d){if(d.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(d);const h=d.map(([p,v])=>s.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(d){if(!this.scopesRegExp)return;const h=d.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LineTokens=i.BalancedBracketSelectors=i.StateStack=i.AttributedScopeStack=i.Grammar=i.createGrammar=void 0;const s=a(350),c=a(36),l=a(736),u=a(44),f=a(792),d=a(583),h=a(878),p=a(996),v=a(47);function m($,S,_,C,O){const L=l.createMatchers(S,g),E=f.RuleFactory.getCompiledRuleId(_,C,O.repository);for(const D of L)$.push({debugSelector:S,matcher:D.matcher,ruleId:E,grammar:O,priority:D.priority})}function g($,S){if(S.length<$.length)return!1;let _=0;return $.every(C=>{for(let O=_;O<S.length;O++)if(y(S[O],C))return _=O+1,!0;return!1})}function y($,S){if(!$)return!1;if($===S)return!0;const _=S.length;return $.length>_&&$.substr(0,_)===S&&$[_]==="."}i.createGrammar=function($,S,_,C,O,L,E,D){return new w($,S,_,C,O,L,E,D)};class w{constructor(S,_,C,O,L,E,D,B){if(this._rootScopeName=S,this.balancedBracketSelectors=E,this._onigLib=B,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(C,O),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=D,this._grammar=x(_,null),this._injections=null,this._tokenTypeMatchers=[],L)for(const T of Object.keys(L)){const P=l.createMatchers(T,g);for(const A of P)this._tokenTypeMatchers.push({matcher:A.matcher,type:L[T]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const S of this._ruleId2desc)S&&S.dispose()}createOnigScanner(S){return this._onigLib.createOnigScanner(S)}createOnigString(S){return this._onigLib.createOnigString(S)}getMetadataForScope(S){return this._basicScopeAttributesProvider.getBasicScopeAttributes(S)}_collectInjections(){const S=[],_=this._rootScopeName,C=(O=>O===this._rootScopeName?this._grammar:this.getExternalGrammar(O))(_);if(C){const O=C.injections;if(O)for(let E in O)m(S,E,O[E],this,C);const L=this._grammarRepository.injections(_);L&&L.forEach(E=>{const D=this.getExternalGrammar(E);if(D){const B=D.injectionSelector;B&&m(S,B,D,this,D)}})}return S.sort((O,L)=>O.priority-L.priority),S}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),s.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const S of this._injections)console.log(` - ${S.debugSelector}`)}return this._injections}registerRule(S){const _=++this._lastRuleId,C=S(f.ruleIdFromNumber(_));return this._ruleId2desc[_]=C,C}getRule(S){return this._ruleId2desc[f.ruleIdToNumber(S)]}getExternalGrammar(S,_){if(this._includedGrammars[S])return this._includedGrammars[S];if(this._grammarRepository){const C=this._grammarRepository.lookup(S);if(C)return this._includedGrammars[S]=x(C,_&&_.$base),this._includedGrammars[S]}}tokenizeLine(S,_,C=0){const O=this._tokenize(S,_,!1,C);return{tokens:O.lineTokens.getResult(O.ruleStack,O.lineLength),ruleStack:O.ruleStack,stoppedEarly:O.stoppedEarly}}tokenizeLine2(S,_,C=0){const O=this._tokenize(S,_,!0,C);return{tokens:O.lineTokens.getBinaryResult(O.ruleStack,O.lineLength),ruleStack:O.ruleStack,stoppedEarly:O.stoppedEarly}}_tokenize(S,_,C,O){let L;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),_&&_!==b.NULL)L=!1,_.reset();else{L=!0;const P=this._basicScopeAttributesProvider.getDefaultAttributes(),A=this.themeProvider.getDefaults(),R=c.EncodedTokenAttributes.set(0,P.languageId,P.tokenType,null,A.fontStyle,A.foregroundId,A.backgroundId),N=this.getRule(this._rootId).getName(null,null);let z;z=N?k.createRootAndLookUpScopeName(N,R,this):k.createRoot("unknown",R),_=new b(null,this._rootId,-1,-1,!1,null,z,z)}S+=`
|
|
2
2
|
`;const E=this.createOnigString(S),D=E.content.length,B=new j(C,S,this._tokenTypeMatchers,this.balancedBracketSelectors),T=v._tokenizeString(this,E,L,0,_,B,!0,O);return u.disposeOnigString(E),{lineLength:D,lineTokens:B,ruleStack:T.stack,stoppedEarly:T.stoppedEarly}}}function x($,S){return($=h.clone($)).repository=$.repository||{},$.repository.$self={$vscodeTextmateLocation:$.$vscodeTextmateLocation,patterns:$.patterns,name:$.scopeName},$.repository.$base=S||$.repository.$self,$}i.Grammar=w;class k{constructor(S,_,C){this.parent=S,this.scopePath=_,this.tokenAttributes=C}static createRoot(S,_){return new k(null,new d.ScopeStack(null,S),_)}static createRootAndLookUpScopeName(S,_,C){const O=C.getMetadataForScope(S),L=new d.ScopeStack(null,S),E=C.themeProvider.themeMatch(L),D=k.mergeAttributes(_,O,E);return new k(null,L,D)}get scopeName(){return this.scopePath.scopeName}equals(S){return k._equals(this,S)}static _equals(S,_){for(;;){if(S===_||!S&&!_)return!0;if(!S||!_||S.scopeName!==_.scopeName||S.tokenAttributes!==_.tokenAttributes)return!1;S=S.parent,_=_.parent}}static mergeAttributes(S,_,C){let O=-1,L=0,E=0;return C!==null&&(O=C.fontStyle,L=C.foregroundId,E=C.backgroundId),c.EncodedTokenAttributes.set(S,_.languageId,_.tokenType,null,O,L,E)}pushAttributed(S,_){if(S===null)return this;if(S.indexOf(" ")===-1)return k._pushAttributed(this,S,_);const C=S.split(/ /g);let O=this;for(const L of C)O=k._pushAttributed(O,L,_);return O}static _pushAttributed(S,_,C){const O=C.getMetadataForScope(_),L=S.scopePath.push(_),E=C.themeProvider.themeMatch(L),D=k.mergeAttributes(S.tokenAttributes,O,E);return new k(S,L,D)}getScopeNames(){return this.scopePath.getSegments()}}i.AttributedScopeStack=k;class b{constructor(S,_,C,O,L,E,D,B){this.parent=S,this.ruleId=_,this.beginRuleCapturedEOL=L,this.endRule=E,this.nameScopesList=D,this.contentNameScopesList=B,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=C,this._anchorPos=O}equals(S){return S!==null&&b._equals(this,S)}static _equals(S,_){return S===_||!!this._structuralEquals(S,_)&&S.contentNameScopesList.equals(_.contentNameScopesList)}static _structuralEquals(S,_){for(;;){if(S===_||!S&&!_)return!0;if(!S||!_||S.depth!==_.depth||S.ruleId!==_.ruleId||S.endRule!==_.endRule)return!1;S=S.parent,_=_.parent}}clone(){return this}static _reset(S){for(;S;)S._enterPos=-1,S._anchorPos=-1,S=S.parent}reset(){b._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(S,_,C,O,L,E,D){return new b(this,S,_,C,O,L,E,D)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(S){return S.getRule(this.ruleId)}toString(){const S=[];return this._writeString(S,0),"["+S.join(",")+"]"}_writeString(S,_){return this.parent&&(_=this.parent._writeString(S,_)),S[_++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,_}withContentNameScopesList(S){return this.contentNameScopesList===S?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,S)}withEndRule(S){return this.endRule===S?this:new b(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,S,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(S){let _=this;for(;_&&_._enterPos===S._enterPos;){if(_.ruleId===S.ruleId)return!0;_=_.parent}return!1}}i.StateStack=b,b.NULL=new b(null,0,0,0,!1,null,null,null),i.BalancedBracketSelectors=class{constructor($,S){this.allowAny=!1,this.balancedBracketScopes=$.flatMap(_=>_==="*"?(this.allowAny=!0,[]):l.createMatchers(_,g).map(C=>C.matcher)),this.unbalancedBracketScopes=S.flatMap(_=>l.createMatchers(_,g).map(C=>C.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match($){for(const S of this.unbalancedBracketScopes)if(S($))return!1;for(const S of this.balancedBracketScopes)if(S($))return!0;return this.allowAny}};class j{constructor(S,_,C,O){this.balancedBracketSelectors=O,this._emitBinaryTokens=S,this._tokenTypeOverrides=C,s.DebugFlags.InDebugMode?this._lineText=_:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(S,_){this.produceFromScopes(S.contentNameScopesList,_)}produceFromScopes(S,_){var O;if(this._lastTokenEndIndex>=_)return;if(this._emitBinaryTokens){let L=S.tokenAttributes,E=!1;if((O=this.balancedBracketSelectors)!=null&&O.matchesAlways&&(E=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const D=S.getScopeNames();for(const B of this._tokenTypeOverrides)B.matcher(D)&&(L=c.EncodedTokenAttributes.set(L,0,c.toOptionalTokenType(B.type),null,-1,0,0));this.balancedBracketSelectors&&(E=this.balancedBracketSelectors.match(D))}if(E&&(L=c.EncodedTokenAttributes.set(L,0,8,E,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===L)return void(this._lastTokenEndIndex=_);if(s.DebugFlags.InDebugMode){const D=S.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,_).replace(/\n$/,"\\n")+"|");for(let B=0;B<D.length;B++)console.log(" * "+D[B])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(L),void(this._lastTokenEndIndex=_)}const C=S.getScopeNames();if(s.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,_).replace(/\n$/,"\\n")+"|");for(let L=0;L<C.length;L++)console.log(" * "+C[L])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:_,scopes:C}),this._lastTokenEndIndex=_}getResult(S,_){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===_-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(S,_),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(S,_){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===_-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(S,_),this._binaryTokens[this._binaryTokens.length-2]=0);const C=new Uint32Array(this._binaryTokens.length);for(let O=0,L=this._binaryTokens.length;O<L;O++)C[O]=this._binaryTokens[O];return C}}i.LineTokens=j},965:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.parseInclude=i.TopLevelRepositoryReference=i.TopLevelReference=i.RelativeReference=i.SelfReference=i.BaseReference=i.ScopeDependencyProcessor=i.ExternalReferenceCollector=i.TopLevelRepositoryRuleReference=i.TopLevelRuleReference=void 0;const s=a(878);class c{constructor(b){this.scopeName=b}toKey(){return this.scopeName}}i.TopLevelRuleReference=c;class l{constructor(b,j){this.scopeName=b,this.ruleName=j}toKey(){return`${this.scopeName}#${this.ruleName}`}}i.TopLevelRepositoryRuleReference=l;class u{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(b){const j=b.toKey();this._seenReferenceKeys.has(j)||(this._seenReferenceKeys.add(j),this._references.push(b))}}function f(k,b,j,$){const S=j.lookup(k.scopeName);if(!S){if(k.scopeName===b)throw new Error(`No grammar provided for <${b}>`);return}const _=j.lookup(b);k instanceof c?h({baseGrammar:_,selfGrammar:S},$):d(k.ruleName,{baseGrammar:_,selfGrammar:S,repository:S.repository},$);const C=j.injections(k.scopeName);if(C)for(const O of C)$.add(new c(O))}function d(k,b,j){b.repository&&b.repository[k]&&p([b.repository[k]],b,j)}function h(k,b){k.selfGrammar.patterns&&Array.isArray(k.selfGrammar.patterns)&&p(k.selfGrammar.patterns,{...k,repository:k.selfGrammar.repository},b),k.selfGrammar.injections&&p(Object.values(k.selfGrammar.injections),{...k,repository:k.selfGrammar.repository},b)}function p(k,b,j){for(const $ of k){if(j.visitedRule.has($))continue;j.visitedRule.add($);const S=$.repository?s.mergeObjects({},b.repository,$.repository):b.repository;Array.isArray($.patterns)&&p($.patterns,{...b,repository:S},j);const _=$.include;if(!_)continue;const C=x(_);switch(C.kind){case 0:h({...b,selfGrammar:b.baseGrammar},j);break;case 1:h(b,j);break;case 2:d(C.ruleName,{...b,repository:S},j);break;case 3:case 4:const O=C.scopeName===b.selfGrammar.scopeName?b.selfGrammar:C.scopeName===b.baseGrammar.scopeName?b.baseGrammar:void 0;if(O){const L={baseGrammar:b.baseGrammar,selfGrammar:O,repository:S};C.kind===4?d(C.ruleName,L,j):h(L,j)}else C.kind===4?j.add(new l(C.scopeName,C.ruleName)):j.add(new c(C.scopeName))}}}i.ExternalReferenceCollector=u,i.ScopeDependencyProcessor=class{constructor(k,b){this.repo=k,this.initialScopeName=b,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const k=this.Q;this.Q=[];const b=new u;for(const j of k)f(j,this.initialScopeName,this.repo,b);for(const j of b.references)if(j instanceof c){if(this.seenFullScopeRequests.has(j.scopeName))continue;this.seenFullScopeRequests.add(j.scopeName),this.Q.push(j)}else{if(this.seenFullScopeRequests.has(j.scopeName)||this.seenPartialScopeRequests.has(j.toKey()))continue;this.seenPartialScopeRequests.add(j.toKey()),this.Q.push(j)}}};class v{constructor(){this.kind=0}}i.BaseReference=v;class m{constructor(){this.kind=1}}i.SelfReference=m;class g{constructor(b){this.ruleName=b,this.kind=2}}i.RelativeReference=g;class y{constructor(b){this.scopeName=b,this.kind=3}}i.TopLevelReference=y;class w{constructor(b,j){this.scopeName=b,this.ruleName=j,this.kind=4}}function x(k){if(k==="$base")return new v;if(k==="$self")return new m;const b=k.indexOf("#");if(b===-1)return new y(k);if(b===0)return new g(k.substring(1));{const j=k.substring(0,b),$=k.substring(b+1);return new w(j,$)}}i.TopLevelRepositoryReference=w,i.parseInclude=x},391:function(o,i,a){var s=this&&this.__createBinding||(Object.create?function(l,u,f,d){d===void 0&&(d=f),Object.defineProperty(l,d,{enumerable:!0,get:function(){return u[f]}})}:function(l,u,f,d){d===void 0&&(d=f),l[d]=u[f]}),c=this&&this.__exportStar||function(l,u){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(u,f)||s(u,l,f)};Object.defineProperty(i,"__esModule",{value:!0}),c(a(947),i)},47:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LocalStackElement=i._tokenizeString=void 0;const s=a(350),c=a(44),l=a(792),u=a(878);class f{constructor(w,x){this.stack=w,this.stoppedEarly=x}}function d(y,w,x,k,b,j,$,S){const _=w.content.length;let C=!1,O=-1;if($){const D=function(B,T,P,A,R,N){let z=R.beginRuleCapturedEOL?0:-1;const I=[];for(let W=R;W;W=W.pop()){const F=W.getRule(B);F instanceof l.BeginWhileRule&&I.push({rule:F,stack:W})}for(let W=I.pop();W;W=I.pop()){const{ruleScanner:F,findOptions:le}=p(W.rule,B,W.stack.endRule,P,A===z),U=F.findNextMatchSync(T,A,le);if(s.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(F.toString())),!U){s.DebugFlags.InDebugMode&&console.log(" popping "+W.rule.debugName+" - "+W.rule.debugWhileRegExp),R=W.stack.pop();break}if(U.ruleId!==l.whileRuleId){R=W.stack.pop();break}U.captureIndices&&U.captureIndices.length&&(N.produce(W.stack,U.captureIndices[0].start),m(B,T,P,W.stack,N,W.rule.whileCaptures,U.captureIndices),N.produce(W.stack,U.captureIndices[0].end),z=U.captureIndices[0].end,U.captureIndices[0].end>A&&(A=U.captureIndices[0].end,P=!1))}return{stack:R,linePos:A,anchorPosition:z,isFirstLine:P}}(y,w,x,k,b,j);b=D.stack,k=D.linePos,x=D.isFirstLine,O=D.anchorPosition}const L=Date.now();for(;!C;){if(S!==0&&Date.now()-L>S)return new f(b,!0);E()}return new f(b,!1);function E(){s.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${k}: |${w.content.substr(k).replace(/\n$/,"\\n")}|`));const D=function(A,R,N,z,I,W){const F=function(Oe,we,ee,Q,ue,X){const Se=ue.getRule(Oe),{ruleScanner:V,findOptions:q}=h(Se,Oe,ue.endRule,ee,Q===X);let Z=0;s.DebugFlags.InDebugMode&&(Z=u.performanceNow());const ge=V.findNextMatchSync(we,Q,q);if(s.DebugFlags.InDebugMode){const pe=u.performanceNow()-Z;pe>5&&console.warn(`Rule ${Se.debugName} (${Se.id}) matching took ${pe} against '${we}'`),console.log(` scanning for (linePos: ${Q}, anchorPosition: ${X})`),console.log(V.toString()),ge&&console.log(`matched rule id: ${ge.ruleId} from ${ge.captureIndices[0].start} to ${ge.captureIndices[0].end}`)}return ge?{captureIndices:ge.captureIndices,matchedRuleId:ge.ruleId}:null}(A,R,N,z,I,W),le=A.getInjections();if(le.length===0)return F;const U=function(Oe,we,ee,Q,ue,X,Se){let V,q=Number.MAX_VALUE,Z=null,ge=0;const pe=X.contentNameScopesList.getScopeNames();for(let Pe=0,me=Oe.length;Pe<me;Pe++){const xe=Oe[Pe];if(!xe.matcher(pe))continue;const Fe=we.getRule(xe.ruleId),{ruleScanner:Ye,findOptions:De}=h(Fe,we,null,Q,ue===Se),Qe=Ye.findNextMatchSync(ee,ue,De);if(!Qe)continue;s.DebugFlags.InDebugMode&&(console.log(` matched injection: ${xe.debugSelector}`),console.log(Ye.toString()));const mt=Qe.captureIndices[0].start;if(!(mt>=q)&&(q=mt,Z=Qe.captureIndices,V=Qe.ruleId,ge=xe.priority,q===ue))break}return Z?{priorityMatch:ge===-1,captureIndices:Z,matchedRuleId:V}:null}(le,A,R,N,z,I,W);if(!U)return F;if(!F)return U;const ae=F.captureIndices[0].start,be=U.captureIndices[0].start;return be<ae||U.priorityMatch&&be===ae?U:F}(y,w,x,k,b,O);if(!D)return s.DebugFlags.InDebugMode&&console.log(" no more matches."),j.produce(b,_),void(C=!0);const B=D.captureIndices,T=D.matchedRuleId,P=!!(B&&B.length>0)&&B[0].end>k;if(T===l.endRuleId){const A=b.getRule(y);s.DebugFlags.InDebugMode&&console.log(" popping "+A.debugName+" - "+A.debugEndRegExp),j.produce(b,B[0].start),b=b.withContentNameScopesList(b.nameScopesList),m(y,w,x,b,j,A.endCaptures,B),j.produce(b,B[0].end);const R=b;if(b=b.parent,O=R.getAnchorPos(),!P&&R.getEnterPos()===k)return s.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),b=R,j.produce(b,_),void(C=!0)}else{const A=y.getRule(T);j.produce(b,B[0].start);const R=b,N=A.getName(w.content,B),z=b.contentNameScopesList.pushAttributed(N,y);if(b=b.push(T,k,O,B[0].end===_,null,z,z),A instanceof l.BeginEndRule){const I=A;s.DebugFlags.InDebugMode&&console.log(" pushing "+I.debugName+" - "+I.debugBeginRegExp),m(y,w,x,b,j,I.beginCaptures,B),j.produce(b,B[0].end),O=B[0].end;const W=I.getContentName(w.content,B),F=z.pushAttributed(W,y);if(b=b.withContentNameScopesList(F),I.endHasBackReferences&&(b=b.withEndRule(I.getEndWithResolvedBackReferences(w.content,B))),!P&&R.hasSameRuleAs(b))return s.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),b=b.pop(),j.produce(b,_),void(C=!0)}else if(A instanceof l.BeginWhileRule){const I=A;s.DebugFlags.InDebugMode&&console.log(" pushing "+I.debugName),m(y,w,x,b,j,I.beginCaptures,B),j.produce(b,B[0].end),O=B[0].end;const W=I.getContentName(w.content,B),F=z.pushAttributed(W,y);if(b=b.withContentNameScopesList(F),I.whileHasBackReferences&&(b=b.withEndRule(I.getWhileWithResolvedBackReferences(w.content,B))),!P&&R.hasSameRuleAs(b))return s.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),b=b.pop(),j.produce(b,_),void(C=!0)}else{const I=A;if(s.DebugFlags.InDebugMode&&console.log(" matched "+I.debugName+" - "+I.debugMatchRegExp),m(y,w,x,b,j,I.captures,B),j.produce(b,B[0].end),b=b.pop(),!P)return s.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),b=b.safePop(),j.produce(b,_),void(C=!0)}}B[0].end>k&&(k=B[0].end,x=!1)}}function h(y,w,x,k,b){return s.UseOnigurumaFindOptions?{ruleScanner:y.compile(w,x),findOptions:v(k,b)}:{ruleScanner:y.compileAG(w,x,k,b),findOptions:0}}function p(y,w,x,k,b){return s.UseOnigurumaFindOptions?{ruleScanner:y.compileWhile(w,x),findOptions:v(k,b)}:{ruleScanner:y.compileWhileAG(w,x,k,b),findOptions:0}}function v(y,w){let x=0;return y||(x|=1),w||(x|=4),x}function m(y,w,x,k,b,j,$){if(j.length===0)return;const S=w.content,_=Math.min(j.length,$.length),C=[],O=$[0].end;for(let L=0;L<_;L++){const E=j[L];if(E===null)continue;const D=$[L];if(D.length===0)continue;if(D.start>O)break;for(;C.length>0&&C[C.length-1].endPos<=D.start;)b.produceFromScopes(C[C.length-1].scopes,C[C.length-1].endPos),C.pop();if(C.length>0?b.produceFromScopes(C[C.length-1].scopes,D.start):b.produce(k,D.start),E.retokenizeCapturedWithRuleId){const T=E.getName(S,$),P=k.contentNameScopesList.pushAttributed(T,y),A=E.getContentName(S,$),R=P.pushAttributed(A,y),N=k.push(E.retokenizeCapturedWithRuleId,D.start,-1,!1,null,P,R),z=y.createOnigString(S.substring(0,D.end));d(y,z,x&&D.start===0,D.start,N,b,!1,0),c.disposeOnigString(z);continue}const B=E.getName(S,$);if(B!==null){const T=(C.length>0?C[C.length-1].scopes:k.contentNameScopesList).pushAttributed(B,y);C.push(new g(T,D.end))}}for(;C.length>0;)b.produceFromScopes(C[C.length-1].scopes,C[C.length-1].endPos),C.pop()}i._tokenizeString=d;class g{constructor(w,x){this.scopes=w,this.endPos=x}}i.LocalStackElement=g},974:(o,i)=>{function a(u,f){throw new Error("Near offset "+u.pos+": "+f+" ~~~"+u.source.substr(u.pos,50)+"~~~")}Object.defineProperty(i,"__esModule",{value:!0}),i.parseJSON=void 0,i.parseJSON=function(u,f,d){let h=new s(u),p=new c,v=0,m=null,g=[],y=[];function w(){g.push(v),y.push(m)}function x(){v=g.pop(),m=y.pop()}function k(b){a(h,b)}for(;l(h,p);){if(v===0){if(m!==null&&k("too many constructs in root"),p.type===3){m={},d&&(m.$vscodeTextmateLocation=p.toLocation(f)),w(),v=1;continue}if(p.type===2){m=[],w(),v=4;continue}k("unexpected token in root")}if(v===2){if(p.type===5){x();continue}if(p.type===7){v=3;continue}k("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){x();continue}if(p.type===1){let b=p.value;if(l(h,p)&&p.type===6||k("expected colon"),l(h,p)||k("expected value"),v=2,p.type===1){m[b]=p.value;continue}if(p.type===8){m[b]=null;continue}if(p.type===9){m[b]=!0;continue}if(p.type===10){m[b]=!1;continue}if(p.type===11){m[b]=parseFloat(p.value);continue}if(p.type===2){let j=[];m[b]=j,w(),v=4,m=j;continue}if(p.type===3){let j={};d&&(j.$vscodeTextmateLocation=p.toLocation(f)),m[b]=j,w(),v=1,m=j;continue}}k("unexpected token in dict")}if(v===5){if(p.type===4){x();continue}if(p.type===7){v=6;continue}k("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){x();continue}if(v=5,p.type===1){m.push(p.value);continue}if(p.type===8){m.push(null);continue}if(p.type===9){m.push(!0);continue}if(p.type===10){m.push(!1);continue}if(p.type===11){m.push(parseFloat(p.value));continue}if(p.type===2){let b=[];m.push(b),w(),v=4,m=b;continue}if(p.type===3){let b={};d&&(b.$vscodeTextmateLocation=p.toLocation(f)),m.push(b),w(),v=1,m=b;continue}k("unexpected token in array")}k("unknown state")}return y.length!==0&&k("unclosed constructs"),m};class s{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(f){return{filename:f,line:this.line,char:this.char}}}function l(u,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.char=-1;let d,h=u.source,p=u.pos,v=u.len,m=u.line,g=u.char;for(;;){if(p>=v)return!1;if(d=h.charCodeAt(p),d!==32&&d!==9&&d!==13){if(d!==10)break;p++,m++,g=0}else p++,g++}if(f.offset=p,f.line=m,f.char=g,d===34){for(f.type=1,p++,g++;;){if(p>=v)return!1;if(d=h.charCodeAt(p),p++,g++,d!==92){if(d===34)break}else p++,g++}f.value=h.substring(f.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(y,w)=>String.fromCodePoint(parseInt(w,16))).replace(/\\(.)/g,(y,w)=>{switch(w){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
3
3
|
`;case"r":return"\r";case"t":return" ";default:a(u,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)f.type=2,p++,g++;else if(d===123)f.type=3,p++,g++;else if(d===93)f.type=4,p++,g++;else if(d===125)f.type=5,p++,g++;else if(d===58)f.type=6,p++,g++;else if(d===44)f.type=7,p++,g++;else if(d===110){if(f.type=8,p++,g++,d=h.charCodeAt(p),d!==117||(p++,g++,d=h.charCodeAt(p),d!==108)||(p++,g++,d=h.charCodeAt(p),d!==108))return!1;p++,g++}else if(d===116){if(f.type=9,p++,g++,d=h.charCodeAt(p),d!==114||(p++,g++,d=h.charCodeAt(p),d!==117)||(p++,g++,d=h.charCodeAt(p),d!==101))return!1;p++,g++}else if(d===102){if(f.type=10,p++,g++,d=h.charCodeAt(p),d!==97||(p++,g++,d=h.charCodeAt(p),d!==108)||(p++,g++,d=h.charCodeAt(p),d!==115)||(p++,g++,d=h.charCodeAt(p),d!==101))return!1;p++,g++}else for(f.type=11;;){if(p>=v)return!1;if(d=h.charCodeAt(p),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;p++,g++}return f.len=p-f.offset,f.value===null&&(f.value=h.substr(f.offset,f.len)),u.pos=p,u.line=m,u.char=g,!0}},787:function(o,i,a){var s=this&&this.__createBinding||(Object.create?function(p,v,m,g){g===void 0&&(g=m),Object.defineProperty(p,g,{enumerable:!0,get:function(){return v[m]}})}:function(p,v,m,g){g===void 0&&(g=m),p[g]=v[m]}),c=this&&this.__exportStar||function(p,v){for(var m in p)m==="default"||Object.prototype.hasOwnProperty.call(v,m)||s(v,p,m)};Object.defineProperty(i,"__esModule",{value:!0}),i.parseRawGrammar=i.INITIAL=i.Registry=void 0;const l=a(391),u=a(50),f=a(652),d=a(583),h=a(965);c(a(44),i),i.Registry=class{constructor(p){this._options=p,this._syncRegistry=new f.SyncRegistry(d.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,m){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:m})}loadGrammarWithConfiguration(p,v,m){return this._loadGrammar(p,v,m.embeddedLanguages,m.tokenTypes,new l.BalancedBracketSelectors(m.balancedBracketSelectors||[],m.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,m,g,y){const w=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;w.Q.length>0;)await Promise.all(w.Q.map(x=>this._loadSingleGrammar(x.scopeName))),w.processQueue();return this._grammarForScopeName(p,v,m,g,y)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const m=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,m)}}async addGrammar(p,v=[],m=0,g=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,m,g)}_grammarForScopeName(p,v=0,m=null,g=null,y=null){return this._syncRegistry.grammarForScopeName(p,v,m,g,y)}},i.INITIAL=l.StateStack.NULL,i.parseRawGrammar=u.parseRawGrammar},736:(o,i)=>{function a(s){return!!s&&!!s.match(/[\w\.:]+/)}Object.defineProperty(i,"__esModule",{value:!0}),i.createMatchers=void 0,i.createMatchers=function(s,c){const l=[],u=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,m=v.exec(p);return{next:()=>{if(!m)return null;const g=m[0];return m=v.exec(p),g}}}(s);let f=u.next();for(;f!==null;){let p=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=u.next()}let v=h();if(l.push({matcher:v,priority:p}),f!==",")break;f=u.next()}return l;function d(){if(f==="-"){f=u.next();const p=d();return v=>!!p&&!p(v)}if(f==="("){f=u.next();const p=function(){const v=[];let m=h();for(;m&&(v.push(m),f==="|"||f===",");){do f=u.next();while(f==="|"||f===",");m=h()}return g=>v.some(y=>y(g))}();return f===")"&&(f=u.next()),p}if(a(f)){const p=[];do p.push(f),f=u.next();while(a(f));return v=>c(p,v)}return null}function h(){const p=[];let v=d();for(;v;)p.push(v),v=d();return m=>p.every(g=>g(m))}}},44:(o,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.disposeOnigString=void 0,i.disposeOnigString=function(a){typeof a.dispose=="function"&&a.dispose()}},50:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.parseRawGrammar=void 0;const s=a(69),c=a(350),l=a(974);i.parseRawGrammar=function(u,f=null){return f!==null&&/\.json$/.test(f)?(d=u,h=f,c.DebugFlags.InDebugMode?l.parseJSON(d,h,!0):JSON.parse(d)):function(p,v){return c.DebugFlags.InDebugMode?s.parseWithLocation(p,v,"$vscodeTextmateLocation"):s.parsePLIST(p)}(u,f);var d,h}},69:(o,i)=>{function a(s,c,l){const u=s.length;let f=0,d=1,h=0;function p(U){if(l===null)f+=U;else for(;U>0;)s.charCodeAt(f)===10?(f++,d++,h=0):(f++,h++),U--}function v(U){l===null?f=U:p(U-f)}function m(){for(;f<u;){let U=s.charCodeAt(f);if(U!==32&&U!==9&&U!==13&&U!==10)break;p(1)}}function g(U){return s.substr(f,U.length)===U&&(p(U.length),!0)}function y(U){let ae=s.indexOf(U,f);v(ae!==-1?ae+U.length:u)}function w(U){let ae=s.indexOf(U,f);if(ae!==-1){let be=s.substring(f,ae);return v(ae+U.length),be}{let be=s.substr(f);return v(u),be}}u>0&&s.charCodeAt(0)===65279&&(f=1);let x=0,k=null,b=[],j=[],$=null;function S(U,ae){b.push(x),j.push(k),x=U,k=ae}function _(){if(b.length===0)return C("illegal state stack");x=b.pop(),k=j.pop()}function C(U){throw new Error("Near offset "+f+": "+U+" ~~~"+s.substr(f,50)+"~~~")}const O=function(){if($===null)return C("missing <key>");let U={};l!==null&&(U[l]={filename:c,line:d,char:h}),k[$]=U,$=null,S(1,U)},L=function(){if($===null)return C("missing <key>");let U=[];k[$]=U,$=null,S(2,U)},E=function(){let U={};l!==null&&(U[l]={filename:c,line:d,char:h}),k.push(U),S(1,U)},D=function(){let U=[];k.push(U),S(2,U)};function B(){if(x!==1)return C("unexpected </dict>");_()}function T(){return x===1||x!==2?C("unexpected </array>"):void _()}function P(U){if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function A(U){if(isNaN(U))return C("cannot parse float");if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function R(U){if(isNaN(U))return C("cannot parse integer");if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function N(U){if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function z(U){if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function I(U){if(x===1){if($===null)return C("missing <key>");k[$]=U,$=null}else x===2?k.push(U):k=U}function W(){let U=w(">"),ae=!1;return U.charCodeAt(U.length-1)===47&&(ae=!0,U=U.substring(0,U.length-1)),{name:U.trim(),isClosed:ae}}function F(U){if(U.isClosed)return"";let ae=w("</");return y(">"),ae.replace(/&#([0-9]+);/g,function(be,Oe){return String.fromCodePoint(parseInt(Oe,10))}).replace(/&#x([0-9a-f]+);/g,function(be,Oe){return String.fromCodePoint(parseInt(Oe,16))}).replace(/&|<|>|"|'/g,function(be){switch(be){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return be})}for(;f<u&&(m(),!(f>=u));){const U=s.charCodeAt(f);if(p(1),U!==60)return C("expected <");if(f>=u)return C("unexpected end of input");const ae=s.charCodeAt(f);if(ae===63){p(1),y("?>");continue}if(ae===33){if(p(1),g("--")){y("-->");continue}y(">");continue}if(ae===47){if(p(1),m(),g("plist")){y(">");continue}if(g("dict")){y(">"),B();continue}if(g("array")){y(">"),T();continue}return C("unexpected closed tag")}let be=W();switch(be.name){case"dict":x===1?O():x===2?E():(k={},l!==null&&(k[l]={filename:c,line:d,char:h}),S(1,k)),be.isClosed&&B();continue;case"array":x===1?L():x===2?D():(k=[],S(2,k)),be.isClosed&&T();continue;case"key":le=F(be),x!==1?C("unexpected <key>"):$!==null?C("too many <key>"):$=le;continue;case"string":P(F(be));continue;case"real":A(parseFloat(F(be)));continue;case"integer":R(parseInt(F(be),10));continue;case"date":N(new Date(F(be)));continue;case"data":z(F(be));continue;case"true":F(be),I(!0);continue;case"false":F(be),I(!1);continue}if(!/^plist/.test(be.name))return C("unexpected opened tag "+be.name)}var le;return k}Object.defineProperty(i,"__esModule",{value:!0}),i.parsePLIST=i.parseWithLocation=void 0,i.parseWithLocation=function(s,c,l){return a(s,c,l)},i.parsePLIST=function(s){return a(s,null,null)}},652:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.SyncRegistry=void 0;const s=a(391);i.SyncRegistry=class{constructor(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,u,f,d){if(!this._grammars.has(c)){let h=this._rawGrammars.get(c);if(!h)return null;this._grammars.set(c,s.createGrammar(c,h,l,u,f,d,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.CompiledRule=i.RegExpSourceList=i.RegExpSource=i.RuleFactory=i.BeginWhileRule=i.BeginEndRule=i.IncludeOnlyRule=i.MatchRule=i.CaptureRule=i.Rule=i.ruleIdToNumber=i.ruleIdFromNumber=i.whileRuleId=i.endRuleId=void 0;const s=a(878),c=a(965),l=/\\(\d+)/,u=/\\(\d+)/g;i.endRuleId=-1,i.whileRuleId=-2,i.ruleIdFromNumber=function(k){return k},i.ruleIdToNumber=function(k){return k};class f{constructor(b,j,$,S){this.$location=b,this.id=j,this._name=$||null,this._nameIsCapturing=s.RegexSource.hasCaptures(this._name),this._contentName=S||null,this._contentNameIsCapturing=s.RegexSource.hasCaptures(this._contentName)}get debugName(){const b=this.$location?`${s.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${b}`}getName(b,j){return this._nameIsCapturing&&this._name!==null&&b!==null&&j!==null?s.RegexSource.replaceCaptures(this._name,b,j):this._name}getContentName(b,j){return this._contentNameIsCapturing&&this._contentName!==null?s.RegexSource.replaceCaptures(this._contentName,b,j):this._contentName}}i.Rule=f;class d extends f{constructor(b,j,$,S,_){super(b,j,$,S),this.retokenizeCapturedWithRuleId=_}dispose(){}collectPatterns(b,j){throw new Error("Not supported!")}compile(b,j){throw new Error("Not supported!")}compileAG(b,j,$,S){throw new Error("Not supported!")}}i.CaptureRule=d;class h extends f{constructor(b,j,$,S,_){super(b,j,$,null),this._match=new y(S,this.id),this.captures=_,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(b,j){j.push(this._match)}compile(b,j){return this._getCachedCompiledPatterns(b).compile(b)}compileAG(b,j,$,S){return this._getCachedCompiledPatterns(b).compileAG(b,$,S)}_getCachedCompiledPatterns(b){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(b,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}i.MatchRule=h;class p extends f{constructor(b,j,$,S,_){super(b,j,$,S),this.patterns=_.patterns,this.hasMissingPatterns=_.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(b,j){for(const $ of this.patterns)b.getRule($).collectPatterns(b,j)}compile(b,j){return this._getCachedCompiledPatterns(b).compile(b)}compileAG(b,j,$,S){return this._getCachedCompiledPatterns(b).compileAG(b,$,S)}_getCachedCompiledPatterns(b){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(b,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}i.IncludeOnlyRule=p;class v extends f{constructor(b,j,$,S,_,C,O,L,E,D){super(b,j,$,S),this._begin=new y(_,this.id),this.beginCaptures=C,this._end=new y(O||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=L,this.applyEndPatternLast=E||!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(b,j){return this._end.resolveBackReferences(b,j)}collectPatterns(b,j){j.push(this._begin)}compile(b,j){return this._getCachedCompiledPatterns(b,j).compile(b)}compileAG(b,j,$,S){return this._getCachedCompiledPatterns(b,j).compileAG(b,$,S)}_getCachedCompiledPatterns(b,j){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const $ of this.patterns)b.getRule($).collectPatterns(b,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,j):this._cachedCompiledPatterns.setSource(0,j)),this._cachedCompiledPatterns}}i.BeginEndRule=v;class m extends f{constructor(b,j,$,S,_,C,O,L,E){super(b,j,$,S),this._begin=new y(_,this.id),this.beginCaptures=C,this.whileCaptures=L,this._while=new y(O,i.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=E.patterns,this.hasMissingPatterns=E.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(b,j){return this._while.resolveBackReferences(b,j)}collectPatterns(b,j){j.push(this._begin)}compile(b,j){return this._getCachedCompiledPatterns(b).compile(b)}compileAG(b,j,$,S){return this._getCachedCompiledPatterns(b).compileAG(b,$,S)}_getCachedCompiledPatterns(b){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const j of this.patterns)b.getRule(j).collectPatterns(b,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(b,j){return this._getCachedCompiledWhilePatterns(b,j).compile(b)}compileWhileAG(b,j,$,S){return this._getCachedCompiledWhilePatterns(b,j).compileAG(b,$,S)}_getCachedCompiledWhilePatterns(b,j){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new w,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,j||""),this._cachedCompiledWhilePatterns}}i.BeginWhileRule=m;class g{static createCaptureRule(b,j,$,S,_){return b.registerRule(C=>new d(j,C,$,S,_))}static getCompiledRuleId(b,j,$){return b.id||j.registerRule(S=>{if(b.id=S,b.match)return new h(b.$vscodeTextmateLocation,b.id,b.name,b.match,g._compileCaptures(b.captures,j,$));if(b.begin===void 0){b.repository&&($=s.mergeObjects({},$,b.repository));let _=b.patterns;return _===void 0&&b.include&&(_=[{include:b.include}]),new p(b.$vscodeTextmateLocation,b.id,b.name,b.contentName,g._compilePatterns(_,j,$))}return b.while?new m(b.$vscodeTextmateLocation,b.id,b.name,b.contentName,b.begin,g._compileCaptures(b.beginCaptures||b.captures,j,$),b.while,g._compileCaptures(b.whileCaptures||b.captures,j,$),g._compilePatterns(b.patterns,j,$)):new v(b.$vscodeTextmateLocation,b.id,b.name,b.contentName,b.begin,g._compileCaptures(b.beginCaptures||b.captures,j,$),b.end,g._compileCaptures(b.endCaptures||b.captures,j,$),b.applyEndPatternLast,g._compilePatterns(b.patterns,j,$))}),b.id}static _compileCaptures(b,j,$){let S=[];if(b){let _=0;for(const C in b){if(C==="$vscodeTextmateLocation")continue;const O=parseInt(C,10);O>_&&(_=O)}for(let C=0;C<=_;C++)S[C]=null;for(const C in b){if(C==="$vscodeTextmateLocation")continue;const O=parseInt(C,10);let L=0;b[C].patterns&&(L=g.getCompiledRuleId(b[C],j,$)),S[O]=g.createCaptureRule(j,b[C].$vscodeTextmateLocation,b[C].name,b[C].contentName,L)}}return S}static _compilePatterns(b,j,$){let S=[];if(b)for(let _=0,C=b.length;_<C;_++){const O=b[_];let L=-1;if(O.include){const E=c.parseInclude(O.include);switch(E.kind){case 0:case 1:L=g.getCompiledRuleId($[O.include],j,$);break;case 2:let D=$[E.ruleName];D&&(L=g.getCompiledRuleId(D,j,$));break;case 3:case 4:const B=E.scopeName,T=E.kind===4?E.ruleName:null,P=j.getExternalGrammar(B,$);if(P)if(T){let A=P.repository[T];A&&(L=g.getCompiledRuleId(A,j,P.repository))}else L=g.getCompiledRuleId(P.repository.$self,j,P.repository)}}else L=g.getCompiledRuleId(O,j,$);if(L!==-1){const E=j.getRule(L);let D=!1;if((E instanceof p||E instanceof v||E instanceof m)&&E.hasMissingPatterns&&E.patterns.length===0&&(D=!0),D)continue;S.push(L)}}return{patterns:S,hasMissingPatterns:(b?b.length:0)!==S.length}}}i.RuleFactory=g;class y{constructor(b,j){if(b){const $=b.length;let S=0,_=[],C=!1;for(let O=0;O<$;O++)if(b.charAt(O)==="\\"&&O+1<$){const L=b.charAt(O+1);L==="z"?(_.push(b.substring(S,O)),_.push("$(?!\\n)(?<!\\n)"),S=O+2):L!=="A"&&L!=="G"||(C=!0),O++}this.hasAnchor=C,S===0?this.source=b:(_.push(b.substring(S,$)),this.source=_.join(""))}else this.hasAnchor=!1,this.source=b;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=j,this.hasBackReferences=l.test(this.source)}clone(){return new y(this.source,this.ruleId)}setSource(b){this.source!==b&&(this.source=b,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(b,j){let $=j.map(S=>b.substring(S.start,S.end));return u.lastIndex=0,this.source.replace(u,(S,_)=>s.escapeRegExpCharacters($[parseInt(_,10)]||""))}_buildAnchorCache(){let b,j,$,S,_=[],C=[],O=[],L=[];for(b=0,j=this.source.length;b<j;b++)$=this.source.charAt(b),_[b]=$,C[b]=$,O[b]=$,L[b]=$,$==="\\"&&b+1<j&&(S=this.source.charAt(b+1),S==="A"?(_[b+1]="",C[b+1]="",O[b+1]="A",L[b+1]="A"):S==="G"?(_[b+1]="",C[b+1]="G",O[b+1]="",L[b+1]="G"):(_[b+1]=S,C[b+1]=S,O[b+1]=S,L[b+1]=S),b++);return{A0_G0:_.join(""),A0_G1:C.join(""),A1_G0:O.join(""),A1_G1:L.join("")}}resolveAnchors(b,j){return this.hasAnchor&&this._anchorCache?b?j?this._anchorCache.A1_G1:this._anchorCache.A1_G0:j?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}i.RegExpSource=y;class w{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(b){this._items.push(b),this._hasAnchors=this._hasAnchors||b.hasAnchor}unshift(b){this._items.unshift(b),this._hasAnchors=this._hasAnchors||b.hasAnchor}length(){return this._items.length}setSource(b,j){this._items[b].source!==j&&(this._disposeCaches(),this._items[b].setSource(j))}compile(b){if(!this._cached){let j=this._items.map($=>$.source);this._cached=new x(b,j,this._items.map($=>$.ruleId))}return this._cached}compileAG(b,j,$){return this._hasAnchors?j?$?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(b,j,$)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(b,j,$)),this._anchorCache.A1_G0):$?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(b,j,$)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(b,j,$)),this._anchorCache.A0_G0):this.compile(b)}_resolveAnchors(b,j,$){let S=this._items.map(_=>_.resolveAnchors(j,$));return new x(b,S,this._items.map(_=>_.ruleId))}}i.RegExpSourceList=w;class x{constructor(b,j,$){this.regExps=j,this.rules=$,this.scanner=b.createOnigScanner(j)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const b=[];for(let j=0,$=this.rules.length;j<$;j++)b.push(" - "+this.rules[j]+": "+this.regExps[j]);return b.join(`
|
|
4
4
|
`)}findNextMatchSync(b,j,$){const S=this.scanner.findNextMatchSync(b,j,$);return S?{ruleId:this.rules[S.index],captureIndices:S.captureIndices}:null}}i.CompiledRule=x},583:(o,i,a)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.ThemeTrieElement=i.ThemeTrieElementRule=i.ColorMap=i.fontStyleToString=i.ParsedThemeRule=i.parseTheme=i.StyleAttributes=i.ScopeStack=i.Theme=void 0;const s=a(878);class c{constructor(y,w,x){this._colorMap=y,this._defaults=w,this._root=x,this._cachedMatchRoot=new s.CachedFn(k=>this._root.match(k))}static createFromRawTheme(y,w){return this.createFromParsedTheme(d(y),w)}static createFromParsedTheme(y,w){return function(x,k){x.sort((O,L)=>{let E=s.strcmp(O.scope,L.scope);return E!==0?E:(E=s.strArrCmp(O.parentScopes,L.parentScopes),E!==0?E:O.index-L.index)});let b=0,j="#000000",$="#ffffff";for(;x.length>=1&&x[0].scope==="";){let O=x.shift();O.fontStyle!==-1&&(b=O.fontStyle),O.foreground!==null&&(j=O.foreground),O.background!==null&&($=O.background)}let S=new p(k),_=new f(b,S.getId(j),S.getId($)),C=new m(new v(0,null,-1,0,0),[]);for(let O=0,L=x.length;O<L;O++){let E=x[O];C.insert(0,E.scope,E.parentScopes,E.fontStyle,S.getId(E.foreground),S.getId(E.background))}return new c(S,_,C)}(y,w)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(y){if(y===null)return this._defaults;const w=y.scopeName,x=this._cachedMatchRoot.get(w).find(k=>function(b,j){if(j===null)return!0;let $=0,S=j[$];for(;b;){if(u(b.scopeName,S)){if($++,$===j.length)return!0;S=j[$]}b=b.parent}return!1}(y.parent,k.parentScopes));return x?new f(x.fontStyle,x.foreground,x.background):null}}i.Theme=c;class l{constructor(y,w){this.parent=y,this.scopeName=w}static from(...y){let w=null;for(let x=0;x<y.length;x++)w=new l(w,y[x]);return w}push(y){return new l(this,y)}getSegments(){let y=this;const w=[];for(;y;)w.push(y.scopeName),y=y.parent;return w.reverse(),w}toString(){return this.getSegments().join(" ")}}function u(g,y){return y===g||g.startsWith(y)&&g[y.length]==="."}i.ScopeStack=l;class f{constructor(y,w,x){this.fontStyle=y,this.foregroundId=w,this.backgroundId=x}}function d(g){if(!g)return[];if(!g.settings||!Array.isArray(g.settings))return[];let y=g.settings,w=[],x=0;for(let k=0,b=y.length;k<b;k++){let j,$=y[k];if(!$.settings)continue;if(typeof $.scope=="string"){let O=$.scope;O=O.replace(/^[,]+/,""),O=O.replace(/[,]+$/,""),j=O.split(",")}else j=Array.isArray($.scope)?$.scope:[""];let S=-1;if(typeof $.settings.fontStyle=="string"){S=0;let O=$.settings.fontStyle.split(" ");for(let L=0,E=O.length;L<E;L++)switch(O[L]){case"italic":S|=1;break;case"bold":S|=2;break;case"underline":S|=4;break;case"strikethrough":S|=8}}let _=null;typeof $.settings.foreground=="string"&&s.isValidHexColor($.settings.foreground)&&(_=$.settings.foreground);let C=null;typeof $.settings.background=="string"&&s.isValidHexColor($.settings.background)&&(C=$.settings.background);for(let O=0,L=j.length;O<L;O++){let E=j[O].trim().split(" "),D=E[E.length-1],B=null;E.length>1&&(B=E.slice(0,E.length-1),B.reverse()),w[x++]=new h(D,B,k,S,_,C)}}return w}i.StyleAttributes=f,i.parseTheme=d;class h{constructor(y,w,x,k,b,j){this.scope=y,this.parentScopes=w,this.index=x,this.fontStyle=k,this.foreground=b,this.background=j}}i.ParsedThemeRule=h,i.fontStyleToString=function(g){if(g===-1)return"not set";let y="";return 1&g&&(y+="italic "),2&g&&(y+="bold "),4&g&&(y+="underline "),8&g&&(y+="strikethrough "),y===""&&(y="none"),y.trim()};class p{constructor(y){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(y)){this._isFrozen=!0;for(let w=0,x=y.length;w<x;w++)this._color2id[y[w]]=w,this._id2color[w]=y[w]}else this._isFrozen=!1}getId(y){if(y===null)return 0;y=y.toUpperCase();let w=this._color2id[y];if(w)return w;if(this._isFrozen)throw new Error(`Missing color in color map - ${y}`);return w=++this._lastColorId,this._color2id[y]=w,this._id2color[w]=y,w}getColorMap(){return this._id2color.slice(0)}}i.ColorMap=p;class v{constructor(y,w,x,k,b){this.scopeDepth=y,this.parentScopes=w,this.fontStyle=x,this.foreground=k,this.background=b}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(y){let w=[];for(let x=0,k=y.length;x<k;x++)w[x]=y[x].clone();return w}acceptOverwrite(y,w,x,k){this.scopeDepth>y?console.log("how did this happen?"):this.scopeDepth=y,w!==-1&&(this.fontStyle=w),x!==0&&(this.foreground=x),k!==0&&(this.background=k)}}i.ThemeTrieElementRule=v;class m{constructor(y,w=[],x={}){this._mainRule=y,this._children=x,this._rulesWithParentScopes=w}static _sortBySpecificity(y){return y.length===1||y.sort(this._cmpBySpecificity),y}static _cmpBySpecificity(y,w){if(y.scopeDepth===w.scopeDepth){const x=y.parentScopes,k=w.parentScopes;let b=x===null?0:x.length,j=k===null?0:k.length;if(b===j)for(let $=0;$<b;$++){const S=x[$].length,_=k[$].length;if(S!==_)return _-S}return j-b}return w.scopeDepth-y.scopeDepth}match(y){if(y==="")return m._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let w,x,k=y.indexOf(".");return k===-1?(w=y,x=""):(w=y.substring(0,k),x=y.substring(k+1)),this._children.hasOwnProperty(w)?this._children[w].match(x):m._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(y,w,x,k,b,j){if(w==="")return void this._doInsertHere(y,x,k,b,j);let $,S,_,C=w.indexOf(".");C===-1?($=w,S=""):($=w.substring(0,C),S=w.substring(C+1)),this._children.hasOwnProperty($)?_=this._children[$]:(_=new m(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[$]=_),_.insert(y+1,S,x,k,b,j)}_doInsertHere(y,w,x,k,b){if(w!==null){for(let j=0,$=this._rulesWithParentScopes.length;j<$;j++){let S=this._rulesWithParentScopes[j];if(s.strArrCmp(S.parentScopes,w)===0)return void S.acceptOverwrite(y,x,k,b)}x===-1&&(x=this._mainRule.fontStyle),k===0&&(k=this._mainRule.foreground),b===0&&(b=this._mainRule.background),this._rulesWithParentScopes.push(new v(y,w,x,k,b))}else this._mainRule.acceptOverwrite(y,x,k,b)}}i.ThemeTrieElement=m},878:(o,i)=>{function a(l){return Array.isArray(l)?function(u){let f=[];for(let d=0,h=u.length;d<h;d++)f[d]=a(u[d]);return f}(l):typeof l=="object"?function(u){let f={};for(let d in u)f[d]=a(u[d]);return f}(l):l}Object.defineProperty(i,"__esModule",{value:!0}),i.performanceNow=i.CachedFn=i.escapeRegExpCharacters=i.isValidHexColor=i.strArrCmp=i.strcmp=i.RegexSource=i.basename=i.mergeObjects=i.clone=void 0,i.clone=function(l){return a(l)},i.mergeObjects=function(l,...u){return u.forEach(f=>{for(let d in f)l[d]=f[d]}),l},i.basename=function l(u){const f=~u.lastIndexOf("/")||~u.lastIndexOf("\\");return f===0?u:~f==u.length-1?l(u.substring(0,u.length-1)):u.substr(1+~f)};let s=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,u){return l<u?-1:l>u?1:0}i.RegexSource=class{static hasCaptures(l){return l!==null&&(s.lastIndex=0,s.test(l))}static replaceCaptures(l,u,f){return l.replace(s,(d,h,p,v)=>{let m=f[parseInt(h||p,10)];if(!m)return d;{let g=u.substring(m.start,m.end);for(;g[0]===".";)g=g.substring(1);switch(v){case"downcase":return g.toLowerCase();case"upcase":return g.toUpperCase();default:return g}}})}},i.strcmp=c,i.strArrCmp=function(l,u){if(l===null&&u===null)return 0;if(!l)return-1;if(!u)return 1;let f=l.length,d=u.length;if(f===d){for(let h=0;h<f;h++){let p=c(l[h],u[h]);if(p!==0)return p}return 0}return f-d},i.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))},i.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},i.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const u=this.fn(l);return this.cache.set(l,u),u}},i.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function o(i){var a=r[i];if(a!==void 0)return a.exports;var s=r[i]={exports:{}};return n[i].call(s.exports,s,s.exports,o),s.exports}(787)})()})})(wL);var xL=wL.exports;const t1=[{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 Cc=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t))(Cc||{});class Xo{static toBinaryStr(e){let n=e.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(e){let n=Xo.getLanguageId(e),r=Xo.getTokenType(e),o=Xo.getFontStyle(e),i=Xo.getForeground(e),a=Xo.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:a})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static getFontStyle(e){return(e&14336)>>>11}static getForeground(e){return(e&8372224)>>>15}static getBackground(e){return(e&4286578688)>>>24}static containsBalancedBrackets(e){return(e&1024)!==0}static set(e,n,r,o,i,a){let s=Xo.getLanguageId(e),c=Xo.getTokenType(e),l=Xo.getFontStyle(e),u=Xo.getForeground(e),f=Xo.getBackground(e),d=Xo.containsBalancedBrackets(e)?1:0;return n!==0&&(s=n),r!==0&&(c=r===8?0:r),o!==-1&&(l=o),i!==0&&(u=i),a!==0&&(f=a),(s<<0|c<<8|l<<11|d<<10|u<<15|f<<24)>>>0}}function Pee(t){return t.endsWith("/")||t.endsWith("\\")?t.slice(0,-1):t}function Tee(t){return t.startsWith("./")?t.slice(2):t}function kL(t){const e=t.split(/[\/\\]/g);return e.slice(0,e.length-1)}function jL(...t){return t.map(Pee).map(Tee).join("/")}function Eee(t,e){const n=new Map;for(const r of t){const o=e(r);n.has(o)?n.get(o).push(r):n.set(o,[r])}return n}function Mee(t,e=!1){const n=t.length;let r=0,o="",i=0,a=16,s=0,c=0,l=0,u=0,f=0;function d(w,x){let k=0,b=0;for(;k<w||!x;){let j=t.charCodeAt(r);if(j>=48&&j<=57)b=b*16+j-48;else if(j>=65&&j<=70)b=b*16+j-65+10;else if(j>=97&&j<=102)b=b*16+j-97+10;else break;r++,k++}return k<w&&(b=-1),b}function h(w){r=w,o="",i=0,a=16,f=0}function p(){let w=r;if(t.charCodeAt(r)===48)r++;else for(r++;r<t.length&&Ru(t.charCodeAt(r));)r++;if(r<t.length&&t.charCodeAt(r)===46)if(r++,r<t.length&&Ru(t.charCodeAt(r)))for(r++;r<t.length&&Ru(t.charCodeAt(r));)r++;else return f=3,t.substring(w,r);let x=r;if(r<t.length&&(t.charCodeAt(r)===69||t.charCodeAt(r)===101))if(r++,(r<t.length&&t.charCodeAt(r)===43||t.charCodeAt(r)===45)&&r++,r<t.length&&Ru(t.charCodeAt(r))){for(r++;r<t.length&&Ru(t.charCodeAt(r));)r++;x=r}else f=3;return t.substring(w,x)}function v(){let w="",x=r;for(;;){if(r>=n){w+=t.substring(x,r),f=2;break}const k=t.charCodeAt(r);if(k===34){w+=t.substring(x,r),r++;break}if(k===92){if(w+=t.substring(x,r),r++,r>=n){f=2;break}switch(t.charCodeAt(r++)){case 34:w+='"';break;case 92:w+="\\";break;case 47:w+="/";break;case 98:w+="\b";break;case 102:w+="\f";break;case 110:w+=`
|
|
@@ -132,6 +132,6 @@ return query;
|
|
|
132
132
|
* Copyright 2017-2023 Andreas Borgen (https://github.com/Sphinxxxx), Adam Brooks (https://github.com/dissimulate)
|
|
133
133
|
* Released under the ISC license.
|
|
134
134
|
*/var TS=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ES=function(){function t(e,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),$m=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(n,r){var o=[],i=!0,a=!1,s=void 0;try{for(var c,l=n[Symbol.iterator]();!(i=(c=l.next()).done)&&(o.push(c.value),!r||o.length!==r);i=!0);}catch(u){a=!0,s=u}finally{try{!i&&l.return&&l.return()}finally{if(a)throw s}}return o}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};String.prototype.startsWith=String.prototype.startsWith||function(t){return this.indexOf(t)===0},String.prototype.padStart=String.prototype.padStart||function(t,e){for(var n=this;n.length<t;)n=e+n;return n};var P8e={cb:"0f8ff",tqw:"aebd7",q:"-ffff",qmrn:"7fffd4",zr:"0ffff",bg:"5f5dc",bsq:"e4c4",bck:"---",nch:"ebcd",b:"--ff",bvt:"8a2be2",brwn:"a52a2a",brw:"deb887",ctb:"5f9ea0",hrt:"7fff-",chcT:"d2691e",cr:"7f50",rnw:"6495ed",crns:"8dc",crms:"dc143c",cn:"-ffff",Db:"--8b",Dcn:"-8b8b",Dgnr:"b8860b",Dgr:"a9a9a9",Dgrn:"-64-",Dkhk:"bdb76b",Dmgn:"8b-8b",Dvgr:"556b2f",Drng:"8c-",Drch:"9932cc",Dr:"8b--",Dsmn:"e9967a",Dsgr:"8fbc8f",DsTb:"483d8b",DsTg:"2f4f4f",Dtrq:"-ced1",Dvt:"94-d3",ppnk:"1493",pskb:"-bfff",mgr:"696969",grb:"1e90ff",rbrc:"b22222",rwht:"af0",stg:"228b22",chs:"-ff",gnsb:"dcdcdc",st:"8f8ff",g:"d7-",gnr:"daa520",gr:"808080",grn:"-8-0",grnw:"adff2f",hnw:"0fff0",htpn:"69b4",nnr:"cd5c5c",ng:"4b-82",vr:"0",khk:"0e68c",vnr:"e6e6fa",nrb:"0f5",wngr:"7cfc-",mnch:"acd",Lb:"add8e6",Lcr:"08080",Lcn:"e0ffff",Lgnr:"afad2",Lgr:"d3d3d3",Lgrn:"90ee90",Lpnk:"b6c1",Lsmn:"a07a",Lsgr:"20b2aa",Lskb:"87cefa",LsTg:"778899",Lstb:"b0c4de",Lw:"e0",m:"-ff-",mgrn:"32cd32",nn:"af0e6",mgnt:"-ff",mrn:"8--0",mqm:"66cdaa",mmb:"--cd",mmrc:"ba55d3",mmpr:"9370db",msg:"3cb371",mmsT:"7b68ee","":"-fa9a",mtr:"48d1cc",mmvt:"c71585",mnLb:"191970",ntc:"5fffa",mstr:"e4e1",mccs:"e4b5",vjw:"dead",nv:"--80",c:"df5e6",v:"808-0",vrb:"6b8e23",rng:"a5-",rngr:"45-",rch:"da70d6",pgnr:"eee8aa",pgrn:"98fb98",ptrq:"afeeee",pvtr:"db7093",ppwh:"efd5",pchp:"dab9",pr:"cd853f",pnk:"c0cb",pm:"dda0dd",pwrb:"b0e0e6",prp:"8-080",cc:"663399",r:"--",sbr:"bc8f8f",rb:"4169e1",sbrw:"8b4513",smn:"a8072",nbr:"4a460",sgrn:"2e8b57",ssh:"5ee",snn:"a0522d",svr:"c0c0c0",skb:"87ceeb",sTb:"6a5acd",sTgr:"708090",snw:"afa",n:"-ff7f",stb:"4682b4",tn:"d2b48c",t:"-8080",thst:"d8bfd8",tmT:"6347",trqs:"40e0d0",vt:"ee82ee",whT:"5deb3",wht:"",hts:"5f5f5",w:"-",wgrn:"9acd32"};function O7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return(e>0?t.toFixed(e).replace(/0+$/,"").replace(/\.$/,""):t.toString())||"0"}var T8e=function(){function t(e,n,r,o){TS(this,t);var i=this;if(e!==void 0)if(Array.isArray(e))this.rgba=e;else if(r===void 0){var a=e&&""+e;a&&function(s){if(s.startsWith("hsl")){var c=s.match(/([\-\d\.e]+)/g).map(Number),l=$m(c,4),u=l[0],f=l[1],d=l[2],h=l[3];h===void 0&&(h=1),u/=360,f/=100,d/=100,i.hsla=[u,f,d,h]}else if(s.startsWith("rgb")){var p=s.match(/([\-\d\.e]+)/g).map(Number),v=$m(p,4),m=v[0],g=v[1],y=v[2],w=v[3];w===void 0&&(w=1),i.rgba=[m,g,y,w]}else s.startsWith("#")?i.rgba=t.hexToRgb(s):i.rgba=t.nameToRgb(s)||t.hexToRgb(s)}(a.toLowerCase())}else this.rgba=[e,n,r,o===void 0?1:o]}return ES(t,[{key:"printRGB",value:function(e){var n=(e?this.rgba:this.rgba.slice(0,3)).map(function(r,o){return O7(r,o===3?3:0)});return e?"rgba("+n+")":"rgb("+n+")"}},{key:"printHSL",value:function(e){var n=[360,100,100,1],r=["","%","%",""],o=(e?this.hsla:this.hsla.slice(0,3)).map(function(i,a){return O7(i*n[a],a===3?3:1)+r[a]});return e?"hsla("+o+")":"hsl("+o+")"}},{key:"printHex",value:function(e){var n=this.hex;return e?n:n.substring(0,7)}},{key:"rgba",get:function(){if(this._rgba)return this._rgba;if(!this._hsla)throw new Error("No color is set");return this._rgba=t.hslToRgb(this._hsla)},set:function(e){e.length===3&&(e[3]=1),this._rgba=e,this._hsla=null}},{key:"rgbString",get:function(){return this.printRGB()}},{key:"rgbaString",get:function(){return this.printRGB(!0)}},{key:"hsla",get:function(){if(this._hsla)return this._hsla;if(!this._rgba)throw new Error("No color is set");return this._hsla=t.rgbToHsl(this._rgba)},set:function(e){e.length===3&&(e[3]=1),this._hsla=e,this._rgba=null}},{key:"hslString",get:function(){return this.printHSL()}},{key:"hslaString",get:function(){return this.printHSL(!0)}},{key:"hex",get:function(){var e=this.rgba.map(function(n,r){return r<3?n.toString(16):Math.round(255*n).toString(16)});return"#"+e.map(function(n){return n.padStart(2,"0")}).join("")},set:function(e){this.rgba=t.hexToRgb(e)}}],[{key:"hexToRgb",value:function(e){var n=(e.startsWith("#")?e.slice(1):e).replace(/^(\w{3})$/,"$1F").replace(/^(\w)(\w)(\w)(\w)$/,"$1$1$2$2$3$3$4$4").replace(/^(\w{6})$/,"$1FF");if(!n.match(/^([0-9a-fA-F]{8})$/))throw new Error("Unknown hex color; "+e);var r=n.match(/^(\w\w)(\w\w)(\w\w)(\w\w)$/).slice(1).map(function(o){return parseInt(o,16)});return r[3]=r[3]/255,r}},{key:"nameToRgb",value:function(e){var n=e.toLowerCase().replace("at","T").replace(/[aeiouyldf]/g,"").replace("ght","L").replace("rk","D").slice(-5,4),r=P8e[n];return r===void 0?r:t.hexToRgb(r.replace(/\-/g,"00").padStart(6,"f"))}},{key:"rgbToHsl",value:function(e){var n=$m(e,4),r=n[0],o=n[1],i=n[2],a=n[3];r/=255,o/=255,i/=255;var s=Math.max(r,o,i),c=Math.min(r,o,i),l=void 0,u=void 0,f=(s+c)/2;if(s===c)l=u=0;else{var d=s-c;switch(u=f>.5?d/(2-s-c):d/(s+c),s){case r:l=(o-i)/d+(o<i?6:0);break;case o:l=(i-r)/d+2;break;case i:l=(r-o)/d+4}l/=6}return[l,u,f,a]}},{key:"hslToRgb",value:function(e){var n=$m(e,4),r=n[0],o=n[1],i=n[2],a=n[3],s=void 0,c=void 0,l=void 0;if(o===0)s=c=l=i;else{var u=function(p,v,m){return m<0&&(m+=1),m>1&&(m-=1),m<.16666666666666666?p+6*(v-p)*m:m<.5?v:m<.6666666666666666?p+(v-p)*(.6666666666666666-m)*6:p},f=i<.5?i*(1+o):i+o-i*o,d=2*i-f;s=u(d,f,r+1/3),c=u(d,f,r),l=u(d,f,r-1/3)}var h=[255*s,255*c,255*l].map(Math.round);return h[3]=a,h}}]),t}(),E8e=function(){function t(){TS(this,t),this._events=[]}return ES(t,[{key:"add",value:function(e,n,r){e.addEventListener(n,r,!1),this._events.push({target:e,type:n,handler:r})}},{key:"remove",value:function(e,n,r){this._events=this._events.filter(function(o){var i=!0;return e&&e!==o.target&&(i=!1),n&&n!==o.type&&(i=!1),r&&r!==o.handler&&(i=!1),i&&t._doRemove(o.target,o.type,o.handler),!i})}},{key:"destroy",value:function(){this._events.forEach(function(e){return t._doRemove(e.target,e.type,e.handler)}),this._events=[]}}],[{key:"_doRemove",value:function(e,n,r){e.removeEventListener(n,r,!1)}}]),t}();function qb(t,e,n){var r=!1;function o(c,l,u){return Math.max(l,Math.min(c,u))}function i(c,l,u){if(u&&(r=!0),r){c.preventDefault();var f=e.getBoundingClientRect(),d=f.width,h=f.height,p=l.clientX,v=l.clientY,m=o(p-f.left,0,d),g=o(v-f.top,0,h);n(m/d,g/h)}}function a(c,l){(c.buttons===void 0?c.which:c.buttons)===1?i(c,c,l):r=!1}function s(c,l){c.touches.length===1?i(c,c.touches[0],l):r=!1}t.add(e,"mousedown",function(c){a(c,!0)}),t.add(e,"touchstart",function(c){s(c,!0)}),t.add(window,"mousemove",a),t.add(e,"touchmove",s),t.add(window,"mouseup",function(c){r=!1}),t.add(e,"touchend",function(c){r=!1}),t.add(e,"touchcancel",function(c){r=!1})}var AW="keydown",Cm="mousedown",Vb="focusin";function Ua(t,e){return(e||document).querySelector(t)}function PW(t){t.preventDefault(),t.stopPropagation()}function Wb(t,e,n,r,o){t.add(e,AW,function(i){n.indexOf(i.key)>=0&&(o&&PW(i),r(i))})}var TW=function(){function t(e){TS(this,t),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new E8e,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(e)}return ES(t,[{key:"setOptions",value:function(e){var n=this;if(e){var r=this.settings;if(e instanceof HTMLElement)r.parent=e;else{r.parent&&e.parent&&r.parent!==e.parent&&(this._events.remove(r.parent),this._popupInited=!1),function(s,c,l){for(var u in s)l&&l.indexOf(u)>=0||(c[u]=s[u])}(e,r),e.onChange&&(this.onChange=e.onChange),e.onDone&&(this.onDone=e.onDone),e.onOpen&&(this.onOpen=e.onOpen),e.onClose&&(this.onClose=e.onClose);var o=e.color||e.colour;o&&this._setColor(o)}var i=r.parent;if(i&&r.popup&&!this._popupInited){var a=function(s){return n.openHandler(s)};this._events.add(i,"click",a),Wb(this._events,i,[" ","Spacebar","Enter"],a),this._popupInited=!0}else e.parent&&!r.popup&&this.show()}}},{key:"openHandler",value:function(e){if(this.show()){e&&e.preventDefault(),this.settings.parent.style.pointerEvents="none";var n=e&&e.type===AW?this._domEdit:this.domElement;setTimeout(function(){return n.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(e){var n=e&&e.type,r=!1;if(e)if(n===Cm||n===Vb){var o=(this.__containedEvent||0)+100;e.timeStamp>o&&(r=!0)}else PW(e),r=!0;else r=!0;r&&this.hide()&&(this.settings.parent.style.pointerEvents="",n!==Cm&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(e,n){this.closeHandler(),this.setOptions(e),n&&this.openHandler()}},{key:"setColor",value:function(e,n){this._setColor(e,{silent:n})}},{key:"_setColor",value:function(e,n){if(typeof e=="string"&&(e=e.trim()),e){n=n||{};var r=void 0;try{r=new T8e(e)}catch(i){if(n.failSilently)return;throw i}if(!this.settings.alpha){var o=r.hsla;o[3]=1,r.hsla=o}this.colour=this.color=r,this._setHSLA(null,null,null,null,n)}}},{key:"setColour",value:function(e,n){this.setColor(e,n)}},{key:"show",value:function(){if(!this.settings.parent)return!1;if(this.domElement){var e=this._toggleDOM(!0);return this._setPosition(),e}var n,r,o=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',i=(n=o,(r=document.createElement("div")).innerHTML=n,r.firstElementChild);return this.domElement=i,this._domH=Ua(".picker_hue",i),this._domSL=Ua(".picker_sl",i),this._domA=Ua(".picker_alpha",i),this._domEdit=Ua(".picker_editor input",i),this._domSample=Ua(".picker_sample",i),this._domOkay=Ua(".picker_done button",i),this._domCancel=Ua(".picker_cancel button",i),i.classList.add("layout_"+this.settings.layout),this.settings.alpha||i.classList.add("no_alpha"),this.settings.editor||i.classList.add("no_editor"),this.settings.cancelButton||i.classList.add("no_cancel"),this._ifPopup(function(){return i.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var e=this,n=this,r=this.domElement,o=this._events;function i(c,l,u){o.add(c,l,u)}i(r,"click",function(c){return c.preventDefault()}),qb(o,this._domH,function(c,l){return n._setHSLA(c)}),qb(o,this._domSL,function(c,l){return n._setHSLA(null,c,1-l)}),this.settings.alpha&&qb(o,this._domA,function(c,l){return n._setHSLA(null,null,null,1-l)});var a=this._domEdit;i(a,"input",function(c){n._setColor(this.value,{fromEditor:!0,failSilently:!0})}),i(a,"focus",function(c){var l=this;l.selectionStart===l.selectionEnd&&l.select()}),this._ifPopup(function(){var c=function(u){return e.closeHandler(u)};i(window,Cm,c),i(window,Vb,c),Wb(o,r,["Esc","Escape"],c);var l=function(u){e.__containedEvent=u.timeStamp};i(r,Cm,l),i(r,Vb,l),i(e._domCancel,"click",c)});var s=function(c){e._ifPopup(function(){return e.closeHandler(c)}),e.onDone&&e.onDone(e.colour)};i(this._domOkay,"click",s),Wb(o,r,["Enter"],s)}},{key:"_setPosition",value:function(){var e=this.settings.parent,n=this.domElement;e!==n.parentNode&&e.appendChild(n),this._ifPopup(function(r){getComputedStyle(e).position==="static"&&(e.style.position="relative");var o=r===!0?"popup_right":"popup_"+r;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(i){i===o?n.classList.add(i):n.classList.remove(i)}),n.classList.add(o)})}},{key:"_setHSLA",value:function(e,n,r,o,i){i=i||{};var a=this.colour,s=a.hsla;[e,n,r,o].forEach(function(c,l){(c||c===0)&&(s[l]=c)}),a.hsla=s,this._updateUI(i),this.onChange&&!i.silent&&this.onChange(a)}},{key:"_updateUI",value:function(e){if(this.domElement){e=e||{};var n=this.colour,r=n.hsla,o="hsl("+360*r[0]+", 100%, 50%)",i=n.hslString,a=n.hslaString,s=this._domH,c=this._domSL,l=this._domA,u=Ua(".picker_selector",s),f=Ua(".picker_selector",c),d=Ua(".picker_selector",l);w(0,u,r[0]),this._domSL.style.backgroundColor=this._domH.style.color=o,w(0,f,r[1]),x(0,f,1-r[2]),c.style.color=i,x(0,d,1-r[3]);var h=i,p=h.replace("hsl","hsla").replace(")",", 0)"),v="linear-gradient("+[h,p]+")";if(this._domA.style.background=v+`, linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0 / 2em 2em,
|
|
135
|
-
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,!e.fromEditor){var m=this.settings.editorFormat,g=this.settings.alpha,y=void 0;switch(m){case"rgb":y=n.printRGB(g);break;case"hsl":y=n.printHSL(g);break;default:y=n.printHex(g)}this._domEdit.value=y}this._domSample.style.color=a}function w(k,b,j){b.style.left=100*j+"%"}function x(k,b,j){b.style.top=100*j+"%"}}},{key:"_ifPopup",value:function(e,n){this.settings.parent&&this.settings.popup?e&&e(this.settings.popup):n&&n()}},{key:"_toggleDOM",value:function(e){var n=this.domElement;if(!n)return!1;var r=e?"":"none",o=n.style.display!==r;return o&&(n.style.display=r),o}}]),t}(),Ub=document.createElement("style");Ub.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(Ub),TW.StyleElement=Ub;var M8e=Object.freeze({__proto__:null,default:TW});const R8e="JsonEditorVue",Om="modelValue",A7="update:modelValue",Am=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],EW=ho({name:R8e,props:{[Om]:{},mode:{type:String},...Object.fromEntries(Am.map(t=>[t,{type:Boolean,default:void 0}]))},emits:{[A7](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var o;const i=(o=gu())==null?void 0:o.proxy,a=rn(),s=rn(!1),c=rn(!1),l=Tse(d=>{if(c.value){c.value=!1;return}s.value=!0,n(A7,d.text===void 0?d.json:d.text)},100),u=d=>{n("update:mode",d)},f=(d,h)=>(...p)=>{d(...p),h(...p)};return r==null||r({jsonEditor:a}),Pf(()=>{var d;(d=a.value)==null||d.destroy()}),nd(()=>{const d=Fu([t.mode,sg.mode],{type:String}),h=Fu([t[Om],sg[Om]]),p=Object.fromEntries(Array.from(Am,m=>[m,Fu([t[m],sg[m]])]).filter(([,m])=>m!==void 0)),v=Fu([e,MW,{onChange:l,onChangeMode:u,mode:d,...p,...h!==void 0&&{content:{json:h}}}],{type:Object,mergeFunction:f});a.value=new jCe({target:i==null?void 0:i.$refs.jsonEditorRef,props:v}),Jr(()=>t[Om],m=>{if(s.value){s.value=!1;return}a.value&&(c.value=!0,a.value.set([void 0,""].includes(m)?{text:""}:{json:m}))},{deep:!0}),Jr(()=>t.mode,m=>{var g;(g=a.value)==null||g.updateProps({mode:m})}),Jr(()=>Array.from(Am,m=>t[m]),m=>{var g;(g=a.value)==null||g.updateProps(Object.fromEntries(Array.from(m,(y,w)=>[Am[w],y]).filter(([,y])=>y!==void 0)))}),Jr(()=>e,m=>{var g;const y={};m.onChange&&(y.onChange=l),m.onChangeMode&&(y.onChangeMode=u),(g=a.value)==null||g.updateProps(Object.getOwnPropertyNames(y).length>0?Fu([m,y],{type:Object,mergeFunction:f}):m)},{deep:!0}),r||(r=m=>{for(const g in m)i[g]=Ve(m[g])},r({jsonEditor:a}))}),()=>Jc("div",{ref:"jsonEditorRef"})}}),sg={},MW={};function N8e(t){return t.install=(e,n={})=>{const{props:r,attrs:o}=tse(n,EW.props);Object.assign(sg,r),Object.assign(MW,o),e.component(t.name,t)},t}const I8e=N8e(EW);const L8e={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,e)=>(t[e.id]=e)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[t.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,e){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(t,e){let n=0;this.panes=this.panes.map((r,o)=>(r.size=o===e?r.max:r.min,o!==e&&(n+=r.min),r)),this.panes[e].size-=n,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(t,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(t){const e=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:n-e.left,y:r-e.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=e-t),t*100/e},calculatePanesSize(t){const e=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(t),o),r);let a=[e,e+1],s=this.panes[a[0]]||null,c=this.panes[a[1]]||null;const l=s.max<100&&i>=s.max+n.prevPanesSize,u=c.max<100&&i<=100-(c.max+this.sumNextPanesSize(e+1));if(l||u){l?(s.size=s.max,c.size=Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,0)):(s.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(e+1),0),c.size=c.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:a}=f),s=this.panes[a[0]]||null,c=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),c!==null&&(c.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(t,e){const n=this.touch.activeSplitter,r=[n,n+1];return e<t.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,t.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,i)=>{i>r[0]&&i<=n&&(o.size=o.min,t.prevReachedMinPanes+=o.min)}),t.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,i)=>{i>0&&i<=n&&(o.size=o.min,t.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):e>100-t.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,t.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,i)=>{i>n&&i<r[1]&&(o.size=o.min,t.nextReachedMinPanes+=o.min)}),t.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(t.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,i)=>{i<this.panesCount-1&&i>=n+1&&(o.size=o.min,t.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:r}},sumPrevPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r<t?n.size:0),0)},sumNextPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r>t+1?n.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(e=>e.index<t&&e.size>e.min)||{}},findNextExpandedPane(t){return this.panes.find(e=>e.index>t+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const e=t.classList.contains("splitpanes__pane"),n=t.classList.contains("splitpanes__splitter");!e&&!n&&(t.parentNode.removeChild(t),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(t,e,n=!1){const r=t-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=i=>this.onMouseDown(i,r)),o.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(o.ondblclick=i=>this.onSplitterDblClick(i,r+1)),e.parentNode.insertBefore(o,e)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let e=0;t.forEach(n=>{n.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,n,!0):e&&this.addSplitter(e,n),e++)})},requestUpdate({target:t,...e}){const n=this.indexedPanes[t._.uid];Object.entries(e).forEach(([r,o])=>n[r]=o)},onPaneAdd(t){let e=-1;Array.from(t.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&e++,o===t.$el));const n=parseFloat(t.minSize),r=parseFloat(t.maxSize);this.panes.splice(e,0,{id:t._.uid,index:e,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((o,i)=>o.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(t){const e=this.panes.findIndex(r=>r.id===t._.uid),n=this.panes.splice(e,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:e}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const t=100/this.panesCount;let e=0;const n=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(t,o.max),o.min),e-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),e>.1&&this.readjustSizes(e,n,r)},initialPanesSizing(){let t=100;const e=[],n=[];let r=0;this.panes.forEach(i=>{t-=i.size,i.size!==null&&r++,i.size>=i.max&&e.push(i.id),i.size<=i.min&&n.push(i.id)});let o=100;t>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(t/(this.panesCount-r),i.max),i.min)),o-=i.size}),o>.1&&this.readjustSizes(t,e,n))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let n=100/this.panesCount,r=0;const o=[],i=[];t&&t.givenSize!==null&&(n=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(a=>{t&&t.givenSize!==null&&t.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),r>.1&&this.readjustSizes(r,o,i))},readjustSizes(t,e,n){let r;t>0?r=t/(this.panesCount-e.length):r=t/(this.panesCount-n.length),this.panes.forEach((o,i)=>{if(t>0&&!e.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;t-=s,o.size=a}else if(!n.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;t-=s,o.size=a}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.id].size}%`})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,n)=>{e.ondblclick=t?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Jc("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},D8e=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},z8e={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}};function B8e(t,e,n,r,o,i){return et(),zt("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=a=>i.onPaneClick(a,t._.uid)),style:xi(t.style)},[dr(t.$slots,"default")],4)}const P7=D8e(z8e,[["render",B8e]]),F8e="3.0.0-beta.17";const H8e={class:"relative n-bg-base flex flex-col"},q8e={class:"sticky top-0 z-2 px-4 pt-4"},V8e={class:"flex justify-between items-start",mb2:""},W8e={class:"flex space-x-5"},U8e={"text-xl":"",flex:"","items-center":"","gap-2":""},G8e={class:"flex items-center space-x-3 text-xl"},K8e={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},J8e={class:"px-5 py-2"},Q8e={"text-lg":"",flex:"","items-center":""},Z8e={class:"px-5 py-2"},Y8e={"text-lg":"",flex:"","items-center":""},X8e={class:"px-5 py-2"},e5e={"text-lg":"",flex:"","items-center":""},t5e={class:"px-5 py-2"},n5e={"text-lg":"",flex:"","items-center":""},r5e=["value","title"],o5e={key:0,class:"n-icon carbon:side-panel-open"},i5e={key:1,class:"n-icon carbon:open-panel-right"},a5e={class:"items-center space-x-3 hidden lg:flex"},s5e={class:"opacity-80 text-sm"},c5e={class:"opacity-80 text-sm"},l5e={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},u5e=Ue("span",{class:"hidden sm:block"},"Nuxt",-1),f5e=Ue("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),d5e={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},h5e={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},p5e={key:0,class:"h-full relative max-h-full"},v5e={key:0},m5e={key:0},g5e={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},y5e={class:""},b5e={class:"text-2xl font-semibold mb-3"},w5e=Ue("code",null,"defineOgImage()",-1),x5e={class:"text-lg opacity-80 my-3"},k5e=Ue("code",null,"defineOgImage()",-1),j5e=Ue("p",{class:"text-lg opacity-80"},[Ue("a",{href:"https://nuxtseo.com/og-image/getting-started/your-first-image",target:"_blank",class:"underline"}," Learn more ")],-1),_5e={key:1},S5e={class:"flex justify-between items-center text-sm w-full absolute top-0 left-0"},$5e={class:"flex items-center text-lg space-x-1 w-[100px]"},C5e={class:"text-sm"},O5e={key:1},A5e={class:"flex items-center w-[100px]"},P5e=["src"],T5e={key:2},E5e={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},M5e={key:0,class:"text-xs p-2 opacity-80"},R5e={class:"opacity-80 text-base mb-1"},N5e={class:"flex space-between"},I5e={class:"flex flex-grow items-center space-x-2 text-sm"},L5e={class:"flex items-center text-sm space-x-2"},D5e=Ue("label",{for:"emojis"},"Emojis",-1),z5e=Ue("option",{value:"noto"}," Noto ",-1),B5e=Ue("option",{value:"noto-v1"}," Noto v1 ",-1),F5e=Ue("option",{value:"twemoji"}," Twitter Emoji ",-1),H5e=Ue("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),q5e=Ue("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),V5e=Ue("option",{value:"emojione"}," Emojione ",-1),W5e=Ue("option",{value:"emojione-monotone"}," Emojione Monotone ",-1),U5e=Ue("option",{value:"emojione-v1"}," Emojione v1 ",-1),G5e=Ue("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),K5e=Ue("option",{value:"openmoji"}," Openmoji ",-1),J5e={class:"opacity-80 text-base mb-1"},Q5e={class:"relative"},Z5e={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},Y5e={class:"opacity-80 text-base mb-1"},X5e={key:0,class:"text-sm"},e6e={key:0,class:"text-sm"},t6e={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},n6e={class:"opacity-80 text-base mb-1"},r6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},o6e=["onClick"],i6e={class:"opacity-80 text-base mb-1"},a6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},s6e=["onClick"],c6e={class:"opacity-80 text-base mb-1"},l6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},u6e=["onClick"],f6e={key:2,class:"h-full max-h-full overflow-hidden"},d6e={class:"opacity-80 text-base mb-1"},h6e={class:"px-3 py-2 space-y-5"},p6e=["innerHTML"],v6e={class:"opacity-80 text-base mb-1"},m6e={class:"px-3 py-2 space-y-5"},g6e=["innerHTML"],y6e={key:3,class:"h-full max-h-full overflow-hidden"},b6e=Ue("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),w6e=[b6e],x6e=ho({__name:"app",async setup(t){let e,n;i9({title:"OG Image Playground"});const{data:r}=Aee(),o=gn(()=>{var U,ae,be,Oe;return((Oe=(be=(ae=(U=jc.value)==null?void 0:U.host.nuxt.vueApp.config)==null?void 0:ae.globalProperties)==null?void 0:be.$route)==null?void 0:Oe.path)||void 0});dh.value=o.value||Sg().query.path||"/",Q9.value=Sg().query.base||"/",Jr(()=>o,U=>{pi.value={},Mu.value=!1,dh.value=U});const i=rn("noto"),a=f$(),{data:s,pending:c,error:l}=a;Jr(s,U=>{var Oe;if(!U)return;io.value=Ve(U.options),i.value=io.value.emojis;const ae={...Ve(U.options)};delete ae.path,delete ae.socialPreview,delete ae.cacheTtl,delete ae.component,delete ae.provider,delete ae.renderer,delete ae.componentHash;const be=(Oe=r.value)==null?void 0:Oe.runtimeConfig.defaults;Object.keys(be).forEach(we=>{ae[we]===be[we]&&delete ae[we]}),py.value=typeof ae.props<"u"?ae.props:ae},{immediate:!0});const u=j2();function f(U){delete U.options,pi.value=U,Mu.value=!0,Ai()}const d=rn("design");function h(U){d.value="design",delete U.options,pi.value={...pi.value,...U},Mu.value=!0,Ai()}const p=gn(()=>u.value==="dark");async function v(U=!0){U&&await f$(),pi.value={},Mu.value=!1;const ae={...io.value};delete ae.path,delete ae.cache,delete ae.cacheTtl,delete ae.component,delete ae.socialPreview,delete ae.provider,delete ae.renderer,delete ae.componentHash,py.value=ae,U&&Ai()}[e,n]=wI(()=>v(!1)),await e,n();const m=gn(()=>{var U;return((U=r.value)==null?void 0:U.runtimeConfig.defaults)||{height:600,width:1200}}),g=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.height)||((ae=io.value)==null?void 0:ae.height)||m.value.height}),y=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.width)||((ae=io.value)==null?void 0:ae.width)||m.value.width}),w=gn(()=>y.value/g.value),x=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.extension)||((ae=io.value)==null?void 0:ae.extension)}),k=rn("twitter"),b=gn(()=>s.value?Dl(tc(S2.value,"/__og-image__/image",dh.value,`/og.${x.value}`),{timestamp:Y0.value,...pi.value}):""),j=gn(()=>{var U,ae,be,Oe,we,ee,Q;return k.value==="twitter"&&((be=(ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.twitter)!=null&&be.title)?(we=(Oe=io.value)==null?void 0:Oe.socialPreview)==null?void 0:we.twitter.title:(Q=(ee=io.value)==null?void 0:ee.socialPreview)==null?void 0:Q.og.title}),$=gn(()=>{var U,ae,be,Oe,we,ee,Q;return k.value==="twitter"&&((be=(ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.twitter)!=null&&be.description)?(we=(Oe=io.value)==null?void 0:Oe.socialPreview)==null?void 0:we.twitter.description:(Q=(ee=io.value)==null?void 0:ee.socialPreview)==null?void 0:Q.og.description}),S=gn(()=>{var U,ae,be,Oe;return yu(((ae=(U=s.value)==null?void 0:U.siteConfig)==null?void 0:ae.url)||"/").host||((Oe=(be=s.value)==null?void 0:be.siteConfig)==null?void 0:Oe.url)}),_=gn(()=>{var U,ae;return((ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.og.site_name)||S.value});function C(U){U===k.value?k.value="":k.value=U}const O=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.component)||((ae=io.value)==null?void 0:ae.component)||"OgImageFallback"}),L=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.renderer)||((ae=io.value)==null?void 0:ae.renderer)||"satori"}),E=gn(()=>{var ae;const U=((ae=r.value)==null?void 0:ae.componentNames)||[];return[U.find(be=>be.pascalName===O.value),...U.filter(be=>be.pascalName!==O.value)].filter(Boolean)}),D=gn(()=>E.value.filter(U=>U.category==="community")),B=gn(()=>E.value.filter(U=>U.category==="official")),T=gn(()=>E.value.filter(U=>U.category==="app")),P=rn(!0),A=rn(!1);function R(U){const ae=(x.value||"").toUpperCase();let be="";switch(x.value){case"png":be=L.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":be=L.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":be="Satori";break}A.value=!1,ae!=="HTML"?kd.value=`Generated ${y.value}x${g.value} ${U.sizeKb?`${U.sizeKb}kB`:""} ${ae} ${be?`with ${be}`:""} in ${U.timeTaken}ms.`:kd.value=""}Jr([L,pi],()=>{kd.value="Loading...",A.value=!0});function N(){window.open(b.value,"_blank")}const z=gn(()=>{var U,ae,be,Oe;return(Oe=(be=(ae=(U=jc.value)==null?void 0:U.host.nuxt.vueApp.config)==null?void 0:ae.globalProperties)==null?void 0:be.$route.matched[0].components)==null?void 0:Oe.default.__file});function I(){var U;(U=jc.value)==null||U.devtools.rpc.openInEditor(z.value)}function W(){var ae;const U=E.value.find(be=>be.pascalName===O.value);(ae=jc.value)==null||ae.devtools.rpc.openInEditor(U.path)}const F=gn(()=>O.value==="PageScreenshot");Jr(i,U=>{var ae;U!==((ae=io.value)==null?void 0:ae.emojis)&&h({emojis:U})});const le=gn(()=>{var ae,be,Oe,we;const U=(we=(Oe=(be=(ae=jc.value)==null?void 0:ae.host.nuxt.vueApp.config)==null?void 0:be.globalProperties)==null?void 0:Oe.$route.matched[0].components)==null?void 0:we.default.__file;return`pages/${U==null?void 0:U.split("pages/")[1]}`});return(U,ae)=>{const be=Rp,Oe=rY,we=Xl("VTooltip"),ee=W9,Q=vY,ue=mY,X=G9,Se=Z9,V=LY,q=JY,Z=vL,ge=aee,pe=vee,Pe=U9,me=Cee;return et(),zt("div",H8e,[Ue("header",q8e,[Ue("div",V8e,[Ue("div",W8e,[Ue("h1",U8e,[gt(be,{icon:"carbon:image-search",class:"text-blue-300"}),xn(" Nuxt OG Image "),gt(Oe,{class:"text-sm"},{default:Bt(()=>[xn(ao(Ve(F8e)),1)]),_:1})])]),Ue("div",G8e,[Ue("fieldset",K8e,[(et(),zt(Gr,null,xd(["design","gallery","debug","docs"],(xe,Fe)=>Ue("label",{key:Fe,class:cr(["relative n-border-base hover:n-bg-active cursor-pointer",[Fe?"border-l n-border-base ml--1px":"",xe===d.value?"n-bg-active":"",Ve(F)&&xe==="gallery"?"hidden":"",Ve(c)||Ve(l)?"n-disabled":""]])},[xe==="design"?(et(),zt("div",{key:0,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Design ")]),default:Bt(()=>[Ue("div",J8e,[Ue("h2",Q8e,[gt(be,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):_r("",!0),xe==="gallery"?(et(),zt("div",{key:1,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Gallery ")]),default:Bt(()=>[Ue("div",Z8e,[Ue("h2",Y8e,[gt(be,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):xe==="debug"?(et(),zt("div",{key:2,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Debug ")]),default:Bt(()=>[Ue("div",X8e,[Ue("h2",e5e,[gt(be,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):xe==="docs"?(et(),zt("div",{key:3,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Documentation ")]),default:Bt(()=>[Ue("div",t5e,[Ue("h2",n5e,[gt(be,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):_r("",!0),hI(Ue("input",{"onUpdate:modelValue":ae[0]||(ae[0]=Ye=>d.value=Ye),type:"radio",value:xe,title:xe,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,r5e),[[JG,d.value]])],2)),64))]),gt(we,null,{popper:Bt(()=>[xn(" Refresh ")]),default:Bt(()=>[Ue("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:ae[1]||(ae[1]=(...xe)=>Ve(Ai)&&Ve(Ai)(...xe))},[gt(be,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1}),gt(we,null,{popper:Bt(()=>[xn(" Toggle Sidebar ")]),default:Bt(()=>[Ue("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:ae[2]||(ae[2]=xe=>P.value=!P.value)},[P.value?(et(),zt("div",o5e)):(et(),zt("div",i5e))])]),_:1})]),Ue("div",a5e,[Ue("div",s5e,[gt(ee,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:Bt(()=>[gt(be,{icon:"carbon:favorite",class:"mr-[2px]"}),xn(" Sponsor ")]),_:1})]),Ue("div",c5e,[gt(ee,{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},{default:Bt(()=>[gt(be,{icon:"logos:github-icon",class:"mr-[2px]"}),xn(" Submit an issue ")]),_:1})]),Ue("a",l5e,[gt(Q),u5e,f5e])])])]),Ue("div",d5e,[Ue("main",h5e,[d.value==="design"?(et(),zt("div",p5e,[Ve(l)?(et(),zt("div",v5e,[Ve(l).message.includes("missing the Nuxt OG Image payload")?(et(),zt("div",m5e,[Ue("div",g5e,[Ue("div",y5e,[Ue("h2",b5e,[gt(be,{icon:"carbon:information",class:"text-blue-500"}),xn(" Oops! Did you forget "),w5e,xn("? ")]),Ue("p",x5e,[xn(" Getting started with Nuxt OG Image is easy, simply add the "),k5e,xn(" within setup script setup of your "),Ue("code",{class:"underline cursor-pointer",onClick:I},ao(Ve(le)),1),xn(" file. ")]),j5e])])])):(et(),zt("div",_5e,ao(Ve(l)),1))])):(et(),yn(Ve(L8e),{key:1,class:"default-theme",onResize:Ve(OY)},{default:Bt(()=>[gt(Ve(P7),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:Bt(()=>[Ue("div",S5e,[Ue("div",$5e,[gt(ue,{icon:"carbon:jpg",border:Ve(x)==="jpeg"||Ve(x)==="jpg",onClick:ae[3]||(ae[3]=xe=>h({extension:"jpg"}))},null,8,["border"]),gt(ue,{icon:"carbon:png",border:Ve(x)==="png",onClick:ae[4]||(ae[4]=xe=>h({extension:"png"}))},null,8,["border"]),Ve(L)!=="chromium"?(et(),yn(ue,{key:0,icon:"carbon:svg",border:Ve(x)==="svg",onClick:ae[5]||(ae[5]=xe=>h({extension:"svg"}))},null,8,["border"])):_r("",!0),Ve(F)?_r("",!0):(et(),yn(ue,{key:1,icon:"carbon:html",border:Ve(x)==="html",onClick:ae[6]||(ae[6]=xe=>h({extension:"html"}))},null,8,["border"]))]),Ue("div",C5e,[Ve(F)?(et(),zt("div",O5e," Screenshot of the current page. ")):(et(),zt("div",{key:0,class:"underline opacity-70 hover:opacity-90 transition cursor-pointer",onClick:W},ao(Ve(O))+".vue ",1))]),Ue("div",A5e,[gt(ue,{icon:"logos:twitter",border:k.value==="twitter",onClick:ae[7]||(ae[7]=xe=>C("twitter"))},null,8,["border"]),gt(ue,{icon:"logos:slack-icon",border:k.value==="slack",onClick:ae[8]||(ae[8]=xe=>C("slack"))},null,8,["border"])])]),k.value==="twitter"?(et(),yn(V,{key:0},{domain:Bt(()=>[xn(ao(Ve(S)),1)]),default:Bt(()=>[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onClick:N,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):k.value==="slack"?(et(),yn(q,{key:1},{favIcon:Bt(()=>{var xe;return[Ue("img",{src:`${(xe=Ve(S))!=null&&xe.includes("localhost")?"http":"https"}://${Ve(S)}/favicon.ico`},null,8,P5e)]}),siteName:Bt(()=>[xn(ao(Ve(_)),1)]),title:Bt(()=>[xn(ao(Ve(j)),1)]),description:Bt(()=>[xn(ao(Ve($)),1)]),default:Bt(()=>[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),class:"!h-[300px]","aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(et(),zt("div",T5e,[Ue("div",null,[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))])])),Ve(kd)?(et(),zt("div",E5e,ao(Ve(kd)),1)):_r("",!0)]),_:1}),P.value?(et(),yn(Ve(P7),{key:0,size:"40"},{default:Bt(()=>[Ve(Mu)?(et(),zt("div",M5e,[Ue("div",null,[xn(" To persist changes you'll need to update your component and / or props. "),Ue("button",{type:"button",class:"underline",onClick:ae[9]||(ae[9]=xe=>v(!0))}," Reset ")])])):_r("",!0),gt(pe,null,{text:Bt(()=>[Ue("h3",R5e,[gt(Z,{name:"carbon:gui-management",class:"mr-1"}),xn(" Render ")])]),default:Bt(()=>[Ue("div",N5e,[Ue("div",I5e,[Ve(F)?_r("",!0):(et(),yn(ue,{key:0,icon:"logos:vercel-icon",border:Ve(L)==="satori",onClick:ae[10]||(ae[10]=xe=>h({renderer:"satori"}))},{default:Bt(()=>[xn(" Satori ")]),_:1},8,["border"])),gt(ue,{icon:"logos:chrome",border:Ve(L)==="chromium",onClick:ae[11]||(ae[11]=xe=>h({renderer:"chromium"}))},{default:Bt(()=>[xn(" Chromium ")]),_:1},8,["border"])]),Ue("div",L5e,[D5e,gt(ge,{id:"emojis",modelValue:i.value,"onUpdate:modelValue":ae[12]||(ae[12]=xe=>i.value=xe)},{default:Bt(()=>[z5e,B5e,F5e,H5e,q5e,V5e,W5e,U5e,G5e,K5e]),_:1},8,["modelValue"])])])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",J5e,[gt(Z,{name:"carbon:operations-record",class:"mr-1"}),xn(" Props ")])]),default:Bt(()=>[Ue("div",Q5e,[gt(Ve(I8e),{"model-value":Ve(py),class:cr(Ve(p)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":f},null,8,["model-value","class"]),Ve(Mu)?(et(),zt("span",Z5e,"modified")):_r("",!0)])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",Y5e,[gt(be,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),xn(" Compatibility ")])]),default:Bt(()=>{var xe;return[(xe=Ve(s))!=null&&xe.compatibility?(et(),zt("div",X5e,[Ve(s).compatibility.length?(et(!0),zt(Gr,{key:1},xd(Ve(s).compatibility,(Fe,Ye)=>(et(),zt("div",{key:Ye,class:"mb-2 space-x-2 flex items-center opacity-65"},[gt(be,{icon:"carbon:warning",class:"text-yellow-500"}),Ue("div",null,ao(Fe),1)]))),128)):(et(),zt("div",e6e,[gt(be,{icon:"carbon:checkmark",class:"text-green-500"}),xn(" Looks good. ")]))])):_r("",!0)]}),_:1})]),_:1})):_r("",!0)]),_:1},8,["onResize"]))])):d.value==="gallery"?(et(),zt("div",t6e,[gt(pe,null,{text:Bt(()=>[Ue("h3",n6e,[gt(Z,{name:"carbon:app",class:"mr-1"}),xn(" App ")])]),default:Bt(()=>[Ue("div",r6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(T),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,o6e))),128))])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",i6e,[gt(Z,{name:"carbon:list-checked",class:"mr-1"}),xn(" Official ")])]),default:Bt(()=>[Ue("div",a6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(B),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,s6e))),128))])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",c6e,[gt(Z,{name:"carbon:airline-passenger-care",class:"mr-1"}),xn(" Community ")])]),default:Bt(()=>[Ue("div",l6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(D),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,u6e))),128))])]),_:1})])):d.value==="debug"?(et(),zt("div",f6e,[gt(pe,null,{text:Bt(()=>[Ue("h3",d6e,[gt(be,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),xn(" Path Debug ")])]),default:Bt(()=>[Ue("div",h6e,[Ue("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ve(x$)(JSON.stringify(Ve(s)||{},null,2),"json")},null,8,p6e)])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",v6e,[gt(be,{icon:"carbon:settings",class:"mr-1"}),xn(" Runtime Config ")])]),default:Bt(()=>{var xe;return[Ue("div",m6e,[Ue("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ve(x$)(JSON.stringify(((xe=Ve(r))==null?void 0:xe.runtimeConfig)||{},null,2),"json")},null,8,g6e)])]}),_:1})])):d.value==="docs"?(et(),zt("div",y6e,w6e)):_r("",!0)])])])}}});const k6e={__name:"nuxt-error-page",props:{error:Object},setup(t){const n=t.error;(n.stack||"").split(`
|
|
135
|
+
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,!e.fromEditor){var m=this.settings.editorFormat,g=this.settings.alpha,y=void 0;switch(m){case"rgb":y=n.printRGB(g);break;case"hsl":y=n.printHSL(g);break;default:y=n.printHex(g)}this._domEdit.value=y}this._domSample.style.color=a}function w(k,b,j){b.style.left=100*j+"%"}function x(k,b,j){b.style.top=100*j+"%"}}},{key:"_ifPopup",value:function(e,n){this.settings.parent&&this.settings.popup?e&&e(this.settings.popup):n&&n()}},{key:"_toggleDOM",value:function(e){var n=this.domElement;if(!n)return!1;var r=e?"":"none",o=n.style.display!==r;return o&&(n.style.display=r),o}}]),t}(),Ub=document.createElement("style");Ub.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(Ub),TW.StyleElement=Ub;var M8e=Object.freeze({__proto__:null,default:TW});const R8e="JsonEditorVue",Om="modelValue",A7="update:modelValue",Am=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],EW=ho({name:R8e,props:{[Om]:{},mode:{type:String},...Object.fromEntries(Am.map(t=>[t,{type:Boolean,default:void 0}]))},emits:{[A7](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var o;const i=(o=gu())==null?void 0:o.proxy,a=rn(),s=rn(!1),c=rn(!1),l=Tse(d=>{if(c.value){c.value=!1;return}s.value=!0,n(A7,d.text===void 0?d.json:d.text)},100),u=d=>{n("update:mode",d)},f=(d,h)=>(...p)=>{d(...p),h(...p)};return r==null||r({jsonEditor:a}),Pf(()=>{var d;(d=a.value)==null||d.destroy()}),nd(()=>{const d=Fu([t.mode,sg.mode],{type:String}),h=Fu([t[Om],sg[Om]]),p=Object.fromEntries(Array.from(Am,m=>[m,Fu([t[m],sg[m]])]).filter(([,m])=>m!==void 0)),v=Fu([e,MW,{onChange:l,onChangeMode:u,mode:d,...p,...h!==void 0&&{content:{json:h}}}],{type:Object,mergeFunction:f});a.value=new jCe({target:i==null?void 0:i.$refs.jsonEditorRef,props:v}),Jr(()=>t[Om],m=>{if(s.value){s.value=!1;return}a.value&&(c.value=!0,a.value.set([void 0,""].includes(m)?{text:""}:{json:m}))},{deep:!0}),Jr(()=>t.mode,m=>{var g;(g=a.value)==null||g.updateProps({mode:m})}),Jr(()=>Array.from(Am,m=>t[m]),m=>{var g;(g=a.value)==null||g.updateProps(Object.fromEntries(Array.from(m,(y,w)=>[Am[w],y]).filter(([,y])=>y!==void 0)))}),Jr(()=>e,m=>{var g;const y={};m.onChange&&(y.onChange=l),m.onChangeMode&&(y.onChangeMode=u),(g=a.value)==null||g.updateProps(Object.getOwnPropertyNames(y).length>0?Fu([m,y],{type:Object,mergeFunction:f}):m)},{deep:!0}),r||(r=m=>{for(const g in m)i[g]=Ve(m[g])},r({jsonEditor:a}))}),()=>Jc("div",{ref:"jsonEditorRef"})}}),sg={},MW={};function N8e(t){return t.install=(e,n={})=>{const{props:r,attrs:o}=tse(n,EW.props);Object.assign(sg,r),Object.assign(MW,o),e.component(t.name,t)},t}const I8e=N8e(EW);const L8e={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((t,e)=>(t[e.id]=e)&&t,{})}},methods:{updatePaneComponents(){this.panes.forEach(t=>{t.update&&t.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[t.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(t,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(t){this.touch.mouseDown&&(t.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(t)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(t,e){"ontouchstart"in window&&(t.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(t,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(t,e){let n=0;this.panes=this.panes.map((r,o)=>(r.size=o===e?r.max:r.min,o!==e&&(n+=r.min),r)),this.panes[e].size-=n,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(t,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(t){const e=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:n-e.left,y:r-e.top}},getCurrentDragPercentage(t){t=t[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(t=e-t),t*100/e},calculatePanesSize(t){const e=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),i=Math.max(Math.min(this.getCurrentDragPercentage(t),o),r);let a=[e,e+1],s=this.panes[a[0]]||null,c=this.panes[a[1]]||null;const l=s.max<100&&i>=s.max+n.prevPanesSize,u=c.max<100&&i<=100-(c.max+this.sumNextPanesSize(e+1));if(l||u){l?(s.size=s.max,c.size=Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,0)):(s.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(e+1),0),c.size=c.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:a}=f),s=this.panes[a[0]]||null,c=this.panes[a[1]]||null}s!==null&&(s.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),c!==null&&(c.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(t,e){const n=this.touch.activeSplitter,r=[n,n+1];return e<t.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,t.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,i)=>{i>r[0]&&i<=n&&(o.size=o.min,t.prevReachedMinPanes+=o.min)}),t.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(t.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,i)=>{i>0&&i<=n&&(o.size=o.min,t.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-t.prevReachedMinPanes-this.panes[0].min-t.prevPanesSize-t.nextPanesSize,null):e>100-t.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,t.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,i)=>{i>n&&i<r[1]&&(o.size=o.min,t.nextReachedMinPanes+=o.min)}),t.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(t.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,i)=>{i<this.panesCount-1&&i>=n+1&&(o.size=o.min,t.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-t.prevPanesSize-t.nextReachedMinPanes-this.panes[this.panesCount-1].min-t.nextPanesSize,null):{sums:t,panesToResize:r}},sumPrevPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r<t?n.size:0),0)},sumNextPanesSize(t){return this.panes.reduce((e,n,r)=>e+(r>t+1?n.size:0),0)},findPrevExpandedPane(t){return[...this.panes].reverse().find(e=>e.index<t&&e.size>e.min)||{}},findNextExpandedPane(t){return this.panes.find(e=>e.index>t+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(t=>{const e=t.classList.contains("splitpanes__pane"),n=t.classList.contains("splitpanes__splitter");!e&&!n&&(t.parentNode.removeChild(t),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(t,e,n=!1){const r=t-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=i=>this.onMouseDown(i,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=i=>this.onMouseDown(i,r)),o.onclick=i=>this.onSplitterClick(i,r+1)),this.dblClickSplitter&&(o.ondblclick=i=>this.onSplitterDblClick(i,r+1)),e.parentNode.insertBefore(o,e)},removeSplitter(t){t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.parentNode.removeChild(t)},redoSplitters(){const t=Array.from(this.container.children);t.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let e=0;t.forEach(n=>{n.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,n,!0):e&&this.addSplitter(e,n),e++)})},requestUpdate({target:t,...e}){const n=this.indexedPanes[t._.uid];Object.entries(e).forEach(([r,o])=>n[r]=o)},onPaneAdd(t){let e=-1;Array.from(t.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&e++,o===t.$el));const n=parseFloat(t.minSize),r=parseFloat(t.maxSize);this.panes.splice(e,0,{id:t._.uid,index:e,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:t.size===null?null:parseFloat(t.size),givenSize:t.size,update:t.update}),this.panes.forEach((o,i)=>o.index=i),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(t){const e=this.panes.findIndex(r=>r.id===t._.uid),n=this.panes.splice(e,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:e}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},resetPaneSizes(t={}){!t.addedPane&&!t.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(t):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const t=100/this.panesCount;let e=0;const n=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(t,o.max),o.min),e-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),e>.1&&this.readjustSizes(e,n,r)},initialPanesSizing(){let t=100;const e=[],n=[];let r=0;this.panes.forEach(i=>{t-=i.size,i.size!==null&&r++,i.size>=i.max&&e.push(i.id),i.size<=i.min&&n.push(i.id)});let o=100;t>.1&&(this.panes.forEach(i=>{i.size===null&&(i.size=Math.max(Math.min(t/(this.panesCount-r),i.max),i.min)),o-=i.size}),o>.1&&this.readjustSizes(t,e,n))},equalizeAfterAddOrRemove({addedPane:t,removedPane:e}={}){let n=100/this.panesCount,r=0;const o=[],i=[];t&&t.givenSize!==null&&(n=(100-t.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(a=>{t&&t.givenSize!==null&&t.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),r-=a.size,a.size>=a.max&&o.push(a.id),a.size<=a.min&&i.push(a.id)}),r>.1&&this.readjustSizes(r,o,i))},readjustSizes(t,e,n){let r;t>0?r=t/(this.panesCount-e.length):r=t/(this.panesCount-n.length),this.panes.forEach((o,i)=>{if(t>0&&!e.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;t-=s,o.size=a}else if(!n.includes(o.id)){const a=Math.max(Math.min(o.size+r,o.max),o.min),s=a-o.size;t-=s,o.size=a}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.id].size}%`})}),Math.abs(t)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(t){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,n)=>{e.ondblclick=t?r=>this.onSplitterDblClick(r,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Jc("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},D8e=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},z8e={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(t){this.style=t}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(t){this.requestUpdate({target:this,size:t})},minSizeNumber(t){this.requestUpdate({target:this,min:t})},maxSizeNumber(t){this.requestUpdate({target:this,max:t})}}};function B8e(t,e,n,r,o,i){return et(),zt("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=a=>i.onPaneClick(a,t._.uid)),style:xi(t.style)},[dr(t.$slots,"default")],4)}const P7=D8e(z8e,[["render",B8e]]),F8e="3.0.0-beta.19";const H8e={class:"relative n-bg-base flex flex-col"},q8e={class:"sticky top-0 z-2 px-4 pt-4"},V8e={class:"flex justify-between items-start",mb2:""},W8e={class:"flex space-x-5"},U8e={"text-xl":"",flex:"","items-center":"","gap-2":""},G8e={class:"flex items-center space-x-3 text-xl"},K8e={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},J8e={class:"px-5 py-2"},Q8e={"text-lg":"",flex:"","items-center":""},Z8e={class:"px-5 py-2"},Y8e={"text-lg":"",flex:"","items-center":""},X8e={class:"px-5 py-2"},e5e={"text-lg":"",flex:"","items-center":""},t5e={class:"px-5 py-2"},n5e={"text-lg":"",flex:"","items-center":""},r5e=["value","title"],o5e={key:0,class:"n-icon carbon:side-panel-open"},i5e={key:1,class:"n-icon carbon:open-panel-right"},a5e={class:"items-center space-x-3 hidden lg:flex"},s5e={class:"opacity-80 text-sm"},c5e={class:"opacity-80 text-sm"},l5e={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},u5e=Ue("span",{class:"hidden sm:block"},"Nuxt",-1),f5e=Ue("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),d5e={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},h5e={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},p5e={key:0,class:"h-full relative max-h-full"},v5e={key:0},m5e={key:0},g5e={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},y5e={class:""},b5e={class:"text-2xl font-semibold mb-3"},w5e=Ue("code",null,"defineOgImage()",-1),x5e={class:"text-lg opacity-80 my-3"},k5e=Ue("code",null,"defineOgImage()",-1),j5e=Ue("p",{class:"text-lg opacity-80"},[Ue("a",{href:"https://nuxtseo.com/og-image/getting-started/your-first-image",target:"_blank",class:"underline"}," Learn more ")],-1),_5e={key:1},S5e={class:"flex justify-between items-center text-sm w-full absolute top-0 left-0"},$5e={class:"flex items-center text-lg space-x-1 w-[100px]"},C5e={class:"text-sm"},O5e={key:1},A5e={class:"flex items-center w-[100px]"},P5e=["src"],T5e={key:2},E5e={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},M5e={key:0,class:"text-xs p-2 opacity-80"},R5e={class:"opacity-80 text-base mb-1"},N5e={class:"flex space-between"},I5e={class:"flex flex-grow items-center space-x-2 text-sm"},L5e={class:"flex items-center text-sm space-x-2"},D5e=Ue("label",{for:"emojis"},"Emojis",-1),z5e=Ue("option",{value:"noto"}," Noto ",-1),B5e=Ue("option",{value:"noto-v1"}," Noto v1 ",-1),F5e=Ue("option",{value:"twemoji"}," Twitter Emoji ",-1),H5e=Ue("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),q5e=Ue("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),V5e=Ue("option",{value:"emojione"}," Emojione ",-1),W5e=Ue("option",{value:"emojione-monotone"}," Emojione Monotone ",-1),U5e=Ue("option",{value:"emojione-v1"}," Emojione v1 ",-1),G5e=Ue("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),K5e=Ue("option",{value:"openmoji"}," Openmoji ",-1),J5e={class:"opacity-80 text-base mb-1"},Q5e={class:"relative"},Z5e={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},Y5e={class:"opacity-80 text-base mb-1"},X5e={key:0,class:"text-sm"},e6e={key:0,class:"text-sm"},t6e={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},n6e={class:"opacity-80 text-base mb-1"},r6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},o6e=["onClick"],i6e={class:"opacity-80 text-base mb-1"},a6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},s6e=["onClick"],c6e={class:"opacity-80 text-base mb-1"},l6e={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},u6e=["onClick"],f6e={key:2,class:"h-full max-h-full overflow-hidden"},d6e={class:"opacity-80 text-base mb-1"},h6e={class:"px-3 py-2 space-y-5"},p6e=["innerHTML"],v6e={class:"opacity-80 text-base mb-1"},m6e={class:"px-3 py-2 space-y-5"},g6e=["innerHTML"],y6e={key:3,class:"h-full max-h-full overflow-hidden"},b6e=Ue("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),w6e=[b6e],x6e=ho({__name:"app",async setup(t){let e,n;i9({title:"OG Image Playground"});const{data:r}=Aee(),o=gn(()=>{var U,ae,be,Oe;return((Oe=(be=(ae=(U=jc.value)==null?void 0:U.host.nuxt.vueApp.config)==null?void 0:ae.globalProperties)==null?void 0:be.$route)==null?void 0:Oe.path)||void 0});dh.value=o.value||Sg().query.path||"/",Q9.value=Sg().query.base||"/",Jr(()=>o,U=>{pi.value={},Mu.value=!1,dh.value=U});const i=rn("noto"),a=f$(),{data:s,pending:c,error:l}=a;Jr(s,U=>{var Oe;if(!U)return;io.value=Ve(U.options),i.value=io.value.emojis;const ae={...Ve(U.options)};delete ae.path,delete ae.socialPreview,delete ae.cacheTtl,delete ae.component,delete ae.provider,delete ae.renderer,delete ae.componentHash;const be=(Oe=r.value)==null?void 0:Oe.runtimeConfig.defaults;Object.keys(be).forEach(we=>{ae[we]===be[we]&&delete ae[we]}),py.value=typeof ae.props<"u"?ae.props:ae},{immediate:!0});const u=j2();function f(U){delete U.options,pi.value=U,Mu.value=!0,Ai()}const d=rn("design");function h(U){d.value="design",delete U.options,pi.value={...pi.value,...U},Mu.value=!0,Ai()}const p=gn(()=>u.value==="dark");async function v(U=!0){U&&await f$(),pi.value={},Mu.value=!1;const ae={...io.value};delete ae.path,delete ae.cache,delete ae.cacheTtl,delete ae.component,delete ae.socialPreview,delete ae.provider,delete ae.renderer,delete ae.componentHash,py.value=ae,U&&Ai()}[e,n]=wI(()=>v(!1)),await e,n();const m=gn(()=>{var U;return((U=r.value)==null?void 0:U.runtimeConfig.defaults)||{height:600,width:1200}}),g=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.height)||((ae=io.value)==null?void 0:ae.height)||m.value.height}),y=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.width)||((ae=io.value)==null?void 0:ae.width)||m.value.width}),w=gn(()=>y.value/g.value),x=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.extension)||((ae=io.value)==null?void 0:ae.extension)}),k=rn("twitter"),b=gn(()=>s.value?Dl(tc(S2.value,"/__og-image__/image",dh.value,`/og.${x.value}`),{timestamp:Y0.value,...pi.value}):""),j=gn(()=>{var U,ae,be,Oe,we,ee,Q;return k.value==="twitter"&&((be=(ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.twitter)!=null&&be.title)?(we=(Oe=io.value)==null?void 0:Oe.socialPreview)==null?void 0:we.twitter.title:(Q=(ee=io.value)==null?void 0:ee.socialPreview)==null?void 0:Q.og.title}),$=gn(()=>{var U,ae,be,Oe,we,ee,Q;return k.value==="twitter"&&((be=(ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.twitter)!=null&&be.description)?(we=(Oe=io.value)==null?void 0:Oe.socialPreview)==null?void 0:we.twitter.description:(Q=(ee=io.value)==null?void 0:ee.socialPreview)==null?void 0:Q.og.description}),S=gn(()=>{var U,ae,be,Oe;return yu(((ae=(U=s.value)==null?void 0:U.siteConfig)==null?void 0:ae.url)||"/").host||((Oe=(be=s.value)==null?void 0:be.siteConfig)==null?void 0:Oe.url)}),_=gn(()=>{var U,ae;return((ae=(U=io.value)==null?void 0:U.socialPreview)==null?void 0:ae.og.site_name)||S.value});function C(U){U===k.value?k.value="":k.value=U}const O=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.component)||((ae=io.value)==null?void 0:ae.component)||"OgImageFallback"}),L=gn(()=>{var U,ae;return((U=pi.value)==null?void 0:U.renderer)||((ae=io.value)==null?void 0:ae.renderer)||"satori"}),E=gn(()=>{var ae;const U=((ae=r.value)==null?void 0:ae.componentNames)||[];return[U.find(be=>be.pascalName===O.value),...U.filter(be=>be.pascalName!==O.value)].filter(Boolean)}),D=gn(()=>E.value.filter(U=>U.category==="community")),B=gn(()=>E.value.filter(U=>U.category==="official")),T=gn(()=>E.value.filter(U=>U.category==="app")),P=rn(!0),A=rn(!1);function R(U){const ae=(x.value||"").toUpperCase();let be="";switch(x.value){case"png":be=L.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":be=L.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":be="Satori";break}A.value=!1,ae!=="HTML"?kd.value=`Generated ${y.value}x${g.value} ${U.sizeKb?`${U.sizeKb}kB`:""} ${ae} ${be?`with ${be}`:""} in ${U.timeTaken}ms.`:kd.value=""}Jr([L,pi],()=>{kd.value="Loading...",A.value=!0});function N(){window.open(b.value,"_blank")}const z=gn(()=>{var U,ae,be,Oe;return(Oe=(be=(ae=(U=jc.value)==null?void 0:U.host.nuxt.vueApp.config)==null?void 0:ae.globalProperties)==null?void 0:be.$route.matched[0].components)==null?void 0:Oe.default.__file});function I(){var U;(U=jc.value)==null||U.devtools.rpc.openInEditor(z.value)}function W(){var ae;const U=E.value.find(be=>be.pascalName===O.value);(ae=jc.value)==null||ae.devtools.rpc.openInEditor(U.path)}const F=gn(()=>O.value==="PageScreenshot");Jr(i,U=>{var ae;U!==((ae=io.value)==null?void 0:ae.emojis)&&h({emojis:U})});const le=gn(()=>{var ae,be,Oe,we;const U=(we=(Oe=(be=(ae=jc.value)==null?void 0:ae.host.nuxt.vueApp.config)==null?void 0:be.globalProperties)==null?void 0:Oe.$route.matched[0].components)==null?void 0:we.default.__file;return`pages/${U==null?void 0:U.split("pages/")[1]}`});return(U,ae)=>{const be=Rp,Oe=rY,we=Xl("VTooltip"),ee=W9,Q=vY,ue=mY,X=G9,Se=Z9,V=LY,q=JY,Z=vL,ge=aee,pe=vee,Pe=U9,me=Cee;return et(),zt("div",H8e,[Ue("header",q8e,[Ue("div",V8e,[Ue("div",W8e,[Ue("h1",U8e,[gt(be,{icon:"carbon:image-search",class:"text-blue-300"}),xn(" Nuxt OG Image "),gt(Oe,{class:"text-sm"},{default:Bt(()=>[xn(ao(Ve(F8e)),1)]),_:1})])]),Ue("div",G8e,[Ue("fieldset",K8e,[(et(),zt(Gr,null,xd(["design","gallery","debug","docs"],(xe,Fe)=>Ue("label",{key:Fe,class:cr(["relative n-border-base hover:n-bg-active cursor-pointer",[Fe?"border-l n-border-base ml--1px":"",xe===d.value?"n-bg-active":"",Ve(F)&&xe==="gallery"?"hidden":"",Ve(c)||Ve(l)?"n-disabled":""]])},[xe==="design"?(et(),zt("div",{key:0,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Design ")]),default:Bt(()=>[Ue("div",J8e,[Ue("h2",Q8e,[gt(be,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):_r("",!0),xe==="gallery"?(et(),zt("div",{key:1,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Gallery ")]),default:Bt(()=>[Ue("div",Z8e,[Ue("h2",Y8e,[gt(be,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):xe==="debug"?(et(),zt("div",{key:2,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Debug ")]),default:Bt(()=>[Ue("div",X8e,[Ue("h2",e5e,[gt(be,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):xe==="docs"?(et(),zt("div",{key:3,class:cr([xe===d.value?"":"op35"])},[gt(we,null,{popper:Bt(()=>[xn(" Documentation ")]),default:Bt(()=>[Ue("div",t5e,[Ue("h2",n5e,[gt(be,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):_r("",!0),hI(Ue("input",{"onUpdate:modelValue":ae[0]||(ae[0]=Ye=>d.value=Ye),type:"radio",value:xe,title:xe,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,r5e),[[JG,d.value]])],2)),64))]),gt(we,null,{popper:Bt(()=>[xn(" Refresh ")]),default:Bt(()=>[Ue("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:ae[1]||(ae[1]=(...xe)=>Ve(Ai)&&Ve(Ai)(...xe))},[gt(be,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1}),gt(we,null,{popper:Bt(()=>[xn(" Toggle Sidebar ")]),default:Bt(()=>[Ue("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:ae[2]||(ae[2]=xe=>P.value=!P.value)},[P.value?(et(),zt("div",o5e)):(et(),zt("div",i5e))])]),_:1})]),Ue("div",a5e,[Ue("div",s5e,[gt(ee,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:Bt(()=>[gt(be,{icon:"carbon:favorite",class:"mr-[2px]"}),xn(" Sponsor ")]),_:1})]),Ue("div",c5e,[gt(ee,{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},{default:Bt(()=>[gt(be,{icon:"logos:github-icon",class:"mr-[2px]"}),xn(" Submit an issue ")]),_:1})]),Ue("a",l5e,[gt(Q),u5e,f5e])])])]),Ue("div",d5e,[Ue("main",h5e,[d.value==="design"?(et(),zt("div",p5e,[Ve(l)?(et(),zt("div",v5e,[Ve(l).message.includes("missing the Nuxt OG Image payload")?(et(),zt("div",m5e,[Ue("div",g5e,[Ue("div",y5e,[Ue("h2",b5e,[gt(be,{icon:"carbon:information",class:"text-blue-500"}),xn(" Oops! Did you forget "),w5e,xn("? ")]),Ue("p",x5e,[xn(" Getting started with Nuxt OG Image is easy, simply add the "),k5e,xn(" within setup script setup of your "),Ue("code",{class:"underline cursor-pointer",onClick:I},ao(Ve(le)),1),xn(" file. ")]),j5e])])])):(et(),zt("div",_5e,ao(Ve(l)),1))])):(et(),yn(Ve(L8e),{key:1,class:"default-theme",onResize:Ve(OY)},{default:Bt(()=>[gt(Ve(P7),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:Bt(()=>[Ue("div",S5e,[Ue("div",$5e,[gt(ue,{icon:"carbon:jpg",border:Ve(x)==="jpeg"||Ve(x)==="jpg",onClick:ae[3]||(ae[3]=xe=>h({extension:"jpg"}))},null,8,["border"]),gt(ue,{icon:"carbon:png",border:Ve(x)==="png",onClick:ae[4]||(ae[4]=xe=>h({extension:"png"}))},null,8,["border"]),Ve(L)!=="chromium"?(et(),yn(ue,{key:0,icon:"carbon:svg",border:Ve(x)==="svg",onClick:ae[5]||(ae[5]=xe=>h({extension:"svg"}))},null,8,["border"])):_r("",!0),Ve(F)?_r("",!0):(et(),yn(ue,{key:1,icon:"carbon:html",border:Ve(x)==="html",onClick:ae[6]||(ae[6]=xe=>h({extension:"html"}))},null,8,["border"]))]),Ue("div",C5e,[Ve(F)?(et(),zt("div",O5e," Screenshot of the current page. ")):(et(),zt("div",{key:0,class:"underline opacity-70 hover:opacity-90 transition cursor-pointer",onClick:W},ao(Ve(O))+".vue ",1))]),Ue("div",A5e,[gt(ue,{icon:"logos:twitter",border:k.value==="twitter",onClick:ae[7]||(ae[7]=xe=>C("twitter"))},null,8,["border"]),gt(ue,{icon:"logos:slack-icon",border:k.value==="slack",onClick:ae[8]||(ae[8]=xe=>C("slack"))},null,8,["border"])])]),k.value==="twitter"?(et(),yn(V,{key:0},{domain:Bt(()=>[xn(ao(Ve(S)),1)]),default:Bt(()=>[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onClick:N,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):k.value==="slack"?(et(),yn(q,{key:1},{favIcon:Bt(()=>{var xe;return[Ue("img",{src:`${(xe=Ve(S))!=null&&xe.includes("localhost")?"http":"https"}://${Ve(S)}/favicon.ico`},null,8,P5e)]}),siteName:Bt(()=>[xn(ao(Ve(_)),1)]),title:Bt(()=>[xn(ao(Ve(j)),1)]),description:Bt(()=>[xn(ao(Ve($)),1)]),default:Bt(()=>[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),class:"!h-[300px]","aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(et(),zt("div",T5e,[Ue("div",null,[Ve(x)!=="html"?(et(),yn(X,{key:0,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"])):(et(),yn(Se,{key:1,src:Ve(b),"aspect-ratio":Ve(w),onLoad:R,onRefresh:Ve(Ai)},null,8,["src","aspect-ratio","onRefresh"]))])])),Ve(kd)?(et(),zt("div",E5e,ao(Ve(kd)),1)):_r("",!0)]),_:1}),P.value?(et(),yn(Ve(P7),{key:0,size:"40"},{default:Bt(()=>[Ve(Mu)?(et(),zt("div",M5e,[Ue("div",null,[xn(" To persist changes you'll need to update your component and / or props. "),Ue("button",{type:"button",class:"underline",onClick:ae[9]||(ae[9]=xe=>v(!0))}," Reset ")])])):_r("",!0),gt(pe,null,{text:Bt(()=>[Ue("h3",R5e,[gt(Z,{name:"carbon:gui-management",class:"mr-1"}),xn(" Render ")])]),default:Bt(()=>[Ue("div",N5e,[Ue("div",I5e,[Ve(F)?_r("",!0):(et(),yn(ue,{key:0,icon:"logos:vercel-icon",border:Ve(L)==="satori",onClick:ae[10]||(ae[10]=xe=>h({renderer:"satori"}))},{default:Bt(()=>[xn(" Satori ")]),_:1},8,["border"])),gt(ue,{icon:"logos:chrome",border:Ve(L)==="chromium",onClick:ae[11]||(ae[11]=xe=>h({renderer:"chromium"}))},{default:Bt(()=>[xn(" Chromium ")]),_:1},8,["border"])]),Ue("div",L5e,[D5e,gt(ge,{id:"emojis",modelValue:i.value,"onUpdate:modelValue":ae[12]||(ae[12]=xe=>i.value=xe)},{default:Bt(()=>[z5e,B5e,F5e,H5e,q5e,V5e,W5e,U5e,G5e,K5e]),_:1},8,["modelValue"])])])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",J5e,[gt(Z,{name:"carbon:operations-record",class:"mr-1"}),xn(" Props ")])]),default:Bt(()=>[Ue("div",Q5e,[gt(Ve(I8e),{"model-value":Ve(py),class:cr(Ve(p)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":f},null,8,["model-value","class"]),Ve(Mu)?(et(),zt("span",Z5e,"modified")):_r("",!0)])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",Y5e,[gt(be,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),xn(" Compatibility ")])]),default:Bt(()=>{var xe;return[(xe=Ve(s))!=null&&xe.compatibility?(et(),zt("div",X5e,[Ve(s).compatibility.length?(et(!0),zt(Gr,{key:1},xd(Ve(s).compatibility,(Fe,Ye)=>(et(),zt("div",{key:Ye,class:"mb-2 space-x-2 flex items-center opacity-65"},[gt(be,{icon:"carbon:warning",class:"text-yellow-500"}),Ue("div",null,ao(Fe),1)]))),128)):(et(),zt("div",e6e,[gt(be,{icon:"carbon:checkmark",class:"text-green-500"}),xn(" Looks good. ")]))])):_r("",!0)]}),_:1})]),_:1})):_r("",!0)]),_:1},8,["onResize"]))])):d.value==="gallery"?(et(),zt("div",t6e,[gt(pe,null,{text:Bt(()=>[Ue("h3",n6e,[gt(Z,{name:"carbon:app",class:"mr-1"}),xn(" App ")])]),default:Bt(()=>[Ue("div",r6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(T),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,o6e))),128))])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",i6e,[gt(Z,{name:"carbon:list-checked",class:"mr-1"}),xn(" Official ")])]),default:Bt(()=>[Ue("div",a6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(B),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,s6e))),128))])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",c6e,[gt(Z,{name:"carbon:airline-passenger-care",class:"mr-1"}),xn(" Community ")])]),default:Bt(()=>[Ue("div",l6e,[A.value?(et(),yn(Pe,{key:0})):(et(!0),zt(Gr,{key:1},xd(Ve(D),xe=>(et(),zt("button",{key:xe.pascalName,class:"!p-0",onClick:Fe=>h({component:xe.pascalName})},[gt(me,{component:xe,src:Ve(Dl)(Ve(b),{component:xe.pascalName}),"aspect-ratio":Ve(w),active:xe.pascalName===Ve(O)},null,8,["component","src","aspect-ratio","active"])],8,u6e))),128))])]),_:1})])):d.value==="debug"?(et(),zt("div",f6e,[gt(pe,null,{text:Bt(()=>[Ue("h3",d6e,[gt(be,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),xn(" Path Debug ")])]),default:Bt(()=>[Ue("div",h6e,[Ue("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ve(x$)(JSON.stringify(Ve(s)||{},null,2),"json")},null,8,p6e)])]),_:1}),gt(pe,null,{text:Bt(()=>[Ue("h3",v6e,[gt(be,{icon:"carbon:settings",class:"mr-1"}),xn(" Runtime Config ")])]),default:Bt(()=>{var xe;return[Ue("div",m6e,[Ue("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ve(x$)(JSON.stringify(((xe=Ve(r))==null?void 0:xe.runtimeConfig)||{},null,2),"json")},null,8,g6e)])]}),_:1})])):d.value==="docs"?(et(),zt("div",y6e,w6e)):_r("",!0)])])])}}});const k6e={__name:"nuxt-error-page",props:{error:Object},setup(t){const n=t.error;(n.stack||"").split(`
|
|
136
136
|
`).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(`
|
|
137
|
-
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),s=void 0,u=o?hg(()=>kg(()=>import("./error-404.
|
|
137
|
+
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),a=n.message||n.toString(),s=void 0,u=o?hg(()=>kg(()=>import("./error-404.2d763c3f.js"),["./error-404.2d763c3f.js","./error-404.b751fa02.css"],import.meta.url).then(f=>f.default||f)):hg(()=>kg(()=>import("./error-500.c22eee32.js"),["./error-500.c22eee32.js","./error-500.69009e70.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(et(),yn(Ve(u),I7(i2({statusCode:Ve(r),statusMessage:Ve(i),description:Ve(a),stack:Ve(s)})),null,16))}},T7={__name:"nuxt-root",setup(t){const e=()=>null,n=Rr(),r=n.deferHydration(),o=!1;jI(u9,Sg()),n.hooks.callHookWith(s=>s.map(c=>c()),"vue:setup");const i=v2();yI((s,c,l)=>{if(n.hooks.callHook("vue:error",s,c,l).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),mQ(s)&&(s.fatal||s.unhandled))return n.runWithContext(()=>pQ(s)),!1});const a=!1;return(s,c)=>(et(),yn(FU,{onResolve:Ve(r)},{default:Bt(()=>[Ve(i)?(et(),yn(Ve(k6e),{key:0,error:Ve(i)},null,8,["error"])):Ve(a)?(et(),yn(Ve(e),{key:1,context:Ve(a)},null,8,["context"])):Ve(o)?(et(),yn(Xk(Ve(o)),{key:2})):(et(),yn(Ve(x6e),{key:3}))]),_:1},8,["onResolve"]))}};let E7;{let t;E7=async function(){var a,s;if(t)return t;const r=!!((a=window.__NUXT__)!=null&&a.serverRendered||((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?oK(T7):BI(T7),o=aJ({vueApp:r});async function i(c){await o.callHook("app:error",c),o.payload.error=o.payload.error||c}r.config.errorHandler=i;try{await cJ(o,XZ)}catch(c){i(c)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(kQ),await o.hooks.callHook("app:mounted",r),await Tp()}catch(c){i(c)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},t=E7().catch(e=>{console.error("Error while mounting app:",e)})}export{nc as _,Ue as a,gt as b,zt as c,xn as d,V9 as e,Qk as f,ho as g,j6e as h,d9 as i,gn as j,xi as n,et as o,Jk as p,tee as r,ao as t,i9 as u,Bt as w};
|