nuxt-og-image 3.0.0-rc.5 → 3.0.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- function Bx(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 mr={},Cu=[],Ki=()=>{},j9=()=>!1,Xh=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),zx=t=>t.startsWith("onUpdate:"),wo=Object.assign,Fx=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},S9=Object.prototype.hasOwnProperty,In=(t,e)=>S9.call(t,e),Jt=Array.isArray,Ou=t=>Kh(t)==="[object Map]",n0=t=>Kh(t)==="[object Set]",dS=t=>Kh(t)==="[object Date]",on=t=>typeof t=="function",Ir=t=>typeof t=="string",Ku=t=>typeof t=="symbol",nr=t=>t!==null&&typeof t=="object",qx=t=>(nr(t)||on(t))&&on(t.then)&&on(t.catch),TO=Object.prototype.toString,Kh=t=>TO.call(t),$9=t=>Kh(t).slice(8,-1),AO=t=>Kh(t)==="[object Object]",Hx=t=>Ir(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Sd=Bx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),r0=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},_9=/-(\w)/g,Ds=r0(t=>t.replace(_9,(e,n)=>n?n.toUpperCase():"")),C9=/\B([A-Z])/g,Uc=r0(t=>t.replace(C9,"-$1").toLowerCase()),o0=r0(t=>t.charAt(0).toUpperCase()+t.slice(1)),$1=r0(t=>t?`on${o0(t)}`:""),Sc=(t,e)=>!Object.is(t,e),Jm=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Sg=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},PO=t=>{const e=parseFloat(t);return isNaN(e)?t:e},O9=t=>{const e=Ir(t)?Number(t):NaN;return isNaN(e)?t:e};let hS;const Yy=()=>hS||(hS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ui(t){if(Jt(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Ir(r)?E9(r):ui(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(Ir(t)||nr(t))return t}const T9=/;(?![^(]*\))/g,A9=/:([^]+)/,P9=/\/\*[^]*?\*\//g;function E9(t){const e={};return t.replace(P9,"").split(T9).forEach(n=>{if(n){const r=n.split(A9);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Kn(t){let e="";if(Ir(t))e=t;else if(Jt(t))for(let n=0;n<t.length;n++){const r=Kn(t[n]);r&&(e+=r+" ")}else if(nr(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function EO(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Ir(e)&&(t.class=Kn(e)),n&&(t.style=ui(n)),t}const N9="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",M9=Bx(N9);function NO(t){return!!t||t===""}function R9(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=Zu(t[r],e[r]);return n}function Zu(t,e){if(t===e)return!0;let n=dS(t),r=dS(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Ku(t),r=Ku(e),n||r)return t===e;if(n=Jt(t),r=Jt(e),n||r)return n&&r?R9(t,e):!1;if(n=nr(t),r=nr(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 s in t){const a=t.hasOwnProperty(s),l=e.hasOwnProperty(s);if(a&&!l||!a&&l||!Zu(t[s],e[s]))return!1}}return String(t)===String(e)}function I9(t,e){return t.findIndex(n=>Zu(n,e))}const Wr=t=>Ir(t)?t:t==null?"":Jt(t)||nr(t)&&(t.toString===TO||!on(t.toString))?JSON.stringify(t,MO,2):String(t),MO=(t,e)=>e&&e.__v_isRef?MO(t,e.value):Ou(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:n0(e)?{[`Set(${e.size})`]:[...e.values()]}:nr(e)&&!Jt(e)&&!AO(e)?String(e):e;let ri;class RO{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ri,!e&&ri&&(this.index=(ri.scopes||(ri.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=ri;try{return ri=this,e()}finally{ri=n}}}on(){ri=this}off(){ri=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 L9(t){return new RO(t)}function D9(t,e=ri){e&&e.active&&e.effects.push(t)}function IO(){return ri}function B9(t){ri&&ri.cleanups.push(t)}const Vx=t=>{const e=new Set(t);return e.w=0,e.n=0,e},LO=t=>(t.w&jl)>0,DO=t=>(t.n&jl)>0,z9=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=jl},F9=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];LO(o)&&!DO(o)?o.delete(t):e[n++]=o,o.w&=~jl,o.n&=~jl}e.length=n}},$g=new WeakMap;let pd=0,jl=1;const Xy=30;let Wi;const bc=Symbol(""),Ky=Symbol("");class Wx{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,D9(this,r)}run(){if(!this.active)return this.fn();let e=Wi,n=cl;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Wi,Wi=this,cl=!0,jl=1<<++pd,pd<=Xy?z9(this):pS(this),this.fn()}finally{pd<=Xy&&F9(this),jl=1<<--pd,Wi=this.parent,cl=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Wi===this?this.deferStop=!0:this.active&&(pS(this),this.onStop&&this.onStop(),this.active=!1)}}function pS(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let cl=!0;const BO=[];function Tf(){BO.push(cl),cl=!1}function Af(){const t=BO.pop();cl=t===void 0?!0:t}function Qo(t,e,n){if(cl&&Wi){let r=$g.get(t);r||$g.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Vx()),zO(o)}}function zO(t,e){let n=!1;pd<=Xy?DO(t)||(t.n|=jl,n=!LO(t)):n=!t.has(Wi),n&&(t.add(Wi),Wi.deps.push(t))}function da(t,e,n,r,o,i){const s=$g.get(t);if(!s)return;let a=[];if(e==="clear")a=[...s.values()];else if(n==="length"&&Jt(t)){const l=Number(r);s.forEach((c,u)=>{(u==="length"||!Ku(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),e){case"add":Jt(t)?Hx(n)&&a.push(s.get("length")):(a.push(s.get(bc)),Ou(t)&&a.push(s.get(Ky)));break;case"delete":Jt(t)||(a.push(s.get(bc)),Ou(t)&&a.push(s.get(Ky)));break;case"set":Ou(t)&&a.push(s.get(bc));break}if(a.length===1)a[0]&&Zy(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Zy(Vx(l))}}function Zy(t,e){const n=Jt(t)?t:[...t];for(const r of n)r.computed&&mS(r);for(const r of n)r.computed||mS(r)}function mS(t,e){(t!==Wi||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function q9(t,e){var n;return(n=$g.get(t))==null?void 0:n.get(e)}const H9=Bx("__proto__,__v_isRef,__isVue"),FO=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ku)),gS=V9();function V9(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Dn(this);for(let i=0,s=this.length;i<s;i++)Qo(r,"get",i+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(Dn)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Tf();const r=Dn(this)[e].apply(this,n);return Af(),r}}),t}function W9(t){const e=Dn(this);return Qo(e,"has",t),e.hasOwnProperty(t)}class qO{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?oL:UO:i?WO:VO).get(e))return e;const s=Jt(e);if(!o){if(s&&In(gS,n))return Reflect.get(gS,n,r);if(n==="hasOwnProperty")return W9}const a=Reflect.get(e,n,r);return(Ku(n)?FO.has(n):H9(n))||(o||Qo(e,"get",n),i)?a:zr(a)?s&&Hx(n)?a:a.value:nr(a)?o?Gx(a):Bs(a):a}}class HO extends qO{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if($c(i)&&zr(i)&&!zr(r))return!1;if(!this._shallow&&(!_g(r)&&!$c(r)&&(i=Dn(i),r=Dn(r)),!Jt(e)&&zr(i)&&!zr(r)))return i.value=r,!0;const s=Jt(e)&&Hx(n)?Number(n)<e.length:In(e,n),a=Reflect.set(e,n,r,o);return e===Dn(o)&&(s?Sc(r,i)&&da(e,"set",n,r):da(e,"add",n,r)),a}deleteProperty(e,n){const r=In(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&da(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Ku(n)||!FO.has(n))&&Qo(e,"has",n),r}ownKeys(e){return Qo(e,"iterate",Jt(e)?"length":bc),Reflect.ownKeys(e)}}class U9 extends qO{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const J9=new HO,G9=new U9,Q9=new HO(!0),Ux=t=>t,i0=t=>Reflect.getPrototypeOf(t);function Cp(t,e,n=!1,r=!1){t=t.__v_raw;const o=Dn(t),i=Dn(e);n||(Sc(e,i)&&Qo(o,"get",e),Qo(o,"get",i));const{has:s}=i0(o),a=r?Ux:n?Yx:Kd;if(s.call(o,e))return a(t.get(e));if(s.call(o,i))return a(t.get(i));t!==o&&t.get(e)}function Op(t,e=!1){const n=this.__v_raw,r=Dn(n),o=Dn(t);return e||(Sc(t,o)&&Qo(r,"has",t),Qo(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Tp(t,e=!1){return t=t.__v_raw,!e&&Qo(Dn(t),"iterate",bc),Reflect.get(t,"size",t)}function vS(t){t=Dn(t);const e=Dn(this);return i0(e).has.call(e,t)||(e.add(t),da(e,"add",t,t)),this}function yS(t,e){e=Dn(e);const n=Dn(this),{has:r,get:o}=i0(n);let i=r.call(n,t);i||(t=Dn(t),i=r.call(n,t));const s=o.call(n,t);return n.set(t,e),i?Sc(e,s)&&da(n,"set",t,e):da(n,"add",t,e),this}function bS(t){const e=Dn(this),{has:n,get:r}=i0(e);let o=n.call(e,t);o||(t=Dn(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&da(e,"delete",t,void 0),i}function wS(){const t=Dn(this),e=t.size!==0,n=t.clear();return e&&da(t,"clear",void 0,void 0),n}function Ap(t,e){return function(r,o){const i=this,s=i.__v_raw,a=Dn(s),l=e?Ux:t?Yx:Kd;return!t&&Qo(a,"iterate",bc),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function Pp(t,e,n){return function(...r){const o=this.__v_raw,i=Dn(o),s=Ou(i),a=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,c=o[t](...r),u=n?Ux:e?Yx:Kd;return!e&&Qo(i,"iterate",l?Ky:bc),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ba(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Y9(){const t={get(i){return Cp(this,i)},get size(){return Tp(this)},has:Op,add:vS,set:yS,delete:bS,clear:wS,forEach:Ap(!1,!1)},e={get(i){return Cp(this,i,!1,!0)},get size(){return Tp(this)},has:Op,add:vS,set:yS,delete:bS,clear:wS,forEach:Ap(!1,!0)},n={get(i){return Cp(this,i,!0)},get size(){return Tp(this,!0)},has(i){return Op.call(this,i,!0)},add:Ba("add"),set:Ba("set"),delete:Ba("delete"),clear:Ba("clear"),forEach:Ap(!0,!1)},r={get(i){return Cp(this,i,!0,!0)},get size(){return Tp(this,!0)},has(i){return Op.call(this,i,!0)},add:Ba("add"),set:Ba("set"),delete:Ba("delete"),clear:Ba("clear"),forEach:Ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Pp(i,!1,!1),n[i]=Pp(i,!0,!1),e[i]=Pp(i,!1,!0),r[i]=Pp(i,!0,!0)}),[t,n,e,r]}const[X9,K9,Z9,eL]=Y9();function Jx(t,e){const n=e?t?eL:Z9:t?K9:X9;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(In(n,o)&&o in r?n:r,o,i)}const tL={get:Jx(!1,!1)},nL={get:Jx(!1,!0)},rL={get:Jx(!0,!1)},VO=new WeakMap,WO=new WeakMap,UO=new WeakMap,oL=new WeakMap;function iL(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sL(t){return t.__v_skip||!Object.isExtensible(t)?0:iL($9(t))}function Bs(t){return $c(t)?t:Qx(t,!1,J9,tL,VO)}function JO(t){return Qx(t,!1,Q9,nL,WO)}function Gx(t){return Qx(t,!0,G9,rL,UO)}function Qx(t,e,n,r,o){if(!nr(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const s=sL(t);if(s===0)return t;const a=new Proxy(t,s===2?r:n);return o.set(t,a),a}function Tu(t){return $c(t)?Tu(t.__v_raw):!!(t&&t.__v_isReactive)}function $c(t){return!!(t&&t.__v_isReadonly)}function _g(t){return!!(t&&t.__v_isShallow)}function GO(t){return Tu(t)||$c(t)}function Dn(t){const e=t&&t.__v_raw;return e?Dn(e):t}function QO(t){return Sg(t,"__v_skip",!0),t}const Kd=t=>nr(t)?Bs(t):t,Yx=t=>nr(t)?Gx(t):t;function YO(t){cl&&Wi&&(t=Dn(t),zO(t.dep||(t.dep=Vx())))}function XO(t,e){t=Dn(t);const n=t.dep;n&&Zy(n)}function zr(t){return!!(t&&t.__v_isRef===!0)}function Yt(t){return KO(t,!1)}function Cg(t){return KO(t,!0)}function KO(t,e){return zr(t)?t:new aL(t,e)}class aL{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Dn(e),this._value=n?e:Kd(e)}get value(){return YO(this),this._value}set value(e){const n=this.__v_isShallow||_g(e)||$c(e);e=n?e:Dn(e),Sc(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Kd(e),XO(this))}}function Ne(t){return zr(t)?t.value:t}const lL={get:(t,e,n)=>Ne(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return zr(o)&&!zr(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function ZO(t){return Tu(t)?t:new Proxy(t,lL)}class cL{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 q9(Dn(this._object),this._key)}}class uL{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xx(t,e,n){return zr(t)?t:on(t)?new uL(t):nr(t)&&arguments.length>1?fL(t,e,n):Yt(t)}function fL(t,e,n){const r=t[e];return zr(r)?r:new cL(t,e,n)}class dL{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 Wx(e,()=>{this._dirty||(this._dirty=!0,XO(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=Dn(this);return YO(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function hL(t,e,n=!1){let r,o;const i=on(t);return i?(r=t,o=Ki):(r=t.get,o=t.set),new dL(r,o,i||!o,n)}function ul(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){Pf(i,e,n)}return o}function Zi(t,e,n,r){if(on(t)){const i=ul(t,e,n,r);return i&&qx(i)&&i.catch(s=>{Pf(s,e,n)}),i}const o=[];for(let i=0;i<t.length;i++)o.push(Zi(t[i],e,n,r));return o}function Pf(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let i=e.parent;const s=e.proxy,a=n;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](t,s,a)===!1)return}i=i.parent}const l=e.appContext.config.errorHandler;if(l){ul(l,null,10,[t,s,a]);return}}pL(t,n,o,r)}function pL(t,e,n,r=!0){console.error(t)}let Zd=!1,eb=!1;const Co=[];let Ss=0;const Au=[];let oa=null,oc=0;const eT=Promise.resolve();let Kx=null;function Jc(t){const e=Kx||eT;return t?e.then(this?t.bind(this):t):e}function mL(t){let e=Ss+1,n=Co.length;for(;e<n;){const r=e+n>>>1,o=Co[r],i=eh(o);i<t||i===t&&o.pre?e=r+1:n=r}return e}function s0(t){(!Co.length||!Co.includes(t,Zd&&t.allowRecurse?Ss+1:Ss))&&(t.id==null?Co.push(t):Co.splice(mL(t.id),0,t),tT())}function tT(){!Zd&&!eb&&(eb=!0,Kx=eT.then(nT))}function gL(t){const e=Co.indexOf(t);e>Ss&&Co.splice(e,1)}function tb(t){Jt(t)?Au.push(...t):(!oa||!oa.includes(t,t.allowRecurse?oc+1:oc))&&Au.push(t),tT()}function xS(t,e=Zd?Ss+1:0){for(;e<Co.length;e++){const n=Co[e];n&&n.pre&&(Co.splice(e,1),e--,n())}}function Og(t){if(Au.length){const e=[...new Set(Au)];if(Au.length=0,oa){oa.push(...e);return}for(oa=e,oa.sort((n,r)=>eh(n)-eh(r)),oc=0;oc<oa.length;oc++)oa[oc]();oa=null,oc=0}}const eh=t=>t.id==null?1/0:t.id,vL=(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 nT(t){eb=!1,Zd=!0,Co.sort(vL);const e=Ki;try{for(Ss=0;Ss<Co.length;Ss++){const n=Co[Ss];n&&n.active!==!1&&ul(n,null,14)}}finally{Ss=0,Co.length=0,Og(),Zd=!1,Kx=null,(Co.length||Au.length)&&nT()}}function yL(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||mr;let o=n;const i=e.startsWith("update:"),s=i&&e.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||mr;d&&(o=n.map(h=>Ir(h)?h.trim():h)),f&&(o=n.map(PO))}let a,l=r[a=$1(e)]||r[a=$1(Ds(e))];!l&&i&&(l=r[a=$1(Uc(e))]),l&&Zi(l,t,6,o);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zi(c,t,6,o)}}function rT(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let s={},a=!1;if(!on(t)){const l=c=>{const u=rT(c,e,!0);u&&(a=!0,wo(s,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(nr(t)&&r.set(t,null),null):(Jt(i)?i.forEach(l=>s[l]=null):wo(s,i),nr(t)&&r.set(t,s),s)}function a0(t,e){return!t||!Xh(e)?!1:(e=e.slice(2).replace(/Once$/,""),In(t,e[0].toLowerCase()+e.slice(1))||In(t,Uc(e))||In(t,e))}let oo=null,l0=null;function Tg(t){const e=oo;return oo=t,l0=t&&t.type.__scopeId||null,e}function Zx(t){l0=t}function e2(){l0=null}const bL=t=>$t;function $t(t,e=oo,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&NS(-1);const i=Tg(e);let s;try{s=t(...o)}finally{Tg(i),r._d&&NS(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function _1(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=t;let m,v;const b=Tg(t);try{if(n.shapeFlag&4){const x=o||r,k=x;m=vi(u.call(k,x,f,i,h,d,p)),v=l}else{const x=e;m=vi(x.length>1?x(i,{attrs:l,slots:a,emit:c}):x(i,null)),v=e.props?l:xL(l)}}catch(x){Cd.length=0,Pf(x,t,1),m=ht(is)}let w=m;if(v&&g!==!1){const x=Object.keys(v),{shapeFlag:k}=w;x.length&&k&7&&(s&&x.some(zx)&&(v=kL(v,s)),w=rf(w,v))}return n.dirs&&(w=rf(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,Tg(b),m}function wL(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(rh(r)){if(r.type!==is||r.children==="v-if"){if(e)return;e=r}}else return}return e}const xL=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xh(n))&&((e||(e={}))[n]=t[n]);return e},kL=(t,e)=>{const n={};for(const r in t)(!zx(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function jL(t,e,n){const{props:r,children:o,component:i}=t,{props:s,children:a,patchFlag:l}=e,c=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?kS(r,s,c):!!s;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!a0(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?kS(r,s,c):!0:!!s;return!1}function kS(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]&&!a0(n,i))return!0}return!1}function t2({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const n2="components";function Sl(t,e){return iT(n2,t,!0,e)||t}const oT=Symbol.for("v-ndc");function r2(t){return Ir(t)?iT(n2,t,!1)||t:t||oT}function iT(t,e,n=!0,r=!1){const o=oo||Jr;if(o){const i=o.type;if(t===n2){const a=dD(i,!1);if(a&&(a===e||a===Ds(e)||a===o0(Ds(e))))return i}const s=jS(o[t]||i[t],e)||jS(o.appContext[t],e);return!s&&r?i:s}}function jS(t,e){return t&&(t[e]||t[Ds(e)]||t[o0(Ds(e))])}const SL=t=>t.__isSuspense,$L={name:"Suspense",__isSuspense:!0,process(t,e,n,r,o,i,s,a,l,c){t==null?CL(e,n,r,o,i,s,a,l,c):OL(t,e,n,r,o,s,a,l,c)},hydrate:TL,create:o2,normalize:AL},_L=$L;function th(t,e){const n=t.props&&t.props[e];on(n)&&n()}function CL(t,e,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=t.suspense=o2(t,o,r,e,f,n,i,s,a,l);c(null,d.pendingBranch=t.ssContent,f,null,r,d,i,s),d.deps>0?(th(t,"onPending"),th(t,"onFallback"),c(null,t.ssFallback,e,n,r,null,i,s),Pu(d,t.ssFallback)):d.resolve(!1,!0)}function OL(t,e,n,r,o,i,s,a,{p:l,um:c,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:g,isInFallback:m,isHydrating:v}=f;if(g)f.pendingBranch=d,Za(d,g)?(l(g,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():m&&(l(p,h,n,r,o,null,i,s,a),Pu(f,h))):(f.pendingId++,v?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(p,h,n,r,o,null,i,s,a),Pu(f,h))):p&&Za(d,p)?(l(p,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(p&&Za(d,p))l(p,d,n,r,o,f,i,s,a),Pu(f,d);else if(th(e,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:w}=f;b>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},b):b===0&&f.fallback(h)}}function o2(t,e,n,r,o,i,s,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:g,remove:m}}=c;let v;const b=PL(t);b&&e!=null&&e.pendingBranch&&(v=e.pendingId,e.deps++);const w=t.props?O9(t.props.timeout):void 0,x={vnode:t,parent:e,parentComponent:n,isSVG:s,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,y=!1){const{vnode:j,activeBranch:_,pendingBranch:$,pendingId:S,effects:C,parentComponent:O,container:P}=x;let I=!1;if(x.isHydrating)x.isHydrating=!1;else if(!k){I=_&&$.transition&&$.transition.mode==="out-in",I&&(_.transition.afterLeave=()=>{S===x.pendingId&&(d($,P,p(_),0),tb(C))});let{anchor:D}=x;_&&(D=p(_),h(_,O,x,!0)),I||d($,P,D,0)}Pu(x,$),x.pendingBranch=null,x.isInFallback=!1;let J=x.parent,H=!1;for(;J;){if(J.pendingBranch){J.effects.push(...C),H=!0;break}J=J.parent}!H&&!I&&tb(C),x.effects=[],b&&e&&e.pendingBranch&&v===e.pendingId&&(e.deps--,e.deps===0&&!y&&e.resolve()),th(j,"onResolve")},fallback(k){if(!x.pendingBranch)return;const{vnode:y,activeBranch:j,parentComponent:_,container:$,isSVG:S}=x;th(y,"onFallback");const C=()=>{x.isInFallback&&(f(null,k,$,p(j),_,null,S,a,l),Pu(x,k))},O=k.transition&&k.transition.mode==="out-in";O&&(j.transition.afterLeave=C),x.isInFallback=!0,h(j,_,null,!0),O||C()},move(k,y,j){x.activeBranch&&d(x.activeBranch,k,y,j),x.container=k},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(k,y){const j=!!x.pendingBranch;j&&x.deps++;const _=k.vnode.el;k.asyncDep.catch($=>{Pf($,k,0)}).then($=>{if(k.isUnmounted||x.isUnmounted||x.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:S}=k;sb(k,$,!1),_&&(S.el=_);const C=!_&&k.subTree.el;y(k,S,g(_||k.subTree.el),_?null:p(k.subTree),x,s,l),C&&m(C),t2(k,S.el),j&&--x.deps===0&&x.resolve()})},unmount(k,y){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,k,y),x.pendingBranch&&h(x.pendingBranch,n,k,y)}};return x}function TL(t,e,n,r,o,i,s,a,l){const c=e.suspense=o2(e,r,n,t.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function AL(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=SS(r?n.default:n),t.ssFallback=r?SS(n.fallback):ht(is)}function SS(t){let e;if(on(t)){const n=nf&&t._c;n&&(t._d=!1,Ye()),t=t(),n&&(t._d=!0,e=xi,OT())}return Jt(t)&&(t=wL(t)),t=vi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function sT(t,e){e&&e.pendingBranch?Jt(t)?e.effects.push(...t):e.effects.push(t):tb(t)}function Pu(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t,o=n.el=e.el;r&&r.subTree===n&&(r.vnode.el=o,t2(r,o))}function PL(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function i2(t,e){return c0(t,null,e)}function EL(t,e){return c0(t,null,{flush:"post"})}const Ep={};function br(t,e,n){return c0(t,e,n)}function c0(t,e,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=mr){var a;const l=IO()===((a=Jr)==null?void 0:a.scope)?Jr:null;let c,u=!1,f=!1;if(zr(t)?(c=()=>t.value,u=_g(t)):Tu(t)?(c=()=>t,r=!0):Jt(t)?(f=!0,u=t.some(x=>Tu(x)||_g(x)),c=()=>t.map(x=>{if(zr(x))return x.value;if(Tu(x))return dc(x);if(on(x))return ul(x,l,2)})):on(t)?e?c=()=>ul(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Zi(t,l,3,[h])}:c=Ki,e&&r){const x=c;c=()=>dc(x())}let d,h=x=>{d=b.onStop=()=>{ul(x,l,4),d=b.onStop=void 0}},p;if(of)if(h=Ki,e?n&&Zi(e,l,3,[c(),f?[]:void 0,h]):c(),o==="sync"){const x=mD();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Ki;let g=f?new Array(t.length).fill(Ep):Ep;const m=()=>{if(b.active)if(e){const x=b.run();(r||u||(f?x.some((k,y)=>Sc(k,g[y])):Sc(x,g)))&&(d&&d(),Zi(e,l,3,[x,g===Ep?void 0:f&&g[0]===Ep?[]:g,h]),g=x)}else b.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>qo(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),v=()=>s0(m));const b=new Wx(c,v);e?n?m():g=b.run():o==="post"?qo(b.run.bind(b),l&&l.suspense):b.run();const w=()=>{b.stop(),l&&l.scope&&Fx(l.scope.effects,b)};return p&&p.push(w),w}function NL(t,e,n){const r=this.proxy,o=Ir(t)?t.includes(".")?aT(r,t):()=>r[t]:t.bind(r,r);let i;on(e)?i=e:(i=e.handler,n=e);const s=Jr;$l(this);const a=c0(o,i.bind(r),n);return s?$l(s):fl(),a}function aT(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 dc(t,e){if(!nr(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),zr(t))dc(t.value,e);else if(Jt(t))for(let n=0;n<t.length;n++)dc(t[n],e);else if(n0(t)||Ou(t))t.forEach(n=>{dc(n,e)});else if(AO(t))for(const n in t)dc(t[n],e);return t}function lT(t,e){const n=oo;if(n===null)return t;const r=h0(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,a,l,c=mr]=e[i];s&&(on(s)&&(s={mounted:s,updated:s}),s.deep&&dc(a),o.push({dir:s,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function ks(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Tf(),Zi(l,n,8,[t.el,a,t,e]),Af())}}/*! #__NO_SIDE_EFFECTS__ */function Qr(t,e){return on(t)?(()=>wo({name:t.name},e,{setup:t}))():t}const Eu=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ag(t){on(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=t;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,m)=>{a(p,()=>g(f()),()=>m(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Qr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=Jr;if(c)return()=>C1(c,h);const p=b=>{l=null,Pf(b,h,13,!r)};if(s&&h.suspense||of)return d().then(b=>()=>C1(b,h)).catch(b=>(p(b),()=>r?ht(r,{error:b}):null));const g=Yt(!1),m=Yt(),v=Yt(!!o);return o&&setTimeout(()=>{v.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!m.value){const b=new Error(`Async component timed out after ${i}ms.`);p(b),m.value=b}},i),d().then(()=>{g.value=!0,h.parent&&s2(h.parent.vnode)&&s0(h.parent.update)}).catch(b=>{p(b),m.value=b}),()=>{if(g.value&&c)return C1(c,h);if(m.value&&r)return ht(r,{error:m.value});if(n&&!v.value)return ht(n)}}})}function C1(t,e){const{ref:n,props:r,children:o,ce:i}=e.vnode,s=ht(t,r,o);return s.ref=n,s.ce=i,delete e.vnode.ce,s}const s2=t=>t.type.__isKeepAlive;function cT(t,e){fT(t,"a",e)}function uT(t,e){fT(t,"da",e)}function fT(t,e,n=Jr){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(u0(e,r,n),n){let o=n.parent;for(;o&&o.parent;)s2(o.parent.vnode)&&ML(r,e,n,o),o=o.parent}}function ML(t,e,n,r){const o=u0(e,t,r,!0);ef(()=>{Fx(r[e],o)},n)}function u0(t,e,n=Jr,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;Tf(),$l(n);const a=Zi(e,n,t,s);return fl(),Af(),a});return r?o.unshift(i):o.push(i),i}}const Ta=t=>(e,n=Jr)=>(!of||t==="sp")&&u0(t,(...r)=>e(...r),n),dT=Ta("bm"),zl=Ta("m"),RL=Ta("bu"),IL=Ta("u"),a2=Ta("bum"),ef=Ta("um"),LL=Ta("sp"),DL=Ta("rtg"),BL=Ta("rtc");function hT(t,e=Jr){u0("ec",t,e)}function Np(t,e,n,r){let o;const i=n&&n[r];if(Jt(t)||Ir(t)){o=new Array(t.length);for(let s=0,a=t.length;s<a;s++)o[s]=e(t[s],s,void 0,i&&i[s])}else if(typeof t=="number"){o=new Array(t);for(let s=0;s<t;s++)o[s]=e(s+1,s,void 0,i&&i[s])}else if(nr(t))if(t[Symbol.iterator])o=Array.from(t,(s,a)=>e(s,a,void 0,i&&i[a]));else{const s=Object.keys(t);o=new Array(s.length);for(let a=0,l=s.length;a<l;a++){const c=s[a];o[a]=e(t[c],c,a,i&&i[a])}}else o=[];return n&&(n[r]=o),o}function Yn(t,e,n={},r,o){if(oo.isCE||oo.parent&&Eu(oo.parent)&&oo.parent.isCE)return e!=="default"&&(n.name=e),ht("slot",n,r&&r());let i=t[e];i&&i._c&&(i._d=!1),Ye();const s=i&&pT(i(n)),a=cn(Ur,{key:n.key||s&&s.key||`_${e}`},s||(r?r():[]),s&&t._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function pT(t){return t.some(e=>rh(e)?!(e.type===is||e.type===Ur&&!pT(e.children)):!0)?t:null}const nb=t=>t?PT(t)?h0(t)||t.proxy:nb(t.parent):null,$d=wo(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=>nb(t.parent),$root:t=>nb(t.root),$emit:t=>t.emit,$options:t=>l2(t),$forceUpdate:t=>t.f||(t.f=()=>s0(t.update)),$nextTick:t=>t.n||(t.n=Jc.bind(t.proxy)),$watch:t=>NL.bind(t)}),O1=(t,e)=>t!==mr&&!t.__isScriptSetup&&In(t,e),zL={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=s[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(O1(r,e))return s[e]=1,r[e];if(o!==mr&&In(o,e))return s[e]=2,o[e];if((c=t.propsOptions[0])&&In(c,e))return s[e]=3,i[e];if(n!==mr&&In(n,e))return s[e]=4,n[e];rb&&(s[e]=0)}}const u=$d[e];let f,d;if(u)return e==="$attrs"&&Qo(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==mr&&In(n,e))return s[e]=4,n[e];if(d=l.config.globalProperties,In(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return O1(o,e)?(o[e]=n,!0):r!==mr&&In(r,e)?(r[e]=n,!0):In(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}},s){let a;return!!n[s]||t!==mr&&In(t,s)||O1(e,s)||(a=i[0])&&In(a,s)||In(r,s)||In($d,s)||In(o.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:In(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function $S(t){return Jt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function mT(t){const e=Aa();let n=t();return fl(),qx(n)&&(n=n.catch(r=>{throw $l(e),r})),[n,()=>$l(e)]}let rb=!0;function FL(t){const e=l2(t),n=t.proxy,r=t.ctx;rb=!1,e.beforeCreate&&_S(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:b,destroyed:w,unmounted:x,render:k,renderTracked:y,renderTriggered:j,errorCaptured:_,serverPrefetch:$,expose:S,inheritAttrs:C,components:O,directives:P,filters:I}=e;if(c&&qL(c,r,null),s)for(const D in s){const R=s[D];on(R)&&(r[D]=R.bind(n))}if(o){const D=o.call(n,n);nr(D)&&(t.data=Bs(D))}if(rb=!0,i)for(const D in i){const R=i[D],V=on(R)?R.bind(n,n):on(R.get)?R.get.bind(n,n):Ki,L=!on(R)&&on(R.set)?R.set.bind(n):Ki,E=jn({get:V,set:L});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>E.value,set:U=>E.value=U})}if(a)for(const D in a)gT(a[D],r,n,D);if(l){const D=on(l)?l.call(n):l;Reflect.ownKeys(D).forEach(R=>{yT(R,D[R])})}u&&_S(u,t,"c");function H(D,R){Jt(R)?R.forEach(V=>D(V.bind(n))):R&&D(R.bind(n))}if(H(dT,f),H(zl,d),H(RL,h),H(IL,p),H(cT,g),H(uT,m),H(hT,_),H(BL,y),H(DL,j),H(a2,b),H(ef,x),H(LL,$),Jt(S))if(S.length){const D=t.exposed||(t.exposed={});S.forEach(R=>{Object.defineProperty(D,R,{get:()=>n[R],set:V=>n[R]=V})})}else t.exposed||(t.exposed={});k&&t.render===Ki&&(t.render=k),C!=null&&(t.inheritAttrs=C),O&&(t.components=O),P&&(t.directives=P)}function qL(t,e,n=Ki){Jt(t)&&(t=ob(t));for(const r in t){const o=t[r];let i;nr(o)?"default"in o?i=Nu(o.from||r,o.default,!0):i=Nu(o.from||r):i=Nu(o),zr(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function _S(t,e,n){Zi(Jt(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function gT(t,e,n,r){const o=r.includes(".")?aT(n,r):()=>n[r];if(Ir(t)){const i=e[t];on(i)&&br(o,i)}else if(on(t))br(o,t.bind(n));else if(nr(t))if(Jt(t))t.forEach(i=>gT(i,e,n,r));else{const i=on(t.handler)?t.handler.bind(n):e[t.handler];on(i)&&br(o,i,t)}}function l2(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,a=i.get(e);let l;return a?l=a:!o.length&&!n&&!r?l=e:(l={},o.length&&o.forEach(c=>Pg(l,c,s,!0)),Pg(l,e,s)),nr(e)&&i.set(e,l),l}function Pg(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&Pg(t,i,n,!0),o&&o.forEach(s=>Pg(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const a=HL[s]||n&&n[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const HL={data:CS,props:OS,emits:OS,methods:md,computed:md,beforeCreate:Io,created:Io,beforeMount:Io,mounted:Io,beforeUpdate:Io,updated:Io,beforeDestroy:Io,beforeUnmount:Io,destroyed:Io,unmounted:Io,activated:Io,deactivated:Io,errorCaptured:Io,serverPrefetch:Io,components:md,directives:md,watch:WL,provide:CS,inject:VL};function CS(t,e){return e?t?function(){return wo(on(t)?t.call(this,this):t,on(e)?e.call(this,this):e)}:e:t}function VL(t,e){return md(ob(t),ob(e))}function ob(t){if(Jt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Io(t,e){return t?[...new Set([].concat(t,e))]:e}function md(t,e){return t?wo(Object.create(null),t,e):e}function OS(t,e){return t?Jt(t)&&Jt(e)?[...new Set([...t,...e])]:wo(Object.create(null),$S(t),$S(e??{})):e}function WL(t,e){if(!t)return e;if(!e)return t;const n=wo(Object.create(null),t);for(const r in e)n[r]=Io(t[r],e[r]);return n}function vT(){return{app:null,config:{isNativeTag:j9,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 UL=0;function JL(t,e){return function(r,o=null){on(r)||(r=wo({},r)),o!=null&&!nr(o)&&(o=null);const i=vT(),s=new WeakSet;let a=!1;const l=i.app={_uid:UL++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:NT,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&on(c.install)?(s.add(c),c.install(l,...u)):on(c)&&(s.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=ht(r,o);return d.appContext=i,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,h0(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){nh=l;try{return c()}finally{nh=null}}};return l}}let nh=null;function yT(t,e){if(Jr){let n=Jr.provides;const r=Jr.parent&&Jr.parent.provides;r===n&&(n=Jr.provides=Object.create(r)),n[t]=e}}function Nu(t,e,n=!1){const r=Jr||oo;if(r||nh){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:nh._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&on(e)?e.call(r&&r.proxy):e}}function bT(){return!!(Jr||oo||nh)}function GL(t,e,n,r=!1){const o={},i={};Sg(i,f0,1),t.propsDefaults=Object.create(null),wT(t,e,o,i);for(const s in t.propsOptions[0])s in o||(o[s]=void 0);n?t.props=r?o:JO(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function QL(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=t,a=Dn(o),[l]=t.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(a0(t.emitsOptions,d))continue;const h=e[d];if(l)if(In(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const p=Ds(d);o[p]=ib(l,a,p,h,t,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{wT(t,e,o,i)&&(c=!0);let u;for(const f in a)(!e||!In(e,f)&&((u=Uc(f))===f||!In(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ib(l,a,f,void 0,t,!0)):delete o[f]);if(i!==a)for(const f in i)(!e||!In(e,f))&&(delete i[f],c=!0)}c&&da(t,"set","$attrs")}function wT(t,e,n,r){const[o,i]=t.propsOptions;let s=!1,a;if(e)for(let l in e){if(Sd(l))continue;const c=e[l];let u;o&&In(o,u=Ds(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:a0(t.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=Dn(n),c=a||mr;for(let u=0;u<i.length;u++){const f=i[u];n[f]=ib(o,l,f,c[f],t,!In(c,f))}}return s}function ib(t,e,n,r,o,i){const s=t[n];if(s!=null){const a=In(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&on(l)){const{propsDefaults:c}=o;n in c?r=c[n]:($l(o),r=c[n]=l.call(null,e),fl())}else r=l}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===Uc(n))&&(r=!0))}return r}function xT(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const i=t.props,s={},a=[];let l=!1;if(!on(t)){const u=f=>{l=!0;const[d,h]=xT(f,e,!0);wo(s,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!l)return nr(t)&&r.set(t,Cu),Cu;if(Jt(i))for(let u=0;u<i.length;u++){const f=Ds(i[u]);TS(f)&&(s[f]=mr)}else if(i)for(const u in i){const f=Ds(u);if(TS(f)){const d=i[u],h=s[f]=Jt(d)||on(d)?{type:d}:wo({},d);if(h){const p=ES(Boolean,h.type),g=ES(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||In(h,"default"))&&a.push(f)}}}const c=[s,a];return nr(t)&&r.set(t,c),c}function TS(t){return t[0]!=="$"}function AS(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function PS(t,e){return AS(t)===AS(e)}function ES(t,e){return Jt(e)?e.findIndex(n=>PS(n,t)):on(e)&&PS(e,t)?0:-1}const kT=t=>t[0]==="_"||t==="$stable",c2=t=>Jt(t)?t.map(vi):[vi(t)],YL=(t,e,n)=>{if(e._n)return e;const r=$t((...o)=>c2(e(...o)),n);return r._c=!1,r},jT=(t,e,n)=>{const r=t._ctx;for(const o in t){if(kT(o))continue;const i=t[o];if(on(i))e[o]=YL(o,i,r);else if(i!=null){const s=c2(i);e[o]=()=>s}}},ST=(t,e)=>{const n=c2(e);t.slots.default=()=>n},XL=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Dn(e),Sg(e,"_",n)):jT(e,t.slots={})}else t.slots={},e&&ST(t,e);Sg(t.slots,f0,1)},KL=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,s=mr;if(r.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:(wo(o,e),!n&&a===1&&delete o._):(i=!e.$stable,jT(e,o)),s=e}else e&&(ST(t,e),s={default:1});if(i)for(const a in o)!kT(a)&&s[a]==null&&delete o[a]};function Eg(t,e,n,r,o=!1){if(Jt(t)){t.forEach((d,h)=>Eg(d,e&&(Jt(e)?e[h]:e),n,r,o));return}if(Eu(r)&&!o)return;const i=r.shapeFlag&4?h0(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:l}=t,c=e&&e.r,u=a.refs===mr?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ir(c)?(u[c]=null,In(f,c)&&(f[c]=null)):zr(c)&&(c.value=null)),on(l))ul(l,a,12,[s,u]);else{const d=Ir(l),h=zr(l);if(d||h){const p=()=>{if(t.f){const g=d?In(f,l)?f[l]:u[l]:l.value;o?Jt(g)&&Fx(g,i):Jt(g)?g.includes(i)||g.push(i):d?(u[l]=[i],In(f,l)&&(f[l]=u[l])):(l.value=[i],t.k&&(u[t.k]=l.value))}else d?(u[l]=s,In(f,l)&&(f[l]=s)):h&&(l.value=s,t.k&&(u[t.k]=s))};s?(p.id=-1,qo(p,n)):p()}}}let za=!1;const Mp=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Rp=t=>t.nodeType===8;function ZL(t){const{mt:e,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=t,u=(w,x)=>{if(!x.hasChildNodes()){n(null,w,x),Og(),x._vnode=w;return}za=!1,f(x.firstChild,w,null,null,null),Og(),x._vnode=w,za&&console.error("Hydration completed but contains mismatches.")},f=(w,x,k,y,j,_=!1)=>{const $=Rp(w)&&w.data==="[",S=()=>g(w,x,k,y,j,$),{type:C,ref:O,shapeFlag:P,patchFlag:I}=x;let J=w.nodeType;x.el=w,I===-2&&(_=!1,x.dynamicChildren=null);let H=null;switch(C){case tf:J!==3?x.children===""?(l(x.el=o(""),s(w),w),H=w):H=S():(w.data!==x.children&&(za=!0,w.data=x.children),H=i(w));break;case is:b(w)?(H=i(w),v(x.el=w.content.firstChild,w,k)):J!==8||$?H=S():H=i(w);break;case _d:if($&&(w=i(w),J=w.nodeType),J===1||J===3){H=w;const D=!x.children.length;for(let R=0;R<x.staticCount;R++)D&&(x.children+=H.nodeType===1?H.outerHTML:H.data),R===x.staticCount-1&&(x.anchor=H),H=i(H);return $?i(H):H}else S();break;case Ur:$?H=p(w,x,k,y,j,_):H=S();break;default:if(P&1)(J!==1||x.type.toLowerCase()!==w.tagName.toLowerCase())&&!b(w)?H=S():H=d(w,x,k,y,j,_);else if(P&6){x.slotScopeIds=j;const D=s(w);if($?H=m(w):Rp(w)&&w.data==="teleport start"?H=m(w,w.data,"teleport end"):H=i(w),e(x,D,null,k,y,Mp(D),_),Eu(x)){let R;$?(R=ht(Ur),R.anchor=H?H.previousSibling:D.lastChild):R=w.nodeType===3?Kt(""):ht("div"),R.el=w,x.component.subTree=R}}else P&64?J!==8?H=S():H=x.type.hydrate(w,x,k,y,j,_,t,h):P&128&&(H=x.type.hydrate(w,x,k,y,Mp(s(w)),j,_,t,f))}return O!=null&&Eg(O,null,y,x),H},d=(w,x,k,y,j,_)=>{_=_||!!x.dynamicChildren;const{type:$,props:S,patchFlag:C,shapeFlag:O,dirs:P,transition:I}=x,J=$==="input"||$==="option";if(J||C!==-1){if(P&&ks(x,null,k,"created"),S)if(J||!_||C&48)for(const R in S)(J&&(R.endsWith("value")||R==="indeterminate")||Xh(R)&&!Sd(R)||R[0]===".")&&r(w,R,null,S[R],!1,void 0,k);else S.onClick&&r(w,"onClick",null,S.onClick,!1,void 0,k);let H;(H=S&&S.onVnodeBeforeMount)&&mi(H,k,x);let D=!1;if(b(w)){D=_T(y,I)&&k&&k.vnode.props&&k.vnode.props.appear;const R=w.content.firstChild;D&&I.beforeEnter(R),v(R,w,k),x.el=w=R}if(P&&ks(x,null,k,"beforeMount"),((H=S&&S.onVnodeMounted)||P||D)&&sT(()=>{H&&mi(H,k,x),D&&I.enter(w),P&&ks(x,null,k,"mounted")},y),O&16&&!(S&&(S.innerHTML||S.textContent))){let R=h(w.firstChild,x,w,k,y,j,_);for(;R;){za=!0;const V=R;R=R.nextSibling,a(V)}}else O&8&&w.textContent!==x.children&&(za=!0,w.textContent=x.children)}return w.nextSibling},h=(w,x,k,y,j,_,$)=>{$=$||!!x.dynamicChildren;const S=x.children,C=S.length;for(let O=0;O<C;O++){const P=$?S[O]:S[O]=vi(S[O]);if(w)w=f(w,P,y,j,_,$);else{if(P.type===tf&&!P.children)continue;za=!0,n(null,P,k,null,y,j,Mp(k),_)}}return w},p=(w,x,k,y,j,_)=>{const{slotScopeIds:$}=x;$&&(j=j?j.concat($):$);const S=s(w),C=h(i(w),x,S,k,y,j,_);return C&&Rp(C)&&C.data==="]"?i(x.anchor=C):(za=!0,l(x.anchor=c("]"),S,C),C)},g=(w,x,k,y,j,_)=>{if(za=!0,x.el=null,_){const C=m(w);for(;;){const O=i(w);if(O&&O!==C)a(O);else break}}const $=i(w),S=s(w);return a(w),n(null,x,S,$,k,y,Mp(S),j),$},m=(w,x="[",k="]")=>{let y=0;for(;w;)if(w=i(w),w&&Rp(w)&&(w.data===x&&y++,w.data===k)){if(y===0)return i(w);y--}return w},v=(w,x,k)=>{const y=x.parentNode;y&&y.replaceChild(w,x);let j=k;for(;j;)j.vnode.el===x&&(j.vnode.el=j.subTree.el=w),j=j.parent},b=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[u,f]}const qo=sT;function eD(t){return $T(t)}function tD(t){return $T(t,ZL)}function $T(t,e){const n=Yy();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Ki,insertStaticContent:p}=t,g=(Z,te,fe,K=null,me=null,Ee=null,se=!1,le=null,Me=!!te.dynamicChildren)=>{if(Z===te)return;Z&&!Za(Z,te)&&(K=ee(Z),U(Z,me,Ee,!0),Z=null),te.patchFlag===-2&&(Me=!1,te.dynamicChildren=null);const{type:Oe,ref:Je,shapeFlag:ue}=te;switch(Oe){case tf:m(Z,te,fe,K);break;case is:v(Z,te,fe,K);break;case _d:Z==null&&b(te,fe,K,se);break;case Ur:O(Z,te,fe,K,me,Ee,se,le,Me);break;default:ue&1?k(Z,te,fe,K,me,Ee,se,le,Me):ue&6?P(Z,te,fe,K,me,Ee,se,le,Me):(ue&64||ue&128)&&Oe.process(Z,te,fe,K,me,Ee,se,le,Me,we)}Je!=null&&me&&Eg(Je,Z&&Z.ref,Ee,te||Z,!te)},m=(Z,te,fe,K)=>{if(Z==null)r(te.el=a(te.children),fe,K);else{const me=te.el=Z.el;te.children!==Z.children&&c(me,te.children)}},v=(Z,te,fe,K)=>{Z==null?r(te.el=l(te.children||""),fe,K):te.el=Z.el},b=(Z,te,fe,K)=>{[Z.el,Z.anchor]=p(Z.children,te,fe,K,Z.el,Z.anchor)},w=({el:Z,anchor:te},fe,K)=>{let me;for(;Z&&Z!==te;)me=d(Z),r(Z,fe,K),Z=me;r(te,fe,K)},x=({el:Z,anchor:te})=>{let fe;for(;Z&&Z!==te;)fe=d(Z),o(Z),Z=fe;o(te)},k=(Z,te,fe,K,me,Ee,se,le,Me)=>{se=se||te.type==="svg",Z==null?y(te,fe,K,me,Ee,se,le,Me):$(Z,te,me,Ee,se,le,Me)},y=(Z,te,fe,K,me,Ee,se,le)=>{let Me,Oe;const{type:Je,props:ue,shapeFlag:ve,transition:We,dirs:B}=Z;if(Me=Z.el=s(Z.type,Ee,ue&&ue.is,ue),ve&8?u(Me,Z.children):ve&16&&_(Z.children,Me,null,K,me,Ee&&Je!=="foreignObject",se,le),B&&ks(Z,null,K,"created"),j(Me,Z,Z.scopeId,se,K),ue){for(const re in ue)re!=="value"&&!Sd(re)&&i(Me,re,null,ue[re],Ee,Z.children,K,me,G);"value"in ue&&i(Me,"value",null,ue.value),(Oe=ue.onVnodeBeforeMount)&&mi(Oe,K,Z)}B&&ks(Z,null,K,"beforeMount");const Y=_T(me,We);Y&&We.beforeEnter(Me),r(Me,te,fe),((Oe=ue&&ue.onVnodeMounted)||Y||B)&&qo(()=>{Oe&&mi(Oe,K,Z),Y&&We.enter(Me),B&&ks(Z,null,K,"mounted")},me)},j=(Z,te,fe,K,me)=>{if(fe&&h(Z,fe),K)for(let Ee=0;Ee<K.length;Ee++)h(Z,K[Ee]);if(me){let Ee=me.subTree;if(te===Ee){const se=me.vnode;j(Z,se,se.scopeId,se.slotScopeIds,me.parent)}}},_=(Z,te,fe,K,me,Ee,se,le,Me=0)=>{for(let Oe=Me;Oe<Z.length;Oe++){const Je=Z[Oe]=le?Ja(Z[Oe]):vi(Z[Oe]);g(null,Je,te,fe,K,me,Ee,se,le)}},$=(Z,te,fe,K,me,Ee,se)=>{const le=te.el=Z.el;let{patchFlag:Me,dynamicChildren:Oe,dirs:Je}=te;Me|=Z.patchFlag&16;const ue=Z.props||mr,ve=te.props||mr;let We;fe&&Jl(fe,!1),(We=ve.onVnodeBeforeUpdate)&&mi(We,fe,te,Z),Je&&ks(te,Z,fe,"beforeUpdate"),fe&&Jl(fe,!0);const B=me&&te.type!=="foreignObject";if(Oe?S(Z.dynamicChildren,Oe,le,fe,K,B,Ee):se||R(Z,te,le,null,fe,K,B,Ee,!1),Me>0){if(Me&16)C(le,te,ue,ve,fe,K,me);else if(Me&2&&ue.class!==ve.class&&i(le,"class",null,ve.class,me),Me&4&&i(le,"style",ue.style,ve.style,me),Me&8){const Y=te.dynamicProps;for(let re=0;re<Y.length;re++){const pe=Y[re],$e=ue[pe],Le=ve[pe];(Le!==$e||pe==="value")&&i(le,pe,$e,Le,me,Z.children,fe,K,G)}}Me&1&&Z.children!==te.children&&u(le,te.children)}else!se&&Oe==null&&C(le,te,ue,ve,fe,K,me);((We=ve.onVnodeUpdated)||Je)&&qo(()=>{We&&mi(We,fe,te,Z),Je&&ks(te,Z,fe,"updated")},K)},S=(Z,te,fe,K,me,Ee,se)=>{for(let le=0;le<te.length;le++){const Me=Z[le],Oe=te[le],Je=Me.el&&(Me.type===Ur||!Za(Me,Oe)||Me.shapeFlag&70)?f(Me.el):fe;g(Me,Oe,Je,null,K,me,Ee,se,!0)}},C=(Z,te,fe,K,me,Ee,se)=>{if(fe!==K){if(fe!==mr)for(const le in fe)!Sd(le)&&!(le in K)&&i(Z,le,fe[le],null,se,te.children,me,Ee,G);for(const le in K){if(Sd(le))continue;const Me=K[le],Oe=fe[le];Me!==Oe&&le!=="value"&&i(Z,le,Oe,Me,se,te.children,me,Ee,G)}"value"in K&&i(Z,"value",fe.value,K.value)}},O=(Z,te,fe,K,me,Ee,se,le,Me)=>{const Oe=te.el=Z?Z.el:a(""),Je=te.anchor=Z?Z.anchor:a("");let{patchFlag:ue,dynamicChildren:ve,slotScopeIds:We}=te;We&&(le=le?le.concat(We):We),Z==null?(r(Oe,fe,K),r(Je,fe,K),_(te.children,fe,Je,me,Ee,se,le,Me)):ue>0&&ue&64&&ve&&Z.dynamicChildren?(S(Z.dynamicChildren,ve,fe,me,Ee,se,le),(te.key!=null||me&&te===me.subTree)&&CT(Z,te,!0)):R(Z,te,fe,Je,me,Ee,se,le,Me)},P=(Z,te,fe,K,me,Ee,se,le,Me)=>{te.slotScopeIds=le,Z==null?te.shapeFlag&512?me.ctx.activate(te,fe,K,se,Me):I(te,fe,K,me,Ee,se,Me):J(Z,te,Me)},I=(Z,te,fe,K,me,Ee,se)=>{const le=Z.component=aD(Z,K,me);if(s2(Z)&&(le.ctx.renderer=we),lD(le),le.asyncDep){if(me&&me.registerDep(le,H),!Z.el){const Me=le.subTree=ht(is);v(null,Me,te,fe)}return}H(le,Z,te,fe,me,Ee,se)},J=(Z,te,fe)=>{const K=te.component=Z.component;if(jL(Z,te,fe))if(K.asyncDep&&!K.asyncResolved){D(K,te,fe);return}else K.next=te,gL(K.update),K.update();else te.el=Z.el,K.vnode=te},H=(Z,te,fe,K,me,Ee,se)=>{const le=()=>{if(Z.isMounted){let{next:Je,bu:ue,u:ve,parent:We,vnode:B}=Z,Y=Je,re;Jl(Z,!1),Je?(Je.el=B.el,D(Z,Je,se)):Je=B,ue&&Jm(ue),(re=Je.props&&Je.props.onVnodeBeforeUpdate)&&mi(re,We,Je,B),Jl(Z,!0);const pe=_1(Z),$e=Z.subTree;Z.subTree=pe,g($e,pe,f($e.el),ee($e),Z,me,Ee),Je.el=pe.el,Y===null&&t2(Z,pe.el),ve&&qo(ve,me),(re=Je.props&&Je.props.onVnodeUpdated)&&qo(()=>mi(re,We,Je,B),me)}else{let Je;const{el:ue,props:ve}=te,{bm:We,m:B,parent:Y}=Z,re=Eu(te);if(Jl(Z,!1),We&&Jm(We),!re&&(Je=ve&&ve.onVnodeBeforeMount)&&mi(Je,Y,te),Jl(Z,!0),ue&&he){const pe=()=>{Z.subTree=_1(Z),he(ue,Z.subTree,Z,me,null)};re?te.type.__asyncLoader().then(()=>!Z.isUnmounted&&pe()):pe()}else{const pe=Z.subTree=_1(Z);g(null,pe,fe,K,Z,me,Ee),te.el=pe.el}if(B&&qo(B,me),!re&&(Je=ve&&ve.onVnodeMounted)){const pe=te;qo(()=>mi(Je,Y,pe),me)}(te.shapeFlag&256||Y&&Eu(Y.vnode)&&Y.vnode.shapeFlag&256)&&Z.a&&qo(Z.a,me),Z.isMounted=!0,te=fe=K=null}},Me=Z.effect=new Wx(le,()=>s0(Oe),Z.scope),Oe=Z.update=()=>Me.run();Oe.id=Z.uid,Jl(Z,!0),Oe()},D=(Z,te,fe)=>{te.component=Z;const K=Z.vnode.props;Z.vnode=te,Z.next=null,QL(Z,te.props,K,fe),KL(Z,te.children,fe),Tf(),xS(),Af()},R=(Z,te,fe,K,me,Ee,se,le,Me=!1)=>{const Oe=Z&&Z.children,Je=Z?Z.shapeFlag:0,ue=te.children,{patchFlag:ve,shapeFlag:We}=te;if(ve>0){if(ve&128){L(Oe,ue,fe,K,me,Ee,se,le,Me);return}else if(ve&256){V(Oe,ue,fe,K,me,Ee,se,le,Me);return}}We&8?(Je&16&&G(Oe,me,Ee),ue!==Oe&&u(fe,ue)):Je&16?We&16?L(Oe,ue,fe,K,me,Ee,se,le,Me):G(Oe,me,Ee,!0):(Je&8&&u(fe,""),We&16&&_(ue,fe,K,me,Ee,se,le,Me))},V=(Z,te,fe,K,me,Ee,se,le,Me)=>{Z=Z||Cu,te=te||Cu;const Oe=Z.length,Je=te.length,ue=Math.min(Oe,Je);let ve;for(ve=0;ve<ue;ve++){const We=te[ve]=Me?Ja(te[ve]):vi(te[ve]);g(Z[ve],We,fe,null,me,Ee,se,le,Me)}Oe>Je?G(Z,me,Ee,!0,!1,ue):_(te,fe,K,me,Ee,se,le,Me,ue)},L=(Z,te,fe,K,me,Ee,se,le,Me)=>{let Oe=0;const Je=te.length;let ue=Z.length-1,ve=Je-1;for(;Oe<=ue&&Oe<=ve;){const We=Z[Oe],B=te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]);if(Za(We,B))g(We,B,fe,null,me,Ee,se,le,Me);else break;Oe++}for(;Oe<=ue&&Oe<=ve;){const We=Z[ue],B=te[ve]=Me?Ja(te[ve]):vi(te[ve]);if(Za(We,B))g(We,B,fe,null,me,Ee,se,le,Me);else break;ue--,ve--}if(Oe>ue){if(Oe<=ve){const We=ve+1,B=We<Je?te[We].el:K;for(;Oe<=ve;)g(null,te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]),fe,B,me,Ee,se,le,Me),Oe++}}else if(Oe>ve)for(;Oe<=ue;)U(Z[Oe],me,Ee,!0),Oe++;else{const We=Oe,B=Oe,Y=new Map;for(Oe=B;Oe<=ve;Oe++){const Dt=te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]);Dt.key!=null&&Y.set(Dt.key,Oe)}let re,pe=0;const $e=ve-B+1;let Le=!1,gt=0;const rt=new Array($e);for(Oe=0;Oe<$e;Oe++)rt[Oe]=0;for(Oe=We;Oe<=ue;Oe++){const Dt=Z[Oe];if(pe>=$e){U(Dt,me,Ee,!0);continue}let Bt;if(Dt.key!=null)Bt=Y.get(Dt.key);else for(re=B;re<=ve;re++)if(rt[re-B]===0&&Za(Dt,te[re])){Bt=re;break}Bt===void 0?U(Dt,me,Ee,!0):(rt[Bt-B]=Oe+1,Bt>=gt?gt=Bt:Le=!0,g(Dt,te[Bt],fe,null,me,Ee,se,le,Me),pe++)}const an=Le?nD(rt):Cu;for(re=an.length-1,Oe=$e-1;Oe>=0;Oe--){const Dt=B+Oe,Bt=te[Dt],ot=Dt+1<Je?te[Dt+1].el:K;rt[Oe]===0?g(null,Bt,fe,ot,me,Ee,se,le,Me):Le&&(re<0||Oe!==an[re]?E(Bt,fe,ot,2):re--)}}},E=(Z,te,fe,K,me=null)=>{const{el:Ee,type:se,transition:le,children:Me,shapeFlag:Oe}=Z;if(Oe&6){E(Z.component.subTree,te,fe,K);return}if(Oe&128){Z.suspense.move(te,fe,K);return}if(Oe&64){se.move(Z,te,fe,we);return}if(se===Ur){r(Ee,te,fe);for(let ue=0;ue<Me.length;ue++)E(Me[ue],te,fe,K);r(Z.anchor,te,fe);return}if(se===_d){w(Z,te,fe);return}if(K!==2&&Oe&1&&le)if(K===0)le.beforeEnter(Ee),r(Ee,te,fe),qo(()=>le.enter(Ee),me);else{const{leave:ue,delayLeave:ve,afterLeave:We}=le,B=()=>r(Ee,te,fe),Y=()=>{ue(Ee,()=>{B(),We&&We()})};ve?ve(Ee,B,Y):Y()}else r(Ee,te,fe)},U=(Z,te,fe,K=!1,me=!1)=>{const{type:Ee,props:se,ref:le,children:Me,dynamicChildren:Oe,shapeFlag:Je,patchFlag:ue,dirs:ve}=Z;if(le!=null&&Eg(le,null,fe,Z,!0),Je&256){te.ctx.deactivate(Z);return}const We=Je&1&&ve,B=!Eu(Z);let Y;if(B&&(Y=se&&se.onVnodeBeforeUnmount)&&mi(Y,te,Z),Je&6)A(Z.component,fe,K);else{if(Je&128){Z.suspense.unmount(fe,K);return}We&&ks(Z,null,te,"beforeUnmount"),Je&64?Z.type.remove(Z,te,fe,me,we,K):Oe&&(Ee!==Ur||ue>0&&ue&64)?G(Oe,te,fe,!1,!0):(Ee===Ur&&ue&384||!me&&Je&16)&&G(Me,te,fe),K&&W(Z)}(B&&(Y=se&&se.onVnodeUnmounted)||We)&&qo(()=>{Y&&mi(Y,te,Z),We&&ks(Z,null,te,"unmounted")},fe)},W=Z=>{const{type:te,el:fe,anchor:K,transition:me}=Z;if(te===Ur){M(fe,K);return}if(te===_d){x(Z);return}const Ee=()=>{o(fe),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(Z.shapeFlag&1&&me&&!me.persisted){const{leave:se,delayLeave:le}=me,Me=()=>se(fe,Ee);le?le(Z.el,Ee,Me):Me()}else Ee()},M=(Z,te)=>{let fe;for(;Z!==te;)fe=d(Z),o(Z),Z=fe;o(te)},A=(Z,te,fe)=>{const{bum:K,scope:me,update:Ee,subTree:se,um:le}=Z;K&&Jm(K),me.stop(),Ee&&(Ee.active=!1,U(se,Z,te,fe)),le&&qo(le,te),qo(()=>{Z.isUnmounted=!0},te),te&&te.pendingBranch&&!te.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===te.pendingId&&(te.deps--,te.deps===0&&te.resolve())},G=(Z,te,fe,K=!1,me=!1,Ee=0)=>{for(let se=Ee;se<Z.length;se++)U(Z[se],te,fe,K,me)},ee=Z=>Z.shapeFlag&6?ee(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():d(Z.anchor||Z.el),be=(Z,te,fe)=>{Z==null?te._vnode&&U(te._vnode,null,null,!0):g(te._vnode||null,Z,te,null,null,null,fe),xS(),Og(),te._vnode=Z},we={p:g,um:U,m:E,r:W,mt:I,mc:_,pc:R,pbc:S,n:ee,o:t};let Se,he;return e&&([Se,he]=e(we)),{render:be,hydrate:Se,createApp:JL(be,Se)}}function Jl({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function _T(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function CT(t,e,n=!1){const r=t.children,o=e.children;if(Jt(r)&&Jt(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Ja(o[i]),a.el=s.el),n||CT(s,a)),a.type===tf&&(a.el=s.el)}}function nD(t){const e=t.slice(),n=[0];let r,o,i,s,a;const l=t.length;for(r=0;r<l;r++){const c=t[r];if(c!==0){if(o=n[n.length-1],t[o]<c){e[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,t[n[a]]<c?i=a+1:s=a;c<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}const rD=t=>t.__isTeleport,Ur=Symbol.for("v-fgt"),tf=Symbol.for("v-txt"),is=Symbol.for("v-cmt"),_d=Symbol.for("v-stc"),Cd=[];let xi=null;function Ye(t=!1){Cd.push(xi=t?null:[])}function OT(){Cd.pop(),xi=Cd[Cd.length-1]||null}let nf=1;function NS(t){nf+=t}function TT(t){return t.dynamicChildren=nf>0?xi||Cu:null,OT(),nf>0&&xi&&xi.push(t),t}function It(t,e,n,r,o,i){return TT(ze(t,e,n,r,o,i,!0))}function cn(t,e,n,r,o){return TT(ht(t,e,n,r,o,!0))}function rh(t){return t?t.__v_isVNode===!0:!1}function Za(t,e){return t.type===e.type&&t.key===e.key}const f0="__vInternal",AT=({key:t})=>t??null,Gm=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ir(t)||zr(t)||on(t)?{i:oo,r:t,k:e,f:!!n}:t:null);function ze(t,e=null,n=null,r=0,o=null,i=t===Ur?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&AT(e),ref:e&&Gm(e),scopeId:l0,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:oo};return a?(f2(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=Ir(n)?8:16),nf>0&&!s&&xi&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&xi.push(l),l}const ht=oD;function oD(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===oT)&&(t=is),rh(t)){const a=rf(t,e,!0);return n&&f2(a,n),nf>0&&!i&&xi&&(a.shapeFlag&6?xi[xi.indexOf(t)]=a:xi.push(a)),a.patchFlag|=-2,a}if(hD(t)&&(t=t.__vccOpts),e){e=u2(e);let{class:a,style:l}=e;a&&!Ir(a)&&(e.class=Kn(a)),nr(l)&&(GO(l)&&!Jt(l)&&(l=wo({},l)),e.style=ui(l))}const s=Ir(t)?1:SL(t)?128:rD(t)?64:nr(t)?4:on(t)?2:0;return ze(t,e,n,r,o,s,i,!0)}function u2(t){return t?GO(t)||f0 in t?wo({},t):t:null}function rf(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=t,a=e?d0(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&AT(a),ref:e&&e.ref?n&&o?Jt(o)?o.concat(Gm(e)):[o,Gm(e)]:Gm(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ur?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&&rf(t.ssContent),ssFallback:t.ssFallback&&rf(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Kt(t=" ",e=0){return ht(tf,null,t,e)}function Jn(t="",e=!1){return e?(Ye(),cn(is,null,t)):ht(is,null,t)}function vi(t){return t==null||typeof t=="boolean"?ht(is):Jt(t)?ht(Ur,null,t.slice()):typeof t=="object"?Ja(t):ht(tf,null,String(t))}function Ja(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:rf(t)}function f2(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Jt(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),f2(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(f0 in e)?e._ctx=oo:o===3&&oo&&(oo.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else on(e)?(e={default:e,_ctx:oo},n=32):(e=String(e),r&64?(n=16,e=[Kt(e)]):n=8);t.children=e,t.shapeFlag|=n}function d0(...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=Kn([e.class,r.class]));else if(o==="style")e.style=ui([e.style,r.style]);else if(Xh(o)){const i=e[o],s=r[o];s&&i!==s&&!(Jt(i)&&i.includes(s))&&(e[o]=i?[].concat(i,s):s)}else o!==""&&(e[o]=r[o])}return e}function mi(t,e,n,r=null){Zi(t,e,7,[n,r])}const iD=vT();let sD=0;function aD(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||iD,i={uid:sD++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new RO(!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:xT(r,o),emitsOptions:rT(r,o),emit:null,emitted:null,propsDefaults:mr,inheritAttrs:r.inheritAttrs,ctx:mr,data:mr,props:mr,attrs:mr,slots:mr,refs:mr,setupState:mr,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=yL.bind(null,i),t.ce&&t.ce(i),i}let Jr=null;const Aa=()=>Jr||oo;let d2,iu,MS="__VUE_INSTANCE_SETTERS__";(iu=Yy()[MS])||(iu=Yy()[MS]=[]),iu.push(t=>Jr=t),d2=t=>{iu.length>1?iu.forEach(e=>e(t)):iu[0](t)};const $l=t=>{d2(t),t.scope.on()},fl=()=>{Jr&&Jr.scope.off(),d2(null)};function PT(t){return t.vnode.shapeFlag&4}let of=!1;function lD(t,e=!1){of=e;const{props:n,children:r}=t.vnode,o=PT(t);GL(t,n,o,e),XL(t,r);const i=o?cD(t,e):void 0;return of=!1,i}function cD(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=QO(new Proxy(t.ctx,zL));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?fD(t):null;$l(t),Tf();const i=ul(r,t,0,[t.props,o]);if(Af(),fl(),qx(i)){if(i.then(fl,fl),e)return i.then(s=>{sb(t,s,e)}).catch(s=>{Pf(s,t,0)});t.asyncDep=i}else sb(t,i,e)}else ET(t,e)}function sb(t,e,n){on(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:nr(e)&&(t.setupState=ZO(e)),ET(t,n)}let RS;function ET(t,e,n){const r=t.type;if(!t.render){if(!e&&RS&&!r.render){const o=r.template||l2(t).template;if(o){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=wo(wo({isCustomElement:i,delimiters:a},s),l);r.render=RS(o,c)}}t.render=r.render||Ki}{$l(t),Tf();try{FL(t)}finally{Af(),fl()}}}function uD(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Qo(t,"get","$attrs"),e[n]}}))}function fD(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return uD(t)},slots:t.slots,emit:t.emit,expose:e}}function h0(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(ZO(QO(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in $d)return $d[n](t)},has(e,n){return n in e||n in $d}}))}function dD(t,e=!0){return on(t)?t.displayName||t.name:t.name||e&&t.__name}function hD(t){return on(t)&&"__vccOpts"in t}const jn=(t,e)=>hL(t,e,of);function _l(t,e,n){const r=arguments.length;return r===2?nr(e)&&!Jt(e)?rh(e)?ht(t,null,[e]):ht(t,e):ht(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rh(n)&&(n=[n]),ht(t,e,n))}const pD=Symbol.for("v-scx"),mD=()=>Nu(pD),NT="3.3.10",gD="http://www.w3.org/2000/svg",ic=typeof document<"u"?document:null,IS=ic&&ic.createElement("template"),vD={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?ic.createElementNS(gD,t):ic.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>ic.createTextNode(t),createComment:t=>ic.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ic.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const s=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{IS.innerHTML=r?`<svg>${t}</svg>`:t;const a=IS.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},yD=Symbol("_vtc");function bD(t,e,n){const r=t[yD];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const wD=Symbol("_vod");function xD(t,e,n){const r=t.style,o=Ir(n);if(n&&!o){if(e&&!Ir(e))for(const i in e)n[i]==null&&ab(r,i,"");for(const i in n)ab(r,i,n[i])}else{const i=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),wD in t&&(r.display=i)}}const LS=/\s*!important$/;function ab(t,e,n){if(Jt(n))n.forEach(r=>ab(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=kD(t,e);LS.test(n)?t.setProperty(Uc(r),n.replace(LS,""),"important"):t[r]=n}}const DS=["Webkit","Moz","ms"],T1={};function kD(t,e){const n=T1[e];if(n)return n;let r=Ds(e);if(r!=="filter"&&r in t)return T1[e]=r;r=o0(r);for(let o=0;o<DS.length;o++){const i=DS[o]+r;if(i in t)return T1[e]=i}return e}const BS="http://www.w3.org/1999/xlink";function jD(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(BS,e.slice(6,e.length)):t.setAttributeNS(BS,e,n);else{const i=M9(e);n==null||i&&!NO(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function SD(t,e,n,r,o,i,s){if(e==="innerHTML"||e==="textContent"){r&&s(r,o,i),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){t._value=n;const c=a==="OPTION"?t.getAttribute("value"):t.value,u=n??"";c!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=NO(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function h2(t,e,n,r){t.addEventListener(e,n,r)}function $D(t,e,n,r){t.removeEventListener(e,n,r)}const zS=Symbol("_vei");function _D(t,e,n,r,o=null){const i=t[zS]||(t[zS]={}),s=i[e];if(r&&s)s.value=r;else{const[a,l]=CD(e);if(r){const c=i[e]=AD(r,o);h2(t,a,c,l)}else s&&($D(t,a,s,l),i[e]=void 0)}}const FS=/(?:Once|Passive|Capture)$/;function CD(t){let e;if(FS.test(t)){e={};let r;for(;r=t.match(FS);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Uc(t.slice(2)),e]}let A1=0;const OD=Promise.resolve(),TD=()=>A1||(OD.then(()=>A1=0),A1=Date.now());function AD(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Zi(PD(r,n.value),e,5,[r])};return n.value=t,n.attached=TD(),n}function PD(t,e){if(Jt(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 qS=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ED=(t,e,n,r,o=!1,i,s,a,l)=>{e==="class"?bD(t,r,o):e==="style"?xD(t,n,r):Xh(e)?zx(e)||_D(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ND(t,e,r,o))?SD(t,e,r,i,s,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),jD(t,e,r,o))};function ND(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&qS(e)&&on(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;return!(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")}return qS(e)&&Ir(n)?!1:e in t}function BSe(t){const e=Aa();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>cb(i,o))},r=()=>{const o=t(e.proxy);lb(e.subTree,o),n(o)};EL(r),zl(()=>{const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),ef(()=>o.disconnect())})}function lb(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{lb(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)cb(t.el,e);else if(t.type===Ur)t.children.forEach(n=>lb(n,e));else if(t.type===_d){let{el:n,anchor:r}=t;for(;n&&(cb(n,e),n!==r);)n=n.nextSibling}}function cb(t,e){if(t.nodeType===1){const n=t.style;for(const r in e)n.setProperty(`--${r}`,e[r])}}const Ng=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Jt(e)?n=>Jm(e,n):e},Mu=Symbol("_assign"),MD={created(t,{value:e},n){t.checked=Zu(e,n.props.value),t[Mu]=Ng(n),h2(t,"change",()=>{t[Mu](oh(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Mu]=Ng(r),e!==n&&(t.checked=Zu(e,r.props.value))}},RD={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=n0(e);h2(t,"change",()=>{const i=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?PO(oh(s)):oh(s));t[Mu](t.multiple?o?new Set(i):i:i[0])}),t[Mu]=Ng(r)},mounted(t,{value:e}){HS(t,e)},beforeUpdate(t,e,n){t[Mu]=Ng(n)},updated(t,{value:e}){HS(t,e)}};function HS(t,e){const n=t.multiple;if(!(n&&!Jt(e)&&!n0(e))){for(let r=0,o=t.options.length;r<o;r++){const i=t.options[r],s=oh(i);if(n)Jt(e)?i.selected=I9(e,s)>-1:i.selected=e.has(s);else if(Zu(oh(i),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function oh(t){return"_value"in t?t._value:t.value}const ID=["ctrl","shift","alt","meta"],LD={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)=>ID.some(n=>t[`${n}Key`]&&!e.includes(n))},DD=(t,e)=>t._withMods||(t._withMods=(n,...r)=>{for(let o=0;o<e.length;o++){const i=LD[e[o]];if(i&&i(n,e))return}return t(n,...r)}),BD={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zD=(t,e)=>t._withKeys||(t._withKeys=n=>{if(!("key"in n))return;const r=Uc(n.key);if(e.some(o=>o===r||BD[o]===r))return t(n)}),MT=wo({patchProp:ED},vD);let Od,VS=!1;function FD(){return Od||(Od=eD(MT))}function qD(){return Od=VS?Od:tD(MT),VS=!0,Od}const RT=(...t)=>{const e=FD().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=IT(r);if(!o)return;const i=e._component;!on(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e},HD=(...t)=>{const e=qD().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=IT(r);if(o)return n(o,!0,o instanceof SVGElement)},e};function IT(t){return Ir(t)?document.querySelector(t):t}const VD=/#/g,WD=/&/g,UD=/=/g,p2=/\+/g,JD=/%5e/gi,GD=/%60/gi,QD=/%7c/gi,YD=/%20/gi;function XD(t){return encodeURI(""+t).replace(QD,"|")}function ub(t){return XD(typeof t=="string"?t:JSON.stringify(t)).replace(p2,"%2B").replace(YD,"+").replace(VD,"%23").replace(WD,"%26").replace(GD,"`").replace(JD,"^")}function P1(t){return ub(t).replace(UD,"%3D")}function Mg(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function KD(t){return Mg(t.replace(p2," "))}function ZD(t){return Mg(t.replace(p2," "))}function m2(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=KD(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=ZD(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 eB(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${P1(t)}=${ub(n)}`).join("&"):`${P1(t)}=${ub(e)}`:P1(t)}function LT(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>eB(e,t[e])).filter(Boolean).join("&")}const tB=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,nB=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,rB=/^([/\\]\s*){2,}[^/\\]/;function Zh(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?tB.test(t):nB.test(t)||(e.acceptRelative?rB.test(t):!1)}const oB=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function iB(t){return!!t&&oB.test(t)}const sB=/\/$|\/\?|\/#/;function fb(t="",e){return e?sB.test(t):t.endsWith("/")}function g2(t="",e){if(!e)return(fb(t)?t.slice(0,-1):t)||"/";if(!fb(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,...s]=n.split("?");return(i.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Rg(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(fb(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,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function aB(t=""){return t.startsWith("/")}function WS(t=""){return aB(t)?t:"/"+t}function DT(t,e){if(BT(e)||Zh(t))return t;const n=g2(e);return t.startsWith(n)?t:Pa(n,t)}function lB(t,e){if(BT(e))return t;const n=g2(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Ru(t,e){const n=Gc(t),r={...m2(n.search),...e};return n.search=LT(r),zT(n)}function BT(t){return!t||t==="/"}function cB(t){return t&&t!=="/"}const uB=/^\.?\//;function Pa(t,...e){let n=t||"";for(const r of e.filter(o=>cB(o)))if(n){const o=r.replace(uB,"");n=Rg(n)+o}else n=r;return n}function fB(t,e,n={}){return n.trailingSlash||(t=Rg(t),e=Rg(e)),n.leadingSlash||(t=WS(t),e=WS(e)),n.encoding||(t=Mg(t),e=Mg(e)),t===e}function Gc(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(!Zh(t,{acceptRelative:!0}))return e?Gc(e+t):US(t);const[,r="",o,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=US(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u}}function US(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function zT(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 dB=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},Ig=dB().app,hB=()=>Ig.baseURL,pB=()=>Ig.buildAssetsDir,v2=(...t)=>Pa(FT(),pB(),...t),FT=(...t)=>{const e=Ig.cdnURL||Ig.baseURL;return t.length?Pa(e,...t):e};globalThis.__buildAssetsURL=v2,globalThis.__publicAssetsURL=FT;const mB=/"(?:_|\\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*:/,gB=/"(?: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*:/,vB=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yB(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){bB(t);return}return e}function bB(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Lg(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(!vB.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(mB.test(t)||gB.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,yB)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}class wB extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function xB(t){var l,c,u,f,d;const e=((l=t.error)==null?void 0:l.message)||((c=t.error)==null?void 0:c.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>",s=`${o}: ${i}${e?` ${e}`:""}`,a=new wB(s,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return t.response&&t.response[p]}});return a}const kB=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function JS(t="GET"){return kB.has(t.toUpperCase())}function jB(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 SB=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$B=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function _B(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return $B.test(e)?"json":SB.has(e)||e.startsWith("text/")?"text":"blob"}function CB(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 OB=new Set([408,409,425,429,500,502,503,504]),TB=new Set([101,204,205,304]);function qT(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=JS(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):OB.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=xB(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){var d;const u={request:l,options:CB(c,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=DT(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Ru(u.request,{...u.options.params,...u.options.query}))),u.options.body&&JS(u.options.method)&&(jB(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&&!TB.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||_B(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Lg;u.response._data=g(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},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>e(...a),s.create=(a={})=>qT({...t,defaults:{...t.defaults,...a}}),s}const y2=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")}(),AB=y2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),PB=y2.Headers,EB=y2.AbortController,NB=qT({fetch:AB,Headers:PB,AbortController:EB}),MB=NB;globalThis.$fetch||(globalThis.$fetch=MB.create({baseURL:hB()}));function db(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?db(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const RB={run:t=>t()},IB=()=>RB,HT=typeof console.createTask<"u"?console.createTask:IB;function LB(t,e){const n=e.shift(),r=HT(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function DB(t,e){const n=e.shift(),r=HT(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function E1(t,e){for(const n of[...t])n(e)}class BB{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 s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,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=db(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=db(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(LB,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(DB,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&E1(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&E1(this._after,o)}):(this._after&&o&&E1(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 VT(){return new BB}function zB(t={}){let e,n=!1;const r=s=>{if(e&&e!==s)throw new Error("Context conflict")};let o;if(t.asyncContext){const s=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&e===void 0){const s=o.getStore();if(s!==void 0)return s}return e};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),e=s,n=!0},unset:()=>{e=void 0,n=!1},call:(s,a)=>{r(s),e=s;try{return o?o.run(s,a):a()}finally{n||(e=void 0)}},async callAsync(s,a){e=s;const l=()=>{e=s},c=()=>e===s?l:void 0;hb.add(c);try{const u=o?o.run(s,a):a();return n||(e=void 0),await u}finally{hb.delete(c)}}}}function FB(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=zB({...t,...r})),e[n],e[n]}}}const Dg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},GS="__unctx__",qB=Dg[GS]||(Dg[GS]=FB()),HB=(t,e={})=>qB.get(t,e),QS="__unctx_async_handlers__",hb=Dg[QS]||(Dg[QS]=new Set);function WT(t){const e=[];for(const o of hb){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 UT=HB("nuxt-app",{asyncContext:!1}),VB="__nuxt_plugin";function WB(t){let e=0;const n={_scope:L9(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:Bs({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>GB(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=VT(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Ip(n,s,i),Ip(n.vueApp.config.globalProperties,s,i)},Ip(n.vueApp,"$nuxt",n),Ip(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||Sr;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Bs(n.payload.config);return n.provide("config",r),n}async function UB(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 JB(t,e){const n=[],r=[];for(const o of e){const i=UB(t,o);o.parallel?n.push(i.catch(s=>r.push(s))):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,{[VB]:!0}))}function GB(t,e,n){const r=()=>n?e(...n):e();return UT.set(t),t.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Sr(){var e;let t;if(bT()&&(t=(e=Aa())==null?void 0:e.appContext.app.$nuxt),t=t||UT.tryUse(),!t)throw new Error("[nuxt] instance unavailable");return t}/*! @__NO_SIDE_EFFECTS__ */function ih(){return Sr().$config}function Ip(t,e,n){Object.defineProperty(t,e,{get:()=>n})}const QB="modulepreload",YB=function(t,e){return t[0]==="."?new URL(t,e).href:t},YS={},XB=function(e,n,r){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=YB(i,r),i in YS)return;YS[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":QB,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},sh=(...t)=>XB(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),KB=-1,ZB=-2,ez=-3,tz=-4,nz=-5,rz=-6;function oz(t,e){return iz(JSON.parse(t),e)}function iz(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,s=!1){if(i===KB)return;if(i===ez)return NaN;if(i===tz)return 1/0;if(i===nz)return-1/0;if(i===rz)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=e==null?void 0:e[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<a.length;h+=1)u.add(o(a[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<a.length;h+=2)f.set(o(a[h]),o(a[h+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=o(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==ZB&&(l[c]=o(u))}}else{const l={};r[i]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[i]}return o(0)}function sz(t){return Array.isArray(t)?t:[t]}const az=["title","titleTemplate","script","style","noscript"],Qm=["base","meta","link","style","script","noscript"],lz=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],cz=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],JT=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],uz=typeof window<"u";function b2(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 XS(t){return t._h||b2(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function GT(t,e){const{props:n,tag:r}=t;if(cz.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 s=String(n[i]);return e&&!e(s)?!1:`${r}:${i}:${s}`}return!1}function KS(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function fz(t,e,n){const r={tag:t,props:await QT(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return JT.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||az.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 dz(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 QT(t,e){for(const n of Object.keys(t)){if(n==="class"){t[n]=dz(t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!JT.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 hz=10;async function pz(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&lz.includes(n)).forEach(([n,r])=>{const o=sz(r);e.push(...o.map(i=>fz(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<<hz)+r,n))}const ZS={base:-10,title:10},e$={critical:-80,high:-10,low:20};function Bg(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 ZS&&(e=ZS[t.tag]),typeof n=="string"&&n in e$?e+e$[n]:e)}const mz=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],YT=["onload","onerror","onabort","onprogress","onloadstart"],Fa="%separator";function Ym(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(s){let a;return["s","pageTitle"].includes(s)?a=e.pageTitle:s.includes(".")?a=s.split(".").reduce((l,c)=>l&&l[c]||void 0,e):a=e[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=t;try{o=decodeURI(t)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=r(s.slice(1));typeof a=="string"&&(t=t.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),t.includes(Fa)&&(t.endsWith(Fa)&&(t=t.slice(0,-Fa.length).trim()),t.startsWith(Fa)&&(t=t.slice(Fa.length).trim()),t=t.replace(new RegExp(`\\${Fa}\\s*\\${Fa}`,"g"),Fa),t=Ym(t,{separator:n},n)),t}async function gz(t){const e={tag:t.tagName.toLowerCase(),props:await QT(t.getAttributeNames().reduce((n,r)=>({...n,[r]:t.getAttribute(r)}),{})),innerHTML:t.innerHTML};return e._d=GT(e),e}async function XT(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:Qm.includes(f.tag)?XS(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=>Qm.includes(p.tagName.toLowerCase())))i.elMap[h.getAttribute("data-hid")||XS(await gz(h))]=h}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function a({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(g=>{h[g]&&h[g]!==d[g]&&(d[g]=h[g])}),s(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(h.props).forEach(([g,m])=>{const v=`attr:${g}`;if(g==="class")for(const b of(m||"").split(" ").filter(Boolean))p&&s(f,`${v}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b);else d.getAttribute(g)!==m&&d.setAttribute(g,m===!0?"":String(m)),p&&s(f,v,()=>d.removeAttribute(g))})}const l=[],c={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?a(f):Qm.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await t.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),t._dom=i,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:o})}async function vz(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await XT(t,e),delete t._domUpdatePromise,r()}))}function yz(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){vz(i,t)}}}}}const bz=["templateParams","htmlAttrs","bodyAttrs"],wz={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=GT(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 a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&bz.includes(r.tag)&&(a="merge"),a==="merge"){const l=i.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),e[o].props={...l,...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(Bg(r)>Bg(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Qm.includes(r.tag)&&s===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))}}},xz={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"}})}}},kz=["script","link","bodyAttrs"];function jz(t){const e={},n={};return Object.entries(t.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(YT.includes(r)&&(e[r]=`this.dataset.${r} = true`),n[r]=o):e[r]=o}),{props:e,eventHandlers:n}}const Sz=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags)if(kz.includes(n.tag)){const{props:r,eventHandlers:o}=jz(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||b2(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,s])=>{const a=`${e.tag._d||e.tag._p}:${i}`,l=i.slice(2).toLowerCase(),c=`data-h-${l}`;if(r(e.id,a,()=>{}),e.$el.hasAttribute(c))return;e.$el.setAttribute(c,"");let u;const f=d=>{s(d),u==null||u.disconnect()};i in e.$el.dataset?f(new Event(i.replace("on",""))):YT.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(l,f),r(e.id,a,()=>{u==null||u.disconnect(),o.removeEventListener(l,f),e.$el.removeAttribute(c)})})}}}),$z=["link","style","script","noscript"],_z={hooks:{"tag:normalise":({tag:t})=>{t.key&&$z.includes(t.tag)&&(t.props["data-hid"]=t._h=b2(t.key))}}},Cz={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 mz)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)=>Bg(n)-Bg(r))}}},Oz={meta:"content",link:"href",htmlAttrs:"lang"},Tz=t=>({hooks:{"tags:resolve":e=>{var a;const{tags:n}=e,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Ym(i.pageTitle||r||"",i,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=Oz[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=Ym(l.props[c],i,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=Ym(l[u],i,s))})}t._templateParams=i,t._separator=s,e.tags=n.filter(l=>l.tag!=="templateParams")}}}),Az={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=KS(e[n].textContent,e[r].textContent);o!==null?e[r].textContent=o||e[r].textContent:delete e[r]}else if(n!==-1){const o=KS(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)}}},Pz={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 KT;function Ez(t={}){const e=Nz(t);return e.use(yz()),KT=e}function t$(t,e){return!t||t==="server"&&e||t==="client"&&!e}function Nz(t={}){const e=VT();e.addHooks(t.hooks||{}),t.document=t.document||(uz?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),t$(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return t$(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...i]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await pz(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[wz,xz,Sz,_z,Cz,Tz,Az,Pz,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Mz(){return KT}const Rz=NT.startsWith("3");function Iz(t){return typeof t=="function"?t():Ne(t)}function zg(t,e=""){if(t instanceof Promise)return t;const n=Iz(t);return!t||!n?n:Array.isArray(n)?n.map(r=>zg(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,Ne(o)]:[r,zg(o,r)])):n}const Lz={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=zg(e.input)}}},ZT="usehead";function Dz(t){return{install(n){Rz&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(ZT,t))}}.install}function Bz(t={}){t.domDelayFn=t.domDelayFn||(n=>Jc(()=>setTimeout(()=>n(),0)));const e=Ez(t);return e.use(Lz),e.install=Dz(e),e}const pb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mb="__unhead_injection_handler__";function zz(t){pb[mb]=t}function Fz(){if(mb in pb)return pb[mb]();const t=Nu(ZT);return t||Mz()}function gb(t,e={}){const n=e.head||Fz();if(n)return n.ssr?n.push(t,e):qz(n,t,e)}function qz(t,e,n={}){const r=Yt(!1),o=Yt({});i2(()=>{o.value=r.value?{}:zg(e)});const i=t.push(o.value,n);return br(o,a=>{i.patch(a)}),Aa()&&(a2(()=>{i.dispose()}),uT(()=>{r.value=!0}),cT(()=>{r.value=!1})),i}function Hz(t){return{ctx:{table:t},matchAll:e=>tA(e,t)}}function eA(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,o])=>[r,eA(o)])):new Map(Object.entries(t[n]));return e}function Vz(t){return Hz(eA(t))}function tA(t,e){const n=[];for(const[o,i]of n$(e.wildcard))t.startsWith(o)&&n.push(i);for(const[o,i]of n$(e.dynamic))if(t.startsWith(o+"/")){const s="/"+t.slice(o.length).split("/").splice(2).join("/");n.push(...tA(s,i))}const r=e.static.get(t);return r&&n.push(r),n.filter(Boolean)}function n$(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function vb(t,e,n=".",r){if(!N1(e))return vb(t,{},n,r);const o=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const s=t[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:N1(s)&&N1(o[i])?o[i]=vb(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function N1(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 nA(t){return(...e)=>e.reduce((n,r)=>vb(n,r,"",t),{})}const Fg=nA(),Wz=nA((t,e,n)=>{if(t[e]!==void 0&&typeof n=="function")return t[e]=n(t[e]),!0});function Uz(t,e){try{return e in t}catch{return!1}}var Jz=Object.defineProperty,Gz=(t,e,n)=>e in t?Jz(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ec=(t,e,n)=>(Gz(t,typeof e!="symbol"?e+"":e,n),n);class yb extends Error{constructor(e,n={}){super(e,n),ec(this,"statusCode",500),ec(this,"fatal",!1),ec(this,"unhandled",!1),ec(this,"statusMessage"),ec(this,"data"),ec(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:bb(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=rA(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}ec(yb,"__h3_error__",!0);function Qz(t){if(typeof t=="string")return new yb(t);if(Yz(t))return t;const e=new yb(t.message??t.statusMessage??"",{cause:t.cause||t});if(Uz(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=bb(t.statusCode,e.statusCode):t.status&&(e.statusCode=bb(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;rA(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 Yz(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const Xz=/[^\u0009\u0020-\u007E]/g;function rA(t=""){return t.replace(Xz,"")}function bb(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const oA=Symbol("route"),w2=()=>Xx(Sr().payload,"error"),Kz=t=>{const e=x2(t);try{const n=Sr(),r=w2();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},Zz=async(t={})=>{const e=Sr(),n=w2();e.callHook("app:error:cleared",t),t.redirect&&await Qc().replace(t.redirect),n.value=null},eF=t=>!!(t&&typeof t=="object"&&"__nuxt_error"in t),x2=t=>{const e=Qz(t);return e.__nuxt_error=!0,e},Qc=()=>{var t;return(t=Sr())==null?void 0:t.$router},iA=()=>bT()?Nu(oA,Sr()._route):Sr()._route;/*! @__NO_SIDE_EFFECTS__ */const tF=()=>{try{if(Sr()._processingMiddleware)return!0}catch{return!0}return!1},sA=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:Ru(t.path||"/",t.query||{})+(t.hash||"");if(e!=null&&e.open){{const{target:a="_blank",windowFeatures:l={}}=e.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=(e==null?void 0:e.external)||Zh(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 a=Gc(n).protocol;if(a&&iB(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=tF();if(!r&&o)return t;const i=Qc(),s=Sr();return r?(s._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?i.replace(t):i.push(t)},nF={nuxt:{buildId:"4b44e059-802c-46c9-90d2-f73641cbd674"}},rF=Wz(nF);function aA(){const t=Sr();return t._appConfig||(t._appConfig=Bs(rF)),t._appConfig}const oF={componentName:"NuxtLink"},iF={deep:!0},sF="#__nuxt";let Xm,lA;function aF(){var e;const t=(e=aA().nuxt)==null?void 0:e.buildId;return Xm=$fetch(v2(`builds/meta/${t}.json`)),Xm.then(n=>{lA=Vz(n.matcher)}),Xm}function p0(){return Xm||aF()}async function cA(t){return await p0(),Fg({},...lA.matchAll(t).reverse())}function r$(t,e={}){const n=lF(t,e),r=Sr(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=cF(t).then(i=>i?uA(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const o$="json";function lF(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"||Zh(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=e.hash||(e.fresh?Date.now():"");return Pa(ih().app.baseURL,n.pathname,r?`_payload.${r}.${o$}`:`_payload.${o$}`)}async function uA(t){const e=fetch(t).then(n=>n.text().then(fA));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function cF(t=iA().path){if((await p0()).prerendered.includes(t))return!0;const n=await cA(t);return!!n.prerender&&!n.redirect}let Lp=null;async function uF(){if(Lp)return Lp;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=fA(t.textContent||""),n=t.dataset.src?await uA(t.dataset.src):void 0;return Lp={...e,...n,...window.__NUXT__},Lp}function fA(t){return oz(t,Sr()._payloadRevivers)}function fF(t,e){Sr()._payloadRevivers[t]=e}const wb={NuxtError:t=>x2(t),EmptyShallowRef:t=>Cg(t==="_"?void 0:t==="0n"?BigInt(0):Lg(t)),EmptyRef:t=>Yt(t==="_"?void 0:t==="0n"?BigInt(0):Lg(t)),ShallowRef:t=>Cg(t),ShallowReactive:t=>JO(t),Ref:t=>Yt(t),Reactive:t=>Bs(t)};wb.Island=({key:t,params:e})=>{const n=Sr();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 dF=Ys({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in wb)fF(r,wb[r]);Object.assign(t.payload,([e,n]=WT(()=>t.runWithContext(uF)),e=await e,n(),e)),window.__NUXT__=t.payload}}),hF=[],pF=Ys({name:"nuxt:head",enforce:"pre",setup(t){const e=Bz({plugins:hF});zz(()=>Sr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await XT(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)}}}),mF=async t=>{let e,n;const r=([e,n]=WT(()=>cA(t.path)),e=await e,n(),e);if(r.redirect)return r.redirect},gF=[mF];function M1(t){typeof t=="object"&&(t=zT({pathname:t.path||"",search:LT(t.query||{}),hash:t.hash||""}));const e=Gc(t.toString());return{path:e.pathname,fullPath:t,query:m2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const vF=Ys({name:"nuxt:router",enforce:"pre",setup(t){const e=lB(window.location.pathname,ih().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=ih().app.baseURL,s=Bs(M1(e));async function a(u,f){try{const d=M1(u);for(const h of r["navigate:before"]){const p=await h(d,s);if(p===!1||p instanceof Error)return;if(typeof p=="string"&&p.length)return a(p,!0)}for(const h of r["resolve:before"])await h(d,s);Object.assign(s,d),window.history[f?"replaceState":"pushState"]({},"",Pa(i,d.fullPath)),t.isHydrating||await t.runWithContext(Zz);for(const h of r["navigate:after"])await h(d,s)}catch(d){for(const h of r.error)await h(d)}}const l={currentRoute:s,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>a(u,!1),replace:u=>a(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:M1,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=()=>a(u.to,u.replace);return()=>{var p;const h=l.resolve(u.to);return u.custom?(p=f.default)==null?void 0:p.call(f,{href:u.to,navigate:d,route:h}):_l("a",{href:u.to,onClick:g=>(g.preventDefault(),d())},f)}}}),window.addEventListener("popstate",u=>{const f=u.target.location;l.replace(f.href.replace(f.origin,""))}),t._route=s,t._middleware=t._middleware||{global:[],named:{}};const c=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{l.beforeEach(async(u,f)=>{u.meta=Bs(u.meta||{}),t.isHydrating&&c&&!$c(u.meta.layout)&&(u.meta.layout=c),t._processingMiddleware=!0;{const d=new Set([...gF,...t._middleware.global]);for(const h of d){const p=await t.runWithContext(()=>h(u,f));if(p!==!0&&(p||p===!1))return p}}}),l.afterEach(()=>{delete t._processingMiddleware}),await l.replace(e),fB(s.fullPath,e)||await t.runWithContext(()=>sA(s.fullPath))}),{provide:{route:s,router:l}}}}),xb=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),yF=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),k2=t=>{const e=Sr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{xb(t)}):xb(t)},bF=Ys({name:"nuxt:payload",setup(t){Qc().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await r$(e.path);r&&Object.assign(t.static.data,r.data)}),k2(()=>{var e;t.hooks.hook("link:prefetch",async n=>{Gc(n).protocol||await r$(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(p0,1e3)})}}),wF=Ag(()=>sh(()=>Promise.resolve().then(()=>cW),void 0,import.meta.url).then(t=>t.default)),xF=Ag(()=>sh(()=>import("./IconCSS.b7e5876d.js"),["./IconCSS.b7e5876d.js","./IconCSS.f0b56d3e.css"],import.meta.url).then(t=>t.default)),kF=[["Icon",wF],["IconCSS",xF]],jF=Ys({name:"nuxt:global-components",setup(t){for(const[e,n]of kF)t.vueApp.component(e,n),t.vueApp.component("Lazy"+e,n)}}),SF="$s";function j2(...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=SF+n,i=Sr(),s=Xx(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(zr(a))return i.payload.state[o]=a,a;s.value=a}return s}const $F="__NUXT_COLOR_MODE__",_F="nuxt-color-mode",ra=window[$F]||{},CF=Ys(t=>{const e=j2("color-mode",()=>Bs({preference:ra.preference,value:ra.value,unknown:!1,forced:!1})).value;Qc().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"?ra.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=ra.getColorScheme())}))}br(()=>e.preference,o=>{var i;e.forced||(o==="system"?(e.value=ra.getColorScheme(),r()):e.value=o,(i=window.localStorage)==null||i.setItem(_F,o))},{immediate:!0}),br(()=>e.value,(o,i)=>{ra.removeColorScheme(i),ra.addColorScheme(o)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=ra.preference,e.value=ra.value,e.unknown=!1)}),t.provide("colorMode",e)});const OF=Ys(()=>{});function TF(t={}){const e=t.path||window.location.pathname;let n={};try{n=Lg(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:Sr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const AF=Ys({name:"nuxt:chunk-reload",setup(t){const e=Qc(),n=ih(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:Pa(n.app.baseURL,i.fullPath);TF({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(o)}),e.onError((i,s)=>{r.has(i)&&o(s)})}}),PF=Ys(t=>{let e;async function n(){const r=await p0();e&&clearTimeout(e),e=setTimeout(n,1e3*60*60);const o=await $fetch(v2("builds/latest.json"));o.id!==r.id&&t.hooks.callHook("app:manifest:update",o)}k2(()=>{e=setTimeout(n,1e3*60*60)})}),EF=["top","right","bottom","left"],i$=["start","end"],s$=EF.reduce((t,e)=>t.concat(e,e+"-"+i$[0],e+"-"+i$[1]),[]),ah=Math.min,tc=Math.max,NF={left:"right",right:"left",bottom:"top",top:"bottom"},MF={start:"end",end:"start"};function kb(t,e,n){return tc(t,ah(e,n))}function Yc(t,e){return typeof t=="function"?t(e):t}function zs(t){return t.split("-")[0]}function es(t){return t.split("-")[1]}function dA(t){return t==="x"?"y":"x"}function S2(t){return t==="y"?"height":"width"}function ep(t){return["top","bottom"].includes(zs(t))?"y":"x"}function $2(t){return dA(ep(t))}function hA(t,e,n){n===void 0&&(n=!1);const r=es(t),o=$2(t),i=S2(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Hg(s)),[s,Hg(s)]}function RF(t){const e=Hg(t);return[qg(t),e,qg(e)]}function qg(t){return t.replace(/start|end/g,e=>MF[e])}function IF(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:s;default:return[]}}function LF(t,e,n,r){const o=es(t);let i=IF(zs(t),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),e&&(i=i.concat(i.map(qg)))),i}function Hg(t){return t.replace(/left|right|bottom|top/g,e=>NF[e])}function DF(t){return{top:0,right:0,bottom:0,left:0,...t}}function pA(t){return typeof t!="number"?DF(t):{top:t,right:t,bottom:t,left:t}}function Td(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function a$(t,e,n){let{reference:r,floating:o}=t;const i=ep(e),s=$2(e),a=S2(s),l=zs(e),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){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(es(e)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1);break}return h}const BF=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=a$(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:m,fn:v}=a[g],{x:b,y:w,data:x,reset:k}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});if(u=b??u,f=w??f,h={...h,[m]:{...h[m],...x}},k&&p<=50){p++,typeof k=="object"&&(k.placement&&(d=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:u,y:f}=a$(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function m0(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Yc(e,t),p=pA(h),m=a[d?f==="floating"?"reference":"floating":f],v=Td(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(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=f==="floating"?{...s.floating,x:r,y:o}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.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=Td(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:w,strategy:l}):b);return{top:(v.top-k.top+p.top)/x.y,bottom:(k.bottom-v.bottom+p.bottom)/x.y,left:(v.left-k.left+p.left)/x.x,right:(k.right-v.right+p.right)/x.x}}const zF=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=Yc(t,e)||{};if(c==null)return{};const f=pA(u),d={x:n,y:r},h=$2(o),p=S2(h),g=await s.getDimensions(c),m=h==="y",v=m?"top":"left",b=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],y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let j=y?y[w]:0;(!j||!await(s.isElement==null?void 0:s.isElement(y)))&&(j=a.floating[w]||i.floating[p]);const _=x/2-k/2,$=j/2-g[p]/2-1,S=ah(f[v],$),C=ah(f[b],$),O=S,P=j-g[p]-C,I=j/2-g[p]/2+_,J=kb(O,I,P),H=!l.arrow&&es(o)!=null&&I!=J&&i.reference[p]/2-(I<O?S:C)-g[p]/2<0,D=H?I<O?I-O:I-P:0;return{[h]:d[h]+D,data:{[h]:J,centerOffset:I-J-D,...H&&{alignmentOffset:D}},reset:H}}});function FF(t,e,n){return(t?[...n.filter(o=>es(o)===t),...n.filter(o=>es(o)!==t)]:n.filter(o=>zs(o)===o)).filter(o=>t?es(o)===t||(e?qg(o)!==o:!1):!0)}const qF=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=s$,autoAlignment:h=!0,...p}=Yc(t,e),g=f!==void 0||d===s$?FF(f||null,h,d):d,m=await m0(e,p),v=((n=s.autoPlacement)==null?void 0:n.index)||0,b=g[v];if(b==null)return{};const w=hA(b,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==b)return{reset:{placement:g[0]}};const x=[m[zs(b)],m[w[0]],m[w[1]]],k=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:x}],y=g[v+1];if(y)return{data:{index:v+1,overflows:k},reset:{placement:y}};const j=k.map(S=>{const C=es(S.placement);return[S.placement,C&&u?S.overflows.slice(0,2).reduce((O,P)=>O+P,0):S.overflows[0],S.overflows]}).sort((S,C)=>S[1]-C[1]),$=((o=j.filter(S=>S[2].slice(0,es(S[0])?2:3).every(C=>C<=0))[0])==null?void 0:o[0])||j[0][0];return $!==a?{data:{index:v+1,overflows:k},reset:{placement:$}}:{}}}},HF=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=Yc(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=zs(o),b=zs(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),x=d||(b||!g?[Hg(a)]:RF(a));!d&&p!=="none"&&x.push(...LF(a,g,p,w));const k=[a,...x],y=await m0(e,m),j=[];let _=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&j.push(y[v]),f){const O=hA(o,s,w);j.push(y[O[0]],y[O[1]])}if(_=[..._,{placement:o,overflows:j}],!j.every(O=>O<=0)){var $,S;const O=((($=i.flip)==null?void 0:$.index)||0)+1,P=k[O];if(P)return{data:{index:O,overflows:_},reset:{placement:P}};let I=(S=_.filter(J=>J.overflows[0]<=0).sort((J,H)=>J.overflows[1]-H.overflows[1])[0])==null?void 0:S.placement;if(!I)switch(h){case"bestFit":{var C;const J=(C=_.map(H=>[H.placement,H.overflows.filter(D=>D>0).reduce((D,R)=>D+R,0)]).sort((H,D)=>H[1]-D[1])[0])==null?void 0:C[0];J&&(I=J);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};async function VF(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=zs(n),a=es(n),l=ep(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=Yc(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 a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const WF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=e,l=await VF(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},UF=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:s=!1,limiter:a={fn:m=>{let{x:v,y:b}=m;return{x:v,y:b}}},...l}=Yc(t,e),c={x:n,y:r},u=await m0(e,l),f=ep(zs(o)),d=dA(f);let h=c[d],p=c[f];if(i){const m=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=h+u[m],w=h-u[v];h=kb(b,h,w)}if(s){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=p+u[m],w=p-u[v];p=kb(b,p,w)}const g=a.fn({...e,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},JF=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:s=()=>{},...a}=Yc(t,e),l=await m0(e,a),c=zs(n),u=es(n),f=ep(n)==="y",{width:d,height:h}=r.floating;let p,g;c==="top"||c==="bottom"?(p=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,p=u==="end"?"top":"bottom");const m=h-l[p],v=d-l[g],b=!e.middlewareData.shift;let w=m,x=v;if(f){const y=d-l.left-l.right;x=u||b?ah(v,y):y}else{const y=h-l.top-l.bottom;w=u||b?ah(m,y):y}if(b&&!u){const y=tc(l.left,0),j=tc(l.right,0),_=tc(l.top,0),$=tc(l.bottom,0);f?x=d-2*(y!==0||j!==0?y+j:tc(l.left,l.right)):w=h-2*(_!==0||$!==0?_+$:tc(l.top,l.bottom))}await s({...e,availableWidth:x,availableHeight:w});const k=await o.getDimensions(i.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function ki(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Es(t){return ki(t).getComputedStyle(t)}const l$=Math.min,Ad=Math.max,Vg=Math.round;function mA(t){const e=Es(t);let n=parseFloat(e.width),r=parseFloat(e.height);const o=t.offsetWidth,i=t.offsetHeight,s=Vg(n)!==o||Vg(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Cl(t){return vA(t)?(t.nodeName||"").toLowerCase():""}let Dp;function gA(){if(Dp)return Dp;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Dp=t.brands.map(e=>e.brand+"/"+e.version).join(" "),Dp):navigator.userAgent}function Ns(t){return t instanceof ki(t).HTMLElement}function dl(t){return t instanceof ki(t).Element}function vA(t){return t instanceof ki(t).Node}function c$(t){return typeof ShadowRoot>"u"?!1:t instanceof ki(t).ShadowRoot||t instanceof ShadowRoot}function g0(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 GF(t){return["table","td","th"].includes(Cl(t))}function jb(t){const e=/firefox/i.test(gA()),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 yA(){return!/^((?!chrome|android).)*safari/i.test(gA())}function _2(t){return["html","body","#document"].includes(Cl(t))}function bA(t){return dl(t)?t:t.contextElement}const wA={x:1,y:1};function Iu(t){const e=bA(t);if(!Ns(e))return wA;const n=e.getBoundingClientRect(),{width:r,height:o,fallback:i}=mA(e);let s=(i?Vg(n.width):n.width)/r,a=(i?Vg(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function lh(t,e,n,r){var o,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=bA(t);let l=wA;e&&(r?dl(r)&&(l=Iu(r)):l=Iu(t));const c=a?ki(a):window,u=!yA()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,h=s.width/l.x,p=s.height/l.y;if(a){const g=ki(a),m=r&&dl(r)?ki(r):r;let v=g.frameElement;for(;v&&r&&m!==g;){const b=Iu(v),w=v.getBoundingClientRect(),x=getComputedStyle(v);w.x+=(v.clientLeft+parseFloat(x.paddingLeft))*b.x,w.y+=(v.clientTop+parseFloat(x.paddingTop))*b.y,f*=b.x,d*=b.y,h*=b.x,p*=b.y,f+=w.x,d+=w.y,v=ki(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function hl(t){return((vA(t)?t.ownerDocument:t.document)||window.document).documentElement}function v0(t){return dl(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xA(t){return lh(hl(t)).left+v0(t).scrollLeft}function ch(t){if(Cl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||c$(t)&&t.host||hl(t);return c$(e)?e.host:e}function kA(t){const e=ch(t);return _2(e)?e.ownerDocument.body:Ns(e)&&g0(e)?e:kA(e)}function Wg(t,e){var n;e===void 0&&(e=[]);const r=kA(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=ki(r);return o?e.concat(i,i.visualViewport||[],g0(r)?r:[]):e.concat(r,Wg(r))}function u$(t,e,n){return e==="viewport"?Td(function(r,o){const i=ki(r),s=hl(r),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=yA();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(t,n)):dl(e)?Td(function(r,o){const i=lh(r,!0,o==="fixed"),s=i.top+r.clientTop,a=i.left+r.clientLeft,l=Ns(r)?Iu(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(e,n)):Td(function(r){const o=hl(r),i=v0(r),s=r.ownerDocument.body,a=Ad(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),l=Ad(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+xA(r);const u=-i.scrollTop;return Es(s).direction==="rtl"&&(c+=Ad(o.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(hl(t)))}function f$(t){return Ns(t)&&Es(t).position!=="fixed"?t.offsetParent:null}function d$(t){const e=ki(t);let n=f$(t);for(;n&&GF(n)&&Es(n).position==="static";)n=f$(n);return n&&(Cl(n)==="html"||Cl(n)==="body"&&Es(n).position==="static"&&!jb(n))?e:n||function(r){let o=ch(r);for(;Ns(o)&&!_2(o);){if(jb(o))return o;o=ch(o)}return null}(t)||e}function QF(t,e,n){const r=Ns(e),o=hl(e),i=lh(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Cl(e)!=="body"||g0(o))&&(s=v0(e)),Ns(e)){const l=lh(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else o&&(a.x=xA(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const YF={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=Wg(c).filter(m=>dl(m)&&Cl(m)!=="body"),h=null;const p=Es(c).position==="fixed";let g=p?ch(c):c;for(;dl(g)&&!_2(g);){const m=Es(g),v=jb(g);(p?v||h:v||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(b=>b!==g),g=ch(g)}return u.set(c,d),d}(e,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,u)=>{const f=u$(e,u,o);return c.top=Ad(f.top,c.top),c.right=l$(f.right,c.right),c.bottom=l$(f.bottom,c.bottom),c.left=Ad(f.left,c.left),c},u$(e,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=Ns(n),i=hl(n);if(n===i)return e;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((Cl(n)!=="body"||g0(i))&&(s=v0(n)),Ns(n))){const c=lh(n);a=Iu(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},isElement:dl,getDimensions:function(t){return Ns(t)?mA(t):t.getBoundingClientRect()},getOffsetParent:d$,getDocumentElement:hl,getScale:Iu,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const o=this.getOffsetParent||d$,i=this.getDimensions;return{reference:QF(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"},XF=(t,e,n)=>{const r=new Map,o={platform:YF,...n},i={...o.platform,_c:r};return BF(t,e,{...o,platform:i})};function jA(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?jA(t[n],e[n]):t[n]=e[n])}const ha={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 uh(t,e){let n=ha.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=ha.themes[n.$extend]||{}:(n=null,r=ha[e]):n=null;while(n);return r}function KF(t){const e=[t];let n=ha.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=ha.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function h$(t){const e=[t];let n=ha.themes[t]||{};do n.$extend?(e.push(n.$extend),n=ha.themes[n.$extend]||{}):n=null;while(n);return e}let _c=!1;if(typeof window<"u"){_c=!1;try{const t=Object.defineProperty({},"passive",{get(){_c=!0}});window.addEventListener("test",null,t)}catch{}}let SA=!1;typeof window<"u"&&typeof navigator<"u"&&(SA=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const $A=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),p$={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},m$={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function g$(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function R1(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Ui=[];let Gl=null;const v$={};function y$(t){let e=v$[t];return e||(e=v$[t]=[]),e}let Sb=function(){};typeof window<"u"&&(Sb=window.Element);function Rn(t){return function(e){return uh(e.theme,t)}}const I1="__floating-vue__popper",_A=()=>Qr({name:"VPopper",provide(){return{[I1]:{parentPopper:this}}},inject:{[I1]:{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:Rn("disabled")},positioningDisabled:{type:Boolean,default:Rn("positioningDisabled")},placement:{type:String,default:Rn("placement"),validator:t=>$A.includes(t)},delay:{type:[String,Number,Object],default:Rn("delay")},distance:{type:[Number,String],default:Rn("distance")},skidding:{type:[Number,String],default:Rn("skidding")},triggers:{type:Array,default:Rn("triggers")},showTriggers:{type:[Array,Function],default:Rn("showTriggers")},hideTriggers:{type:[Array,Function],default:Rn("hideTriggers")},popperTriggers:{type:Array,default:Rn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Rn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Rn("popperHideTriggers")},container:{type:[String,Object,Sb,Boolean],default:Rn("container")},boundary:{type:[String,Sb],default:Rn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Rn("strategy")},autoHide:{type:[Boolean,Function],default:Rn("autoHide")},handleResize:{type:Boolean,default:Rn("handleResize")},instantMove:{type:Boolean,default:Rn("instantMove")},eagerMount:{type:Boolean,default:Rn("eagerMount")},popperClass:{type:[String,Array,Object],default:Rn("popperClass")},computeTransformOrigin:{type:Boolean,default:Rn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Rn("autoMinSize")},autoSize:{type:[Boolean,String],default:Rn("autoSize")},autoMaxSize:{type:Boolean,default:Rn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Rn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Rn("preventOverflow")},overflowPadding:{type:[Number,String],default:Rn("overflowPadding")},arrowPadding:{type:[Number,String],default:Rn("arrowPadding")},arrowOverflow:{type:Boolean,default:Rn("arrowOverflow")},flip:{type:Boolean,default:Rn("flip")},shift:{type:Boolean,default:Rn("shift")},shiftCrossAxis:{type:Boolean,default:Rn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Rn("noAutoFocus")},disposeTimeout:{type:Number,default:Rn("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[I1])==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(WF({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(qF({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(UF({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(HF({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(zF({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>o.reference.width/2:s=Math.abs(a)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}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(JF({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 XF(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),Gl&&this.instantMove&&Gl.instantMove&&Gl!==this.parentPopper){Gl.$_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&&(Gl=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 R1(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Wg(this.$_referenceNode),...Wg(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<Ui.length;n++)e=Ui[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Ui.push(this),document.body.classList.add("v-popper--some-open");for(const e of h$(this.theme))y$(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 R1(),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,g$(Ui,this),Ui.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of h$(this.theme)){const r=y$(n);g$(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Gl===this&&(Gl=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 R1(),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,p$,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],p$,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,m$,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],m$,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,_c?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const a=e[s];a&&this.$_registerEventListeners(t,a,o)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!t||t===o?r.forEach(s=>s.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(Pd>=t.left&&Pd<=t.right&&Ed>=t.top&&Ed<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Pd-Wa,r=Ed-Ua,o=e.left+e.width/2-Wa+(e.top+e.height/2)-Ua+e.width+e.height,i=Wa+n*o,s=Ua+r*o;return Bp(Wa,Ua,i,s,e.left,e.top,e.left,e.bottom)||Bp(Wa,Ua,i,s,e.left,e.top,e.right,e.top)||Bp(Wa,Ua,i,s,e.right,e.top,e.right,e.bottom)||Bp(Wa,Ua,i,s,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(SA?(document.addEventListener("touchstart",b$,_c?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",eq,_c?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",b$,!0),window.addEventListener("click",ZF,!0)),window.addEventListener("resize",rq));function b$(t){for(let e=0;e<Ui.length;e++){const n=Ui[e];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(t.target)}catch{}}}function ZF(t){CA(t)}function eq(t){CA(t,!0)}function CA(t,e=!1){const n={};for(let r=Ui.length-1;r>=0;r--){const o=Ui[r];try{const i=o.$_containsGlobalTarget=tq(o,t);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&w$(o,i,t)){if(o.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=o.parentPopper;for(;s&&w$(s,s.$_containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function tq(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function w$(t,e,n){return n.closeAllPopover||n.closePopover&&e||nq(t,n)&&!e}function nq(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function rq(t){for(let e=0;e<Ui.length;e++)Ui[e].$_computePosition(t)}let Wa=0,Ua=0,Pd=0,Ed=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Wa=Pd,Ua=Ed,Pd=t.clientX,Ed=t.clientY},_c?{passive:!0}:void 0);function Bp(t,e,n,r,o,i,s,a){const l=((s-o)*(e-i)-(a-i)*(t-o))/((a-i)*(n-t)-(s-o)*(r-e)),c=((n-t)*(e-i)-(r-e)*(t-o))/((a-i)*(n-t)-(s-o)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const oq={extends:_A()},y0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};function iq(t,e,n,r,o,i){return Ye(),It("div",{ref:"reference",class:Kn(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Yn(t.$slots,"default",EO(u2(t.slotData)))],2)}const sq=y0(oq,[["render",iq]]);function aq(){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 Km;function $b(){$b.init||($b.init=!0,Km=aq()!==-1)}var b0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$b(),Jc(()=>{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",Km&&this.$el.appendChild(t),t.data="about:blank",Km||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&&(!Km&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lq=bL();Zx("data-v-b329ee4c");const cq={class:"resize-observer",tabindex:"-1"};e2();const uq=lq((t,e,n,r,o,i)=>(Ye(),cn("div",cq)));b0.render=uq;b0.__scopeId="data-v-b329ee4c";b0.__file="src/components/ResizeObserver.vue";const OA=(t="theme")=>({computed:{themeClass(){return KF(this[t])}}}),fq=Qr({name:"VPopperContent",components:{ResizeObserver:b0},mixins:[OA()],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}}}),dq=["id","aria-hidden","tabindex","data-popper-placement"],hq={ref:"inner",class:"v-popper__inner"},pq=ze("div",{class:"v-popper__arrow-outer"},null,-1),mq=ze("div",{class:"v-popper__arrow-inner"},null,-1),gq=[pq,mq];function vq(t,e,n,r,o,i){const s=Sl("ResizeObserver");return Ye(),It("div",{id:t.popperId,ref:"popover",class:Kn(["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:ui(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]=zD(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[ze("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),ze("div",{class:"v-popper__wrapper",style:ui(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[ze("div",hq,[t.mounted?(Ye(),It(Ur,{key:0},[ze("div",null,[Yn(t.$slots,"default")]),t.handleResize?(Ye(),cn(s,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):Jn("",!0)],64)):Jn("",!0)],512),ze("div",{ref:"arrow",class:"v-popper__arrow-container",style:ui(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},gq,4)],4)],46,dq)}const TA=y0(fq,[["render",vq]]),AA={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)}}},yq=Qr({name:"VPopperWrapper",components:{Popper:sq,PopperContent:TA},mixins:[AA,OA("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 bq(t,e,n,r,o,i){const s=Sl("PopperContent"),a=Sl("Popper");return Ye(),cn(a,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Kn([t.themeClass])},{default:$t(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:m,classes:v,result:b})=>[Yn(t.$slots,"default",{shown:c,show:h,hide:p}),ht(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:v,result:b,onHide:p,onResize:m},{default:$t(()=>[Yn(t.$slots,"popper",{shown:c,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 C2=y0(yq,[["render",bq]]),wq={...C2,name:"VDropdown",vPopperTheme:"dropdown"},xq={...C2,name:"VMenu",vPopperTheme:"menu"},kq={...C2,name:"VTooltip",vPopperTheme:"tooltip"},jq=Qr({name:"VTooltipDirective",components:{Popper:_A(),PopperContent:TA},mixins:[AA],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>uh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>uh(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}}}),Sq=["innerHTML"],$q=["textContent"];function _q(t,e,n,r,o,i){const s=Sl("PopperContent"),a=Sl("Popper");return Ye(),cn(a,d0({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:$t(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:m,result:v})=>[ht(s,{ref:"popperContent",class:Kn({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:v,onHide:h,onResize:g},{default:$t(()=>[t.html?(Ye(),It("div",{key:0,innerHTML:t.finalContent},null,8,Sq)):(Ye(),It("div",{key:1,textContent:Wr(t.finalContent)},null,8,$q))]),_: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 Cq=y0(jq,[["render",_q]]),PA="v-popper--has-tooltip";function Oq(t,e){let n=t.placement;if(!n&&e)for(const r of $A)e[r]&&(n=r);return n||(n=uh(t.theme||"tooltip","placement")),n}function EA(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=Oq(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let L1,fh,Tq=0;function Aq(){if(L1)return;fh=Yt([]),L1=RT({name:"VTooltipDirectiveApp",setup(){return{directives:fh}},render(){return this.directives.map(e=>_l(Cq,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),L1.mount(t)}function Pq(t,e,n){Aq();const r=Yt(EA(t,e,n)),o=Yt(!1),i={id:Tq++,options:r,shown:o};return fh.value.push(i),t.classList&&t.classList.add(PA),t.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function NA(t){if(t.$_popper){const e=fh.value.indexOf(t.$_popper.item);e!==-1&&fh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(PA)}function x$(t,{value:e,modifiers:n}){const r=EA(t,e,n);if(!r.content||uh(r.theme||"tooltip","disabled"))NA(t);else{let o;t.$_popper?(o=t.$_popper,o.options.value=r):o=Pq(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?o.show():o.hide())}}const Eq={beforeMount:x$,updated:x$,beforeUnmount(t){NA(t)}};function k$(t){t.addEventListener("click",MA),t.addEventListener("touchstart",RA,_c?{passive:!0}:!1)}function j$(t){t.removeEventListener("click",MA),t.removeEventListener("touchstart",RA),t.removeEventListener("touchend",IA),t.removeEventListener("touchcancel",LA)}function MA(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function RA(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",IA),e.addEventListener("touchcancel",LA)}}function IA(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 LA(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const Nq={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&k$(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?k$(t):j$(t))},beforeUnmount(t){j$(t)}};function Mq(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,jA(ha,e),t.directive("tooltip",Eq),t.directive("close-popper",Nq),t.component("VTooltip",kq),t.component("VDropdown",wq),t.component("VMenu",xq))}const Rq={version:"2.0.0-beta.24",install:Mq,options:ha},Iq=Ys(t=>{t.vueApp.use(Rq)}),Lq=[dF,pF,vF,bF,jF,CF,OF,AF,PF,Iq],Ef=Qr({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(Ye(),It("div",{class:Kn(["n-icon",e.icon])},null,2))}}),Ea=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Dq={},Bq={class:"n-badge"};function zq(t,e){return Ye(),It("span",Bq,[Yn(t.$slots,"default")])}const Fq=Ea(Dq,[["render",zq]]);async function DA(t,e=Qc()){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(()=>DA(t,e));e._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const qq=(...t)=>t.find(e=>e!==void 0),Hq="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Vq(t){const e=t.componentName||"NuxtLink",n=(r,o)=>{if(!r||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return r;const i=t.trailingSlash==="append"?Rg:g2;if(typeof r=="string")return i(r,!0);const s="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(s,!0)}};return Qr({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=Qc(),s=ih(),a=jn(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),l=jn(()=>typeof a.value=="string"&&Zh(a.value,{acceptRelative:!0})),c=jn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||l.value),u=Yt(!1),f=Yt(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"&&!Uq()){const p=Sr();let g,m=null;zl(()=>{const v=Wq();k2(()=>{g=xb(()=>{var b;(b=f==null?void 0:f.value)!=null&&b.tagName&&(m=v.observe(f.value,async()=>{m==null||m(),m=null;const w=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",w).catch(()=>{}),!c.value&&DA(a.value,i).catch(()=>{})]),u.value=!0}))})})}),a2(()=>{g&&yF(g),m==null||m(),m=null})}return()=>{var v,b;if(!c.value){const w={ref:d,to:a.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),_l(Sl("RouterLink"),w,o.default)}const h=typeof a.value=="object"?((v=i.resolve(a.value))==null?void 0:v.href)??null:a.value&&!r.external&&!l.value?n(Pa(s.app.baseURL,a.value),i.resolve):a.value||null,p=r.target||null,g=r.noRel?null:qq(r.rel,t.externalRelAttribute,h?Hq:"")||null,m=()=>sA(h,{replace:r.replace});return r.custom?o.default?o.default({href:h,navigate:m,get route(){if(!h)return;const w=Gc(h);return{path:w.pathname,fullPath:w.pathname,get query(){return m2(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:g,target:p,isExternal:c.value,isActive:!1,isExactActive:!1}):null:_l("a",{ref:f,href:h,rel:g,target:p},(b=o.default)==null?void 0:b.call(o))}}})}const O2=Vq(oF);function Wq(){const t=Sr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(i,s)=>(e||(e=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(i,s),e.observe(i),()=>{n.delete(i),e.unobserve(i),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function Uq(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const Jq={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},BA=Qr({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=jn(()=>e.href||e.to);return(r,o)=>{const i=O2;return Ye(),cn(i,d0(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:$t(()=>[Yn(r.$slots,"default"),n.value&&r.target==="_blank"?(Ye(),It("div",Jq)):Jn("",!0)]),_:3},16,["class"])}}}),Gq={},Qq={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},Yq=ze("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),Xq=[Yq];function Kq(t,e){return Ye(),It("svg",Qq,Xq)}const Zq=Ea(Gq,[["render",Kq]]),eH=Qr({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Ef;return Ye(),cn(r2(e.to?Ne(O2):"button"),d0({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:$t(()=>[Yn(e.$slots,"icon",{},()=>[e.icon?(Ye(),cn(r,{key:0,icon:e.icon,class:Kn({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):Jn("",!0)]),Yn(e.$slots,"default")]),_:3},16,["to","class"])}}}),tH={},nH={class:"n-loading n-panel-grids-center"},rH={class:"flex flex-col animate-pulse items-center text-lg"},oH=ze("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function iH(t,e){return Ye(),It("div",nH,[ze("div",rH,[oH,Yn(t.$slots,"default",{},()=>[Kt(" Loading... ")])])])}const zA=Ea(tH,[["render",iH]]),sH=Qr({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=Yt(),i=Yt(!0),s=Yt();function a(l){const c=o.value;if(l!==s.value){s.value=l,i.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{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 g=p.result;g&&(c.style.backgroundImage=`url(${g})`,i.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return zl(()=>{br(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=zA;return Ye(),It("div",{ref_key:"image",ref:o,style:ui({aspectRatio:l.aspectRatio})},[Ne(i)?(Ye(),cn(u,{key:0})):Jn("",!0)],4)}}});const FA=Ea(sH,[["__scopeId","data-v-aa7a1878"]]);let aH;const Qf=[];function lH(t){if(Qf.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Qf.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&Qf.forEach(n=>n(e))},get(){return aH.value},configurable:!0}),()=>{Qf.splice(Qf.indexOf(t),1)}}function qA(t){return IO()?(B9(t),!0):!1}function sf(t){return typeof t=="function"?t():Ne(t)}const cH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uH=t=>typeof t<"u",fH=Object.prototype.toString,dH=t=>fH.call(t)==="[object Object]",_b=()=>{};function HA(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}const VA=t=>t();function hH(t,e={}){let n,r,o=_b;const i=a=>{clearTimeout(a),o(),o=_b};return a=>{const l=sf(t),c=sf(e.maxWait);return n&&i(n),l<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&i(r),r=null,u(a())},l)})}}function pH(t=VA){const e=Yt(!0);function n(){e.value=!1}function r(){e.value=!0}const o=(...i)=>{e.value&&t(...i)};return{isActive:Gx(e),pause:n,resume:r,eventFilter:o}}function mH(t){return t||Aa()}function T2(t,e=200,n={}){return HA(hH(e,n),t)}function gH(t,e,n={}){const{eventFilter:r=VA,...o}=n;return br(t,HA(r,e),o)}function vH(t,e,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=pH(r);return{stop:gH(t,e,{...o,eventFilter:i}),pause:s,resume:a,isActive:l}}function WA(t,e=!0,n){const r=mH(n);r?zl(t,r):e?t():Jc(t)}function yH(t){var e;const n=sf(t);return(e=n==null?void 0:n.$el)!=null?e:n}const af=cH?window:void 0;function Cb(...t){let e,n,r,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,o]=t,e=af):[e,n,r,o]=t,!e)return _b;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=br(()=>[yH(e),sf(o)],([u,f])=>{if(s(),!u)return;const d=dH(f)?{...f}:f;i.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return qA(c),c}function bH(){const t=Yt(!1);return Aa()&&zl(()=>{t.value=!0}),t}function wH(t){const e=bH();return jn(()=>(e.value,!!t()))}function xH(t,e={}){const{window:n=af}=e,r=wH(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=Yt(!1),s=c=>{i.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},l=i2(()=>{r.value&&(a(),o=n.matchMedia(sf(t)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),i.value=o.matches)});return qA(()=>{l(),a(),o=void 0}),i}function kH(t){return JSON.parse(JSON.stringify(t))}const zp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fp="__vueuse_ssr_handlers__",jH=SH();function SH(){return Fp in zp||(zp[Fp]=zp[Fp]||{}),zp[Fp]}function $H(t,e){return jH[t]||e}function _H(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const CH={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},S$="vueuse-storage";function OH(t,e,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=af,eventFilter:d,onError:h=$=>{console.error($)},initOnMounted:p}=r,g=(u?Cg:Yt)(typeof e=="function"?e():e);if(!n)try{n=$H("getDefaultStorage",()=>{var $;return($=af)==null?void 0:$.localStorage})()}catch($){h($)}if(!n)return g;const m=sf(e),v=_H(m),b=(o=r.serializer)!=null?o:CH[v],{pause:w,resume:x}=vH(g,()=>k(g.value),{flush:i,deep:s,eventFilter:d});return f&&a&&WA(()=>{Cb(f,"storage",_),Cb(f,S$,j),p&&_()}),p||_(),g;function k($){try{if($==null)n.removeItem(t);else{const S=b.write($),C=n.getItem(t);C!==S&&(n.setItem(t,S),f&&f.dispatchEvent(new CustomEvent(S$,{detail:{key:t,oldValue:C,newValue:S,storageArea:n}})))}}catch(S){h(S)}}function y($){const S=$?$.newValue:n.getItem(t);if(S==null)return l&&m!=null&&n.setItem(t,b.write(m)),m;if(!$&&c){const C=b.read(S);return typeof c=="function"?c(C,m):v==="object"&&!Array.isArray(C)?{...m,...C}:C}else return typeof S!="string"?S:b.read(S)}function j($){_($.detail)}function _($){if(!($&&$.storageArea!==n)){if($&&$.key==null){g.value=m;return}if(!($&&$.key!==t)){w();try{($==null?void 0:$.newValue)!==b.write(g.value)&&(g.value=y($))}catch(S){h(S)}finally{$?Jc(x):x()}}}}}function D1(t,e,n={}){const{window:r=af}=n;return OH(t,e,r==null?void 0:r.localStorage,n)}function UA(t,e,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Aa(),p=n||(h==null?void 0:h.emit)||((o=h==null?void 0:h.$emit)==null?void 0:o.bind(h))||((s=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(h==null?void 0:h.proxy));let g=c;e||(e="modelValue"),g=g||`update:${e.toString()}`;const m=w=>a?typeof a=="function"?a(w):kH(w):w,v=()=>uH(t[e])?m(t[e]):f,b=w=>{d?d(w)&&p(g,w):p(g,w)};if(l){const w=v(),x=Yt(w);let k=!1;return br(()=>t[e],y=>{k||(k=!0,x.value=m(y),Jc(()=>k=!1))}),br(x,y=>{!k&&(y!==t[e]||u)&&b(y)},{deep:u}),x}else return jn({get(){return v()},set(w){b(w)}})}function TH(t={}){const{window:e=af,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0}=t,s=Yt(n),a=Yt(r),l=()=>{e&&(i?(s.value=e.innerWidth,a.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),WA(l),Cb("resize",l,{passive:!0}),o){const c=xH("(orientation: portrait)");br(c,()=>l())}return{width:s,height:a}}const w0=Yt(Date.now()),JA=Yt(Date.now()),Yf=Yt(null),AH=window.location.host,dh=Yt("/"),Ob=Yt(),PH=Yt("/"),Hr=Yt({}),ni=Yt({}),Xf=Yt(!1),$$=Yt({}),Ho=T2(()=>{w0.value=Date.now()},200),EH=T2(()=>{w0.value=Date.now()},1e3),NH=jn(()=>DT(PH.value,`${window.location.protocol}//${AH}`)),A2=Yt(),MH=Yt(),hc=Yt(),Ug=Yt("dark");lH(async t=>{var n;A2.value=t.host.app.$fetch,i2(()=>{Ug.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;Ob.value=e.query,dh.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{Ob.value=r.query,dh.value=r.path,Ho()}),MH.value=t.devtools,hc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var o,i,s,a;(a=(s=(i=(o=hc.value)==null?void 0:o.host.nuxt.vueApp.config)==null?void 0:i.globalProperties)==null?void 0:s.$route.matched[0].components)!=null&&a.default.__file.includes(r)&&Ho()},refresh(){Ho()},refreshGlobalData(){JA.value=Date.now()}})});const RH=["width","height"],IH=Qr({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=Yt(),i=Yt(),s=jn(()=>n.maxWidth||Hr.value.width),a=jn(()=>n.maxHeight||Hr.value.height),l=T2(()=>{const c=i.value,u=Date.now();c.src="";const f=Hr.value.width||1200,d=Hr.value.height||600,h=a.value,p=s.value,g=h>d?1:h/d,m=p>f?1:p/f,v=m>g?g:m;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${o.value}&scale=${v}&colorMode=${Ug.value}`},200);return zl(()=>{br(()=>n.src,c=>{o.value!==c&&i.value&&(o.value=c,l())},{immediate:!0}),br([()=>Ug,i],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&gb({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(Ye(),It("div",{class:"w-full mx-auto h-full justify-center flex",style:ui({maxHeight:`${Ne(a)}px`,maxWidth:`${Ne(s)}px`})},[ze("iframe",{ref_key:"iframe",ref:i,class:"max-h-full",style:ui({aspectRatio:c.aspectRatio}),width:Ne(s),height:Ne(a)},null,12,RH)],4))}});const GA=Ea(IH,[["__scopeId","data-v-0dac61ea"]]);const LH={},DH={class:"root max-h-full relative flex"},BH={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},zH={class:"image-wrap"},FH={class:"domain absolute bottom-3 bg-black/20 z-2 left-3 text-white"};function qH(t,e){return Ye(),It("div",DH,[ze("div",BH,[ze("div",zH,[Yn(t.$slots,"default",{},void 0,!0)])]),ze("div",FH,[Yn(t.$slots,"domain",{},void 0,!0)])])}const HH=Ea(LH,[["render",qH],["__scopeId","data-v-7198aba6"]]);const VH={},WH=t=>(Zx("data-v-ba8e339e"),t=t(),e2(),t),UH={class:"root"},JH=WH(()=>ze("div",{class:"bar"},null,-1)),GH={class:"content"},QH={class:"flex items-center space-x-2"},YH={class:"favIcon"},XH={class:"siteName"},KH={class:"title"},ZH={class:"description"};function eV(t,e){return Ye(),It("div",UH,[JH,ze("div",GH,[ze("div",QH,[ze("div",YH,[Yn(t.$slots,"favIcon",{},void 0,!0)]),ze("div",XH,[Yn(t.$slots,"siteName",{},void 0,!0)])]),ze("div",KH,[Yn(t.$slots,"title",{},void 0,!0)]),ze("div",ZH,[Yn(t.$slots,"description",{},void 0,!0)]),Yn(t.$slots,"default",{},void 0,!0)])])}const tV=Ea(VH,[["render",eV],["__scopeId","data-v-ba8e339e"]]),QA=Object.freeze({left:0,top:0,width:16,height:16}),YA=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),P2=Object.freeze({...QA,...YA});Object.freeze({...P2,body:"",hidden:!1});({...QA});const XA=Object.freeze({width:null,height:null}),KA=Object.freeze({...XA,...YA});function nV(t,e){const n={...t};for(const r in e){const o=e[r],i=typeof o;r in XA?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const rV=/[\s,]+/;function oV(t,e){e.split(rV).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function iV(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 sV=/(-?[0-9.]*[0-9]+[0-9.]*)/g,aV=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function _$(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(sV);if(r===null||!r.length)return t;const o=[];let i=r.shift(),s=aV.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}const lV=t=>t==="unset"||t==="undefined"||t==="none";function cV(t,e){const n={...P2,...t},r={...KA,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const g=[],m=p.hFlip,v=p.vFlip;let b=p.rotate;m?v?b+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):v&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let w;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:w=o.height/2+o.top,g.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,g.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}b%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)),g.length&&(i='<g transform="'+g.join(" ")+'">'+i+"</g>")});const s=r.width,a=r.height,l=o.width,c=o.height;let u,f;s===null?(f=a===null?"1em":a==="auto"?c:a,u=_$(f,l/c)):(u=s==="auto"?l:s,f=a===null?_$(u,c/l):a==="auto"?c:a);const d={},h=(p,g)=>{lV(g)||(d[p]=g.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:d,body:i}}const uV=/\sid="(\S+)"/g,fV="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let dV=0;function hV(t,e=fV){const n=[];let r;for(;r=uV.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 s=typeof e=="function"?e(i):e+(dV++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),t=t.replace(new RegExp(o,"g"),""),t}function pV(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 mV(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function gV(t){return"data:image/svg+xml,"+mV(t)}function vV(t){return'url("'+gV(t)+'")'}const C$={...KA,inline:!1},yV={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},bV={display:"inline-block"},Tb={backgroundColor:"currentColor"},ZA={backgroundColor:"transparent"},O$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},T$={webkitMask:Tb,mask:Tb,background:ZA};for(const t in T$){const e=T$[t];for(const n in O$)e[t+n]=O$[n]}const Zm={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Zm[t+"-flip"]=e,Zm[t.slice(0,1)+"-flip"]=e,Zm[t+"Flip"]=e});function A$(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const wV=(t,e)=>{const n=nV(C$,e),r={...yV},o=e.mode||"svg",i={},s=e.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let g in e){const m=e[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&oV(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=iV(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const v=Zm[g];v?(m===!0||m==="true"||m===1)&&(n[v]=!0):C$[g]===void 0&&(r[g]=m)}}}const l=cV(t,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...a},Object.assign(r,c);let g=0,m=e.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=hV(l.body,m?()=>m+"ID"+g++:"iconifyVue"),_l("svg",r)}const{body:u,width:f,height:d}=t,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),p=pV(u,{...c,width:f+"",height:d+""});return r.style={...i,"--svg":vV(p),width:A$(c.width),height:A$(c.height),...bV,...h?Tb:ZA,...a},_l("span",r)},xV=Object.create(null),kV=Qr({inheritAttrs:!1,render(){const t=this.$attrs,e=t.icon,n=typeof e=="string"?xV[e]:typeof e=="object"?e:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:wV({...P2,...n},t)}}),Nd=/^[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 a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return e&&!eg(c)?null:c}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return e&&!eg(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return e&&!eg(a,n)?null:a}return null},eg=(t,e)=>t?!!((t.provider===""||t.provider.match(Nd))&&(e&&t.prefix===""||t.prefix.match(Nd))&&t.name.match(Nd)):!1,eP=Object.freeze({left:0,top:0,width:16,height:16}),Jg=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),E2=Object.freeze({...eP,...Jg}),Ab=Object.freeze({...E2,body:"",hidden:!1});function jV(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 P$(t,e){const n=jV(t,e);for(const r in Ab)r in Jg?r in t&&!(r in n)&&(n[r]=Jg[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function SV(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,l=a&&i(a);l&&(o[s]=[a].concat(l))}return o[s]}return(e||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function $V(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function s(a){i=P$(r[a]||o[a],i)}return s(e),n.forEach(s),P$(t,i)}function tP(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=SV(t);for(const o in r){const i=r[o];i&&(e(o,$V(t,o,i)),n.push(o))}return n}const _V={provider:"",aliases:{},not_found:{},...eP};function B1(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function nP(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!B1(t,_V))return null;const n=e.icons;for(const o in n){const i=n[o];if(!o.match(Nd)||typeof i.body!="string"||!B1(i,Ab))return null}const r=e.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o.match(Nd)||typeof s!="string"||!n[s]&&!r[s]||!B1(i,Ab))return null}return e}const E$=Object.create(null);function CV(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function Cc(t,e){const n=E$[t]||(E$[t]=Object.create(null));return n[e]||(n[e]=CV(t,e))}function N2(t,e){return nP(e)?tP(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function OV(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let hh=!1;function rP(t){return typeof t=="boolean"&&(hh=t),hh}function TV(t){const e=typeof t=="string"?x0(t,!0,hh):t;if(e){const n=Cc(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function AV(t,e){const n=x0(t,!0,hh);if(!n)return!1;const r=Cc(n.provider,n.prefix);return OV(r,n.name,e)}function PV(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),hh&&!e&&!t.prefix){let o=!1;return nP(t)&&(t.prefix="",tP(t,(i,s)=>{s&&AV(i,s)&&(o=!0)})),o}const n=t.prefix;if(!eg({provider:e,prefix:n,name:"a"}))return!1;const r=Cc(e,n);return!!N2(r,t)}const EV=Object.freeze({width:null,height:null}),NV=Object.freeze({...EV,...Jg});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Pb=Object.create(null);function MV(t,e){Pb[t]=e}function Eb(t){return Pb[t]||Pb[""]}function M2(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 R2=Object.create(null),Kf=["https://api.simplesvg.com","https://api.unisvg.com"],tg=[];for(;Kf.length>0;)Kf.length===1||Math.random()>.5?tg.push(Kf.shift()):tg.push(Kf.pop());R2[""]=M2({resources:["https://api.iconify.design"].concat(tg)});function Nb(t,e){const n=M2(e);return n===null?!1:(R2[t]=n,!0)}function I2(t){return R2[t]}const RV=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let N$=RV();function IV(t,e){const n=I2(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=e+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function LV(t){return t===404}const DV=(t,e,n)=>{const r=[],o=IV(t,e),i="icons";let s={type:i,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(s),s={type:i,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),r.push(s),r};function BV(t){if(typeof t=="string"){const e=I2(t);if(e)return e.path}return"/"}const zV=(t,e,n)=>{if(!N$){n("abort",424);return}let r=BV(e.provider);switch(e.type){case"icons":{const i=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});r+=i+".json?"+l.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 s=i.status;if(s!==200){setTimeout(()=>{n(LV(s)?"abort":"next",s)});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)})},FV={prepare:DV,send:zV};function qV(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,s=o.prefix,a=o.name,l=n[i]||(n[i]=Object.create(null)),c=l[s]||(l[s]=Cc(i,s));let u;a in c.icons?u=e.loaded:s===""||c.missing.has(a)?u=e.missing:u=e.pending;const f={provider:i,prefix:s,name:a};u.push(f)}),e}function oP(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==e))})}function HV(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 s=i.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(t.icons[c])s.loaded.push({provider:r,prefix:o,name:c});else if(t.missing.has(c))s.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||oP([t],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let VV=0;function WV(t,e,n){const r=VV++,o=oP.bind(null,n,r);if(!e.pending.length)return o;const i={id:r,icons:e,callback:t,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function UV(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 JV={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function GV(t,e,n,r){const o=t.resources.length,i=t.random?Math.floor(Math.random()*o):t.index;let s;if(t.random){let y=t.resources.slice(0);for(s=[];y.length>1;){const j=Math.floor(Math.random()*y.length);s.push(y[j]),y=y.slice(0,j).concat(y.slice(j+1))}s=s.concat(y)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const a=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),p(),d.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),d=[]}function m(y,j){j&&(h=[]),typeof y=="function"&&h.push(y)}function v(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:d.length,subscribe:m,abort:g}}function b(){l="failed",h.forEach(y=>{y(void 0,u)})}function w(){d.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),d=[]}function x(y,j,_){const $=j!=="success";switch(d=d.filter(S=>S!==y),l){case"pending":break;case"failed":if($||!t.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=_,b();return}if($){u=_,d.length||(s.length?k():b());return}if(p(),w(),!t.random){const S=t.resources.indexOf(y.resource);S!==-1&&S!==t.index&&(t.index=S)}l="completed",h.forEach(S=>{S(_)})}function k(){if(l!=="pending")return;p();const y=s.shift();if(y===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(w(),b())},t.timeout);return}b();return}const j={status:"pending",resource:y,callback:(_,$)=>{x(j,_,$)}};d.push(j),c++,f=setTimeout(k,t.rotate),n(y,e,j.callback)}return setTimeout(k),v}function iP(t){const e={...JV,...t};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const u=GV(e,a,l,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function i(a){return n.find(l=>a(l))||null}return{query:o,find:i,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:r}}function M$(){}const z1=Object.create(null);function QV(t){if(!z1[t]){const e=I2(t);if(!e)return;const n=iP(e),r={config:e,redundancy:n};z1[t]=r}return z1[t]}function YV(t,e,n){let r,o;if(typeof t=="string"){const i=Eb(t);if(!i)return n(void 0,424),M$;o=i.send;const s=QV(t);s&&(r=s.redundancy)}else{const i=M2(t);if(i){r=iP(i);const s=t.resources?t.resources[0]:"",a=Eb(s);a&&(o=a.send)}}return!r||!o?(n(void 0,424),M$):r.query(e,o,n)().abort}const R$="iconify2",ph="iconify",sP=ph+"-count",I$=ph+"-version",aP=36e5,XV=168;function Mb(t,e){try{return t.getItem(e)}catch{}}function L2(t,e,n){try{return t.setItem(e,n),!0}catch{}}function L$(t,e){try{t.removeItem(e)}catch{}}function Rb(t,e){return L2(t,sP,e.toString())}function Ib(t){return parseInt(Mb(t,sP))||0}const k0={local:!0,session:!0},lP={local:new Set,session:new Set};let D2=!1;function KV(t){D2=t}let qp=typeof window>"u"?{}:window;function cP(t){const e=t+"Storage";try{if(qp&&qp[e]&&typeof qp[e].length=="number")return qp[e]}catch{}k0[t]=!1}function uP(t,e){const n=cP(t);if(!n)return;const r=Mb(n,I$);if(r!==R$){if(r){const a=Ib(n);for(let l=0;l<a;l++)L$(n,ph+l.toString())}L2(n,I$,R$),Rb(n,0);return}const o=Math.floor(Date.now()/aP)-XV,i=a=>{const l=ph+a.toString(),c=Mb(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);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,a))return!0}catch{}L$(n,l)}};let s=Ib(n);for(let a=s-1;a>=0;a--)i(a)||(a===s-1?(s--,Rb(n,s)):lP[t].add(a))}function fP(){if(!D2){KV(!0);for(const t in k0)uP(t,e=>{const n=e.data,r=e.provider,o=n.prefix,i=Cc(r,o);if(!N2(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function ZV(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const r in k0)uP(r,o=>{const i=o.data;return o.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===e});return!0}function eW(t,e){D2||fP();function n(r){let o;if(!k0[r]||!(o=cP(r)))return;const i=lP[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=Ib(o),!Rb(o,s+1))return;const a={cached:Math.floor(Date.now()/aP),provider:t.provider,data:e};return L2(o,ph+s.toString(),JSON.stringify(a))}e.lastModified&&!ZV(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function D$(){}function tW(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,HV(t)}))}function nW(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=Eb(n)))return;i.prepare(n,r,o).forEach(a=>{YV(n,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{t.missing.add(c)});else try{const c=N2(t,l);if(!c.length)return;const u=t.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),eW(t,l)}catch(c){console.error(c)}tW(t)})})}))}const rW=(t,e)=>{const n=UV(t,!0,rP()),r=qV(n);if(!r.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(r.loaded,r.missing,r.pending,D$)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===s)return;s=c,a=u,i.push(Cc(c,u));const f=o[c]||(o[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Cc(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[c][u].push(f))}),i.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&nW(l,o[c][u])}),e?WV(e,r,i):D$},oW=t=>new Promise((e,n)=>{const r=typeof t=="string"?x0(t,!0):t;if(!r){n(t);return}rW([r||t],o=>{if(o.length&&r){const i=TV(r);if(i){e({...E2,...i});return}}n(t)})});({...NV});const B$={backgroundColor:"currentColor"},iW={backgroundColor:"transparent"},z$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},F$={webkitMask:B$,mask:B$,background:iW};for(const t in F$){const e=F$[t];for(const n in z$)e[t+n]=z$[n]}const F1={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";F1[t+"-flip"]=e,F1[t.slice(0,1)+"-flip"]=e,F1[t+"Flip"]=e});rP(!0);MV("",FV);if(typeof document<"u"&&typeof window<"u"){fP();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"||!PV(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;Nb(n,o)||console.error(r)}catch{console.error(r)}}}}({...E2});const sW=["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 aW(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 sW)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 lW=Qr({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let e,n;const r=Sr(),o=aA(),i=t;br(()=>{var m;return(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions},()=>{var m,v,b,w,x,k;if((v=(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions)!=null&&v.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((w=(b=o.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&w.publicApiFallback){Nb("custom",{resources:[(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions.url],index:0});return}Nb("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const s=j2("icons",()=>({})),a=Yt(!1),l=jn(()=>{var m,v;return(v=(m=o.nuxtIcon)==null?void 0:m.aliases)!=null&&v[i.name]?o.nuxtIcon.aliases[i.name]:i.name}),c=jn(()=>aW(l.value)),u=jn(()=>[c.value.provider,c.value.prefix,c.value.name].filter(Boolean).join(":")),f=jn(()=>{var m;return(m=s.value)==null?void 0:m[u.value]}),d=jn(()=>r.vueApp.component(l.value)),h=jn(()=>{var v,b,w;if(!i.size&&typeof((v=o.nuxtIcon)==null?void 0:v.size)=="boolean"&&!((b=o.nuxtIcon)!=null&&b.size))return;const m=i.size||((w=o.nuxtIcon)==null?void 0:w.size)||"1em";return String(Number(m))===m?`${m}px`:m}),p=jn(()=>{var m;return((m=o==null?void 0:o.nuxtIcon)==null?void 0:m.class)??"icon"});async function g(){var m;d.value||(m=s.value)!=null&&m[u.value]||(a.value=!0,s.value[u.value]=await oW(c.value).catch(()=>{}),a.value=!1)}return br(l,g),!d.value&&([e,n]=mT(()=>g()),e=await e,n()),(m,v)=>a.value?(Ye(),It("span",{key:0,class:Kn(p.value),style:ui({width:h.value,height:h.value})},null,6)):f.value?(Ye(),cn(Ne(kV),{key:1,icon:f.value,class:Kn(p.value),width:h.value,height:h.value},null,8,["icon","class","width","height"])):d.value?(Ye(),cn(r2(d.value),{key:2,class:Kn(p.value),width:h.value,height:h.value},null,8,["class","width","height"])):(Ye(),It("span",{key:3,class:Kn(p.value),style:ui({fontSize:h.value,lineHeight:h.value,width:h.value,height:h.value})},[Yn(m.$slots,"default",{},()=>[Kt(Wr(t.name),1)],!0)],6))}});const dP=Ea(lW,[["__scopeId","data-v-e9ef104d"]]),cW=Object.freeze(Object.defineProperty({__proto__:null,default:dP},Symbol.toStringTag,{value:"Module"})),uW=["disabled"],fW={key:0,value:"",disabled:"",hidden:""},dW=Qr({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const o=UA(t,"modelValue",e,{passive:!0});return(i,s)=>{const a=Ef;return Ye(),It("div",{class:Kn(["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"])},[Yn(i.$slots,"icon",{},()=>[i.icon?(Ye(),cn(a,{key:0,icon:i.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):Jn("",!0)]),lT(ze("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>zr(o)?o.value=l:null),disabled:i.disabled,class:Kn(["w-full flex-auto n-bg-base !outline-none",i.disabled?"appearance-none":""])},[i.placeholder?(Ye(),It("option",fW,Wr(i.placeholder),1)):Jn("",!0),Yn(i.$slots,"default")],10,uW),[[RD,Ne(o)]])],2)}}}),hW={flex:"~ gap-3","items-center":""},pW=Qr({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(Ye(),It("div",hW,[e.icon?(Ye(),It("div",{key:0,class:Kn(e.icon)},null,2)):Jn("",!0),Yn(e.$slots,"default",{},()=>[ze("div",null,Wr(e.text),1)])]))}}),hP=t=>(Zx("data-v-348c1d92"),t=t(),e2(),t),mW=["open"],gW={"text-base":""},vW={key:0,"text-sm":"",op50:""},yW=hP(()=>ze("div",{class:"flex-auto"},null,-1)),bW=hP(()=>ze("div",{class:"x-divider"},null,-1)),wW=Qr({__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=UA(t,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Ef,a=pW;return Ye(),It(Ur,null,[ze("details",{open:Ne(n),onToggle:r},[ze("summary",{class:Kn(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[ht(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Kn([Ne(n)?"op100":"op60",o.headerClass])},{default:$t(()=>[ze("div",null,[ze("div",gW,[Yn(o.$slots,"text",{},()=>[Kt(Wr(o.text),1)],!0)]),o.description||o.$slots.description?(Ye(),It("div",vW,[Yn(o.$slots,"description",{},()=>[Kt(Wr(o.description),1)],!0)])):Jn("",!0)]),yW,Yn(o.$slots,"actions",{},void 0,!0),o.collapse?(Ye(),cn(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Jn("",!0)]),_:3},8,["icon","text","class"])],2),ze("div",{class:Kn(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Yn(o.$slots,"details",{},void 0,!0),ze("div",{class:Kn([o.containerClass,"mt1"])},[Yn(o.$slots,"default",{},void 0,!0)],2),Yn(o.$slots,"footer",{},void 0,!0)],2)],40,mW),bW],64)}}});const xW=Ea(wW,[["__scopeId","data-v-348c1d92"]]),kW={class:"n-tip n-tip-base"},jW=Qr({__name:"NTip",props:{icon:{}},setup(t){return(e,n)=>{const r=Ef;return Ye(),It("div",kW,[Yn(e.$slots,"icon",{},()=>[e.icon?(Ye(),cn(r,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):Jn("",!0)]),ze("div",null,[Yn(e.$slots,"default")])])}}}),SW={class:"group"},$W={key:0,class:"opacity-70 text-sm transition group-hover:opacity-100"},_W={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},CW={class:"w-[220px] h-[110px] relative"},OW={class:"flex justify-between items-center text-xs px-2"},TW={class:""},AW=ze("span",{class:"underline"},"View source",-1),PW=Qr({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=hc.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=jn(()=>e.src.includes(".html")),o=jn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),i=jn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),s=Yt();return(a,l)=>{const c=BA,u=Ef,f=FA,d=GA,h=Sl("VTooltip");return Ye(),It("div",SW,[a.component.credits?(Ye(),It("div",$W,[i.value?(Ye(),cn(c,{key:0,href:i.value,external:"",class:"underline"},{default:$t(()=>[Kt(Wr(o.value),1)]),_:1},8,["href"])):Jn("",!0)])):Jn("",!0),ze("div",_W,[ht(h,null,{popper:$t(()=>[Kt(" Preview "+Wr(a.component.pascalName)+" for the current page. ",1)]),default:$t(()=>[ze("div",CW,[a.active?(Ye(),cn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):Jn("",!0),r.value?(Ye(),cn(d,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=p=>s.value=p)},null,8,["src","aspect-ratio"])):(Ye(),cn(f,{key:1,src:Ne(Ru)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:Kn(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=p=>s.value=p)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),ze("div",OW,[ht(h,null,{popper:$t(()=>[Kt(" Open the source code of "+Wr(a.component.pascalName)+".vue in your IDE ",1)]),default:$t(()=>[ze("div",TW,[ht(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:DD(n,["stop"])},{default:$t(()=>[ze("span",null,Wr(a.component.pascalName),1),AW]),_:1})])]),_:1})])])}}});function pP(...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=Sr(),s=()=>null,a=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];o.server=o.server??!0,o.default=o.default??s,o.getCachedData=o.getCachedData??a,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??iF.deep;const l=()=>![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?Yt:Cg;i._asyncData[n]={data:p(o.getCachedData(n)??o.default()),pending:Yt(!l()),error:Xx(i.payload._errors,n),status:Yt("idle")}}const c={...i._asyncData[n]};c.refresh=c.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)&&l())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const g=new Promise((m,v)=>{try{m(r(i))}catch(b){v(b)}}).then(m=>{if(g.cancelled)return i._asyncDataPromises[n];let v=m;o.transform&&(v=o.transform(m)),o.pick&&(v=EW(v,o.pick)),i.payload.data[n]=v,c.data.value=v,c.error.value=null,c.status.value="success"}).catch(m=>{if(g.cancelled)return i._asyncDataPromises[n];c.error.value=x2(m),c.data.value=Ne(o.default()),c.status.value="error"}).finally(()=>{g.cancelled||(c.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=g,i._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=o.server!==!1&&i.payload.serverRendered;{const p=Aa();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const m=p._nuxtOnBeforeMountCbs;p&&(dT(()=>{m.forEach(v=>{v()}),m.splice(0,m.length)}),ef(()=>m.splice(0,m.length)))}f&&i.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):p&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?p._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&br(o.watch,()=>c.refresh());const g=i.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await c.refresh()});p&&ef(g)}const d=Promise.resolve(i._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function EW(t,e){const n={};for(const r of e)n[r]=t[r];return n}function q$(){return pP(()=>A2.value(Pa("/__og-image__/image",dh.value,"og.json"),{query:ni.value}),{watch:[dh,w0]},"$XVR8o8RMBy")}function NW(){return pP(()=>A2.value("/__og-image__/debug.json"),{watch:[JA]},"$cHgKigQ0kS")}const MW=()=>j2("color-mode").value;var mP=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},gP={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(mP,()=>{return n={770:function(o,i,s){var a=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 l=a(s(418));let c=null,u=!1;class f{static _utf8ByteLength(v){let b=0;for(let w=0,x=v.length;w<x;w++){const k=v.charCodeAt(w);let y=k,j=!1;if(k>=55296&&k<=56319&&w+1<x){const _=v.charCodeAt(w+1);_>=56320&&_<=57343&&(y=65536+(k-55296<<10)|_-56320,j=!0)}b+=y<=127?1:y<=2047?2:y<=65535?3:4,j&&w++}return b}constructor(v){const b=v.length,w=f._utf8ByteLength(v),x=w!==b,k=x?new Uint32Array(b+1):null;x&&(k[b]=w);const y=x?new Uint32Array(w+1):null;x&&(y[w]=b);const j=new Uint8Array(w);let _=0;for(let $=0;$<b;$++){const S=v.charCodeAt($);let C=S,O=!1;if(S>=55296&&S<=56319&&$+1<b){const P=v.charCodeAt($+1);P>=56320&&P<=57343&&(C=65536+(S-55296<<10)|P-56320,O=!0)}x&&(k[$]=_,O&&(k[$+1]=_),C<=127?y[_+0]=$:C<=2047?(y[_+0]=$,y[_+1]=$):C<=65535?(y[_+0]=$,y[_+1]=$,y[_+2]=$):(y[_+0]=$,y[_+1]=$,y[_+2]=$,y[_+3]=$)),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&&$++}this.utf16Length=b,this.utf8Length=w,this.utf16Value=v,this.utf8Value=j,this.utf16OffsetToUtf8=k,this.utf8OffsetToUtf16=y}createString(v){const b=v._omalloc(this.utf8Length);return v.HEAPU8.set(this.utf8Value,b),b}}class d{constructor(v){if(this.id=++d.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=v;const b=new f(v);this.utf16Length=b.utf16Length,this.utf8Length=b.utf8Length,this.utf16OffsetToUtf8=b.utf16OffsetToUtf8,this.utf8OffsetToUtf16=b.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=c._omalloc(1e4)),d._sharedPtrInUse=!0,c.HEAPU8.set(b.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=b.createString(c)}convertUtf8OffsetToUtf16(v){return this.utf8OffsetToUtf16?v<0?0:v>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[v]:v}convertUtf16OffsetToUtf8(v){return this.utf16OffsetToUtf8?v<0?0:v>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[v]:v}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(v){if(!c)throw new Error("Must invoke loadWASM first.");const b=[],w=[];for(let j=0,_=v.length;j<_;j++){const $=new f(v[j]);b[j]=$.createString(c),w[j]=$.utf8Length}const x=c._omalloc(4*v.length);c.HEAPU32.set(b,x/4);const k=c._omalloc(4*v.length);c.HEAPU32.set(w,k/4);const y=c._createOnigScanner(x,k,v.length);for(let j=0,_=v.length;j<_;j++)c._ofree(b[j]);c._ofree(k),c._ofree(x),y===0&&function(j){throw new Error(j.UTF8ToString(j._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=y}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(v,b,w){let x=u,k=0;if(typeof w=="number"?(8&w&&(x=!0),k=w):typeof w=="boolean"&&(x=w),typeof v=="string"){v=new d(v);const y=this._findNextMatchSync(v,b,x,k);return v.dispose(),y}return this._findNextMatchSync(v,b,x,k)}_findNextMatchSync(v,b,w,x){const k=this._onigBinding;let y;if(y=w?k._findNextOnigScannerMatchDbg(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(b),x):k._findNextOnigScannerMatch(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(b),x),y===0)return null;const j=k.HEAPU32;let _=y/4;const $=j[_++],S=j[_++];let C=[];for(let O=0;O<S;O++){const P=v.convertUtf8OffsetToUtf16(j[_++]),I=v.convertUtf8OffsetToUtf16(j[_++]);C[O]={start:P,end:I,length:I-P}}return{index:$,captureIndices:C}}}i.OnigScanner=h;let p=!1,g=null;i.loadWASM=function(m){if(p)return g;let v,b,w,x;if(p=!0,function(k){return typeof k.instantiator=="function"}(m))v=m.instantiator,b=m.print;else{let k;(function(y){return y.data!==void 0})(m)?(k=m.data,b=m.print):k=m,v=function(y){return typeof Response<"u"&&y instanceof Response}(k)?typeof WebAssembly.instantiateStreaming=="function"?function(y){return j=>WebAssembly.instantiateStreaming(y,j)}(k):function(y){return async j=>{const _=await y.arrayBuffer();return WebAssembly.instantiate(_,j)}}(k):function(y){return j=>WebAssembly.instantiate(y,j)}(k)}return g=new Promise((k,y)=>{w=k,x=y}),function(k,y,j,_){(0,l.default)({print:y,instantiateWasm:($,S)=>{if(typeof performance>"u"){const C=()=>Date.now();$.env.emscripten_get_now=C,$.wasi_snapshot_preview1.emscripten_get_now=C}return k($).then(C=>S(C.instance),_),{}}}).then($=>{c=$,j()})}(v,b,w,x),g},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(s){var a,l,c=(s=s||{})!==void 0?s:{};c.ready=new Promise(function(ue,ve){a=ue,l=ve});var u,f=Object.assign({},c),d=!1,h="";function p(ue){return c.locateFile?c.locateFile(ue,h):h+ue}u=function(ue){let ve;return typeof readbuffer=="function"?new Uint8Array(readbuffer(ue)):(ve=read(ue,"binary"),x(typeof ve=="object"),ve)},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 g,m,v=c.print||console.log.bind(console),b=c.printErr||console.warn.bind(console);Object.assign(c,f),f=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(g=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&A("no native wasm support detected");var w=!1;function x(ue,ve){ue||A(ve)}var k,y,j,_=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function $(ue,ve,We){for(var B=ve+We,Y=ve;ue[Y]&&!(Y>=B);)++Y;if(Y-ve>16&&ue.buffer&&_)return _.decode(ue.subarray(ve,Y));for(var re="";ve<Y;){var pe=ue[ve++];if(128&pe){var $e=63&ue[ve++];if((224&pe)!=192){var Le=63&ue[ve++];if((pe=(240&pe)==224?(15&pe)<<12|$e<<6|Le:(7&pe)<<18|$e<<12|Le<<6|63&ue[ve++])<65536)re+=String.fromCharCode(pe);else{var gt=pe-65536;re+=String.fromCharCode(55296|gt>>10,56320|1023&gt)}}else re+=String.fromCharCode((31&pe)<<6|$e)}else re+=String.fromCharCode(pe)}return re}function S(ue,ve){return ue?$(y,ue,ve):""}function C(ue){k=ue,c.HEAP8=new Int8Array(ue),c.HEAP16=new Int16Array(ue),c.HEAP32=new Int32Array(ue),c.HEAPU8=y=new Uint8Array(ue),c.HEAPU16=new Uint16Array(ue),c.HEAPU32=j=new Uint32Array(ue),c.HEAPF32=new Float32Array(ue),c.HEAPF64=new Float64Array(ue)}c.INITIAL_MEMORY;var O=[],P=[],I=[];function J(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)R(c.preRun.shift());te(O)}function H(){te(P)}function D(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)L(c.postRun.shift());te(I)}function R(ue){O.unshift(ue)}function V(ue){P.unshift(ue)}function L(ue){I.unshift(ue)}var E=0,U=null;function W(ue){E++,c.monitorRunDependencies&&c.monitorRunDependencies(E)}function M(ue){if(E--,c.monitorRunDependencies&&c.monitorRunDependencies(E),E==0&&U){var ve=U;U=null,ve()}}function A(ue){c.onAbort&&c.onAbort(ue),b(ue="Aborted("+ue+")"),w=!0,ue+=". Build with -sASSERTIONS for more info.";var ve=new WebAssembly.RuntimeError(ue);throw l(ve),ve}var G,ee,be="data:application/octet-stream;base64,";function we(ue){return ue.startsWith(be)}function Se(ue){try{if(ue==G&&g)return new Uint8Array(g);if(u)return u(ue);throw"both async and sync fetching of the wasm failed"}catch(ve){A(ve)}}function he(){return g||!d||typeof fetch!="function"?Promise.resolve().then(function(){return Se(G)}):fetch(G,{credentials:"same-origin"}).then(function(ue){if(!ue.ok)throw"failed to load wasm binary file at '"+G+"'";return ue.arrayBuffer()}).catch(function(){return Se(G)})}function Z(){var ue={env:Oe,wasi_snapshot_preview1:Oe};function ve(Y,re){var pe=Y.exports;c.asm=pe,C((m=c.asm.memory).buffer),c.asm.__indirect_function_table,V(c.asm.__wasm_call_ctors),M()}function We(Y){ve(Y.instance)}function B(Y){return he().then(function(re){return WebAssembly.instantiate(re,ue)}).then(function(re){return re}).then(Y,function(re){b("failed to asynchronously prepare wasm: "+re),A(re)})}if(W(),c.instantiateWasm)try{return c.instantiateWasm(ue,ve)}catch(Y){b("Module.instantiateWasm callback failed with error: "+Y),l(Y)}return(g||typeof WebAssembly.instantiateStreaming!="function"||we(G)||typeof fetch!="function"?B(We):fetch(G,{credentials:"same-origin"}).then(function(Y){return WebAssembly.instantiateStreaming(Y,ue).then(We,function(re){return b("wasm streaming compile failed: "+re),b("falling back to ArrayBuffer instantiation"),B(We)})})).catch(l),{}}function te(ue){for(;ue.length>0;)ue.shift()(c)}function fe(ue,ve,We){y.copyWithin(ue,ve,ve+We)}function K(ue){try{return m.grow(ue-k.byteLength+65535>>>16),C(m.buffer),1}catch{}}function me(ue){var ve,We=y.length,B=2147483648;if((ue>>>=0)>B)return!1;for(var Y=1;Y<=4;Y*=2){var re=We*(1+.2/Y);if(re=Math.min(re,ue+100663296),K(Math.min(B,(ve=Math.max(ue,re))+(65536-ve%65536)%65536)))return!0}return!1}we(G="onig.wasm")||(G=p(G)),ee=typeof dateNow<"u"?dateNow:()=>performance.now();var Ee=[null,[],[]];function se(ue,ve){var We=Ee[ue];ve===0||ve===10?((ue===1?v:b)($(We,0)),We.length=0):We.push(ve)}function le(ue,ve,We,B){for(var Y=0,re=0;re<We;re++){var pe=j[ve>>2],$e=j[ve+4>>2];ve+=8;for(var Le=0;Le<$e;Le++)se(ue,y[pe+Le]);Y+=$e}return j[B>>2]=Y,0}var Me,Oe={emscripten_get_now:ee,emscripten_memcpy_big:fe,emscripten_resize_heap:me,fd_write:le};function Je(ue){function ve(){Me||(Me=!0,c.calledRun=!0,w||(H(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),D()))}E>0||(J(),E>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),ve()},1)):ve()))}if(Z(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=S,U=function ue(){Me||Je(),Me||(U=ue)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return Je(),s.ready});o.exports=i}},r={},function o(i){var s=r[i];if(s!==void 0)return s.exports;var a=r[i]={exports:{}};return n[i].call(a.exports,a,a.exports,o),a.exports}(770);var n,r})})(gP);var q1=gP.exports,vP={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(mP,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 s;Object.defineProperty(i,"__esModule",{value:!0}),i.toOptionalTokenType=i.EncodedTokenAttributes=void 0,(s=i.EncodedTokenAttributes||(i.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},s.print=function(a){const l=s.getLanguageId(a),c=s.getTokenType(a),u=s.getFontStyle(a),f=s.getForeground(a),d=s.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:u,foreground:f,background:d})},s.getLanguageId=function(a){return(255&a)>>>0},s.getTokenType=function(a){return(768&a)>>>8},s.containsBalancedBrackets=function(a){return(1024&a)!=0},s.getFontStyle=function(a){return(30720&a)>>>11},s.getForeground=function(a){return(16744448&a)>>>15},s.getBackground=function(a){return(4278190080&a)>>>24},s.set=function(a,l,c,u,f,d,h){let p=s.getLanguageId(a),g=s.getTokenType(a),m=s.containsBalancedBrackets(a)?1:0,v=s.getFontStyle(a),b=s.getForeground(a),w=s.getBackground(a);return l!==0&&(p=l),c!==8&&(g=c),u!==null&&(m=u?1:0),f!==-1&&(v=f),d!==0&&(b=d),h!==0&&(w=h),(p<<0|g<<8|m<<10|v<<11|b<<15|w<<24)>>>0},i.toOptionalTokenType=function(a){return a}},996:(o,i,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.BasicScopeAttributesProvider=i.BasicScopeAttributes=void 0;const a=s(878);class l{constructor(d,h){this.languageId=d,this.tokenType=h}}i.BasicScopeAttributes=l;class c{constructor(d,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const g=this._scopeToLanguage(p),m=this._toStandardTokenType(p);return new l(g,m)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const h=d.match(c.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=c,c._NULL_SCOPE_METADATA=new l(0,0),c.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,g])=>a.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,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LineTokens=i.BalancedBracketSelectors=i.StateStack=i.AttributedScopeStack=i.Grammar=i.createGrammar=void 0;const a=s(350),l=s(36),c=s(736),u=s(44),f=s(792),d=s(583),h=s(878),p=s(996),g=s(47);function m(_,$,S,C,O){const P=c.createMatchers($,v),I=f.RuleFactory.getCompiledRuleId(S,C,O.repository);for(const J of P)_.push({debugSelector:$,matcher:J.matcher,ruleId:I,grammar:O,priority:J.priority})}function v(_,$){if($.length<_.length)return!1;let S=0;return _.every(C=>{for(let O=S;O<$.length;O++)if(b($[O],C))return S=O+1,!0;return!1})}function b(_,$){if(!_)return!1;if(_===$)return!0;const S=$.length;return _.length>S&&_.substr(0,S)===$&&_[S]==="."}i.createGrammar=function(_,$,S,C,O,P,I,J){return new w(_,$,S,C,O,P,I,J)};class w{constructor($,S,C,O,P,I,J,H){if(this._rootScopeName=$,this.balancedBracketSelectors=I,this._onigLib=H,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(C,O),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=J,this._grammar=x(S,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const D of Object.keys(P)){const R=c.createMatchers(D,v);for(const V of R)this._tokenTypeMatchers.push({matcher:V.matcher,type:P[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const $ of this._ruleId2desc)$&&$.dispose()}createOnigScanner($){return this._onigLib.createOnigScanner($)}createOnigString($){return this._onigLib.createOnigString($)}getMetadataForScope($){return this._basicScopeAttributesProvider.getBasicScopeAttributes($)}_collectInjections(){const $=[],S=this._rootScopeName,C=(O=>O===this._rootScopeName?this._grammar:this.getExternalGrammar(O))(S);if(C){const O=C.injections;if(O)for(let I in O)m($,I,O[I],this,C);const P=this._grammarRepository.injections(S);P&&P.forEach(I=>{const J=this.getExternalGrammar(I);if(J){const H=J.injectionSelector;H&&m($,H,J,this,J)}})}return $.sort((O,P)=>O.priority-P.priority),$}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const $ of this._injections)console.log(` - ${$.debugSelector}`)}return this._injections}registerRule($){const S=++this._lastRuleId,C=$(f.ruleIdFromNumber(S));return this._ruleId2desc[S]=C,C}getRule($){return this._ruleId2desc[f.ruleIdToNumber($)]}getExternalGrammar($,S){if(this._includedGrammars[$])return this._includedGrammars[$];if(this._grammarRepository){const C=this._grammarRepository.lookup($);if(C)return this._includedGrammars[$]=x(C,S&&S.$base),this._includedGrammars[$]}}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 P;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),S&&S!==y.NULL)P=!1,S.reset();else{P=!0;const R=this._basicScopeAttributesProvider.getDefaultAttributes(),V=this.themeProvider.getDefaults(),L=l.EncodedTokenAttributes.set(0,R.languageId,R.tokenType,null,V.fontStyle,V.foregroundId,V.backgroundId),E=this.getRule(this._rootId).getName(null,null);let U;U=E?k.createRootAndLookUpScopeName(E,L,this):k.createRoot("unknown",L),S=new y(null,this._rootId,-1,-1,!1,null,U,U)}$+=`
1
+ function Bx(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 mr={},Cu=[],Ki=()=>{},j9=()=>!1,Xh=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),zx=t=>t.startsWith("onUpdate:"),wo=Object.assign,Fx=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},S9=Object.prototype.hasOwnProperty,In=(t,e)=>S9.call(t,e),Jt=Array.isArray,Ou=t=>Kh(t)==="[object Map]",n0=t=>Kh(t)==="[object Set]",dS=t=>Kh(t)==="[object Date]",on=t=>typeof t=="function",Ir=t=>typeof t=="string",Ku=t=>typeof t=="symbol",nr=t=>t!==null&&typeof t=="object",qx=t=>(nr(t)||on(t))&&on(t.then)&&on(t.catch),TO=Object.prototype.toString,Kh=t=>TO.call(t),$9=t=>Kh(t).slice(8,-1),AO=t=>Kh(t)==="[object Object]",Hx=t=>Ir(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Sd=Bx(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),r0=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},_9=/-(\w)/g,Ds=r0(t=>t.replace(_9,(e,n)=>n?n.toUpperCase():"")),C9=/\B([A-Z])/g,Uc=r0(t=>t.replace(C9,"-$1").toLowerCase()),o0=r0(t=>t.charAt(0).toUpperCase()+t.slice(1)),$1=r0(t=>t?`on${o0(t)}`:""),Sc=(t,e)=>!Object.is(t,e),Jm=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Sg=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},PO=t=>{const e=parseFloat(t);return isNaN(e)?t:e},O9=t=>{const e=Ir(t)?Number(t):NaN;return isNaN(e)?t:e};let hS;const Yy=()=>hS||(hS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ui(t){if(Jt(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],o=Ir(r)?E9(r):ui(r);if(o)for(const i in o)e[i]=o[i]}return e}else if(Ir(t)||nr(t))return t}const T9=/;(?![^(]*\))/g,A9=/:([^]+)/,P9=/\/\*[^]*?\*\//g;function E9(t){const e={};return t.replace(P9,"").split(T9).forEach(n=>{if(n){const r=n.split(A9);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Kn(t){let e="";if(Ir(t))e=t;else if(Jt(t))for(let n=0;n<t.length;n++){const r=Kn(t[n]);r&&(e+=r+" ")}else if(nr(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function EO(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Ir(e)&&(t.class=Kn(e)),n&&(t.style=ui(n)),t}const N9="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",M9=Bx(N9);function NO(t){return!!t||t===""}function R9(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=Zu(t[r],e[r]);return n}function Zu(t,e){if(t===e)return!0;let n=dS(t),r=dS(e);if(n||r)return n&&r?t.getTime()===e.getTime():!1;if(n=Ku(t),r=Ku(e),n||r)return t===e;if(n=Jt(t),r=Jt(e),n||r)return n&&r?R9(t,e):!1;if(n=nr(t),r=nr(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 s in t){const a=t.hasOwnProperty(s),l=e.hasOwnProperty(s);if(a&&!l||!a&&l||!Zu(t[s],e[s]))return!1}}return String(t)===String(e)}function I9(t,e){return t.findIndex(n=>Zu(n,e))}const Wr=t=>Ir(t)?t:t==null?"":Jt(t)||nr(t)&&(t.toString===TO||!on(t.toString))?JSON.stringify(t,MO,2):String(t),MO=(t,e)=>e&&e.__v_isRef?MO(t,e.value):Ou(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:n0(e)?{[`Set(${e.size})`]:[...e.values()]}:nr(e)&&!Jt(e)&&!AO(e)?String(e):e;let ri;class RO{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ri,!e&&ri&&(this.index=(ri.scopes||(ri.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=ri;try{return ri=this,e()}finally{ri=n}}}on(){ri=this}off(){ri=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 L9(t){return new RO(t)}function D9(t,e=ri){e&&e.active&&e.effects.push(t)}function IO(){return ri}function B9(t){ri&&ri.cleanups.push(t)}const Vx=t=>{const e=new Set(t);return e.w=0,e.n=0,e},LO=t=>(t.w&jl)>0,DO=t=>(t.n&jl)>0,z9=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=jl},F9=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];LO(o)&&!DO(o)?o.delete(t):e[n++]=o,o.w&=~jl,o.n&=~jl}e.length=n}},$g=new WeakMap;let pd=0,jl=1;const Xy=30;let Wi;const bc=Symbol(""),Ky=Symbol("");class Wx{constructor(e,n=null,r){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,D9(this,r)}run(){if(!this.active)return this.fn();let e=Wi,n=cl;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Wi,Wi=this,cl=!0,jl=1<<++pd,pd<=Xy?z9(this):pS(this),this.fn()}finally{pd<=Xy&&F9(this),jl=1<<--pd,Wi=this.parent,cl=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Wi===this?this.deferStop=!0:this.active&&(pS(this),this.onStop&&this.onStop(),this.active=!1)}}function pS(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let cl=!0;const BO=[];function Tf(){BO.push(cl),cl=!1}function Af(){const t=BO.pop();cl=t===void 0?!0:t}function Qo(t,e,n){if(cl&&Wi){let r=$g.get(t);r||$g.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=Vx()),zO(o)}}function zO(t,e){let n=!1;pd<=Xy?DO(t)||(t.n|=jl,n=!LO(t)):n=!t.has(Wi),n&&(t.add(Wi),Wi.deps.push(t))}function da(t,e,n,r,o,i){const s=$g.get(t);if(!s)return;let a=[];if(e==="clear")a=[...s.values()];else if(n==="length"&&Jt(t)){const l=Number(r);s.forEach((c,u)=>{(u==="length"||!Ku(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),e){case"add":Jt(t)?Hx(n)&&a.push(s.get("length")):(a.push(s.get(bc)),Ou(t)&&a.push(s.get(Ky)));break;case"delete":Jt(t)||(a.push(s.get(bc)),Ou(t)&&a.push(s.get(Ky)));break;case"set":Ou(t)&&a.push(s.get(bc));break}if(a.length===1)a[0]&&Zy(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Zy(Vx(l))}}function Zy(t,e){const n=Jt(t)?t:[...t];for(const r of n)r.computed&&mS(r);for(const r of n)r.computed||mS(r)}function mS(t,e){(t!==Wi||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function q9(t,e){var n;return(n=$g.get(t))==null?void 0:n.get(e)}const H9=Bx("__proto__,__v_isRef,__isVue"),FO=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ku)),gS=V9();function V9(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Dn(this);for(let i=0,s=this.length;i<s;i++)Qo(r,"get",i+"");const o=r[e](...n);return o===-1||o===!1?r[e](...n.map(Dn)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Tf();const r=Dn(this)[e].apply(this,n);return Af(),r}}),t}function W9(t){const e=Dn(this);return Qo(e,"has",t),e.hasOwnProperty(t)}class qO{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?oL:UO:i?WO:VO).get(e))return e;const s=Jt(e);if(!o){if(s&&In(gS,n))return Reflect.get(gS,n,r);if(n==="hasOwnProperty")return W9}const a=Reflect.get(e,n,r);return(Ku(n)?FO.has(n):H9(n))||(o||Qo(e,"get",n),i)?a:zr(a)?s&&Hx(n)?a:a.value:nr(a)?o?Gx(a):Bs(a):a}}class HO extends qO{constructor(e=!1){super(!1,e)}set(e,n,r,o){let i=e[n];if($c(i)&&zr(i)&&!zr(r))return!1;if(!this._shallow&&(!_g(r)&&!$c(r)&&(i=Dn(i),r=Dn(r)),!Jt(e)&&zr(i)&&!zr(r)))return i.value=r,!0;const s=Jt(e)&&Hx(n)?Number(n)<e.length:In(e,n),a=Reflect.set(e,n,r,o);return e===Dn(o)&&(s?Sc(r,i)&&da(e,"set",n,r):da(e,"add",n,r)),a}deleteProperty(e,n){const r=In(e,n);e[n];const o=Reflect.deleteProperty(e,n);return o&&r&&da(e,"delete",n,void 0),o}has(e,n){const r=Reflect.has(e,n);return(!Ku(n)||!FO.has(n))&&Qo(e,"has",n),r}ownKeys(e){return Qo(e,"iterate",Jt(e)?"length":bc),Reflect.ownKeys(e)}}class U9 extends qO{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const J9=new HO,G9=new U9,Q9=new HO(!0),Ux=t=>t,i0=t=>Reflect.getPrototypeOf(t);function Cp(t,e,n=!1,r=!1){t=t.__v_raw;const o=Dn(t),i=Dn(e);n||(Sc(e,i)&&Qo(o,"get",e),Qo(o,"get",i));const{has:s}=i0(o),a=r?Ux:n?Yx:Kd;if(s.call(o,e))return a(t.get(e));if(s.call(o,i))return a(t.get(i));t!==o&&t.get(e)}function Op(t,e=!1){const n=this.__v_raw,r=Dn(n),o=Dn(t);return e||(Sc(t,o)&&Qo(r,"has",t),Qo(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Tp(t,e=!1){return t=t.__v_raw,!e&&Qo(Dn(t),"iterate",bc),Reflect.get(t,"size",t)}function vS(t){t=Dn(t);const e=Dn(this);return i0(e).has.call(e,t)||(e.add(t),da(e,"add",t,t)),this}function yS(t,e){e=Dn(e);const n=Dn(this),{has:r,get:o}=i0(n);let i=r.call(n,t);i||(t=Dn(t),i=r.call(n,t));const s=o.call(n,t);return n.set(t,e),i?Sc(e,s)&&da(n,"set",t,e):da(n,"add",t,e),this}function bS(t){const e=Dn(this),{has:n,get:r}=i0(e);let o=n.call(e,t);o||(t=Dn(t),o=n.call(e,t)),r&&r.call(e,t);const i=e.delete(t);return o&&da(e,"delete",t,void 0),i}function wS(){const t=Dn(this),e=t.size!==0,n=t.clear();return e&&da(t,"clear",void 0,void 0),n}function Ap(t,e){return function(r,o){const i=this,s=i.__v_raw,a=Dn(s),l=e?Ux:t?Yx:Kd;return!t&&Qo(a,"iterate",bc),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function Pp(t,e,n){return function(...r){const o=this.__v_raw,i=Dn(o),s=Ou(i),a=t==="entries"||t===Symbol.iterator&&s,l=t==="keys"&&s,c=o[t](...r),u=n?Ux:e?Yx:Kd;return!e&&Qo(i,"iterate",l?Ky:bc),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ba(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Y9(){const t={get(i){return Cp(this,i)},get size(){return Tp(this)},has:Op,add:vS,set:yS,delete:bS,clear:wS,forEach:Ap(!1,!1)},e={get(i){return Cp(this,i,!1,!0)},get size(){return Tp(this)},has:Op,add:vS,set:yS,delete:bS,clear:wS,forEach:Ap(!1,!0)},n={get(i){return Cp(this,i,!0)},get size(){return Tp(this,!0)},has(i){return Op.call(this,i,!0)},add:Ba("add"),set:Ba("set"),delete:Ba("delete"),clear:Ba("clear"),forEach:Ap(!0,!1)},r={get(i){return Cp(this,i,!0,!0)},get size(){return Tp(this,!0)},has(i){return Op.call(this,i,!0)},add:Ba("add"),set:Ba("set"),delete:Ba("delete"),clear:Ba("clear"),forEach:Ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Pp(i,!1,!1),n[i]=Pp(i,!0,!1),e[i]=Pp(i,!1,!0),r[i]=Pp(i,!0,!0)}),[t,n,e,r]}const[X9,K9,Z9,eL]=Y9();function Jx(t,e){const n=e?t?eL:Z9:t?K9:X9;return(r,o,i)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(In(n,o)&&o in r?n:r,o,i)}const tL={get:Jx(!1,!1)},nL={get:Jx(!1,!0)},rL={get:Jx(!0,!1)},VO=new WeakMap,WO=new WeakMap,UO=new WeakMap,oL=new WeakMap;function iL(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sL(t){return t.__v_skip||!Object.isExtensible(t)?0:iL($9(t))}function Bs(t){return $c(t)?t:Qx(t,!1,J9,tL,VO)}function JO(t){return Qx(t,!1,Q9,nL,WO)}function Gx(t){return Qx(t,!0,G9,rL,UO)}function Qx(t,e,n,r,o){if(!nr(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=o.get(t);if(i)return i;const s=sL(t);if(s===0)return t;const a=new Proxy(t,s===2?r:n);return o.set(t,a),a}function Tu(t){return $c(t)?Tu(t.__v_raw):!!(t&&t.__v_isReactive)}function $c(t){return!!(t&&t.__v_isReadonly)}function _g(t){return!!(t&&t.__v_isShallow)}function GO(t){return Tu(t)||$c(t)}function Dn(t){const e=t&&t.__v_raw;return e?Dn(e):t}function QO(t){return Sg(t,"__v_skip",!0),t}const Kd=t=>nr(t)?Bs(t):t,Yx=t=>nr(t)?Gx(t):t;function YO(t){cl&&Wi&&(t=Dn(t),zO(t.dep||(t.dep=Vx())))}function XO(t,e){t=Dn(t);const n=t.dep;n&&Zy(n)}function zr(t){return!!(t&&t.__v_isRef===!0)}function Yt(t){return KO(t,!1)}function Cg(t){return KO(t,!0)}function KO(t,e){return zr(t)?t:new aL(t,e)}class aL{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Dn(e),this._value=n?e:Kd(e)}get value(){return YO(this),this._value}set value(e){const n=this.__v_isShallow||_g(e)||$c(e);e=n?e:Dn(e),Sc(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:Kd(e),XO(this))}}function Ne(t){return zr(t)?t.value:t}const lL={get:(t,e,n)=>Ne(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return zr(o)&&!zr(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function ZO(t){return Tu(t)?t:new Proxy(t,lL)}class cL{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 q9(Dn(this._object),this._key)}}class uL{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xx(t,e,n){return zr(t)?t:on(t)?new uL(t):nr(t)&&arguments.length>1?fL(t,e,n):Yt(t)}function fL(t,e,n){const r=t[e];return zr(r)?r:new cL(t,e,n)}class dL{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 Wx(e,()=>{this._dirty||(this._dirty=!0,XO(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const e=Dn(this);return YO(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function hL(t,e,n=!1){let r,o;const i=on(t);return i?(r=t,o=Ki):(r=t.get,o=t.set),new dL(r,o,i||!o,n)}function ul(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){Pf(i,e,n)}return o}function Zi(t,e,n,r){if(on(t)){const i=ul(t,e,n,r);return i&&qx(i)&&i.catch(s=>{Pf(s,e,n)}),i}const o=[];for(let i=0;i<t.length;i++)o.push(Zi(t[i],e,n,r));return o}function Pf(t,e,n,r=!0){const o=e?e.vnode:null;if(e){let i=e.parent;const s=e.proxy,a=n;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](t,s,a)===!1)return}i=i.parent}const l=e.appContext.config.errorHandler;if(l){ul(l,null,10,[t,s,a]);return}}pL(t,n,o,r)}function pL(t,e,n,r=!0){console.error(t)}let Zd=!1,eb=!1;const Co=[];let Ss=0;const Au=[];let oa=null,oc=0;const eT=Promise.resolve();let Kx=null;function Jc(t){const e=Kx||eT;return t?e.then(this?t.bind(this):t):e}function mL(t){let e=Ss+1,n=Co.length;for(;e<n;){const r=e+n>>>1,o=Co[r],i=eh(o);i<t||i===t&&o.pre?e=r+1:n=r}return e}function s0(t){(!Co.length||!Co.includes(t,Zd&&t.allowRecurse?Ss+1:Ss))&&(t.id==null?Co.push(t):Co.splice(mL(t.id),0,t),tT())}function tT(){!Zd&&!eb&&(eb=!0,Kx=eT.then(nT))}function gL(t){const e=Co.indexOf(t);e>Ss&&Co.splice(e,1)}function tb(t){Jt(t)?Au.push(...t):(!oa||!oa.includes(t,t.allowRecurse?oc+1:oc))&&Au.push(t),tT()}function xS(t,e=Zd?Ss+1:0){for(;e<Co.length;e++){const n=Co[e];n&&n.pre&&(Co.splice(e,1),e--,n())}}function Og(t){if(Au.length){const e=[...new Set(Au)];if(Au.length=0,oa){oa.push(...e);return}for(oa=e,oa.sort((n,r)=>eh(n)-eh(r)),oc=0;oc<oa.length;oc++)oa[oc]();oa=null,oc=0}}const eh=t=>t.id==null?1/0:t.id,vL=(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 nT(t){eb=!1,Zd=!0,Co.sort(vL);const e=Ki;try{for(Ss=0;Ss<Co.length;Ss++){const n=Co[Ss];n&&n.active!==!1&&ul(n,null,14)}}finally{Ss=0,Co.length=0,Og(),Zd=!1,Kx=null,(Co.length||Au.length)&&nT()}}function yL(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||mr;let o=n;const i=e.startsWith("update:"),s=i&&e.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||mr;d&&(o=n.map(h=>Ir(h)?h.trim():h)),f&&(o=n.map(PO))}let a,l=r[a=$1(e)]||r[a=$1(Ds(e))];!l&&i&&(l=r[a=$1(Uc(e))]),l&&Zi(l,t,6,o);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zi(c,t,6,o)}}function rT(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const i=t.emits;let s={},a=!1;if(!on(t)){const l=c=>{const u=rT(c,e,!0);u&&(a=!0,wo(s,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!i&&!a?(nr(t)&&r.set(t,null),null):(Jt(i)?i.forEach(l=>s[l]=null):wo(s,i),nr(t)&&r.set(t,s),s)}function a0(t,e){return!t||!Xh(e)?!1:(e=e.slice(2).replace(/Once$/,""),In(t,e[0].toLowerCase()+e.slice(1))||In(t,Uc(e))||In(t,e))}let oo=null,l0=null;function Tg(t){const e=oo;return oo=t,l0=t&&t.type.__scopeId||null,e}function Zx(t){l0=t}function e2(){l0=null}const bL=t=>$t;function $t(t,e=oo,n){if(!e||t._n)return t;const r=(...o)=>{r._d&&NS(-1);const i=Tg(e);let s;try{s=t(...o)}finally{Tg(i),r._d&&NS(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function _1(t){const{type:e,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=t;let m,v;const b=Tg(t);try{if(n.shapeFlag&4){const x=o||r,k=x;m=vi(u.call(k,x,f,i,h,d,p)),v=l}else{const x=e;m=vi(x.length>1?x(i,{attrs:l,slots:a,emit:c}):x(i,null)),v=e.props?l:xL(l)}}catch(x){Cd.length=0,Pf(x,t,1),m=ht(is)}let w=m;if(v&&g!==!1){const x=Object.keys(v),{shapeFlag:k}=w;x.length&&k&7&&(s&&x.some(zx)&&(v=kL(v,s)),w=rf(w,v))}return n.dirs&&(w=rf(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,Tg(b),m}function wL(t){let e;for(let n=0;n<t.length;n++){const r=t[n];if(rh(r)){if(r.type!==is||r.children==="v-if"){if(e)return;e=r}}else return}return e}const xL=t=>{let e;for(const n in t)(n==="class"||n==="style"||Xh(n))&&((e||(e={}))[n]=t[n]);return e},kL=(t,e)=>{const n={};for(const r in t)(!zx(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function jL(t,e,n){const{props:r,children:o,component:i}=t,{props:s,children:a,patchFlag:l}=e,c=i.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?kS(r,s,c):!!s;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!a0(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?kS(r,s,c):!0:!!s;return!1}function kS(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]&&!a0(n,i))return!0}return!1}function t2({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const n2="components";function Sl(t,e){return iT(n2,t,!0,e)||t}const oT=Symbol.for("v-ndc");function r2(t){return Ir(t)?iT(n2,t,!1)||t:t||oT}function iT(t,e,n=!0,r=!1){const o=oo||Jr;if(o){const i=o.type;if(t===n2){const a=dD(i,!1);if(a&&(a===e||a===Ds(e)||a===o0(Ds(e))))return i}const s=jS(o[t]||i[t],e)||jS(o.appContext[t],e);return!s&&r?i:s}}function jS(t,e){return t&&(t[e]||t[Ds(e)]||t[o0(Ds(e))])}const SL=t=>t.__isSuspense,$L={name:"Suspense",__isSuspense:!0,process(t,e,n,r,o,i,s,a,l,c){t==null?CL(e,n,r,o,i,s,a,l,c):OL(t,e,n,r,o,s,a,l,c)},hydrate:TL,create:o2,normalize:AL},_L=$L;function th(t,e){const n=t.props&&t.props[e];on(n)&&n()}function CL(t,e,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=t.suspense=o2(t,o,r,e,f,n,i,s,a,l);c(null,d.pendingBranch=t.ssContent,f,null,r,d,i,s),d.deps>0?(th(t,"onPending"),th(t,"onFallback"),c(null,t.ssFallback,e,n,r,null,i,s),Pu(d,t.ssFallback)):d.resolve(!1,!0)}function OL(t,e,n,r,o,i,s,a,{p:l,um:c,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:g,isInFallback:m,isHydrating:v}=f;if(g)f.pendingBranch=d,Za(d,g)?(l(g,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():m&&(l(p,h,n,r,o,null,i,s,a),Pu(f,h))):(f.pendingId++,v?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(p,h,n,r,o,null,i,s,a),Pu(f,h))):p&&Za(d,p)?(l(p,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(p&&Za(d,p))l(p,d,n,r,o,f,i,s,a),Pu(f,d);else if(th(e,"onPending"),f.pendingBranch=d,f.pendingId++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:w}=f;b>0?setTimeout(()=>{f.pendingId===w&&f.fallback(h)},b):b===0&&f.fallback(h)}}function o2(t,e,n,r,o,i,s,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:g,remove:m}}=c;let v;const b=PL(t);b&&e!=null&&e.pendingBranch&&(v=e.pendingId,e.deps++);const w=t.props?O9(t.props.timeout):void 0,x={vnode:t,parent:e,parentComponent:n,isSVG:s,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,y=!1){const{vnode:j,activeBranch:_,pendingBranch:$,pendingId:S,effects:C,parentComponent:O,container:P}=x;let I=!1;if(x.isHydrating)x.isHydrating=!1;else if(!k){I=_&&$.transition&&$.transition.mode==="out-in",I&&(_.transition.afterLeave=()=>{S===x.pendingId&&(d($,P,p(_),0),tb(C))});let{anchor:D}=x;_&&(D=p(_),h(_,O,x,!0)),I||d($,P,D,0)}Pu(x,$),x.pendingBranch=null,x.isInFallback=!1;let J=x.parent,H=!1;for(;J;){if(J.pendingBranch){J.effects.push(...C),H=!0;break}J=J.parent}!H&&!I&&tb(C),x.effects=[],b&&e&&e.pendingBranch&&v===e.pendingId&&(e.deps--,e.deps===0&&!y&&e.resolve()),th(j,"onResolve")},fallback(k){if(!x.pendingBranch)return;const{vnode:y,activeBranch:j,parentComponent:_,container:$,isSVG:S}=x;th(y,"onFallback");const C=()=>{x.isInFallback&&(f(null,k,$,p(j),_,null,S,a,l),Pu(x,k))},O=k.transition&&k.transition.mode==="out-in";O&&(j.transition.afterLeave=C),x.isInFallback=!0,h(j,_,null,!0),O||C()},move(k,y,j){x.activeBranch&&d(x.activeBranch,k,y,j),x.container=k},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(k,y){const j=!!x.pendingBranch;j&&x.deps++;const _=k.vnode.el;k.asyncDep.catch($=>{Pf($,k,0)}).then($=>{if(k.isUnmounted||x.isUnmounted||x.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:S}=k;sb(k,$,!1),_&&(S.el=_);const C=!_&&k.subTree.el;y(k,S,g(_||k.subTree.el),_?null:p(k.subTree),x,s,l),C&&m(C),t2(k,S.el),j&&--x.deps===0&&x.resolve()})},unmount(k,y){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,k,y),x.pendingBranch&&h(x.pendingBranch,n,k,y)}};return x}function TL(t,e,n,r,o,i,s,a,l){const c=e.suspense=o2(e,r,n,t.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function AL(t){const{shapeFlag:e,children:n}=t,r=e&32;t.ssContent=SS(r?n.default:n),t.ssFallback=r?SS(n.fallback):ht(is)}function SS(t){let e;if(on(t)){const n=nf&&t._c;n&&(t._d=!1,Ye()),t=t(),n&&(t._d=!0,e=xi,OT())}return Jt(t)&&(t=wL(t)),t=vi(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function sT(t,e){e&&e.pendingBranch?Jt(t)?e.effects.push(...t):e.effects.push(t):tb(t)}function Pu(t,e){t.activeBranch=e;const{vnode:n,parentComponent:r}=t,o=n.el=e.el;r&&r.subTree===n&&(r.vnode.el=o,t2(r,o))}function PL(t){var e;return((e=t.props)==null?void 0:e.suspensible)!=null&&t.props.suspensible!==!1}function i2(t,e){return c0(t,null,e)}function EL(t,e){return c0(t,null,{flush:"post"})}const Ep={};function br(t,e,n){return c0(t,e,n)}function c0(t,e,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=mr){var a;const l=IO()===((a=Jr)==null?void 0:a.scope)?Jr:null;let c,u=!1,f=!1;if(zr(t)?(c=()=>t.value,u=_g(t)):Tu(t)?(c=()=>t,r=!0):Jt(t)?(f=!0,u=t.some(x=>Tu(x)||_g(x)),c=()=>t.map(x=>{if(zr(x))return x.value;if(Tu(x))return dc(x);if(on(x))return ul(x,l,2)})):on(t)?e?c=()=>ul(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Zi(t,l,3,[h])}:c=Ki,e&&r){const x=c;c=()=>dc(x())}let d,h=x=>{d=b.onStop=()=>{ul(x,l,4),d=b.onStop=void 0}},p;if(of)if(h=Ki,e?n&&Zi(e,l,3,[c(),f?[]:void 0,h]):c(),o==="sync"){const x=mD();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Ki;let g=f?new Array(t.length).fill(Ep):Ep;const m=()=>{if(b.active)if(e){const x=b.run();(r||u||(f?x.some((k,y)=>Sc(k,g[y])):Sc(x,g)))&&(d&&d(),Zi(e,l,3,[x,g===Ep?void 0:f&&g[0]===Ep?[]:g,h]),g=x)}else b.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>qo(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),v=()=>s0(m));const b=new Wx(c,v);e?n?m():g=b.run():o==="post"?qo(b.run.bind(b),l&&l.suspense):b.run();const w=()=>{b.stop(),l&&l.scope&&Fx(l.scope.effects,b)};return p&&p.push(w),w}function NL(t,e,n){const r=this.proxy,o=Ir(t)?t.includes(".")?aT(r,t):()=>r[t]:t.bind(r,r);let i;on(e)?i=e:(i=e.handler,n=e);const s=Jr;$l(this);const a=c0(o,i.bind(r),n);return s?$l(s):fl(),a}function aT(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 dc(t,e){if(!nr(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),zr(t))dc(t.value,e);else if(Jt(t))for(let n=0;n<t.length;n++)dc(t[n],e);else if(n0(t)||Ou(t))t.forEach(n=>{dc(n,e)});else if(AO(t))for(const n in t)dc(t[n],e);return t}function lT(t,e){const n=oo;if(n===null)return t;const r=h0(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[s,a,l,c=mr]=e[i];s&&(on(s)&&(s={mounted:s,updated:s}),s.deep&&dc(a),o.push({dir:s,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function ks(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Tf(),Zi(l,n,8,[t.el,a,t,e]),Af())}}/*! #__NO_SIDE_EFFECTS__ */function Qr(t,e){return on(t)?(()=>wo({name:t.name},e,{setup:t}))():t}const Eu=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ag(t){on(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:a}=t;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=e().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,m)=>{a(p,()=>g(f()),()=>m(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Qr({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=Jr;if(c)return()=>C1(c,h);const p=b=>{l=null,Pf(b,h,13,!r)};if(s&&h.suspense||of)return d().then(b=>()=>C1(b,h)).catch(b=>(p(b),()=>r?ht(r,{error:b}):null));const g=Yt(!1),m=Yt(),v=Yt(!!o);return o&&setTimeout(()=>{v.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!m.value){const b=new Error(`Async component timed out after ${i}ms.`);p(b),m.value=b}},i),d().then(()=>{g.value=!0,h.parent&&s2(h.parent.vnode)&&s0(h.parent.update)}).catch(b=>{p(b),m.value=b}),()=>{if(g.value&&c)return C1(c,h);if(m.value&&r)return ht(r,{error:m.value});if(n&&!v.value)return ht(n)}}})}function C1(t,e){const{ref:n,props:r,children:o,ce:i}=e.vnode,s=ht(t,r,o);return s.ref=n,s.ce=i,delete e.vnode.ce,s}const s2=t=>t.type.__isKeepAlive;function cT(t,e){fT(t,"a",e)}function uT(t,e){fT(t,"da",e)}function fT(t,e,n=Jr){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(u0(e,r,n),n){let o=n.parent;for(;o&&o.parent;)s2(o.parent.vnode)&&ML(r,e,n,o),o=o.parent}}function ML(t,e,n,r){const o=u0(e,t,r,!0);ef(()=>{Fx(r[e],o)},n)}function u0(t,e,n=Jr,r=!1){if(n){const o=n[t]||(n[t]=[]),i=e.__weh||(e.__weh=(...s)=>{if(n.isUnmounted)return;Tf(),$l(n);const a=Zi(e,n,t,s);return fl(),Af(),a});return r?o.unshift(i):o.push(i),i}}const Ta=t=>(e,n=Jr)=>(!of||t==="sp")&&u0(t,(...r)=>e(...r),n),dT=Ta("bm"),zl=Ta("m"),RL=Ta("bu"),IL=Ta("u"),a2=Ta("bum"),ef=Ta("um"),LL=Ta("sp"),DL=Ta("rtg"),BL=Ta("rtc");function hT(t,e=Jr){u0("ec",t,e)}function Np(t,e,n,r){let o;const i=n&&n[r];if(Jt(t)||Ir(t)){o=new Array(t.length);for(let s=0,a=t.length;s<a;s++)o[s]=e(t[s],s,void 0,i&&i[s])}else if(typeof t=="number"){o=new Array(t);for(let s=0;s<t;s++)o[s]=e(s+1,s,void 0,i&&i[s])}else if(nr(t))if(t[Symbol.iterator])o=Array.from(t,(s,a)=>e(s,a,void 0,i&&i[a]));else{const s=Object.keys(t);o=new Array(s.length);for(let a=0,l=s.length;a<l;a++){const c=s[a];o[a]=e(t[c],c,a,i&&i[a])}}else o=[];return n&&(n[r]=o),o}function Yn(t,e,n={},r,o){if(oo.isCE||oo.parent&&Eu(oo.parent)&&oo.parent.isCE)return e!=="default"&&(n.name=e),ht("slot",n,r&&r());let i=t[e];i&&i._c&&(i._d=!1),Ye();const s=i&&pT(i(n)),a=cn(Ur,{key:n.key||s&&s.key||`_${e}`},s||(r?r():[]),s&&t._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function pT(t){return t.some(e=>rh(e)?!(e.type===is||e.type===Ur&&!pT(e.children)):!0)?t:null}const nb=t=>t?PT(t)?h0(t)||t.proxy:nb(t.parent):null,$d=wo(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=>nb(t.parent),$root:t=>nb(t.root),$emit:t=>t.emit,$options:t=>l2(t),$forceUpdate:t=>t.f||(t.f=()=>s0(t.update)),$nextTick:t=>t.n||(t.n=Jc.bind(t.proxy)),$watch:t=>NL.bind(t)}),O1=(t,e)=>t!==mr&&!t.__isScriptSetup&&In(t,e),zL={get({_:t},e){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=s[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(O1(r,e))return s[e]=1,r[e];if(o!==mr&&In(o,e))return s[e]=2,o[e];if((c=t.propsOptions[0])&&In(c,e))return s[e]=3,i[e];if(n!==mr&&In(n,e))return s[e]=4,n[e];rb&&(s[e]=0)}}const u=$d[e];let f,d;if(u)return e==="$attrs"&&Qo(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==mr&&In(n,e))return s[e]=4,n[e];if(d=l.config.globalProperties,In(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:i}=t;return O1(o,e)?(o[e]=n,!0):r!==mr&&In(r,e)?(r[e]=n,!0):In(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}},s){let a;return!!n[s]||t!==mr&&In(t,s)||O1(e,s)||(a=i[0])&&In(a,s)||In(r,s)||In($d,s)||In(o.config.globalProperties,s)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:In(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function $S(t){return Jt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function mT(t){const e=Aa();let n=t();return fl(),qx(n)&&(n=n.catch(r=>{throw $l(e),r})),[n,()=>$l(e)]}let rb=!0;function FL(t){const e=l2(t),n=t.proxy,r=t.ctx;rb=!1,e.beforeCreate&&_S(e.beforeCreate,t,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:b,destroyed:w,unmounted:x,render:k,renderTracked:y,renderTriggered:j,errorCaptured:_,serverPrefetch:$,expose:S,inheritAttrs:C,components:O,directives:P,filters:I}=e;if(c&&qL(c,r,null),s)for(const D in s){const R=s[D];on(R)&&(r[D]=R.bind(n))}if(o){const D=o.call(n,n);nr(D)&&(t.data=Bs(D))}if(rb=!0,i)for(const D in i){const R=i[D],V=on(R)?R.bind(n,n):on(R.get)?R.get.bind(n,n):Ki,L=!on(R)&&on(R.set)?R.set.bind(n):Ki,E=jn({get:V,set:L});Object.defineProperty(r,D,{enumerable:!0,configurable:!0,get:()=>E.value,set:U=>E.value=U})}if(a)for(const D in a)gT(a[D],r,n,D);if(l){const D=on(l)?l.call(n):l;Reflect.ownKeys(D).forEach(R=>{yT(R,D[R])})}u&&_S(u,t,"c");function H(D,R){Jt(R)?R.forEach(V=>D(V.bind(n))):R&&D(R.bind(n))}if(H(dT,f),H(zl,d),H(RL,h),H(IL,p),H(cT,g),H(uT,m),H(hT,_),H(BL,y),H(DL,j),H(a2,b),H(ef,x),H(LL,$),Jt(S))if(S.length){const D=t.exposed||(t.exposed={});S.forEach(R=>{Object.defineProperty(D,R,{get:()=>n[R],set:V=>n[R]=V})})}else t.exposed||(t.exposed={});k&&t.render===Ki&&(t.render=k),C!=null&&(t.inheritAttrs=C),O&&(t.components=O),P&&(t.directives=P)}function qL(t,e,n=Ki){Jt(t)&&(t=ob(t));for(const r in t){const o=t[r];let i;nr(o)?"default"in o?i=Nu(o.from||r,o.default,!0):i=Nu(o.from||r):i=Nu(o),zr(i)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[r]=i}}function _S(t,e,n){Zi(Jt(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function gT(t,e,n,r){const o=r.includes(".")?aT(n,r):()=>n[r];if(Ir(t)){const i=e[t];on(i)&&br(o,i)}else if(on(t))br(o,t.bind(n));else if(nr(t))if(Jt(t))t.forEach(i=>gT(i,e,n,r));else{const i=on(t.handler)?t.handler.bind(n):e[t.handler];on(i)&&br(o,i,t)}}function l2(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,a=i.get(e);let l;return a?l=a:!o.length&&!n&&!r?l=e:(l={},o.length&&o.forEach(c=>Pg(l,c,s,!0)),Pg(l,e,s)),nr(e)&&i.set(e,l),l}function Pg(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&Pg(t,i,n,!0),o&&o.forEach(s=>Pg(t,s,n,!0));for(const s in e)if(!(r&&s==="expose")){const a=HL[s]||n&&n[s];t[s]=a?a(t[s],e[s]):e[s]}return t}const HL={data:CS,props:OS,emits:OS,methods:md,computed:md,beforeCreate:Io,created:Io,beforeMount:Io,mounted:Io,beforeUpdate:Io,updated:Io,beforeDestroy:Io,beforeUnmount:Io,destroyed:Io,unmounted:Io,activated:Io,deactivated:Io,errorCaptured:Io,serverPrefetch:Io,components:md,directives:md,watch:WL,provide:CS,inject:VL};function CS(t,e){return e?t?function(){return wo(on(t)?t.call(this,this):t,on(e)?e.call(this,this):e)}:e:t}function VL(t,e){return md(ob(t),ob(e))}function ob(t){if(Jt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Io(t,e){return t?[...new Set([].concat(t,e))]:e}function md(t,e){return t?wo(Object.create(null),t,e):e}function OS(t,e){return t?Jt(t)&&Jt(e)?[...new Set([...t,...e])]:wo(Object.create(null),$S(t),$S(e??{})):e}function WL(t,e){if(!t)return e;if(!e)return t;const n=wo(Object.create(null),t);for(const r in e)n[r]=Io(t[r],e[r]);return n}function vT(){return{app:null,config:{isNativeTag:j9,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 UL=0;function JL(t,e){return function(r,o=null){on(r)||(r=wo({},r)),o!=null&&!nr(o)&&(o=null);const i=vT(),s=new WeakSet;let a=!1;const l=i.app={_uid:UL++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:NT,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&on(c.install)?(s.add(c),c.install(l,...u)):on(c)&&(s.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,f){if(!a){const d=ht(r,o);return d.appContext=i,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,h0(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){nh=l;try{return c()}finally{nh=null}}};return l}}let nh=null;function yT(t,e){if(Jr){let n=Jr.provides;const r=Jr.parent&&Jr.parent.provides;r===n&&(n=Jr.provides=Object.create(r)),n[t]=e}}function Nu(t,e,n=!1){const r=Jr||oo;if(r||nh){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:nh._context.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&on(e)?e.call(r&&r.proxy):e}}function bT(){return!!(Jr||oo||nh)}function GL(t,e,n,r=!1){const o={},i={};Sg(i,f0,1),t.propsDefaults=Object.create(null),wT(t,e,o,i);for(const s in t.propsOptions[0])s in o||(o[s]=void 0);n?t.props=r?o:JO(o):t.type.props?t.props=o:t.props=i,t.attrs=i}function QL(t,e,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=t,a=Dn(o),[l]=t.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(a0(t.emitsOptions,d))continue;const h=e[d];if(l)if(In(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const p=Ds(d);o[p]=ib(l,a,p,h,t,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{wT(t,e,o,i)&&(c=!0);let u;for(const f in a)(!e||!In(e,f)&&((u=Uc(f))===f||!In(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ib(l,a,f,void 0,t,!0)):delete o[f]);if(i!==a)for(const f in i)(!e||!In(e,f))&&(delete i[f],c=!0)}c&&da(t,"set","$attrs")}function wT(t,e,n,r){const[o,i]=t.propsOptions;let s=!1,a;if(e)for(let l in e){if(Sd(l))continue;const c=e[l];let u;o&&In(o,u=Ds(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:a0(t.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=Dn(n),c=a||mr;for(let u=0;u<i.length;u++){const f=i[u];n[f]=ib(o,l,f,c[f],t,!In(c,f))}}return s}function ib(t,e,n,r,o,i){const s=t[n];if(s!=null){const a=In(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&on(l)){const{propsDefaults:c}=o;n in c?r=c[n]:($l(o),r=c[n]=l.call(null,e),fl())}else r=l}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===Uc(n))&&(r=!0))}return r}function xT(t,e,n=!1){const r=e.propsCache,o=r.get(t);if(o)return o;const i=t.props,s={},a=[];let l=!1;if(!on(t)){const u=f=>{l=!0;const[d,h]=xT(f,e,!0);wo(s,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!i&&!l)return nr(t)&&r.set(t,Cu),Cu;if(Jt(i))for(let u=0;u<i.length;u++){const f=Ds(i[u]);TS(f)&&(s[f]=mr)}else if(i)for(const u in i){const f=Ds(u);if(TS(f)){const d=i[u],h=s[f]=Jt(d)||on(d)?{type:d}:wo({},d);if(h){const p=ES(Boolean,h.type),g=ES(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||In(h,"default"))&&a.push(f)}}}const c=[s,a];return nr(t)&&r.set(t,c),c}function TS(t){return t[0]!=="$"}function AS(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function PS(t,e){return AS(t)===AS(e)}function ES(t,e){return Jt(e)?e.findIndex(n=>PS(n,t)):on(e)&&PS(e,t)?0:-1}const kT=t=>t[0]==="_"||t==="$stable",c2=t=>Jt(t)?t.map(vi):[vi(t)],YL=(t,e,n)=>{if(e._n)return e;const r=$t((...o)=>c2(e(...o)),n);return r._c=!1,r},jT=(t,e,n)=>{const r=t._ctx;for(const o in t){if(kT(o))continue;const i=t[o];if(on(i))e[o]=YL(o,i,r);else if(i!=null){const s=c2(i);e[o]=()=>s}}},ST=(t,e)=>{const n=c2(e);t.slots.default=()=>n},XL=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Dn(e),Sg(e,"_",n)):jT(e,t.slots={})}else t.slots={},e&&ST(t,e);Sg(t.slots,f0,1)},KL=(t,e,n)=>{const{vnode:r,slots:o}=t;let i=!0,s=mr;if(r.shapeFlag&32){const a=e._;a?n&&a===1?i=!1:(wo(o,e),!n&&a===1&&delete o._):(i=!e.$stable,jT(e,o)),s=e}else e&&(ST(t,e),s={default:1});if(i)for(const a in o)!kT(a)&&s[a]==null&&delete o[a]};function Eg(t,e,n,r,o=!1){if(Jt(t)){t.forEach((d,h)=>Eg(d,e&&(Jt(e)?e[h]:e),n,r,o));return}if(Eu(r)&&!o)return;const i=r.shapeFlag&4?h0(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:l}=t,c=e&&e.r,u=a.refs===mr?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ir(c)?(u[c]=null,In(f,c)&&(f[c]=null)):zr(c)&&(c.value=null)),on(l))ul(l,a,12,[s,u]);else{const d=Ir(l),h=zr(l);if(d||h){const p=()=>{if(t.f){const g=d?In(f,l)?f[l]:u[l]:l.value;o?Jt(g)&&Fx(g,i):Jt(g)?g.includes(i)||g.push(i):d?(u[l]=[i],In(f,l)&&(f[l]=u[l])):(l.value=[i],t.k&&(u[t.k]=l.value))}else d?(u[l]=s,In(f,l)&&(f[l]=s)):h&&(l.value=s,t.k&&(u[t.k]=s))};s?(p.id=-1,qo(p,n)):p()}}}let za=!1;const Mp=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Rp=t=>t.nodeType===8;function ZL(t){const{mt:e,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=t,u=(w,x)=>{if(!x.hasChildNodes()){n(null,w,x),Og(),x._vnode=w;return}za=!1,f(x.firstChild,w,null,null,null),Og(),x._vnode=w,za&&console.error("Hydration completed but contains mismatches.")},f=(w,x,k,y,j,_=!1)=>{const $=Rp(w)&&w.data==="[",S=()=>g(w,x,k,y,j,$),{type:C,ref:O,shapeFlag:P,patchFlag:I}=x;let J=w.nodeType;x.el=w,I===-2&&(_=!1,x.dynamicChildren=null);let H=null;switch(C){case tf:J!==3?x.children===""?(l(x.el=o(""),s(w),w),H=w):H=S():(w.data!==x.children&&(za=!0,w.data=x.children),H=i(w));break;case is:b(w)?(H=i(w),v(x.el=w.content.firstChild,w,k)):J!==8||$?H=S():H=i(w);break;case _d:if($&&(w=i(w),J=w.nodeType),J===1||J===3){H=w;const D=!x.children.length;for(let R=0;R<x.staticCount;R++)D&&(x.children+=H.nodeType===1?H.outerHTML:H.data),R===x.staticCount-1&&(x.anchor=H),H=i(H);return $?i(H):H}else S();break;case Ur:$?H=p(w,x,k,y,j,_):H=S();break;default:if(P&1)(J!==1||x.type.toLowerCase()!==w.tagName.toLowerCase())&&!b(w)?H=S():H=d(w,x,k,y,j,_);else if(P&6){x.slotScopeIds=j;const D=s(w);if($?H=m(w):Rp(w)&&w.data==="teleport start"?H=m(w,w.data,"teleport end"):H=i(w),e(x,D,null,k,y,Mp(D),_),Eu(x)){let R;$?(R=ht(Ur),R.anchor=H?H.previousSibling:D.lastChild):R=w.nodeType===3?Kt(""):ht("div"),R.el=w,x.component.subTree=R}}else P&64?J!==8?H=S():H=x.type.hydrate(w,x,k,y,j,_,t,h):P&128&&(H=x.type.hydrate(w,x,k,y,Mp(s(w)),j,_,t,f))}return O!=null&&Eg(O,null,y,x),H},d=(w,x,k,y,j,_)=>{_=_||!!x.dynamicChildren;const{type:$,props:S,patchFlag:C,shapeFlag:O,dirs:P,transition:I}=x,J=$==="input"||$==="option";if(J||C!==-1){if(P&&ks(x,null,k,"created"),S)if(J||!_||C&48)for(const R in S)(J&&(R.endsWith("value")||R==="indeterminate")||Xh(R)&&!Sd(R)||R[0]===".")&&r(w,R,null,S[R],!1,void 0,k);else S.onClick&&r(w,"onClick",null,S.onClick,!1,void 0,k);let H;(H=S&&S.onVnodeBeforeMount)&&mi(H,k,x);let D=!1;if(b(w)){D=_T(y,I)&&k&&k.vnode.props&&k.vnode.props.appear;const R=w.content.firstChild;D&&I.beforeEnter(R),v(R,w,k),x.el=w=R}if(P&&ks(x,null,k,"beforeMount"),((H=S&&S.onVnodeMounted)||P||D)&&sT(()=>{H&&mi(H,k,x),D&&I.enter(w),P&&ks(x,null,k,"mounted")},y),O&16&&!(S&&(S.innerHTML||S.textContent))){let R=h(w.firstChild,x,w,k,y,j,_);for(;R;){za=!0;const V=R;R=R.nextSibling,a(V)}}else O&8&&w.textContent!==x.children&&(za=!0,w.textContent=x.children)}return w.nextSibling},h=(w,x,k,y,j,_,$)=>{$=$||!!x.dynamicChildren;const S=x.children,C=S.length;for(let O=0;O<C;O++){const P=$?S[O]:S[O]=vi(S[O]);if(w)w=f(w,P,y,j,_,$);else{if(P.type===tf&&!P.children)continue;za=!0,n(null,P,k,null,y,j,Mp(k),_)}}return w},p=(w,x,k,y,j,_)=>{const{slotScopeIds:$}=x;$&&(j=j?j.concat($):$);const S=s(w),C=h(i(w),x,S,k,y,j,_);return C&&Rp(C)&&C.data==="]"?i(x.anchor=C):(za=!0,l(x.anchor=c("]"),S,C),C)},g=(w,x,k,y,j,_)=>{if(za=!0,x.el=null,_){const C=m(w);for(;;){const O=i(w);if(O&&O!==C)a(O);else break}}const $=i(w),S=s(w);return a(w),n(null,x,S,$,k,y,Mp(S),j),$},m=(w,x="[",k="]")=>{let y=0;for(;w;)if(w=i(w),w&&Rp(w)&&(w.data===x&&y++,w.data===k)){if(y===0)return i(w);y--}return w},v=(w,x,k)=>{const y=x.parentNode;y&&y.replaceChild(w,x);let j=k;for(;j;)j.vnode.el===x&&(j.vnode.el=j.subTree.el=w),j=j.parent},b=w=>w.nodeType===1&&w.tagName.toLowerCase()==="template";return[u,f]}const qo=sT;function eD(t){return $T(t)}function tD(t){return $T(t,ZL)}function $T(t,e){const n=Yy();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Ki,insertStaticContent:p}=t,g=(Z,te,fe,K=null,me=null,Ee=null,se=!1,le=null,Me=!!te.dynamicChildren)=>{if(Z===te)return;Z&&!Za(Z,te)&&(K=ee(Z),U(Z,me,Ee,!0),Z=null),te.patchFlag===-2&&(Me=!1,te.dynamicChildren=null);const{type:Oe,ref:Je,shapeFlag:ue}=te;switch(Oe){case tf:m(Z,te,fe,K);break;case is:v(Z,te,fe,K);break;case _d:Z==null&&b(te,fe,K,se);break;case Ur:O(Z,te,fe,K,me,Ee,se,le,Me);break;default:ue&1?k(Z,te,fe,K,me,Ee,se,le,Me):ue&6?P(Z,te,fe,K,me,Ee,se,le,Me):(ue&64||ue&128)&&Oe.process(Z,te,fe,K,me,Ee,se,le,Me,we)}Je!=null&&me&&Eg(Je,Z&&Z.ref,Ee,te||Z,!te)},m=(Z,te,fe,K)=>{if(Z==null)r(te.el=a(te.children),fe,K);else{const me=te.el=Z.el;te.children!==Z.children&&c(me,te.children)}},v=(Z,te,fe,K)=>{Z==null?r(te.el=l(te.children||""),fe,K):te.el=Z.el},b=(Z,te,fe,K)=>{[Z.el,Z.anchor]=p(Z.children,te,fe,K,Z.el,Z.anchor)},w=({el:Z,anchor:te},fe,K)=>{let me;for(;Z&&Z!==te;)me=d(Z),r(Z,fe,K),Z=me;r(te,fe,K)},x=({el:Z,anchor:te})=>{let fe;for(;Z&&Z!==te;)fe=d(Z),o(Z),Z=fe;o(te)},k=(Z,te,fe,K,me,Ee,se,le,Me)=>{se=se||te.type==="svg",Z==null?y(te,fe,K,me,Ee,se,le,Me):$(Z,te,me,Ee,se,le,Me)},y=(Z,te,fe,K,me,Ee,se,le)=>{let Me,Oe;const{type:Je,props:ue,shapeFlag:ve,transition:We,dirs:B}=Z;if(Me=Z.el=s(Z.type,Ee,ue&&ue.is,ue),ve&8?u(Me,Z.children):ve&16&&_(Z.children,Me,null,K,me,Ee&&Je!=="foreignObject",se,le),B&&ks(Z,null,K,"created"),j(Me,Z,Z.scopeId,se,K),ue){for(const re in ue)re!=="value"&&!Sd(re)&&i(Me,re,null,ue[re],Ee,Z.children,K,me,G);"value"in ue&&i(Me,"value",null,ue.value),(Oe=ue.onVnodeBeforeMount)&&mi(Oe,K,Z)}B&&ks(Z,null,K,"beforeMount");const Y=_T(me,We);Y&&We.beforeEnter(Me),r(Me,te,fe),((Oe=ue&&ue.onVnodeMounted)||Y||B)&&qo(()=>{Oe&&mi(Oe,K,Z),Y&&We.enter(Me),B&&ks(Z,null,K,"mounted")},me)},j=(Z,te,fe,K,me)=>{if(fe&&h(Z,fe),K)for(let Ee=0;Ee<K.length;Ee++)h(Z,K[Ee]);if(me){let Ee=me.subTree;if(te===Ee){const se=me.vnode;j(Z,se,se.scopeId,se.slotScopeIds,me.parent)}}},_=(Z,te,fe,K,me,Ee,se,le,Me=0)=>{for(let Oe=Me;Oe<Z.length;Oe++){const Je=Z[Oe]=le?Ja(Z[Oe]):vi(Z[Oe]);g(null,Je,te,fe,K,me,Ee,se,le)}},$=(Z,te,fe,K,me,Ee,se)=>{const le=te.el=Z.el;let{patchFlag:Me,dynamicChildren:Oe,dirs:Je}=te;Me|=Z.patchFlag&16;const ue=Z.props||mr,ve=te.props||mr;let We;fe&&Jl(fe,!1),(We=ve.onVnodeBeforeUpdate)&&mi(We,fe,te,Z),Je&&ks(te,Z,fe,"beforeUpdate"),fe&&Jl(fe,!0);const B=me&&te.type!=="foreignObject";if(Oe?S(Z.dynamicChildren,Oe,le,fe,K,B,Ee):se||R(Z,te,le,null,fe,K,B,Ee,!1),Me>0){if(Me&16)C(le,te,ue,ve,fe,K,me);else if(Me&2&&ue.class!==ve.class&&i(le,"class",null,ve.class,me),Me&4&&i(le,"style",ue.style,ve.style,me),Me&8){const Y=te.dynamicProps;for(let re=0;re<Y.length;re++){const pe=Y[re],$e=ue[pe],Le=ve[pe];(Le!==$e||pe==="value")&&i(le,pe,$e,Le,me,Z.children,fe,K,G)}}Me&1&&Z.children!==te.children&&u(le,te.children)}else!se&&Oe==null&&C(le,te,ue,ve,fe,K,me);((We=ve.onVnodeUpdated)||Je)&&qo(()=>{We&&mi(We,fe,te,Z),Je&&ks(te,Z,fe,"updated")},K)},S=(Z,te,fe,K,me,Ee,se)=>{for(let le=0;le<te.length;le++){const Me=Z[le],Oe=te[le],Je=Me.el&&(Me.type===Ur||!Za(Me,Oe)||Me.shapeFlag&70)?f(Me.el):fe;g(Me,Oe,Je,null,K,me,Ee,se,!0)}},C=(Z,te,fe,K,me,Ee,se)=>{if(fe!==K){if(fe!==mr)for(const le in fe)!Sd(le)&&!(le in K)&&i(Z,le,fe[le],null,se,te.children,me,Ee,G);for(const le in K){if(Sd(le))continue;const Me=K[le],Oe=fe[le];Me!==Oe&&le!=="value"&&i(Z,le,Oe,Me,se,te.children,me,Ee,G)}"value"in K&&i(Z,"value",fe.value,K.value)}},O=(Z,te,fe,K,me,Ee,se,le,Me)=>{const Oe=te.el=Z?Z.el:a(""),Je=te.anchor=Z?Z.anchor:a("");let{patchFlag:ue,dynamicChildren:ve,slotScopeIds:We}=te;We&&(le=le?le.concat(We):We),Z==null?(r(Oe,fe,K),r(Je,fe,K),_(te.children,fe,Je,me,Ee,se,le,Me)):ue>0&&ue&64&&ve&&Z.dynamicChildren?(S(Z.dynamicChildren,ve,fe,me,Ee,se,le),(te.key!=null||me&&te===me.subTree)&&CT(Z,te,!0)):R(Z,te,fe,Je,me,Ee,se,le,Me)},P=(Z,te,fe,K,me,Ee,se,le,Me)=>{te.slotScopeIds=le,Z==null?te.shapeFlag&512?me.ctx.activate(te,fe,K,se,Me):I(te,fe,K,me,Ee,se,Me):J(Z,te,Me)},I=(Z,te,fe,K,me,Ee,se)=>{const le=Z.component=aD(Z,K,me);if(s2(Z)&&(le.ctx.renderer=we),lD(le),le.asyncDep){if(me&&me.registerDep(le,H),!Z.el){const Me=le.subTree=ht(is);v(null,Me,te,fe)}return}H(le,Z,te,fe,me,Ee,se)},J=(Z,te,fe)=>{const K=te.component=Z.component;if(jL(Z,te,fe))if(K.asyncDep&&!K.asyncResolved){D(K,te,fe);return}else K.next=te,gL(K.update),K.update();else te.el=Z.el,K.vnode=te},H=(Z,te,fe,K,me,Ee,se)=>{const le=()=>{if(Z.isMounted){let{next:Je,bu:ue,u:ve,parent:We,vnode:B}=Z,Y=Je,re;Jl(Z,!1),Je?(Je.el=B.el,D(Z,Je,se)):Je=B,ue&&Jm(ue),(re=Je.props&&Je.props.onVnodeBeforeUpdate)&&mi(re,We,Je,B),Jl(Z,!0);const pe=_1(Z),$e=Z.subTree;Z.subTree=pe,g($e,pe,f($e.el),ee($e),Z,me,Ee),Je.el=pe.el,Y===null&&t2(Z,pe.el),ve&&qo(ve,me),(re=Je.props&&Je.props.onVnodeUpdated)&&qo(()=>mi(re,We,Je,B),me)}else{let Je;const{el:ue,props:ve}=te,{bm:We,m:B,parent:Y}=Z,re=Eu(te);if(Jl(Z,!1),We&&Jm(We),!re&&(Je=ve&&ve.onVnodeBeforeMount)&&mi(Je,Y,te),Jl(Z,!0),ue&&he){const pe=()=>{Z.subTree=_1(Z),he(ue,Z.subTree,Z,me,null)};re?te.type.__asyncLoader().then(()=>!Z.isUnmounted&&pe()):pe()}else{const pe=Z.subTree=_1(Z);g(null,pe,fe,K,Z,me,Ee),te.el=pe.el}if(B&&qo(B,me),!re&&(Je=ve&&ve.onVnodeMounted)){const pe=te;qo(()=>mi(Je,Y,pe),me)}(te.shapeFlag&256||Y&&Eu(Y.vnode)&&Y.vnode.shapeFlag&256)&&Z.a&&qo(Z.a,me),Z.isMounted=!0,te=fe=K=null}},Me=Z.effect=new Wx(le,()=>s0(Oe),Z.scope),Oe=Z.update=()=>Me.run();Oe.id=Z.uid,Jl(Z,!0),Oe()},D=(Z,te,fe)=>{te.component=Z;const K=Z.vnode.props;Z.vnode=te,Z.next=null,QL(Z,te.props,K,fe),KL(Z,te.children,fe),Tf(),xS(),Af()},R=(Z,te,fe,K,me,Ee,se,le,Me=!1)=>{const Oe=Z&&Z.children,Je=Z?Z.shapeFlag:0,ue=te.children,{patchFlag:ve,shapeFlag:We}=te;if(ve>0){if(ve&128){L(Oe,ue,fe,K,me,Ee,se,le,Me);return}else if(ve&256){V(Oe,ue,fe,K,me,Ee,se,le,Me);return}}We&8?(Je&16&&G(Oe,me,Ee),ue!==Oe&&u(fe,ue)):Je&16?We&16?L(Oe,ue,fe,K,me,Ee,se,le,Me):G(Oe,me,Ee,!0):(Je&8&&u(fe,""),We&16&&_(ue,fe,K,me,Ee,se,le,Me))},V=(Z,te,fe,K,me,Ee,se,le,Me)=>{Z=Z||Cu,te=te||Cu;const Oe=Z.length,Je=te.length,ue=Math.min(Oe,Je);let ve;for(ve=0;ve<ue;ve++){const We=te[ve]=Me?Ja(te[ve]):vi(te[ve]);g(Z[ve],We,fe,null,me,Ee,se,le,Me)}Oe>Je?G(Z,me,Ee,!0,!1,ue):_(te,fe,K,me,Ee,se,le,Me,ue)},L=(Z,te,fe,K,me,Ee,se,le,Me)=>{let Oe=0;const Je=te.length;let ue=Z.length-1,ve=Je-1;for(;Oe<=ue&&Oe<=ve;){const We=Z[Oe],B=te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]);if(Za(We,B))g(We,B,fe,null,me,Ee,se,le,Me);else break;Oe++}for(;Oe<=ue&&Oe<=ve;){const We=Z[ue],B=te[ve]=Me?Ja(te[ve]):vi(te[ve]);if(Za(We,B))g(We,B,fe,null,me,Ee,se,le,Me);else break;ue--,ve--}if(Oe>ue){if(Oe<=ve){const We=ve+1,B=We<Je?te[We].el:K;for(;Oe<=ve;)g(null,te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]),fe,B,me,Ee,se,le,Me),Oe++}}else if(Oe>ve)for(;Oe<=ue;)U(Z[Oe],me,Ee,!0),Oe++;else{const We=Oe,B=Oe,Y=new Map;for(Oe=B;Oe<=ve;Oe++){const Dt=te[Oe]=Me?Ja(te[Oe]):vi(te[Oe]);Dt.key!=null&&Y.set(Dt.key,Oe)}let re,pe=0;const $e=ve-B+1;let Le=!1,gt=0;const rt=new Array($e);for(Oe=0;Oe<$e;Oe++)rt[Oe]=0;for(Oe=We;Oe<=ue;Oe++){const Dt=Z[Oe];if(pe>=$e){U(Dt,me,Ee,!0);continue}let Bt;if(Dt.key!=null)Bt=Y.get(Dt.key);else for(re=B;re<=ve;re++)if(rt[re-B]===0&&Za(Dt,te[re])){Bt=re;break}Bt===void 0?U(Dt,me,Ee,!0):(rt[Bt-B]=Oe+1,Bt>=gt?gt=Bt:Le=!0,g(Dt,te[Bt],fe,null,me,Ee,se,le,Me),pe++)}const an=Le?nD(rt):Cu;for(re=an.length-1,Oe=$e-1;Oe>=0;Oe--){const Dt=B+Oe,Bt=te[Dt],ot=Dt+1<Je?te[Dt+1].el:K;rt[Oe]===0?g(null,Bt,fe,ot,me,Ee,se,le,Me):Le&&(re<0||Oe!==an[re]?E(Bt,fe,ot,2):re--)}}},E=(Z,te,fe,K,me=null)=>{const{el:Ee,type:se,transition:le,children:Me,shapeFlag:Oe}=Z;if(Oe&6){E(Z.component.subTree,te,fe,K);return}if(Oe&128){Z.suspense.move(te,fe,K);return}if(Oe&64){se.move(Z,te,fe,we);return}if(se===Ur){r(Ee,te,fe);for(let ue=0;ue<Me.length;ue++)E(Me[ue],te,fe,K);r(Z.anchor,te,fe);return}if(se===_d){w(Z,te,fe);return}if(K!==2&&Oe&1&&le)if(K===0)le.beforeEnter(Ee),r(Ee,te,fe),qo(()=>le.enter(Ee),me);else{const{leave:ue,delayLeave:ve,afterLeave:We}=le,B=()=>r(Ee,te,fe),Y=()=>{ue(Ee,()=>{B(),We&&We()})};ve?ve(Ee,B,Y):Y()}else r(Ee,te,fe)},U=(Z,te,fe,K=!1,me=!1)=>{const{type:Ee,props:se,ref:le,children:Me,dynamicChildren:Oe,shapeFlag:Je,patchFlag:ue,dirs:ve}=Z;if(le!=null&&Eg(le,null,fe,Z,!0),Je&256){te.ctx.deactivate(Z);return}const We=Je&1&&ve,B=!Eu(Z);let Y;if(B&&(Y=se&&se.onVnodeBeforeUnmount)&&mi(Y,te,Z),Je&6)A(Z.component,fe,K);else{if(Je&128){Z.suspense.unmount(fe,K);return}We&&ks(Z,null,te,"beforeUnmount"),Je&64?Z.type.remove(Z,te,fe,me,we,K):Oe&&(Ee!==Ur||ue>0&&ue&64)?G(Oe,te,fe,!1,!0):(Ee===Ur&&ue&384||!me&&Je&16)&&G(Me,te,fe),K&&W(Z)}(B&&(Y=se&&se.onVnodeUnmounted)||We)&&qo(()=>{Y&&mi(Y,te,Z),We&&ks(Z,null,te,"unmounted")},fe)},W=Z=>{const{type:te,el:fe,anchor:K,transition:me}=Z;if(te===Ur){M(fe,K);return}if(te===_d){x(Z);return}const Ee=()=>{o(fe),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(Z.shapeFlag&1&&me&&!me.persisted){const{leave:se,delayLeave:le}=me,Me=()=>se(fe,Ee);le?le(Z.el,Ee,Me):Me()}else Ee()},M=(Z,te)=>{let fe;for(;Z!==te;)fe=d(Z),o(Z),Z=fe;o(te)},A=(Z,te,fe)=>{const{bum:K,scope:me,update:Ee,subTree:se,um:le}=Z;K&&Jm(K),me.stop(),Ee&&(Ee.active=!1,U(se,Z,te,fe)),le&&qo(le,te),qo(()=>{Z.isUnmounted=!0},te),te&&te.pendingBranch&&!te.isUnmounted&&Z.asyncDep&&!Z.asyncResolved&&Z.suspenseId===te.pendingId&&(te.deps--,te.deps===0&&te.resolve())},G=(Z,te,fe,K=!1,me=!1,Ee=0)=>{for(let se=Ee;se<Z.length;se++)U(Z[se],te,fe,K,me)},ee=Z=>Z.shapeFlag&6?ee(Z.component.subTree):Z.shapeFlag&128?Z.suspense.next():d(Z.anchor||Z.el),be=(Z,te,fe)=>{Z==null?te._vnode&&U(te._vnode,null,null,!0):g(te._vnode||null,Z,te,null,null,null,fe),xS(),Og(),te._vnode=Z},we={p:g,um:U,m:E,r:W,mt:I,mc:_,pc:R,pbc:S,n:ee,o:t};let Se,he;return e&&([Se,he]=e(we)),{render:be,hydrate:Se,createApp:JL(be,Se)}}function Jl({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function _T(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function CT(t,e,n=!1){const r=t.children,o=e.children;if(Jt(r)&&Jt(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Ja(o[i]),a.el=s.el),n||CT(s,a)),a.type===tf&&(a.el=s.el)}}function nD(t){const e=t.slice(),n=[0];let r,o,i,s,a;const l=t.length;for(r=0;r<l;r++){const c=t[r];if(c!==0){if(o=n[n.length-1],t[o]<c){e[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,t[n[a]]<c?i=a+1:s=a;c<t[n[i]]&&(i>0&&(e[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=e[s];return n}const rD=t=>t.__isTeleport,Ur=Symbol.for("v-fgt"),tf=Symbol.for("v-txt"),is=Symbol.for("v-cmt"),_d=Symbol.for("v-stc"),Cd=[];let xi=null;function Ye(t=!1){Cd.push(xi=t?null:[])}function OT(){Cd.pop(),xi=Cd[Cd.length-1]||null}let nf=1;function NS(t){nf+=t}function TT(t){return t.dynamicChildren=nf>0?xi||Cu:null,OT(),nf>0&&xi&&xi.push(t),t}function It(t,e,n,r,o,i){return TT(ze(t,e,n,r,o,i,!0))}function cn(t,e,n,r,o){return TT(ht(t,e,n,r,o,!0))}function rh(t){return t?t.__v_isVNode===!0:!1}function Za(t,e){return t.type===e.type&&t.key===e.key}const f0="__vInternal",AT=({key:t})=>t??null,Gm=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Ir(t)||zr(t)||on(t)?{i:oo,r:t,k:e,f:!!n}:t:null);function ze(t,e=null,n=null,r=0,o=null,i=t===Ur?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&AT(e),ref:e&&Gm(e),scopeId:l0,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:oo};return a?(f2(l,n),i&128&&t.normalize(l)):n&&(l.shapeFlag|=Ir(n)?8:16),nf>0&&!s&&xi&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&xi.push(l),l}const ht=oD;function oD(t,e=null,n=null,r=0,o=null,i=!1){if((!t||t===oT)&&(t=is),rh(t)){const a=rf(t,e,!0);return n&&f2(a,n),nf>0&&!i&&xi&&(a.shapeFlag&6?xi[xi.indexOf(t)]=a:xi.push(a)),a.patchFlag|=-2,a}if(hD(t)&&(t=t.__vccOpts),e){e=u2(e);let{class:a,style:l}=e;a&&!Ir(a)&&(e.class=Kn(a)),nr(l)&&(GO(l)&&!Jt(l)&&(l=wo({},l)),e.style=ui(l))}const s=Ir(t)?1:SL(t)?128:rD(t)?64:nr(t)?4:on(t)?2:0;return ze(t,e,n,r,o,s,i,!0)}function u2(t){return t?GO(t)||f0 in t?wo({},t):t:null}function rf(t,e,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=t,a=e?d0(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&AT(a),ref:e&&e.ref?n&&o?Jt(o)?o.concat(Gm(e)):[o,Gm(e)]:Gm(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ur?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&&rf(t.ssContent),ssFallback:t.ssFallback&&rf(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Kt(t=" ",e=0){return ht(tf,null,t,e)}function Jn(t="",e=!1){return e?(Ye(),cn(is,null,t)):ht(is,null,t)}function vi(t){return t==null||typeof t=="boolean"?ht(is):Jt(t)?ht(Ur,null,t.slice()):typeof t=="object"?Ja(t):ht(tf,null,String(t))}function Ja(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:rf(t)}function f2(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Jt(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),f2(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(f0 in e)?e._ctx=oo:o===3&&oo&&(oo.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else on(e)?(e={default:e,_ctx:oo},n=32):(e=String(e),r&64?(n=16,e=[Kt(e)]):n=8);t.children=e,t.shapeFlag|=n}function d0(...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=Kn([e.class,r.class]));else if(o==="style")e.style=ui([e.style,r.style]);else if(Xh(o)){const i=e[o],s=r[o];s&&i!==s&&!(Jt(i)&&i.includes(s))&&(e[o]=i?[].concat(i,s):s)}else o!==""&&(e[o]=r[o])}return e}function mi(t,e,n,r=null){Zi(t,e,7,[n,r])}const iD=vT();let sD=0;function aD(t,e,n){const r=t.type,o=(e?e.appContext:t.appContext)||iD,i={uid:sD++,vnode:t,type:r,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new RO(!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:xT(r,o),emitsOptions:rT(r,o),emit:null,emitted:null,propsDefaults:mr,inheritAttrs:r.inheritAttrs,ctx:mr,data:mr,props:mr,attrs:mr,slots:mr,refs:mr,setupState:mr,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=yL.bind(null,i),t.ce&&t.ce(i),i}let Jr=null;const Aa=()=>Jr||oo;let d2,iu,MS="__VUE_INSTANCE_SETTERS__";(iu=Yy()[MS])||(iu=Yy()[MS]=[]),iu.push(t=>Jr=t),d2=t=>{iu.length>1?iu.forEach(e=>e(t)):iu[0](t)};const $l=t=>{d2(t),t.scope.on()},fl=()=>{Jr&&Jr.scope.off(),d2(null)};function PT(t){return t.vnode.shapeFlag&4}let of=!1;function lD(t,e=!1){of=e;const{props:n,children:r}=t.vnode,o=PT(t);GL(t,n,o,e),XL(t,r);const i=o?cD(t,e):void 0;return of=!1,i}function cD(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=QO(new Proxy(t.ctx,zL));const{setup:r}=n;if(r){const o=t.setupContext=r.length>1?fD(t):null;$l(t),Tf();const i=ul(r,t,0,[t.props,o]);if(Af(),fl(),qx(i)){if(i.then(fl,fl),e)return i.then(s=>{sb(t,s,e)}).catch(s=>{Pf(s,t,0)});t.asyncDep=i}else sb(t,i,e)}else ET(t,e)}function sb(t,e,n){on(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:nr(e)&&(t.setupState=ZO(e)),ET(t,n)}let RS;function ET(t,e,n){const r=t.type;if(!t.render){if(!e&&RS&&!r.render){const o=r.template||l2(t).template;if(o){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=wo(wo({isCustomElement:i,delimiters:a},s),l);r.render=RS(o,c)}}t.render=r.render||Ki}{$l(t),Tf();try{FL(t)}finally{Af(),fl()}}}function uD(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return Qo(t,"get","$attrs"),e[n]}}))}function fD(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return uD(t)},slots:t.slots,emit:t.emit,expose:e}}function h0(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(ZO(QO(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in $d)return $d[n](t)},has(e,n){return n in e||n in $d}}))}function dD(t,e=!0){return on(t)?t.displayName||t.name:t.name||e&&t.__name}function hD(t){return on(t)&&"__vccOpts"in t}const jn=(t,e)=>hL(t,e,of);function _l(t,e,n){const r=arguments.length;return r===2?nr(e)&&!Jt(e)?rh(e)?ht(t,null,[e]):ht(t,e):ht(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rh(n)&&(n=[n]),ht(t,e,n))}const pD=Symbol.for("v-scx"),mD=()=>Nu(pD),NT="3.3.10",gD="http://www.w3.org/2000/svg",ic=typeof document<"u"?document:null,IS=ic&&ic.createElement("template"),vD={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?ic.createElementNS(gD,t):ic.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>ic.createTextNode(t),createComment:t=>ic.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ic.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const s=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{IS.innerHTML=r?`<svg>${t}</svg>`:t;const a=IS.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},yD=Symbol("_vtc");function bD(t,e,n){const r=t[yD];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const wD=Symbol("_vod");function xD(t,e,n){const r=t.style,o=Ir(n);if(n&&!o){if(e&&!Ir(e))for(const i in e)n[i]==null&&ab(r,i,"");for(const i in n)ab(r,i,n[i])}else{const i=r.display;o?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),wD in t&&(r.display=i)}}const LS=/\s*!important$/;function ab(t,e,n){if(Jt(n))n.forEach(r=>ab(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=kD(t,e);LS.test(n)?t.setProperty(Uc(r),n.replace(LS,""),"important"):t[r]=n}}const DS=["Webkit","Moz","ms"],T1={};function kD(t,e){const n=T1[e];if(n)return n;let r=Ds(e);if(r!=="filter"&&r in t)return T1[e]=r;r=o0(r);for(let o=0;o<DS.length;o++){const i=DS[o]+r;if(i in t)return T1[e]=i}return e}const BS="http://www.w3.org/1999/xlink";function jD(t,e,n,r,o){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(BS,e.slice(6,e.length)):t.setAttributeNS(BS,e,n);else{const i=M9(e);n==null||i&&!NO(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function SD(t,e,n,r,o,i,s){if(e==="innerHTML"||e==="textContent"){r&&s(r,o,i),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){t._value=n;const c=a==="OPTION"?t.getAttribute("value"):t.value,u=n??"";c!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=NO(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function h2(t,e,n,r){t.addEventListener(e,n,r)}function $D(t,e,n,r){t.removeEventListener(e,n,r)}const zS=Symbol("_vei");function _D(t,e,n,r,o=null){const i=t[zS]||(t[zS]={}),s=i[e];if(r&&s)s.value=r;else{const[a,l]=CD(e);if(r){const c=i[e]=AD(r,o);h2(t,a,c,l)}else s&&($D(t,a,s,l),i[e]=void 0)}}const FS=/(?:Once|Passive|Capture)$/;function CD(t){let e;if(FS.test(t)){e={};let r;for(;r=t.match(FS);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Uc(t.slice(2)),e]}let A1=0;const OD=Promise.resolve(),TD=()=>A1||(OD.then(()=>A1=0),A1=Date.now());function AD(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Zi(PD(r,n.value),e,5,[r])};return n.value=t,n.attached=TD(),n}function PD(t,e){if(Jt(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 qS=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ED=(t,e,n,r,o=!1,i,s,a,l)=>{e==="class"?bD(t,r,o):e==="style"?xD(t,n,r):Xh(e)?zx(e)||_D(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ND(t,e,r,o))?SD(t,e,r,i,s,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),jD(t,e,r,o))};function ND(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&qS(e)&&on(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;return!(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")}return qS(e)&&Ir(n)?!1:e in t}function BSe(t){const e=Aa();if(!e)return;const n=e.ut=(o=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(i=>cb(i,o))},r=()=>{const o=t(e.proxy);lb(e.subTree,o),n(o)};EL(r),zl(()=>{const o=new MutationObserver(r);o.observe(e.subTree.el.parentNode,{childList:!0}),ef(()=>o.disconnect())})}function lb(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{lb(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)cb(t.el,e);else if(t.type===Ur)t.children.forEach(n=>lb(n,e));else if(t.type===_d){let{el:n,anchor:r}=t;for(;n&&(cb(n,e),n!==r);)n=n.nextSibling}}function cb(t,e){if(t.nodeType===1){const n=t.style;for(const r in e)n.setProperty(`--${r}`,e[r])}}const Ng=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Jt(e)?n=>Jm(e,n):e},Mu=Symbol("_assign"),MD={created(t,{value:e},n){t.checked=Zu(e,n.props.value),t[Mu]=Ng(n),h2(t,"change",()=>{t[Mu](oh(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t[Mu]=Ng(r),e!==n&&(t.checked=Zu(e,r.props.value))}},RD={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const o=n0(e);h2(t,"change",()=>{const i=Array.prototype.filter.call(t.options,s=>s.selected).map(s=>n?PO(oh(s)):oh(s));t[Mu](t.multiple?o?new Set(i):i:i[0])}),t[Mu]=Ng(r)},mounted(t,{value:e}){HS(t,e)},beforeUpdate(t,e,n){t[Mu]=Ng(n)},updated(t,{value:e}){HS(t,e)}};function HS(t,e){const n=t.multiple;if(!(n&&!Jt(e)&&!n0(e))){for(let r=0,o=t.options.length;r<o;r++){const i=t.options[r],s=oh(i);if(n)Jt(e)?i.selected=I9(e,s)>-1:i.selected=e.has(s);else if(Zu(oh(i),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function oh(t){return"_value"in t?t._value:t.value}const ID=["ctrl","shift","alt","meta"],LD={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)=>ID.some(n=>t[`${n}Key`]&&!e.includes(n))},DD=(t,e)=>t._withMods||(t._withMods=(n,...r)=>{for(let o=0;o<e.length;o++){const i=LD[e[o]];if(i&&i(n,e))return}return t(n,...r)}),BD={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zD=(t,e)=>t._withKeys||(t._withKeys=n=>{if(!("key"in n))return;const r=Uc(n.key);if(e.some(o=>o===r||BD[o]===r))return t(n)}),MT=wo({patchProp:ED},vD);let Od,VS=!1;function FD(){return Od||(Od=eD(MT))}function qD(){return Od=VS?Od:tD(MT),VS=!0,Od}const RT=(...t)=>{const e=FD().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=IT(r);if(!o)return;const i=e._component;!on(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e},HD=(...t)=>{const e=qD().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=IT(r);if(o)return n(o,!0,o instanceof SVGElement)},e};function IT(t){return Ir(t)?document.querySelector(t):t}const VD=/#/g,WD=/&/g,UD=/=/g,p2=/\+/g,JD=/%5e/gi,GD=/%60/gi,QD=/%7c/gi,YD=/%20/gi;function XD(t){return encodeURI(""+t).replace(QD,"|")}function ub(t){return XD(typeof t=="string"?t:JSON.stringify(t)).replace(p2,"%2B").replace(YD,"+").replace(VD,"%23").replace(WD,"%26").replace(GD,"`").replace(JD,"^")}function P1(t){return ub(t).replace(UD,"%3D")}function Mg(t=""){try{return decodeURIComponent(""+t)}catch{return""+t}}function KD(t){return Mg(t.replace(p2," "))}function ZD(t){return Mg(t.replace(p2," "))}function m2(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=KD(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=ZD(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 eB(t,e){return(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),e?Array.isArray(e)?e.map(n=>`${P1(t)}=${ub(n)}`).join("&"):`${P1(t)}=${ub(e)}`:P1(t)}function LT(t){return Object.keys(t).filter(e=>t[e]!==void 0).map(e=>eB(e,t[e])).filter(Boolean).join("&")}const tB=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,nB=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,rB=/^([/\\]\s*){2,}[^/\\]/;function Zh(t,e={}){return typeof e=="boolean"&&(e={acceptRelative:e}),e.strict?tB.test(t):nB.test(t)||(e.acceptRelative?rB.test(t):!1)}const oB=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function iB(t){return!!t&&oB.test(t)}const sB=/\/$|\/\?|\/#/;function fb(t="",e){return e?sB.test(t):t.endsWith("/")}function g2(t="",e){if(!e)return(fb(t)?t.slice(0,-1):t)||"/";if(!fb(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,...s]=n.split("?");return(i.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Rg(t="",e){if(!e)return t.endsWith("/")?t:t+"/";if(fb(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,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function aB(t=""){return t.startsWith("/")}function WS(t=""){return aB(t)?t:"/"+t}function DT(t,e){if(BT(e)||Zh(t))return t;const n=g2(e);return t.startsWith(n)?t:Pa(n,t)}function lB(t,e){if(BT(e))return t;const n=g2(e);if(!t.startsWith(n))return t;const r=t.slice(n.length);return r[0]==="/"?r:"/"+r}function Ru(t,e){const n=Gc(t),r={...m2(n.search),...e};return n.search=LT(r),zT(n)}function BT(t){return!t||t==="/"}function cB(t){return t&&t!=="/"}const uB=/^\.?\//;function Pa(t,...e){let n=t||"";for(const r of e.filter(o=>cB(o)))if(n){const o=r.replace(uB,"");n=Rg(n)+o}else n=r;return n}function fB(t,e,n={}){return n.trailingSlash||(t=Rg(t),e=Rg(e)),n.leadingSlash||(t=WS(t),e=WS(e)),n.encoding||(t=Mg(t),e=Mg(e)),t===e}function Gc(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(!Zh(t,{acceptRelative:!0}))return e?Gc(e+t):US(t);const[,r="",o,i=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=US(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u}}function US(t=""){const[e="",n="",r=""]=(t.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:e,search:n,hash:r}}function zT(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 dB=()=>{var t;return((t=window==null?void 0:window.__NUXT__)==null?void 0:t.config)||{}},Ig=dB().app,hB=()=>Ig.baseURL,pB=()=>Ig.buildAssetsDir,v2=(...t)=>Pa(FT(),pB(),...t),FT=(...t)=>{const e=Ig.cdnURL||Ig.baseURL;return t.length?Pa(e,...t):e};globalThis.__buildAssetsURL=v2,globalThis.__publicAssetsURL=FT;const mB=/"(?:_|\\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*:/,gB=/"(?: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*:/,vB=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function yB(t,e){if(t==="__proto__"||t==="constructor"&&e&&typeof e=="object"&&"prototype"in e){bB(t);return}return e}function bB(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function Lg(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(!vB.test(t)){if(e.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(mB.test(t)||gB.test(t)){if(e.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,yB)}return JSON.parse(t)}catch(r){if(e.strict)throw r;return t}}class wB extends Error{constructor(e,n){super(e,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function xB(t){var l,c,u,f,d;const e=((l=t.error)==null?void 0:l.message)||((c=t.error)==null?void 0:c.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>",s=`${o}: ${i}${e?` ${e}`:""}`,a=new wB(s,t.error?{cause:t.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return t[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return t.response&&t.response[p]}});return a}const kB=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function JS(t="GET"){return kB.has(t.toUpperCase())}function jB(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 SB=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$B=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function _B(t=""){if(!t)return"json";const e=t.split(";").shift()||"";return $B.test(e)?"json":SB.has(e)||e.startsWith("text/")?"text":"blob"}function CB(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 OB=new Set([408,409,425,429,500,502,503,504]),TB=new Set([101,204,205,304]);function qT(t={}){const{fetch:e=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=t;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=JS(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):OB.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const c=xB(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){var d;const u={request:l,options:CB(c,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=DT(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Ru(u.request,{...u.options.params,...u.options.query}))),u.options.body&&JS(u.options.method)&&(jB(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&&!TB.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||_B(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Lg;u.response._data=g(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},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>e(...a),s.create=(a={})=>qT({...t,defaults:{...t.defaults,...a}}),s}const y2=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")}(),AB=y2.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),PB=y2.Headers,EB=y2.AbortController,NB=qT({fetch:AB,Headers:PB,AbortController:EB}),MB=NB;globalThis.$fetch||(globalThis.$fetch=MB.create({baseURL:hB()}));function db(t,e={},n){for(const r in t){const o=t[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?db(o,e,i):typeof o=="function"&&(e[i]=o)}return e}const RB={run:t=>t()},IB=()=>RB,HT=typeof console.createTask<"u"?console.createTask:IB;function LB(t,e){const n=e.shift(),r=HT(n);return t.reduce((o,i)=>o.then(()=>r.run(()=>i(...e))),Promise.resolve())}function DB(t,e){const n=e.shift(),r=HT(n);return Promise.all(t.map(o=>r.run(()=>o(...e))))}function E1(t,e){for(const n of[...t])n(e)}class BB{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 s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let r,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=db(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=db(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(LB,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith(DB,e,...n)}callHookWith(e,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&E1(this._before,o);const i=e(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&E1(this._after,o)}):(this._after&&o&&E1(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 VT(){return new BB}function zB(t={}){let e,n=!1;const r=s=>{if(e&&e!==s)throw new Error("Context conflict")};let o;if(t.asyncContext){const s=t.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&e===void 0){const s=o.getStore();if(s!==void 0)return s}return e};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),e=s,n=!0},unset:()=>{e=void 0,n=!1},call:(s,a)=>{r(s),e=s;try{return o?o.run(s,a):a()}finally{n||(e=void 0)}},async callAsync(s,a){e=s;const l=()=>{e=s},c=()=>e===s?l:void 0;hb.add(c);try{const u=o?o.run(s,a):a();return n||(e=void 0),await u}finally{hb.delete(c)}}}}function FB(t={}){const e={};return{get(n,r={}){return e[n]||(e[n]=zB({...t,...r})),e[n],e[n]}}}const Dg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},GS="__unctx__",qB=Dg[GS]||(Dg[GS]=FB()),HB=(t,e={})=>qB.get(t,e),QS="__unctx_async_handlers__",hb=Dg[QS]||(Dg[QS]=new Set);function WT(t){const e=[];for(const o of hb){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 UT=HB("nuxt-app",{asyncContext:!1}),VB="__nuxt_plugin";function WB(t){let e=0;const n={_scope:L9(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.8.2"},get vue(){return n.vueApp.version}},payload:Bs({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>GB(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=VT(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Ip(n,s,i),Ip(n.vueApp.config.globalProperties,s,i)},Ip(n.vueApp,"$nuxt",n),Ip(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||Sr;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Bs(n.payload.config);return n.provide("config",r),n}async function UB(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 JB(t,e){const n=[],r=[];for(const o of e){const i=UB(t,o);o.parallel?n.push(i.catch(s=>r.push(s))):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,{[VB]:!0}))}function GB(t,e,n){const r=()=>n?e(...n):e();return UT.set(t),t.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Sr(){var e;let t;if(bT()&&(t=(e=Aa())==null?void 0:e.appContext.app.$nuxt),t=t||UT.tryUse(),!t)throw new Error("[nuxt] instance unavailable");return t}/*! @__NO_SIDE_EFFECTS__ */function ih(){return Sr().$config}function Ip(t,e,n){Object.defineProperty(t,e,{get:()=>n})}const QB="modulepreload",YB=function(t,e){return t[0]==="."?new URL(t,e).href:t},YS={},XB=function(e,n,r){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=YB(i,r),i in YS)return;YS[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===i&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":QB,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>e()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},sh=(...t)=>XB(...t).catch(e=>{const n=new Event("nuxt.preloadError");throw n.payload=e,window.dispatchEvent(n),e}),KB=-1,ZB=-2,ez=-3,tz=-4,nz=-5,rz=-6;function oz(t,e){return iz(JSON.parse(t),e)}function iz(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,s=!1){if(i===KB)return;if(i===ez)return NaN;if(i===tz)return 1/0;if(i===nz)return-1/0;if(i===rz)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=e==null?void 0:e[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let h=1;h<a.length;h+=1)u.add(o(a[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<a.length;h+=2)f.set(o(a[h]),o(a[h+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=o(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==ZB&&(l[c]=o(u))}}else{const l={};r[i]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[i]}return o(0)}function sz(t){return Array.isArray(t)?t:[t]}const az=["title","titleTemplate","script","style","noscript"],Qm=["base","meta","link","style","script","noscript"],lz=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],cz=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],JT=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],uz=typeof window<"u";function b2(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 XS(t){return t._h||b2(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([e,n])=>`${e}:${String(n)}`).join(",")}`)}function GT(t,e){const{props:n,tag:r}=t;if(cz.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 s=String(n[i]);return e&&!e(s)?!1:`${r}:${i}:${s}`}return!1}function KS(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function fz(t,e,n){const r={tag:t,props:await QT(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:e},["templateParams","titleTemplate"].includes(t))};return JT.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||az.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 dz(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 QT(t,e){for(const n of Object.keys(t)){if(n==="class"){t[n]=dz(t[n]);continue}if(t[n]instanceof Promise&&(t[n]=await t[n]),!e&&!JT.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 hz=10;async function pz(t){const e=[];return Object.entries(t.resolvedInput).filter(([n,r])=>typeof r<"u"&&lz.includes(n)).forEach(([n,r])=>{const o=sz(r);e.push(...o.map(i=>fz(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<<hz)+r,n))}const ZS={base:-10,title:10},e$={critical:-80,high:-10,low:20};function Bg(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 ZS&&(e=ZS[t.tag]),typeof n=="string"&&n in e$?e+e$[n]:e)}const mz=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],YT=["onload","onerror","onabort","onprogress","onloadstart"],Fa="%separator";function Ym(t,e,n){if(typeof t!="string"||!t.includes("%"))return t;function r(s){let a;return["s","pageTitle"].includes(s)?a=e.pageTitle:s.includes(".")?a=s.split(".").reduce((l,c)=>l&&l[c]||void 0,e):a=e[s],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=t;try{o=decodeURI(t)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const a=r(s.slice(1));typeof a=="string"&&(t=t.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),t.includes(Fa)&&(t.endsWith(Fa)&&(t=t.slice(0,-Fa.length).trim()),t.startsWith(Fa)&&(t=t.slice(Fa.length).trim()),t=t.replace(new RegExp(`\\${Fa}\\s*\\${Fa}`,"g"),Fa),t=Ym(t,{separator:n},n)),t}async function gz(t){const e={tag:t.tagName.toLowerCase(),props:await QT(t.getAttributeNames().reduce((n,r)=>({...n,[r]:t.getAttribute(r)}),{})),innerHTML:t.innerHTML};return e._d=GT(e),e}async function XT(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:Qm.includes(f.tag)?XS(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=>Qm.includes(p.tagName.toLowerCase())))i.elMap[h.getAttribute("data-hid")||XS(await gz(h))]=h}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function a({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(g=>{h[g]&&h[g]!==d[g]&&(d[g]=h[g])}),s(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(h.props).forEach(([g,m])=>{const v=`attr:${g}`;if(g==="class")for(const b of(m||"").split(" ").filter(Boolean))p&&s(f,`${v}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b);else d.getAttribute(g)!==m&&d.setAttribute(g,m===!0?"":String(m)),p&&s(f,v,()=>d.removeAttribute(g))})}const l=[],c={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?a(f):Qm.includes(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await t.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),t._dom=i,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:o})}async function vz(t,e={}){const n=e.delayFn||(r=>setTimeout(r,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(r=>n(async()=>{await XT(t,e),delete t._domUpdatePromise,r()}))}function yz(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){vz(i,t)}}}}}const bz=["templateParams","htmlAttrs","bodyAttrs"],wz={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=GT(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 a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&bz.includes(r.tag)&&(a="merge"),a==="merge"){const l=i.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),e[o].props={...l,...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(Bg(r)>Bg(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Qm.includes(r.tag)&&s===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))}}},xz={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"}})}}},kz=["script","link","bodyAttrs"];function jz(t){const e={},n={};return Object.entries(t.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(YT.includes(r)&&(e[r]=`this.dataset.${r} = true`),n[r]=o):e[r]=o}),{props:e,eventHandlers:n}}const Sz=t=>({hooks:{"tags:resolve":function(e){for(const n of e.tags)if(kz.includes(n.tag)){const{props:r,eventHandlers:o}=jz(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||b2(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,s])=>{const a=`${e.tag._d||e.tag._p}:${i}`,l=i.slice(2).toLowerCase(),c=`data-h-${l}`;if(r(e.id,a,()=>{}),e.$el.hasAttribute(c))return;e.$el.setAttribute(c,"");let u;const f=d=>{s(d),u==null||u.disconnect()};i in e.$el.dataset?f(new Event(i.replace("on",""))):YT.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(l,f),r(e.id,a,()=>{u==null||u.disconnect(),o.removeEventListener(l,f),e.$el.removeAttribute(c)})})}}}),$z=["link","style","script","noscript"],_z={hooks:{"tag:normalise":({tag:t})=>{t.key&&$z.includes(t.tag)&&(t.props["data-hid"]=t._h=b2(t.key))}}},Cz={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 mz)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)=>Bg(n)-Bg(r))}}},Oz={meta:"content",link:"href",htmlAttrs:"lang"},Tz=t=>({hooks:{"tags:resolve":e=>{var a;const{tags:n}=e,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Ym(i.pageTitle||r||"",i,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=Oz[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=Ym(l.props[c],i,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=Ym(l[u],i,s))})}t._templateParams=i,t._separator=s,e.tags=n.filter(l=>l.tag!=="templateParams")}}}),Az={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=KS(e[n].textContent,e[r].textContent);o!==null?e[r].textContent=o||e[r].textContent:delete e[r]}else if(n!==-1){const o=KS(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)}}},Pz={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 KT;function Ez(t={}){const e=Nz(t);return e.use(yz()),KT=e}function t$(t,e){return!t||t==="server"&&e||t==="client"&&!e}function Nz(t={}){const e=VT();e.addHooks(t.hooks||{}),t.document=t.document||(uz?document:void 0);const n=!t.document,r=()=>{a.dirty=!0,e.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),t$(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return t$(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),e.callHook("entries:updated",a),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...i]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await pz(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[wz,xz,Sz,_z,Cz,Tz,Az,Pz,...(t==null?void 0:t.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Mz(){return KT}const Rz=NT.startsWith("3");function Iz(t){return typeof t=="function"?t():Ne(t)}function zg(t,e=""){if(t instanceof Promise)return t;const n=Iz(t);return!t||!n?n:Array.isArray(n)?n.map(r=>zg(r,e)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,Ne(o)]:[r,zg(o,r)])):n}const Lz={hooks:{"entries:resolve":function(t){for(const e of t.entries)e.resolvedInput=zg(e.input)}}},ZT="usehead";function Dz(t){return{install(n){Rz&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(ZT,t))}}.install}function Bz(t={}){t.domDelayFn=t.domDelayFn||(n=>Jc(()=>setTimeout(()=>n(),0)));const e=Ez(t);return e.use(Lz),e.install=Dz(e),e}const pb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mb="__unhead_injection_handler__";function zz(t){pb[mb]=t}function Fz(){if(mb in pb)return pb[mb]();const t=Nu(ZT);return t||Mz()}function gb(t,e={}){const n=e.head||Fz();if(n)return n.ssr?n.push(t,e):qz(n,t,e)}function qz(t,e,n={}){const r=Yt(!1),o=Yt({});i2(()=>{o.value=r.value?{}:zg(e)});const i=t.push(o.value,n);return br(o,a=>{i.patch(a)}),Aa()&&(a2(()=>{i.dispose()}),uT(()=>{r.value=!0}),cT(()=>{r.value=!1})),i}function Hz(t){return{ctx:{table:t},matchAll:e=>tA(e,t)}}function eA(t){const e={};for(const n in t)e[n]=n==="dynamic"?new Map(Object.entries(t[n]).map(([r,o])=>[r,eA(o)])):new Map(Object.entries(t[n]));return e}function Vz(t){return Hz(eA(t))}function tA(t,e){const n=[];for(const[o,i]of n$(e.wildcard))t.startsWith(o)&&n.push(i);for(const[o,i]of n$(e.dynamic))if(t.startsWith(o+"/")){const s="/"+t.slice(o.length).split("/").splice(2).join("/");n.push(...tA(s,i))}const r=e.static.get(t);return r&&n.push(r),n.filter(Boolean)}function n$(t){return[...t.entries()].sort((e,n)=>e[0].length-n[0].length)}function vb(t,e,n=".",r){if(!N1(e))return vb(t,{},n,r);const o=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const s=t[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:N1(s)&&N1(o[i])?o[i]=vb(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function N1(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 nA(t){return(...e)=>e.reduce((n,r)=>vb(n,r,"",t),{})}const Fg=nA(),Wz=nA((t,e,n)=>{if(t[e]!==void 0&&typeof n=="function")return t[e]=n(t[e]),!0});function Uz(t,e){try{return e in t}catch{return!1}}var Jz=Object.defineProperty,Gz=(t,e,n)=>e in t?Jz(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ec=(t,e,n)=>(Gz(t,typeof e!="symbol"?e+"":e,n),n);class yb extends Error{constructor(e,n={}){super(e,n),ec(this,"statusCode",500),ec(this,"fatal",!1),ec(this,"unhandled",!1),ec(this,"statusMessage"),ec(this,"data"),ec(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const e={message:this.message,statusCode:bb(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=rA(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}}ec(yb,"__h3_error__",!0);function Qz(t){if(typeof t=="string")return new yb(t);if(Yz(t))return t;const e=new yb(t.message??t.statusMessage??"",{cause:t.cause||t});if(Uz(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=bb(t.statusCode,e.statusCode):t.status&&(e.statusCode=bb(t.status,e.statusCode)),t.statusMessage?e.statusMessage=t.statusMessage:t.statusText&&(e.statusMessage=t.statusText),e.statusMessage){const n=e.statusMessage;rA(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 Yz(t){var e;return((e=t==null?void 0:t.constructor)==null?void 0:e.__h3_error__)===!0}const Xz=/[^\u0009\u0020-\u007E]/g;function rA(t=""){return t.replace(Xz,"")}function bb(t,e=200){return!t||(typeof t=="string"&&(t=Number.parseInt(t,10)),t<100||t>999)?e:t}const oA=Symbol("route"),w2=()=>Xx(Sr().payload,"error"),Kz=t=>{const e=x2(t);try{const n=Sr(),r=w2();n.hooks.callHook("app:error",e),r.value=r.value||e}catch{throw e}return e},Zz=async(t={})=>{const e=Sr(),n=w2();e.callHook("app:error:cleared",t),t.redirect&&await Qc().replace(t.redirect),n.value=null},eF=t=>!!(t&&typeof t=="object"&&"__nuxt_error"in t),x2=t=>{const e=Qz(t);return e.__nuxt_error=!0,e},Qc=()=>{var t;return(t=Sr())==null?void 0:t.$router},iA=()=>bT()?Nu(oA,Sr()._route):Sr()._route;/*! @__NO_SIDE_EFFECTS__ */const tF=()=>{try{if(Sr()._processingMiddleware)return!0}catch{return!0}return!1},sA=(t,e)=>{t||(t="/");const n=typeof t=="string"?t:Ru(t.path||"/",t.query||{})+(t.hash||"");if(e!=null&&e.open){{const{target:a="_blank",windowFeatures:l={}}=e.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=(e==null?void 0:e.external)||Zh(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 a=Gc(n).protocol;if(a&&iB(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=tF();if(!r&&o)return t;const i=Qc(),s=Sr();return r?(s._scope.stop(),e!=null&&e.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):e!=null&&e.replace?i.replace(t):i.push(t)},nF={nuxt:{buildId:"17a46b2c-8a3e-4291-8b7c-d7877f1c67c4"}},rF=Wz(nF);function aA(){const t=Sr();return t._appConfig||(t._appConfig=Bs(rF)),t._appConfig}const oF={componentName:"NuxtLink"},iF={deep:!0},sF="#__nuxt";let Xm,lA;function aF(){var e;const t=(e=aA().nuxt)==null?void 0:e.buildId;return Xm=$fetch(v2(`builds/meta/${t}.json`)),Xm.then(n=>{lA=Vz(n.matcher)}),Xm}function p0(){return Xm||aF()}async function cA(t){return await p0(),Fg({},...lA.matchAll(t).reverse())}function r$(t,e={}){const n=lF(t,e),r=Sr(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=cF(t).then(i=>i?uA(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const o$="json";function lF(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"||Zh(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+t);const r=e.hash||(e.fresh?Date.now():"");return Pa(ih().app.baseURL,n.pathname,r?`_payload.${r}.${o$}`:`_payload.${o$}`)}async function uA(t){const e=fetch(t).then(n=>n.text().then(fA));try{return await e}catch(n){console.warn("[nuxt] Cannot load payload ",t,n)}return null}async function cF(t=iA().path){if((await p0()).prerendered.includes(t))return!0;const n=await cA(t);return!!n.prerender&&!n.redirect}let Lp=null;async function uF(){if(Lp)return Lp;const t=document.getElementById("__NUXT_DATA__");if(!t)return{};const e=fA(t.textContent||""),n=t.dataset.src?await uA(t.dataset.src):void 0;return Lp={...e,...n,...window.__NUXT__},Lp}function fA(t){return oz(t,Sr()._payloadRevivers)}function fF(t,e){Sr()._payloadRevivers[t]=e}const wb={NuxtError:t=>x2(t),EmptyShallowRef:t=>Cg(t==="_"?void 0:t==="0n"?BigInt(0):Lg(t)),EmptyRef:t=>Yt(t==="_"?void 0:t==="0n"?BigInt(0):Lg(t)),ShallowRef:t=>Cg(t),ShallowReactive:t=>JO(t),Ref:t=>Yt(t),Reactive:t=>Bs(t)};wb.Island=({key:t,params:e})=>{const n=Sr();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 dF=Ys({name:"nuxt:revive-payload:client",order:-30,async setup(t){let e,n;for(const r in wb)fF(r,wb[r]);Object.assign(t.payload,([e,n]=WT(()=>t.runWithContext(uF)),e=await e,n(),e)),window.__NUXT__=t.payload}}),hF=[],pF=Ys({name:"nuxt:head",enforce:"pre",setup(t){const e=Bz({plugins:hF});zz(()=>Sr().vueApp._context.provides.usehead),t.vueApp.use(e);{let n=!0;const r=async()=>{n=!1,await XT(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)}}}),mF=async t=>{let e,n;const r=([e,n]=WT(()=>cA(t.path)),e=await e,n(),e);if(r.redirect)return r.redirect},gF=[mF];function M1(t){typeof t=="object"&&(t=zT({pathname:t.path||"",search:LT(t.query||{}),hash:t.hash||""}));const e=Gc(t.toString());return{path:e.pathname,fullPath:t,query:m2(e.search),hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:t}}const vF=Ys({name:"nuxt:router",enforce:"pre",setup(t){const e=lB(window.location.pathname,ih().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=ih().app.baseURL,s=Bs(M1(e));async function a(u,f){try{const d=M1(u);for(const h of r["navigate:before"]){const p=await h(d,s);if(p===!1||p instanceof Error)return;if(typeof p=="string"&&p.length)return a(p,!0)}for(const h of r["resolve:before"])await h(d,s);Object.assign(s,d),window.history[f?"replaceState":"pushState"]({},"",Pa(i,d.fullPath)),t.isHydrating||await t.runWithContext(Zz);for(const h of r["navigate:after"])await h(d,s)}catch(d){for(const h of r.error)await h(d)}}const l={currentRoute:s,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>a(u,!1),replace:u=>a(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:M1,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=()=>a(u.to,u.replace);return()=>{var p;const h=l.resolve(u.to);return u.custom?(p=f.default)==null?void 0:p.call(f,{href:u.to,navigate:d,route:h}):_l("a",{href:u.to,onClick:g=>(g.preventDefault(),d())},f)}}}),window.addEventListener("popstate",u=>{const f=u.target.location;l.replace(f.href.replace(f.origin,""))}),t._route=s,t._middleware=t._middleware||{global:[],named:{}};const c=t.payload.state._layout;return t.hooks.hookOnce("app:created",async()=>{l.beforeEach(async(u,f)=>{u.meta=Bs(u.meta||{}),t.isHydrating&&c&&!$c(u.meta.layout)&&(u.meta.layout=c),t._processingMiddleware=!0;{const d=new Set([...gF,...t._middleware.global]);for(const h of d){const p=await t.runWithContext(()=>h(u,f));if(p!==!0&&(p||p===!1))return p}}}),l.afterEach(()=>{delete t._processingMiddleware}),await l.replace(e),fB(s.fullPath,e)||await t.runWithContext(()=>sA(s.fullPath))}),{provide:{route:s,router:l}}}}),xb=globalThis.requestIdleCallback||(t=>{const e=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))};return setTimeout(()=>{t(n)},1)}),yF=globalThis.cancelIdleCallback||(t=>{clearTimeout(t)}),k2=t=>{const e=Sr();e.isHydrating?e.hooks.hookOnce("app:suspense:resolve",()=>{xb(t)}):xb(t)},bF=Ys({name:"nuxt:payload",setup(t){Qc().beforeResolve(async(e,n)=>{if(e.path===n.path)return;const r=await r$(e.path);r&&Object.assign(t.static.data,r.data)}),k2(()=>{var e;t.hooks.hook("link:prefetch",async n=>{Gc(n).protocol||await r$(n)}),((e=navigator.connection)==null?void 0:e.effectiveType)!=="slow-2g"&&setTimeout(p0,1e3)})}}),wF=Ag(()=>sh(()=>Promise.resolve().then(()=>cW),void 0,import.meta.url).then(t=>t.default)),xF=Ag(()=>sh(()=>import("./IconCSS.0eb8cd4b.js"),["./IconCSS.0eb8cd4b.js","./IconCSS.f0b56d3e.css"],import.meta.url).then(t=>t.default)),kF=[["Icon",wF],["IconCSS",xF]],jF=Ys({name:"nuxt:global-components",setup(t){for(const[e,n]of kF)t.vueApp.component(e,n),t.vueApp.component("Lazy"+e,n)}}),SF="$s";function j2(...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=SF+n,i=Sr(),s=Xx(i.payload.state,o);if(s.value===void 0&&r){const a=r();if(zr(a))return i.payload.state[o]=a,a;s.value=a}return s}const $F="__NUXT_COLOR_MODE__",_F="nuxt-color-mode",ra=window[$F]||{},CF=Ys(t=>{const e=j2("color-mode",()=>Bs({preference:ra.preference,value:ra.value,unknown:!1,forced:!1})).value;Qc().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"?ra.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=ra.getColorScheme())}))}br(()=>e.preference,o=>{var i;e.forced||(o==="system"?(e.value=ra.getColorScheme(),r()):e.value=o,(i=window.localStorage)==null||i.setItem(_F,o))},{immediate:!0}),br(()=>e.value,(o,i)=>{ra.removeColorScheme(i),ra.addColorScheme(o)}),e.preference==="system"&&r(),t.hook("app:mounted",()=>{e.unknown&&(e.preference=ra.preference,e.value=ra.value,e.unknown=!1)}),t.provide("colorMode",e)});const OF=Ys(()=>{});function TF(t={}){const e=t.path||window.location.pathname;let n={};try{n=Lg(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:Sr().payload.state}))}catch{}window.location.pathname!==e?window.location.href=e:window.location.reload()}}const AF=Ys({name:"nuxt:chunk-reload",setup(t){const e=Qc(),n=ih(),r=new Set;e.beforeEach(()=>{r.clear()}),t.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href.startsWith("#")?n.app.baseURL+i.href:Pa(n.app.baseURL,i.fullPath);TF({path:a,persistState:!0})}t.hook("app:manifest:update",()=>{e.beforeResolve(o)}),e.onError((i,s)=>{r.has(i)&&o(s)})}}),PF=Ys(t=>{let e;async function n(){const r=await p0();e&&clearTimeout(e),e=setTimeout(n,1e3*60*60);const o=await $fetch(v2("builds/latest.json"));o.id!==r.id&&t.hooks.callHook("app:manifest:update",o)}k2(()=>{e=setTimeout(n,1e3*60*60)})}),EF=["top","right","bottom","left"],i$=["start","end"],s$=EF.reduce((t,e)=>t.concat(e,e+"-"+i$[0],e+"-"+i$[1]),[]),ah=Math.min,tc=Math.max,NF={left:"right",right:"left",bottom:"top",top:"bottom"},MF={start:"end",end:"start"};function kb(t,e,n){return tc(t,ah(e,n))}function Yc(t,e){return typeof t=="function"?t(e):t}function zs(t){return t.split("-")[0]}function es(t){return t.split("-")[1]}function dA(t){return t==="x"?"y":"x"}function S2(t){return t==="y"?"height":"width"}function ep(t){return["top","bottom"].includes(zs(t))?"y":"x"}function $2(t){return dA(ep(t))}function hA(t,e,n){n===void 0&&(n=!1);const r=es(t),o=$2(t),i=S2(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Hg(s)),[s,Hg(s)]}function RF(t){const e=Hg(t);return[qg(t),e,qg(e)]}function qg(t){return t.replace(/start|end/g,e=>MF[e])}function IF(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:s;default:return[]}}function LF(t,e,n,r){const o=es(t);let i=IF(zs(t),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),e&&(i=i.concat(i.map(qg)))),i}function Hg(t){return t.replace(/left|right|bottom|top/g,e=>NF[e])}function DF(t){return{top:0,right:0,bottom:0,left:0,...t}}function pA(t){return typeof t!="number"?DF(t):{top:t,right:t,bottom:t,left:t}}function Td(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function a$(t,e,n){let{reference:r,floating:o}=t;const i=ep(e),s=$2(e),a=S2(s),l=zs(e),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){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(es(e)){case"start":h[s]-=d*(n&&c?-1:1);break;case"end":h[s]+=d*(n&&c?-1:1);break}return h}const BF=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=a$(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:m,fn:v}=a[g],{x:b,y:w,data:x,reset:k}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});if(u=b??u,f=w??f,h={...h,[m]:{...h[m],...x}},k&&p<=50){p++,typeof k=="object"&&(k.placement&&(d=k.placement),k.rects&&(c=k.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:u,y:f}=a$(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function m0(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Yc(e,t),p=pA(h),m=a[d?f==="floating"?"reference":"floating":f],v=Td(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(a.floating)),boundary:c,rootBoundary:u,strategy:l})),b=f==="floating"?{...s.floating,x:r,y:o}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.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=Td(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:w,strategy:l}):b);return{top:(v.top-k.top+p.top)/x.y,bottom:(k.bottom-v.bottom+p.bottom)/x.y,left:(v.left-k.left+p.left)/x.x,right:(k.right-v.right+p.right)/x.x}}const zF=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=e,{element:c,padding:u=0}=Yc(t,e)||{};if(c==null)return{};const f=pA(u),d={x:n,y:r},h=$2(o),p=S2(h),g=await s.getDimensions(c),m=h==="y",v=m?"top":"left",b=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],y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let j=y?y[w]:0;(!j||!await(s.isElement==null?void 0:s.isElement(y)))&&(j=a.floating[w]||i.floating[p]);const _=x/2-k/2,$=j/2-g[p]/2-1,S=ah(f[v],$),C=ah(f[b],$),O=S,P=j-g[p]-C,I=j/2-g[p]/2+_,J=kb(O,I,P),H=!l.arrow&&es(o)!=null&&I!=J&&i.reference[p]/2-(I<O?S:C)-g[p]/2<0,D=H?I<O?I-O:I-P:0;return{[h]:d[h]+D,data:{[h]:J,centerOffset:I-J-D,...H&&{alignmentOffset:D}},reset:H}}});function FF(t,e,n){return(t?[...n.filter(o=>es(o)===t),...n.filter(o=>es(o)!==t)]:n.filter(o=>zs(o)===o)).filter(o=>t?es(o)===t||(e?qg(o)!==o:!1):!0)}const qF=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=e,{crossAxis:u=!1,alignment:f,allowedPlacements:d=s$,autoAlignment:h=!0,...p}=Yc(t,e),g=f!==void 0||d===s$?FF(f||null,h,d):d,m=await m0(e,p),v=((n=s.autoPlacement)==null?void 0:n.index)||0,b=g[v];if(b==null)return{};const w=hA(b,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==b)return{reset:{placement:g[0]}};const x=[m[zs(b)],m[w[0]],m[w[1]]],k=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:x}],y=g[v+1];if(y)return{data:{index:v+1,overflows:k},reset:{placement:y}};const j=k.map(S=>{const C=es(S.placement);return[S.placement,C&&u?S.overflows.slice(0,2).reduce((O,P)=>O+P,0):S.overflows[0],S.overflows]}).sort((S,C)=>S[1]-C[1]),$=((o=j.filter(S=>S[2].slice(0,es(S[0])?2:3).every(C=>C<=0))[0])==null?void 0:o[0])||j[0][0];return $!==a?{data:{index:v+1,overflows:k},reset:{placement:$}}:{}}}},HF=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...m}=Yc(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=zs(o),b=zs(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),x=d||(b||!g?[Hg(a)]:RF(a));!d&&p!=="none"&&x.push(...LF(a,g,p,w));const k=[a,...x],y=await m0(e,m),j=[];let _=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&j.push(y[v]),f){const O=hA(o,s,w);j.push(y[O[0]],y[O[1]])}if(_=[..._,{placement:o,overflows:j}],!j.every(O=>O<=0)){var $,S;const O=((($=i.flip)==null?void 0:$.index)||0)+1,P=k[O];if(P)return{data:{index:O,overflows:_},reset:{placement:P}};let I=(S=_.filter(J=>J.overflows[0]<=0).sort((J,H)=>J.overflows[1]-H.overflows[1])[0])==null?void 0:S.placement;if(!I)switch(h){case"bestFit":{var C;const J=(C=_.map(H=>[H.placement,H.overflows.filter(D=>D>0).reduce((D,R)=>D+R,0)]).sort((H,D)=>H[1]-D[1])[0])==null?void 0:C[0];J&&(I=J);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};async function VF(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=zs(n),a=es(n),l=ep(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=Yc(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 a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const WF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=e,l=await VF(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},UF=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:s=!1,limiter:a={fn:m=>{let{x:v,y:b}=m;return{x:v,y:b}}},...l}=Yc(t,e),c={x:n,y:r},u=await m0(e,l),f=ep(zs(o)),d=dA(f);let h=c[d],p=c[f];if(i){const m=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=h+u[m],w=h-u[v];h=kb(b,h,w)}if(s){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=p+u[m],w=p-u[v];p=kb(b,p,w)}const g=a.fn({...e,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},JF=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:s=()=>{},...a}=Yc(t,e),l=await m0(e,a),c=zs(n),u=es(n),f=ep(n)==="y",{width:d,height:h}=r.floating;let p,g;c==="top"||c==="bottom"?(p=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,p=u==="end"?"top":"bottom");const m=h-l[p],v=d-l[g],b=!e.middlewareData.shift;let w=m,x=v;if(f){const y=d-l.left-l.right;x=u||b?ah(v,y):y}else{const y=h-l.top-l.bottom;w=u||b?ah(m,y):y}if(b&&!u){const y=tc(l.left,0),j=tc(l.right,0),_=tc(l.top,0),$=tc(l.bottom,0);f?x=d-2*(y!==0||j!==0?y+j:tc(l.left,l.right)):w=h-2*(_!==0||$!==0?_+$:tc(l.top,l.bottom))}await s({...e,availableWidth:x,availableHeight:w});const k=await o.getDimensions(i.floating);return d!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function ki(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Es(t){return ki(t).getComputedStyle(t)}const l$=Math.min,Ad=Math.max,Vg=Math.round;function mA(t){const e=Es(t);let n=parseFloat(e.width),r=parseFloat(e.height);const o=t.offsetWidth,i=t.offsetHeight,s=Vg(n)!==o||Vg(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Cl(t){return vA(t)?(t.nodeName||"").toLowerCase():""}let Dp;function gA(){if(Dp)return Dp;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Dp=t.brands.map(e=>e.brand+"/"+e.version).join(" "),Dp):navigator.userAgent}function Ns(t){return t instanceof ki(t).HTMLElement}function dl(t){return t instanceof ki(t).Element}function vA(t){return t instanceof ki(t).Node}function c$(t){return typeof ShadowRoot>"u"?!1:t instanceof ki(t).ShadowRoot||t instanceof ShadowRoot}function g0(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 GF(t){return["table","td","th"].includes(Cl(t))}function jb(t){const e=/firefox/i.test(gA()),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 yA(){return!/^((?!chrome|android).)*safari/i.test(gA())}function _2(t){return["html","body","#document"].includes(Cl(t))}function bA(t){return dl(t)?t:t.contextElement}const wA={x:1,y:1};function Iu(t){const e=bA(t);if(!Ns(e))return wA;const n=e.getBoundingClientRect(),{width:r,height:o,fallback:i}=mA(e);let s=(i?Vg(n.width):n.width)/r,a=(i?Vg(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function lh(t,e,n,r){var o,i;e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=bA(t);let l=wA;e&&(r?dl(r)&&(l=Iu(r)):l=Iu(t));const c=a?ki(a):window,u=!yA()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,h=s.width/l.x,p=s.height/l.y;if(a){const g=ki(a),m=r&&dl(r)?ki(r):r;let v=g.frameElement;for(;v&&r&&m!==g;){const b=Iu(v),w=v.getBoundingClientRect(),x=getComputedStyle(v);w.x+=(v.clientLeft+parseFloat(x.paddingLeft))*b.x,w.y+=(v.clientTop+parseFloat(x.paddingTop))*b.y,f*=b.x,d*=b.y,h*=b.x,p*=b.y,f+=w.x,d+=w.y,v=ki(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function hl(t){return((vA(t)?t.ownerDocument:t.document)||window.document).documentElement}function v0(t){return dl(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xA(t){return lh(hl(t)).left+v0(t).scrollLeft}function ch(t){if(Cl(t)==="html")return t;const e=t.assignedSlot||t.parentNode||c$(t)&&t.host||hl(t);return c$(e)?e.host:e}function kA(t){const e=ch(t);return _2(e)?e.ownerDocument.body:Ns(e)&&g0(e)?e:kA(e)}function Wg(t,e){var n;e===void 0&&(e=[]);const r=kA(t),o=r===((n=t.ownerDocument)==null?void 0:n.body),i=ki(r);return o?e.concat(i,i.visualViewport||[],g0(r)?r:[]):e.concat(r,Wg(r))}function u$(t,e,n){return e==="viewport"?Td(function(r,o){const i=ki(r),s=hl(r),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=yA();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(t,n)):dl(e)?Td(function(r,o){const i=lh(r,!0,o==="fixed"),s=i.top+r.clientTop,a=i.left+r.clientLeft,l=Ns(r)?Iu(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(e,n)):Td(function(r){const o=hl(r),i=v0(r),s=r.ownerDocument.body,a=Ad(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),l=Ad(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+xA(r);const u=-i.scrollTop;return Es(s).direction==="rtl"&&(c+=Ad(o.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(hl(t)))}function f$(t){return Ns(t)&&Es(t).position!=="fixed"?t.offsetParent:null}function d$(t){const e=ki(t);let n=f$(t);for(;n&&GF(n)&&Es(n).position==="static";)n=f$(n);return n&&(Cl(n)==="html"||Cl(n)==="body"&&Es(n).position==="static"&&!jb(n))?e:n||function(r){let o=ch(r);for(;Ns(o)&&!_2(o);){if(jb(o))return o;o=ch(o)}return null}(t)||e}function QF(t,e,n){const r=Ns(e),o=hl(e),i=lh(t,!0,n==="fixed",e);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Cl(e)!=="body"||g0(o))&&(s=v0(e)),Ns(e)){const l=lh(e,!0);a.x=l.x+e.clientLeft,a.y=l.y+e.clientTop}else o&&(a.x=xA(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const YF={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=Wg(c).filter(m=>dl(m)&&Cl(m)!=="body"),h=null;const p=Es(c).position==="fixed";let g=p?ch(c):c;for(;dl(g)&&!_2(g);){const m=Es(g),v=jb(g);(p?v||h:v||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(b=>b!==g),g=ch(g)}return u.set(c,d),d}(e,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,u)=>{const f=u$(e,u,o);return c.top=Ad(f.top,c.top),c.right=l$(f.right,c.right),c.bottom=l$(f.bottom,c.bottom),c.left=Ad(f.left,c.left),c},u$(e,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:r}=t;const o=Ns(n),i=hl(n);if(n===i)return e;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((Cl(n)!=="body"||g0(i))&&(s=v0(n)),Ns(n))){const c=lh(n);a=Iu(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+l.x,y:e.y*a.y-s.scrollTop*a.y+l.y}},isElement:dl,getDimensions:function(t){return Ns(t)?mA(t):t.getBoundingClientRect()},getOffsetParent:d$,getDocumentElement:hl,getScale:Iu,async getElementRects(t){let{reference:e,floating:n,strategy:r}=t;const o=this.getOffsetParent||d$,i=this.getDimensions;return{reference:QF(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"},XF=(t,e,n)=>{const r=new Map,o={platform:YF,...n},i={...o.platform,_c:r};return BF(t,e,{...o,platform:i})};function jA(t,e){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(typeof e[n]=="object"&&t[n]?jA(t[n],e[n]):t[n]=e[n])}const ha={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 uh(t,e){let n=ha.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=ha.themes[n.$extend]||{}:(n=null,r=ha[e]):n=null;while(n);return r}function KF(t){const e=[t];let n=ha.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=ha.themes[n.$extend]||{}):n=null;while(n);return e.map(r=>`v-popper--theme-${r}`)}function h$(t){const e=[t];let n=ha.themes[t]||{};do n.$extend?(e.push(n.$extend),n=ha.themes[n.$extend]||{}):n=null;while(n);return e}let _c=!1;if(typeof window<"u"){_c=!1;try{const t=Object.defineProperty({},"passive",{get(){_c=!0}});window.addEventListener("test",null,t)}catch{}}let SA=!1;typeof window<"u"&&typeof navigator<"u"&&(SA=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const $A=["auto","top","bottom","left","right"].reduce((t,e)=>t.concat([e,`${e}-start`,`${e}-end`]),[]),p$={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},m$={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function g$(t,e){const n=t.indexOf(e);n!==-1&&t.splice(n,1)}function R1(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Ui=[];let Gl=null;const v$={};function y$(t){let e=v$[t];return e||(e=v$[t]=[]),e}let Sb=function(){};typeof window<"u"&&(Sb=window.Element);function Rn(t){return function(e){return uh(e.theme,t)}}const I1="__floating-vue__popper",_A=()=>Qr({name:"VPopper",provide(){return{[I1]:{parentPopper:this}}},inject:{[I1]:{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:Rn("disabled")},positioningDisabled:{type:Boolean,default:Rn("positioningDisabled")},placement:{type:String,default:Rn("placement"),validator:t=>$A.includes(t)},delay:{type:[String,Number,Object],default:Rn("delay")},distance:{type:[Number,String],default:Rn("distance")},skidding:{type:[Number,String],default:Rn("skidding")},triggers:{type:Array,default:Rn("triggers")},showTriggers:{type:[Array,Function],default:Rn("showTriggers")},hideTriggers:{type:[Array,Function],default:Rn("hideTriggers")},popperTriggers:{type:Array,default:Rn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Rn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Rn("popperHideTriggers")},container:{type:[String,Object,Sb,Boolean],default:Rn("container")},boundary:{type:[String,Sb],default:Rn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Rn("strategy")},autoHide:{type:[Boolean,Function],default:Rn("autoHide")},handleResize:{type:Boolean,default:Rn("handleResize")},instantMove:{type:Boolean,default:Rn("instantMove")},eagerMount:{type:Boolean,default:Rn("eagerMount")},popperClass:{type:[String,Array,Object],default:Rn("popperClass")},computeTransformOrigin:{type:Boolean,default:Rn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Rn("autoMinSize")},autoSize:{type:[Boolean,String],default:Rn("autoSize")},autoMaxSize:{type:Boolean,default:Rn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Rn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Rn("preventOverflow")},overflowPadding:{type:[Number,String],default:Rn("overflowPadding")},arrowPadding:{type:[Number,String],default:Rn("arrowPadding")},arrowOverflow:{type:Boolean,default:Rn("arrowOverflow")},flip:{type:Boolean,default:Rn("flip")},shift:{type:Boolean,default:Rn("shift")},shiftCrossAxis:{type:Boolean,default:Rn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Rn("noAutoFocus")},disposeTimeout:{type:Number,default:Rn("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[I1])==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(WF({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?t.middleware.push(qF({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(UF({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&t.middleware.push(HF({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(zF({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>o.reference.width/2:s=Math.abs(a)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}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(JF({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 XF(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),Gl&&this.instantMove&&Gl.instantMove&&Gl!==this.parentPopper){Gl.$_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&&(Gl=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 R1(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Wg(this.$_referenceNode),...Wg(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<Ui.length;n++)e=Ui[n],e.showGroup!==t&&(e.hide(),e.$emit("close-group"))}Ui.push(this),document.body.classList.add("v-popper--some-open");for(const e of h$(this.theme))y$(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 R1(),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,g$(Ui,this),Ui.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of h$(this.theme)){const r=y$(n);g$(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Gl===this&&(Gl=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 R1(),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,p$,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],p$,this.popperTriggers,this.popperShowTriggers,t);const e=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,m$,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],m$,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,_c?{passive:!0}:void 0))},$_registerTriggerListeners(t,e,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const a=e[s];a&&this.$_registerEventListeners(t,a,o)})},$_removeEventListeners(t){const e=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!t||t===o?r.forEach(s=>s.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(Pd>=t.left&&Pd<=t.right&&Ed>=t.top&&Ed<=t.bottom){const e=this.$_popperNode.getBoundingClientRect(),n=Pd-Wa,r=Ed-Ua,o=e.left+e.width/2-Wa+(e.top+e.height/2)-Ua+e.width+e.height,i=Wa+n*o,s=Ua+r*o;return Bp(Wa,Ua,i,s,e.left,e.top,e.left,e.bottom)||Bp(Wa,Ua,i,s,e.left,e.top,e.right,e.top)||Bp(Wa,Ua,i,s,e.right,e.top,e.right,e.bottom)||Bp(Wa,Ua,i,s,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(SA?(document.addEventListener("touchstart",b$,_c?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",eq,_c?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",b$,!0),window.addEventListener("click",ZF,!0)),window.addEventListener("resize",rq));function b$(t){for(let e=0;e<Ui.length;e++){const n=Ui[e];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(t.target)}catch{}}}function ZF(t){CA(t)}function eq(t){CA(t,!0)}function CA(t,e=!1){const n={};for(let r=Ui.length-1;r>=0;r--){const o=Ui[r];try{const i=o.$_containsGlobalTarget=tq(o,t);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&w$(o,i,t)){if(o.$_handleGlobalClose(t,e),!t.closeAllPopover&&t.closePopover&&i){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=o.parentPopper;for(;s&&w$(s,s.$_containsGlobalTarget,t);)s.$_handleGlobalClose(t,e),s=s.parentPopper}})}catch{}}}function tq(t,e){const n=t.popperNode();return t.$_mouseDownContains||n.contains(e.target)}function w$(t,e,n){return n.closeAllPopover||n.closePopover&&e||nq(t,n)&&!e}function nq(t,e){if(typeof t.autoHide=="function"){const n=t.autoHide(e);return t.lastAutoHide=n,n}return t.autoHide}function rq(t){for(let e=0;e<Ui.length;e++)Ui[e].$_computePosition(t)}let Wa=0,Ua=0,Pd=0,Ed=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Wa=Pd,Ua=Ed,Pd=t.clientX,Ed=t.clientY},_c?{passive:!0}:void 0);function Bp(t,e,n,r,o,i,s,a){const l=((s-o)*(e-i)-(a-i)*(t-o))/((a-i)*(n-t)-(s-o)*(r-e)),c=((n-t)*(e-i)-(r-e)*(t-o))/((a-i)*(n-t)-(s-o)*(r-e));return l>=0&&l<=1&&c>=0&&c<=1}const oq={extends:_A()},y0=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};function iq(t,e,n,r,o,i){return Ye(),It("div",{ref:"reference",class:Kn(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Yn(t.$slots,"default",EO(u2(t.slotData)))],2)}const sq=y0(oq,[["render",iq]]);function aq(){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 Km;function $b(){$b.init||($b.init=!0,Km=aq()!==-1)}var b0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$b(),Jc(()=>{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",Km&&this.$el.appendChild(t),t.data="about:blank",Km||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&&(!Km&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lq=bL();Zx("data-v-b329ee4c");const cq={class:"resize-observer",tabindex:"-1"};e2();const uq=lq((t,e,n,r,o,i)=>(Ye(),cn("div",cq)));b0.render=uq;b0.__scopeId="data-v-b329ee4c";b0.__file="src/components/ResizeObserver.vue";const OA=(t="theme")=>({computed:{themeClass(){return KF(this[t])}}}),fq=Qr({name:"VPopperContent",components:{ResizeObserver:b0},mixins:[OA()],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}}}),dq=["id","aria-hidden","tabindex","data-popper-placement"],hq={ref:"inner",class:"v-popper__inner"},pq=ze("div",{class:"v-popper__arrow-outer"},null,-1),mq=ze("div",{class:"v-popper__arrow-inner"},null,-1),gq=[pq,mq];function vq(t,e,n,r,o,i){const s=Sl("ResizeObserver");return Ye(),It("div",{id:t.popperId,ref:"popover",class:Kn(["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:ui(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]=zD(a=>t.autoHide&&t.$emit("hide"),["esc"]))},[ze("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=a=>t.autoHide&&t.$emit("hide"))}),ze("div",{class:"v-popper__wrapper",style:ui(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[ze("div",hq,[t.mounted?(Ye(),It(Ur,{key:0},[ze("div",null,[Yn(t.$slots,"default")]),t.handleResize?(Ye(),cn(s,{key:0,onNotify:e[1]||(e[1]=a=>t.$emit("resize",a))})):Jn("",!0)],64)):Jn("",!0)],512),ze("div",{ref:"arrow",class:"v-popper__arrow-container",style:ui(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},gq,4)],4)],46,dq)}const TA=y0(fq,[["render",vq]]),AA={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)}}},yq=Qr({name:"VPopperWrapper",components:{Popper:sq,PopperContent:TA},mixins:[AA,OA("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 bq(t,e,n,r,o,i){const s=Sl("PopperContent"),a=Sl("Popper");return Ye(),cn(a,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Kn([t.themeClass])},{default:$t(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:m,classes:v,result:b})=>[Yn(t.$slots,"default",{shown:c,show:h,hide:p}),ht(s,{ref:"popperContent","popper-id":l,theme:t.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:v,result:b,onHide:p,onResize:m},{default:$t(()=>[Yn(t.$slots,"popper",{shown:c,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 C2=y0(yq,[["render",bq]]),wq={...C2,name:"VDropdown",vPopperTheme:"dropdown"},xq={...C2,name:"VMenu",vPopperTheme:"menu"},kq={...C2,name:"VTooltip",vPopperTheme:"tooltip"},jq=Qr({name:"VTooltipDirective",components:{Popper:_A(),PopperContent:TA},mixins:[AA],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>uh(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>uh(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}}}),Sq=["innerHTML"],$q=["textContent"];function _q(t,e,n,r,o,i){const s=Sl("PopperContent"),a=Sl("Popper");return Ye(),cn(a,d0({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:$t(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:m,result:v})=>[ht(s,{ref:"popperContent",class:Kn({"v-popper--tooltip-loading":t.loading}),"popper-id":l,theme:t.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:v,onHide:h,onResize:g},{default:$t(()=>[t.html?(Ye(),It("div",{key:0,innerHTML:t.finalContent},null,8,Sq)):(Ye(),It("div",{key:1,textContent:Wr(t.finalContent)},null,8,$q))]),_: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 Cq=y0(jq,[["render",_q]]),PA="v-popper--has-tooltip";function Oq(t,e){let n=t.placement;if(!n&&e)for(const r of $A)e[r]&&(n=r);return n||(n=uh(t.theme||"tooltip","placement")),n}function EA(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=Oq(r,n),r.targetNodes=()=>[t],r.referenceNode=()=>t,r}let L1,fh,Tq=0;function Aq(){if(L1)return;fh=Yt([]),L1=RT({name:"VTooltipDirectiveApp",setup(){return{directives:fh}},render(){return this.directives.map(e=>_l(Cq,{...e.options,shown:e.shown||e.options.shown,key:e.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),L1.mount(t)}function Pq(t,e,n){Aq();const r=Yt(EA(t,e,n)),o=Yt(!1),i={id:Tq++,options:r,shown:o};return fh.value.push(i),t.classList&&t.classList.add(PA),t.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function NA(t){if(t.$_popper){const e=fh.value.indexOf(t.$_popper.item);e!==-1&&fh.value.splice(e,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(PA)}function x$(t,{value:e,modifiers:n}){const r=EA(t,e,n);if(!r.content||uh(r.theme||"tooltip","disabled"))NA(t);else{let o;t.$_popper?(o=t.$_popper,o.options.value=r):o=Pq(t,e,n),typeof e.shown<"u"&&e.shown!==t.$_popperOldShown&&(t.$_popperOldShown=e.shown,e.shown?o.show():o.hide())}}const Eq={beforeMount:x$,updated:x$,beforeUnmount(t){NA(t)}};function k$(t){t.addEventListener("click",MA),t.addEventListener("touchstart",RA,_c?{passive:!0}:!1)}function j$(t){t.removeEventListener("click",MA),t.removeEventListener("touchstart",RA),t.removeEventListener("touchend",IA),t.removeEventListener("touchcancel",LA)}function MA(t){const e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function RA(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",IA),e.addEventListener("touchcancel",LA)}}function IA(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 LA(t){const e=t.currentTarget;e.$_vclosepopover_touch=!1}const Nq={beforeMount(t,{value:e,modifiers:n}){t.$_closePopoverModifiers=n,(typeof e>"u"||e)&&k$(t)},updated(t,{value:e,oldValue:n,modifiers:r}){t.$_closePopoverModifiers=r,e!==n&&(typeof e>"u"||e?k$(t):j$(t))},beforeUnmount(t){j$(t)}};function Mq(t,e={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,jA(ha,e),t.directive("tooltip",Eq),t.directive("close-popper",Nq),t.component("VTooltip",kq),t.component("VDropdown",wq),t.component("VMenu",xq))}const Rq={version:"2.0.0-beta.24",install:Mq,options:ha},Iq=Ys(t=>{t.vueApp.use(Rq)}),Lq=[dF,pF,vF,bF,jF,CF,OF,AF,PF,Iq],Ef=Qr({__name:"NIcon",props:{icon:{}},setup(t){return(e,n)=>(Ye(),It("div",{class:Kn(["n-icon",e.icon])},null,2))}}),Ea=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Dq={},Bq={class:"n-badge"};function zq(t,e){return Ye(),It("span",Bq,[Yn(t.$slots,"default")])}const Fq=Ea(Dq,[["render",zq]]);async function DA(t,e=Qc()){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(()=>DA(t,e));e._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const qq=(...t)=>t.find(e=>e!==void 0),Hq="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Vq(t){const e=t.componentName||"NuxtLink",n=(r,o)=>{if(!r||t.trailingSlash!=="append"&&t.trailingSlash!=="remove")return r;const i=t.trailingSlash==="append"?Rg:g2;if(typeof r=="string")return i(r,!0);const s="path"in r?r.path:o(r).path;return{...r,name:void 0,path:i(s,!0)}};return Qr({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=Qc(),s=ih(),a=jn(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),l=jn(()=>typeof a.value=="string"&&Zh(a.value,{acceptRelative:!0})),c=jn(()=>r.external||r.target&&r.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||l.value),u=Yt(!1),f=Yt(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"&&!Uq()){const p=Sr();let g,m=null;zl(()=>{const v=Wq();k2(()=>{g=xb(()=>{var b;(b=f==null?void 0:f.value)!=null&&b.tagName&&(m=v.observe(f.value,async()=>{m==null||m(),m=null;const w=typeof a.value=="string"?a.value:i.resolve(a.value).fullPath;await Promise.all([p.hooks.callHook("link:prefetch",w).catch(()=>{}),!c.value&&DA(a.value,i).catch(()=>{})]),u.value=!0}))})})}),a2(()=>{g&&yF(g),m==null||m(),m=null})}return()=>{var v,b;if(!c.value){const w={ref:d,to:a.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),_l(Sl("RouterLink"),w,o.default)}const h=typeof a.value=="object"?((v=i.resolve(a.value))==null?void 0:v.href)??null:a.value&&!r.external&&!l.value?n(Pa(s.app.baseURL,a.value),i.resolve):a.value||null,p=r.target||null,g=r.noRel?null:qq(r.rel,t.externalRelAttribute,h?Hq:"")||null,m=()=>sA(h,{replace:r.replace});return r.custom?o.default?o.default({href:h,navigate:m,get route(){if(!h)return;const w=Gc(h);return{path:w.pathname,fullPath:w.pathname,get query(){return m2(w.search)},hash:w.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:g,target:p,isExternal:c.value,isActive:!1,isExactActive:!1}):null:_l("a",{ref:f,href:h,rel:g,target:p},(b=o.default)==null?void 0:b.call(o))}}})}const O2=Vq(oF);function Wq(){const t=Sr();if(t._observer)return t._observer;let e=null;const n=new Map,r=(i,s)=>(e||(e=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(i,s),e.observe(i),()=>{n.delete(i),e.unobserve(i),n.size===0&&(e.disconnect(),e=null)});return t._observer={observe:r}}function Uq(){const t=navigator.connection;return!!(t&&(t.saveData||/2g/.test(t.effectiveType)))}const Jq={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},BA=Qr({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(t){const e=t,n=jn(()=>e.href||e.to);return(r,o)=>{const i=O2;return Ye(),cn(i,d0(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:$t(()=>[Yn(r.$slots,"default"),n.value&&r.target==="_blank"?(Ye(),It("div",Jq)):Jn("",!0)]),_:3},16,["class"])}}}),Gq={},Qq={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},Yq=ze("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),Xq=[Yq];function Kq(t,e){return Ye(),It("svg",Qq,Xq)}const Zq=Ea(Gq,[["render",Kq]]),eH=Qr({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(t){return(e,n)=>{const r=Ef;return Ye(),cn(r2(e.to?Ne(O2):"button"),d0({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:$t(()=>[Yn(e.$slots,"icon",{},()=>[e.icon?(Ye(),cn(r,{key:0,icon:e.icon,class:Kn({"n-button-icon":e.$slots.default})},null,8,["icon","class"])):Jn("",!0)]),Yn(e.$slots,"default")]),_:3},16,["to","class"])}}}),tH={},nH={class:"n-loading n-panel-grids-center"},rH={class:"flex flex-col animate-pulse items-center text-lg"},oH=ze("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function iH(t,e){return Ye(),It("div",nH,[ze("div",rH,[oH,Yn(t.$slots,"default",{},()=>[Kt(" Loading... ")])])])}const zA=Ea(tH,[["render",iH]]),sH=Qr({__name:"ImageLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=Yt(),i=Yt(!0),s=Yt();function a(l){const c=o.value;if(l!==s.value){s.value=l,i.value=!0,c.style.backgroundImage="";const u=Date.now();$fetch.raw(l,{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 g=p.result;g&&(c.style.backgroundImage=`url(${g})`,i.value=!1,r("load",{timeTaken:Date.now()-u,sizeKb:h}))}})}}return zl(()=>{br(()=>n.src,l=>{a(l)},{immediate:!0})}),(l,c)=>{const u=zA;return Ye(),It("div",{ref_key:"image",ref:o,style:ui({aspectRatio:l.aspectRatio})},[Ne(i)?(Ye(),cn(u,{key:0})):Jn("",!0)],4)}}});const FA=Ea(sH,[["__scopeId","data-v-aa7a1878"]]);let aH;const Qf=[];function lH(t){if(Qf.push(t),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Qf.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&Qf.forEach(n=>n(e))},get(){return aH.value},configurable:!0}),()=>{Qf.splice(Qf.indexOf(t),1)}}function qA(t){return IO()?(B9(t),!0):!1}function sf(t){return typeof t=="function"?t():Ne(t)}const cH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uH=t=>typeof t<"u",fH=Object.prototype.toString,dH=t=>fH.call(t)==="[object Object]",_b=()=>{};function HA(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}const VA=t=>t();function hH(t,e={}){let n,r,o=_b;const i=a=>{clearTimeout(a),o(),o=_b};return a=>{const l=sf(t),c=sf(e.maxWait);return n&&i(n),l<=0||c!==void 0&&c<=0?(r&&(i(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=e.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&i(r),r=null,u(a())},l)})}}function pH(t=VA){const e=Yt(!0);function n(){e.value=!1}function r(){e.value=!0}const o=(...i)=>{e.value&&t(...i)};return{isActive:Gx(e),pause:n,resume:r,eventFilter:o}}function mH(t){return t||Aa()}function T2(t,e=200,n={}){return HA(hH(e,n),t)}function gH(t,e,n={}){const{eventFilter:r=VA,...o}=n;return br(t,HA(r,e),o)}function vH(t,e,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=pH(r);return{stop:gH(t,e,{...o,eventFilter:i}),pause:s,resume:a,isActive:l}}function WA(t,e=!0,n){const r=mH(n);r?zl(t,r):e?t():Jc(t)}function yH(t){var e;const n=sf(t);return(e=n==null?void 0:n.$el)!=null?e:n}const af=cH?window:void 0;function Cb(...t){let e,n,r,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,o]=t,e=af):[e,n,r,o]=t,!e)return _b;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=br(()=>[yH(e),sf(o)],([u,f])=>{if(s(),!u)return;const d=dH(f)?{...f}:f;i.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return qA(c),c}function bH(){const t=Yt(!1);return Aa()&&zl(()=>{t.value=!0}),t}function wH(t){const e=bH();return jn(()=>(e.value,!!t()))}function xH(t,e={}){const{window:n=af}=e,r=wH(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=Yt(!1),s=c=>{i.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},l=i2(()=>{r.value&&(a(),o=n.matchMedia(sf(t)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),i.value=o.matches)});return qA(()=>{l(),a(),o=void 0}),i}function kH(t){return JSON.parse(JSON.stringify(t))}const zp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fp="__vueuse_ssr_handlers__",jH=SH();function SH(){return Fp in zp||(zp[Fp]=zp[Fp]||{}),zp[Fp]}function $H(t,e){return jH[t]||e}function _H(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const CH={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},S$="vueuse-storage";function OH(t,e,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=af,eventFilter:d,onError:h=$=>{console.error($)},initOnMounted:p}=r,g=(u?Cg:Yt)(typeof e=="function"?e():e);if(!n)try{n=$H("getDefaultStorage",()=>{var $;return($=af)==null?void 0:$.localStorage})()}catch($){h($)}if(!n)return g;const m=sf(e),v=_H(m),b=(o=r.serializer)!=null?o:CH[v],{pause:w,resume:x}=vH(g,()=>k(g.value),{flush:i,deep:s,eventFilter:d});return f&&a&&WA(()=>{Cb(f,"storage",_),Cb(f,S$,j),p&&_()}),p||_(),g;function k($){try{if($==null)n.removeItem(t);else{const S=b.write($),C=n.getItem(t);C!==S&&(n.setItem(t,S),f&&f.dispatchEvent(new CustomEvent(S$,{detail:{key:t,oldValue:C,newValue:S,storageArea:n}})))}}catch(S){h(S)}}function y($){const S=$?$.newValue:n.getItem(t);if(S==null)return l&&m!=null&&n.setItem(t,b.write(m)),m;if(!$&&c){const C=b.read(S);return typeof c=="function"?c(C,m):v==="object"&&!Array.isArray(C)?{...m,...C}:C}else return typeof S!="string"?S:b.read(S)}function j($){_($.detail)}function _($){if(!($&&$.storageArea!==n)){if($&&$.key==null){g.value=m;return}if(!($&&$.key!==t)){w();try{($==null?void 0:$.newValue)!==b.write(g.value)&&(g.value=y($))}catch(S){h(S)}finally{$?Jc(x):x()}}}}}function D1(t,e,n={}){const{window:r=af}=n;return OH(t,e,r==null?void 0:r.localStorage,n)}function UA(t,e,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Aa(),p=n||(h==null?void 0:h.emit)||((o=h==null?void 0:h.$emit)==null?void 0:o.bind(h))||((s=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(h==null?void 0:h.proxy));let g=c;e||(e="modelValue"),g=g||`update:${e.toString()}`;const m=w=>a?typeof a=="function"?a(w):kH(w):w,v=()=>uH(t[e])?m(t[e]):f,b=w=>{d?d(w)&&p(g,w):p(g,w)};if(l){const w=v(),x=Yt(w);let k=!1;return br(()=>t[e],y=>{k||(k=!0,x.value=m(y),Jc(()=>k=!1))}),br(x,y=>{!k&&(y!==t[e]||u)&&b(y)},{deep:u}),x}else return jn({get(){return v()},set(w){b(w)}})}function TH(t={}){const{window:e=af,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0}=t,s=Yt(n),a=Yt(r),l=()=>{e&&(i?(s.value=e.innerWidth,a.value=e.innerHeight):(s.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),WA(l),Cb("resize",l,{passive:!0}),o){const c=xH("(orientation: portrait)");br(c,()=>l())}return{width:s,height:a}}const w0=Yt(Date.now()),JA=Yt(Date.now()),Yf=Yt(null),AH=window.location.host,dh=Yt("/"),Ob=Yt(),PH=Yt("/"),Hr=Yt({}),ni=Yt({}),Xf=Yt(!1),$$=Yt({}),Ho=T2(()=>{w0.value=Date.now()},200),EH=T2(()=>{w0.value=Date.now()},1e3),NH=jn(()=>DT(PH.value,`${window.location.protocol}//${AH}`)),A2=Yt(),MH=Yt(),hc=Yt(),Ug=Yt("dark");lH(async t=>{var n;A2.value=t.host.app.$fetch,i2(()=>{Ug.value=t.host.app.colorMode.value});const e=(n=t.host.nuxt.vueApp.config.globalProperties)==null?void 0:n.$route;Ob.value=e.query,dh.value=e.path||"/",t.host.nuxt.$router.afterEach(r=>{Ob.value=r.query,dh.value=r.path,Ho()}),MH.value=t.devtools,hc.value=t,t.devtools.extendClientRpc("nuxt-og-image",{refreshRouteData(r){var o,i,s,a;(a=(s=(i=(o=hc.value)==null?void 0:o.host.nuxt.vueApp.config)==null?void 0:i.globalProperties)==null?void 0:s.$route.matched[0].components)!=null&&a.default.__file.includes(r)&&Ho()},refresh(){Ho()},refreshGlobalData(){JA.value=Date.now()}})});const RH=["width","height"],IH=Qr({__name:"IFrameLoader",props:{src:{},aspectRatio:{},maxHeight:{},maxWidth:{}},emits:["load"],setup(t,{emit:e}){const n=t,r=e,o=Yt(),i=Yt(),s=jn(()=>n.maxWidth||Hr.value.width),a=jn(()=>n.maxHeight||Hr.value.height),l=T2(()=>{const c=i.value,u=Date.now();c.src="";const f=Hr.value.width||1200,d=Hr.value.height||600,h=a.value,p=s.value,g=h>d?1:h/d,m=p>f?1:p/f,v=m>g?g:m;c.style.opacity="0",c.onload=()=>{c.style.opacity="1",r("load",{timeTaken:Date.now()-u})},c.src=`${o.value}&scale=${v}&colorMode=${Ug.value}`},200);return zl(()=>{br(()=>n.src,c=>{o.value!==c&&i.value&&(o.value=c,l())},{immediate:!0}),br([()=>Ug,i],()=>{l()})}),!n.maxHeight&&!n.maxWidth&&gb({bodyAttrs:{onresize:()=>{l()}}}),(c,u)=>(Ye(),It("div",{class:"w-full mx-auto h-full justify-center flex",style:ui({maxHeight:`${Ne(a)}px`,maxWidth:`${Ne(s)}px`})},[ze("iframe",{ref_key:"iframe",ref:i,class:"max-h-full",style:ui({aspectRatio:c.aspectRatio}),width:Ne(s),height:Ne(a)},null,12,RH)],4))}});const GA=Ea(IH,[["__scopeId","data-v-0dac61ea"]]);const LH={},DH={class:"root max-h-full relative flex"},BH={class:"max-h-full border-1 border-solid border-[#cfd9de] rounded-[16px] overflow-hidden"},zH={class:"image-wrap"},FH={class:"domain absolute bottom-3 bg-black/20 z-2 left-3 text-white"};function qH(t,e){return Ye(),It("div",DH,[ze("div",BH,[ze("div",zH,[Yn(t.$slots,"default",{},void 0,!0)])]),ze("div",FH,[Yn(t.$slots,"domain",{},void 0,!0)])])}const HH=Ea(LH,[["render",qH],["__scopeId","data-v-7198aba6"]]);const VH={},WH=t=>(Zx("data-v-ba8e339e"),t=t(),e2(),t),UH={class:"root"},JH=WH(()=>ze("div",{class:"bar"},null,-1)),GH={class:"content"},QH={class:"flex items-center space-x-2"},YH={class:"favIcon"},XH={class:"siteName"},KH={class:"title"},ZH={class:"description"};function eV(t,e){return Ye(),It("div",UH,[JH,ze("div",GH,[ze("div",QH,[ze("div",YH,[Yn(t.$slots,"favIcon",{},void 0,!0)]),ze("div",XH,[Yn(t.$slots,"siteName",{},void 0,!0)])]),ze("div",KH,[Yn(t.$slots,"title",{},void 0,!0)]),ze("div",ZH,[Yn(t.$slots,"description",{},void 0,!0)]),Yn(t.$slots,"default",{},void 0,!0)])])}const tV=Ea(VH,[["render",eV],["__scopeId","data-v-ba8e339e"]]),QA=Object.freeze({left:0,top:0,width:16,height:16}),YA=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),P2=Object.freeze({...QA,...YA});Object.freeze({...P2,body:"",hidden:!1});({...QA});const XA=Object.freeze({width:null,height:null}),KA=Object.freeze({...XA,...YA});function nV(t,e){const n={...t};for(const r in e){const o=e[r],i=typeof o;r in XA?(o===null||o&&(i==="string"||i==="number"))&&(n[r]=o):i===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const rV=/[\s,]+/;function oV(t,e){e.split(rV).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function iV(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 sV=/(-?[0-9.]*[0-9]+[0-9.]*)/g,aV=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function _$(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(sV);if(r===null||!r.length)return t;const o=[];let i=r.shift(),s=aV.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*e*n)/n)}else o.push(i);if(i=r.shift(),i===void 0)return o.join("");s=!s}}const lV=t=>t==="unset"||t==="undefined"||t==="none";function cV(t,e){const n={...P2,...t},r={...KA,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(p=>{const g=[],m=p.hFlip,v=p.vFlip;let b=p.rotate;m?v?b+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):v&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let w;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:w=o.height/2+o.top,g.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:w=o.width/2+o.left,g.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}b%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)),g.length&&(i='<g transform="'+g.join(" ")+'">'+i+"</g>")});const s=r.width,a=r.height,l=o.width,c=o.height;let u,f;s===null?(f=a===null?"1em":a==="auto"?c:a,u=_$(f,l/c)):(u=s==="auto"?l:s,f=a===null?_$(u,c/l):a==="auto"?c:a);const d={},h=(p,g)=>{lV(g)||(d[p]=g.toString())};return h("width",u),h("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:d,body:i}}const uV=/\sid="(\S+)"/g,fV="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let dV=0;function hV(t,e=fV){const n=[];let r;for(;r=uV.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 s=typeof e=="function"?e(i):e+(dV++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),t=t.replace(new RegExp(o,"g"),""),t}function pV(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 mV(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function gV(t){return"data:image/svg+xml,"+mV(t)}function vV(t){return'url("'+gV(t)+'")'}const C$={...KA,inline:!1},yV={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},bV={display:"inline-block"},Tb={backgroundColor:"currentColor"},ZA={backgroundColor:"transparent"},O$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},T$={webkitMask:Tb,mask:Tb,background:ZA};for(const t in T$){const e=T$[t];for(const n in O$)e[t+n]=O$[n]}const Zm={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Zm[t+"-flip"]=e,Zm[t.slice(0,1)+"-flip"]=e,Zm[t+"Flip"]=e});function A$(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const wV=(t,e)=>{const n=nV(C$,e),r={...yV},o=e.mode||"svg",i={},s=e.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let g in e){const m=e[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&oV(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=iV(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete r["aria-hidden"];break;default:{const v=Zm[g];v?(m===!0||m==="true"||m===1)&&(n[v]=!0):C$[g]===void 0&&(r[g]=m)}}}const l=cV(t,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),o==="svg"){r.style={...i,...a},Object.assign(r,c);let g=0,m=e.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),r.innerHTML=hV(l.body,m?()=>m+"ID"+g++:"iconifyVue"),_l("svg",r)}const{body:u,width:f,height:d}=t,h=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),p=pV(u,{...c,width:f+"",height:d+""});return r.style={...i,"--svg":vV(p),width:A$(c.width),height:A$(c.height),...bV,...h?Tb:ZA,...a},_l("span",r)},xV=Object.create(null),kV=Qr({inheritAttrs:!1,render(){const t=this.$attrs,e=t.icon,n=typeof e=="string"?xV[e]:typeof e=="object"?e:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:wV({...P2,...n},t)}}),Nd=/^[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 a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return e&&!eg(c)?null:c}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return e&&!eg(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:i};return e&&!eg(a,n)?null:a}return null},eg=(t,e)=>t?!!((t.provider===""||t.provider.match(Nd))&&(e&&t.prefix===""||t.prefix.match(Nd))&&t.name.match(Nd)):!1,eP=Object.freeze({left:0,top:0,width:16,height:16}),Jg=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),E2=Object.freeze({...eP,...Jg}),Ab=Object.freeze({...E2,body:"",hidden:!1});function jV(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 P$(t,e){const n=jV(t,e);for(const r in Ab)r in Jg?r in t&&!(r in n)&&(n[r]=Jg[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function SV(t,e){const n=t.icons,r=t.aliases||Object.create(null),o=Object.create(null);function i(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=r[s]&&r[s].parent,l=a&&i(a);l&&(o[s]=[a].concat(l))}return o[s]}return(e||Object.keys(n).concat(Object.keys(r))).forEach(i),o}function $V(t,e,n){const r=t.icons,o=t.aliases||Object.create(null);let i={};function s(a){i=P$(r[a]||o[a],i)}return s(e),n.forEach(s),P$(t,i)}function tP(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=SV(t);for(const o in r){const i=r[o];i&&(e(o,$V(t,o,i)),n.push(o))}return n}const _V={provider:"",aliases:{},not_found:{},...eP};function B1(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function nP(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!B1(t,_V))return null;const n=e.icons;for(const o in n){const i=n[o];if(!o.match(Nd)||typeof i.body!="string"||!B1(i,Ab))return null}const r=e.aliases||Object.create(null);for(const o in r){const i=r[o],s=i.parent;if(!o.match(Nd)||typeof s!="string"||!n[s]&&!r[s]||!B1(i,Ab))return null}return e}const E$=Object.create(null);function CV(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function Cc(t,e){const n=E$[t]||(E$[t]=Object.create(null));return n[e]||(n[e]=CV(t,e))}function N2(t,e){return nP(e)?tP(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function OV(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let hh=!1;function rP(t){return typeof t=="boolean"&&(hh=t),hh}function TV(t){const e=typeof t=="string"?x0(t,!0,hh):t;if(e){const n=Cc(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function AV(t,e){const n=x0(t,!0,hh);if(!n)return!1;const r=Cc(n.provider,n.prefix);return OV(r,n.name,e)}function PV(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),hh&&!e&&!t.prefix){let o=!1;return nP(t)&&(t.prefix="",tP(t,(i,s)=>{s&&AV(i,s)&&(o=!0)})),o}const n=t.prefix;if(!eg({provider:e,prefix:n,name:"a"}))return!1;const r=Cc(e,n);return!!N2(r,t)}const EV=Object.freeze({width:null,height:null}),NV=Object.freeze({...EV,...Jg});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const Pb=Object.create(null);function MV(t,e){Pb[t]=e}function Eb(t){return Pb[t]||Pb[""]}function M2(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 R2=Object.create(null),Kf=["https://api.simplesvg.com","https://api.unisvg.com"],tg=[];for(;Kf.length>0;)Kf.length===1||Math.random()>.5?tg.push(Kf.shift()):tg.push(Kf.pop());R2[""]=M2({resources:["https://api.iconify.design"].concat(tg)});function Nb(t,e){const n=M2(e);return n===null?!1:(R2[t]=n,!0)}function I2(t){return R2[t]}const RV=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let N$=RV();function IV(t,e){const n=I2(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const i=e+".json?icons=";r=n.maxURL-o-n.path.length-i.length}return r}function LV(t){return t===404}const DV=(t,e,n)=>{const r=[],o=IV(t,e),i="icons";let s={type:i,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(s),s={type:i,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),r.push(s),r};function BV(t){if(typeof t=="string"){const e=I2(t);if(e)return e.path}return"/"}const zV=(t,e,n)=>{if(!N$){n("abort",424);return}let r=BV(e.provider);switch(e.type){case"icons":{const i=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});r+=i+".json?"+l.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 s=i.status;if(s!==200){setTimeout(()=>{n(LV(s)?"abort":"next",s)});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)})},FV={prepare:DV,send:zV};function qV(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,s=o.prefix,a=o.name,l=n[i]||(n[i]=Object.create(null)),c=l[s]||(l[s]=Cc(i,s));let u;a in c.icons?u=e.loaded:s===""||c.missing.has(a)?u=e.missing:u=e.pending;const f={provider:i,prefix:s,name:a};u.push(f)}),e}function oP(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==e))})}function HV(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 s=i.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(t.icons[c])s.loaded.push({provider:r,prefix:o,name:c});else if(t.missing.has(c))s.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||oP([t],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let VV=0;function WV(t,e,n){const r=VV++,o=oP.bind(null,n,r);if(!e.pending.length)return o;const i={id:r,icons:e,callback:t,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function UV(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 JV={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function GV(t,e,n,r){const o=t.resources.length,i=t.random?Math.floor(Math.random()*o):t.index;let s;if(t.random){let y=t.resources.slice(0);for(s=[];y.length>1;){const j=Math.floor(Math.random()*y.length);s.push(y[j]),y=y.slice(0,j).concat(y.slice(j+1))}s=s.concat(y)}else s=t.resources.slice(i).concat(t.resources.slice(0,i));const a=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof r=="function"&&h.push(r);function p(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),p(),d.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),d=[]}function m(y,j){j&&(h=[]),typeof y=="function"&&h.push(y)}function v(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:d.length,subscribe:m,abort:g}}function b(){l="failed",h.forEach(y=>{y(void 0,u)})}function w(){d.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),d=[]}function x(y,j,_){const $=j!=="success";switch(d=d.filter(S=>S!==y),l){case"pending":break;case"failed":if($||!t.dataAfterTimeout)return;break;default:return}if(j==="abort"){u=_,b();return}if($){u=_,d.length||(s.length?k():b());return}if(p(),w(),!t.random){const S=t.resources.indexOf(y.resource);S!==-1&&S!==t.index&&(t.index=S)}l="completed",h.forEach(S=>{S(_)})}function k(){if(l!=="pending")return;p();const y=s.shift();if(y===void 0){if(d.length){f=setTimeout(()=>{p(),l==="pending"&&(w(),b())},t.timeout);return}b();return}const j={status:"pending",resource:y,callback:(_,$)=>{x(j,_,$)}};d.push(j),c++,f=setTimeout(k,t.rotate),n(y,e,j.callback)}return setTimeout(k),v}function iP(t){const e={...JV,...t};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const u=GV(e,a,l,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function i(a){return n.find(l=>a(l))||null}return{query:o,find:i,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:r}}function M$(){}const z1=Object.create(null);function QV(t){if(!z1[t]){const e=I2(t);if(!e)return;const n=iP(e),r={config:e,redundancy:n};z1[t]=r}return z1[t]}function YV(t,e,n){let r,o;if(typeof t=="string"){const i=Eb(t);if(!i)return n(void 0,424),M$;o=i.send;const s=QV(t);s&&(r=s.redundancy)}else{const i=M2(t);if(i){r=iP(i);const s=t.resources?t.resources[0]:"",a=Eb(s);a&&(o=a.send)}}return!r||!o?(n(void 0,424),M$):r.query(e,o,n)().abort}const R$="iconify2",ph="iconify",sP=ph+"-count",I$=ph+"-version",aP=36e5,XV=168;function Mb(t,e){try{return t.getItem(e)}catch{}}function L2(t,e,n){try{return t.setItem(e,n),!0}catch{}}function L$(t,e){try{t.removeItem(e)}catch{}}function Rb(t,e){return L2(t,sP,e.toString())}function Ib(t){return parseInt(Mb(t,sP))||0}const k0={local:!0,session:!0},lP={local:new Set,session:new Set};let D2=!1;function KV(t){D2=t}let qp=typeof window>"u"?{}:window;function cP(t){const e=t+"Storage";try{if(qp&&qp[e]&&typeof qp[e].length=="number")return qp[e]}catch{}k0[t]=!1}function uP(t,e){const n=cP(t);if(!n)return;const r=Mb(n,I$);if(r!==R$){if(r){const a=Ib(n);for(let l=0;l<a;l++)L$(n,ph+l.toString())}L2(n,I$,R$),Rb(n,0);return}const o=Math.floor(Date.now()/aP)-XV,i=a=>{const l=ph+a.toString(),c=Mb(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);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,a))return!0}catch{}L$(n,l)}};let s=Ib(n);for(let a=s-1;a>=0;a--)i(a)||(a===s-1?(s--,Rb(n,s)):lP[t].add(a))}function fP(){if(!D2){KV(!0);for(const t in k0)uP(t,e=>{const n=e.data,r=e.provider,o=n.prefix,i=Cc(r,o);if(!N2(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function ZV(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const r in k0)uP(r,o=>{const i=o.data;return o.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===e});return!0}function eW(t,e){D2||fP();function n(r){let o;if(!k0[r]||!(o=cP(r)))return;const i=lP[r];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=Ib(o),!Rb(o,s+1))return;const a={cached:Math.floor(Date.now()/aP),provider:t.provider,data:e};return L2(o,ph+s.toString(),JSON.stringify(a))}e.lastModified&&!ZV(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function D$(){}function tW(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,HV(t)}))}function nW(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=Eb(n)))return;i.prepare(n,r,o).forEach(a=>{YV(n,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{t.missing.add(c)});else try{const c=N2(t,l);if(!c.length)return;const u=t.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),eW(t,l)}catch(c){console.error(c)}tW(t)})})}))}const rW=(t,e)=>{const n=UV(t,!0,rP()),r=qV(n);if(!r.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(r.loaded,r.missing,r.pending,D$)}),()=>{l=!1}}const o=Object.create(null),i=[];let s,a;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===s)return;s=c,a=u,i.push(Cc(c,u));const f=o[c]||(o[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Cc(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),o[c][u].push(f))}),i.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&nW(l,o[c][u])}),e?WV(e,r,i):D$},oW=t=>new Promise((e,n)=>{const r=typeof t=="string"?x0(t,!0):t;if(!r){n(t);return}rW([r||t],o=>{if(o.length&&r){const i=TV(r);if(i){e({...E2,...i});return}}n(t)})});({...NV});const B$={backgroundColor:"currentColor"},iW={backgroundColor:"transparent"},z$={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},F$={webkitMask:B$,mask:B$,background:iW};for(const t in F$){const e=F$[t];for(const n in z$)e[t+n]=z$[n]}const F1={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";F1[t+"-flip"]=e,F1[t.slice(0,1)+"-flip"]=e,F1[t+"Flip"]=e});rP(!0);MV("",FV);if(typeof document<"u"&&typeof window<"u"){fP();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"||!PV(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;Nb(n,o)||console.error(r)}catch{console.error(r)}}}}({...E2});const sW=["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 aW(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 sW)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 lW=Qr({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(t){let e,n;const r=Sr(),o=aA(),i=t;br(()=>{var m;return(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions},()=>{var m,v,b,w,x,k;if((v=(m=o.nuxtIcon)==null?void 0:m.iconifyApiOptions)!=null&&v.url){try{new URL(o.nuxtIcon.iconifyApiOptions.url)}catch{console.warn("Nuxt Icon: Invalid custom Iconify API URL");return}if((w=(b=o.nuxtIcon)==null?void 0:b.iconifyApiOptions)!=null&&w.publicApiFallback){Nb("custom",{resources:[(x=o.nuxtIcon)==null?void 0:x.iconifyApiOptions.url],index:0});return}Nb("",{resources:[(k=o.nuxtIcon)==null?void 0:k.iconifyApiOptions.url]})}},{immediate:!0});const s=j2("icons",()=>({})),a=Yt(!1),l=jn(()=>{var m,v;return(v=(m=o.nuxtIcon)==null?void 0:m.aliases)!=null&&v[i.name]?o.nuxtIcon.aliases[i.name]:i.name}),c=jn(()=>aW(l.value)),u=jn(()=>[c.value.provider,c.value.prefix,c.value.name].filter(Boolean).join(":")),f=jn(()=>{var m;return(m=s.value)==null?void 0:m[u.value]}),d=jn(()=>r.vueApp.component(l.value)),h=jn(()=>{var v,b,w;if(!i.size&&typeof((v=o.nuxtIcon)==null?void 0:v.size)=="boolean"&&!((b=o.nuxtIcon)!=null&&b.size))return;const m=i.size||((w=o.nuxtIcon)==null?void 0:w.size)||"1em";return String(Number(m))===m?`${m}px`:m}),p=jn(()=>{var m;return((m=o==null?void 0:o.nuxtIcon)==null?void 0:m.class)??"icon"});async function g(){var m;d.value||(m=s.value)!=null&&m[u.value]||(a.value=!0,s.value[u.value]=await oW(c.value).catch(()=>{}),a.value=!1)}return br(l,g),!d.value&&([e,n]=mT(()=>g()),e=await e,n()),(m,v)=>a.value?(Ye(),It("span",{key:0,class:Kn(p.value),style:ui({width:h.value,height:h.value})},null,6)):f.value?(Ye(),cn(Ne(kV),{key:1,icon:f.value,class:Kn(p.value),width:h.value,height:h.value},null,8,["icon","class","width","height"])):d.value?(Ye(),cn(r2(d.value),{key:2,class:Kn(p.value),width:h.value,height:h.value},null,8,["class","width","height"])):(Ye(),It("span",{key:3,class:Kn(p.value),style:ui({fontSize:h.value,lineHeight:h.value,width:h.value,height:h.value})},[Yn(m.$slots,"default",{},()=>[Kt(Wr(t.name),1)],!0)],6))}});const dP=Ea(lW,[["__scopeId","data-v-e9ef104d"]]),cW=Object.freeze(Object.defineProperty({__proto__:null,default:dP},Symbol.toStringTag,{value:"Module"})),uW=["disabled"],fW={key:0,value:"",disabled:"",hidden:""},dW=Qr({__name:"NSelect",props:{modelValue:{default:void 0},placeholder:{default:""},icon:{default:""},disabled:{type:Boolean,default:!1}},setup(t,{emit:e}){const o=UA(t,"modelValue",e,{passive:!0});return(i,s)=>{const a=Ef;return Ye(),It("div",{class:Kn(["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"])},[Yn(i.$slots,"icon",{},()=>[i.icon?(Ye(),cn(a,{key:0,icon:i.icon,class:"mr-0.4em text-1.1em op50"},null,8,["icon"])):Jn("",!0)]),lT(ze("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>zr(o)?o.value=l:null),disabled:i.disabled,class:Kn(["w-full flex-auto n-bg-base !outline-none",i.disabled?"appearance-none":""])},[i.placeholder?(Ye(),It("option",fW,Wr(i.placeholder),1)):Jn("",!0),Yn(i.$slots,"default")],10,uW),[[RD,Ne(o)]])],2)}}}),hW={flex:"~ gap-3","items-center":""},pW=Qr({__name:"NIconTitle",props:{icon:{},text:{}},setup(t){return(e,n)=>(Ye(),It("div",hW,[e.icon?(Ye(),It("div",{key:0,class:Kn(e.icon)},null,2)):Jn("",!0),Yn(e.$slots,"default",{},()=>[ze("div",null,Wr(e.text),1)])]))}}),hP=t=>(Zx("data-v-348c1d92"),t=t(),e2(),t),mW=["open"],gW={"text-base":""},vW={key:0,"text-sm":"",op50:""},yW=hP(()=>ze("div",{class:"flex-auto"},null,-1)),bW=hP(()=>ze("div",{class:"x-divider"},null,-1)),wW=Qr({__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=UA(t,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Ef,a=pW;return Ye(),It(Ur,null,[ze("details",{open:Ne(n),onToggle:r},[ze("summary",{class:Kn(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[ht(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Kn([Ne(n)?"op100":"op60",o.headerClass])},{default:$t(()=>[ze("div",null,[ze("div",gW,[Yn(o.$slots,"text",{},()=>[Kt(Wr(o.text),1)],!0)]),o.description||o.$slots.description?(Ye(),It("div",vW,[Yn(o.$slots,"description",{},()=>[Kt(Wr(o.description),1)],!0)])):Jn("",!0)]),yW,Yn(o.$slots,"actions",{},void 0,!0),o.collapse?(Ye(),cn(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Jn("",!0)]),_:3},8,["icon","text","class"])],2),ze("div",{class:Kn(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Yn(o.$slots,"details",{},void 0,!0),ze("div",{class:Kn([o.containerClass,"mt1"])},[Yn(o.$slots,"default",{},void 0,!0)],2),Yn(o.$slots,"footer",{},void 0,!0)],2)],40,mW),bW],64)}}});const xW=Ea(wW,[["__scopeId","data-v-348c1d92"]]),kW={class:"n-tip n-tip-base"},jW=Qr({__name:"NTip",props:{icon:{}},setup(t){return(e,n)=>{const r=Ef;return Ye(),It("div",kW,[Yn(e.$slots,"icon",{},()=>[e.icon?(Ye(),cn(r,{key:0,icon:e.icon,class:"n-tip-icon"},null,8,["icon"])):Jn("",!0)]),ze("div",null,[Yn(e.$slots,"default")])])}}}),SW={class:"group"},$W={key:0,class:"opacity-70 text-sm transition group-hover:opacity-100"},_W={class:"border-2 group-hover:shadow-sm rounded-[0.35rem] border-transparent hover:border-yellow-500 transition-all"},CW={class:"w-[220px] h-[110px] relative"},OW={class:"flex justify-between items-center text-xs px-2"},TW={class:""},AW=ze("span",{class:"underline"},"View source",-1),PW=Qr({__name:"TemplateComponentPreview",props:{src:{},aspectRatio:{},component:{},active:{type:Boolean},imageFormat:{}},setup(t){const e=t;function n(){var a;(a=hc.value)==null||a.devtools.rpc.openInEditor(e.component.path)}const r=jn(()=>e.src.includes(".html")),o=jn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[0].trim()}),i=jn(()=>{var a;return(a=e.component.credits)==null?void 0:a.split("<")[1].trim().replace(">","")}),s=Yt();return(a,l)=>{const c=BA,u=Ef,f=FA,d=GA,h=Sl("VTooltip");return Ye(),It("div",SW,[a.component.credits?(Ye(),It("div",$W,[i.value?(Ye(),cn(c,{key:0,href:i.value,external:"",class:"underline"},{default:$t(()=>[Kt(Wr(o.value),1)]),_:1},8,["href"])):Jn("",!0)])):Jn("",!0),ze("div",_W,[ht(h,null,{popper:$t(()=>[Kt(" Preview "+Wr(a.component.pascalName)+" for the current page. ",1)]),default:$t(()=>[ze("div",CW,[a.active?(Ye(),cn(u,{key:0,icon:"carbon:checkmark-filled",class:"absolute top-2 right-2 text-green-500"})):Jn("",!0),r.value?(Ye(),cn(d,{key:2,src:a.src,class:"pointer-events-none","max-height":120,"aspect-ratio":a.aspectRatio,onLoad:l[1]||(l[1]=p=>s.value=p)},null,8,["src","aspect-ratio"])):(Ye(),cn(f,{key:1,src:Ne(Ru)(a.src,{component:a.component.pascalName}),"aspect-ratio":a.aspectRatio,class:Kn(["rounded overflow-hidden",a.active?["ring-2 ring-green-500"]:[]]),onLoad:l[0]||(l[0]=p=>s.value=p)},null,8,["src","aspect-ratio","class"]))])]),_:1})]),ze("div",OW,[ht(h,null,{popper:$t(()=>[Kt(" Open the source code of "+Wr(a.component.pascalName)+".vue in your IDE ",1)]),default:$t(()=>[ze("div",TW,[ht(c,{external:"",class:"opacity-70 items-start space-x-1 flex",onClick:DD(n,["stop"])},{default:$t(()=>[ze("span",null,Wr(a.component.pascalName),1),AW]),_:1})])]),_:1})])])}}});function pP(...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=Sr(),s=()=>null,a=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];o.server=o.server??!0,o.default=o.default??s,o.getCachedData=o.getCachedData??a,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??iF.deep;const l=()=>![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?Yt:Cg;i._asyncData[n]={data:p(o.getCachedData(n)??o.default()),pending:Yt(!l()),error:Xx(i.payload._errors,n),status:Yt("idle")}}const c={...i._asyncData[n]};c.refresh=c.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)&&l())return Promise.resolve(o.getCachedData(n));c.pending.value=!0,c.status.value="pending";const g=new Promise((m,v)=>{try{m(r(i))}catch(b){v(b)}}).then(m=>{if(g.cancelled)return i._asyncDataPromises[n];let v=m;o.transform&&(v=o.transform(m)),o.pick&&(v=EW(v,o.pick)),i.payload.data[n]=v,c.data.value=v,c.error.value=null,c.status.value="success"}).catch(m=>{if(g.cancelled)return i._asyncDataPromises[n];c.error.value=x2(m),c.data.value=Ne(o.default()),c.status.value="error"}).finally(()=>{g.cancelled||(c.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=g,i._asyncDataPromises[n]};const u=()=>c.refresh({_initial:!0}),f=o.server!==!1&&i.payload.serverRendered;{const p=Aa();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const m=p._nuxtOnBeforeMountCbs;p&&(dT(()=>{m.forEach(v=>{v()}),m.splice(0,m.length)}),ef(()=>m.splice(0,m.length)))}f&&i.isHydrating&&(c.error.value||l())?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):p&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?p._nuxtOnBeforeMountCbs.push(u):o.immediate&&u(),o.watch&&br(o.watch,()=>c.refresh());const g=i.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await c.refresh()});p&&ef(g)}const d=Promise.resolve(i._asyncDataPromises[n]).then(()=>c);return Object.assign(d,c),d}function EW(t,e){const n={};for(const r of e)n[r]=t[r];return n}function q$(){return pP(()=>A2.value(Pa("/__og-image__/image",dh.value,"og.json"),{query:ni.value}),{watch:[dh,w0]},"$XVR8o8RMBy")}function NW(){return pP(()=>A2.value("/__og-image__/debug.json"),{watch:[JA]},"$cHgKigQ0kS")}const MW=()=>j2("color-mode").value;var mP=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},gP={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(mP,()=>{return n={770:function(o,i,s){var a=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 l=a(s(418));let c=null,u=!1;class f{static _utf8ByteLength(v){let b=0;for(let w=0,x=v.length;w<x;w++){const k=v.charCodeAt(w);let y=k,j=!1;if(k>=55296&&k<=56319&&w+1<x){const _=v.charCodeAt(w+1);_>=56320&&_<=57343&&(y=65536+(k-55296<<10)|_-56320,j=!0)}b+=y<=127?1:y<=2047?2:y<=65535?3:4,j&&w++}return b}constructor(v){const b=v.length,w=f._utf8ByteLength(v),x=w!==b,k=x?new Uint32Array(b+1):null;x&&(k[b]=w);const y=x?new Uint32Array(w+1):null;x&&(y[w]=b);const j=new Uint8Array(w);let _=0;for(let $=0;$<b;$++){const S=v.charCodeAt($);let C=S,O=!1;if(S>=55296&&S<=56319&&$+1<b){const P=v.charCodeAt($+1);P>=56320&&P<=57343&&(C=65536+(S-55296<<10)|P-56320,O=!0)}x&&(k[$]=_,O&&(k[$+1]=_),C<=127?y[_+0]=$:C<=2047?(y[_+0]=$,y[_+1]=$):C<=65535?(y[_+0]=$,y[_+1]=$,y[_+2]=$):(y[_+0]=$,y[_+1]=$,y[_+2]=$,y[_+3]=$)),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&&$++}this.utf16Length=b,this.utf8Length=w,this.utf16Value=v,this.utf8Value=j,this.utf16OffsetToUtf8=k,this.utf8OffsetToUtf16=y}createString(v){const b=v._omalloc(this.utf8Length);return v.HEAPU8.set(this.utf8Value,b),b}}class d{constructor(v){if(this.id=++d.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=v;const b=new f(v);this.utf16Length=b.utf16Length,this.utf8Length=b.utf8Length,this.utf16OffsetToUtf8=b.utf16OffsetToUtf8,this.utf8OffsetToUtf16=b.utf8OffsetToUtf16,this.utf8Length<1e4&&!d._sharedPtrInUse?(d._sharedPtr||(d._sharedPtr=c._omalloc(1e4)),d._sharedPtrInUse=!0,c.HEAPU8.set(b.utf8Value,d._sharedPtr),this.ptr=d._sharedPtr):this.ptr=b.createString(c)}convertUtf8OffsetToUtf16(v){return this.utf8OffsetToUtf16?v<0?0:v>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[v]:v}convertUtf16OffsetToUtf8(v){return this.utf16OffsetToUtf8?v<0?0:v>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[v]:v}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(v){if(!c)throw new Error("Must invoke loadWASM first.");const b=[],w=[];for(let j=0,_=v.length;j<_;j++){const $=new f(v[j]);b[j]=$.createString(c),w[j]=$.utf8Length}const x=c._omalloc(4*v.length);c.HEAPU32.set(b,x/4);const k=c._omalloc(4*v.length);c.HEAPU32.set(w,k/4);const y=c._createOnigScanner(x,k,v.length);for(let j=0,_=v.length;j<_;j++)c._ofree(b[j]);c._ofree(k),c._ofree(x),y===0&&function(j){throw new Error(j.UTF8ToString(j._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=y}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(v,b,w){let x=u,k=0;if(typeof w=="number"?(8&w&&(x=!0),k=w):typeof w=="boolean"&&(x=w),typeof v=="string"){v=new d(v);const y=this._findNextMatchSync(v,b,x,k);return v.dispose(),y}return this._findNextMatchSync(v,b,x,k)}_findNextMatchSync(v,b,w,x){const k=this._onigBinding;let y;if(y=w?k._findNextOnigScannerMatchDbg(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(b),x):k._findNextOnigScannerMatch(this._ptr,v.id,v.ptr,v.utf8Length,v.convertUtf16OffsetToUtf8(b),x),y===0)return null;const j=k.HEAPU32;let _=y/4;const $=j[_++],S=j[_++];let C=[];for(let O=0;O<S;O++){const P=v.convertUtf8OffsetToUtf16(j[_++]),I=v.convertUtf8OffsetToUtf16(j[_++]);C[O]={start:P,end:I,length:I-P}}return{index:$,captureIndices:C}}}i.OnigScanner=h;let p=!1,g=null;i.loadWASM=function(m){if(p)return g;let v,b,w,x;if(p=!0,function(k){return typeof k.instantiator=="function"}(m))v=m.instantiator,b=m.print;else{let k;(function(y){return y.data!==void 0})(m)?(k=m.data,b=m.print):k=m,v=function(y){return typeof Response<"u"&&y instanceof Response}(k)?typeof WebAssembly.instantiateStreaming=="function"?function(y){return j=>WebAssembly.instantiateStreaming(y,j)}(k):function(y){return async j=>{const _=await y.arrayBuffer();return WebAssembly.instantiate(_,j)}}(k):function(y){return j=>WebAssembly.instantiate(y,j)}(k)}return g=new Promise((k,y)=>{w=k,x=y}),function(k,y,j,_){(0,l.default)({print:y,instantiateWasm:($,S)=>{if(typeof performance>"u"){const C=()=>Date.now();$.env.emscripten_get_now=C,$.wasi_snapshot_preview1.emscripten_get_now=C}return k($).then(C=>S(C.instance),_),{}}}).then($=>{c=$,j()})}(v,b,w,x),g},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(s){var a,l,c=(s=s||{})!==void 0?s:{};c.ready=new Promise(function(ue,ve){a=ue,l=ve});var u,f=Object.assign({},c),d=!1,h="";function p(ue){return c.locateFile?c.locateFile(ue,h):h+ue}u=function(ue){let ve;return typeof readbuffer=="function"?new Uint8Array(readbuffer(ue)):(ve=read(ue,"binary"),x(typeof ve=="object"),ve)},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 g,m,v=c.print||console.log.bind(console),b=c.printErr||console.warn.bind(console);Object.assign(c,f),f=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(g=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&A("no native wasm support detected");var w=!1;function x(ue,ve){ue||A(ve)}var k,y,j,_=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function $(ue,ve,We){for(var B=ve+We,Y=ve;ue[Y]&&!(Y>=B);)++Y;if(Y-ve>16&&ue.buffer&&_)return _.decode(ue.subarray(ve,Y));for(var re="";ve<Y;){var pe=ue[ve++];if(128&pe){var $e=63&ue[ve++];if((224&pe)!=192){var Le=63&ue[ve++];if((pe=(240&pe)==224?(15&pe)<<12|$e<<6|Le:(7&pe)<<18|$e<<12|Le<<6|63&ue[ve++])<65536)re+=String.fromCharCode(pe);else{var gt=pe-65536;re+=String.fromCharCode(55296|gt>>10,56320|1023&gt)}}else re+=String.fromCharCode((31&pe)<<6|$e)}else re+=String.fromCharCode(pe)}return re}function S(ue,ve){return ue?$(y,ue,ve):""}function C(ue){k=ue,c.HEAP8=new Int8Array(ue),c.HEAP16=new Int16Array(ue),c.HEAP32=new Int32Array(ue),c.HEAPU8=y=new Uint8Array(ue),c.HEAPU16=new Uint16Array(ue),c.HEAPU32=j=new Uint32Array(ue),c.HEAPF32=new Float32Array(ue),c.HEAPF64=new Float64Array(ue)}c.INITIAL_MEMORY;var O=[],P=[],I=[];function J(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)R(c.preRun.shift());te(O)}function H(){te(P)}function D(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)L(c.postRun.shift());te(I)}function R(ue){O.unshift(ue)}function V(ue){P.unshift(ue)}function L(ue){I.unshift(ue)}var E=0,U=null;function W(ue){E++,c.monitorRunDependencies&&c.monitorRunDependencies(E)}function M(ue){if(E--,c.monitorRunDependencies&&c.monitorRunDependencies(E),E==0&&U){var ve=U;U=null,ve()}}function A(ue){c.onAbort&&c.onAbort(ue),b(ue="Aborted("+ue+")"),w=!0,ue+=". Build with -sASSERTIONS for more info.";var ve=new WebAssembly.RuntimeError(ue);throw l(ve),ve}var G,ee,be="data:application/octet-stream;base64,";function we(ue){return ue.startsWith(be)}function Se(ue){try{if(ue==G&&g)return new Uint8Array(g);if(u)return u(ue);throw"both async and sync fetching of the wasm failed"}catch(ve){A(ve)}}function he(){return g||!d||typeof fetch!="function"?Promise.resolve().then(function(){return Se(G)}):fetch(G,{credentials:"same-origin"}).then(function(ue){if(!ue.ok)throw"failed to load wasm binary file at '"+G+"'";return ue.arrayBuffer()}).catch(function(){return Se(G)})}function Z(){var ue={env:Oe,wasi_snapshot_preview1:Oe};function ve(Y,re){var pe=Y.exports;c.asm=pe,C((m=c.asm.memory).buffer),c.asm.__indirect_function_table,V(c.asm.__wasm_call_ctors),M()}function We(Y){ve(Y.instance)}function B(Y){return he().then(function(re){return WebAssembly.instantiate(re,ue)}).then(function(re){return re}).then(Y,function(re){b("failed to asynchronously prepare wasm: "+re),A(re)})}if(W(),c.instantiateWasm)try{return c.instantiateWasm(ue,ve)}catch(Y){b("Module.instantiateWasm callback failed with error: "+Y),l(Y)}return(g||typeof WebAssembly.instantiateStreaming!="function"||we(G)||typeof fetch!="function"?B(We):fetch(G,{credentials:"same-origin"}).then(function(Y){return WebAssembly.instantiateStreaming(Y,ue).then(We,function(re){return b("wasm streaming compile failed: "+re),b("falling back to ArrayBuffer instantiation"),B(We)})})).catch(l),{}}function te(ue){for(;ue.length>0;)ue.shift()(c)}function fe(ue,ve,We){y.copyWithin(ue,ve,ve+We)}function K(ue){try{return m.grow(ue-k.byteLength+65535>>>16),C(m.buffer),1}catch{}}function me(ue){var ve,We=y.length,B=2147483648;if((ue>>>=0)>B)return!1;for(var Y=1;Y<=4;Y*=2){var re=We*(1+.2/Y);if(re=Math.min(re,ue+100663296),K(Math.min(B,(ve=Math.max(ue,re))+(65536-ve%65536)%65536)))return!0}return!1}we(G="onig.wasm")||(G=p(G)),ee=typeof dateNow<"u"?dateNow:()=>performance.now();var Ee=[null,[],[]];function se(ue,ve){var We=Ee[ue];ve===0||ve===10?((ue===1?v:b)($(We,0)),We.length=0):We.push(ve)}function le(ue,ve,We,B){for(var Y=0,re=0;re<We;re++){var pe=j[ve>>2],$e=j[ve+4>>2];ve+=8;for(var Le=0;Le<$e;Le++)se(ue,y[pe+Le]);Y+=$e}return j[B>>2]=Y,0}var Me,Oe={emscripten_get_now:ee,emscripten_memcpy_big:fe,emscripten_resize_heap:me,fd_write:le};function Je(ue){function ve(){Me||(Me=!0,c.calledRun=!0,w||(H(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),D()))}E>0||(J(),E>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),ve()},1)):ve()))}if(Z(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=S,U=function ue(){Me||Je(),Me||(U=ue)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return Je(),s.ready});o.exports=i}},r={},function o(i){var s=r[i];if(s!==void 0)return s.exports;var a=r[i]={exports:{}};return n[i].call(a.exports,a,a.exports,o),a.exports}(770);var n,r})})(gP);var q1=gP.exports,vP={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(mP,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 s;Object.defineProperty(i,"__esModule",{value:!0}),i.toOptionalTokenType=i.EncodedTokenAttributes=void 0,(s=i.EncodedTokenAttributes||(i.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},s.print=function(a){const l=s.getLanguageId(a),c=s.getTokenType(a),u=s.getFontStyle(a),f=s.getForeground(a),d=s.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:u,foreground:f,background:d})},s.getLanguageId=function(a){return(255&a)>>>0},s.getTokenType=function(a){return(768&a)>>>8},s.containsBalancedBrackets=function(a){return(1024&a)!=0},s.getFontStyle=function(a){return(30720&a)>>>11},s.getForeground=function(a){return(16744448&a)>>>15},s.getBackground=function(a){return(4278190080&a)>>>24},s.set=function(a,l,c,u,f,d,h){let p=s.getLanguageId(a),g=s.getTokenType(a),m=s.containsBalancedBrackets(a)?1:0,v=s.getFontStyle(a),b=s.getForeground(a),w=s.getBackground(a);return l!==0&&(p=l),c!==8&&(g=c),u!==null&&(m=u?1:0),f!==-1&&(v=f),d!==0&&(b=d),h!==0&&(w=h),(p<<0|g<<8|m<<10|v<<11|b<<15|w<<24)>>>0},i.toOptionalTokenType=function(a){return a}},996:(o,i,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.BasicScopeAttributesProvider=i.BasicScopeAttributes=void 0;const a=s(878);class l{constructor(d,h){this.languageId=d,this.tokenType=h}}i.BasicScopeAttributes=l;class c{constructor(d,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const g=this._scopeToLanguage(p),m=this._toStandardTokenType(p);return new l(g,m)}),this._defaultAttributes=new l(d,8),this._embeddedLanguagesMatcher=new u(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(d){return d===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(d)}_scopeToLanguage(d){return this._embeddedLanguagesMatcher.match(d)||0}_toStandardTokenType(d){const h=d.match(c.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=c,c._NULL_SCOPE_METADATA=new l(0,0),c.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,g])=>a.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,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LineTokens=i.BalancedBracketSelectors=i.StateStack=i.AttributedScopeStack=i.Grammar=i.createGrammar=void 0;const a=s(350),l=s(36),c=s(736),u=s(44),f=s(792),d=s(583),h=s(878),p=s(996),g=s(47);function m(_,$,S,C,O){const P=c.createMatchers($,v),I=f.RuleFactory.getCompiledRuleId(S,C,O.repository);for(const J of P)_.push({debugSelector:$,matcher:J.matcher,ruleId:I,grammar:O,priority:J.priority})}function v(_,$){if($.length<_.length)return!1;let S=0;return _.every(C=>{for(let O=S;O<$.length;O++)if(b($[O],C))return S=O+1,!0;return!1})}function b(_,$){if(!_)return!1;if(_===$)return!0;const S=$.length;return _.length>S&&_.substr(0,S)===$&&_[S]==="."}i.createGrammar=function(_,$,S,C,O,P,I,J){return new w(_,$,S,C,O,P,I,J)};class w{constructor($,S,C,O,P,I,J,H){if(this._rootScopeName=$,this.balancedBracketSelectors=I,this._onigLib=H,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(C,O),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=J,this._grammar=x(S,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const D of Object.keys(P)){const R=c.createMatchers(D,v);for(const V of R)this._tokenTypeMatchers.push({matcher:V.matcher,type:P[D]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const $ of this._ruleId2desc)$&&$.dispose()}createOnigScanner($){return this._onigLib.createOnigScanner($)}createOnigString($){return this._onigLib.createOnigString($)}getMetadataForScope($){return this._basicScopeAttributesProvider.getBasicScopeAttributes($)}_collectInjections(){const $=[],S=this._rootScopeName,C=(O=>O===this._rootScopeName?this._grammar:this.getExternalGrammar(O))(S);if(C){const O=C.injections;if(O)for(let I in O)m($,I,O[I],this,C);const P=this._grammarRepository.injections(S);P&&P.forEach(I=>{const J=this.getExternalGrammar(I);if(J){const H=J.injectionSelector;H&&m($,H,J,this,J)}})}return $.sort((O,P)=>O.priority-P.priority),$}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const $ of this._injections)console.log(` - ${$.debugSelector}`)}return this._injections}registerRule($){const S=++this._lastRuleId,C=$(f.ruleIdFromNumber(S));return this._ruleId2desc[S]=C,C}getRule($){return this._ruleId2desc[f.ruleIdToNumber($)]}getExternalGrammar($,S){if(this._includedGrammars[$])return this._includedGrammars[$];if(this._grammarRepository){const C=this._grammarRepository.lookup($);if(C)return this._includedGrammars[$]=x(C,S&&S.$base),this._includedGrammars[$]}}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 P;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),S&&S!==y.NULL)P=!1,S.reset();else{P=!0;const R=this._basicScopeAttributesProvider.getDefaultAttributes(),V=this.themeProvider.getDefaults(),L=l.EncodedTokenAttributes.set(0,R.languageId,R.tokenType,null,V.fontStyle,V.foregroundId,V.backgroundId),E=this.getRule(this._rootId).getName(null,null);let U;U=E?k.createRootAndLookUpScopeName(E,L,this):k.createRoot("unknown",L),S=new y(null,this._rootId,-1,-1,!1,null,U,U)}$+=`
2
2
  `;const I=this.createOnigString($),J=I.content.length,H=new j(C,$,this._tokenTypeMatchers,this.balancedBracketSelectors),D=g._tokenizeString(this,I,P,0,S,H,!0,O);return u.disposeOnigString(I),{lineLength:J,lineTokens:H,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function x(_,$){return(_=h.clone(_)).repository=_.repository||{},_.repository.$self={$vscodeTextmateLocation:_.$vscodeTextmateLocation,patterns:_.patterns,name:_.scopeName},_.repository.$base=$||_.repository.$self,_}i.Grammar=w;class k{constructor($,S,C){this.parent=$,this.scopePath=S,this.tokenAttributes=C}static createRoot($,S){return new k(null,new d.ScopeStack(null,$),S)}static createRootAndLookUpScopeName($,S,C){const O=C.getMetadataForScope($),P=new d.ScopeStack(null,$),I=C.themeProvider.themeMatch(P),J=k.mergeAttributes(S,O,I);return new k(null,P,J)}get scopeName(){return this.scopePath.scopeName}equals($){return k._equals(this,$)}static _equals($,S){for(;;){if($===S||!$&&!S)return!0;if(!$||!S||$.scopeName!==S.scopeName||$.tokenAttributes!==S.tokenAttributes)return!1;$=$.parent,S=S.parent}}static mergeAttributes($,S,C){let O=-1,P=0,I=0;return C!==null&&(O=C.fontStyle,P=C.foregroundId,I=C.backgroundId),l.EncodedTokenAttributes.set($,S.languageId,S.tokenType,null,O,P,I)}pushAttributed($,S){if($===null)return this;if($.indexOf(" ")===-1)return k._pushAttributed(this,$,S);const C=$.split(/ /g);let O=this;for(const P of C)O=k._pushAttributed(O,P,S);return O}static _pushAttributed($,S,C){const O=C.getMetadataForScope(S),P=$.scopePath.push(S),I=C.themeProvider.themeMatch(P),J=k.mergeAttributes($.tokenAttributes,O,I);return new k($,P,J)}getScopeNames(){return this.scopePath.getSegments()}}i.AttributedScopeStack=k;class y{constructor($,S,C,O,P,I,J,H){this.parent=$,this.ruleId=S,this.beginRuleCapturedEOL=P,this.endRule=I,this.nameScopesList=J,this.contentNameScopesList=H,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=C,this._anchorPos=O}equals($){return $!==null&&y._equals(this,$)}static _equals($,S){return $===S||!!this._structuralEquals($,S)&&$.contentNameScopesList.equals(S.contentNameScopesList)}static _structuralEquals($,S){for(;;){if($===S||!$&&!S)return!0;if(!$||!S||$.depth!==S.depth||$.ruleId!==S.ruleId||$.endRule!==S.endRule)return!1;$=$.parent,S=S.parent}}clone(){return this}static _reset($){for(;$;)$._enterPos=-1,$._anchorPos=-1,$=$.parent}reset(){y._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push($,S,C,O,P,I,J){return new y(this,$,S,C,O,P,I,J)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule($){return $.getRule(this.ruleId)}toString(){const $=[];return this._writeString($,0),"["+$.join(",")+"]"}_writeString($,S){return this.parent&&(S=this.parent._writeString($,S)),$[S++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,S}withContentNameScopesList($){return this.contentNameScopesList===$?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,$)}withEndRule($){return this.endRule===$?this:new y(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,$,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs($){let S=this;for(;S&&S._enterPos===$._enterPos;){if(S.ruleId===$.ruleId)return!0;S=S.parent}return!1}}i.StateStack=y,y.NULL=new y(null,0,0,0,!1,null,null,null),i.BalancedBracketSelectors=class{constructor(_,$){this.allowAny=!1,this.balancedBracketScopes=_.flatMap(S=>S==="*"?(this.allowAny=!0,[]):c.createMatchers(S,v).map(C=>C.matcher)),this.unbalancedBracketScopes=$.flatMap(S=>c.createMatchers(S,v).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 $ of this.unbalancedBracketScopes)if($(_))return!1;for(const $ of this.balancedBracketScopes)if($(_))return!0;return this.allowAny}};class j{constructor($,S,C,O){this.balancedBracketSelectors=O,this._emitBinaryTokens=$,this._tokenTypeOverrides=C,a.DebugFlags.InDebugMode?this._lineText=S:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce($,S){this.produceFromScopes($.contentNameScopesList,S)}produceFromScopes($,S){var O;if(this._lastTokenEndIndex>=S)return;if(this._emitBinaryTokens){let P=$.tokenAttributes,I=!1;if((O=this.balancedBracketSelectors)!=null&&O.matchesAlways&&(I=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const J=$.getScopeNames();for(const H of this._tokenTypeOverrides)H.matcher(J)&&(P=l.EncodedTokenAttributes.set(P,0,l.toOptionalTokenType(H.type),null,-1,0,0));this.balancedBracketSelectors&&(I=this.balancedBracketSelectors.match(J))}if(I&&(P=l.EncodedTokenAttributes.set(P,0,8,I,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===P)return void(this._lastTokenEndIndex=S);if(a.DebugFlags.InDebugMode){const J=$.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,S).replace(/\n$/,"\\n")+"|");for(let H=0;H<J.length;H++)console.log(" * "+J[H])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(P),void(this._lastTokenEndIndex=S)}const C=$.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,S).replace(/\n$/,"\\n")+"|");for(let P=0;P<C.length;P++)console.log(" * "+C[P])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:S,scopes:C}),this._lastTokenEndIndex=S}getResult($,S){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===S-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]===S-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,P=this._binaryTokens.length;O<P;O++)C[O]=this._binaryTokens[O];return C}}i.LineTokens=j},965:(o,i,s)=>{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 a=s(878);class l{constructor(y){this.scopeName=y}toKey(){return this.scopeName}}i.TopLevelRuleReference=l;class c{constructor(y,j){this.scopeName=y,this.ruleName=j}toKey(){return`${this.scopeName}#${this.ruleName}`}}i.TopLevelRepositoryRuleReference=c;class u{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(y){const j=y.toKey();this._seenReferenceKeys.has(j)||(this._seenReferenceKeys.add(j),this._references.push(y))}}function f(k,y,j,_){const $=j.lookup(k.scopeName);if(!$){if(k.scopeName===y)throw new Error(`No grammar provided for <${y}>`);return}const S=j.lookup(y);k instanceof l?h({baseGrammar:S,selfGrammar:$},_):d(k.ruleName,{baseGrammar:S,selfGrammar:$,repository:$.repository},_);const C=j.injections(k.scopeName);if(C)for(const O of C)_.add(new l(O))}function d(k,y,j){y.repository&&y.repository[k]&&p([y.repository[k]],y,j)}function h(k,y){k.selfGrammar.patterns&&Array.isArray(k.selfGrammar.patterns)&&p(k.selfGrammar.patterns,{...k,repository:k.selfGrammar.repository},y),k.selfGrammar.injections&&p(Object.values(k.selfGrammar.injections),{...k,repository:k.selfGrammar.repository},y)}function p(k,y,j){for(const _ of k){if(j.visitedRule.has(_))continue;j.visitedRule.add(_);const $=_.repository?a.mergeObjects({},y.repository,_.repository):y.repository;Array.isArray(_.patterns)&&p(_.patterns,{...y,repository:$},j);const S=_.include;if(!S)continue;const C=x(S);switch(C.kind){case 0:h({...y,selfGrammar:y.baseGrammar},j);break;case 1:h(y,j);break;case 2:d(C.ruleName,{...y,repository:$},j);break;case 3:case 4:const O=C.scopeName===y.selfGrammar.scopeName?y.selfGrammar:C.scopeName===y.baseGrammar.scopeName?y.baseGrammar:void 0;if(O){const P={baseGrammar:y.baseGrammar,selfGrammar:O,repository:$};C.kind===4?d(C.ruleName,P,j):h(P,j)}else C.kind===4?j.add(new c(C.scopeName,C.ruleName)):j.add(new l(C.scopeName))}}}i.ExternalReferenceCollector=u,i.ScopeDependencyProcessor=class{constructor(k,y){this.repo=k,this.initialScopeName=y,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const k=this.Q;this.Q=[];const y=new u;for(const j of k)f(j,this.initialScopeName,this.repo,y);for(const j of y.references)if(j instanceof l){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 g{constructor(){this.kind=0}}i.BaseReference=g;class m{constructor(){this.kind=1}}i.SelfReference=m;class v{constructor(y){this.ruleName=y,this.kind=2}}i.RelativeReference=v;class b{constructor(y){this.scopeName=y,this.kind=3}}i.TopLevelReference=b;class w{constructor(y,j){this.scopeName=y,this.ruleName=j,this.kind=4}}function x(k){if(k==="$base")return new g;if(k==="$self")return new m;const y=k.indexOf("#");if(y===-1)return new b(k);if(y===0)return new v(k.substring(1));{const j=k.substring(0,y),_=k.substring(y+1);return new w(j,_)}}i.TopLevelRepositoryReference=w,i.parseInclude=x},391:function(o,i,s){var a=this&&this.__createBinding||(Object.create?function(c,u,f,d){d===void 0&&(d=f),Object.defineProperty(c,d,{enumerable:!0,get:function(){return u[f]}})}:function(c,u,f,d){d===void 0&&(d=f),c[d]=u[f]}),l=this&&this.__exportStar||function(c,u){for(var f in c)f==="default"||Object.prototype.hasOwnProperty.call(u,f)||a(u,c,f)};Object.defineProperty(i,"__esModule",{value:!0}),l(s(947),i)},47:(o,i,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.LocalStackElement=i._tokenizeString=void 0;const a=s(350),l=s(44),c=s(792),u=s(878);class f{constructor(w,x){this.stack=w,this.stoppedEarly=x}}function d(b,w,x,k,y,j,_,$){const S=w.content.length;let C=!1,O=-1;if(_){const J=function(H,D,R,V,L,E){let U=L.beginRuleCapturedEOL?0:-1;const W=[];for(let M=L;M;M=M.pop()){const A=M.getRule(H);A instanceof c.BeginWhileRule&&W.push({rule:A,stack:M})}for(let M=W.pop();M;M=W.pop()){const{ruleScanner:A,findOptions:G}=p(M.rule,H,M.stack.endRule,R,V===U),ee=A.findNextMatchSync(D,V,G);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(A.toString())),!ee){a.DebugFlags.InDebugMode&&console.log(" popping "+M.rule.debugName+" - "+M.rule.debugWhileRegExp),L=M.stack.pop();break}if(ee.ruleId!==c.whileRuleId){L=M.stack.pop();break}ee.captureIndices&&ee.captureIndices.length&&(E.produce(M.stack,ee.captureIndices[0].start),m(H,D,R,M.stack,E,M.rule.whileCaptures,ee.captureIndices),E.produce(M.stack,ee.captureIndices[0].end),U=ee.captureIndices[0].end,ee.captureIndices[0].end>V&&(V=ee.captureIndices[0].end,R=!1))}return{stack:L,linePos:V,anchorPosition:U,isFirstLine:R}}(b,w,x,k,y,j);y=J.stack,k=J.linePos,x=J.isFirstLine,O=J.anchorPosition}const P=Date.now();for(;!C;){if($!==0&&Date.now()-P>$)return new f(y,!0);I()}return new f(y,!1);function I(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${k}: |${w.content.substr(k).replace(/\n$/,"\\n")}|`));const J=function(V,L,E,U,W,M){const A=function(Se,he,Z,te,fe,K){const me=fe.getRule(Se),{ruleScanner:Ee,findOptions:se}=h(me,Se,fe.endRule,Z,te===K);let le=0;a.DebugFlags.InDebugMode&&(le=u.performanceNow());const Me=Ee.findNextMatchSync(he,te,se);if(a.DebugFlags.InDebugMode){const Oe=u.performanceNow()-le;Oe>5&&console.warn(`Rule ${me.debugName} (${me.id}) matching took ${Oe} against '${he}'`),console.log(` scanning for (linePos: ${te}, anchorPosition: ${K})`),console.log(Ee.toString()),Me&&console.log(`matched rule id: ${Me.ruleId} from ${Me.captureIndices[0].start} to ${Me.captureIndices[0].end}`)}return Me?{captureIndices:Me.captureIndices,matchedRuleId:Me.ruleId}:null}(V,L,E,U,W,M),G=V.getInjections();if(G.length===0)return A;const ee=function(Se,he,Z,te,fe,K,me){let Ee,se=Number.MAX_VALUE,le=null,Me=0;const Oe=K.contentNameScopesList.getScopeNames();for(let Je=0,ue=Se.length;Je<ue;Je++){const ve=Se[Je];if(!ve.matcher(Oe))continue;const We=he.getRule(ve.ruleId),{ruleScanner:B,findOptions:Y}=h(We,he,null,te,fe===me),re=B.findNextMatchSync(Z,fe,Y);if(!re)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${ve.debugSelector}`),console.log(B.toString()));const pe=re.captureIndices[0].start;if(!(pe>=se)&&(se=pe,le=re.captureIndices,Ee=re.ruleId,Me=ve.priority,se===fe))break}return le?{priorityMatch:Me===-1,captureIndices:le,matchedRuleId:Ee}:null}(G,V,L,E,U,W,M);if(!ee)return A;if(!A)return ee;const be=A.captureIndices[0].start,we=ee.captureIndices[0].start;return we<be||ee.priorityMatch&&we===be?ee:A}(b,w,x,k,y,O);if(!J)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),j.produce(y,S),void(C=!0);const H=J.captureIndices,D=J.matchedRuleId,R=!!(H&&H.length>0)&&H[0].end>k;if(D===c.endRuleId){const V=y.getRule(b);a.DebugFlags.InDebugMode&&console.log(" popping "+V.debugName+" - "+V.debugEndRegExp),j.produce(y,H[0].start),y=y.withContentNameScopesList(y.nameScopesList),m(b,w,x,y,j,V.endCaptures,H),j.produce(y,H[0].end);const L=y;if(y=y.parent,O=L.getAnchorPos(),!R&&L.getEnterPos()===k)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),y=L,j.produce(y,S),void(C=!0)}else{const V=b.getRule(D);j.produce(y,H[0].start);const L=y,E=V.getName(w.content,H),U=y.contentNameScopesList.pushAttributed(E,b);if(y=y.push(D,k,O,H[0].end===S,null,U,U),V instanceof c.BeginEndRule){const W=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+W.debugName+" - "+W.debugBeginRegExp),m(b,w,x,y,j,W.beginCaptures,H),j.produce(y,H[0].end),O=H[0].end;const M=W.getContentName(w.content,H),A=U.pushAttributed(M,b);if(y=y.withContentNameScopesList(A),W.endHasBackReferences&&(y=y.withEndRule(W.getEndWithResolvedBackReferences(w.content,H))),!R&&L.hasSameRuleAs(y))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),y=y.pop(),j.produce(y,S),void(C=!0)}else if(V instanceof c.BeginWhileRule){const W=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+W.debugName),m(b,w,x,y,j,W.beginCaptures,H),j.produce(y,H[0].end),O=H[0].end;const M=W.getContentName(w.content,H),A=U.pushAttributed(M,b);if(y=y.withContentNameScopesList(A),W.whileHasBackReferences&&(y=y.withEndRule(W.getWhileWithResolvedBackReferences(w.content,H))),!R&&L.hasSameRuleAs(y))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),y=y.pop(),j.produce(y,S),void(C=!0)}else{const W=V;if(a.DebugFlags.InDebugMode&&console.log(" matched "+W.debugName+" - "+W.debugMatchRegExp),m(b,w,x,y,j,W.captures,H),j.produce(y,H[0].end),y=y.pop(),!R)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),y=y.safePop(),j.produce(y,S),void(C=!0)}}H[0].end>k&&(k=H[0].end,x=!1)}}function h(b,w,x,k,y){return a.UseOnigurumaFindOptions?{ruleScanner:b.compile(w,x),findOptions:g(k,y)}:{ruleScanner:b.compileAG(w,x,k,y),findOptions:0}}function p(b,w,x,k,y){return a.UseOnigurumaFindOptions?{ruleScanner:b.compileWhile(w,x),findOptions:g(k,y)}:{ruleScanner:b.compileWhileAG(w,x,k,y),findOptions:0}}function g(b,w){let x=0;return b||(x|=1),w||(x|=4),x}function m(b,w,x,k,y,j,_){if(j.length===0)return;const $=w.content,S=Math.min(j.length,_.length),C=[],O=_[0].end;for(let P=0;P<S;P++){const I=j[P];if(I===null)continue;const J=_[P];if(J.length===0)continue;if(J.start>O)break;for(;C.length>0&&C[C.length-1].endPos<=J.start;)y.produceFromScopes(C[C.length-1].scopes,C[C.length-1].endPos),C.pop();if(C.length>0?y.produceFromScopes(C[C.length-1].scopes,J.start):y.produce(k,J.start),I.retokenizeCapturedWithRuleId){const D=I.getName($,_),R=k.contentNameScopesList.pushAttributed(D,b),V=I.getContentName($,_),L=R.pushAttributed(V,b),E=k.push(I.retokenizeCapturedWithRuleId,J.start,-1,!1,null,R,L),U=b.createOnigString($.substring(0,J.end));d(b,U,x&&J.start===0,J.start,E,y,!1,0),l.disposeOnigString(U);continue}const H=I.getName($,_);if(H!==null){const D=(C.length>0?C[C.length-1].scopes:k.contentNameScopesList).pushAttributed(H,b);C.push(new v(D,J.end))}}for(;C.length>0;)y.produceFromScopes(C[C.length-1].scopes,C[C.length-1].endPos),C.pop()}i._tokenizeString=d;class v{constructor(w,x){this.scopes=w,this.endPos=x}}i.LocalStackElement=v},974:(o,i)=>{function s(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 a(u),p=new l,g=0,m=null,v=[],b=[];function w(){v.push(g),b.push(m)}function x(){g=v.pop(),m=b.pop()}function k(y){s(h,y)}for(;c(h,p);){if(g===0){if(m!==null&&k("too many constructs in root"),p.type===3){m={},d&&(m.$vscodeTextmateLocation=p.toLocation(f)),w(),g=1;continue}if(p.type===2){m=[],w(),g=4;continue}k("unexpected token in root")}if(g===2){if(p.type===5){x();continue}if(p.type===7){g=3;continue}k("expected , or }")}if(g===1||g===3){if(g===1&&p.type===5){x();continue}if(p.type===1){let y=p.value;if(c(h,p)&&p.type===6||k("expected colon"),c(h,p)||k("expected value"),g=2,p.type===1){m[y]=p.value;continue}if(p.type===8){m[y]=null;continue}if(p.type===9){m[y]=!0;continue}if(p.type===10){m[y]=!1;continue}if(p.type===11){m[y]=parseFloat(p.value);continue}if(p.type===2){let j=[];m[y]=j,w(),g=4,m=j;continue}if(p.type===3){let j={};d&&(j.$vscodeTextmateLocation=p.toLocation(f)),m[y]=j,w(),g=1,m=j;continue}}k("unexpected token in dict")}if(g===5){if(p.type===4){x();continue}if(p.type===7){g=6;continue}k("expected , or ]")}if(g===4||g===6){if(g===4&&p.type===4){x();continue}if(g=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 y=[];m.push(y),w(),g=4,m=y;continue}if(p.type===3){let y={};d&&(y.$vscodeTextmateLocation=p.toLocation(f)),m.push(y),w(),g=1,m=y;continue}k("unexpected token in array")}k("unknown state")}return b.length!==0&&k("unclosed constructs"),m};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class l{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 c(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,g=u.len,m=u.line,v=u.char;for(;;){if(p>=g)return!1;if(d=h.charCodeAt(p),d!==32&&d!==9&&d!==13){if(d!==10)break;p++,m++,v=0}else p++,v++}if(f.offset=p,f.line=m,f.char=v,d===34){for(f.type=1,p++,v++;;){if(p>=g)return!1;if(d=h.charCodeAt(p),p++,v++,d!==92){if(d===34)break}else p++,v++}f.value=h.substring(f.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(b,w)=>String.fromCodePoint(parseInt(w,16))).replace(/\\(.)/g,(b,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:s(u,"invalid escape sequence")}throw new Error("unreachable")})}else if(d===91)f.type=2,p++,v++;else if(d===123)f.type=3,p++,v++;else if(d===93)f.type=4,p++,v++;else if(d===125)f.type=5,p++,v++;else if(d===58)f.type=6,p++,v++;else if(d===44)f.type=7,p++,v++;else if(d===110){if(f.type=8,p++,v++,d=h.charCodeAt(p),d!==117||(p++,v++,d=h.charCodeAt(p),d!==108)||(p++,v++,d=h.charCodeAt(p),d!==108))return!1;p++,v++}else if(d===116){if(f.type=9,p++,v++,d=h.charCodeAt(p),d!==114||(p++,v++,d=h.charCodeAt(p),d!==117)||(p++,v++,d=h.charCodeAt(p),d!==101))return!1;p++,v++}else if(d===102){if(f.type=10,p++,v++,d=h.charCodeAt(p),d!==97||(p++,v++,d=h.charCodeAt(p),d!==108)||(p++,v++,d=h.charCodeAt(p),d!==115)||(p++,v++,d=h.charCodeAt(p),d!==101))return!1;p++,v++}else for(f.type=11;;){if(p>=g)return!1;if(d=h.charCodeAt(p),!(d===46||d>=48&&d<=57||d===101||d===69||d===45||d===43))break;p++,v++}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=v,!0}},787:function(o,i,s){var a=this&&this.__createBinding||(Object.create?function(p,g,m,v){v===void 0&&(v=m),Object.defineProperty(p,v,{enumerable:!0,get:function(){return g[m]}})}:function(p,g,m,v){v===void 0&&(v=m),p[v]=g[m]}),l=this&&this.__exportStar||function(p,g){for(var m in p)m==="default"||Object.prototype.hasOwnProperty.call(g,m)||a(g,p,m)};Object.defineProperty(i,"__esModule",{value:!0}),i.parseRawGrammar=i.INITIAL=i.Registry=void 0;const c=s(391),u=s(50),f=s(652),d=s(583),h=s(965);l(s(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,g){this._syncRegistry.setTheme(d.Theme.createFromRawTheme(p,g))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,g,m){return this.loadGrammarWithConfiguration(p,g,{embeddedLanguages:m})}loadGrammarWithConfiguration(p,g,m){return this._loadGrammar(p,g,m.embeddedLanguages,m.tokenTypes,new c.BalancedBracketSelectors(m.balancedBracketSelectors||[],m.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,g,m,v,b){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,g,m,v,b)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const g=await this._options.loadGrammar(p);if(g){const m=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(g,m)}}async addGrammar(p,g=[],m=0,v=null){return this._syncRegistry.addGrammar(p,g),await this._grammarForScopeName(p.scopeName,m,v)}_grammarForScopeName(p,g=0,m=null,v=null,b=null){return this._syncRegistry.grammarForScopeName(p,g,m,v,b)}},i.INITIAL=c.StateStack.NULL,i.parseRawGrammar=u.parseRawGrammar},736:(o,i)=>{function s(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(i,"__esModule",{value:!0}),i.createMatchers=void 0,i.createMatchers=function(a,l){const c=[],u=function(p){let g=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,m=g.exec(p);return{next:()=>{if(!m)return null;const v=m[0];return m=g.exec(p),v}}}(a);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 g=h();if(c.push({matcher:g,priority:p}),f!==",")break;f=u.next()}return c;function d(){if(f==="-"){f=u.next();const p=d();return g=>!!p&&!p(g)}if(f==="("){f=u.next();const p=function(){const g=[];let m=h();for(;m&&(g.push(m),f==="|"||f===",");){do f=u.next();while(f==="|"||f===",");m=h()}return v=>g.some(b=>b(v))}();return f===")"&&(f=u.next()),p}if(s(f)){const p=[];do p.push(f),f=u.next();while(s(f));return g=>l(p,g)}return null}function h(){const p=[];let g=d();for(;g;)p.push(g),g=d();return m=>p.every(v=>v(m))}}},44:(o,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.disposeOnigString=void 0,i.disposeOnigString=function(s){typeof s.dispose=="function"&&s.dispose()}},50:(o,i,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.parseRawGrammar=void 0;const a=s(69),l=s(350),c=s(974);i.parseRawGrammar=function(u,f=null){return f!==null&&/\.json$/.test(f)?(d=u,h=f,l.DebugFlags.InDebugMode?c.parseJSON(d,h,!0):JSON.parse(d)):function(p,g){return l.DebugFlags.InDebugMode?a.parseWithLocation(p,g,"$vscodeTextmateLocation"):a.parsePLIST(p)}(u,f);var d,h}},69:(o,i)=>{function s(a,l,c){const u=a.length;let f=0,d=1,h=0;function p(ee){if(c===null)f+=ee;else for(;ee>0;)a.charCodeAt(f)===10?(f++,d++,h=0):(f++,h++),ee--}function g(ee){c===null?f=ee:p(ee-f)}function m(){for(;f<u;){let ee=a.charCodeAt(f);if(ee!==32&&ee!==9&&ee!==13&&ee!==10)break;p(1)}}function v(ee){return a.substr(f,ee.length)===ee&&(p(ee.length),!0)}function b(ee){let be=a.indexOf(ee,f);g(be!==-1?be+ee.length:u)}function w(ee){let be=a.indexOf(ee,f);if(be!==-1){let we=a.substring(f,be);return g(be+ee.length),we}{let we=a.substr(f);return g(u),we}}u>0&&a.charCodeAt(0)===65279&&(f=1);let x=0,k=null,y=[],j=[],_=null;function $(ee,be){y.push(x),j.push(k),x=ee,k=be}function S(){if(y.length===0)return C("illegal state stack");x=y.pop(),k=j.pop()}function C(ee){throw new Error("Near offset "+f+": "+ee+" ~~~"+a.substr(f,50)+"~~~")}const O=function(){if(_===null)return C("missing <key>");let ee={};c!==null&&(ee[c]={filename:l,line:d,char:h}),k[_]=ee,_=null,$(1,ee)},P=function(){if(_===null)return C("missing <key>");let ee=[];k[_]=ee,_=null,$(2,ee)},I=function(){let ee={};c!==null&&(ee[c]={filename:l,line:d,char:h}),k.push(ee),$(1,ee)},J=function(){let ee=[];k.push(ee),$(2,ee)};function H(){if(x!==1)return C("unexpected </dict>");S()}function D(){return x===1||x!==2?C("unexpected </array>"):void S()}function R(ee){if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function V(ee){if(isNaN(ee))return C("cannot parse float");if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function L(ee){if(isNaN(ee))return C("cannot parse integer");if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function E(ee){if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function U(ee){if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function W(ee){if(x===1){if(_===null)return C("missing <key>");k[_]=ee,_=null}else x===2?k.push(ee):k=ee}function M(){let ee=w(">"),be=!1;return ee.charCodeAt(ee.length-1)===47&&(be=!0,ee=ee.substring(0,ee.length-1)),{name:ee.trim(),isClosed:be}}function A(ee){if(ee.isClosed)return"";let be=w("</");return b(">"),be.replace(/&#([0-9]+);/g,function(we,Se){return String.fromCodePoint(parseInt(Se,10))}).replace(/&#x([0-9a-f]+);/g,function(we,Se){return String.fromCodePoint(parseInt(Se,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(we){switch(we){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return we})}for(;f<u&&(m(),!(f>=u));){const ee=a.charCodeAt(f);if(p(1),ee!==60)return C("expected <");if(f>=u)return C("unexpected end of input");const be=a.charCodeAt(f);if(be===63){p(1),b("?>");continue}if(be===33){if(p(1),v("--")){b("-->");continue}b(">");continue}if(be===47){if(p(1),m(),v("plist")){b(">");continue}if(v("dict")){b(">"),H();continue}if(v("array")){b(">"),D();continue}return C("unexpected closed tag")}let we=M();switch(we.name){case"dict":x===1?O():x===2?I():(k={},c!==null&&(k[c]={filename:l,line:d,char:h}),$(1,k)),we.isClosed&&H();continue;case"array":x===1?P():x===2?J():(k=[],$(2,k)),we.isClosed&&D();continue;case"key":G=A(we),x!==1?C("unexpected <key>"):_!==null?C("too many <key>"):_=G;continue;case"string":R(A(we));continue;case"real":V(parseFloat(A(we)));continue;case"integer":L(parseInt(A(we),10));continue;case"date":E(new Date(A(we)));continue;case"data":U(A(we));continue;case"true":A(we),W(!0);continue;case"false":A(we),W(!1);continue}if(!/^plist/.test(we.name))return C("unexpected opened tag "+we.name)}var G;return k}Object.defineProperty(i,"__esModule",{value:!0}),i.parsePLIST=i.parseWithLocation=void 0,i.parseWithLocation=function(a,l,c){return s(a,l,c)},i.parsePLIST=function(a){return s(a,null,null)}},652:(o,i,s)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.SyncRegistry=void 0;const a=s(391);i.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,u,f,d){if(!this._grammars.has(l)){let h=this._rawGrammars.get(l);if(!h)return null;this._grammars.set(l,a.createGrammar(l,h,c,u,f,d,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(o,i,s)=>{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 a=s(878),l=s(965),c=/\\(\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(y,j,_,$){this.$location=y,this.id=j,this._name=_||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=$||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const y=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${y}`}getName(y,j){return this._nameIsCapturing&&this._name!==null&&y!==null&&j!==null?a.RegexSource.replaceCaptures(this._name,y,j):this._name}getContentName(y,j){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,y,j):this._contentName}}i.Rule=f;class d extends f{constructor(y,j,_,$,S){super(y,j,_,$),this.retokenizeCapturedWithRuleId=S}dispose(){}collectPatterns(y,j){throw new Error("Not supported!")}compile(y,j){throw new Error("Not supported!")}compileAG(y,j,_,$){throw new Error("Not supported!")}}i.CaptureRule=d;class h extends f{constructor(y,j,_,$,S){super(y,j,_,null),this._match=new b($,this.id),this.captures=S,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(y,j){j.push(this._match)}compile(y,j){return this._getCachedCompiledPatterns(y).compile(y)}compileAG(y,j,_,$){return this._getCachedCompiledPatterns(y).compileAG(y,_,$)}_getCachedCompiledPatterns(y){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(y,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}i.MatchRule=h;class p extends f{constructor(y,j,_,$,S){super(y,j,_,$),this.patterns=S.patterns,this.hasMissingPatterns=S.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(y,j){for(const _ of this.patterns)y.getRule(_).collectPatterns(y,j)}compile(y,j){return this._getCachedCompiledPatterns(y).compile(y)}compileAG(y,j,_,$){return this._getCachedCompiledPatterns(y).compileAG(y,_,$)}_getCachedCompiledPatterns(y){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new w,this.collectPatterns(y,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}i.IncludeOnlyRule=p;class g extends f{constructor(y,j,_,$,S,C,O,P,I,J){super(y,j,_,$),this._begin=new b(S,this.id),this.beginCaptures=C,this._end=new b(O||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=P,this.applyEndPatternLast=I||!1,this.patterns=J.patterns,this.hasMissingPatterns=J.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(y,j){return this._end.resolveBackReferences(y,j)}collectPatterns(y,j){j.push(this._begin)}compile(y,j){return this._getCachedCompiledPatterns(y,j).compile(y)}compileAG(y,j,_,$){return this._getCachedCompiledPatterns(y,j).compileAG(y,_,$)}_getCachedCompiledPatterns(y,j){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const _ of this.patterns)y.getRule(_).collectPatterns(y,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=g;class m extends f{constructor(y,j,_,$,S,C,O,P,I){super(y,j,_,$),this._begin=new b(S,this.id),this.beginCaptures=C,this.whileCaptures=P,this._while=new b(O,i.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=I.patterns,this.hasMissingPatterns=I.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(y,j){return this._while.resolveBackReferences(y,j)}collectPatterns(y,j){j.push(this._begin)}compile(y,j){return this._getCachedCompiledPatterns(y).compile(y)}compileAG(y,j,_,$){return this._getCachedCompiledPatterns(y).compileAG(y,_,$)}_getCachedCompiledPatterns(y){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new w;for(const j of this.patterns)y.getRule(j).collectPatterns(y,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(y,j){return this._getCachedCompiledWhilePatterns(y,j).compile(y)}compileWhileAG(y,j,_,$){return this._getCachedCompiledWhilePatterns(y,j).compileAG(y,_,$)}_getCachedCompiledWhilePatterns(y,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 v{static createCaptureRule(y,j,_,$,S){return y.registerRule(C=>new d(j,C,_,$,S))}static getCompiledRuleId(y,j,_){return y.id||j.registerRule($=>{if(y.id=$,y.match)return new h(y.$vscodeTextmateLocation,y.id,y.name,y.match,v._compileCaptures(y.captures,j,_));if(y.begin===void 0){y.repository&&(_=a.mergeObjects({},_,y.repository));let S=y.patterns;return S===void 0&&y.include&&(S=[{include:y.include}]),new p(y.$vscodeTextmateLocation,y.id,y.name,y.contentName,v._compilePatterns(S,j,_))}return y.while?new m(y.$vscodeTextmateLocation,y.id,y.name,y.contentName,y.begin,v._compileCaptures(y.beginCaptures||y.captures,j,_),y.while,v._compileCaptures(y.whileCaptures||y.captures,j,_),v._compilePatterns(y.patterns,j,_)):new g(y.$vscodeTextmateLocation,y.id,y.name,y.contentName,y.begin,v._compileCaptures(y.beginCaptures||y.captures,j,_),y.end,v._compileCaptures(y.endCaptures||y.captures,j,_),y.applyEndPatternLast,v._compilePatterns(y.patterns,j,_))}),y.id}static _compileCaptures(y,j,_){let $=[];if(y){let S=0;for(const C in y){if(C==="$vscodeTextmateLocation")continue;const O=parseInt(C,10);O>S&&(S=O)}for(let C=0;C<=S;C++)$[C]=null;for(const C in y){if(C==="$vscodeTextmateLocation")continue;const O=parseInt(C,10);let P=0;y[C].patterns&&(P=v.getCompiledRuleId(y[C],j,_)),$[O]=v.createCaptureRule(j,y[C].$vscodeTextmateLocation,y[C].name,y[C].contentName,P)}}return $}static _compilePatterns(y,j,_){let $=[];if(y)for(let S=0,C=y.length;S<C;S++){const O=y[S];let P=-1;if(O.include){const I=l.parseInclude(O.include);switch(I.kind){case 0:case 1:P=v.getCompiledRuleId(_[O.include],j,_);break;case 2:let J=_[I.ruleName];J&&(P=v.getCompiledRuleId(J,j,_));break;case 3:case 4:const H=I.scopeName,D=I.kind===4?I.ruleName:null,R=j.getExternalGrammar(H,_);if(R)if(D){let V=R.repository[D];V&&(P=v.getCompiledRuleId(V,j,R.repository))}else P=v.getCompiledRuleId(R.repository.$self,j,R.repository)}}else P=v.getCompiledRuleId(O,j,_);if(P!==-1){const I=j.getRule(P);let J=!1;if((I instanceof p||I instanceof g||I instanceof m)&&I.hasMissingPatterns&&I.patterns.length===0&&(J=!0),J)continue;$.push(P)}}return{patterns:$,hasMissingPatterns:(y?y.length:0)!==$.length}}}i.RuleFactory=v;class b{constructor(y,j){if(y){const _=y.length;let $=0,S=[],C=!1;for(let O=0;O<_;O++)if(y.charAt(O)==="\\"&&O+1<_){const P=y.charAt(O+1);P==="z"?(S.push(y.substring($,O)),S.push("$(?!\\n)(?<!\\n)"),$=O+2):P!=="A"&&P!=="G"||(C=!0),O++}this.hasAnchor=C,$===0?this.source=y:(S.push(y.substring($,_)),this.source=S.join(""))}else this.hasAnchor=!1,this.source=y;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=j,this.hasBackReferences=c.test(this.source)}clone(){return new b(this.source,this.ruleId)}setSource(y){this.source!==y&&(this.source=y,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(y,j){let _=j.map($=>y.substring($.start,$.end));return u.lastIndex=0,this.source.replace(u,($,S)=>a.escapeRegExpCharacters(_[parseInt(S,10)]||""))}_buildAnchorCache(){let y,j,_,$,S=[],C=[],O=[],P=[];for(y=0,j=this.source.length;y<j;y++)_=this.source.charAt(y),S[y]=_,C[y]=_,O[y]=_,P[y]=_,_==="\\"&&y+1<j&&($=this.source.charAt(y+1),$==="A"?(S[y+1]="￿",C[y+1]="￿",O[y+1]="A",P[y+1]="A"):$==="G"?(S[y+1]="￿",C[y+1]="G",O[y+1]="￿",P[y+1]="G"):(S[y+1]=$,C[y+1]=$,O[y+1]=$,P[y+1]=$),y++);return{A0_G0:S.join(""),A0_G1:C.join(""),A1_G0:O.join(""),A1_G1:P.join("")}}resolveAnchors(y,j){return this.hasAnchor&&this._anchorCache?y?j?this._anchorCache.A1_G1:this._anchorCache.A1_G0:j?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}i.RegExpSource=b;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(y){this._items.push(y),this._hasAnchors=this._hasAnchors||y.hasAnchor}unshift(y){this._items.unshift(y),this._hasAnchors=this._hasAnchors||y.hasAnchor}length(){return this._items.length}setSource(y,j){this._items[y].source!==j&&(this._disposeCaches(),this._items[y].setSource(j))}compile(y){if(!this._cached){let j=this._items.map(_=>_.source);this._cached=new x(y,j,this._items.map(_=>_.ruleId))}return this._cached}compileAG(y,j,_){return this._hasAnchors?j?_?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(y,j,_)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(y,j,_)),this._anchorCache.A1_G0):_?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(y,j,_)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(y,j,_)),this._anchorCache.A0_G0):this.compile(y)}_resolveAnchors(y,j,_){let $=this._items.map(S=>S.resolveAnchors(j,_));return new x(y,$,this._items.map(S=>S.ruleId))}}i.RegExpSourceList=w;class x{constructor(y,j,_){this.regExps=j,this.rules=_,this.scanner=y.createOnigScanner(j)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const y=[];for(let j=0,_=this.rules.length;j<_;j++)y.push(" - "+this.rules[j]+": "+this.regExps[j]);return y.join(`
4
4
  `)}findNextMatchSync(y,j,_){const $=this.scanner.findNextMatchSync(y,j,_);return $?{ruleId:this.rules[$.index],captureIndices:$.captureIndices}:null}}i.CompiledRule=x},583:(o,i,s)=>{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 a=s(878);class l{constructor(b,w,x){this._colorMap=b,this._defaults=w,this._root=x,this._cachedMatchRoot=new a.CachedFn(k=>this._root.match(k))}static createFromRawTheme(b,w){return this.createFromParsedTheme(d(b),w)}static createFromParsedTheme(b,w){return function(x,k){x.sort((O,P)=>{let I=a.strcmp(O.scope,P.scope);return I!==0?I:(I=a.strArrCmp(O.parentScopes,P.parentScopes),I!==0?I:O.index-P.index)});let y=0,j="#000000",_="#ffffff";for(;x.length>=1&&x[0].scope==="";){let O=x.shift();O.fontStyle!==-1&&(y=O.fontStyle),O.foreground!==null&&(j=O.foreground),O.background!==null&&(_=O.background)}let $=new p(k),S=new f(y,$.getId(j),$.getId(_)),C=new m(new g(0,null,-1,0,0),[]);for(let O=0,P=x.length;O<P;O++){let I=x[O];C.insert(0,I.scope,I.parentScopes,I.fontStyle,$.getId(I.foreground),$.getId(I.background))}return new l($,S,C)}(b,w)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(b){if(b===null)return this._defaults;const w=b.scopeName,x=this._cachedMatchRoot.get(w).find(k=>function(y,j){if(j===null)return!0;let _=0,$=j[_];for(;y;){if(u(y.scopeName,$)){if(_++,_===j.length)return!0;$=j[_]}y=y.parent}return!1}(b.parent,k.parentScopes));return x?new f(x.fontStyle,x.foreground,x.background):null}}i.Theme=l;class c{constructor(b,w){this.parent=b,this.scopeName=w}static from(...b){let w=null;for(let x=0;x<b.length;x++)w=new c(w,b[x]);return w}push(b){return new c(this,b)}getSegments(){let b=this;const w=[];for(;b;)w.push(b.scopeName),b=b.parent;return w.reverse(),w}toString(){return this.getSegments().join(" ")}}function u(v,b){return b===v||v.startsWith(b)&&v[b.length]==="."}i.ScopeStack=c;class f{constructor(b,w,x){this.fontStyle=b,this.foregroundId=w,this.backgroundId=x}}function d(v){if(!v)return[];if(!v.settings||!Array.isArray(v.settings))return[];let b=v.settings,w=[],x=0;for(let k=0,y=b.length;k<y;k++){let j,_=b[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 $=-1;if(typeof _.settings.fontStyle=="string"){$=0;let O=_.settings.fontStyle.split(" ");for(let P=0,I=O.length;P<I;P++)switch(O[P]){case"italic":$|=1;break;case"bold":$|=2;break;case"underline":$|=4;break;case"strikethrough":$|=8}}let S=null;typeof _.settings.foreground=="string"&&a.isValidHexColor(_.settings.foreground)&&(S=_.settings.foreground);let C=null;typeof _.settings.background=="string"&&a.isValidHexColor(_.settings.background)&&(C=_.settings.background);for(let O=0,P=j.length;O<P;O++){let I=j[O].trim().split(" "),J=I[I.length-1],H=null;I.length>1&&(H=I.slice(0,I.length-1),H.reverse()),w[x++]=new h(J,H,k,$,S,C)}}return w}i.StyleAttributes=f,i.parseTheme=d;class h{constructor(b,w,x,k,y,j){this.scope=b,this.parentScopes=w,this.index=x,this.fontStyle=k,this.foreground=y,this.background=j}}i.ParsedThemeRule=h,i.fontStyleToString=function(v){if(v===-1)return"not set";let b="";return 1&v&&(b+="italic "),2&v&&(b+="bold "),4&v&&(b+="underline "),8&v&&(b+="strikethrough "),b===""&&(b="none"),b.trim()};class p{constructor(b){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(b)){this._isFrozen=!0;for(let w=0,x=b.length;w<x;w++)this._color2id[b[w]]=w,this._id2color[w]=b[w]}else this._isFrozen=!1}getId(b){if(b===null)return 0;b=b.toUpperCase();let w=this._color2id[b];if(w)return w;if(this._isFrozen)throw new Error(`Missing color in color map - ${b}`);return w=++this._lastColorId,this._color2id[b]=w,this._id2color[w]=b,w}getColorMap(){return this._id2color.slice(0)}}i.ColorMap=p;class g{constructor(b,w,x,k,y){this.scopeDepth=b,this.parentScopes=w,this.fontStyle=x,this.foreground=k,this.background=y}clone(){return new g(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(b){let w=[];for(let x=0,k=b.length;x<k;x++)w[x]=b[x].clone();return w}acceptOverwrite(b,w,x,k){this.scopeDepth>b?console.log("how did this happen?"):this.scopeDepth=b,w!==-1&&(this.fontStyle=w),x!==0&&(this.foreground=x),k!==0&&(this.background=k)}}i.ThemeTrieElementRule=g;class m{constructor(b,w=[],x={}){this._mainRule=b,this._children=x,this._rulesWithParentScopes=w}static _sortBySpecificity(b){return b.length===1||b.sort(this._cmpBySpecificity),b}static _cmpBySpecificity(b,w){if(b.scopeDepth===w.scopeDepth){const x=b.parentScopes,k=w.parentScopes;let y=x===null?0:x.length,j=k===null?0:k.length;if(y===j)for(let _=0;_<y;_++){const $=x[_].length,S=k[_].length;if($!==S)return S-$}return j-y}return w.scopeDepth-b.scopeDepth}match(b){if(b==="")return m._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let w,x,k=b.indexOf(".");return k===-1?(w=b,x=""):(w=b.substring(0,k),x=b.substring(k+1)),this._children.hasOwnProperty(w)?this._children[w].match(x):m._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(b,w,x,k,y,j){if(w==="")return void this._doInsertHere(b,x,k,y,j);let _,$,S,C=w.indexOf(".");C===-1?(_=w,$=""):(_=w.substring(0,C),$=w.substring(C+1)),this._children.hasOwnProperty(_)?S=this._children[_]:(S=new m(this._mainRule.clone(),g.cloneArr(this._rulesWithParentScopes)),this._children[_]=S),S.insert(b+1,$,x,k,y,j)}_doInsertHere(b,w,x,k,y){if(w!==null){for(let j=0,_=this._rulesWithParentScopes.length;j<_;j++){let $=this._rulesWithParentScopes[j];if(a.strArrCmp($.parentScopes,w)===0)return void $.acceptOverwrite(b,x,k,y)}x===-1&&(x=this._mainRule.fontStyle),k===0&&(k=this._mainRule.foreground),y===0&&(y=this._mainRule.background),this._rulesWithParentScopes.push(new g(b,w,x,k,y))}else this._mainRule.acceptOverwrite(b,x,k,y)}}i.ThemeTrieElement=m},878:(o,i)=>{function s(c){return Array.isArray(c)?function(u){let f=[];for(let d=0,h=u.length;d<h;d++)f[d]=s(u[d]);return f}(c):typeof c=="object"?function(u){let f={};for(let d in u)f[d]=s(u[d]);return f}(c):c}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(c){return s(c)},i.mergeObjects=function(c,...u){return u.forEach(f=>{for(let d in f)c[d]=f[d]}),c},i.basename=function c(u){const f=~u.lastIndexOf("/")||~u.lastIndexOf("\\");return f===0?u:~f==u.length-1?c(u.substring(0,u.length-1)):u.substr(1+~f)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,u){return c<u?-1:c>u?1:0}i.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,u,f){return c.replace(a,(d,h,p,g)=>{let m=f[parseInt(h||p,10)];if(!m)return d;{let v=u.substring(m.start,m.end);for(;v[0]===".";)v=v.substring(1);switch(g){case"downcase":return v.toLowerCase();case"upcase":return v.toUpperCase();default:return v}}})}},i.strcmp=l,i.strArrCmp=function(c,u){if(c===null&&u===null)return 0;if(!c)return-1;if(!u)return 1;let f=c.length,d=u.length;if(f===d){for(let h=0;h<f;h++){let p=l(c[h],u[h]);if(p!==0)return p}return 0}return f-d},i.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},i.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},i.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const u=this.fn(c);return this.cache.set(c,u),u}},i.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function o(i){var s=r[i];if(s!==void 0)return s.exports;var a=r[i]={exports:{}};return n[i].call(a.exports,a,a.exports,o),a.exports}(787)})()})})(vP);var yP=vP.exports;const j0=[{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 nl=(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))(nl||{});class Vo{static toBinaryStr(e){let n=e.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(e){let n=Vo.getLanguageId(e),r=Vo.getTokenType(e),o=Vo.getFontStyle(e),i=Vo.getForeground(e),s=Vo.getBackground(e);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:s})}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,s){let a=Vo.getLanguageId(e),l=Vo.getTokenType(e),c=Vo.getFontStyle(e),u=Vo.getForeground(e),f=Vo.getBackground(e),d=Vo.containsBalancedBrackets(e)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),o!==-1&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(a<<0|l<<8|c<<11|d<<10|u<<15|f<<24)>>>0}}function RW(t){return t.endsWith("/")||t.endsWith("\\")?t.slice(0,-1):t}function IW(t){return t.startsWith("./")?t.slice(2):t}function bP(t){const e=t.split(/[\/\\]/g);return e.slice(0,e.length-1)}function wP(...t){return t.map(RW).map(IW).join("/")}function LW(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 DW(t,e=!1){const n=t.length;let r=0,o="",i=0,s=16,a=0,l=0,c=0,u=0,f=0;function d(w,x){let k=0,y=0;for(;k<w||!x;){let j=t.charCodeAt(r);if(j>=48&&j<=57)y=y*16+j-48;else if(j>=65&&j<=70)y=y*16+j-65+10;else if(j>=97&&j<=102)y=y*16+j-97+10;else break;r++,k++}return k<w&&(y=-1),y}function h(w){r=w,o="",i=0,s=16,f=0}function p(){let w=r;if(t.charCodeAt(r)===48)r++;else for(r++;r<t.length&&su(t.charCodeAt(r));)r++;if(r<t.length&&t.charCodeAt(r)===46)if(r++,r<t.length&&su(t.charCodeAt(r)))for(r++;r<t.length&&su(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&&su(t.charCodeAt(r))){for(r++;r<t.length&&su(t.charCodeAt(r));)r++;x=r}else f=3;return t.substring(w,x)}function g(){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+=`
@@ -102,7 +102,7 @@ return query;
102
102
  Wizard`),x=ge(),te&&te.c(),k=ge(),(y=Q("div")).innerHTML='<div class="jse-label-inner svelte-l4qqoi">Query</div>',j=ge(),_=Q("textarea"),$=ge(),S=Q("div"),C=Q("div"),O=Q("div"),P=Q("div"),I=Q("button"),Pe(J.$$.fragment),H=Ze(`
103
103
  Original`),D=ge(),fe&&fe.c(),R=ge(),V=Q("div"),(L=Q("div")).innerHTML='<div class="jse-label-inner svelte-l4qqoi">Preview</div>',E=ge(),W.c(),M=ge(),A=Q("div"),G=Q("button"),ee=Ze("Transform"),T(s,"class","jse-label svelte-l4qqoi"),T(l,"class","jse-description svelte-l4qqoi"),T(u,"class","jse-label svelte-l4qqoi"),T(d,"class","jse-path svelte-l4qqoi"),T(d,"type","text"),d.readOnly=!0,T(d,"title","Selected path"),d.value=h=yn(t[1])?"(document root)":Ko(t[1]),T(v,"type","button"),T(v,"class","svelte-l4qqoi"),T(m,"class","jse-label-inner svelte-l4qqoi"),T(g,"class","jse-label svelte-l4qqoi"),T(y,"class","jse-label svelte-l4qqoi"),T(_,"class","jse-query svelte-l4qqoi"),T(_,"spellcheck","false"),_.value=t[14],T(i,"class","jse-query-contents svelte-l4qqoi"),T(I,"type","button"),T(I,"class","svelte-l4qqoi"),T(P,"class","jse-label-inner svelte-l4qqoi"),T(O,"class","jse-label svelte-l4qqoi"),T(C,"class","jse-original-data svelte-l4qqoi"),Re(C,"jse-hide",!t[17]),T(L,"class","jse-label svelte-l4qqoi"),T(V,"class","jse-preview-data svelte-l4qqoi"),T(S,"class","jse-data-contents svelte-l4qqoi"),Re(S,"jse-hide-original-data",!t[17]),T(o,"class","jse-main-contents svelte-l4qqoi"),T(G,"type","button"),T(G,"class","jse-primary svelte-l4qqoi"),G.disabled=be=!!t[18],T(A,"class","jse-actions svelte-l4qqoi"),T(r,"class","jse-modal-contents svelte-l4qqoi")},m:function(se,le){Te(e,se,le),ie(se,n,le),ie(se,r,le),q(r,o),q(o,i),q(i,s),q(i,a),q(i,l),l.innerHTML=Z,q(i,c),q(i,u),q(i,f),q(i,d),q(i,p),q(i,g),q(g,m),q(m,v),Te(b,v,null),q(v,w),q(i,x),te&&te.m(i,null),q(i,k),q(i,y),q(i,j),q(i,_),q(o,$),q(o,S),q(S,C),q(C,O),q(O,P),q(P,I),Te(J,I,null),q(I,H),q(C,D),fe&&fe.m(C,null),q(S,R),q(S,V),q(V,L),q(V,E),me[U].m(V,null),q(r,M),q(r,A),q(A,G),q(G,ee),we=!0,Se||(he=[De(v,"click",t[25]),De(_,"input",t[23]),De(I,"click",t[26]),De(G,"click",t[24]),so(e2e.call(null,G))],Se=!0)},p:function(se,le){var Me={};512&le[0]&&(Me.queryLanguages=se[9]),1&le[0]&&(Me.queryLanguageId=se[0]),e.$set(Me),(!we||1&le[0])&&Z!==(Z=se[21](se[0]).description+"")&&(l.innerHTML=Z),(!we||2&le[0]&&h!==(h=yn(se[1])?"(document root)":Ko(se[1]))&&d.value!==h)&&(d.value=h);var Oe={};65536&le[0]&&(Oe.data=se[16]?ji:rl),b.$set(Oe),se[16]?te?(te.p(se,le),65536&le[0]&&N(te,1)):((te=P5(se)).c(),N(te,1),te.m(i,k)):te&&(Fe(),F(te,1,1,function(){te=null}),qe()),(!we||16384&le[0])&&(_.value=se[14]);var Je={};131072&le[0]&&(Je.data=se[17]?ji:rl),J.$set(Je),se[17]?fe?(fe.p(se,le),131072&le[0]&&N(fe,1)):((fe=E5(se)).c(),N(fe,1),fe.m(C,null)):fe&&(Fe(),F(fe,1,1,function(){fe=null}),qe()),(!we||131072&le[0])&&Re(C,"jse-hide",!se[17]);var ue=U;(U=Ee(se))===ue?me[U].p(se,le):(Fe(),F(me[ue],1,1,function(){me[ue]=null}),qe(),(W=me[U])?W.p(se,le):(W=me[U]=K[U](se)).c(),N(W,1),W.m(V,null)),(!we||131072&le[0])&&Re(S,"jse-hide-original-data",!se[17]),(!we||262144&le[0]&&be!==(be=!!se[18]))&&(G.disabled=be)},i:function(se){we||(N(e.$$.fragment,se),N(b.$$.fragment,se),N(te),N(J.$$.fragment,se),N(fe),N(W),we=!0)},o:function(se){F(e.$$.fragment,se),F(b.$$.fragment,se),F(te),F(J.$$.fragment,se),F(fe),F(W),we=!1},d:function(se){se&&(oe(n),oe(r)),Ae(e,se),Ae(b),te&&te.d(),Ae(J),fe&&fe.d(),me[U].d(),Se=!1,Wn(he)}}}function Zxe(t){var e,n,r,o,i;return n=new wI({props:{$$slots:{default:[Kxe]},$$scope:{ctx:t}}}),{c:function(){e=Q("div"),Pe(n.$$.fragment),T(e,"class","jse-modal jse-transform svelte-l4qqoi")},m:function(s,a){ie(s,e,a),Te(n,e,null),r=!0,o||(i=so(j1.call(null,e,t[20])),o=!0)},p:function(s,a){var l={};1048575&a[0]|2048&a[1]&&(l.$$scope={dirty:a,ctx:s}),n.$set(l)},i:function(s){r||(N(n.$$.fragment,s),r=!0)},o:function(s){F(n.$$.fragment,s),r=!1},d:function(s){s&&oe(e),Ae(n),o=!1,i()}}}function e2e(t){t.focus()}function t2e(t,e,n){var r,o,i=lo("jsoneditor:TransformModal"),s=e.id,a=s===void 0?"transform-modal-"+Qd():s,l=e.json,c=e.rootPath,u=c===void 0?[]:c,f=e.indentation,d=e.escapeControlCharacters,h=e.escapeUnicodeCharacters,p=e.parser,g=e.parseMemoizeOne,m=e.validationParser,v=e.pathParser,b=e.queryLanguages,w=e.queryLanguageId,x=e.onChangeQueryLanguage,k=e.onRenderValue,y=e.onClassName,j=e.onTransform,_=ao("simple-modal").close,$="".concat(a,":").concat(it(u)),S=fd[$]||{},C=Mm.showWizard!==!1,O=Mm.showOriginal!==!1,P=S.queryOptions||{},I=w===S.queryLanguageId&&S.query?S.query:R(w).createQuery(l,S.queryOptions||{}),J=S.isManual||!1,H=void 0,D={text:""};function R(L){return b.find(function(E){return E.id===L})||b[0]}var V=ip(function(L,E){if(L===void 0)return n(19,D={text:""}),void n(18,H="Error: No JSON");try{i("previewTransform",{query:E});var U=R(w).executeQuery(L,E,p);n(19,D={json:U}),n(18,H=void 0)}catch(W){n(19,D={text:""}),n(18,H=String(W))}},300);return t.$$set=function(L){"id"in L&&n(28,a=L.id),"json"in L&&n(29,l=L.json),"rootPath"in L&&n(1,u=L.rootPath),"indentation"in L&&n(2,f=L.indentation),"escapeControlCharacters"in L&&n(3,d=L.escapeControlCharacters),"escapeUnicodeCharacters"in L&&n(4,h=L.escapeUnicodeCharacters),"parser"in L&&n(5,p=L.parser),"parseMemoizeOne"in L&&n(6,g=L.parseMemoizeOne),"validationParser"in L&&n(7,m=L.validationParser),"pathParser"in L&&n(8,v=L.pathParser),"queryLanguages"in L&&n(9,b=L.queryLanguages),"queryLanguageId"in L&&n(0,w=L.queryLanguageId),"onChangeQueryLanguage"in L&&n(30,x=L.onChangeQueryLanguage),"onRenderValue"in L&&n(10,k=L.onRenderValue),"onClassName"in L&&n(11,y=L.onClassName),"onTransform"in L&&n(31,j=L.onTransform)},t.$$.update=function(){536870914&t.$$.dirty[0]&&n(12,r=pt(l,u)),4096&t.$$.dirty[0]&&n(15,o=r?{json:r}:{text:""}),20480&t.$$.dirty[0]&&V(r,I),24577&t.$$.dirty[0]|6&t.$$.dirty[1]&&(n(32,fd[$]={queryOptions:P,query:I,queryLanguageId:w,isManual:J},fd),i("store state in memory",$,fd[$]))},[w,u,f,d,h,p,g,m,v,b,k,y,r,P,I,o,C,O,H,D,_,R,function(L){n(13,P=L),n(14,I=R(w).createQuery(l,L)),n(33,J=!1),i("updateQueryByWizard",{queryOptions:P,query:I,isManual:J})},function(L){n(14,I=L.target.value),n(33,J=!0),i("handleChangeQuery",{query:I,isManual:J})},function(){if(r===void 0)return n(19,D={text:""}),void n(18,H="Error: No JSON");try{i("handleTransform",{query:I});var L=R(w).executeQuery(r,I,p);j([{op:"replace",path:it(u),value:L}]),_()}catch(E){console.error(E),n(19,D={text:""}),n(18,H=String(E))}},function(){n(16,C=!C),Mm.showWizard=C},function(){n(17,O=!O),Mm.showOriginal=O},function(L){i("handleChangeQueryLanguage",L),n(0,w=L),x(L);var E=R(w);n(14,I=E.createQuery(l,P)),n(33,J=!1)},a,l,x,j,fd,J,function(){},function(){}]}var n2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,t2e,Zxe,Gt,{id:28,json:29,rootPath:1,indentation:2,escapeControlCharacters:3,escapeUnicodeCharacters:4,parser:5,parseMemoizeOne:6,validationParser:7,pathParser:8,queryLanguages:9,queryLanguageId:0,onChangeQueryLanguage:30,onRenderValue:10,onClassName:11,onTransform:31},Jxe,[-1,-1]),o}return lt(n)}(),du={};function r2e(t){qt(t,"svelte-qjdk97",'.jse-modal.svelte-qjdk97.svelte-qjdk97{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;background:var(--jse-modal-background, #f5f5f5);color:var(--jse-text-color, #4d4d4d)}.jse-modal.svelte-qjdk97 .svelte-select{--border:var(--jse-svelte-select-border, 1px solid #d8dbdf);--item-is-active-bg:var(--jse-item-is-active-bg, #3883fa);--border-radius:var(--jse-svelte-select-border-radius, 3px);--background:var(--jse-svelte-select-background, #fff);--padding:var(--jse-svelte-select-padding, 0 10px);--multi-select-padding:var(--jse-svelte-select-multi-select-padding, 0 10px);--font-size:var(--jse-svelte-select-font-size, var(--jse-font-size, 16px));--height:36px;--multi-item-height:28px;--multi-item-margin:2px;--multi-item-padding:2px 8px;--multi-item-border-radius:6px;--indicator-top:8px}.jse-modal.svelte-qjdk97 .jse-modal-contents.svelte-qjdk97{flex:1;display:flex;flex-direction:column;padding:20px;overflow:auto;min-width:0;min-height:0}.jse-modal.svelte-qjdk97 .jse-modal-contents .jse-actions.svelte-qjdk97{display:flex;flex-direction:row;justify-content:flex-end;padding-top:var(--jse-padding, 10px)}.jse-modal.svelte-qjdk97 .jse-modal-contents .jse-actions button.jse-primary.svelte-qjdk97{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-primary-background, var(--jse-theme-color, #3883fa));color:var(--jse-button-primary-color, #fff);padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.svelte-qjdk97 .jse-modal-contents .jse-actions button.jse-primary.svelte-qjdk97:hover{background:var(--jse-button-primary-background-highlight, var(--jse-theme-color-highlight, #5f9dff))}.jse-modal.svelte-qjdk97 .jse-modal-contents .jse-actions button.jse-primary.svelte-qjdk97:disabled{background:var(--jse-button-primary-background-disabled, #9d9d9d)}.bg.jse-modal-bg{width:100%;height:100%;top:0;left:0;background:var(--jse-overlay-background, rgba(0, 0, 0, 0.3))}.bg.jse-modal-bg .jse-modal-window-wrap{margin:0}.bg.jse-modal-bg .jse-modal-window{max-width:90%;margin:4rem auto 2rem auto;border-radius:2px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-sort{width:400px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-transform{width:1200px;height:1200px;max-height:80%;display:flex}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-jsoneditor{width:800px;height:auto;min-height:500px;max-height:calc(100vh - 6rem);display:flex}.bg.jse-modal-bg .jse-modal-container{flex:1;display:flex;flex-direction:column;padding:0}.jse-modal.jse-sort.svelte-qjdk97 table.svelte-qjdk97{width:100%;border-collapse:collapse;border-spacing:0}.jse-modal.jse-sort.svelte-qjdk97 table th.svelte-qjdk97,.jse-modal.jse-sort.svelte-qjdk97 table td.svelte-qjdk97{text-align:left;vertical-align:middle;font-weight:normal;padding-bottom:var(--jse-padding, 10px)}.jse-modal.jse-sort.svelte-qjdk97 table th input.jse-path.svelte-qjdk97,.jse-modal.jse-sort.svelte-qjdk97 table td input.jse-path.svelte-qjdk97{width:100%;box-sizing:border-box;padding:6px 16px;border:var(--jse-input-border, 1px solid #d8dbdf);border-radius:var(--jse-input-radius, 3px);font-family:inherit;font-size:inherit;background:inherit;color:inherit;outline:none}.jse-modal.jse-sort.svelte-qjdk97 table th input.jse-path.svelte-qjdk97:read-only,.jse-modal.jse-sort.svelte-qjdk97 table td input.jse-path.svelte-qjdk97:read-only{background:var(--jse-input-background-readonly, transparent)}.jse-modal.jse-sort.svelte-qjdk97 table th.svelte-qjdk97 .svelte-select input,.jse-modal.jse-sort.svelte-qjdk97 table td.svelte-qjdk97 .svelte-select input{box-sizing:border-box}.jse-modal.jse-sort.svelte-qjdk97 .jse-space.svelte-qjdk97{height:200px}.jse-modal.jse-sort.svelte-qjdk97 .jse-space .jse-error.svelte-qjdk97{color:var(--jse-error-color, #ee5341)}')}function N5(t){var e,n,r,o,i,s,a;function l(u){t[14](u)}var c={showChevron:!0,items:t[5]};return t[1]!==void 0&&(c.value=t[1]),i=new fc({props:c}),fn.push(function(){return Qi(i,"value",l)}),{c:function(){e=Q("tr"),(n=Q("th")).textContent="Property",r=ge(),o=Q("td"),Pe(i.$$.fragment),T(n,"class","svelte-qjdk97"),T(o,"class","svelte-qjdk97")},m:function(u,f){ie(u,e,f),q(e,n),q(e,r),q(e,o),Te(i,o,null),a=!0},p:function(u,f){var d={};32&f&&(d.items=u[5]),!s&&2&f&&(s=!0,d.value=u[1],Gi(function(){return s=!1})),i.$set(d)},i:function(u){a||(N(i.$$.fragment,u),a=!0)},o:function(u){F(i.$$.fragment,u),a=!1},d:function(u){u&&oe(e),Ae(i)}}}function M5(t){var e,n;return{c:function(){e=Q("div"),n=Ze(t[4]),T(e,"class","jse-error svelte-qjdk97")},m:function(r,o){ie(r,e,o),q(e,n)},p:function(r,o){16&o&&Tt(n,r[4])},d:function(r){r&&oe(e)}}}function o2e(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b,w,x,k,y,j,_,$,S,C,O,P,I,J,H,D;r=new eS({props:{title:t[3]?"Sort array items":"Sort object keys"}});var R=t[3]&&(t[5]&&((e=t[5])===null||e===void 0?void 0:e.length)>1||t[1]===void 0)&&N5(t);function V(U){t[15](U)}var L={showChevron:!0,clearable:!1,items:t[7]};t[2]!==void 0&&(L.value=t[2]),y=new fc({props:L}),fn.push(function(){return Qi(y,"value",V)});var E=t[4]&&M5(t);return{c:function(){var U;n=Q("div"),Pe(r.$$.fragment),o=ge(),i=Q("div"),s=Q("table"),(a=Q("colgroup")).innerHTML='<col width="25%"/> <col width="75%"/>',l=ge(),c=Q("tbody"),u=Q("tr"),(f=Q("th")).textContent="Path",d=ge(),h=Q("td"),p=Q("input"),m=ge(),R&&R.c(),v=ge(),b=Q("tr"),(w=Q("th")).textContent="Direction",x=ge(),k=Q("td"),Pe(y.$$.fragment),_=ge(),$=Q("div"),E&&E.c(),S=ge(),C=Q("div"),O=Q("button"),P=Ze("Sort"),T(f,"class","svelte-qjdk97"),T(p,"class","jse-path svelte-qjdk97"),T(p,"type","text"),p.readOnly=!0,T(p,"title","Selected path"),p.value=g=yn(t[0])?"(document root)":Ko(t[0]),T(h,"class","svelte-qjdk97"),T(w,"class","svelte-qjdk97"),T(k,"class","svelte-qjdk97"),T(s,"class","svelte-qjdk97"),T($,"class","jse-space svelte-qjdk97"),T(O,"type","button"),T(O,"class","jse-primary svelte-qjdk97"),O.disabled=I=!!(t[3]&&t[5]&&((U=t[5])===null||U===void 0?void 0:U.length)>1)&&!t[1],T(C,"class","jse-actions svelte-qjdk97"),T(i,"class","jse-modal-contents svelte-qjdk97"),T(n,"class","jse-modal jse-sort svelte-qjdk97")},m:function(U,W){ie(U,n,W),Te(r,n,null),q(n,o),q(n,i),q(i,s),q(s,a),q(s,l),q(s,c),q(c,u),q(u,f),q(u,d),q(u,h),q(h,p),q(c,m),R&&R.m(c,null),q(c,v),q(c,b),q(b,w),q(b,x),q(b,k),Te(y,k,null),q(i,_),q(i,$),E&&E.m($,null),q(i,S),q(i,C),q(C,O),q(O,P),J=!0,H||(D=[De(O,"click",t[8]),so(i2e.call(null,O)),so(j1.call(null,n,t[6]))],H=!0)},p:function(U,W){var M,A,G=Ft(W,1)[0],ee={};8&G&&(ee.title=U[3]?"Sort array items":"Sort object keys"),r.$set(ee),(!J||1&G&&g!==(g=yn(U[0])?"(document root)":Ko(U[0]))&&p.value!==g)&&(p.value=g),U[3]&&(U[5]&&((M=U[5])===null||M===void 0?void 0:M.length)>1||U[1]===void 0)?R?(R.p(U,G),42&G&&N(R,1)):((R=N5(U)).c(),N(R,1),R.m(c,v)):R&&(Fe(),F(R,1,1,function(){R=null}),qe());var be={};!j&&4&G&&(j=!0,be.value=U[2],Gi(function(){return j=!1})),y.$set(be),U[4]?E?E.p(U,G):((E=M5(U)).c(),E.m($,null)):E&&(E.d(1),E=null),(!J||42&G&&I!==(I=!!(U[3]&&U[5]&&((A=U[5])===null||A===void 0?void 0:A.length)>1)&&!U[1]))&&(O.disabled=I)},i:function(U){J||(N(r.$$.fragment,U),N(R),N(y.$$.fragment,U),J=!0)},o:function(U){F(r.$$.fragment,U),F(R),F(y.$$.fragment,U),J=!1},d:function(U){U&&oe(n),Ae(r),R&&R.d(),Ae(y),E&&E.d(),H=!1,Wn(D)}}}function i2e(t){t.focus()}function s2e(t,e,n){var r,o,i,s,a,l=lo("jsoneditor:SortModal"),c=e.id,u=e.json,f=e.rootPath,d=e.onSort,h=ao("simple-modal").close,p="".concat(c,":").concat(it(f)),g=pt(u,f),m={value:1,label:"ascending"},v=[m,{value:-1,label:"descending"}],b=(r=du[p])===null||r===void 0?void 0:r.selectedProperty,w=((o=du[p])===null||o===void 0?void 0:o.selectedDirection)||m,x=void 0;return t.$$set=function(k){"id"in k&&n(9,c=k.id),"json"in k&&n(10,u=k.json),"rootPath"in k&&n(0,f=k.rootPath),"onSort"in k&&n(11,d=k.onSort)},t.$$.update=function(){8&t.$$.dirty&&n(13,s=i&&g!==void 0?gx(g):void 0),8192&t.$$.dirty&&n(5,a=s?s.map(kd):void 0),4102&t.$$.dirty&&(n(12,du[p]={selectedProperty:b,selectedDirection:w},du),l("store state in memory",p,du[p]))},n(3,i=Array.isArray(g)),[f,b,w,i,x,a,h,v,function(){try{var k,y,j;n(4,x=void 0);var _=((k=b)===null||k===void 0?void 0:k.value)||((y=a)===null||y===void 0||(y=y[0])===null||y===void 0?void 0:y.value)||[],$=(j=w)===null||j===void 0?void 0:j.value,S=t9(u,f,_,$);d({operations:S,rootPath:f,itemPath:_,direction:$}),h()}catch(C){n(4,x=String(C))}},c,u,d,du,s,function(k){n(1,b=k)},function(k){n(2,w=k)}]}var a2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,s2e,o2e,Gt,{id:9,json:10,rootPath:0,onSort:11},r2e),o}return lt(n)}();function Vi(){}function Dm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(t<.9*e)return t.toFixed()+" B";var n=t/e;if(n<.9*e)return n.toFixed(1)+" KB";var r=n/e;if(r<.9*e)return r.toFixed(1)+" MB";var o=r/e;return o<.9*e?o.toFixed(1)+" GB":(o/e).toFixed(1)+" TB"}function l2e(t){var e,n;return e=new k1({props:{items:t[0]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};1&Ft(o,1)[0]&&(i.items=r[0]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function c2e(t,e,n){var r,o,i=e.readOnly,s=i!==void 0&&i,a=e.onFormat,l=e.onCompact,c=e.onSort,u=e.onTransform,f=e.onToggleSearch,d=e.onUndo,h=e.onRedo,p=e.canUndo,g=e.canRedo,m=e.canFormat,v=e.canCompact,b=e.canSort,w=e.canTransform,x=e.onRenderMenu,k={type:"button",icon:gk,title:"Search (Ctrl+F)",className:"jse-search",onClick:f};return t.$$set=function(y){"readOnly"in y&&n(1,s=y.readOnly),"onFormat"in y&&n(2,a=y.onFormat),"onCompact"in y&&n(3,l=y.onCompact),"onSort"in y&&n(4,c=y.onSort),"onTransform"in y&&n(5,u=y.onTransform),"onToggleSearch"in y&&n(6,f=y.onToggleSearch),"onUndo"in y&&n(7,d=y.onUndo),"onRedo"in y&&n(8,h=y.onRedo),"canUndo"in y&&n(9,p=y.canUndo),"canRedo"in y&&n(10,g=y.canRedo),"canFormat"in y&&n(11,m=y.canFormat),"canCompact"in y&&n(12,v=y.canCompact),"canSort"in y&&n(13,b=y.canSort),"canTransform"in y&&n(14,w=y.canTransform),"onRenderMenu"in y&&n(15,x=y.onRenderMenu)},t.$$.update=function(){32702&t.$$.dirty&&n(16,o=s?[k,{type:"space"}]:[{type:"button",icon:Tx,title:"Format JSON: add proper indentation and new lines (Ctrl+I)",className:"jse-format",onClick:a,disabled:s||!m},{type:"button",icon:Uwe,title:"Compact JSON: remove all white spacing and new lines (Ctrl+Shift+I)",className:"jse-compact",onClick:l,disabled:s||!v},{type:"separator"},{type:"button",icon:V0,title:"Sort",className:"jse-sort",onClick:c,disabled:s||!b},{type:"button",icon:q0,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:u,disabled:s||!w},k,{type:"separator"},{type:"button",icon:mk,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:d,disabled:!p},{type:"button",icon:pk,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:h,disabled:!g},{type:"space"}]),98304&t.$$.dirty&&n(0,r=x(o)||o)},[r,s,a,l,c,u,f,d,h,p,g,m,v,b,w,x,o]}var u2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,c2e,l2e,Gt,{readOnly:1,onFormat:2,onCompact:3,onSort:4,onTransform:5,onToggleSearch:6,onUndo:7,onRedo:8,canUndo:9,canRedo:10,canFormat:11,canCompact:12,canSort:13,canTransform:14,onRenderMenu:15}),o}return lt(n)}();function f2e(t){qt(t,"svelte-hhcn0f",'.jse-status-bar.svelte-hhcn0f.svelte-hhcn0f{background:var(--jse-panel-background, #ebebeb);color:var(--jse-panel-color-readonly, #b2b2b2);font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);margin:0;border-top:var(--jse-panel-border, var(--jse-main-border, 1px solid #d7d7d7));border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7);display:flex;gap:var(--jse-padding, 10px)}.jse-status-bar.svelte-hhcn0f.svelte-hhcn0f:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-status-bar.svelte-hhcn0f .jse-status-bar-info.svelte-hhcn0f{padding:2px}')}function R5(t){var e,n,r;return{c:function(){e=Q("div"),n=Ze("Line: "),r=Ze(t[0]),T(e,"class","jse-status-bar-info svelte-hhcn0f")},m:function(o,i){ie(o,e,i),q(e,n),q(e,r)},p:function(o,i){1&i&&Tt(r,o[0])},d:function(o){o&&oe(e)}}}function I5(t){var e,n,r;return{c:function(){e=Q("div"),n=Ze("Column: "),r=Ze(t[1]),T(e,"class","jse-status-bar-info svelte-hhcn0f")},m:function(o,i){ie(o,e,i),q(e,n),q(e,r)},p:function(o,i){2&i&&Tt(r,o[1])},d:function(o){o&&oe(e)}}}function L5(t){var e,n,r,o;return{c:function(){e=Q("div"),n=Ze("Selection: "),r=Ze(t[2]),o=Ze(" characters"),T(e,"class","jse-status-bar-info svelte-hhcn0f")},m:function(i,s){ie(i,e,s),q(e,n),q(e,r),q(e,o)},p:function(i,s){4&s&&Tt(r,i[2])},d:function(i){i&&oe(e)}}}function d2e(t){var e,n,r,o=t[0]!==void 0&&R5(t),i=t[1]!==void 0&&I5(t),s=t[2]!==void 0&&t[2]>0&&L5(t);return{c:function(){e=Q("div"),o&&o.c(),n=ge(),i&&i.c(),r=ge(),s&&s.c(),T(e,"class","jse-status-bar svelte-hhcn0f")},m:function(a,l){ie(a,e,l),o&&o.m(e,null),q(e,n),i&&i.m(e,null),q(e,r),s&&s.m(e,null)},p:function(a,l){var c=Ft(l,1)[0];a[0]!==void 0?o?o.p(a,c):((o=R5(a)).c(),o.m(e,n)):o&&(o.d(1),o=null),a[1]!==void 0?i?i.p(a,c):((i=I5(a)).c(),i.m(e,r)):i&&(i.d(1),i=null),a[2]!==void 0&&a[2]>0?s?s.p(a,c):((s=L5(a)).c(),s.m(e,null)):s&&(s.d(1),s=null)},i:Ve,o:Ve,d:function(a){a&&oe(e),o&&o.d(),i&&i.d(),s&&s.d()}}}function h2e(t,e,n){var r,o,i,s,a,l=e.editorState;return t.$$set=function(c){"editorState"in c&&n(3,l=c.editorState)},t.$$.update=function(){var c,u,f;8&t.$$.dirty&&n(4,r=(c=l)===null||c===void 0||(c=c.selection)===null||c===void 0||(c=c.main)===null||c===void 0?void 0:c.head),24&t.$$.dirty&&n(5,o=(u=l)===null||u===void 0||(u=u.doc)===null||u===void 0?void 0:u.lineAt(r)),32&t.$$.dirty&&n(0,i=o?o.number:void 0),48&t.$$.dirty&&n(1,s=o?r-o.from+1:void 0),8&t.$$.dirty&&n(2,a=(f=l)===null||f===void 0||(f=f.selection)===null||f===void 0||(f=f.ranges)===null||f===void 0?void 0:f.reduce(function(d,h){return d+h.to-h.from},0))},[i,s,a,l,r,o]}var p2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,h2e,d2e,Yr,{editorState:3},f2e),o}return lt(n)}(),m2e=0,Vr=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};at(this,t),this.id=m2e++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||function(){throw new Error("This node type doesn't define a deserialize function")}}return lt(t,[{key:"add",value:function(e){var n=this;if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Wc.match(e)),function(r){var o=e(r);return o===void 0?null:[n,o]}}}]),t}();Vr.closedBy=new Vr({deserialize:function(t){return t.split(" ")}}),Vr.openedBy=new Vr({deserialize:function(t){return t.split(" ")}}),Vr.group=new Vr({deserialize:function(t){return t.split(" ")}}),Vr.contextHash=new Vr({perNode:!0}),Vr.lookAhead=new Vr({perNode:!0}),Vr.mounted=new Vr({perNode:!0});var t0=function(){function t(e,n,r){at(this,t),this.tree=e,this.overlay=n,this.parser=r}return lt(t,null,[{key:"get",value:function(e){return e&&e.props&&e.props[Vr.mounted.id]}}]),t}(),g2e=Object.create(null),Wc=function(){function t(e,n,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;at(this,t),this.name=e,this.props=n,this.id=r,this.flags=o}return lt(t,[{key:"prop",value:function(e){return this.props[e.id]}},{key:"isTop",get:function(){return(1&this.flags)>0}},{key:"isSkipped",get:function(){return(2&this.flags)>0}},{key:"isError",get:function(){return(4&this.flags)>0}},{key:"isAnonymous",get:function(){return(8&this.flags)>0}},{key:"is",value:function(e){if(typeof e=="string"){if(this.name==e)return!0;var n=this.prop(Vr.group);return!!n&&n.indexOf(e)>-1}return this.id==e}}],[{key:"define",value:function(e){var n=e.props&&e.props.length?Object.create(null):g2e,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),o=new t(e.name||"",n,e.id,r);if(e.props){var i,s=yo(e.props);try{for(s.s();!(i=s.n()).done;){var a=i.value;if(Array.isArray(a)||(a=a(o)),a){if(a[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[a[0].id]=a[1]}}}catch(l){s.e(l)}finally{s.f()}}return o}},{key:"match",value:function(e){var n=Object.create(null);for(var r in e){var o,i=yo(r.split(" "));try{for(i.s();!(o=i.n()).done;){var s=o.value;n[s]=e[r]}}catch(a){i.e(a)}finally{i.f()}}return function(a){for(var l=a.prop(Vr.group),c=-1;c<(l?l.length:0);c++){var u=n[c<0?a.name:l[c]];if(u)return u}}}}]),t}();Wc.none=new Wc("",Object.create(null),0,8);var _o,Bm=new WeakMap,D5=new WeakMap;(function(t){t[t.ExcludeBuffers=1]="ExcludeBuffers",t[t.IncludeAnonymous=2]="IncludeAnonymous",t[t.IgnoreMounts=4]="IgnoreMounts",t[t.IgnoreOverlays=8]="IgnoreOverlays"})(_o||(_o={}));var jc=function(){function t(e,n,r,o,i){if(at(this,t),this.type=e,this.children=n,this.positions=r,this.length=o,this.props=null,i&&i.length){this.props=Object.create(null);var s,a=yo(i);try{for(a.s();!(s=a.n()).done;){var l=Ft(s.value,2),c=l[0],u=l[1];this.props[typeof c=="number"?c:c.id]=u}}catch(f){a.e(f)}finally{a.f()}}}return lt(t,[{key:"toString",value:function(){var e=t0.get(this);if(e&&!e.overlay)return e.tree.toString();var n,r="",o=yo(this.children);try{for(o.s();!(n=o.n()).done;){var i=n.value.toString();i&&(r&&(r+=","),r+=i)}}catch(s){o.e(s)}finally{o.f()}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(r.length?"("+r+")":""):r}},{key:"cursor",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Lx(this.topNode,e)}},{key:"cursorAt",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=Bm.get(this)||this.topNode,o=new Lx(r);return o.moveTo(e,n),Bm.set(this,o._tree),o}},{key:"topNode",get:function(){return new kl(this,0,0,null)}},{key:"resolve",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=Xd(Bm.get(this)||this.topNode,e,n,!1);return Bm.set(this,r),r}},{key:"resolveInner",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=Xd(D5.get(this)||this.topNode,e,n,!0);return D5.set(this,r),r}},{key:"resolveStack",value:function(e){return function(n,r,o){for(var i=n.resolveInner(r,o),s=null,a=i instanceof kl?i:i.context.parent;a;a=a.parent)if(a.index<0){var l=a.parent;(s||(s=[i])).push(l.resolve(r,o)),a=l}else{var c=t0.get(a.tree);if(c&&c.overlay&&c.overlay[0].from<=r&&c.overlay[c.overlay.length-1].to>=r){var u=new kl(c.tree,c.overlay[0].from+a.from,-1,a);(s||(s=[i])).push(Xd(u,r,o,!1))}}return s?h9(s):i}(this,e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)}},{key:"iterate",value:function(e){for(var n=e.enter,r=e.leave,o=e.from,i=o===void 0?0:o,s=e.to,a=s===void 0?this.length:s,l=e.mode||0,c=(l&_o.IncludeAnonymous)>0,u=this.cursor(l|_o.IncludeAnonymous);;){var f=!1;if(u.from<=a&&u.to>=i&&(!c&&u.type.isAnonymous||n(u)!==!1)){if(u.firstChild())continue;f=!0}for(;f&&r&&(c||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;f=!0}}}},{key:"prop",value:function(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}},{key:"propValues",get:function(){var e=[];if(this.props)for(var n in this.props)e.push([+n,this.props[n]]);return e}},{key:"balance",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.children.length<=8?this:lS(Wc.none,this.children,this.positions,0,this.children.length,0,this.length,function(r,o,i){return new t(e.type,r,o,i,e.propValues)},n.makeTree||function(r,o,i){return new t(Wc.none,r,o,i)})}}],[{key:"build",value:function(e){return w2e(e)}}]),t}();jc.empty=new jc(Wc.none,[],[],0);var v2e=function(){function t(e,n){at(this,t),this.buffer=e,this.index=n}return lt(t,[{key:"id",get:function(){return this.buffer[this.index-4]}},{key:"start",get:function(){return this.buffer[this.index-3]}},{key:"end",get:function(){return this.buffer[this.index-2]}},{key:"size",get:function(){return this.buffer[this.index-1]}},{key:"pos",get:function(){return this.index}},{key:"next",value:function(){this.index-=4}},{key:"fork",value:function(){return new t(this.buffer,this.index)}}]),t}(),Of=function(){function t(e,n,r){at(this,t),this.buffer=e,this.length=n,this.set=r}return lt(t,[{key:"type",get:function(){return Wc.none}},{key:"toString",value:function(){for(var e=[],n=0;n<this.buffer.length;)e.push(this.childString(n)),n=this.buffer[n+3];return e.join(",")}},{key:"childString",value:function(e){var n=this.buffer[e],r=this.buffer[e+3],o=this.set.types[n],i=o.name;if(/\W/.test(i)&&!o.isError&&(i=JSON.stringify(i)),r==(e+=4))return i;for(var s=[];e<r;)s.push(this.childString(e)),e=this.buffer[e+3];return i+"("+s.join(",")+")"}},{key:"findChild",value:function(e,n,r,o,i){for(var s=this.buffer,a=-1,l=e;l!=n&&!(f9(i,o,s[l+1],s[l+2])&&(a=l,r>0));l=s[l+3]);return a}},{key:"slice",value:function(e,n,r){for(var o=this.buffer,i=new Uint16Array(n-e),s=0,a=e,l=0;a<n;){i[l++]=o[a++],i[l++]=o[a++]-r;var c=i[l++]=o[a++]-r;i[l++]=o[a++]-e,s=Math.max(s,c)}return new t(i,s,this.set)}}]),t}();function f9(t,e,n,r){switch(t){case-2:return n<e;case-1:return r>=e&&n<e;case 0:return n<e&&r>e;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function Xd(t,e,n,r){for(var o;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to<e);){var i=!r&&t instanceof kl&&t.index<0?null:t.parent;if(!i)return t;t=i}var s=r?0:_o.IgnoreOverlays;if(r)for(var a=t,l=a.parent;l;l=(a=l).parent)a instanceof kl&&a.index<0&&((o=l.enter(e,n,s))===null||o===void 0?void 0:o.from)!=a.from&&(t=l);for(;;){var c=t.enter(e,n,s);if(!c)return t;t=c}}var d9=function(){function t(){at(this,t)}return lt(t,[{key:"cursor",value:function(){return new Lx(this,arguments.length>0&&arguments[0]!==void 0?arguments[0]:0)}},{key:"getChild",value:function(e){var n=B5(this,e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,arguments.length>2&&arguments[2]!==void 0?arguments[2]:null);return n.length?n[0]:null}},{key:"getChildren",value:function(e){return B5(this,e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,arguments.length>2&&arguments[2]!==void 0?arguments[2]:null)}},{key:"resolve",value:function(e){return Xd(this,e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,!1)}},{key:"resolveInner",value:function(e){return Xd(this,e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,!0)}},{key:"matchContext",value:function(e){return Rx(this,e)}},{key:"enterUnfinishedNodesBefore",value:function(e){for(var n=this.childBefore(e),r=this;n;){var o=n.lastChild;if(!o||o.to!=n.to)break;o.type.isError&&o.from==o.to?(r=n,n=o.prevSibling):n=o}return r}},{key:"node",get:function(){return this}},{key:"next",get:function(){return this.parent}}]),t}(),kl=function(t){bt(n,d9);var e=wt(n);function n(r,o,i,s){var a;return at(this,n),(a=e.call(this))._tree=r,a.from=o,a.index=i,a._parent=s,a}return lt(n,[{key:"type",get:function(){return this._tree.type}},{key:"name",get:function(){return this._tree.type.name}},{key:"to",get:function(){return this.from+this._tree.length}},{key:"nextChild",value:function(r,o,i,s){for(var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,l=this;;){for(var c=l._tree,u=c.children,f=c.positions,d=o>0?u.length:-1;r!=d;r+=o){var h=u[r],p=f[r]+l.from;if(f9(s,i,p,p+h.length)){if(h instanceof Of){if(a&_o.ExcludeBuffers)continue;var g=h.findChild(0,h.buffer.length,o,i-p,s);if(g>-1)return new Ix(new y2e(l,h,r,p),null,g)}else if(a&_o.IncludeAnonymous||!h.type.isAnonymous||aS(h)){var m=void 0;if(!(a&_o.IgnoreMounts)&&(m=t0.get(h))&&!m.overlay)return new n(m.tree,p,r,l);var v=new n(h,p,r,l);return a&_o.IncludeAnonymous||!v.type.isAnonymous?v:v.nextChild(o<0?h.children.length-1:0,o,i,s)}}}if(a&_o.IncludeAnonymous||!l.type.isAnonymous||(r=l.index>=0?l.index+o:o<0?-1:l._parent._tree.children.length,!(l=l._parent)))return null}}},{key:"firstChild",get:function(){return this.nextChild(0,1,0,4)}},{key:"lastChild",get:function(){return this.nextChild(this._tree.children.length-1,-1,0,4)}},{key:"childAfter",value:function(r){return this.nextChild(0,1,r,2)}},{key:"childBefore",value:function(r){return this.nextChild(this._tree.children.length-1,-1,r,-2)}},{key:"enter",value:function(r,o){var i,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!(s&_o.IgnoreOverlays)&&(i=t0.get(this._tree))&&i.overlay){var a,l=r-this.from,c=yo(i.overlay);try{for(c.s();!(a=c.n()).done;){var u=a.value,f=u.from,d=u.to;if((o>0?f<=l:f<l)&&(o<0?d>=l:d>l))return new n(i.tree,i.overlay[0].from+this.from,-1,this)}}catch(h){c.e(h)}finally{c.f()}}return this.nextChild(0,1,r,o,s)}},{key:"nextSignificantParent",value:function(){for(var r=this;r.type.isAnonymous&&r._parent;)r=r._parent;return r}},{key:"parent",get:function(){return this._parent?this._parent.nextSignificantParent():null}},{key:"nextSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}},{key:"prevSibling",get:function(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}},{key:"tree",get:function(){return this._tree}},{key:"toTree",value:function(){return this._tree}},{key:"toString",value:function(){return this._tree.toString()}}]),n}();function B5(t,e,n,r){var o=t.cursor(),i=[];if(!o.firstChild())return i;if(n!=null){for(;!o.type.is(n);)if(!o.nextSibling())return i}for(;;){if(r!=null&&o.type.is(r))return i;if(o.type.is(e)&&i.push(o.node),!o.nextSibling())return r==null?i:[]}}function Rx(t,e){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length-1,r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}var y2e=lt(function t(e,n,r,o){at(this,t),this.parent=e,this.buffer=n,this.index=r,this.start=o}),Ix=function(t){bt(n,d9);var e=wt(n);function n(r,o,i){var s;return at(this,n),(s=e.call(this)).context=r,s._parent=o,s.index=i,s.type=r.buffer.set.types[r.buffer.buffer[i]],s}return lt(n,[{key:"name",get:function(){return this.type.name}},{key:"from",get:function(){return this.context.start+this.context.buffer.buffer[this.index+1]}},{key:"to",get:function(){return this.context.start+this.context.buffer.buffer[this.index+2]}},{key:"child",value:function(r,o,i){var s=this.context.buffer,a=s.findChild(this.index+4,s.buffer[this.index+3],r,o-this.context.start,i);return a<0?null:new n(this.context,this,a)}},{key:"firstChild",get:function(){return this.child(1,0,4)}},{key:"lastChild",get:function(){return this.child(-1,0,4)}},{key:"childAfter",value:function(r){return this.child(1,r,2)}},{key:"childBefore",value:function(r){return this.child(-1,r,-2)}},{key:"enter",value:function(r,o){if((arguments.length>2&&arguments[2]!==void 0?arguments[2]:0)&_o.ExcludeBuffers)return null;var i=this.context.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],o>0?1:-1,r-this.context.start,o);return s<0?null:new n(this.context,this,s)}},{key:"parent",get:function(){return this._parent||this.context.parent.nextSignificantParent()}},{key:"externalSibling",value:function(r){return this._parent?null:this.context.parent.nextChild(this.context.index+r,r,0,4)}},{key:"nextSibling",get:function(){var r=this.context.buffer,o=r.buffer[this.index+3];return o<(this._parent?r.buffer[this._parent.index+3]:r.buffer.length)?new n(this.context,this._parent,o):this.externalSibling(1)}},{key:"prevSibling",get:function(){var r=this.context.buffer,o=this._parent?this._parent.index+4:0;return this.index==o?this.externalSibling(-1):new n(this.context,this._parent,r.findChild(o,this.index,-1,0,4))}},{key:"tree",get:function(){return null}},{key:"toTree",value:function(){var r=[],o=[],i=this.context.buffer,s=this.index+4,a=i.buffer[this.index+3];if(a>s){var l=i.buffer[this.index+1];r.push(i.slice(s,a,l)),o.push(0)}return new jc(this.type,r,o,this.to-this.from)}},{key:"toString",value:function(){return this.context.buffer.childString(this.index)}}]),n}();function h9(t){if(!t.length)return null;for(var e=0,n=t[0],r=1;r<t.length;r++){var o=t[r];(o.from>n.from||o.to<n.to)&&(n=o,e=r)}var i=n instanceof kl&&n.index<0?null:n.parent,s=t.slice();return i?s[e]=i:s.splice(e,1),new b2e(s,n)}var b2e=function(){function t(e,n){at(this,t),this.heads=e,this.node=n}return lt(t,[{key:"next",get:function(){return h9(this.heads)}}]),t}(),Lx=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(at(this,t),this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof kl)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(var r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}return lt(t,[{key:"name",get:function(){return this.type.name}},{key:"yieldNode",value:function(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}},{key:"yieldBuf",value:function(e,n){this.index=e;var r=this.buffer,o=r.start,i=r.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=o+i.buffer[e+1],this.to=o+i.buffer[e+2],!0}},{key:"yield",value:function(e){return!!e&&(e instanceof kl?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}},{key:"toString",value:function(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}},{key:"enterChild",value:function(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));var o=this.buffer.buffer,i=o.findChild(this.index+4,o.buffer[this.index+3],e,n-this.buffer.start,r);return!(i<0)&&(this.stack.push(this.index),this.yieldBuf(i))}},{key:"firstChild",value:function(){return this.enterChild(1,0,4)}},{key:"lastChild",value:function(){return this.enterChild(-1,0,4)}},{key:"childAfter",value:function(e){return this.enterChild(1,e,2)}},{key:"childBefore",value:function(e){return this.enterChild(-1,e,-2)}},{key:"enter",value:function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.mode;return this.buffer?!(r&_o.ExcludeBuffers)&&this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}},{key:"parent",value:function(){if(!this.buffer)return this.yieldNode(this.mode&_o.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());var e=this.mode&_o.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}},{key:"sibling",value:function(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));var n=this.buffer.buffer,r=this.stack.length-1;if(e<0){var o=r<0?0:this.stack[r]+4;if(this.index!=o)return this.yieldBuf(n.findChild(o,this.index,-1,0,4))}else{var i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}},{key:"nextSibling",value:function(){return this.sibling(1)}},{key:"prevSibling",value:function(){return this.sibling(-1)}},{key:"atLastNode",value:function(e){var n,r,o=this.buffer;if(o){if(e>0){if(this.index<o.buffer.buffer.length)return!1}else for(var i=0;i<this.index;i++)if(o.buffer.buffer[i+3]<this.index)return!1;n=o.index,r=o.parent}else{var s=this._tree;n=s.index,r=s._parent}for(;r;n=(a=r).index,r=a._parent,a){var a;if(n>-1)for(var l=n+e,c=e<0?-1:r._tree.children.length;l!=c;l+=e){var u=r._tree.children[l];if(this.mode&_o.IncludeAnonymous||u instanceof Of||!u.type.isAnonymous||aS(u))return!1}}return!0}},{key:"move",value:function(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}},{key:"next",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.move(1,e)}},{key:"prev",value:function(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.move(-1,e)}},{key:"moveTo",value:function(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,n););return this}},{key:"node",get:function(){if(!this.buffer)return this._tree;var e=this.bufferNode,n=null,r=0;if(e&&e.context==this.buffer)e:for(var o=this.index,i=this.stack.length;i>=0;){for(var s=e;s;s=s._parent)if(s.index==o){if(o==this.index)return s;n=s,r=i+1;break e}o=this.stack[--i]}for(var a=r;a<this.stack.length;a++)n=new Ix(this.buffer,n,this.stack[a]);return this.bufferNode=new Ix(this.buffer,n,this.index)}},{key:"tree",get:function(){return this.buffer?null:this._tree._tree}},{key:"iterate",value:function(e,n){for(var r=0;;){var o=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){r++;continue}this.type.isAnonymous||(o=!0)}for(;o&&n&&n(this),o=this.type.isAnonymous,!this.nextSibling();){if(!r)return;this.parent(),r--,o=!0}}}},{key:"matchContext",value:function(e){if(!this.buffer)return Rx(this.node,e);for(var n=this.buffer.buffer,r=n.set.types,o=e.length-1,i=this.stack.length-1;o>=0;i--){if(i<0)return Rx(this.node,e,o);var s=r[n.buffer[this.stack[i]]];if(!s.isAnonymous){if(e[o]&&e[o]!=s.name)return!1;o--}}return!0}}]),t}();function aS(t){return t.children.some(function(e){return e instanceof Of||!e.type.isAnonymous||aS(e)})}function w2e(t){var e,n=t.buffer,r=t.nodeSet,o=t.maxBufferLength,i=o===void 0?1024:o,s=t.reused,a=s===void 0?[]:s,l=t.minRepeatType,c=l===void 0?r.types.length:l,u=Array.isArray(n)?new v2e(n,n.length):n,f=r.types,d=0,h=0;function p(y,j,_,$,S,C){for(var O=u.id,P=u.start,I=u.end,J=u.size,H=h;J<0;){if(u.next(),J==-1){var D=a[O];return _.push(D),void $.push(P-y)}if(J==-3)return void(d=O);if(J==-4)return void(h=O);throw new RangeError("Unrecognized record size: ".concat(J))}var R,V,L=f[O],E=P-y;if(I-P<=i&&(V=function(Z,te){var fe=u.fork(),K=0,me=0,Ee=0,se=fe.end-i,le={size:0,start:0,skip:0};e:for(var Me=fe.pos-Z;fe.pos>Me;){var Oe=fe.size;if(fe.id==te&&Oe>=0)le.size=K,le.start=me,le.skip=Ee,Ee+=4,K+=4,fe.next();else{var Je=fe.pos-Oe;if(Oe<0||Je<Me||fe.start<se)break;var ue=fe.id>=c?4:0,ve=fe.start;for(fe.next();fe.pos>Je;){if(fe.size<0){if(fe.size!=-3)break e;ue+=4}else fe.id>=c&&(ue+=4);fe.next()}me=ve,K+=Oe,Ee+=ue}}return(te<0||K==Z)&&(le.size=K,le.start=me,le.skip=Ee),le.size>4?le:void 0}(u.pos-j,S))){for(var U=new Uint16Array(V.size-V.skip),W=u.pos-V.size,M=U.length;u.pos>W;)M=b(V.start,U,M);R=new Of(U,I-V.start,r),E=V.start-y}else{var A=u.pos-J;u.next();for(var G=[],ee=[],be=O>=c?O:-1,we=0,Se=I;u.pos>A;)be>=0&&u.id==be&&u.size>=0?(u.end<=Se-i&&(m(G,ee,P,we,u.end,Se,be,H),we=G.length,Se=u.end),u.next()):C>2500?g(P,A,G,ee):p(P,A,G,ee,be,C+1);if(be>=0&&we>0&&we<G.length&&m(G,ee,P,we,P,Se,be,H),G.reverse(),ee.reverse(),be>-1&&we>0){var he=function(Z){return function(te,fe,K){var me,Ee,se=0,le=te.length-1;if(le>=0&&(me=te[le])instanceof jc){if(!le&&me.type==Z&&me.length==K)return me;(Ee=me.prop(Vr.lookAhead))&&(se=fe[le]+me.length+Ee)}return v(Z,te,fe,K,se)}}(L);R=lS(L,G,ee,0,G.length,0,I-P,he,he)}else R=v(L,G,ee,I-P,H-I)}_.push(R),$.push(E)}function g(y,j,_,$){for(var S=[],C=0,O=-1;u.pos>j;){var P=u.id,I=u.start,J=u.end;if(u.size>4)u.next();else{if(O>-1&&I<O)break;O<0&&(O=J-i),S.push(P,I,J),C++,u.next()}}if(C){for(var H=new Uint16Array(4*C),D=S[S.length-2],R=S.length-3,V=0;R>=0;R-=3)H[V++]=S[R],H[V++]=S[R+1]-D,H[V++]=S[R+2]-D,H[V++]=V;_.push(new Of(H,S[2]-D,r)),$.push(D-y)}}function m(y,j,_,$,S,C,O,P){for(var I=[],J=[];y.length>$;)I.push(y.pop()),J.push(j.pop()+_-S);y.push(v(r.types[O],I,J,C-S,P-C)),j.push(S-_)}function v(y,j,_,$){var S=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,C=arguments.length>5?arguments[5]:void 0;if(d){var O=[Vr.contextHash,d];C=C?[O].concat(C):[O]}if(S>25){var P=[Vr.lookAhead,S];C=C?[P].concat(C):[P]}return new jc(y,j,_,$,C)}function b(y,j,_){var $=u.id,S=u.start,C=u.end,O=u.size;if(u.next(),O>=0&&$<c){var P=_;if(O>4)for(var I=u.pos-(O-4);u.pos>I;)_=b(y,j,_);j[--_]=P,j[--_]=C-y,j[--_]=S-y,j[--_]=$}else O==-3?d=$:O==-4&&(h=$);return _}for(var w=[],x=[];u.pos>0;)p(t.start||0,t.bufferStart||0,w,x,-1,0);var k=(e=t.length)!==null&&e!==void 0?e:w.length?x[0]+w[0].length:0;return new jc(f[t.topID],w.reverse(),x.reverse(),k)}var z5=new WeakMap;function kg(t,e){if(!t.isAnonymous||e instanceof Of||e.type!=t)return 1;var n=z5.get(e);if(n==null){n=1;var r,o=yo(e.children);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i.type!=t||!(i instanceof jc)){n=1;break}n+=kg(t,i)}}catch(s){o.e(s)}finally{o.f()}z5.set(e,n)}return n}function lS(t,e,n,r,o,i,s,a,l){for(var c=0,u=r;u<o;u++)c+=kg(t,e[u]);var f=Math.ceil(1.5*c/8),d=[],h=[];return function p(g,m,v,b,w){for(var x=v;x<b;){var k=x,y=m[x],j=kg(t,g[x]);for(x++;x<b;x++){var _=kg(t,g[x]);if(j+_>=f)break;j+=_}if(x==k+1){if(j>f){var $=g[k];p($.children,$.positions,0,$.children.length,m[k]+w);continue}d.push(g[k])}else{var S=m[x-1]+g[x-1].length-y;d.push(lS(t,g,m,k,x,y,S,null,l))}h.push(y+w-i)}}(e,n,r,o,0),(a||l)(d,h,s)}new Vr({perNode:!0});var x2e=0,Ya=function(){function t(e,n,r){at(this,t),this.set=e,this.base=n,this.modified=r,this.id=x2e++}return lt(t,null,[{key:"define",value:function(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");var n=new t([],null,[]);if(n.set.push(n),e){var r,o=yo(e.set);try{for(o.s();!(r=o.n()).done;){var i=r.value;n.set.push(i)}}catch(s){o.e(s)}finally{o.f()}}return n}},{key:"defineModifier",value:function(){var e=new F5;return function(n){return n.modified.indexOf(e)>-1?n:F5.get(n.base||n,n.modified.concat(e).sort(function(r,o){return r.id-o.id}))}}}]),t}(),k2e=0,F5=function(){function t(){at(this,t),this.instances=[],this.id=k2e++}return lt(t,null,[{key:"get",value:function(e,n){if(!n.length)return e;var r=n[0].instances.find(function(g){return g.base==e&&(m=n,v=g.modified,m.length==v.length&&m.every(function(b,w){return b==v[w]}));var m,v});if(r)return r;var o,i=[],s=new Ya(i,e,n),a=yo(n);try{for(a.s();!(o=a.n()).done;)o.value.instances.push(s)}catch(g){a.e(g)}finally{a.f()}var l,c=function(g){for(var m=[[]],v=0;v<g.length;v++)for(var b=0,w=m.length;b<w;b++)m.push(m[b].concat(g[v]));return m.sort(function(x,k){return k.length-x.length})}(n),u=yo(e.set);try{for(u.s();!(l=u.n()).done;){var f=l.value;if(!f.modified.length){var d,h=yo(c);try{for(h.s();!(d=h.n()).done;){var p=d.value;i.push(t.get(f,p))}}catch(g){h.e(g)}finally{h.f()}}}}catch(g){u.e(g)}finally{u.f()}return s}}]),t}();new Vr;var dt=Ya.define,zm=dt(),Xa=dt(),q5=dt(Xa),H5=dt(Xa),Ka=dt(),Fm=dt(Ka),Gy=dt(Ka),xs=dt(),Zl=dt(xs),ys=dt(),bs=dt(),Dx=dt(),dd=dt(Dx),qm=dt(),pn={comment:zm,lineComment:dt(zm),blockComment:dt(zm),docComment:dt(zm),name:Xa,variableName:dt(Xa),typeName:q5,tagName:dt(q5),propertyName:H5,attributeName:dt(H5),className:dt(Xa),labelName:dt(Xa),namespace:dt(Xa),macroName:dt(Xa),literal:Ka,string:Fm,docString:dt(Fm),character:dt(Fm),attributeValue:dt(Fm),number:Gy,integer:dt(Gy),float:dt(Gy),bool:dt(Ka),regexp:dt(Ka),escape:dt(Ka),color:dt(Ka),url:dt(Ka),keyword:ys,self:dt(ys),null:dt(ys),atom:dt(ys),unit:dt(ys),modifier:dt(ys),operatorKeyword:dt(ys),controlKeyword:dt(ys),definitionKeyword:dt(ys),moduleKeyword:dt(ys),operator:bs,derefOperator:dt(bs),arithmeticOperator:dt(bs),logicOperator:dt(bs),bitwiseOperator:dt(bs),compareOperator:dt(bs),updateOperator:dt(bs),definitionOperator:dt(bs),typeOperator:dt(bs),controlOperator:dt(bs),punctuation:Dx,separator:dt(Dx),bracket:dd,angleBracket:dt(dd),squareBracket:dt(dd),paren:dt(dd),brace:dt(dd),content:xs,heading:Zl,heading1:dt(Zl),heading2:dt(Zl),heading3:dt(Zl),heading4:dt(Zl),heading5:dt(Zl),heading6:dt(Zl),contentSeparator:dt(xs),list:dt(xs),quote:dt(xs),emphasis:dt(xs),strong:dt(xs),link:dt(xs),monospace:dt(xs),strikethrough:dt(xs),inserted:dt(),deleted:dt(),changed:dt(),invalid:dt(),meta:qm,documentMeta:dt(qm),annotation:dt(qm),processingInstruction:dt(qm),definition:Ya.defineModifier(),constant:Ya.defineModifier(),function:Ya.defineModifier(),standard:Ya.defineModifier(),local:Ya.defineModifier(),special:Ya.defineModifier()};(function(t,e){var n,r=Object.create(null),o=yo(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(Array.isArray(i.tag)){var s,a=yo(i.tag);try{for(a.s();!(s=a.n()).done;){var l=s.value;r[l.id]=i.class}}catch(u){a.e(u)}finally{a.f()}}else r[i.tag.id]=i.class}}catch(u){o.e(u)}finally{o.f()}var c=e||{};c.scope,c.all})([{tag:pn.link,class:"tok-link"},{tag:pn.heading,class:"tok-heading"},{tag:pn.emphasis,class:"tok-emphasis"},{tag:pn.strong,class:"tok-strong"},{tag:pn.keyword,class:"tok-keyword"},{tag:pn.atom,class:"tok-atom"},{tag:pn.bool,class:"tok-bool"},{tag:pn.url,class:"tok-url"},{tag:pn.labelName,class:"tok-labelName"},{tag:pn.inserted,class:"tok-inserted"},{tag:pn.deleted,class:"tok-deleted"},{tag:pn.literal,class:"tok-literal"},{tag:pn.string,class:"tok-string"},{tag:pn.number,class:"tok-number"},{tag:[pn.regexp,pn.escape,pn.special(pn.string)],class:"tok-string2"},{tag:pn.variableName,class:"tok-variableName"},{tag:pn.local(pn.variableName),class:"tok-variableName tok-local"},{tag:pn.definition(pn.variableName),class:"tok-variableName tok-definition"},{tag:pn.special(pn.variableName),class:"tok-variableName2"},{tag:pn.definition(pn.propertyName),class:"tok-propertyName tok-definition"},{tag:pn.typeName,class:"tok-typeName"},{tag:pn.namespace,class:"tok-namespace"},{tag:pn.className,class:"tok-className"},{tag:pn.macroName,class:"tok-macroName"},{tag:pn.propertyName,class:"tok-propertyName"},{tag:pn.operator,class:"tok-operator"},{tag:pn.comment,class:"tok-comment"},{tag:pn.meta,class:"tok-meta"},{tag:pn.invalid,class:"tok-invalid"},{tag:pn.punctuation,class:"tok-punctuation"}]);var cS=dp.define([{tag:pn.propertyName,color:"var(--internal-key-color)"},{tag:pn.number,color:"var(--internal-value-color-number)"},{tag:pn.bool,color:"var(--internal-value-color-boolean)"},{tag:pn.string,color:"var(--internal-value-color-string)"},{tag:pn.keyword,color:"var(--internal-value-color-null)"}]),j2e=JM(cS),S2e=cS.style;function $2e(t){qt(t,"svelte-a0poeb",'.jse-text-mode.svelte-a0poeb.svelte-a0poeb{--internal-key-color:var(--jse-key-color, #1a1a1a);--internal-value-color-number:var(--jse-value-color-number, #ee422e);--internal-value-color-boolean:var(--jse-value-color-boolean, #ff8c00);--internal-value-color-string:var(--jse-value-color-string, #008000);--internal-value-color-null:var(--jse-value-color-null, #004ed0);flex:1;box-sizing:border-box;display:flex;flex-direction:column;background:var(--jse-background-color, #fff)}.jse-text-mode.no-main-menu.svelte-a0poeb.svelte-a0poeb{border-top:var(--jse-main-border, 1px solid #d7d7d7)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb{flex:1;display:flex;position:relative;flex-direction:column;overflow:hidden;min-width:0;min-height:0;border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-text-mode.svelte-a0poeb .jse-contents.jse-hidden.svelte-a0poeb{visibility:hidden;position:absolute;top:0;left:0}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor{flex:1;overflow:hidden}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-scroller{font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);line-height:var(--jse-line-height, calc(1em + 4px));color:var(--jse-delimiter-color, rgba(0, 0, 0, 0.38))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-gutters{background:var(--jse-panel-background, #ebebeb);color:var(--jse-panel-color-readonly, #b2b2b2);border-right:var(--jse-panel-border, var(--jse-main-border, 1px solid #d7d7d7))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-activeLine,.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-activeLineGutter{background:var(--jse-active-line-background-color, rgba(0, 0, 0, 0.06))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-selectionBackground{background:var(--jse-selection-background-color, #d3d3d3)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-searchMatch{background-color:var(--jse-search-match-color, #ffe665);outline:var(--jse-search-match-outline, 1px solid #ffd700)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-searchMatch.cm-searchMatch-selected{background-color:var(--jse-search-match-active-color, #ffd700);outline:var(--jse-search-match-active-outline, 1px solid #e1be00)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-selectionMatch{background-color:var(--jse-search-match-background-color, rgba(153, 255, 119, 0.5019607843))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-foldPlaceholder{background:var(--jse-tag-background, rgba(0, 0, 0, 0.2));color:var(--jse-tag-color, var(--jse-text-color-inverse, #fff));border:none;padding:0 var(--jse-padding, 10px)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-tooltip{font-size:var(--jse-font-size, 16px);font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);color:var(--jse-tooltip-color, var(--jse-text-color, #4d4d4d));background:var(--jse-tooltip-background, var(--jse-modal-background, #f5f5f5));border:var(--jse-tooltip-border, var(--jse-main-border, 1px solid #d7d7d7))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-diagnosticAction{background:var(--jse-tooltip-action-button-color, var(--jse-text-color-inverse, #fff));background:var(--jse-tooltip-action-button-background, #4d4d4d)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-panels{border-bottom:var(--jse-panel-border, var(--jse-main-border, 1px solid #d7d7d7))}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search{background:var(--jse-panel-background, #ebebeb);color:var(--jse-panel-color, var(--jse-text-color, #4d4d4d));font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search input{font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size-text-mode-search, 80%);color:var(--jse-input-color, var(--jse-text-color, #4d4d4d));border:var(--jse-input-border, 1px solid #d8dbdf);background:var(--jse-input-background, var(--jse-background-color, #fff));margin-right:2px}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search button{font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size-text-mode-search, 80%);color:var(--jse-panel-button-color, inherit);background:var(--jse-panel-button-background, transparent);border:none;cursor:pointer;text-transform:capitalize;padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px);margin:0}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search button:hover{color:var(--panel-button-color-highlight, var(--jse-text-color, #4d4d4d));background:var(--jse-panel-button-background-highlight, #e0e0e0)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search label{font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size-text-mode-search, 80%);padding-left:var(--jse-padding, 10px)}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search label input{margin-right:2px}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-search button[name="close"]{width:32px;height:32px;font-size:24px;line-height:24px;padding:0;right:0;top:-4px}.jse-text-mode.svelte-a0poeb .jse-contents.svelte-a0poeb .cm-editor .cm-cursor-primary{border-color:var(--jse-text-color, #4d4d4d)}.jse-text-mode.svelte-a0poeb .jse-contents .jse-loading-space.svelte-a0poeb{flex:1}.jse-text-mode.svelte-a0poeb .jse-contents .jse-loading.svelte-a0poeb{flex:2;text-align:center;color:var(--jse-panel-color-readonly, #b2b2b2);box-sizing:border-box;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}.jse-text-mode.svelte-a0poeb .jse-contents.jse-preview.svelte-a0poeb{flex:1;font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:var(--jse-panel-color-readonly, #b2b2b2);overflow:auto;white-space:pre-wrap;word-break:break-word;padding:2px}')}function Qy(t){var e=t.slice(),n=e[11].length===0;return e[98]=n,e}function V5(t){var e,n;return e=new u2e({props:{readOnly:t[1],onFormat:t[17],onCompact:t[18],onSort:t[19],onTransform:t[20],onToggleSearch:t[21],onUndo:t[22],onRedo:t[23],canFormat:!t[98],canCompact:!t[98],canSort:!t[98],canTransform:!t[98],canUndo:t[12],canRedo:t[13],onRenderMenu:t[4]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};2&o[0]&&(i.readOnly=r[1]),2048&o[0]&&(i.canFormat=!r[98]),2048&o[0]&&(i.canCompact=!r[98]),2048&o[0]&&(i.canSort=!r[98]),2048&o[0]&&(i.canTransform=!r[98]),4096&o[0]&&(i.canUndo=r[12]),8192&o[0]&&(i.canRedo=r[13]),16&o[0]&&(i.onRenderMenu=r[4]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function _2e(t){var e;return{c:function(){(e=Q("div")).innerHTML='<div class="jse-loading-space svelte-a0poeb"></div> <div class="jse-loading svelte-a0poeb">loading...</div>',T(e,"class","jse-contents svelte-a0poeb")},m:function(n,r){ie(n,e,r)},p:Ve,i:Ve,o:Ve,d:function(n){n&&oe(e)}}}function C2e(t){var e,n,r,o,i,s=t[97]&&W5(t),a=!t[97]&&U5(t);return{c:function(){e=Q("div"),n=ge(),s&&s.c(),r=ge(),a&&a.c(),o=Sn(),T(e,"class","jse-contents svelte-a0poeb"),Re(e,"jse-hidden",t[97])},m:function(l,c){ie(l,e,c),t[52](e),ie(l,n,c),s&&s.m(l,c),ie(l,r,c),a&&a.m(l,c),ie(l,o,c),i=!0},p:function(l,c){(!i||268438016&c[0])&&Re(e,"jse-hidden",l[97]),l[97]?s?(s.p(l,c),2560&c[0]&&N(s,1)):((s=W5(l)).c(),N(s,1),s.m(r.parentNode,r)):s&&(Fe(),F(s,1,1,function(){s=null}),qe()),l[97]?a&&(Fe(),F(a,1,1,function(){a=null}),qe()):a?(a.p(l,c),2560&c[0]&&N(a,1)):((a=U5(l)).c(),N(a,1),a.m(o.parentNode,o))},i:function(l){i||(N(s),N(a),i=!0)},o:function(l){F(s),F(a),i=!1},d:function(l){l&&(oe(e),oe(n),oe(r),oe(o)),t[52](null),s&&s.d(l),a&&a.d(l)}}}function W5(t){var e,n,r,o,i,s=_a(t[11]||"",dx)+"";return e=new hs({props:{icon:nu,type:"error",message:"The JSON document is larger than ".concat(Dm(hx,1024),", ")+"and may crash your browser when loading it in text mode. Actual size: ".concat(Dm(t[11].length,1024),"."),actions:[{text:"Open anyway",title:"Open the document in text mode. This may freeze or crash your browser.",onClick:t[24]},{text:"Open in tree mode",title:"Open the document in tree mode. Tree mode can handle large documents.",onClick:t[25]},{text:"Cancel",title:"Cancel opening this large document.",onClick:t[26]}],onClose:t[5]}}),{c:function(){Pe(e.$$.fragment),n=ge(),r=Q("div"),o=Ze(s),T(r,"class","jse-contents jse-preview svelte-a0poeb")},m:function(a,l){Te(e,a,l),ie(a,n,l),ie(a,r,l),q(r,o),i=!0},p:function(a,l){var c={};2048&l[0]&&(c.message="The JSON document is larger than ".concat(Dm(hx,1024),", ")+"and may crash your browser when loading it in text mode. Actual size: ".concat(Dm(a[11].length,1024),".")),e.$set(c),(!i||2048&l[0])&&s!==(s=_a(a[11]||"",dx)+"")&&Tt(o,s)},i:function(a){i||(N(e.$$.fragment,a),i=!0)},o:function(a){F(e.$$.fragment,a),i=!1},d:function(a){a&&(oe(n),oe(r)),Ae(e,a)}}}function U5(t){var e,n,r,o,i,s=!t[14]&&t[0]&&VC(t[11]),a=t[3]&&J5(t),l=t[14]&&G5(t),c=s&&Q5(t);return o=new Zj({props:{validationErrors:t[10],selectError:t[27]}}),{c:function(){a&&a.c(),e=ge(),l&&l.c(),n=ge(),c&&c.c(),r=ge(),Pe(o.$$.fragment)},m:function(u,f){a&&a.m(u,f),ie(u,e,f),l&&l.m(u,f),ie(u,n,f),c&&c.m(u,f),ie(u,r,f),Te(o,u,f),i=!0},p:function(u,f){u[3]?a?(a.p(u,f),8&f[0]&&N(a,1)):((a=J5(u)).c(),N(a,1),a.m(e.parentNode,e)):a&&(Fe(),F(a,1,1,function(){a=null}),qe()),u[14]?l?(l.p(u,f),16384&f[0]&&N(l,1)):((l=G5(u)).c(),N(l,1),l.m(n.parentNode,n)):l&&(Fe(),F(l,1,1,function(){l=null}),qe()),18433&f[0]&&(s=!u[14]&&u[0]&&VC(u[11])),s?c?(c.p(u,f),18433&f[0]&&N(c,1)):((c=Q5(u)).c(),N(c,1),c.m(r.parentNode,r)):c&&(Fe(),F(c,1,1,function(){c=null}),qe());var d={};1024&f[0]&&(d.validationErrors=u[10]),o.$set(d)},i:function(u){i||(N(a),N(l),N(c),N(o.$$.fragment,u),i=!0)},o:function(u){F(a),F(l),F(c),F(o.$$.fragment,u),i=!1},d:function(u){u&&(oe(e),oe(n),oe(r)),a&&a.d(u),l&&l.d(u),c&&c.d(u),Ae(o,u)}}}function J5(t){var e,n;return e=new p2e({props:{editorState:t[8]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};256&o[0]&&(i.editorState=r[8]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function G5(t){var e,n;return e=new hs({props:{type:"error",icon:nu,message:t[14].message,actions:t[15],onClick:t[29],onClose:t[5]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};16384&o[0]&&(i.message=r[14].message),32768&o[0]&&(i.actions=r[15]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function Q5(t){var e,n;return e=new hs({props:{type:"success",message:"Do you want to format the JSON?",actions:[{icon:Tx,text:"Format",title:"Format JSON: add proper indentation and new lines (Ctrl+I)",onClick:t[17]},{icon:df,text:"No thanks",title:"Close this message",onClick:t[53]}],onClose:t[5]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};1&o[0]&&(i.actions=[{icon:Tx,text:"Format",title:"Format JSON: add proper indentation and new lines (Ctrl+I)",onClick:r[17]},{icon:df,text:"No thanks",title:"Close this message",onClick:r[53]}]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function O2e(t){var e,n,r,o,i,s=t[2]&&V5(Qy(t)),a=[C2e,_2e],l=[];function c(u,f){return f===0?function(d){var h=d.slice(),p=h[28](h[11],h[9]);return h[97]=p,h}(u):u}return r=function(u,f){return u[16]?1:0}(t),o=l[r]=a[r](c(t,r)),{c:function(){e=Q("div"),s&&s.c(),n=ge(),o.c(),T(e,"class","jse-text-mode svelte-a0poeb"),Re(e,"no-main-menu",!t[2])},m:function(u,f){ie(u,e,f),s&&s.m(e,null),q(e,n),l[r].m(e,null),t[54](e),i=!0},p:function(u,f){u[2]?s?(s.p(Qy(u),f),4&f[0]&&N(s,1)):((s=V5(Qy(u))).c(),N(s,1),s.m(e,n)):s&&(Fe(),F(s,1,1,function(){s=null}),qe()),o.p(c(u,r),f),(!i||4&f[0])&&Re(e,"no-main-menu",!u[2])},i:function(u){i||(N(s),N(o),i=!0)},o:function(u){F(s),F(o),i=!1},d:function(u){u&&oe(e),s&&s.d(),l[r].d(),t[54](null)}}}function Y5(t){return{from:t.from||0,to:t.to||0,message:t.message||"",actions:t.actions,severity:t.severity}}function T2e(t,e,n){var r,o,i,s,a,l,c=e.readOnly,u=e.mainMenuBar,f=e.statusBar,d=e.askToFormat,h=e.externalContent,p=e.externalSelection,g=e.indentation,m=e.tabSize,v=e.escapeUnicodeCharacters,b=e.parser,w=e.validator,x=e.validationParser,k=e.onChange,y=e.onChangeMode,j=e.onSelect,_=e.onError,$=e.onFocus,S=e.onBlur,C=e.onRenderMenu,O=e.onSortModal,P=e.onTransformModal,I=lo("jsoneditor:TextMode"),J={key:"Mod-i",run:fe,shift:K,preventDefault:!0},H=typeof window>"u";I("isSSR:",H);var D=!1,R=[],V=new sa,L=new sa,E=new sa,U=new sa,W=new sa,M=h,A=vx(M,g,b),G=v;Ni(Ut(Ge().mark(function Ce(){return Ge().wrap(function(st){for(;;)switch(st.prev=st.next){case 0:if(!H){st.next=2;break}return st.abrupt("return");case 2:try{a=Oe({target:i,initialText:ot(A,D)?"":r.escapeValue(A),readOnly:c,indentation:g})}catch(Xt){console.error(Xt)}case 3:case"end":return st.stop()}},Ce)}))),hi(function(){a&&(I("Destroy CodeMirror editor"),a.destroy())});var ee=!1,be=!1,we=ff(),Se=ff();function he(){a&&(I("focus"),a.focus())}var Z=!1;function te(Ce){I("patch",Ce);var st=b.parse(A),Xt=ns(st,Ce),Qt=HE(st,Ce);return We({text:b.stringify(Xt,null,g)}),{json:Xt,previousJson:st,undo:Qt,redo:Ce}}function fe(){if(I("format"),c)return!1;try{var Ce=b.parse(A);return We({text:b.stringify(Ce,null,g)}),n(0,d=!0),!0}catch(st){_(st)}return!1}function K(){if(I("compact"),c)return!1;try{var Ce=b.parse(A);return We({text:b.stringify(Ce)}),n(0,d=!1),!0}catch(st){_(st)}return!1}function me(){if(I("repair"),!c)try{We({text:Is(A)}),n(51,Pn=Ry),n(14,Zn=null)}catch(Ce){_(Ce)}}function Ee(Ce){var st=Ce.id,Xt=Ce.rootPath,Qt=Ce.onTransform,ye=Ce.onClose;try{var et=b.parse(A);Z=!0,P({id:st||Se,json:et,rootPath:Xt||[],onTransform:function(tt){Qt?Qt({operations:tt,json:et,transformedJson:ns(et,tt)}):(I("onTransform",tt),te(tt))},onClose:function(){Z=!1,he(),ye&&ye()}})}catch(tt){_(tt)}}function se(Ce,st){I("setSelection",{anchor:Ce,head:st}),a&&a.dispatch(a.state.update({selection:{anchor:Ce,head:st},scrollIntoView:!0}))}function le(Ce,st){if(st.state.selection.ranges.length===1){var Xt=st.state.selection.ranges[0],Qt=A.slice(Xt.from,Xt.to);if(Qt==="{"||Qt==="["){var ye=nv.parse(A),et=Object.keys(ye.pointers).find(function(Zt){var tn;return((tn=ye.pointers[Zt].value)===null||tn===void 0?void 0:tn.pos)===Xt.from}),tt=ye.pointers[et];et&&tt&&tt.value&&tt.valueEnd&&(I("pointer found, selecting inner contents of path:",et,tt),se(tt.value.pos+1,tt.valueEnd.pos-1))}}}function Me(){return Ffe(En,{delay:300})}function Oe(Ce){var st=Ce.target,Xt=Ce.initialText,Qt=Ce.readOnly,ye=Ce.indentation;I("Create CodeMirror editor",{readOnly:Qt,indentation:ye});var et=On.create({doc:Xt,selection:B(p),extensions:[fv.of([Efe,J]),V.of(Me()),Yfe(),cce(),dce(),Ele(),Tue(),nue(),xle(),_le(),On.allowMultipleSelections.of(!0),qce(),JM(sue,{fallback:!0}),hue(),lhe(),bhe(),Vle(),Jle(),Dle(),pde(),fv.of([].concat(rn(dhe),rn(Pfe),rn(Mde),rn(zue),rn(Kce),rn(t7),rn(Bfe))),j2e,_he({hideFirstIndent:!0}),yt.domEventHandlers({dblclick:le}),yt.updateListener.of(function(tt){n(8,l=tt.state),tt.docChanged?rt():tt.selectionSet&&Bt()}),cde(),jde({top:!0}),L.of(On.readOnly.of(Qt)),U.of(On.tabSize.of(m)),E.of(Le(ye)),W.of(yt.theme({},{dark:Je()})),yt.lineWrapping,Ohe]});return a=new yt({state:et,parent:st})}function Je(){return!!i&&getComputedStyle(i).getPropertyValue("--jse-theme").includes("dark")}function ue(Ce){var st=Ce.path,Xt=Ce.message,Qt=function(ye,et){try{var tt=nv.parse(ye),Zt=it(et),tn=tt.pointers[Zt];if(tn)return{path:et,line:tn.key?tn.key.line:tn.value?tn.value.line:0,column:tn.key?tn.key.column:tn.value?tn.value.column:0,from:tn.key?tn.key.pos:tn.value?tn.value.pos:0,to:tn.keyEnd?tn.keyEnd.pos:tn.valueEnd?tn.valueEnd.pos:0}}catch(z){console.error(z)}return null}(r.escapeValue(A),st);return{path:st,line:Qt.line,column:Qt.column,from:Qt.from,to:Qt.to,message:Xt,severity:Sa.warning,actions:[]}}function ve(Ce,st){var Xt=Ce.line,Qt=Ce.column,ye=Ce.position,et=Ce.message;return{path:[],line:Xt,column:Qt,from:ye,to:ye,severity:Sa.error,message:et,actions:st&&!c?[{name:"Auto repair",apply:function(){return me()}}]:null}}function We(Ce){var st=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Xt=vx(Ce,g,b),Qt=!vn(Ce,M),ye=M;M=Ce,n(11,A=Xt),I("setCodeMirrorContent",{isChanged:Qt,forceUpdate:st}),a&&(Qt||st)&&(ot(A,D)||a.dispatch({changes:{from:0,to:a.state.doc.length,insert:r.escapeValue(A)}}),gt(),Qt&&Dt(M,ye))}function B(Ce){return wx(Ce)?He.fromJSON(Ce):void 0}function Y(){return(Y=Ut(Ge().mark(function Ce(){return Ge().wrap(function(st){for(;;)switch(st.prev=st.next){case 0:return I("refresh"),st.next=3,pe();case 3:case"end":return st.stop()}},Ce)}))).apply(this,arguments)}function re(){if(a){var Ce=a?r.unescapeValue(a.state.doc.toString()):"",st=Ce!==A;if(I("onChangeCodeMirrorValue",{isChanged:st}),st){var Xt=M;n(11,A=Ce),M={text:A},gt(),Dt(M,Xt),Tr().then(Bt)}}}function pe(){return $e.apply(this,arguments)}function $e(){return($e=Ut(Ge().mark(function Ce(){var st;return Ge().wrap(function(Xt){for(;;)switch(Xt.prev=Xt.next){case 0:return Xt.next=2,Tr();case 2:a&&(st=Je(),I("updateTheme",{dark:st}),a.dispatch({effects:[W.reconfigure(yt.theme({},{dark:st}))]}));case 3:case"end":return Xt.stop()}},Ce)}))).apply(this,arguments)}function Le(Ce){return Q0.of(typeof Ce=="number"?" ".repeat(Ce):Ce)}function gt(){n(12,ee=Eue(a.state)>0),n(13,be=Nue(a.state)>0),I({canUndo:ee,canRedo:be})}hi(function(){an()}),Kj({onMount:Ni,onDestroy:hi,getWindow:function(){return Wf(s)},hasFocus:function(){return Z&&document.hasFocus()||Uj(s)},onFocus:$,onBlur:function(){an(),S()}});var rt=ip(re,300);function an(){rt.flush()}function Dt(Ce,st){k&&k(Ce,st,{contentErrors:Bn(),patchResult:null})}function Bt(){j(ke({type:Hn.text},l.selection.toJSON()))}function ot(Ce,st){return!!Ce&&Ce.length>hx&&!st}var Pn=Ry,Zn=null;function En(){if(ot(A,D))return[];var Ce=Bn();return f6(Ce)?[Y5(ve(Ce.parseError,Ce.isRepairable))]:Kye(Ce)?Ce.validationErrors.map(ue).map(Y5):[]}function Bn(){I("validate:start"),an();var Ce=Xn(r.escapeValue(A),w,b,x);return f6(Ce)?(n(51,Pn=Ce.isRepairable?DC:"invalid"),n(14,Zn=Ce.parseError),n(10,R=[])):(n(51,Pn=Ry),n(14,Zn=null),n(10,R=(Ce==null?void 0:Ce.validationErrors)||[])),I("validate:end"),Ce}var Xn=ap(Nye);function fr(){Zn&&function(Ce){I("select parse error",Ce);var st=ve(Ce,!1);se(st.from!=null?st.from:0,st.to!=null?st.to:0),he()}(Zn)}var Cn={icon:rse,text:"Show me",title:"Move to the parse error location",onClick:fr};return t.$$set=function(Ce){"readOnly"in Ce&&n(1,c=Ce.readOnly),"mainMenuBar"in Ce&&n(2,u=Ce.mainMenuBar),"statusBar"in Ce&&n(3,f=Ce.statusBar),"askToFormat"in Ce&&n(0,d=Ce.askToFormat),"externalContent"in Ce&&n(30,h=Ce.externalContent),"externalSelection"in Ce&&n(31,p=Ce.externalSelection),"indentation"in Ce&&n(32,g=Ce.indentation),"tabSize"in Ce&&n(33,m=Ce.tabSize),"escapeUnicodeCharacters"in Ce&&n(34,v=Ce.escapeUnicodeCharacters),"parser"in Ce&&n(35,b=Ce.parser),"validator"in Ce&&n(36,w=Ce.validator),"validationParser"in Ce&&n(37,x=Ce.validationParser),"onChange"in Ce&&n(38,k=Ce.onChange),"onChangeMode"in Ce&&n(39,y=Ce.onChangeMode),"onSelect"in Ce&&n(40,j=Ce.onSelect),"onError"in Ce&&n(41,_=Ce.onError),"onFocus"in Ce&&n(42,$=Ce.onFocus),"onBlur"in Ce&&n(43,S=Ce.onBlur),"onRenderMenu"in Ce&&n(4,C=Ce.onRenderMenu),"onSortModal"in Ce&&n(44,O=Ce.onSortModal),"onTransformModal"in Ce&&n(45,P=Ce.onTransformModal)},t.$$.update=function(){8&t.$$.dirty[1]&&(r=Hj({escapeControlCharacters:!1,escapeUnicodeCharacters:v})),1073741824&t.$$.dirty[0]&&We(h),1&t.$$.dirty[1]&&function(Ce){if(wx(Ce)){var st=B(Ce);!a||!st||l&&l.selection.eq(st)||(I("applyExternalSelection",st),a.dispatch({selection:st}))}}(p),32&t.$$.dirty[1]&&function(Ce){I("updateLinter",Ce),a&&a.dispatch({effects:V.reconfigure(Me())})}(w),2&t.$$.dirty[1]&&function(Ce){a&&(I("updateIndentation",Ce),a.dispatch({effects:E.reconfigure(Le(Ce))}))}(g),4&t.$$.dirty[1]&&function(Ce){a&&(I("updateTabSize",Ce),a.dispatch({effects:U.reconfigure(On.tabSize.of(Ce))}))}(m),2&t.$$.dirty[0]&&function(Ce){a&&(I("updateReadOnly",Ce),a.dispatch({effects:[L.reconfigure(On.readOnly.of(Ce))]}))}(c),524296&t.$$.dirty[1]&&G!==v&&(n(50,G=v),I("forceUpdateText",{escapeUnicodeCharacters:v}),a&&a.dispatch({changes:{from:0,to:a.state.doc.length,insert:r.escapeValue(A)}})),2&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&n(15,o=Pn!==DC||c?[Cn]:[{icon:H0,text:"Auto repair",title:"Automatically repair JSON",onClick:me},Cn])},[d,c,u,f,C,he,i,s,l,D,R,A,ee,be,Zn,o,H,fe,K,function(){var Ce;if(!c)try{var st=b.parse(A);Z=!0,O({id:we,json:st,rootPath:[],onSort:(Ce=Ut(Ge().mark(function Xt(Qt){var ye;return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:ye=Qt.operations,I("onSort",ye),te(ye);case 3:case"end":return et.stop()}},Xt)})),function(Xt){return Ce.apply(this,arguments)}),onClose:function(){Z=!1,he()}})}catch(Xt){_(Xt)}},function(){c||Ee({rootPath:[]})},function(){a&&(i&&i.querySelector(".cm-search")?Uk(a):Wk(a))},function(){c||a&&(Dk(a),he())},function(){c||a&&(wv(a),he())},function(){n(9,D=!0),We(h,!0)},function(){y(go.tree)},function(){re()},function(Ce){I("select validation error",Ce);var st=ue(Ce);se(st.from,st.to),he()},ot,fr,h,p,g,m,v,b,w,x,k,y,j,_,$,S,O,P,te,Ee,function(){return Y.apply(this,arguments)},Bn,G,Pn,function(Ce){fn[Ce?"unshift":"push"](function(){n(6,i=Ce)})},function(){return n(0,d=!1)},function(Ce){fn[Ce?"unshift":"push"](function(){n(7,s=Ce)})}]}cS.style=function(t){return S2e(t||[])};var A2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,T2e,O2e,Gt,{readOnly:1,mainMenuBar:2,statusBar:3,askToFormat:0,externalContent:30,externalSelection:31,indentation:32,tabSize:33,escapeUnicodeCharacters:34,parser:35,validator:36,validationParser:37,onChange:38,onChangeMode:39,onSelect:40,onError:41,onFocus:42,onBlur:43,onRenderMenu:4,onSortModal:44,onTransformModal:45,focus:5,patch:46,openTransformModal:47,refresh:48,validate:49},$2e,[-1,-1,-1,-1]),o}return lt(n,[{key:"focus",get:function(){return this.$$.ctx[5]}},{key:"patch",get:function(){return this.$$.ctx[46]}},{key:"openTransformModal",get:function(){return this.$$.ctx[47]}},{key:"refresh",get:function(){return this.$$.ctx[48]}},{key:"validate",get:function(){return this.$$.ctx[49]}}]),n}();function P2e(t){var e,n;return e=new k1({props:{items:t[0]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};1&Ft(o,1)[0]&&(i.items=r[0]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function E2e(t,e,n){var r,o,i=e.json,s=e.readOnly,a=e.historyState,l=e.onSort,c=e.onTransform,u=e.onContextMenu,f=e.onUndo,d=e.onRedo,h=e.onRenderMenu;return t.$$set=function(p){"json"in p&&n(1,i=p.json),"readOnly"in p&&n(2,s=p.readOnly),"historyState"in p&&n(3,a=p.historyState),"onSort"in p&&n(4,l=p.onSort),"onTransform"in p&&n(5,c=p.onTransform),"onContextMenu"in p&&n(6,u=p.onContextMenu),"onUndo"in p&&n(7,f=p.onUndo),"onRedo"in p&&n(8,d=p.onRedo),"onRenderMenu"in p&&n(9,h=p.onRenderMenu)},t.$$.update=function(){510&t.$$.dirty&&n(10,r=s?[{type:"space"}]:[{type:"button",icon:V0,title:"Sort",className:"jse-sort",onClick:l,disabled:s||i===void 0},{type:"button",icon:q0,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:c,disabled:s||i===void 0},{type:"button",icon:tN,title:Bj,className:"jse-contextmenu",onClick:u},{type:"separator"},{type:"button",icon:mk,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:f,disabled:!a.canUndo},{type:"button",icon:pk,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:d,disabled:!a.canRedo},{type:"space"}]),1536&t.$$.dirty&&n(0,o=h(r)||r)},[o,i,s,a,l,c,u,f,d,h,r]}var N2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,E2e,P2e,Gt,{json:1,readOnly:2,historyState:3,onSort:4,onTransform:5,onContextMenu:6,onUndo:7,onRedo:8,onRenderMenu:9}),o}return lt(n)}();function X5(t,e,n){var r=t.slice();return r[9]=e[n],r}function K5(t){var e,n,r,o=[t[9].props],i=t[9].component;function s(a,l){var c={};if(l!==void 0&&1&l)c=Mi(o,[Dc(a[9].props)]);else for(var u=0;u<o.length;u+=1)c=Xo(c,o[u]);return{props:c}}return i&&(e=Js(i,s(t))),{c:function(){e&&Pe(e.$$.fragment),n=Sn()},m:function(a,l){e&&Te(e,a,l),ie(a,n,l),r=!0},p:function(a,l){if(1&l&&i!==(i=a[9].component)){if(e){Fe();var c=e;F(c.$$.fragment,1,0,function(){Ae(c,1)}),qe()}i?(Pe((e=Js(i,s(a,l))).$$.fragment),N(e.$$.fragment,1),Te(e,n.parentNode,n)):e=null}else if(i){var u=1&l?Mi(o,[Dc(a[9].props)]):{};e.$set(u)}},i:function(a){r||(e&&N(e.$$.fragment,a),r=!0)},o:function(a){e&&F(e.$$.fragment,a),r=!1},d:function(a){a&&oe(n),e&&Ae(e,a)}}}function Z5(t){var e,n,r=t[9].component,o=K5(t);return{c:function(){o.c(),e=Sn()},m:function(i,s){o.m(i,s),ie(i,e,s),n=!0},p:function(i,s){1&s&&Gt(r,r=i[9].component)?(Fe(),F(o,1,1,Ve),qe(),(o=K5(i)).c(),N(o,1),o.m(e.parentNode,e)):o.p(i,s)},i:function(i){n||(N(o),n=!0)},o:function(i){F(o),n=!1},d:function(i){i&&oe(e),o.d(i)}}}function M2e(t){for(var e,n,r=zt(t[0]),o=[],i=0;i<r.length;i+=1)o[i]=Z5(X5(t,r,i));var s=function(a){return F(o[a],1,1,function(){o[a]=null})};return{c:function(){for(var a=0;a<o.length;a+=1)o[a].c();e=Sn()},m:function(a,l){for(var c=0;c<o.length;c+=1)o[c]&&o[c].m(a,l);ie(a,e,l),n=!0},p:function(a,l){var c=Ft(l,1)[0];if(1&c){var u;for(r=zt(a[0]),u=0;u<r.length;u+=1){var f=X5(a,r,u);o[u]?(o[u].p(f,c),N(o[u],1)):(o[u]=Z5(f),o[u].c(),N(o[u],1),o[u].m(e.parentNode,e))}for(Fe(),u=r.length;u<o.length;u+=1)s(u);qe()}},i:function(a){if(!n){for(var l=0;l<r.length;l+=1)N(o[l]);n=!0}},o:function(a){o=o.filter(Boolean);for(var l=0;l<o.length;l+=1)F(o[l]);n=!1},d:function(a){a&&oe(e),Er(o,a)}}}function R2e(t,e,n){var r,o,i=e.path,s=e.value,a=e.context,l=e.enforceString,c=e.selection,u=e.searchResultItems;function f(d,h){return a.onPatch(function(p,g){return p.flatMap(function(m){if(lk(m)){var v=as(m.path);if(v.length>0){for(var b=[m],w=gn(v);w.length>0&&!$i(g,w);)b.unshift({op:"add",path:it(w),value:{}}),w=gn(w);return b}}return m})}(d,a.getJson()),h)}return t.$$set=function(d){"path"in d&&n(1,i=d.path),"value"in d&&n(2,s=d.value),"context"in d&&n(3,a=d.context),"enforceString"in d&&n(4,l=d.enforceString),"selection"in d&&n(5,c=d.selection),"searchResultItems"in d&&n(6,u=d.searchResultItems)},t.$$.update=function(){40&t.$$.dirty&&n(7,r=!a.readOnly&&wn(c)&&Ri(c)),254&t.$$.dirty&&n(0,o=a.onRenderValue({path:i,value:s,readOnly:a.readOnly,enforceString:l,isEditing:r,parser:a.parser,normalization:a.normalization,selection:c,searchResultItems:u,onPatch:f,onPasteJson:a.onPasteJson,onSelect:a.onSelect,onFind:a.onFind,findNextInside:a.findNextInside,focus:a.focus}))},[o,i,s,a,l,c,u,r]}var I2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,R2e,M2e,Gt,{path:1,value:2,context:3,enforceString:4,selection:5,searchResultItems:6}),o}return lt(n)}();function L2e(t){qt(t,"svelte-1o4m3u7",'.jse-inline-value.svelte-1o4m3u7{font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);line-height:var(--jse-line-height, calc(1em + 4px));border:none;padding:0 calc(0.5 * var(--jse-padding, 10px));background:transparent;color:inherit;cursor:pointer}.jse-inline-value.svelte-1o4m3u7:hover{background:var(--jse-hover-background-color, rgba(0, 0, 0, 0.06))}.jse-inline-value.jse-selected.svelte-1o4m3u7{background:var(--jse-selection-background-color, #d3d3d3)}')}function D2e(t){var e,n,r,o,i=_a(t[2].stringify(t[1]),50)+"";return{c:function(){e=Q("button"),n=Ze(i),T(e,"type","button"),T(e,"class","jse-inline-value svelte-1o4m3u7"),Re(e,"jse-selected",t[3])},m:function(s,a){ie(s,e,a),q(e,n),r||(o=De(e,"dblclick",t[5]),r=!0)},p:function(s,a){var l=Ft(a,1)[0];6&l&&i!==(i=_a(s[2].stringify(s[1]),50)+"")&&Tt(n,i),8&l&&Re(e,"jse-selected",s[3])},i:Ve,o:Ve,d:function(s){s&&oe(e),r=!1,o()}}}function B2e(t,e,n){var r=e.path,o=e.value,i=e.parser,s=e.isSelected,a=e.onEdit;return t.$$set=function(l){"path"in l&&n(0,r=l.path),"value"in l&&n(1,o=l.value),"parser"in l&&n(2,i=l.parser),"isSelected"in l&&n(3,s=l.isSelected),"onEdit"in l&&n(4,a=l.onEdit)},[r,o,i,s,a,function(){return a(r)}]}var z2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,B2e,D2e,Gt,{path:0,value:1,parser:2,isSelected:3,onEdit:4},L2e),o}return lt(n)}();function F2e(t){qt(t,"svelte-2v0aqj",".jse-column-header.svelte-2v0aqj.svelte-2v0aqj{background:none;border:none;font-family:inherit;font-size:inherit;color:inherit;display:flex;gap:var(--jse-padding, 10px);padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px));width:100%}.jse-column-header.svelte-2v0aqj.svelte-2v0aqj:hover{background:var(--jse-table-header-background-highlight, #e8e8e8)}.jse-column-header.svelte-2v0aqj.svelte-2v0aqj:not(.jse-column-header.jse-readonly){cursor:pointer}.jse-column-header.svelte-2v0aqj span.jse-column-sort-icon.svelte-2v0aqj{height:1em}")}function eO(t){var e,n,r,o;return n=new kn({props:{data:t[1]===Oi.asc?ji:h4}}),{c:function(){e=Q("span"),Pe(n.$$.fragment),T(e,"class","jse-column-sort-icon svelte-2v0aqj"),T(e,"title",r="Currently sorted in ".concat(t[2]," order"))},m:function(i,s){ie(i,e,s),Te(n,e,null),o=!0},p:function(i,s){var a={};2&s&&(a.data=i[1]===Oi.asc?ji:h4),n.$set(a),(!o||4&s&&r!==(r="Currently sorted in ".concat(i[2]," order")))&&T(e,"title",r)},i:function(i){o||(N(n.$$.fragment,i),o=!0)},o:function(i){F(n.$$.fragment,i),o=!1},d:function(i){i&&oe(e),Ae(n)}}}function q2e(t){var e,n,r,o,i,s,a,l,c=_a(t[3],50)+"",u=t[1]!==void 0&&eO(t);return{c:function(){e=Q("button"),n=Q("span"),r=Ze(c),o=ge(),u&&u.c(),T(n,"class","jse-column-name"),T(e,"type","button"),T(e,"class","jse-column-header svelte-2v0aqj"),T(e,"title",i=t[0]?t[3]:t[3]+" (Click to sort the data by this column)"),Re(e,"jse-readonly",t[0])},m:function(f,d){ie(f,e,d),q(e,n),q(n,r),q(e,o),u&&u.m(e,null),s=!0,a||(l=De(e,"click",t[4]),a=!0)},p:function(f,d){var h=Ft(d,1)[0];(!s||8&h)&&c!==(c=_a(f[3],50)+"")&&Tt(r,c),f[1]!==void 0?u?(u.p(f,h),2&h&&N(u,1)):((u=eO(f)).c(),N(u,1),u.m(e,null)):u&&(Fe(),F(u,1,1,function(){u=null}),qe()),(!s||9&h&&i!==(i=f[0]?f[3]:f[3]+" (Click to sort the data by this column)"))&&T(e,"title",i),(!s||1&h)&&Re(e,"jse-readonly",f[0])},i:function(f){s||(N(u),s=!0)},o:function(f){F(u),s=!1},d:function(f){f&&oe(e),u&&u.d(),a=!1,l()}}}function H2e(t,e,n){var r,o,i,s=e.path,a=e.sortedColumn,l=e.readOnly,c=e.onSort;return t.$$set=function(u){"path"in u&&n(5,s=u.path),"sortedColumn"in u&&n(6,a=u.sortedColumn),"readOnly"in u&&n(0,l=u.readOnly),"onSort"in u&&n(7,c=u.onSort)},t.$$.update=function(){var u;32&t.$$.dirty&&n(3,r=yn(s)?"values":Ko(s)),96&t.$$.dirty&&n(1,o=a&&vn(s,(u=a)===null||u===void 0?void 0:u.path)?a.sortDirection:void 0),2&t.$$.dirty&&n(2,i=o?Wve[o]:void 0)},[l,o,i,r,function(){l||c({path:s,sortDirection:o===Oi.asc?Oi.desc:Oi.asc})},s,a,c]}var Hm,Vm,V2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,H2e,q2e,Gt,{path:5,sortedColumn:6,readOnly:0,onSort:7},F2e),o}return lt(n)}();function p9(t,e){return Hm||(Vm=new WeakMap,Hm=new ResizeObserver(function(n){var r,o=yo(n);try{for(o.s();!(r=o.n()).done;){var i=r.value,s=Vm.get(i.target);s&&s(i.target)}}catch(a){o.e(a)}finally{o.f()}})),Vm.set(t,e),Hm.observe(t),{destroy:function(){Vm.delete(t),Hm.unobserve(t)}}}function W2e(t){var e,n;return e=new e9({props:{items:t[1],tip:t[0]?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};2&o[0]&&(i.items=r[1]),1&o[0]&&(i.tip=r[0]?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function U2e(t,e,n){var r,o,i,s,a,l,c,u,f,d=e.json,h=e.documentState,p=e.parser,g=e.showTip,m=e.onCloseContextMenu,v=e.onEditValue,b=e.onEditRow,w=e.onToggleEnforceString,x=e.onCut,k=e.onCopy,y=e.onPaste,j=e.onRemove,_=e.onDuplicateRow,$=e.onInsertBeforeRow,S=e.onInsertAfterRow,C=e.onRemoveRow;function O(){m(),v()}function P(){m(),b()}function I(){m(),w()}function J(){m(),x(!0)}function H(){m(),x(!1)}function D(){m(),k(!0)}function R(){m(),k(!1)}function V(){m(),y()}function L(){m(),j()}function E(){m(),_()}function U(){m(),$()}function W(){m(),S()}function M(){m(),C()}return t.$$set=function(A){"json"in A&&n(2,d=A.json),"documentState"in A&&n(3,h=A.documentState),"parser"in A&&n(4,p=A.parser),"showTip"in A&&n(0,g=A.showTip),"onCloseContextMenu"in A&&n(5,m=A.onCloseContextMenu),"onEditValue"in A&&n(6,v=A.onEditValue),"onEditRow"in A&&n(7,b=A.onEditRow),"onToggleEnforceString"in A&&n(8,w=A.onToggleEnforceString),"onCut"in A&&n(9,x=A.onCut),"onCopy"in A&&n(10,k=A.onCopy),"onPaste"in A&&n(11,y=A.onPaste),"onRemove"in A&&n(12,j=A.onRemove),"onDuplicateRow"in A&&n(13,_=A.onDuplicateRow),"onInsertBeforeRow"in A&&n(14,$=A.onInsertBeforeRow),"onInsertAfterRow"in A&&n(15,S=A.onInsertAfterRow),"onRemoveRow"in A&&n(16,C=A.onRemoveRow)},t.$$.update=function(){8&t.$$.dirty[0]&&n(22,r=h.selection),4&t.$$.dirty[0]&&n(24,o=d!==void 0),4194304&t.$$.dirty[0]&&n(17,i=!!r),4194308&t.$$.dirty[0]&&n(23,s=d!==void 0&&r?pt(d,_t(r)):void 0),20971520&t.$$.dirty[0]&&n(18,a=o&&(Fn(r)||Mr(r)||wn(r))),20971520&t.$$.dirty[0]&&n(21,l=o&&r!=null&&Wv(r)),10485760&t.$$.dirty[0]&&n(19,c=l&&!vr(s)),12582936&t.$$.dirty[0]&&n(20,u=r!=null&&Ca(s,h.enforceStringMap,it(_t(r)),p)),4063232&t.$$.dirty[0]&&n(1,f=[{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"label",text:"Table cell:"},{type:"dropdown-button",main:{type:"button",onClick:O,icon:Bu,text:"Edit",title:"Edit the value (Double-click on the value)",disabled:!l},width:"11em",items:[{type:"button",icon:Bu,text:"Edit",title:"Edit the value (Double-click on the value)",onClick:O,disabled:!l},{type:"button",icon:u?Sh:$h,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:I,disabled:!c}]},{type:"dropdown-button",main:{type:"button",onClick:J,icon:Du,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!a},width:"10em",items:[{type:"button",icon:Du,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:J,disabled:!a},{type:"button",icon:Du,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:H,disabled:!a}]},{type:"dropdown-button",main:{type:"button",onClick:D,icon:pl,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!a},width:"12em",items:[{type:"button",icon:pl,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:D,disabled:!a},{type:"button",icon:pl,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:R,disabled:!a}]},{type:"button",onClick:V,icon:ZE,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:!i},{type:"button",onClick:L,icon:ow,text:"Remove",title:"Remove selected contents (Delete)",disabled:!a}]},{type:"column",items:[{type:"label",text:"Table row:"},{type:"button",onClick:P,icon:Bu,text:"Edit row",title:"Edit the current row",disabled:!a},{type:"button",onClick:E,icon:rN,text:"Duplicate row",title:"Duplicate the current row",disabled:!i},{type:"button",onClick:U,icon:wu,text:"Insert before",title:"Insert a row before the current row",disabled:!i},{type:"button",onClick:W,icon:wu,text:"Insert after",title:"Insert a row after the current row",disabled:!i},{type:"button",onClick:M,icon:ow,text:"Remove row",title:"Remove current row",disabled:!i}]}]}])},[g,f,d,h,p,m,v,b,w,x,k,y,j,_,$,S,C,i,a,c,u,l,r,s,o]}var J2e=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,U2e,W2e,Gt,{json:2,documentState:3,parser:4,showTip:0,onCloseContextMenu:5,onEditValue:6,onEditRow:7,onToggleEnforceString:8,onCut:9,onCopy:10,onPaste:11,onRemove:12,onDuplicateRow:13,onInsertBeforeRow:14,onInsertAfterRow:15,onRemoveRow:16},null,[-1,-1]),o}return lt(n)}();function G2e(t){qt(t,"svelte-fxr3ye",'.jse-table-mode-welcome.svelte-fxr3ye.svelte-fxr3ye{flex:1;display:flex;flex-direction:column;overflow:auto;align-items:center;border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode-welcome.svelte-fxr3ye.svelte-fxr3ye:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode-welcome.svelte-fxr3ye .jse-space.jse-before.svelte-fxr3ye{flex:1}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays.svelte-fxr3ye{display:flex;flex-direction:column;gap:var(--jse-padding, 10px);max-width:300px;margin:2em var(--jse-padding, 10px);font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays .jse-nested-arrays-info.svelte-fxr3ye{color:var(--jse-panel-color-readonly, #b2b2b2)}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays button.jse-nested-array-action.svelte-fxr3ye{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-primary-background, var(--jse-theme-color, #3883fa));color:var(--jse-button-primary-color, #fff);padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px;text-align:left}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays button.jse-nested-array-action.svelte-fxr3ye:hover{background:var(--jse-button-primary-background-highlight, var(--jse-theme-color-highlight, #5f9dff))}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays button.jse-nested-array-action.svelte-fxr3ye:disabled{background:var(--jse-button-primary-background-disabled, #9d9d9d)}.jse-table-mode-welcome.svelte-fxr3ye .jse-nested-arrays button.jse-nested-array-action .jse-nested-array-count.svelte-fxr3ye{opacity:0.5;white-space:nowrap}.jse-table-mode-welcome.svelte-fxr3ye .jse-space.jse-after.svelte-fxr3ye{flex:2}')}function tO(t,e,n){var r=t.slice();r[13]=e[n];var o=pt(r[0],r[13]).length;return r[14]=o,r}function Q2e(t){var e,n;return{c:function(){e=Ze(t[7]),n=Ze(" cannot be opened in table mode.")},m:function(r,o){ie(r,e,o),ie(r,n,o)},p:function(r,o){128&o&&Tt(e,r[7])},d:function(r){r&&(oe(e),oe(n))}}}function Y2e(t){var e;return{c:function(){e=Ze(`An object cannot be opened in table mode. You can open a nested array instead, or open the
104
104
  document in tree mode.`)},m:function(n,r){ie(n,e,r)},p:Ve,d:function(n){n&&oe(e)}}}function X2e(t){var e;return{c:function(){e=Ze("You can open the document in tree mode instead.")},m:function(n,r){ie(n,e,r)},d:function(n){n&&oe(e)}}}function K2e(t){var e,n,r;return{c:function(){e=Ze("You can open the document in tree mode instead, or paste a JSON Array using "),(n=Q("b")).textContent="Ctrl+V",r=Ze(".")},m:function(o,i){ie(o,e,i),ie(o,n,i),ie(o,r,i)},d:function(o){o&&(oe(e),oe(n),oe(r))}}}function nO(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p=Ko(t[13])+"",g=t[14]+"",m=t[14]!==1?"items":"item";function v(){return t[11](t[13])}return{c:function(){e=Q("button"),n=Ze(t[8]),r=Ze(' "'),o=Ze(p),i=Ze(`"
105
- `),s=Q("span"),a=Ze("("),l=Ze(g),c=ge(),u=Ze(m),f=Ze(")"),T(s,"class","jse-nested-array-count svelte-fxr3ye"),T(e,"type","button"),T(e,"class","jse-nested-array-action svelte-fxr3ye")},m:function(b,w){ie(b,e,w),q(e,n),q(e,r),q(e,o),q(e,i),q(e,s),q(s,a),q(s,l),q(s,c),q(s,u),q(s,f),d||(h=De(e,"click",v),d=!0)},p:function(b,w){t=b,256&w&&Tt(n,t[8]),16&w&&p!==(p=Ko(t[13])+"")&&Tt(o,p),17&w&&g!==(g=t[14]+"")&&Tt(l,g),17&w&&m!==(m=t[14]!==1?"items":"item")&&Tt(u,m)},d:function(b){b&&oe(e),d=!1,h()}}}function Z2e(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b;function w(O,P){return O[6]?Y2e:Q2e}var x=w(t),k=x(t);function y(O,P){return O[5]&&!O[1]?K2e:X2e}for(var j=y(t),_=j(t),$=zt(t[4]),S=[],C=0;C<$.length;C+=1)S[C]=nO(tO(t,$,C));return{c:function(){e=Q("div"),n=Q("div"),r=ge(),o=Q("div"),i=Q("div"),s=Ze(t[7]),a=ge(),l=Q("div"),k.c(),c=ge(),_.c(),u=ge();for(var O=0;O<S.length;O+=1)S[O].c();f=ge(),d=Q("button"),h=Ze(t[8]),p=Ze(" in tree mode"),g=ge(),m=Q("div"),T(n,"class","jse-space jse-before svelte-fxr3ye"),T(i,"class","jse-nested-arrays-title"),T(l,"class","jse-nested-arrays-info svelte-fxr3ye"),T(d,"type","button"),T(d,"class","jse-nested-array-action svelte-fxr3ye"),T(o,"class","jse-nested-arrays svelte-fxr3ye"),T(m,"class","jse-space jse-after svelte-fxr3ye"),T(e,"class","jse-table-mode-welcome svelte-fxr3ye")},m:function(O,P){ie(O,e,P),q(e,n),q(e,r),q(e,o),q(o,i),q(i,s),q(o,a),q(o,l),k.m(l,null),q(l,c),_.m(l,null),q(o,u);for(var I=0;I<S.length;I+=1)S[I]&&S[I].m(o,null);q(o,f),q(o,d),q(d,h),q(d,p),q(e,g),q(e,m),v||(b=De(d,"click",t[12]),v=!0)},p:function(O,P){var I=Ft(P,1)[0];if(128&I&&Tt(s,O[7]),x===(x=w(O))&&k?k.p(O,I):(k.d(1),(k=x(O))&&(k.c(),k.m(l,c))),j!==(j=y(O))&&(_.d(1),(_=j(O))&&(_.c(),_.m(l,null))),277&I){var J;for($=zt(O[4]),J=0;J<$.length;J+=1){var H=tO(O,$,J);S[J]?S[J].p(H,I):(S[J]=nO(H),S[J].c(),S[J].m(o,f))}for(;J<S.length;J+=1)S[J].d(1);S.length=$.length}256&I&&Tt(h,O[8])},i:Ve,o:Ve,d:function(O){O&&oe(e),k.d(),_.d(),Er(S,O),v=!1,b()}}}function eke(t,e,n){var r,o,i,s,a,l=e.text,c=e.json,u=e.readOnly,f=e.parser,d=e.openJSONEditorModal,h=e.onChangeMode;return t.$$set=function(p){"text"in p&&n(9,l=p.text),"json"in p&&n(0,c=p.json),"readOnly"in p&&n(1,u=p.readOnly),"parser"in p&&n(10,f=p.parser),"openJSONEditorModal"in p&&n(2,d=p.openJSONEditorModal),"onChangeMode"in p&&n(3,h=p.onChangeMode)},t.$$.update=function(){2&t.$$.dirty&&n(8,r=u?"View":"Edit"),1&t.$$.dirty&&n(4,a=c?function(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,m=[];return function v(b,w){wr(b)&&w.length<g&&Object.keys(b).forEach(function(x){v(b[x],w.concat(x))}),Gn(b)&&m.push(w)}(p,[]),m}(c).slice(0,99).filter(function(p){return p.length>0}):[]),16&t.$$.dirty&&n(6,o=!yn(a)),513&t.$$.dirty&&n(5,i=c===void 0&&(l===""||l===void 0)),1121&t.$$.dirty&&n(7,s=o?"Object with nested arrays":i?"An empty document":wr(c)?"An object":Gn(c)?"An empty array":"A ".concat(Fj(c,f)))},[c,u,d,h,a,i,o,s,r,l,f,function(p){return d(p)},function(){return h(go.tree)}]}var tke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,eke,Z2e,Gt,{text:9,json:0,readOnly:1,parser:10,openJSONEditorModal:2,onChangeMode:3},G2e),o}return lt(n)}();function nke(t){qt(t,"svelte-1nml1r3",".jse-column-header.svelte-1nml1r3{background:none;border:none;font-family:inherit;font-size:inherit;color:inherit;display:flex;gap:var(--jse-padding, 10px);padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px));width:100%}.jse-column-header.svelte-1nml1r3:hover{background:var(--jse-table-header-background-highlight, #e8e8e8)}.jse-column-header.svelte-1nml1r3:not(.jse-column-header.jse-readonly){cursor:pointer}")}function rke(t){var e,n,r,o,i,s;return n=new kn({props:{data:gse}}),{c:function(){e=Q("button"),Pe(n.$$.fragment),T(e,"type","button"),T(e,"class","jse-column-header svelte-1nml1r3"),T(e,"title",r="The Columns are created by sampling ".concat(t[1]," items out of ").concat(t[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower.")},m:function(a,l){ie(a,e,l),Te(n,e,null),o=!0,i||(s=De(e,"click",t[3]),i=!0)},p:function(a,l){var c=Ft(l,1)[0];(!o||3&c&&r!==(r="The Columns are created by sampling ".concat(a[1]," items out of ").concat(a[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower."))&&T(e,"title",r)},i:function(a){o||(N(n.$$.fragment,a),o=!0)},o:function(a){F(n.$$.fragment,a),o=!1},d:function(a){a&&oe(e),Ae(n),i=!1,s()}}}function oke(t,e,n){var r=e.count,o=e.maxSampleCount,i=e.onRefresh;return t.$$set=function(s){"count"in s&&n(0,r=s.count),"maxSampleCount"in s&&n(1,o=s.maxSampleCount),"onRefresh"in s&&n(2,i=s.onRefresh)},[r,o,i,function(){return i()}]}var ike=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,oke,rke,Gt,{count:0,maxSampleCount:1,onRefresh:2},nke),o}return lt(n)}();function ske(t){qt(t,"svelte-1bunebm",'.jse-table-mode.svelte-1bunebm.svelte-1bunebm{flex:1;display:flex;flex-direction:column;position:relative;background:var(--jse-background-color, #fff);min-width:0;min-height:0;font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:var(--jse-text-color, #4d4d4d);line-height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.no-main-menu.svelte-1bunebm.svelte-1bunebm{border-top:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-hidden-input-label.svelte-1bunebm{position:fixed;right:0;top:0;width:0;height:0}.jse-table-mode.svelte-1bunebm .jse-hidden-input-label .jse-hidden-input.svelte-1bunebm{width:0;height:0;padding:0;border:0;outline:none}.jse-table-mode.svelte-1bunebm .jse-contents.svelte-1bunebm{flex:1;align-items:start;flex-direction:column;display:flex;overflow:auto;overflow-anchor:none;border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-contents.svelte-1bunebm:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main.svelte-1bunebm{border-collapse:collapse;border-spacing:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-start-section td.svelte-1bunebm,.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-1bunebm{margin:0;padding:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-1bunebm{padding-bottom:var(--jse-padding, 10px)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row.svelte-1bunebm:hover{background-color:var(--jse-table-row-odd-background, rgba(0, 0, 0, 0.05))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm{padding:0 var(--jse-padding, 10px) 0 0;vertical-align:top;white-space:nowrap;height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-1bunebm,.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-1bunebm{font-weight:normal;text-align:left;color:var(--jse-text-readonly, #8d8d8d);background:var(--jse-table-header-background, #f5f5f5)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-1bunebm{padding:0;position:sticky;top:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header .jse-table-root-error.svelte-1bunebm{padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-1bunebm{padding:0 var(--jse-padding, 10px) 0 calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-selected-value.svelte-1bunebm>.jse-value{background:var(--jse-selection-background-color, #d3d3d3)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm div{display:inline-flex}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm div.jse-value{overflow-wrap:normal;white-space:nowrap;vertical-align:top;display:inline-block}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell .jse-context-menu-anchor.svelte-1bunebm{position:relative;vertical-align:top}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading.svelte-1bunebm{align-items:unset}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading .jse-loading-space.svelte-1bunebm{flex:1}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading .jse-loading.svelte-1bunebm{flex:2;text-align:center;color:var(--jse-panel-color-readonly, #b2b2b2);box-sizing:border-box;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}')}function rO(t,e,n){var r=t.slice();r[122]=e[n],r[126]=n;var o=r[23].startIndex+r[126];r[123]=o;var i=r[22].rows[r[123]];return r[124]=i,r}function oO(t,e,n){var r,o=t.slice();o[127]=e[n],o[133]=n;var i=[String(o[123])].concat(o[127]);o[128]=i;var s=pt(o[122],o[127]);o[129]=s;var a=wn(o[11].selection)&&Ll(o[11].selection.path,o[128]);o[130]=a;var l=(r=o[124])===null||r===void 0?void 0:r.columns[o[133]];return o[131]=l,o}function iO(t,e,n){var r=t.slice();return r[127]=e[n],r}function sO(t){var e,n;return e=new N2e({props:{json:t[8],readOnly:t[0],historyState:t[20],onSort:t[41],onTransform:t[42],onUndo:t[43],onRedo:t[44],onContextMenu:t[33],onRenderMenu:t[5]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};256&o[0]&&(i.json=r[8]),1&o[0]&&(i.readOnly=r[0]),1048576&o[0]&&(i.historyState=r[20]),32&o[0]&&(i.onRenderMenu=r[5]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function ake(t){var e;return{c:function(){(e=Q("div")).innerHTML='<div class="jse-loading-space svelte-1bunebm"></div> <div class="jse-loading svelte-1bunebm">loading...</div>',T(e,"class","jse-contents jse-contents-loading svelte-1bunebm")},m:function(n,r){ie(n,e,r)},p:Ve,i:Ve,o:Ve,d:function(n){n&&oe(e)}}}function lke(t){var e,n,r,o,i,s,a,l,c,u=[fke,uke,cke],f=[];function d(h,p){return h[25]?0:h[17]&&h[16]!==void 0&&h[16]!==""?1:2}return o=d(t),i=f[o]=u[o](t),{c:function(){e=Q("label"),n=Q("input"),r=ge(),i.c(),s=Sn(),T(n,"type","text"),n.readOnly=!0,T(n,"tabindex","-1"),T(n,"class","jse-hidden-input svelte-1bunebm"),T(e,"class","jse-hidden-input-label svelte-1bunebm")},m:function(h,p){ie(h,e,p),q(e,n),t[72](n),ie(h,r,p),f[o].m(h,p),ie(h,s,p),a=!0,l||(c=De(n,"paste",t[38]),l=!0)},p:function(h,p){var g=o;(o=d(h))===g?f[o].p(h,p):(Fe(),F(f[g],1,1,function(){f[g]=null}),qe(),(i=f[o])?i.p(h,p):(i=f[o]=u[o](h)).c(),N(i,1),i.m(s.parentNode,s))},i:function(h){a||(N(i),a=!0)},o:function(h){F(i),a=!1},d:function(h){h&&(oe(e),oe(r),oe(s)),t[72](null),f[o].d(h),l=!1,c()}}}function cke(t){var e,n;return e=new tke({props:{text:t[16],json:t[8],readOnly:t[0],parser:t[2],openJSONEditorModal:t[40],onChangeMode:t[4]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};65536&o[0]&&(i.text=r[16]),256&o[0]&&(i.json=r[8]),1&o[0]&&(i.readOnly=r[0]),4&o[0]&&(i.parser=r[2]),16&o[0]&&(i.onChangeMode=r[4]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function uke(t){var e,n,r,o;return e=new hs({props:{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",actions:t[0]?[]:[{icon:Al,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:t[36]}]}}),r=new u9({props:{text:t[16],json:t[8],indentation:t[3],parser:t[2]}}),{c:function(){Pe(e.$$.fragment),n=ge(),Pe(r.$$.fragment)},m:function(i,s){Te(e,i,s),ie(i,n,s),Te(r,i,s),o=!0},p:function(i,s){var a={};1&s[0]&&(a.actions=i[0]?[]:[{icon:Al,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:i[36]}]),e.$set(a);var l={};65536&s[0]&&(l.text=i[16]),256&s[0]&&(l.json=i[8]),8&s[0]&&(l.indentation=i[3]),4&s[0]&&(l.parser=i[2]),r.$set(l)},i:function(i){o||(N(e.$$.fragment,i),N(r.$$.fragment,i),o=!0)},o:function(i){F(e.$$.fragment,i),F(r.$$.fragment,i),o=!1},d:function(i){i&&oe(n),Ae(e,i),Ae(r,i)}}}function fke(t){for(var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b,w,x,k,y,j,_,$=!yn((e=t[22])===null||e===void 0?void 0:e.root),S=$&&aO(t),C=zt(t[10]),O=[],P=0;P<C.length;P+=1)O[P]=lO(iO(t,C,P));for(var I=function(U){return F(O[U],1,1,function(){O[U]=null})},J=t[24]&&cO(t),H=zt(t[23].visibleItems),D=[],R=0;R<H.length;R+=1)D[R]=gO(rO(t,H,R));var V=function(U){return F(D[U],1,1,function(){D[U]=null})},L=t[18]&&vO(t),E=t[19]&&yO(t);return k=new Zj({props:{validationErrors:t[12],selectError:t[39]}}),{c:function(){n=Q("div"),r=Q("table"),o=Q("tbody"),i=Q("tr"),s=Q("th"),S&&S.c(),a=ge();for(var U=0;U<O.length;U+=1)O[U].c();l=ge(),J&&J.c(),c=ge(),u=Q("tr"),f=Q("td"),h=ge();for(var W=0;W<D.length;W+=1)D[W].c();p=ge(),g=Q("tr"),m=Q("td"),b=ge(),L&&L.c(),w=ge(),E&&E.c(),x=ge(),Pe(k.$$.fragment),T(s,"class","jse-table-cell jse-table-cell-header svelte-1bunebm"),T(i,"class","jse-table-row jse-table-row-header svelte-1bunebm"),T(f,"colspan",d=t[10].length),T(f,"class","svelte-1bunebm"),Ao(f,"height",t[23].startHeight+"px"),T(u,"class","jse-table-invisible-start-section"),T(m,"colspan",v=t[10].length),T(m,"class","svelte-1bunebm"),Ao(m,"height",t[23].endHeight+"px"),T(g,"class","jse-table-invisible-end-section"),T(r,"class","jse-table-main svelte-1bunebm"),T(r,"cellpadding","0"),T(r,"cellspacing","0"),T(n,"class","jse-contents svelte-1bunebm")},m:function(U,W){ie(U,n,W),q(n,r),q(r,o),q(o,i),q(i,s),S&&S.m(s,null),q(i,a);for(var M=0;M<O.length;M+=1)O[M]&&O[M].m(i,null);q(i,l),J&&J.m(i,null),q(o,c),q(o,u),q(u,f),q(o,h);for(var A=0;A<D.length;A+=1)D[A]&&D[A].m(o,null);q(o,p),q(o,g),q(g,m),t[75](n),ie(U,b,W),L&&L.m(U,W),ie(U,w,W),E&&E.m(U,W),ie(U,x,W),Te(k,U,W),y=!0,j||(_=[so(p9.call(null,n,t[45])),De(n,"scroll",t[29])],j=!0)},p:function(U,W){var M;if(4194304&W[0]&&($=!yn((M=U[22])===null||M===void 0?void 0:M.root)),$?S?(S.p(U,W),4194304&W[0]&&N(S,1)):((S=aO(U)).c(),N(S,1),S.m(s,null)):S&&(Fe(),F(S,1,1,function(){S=null}),qe()),268438529&W[0]){var A;for(C=zt(U[10]),A=0;A<C.length;A+=1){var G=iO(U,C,A);O[A]?(O[A].p(G,W),N(O[A],1)):(O[A]=lO(G),O[A].c(),N(O[A],1),O[A].m(i,l))}for(Fe(),A=C.length;A<O.length;A+=1)I(A);qe()}if(U[24]?J?(J.p(U,W),16777216&W[0]&&N(J,1)):((J=cO(U)).c(),N(J,1),J.m(i,null)):J&&(Fe(),F(J,1,1,function(){J=null}),qe()),(!y||1024&W[0]&&d!==(d=U[10].length))&&T(f,"colspan",d),8388608&W[0]&&Ao(f,"height",U[23].startHeight+"px"),165678085&W[0]|33281&W[1]){var ee;for(H=zt(U[23].visibleItems),ee=0;ee<H.length;ee+=1){var be=rO(U,H,ee);D[ee]?(D[ee].p(be,W),N(D[ee],1)):(D[ee]=gO(be),D[ee].c(),N(D[ee],1),D[ee].m(o,p))}for(Fe(),ee=H.length;ee<D.length;ee+=1)V(ee);qe()}(!y||1024&W[0]&&v!==(v=U[10].length))&&T(m,"colspan",v),8388608&W[0]&&Ao(m,"height",U[23].endHeight+"px"),U[18]?L?(L.p(U,W),262144&W[0]&&N(L,1)):((L=vO(U)).c(),N(L,1),L.m(w.parentNode,w)):L&&(Fe(),F(L,1,1,function(){L=null}),qe()),U[19]?E?(E.p(U,W),524288&W[0]&&N(E,1)):((E=yO(U)).c(),N(E,1),E.m(x.parentNode,x)):E&&(Fe(),F(E,1,1,function(){E=null}),qe());var we={};4096&W[0]&&(we.validationErrors=U[12]),k.$set(we)},i:function(U){if(!y){N(S);for(var W=0;W<C.length;W+=1)N(O[W]);N(J);for(var M=0;M<H.length;M+=1)N(D[M]);N(L),N(E),N(k.$$.fragment,U),y=!0}},o:function(U){F(S),O=O.filter(Boolean);for(var W=0;W<O.length;W+=1)F(O[W]);F(J),D=D.filter(Boolean);for(var M=0;M<D.length;M+=1)F(D[M]);F(L),F(E),F(k.$$.fragment,U),y=!1},d:function(U){U&&(oe(n),oe(b),oe(w),oe(x)),S&&S.d(),Er(O,U),J&&J.d(),Er(D,U),t[75](null),L&&L.d(U),E&&E.d(U),Ae(k,U),j=!1,Wn(_)}}}function aO(t){var e,n,r,o;return r=new Jf({props:{validationError:Cf([],(e=t[22])===null||e===void 0?void 0:e.root),onExpand:Vi}}),{c:function(){n=Q("div"),Pe(r.$$.fragment),T(n,"class","jse-table-root-error svelte-1bunebm")},m:function(i,s){ie(i,n,s),Te(r,n,null),o=!0},p:function(i,s){var a,l={};4194304&s[0]&&(l.validationError=Cf([],(a=i[22])===null||a===void 0?void 0:a.root)),r.$set(l)},i:function(i){o||(N(r.$$.fragment,i),o=!0)},o:function(i){F(r.$$.fragment,i),o=!1},d:function(i){i&&oe(n),Ae(r)}}}function lO(t){var e,n,r;return n=new V2e({props:{path:t[127],sortedColumn:t[11].sortedColumn,readOnly:t[0],onSort:t[28]}}),{c:function(){e=Q("th"),Pe(n.$$.fragment),T(e,"class","jse-table-cell jse-table-cell-header svelte-1bunebm")},m:function(o,i){ie(o,e,i),Te(n,e,null),r=!0},p:function(o,i){var s={};1024&i[0]&&(s.path=o[127]),2048&i[0]&&(s.sortedColumn=o[11].sortedColumn),1&i[0]&&(s.readOnly=o[0]),n.$set(s)},i:function(o){r||(N(n.$$.fragment,o),r=!0)},o:function(o){F(n.$$.fragment,o),r=!1},d:function(o){o&&oe(e),Ae(n)}}}function cO(t){var e,n,r;return n=new ike({props:{count:Array.isArray(t[8])?t[8].length:0,maxSampleCount:t[9],onRefresh:t[73]}}),{c:function(){e=Q("th"),Pe(n.$$.fragment),T(e,"class","jse-table-cell jse-table-cell-header svelte-1bunebm")},m:function(o,i){ie(o,e,i),Te(n,e,null),r=!0},p:function(o,i){var s={};256&i[0]&&(s.count=Array.isArray(o[8])?o[8].length:0),512&i[0]&&(s.maxSampleCount=o[9]),512&i[0]&&(s.onRefresh=o[73]),n.$set(s)},i:function(o){r||(N(n.$$.fragment,o),r=!0)},o:function(o){F(n.$$.fragment,o),r=!1},d:function(o){o&&oe(e),Ae(n)}}}function uO(t){var e,n;return e=new Jf({props:{validationError:Cf([String(t[123])],t[124].row),onExpand:Vi}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};12582912&o[0]&&(i.validationError=Cf([String(r[123])],r[124].row)),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function fO(t){var e,n,r,o,i,s,a,l,c=t[123]+"",u=!yn((e=t[124])===null||e===void 0?void 0:e.row),f=u&&uO(t);function d(){for(var h,p=arguments.length,g=new Array(p),m=0;m<p;m++)g[m]=arguments[m];return(h=t)[74].apply(h,[t[123]].concat(g))}return{c:function(){n=Q("th"),r=Ze(c),o=ge(),f&&f.c(),T(n,"class","jse-table-cell jse-table-cell-gutter svelte-1bunebm")},m:function(h,p){ie(h,n,p),q(n,r),q(n,o),f&&f.m(n,null),s=!0,a||(l=so(i=p9.call(null,n,d)),a=!0)},p:function(h,p){var g;t=h,(!s||8388608&p[0])&&c!==(c=t[123]+"")&&Tt(r,c),12582912&p[0]&&(u=!yn((g=t[124])===null||g===void 0?void 0:g.row)),u?f?(f.p(t,p),12582912&p[0]&&N(f,1)):((f=uO(t)).c(),N(f,1),f.m(n,null)):f&&(Fe(),F(f,1,1,function(){f=null}),qe()),i&&io(i.update)&&8388608&p[0]&&i.update.call(null,d)},i:function(h){s||(N(f),s=!0)},o:function(h){F(f),s=!1},d:function(h){h&&oe(n),f&&f.d(),a=!1,l()}}}function dke(t){var e,n;return e=new I2e({props:{path:t[128],value:t[129]!==void 0?t[129]:"",enforceString:Ca(t[129],t[11].enforceStringMap,it(t[128]),t[21].parser),selection:t[130]?t[11].selection:null,searchResultItems:t[27],context:t[21]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};8389632&o[0]&&(i.path=r[128]),8389632&o[0]&&(i.value=r[129]!==void 0?r[129]:""),10488832&o[0]&&(i.enforceString=Ca(r[129],r[11].enforceStringMap,it(r[128]),r[21].parser)),8391680&o[0]&&(i.selection=r[130]?r[11].selection:null),2097152&o[0]&&(i.context=r[21]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function hke(t){var e,n;return e=new z2e({props:{path:t[128],value:t[129],parser:t[2],isSelected:t[130],onEdit:t[40]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};8389632&o[0]&&(i.path=r[128]),8389632&o[0]&&(i.value=r[129]),4&o[0]&&(i.parser=r[2]),8391680&o[0]&&(i.isSelected=r[130]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function dO(t){var e,n,r,o;return n=new Vl({props:{selected:!0,onContextMenu:t[31]}}),{c:function(){e=Q("div"),Pe(n.$$.fragment),r=ge(),T(e,"class","jse-context-menu-anchor svelte-1bunebm")},m:function(i,s){ie(i,e,s),Te(n,e,null),ie(i,r,s),o=!0},p:Ve,i:function(i){o||(N(n.$$.fragment,i),o=!0)},o:function(i){F(n.$$.fragment,i),o=!1},d:function(i){i&&(oe(e),oe(r)),Ae(n)}}}function hO(t){var e,n;return e=new Jf({props:{validationError:Cf(t[128],t[131]),onExpand:Vi}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};12583936&o[0]&&(i.validationError=Cf(r[128],r[131])),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function pO(t){var e,n,r,o,i,s,a,l,c=!t[0]&&t[130]&&!Ri(t[11].selection),u=!yn(t[131]),f=[hke,dke],d=[];function h(m,v){return 8389632&v[0]&&(n=null),n==null&&(n=!!vr(m[129])),n?0:1}r=h(t,[-1,-1,-1,-1,-1]),o=d[r]=f[r](t);var p=c&&dO(t),g=u&&hO(t);return{c:function(){e=Q("td"),o.c(),i=Sn(),p&&p.c(),s=Sn(),g&&g.c(),T(e,"class","jse-table-cell svelte-1bunebm"),T(e,"data-path",a=jf(t[128])),Re(e,"jse-selected-value",t[130])},m:function(m,v){ie(m,e,v),d[r].m(e,null),q(e,i),p&&p.m(e,null),q(e,s),g&&g.m(e,null),l=!0},p:function(m,v){var b=r;(r=h(m,v))===b?d[r].p(m,v):(Fe(),F(d[b],1,1,function(){d[b]=null}),qe(),(o=d[r])?o.p(m,v):(o=d[r]=f[r](m)).c(),N(o,1),o.m(e,i)),8391681&v[0]&&(c=!m[0]&&m[130]&&!Ri(m[11].selection)),c?p?(p.p(m,v),8391681&v[0]&&N(p,1)):((p=dO(m)).c(),N(p,1),p.m(e,s)):p&&(Fe(),F(p,1,1,function(){p=null}),qe()),12582912&v[0]&&(u=!yn(m[131])),u?g?(g.p(m,v),12582912&v[0]&&N(g,1)):((g=hO(m)).c(),N(g,1),g.m(e,null)):g&&(Fe(),F(g,1,1,function(){g=null}),qe()),(!l||8389632&v[0]&&a!==(a=jf(m[128])))&&T(e,"data-path",a),(!l||8391680&v[0])&&Re(e,"jse-selected-value",m[130])},i:function(m){l||(N(o),N(p),N(g),l=!0)},o:function(m){F(o),F(p),F(g),l=!1},d:function(m){m&&oe(e),d[r].d(),p&&p.d(),g&&g.d()}}}function mO(t){var e;return{c:function(){T(e=Q("td"),"class","jse-table-cell svelte-1bunebm")},m:function(n,r){ie(n,e,r)},d:function(n){n&&oe(e)}}}function gO(t){for(var e,n,r,o,i=t[123],s=fO(t),a=zt(t[10]),l=[],c=0;c<a.length;c+=1)l[c]=pO(oO(t,a,c));var u=function(d){return F(l[d],1,1,function(){l[d]=null})},f=t[24]&&mO();return{c:function(){e=Q("tr"),s.c(),n=ge();for(var d=0;d<l.length;d+=1)l[d].c();r=ge(),f&&f.c(),T(e,"class","jse-table-row svelte-1bunebm")},m:function(d,h){ie(d,e,h),s.m(e,null),q(e,n);for(var p=0;p<l.length;p+=1)l[p]&&l[p].m(e,null);q(e,r),f&&f.m(e,null),o=!0},p:function(d,h){if(8388608&h[0]&&Gt(i,i=d[123])?(Fe(),F(s,1,1,Ve),qe(),(s=fO(d)).c(),N(s,1),s.m(e,n)):s.p(d,h),148900869&h[0]|513&h[1]){var p;for(a=zt(d[10]),p=0;p<a.length;p+=1){var g=oO(d,a,p);l[p]?(l[p].p(g,h),N(l[p],1)):(l[p]=pO(g),l[p].c(),N(l[p],1),l[p].m(e,r))}for(Fe(),p=a.length;p<l.length;p+=1)u(p);qe()}d[24]?f||((f=mO()).c(),f.m(e,null)):f&&(f.d(1),f=null)},i:function(d){if(!o){N(s);for(var h=0;h<a.length;h+=1)N(l[h]);o=!0}},o:function(d){F(s),l=l.filter(Boolean);for(var h=0;h<l.length;h+=1)F(l[h]);o=!1},d:function(d){d&&oe(e),s.d(d),Er(l,d),f&&f.d()}}}function vO(t){var e,n;return e=new hs({props:{type:"info",message:"You pasted a JSON ".concat(Array.isArray(t[18].contents)?"array":"object"," as text"),actions:[{icon:H0,text:"Paste as JSON instead",title:"Paste the text as JSON instead of a single value",onMouseDown:t[34]},{text:"Leave as is",title:"Keep the pasted content as a single value",onClick:t[35]}]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};262144&o[0]&&(i.message="You pasted a JSON ".concat(Array.isArray(r[18].contents)?"array":"object"," as text")),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function yO(t){var e,n;return e=new hs({props:{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",actions:t[0]?[]:[{icon:_h,text:"Ok",title:"Accept the repaired document",onClick:t[7]},{icon:Al,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:t[36]}],onClose:t[6]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};1&o[0]&&(i.actions=r[0]?[]:[{icon:_h,text:"Ok",title:"Accept the repaired document",onClick:r[7]},{icon:Al,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:r[36]}]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function pke(t){var e,n,r,o,i,s,a,l=t[1]&&sO(t),c=[lke,ake],u=[];return r=function(f,d){return f[26]?1:0}(t),o=u[r]=c[r](t),{c:function(){e=Q("div"),l&&l.c(),n=ge(),o.c(),T(e,"role","table"),T(e,"class","jse-table-mode svelte-1bunebm"),Re(e,"no-main-menu",!t[1])},m:function(f,d){ie(f,e,d),l&&l.m(e,null),q(e,n),u[r].m(e,null),t[76](e),i=!0,s||(a=[De(e,"mousedown",t[30]),De(e,"keydown",t[37]),De(e,"contextmenu",t[32])],s=!0)},p:function(f,d){f[1]?l?(l.p(f,d),2&d[0]&&N(l,1)):((l=sO(f)).c(),N(l,1),l.m(e,n)):l&&(Fe(),F(l,1,1,function(){l=null}),qe()),o.p(f,d),(!i||2&d[0])&&Re(e,"no-main-menu",!f[1])},i:function(f){i||(N(l),N(o),i=!0)},o:function(f){F(l),F(o),i=!1},d:function(f){f&&oe(e),l&&l.d(),u[r].d(),t[76](null),s=!1,Wn(a)}}}var hd=18;function mke(t,e,n){var r,o,i,s,a=lo("jsoneditor:TableMode"),l=ao("simple-modal").open,c=ao("absolute-popup"),u=c.openAbsolutePopup,f=c.closeAbsolutePopup,d=GI(),h=ff(),p=ff(),g=typeof window>"u";a("isSSR:",g);var m,v,b,w,x,k,y=e.readOnly,j=e.externalContent,_=e.externalSelection,$=e.mainMenuBar,S=e.escapeControlCharacters,C=e.escapeUnicodeCharacters,O=e.flattenColumns,P=e.parser,I=e.parseMemoizeOne,J=e.validator,H=e.validationParser,D=e.indentation,R=e.onChange,V=e.onChangeMode,L=e.onSelect,E=e.onRenderValue,U=e.onRenderMenu,W=e.onFocus,M=e.onBlur,A=e.onSortModal,G=e.onTransformModal,ee=e.onJSONEditorModal;Kj({onMount:Ni,onDestroy:hi,getWindow:function(){return Wf(v)},hasFocus:function(){return Z&&document.hasFocus()||Uj(v)},onFocus:function(){W&&W()},onBlur:function(){M&&M()}});var be,we=void 0,Se=1e4,he=[],Z=!1,te={},fe=600,K=0;function me(ne){a("updateSelection",ne);var _e=typeof ne=="function"?ne(se.selection)||null:ne;vn(_e,se.selection)||(n(11,se=ke(ke({},se),{},{selection:_e})),L(_e))}function Ee(ne){se.selection&&ne!==void 0&&($i(ne,xc(se.selection))&&$i(ne,_t(se.selection))||(a("clearing selection: path does not exist anymore",se.selection),n(11,se=ke(ke({},se),{},{selection:null}))))}var se=Vv(),le=!1,Me,Oe=QI({onChange:function(ne){n(20,Je=ne)}}),Je=Oe.getState();function ue(ne){var _e=x,Xe=kf(ne)?ne.text!==k:!vn(_e,ne.json);if(a("update external content",{isChanged:Xe}),Xe){var Ke={json:x,text:k},ut=x,Ht=se,Vt=k,kt=le;if(kf(ne))try{n(8,x=I(ne.text)),n(16,k=ne.text),n(19,le=!1),n(17,we=void 0)}catch(Mt){try{n(8,x=I(Is(ne.text))),n(16,k=ne.text),n(19,le=!0),n(17,we=void 0)}catch{n(8,x=void 0),n(16,k=j.text),n(19,le=!1),n(17,we=k!==void 0&&k!==""?xf(k,Mt.message||String(Mt)):void 0)}}else n(8,x=ne.json),n(16,k=void 0),n(19,le=!1),n(17,we=void 0);Ee(x),se.sortedColumn&&n(11,se=ke(ke({},se),{},{sortedColumn:null})),ve({previousJson:ut,previousState:Ht,previousText:Vt,previousTextIsRepaired:kt}),Le(Ke,null)}}function ve(ne){var _e=ne.previousJson,Xe=ne.previousState,Ke=ne.previousText,ut=ne.previousTextIsRepaired;_e===void 0&&Ke===void 0||(x!==void 0?_e!==void 0?Oe.add({undo:{patch:[{op:"replace",path:"",value:_e}],state:jo(Xe),json:void 0,text:Ke,textIsRepaired:ut},redo:{patch:[{op:"replace",path:"",value:x}],state:jo(se),json:void 0,text:k,textIsRepaired:le}}):Oe.add({undo:{patch:void 0,json:void 0,text:Ke,state:jo(Xe),textIsRepaired:ut},redo:{patch:void 0,json:x,state:jo(se),text:k,textIsRepaired:le}}):_e!==void 0&&Oe.add({undo:{patch:void 0,json:_e,state:jo(Xe),text:Ke,textIsRepaired:ut},redo:{patch:void 0,json:void 0,text:k,textIsRepaired:le,state:jo(se)}}))}var We=[],B=ap(YI);function Y(ne,_e,Xe,Ke){_u(function(){var ut;try{ut=B(ne,_e,Xe,Ke)}catch(Ht){ut=[{path:[],message:"Failed to validate: "+Ht.message,severity:Sa.warning}]}vn(ut,We)||(a("validationErrors changed:",ut),n(12,We=ut))},function(ut){return a("validationErrors updated in ".concat(ut," ms"))})}function re(){return a("validate"),we?{parseError:we,isRepairable:!1}:(Y(x,J,P,H),yn(We)?null:{validationErrors:We})}function pe(ne,_e){if(a("patch",ne,_e),x===void 0)throw new Error("Cannot apply patch: no JSON");var Xe={json:x},Ke=x,ut=se,Ht=le,Vt=RI(x,ne),kt=SI(x,se,ne).json,Mt=Oxe(se,ne,he),Rt=typeof _e=="function"?_e(kt,Mt):void 0;n(8,x=Rt&&Rt.json!==void 0?Rt.json:kt);var bn=Rt&&Rt.state!==void 0?Rt.state:Mt;n(11,se=bn),n(16,k=void 0),n(19,le=!1),n(18,be=void 0),n(17,we=void 0),Oe.add({undo:{patch:Vt,json:void 0,text:void 0,state:jo(ut),textIsRepaired:Ht},redo:{patch:ne,json:void 0,state:jo(bn),text:void 0,textIsRepaired:le}});var Mn={json:x,previousJson:Ke,undo:Vt,redo:ne};return Le(Xe,Mn),Mn}function $e(ne,_e){if(!y)return pe(ne,_e)}function Le(ne,_e){(ne.json!==void 0||(ne==null?void 0:ne.text)!==void 0)&&R&&(k!==void 0?R({text:k,json:void 0},ne,{contentErrors:re(),patchResult:_e}):x!==void 0&&R({text:void 0,json:x},ne,{contentErrors:re(),patchResult:_e}))}function gt(ne){a("handleFind",ne)}function rt(ne){a("pasted json as text",ne),n(18,be=ne)}function an(ne){var _e=parseInt(ne[0]),Xe=[String(_e+1)].concat(rn(ne.slice(1)));return $i(x,Xe)?un(Xe,!1):un(ne,!1)}function Dt(){a("focus"),w&&(w.focus(),w.select())}function Bt(){se.selection||me(!Gn(x)||yn(x)||yn(he)?null:un(["0"].concat(rn(he[0])),!1))}function ot(ne){var _e=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],Xe=Jy(ne,he,te,hd),Ke=Xe-K,ut=En(ne);if(a("scrollTo",{path:ne,top:Xe,scrollTop:K,elem:ut}),!b)return Promise.resolve();var Ht=b.getBoundingClientRect();if(ut&&!_e){var Vt=ut.getBoundingClientRect();if(Vt.bottom>Ht.top&&Vt.top<Ht.bottom)return Promise.resolve()}var kt=-Ht.height/4;return new Promise(ut?function(Mt){d(ut,{container:b,offset:kt,duration:300,callback:function(){Pn(ne),Mt()}})}:function(Mt){var Rt;d(Ke,{container:b,offset:kt,duration:300,callback:(Rt=Ut(Ge().mark(function bn(){return Ge().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:return Mn.next=2,Tr();case 2:if(Jy(ne,he,te,hd)===Xe){Mn.next=8;break}return Mn.next=6,ot(ne,_e);case 6:Mn.next=9;break;case 8:Pn(ne);case 9:Mt();case 10:case"end":return Mn.stop()}},bn)})),function(){return Rt.apply(this,arguments)})})})}function Pn(ne){var _e=En(ne);if(_e&&b){var Xe=b.getBoundingClientRect(),Ke=_e.getBoundingClientRect();if(Ke.right>Xe.right){var ut=Ke.right-Xe.right;n(14,b.scrollLeft+=ut,b)}if(Ke.left<Xe.left){var Ht=Xe.left-Ke.left;n(14,b.scrollLeft-=Ht,b)}}}function Zn(ne){(function(_e){if(b){var Xe=wi(_e,he).rowIndex,Ke=Jy(_e,he,te,hd),ut=Ke+(te[Xe]||hd),Ht=b.getBoundingClientRect(),Vt=K,kt=K+Ht.height-18;if(ut>kt){var Mt=ut-kt;n(14,b.scrollTop+=Mt,b)}if(Ke<Vt){var Rt=Vt-Ke;n(14,b.scrollTop-=Rt,b)}}})(ne),Pn(ne)}function En(ne){return b?b.querySelector('td[data-path="'.concat(jf(ne),'"]')):null}function Bn(ne){var _e=ne.anchor,Xe=ne.left,Ke=ne.top,ut=ne.width,Ht=ne.height,Vt=ne.offsetTop,kt=ne.offsetLeft,Mt=ne.showTip;Z=!0;var Rt=u(J2e,{json:x,documentState:se,parser:P,showTip:Mt,onEditValue:fr,onEditRow:Cn,onToggleEnforceString:Ce,onCut:Qt,onCopy:et,onPaste:Xt,onRemove:Zt,onDuplicateRow:tn,onInsertBeforeRow:z,onInsertAfterRow:ae,onRemoveRow:ce,onCloseContextMenu:function(){f(Rt),Dt()}},{left:Xe,top:Ke,offsetTop:Vt,offsetLeft:kt,width:ut,height:Ht,anchor:_e,closeOnOuterClick:!0,onClose:function(){Z=!1,Dt()}})}function Xn(ne){if(!y&&!Ri(se.selection)){if(ne&&(ne.stopPropagation(),ne.preventDefault()),ne&&ne.type==="contextmenu"&&ne.target!==w)Bn({left:ne.clientX,top:ne.clientY,width:ua,height:ca,showTip:!1});else{var _e,Xe=(_e=b)===null||_e===void 0?void 0:_e.querySelector(".jse-table-cell.jse-selected-value");if(Xe)Bn({anchor:Xe,offsetTop:2,width:ua,height:ca,showTip:!1});else{var Ke,ut=(Ke=b)===null||Ke===void 0?void 0:Ke.getBoundingClientRect();ut&&Bn({top:ut.top+2,left:ut.left+2,width:ua,height:ca,showTip:!1})}}return!1}}function fr(){if(!y&&se.selection){var ne=_t(se.selection);vr(pt(x,ne))?dn(ne):me(un(ne,!0))}}function Cn(){!y&&se.selection&&dn(_t(se.selection).slice(0,1))}function Ce(){if(!y&&wn(se.selection)){var ne=se.selection.path,_e=it(ne),Xe=pt(x,ne),Ke=!Ca(Xe,se.enforceStringMap,_e,P),ut=Ke?String(Xe):Vf(String(Xe),P);a("handleToggleEnforceString",{enforceString:Ke,value:Xe,updatedValue:ut}),$e([{op:"replace",path:_e,value:ut}],function(Ht,Vt){return{state:jI(Vt,_e,Ke)}})}}function st(){return(st=Ut(Ge().mark(function ne(){var _e,Xe,Ke,ut,Ht;return Ge().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(a("apply pasted json",be),be){Vt.next=3;break}return Vt.abrupt("return");case 3:Ke=(Xe=be).path,ut=Xe.contents,bI(Ht=((_e=b)===null||_e===void 0?void 0:_e.querySelector(".jse-editable-div"))||null)&&Ht.cancel(),$e([{op:"replace",path:it(Ke),value:ut}]),setTimeout(Dt);case 9:case"end":return Vt.stop()}},ne)}))).apply(this,arguments)}function Xt(){l(XI,{},ke(ke({},zc),{},{styleWindow:{width:"450px"}}),{onClose:function(){return Dt()}})}function Qt(ne){return ye.apply(this,arguments)}function ye(){return(ye=Ut(Ge().mark(function ne(_e){return Ge().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,i9({json:x,documentState:se,indentation:_e?D:void 0,readOnly:y,parser:P,onPatch:$e});case 2:case"end":return Xe.stop()}},ne)}))).apply(this,arguments)}function et(){return tt.apply(this,arguments)}function tt(){return tt=Ut(Ge().mark(function ne(){var _e,Xe=arguments;return Ge().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(_e=!(Xe.length>0&&Xe[0]!==void 0)||Xe[0],x!==void 0){Ke.next=3;break}return Ke.abrupt("return");case 3:return Ke.next=5,s9({json:x,documentState:se,indentation:_e?D:void 0,parser:P});case 5:case"end":return Ke.stop()}},ne)})),tt.apply(this,arguments)}function Zt(){l9({json:x,text:k,documentState:se,keepSelection:!0,readOnly:y,onChange:R,onPatch:$e})}function tn(){Txe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function z(){Axe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function ae(){Pxe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function ce(){Exe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function je(){return(je=Ut(Ge().mark(function ne(_e){return Ge().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,c9({char:_e,selectInside:!1,refJsonEditor:v,json:x,selection:se.selection,readOnly:y,parser:P,onPatch:$e,onReplaceJson:Ie,onSelect:me});case 2:case"end":return Xe.stop()}},ne)}))).apply(this,arguments)}function Ie(ne,_e){var Xe=se,Ke=x,ut=k,Ht={json:x,text:k},Vt=le,kt=yi(x,se,[],Os),Mt=typeof _e=="function"?_e(ne,kt):void 0;n(8,x=Mt&&Mt.json!==void 0?Mt.json:ne),n(11,se=Mt&&Mt.state!==void 0?Mt.state:kt),n(16,k=void 0),n(19,le=!1),n(17,we=void 0),Ee(x),ve({previousJson:Ke,previousState:Xe,previousText:ut,previousTextIsRepaired:Vt}),Le(Ht,null)}function At(ne,_e){a("handleChangeText");var Xe=se,Ke=x,ut=k,Ht={json:x,text:k},Vt=le;try{n(8,x=I(ne)),n(11,se=yi(x,se,[],Os)),n(16,k=void 0),n(19,le=!1),n(17,we=void 0)}catch(Mt){try{n(8,x=I(Is(ne))),n(11,se=yi(x,se,[],Os)),n(16,k=ne),n(19,le=!0),n(17,we=void 0)}catch{n(8,x=void 0),n(11,se=Vv({json:x,expand:Os})),n(16,k=ne),n(19,le=!1),n(17,we=k!==""?xf(k,Mt.message||String(Mt)):void 0)}}if(typeof _e=="function"){var kt=_e(x,se);n(8,x=kt&&kt.json?kt.json:x),n(11,se=kt&&kt.state?kt.state:se)}Ee(x),ve({previousJson:Ke,previousState:Xe,previousText:ut,previousTextIsRepaired:Vt}),Le(Ht,null)}function Pt(ne){if(x!==void 0){var _e=ne.id,Xe=ne.onTransform,Ke=ne.onClose,ut=ne.rootPath||[];Z=!0,G({id:_e||p,json:x,rootPath:ut||[],onTransform:function(Ht){Xe?Xe({operations:Ht,json:x,transformedJson:ns(x,Ht)}):(a("onTransform",ut,Ht),$e(Ht))},onClose:function(){Z=!1,Dt(),Ke&&Ke()}})}}function dn(ne){a("openJSONEditorModal",{path:ne}),Z=!0,ee({content:{json:pt(x,ne)},path:ne,onPatch:Me.onPatch,onClose:function(){Z=!1,Dt()}})}function zn(ne,_e){l(ZI,{text:ne,onParse:function(Xe){return h1(Xe,function(Ke){return wp(Ke,P)})},onRepair:lI,onApply:_e},ke(ke({},zc),{},{styleWindow:{width:"600px",height:"500px"},styleContent:{padding:0,height:"100%"}}),{onClose:function(){return Dt()}})}function Nn(){if(!y&&Oe.getState().canUndo){var ne=Oe.undo();if(ne){var _e={json:x,text:k};n(8,x=ne.undo.patch?ns(x,ne.undo.patch):ne.undo.json),n(11,se=ne.undo.state),n(16,k=ne.undo.text),n(19,le=ne.undo.textIsRepaired),n(17,we=void 0),a("undo",{item:ne,json:x}),Le(_e,{json:x,previousJson:_e.json,redo:ne.undo.patch,undo:ne.redo.patch}),Dt(),se.selection&&ot(_t(se.selection),!1)}}}function ln(){if(!y&&Oe.getState().canRedo){var ne=Oe.redo();if(ne){var _e={json:x,text:k};n(8,x=ne.redo.patch?ns(x,ne.redo.patch):ne.redo.json),n(11,se=ne.redo.state),n(16,k=ne.redo.text),n(19,le=ne.redo.textIsRepaired),n(17,we=void 0),a("redo",{item:ne,json:x}),Le(_e,{json:x,previousJson:_e.json,redo:ne.redo.patch,undo:ne.undo.patch}),Dt(),se.selection&&ot(_t(se.selection),!1)}}}function Tn(ne,_e){n(69,te[_e]=ne.getBoundingClientRect().height,te)}return t.$$set=function(ne){"readOnly"in ne&&n(0,y=ne.readOnly),"externalContent"in ne&&n(47,j=ne.externalContent),"externalSelection"in ne&&n(48,_=ne.externalSelection),"mainMenuBar"in ne&&n(1,$=ne.mainMenuBar),"escapeControlCharacters"in ne&&n(49,S=ne.escapeControlCharacters),"escapeUnicodeCharacters"in ne&&n(50,C=ne.escapeUnicodeCharacters),"flattenColumns"in ne&&n(51,O=ne.flattenColumns),"parser"in ne&&n(2,P=ne.parser),"parseMemoizeOne"in ne&&n(52,I=ne.parseMemoizeOne),"validator"in ne&&n(53,J=ne.validator),"validationParser"in ne&&n(54,H=ne.validationParser),"indentation"in ne&&n(3,D=ne.indentation),"onChange"in ne&&n(55,R=ne.onChange),"onChangeMode"in ne&&n(4,V=ne.onChangeMode),"onSelect"in ne&&n(56,L=ne.onSelect),"onRenderValue"in ne&&n(57,E=ne.onRenderValue),"onRenderMenu"in ne&&n(5,U=ne.onRenderMenu),"onFocus"in ne&&n(58,W=ne.onFocus),"onBlur"in ne&&n(59,M=ne.onBlur),"onSortModal"in ne&&n(60,A=ne.onSortModal),"onTransformModal"in ne&&n(61,G=ne.onTransformModal),"onJSONEditorModal"in ne&&n(62,ee=ne.onJSONEditorModal)},t.$$.update=function(){786432&t.$$.dirty[1]&&n(68,m=Hj({escapeControlCharacters:S,escapeUnicodeCharacters:C})),65536&t.$$.dirty[1]&&ue(j),131072&t.$$.dirty[1]&&function(ne){vn(se.selection,ne)||(a("applyExternalSelection",ne),me(ne))}(_),1792&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&n(10,he=Gn(x)?function(ne,_e){var Xe,Ke=new Set(_e.map(it)),ut=new Set(ne.map(it)),Ht=yo(Ke);try{for(Ht.s();!(Xe=Ht.n()).done;){var Vt=Xe.value;ut.has(Vt)||Ke.delete(Vt)}}catch(bn){Ht.e(bn)}finally{Ht.f()}var kt,Mt=yo(ut);try{for(Mt.s();!(kt=Mt.n()).done;){var Rt=kt.value;Ke.has(Rt)||Ke.add(Rt)}}catch(bn){Mt.e(bn)}finally{Mt.f()}return rn(Ke).map(as)}(Sxe(x,O,Se),he):[]),1280&t.$$.dirty[0]&&n(25,r=x&&!yn(he)),768&t.$$.dirty[0]&&n(24,o=Array.isArray(x)&&x.length>Se),256&t.$$.dirty[0]|896&t.$$.dirty[2]&&n(23,i=$xe(K,fe,x,te,hd)),256&t.$$.dirty[0]&&b&&b.scrollTo({top:b.scrollTop,left:b.scrollLeft}),2309&t.$$.dirty[0]|67108864&t.$$.dirty[1]|64&t.$$.dirty[2]&&n(21,Me={readOnly:y,parser:P,normalization:m,getJson:function(){return x},getDocumentState:function(){return se},findElement:En,findNextInside:an,focus:Dt,onPatch:$e,onSelect:me,onFind:gt,onPasteJson:rt,onRenderValue:E}),260&t.$$.dirty[0]|12582912&t.$$.dirty[1]&&Y(x,J,P,H),5120&t.$$.dirty[0]&&n(22,s=_xe(We,he))},[y,$,P,D,V,U,Dt,function(){if(le&&x!==void 0){var ne=se,_e=x,Xe=k,Ke={json:x,text:k},ut=le;n(16,k=void 0),n(19,le=!1),Ee(x),ve({previousJson:_e,previousState:ne,previousText:Xe,previousTextIsRepaired:ut}),Le(Ke,null)}return{json:x,text:k}},x,Se,he,se,We,v,b,w,k,we,be,le,Je,Me,s,i,o,r,g,void 0,function(ne){if(!y){a("onSortByHeader",ne);var _e=ne.sortDirection===Oi.desc?-1:1;$e(t9(x,[],ne.path,_e),function(Xe,Ke){return{state:ke(ke({},Ke),{},{sortedColumn:ne})}})}},function(ne){n(71,K=ne.target.scrollTop)},function(ne){var _e=ne!=null&&ne.target?yI(ne.target):void 0;if(_e){if(Ri(se.selection)&&Uh(x,se.selection,_e))return;me(un(_e,!1)),ne.preventDefault()}Vj(ne.target,"BUTTON")||ne.target.isContentEditable||Dt()},Bn,Xn,function(ne){y||Bn({anchor:vI(ne.target,"BUTTON"),offsetTop:0,width:ua,height:ca,showTip:!0})},function(){return st.apply(this,arguments)},function(){a("clear pasted json"),n(18,be=void 0),Dt()},function(){V(go.text)},function(ne){var _e=Hl(ne);if(a("keydown",{combo:_e,key:ne.key}),_e==="Ctrl+X"&&(ne.preventDefault(),Qt(!0)),_e==="Ctrl+Shift+X"&&(ne.preventDefault(),Qt(!1)),_e==="Ctrl+C"&&(ne.preventDefault(),et(!0)),_e==="Ctrl+Shift+C"&&(ne.preventDefault(),et(!1)),_e==="Ctrl+D"&&ne.preventDefault(),_e!=="Delete"&&_e!=="Backspace"||(ne.preventDefault(),Zt()),_e==="Insert"&&ne.preventDefault(),_e==="Ctrl+A"&&ne.preventDefault(),_e==="Ctrl+Q"&&Xn(ne),_e==="ArrowLeft"&&(ne.preventDefault(),Bt(),se.selection)){var Xe=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return rr>0?un(yc({rowIndex:Mn,columnIndex:rr-1},Mt),!1):Rt}(he,se.selection);me(Xe),Zn(_t(Xe))}if(_e==="ArrowRight"&&(ne.preventDefault(),Bt(),se.selection)){var Ke=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return rr<Mt.length-1?un(yc({rowIndex:Mn,columnIndex:rr+1},Mt),!1):Rt}(he,se.selection);me(Ke),Zn(_t(Ke))}if(_e==="ArrowUp"&&(ne.preventDefault(),Bt(),se.selection)){var ut=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return Mn>0?un(yc({rowIndex:Mn-1,columnIndex:rr},Mt),!1):Rt}(he,se.selection);me(ut),Zn(_t(ut))}if(_e==="ArrowDown"&&(ne.preventDefault(),Bt(),se.selection)){var Ht=function(Mt,Rt,bn){var Mn=wi(_t(bn),Rt),rr=Mn.rowIndex,Xr=Mn.columnIndex;return rr<Mt.length-1?un(yc({rowIndex:rr+1,columnIndex:Xr},Rt),!1):bn}(x,he,se.selection);me(Ht),Zn(_t(Ht))}if(_e==="Enter"&&se.selection&&wn(se.selection)){ne.preventDefault();var Vt=se.selection.path;vr(pt(x,Vt))?dn(Vt):y||me(ke(ke({},se.selection),{},{edit:!0}))}if(_e.replace(/^Shift\+/,"").length===1&&se.selection)return ne.preventDefault(),void function(Mt){je.apply(this,arguments)}(ne.key);if(_e==="Ctrl+Enter"&&wn(se.selection)){var kt=pt(x,se.selection.path);d1(kt)&&window.open(String(kt),"_blank")}_e==="Escape"&&se.selection&&(ne.preventDefault(),me(null)),_e==="Ctrl+F"&&ne.preventDefault(),_e==="Ctrl+H"&&ne.preventDefault(),_e==="Ctrl+Z"&&(ne.preventDefault(),Nn()),_e==="Ctrl+Shift+Z"&&(ne.preventDefault(),ln())},function(ne){ne.preventDefault(),a9({clipboardText:ne.clipboardData.getData("text/plain"),json:x,selection:se.selection,readOnly:y,parser:P,onPatch:$e,onChangeText:At,openRepairModal:zn})},function(ne){a("select validation error",ne),me(un(ne.path,!1)),ot(ne.path)},dn,function(){(function(ne){y||x===void 0||(Z=!0,A({id:h,json:x,rootPath:ne,onSort:function(_e){var Xe=_e.operations,Ke=_e.itemPath,ut=_e.direction;a("onSort",Xe,ne,Ke,ut),$e(Xe,function(Ht,Vt){return{state:ke(ke({},Vt),{},{sortedColumn:{path:Ke,sortDirection:ut===-1?Oi.desc:Oi.asc}})}})},onClose:function(){Z=!1,Dt()}}))})([])},function(){Pt({rootPath:[]})},Nn,ln,function(ne){n(70,fe=ne.getBoundingClientRect().height)},Tn,j,_,S,C,O,I,J,H,R,L,E,W,M,A,G,ee,re,pe,ot,En,Pt,m,te,fe,K,function(ne){fn[ne?"unshift":"push"](function(){n(15,w=ne)})},function(){return n(9,Se=1/0)},function(ne,_e){return Tn(_e,ne)},function(ne){fn[ne?"unshift":"push"](function(){n(14,b=ne)})},function(ne){fn[ne?"unshift":"push"](function(){n(13,v=ne)})}]}var gke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,mke,pke,Gt,{readOnly:0,externalContent:47,externalSelection:48,mainMenuBar:1,escapeControlCharacters:49,escapeUnicodeCharacters:50,flattenColumns:51,parser:2,parseMemoizeOne:52,validator:53,validationParser:54,indentation:3,onChange:55,onChangeMode:4,onSelect:56,onRenderValue:57,onRenderMenu:5,onFocus:58,onBlur:59,onSortModal:60,onTransformModal:61,onJSONEditorModal:62,validate:63,patch:64,focus:6,acceptAutoRepair:7,scrollTo:65,findElement:66,openTransformModal:67},ske,[-1,-1,-1,-1,-1]),o}return lt(n,[{key:"validate",get:function(){return this.$$.ctx[63]}},{key:"patch",get:function(){return this.$$.ctx[64]}},{key:"focus",get:function(){return this.$$.ctx[6]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[7]}},{key:"scrollTo",get:function(){return this.$$.ctx[65]}},{key:"findElement",get:function(){return this.$$.ctx[66]}},{key:"openTransformModal",get:function(){return this.$$.ctx[67]}}]),n}();function vke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],pathParser:t[17],onError:t[23],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onClassName:t[22],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new sS({props:r}),t[47](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),8&i[0]&&(s.indentation=o[3]),64&i[0]&&(s.mainMenuBar=o[6]),128&i[0]&&(s.navigationBar=o[7]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),8192&i[0]&&(s.parser=o[13]),16384&i[0]&&(s.parseMemoizeOne=o[14]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),131072&i[0]&&(s.pathParser=o[17]),8388608&i[0]&&(s.onError=o[23]),262144&i[0]&&(s.onChange=o[18]),524288&i[0]&&(s.onChangeMode=o[19]),1048576&i[0]&&(s.onSelect=o[20]),2097152&i[0]&&(s.onRenderValue=o[21]),4194304&i[0]&&(s.onClassName=o[22]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),268435456&i[0]&&(s.onJSONEditorModal=o[28]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[47](null),Ae(e,o)}}}function yke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],mainMenuBar:t[6],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],indentation:t[3],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new gke({props:r}),t[46](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),64&i[0]&&(s.mainMenuBar=o[6]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),4096&i[0]&&(s.flattenColumns=o[12]),8192&i[0]&&(s.parser=o[13]),16384&i[0]&&(s.parseMemoizeOne=o[14]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),8&i[0]&&(s.indentation=o[3]),262144&i[0]&&(s.onChange=o[18]),524288&i[0]&&(s.onChangeMode=o[19]),1048576&i[0]&&(s.onSelect=o[20]),2097152&i[0]&&(s.onRenderValue=o[21]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),268435456&i[0]&&(s.onJSONEditorModal=o[28]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[46](null),Ae(e,o)}}}function bke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],tabSize:t[4],mainMenuBar:t[6],statusBar:t[8],askToFormat:t[9],escapeUnicodeCharacters:t[11],parser:t[13],validator:t[15],validationParser:t[16],onChange:t[18],onSelect:t[20],onChangeMode:t[19],onError:t[23],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27]};return e=new A2e({props:r}),t[45](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),8&i[0]&&(s.indentation=o[3]),16&i[0]&&(s.tabSize=o[4]),64&i[0]&&(s.mainMenuBar=o[6]),256&i[0]&&(s.statusBar=o[8]),512&i[0]&&(s.askToFormat=o[9]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),8192&i[0]&&(s.parser=o[13]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),262144&i[0]&&(s.onChange=o[18]),1048576&i[0]&&(s.onSelect=o[20]),524288&i[0]&&(s.onChangeMode=o[19]),8388608&i[0]&&(s.onError=o[23]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[45](null),Ae(e,o)}}}function wke(t){var e,n,r,o,i=[bke,yke,vke],s=[];function a(l,c){return l[5]===go.text||l[5]==="code"?0:l[5]===go.table?1:2}return e=a(t),n=s[e]=i[e](t),{c:function(){n.c(),r=Sn()},m:function(l,c){s[e].m(l,c),ie(l,r,c),o=!0},p:function(l,c){var u=e;(e=a(l))===u?s[e].p(l,c):(Fe(),F(s[u],1,1,function(){s[u]=null}),qe(),(n=s[e])?n.p(l,c):(n=s[e]=i[e](l)).c(),N(n,1),n.m(r.parentNode,r))},i:function(l){o||(N(n),o=!0)},o:function(l){F(n),o=!1},d:function(l){l&&oe(r),s[e].d(l)}}}function xke(t,e,n){var r,o,i,s,a,l=e.content,c=e.selection,u=e.readOnly,f=e.indentation,d=e.tabSize,h=e.mode,p=e.mainMenuBar,g=e.navigationBar,m=e.statusBar,v=e.askToFormat,b=e.escapeControlCharacters,w=e.escapeUnicodeCharacters,x=e.flattenColumns,k=e.parser,y=e.parseMemoizeOne,j=e.validator,_=e.validationParser,$=e.pathParser,S=e.insideModal,C=e.onChange,O=e.onChangeMode,P=e.onSelect,I=e.onRenderValue,J=e.onClassName,H=e.onRenderMenu,D=e.onError,R=e.onFocus,V=e.onBlur,L=e.onSortModal,E=e.onTransformModal,U=e.onJSONEditorModal,W={type:"separator"};function M(){return(M=Ut(Ge().mark(function A(){return Ge().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:if(!i){G.next=3;break}return G.next=3,i.refresh();case 3:case"end":return G.stop()}},A)}))).apply(this,arguments)}return t.$$set=function(A){"content"in A&&n(0,l=A.content),"selection"in A&&n(1,c=A.selection),"readOnly"in A&&n(2,u=A.readOnly),"indentation"in A&&n(3,f=A.indentation),"tabSize"in A&&n(4,d=A.tabSize),"mode"in A&&n(5,h=A.mode),"mainMenuBar"in A&&n(6,p=A.mainMenuBar),"navigationBar"in A&&n(7,g=A.navigationBar),"statusBar"in A&&n(8,m=A.statusBar),"askToFormat"in A&&n(9,v=A.askToFormat),"escapeControlCharacters"in A&&n(10,b=A.escapeControlCharacters),"escapeUnicodeCharacters"in A&&n(11,w=A.escapeUnicodeCharacters),"flattenColumns"in A&&n(12,x=A.flattenColumns),"parser"in A&&n(13,k=A.parser),"parseMemoizeOne"in A&&n(14,y=A.parseMemoizeOne),"validator"in A&&n(15,j=A.validator),"validationParser"in A&&n(16,_=A.validationParser),"pathParser"in A&&n(17,$=A.pathParser),"insideModal"in A&&n(33,S=A.insideModal),"onChange"in A&&n(18,C=A.onChange),"onChangeMode"in A&&n(19,O=A.onChangeMode),"onSelect"in A&&n(20,P=A.onSelect),"onRenderValue"in A&&n(21,I=A.onRenderValue),"onClassName"in A&&n(22,J=A.onClassName),"onRenderMenu"in A&&n(34,H=A.onRenderMenu),"onError"in A&&n(23,D=A.onError),"onFocus"in A&&n(24,R=A.onFocus),"onBlur"in A&&n(25,V=A.onBlur),"onSortModal"in A&&n(26,L=A.onSortModal),"onTransformModal"in A&&n(27,E=A.onTransformModal),"onJSONEditorModal"in A&&n(28,U=A.onJSONEditorModal)},t.$$.update=function(){524320&t.$$.dirty[0]&&n(44,s=[{type:"button",text:"text",title:"Switch to text mode (current mode: ".concat(h,")"),className:"jse-group-button jse-first"+(h===go.text||h==="code"?" jse-selected":""),onClick:function(){return O(go.text)}},{type:"button",text:"tree",title:"Switch to tree mode (current mode: ".concat(h,")"),className:"jse-group-button "+(h===go.tree?" jse-selected":""),onClick:function(){return O(go.tree)}},{type:"button",text:"table",title:"Switch to table mode (current mode: ".concat(h,")"),className:"jse-group-button jse-last"+(h===go.table?" jse-selected":""),onClick:function(){return O(go.table)}}]),32&t.$$.dirty[0]|8204&t.$$.dirty[1]&&n(32,a=function(A){var G=KI(A[0])?s.concat(A):s.concat(W,A);return H(G,{mode:h,modal:S})||G})},[l,c,u,f,d,h,p,g,m,v,b,w,x,k,y,j,_,$,C,O,P,I,J,D,R,V,L,E,U,r,o,i,a,S,H,function(A){if(r)return r.patch(A);if(o)return o.patch(A);if(i)return i.patch(A);throw new Error('Method patch is not available in mode "'.concat(h,'"'))},function(A){if(r)return r.expand(A);throw new Error('Method expand is not available in mode "'.concat(h,'"'))},function(A){if(i)i.openTransformModal(A);else if(r)r.openTransformModal(A);else{if(!o)throw new Error('Method transform is not available in mode "'.concat(h,'"'));o.openTransformModal(A)}},function(){if(i)return i.validate();if(r)return r.validate();if(o)return o.validate();throw new Error('Method validate is not available in mode "'.concat(h,'"'))},function(){return r?r.acceptAutoRepair():l},function(A){if(r)return r.scrollTo(A);if(o)return o.scrollTo(A);throw new Error('Method scrollTo is not available in mode "'.concat(h,'"'))},function(A){if(r)return r.findElement(A);if(o)return o.findElement(A);throw new Error('Method findElement is not available in mode "'.concat(h,'"'))},function(){i?i.focus():r?r.focus():o&&o.focus()},function(){return M.apply(this,arguments)},s,function(A){fn[A?"unshift":"push"](function(){n(31,i=A)})},function(A){fn[A?"unshift":"push"](function(){n(30,o=A)})},function(A){fn[A?"unshift":"push"](function(){n(29,r=A)})}]}var m9=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,xke,wke,Yr,{content:0,selection:1,readOnly:2,indentation:3,tabSize:4,mode:5,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,parseMemoizeOne:14,validator:15,validationParser:16,pathParser:17,insideModal:33,onChange:18,onChangeMode:19,onSelect:20,onRenderValue:21,onClassName:22,onRenderMenu:34,onError:23,onFocus:24,onBlur:25,onSortModal:26,onTransformModal:27,onJSONEditorModal:28,patch:35,expand:36,transform:37,validate:38,acceptAutoRepair:39,scrollTo:40,findElement:41,focus:42,refresh:43},null,[-1,-1]),o}return lt(n,[{key:"patch",get:function(){return this.$$.ctx[35]}},{key:"expand",get:function(){return this.$$.ctx[36]}},{key:"transform",get:function(){return this.$$.ctx[37]}},{key:"validate",get:function(){return this.$$.ctx[38]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[39]}},{key:"scrollTo",get:function(){return this.$$.ctx[40]}},{key:"findElement",get:function(){return this.$$.ctx[41]}},{key:"focus",get:function(){return this.$$.ctx[42]}},{key:"refresh",get:function(){return this.$$.ctx[43]}}]),n}();function kke(t){qt(t,"svelte-1m3nfgb",'.jse-modal.svelte-1m3nfgb.svelte-1m3nfgb{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;background:var(--jse-modal-background, #f5f5f5);color:var(--jse-text-color, #4d4d4d)}.jse-modal.svelte-1m3nfgb .svelte-select{--border:var(--jse-svelte-select-border, 1px solid #d8dbdf);--item-is-active-bg:var(--jse-item-is-active-bg, #3883fa);--border-radius:var(--jse-svelte-select-border-radius, 3px);--background:var(--jse-svelte-select-background, #fff);--padding:var(--jse-svelte-select-padding, 0 10px);--multi-select-padding:var(--jse-svelte-select-multi-select-padding, 0 10px);--font-size:var(--jse-svelte-select-font-size, var(--jse-font-size, 16px));--height:36px;--multi-item-height:28px;--multi-item-margin:2px;--multi-item-padding:2px 8px;--multi-item-border-radius:6px;--indicator-top:8px}.jse-modal.svelte-1m3nfgb .jse-modal-contents.svelte-1m3nfgb{flex:1;display:flex;flex-direction:column;padding:20px;overflow:auto;min-width:0;min-height:0}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions.svelte-1m3nfgb{display:flex;flex-direction:row;justify-content:flex-end;padding-top:var(--jse-padding, 10px)}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-primary-background, var(--jse-theme-color, #3883fa));color:var(--jse-button-primary-color, #fff);padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb:hover{background:var(--jse-button-primary-background-highlight, var(--jse-theme-color-highlight, #5f9dff))}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb:disabled{background:var(--jse-button-primary-background-disabled, #9d9d9d)}.bg.jse-modal-bg{width:100%;height:100%;top:0;left:0;background:var(--jse-overlay-background, rgba(0, 0, 0, 0.3))}.bg.jse-modal-bg .jse-modal-window-wrap{margin:0}.bg.jse-modal-bg .jse-modal-window{max-width:90%;margin:4rem auto 2rem auto;border-radius:2px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-sort{width:400px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-transform{width:1200px;height:1200px;max-height:80%;display:flex}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-jsoneditor{width:800px;height:auto;min-height:500px;max-height:calc(100vh - 6rem);display:flex}.bg.jse-modal-bg .jse-modal-container{flex:1;display:flex;flex-direction:column;padding:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents.svelte-1m3nfgb{padding-top:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label.svelte-1m3nfgb{font-weight:bold;display:block;box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label .jse-label-inner.svelte-1m3nfgb{margin-top:calc(2 * var(--jse-padding, 10px));margin-bottom:calc(0.5 * var(--jse-padding, 10px));box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label .jse-label-inner button.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;font-weight:bold;padding:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-modal-inline-editor.svelte-1m3nfgb{flex:1;min-height:150px;min-width:0;display:flex;--jse-theme-color:var(--jse-modal-editor-theme-color, var(--jse-modal-theme-color, #707070));--jse-theme-color-highlight:var(--jse-modal-editor-theme-color-highlight, var(--jse-modal-theme-color-highlight, #646464))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions.svelte-1m3nfgb{gap:var(--jse-padding, 10px);align-items:center}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions .jse-error.svelte-1m3nfgb{flex:1;color:var(--jse-error-color, #ee5341)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-secondary-background, #d3d3d3);color:var(--jse-button-secondary-color, var(--jse-text-color, #4d4d4d));padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb:hover{background:var(--jse-button-secondary-background-highlight, #e1e1e1)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb:disabled{background:var(--jse-button-secondary-background-disabled, #9d9d9d)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb{border:var(--jse-input-border, 1px solid #d8dbdf);outline:none;box-sizing:border-box;padding:calc(0.5 * var(--jse-padding, 10px));font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:inherit;background:var(--jse-input-background, var(--jse-background-color, #fff))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb:focus{border:var(--jse-input-border-focus, 1px solid var(--jse-input-border-focus, var(--jse-theme-color, #3883fa)))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb:read-only{background:var(--jse-input-background-readonly, transparent)}')}function bO(t){var e,n;return{c:function(){e=Q("div"),n=Ze(t[21]),T(e,"class","jse-error svelte-1m3nfgb")},m:function(r,o){ie(r,e,o),q(e,n)},p:function(r,o){2097152&o[0]&&Tt(n,r[21])},d:function(r){r&&oe(e)}}}function wO(t){var e,n,r,o,i,s;return n=new kn({props:{data:Kie}}),{c:function(){e=Q("button"),Pe(n.$$.fragment),r=Ze(" Back"),T(e,"type","button"),T(e,"class","jse-secondary svelte-1m3nfgb")},m:function(a,l){ie(a,e,l),Te(n,e,null),q(e,r),o=!0,i||(s=De(e,"click",t[26]),i=!0)},p:Ve,i:function(a){o||(N(n.$$.fragment,a),o=!0)},o:function(a){F(n.$$.fragment,a),o=!1},d:function(a){a&&oe(e),Ae(n),i=!1,s()}}}function jke(t){var e,n,r;return{c:function(){(e=Q("button")).textContent="Close",T(e,"type","button"),T(e,"class","jse-primary svelte-1m3nfgb")},m:function(o,i){ie(o,e,i),n||(r=[De(e,"click",t[26]),so(g9.call(null,e))],n=!0)},p:Ve,d:function(o){o&&oe(e),n=!1,Wn(r)}}}function Ske(t){var e,n,r;return{c:function(){(e=Q("button")).textContent="Apply",T(e,"type","button"),T(e,"class","jse-primary svelte-1m3nfgb")},m:function(o,i){ie(o,e,i),n||(r=[De(e,"click",t[25]),so(g9.call(null,e))],n=!0)},p:Ve,d:function(o){o&&oe(e),n=!1,Wn(r)}}}function $ke(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b,w;n=new eS({props:{title:"Edit nested content "+(t[19].length>1?" (".concat(t[19].length,")"):""),onClose:t[26]}});var x={mode:t[22].mode,content:t[22].content,selection:t[22].selection,readOnly:t[0],indentation:t[1],tabSize:t[2],statusBar:t[5],askToFormat:t[6],mainMenuBar:t[3],navigationBar:t[4],escapeControlCharacters:t[7],escapeUnicodeCharacters:t[8],flattenColumns:t[9],parser:t[10],parseMemoizeOne:t[23],validator:t[11],validationParser:t[12],pathParser:t[13],insideModal:!0,onError:t[30],onChange:t[27],onChangeMode:t[29],onSelect:t[28],onRenderValue:t[14],onClassName:t[15],onFocus:Vi,onBlur:Vi,onRenderMenu:t[16],onSortModal:t[17],onTransformModal:t[18],onJSONEditorModal:t[31]};d=new m9({props:x}),t[36](d);var k=t[21]&&bO(t),y=t[19].length>1&&wO(t);function j(S,C){return S[0]?jke:Ske}var _=j(t),$=_(t);return{c:function(){e=Q("div"),Pe(n.$$.fragment),r=ge(),o=Q("div"),(i=Q("div")).innerHTML='<div class="jse-label-inner svelte-1m3nfgb">Path</div>',s=ge(),a=Q("input"),l=ge(),(c=Q("div")).innerHTML='<div class="jse-label-inner svelte-1m3nfgb">Contents</div>',u=ge(),f=Q("div"),Pe(d.$$.fragment),h=ge(),p=Q("div"),k&&k.c(),g=ge(),y&&y.c(),m=ge(),$.c(),T(i,"class","jse-label svelte-1m3nfgb"),T(a,"class","jse-path svelte-1m3nfgb"),T(a,"type","text"),a.readOnly=!0,T(a,"title","Selected path"),a.value=t[24],T(c,"class","jse-label svelte-1m3nfgb"),T(f,"class","jse-modal-inline-editor svelte-1m3nfgb"),T(p,"class","jse-actions svelte-1m3nfgb"),T(o,"class","jse-modal-contents svelte-1m3nfgb"),T(e,"class","jse-modal jse-jsoneditor-modal svelte-1m3nfgb")},m:function(S,C){ie(S,e,C),Te(n,e,null),q(e,r),q(e,o),q(o,i),q(o,s),q(o,a),q(o,l),q(o,c),q(o,u),q(o,f),Te(d,f,null),q(o,h),q(o,p),k&&k.m(p,null),q(p,g),y&&y.m(p,null),q(p,m),$.m(p,null),v=!0,b||(w=so(j1.call(null,e,t[26])),b=!0)},p:function(S,C){var O={};524288&C[0]&&(O.title="Edit nested content "+(S[19].length>1?" (".concat(S[19].length,")"):"")),n.$set(O),(!v||16777216&C[0]&&a.value!==S[24])&&(a.value=S[24]);var P={};4194304&C[0]&&(P.mode=S[22].mode),4194304&C[0]&&(P.content=S[22].content),4194304&C[0]&&(P.selection=S[22].selection),1&C[0]&&(P.readOnly=S[0]),2&C[0]&&(P.indentation=S[1]),4&C[0]&&(P.tabSize=S[2]),32&C[0]&&(P.statusBar=S[5]),64&C[0]&&(P.askToFormat=S[6]),8&C[0]&&(P.mainMenuBar=S[3]),16&C[0]&&(P.navigationBar=S[4]),128&C[0]&&(P.escapeControlCharacters=S[7]),256&C[0]&&(P.escapeUnicodeCharacters=S[8]),512&C[0]&&(P.flattenColumns=S[9]),1024&C[0]&&(P.parser=S[10]),8388608&C[0]&&(P.parseMemoizeOne=S[23]),2048&C[0]&&(P.validator=S[11]),4096&C[0]&&(P.validationParser=S[12]),8192&C[0]&&(P.pathParser=S[13]),16384&C[0]&&(P.onRenderValue=S[14]),32768&C[0]&&(P.onClassName=S[15]),65536&C[0]&&(P.onRenderMenu=S[16]),131072&C[0]&&(P.onSortModal=S[17]),262144&C[0]&&(P.onTransformModal=S[18]),d.$set(P),S[21]?k?k.p(S,C):((k=bO(S)).c(),k.m(p,g)):k&&(k.d(1),k=null),S[19].length>1?y?(y.p(S,C),524288&C[0]&&N(y,1)):((y=wO(S)).c(),N(y,1),y.m(p,m)):y&&(Fe(),F(y,1,1,function(){y=null}),qe()),_===(_=j(S))&&$?$.p(S,C):($.d(1),($=_(S))&&($.c(),$.m(p,null)))},i:function(S){v||(N(n.$$.fragment,S),N(d.$$.fragment,S),N(y),v=!0)},o:function(S){F(n.$$.fragment,S),F(d.$$.fragment,S),F(y),v=!1},d:function(S){S&&oe(e),Ae(n),t[36](null),Ae(d),k&&k.d(),y&&y.d(),$.d(),b=!1,w()}}}function g9(t){t.focus()}function _ke(t,e,n){var r,o,i,s,a,l=lo("jsoneditor:JSONEditorModal"),c=e.content,u=e.path,f=e.onPatch,d=e.readOnly,h=e.indentation,p=e.tabSize,g=e.mainMenuBar,m=e.navigationBar,v=e.statusBar,b=e.askToFormat,w=e.escapeControlCharacters,x=e.escapeUnicodeCharacters,k=e.flattenColumns,y=e.parser,j=e.validator,_=e.validationParser,$=e.pathParser,S=e.onRenderValue,C=e.onClassName,O=e.onRenderMenu,P=e.onSortModal,I=e.onTransformModal,J=ao("simple-modal").close,H={mode:V(c),content:c,selection:null,relativePath:u},D=[H],R=void 0;function V(E){return qj(E)&&Gn(E.json)?go.table:go.tree}function L(){var E,U=((E=mn(D))===null||E===void 0?void 0:E.selection)||null;U&&a.scrollTo(_t(U))}return t.$$set=function(E){"content"in E&&n(32,c=E.content),"path"in E&&n(33,u=E.path),"onPatch"in E&&n(34,f=E.onPatch),"readOnly"in E&&n(0,d=E.readOnly),"indentation"in E&&n(1,h=E.indentation),"tabSize"in E&&n(2,p=E.tabSize),"mainMenuBar"in E&&n(3,g=E.mainMenuBar),"navigationBar"in E&&n(4,m=E.navigationBar),"statusBar"in E&&n(5,v=E.statusBar),"askToFormat"in E&&n(6,b=E.askToFormat),"escapeControlCharacters"in E&&n(7,w=E.escapeControlCharacters),"escapeUnicodeCharacters"in E&&n(8,x=E.escapeUnicodeCharacters),"flattenColumns"in E&&n(9,k=E.flattenColumns),"parser"in E&&n(10,y=E.parser),"validator"in E&&n(11,j=E.validator),"validationParser"in E&&n(12,_=E.validationParser),"pathParser"in E&&n(13,$=E.pathParser),"onRenderValue"in E&&n(14,S=E.onRenderValue),"onClassName"in E&&n(15,C=E.onClassName),"onRenderMenu"in E&&n(16,O=E.onRenderMenu),"onSortModal"in E&&n(17,P=E.onSortModal),"onTransformModal"in E&&n(18,I=E.onTransformModal)},t.$$.update=function(){524288&t.$$.dirty[0]&&n(22,r=mn(D)||H),524288&t.$$.dirty[0]&&n(35,o=D.flatMap(function(E){return E.relativePath})),16&t.$$.dirty[1]&&n(24,i=yn(o)?"(document root)":Ko(o)),1024&t.$$.dirty[0]&&n(23,s=ap(y.parse))},[d,h,p,g,m,v,b,w,x,k,y,j,_,$,S,C,O,P,I,D,a,R,r,s,i,function(){if(l("handleApply"),!d)try{n(21,R=void 0);var E=r.relativePath,U=r.content,W=[{op:"replace",path:it(E),value:qC(U,y).json}];if(D.length>1){var M=qC(D[D.length-2].content,y).json,A={json:ns(M,W)},G=ke(ke({},D[D.length-2]||H),{},{content:A});n(19,D=[].concat(rn(D.slice(0,D.length-2)),[G])),Tr().then(L)}else f(W),J()}catch(ee){n(21,R=String(ee))}},function(){l("handleClose"),D.length>1?(n(19,D=gn(D)),Tr().then(L),n(21,R=void 0)):J()},function(E){l("handleChange",E);var U=ke(ke({},r),{},{content:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){l("handleChangeSelection",E);var U=ke(ke({},r),{},{selection:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){l("handleChangeMode",E);var U=ke(ke({},r),{},{mode:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){n(21,R=E.toString()),console.error(E)},function(E){var U=E.content,W=E.path;l("handleJSONEditorModal",{content:U,path:W});var M={mode:V(U),content:U,selection:null,relativePath:W};n(19,D=[].concat(rn(D),[M]))},c,u,f,o,function(E){fn[E?"unshift":"push"](function(){n(20,a=E)})}]}var Cke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,_ke,$ke,Gt,{content:32,path:33,onPatch:34,readOnly:0,indentation:1,tabSize:2,mainMenuBar:3,navigationBar:4,statusBar:5,askToFormat:6,escapeControlCharacters:7,escapeUnicodeCharacters:8,flattenColumns:9,parser:10,validator:11,validationParser:12,pathParser:13,onRenderValue:14,onClassName:15,onRenderMenu:16,onSortModal:17,onTransformModal:18},kke,[-1,-1]),o}return lt(n)}();function Oke(t,e,n){var r=ao("simple-modal");return[r.open,r.close]}var Tke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,Oke,null,Gt,{open:0,close:1}),o}return lt(n,[{key:"open",get:function(){return this.$$.ctx[0]}},{key:"close",get:function(){return this.$$.ctx[1]}}]),n}();function Ake(t){qt(t,"svelte-ybuk0j",'.jse-main.svelte-ybuk0j{width:100%;height:100%;min-width:0;min-height:150px;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;position:relative;display:flex;flex-direction:row}')}function xO(t){var e,n,r={mode:t[1],content:t[0],selection:t[2],readOnly:t[3],indentation:t[4],tabSize:t[5],statusBar:t[8],askToFormat:t[9],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[26],validator:t[14],validationParser:t[15],pathParser:t[16],insideModal:!1,onError:t[20],onChange:t[27],onChangeMode:t[31],onSelect:t[28],onRenderValue:t[17],onClassName:t[18],onFocus:t[29],onBlur:t[30],onRenderMenu:t[19],onSortModal:t[33],onTransformModal:t[32],onJSONEditorModal:t[34]};return e=new m9({props:r}),t[61](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};2&i[0]&&(s.mode=o[1]),1&i[0]&&(s.content=o[0]),4&i[0]&&(s.selection=o[2]),8&i[0]&&(s.readOnly=o[3]),16&i[0]&&(s.indentation=o[4]),32&i[0]&&(s.tabSize=o[5]),256&i[0]&&(s.statusBar=o[8]),512&i[0]&&(s.askToFormat=o[9]),64&i[0]&&(s.mainMenuBar=o[6]),128&i[0]&&(s.navigationBar=o[7]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),4096&i[0]&&(s.flattenColumns=o[12]),8192&i[0]&&(s.parser=o[13]),67108864&i[0]&&(s.parseMemoizeOne=o[26]),16384&i[0]&&(s.validator=o[14]),32768&i[0]&&(s.validationParser=o[15]),65536&i[0]&&(s.pathParser=o[16]),1048576&i[0]&&(s.onError=o[20]),131072&i[0]&&(s.onRenderValue=o[17]),262144&i[0]&&(s.onClassName=o[18]),524288&i[0]&&(s.onRenderMenu=o[19]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[61](null),Ae(e,o)}}}function Pke(t){var e,n,r,o,i,s=t[21];function a(u){t[60](u)}var l={};t[24]!==void 0&&(l.open=t[24]),e=new Tke({props:l}),fn.push(function(){return Qi(e,"open",a)});var c=xO(t);return{c:function(){Pe(e.$$.fragment),r=ge(),o=Q("div"),c.c(),T(o,"class","jse-main svelte-ybuk0j"),Re(o,"jse-focus",t[22])},m:function(u,f){Te(e,u,f),ie(u,r,f),ie(u,o,f),c.m(o,null),i=!0},p:function(u,f){var d={};!n&&16777216&f[0]&&(n=!0,d.open=u[24],Gi(function(){return n=!1})),e.$set(d),2097152&f[0]&&Gt(s,s=u[21])?(Fe(),F(c,1,1,Ve),qe(),(c=xO(u)).c(),N(c,1),c.m(o,null)):c.p(u,f),(!i||4194304&f[0])&&Re(o,"jse-focus",u[22])},i:function(u){i||(N(e.$$.fragment,u),N(c),i=!0)},o:function(u){F(e.$$.fragment,u),F(c),i=!1},d:function(u){u&&(oe(r),oe(o)),Ae(e,u),c.d(u)}}}function Eke(t){var e,n;return e=new nI({props:{closeOnEsc:!1,$$slots:{default:[Pke]},$$scope:{ctx:t}}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};100663295&o[0]|4&o[2]&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function Nke(t){for(var e,n,r,o=[{show:(e=t[25])===null||e===void 0?void 0:e.component},Vve,{closeOnEsc:!1}],i={$$slots:{default:[Eke]},$$scope:{ctx:t}},s=0;s<o.length;s+=1)i=Xo(i,o[s]);return(n=new nI({props:i})).$on("close",t[35]),{c:function(){Pe(n.$$.fragment)},m:function(a,l){Te(n,a,l),r=!0},p:function(a,l){var c,u=33554432&l[0]?Mi(o,[{show:(c=a[25])===null||c===void 0?void 0:c.component},o[1],o[2]]):{};100663295&l[0]|4&l[2]&&(u.$$scope={dirty:l,ctx:a}),n.$set(u)},i:function(a){r||(N(n.$$.fragment,a),r=!0)},o:function(a){F(n.$$.fragment,a),r=!1},d:function(a){Ae(n,a)}}}function Mke(t){var e,n;return e=new wI({props:{$$slots:{default:[Nke]},$$scope:{ctx:t}}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};134217727&o[0]|4&o[2]&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function Rke(t,e,n){var r,o,i,s=lo("jsoneditor:JSONEditor"),a=e.content,l=a===void 0?{text:""}:a,c=e.selection,u=c===void 0?null:c,f=e.readOnly,d=f!==void 0&&f,h=e.indentation,p=h===void 0?2:h,g=e.tabSize,m=g===void 0?4:g,v=e.mode,b=v===void 0?go.tree:v,w=e.mainMenuBar,x=w===void 0||w,k=e.navigationBar,y=k===void 0||k,j=e.statusBar,_=j===void 0||j,$=e.askToFormat,S=$===void 0||$,C=e.escapeControlCharacters,O=C!==void 0&&C,P=e.escapeUnicodeCharacters,I=P!==void 0&&P,J=e.flattenColumns,H=J===void 0||J,D=e.parser,R=D===void 0?JSON:D,V=e.validator,L=V===void 0?null:V,E=e.validationParser,U=E===void 0?JSON:E,W=e.pathParser,M=W===void 0?{parse:b0e,stringify:Ko}:W,A=e.queryLanguages,G=A===void 0?[k0e]:A,ee=e.queryLanguageId,be=ee===void 0?G[0].id:ee,we=e.onChangeQueryLanguage,Se=we===void 0?Vi:we,he=e.onChange,Z=he===void 0?null:he,te=e.onSelect,fe=te===void 0?Vi:te,K=e.onRenderValue,me=K===void 0?k1e:K,Ee=e.onClassName,se=Ee===void 0?function(){}:Ee,le=e.onRenderMenu,Me=le===void 0?Vi:le,Oe=e.onChangeMode,Je=Oe===void 0?Vi:Oe,ue=e.onError,ve=ue===void 0?function(ye){console.error(ye),alert(ye.toString())}:ue,We=e.onFocus,B=We===void 0?Vi:We,Y=e.onBlur,re=Y===void 0?Vi:Y,pe=Qd(),$e=!1,Le=null,gt=R;function rt(){return(rt=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(s("set"),!(tt=Iy(et))){Zt.next=4;break}throw new Error(tt);case 4:return n(21,pe=Qd()),Zt.next=7,Tr();case 7:n(0,l=et);case 8:case"end":return Zt.stop()}},ye)}))).apply(this,arguments)}function an(){return(an=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(s("update"),!(tt=Iy(et))){Zt.next=4;break}throw new Error(tt);case 4:return n(0,l=et),Zt.next=7,Tr();case 7:case"end":return Zt.stop()}},ye)}))).apply(this,arguments)}function Dt(){return(Dt=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(!kf(l)){Zt.next=8;break}Zt.prev=1,n(0,l={json:R.parse(l.text),text:void 0}),Zt.next=8;break;case 5:throw Zt.prev=5,Zt.t0=Zt.catch(1),new Error("Cannot apply patch: current document contains invalid JSON");case 8:return tt=o.patch(et),Zt.next=11,Tr();case 11:return Zt.abrupt("return",tt);case 12:case"end":return Zt.stop()}},ye,null,[[1,5]])}))).apply(this,arguments)}function Bt(){return(Bt=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return n(2,u=et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function ot(){return(ot=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return o.expand(et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function Pn(){return Pn=Ut(Ge().mark(function ye(){var et;return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return et=o.acceptAutoRepair(),tt.next=3,Tr();case 3:return tt.abrupt("return",et);case 4:case"end":return tt.stop()}},ye)})),Pn.apply(this,arguments)}function Zn(){return(Zn=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return tt.next=2,o.scrollTo(et);case 2:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function En(){return Bn.apply(this,arguments)}function Bn(){return(Bn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return o.focus(),et.next=3,Tr();case 3:case"end":return et.stop()}},ye)}))).apply(this,arguments)}function Xn(){return(Xn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,o.refresh();case 2:case"end":return et.stop()}},ye)}))).apply(this,arguments)}function fr(){return(fr=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return this.$set(et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye,this)}))).apply(this,arguments)}function Cn(){return(Cn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return this.$destroy(),et.next=3,Tr();case 3:case"end":return et.stop()}},ye,this)}))).apply(this,arguments)}function Ce(){return(Ce=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(b!==et){tt.next=2;break}return tt.abrupt("return");case 2:return n(1,b=et),tt.next=5,Tr();case 5:return tt.next=7,En();case 7:Je(et);case 8:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function st(ye){s("handleChangeQueryLanguage",ye),n(36,be=ye),Se(ye)}function Xt(ye){var et=ye.id,tt=ye.json,Zt=ye.rootPath,tn=ye.onTransform,z=ye.onClose;d||i(n2e,{id:et,json:tt,rootPath:Zt,indentation:p,escapeControlCharacters:O,escapeUnicodeCharacters:I,parser:R,parseMemoizeOne:r,validationParser:U,pathParser:M,queryLanguages:G,queryLanguageId:be,onChangeQueryLanguage:st,onRenderValue:me,onClassName:se,onTransform:tn},Hve,{onClose:z})}function Qt(ye){var et=ye.id,tt=ye.json,Zt=ye.rootPath,tn=ye.onSort,z=ye.onClose;d||i(a2e,{id:et,json:tt,rootPath:Zt,onSort:tn},qve,{onClose:z})}return t.$$set=function(ye){"content"in ye&&n(0,l=ye.content),"selection"in ye&&n(2,u=ye.selection),"readOnly"in ye&&n(3,d=ye.readOnly),"indentation"in ye&&n(4,p=ye.indentation),"tabSize"in ye&&n(5,m=ye.tabSize),"mode"in ye&&n(1,b=ye.mode),"mainMenuBar"in ye&&n(6,x=ye.mainMenuBar),"navigationBar"in ye&&n(7,y=ye.navigationBar),"statusBar"in ye&&n(8,_=ye.statusBar),"askToFormat"in ye&&n(9,S=ye.askToFormat),"escapeControlCharacters"in ye&&n(10,O=ye.escapeControlCharacters),"escapeUnicodeCharacters"in ye&&n(11,I=ye.escapeUnicodeCharacters),"flattenColumns"in ye&&n(12,H=ye.flattenColumns),"parser"in ye&&n(13,R=ye.parser),"validator"in ye&&n(14,L=ye.validator),"validationParser"in ye&&n(15,U=ye.validationParser),"pathParser"in ye&&n(16,M=ye.pathParser),"queryLanguages"in ye&&n(37,G=ye.queryLanguages),"queryLanguageId"in ye&&n(36,be=ye.queryLanguageId),"onChangeQueryLanguage"in ye&&n(38,Se=ye.onChangeQueryLanguage),"onChange"in ye&&n(39,Z=ye.onChange),"onSelect"in ye&&n(40,fe=ye.onSelect),"onRenderValue"in ye&&n(17,me=ye.onRenderValue),"onClassName"in ye&&n(18,se=ye.onClassName),"onRenderMenu"in ye&&n(19,Me=ye.onRenderMenu),"onChangeMode"in ye&&n(41,Je=ye.onChangeMode),"onError"in ye&&n(20,ve=ye.onError),"onFocus"in ye&&n(42,B=ye.onFocus),"onBlur"in ye&&n(43,re=ye.onBlur)},t.$$.update=function(){if(8193&t.$$.dirty[0]|268435456&t.$$.dirty[1]&&(r0e(R,gt)||(s("parser changed, recreate editor"),qj(l)&&n(0,l={json:R.parse(gt.stringify(l.json))}),n(59,gt=R),n(21,pe=Qd()))),1&t.$$.dirty[0]){var ye=Iy(l);ye&&console.error("Error: "+ye)}8192&t.$$.dirty[0]&&n(26,r=ap(R.parse)),2&t.$$.dirty[0]&&(s("mode changed to",b),b==="code"&&console.warn('Deprecation warning: "code" mode is renamed to "text". Please use mode="text" instead.'))},[l,b,u,d,p,m,x,y,_,S,O,I,H,R,L,U,M,me,se,Me,ve,pe,$e,o,i,Le,r,function(ye,et,tt){n(0,l=ye),Z&&Z(ye,et,tt)},function(ye){n(2,u=ye),fe(ye)},function(){n(22,$e=!0),B&&B()},function(){n(22,$e=!1),re&&re()},function(ye){return Ce.apply(this,arguments)},Xt,Qt,function(ye){var et=ye.content,tt=ye.path,Zt=ye.onPatch,tn=ye.onClose;s("onJSONEditorModal",{content:et,path:tt}),n(25,Le={component:tI(Cke,{content:et,path:tt,onPatch:Zt,readOnly:d,indentation:p,tabSize:m,mainMenuBar:x,navigationBar:y,statusBar:_,askToFormat:S,escapeControlCharacters:O,escapeUnicodeCharacters:I,flattenColumns:H,parser:R,validator:void 0,validationParser:U,pathParser:M,onRenderValue:me,onClassName:se,onRenderMenu:Me,onSortModal:Qt,onTransformModal:Xt}),callbacks:{onClose:tn}})},function(){var ye,et;(ye=Le)===null||ye===void 0||(ye=ye.callbacks)===null||ye===void 0||(et=ye.onClose)===null||et===void 0||et.call(ye),n(25,Le=null)},be,G,Se,Z,fe,Je,B,re,function(){return l},function(ye){return rt.apply(this,arguments)},function(ye){return an.apply(this,arguments)},function(ye){return Dt.apply(this,arguments)},function(ye){return Bt.apply(this,arguments)},function(ye){return ot.apply(this,arguments)},function(ye){o.transform(ye)},function(){return o.validate()},function(){return Pn.apply(this,arguments)},function(ye){return Zn.apply(this,arguments)},function(ye){return o.findElement(ye)},En,function(){return Xn.apply(this,arguments)},function(ye){return fr.apply(this,arguments)},function(){return Cn.apply(this,arguments)},gt,function(ye){n(24,i=ye)},function(ye){fn[ye?"unshift":"push"](function(){n(23,o=ye)})}]}var Ike=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,Rke,Mke,Gt,{content:0,selection:2,readOnly:3,indentation:4,tabSize:5,mode:1,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,validator:14,validationParser:15,pathParser:16,queryLanguages:37,queryLanguageId:36,onChangeQueryLanguage:38,onChange:39,onSelect:40,onRenderValue:17,onClassName:18,onRenderMenu:19,onChangeMode:41,onError:20,onFocus:42,onBlur:43,get:44,set:45,update:46,patch:47,select:48,expand:49,transform:50,validate:51,acceptAutoRepair:52,scrollTo:53,findElement:54,focus:55,refresh:56,updateProps:57,destroy:58},Ake,[-1,-1,-1]),o}return lt(n,[{key:"get",get:function(){return this.$$.ctx[44]}},{key:"set",get:function(){return this.$$.ctx[45]}},{key:"update",get:function(){return this.$$.ctx[46]}},{key:"patch",get:function(){return this.$$.ctx[47]}},{key:"select",get:function(){return this.$$.ctx[48]}},{key:"expand",get:function(){return this.$$.ctx[49]}},{key:"transform",get:function(){return this.$$.ctx[50]}},{key:"validate",get:function(){return this.$$.ctx[51]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[52]}},{key:"scrollTo",get:function(){return this.$$.ctx[53]}},{key:"findElement",get:function(){return this.$$.ctx[54]}},{key:"focus",get:function(){return this.$$.ctx[55]}},{key:"refresh",get:function(){return this.$$.ctx[56]}},{key:"updateProps",get:function(){return this.$$.ctx[57]}},{key:"destroy",get:function(){return this.$$.ctx[58]}}]),n}();function Lke(t){qt(t,"svelte-9wp3tj",".jse-value.jse-string.svelte-9wp3tj{color:var(--jse-value-color-string, #008000)}.jse-value.jse-object.svelte-9wp3tj,.jse-value.jse-array.svelte-9wp3tj{min-width:16px;color:var(--jse-delimiter-color, rgba(0, 0, 0, 0.38))}.jse-value.jse-number.svelte-9wp3tj{color:var(--jse-value-color-number, #ee422e)}.jse-value.jse-boolean.svelte-9wp3tj{color:var(--jse-value-color-boolean, #ff8c00)}.jse-value.jse-null.svelte-9wp3tj{color:var(--jse-value-color-null, #004ed0)}.jse-value.jse-invalid.svelte-9wp3tj{color:var(--jse-text-color, #4d4d4d)}.jse-value.jse-url.svelte-9wp3tj{color:var(--jse-value-color-url, #008000);text-decoration:underline}.jse-enum-value.svelte-9wp3tj{background:var(--jse-hover-background-color, rgba(0, 0, 0, 0.06));border:none;padding:0;font-family:inherit;font-size:inherit;cursor:pointer;outline:none}.jse-enum-value.jse-selected.svelte-9wp3tj{background:var(--jse-selection-background-color, #d3d3d3);color:inherit}.jse-enum-value.jse-value.svelte-9wp3tj:focus{color:var(--jse-text-color, #4d4d4d)}.jse-json-node.jse-selected .jse-enum-value.svelte-9wp3tj{background:transparent}")}function kO(t,e,n){var r=t.slice();return r[13]=e[n],r}function jO(t){var e,n,r,o=t[13].text+"";return{c:function(){e=Q("option"),n=Ze(o),e.__value=r=t[13].value,Us(e,e.__value)},m:function(i,s){ie(i,e,s),q(e,n)},p:function(i,s){4&s&&o!==(o=i[13].text+"")&&Tt(n,o),4&s&&r!==(r=i[13].value)&&(e.__value=r,Us(e,e.__value))},d:function(i){i&&oe(e)}}}function Dke(t){for(var e,n,r,o,i=zt(t[2]),s=[],a=0;a<i.length;a+=1)s[a]=jO(kO(t,i,a));return{c:function(){e=Q("select");for(var l=0;l<s.length;l+=1)s[l].c();T(e,"class",n=cr("jse-enum-value ".concat(Jh(t[4],t[0])))+" svelte-9wp3tj"),t[4]===void 0&&Lc(function(){return t[10].call(e)}),Re(e,"jse-selected",wn(t[1]))},m:function(l,c){ie(l,e,c);for(var u=0;u<s.length;u+=1)s[u]&&s[u].m(e,null);EC(e,t[4],!0),t[11](e),r||(o=[De(e,"change",t[10]),De(e,"change",t[5]),De(e,"mousedown",Bke)],r=!0)},p:function(l,c){var u=Ft(c,1)[0];if(4&u){var f;for(i=zt(l[2]),f=0;f<i.length;f+=1){var d=kO(l,i,f);s[f]?s[f].p(d,u):(s[f]=jO(d),s[f].c(),s[f].m(e,null))}for(;f<s.length;f+=1)s[f].d(1);s.length=i.length}17&u&&n!==(n=cr("jse-enum-value ".concat(Jh(l[4],l[0])))+" svelte-9wp3tj")&&T(e,"class",n),16&u&&EC(e,l[4]),19&u&&Re(e,"jse-selected",wn(l[1]))},i:Ve,o:Ve,d:function(l){l&&oe(e),Er(s,l),t[11](null),r=!1,Wn(o)}}}function Bke(t){t.stopPropagation()}function zke(t,e,n){var r,o=e.path,i=e.value,s=e.parser,a=e.readOnly,l=e.selection,c=e.onPatch,u=e.options,f=i;return t.$$set=function(d){"path"in d&&n(6,o=d.path),"value"in d&&n(7,i=d.value),"parser"in d&&n(0,s=d.parser),"readOnly"in d&&n(8,a=d.readOnly),"selection"in d&&n(1,l=d.selection),"onPatch"in d&&n(9,c=d.onPatch),"options"in d&&n(2,u=d.options)},t.$$.update=function(){128&t.$$.dirty&&n(4,f=i),2&t.$$.dirty&&function(d){d&&r&&r.focus()}(l)},[s,l,u,r,f,function(d){d.stopPropagation(),a||c([{op:"replace",path:it(o),value:f}])},o,i,a,c,function(){var d;d=this.querySelector(":checked"),f=d&&d.__value,n(4,f),n(7,i)},function(d){fn[d?"unshift":"push"](function(){n(3,r=d),n(2,u)})}]}(function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,zke,Dke,Gt,{path:6,value:7,parser:0,readOnly:8,selection:1,onPatch:9,options:2},Lke),o}return lt(n)})();const Fke="JsonEditorVue",Wm="modelValue",SO="update:modelValue",Um=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],v9=Qr({name:Fke,props:{[Wm]:{},mode:{type:String},...Object.fromEntries(Um.map(t=>[t,{type:Boolean,default:void 0}]))},emits:{[SO](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var o;const i=(o=Aa())==null?void 0:o.proxy,s=Yt(),a=Yt(!1),l=Yt(!1),c=ip(d=>{if(l.value){l.value=!1;return}a.value=!0,n(SO,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:s}),ef(()=>{var d;(d=s.value)==null||d.destroy()}),zl(()=>{const d=hu([t.mode,jg.mode],{type:String}),h=hu([t[Wm],jg[Wm]]),p=Object.fromEntries(Array.from(Um,m=>[m,hu([t[m],jg[m]])]).filter(([,m])=>m!==void 0)),g=hu([p,e,y9,{onChange:c,onChangeMode:u,mode:d,...h!==void 0&&{content:{json:h}}}],{type:Object,mergeFunction:f});s.value=new Ike({target:i==null?void 0:i.$refs.jsonEditorRef,props:g}),br(()=>t[Wm],m=>{if(a.value){a.value=!1;return}s.value&&(l.value=!0,s.value.set([void 0,""].includes(m)?{text:""}:{json:m}))},{deep:!0}),br(()=>t.mode,m=>{var v;(v=s.value)==null||v.updateProps({mode:m})}),br(()=>Array.from(Um,m=>t[m]),m=>{var v;(v=s.value)==null||v.updateProps(Object.fromEntries(Array.from(m,(b,w)=>[Um[w],b]).filter(([,b])=>b!==void 0)))}),br(()=>e,m=>{var v;const b={};m.onChange&&(b.onChange=c),m.onChangeMode&&(b.onChangeMode=u),(v=s.value)==null||v.updateProps(Object.getOwnPropertyNames(b).length>0?hu([m,b],{type:Object,mergeFunction:f}):m)},{deep:!0}),r||(r=m=>{for(const v in m)i[v]=Ne(m[v])},r({jsonEditor:s}))}),()=>_l("div",{ref:"jsonEditorRef"})}}),jg={},y9={};function qke(t){return t.install=(e,n={})=>{const{props:r,attrs:o}=cK(n,{props:v9.props});Object.assign(jg,r),Object.assign(y9,o),e.component(t.name,t)},t}const Hke=qke(v9);const Vke={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 s=[e,e+1],a=this.panes[s[0]]||null,l=this.panes[s[1]]||null;const c=a.max<100&&i>=a.max+n.prevPanesSize,u=l.max<100&&i<=100-(l.max+this.sumNextPanesSize(e+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(e+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:s}=f),a=this.panes[s[0]]||null,l=this.panes[s[1]]||null}a!==null&&(a.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.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(s=>{r-=s.size,s.size>=s.max&&o.push(s.id),s.size<=s.min&&i.push(s.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(s=>{t&&t.givenSize!==null&&t.id===s.id||(s.size=Math.max(Math.min(n,s.max),s.min)),r-=s.size,s.size>=s.max&&o.push(s.id),s.size<=s.min&&i.push(s.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 s=Math.max(Math.min(o.size+r,o.max),o.min),a=s-o.size;t-=a,o.size=s}else if(!n.includes(o.id)){const s=Math.max(Math.min(o.size+r,o.max),o.min),a=s-o.size;t-=a,o.size=s}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 _l("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Wke=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Uke={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 Jke(t,e,n,r,o,i){return Ye(),It("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=s=>i.onPaneClick(s,t._.uid)),style:ui(t.style)},[Yn(t.$slots,"default")],4)}const $O=Wke(Uke,[["render",Jke]]),Gke="3.0.0-rc.5";function _O(t){return["url","extension","width","height","fonts","alt","props","renderer","html","component","renderer","emojis","_query","satori","resvg","sharp","screenshot","cacheMaxAgeSeconds"].includes(t)}function Qke(t,e=[]){t=t||{};const n=Fg(t.props,Object.fromEntries(Object.entries({...t}).filter(([o])=>!_O(o)&&!e.includes(o)))),r={};return Object.entries(n).forEach(([o,i])=>{r[o.replace(/-([a-z])/g,s=>s[1].toUpperCase())]=i}),{...Object.fromEntries(Object.entries({...t}).filter(([o])=>_O(o)||e.includes(o))),props:r}}const Yke={class:"relative n-bg-base flex flex-col"},Xke={class:"sticky top-0 z-2 px-4 pt-4"},Kke={class:"flex justify-between items-start",mb2:""},Zke={class:"flex space-x-5"},eje={"text-xl":"",flex:"","items-center":"","gap-2":""},tje={class:"flex items-center space-x-3 text-xl"},nje={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},rje={class:"px-5 py-2"},oje={"text-lg":"",flex:"","items-center":""},ije={class:"px-5 py-2"},sje={"text-lg":"",flex:"","items-center":""},aje={class:"px-5 py-2"},lje={"text-lg":"",flex:"","items-center":""},cje={class:"px-5 py-2"},uje={"text-lg":"",flex:"","items-center":""},fje=["value","title"],dje={class:"items-center space-x-3 hidden lg:flex"},hje={class:"opacity-80 text-sm"},pje={class:"opacity-80 text-sm"},mje={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},gje=ze("span",{class:"hidden sm:block"},"Nuxt",-1),vje=ze("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),yje={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},bje={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},wje={key:0,class:"h-full relative max-h-full"},xje={key:0},kje={key:0},jje={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},Sje={class:""},$je={class:"text-2xl font-semibold mb-3"},_je=ze("code",null,"defineOgImage()",-1),Cje={class:"text-lg opacity-80 my-3"},Oje=ze("code",null,"defineOgImage()",-1),Tje=ze("p",{class:"text-lg opacity-80"},[ze("a",{href:"https://nuxtseo.com/og-image/getting-started/your-first-image",target:"_blank",class:"underline"}," Learn more ")],-1),Aje={key:1},Pje={class:"flex justify-between items-center text-sm w-full absolute pr-[30px] top-0 left-0"},Eje={class:"flex items-center text-lg space-x-1 w-[100px]"},Nje={class:"text-xs"},Mje=ze("span",{class:"underline"},"View source",-1),Rje={key:1},Ije={class:"flex items-center w-[100px]"},Lje={key:0,class:"n-icon carbon:side-panel-open"},Dje={key:1,class:"n-icon carbon:open-panel-right"},Bje=["src"],zje={key:2,class:"w-full h-full"},Fje={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},qje={key:0,class:"text-sm p-2 opacity-80"},Hje=ze("code",null,"defineOgImage",-1),Vje={class:"opacity-80 text-base mb-1"},Wje={class:"flex space-between"},Uje={class:"flex flex-grow items-center space-x-2 text-sm"},Jje={key:0,class:"flex items-center text-sm space-x-2"},Gje=ze("label",{for:"emojis"},"Emojis",-1),Qje=ze("option",{value:"noto"}," Noto ",-1),Yje=ze("option",{value:"noto-v1"}," Noto v1 ",-1),Xje=ze("option",{value:"twemoji"}," Twitter Emoji ",-1),Kje=ze("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),Zje=ze("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),eSe=ze("option",{value:"emojione"}," Emojione ",-1),tSe=ze("option",{value:"emojione-v1"}," Emojione v1 ",-1),nSe=ze("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),rSe=ze("option",{value:"openmoji"}," Openmoji ",-1),oSe={class:"opacity-80 text-base mb-1"},iSe={class:"relative"},sSe={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},aSe={class:"opacity-80 text-base mb-1"},lSe={key:0,class:"text-sm"},cSe={key:0,class:"text-sm"},uSe={key:1,class:"space-y-3"},fSe={class:"mt-5 text-center opacity-75"},dSe={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},hSe={key:1},pSe={class:"opacity-80 text-base mb-1"},mSe={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},gSe=["onClick"],vSe={class:"opacity-80 text-base mb-1"},ySe=ze("br",null,null,-1),bSe={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},wSe=["onClick"],xSe={key:2,class:"h-full max-h-full overflow-hidden"},kSe={class:"opacity-80 text-base mb-1"},jSe={class:"px-3 py-2 space-y-5"},SSe=["innerHTML"],$Se={class:"opacity-80 text-base mb-1"},_Se={class:"px-3 py-2 space-y-5"},CSe=["innerHTML"],OSe={class:"opacity-80 text-base mb-1"},TSe={class:"px-3 py-2 space-y-5"},ASe=["innerHTML"],PSe={class:"opacity-80 text-base mb-1"},ESe={class:"px-3 py-2 space-y-5"},NSe=["innerHTML"],MSe={key:3,class:"h-full max-h-full overflow-hidden"},RSe=ze("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),ISe=[RSe],LSe=Qr({__name:"app",async setup(t){let e,n;gb({title:"OG Image Playground"});const{data:r}=NW(),o=Yt("noto"),i=q$(),{data:s,pending:a,error:l}=i;br(s,A=>{A&&(Hr.value=Qke(Ne(A.options),["socialPreview","options"]),o.value=Hr.value.emojis,$$.value=Hr.value.props)},{immediate:!0});const c=jn(()=>Ug.value==="dark");gb({htmlAttrs:{class:c.value?"dark":""}});function u(A){ni.value=Fg({props:A},ni.value),Xf.value=!0,Ho()}const f=D1("nuxt-og-image:tab","design");function d(A){f.value="design",delete A.options,ni.value=Fg(A,ni.value),Xf.value=!0,Ho()}async function h(A=!0){A&&await q$(),ni.value={},Xf.value=!1,A&&Ho()}[e,n]=mT(()=>h(!1)),await e,n();const p=jn(()=>{var A;return((A=r.value)==null?void 0:A.runtimeConfig.defaults)||{height:600,width:1200}}),g=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.height)||((G=Hr.value)==null?void 0:G.height)||p.value.height}),m=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.width)||((G=Hr.value)==null?void 0:G.width)||p.value.width}),v=jn(()=>m.value/g.value),b=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.extension)||((G=Hr.value)==null?void 0:G.extension)||"png"}),w=D1("nuxt-og-image:social-preview","twitter"),x=jn(()=>s.value?Ru(Pa(NH.value,"/__og-image__/image",dh.value,`/og.${b.value}`),{timestamp:w0.value,...ni.value,_query:Ob.value}):""),k=jn(()=>{var A,G,ee,be,we,Se,he;return w.value==="twitter"&&((ee=(G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.twitter)!=null&&ee.title)?(we=(be=Hr.value)==null?void 0:be.socialPreview)==null?void 0:we.twitter.title:(he=(Se=Hr.value)==null?void 0:Se.socialPreview)==null?void 0:he.og.title}),y=jn(()=>{var A,G,ee,be,we,Se,he;return w.value==="twitter"&&((ee=(G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.twitter)!=null&&ee.description)?(we=(be=Hr.value)==null?void 0:be.socialPreview)==null?void 0:we.twitter.description:(he=(Se=Hr.value)==null?void 0:Se.socialPreview)==null?void 0:he.og.description}),j=jn(()=>{var A,G,ee,be;return Gc(((G=(A=s.value)==null?void 0:A.siteConfig)==null?void 0:G.url)||"/").host||((be=(ee=s.value)==null?void 0:ee.siteConfig)==null?void 0:be.url)}),_=jn(()=>{var A,G;return((G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.og.site_name)||j.value});function $(A){!A||A===w.value?w.value="":w.value=A}const S=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.component)||((G=Hr.value)==null?void 0:G.component)||"NuxtSeo"}),C=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.renderer)||((G=Hr.value)==null?void 0:G.renderer)||"satori"}),O=jn(()=>{var G;const A=((G=r.value)==null?void 0:G.componentNames)||[];return[A.find(ee=>ee.pascalName===S.value),...A.filter(ee=>ee.pascalName!==S.value)].filter(Boolean)}),P=jn(()=>O.value.filter(A=>A.category==="community")),I=jn(()=>O.value.filter(A=>A.category==="app")),J=TH(),H=D1("nuxt-og-image:side-panel-open",J.width.value>=1024);br(J.width,A=>{A<1024&&H.value&&(H.value=!1)},{immediate:!0});const D=Yt(!1);function R(A){const G=(b.value||"").toUpperCase();let ee="";switch(b.value){case"png":ee=C.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":ee=C.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":ee="Satori";break}D.value=!1,G!=="HTML"?Yf.value=`Generated ${m.value}x${g.value} ${A.sizeKb?`${A.sizeKb}kB`:""} ${G} ${ee?`with ${ee}`:""} in ${A.timeTaken}ms.`:Yf.value=""}br([C,ni],()=>{Yf.value="Loading...",D.value=!0});function V(){window.open(x.value,"_blank")}const L=jn(()=>{var A,G,ee,be;return(be=(ee=(G=(A=hc.value)==null?void 0:A.host.nuxt.vueApp.config)==null?void 0:G.globalProperties)==null?void 0:ee.$route.matched[0].components)==null?void 0:be.default.__file});function E(){var A;(A=hc.value)==null||A.devtools.rpc.openInEditor(L.value)}function U(){var G;const A=O.value.find(ee=>ee.pascalName===S.value);(G=hc.value)==null||G.devtools.rpc.openInEditor(A.path)}const W=jn(()=>S.value==="PageScreenshot");br(o,A=>{var G;A!==((G=Hr.value)==null?void 0:G.emojis)&&d({emojis:A})});const M=jn(()=>{var G,ee,be,we;const A=(we=(be=(ee=(G=hc.value)==null?void 0:G.host.nuxt.vueApp.config)==null?void 0:ee.globalProperties)==null?void 0:be.$route.matched[0].components)==null?void 0:we.default.__file;return`pages/${A==null?void 0:A.split("pages/")[1]}`});return(A,G)=>{const ee=Ef,be=Fq,we=Sl("VTooltip"),Se=BA,he=Zq,Z=eH,te=FA,fe=GA,K=HH,me=tV,Ee=dP,se=dW,le=xW,Me=O2,Oe=zA,Je=jW,ue=PW;return Ye(),It("div",Yke,[ze("header",Xke,[ze("div",Kke,[ze("div",Zke,[ze("h1",eje,[ht(ee,{icon:"carbon:image-search",class:"text-blue-300"}),Kt(" Nuxt OG Image "),ht(be,{class:"text-sm"},{default:$t(()=>[Kt(Wr(Ne(Gke)),1)]),_:1})])]),ze("div",tje,[ze("fieldset",nje,[(Ye(),It(Ur,null,Np(["design","templates","debug","docs"],(ve,We)=>ze("label",{key:We,class:Kn(["relative n-border-base hover:n-bg-active cursor-pointer",[We?"border-l n-border-base ml--1px":"",ve===Ne(f)?"n-bg-active":"",Ne(W)&&ve==="templates"?"hidden":"",Ne(a)||Ne(l)?"n-disabled":""]])},[ve==="design"?(Ye(),It("div",{key:0,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Design ")]),default:$t(()=>[ze("div",rje,[ze("h2",oje,[ht(ee,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):Jn("",!0),ve==="templates"?(Ye(),It("div",{key:1,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Templates ")]),default:$t(()=>[ze("div",ije,[ze("h2",sje,[ht(ee,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):ve==="debug"?(Ye(),It("div",{key:2,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Debug ")]),default:$t(()=>[ze("div",aje,[ze("h2",lje,[ht(ee,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):ve==="docs"?(Ye(),It("div",{key:3,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Documentation ")]),default:$t(()=>[ze("div",cje,[ze("h2",uje,[ht(ee,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Jn("",!0),lT(ze("input",{"onUpdate:modelValue":G[0]||(G[0]=B=>zr(f)?f.value=B:null),type:"radio",value:ve,title:ve,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,fje),[[MD,Ne(f)]])],2)),64))]),ht(we,null,{popper:$t(()=>[Kt(" Refresh ")]),default:$t(()=>[ze("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:G[1]||(G[1]=(...ve)=>Ne(Ho)&&Ne(Ho)(...ve))},[ht(ee,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),ze("div",dje,[ze("div",hje,[ht(Se,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:$t(()=>[ht(ee,{icon:"carbon:favorite",class:"mr-[2px]"}),Kt(" Sponsor ")]),_:1})]),ze("div",pje,[ht(Se,{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},{default:$t(()=>[ht(ee,{icon:"logos:github-icon",class:"mr-[2px]"}),Kt(" Submit an issue ")]),_:1})]),ze("a",mje,[ht(he),gje,vje])])])]),ze("div",yje,[ze("main",bje,[Ne(f)==="design"?(Ye(),It("div",wje,[Ne(l)?(Ye(),It("div",xje,[Ne(l).message.includes("missing the Nuxt OG Image payload")?(Ye(),It("div",kje,[ze("div",jje,[ze("div",Sje,[ze("h2",$je,[ht(ee,{icon:"carbon:information",class:"text-blue-500"}),Kt(" Oops! Did you forget "),_je,Kt("? ")]),ze("p",Cje,[Kt(" Getting started with Nuxt OG Image is easy, simply add the "),Oje,Kt(" within setup script setup of your "),ze("code",{class:"underline cursor-pointer",onClick:E},Wr(Ne(M)),1),Kt(" file. ")]),Tje])])])):(Ye(),It("div",Aje,Wr(Ne(l)),1))])):(Ye(),cn(Ne(Vke),{key:1,class:"default-theme",onResize:Ne(EH)},{default:$t(()=>[ht(Ne($O),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:$t(()=>{var ve,We;return[ze("div",Pje,[ze("div",Eje,[(We=(ve=Ne(r))==null?void 0:ve.compatibility)!=null&&We.sharp||Ne(C)==="chromium"?(Ye(),cn(Z,{key:0,icon:"carbon:jpg",border:Ne(b)==="jpeg"||Ne(b)==="jpg",onClick:G[2]||(G[2]=B=>d({extension:"jpg"}))},null,8,["border"])):Jn("",!0),ht(Z,{icon:"carbon:png",border:Ne(b)==="png",onClick:G[3]||(G[3]=B=>d({extension:"png"}))},null,8,["border"]),Ne(C)!=="chromium"?(Ye(),cn(Z,{key:1,icon:"carbon:svg",border:Ne(b)==="svg",onClick:G[4]||(G[4]=B=>d({extension:"svg"}))},null,8,["border"])):Jn("",!0),Ne(W)?Jn("",!0):(Ye(),cn(Z,{key:2,icon:"carbon:html",border:Ne(b)==="html",onClick:G[5]||(G[5]=B=>d({extension:"html"}))},null,8,["border"]))]),ze("div",Nje,[Ne(W)?(Ye(),It("div",Rje," Screenshot of the current page. ")):(Ye(),It("div",{key:0,class:"opacity-70 space-x-1 hover:opacity-90 transition cursor-pointer",onClick:U},[ze("span",null,Wr(Ne(S).replace("OgImage","")),1),Mje]))]),ze("div",Ije,[ht(Z,{icon:"carbon:drag-horizontal",border:!Ne(w),onClick:G[6]||(G[6]=B=>$())},null,8,["border"]),ht(Z,{icon:"logos:twitter",border:Ne(w)==="twitter",onClick:G[7]||(G[7]=B=>$("twitter"))},null,8,["border"]),ht(Z,{icon:"logos:slack-icon",border:Ne(w)==="slack",onClick:G[8]||(G[8]=B=>$("slack"))},null,8,["border"]),ht(we,null,{popper:$t(()=>[Kt(" Toggle Sidebar ")]),default:$t(()=>[ze("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:G[9]||(G[9]=B=>H.value=!Ne(H))},[Ne(H)?(Ye(),It("div",Lje)):(Ye(),It("div",Dje))])]),_:1})])]),Ne(w)==="twitter"?(Ye(),cn(K,{key:0},{domain:$t(()=>[Kt(Wr(Ne(j)),1)]),default:$t(()=>[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onClick:V,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"max-height":"300","aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):Ne(w)==="slack"?(Ye(),cn(me,{key:1},{favIcon:$t(()=>{var B;return[ze("img",{src:`${(B=Ne(j))!=null&&B.includes("localhost")?"http":"https"}://${Ne(j)}/favicon.ico`},null,8,Bje)]}),siteName:$t(()=>[Kt(Wr(Ne(_)),1)]),title:$t(()=>[Kt(Wr(Ne(k)),1)]),description:$t(()=>[Kt(Wr(Ne(y)),1)]),default:$t(()=>[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),class:"!h-[300px]","aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(Ye(),It("div",zje,[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))])),Ne(Yf)?(Ye(),It("div",Fje,Wr(Ne(Yf)),1)):Jn("",!0)]}),_:1}),Ne(H)?(Ye(),cn(Ne($O),{key:0,size:"40"},{default:$t(()=>[Ne(Xf)?(Ye(),It("div",qje,[ze("div",null,[Kt(" You are previewing changes, you'll need to update your "),Hje,Kt(" to persist them. "),ht(Z,{type:"button",class:"underline",onClick:G[10]||(G[10]=ve=>h(!0))},{default:$t(()=>[Kt(" Reset ")]),_:1})])])):Jn("",!0),ht(le,null,{text:$t(()=>[ze("h3",Vje,[ht(Ee,{name:"carbon:gui-management",class:"mr-1"}),Kt(" Render ")])]),default:$t(()=>{var ve,We,B,Y;return[ze("div",Wje,[ze("div",Uje,[(We=(ve=Ne(r))==null?void 0:ve.compatibility)!=null&&We.satori&&!Ne(W)?(Ye(),cn(Z,{key:0,icon:"logos:vercel-icon",border:Ne(C)==="satori",onClick:G[11]||(G[11]=re=>d({renderer:"satori"}))},{default:$t(()=>[Kt(" Satori ")]),_:1},8,["border"])):Jn("",!0),(Y=(B=Ne(r))==null?void 0:B.compatibility)!=null&&Y.chromium?(Ye(),cn(Z,{key:1,icon:"logos:chrome",border:Ne(C)==="chromium",onClick:G[12]||(G[12]=re=>d({renderer:"chromium"}))},{default:$t(()=>[Kt(" Chromium ")]),_:1},8,["border"])):Jn("",!0)]),Ne(W)?Jn("",!0):(Ye(),It("div",Jje,[Gje,ht(se,{id:"emojis",modelValue:o.value,"onUpdate:modelValue":G[13]||(G[13]=re=>o.value=re)},{default:$t(()=>[Qje,Yje,Xje,Kje,Zje,eSe,tSe,nSe,rSe]),_:1},8,["modelValue"])]))])]}),_:1}),Ne(W)?Jn("",!0):(Ye(),cn(le,{key:1},{text:$t(()=>[ze("h3",oSe,[ht(Ee,{name:"carbon:operations-record",class:"mr-1"}),Kt(" Props ")])]),default:$t(()=>[ze("div",iSe,[ht(Ne(Hke),{"model-value":Ne($$),class:Kn(Ne(c)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ne(Xf)?(Ye(),It("span",sSe,"modified")):Jn("",!0)])]),_:1})),ht(le,null,{text:$t(()=>[ze("h3",aSe,[ht(ee,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),Kt(" Compatibility ")])]),default:$t(()=>{var ve;return[(ve=Ne(s))!=null&&ve.compatibilityHints?(Ye(),It("div",lSe,[Ne(s).compatibilityHints.length?(Ye(),It("div",uSe,[(Ye(!0),It(Ur,null,Np(Ne(s).compatibilityHints,(We,B)=>(Ye(),It("div",{key:B,class:"space-x-2 flex items-center opacity-65"},[ht(ee,{icon:"carbon:warning",class:"text-yellow-500"}),ze("div",null,Wr(We),1)]))),128))])):(Ye(),It("div",cSe,[ht(ee,{icon:"carbon:checkmark",class:"text-green-500"}),Kt(" Looks good. ")])),ze("div",fSe,[Kt(" See the "),ht(Me,{to:"https://nuxtseo.com/og-image/guides/compatibility",class:"underline"},{default:$t(()=>[Kt(" compatibility guide ")]),_:1}),Kt(" to learn more. ")])])):Jn("",!0)]}),_:1})]),_:1})):Jn("",!0)]),_:1},8,["onResize"]))])):Ne(f)==="templates"?(Ye(),It("div",dSe,[D.value?(Ye(),cn(Oe,{key:0})):(Ye(),It("div",hSe,[Ne(I).length?(Ye(),cn(le,{key:0},{text:$t(()=>[ze("h3",pSe,[ht(Ee,{name:"carbon:app",class:"mr-1"}),Kt(" App Templates ")])]),default:$t(()=>[ht(Je,null,{default:$t(()=>[Kt("These are the OG Image templates that belong to your project.")]),_:1}),ze("div",mSe,[(Ye(!0),It(Ur,null,Np(Ne(I),ve=>(Ye(),It("button",{key:ve.pascalName,class:"!p-0",onClick:We=>d({component:ve.pascalName})},[ht(ue,{component:ve,src:Ne(Ru)(Ne(x),{component:ve.pascalName}),"aspect-ratio":Ne(v),active:ve.pascalName===Ne(S)},null,8,["component","src","aspect-ratio","active"])],8,gSe))),128))])]),_:1})):Jn("",!0),ht(le,null,{text:$t(()=>[ze("h3",vSe,[ht(Ee,{name:"carbon:airline-passenger-care",class:"mr-1"}),Kt(" Community Templates ")])]),default:$t(()=>[ht(Je,null,{default:$t(()=>[Kt("These are OG Image templates created by the community."),ySe,Kt("You can try them out by clicking on them, when you find one you like, view the source and copy+paste.")]),_:1}),ze("div",bSe,[(Ye(!0),It(Ur,null,Np(Ne(P),ve=>(Ye(),It("button",{key:ve.pascalName,class:"!p-0",onClick:We=>d({component:ve.pascalName})},[ht(ue,{component:ve,src:Ne(Ru)(Ne(x),{component:ve.pascalName}),"aspect-ratio":Ne(v),active:ve.pascalName===Ne(S)},null,8,["component","src","aspect-ratio","active"])],8,wSe))),128))])]),_:1})]))])):Ne(f)==="debug"?(Ye(),It("div",xSe,[ht(le,null,{text:$t(()=>[ze("h3",kSe,[ht(ee,{icon:"carbon:settings",class:"mr-1"}),Kt(" Compatibility ")])]),default:$t(()=>{var ve;return[ze("div",jSe,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ne(Hp)(JSON.stringify(((ve=Ne(r))==null?void 0:ve.compatibility)||{},null,2),"json")},null,8,SSe)])]}),_:1}),ht(le,null,{text:$t(()=>[ze("h3",$Se,[ht(ee,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Kt(" vNodes ")])]),default:$t(()=>{var ve;return[ze("div",_Se,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ne(Hp)(JSON.stringify(((ve=Ne(s))==null?void 0:ve.vnodes)||{},null,2),"json")},null,8,CSe)])]}),_:1}),ht(le,null,{text:$t(()=>[ze("h3",OSe,[ht(ee,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Kt(" SVG ")])]),default:$t(()=>{var ve;return[ze("div",TSe,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ne(Hp)(((ve=Ne(s))==null?void 0:ve.svg.replaceAll(">",`>
105
+ `),s=Q("span"),a=Ze("("),l=Ze(g),c=ge(),u=Ze(m),f=Ze(")"),T(s,"class","jse-nested-array-count svelte-fxr3ye"),T(e,"type","button"),T(e,"class","jse-nested-array-action svelte-fxr3ye")},m:function(b,w){ie(b,e,w),q(e,n),q(e,r),q(e,o),q(e,i),q(e,s),q(s,a),q(s,l),q(s,c),q(s,u),q(s,f),d||(h=De(e,"click",v),d=!0)},p:function(b,w){t=b,256&w&&Tt(n,t[8]),16&w&&p!==(p=Ko(t[13])+"")&&Tt(o,p),17&w&&g!==(g=t[14]+"")&&Tt(l,g),17&w&&m!==(m=t[14]!==1?"items":"item")&&Tt(u,m)},d:function(b){b&&oe(e),d=!1,h()}}}function Z2e(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b;function w(O,P){return O[6]?Y2e:Q2e}var x=w(t),k=x(t);function y(O,P){return O[5]&&!O[1]?K2e:X2e}for(var j=y(t),_=j(t),$=zt(t[4]),S=[],C=0;C<$.length;C+=1)S[C]=nO(tO(t,$,C));return{c:function(){e=Q("div"),n=Q("div"),r=ge(),o=Q("div"),i=Q("div"),s=Ze(t[7]),a=ge(),l=Q("div"),k.c(),c=ge(),_.c(),u=ge();for(var O=0;O<S.length;O+=1)S[O].c();f=ge(),d=Q("button"),h=Ze(t[8]),p=Ze(" in tree mode"),g=ge(),m=Q("div"),T(n,"class","jse-space jse-before svelte-fxr3ye"),T(i,"class","jse-nested-arrays-title"),T(l,"class","jse-nested-arrays-info svelte-fxr3ye"),T(d,"type","button"),T(d,"class","jse-nested-array-action svelte-fxr3ye"),T(o,"class","jse-nested-arrays svelte-fxr3ye"),T(m,"class","jse-space jse-after svelte-fxr3ye"),T(e,"class","jse-table-mode-welcome svelte-fxr3ye")},m:function(O,P){ie(O,e,P),q(e,n),q(e,r),q(e,o),q(o,i),q(i,s),q(o,a),q(o,l),k.m(l,null),q(l,c),_.m(l,null),q(o,u);for(var I=0;I<S.length;I+=1)S[I]&&S[I].m(o,null);q(o,f),q(o,d),q(d,h),q(d,p),q(e,g),q(e,m),v||(b=De(d,"click",t[12]),v=!0)},p:function(O,P){var I=Ft(P,1)[0];if(128&I&&Tt(s,O[7]),x===(x=w(O))&&k?k.p(O,I):(k.d(1),(k=x(O))&&(k.c(),k.m(l,c))),j!==(j=y(O))&&(_.d(1),(_=j(O))&&(_.c(),_.m(l,null))),277&I){var J;for($=zt(O[4]),J=0;J<$.length;J+=1){var H=tO(O,$,J);S[J]?S[J].p(H,I):(S[J]=nO(H),S[J].c(),S[J].m(o,f))}for(;J<S.length;J+=1)S[J].d(1);S.length=$.length}256&I&&Tt(h,O[8])},i:Ve,o:Ve,d:function(O){O&&oe(e),k.d(),_.d(),Er(S,O),v=!1,b()}}}function eke(t,e,n){var r,o,i,s,a,l=e.text,c=e.json,u=e.readOnly,f=e.parser,d=e.openJSONEditorModal,h=e.onChangeMode;return t.$$set=function(p){"text"in p&&n(9,l=p.text),"json"in p&&n(0,c=p.json),"readOnly"in p&&n(1,u=p.readOnly),"parser"in p&&n(10,f=p.parser),"openJSONEditorModal"in p&&n(2,d=p.openJSONEditorModal),"onChangeMode"in p&&n(3,h=p.onChangeMode)},t.$$.update=function(){2&t.$$.dirty&&n(8,r=u?"View":"Edit"),1&t.$$.dirty&&n(4,a=c?function(p){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,m=[];return function v(b,w){wr(b)&&w.length<g&&Object.keys(b).forEach(function(x){v(b[x],w.concat(x))}),Gn(b)&&m.push(w)}(p,[]),m}(c).slice(0,99).filter(function(p){return p.length>0}):[]),16&t.$$.dirty&&n(6,o=!yn(a)),513&t.$$.dirty&&n(5,i=c===void 0&&(l===""||l===void 0)),1121&t.$$.dirty&&n(7,s=o?"Object with nested arrays":i?"An empty document":wr(c)?"An object":Gn(c)?"An empty array":"A ".concat(Fj(c,f)))},[c,u,d,h,a,i,o,s,r,l,f,function(p){return d(p)},function(){return h(go.tree)}]}var tke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,eke,Z2e,Gt,{text:9,json:0,readOnly:1,parser:10,openJSONEditorModal:2,onChangeMode:3},G2e),o}return lt(n)}();function nke(t){qt(t,"svelte-1nml1r3",".jse-column-header.svelte-1nml1r3{background:none;border:none;font-family:inherit;font-size:inherit;color:inherit;display:flex;gap:var(--jse-padding, 10px);padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px));width:100%}.jse-column-header.svelte-1nml1r3:hover{background:var(--jse-table-header-background-highlight, #e8e8e8)}.jse-column-header.svelte-1nml1r3:not(.jse-column-header.jse-readonly){cursor:pointer}")}function rke(t){var e,n,r,o,i,s;return n=new kn({props:{data:gse}}),{c:function(){e=Q("button"),Pe(n.$$.fragment),T(e,"type","button"),T(e,"class","jse-column-header svelte-1nml1r3"),T(e,"title",r="The Columns are created by sampling ".concat(t[1]," items out of ").concat(t[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower.")},m:function(a,l){ie(a,e,l),Te(n,e,null),o=!0,i||(s=De(e,"click",t[3]),i=!0)},p:function(a,l){var c=Ft(l,1)[0];(!o||3&c&&r!==(r="The Columns are created by sampling ".concat(a[1]," items out of ").concat(a[0],". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower."))&&T(e,"title",r)},i:function(a){o||(N(n.$$.fragment,a),o=!0)},o:function(a){F(n.$$.fragment,a),o=!1},d:function(a){a&&oe(e),Ae(n),i=!1,s()}}}function oke(t,e,n){var r=e.count,o=e.maxSampleCount,i=e.onRefresh;return t.$$set=function(s){"count"in s&&n(0,r=s.count),"maxSampleCount"in s&&n(1,o=s.maxSampleCount),"onRefresh"in s&&n(2,i=s.onRefresh)},[r,o,i,function(){return i()}]}var ike=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,oke,rke,Gt,{count:0,maxSampleCount:1,onRefresh:2},nke),o}return lt(n)}();function ske(t){qt(t,"svelte-1bunebm",'.jse-table-mode.svelte-1bunebm.svelte-1bunebm{flex:1;display:flex;flex-direction:column;position:relative;background:var(--jse-background-color, #fff);min-width:0;min-height:0;font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:var(--jse-text-color, #4d4d4d);line-height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.no-main-menu.svelte-1bunebm.svelte-1bunebm{border-top:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-hidden-input-label.svelte-1bunebm{position:fixed;right:0;top:0;width:0;height:0}.jse-table-mode.svelte-1bunebm .jse-hidden-input-label .jse-hidden-input.svelte-1bunebm{width:0;height:0;padding:0;border:0;outline:none}.jse-table-mode.svelte-1bunebm .jse-contents.svelte-1bunebm{flex:1;align-items:start;flex-direction:column;display:flex;overflow:auto;overflow-anchor:none;border-left:var(--jse-main-border, 1px solid #d7d7d7);border-right:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-contents.svelte-1bunebm:last-child{border-bottom:var(--jse-main-border, 1px solid #d7d7d7)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main.svelte-1bunebm{border-collapse:collapse;border-spacing:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-start-section td.svelte-1bunebm,.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-1bunebm{margin:0;padding:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-invisible-end-section td.svelte-1bunebm{padding-bottom:var(--jse-padding, 10px)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row.svelte-1bunebm:hover{background-color:var(--jse-table-row-odd-background, rgba(0, 0, 0, 0.05))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm{padding:0 var(--jse-padding, 10px) 0 0;vertical-align:top;white-space:nowrap;height:var(--jse-line-height, calc(1em + 4px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-1bunebm,.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-1bunebm{font-weight:normal;text-align:left;color:var(--jse-text-readonly, #8d8d8d);background:var(--jse-table-header-background, #f5f5f5)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header.svelte-1bunebm{padding:0;position:sticky;top:0}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-header .jse-table-root-error.svelte-1bunebm{padding:calc(0.5 * var(--jse-padding, 10px)) var(--jse-padding, 10px) calc(0.5 * var(--jse-padding, 10px)) calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-table-cell-gutter.svelte-1bunebm{padding:0 var(--jse-padding, 10px) 0 calc(0.5 * var(--jse-padding, 10px))}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.jse-selected-value.svelte-1bunebm>.jse-value{background:var(--jse-selection-background-color, #d3d3d3)}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm div{display:inline-flex}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell.svelte-1bunebm div.jse-value{overflow-wrap:normal;white-space:nowrap;vertical-align:top;display:inline-block}.jse-table-mode.svelte-1bunebm .jse-contents table.jse-table-main .jse-table-row .jse-table-cell .jse-context-menu-anchor.svelte-1bunebm{position:relative;vertical-align:top}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading.svelte-1bunebm{align-items:unset}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading .jse-loading-space.svelte-1bunebm{flex:1}.jse-table-mode.svelte-1bunebm .jse-contents.jse-contents-loading .jse-loading.svelte-1bunebm{flex:2;text-align:center;color:var(--jse-panel-color-readonly, #b2b2b2);box-sizing:border-box;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px)}')}function rO(t,e,n){var r=t.slice();r[122]=e[n],r[126]=n;var o=r[23].startIndex+r[126];r[123]=o;var i=r[22].rows[r[123]];return r[124]=i,r}function oO(t,e,n){var r,o=t.slice();o[127]=e[n],o[133]=n;var i=[String(o[123])].concat(o[127]);o[128]=i;var s=pt(o[122],o[127]);o[129]=s;var a=wn(o[11].selection)&&Ll(o[11].selection.path,o[128]);o[130]=a;var l=(r=o[124])===null||r===void 0?void 0:r.columns[o[133]];return o[131]=l,o}function iO(t,e,n){var r=t.slice();return r[127]=e[n],r}function sO(t){var e,n;return e=new N2e({props:{json:t[8],readOnly:t[0],historyState:t[20],onSort:t[41],onTransform:t[42],onUndo:t[43],onRedo:t[44],onContextMenu:t[33],onRenderMenu:t[5]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};256&o[0]&&(i.json=r[8]),1&o[0]&&(i.readOnly=r[0]),1048576&o[0]&&(i.historyState=r[20]),32&o[0]&&(i.onRenderMenu=r[5]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function ake(t){var e;return{c:function(){(e=Q("div")).innerHTML='<div class="jse-loading-space svelte-1bunebm"></div> <div class="jse-loading svelte-1bunebm">loading...</div>',T(e,"class","jse-contents jse-contents-loading svelte-1bunebm")},m:function(n,r){ie(n,e,r)},p:Ve,i:Ve,o:Ve,d:function(n){n&&oe(e)}}}function lke(t){var e,n,r,o,i,s,a,l,c,u=[fke,uke,cke],f=[];function d(h,p){return h[25]?0:h[17]&&h[16]!==void 0&&h[16]!==""?1:2}return o=d(t),i=f[o]=u[o](t),{c:function(){e=Q("label"),n=Q("input"),r=ge(),i.c(),s=Sn(),T(n,"type","text"),n.readOnly=!0,T(n,"tabindex","-1"),T(n,"class","jse-hidden-input svelte-1bunebm"),T(e,"class","jse-hidden-input-label svelte-1bunebm")},m:function(h,p){ie(h,e,p),q(e,n),t[72](n),ie(h,r,p),f[o].m(h,p),ie(h,s,p),a=!0,l||(c=De(n,"paste",t[38]),l=!0)},p:function(h,p){var g=o;(o=d(h))===g?f[o].p(h,p):(Fe(),F(f[g],1,1,function(){f[g]=null}),qe(),(i=f[o])?i.p(h,p):(i=f[o]=u[o](h)).c(),N(i,1),i.m(s.parentNode,s))},i:function(h){a||(N(i),a=!0)},o:function(h){F(i),a=!1},d:function(h){h&&(oe(e),oe(r),oe(s)),t[72](null),f[o].d(h),l=!1,c()}}}function cke(t){var e,n;return e=new tke({props:{text:t[16],json:t[8],readOnly:t[0],parser:t[2],openJSONEditorModal:t[40],onChangeMode:t[4]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};65536&o[0]&&(i.text=r[16]),256&o[0]&&(i.json=r[8]),1&o[0]&&(i.readOnly=r[0]),4&o[0]&&(i.parser=r[2]),16&o[0]&&(i.onChangeMode=r[4]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function uke(t){var e,n,r,o;return e=new hs({props:{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",actions:t[0]?[]:[{icon:Al,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:t[36]}]}}),r=new u9({props:{text:t[16],json:t[8],indentation:t[3],parser:t[2]}}),{c:function(){Pe(e.$$.fragment),n=ge(),Pe(r.$$.fragment)},m:function(i,s){Te(e,i,s),ie(i,n,s),Te(r,i,s),o=!0},p:function(i,s){var a={};1&s[0]&&(a.actions=i[0]?[]:[{icon:Al,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:i[36]}]),e.$set(a);var l={};65536&s[0]&&(l.text=i[16]),256&s[0]&&(l.json=i[8]),8&s[0]&&(l.indentation=i[3]),4&s[0]&&(l.parser=i[2]),r.$set(l)},i:function(i){o||(N(e.$$.fragment,i),N(r.$$.fragment,i),o=!0)},o:function(i){F(e.$$.fragment,i),F(r.$$.fragment,i),o=!1},d:function(i){i&&oe(n),Ae(e,i),Ae(r,i)}}}function fke(t){for(var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b,w,x,k,y,j,_,$=!yn((e=t[22])===null||e===void 0?void 0:e.root),S=$&&aO(t),C=zt(t[10]),O=[],P=0;P<C.length;P+=1)O[P]=lO(iO(t,C,P));for(var I=function(U){return F(O[U],1,1,function(){O[U]=null})},J=t[24]&&cO(t),H=zt(t[23].visibleItems),D=[],R=0;R<H.length;R+=1)D[R]=gO(rO(t,H,R));var V=function(U){return F(D[U],1,1,function(){D[U]=null})},L=t[18]&&vO(t),E=t[19]&&yO(t);return k=new Zj({props:{validationErrors:t[12],selectError:t[39]}}),{c:function(){n=Q("div"),r=Q("table"),o=Q("tbody"),i=Q("tr"),s=Q("th"),S&&S.c(),a=ge();for(var U=0;U<O.length;U+=1)O[U].c();l=ge(),J&&J.c(),c=ge(),u=Q("tr"),f=Q("td"),h=ge();for(var W=0;W<D.length;W+=1)D[W].c();p=ge(),g=Q("tr"),m=Q("td"),b=ge(),L&&L.c(),w=ge(),E&&E.c(),x=ge(),Pe(k.$$.fragment),T(s,"class","jse-table-cell jse-table-cell-header svelte-1bunebm"),T(i,"class","jse-table-row jse-table-row-header svelte-1bunebm"),T(f,"colspan",d=t[10].length),T(f,"class","svelte-1bunebm"),Ao(f,"height",t[23].startHeight+"px"),T(u,"class","jse-table-invisible-start-section"),T(m,"colspan",v=t[10].length),T(m,"class","svelte-1bunebm"),Ao(m,"height",t[23].endHeight+"px"),T(g,"class","jse-table-invisible-end-section"),T(r,"class","jse-table-main svelte-1bunebm"),T(r,"cellpadding","0"),T(r,"cellspacing","0"),T(n,"class","jse-contents svelte-1bunebm")},m:function(U,W){ie(U,n,W),q(n,r),q(r,o),q(o,i),q(i,s),S&&S.m(s,null),q(i,a);for(var M=0;M<O.length;M+=1)O[M]&&O[M].m(i,null);q(i,l),J&&J.m(i,null),q(o,c),q(o,u),q(u,f),q(o,h);for(var A=0;A<D.length;A+=1)D[A]&&D[A].m(o,null);q(o,p),q(o,g),q(g,m),t[75](n),ie(U,b,W),L&&L.m(U,W),ie(U,w,W),E&&E.m(U,W),ie(U,x,W),Te(k,U,W),y=!0,j||(_=[so(p9.call(null,n,t[45])),De(n,"scroll",t[29])],j=!0)},p:function(U,W){var M;if(4194304&W[0]&&($=!yn((M=U[22])===null||M===void 0?void 0:M.root)),$?S?(S.p(U,W),4194304&W[0]&&N(S,1)):((S=aO(U)).c(),N(S,1),S.m(s,null)):S&&(Fe(),F(S,1,1,function(){S=null}),qe()),268438529&W[0]){var A;for(C=zt(U[10]),A=0;A<C.length;A+=1){var G=iO(U,C,A);O[A]?(O[A].p(G,W),N(O[A],1)):(O[A]=lO(G),O[A].c(),N(O[A],1),O[A].m(i,l))}for(Fe(),A=C.length;A<O.length;A+=1)I(A);qe()}if(U[24]?J?(J.p(U,W),16777216&W[0]&&N(J,1)):((J=cO(U)).c(),N(J,1),J.m(i,null)):J&&(Fe(),F(J,1,1,function(){J=null}),qe()),(!y||1024&W[0]&&d!==(d=U[10].length))&&T(f,"colspan",d),8388608&W[0]&&Ao(f,"height",U[23].startHeight+"px"),165678085&W[0]|33281&W[1]){var ee;for(H=zt(U[23].visibleItems),ee=0;ee<H.length;ee+=1){var be=rO(U,H,ee);D[ee]?(D[ee].p(be,W),N(D[ee],1)):(D[ee]=gO(be),D[ee].c(),N(D[ee],1),D[ee].m(o,p))}for(Fe(),ee=H.length;ee<D.length;ee+=1)V(ee);qe()}(!y||1024&W[0]&&v!==(v=U[10].length))&&T(m,"colspan",v),8388608&W[0]&&Ao(m,"height",U[23].endHeight+"px"),U[18]?L?(L.p(U,W),262144&W[0]&&N(L,1)):((L=vO(U)).c(),N(L,1),L.m(w.parentNode,w)):L&&(Fe(),F(L,1,1,function(){L=null}),qe()),U[19]?E?(E.p(U,W),524288&W[0]&&N(E,1)):((E=yO(U)).c(),N(E,1),E.m(x.parentNode,x)):E&&(Fe(),F(E,1,1,function(){E=null}),qe());var we={};4096&W[0]&&(we.validationErrors=U[12]),k.$set(we)},i:function(U){if(!y){N(S);for(var W=0;W<C.length;W+=1)N(O[W]);N(J);for(var M=0;M<H.length;M+=1)N(D[M]);N(L),N(E),N(k.$$.fragment,U),y=!0}},o:function(U){F(S),O=O.filter(Boolean);for(var W=0;W<O.length;W+=1)F(O[W]);F(J),D=D.filter(Boolean);for(var M=0;M<D.length;M+=1)F(D[M]);F(L),F(E),F(k.$$.fragment,U),y=!1},d:function(U){U&&(oe(n),oe(b),oe(w),oe(x)),S&&S.d(),Er(O,U),J&&J.d(),Er(D,U),t[75](null),L&&L.d(U),E&&E.d(U),Ae(k,U),j=!1,Wn(_)}}}function aO(t){var e,n,r,o;return r=new Jf({props:{validationError:Cf([],(e=t[22])===null||e===void 0?void 0:e.root),onExpand:Vi}}),{c:function(){n=Q("div"),Pe(r.$$.fragment),T(n,"class","jse-table-root-error svelte-1bunebm")},m:function(i,s){ie(i,n,s),Te(r,n,null),o=!0},p:function(i,s){var a,l={};4194304&s[0]&&(l.validationError=Cf([],(a=i[22])===null||a===void 0?void 0:a.root)),r.$set(l)},i:function(i){o||(N(r.$$.fragment,i),o=!0)},o:function(i){F(r.$$.fragment,i),o=!1},d:function(i){i&&oe(n),Ae(r)}}}function lO(t){var e,n,r;return n=new V2e({props:{path:t[127],sortedColumn:t[11].sortedColumn,readOnly:t[0],onSort:t[28]}}),{c:function(){e=Q("th"),Pe(n.$$.fragment),T(e,"class","jse-table-cell jse-table-cell-header svelte-1bunebm")},m:function(o,i){ie(o,e,i),Te(n,e,null),r=!0},p:function(o,i){var s={};1024&i[0]&&(s.path=o[127]),2048&i[0]&&(s.sortedColumn=o[11].sortedColumn),1&i[0]&&(s.readOnly=o[0]),n.$set(s)},i:function(o){r||(N(n.$$.fragment,o),r=!0)},o:function(o){F(n.$$.fragment,o),r=!1},d:function(o){o&&oe(e),Ae(n)}}}function cO(t){var e,n,r;return n=new ike({props:{count:Array.isArray(t[8])?t[8].length:0,maxSampleCount:t[9],onRefresh:t[73]}}),{c:function(){e=Q("th"),Pe(n.$$.fragment),T(e,"class","jse-table-cell jse-table-cell-header svelte-1bunebm")},m:function(o,i){ie(o,e,i),Te(n,e,null),r=!0},p:function(o,i){var s={};256&i[0]&&(s.count=Array.isArray(o[8])?o[8].length:0),512&i[0]&&(s.maxSampleCount=o[9]),512&i[0]&&(s.onRefresh=o[73]),n.$set(s)},i:function(o){r||(N(n.$$.fragment,o),r=!0)},o:function(o){F(n.$$.fragment,o),r=!1},d:function(o){o&&oe(e),Ae(n)}}}function uO(t){var e,n;return e=new Jf({props:{validationError:Cf([String(t[123])],t[124].row),onExpand:Vi}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};12582912&o[0]&&(i.validationError=Cf([String(r[123])],r[124].row)),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function fO(t){var e,n,r,o,i,s,a,l,c=t[123]+"",u=!yn((e=t[124])===null||e===void 0?void 0:e.row),f=u&&uO(t);function d(){for(var h,p=arguments.length,g=new Array(p),m=0;m<p;m++)g[m]=arguments[m];return(h=t)[74].apply(h,[t[123]].concat(g))}return{c:function(){n=Q("th"),r=Ze(c),o=ge(),f&&f.c(),T(n,"class","jse-table-cell jse-table-cell-gutter svelte-1bunebm")},m:function(h,p){ie(h,n,p),q(n,r),q(n,o),f&&f.m(n,null),s=!0,a||(l=so(i=p9.call(null,n,d)),a=!0)},p:function(h,p){var g;t=h,(!s||8388608&p[0])&&c!==(c=t[123]+"")&&Tt(r,c),12582912&p[0]&&(u=!yn((g=t[124])===null||g===void 0?void 0:g.row)),u?f?(f.p(t,p),12582912&p[0]&&N(f,1)):((f=uO(t)).c(),N(f,1),f.m(n,null)):f&&(Fe(),F(f,1,1,function(){f=null}),qe()),i&&io(i.update)&&8388608&p[0]&&i.update.call(null,d)},i:function(h){s||(N(f),s=!0)},o:function(h){F(f),s=!1},d:function(h){h&&oe(n),f&&f.d(),a=!1,l()}}}function dke(t){var e,n;return e=new I2e({props:{path:t[128],value:t[129]!==void 0?t[129]:"",enforceString:Ca(t[129],t[11].enforceStringMap,it(t[128]),t[21].parser),selection:t[130]?t[11].selection:null,searchResultItems:t[27],context:t[21]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};8389632&o[0]&&(i.path=r[128]),8389632&o[0]&&(i.value=r[129]!==void 0?r[129]:""),10488832&o[0]&&(i.enforceString=Ca(r[129],r[11].enforceStringMap,it(r[128]),r[21].parser)),8391680&o[0]&&(i.selection=r[130]?r[11].selection:null),2097152&o[0]&&(i.context=r[21]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function hke(t){var e,n;return e=new z2e({props:{path:t[128],value:t[129],parser:t[2],isSelected:t[130],onEdit:t[40]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};8389632&o[0]&&(i.path=r[128]),8389632&o[0]&&(i.value=r[129]),4&o[0]&&(i.parser=r[2]),8391680&o[0]&&(i.isSelected=r[130]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function dO(t){var e,n,r,o;return n=new Vl({props:{selected:!0,onContextMenu:t[31]}}),{c:function(){e=Q("div"),Pe(n.$$.fragment),r=ge(),T(e,"class","jse-context-menu-anchor svelte-1bunebm")},m:function(i,s){ie(i,e,s),Te(n,e,null),ie(i,r,s),o=!0},p:Ve,i:function(i){o||(N(n.$$.fragment,i),o=!0)},o:function(i){F(n.$$.fragment,i),o=!1},d:function(i){i&&(oe(e),oe(r)),Ae(n)}}}function hO(t){var e,n;return e=new Jf({props:{validationError:Cf(t[128],t[131]),onExpand:Vi}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};12583936&o[0]&&(i.validationError=Cf(r[128],r[131])),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function pO(t){var e,n,r,o,i,s,a,l,c=!t[0]&&t[130]&&!Ri(t[11].selection),u=!yn(t[131]),f=[hke,dke],d=[];function h(m,v){return 8389632&v[0]&&(n=null),n==null&&(n=!!vr(m[129])),n?0:1}r=h(t,[-1,-1,-1,-1,-1]),o=d[r]=f[r](t);var p=c&&dO(t),g=u&&hO(t);return{c:function(){e=Q("td"),o.c(),i=Sn(),p&&p.c(),s=Sn(),g&&g.c(),T(e,"class","jse-table-cell svelte-1bunebm"),T(e,"data-path",a=jf(t[128])),Re(e,"jse-selected-value",t[130])},m:function(m,v){ie(m,e,v),d[r].m(e,null),q(e,i),p&&p.m(e,null),q(e,s),g&&g.m(e,null),l=!0},p:function(m,v){var b=r;(r=h(m,v))===b?d[r].p(m,v):(Fe(),F(d[b],1,1,function(){d[b]=null}),qe(),(o=d[r])?o.p(m,v):(o=d[r]=f[r](m)).c(),N(o,1),o.m(e,i)),8391681&v[0]&&(c=!m[0]&&m[130]&&!Ri(m[11].selection)),c?p?(p.p(m,v),8391681&v[0]&&N(p,1)):((p=dO(m)).c(),N(p,1),p.m(e,s)):p&&(Fe(),F(p,1,1,function(){p=null}),qe()),12582912&v[0]&&(u=!yn(m[131])),u?g?(g.p(m,v),12582912&v[0]&&N(g,1)):((g=hO(m)).c(),N(g,1),g.m(e,null)):g&&(Fe(),F(g,1,1,function(){g=null}),qe()),(!l||8389632&v[0]&&a!==(a=jf(m[128])))&&T(e,"data-path",a),(!l||8391680&v[0])&&Re(e,"jse-selected-value",m[130])},i:function(m){l||(N(o),N(p),N(g),l=!0)},o:function(m){F(o),F(p),F(g),l=!1},d:function(m){m&&oe(e),d[r].d(),p&&p.d(),g&&g.d()}}}function mO(t){var e;return{c:function(){T(e=Q("td"),"class","jse-table-cell svelte-1bunebm")},m:function(n,r){ie(n,e,r)},d:function(n){n&&oe(e)}}}function gO(t){for(var e,n,r,o,i=t[123],s=fO(t),a=zt(t[10]),l=[],c=0;c<a.length;c+=1)l[c]=pO(oO(t,a,c));var u=function(d){return F(l[d],1,1,function(){l[d]=null})},f=t[24]&&mO();return{c:function(){e=Q("tr"),s.c(),n=ge();for(var d=0;d<l.length;d+=1)l[d].c();r=ge(),f&&f.c(),T(e,"class","jse-table-row svelte-1bunebm")},m:function(d,h){ie(d,e,h),s.m(e,null),q(e,n);for(var p=0;p<l.length;p+=1)l[p]&&l[p].m(e,null);q(e,r),f&&f.m(e,null),o=!0},p:function(d,h){if(8388608&h[0]&&Gt(i,i=d[123])?(Fe(),F(s,1,1,Ve),qe(),(s=fO(d)).c(),N(s,1),s.m(e,n)):s.p(d,h),148900869&h[0]|513&h[1]){var p;for(a=zt(d[10]),p=0;p<a.length;p+=1){var g=oO(d,a,p);l[p]?(l[p].p(g,h),N(l[p],1)):(l[p]=pO(g),l[p].c(),N(l[p],1),l[p].m(e,r))}for(Fe(),p=a.length;p<l.length;p+=1)u(p);qe()}d[24]?f||((f=mO()).c(),f.m(e,null)):f&&(f.d(1),f=null)},i:function(d){if(!o){N(s);for(var h=0;h<a.length;h+=1)N(l[h]);o=!0}},o:function(d){F(s),l=l.filter(Boolean);for(var h=0;h<l.length;h+=1)F(l[h]);o=!1},d:function(d){d&&oe(e),s.d(d),Er(l,d),f&&f.d()}}}function vO(t){var e,n;return e=new hs({props:{type:"info",message:"You pasted a JSON ".concat(Array.isArray(t[18].contents)?"array":"object"," as text"),actions:[{icon:H0,text:"Paste as JSON instead",title:"Paste the text as JSON instead of a single value",onMouseDown:t[34]},{text:"Leave as is",title:"Keep the pasted content as a single value",onClick:t[35]}]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};262144&o[0]&&(i.message="You pasted a JSON ".concat(Array.isArray(r[18].contents)?"array":"object"," as text")),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function yO(t){var e,n;return e=new hs({props:{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",actions:t[0]?[]:[{icon:_h,text:"Ok",title:"Accept the repaired document",onClick:t[7]},{icon:Al,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:t[36]}],onClose:t[6]}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};1&o[0]&&(i.actions=r[0]?[]:[{icon:_h,text:"Ok",title:"Accept the repaired document",onClick:r[7]},{icon:Al,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:r[36]}]),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function pke(t){var e,n,r,o,i,s,a,l=t[1]&&sO(t),c=[lke,ake],u=[];return r=function(f,d){return f[26]?1:0}(t),o=u[r]=c[r](t),{c:function(){e=Q("div"),l&&l.c(),n=ge(),o.c(),T(e,"role","table"),T(e,"class","jse-table-mode svelte-1bunebm"),Re(e,"no-main-menu",!t[1])},m:function(f,d){ie(f,e,d),l&&l.m(e,null),q(e,n),u[r].m(e,null),t[76](e),i=!0,s||(a=[De(e,"mousedown",t[30]),De(e,"keydown",t[37]),De(e,"contextmenu",t[32])],s=!0)},p:function(f,d){f[1]?l?(l.p(f,d),2&d[0]&&N(l,1)):((l=sO(f)).c(),N(l,1),l.m(e,n)):l&&(Fe(),F(l,1,1,function(){l=null}),qe()),o.p(f,d),(!i||2&d[0])&&Re(e,"no-main-menu",!f[1])},i:function(f){i||(N(l),N(o),i=!0)},o:function(f){F(l),F(o),i=!1},d:function(f){f&&oe(e),l&&l.d(),u[r].d(),t[76](null),s=!1,Wn(a)}}}var hd=18;function mke(t,e,n){var r,o,i,s,a=lo("jsoneditor:TableMode"),l=ao("simple-modal").open,c=ao("absolute-popup"),u=c.openAbsolutePopup,f=c.closeAbsolutePopup,d=GI(),h=ff(),p=ff(),g=typeof window>"u";a("isSSR:",g);var m,v,b,w,x,k,y=e.readOnly,j=e.externalContent,_=e.externalSelection,$=e.mainMenuBar,S=e.escapeControlCharacters,C=e.escapeUnicodeCharacters,O=e.flattenColumns,P=e.parser,I=e.parseMemoizeOne,J=e.validator,H=e.validationParser,D=e.indentation,R=e.onChange,V=e.onChangeMode,L=e.onSelect,E=e.onRenderValue,U=e.onRenderMenu,W=e.onFocus,M=e.onBlur,A=e.onSortModal,G=e.onTransformModal,ee=e.onJSONEditorModal;Kj({onMount:Ni,onDestroy:hi,getWindow:function(){return Wf(v)},hasFocus:function(){return Z&&document.hasFocus()||Uj(v)},onFocus:function(){W&&W()},onBlur:function(){M&&M()}});var be,we=void 0,Se=1e4,he=[],Z=!1,te={},fe=600,K=0;function me(ne){a("updateSelection",ne);var _e=typeof ne=="function"?ne(se.selection)||null:ne;vn(_e,se.selection)||(n(11,se=ke(ke({},se),{},{selection:_e})),L(_e))}function Ee(ne){se.selection&&ne!==void 0&&($i(ne,xc(se.selection))&&$i(ne,_t(se.selection))||(a("clearing selection: path does not exist anymore",se.selection),n(11,se=ke(ke({},se),{},{selection:null}))))}var se=Vv(),le=!1,Me,Oe=QI({onChange:function(ne){n(20,Je=ne)}}),Je=Oe.getState();function ue(ne){var _e=x,Xe=kf(ne)?ne.text!==k:!vn(_e,ne.json);if(a("update external content",{isChanged:Xe}),Xe){var Ke={json:x,text:k},ut=x,Ht=se,Vt=k,kt=le;if(kf(ne))try{n(8,x=I(ne.text)),n(16,k=ne.text),n(19,le=!1),n(17,we=void 0)}catch(Mt){try{n(8,x=I(Is(ne.text))),n(16,k=ne.text),n(19,le=!0),n(17,we=void 0)}catch{n(8,x=void 0),n(16,k=j.text),n(19,le=!1),n(17,we=k!==void 0&&k!==""?xf(k,Mt.message||String(Mt)):void 0)}}else n(8,x=ne.json),n(16,k=void 0),n(19,le=!1),n(17,we=void 0);Ee(x),se.sortedColumn&&n(11,se=ke(ke({},se),{},{sortedColumn:null})),ve({previousJson:ut,previousState:Ht,previousText:Vt,previousTextIsRepaired:kt}),Le(Ke,null)}}function ve(ne){var _e=ne.previousJson,Xe=ne.previousState,Ke=ne.previousText,ut=ne.previousTextIsRepaired;_e===void 0&&Ke===void 0||(x!==void 0?_e!==void 0?Oe.add({undo:{patch:[{op:"replace",path:"",value:_e}],state:jo(Xe),json:void 0,text:Ke,textIsRepaired:ut},redo:{patch:[{op:"replace",path:"",value:x}],state:jo(se),json:void 0,text:k,textIsRepaired:le}}):Oe.add({undo:{patch:void 0,json:void 0,text:Ke,state:jo(Xe),textIsRepaired:ut},redo:{patch:void 0,json:x,state:jo(se),text:k,textIsRepaired:le}}):_e!==void 0&&Oe.add({undo:{patch:void 0,json:_e,state:jo(Xe),text:Ke,textIsRepaired:ut},redo:{patch:void 0,json:void 0,text:k,textIsRepaired:le,state:jo(se)}}))}var We=[],B=ap(YI);function Y(ne,_e,Xe,Ke){_u(function(){var ut;try{ut=B(ne,_e,Xe,Ke)}catch(Ht){ut=[{path:[],message:"Failed to validate: "+Ht.message,severity:Sa.warning}]}vn(ut,We)||(a("validationErrors changed:",ut),n(12,We=ut))},function(ut){return a("validationErrors updated in ".concat(ut," ms"))})}function re(){return a("validate"),we?{parseError:we,isRepairable:!1}:(Y(x,J,P,H),yn(We)?null:{validationErrors:We})}function pe(ne,_e){if(a("patch",ne,_e),x===void 0)throw new Error("Cannot apply patch: no JSON");var Xe={json:x},Ke=x,ut=se,Ht=le,Vt=RI(x,ne),kt=SI(x,se,ne).json,Mt=Oxe(se,ne,he),Rt=typeof _e=="function"?_e(kt,Mt):void 0;n(8,x=Rt&&Rt.json!==void 0?Rt.json:kt);var bn=Rt&&Rt.state!==void 0?Rt.state:Mt;n(11,se=bn),n(16,k=void 0),n(19,le=!1),n(18,be=void 0),n(17,we=void 0),Oe.add({undo:{patch:Vt,json:void 0,text:void 0,state:jo(ut),textIsRepaired:Ht},redo:{patch:ne,json:void 0,state:jo(bn),text:void 0,textIsRepaired:le}});var Mn={json:x,previousJson:Ke,undo:Vt,redo:ne};return Le(Xe,Mn),Mn}function $e(ne,_e){if(!y)return pe(ne,_e)}function Le(ne,_e){(ne.json!==void 0||(ne==null?void 0:ne.text)!==void 0)&&R&&(k!==void 0?R({text:k,json:void 0},ne,{contentErrors:re(),patchResult:_e}):x!==void 0&&R({text:void 0,json:x},ne,{contentErrors:re(),patchResult:_e}))}function gt(ne){a("handleFind",ne)}function rt(ne){a("pasted json as text",ne),n(18,be=ne)}function an(ne){var _e=parseInt(ne[0]),Xe=[String(_e+1)].concat(rn(ne.slice(1)));return $i(x,Xe)?un(Xe,!1):un(ne,!1)}function Dt(){a("focus"),w&&(w.focus(),w.select())}function Bt(){se.selection||me(!Gn(x)||yn(x)||yn(he)?null:un(["0"].concat(rn(he[0])),!1))}function ot(ne){var _e=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],Xe=Jy(ne,he,te,hd),Ke=Xe-K,ut=En(ne);if(a("scrollTo",{path:ne,top:Xe,scrollTop:K,elem:ut}),!b)return Promise.resolve();var Ht=b.getBoundingClientRect();if(ut&&!_e){var Vt=ut.getBoundingClientRect();if(Vt.bottom>Ht.top&&Vt.top<Ht.bottom)return Promise.resolve()}var kt=-Ht.height/4;return new Promise(ut?function(Mt){d(ut,{container:b,offset:kt,duration:300,callback:function(){Pn(ne),Mt()}})}:function(Mt){var Rt;d(Ke,{container:b,offset:kt,duration:300,callback:(Rt=Ut(Ge().mark(function bn(){return Ge().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:return Mn.next=2,Tr();case 2:if(Jy(ne,he,te,hd)===Xe){Mn.next=8;break}return Mn.next=6,ot(ne,_e);case 6:Mn.next=9;break;case 8:Pn(ne);case 9:Mt();case 10:case"end":return Mn.stop()}},bn)})),function(){return Rt.apply(this,arguments)})})})}function Pn(ne){var _e=En(ne);if(_e&&b){var Xe=b.getBoundingClientRect(),Ke=_e.getBoundingClientRect();if(Ke.right>Xe.right){var ut=Ke.right-Xe.right;n(14,b.scrollLeft+=ut,b)}if(Ke.left<Xe.left){var Ht=Xe.left-Ke.left;n(14,b.scrollLeft-=Ht,b)}}}function Zn(ne){(function(_e){if(b){var Xe=wi(_e,he).rowIndex,Ke=Jy(_e,he,te,hd),ut=Ke+(te[Xe]||hd),Ht=b.getBoundingClientRect(),Vt=K,kt=K+Ht.height-18;if(ut>kt){var Mt=ut-kt;n(14,b.scrollTop+=Mt,b)}if(Ke<Vt){var Rt=Vt-Ke;n(14,b.scrollTop-=Rt,b)}}})(ne),Pn(ne)}function En(ne){return b?b.querySelector('td[data-path="'.concat(jf(ne),'"]')):null}function Bn(ne){var _e=ne.anchor,Xe=ne.left,Ke=ne.top,ut=ne.width,Ht=ne.height,Vt=ne.offsetTop,kt=ne.offsetLeft,Mt=ne.showTip;Z=!0;var Rt=u(J2e,{json:x,documentState:se,parser:P,showTip:Mt,onEditValue:fr,onEditRow:Cn,onToggleEnforceString:Ce,onCut:Qt,onCopy:et,onPaste:Xt,onRemove:Zt,onDuplicateRow:tn,onInsertBeforeRow:z,onInsertAfterRow:ae,onRemoveRow:ce,onCloseContextMenu:function(){f(Rt),Dt()}},{left:Xe,top:Ke,offsetTop:Vt,offsetLeft:kt,width:ut,height:Ht,anchor:_e,closeOnOuterClick:!0,onClose:function(){Z=!1,Dt()}})}function Xn(ne){if(!y&&!Ri(se.selection)){if(ne&&(ne.stopPropagation(),ne.preventDefault()),ne&&ne.type==="contextmenu"&&ne.target!==w)Bn({left:ne.clientX,top:ne.clientY,width:ua,height:ca,showTip:!1});else{var _e,Xe=(_e=b)===null||_e===void 0?void 0:_e.querySelector(".jse-table-cell.jse-selected-value");if(Xe)Bn({anchor:Xe,offsetTop:2,width:ua,height:ca,showTip:!1});else{var Ke,ut=(Ke=b)===null||Ke===void 0?void 0:Ke.getBoundingClientRect();ut&&Bn({top:ut.top+2,left:ut.left+2,width:ua,height:ca,showTip:!1})}}return!1}}function fr(){if(!y&&se.selection){var ne=_t(se.selection);vr(pt(x,ne))?dn(ne):me(un(ne,!0))}}function Cn(){!y&&se.selection&&dn(_t(se.selection).slice(0,1))}function Ce(){if(!y&&wn(se.selection)){var ne=se.selection.path,_e=it(ne),Xe=pt(x,ne),Ke=!Ca(Xe,se.enforceStringMap,_e,P),ut=Ke?String(Xe):Vf(String(Xe),P);a("handleToggleEnforceString",{enforceString:Ke,value:Xe,updatedValue:ut}),$e([{op:"replace",path:_e,value:ut}],function(Ht,Vt){return{state:jI(Vt,_e,Ke)}})}}function st(){return(st=Ut(Ge().mark(function ne(){var _e,Xe,Ke,ut,Ht;return Ge().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(a("apply pasted json",be),be){Vt.next=3;break}return Vt.abrupt("return");case 3:Ke=(Xe=be).path,ut=Xe.contents,bI(Ht=((_e=b)===null||_e===void 0?void 0:_e.querySelector(".jse-editable-div"))||null)&&Ht.cancel(),$e([{op:"replace",path:it(Ke),value:ut}]),setTimeout(Dt);case 9:case"end":return Vt.stop()}},ne)}))).apply(this,arguments)}function Xt(){l(XI,{},ke(ke({},zc),{},{styleWindow:{width:"450px"}}),{onClose:function(){return Dt()}})}function Qt(ne){return ye.apply(this,arguments)}function ye(){return(ye=Ut(Ge().mark(function ne(_e){return Ge().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,i9({json:x,documentState:se,indentation:_e?D:void 0,readOnly:y,parser:P,onPatch:$e});case 2:case"end":return Xe.stop()}},ne)}))).apply(this,arguments)}function et(){return tt.apply(this,arguments)}function tt(){return tt=Ut(Ge().mark(function ne(){var _e,Xe=arguments;return Ge().wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(_e=!(Xe.length>0&&Xe[0]!==void 0)||Xe[0],x!==void 0){Ke.next=3;break}return Ke.abrupt("return");case 3:return Ke.next=5,s9({json:x,documentState:se,indentation:_e?D:void 0,parser:P});case 5:case"end":return Ke.stop()}},ne)})),tt.apply(this,arguments)}function Zt(){l9({json:x,text:k,documentState:se,keepSelection:!0,readOnly:y,onChange:R,onPatch:$e})}function tn(){Txe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function z(){Axe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function ae(){Pxe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function ce(){Exe({json:x,documentState:se,columns:he,readOnly:y,onPatch:$e})}function je(){return(je=Ut(Ge().mark(function ne(_e){return Ge().wrap(function(Xe){for(;;)switch(Xe.prev=Xe.next){case 0:return Xe.next=2,c9({char:_e,selectInside:!1,refJsonEditor:v,json:x,selection:se.selection,readOnly:y,parser:P,onPatch:$e,onReplaceJson:Ie,onSelect:me});case 2:case"end":return Xe.stop()}},ne)}))).apply(this,arguments)}function Ie(ne,_e){var Xe=se,Ke=x,ut=k,Ht={json:x,text:k},Vt=le,kt=yi(x,se,[],Os),Mt=typeof _e=="function"?_e(ne,kt):void 0;n(8,x=Mt&&Mt.json!==void 0?Mt.json:ne),n(11,se=Mt&&Mt.state!==void 0?Mt.state:kt),n(16,k=void 0),n(19,le=!1),n(17,we=void 0),Ee(x),ve({previousJson:Ke,previousState:Xe,previousText:ut,previousTextIsRepaired:Vt}),Le(Ht,null)}function At(ne,_e){a("handleChangeText");var Xe=se,Ke=x,ut=k,Ht={json:x,text:k},Vt=le;try{n(8,x=I(ne)),n(11,se=yi(x,se,[],Os)),n(16,k=void 0),n(19,le=!1),n(17,we=void 0)}catch(Mt){try{n(8,x=I(Is(ne))),n(11,se=yi(x,se,[],Os)),n(16,k=ne),n(19,le=!0),n(17,we=void 0)}catch{n(8,x=void 0),n(11,se=Vv({json:x,expand:Os})),n(16,k=ne),n(19,le=!1),n(17,we=k!==""?xf(k,Mt.message||String(Mt)):void 0)}}if(typeof _e=="function"){var kt=_e(x,se);n(8,x=kt&&kt.json?kt.json:x),n(11,se=kt&&kt.state?kt.state:se)}Ee(x),ve({previousJson:Ke,previousState:Xe,previousText:ut,previousTextIsRepaired:Vt}),Le(Ht,null)}function Pt(ne){if(x!==void 0){var _e=ne.id,Xe=ne.onTransform,Ke=ne.onClose,ut=ne.rootPath||[];Z=!0,G({id:_e||p,json:x,rootPath:ut||[],onTransform:function(Ht){Xe?Xe({operations:Ht,json:x,transformedJson:ns(x,Ht)}):(a("onTransform",ut,Ht),$e(Ht))},onClose:function(){Z=!1,Dt(),Ke&&Ke()}})}}function dn(ne){a("openJSONEditorModal",{path:ne}),Z=!0,ee({content:{json:pt(x,ne)},path:ne,onPatch:Me.onPatch,onClose:function(){Z=!1,Dt()}})}function zn(ne,_e){l(ZI,{text:ne,onParse:function(Xe){return h1(Xe,function(Ke){return wp(Ke,P)})},onRepair:lI,onApply:_e},ke(ke({},zc),{},{styleWindow:{width:"600px",height:"500px"},styleContent:{padding:0,height:"100%"}}),{onClose:function(){return Dt()}})}function Nn(){if(!y&&Oe.getState().canUndo){var ne=Oe.undo();if(ne){var _e={json:x,text:k};n(8,x=ne.undo.patch?ns(x,ne.undo.patch):ne.undo.json),n(11,se=ne.undo.state),n(16,k=ne.undo.text),n(19,le=ne.undo.textIsRepaired),n(17,we=void 0),a("undo",{item:ne,json:x}),Le(_e,{json:x,previousJson:_e.json,redo:ne.undo.patch,undo:ne.redo.patch}),Dt(),se.selection&&ot(_t(se.selection),!1)}}}function ln(){if(!y&&Oe.getState().canRedo){var ne=Oe.redo();if(ne){var _e={json:x,text:k};n(8,x=ne.redo.patch?ns(x,ne.redo.patch):ne.redo.json),n(11,se=ne.redo.state),n(16,k=ne.redo.text),n(19,le=ne.redo.textIsRepaired),n(17,we=void 0),a("redo",{item:ne,json:x}),Le(_e,{json:x,previousJson:_e.json,redo:ne.redo.patch,undo:ne.undo.patch}),Dt(),se.selection&&ot(_t(se.selection),!1)}}}function Tn(ne,_e){n(69,te[_e]=ne.getBoundingClientRect().height,te)}return t.$$set=function(ne){"readOnly"in ne&&n(0,y=ne.readOnly),"externalContent"in ne&&n(47,j=ne.externalContent),"externalSelection"in ne&&n(48,_=ne.externalSelection),"mainMenuBar"in ne&&n(1,$=ne.mainMenuBar),"escapeControlCharacters"in ne&&n(49,S=ne.escapeControlCharacters),"escapeUnicodeCharacters"in ne&&n(50,C=ne.escapeUnicodeCharacters),"flattenColumns"in ne&&n(51,O=ne.flattenColumns),"parser"in ne&&n(2,P=ne.parser),"parseMemoizeOne"in ne&&n(52,I=ne.parseMemoizeOne),"validator"in ne&&n(53,J=ne.validator),"validationParser"in ne&&n(54,H=ne.validationParser),"indentation"in ne&&n(3,D=ne.indentation),"onChange"in ne&&n(55,R=ne.onChange),"onChangeMode"in ne&&n(4,V=ne.onChangeMode),"onSelect"in ne&&n(56,L=ne.onSelect),"onRenderValue"in ne&&n(57,E=ne.onRenderValue),"onRenderMenu"in ne&&n(5,U=ne.onRenderMenu),"onFocus"in ne&&n(58,W=ne.onFocus),"onBlur"in ne&&n(59,M=ne.onBlur),"onSortModal"in ne&&n(60,A=ne.onSortModal),"onTransformModal"in ne&&n(61,G=ne.onTransformModal),"onJSONEditorModal"in ne&&n(62,ee=ne.onJSONEditorModal)},t.$$.update=function(){786432&t.$$.dirty[1]&&n(68,m=Hj({escapeControlCharacters:S,escapeUnicodeCharacters:C})),65536&t.$$.dirty[1]&&ue(j),131072&t.$$.dirty[1]&&function(ne){vn(se.selection,ne)||(a("applyExternalSelection",ne),me(ne))}(_),1792&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&n(10,he=Gn(x)?function(ne,_e){var Xe,Ke=new Set(_e.map(it)),ut=new Set(ne.map(it)),Ht=yo(Ke);try{for(Ht.s();!(Xe=Ht.n()).done;){var Vt=Xe.value;ut.has(Vt)||Ke.delete(Vt)}}catch(bn){Ht.e(bn)}finally{Ht.f()}var kt,Mt=yo(ut);try{for(Mt.s();!(kt=Mt.n()).done;){var Rt=kt.value;Ke.has(Rt)||Ke.add(Rt)}}catch(bn){Mt.e(bn)}finally{Mt.f()}return rn(Ke).map(as)}(Sxe(x,O,Se),he):[]),1280&t.$$.dirty[0]&&n(25,r=x&&!yn(he)),768&t.$$.dirty[0]&&n(24,o=Array.isArray(x)&&x.length>Se),256&t.$$.dirty[0]|896&t.$$.dirty[2]&&n(23,i=$xe(K,fe,x,te,hd)),256&t.$$.dirty[0]&&b&&b.scrollTo({top:b.scrollTop,left:b.scrollLeft}),2309&t.$$.dirty[0]|67108864&t.$$.dirty[1]|64&t.$$.dirty[2]&&n(21,Me={readOnly:y,parser:P,normalization:m,getJson:function(){return x},getDocumentState:function(){return se},findElement:En,findNextInside:an,focus:Dt,onPatch:$e,onSelect:me,onFind:gt,onPasteJson:rt,onRenderValue:E}),260&t.$$.dirty[0]|12582912&t.$$.dirty[1]&&Y(x,J,P,H),5120&t.$$.dirty[0]&&n(22,s=_xe(We,he))},[y,$,P,D,V,U,Dt,function(){if(le&&x!==void 0){var ne=se,_e=x,Xe=k,Ke={json:x,text:k},ut=le;n(16,k=void 0),n(19,le=!1),Ee(x),ve({previousJson:_e,previousState:ne,previousText:Xe,previousTextIsRepaired:ut}),Le(Ke,null)}return{json:x,text:k}},x,Se,he,se,We,v,b,w,k,we,be,le,Je,Me,s,i,o,r,g,void 0,function(ne){if(!y){a("onSortByHeader",ne);var _e=ne.sortDirection===Oi.desc?-1:1;$e(t9(x,[],ne.path,_e),function(Xe,Ke){return{state:ke(ke({},Ke),{},{sortedColumn:ne})}})}},function(ne){n(71,K=ne.target.scrollTop)},function(ne){var _e=ne!=null&&ne.target?yI(ne.target):void 0;if(_e){if(Ri(se.selection)&&Uh(x,se.selection,_e))return;me(un(_e,!1)),ne.preventDefault()}Vj(ne.target,"BUTTON")||ne.target.isContentEditable||Dt()},Bn,Xn,function(ne){y||Bn({anchor:vI(ne.target,"BUTTON"),offsetTop:0,width:ua,height:ca,showTip:!0})},function(){return st.apply(this,arguments)},function(){a("clear pasted json"),n(18,be=void 0),Dt()},function(){V(go.text)},function(ne){var _e=Hl(ne);if(a("keydown",{combo:_e,key:ne.key}),_e==="Ctrl+X"&&(ne.preventDefault(),Qt(!0)),_e==="Ctrl+Shift+X"&&(ne.preventDefault(),Qt(!1)),_e==="Ctrl+C"&&(ne.preventDefault(),et(!0)),_e==="Ctrl+Shift+C"&&(ne.preventDefault(),et(!1)),_e==="Ctrl+D"&&ne.preventDefault(),_e!=="Delete"&&_e!=="Backspace"||(ne.preventDefault(),Zt()),_e==="Insert"&&ne.preventDefault(),_e==="Ctrl+A"&&ne.preventDefault(),_e==="Ctrl+Q"&&Xn(ne),_e==="ArrowLeft"&&(ne.preventDefault(),Bt(),se.selection)){var Xe=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return rr>0?un(yc({rowIndex:Mn,columnIndex:rr-1},Mt),!1):Rt}(he,se.selection);me(Xe),Zn(_t(Xe))}if(_e==="ArrowRight"&&(ne.preventDefault(),Bt(),se.selection)){var Ke=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return rr<Mt.length-1?un(yc({rowIndex:Mn,columnIndex:rr+1},Mt),!1):Rt}(he,se.selection);me(Ke),Zn(_t(Ke))}if(_e==="ArrowUp"&&(ne.preventDefault(),Bt(),se.selection)){var ut=function(Mt,Rt){var bn=wi(_t(Rt),Mt),Mn=bn.rowIndex,rr=bn.columnIndex;return Mn>0?un(yc({rowIndex:Mn-1,columnIndex:rr},Mt),!1):Rt}(he,se.selection);me(ut),Zn(_t(ut))}if(_e==="ArrowDown"&&(ne.preventDefault(),Bt(),se.selection)){var Ht=function(Mt,Rt,bn){var Mn=wi(_t(bn),Rt),rr=Mn.rowIndex,Xr=Mn.columnIndex;return rr<Mt.length-1?un(yc({rowIndex:rr+1,columnIndex:Xr},Rt),!1):bn}(x,he,se.selection);me(Ht),Zn(_t(Ht))}if(_e==="Enter"&&se.selection&&wn(se.selection)){ne.preventDefault();var Vt=se.selection.path;vr(pt(x,Vt))?dn(Vt):y||me(ke(ke({},se.selection),{},{edit:!0}))}if(_e.replace(/^Shift\+/,"").length===1&&se.selection)return ne.preventDefault(),void function(Mt){je.apply(this,arguments)}(ne.key);if(_e==="Ctrl+Enter"&&wn(se.selection)){var kt=pt(x,se.selection.path);d1(kt)&&window.open(String(kt),"_blank")}_e==="Escape"&&se.selection&&(ne.preventDefault(),me(null)),_e==="Ctrl+F"&&ne.preventDefault(),_e==="Ctrl+H"&&ne.preventDefault(),_e==="Ctrl+Z"&&(ne.preventDefault(),Nn()),_e==="Ctrl+Shift+Z"&&(ne.preventDefault(),ln())},function(ne){ne.preventDefault(),a9({clipboardText:ne.clipboardData.getData("text/plain"),json:x,selection:se.selection,readOnly:y,parser:P,onPatch:$e,onChangeText:At,openRepairModal:zn})},function(ne){a("select validation error",ne),me(un(ne.path,!1)),ot(ne.path)},dn,function(){(function(ne){y||x===void 0||(Z=!0,A({id:h,json:x,rootPath:ne,onSort:function(_e){var Xe=_e.operations,Ke=_e.itemPath,ut=_e.direction;a("onSort",Xe,ne,Ke,ut),$e(Xe,function(Ht,Vt){return{state:ke(ke({},Vt),{},{sortedColumn:{path:Ke,sortDirection:ut===-1?Oi.desc:Oi.asc}})}})},onClose:function(){Z=!1,Dt()}}))})([])},function(){Pt({rootPath:[]})},Nn,ln,function(ne){n(70,fe=ne.getBoundingClientRect().height)},Tn,j,_,S,C,O,I,J,H,R,L,E,W,M,A,G,ee,re,pe,ot,En,Pt,m,te,fe,K,function(ne){fn[ne?"unshift":"push"](function(){n(15,w=ne)})},function(){return n(9,Se=1/0)},function(ne,_e){return Tn(_e,ne)},function(ne){fn[ne?"unshift":"push"](function(){n(14,b=ne)})},function(ne){fn[ne?"unshift":"push"](function(){n(13,v=ne)})}]}var gke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,mke,pke,Gt,{readOnly:0,externalContent:47,externalSelection:48,mainMenuBar:1,escapeControlCharacters:49,escapeUnicodeCharacters:50,flattenColumns:51,parser:2,parseMemoizeOne:52,validator:53,validationParser:54,indentation:3,onChange:55,onChangeMode:4,onSelect:56,onRenderValue:57,onRenderMenu:5,onFocus:58,onBlur:59,onSortModal:60,onTransformModal:61,onJSONEditorModal:62,validate:63,patch:64,focus:6,acceptAutoRepair:7,scrollTo:65,findElement:66,openTransformModal:67},ske,[-1,-1,-1,-1,-1]),o}return lt(n,[{key:"validate",get:function(){return this.$$.ctx[63]}},{key:"patch",get:function(){return this.$$.ctx[64]}},{key:"focus",get:function(){return this.$$.ctx[6]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[7]}},{key:"scrollTo",get:function(){return this.$$.ctx[65]}},{key:"findElement",get:function(){return this.$$.ctx[66]}},{key:"openTransformModal",get:function(){return this.$$.ctx[67]}}]),n}();function vke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],pathParser:t[17],onError:t[23],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onClassName:t[22],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new sS({props:r}),t[47](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),8&i[0]&&(s.indentation=o[3]),64&i[0]&&(s.mainMenuBar=o[6]),128&i[0]&&(s.navigationBar=o[7]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),8192&i[0]&&(s.parser=o[13]),16384&i[0]&&(s.parseMemoizeOne=o[14]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),131072&i[0]&&(s.pathParser=o[17]),8388608&i[0]&&(s.onError=o[23]),262144&i[0]&&(s.onChange=o[18]),524288&i[0]&&(s.onChangeMode=o[19]),1048576&i[0]&&(s.onSelect=o[20]),2097152&i[0]&&(s.onRenderValue=o[21]),4194304&i[0]&&(s.onClassName=o[22]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),268435456&i[0]&&(s.onJSONEditorModal=o[28]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[47](null),Ae(e,o)}}}function yke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],mainMenuBar:t[6],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[14],validator:t[15],validationParser:t[16],indentation:t[3],onChange:t[18],onChangeMode:t[19],onSelect:t[20],onRenderValue:t[21],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27],onJSONEditorModal:t[28]};return e=new gke({props:r}),t[46](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),64&i[0]&&(s.mainMenuBar=o[6]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),4096&i[0]&&(s.flattenColumns=o[12]),8192&i[0]&&(s.parser=o[13]),16384&i[0]&&(s.parseMemoizeOne=o[14]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),8&i[0]&&(s.indentation=o[3]),262144&i[0]&&(s.onChange=o[18]),524288&i[0]&&(s.onChangeMode=o[19]),1048576&i[0]&&(s.onSelect=o[20]),2097152&i[0]&&(s.onRenderValue=o[21]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),268435456&i[0]&&(s.onJSONEditorModal=o[28]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[46](null),Ae(e,o)}}}function bke(t){var e,n,r={externalContent:t[0],externalSelection:t[1],readOnly:t[2],indentation:t[3],tabSize:t[4],mainMenuBar:t[6],statusBar:t[8],askToFormat:t[9],escapeUnicodeCharacters:t[11],parser:t[13],validator:t[15],validationParser:t[16],onChange:t[18],onSelect:t[20],onChangeMode:t[19],onError:t[23],onFocus:t[24],onBlur:t[25],onRenderMenu:t[32],onSortModal:t[26],onTransformModal:t[27]};return e=new A2e({props:r}),t[45](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};1&i[0]&&(s.externalContent=o[0]),2&i[0]&&(s.externalSelection=o[1]),4&i[0]&&(s.readOnly=o[2]),8&i[0]&&(s.indentation=o[3]),16&i[0]&&(s.tabSize=o[4]),64&i[0]&&(s.mainMenuBar=o[6]),256&i[0]&&(s.statusBar=o[8]),512&i[0]&&(s.askToFormat=o[9]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),8192&i[0]&&(s.parser=o[13]),32768&i[0]&&(s.validator=o[15]),65536&i[0]&&(s.validationParser=o[16]),262144&i[0]&&(s.onChange=o[18]),1048576&i[0]&&(s.onSelect=o[20]),524288&i[0]&&(s.onChangeMode=o[19]),8388608&i[0]&&(s.onError=o[23]),16777216&i[0]&&(s.onFocus=o[24]),33554432&i[0]&&(s.onBlur=o[25]),2&i[1]&&(s.onRenderMenu=o[32]),67108864&i[0]&&(s.onSortModal=o[26]),134217728&i[0]&&(s.onTransformModal=o[27]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[45](null),Ae(e,o)}}}function wke(t){var e,n,r,o,i=[bke,yke,vke],s=[];function a(l,c){return l[5]===go.text||l[5]==="code"?0:l[5]===go.table?1:2}return e=a(t),n=s[e]=i[e](t),{c:function(){n.c(),r=Sn()},m:function(l,c){s[e].m(l,c),ie(l,r,c),o=!0},p:function(l,c){var u=e;(e=a(l))===u?s[e].p(l,c):(Fe(),F(s[u],1,1,function(){s[u]=null}),qe(),(n=s[e])?n.p(l,c):(n=s[e]=i[e](l)).c(),N(n,1),n.m(r.parentNode,r))},i:function(l){o||(N(n),o=!0)},o:function(l){F(n),o=!1},d:function(l){l&&oe(r),s[e].d(l)}}}function xke(t,e,n){var r,o,i,s,a,l=e.content,c=e.selection,u=e.readOnly,f=e.indentation,d=e.tabSize,h=e.mode,p=e.mainMenuBar,g=e.navigationBar,m=e.statusBar,v=e.askToFormat,b=e.escapeControlCharacters,w=e.escapeUnicodeCharacters,x=e.flattenColumns,k=e.parser,y=e.parseMemoizeOne,j=e.validator,_=e.validationParser,$=e.pathParser,S=e.insideModal,C=e.onChange,O=e.onChangeMode,P=e.onSelect,I=e.onRenderValue,J=e.onClassName,H=e.onRenderMenu,D=e.onError,R=e.onFocus,V=e.onBlur,L=e.onSortModal,E=e.onTransformModal,U=e.onJSONEditorModal,W={type:"separator"};function M(){return(M=Ut(Ge().mark(function A(){return Ge().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:if(!i){G.next=3;break}return G.next=3,i.refresh();case 3:case"end":return G.stop()}},A)}))).apply(this,arguments)}return t.$$set=function(A){"content"in A&&n(0,l=A.content),"selection"in A&&n(1,c=A.selection),"readOnly"in A&&n(2,u=A.readOnly),"indentation"in A&&n(3,f=A.indentation),"tabSize"in A&&n(4,d=A.tabSize),"mode"in A&&n(5,h=A.mode),"mainMenuBar"in A&&n(6,p=A.mainMenuBar),"navigationBar"in A&&n(7,g=A.navigationBar),"statusBar"in A&&n(8,m=A.statusBar),"askToFormat"in A&&n(9,v=A.askToFormat),"escapeControlCharacters"in A&&n(10,b=A.escapeControlCharacters),"escapeUnicodeCharacters"in A&&n(11,w=A.escapeUnicodeCharacters),"flattenColumns"in A&&n(12,x=A.flattenColumns),"parser"in A&&n(13,k=A.parser),"parseMemoizeOne"in A&&n(14,y=A.parseMemoizeOne),"validator"in A&&n(15,j=A.validator),"validationParser"in A&&n(16,_=A.validationParser),"pathParser"in A&&n(17,$=A.pathParser),"insideModal"in A&&n(33,S=A.insideModal),"onChange"in A&&n(18,C=A.onChange),"onChangeMode"in A&&n(19,O=A.onChangeMode),"onSelect"in A&&n(20,P=A.onSelect),"onRenderValue"in A&&n(21,I=A.onRenderValue),"onClassName"in A&&n(22,J=A.onClassName),"onRenderMenu"in A&&n(34,H=A.onRenderMenu),"onError"in A&&n(23,D=A.onError),"onFocus"in A&&n(24,R=A.onFocus),"onBlur"in A&&n(25,V=A.onBlur),"onSortModal"in A&&n(26,L=A.onSortModal),"onTransformModal"in A&&n(27,E=A.onTransformModal),"onJSONEditorModal"in A&&n(28,U=A.onJSONEditorModal)},t.$$.update=function(){524320&t.$$.dirty[0]&&n(44,s=[{type:"button",text:"text",title:"Switch to text mode (current mode: ".concat(h,")"),className:"jse-group-button jse-first"+(h===go.text||h==="code"?" jse-selected":""),onClick:function(){return O(go.text)}},{type:"button",text:"tree",title:"Switch to tree mode (current mode: ".concat(h,")"),className:"jse-group-button "+(h===go.tree?" jse-selected":""),onClick:function(){return O(go.tree)}},{type:"button",text:"table",title:"Switch to table mode (current mode: ".concat(h,")"),className:"jse-group-button jse-last"+(h===go.table?" jse-selected":""),onClick:function(){return O(go.table)}}]),32&t.$$.dirty[0]|8204&t.$$.dirty[1]&&n(32,a=function(A){var G=KI(A[0])?s.concat(A):s.concat(W,A);return H(G,{mode:h,modal:S})||G})},[l,c,u,f,d,h,p,g,m,v,b,w,x,k,y,j,_,$,C,O,P,I,J,D,R,V,L,E,U,r,o,i,a,S,H,function(A){if(r)return r.patch(A);if(o)return o.patch(A);if(i)return i.patch(A);throw new Error('Method patch is not available in mode "'.concat(h,'"'))},function(A){if(r)return r.expand(A);throw new Error('Method expand is not available in mode "'.concat(h,'"'))},function(A){if(i)i.openTransformModal(A);else if(r)r.openTransformModal(A);else{if(!o)throw new Error('Method transform is not available in mode "'.concat(h,'"'));o.openTransformModal(A)}},function(){if(i)return i.validate();if(r)return r.validate();if(o)return o.validate();throw new Error('Method validate is not available in mode "'.concat(h,'"'))},function(){return r?r.acceptAutoRepair():l},function(A){if(r)return r.scrollTo(A);if(o)return o.scrollTo(A);throw new Error('Method scrollTo is not available in mode "'.concat(h,'"'))},function(A){if(r)return r.findElement(A);if(o)return o.findElement(A);throw new Error('Method findElement is not available in mode "'.concat(h,'"'))},function(){i?i.focus():r?r.focus():o&&o.focus()},function(){return M.apply(this,arguments)},s,function(A){fn[A?"unshift":"push"](function(){n(31,i=A)})},function(A){fn[A?"unshift":"push"](function(){n(30,o=A)})},function(A){fn[A?"unshift":"push"](function(){n(29,r=A)})}]}var m9=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,xke,wke,Yr,{content:0,selection:1,readOnly:2,indentation:3,tabSize:4,mode:5,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,parseMemoizeOne:14,validator:15,validationParser:16,pathParser:17,insideModal:33,onChange:18,onChangeMode:19,onSelect:20,onRenderValue:21,onClassName:22,onRenderMenu:34,onError:23,onFocus:24,onBlur:25,onSortModal:26,onTransformModal:27,onJSONEditorModal:28,patch:35,expand:36,transform:37,validate:38,acceptAutoRepair:39,scrollTo:40,findElement:41,focus:42,refresh:43},null,[-1,-1]),o}return lt(n,[{key:"patch",get:function(){return this.$$.ctx[35]}},{key:"expand",get:function(){return this.$$.ctx[36]}},{key:"transform",get:function(){return this.$$.ctx[37]}},{key:"validate",get:function(){return this.$$.ctx[38]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[39]}},{key:"scrollTo",get:function(){return this.$$.ctx[40]}},{key:"findElement",get:function(){return this.$$.ctx[41]}},{key:"focus",get:function(){return this.$$.ctx[42]}},{key:"refresh",get:function(){return this.$$.ctx[43]}}]),n}();function kke(t){qt(t,"svelte-1m3nfgb",'.jse-modal.svelte-1m3nfgb.svelte-1m3nfgb{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;background:var(--jse-modal-background, #f5f5f5);color:var(--jse-text-color, #4d4d4d)}.jse-modal.svelte-1m3nfgb .svelte-select{--border:var(--jse-svelte-select-border, 1px solid #d8dbdf);--item-is-active-bg:var(--jse-item-is-active-bg, #3883fa);--border-radius:var(--jse-svelte-select-border-radius, 3px);--background:var(--jse-svelte-select-background, #fff);--padding:var(--jse-svelte-select-padding, 0 10px);--multi-select-padding:var(--jse-svelte-select-multi-select-padding, 0 10px);--font-size:var(--jse-svelte-select-font-size, var(--jse-font-size, 16px));--height:36px;--multi-item-height:28px;--multi-item-margin:2px;--multi-item-padding:2px 8px;--multi-item-border-radius:6px;--indicator-top:8px}.jse-modal.svelte-1m3nfgb .jse-modal-contents.svelte-1m3nfgb{flex:1;display:flex;flex-direction:column;padding:20px;overflow:auto;min-width:0;min-height:0}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions.svelte-1m3nfgb{display:flex;flex-direction:row;justify-content:flex-end;padding-top:var(--jse-padding, 10px)}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-primary-background, var(--jse-theme-color, #3883fa));color:var(--jse-button-primary-color, #fff);padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb:hover{background:var(--jse-button-primary-background-highlight, var(--jse-theme-color-highlight, #5f9dff))}.jse-modal.svelte-1m3nfgb .jse-modal-contents .jse-actions button.jse-primary.svelte-1m3nfgb:disabled{background:var(--jse-button-primary-background-disabled, #9d9d9d)}.bg.jse-modal-bg{width:100%;height:100%;top:0;left:0;background:var(--jse-overlay-background, rgba(0, 0, 0, 0.3))}.bg.jse-modal-bg .jse-modal-window-wrap{margin:0}.bg.jse-modal-bg .jse-modal-window{max-width:90%;margin:4rem auto 2rem auto;border-radius:2px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-sort{width:400px}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-transform{width:1200px;height:1200px;max-height:80%;display:flex}.bg.jse-modal-bg .jse-modal-window.jse-modal-window-jsoneditor{width:800px;height:auto;min-height:500px;max-height:calc(100vh - 6rem);display:flex}.bg.jse-modal-bg .jse-modal-container{flex:1;display:flex;flex-direction:column;padding:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents.svelte-1m3nfgb{padding-top:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label.svelte-1m3nfgb{font-weight:bold;display:block;box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label .jse-label-inner.svelte-1m3nfgb{margin-top:calc(2 * var(--jse-padding, 10px));margin-bottom:calc(0.5 * var(--jse-padding, 10px));box-sizing:border-box}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-label .jse-label-inner button.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;font-weight:bold;padding:0}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-modal-contents .jse-modal-inline-editor.svelte-1m3nfgb{flex:1;min-height:150px;min-width:0;display:flex;--jse-theme-color:var(--jse-modal-editor-theme-color, var(--jse-modal-theme-color, #707070));--jse-theme-color-highlight:var(--jse-modal-editor-theme-color-highlight, var(--jse-modal-theme-color-highlight, #646464))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions.svelte-1m3nfgb{gap:var(--jse-padding, 10px);align-items:center}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions .jse-error.svelte-1m3nfgb{flex:1;color:var(--jse-error-color, #ee5341)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb{border:none;background:transparent;color:inherit;cursor:pointer;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);padding:5px;margin:0;background:var(--jse-button-secondary-background, #d3d3d3);color:var(--jse-button-secondary-color, var(--jse-text-color, #4d4d4d));padding:var(--jse-padding, 10px) calc(2 * var(--jse-padding, 10px));border-radius:3px}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb:hover{background:var(--jse-button-secondary-background-highlight, #e1e1e1)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb .jse-actions button.jse-secondary.svelte-1m3nfgb:disabled{background:var(--jse-button-secondary-background-disabled, #9d9d9d)}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb{border:var(--jse-input-border, 1px solid #d8dbdf);outline:none;box-sizing:border-box;padding:calc(0.5 * var(--jse-padding, 10px));font-family:var(--jse-font-family-mono, consolas, menlo, monaco, "Ubuntu Mono", "source-code-pro", monospace);font-size:var(--jse-font-size-mono, 14px);color:inherit;background:var(--jse-input-background, var(--jse-background-color, #fff))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb:focus{border:var(--jse-input-border-focus, 1px solid var(--jse-input-border-focus, var(--jse-theme-color, #3883fa)))}.jse-modal.jse-jsoneditor-modal.svelte-1m3nfgb input.svelte-1m3nfgb:read-only{background:var(--jse-input-background-readonly, transparent)}')}function bO(t){var e,n;return{c:function(){e=Q("div"),n=Ze(t[21]),T(e,"class","jse-error svelte-1m3nfgb")},m:function(r,o){ie(r,e,o),q(e,n)},p:function(r,o){2097152&o[0]&&Tt(n,r[21])},d:function(r){r&&oe(e)}}}function wO(t){var e,n,r,o,i,s;return n=new kn({props:{data:Kie}}),{c:function(){e=Q("button"),Pe(n.$$.fragment),r=Ze(" Back"),T(e,"type","button"),T(e,"class","jse-secondary svelte-1m3nfgb")},m:function(a,l){ie(a,e,l),Te(n,e,null),q(e,r),o=!0,i||(s=De(e,"click",t[26]),i=!0)},p:Ve,i:function(a){o||(N(n.$$.fragment,a),o=!0)},o:function(a){F(n.$$.fragment,a),o=!1},d:function(a){a&&oe(e),Ae(n),i=!1,s()}}}function jke(t){var e,n,r;return{c:function(){(e=Q("button")).textContent="Close",T(e,"type","button"),T(e,"class","jse-primary svelte-1m3nfgb")},m:function(o,i){ie(o,e,i),n||(r=[De(e,"click",t[26]),so(g9.call(null,e))],n=!0)},p:Ve,d:function(o){o&&oe(e),n=!1,Wn(r)}}}function Ske(t){var e,n,r;return{c:function(){(e=Q("button")).textContent="Apply",T(e,"type","button"),T(e,"class","jse-primary svelte-1m3nfgb")},m:function(o,i){ie(o,e,i),n||(r=[De(e,"click",t[25]),so(g9.call(null,e))],n=!0)},p:Ve,d:function(o){o&&oe(e),n=!1,Wn(r)}}}function $ke(t){var e,n,r,o,i,s,a,l,c,u,f,d,h,p,g,m,v,b,w;n=new eS({props:{title:"Edit nested content "+(t[19].length>1?" (".concat(t[19].length,")"):""),onClose:t[26]}});var x={mode:t[22].mode,content:t[22].content,selection:t[22].selection,readOnly:t[0],indentation:t[1],tabSize:t[2],statusBar:t[5],askToFormat:t[6],mainMenuBar:t[3],navigationBar:t[4],escapeControlCharacters:t[7],escapeUnicodeCharacters:t[8],flattenColumns:t[9],parser:t[10],parseMemoizeOne:t[23],validator:t[11],validationParser:t[12],pathParser:t[13],insideModal:!0,onError:t[30],onChange:t[27],onChangeMode:t[29],onSelect:t[28],onRenderValue:t[14],onClassName:t[15],onFocus:Vi,onBlur:Vi,onRenderMenu:t[16],onSortModal:t[17],onTransformModal:t[18],onJSONEditorModal:t[31]};d=new m9({props:x}),t[36](d);var k=t[21]&&bO(t),y=t[19].length>1&&wO(t);function j(S,C){return S[0]?jke:Ske}var _=j(t),$=_(t);return{c:function(){e=Q("div"),Pe(n.$$.fragment),r=ge(),o=Q("div"),(i=Q("div")).innerHTML='<div class="jse-label-inner svelte-1m3nfgb">Path</div>',s=ge(),a=Q("input"),l=ge(),(c=Q("div")).innerHTML='<div class="jse-label-inner svelte-1m3nfgb">Contents</div>',u=ge(),f=Q("div"),Pe(d.$$.fragment),h=ge(),p=Q("div"),k&&k.c(),g=ge(),y&&y.c(),m=ge(),$.c(),T(i,"class","jse-label svelte-1m3nfgb"),T(a,"class","jse-path svelte-1m3nfgb"),T(a,"type","text"),a.readOnly=!0,T(a,"title","Selected path"),a.value=t[24],T(c,"class","jse-label svelte-1m3nfgb"),T(f,"class","jse-modal-inline-editor svelte-1m3nfgb"),T(p,"class","jse-actions svelte-1m3nfgb"),T(o,"class","jse-modal-contents svelte-1m3nfgb"),T(e,"class","jse-modal jse-jsoneditor-modal svelte-1m3nfgb")},m:function(S,C){ie(S,e,C),Te(n,e,null),q(e,r),q(e,o),q(o,i),q(o,s),q(o,a),q(o,l),q(o,c),q(o,u),q(o,f),Te(d,f,null),q(o,h),q(o,p),k&&k.m(p,null),q(p,g),y&&y.m(p,null),q(p,m),$.m(p,null),v=!0,b||(w=so(j1.call(null,e,t[26])),b=!0)},p:function(S,C){var O={};524288&C[0]&&(O.title="Edit nested content "+(S[19].length>1?" (".concat(S[19].length,")"):"")),n.$set(O),(!v||16777216&C[0]&&a.value!==S[24])&&(a.value=S[24]);var P={};4194304&C[0]&&(P.mode=S[22].mode),4194304&C[0]&&(P.content=S[22].content),4194304&C[0]&&(P.selection=S[22].selection),1&C[0]&&(P.readOnly=S[0]),2&C[0]&&(P.indentation=S[1]),4&C[0]&&(P.tabSize=S[2]),32&C[0]&&(P.statusBar=S[5]),64&C[0]&&(P.askToFormat=S[6]),8&C[0]&&(P.mainMenuBar=S[3]),16&C[0]&&(P.navigationBar=S[4]),128&C[0]&&(P.escapeControlCharacters=S[7]),256&C[0]&&(P.escapeUnicodeCharacters=S[8]),512&C[0]&&(P.flattenColumns=S[9]),1024&C[0]&&(P.parser=S[10]),8388608&C[0]&&(P.parseMemoizeOne=S[23]),2048&C[0]&&(P.validator=S[11]),4096&C[0]&&(P.validationParser=S[12]),8192&C[0]&&(P.pathParser=S[13]),16384&C[0]&&(P.onRenderValue=S[14]),32768&C[0]&&(P.onClassName=S[15]),65536&C[0]&&(P.onRenderMenu=S[16]),131072&C[0]&&(P.onSortModal=S[17]),262144&C[0]&&(P.onTransformModal=S[18]),d.$set(P),S[21]?k?k.p(S,C):((k=bO(S)).c(),k.m(p,g)):k&&(k.d(1),k=null),S[19].length>1?y?(y.p(S,C),524288&C[0]&&N(y,1)):((y=wO(S)).c(),N(y,1),y.m(p,m)):y&&(Fe(),F(y,1,1,function(){y=null}),qe()),_===(_=j(S))&&$?$.p(S,C):($.d(1),($=_(S))&&($.c(),$.m(p,null)))},i:function(S){v||(N(n.$$.fragment,S),N(d.$$.fragment,S),N(y),v=!0)},o:function(S){F(n.$$.fragment,S),F(d.$$.fragment,S),F(y),v=!1},d:function(S){S&&oe(e),Ae(n),t[36](null),Ae(d),k&&k.d(),y&&y.d(),$.d(),b=!1,w()}}}function g9(t){t.focus()}function _ke(t,e,n){var r,o,i,s,a,l=lo("jsoneditor:JSONEditorModal"),c=e.content,u=e.path,f=e.onPatch,d=e.readOnly,h=e.indentation,p=e.tabSize,g=e.mainMenuBar,m=e.navigationBar,v=e.statusBar,b=e.askToFormat,w=e.escapeControlCharacters,x=e.escapeUnicodeCharacters,k=e.flattenColumns,y=e.parser,j=e.validator,_=e.validationParser,$=e.pathParser,S=e.onRenderValue,C=e.onClassName,O=e.onRenderMenu,P=e.onSortModal,I=e.onTransformModal,J=ao("simple-modal").close,H={mode:V(c),content:c,selection:null,relativePath:u},D=[H],R=void 0;function V(E){return qj(E)&&Gn(E.json)?go.table:go.tree}function L(){var E,U=((E=mn(D))===null||E===void 0?void 0:E.selection)||null;U&&a.scrollTo(_t(U))}return t.$$set=function(E){"content"in E&&n(32,c=E.content),"path"in E&&n(33,u=E.path),"onPatch"in E&&n(34,f=E.onPatch),"readOnly"in E&&n(0,d=E.readOnly),"indentation"in E&&n(1,h=E.indentation),"tabSize"in E&&n(2,p=E.tabSize),"mainMenuBar"in E&&n(3,g=E.mainMenuBar),"navigationBar"in E&&n(4,m=E.navigationBar),"statusBar"in E&&n(5,v=E.statusBar),"askToFormat"in E&&n(6,b=E.askToFormat),"escapeControlCharacters"in E&&n(7,w=E.escapeControlCharacters),"escapeUnicodeCharacters"in E&&n(8,x=E.escapeUnicodeCharacters),"flattenColumns"in E&&n(9,k=E.flattenColumns),"parser"in E&&n(10,y=E.parser),"validator"in E&&n(11,j=E.validator),"validationParser"in E&&n(12,_=E.validationParser),"pathParser"in E&&n(13,$=E.pathParser),"onRenderValue"in E&&n(14,S=E.onRenderValue),"onClassName"in E&&n(15,C=E.onClassName),"onRenderMenu"in E&&n(16,O=E.onRenderMenu),"onSortModal"in E&&n(17,P=E.onSortModal),"onTransformModal"in E&&n(18,I=E.onTransformModal)},t.$$.update=function(){524288&t.$$.dirty[0]&&n(22,r=mn(D)||H),524288&t.$$.dirty[0]&&n(35,o=D.flatMap(function(E){return E.relativePath})),16&t.$$.dirty[1]&&n(24,i=yn(o)?"(document root)":Ko(o)),1024&t.$$.dirty[0]&&n(23,s=ap(y.parse))},[d,h,p,g,m,v,b,w,x,k,y,j,_,$,S,C,O,P,I,D,a,R,r,s,i,function(){if(l("handleApply"),!d)try{n(21,R=void 0);var E=r.relativePath,U=r.content,W=[{op:"replace",path:it(E),value:qC(U,y).json}];if(D.length>1){var M=qC(D[D.length-2].content,y).json,A={json:ns(M,W)},G=ke(ke({},D[D.length-2]||H),{},{content:A});n(19,D=[].concat(rn(D.slice(0,D.length-2)),[G])),Tr().then(L)}else f(W),J()}catch(ee){n(21,R=String(ee))}},function(){l("handleClose"),D.length>1?(n(19,D=gn(D)),Tr().then(L),n(21,R=void 0)):J()},function(E){l("handleChange",E);var U=ke(ke({},r),{},{content:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){l("handleChangeSelection",E);var U=ke(ke({},r),{},{selection:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){l("handleChangeMode",E);var U=ke(ke({},r),{},{mode:E});n(19,D=[].concat(rn(gn(D)),[U]))},function(E){n(21,R=E.toString()),console.error(E)},function(E){var U=E.content,W=E.path;l("handleJSONEditorModal",{content:U,path:W});var M={mode:V(U),content:U,selection:null,relativePath:W};n(19,D=[].concat(rn(D),[M]))},c,u,f,o,function(E){fn[E?"unshift":"push"](function(){n(20,a=E)})}]}var Cke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,_ke,$ke,Gt,{content:32,path:33,onPatch:34,readOnly:0,indentation:1,tabSize:2,mainMenuBar:3,navigationBar:4,statusBar:5,askToFormat:6,escapeControlCharacters:7,escapeUnicodeCharacters:8,flattenColumns:9,parser:10,validator:11,validationParser:12,pathParser:13,onRenderValue:14,onClassName:15,onRenderMenu:16,onSortModal:17,onTransformModal:18},kke,[-1,-1]),o}return lt(n)}();function Oke(t,e,n){var r=ao("simple-modal");return[r.open,r.close]}var Tke=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,Oke,null,Gt,{open:0,close:1}),o}return lt(n,[{key:"open",get:function(){return this.$$.ctx[0]}},{key:"close",get:function(){return this.$$.ctx[1]}}]),n}();function Ake(t){qt(t,"svelte-ybuk0j",'.jse-main.svelte-ybuk0j{width:100%;height:100%;min-width:0;min-height:150px;font-family:var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);font-size:var(--jse-font-size, 16px);line-height:normal;position:relative;display:flex;flex-direction:row}')}function xO(t){var e,n,r={mode:t[1],content:t[0],selection:t[2],readOnly:t[3],indentation:t[4],tabSize:t[5],statusBar:t[8],askToFormat:t[9],mainMenuBar:t[6],navigationBar:t[7],escapeControlCharacters:t[10],escapeUnicodeCharacters:t[11],flattenColumns:t[12],parser:t[13],parseMemoizeOne:t[26],validator:t[14],validationParser:t[15],pathParser:t[16],insideModal:!1,onError:t[20],onChange:t[27],onChangeMode:t[31],onSelect:t[28],onRenderValue:t[17],onClassName:t[18],onFocus:t[29],onBlur:t[30],onRenderMenu:t[19],onSortModal:t[33],onTransformModal:t[32],onJSONEditorModal:t[34]};return e=new m9({props:r}),t[61](e),{c:function(){Pe(e.$$.fragment)},m:function(o,i){Te(e,o,i),n=!0},p:function(o,i){var s={};2&i[0]&&(s.mode=o[1]),1&i[0]&&(s.content=o[0]),4&i[0]&&(s.selection=o[2]),8&i[0]&&(s.readOnly=o[3]),16&i[0]&&(s.indentation=o[4]),32&i[0]&&(s.tabSize=o[5]),256&i[0]&&(s.statusBar=o[8]),512&i[0]&&(s.askToFormat=o[9]),64&i[0]&&(s.mainMenuBar=o[6]),128&i[0]&&(s.navigationBar=o[7]),1024&i[0]&&(s.escapeControlCharacters=o[10]),2048&i[0]&&(s.escapeUnicodeCharacters=o[11]),4096&i[0]&&(s.flattenColumns=o[12]),8192&i[0]&&(s.parser=o[13]),67108864&i[0]&&(s.parseMemoizeOne=o[26]),16384&i[0]&&(s.validator=o[14]),32768&i[0]&&(s.validationParser=o[15]),65536&i[0]&&(s.pathParser=o[16]),1048576&i[0]&&(s.onError=o[20]),131072&i[0]&&(s.onRenderValue=o[17]),262144&i[0]&&(s.onClassName=o[18]),524288&i[0]&&(s.onRenderMenu=o[19]),e.$set(s)},i:function(o){n||(N(e.$$.fragment,o),n=!0)},o:function(o){F(e.$$.fragment,o),n=!1},d:function(o){t[61](null),Ae(e,o)}}}function Pke(t){var e,n,r,o,i,s=t[21];function a(u){t[60](u)}var l={};t[24]!==void 0&&(l.open=t[24]),e=new Tke({props:l}),fn.push(function(){return Qi(e,"open",a)});var c=xO(t);return{c:function(){Pe(e.$$.fragment),r=ge(),o=Q("div"),c.c(),T(o,"class","jse-main svelte-ybuk0j"),Re(o,"jse-focus",t[22])},m:function(u,f){Te(e,u,f),ie(u,r,f),ie(u,o,f),c.m(o,null),i=!0},p:function(u,f){var d={};!n&&16777216&f[0]&&(n=!0,d.open=u[24],Gi(function(){return n=!1})),e.$set(d),2097152&f[0]&&Gt(s,s=u[21])?(Fe(),F(c,1,1,Ve),qe(),(c=xO(u)).c(),N(c,1),c.m(o,null)):c.p(u,f),(!i||4194304&f[0])&&Re(o,"jse-focus",u[22])},i:function(u){i||(N(e.$$.fragment,u),N(c),i=!0)},o:function(u){F(e.$$.fragment,u),F(c),i=!1},d:function(u){u&&(oe(r),oe(o)),Ae(e,u),c.d(u)}}}function Eke(t){var e,n;return e=new nI({props:{closeOnEsc:!1,$$slots:{default:[Pke]},$$scope:{ctx:t}}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};100663295&o[0]|4&o[2]&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function Nke(t){for(var e,n,r,o=[{show:(e=t[25])===null||e===void 0?void 0:e.component},Vve,{closeOnEsc:!1}],i={$$slots:{default:[Eke]},$$scope:{ctx:t}},s=0;s<o.length;s+=1)i=Xo(i,o[s]);return(n=new nI({props:i})).$on("close",t[35]),{c:function(){Pe(n.$$.fragment)},m:function(a,l){Te(n,a,l),r=!0},p:function(a,l){var c,u=33554432&l[0]?Mi(o,[{show:(c=a[25])===null||c===void 0?void 0:c.component},o[1],o[2]]):{};100663295&l[0]|4&l[2]&&(u.$$scope={dirty:l,ctx:a}),n.$set(u)},i:function(a){r||(N(n.$$.fragment,a),r=!0)},o:function(a){F(n.$$.fragment,a),r=!1},d:function(a){Ae(n,a)}}}function Mke(t){var e,n;return e=new wI({props:{$$slots:{default:[Nke]},$$scope:{ctx:t}}}),{c:function(){Pe(e.$$.fragment)},m:function(r,o){Te(e,r,o),n=!0},p:function(r,o){var i={};134217727&o[0]|4&o[2]&&(i.$$scope={dirty:o,ctx:r}),e.$set(i)},i:function(r){n||(N(e.$$.fragment,r),n=!0)},o:function(r){F(e.$$.fragment,r),n=!1},d:function(r){Ae(e,r)}}}function Rke(t,e,n){var r,o,i,s=lo("jsoneditor:JSONEditor"),a=e.content,l=a===void 0?{text:""}:a,c=e.selection,u=c===void 0?null:c,f=e.readOnly,d=f!==void 0&&f,h=e.indentation,p=h===void 0?2:h,g=e.tabSize,m=g===void 0?4:g,v=e.mode,b=v===void 0?go.tree:v,w=e.mainMenuBar,x=w===void 0||w,k=e.navigationBar,y=k===void 0||k,j=e.statusBar,_=j===void 0||j,$=e.askToFormat,S=$===void 0||$,C=e.escapeControlCharacters,O=C!==void 0&&C,P=e.escapeUnicodeCharacters,I=P!==void 0&&P,J=e.flattenColumns,H=J===void 0||J,D=e.parser,R=D===void 0?JSON:D,V=e.validator,L=V===void 0?null:V,E=e.validationParser,U=E===void 0?JSON:E,W=e.pathParser,M=W===void 0?{parse:b0e,stringify:Ko}:W,A=e.queryLanguages,G=A===void 0?[k0e]:A,ee=e.queryLanguageId,be=ee===void 0?G[0].id:ee,we=e.onChangeQueryLanguage,Se=we===void 0?Vi:we,he=e.onChange,Z=he===void 0?null:he,te=e.onSelect,fe=te===void 0?Vi:te,K=e.onRenderValue,me=K===void 0?k1e:K,Ee=e.onClassName,se=Ee===void 0?function(){}:Ee,le=e.onRenderMenu,Me=le===void 0?Vi:le,Oe=e.onChangeMode,Je=Oe===void 0?Vi:Oe,ue=e.onError,ve=ue===void 0?function(ye){console.error(ye),alert(ye.toString())}:ue,We=e.onFocus,B=We===void 0?Vi:We,Y=e.onBlur,re=Y===void 0?Vi:Y,pe=Qd(),$e=!1,Le=null,gt=R;function rt(){return(rt=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(s("set"),!(tt=Iy(et))){Zt.next=4;break}throw new Error(tt);case 4:return n(21,pe=Qd()),Zt.next=7,Tr();case 7:n(0,l=et);case 8:case"end":return Zt.stop()}},ye)}))).apply(this,arguments)}function an(){return(an=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(s("update"),!(tt=Iy(et))){Zt.next=4;break}throw new Error(tt);case 4:return n(0,l=et),Zt.next=7,Tr();case 7:case"end":return Zt.stop()}},ye)}))).apply(this,arguments)}function Dt(){return(Dt=Ut(Ge().mark(function ye(et){var tt;return Ge().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:if(!kf(l)){Zt.next=8;break}Zt.prev=1,n(0,l={json:R.parse(l.text),text:void 0}),Zt.next=8;break;case 5:throw Zt.prev=5,Zt.t0=Zt.catch(1),new Error("Cannot apply patch: current document contains invalid JSON");case 8:return tt=o.patch(et),Zt.next=11,Tr();case 11:return Zt.abrupt("return",tt);case 12:case"end":return Zt.stop()}},ye,null,[[1,5]])}))).apply(this,arguments)}function Bt(){return(Bt=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return n(2,u=et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function ot(){return(ot=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return o.expand(et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function Pn(){return Pn=Ut(Ge().mark(function ye(){var et;return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return et=o.acceptAutoRepair(),tt.next=3,Tr();case 3:return tt.abrupt("return",et);case 4:case"end":return tt.stop()}},ye)})),Pn.apply(this,arguments)}function Zn(){return(Zn=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return tt.next=2,o.scrollTo(et);case 2:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function En(){return Bn.apply(this,arguments)}function Bn(){return(Bn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return o.focus(),et.next=3,Tr();case 3:case"end":return et.stop()}},ye)}))).apply(this,arguments)}function Xn(){return(Xn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return et.next=2,o.refresh();case 2:case"end":return et.stop()}},ye)}))).apply(this,arguments)}function fr(){return(fr=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:return this.$set(et),tt.next=3,Tr();case 3:case"end":return tt.stop()}},ye,this)}))).apply(this,arguments)}function Cn(){return(Cn=Ut(Ge().mark(function ye(){return Ge().wrap(function(et){for(;;)switch(et.prev=et.next){case 0:return this.$destroy(),et.next=3,Tr();case 3:case"end":return et.stop()}},ye,this)}))).apply(this,arguments)}function Ce(){return(Ce=Ut(Ge().mark(function ye(et){return Ge().wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(b!==et){tt.next=2;break}return tt.abrupt("return");case 2:return n(1,b=et),tt.next=5,Tr();case 5:return tt.next=7,En();case 7:Je(et);case 8:case"end":return tt.stop()}},ye)}))).apply(this,arguments)}function st(ye){s("handleChangeQueryLanguage",ye),n(36,be=ye),Se(ye)}function Xt(ye){var et=ye.id,tt=ye.json,Zt=ye.rootPath,tn=ye.onTransform,z=ye.onClose;d||i(n2e,{id:et,json:tt,rootPath:Zt,indentation:p,escapeControlCharacters:O,escapeUnicodeCharacters:I,parser:R,parseMemoizeOne:r,validationParser:U,pathParser:M,queryLanguages:G,queryLanguageId:be,onChangeQueryLanguage:st,onRenderValue:me,onClassName:se,onTransform:tn},Hve,{onClose:z})}function Qt(ye){var et=ye.id,tt=ye.json,Zt=ye.rootPath,tn=ye.onSort,z=ye.onClose;d||i(a2e,{id:et,json:tt,rootPath:Zt,onSort:tn},qve,{onClose:z})}return t.$$set=function(ye){"content"in ye&&n(0,l=ye.content),"selection"in ye&&n(2,u=ye.selection),"readOnly"in ye&&n(3,d=ye.readOnly),"indentation"in ye&&n(4,p=ye.indentation),"tabSize"in ye&&n(5,m=ye.tabSize),"mode"in ye&&n(1,b=ye.mode),"mainMenuBar"in ye&&n(6,x=ye.mainMenuBar),"navigationBar"in ye&&n(7,y=ye.navigationBar),"statusBar"in ye&&n(8,_=ye.statusBar),"askToFormat"in ye&&n(9,S=ye.askToFormat),"escapeControlCharacters"in ye&&n(10,O=ye.escapeControlCharacters),"escapeUnicodeCharacters"in ye&&n(11,I=ye.escapeUnicodeCharacters),"flattenColumns"in ye&&n(12,H=ye.flattenColumns),"parser"in ye&&n(13,R=ye.parser),"validator"in ye&&n(14,L=ye.validator),"validationParser"in ye&&n(15,U=ye.validationParser),"pathParser"in ye&&n(16,M=ye.pathParser),"queryLanguages"in ye&&n(37,G=ye.queryLanguages),"queryLanguageId"in ye&&n(36,be=ye.queryLanguageId),"onChangeQueryLanguage"in ye&&n(38,Se=ye.onChangeQueryLanguage),"onChange"in ye&&n(39,Z=ye.onChange),"onSelect"in ye&&n(40,fe=ye.onSelect),"onRenderValue"in ye&&n(17,me=ye.onRenderValue),"onClassName"in ye&&n(18,se=ye.onClassName),"onRenderMenu"in ye&&n(19,Me=ye.onRenderMenu),"onChangeMode"in ye&&n(41,Je=ye.onChangeMode),"onError"in ye&&n(20,ve=ye.onError),"onFocus"in ye&&n(42,B=ye.onFocus),"onBlur"in ye&&n(43,re=ye.onBlur)},t.$$.update=function(){if(8193&t.$$.dirty[0]|268435456&t.$$.dirty[1]&&(r0e(R,gt)||(s("parser changed, recreate editor"),qj(l)&&n(0,l={json:R.parse(gt.stringify(l.json))}),n(59,gt=R),n(21,pe=Qd()))),1&t.$$.dirty[0]){var ye=Iy(l);ye&&console.error("Error: "+ye)}8192&t.$$.dirty[0]&&n(26,r=ap(R.parse)),2&t.$$.dirty[0]&&(s("mode changed to",b),b==="code"&&console.warn('Deprecation warning: "code" mode is renamed to "text". Please use mode="text" instead.'))},[l,b,u,d,p,m,x,y,_,S,O,I,H,R,L,U,M,me,se,Me,ve,pe,$e,o,i,Le,r,function(ye,et,tt){n(0,l=ye),Z&&Z(ye,et,tt)},function(ye){n(2,u=ye),fe(ye)},function(){n(22,$e=!0),B&&B()},function(){n(22,$e=!1),re&&re()},function(ye){return Ce.apply(this,arguments)},Xt,Qt,function(ye){var et=ye.content,tt=ye.path,Zt=ye.onPatch,tn=ye.onClose;s("onJSONEditorModal",{content:et,path:tt}),n(25,Le={component:tI(Cke,{content:et,path:tt,onPatch:Zt,readOnly:d,indentation:p,tabSize:m,mainMenuBar:x,navigationBar:y,statusBar:_,askToFormat:S,escapeControlCharacters:O,escapeUnicodeCharacters:I,flattenColumns:H,parser:R,validator:void 0,validationParser:U,pathParser:M,onRenderValue:me,onClassName:se,onRenderMenu:Me,onSortModal:Qt,onTransformModal:Xt}),callbacks:{onClose:tn}})},function(){var ye,et;(ye=Le)===null||ye===void 0||(ye=ye.callbacks)===null||ye===void 0||(et=ye.onClose)===null||et===void 0||et.call(ye),n(25,Le=null)},be,G,Se,Z,fe,Je,B,re,function(){return l},function(ye){return rt.apply(this,arguments)},function(ye){return an.apply(this,arguments)},function(ye){return Dt.apply(this,arguments)},function(ye){return Bt.apply(this,arguments)},function(ye){return ot.apply(this,arguments)},function(ye){o.transform(ye)},function(){return o.validate()},function(){return Pn.apply(this,arguments)},function(ye){return Zn.apply(this,arguments)},function(ye){return o.findElement(ye)},En,function(){return Xn.apply(this,arguments)},function(ye){return fr.apply(this,arguments)},function(){return Cn.apply(this,arguments)},gt,function(ye){n(24,i=ye)},function(ye){fn[ye?"unshift":"push"](function(){n(23,o=ye)})}]}var Ike=function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,Rke,Mke,Gt,{content:0,selection:2,readOnly:3,indentation:4,tabSize:5,mode:1,mainMenuBar:6,navigationBar:7,statusBar:8,askToFormat:9,escapeControlCharacters:10,escapeUnicodeCharacters:11,flattenColumns:12,parser:13,validator:14,validationParser:15,pathParser:16,queryLanguages:37,queryLanguageId:36,onChangeQueryLanguage:38,onChange:39,onSelect:40,onRenderValue:17,onClassName:18,onRenderMenu:19,onChangeMode:41,onError:20,onFocus:42,onBlur:43,get:44,set:45,update:46,patch:47,select:48,expand:49,transform:50,validate:51,acceptAutoRepair:52,scrollTo:53,findElement:54,focus:55,refresh:56,updateProps:57,destroy:58},Ake,[-1,-1,-1]),o}return lt(n,[{key:"get",get:function(){return this.$$.ctx[44]}},{key:"set",get:function(){return this.$$.ctx[45]}},{key:"update",get:function(){return this.$$.ctx[46]}},{key:"patch",get:function(){return this.$$.ctx[47]}},{key:"select",get:function(){return this.$$.ctx[48]}},{key:"expand",get:function(){return this.$$.ctx[49]}},{key:"transform",get:function(){return this.$$.ctx[50]}},{key:"validate",get:function(){return this.$$.ctx[51]}},{key:"acceptAutoRepair",get:function(){return this.$$.ctx[52]}},{key:"scrollTo",get:function(){return this.$$.ctx[53]}},{key:"findElement",get:function(){return this.$$.ctx[54]}},{key:"focus",get:function(){return this.$$.ctx[55]}},{key:"refresh",get:function(){return this.$$.ctx[56]}},{key:"updateProps",get:function(){return this.$$.ctx[57]}},{key:"destroy",get:function(){return this.$$.ctx[58]}}]),n}();function Lke(t){qt(t,"svelte-9wp3tj",".jse-value.jse-string.svelte-9wp3tj{color:var(--jse-value-color-string, #008000)}.jse-value.jse-object.svelte-9wp3tj,.jse-value.jse-array.svelte-9wp3tj{min-width:16px;color:var(--jse-delimiter-color, rgba(0, 0, 0, 0.38))}.jse-value.jse-number.svelte-9wp3tj{color:var(--jse-value-color-number, #ee422e)}.jse-value.jse-boolean.svelte-9wp3tj{color:var(--jse-value-color-boolean, #ff8c00)}.jse-value.jse-null.svelte-9wp3tj{color:var(--jse-value-color-null, #004ed0)}.jse-value.jse-invalid.svelte-9wp3tj{color:var(--jse-text-color, #4d4d4d)}.jse-value.jse-url.svelte-9wp3tj{color:var(--jse-value-color-url, #008000);text-decoration:underline}.jse-enum-value.svelte-9wp3tj{background:var(--jse-hover-background-color, rgba(0, 0, 0, 0.06));border:none;padding:0;font-family:inherit;font-size:inherit;cursor:pointer;outline:none}.jse-enum-value.jse-selected.svelte-9wp3tj{background:var(--jse-selection-background-color, #d3d3d3);color:inherit}.jse-enum-value.jse-value.svelte-9wp3tj:focus{color:var(--jse-text-color, #4d4d4d)}.jse-json-node.jse-selected .jse-enum-value.svelte-9wp3tj{background:transparent}")}function kO(t,e,n){var r=t.slice();return r[13]=e[n],r}function jO(t){var e,n,r,o=t[13].text+"";return{c:function(){e=Q("option"),n=Ze(o),e.__value=r=t[13].value,Us(e,e.__value)},m:function(i,s){ie(i,e,s),q(e,n)},p:function(i,s){4&s&&o!==(o=i[13].text+"")&&Tt(n,o),4&s&&r!==(r=i[13].value)&&(e.__value=r,Us(e,e.__value))},d:function(i){i&&oe(e)}}}function Dke(t){for(var e,n,r,o,i=zt(t[2]),s=[],a=0;a<i.length;a+=1)s[a]=jO(kO(t,i,a));return{c:function(){e=Q("select");for(var l=0;l<s.length;l+=1)s[l].c();T(e,"class",n=cr("jse-enum-value ".concat(Jh(t[4],t[0])))+" svelte-9wp3tj"),t[4]===void 0&&Lc(function(){return t[10].call(e)}),Re(e,"jse-selected",wn(t[1]))},m:function(l,c){ie(l,e,c);for(var u=0;u<s.length;u+=1)s[u]&&s[u].m(e,null);EC(e,t[4],!0),t[11](e),r||(o=[De(e,"change",t[10]),De(e,"change",t[5]),De(e,"mousedown",Bke)],r=!0)},p:function(l,c){var u=Ft(c,1)[0];if(4&u){var f;for(i=zt(l[2]),f=0;f<i.length;f+=1){var d=kO(l,i,f);s[f]?s[f].p(d,u):(s[f]=jO(d),s[f].c(),s[f].m(e,null))}for(;f<s.length;f+=1)s[f].d(1);s.length=i.length}17&u&&n!==(n=cr("jse-enum-value ".concat(Jh(l[4],l[0])))+" svelte-9wp3tj")&&T(e,"class",n),16&u&&EC(e,l[4]),19&u&&Re(e,"jse-selected",wn(l[1]))},i:Ve,o:Ve,d:function(l){l&&oe(e),Er(s,l),t[11](null),r=!1,Wn(o)}}}function Bke(t){t.stopPropagation()}function zke(t,e,n){var r,o=e.path,i=e.value,s=e.parser,a=e.readOnly,l=e.selection,c=e.onPatch,u=e.options,f=i;return t.$$set=function(d){"path"in d&&n(6,o=d.path),"value"in d&&n(7,i=d.value),"parser"in d&&n(0,s=d.parser),"readOnly"in d&&n(8,a=d.readOnly),"selection"in d&&n(1,l=d.selection),"onPatch"in d&&n(9,c=d.onPatch),"options"in d&&n(2,u=d.options)},t.$$.update=function(){128&t.$$.dirty&&n(4,f=i),2&t.$$.dirty&&function(d){d&&r&&r.focus()}(l)},[s,l,u,r,f,function(d){d.stopPropagation(),a||c([{op:"replace",path:it(o),value:f}])},o,i,a,c,function(){var d;d=this.querySelector(":checked"),f=d&&d.__value,n(4,f),n(7,i)},function(d){fn[d?"unshift":"push"](function(){n(3,r=d),n(2,u)})}]}(function(t){bt(n,St);var e=wt(n);function n(r){var o;return at(this,n),jt(xt(o=e.call(this)),r,zke,Dke,Gt,{path:6,value:7,parser:0,readOnly:8,selection:1,onPatch:9,options:2},Lke),o}return lt(n)})();const Fke="JsonEditorVue",Wm="modelValue",SO="update:modelValue",Um=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],v9=Qr({name:Fke,props:{[Wm]:{},mode:{type:String},...Object.fromEntries(Um.map(t=>[t,{type:Boolean,default:void 0}]))},emits:{[SO](t){return!0},"update:mode":function(t){return!0}},setup(t,{attrs:e,emit:n,expose:r}){var o;const i=(o=Aa())==null?void 0:o.proxy,s=Yt(),a=Yt(!1),l=Yt(!1),c=ip(d=>{if(l.value){l.value=!1;return}a.value=!0,n(SO,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:s}),ef(()=>{var d;(d=s.value)==null||d.destroy()}),zl(()=>{const d=hu([t.mode,jg.mode],{type:String}),h=hu([t[Wm],jg[Wm]]),p=Object.fromEntries(Array.from(Um,m=>[m,hu([t[m],jg[m]])]).filter(([,m])=>m!==void 0)),g=hu([p,e,y9,{onChange:c,onChangeMode:u,mode:d,...h!==void 0&&{content:{json:h}}}],{type:Object,mergeFunction:f});s.value=new Ike({target:i==null?void 0:i.$refs.jsonEditorRef,props:g}),br(()=>t[Wm],m=>{if(a.value){a.value=!1;return}s.value&&(l.value=!0,s.value.set([void 0,""].includes(m)?{text:""}:{json:m}))},{deep:!0}),br(()=>t.mode,m=>{var v;(v=s.value)==null||v.updateProps({mode:m})}),br(()=>Array.from(Um,m=>t[m]),m=>{var v;(v=s.value)==null||v.updateProps(Object.fromEntries(Array.from(m,(b,w)=>[Um[w],b]).filter(([,b])=>b!==void 0)))}),br(()=>e,m=>{var v;const b={};m.onChange&&(b.onChange=c),m.onChangeMode&&(b.onChangeMode=u),(v=s.value)==null||v.updateProps(Object.getOwnPropertyNames(b).length>0?hu([m,b],{type:Object,mergeFunction:f}):m)},{deep:!0}),r||(r=m=>{for(const v in m)i[v]=Ne(m[v])},r({jsonEditor:s}))}),()=>_l("div",{ref:"jsonEditorRef"})}}),jg={},y9={};function qke(t){return t.install=(e,n={})=>{const{props:r,attrs:o}=cK(n,{props:v9.props});Object.assign(jg,r),Object.assign(y9,o),e.component(t.name,t)},t}const Hke=qke(v9);const Vke={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 s=[e,e+1],a=this.panes[s[0]]||null,l=this.panes[s[1]]||null;const c=a.max<100&&i>=a.max+n.prevPanesSize,u=l.max<100&&i<=100-(l.max+this.sumNextPanesSize(e+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(e+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,i);if(!f)return;({sums:n,panesToResize:s}=f),a=this.panes[s[0]]||null,l=this.panes[s[1]]||null}a!==null&&(a.size=Math.min(Math.max(i-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-i-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.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(s=>{r-=s.size,s.size>=s.max&&o.push(s.id),s.size<=s.min&&i.push(s.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(s=>{t&&t.givenSize!==null&&t.id===s.id||(s.size=Math.max(Math.min(n,s.max),s.min)),r-=s.size,s.size>=s.max&&o.push(s.id),s.size<=s.min&&i.push(s.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 s=Math.max(Math.min(o.size+r,o.max),o.min),a=s-o.size;t-=a,o.size=s}else if(!n.includes(o.id)){const s=Math.max(Math.min(o.size+r,o.max),o.min),a=s-o.size;t-=a,o.size=s}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 _l("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},Wke=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Uke={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 Jke(t,e,n,r,o,i){return Ye(),It("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=s=>i.onPaneClick(s,t._.uid)),style:ui(t.style)},[Yn(t.$slots,"default")],4)}const $O=Wke(Uke,[["render",Jke]]),Gke="3.0.0-rc.7";function _O(t){return["url","extension","width","height","fonts","alt","props","renderer","html","component","renderer","emojis","_query","satori","resvg","sharp","screenshot","cacheMaxAgeSeconds"].includes(t)}function Qke(t,e=[]){t=t||{};const n=Fg(t.props,Object.fromEntries(Object.entries({...t}).filter(([o])=>!_O(o)&&!e.includes(o)))),r={};return Object.entries(n).forEach(([o,i])=>{r[o.replace(/-([a-z])/g,s=>s[1].toUpperCase())]=i}),{...Object.fromEntries(Object.entries({...t}).filter(([o])=>_O(o)||e.includes(o))),props:r}}const Yke={class:"relative n-bg-base flex flex-col"},Xke={class:"sticky top-0 z-2 px-4 pt-4"},Kke={class:"flex justify-between items-start",mb2:""},Zke={class:"flex space-x-5"},eje={"text-xl":"",flex:"","items-center":"","gap-2":""},tje={class:"flex items-center space-x-3 text-xl"},nje={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},rje={class:"px-5 py-2"},oje={"text-lg":"",flex:"","items-center":""},ije={class:"px-5 py-2"},sje={"text-lg":"",flex:"","items-center":""},aje={class:"px-5 py-2"},lje={"text-lg":"",flex:"","items-center":""},cje={class:"px-5 py-2"},uje={"text-lg":"",flex:"","items-center":""},fje=["value","title"],dje={class:"items-center space-x-3 hidden lg:flex"},hje={class:"opacity-80 text-sm"},pje={class:"opacity-80 text-sm"},mje={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},gje=ze("span",{class:"hidden sm:block"},"Nuxt",-1),vje=ze("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),yje={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},bje={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},wje={key:0,class:"h-full relative max-h-full"},xje={key:0},kje={key:0},jje={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},Sje={class:""},$je={class:"text-2xl font-semibold mb-3"},_je=ze("code",null,"defineOgImage()",-1),Cje={class:"text-lg opacity-80 my-3"},Oje=ze("code",null,"defineOgImage()",-1),Tje=ze("p",{class:"text-lg opacity-80"},[ze("a",{href:"https://nuxtseo.com/og-image/getting-started/your-first-image",target:"_blank",class:"underline"}," Learn more ")],-1),Aje={key:1},Pje={class:"flex justify-between items-center text-sm w-full absolute pr-[30px] top-0 left-0"},Eje={class:"flex items-center text-lg space-x-1 w-[100px]"},Nje={class:"text-xs"},Mje=ze("span",{class:"underline"},"View source",-1),Rje={key:1},Ije={class:"flex items-center w-[100px]"},Lje={key:0,class:"n-icon carbon:side-panel-open"},Dje={key:1,class:"n-icon carbon:open-panel-right"},Bje=["src"],zje={key:2,class:"w-full h-full"},Fje={key:3,class:"mt-3 text-sm opacity-50 absolute bottom-3"},qje={key:0,class:"text-sm p-2 opacity-80"},Hje=ze("code",null,"defineOgImage",-1),Vje={class:"opacity-80 text-base mb-1"},Wje={class:"flex space-between"},Uje={class:"flex flex-grow items-center space-x-2 text-sm"},Jje={key:0,class:"flex items-center text-sm space-x-2"},Gje=ze("label",{for:"emojis"},"Emojis",-1),Qje=ze("option",{value:"noto"}," Noto ",-1),Yje=ze("option",{value:"noto-v1"}," Noto v1 ",-1),Xje=ze("option",{value:"twemoji"}," Twitter Emoji ",-1),Kje=ze("option",{value:"fluent-emoji"}," Fluent Emoji ",-1),Zje=ze("option",{value:"fluent-emoji-flat"}," Fluent Emoji Flat ",-1),eSe=ze("option",{value:"emojione"}," Emojione ",-1),tSe=ze("option",{value:"emojione-v1"}," Emojione v1 ",-1),nSe=ze("option",{value:"streamline-emojis"}," Streamline Emojis ",-1),rSe=ze("option",{value:"openmoji"}," Openmoji ",-1),oSe={class:"opacity-80 text-base mb-1"},iSe={class:"relative"},sSe={key:0,class:"absolute top-1 right-1 text-10px ml-1 bg-blue-100 text-blue-700 px-1 py-2px rounded"},aSe={class:"opacity-80 text-base mb-1"},lSe={key:0,class:"text-sm"},cSe={key:0,class:"text-sm"},uSe={key:1,class:"space-y-3"},fSe={class:"mt-5 text-center opacity-75"},dSe={key:1,class:"h-full max-h-full overflow-hidden space-y-5"},hSe={key:1},pSe={class:"opacity-80 text-base mb-1"},mSe={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},gSe=["onClick"],vSe={class:"opacity-80 text-base mb-1"},ySe=ze("br",null,null,-1),bSe={class:"flex flex-nowrap overflow-x-auto space-x-3 p2",style:{"-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}},wSe=["onClick"],xSe={key:2,class:"h-full max-h-full overflow-hidden"},kSe={class:"opacity-80 text-base mb-1"},jSe={class:"px-3 py-2 space-y-5"},SSe=["innerHTML"],$Se={class:"opacity-80 text-base mb-1"},_Se={class:"px-3 py-2 space-y-5"},CSe=["innerHTML"],OSe={class:"opacity-80 text-base mb-1"},TSe={class:"px-3 py-2 space-y-5"},ASe=["innerHTML"],PSe={class:"opacity-80 text-base mb-1"},ESe={class:"px-3 py-2 space-y-5"},NSe=["innerHTML"],MSe={key:3,class:"h-full max-h-full overflow-hidden"},RSe=ze("iframe",{src:"https://nuxtseo.com/og-image",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),ISe=[RSe],LSe=Qr({__name:"app",async setup(t){let e,n;gb({title:"OG Image Playground"});const{data:r}=NW(),o=Yt("noto"),i=q$(),{data:s,pending:a,error:l}=i;br(s,A=>{A&&(Hr.value=Qke(Ne(A.options),["socialPreview","options"]),o.value=Hr.value.emojis,$$.value=Hr.value.props)},{immediate:!0});const c=jn(()=>Ug.value==="dark");gb({htmlAttrs:{class:c.value?"dark":""}});function u(A){ni.value=Fg({props:A},ni.value),Xf.value=!0,Ho()}const f=D1("nuxt-og-image:tab","design");function d(A){f.value="design",delete A.options,ni.value=Fg(A,ni.value),Xf.value=!0,Ho()}async function h(A=!0){A&&await q$(),ni.value={},Xf.value=!1,A&&Ho()}[e,n]=mT(()=>h(!1)),await e,n();const p=jn(()=>{var A;return((A=r.value)==null?void 0:A.runtimeConfig.defaults)||{height:600,width:1200}}),g=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.height)||((G=Hr.value)==null?void 0:G.height)||p.value.height}),m=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.width)||((G=Hr.value)==null?void 0:G.width)||p.value.width}),v=jn(()=>m.value/g.value),b=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.extension)||((G=Hr.value)==null?void 0:G.extension)||"png"}),w=D1("nuxt-og-image:social-preview","twitter"),x=jn(()=>s.value?Ru(Pa(NH.value,"/__og-image__/image",dh.value,`/og.${b.value}`),{timestamp:w0.value,...ni.value,_query:Ob.value}):""),k=jn(()=>{var A,G,ee,be,we,Se,he;return w.value==="twitter"&&((ee=(G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.twitter)!=null&&ee.title)?(we=(be=Hr.value)==null?void 0:be.socialPreview)==null?void 0:we.twitter.title:(he=(Se=Hr.value)==null?void 0:Se.socialPreview)==null?void 0:he.og.title}),y=jn(()=>{var A,G,ee,be,we,Se,he;return w.value==="twitter"&&((ee=(G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.twitter)!=null&&ee.description)?(we=(be=Hr.value)==null?void 0:be.socialPreview)==null?void 0:we.twitter.description:(he=(Se=Hr.value)==null?void 0:Se.socialPreview)==null?void 0:he.og.description}),j=jn(()=>{var A,G,ee,be;return Gc(((G=(A=s.value)==null?void 0:A.siteConfig)==null?void 0:G.url)||"/").host||((be=(ee=s.value)==null?void 0:ee.siteConfig)==null?void 0:be.url)}),_=jn(()=>{var A,G;return((G=(A=Hr.value)==null?void 0:A.socialPreview)==null?void 0:G.og.site_name)||j.value});function $(A){!A||A===w.value?w.value="":w.value=A}const S=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.component)||((G=Hr.value)==null?void 0:G.component)||"NuxtSeo"}),C=jn(()=>{var A,G;return((A=ni.value)==null?void 0:A.renderer)||((G=Hr.value)==null?void 0:G.renderer)||"satori"}),O=jn(()=>{var G;const A=((G=r.value)==null?void 0:G.componentNames)||[];return[A.find(ee=>ee.pascalName===S.value),...A.filter(ee=>ee.pascalName!==S.value)].filter(Boolean)}),P=jn(()=>O.value.filter(A=>A.category==="community")),I=jn(()=>O.value.filter(A=>A.category==="app")),J=TH(),H=D1("nuxt-og-image:side-panel-open",J.width.value>=1024);br(J.width,A=>{A<1024&&H.value&&(H.value=!1)},{immediate:!0});const D=Yt(!1);function R(A){const G=(b.value||"").toUpperCase();let ee="";switch(b.value){case"png":ee=C.value==="satori"?"Satori and ReSVG":"Chromium";break;case"jpeg":case"jpg":ee=C.value==="satori"?"Satori, ReSVG and Sharp":"Chromium";break;case"svg":ee="Satori";break}D.value=!1,G!=="HTML"?Yf.value=`Generated ${m.value}x${g.value} ${A.sizeKb?`${A.sizeKb}kB`:""} ${G} ${ee?`with ${ee}`:""} in ${A.timeTaken}ms.`:Yf.value=""}br([C,ni],()=>{Yf.value="Loading...",D.value=!0});function V(){window.open(x.value,"_blank")}const L=jn(()=>{var A,G,ee,be;return(be=(ee=(G=(A=hc.value)==null?void 0:A.host.nuxt.vueApp.config)==null?void 0:G.globalProperties)==null?void 0:ee.$route.matched[0].components)==null?void 0:be.default.__file});function E(){var A;(A=hc.value)==null||A.devtools.rpc.openInEditor(L.value)}function U(){var G;const A=O.value.find(ee=>ee.pascalName===S.value);(G=hc.value)==null||G.devtools.rpc.openInEditor(A.path)}const W=jn(()=>S.value==="PageScreenshot");br(o,A=>{var G;A!==((G=Hr.value)==null?void 0:G.emojis)&&d({emojis:A})});const M=jn(()=>{var G,ee,be,we;const A=(we=(be=(ee=(G=hc.value)==null?void 0:G.host.nuxt.vueApp.config)==null?void 0:ee.globalProperties)==null?void 0:be.$route.matched[0].components)==null?void 0:we.default.__file;return`pages/${A==null?void 0:A.split("pages/")[1]}`});return(A,G)=>{const ee=Ef,be=Fq,we=Sl("VTooltip"),Se=BA,he=Zq,Z=eH,te=FA,fe=GA,K=HH,me=tV,Ee=dP,se=dW,le=xW,Me=O2,Oe=zA,Je=jW,ue=PW;return Ye(),It("div",Yke,[ze("header",Xke,[ze("div",Kke,[ze("div",Zke,[ze("h1",eje,[ht(ee,{icon:"carbon:image-search",class:"text-blue-300"}),Kt(" Nuxt OG Image "),ht(be,{class:"text-sm"},{default:$t(()=>[Kt(Wr(Ne(Gke)),1)]),_:1})])]),ze("div",tje,[ze("fieldset",nje,[(Ye(),It(Ur,null,Np(["design","templates","debug","docs"],(ve,We)=>ze("label",{key:We,class:Kn(["relative n-border-base hover:n-bg-active cursor-pointer",[We?"border-l n-border-base ml--1px":"",ve===Ne(f)?"n-bg-active":"",Ne(W)&&ve==="templates"?"hidden":"",Ne(a)||Ne(l)?"n-disabled":""]])},[ve==="design"?(Ye(),It("div",{key:0,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Design ")]),default:$t(()=>[ze("div",rje,[ze("h2",oje,[ht(ee,{icon:"carbon:brush-freehand opacity-50"})])])]),_:1})],2)):Jn("",!0),ve==="templates"?(Ye(),It("div",{key:1,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Templates ")]),default:$t(()=>[ze("div",ije,[ze("h2",sje,[ht(ee,{icon:"carbon:image opacity-50"})])])]),_:1})],2)):ve==="debug"?(Ye(),It("div",{key:2,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Debug ")]),default:$t(()=>[ze("div",aje,[ze("h2",lje,[ht(ee,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):ve==="docs"?(Ye(),It("div",{key:3,class:Kn([ve===Ne(f)?"":"op35"])},[ht(we,null,{popper:$t(()=>[Kt(" Documentation ")]),default:$t(()=>[ze("div",cje,[ze("h2",uje,[ht(ee,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Jn("",!0),lT(ze("input",{"onUpdate:modelValue":G[0]||(G[0]=B=>zr(f)?f.value=B:null),type:"radio",value:ve,title:ve,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,fje),[[MD,Ne(f)]])],2)),64))]),ht(we,null,{popper:$t(()=>[Kt(" Refresh ")]),default:$t(()=>[ze("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:G[1]||(G[1]=(...ve)=>Ne(Ho)&&Ne(Ho)(...ve))},[ht(ee,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),ze("div",dje,[ze("div",hje,[ht(Se,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:$t(()=>[ht(ee,{icon:"carbon:favorite",class:"mr-[2px]"}),Kt(" Sponsor ")]),_:1})]),ze("div",pje,[ht(Se,{href:"https://github.com/harlan-zw/nuxt-og-image",target:"_blank"},{default:$t(()=>[ht(ee,{icon:"logos:github-icon",class:"mr-[2px]"}),Kt(" Submit an issue ")]),_:1})]),ze("a",mje,[ht(he),gje,vje])])])]),ze("div",yje,[ze("main",bje,[Ne(f)==="design"?(Ye(),It("div",wje,[Ne(l)?(Ye(),It("div",xje,[Ne(l).message.includes("missing the Nuxt OG Image payload")?(Ye(),It("div",kje,[ze("div",jje,[ze("div",Sje,[ze("h2",$je,[ht(ee,{icon:"carbon:information",class:"text-blue-500"}),Kt(" Oops! Did you forget "),_je,Kt("? ")]),ze("p",Cje,[Kt(" Getting started with Nuxt OG Image is easy, simply add the "),Oje,Kt(" within setup script setup of your "),ze("code",{class:"underline cursor-pointer",onClick:E},Wr(Ne(M)),1),Kt(" file. ")]),Tje])])])):(Ye(),It("div",Aje,Wr(Ne(l)),1))])):(Ye(),cn(Ne(Vke),{key:1,class:"default-theme",onResize:Ne(EH)},{default:$t(()=>[ht(Ne($O),{size:"60",class:"flex h-full justify-center items-center relative n-panel-grids-center pr-4",style:{"padding-top":"30px"}},{default:$t(()=>{var ve,We;return[ze("div",Pje,[ze("div",Eje,[(We=(ve=Ne(r))==null?void 0:ve.compatibility)!=null&&We.sharp||Ne(C)==="chromium"?(Ye(),cn(Z,{key:0,icon:"carbon:jpg",border:Ne(b)==="jpeg"||Ne(b)==="jpg",onClick:G[2]||(G[2]=B=>d({extension:"jpg"}))},null,8,["border"])):Jn("",!0),ht(Z,{icon:"carbon:png",border:Ne(b)==="png",onClick:G[3]||(G[3]=B=>d({extension:"png"}))},null,8,["border"]),Ne(C)!=="chromium"?(Ye(),cn(Z,{key:1,icon:"carbon:svg",border:Ne(b)==="svg",onClick:G[4]||(G[4]=B=>d({extension:"svg"}))},null,8,["border"])):Jn("",!0),Ne(W)?Jn("",!0):(Ye(),cn(Z,{key:2,icon:"carbon:html",border:Ne(b)==="html",onClick:G[5]||(G[5]=B=>d({extension:"html"}))},null,8,["border"]))]),ze("div",Nje,[Ne(W)?(Ye(),It("div",Rje," Screenshot of the current page. ")):(Ye(),It("div",{key:0,class:"opacity-70 space-x-1 hover:opacity-90 transition cursor-pointer",onClick:U},[ze("span",null,Wr(Ne(S).replace("OgImage","")),1),Mje]))]),ze("div",Ije,[ht(Z,{icon:"carbon:drag-horizontal",border:!Ne(w),onClick:G[6]||(G[6]=B=>$())},null,8,["border"]),ht(Z,{icon:"logos:twitter",border:Ne(w)==="twitter",onClick:G[7]||(G[7]=B=>$("twitter"))},null,8,["border"]),ht(Z,{icon:"logos:slack-icon",border:Ne(w)==="slack",onClick:G[8]||(G[8]=B=>$("slack"))},null,8,["border"]),ht(we,null,{popper:$t(()=>[Kt(" Toggle Sidebar ")]),default:$t(()=>[ze("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:G[9]||(G[9]=B=>H.value=!Ne(H))},[Ne(H)?(Ye(),It("div",Lje)):(Ye(),It("div",Dje))])]),_:1})])]),Ne(w)==="twitter"?(Ye(),cn(K,{key:0},{domain:$t(()=>[Kt(Wr(Ne(j)),1)]),default:$t(()=>[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onClick:V,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"max-height":"300","aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):Ne(w)==="slack"?(Ye(),cn(me,{key:1},{favIcon:$t(()=>{var B;return[ze("img",{src:`${(B=Ne(j))!=null&&B.includes("localhost")?"http":"https"}://${Ne(j)}/favicon.ico`},null,8,Bje)]}),siteName:$t(()=>[Kt(Wr(Ne(_)),1)]),title:$t(()=>[Kt(Wr(Ne(k)),1)]),description:$t(()=>[Kt(Wr(Ne(y)),1)]),default:$t(()=>[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),class:"!h-[300px]","aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))]),_:1})):(Ye(),It("div",zje,[Ne(b)!=="html"?(Ye(),cn(te,{key:0,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"])):(Ye(),cn(fe,{key:1,src:Ne(x),"aspect-ratio":Ne(v),onLoad:R,onRefresh:Ne(Ho)},null,8,["src","aspect-ratio","onRefresh"]))])),Ne(Yf)?(Ye(),It("div",Fje,Wr(Ne(Yf)),1)):Jn("",!0)]}),_:1}),Ne(H)?(Ye(),cn(Ne($O),{key:0,size:"40"},{default:$t(()=>[Ne(Xf)?(Ye(),It("div",qje,[ze("div",null,[Kt(" You are previewing changes, you'll need to update your "),Hje,Kt(" to persist them. "),ht(Z,{type:"button",class:"underline",onClick:G[10]||(G[10]=ve=>h(!0))},{default:$t(()=>[Kt(" Reset ")]),_:1})])])):Jn("",!0),ht(le,null,{text:$t(()=>[ze("h3",Vje,[ht(Ee,{name:"carbon:gui-management",class:"mr-1"}),Kt(" Render ")])]),default:$t(()=>{var ve,We,B,Y;return[ze("div",Wje,[ze("div",Uje,[(We=(ve=Ne(r))==null?void 0:ve.compatibility)!=null&&We.satori&&!Ne(W)?(Ye(),cn(Z,{key:0,icon:"logos:vercel-icon",border:Ne(C)==="satori",onClick:G[11]||(G[11]=re=>d({renderer:"satori"}))},{default:$t(()=>[Kt(" Satori ")]),_:1},8,["border"])):Jn("",!0),(Y=(B=Ne(r))==null?void 0:B.compatibility)!=null&&Y.chromium?(Ye(),cn(Z,{key:1,icon:"logos:chrome",border:Ne(C)==="chromium",onClick:G[12]||(G[12]=re=>d({renderer:"chromium"}))},{default:$t(()=>[Kt(" Chromium ")]),_:1},8,["border"])):Jn("",!0)]),Ne(W)?Jn("",!0):(Ye(),It("div",Jje,[Gje,ht(se,{id:"emojis",modelValue:o.value,"onUpdate:modelValue":G[13]||(G[13]=re=>o.value=re)},{default:$t(()=>[Qje,Yje,Xje,Kje,Zje,eSe,tSe,nSe,rSe]),_:1},8,["modelValue"])]))])]}),_:1}),Ne(W)?Jn("",!0):(Ye(),cn(le,{key:1},{text:$t(()=>[ze("h3",oSe,[ht(Ee,{name:"carbon:operations-record",class:"mr-1"}),Kt(" Props ")])]),default:$t(()=>[ze("div",iSe,[ht(Ne(Hke),{"model-value":Ne($$),class:Kn(Ne(c)?["jse-theme-dark"]:[]),"main-menu-bar":!1,"navigation-bar":!1,"onUpdate:modelValue":u},null,8,["model-value","class"]),Ne(Xf)?(Ye(),It("span",sSe,"modified")):Jn("",!0)])]),_:1})),ht(le,null,{text:$t(()=>[ze("h3",aSe,[ht(ee,{icon:"carbon:checkmark-filled-warning",class:"mr-1"}),Kt(" Compatibility ")])]),default:$t(()=>{var ve;return[(ve=Ne(s))!=null&&ve.compatibilityHints?(Ye(),It("div",lSe,[Ne(s).compatibilityHints.length?(Ye(),It("div",uSe,[(Ye(!0),It(Ur,null,Np(Ne(s).compatibilityHints,(We,B)=>(Ye(),It("div",{key:B,class:"space-x-2 flex items-center opacity-65"},[ht(ee,{icon:"carbon:warning",class:"text-yellow-500"}),ze("div",null,Wr(We),1)]))),128))])):(Ye(),It("div",cSe,[ht(ee,{icon:"carbon:checkmark",class:"text-green-500"}),Kt(" Looks good. ")])),ze("div",fSe,[Kt(" See the "),ht(Me,{to:"https://nuxtseo.com/og-image/guides/compatibility",class:"underline"},{default:$t(()=>[Kt(" compatibility guide ")]),_:1}),Kt(" to learn more. ")])])):Jn("",!0)]}),_:1})]),_:1})):Jn("",!0)]),_:1},8,["onResize"]))])):Ne(f)==="templates"?(Ye(),It("div",dSe,[D.value?(Ye(),cn(Oe,{key:0})):(Ye(),It("div",hSe,[Ne(I).length?(Ye(),cn(le,{key:0},{text:$t(()=>[ze("h3",pSe,[ht(Ee,{name:"carbon:app",class:"mr-1"}),Kt(" App Templates ")])]),default:$t(()=>[ht(Je,null,{default:$t(()=>[Kt("These are the OG Image templates that belong to your project.")]),_:1}),ze("div",mSe,[(Ye(!0),It(Ur,null,Np(Ne(I),ve=>(Ye(),It("button",{key:ve.pascalName,class:"!p-0",onClick:We=>d({component:ve.pascalName})},[ht(ue,{component:ve,src:Ne(Ru)(Ne(x),{component:ve.pascalName}),"aspect-ratio":Ne(v),active:ve.pascalName===Ne(S)},null,8,["component","src","aspect-ratio","active"])],8,gSe))),128))])]),_:1})):Jn("",!0),ht(le,null,{text:$t(()=>[ze("h3",vSe,[ht(Ee,{name:"carbon:airline-passenger-care",class:"mr-1"}),Kt(" Community Templates ")])]),default:$t(()=>[ht(Je,null,{default:$t(()=>[Kt("These are OG Image templates created by the community."),ySe,Kt("You can try them out by clicking on them, when you find one you like, view the source and copy+paste.")]),_:1}),ze("div",bSe,[(Ye(!0),It(Ur,null,Np(Ne(P),ve=>(Ye(),It("button",{key:ve.pascalName,class:"!p-0",onClick:We=>d({component:ve.pascalName})},[ht(ue,{component:ve,src:Ne(Ru)(Ne(x),{component:ve.pascalName}),"aspect-ratio":Ne(v),active:ve.pascalName===Ne(S)},null,8,["component","src","aspect-ratio","active"])],8,wSe))),128))])]),_:1})]))])):Ne(f)==="debug"?(Ye(),It("div",xSe,[ht(le,null,{text:$t(()=>[ze("h3",kSe,[ht(ee,{icon:"carbon:settings",class:"mr-1"}),Kt(" Compatibility ")])]),default:$t(()=>{var ve;return[ze("div",jSe,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ne(Hp)(JSON.stringify(((ve=Ne(r))==null?void 0:ve.compatibility)||{},null,2),"json")},null,8,SSe)])]}),_:1}),ht(le,null,{text:$t(()=>[ze("h3",$Se,[ht(ee,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Kt(" vNodes ")])]),default:$t(()=>{var ve;return[ze("div",_Se,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ne(Hp)(JSON.stringify(((ve=Ne(s))==null?void 0:ve.vnodes)||{},null,2),"json")},null,8,CSe)])]}),_:1}),ht(le,null,{text:$t(()=>[ze("h3",OSe,[ht(ee,{icon:"carbon:ibm-cloud-pak-manta-automated-data-lineage",class:"mr-1"}),Kt(" SVG ")])]),default:$t(()=>{var ve;return[ze("div",TSe,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"max-height":"500px","overflow-y":"auto","white-space":"break-spaces"},innerHTML:Ne(Hp)(((ve=Ne(s))==null?void 0:ve.svg.replaceAll(">",`>
106
106
  `))||"","html")},null,8,ASe)])]}),_:1}),ht(le,null,{text:$t(()=>[ze("h3",PSe,[ht(ee,{icon:"carbon:settings",class:"mr-1"}),Kt(" Runtime Config ")])]),default:$t(()=>{var ve;return[ze("div",ESe,[ze("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:Ne(Hp)(JSON.stringify(((ve=Ne(r))==null?void 0:ve.runtimeConfig)||{},null,2),"json")},null,8,NSe)])]}),_:1})])):Ne(f)==="docs"?(Ye(),It("div",MSe,ISe)):Jn("",!0)])])])}}});const DSe={__name:"nuxt-error-page",props:{error:Object},setup(t){const n=t.error;(n.stack||"").split(`
107
107
  `).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(`
108
- `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=o?Ag(()=>sh(()=>import("./error-404.d6ff1eb0.js"),["./error-404.d6ff1eb0.js","./error-404.b751fa02.css"],import.meta.url).then(f=>f.default||f)):Ag(()=>sh(()=>import("./error-500.3acec475.js"),["./error-500.3acec475.js","./error-500.69009e70.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Ye(),cn(Ne(u),EO(u2({statusCode:Ne(r),statusMessage:Ne(i),description:Ne(s),stack:Ne(a)})),null,16))}},CO={__name:"nuxt-root",setup(t){const e=()=>null,n=Sr(),r=n.deferHydration(),o=!1;yT(oA,iA()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const i=w2();hT((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),eF(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Kz(a)),!1});const s=!1;return(a,l)=>(Ye(),cn(_L,{onResolve:Ne(r)},{default:$t(()=>[Ne(i)?(Ye(),cn(Ne(DSe),{key:0,error:Ne(i)},null,8,["error"])):Ne(s)?(Ye(),cn(Ne(e),{key:1,context:Ne(s)},null,8,["context"])):Ne(o)?(Ye(),cn(r2(Ne(o)),{key:2})):(Ye(),cn(Ne(LSe),{key:3}))]),_:1},8,["onResolve"]))}};let OO;{let t;OO=async function(){var s,a;if(t)return t;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?HD(CO):RT(CO),o=WB({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}r.config.errorHandler=i;try{await JB(o,Lq)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(sF),await o.hooks.callHook("app:mounted",r),await Jc()}catch(l){i(l)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},t=OO().catch(e=>{console.error("Error while mounting app:",e)})}export{Ea as _,ze as a,ht as b,It as c,Kt as d,O2 as e,e2 as f,Qr as g,BSe as h,aA as i,jn as j,ui as n,Ye as o,Zx as p,aW as r,Wr as t,gb as u,$t as w};
108
+ `);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=o?Ag(()=>sh(()=>import("./error-404.69185016.js"),["./error-404.69185016.js","./error-404.b751fa02.css"],import.meta.url).then(f=>f.default||f)):Ag(()=>sh(()=>import("./error-500.0ed0878b.js"),["./error-500.0ed0878b.js","./error-500.69009e70.css"],import.meta.url).then(f=>f.default||f));return(f,d)=>(Ye(),cn(Ne(u),EO(u2({statusCode:Ne(r),statusMessage:Ne(i),description:Ne(s),stack:Ne(a)})),null,16))}},CO={__name:"nuxt-root",setup(t){const e=()=>null,n=Sr(),r=n.deferHydration(),o=!1;yT(oA,iA()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const i=w2();hT((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),eF(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Kz(a)),!1});const s=!1;return(a,l)=>(Ye(),cn(_L,{onResolve:Ne(r)},{default:$t(()=>[Ne(i)?(Ye(),cn(Ne(DSe),{key:0,error:Ne(i)},null,8,["error"])):Ne(s)?(Ye(),cn(Ne(e),{key:1,context:Ne(s)},null,8,["context"])):Ne(o)?(Ye(),cn(r2(Ne(o)),{key:2})):(Ye(),cn(Ne(LSe),{key:3}))]),_:1},8,["onResolve"]))}};let OO;{let t;OO=async function(){var s,a;if(t)return t;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?HD(CO):RT(CO),o=WB({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||l}r.config.errorHandler=i;try{await JB(o,Lq)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(sF),await o.hooks.callHook("app:mounted",r),await Jc()}catch(l){i(l)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},t=OO().catch(e=>{console.error("Error while mounting app:",e)})}export{Ea as _,ze as a,ht as b,It as c,Kt as d,O2 as e,e2 as f,Qr as g,BSe as h,aA as i,jn as j,ui as n,Ye as o,Zx as p,aW as r,Wr as t,gb as u,$t as w};