Skip to content

Instantly share code, notes, and snippets.

@AleksejDix
Created October 13, 2023 14:40
Show Gist options
  • Save AleksejDix/f021692f3c725a90f0f47f158c2e17b4 to your computer and use it in GitHub Desktop.
Save AleksejDix/f021692f3c725a90f0f47f158c2e17b4 to your computer and use it in GitHub Desktop.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function go(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const me={},Qt=[],Ge=()=>{},Ml=()=>!1,$l=/^on[^a-z]/,ur=e=>$l.test(e),vo=e=>e.startsWith("onUpdate:"),_e=Object.assign,mo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hl=Object.prototype.hasOwnProperty,ie=(e,t)=>Hl.call(e,t),J=Array.isArray,Gt=e=>dr(e)==="[object Map]",ai=e=>dr(e)==="[object Set]",te=e=>typeof e=="function",ke=e=>typeof e=="string",bo=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",ci=e=>be(e)&&te(e.then)&&te(e.catch),ui=Object.prototype.toString,dr=e=>ui.call(e),Bl=e=>dr(e).slice(8,-1),di=e=>dr(e)==="[object Object]",yo=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zn=go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Dl=/-(\w)/g,We=fr(e=>e.replace(Dl,(t,n)=>n?n.toUpperCase():"")),Nl=/\B([A-Z])/g,Xe=fr(e=>e.replace(Nl,"-$1").toLowerCase()),pr=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ir=fr(e=>e?`on${pr(e)}`:""),Pn=(e,t)=>!Object.is(e,t),er=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vr=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Qo;const qr=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wo(e){if(J(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ke(r)?Wl(r):wo(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(ke(e))return e;if(be(e))return e}}const Yl=/;(?![^(]*\))/g,Fl=/:([^]+)/,jl=/\/\*[^]*?\*\//g;function Wl(e){const t={};return e.replace(jl,"").split(Yl).forEach(n=>{if(n){const r=n.split(Fl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Me(e){let t="";if(ke(e))t=e;else if(J(e))for(let n=0;n<e.length;n++){const r=Me(e[n]);r&&(t+=r+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Kl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xl=go(Kl);function fi(e){return!!e||e===""}const Yt=e=>ke(e)?e:e==null?"":J(e)||be(e)&&(e.toString===ui||!te(e.toString))?JSON.stringify(e,pi,2):String(e),pi=(e,t)=>t&&t.__v_isRef?pi(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:ai(t)?{[`Set(${t.size})`]:[...t.values()]}:be(t)&&!J(t)&&!di(t)?String(t):t;let je;class zl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){je=this}off(){je=this.parent}stop(t){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&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Ul(e,t=je){t&&t.active&&t.effects.push(e)}function hi(){return je}function Vl(e){je&&je.cleanups.push(e)}const xo=e=>{const t=new Set(e);return t.w=0,t.n=0,t},gi=e=>(e.w&Pt)>0,vi=e=>(e.n&Pt)>0,ql=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Pt},Jl=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];gi(o)&&!vi(o)?o.delete(e):t[n++]=o,o.w&=~Pt,o.n&=~Pt}t.length=n}},Jr=new WeakMap;let yn=0,Pt=1;const Qr=30;let Je;const Dt=Symbol(""),Gr=Symbol("");class _o{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ul(this,r)}run(){if(!this.active)return this.fn();let t=Je,n=Rt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Je,Je=this,Rt=!0,Pt=1<<++yn,yn<=Qr?ql(this):Go(this),this.fn()}finally{yn<=Qr&&Jl(this),Pt=1<<--yn,Je=this.parent,Rt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Je===this?this.deferStop=!0:this.active&&(Go(this),this.onStop&&this.onStop(),this.active=!1)}}function Go(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Rt=!0;const mi=[];function an(){mi.push(Rt),Rt=!1}function cn(){const e=mi.pop();Rt=e===void 0?!0:e}function Ye(e,t,n){if(Rt&&Je){let r=Jr.get(e);r||Jr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=xo()),bi(o)}}function bi(e,t){let n=!1;yn<=Qr?vi(e)||(e.n|=Pt,n=!gi(e)):n=!e.has(Je),n&&(e.add(Je),Je.deps.push(e))}function pt(e,t,n,r,o,s){const i=Jr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&J(e)){const a=Number(r);i.forEach((c,u)=>{(u==="length"||u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":J(e)?yo(n)&&l.push(i.get("length")):(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Gr)));break;case"delete":J(e)||(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Gr)));break;case"set":Gt(e)&&l.push(i.get(Dt));break}if(l.length===1)l[0]&&Zr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Zr(xo(a))}}function Zr(e,t){const n=J(e)?e:[...e];for(const r of n)r.computed&&Zo(r);for(const r of n)r.computed||Zo(r)}function Zo(e,t){(e!==Je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ql=go("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bo)),Gl=ko(),Zl=ko(!1,!0),ea=ko(!0),es=ta();function ta(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ae(this);for(let s=0,i=this.length;s<i;s++)Ye(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ae)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){an();const r=ae(this)[t].apply(this,n);return cn(),r}}),e}function na(e){const t=ae(this);return Ye(t,"has",e),t.hasOwnProperty(e)}function ko(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?ba:Ei:t?ki:_i).get(r))return r;const i=J(r);if(!e){if(i&&ie(es,o))return Reflect.get(es,o,s);if(o==="hasOwnProperty")return na}const l=Reflect.get(r,o,s);return(bo(o)?yi.has(o):Ql(o))||(e||Ye(r,"get",o),t)?l:Pe(l)?i&&yo(o)?l:l.value:be(l)?e?gr(l):$n(l):l}}const ra=wi(),oa=wi(!0);function wi(e=!1){return function(n,r,o,s){let i=n[r];if(rn(i)&&Pe(i)&&!Pe(o))return!1;if(!e&&(!rr(o)&&!rn(o)&&(i=ae(i),o=ae(o)),!J(n)&&Pe(i)&&!Pe(o)))return i.value=o,!0;const l=J(n)&&yo(r)?Number(r)<n.length:ie(n,r),a=Reflect.set(n,r,o,s);return n===ae(s)&&(l?Pn(o,i)&&pt(n,"set",r,o):pt(n,"add",r,o)),a}}function sa(e,t){const n=ie(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&pt(e,"delete",t,void 0),r}function ia(e,t){const n=Reflect.has(e,t);return(!bo(t)||!yi.has(t))&&Ye(e,"has",t),n}function la(e){return Ye(e,"iterate",J(e)?"length":Dt),Reflect.ownKeys(e)}const xi={get:Gl,set:ra,deleteProperty:sa,has:ia,ownKeys:la},aa={get:ea,set(e,t){return!0},deleteProperty(e,t){return!0}},ca=_e({},xi,{get:Zl,set:oa}),Eo=e=>e,hr=e=>Reflect.getPrototypeOf(e);function Wn(e,t,n=!1,r=!1){e=e.__v_raw;const o=ae(e),s=ae(t);n||(t!==s&&Ye(o,"get",t),Ye(o,"get",s));const{has:i}=hr(o),l=r?Eo:n?To:An;if(i.call(o,t))return l(e.get(t));if(i.call(o,s))return l(e.get(s));e!==o&&e.get(t)}function Kn(e,t=!1){const n=this.__v_raw,r=ae(n),o=ae(e);return t||(e!==o&&Ye(r,"has",e),Ye(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Xn(e,t=!1){return e=e.__v_raw,!t&&Ye(ae(e),"iterate",Dt),Reflect.get(e,"size",e)}function ts(e){e=ae(e);const t=ae(this);return hr(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function ns(e,t){t=ae(t);const n=ae(this),{has:r,get:o}=hr(n);let s=r.call(n,e);s||(e=ae(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Pn(t,i)&&pt(n,"set",e,t):pt(n,"add",e,t),this}function rs(e){const t=ae(this),{has:n,get:r}=hr(t);let o=n.call(t,e);o||(e=ae(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&pt(t,"delete",e,void 0),s}function os(){const e=ae(this),t=e.size!==0,n=e.clear();return t&&pt(e,"clear",void 0,void 0),n}function zn(e,t){return function(r,o){const s=this,i=s.__v_raw,l=ae(i),a=t?Eo:e?To:An;return!e&&Ye(l,"iterate",Dt),i.forEach((c,u)=>r.call(o,a(c),a(u),s))}}function Un(e,t,n){return function(...r){const o=this.__v_raw,s=ae(o),i=Gt(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=o[e](...r),u=n?Eo:t?To:An;return!t&&Ye(s,"iterate",a?Gr:Dt),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function yt(e){return function(...t){return e==="delete"?!1:this}}function ua(){const e={get(s){return Wn(this,s)},get size(){return Xn(this)},has:Kn,add:ts,set:ns,delete:rs,clear:os,forEach:zn(!1,!1)},t={get(s){return Wn(this,s,!1,!0)},get size(){return Xn(this)},has:Kn,add:ts,set:ns,delete:rs,clear:os,forEach:zn(!1,!0)},n={get(s){return Wn(this,s,!0)},get size(){return Xn(this,!0)},has(s){return Kn.call(this,s,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:zn(!0,!1)},r={get(s){return Wn(this,s,!0,!0)},get size(){return Xn(this,!0)},has(s){return Kn.call(this,s,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:zn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Un(s,!1,!1),n[s]=Un(s,!0,!1),t[s]=Un(s,!1,!0),r[s]=Un(s,!0,!0)}),[e,n,t,r]}const[da,fa,pa,ha]=ua();function Co(e,t){const n=t?e?ha:pa:e?fa:da;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ie(n,o)&&o in r?n:r,o,s)}const ga={get:Co(!1,!1)},va={get:Co(!1,!0)},ma={get:Co(!0,!1)},_i=new WeakMap,ki=new WeakMap,Ei=new WeakMap,ba=new WeakMap;function ya(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wa(e){return e.__v_skip||!Object.isExtensible(e)?0:ya(Bl(e))}function $n(e){return rn(e)?e:Ro(e,!1,xi,ga,_i)}function Ci(e){return Ro(e,!1,ca,va,ki)}function gr(e){return Ro(e,!0,aa,ma,Ei)}function Ro(e,t,n,r,o){if(!be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=wa(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function Zt(e){return rn(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function rn(e){return!!(e&&e.__v_isReadonly)}function rr(e){return!!(e&&e.__v_isShallow)}function Ri(e){return Zt(e)||rn(e)}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Ti(e){return nr(e,"__v_skip",!0),e}const An=e=>be(e)?$n(e):e,To=e=>be(e)?gr(e):e;function Pi(e){Rt&&Je&&(e=ae(e),bi(e.dep||(e.dep=xo())))}function Ai(e,t){e=ae(e);const n=e.dep;n&&Zr(n)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function ee(e){return Si(e,!1)}function xa(e){return Si(e,!0)}function Si(e,t){return Pe(e)?e:new _a(e,t)}class _a{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ae(t),this._value=n?t:An(t)}get value(){return Pi(this),this._value}set value(t){const n=this.__v_isShallow||rr(t)||rn(t);t=n?t:ae(t),Pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:An(t),Ai(this))}}function g(e){return Pe(e)?e.value:e}const ka={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ii(e){return Zt(e)?e:new Proxy(e,ka)}class Ea{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new _o(t,()=>{this._dirty||(this._dirty=!0,Ai(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ae(this);return Pi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ca(e,t,n=!1){let r,o;const s=te(e);return s?(r=e,o=Ge):(r=e.get,o=e.set),new Ea(r,o,s||!o,n)}function Tt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){vr(s,t,n)}return o}function ze(e,t,n,r){if(te(e)){const s=Tt(e,t,n,r);return s&&ci(s)&&s.catch(i=>{vr(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(ze(e[s],t,n,r));return o}function vr(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=n;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){Tt(a,null,10,[e,i,l]);return}}Ra(e,n,o,r)}function Ra(e,t,n,r=!0){console.error(e)}let Sn=!1,eo=!1;const Le=[];let st=0;const en=[];let ft=null,Mt=0;const Li=Promise.resolve();let Po=null;function De(e){const t=Po||Li;return e?t.then(this?e.bind(this):e):t}function Ta(e){let t=st+1,n=Le.length;for(;t<n;){const r=t+n>>>1;In(Le[r])<e?t=r+1:n=r}return t}function Ao(e){(!Le.length||!Le.includes(e,Sn&&e.allowRecurse?st+1:st))&&(e.id==null?Le.push(e):Le.splice(Ta(e.id),0,e),Oi())}function Oi(){!Sn&&!eo&&(eo=!0,Po=Li.then($i))}function Pa(e){const t=Le.indexOf(e);t>st&&Le.splice(t,1)}function Aa(e){J(e)?en.push(...e):(!ft||!ft.includes(e,e.allowRecurse?Mt+1:Mt))&&en.push(e),Oi()}function ss(e,t=Sn?st+1:0){for(;t<Le.length;t++){const n=Le[t];n&&n.pre&&(Le.splice(t,1),t--,n())}}function Mi(e){if(en.length){const t=[...new Set(en)];if(en.length=0,ft){ft.push(...t);return}for(ft=t,ft.sort((n,r)=>In(n)-In(r)),Mt=0;Mt<ft.length;Mt++)ft[Mt]();ft=null,Mt=0}}const In=e=>e.id==null?1/0:e.id,Sa=(e,t)=>{const n=In(e)-In(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $i(e){eo=!1,Sn=!0,Le.sort(Sa);const t=Ge;try{for(st=0;st<Le.length;st++){const n=Le[st];n&&n.active!==!1&&Tt(n,null,14)}}finally{st=0,Le.length=0,Mi(),Sn=!1,Po=null,(Le.length||en.length)&&$i()}}function Ia(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:p}=r[u]||me;p&&(o=n.map(m=>ke(m)?m.trim():m)),d&&(o=n.map(Ur))}let l,a=r[l=Ir(t)]||r[l=Ir(We(t))];!a&&s&&(a=r[l=Ir(Xe(t))]),a&&ze(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(c,e,6,o)}}function Hi(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!te(e)){const a=c=>{const u=Hi(c,t,!0);u&&(l=!0,_e(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(be(e)&&r.set(e,null),null):(J(s)?s.forEach(a=>i[a]=null):_e(i,s),be(e)&&r.set(e,i),i)}function mr(e,t){return!e||!ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Xe(t))||ie(e,t))}let Ae=null,br=null;function or(e){const t=Ae;return Ae=e,br=e&&e.type.__scopeId||null,t}function Hn(e){br=e}function Bn(){br=null}function gt(e,t=Ae,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ms(-1);const s=or(t);let i;try{i=e(...o)}finally{or(s),r._d&&ms(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Lr(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:m,ctx:b,inheritAttrs:y}=e;let C,E;const x=or(e);try{if(n.shapeFlag&4){const H=o||r;C=ot(u.call(H,H,d,s,m,p,b)),E=a}else{const H=t;C=ot(H.length>1?H(s,{attrs:a,slots:l,emit:c}):H(s,null)),E=t.props?a:La(a)}}catch(H){Cn.length=0,vr(H,e,1),C=Te(Ve)}let X=C;if(E&&y!==!1){const H=Object.keys(E),{shapeFlag:re}=X;H.length&&re&7&&(i&&H.some(vo)&&(E=Oa(E,i)),X=At(X,E))}return n.dirs&&(X=At(X),X.dirs=X.dirs?X.dirs.concat(n.dirs):n.dirs),n.transition&&(X.transition=n.transition),C=X,or(x),C}const La=e=>{let t;for(const n in e)(n==="class"||n==="style"||ur(n))&&((t||(t={}))[n]=e[n]);return t},Oa=(e,t)=>{const n={};for(const r in e)(!vo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ma(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?is(r,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(i[p]!==r[p]&&!mr(c,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?is(r,i,c):!0:!!i;return!1}function is(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!mr(n,s))return!0}return!1}function $a({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Ha=e=>e.__isSuspense;function Ba(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):Aa(e)}function et(e,t){return yr(e,null,t)}function Da(e,t){return yr(e,null,{flush:"post"})}const Vn={};function tn(e,t,n){return yr(e,t,n)}function yr(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=me){var l;const a=hi()===((l=Re)==null?void 0:l.scope)?Re:null;let c,u=!1,d=!1;if(Pe(e)?(c=()=>e.value,u=rr(e)):Zt(e)?(c=()=>e,r=!0):J(e)?(d=!0,u=e.some(H=>Zt(H)||rr(H)),c=()=>e.map(H=>{if(Pe(H))return H.value;if(Zt(H))return Bt(H);if(te(H))return Tt(H,a,2)})):te(e)?t?c=()=>Tt(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return p&&p(),ze(e,a,3,[m])}:c=Ge,t&&r){const H=c;c=()=>Bt(H())}let p,m=H=>{p=x.onStop=()=>{Tt(H,a,4)}},b;if(On)if(m=Ge,t?n&&ze(t,a,3,[c(),d?[]:void 0,m]):c(),o==="sync"){const H=Ic();b=H.__watcherHandles||(H.__watcherHandles=[])}else return Ge;let y=d?new Array(e.length).fill(Vn):Vn;const C=()=>{if(x.active)if(t){const H=x.run();(r||u||(d?H.some((re,pe)=>Pn(re,y[pe])):Pn(H,y)))&&(p&&p(),ze(t,a,3,[H,y===Vn?void 0:d&&y[0]===Vn?[]:y,m]),y=H)}else x.run()};C.allowRecurse=!!t;let E;o==="sync"?E=C:o==="post"?E=()=>Be(C,a&&a.suspense):(C.pre=!0,a&&(C.id=a.uid),E=()=>Ao(C));const x=new _o(c,E);t?n?C():y=x.run():o==="post"?Be(x.run.bind(x),a&&a.suspense):x.run();const X=()=>{x.stop(),a&&a.scope&&mo(a.scope.effects,x)};return b&&b.push(X),X}function Na(e,t,n){const r=this.proxy,o=ke(e)?e.includes(".")?Bi(r,e):()=>r[e]:e.bind(r,r);let s;te(t)?s=t:(s=t.handler,n=t);const i=Re;on(this);const l=yr(o,s.bind(r),n);return i?on(i):Nt(),l}function Bi(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Bt(e,t){if(!be(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Pe(e))Bt(e.value,t);else if(J(e))for(let n=0;n<e.length;n++)Bt(e[n],t);else if(ai(e)||Gt(e))e.forEach(n=>{Bt(n,t)});else if(di(e))for(const n in e)Bt(e[n],t);return e}function So(e,t){const n=Ae;if(n===null)return e;const r=Er(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,l,a,c=me]=t[s];i&&(te(i)&&(i={mounted:i,updated:i}),i.deep&&Bt(l),o.push({dir:i,instance:r,value:l,oldValue:void 0,arg:a,modifiers:c}))}return e}function St(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let a=l.dir[r];a&&(an(),ze(a,n,8,[e.el,l,e,t]),cn())}}function Ya(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Io(()=>{e.isMounted=!0}),Ft(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],Di={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},Fa={name:"BaseTransition",props:Di,setup(e,{slots:t}){const n=Nn(),r=Ya();let o;return()=>{const s=t.default&&Yi(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const y of s)if(y.type!==Ve){i=y;break}}const l=ae(e),{mode:a}=l;if(r.isLeaving)return Or(i);const c=ls(i);if(!c)return Or(i);const u=to(c,l,r,n);no(c,u);const d=n.subTree,p=d&&ls(d);let m=!1;const{getTransitionKey:b}=c.type;if(b){const y=b();o===void 0?o=y:y!==o&&(o=y,m=!0)}if(p&&p.type!==Ve&&(!$t(c,p)||m)){const y=to(p,l,r,n);if(no(p,y),a==="out-in")return r.isLeaving=!0,y.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Or(i);a==="in-out"&&c.type!==Ve&&(y.delayLeave=(C,E,x)=>{const X=Ni(r,p);X[String(p.key)]=p,C._leaveCb=()=>{E(),C._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=x})}return i}}},ja=Fa;function Ni(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function to(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:y,onAppear:C,onAfterAppear:E,onAppearCancelled:x}=t,X=String(e.key),H=Ni(n,e),re=(Q,le)=>{Q&&ze(Q,r,9,le)},pe=(Q,le)=>{const se=le[1];re(Q,le),J(Q)?Q.every(K=>K.length<=1)&&se():Q.length<=1&&se()},ve={mode:s,persisted:i,beforeEnter(Q){let le=l;if(!n.isMounted)if(o)le=y||l;else return;Q._leaveCb&&Q._leaveCb(!0);const se=H[X];se&&$t(e,se)&&se.el._leaveCb&&se.el._leaveCb(),re(le,[Q])},enter(Q){let le=a,se=c,K=u;if(!n.isMounted)if(o)le=C||a,se=E||c,K=x||u;else return;let L=!1;const D=Q._enterCb=we=>{L||(L=!0,we?re(K,[Q]):re(se,[Q]),ve.delayedLeave&&ve.delayedLeave(),Q._enterCb=void 0)};le?pe(le,[Q,D]):D()},leave(Q,le){const se=String(e.key);if(Q._enterCb&&Q._enterCb(!0),n.isUnmounting)return le();re(d,[Q]);let K=!1;const L=Q._leaveCb=D=>{K||(K=!0,le(),D?re(b,[Q]):re(m,[Q]),Q._leaveCb=void 0,H[se]===e&&delete H[se])};H[se]=e,p?pe(p,[Q,L]):L()},clone(Q){return to(Q,t,n,r)}};return ve}function Or(e){if(wr(e))return e=At(e),e.children=null,e}function ls(e){return wr(e)?e.children?e.children[0]:void 0:e}function no(e,t){e.shapeFlag&6&&e.component?no(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yi(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ie?(i.patchFlag&128&&o++,r=r.concat(Yi(i.children,t,l))):(t||i.type!==Ve)&&r.push(l!=null?At(i,{key:l}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function j(e,t){return te(e)?(()=>_e({name:e.name},t,{setup:e}))():e}const xn=e=>!!e.type.__asyncLoader,wr=e=>e.type.__isKeepAlive;function Wa(e,t){Fi(e,"a",t)}function Ka(e,t){Fi(e,"da",t)}function Fi(e,t,n=Re){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(xr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)wr(o.parent.vnode)&&Xa(r,t,n,o),o=o.parent}}function Xa(e,t,n,r){const o=xr(t,e,r,!0);Lo(()=>{mo(r[t],o)},n)}function xr(e,t,n=Re,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;an(),on(n);const l=ze(t,n,e,i);return Nt(),cn(),l});return r?o.unshift(s):o.push(s),s}}const vt=e=>(t,n=Re)=>(!On||e==="sp")&&xr(e,(...r)=>t(...r),n),za=vt("bm"),Io=vt("m"),Dn=vt("bu"),Ua=vt("u"),Ft=vt("bum"),Lo=vt("um"),Va=vt("sp"),qa=vt("rtg"),Ja=vt("rtc");function Qa(e,t=Re){xr("ec",e,t)}const Oo="components";function Ga(e,t){return Ki(Oo,e,!0,t)||e}const ji=Symbol.for("v-ndc");function Wi(e){return ke(e)?Ki(Oo,e,!1)||e:e||ji}function Ki(e,t,n=!0,r=!1){const o=Ae||Re;if(o){const s=o.type;if(e===Oo){const l=Pc(s,!1);if(l&&(l===t||l===We(t)||l===pr(We(t))))return s}const i=as(o[e]||s[e],t)||as(o.appContext[e],t);return!i&&r?s:i}}function as(e,t){return e&&(e[t]||e[We(t)]||e[pr(We(t))])}function Xi(e,t,n,r){let o;const s=n&&n[r];if(J(e)||ke(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(be(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,s&&s[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];o[l]=t(e[c],c,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Y(e,t,n={},r,o){if(Ae.isCE||Ae.parent&&xn(Ae.parent)&&Ae.parent.isCE)return t!=="default"&&(n.name=t),Te("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),T();const i=s&&zi(s(n)),l=mt(Ie,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function zi(e){return e.some(t=>lr(t)?!(t.type===Ve||t.type===Ie&&!zi(t.children)):!0)?e:null}const ro=e=>e?rl(e)?Er(e)||e.proxy:ro(e.parent):null,_n=_e(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ro(e.parent),$root:e=>ro(e.root),$emit:e=>e.emit,$options:e=>Mo(e),$forceUpdate:e=>e.f||(e.f=()=>Ao(e.update)),$nextTick:e=>e.n||(e.n=De.bind(e.proxy)),$watch:e=>Na.bind(e)}),Mr=(e,t)=>e!==me&&!e.__isScriptSetup&&ie(e,t),Za={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Mr(r,t))return i[t]=1,r[t];if(o!==me&&ie(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&ie(c,t))return i[t]=3,s[t];if(n!==me&&ie(n,t))return i[t]=4,n[t];oo&&(i[t]=0)}}const u=_n[t];let d,p;if(u)return t==="$attrs"&&Ye(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==me&&ie(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,ie(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Mr(o,t)?(o[t]=n,!0):r!==me&&ie(r,t)?(r[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let l;return!!n[i]||e!==me&&ie(e,i)||Mr(t,i)||(l=s[0])&&ie(l,i)||ie(r,i)||ie(_n,i)||ie(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ec(){return tc().attrs}function tc(){const e=Nn();return e.setupContext||(e.setupContext=sl(e))}function cs(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let oo=!0;function nc(e){const t=Mo(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&us(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:m,updated:b,activated:y,deactivated:C,beforeDestroy:E,beforeUnmount:x,destroyed:X,unmounted:H,render:re,renderTracked:pe,renderTriggered:ve,errorCaptured:Q,serverPrefetch:le,expose:se,inheritAttrs:K,components:L,directives:D,filters:we}=t;if(c&&rc(c,r,null),i)for(const he in i){const ce=i[he];te(ce)&&(r[he]=ce.bind(n))}if(o){const he=o.call(n,n);be(he)&&(e.data=$n(he))}if(oo=!0,s)for(const he in s){const ce=s[he],ct=te(ce)?ce.bind(n,n):te(ce.get)?ce.get.bind(n,n):Ge,bt=!te(ce)&&te(ce.set)?ce.set.bind(n):Ge,tt=z({get:ct,set:bt});Object.defineProperty(r,he,{enumerable:!0,configurable:!0,get:()=>tt.value,set:He=>tt.value=He})}if(l)for(const he in l)Ui(l[he],r,n,he);if(a){const he=te(a)?a.call(n):a;Reflect.ownKeys(he).forEach(ce=>{kn(ce,he[ce])})}u&&us(u,e,"c");function xe(he,ce){J(ce)?ce.forEach(ct=>he(ct.bind(n))):ce&&he(ce.bind(n))}if(xe(za,d),xe(Io,p),xe(Dn,m),xe(Ua,b),xe(Wa,y),xe(Ka,C),xe(Qa,Q),xe(Ja,pe),xe(qa,ve),xe(Ft,x),xe(Lo,H),xe(Va,le),J(se))if(se.length){const he=e.exposed||(e.exposed={});se.forEach(ce=>{Object.defineProperty(he,ce,{get:()=>n[ce],set:ct=>n[ce]=ct})})}else e.exposed||(e.exposed={});re&&e.render===Ge&&(e.render=re),K!=null&&(e.inheritAttrs=K),L&&(e.components=L),D&&(e.directives=D)}function rc(e,t,n=Ge){J(e)&&(e=so(e));for(const r in e){const o=e[r];let s;be(o)?"default"in o?s=Ue(o.from||r,o.default,!0):s=Ue(o.from||r):s=Ue(o),Pe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function us(e,t,n){ze(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ui(e,t,n,r){const o=r.includes(".")?Bi(n,r):()=>n[r];if(ke(e)){const s=t[e];te(s)&&tn(o,s)}else if(te(e))tn(o,e.bind(n));else if(be(e))if(J(e))e.forEach(s=>Ui(s,t,n,r));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&tn(o,s,e)}}function Mo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>sr(a,c,i,!0)),sr(a,t,i)),be(t)&&s.set(t,a),a}function sr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&sr(e,s,n,!0),o&&o.forEach(i=>sr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=oc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const oc={data:ds,props:fs,emits:fs,methods:wn,computed:wn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:wn,directives:wn,watch:ic,provide:ds,inject:sc};function ds(e,t){return t?e?function(){return _e(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function sc(e,t){return wn(so(e),so(t))}function so(e){if(J(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function wn(e,t){return e?_e(Object.create(null),e,t):t}function fs(e,t){return e?J(e)&&J(t)?[...new Set([...e,...t])]:_e(Object.create(null),cs(e),cs(t??{})):t}function ic(e,t){if(!e)return t;if(!t)return e;const n=_e(Object.create(null),e);for(const r in t)n[r]=Oe(e[r],t[r]);return n}function Vi(){return{app:null,config:{isNativeTag:Ml,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 lc=0;function ac(e,t){return function(r,o=null){te(r)||(r=_e({},r)),o!=null&&!be(o)&&(o=null);const s=Vi(),i=new Set;let l=!1;const a=s.app={_uid:lc++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Lc,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&te(c.install)?(i.add(c),c.install(a,...u)):te(c)&&(i.add(c),c(a,...u))),a},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),a},component(c,u){return u?(s.components[c]=u,a):s.components[c]},directive(c,u){return u?(s.directives[c]=u,a):s.directives[c]},mount(c,u,d){if(!l){const p=Te(r,o);return p.appContext=s,u&&t?t(p,c):e(p,c,d),l=!0,a._container=c,c.__vue_app__=a,Er(p.component)||p.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return s.provides[c]=u,a},runWithContext(c){ir=a;try{return c()}finally{ir=null}}};return a}}let ir=null;function kn(e,t){if(Re){let n=Re.provides;const r=Re.parent&&Re.parent.provides;r===n&&(n=Re.provides=Object.create(r)),n[e]=t}}function Ue(e,t,n=!1){const r=Re||Ae;if(r||ir){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ir._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&te(t)?t.call(r&&r.proxy):t}}function cc(e,t,n,r=!1){const o={},s={};nr(s,kr,1),e.propsDefaults=Object.create(null),qi(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Ci(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function uc(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ae(o),[a]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(mr(e.emitsOptions,p))continue;const m=t[p];if(a)if(ie(s,p))m!==s[p]&&(s[p]=m,c=!0);else{const b=We(p);o[b]=io(a,l,b,m,e,!1)}else m!==s[p]&&(s[p]=m,c=!0)}}}else{qi(e,t,o,s)&&(c=!0);let u;for(const d in l)(!t||!ie(t,d)&&((u=Xe(d))===d||!ie(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(o[d]=io(a,l,d,void 0,e,!0)):delete o[d]);if(s!==l)for(const d in s)(!t||!ie(t,d))&&(delete s[d],c=!0)}c&&pt(e,"set","$attrs")}function qi(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Zn(a))continue;const c=t[a];let u;o&&ie(o,u=We(a))?!s||!s.includes(u)?n[u]=c:(l||(l={}))[u]=c:mr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,i=!0)}if(s){const a=ae(n),c=l||me;for(let u=0;u<s.length;u++){const d=s[u];n[d]=io(o,a,d,c[d],e,!ie(c,d))}}return i}function io(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=ie(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&te(a)){const{propsDefaults:c}=o;n in c?r=c[n]:(on(o),r=c[n]=a.call(null,t),Nt())}else r=a}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===Xe(n))&&(r=!0))}return r}function Ji(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let a=!1;if(!te(e)){const u=d=>{a=!0;const[p,m]=Ji(d,t,!0);_e(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return be(e)&&r.set(e,Qt),Qt;if(J(s))for(let u=0;u<s.length;u++){const d=We(s[u]);ps(d)&&(i[d]=me)}else if(s)for(const u in s){const d=We(u);if(ps(d)){const p=s[u],m=i[d]=J(p)||te(p)?{type:p}:_e({},p);if(m){const b=vs(Boolean,m.type),y=vs(String,m.type);m[0]=b>-1,m[1]=y<0||b<y,(b>-1||ie(m,"default"))&&l.push(d)}}}const c=[i,l];return be(e)&&r.set(e,c),c}function ps(e){return e[0]!=="$"}function hs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function gs(e,t){return hs(e)===hs(t)}function vs(e,t){return J(t)?t.findIndex(n=>gs(n,e)):te(t)&&gs(t,e)?0:-1}const Qi=e=>e[0]==="_"||e==="$stable",$o=e=>J(e)?e.map(ot):[ot(e)],dc=(e,t,n)=>{if(t._n)return t;const r=gt((...o)=>$o(t(...o)),n);return r._c=!1,r},Gi=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Qi(o))continue;const s=e[o];if(te(s))t[o]=dc(o,s,r);else if(s!=null){const i=$o(s);t[o]=()=>i}}},Zi=(e,t)=>{const n=$o(t);e.slots.default=()=>n},fc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ae(t),nr(t,"_",n)):Gi(t,e.slots={})}else e.slots={},t&&Zi(e,t);nr(e.slots,kr,1)},pc=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(_e(o,t),!n&&l===1&&delete o._):(s=!t.$stable,Gi(t,o)),i=t}else t&&(Zi(e,t),i={default:1});if(s)for(const l in o)!Qi(l)&&!(l in i)&&delete o[l]};function lo(e,t,n,r,o=!1){if(J(e)){e.forEach((p,m)=>lo(p,t&&(J(t)?t[m]:t),n,r,o));return}if(xn(r)&&!o)return;const s=r.shapeFlag&4?Er(r.component)||r.component.proxy:r.el,i=o?null:s,{i:l,r:a}=e,c=t&&t.r,u=l.refs===me?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ke(c)?(u[c]=null,ie(d,c)&&(d[c]=null)):Pe(c)&&(c.value=null)),te(a))Tt(a,l,12,[i,u]);else{const p=ke(a),m=Pe(a);if(p||m){const b=()=>{if(e.f){const y=p?ie(d,a)?d[a]:u[a]:a.value;o?J(y)&&mo(y,s):J(y)?y.includes(s)||y.push(s):p?(u[a]=[s],ie(d,a)&&(d[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else p?(u[a]=i,ie(d,a)&&(d[a]=i)):m&&(a.value=i,e.k&&(u[e.k]=i))};i?(b.id=-1,Be(b,n)):b()}}}const Be=Ba;function hc(e){return gc(e)}function gc(e,t){const n=qr();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:m=Ge,insertStaticContent:b}=e,y=(f,h,v,w=null,k=null,R=null,B=!1,I=null,O=!!h.dynamicChildren)=>{if(f===h)return;f&&!$t(f,h)&&(w=_(f),He(f,k,R,!0),f=null),h.patchFlag===-2&&(O=!1,h.dynamicChildren=null);const{type:P,ref:V,shapeFlag:W}=h;switch(P){case _r:C(f,h,v,w);break;case Ve:E(f,h,v,w);break;case En:f==null&&x(h,v,w,B);break;case Ie:L(f,h,v,w,k,R,B,I,O);break;default:W&1?re(f,h,v,w,k,R,B,I,O):W&6?D(f,h,v,w,k,R,B,I,O):(W&64||W&128)&&P.process(f,h,v,w,k,R,B,I,O,M)}V!=null&&k&&lo(V,f&&f.ref,R,h||f,!h)},C=(f,h,v,w)=>{if(f==null)r(h.el=l(h.children),v,w);else{const k=h.el=f.el;h.children!==f.children&&c(k,h.children)}},E=(f,h,v,w)=>{f==null?r(h.el=a(h.children||""),v,w):h.el=f.el},x=(f,h,v,w)=>{[f.el,f.anchor]=b(f.children,h,v,w,f.el,f.anchor)},X=({el:f,anchor:h},v,w)=>{let k;for(;f&&f!==h;)k=p(f),r(f,v,w),f=k;r(h,v,w)},H=({el:f,anchor:h})=>{let v;for(;f&&f!==h;)v=p(f),o(f),f=v;o(h)},re=(f,h,v,w,k,R,B,I,O)=>{B=B||h.type==="svg",f==null?pe(h,v,w,k,R,B,I,O):le(f,h,k,R,B,I,O)},pe=(f,h,v,w,k,R,B,I)=>{let O,P;const{type:V,props:W,shapeFlag:q,transition:G,dirs:oe}=f;if(O=f.el=i(f.type,R,W&&W.is,W),q&8?u(O,f.children):q&16&&Q(f.children,O,null,w,k,R&&V!=="foreignObject",B,I),oe&&St(f,null,w,"created"),ve(O,f,f.scopeId,B,w),W){for(const fe in W)fe!=="value"&&!Zn(fe)&&s(O,fe,null,W[fe],R,f.children,w,k,Se);"value"in W&&s(O,"value",null,W.value),(P=W.onVnodeBeforeMount)&&rt(P,w,f)}oe&&St(f,null,w,"beforeMount");const ge=(!k||k&&!k.pendingBranch)&&G&&!G.persisted;ge&&G.beforeEnter(O),r(O,h,v),((P=W&&W.onVnodeMounted)||ge||oe)&&Be(()=>{P&&rt(P,w,f),ge&&G.enter(O),oe&&St(f,null,w,"mounted")},k)},ve=(f,h,v,w,k)=>{if(v&&m(f,v),w)for(let R=0;R<w.length;R++)m(f,w[R]);if(k){let R=k.subTree;if(h===R){const B=k.vnode;ve(f,B,B.scopeId,B.slotScopeIds,k.parent)}}},Q=(f,h,v,w,k,R,B,I,O=0)=>{for(let P=O;P<f.length;P++){const V=f[P]=I?kt(f[P]):ot(f[P]);y(null,V,h,v,w,k,R,B,I)}},le=(f,h,v,w,k,R,B)=>{const I=h.el=f.el;let{patchFlag:O,dynamicChildren:P,dirs:V}=h;O|=f.patchFlag&16;const W=f.props||me,q=h.props||me;let G;v&&It(v,!1),(G=q.onVnodeBeforeUpdate)&&rt(G,v,h,f),V&&St(h,f,v,"beforeUpdate"),v&&It(v,!0);const oe=k&&h.type!=="foreignObject";if(P?se(f.dynamicChildren,P,I,v,w,oe,R):B||ce(f,h,I,null,v,w,oe,R,!1),O>0){if(O&16)K(I,h,W,q,v,w,k);else if(O&2&&W.class!==q.class&&s(I,"class",null,q.class,k),O&4&&s(I,"style",W.style,q.style,k),O&8){const ge=h.dynamicProps;for(let fe=0;fe<ge.length;fe++){const Ee=ge[fe],qe=W[Ee],Xt=q[Ee];(Xt!==qe||Ee==="value")&&s(I,Ee,qe,Xt,k,f.children,v,w,Se)}}O&1&&f.children!==h.children&&u(I,h.children)}else!B&&P==null&&K(I,h,W,q,v,w,k);((G=q.onVnodeUpdated)||V)&&Be(()=>{G&&rt(G,v,h,f),V&&St(h,f,v,"updated")},w)},se=(f,h,v,w,k,R,B)=>{for(let I=0;I<h.length;I++){const O=f[I],P=h[I],V=O.el&&(O.type===Ie||!$t(O,P)||O.shapeFlag&70)?d(O.el):v;y(O,P,V,null,w,k,R,B,!0)}},K=(f,h,v,w,k,R,B)=>{if(v!==w){if(v!==me)for(const I in v)!Zn(I)&&!(I in w)&&s(f,I,v[I],null,B,h.children,k,R,Se);for(const I in w){if(Zn(I))continue;const O=w[I],P=v[I];O!==P&&I!=="value"&&s(f,I,P,O,B,h.children,k,R,Se)}"value"in w&&s(f,"value",v.value,w.value)}},L=(f,h,v,w,k,R,B,I,O)=>{const P=h.el=f?f.el:l(""),V=h.anchor=f?f.anchor:l("");let{patchFlag:W,dynamicChildren:q,slotScopeIds:G}=h;G&&(I=I?I.concat(G):G),f==null?(r(P,v,w),r(V,v,w),Q(h.children,v,V,k,R,B,I,O)):W>0&&W&64&&q&&f.dynamicChildren?(se(f.dynamicChildren,q,v,k,R,B,I),(h.key!=null||k&&h===k.subTree)&&el(f,h,!0)):ce(f,h,v,V,k,R,B,I,O)},D=(f,h,v,w,k,R,B,I,O)=>{h.slotScopeIds=I,f==null?h.shapeFlag&512?k.ctx.activate(h,v,w,B,O):we(h,v,w,k,R,B,O):at(f,h,O)},we=(f,h,v,w,k,R,B)=>{const I=f.component=Ec(f,w,k);if(wr(f)&&(I.ctx.renderer=M),Cc(I),I.asyncDep){if(k&&k.registerDep(I,xe),!f.el){const O=I.subTree=Te(Ve);E(null,O,h,v)}return}xe(I,f,h,v,k,R,B)},at=(f,h,v)=>{const w=h.component=f.component;if(Ma(f,h,v))if(w.asyncDep&&!w.asyncResolved){he(w,h,v);return}else w.next=h,Pa(w.update),w.update();else h.el=f.el,w.vnode=h},xe=(f,h,v,w,k,R,B)=>{const I=()=>{if(f.isMounted){let{next:V,bu:W,u:q,parent:G,vnode:oe}=f,ge=V,fe;It(f,!1),V?(V.el=oe.el,he(f,V,B)):V=oe,W&&er(W),(fe=V.props&&V.props.onVnodeBeforeUpdate)&&rt(fe,G,V,oe),It(f,!0);const Ee=Lr(f),qe=f.subTree;f.subTree=Ee,y(qe,Ee,d(qe.el),_(qe),f,k,R),V.el=Ee.el,ge===null&&$a(f,Ee.el),q&&Be(q,k),(fe=V.props&&V.props.onVnodeUpdated)&&Be(()=>rt(fe,G,V,oe),k)}else{let V;const{el:W,props:q}=h,{bm:G,m:oe,parent:ge}=f,fe=xn(h);if(It(f,!1),G&&er(G),!fe&&(V=q&&q.onVnodeBeforeMount)&&rt(V,ge,h),It(f,!0),W&&ue){const Ee=()=>{f.subTree=Lr(f),ue(W,f.subTree,f,k,null)};fe?h.type.__asyncLoader().then(()=>!f.isUnmounted&&Ee()):Ee()}else{const Ee=f.subTree=Lr(f);y(null,Ee,v,w,f,k,R),h.el=Ee.el}if(oe&&Be(oe,k),!fe&&(V=q&&q.onVnodeMounted)){const Ee=h;Be(()=>rt(V,ge,Ee),k)}(h.shapeFlag&256||ge&&xn(ge.vnode)&&ge.vnode.shapeFlag&256)&&f.a&&Be(f.a,k),f.isMounted=!0,h=v=w=null}},O=f.effect=new _o(I,()=>Ao(P),f.scope),P=f.update=()=>O.run();P.id=f.uid,It(f,!0),P()},he=(f,h,v)=>{h.component=f;const w=f.vnode.props;f.vnode=h,f.next=null,uc(f,h.props,w,v),pc(f,h.children,v),an(),ss(),cn()},ce=(f,h,v,w,k,R,B,I,O=!1)=>{const P=f&&f.children,V=f?f.shapeFlag:0,W=h.children,{patchFlag:q,shapeFlag:G}=h;if(q>0){if(q&128){bt(P,W,v,w,k,R,B,I,O);return}else if(q&256){ct(P,W,v,w,k,R,B,I,O);return}}G&8?(V&16&&Se(P,k,R),W!==P&&u(v,W)):V&16?G&16?bt(P,W,v,w,k,R,B,I,O):Se(P,k,R,!0):(V&8&&u(v,""),G&16&&Q(W,v,w,k,R,B,I,O))},ct=(f,h,v,w,k,R,B,I,O)=>{f=f||Qt,h=h||Qt;const P=f.length,V=h.length,W=Math.min(P,V);let q;for(q=0;q<W;q++){const G=h[q]=O?kt(h[q]):ot(h[q]);y(f[q],G,v,null,k,R,B,I,O)}P>V?Se(f,k,R,!0,!1,W):Q(h,v,w,k,R,B,I,O,W)},bt=(f,h,v,w,k,R,B,I,O)=>{let P=0;const V=h.length;let W=f.length-1,q=V-1;for(;P<=W&&P<=q;){const G=f[P],oe=h[P]=O?kt(h[P]):ot(h[P]);if($t(G,oe))y(G,oe,v,null,k,R,B,I,O);else break;P++}for(;P<=W&&P<=q;){const G=f[W],oe=h[q]=O?kt(h[q]):ot(h[q]);if($t(G,oe))y(G,oe,v,null,k,R,B,I,O);else break;W--,q--}if(P>W){if(P<=q){const G=q+1,oe=G<V?h[G].el:w;for(;P<=q;)y(null,h[P]=O?kt(h[P]):ot(h[P]),v,oe,k,R,B,I,O),P++}}else if(P>q)for(;P<=W;)He(f[P],k,R,!0),P++;else{const G=P,oe=P,ge=new Map;for(P=oe;P<=q;P++){const Fe=h[P]=O?kt(h[P]):ot(h[P]);Fe.key!=null&&ge.set(Fe.key,P)}let fe,Ee=0;const qe=q-oe+1;let Xt=!1,Vo=0;const hn=new Array(qe);for(P=0;P<qe;P++)hn[P]=0;for(P=G;P<=W;P++){const Fe=f[P];if(Ee>=qe){He(Fe,k,R,!0);continue}let nt;if(Fe.key!=null)nt=ge.get(Fe.key);else for(fe=oe;fe<=q;fe++)if(hn[fe-oe]===0&&$t(Fe,h[fe])){nt=fe;break}nt===void 0?He(Fe,k,R,!0):(hn[nt-oe]=P+1,nt>=Vo?Vo=nt:Xt=!0,y(Fe,h[nt],v,null,k,R,B,I,O),Ee++)}const qo=Xt?vc(hn):Qt;for(fe=qo.length-1,P=qe-1;P>=0;P--){const Fe=oe+P,nt=h[Fe],Jo=Fe+1<V?h[Fe+1].el:w;hn[P]===0?y(null,nt,v,Jo,k,R,B,I,O):Xt&&(fe<0||P!==qo[fe]?tt(nt,v,Jo,2):fe--)}}},tt=(f,h,v,w,k=null)=>{const{el:R,type:B,transition:I,children:O,shapeFlag:P}=f;if(P&6){tt(f.component.subTree,h,v,w);return}if(P&128){f.suspense.move(h,v,w);return}if(P&64){B.move(f,h,v,M);return}if(B===Ie){r(R,h,v);for(let W=0;W<O.length;W++)tt(O[W],h,v,w);r(f.anchor,h,v);return}if(B===En){X(f,h,v);return}if(w!==2&&P&1&&I)if(w===0)I.beforeEnter(R),r(R,h,v),Be(()=>I.enter(R),k);else{const{leave:W,delayLeave:q,afterLeave:G}=I,oe=()=>r(R,h,v),ge=()=>{W(R,()=>{oe(),G&&G()})};q?q(R,oe,ge):ge()}else r(R,h,v)},He=(f,h,v,w=!1,k=!1)=>{const{type:R,props:B,ref:I,children:O,dynamicChildren:P,shapeFlag:V,patchFlag:W,dirs:q}=f;if(I!=null&&lo(I,null,v,f,!0),V&256){h.ctx.deactivate(f);return}const G=V&1&&q,oe=!xn(f);let ge;if(oe&&(ge=B&&B.onVnodeBeforeUnmount)&&rt(ge,h,f),V&6)jn(f.component,v,w);else{if(V&128){f.suspense.unmount(v,w);return}G&&St(f,null,h,"beforeUnmount"),V&64?f.type.remove(f,h,v,k,M,w):P&&(R!==Ie||W>0&&W&64)?Se(P,h,v,!1,!0):(R===Ie&&W&384||!k&&V&16)&&Se(O,h,v),w&&Wt(f)}(oe&&(ge=B&&B.onVnodeUnmounted)||G)&&Be(()=>{ge&&rt(ge,h,f),G&&St(f,null,h,"unmounted")},v)},Wt=f=>{const{type:h,el:v,anchor:w,transition:k}=f;if(h===Ie){Kt(v,w);return}if(h===En){H(f);return}const R=()=>{o(v),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(f.shapeFlag&1&&k&&!k.persisted){const{leave:B,delayLeave:I}=k,O=()=>B(v,R);I?I(f.el,R,O):O()}else R()},Kt=(f,h)=>{let v;for(;f!==h;)v=p(f),o(f),f=v;o(h)},jn=(f,h,v)=>{const{bum:w,scope:k,update:R,subTree:B,um:I}=f;w&&er(w),k.stop(),R&&(R.active=!1,He(B,f,h,v)),I&&Be(I,h),Be(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Se=(f,h,v,w=!1,k=!1,R=0)=>{for(let B=R;B<f.length;B++)He(f[B],h,v,w,k)},_=f=>f.shapeFlag&6?_(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el),N=(f,h,v)=>{f==null?h._vnode&&He(h._vnode,null,null,!0):y(h._vnode||null,f,h,null,null,null,v),ss(),Mi(),h._vnode=f},M={p:y,um:He,m:tt,r:Wt,mt:we,mc:Q,pc:ce,pbc:se,n:_,o:e};let U,ue;return t&&([U,ue]=t(M)),{render:N,hydrate:U,createApp:ac(N,U)}}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function el(e,t,n=!1){const r=e.children,o=t.children;if(J(r)&&J(o))for(let s=0;s<r.length;s++){const i=r[s];let l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=kt(o[s]),l.el=i.el),n||el(i,l)),l.type===_r&&(l.el=i.el)}}function vc(e){const t=e.slice(),n=[0];let r,o,s,i,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const mc=e=>e.__isTeleport,Ie=Symbol.for("v-fgt"),_r=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),En=Symbol.for("v-stc"),Cn=[];let Qe=null;function T(e=!1){Cn.push(Qe=e?null:[])}function bc(){Cn.pop(),Qe=Cn[Cn.length-1]||null}let Ln=1;function ms(e){Ln+=e}function tl(e){return e.dynamicChildren=Ln>0?Qe||Qt:null,bc(),Ln>0&&Qe&&Qe.push(e),e}function A(e,t,n,r,o,s){return tl(S(e,t,n,r,o,s,!0))}function mt(e,t,n,r,o){return tl(Te(e,t,n,r,o,!0))}function lr(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const kr="__vInternal",nl=({key:e})=>e??null,tr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Pe(e)||te(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function S(e,t=null,n=null,r=0,o=null,s=e===Ie?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nl(t),ref:t&&tr(t),scopeId:br,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:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ae};return l?(Bo(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=ke(n)?8:16),Ln>0&&!i&&Qe&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&Qe.push(a),a}const Te=yc;function yc(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ji)&&(e=Ve),lr(e)){const l=At(e,t,!0);return n&&Bo(l,n),Ln>0&&!s&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag|=-2,l}if(Ac(e)&&(e=e.__vccOpts),t){t=wc(t);let{class:l,style:a}=t;l&&!ke(l)&&(t.class=Me(l)),be(a)&&(Ri(a)&&!J(a)&&(a=_e({},a)),t.style=wo(a))}const i=ke(e)?1:Ha(e)?128:mc(e)?64:be(e)?4:te(e)?2:0;return S(e,t,n,r,o,i,s,!0)}function wc(e){return e?Ri(e)||kr in e?_e({},e):e:null}function At(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,l=t?Do(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&nl(l),ref:t&&t.ref?n&&o?J(o)?o.concat(tr(t)):[o,tr(t)]:tr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ho(e=" ",t=0){return Te(_r,null,e,t)}function xc(e,t){const n=Te(En,null,e);return n.staticCount=t,n}function lt(e="",t=!1){return t?(T(),mt(Ve,null,e)):Te(Ve,null,e)}function ot(e){return e==null||typeof e=="boolean"?Te(Ve):J(e)?Te(Ie,null,e.slice()):typeof e=="object"?kt(e):Te(_r,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function Bo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Bo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(kr in t)?t._ctx=Ae:o===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),r&64?(n=16,t=[Ho(t)]):n=8);e.children=t,e.shapeFlag|=n}function Do(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Me([t.class,r.class]));else if(o==="style")t.style=wo([t.style,r.style]);else if(ur(o)){const s=t[o],i=r[o];i&&s!==i&&!(J(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function rt(e,t,n,r=null){ze(e,t,7,[n,r])}const _c=Vi();let kc=0;function Ec(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||_c,s={uid:kc++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new zl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ji(r,o),emitsOptions:Hi(r,o),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,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 s.ctx={_:s},s.root=t?t.root:s,s.emit=Ia.bind(null,s),e.ce&&e.ce(s),s}let Re=null;const Nn=()=>Re||Ae;let No,zt,bs="__VUE_INSTANCE_SETTERS__";(zt=qr()[bs])||(zt=qr()[bs]=[]),zt.push(e=>Re=e),No=e=>{zt.length>1?zt.forEach(t=>t(e)):zt[0](e)};const on=e=>{No(e),e.scope.on()},Nt=()=>{Re&&Re.scope.off(),No(null)};function rl(e){return e.vnode.shapeFlag&4}let On=!1;function Cc(e,t=!1){On=t;const{props:n,children:r}=e.vnode,o=rl(e);cc(e,n,o,t),fc(e,r);const s=o?Rc(e,t):void 0;return On=!1,s}function Rc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ti(new Proxy(e.ctx,Za));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?sl(e):null;on(e),an();const s=Tt(r,e,0,[e.props,o]);if(cn(),Nt(),ci(s)){if(s.then(Nt,Nt),t)return s.then(i=>{ys(e,i,t)}).catch(i=>{vr(i,e,0)});e.asyncDep=s}else ys(e,s,t)}else ol(e,t)}function ys(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:be(t)&&(e.setupState=Ii(t)),ol(e,n)}let ws;function ol(e,t,n){const r=e.type;if(!e.render){if(!t&&ws&&!r.render){const o=r.template||Mo(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=_e(_e({isCustomElement:s,delimiters:l},i),a);r.render=ws(o,c)}}e.render=r.render||Ge}on(e),an(),nc(e),cn(),Nt()}function Tc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ye(e,"get","$attrs"),t[n]}}))}function sl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Tc(e)},slots:e.slots,emit:e.emit,expose:t}}function Er(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Ti(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)},has(t,n){return n in t||n in _n}}))}function Pc(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function Ac(e){return te(e)&&"__vccOpts"in e}const z=(e,t)=>Ca(e,t,On);function Cr(e,t,n){const r=arguments.length;return r===2?be(t)&&!J(t)?lr(t)?Te(e,null,[t]):Te(e,t):Te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&lr(n)&&(n=[n]),Te(e,t,n))}const Sc=Symbol.for("v-scx"),Ic=()=>Ue(Sc),Lc="3.3.4",Oc="http://www.w3.org/2000/svg",Ht=typeof document<"u"?document:null,xs=Ht&&Ht.createElement("template"),Mc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Ht.createElementNS(Oc,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xs.innerHTML=r?`<svg>${e}</svg>`:e;const l=xs.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function $c(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Hc(e,t,n){const r=e.style,o=ke(n);if(n&&!o){if(t&&!ke(t))for(const s in t)n[s]==null&&ao(r,s,"");for(const s in n)ao(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const _s=/\s*!important$/;function ao(e,t,n){if(J(n))n.forEach(r=>ao(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bc(e,t);_s.test(n)?e.setProperty(Xe(r),n.replace(_s,""),"important"):e[r]=n}}const ks=["Webkit","Moz","ms"],$r={};function Bc(e,t){const n=$r[t];if(n)return n;let r=We(t);if(r!=="filter"&&r in e)return $r[t]=r;r=pr(r);for(let o=0;o<ks.length;o++){const s=ks[o]+r;if(s in e)return $r[t]=s}return t}const Es="http://www.w3.org/1999/xlink";function Dc(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Es,t.slice(6,t.length)):e.setAttributeNS(Es,t,n);else{const s=Xl(t);n==null||s&&!fi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Nc(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=fi(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Ut(e,t,n,r){e.addEventListener(t,n,r)}function Yc(e,t,n,r){e.removeEventListener(t,n,r)}function Fc(e,t,n,r,o=null){const s=e._vei||(e._vei={}),i=s[t];if(r&&i)i.value=r;else{const[l,a]=jc(t);if(r){const c=s[t]=Xc(r,o);Ut(e,l,c,a)}else i&&(Yc(e,l,i,a),s[t]=void 0)}}const Cs=/(?:Once|Passive|Capture)$/;function jc(e){let t;if(Cs.test(e)){t={};let r;for(;r=e.match(Cs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Xe(e.slice(2)),t]}let Hr=0;const Wc=Promise.resolve(),Kc=()=>Hr||(Wc.then(()=>Hr=0),Hr=Date.now());function Xc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ze(zc(r,n.value),t,5,[r])};return n.value=e,n.attached=Kc(),n}function zc(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Rs=/^on[a-z]/,Uc=(e,t,n,r,o=!1,s,i,l,a)=>{t==="class"?$c(e,r,o):t==="style"?Hc(e,n,r):ur(t)?vo(t)||Fc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vc(e,t,r,o))?Nc(e,t,r,s,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Dc(e,t,r,o))};function Vc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Rs.test(t)&&te(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Rs.test(t)&&ke(n)?!1:t in e}function $(e,t){const n=j(e);class r extends Yo{constructor(s){super(n,s,t)}}return r.def=n,r}const qc=typeof HTMLElement<"u"?HTMLElement:class{};class Yo extends qc{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,De(()=>{this._connected||($s(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}).observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:s,styles:i}=r;let l;if(s&&!J(s))for(const a in s){const c=s[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=Vr(this._props[a])),(l||(l=Object.create(null)))[We(a)]=!0)}this._numberProps=l,o&&this._resolveProps(r),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=J(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(We))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s)}})}_setAttr(t){let n=this.getAttribute(t);const r=We(t);this._numberProps&&this._numberProps[r]&&(n=Vr(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Xe(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Xe(t),n+""):n||this.removeAttribute(Xe(t))))}_update(){$s(this._createVNode(),this.shadowRoot)}_createVNode(){const t=Te(this._def,_e({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(s,i)=>{this.dispatchEvent(new CustomEvent(s,{detail:i}))};n.emit=(s,...i)=>{r(s,i),Xe(s)!==s&&r(Xe(s),i)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Yo){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function Fo(e){const t=Nn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>uo(s,o))},r=()=>{const o=e(t.proxy);co(t.subTree,o),n(o)};Da(r),Io(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Lo(()=>o.disconnect())})}function co(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{co(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)uo(e.el,t);else if(e.type===Ie)e.children.forEach(n=>co(n,t));else if(e.type===En){let{el:n,anchor:r}=e;for(;n&&(uo(n,t),n!==r);)n=n.nextSibling}}function uo(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const wt="transition",gn="animation",un=(e,{slots:t})=>Cr(ja,Jc(e),t);un.displayName="Transition";const il={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};un.props=_e({},Di,il);const Lt=(e,t=[])=>{J(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?J(e)?e.some(t=>t.length>1):e.length>1:!1;function Jc(e){const t={};for(const L in e)L in il||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,b=Qc(o),y=b&&b[0],C=b&&b[1],{onBeforeEnter:E,onEnter:x,onEnterCancelled:X,onLeave:H,onLeaveCancelled:re,onBeforeAppear:pe=E,onAppear:ve=x,onAppearCancelled:Q=X}=t,le=(L,D,we)=>{Ot(L,D?u:l),Ot(L,D?c:i),we&&we()},se=(L,D)=>{L._isLeaving=!1,Ot(L,d),Ot(L,m),Ot(L,p),D&&D()},K=L=>(D,we)=>{const at=L?ve:x,xe=()=>le(D,L,we);Lt(at,[D,xe]),Ps(()=>{Ot(D,L?a:s),xt(D,L?u:l),Ts(at)||As(D,r,y,xe)})};return _e(t,{onBeforeEnter(L){Lt(E,[L]),xt(L,s),xt(L,i)},onBeforeAppear(L){Lt(pe,[L]),xt(L,a),xt(L,c)},onEnter:K(!1),onAppear:K(!0),onLeave(L,D){L._isLeaving=!0;const we=()=>se(L,D);xt(L,d),eu(),xt(L,p),Ps(()=>{L._isLeaving&&(Ot(L,d),xt(L,m),Ts(H)||As(L,r,C,we))}),Lt(H,[L,we])},onEnterCancelled(L){le(L,!1),Lt(X,[L])},onAppearCancelled(L){le(L,!0),Lt(Q,[L])},onLeaveCancelled(L){se(L),Lt(re,[L])}})}function Qc(e){if(e==null)return null;if(be(e))return[Br(e.enter),Br(e.leave)];{const t=Br(e);return[t,t]}}function Br(e){return Vr(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ps(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Gc=0;function As(e,t,n,r){const o=e._endId=++Gc,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=Zc(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=m=>{m.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},l+1),e.addEventListener(c,p)}function Zc(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),o=r(`${wt}Delay`),s=r(`${wt}Duration`),i=Ss(o,s),l=r(`${gn}Delay`),a=r(`${gn}Duration`),c=Ss(l,a);let u=null,d=0,p=0;t===wt?i>0&&(u=wt,d=i,p=s.length):t===gn?c>0&&(u=gn,d=c,p=a.length):(d=Math.max(i,c),u=d>0?i>c?wt:gn:null,p=u?u===wt?s.length:a.length:0);const m=u===wt&&/\b(transform|all)(,|$)/.test(r(`${wt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:m}}function Ss(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Is(n)+Is(e[r])))}function Is(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function eu(){return document.body.offsetHeight}const Ls=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>er(t,n):t};function tu(e){e.target.composing=!0}function Os(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nu={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=Ls(o);const s=r||o.props&&o.props.type==="number";Ut(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=Ur(l)),e._assign(l)}),n&&Ut(e,"change",()=>{e.value=e.value.trim()}),t||(Ut(e,"compositionstart",tu),Ut(e,"compositionend",Os),Ut(e,"change",Os))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=Ls(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&Ur(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},ru=["ctrl","shift","alt","meta"],ou={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ru.some(n=>e[`${n}Key`]&&!t.includes(n))},Z=(e,t)=>(n,...r)=>{for(let o=0;o<t.length;o++){const s=ou[t[o]];if(s&&s(n,t))return}return e(n,...r)},su={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ne=(e,t)=>n=>{if(!("key"in n))return;const r=Xe(n.key);if(t.some(o=>o===r||su[o]===r))return e(n)},ll={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):vn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),vn(e,!0),r.enter(e)):r.leave(e,()=>{vn(e,!1)}):vn(e,t))},beforeUnmount(e,{value:t}){vn(e,t)}};function vn(e,t){e.style.display=t?e._vod:"none"}const iu=_e({patchProp:Uc},Mc);let Ms;function al(){return Ms||(Ms=hc(iu))}const $s=(...e)=>{al().render(...e)},lu=(...e)=>{const t=al().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=au(r);if(!o)return;const s=t._component;!te(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function au(e){return ke(e)?document.querySelector(e):e}/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Vt=typeof window<"u";function cu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const de=Object.assign;function Dr(e,t){const n={};for(const r in t){const o=t[r];n[r]=Ze(o)?o.map(e):e(o)}return n}const Rn=()=>{},Ze=Array.isArray,uu=/\/$/,du=e=>e.replace(uu,"");function Nr(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(r=t.slice(0,a),s=t.slice(a+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=gu(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function fu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hs(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pu(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&sn(t.matched[r],n.matched[o])&&cl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function sn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function cl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hu(e[n],t[n]))return!1;return!0}function hu(e,t){return Ze(e)?Bs(e,t):Ze(t)?Bs(t,e):e===t}function Bs(e,t){return Ze(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function gu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,l;for(i=0;i<r.length;i++)if(l=r[i],l!==".")if(l==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Mn;(function(e){e.pop="pop",e.push="push"})(Mn||(Mn={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function vu(e){if(!e)if(Vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),du(e)}const mu=/^[^#]+#/;function bu(e,t){return e.replace(mu,"#")+t}function yu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Rr=()=>({left:window.pageXOffset,top:window.pageYOffset});function wu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=yu(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ds(e,t){return(history.state?history.state.position-t:-1)+e}const fo=new Map;function xu(e,t){fo.set(e,t)}function _u(e){const t=fo.get(e);return fo.delete(e),t}let ku=()=>location.protocol+"//"+location.host;function ul(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let l=o.includes(e.slice(s))?e.slice(s).length:1,a=o.slice(l);return a[0]!=="/"&&(a="/"+a),Hs(a,"")}return Hs(n,e)+r+o}function Eu(e,t,n,r){let o=[],s=[],i=null;const l=({state:p})=>{const m=ul(e,location),b=n.value,y=t.value;let C=0;if(p){if(n.value=m,t.value=p,i&&i===b){i=null;return}C=y?p.position-y.position:0}else r(m);o.forEach(E=>{E(n.value,b,{delta:C,type:Mn.pop,direction:C?C>0?Tn.forward:Tn.back:Tn.unknown})})};function a(){i=n.value}function c(p){o.push(p);const m=()=>{const b=o.indexOf(p);b>-1&&o.splice(b,1)};return s.push(m),m}function u(){const{history:p}=window;p.state&&p.replaceState(de({},p.state,{scroll:Rr()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function Ns(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Rr():null}}function Cu(e){const{history:t,location:n}=window,r={value:ul(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:ku()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function i(a,c){const u=de({},t.state,Ns(o.value.back,a,o.value.forward,!0),c,{position:o.value.position});s(a,u,!0),r.value=a}function l(a,c){const u=de({},o.value,t.state,{forward:a,scroll:Rr()});s(u.current,u,!0);const d=de({},Ns(r.value,a,null),{position:u.position+1},c);s(a,d,!1),r.value=a}return{location:r,state:o,push:l,replace:i}}function Ru(e){e=vu(e);const t=Cu(e),n=Eu(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=de({location:"",base:e,go:r,createHref:bu.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Tu(e){return typeof e=="string"||e&&typeof e=="object"}function dl(e){return typeof e=="string"||typeof e=="symbol"}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},fl=Symbol("");var Ys;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ys||(Ys={}));function ln(e,t){return de(new Error,{type:e,[fl]:!0},t)}function ut(e,t){return e instanceof Error&&fl in e&&(t==null||!!(e.type&t))}const Fs="[^/]+?",Pu={sensitive:!1,strict:!1,start:!0,end:!0},Au=/[.+*?^${}()[\]/\\]/g;function Su(e,t){const n=de({},Pu,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;d<c.length;d++){const p=c[d];let m=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(Au,"\\$&"),m+=40;else if(p.type===1){const{value:b,repeatable:y,optional:C,regexp:E}=p;s.push({name:b,repeatable:y,optional:C});const x=E||Fs;if(x!==Fs){m+=10;try{new RegExp(`(${x})`)}catch(H){throw new Error(`Invalid custom RegExp for param "${b}" (${x}): `+H.message)}}let X=y?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;d||(X=C&&c.length<2?`(?:/${X})`:"/"+X),C&&(X+="?"),o+=X,m+=20,C&&(m+=-8),y&&(m+=-20),x===".*"&&(m+=-50)}u.push(m)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(c){const u=c.match(i),d={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",b=s[p-1];d[b.name]=m&&b.repeatable?m.split("/"):m}return d}function a(c){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const m of p)if(m.type===0)u+=m.value;else if(m.type===1){const{value:b,repeatable:y,optional:C}=m,E=b in c?c[b]:"";if(Ze(E)&&!y)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const x=Ze(E)?E.join("/"):E;if(!x)if(C)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);u+=x}}return u||"/"}return{re:i,score:r,keys:s,parse:l,stringify:a}}function Iu(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Lu(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Iu(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(js(r))return 1;if(js(o))return-1}return o.length-r.length}function js(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ou={type:0,value:""},Mu=/[a-zA-Z0-9_]/;function $u(e){if(!e)return[[]];if(e==="/")return[[Ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,a,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),i()):a===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:a==="("?n=2:Mu.test(a)?p():(d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),o}function Hu(e,t,n){const r=Su($u(e.path),n),o=de(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Bu(e,t){const n=[],r=new Map;t=Xs({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,d,p){const m=!p,b=Du(u);b.aliasOf=p&&p.record;const y=Xs(t,u),C=[b];if("alias"in u){const X=typeof u.alias=="string"?[u.alias]:u.alias;for(const H of X)C.push(de({},b,{components:p?p.record.components:b.components,path:H,aliasOf:p?p.record:b}))}let E,x;for(const X of C){const{path:H}=X;if(d&&H[0]!=="/"){const re=d.record.path,pe=re[re.length-1]==="/"?"":"/";X.path=d.record.path+(H&&pe+H)}if(E=Hu(X,d,y),p?p.alias.push(E):(x=x||E,x!==E&&x.alias.push(E),m&&u.name&&!Ks(E)&&i(u.name)),b.children){const re=b.children;for(let pe=0;pe<re.length;pe++)s(re[pe],E,p&&p.children[pe])}p=p||E,(E.record.components&&Object.keys(E.record.components).length||E.record.name||E.record.redirect)&&a(E)}return x?()=>{i(x)}:Rn}function i(u){if(dl(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let d=0;for(;d<n.length&&Lu(u,n[d])>=0&&(u.record.path!==n[d].record.path||!pl(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ks(u)&&r.set(u.record.name,u)}function c(u,d){let p,m={},b,y;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw ln(1,{location:u});y=p.record.name,m=de(Ws(d.params,p.keys.filter(x=>!x.optional).map(x=>x.name)),u.params&&Ws(u.params,p.keys.map(x=>x.name))),b=p.stringify(m)}else if("path"in u)b=u.path,p=n.find(x=>x.re.test(b)),p&&(m=p.parse(b),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw ln(1,{location:u,currentLocation:d});y=p.record.name,m=de({},d.params,u.params),b=p.stringify(m)}const C=[];let E=p;for(;E;)C.unshift(E.record),E=E.parent;return{name:y,path:b,params:m,matched:C,meta:Yu(C)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Ws(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Du(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Nu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Nu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ks(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Yu(e){return e.reduce((t,n)=>de(t,n.meta),{})}function Xs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pl(e,t){return t.children.some(n=>n===e||pl(e,n))}const hl=/#/g,Fu=/&/g,ju=/\//g,Wu=/=/g,Ku=/\?/g,gl=/\+/g,Xu=/%5B/g,zu=/%5D/g,vl=/%5E/g,Uu=/%60/g,ml=/%7B/g,Vu=/%7C/g,bl=/%7D/g,qu=/%20/g;function jo(e){return encodeURI(""+e).replace(Vu,"|").replace(Xu,"[").replace(zu,"]")}function Ju(e){return jo(e).replace(ml,"{").replace(bl,"}").replace(vl,"^")}function po(e){return jo(e).replace(gl,"%2B").replace(qu,"+").replace(hl,"%23").replace(Fu,"%26").replace(Uu,"`").replace(ml,"{").replace(bl,"}").replace(vl,"^")}function Qu(e){return po(e).replace(Wu,"%3D")}function Gu(e){return jo(e).replace(hl,"%23").replace(Ku,"%3F")}function Zu(e){return e==null?"":Gu(e).replace(ju,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ed(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(gl," "),i=s.indexOf("="),l=ar(i<0?s:s.slice(0,i)),a=i<0?null:ar(s.slice(i+1));if(l in t){let c=t[l];Ze(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function zs(e){let t="";for(let n in e){const r=e[n];if(n=Qu(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ze(r)?r.map(s=>s&&po(s)):[r&&po(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function td(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ze(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const nd=Symbol(""),Us=Symbol(""),Tr=Symbol(""),Wo=Symbol(""),ho=Symbol("");function mn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Et(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,l)=>{const a=d=>{d===!1?l(ln(4,{from:n,to:t})):d instanceof Error?l(d):Tu(d)?l(ln(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),i())},c=e.call(r&&r.instances[o],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(d=>l(d))})}function Yr(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let l=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(rd(l)){const c=(l.__vccOpts||l)[t];c&&o.push(Et(c,n,r,s,i))}else{let a=l();o.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=cu(c)?c.default:c;s.components[i]=u;const p=(u.__vccOpts||u)[t];return p&&Et(p,n,r,s,i)()}))}}return o}function rd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Vs(e){const t=Ue(Tr),n=Ue(Wo),r=z(()=>t.resolve(g(e.to))),o=z(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(sn.bind(null,u));if(p>-1)return p;const m=qs(a[c-2]);return c>1&&qs(u)===m&&d[d.length-1].path!==m?d.findIndex(sn.bind(null,a[c-2])):p}),s=z(()=>o.value>-1&&ld(n.params,r.value.params)),i=z(()=>o.value>-1&&o.value===n.matched.length-1&&cl(n.params,r.value.params));function l(a={}){return id(a)?t[g(e.replace)?"replace":"push"](g(e.to)).catch(Rn):Promise.resolve()}return{route:r,href:z(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}const od=j({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vs,setup(e,{slots:t}){const n=$n(Vs(e)),{options:r}=Ue(Tr),o=z(()=>({[Js(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Js(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Cr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),sd=od;function id(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ld(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Ze(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function qs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Js=(e,t,n)=>e??t??n,ad=j({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ue(ho),o=z(()=>e.route||r.value),s=Ue(Us,0),i=z(()=>{let c=g(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=z(()=>o.value.matched[i.value]);kn(Us,z(()=>i.value+1)),kn(nd,l),kn(ho,o);const a=ee();return tn(()=>[a.value,l.value,e.name],([c,u,d],[p,m,b])=>{u&&(u.instances[d]=c,m&&m!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!sn(u,m)||!p)&&(u.enterCallbacks[d]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=l.value,p=d&&d.components[u];if(!p)return Qs(n.default,{Component:p,route:c});const m=d.props[u],b=m?m===!0?c.params:typeof m=="function"?m(c):m:null,C=Cr(p,de({},b,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Qs(n.default,{Component:C,route:c})||C}}});function Qs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const cd=ad;function ud(e){const t=Bu(e.routes,e),n=e.parseQuery||ed,r=e.stringifyQuery||zs,o=e.history,s=mn(),i=mn(),l=mn(),a=xa(_t);let c=_t;Vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dr.bind(null,_=>""+_),d=Dr.bind(null,Zu),p=Dr.bind(null,ar);function m(_,N){let M,U;return dl(_)?(M=t.getRecordMatcher(_),U=N):U=_,t.addRoute(U,M)}function b(_){const N=t.getRecordMatcher(_);N&&t.removeRoute(N)}function y(){return t.getRoutes().map(_=>_.record)}function C(_){return!!t.getRecordMatcher(_)}function E(_,N){if(N=de({},N||a.value),typeof _=="string"){const v=Nr(n,_,N.path),w=t.resolve({path:v.path},N),k=o.createHref(v.fullPath);return de(v,w,{params:p(w.params),hash:ar(v.hash),redirectedFrom:void 0,href:k})}let M;if("path"in _)M=de({},_,{path:Nr(n,_.path,N.path).path});else{const v=de({},_.params);for(const w in v)v[w]==null&&delete v[w];M=de({},_,{params:d(v)}),N.params=d(N.params)}const U=t.resolve(M,N),ue=_.hash||"";U.params=u(p(U.params));const f=fu(r,de({},_,{hash:Ju(ue),path:U.path})),h=o.createHref(f);return de({fullPath:f,hash:ue,query:r===zs?td(_.query):_.query||{}},U,{redirectedFrom:void 0,href:h})}function x(_){return typeof _=="string"?Nr(n,_,a.value.path):de({},_)}function X(_,N){if(c!==_)return ln(8,{from:N,to:_})}function H(_){return ve(_)}function re(_){return H(de(x(_),{replace:!0}))}function pe(_){const N=_.matched[_.matched.length-1];if(N&&N.redirect){const{redirect:M}=N;let U=typeof M=="function"?M(_):M;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=x(U):{path:U},U.params={}),de({query:_.query,hash:_.hash,params:"path"in U?{}:_.params},U)}}function ve(_,N){const M=c=E(_),U=a.value,ue=_.state,f=_.force,h=_.replace===!0,v=pe(M);if(v)return ve(de(x(v),{state:typeof v=="object"?de({},ue,v.state):ue,force:f,replace:h}),N||M);const w=M;w.redirectedFrom=N;let k;return!f&&pu(r,U,M)&&(k=ln(16,{to:w,from:U}),tt(U,U,!0,!1)),(k?Promise.resolve(k):se(w,U)).catch(R=>ut(R)?ut(R,2)?R:bt(R):ce(R,w,U)).then(R=>{if(R){if(ut(R,2))return ve(de({replace:h},x(R.to),{state:typeof R.to=="object"?de({},ue,R.to.state):ue,force:f}),N||w)}else R=L(w,U,!0,h,ue);return K(w,U,R),R})}function Q(_,N){const M=X(_,N);return M?Promise.reject(M):Promise.resolve()}function le(_){const N=Kt.values().next().value;return N&&typeof N.runWithContext=="function"?N.runWithContext(_):_()}function se(_,N){let M;const[U,ue,f]=dd(_,N);M=Yr(U.reverse(),"beforeRouteLeave",_,N);for(const v of U)v.leaveGuards.forEach(w=>{M.push(Et(w,_,N))});const h=Q.bind(null,_,N);return M.push(h),Se(M).then(()=>{M=[];for(const v of s.list())M.push(Et(v,_,N));return M.push(h),Se(M)}).then(()=>{M=Yr(ue,"beforeRouteUpdate",_,N);for(const v of ue)v.updateGuards.forEach(w=>{M.push(Et(w,_,N))});return M.push(h),Se(M)}).then(()=>{M=[];for(const v of f)if(v.beforeEnter)if(Ze(v.beforeEnter))for(const w of v.beforeEnter)M.push(Et(w,_,N));else M.push(Et(v.beforeEnter,_,N));return M.push(h),Se(M)}).then(()=>(_.matched.forEach(v=>v.enterCallbacks={}),M=Yr(f,"beforeRouteEnter",_,N),M.push(h),Se(M))).then(()=>{M=[];for(const v of i.list())M.push(Et(v,_,N));return M.push(h),Se(M)}).catch(v=>ut(v,8)?v:Promise.reject(v))}function K(_,N,M){l.list().forEach(U=>le(()=>U(_,N,M)))}function L(_,N,M,U,ue){const f=X(_,N);if(f)return f;const h=N===_t,v=Vt?history.state:{};M&&(U||h?o.replace(_.fullPath,de({scroll:h&&v&&v.scroll},ue)):o.push(_.fullPath,ue)),a.value=_,tt(_,N,M,h),bt()}let D;function we(){D||(D=o.listen((_,N,M)=>{if(!jn.listening)return;const U=E(_),ue=pe(U);if(ue){ve(de(ue,{replace:!0}),U).catch(Rn);return}c=U;const f=a.value;Vt&&xu(Ds(f.fullPath,M.delta),Rr()),se(U,f).catch(h=>ut(h,12)?h:ut(h,2)?(ve(h.to,U).then(v=>{ut(v,20)&&!M.delta&&M.type===Mn.pop&&o.go(-1,!1)}).catch(Rn),Promise.reject()):(M.delta&&o.go(-M.delta,!1),ce(h,U,f))).then(h=>{h=h||L(U,f,!1),h&&(M.delta&&!ut(h,8)?o.go(-M.delta,!1):M.type===Mn.pop&&ut(h,20)&&o.go(-1,!1)),K(U,f,h)}).catch(Rn)}))}let at=mn(),xe=mn(),he;function ce(_,N,M){bt(_);const U=xe.list();return U.length?U.forEach(ue=>ue(_,N,M)):console.error(_),Promise.reject(_)}function ct(){return he&&a.value!==_t?Promise.resolve():new Promise((_,N)=>{at.add([_,N])})}function bt(_){return he||(he=!_,we(),at.list().forEach(([N,M])=>_?M(_):N()),at.reset()),_}function tt(_,N,M,U){const{scrollBehavior:ue}=e;if(!Vt||!ue)return Promise.resolve();const f=!M&&_u(Ds(_.fullPath,0))||(U||!M)&&history.state&&history.state.scroll||null;return De().then(()=>ue(_,N,f)).then(h=>h&&wu(h)).catch(h=>ce(h,_,N))}const He=_=>o.go(_);let Wt;const Kt=new Set,jn={currentRoute:a,listening:!0,addRoute:m,removeRoute:b,hasRoute:C,getRoutes:y,resolve:E,options:e,push:H,replace:re,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:xe.add,isReady:ct,install(_){const N=this;_.component("RouterLink",sd),_.component("RouterView",cd),_.config.globalProperties.$router=N,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>g(a)}),Vt&&!Wt&&a.value===_t&&(Wt=!0,H(o.location).catch(ue=>{}));const M={};for(const ue in _t)Object.defineProperty(M,ue,{get:()=>a.value[ue],enumerable:!0});_.provide(Tr,N),_.provide(Wo,Ci(M)),_.provide(ho,a);const U=_.unmount;Kt.add(_),_.unmount=function(){Kt.delete(_),Kt.size<1&&(c=_t,D&&D(),D=null,a.value=_t,Wt=!1,he=!1),U()}}};function Se(_){return _.reduce((N,M)=>N.then(()=>le(M)),Promise.resolve())}return jn}function dd(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const l=t.matched[i];l&&(e.matched.find(c=>sn(c,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>sn(c,a))||o.push(a))}return[n,r,o]}function fd(){return Ue(Tr)}function pd(){return Ue(Wo)}/*!
* perfect-scrollbar v1.5.3
* Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
* Licensed under MIT
*/function it(e){return getComputedStyle(e)}function Ne(e,t){for(var n in t){var r=t[n];typeof r=="number"&&(r=r+"px"),e.style[n]=r}return e}function qn(e){var t=document.createElement("div");return t.className=e,t}var Gs=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function Ct(e,t){if(!Gs)throw new Error("No element matching method supported");return Gs.call(e,t)}function Jt(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function Zs(e,t){return Array.prototype.filter.call(e.children,function(n){return Ct(n,t)})}var Ce={main:"ps",rtl:"ps__rtl",element:{thumb:function(e){return"ps__thumb-"+e},rail:function(e){return"ps__rail-"+e},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(e){return"ps--active-"+e},scrolling:function(e){return"ps--scrolling-"+e}}},yl={x:null,y:null};function wl(e,t){var n=e.element.classList,r=Ce.state.scrolling(t);n.contains(r)?clearTimeout(yl[t]):n.add(r)}function xl(e,t){yl[t]=setTimeout(function(){return e.isAlive&&e.element.classList.remove(Ce.state.scrolling(t))},e.settings.scrollingThreshold)}function hd(e,t){wl(e,t),xl(e,t)}var Yn=function(t){this.element=t,this.handlers={}},_l={isEmpty:{configurable:!0}};Yn.prototype.bind=function(t,n){typeof this.handlers[t]>"u"&&(this.handlers[t]=[]),this.handlers[t].push(n),this.element.addEventListener(t,n,!1)};Yn.prototype.unbind=function(t,n){var r=this;this.handlers[t]=this.handlers[t].filter(function(o){return n&&o!==n?!0:(r.element.removeEventListener(t,o,!1),!1)})};Yn.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)};_l.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return e.handlers[t].length===0})};Object.defineProperties(Yn.prototype,_l);var dn=function(){this.eventElements=[]};dn.prototype.eventElement=function(t){var n=this.eventElements.filter(function(r){return r.element===t})[0];return n||(n=new Yn(t),this.eventElements.push(n)),n};dn.prototype.bind=function(t,n,r){this.eventElement(t).bind(n,r)};dn.prototype.unbind=function(t,n,r){var o=this.eventElement(t);o.unbind(n,r),o.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(o),1)};dn.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]};dn.prototype.once=function(t,n,r){var o=this.eventElement(t),s=function(i){o.unbind(n,s),r(i)};o.bind(n,s)};function Jn(e){if(typeof window.CustomEvent=="function")return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function cr(e,t,n,r,o){r===void 0&&(r=!0),o===void 0&&(o=!1);var s;if(t==="top")s=["contentHeight","containerHeight","scrollTop","y","up","down"];else if(t==="left")s=["contentWidth","containerWidth","scrollLeft","x","left","right"];else throw new Error("A proper axis should be provided");gd(e,n,s,r,o)}function gd(e,t,n,r,o){var s=n[0],i=n[1],l=n[2],a=n[3],c=n[4],u=n[5];r===void 0&&(r=!0),o===void 0&&(o=!1);var d=e.element;e.reach[a]=null,d[l]<1&&(e.reach[a]="start"),d[l]>e[s]-e[i]-1&&(e.reach[a]="end"),t&&(d.dispatchEvent(Jn("ps-scroll-"+a)),t<0?d.dispatchEvent(Jn("ps-scroll-"+c)):t>0&&d.dispatchEvent(Jn("ps-scroll-"+u)),r&&hd(e,a)),e.reach[a]&&(t||o)&&d.dispatchEvent(Jn("ps-"+a+"-reach-"+e.reach[a]))}function ye(e){return parseInt(e,10)||0}function vd(e){return Ct(e,"input,[contenteditable]")||Ct(e,"select,[contenteditable]")||Ct(e,"textarea,[contenteditable]")||Ct(e,"button,[contenteditable]")}function md(e){var t=it(e);return ye(t.width)+ye(t.paddingLeft)+ye(t.paddingRight)+ye(t.borderLeftWidth)+ye(t.borderRightWidth)}var qt={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function ht(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.round(r.width),e.containerHeight=Math.round(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(Zs(t,Ce.element.rail("x")).forEach(function(o){return Jt(o)}),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(Zs(t,Ce.element.rail("y")).forEach(function(o){return Jt(o)}),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=ei(e,ye(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=ye((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=ei(e,ye(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=ye(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),bd(t,e),e.scrollbarXActive?t.classList.add(Ce.state.active("x")):(t.classList.remove(Ce.state.active("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=e.isRtl===!0?e.contentWidth:0),e.scrollbarYActive?t.classList.add(Ce.state.active("y")):(t.classList.remove(Ce.state.active("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function ei(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function bd(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);t.isRtl?n.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:n.left=e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r,Ne(t.scrollbarXRail,n);var o={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?t.isRtl?o.right=t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:o.right=t.scrollbarYRight-e.scrollLeft:t.isRtl?o.left=t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth*2-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:o.left=t.scrollbarYLeft+e.scrollLeft,Ne(t.scrollbarYRail,o),Ne(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),Ne(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}function yd(e){e.element,e.event.bind(e.scrollbarY,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarYRail,"mousedown",function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top,r=n>e.scrollbarYTop?1:-1;e.element.scrollTop+=r*e.containerHeight,ht(e),t.stopPropagation()}),e.event.bind(e.scrollbarX,"mousedown",function(t){return t.stopPropagation()}),e.event.bind(e.scrollbarXRail,"mousedown",function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left,r=n>e.scrollbarXLeft?1:-1;e.element.scrollLeft+=r*e.containerWidth,ht(e),t.stopPropagation()})}function wd(e){ti(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),ti(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])}function ti(e,t){var n=t[0],r=t[1],o=t[2],s=t[3],i=t[4],l=t[5],a=t[6],c=t[7],u=t[8],d=e.element,p=null,m=null,b=null;function y(x){x.touches&&x.touches[0]&&(x[o]=x.touches[0].pageY),d[a]=p+b*(x[o]-m),wl(e,c),ht(e),x.stopPropagation(),x.type.startsWith("touch")&&x.changedTouches.length>1&&x.preventDefault()}function C(){xl(e,c),e[u].classList.remove(Ce.state.clicking),e.event.unbind(e.ownerDocument,"mousemove",y)}function E(x,X){p=d[a],X&&x.touches&&(x[o]=x.touches[0].pageY),m=x[o],b=(e[r]-e[n])/(e[s]-e[l]),X?e.event.bind(e.ownerDocument,"touchmove",y):(e.event.bind(e.ownerDocument,"mousemove",y),e.event.once(e.ownerDocument,"mouseup",C),x.preventDefault()),e[u].classList.add(Ce.state.clicking),x.stopPropagation()}e.event.bind(e[i],"mousedown",function(x){E(x)}),e.event.bind(e[i],"touchstart",function(x){E(x,!0)})}function xd(e){var t=e.element,n=function(){return Ct(t,":hover")},r=function(){return Ct(e.scrollbarX,":focus")||Ct(e.scrollbarY,":focus")};function o(s,i){var l=Math.floor(t.scrollTop);if(s===0){if(!e.scrollbarYActive)return!1;if(l===0&&i>0||l>=e.contentHeight-e.containerHeight&&i<0)return!e.settings.wheelPropagation}var a=t.scrollLeft;if(i===0){if(!e.scrollbarXActive)return!1;if(a===0&&s<0||a>=e.contentWidth-e.containerWidth&&s>0)return!e.settings.wheelPropagation}return!0}e.event.bind(e.ownerDocument,"keydown",function(s){if(!(s.isDefaultPrevented&&s.isDefaultPrevented()||s.defaultPrevented)&&!(!n()&&!r())){var i=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(i){if(i.tagName==="IFRAME")i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(vd(i))return}var l=0,a=0;switch(s.which){case 37:s.metaKey?l=-e.contentWidth:s.altKey?l=-e.containerWidth:l=-30;break;case 38:s.metaKey?a=e.contentHeight:s.altKey?a=e.containerHeight:a=30;break;case 39:s.metaKey?l=e.contentWidth:s.altKey?l=e.containerWidth:l=30;break;case 40:s.metaKey?a=-e.contentHeight:s.altKey?a=-e.containerHeight:a=-30;break;case 32:s.shiftKey?a=e.containerHeight:a=-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&l!==0||e.settings.suppressScrollY&&a!==0||(t.scrollTop-=a,t.scrollLeft+=l,ht(e),o(l,a)&&s.preventDefault())}})}function _d(e){var t=e.element;function n(i,l){var a=Math.floor(t.scrollTop),c=t.scrollTop===0,u=a+t.offsetHeight===t.scrollHeight,d=t.scrollLeft===0,p=t.scrollLeft+t.offsetWidth===t.scrollWidth,m;return Math.abs(l)>Math.abs(i)?m=c||u:m=d||p,m?!e.settings.wheelPropagation:!0}function r(i){var l=i.deltaX,a=-1*i.deltaY;return(typeof l>"u"||typeof a>"u")&&(l=-1*i.wheelDeltaX/6,a=i.wheelDeltaY/6),i.deltaMode&&i.deltaMode===1&&(l*=10,a*=10),l!==l&&a!==a&&(l=0,a=i.wheelDelta),i.shiftKey?[-a,-l]:[l,a]}function o(i,l,a){if(!qt.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(i))return!1;for(var c=i;c&&c!==t;){if(c.classList.contains(Ce.element.consuming))return!0;var u=it(c);if(a&&u.overflowY.match(/(scroll|auto)/)){var d=c.scrollHeight-c.clientHeight;if(d>0&&(c.scrollTop>0&&a<0||c.scrollTop<d&&a>0))return!0}if(l&&u.overflowX.match(/(scroll|auto)/)){var p=c.scrollWidth-c.clientWidth;if(p>0&&(c.scrollLeft>0&&l<0||c.scrollLeft<p&&l>0))return!0}c=c.parentNode}return!1}function s(i){var l=r(i),a=l[0],c=l[1];if(!o(i.target,a,c)){var u=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(c?t.scrollTop-=c*e.settings.wheelSpeed:t.scrollTop+=a*e.settings.wheelSpeed,u=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(a?t.scrollLeft+=a*e.settings.wheelSpeed:t.scrollLeft-=c*e.settings.wheelSpeed,u=!0):(t.scrollTop-=c*e.settings.wheelSpeed,t.scrollLeft+=a*e.settings.wheelSpeed),ht(e),u=u||n(a,c),u&&!i.ctrlKey&&(i.stopPropagation(),i.preventDefault())}}typeof window.onwheel<"u"?e.event.bind(t,"wheel",s):typeof window.onmousewheel<"u"&&e.event.bind(t,"mousewheel",s)}function kd(e){if(!qt.supportsTouch&&!qt.supportsIePointer)return;var t=e.element;function n(b,y){var C=Math.floor(t.scrollTop),E=t.scrollLeft,x=Math.abs(b),X=Math.abs(y);if(X>x){if(y<0&&C===e.contentHeight-e.containerHeight||y>0&&C===0)return window.scrollY===0&&y>0&&qt.isChrome}else if(x>X&&(b<0&&E===e.contentWidth-e.containerWidth||b>0&&E===0))return!0;return!0}function r(b,y){t.scrollTop-=y,t.scrollLeft-=b,ht(e)}var o={},s=0,i={},l=null;function a(b){return b.targetTouches?b.targetTouches[0]:b}function c(b){return b.pointerType&&b.pointerType==="pen"&&b.buttons===0?!1:!!(b.targetTouches&&b.targetTouches.length===1||b.pointerType&&b.pointerType!=="mouse"&&b.pointerType!==b.MSPOINTER_TYPE_MOUSE)}function u(b){if(c(b)){var y=a(b);o.pageX=y.pageX,o.pageY=y.pageY,s=new Date().getTime(),l!==null&&clearInterval(l)}}function d(b,y,C){if(!t.contains(b))return!1;for(var E=b;E&&E!==t;){if(E.classList.contains(Ce.element.consuming))return!0;var x=it(E);if(C&&x.overflowY.match(/(scroll|auto)/)){var X=E.scrollHeight-E.clientHeight;if(X>0&&(E.scrollTop>0&&C<0||E.scrollTop<X&&C>0))return!0}if(y&&x.overflowX.match(/(scroll|auto)/)){var H=E.scrollWidth-E.clientWidth;if(H>0&&(E.scrollLeft>0&&y<0||E.scrollLeft<H&&y>0))return!0}E=E.parentNode}return!1}function p(b){if(c(b)){var y=a(b),C={pageX:y.pageX,pageY:y.pageY},E=C.pageX-o.pageX,x=C.pageY-o.pageY;if(d(b.target,E,x))return;r(E,x),o=C;var X=new Date().getTime(),H=X-s;H>0&&(i.x=E/H,i.y=x/H,s=X),n(E,x)&&b.preventDefault()}}function m(){e.settings.swipeEasing&&(clearInterval(l),l=setInterval(function(){if(e.isInitialized){clearInterval(l);return}if(!i.x&&!i.y){clearInterval(l);return}if(Math.abs(i.x)<.01&&Math.abs(i.y)<.01){clearInterval(l);return}if(!e.element){clearInterval(l);return}r(i.x*30,i.y*30),i.x*=.8,i.y*=.8},10))}qt.supportsTouch?(e.event.bind(t,"touchstart",u),e.event.bind(t,"touchmove",p),e.event.bind(t,"touchend",m)):qt.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",u),e.event.bind(t,"pointermove",p),e.event.bind(t,"pointerup",m)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",u),e.event.bind(t,"MSPointerMove",p),e.event.bind(t,"MSPointerUp",m)))}var Ed=function(){return{handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1}},Cd={"click-rail":yd,"drag-thumb":wd,keyboard:xd,wheel:_d,touch:kd},Fn=function(t,n){var r=this;if(n===void 0&&(n={}),typeof t=="string"&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");this.element=t,t.classList.add(Ce.main),this.settings=Ed();for(var o in n)this.settings[o]=n[o];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var s=function(){return t.classList.add(Ce.state.focus)},i=function(){return t.classList.remove(Ce.state.focus)};this.isRtl=it(t).direction==="rtl",this.isRtl===!0&&t.classList.add(Ce.rtl),this.isNegativeScroll=function(){var c=t.scrollLeft,u=null;return t.scrollLeft=-1,u=t.scrollLeft<0,t.scrollLeft=c,u}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new dn,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=qn(Ce.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=qn(Ce.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",s),this.event.bind(this.scrollbarX,"blur",i),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=it(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=ye(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=ye(l.borderLeftWidth)+ye(l.borderRightWidth),Ne(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=ye(l.marginLeft)+ye(l.marginRight),Ne(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=qn(Ce.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=qn(Ce.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",s),this.event.bind(this.scrollbarY,"blur",i),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var a=it(this.scrollbarYRail);this.scrollbarYRight=parseInt(a.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=ye(a.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?md(this.scrollbarY):null,this.railBorderYWidth=ye(a.borderTopWidth)+ye(a.borderBottomWidth),Ne(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=ye(a.marginTop)+ye(a.marginBottom),Ne(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(c){return Cd[c](r)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(c){return r.onScroll(c)}),ht(this)};Fn.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Ne(this.scrollbarXRail,{display:"block"}),Ne(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=ye(it(this.scrollbarXRail).marginLeft)+ye(it(this.scrollbarXRail).marginRight),this.railYMarginHeight=ye(it(this.scrollbarYRail).marginTop)+ye(it(this.scrollbarYRail).marginBottom),Ne(this.scrollbarXRail,{display:"none"}),Ne(this.scrollbarYRail,{display:"none"}),ht(this),cr(this,"top",0,!1,!0),cr(this,"left",0,!1,!0),Ne(this.scrollbarXRail,{display:""}),Ne(this.scrollbarYRail,{display:""}))};Fn.prototype.onScroll=function(t){this.isAlive&&(ht(this),cr(this,"top",this.element.scrollTop-this.lastScrollTop),cr(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)};Fn.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),Jt(this.scrollbarX),Jt(this.scrollbarY),Jt(this.scrollbarXRail),Jt(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)};Fn.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};const ni=["scroll","ps-scroll-y","ps-scroll-x","ps-scroll-up","ps-scroll-down","ps-scroll-left","ps-scroll-right","ps-y-reach-start","ps-y-reach-end","ps-x-reach-start","ps-x-reach-end"];var Rd={name:"PerfectScrollbar",props:{options:{type:Object,required:!1,default:()=>{}},tag:{type:String,required:!1,default:"div"},watchOptions:{type:Boolean,required:!1,default:!1}},emits:ni,data(){return{ps:null}},watch:{watchOptions(e){!e&&this.watcher?this.watcher():this.createWatcher()}},mounted(){this.create(),this.watchOptions&&this.createWatcher()},updated(){this.$nextTick(()=>{this.update()})},beforeUnmount(){this.destroy()},methods:{create(){this.ps&&this.$isServer||(this.ps=new Fn(this.$el,this.options),ni.forEach(e=>{this.ps.element.addEventListener(e,t=>this.$emit(e,t))}))},createWatcher(){this.watcher=this.$watch("options",()=>{this.destroy(),this.create()},{deep:!0})},update(){this.ps&&this.ps.update()},destroy(){this.ps&&(this.ps.destroy(),this.ps=null)}},render(){return Cr(this.tag,{class:"ps"},this.$slots.default&&this.$slots.default())}};function Td(e){return hi()?(Vl(e),!0):!1}const nn=new WeakMap,Pd=(e,t)=>{var n;const r=(n=Nn())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");nn.has(r)||nn.set(r,Object.create(null));const o=nn.get(r);o[e]=t,kn(e,t)},Ad=(...e)=>{var t;const n=e[0],r=(t=Nn())==null?void 0:t.proxy;if(r==null)throw new Error("injectLocal must be called in setup");return nn.has(r)&&n in nn.get(r)?nn.get(r)[n]:Ue(...e)};function $e(e,t){const n=(t==null?void 0:t.injectionKey)||Symbol("InjectionState");return[(...r)=>{const o=e(...r);return Pd(n,o),o},()=>Ad(n)]}function Ko(e,t){return t==null?g(e):g(e)[t]}function kl(e){return typeof e=="function"?e():g(e)}const Sd=typeof window<"u"&&typeof document<"u",Id=Object.prototype.toString,Ld=e=>Id.call(e)==="[object Object]",Od=()=>{};function El(e){var t;const n=kl(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Cl=Sd?window:void 0;function dt(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Cl):[t,n,r,o]=e,!t)return Od;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},l=(u,d,p,m)=>(u.addEventListener(d,p,m),()=>u.removeEventListener(d,p,m)),a=tn(()=>[El(t),kl(o)],([u,d])=>{if(i(),!u)return;const p=Ld(d)?{...d}:d;s.push(...n.flatMap(m=>r.map(b=>l(u,m,b,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),i()};return Td(c),c}function Md(e={}){const{touch:t=!0,drag:n=!0,capture:r=!1,initialValue:o=!1,window:s=Cl}=e,i=ee(o),l=ee(null);if(!s)return{pressed:i,sourceType:l};const a=d=>()=>{i.value=!0,l.value=d},c=()=>{i.value=!1,l.value=null},u=z(()=>El(e.target)||s);return dt(u,"mousedown",a("mouse"),{passive:!0,capture:r}),dt(s,"mouseleave",c,{passive:!0,capture:r}),dt(s,"mouseup",c,{passive:!0,capture:r}),n&&(dt(u,"dragstart",a("mouse"),{passive:!0,capture:r}),dt(s,"drop",c,{passive:!0,capture:r}),dt(s,"dragend",c,{passive:!0,capture:r})),t&&(dt(u,"touchstart",a("touch"),{passive:!0,capture:r}),dt(s,"touchend",c,{passive:!0,capture:r}),dt(s,"touchcancel",c,{passive:!0,capture:r})),{pressed:i,sourceType:l}}function $d(e){return JSON.parse(JSON.stringify(e))}const Rl=(e,t,n)=>{const r=ee();return et(()=>{r.value=$d(g(Ko(e,t))??g(n))}),r};function Hd(e){const t=Rl(e,"multiple"),n=ee(),r=ee(new Map),o=z(()=>t.value!==!0),s=z(()=>t.value===!0);function i(){for(const[u]of r.value){const d=r.value.get(u);if(!d)return;d.value=void 0}}function l(){for(const[u]of r.value){const d=r.value.get(u);if(!d)return;d.value=!0}}function a(u){return r.value.get(u)}function c(u,d){r.value.set(u,d)}return{items:r,accordionRef:n,mode:t,closeAll:i,openAll:l,isSingle:o,isMultiple:s,getItemById:a,setItem:c}}const[Bd,Dd]=$e(Hd);function Nd(){const e=Dd();if(!e)throw new Error("Please call `provideAccordion` on the appropriate parent component");return e}const[Yd,Fd]=$e(()=>{const e=ee([]),t=l=>{De(()=>{var a;(a=e.value[l])==null||a.focus()})};function n(l){const a=(e.value.findIndex(c=>c===l.target)+1)%e.value.length;t(a)}function r(l){const a=(e.value.findIndex(c=>c===l.target)-1+e.value.length)%e.value.length;t(a)}function o(){t(0)}function s(){t(e.value.length-1)}function i(l){const a=l;a||(e.value=[]),!e.value.includes(a)&&e.value.push(a)}return{list:e,first:o,last:s,prev:r,next:n,create:i,destroy:l=>{const a=l,c=e.value.findIndex(u=>u===a);c>-1&&e.value.splice(c,1)}}});function jd(){const e=Fd();if(!e)throw new Error("Please call `provideFocus` on the appropriate parent component");return e}const Wd=["aria-oriantation"],Kd=j({__name:"DeepAccordion.ce",props:{oriantation:{type:String,default:"vertical"},multiple:{type:[Boolean,Object],default:!1}},setup(e){const t=e,{accordionRef:n}=Bd(t);return Yd(),(r,o)=>(T(),A("div",{ref:g(n),"aria-oriantation":e.oriantation,class:"accordion"},[Y(r.$slots,"default")],8,Wd))}});let bn=0;function Xd(e){bn++;const t=Nd();t.setItem(bn,Rl(e,"selected"));const n=ee(t.getItemById(bn)),r=z(()=>`button-${bn}`),o=z(()=>`panel-${bn}`),s=ee();function i(){n.value=!1}const l=z(()=>n.value===!0),a=z(()=>n.value!==!0);function c(){t.isSingle.value&&t.closeAll(),n.value=!0}function u(p){return n.value===p}function d(){u(!0)?i():c()}return{state:n,toggle:d,close:i,open:c,panelId:o,buttonId:r,matches:u,itemRef:s,isOpened:l,isClosed:a}}const[zd,Ud]=$e(Xd);function Pr(){const e=Ud();if(!e)throw new Error("Please call `provideAccordionItem` on the appropriate parent component");return e}const Vd=j({__name:"DeepAccordionItem.ce",props:{selected:{type:[Boolean,Object,String],default:!1}},setup(e){const t=e,{itemRef:n,state:r}=zd(t);return(o,s)=>(T(),A("div",{ref:g(n),class:Me(["accordion-item",g(r)])},[Y(o.$slots,"default",{},void 0,!0)],2))}}),qd=`.accordion-item[data-v-e07124a5]{margin:0;padding:0}
`,F=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Jd=F(Vd,[["styles",[qd]],["__scopeId","data-v-e07124a5"]]),Qd=["id","aria-expanded","aria-controls"],Gd=j({__name:"DeepAccordionTrigger.ce",setup(e){const{buttonId:t,isOpened:n,panelId:r,toggle:o}=Pr(),{create:s,next:i,prev:l,first:a,last:c}=jd();return(u,d)=>(T(),A("button",{id:g(t),ref:g(s),"aria-expanded":g(n),"aria-controls":g(r),class:"accordion-trigger",onClick:d[0]||(d[0]=(...p)=>g(o)&&g(o)(...p)),onKeydown:[d[1]||(d[1]=ne(Z((...p)=>g(i)&&g(i)(...p),["prevent"]),["down"])),d[2]||(d[2]=ne(Z((...p)=>g(l)&&g(l)(...p),["prevent"]),["up"])),d[3]||(d[3]=ne(Z((...p)=>g(a)&&g(a)(...p),["prevent"]),["home"])),d[4]||(d[4]=ne(Z((...p)=>g(c)&&g(c)(...p),["prevent"]),["end"]))]},[Y(u.$slots,"default",{},void 0,!0)],40,Qd))}}),Zd=`.accordion-trigger[data-v-52484c2a]{position:relative;display:flex;min-height:40px;width:100%;gap:.5rem;padding:.5rem;outline:2px solid transparent;outline-offset:2px;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-color:transparent;background-color:transparent;text-align:left;font-size:16px;line-height:1.5;border-radius:4px}.accordion-trigger[aria-expanded=true][data-v-52484c2a]{position:relative;z-index:1}.accordion-trigger[data-v-52484c2a]:not([disabled]):hover{cursor:zoom-in;text-decoration-line:underline;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.accordion-trigger[aria-expanded=true][data-v-52484c2a]:hover{cursor:zoom-out}.accordion-trigger[disabled][data-v-52484c2a]{opacity:.5}.accordion-trigger[disabled][data-v-52484c2a]:hover{cursor:default!important}.accordion-trigger[data-v-52484c2a]:focus-visible{z-index:20;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}@keyframes blink-52484c2a{0%{--tw-bg-opacity: 1}50%{--tw-bg-opacity: .5}}.accordion-trigger[data-v-52484c2a]:not([disabled]):active{animation:blink-52484c2a .1s forwards linear}
`,ef=F(Gd,[["styles",[Zd]],["__scopeId","data-v-52484c2a"]]),tf=j({__name:"DeepAccordionTransition",setup(e){function t(o){const s=o,{width:i}=s.getBoundingClientRect();s.style.width=`${i}px`,s.style.position="absolute",s.style.visibility="hidden",s.style.height="auto";const{height:l}=s.getBoundingClientRect();s.style.removeProperty("width"),s.style.removeProperty("position"),s.style.removeProperty("visibility"),s.style.height="0px",s.getBoundingClientRect(),requestAnimationFrame(()=>{s.style.height=`${l}px`})}function n(o){o.style.removeProperty("height")}function r(o){const s=o,{height:i}=s.getBoundingClientRect();s.style.height=`${i}px`,s.getBoundingClientRect(),requestAnimationFrame(()=>{s.style.height="0px"})}return(o,s)=>(T(),mt(un,{name:"expand",onEnter:t,onAfterEnter:n,onLeave:r},{default:gt(()=>[Y(o.$slots,"default")]),_:3}))}}),nf=["id","aria-labelledby"],rf={part:"inner",class:"accordion-content-inner"},of=j({__name:"DeepAccordionContent.ce",setup(e){const{isOpened:t,panelId:n,buttonId:r}=Pr();return(o,s)=>(T(),mt(tf,null,{default:gt(()=>[g(t)?(T(),A("section",{key:0,id:g(n),ref:"content",class:"accordion-content",role:"region","aria-labelledby":g(r)},[S("div",rf,[Y(o.$slots,"default",{},void 0,!0)])],8,nf)):lt("",!0)]),_:3}))}}),sf=`*[data-v-0f148bd7]{will-change:height;transform:translateZ(0);backface-visibility:hidden;perspective:1000px}.expand-enter-active[data-v-0f148bd7],.expand-leave-active[data-v-0f148bd7]{transition:height .3s ease-in-out;overflow:hidden}.expand-enter[data-v-0f148bd7],.expand-leave-to[data-v-0f148bd7]{height:0}.accordion-content[data-v-0f148bd7]{padding-left:32px;position:relative;font-size:14px}.accordion-content[data-v-0f148bd7]:before{content:"";position:absolute;top:0;bottom:0;left:13px;border-left:2px solid black;border-radius:2px}.accordion-content-inner[data-v-0f148bd7]{padding-top:4px;padding-bottom:4px}
`,lf=F(of,[["styles",[sf]],["__scopeId","data-v-0f148bd7"]]),af=j({__name:"DeepAccordionHeader.ce",props:{tag:{type:String,required:!1,default:"h3"}},setup(e){return(t,n)=>(T(),mt(Wi(e.tag),{class:"accordion-header"},{default:gt(()=>[Y(t.$slots,"default",{},void 0,!0)]),_:3}))}}),cf=`.accordion-header[data-v-ba19b638]{margin-left:-.5rem;margin-right:-.5rem;margin-top:0;margin-bottom:0;display:block;padding:0}
`,uf=F(af,[["styles",[cf]],["__scopeId","data-v-ba19b638"]]),df=e=>(Hn("data-v-d7f6c814"),e=e(),Bn(),e),ff=["aria-checked"],pf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-plus"},hf={d:"M5 12h14"},gf=df(()=>S("path",{d:"M12 5v14"},null,-1)),vf=j({__name:"DeepAccordionIcon.ce",setup(e){const{state:t,isOpened:n,isClosed:r}=Pr();return(o,s)=>(T(),A("div",{role:"switch","aria-checked":g(n),class:Me(["icon",{opened:g(n),closed:g(r)}])},[S("title",null,Yt(g(t)),1),Y(o.$slots,"default",{},()=>[(T(),A("svg",pf,[So(S("path",hf,null,512),[[ll,g(r)]]),gf]))],!0)],10,ff))}}),mf=`.icon[data-v-d7f6c814]{display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;align-items:center;justify-content:center;transition:transform .2s ease-in-out}.icon.closed[data-v-d7f6c814]{transform:rotate(0)}.icon.opened[data-v-d7f6c814]{transform:rotate(-90deg)}svg[data-v-d7f6c814]{pointer-events:none;height:1.5rem;width:1.5rem}
`,bf=F(vf,[["styles",[mf]],["__scopeId","data-v-d7f6c814"]]),Tl=e=>(Hn("data-v-82e1dbf9"),e=e(),Bn(),e),yf={"aria-hidden":"true",class:"icon"},wf={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},xf=Tl(()=>S("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v12m6-6H6"},null,-1)),_f=[xf],kf={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Ef=Tl(()=>S("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 12H6"},null,-1)),Cf=[Ef],Rf=j({__name:"DeepAccordionSwap.ce",setup(e){const{isClosed:t}=Pr();return(n,r)=>(T(),A("div",yf,[Te(un,{name:"slide-up",mode:"out-in"},{default:gt(()=>[g(t)?(T(),A("svg",wf,_f)):(T(),A("svg",kf,Cf))]),_:1})]))}}),Tf=`.icon[data-v-82e1dbf9]{display:flex;height:1.5rem;width:1.5rem;flex-shrink:0;transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;justify-content:center;overflow:hidden;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.slide-up-enter-active[data-v-82e1dbf9],.slide-up-leave-active[data-v-82e1dbf9]{transition:all .25s ease-out;transform:rotate(0)}.slide-up-enter-from[data-v-82e1dbf9],.slide-up-leave-to[data-v-82e1dbf9]{opacity:.5}svg[data-v-82e1dbf9]{height:1.5rem;width:1.5rem}
`,Pf=F(Rf,[["styles",[Tf]],["__scopeId","data-v-82e1dbf9"]]);customElements.define("deep-accordion",$(Kd));customElements.define("deep-accordion-item",$(Jd));customElements.define("deep-accordion-header",$(uf));customElements.define("deep-accordion-trigger",$(ef));customElements.define("deep-accordion-content",$(lf));customElements.define("deep-accordion-icon",$(bf));customElements.define("deep-accordion-swap",$(Pf));function Af(){const e=ee(new Map);function t(o,s){e.value.has(o)?console.error(`landmark with id ${o} is already used`):e.value.set(o,s)}function n(o){e.value.delete(o)}async function r(o){const s=e.value.get(o);await De(),s.focus()}return{links:e,addLink:t,removeLink:n,focus:r}}const[Sf,If]=$e(Af);function fn(){const e=If();if(!e)throw new Error("Please call `provideLandmark` on the appropriate parent component");return e}const Lf=j({__name:"DeepApp.ce",setup(e){return Sf(),(t,n)=>(T(),A("div",null,[Y(t.$slots,"default")]))}}),Of=`div{position:fixed;height:100%;width:100%;left:0;right:0;top:0;bottom:0;display:grid;gap:2px;grid-template-rows:40px 1fr}
`,Mf=F(Lf,[["styles",[Of]]]),$f=["href","onClick"],Hf=j({__name:"DeepAppSkipLinks.ce",setup(e){const{links:t,focus:n}=fn();return(r,o)=>(T(!0),A(Ie,null,Xi(g(t),([s])=>(T(),A("a",{key:s,href:`#${s}`,class:"skip-link",onClick:i=>g(n)(s)},"Jump to "+Yt(s),9,$f))),128))}}),Bf=`.skip-link:not(:focus){position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);white-space:nowrap}.skip-link{display:block;background-color:Canvas;color:CanvasText;cursor:pointer;list-style:none;font-size:14px;line-height:18px;height:auto;width:auto;overflow:visible;border-radius:4px;padding:4px 12px;border:1px solid rgba(128,128,128,.3);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;position:absolute;left:0;top:0;z-index:99999;margin:.5rem;text-decoration-line:none}[type=button]:hover{background-color:#80808040}
`,Df=F(Hf,[["styles",[Bf]]]),Fr="main",Nf=j({__name:"DeepAppMain.ce",setup(e){const{addLink:t,removeLink:n}=fn(),r=ee();return et(()=>{r.value&&t(Fr,r.value)},{flush:"sync"}),Ft(()=>{n(Fr)}),(o,s)=>(T(),A("main",{id:Fr,ref_key:"el",ref:r,tabindex:"-1"},[Y(o.$slots,"default")],512))}}),jr="header",Yf=j({__name:"DeepAppHeader.ce",setup(e){const{addLink:t,removeLink:n}=fn(),r=ee();return et(()=>{r.value&&t(jr,r.value)},{flush:"sync"}),Ft(()=>{n(jr)}),(o,s)=>(T(),A("header",{id:jr,ref_key:"el",ref:r,tabindex:"-1"},[Y(o.$slots,"default",{},void 0,!0)],512))}}),Ff=`header[data-v-36fdeaff]{box-sizing:border-box;height:100%;background-color:#f8f8f8}
`,jf=F(Yf,[["styles",[Ff]],["__scopeId","data-v-36fdeaff"]]),Wr="navigation",Wf=j({__name:"DeepAppNavigation.ce",setup(e){const{addLink:t,removeLink:n}=fn(),r=ee();return et(()=>{r.value&&t(Wr,r.value)},{flush:"sync"}),Ft(()=>{n(Wr)}),(o,s)=>(T(),A("nav",{id:Wr,ref_key:"el",ref:r,tabindex:"-1"},[Y(o.$slots,"default")],512))}}),Kf=`main{height:100%}
`,Xf=F(Wf,[["styles",[Kf]]]),Kr="search",zf=j({__name:"DeepAppSearch.ce",setup(e){const{addLink:t,removeLink:n}=fn(),r=ee();return et(()=>{r.value&&t(Kr,r.value)},{flush:"sync"}),Ft(()=>{n(Kr)}),(o,s)=>(T(),A("form",{id:Kr,ref_key:"el",ref:r,tabindex:"-1",role:"search"},[Y(o.$slots,"default")],512))}}),Uf=`main{height:100%}
`,Vf=F(zf,[["styles",[Uf]]]),Xr="footer",qf=j({__name:"DeepAppFooter.ce",setup(e){const{addLink:t,removeLink:n}=fn(),r=ee();return et(()=>{r.value&&t(Xr,r.value)},{flush:"sync"}),Ft(()=>{n(Xr)}),(o,s)=>(T(),A("footer",{id:Xr,ref_key:"el",ref:r,tabindex:"-1"},[Y(o.$slots,"default")],512))}}),Jf=`main{height:100%}
`,Qf=F(qf,[["styles",[Jf]]]),Gf=$(Mf),Zf=$(Df),ep=$(Nf),tp=$(jf),np=$(Xf),rp=$(Vf),op=$(Qf);customElements.define("deep-app",Gf);customElements.define("deep-app-skip-links",Zf);customElements.define("deep-app-main",ep);customElements.define("deep-app-header",tp);customElements.define("deep-app-navigation",np);customElements.define("deep-app-search",rp);customElements.define("deep-app-footer",op);const sp={class:"deep-avatar-container"},ip=["alt","src"],lp=S("div",{class:"deep-avatar-shadow"},null,-1),ap=j({__name:"DeepAvatar.ce",props:{alt:{type:String,required:!0},src:{type:String,required:!0}},setup(e){const t=ec();return(n,r)=>(T(),A("div",sp,[S("img",Do({class:"deep-avatar",alt:e.alt},g(t),{src:e.src}),null,16,ip),lp]))}}),cp=`:host{all:initial}*,*:after,*:before{box-sizing:border-box}.deep-avatar-container{position:relative;border:1px solid var(--deep-avatar-border-color, rgba(255,255,255, .2));height:calc(var(--deep-avatar-size, 30) * 1px);width:calc(var(--deep-avatar-size, 30) * 1px);border-radius:var(--deep-avatar-radius, 999px);overflow:hidden}.deep-avatar{position:absolute;left:0;top:0;right:0;bottom:0;width:100%;height:100%;display:block;object-fit:fit}.deep-avatar-shadow{display:block;position:absolute;width:100%;height:100%;border-radius:var(--deep-avatar-radius, 999px);box-shadow:inset 0 0 4px #0003;top:0;left:0}
`,up=F(ap,[["styles",[cp]]]),dp=$(up);customElements.define("deep-avatar",dp);const fp=`.deep-badge{display:inline-block;box-sizing:border-box;vertical-align:middle;border-radius:999px;text-align:center;background-color:#eff0f1;color:#4b5563;padding-inline:8px;padding-block:0;font-size:14px;line-height:24px;font-weight:600;letter-spacing:.025em;-webkit-user-select:none;user-select:none;text-transform:capitalize}
`,pp={},hp={class:"deep-badge"};function gp(e,t){return T(),A("span",hp,[Y(e.$slots,"default")])}const vp=F(pp,[["render",gp],["styles",[fp]]]);customElements.define("deep-badge",$(vp));const mp=`.card-root{display:block}
`,bp={},yp={class:"card-root"};function wp(e,t){return T(),A("div",yp,[Y(e.$slots,"default")])}const xp=F(bp,[["render",wp],["styles",[mp]]]),_p=`.card-heading{margin:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}
`,kp={},Ep={class:"card-heading"};function Cp(e,t){return T(),A("h3",Ep,[Y(e.$slots,"default")])}const Rp=F(kp,[["render",Cp],["styles",[_p]]]),Tp=`.card-subheading{margin:.5rem;font-size:.75rem;line-height:1rem;font-weight:500;text-transform:uppercase;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}
`,Pp={},Ap={class:"card-subheading"};function Sp(e,t){return T(),A("p",Ap,[Y(e.$slots,"default")])}const Ip=F(Pp,[["render",Sp],["styles",[Tp]]]),Lp=`.card-item[data-v-de26c656]{margin:.5rem .5rem 1rem}
`,Op={},Mp={class:"card-item"};function $p(e,t){return T(),A("div",Mp,[Y(e.$slots,"default",{},void 0,!0)])}const Hp=F(Op,[["render",$p],["styles",[Lp]],["__scopeId","data-v-de26c656"]]),Bp=`.card-text[data-v-0fa0968c]{margin:.5rem;padding-top:0;padding-bottom:0;--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}
`,Dp={},Np={class:"card-text"};function Yp(e,t){return T(),A("p",Np,[Y(e.$slots,"default",{},void 0,!0)])}const Fp=F(Dp,[["render",Yp],["styles",[Bp]],["__scopeId","data-v-0fa0968c"]]),jp=`.card-separator{margin-top:1rem;margin-bottom:1rem;height:1px;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}
`,Wp={},Kp={role:"separator",class:"card-separator"};function Xp(e,t){return T(),A("hr",Kp)}const zp=F(Wp,[["render",Xp],["styles",[jp]]]),Up=`.card-actions[data-v-5b0abb12]{margin:.5rem;display:inline-flex;align-items:center;display:flex;flex:none}
`,Vp={},qp={class:"card-actions"};function Jp(e,t){return T(),A("div",qp,[Y(e.$slots,"default",{},void 0,!0)])}const Qp=F(Vp,[["render",Jp],["styles",[Up]],["__scopeId","data-v-5b0abb12"]]),Gp=$(xp),Zp=$(Rp),eh=$(Ip),th=$(Hp),nh=$(Fp),rh=$(zp),oh=$(Qp);customElements.define("card-root",Gp);customElements.define("card-heading",Zp);customElements.define("card-subheading",eh);customElements.define("card-item",th);customElements.define("card-text",nh);customElements.define("card-separator",rh);customElements.define("card-actions",oh);function sh(e){return JSON.parse(JSON.stringify(e))}const Pl=(e,t,n)=>{const r=ee();return et(()=>{r.value=sh(g(Ko(e,t))??g(n))}),r};let ri=0;function ih(e){const t=Pl(e,"mode");console.log(e),ri++;const n=ee([]),r=z(()=>n.value.length);function o(D){n.value.includes(D)||n.value.push(D)}Dn(()=>{n.value=[]});function s(D){const we=n.value.indexOf(D);we!==-1&&n.value.splice(we,1)}const i=ee([]);function l(D){i.value.includes(D)||i.value.push(D)}function a(D){const we=i.value.indexOf(D);we!==-1&&i.value.splice(we,1)}function c(D){return n.value.indexOf(D)}function u(D){return i.value.indexOf(D)}const d=z(()=>`carousel${ri}`),p=ee(0),m=z(()=>n.value[p.value]),b=z(()=>i.value[p.value]);function y(D){p.value=c(D)}function C(D){p.value=u(D)}function E(){m.value.scrollIntoView({behavior:"smooth"})}function x(){p.value>0?p.value--:p.value=r.value-1,E()}function X(){p.value<r.value-1?p.value++:p.value=0,E()}let H;const re=ee(t.value==="autoplay"?"playing":"paused"),pe=z(()=>re.value==="playing"),ve=z(()=>re.value==="paused"),Q=z(()=>t.value==="autoplay");function le(){console.log("resume"),re.value="playing",H=setInterval(()=>{console.log("tick"),p.value=(p.value+1)%r.value},3e3)}const se=()=>{console.log("paused"),re.value="paused",clearInterval(H)};function K(D){return D?D===m.value:!1}function L(D){return D?D===b.value:!1}return{current:gr(p),carouselId:d,slides:n,slidesCount:r,prev:x,next:X,pause:se,resume:le,addSlide:o,removeSlide:s,select:y,isActiveSlide:K,activeIndex:p,activeSlide:m,getSlideIndex:c,indicators:i,addIndicator:l,removeIndicator:a,activeIndicator:b,getIndicatorIndex:u,isActiveIndicator:L,selectIndicator:C,isAutoPlay:Q,isPlaying:pe,isPaused:ve}}const[lh,ah]=$e(ih);function jt(){const e=ah();if(!e)throw new Error("Please call `provideCarouselContext` on the appropriate parent component");return e}const ch=["aria-labelledby"],uh=j({__name:"DeepCarousel.ce",props:{mode:{type:String,default:"manual"}},setup(e){const t=e,{carouselId:n,pause:r,resume:o}=lh(t);return(s,i)=>(T(),A("section",{id:"myCarousel",class:"carousel","aria-labelledby":g(n),"aria-roledescription":"carousel",onMouseenter:i[0]||(i[0]=(...l)=>g(r)&&g(r)(...l)),onMouseleave:i[1]||(i[1]=(...l)=>g(o)&&g(o)(...l))},[Y(s.$slots,"default")],40,ch))}}),dh=`.carousel{display:block}.announcer{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
`,fh=F(uh,[["styles",[dh]]]),ph=["id"],hh=j({__name:"DeepCarouselHeading.ce",setup(e){const{carouselId:t}=jt();return(n,r)=>(T(),A("h3",{id:g(t),class:"carousel-heading"},[Y(n.$slots,"default")],8,ph))}}),gh="",vh={},mh={id:"carousel-viewport",class:"carousel-viewport","aria-live":"off"};function bh(e,t){return T(),A("div",mh,[Y(e.$slots,"default")])}const yh=F(vh,[["render",bh],["styles",[gh]]]),wh={"aria-live":"polite","aria-atomic":"true",class:"announcer"},xh=j({__name:"DeepCarouselAllyAnnouncer.ce",setup(e){const{activeIndex:t,slidesCount:n}=jt();return(r,o)=>(T(),A("div",wh,Yt("Item "+(g(t)+1)+" of "+g(n)),1))}}),_h=`.carousel-indicator-group{display:flex;gap:1px}
`,kh={},Eh={class:"carousel-indicator-group",role:"group"};function Ch(e,t){return T(),A("div",Eh,[Y(e.$slots,"default")])}const Rh=F(kh,[["render",Ch],["styles",[_h]]]),Th=["aria-label"],Ph=j({__name:"DeepCarouselIndicator.ce",setup(e){const{isActiveIndicator:t,addIndicator:n,selectIndicator:r,getIndicatorIndex:o,slidesCount:s,pause:i}=jt(),l=ee();function a(c){l.value=c,n(c)}return(c,u)=>(T(),A("button",{ref:a,type:"button",class:Me(["indicator",{active:g(t)(l.value)}]),"aria-label":`Show slide ${g(o)(l.value)+1} of ${g(s)}`,onClick:u[0]||(u[0]=d=>g(r)(l.value)),onFocus:u[1]||(u[1]=(...d)=>g(i)&&g(i)(...d))},[Y(c.$slots,"default")],42,Th))}}),Ah=`[type=button]{min-height:40px;min-width:40px;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border:none}[type=button]:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}[type=button]:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}[type=button].active{font-weight:700;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}
`,Sh=F(Ph,[["styles",[Ah]]]),Ih=`[role=group]{margin:0;width:100%;list-style-type:none;padding:0}
`,Lh={},Oh={role:"group"};function Mh(e,t){return T(),A("div",Oh,[Y(e.$slots,"default")])}const $h=F(Lh,[["render",Mh],["styles",[Ih]]]),Hh=["hidden","aria-label"],Bh=j({__name:"DeepCarouselSlide.ce",setup(e){const{addSlide:t,isActiveSlide:n,slidesCount:r,getSlideIndex:o}=jt(),s=ee();function i(l){s.value=l,t(l)}return(l,a)=>(T(),A("div",{ref:i,class:Me(["carousel-slide",{active:g(n)(s.value)}]),"aria-roledescription":"slide",role:"group",hidden:!g(n)(s.value),"aria-label":`${g(o)(s.value)+1} of ${g(r)}`},[Y(l.$slots,"default")],10,Hh))}}),Dh=`.carousel-slide{border-radius:.75rem;padding:1rem}.carousel-slide.active{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));outline-style:solid}
`,Nh=F(Bh,[["styles",[Dh]]]),Yh=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-arrow-left-to-line"},[S("path",{d:"M3 19V5"}),S("path",{d:"m13 6-6 6 6 6"}),S("path",{d:"M7 12h14"})],-1),Fh=[Yh],jh=j({__name:"DeepCarouselPrev.ce",setup(e){const{prev:t,pause:n}=jt();return(r,o)=>(T(),A("button",{type:"button",class:"prev","aria-controls":"carousel-viewport","aria-label":"Previous slide",onClick:o[0]||(o[0]=(...s)=>g(t)&&g(t)(...s)),onFocus:o[1]||(o[1]=(...s)=>g(n)&&g(n)(...s))},Fh,32))}}),Wh=`[type=button]{display:flex;min-height:40px;min-width:40px;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border:none}[type=button]:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}[type=button]:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}
`,Kh=F(jh,[["styles",[Wh]]]),Xh={};function zh(e,t){return T(),A("div",null,[Y(e.$slots,"default")])}const Uh=F(Xh,[["render",zh]]),Vh=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-arrow-right-to-line"},[S("path",{d:"M17 12H3"}),S("path",{d:"m11 18 6-6-6-6"}),S("path",{d:"M21 5v14"})],-1),qh=j({__name:"DeepCarouselNext.ce",setup(e){const{next:t,pause:n}=jt();return(r,o)=>(T(),A("button",{type:"button",class:"next","aria-controls":"carousel-viewport","aria-label":"Next slide",onClick:o[0]||(o[0]=Z((...s)=>g(t)&&g(t)(...s),["prevent"])),onFocus:o[1]||(o[1]=(...s)=>g(n)&&g(n)(...s))},[Y(r.$slots,"default",{},()=>[Vh])],32))}}),Jh=`[type=button]{display:flex;min-height:40px;min-width:40px;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border:none}[type=button]:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}[type=button]:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}
`,Qh=F(qh,[["styles",[Jh]]]),Gh=["aria-pressed"],Zh={key:0,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-play"},eg=S("polygon",{points:"5 3 19 12 5 21 5 3"},null,-1),tg=[eg],ng={key:1,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-pause"},rg=S("rect",{width:"4",height:"16",x:"6",y:"4"},null,-1),og=S("rect",{width:"4",height:"16",x:"14",y:"4"},null,-1),sg=[rg,og],ig=j({__name:"DeepCarouselPlayPause.ce",setup(e){const{pause:t,resume:n,isPlaying:r,isAutoPlay:o}=jt();o.value&&n();function s(){r.value?n():t()}return(i,l)=>(T(),A("button",{type:"button",class:"playpause","aria-pressed":g(o),"aria-label":"Automatic slideshow",onClick:s,onFocus:l[0]||(l[0]=(...a)=>g(t)&&g(t)(...a))},[g(r)?lt("",!0):(T(),A("svg",Zh,tg)),g(r)?(T(),A("svg",ng,sg)):lt("",!0)],40,Gh))}}),lg=`[type=button]{display:flex;min-height:40px;min-width:40px;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border:none}[type=button]:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}[type=button]:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}
`,ag=F(ig,[["styles",[lg]]]);customElements.define("deep-carousel",$(fh));customElements.define("deep-carousel-heading",$(hh));customElements.define("deep-carousel-viewport",$(yh));customElements.define("deep-carousel-ally-announcer",$(xh));customElements.define("deep-carousel-indicator-group",$(Rh));customElements.define("deep-carousel-indicator",$(Sh));customElements.define("deep-carousel-slide-group",$($h));customElements.define("deep-carousel-slide",$(Nh));customElements.define("deep-carousel-control",$(Uh));customElements.define("deep-carousel-prev",$(Kh));customElements.define("deep-carousel-next",$(Qh));customElements.define("deep-carousel-play-pause",$(ag));let Qn=0;function cg(){Qn++;const e=z(()=>`popover-${Qn}`),t=z(()=>`trigger${Qn}`),n=ee(),r=m=>{n.value=m},o=z(()=>`menu-${Qn}`),s=ee(),i=m=>{s.value=m},l=ee("closed");function a(){l.value="closed",n.value.focus()}function c(){l.value="opened"}const u=z(()=>l.value==="closed"),d=z(()=>l.value==="opened");function p(){u.value?c():a()}return $n({state:l,id:e,isClosed:u,isOpened:d,toggle:p,close:a,open:c,triggerId:t,triggerRef:n,menuid:o,connectTriggerRef:r,connectMenuRef:i})}const[ug,dg]=$e(cg);function Xo(){const e=dg();if(console.log("just shut up"),!e)throw new Error("Please call `providePopoverContext` on the appropriate parent component");return e}function fg(){const e=ee(0),t=ee([]),n=z(()=>t.value.length);function r(C){t.value.push(C)}const o=Xo();function s(C){const E=t.value[C];E&&typeof E.focus=="function"&&E.focus()}tn([()=>o.isOpened,()=>e.value],async([C,E])=>{C&&(await De(),s(E))},{immediate:!0});function i(C){e.value=C}function l(){return e.value+1>n.value-1}function a(){return e.value-1<0}function c(){return e.value=0,e.value}function u(){return e.value=n.value-1,e.value}function d(){return e.value++,e.value}function p(){return e.value--,e.value}function m(){return a()?u():p()}function b(){return l()?c():d()}function y(C){if(!C.target)return;const E=t.value.findIndex(x=>x===C.target);i(E)}return{elements:t,addElement:r,prev:m,next:b,cursor:e,current:y}}const[pg,_0]=$e(fg),hg=j({__name:"FocusLock.ce",setup(e){const{next:t,prev:n}=pg();return(r,o)=>(T(),A("div",{class:"focus-trap",onKeydown:[o[0]||(o[0]=ne(Z((...s)=>g(t)&&g(t)(...s),["exact","prevent"]),["tab"])),o[1]||(o[1]=ne(Z((...s)=>g(n)&&g(n)(...s),["shift","exact","prevent"]),["tab"]))]},[Y(r.$slots,"default")],32))}}),gg=$(hg);customElements.define("focus-lock",gg);let oi=0;function vg(e){oi++;const t=z(()=>`menu${oi}`),n=ee(),r=ee([]),o=ee(0),s=ee("closed"),i=z(()=>s.value==="opened"),l=z(()=>s.value==="closed");function a(){r.value[o.value].focus()}async function c(){var K;s.value="closed",await De(),(K=n.value)==null||K.focus()}function u(K){r.value.includes(K)||r.value.push(K)}function d(K){n.value=K}function p(K){e("select",K),c()}function m(K){p(K)}function b(K){window.open(K,"_blank"),c()}function y(){o.value=o.value===0?r.value.length-1:o.value-1,a()}function C(){o.value=o.value===r.value.length-1?0:o.value+1,a()}function E(){console.log("right")}function x(){console.log("left")}function X(){o.value=0,a()}function H(){o.value=r.value.length-1,a()}function re(){c()}async function pe(){var K;l.value?(s.value="opened",await De(),o.value=0,a()):(s.value="closed",await De(),(K=n.value)==null||K.focus())}async function ve(){s.value="opened",await De(),o.value=0,a()}async function Q(){s.value="opened",await De(),o.value=0,a()}async function le(){s.value="opened",await De(),o.value=r.value.length-1,a()}async function se(){s.value="opened",await De(),o.value=0,a()}return{menuId:t,triggerAction:p,select:m,navigate:b,onUp:y,onRight:E,onDown:C,onLeft:x,onHome:X,onEnd:H,onEscape:re,addItem:u,addButtonRef:d,onButtonClick:pe,onButtonSpace:ve,onButtonEnter:Q,onButtonUp:le,onButtonDown:se,state:s,isOpened:i,isClosed:l,focusedItemIndex:o,close:c}}const[mg,bg]=$e(vg);function Ar(){const e=bg();if(!e)throw new Error("Please call `provideMenuContext` on the appropriate parent component");return e}const yg=j({__name:"DeepMenu.ce",emits:["select"],setup(e,{emit:t}){return mg(t),(n,r)=>(T(),A("div",null,[Y(n.$slots,"default")]))}}),wg=`div{position:relative;display:inline-block}
`,xg=F(yg,[["styles",[wg]]]),_g=["aria-expanded"],kg=j({__name:"DeepMenuButton.ce",setup(e){const{onButtonClick:t,onButtonSpace:n,onButtonEnter:r,onButtonUp:o,onButtonDown:s,isOpened:i,addButtonRef:l,close:a}=Ar();return(c,u)=>(T(),A(Ie,null,[g(i)?(T(),A("div",{key:0,part:"backdrop",class:"popover-backdrop",onClick:u[0]||(u[0]=(...d)=>g(a)&&g(a)(...d))})):lt("",!0),S("button",{ref:g(l),type:"button","aria-haspopup":"menu","aria-expanded":g(i)?!0:void 0,onClick:u[1]||(u[1]=(...d)=>g(t)&&g(t)(...d)),onKeydown:[u[2]||(u[2]=ne(Z((...d)=>g(n)&&g(n)(...d),["prevent"]),["space"])),u[3]||(u[3]=ne(Z((...d)=>g(r)&&g(r)(...d),["prevent"]),["enter"])),u[4]||(u[4]=ne(Z((...d)=>g(o)&&g(o)(...d),["prevent"]),["up"])),u[5]||(u[5]=ne(Z((...d)=>g(s)&&g(s)(...d),["prevent"]),["down"]))]},[Y(c.$slots,"default")],40,_g)],64))}}),Eg=`:root{--bg-color: Canvas;--bg-color-hover: rgba(128, 128, 128, .25);--line-height: 18px}[type=button]{box-sizing:border-box;position:relative;background-color:var(--bg-color, Canvas);cursor:pointer;list-style:none;line-height:var(--line-height, 18px);display:inline-block;align-items:center;border:1px solid rgba(128,128,128,.3);border-radius:var(--radius, 8px);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}[type=button]:hover{background-color:var(--bg-color-hover, rgba(128, 128, 128, .25))}[aria-expanded=true]{z-index:10}.popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0}
`,Cg=F(kg,[["styles",[Eg]]]),Rg=["id"],Tg=j({__name:"DeepMenuHeading.ce",setup(e){const{menuId:t}=Ar();return(n,r)=>(T(),A("h3",{id:g(t),class:"menu-heading"}," something ",8,Rg))}}),Pg=`.menu-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
`,Ag=F(Tg,[["styles",[Pg]]]),Sg=j({__name:"DeepMenuList.ce",props:{direction:{type:String,default:"bottom-left"}},setup(e){const{isOpened:t}=Ar();return(n,r)=>(T(),mt(un,{"enter-from-class":"enter-from-class","enter-active-class":"enter-active-class","enter-to-class":"enter-to-class","leave-from-class":"leave-from-class","leave-active-class":"leave-active-class","leave-to-class":"leave-to-class"},{default:gt(()=>[g(t)?(T(),A("ul",{key:0,tabindex:"-1","aria-orientation":"vertical",role:"menu",class:Me(e.direction)},[Y(n.$slots,"default")],2)):lt("",!0)]),_:3}))}}),Ig=`[role=menu]{--offset: 4px;--transition-duration: .1s;--ease-in: cubic-bezier(0, 0, .2, 1);--ease-out: cubic-bezier(.4, 0, 1, 1);background-color:Canvas;top:100%;list-style:none;padding:6px;min-width:256px;margin:0;border-radius:8px;max-width:22ch;border:1px solid rgba(128,128,128,.3);position:absolute;z-index:1;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.bottom-left{transform-origin:top right;right:0;left:auto;top:calc(100% + var(--offset))}.bottom-right{transform-origin:top left;right:auto;left:0;top:calc(100% + var(--offset))}.enter-from-class{opacity:0;transform:scale(.5)}.enter-active-class{transition:all var(--transition-duration) var(--ease-in)}.enter-to-class,.leave-from-class{opacity:100;transform:scale(1)}.leave-active-class{transition:all var(--transition-duration) var(--ease-out)}.leave-to-class{opacity:0;transform:scale(.5)}
`,Lg=F(Sg,[["styles",[Ig]]]),zo=e=>(Hn("data-v-6eb8d4c1"),e=e(),Bn(),e),Og=["aria-disabled"],Mg={key:0,xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-external-link"},$g=zo(()=>S("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},null,-1)),Hg=zo(()=>S("polyline",{points:"15 3 21 3 21 9"},null,-1)),Bg=zo(()=>S("line",{x1:"10",x2:"21",y1:"14",y2:"3"},null,-1)),Dg=[$g,Hg,Bg],Ng=j({__name:"DeepMenuItem.ce",props:{disabled:{type:Boolean,default:void 0},value:{type:String,default:void 0},href:{type:String,default:void 0}},setup(e){const t=e,{select:n,navigate:r,onDown:o,onUp:s,onRight:i,onLeft:l,onHome:a,onEnd:c,onEscape:u,addItem:d,close:p}=Ar();function m(b){t.href?r(t.href):n(b)}return(b,y)=>(T(),A("div",{ref:e.disabled?"undefined":g(d),role:"menuitem",tabindex:"-1","aria-disabled":e.disabled,onKeydown:[y[0]||(y[0]=ne(Z(C=>e.disabled?"undefined":m(e.value),["prevent"]),["space"])),y[1]||(y[1]=ne(Z(C=>e.disabled?"undefined":m(e.value),["prevent"]),["enter"])),y[3]||(y[3]=ne(Z((...C)=>g(o)&&g(o)(...C),["prevent"]),["down"])),y[4]||(y[4]=ne(Z((...C)=>g(i)&&g(i)(...C),["prevent"]),["right"])),y[5]||(y[5]=ne(Z((...C)=>g(s)&&g(s)(...C),["prevent"]),["up"])),y[6]||(y[6]=ne(Z((...C)=>g(l)&&g(l)(...C),["prevent"]),["left"])),y[7]||(y[7]=ne(Z((...C)=>g(a)&&g(a)(...C),["prevent"]),["home"])),y[8]||(y[8]=ne(Z((...C)=>g(c)&&g(c)(...C),["prevent"]),["end"])),y[9]||(y[9]=ne(Z((...C)=>g(u)&&g(u)(...C),["prevent"]),["escape"])),y[10]||(y[10]=ne((...C)=>g(p)&&g(p)(...C),["tab"]))],onClick:y[2]||(y[2]=Z(C=>e.disabled?"undefined":m(e.value),["prevent","stop"]))},[e.href?(T(),A("svg",Mg,Dg)):lt("",!0),Y(b.$slots,"default"),Y(b.$slots,"after")],40,Og))}}),Yg=`[role=menuitem][data-v-6eb8d4c1]{border-radius:.25rem;outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;color:CanvasText;display:flex;justify-content:space-between;justify-items:center;color-scheme:light dark;padding-block:6px;padding-inline:22px 12px;max-width:25ch;font-size:16px;line-height:1.5;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:relative}[role=menuitem][data-v-6eb8d4c1]:not([aria-disabled]):hover{background-color:#80808040}[role=menuitem][data-v-6eb8d4c1]:not([aria-disabled]):hover:focus{background-color:#80808040}[role=menuitem][data-v-6eb8d4c1]:not([aria-disabled]):focus{background-color:#80808040}[role=menuitem][aria-disabled][data-v-6eb8d4c1]{cursor:default;color:#808080bf}[data-v-6eb8d4c1]::slotted(*){pointer-events:none}.lucide-external-link[data-v-6eb8d4c1]{position:absolute;left:6px;top:50%;transform:translateY(-50%)}
`,Fg=F(Ng,[["styles",[Yg]],["__scopeId","data-v-6eb8d4c1"]]),jg={role:"group"},Wg={key:0,class:"label"},Kg=j({__name:"DeepMenuGroup.ce",props:{label:{type:String,default:void 0}},setup(e){return(t,n)=>(T(),A("div",jg,[e.label?(T(),A("div",Wg,Yt(e.label),1)):lt("",!0),Y(t.$slots,"default")]))}}),Xg=`.label{display:inline-block;font-size:12px;line-height:18px;padding-block:4px;padding-inline:4px}
`,zg=F(Kg,[["styles",[Xg]]]),Ug=`[role=separator]{height:1px;background-color:#8080804d;margin-inline:2px;margin-block:6px}
`,Vg={},qg={role:"separator",inert:""};function Jg(e,t){return T(),A("li",qg)}const Qg=F(Vg,[["render",Jg],["styles",[Ug]]]),Gg=$(xg),Zg=$(Cg),ev=$(Ag),tv=$(Lg),nv=$(Fg),rv=$(zg),ov=$(Qg);customElements.define("deep-menu",Gg);customElements.define("deep-menu-button",Zg);customElements.define("deep-menu-heading",ev);customElements.define("deep-menu-list",tv);customElements.define("deep-menu-group",rv);customElements.define("deep-menu-item",nv);customElements.define("deep-menu-separator",ov);const sv=`.nav-root{padding:.5rem}.nav-heading{margin:0;padding:.25rem .5rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.nav-list{margin:0;list-style-type:none;padding:0;text-decoration-line:none}.nav-item{cursor:pointer;border-radius:.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nav-item:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.nav-item.active{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.link{display:flex;align-items:center;gap:.5rem;border-radius:.25rem;padding:.5rem;line-height:1.25;text-decoration-line:none}.link:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.link-text{display:block;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.link-icon{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}.link-icon>svg{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.item-separator{margin-left:-.5rem;margin-right:-.5rem;margin-bottom:8px;margin-top:7px;height:1px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}
`,iv={};function lv(e,t){return T(),A("div",null,[Y(e.$slots,"default")])}const av=F(iv,[["render",lv],["styles",[sv]]]);function cv(e){function t(n){e("select",n)}return{triggerAction:t}}const[uv,dv]=$e(cv);function fv(){const e=dv();if(!e)throw new Error("Please call `provideNavListContext` on the appropriate parent component");return e}const pv={role:"group"},hv=j({__name:"NavList.ce",emits:["select"],setup(e,{emit:t}){return uv(t),(n,r)=>(T(),A("div",pv,[Y(n.$slots,"default")]))}}),gv=`[role=group]{display:grid;gap:1px}
`,vv=F(hv,[["styles",[gv]]]),mv=["href","disabled"],bv=j({__name:"NavItem.ce",props:{value:{type:String,required:!0},href:{type:String,required:!1,default:void 0},disabled:{type:Boolean,defaul:void 0}},setup(e){const{triggerAction:t}=fv();return(n,r)=>(T(),A("a",{href:e.href,disabled:e.disabled,tabindex:"0",onClick:r[0]||(r[0]=Z(o=>e.disabled?void 0:g(t)({value:e.value,href:e.href,event:o}),["prevent"]))},[Y(n.$slots,"icon"),Y(n.$slots,"default")],8,mv))}}),yv=`a{box-sizing:border-box;text-decoration:none;color:CanvasText;background-color:var(--nav-link-bg, transparent);display:flex;flex-direction:row;padding-block:8px;padding-inline:10px;cursor:pointer;align-items:center;gap:12px;line-height:20px;font-size:14px;font-weight:500;border-radius:6px;transition:color .15s ease,background-color .15s ease,transform .1s ease,box-shadow .15s ease}a:hover{background-color:var(--nav-link-active-bg, #e0e0e0)}a:active{transform:translateY(0)}a:focus-visible{outline:none;box-shadow:0 0 0 2px var(--nav-link-focus-ring-color, CanvasText)}a[aria-current=true]{color:CanvasText;background-color:var(--nav-link-active-bg, #e0e0e0)}a:disabled{color:var(--nav-link-disabled-color, #a8a8a8);cursor:not-allowed;pointer-events:none}@media (prefers-color-scheme: dark){a{--nav-link-disabled-color: #666;--nav-link-focus-ring-color: #b0b0b0}}
`,wv=F(bv,[["styles",[yv]]]);customElements.define("nav-root",$(av));customElements.define("nav-list",$(vv));customElements.define("nav-item",$(wv));const xv=j({__name:"PopoverRoot.ce",setup(e){const t=ug();return(n,r)=>(T(),A("div",{class:Me(["popover-root",{opened:g(t).isOpened}])},[g(t).isOpened?(T(),A("div",{key:0,part:"backdrop",class:"popover-backdrop",onClick:r[0]||(r[0]=(...o)=>g(t).close&&g(t).close(...o))})):lt("",!0),Y(n.$slots,"default")],2))}}),_v=`.popover-root{position:relative;display:inline-block}.popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0}.opened{z-index:10}
`,kv=F(xv,[["styles",[_v]]]),Ev=e=>(Hn("data-v-6948fa3d"),e=e(),Bn(),e),Cv=["id","aria-expanded","aria-controls"],Rv=Ev(()=>S("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-chevron-down"},[S("path",{d:"m6 9 6 6 6-6"})],-1)),Tv=j({__name:"PopoverTrigger.ce",setup(e){const t=Xo();return(n,r)=>(T(),A("button",Do(n.$attrs,{id:g(t).triggerId,ref:g(t).connectTriggerRef,type:"button",class:["popover-trigger",{opened:g(t).isOpened,closed:g(t).isClosed}],"aria-expanded":g(t).isOpened,"aria-controls":g(t).id,"aria-haspopup":"menu",onClick:r[0]||(r[0]=Z((...o)=>g(t).toggle&&g(t).toggle(...o),["prevent"])),onKeydown:[r[1]||(r[1]=ne(Z((...o)=>g(t).open&&g(t).open(...o),["prevent"]),["up"])),r[2]||(r[2]=ne(Z((...o)=>g(t).open&&g(t).open(...o),["prevent"]),["down"]))]}),[Y(n.$slots,"default",{},void 0,!0),Rv],16,Cv))}}),Pv=`.popover-trigger[data-v-6948fa3d]{position:relative;display:inline-flex;height:38px;align-items:center;justify-content:center;gap:.5rem;border-radius:.25rem;padding-left:.5rem;padding-right:.5rem;font-size:1rem;line-height:1.5rem;line-height:1.5;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border:1px solid black}.popover-trigger[data-v-6948fa3d]:focus{background-color:red}
`,Av=F(Tv,[["styles",[Pv]],["__scopeId","data-v-6948fa3d"]]),Sv=["id"],Iv={class:"popover-content"},Lv=j({__name:"PopoverContent.ce",props:{direction:{type:String,default:"bottom-left"}},setup(e){const t=Xo();return(n,r)=>(T(),mt(un,{"enter-from-class":"enter-from-class","enter-active-class":"enter-active-class","enter-to-class":"enter-to-class","leave-from-class":"leave-from-class","leave-active-class":"leave-active-class","leave-to-class":"leave-to-class"},{default:gt(()=>[So(S("div",{id:g(t).id,ref:g(t).connectMenuRef,class:Me(["position",e.direction]),onKeydown:r[0]||(r[0]=ne((...o)=>g(t).close&&g(t).close(...o),["esc"]))},[S("div",Iv,[Y(n.$slots,"default")])],42,Sv),[[ll,g(t).isOpened]])]),_:3}))}}),Ov=`.top-left{right:0;left:auto;bottom:100%;transform-origin:bottom right}.top{right:auto;left:50%;bottom:100%;transform-origin:bottom;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.top-right{right:auto;left:0;bottom:100%;transform-origin:bottom left}.right{inset-inline-start:100%;top:50%;transform-origin:left;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bottom-right{right:auto;left:0;top:100%;transform-origin:top left}.bottom{right:auto;left:50%;top:100%;transform-origin:top;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bottom-left{right:0;left:auto;top:100%;transform-origin:top right}.left{inset-inline-end:100%;top:50%;transform-origin:right;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.center{inset-inline-start:50%;transform-origin:center;--tw-translate-y: -50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.position{position:absolute;z-index:30;padding-top:.25rem;padding-bottom:.25rem}.popover-content{max-width:20rem;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity));--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);width:minmax(max-content,320px);background:white}.enter-from-class{--tw-scale-x: .5;--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}.enter-active-class{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(0,0,.2,1)}.enter-to-class,.leave-from-class{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.leave-active-class{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,1,1)}.leave-to-class{--tw-scale-x: .5;--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}
`,Mv=F(Lv,[["styles",[Ov]]]),$v=$(kv),Hv=$(Av),Bv=$(Mv);customElements.define("popover-root",$v);customElements.define("popover-trigger",Hv);customElements.define("popover-content",Bv);const Dv=j({__name:"ScrollBar.ce",setup(e){return(t,n)=>(T(),A("perfect-scrollbar",null,[Y(t.$slots,"default")]))}});customElements.define("scroll-bar",$(Dv));function Nv(){const e=ee(),t=o=>{e.value=o},n=ee([]),r=o=>{const s="$el"in o?o.$el:o;n.value.includes(s)||n.value.push(s)};return Dn(()=>{n.value=[]}),{connectRootEl:t,rootEl:e,connectPanelEl:r,panelElements:n}}const[Yv,Fv]=$e(Nv);function Al(){const e=Fv();if(!e)throw new Error("Please call `provideSplit` on the appropriate parent component");return e}const jv=j({__name:"DeepSplit.ce",setup(e){Fo(o=>({a00bd87e:r.value}));const{connectRootEl:t,panelElements:n}=Yv(),r=z(()=>n.value.length-1);return(o,s)=>(T(),A("div",{ref:g(t),class:"split-root"},[Y(o.$slots,"default")],512))}}),Wv=`.split-root{display:grid;height:100%;overflow-x:auto;overflow-y:hidden;--panes: var(--a00bd87e);grid-template-columns:repeat(var(--panes, 1),max-content) auto;grid-template-rows:100%}
`,Kv=F(jv,[["styles",[Wv]]]);function Xv(e){return JSON.parse(JSON.stringify(e))}const Gn=(e,t,n)=>{const r=ee();return et(()=>{r.value=Xv(g(Ko(e,t))??g(n))}),r};let zr=0;function zv(e){zr++;const t=z(()=>`heading-${zr}`),n=z(()=>`pane-${zr}`),r=Gn(e,"value"),o=Gn(e,"value"),s=Gn(e,"min"),i=Gn(e,"max"),l=ee("opened");function a(){l.value==="closed"?(l.value="opened",r.value=o.value):(l.value="closed",r.value=0)}return{now:r,min:s,max:i,paneId:n,headingId:t,defaultValue:o,toggle:a,state:l}}const[Uv,Vv]=$e(zv);function Sr(){const e=Vv();if(!e)throw new Error("Please call `provideSplitPane` on the appropriate parent component");return e}const qv=["data-now"],Jv=j({__name:"DeepSplitPane.ce",props:{value:{type:Number,default:NaN},min:{type:Number,default:200},max:{type:Number,default:600}},setup(e){const t=e,{now:n,state:r}=Uv(t);return(o,s)=>(T(),A("div",{class:Me(["split-pane",g(r)]),"data-now":g(n)},[Y(o.$slots,"default")],10,qv))}}),Qv=`.split-pane{position:relative;display:grid;grid-template-columns:1fr 2px;grid-template-rows:100%;height:100%;background-color:#f8f8f8}.split-pane.closed{position:relative;display:grid;grid-template-columns:0 1px;grid-template-rows:100%;height:100%}
`,Gv=F(Jv,[["styles",[Qv]]]),Zv=j({__name:"DeepSplitContent.ce",setup(e){Fo(s=>({"2615cffc":g(r)}));const{connectPanelEl:t}=Al(),{paneId:n,now:r,state:o}=Sr();return(s,i)=>(T(),mt(g(Rd),{id:g(n),ref:g(t),class:Me(["split-primary",g(o)])},{default:gt(()=>[Y(s.$slots,"default")]),_:3},8,["id","class"]))}}),em=`.split-primary{position:relative;height:100%;min-width:0;width:calc(var(--2615cffc) * 1px);max-width:calc(var(--2615cffc) * 1px)}.ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y,.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y{opacity:.6}.ps .ps__rail-x:hover,.ps .ps__rail-y:hover,.ps .ps__rail-x:focus,.ps .ps__rail-y:focus,.ps .ps__rail-x.ps--clicking,.ps .ps__rail-y.ps--clicking{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity));opacity:.9}.ps__thumb-x{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity));border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity));border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x:hover>.ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x.ps--clicking .ps__thumb-x{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity));height:11px}.ps__rail-y:hover>.ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y.ps--clicking .ps__thumb-y{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity));width:11px}@supports (-ms-overflow-style: none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.ps{overflow:auto!important}}
`,tm=F(Zv,[["styles",[em]]]),nm=j({__name:"DeepSplitHeading.ce",props:{tag:{type:String,required:!1,default:"h2"}},setup(e){const{headingId:t}=Sr();return(n,r)=>(T(),mt(Wi(e.tag),{id:g(t),class:"split-header"},{default:gt(()=>[Y(n.$slots,"default")]),_:3},8,["id"]))}}),rm=`.split-header{margin:0;padding:0 @apply sr-only}
`,om=F(nm,[["styles",[rm]]]),sm=["aria-labelledby","aria-controls","aria-valuenow","aria-valuemin","aria-valuemax","onTouchstart","onDblclick","onKeydown"],im={role:"presentation"},lm=j({__name:"DeepSplitSeparator.ce",setup(e){function t(K,L,D){return Math.min(Math.max(K,L),D)}const{headingId:n,paneId:r,min:o,max:s,now:i,defaultValue:l,state:a,toggle:c}=Sr();function u(){i.value=o.value}function d(){a.value="opened",i.value=l.value}function p(){i.value=s.value}function m(){console.log("help")}function b(K=0){a.value="opened";const L=i.value+K;i.value=t(L,o.value,s.value)}function y(K){return"touches"in K?K.touches[0].clientX:K.clientX}function C(K){return"touches"in K&&K.touches.length>1}const E=ee(),{panelElements:x,rootEl:X}=Al(),{pressed:H}=Md({target:E});let re,pe=0;function ve(K){if(C(K))return;const L=y(K),D=L-pe;if(D<0&&L-re.x<o.value/2){a.value="closed",i.value=0;return}a.value==="closed"&&D<0&&Math.abs(D)<o.value/2||(a.value="opened",i.value=t(re.width+D,D<0?o.value:0,s.value))}function Q(){document.removeEventListener("mousemove",ve),document.removeEventListener("mouseup",Q),document.removeEventListener("touchmove",ve),document.removeEventListener("touchend",Q)}function le(K){var L;C(K)||(pe=y(K),re=((L=x.value)==null?void 0:L.find(D=>D.id===r.value)).getBoundingClientRect(),document.addEventListener("mousemove",ve),document.addEventListener("mouseup",Q),document.addEventListener("touchmove",ve),document.addEventListener("touchend",Q))}function se(){return o.value>=i.value?"e-resize":i.value>=s.value?"w-resize":"col-resize"}return et(()=>{if(H.value){const K=se();X.value.style.cursor=K}else X.value.style.removeProperty("cursor")}),(K,L)=>(T(),A("button",{ref_key:"el",ref:E,type:"button",class:Me(["split-trigger",{pressed:g(H)}]),role:"separator","aria-labelledby":g(n),"aria-controls":g(r),"aria-valuenow":g(i),"aria-valuemin":g(o),"aria-valuemax":g(s),onMousedown:le,onTouchstart:Z(le,["prevent"]),onKeydown:[L[0]||(L[0]=ne(Z(D=>b(-1),["prevent","exact"]),["left"])),L[1]||(L[1]=ne(Z(D=>b(-10),["shift","prevent","exact"]),["left"])),L[2]||(L[2]=ne(Z(D=>b(1),["prevent","exact"]),["right"])),L[3]||(L[3]=ne(Z(D=>b(10),["shift","prevent","exact"]),["right"])),ne(Z(u,["prevent"]),["home"]),ne(Z(p,["prevent"]),["end"]),ne(m,["f6"]),L[4]||(L[4]=ne(Z((...D)=>g(c)&&g(c)(...D),["prevent"]),["enter"]))],onDblclick:Z(d,["prevent"])},[S("div",im,[Y(K.$slots,"default",{},void 0,!0)])],42,sm))}}),am=`.split-trigger[data-v-54c169b4]{position:relative;display:block;height:100%;border-radius:0;border-style:none;margin:0;width:2px;padding:0;background-color:#d5d5d5}@media (prefers-color-scheme: dark){.split-trigger[data-v-54c169b4]{background-color:#323232}}.split-trigger[data-v-54c169b4]:not(.pressed){cursor:ew-resize}.split-trigger.pressed[data-v-54c169b4]{cursor:col-resize}.split-trigger[data-v-54c169b4]:before{content:"";position:absolute;top:0;left:-1px;bottom:0;width:3px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.split-trigger[data-v-54c169b4]:hover:before{opacity:1}
`,cm=F(lm,[["styles",[am]],["__scopeId","data-v-54c169b4"]]),um=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-panel-left-close"},[S("title",null,"close left panel"),S("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),S("path",{d:"M9 3v18"}),S("path",{d:"m16 15-3-3 3-3"})],-1),dm=[um],fm=j({__name:"DeepSplitButton.ce",setup(e){const{toggle:t}=Sr();return(n,r)=>(T(),A("button",{class:"split-button",type:"button",onClick:r[0]||(r[0]=Z((...o)=>g(t)&&g(t)(...o),["prevent"]))},dm))}}),pm=`.split-button{position:absolute;top:8px;right:-16px;z-index:1;display:flex;align-items:center;padding:8px;background-color:#fff;margin:0;line-height:1;border-radius:9999px;cursor:pointer;--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border:1px solid rgb(229 231 235)}
`,hm=F(fm,[["styles",[pm]]]);customElements.define("deep-split",$(Kv));customElements.define("deep-split-pane",$(Gv));customElements.define("deep-split-content",$(tm));customElements.define("deep-split-heading",$(om));customElements.define("deep-split-separator",$(cm));customElements.define("deep-split-button",$(hm));function gm(e,t){const n=Math.min(e.length,t.length);return Array.from({length:n},(r,o)=>[e[o],t[o]])}function vm(){const e=ee(0),t=ee([]),n=x=>{t.value.includes(x)||t.value.push(x)},r=ee([]),o=x=>{r.value.includes(x)||r.value.push(x)},s=z(()=>gm(t.value,r.value)),i=x=>s.value[x],l=z(()=>i(e.value)),a=x=>i(r.value.indexOf(x)),c=x=>i(t.value.indexOf(x)),u=x=>{e.value=t.value.indexOf(x)},d=ee([]);Dn(()=>{d.value=[]});function p(x){d.value.includes(x)||d.value.push(x)}async function m(){await De(),d.value[e.value].focus()}async function b(){e.value!==0&&(e.value--,await m())}async function y(){e.value!==d.value.length-1&&(e.value++,await m())}async function C(){e.value=0,await m()}async function E(){e.value=d.value.length-1,await m()}return{tabs:t,createTab:n,panels:r,createPanel:o,pairs:s,activePair:l,getPairByPanelId:a,getPairByTabId:c,select:u,onKeydownLeft:b,onKeydownRight:y,onKeydownHome:C,onKeydownEnd:E,addFocusable:p}}const[mm,bm]=$e(vm);function Sl(){const e=bm();if(!e)throw new Error("Please call `provideTabs` on the appropriate parent component");return e}const ym=j({__name:"DeepTabs.ce",setup(e){return mm(),(t,n)=>(T(),A("div",null,[Y(t.$slots,"default")]))}}),wm=`[role=tablist]{display:flex;grid-auto-flow:column;position:relative}[role=tablist]:after{content:" ";height:2px;width:100%;left:0;right:0;top:100%;position:absolute;background-color:var(--accent-color, black);z-index:-1}
`,xm={},_m={role:"tablist"};function km(e,t){return T(),A("div",_m,[Y(e.$slots,"default")])}const Em=F(xm,[["render",km],["styles",[wm]]]);let si=0;function Cm(){return si++,{tabId:z(()=>`tab-${si}`)}}const Rm=["id","aria-controls","aria-selected","disabled","tabindex"],Tm={class:"text"},Pm=j({__name:"DeepTab.ce",props:{selected:{type:String,default:void 0},disabled:{type:String,default:void 0}},setup(e){const t=e,{tabId:n}=Cm(),r=Sl();r.createTab(n.value);const o=z(()=>r.getPairByTabId(n.value)),s=z(()=>{var i;return n.value===((i=r.activePair.value)==null?void 0:i[0])});return et(()=>{(t.selected===""||t.selected==="true")&&(console.log("asd"),r.select(n.value))},{flush:"sync"}),(i,l)=>{var a,c,u;return T(),A("button",{id:(a=o.value)==null?void 0:a[0],ref:(c=g(r))==null?void 0:c.addFocusable,type:"button","aria-controls":(u=o.value)==null?void 0:u[1],"aria-selected":s.value,class:Me({isActive:s.value}),disabled:e.disabled==="true"?"true":void 0,role:"tab",tabindex:s.value?"0":"-1",onKeydown:[l[0]||(l[0]=ne(Z((...d)=>g(r).onKeydownLeft&&g(r).onKeydownLeft(...d),["prevent"]),["left"])),l[1]||(l[1]=ne(Z((...d)=>g(r).onKeydownRight&&g(r).onKeydownRight(...d),["prevent"]),["right"])),l[2]||(l[2]=ne(Z((...d)=>g(r).onKeydownHome&&g(r).onKeydownHome(...d),["prevent"]),["home"])),l[3]||(l[3]=ne(Z((...d)=>g(r).onKeydownEnd&&g(r).onKeydownEnd(...d),["prevent"]),["end"]))],onClick:l[4]||(l[4]=d=>g(r).select(g(n)))},[S("span",Tm,[Y(i.$slots,"default")]),Y(i.$slots,"action")],42,Rm)}}}),Am=`::host{display:block}[role=tab]{box-sizing:border-box;display:inline-block;gap:4px;align-items:center;border:none;padding:2px 12px 0;height:32px;font-size:16px;transition:background-color .2s ease-in-out;-webkit-user-select:none;user-select:none;position:relative}.text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}[role=tab]:not(.isActive){background-color:transparent;z-index:1}[role=tab].isActive{background-color:#fff}[role=tab].isActive:after{content:" ";height:2px;width:100%;left:0;right:0;top:100%;position:absolute;background-color:var(--accent-color, hotpink);z-index:3}[role=tab]:hover .text,[role=tab].isActive .text{color:var(--accent-color, hotpink);transition:color 200 ease-in-out}[role=tab]:disabled{background-color:red;-webkit-user-select:none;user-select:none;pointer-events:none}[role=tab]:disabled ::slotted(*){pointer-events:none}
`,Sm=F(Pm,[["styles",[Am]]]);let ii=0;function Im(){return ii++,{panelId:z(()=>`panel-${ii}`)}}const Lm=["id","aria-labelledby"],Om=j({__name:"DeepTabPanel.ce",setup(e){const{panelId:t}=Im(),n=Sl();n.createPanel(t.value);const r=z(()=>n.getPairByPanelId(t.value)),o=z(()=>{var s;return t.value===((s=n.activePair.value)==null?void 0:s[1])});return(s,i)=>{var l,a;return o.value?(T(),A("div",{key:0,id:(l=r.value)==null?void 0:l[1],role:"tabpanel","aria-labelledby":(a=r.value)==null?void 0:a[0]},[Y(s.$slots,"default")],8,Lm)):lt("",!0)}}}),Mm=`[role=tabpanel]{padding-top:24px}
`,$m=F(Om,[["styles",[Mm]]]);customElements.define("deep-tabs",$(ym));customElements.define("deep-tab-list",$(Em));customElements.define("deep-tab",$(Sm));customElements.define("deep-tab-panel",$($m));let li=0;const[Hm,Bm]=$e(()=>(li++,{treeId:z(()=>`tree${li}`)}));function Il(){const e=Bm();if(!e)throw new Error("Please call `provideTreeRoot` on the appropriate parent component");return e}const Dm=j({__name:"TreeRoot.ce",setup(e){return Hm(),(t,n)=>(T(),A("div",null,[Y(t.$slots,"default")]))}}),Nm=["id"],Ym=j({__name:"TreeHeading.ce",setup(e){const{treeId:t}=Il();return(n,r)=>(T(),A("h3",{id:g(t),class:"tree-heading"},[Y(n.$slots,"default",{},void 0,!0)],8,Nm))}}),Fm=`.tree-heading[data-v-2e546a2c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
`,jm=F(Ym,[["styles",[Fm]],["__scopeId","data-v-2e546a2c"]]),Wm=["aria-labelledby"],Km=j({__name:"TreeView.ce",setup(e){const{treeId:t}=Il();return(n,r)=>(T(),A("ul",{role:"tree","aria-labelledby":g(t)},[Y(n.$slots,"default",{},void 0,!0)],8,Wm))}}),Xm=`[role=tree][data-v-1d36e5f0]{margin:0;list-style-type:none;padding:0}
`,zm=F(Km,[["styles",[Xm]],["__scopeId","data-v-1d36e5f0"]]),Um={},Vm={role:"treeitem"};function qm(e,t){return T(),A("li",Vm,[Y(e.$slots,"default")])}const Jm=F(Um,[["render",qm]]),[Qm,Gm]=$e(({node:e})=>{const t=ee(!1);return{node:e,selected:t}});function Zm(){const e=Gm();if(!e)throw new Error("Please call `provideTreeNode` on the appropriate parent component");return e}const Uo=e=>(Hn("data-v-49bb02d6"),e=e(),Bn(),e),eb={key:0,class:"item"},tb={class:"icon"},nb={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-folder-open"},rb=Uo(()=>S("path",{d:"m6 14 1.45-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.55 6a2 2 0 0 1-1.94 1.5H4a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.93a2 2 0 0 1 1.66.9l.82 1.2a2 2 0 0 0 1.66.9H18a2 2 0 0 1 2 2v2"},null,-1)),ob=[rb],sb={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-folder-closed"},ib=Uo(()=>S("path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z"},null,-1)),lb=Uo(()=>S("path",{d:"M2 10h20"},null,-1)),ab=[ib,lb],cb={class:"text-node"},ub={key:1,class:"item"},db=xc('<div class="icon" data-v-49bb02d6><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file-text" data-v-49bb02d6><path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" data-v-49bb02d6></path><polyline points="14 2 14 8 20 8" data-v-49bb02d6></polyline><line x1="16" x2="8" y1="13" y2="13" data-v-49bb02d6></line><line x1="16" x2="8" y1="17" y2="17" data-v-49bb02d6></line><line x1="10" x2="8" y1="9" y2="9" data-v-49bb02d6></line></svg></div>',1),fb={class:"text-node"},pb=j({__name:"TreeNodeContent.ce",props:{level:{type:Number,required:!1,default:0}},setup(e){Fo(r=>({"298dfa15":e.level}));const{selected:t,node:n}=Zm();return(r,o)=>{var s;return T(),A("button",{class:"list-button",onClick:o[0]||(o[0]=i=>t.value=!g(t))},[(s=g(n).children)!=null&&s.length?(T(),A("div",eb,[S("div",tb,[g(t)?(T(),A("svg",nb,ob)):(T(),A("svg",sb,ab))]),S("div",cb,Yt(g(n).name),1)])):(T(),A("div",ub,[db,S("div",fb,Yt(g(n).name),1)]))])}}}),hb=`.list-button[data-v-49bb02d6]{--level: var(--298dfa15);display:block;width:100%;text-align:start;padding-left:calc(calc(var(--level) * 16px) + 8px)}.item[data-v-49bb02d6]{display:flex;min-height:40px;width:100%;align-items:center;gap:.5rem}.text-node[data-v-49bb02d6]{min-width:0px;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon[data-v-49bb02d6]{height:1rem;width:1rem;flex-shrink:0}
`,gb=F(pb,[["styles",[hb]],["__scopeId","data-v-49bb02d6"]]),vb=`[role=group][data-v-77370a23]{margin:0;list-style-type:none;padding:0}
`,mb={},bb={role:"group"};function yb(e,t){return T(),A("ul",bb,[Y(e.$slots,"default",{},()=>[Ho("This part should be recursive")],!0)])}const wb=F(mb,[["render",yb],["styles",[vb]],["__scopeId","data-v-77370a23"]]),xb=["level"],_b={key:0},kb=["level","node"],Eb=j({name:"TreeRecursion",inheritAttrs:!1,__name:"TreeRecursion.ce",props:{node:{type:Object,required:!0},level:{type:Number,required:!1,default:0}},setup(e){const t=e,{selected:n}=Qm({node:z(()=>t.node)});return(r,o)=>(T(),A("tree-node",null,[S("tree-node-content",{level:e.level},null,8,xb),e.node.children&&g(n)?(T(),A("tree-group",_b,[(T(!0),A(Ie,null,Xi(e.node.children,s=>(T(),A("tree-recursion",{key:s.id,level:e.level+1,node:s},null,8,kb))),128))])):lt("",!0)]))}});customElements.define("tree-root",$(Dm));customElements.define("tree-heading",$(jm));customElements.define("tree-view",$(zm));customElements.define("tree-node",$(Jm));customElements.define("tree-node-content",$(gb));customElements.define("tree-group",$(wb));customElements.define("tree-recursion",$(Eb));function Cb(e,t){const n=ee([]),r=Pl(e,"value",1);function o(m){n.value.includes(m)||n.value.push(m)}Dn(()=>{n.value=[]});const s=z(()=>n.value.length),i=z(()=>{if(s.value===0)return 0;let m=Math.floor(e.total/s.value);return e.total%s.value!==0&&(m+=1),m}),l=z(()=>Math.floor((r.value-1)/s.value)),a=()=>{r.value=1},c=()=>{r.value=e.total},u=()=>{r.value<e.total&&r.value++},d=()=>{r.value>1&&r.value--};function p(m){r.value=m}return et(()=>{t("select",r.value)}),{perPage:s,pageRefs:n,current:r,count:z(()=>Math.ceil(e.total/s.value)),addPage:o,next:u,prev:d,first:a,last:c,pageCount:i,offset:l,isFirst:z(()=>r.value===1),isLast:z(()=>r.value===e.total),total:gr(z(()=>e.total)),select:p}}const[Rb,Tb]=$e(Cb);function pn(){const e=Tb();if(!e)throw new Error("Please call `providePagination` on the appropriate parent component");return e}const Pb=j({__name:"DeepPagination.ce",props:{total:{type:Number,required:!0},value:{type:Number,default:1}},emits:["select"],setup(e,{emit:t}){const n=e,{next:r,prev:o}=Rb(n,t);return(s,i)=>(T(),A("nav",{"aria-label":"Pagination",onKeydown:[i[0]||(i[0]=ne(Z((...l)=>g(r)&&g(r)(...l),["prevent"]),["right"])),i[1]||(i[1]=ne(Z((...l)=>g(o)&&g(o)(...l),["prevent"]),["left"])),i[2]||(i[2]=ne(Z((...l)=>g(r)&&g(r)(...l),["prevent"]),["up"])),i[3]||(i[3]=ne(Z((...l)=>g(o)&&g(o)(...l),["prevent"]),["down"]))]},[Y(s.$slots,"default")],32))}}),Ab=["hidden","aria-current","aria-label"],Sb=j({__name:"DeepPaginationPage.ce",setup(e){const{addPage:t,pageRefs:n,current:r,total:o,offset:s,perPage:i,select:l}=pn(),a=ee(),c=z(()=>n.value.indexOf(a.value)+1+s.value*i.value),u=z(()=>r.value===c.value);function d(p){a.value=p,t(p)}return(p,m)=>(T(),A("button",{ref:d,hidden:c.value>g(o)||c.value<0,class:Me({active:u.value}),"aria-current":u.value,"aria-label":`${u.value?"Current":"Go to"} page ${c.value}`,onClick:m[0]||(m[0]=Z(b=>g(l)(c.value),["prevent"]))},Yt(c.value),11,Ab))}}),Ib=`button{cursor:pointer;border-top-right-radius:var(--border-top-right-radius, 0);border-top-left-radius:var(--border-top-left-radius, 0);border-bottom-right-radius:var(--border-bottom-right-radius, 0);border-bottom-left-radius:var(--border-bottom-left-radius, 0);box-sizing:border-box;padding:4px 8px;border:1px solid ButtonBorder;min-height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center;background-color:ButtonFace;color:ButtonText}button:active,button.active,button:hover{background-color:Highlight}button[hidden]{display:none;visibility:hidden}button:disabled{color:GrayText;pointer-events:none}
`,Lb=F(Sb,[["styles",[Ib]]]),Ob=["disabled"],Mb=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-chevron-first"},[S("path",{d:"m17 18-6-6 6-6"}),S("path",{d:"M7 6v12"})],-1),$b=j({__name:"DeepPaginationFirst.ce",setup(e){const{first:t,isFirst:n}=pn();return(r,o)=>(T(),A("button",{disabled:g(n),"aria-label":"Go to first page",onClick:o[0]||(o[0]=(...s)=>g(t)&&g(t)(...s))},[Y(r.$slots,"default",{},()=>[Mb])],8,Ob))}}),Hb=`button{cursor:pointer;border-top-right-radius:var(--border-top-right-radius, 0);border-top-left-radius:var(--border-top-left-radius, 0);border-bottom-right-radius:var(--border-bottom-right-radius, 0);border-bottom-left-radius:var(--border-bottom-left-radius, 0);box-sizing:border-box;padding:4px 8px;border:1px solid ButtonBorder;min-height:32px;min-width:32px;display:inline-flex;align-items:center;background-color:ButtonFace;color:ButtonText}button:active,button.active,button:hover{background-color:Highlight}button:disabled{color:GrayText;pointer-events:none}
`,Bb=F($b,[["styles",[Hb]]]),Db=["disabled"],Nb=S("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-chevron-last"},[S("path",{d:"m7 18 6-6-6-6"}),S("path",{d:"M17 6v12"})],-1),Yb=j({__name:"DeepPaginationLast.ce",setup(e){const{last:t,isLast:n}=pn();return(r,o)=>(T(),A("button",{disabled:g(n),"aria-label":"Go to last page",onClick:o[0]||(o[0]=(...s)=>g(t)&&g(t)(...s))},[Y(r.$slots,"default",{},()=>[Nb])],8,Db))}}),Fb=`button{cursor:pointer;border-top-right-radius:var(--border-top-right-radius, 0);border-top-left-radius:var(--border-top-left-radius, 0);border-bottom-right-radius:var(--border-bottom-right-radius, 0);border-bottom-left-radius:var(--border-bottom-left-radius, 0);box-sizing:border-box;padding:4px 8px;border:1px solid ButtonBorder;min-height:32px;min-width:32px;display:inline-flex;align-items:center;background-color:ButtonFace;color:ButtonText}button:active,button.active,button:hover{background-color:Highlight}button:disabled{color:GrayText;pointer-events:none}
`,jb=F(Yb,[["styles",[Fb]]]),Wb=["disabled"],Kb=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-chevron-right"},[S("path",{d:"m9 18 6-6-6-6"})],-1),Xb=j({__name:"DeepPaginationNext.ce",setup(e){const{next:t,isLast:n}=pn();return(r,o)=>(T(),A("button",{disabled:g(n),"aria-label":"Go to next page",onClick:o[0]||(o[0]=(...s)=>g(t)&&g(t)(...s))},[Y(r.$slots,"default",{},()=>[Kb])],8,Wb))}}),zb=`button{cursor:pointer;border-top-right-radius:var(--border-top-right-radius, 0);border-top-left-radius:var(--border-top-left-radius, 0);border-bottom-right-radius:var(--border-bottom-right-radius, 0);border-bottom-left-radius:var(--border-bottom-left-radius, 0);box-sizing:border-box;padding:4px 8px;border:1px solid ButtonBorder;min-height:32px;min-width:32px;display:inline-flex;align-items:center;background-color:ButtonFace;color:ButtonText}button:active,button.active,button:hover{background-color:Highlight}button:disabled{color:GrayText;pointer-events:none}
`,Ub=F(Xb,[["styles",[zb]]]),Vb=["disabled"],qb=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-chevron-left"},[S("path",{d:"m15 18-6-6 6-6"})],-1),Jb=j({__name:"DeepPaginationPrev.ce",setup(e){const{prev:t,isFirst:n}=pn();return(r,o)=>(T(),A("button",{disabled:g(n),"aria-label":"Go to previous Page",onClick:o[0]||(o[0]=(...s)=>g(t)&&g(t)(...s))},[Y(r.$slots,"default",{},()=>[qb])],8,Vb))}}),Qb=`button{cursor:pointer;border-top-right-radius:var(--border-top-right-radius, 0);border-top-left-radius:var(--border-top-left-radius, 0);border-bottom-right-radius:var(--border-bottom-right-radius, 0);border-bottom-left-radius:var(--border-bottom-left-radius, 0);box-sizing:border-box;padding:4px 8px;border:1px solid ButtonBorder;min-height:32px;min-width:32px;display:inline-flex;align-items:center;background-color:ButtonFace;color:ButtonText}button:active,button.active,button:hover{background-color:Highlight}button:disabled{color:GrayText;pointer-events:none}
`,Gb=F(Jb,[["styles",[Qb]]]),Zb=["max"],e0=j({__name:"DeepPaginationPageInput.ce",setup(e){const{current:t,total:n}=pn();return(r,o)=>So((T(),A("input",{"onUpdate:modelValue":o[0]||(o[0]=s=>Pe(t)?t.value=s:null),type:"number",max:g(n),min:"1"},null,8,Zb)),[[nu,g(t)]])}}),t0=`input{box-sizing:border-box;padding:4px 8px;border:none;min-height:32px;min-width:32px;display:inline-flex;align-items:center;background-color:Field;transition:box-shadow 50ms ease-in-out;color:FieldText;box-shadow:inset 0 -.0625rem 0 ButtonBorder,inset -.0625rem 0 0 ButtonBorder,inset .0625rem 0 0 ButtonBorder,inset 0 .0625rem 0 ButtonBorder;text-align:right}input:active,input.active{border-color:transparent;box-shadow:0 .125rem .0625rem #1a1a1a33 inset,.0625rem 0 .0625rem #1a1a1a1f inset,-.0625rem 0 .0625rem #1a1a1a1f inset}input:focus{outline:none}button:hover{background-color:Field}
`,n0=F(e0,[["styles",[t0]]]);customElements.define("deep-pagination",$(Pb));customElements.define("deep-pagination-page",$(Lb));customElements.define("deep-pagination-first",$(Bb));customElements.define("deep-pagination-last",$(jb));customElements.define("deep-pagination-next",$(Ub));customElements.define("deep-pagination-prev",$(Gb));customElements.define("deep-pagination-page-input",$(n0));const r0=S("deep-app-header",null,[S("deep-app-skip-links"),S("a",{href:"/"},"link"),S("deep-header-menu",null,[S("deep-menu",null,[S("deep-menu-button",null,[S("deep-avatar",{src:"https://randomuser.me/api/portraits/women/18.jpg",alt:"hallo"})]),S("deep-menu-list",{direction:"bottom-right"},[S("deep-menu-item",{value:"account"}," Account "),S("deep-menu-item",{href:"https://dev.deepbox.swiss/client-apps"}," Install DeepBox "),S("deep-menu-separator"),S("deep-menu-item",{value:"language"}," Language "),S("deep-menu-item",{value:"support"}," Support "),S("deep-menu-separator"),S("deep-menu-item",{value:"logout"}," Logout ")])])])],-1),o0={class:"grid"},s0={value:200},i0={class:"p-4"},l0=["href","aria-current"],a0=S("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-home"},[S("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),S("polyline",{points:"9 22 9 12 15 12 15 22"})],-1),c0=["href","aria-current"],u0=S("nav-item",{disabled:"",value:"deepcloud",href:"https://deepcloud.swiss"},"Disabled",-1),d0=S("deep-split-separator",null,null,-1),f0=S("deep-split-heading",null," Navigation ",-1),p0=j({__name:"App",setup(e){const t=fd(),n=pd();function r(s){const[i]=s.detail,l=new URL(i.href,window.location.origin).origin!==window.location.origin;i.event.shiftKey||i.event.metaKey||i.event.button===1?window.open(i.href,"_blank","noopener,noreferrer"):l?window.location.href=i.href:t.push(i.href)}function o(s){return n.path===s}return(s,i)=>{const l=Ga("RouterView");return T(),A("deep-app",null,[r0,S("div",o0,[S("deep-split",null,[S("deep-split-pane",s0,[S("deep-split-content",null,[S("deep-app-navigation",null,[S("div",i0,[S("nav-list",{onSelect:r},[S("nav-item",{value:"home",href:g(t).resolve("/").href,"aria-current":o("/")},[a0,Ho(" Home ")],8,l0),S("nav-item",{value:"about",href:g(t).resolve("/about").href,"aria-current":o("/about")},"User",8,c0),u0],32)])])]),d0]),S("deep-split-pane",null,[S("deep-split-content",null,[f0,S("deep-app-main",null,[Te(l)])])])])])])}}});const Ll=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},h0={};function g0(e,t){return" Home "}const v0=Ll(h0,[["render",g0]]),m0={};function b0(e,t){return" About "}const y0=Ll(m0,[["render",b0]]),w0=[{path:"/",name:"home",component:v0},{path:"/about",name:"about",component:y0}],x0=ud({history:Ru(),routes:w0}),Ol=lu(p0);Ol.use(x0);Ol.mount("#app");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment