const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ResearchView-DFnjCg_s.js","assets/runs-DYFhq9n5.js","assets/client-kC9rksRl.js","assets/GeneratorView-DaRn5tUd.js","assets/KnowledgeView-CbOlMbUz.js"])))=>i.map(i=>d[i]); (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Er(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const ft={},Je=[],ue=()=>{},ci=()=>!1,ds=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),hs=t=>t.startsWith("onUpdate:"),Tt=Object.assign,Sr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Xl=Object.prototype.hasOwnProperty,it=(t,e)=>Xl.call(t,e),G=Array.isArray,Xe=t=>kn(t)==="[object Map]",ui=t=>kn(t)==="[object Set]",Yr=t=>kn(t)==="[object Date]",z=t=>typeof t=="function",mt=t=>typeof t=="string",Qt=t=>typeof t=="symbol",at=t=>t!==null&&typeof t=="object",fi=t=>(at(t)||z(t))&&z(t.then)&&z(t.catch),di=Object.prototype.toString,kn=t=>di.call(t),Zl=t=>kn(t).slice(8,-1),hi=t=>kn(t)==="[object Object]",ps=t=>mt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,vn=Er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=t=>{const e=Object.create(null);return(n=>e[n]||(e[n]=t(n)))},ta=/-\w/g,Vt=gs(t=>t.replace(ta,e=>e.slice(1).toUpperCase())),ea=/\B([A-Z])/g,ke=gs(t=>t.replace(ea,"-$1").toLowerCase()),ms=gs(t=>t.charAt(0).toUpperCase()+t.slice(1)),Os=gs(t=>t?`on${ms(t)}`:""),le=(t,e)=>!Object.is(t,e),Gn=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},Ar=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Qr;const vs=()=>Qr||(Qr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Me(t){if(G(t)){const e={};for(let n=0;n{if(n){const s=n.split(sa);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function zt(t){let e="";if(mt(t))e=t;else if(G(t))for(let n=0;n!!(t&&t.__v_isRef===!0),ae=t=>mt(t)?t:t==null?"":G(t)||at(t)&&(t.toString===di||!z(t.toString))?mi(t)?ae(t.value):JSON.stringify(t,vi,2):String(t),vi=(t,e)=>mi(e)?vi(t,e.value):Xe(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,r],o)=>(n[Ns(s,o)+" =>"]=r,n),{})}:ui(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Ns(n))}:Qt(e)?Ns(e):at(e)&&!G(e)&&!hi(e)?String(e):e,Ns=(t,e="")=>{var n;return Qt(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Rt;class yi{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Rt&&(Rt.active?(this.parent=Rt,this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0&&--this._on===0){if(Rt===this)Rt=this.prevScope;else{let e=Rt;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(bn){let e=bn;for(bn=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;yn;){let e=yn;for(yn=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(s){t||(t=s)}e=n}}if(t)throw t}function Si(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Ai(t){let e,n=t.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Tr(s),ua(s)):e=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}t.deps=e,t.depsTail=n}function Js(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ci(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ci(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Cn)||(t.globalVersion=Cn,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Js(t))))return;t.flags|=2;const e=t.dep,n=ht,s=Zt;ht=t,Zt=!0;try{Si(t);const r=t.fn(t._value);(e.version===0||le(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{ht=n,Zt=s,Ai(t),t.flags&=-3}}function Tr(t,e=!1){const{dep:n,prevSub:s,nextSub:r}=t;if(s&&(s.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=s,t.nextSub=void 0),n.subs===t&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Tr(o,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function ua(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Zt=!0;const Ri=[];function fe(){Ri.push(Zt),Zt=!1}function de(){const t=Ri.pop();Zt=t===void 0?!0:t}function Xr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ht;ht=void 0;try{e()}finally{ht=n}}}let Cn=0;class fa{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Pr{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ht||!Zt||ht===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ht)n=this.activeLink=new fa(ht,this),ht.deps?(n.prevDep=ht.depsTail,ht.depsTail.nextDep=n,ht.depsTail=n):ht.deps=ht.depsTail=n,Ii(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ht.depsTail,n.nextDep=void 0,ht.depsTail.nextDep=n,ht.depsTail=n,ht.deps===n&&(ht.deps=s)}return n}trigger(e){this.version++,Cn++,this.notify(e)}notify(e){Rr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ir()}}}function Ii(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let s=e.deps;s;s=s.nextDep)Ii(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Xn=new WeakMap,He=Symbol(""),Xs=Symbol(""),Rn=Symbol("");function Mt(t,e,n){if(Zt&&ht){let s=Xn.get(t);s||Xn.set(t,s=new Map);let r=s.get(n);r||(s.set(n,r=new Pr),r.map=s,r.key=n),r.track()}}function ye(t,e,n,s,r,o){const i=Xn.get(t);if(!i){Cn++;return}const l=a=>{a&&a.trigger()};if(Rr(),e==="clear")i.forEach(l);else{const a=G(t),c=a&&ps(n);if(a&&n==="length"){const u=Number(s);i.forEach((f,p)=>{(p==="length"||p===Rn||!Qt(p)&&p>=u)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(Rn)),e){case"add":a?c&&l(i.get("length")):(l(i.get(He)),Xe(t)&&l(i.get(Xs)));break;case"delete":a||(l(i.get(He)),Xe(t)&&l(i.get(Xs)));break;case"set":Xe(t)&&l(i.get(He));break}}Ir()}function da(t,e){const n=Xn.get(t);return n&&n.get(e)}function $e(t){const e=nt(t);return e===t?e:(Mt(e,"iterate",Rn),Yt(t)?e:e.map(te))}function ys(t){return Mt(t=nt(t),"iterate",Rn),t}function oe(t,e){return _e(t)?en(xe(t)?te(e):e):te(e)}const ha={__proto__:null,[Symbol.iterator](){return ks(this,Symbol.iterator,t=>oe(this,t))},concat(...t){return $e(this).concat(...t.map(e=>G(e)?$e(e):e))},entries(){return ks(this,"entries",t=>(t[1]=oe(this,t[1]),t))},every(t,e){return he(this,"every",t,e,void 0,arguments)},filter(t,e){return he(this,"filter",t,e,n=>n.map(s=>oe(this,s)),arguments)},find(t,e){return he(this,"find",t,e,n=>oe(this,n),arguments)},findIndex(t,e){return he(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return he(this,"findLast",t,e,n=>oe(this,n),arguments)},findLastIndex(t,e){return he(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return he(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ds(this,"includes",t)},indexOf(...t){return Ds(this,"indexOf",t)},join(t){return $e(this).join(t)},lastIndexOf(...t){return Ds(this,"lastIndexOf",t)},map(t,e){return he(this,"map",t,e,void 0,arguments)},pop(){return ln(this,"pop")},push(...t){return ln(this,"push",t)},reduce(t,...e){return Zr(this,"reduce",t,e)},reduceRight(t,...e){return Zr(this,"reduceRight",t,e)},shift(){return ln(this,"shift")},some(t,e){return he(this,"some",t,e,void 0,arguments)},splice(...t){return ln(this,"splice",t)},toReversed(){return $e(this).toReversed()},toSorted(t){return $e(this).toSorted(t)},toSpliced(...t){return $e(this).toSpliced(...t)},unshift(...t){return ln(this,"unshift",t)},values(){return ks(this,"values",t=>oe(this,t))}};function ks(t,e,n){const s=ys(t),r=s[e]();return s!==t&&!Yt(t)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const pa=Array.prototype;function he(t,e,n,s,r,o){const i=ys(t),l=i!==t&&!Yt(t),a=i[e];if(a!==pa[e]){const f=a.apply(t,o);return l?te(f):f}let c=n;i!==t&&(l?c=function(f,p){return n.call(this,oe(t,f),p,t)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,t)}));const u=a.call(i,c,s);return l&&r?r(u):u}function Zr(t,e,n,s){const r=ys(t),o=r!==t&&!Yt(t);let i=n,l=!1;r!==t&&(o?(l=s.length===0,i=function(c,u,f){return l&&(l=!1,c=oe(t,c)),n.call(this,c,oe(t,u),f,t)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,t)}));const a=r[e](i,...s);return l?oe(t,a):a}function Ds(t,e,n){const s=nt(t);Mt(s,"iterate",Rn);const r=s[e](...n);return(r===-1||r===!1)&&bs(n[0])?(n[0]=nt(n[0]),s[e](...n)):r}function ln(t,e,n=[]){fe(),Rr();const s=nt(t)[e].apply(t,n);return Ir(),de(),s}const ga=Er("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Qt));function ma(t){Qt(t)||(t=String(t));const e=nt(this);return Mt(e,"has",t),e.hasOwnProperty(t)}class Pi{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){if(n==="__v_skip")return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ca:ki:o?Mi:Ni).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const i=G(e);if(!r){let a;if(i&&(a=ha[n]))return a;if(n==="hasOwnProperty")return ma}const l=Reflect.get(e,n,bt(e)?e:s);if((Qt(n)?Ti.has(n):ga(n))||(r||Mt(e,"get",n),o))return l;if(bt(l)){const a=i&&ps(n)?l:l.value;return r&&at(a)?tr(a):a}return at(l)?r?tr(l):Dn(l):l}}class Oi extends Pi{constructor(e=!1){super(!1,e)}set(e,n,s,r){let o=e[n];const i=G(e)&&ps(n);if(!this._isShallow){const c=_e(o);if(!Yt(s)&&!_e(s)&&(o=nt(o),s=nt(s)),!i&&bt(o)&&!bt(s))return c||(o.value=s),!0}const l=i?Number(n)t,Fn=t=>Reflect.getPrototypeOf(t);function _a(t,e,n){return function(...s){const r=this.__v_raw,o=nt(r),i=Xe(o),l=t==="entries"||t===Symbol.iterator&&i,a=t==="keys"&&i,c=r[t](...s),u=n?Zs:e?en:te;return!e&&Mt(o,"iterate",a?Xs:He),Tt(Object.create(c),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:l?[u(f[0]),u(f[1])]:u(f),done:p}}})}}function Hn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function wa(t,e){const n={get(r){const o=this.__v_raw,i=nt(o),l=nt(r);t||(le(r,l)&&Mt(i,"get",r),Mt(i,"get",l));const{has:a}=Fn(i),c=e?Zs:t?en:te;if(a.call(i,r))return c(o.get(r));if(a.call(i,l))return c(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!t&&Mt(nt(r),"iterate",He),r.size},has(r){const o=this.__v_raw,i=nt(o),l=nt(r);return t||(le(r,l)&&Mt(i,"has",r),Mt(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=nt(l),c=e?Zs:t?en:te;return!t&&Mt(a,"iterate",He),l.forEach((u,f)=>r.call(o,c(u),c(f),i))}};return Tt(n,t?{add:Hn("add"),set:Hn("set"),delete:Hn("delete"),clear:Hn("clear")}:{add(r){const o=nt(this),i=Fn(o),l=nt(r),a=!e&&!Yt(r)&&!_e(r)?l:r;return i.has.call(o,a)||le(r,a)&&i.has.call(o,r)||le(l,a)&&i.has.call(o,l)||(o.add(a),ye(o,"add",a,a)),this},set(r,o){!e&&!Yt(o)&&!_e(o)&&(o=nt(o));const i=nt(this),{has:l,get:a}=Fn(i);let c=l.call(i,r);c||(r=nt(r),c=l.call(i,r));const u=a.call(i,r);return i.set(r,o),c?le(o,u)&&ye(i,"set",r,o):ye(i,"add",r,o),this},delete(r){const o=nt(this),{has:i,get:l}=Fn(o);let a=i.call(o,r);a||(r=nt(r),a=i.call(o,r)),l&&l.call(o,r);const c=o.delete(r);return a&&ye(o,"delete",r,void 0),c},clear(){const r=nt(this),o=r.size!==0,i=r.clear();return o&&ye(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=_a(r,t,e)}),n}function Or(t,e){const n=wa(t,e);return(s,r,o)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?s:Reflect.get(it(n,r)&&r in s?n:s,r,o)}const Ea={get:Or(!1,!1)},Sa={get:Or(!1,!0)},Aa={get:Or(!0,!1)};const Ni=new WeakMap,Mi=new WeakMap,ki=new WeakMap,Ca=new WeakMap;function Ra(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dn(t){return _e(t)?t:Nr(t,!1,ya,Ea,Ni)}function Di(t){return Nr(t,!1,xa,Sa,Mi)}function tr(t){return Nr(t,!0,ba,Aa,ki)}function Nr(t,e,n,s,r){if(!at(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=r.get(t);if(o)return o;const i=Ra(Zl(t));if(i===0)return t;const l=new Proxy(t,i===2?s:n);return r.set(t,l),l}function xe(t){return _e(t)?xe(t.__v_raw):!!(t&&t.__v_isReactive)}function _e(t){return!!(t&&t.__v_isReadonly)}function Yt(t){return!!(t&&t.__v_isShallow)}function bs(t){return t?!!t.__v_raw:!1}function nt(t){const e=t&&t.__v_raw;return e?nt(e):t}function Mr(t){return!it(t,"__v_skip")&&Object.isExtensible(t)&&pi(t,"__v_skip",!0),t}const te=t=>at(t)?Dn(t):t,en=t=>at(t)?tr(t):t;function bt(t){return t?t.__v_isRef===!0:!1}function pt(t){return Li(t,!1)}function Ia(t){return Li(t,!0)}function Li(t,e){return bt(t)?t:new Ta(t,e)}class Ta{constructor(e,n){this.dep=new Pr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:nt(e),this._value=n?e:te(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,s=this.__v_isShallow||Yt(e)||_e(e);e=s?e:nt(e),le(e,n)&&(this._rawValue=e,this._value=s?e:te(e),this.dep.trigger())}}function ct(t){return bt(t)?t.value:t}function zh(t){return z(t)?t():ct(t)}const Pa={get:(t,e,n)=>e==="__v_raw"?t:ct(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const r=t[e];return bt(r)&&!bt(n)?(r.value=n,!0):Reflect.set(t,e,n,s)}};function ji(t){return xe(t)?t:new Proxy(t,Pa)}function Oa(t){const e=G(t)?new Array(t.length):{};for(const n in t)e[n]=Ma(t,n);return e}class Na{constructor(e,n,s){this._object=e,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Qt(n)?n:String(n),this._raw=nt(e);let r=!0,o=e;if(!G(e)||Qt(this._key)||!ps(this._key))do r=!bs(o)||Yt(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=ct(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&bt(this._raw[this._key])){const n=this._object[this._key];if(bt(n)){n.value=e;return}}this._object[this._key]=e}get dep(){return da(this._raw,this._key)}}function Ma(t,e,n){return new Na(t,e,n)}class ka{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Pr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ht!==this)return Ei(this,!0),!0}get value(){const e=this.dep.track();return Ci(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Da(t,e,n=!1){let s,r;return z(t)?s=t:(s=t.get,r=t.set),new ka(s,r,n)}const Vn={},Zn=new WeakMap;let je;function La(t,e=!1,n=je){if(n){let s=Zn.get(n);s||Zn.set(n,s=[]),s.push(t)}}function ja(t,e,n=ft){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,c=E=>r?E:Yt(E)||r===!1||r===0?be(E,1):be(E);let u,f,p,g,R=!1,S=!1;if(bt(t)?(f=()=>t.value,R=Yt(t)):xe(t)?(f=()=>c(t),R=!0):G(t)?(S=!0,R=t.some(E=>xe(E)||Yt(E)),f=()=>t.map(E=>{if(bt(E))return E.value;if(xe(E))return c(E);if(z(E))return a?a(E,2):E()})):z(t)?e?f=a?()=>a(t,2):t:f=()=>{if(p){fe();try{p()}finally{de()}}const E=je;je=u;try{return a?a(t,3,[g]):t(g)}finally{je=E}}:f=ue,e&&r){const E=f,k=r===!0?1/0:r;f=()=>be(E(),k)}const w=xi(),L=()=>{u.stop(),w&&w.active&&Sr(w.effects,u)};if(o&&e){const E=e;e=(...k)=>{const H=E(...k);return L(),H}}let I=S?new Array(t.length).fill(Vn):Vn;const v=E=>{if(!(!(u.flags&1)||!u.dirty&&!E))if(e){const k=u.run();if(E||r||R||(S?k.some((H,N)=>le(H,I[N])):le(k,I))){p&&p();const H=je;je=u;try{const N=[k,I===Vn?void 0:S&&I[0]===Vn?[]:I,g];I=k,a?a(e,3,N):e(...N)}finally{je=H}}}else u.run()};return l&&l(v),u=new _i(f),u.scheduler=i?()=>i(v,!1):v,g=E=>La(E,!1,u),p=u.onStop=()=>{const E=Zn.get(u);if(E){if(a)a(E,4);else for(const k of E)k();Zn.delete(u)}},e?s?v(!0):I=u.run():i?i(v.bind(null,!0),!0):u.run(),L.pause=u.pause.bind(u),L.resume=u.resume.bind(u),L.stop=L,L}function be(t,e=1/0,n){if(e<=0||!at(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,bt(t))be(t.value,e,n);else if(G(t))for(let s=0;s{be(s,e,n)});else if(hi(t)){for(const s in t)be(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&be(t[s],e,n)}return t}/** * @vue/runtime-core v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Ln(t,e,n,s){try{return s?t(...s):t()}catch(r){xs(r,e,n)}}function ee(t,e,n,s){if(z(t)){const r=Ln(t,e,n,s);return r&&fi(r)&&r.catch(o=>{xs(o,e,n)}),r}if(G(t)){const r=[];for(let o=0;o>>1,r=Ht[s],o=In(r);o=In(n)?Ht.push(t):Ht.splice(Fa(e),0,t),t.flags|=1,Fi()}}function Fi(){ts||(ts=Bi.then(Vi))}function Ha(t){G(t)?Ze.push(...t):Oe&&t.id===-1?Oe.splice(ze+1,0,t):t.flags&1||(Ze.push(t),t.flags|=1),Fi()}function to(t,e,n=re+1){for(;nIn(n)-In(s));if(Ze.length=0,Oe){Oe.push(...e);return}for(Oe=e,ze=0;zet.id==null?t.flags&2?-1:1/0:t.id;function Vi(t){try{for(re=0;re{s._d&&os(-1);const o=es(e);let i;try{i=t(...r)}finally{es(o),s._d&&os(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function qh(t,e){if(It===null)return t;const n=As(It),s=t.dirs||(t.dirs=[]);for(let r=0;r1)return n&&z(e)?e.call(s&&s.proxy):e}}function Va(){return!!(Hr()||Ue)}const Ua=Symbol.for("v-scx"),Ka=()=>Xt(Ua);function Qe(t,e){return Dr(t,null,e)}function Ve(t,e,n){return Dr(t,e,n)}function Dr(t,e,n=ft){const{immediate:s,deep:r,flush:o,once:i}=n,l=Tt({},n),a=e&&s||!e&&o!=="post";let c;if(On){if(o==="sync"){const g=Ka();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=ue,g.resume=ue,g.pause=ue,g}}const u=kt;l.call=(g,R,S)=>ee(g,u,R,S);let f=!1;o==="post"?l.scheduler=g=>{Bt(g,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,R)=>{R?g():kr(g)}),l.augmentJob=g=>{e&&(g.flags|=4),f&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=ja(t,e,l);return On&&(c?c.push(p):a&&p()),p}function $a(t,e,n){const s=this.proxy,r=mt(t)?t.includes(".")?Ki(s,t):()=>s[t]:t.bind(s,s);let o;z(e)?o=e:(o=e.handler,n=e);const i=jn(this),l=Dr(r,o.bind(s),n);return i(),l}function Ki(t,e){const n=e.split(".");return()=>{let s=t;for(let r=0;rt.__isTeleport,Be=t=>t&&(t.disabled||t.disabled===""),Wa=t=>t&&(t.defer||t.defer===""),eo=t=>typeof SVGElement<"u"&&t instanceof SVGElement,no=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,er=(t,e)=>{const n=t&&t.to;return mt(n)?e?e(n):null:n},za={name:"Teleport",__isTeleport:!0,process(t,e,n,s,r,o,i,l,a,c){const{mc:u,pc:f,pbc:p,o:{insert:g,querySelector:R,createText:S,createComment:w,parentNode:L}}=c,I=Be(e.props);let{dynamicChildren:v}=e;const E=(N,B,F)=>{N.shapeFlag&16&&u(N.children,B,F,r,o,i,l,a)},k=(N=e)=>{const B=Be(N.props),F=N.target=er(N.props,R),q=nr(F,N,S,g);F&&(i!=="svg"&&eo(F)?i="svg":i!=="mathml"&&no(F)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(F),B||(E(N,F,q),pn(N,!1)))},H=N=>{const B=()=>{if(Te.get(N)===B){if(Te.delete(N),Be(N.props)){const F=L(N.el)||n;E(N,F,N.anchor),pn(N,!0)}k(N)}};Te.set(N,B),Bt(B,o)};if(t==null){const N=e.el=S(""),B=e.anchor=S("");if(g(N,n,s),g(B,n,s),Wa(e.props)||o&&o.pendingBranch){H(e);return}I&&(E(e,n,B),pn(e,!0)),k()}else{e.el=t.el;const N=e.anchor=t.anchor,B=Te.get(t);if(B){B.flags|=8,Te.delete(t),H(e);return}e.targetStart=t.targetStart;const F=e.target=t.target,q=e.targetAnchor=t.targetAnchor,dt=Be(t.props),xt=dt?n:F,_t=dt?N:q;if(i==="svg"||eo(F)?i="svg":(i==="mathml"||no(F))&&(i="mathml"),v?(p(t.dynamicChildren,v,xt,r,o,i,l),Fr(t,e,!0)):a||f(t,e,xt,_t,r,o,i,l,!1),I)dt?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Un(e,n,N,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const Pt=er(e.props,R);Pt&&(e.target=Pt,Un(e,Pt,null,c,0))}else dt&&Un(e,F,q,c,1);pn(e,I)}},remove(t,e,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:p}=t,g=Be(p),R=o||!g,S=Te.get(t);if(S&&(S.flags|=8,Te.delete(t)),f&&(r(c),r(u)),o&&r(a),!S&&(g||f)&&i&16)for(let w=0;wxn(S,e&&(G(e)?e[w]:e),n,s,r));return}if(tn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&xn(t,e,n,s.component.subTree);return}const o=s.shapeFlag&4?As(s.component):s.el,i=r?null:o,{i:l,r:a}=t,c=e&&e.r,u=l.refs===ft?l.refs={}:l.refs,f=l.setupState,p=nt(f),g=f===ft?ci:S=>so(u,S)?!1:it(p,S),R=(S,w)=>!(w&&so(u,w));if(c!=null&&c!==a){if(ro(e),mt(c))u[c]=null,g(c)&&(f[c]=null);else if(bt(c)){const S=e;R(c,S.k)&&(c.value=null),S.k&&(u[S.k]=null)}}if(z(a)){fe();try{Ln(a,l,12,[i,u])}finally{de()}}else{const S=mt(a),w=bt(a);if(S||w){const L=()=>{if(t.f){const I=S?g(a)?f[a]:u[a]:R()||!t.k?a.value:u[t.k];if(r)G(I)&&Sr(I,o);else if(G(I))I.includes(o)||I.push(o);else if(S)u[a]=[o],g(a)&&(f[a]=u[a]);else{const v=[o];R(a,t.k)&&(a.value=v),t.k&&(u[t.k]=v)}}else S?(u[a]=i,g(a)&&(f[a]=i)):w&&(R(a,t.k)&&(a.value=i),t.k&&(u[t.k]=i))};if(i){const I=()=>{L(),ns.delete(t)};I.id=-1,ns.set(t,I),Bt(I,n)}else ro(t),L()}}}function ro(t){const e=ns.get(t);e&&(e.flags|=8,ns.delete(t))}vs().requestIdleCallback;vs().cancelIdleCallback;const tn=t=>!!t.type.__asyncLoader,Wi=t=>t.type.__isKeepAlive;function Ya(t,e){zi(t,"a",e)}function Qa(t,e){zi(t,"da",e)}function zi(t,e,n=kt){const s=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(ws(e,s,n),n){let r=n.parent;for(;r&&r.parent;)Wi(r.parent.vnode)&&Ja(s,e,n,r),r=r.parent}}function Ja(t,e,n,s){const r=ws(e,t,s,!0);Yi(()=>{Sr(s[e],r)},n)}function ws(t,e,n=kt,s=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{fe();const l=jn(n),a=ee(e,n,t,i);return l(),de(),a});return s?r.unshift(o):r.push(o),o}}const Ee=t=>(e,n=kt)=>{(!On||t==="sp")&&ws(t,(...s)=>e(...s),n)},Xa=Ee("bm"),sr=Ee("m"),Za=Ee("bu"),tc=Ee("u"),qi=Ee("bum"),Yi=Ee("um"),ec=Ee("sp"),nc=Ee("rtg"),sc=Ee("rtc");function rc(t,e=kt){ws("ec",t,e)}const Qi="components";function Qh(t,e){return Xi(Qi,t,!0,e)||t}const Ji=Symbol.for("v-ndc");function an(t){return mt(t)?Xi(Qi,t,!1)||t:t||Ji}function Xi(t,e,n=!0,s=!1){const r=It||kt;if(r){const o=r.type;{const l=Kc(o,!1);if(l&&(l===e||l===Vt(e)||l===ms(Vt(e))))return o}const i=oo(r[t]||o[t],e)||oo(r.appContext[t],e);return!i&&s?o:i}}function oo(t,e){return t&&(t[e]||t[Vt(e)]||t[ms(Vt(e))])}function ss(t,e,n,s){let r;const o=n,i=G(t);if(i||mt(t)){const l=i&&xe(t);let a=!1,c=!1;l&&(a=!Yt(t),c=_e(t),t=ys(t)),r=new Array(t.length);for(let u=0,f=t.length;ue(l,a,void 0,o));else{const l=Object.keys(t);r=new Array(l.length);for(let a=0,c=l.length;a0;return e!=="default"&&(n.name=e),tt(),ce(wt,null,[ut("slot",n,s&&s())],c?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),tt();const i=o&&Zi(o(n)),l=n.key||i&&i.key,a=ce(wt,{key:(l&&!Qt(l)?l:`_${e}`)+(!i&&s?"_fb":"")},i||(s?s():[]),i&&t._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Zi(t){return t.some(e=>Pn(e)?!(e.type===we||e.type===wt&&!Zi(e.children)):!0)?t:null}const rr=t=>t?yl(t)?As(t):rr(t.parent):null,_n=Tt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>rr(t.parent),$root:t=>rr(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>el(t),$forceUpdate:t=>t.f||(t.f=()=>{kr(t.update)}),$nextTick:t=>t.n||(t.n=_s.bind(t.proxy)),$watch:t=>$a.bind(t)}),js=(t,e)=>t!==ft&&!t.__isScriptSetup&&it(t,e),oc={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=t;if(e[0]!=="$"){const p=i[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return r[e];case 4:return n[e];case 3:return o[e]}else{if(js(s,e))return i[e]=1,s[e];if(r!==ft&&it(r,e))return i[e]=2,r[e];if(it(o,e))return i[e]=3,o[e];if(n!==ft&&it(n,e))return i[e]=4,n[e];or&&(i[e]=0)}}const c=_n[e];let u,f;if(c)return e==="$attrs"&&Mt(t.attrs,"get",""),c(t);if((u=l.__cssModules)&&(u=u[e]))return u;if(n!==ft&&it(n,e))return i[e]=4,n[e];if(f=a.config.globalProperties,it(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:r,ctx:o}=t;return js(r,e)?(r[e]=n,!0):s!==ft&&it(s,e)?(s[e]=n,!0):it(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||t!==ft&&l[0]!=="$"&&it(t,l)||js(e,l)||it(o,l)||it(s,l)||it(_n,l)||it(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:it(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function ic(){return lc().attrs}function lc(t){const e=Hr();return e.setupContext||(e.setupContext=xl(e))}function io(t){return G(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let or=!0;function ac(t){const e=el(t),n=t.proxy,s=t.ctx;or=!1,e.beforeCreate&&lo(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:g,updated:R,activated:S,deactivated:w,beforeDestroy:L,beforeUnmount:I,destroyed:v,unmounted:E,render:k,renderTracked:H,renderTriggered:N,errorCaptured:B,serverPrefetch:F,expose:q,inheritAttrs:dt,components:xt,directives:_t,filters:Pt}=e;if(c&&cc(c,s,null),i)for(const W in i){const J=i[W];z(J)&&(s[W]=J.bind(n))}if(r){const W=r.call(n,n);at(W)&&(t.data=Dn(W))}if(or=!0,o)for(const W in o){const J=o[W],Et=z(J)?J.bind(n,n):z(J.get)?J.get.bind(n,n):ue,Dt=!z(J)&&z(J.set)?J.set.bind(n):ue,Kt=et({get:Et,set:Dt});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>Kt.value,set:Ot=>Kt.value=Ot})}if(l)for(const W in l)tl(l[W],s,n,W);if(a){const W=z(a)?a.call(n):a;Reflect.ownKeys(W).forEach(J=>{Wn(J,W[J])})}u&&lo(u,t,"c");function lt(W,J){G(J)?J.forEach(Et=>W(Et.bind(n))):J&&W(J.bind(n))}if(lt(Xa,f),lt(sr,p),lt(Za,g),lt(tc,R),lt(Ya,S),lt(Qa,w),lt(rc,B),lt(sc,H),lt(nc,N),lt(qi,I),lt(Yi,E),lt(ec,F),G(q))if(q.length){const W=t.exposed||(t.exposed={});q.forEach(J=>{Object.defineProperty(W,J,{get:()=>n[J],set:Et=>n[J]=Et,enumerable:!0})})}else t.exposed||(t.exposed={});k&&t.render===ue&&(t.render=k),dt!=null&&(t.inheritAttrs=dt),xt&&(t.components=xt),_t&&(t.directives=_t),F&&Gi(t)}function cc(t,e,n=ue){G(t)&&(t=ir(t));for(const s in t){const r=t[s];let o;at(r)?"default"in r?o=Xt(r.from||s,r.default,!0):o=Xt(r.from||s):o=Xt(r),bt(o)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):e[s]=o}}function lo(t,e,n){ee(G(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function tl(t,e,n,s){let r=s.includes(".")?Ki(n,s):()=>n[s];if(mt(t)){const o=e[t];z(o)&&Ve(r,o)}else if(z(t))Ve(r,t.bind(n));else if(at(t))if(G(t))t.forEach(o=>tl(o,e,n,s));else{const o=z(t.handler)?t.handler.bind(n):e[t.handler];z(o)&&Ve(r,o,t)}}function el(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=t.appContext,l=o.get(e);let a;return l?a=l:!r.length&&!n&&!s?a=e:(a={},r.length&&r.forEach(c=>rs(a,c,i,!0)),rs(a,e,i)),at(e)&&o.set(e,a),a}function rs(t,e,n,s=!1){const{mixins:r,extends:o}=e;o&&rs(t,o,n,!0),r&&r.forEach(i=>rs(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const l=uc[i]||n&&n[i];t[i]=l?l(t[i],e[i]):e[i]}return t}const uc={data:ao,props:co,emits:co,methods:gn,computed:gn,beforeCreate:jt,created:jt,beforeMount:jt,mounted:jt,beforeUpdate:jt,updated:jt,beforeDestroy:jt,beforeUnmount:jt,destroyed:jt,unmounted:jt,activated:jt,deactivated:jt,errorCaptured:jt,serverPrefetch:jt,components:gn,directives:gn,watch:dc,provide:ao,inject:fc};function ao(t,e){return e?t?function(){return Tt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function fc(t,e){return gn(ir(t),ir(e))}function ir(t){if(G(t)){const e={};for(let n=0;ne==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Vt(e)}Modifiers`]||t[`${ke(e)}Modifiers`];function mc(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||ft;let r=n;const o=e.startsWith("update:"),i=o&&gc(s,e.slice(7));i&&(i.trim&&(r=n.map(u=>mt(u)?u.trim():u)),i.number&&(r=n.map(Ar)));let l,a=s[l=Os(e)]||s[l=Os(Vt(e))];!a&&o&&(a=s[l=Os(ke(e))]),a&&ee(a,t,6,r);const c=s[l+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ee(c,t,6,r)}}const vc=new WeakMap;function sl(t,e,n=!1){const s=n?vc:e.emitsCache,r=s.get(t);if(r!==void 0)return r;const o=t.emits;let i={},l=!1;if(!z(t)){const a=c=>{const u=sl(c,e,!0);u&&(l=!0,Tt(i,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!o&&!l?(at(t)&&s.set(t,null),null):(G(o)?o.forEach(a=>i[a]=null):Tt(i,o),at(t)&&s.set(t,i),i)}function Es(t,e){return!t||!ds(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),it(t,e[0].toLowerCase()+e.slice(1))||it(t,ke(e))||it(t,e))}function uo(t){const{type:e,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:f,data:p,setupState:g,ctx:R,inheritAttrs:S}=t,w=es(t);let L,I;try{if(n.shapeFlag&4){const E=r||s,k=E;L=ie(c.call(k,E,u,f,g,p,R)),I=l}else{const E=e;L=ie(E.length>1?E(f,{attrs:l,slots:i,emit:a}):E(f,null)),I=e.props?l:yc(l)}}catch(E){wn.length=0,xs(E,t,1),L=ut(we)}let v=L;if(I&&S!==!1){const E=Object.keys(I),{shapeFlag:k}=v;E.length&&k&7&&(o&&E.some(hs)&&(I=bc(I,o)),v=nn(v,I,!1,!0))}return n.dirs&&(v=nn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&Lr(v,n.transition),L=v,es(w),L}const yc=t=>{let e;for(const n in t)(n==="class"||n==="style"||ds(n))&&((e||(e={}))[n]=t[n]);return e},bc=(t,e)=>{const n={};for(const s in t)(!hs(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function xc(t,e,n){const{props:s,children:r,component:o}=t,{props:i,children:l,patchFlag:a}=e,c=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?fo(s,i,c):!!i;if(a&8){const u=e.dynamicProps;for(let f=0;fObject.create(ol),ll=t=>Object.getPrototypeOf(t)===ol;function wc(t,e,n,s=!1){const r={},o=il();t.propsDefaults=Object.create(null),al(t,e,r,o);for(const i in t.propsOptions[0])i in r||(r[i]=void 0);n?t.props=s?r:Di(r):t.type.props?t.props=r:t.props=o,t.attrs=o}function Ec(t,e,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=t,l=nt(r),[a]=t.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f{a=!0;const[p,g]=cl(f,e,!0);Tt(i,p),g&&l.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!a)return at(t)&&s.set(t,Je),Je;if(G(o))for(let u=0;ut==="_"||t==="_ctx"||t==="$stable",Br=t=>G(t)?t.map(ie):[ie(t)],Ac=(t,e,n)=>{if(e._n)return e;const s=me((...r)=>Br(e(...r)),n);return s._c=!1,s},ul=(t,e,n)=>{const s=t._ctx;for(const r in t){if(jr(r))continue;const o=t[r];if(z(o))e[r]=Ac(r,o,s);else if(o!=null){const i=Br(o);e[r]=()=>i}}},fl=(t,e)=>{const n=Br(e);t.slots.default=()=>n},dl=(t,e,n)=>{for(const s in e)(n||!jr(s))&&(t[s]=e[s])},Cc=(t,e,n)=>{const s=t.slots=il();if(t.vnode.shapeFlag&32){const r=e._;r?(dl(s,e,n),n&&pi(s,"_",r,!0)):ul(e,s)}else e&&fl(t,e)},Rc=(t,e,n)=>{const{vnode:s,slots:r}=t;let o=!0,i=ft;if(s.shapeFlag&32){const l=e._;l?n&&l===1?o=!1:dl(r,e,n):(o=!e.$stable,ul(e,r)),i=e}else e&&(fl(t,e),i={default:1});if(o)for(const l in r)!jr(l)&&i[l]==null&&delete r[l]},Bt=Nc;function Ic(t){return Tc(t)}function Tc(t,e){const n=vs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:g=ue,insertStaticContent:R}=t,S=(d,h,m,_=null,A=null,x=null,D=void 0,O=null,P=!!h.dynamicChildren)=>{if(d===h)return;d&&!cn(d,h)&&(_=y(d),Ot(d,A,x,!0),d=null),h.patchFlag===-2&&(P=!1,h.dynamicChildren=null);const{type:C,ref:K,shapeFlag:j}=h;switch(C){case Ss:w(d,h,m,_);break;case we:L(d,h,m,_);break;case zn:d==null&&I(h,m,_,D);break;case wt:xt(d,h,m,_,A,x,D,O,P);break;default:j&1?k(d,h,m,_,A,x,D,O,P):j&6?_t(d,h,m,_,A,x,D,O,P):(j&64||j&128)&&C.process(d,h,m,_,A,x,D,O,P,V)}K!=null&&A?xn(K,d&&d.ref,x,h||d,!h):K==null&&d&&d.ref!=null&&xn(d.ref,null,x,d,!0)},w=(d,h,m,_)=>{if(d==null)s(h.el=l(h.children),m,_);else{const A=h.el=d.el;h.children!==d.children&&c(A,h.children)}},L=(d,h,m,_)=>{d==null?s(h.el=a(h.children||""),m,_):h.el=d.el},I=(d,h,m,_)=>{[d.el,d.anchor]=R(d.children,h,m,_,d.el,d.anchor)},v=({el:d,anchor:h},m,_)=>{let A;for(;d&&d!==h;)A=p(d),s(d,m,_),d=A;s(h,m,_)},E=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),r(d),d=m;r(h)},k=(d,h,m,_,A,x,D,O,P)=>{if(h.type==="svg"?D="svg":h.type==="math"&&(D="mathml"),d==null)H(h,m,_,A,x,D,O,P);else{const C=d.el&&d.el._isVueCE?d.el:null;try{C&&C._beginPatch(),F(d,h,A,x,D,O,P)}finally{C&&C._endPatch()}}},H=(d,h,m,_,A,x,D,O)=>{let P,C;const{props:K,shapeFlag:j,transition:U,dirs:$}=d;if(P=d.el=i(d.type,x,K&&K.is,K),j&8?u(P,d.children):j&16&&B(d.children,P,null,_,A,Bs(d,x),D,O),$&&De(d,null,_,"created"),N(P,d,d.scopeId,D,_),K){for(const rt in K)rt!=="value"&&!vn(rt)&&o(P,rt,null,K[rt],x,_);"value"in K&&o(P,"value",null,K.value,x),(C=K.onVnodeBeforeMount)&&se(C,_,d)}$&&De(d,null,_,"beforeMount");const X=Pc(A,U);X&&U.beforeEnter(P),s(P,h,m),((C=K&&K.onVnodeMounted)||X||$)&&Bt(()=>{try{C&&se(C,_,d),X&&U.enter(P),$&&De(d,null,_,"mounted")}finally{}},A)},N=(d,h,m,_,A)=>{if(m&&g(d,m),_)for(let x=0;x<_.length;x++)g(d,_[x]);if(A){let x=A.subTree;if(h===x||gl(x.type)&&(x.ssContent===h||x.ssFallback===h)){const D=A.vnode;N(d,D,D.scopeId,D.slotScopeIds,A.parent)}}},B=(d,h,m,_,A,x,D,O,P=0)=>{for(let C=P;C{const O=h.el=d.el;let{patchFlag:P,dynamicChildren:C,dirs:K}=h;P|=d.patchFlag&16;const j=d.props||ft,U=h.props||ft;let $;if(m&&Le(m,!1),($=U.onVnodeBeforeUpdate)&&se($,m,h,d),K&&De(h,d,m,"beforeUpdate"),m&&Le(m,!0),C&&(!d.dynamicChildren||d.dynamicChildren.length!==C.length)&&(P=0,D=!1,C=null),(j.innerHTML&&U.innerHTML==null||j.textContent&&U.textContent==null)&&u(O,""),C?q(d.dynamicChildren,C,O,m,_,Bs(h,A),x):D||J(d,h,O,null,m,_,Bs(h,A),x,!1),P>0){if(P&16)dt(O,j,U,m,A);else if(P&2&&j.class!==U.class&&o(O,"class",null,U.class,A),P&4&&o(O,"style",j.style,U.style,A),P&8){const X=h.dynamicProps;for(let rt=0;rt{$&&se($,m,h,d),K&&De(h,d,m,"updated")},_)},q=(d,h,m,_,A,x,D)=>{for(let O=0;O{if(h!==m){if(h!==ft)for(const x in h)!vn(x)&&!(x in m)&&o(d,x,h[x],null,A,_);for(const x in m){if(vn(x))continue;const D=m[x],O=h[x];D!==O&&x!=="value"&&o(d,x,O,D,A,_)}"value"in m&&o(d,"value",h.value,m.value,A)}},xt=(d,h,m,_,A,x,D,O,P)=>{const C=h.el=d?d.el:l(""),K=h.anchor=d?d.anchor:l("");let{patchFlag:j,dynamicChildren:U,slotScopeIds:$}=h;$&&(O=O?O.concat($):$),d==null?(s(C,m,_),s(K,m,_),B(h.children||[],m,K,A,x,D,O,P)):j>0&&j&64&&U&&d.dynamicChildren&&d.dynamicChildren.length===U.length?(q(d.dynamicChildren,U,m,A,x,D,O),(h.key!=null||A&&h===A.subTree)&&Fr(d,h,!0)):J(d,h,m,K,A,x,D,O,P)},_t=(d,h,m,_,A,x,D,O,P)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?A.ctx.activate(h,m,_,D,P):Pt(h,m,_,A,x,D,P):Ut(d,h,P)},Pt=(d,h,m,_,A,x,D)=>{const O=d.component=Fc(d,_,A);if(Wi(d)&&(O.ctx.renderer=V),Hc(O,!1,D),O.asyncDep){if(A&&A.registerDep(O,lt,D),!d.el){const P=O.subTree=ut(we);L(null,P,h,m),d.placeholder=P.el}}else lt(O,d,h,m,A,x,D)},Ut=(d,h,m)=>{const _=h.component=d.component;if(xc(d,h,m))if(_.asyncDep&&!_.asyncResolved){W(_,h,m);return}else _.next=h,_.update();else h.el=d.el,_.vnode=h},lt=(d,h,m,_,A,x,D)=>{const O=()=>{if(d.isMounted){let{next:j,bu:U,u:$,parent:X,vnode:rt}=d;{const Gt=hl(d);if(Gt){j&&(j.el=rt.el,W(d,j,D)),Gt.asyncDep.then(()=>{Bt(()=>{d.isUnmounted||C()},A)});return}}let st=j,vt;Le(d,!1),j?(j.el=rt.el,W(d,j,D)):j=rt,U&&Gn(U),(vt=j.props&&j.props.onVnodeBeforeUpdate)&&se(vt,X,j,rt),Le(d,!0);const St=uo(d),$t=d.subTree;d.subTree=St,S($t,St,f($t.el),y($t),d,A,x),j.el=St.el,st===null&&_c(d,St.el),$&&Bt($,A),(vt=j.props&&j.props.onVnodeUpdated)&&Bt(()=>se(vt,X,j,rt),A)}else{let j;const{el:U,props:$}=h,{bm:X,m:rt,parent:st,root:vt,type:St}=d,$t=tn(h);Le(d,!1),X&&Gn(X),!$t&&(j=$&&$.onVnodeBeforeMount)&&se(j,st,h),Le(d,!0);{vt.ce&&vt.ce._hasShadowRoot()&&vt.ce._injectChildStyle(St,d.parent?d.parent.type:void 0);const Gt=d.subTree=uo(d);S(null,Gt,m,_,d,A,x),h.el=Gt.el}if(rt&&Bt(rt,A),!$t&&(j=$&&$.onVnodeMounted)){const Gt=h;Bt(()=>se(j,st,Gt),A)}(h.shapeFlag&256||st&&tn(st.vnode)&&st.vnode.shapeFlag&256)&&d.a&&Bt(d.a,A),d.isMounted=!0,h=m=_=null}};d.scope.on();const P=d.effect=new _i(O);d.scope.off();const C=d.update=P.run.bind(P),K=d.job=P.runIfDirty.bind(P);K.i=d,K.id=d.uid,P.scheduler=()=>kr(K),Le(d,!0),C()},W=(d,h,m)=>{h.component=d;const _=d.vnode.props;d.vnode=h,d.next=null,Ec(d,h.props,_,m),Rc(d,h.children,m),fe(),to(d),de()},J=(d,h,m,_,A,x,D,O,P=!1)=>{const C=d&&d.children,K=d?d.shapeFlag:0,j=h.children,{patchFlag:U,shapeFlag:$}=h;if(U>0){if(U&128){Dt(C,j,m,_,A,x,D,O,P);return}else if(U&256){Et(C,j,m,_,A,x,D,O,P);return}}$&8?(K&16&&Y(C,A,x),j!==C&&u(m,j)):K&16?$&16?Dt(C,j,m,_,A,x,D,O,P):Y(C,A,x,!0):(K&8&&u(m,""),$&16&&B(j,m,_,A,x,D,O,P))},Et=(d,h,m,_,A,x,D,O,P)=>{d=d||Je,h=h||Je;const C=d.length,K=h.length,j=Math.min(C,K);let U;for(U=0;UK?Y(d,A,x,!0,!1,j):B(h,m,_,A,x,D,O,P,j)},Dt=(d,h,m,_,A,x,D,O,P)=>{let C=0;const K=h.length;let j=d.length-1,U=K-1;for(;C<=j&&C<=U;){const $=d[C],X=h[C]=P?ve(h[C]):ie(h[C]);if(cn($,X))S($,X,m,null,A,x,D,O,P);else break;C++}for(;C<=j&&C<=U;){const $=d[j],X=h[U]=P?ve(h[U]):ie(h[U]);if(cn($,X))S($,X,m,null,A,x,D,O,P);else break;j--,U--}if(C>j){if(C<=U){const $=U+1,X=$U)for(;C<=j;)Ot(d[C],A,x,!0),C++;else{const $=C,X=C,rt=new Map;for(C=X;C<=U;C++){const At=h[C]=P?ve(h[C]):ie(h[C]);At.key!=null&&rt.set(At.key,C)}let st,vt=0;const St=U-X+1;let $t=!1,Gt=0;const Ce=new Array(St);for(C=0;C=St){Ot(At,A,x,!0);continue}let Nt;if(At.key!=null)Nt=rt.get(At.key);else for(st=X;st<=U;st++)if(Ce[st-X]===0&&cn(At,h[st])){Nt=st;break}Nt===void 0?Ot(At,A,x,!0):(Ce[Nt-X]=C+1,Nt>=Gt?Gt=Nt:$t=!0,S(At,h[Nt],m,null,A,x,D,O,P),vt++)}const Re=$t?Oc(Ce):Je;for(st=Re.length-1,C=St-1;C>=0;C--){const At=X+C,Nt=h[At],zr=h[At+1],qr=At+1{const{el:x,type:D,transition:O,children:P,shapeFlag:C}=d;if(C&6){Kt(d.component.subTree,h,m,_);return}if(C&128){d.suspense.move(h,m,_);return}if(C&64){D.move(d,h,m,V);return}if(D===wt){s(x,h,m);for(let j=0;jO.enter(x),A));else{const{leave:j,delayLeave:U,afterLeave:$}=O,X=()=>{d.ctx.isUnmounted?r(x):s(x,h,m)},rt=()=>{const st=x._isLeaving||!!x[Ls];x._isLeaving&&x[Ls](!0),O.persisted&&!st?X():j(x,()=>{X(),$&&$()})};U?U(x,X,rt):rt()}else s(x,h,m)},Ot=(d,h,m,_=!1,A=!1)=>{const{type:x,props:D,ref:O,children:P,dynamicChildren:C,shapeFlag:K,patchFlag:j,dirs:U,cacheIndex:$,memo:X}=d;if(j===-2&&(A=!1),O!=null&&(fe(),xn(O,null,m,d,!0),de()),$!=null&&(h.renderCache[$]=void 0),K&256){h.ctx.deactivate(d);return}const rt=K&1&&U,st=!tn(d);let vt;if(st&&(vt=D&&D.onVnodeBeforeUnmount)&&se(vt,h,d),K&6)b(d.component,m,_);else{if(K&128){d.suspense.unmount(m,_);return}rt&&De(d,null,h,"beforeUnmount"),K&64?d.type.remove(d,h,m,V,_):C&&!C.hasOnce&&(x!==wt||j>0&&j&64)?Y(C,h,m,!1,!0):(x===wt&&j&384||!A&&K&16)&&Y(P,h,m),_&&Se(d)}const St=X!=null&&$==null;(st&&(vt=D&&D.onVnodeUnmounted)||rt||St)&&Bt(()=>{vt&&se(vt,h,d),rt&&De(d,null,h,"unmounted"),St&&(d.el=null)},m)},Se=d=>{const{type:h,el:m,anchor:_,transition:A}=d;if(h===wt){Ae(m,_);return}if(h===zn){E(d);return}const x=()=>{r(m),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(d.shapeFlag&1&&A&&!A.persisted){const{leave:D,delayLeave:O}=A,P=()=>D(m,x);O?O(d.el,x,P):P()}else x()},Ae=(d,h)=>{let m;for(;d!==h;)m=p(d),r(d),d=m;r(h)},b=(d,h,m)=>{const{bum:_,scope:A,job:x,subTree:D,um:O,m:P,a:C}=d;po(P),po(C),_&&Gn(_),A.stop(),x&&(x.flags|=8,Ot(D,d,h,m)),O&&Bt(O,h),Bt(()=>{d.isUnmounted=!0},h)},Y=(d,h,m,_=!1,A=!1,x=0)=>{for(let D=x;D{if(d.shapeFlag&6)return y(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[$i];return m?p(m):h};let M=!1;const T=(d,h,m)=>{let _;d==null?h._vnode&&(Ot(h._vnode,null,null,!0),_=h._vnode.component):S(h._vnode||null,d,h,null,null,null,m),h._vnode=d,M||(M=!0,to(_),Hi(),M=!1)},V={p:S,um:Ot,m:Kt,r:Se,mt:Pt,mc:B,pc:J,pbc:q,n:y,o:t};return{render:T,hydrate:void 0,createApp:pc(T)}}function Bs({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Le({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Pc(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Fr(t,e,n=!1){const s=t.children,r=e.children;if(G(s)&&G(r))for(let o=0;o>1,t[n[l]]0&&(e[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=e[i];return n}function hl(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:hl(e)}function po(t){if(t)for(let e=0;et.__isSuspense;function Nc(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):Ha(t)}const wt=Symbol.for("v-fgt"),Ss=Symbol.for("v-txt"),we=Symbol.for("v-cmt"),zn=Symbol.for("v-stc"),wn=[];let qt=null;function tt(t=!1){wn.push(qt=t?null:[])}function Mc(){wn.pop(),qt=wn[wn.length-1]||null}let Tn=1;function os(t,e=!1){Tn+=t,t<0&&qt&&e&&(qt.hasOnce=!0)}function ml(t){return t.dynamicChildren=Tn>0?qt||Je:null,Mc(),Tn>0&&qt&&qt.push(t),t}function gt(t,e,n,s,r,o){return ml(Z(t,e,n,s,r,o,!0))}function ce(t,e,n,s,r){return ml(ut(t,e,n,s,r,!0))}function Pn(t){return t?t.__v_isVNode===!0:!1}function cn(t,e){return t.type===e.type&&t.key===e.key}const vl=({key:t})=>t??null,qn=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?mt(t)||bt(t)||z(t)?{i:It,r:t,k:e,f:!!n}:t:null);function Z(t,e=null,n=null,s=0,r=null,o=t===wt?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&vl(e),ref:e&&qn(e),scopeId:Ui,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:It};return l?(ls(a,n),o&128&&t.normalize(a)):n&&(a.shapeFlag|=mt(n)?8:16),Tn>0&&!i&&qt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&qt.push(a),a}const ut=kc;function kc(t,e=null,n=null,s=0,r=null,o=!1){if((!t||t===Ji)&&(t=we),Pn(t)){const l=nn(t,e,!0);return n&&ls(l,n),Tn>0&&!o&&qt&&(l.shapeFlag&6?qt[qt.indexOf(t)]=l:qt.push(l)),l.patchFlag=-2,l}if($c(t)&&(t=t.__vccOpts),e){e=Dc(e);let{class:l,style:a}=e;l&&!mt(l)&&(e.class=zt(l)),at(a)&&(bs(a)&&!G(a)&&(a=Tt({},a)),e.style=Me(a))}const i=mt(t)?1:gl(t)?128:Ga(t)?64:at(t)?4:z(t)?2:0;return Z(t,e,n,s,r,i,o,!0)}function Dc(t){return t?bs(t)||ll(t)?Tt({},t):t:null}function nn(t,e,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=t,c=e?En(r||{},e):r,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&vl(c),ref:e&&e.ref?n&&o?G(o)?o.concat(qn(e)):[o,qn(e)]:qn(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==wt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&nn(t.ssContent),ssFallback:t.ssFallback&&nn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&s&&Lr(u,a.clone(u)),u}function is(t=" ",e=0){return ut(Ss,null,t,e)}function Lc(t,e){const n=ut(zn,null,t);return n.staticCount=e,n}function Ge(t="",e=!1){return e?(tt(),ce(we,null,t)):ut(we,null,t)}function ie(t){return t==null||typeof t=="boolean"?ut(we):G(t)?ut(wt,null,t.slice()):Pn(t)?ve(t):ut(Ss,null,String(t))}function ve(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:nn(t)}function ls(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(G(e))n=16;else if(typeof e=="object")if(s&65){const r=e.default;r&&(r._c&&(r._d=!1),ls(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!ll(e)?e._ctx=It:r===3&&It&&(It.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(z(e)){if(s&65){ls(t,{default:e});return}e={default:e,_ctx:It},n=32}else e=String(e),s&64?(n=16,e=[is(e)]):n=8;t.children=e,t.shapeFlag|=n}function En(...t){const e={};for(let n=0;nkt||It;let as,ar;{const t=vs(),e=(n,s)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};as=e("__VUE_INSTANCE_SETTERS__",n=>kt=n),ar=e("__VUE_SSR_SETTERS__",n=>On=n)}const jn=t=>{const e=kt;return as(t),t.scope.on(),()=>{t.scope.off(),as(e)}},go=()=>{kt&&kt.scope.off(),as(null)};function yl(t){return t.vnode.shapeFlag&4}let On=!1;function Hc(t,e=!1,n=!1){e&&ar(e);const{props:s,children:r}=t.vnode,o=yl(t);wc(t,s,o,e),Cc(t,r,n||e);const i=o?Vc(t,e):void 0;return e&&ar(!1),i}function Vc(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,oc);const{setup:s}=n;if(s){fe();const r=t.setupContext=s.length>1?xl(t):null,o=jn(t),i=Ln(s,t,0,[t.props,r]),l=fi(i);if(de(),o(),(l||t.sp)&&!tn(t)&&Gi(t),l){if(i.then(go,go),e)return i.then(a=>{mo(t,a)}).catch(a=>{xs(a,t,0)});t.asyncDep=i}else mo(t,i)}else bl(t)}function mo(t,e,n){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:at(e)&&(t.setupState=ji(e)),bl(t)}function bl(t,e,n){const s=t.type;t.render||(t.render=s.render||ue);{const r=jn(t);fe();try{ac(t)}finally{de(),r()}}}const Uc={get(t,e){return Mt(t,"get",""),t[e]}};function xl(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Uc),slots:t.slots,emit:t.emit,expose:e}}function As(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(ji(Mr(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in _n)return _n[n](t)},has(e,n){return n in e||n in _n}})):t.proxy}function Kc(t,e=!0){return z(t)?t.displayName||t.name:t.name||e&&t.__name}function $c(t){return z(t)&&"__vccOpts"in t}const et=(t,e)=>Da(t,e,On);function cs(t,e,n){try{os(-1);const s=arguments.length;return s===2?at(e)&&!G(e)?Pn(e)?ut(t,null,[e]):ut(t,e):ut(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Pn(n)&&(n=[n]),ut(t,e,n))}finally{os(1)}}const Gc="3.5.39";/** * @vue/runtime-dom v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let cr;const vo=typeof window<"u"&&window.trustedTypes;if(vo)try{cr=vo.createPolicy("vue",{createHTML:t=>t})}catch{}const _l=cr?t=>cr.createHTML(t):t=>t,Wc="http://www.w3.org/2000/svg",zc="http://www.w3.org/1998/Math/MathML",ge=typeof document<"u"?document:null,yo=ge&&ge.createElement("template"),qc={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e==="svg"?ge.createElementNS(Wc,t):e==="mathml"?ge.createElementNS(zc,t):n?ge.createElement(t,{is:n}):ge.createElement(t);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>ge.createTextNode(t),createComment:t=>ge.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ge.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,o){const i=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{yo.innerHTML=_l(s==="svg"?`${t}`:s==="mathml"?`${t}`:t);const l=yo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}e.insertBefore(l,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Yc=Symbol("_vtc");function Qc(t,e,n){const s=t[Yc];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const us=Symbol("_vod"),wl=Symbol("_vsh"),Jh={name:"show",beforeMount(t,{value:e},{transition:n}){t[us]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):un(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),un(t,!0),s.enter(t)):s.leave(t,()=>{un(t,!1)}):un(t,e))},beforeUnmount(t,{value:e}){un(t,e)}};function un(t,e){t.style.display=e?t[us]:"none",t[wl]=!e}const Jc=Symbol(""),Xc=/(?:^|;)\s*display\s*:/;function Zc(t,e,n){const s=t.style,r=mt(n);let o=!1;if(n&&!r){if(e)if(mt(e))for(const i of e.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&mn(s,l,"")}else for(const i in e)n[i]==null&&mn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?eu(t,i,!mt(e)&&e?e[i]:void 0,l)||mn(s,i,l):mn(s,i,"")}}else if(r){if(e!==n){const i=s[Jc];i&&(n+=";"+i),s.cssText=n,o=Xc.test(n)}}else e&&t.removeAttribute("style");us in t&&(t[us]=o?s.display:"",t[wl]&&(s.display="none"))}const bo=/\s*!important$/;function mn(t,e,n){if(G(n))n.forEach(s=>mn(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=tu(t,e);bo.test(n)?t.setProperty(ke(s),n.replace(bo,""),"important"):t[s]=n}}const xo=["Webkit","Moz","ms"],Fs={};function tu(t,e){const n=Fs[e];if(n)return n;let s=Vt(e);if(s!=="filter"&&s in t)return Fs[e]=s;s=ms(s);for(let r=0;rHs||(lu.then(()=>Hs=0),Hs=Date.now());function cu(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(G(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let a=0;at.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,uu=(t,e,n,s,r,o)=>{const i=r==="svg";e==="class"?Qc(t,s,i):e==="style"?Zc(t,n,s):ds(e)?hs(e)||su(t,e,n,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):fu(t,e,s,i))?(Eo(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&wo(t,e,s,i,o,e!=="value")):t._isVueCE&&(du(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!mt(s)))?Eo(t,Vt(e),s,o,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),wo(t,e,s,i))};function fu(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Ao(e)&&z(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ao(e)&&mt(n)?!1:e in t}function du(t,e){const n=t._def.props;if(!n)return!1;const s=Vt(e);return Array.isArray(n)?n.some(r=>Vt(r)===s):Object.keys(n).some(r=>Vt(r)===s)}const Co=t=>{const e=t.props["onUpdate:modelValue"]||!1;return G(e)?n=>Gn(e,n):e};function hu(t){t.target.composing=!0}function Ro(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Vs=Symbol("_assign");function Io(t,e,n){return e&&(t=t.trim()),n&&(t=Ar(t)),t}const Xh={created(t,{modifiers:{lazy:e,trim:n,number:s}},r){t[Vs]=Co(r);const o=s||r.props&&r.props.type==="number";qe(t,e?"change":"input",i=>{i.target.composing||t[Vs](Io(t.value,n,o))}),(n||o)&&qe(t,"change",()=>{t.value=Io(t.value,n,o)}),e||(qe(t,"compositionstart",hu),qe(t,"compositionend",Ro),qe(t,"change",Ro))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(t[Vs]=Co(i),t.composing)return;const l=(o||t.type==="number")&&!/^0\d/.test(t.value)?Ar(t.value):t.value,a=e??"";if(l===a)return;const c=t.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===t&&t.type!=="range"&&(s&&e===n||r&&t.value.trim()===a)||(t.value=a)}},pu=["ctrl","shift","alt","meta"],gu={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>pu.some(n=>t[`${n}Key`]&&!e.includes(n))},Zh=(t,e)=>{if(!t)return t;const n=t._withMods||(t._withMods={}),s=e.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=ke(r.key);if(e.some(i=>i===o||mu[i]===o))return t(r)}))},vu=Tt({patchProp:uu},qc);let To;function yu(){return To||(To=Ic(vu))}const bu=((...t)=>{const e=yu().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=_u(s);if(!r)return;const o=e._component;!z(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,xu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},e});function xu(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function _u(t){return mt(t)?document.querySelector(t):t}/*! * pinia v2.3.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */let El;const Cs=t=>El=t,Sl=Symbol();function ur(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Sn;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Sn||(Sn={}));function wu(){const t=bi(!0),e=t.run(()=>pt({}));let n=[],s=[];const r=Mr({install(o){Cs(r),r._a=o,o.provide(Sl,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const Al=()=>{};function Po(t,e,n,s=Al){t.push(e);const r=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),s())};return!n&&xi()&&ca(r),r}function We(t,...e){t.slice().forEach(n=>{n(...e)})}const Eu=t=>t(),Oo=Symbol(),Us=Symbol();function fr(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,s)=>t.set(s,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],r=t[n];ur(r)&&ur(s)&&t.hasOwnProperty(n)&&!bt(s)&&!xe(s)?t[n]=fr(r,s):t[n]=s}return t}const Su=Symbol();function Au(t){return!ur(t)||!t.hasOwnProperty(Su)}const{assign:Pe}=Object;function Cu(t){return!!(bt(t)&&t.effect)}function Ru(t,e,n,s){const{state:r,actions:o,getters:i}=e,l=n.state.value[t];let a;function c(){l||(n.state.value[t]=r?r():{});const u=Oa(n.state.value[t]);return Pe(u,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=Mr(et(()=>{Cs(n);const g=n._s.get(t);return i[p].call(g,g)})),f),{}))}return a=Cl(t,c,e,n,s,!0),a}function Cl(t,e,n={},s,r,o){let i;const l=Pe({actions:{}},n),a={deep:!0};let c,u,f=[],p=[],g;const R=s.state.value[t];!o&&!R&&(s.state.value[t]={});let S;function w(B){let F;c=u=!1,typeof B=="function"?(B(s.state.value[t]),F={type:Sn.patchFunction,storeId:t,events:g}):(fr(s.state.value[t],B),F={type:Sn.patchObject,payload:B,storeId:t,events:g});const q=S=Symbol();_s().then(()=>{S===q&&(c=!0)}),u=!0,We(f,F,s.state.value[t])}const L=o?function(){const{state:F}=n,q=F?F():{};this.$patch(dt=>{Pe(dt,q)})}:Al;function I(){i.stop(),f=[],p=[],s._s.delete(t)}const v=(B,F="")=>{if(Oo in B)return B[Us]=F,B;const q=function(){Cs(s);const dt=Array.from(arguments),xt=[],_t=[];function Pt(W){xt.push(W)}function Ut(W){_t.push(W)}We(p,{args:dt,name:q[Us],store:k,after:Pt,onError:Ut});let lt;try{lt=B.apply(this&&this.$id===t?this:k,dt)}catch(W){throw We(_t,W),W}return lt instanceof Promise?lt.then(W=>(We(xt,W),W)).catch(W=>(We(_t,W),Promise.reject(W))):(We(xt,lt),lt)};return q[Oo]=!0,q[Us]=F,q},E={_p:s,$id:t,$onAction:Po.bind(null,p),$patch:w,$reset:L,$subscribe(B,F={}){const q=Po(f,B,F.detached,()=>dt()),dt=i.run(()=>Ve(()=>s.state.value[t],xt=>{(F.flush==="sync"?u:c)&&B({storeId:t,type:Sn.direct,events:g},xt)},Pe({},a,F)));return q},$dispose:I},k=Dn(E);s._s.set(t,k);const N=(s._a&&s._a.runWithContext||Eu)(()=>s._e.run(()=>(i=bi()).run(()=>e({action:v}))));for(const B in N){const F=N[B];if(bt(F)&&!Cu(F)||xe(F))o||(R&&Au(F)&&(bt(F)?F.value=R[B]:fr(F,R[B])),s.state.value[t][B]=F);else if(typeof F=="function"){const q=v(F,B);N[B]=q,l.actions[B]=F}}return Pe(k,N),Pe(nt(k),N),Object.defineProperty(k,"$state",{get:()=>s.state.value[t],set:B=>{w(F=>{Pe(F,B)})}}),s._p.forEach(B=>{Pe(k,i.run(()=>B({store:k,app:s._a,pinia:s,options:l})))}),R&&o&&n.hydrate&&n.hydrate(k.$state,R),c=!0,u=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Iu(t,e,n){let s,r;const o=typeof e=="function";typeof t=="string"?(s=t,r=o?n:e):(r=t,s=t.id);function i(l,a){const c=Va();return l=l||(c?Xt(Sl,null):null),l&&Cs(l),l=El,l._s.has(s)||(o?Cl(s,e,r,l):Ru(s,r,l)),l._s.get(s)}return i.$id=s,i}const Tu="/nornickel.png";/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ye=typeof document<"u";function Rl(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Pu(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&Rl(t.default)}const ot=Object.assign;function Ks(t,e){const n={};for(const s in e){const r=e[s];n[s]=ne(r)?r.map(t):t(r)}return n}const An=()=>{},ne=Array.isArray;function No(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}const Il=/#/g,Ou=/&/g,Nu=/\//g,Mu=/=/g,ku=/\?/g,Tl=/\+/g,Du=/%5B/g,Lu=/%5D/g,Pl=/%5E/g,ju=/%60/g,Ol=/%7B/g,Bu=/%7C/g,Nl=/%7D/g,Fu=/%20/g;function Vr(t){return t==null?"":encodeURI(""+t).replace(Bu,"|").replace(Du,"[").replace(Lu,"]")}function Hu(t){return Vr(t).replace(Ol,"{").replace(Nl,"}").replace(Pl,"^")}function dr(t){return Vr(t).replace(Tl,"%2B").replace(Fu,"+").replace(Il,"%23").replace(Ou,"%26").replace(ju,"`").replace(Ol,"{").replace(Nl,"}").replace(Pl,"^")}function Vu(t){return dr(t).replace(Mu,"%3D")}function Uu(t){return Vr(t).replace(Il,"%23").replace(ku,"%3F")}function Ku(t){return Uu(t).replace(Nu,"%2F")}function Nn(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const $u=/\/$/,Gu=t=>t.replace($u,"");function $s(t,e,n="/"){let s,r={},o="",i="";const l=e.indexOf("#");let a=e.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=e.slice(0,a),o=e.slice(a,l>0?l:e.length),r=t(o.slice(1))),l>=0&&(s=s||e.slice(0,l),i=e.slice(l,e.length)),s=Yu(s??e,n),{fullPath:s+o+i,path:s,query:r,hash:Nn(i)}}function Wu(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Mo(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function zu(t,e,n){const s=e.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&sn(e.matched[s],n.matched[r])&&Ml(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function sn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Ml(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!qu(t[n],e[n]))return!1;return!0}function qu(t,e){return ne(t)?ko(t,e):ne(e)?ko(e,t):(t==null?void 0:t.valueOf())===(e==null?void 0:e.valueOf())}function ko(t,e){return ne(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Yu(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Ie={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let hr=(function(t){return t.pop="pop",t.push="push",t})({}),Gs=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function Qu(t){if(!t)if(Ye){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Gu(t)}const Ju=/^[^#]+#/;function Xu(t,e){return t.replace(Ju,"#")+e}function Zu(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Rs=()=>({left:window.scrollX,top:window.scrollY});function tf(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=Zu(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Do(t,e){return(history.state?history.state.position-e:-1)+t}const pr=new Map;function ef(t,e){pr.set(t,e)}function nf(t){const e=pr.get(t);return pr.delete(t),e}function sf(t){return typeof t=="string"||t&&typeof t=="object"}function kl(t){return typeof t=="string"||typeof t=="symbol"}let yt=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const Dl=Symbol("");yt.MATCHER_NOT_FOUND+"",yt.NAVIGATION_GUARD_REDIRECT+"",yt.NAVIGATION_ABORTED+"",yt.NAVIGATION_CANCELLED+"",yt.NAVIGATION_DUPLICATED+"";function rn(t,e){return ot(new Error,{type:t,[Dl]:!0},e)}function pe(t,e){return t instanceof Error&&Dl in t&&(e==null||!!(t.type&e))}const rf=["params","query","hash"];function of(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of rf)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}function lf(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;sr&&dr(r)):[s&&dr(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function af(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=ne(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return e}const cf=Symbol(""),jo=Symbol(""),Is=Symbol(""),Ur=Symbol(""),gr=Symbol("");function fn(){let t=[];function e(s){return t.push(s),()=>{const r=t.indexOf(s);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Ne(t,e,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=p=>{p===!1?a(rn(yt.NAVIGATION_ABORTED,{from:n,to:e})):p instanceof Error?a(p):sf(p)?a(rn(yt.NAVIGATION_GUARD_REDIRECT,{from:e,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>t.call(s&&s.instances[r],e,n,c));let f=Promise.resolve(u);t.length<3&&(f=f.then(c)),f.catch(p=>a(p))})}function Ws(t,e,n,s,r=o=>o()){const o=[];for(const i of t)for(const l in i.components){let a=i.components[l];if(!(e!=="beforeRouteEnter"&&!i.instances[l]))if(Rl(a)){const c=(a.__vccOpts||a)[e];c&&o.push(Ne(c,n,s,i,l,r))}else{let c=a();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Pu(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const p=(f.__vccOpts||f)[e];return p&&Ne(p,n,s,i,l,r)()}))}}return o}function uf(t,e){const n=[],s=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let i=0;isn(c,l))?s.push(l):n.push(l));const a=t.matched[i];a&&(e.matched.find(c=>sn(c,a))||r.push(a))}return[n,s,r]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let ff=()=>location.protocol+"//"+location.host;function Ll(t,e){const{pathname:n,search:s,hash:r}=e,o=t.indexOf("#");if(o>-1){let i=r.includes(t.slice(o))?t.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Mo(l,"")}return Mo(n,t)+s+r}function df(t,e,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=Ll(t,location),R=n.value,S=e.value;let w=0;if(p){if(n.value=g,e.value=p,i&&i===R){i=null;return}w=S?p.position-S.position:0}else s(g);r.forEach(L=>{L(n.value,R,{delta:w,type:hr.pop,direction:w?w>0?Gs.forward:Gs.back:Gs.unknown})})};function a(){i=n.value}function c(p){r.push(p);const g=()=>{const R=r.indexOf(p);R>-1&&r.splice(R,1)};return o.push(g),g}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ot({},p.state,{scroll:Rs()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,listen:c,destroy:f}}function Bo(t,e,n,s=!1,r=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:r?Rs():null}}function hf(t){const{history:e,location:n}=window,s={value:Ll(t,n)},r={value:e.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=t.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+a:ff()+t+a;try{e[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function i(a,c){o(a,ot({},e.state,Bo(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=ot({},r.value,e.state,{forward:a,scroll:Rs()});o(u.current,u,!0),o(a,ot({},Bo(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function pf(t){t=Qu(t);const e=hf(t),n=df(t,e.state,e.location,e.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ot({location:"",base:t,go:s,createHref:Xu.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}let Fe=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Ct=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Ct||{});const gf={type:Fe.Static,value:""},mf=/[a-zA-Z0-9_]/;function vf(t){if(!t)return[[]];if(t==="/")return[[gf]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=Ct.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===Ct.Static?o.push({type:Fe.Static,value:c}):n===Ct.Param||n===Ct.ParamRegExp||n===Ct.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Fe.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):e("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;le.length?e.length===1&&e[0]===Ft.Static+Ft.Segment?1:-1:0}function jl(t,e){let n=0;const s=t.score,r=e.score;for(;n0&&e[e.length-1]<0}const wf={strict:!1,end:!0,sensitive:!1};function Ef(t,e,n){const s=xf(vf(t.path),n),r=ot(s,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function Sf(t,e){const n=[],s=new Map;e=No(wf,e);function r(f){return s.get(f)}function o(f,p,g){const R=!g,S=Uo(f);S.aliasOf=g&&g.record;const w=No(e,f),L=[S];if("alias"in f){const E=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of E)L.push(Uo(ot({},S,{components:g?g.record.components:S.components,path:k,aliasOf:g?g.record:S})))}let I,v;for(const E of L){const{path:k}=E;if(p&&k[0]!=="/"){const H=p.record.path,N=H[H.length-1]==="/"?"":"/";E.path=p.record.path+(k&&N+k)}if(I=Ef(E,p,w),g?g.alias.push(I):(v=v||I,v!==I&&v.alias.push(I),R&&f.name&&!Ko(I)&&i(f.name)),Bl(I)&&a(I),S.children){const H=S.children;for(let N=0;N{i(v)}:An}function i(f){if(kl(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const p=Rf(f,n);n.splice(p,0,f),f.record.name&&!Ko(f)&&s.set(f.record.name,f)}function c(f,p){let g,R={},S,w;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw rn(yt.MATCHER_NOT_FOUND,{location:f});w=g.record.name,R=ot(Vo(p.params,g.keys.filter(v=>!v.optional).concat(g.parent?g.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Vo(f.params,g.keys.map(v=>v.name))),S=g.stringify(R)}else if(f.path!=null)S=f.path,g=n.find(v=>v.re.test(S)),g&&(R=g.parse(S),w=g.record.name);else{if(g=p.name?s.get(p.name):n.find(v=>v.re.test(p.path)),!g)throw rn(yt.MATCHER_NOT_FOUND,{location:f,currentLocation:p});w=g.record.name,R=ot({},p.params,f.params),S=g.stringify(R)}const L=[];let I=g;for(;I;)L.unshift(I.record),I=I.parent;return{name:w,path:S,params:R,matched:L,meta:Cf(L)}}t.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Vo(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Uo(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Af(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Af(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Ko(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Cf(t){return t.reduce((e,n)=>ot(e,n.meta),{})}function Rf(t,e){let n=0,s=e.length;for(;n!==s;){const o=n+s>>1;jl(t,e[o])<0?s=o:n=o+1}const r=If(t);return r&&(s=e.lastIndexOf(r,s-1)),s}function If(t){let e=t;for(;e=e.parent;)if(Bl(e)&&jl(t,e)===0)return e}function Bl({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function $o(t){const e=Xt(Is),n=Xt(Ur),s=et(()=>{const a=ct(t.to);return e.resolve(a)}),r=et(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(sn.bind(null,u));if(p>-1)return p;const g=Go(a[c-2]);return c>1&&Go(u)===g&&f[f.length-1].path!==g?f.findIndex(sn.bind(null,a[c-2])):p}),o=et(()=>r.value>-1&&Nf(n.params,s.value.params)),i=et(()=>r.value>-1&&r.value===n.matched.length-1&&Ml(n.params,s.value.params));function l(a={}){if(Of(a)){const c=e[ct(t.replace)?"replace":"push"](ct(t.to)).catch(An);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:et(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Tf(t){return t.length===1?t[0]:t}const Pf=Ke({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"},viewTransition:Boolean},useLink:$o,setup(t,{slots:e}){const n=Dn($o(t)),{options:s}=Xt(Is),r=et(()=>({[Wo(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Wo(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&Tf(e.default(n));return t.custom?o:cs("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),mr=Pf;function Of(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Nf(t,e){for(const n in e){const s=e[n],r=t[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ne(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Go(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Wo=(t,e,n)=>t??e??n,Mf=Ke({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=Xt(gr),r=et(()=>t.route||s.value),o=Xt(jo,0),i=et(()=>{let c=ct(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=et(()=>r.value.matched[i.value]);Wn(jo,et(()=>i.value+1)),Wn(cf,l),Wn(gr,r);const a=pt();return Ve(()=>[a.value,l.value,t.name],([c,u,f],[p,g,R])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!sn(u,g)||!p)&&(u.enterCallbacks[f]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=r.value,u=t.name,f=l.value,p=f&&f.components[u];if(!p)return zo(n.default,{Component:p,route:c});const g=f.props[u],R=g?g===!0?c.params:typeof g=="function"?g(c):g:null,w=cs(p,ot({},R,e,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return zo(n.default,{Component:w,route:c})||w}}});function zo(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const vr=Mf;function kf(t){const e=Sf(t.routes,t),n=t.parseQuery||lf,s=t.stringifyQuery||Lo,r=t.history,o=fn(),i=fn(),l=fn(),a=Ia(Ie);let c=Ie;Ye&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ks.bind(null,y=>""+y),f=Ks.bind(null,Ku),p=Ks.bind(null,Nn);function g(y,M){let T,V;return kl(y)?(T=e.getRecordMatcher(y),V=M):V=y,e.addRoute(V,T)}function R(y){const M=e.getRecordMatcher(y);M&&e.removeRoute(M)}function S(){return e.getRoutes().map(y=>y.record)}function w(y){return!!e.getRecordMatcher(y)}function L(y,M){if(M=ot({},M||a.value),typeof y=="string"){const m=$s(n,y,M.path),_=e.resolve({path:m.path},M),A=r.createHref(m.fullPath);return ot(m,_,{params:p(_.params),hash:Nn(m.hash),redirectedFrom:void 0,href:A})}let T;if(y.path!=null)T=ot({},y,{path:$s(n,y.path,M.path).path});else{const m=ot({},y.params);for(const _ in m)m[_]==null&&delete m[_];T=ot({},y,{params:f(m)}),M.params=f(M.params)}const V=e.resolve(T,M),Q=y.hash||"";V.params=u(p(V.params));const d=Wu(s,ot({},y,{hash:Hu(Q),path:V.path})),h=r.createHref(d);return ot({fullPath:d,hash:Q,query:s===Lo?af(y.query):y.query||{}},V,{redirectedFrom:void 0,href:h})}function I(y){return typeof y=="string"?$s(n,y,a.value.path):ot({},y)}function v(y,M){if(c!==y)return rn(yt.NAVIGATION_CANCELLED,{from:M,to:y})}function E(y){return N(y)}function k(y){return E(ot(I(y),{replace:!0}))}function H(y,M){const T=y.matched[y.matched.length-1];if(T&&T.redirect){const{redirect:V}=T;let Q=typeof V=="function"?V(y,M):V;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=I(Q):{path:Q},Q.params={}),ot({query:y.query,hash:y.hash,params:Q.path!=null?{}:y.params},Q)}}function N(y,M){const T=c=L(y),V=a.value,Q=y.state,d=y.force,h=y.replace===!0,m=H(T,V);if(m)return N(ot(I(m),{state:typeof m=="object"?ot({},Q,m.state):Q,force:d,replace:h}),M||T);const _=T;_.redirectedFrom=M;let A;return!d&&zu(s,V,T)&&(A=rn(yt.NAVIGATION_DUPLICATED,{to:_,from:V}),Kt(V,V,!0,!1)),(A?Promise.resolve(A):q(_,V)).catch(x=>pe(x)?pe(x,yt.NAVIGATION_GUARD_REDIRECT)?x:Dt(x):J(x,_,V)).then(x=>{if(x){if(pe(x,yt.NAVIGATION_GUARD_REDIRECT))return N(ot({replace:h},I(x.to),{state:typeof x.to=="object"?ot({},Q,x.to.state):Q,force:d}),M||_)}else x=xt(_,V,!0,h,Q);return dt(_,V,x),x})}function B(y,M){const T=v(y,M);return T?Promise.reject(T):Promise.resolve()}function F(y){const M=Ae.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(y):y()}function q(y,M){let T;const[V,Q,d]=uf(y,M);T=Ws(V.reverse(),"beforeRouteLeave",y,M);for(const m of V)m.leaveGuards.forEach(_=>{T.push(Ne(_,y,M))});const h=B.bind(null,y,M);return T.push(h),Y(T).then(()=>{T=[];for(const m of o.list())T.push(Ne(m,y,M));return T.push(h),Y(T)}).then(()=>{T=Ws(Q,"beforeRouteUpdate",y,M);for(const m of Q)m.updateGuards.forEach(_=>{T.push(Ne(_,y,M))});return T.push(h),Y(T)}).then(()=>{T=[];for(const m of d)if(m.beforeEnter)if(ne(m.beforeEnter))for(const _ of m.beforeEnter)T.push(Ne(_,y,M));else T.push(Ne(m.beforeEnter,y,M));return T.push(h),Y(T)}).then(()=>(y.matched.forEach(m=>m.enterCallbacks={}),T=Ws(d,"beforeRouteEnter",y,M,F),T.push(h),Y(T))).then(()=>{T=[];for(const m of i.list())T.push(Ne(m,y,M));return T.push(h),Y(T)}).catch(m=>pe(m,yt.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function dt(y,M,T){l.list().forEach(V=>F(()=>V(y,M,T)))}function xt(y,M,T,V,Q){const d=v(y,M);if(d)return d;const h=M===Ie,m=Ye?history.state:{};T&&(V||h?r.replace(y.fullPath,ot({scroll:h&&m&&m.scroll},Q)):r.push(y.fullPath,Q)),a.value=y,Kt(y,M,T,h),Dt()}let _t;function Pt(){_t||(_t=r.listen((y,M,T)=>{if(!b.listening)return;const V=L(y),Q=H(V,b.currentRoute.value);if(Q){N(ot(Q,{replace:!0,force:!0}),V).catch(An);return}c=V;const d=a.value;Ye&&ef(Do(d.fullPath,T.delta),Rs()),q(V,d).catch(h=>pe(h,yt.NAVIGATION_ABORTED|yt.NAVIGATION_CANCELLED)?h:pe(h,yt.NAVIGATION_GUARD_REDIRECT)?(N(ot(I(h.to),{force:!0}),V).then(m=>{pe(m,yt.NAVIGATION_ABORTED|yt.NAVIGATION_DUPLICATED)&&!T.delta&&T.type===hr.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):(T.delta&&r.go(-T.delta,!1),J(h,V,d))).then(h=>{h=h||xt(V,d,!1),h&&(T.delta&&!pe(h,yt.NAVIGATION_CANCELLED)?r.go(-T.delta,!1):T.type===hr.pop&&pe(h,yt.NAVIGATION_ABORTED|yt.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),dt(V,d,h)}).catch(An)}))}let Ut=fn(),lt=fn(),W;function J(y,M,T){Dt(y);const V=lt.list();return V.length?V.forEach(Q=>Q(y,M,T)):console.error(y),Promise.reject(y)}function Et(){return W&&a.value!==Ie?Promise.resolve():new Promise((y,M)=>{Ut.add([y,M])})}function Dt(y){return W||(W=!y,Pt(),Ut.list().forEach(([M,T])=>y?T(y):M()),Ut.reset()),y}function Kt(y,M,T,V){const{scrollBehavior:Q}=t;if(!Ye||!Q)return Promise.resolve();const d=!T&&nf(Do(y.fullPath,0))||(V||!T)&&history.state&&history.state.scroll||null;return _s().then(()=>Q(y,M,d)).then(h=>h&&tf(h)).catch(h=>J(h,y,M))}const Ot=y=>r.go(y);let Se;const Ae=new Set,b={currentRoute:a,listening:!0,addRoute:g,removeRoute:R,clearRoutes:e.clearRoutes,hasRoute:w,getRoutes:S,resolve:L,options:t,push:E,replace:k,go:Ot,back:()=>Ot(-1),forward:()=>Ot(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:lt.add,isReady:Et,install(y){y.component("RouterLink",mr),y.component("RouterView",vr),y.config.globalProperties.$router=b,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>ct(a)}),Ye&&!Se&&a.value===Ie&&(Se=!0,E(r.location).catch(V=>{}));const M={};for(const V in Ie)Object.defineProperty(M,V,{get:()=>a.value[V],enumerable:!0});y.provide(Is,b),y.provide(Ur,Di(M)),y.provide(gr,a);const T=y.unmount;Ae.add(y),y.unmount=function(){Ae.delete(y),Ae.size<1&&(c=Ie,_t&&_t(),_t=null,a.value=Ie,Se=!1,W=!1),T()}}};function Y(y){return y.reduce((M,T)=>M.then(()=>F(T)),Promise.resolve())}return b}function Df(){return Xt(Is)}function Lf(t){return Xt(Ur)}const Fl=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ts=(t,e,n,s="")=>{const r=t.split(":");if(t.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;s=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),a=r.pop(),c={provider:r.length>0?r[0]:s,prefix:a,name:l};return e&&!Yn(c)?null:c}const o=r[0],i=o.split("-");if(i.length>1){const l={provider:s,prefix:i.shift(),name:i.join("-")};return e&&!Yn(l)?null:l}if(n&&s===""){const l={provider:s,prefix:"",name:o};return e&&!Yn(l,n)?null:l}return null},Yn=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1,Hl=Object.freeze({left:0,top:0,width:16,height:16}),fs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ps=Object.freeze({...Hl,...fs}),yr=Object.freeze({...Ps,body:"",hidden:!1});function jf(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const s=((t.rotate||0)+(e.rotate||0))%4;return s&&(n.rotate=s),n}function qo(t,e){const n=jf(t,e);for(const s in yr)s in fs?s in t&&!(s in n)&&(n[s]=fs[s]):s in e?n[s]=e[s]:s in t&&(n[s]=t[s]);return n}function Bf(t,e){const n=t.icons,s=t.aliases||Object.create(null),r=Object.create(null);function o(i){if(n[i])return r[i]=[];if(!(i in r)){r[i]=null;const l=s[i]&&s[i].parent,a=l&&o(l);a&&(r[i]=[l].concat(a))}return r[i]}return Object.keys(n).concat(Object.keys(s)).forEach(o),r}function Ff(t,e,n){const s=t.icons,r=t.aliases||Object.create(null);let o={};function i(l){o=qo(s[l]||r[l],o)}return i(e),n.forEach(i),qo(t,o)}function Vl(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(r=>{e(r,null),n.push(r)});const s=Bf(t);for(const r in s){const o=s[r];o&&(e(r,Ff(t,r,o)),n.push(r))}return n}const Hf={provider:"",aliases:{},not_found:{},...Hl};function zs(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function Ul(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!zs(t,Hf))return null;const n=e.icons;for(const r in n){const o=n[r];if(!r||typeof o.body!="string"||!zs(o,yr))return null}const s=e.aliases||Object.create(null);for(const r in s){const o=s[r],i=o.parent;if(!r||typeof i!="string"||!n[i]&&!s[i]||!zs(o,yr))return null}return e}const Yo=Object.create(null);function Vf(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function on(t,e){const n=Yo[t]||(Yo[t]=Object.create(null));return n[e]||(n[e]=Vf(t,e))}function Kl(t,e){return Ul(e)?Vl(e,(n,s)=>{s?t.icons[n]=s:t.missing.add(n)}):[]}function Uf(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let Mn=!1;function $l(t){return typeof t=="boolean"&&(Mn=t),Mn}function Kf(t){const e=typeof t=="string"?Ts(t,!0,Mn):t;if(e){const n=on(e.provider,e.prefix),s=e.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function $f(t,e){const n=Ts(t,!0,Mn);if(!n)return!1;const s=on(n.provider,n.prefix);return e?Uf(s,n.name,e):(s.missing.add(n.name),!0)}function Gf(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),Mn&&!e&&!t.prefix){let r=!1;return Ul(t)&&(t.prefix="",Vl(t,(o,i)=>{$f(o,i)&&(r=!0)})),r}const n=t.prefix;if(!Yn({prefix:n,name:"a"}))return!1;const s=on(e,n);return!!Kl(s,t)}const Gl=Object.freeze({width:null,height:null}),Wl=Object.freeze({...Gl,...fs}),Wf=/(-?[0-9.]*[0-9]+[0-9.]*)/g,zf=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qo(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const s=t.split(Wf);if(s===null||!s.length)return t;const r=[];let o=s.shift(),i=zf.test(o);for(;;){if(i){const l=parseFloat(o);isNaN(l)?r.push(o):r.push(Math.ceil(l*e*n)/n)}else r.push(o);if(o=s.shift(),o===void 0)return r.join("");i=!i}}function qf(t,e="defs"){let n="";const s=t.indexOf("<"+e);for(;s>=0;){const r=t.indexOf(">",s),o=t.indexOf("",o);if(i===-1)break;n+=t.slice(r+1,o).trim(),t=t.slice(0,s).trim()+t.slice(i+1)}return{defs:n,content:t}}function Yf(t,e){return t?""+t+""+e:e}function Qf(t,e,n){const s=qf(t);return Yf(s.defs,e+s.content+n)}const Jf=t=>t==="unset"||t==="undefined"||t==="none";function Xf(t,e){const n={...Ps,...t},s={...Wl,...e},r={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,s].forEach(S=>{const w=[],L=S.hFlip,I=S.vFlip;let v=S.rotate;L?I?v+=2:(w.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),w.push("scale(-1 1)"),r.top=r.left=0):I&&(w.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),w.push("scale(1 -1)"),r.top=r.left=0);let E;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:E=r.height/2+r.top,w.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:w.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:E=r.width/2+r.left,w.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}v%2===1&&(r.left!==r.top&&(E=r.left,r.left=r.top,r.top=E),r.width!==r.height&&(E=r.width,r.width=r.height,r.height=E)),w.length&&(o=Qf(o,'',""))});const i=s.width,l=s.height,a=r.width,c=r.height;let u,f;i===null?(f=l===null?"1em":l==="auto"?c:l,u=Qo(f,a/c)):(u=i==="auto"?a:i,f=l===null?Qo(u,c/a):l==="auto"?c:l);const p={},g=(S,w)=>{Jf(w)||(p[S]=w.toString())};g("width",u),g("height",f);const R=[r.left,r.top,a,c];return p.viewBox=R.join(" "),{attributes:p,viewBox:R,body:o}}const Zf=/\sid="(\S+)"/g,td="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ed=0;function nd(t,e=td){const n=[];let s;for(;s=Zf.exec(t);)n.push(s[1]);if(!n.length)return t;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const i=typeof e=="function"?e(o):e+(ed++).toString(),l=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+r+"$3")}),t=t.replace(new RegExp(r,"g"),""),t}const br=Object.create(null);function sd(t,e){br[t]=e}function xr(t){return br[t]||br[""]}function Kr(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const $r=Object.create(null),dn=["https://api.simplesvg.com","https://api.unisvg.com"],Qn=[];for(;dn.length>0;)dn.length===1||Math.random()>.5?Qn.push(dn.shift()):Qn.push(dn.pop());$r[""]=Kr({resources:["https://api.iconify.design"].concat(Qn)});function rd(t,e){const n=Kr(e);return n===null?!1:($r[t]=n,!0)}function Gr(t){return $r[t]}const od=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let Jo=od();function id(t,e){const n=Gr(t);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let r=0;n.resources.forEach(i=>{r=Math.max(r,i.length)});const o=e+".json?icons=";s=n.maxURL-r-n.path.length-o.length}return s}function ld(t){return t===404}const ad=(t,e,n)=>{const s=[],r=id(t,e),o="icons";let i={type:o,provider:t,prefix:e,icons:[]},l=0;return n.forEach((a,c)=>{l+=a.length+1,l>=r&&c>0&&(s.push(i),i={type:o,provider:t,prefix:e,icons:[]},l=a.length),i.icons.push(a)}),s.push(i),s};function cd(t){if(typeof t=="string"){const e=Gr(t);if(e)return e.path}return"/"}const ud=(t,e,n)=>{if(!Jo){n("abort",424);return}let s=cd(e.provider);switch(e.type){case"icons":{const o=e.prefix,l=e.icons.join(","),a=new URLSearchParams({icons:l});s+=o+".json?"+a.toString();break}case"custom":{const o=e.uri;s+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let r=503;Jo(t+s).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(ld(i)?"abort":"next",i)});return}return r=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",r)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",r)})},fd={prepare:ad,send:ud};function dd(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((r,o)=>r.provider!==o.provider?r.provider.localeCompare(o.provider):r.prefix!==o.prefix?r.prefix.localeCompare(o.prefix):r.name.localeCompare(o.name));let s={provider:"",prefix:"",name:""};return t.forEach(r=>{if(s.name===r.name&&s.prefix===r.prefix&&s.provider===r.provider)return;s=r;const o=r.provider,i=r.prefix,l=r.name,a=n[o]||(n[o]=Object.create(null)),c=a[i]||(a[i]=on(o,i));let u;l in c.icons?u=e.loaded:i===""||c.missing.has(l)?u=e.missing:u=e.pending;const f={provider:o,prefix:i,name:l};u.push(f)}),e}function zl(t,e){t.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(r=>r.id!==e))})}function hd(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const s=t.provider,r=t.prefix;e.forEach(o=>{const i=o.icons,l=i.pending.length;i.pending=i.pending.filter(a=>{if(a.prefix!==r)return!0;const c=a.name;if(t.icons[c])i.loaded.push({provider:s,prefix:r,name:c});else if(t.missing.has(c))i.missing.push({provider:s,prefix:r,name:c});else return n=!0,!0;return!1}),i.pending.length!==l&&(n||zl([t],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let pd=0;function gd(t,e,n){const s=pd++,r=zl.bind(null,n,s);if(!e.pending.length)return r;const o={id:s,icons:e,callback:t,abort:r};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(o)}),r}function md(t,e=!0,n=!1){const s=[];return t.forEach(r=>{const o=typeof r=="string"?Ts(r,e,n):r;o&&s.push(o)}),s}var vd={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function yd(t,e,n,s){const r=t.resources.length,o=t.random?Math.floor(Math.random()*r):t.index;let i;if(t.random){let H=t.resources.slice(0);for(i=[];H.length>1;){const N=Math.floor(Math.random()*H.length);i.push(H[N]),H=H.slice(0,N).concat(H.slice(N+1))}i=i.concat(H)}else i=t.resources.slice(o).concat(t.resources.slice(0,o));const l=Date.now();let a="pending",c=0,u,f=null,p=[],g=[];typeof s=="function"&&g.push(s);function R(){f&&(clearTimeout(f),f=null)}function S(){a==="pending"&&(a="aborted"),R(),p.forEach(H=>{H.status==="pending"&&(H.status="aborted")}),p=[]}function w(H,N){N&&(g=[]),typeof H=="function"&&g.push(H)}function L(){return{startTime:l,payload:e,status:a,queriesSent:c,queriesPending:p.length,subscribe:w,abort:S}}function I(){a="failed",g.forEach(H=>{H(void 0,u)})}function v(){p.forEach(H=>{H.status==="pending"&&(H.status="aborted")}),p=[]}function E(H,N,B){const F=N!=="success";switch(p=p.filter(q=>q!==H),a){case"pending":break;case"failed":if(F||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){u=B,I();return}if(F){u=B,p.length||(i.length?k():I());return}if(R(),v(),!t.random){const q=t.resources.indexOf(H.resource);q!==-1&&q!==t.index&&(t.index=q)}a="completed",g.forEach(q=>{q(B)})}function k(){if(a!=="pending")return;R();const H=i.shift();if(H===void 0){if(p.length){f=setTimeout(()=>{R(),a==="pending"&&(v(),I())},t.timeout);return}I();return}const N={status:"pending",resource:H,callback:(B,F)=>{E(N,B,F)}};p.push(N),c++,f=setTimeout(k,t.rotate),n(H,e,N.callback)}return setTimeout(k),L}function ql(t){const e={...vd,...t};let n=[];function s(){n=n.filter(l=>l().status==="pending")}function r(l,a,c){const u=yd(e,l,a,(f,p)=>{s(),c&&c(f,p)});return n.push(u),u}function o(l){return n.find(a=>l(a))||null}return{query:r,find:o,setIndex:l=>{e.index=l},getIndex:()=>e.index,cleanup:s}}function Xo(){}const qs=Object.create(null);function bd(t){if(!qs[t]){const e=Gr(t);if(!e)return;const n=ql(e),s={config:e,redundancy:n};qs[t]=s}return qs[t]}function xd(t,e,n){let s,r;if(typeof t=="string"){const o=xr(t);if(!o)return n(void 0,424),Xo;r=o.send;const i=bd(t);i&&(s=i.redundancy)}else{const o=Kr(t);if(o){s=ql(o);const i=t.resources?t.resources[0]:"",l=xr(i);l&&(r=l.send)}}return!s||!r?(n(void 0,424),Xo):s.query(e,r,n)().abort}function Zo(){}function _d(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,hd(t)}))}function wd(t){const e=[],n=[];return t.forEach(s=>{(s.match(Fl)?e:n).push(s)}),{valid:e,invalid:n}}function hn(t,e,n){function s(){const r=t.pendingIcons;e.forEach(o=>{r&&r.delete(o),t.icons[o]||t.missing.add(o)})}if(n&&typeof n=="object")try{if(!Kl(t,n).length){s();return}}catch(r){console.error(r)}s(),_d(t)}function ti(t,e){t instanceof Promise?t.then(n=>{e(n)}).catch(()=>{e(null)}):e(t)}function Ed(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:s}=t,r=t.iconsToLoad;if(delete t.iconsToLoad,!r||!r.length)return;const o=t.loadIcon;if(t.loadIcons&&(r.length>1||!o)){ti(t.loadIcons(r,s,n),u=>{hn(t,r,u)});return}if(o){r.forEach(u=>{const f=o(u,s,n);ti(f,p=>{const g=p?{prefix:s,icons:{[u]:p}}:null;hn(t,[u],g)})});return}const{valid:i,invalid:l}=wd(r);if(l.length&&hn(t,l,null),!i.length)return;const a=s.match(Fl)?xr(n):null;if(!a){hn(t,i,null);return}a.prepare(n,s,i).forEach(u=>{xd(n,u,f=>{hn(t,u.icons,f)})})}))}const Sd=(t,e)=>{const n=md(t,!0,$l()),s=dd(n);if(!s.pending.length){let a=!0;return e&&setTimeout(()=>{a&&e(s.loaded,s.missing,s.pending,Zo)}),()=>{a=!1}}const r=Object.create(null),o=[];let i,l;return s.pending.forEach(a=>{const{provider:c,prefix:u}=a;if(u===l&&c===i)return;i=c,l=u,o.push(on(c,u));const f=r[c]||(r[c]=Object.create(null));f[u]||(f[u]=[])}),s.pending.forEach(a=>{const{provider:c,prefix:u,name:f}=a,p=on(c,u),g=p.pendingIcons||(p.pendingIcons=new Set);g.has(f)||(g.add(f),r[c][u].push(f))}),o.forEach(a=>{const c=r[a.provider][a.prefix];c.length&&Ed(a,c)}),e?gd(e,s,o):Zo};function Ad(t,e){const n={...t};for(const s in e){const r=e[s],o=typeof r;s in Gl?(r===null||r&&(o==="string"||o==="number"))&&(n[s]=r):o===typeof n[s]&&(n[s]=s==="rotate"?r%4:r)}return n}const Cd=/[\s,]+/;function Rd(t,e){e.split(Cd).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Id(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function s(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(t);return isNaN(r)?0:s(r)}else if(n!==t){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let o=parseFloat(t.slice(0,t.length-n.length));return isNaN(o)?0:(o=o/r,o%1===0?s(o):0)}}return e}function Td(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in e)n+=" "+s+'="'+e[s]+'"';return'"+t+""}function Pd(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function Od(t){return"data:image/svg+xml,"+Pd(t)}function Nd(t){return'url("'+Od(t)+'")'}const ei={...Wl,inline:!1},Md={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},kd={display:"inline-block"},_r={backgroundColor:"currentColor"},Yl={backgroundColor:"transparent"},ni={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},si={webkitMask:_r,mask:_r,background:Yl};for(const t in si){const e=si[t];for(const n in ni)e[t+n]=ni[n]}const Jn={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Jn[t+"-flip"]=e,Jn[t.slice(0,1)+"-flip"]=e,Jn[t+"Flip"]=e});function ri(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const oi=(t,e)=>{const n=Ad(ei,e),s={...Md},r=e.mode||"svg",o={},i=e.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let S in e){const w=e[S];if(w!==void 0)switch(S){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[S]=w===!0||w==="true"||w===1;break;case"flip":typeof w=="string"&&Rd(n,w);break;case"color":o.color=w;break;case"rotate":typeof w=="string"?n[S]=Id(w):typeof w=="number"&&(n[S]=w);break;case"ariaHidden":case"aria-hidden":w!==!0&&w!=="true"&&delete s["aria-hidden"];break;default:{const L=Jn[S];L?(w===!0||w==="true"||w===1)&&(n[L]=!0):ei[S]===void 0&&(s[S]=w)}}}const a=Xf(t,n),c=a.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),r==="svg"){s.style={...o,...l},Object.assign(s,c);let S=0,w=e.id;return typeof w=="string"&&(w=w.replace(/-/g,"_")),s.innerHTML=nd(a.body,w?()=>w+"ID"+S++:"iconifyVue"),cs("svg",s)}const{body:u,width:f,height:p}=t,g=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),R=Td(u,{...c,width:f+"",height:p+""});return s.style={...o,"--svg":Nd(R),width:ri(c.width),height:ri(c.height),...kd,...g?_r:Yl,...l},cs("span",s)};$l(!0);sd("",fd);if(typeof document<"u"&&typeof window<"u"){const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!Gf(s))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const s="IconifyProviders["+n+"] is invalid.";try{const r=e[n];if(typeof r!="object"||!r||r.resources===void 0)continue;rd(n,r)||console.error(s)}catch{console.error(s)}}}}const Dd={...Ps,body:""},Ys=Ke({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,e,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let s;if(typeof t!="string"||(s=Ts(t,!1,!0))===null)return this.abortLoading(),null;let r=Kf(s);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:t,abort:Sd([s],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==t&&(this._name=t,e&&e(t)),n){r=Object.assign({},r);const i=n(r.body,s.name,s.prefix,s.provider);typeof i=="string"&&(r.body=i)}const o=["iconify"];return s.prefix!==""&&o.push("iconify--"+s.prefix),s.provider!==""&&o.push("iconify--"+s.provider),{data:r,classes:o}}},render(){this.counter;const t=this.$attrs,e=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad,t.customise):null;if(!e)return oi(Dd,t);let n=t;return e.classes&&(n={...t,class:(typeof t.class=="string"?t.class+" ":"")+e.classes.join(" ")}),oi({...Ps,...e.data},n)}});var Ld=Object.defineProperty,jd=(t,e,n)=>e in t?Ld(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lt=(t,e,n)=>jd(t,typeof e!="symbol"?e+"":e,n);function Bd(t){if(typeof document>"u")return;function e(){let n=document.head||document.getElementsByTagName("head")[0];if(!n)return;let s=document.createElement("style");s.type="text/css",n.appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(document.createTextNode(t))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}Bd(":where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let wr=0;class Fd{constructor(){Lt(this,"subscribers"),Lt(this,"toasts"),Lt(this,"subscribe",e=>(this.subscribers.push(e),()=>{const n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)})),Lt(this,"publish",e=>{this.subscribers.forEach(n=>n(e))}),Lt(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]}),Lt(this,"create",e=>{var n;const{message:s,...r}=e,o=typeof e.id=="number"||e.id&&((n=e.id)==null?void 0:n.length)>0?e.id:wr++,i=this.toasts.find(a=>a.id===o),l=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:s}),{...a,...e,id:o,dismissible:l,title:s}):a):this.addToast({title:s,...r,dismissible:l,id:o}),o}),Lt(this,"dismiss",e=>(e||this.toasts.forEach(n=>{this.subscribers.forEach(s=>s({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:e,dismiss:!0})),e)),Lt(this,"message",(e,n)=>this.create({...n,message:e,type:"default"})),Lt(this,"error",(e,n)=>this.create({...n,type:"error",message:e})),Lt(this,"success",(e,n)=>this.create({...n,type:"success",message:e})),Lt(this,"info",(e,n)=>this.create({...n,type:"info",message:e})),Lt(this,"warning",(e,n)=>this.create({...n,type:"warning",message:e})),Lt(this,"loading",(e,n)=>this.create({...n,type:"loading",message:e})),Lt(this,"promise",(e,n)=>{if(!n)return;let s;n.loading!==void 0&&(s=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const r=e instanceof Promise?e:e();let o=s!==void 0,i;const l=r.then(async c=>{if(i=["resolve",c],Vd(c)&&!c.ok){o=!1;const u=typeof n.error=="function"?await n.error(`HTTP error! status: ${c.status}`):n.error,f=typeof n.description=="function"?await n.description(`HTTP error! status: ${c.status}`):n.description;this.create({id:s,type:"error",message:u,description:f})}else if(n.success!==void 0){o=!1;const u=typeof n.success=="function"?await n.success(c):n.success,f=typeof n.description=="function"?await n.description(c):n.description;this.create({id:s,type:"success",message:u,description:f})}}).catch(async c=>{if(i=["reject",c],n.error!==void 0){o=!1;const u=typeof n.error=="function"?await n.error(c):n.error,f=typeof n.description=="function"?await n.description(c):n.description;this.create({id:s,type:"error",message:u,description:f})}}).finally(()=>{var c;o&&(this.dismiss(s),s=void 0),(c=n.finally)==null||c.call(n)}),a=()=>new Promise((c,u)=>l.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof s!="string"&&typeof s!="number"?{unwrap:a}:Object.assign(s,{unwrap:a})}),Lt(this,"custom",(e,n)=>{const s=(n==null?void 0:n.id)||wr++;return this.publish({component:e,id:s,...n}),s}),this.subscribers=[],this.toasts=[]}}const Wt=new Fd;function Hd(t,e){const n=(e==null?void 0:e.id)||wr++;return Wt.create({message:t,id:n,type:"default",...e}),n}const Vd=t=>t&&typeof t=="object"&&"ok"in t&&typeof t.ok=="boolean"&&"status"in t&&typeof t.status=="number",Ud=Hd,Kd=()=>Wt.toasts,ep=Object.assign(Ud,{success:Wt.success,info:Wt.info,warning:Wt.warning,error:Wt.error,custom:Wt.custom,message:Wt.message,promise:Wt.promise,dismiss:Wt.dismiss,loading:Wt.loading},{getHistory:Kd});function Kn(t){return t.label!==void 0}function $d(){const t=pt(!1);return Qe(()=>{const e=()=>{t.value=document.hidden};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)}),{isDocumentHidden:t}}const Gd=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],Wd=["aria-label","data-disabled"],zd=4e3,qd=20,Yd=200,Qd=Ke({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(t,{emit:e}){const n=t,s=e,r=pt(!1),o=pt(!1),i=pt(!1),l=pt(!1),a=pt(!1),c=pt(0),u=pt(0),f=pt(n.toast.duration||n.duration||zd),p=pt(null),g=pt(null),R=et(()=>n.index===0),S=et(()=>n.index+1<=n.visibleToasts),w=et(()=>n.toast.type),L=et(()=>n.toast.dismissible!==!1),I=et(()=>n.toast.class||""),v=et(()=>n.descriptionClass||""),E=n.toast.style||{},k=et(()=>n.heights.findIndex(b=>b.toastId===n.toast.id)||0),H=et(()=>n.toast.closeButton??n.closeButton),N=pt(0),B=pt(0),F=pt(null),q=et(()=>n.position.split("-")),dt=et(()=>q.value[0]),xt=et(()=>q.value[1]),_t=et(()=>typeof n.toast.title!="string"),Pt=et(()=>typeof n.toast.description!="string"),Ut=et(()=>n.heights.reduce((b,Y,y)=>y>=k.value?b:b+Y.height,0)),lt=$d(),W=et(()=>n.toast.invert||n.invert),J=et(()=>w.value==="loading"),Et=et(()=>k.value*n.gap+Ut.value||0);sr(()=>{if(!r.value)return;const b=g.value,Y=b==null?void 0:b.style.height;b.style.height="auto";const y=b.getBoundingClientRect().height;b.style.height=Y,u.value=y;let M;n.heights.find(T=>T.toastId===n.toast.id)?M=n.heights.map(T=>T.toastId===n.toast.id?{...T,height:y}:T):M=[{toastId:n.toast.id,height:y,position:n.toast.position},...n.heights],s("update:heights",M)});function Dt(){o.value=!0,c.value=Et.value;const b=n.heights.filter(Y=>Y.toastId!==n.toast.id);s("update:heights",b),setTimeout(()=>{s("removeToast",n.toast)},Yd)}function Kt(){var b,Y;if(J.value||!L.value)return{};Dt(),(Y=(b=n.toast).onDismiss)==null||Y.call(b,n.toast)}function Ot(b){J.value||!L.value||(p.value=new Date,c.value=Et.value,b.target.setPointerCapture(b.pointerId),b.target.tagName!=="BUTTON"&&(i.value=!0,F.value={x:b.clientX,y:b.clientY}))}function Se(){var b,Y,y,M,T;if(l.value||!L)return;F.value=null;const V=Number(((b=g.value)==null?void 0:b.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Q=new Date().getTime()-((Y=p.value)==null?void 0:Y.getTime()),d=Math.abs(V)/Q;if(Math.abs(V)>=qd||d>.11){c.value=Et.value,(M=(y=n.toast).onDismiss)==null||M.call(y,n.toast),Dt(),l.value=!0,a.value=!1;return}(T=g.value)==null||T.style.setProperty("--swipe-amount","0px"),i.value=!1}function Ae(b){var Y,y;if(!F.value||!L.value)return;const M=b.clientY-F.value.y,T=((Y=window.getSelection())==null?void 0:Y.toString().length)>0,V=dt.value==="top"?Math.min(0,M):Math.max(0,M);Math.abs(V)>0&&(a.value=!0),!T&&((y=g.value)==null||y.style.setProperty("--swipe-amount",`${V}px`))}return Qe(b=>{if(n.toast.promise&&w.value==="loading"||n.toast.duration===1/0||n.toast.type==="loading")return;let Y;const y=()=>{if(B.value{f.value!==1/0&&(N.value=new Date().getTime(),Y=setTimeout(()=>{var T,V;(V=(T=n.toast).onAutoClose)==null||V.call(T,n.toast),Dt()},f.value))};n.expanded||n.interacting||n.pauseWhenPageIsHidden&<?y():M(),b(()=>{clearTimeout(Y)})}),Ve(()=>n.toast.delete,()=>{n.toast.delete&&Dt()},{deep:!0}),sr(()=>{if(r.value=!0,g.value){const b=g.value.getBoundingClientRect().height;u.value=b;const Y=[{toastId:n.toast.id,height:b,position:n.toast.position},...n.heights];s("update:heights",Y)}}),qi(()=>{if(g.value){const b=n.heights.filter(Y=>Y.toastId!==n.toast.id);s("update:heights",b)}}),(b,Y)=>{var y,M,T,V,Q,d,h,m,_,A,x,D,O,P,C,K,j,U,$,X,rt,st,vt,St,$t,Gt,Ce;return tt(),gt("li",{ref_key:"toastRef",ref:g,"aria-live":b.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:zt(b.cn(n.class,I.value,(y=b.classes)==null?void 0:y.toast,(M=b.toast.classes)==null?void 0:M.toast,(T=b.classes)==null?void 0:T[w.value],(Q=(V=b.toast)==null?void 0:V.classes)==null?void 0:Q[w.value])),"data-rich-colors":b.toast.richColors??b.defaultRichColors,"data-styled":!(b.toast.component||(d=b.toast)!=null&&d.unstyled||b.unstyled),"data-mounted":r.value,"data-promise":!!b.toast.promise,"data-removed":o.value,"data-visible":S.value,"data-y-position":dt.value,"data-x-position":xt.value,"data-index":b.index,"data-front":R.value,"data-swiping":i.value,"data-dismissible":L.value,"data-type":w.value,"data-invert":W.value,"data-swipe-out":l.value,"data-expanded":!!(b.expanded||b.expandByDefault&&r.value),style:Me({"--index":b.index,"--toasts-before":b.index,"--z-index":b.toasts.length-b.index,"--offset":`${o.value?c.value:Et.value}px`,"--initial-height":b.expandByDefault?"auto":`${u.value}px`,...b.style,...ct(E)}),onPointerdown:Ot,onPointerup:Se,onPointermove:Ae},[H.value&&!b.toast.component?(tt(),gt("button",{key:0,"aria-label":b.closeButtonAriaLabel||"Close toast","data-disabled":J.value,"data-close-button":"true",class:zt(b.cn((h=b.classes)==null?void 0:h.closeButton,(_=(m=b.toast)==null?void 0:m.classes)==null?void 0:_.closeButton)),onClick:Kt},[(A=b.icons)!=null&&A.close?(tt(),ce(an((x=b.icons)==null?void 0:x.close),{key:0})):Jt(b.$slots,"close-icon",{key:1})],10,Wd)):Ge("",!0),b.toast.component?(tt(),ce(an(b.toast.component),En({key:1},b.toast.componentProps,{onCloseToast:Kt}),null,16)):(tt(),gt(wt,{key:2},[w.value!=="default"||b.toast.icon||b.toast.promise?(tt(),gt("div",{key:0,"data-icon":"",class:zt(b.cn((D=b.classes)==null?void 0:D.icon,(P=(O=b.toast)==null?void 0:O.classes)==null?void 0:P.icon))},[b.toast.icon?(tt(),ce(an(b.toast.icon),{key:0})):(tt(),gt(wt,{key:1},[w.value==="loading"?Jt(b.$slots,"loading-icon",{key:0}):w.value==="success"?Jt(b.$slots,"success-icon",{key:1}):w.value==="error"?Jt(b.$slots,"error-icon",{key:2}):w.value==="warning"?Jt(b.$slots,"warning-icon",{key:3}):w.value==="info"?Jt(b.$slots,"info-icon",{key:4}):Ge("",!0)],64))],2)):Ge("",!0),Z("div",{"data-content":"",class:zt(b.cn((C=b.classes)==null?void 0:C.content,(j=(K=b.toast)==null?void 0:K.classes)==null?void 0:j.content))},[Z("div",{"data-title":"",class:zt(b.cn((U=b.classes)==null?void 0:U.title,($=b.toast.classes)==null?void 0:$.title))},[_t.value?(tt(),ce(an(b.toast.title),Jr(En({key:0},b.toast.componentProps)),null,16)):(tt(),gt(wt,{key:1},[is(ae(b.toast.title),1)],64))],2),b.toast.description?(tt(),gt("div",{key:0,"data-description":"",class:zt(b.cn(b.descriptionClass,v.value,(X=b.classes)==null?void 0:X.description,(rt=b.toast.classes)==null?void 0:rt.description))},[Pt.value?(tt(),ce(an(b.toast.description),Jr(En({key:0},b.toast.componentProps)),null,16)):(tt(),gt(wt,{key:1},[is(ae(b.toast.description),1)],64))],2)):Ge("",!0)],2),b.toast.cancel?(tt(),gt("button",{key:1,style:Me(b.toast.cancelButtonStyle||b.cancelButtonStyle),class:zt(b.cn((st=b.classes)==null?void 0:st.cancelButton,(vt=b.toast.classes)==null?void 0:vt.cancelButton)),"data-button":"","data-cancel":"",onClick:Y[0]||(Y[0]=Re=>{var At,Nt;ct(Kn)(b.toast.cancel)&&L.value&&((Nt=(At=b.toast.cancel).onClick)==null||Nt.call(At,Re),Dt())})},ae(ct(Kn)(b.toast.cancel)?(St=b.toast.cancel)==null?void 0:St.label:b.toast.cancel),7)):Ge("",!0),b.toast.action?(tt(),gt("button",{key:2,style:Me(b.toast.actionButtonStyle||b.actionButtonStyle),class:zt(b.cn(($t=b.classes)==null?void 0:$t.actionButton,(Gt=b.toast.classes)==null?void 0:Gt.actionButton)),"data-button":"","data-action":"",onClick:Y[1]||(Y[1]=Re=>{var At,Nt;ct(Kn)(b.toast.action)&&(Re.defaultPrevented||((Nt=(At=b.toast.action).onClick)==null||Nt.call(At,Re),!Re.defaultPrevented&&Dt()))})},ae(ct(Kn)(b.toast.action)?(Ce=b.toast.action)==null?void 0:Ce.label:b.toast.action),7)):Ge("",!0)],64))],46,Gd)}}}),Bn=(t,e)=>{const n=t.__vccOpts||t;for(const[s,r]of e)n[s]=r;return n},Jd={},Xd={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"};function Zd(t,e){return tt(),gt("svg",Xd,e[0]||(e[0]=[Z("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),Z("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]))}const th=Bn(Jd,[["render",Zd]]),eh=["data-visible"],nh={class:"sonner-spinner"},sh=Ke({__name:"Loader",props:{visible:{type:Boolean}},setup(t){const e=Array(12).fill(0);return(n,s)=>(tt(),gt("div",{class:"sonner-loading-wrapper","data-visible":n.visible},[Z("div",nh,[(tt(!0),gt(wt,null,ss(ct(e),r=>(tt(),gt("div",{key:`spinner-bar-${r}`,class:"sonner-loading-bar"}))),128))])],8,eh))}}),rh={},oh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function ih(t,e){return tt(),gt("svg",oh,e[0]||(e[0]=[Z("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)]))}const lh=Bn(rh,[["render",ih]]),ah={},ch={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function uh(t,e){return tt(),gt("svg",ch,e[0]||(e[0]=[Z("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)]))}const fh=Bn(ah,[["render",uh]]),dh={},hh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"};function ph(t,e){return tt(),gt("svg",hh,e[0]||(e[0]=[Z("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)]))}const gh=Bn(dh,[["render",ph]]),mh={},vh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"};function yh(t,e){return tt(),gt("svg",vh,e[0]||(e[0]=[Z("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)]))}const bh=Bn(mh,[["render",yh]]),xh=["aria-label"],_h=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],wh=3,ii="32px",Eh=356,Sh=14,Ah=typeof window<"u"&&typeof document<"u";function Ch(...t){return t.filter(Boolean).join(" ")}const Rh=Ke({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Sh},visibleToasts:{default:wh},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:ii},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:Ch}},setup(t){const e=t;function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const v=document.documentElement.getAttribute("dir");return v==="auto"||!v?window.getComputedStyle(document.documentElement).direction:v}const s=ic(),r=pt([]),o=et(()=>(v,E)=>r.value.filter(k=>!k.position&&E===0||k.position===v)),i=et(()=>{const v=r.value.filter(E=>E.position).map(E=>E.position);return v.length>0?Array.from(new Set([e.position].concat(v))):[e.position]}),l=pt([]),a=pt(!1),c=pt(!1),u=pt(e.theme!=="system"?e.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),f=pt(null),p=pt(null),g=pt(!1),R=e.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function S(v){var E;(E=r.value.find(k=>k.id===v.id))!=null&&E.delete||Wt.dismiss(v.id),r.value=r.value.filter(({id:k})=>k!==v.id)}function w(v){var E,k;g.value&&!((k=(E=v.currentTarget)==null?void 0:E.contains)!=null&&k.call(E,v.relatedTarget))&&(g.value=!1,p.value&&(p.value.focus({preventScroll:!0}),p.value=null))}function L(v){v.target instanceof HTMLElement&&v.target.dataset.dismissible==="false"||g.value||(g.value=!0,p.value=v.relatedTarget)}function I(v){v.target&&v.target instanceof HTMLElement&&v.target.dataset.dismissible==="false"||(c.value=!0)}return Qe(v=>{const E=Wt.subscribe(k=>{if(k.dismiss){r.value=r.value.map(H=>H.id===k.id?{...H,delete:!0}:H);return}_s(()=>{const H=r.value.findIndex(N=>N.id===k.id);H!==-1?r.value=[...r.value.slice(0,H),{...r.value[H],...k},...r.value.slice(H+1)]:r.value=[k,...r.value]})});v(E)}),Ve(()=>e.theme,v=>{if(v!=="system"){u.value=v;return}if(v==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),typeof window>"u")return;const E=window.matchMedia("(prefers-color-scheme: dark)");try{E.addEventListener("change",({matches:k})=>{k?u.value="dark":u.value="light"})}catch{E.addListener(({matches:k})=>{try{k?u.value="dark":u.value="light"}catch(H){console.error(H)}})}}),Qe(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,g.value=!1)}),Qe(()=>{r.value.length<=1&&(a.value=!1)}),Qe(v=>{function E(k){const H=e.hotkey.every(F=>k[F]||k.code===F),N=Array.isArray(f.value)?f.value[0]:f.value;H&&(a.value=!0,N==null||N.focus());const B=document.activeElement===f.value||(N==null?void 0:N.contains(document.activeElement));k.code==="Escape"&&B&&(a.value=!1)}Ah&&(document.addEventListener("keydown",E),v(()=>{document.removeEventListener("keydown",E)}))}),(v,E)=>(tt(),gt("section",{"aria-label":`${v.containerAriaLabel} ${ct(R)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(tt(!0),gt(wt,null,ss(i.value,(k,H)=>{var N;return tt(),gt("ol",En({key:k,ref_for:!0,ref_key:"listRef",ref:f,"data-sonner-toaster":"",class:e.class,dir:v.dir==="auto"?n():v.dir,tabIndex:-1,"data-theme":v.theme,"data-rich-colors":v.richColors,"data-y-position":k.split("-")[0],"data-x-position":k.split("-")[1],"data-lifted":a.value&&r.value.length>1&&!v.expand,style:{"--front-toast-height":`${(N=l.value[0])==null?void 0:N.height}px`,"--offset":typeof v.offset=="number"?`${v.offset}px`:v.offset||ii,"--width":`${Eh}px`,"--gap":`${v.gap}px`,...v.style,...ct(s).style}},v.$attrs,{onBlur:w,onFocus:L,onMouseenter:E[1]||(E[1]=()=>a.value=!0),onMousemove:E[2]||(E[2]=()=>a.value=!0),onMouseleave:E[3]||(E[3]=()=>{c.value||(a.value=!1)}),onPointerdown:I,onPointerup:E[4]||(E[4]=()=>c.value=!1)}),[(tt(!0),gt(wt,null,ss(o.value(k,H),(B,F)=>{var q,dt,xt,_t,Pt,Ut,lt,W,J;return tt(),ce(Qd,{key:B.id,heights:l.value.filter(Et=>Et.position===B.position),icons:v.icons,index:F,toast:B,defaultRichColors:v.richColors,duration:((q=v.toastOptions)==null?void 0:q.duration)??v.duration,class:zt(((dt=v.toastOptions)==null?void 0:dt.class)??""),descriptionClass:(xt=v.toastOptions)==null?void 0:xt.descriptionClass,invert:v.invert,visibleToasts:v.visibleToasts,closeButton:((_t=v.toastOptions)==null?void 0:_t.closeButton)??v.closeButton,interacting:c.value,position:k,style:Me((Pt=v.toastOptions)==null?void 0:Pt.style),unstyled:(Ut=v.toastOptions)==null?void 0:Ut.unstyled,classes:(lt=v.toastOptions)==null?void 0:lt.classes,cancelButtonStyle:(W=v.toastOptions)==null?void 0:W.cancelButtonStyle,actionButtonStyle:(J=v.toastOptions)==null?void 0:J.actionButtonStyle,toasts:r.value.filter(Et=>Et.position===B.position),expandByDefault:v.expand,gap:v.gap,expanded:a.value,pauseWhenPageIsHidden:v.pauseWhenPageIsHidden,cn:v.cn,"onUpdate:heights":E[0]||(E[0]=Et=>{l.value=Et}),onRemoveToast:S},{"close-icon":me(()=>[Jt(v.$slots,"close-icon",{},()=>[ut(th)])]),"loading-icon":me(()=>[Jt(v.$slots,"loading-icon",{},()=>[ut(sh,{visible:B.type==="loading"},null,8,["visible"])])]),"success-icon":me(()=>[Jt(v.$slots,"success-icon",{},()=>[ut(lh)])]),"error-icon":me(()=>[Jt(v.$slots,"error-icon",{},()=>[ut(bh)])]),"warning-icon":me(()=>[Jt(v.$slots,"warning-icon",{},()=>[ut(gh)])]),"info-icon":me(()=>[Jt(v.$slots,"info-icon",{},()=>[ut(fh)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"])}),128))],16,_h)}),128))],8,xh))}}),li={login:"nornickel",password:"nornickel"},Qs="hf-auth",Ih={initials:"ИС",name:"Игорь Соколов",role:"Металлург · R&D"},Ql=Iu("auth",()=>{const t=pt(localStorage.getItem(Qs)==="1"),e=et(()=>t.value);function n(r,o){return r===li.login&&o===li.password?(t.value=!0,localStorage.setItem(Qs,"1"),!0):!1}function s(){t.value=!1,localStorage.removeItem(Qs)}return{isAuthenticated:e,login:n,logout:s,user:Ih}}),Th={key:0,class:"flex h-screen"},Ph={class:"flex w-[248px] shrink-0 flex-col border-r border-bd bg-white"},Oh={class:"px-3 pt-3"},Nh={class:"flex items-center gap-2 rounded-[10px] bg-muted px-2.5 py-2 text-faint",title:"Глобальный поиск (появится позже)"},Mh={class:"flex flex-col gap-0.5 px-3 pt-4"},kh={class:"mt-auto p-3"},Dh={class:"mono grid size-8 place-items-center rounded-full bg-ink text-[11px] font-semibold text-white"},Lh={class:"flex-1 text-left leading-tight"},jh={class:"block text-[13px] font-semibold text-ink"},Bh={class:"block text-[11px] text-faint"},Fh={class:"flex min-w-0 flex-1 flex-col overflow-hidden"},Hh={class:"flex h-14 shrink-0 items-center gap-4 border-b border-bd bg-bg px-7"},Vh={class:"flex items-center gap-2 text-[13px]"},Uh={class:"font-medium text-body"},Kh={class:"flex-1 overflow-y-auto px-7 py-7"},$h=Ke({__name:"App",setup(t){const e=Ql(),n=Lf(),s=Df(),r=et(()=>!n.meta.public),o=[{to:"/",label:"Исследования",icon:"lucide:flask-conical"},{to:"/generator",label:"Генератор",icon:"lucide:lightbulb"},{to:"/knowledge",label:"База знаний",icon:"lucide:database"}],i=et(()=>n.meta.crumb||"Исследования");function l(){e.logout(),s.push({name:"login"})}return(a,c)=>(tt(),gt(wt,null,[r.value?(tt(),gt("div",Th,[Z("aside",Ph,[ut(ct(mr),{to:"/",class:"flex h-14 items-center border-b border-bd px-4"},{default:me(()=>[...c[0]||(c[0]=[Z("img",{src:Tu,alt:"НОРНИКЕЛЬ",class:"h-[26px]"},null,-1)])]),_:1}),Z("div",Oh,[Z("div",Nh,[ut(ct(Ys),{icon:"lucide:search",class:"size-[15px]"}),c[1]||(c[1]=Z("span",{class:"text-[13px]"},"Поиск",-1)),c[2]||(c[2]=Z("span",{class:"mono ml-auto rounded border border-bds px-1.5 py-0.5 text-[11px]"},"⌘K",-1))])]),Z("nav",Mh,[c[3]||(c[3]=Z("div",{class:"lbl px-2.5 pb-1.5"},"Платформа",-1)),(tt(),gt(wt,null,ss(o,u=>ut(ct(mr),{key:u.to,to:u.to,class:"nav-i","active-class":"on","aria-current":ct(n).path===u.to?"page":void 0},{default:me(()=>[ut(ct(Ys),{icon:u.icon,class:"size-[17px]"},null,8,["icon"]),is(" "+ae(u.label),1)]),_:2},1032,["to","aria-current"])),64))]),Z("div",kh,[c[4]||(c[4]=Lc('
Защищённый контур
Данные не покидают периметр.
',1)),Z("button",{type:"button",class:"mt-2 flex w-full items-center gap-2.5 rounded-[10px] px-2 py-2 transition hover:bg-muted",onClick:l,title:"Выйти"},[Z("span",Dh,ae(ct(e).user.initials),1),Z("span",Lh,[Z("span",jh,ae(ct(e).user.name),1),Z("span",Bh,ae(ct(e).user.role),1)]),ut(ct(Ys),{icon:"lucide:log-out",class:"size-[15px] text-faint"})])])]),Z("div",Fh,[Z("header",Hh,[Z("div",Vh,[c[5]||(c[5]=Z("span",{class:"text-faint"},"Проект",-1)),c[6]||(c[6]=Z("span",{class:"text-faint"},"/",-1)),Z("span",Uh,ae(i.value),1)]),c[7]||(c[7]=Z("div",{class:"flex-1"},null,-1)),c[8]||(c[8]=Z("div",{class:"btn btn-secondary px-3 py-1.5 text-[12.5px]",title:"Рабочее пространство (концепт UI)"},[Z("span",{class:"size-1.5 rounded-full bg-ok"}),Z("span",{class:"mono"},"RnD-1")],-1))]),Z("main",Kh,[ut(ct(vr))])])])):(tt(),ce(ct(vr),{key:1})),ut(ct(Rh),{position:"top-right","rich-colors":"","close-button":""})],64))}}),Gh="modulepreload",Wh=function(t){return"/"+t},ai={},$n=function(e,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(c=>{if(c=Wh(c),c in ai)return;ai[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Gh,u||(p.as="script"),p.crossOrigin="",p.href=c,a&&p.setAttribute("nonce",a),document.head.appendChild(p),u)return new Promise((g,R)=>{p.addEventListener("load",g),p.addEventListener("error",()=>R(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return e().catch(o)})},Jl=kf({history:pf("/"),routes:[{path:"/login",name:"login",component:()=>$n(()=>import("./LoginView-BVE4BABK.js"),[]),meta:{public:!0}},{path:"/",name:"research",component:()=>$n(()=>import("./ResearchView-DFnjCg_s.js"),__vite__mapDeps([0,1,2])),meta:{crumb:"Исследования"}},{path:"/generator/:runId?",name:"generator",component:()=>$n(()=>import("./GeneratorView-DaRn5tUd.js"),__vite__mapDeps([3,1,2])),props:!0,meta:{crumb:"Генератор"}},{path:"/knowledge",name:"knowledge",component:()=>$n(()=>import("./KnowledgeView-CbOlMbUz.js"),__vite__mapDeps([4,2])),meta:{crumb:"База знаний"}},{path:"/:pathMatch(.*)*",redirect:"/"}]});Jl.beforeEach(t=>{const e=Ql();if(!t.meta.public&&!e.isAuthenticated)return{name:"login",query:{redirect:t.fullPath}};if(t.name==="login"&&e.isAuthenticated)return{name:"research"}});const Wr=bu($h);Wr.use(wu());Wr.use(Jl);Wr.mount("#app");export{tt as A,zt as B,ce as C,qi as D,ss as E,wt as F,me as G,Qh as H,Ys as I,Jh as J,ep as K,tp as L,Zh as M,Iu as N,Yh as T,Tu as _,tr as a,pt as b,et as c,Qe as d,Ke as e,Ql as f,gt as g,Z as h,bt as i,qh as j,ae as k,Ge as l,En as m,_s as n,sr as o,Wn as p,ut as q,Dn as r,Ia as s,zh as t,ct as u,Xh as v,Ve as w,is as x,Df as y,Lf as z};