ai_co_discuss 0.4.37 → 0.4.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web/admin.js CHANGED
@@ -1,33 +1,33 @@
1
- var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var r={},i=[],a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith(`onUpdate:`),l=Object.assign,u=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,m=e=>w(e)===`[object Map]`,h=e=>w(e)===`[object Set]`,g=e=>w(e)===`[object Date]`,_=e=>w(e)===`[object RegExp]`,v=e=>typeof e==`function`,y=e=>typeof e==`string`,b=e=>typeof e==`symbol`,x=e=>typeof e==`object`&&!!e,S=e=>(x(e)||v(e))&&v(e.then)&&v(e.catch),C=Object.prototype.toString,w=e=>C.call(e),ee=e=>w(e).slice(8,-1),te=e=>w(e)===`[object Object]`,T=e=>y(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ne=n(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),re=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ie=/-\w/g,E=re(e=>e.replace(ie,e=>e.slice(1).toUpperCase())),ae=/\B([A-Z])/g,oe=re(e=>e.replace(ae,`-$1`).toLowerCase()),se=re(e=>e.charAt(0).toUpperCase()+e.slice(1)),ce=re(e=>e?`on${se(e)}`:``),D=(e,t)=>!Object.is(e,t),le=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ue=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},de=e=>{let t=parseFloat(e);return isNaN(t)?e:t},fe=e=>{let t=y(e)?Number(e):NaN;return isNaN(t)?e:t},pe,me=()=>pe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},he=n(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function ge(e){if(p(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=y(r)?be(r):ge(r);if(i)for(let e in i)t[e]=i[e]}return t}if(y(e)||x(e))return e}var _e=/;(?![^(]*\))/g,ve=/:([^]+)/,ye=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function be(e){let t={};return e.replace(ye,e=>e.startsWith(`/*`)?``:e).split(_e).forEach(e=>{if(e){let n=e.split(ve);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function O(e){let t=``;if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){let r=O(e[n]);r&&(t+=r+` `)}else if(x(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function xe(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=O(t)),n&&(e.style=ge(n)),e}var Se=n(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function Ce(e){return!!e||e===``}function we(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Oe(e[i],t[i],n);return r}function Te(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Oe(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Ee(e,t,n){let r=m(e),i=m(t);if(r||i||(r=h(e),i=h(t),r||i))return r&&i?Te(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Oe(e[r],t[r],n))return!1}return String(e)===String(t)}function De(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Oe(e,t,n){if(e===t)return!0;let r=g(e),i=g(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=b(e),i=b(t),r||i?e===t:(r=p(e),i=p(t),r||i?r&&i?De(e,t,n,we):!1:(r=x(e),i=x(t),r||i?!r||!i?!1:De(e,t,n,Ee):String(e)===String(t))))}function ke(e,t){return e.findIndex(e=>Oe(e,t))}var Ae=e=>!!(e&&e.__v_isRef===!0),k=e=>y(e)?e:e==null?``:p(e)||x(e)&&(e.toString===C||!v(e.toString))?Ae(e)?k(e.value):JSON.stringify(e,je,2):String(e),je=(e,t)=>Ae(t)?je(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Me(t,r)+` =>`]=n,e),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Me(e))}:b(t)?Me(t):x(t)&&!p(t)&&!te(t)?String(t):t,Me=(e,t=``)=>b(e)?`Symbol(${e.description??t})`:e;function Ne(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var Pe,Fe=class{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&&Pe&&(Pe.active?(this.parent=Pe,this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=Pe;try{return Pe=this,e()}finally{Pe=t}}}on(){++this._on===1&&(this.prevScope=Pe,Pe=this)}off(){if(this._on>0&&--this._on===0){if(Pe===this)Pe=this.prevScope;else{let e=Pe;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 t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ie(e){return new Fe(e)}function Le(){return Pe}function Re(e,t=!1){Pe&&Pe.cleanups.push(e)}var A,ze=new WeakSet,Be=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Pe&&(Pe.active?Pe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ze.has(this)&&(ze.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||We(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,at(this),qe(this);let e=A,t=tt;A=this,tt=!0;try{return this.fn()}finally{Je(this),A=e,tt=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ze(e);this.deps=this.depsTail=void 0,at(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ye(this)&&this.run()}get dirty(){return Ye(this)}},Ve=0,He,Ue;function We(e,t=!1){e.flags|=8,t?(e.next=Ue,Ue=e):(e.next=He,He=e)}function Ge(){Ve++}function Ke(){if(--Ve>0)return;if(Ue){let e=Ue;for(Ue=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;He;){let t=He;for(He=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function qe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Je(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ze(r),Qe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ye(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xe(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ot)||(e.globalVersion=ot,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ye(e))))return;e.flags|=2;let t=e.dep,n=A,r=tt;A=e,tt=!0;try{qe(e);let n=e.fn(e._value);(t.version===0||D(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{A=n,tt=r,Je(e),e.flags&=-3}}function Ze(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ze(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Qe(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function $e(e,t){e.effect instanceof Be&&(e=e.effect.fn);let n=new Be(e);t&&l(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function et(e){e.effect.stop()}var tt=!0,nt=[];function rt(){nt.push(tt),tt=!1}function it(){let e=nt.pop();tt=e===void 0||e}function at(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=A;A=void 0;try{t()}finally{A=e}}}var ot=0,st=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},ct=class{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(!A||!tt||A===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==A)t=this.activeLink=new st(A,this),A.deps?(t.prevDep=A.depsTail,A.depsTail.nextDep=t,A.depsTail=t):A.deps=A.depsTail=t,lt(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=A.depsTail,t.nextDep=void 0,A.depsTail.nextDep=t,A.depsTail=t,A.deps===t&&(A.deps=e)}return t}trigger(e){this.version++,ot++,this.notify(e)}notify(e){Ge();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ke()}}};function lt(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)lt(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var ut=new WeakMap,dt=Symbol(``),ft=Symbol(``),pt=Symbol(``);function mt(e,t,n){if(tt&&A){let t=ut.get(e);t||ut.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new ct),r.map=t,r.key=n),r.track()}}function ht(e,t,n,r,i,a){let o=ut.get(e);if(!o){ot++;return}let s=e=>{e&&e.trigger()};if(Ge(),t===`clear`)o.forEach(s);else{let i=p(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===pt||!b(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(pt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(dt)),m(e)&&s(o.get(ft)));break;case`delete`:i||(s(o.get(dt)),m(e)&&s(o.get(ft)));break;case`set`:m(e)&&s(o.get(dt))}}Ke()}function gt(e,t){let n=ut.get(e);return n&&n.get(t)}function _t(e){let t=j(e);return t===e||(mt(t,`iterate`,pt),sn(e))?t:on(e)?an(e)?t.map(e=>dn(un(e))):t.map(dn):t.map(un)}function vt(e){return mt(e=j(e),`iterate`,pt),e}function yt(e,t){return on(e)?dn(an(e)?un(t):t):un(t)}var bt={__proto__:null,[Symbol.iterator](){return xt(this,Symbol.iterator,e=>yt(this,e))},concat(...e){return _t(this).concat(...e.map(e=>p(e)?_t(e):e))},entries(){return xt(this,`entries`,e=>(e[1]=yt(this,e[1]),e))},every(e,t){return wt(this,`every`,e,t,void 0,arguments)},filter(e,t){return wt(this,`filter`,e,t,e=>e.map(e=>yt(this,e)),arguments)},find(e,t){return wt(this,`find`,e,t,e=>yt(this,e),arguments)},findIndex(e,t){return wt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return wt(this,`findLast`,e,t,e=>yt(this,e),arguments)},findLastIndex(e,t){return wt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return wt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Et(this,`includes`,e)},indexOf(...e){return Et(this,`indexOf`,e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return Et(this,`lastIndexOf`,e)},map(e,t){return wt(this,`map`,e,t,void 0,arguments)},pop(){return Dt(this,`pop`)},push(...e){return Dt(this,`push`,e)},reduce(e,...t){return Tt(this,`reduce`,e,t)},reduceRight(e,...t){return Tt(this,`reduceRight`,e,t)},shift(){return Dt(this,`shift`)},some(e,t){return wt(this,`some`,e,t,void 0,arguments)},splice(...e){return Dt(this,`splice`,e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Dt(this,`unshift`,e)},values(){return xt(this,`values`,e=>yt(this,e))}};function xt(e,t,n){let r=vt(e),i=r[t],a=i.call(r);if(r!==e&&!sn(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>St(a.next(),n),i!==Ct[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>St(a._next(),n)}return a}function St(e,t){return e.done||(e.value=t(e.value)),e}var Ct=Array.prototype;function wt(e,t,n,r,i,a){let o=vt(e),s=o!==e&&!sn(e),c=o[t];if(c!==Ct[t]){let t=c.apply(e,a);return s?un(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,yt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function Tt(e,t,n,r){let i=vt(e),a=i!==e&&!sn(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=yt(e,t)),n.call(this,t,yt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?yt(e,c):c}function Et(e,t,n){let r=j(e);mt(r,`iterate`,pt);let i=r[t](...n);return(i===-1||i===!1)&&cn(n[0])?(n[0]=j(n[0]),r[t](...n)):i}function Dt(e,t,n=[]){rt(),Ge();let r=j(e)[t].apply(e,n);return Ke(),it(),r}var Ot=n(`__proto__,__v_isRef,__isVue`),kt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(b));function At(e){b(e)||(e=String(e));let t=j(this);return mt(t,`has`,e),t.hasOwnProperty(e)}var jt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Zt:Xt:i?Yt:Jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=p(e);if(!r){let e;if(a&&(e=bt[t]))return e;if(t===`hasOwnProperty`)return At}let o=Reflect.get(e,t,fn(e)?e:n);if((b(t)?kt.has(t):Ot(t))||(r||mt(e,`get`,t),i))return o;if(fn(o)){let e=a&&T(t)?o:o.value;return r&&x(e)?tn(e):e}return x(o)?r?tn(o):$t(o):o}},Mt=class extends jt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=p(e)&&T(t);if(!this._isShallow){let e=on(i);if(!sn(n)&&!on(n)&&(i=j(i),n=j(n)),!a&&fn(i)&&!fn(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,fn(e)?e:r);return e===j(r)&&s&&(o?D(n,i)&&ht(e,`set`,t,n,i):ht(e,`add`,t,n)),s}deleteProperty(e,t){let n=f(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ht(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!b(t)||!kt.has(t))&&mt(e,`has`,t),n}ownKeys(e){return mt(e,`iterate`,p(e)?`length`:dt),Reflect.ownKeys(e)}},Nt=class extends jt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Pt=new Mt,Ft=new Nt,It=new Mt(!0),Lt=new Nt(!0),Rt=e=>e,zt=e=>Reflect.getPrototypeOf(e);function Bt(e,t,n){return function(...r){let i=this.__v_raw,a=j(i),o=m(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,u=i[e](...r),d=n?Rt:t?dn:un;return!t&&mt(a,`iterate`,c?ft:dt),l(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Vt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ht(e,t){let n={get(n){let r=this.__v_raw,i=j(r),a=j(n);e||(D(n,a)&&mt(i,`get`,n),mt(i,`get`,a));let{has:o}=zt(i),s=t?Rt:e?dn:un;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&mt(j(t),`iterate`,dt),t.size},has(t){let n=this.__v_raw,r=j(n),i=j(t);return e||(D(t,i)&&mt(r,`has`,t),mt(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=j(a),s=t?Rt:e?dn:un;return!e&&mt(o,`iterate`,dt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return l(n,e?{add:Vt(`add`),set:Vt(`set`),delete:Vt(`delete`),clear:Vt(`clear`)}:{add(e){let n=j(this),r=zt(n),i=j(e),a=!t&&!sn(e)&&!on(e)?i:e;return r.has.call(n,a)||D(e,a)&&r.has.call(n,e)||D(i,a)&&r.has.call(n,i)||(n.add(a),ht(n,`add`,a,a)),this},set(e,n){!t&&!sn(n)&&!on(n)&&(n=j(n));let r=j(this),{has:i,get:a}=zt(r),o=i.call(r,e);o||=(e=j(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?D(n,s)&&ht(r,`set`,e,n,s):ht(r,`add`,e,n),this},delete(e){let t=j(this),{has:n,get:r}=zt(t),i=n.call(t,e);i||=(e=j(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ht(t,`delete`,e,void 0,a),o},clear(){let e=j(this),t=e.size!==0,n=e.clear();return t&&ht(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Bt(r,e,t)}),n}function Ut(e,t){let n=Ht(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(f(n,i)&&i in r?n:r,i,a)}var Wt={get:Ut(!1,!1)},Gt={get:Ut(!1,!0)},Kt={get:Ut(!0,!1)},qt={get:Ut(!0,!0)},Jt=new WeakMap,Yt=new WeakMap,Xt=new WeakMap,Zt=new WeakMap;function Qt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function $t(e){return on(e)?e:rn(e,!1,Pt,Wt,Jt)}function en(e){return rn(e,!1,It,Gt,Yt)}function tn(e){return rn(e,!0,Ft,Kt,Xt)}function nn(e){return rn(e,!0,Lt,qt,Zt)}function rn(e,t,n,r,i){if(!x(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Qt(ee(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function an(e){return on(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function on(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function cn(e){return e?!!e.__v_raw:!1}function j(e){let t=e&&e.__v_raw;return t?j(t):e}function ln(e){return!f(e,`__v_skip`)&&Object.isExtensible(e)&&ue(e,`__v_skip`,!0),e}var un=e=>x(e)?$t(e):e,dn=e=>x(e)?tn(e):e;function fn(e){return e?e.__v_isRef===!0:!1}function M(e){return mn(e,!1)}function pn(e){return mn(e,!0)}function mn(e,t){return fn(e)?e:new hn(e,t)}var hn=class{constructor(e,t){this.dep=new ct,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:j(e),this._value=t?e:un(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||sn(e)||on(e);e=n?e:j(e),D(e,t)&&(this._rawValue=e,this._value=n?e:un(e),this.dep.trigger())}};function gn(e){e.dep&&e.dep.trigger()}function N(e){return fn(e)?e.value:e}function _n(e){return v(e)?e():N(e)}var vn={get:(e,t,n)=>t===`__v_raw`?e:N(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return fn(i)&&!fn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function yn(e){return an(e)?e:new Proxy(e,vn)}var bn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new ct,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function xn(e){return new bn(e)}function Sn(e){let t=p(e)?Array(e.length):{};for(let n in e)t[n]=En(e,n);return t}var Cn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=b(t)?t:String(t),this._raw=j(e);let r=!0,i=e;if(!p(e)||b(this._key)||!T(this._key))do r=!cn(i)||sn(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=N(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&fn(this._raw[this._key])){let t=this._object[this._key];if(fn(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return gt(this._raw,this._key)}},wn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function Tn(e,t,n){return fn(e)?e:v(e)?new wn(e):x(e)&&arguments.length>1?En(e,t,n):M(e)}function En(e,t,n){return new Cn(e,t,n)}var Dn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new ct(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ot-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&A!==this)return We(this,!0),!0}get value(){let e=this.dep.track();return Xe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function On(e,t,n=!1){let r,i;return v(e)?r=e:(r=e.get,i=e.set),new Dn(r,i,n)}var kn={GET:`get`,HAS:`has`,ITERATE:`iterate`},An={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},jn={},Mn=new WeakMap,Nn=void 0;function Pn(){return Nn}function Fn(e,t=!1,n=Nn){if(n){let t=Mn.get(n);t||Mn.set(n,t=[]),t.push(e)}}function In(e,t,n=r){let{immediate:i,deep:o,once:s,scheduler:c,augmentJob:l,call:d}=n,f=e=>o?e:sn(e)||o===!1||o===0?Ln(e,1):Ln(e),m,h,g,_,y=!1,b=!1;if(fn(e)?(h=()=>e.value,y=sn(e)):an(e)?(h=()=>f(e),y=!0):p(e)?(b=!0,y=e.some(e=>an(e)||sn(e)),h=()=>e.map(e=>{if(fn(e))return e.value;if(an(e))return f(e);if(v(e))return d?d(e,2):e()})):h=v(e)?t?d?()=>d(e,2):e:()=>{if(g){rt();try{g()}finally{it()}}let t=Nn;Nn=m;try{return d?d(e,3,[_]):e(_)}finally{Nn=t}}:a,t&&o){let e=h,t=o===!0?1/0:o;h=()=>Ln(e(),t)}let x=Le(),S=()=>{m.stop(),x&&x.active&&u(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(jn):jn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>D(e,C[t])):D(n,C))){let e=Nn;rt();try{g&&g(),Nn=m;let e=[n,C===jn?void 0:b&&C[0]===jn?[]:C,_];C=n,d?d(t,3,e):t(...e)}finally{Nn=e,it()}}}else m.run()}};return l&&l(w),m=new Be(h),m.scheduler=c?()=>c(w,!1):w,_=e=>Fn(e,!1,m),g=m.onStop=()=>{let e=Mn.get(m);if(e){if(d)d(e,4);else for(let t of e)t();Mn.delete(m)}},t?i?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function Ln(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fn(e))Ln(e.value,t,n);else if(p(e))for(let r=0;r<e.length;r++)Ln(e[r],t,n);else if(h(e)||m(e))e.forEach(e=>{Ln(e,t,n)});else if(te(e)){for(let r in e)Ln(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ln(e[r],t,n)}return e}var Rn=[];function zn(e){Rn.push(e)}function Bn(){Rn.pop()}function Vn(e,t){}var Hn={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},Un={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function Wn(e,t,n,r){try{return r?e(...r):e()}catch(e){Kn(e,t,n)}}function Gn(e,t,n,r){if(v(e)){let i=Wn(e,t,n,r);return i&&S(i)&&i.catch(e=>{Kn(e,t,n)}),i}if(p(e)){let i=[];for(let a=0;a<e.length;a++)i.push(Gn(e[a],t,n,r));return i}}function Kn(e,t,n,i=!0){let a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||r;if(t){let r=t.parent,i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return}r=r.parent}if(o){rt(),Wn(o,null,10,[e,i,a]),it();return}}qn(e,n,a,i,s)}function qn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var Jn=[],Yn=-1,Xn=[],Zn=null,Qn=0,$n=Promise.resolve(),er=null;function tr(e){let t=er||$n;return e?t.then(this?e.bind(this):e):t}function nr(e){let t=Yn+1,n=Jn.length;for(;t<n;){let r=t+n>>>1,i=Jn[r],a=ur(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function rr(e){if(!(e.flags&1)){let t=ur(e),n=Jn[Jn.length-1];!n||!(e.flags&2)&&t>=ur(n)?Jn.push(e):Jn.splice(nr(t),0,e),e.flags|=1,ir()}}function ir(){er||=$n.then(dr)}function ar(e){if(!p(e))Zn&&e.id===-1?Zn.splice(Qn+1,0,e):e.flags&1||(Xn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Xn.push(e[t]);ir()}function or(e,t,n,r=Yn+1){for(;r<Jn.length;r++){let n=Jn[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;Jn.splice(r,1),r=e?r-1:Yn,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function sr(e,t,n=0){if(Xn.length){let e=Xn,r=0;if(t){e=[];for(let i=0;i<Xn.length;i++){let a=Xn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?Xn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>ur(e)-ur(t));if(Xn.length=r,Zn){for(let e=0;e<i.length;e++)Zn.push(i[e]);return}for(Zn=i,Qn=0;Qn<Zn.length;Qn++){let e=Zn[Qn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Zn=null,Qn=0}}var cr=!1;function lr(e,t){if(cr){e();return}let n=t===void 0?void 0:new Set(Xn);e(),cr=!0;try{or(void 0,t),sr(void 0,n,t)}finally{cr=!1}}var ur=e=>e.id==null?e.flags&2?-1:1/0:e.id;function dr(e){try{for(Yn=0;Yn<Jn.length;Yn++){let e=Jn[Yn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Wn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Yn<Jn.length;Yn++){let e=Jn[Yn];e&&(e.flags&=-2)}Yn=-1,Jn.length=0,sr(e),er=null,(Jn.length||Xn.length)&&dr(e)}}var fr,pr=[];function mr(e,t){fr=e,fr?(fr.enabled=!0,pr.forEach(({event:e,args:t})=>fr.emit(e,...t)),pr=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{mr(e,t)}),setTimeout(()=>{fr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,pr=[])},3e3)):pr=[]}var hr=null,gr=null;function _r(e){let t=hr;return hr=e,gr=e&&e.type.__scopeId||null,t}function vr(e){gr=e}function yr(){gr=null}var br=e=>P;function P(e,t=hr,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&_s(-1);let i=_r(t),a=ps.length,o;try{o=e(...n)}finally{for(let e=ps.length;e>a;e--)hs();_r(i),r._d&&_s(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function xr(e,t){if(hr===null)return e;let n=ec(hr),i=e.dirs||=[];for(let e=0;e<t.length;e++){let[a,o,s,c=r]=t[e];a&&(v(a)&&(a={mounted:a,updated:a}),a.deep&&Ln(o),i.push({dir:a,instance:n,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Sr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(rt(),Gn(c,n,8,[e.el,s,e,t]),it())}}function Cr(e,t){if(Is){let n=Is.provides,r=Is.parent&&Is.parent.provides;r===n&&(n=Is.provides=Object.create(r)),n[e]=t}}function F(e,t,n=!1){let r=Ls();if(r||ao){let i=ao?ao._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&v(t)?t.call(r&&r.proxy):t}}function wr(){return!!(Ls()||ao)}var Tr=Symbol.for(`v-scx`),Er=()=>F(Tr);function Dr(e,t){return Ar(e,null,t)}function Or(e,t){return Ar(e,null,{flush:`post`})}function kr(e,t){return Ar(e,null,{flush:`sync`})}function I(e,t,n){return Ar(e,t,n)}function Ar(e,t,n=r){let{immediate:i,deep:o,flush:s,once:c}=n,u=l({},n),d=t&&i||!t&&s!==`post`,f;if(Us){if(s===`sync`){let e=Er();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}}let p=Is;u.call=(e,t,n)=>Gn(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,zo(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():rr(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=In(e,t,u);return Us&&(f?f.push(h):d&&h()),h}function jr(e,t,n){let r=this.proxy,i=y(e)?e.includes(`.`)?Mr(r,e):()=>r[e]:e.bind(r,r),a;v(t)?a=t:(a=t.handler,n=t);let o=Bs(this),s=Ar(i,a.bind(r),n);return o(),s}function Mr(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Nr=new WeakMap,Pr=Symbol(`_vte`),Fr=e=>e.__isTeleport,Ir=e=>e&&(e.disabled||e.disabled===``),Lr=e=>e&&(e.defer||e.defer===``),Rr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,zr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Br=(e,t)=>{let n=e&&e.to;return y(n)?t?t(n):null:n},Vr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Ir(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Ir(e.props),r=e.target=Br(e.props,m),a=Kr(r,e,h,p);r&&(o!==`svg`&&Rr(r)?o=`svg`:o!==`mathml`&&zr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Gr(e,!1)))},S=e=>{let t=()=>{if(Nr.get(e)===t){if(Nr.delete(e),Ir(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Gr(e,!0)}x(e)}};Nr.set(e,t),zo(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Lr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Gr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Nr.get(e);if(u){u.flags|=8,Nr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Ir(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Rr(p)?o=`svg`:(o===`mathml`||zr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),Ko(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hr(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Br(t.props,m);e&&(t.target=e,Hr(t,e,null,l,0))}else g&&Hr(t,p,h,l,1);Gr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Ir(f),m=a||!p,h=Nr.get(e);if(h&&(h.flags|=8,Nr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:Hr,hydrate:Ur};function Hr(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!Nr.has(e)&&(!d||Ir(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function Ur(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Br(t.props,c),h=Ir(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||Kr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||Kr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Gr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Wr=Vr;function Gr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function Kr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Pr]=o,e&&(r(a,e,i),r(o,e,i)),o}var qr=Symbol(`_leaveCb`),Jr=Symbol(`_enterCb`);function Yr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ea(()=>{e.isMounted=!0}),ra(()=>{e.isUnmounting=!0}),e}var Xr=[Function,Array],Zr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xr,onEnter:Xr,onAfterEnter:Xr,onEnterCancelled:Xr,onBeforeLeave:Xr,onLeave:Xr,onAfterLeave:Xr,onLeaveCancelled:Xr,onBeforeAppear:Xr,onAppear:Xr,onAfterAppear:Xr,onAppearCancelled:Xr},Qr={name:`BaseTransition`,props:Zr,setup(e,{slots:t}){let n=Ls(),r=Yr();return()=>{let i=t.default&&oi(t.default(),!0),a=i&&i.length?$r(i):n.subTree?K():void 0;if(!a)return;let o=j(e),{mode:s}=o;if(r.isLeaving)return ri(a);let c=ii(a);if(!c)return ri(a);let l=ni(c,o,r,n,e=>l=e);c.type!==ds&&ai(c,l);let u=n.subTree&&ii(n.subTree);if(u&&u.type!==ds&&!bs(u,c)&&si(n.subTree)){let e=ni(u,o,r,n);if(ai(u,e),s===`out-in`&&c.type!==ds)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},ri(a);s===`in-out`&&c.type!==ds?e.delayLeave=(e,t,n)=>{let i=ti(r,u);i[String(u.key)]=u,e[qr]=()=>{t(),e[qr]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function $r(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==ds){t=n;break}}return t}var ei=Qr;function ti(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ni(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=ti(n,e),C=(e,t)=>{e&&Gn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},ee={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[qr]&&t[qr](!0);let i=S[x];if(i&&bs(e,i)){let e=i.el[qr];if(!e){let t=si(i);e=t&&t.el[qr]}e&&e()}C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||d;else return}let s=!1;t[Jr]=e=>{s||(s=!0,C(e?o:i,[t]),ee.delayedLeave&&ee.delayedLeave(),t[Jr]=void 0)};let c=t[Jr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Jr]&&t[Jr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[qr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[qr]=void 0,S[i]===e&&delete S[i])};let o=t[qr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=ni(e,t,n,r,i);return i&&i(a),a}};return ee}function ri(e){if(Hi(e))return e=Es(e),e.children=null,e}function ii(e){if(!Hi(e))return Fr(e.type)&&e.children?$r(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&v(n.default))return n.default()}}function ai(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;ai(Fr(n.type)&&ii(n)||n,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===z&&p(e.children)){let n=mo(e.children,!1);n&&ai(n,t)}}function oi(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===z?(o.patchFlag&128&&i++,r=r.concat(oi(o.children,t,s))):(t||o.type!==ds)&&r.push(s==null?o:Es(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function si(e){if(e.component)return si(e.component.subTree);if(e.type===z){let t=p(e.children)&&mo(e.children,!1);return t?si(t):void 0}if(e.type!==ds)return e}function L(e,t){return v(e)?l({name:e.name},t,{setup:e}):e}function ci(){let e=Ls();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function li(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function ui(e){let t=Ls(),n=pn(null);if(t){let i=t.refs===r?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function di(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var fi=new WeakMap;function pi(e,t,n,i,a=!1){if(p(e)){e.forEach((e,r)=>pi(e,t&&(p(t)?t[r]:t),n,i,a));return}if(zi(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&pi(e,t,n,i.component.subTree);return}let s=i.shapeFlag&4?ec(i.component):i.el,c=a?null:s,{i:l,r:d}=e,m=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState,_=j(g),b=g===r?o:e=>!di(h,e)&&f(_,e),x=(e,t)=>!(t&&di(h,t));if(m!=null&&m!==d){if(mi(t),y(m))h[m]=null,b(m)&&(g[m]=null);else if(fn(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(v(d))Wn(d,l,12,[c,h]);else{let t=y(d),r=fn(d);if(t||r){let i=()=>{if(e.f){let n=t?b(d)?g[d]:h[d]:x(d)||!e.k?d.value:h[e.k];if(a)p(n)&&u(n,s);else if(p(n))n.includes(s)||n.push(s);else if(t)h[d]=[s],b(d)&&(g[d]=h[d]);else{let t=[s];x(d,e.k)&&(d.value=t),e.k&&(h[e.k]=t)}}else t?(h[d]=c,b(d)&&(g[d]=c)):r&&(x(d,e.k)&&(d.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),fi.delete(e)};t.id=-1,fi.set(e,t),zo(t,n)}else mi(e),i()}}}function mi(e){let t=fi.get(e);t&&(t.flags|=8,fi.delete(e))}var hi=!1,gi=()=>{hi||=(console.error(`Hydration completed but contains mismatches.`),!0)},_i=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,vi=e=>e.namespaceURI.includes(`MathML`),yi=e=>{if(e.nodeType===1){if(_i(e))return`svg`;if(vi(e))return`mathml`}},bi=e=>e.nodeType===8;function xi(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{t.hasChildNodes()?(f(t.firstChild,e,null,null,null),sr(),t._vnode=e):(n(null,e,t),sr(),t._vnode=e)},f=(n,r,s,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=bi(n)&&n.data===`[`,x=()=>g(n,r,s,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:ee}=r,te=n.nodeType;r.el=n,ee===-2&&(d=!1,r.dynamicChildren=null);let T=null;switch(S){case us:te===3?(n.data!==r.children&&(gi(),n.data=r.children),T=a(n)):r.children===``?(l(r.el=i(``),o(n),n),T=n):T=x();break;case ds:y(n)?(T=a(n),v(r.el=n.content.firstChild,n,s)):T=te!==8||b?x():a(n);break;case fs:if(b&&(n=a(n),te=n.nodeType),te===1||te===3){T=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=T.nodeType===1?T.outerHTML:T.data),t===r.staticCount-1&&(r.anchor=T),T=a(T);return b?a(T):T}x();break;case z:T=b?h(n,r,s,c,u,d):x();break;default:if(w&1)T=(te!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,s,c,u,d);else if(w&6){r.slotScopeIds=u;let e=o(n);if(T=b?_(n):bi(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,c,yi(e),d),(zi(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=W(fs),t.anchor=T?T.previousSibling:e.lastChild):t=n.nodeType===3?G(``):W(n.nodeType===8?ds:`div`),t.el=n,r.component.subTree=t}}else w&64?T=te===8?r.type.hydrate(n,r,s,c,u,d,e,m):x():w&128&&(T=r.type.hydrate(n,r,s,c,yi(o(n)),u,d,e,f))}return C!=null&&pi(C,null,c,r),T},p=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&Sr(t,null,n,`created`);let l=!1;if(y(e)){l=Go(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,a,o);for(r&&!Ei(e,1)&&gi();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
1
+ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};function n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var r={},i=[],a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith(`onUpdate:`),l=Object.assign,u=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,m=e=>w(e)===`[object Map]`,h=e=>w(e)===`[object Set]`,g=e=>w(e)===`[object Date]`,_=e=>w(e)===`[object RegExp]`,v=e=>typeof e==`function`,y=e=>typeof e==`string`,b=e=>typeof e==`symbol`,x=e=>typeof e==`object`&&!!e,S=e=>(x(e)||v(e))&&v(e.then)&&v(e.catch),C=Object.prototype.toString,w=e=>C.call(e),T=e=>w(e).slice(8,-1),ee=e=>w(e)===`[object Object]`,E=e=>y(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,te=n(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ne=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},re=/-\w/g,D=ne(e=>e.replace(re,e=>e.slice(1).toUpperCase())),ie=/\B([A-Z])/g,ae=ne(e=>e.replace(ie,`-$1`).toLowerCase()),oe=ne(e=>e.charAt(0).toUpperCase()+e.slice(1)),se=ne(e=>e?`on${oe(e)}`:``),O=(e,t)=>!Object.is(e,t),ce=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},le=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ue=e=>{let t=parseFloat(e);return isNaN(t)?e:t},de=e=>{let t=y(e)?Number(e):NaN;return isNaN(t)?e:t},fe,pe=()=>fe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},me=n(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`);function he(e){if(p(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=y(r)?ye(r):he(r);if(i)for(let e in i)t[e]=i[e]}return t}if(y(e)||x(e))return e}var ge=/;(?![^(]*\))/g,_e=/:([^]+)/,ve=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ye(e){let t={};return e.replace(ve,e=>e.startsWith(`/*`)?``:e).split(ge).forEach(e=>{if(e){let n=e.split(_e);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function k(e){let t=``;if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){let r=k(e[n]);r&&(t+=r+` `)}else if(x(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function A(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=k(t)),n&&(e.style=he(n)),e}var be=n(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function xe(e){return!!e||e===``}function Se(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Ee(e[i],t[i],n);return r}function Ce(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Ee(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function we(e,t,n){let r=m(e),i=m(t);if(r||i||(r=h(e),i=h(t),r||i))return r&&i?Ce(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Ee(e[r],t[r],n))return!1}return String(e)===String(t)}function Te(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Ee(e,t,n){if(e===t)return!0;let r=g(e),i=g(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=b(e),i=b(t),r||i?e===t:(r=p(e),i=p(t),r||i?r&&i?Te(e,t,n,Se):!1:(r=x(e),i=x(t),r||i?!r||!i?!1:Te(e,t,n,we):String(e)===String(t))))}function De(e,t){return e.findIndex(e=>Ee(e,t))}var Oe=e=>!!(e&&e.__v_isRef===!0),j=e=>y(e)?e:e==null?``:p(e)||x(e)&&(e.toString===C||!v(e.toString))?Oe(e)?j(e.value):JSON.stringify(e,ke,2):String(e),ke=(e,t)=>Oe(t)?ke(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ae(t,r)+` =>`]=n,e),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ae(e))}:b(t)?Ae(t):x(t)&&!p(t)&&!ee(t)?String(t):t,Ae=(e,t=``)=>b(e)?`Symbol(${e.description??t})`:e;function je(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var Me,Ne=class{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&&Me&&(Me.active?(this.parent=Me,this.index=(Me.scopes||(Me.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=Me;try{return Me=this,e()}finally{Me=t}}}on(){++this._on===1&&(this.prevScope=Me,Me=this)}off(){if(this._on>0&&--this._on===0){if(Me===this)Me=this.prevScope;else{let e=Me;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 t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Pe(e){return new Ne(e)}function Fe(){return Me}function Ie(e,t=!1){Me&&Me.cleanups.push(e)}var Le,Re=new WeakSet,ze=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Me&&(Me.active?Me.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Re.has(this)&&(Re.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ue(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,it(this),Ke(this);let e=Le,t=et;Le=this,et=!0;try{return this.fn()}finally{qe(this),Le=e,et=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Xe(e);this.deps=this.depsTail=void 0,it(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Re.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Je(this)&&this.run()}get dirty(){return Je(this)}},Be=0,Ve,He;function Ue(e,t=!1){e.flags|=8,t?(e.next=He,He=e):(e.next=Ve,Ve=e)}function We(){Be++}function Ge(){if(--Be>0)return;if(He){let e=He;for(He=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ve;){let t=Ve;for(Ve=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ke(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function qe(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Xe(r),Ze(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Je(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ye(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ye(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===at)||(e.globalVersion=at,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Je(e))))return;e.flags|=2;let t=e.dep,n=Le,r=et;Le=e,et=!0;try{Ke(e);let n=e.fn(e._value);(t.version===0||O(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{Le=n,et=r,qe(e),e.flags&=-3}}function Xe(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Xe(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ze(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Qe(e,t){e.effect instanceof ze&&(e=e.effect.fn);let n=new ze(e);t&&l(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function $e(e){e.effect.stop()}var et=!0,tt=[];function nt(){tt.push(et),et=!1}function rt(){let e=tt.pop();et=e===void 0||e}function it(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=Le;Le=void 0;try{t()}finally{Le=e}}}var at=0,ot=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},st=class{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(!Le||!et||Le===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==Le)t=this.activeLink=new ot(Le,this),Le.deps?(t.prevDep=Le.depsTail,Le.depsTail.nextDep=t,Le.depsTail=t):Le.deps=Le.depsTail=t,ct(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=Le.depsTail,t.nextDep=void 0,Le.depsTail.nextDep=t,Le.depsTail=t,Le.deps===t&&(Le.deps=e)}return t}trigger(e){this.version++,at++,this.notify(e)}notify(e){We();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ge()}}};function ct(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ct(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var lt=new WeakMap,ut=Symbol(``),dt=Symbol(``),ft=Symbol(``);function pt(e,t,n){if(et&&Le){let t=lt.get(e);t||lt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new st),r.map=t,r.key=n),r.track()}}function mt(e,t,n,r,i,a){let o=lt.get(e);if(!o){at++;return}let s=e=>{e&&e.trigger()};if(We(),t===`clear`)o.forEach(s);else{let i=p(e),a=i&&E(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===ft||!b(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(ft)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(ut)),m(e)&&s(o.get(dt)));break;case`delete`:i||(s(o.get(ut)),m(e)&&s(o.get(dt)));break;case`set`:m(e)&&s(o.get(ut))}}Ge()}function ht(e,t){let n=lt.get(e);return n&&n.get(t)}function gt(e){let t=cn(e);return t===e||(pt(t,`iterate`,ft),on(e))?t:an(e)?rn(e)?t.map(e=>dn(un(e))):t.map(dn):t.map(un)}function _t(e){return pt(e=cn(e),`iterate`,ft),e}function vt(e,t){return an(e)?dn(rn(e)?un(t):t):un(t)}var yt={__proto__:null,[Symbol.iterator](){return bt(this,Symbol.iterator,e=>vt(this,e))},concat(...e){return gt(this).concat(...e.map(e=>p(e)?gt(e):e))},entries(){return bt(this,`entries`,e=>(e[1]=vt(this,e[1]),e))},every(e,t){return Ct(this,`every`,e,t,void 0,arguments)},filter(e,t){return Ct(this,`filter`,e,t,e=>e.map(e=>vt(this,e)),arguments)},find(e,t){return Ct(this,`find`,e,t,e=>vt(this,e),arguments)},findIndex(e,t){return Ct(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return Ct(this,`findLast`,e,t,e=>vt(this,e),arguments)},findLastIndex(e,t){return Ct(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return Ct(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Tt(this,`includes`,e)},indexOf(...e){return Tt(this,`indexOf`,e)},join(e){return gt(this).join(e)},lastIndexOf(...e){return Tt(this,`lastIndexOf`,e)},map(e,t){return Ct(this,`map`,e,t,void 0,arguments)},pop(){return Et(this,`pop`)},push(...e){return Et(this,`push`,e)},reduce(e,...t){return wt(this,`reduce`,e,t)},reduceRight(e,...t){return wt(this,`reduceRight`,e,t)},shift(){return Et(this,`shift`)},some(e,t){return Ct(this,`some`,e,t,void 0,arguments)},splice(...e){return Et(this,`splice`,e)},toReversed(){return gt(this).toReversed()},toSorted(e){return gt(this).toSorted(e)},toSpliced(...e){return gt(this).toSpliced(...e)},unshift(...e){return Et(this,`unshift`,e)},values(){return bt(this,`values`,e=>vt(this,e))}};function bt(e,t,n){let r=_t(e),i=r[t],a=i.call(r);if(r!==e&&!on(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>xt(a.next(),n),i!==St[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>xt(a._next(),n)}return a}function xt(e,t){return e.done||(e.value=t(e.value)),e}var St=Array.prototype;function Ct(e,t,n,r,i,a){let o=_t(e),s=o!==e&&!on(e),c=o[t];if(c!==St[t]){let t=c.apply(e,a);return s?un(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,vt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function wt(e,t,n,r){let i=_t(e),a=i!==e&&!on(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=vt(e,t)),n.call(this,t,vt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?vt(e,c):c}function Tt(e,t,n){let r=cn(e);pt(r,`iterate`,ft);let i=r[t](...n);return(i===-1||i===!1)&&sn(n[0])?(n[0]=cn(n[0]),r[t](...n)):i}function Et(e,t,n=[]){nt(),We();let r=cn(e)[t].apply(e,n);return Ge(),rt(),r}var Dt=n(`__proto__,__v_isRef,__isVue`),Ot=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(b));function kt(e){b(e)||(e=String(e));let t=cn(this);return pt(t,`has`,e),t.hasOwnProperty(e)}var At=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Xt:Yt:i?Jt:qt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=p(e);if(!r){let e;if(a&&(e=yt[t]))return e;if(t===`hasOwnProperty`)return kt}let o=Reflect.get(e,t,fn(e)?e:n);if((b(t)?Ot.has(t):Dt(t))||(r||pt(e,`get`,t),i))return o;if(fn(o)){let e=a&&E(t)?o:o.value;return r&&x(e)?en(e):e}return x(o)?r?en(o):Qt(o):o}},jt=class extends At{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=p(e)&&E(t);if(!this._isShallow){let e=an(i);if(!on(n)&&!an(n)&&(i=cn(i),n=cn(n)),!a&&fn(i)&&!fn(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,fn(e)?e:r);return e===cn(r)&&s&&(o?O(n,i)&&mt(e,`set`,t,n,i):mt(e,`add`,t,n)),s}deleteProperty(e,t){let n=f(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&mt(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!b(t)||!Ot.has(t))&&pt(e,`has`,t),n}ownKeys(e){return pt(e,`iterate`,p(e)?`length`:ut),Reflect.ownKeys(e)}},Mt=class extends At{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Nt=new jt,Pt=new Mt,Ft=new jt(!0),It=new Mt(!0),Lt=e=>e,Rt=e=>Reflect.getPrototypeOf(e);function zt(e,t,n){return function(...r){let i=this.__v_raw,a=cn(i),o=m(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,u=i[e](...r),d=n?Lt:t?dn:un;return!t&&pt(a,`iterate`,c?dt:ut),l(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Bt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Vt(e,t){let n={get(n){let r=this.__v_raw,i=cn(r),a=cn(n);e||(O(n,a)&&pt(i,`get`,n),pt(i,`get`,a));let{has:o}=Rt(i),s=t?Lt:e?dn:un;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&pt(cn(t),`iterate`,ut),t.size},has(t){let n=this.__v_raw,r=cn(n),i=cn(t);return e||(O(t,i)&&pt(r,`has`,t),pt(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=cn(a),s=t?Lt:e?dn:un;return!e&&pt(o,`iterate`,ut),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return l(n,e?{add:Bt(`add`),set:Bt(`set`),delete:Bt(`delete`),clear:Bt(`clear`)}:{add(e){let n=cn(this),r=Rt(n),i=cn(e),a=!t&&!on(e)&&!an(e)?i:e;return r.has.call(n,a)||O(e,a)&&r.has.call(n,e)||O(i,a)&&r.has.call(n,i)||(n.add(a),mt(n,`add`,a,a)),this},set(e,n){!t&&!on(n)&&!an(n)&&(n=cn(n));let r=cn(this),{has:i,get:a}=Rt(r),o=i.call(r,e);o||=(e=cn(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?O(n,s)&&mt(r,`set`,e,n,s):mt(r,`add`,e,n),this},delete(e){let t=cn(this),{has:n,get:r}=Rt(t),i=n.call(t,e);i||=(e=cn(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&mt(t,`delete`,e,void 0,a),o},clear(){let e=cn(this),t=e.size!==0,n=e.clear();return t&&mt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=zt(r,e,t)}),n}function Ht(e,t){let n=Vt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(f(n,i)&&i in r?n:r,i,a)}var Ut={get:Ht(!1,!1)},Wt={get:Ht(!1,!0)},Gt={get:Ht(!0,!1)},Kt={get:Ht(!0,!0)},qt=new WeakMap,Jt=new WeakMap,Yt=new WeakMap,Xt=new WeakMap;function Zt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Qt(e){return an(e)?e:nn(e,!1,Nt,Ut,qt)}function $t(e){return nn(e,!1,Ft,Wt,Jt)}function en(e){return nn(e,!0,Pt,Gt,Yt)}function tn(e){return nn(e,!0,It,Kt,Xt)}function nn(e,t,n,r,i){if(!x(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Zt(T(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function rn(e){return an(e)?rn(e.__v_raw):!!(e&&e.__v_isReactive)}function an(e){return!!(e&&e.__v_isReadonly)}function on(e){return!!(e&&e.__v_isShallow)}function sn(e){return e?!!e.__v_raw:!1}function cn(e){let t=e&&e.__v_raw;return t?cn(t):e}function ln(e){return!f(e,`__v_skip`)&&Object.isExtensible(e)&&le(e,`__v_skip`,!0),e}var un=e=>x(e)?Qt(e):e,dn=e=>x(e)?en(e):e;function fn(e){return e?e.__v_isRef===!0:!1}function M(e){return mn(e,!1)}function pn(e){return mn(e,!0)}function mn(e,t){return fn(e)?e:new hn(e,t)}var hn=class{constructor(e,t){this.dep=new st,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:cn(e),this._value=t?e:un(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||on(e)||an(e);e=n?e:cn(e),O(e,t)&&(this._rawValue=e,this._value=n?e:un(e),this.dep.trigger())}};function gn(e){e.dep&&e.dep.trigger()}function N(e){return fn(e)?e.value:e}function _n(e){return v(e)?e():N(e)}var vn={get:(e,t,n)=>t===`__v_raw`?e:N(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return fn(i)&&!fn(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function yn(e){return rn(e)?e:new Proxy(e,vn)}var bn=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new st,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function xn(e){return new bn(e)}function Sn(e){let t=p(e)?Array(e.length):{};for(let n in e)t[n]=En(e,n);return t}var Cn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=b(t)?t:String(t),this._raw=cn(e);let r=!0,i=e;if(!p(e)||b(this._key)||!E(this._key))do r=!sn(i)||on(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=N(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&fn(this._raw[this._key])){let t=this._object[this._key];if(fn(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ht(this._raw,this._key)}},wn=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function Tn(e,t,n){return fn(e)?e:v(e)?new wn(e):x(e)&&arguments.length>1?En(e,t,n):M(e)}function En(e,t,n){return new Cn(e,t,n)}var Dn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new st(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=at-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Le!==this)return Ue(this,!0),!0}get value(){let e=this.dep.track();return Ye(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function On(e,t,n=!1){let r,i;return v(e)?r=e:(r=e.get,i=e.set),new Dn(r,i,n)}var kn={GET:`get`,HAS:`has`,ITERATE:`iterate`},An={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},jn={},Mn=new WeakMap,Nn=void 0;function Pn(){return Nn}function Fn(e,t=!1,n=Nn){if(n){let t=Mn.get(n);t||Mn.set(n,t=[]),t.push(e)}}function In(e,t,n=r){let{immediate:i,deep:o,once:s,scheduler:c,augmentJob:l,call:d}=n,f=e=>o?e:on(e)||o===!1||o===0?Ln(e,1):Ln(e),m,h,g,_,y=!1,b=!1;if(fn(e)?(h=()=>e.value,y=on(e)):rn(e)?(h=()=>f(e),y=!0):p(e)?(b=!0,y=e.some(e=>rn(e)||on(e)),h=()=>e.map(e=>{if(fn(e))return e.value;if(rn(e))return f(e);if(v(e))return d?d(e,2):e()})):h=v(e)?t?d?()=>d(e,2):e:()=>{if(g){nt();try{g()}finally{rt()}}let t=Nn;Nn=m;try{return d?d(e,3,[_]):e(_)}finally{Nn=t}}:a,t&&o){let e=h,t=o===!0?1/0:o;h=()=>Ln(e(),t)}let x=Fe(),S=()=>{m.stop(),x&&x.active&&u(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(jn):jn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>O(e,C[t])):O(n,C))){let e=Nn;nt();try{g&&g(),Nn=m;let e=[n,C===jn?void 0:b&&C[0]===jn?[]:C,_];C=n,d?d(t,3,e):t(...e)}finally{Nn=e,rt()}}}else m.run()}};return l&&l(w),m=new ze(h),m.scheduler=c?()=>c(w,!1):w,_=e=>Fn(e,!1,m),g=m.onStop=()=>{let e=Mn.get(m);if(e){if(d)d(e,4);else for(let t of e)t();Mn.delete(m)}},t?i?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function Ln(e,t=1/0,n){if(t<=0||!x(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fn(e))Ln(e.value,t,n);else if(p(e))for(let r=0;r<e.length;r++)Ln(e[r],t,n);else if(h(e)||m(e))e.forEach(e=>{Ln(e,t,n)});else if(ee(e)){for(let r in e)Ln(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ln(e[r],t,n)}return e}var Rn=[];function zn(e){Rn.push(e)}function Bn(){Rn.pop()}function Vn(e,t){}var Hn={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},Un={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`};function Wn(e,t,n,r){try{return r?e(...r):e()}catch(e){Kn(e,t,n)}}function Gn(e,t,n,r){if(v(e)){let i=Wn(e,t,n,r);return i&&S(i)&&i.catch(e=>{Kn(e,t,n)}),i}if(p(e)){let i=[];for(let a=0;a<e.length;a++)i.push(Gn(e[a],t,n,r));return i}}function Kn(e,t,n,i=!0){let a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||r;if(t){let r=t.parent,i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return}r=r.parent}if(o){nt(),Wn(o,null,10,[e,i,a]),rt();return}}qn(e,n,a,i,s)}function qn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var Jn=[],Yn=-1,Xn=[],Zn=null,Qn=0,$n=Promise.resolve(),er=null;function tr(e){let t=er||$n;return e?t.then(this?e.bind(this):e):t}function nr(e){let t=Yn+1,n=Jn.length;for(;t<n;){let r=t+n>>>1,i=Jn[r],a=ur(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function rr(e){if(!(e.flags&1)){let t=ur(e),n=Jn[Jn.length-1];!n||!(e.flags&2)&&t>=ur(n)?Jn.push(e):Jn.splice(nr(t),0,e),e.flags|=1,ir()}}function ir(){er||=$n.then(dr)}function ar(e){if(!p(e))Zn&&e.id===-1?Zn.splice(Qn+1,0,e):e.flags&1||(Xn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Xn.push(e[t]);ir()}function or(e,t,n,r=Yn+1){for(;r<Jn.length;r++){let n=Jn[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;Jn.splice(r,1),r=e?r-1:Yn,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function sr(e,t,n=0){if(Xn.length){let e=Xn,r=0;if(t){e=[];for(let i=0;i<Xn.length;i++){let a=Xn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?Xn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>ur(e)-ur(t));if(Xn.length=r,Zn){for(let e=0;e<i.length;e++)Zn.push(i[e]);return}for(Zn=i,Qn=0;Qn<Zn.length;Qn++){let e=Zn[Qn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Zn=null,Qn=0}}var cr=!1;function lr(e,t){if(cr){e();return}let n=t===void 0?void 0:new Set(Xn);e(),cr=!0;try{or(void 0,t),sr(void 0,n,t)}finally{cr=!1}}var ur=e=>e.id==null?e.flags&2?-1:1/0:e.id;function dr(e){try{for(Yn=0;Yn<Jn.length;Yn++){let e=Jn[Yn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Wn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Yn<Jn.length;Yn++){let e=Jn[Yn];e&&(e.flags&=-2)}Yn=-1,Jn.length=0,sr(e),er=null,(Jn.length||Xn.length)&&dr(e)}}var fr,pr=[];function mr(e,t){fr=e,fr?(fr.enabled=!0,pr.forEach(({event:e,args:t})=>fr.emit(e,...t)),pr=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{mr(e,t)}),setTimeout(()=>{fr||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,pr=[])},3e3)):pr=[]}var hr=null,gr=null;function _r(e){let t=hr;return hr=e,gr=e&&e.type.__scopeId||null,t}function vr(e){gr=e}function yr(){gr=null}var br=e=>P;function P(e,t=hr,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&vs(-1);let i=_r(t),a=ms.length,o;try{o=e(...n)}finally{for(let e=ms.length;e>a;e--)gs();_r(i),r._d&&vs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function xr(e,t){if(hr===null)return e;let n=tc(hr),i=e.dirs||=[];for(let e=0;e<t.length;e++){let[a,o,s,c=r]=t[e];a&&(v(a)&&(a={mounted:a,updated:a}),a.deep&&Ln(o),i.push({dir:a,instance:n,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Sr(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(nt(),Gn(c,n,8,[e.el,s,e,t]),rt())}}function Cr(e,t){if(Ls){let n=Ls.provides,r=Ls.parent&&Ls.parent.provides;r===n&&(n=Ls.provides=Object.create(r)),n[e]=t}}function wr(e,t,n=!1){let r=Rs();if(r||oo){let i=oo?oo._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&v(t)?t.call(r&&r.proxy):t}}function Tr(){return!!(Rs()||oo)}var Er=Symbol.for(`v-scx`),Dr=()=>wr(Er);function Or(e,t){return jr(e,null,t)}function kr(e,t){return jr(e,null,{flush:`post`})}function Ar(e,t){return jr(e,null,{flush:`sync`})}function F(e,t,n){return jr(e,t,n)}function jr(e,t,n=r){let{immediate:i,deep:o,flush:s,once:c}=n,u=l({},n),d=t&&i||!t&&s!==`post`,f;if(Ws){if(s===`sync`){let e=Dr();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}}let p=Ls;u.call=(e,t,n)=>Gn(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,Bo(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():rr(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=In(e,t,u);return Ws&&(f?f.push(h):d&&h()),h}function Mr(e,t,n){let r=this.proxy,i=y(e)?e.includes(`.`)?Nr(r,e):()=>r[e]:e.bind(r,r),a;v(t)?a=t:(a=t.handler,n=t);let o=Vs(this),s=jr(i,a.bind(r),n);return o(),s}function Nr(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Pr=new WeakMap,Fr=Symbol(`_vte`),Ir=e=>e.__isTeleport,Lr=e=>e&&(e.disabled||e.disabled===``),Rr=e=>e&&(e.defer||e.defer===``),zr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,Br=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Vr=(e,t)=>{let n=e&&e.to;return y(n)?t?t(n):null:n},Hr={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=Lr(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=Lr(e.props),r=e.target=Vr(e.props,m),a=qr(r,e,h,p);r&&(o!==`svg`&&zr(r)?o=`svg`:o!==`mathml`&&Br(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),Kr(e,!1)))},S=e=>{let t=()=>{if(Pr.get(e)===t){if(Pr.delete(e),Lr(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),Kr(e,!0)}x(e)}};Pr.set(e,t),Bo(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Rr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),Kr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Pr.get(e);if(u){u.flags|=8,Pr.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=Lr(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||zr(p)?o=`svg`:(o===`mathml`||Br(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),qo(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ur(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Vr(t.props,m);e&&(t.target=e,Ur(t,e,null,l,0))}else g&&Ur(t,p,h,l,1);Kr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=Lr(f),m=a||!p,h=Pr.get(e);if(h&&(h.flags|=8,Pr.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:Ur,hydrate:Wr};function Ur(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!Pr.has(e)&&(!d||Lr(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function Wr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Vr(t.props,c),h=Lr(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||qr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||qr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),Kr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var Gr=Hr;function Kr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function qr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Fr]=o,e&&(r(a,e,i),r(o,e,i)),o}var Jr=Symbol(`_leaveCb`),Yr=Symbol(`_enterCb`);function Xr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ta(()=>{e.isMounted=!0}),ia(()=>{e.isUnmounting=!0}),e}var Zr=[Function,Array],Qr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Zr,onEnter:Zr,onAfterEnter:Zr,onEnterCancelled:Zr,onBeforeLeave:Zr,onLeave:Zr,onAfterLeave:Zr,onLeaveCancelled:Zr,onBeforeAppear:Zr,onAppear:Zr,onAfterAppear:Zr,onAppearCancelled:Zr},$r={name:`BaseTransition`,props:Qr,setup(e,{slots:t}){let n=Rs(),r=Xr();return()=>{let i=t.default&&si(t.default(),!0),a=i&&i.length?ei(i):n.subTree?G():void 0;if(!a)return;let o=cn(e),{mode:s}=o;if(r.isLeaving)return ii(a);let c=ai(a);if(!c)return ii(a);let l=ri(c,o,r,n,e=>l=e);c.type!==fs&&oi(c,l);let u=n.subTree&&ai(n.subTree);if(u&&u.type!==fs&&!xs(u,c)&&ci(n.subTree)){let e=ri(u,o,r,n);if(oi(u,e),s===`out-in`&&c.type!==fs)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},ii(a);s===`in-out`&&c.type!==fs?e.delayLeave=(e,t,n)=>{let i=ni(r,u);i[String(u.key)]=u,e[Jr]=()=>{t(),e[Jr]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function ei(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==fs){t=n;break}}return t}var ti=$r;function ni(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ri(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=ni(n,e),C=(e,t)=>{e&&Gn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[Jr]&&t[Jr](!0);let i=S[x];if(i&&xs(e,i)){let e=i.el[Jr];if(!e){let t=ci(i);e=t&&t.el[Jr]}e&&e()}C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||d;else return}let s=!1;t[Yr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[Yr]=void 0)};let c=t[Yr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Yr]&&t[Yr](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[Jr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[Jr]=void 0,S[i]===e&&delete S[i])};let o=t[Jr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=ri(e,t,n,r,i);return i&&i(a),a}};return T}function ii(e){if(Ui(e))return e=Ds(e),e.children=null,e}function ai(e){if(!Ui(e))return Ir(e.type)&&e.children?ei(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&v(n.default))return n.default()}}function oi(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;oi(Ir(n.type)&&ai(n)||n,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===R&&p(e.children)){let n=ho(e.children,!1);n&&oi(n,t)}}function si(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===R?(o.patchFlag&128&&i++,r=r.concat(si(o.children,t,s))):(t||o.type!==fs)&&r.push(s==null?o:Ds(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ci(e){if(e.component)return ci(e.component.subTree);if(e.type===R){let t=p(e.children)&&ho(e.children,!1);return t?ci(t):void 0}if(e.type!==fs)return e}function I(e,t){return v(e)?l({name:e.name},t,{setup:e}):e}function li(){let e=Rs();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+e.ids[1]++:``}function ui(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function di(e){let t=Rs(),n=pn(null);if(t){let i=t.refs===r?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function fi(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var pi=new WeakMap;function mi(e,t,n,i,a=!1){if(p(e)){e.forEach((e,r)=>mi(e,t&&(p(t)?t[r]:t),n,i,a));return}if(Bi(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&mi(e,t,n,i.component.subTree);return}let s=i.shapeFlag&4?tc(i.component):i.el,c=a?null:s,{i:l,r:d}=e,m=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState,_=cn(g),b=g===r?o:e=>!fi(h,e)&&f(_,e),x=(e,t)=>!(t&&fi(h,t));if(m!=null&&m!==d){if(hi(t),y(m))h[m]=null,b(m)&&(g[m]=null);else if(fn(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(v(d))Wn(d,l,12,[c,h]);else{let t=y(d),r=fn(d);if(t||r){let i=()=>{if(e.f){let n=t?b(d)?g[d]:h[d]:x(d)||!e.k?d.value:h[e.k];if(a)p(n)&&u(n,s);else if(p(n))n.includes(s)||n.push(s);else if(t)h[d]=[s],b(d)&&(g[d]=h[d]);else{let t=[s];x(d,e.k)&&(d.value=t),e.k&&(h[e.k]=t)}}else t?(h[d]=c,b(d)&&(g[d]=c)):r&&(x(d,e.k)&&(d.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),pi.delete(e)};t.id=-1,pi.set(e,t),Bo(t,n)}else hi(e),i()}}}function hi(e){let t=pi.get(e);t&&(t.flags|=8,pi.delete(e))}var gi=!1,_i=()=>{gi||=(console.error(`Hydration completed but contains mismatches.`),!0)},vi=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,yi=e=>e.namespaceURI.includes(`MathML`),bi=e=>{if(e.nodeType===1){if(vi(e))return`svg`;if(yi(e))return`mathml`}},xi=e=>e.nodeType===8;function Si(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{t.hasChildNodes()?(f(t.firstChild,e,null,null,null),sr(),t._vnode=e):(n(null,e,t),sr(),t._vnode=e)},f=(n,r,s,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=xi(n)&&n.data===`[`,x=()=>g(n,r,s,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,ee=n.nodeType;r.el=n,T===-2&&(d=!1,r.dynamicChildren=null);let E=null;switch(S){case ds:ee===3?(n.data!==r.children&&(_i(),n.data=r.children),E=a(n)):r.children===``?(l(r.el=i(``),o(n),n),E=n):E=x();break;case fs:y(n)?(E=a(n),v(r.el=n.content.firstChild,n,s)):E=ee!==8||b?x():a(n);break;case ps:if(b&&(n=a(n),ee=n.nodeType),ee===1||ee===3){E=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.nodeType===1?E.outerHTML:E.data),t===r.staticCount-1&&(r.anchor=E),E=a(E);return b?a(E):E}x();break;case R:E=b?h(n,r,s,c,u,d):x();break;default:if(w&1)E=(ee!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,s,c,u,d);else if(w&6){r.slotScopeIds=u;let e=o(n);if(E=b?_(n):xi(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):a(n),t(r,e,null,s,c,bi(e),d),(Bi(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=U(ps),t.anchor=E?E.previousSibling:e.lastChild):t=n.nodeType===3?W(``):U(n.nodeType===8?fs:`div`),t.el=n,r.component.subTree=t}}else w&64?E=ee===8?r.type.hydrate(n,r,s,c,u,d,e,m):x():w&128&&(E=r.type.hydrate(n,r,s,c,bi(o(n)),u,d,e,f))}return C!=null&&mi(C,null,c,r),E},p=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&Sr(t,null,n,`created`);let l=!1;if(y(e)){l=Ko(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,a,o);for(r&&!Di(e,1)&&_i();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
2
2
  `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
3
- `)&&(Ei(e,0)||gi(),e.textContent=t.children)}if(d){if(_||b||!o||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in d)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||s(a)&&!ne(a)||a[0]===`.`||t&&!ne(a)||u&&u.includes(a)){if(Ci(e,a,d[a]))continue;r(e,a,null,d[a],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&an(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&js(x,n,t),h&&Sr(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&ss(()=>{x&&js(x,n,t),l&&g.enter(e),h&&Sr(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=Os(d[t]),g=h.type===us;e?(g&&!u&&t+1<p&&Os(d[t+1]).type===us&&(l(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=f(e,h,o,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Ei(r,1)||gi()),n(null,h,r,null,o,s,yi(r),c))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=o(e),f=m(a(e),t,d,n,r,i,s);return f&&bi(f)&&f.data===`]`?a(t.anchor=f):(gi(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,s,l)=>{if(Oi(e,t)||gi(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)c(n);else break}}let u=a(e),d=o(e);return c(e),n(null,t,d,u,r,i,yi(d),s),r&&(r.vnode.el=t.el,bo(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&bi(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var Si=new Set([`src`,`srcset`,`href`,`poster`]);function Ci(e,t,n){return Si.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var wi=`data-allow-mismatch`,Ti={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Ei(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(wi);)e=e.parentElement;return Di(e&&e.getAttribute(wi),t)}function Di(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Ti[t])}}function Oi(e,t){return Ei(e.parentElement,1)||ki(e)||Ai(t)}function ki(e){return e.nodeType===1&&Di(e.getAttribute(wi),1)}function Ai({props:e}){let t=e&&e[wi];return typeof t==`string`&&Di(t,1)}var ji=me().requestIdleCallback||(e=>setTimeout(e,1)),Mi=me().cancelIdleCallback||(e=>clearTimeout(e)),Ni=(e=1e4)=>t=>{let n=ji(t,{timeout:e});return()=>Mi(n)};function Pi(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}var Fi=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e),i=e=>{if(Pi(e))return t(),r.disconnect(),!1;if(getComputedStyle(e).display===`contents`){for(let t=0;t<e.children.length;t++)if(i(e.children[t])===!1)return!1}r.observe(e)};return n(e=>{if(e instanceof Element)return i(e)}),()=>r.disconnect()},Ii=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Li=(e=[])=>(t,n)=>{y(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function Ri(e,t){if(bi(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(bi(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var zi=e=>!!e.type.__asyncLoader;function Bi(e){v(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return L({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>Ri(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=Is;if(li(e),u)return()=>Vi(u,e);let t=t=>{l=null,Kn(t,e,13,!r)};if(s&&e.suspense||Us)return p().then(t=>()=>Vi(t,e)).catch(e=>(t(e),()=>r?W(r,{error:e}):null));let a=M(!1),c=M(),d=M(!!i),f,m;return ia(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Hi(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?l=null:(t(n),c.value=n)}),()=>{if(a.value&&u)return Vi(u,e);if(c.value&&r)return W(r,{error:c.value});if(n&&!d.value)return Vi(n,e)}}})}function Vi(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=W(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var Hi=e=>e.type.__isKeepAlive,Ui={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Ls(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),zo(()=>{a.isDeactivated=!1,a.a&&le(a.a);let t=e.props&&e.props.onVnodeMounted;t&&js(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Yo(t.m),Yo(t.a),l(e,f,null,1,s),zo(()=>{t.da&&le(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&js(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Yi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=tc(zi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!bs(t,o))?p(t):o&&(Yi(o),t&&Yi(t)),i.delete(e),a.delete(e)}I(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Wi(e,t)),t&&m(e=>!Wi(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(Zo(n.subTree.type)?zo(()=>{let e=Xi(n.subTree);e.component&&i.set(g,e)},n.subTree.suspense):i.set(g,Xi(n.subTree)))};return ea(_),na(_),ra(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Xi(t);if(e.type===i.type&&e.key===i.key){Yi(i);let e=i.component.da;e&&zo(e,r)}else p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!ys(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Xi(r);if(s.type===ds)return o=null,s;let c=s.type,l=tc(zi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Wi(u,l))||d&&l&&Wi(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Es(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&ai(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Zo(r.type)?r:s}}};function Wi(e,t){return p(e)?e.some(e=>Wi(e,t)):y(e)?e.split(`,`).includes(t):_(e)?(e.lastIndex=0,e.test(t)):!1}function Gi(e,t){qi(e,`a`,t)}function Ki(e,t){qi(e,`da`,t)}function qi(e,t,n=Is){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Zi(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Hi(e.parent.vnode)&&Ji(r,t,n,e),e=e.parent}}function Ji(e,t,n,r){let i=Zi(t,e,r,!0);ia(()=>{u(r[t],i)},n)}function Yi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Xi(e){return e.shapeFlag&128?e.ssContent:e}function Zi(e,t,n=Is,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{rt();let i=Bs(n),a=Gn(t,n,e,r);return i(),it(),a};return r?i.unshift(a):i.push(a),a}}var Qi=e=>(t,n=Is)=>{(!Us||e===`sp`)&&Zi(e,(...e)=>t(...e),n)},$i=Qi(`bm`),ea=Qi(`m`),ta=Qi(`bu`),na=Qi(`u`),ra=Qi(`bum`),ia=Qi(`um`),aa=Qi(`sp`),oa=Qi(`rtg`),sa=Qi(`rtc`);function ca(e,t=Is){Zi(`ec`,e,t)}var la=`components`,ua=`directives`;function da(e,t){return ha(la,e,!0,t)||e}var fa=Symbol.for(`v-ndc`);function pa(e){return y(e)?ha(la,e,!1)||e:e||fa}function ma(e){return ha(ua,e)}function ha(e,t,n=!0,r=!1){let i=hr||Is;if(i){let n=i.type;if(e===la){let e=tc(n,!1);if(e&&(e===t||e===E(t)||e===se(E(t))))return n}let a=ga(i[e]||n[e],t)||ga(i.appContext[e],t);return!a&&r?n:a}}function ga(e,t){return e&&(e[t]||e[E(t)]||e[se(E(t))])}function _a(e,t,n,r){let i,a=n&&n[r],o=p(e);if(o||y(e)){let n=o&&an(e),r=!1,s=!1;n&&(r=!sn(e),s=on(e),e=vt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?dn(un(e[n])):un(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(x(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function va(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(p(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function R(e,t,n,r,i,a){if(n??={},hr.ce||hr.parent&&zi(hr.parent)&&hr.parent.ce){let e=a!=null&&n.key==null?l({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),B(),H(z,null,[W(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=ps.length;B();let c;try{let i=o&&ya(o(n)),s=n.key||a||i&&i.key;c=H(z,{key:(s&&!b(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=ps.length;e>s;e--)hs();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function ya(e){return e.some(e=>!ys(e)||!(e.type===ds||e.type===z&&!ya(e.children)))?e:null}function ba(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ce(r)]=e[r];return n}var xa=e=>e?Hs(e)?ec(e):xa(e.parent):null,Sa=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xa(e.parent),$root:e=>xa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ka(e),$forceUpdate:e=>e.f||=()=>{rr(e.update)},$nextTick:e=>e.n||=tr.bind(e.proxy),$watch:e=>jr.bind(e)}),Ca=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),wa={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else if(Ca(i,t))return s[t]=1,i[t];else if(a!==r&&f(a,t))return s[t]=2,a[t];else if(f(o,t))return s[t]=3,o[t];else if(n!==r&&f(n,t))return s[t]=4,n[t];else Va&&(s[t]=0)}let u=Sa[t],d,p;if(u)return t===`$attrs`&&mt(e.attrs,`get`,``),u(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==r&&f(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,f(p,t))return p[t]},set({_:e},t,n){let{data:i,setupState:a,ctx:o}=e;return Ca(a,t)?(a[t]=n,!0):i!==r&&f(i,t)?(i[t]=n,!0):f(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(n[c]||e!==r&&c[0]!==`$`&&f(e,c)||Ca(t,c)||f(o,c)||f(i,c)||f(Sa,c)||f(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?f(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Ta=l({},wa,{get(e,t){if(t!==Symbol.unscopables)return wa.get(e,t,e)},has(e,t){return t[0]!==`_`&&!he(t)}});function Ea(){return null}function Da(){return null}function Oa(e){}function ka(e){}function Aa(){return null}function ja(){}function Ma(e,t){return null}function Na(){return Fa(`useSlots`).slots}function Pa(){return Fa(`useAttrs`).attrs}function Fa(e){let t=Ls();return t.setupContext||=$s(t)}function Ia(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function La(e,t){let n=Ia(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?p(r)||v(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function Ra(e,t){return!e||!t?e||t:p(e)&&p(t)?e.concat(t):l({},Ia(e),Ia(t))}function za(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ba(e){let t=Ls(),n=Us,r=e();Vs(),n&&zs(!1);let i=()=>{Bs(t),n&&zs(!0)},a=()=>{Ls()!==t&&t.scope.off(),Vs(),n&&zs(!1)};return S(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var Va=!0;function Ha(e){let t=Ka(e),n=e.proxy,r=e.ctx;Va=!1,t.beforeCreate&&Wa(t.beforeCreate,e,`bc`);let{data:i,computed:o,methods:s,watch:c,provide:l,inject:u,created:d,beforeMount:f,mounted:m,beforeUpdate:h,updated:g,activated:_,deactivated:y,beforeDestroy:b,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:te,renderTriggered:T,errorCaptured:ne,serverPrefetch:re,expose:ie,inheritAttrs:E,components:ae,directives:oe,filters:se}=t;if(u&&Ua(u,r,null),s)for(let e in s){let t=s[e];v(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);x(t)&&(e.data=$t(t))}if(Va=!0,o)for(let e in o){let t=o[e],i=J({get:v(t)?t.bind(n,n):v(t.get)?t.get.bind(n,n):a,set:!v(t)&&v(t.set)?t.set.bind(n):a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(c)for(let e in c)Ga(c[e],r,n,e);if(l){let e=v(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Cr(t,e[t])})}d&&Wa(d,e,`c`);function ce(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(ce($i,f),ce(ea,m),ce(ta,h),ce(na,g),ce(Gi,_),ce(Ki,y),ce(ca,ne),ce(sa,te),ce(oa,T),ce(ra,S),ce(ia,w),ce(aa,re),p(ie)){if(ie.length){let t=e.exposed||={};ie.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ee&&e.render===a&&(e.render=ee),E!=null&&(e.inheritAttrs=E),ae&&(e.components=ae),oe&&(e.directives=oe),re&&li(e)}function Ua(e,t,n=a){p(e)&&(e=Za(e));for(let n in e){let r=e[n],i;i=x(r)?`default`in r?F(r.from||n,r.default,!0):F(r.from||n):F(r),fn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Wa(e,t,n){Gn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ga(e,t,n,r){let i=r.includes(`.`)?Mr(n,r):()=>n[r];if(y(e)){let n=t[e];v(n)&&I(i,n)}else if(v(e))I(i,e.bind(n));else if(x(e)){if(p(e))e.forEach(e=>Ga(e,t,n,r));else{let r=v(e.handler)?e.handler.bind(n):t[e.handler];v(r)&&I(i,r,e)}}}function Ka(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>qa(c,e,o,!0)),qa(c,t,o)),x(t)&&a.set(t,c),c}function qa(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&qa(e,a,n,!0),i&&i.forEach(t=>qa(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ja[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ja={data:Ya,props:eo,emits:eo,methods:$a,computed:$a,beforeCreate:Qa,created:Qa,beforeMount:Qa,mounted:Qa,beforeUpdate:Qa,updated:Qa,beforeDestroy:Qa,beforeUnmount:Qa,destroyed:Qa,unmounted:Qa,activated:Qa,deactivated:Qa,errorCaptured:Qa,serverPrefetch:Qa,components:$a,directives:$a,watch:to,provide:Ya,inject:Xa};function Ya(e,t){return t?e?function(){return l(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Xa(e,t){return $a(Za(e),Za(t))}function Za(e){if(p(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qa(e,t){return e?[...new Set([].concat(e,t))]:t}function $a(e,t){return e?l(Object.create(null),e,t):t}function eo(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:l(Object.create(null),Ia(e),Ia(t??{})):t}function to(e,t){if(!e)return t;if(!t)return e;let n=l(Object.create(null),e);for(let r in t)n[r]=Qa(e[r],t[r]);return n}function no(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var ro=0;function io(e,t){return function(n,r=null){v(n)||(n=l({},n)),r!=null&&!x(r)&&(r=null);let i=no(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:ro++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:sc,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&v(e.install)?(a.add(e),e.install(c,...t)):v(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||W(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ec(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(Gn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=ao;ao=c;try{return e()}finally{ao=t}}};return c}}var ao=null;function oo(e,t,n=r){let i=Ls(),a=E(t),o=oe(t),s=so(e,a),c=xn((s,c)=>{let l,u=r,d;return kr(()=>{let t=e[a];D(l,t)&&(l=t,c())}),{get(){return s(),n.get?n.get(l):l},set(e){let s=n.set?n.set(e):e;if(!D(s,l)&&!(u!==r&&D(e,u)))return;let f=i.vnode.props,p=!!(f&&(t in f||a in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${t}`,s),D(e,u)&&(D(e,s)&&!D(s,d)||p&&u!==r&&!D(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||r:c,done:!1}:{done:!0}}}},c}var so=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${oe(t)}Modifiers`];function co(e,t,...n){if(e.isUnmounted)return;let i=e.vnode.props||r,a=n,o=t.startsWith(`update:`),s=o&&so(i,t.slice(7));s&&(s.trim&&(a=n.map(e=>y(e)?e.trim():e)),s.number&&(a=a.map(de)));let c,l=i[c=ce(t)]||i[c=ce(E(t))];!l&&o&&(l=i[c=ce(oe(t))]),l&&Gn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Gn(u,e,6,a)}}var lo=new WeakMap;function uo(e,t,n=!1){let r=n?lo:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!v(e)){let r=e=>{let n=uo(e,t,!0);n&&(s=!0,l(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(x(e)&&r.set(e,null),null):(p(a)?a.forEach(e=>o[e]=null):l(o,a),x(e)&&r.set(e,o),o)}function fo(e,t){return!e||!s(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),f(e,t[0].toLowerCase()+t.slice(1))||f(e,oe(t))||f(e,t))}function po(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=_r(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Os(u.call(t,e,d,f,m,p,h)),y=s}else{let e=t;v=Os(e.length>1?e(f,{attrs:s,slots:o,emit:l}):e(f,null)),y=t.props?s:ho(s)}}catch(t){ps.length=0,Kn(t,e,1),v=W(ds)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(c)&&(y=go(y,a)),b=Es(b,y,!1,!0))}return n.dirs&&(b=Es(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&ai(Fr(b.type)&&ii(b)||b,n.transition),v=b,_r(_),v}function mo(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(ys(r)){if(r.type!==ds||r.children===`v-if`){if(n)return;n=r}}else return}return n}var ho=e=>{let t;for(let n in e)(n===`class`||n===`style`||s(n))&&((t||={})[n]=e[n]);return t},go=(e,t)=>{let n={};for(let r in e)(!c(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function _o(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vo(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(yo(o,r,n)&&!fo(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||vo(r,o,l):!!o;return!1}function vo(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!f(e,a)||yo(t,e,a)&&!fo(n,a))return!0}return!1}function yo(e,t,n){let r=e[n],i=t[n];return n===`style`&&x(r)&&x(i)?!Oe(r,i):r!==i}function bo({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var xo={},So=()=>Object.create(xo),Co=e=>Object.getPrototypeOf(e)===xo;function wo(e,t,n,r=!1){let i={},a=So();e.propsDefaults=Object.create(null),Eo(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:en(i):e.type.props?i:a,e.attrs=a}function To(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=j(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(fo(e.emitsOptions,o))continue;let u=t[o];if(c){if(f(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=E(o);i[t]=Do(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Eo(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!f(t,a)&&((r=oe(a))===a||!f(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Do(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!f(t,e))&&(delete a[e],l=!0)}l&&ht(e.attrs,`set`,``)}function Eo(e,t,n,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let r in t){if(ne(r))continue;let l=t[r],u;a&&f(a,u=E(r))?!o||!o.includes(u)?n[u]=l:(c||={})[u]=l:fo(e.emitsOptions,r)||(!(r in i)||l!==i[r])&&(i[r]=l,s=!0)}if(o){let t=j(n),i=c||r;for(let r=0;r<o.length;r++){let s=o[r];n[s]=Do(a,t,s,i[s],e,!f(i,s))}}return s}function Do(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=f(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&v(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Bs(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===oe(n))&&(r=!0))}return r}var Oo=new WeakMap;function ko(e,t,n=!1){let a=n?Oo:t.propsCache,o=a.get(e);if(o)return o;let s=e.props,c={},u=[],d=!1;if(!v(e)){let r=e=>{d=!0;let[n,r]=ko(e,t,!0);l(c,n),r&&u.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!d)return x(e)&&a.set(e,i),i;if(p(s))for(let e=0;e<s.length;e++){let t=E(s[e]);Ao(t)&&(c[t]=r)}else if(s)for(let e in s){let t=E(e);if(Ao(t)){let n=s[e],r=c[t]=p(n)||v(n)?{type:n}:l({},n),i=r.type,a=!1,o=!0;if(p(i))for(let e=0;e<i.length;++e){let t=i[e],n=v(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=v(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||f(r,`default`))&&u.push(t)}}let m=[c,u];return x(e)&&a.set(e,m),m}function Ao(e){return e[0]!==`$`&&!ne(e)}var jo=e=>e===`_`||e===`_ctx`||e===`$stable`,Mo=e=>p(e)?e.map(Os):[Os(e)],No=(e,t,n)=>{if(t._n)return t;let r=P((...e)=>Mo(t(...e)),n);return r._c=!1,r},Po=(e,t,n)=>{let r=e._ctx;for(let n in e){if(jo(n))continue;let i=e[n];if(v(i))t[n]=No(n,i,r);else if(i!=null){let e=Mo(i);t[n]=()=>e}}},Fo=(e,t)=>{let n=Mo(t);e.slots.default=()=>n},Io=(e,t,n)=>{for(let r in t)(n||!jo(r))&&(e[r]=t[r])},Lo=(e,t,n)=>{let r=e.slots=So();if(e.vnode.shapeFlag&32){let e=t._;e?(Io(r,t,n),n&&ue(r,`_`,e,!0)):Po(t,r)}else t&&Fo(e,t)},Ro=(e,t,n)=>{let{vnode:i,slots:a}=e,o=!0,s=r;if(i.shapeFlag&32){let e=t._;e?n&&e===1?o=!1:Io(a,t,n):(o=!t.$stable,Po(t,a)),s=t}else t&&(Fo(e,t),s={default:1});if(o)for(let e in a)!jo(e)&&s[e]==null&&delete a[e]},zo=ss;function Bo(e){return Ho(e)}function Vo(e){return Ho(e,xi)}function Ho(e,t){let n=me();n.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=a,insertStaticContent:_}=e,v=(e,t,n,r=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!bs(e,t)&&(r=O(e),ge(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===i&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case us:y(e,t,n,r);break;case ds:b(e,t,n,r);break;case fs:e??x(t,n,r,s);break;case z:ae(e,t,n,r,a,o,s,c,l);break;default:f&1?w(e,t,n,r,a,o,s,c,l):f&6?oe(e,t,n,r,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,r,a,o,s,c,l,Se)}d!=null&&a?pi(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&pi(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),re(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&T(e.children,d,null,r,i,Uo(e,a),s,u),_&&Sr(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ne(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&js(f,r,e)}_&&Sr(e,null,r,`beforeMount`);let v=Go(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&zo(()=>{try{f&&js(f,r,e),v&&g.enter(d),_&&Sr(e,null,r,`mounted`)}finally{}},i)},te=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Zo(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},T=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ks(e[l]):Os(e[l]);v(null,c,t,n,r,i,a,o,s)}},re=(e,t,n,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||r,h=t.props||r,g;if(n&&Wo(n,!1),(g=h.onVnodeBeforeUpdate)&&js(g,n,t,e),f&&Sr(t,e,n,`beforeUpdate`),n&&Wo(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?ie(e.dynamicChildren,d,l,n,i,Uo(t,a),o):s||de(e,t,l,null,n,i,Uo(t,a),o,!1),u>0){if(u&16)E(l,m,h,n,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],i=m[r],o=h[r];(o!==i||r===`value`)&&c(l,r,i,o,a,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&E(l,m,h,n,a);((g=h.onVnodeUpdated)||f)&&zo(()=>{g&&js(g,n,t,e),f&&Sr(t,e,n,`updated`)},i)},ie=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Xo(c),d=u&&(c.type===z||!bs(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},E=(e,t,n,i,a)=>{if(t!==n){if(t!==r)for(let r in t)!ne(r)&&!(r in n)&&c(e,r,t[r],null,a,i);for(let r in n){if(ne(r))continue;let o=n[r],s=t[r];o!==s&&r!==`value`&&c(e,r,s,o,a,i)}`value`in n&&c(e,`value`,t.value,n.value,a)}},ae=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),T(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(ie(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&Ko(e,t,!0)):de(e,t,n,f,i,a,s,c,l)},oe=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):se(t,n,r,i,a,o,c):ce(e,t,c)},se=(e,t,n,r,i,a,o)=>{let s=e.component=Fs(e,r,i);if(Hi(e)&&(s.ctx.renderer=Se),Ws(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,D,o,a),!e.el){let r=s.subTree=W(ds);b(null,r,t,n),e.placeholder=r.el}}else D(s,e,t,n,i,a,o)},ce=(e,t,n)=>{let r=t.component=e.component;if(_o(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,ue(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},D=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Jo(e);if(n){t&&(t.el=c.el,ue(e,t,o)),n.asyncDep.then(()=>{zo(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Wo(e,!1),t?(t.el=c.el,ue(e,t,o)):t=c,n&&le(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&js(d,s,t,c),Wo(e,!0);let f=po(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),O(p),e,i,a),t.el=f.el,u===null&&bo(e,f.el),r&&zo(r,i),(d=t.props&&t.props.onVnodeUpdated)&&zo(()=>js(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=zi(t);if(Wo(e,!1),l&&le(l),!m&&(o=c&&c.onVnodeBeforeMount)&&js(o,d,t),Wo(e,!0),s&&we){let t=()=>{e.subTree=po(e),we(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=po(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&zo(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;zo(()=>js(o,d,e),i)}(t.shapeFlag&256||d&&zi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&zo(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Be(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>rr(u),Wo(e,!0),l()},ue=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,To(e,t.props,r,n),Ro(e,t.children,n),rt(),or(e),it()},de=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){pe(l,d,n,r,i,a,o,s,c);return}if(f&256){fe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&be(l,i,a),d!==l&&p(n,d)):u&16?m&16?pe(l,d,n,r,i,a,o,s,c):be(l,i,a,!0):(u&8&&p(n,``),m&16&&T(d,n,r,i,a,o,s,c))},fe=(e,t,n,r,a,o,s,c,l)=>{e||=i,t||=i;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?ks(t[p]):Os(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?be(e,a,o,!0,!1,f):T(t,n,r,a,o,s,c,l,f)},pe=(e,t,n,r,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?ks(t[u]):Os(t[u]);if(bs(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?ks(t[p]):Os(t[p]);if(bs(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,i=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=l?ks(t[u]):Os(t[u]),n,i,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)ge(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?ks(t[u]):Os(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){ge(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&bs(r,t[_])){i=_;break}i===void 0?ge(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?qo(C):i;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,i=t[e],f=t[e+1],p=e+1<d?f.el||Xo(f):r;C[u]===0?v(null,i,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?he(i,n,p,2):_--)}}},he=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)he(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,Se);else if(c===z){o(a,t,n);for(let e=0;e<u.length;e++)he(u[e],t,n,r);o(e.anchor,t,n)}else if(c===fs)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[qr]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),zo(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[qr];a._isLeaving&&a[qr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},ge=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(rt(),pi(s,null,n,e,!0),it()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!zi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&js(_,t,e),u&6)ye(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Sr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==z||d>0&&d&64)?be(l,t,n,!1,!0):(a===z&&d&384||!i&&u&16)&&be(c,t,n),r&&_e(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&zo(()=>{_&&js(_,t,e),h&&Sr(e,null,t,`unmounted`),v&&(e.el=null)},n)},_e=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===z;if(a&&!i){ve(n,r);return}if(t===fs){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?si(e):e,c=()=>{a?m(n)&&ve(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},ve=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ye=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Yo(c),Yo(l),r&&le(r),i.stop(),a?(a.flags|=8,ge(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,ge(o,e,t,n)),s&&zo(s,t),zo(()=>{e.isUnmounted=!0},t)},be=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ge(e[o],t,n,r,i)},O=e=>{if(e.shapeFlag&6)return O(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Pr];return n?h(n):t},xe=(e,t,n)=>{lr(()=>{e==null?t._vnode&&ge(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Ps())},Se={p:v,um:ge,m:he,r:_e,mt:se,mc:T,pc:de,pbc:ie,n:O,o:e},Ce,we;return t&&([Ce,we]=t(Se)),{render:xe,hydrate:Ce,createApp:io(xe,Ce)}}function Uo({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Wo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Go(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ko(e,t,n=!1){let r=e.children,i=t.children;if(p(r)&&p(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ks(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&Ko(t,a)),a.type===us&&(a.patchFlag===-1&&(a=i[e]=ks(a)),a.el=t.el),a.type===ds&&!a.el&&(a.el=t.el)}}function qo(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Jo(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function Yo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Xo(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Xo(t.subTree):null}var Zo=e=>e.__isSuspense,Qo=0,$o={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)ts(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback&&!a.isHydrating){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ns(e,t,n,r,i,o,s,c,l)}},hydrate:is,normalize:as};function es(e,t){let n=e.props&&e.props[t];v(n)&&n()}function ts(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=rs(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(es(e,`onPending`),es(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),cs(f,e.ssFallback)):f.resolve(!1,!0)}function ns(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,bs(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),cs(d,p))):(d.pendingId=Qo++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),cs(d,p))):m&&bs(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&bs(m,f))c(m,f,n,r,i,d,a,o,s),cs(d,f);else if(es(t,`onPending`),d.pendingBranch=f,d.pendingId=f.shapeFlag&512?f.component.suspenseId:Qo++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function rs(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=ls(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?fe(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Qo++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),ar(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&zo(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,cs(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){for(let e=0;e<c.length;e++)y.effects.push(c[e]);S=!0;break}y=y.parent}!S&&!g&&ar(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),es(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;es(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),cs(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n,r){let i=!!x.pendingBranch;i&&x.deps++;let a=e.vnode.el;e.asyncDep.catch(t=>{Kn(t,e,0)}).then(o=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;if(Vs(),!e.scope.active){i&&--x.deps===0&&x.resolve();return}e.asyncResolved=!0;let{vnode:s}=e;Ks(e,o,!1),a&&(s.el=a);let c=!a&&e.subTree.el;t(e,s,h(a||e.subTree.el),a?null:m(e.subTree),x,r,n),c&&(s.placeholder=null,g(c)),bo(e,s.el),i&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function is(e,t,n,r,i,a,o,s,c){let l=t.suspense=rs(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function as(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=os(r?n.default:n),e.ssFallback=r?os(n.fallback):W(ds)}function os(e){let t;if(v(e)){let n=gs&&e._c;n&&(e._d=!1,B()),e=e(),n&&(e._d=!0,t=ms,hs())}return p(e)&&(e=mo(e)),e=Os(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function ss(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):ar(e)}function cs(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,bo(r,i))}function ls(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var z=Symbol.for(`v-fgt`),us=Symbol.for(`v-txt`),ds=Symbol.for(`v-cmt`),fs=Symbol.for(`v-stc`),ps=[],ms=null;function B(e=!1){ps.push(ms=e?null:[])}function hs(){ps.pop(),ms=ps[ps.length-1]||null}var gs=1;function _s(e,t=!1){gs+=e,e<0&&ms&&t&&(ms.hasOnce=!0)}function vs(e){return e.dynamicChildren=gs>0?ms||i:null,hs(),gs>0&&ms&&ms.push(e),e}function V(e,t,n,r,i,a){return vs(U(e,t,n,r,i,a,!0))}function H(e,t,n,r,i){return vs(W(e,t,n,r,i,!0))}function ys(e){return e?e.__v_isVNode===!0:!1}function bs(e,t){return e.type===t.type&&e.key===t.key}function xs(e){}var Ss=({key:e})=>e??null,Cs=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:y(e)||fn(e)||v(e)?{i:hr,r:e,k:t,f:!!n}:e);function U(e,t=null,n=null,r=0,i=null,a=e===z?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ss(t),ref:t&&Cs(t),scopeId:gr,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:hr};return s?(As(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=y(n)?8:16),gs>0&&!o&&ms&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&ms.push(c),c}var W=ws;function ws(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===fa)&&(e=ds),ys(e)){let r=Es(e,t,!0);return n&&As(r,n),gs>0&&!a&&ms&&(r.shapeFlag&6?ms[ms.indexOf(e)]=r:ms.push(r)),r.patchFlag=-2,r}if(nc(e)&&(e=e.__vccOpts),t){t=Ts(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=O(e)),x(n)&&(cn(n)&&!p(n)&&(n=l({},n)),t.style=ge(n))}let o=y(e)?1:Zo(e)?128:Fr(e)?64:x(e)?4:v(e)?2:0;return U(e,t,n,r,i,o,a,!0)}function Ts(e){return e?cn(e)||Co(e)?l({},e):e:null}function Es(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?q(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ss(l),ref:t&&t.ref?n&&a?p(a)?a.concat(Cs(t)):[a,Cs(t)]:Cs(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==z?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Es(e.ssContent),ssFallback:e.ssFallback&&Es(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&ai(u,c.clone(u)),u}function G(e=` `,t=0){return W(us,null,e,t)}function Ds(e,t){let n=W(fs,null,e);return n.staticCount=t,n}function K(e=``,t=!1){return t?(B(),H(ds,null,e)):W(ds,null,e)}function Os(e){return e==null||typeof e==`boolean`?W(ds):p(e)?W(z,null,e.slice()):ys(e)?ks(e):W(us,null,String(e))}function ks(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Es(e)}function As(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(p(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),As(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Co(t)?t._ctx=hr:r===3&&hr&&(hr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(v(t)){if(r&65){As(e,{default:t});return}t={default:t,_ctx:hr},n=32}else t=String(t),r&64?(n=16,t=[G(t)]):n=8;e.children=t,e.shapeFlag|=n}function q(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=O([t.class,r.class]));else if(e===`style`)t.style=ge([t.style,r.style]);else if(s(e)){let n=t[e],i=r[e];i&&n!==i&&!(p(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!c(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function js(e,t,n,r=null){Gn(e,t,7,[n,r])}var Ms=no(),Ns=0;function Ps(){return Ns}function Fs(e,t,n){let i=e.type,a=(t?t.appContext:e.appContext)||Ms,o={uid:Ns++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Fe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ko(i,a),emitsOptions:uo(i,a),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=co.bind(null,o),e.ce&&e.ce(o),o}var Is=null,Ls=()=>Is||hr,Rs,zs;{let e=me(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Rs=t(`__VUE_INSTANCE_SETTERS__`,e=>Is=e),zs=t(`__VUE_SSR_SETTERS__`,e=>Us=e)}var Bs=e=>{let t=Is;return Rs(e),e.scope.on(),()=>{e.scope.off(),Rs(t)}},Vs=()=>{Is&&Is.scope.off(),Rs(null)};function Hs(e){return e.vnode.shapeFlag&4}var Us=!1;function Ws(e,t=!1,n=!1){t&&zs(t);let{props:r,children:i}=e.vnode,a=Hs(e);wo(e,r,a,t),Lo(e,i,n||t);let o=a?Gs(e,t):void 0;return t&&zs(!1),o}function Gs(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wa);let{setup:r}=n;if(r){rt();let n=e.setupContext=r.length>1?$s(e):null,i=Bs(e),a=Wn(r,e,0,[e.props,n]),o=S(a);if(it(),i(),(o||e.sp)&&!zi(e)&&li(e),o){if(a.then(Vs,Vs),t)return a.then(n=>{zs(!0);try{Ks(e,n,t)}finally{zs(!1)}}).catch(t=>{Kn(t,e,0)});e.asyncDep=a}else Ks(e,a,t)}else Zs(e,t)}function Ks(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=yn(t)),Zs(e,n)}var qs,Js;function Ys(e){qs=e,Js=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Ta))}}var Xs=()=>!qs;function Zs(e,t,n){let r=e.type;if(!e.render){if(!t&&qs&&!r.render){let t=r.template||Ka(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=l(l({isCustomElement:n,delimiters:a},i),o);r.render=qs(t,s)}}e.render=r.render||a,Js&&Js(e)}{let t=Bs(e);rt();try{Ha(e)}finally{it(),t()}}}var Qs={get(e,t){return mt(e,`get`,``),e[t]}};function $s(e){return{attrs:new Proxy(e.attrs,Qs),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ec(e){return e.exposed?e.exposeProxy||=new Proxy(yn(ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sa)return Sa[n](e)},has(e,t){return t in e||t in Sa}}):e.proxy}function tc(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}function nc(e){return v(e)&&`__vccOpts`in e}var J=(e,t)=>On(e,t,Us);function rc(e,t,n){try{_s(-1);let r=arguments.length;return r===2?x(t)&&!p(t)?ys(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ys(n)&&(n=[n]),W(e,t,n))}finally{_s(1)}}function ic(){}function ac(e,t,n,r){let i=n[r];if(i&&oc(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function oc(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(D(n[e],t[e]))return!1;return gs>0&&ms&&ms.push(e),!0}var sc=`3.5.44`,cc=a,lc=Un,uc=fr,dc=mr,fc={createComponentInstance:Fs,setupComponent:Ws,renderComponentRoot:po,setCurrentRenderingInstance:_r,isVNode:ys,normalizeVNode:Os,getComponentPublicInstance:ec,ensureValidVNode:ya,pushWarningContext:zn,popWarningContext:Bn},pc=void 0,mc=typeof window<`u`&&window.trustedTypes;if(mc)try{pc=mc.createPolicy(`vue`,{createHTML:e=>e})}catch{}var hc=pc?e=>pc.createHTML(e):e=>e,gc=`http://www.w3.org/2000/svg`,_c=`http://www.w3.org/1998/Math/MathML`,vc=typeof document<`u`?document:null,yc=vc&&vc.createElement(`template`),bc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?vc.createElementNS(gc,e):t===`mathml`?vc.createElementNS(_c,e):n?vc.createElement(e,{is:n}):vc.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>vc.createTextNode(e),createComment:e=>vc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vc.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{yc.innerHTML=hc(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=yc.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xc=`transition`,Sc=`animation`,Cc=Symbol(`_vtc`),wc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Tc=l({},Zr,wc),Ec=(e=>(e.displayName=`Transition`,e.props=Tc,e))((e,{slots:t})=>rc(ei,kc(e),t)),Dc=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},Oc=e=>e?p(e)?e.some(e=>e.length>1):e.length>1:!1;function kc(e){let t={};for(let n in e)n in wc||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Ac(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:ee=b}=t,te=(e,t,n,r)=>{e._enterCancelled=r,Nc(e,t?d:s),Nc(e,t?u:o),n&&n()},T=(e,t)=>{e._isLeaving=!1,Nc(e,f),Nc(e,m),Nc(e,p),t&&t()},ne=e=>(t,n)=>{let i=e?w:y,o=()=>te(t,e,n);Dc(i,[t,o]),Pc(()=>{Nc(t,e?c:a),Mc(t,e?d:s),Oc(i)||Ic(t,r,g,o)})};return l(t,{onBeforeEnter(e){Dc(v,[e]),Mc(e,a),Mc(e,o)},onBeforeAppear(e){Dc(C,[e]),Mc(e,c),Mc(e,u)},onEnter:ne(!1),onAppear:ne(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>T(e,t);Mc(e,f),e._enterCancelled?(Mc(e,p),Bc(e)):(Bc(e),Mc(e,p)),Pc(()=>{e._isLeaving&&(Nc(e,f),Mc(e,m),Oc(x)||Ic(e,r,_,n))}),Dc(x,[e,n])},onEnterCancelled(e){te(e,!1,void 0,!0),Dc(b,[e])},onAppearCancelled(e){te(e,!0,void 0,!0),Dc(ee,[e])},onLeaveCancelled(e){T(e),Dc(S,[e])}})}function Ac(e){if(e==null)return null;if(x(e))return[jc(e.enter),jc(e.leave)];{let t=jc(e);return[t,t]}}function jc(e){return fe(e)}function Mc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Cc]||(e[Cc]=new Set)).add(t)}function Nc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Cc];n&&(n.delete(t),n.size||(e[Cc]=void 0))}function Pc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Fc=0;function Ic(e,t,n,r){let i=e._endId=++Fc,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Lc(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Lc(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${xc}Delay`),a=r(`${xc}Duration`),o=Rc(i,a),s=r(`${Sc}Delay`),c=r(`${Sc}Duration`),l=Rc(s,c),u=null,d=0,f=0;t===xc?o>0&&(u=xc,d=o,f=a.length):t===Sc?l>0&&(u=Sc,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?xc:Sc:null,f=u?u===xc?a.length:c.length:0);let p=u===xc&&/\b(?:transform|all)(?:,|$)/.test(r(`${xc}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Rc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>zc(t)+zc(e[n])))}function zc(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Bc(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vc(e,t,n){let r=e[Cc];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Hc=Symbol(`_vod`),Uc=Symbol(`_vsh`),Wc={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Hc]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Gc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Gc(e,!0),r.enter(e)):r.leave(e,()=>{Gc(e,!1)}):Gc(e,t))},beforeUnmount(e,{value:t}){Gc(e,t)}};function Gc(e,t){e.style.display=t?e[Hc]:`none`,e[Uc]=!t}function Kc(){Wc.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}var qc=Symbol(``);function Jc(e){let t=Ls();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Xc(e,n))},r=()=>{let r=e(t.proxy);t.ce?Xc(t.ce,r):Yc(t.subTree,r),n(r)};ta(()=>{ar(r)}),ea(()=>{I(r,a,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),ia(()=>e.disconnect())})}function Yc(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Yc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Xc(e.el,t);else if(e.type===z)e.children.forEach(e=>Yc(e,t));else if(e.type===fs){let{el:n,anchor:r}=e;for(;n&&(Xc(n,t),n!==r);)n=n.nextSibling}}function Xc(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=Ne(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[qc]=r}}var Zc=/(?:^|;)\s*display\s*:/;function Qc(e,t,n){let r=e.style,i=y(n),a=!1;if(n&&!i){if(t){if(y(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??el(r,t,``)}else for(let e in t)n[e]??el(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?el(r,i,``):il(e,i,!y(t)&&t?t[i]:void 0,o)||el(r,i,o)}}else if(i){if(t!==n){let e=r[qc];e&&(n+=`;`+e),r.cssText=n,a=Zc.test(n)}}else t&&e.removeAttribute(`style`);Hc in e&&((!i||t!==n)&&(e[Hc]=a?r.display:``),e[Uc]&&(r.display=`none`))}var $c=/\s*!important$/;function el(e,t,n){if(p(n))n.forEach(n=>el(e,t,n));else if(n??=``,t.startsWith(`--`))$c.test(n)?e.setProperty(t,n.replace($c,``),`important`):e.setProperty(t,n);else{let r=rl(e,t);$c.test(n)?e.setProperty(oe(r),n.replace($c,``),`important`):e[r]=n}}var tl=[`Webkit`,`Moz`,`ms`],nl={};function rl(e,t){let n=nl[t];if(n)return n;let r=E(t);if(r!==`filter`&&r in e)return nl[t]=r;r=se(r);for(let n=0;n<tl.length;n++){let i=tl[n]+r;if(i in e)return nl[t]=i}return t}function il(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&y(r)&&n===r}var al=`http://www.w3.org/1999/xlink`;function ol(e,t,n,r,i,a=Se(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(al,t.slice(6,t.length)):e.setAttributeNS(al,t,n):n==null||a&&!Ce(n)?e.removeAttribute(t):e.setAttribute(t,a?``:b(n)?String(n):n)}function sl(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?hc(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Ce(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function cl(e,t,n,r){e.addEventListener(t,n,r)}function ll(e,t,n,r){e.removeEventListener(t,n,r)}var ul=Symbol(`_vei`);function dl(e,t,n,r,i=null){let a=e[ul]||(e[ul]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ml(t);r?cl(e,n,a[t]=vl(r,i),s):o&&(ll(e,n,o,s),a[t]=void 0)}}var fl=/(Once|Passive|Capture)$/,pl=/^on:?(?:Once|Passive|Capture)$/;function ml(e){let t,n;for(;(n=e.match(fl))&&!pl.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):oe(e.slice(2)),t]}var hl=0,gl=Promise.resolve(),_l=()=>hl||=(gl.then(()=>hl=0),Date.now());function vl(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(p(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&Gn(e,t,5,a)}}else Gn(r,t,5,[e])};return n.value=e,n.attached=_l(),n}var yl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bl=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Vc(e,r,o):t===`style`?Qc(e,n,r):s(t)?c(t)||dl(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):xl(e,t,r,o))?(sl(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&ol(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Sl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!y(r)))?sl(e,E(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),ol(e,t,r,o))};function xl(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&yl(t)&&v(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return yl(t)&&y(n)?!1:t in e}function Sl(e,t){let n=e._def.props;if(!n)return!1;let r=E(t);return Array.isArray(n)?n.some(e=>E(e)===r):Object.keys(n).some(e=>E(e)===r)}var Cl={};function wl(e,t,n){let r=L(e,t);te(r)&&(r=l({},r,t));class i extends Dl{constructor(e){super(r,e,n)}}return i.def=r,i}var Tl=((e,t)=>wl(e,t,wu)),El=typeof HTMLElement<`u`?HTMLElement:class{},Dl=class e extends El{constructor(e,t={},n=Cu){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Cu?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(l({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,tr(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!p(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=fe(this._props[e])),(i||=Object.create(null))[E(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._connected&&this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)f(this,e)||Object.defineProperty(this,e,{get:()=>N(t[e])})}_resolveProps(e){let{props:t}=e,n=p(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(E))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):Cl,r=E(e);t&&this._numberProps&&this._numberProps[r]&&(n=fe(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===Cl?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(oe(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(oe(e),t+``):t||this.removeAttribute(oe(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),xu(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=W(this._def,l(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,te(t[0])?l({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),oe(e)!==e&&t(oe(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function Ol(e){let t=Ls();return t&&t.ce||null}function kl(){let e=Ol();return e&&e.shadowRoot}function Al(e=`$style`){{let t=Ls();if(!t)return r;let n=t.type.__cssModules;return n&&n[e]||r}}var jl=new WeakMap,Ml=new WeakMap,Nl=Symbol(`_moveCb`),Pl=Symbol(`_enterCb`),Fl=new WeakMap,Il=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:l({},Tc,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=Ls(),r=Yr(),i,a,o,s,c=()=>(s===void 0&&(s=i.length>0&&Gl(i[0].el,n.vnode.el,Rl(e))),s);return na(()=>{if(Fl.delete(n),!c()){i=[],o=void 0;return}let t=Rl(e);i.forEach(Ll);let r=o&&Wl(o,n.vnode.el);o=void 0,i.forEach(e=>zl(e,r));let a=i.filter(Bl);Bc(n.vnode.el),a.forEach(e=>{let n=e.el,r=n.style;Mc(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[Nl]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[Nl]=null,Nc(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let l=j(e),u=kc(l),d=l.tag||z;if(i=[],s=void 0,a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&!t.el[Uc]&&(i.push(t),ai(t,ni(t,u,r,n)),jl.set(t,Vl(t.el)))}a=t.default?oi(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&ai(t,ni(t,u,r,n))}return i.length&&(o=Hl(n),Fl.set(n,c)),W(d,null,a)}}});function Ll(e){let t=e.el;t[Nl]&&t[Nl](),t[Pl]&&t[Pl]()}function Rl(e){return e.moveClass||`${e.name||`v`}-move`}function zl(e,t){Ml.set(e,Vl(e.el,t))}function Bl(e){let t=jl.get(e),n=Ml.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Vl(e,t){let n=e.getBoundingClientRect();return{left:n.left-(t?t.left:0),top:n.top-(t?t.top:0)}}function Hl(e){let t;for(let n=e.parent;n;n=n.parent){let r=Fl.get(n);if(r){let i=Ul(n.vnode.el,e.vnode.el);i&&(t||=[]).push(l(Vl(i),{item:i,willMove:r}))}}return t}function Ul(e,t){let n=e.nodeType===1?e:e.parentNode;for(;t&&t.parentNode!==n;)t=t.parentNode;if(t&&t.nodeType===1)return t}function Wl(e,t){let n=e.find(e=>e.willMove()&&e.item.contains(t));return n&&Vl(n.item,n)}function Gl(e,t,n){let r=e.cloneNode(),i=e[Cc];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Lc(r);return a.removeChild(r),o}var Kl=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return p(t)?e=>le(t,e):t};function ql(e){e.target.composing=!0}function Jl(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Yl=Symbol(`_assign`),Xl=Symbol(`_initialValue`);function Zl(e,t,n){return t&&(e=e.trim()),n&&(e=de(e)),e}var Ql={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[Xl]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[Xl]=e.defaultValue.replace(/\r\n?/g,`
4
- `))),e[Yl]=Kl(i);let a=r||i.props&&i.props.type===`number`;cl(e,t?`change`:`input`,t=>{t.target.composing||e[Yl](Zl(e.value,n,a))}),(n||a)&&cl(e,`change`,()=>{e.value=Zl(e.value,n,a)}),t||(cl(e,`compositionstart`,ql),cl(e,`compositionend`,Jl),cl(e,`change`,Jl))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Xl];delete e[Xl],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[Yl](Zl(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Yl]=Kl(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?de(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},$l={deep:!0,created(e,t,n){e[Yl]=Kl(n),cl(e,`change`,()=>{let t=e._modelValue,n=au(e),r=e.checked,i=e[Yl];if(p(t)){let e=ke(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(h(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(ou(e,r))})},mounted:eu,beforeUpdate(e,t,n){e[Yl]=Kl(n),eu(e,t,n)}};function eu(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(p(t))i=ke(t,r.props.value)>-1;else if(h(t))i=t.has(r.props.value);else{if(t===n)return;i=Oe(t,ou(e,!0))}e.checked!==i&&(e.checked=i)}var tu={created(e,{value:t},n){e.checked=Oe(t,n.props.value),e[Yl]=Kl(n),cl(e,`change`,()=>{e[Yl](au(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Yl]=Kl(r),t!==n&&(e.checked=Oe(t,r.props.value))}},nu={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,cl(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?de(au(e)):au(e)),r=e.multiple,i=r?h(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?p(i)?t.slice():t:i];try{e[Yl](i)}finally{tr(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[Yl]=Kl(r)},mounted(e,{value:t}){iu(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Yl]=Kl(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!ru(t,n[1],n[0]))&&iu(e,t)}};function ru(e,t,n){if(!n||p(e))return Oe(e,t);if(h(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function iu(e,t){let n=e.multiple,r=p(t);if(!n||r||h(t)){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=au(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):ke(t,o)>-1}else a.selected=t.has(o)}else if(Oe(au(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function au(e){return`_value`in e?e._value:e.value}function ou(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var su={created(e,t,n){lu(e,t,n,null,`created`)},mounted(e,t,n){lu(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){lu(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){lu(e,t,n,r,`updated`)}};function cu(e,t){switch(e){case`SELECT`:return nu;case`TEXTAREA`:return Ql;default:switch(t){case`checkbox`:return $l;case`radio`:return tu;default:return Ql}}}function lu(e,t,n,r,i){let a=cu(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function uu(){Ql.getSSRProps=({value:e})=>({value:e}),tu.getSSRProps=({value:e},t)=>{if(t.props&&Oe(t.props.value,e))return{checked:!0}},$l.getSSRProps=({value:e},t)=>{if(p(e)){if(t.props&&ke(e,t.props.value)>-1)return{checked:!0}}else if(h(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},su.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=cu(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var du=[`ctrl`,`shift`,`alt`,`meta`],fu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>du.some(n=>e[`${n}Key`]&&!t.includes(n))},pu=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=fu[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},mu={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},hu=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=oe(n.key);if(t.some(e=>e===r||mu[e]===r))return e(n)}))},gu=l({patchProp:bl},bc),_u,vu=!1;function yu(){return _u||=Bo(gu)}function bu(){return _u=vu?_u:Vo(gu),vu=!0,_u}var xu=((...e)=>{yu().render(...e)}),Su=((...e)=>{bu().hydrate(...e)}),Cu=((...e)=>{let t=yu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Eu(e);if(!r)return;let i=t._component;!v(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Tu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),wu=((...e)=>{let t=bu().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Eu(e);if(t)return n(t,!0,Tu(t))},t});function Tu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Eu(e){return y(e)?document.querySelector(e):e}var Du=!1,Ou=()=>{Du||(Du=!0,uu(),Kc())},ku=t({BaseTransition:()=>ei,BaseTransitionPropsValidators:()=>Zr,Comment:()=>ds,DeprecationTypes:()=>null,EffectScope:()=>Fe,ErrorCodes:()=>Hn,ErrorTypeStrings:()=>lc,Fragment:()=>z,KeepAlive:()=>Ui,ReactiveEffect:()=>Be,Static:()=>fs,Suspense:()=>$o,Teleport:()=>Wr,Text:()=>us,TrackOpTypes:()=>kn,Transition:()=>Ec,TransitionGroup:()=>Il,TriggerOpTypes:()=>An,VueElement:()=>Dl,assertNumber:()=>Vn,callWithAsyncErrorHandling:()=>Gn,callWithErrorHandling:()=>Wn,camelize:()=>E,capitalize:()=>se,cloneVNode:()=>Es,compatUtils:()=>null,compile:()=>Au,computed:()=>J,createApp:()=>Cu,createBlock:()=>H,createCommentVNode:()=>K,createElementBlock:()=>V,createElementVNode:()=>U,createHydrationRenderer:()=>Vo,createPropsRestProxy:()=>za,createRenderer:()=>Bo,createSSRApp:()=>wu,createSlots:()=>va,createStaticVNode:()=>Ds,createTextVNode:()=>G,createVNode:()=>W,customRef:()=>xn,defineAsyncComponent:()=>Bi,defineComponent:()=>L,defineCustomElement:()=>wl,defineEmits:()=>Da,defineExpose:()=>Oa,defineModel:()=>ja,defineOptions:()=>ka,defineProps:()=>Ea,defineSSRCustomElement:()=>Tl,defineSlots:()=>Aa,devtools:()=>uc,effect:()=>$e,effectScope:()=>Ie,getCurrentInstance:()=>Ls,getCurrentScope:()=>Le,getCurrentWatcher:()=>Pn,getTransitionRawChildren:()=>oi,guardReactiveProps:()=>Ts,h:()=>rc,handleError:()=>Kn,hasInjectionContext:()=>wr,hydrate:()=>Su,hydrateOnIdle:()=>Ni,hydrateOnInteraction:()=>Li,hydrateOnMediaQuery:()=>Ii,hydrateOnVisible:()=>Fi,initCustomFormatter:()=>ic,initDirectivesForSSR:()=>Ou,inject:()=>F,isMemoSame:()=>oc,isProxy:()=>cn,isReactive:()=>an,isReadonly:()=>on,isRef:()=>fn,isRuntimeOnly:()=>Xs,isShallow:()=>sn,isVNode:()=>ys,markRaw:()=>ln,mergeDefaults:()=>La,mergeModels:()=>Ra,mergeProps:()=>q,nextTick:()=>tr,nodeOps:()=>bc,normalizeClass:()=>O,normalizeProps:()=>xe,normalizeStyle:()=>ge,onActivated:()=>Gi,onBeforeMount:()=>$i,onBeforeUnmount:()=>ra,onBeforeUpdate:()=>ta,onDeactivated:()=>Ki,onErrorCaptured:()=>ca,onMounted:()=>ea,onRenderTracked:()=>sa,onRenderTriggered:()=>oa,onScopeDispose:()=>Re,onServerPrefetch:()=>aa,onUnmounted:()=>ia,onUpdated:()=>na,onWatcherCleanup:()=>Fn,openBlock:()=>B,patchProp:()=>bl,popScopeId:()=>yr,provide:()=>Cr,proxyRefs:()=>yn,pushScopeId:()=>vr,queuePostFlushCb:()=>ar,reactive:()=>$t,readonly:()=>tn,ref:()=>M,registerRuntimeCompiler:()=>Ys,render:()=>xu,renderList:()=>_a,renderSlot:()=>R,resolveComponent:()=>da,resolveDirective:()=>ma,resolveDynamicComponent:()=>pa,resolveFilter:()=>null,resolveTransitionHooks:()=>ni,setBlockTracking:()=>_s,setDevtoolsHook:()=>dc,setTransitionHooks:()=>ai,shallowReactive:()=>en,shallowReadonly:()=>nn,shallowRef:()=>pn,ssrContextKey:()=>Tr,ssrUtils:()=>fc,stop:()=>et,toDisplayString:()=>k,toHandlerKey:()=>ce,toHandlers:()=>ba,toRaw:()=>j,toRef:()=>Tn,toRefs:()=>Sn,toValue:()=>_n,transformVNodeArgs:()=>xs,triggerRef:()=>gn,unref:()=>N,useAttrs:()=>Pa,useCssModule:()=>Al,useCssVars:()=>Jc,useHost:()=>Ol,useId:()=>ci,useModel:()=>oo,useSSRContext:()=>Er,useShadowRoot:()=>kl,useSlots:()=>Na,useTemplateRef:()=>ui,useTransitionState:()=>Yr,vModelCheckbox:()=>$l,vModelDynamic:()=>su,vModelRadio:()=>tu,vModelSelect:()=>nu,vModelText:()=>Ql,vShow:()=>Wc,version:()=>sc,warn:()=>cc,watch:()=>I,watchEffect:()=>Dr,watchPostEffect:()=>Or,watchSyncEffect:()=>kr,withAsyncContext:()=>Ba,withCtx:()=>P,withDefaults:()=>Ma,withDirectives:()=>xr,withKeys:()=>hu,withMemo:()=>ac,withModifiers:()=>pu,withScopeId:()=>br}),Au=()=>{},ju=/^[a-z0-9]+(-[a-z0-9]+)*$/,Mu=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!Nu(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!Nu(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!Nu(e,n)?null:e}return null},Nu=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function Pu(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var Fu=Object.freeze({left:0,top:0,width:16,height:16}),Iu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Lu=Object.freeze({...Fu,...Iu}),Ru=Object.freeze({...Lu,body:``,hidden:!1});function zu(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Bu(e,t){let n=zu(e,t);for(let r in Ru)r in Iu?r in e&&!(r in n)&&(n[r]=Iu[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Vu(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=Bu(r[e]||i[e],a)}return o(t),n.forEach(o),Bu(e,a)}function Hu(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=Pu(e);for(let i in r){let a=r[i];a&&(t(i,Vu(e,i,a)),n.push(i))}return n}var Uu={provider:``,aliases:{},not_found:{},...Fu};function Wu(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Gu(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!Wu(e,Uu))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!Wu(t,Ru))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!Wu(t,Ru))return null}return t}var Ku=Object.create(null);function qu(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ju(e,t){let n=Ku[e]||(Ku[e]=Object.create(null));return n[t]||(n[t]=qu(e,t))}function Yu(e,t){return Gu(t)?Hu(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Xu(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var Zu=!1;function Qu(e){return typeof e==`boolean`&&(Zu=e),Zu}function $u(e){let t=typeof e==`string`?Mu(e,!0,Zu):e;if(t){let e=Ju(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function ed(e,t){let n=Mu(e,!0,Zu);if(!n)return!1;let r=Ju(n.provider,n.prefix);return t?Xu(r,n.name,t):(r.missing.add(n.name),!0)}function td(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),Zu&&!t&&!e.prefix){let t=!1;return Gu(e)&&(e.prefix=``,Hu(e,(e,n)=>{ed(e,n)&&(t=!0)})),t}let n=e.prefix;return Nu({prefix:n,name:`a`})?!!Yu(Ju(t,n),e):!1}function nd(e){return!!$u(e)}var rd=Object.freeze({width:null,height:null}),id=Object.freeze({...rd,...Iu}),ad=/(-?[0-9.]*[0-9]+[0-9.]*)/g,od=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function sd(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(ad);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=od.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function cd(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function ld(e,t){return e?`<defs>`+e+`</defs>`+t:t}function ud(e,t,n){let r=cd(e);return ld(r.defs,t+r.content+n)}var dd=e=>e===`unset`||e===`undefined`||e===`none`;function fd(e,t){let n={...Lu,...e},r={...id,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=ud(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=sd(d,c/l)):(u=o===`auto`?c:o,d=s===null?sd(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{dd(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var pd=/\sid="(\S+)"/g,md=new Map;function hd(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=md.get(e)||0;return md.set(e,t+1),t?`${e}${t}`:e}function gd(e){let t=[],n;for(;n=pd.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=hd(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var _d=Object.create(null);function vd(e,t){_d[e]=t}function yd(e){return _d[e]||_d[``]}function bd(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var xd=Object.create(null),Sd=[`https://api.simplesvg.com`,`https://api.unisvg.com`],Cd=[];Sd.length>0;)Sd.length===1||Math.random()>.5?Cd.push(Sd.shift()):Cd.push(Sd.pop());xd[``]=bd({resources:[`https://api.iconify.design`].concat(Cd)});function wd(e,t){let n=bd(t);return n!==null&&(xd[e]=n,!0)}function Td(e){return xd[e]}var Ed=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Dd(e,t){let n=Td(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function Od(e){return e===404}var kd=(e,t,n)=>{let r=[],i=Dd(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function Ad(e){if(typeof e==`string`){let t=Td(e);if(t)return t.path}return`/`}var jd={prepare:kd,send:(e,t,n)=>{if(!Ed){n(`abort`,424);return}let r=Ad(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;Ed(e+r).then(e=>{let t=e.status;if(t!==200)setTimeout(()=>{n(Od(t)?`abort`:`next`,t)});else return i=501,e.json()}).then(e=>{setTimeout(typeof e!=`object`||!e?()=>{e===404?n(`abort`,e):n(`next`,i)}:()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function Md(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Nd(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||Md([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Pd=0;function Fd(e,t,n){let r=Pd++,i=Md.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function Id(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Ju(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function Ld(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?Mu(e,t,n):e;i&&r.push(i)}),r}var Rd={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function zd(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`)u=r,v();else if(i)u=r,f.length||(o.length?x():v());else{if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function Bd(e){let t={...Rd,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=zd(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function Vd(){}var Hd=Object.create(null);function Ud(e){if(!Hd[e]){let t=Td(e);if(!t)return;Hd[e]={config:t,redundancy:Bd(t)}}return Hd[e]}function Wd(e,t,n){let r,i;if(typeof e==`string`){let t=yd(e);if(!t)return n(void 0,424),Vd;i=t.send;let a=Ud(e);a&&(r=a.redundancy)}else{let t=bd(e);if(t){r=Bd(t);let n=yd(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),Vd):r.query(t,i,n)().abort}function Gd(){}function Kd(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Nd(e)}))}function qd(e){let t=[],n=[];return e.forEach(e=>{(e.match(ju)?t:n).push(e)}),{valid:t,invalid:n}}function Jd(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Yu(e,n).length){r();return}}catch(e){console.error(e)}r(),Kd(e)}function Yd(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Xd(e,t){e.iconsToLoad=e.iconsToLoad?e.iconsToLoad.concat(t).sort():t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Yd(e.loadIcons(r,n,t),t=>{Jd(e,r,t)});return}if(i){r.forEach(r=>{Yd(i(r,n,t),t=>{Jd(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=qd(r);if(o.length&&Jd(e,o,null),!a.length)return;let s=n.match(ju)?yd(t):null;s?s.prepare(t,n,a).forEach(n=>{Wd(t,n,t=>{Jd(e,n.icons,t)})}):Jd(e,a,null)}))}var Zd=(e,t)=>{let n=Id(Ld(e,!0,Qu()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,Gd)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(Ju(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=Ju(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Xd(e,t)}),t?Fd(t,n,i):Gd};function Qd(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in rd?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var $d=/[\s,]+/;function ef(e,t){t.split($d).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function tf(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function nf(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function rf(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `).replace(/:/g,`%3A`).replace(/\//g,`%2F`)}function af(e){return`data:image/svg+xml,`+rf(e)}function of(e){return`url("`+af(e)+`")`}var sf={...id,inline:!1},cf={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},lf={display:`inline-block`},uf={backgroundColor:`currentColor`},df={backgroundColor:`transparent`},ff={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},pf={webkitMask:uf,mask:uf,background:df};for(let e in pf){let t=pf[e];for(let n in ff)t[e+n]=ff[n]}var mf={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;mf[e+`-flip`]=t,mf[e.slice(0,1)+`-flip`]=t,mf[e+`Flip`]=t});function hf(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var gf=(e,t)=>{let n=Qd(sf,t),r={...cf},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=tf(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=mf[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):sf[e]===void 0&&(r[e]=i)}}}typeof t.flip==`string`&&ef(n,t.flip);let c=fd(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...s},Object.assign(r,l),r.innerHTML=gd(c.body),rc(`svg`,r);let{body:u,width:d,height:f}=e,p=i===`mask`||i!==`bg`&&u.indexOf(`currentColor`)!==-1,m=nf(u,{...l,width:d+``,height:f+``});return r.style={...a,"--svg":of(m),width:hf(l.width),height:hf(l.height),...lf,...p?uf:df,...s},rc(`span`,r)};if(Qu(!0),vd(``,jd),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!td(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;wd(e,r)||console.error(n)}catch{console.error(n)}}}}var _f={...Lu,body:``},vf=L((e,{emit:t})=>{let n=M(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=M(!!e.ssr),a=M(``),o=pn(null);function s(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=Mu(i,!1,!0))===null)return null;let s=$u(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:Zd([o],c)}),null}r(),a.value!==i&&(a.value=i,tr(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():ea(()=>{i.value=!0,c()}),I(()=>e.icon,c),ia(r),()=>{let t=o.value;if(!t)return gf(_f,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),gf({...Lu,...t.data},n)}},{props:{icon:{type:[String,Object],required:!0},mode:{type:String},ssr:{type:Boolean},width:{type:[String,Number]},height:{type:[String,Number]},style:{type:[String,Object]},color:{type:String},inline:{type:Boolean},rotate:{type:[Number,String]},hFlip:{type:Boolean},horizontalFlip:{type:Boolean},vFlip:{type:Boolean},verticalFlip:{type:Boolean},flip:{type:String},id:{type:String},ariaHidden:{type:[Boolean,String],default:void 0},customise:{type:Function},title:{type:String}},emits:[`load`]}),yf=!1;function bf(e){if(yf)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"a-arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m14 12l4 4l4-4m-4 4V7M2 16l4.039-9.69a.5.5 0 0 1 .923 0L11 16m-7.696-3h6.392\\"/>"},"a-arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m14 11l4-4l4 4m-4 5V7M2 16l4.039-9.69a.5.5 0 0 1 .923 0L11 16m-7.696-3h6.392\\"/>"},"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"archive-restore":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-left-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"at-sign":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\"/></g>"},"audio-lines":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 10v3m4-7v11m4-14v18m4-13v7m4-10v13m4-8v3\\"/>"},"bell":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\\"/>"},"bookmark":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z\\"/>"},"chart-gantt":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 6h8m-6 10h6M3 3v16a2 2 0 0 0 2 2h16M8 11h7\\"/>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"chevrons-up-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m7 15l5 5l5-5M7 9l5-5l5 5\\"/>"},"circle":{"width":24,"height":24,"body":"<circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"circle-dashed":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7\\"/>"},"circle-pause":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M10 15V9m4 6V9\\"/></g>"},"circle-slash":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 15l6-6\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"clock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 6v6l4 2\\"/></g>"},"code-xml":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\\"/>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 12v6m-3-3h6\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"corner-down-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 4v7a4 4 0 0 1-4 4H4\\"/><path d=\\"m9 10l-5 5l5 5\\"/></g>"},"corner-down-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 10l5 5l-5 5\\"/><path d=\\"M4 4v7a4 4 0 0 0 4 4h12\\"/></g>"},"corner-up-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20v-7a4 4 0 0 0-4-4H4\\"/><path d=\\"M9 14L4 9l5-5\\"/></g>"},"crown":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\"/>"},"door-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 21H2m8-18H7a2 2 0 0 0-2 2v16m9-9h.01\\"/><path d=\\"M19 21V5a2 2 0 0 0-1.675-1.974l-6.163-1.013A1 1 0 0 0 10 3v18a1 1 0 0 0 1.124.992zm3 0h-3\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"expand":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\"/>"},"external-link":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\\"/>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-diff":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2zm3-12h6m-3 3V7M9 17h6\\"/>"},"file-lock-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v1\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4\\"/><rect width=\\"8\\" height=\\"5\\" x=\\"2\\" y=\\"13\\" rx=\\"1\\"/><path d=\\"M8 13v-2a2 2 0 1 0-4 0v2\\"/></g>","hidden":true},"file-plus-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15h6m-3-3v6\\"/></g>","hidden":true},"file-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\"/></g>"},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"flag":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\"/>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/><path d=\\"m9 13l2 2l4-4\\"/></g>"},"folder-down":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Zm-8-10v6\\"/><path d=\\"m15 13l-3 3l-3-3\\"/></g>"},"folder-input":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\"/><path d=\\"m9 16l3-3l-3-3\\"/></g>"},"folder-minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"folder-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 10v6m-3-3h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-root":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2\\"/><circle cx=\\"12\\" cy=\\"13\\" r=\\"2\\"/><path d=\\"M12 15v5\\"/></g>"},"folder-search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/></g>"},"folder-tree":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Zm0 11a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1ZM3 5a2 2 0 0 0 2 2h3\\"/><path d=\\"M3 3v13a2 2 0 0 0 2 2h3\\"/></g>"},"folders":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z\\"/><path d=\\"M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1\\"/></g>"},"git-branch":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 6a9 9 0 0 0-9 9V3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/></g>"},"globe":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\"/></g>"},"grip-horizontal":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"15\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"15\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"15\\" r=\\"1\\"/></g>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hard-drive-download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 2v8m4-4l-4 4l-4-4\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\"/><path d=\\"M6 18h.01M10 18h.01\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"headphones":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3\\"/>"},"history":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5m4-1v5l4 2\\"/></g>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"image-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\"/><path d=\\"m14 19.5l3-3l3 3M17 22v-5.5\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/></g>"},"infinity":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\"/>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"key-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\"/><circle cx=\\"16.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"layout-dashboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"9\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"5\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"9\\" x=\\"14\\" y=\\"12\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"5\\" x=\\"3\\" y=\\"16\\" rx=\\"1\\"/></g>"},"library":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 6l4 14M12 6v14M8 8v12M4 4v16\\"/>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"link":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\"/><path d=\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\"/></g>"},"list-end":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 5H3m13 7H3m6 7H3m13-3l-3 3l3 3\\"/><path d=\\"M21 5v12a2 2 0 0 1-2 2h-6\\"/></g>"},"list-filter":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 5h20M6 12h12m-9 7h6\\"/>"},"list-ordered":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\"/>"},"loader":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v4m4.2 1.8l2.9-2.9M18 12h4m-5.8 4.2l2.9 2.9M12 18v4m-7.1-2.9l2.9-2.9M2 12h4M4.9 4.9l2.9 2.9\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/></g>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"lock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 10 0v4\\"/></g>"},"lock-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 9.9-1\\"/></g>"},"log-in":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\"/>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-quote":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 14a2 2 0 0 0 2-2V8h-2\\"/><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"M8 14a2 2 0 0 0 2-2V8H8\\"/></g>"},"message-square-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM7 11h10M7 15h6M7 7h8\\"/>"},"messages-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\"/>"},"mic":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 19v3m7-12v2a7 7 0 0 1-14 0v-2\\"/><rect width=\\"6\\" height=\\"13\\" x=\\"9\\" y=\\"2\\" rx=\\"3\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 17v4m5-4H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826M2 2l20 20M8 21h8M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042\\"/>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"network":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"6\\" height=\\"6\\" x=\\"16\\" y=\\"16\\" rx=\\"1\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"2\\" y=\\"16\\" rx=\\"1\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"2\\" rx=\\"1\\"/><path d=\\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3m-7-4V8\\"/></g>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"panel-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"paperclip":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\"/>"},"pause":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"5\\" height=\\"18\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"18\\" x=\\"5\\" y=\\"3\\" rx=\\"1\\"/></g>"},"pencil":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\"/>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plug-zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"power":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v10m6.4-5.4a9 9 0 1 1-12.77.04\\"/>"},"qr-code":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"5\\" height=\\"5\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"5\\" x=\\"16\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"5\\" x=\\"3\\" y=\\"16\\" rx=\\"1\\"/><path d=\\"M21 16h-3a2 2 0 0 0-2 2v3m5 0v.01M12 7v3a2 2 0 0 1-2 2H7m-4 0h.01M12 3h.01M12 16v.01M16 12h1m4 0v.01M12 21v-1\\"/></g>"},"radio":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"redo-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 14l5-5l-5-5\\"/><path d=\\"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rocket":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\"/><path d=\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\"/><path d=\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"rotate-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5\\"/></g>"},"save":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\\"/><path d=\\"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scroll-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4\\"/><path d=\\"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3\\"/></g>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"send":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\"/>"},"server":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M6 6h.01M6 18h.01\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"shield-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1zm-8-5v4m0 4h.01\\"/>"},"shield-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"shield-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1zM9 12h6m-3-3v6\\"/>"},"skip-forward":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\"/>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"sparkle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z\\"/>"},"sparkles":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\\"/><circle cx=\\"4\\" cy=\\"20\\" r=\\"2\\"/></g>"},"split":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 3h5v5M8 3H3v5\\"/><path d=\\"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3m12 6l6-6\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"square-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\"/><path d=\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\"/></g>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"target":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"terminal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 19h8M4 17l6-6l-6-6\\"/>"},"thumbs-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\"/>"},"thumbs-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\"/>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"undo-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M9 14L4 9l5-5\\"/><path d=\\"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\\"/></g>"},"unlink":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18.84 12.25l1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07a5.006 5.006 0 0 0-6.95 0l-1.72 1.71m-6.58 6.57l-1.71 1.71a5.004 5.004 0 0 0 .12 7.07a5.006 5.006 0 0 0 6.95 0l1.71-1.71M8 2v3M2 8h3m11 11v3m3-6h3\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\\"/><circle cx=\\"12\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16 11l2 2l4-4m-6 12v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-cog":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 15H6a4 4 0 0 0-4 4v2m12.305-4.47l.923-.382m0-2.296l-.923-.383m2.547-1.241l-.383-.923m.383 6.467l-.383.924m2.679-6.468l.383-.923m-.001 7.391l-.382-.924m1.624-3.92l.924-.383m-.924 2.679l.924.383\\"/><circle cx=\\"18\\" cy=\\"15\\" r=\\"3\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-minus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"M22 11h-6\\"/></g>"},"user-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.5 15H7a4 4 0 0 0-4 4v2m18.378-4.374a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\\"/><circle cx=\\"10\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"M19 8v6m3-3h-6\\"/></g>"},"user-round-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 21a8 8 0 0 1 13.292-6\\"/><circle cx=\\"10\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M19 16v6m3-3h-6\\"/></g>"},"user-round-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\"/><circle cx=\\"10\\" cy=\\"8\\" r=\\"5\\"/></g>"},"user-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"m17 8l5 5m0-5l-5 5\\"/></g>"},"users":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"volume-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728\\"/>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"wrap-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16 16l-2 2l2 2\\"/><path d=\\"M3 12h15a3 3 0 1 1 0 6h-4M3 18h7M3 6h18\\"/></g>","hidden":true},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"},"zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);yf=!0}var xf={install(){bf((e,t)=>{let n=e.indexOf(`:`);return n!==-1&&e.slice(0,n).includes(`-`)&&ed(e.replace(`:`,`-`),t),ed(e,t)})}};function Sf(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function Cf(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Sf(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var wf=new Set([`link`,`style`,`script`,`noscript`]),Tf=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Ef=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Df=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),Of=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),kf=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Af=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),jf=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Mf={critical:-8,high:-1,low:2},Nf=e=>typeof e==`number`?Number.isFinite(e):e;function Pf(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function Ff(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?Ff(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var If=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function Lf(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Lf(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function Rf(e,t,n){if(e.length>0)return Lf(e,t,0,If(n))}function zf(e,t,n){if(e.length>0){let r=If(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function Bf(e,t){for(let n of[...e])n(t)}var Vf=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=Ff(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=Ff(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(Rf,e,t)}callHookParallel(e,...t){return this.callHookWith(zf,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Bf(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Bf(this._after,r)}):(this._after&&r&&Bf(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Hf(){return new Vf}var Uf=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return Lf(n.slice(),t,0)}};function Wf(e){let t=new Uf;for(let n in e||{})t.hook(n,e[n]);return t}function Gf(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function Kf(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Sf(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var qf=/^(?:viewport|description|keywords|robots)$/,Jf=[`name`,`property`,`http-equiv`];function Yf(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return jf.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function Xf(e){let{props:t,tag:n,key:r}=e;if(Of.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Jf){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!qf.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:Tf.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function Zf(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function Qf(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=Qf(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Pf(n),a=i?void 0:Qf(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var $f=/[\s"'<>/=\x00-\x1F\x7F]/;function ep(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function tp(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Ef.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Pf(r))continue;let i=r.startsWith(`data-`),a=n&&!kf.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||$f.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=ep(r,s);else if(kf.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function np(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),Qf(e,n)}function rp(e,t){let n=tp({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&wf.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function ip(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function ap(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=np(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)ip(n,rp(t,e));else ip(n,rp(t,r))}}return n}var op=/</g,sp=/<\/script/g,cp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,lp=()=>100;function up(e){for(let t in e)return!1;return!0}var dp=/^tags:|:render/;function fp(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function pp(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function mp(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(cp)}function hp(e){let t=!1;for(let n of e.tags.sort(cp)){let r=n._d||Zf(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(Af.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Yf(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function gp(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function _p(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(Df.has(i)&&(!up(a)||Nf(r)||Nf(n.textContent))&&(i!==`meta`||Nf(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(op,`\\u003C`):typeof e==`string`?e.replace(sp,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=Xf(n)}e[t++]=n}}return e.length=t,e}function vp(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??lp,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};fp(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&Gf(e,`entries:resolve`,{entries:a,...r})),fp(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||up(t.options)))a=t._precomputedTags;else{if(a=ap(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!up(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};Gf(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=Xf(r),r._d||(r._h=Zf(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&dp.test(e)){pp(r.tags);break}let o=hp(r);return gp(r,e),mp(r,o),Gf(e,`tags:beforeResolve`,r),Gf(e,`tags:resolve`,r),Gf(e,`tags:afterResolve`,r),_p(r.tags)}var yp=/\s+/;function bp(e={}){return t=>Cp(t,e)}function xp(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Sp(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(yp))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Cp(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!xp(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Gf(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Sp(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=vp(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&Yf(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):Ef.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Ef.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=tp({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Xf(i)||Zf(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Gf(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||xp(e))&&Cp(e,t),a}var wp=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Mf[e.tagPriority]||0);function Tp(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||bp({document:e.document}),n=Kf(Cf(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:wp,init:[]}),Wf(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}var Ep=`usehead`;function Dp(){if(wr()){let e=F(Ep);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function Op(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ep,e)}}.install}var kp=Object.assign((e,t)=>fn(t)?_n(t):t,{_static:!0});function Ap(e,t={}){let n=t.head||Dp();return n.ssr?n.push(e||{},t):jp(n,e,t)}function jp(e,t,n={}){let r=Le();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=M(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return Dr(()=>{let r=i.value?{}:Qf(t,kp);a?a.patch(r):a=e.push(r,n)}),Ls()?(ra(()=>{a.dispose()}),Ki(()=>{i.value=!0}),Gi(()=>{i.value=!1})):r&&Re(()=>a.dispose()),a}function Mp(e={}){let t=bp(),n,r=0;return n=Tp({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=Op(n),n}var Np={install(e){if(e._context.provides.usehead)return;let t=Mp();e.use(t)}},Pp={install(e,t){t?.router&&typeof t.router==`function`&&e.provide(`nuxtui:router`,t.router)}},Fp={inherit:`inherit`,current:`currentcolor`,transparent:`transparent`,black:`#000`,white:`#fff`,slate:{50:`oklch(98.4% 0.003 247.858)`,100:`oklch(96.8% 0.007 247.896)`,200:`oklch(92.9% 0.013 255.508)`,300:`oklch(86.9% 0.022 252.894)`,400:`oklch(70.4% 0.04 256.788)`,500:`oklch(55.4% 0.046 257.417)`,600:`oklch(44.6% 0.043 257.281)`,700:`oklch(37.2% 0.044 257.287)`,800:`oklch(27.9% 0.041 260.031)`,900:`oklch(20.8% 0.042 265.755)`,950:`oklch(12.9% 0.042 264.695)`},gray:{50:`oklch(98.5% 0.002 247.839)`,100:`oklch(96.7% 0.003 264.542)`,200:`oklch(92.8% 0.006 264.531)`,300:`oklch(87.2% 0.01 258.338)`,400:`oklch(70.7% 0.022 261.325)`,500:`oklch(55.1% 0.027 264.364)`,600:`oklch(44.6% 0.03 256.802)`,700:`oklch(37.3% 0.034 259.733)`,800:`oklch(27.8% 0.033 256.848)`,900:`oklch(21% 0.034 264.665)`,950:`oklch(13% 0.028 261.692)`},zinc:{50:`oklch(98.5% 0 none)`,100:`oklch(96.7% 0.001 286.375)`,200:`oklch(92% 0.004 286.32)`,300:`oklch(87.1% 0.006 286.286)`,400:`oklch(70.5% 0.015 286.067)`,500:`oklch(55.2% 0.016 285.938)`,600:`oklch(44.2% 0.017 285.786)`,700:`oklch(37% 0.013 285.805)`,800:`oklch(27.4% 0.006 286.033)`,900:`oklch(21% 0.006 285.885)`,950:`oklch(14.1% 0.005 285.823)`},neutral:{50:`oklch(98.5% 0 none)`,100:`oklch(97% 0 none)`,200:`oklch(92.2% 0 none)`,300:`oklch(87% 0 none)`,400:`oklch(70.8% 0 none)`,500:`oklch(55.6% 0 none)`,600:`oklch(43.9% 0 none)`,700:`oklch(37.1% 0 none)`,800:`oklch(26.9% 0 none)`,900:`oklch(20.5% 0 none)`,950:`oklch(14.5% 0 none)`},stone:{50:`oklch(98.5% 0.001 106.423)`,100:`oklch(97% 0.001 106.424)`,200:`oklch(92.3% 0.003 48.717)`,300:`oklch(86.9% 0.005 56.366)`,400:`oklch(70.9% 0.01 56.259)`,500:`oklch(55.3% 0.013 58.071)`,600:`oklch(44.4% 0.011 73.639)`,700:`oklch(37.4% 0.01 67.558)`,800:`oklch(26.8% 0.007 34.298)`,900:`oklch(21.6% 0.006 56.043)`,950:`oklch(14.7% 0.004 49.25)`},mauve:{50:`oklch(98.5% 0 none)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},red:{50:`oklch(97.1% 0.013 17.38)`,100:`oklch(93.6% 0.032 17.717)`,200:`oklch(88.5% 0.062 18.334)`,300:`oklch(80.8% 0.114 19.571)`,400:`oklch(70.4% 0.191 22.216)`,500:`oklch(63.7% 0.237 25.331)`,600:`oklch(57.7% 0.245 27.325)`,700:`oklch(50.5% 0.213 27.518)`,800:`oklch(44.4% 0.177 26.899)`,900:`oklch(39.6% 0.141 25.723)`,950:`oklch(25.8% 0.092 26.042)`},orange:{50:`oklch(98% 0.016 73.684)`,100:`oklch(95.4% 0.038 75.164)`,200:`oklch(90.1% 0.076 70.697)`,300:`oklch(83.7% 0.128 66.29)`,400:`oklch(75% 0.183 55.934)`,500:`oklch(70.5% 0.213 47.604)`,600:`oklch(64.6% 0.222 41.116)`,700:`oklch(55.3% 0.195 38.402)`,800:`oklch(47% 0.157 37.304)`,900:`oklch(40.8% 0.123 38.172)`,950:`oklch(26.6% 0.079 36.259)`},amber:{50:`oklch(98.7% 0.022 95.277)`,100:`oklch(96.2% 0.059 95.617)`,200:`oklch(92.4% 0.12 95.746)`,300:`oklch(87.9% 0.169 91.605)`,400:`oklch(82.8% 0.189 84.429)`,500:`oklch(76.9% 0.188 70.08)`,600:`oklch(66.6% 0.179 58.318)`,700:`oklch(55.5% 0.163 48.998)`,800:`oklch(47.3% 0.137 46.201)`,900:`oklch(41.4% 0.112 45.904)`,950:`oklch(27.9% 0.077 45.635)`},yellow:{50:`oklch(98.7% 0.026 102.212)`,100:`oklch(97.3% 0.071 103.193)`,200:`oklch(94.5% 0.129 101.54)`,300:`oklch(90.5% 0.182 98.111)`,400:`oklch(85.2% 0.199 91.936)`,500:`oklch(79.5% 0.184 86.047)`,600:`oklch(68.1% 0.162 75.834)`,700:`oklch(55.4% 0.135 66.442)`,800:`oklch(47.6% 0.114 61.907)`,900:`oklch(42.1% 0.095 57.708)`,950:`oklch(28.6% 0.066 53.813)`},lime:{50:`oklch(98.6% 0.031 120.757)`,100:`oklch(96.7% 0.067 122.328)`,200:`oklch(93.8% 0.127 124.321)`,300:`oklch(89.7% 0.196 126.665)`,400:`oklch(84.1% 0.238 128.85)`,500:`oklch(76.8% 0.233 130.85)`,600:`oklch(64.8% 0.2 131.684)`,700:`oklch(53.2% 0.157 131.589)`,800:`oklch(45.3% 0.124 130.933)`,900:`oklch(40.5% 0.101 131.063)`,950:`oklch(27.4% 0.072 132.109)`},green:{50:`oklch(98.2% 0.018 155.826)`,100:`oklch(96.2% 0.044 156.743)`,200:`oklch(92.5% 0.084 155.995)`,300:`oklch(87.1% 0.15 154.449)`,400:`oklch(79.2% 0.209 151.711)`,500:`oklch(72.3% 0.219 149.579)`,600:`oklch(62.7% 0.194 149.214)`,700:`oklch(52.7% 0.154 150.069)`,800:`oklch(44.8% 0.119 151.328)`,900:`oklch(39.3% 0.095 152.535)`,950:`oklch(26.6% 0.065 152.934)`},emerald:{50:`oklch(97.9% 0.021 166.113)`,100:`oklch(95% 0.052 163.051)`,200:`oklch(90.5% 0.093 164.15)`,300:`oklch(84.5% 0.143 164.978)`,400:`oklch(76.5% 0.177 163.223)`,500:`oklch(69.6% 0.17 162.48)`,600:`oklch(59.6% 0.145 163.225)`,700:`oklch(50.8% 0.118 165.612)`,800:`oklch(43.2% 0.095 166.913)`,900:`oklch(37.8% 0.077 168.94)`,950:`oklch(26.2% 0.051 172.552)`},teal:{50:`oklch(98.4% 0.014 180.72)`,100:`oklch(95.3% 0.051 180.801)`,200:`oklch(91% 0.096 180.426)`,300:`oklch(85.5% 0.138 181.071)`,400:`oklch(77.7% 0.152 181.912)`,500:`oklch(70.4% 0.14 182.503)`,600:`oklch(60% 0.118 184.704)`,700:`oklch(51.1% 0.096 186.391)`,800:`oklch(43.7% 0.078 188.216)`,900:`oklch(38.6% 0.063 188.416)`,950:`oklch(27.7% 0.046 192.524)`},cyan:{50:`oklch(98.4% 0.019 200.873)`,100:`oklch(95.6% 0.045 203.388)`,200:`oklch(91.7% 0.08 205.041)`,300:`oklch(86.5% 0.127 207.078)`,400:`oklch(78.9% 0.154 211.53)`,500:`oklch(71.5% 0.143 215.221)`,600:`oklch(60.9% 0.126 221.723)`,700:`oklch(52% 0.105 223.128)`,800:`oklch(45% 0.085 224.283)`,900:`oklch(39.8% 0.07 227.392)`,950:`oklch(30.2% 0.056 229.695)`},sky:{50:`oklch(97.7% 0.013 236.62)`,100:`oklch(95.1% 0.026 236.824)`,200:`oklch(90.1% 0.058 230.902)`,300:`oklch(82.8% 0.111 230.318)`,400:`oklch(74.6% 0.16 232.661)`,500:`oklch(68.5% 0.169 237.323)`,600:`oklch(58.8% 0.158 241.966)`,700:`oklch(50% 0.134 242.749)`,800:`oklch(44.3% 0.11 240.79)`,900:`oklch(39.1% 0.09 240.876)`,950:`oklch(29.3% 0.066 243.157)`},blue:{50:`oklch(97% 0.014 254.604)`,100:`oklch(93.2% 0.032 255.585)`,200:`oklch(88.2% 0.059 254.128)`,300:`oklch(80.9% 0.105 251.813)`,400:`oklch(70.7% 0.165 254.624)`,500:`oklch(62.3% 0.214 259.815)`,600:`oklch(54.6% 0.245 262.881)`,700:`oklch(48.8% 0.243 264.376)`,800:`oklch(42.4% 0.199 265.638)`,900:`oklch(37.9% 0.146 265.522)`,950:`oklch(28.2% 0.091 267.935)`},indigo:{50:`oklch(96.2% 0.018 272.314)`,100:`oklch(93% 0.034 272.788)`,200:`oklch(87% 0.065 274.039)`,300:`oklch(78.5% 0.115 274.713)`,400:`oklch(67.3% 0.182 276.935)`,500:`oklch(58.5% 0.233 277.117)`,600:`oklch(51.1% 0.262 276.966)`,700:`oklch(45.7% 0.24 277.023)`,800:`oklch(39.8% 0.195 277.366)`,900:`oklch(35.9% 0.144 278.697)`,950:`oklch(25.7% 0.09 281.288)`},violet:{50:`oklch(96.9% 0.016 293.756)`,100:`oklch(94.3% 0.029 294.588)`,200:`oklch(89.4% 0.057 293.283)`,300:`oklch(81.1% 0.111 293.571)`,400:`oklch(70.2% 0.183 293.541)`,500:`oklch(60.6% 0.25 292.717)`,600:`oklch(54.1% 0.281 293.009)`,700:`oklch(49.1% 0.27 292.581)`,800:`oklch(43.2% 0.232 292.759)`,900:`oklch(38% 0.189 293.745)`,950:`oklch(28.3% 0.141 291.089)`},purple:{50:`oklch(97.7% 0.014 308.299)`,100:`oklch(94.6% 0.033 307.174)`,200:`oklch(90.2% 0.063 306.703)`,300:`oklch(82.7% 0.119 306.383)`,400:`oklch(71.4% 0.203 305.504)`,500:`oklch(62.7% 0.265 303.9)`,600:`oklch(55.8% 0.288 302.321)`,700:`oklch(49.6% 0.265 301.924)`,800:`oklch(43.8% 0.218 303.724)`,900:`oklch(38.1% 0.176 304.987)`,950:`oklch(29.1% 0.149 302.717)`},fuchsia:{50:`oklch(97.7% 0.017 320.058)`,100:`oklch(95.2% 0.037 318.852)`,200:`oklch(90.3% 0.076 319.62)`,300:`oklch(83.3% 0.145 321.434)`,400:`oklch(74% 0.238 322.16)`,500:`oklch(66.7% 0.295 322.15)`,600:`oklch(59.1% 0.293 322.896)`,700:`oklch(51.8% 0.253 323.949)`,800:`oklch(45.2% 0.211 324.591)`,900:`oklch(40.1% 0.17 325.612)`,950:`oklch(29.3% 0.136 325.661)`},pink:{50:`oklch(97.1% 0.014 343.198)`,100:`oklch(94.8% 0.028 342.258)`,200:`oklch(89.9% 0.061 343.231)`,300:`oklch(82.3% 0.12 346.018)`,400:`oklch(71.8% 0.202 349.761)`,500:`oklch(65.6% 0.241 354.308)`,600:`oklch(59.2% 0.249 0.584)`,700:`oklch(52.5% 0.223 3.958)`,800:`oklch(45.9% 0.187 3.815)`,900:`oklch(40.8% 0.153 2.432)`,950:`oklch(28.4% 0.109 3.907)`},rose:{50:`oklch(96.9% 0.015 12.422)`,100:`oklch(94.1% 0.03 12.58)`,200:`oklch(89.2% 0.058 10.001)`,300:`oklch(81% 0.117 11.638)`,400:`oklch(71.2% 0.194 13.428)`,500:`oklch(64.5% 0.246 16.439)`,600:`oklch(58.6% 0.253 17.585)`,700:`oklch(51.4% 0.222 16.935)`,800:`oklch(45.5% 0.188 13.697)`,900:`oklch(41% 0.159 10.272)`,950:`oklch(27.1% 0.105 12.094)`}};function Ip(e,t){return Le()?(Re(e,t),!0):!1}function Lp(e){let t=!1,n,r=Ie(!0);return((...i)=>(t||=(n=r.run(()=>e(...i)),!0),n))}var Rp=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var zp=e=>e!==void 0,Bp=Object.prototype.toString,Vp=e=>Bp.call(e)===`[object Object]`,Hp=()=>{},Up=Wp();function Wp(){var e,t;return Rp&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Gp(...e){if(e.length!==1)return Tn(...e);let t=e[0];return typeof t==`function`?tn(xn(()=>({get:t,set:Hp}))):M(t)}function Kp(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function qp(e,t={}){let n,r,i=Hp,a=Hp,o=pn(!1),s=e=>{clearTimeout(e),i(),i=Hp},c;return Object.assign(l=>{let u=_n(e),d=_n(t.maxWait);return n&&s(n),u<=0||d!==void 0&&d<=0?(r&&=(s(r),void 0),o.value=!1,Promise.resolve(l())):(o.value=!0,new Promise((e,f)=>{i=t.rejectOnCancel?f:e,a=e,c=l,d&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,o.value=!1,e(c())},d)),n=setTimeout(()=>{r&&s(r),r=void 0,o.value=!1,e(l())},u)}))},{cancel:()=>{n&&=(s(n),void 0),r&&=(s(r),void 0),o.value=!1,a=Hp},flush:()=>{if(o.value){n&&=(clearTimeout(n),void 0),r&&=(clearTimeout(r),void 0),o.value=!1;let e=a;i=Hp,a=Hp,e(c())}},isPending:nn(o)})}function Jp(e){return Array.isArray(e)?e:[e]}function Yp(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}var Xp=/-(\w)/g,Zp=Yp(e=>e.replace(Xp,(e,t)=>t?t.toUpperCase():``));function Qp(e){return e||Ls()}function $p(e){if(!Rp)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=Ie(!0),n=r.run(()=>e(...a))),Ip(i),n))}function em(e,t){if(typeof Symbol<`u`){let n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function tm(e){return $t(fn(e)?new Proxy({},{get(t,n,r){return N(Reflect.get(e.value,n,r))},set(t,n,r){return fn(e.value[n])&&!fn(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function nm(e){return tm(J(e))}function rm(e,...t){let n=t.flat(),r=n[0];return nm(()=>Object.fromEntries(typeof r==`function`?Object.entries(Sn(e)).filter(([e,t])=>r(_n(t),e)):n.map(t=>[t,Gp(e,t)])))}function im(e,t=200,n={}){return Kp(qp(t,n),e)}function am(e,t){Qp(t)&&ra(e,t)}function om(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=pn(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},_n(t))}return r&&(a.value=!0,Rp&&l()),Ip(c),{isPending:nn(a),start:l,stop:c}}function sm(e=1e3,t={}){let{controls:n=!1,callback:r}=t,i=om(r??Hp,e,t),a=J(()=>!i.isPending.value);return n?{ready:a,...i}:a}function cm(e,t,n){return I(e,t,{...n,immediate:!0})}function lm(e={}){let{inheritAttrs:t=!0,name:n=`ReusableTemplate`}=e,r=pn(),i=L({name:`${n}.define`,setup(e,{slots:t}){return()=>{r.value=t.default}}}),a=L({inheritAttrs:t,name:`${n}.reuse`,props:e.props,setup(n,{attrs:i,slots:a}){return()=>{if(!r.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=r.value?.call(r,{...e.props==null?um(i):n,$slots:a});return t&&o?.length===1?o[0]:o}}});return em({define:i,reuse:a},[i,a])}function um(e){let t={};for(let n in e)t[Zp(n)]=e[n];return t}Rp&&window.document,Rp&&window.navigator,Rp&&window.location;var dm={ui:{colors:{primary:`blue`,secondary:`blue`,success:`green`,info:`blue`,warning:`yellow`,error:`red`,neutral:`zinc`},icons:{arrowDown:`i-lucide-arrow-down`,arrowLeft:`i-lucide-arrow-left`,arrowRight:`i-lucide-arrow-right`,arrowUp:`i-lucide-arrow-up`,caution:`i-lucide-circle-alert`,check:`i-lucide-check`,chevronDoubleLeft:`i-lucide-chevrons-left`,chevronDoubleRight:`i-lucide-chevrons-right`,chevronDown:`i-lucide-chevron-down`,chevronLeft:`i-lucide-chevron-left`,chevronRight:`i-lucide-chevron-right`,chevronUp:`i-lucide-chevron-up`,close:`i-lucide-x`,copy:`i-lucide-copy`,copyCheck:`i-lucide-copy-check`,dark:`i-lucide-moon`,drag:`i-lucide-grip-vertical`,ellipsis:`i-lucide-ellipsis`,error:`i-lucide-circle-x`,external:`i-lucide-arrow-up-right`,eye:`i-lucide-eye`,eyeOff:`i-lucide-eye-off`,file:`i-lucide-file`,folder:`i-lucide-folder`,folderOpen:`i-lucide-folder-open`,hash:`i-lucide-hash`,info:`i-lucide-info`,light:`i-lucide-sun`,loading:`i-lucide-loader-circle`,menu:`i-lucide-menu`,minus:`i-lucide-minus`,panelClose:`i-lucide-panel-left-close`,panelOpen:`i-lucide-panel-left-open`,plus:`i-lucide-plus`,reload:`i-lucide-rotate-ccw`,search:`i-lucide-search`,stop:`i-lucide-square`,star:`i-lucide-star`,success:`i-lucide-circle-check`,system:`i-lucide-monitor`,tip:`i-lucide-lightbulb`,upload:`i-lucide-upload`,warning:`i-lucide-triangle-alert`},tv:{twMergeConfig:{}}},colorMode:!1,icon:{}},fm=$t(dm),pm=()=>fm;function mm(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function hm(e,t,n=`.`,r){if(!mm(t))return hm(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:mm(a)&&mm(i[t])?hm(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function gm(e){return(...t)=>t.reduce((t,n)=>hm(t,n,``,e),{})}var _m=gm();function vm(e){return _m(e,{dir:`ltr`})}String.fromCharCode;var ym=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,bm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,xm=/^([/\\]\s*){2,}[^/\\]/;function Sm(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?ym.test(e):bm.test(e)||(t.acceptRelative?xm.test(e):!1)}function Cm(e,t){let n={...e};for(let e of t)delete n[e];return n}function wm(e,t,n){let r=typeof t==`string`?t.split(`.`):t,i=e;for(let e of r){if(i==null)return n;i=i[e]}return i===void 0?n:i}function Tm(e,t){return!e&&!t?``:[...Array.isArray(e)?e:[e],t].filter(Boolean)}function Em(e){return(t,n)=>Dm(t,n,N(e))}function Dm(e,t,n){return wm(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`)}function Om(e){return{lang:J(()=>N(e).name),code:J(()=>N(e).code),dir:J(()=>N(e).dir),locale:fn(e)?e:M(e),t:Em(e)}}var km=vm({name:`English`,code:`en`,messages:{alert:{close:`Close`},authForm:{hidePassword:`Hide password`,showPassword:`Show password`,submit:`Continue`},banner:{close:`Close`},calendar:{nextMonth:`Next month`,nextYear:`Next year`,prevMonth:`Previous month`,prevYear:`Previous year`},carousel:{dots:`Choose slide to display`,goto:`Go to slide {slide}`,next:`Next`,prev:`Prev`},chatPrompt:{placeholder:`Type your message here…`},chatPromptSubmit:{label:`Send prompt`},colorMode:{dark:`Dark`,light:`Light`,switchToDark:`Switch to dark mode`,switchToLight:`Switch to light mode`,system:`System`},commandPalette:{back:`Back`,close:`Close`,noData:`No data`,noMatch:`No matching data`,placeholder:`Type a command or search…`},contentSearch:{links:`Links`,search:`Results`,theme:`Theme`},contentSearchButton:{label:`Search…`},contentToc:{title:`On this page`},dropdownMenu:{noMatch:`No matching data`,search:`Search…`},dashboardSearch:{theme:`Theme`},dashboardSearchButton:{label:`Search…`},dashboardSidebarCollapse:{collapse:`Collapse sidebar`,expand:`Expand sidebar`},dashboardSidebarToggle:{close:`Close sidebar`,open:`Open sidebar`},drawer:{close:`Close`},error:{clear:`Back to home`},fileUpload:{removeFile:`Remove {filename}`},header:{close:`Close menu`,open:`Open menu`},inputMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`},inputNumber:{decrement:`Decrement`,increment:`Increment`},listbox:{noData:`No data`,noMatch:`No matching data`,search:`Search…`},modal:{close:`Close`},pricingTable:{caption:`Pricing plan comparison`},prose:{codeCollapse:{closeText:`Collapse`,name:`code`,openText:`Expand`},collapsible:{closeText:`Hide`,name:`properties`,openText:`Show`},pre:{copy:`Copy code to clipboard`},prompt:{copy:`Copy prompt`,openIn:`Open in {name}`}},chatReasoning:{thinking:`Thinking…`,thought:`Thought`,thoughtFor:`Thought for {duration}`},sidebar:{close:`Close`,toggle:`Toggle`},selectMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`,search:`Search…`},slideover:{close:`Close`},table:{noData:`No data`},toast:{close:`Close`}}}),Am=Symbol.for(`nuxt-ui.locale-context`),jm=$p(e=>{let t=e||Tn(F(Am,km));return Om(J(()=>t.value||km))}),Mm={},Nm=(e,t)=>{if(Mm[e])return Mm[e];let n=M(t());return Mm[e]=n,n},Pm=Hf();function Fm(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:Pm,hook:Pm.hook}}function Im(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}var Lm=[50,100,200,300,400,500,600,700,800,900,950];function Rm(e,t){return e in Fp&&typeof Fp[e]==`object`&&t in Fp[e]?Fp[e][t]:``}function zm(e,t,n){let r=n?`${n}-`:``;return`${Lm.map(n=>`--ui-color-${e}-${n}: var(--${r}color-${t===`neutral`?`old-neutral`:t}-${n}, ${Rm(t,n)});`).join(`
5
- `)}`}function Bm(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function Vm(){document.querySelector(`[data-nuxt-ui-colors]`)?.remove()}var Hm=Im(()=>{let e=pm(),t=Fm(),n=J(()=>{let{neutral:t,...n}=e.ui.colors,r=e.ui.prefix;return`@layer theme {
3
+ `)&&(Di(e,0)||_i(),e.textContent=t.children)}if(d){if(_||b||!o||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let a in d)if(_&&(a.endsWith(`value`)||a===`indeterminate`)||s(a)&&!te(a)||a[0]===`.`||t&&!te(a)||u&&u.includes(a)){if(wi(e,a,d[a]))continue;r(e,a,null,d[a],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&rn(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&Ms(x,n,t),h&&Sr(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&cs(()=>{x&&Ms(x,n,t),l&&g.enter(e),h&&Sr(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,o,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=ks(d[t]),g=h.type===ds;e?(g&&!u&&t+1<p&&ks(d[t+1]).type===ds&&(l(i(e.data.slice(h.children.length)),r,a(e)),e.data=h.children),e=f(e,h,o,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Di(r,1)||_i()),n(null,h,r,null,o,s,bi(r),c))}return e},h=(e,t,n,r,i,s)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=o(e),f=m(a(e),t,d,n,r,i,s);return f&&xi(f)&&f.data===`]`?a(t.anchor=f):(_i(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,s,l)=>{if(ki(e,t)||_i(),t.el=null,l){let t=_(e);for(;;){let n=a(e);if(n&&n!==t)c(n);else break}}let u=a(e),d=o(e);return c(e),n(null,t,d,u,r,i,bi(d),s),r&&(r.vnode.el=t.el,xo(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&xi(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var Ci=new Set([`src`,`srcset`,`href`,`poster`]);function wi(e,t,n){return Ci.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var Ti=`data-allow-mismatch`,Ei={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Di(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ti);)e=e.parentElement;return Oi(e&&e.getAttribute(Ti),t)}function Oi(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Ei[t])}}function ki(e,t){return Di(e.parentElement,1)||Ai(e)||ji(t)}function Ai(e){return e.nodeType===1&&Oi(e.getAttribute(Ti),1)}function ji({props:e}){let t=e&&e[Ti];return typeof t==`string`&&Oi(t,1)}var Mi=pe().requestIdleCallback||(e=>setTimeout(e,1)),Ni=pe().cancelIdleCallback||(e=>clearTimeout(e)),Pi=(e=1e4)=>t=>{let n=Mi(t,{timeout:e});return()=>Ni(n)};function Fi(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}var Ii=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e),i=e=>{if(Fi(e))return t(),r.disconnect(),!1;if(getComputedStyle(e).display===`contents`){for(let t=0;t<e.children.length;t++)if(i(e.children[t])===!1)return!1}r.observe(e)};return n(e=>{if(e instanceof Element)return i(e)}),()=>r.disconnect()},Li=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},Ri=(e=[])=>(t,n)=>{y(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a};function zi(e,t){if(xi(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(xi(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var Bi=e=>!!e.type.__asyncLoader;function Vi(e){v(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return I({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>zi(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=Ls;if(ui(e),u)return()=>Hi(u,e);let t=t=>{l=null,Kn(t,e,13,!r)};if(s&&e.suspense||Ws)return p().then(t=>()=>Hi(t,e)).catch(e=>(t(e),()=>r?U(r,{error:e}):null));let a=M(!1),c=M(),d=M(!!i),f,m;return aa(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Ui(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?l=null:(t(n),c.value=n)}),()=>{if(a.value&&u)return Hi(u,e);if(c.value&&r)return U(r,{error:c.value});if(n&&!d.value)return Hi(n,e)}}})}function Hi(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=U(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var Ui=e=>e.type.__isKeepAlive,Wi={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Rs(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),Bo(()=>{a.isDeactivated=!1,a.a&&ce(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Ms(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Xo(t.m),Xo(t.a),l(e,f,null,1,s),Bo(()=>{t.da&&ce(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Ms(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Xi(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=nc(Bi(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!xs(t,o))?p(t):o&&(Xi(o),t&&Xi(t)),i.delete(e),a.delete(e)}F(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Gi(e,t)),t&&m(e=>!Gi(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(Qo(n.subTree.type)?Bo(()=>{let e=Zi(n.subTree);e.component&&i.set(g,e)},n.subTree.suspense):i.set(g,Zi(n.subTree)))};return ta(_),ra(_),ia(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Zi(t);if(e.type===i.type&&e.key===i.key){Xi(i);let e=i.component.da;e&&Bo(e,r)}else p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!bs(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Zi(r);if(s.type===fs)return o=null,s;let c=s.type,l=nc(Bi(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Gi(u,l))||d&&l&&Gi(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=Ds(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&oi(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Qo(r.type)?r:s}}};function Gi(e,t){return p(e)?e.some(e=>Gi(e,t)):y(e)?e.split(`,`).includes(t):_(e)?(e.lastIndex=0,e.test(t)):!1}function Ki(e,t){Ji(e,`a`,t)}function qi(e,t){Ji(e,`da`,t)}function Ji(e,t,n=Ls){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Qi(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ui(e.parent.vnode)&&Yi(r,t,n,e),e=e.parent}}function Yi(e,t,n,r){let i=Qi(t,e,r,!0);aa(()=>{u(r[t],i)},n)}function Xi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zi(e){return e.shapeFlag&128?e.ssContent:e}function Qi(e,t,n=Ls,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{nt();let i=Vs(n),a=Gn(t,n,e,r);return i(),rt(),a};return r?i.unshift(a):i.push(a),a}}var $i=e=>(t,n=Ls)=>{(!Ws||e===`sp`)&&Qi(e,(...e)=>t(...e),n)},ea=$i(`bm`),ta=$i(`m`),na=$i(`bu`),ra=$i(`u`),ia=$i(`bum`),aa=$i(`um`),oa=$i(`sp`),sa=$i(`rtg`),ca=$i(`rtc`);function la(e,t=Ls){Qi(`ec`,e,t)}var ua=`components`,da=`directives`;function fa(e,t){return ga(ua,e,!0,t)||e}var pa=Symbol.for(`v-ndc`);function ma(e){return y(e)?ga(ua,e,!1)||e:e||pa}function ha(e){return ga(da,e)}function ga(e,t,n=!0,r=!1){let i=hr||Ls;if(i){let n=i.type;if(e===ua){let e=nc(n,!1);if(e&&(e===t||e===D(t)||e===oe(D(t))))return n}let a=_a(i[e]||n[e],t)||_a(i.appContext[e],t);return!a&&r?n:a}}function _a(e,t){return e&&(e[t]||e[D(t)]||e[oe(D(t))])}function va(e,t,n,r){let i,a=n&&n[r],o=p(e);if(o||y(e)){let n=o&&rn(e),r=!1,s=!1;n&&(r=!on(e),s=an(e),e=_t(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?dn(un(e[n])):un(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(x(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function ya(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(p(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function L(e,t,n,r,i,a){if(n??={},hr.ce||hr.parent&&Bi(hr.parent)&&hr.parent.ce){let e=a!=null&&n.key==null?l({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),z(),V(R,null,[U(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=ms.length;z();let c;try{let i=o&&ba(o(n)),s=n.key||a||i&&i.key;c=V(R,{key:(s&&!b(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=ms.length;e>s;e--)gs();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function ba(e){return e.some(e=>!bs(e)||!(e.type===fs||e.type===R&&!ba(e.children)))?e:null}function xa(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:se(r)]=e[r];return n}var Sa=e=>e?Us(e)?tc(e):Sa(e.parent):null,Ca=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Sa(e.parent),$root:e=>Sa(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qa(e),$forceUpdate:e=>e.f||=()=>{rr(e.update)},$nextTick:e=>e.n||=tr.bind(e.proxy),$watch:e=>Mr.bind(e)}),wa=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),Ta={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else if(wa(i,t))return s[t]=1,i[t];else if(a!==r&&f(a,t))return s[t]=2,a[t];else if(f(o,t))return s[t]=3,o[t];else if(n!==r&&f(n,t))return s[t]=4,n[t];else Ha&&(s[t]=0)}let u=Ca[t],d,p;if(u)return t===`$attrs`&&pt(e.attrs,`get`,``),u(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==r&&f(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,f(p,t))return p[t]},set({_:e},t,n){let{data:i,setupState:a,ctx:o}=e;return wa(a,t)?(a[t]=n,!0):i!==r&&f(i,t)?(i[t]=n,!0):f(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(n[c]||e!==r&&c[0]!==`$`&&f(e,c)||wa(t,c)||f(o,c)||f(i,c)||f(Ca,c)||f(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?f(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Ea=l({},Ta,{get(e,t){if(t!==Symbol.unscopables)return Ta.get(e,t,e)},has(e,t){return t[0]!==`_`&&!me(t)}});function Da(){return null}function Oa(){return null}function ka(e){}function Aa(e){}function ja(){return null}function Ma(){}function Na(e,t){return null}function Pa(){return Ia(`useSlots`).slots}function Fa(){return Ia(`useAttrs`).attrs}function Ia(e){let t=Rs();return t.setupContext||=ec(t)}function La(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function Ra(e,t){let n=La(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?p(r)||v(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function za(e,t){return!e||!t?e||t:p(e)&&p(t)?e.concat(t):l({},La(e),La(t))}function Ba(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Va(e){let t=Rs(),n=Ws,r=e();Hs(),n&&Bs(!1);let i=()=>{Vs(t),n&&Bs(!0)},a=()=>{Rs()!==t&&t.scope.off(),Hs(),n&&Bs(!1)};return S(r)&&(r=r.catch(e=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(a)),e})),[r,()=>{i(),Promise.resolve().then(a)}]}var Ha=!0;function Ua(e){let t=qa(e),n=e.proxy,r=e.ctx;Ha=!1,t.beforeCreate&&Ga(t.beforeCreate,e,`bc`);let{data:i,computed:o,methods:s,watch:c,provide:l,inject:u,created:d,beforeMount:f,mounted:m,beforeUpdate:h,updated:g,activated:_,deactivated:y,beforeDestroy:b,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:ee,renderTriggered:E,errorCaptured:te,serverPrefetch:ne,expose:re,inheritAttrs:D,components:ie,directives:ae,filters:oe}=t;if(u&&Wa(u,r,null),s)for(let e in s){let t=s[e];v(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);x(t)&&(e.data=Qt(t))}if(Ha=!0,o)for(let e in o){let t=o[e],i=q({get:v(t)?t.bind(n,n):v(t.get)?t.get.bind(n,n):a,set:!v(t)&&v(t.set)?t.set.bind(n):a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(c)for(let e in c)Ka(c[e],r,n,e);if(l){let e=v(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Cr(t,e[t])})}d&&Ga(d,e,`c`);function se(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(se(ea,f),se(ta,m),se(na,h),se(ra,g),se(Ki,_),se(qi,y),se(la,te),se(ca,ee),se(sa,E),se(ia,S),se(aa,w),se(oa,ne),p(re)){if(re.length){let t=e.exposed||={};re.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}T&&e.render===a&&(e.render=T),D!=null&&(e.inheritAttrs=D),ie&&(e.components=ie),ae&&(e.directives=ae),ne&&ui(e)}function Wa(e,t,n=a){p(e)&&(e=Qa(e));for(let n in e){let r=e[n],i;i=x(r)?`default`in r?wr(r.from||n,r.default,!0):wr(r.from||n):wr(r),fn(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ga(e,t,n){Gn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ka(e,t,n,r){let i=r.includes(`.`)?Nr(n,r):()=>n[r];if(y(e)){let n=t[e];v(n)&&F(i,n)}else if(v(e))F(i,e.bind(n));else if(x(e)){if(p(e))e.forEach(e=>Ka(e,t,n,r));else{let r=v(e.handler)?e.handler.bind(n):t[e.handler];v(r)&&F(i,r,e)}}}function qa(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Ja(c,e,o,!0)),Ja(c,t,o)),x(t)&&a.set(t,c),c}function Ja(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Ja(e,a,n,!0),i&&i.forEach(t=>Ja(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Ya[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Ya={data:Xa,props:to,emits:to,methods:eo,computed:eo,beforeCreate:$a,created:$a,beforeMount:$a,mounted:$a,beforeUpdate:$a,updated:$a,beforeDestroy:$a,beforeUnmount:$a,destroyed:$a,unmounted:$a,activated:$a,deactivated:$a,errorCaptured:$a,serverPrefetch:$a,components:eo,directives:eo,watch:no,provide:Xa,inject:Za};function Xa(e,t){return t?e?function(){return l(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Za(e,t){return eo(Qa(e),Qa(t))}function Qa(e){if(p(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function $a(e,t){return e?[...new Set([].concat(e,t))]:t}function eo(e,t){return e?l(Object.create(null),e,t):t}function to(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:l(Object.create(null),La(e),La(t??{})):t}function no(e,t){if(!e)return t;if(!t)return e;let n=l(Object.create(null),e);for(let r in t)n[r]=$a(e[r],t[r]);return n}function ro(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var io=0;function ao(e,t){return function(n,r=null){v(n)||(n=l({},n)),r!=null&&!x(r)&&(r=null);let i=ro(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:io++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:cc,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&v(e.install)?(a.add(e),e.install(c,...t)):v(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||U(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,tc(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(Gn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=oo;oo=c;try{return e()}finally{oo=t}}};return c}}var oo=null;function so(e,t,n=r){let i=Rs(),a=D(t),o=ae(t),s=co(e,a),c=xn((s,c)=>{let l,u=r,d;return Ar(()=>{let t=e[a];O(l,t)&&(l=t,c())}),{get(){return s(),n.get?n.get(l):l},set(e){let s=n.set?n.set(e):e;if(!O(s,l)&&!(u!==r&&O(e,u)))return;let f=i.vnode.props,p=!!(f&&(t in f||a in f||o in f)&&(`onUpdate:${t}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${t}`,s),O(e,u)&&(O(e,s)&&!O(s,d)||p&&u!==r&&!O(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||r:c,done:!1}:{done:!0}}}},c}var co=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${D(t)}Modifiers`]||e[`${ae(t)}Modifiers`];function lo(e,t,...n){if(e.isUnmounted)return;let i=e.vnode.props||r,a=n,o=t.startsWith(`update:`),s=o&&co(i,t.slice(7));s&&(s.trim&&(a=n.map(e=>y(e)?e.trim():e)),s.number&&(a=a.map(ue)));let c,l=i[c=se(t)]||i[c=se(D(t))];!l&&o&&(l=i[c=se(ae(t))]),l&&Gn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Gn(u,e,6,a)}}var uo=new WeakMap;function fo(e,t,n=!1){let r=n?uo:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!v(e)){let r=e=>{let n=fo(e,t,!0);n&&(s=!0,l(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(x(e)&&r.set(e,null),null):(p(a)?a.forEach(e=>o[e]=null):l(o,a),x(e)&&r.set(e,o),o)}function po(e,t){return!e||!s(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),f(e,t[0].toLowerCase()+t.slice(1))||f(e,ae(t))||f(e,t))}function mo(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=_r(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=ks(u.call(t,e,d,f,m,p,h)),y=s}else{let e=t;v=ks(e.length>1?e(f,{attrs:s,slots:o,emit:l}):e(f,null)),y=t.props?s:go(s)}}catch(t){ms.length=0,Kn(t,e,1),v=U(fs)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(c)&&(y=_o(y,a)),b=Ds(b,y,!1,!0))}return n.dirs&&(b=Ds(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&oi(Ir(b.type)&&ai(b)||b,n.transition),v=b,_r(_),v}function ho(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(bs(r)){if(r.type!==fs||r.children===`v-if`){if(n)return;n=r}}else return}return n}var go=e=>{let t;for(let n in e)(n===`class`||n===`style`||s(n))&&((t||={})[n]=e[n]);return t},_o=(e,t)=>{let n={};for(let r in e)(!c(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vo(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?yo(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(bo(o,r,n)&&!po(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||yo(r,o,l):!!o;return!1}function yo(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!f(e,a)||bo(t,e,a)&&!po(n,a))return!0}return!1}function bo(e,t,n){let r=e[n],i=t[n];return n===`style`&&x(r)&&x(i)?!Ee(r,i):r!==i}function xo({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var So={},Co=()=>Object.create(So),wo=e=>Object.getPrototypeOf(e)===So;function To(e,t,n,r=!1){let i={},a=Co();e.propsDefaults=Object.create(null),Do(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:$t(i):e.type.props?i:a,e.attrs=a}function Eo(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=cn(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(po(e.emitsOptions,o))continue;let u=t[o];if(c){if(f(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=D(o);i[t]=Oo(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Do(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!f(t,a)&&((r=ae(a))===a||!f(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Oo(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!f(t,e))&&(delete a[e],l=!0)}l&&mt(e.attrs,`set`,``)}function Do(e,t,n,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let r in t){if(te(r))continue;let l=t[r],u;a&&f(a,u=D(r))?!o||!o.includes(u)?n[u]=l:(c||={})[u]=l:po(e.emitsOptions,r)||(!(r in i)||l!==i[r])&&(i[r]=l,s=!0)}if(o){let t=cn(n),i=c||r;for(let r=0;r<o.length;r++){let s=o[r];n[s]=Oo(a,t,s,i[s],e,!f(i,s))}}return s}function Oo(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=f(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&v(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Vs(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ae(n))&&(r=!0))}return r}var ko=new WeakMap;function Ao(e,t,n=!1){let a=n?ko:t.propsCache,o=a.get(e);if(o)return o;let s=e.props,c={},u=[],d=!1;if(!v(e)){let r=e=>{d=!0;let[n,r]=Ao(e,t,!0);l(c,n),r&&u.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!d)return x(e)&&a.set(e,i),i;if(p(s))for(let e=0;e<s.length;e++){let t=D(s[e]);jo(t)&&(c[t]=r)}else if(s)for(let e in s){let t=D(e);if(jo(t)){let n=s[e],r=c[t]=p(n)||v(n)?{type:n}:l({},n),i=r.type,a=!1,o=!0;if(p(i))for(let e=0;e<i.length;++e){let t=i[e],n=v(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=v(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||f(r,`default`))&&u.push(t)}}let m=[c,u];return x(e)&&a.set(e,m),m}function jo(e){return e[0]!==`$`&&!te(e)}var Mo=e=>e===`_`||e===`_ctx`||e===`$stable`,No=e=>p(e)?e.map(ks):[ks(e)],Po=(e,t,n)=>{if(t._n)return t;let r=P((...e)=>No(t(...e)),n);return r._c=!1,r},Fo=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Mo(n))continue;let i=e[n];if(v(i))t[n]=Po(n,i,r);else if(i!=null){let e=No(i);t[n]=()=>e}}},Io=(e,t)=>{let n=No(t);e.slots.default=()=>n},Lo=(e,t,n)=>{for(let r in t)(n||!Mo(r))&&(e[r]=t[r])},Ro=(e,t,n)=>{let r=e.slots=Co();if(e.vnode.shapeFlag&32){let e=t._;e?(Lo(r,t,n),n&&le(r,`_`,e,!0)):Fo(t,r)}else t&&Io(e,t)},zo=(e,t,n)=>{let{vnode:i,slots:a}=e,o=!0,s=r;if(i.shapeFlag&32){let e=t._;e?n&&e===1?o=!1:Lo(a,t,n):(o=!t.$stable,Fo(t,a)),s=t}else t&&(Io(e,t),s={default:1});if(o)for(let e in a)!Mo(e)&&s[e]==null&&delete a[e]},Bo=cs;function Vo(e){return Uo(e)}function Ho(e){return Uo(e,Si)}function Uo(e,t){let n=pe();n.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=a,insertStaticContent:_}=e,v=(e,t,n,r=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!xs(e,t)&&(r=k(e),he(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===i&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case ds:y(e,t,n,r);break;case fs:b(e,t,n,r);break;case ps:e??x(t,n,r,s);break;case R:ie(e,t,n,r,a,o,s,c,l);break;default:f&1?w(e,t,n,r,a,o,s,c,l):f&6?ae(e,t,n,r,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,r,a,o,s,c,l,be)}d!=null&&a?mi(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&mi(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,Wo(e,a),s,u),_&&Sr(e,null,r,`created`),ee(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!te(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ms(f,r,e)}_&&Sr(e,null,r,`beforeMount`);let v=Ko(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&Bo(()=>{try{f&&Ms(f,r,e),v&&g.enter(d),_&&Sr(e,null,r,`mounted`)}finally{}},i)},ee=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Qo(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ee(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},E=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?As(e[l]):ks(e[l]);v(null,c,t,n,r,i,a,o,s)}},ne=(e,t,n,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||r,h=t.props||r,g;if(n&&Go(n,!1),(g=h.onVnodeBeforeUpdate)&&Ms(g,n,t,e),f&&Sr(t,e,n,`beforeUpdate`),n&&Go(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?re(e.dynamicChildren,d,l,n,i,Wo(t,a),o):s||ue(e,t,l,null,n,i,Wo(t,a),o,!1),u>0){if(u&16)D(l,m,h,n,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],i=m[r],o=h[r];(o!==i||r===`value`)&&c(l,r,i,o,a,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&D(l,m,h,n,a);((g=h.onVnodeUpdated)||f)&&Bo(()=>{g&&Ms(g,n,t,e),f&&Sr(t,e,n,`updated`)},i)},re=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||Zo(c),d=u&&(c.type===R||!xs(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},D=(e,t,n,i,a)=>{if(t!==n){if(t!==r)for(let r in t)!te(r)&&!(r in n)&&c(e,r,t[r],null,a,i);for(let r in n){if(te(r))continue;let o=n[r],s=t[r];o!==s&&r!==`value`&&c(e,r,s,o,a,i)}`value`in n&&c(e,`value`,t.value,n.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(re(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&qo(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},ae=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):oe(t,n,r,i,a,o,c):se(e,t,c)},oe=(e,t,n,r,i,a,o)=>{let s=e.component=Is(e,r,i);if(Ui(e)&&(s.ctx.renderer=be),Gs(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,O,o,a),!e.el){let r=s.subTree=U(fs);b(null,r,t,n),e.placeholder=r.el}}else O(s,e,t,n,i,a,o)},se=(e,t,n)=>{let r=t.component=e.component;if(vo(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,le(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},O=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Yo(e);if(n){t&&(t.el=c.el,le(e,t,o)),n.asyncDep.then(()=>{Bo(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;Go(e,!1),t?(t.el=c.el,le(e,t,o)):t=c,n&&ce(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ms(d,s,t,c),Go(e,!0);let f=mo(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),k(p),e,i,a),t.el=f.el,u===null&&xo(e,f.el),r&&Bo(r,i),(d=t.props&&t.props.onVnodeUpdated)&&Bo(()=>Ms(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Bi(t);if(Go(e,!1),l&&ce(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ms(o,d,t),Go(e,!0),s&&Se){let t=()=>{e.subTree=mo(e),Se(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=mo(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&Bo(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Bo(()=>Ms(o,d,e),i)}(t.shapeFlag&256||d&&Bi(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Bo(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new ze(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>rr(u),Go(e,!0),l()},le=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Eo(e,t.props,r,n),zo(e,t.children,n),nt(),or(e),rt()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ye(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):ye(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},de=(e,t,n,r,a,o,s,c,l)=>{e||=i,t||=i;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?As(t[p]):ks(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?ye(e,a,o,!0,!1,f):E(t,n,r,a,o,s,c,l,f)},fe=(e,t,n,r,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?As(t[u]):ks(t[u]);if(xs(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?As(t[p]):ks(t[p]);if(xs(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,i=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=l?As(t[u]):ks(t[u]),n,i,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)he(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?As(t[u]):ks(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){he(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&xs(r,t[_])){i=_;break}i===void 0?he(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?Jo(C):i;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,i=t[e],f=t[e+1],p=e+1<d?f.el||Zo(f):r;C[u]===0?v(null,i,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?me(i,n,p,2):_--)}}},me=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)me(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,be);else if(c===R){o(a,t,n);for(let e=0;e<u.length;e++)me(u[e],t,n,r);o(e.anchor,t,n)}else if(c===ps)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[Jr]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),Bo(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[Jr];a._isLeaving&&a[Jr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},he=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(nt(),mi(s,null,n,e,!0),rt()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Bi(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ms(_,t,e),u&6)ve(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Sr(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,be,r):l&&!l.hasOnce&&(a!==R||d>0&&d&64)?ye(l,t,n,!1,!0):(a===R&&d&384||!i&&u&16)&&ye(c,t,n),r&&ge(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&Bo(()=>{_&&Ms(_,t,e),h&&Sr(e,null,t,`unmounted`),v&&(e.el=null)},n)},ge=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===R;if(a&&!i){_e(n,r);return}if(t===ps){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?ci(e):e,c=()=>{a?m(n)&&_e(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},_e=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ve=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Xo(c),Xo(l),r&&ce(r),i.stop(),a?(a.flags|=8,he(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,he(o,e,t,n)),s&&Bo(s,t),Bo(()=>{e.isUnmounted=!0},t)},ye=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)he(e[o],t,n,r,i)},k=e=>{if(e.shapeFlag&6)return k(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Fr];return n?h(n):t},A=(e,t,n)=>{lr(()=>{e==null?t._vnode&&he(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Fs())},be={p:v,um:he,m:me,r:ge,mt:oe,mc:E,pc:ue,pbc:re,n:k,o:e},xe,Se;return t&&([xe,Se]=t(be)),{render:A,hydrate:xe,createApp:ao(A,xe)}}function Wo({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Go({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ko(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){let r=e.children,i=t.children;if(p(r)&&p(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=As(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&qo(t,a)),a.type===ds&&(a.patchFlag===-1&&(a=i[e]=As(a)),a.el=t.el),a.type===fs&&!a.el&&(a.el=t.el)}}function Jo(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Yo(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yo(t)}function Xo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Zo(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Zo(t.subTree):null}var Qo=e=>e.__isSuspense,$o=0,es={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)ns(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback&&!a.isHydrating){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}rs(e,t,n,r,i,o,s,c,l)}},hydrate:as,normalize:os};function ts(e,t){let n=e.props&&e.props[t];v(n)&&n()}function ns(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=is(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(ts(e,`onPending`),ts(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),ls(f,e.ssFallback)):f.resolve(!1,!0)}function rs(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,xs(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),ls(d,p))):(d.pendingId=$o++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),ls(d,p))):m&&xs(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&xs(m,f))c(m,f,n,r,i,d,a,o,s),ls(d,f);else if(ts(t,`onPending`),d.pendingBranch=f,d.pendingId=f.shapeFlag&512?f.component.suspenseId:$o++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function is(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=us(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?de(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:$o++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),ar(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&Bo(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,ls(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){for(let e=0;e<c.length;e++)y.effects.push(c[e]);S=!0;break}y=y.parent}!S&&!g&&ar(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),ts(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;ts(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),ls(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n,r){let i=!!x.pendingBranch;i&&x.deps++;let a=e.vnode.el;e.asyncDep.catch(t=>{Kn(t,e,0)}).then(o=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;if(Hs(),!e.scope.active){i&&--x.deps===0&&x.resolve();return}e.asyncResolved=!0;let{vnode:s}=e;qs(e,o,!1),a&&(s.el=a);let c=!a&&e.subTree.el;t(e,s,h(a||e.subTree.el),a?null:m(e.subTree),x,r,n),c&&(s.placeholder=null,g(c)),xo(e,s.el),i&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function as(e,t,n,r,i,a,o,s,c){let l=t.suspense=is(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function os(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=ss(r?n.default:n),e.ssFallback=r?ss(n.fallback):U(fs)}function ss(e){let t;if(v(e)){let n=_s&&e._c;n&&(e._d=!1,z()),e=e(),n&&(e._d=!0,t=hs,gs())}return p(e)&&(e=ho(e)),e=ks(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function cs(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):ar(e)}function ls(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,xo(r,i))}function us(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var R=Symbol.for(`v-fgt`),ds=Symbol.for(`v-txt`),fs=Symbol.for(`v-cmt`),ps=Symbol.for(`v-stc`),ms=[],hs=null;function z(e=!1){ms.push(hs=e?null:[])}function gs(){ms.pop(),hs=ms[ms.length-1]||null}var _s=1;function vs(e,t=!1){_s+=e,e<0&&hs&&t&&(hs.hasOnce=!0)}function ys(e){return e.dynamicChildren=_s>0?hs||i:null,gs(),_s>0&&hs&&hs.push(e),e}function B(e,t,n,r,i,a){return ys(H(e,t,n,r,i,a,!0))}function V(e,t,n,r,i){return ys(U(e,t,n,r,i,!0))}function bs(e){return e?e.__v_isVNode===!0:!1}function xs(e,t){return e.type===t.type&&e.key===t.key}function Ss(e){}var Cs=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:y(e)||fn(e)||v(e)?{i:hr,r:e,k:t,f:!!n}:e);function H(e,t=null,n=null,r=0,i=null,a=e===R?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cs(t),ref:t&&ws(t),scopeId:gr,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:hr};return s?(js(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=y(n)?8:16),_s>0&&!o&&hs&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&hs.push(c),c}var U=Ts;function Ts(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===pa)&&(e=fs),bs(e)){let r=Ds(e,t,!0);return n&&js(r,n),_s>0&&!a&&hs&&(r.shapeFlag&6?hs[hs.indexOf(e)]=r:hs.push(r)),r.patchFlag=-2,r}if(rc(e)&&(e=e.__vccOpts),t){t=Es(t);let{class:e,style:n}=t;e&&!y(e)&&(t.class=k(e)),x(n)&&(sn(n)&&!p(n)&&(n=l({},n)),t.style=he(n))}let o=y(e)?1:Qo(e)?128:Ir(e)?64:x(e)?4:v(e)?2:0;return H(e,t,n,r,i,o,a,!0)}function Es(e){return e?sn(e)||wo(e)?l({},e):e:null}function Ds(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?K(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Cs(l),ref:t&&t.ref?n&&a?p(a)?a.concat(ws(t)):[a,ws(t)]:ws(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==R?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ds(e.ssContent),ssFallback:e.ssFallback&&Ds(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&oi(u,c.clone(u)),u}function W(e=` `,t=0){return U(ds,null,e,t)}function Os(e,t){let n=U(ps,null,e);return n.staticCount=t,n}function G(e=``,t=!1){return t?(z(),V(fs,null,e)):U(fs,null,e)}function ks(e){return e==null||typeof e==`boolean`?U(fs):p(e)?U(R,null,e.slice()):bs(e)?As(e):U(ds,null,String(e))}function As(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ds(e)}function js(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(p(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),js(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!wo(t)?t._ctx=hr:r===3&&hr&&(hr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(v(t)){if(r&65){js(e,{default:t});return}t={default:t,_ctx:hr},n=32}else t=String(t),r&64?(n=16,t=[W(t)]):n=8;e.children=t,e.shapeFlag|=n}function K(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=k([t.class,r.class]));else if(e===`style`)t.style=he([t.style,r.style]);else if(s(e)){let n=t[e],i=r[e];i&&n!==i&&!(p(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!c(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ms(e,t,n,r=null){Gn(e,t,7,[n,r])}var Ns=ro(),Ps=0;function Fs(){return Ps}function Is(e,t,n){let i=e.type,a=(t?t.appContext:e.appContext)||Ns,o={uid:Ps++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ne(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ao(i,a),emitsOptions:fo(i,a),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=lo.bind(null,o),e.ce&&e.ce(o),o}var Ls=null,Rs=()=>Ls||hr,zs,Bs;{let e=pe(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};zs=t(`__VUE_INSTANCE_SETTERS__`,e=>Ls=e),Bs=t(`__VUE_SSR_SETTERS__`,e=>Ws=e)}var Vs=e=>{let t=Ls;return zs(e),e.scope.on(),()=>{e.scope.off(),zs(t)}},Hs=()=>{Ls&&Ls.scope.off(),zs(null)};function Us(e){return e.vnode.shapeFlag&4}var Ws=!1;function Gs(e,t=!1,n=!1){t&&Bs(t);let{props:r,children:i}=e.vnode,a=Us(e);To(e,r,a,t),Ro(e,i,n||t);let o=a?Ks(e,t):void 0;return t&&Bs(!1),o}function Ks(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ta);let{setup:r}=n;if(r){nt();let n=e.setupContext=r.length>1?ec(e):null,i=Vs(e),a=Wn(r,e,0,[e.props,n]),o=S(a);if(rt(),i(),(o||e.sp)&&!Bi(e)&&ui(e),o){if(a.then(Hs,Hs),t)return a.then(n=>{Bs(!0);try{qs(e,n,t)}finally{Bs(!1)}}).catch(t=>{Kn(t,e,0)});e.asyncDep=a}else qs(e,a,t)}else Qs(e,t)}function qs(e,t,n){v(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:x(t)&&(e.setupState=yn(t)),Qs(e,n)}var Js,Ys;function Xs(e){Js=e,Ys=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Ea))}}var Zs=()=>!Js;function Qs(e,t,n){let r=e.type;if(!e.render){if(!t&&Js&&!r.render){let t=r.template||qa(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=l(l({isCustomElement:n,delimiters:a},i),o);r.render=Js(t,s)}}e.render=r.render||a,Ys&&Ys(e)}{let t=Vs(e);nt();try{Ua(e)}finally{rt(),t()}}}var $s={get(e,t){return pt(e,`get`,``),e[t]}};function ec(e){return{attrs:new Proxy(e.attrs,$s),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function tc(e){return e.exposed?e.exposeProxy||=new Proxy(yn(ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ca)return Ca[n](e)},has(e,t){return t in e||t in Ca}}):e.proxy}function nc(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}function rc(e){return v(e)&&`__vccOpts`in e}var q=(e,t)=>On(e,t,Ws);function ic(e,t,n){try{vs(-1);let r=arguments.length;return r===2?x(t)&&!p(t)?bs(t)?U(e,null,[t]):U(e,t):U(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&bs(n)&&(n=[n]),U(e,t,n))}finally{vs(1)}}function ac(){}function oc(e,t,n,r){let i=n[r];if(i&&sc(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function sc(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(O(n[e],t[e]))return!1;return _s>0&&hs&&hs.push(e),!0}var cc=`3.5.44`,lc=a,uc=Un,dc=fr,fc=mr,pc={createComponentInstance:Is,setupComponent:Gs,renderComponentRoot:mo,setCurrentRenderingInstance:_r,isVNode:bs,normalizeVNode:ks,getComponentPublicInstance:tc,ensureValidVNode:ba,pushWarningContext:zn,popWarningContext:Bn},mc=void 0,hc=typeof window<`u`&&window.trustedTypes;if(hc)try{mc=hc.createPolicy(`vue`,{createHTML:e=>e})}catch{}var gc=mc?e=>mc.createHTML(e):e=>e,_c=`http://www.w3.org/2000/svg`,vc=`http://www.w3.org/1998/Math/MathML`,yc=typeof document<`u`?document:null,bc=yc&&yc.createElement(`template`),xc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?yc.createElementNS(_c,e):t===`mathml`?yc.createElementNS(vc,e):n?yc.createElement(e,{is:n}):yc.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>yc.createTextNode(e),createComment:e=>yc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yc.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{bc.innerHTML=gc(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=bc.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sc=`transition`,Cc=`animation`,wc=Symbol(`_vtc`),Tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ec=l({},Qr,Tc),Dc=(e=>(e.displayName=`Transition`,e.props=Ec,e))((e,{slots:t})=>ic(ti,Ac(e),t)),Oc=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},kc=e=>e?p(e)?e.some(e=>e.length>1):e.length>1:!1;function Ac(e){let t={};for(let n in e)n in Tc||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=jc(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:T=b}=t,ee=(e,t,n,r)=>{e._enterCancelled=r,Pc(e,t?d:s),Pc(e,t?u:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,Pc(e,f),Pc(e,m),Pc(e,p),t&&t()},te=e=>(t,n)=>{let i=e?w:y,o=()=>ee(t,e,n);Oc(i,[t,o]),Fc(()=>{Pc(t,e?c:a),Nc(t,e?d:s),kc(i)||Lc(t,r,g,o)})};return l(t,{onBeforeEnter(e){Oc(v,[e]),Nc(e,a),Nc(e,o)},onBeforeAppear(e){Oc(C,[e]),Nc(e,c),Nc(e,u)},onEnter:te(!1),onAppear:te(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);Nc(e,f),e._enterCancelled?(Nc(e,p),Vc(e)):(Vc(e),Nc(e,p)),Fc(()=>{e._isLeaving&&(Pc(e,f),Nc(e,m),kc(x)||Lc(e,r,_,n))}),Oc(x,[e,n])},onEnterCancelled(e){ee(e,!1,void 0,!0),Oc(b,[e])},onAppearCancelled(e){ee(e,!0,void 0,!0),Oc(T,[e])},onLeaveCancelled(e){E(e),Oc(S,[e])}})}function jc(e){if(e==null)return null;if(x(e))return[Mc(e.enter),Mc(e.leave)];{let t=Mc(e);return[t,t]}}function Mc(e){return de(e)}function Nc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[wc]||(e[wc]=new Set)).add(t)}function Pc(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[wc];n&&(n.delete(t),n.size||(e[wc]=void 0))}function Fc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Ic=0;function Lc(e,t,n,r){let i=e._endId=++Ic,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Rc(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Rc(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Sc}Delay`),a=r(`${Sc}Duration`),o=zc(i,a),s=r(`${Cc}Delay`),c=r(`${Cc}Duration`),l=zc(s,c),u=null,d=0,f=0;t===Sc?o>0&&(u=Sc,d=o,f=a.length):t===Cc?l>0&&(u=Cc,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Sc:Cc:null,f=u?u===Sc?a.length:c.length:0);let p=u===Sc&&/\b(?:transform|all)(?:,|$)/.test(r(`${Sc}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function zc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Bc(t)+Bc(e[n])))}function Bc(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Vc(e){return(e?e.ownerDocument:document).body.offsetHeight}function Hc(e,t,n){let r=e[wc];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Uc=Symbol(`_vod`),Wc=Symbol(`_vsh`),Gc={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Uc]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Kc(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Kc(e,!0),r.enter(e)):r.leave(e,()=>{Kc(e,!1)}):Kc(e,t))},beforeUnmount(e,{value:t}){Kc(e,t)}};function Kc(e,t){e.style.display=t?e[Uc]:`none`,e[Wc]=!t}function qc(){Gc.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}var Jc=Symbol(``);function Yc(e){let t=Rs();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Zc(e,n))},r=()=>{let r=e(t.proxy);t.ce?Zc(t.ce,r):Xc(t.subTree,r),n(r)};na(()=>{ar(r)}),ta(()=>{F(r,a,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),aa(()=>e.disconnect())})}function Xc(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Xc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Zc(e.el,t);else if(e.type===R)e.children.forEach(e=>Xc(e,t));else if(e.type===ps){let{el:n,anchor:r}=e;for(;n&&(Zc(n,t),n!==r);)n=n.nextSibling}}function Zc(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=je(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Jc]=r}}var Qc=/(?:^|;)\s*display\s*:/;function $c(e,t,n){let r=e.style,i=y(n),a=!1;if(n&&!i){if(t){if(y(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??tl(r,t,``)}else for(let e in t)n[e]??tl(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?tl(r,i,``):al(e,i,!y(t)&&t?t[i]:void 0,o)||tl(r,i,o)}}else if(i){if(t!==n){let e=r[Jc];e&&(n+=`;`+e),r.cssText=n,a=Qc.test(n)}}else t&&e.removeAttribute(`style`);Uc in e&&((!i||t!==n)&&(e[Uc]=a?r.display:``),e[Wc]&&(r.display=`none`))}var el=/\s*!important$/;function tl(e,t,n){if(p(n))n.forEach(n=>tl(e,t,n));else if(n??=``,t.startsWith(`--`))el.test(n)?e.setProperty(t,n.replace(el,``),`important`):e.setProperty(t,n);else{let r=il(e,t);el.test(n)?e.setProperty(ae(r),n.replace(el,``),`important`):e[r]=n}}var nl=[`Webkit`,`Moz`,`ms`],rl={};function il(e,t){let n=rl[t];if(n)return n;let r=D(t);if(r!==`filter`&&r in e)return rl[t]=r;r=oe(r);for(let n=0;n<nl.length;n++){let i=nl[n]+r;if(i in e)return rl[t]=i}return t}function al(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&y(r)&&n===r}var ol=`http://www.w3.org/1999/xlink`;function sl(e,t,n,r,i,a=be(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(ol,t.slice(6,t.length)):e.setAttributeNS(ol,t,n):n==null||a&&!xe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:b(n)?String(n):n)}function cl(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?gc(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=xe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function ll(e,t,n,r){e.addEventListener(t,n,r)}function ul(e,t,n,r){e.removeEventListener(t,n,r)}var dl=Symbol(`_vei`);function fl(e,t,n,r,i=null){let a=e[dl]||(e[dl]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=hl(t);r?ll(e,n,a[t]=yl(r,i),s):o&&(ul(e,n,o,s),a[t]=void 0)}}var pl=/(Once|Passive|Capture)$/,ml=/^on:?(?:Once|Passive|Capture)$/;function hl(e){let t,n;for(;(n=e.match(pl))&&!ml.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):ae(e.slice(2)),t]}var gl=0,_l=Promise.resolve(),vl=()=>gl||=(_l.then(()=>gl=0),Date.now());function yl(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(p(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&Gn(e,t,5,a)}}else Gn(r,t,5,[e])};return n.value=e,n.attached=vl(),n}var bl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xl=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Hc(e,r,o):t===`style`?$c(e,n,r):s(t)?c(t)||fl(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):Sl(e,t,r,o))?(cl(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&sl(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Cl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!y(r)))?cl(e,D(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),sl(e,t,r,o))};function Sl(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&bl(t)&&v(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return bl(t)&&y(n)?!1:t in e}function Cl(e,t){let n=e._def.props;if(!n)return!1;let r=D(t);return Array.isArray(n)?n.some(e=>D(e)===r):Object.keys(n).some(e=>D(e)===r)}var wl={};function Tl(e,t,n){let r=I(e,t);ee(r)&&(r=l({},r,t));class i extends Ol{constructor(e){super(r,e,n)}}return i.def=r,i}var El=((e,t)=>Tl(e,t,Tu)),Dl=typeof HTMLElement<`u`?HTMLElement:class{},Ol=class e extends Dl{constructor(e,t={},n=wu){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==wu?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(l({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{if(this._pendingResolve=void 0,this.isConnected)return this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,tr(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return this._pendingResolve;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!p(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=de(this._props[e])),(i||=Object.create(null))[D(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._connected&&this._mount(e)},t=this._def.__asyncLoader;if(t)return this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}),this._pendingResolve;e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)f(this,e)||Object.defineProperty(this,e,{get:()=>N(t[e])})}_resolveProps(e){let{props:t}=e,n=p(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(D))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):wl,r=D(e);t&&this._numberProps&&this._numberProps[r]&&(n=de(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===wl?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(ae(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(ae(e),t+``):t||this.removeAttribute(ae(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),Su(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=U(this._def,l(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,ee(t[0])?l({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),ae(e)!==e&&t(ae(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}};function kl(e){let t=Rs();return t&&t.ce||null}function Al(){let e=kl();return e&&e.shadowRoot}function jl(e=`$style`){{let t=Rs();if(!t)return r;let n=t.type.__cssModules;return n&&n[e]||r}}var Ml=new WeakMap,Nl=new WeakMap,Pl=Symbol(`_moveCb`),Fl=Symbol(`_enterCb`),Il=new WeakMap,Ll=(e=>(delete e.props.mode,e))({name:`TransitionGroup`,props:l({},Ec,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=Rs(),r=Xr(),i,a,o,s,c=()=>(s===void 0&&(s=i.length>0&&Kl(i[0].el,n.vnode.el,zl(e))),s);return ra(()=>{if(Il.delete(n),!c()){i=[],o=void 0;return}let t=zl(e);i.forEach(Rl);let r=o&&Gl(o,n.vnode.el);o=void 0,i.forEach(e=>Bl(e,r));let a=i.filter(Vl);Vc(n.vnode.el),a.forEach(e=>{let n=e.el,r=n.style;Nc(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[Pl]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[Pl]=null,Pc(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let l=cn(e),u=Ac(l),d=l.tag||R;if(i=[],s=void 0,a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&!t.el[Wc]&&(i.push(t),oi(t,ri(t,u,r,n)),Ml.set(t,Hl(t.el)))}a=t.default?si(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&oi(t,ri(t,u,r,n))}return i.length&&(o=Ul(n),Il.set(n,c)),U(d,null,a)}}});function Rl(e){let t=e.el;t[Pl]&&t[Pl](),t[Fl]&&t[Fl]()}function zl(e){return e.moveClass||`${e.name||`v`}-move`}function Bl(e,t){Nl.set(e,Hl(e.el,t))}function Vl(e){let t=Ml.get(e),n=Nl.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el,n=t.style,a=t.getBoundingClientRect(),o=1,s=1;return t.offsetWidth&&(o=a.width/t.offsetWidth),t.offsetHeight&&(s=a.height/t.offsetHeight),(!Number.isFinite(o)||o===0)&&(o=1),(!Number.isFinite(s)||s===0)&&(s=1),Math.abs(o-1)<.01&&(o=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform=`translate(${r/o}px,${i/s}px)`,n.transitionDuration=`0s`,e}}function Hl(e,t){let n=e.getBoundingClientRect();return{left:n.left-(t?t.left:0),top:n.top-(t?t.top:0)}}function Ul(e){let t;for(let n=e.parent;n;n=n.parent){let r=Il.get(n);if(r){let i=Wl(n.vnode.el,e.vnode.el);i&&(t||=[]).push(l(Hl(i),{item:i,willMove:r}))}}return t}function Wl(e,t){let n=e.nodeType===1?e:e.parentNode;for(;t&&t.parentNode!==n;)t=t.parentNode;if(t&&t.nodeType===1)return t}function Gl(e,t){let n=e.find(e=>e.willMove()&&e.item.contains(t));return n&&Hl(n.item,n)}function Kl(e,t,n){let r=e.cloneNode(),i=e[wc];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=Rc(r);return a.removeChild(r),o}var ql=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return p(t)?e=>ce(t,e):t};function Jl(e){e.target.composing=!0}function Yl(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Xl=Symbol(`_assign`),Zl=Symbol(`_initialValue`);function Ql(e,t,n){return t&&(e=e.trim()),n&&(e=ue(e)),e}var $l={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e.parentNode&&(e.type===`text`?e[Zl]=e.defaultValue.replace(/[\r\n]/g,``):e.type===`textarea`&&(e[Zl]=e.defaultValue.replace(/\r\n?/g,`
4
+ `))),e[Xl]=ql(i);let a=r||i.props&&i.props.type===`number`;ll(e,t?`change`:`input`,t=>{t.target.composing||e[Xl](Ql(e.value,n,a))}),(n||a)&&ll(e,`change`,()=>{e.value=Ql(e.value,n,a)}),t||(ll(e,`compositionstart`,Jl),ll(e,`compositionend`,Yl),ll(e,`change`,Yl))},mounted(e,{value:t,modifiers:{trim:n,number:r}}){let i=t??``,a=e[Zl];delete e[Zl],a!==void 0&&(e.type===`text`||e.type===`textarea`)&&e.value!==a?e[Xl](Ql(e.value,n,r)):e.value=i},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Xl]=ql(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ue(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},eu={deep:!0,created(e,t,n){e[Xl]=ql(n),ll(e,`change`,()=>{let t=e._modelValue,n=ou(e),r=e.checked,i=e[Xl];if(p(t)){let e=De(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(h(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(su(e,r))})},mounted:tu,beforeUpdate(e,t,n){e[Xl]=ql(n),tu(e,t,n)}};function tu(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(p(t))i=De(t,r.props.value)>-1;else if(h(t))i=t.has(r.props.value);else{if(t===n)return;i=Ee(t,su(e,!0))}e.checked!==i&&(e.checked=i)}var nu={created(e,{value:t},n){e.checked=Ee(t,n.props.value),e[Xl]=ql(n),ll(e,`change`,()=>{e[Xl](ou(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Xl]=ql(r),t!==n&&(e.checked=Ee(t,r.props.value))}},ru={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,ll(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ue(ou(e)):ou(e)),r=e.multiple,i=r?h(e._modelValue)?new Set(t):t:t[0],a=e._pendingValue=[r,r?p(i)?t.slice():t:i];try{e[Xl](i)}finally{tr(()=>{e._pendingValue===a&&(e._pendingValue=void 0)})}}),e[Xl]=ql(r)},mounted(e,{value:t}){au(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Xl]=ql(n)},updated(e,{value:t}){let n=e._pendingValue;e._pendingValue=void 0,(!n||n[0]!==e.multiple||!iu(t,n[1],n[0]))&&au(e,t)}};function iu(e,t,n){if(!n||p(e))return Ee(e,t);if(h(e)){if(e.size!==t.length)return!1;for(let n of t)if(!e.has(n))return!1;return!0}return!1}function au(e,t){let n=e.multiple,r=p(t);if(!n||r||h(t)){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=ou(a);if(n){if(r){let e=typeof o;a.selected=e===`string`||e===`number`?t.some(e=>String(e)===String(o)):De(t,o)>-1}else a.selected=t.has(o)}else if(Ee(ou(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ou(e){return`_value`in e?e._value:e.value}function su(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var cu={created(e,t,n){uu(e,t,n,null,`created`)},mounted(e,t,n){uu(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){uu(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){uu(e,t,n,r,`updated`)}};function lu(e,t){switch(e){case`SELECT`:return ru;case`TEXTAREA`:return $l;default:switch(t){case`checkbox`:return eu;case`radio`:return nu;default:return $l}}}function uu(e,t,n,r,i){let a=lu(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function du(){$l.getSSRProps=({value:e})=>({value:e}),nu.getSSRProps=({value:e},t)=>{if(t.props&&Ee(t.props.value,e))return{checked:!0}},eu.getSSRProps=({value:e},t)=>{if(p(e)){if(t.props&&De(e,t.props.value)>-1)return{checked:!0}}else if(h(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},cu.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=lu(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}var fu=[`ctrl`,`shift`,`alt`,`meta`],pu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>fu.some(n=>e[`${n}Key`]&&!t.includes(n))},mu=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=pu[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},hu={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},gu=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=ae(n.key);if(t.some(e=>e===r||hu[e]===r))return e(n)}))},_u=l({patchProp:xl},xc),vu,yu=!1;function bu(){return vu||=Vo(_u)}function xu(){return vu=yu?vu:Ho(_u),yu=!0,vu}var Su=((...e)=>{bu().render(...e)}),Cu=((...e)=>{xu().hydrate(...e)}),wu=((...e)=>{let t=bu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Du(e);if(!r)return;let i=t._component;!v(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Eu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Tu=((...e)=>{let t=xu().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Du(e);if(t)return n(t,!0,Eu(t))},t});function Eu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Du(e){return y(e)?document.querySelector(e):e}var Ou=!1,ku=()=>{Ou||(Ou=!0,du(),qc())},Au=t({BaseTransition:()=>ti,BaseTransitionPropsValidators:()=>Qr,Comment:()=>fs,DeprecationTypes:()=>null,EffectScope:()=>Ne,ErrorCodes:()=>Hn,ErrorTypeStrings:()=>uc,Fragment:()=>R,KeepAlive:()=>Wi,ReactiveEffect:()=>ze,Static:()=>ps,Suspense:()=>es,Teleport:()=>Gr,Text:()=>ds,TrackOpTypes:()=>kn,Transition:()=>Dc,TransitionGroup:()=>Ll,TriggerOpTypes:()=>An,VueElement:()=>Ol,assertNumber:()=>Vn,callWithAsyncErrorHandling:()=>Gn,callWithErrorHandling:()=>Wn,camelize:()=>D,capitalize:()=>oe,cloneVNode:()=>Ds,compatUtils:()=>null,compile:()=>ju,computed:()=>q,createApp:()=>wu,createBlock:()=>V,createCommentVNode:()=>G,createElementBlock:()=>B,createElementVNode:()=>H,createHydrationRenderer:()=>Ho,createPropsRestProxy:()=>Ba,createRenderer:()=>Vo,createSSRApp:()=>Tu,createSlots:()=>ya,createStaticVNode:()=>Os,createTextVNode:()=>W,createVNode:()=>U,customRef:()=>xn,defineAsyncComponent:()=>Vi,defineComponent:()=>I,defineCustomElement:()=>Tl,defineEmits:()=>Oa,defineExpose:()=>ka,defineModel:()=>Ma,defineOptions:()=>Aa,defineProps:()=>Da,defineSSRCustomElement:()=>El,defineSlots:()=>ja,devtools:()=>dc,effect:()=>Qe,effectScope:()=>Pe,getCurrentInstance:()=>Rs,getCurrentScope:()=>Fe,getCurrentWatcher:()=>Pn,getTransitionRawChildren:()=>si,guardReactiveProps:()=>Es,h:()=>ic,handleError:()=>Kn,hasInjectionContext:()=>Tr,hydrate:()=>Cu,hydrateOnIdle:()=>Pi,hydrateOnInteraction:()=>Ri,hydrateOnMediaQuery:()=>Li,hydrateOnVisible:()=>Ii,initCustomFormatter:()=>ac,initDirectivesForSSR:()=>ku,inject:()=>wr,isMemoSame:()=>sc,isProxy:()=>sn,isReactive:()=>rn,isReadonly:()=>an,isRef:()=>fn,isRuntimeOnly:()=>Zs,isShallow:()=>on,isVNode:()=>bs,markRaw:()=>ln,mergeDefaults:()=>Ra,mergeModels:()=>za,mergeProps:()=>K,nextTick:()=>tr,nodeOps:()=>xc,normalizeClass:()=>k,normalizeProps:()=>A,normalizeStyle:()=>he,onActivated:()=>Ki,onBeforeMount:()=>ea,onBeforeUnmount:()=>ia,onBeforeUpdate:()=>na,onDeactivated:()=>qi,onErrorCaptured:()=>la,onMounted:()=>ta,onRenderTracked:()=>ca,onRenderTriggered:()=>sa,onScopeDispose:()=>Ie,onServerPrefetch:()=>oa,onUnmounted:()=>aa,onUpdated:()=>ra,onWatcherCleanup:()=>Fn,openBlock:()=>z,patchProp:()=>xl,popScopeId:()=>yr,provide:()=>Cr,proxyRefs:()=>yn,pushScopeId:()=>vr,queuePostFlushCb:()=>ar,reactive:()=>Qt,readonly:()=>en,ref:()=>M,registerRuntimeCompiler:()=>Xs,render:()=>Su,renderList:()=>va,renderSlot:()=>L,resolveComponent:()=>fa,resolveDirective:()=>ha,resolveDynamicComponent:()=>ma,resolveFilter:()=>null,resolveTransitionHooks:()=>ri,setBlockTracking:()=>vs,setDevtoolsHook:()=>fc,setTransitionHooks:()=>oi,shallowReactive:()=>$t,shallowReadonly:()=>tn,shallowRef:()=>pn,ssrContextKey:()=>Er,ssrUtils:()=>pc,stop:()=>$e,toDisplayString:()=>j,toHandlerKey:()=>se,toHandlers:()=>xa,toRaw:()=>cn,toRef:()=>Tn,toRefs:()=>Sn,toValue:()=>_n,transformVNodeArgs:()=>Ss,triggerRef:()=>gn,unref:()=>N,useAttrs:()=>Fa,useCssModule:()=>jl,useCssVars:()=>Yc,useHost:()=>kl,useId:()=>li,useModel:()=>so,useSSRContext:()=>Dr,useShadowRoot:()=>Al,useSlots:()=>Pa,useTemplateRef:()=>di,useTransitionState:()=>Xr,vModelCheckbox:()=>eu,vModelDynamic:()=>cu,vModelRadio:()=>nu,vModelSelect:()=>ru,vModelText:()=>$l,vShow:()=>Gc,version:()=>cc,warn:()=>lc,watch:()=>F,watchEffect:()=>Or,watchPostEffect:()=>kr,watchSyncEffect:()=>Ar,withAsyncContext:()=>Va,withCtx:()=>P,withDefaults:()=>Na,withDirectives:()=>xr,withKeys:()=>gu,withMemo:()=>oc,withModifiers:()=>mu,withScopeId:()=>br}),ju=()=>{},Mu=/^[a-z0-9]+(-[a-z0-9]+)*$/,Nu=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!Pu(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!Pu(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!Pu(e,n)?null:e}return null},Pu=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function Fu(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var Iu=Object.freeze({left:0,top:0,width:16,height:16}),Lu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ru=Object.freeze({...Iu,...Lu}),zu=Object.freeze({...Ru,body:``,hidden:!1});function Bu(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Vu(e,t){let n=Bu(e,t);for(let r in zu)r in Lu?r in e&&!(r in n)&&(n[r]=Lu[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Hu(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=Vu(r[e]||i[e],a)}return o(t),n.forEach(o),Vu(e,a)}function Uu(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=Fu(e);for(let i in r){let a=r[i];a&&(t(i,Hu(e,i,a)),n.push(i))}return n}var Wu={provider:``,aliases:{},not_found:{},...Iu};function Gu(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ku(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!Gu(e,Wu))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!Gu(t,zu))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!Gu(t,zu))return null}return t}var qu=Object.create(null);function Ju(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Yu(e,t){let n=qu[e]||(qu[e]=Object.create(null));return n[t]||(n[t]=Ju(e,t))}function Xu(e,t){return Ku(t)?Uu(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Zu(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var Qu=!1;function $u(e){return typeof e==`boolean`&&(Qu=e),Qu}function ed(e){let t=typeof e==`string`?Nu(e,!0,Qu):e;if(t){let e=Yu(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function td(e,t){let n=Nu(e,!0,Qu);if(!n)return!1;let r=Yu(n.provider,n.prefix);return t?Zu(r,n.name,t):(r.missing.add(n.name),!0)}function nd(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),Qu&&!t&&!e.prefix){let t=!1;return Ku(e)&&(e.prefix=``,Uu(e,(e,n)=>{td(e,n)&&(t=!0)})),t}let n=e.prefix;return Pu({prefix:n,name:`a`})?!!Xu(Yu(t,n),e):!1}function rd(e){return!!ed(e)}var id=Object.freeze({width:null,height:null}),ad=Object.freeze({...id,...Lu}),od=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sd=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function cd(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(od);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=sd.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ld(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function ud(e,t){return e?`<defs>`+e+`</defs>`+t:t}function dd(e,t,n){let r=ld(e);return ud(r.defs,t+r.content+n)}var fd=e=>e===`unset`||e===`undefined`||e===`none`;function pd(e,t){let n={...Ru,...e},r={...ad,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=dd(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=cd(d,c/l)):(u=o===`auto`?c:o,d=s===null?cd(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{fd(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var md=/\sid="(\S+)"/g,hd=new Map;function gd(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=hd.get(e)||0;return hd.set(e,t+1),t?`${e}${t}`:e}function _d(e){let t=[],n;for(;n=md.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=gd(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var vd=Object.create(null);function yd(e,t){vd[e]=t}function bd(e){return vd[e]||vd[``]}function xd(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var Sd=Object.create(null),Cd=[`https://api.simplesvg.com`,`https://api.unisvg.com`],wd=[];Cd.length>0;)Cd.length===1||Math.random()>.5?wd.push(Cd.shift()):wd.push(Cd.pop());Sd[``]=xd({resources:[`https://api.iconify.design`].concat(wd)});function Td(e,t){let n=xd(t);return n!==null&&(Sd[e]=n,!0)}function Ed(e){return Sd[e]}var Dd=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Od(e,t){let n=Ed(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function kd(e){return e===404}var Ad=(e,t,n)=>{let r=[],i=Od(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function jd(e){if(typeof e==`string`){let t=Ed(e);if(t)return t.path}return`/`}var Md={prepare:Ad,send:(e,t,n)=>{if(!Dd){n(`abort`,424);return}let r=jd(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;Dd(e+r).then(e=>{let t=e.status;if(t!==200)setTimeout(()=>{n(kd(t)?`abort`:`next`,t)});else return i=501,e.json()}).then(e=>{setTimeout(typeof e!=`object`||!e?()=>{e===404?n(`abort`,e):n(`next`,i)}:()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function Nd(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Pd(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||Nd([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Fd=0;function Id(e,t,n){let r=Fd++,i=Nd.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function Ld(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=Yu(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function Rd(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?Nu(e,t,n):e;i&&r.push(i)}),r}var zd={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Bd(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`)u=r,v();else if(i)u=r,f.length||(o.length?x():v());else{if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function Vd(e){let t={...zd,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Bd(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function Hd(){}var Ud=Object.create(null);function Wd(e){if(!Ud[e]){let t=Ed(e);if(!t)return;Ud[e]={config:t,redundancy:Vd(t)}}return Ud[e]}function Gd(e,t,n){let r,i;if(typeof e==`string`){let t=bd(e);if(!t)return n(void 0,424),Hd;i=t.send;let a=Wd(e);a&&(r=a.redundancy)}else{let t=xd(e);if(t){r=Vd(t);let n=bd(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),Hd):r.query(t,i,n)().abort}function Kd(){}function qd(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Pd(e)}))}function Jd(e){let t=[],n=[];return e.forEach(e=>{(e.match(Mu)?t:n).push(e)}),{valid:t,invalid:n}}function Yd(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Xu(e,n).length){r();return}}catch(e){console.error(e)}r(),qd(e)}function Xd(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Zd(e,t){e.iconsToLoad=e.iconsToLoad?e.iconsToLoad.concat(t).sort():t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){Xd(e.loadIcons(r,n,t),t=>{Yd(e,r,t)});return}if(i){r.forEach(r=>{Xd(i(r,n,t),t=>{Yd(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=Jd(r);if(o.length&&Yd(e,o,null),!a.length)return;let s=n.match(Mu)?bd(t):null;s?s.prepare(t,n,a).forEach(n=>{Gd(t,n,t=>{Yd(e,n.icons,t)})}):Yd(e,a,null)}))}var Qd=(e,t)=>{let n=Ld(Rd(e,!0,$u()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,Kd)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(Yu(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=Yu(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Zd(e,t)}),t?Id(t,n,i):Kd};function $d(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in id?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var ef=/[\s,]+/;function tf(e,t){t.split(ef).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function nf(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function rf(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function af(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `).replace(/:/g,`%3A`).replace(/\//g,`%2F`)}function of(e){return`data:image/svg+xml,`+af(e)}function sf(e){return`url("`+of(e)+`")`}var cf={...ad,inline:!1},lf={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},uf={display:`inline-block`},df={backgroundColor:`currentColor`},ff={backgroundColor:`transparent`},pf={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},mf={webkitMask:df,mask:df,background:ff};for(let e in mf){let t=mf[e];for(let n in pf)t[e+n]=pf[n]}var hf={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;hf[e+`-flip`]=t,hf[e.slice(0,1)+`-flip`]=t,hf[e+`Flip`]=t});function gf(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var _f=(e,t)=>{let n=$d(cf,t),r={...lf},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=nf(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=hf[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):cf[e]===void 0&&(r[e]=i)}}}typeof t.flip==`string`&&tf(n,t.flip);let c=pd(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...s},Object.assign(r,l),r.innerHTML=_d(c.body),ic(`svg`,r);let{body:u,width:d,height:f}=e,p=i===`mask`||i!==`bg`&&u.indexOf(`currentColor`)!==-1,m=rf(u,{...l,width:d+``,height:f+``});return r.style={...a,"--svg":sf(m),width:gf(l.width),height:gf(l.height),...uf,...p?df:ff,...s},ic(`span`,r)};if($u(!0),yd(``,Md),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!nd(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;Td(e,r)||console.error(n)}catch{console.error(n)}}}}var vf={...Ru,body:``},yf=I((e,{emit:t})=>{let n=M(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=M(!!e.ssr),a=M(``),o=pn(null);function s(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=Nu(i,!1,!0))===null)return null;let s=ed(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:Qd([o],c)}),null}r(),a.value!==i&&(a.value=i,tr(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():ta(()=>{i.value=!0,c()}),F(()=>e.icon,c),aa(r),()=>{let t=o.value;if(!t)return _f(vf,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),_f({...Ru,...t.data},n)}},{props:{icon:{type:[String,Object],required:!0},mode:{type:String},ssr:{type:Boolean},width:{type:[String,Number]},height:{type:[String,Number]},style:{type:[String,Object]},color:{type:String},inline:{type:Boolean},rotate:{type:[Number,String]},hFlip:{type:Boolean},horizontalFlip:{type:Boolean},vFlip:{type:Boolean},verticalFlip:{type:Boolean},flip:{type:String},id:{type:String},ariaHidden:{type:[Boolean,String],default:void 0},customise:{type:Function},title:{type:String}},emits:[`load`]}),bf=!1;function xf(e){if(bf)return;let t=JSON.parse(`[{"prefix":"lucide","icons":{"a-arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m14 12l4 4l4-4m-4 4V7M2 16l4.039-9.69a.5.5 0 0 1 .923 0L11 16m-7.696-3h6.392\\"/>"},"a-arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m14 11l4-4l4 4m-4 5V7M2 16l4.039-9.69a.5.5 0 0 1 .923 0L11 16m-7.696-3h6.392\\"/>"},"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"archive-restore":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h2M20 8v11a2 2 0 0 1-2 2h-2m-7-6l3-3l3 3m-3-3v9\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-left-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"at-sign":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8\\"/></g>"},"audio-lines":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 10v3m4-7v11m4-14v18m4-13v7m4-10v13m4-8v3\\"/>"},"bell":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\\"/>"},"bookmark":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z\\"/>"},"chart-gantt":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 6h8m-6 10h6M3 3v16a2 2 0 0 0 2 2h16M8 11h7\\"/>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"chevrons-up-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m7 15l5 5l5-5M7 9l5-5l5 5\\"/>"},"circle":{"width":24,"height":24,"body":"<circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"circle-dashed":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7\\"/>"},"circle-pause":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M10 15V9m4 6V9\\"/></g>"},"circle-slash":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m9 15l6-6\\"/></g>"},"circle-stop":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"9\\" rx=\\"1\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"clock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 6v6l4 2\\"/></g>"},"code-xml":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\\"/>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 12v6m-3-3h6\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"corner-down-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 4v7a4 4 0 0 1-4 4H4\\"/><path d=\\"m9 10l-5 5l5 5\\"/></g>"},"corner-down-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 10l5 5l-5 5\\"/><path d=\\"M4 4v7a4 4 0 0 0 4 4h12\\"/></g>"},"corner-up-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20v-7a4 4 0 0 0-4-4H4\\"/><path d=\\"M9 14L4 9l5-5\\"/></g>"},"crown":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294zM5 21h14\\"/>"},"door-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 21H2m8-18H7a2 2 0 0 0-2 2v16m9-9h.01\\"/><path d=\\"M19 21V5a2 2 0 0 0-1.675-1.974l-6.163-1.013A1 1 0 0 0 10 3v18a1 1 0 0 0 1.124.992zm3 0h-3\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"expand":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 15l6 6M15 9l6-6m0 13v5h-5m5-13V3h-5M3 16v5h5m-5 0l6-6M3 8V3h5m1 6L3 3\\"/>"},"external-link":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\\"/>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-diff":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2zm3-12h6m-3 3V7M9 17h6\\"/>"},"file-lock-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v1\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4\\"/><rect width=\\"8\\" height=\\"5\\" x=\\"2\\" y=\\"13\\" rx=\\"1\\"/><path d=\\"M8 13v-2a2 2 0 1 0-4 0v2\\"/></g>","hidden":true},"file-plus-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4M3 15h6m-3-3v6\\"/></g>","hidden":true},"file-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\"/></g>"},"files":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8\\"/><path d=\\"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706zM5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1\\"/></g>"},"flag":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\"/>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/><path d=\\"m9 13l2 2l4-4\\"/></g>"},"folder-down":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Zm-8-10v6\\"/><path d=\\"m15 13l-3 3l-3-3\\"/></g>"},"folder-input":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1m0-4h10\\"/><path d=\\"m9 16l3-3l-3-3\\"/></g>"},"folder-minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M9 13h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"folder-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 10v6m-3-3h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-root":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2\\"/><circle cx=\\"12\\" cy=\\"13\\" r=\\"2\\"/><path d=\\"M12 15v5\\"/></g>"},"folder-search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/></g>"},"folder-tree":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Zm0 11a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1ZM3 5a2 2 0 0 0 2 2h3\\"/><path d=\\"M3 3v13a2 2 0 0 0 2 2h3\\"/></g>"},"folders":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h2.5a1.5 1.5 0 0 1 1.2.6l.6.8a1.5 1.5 0 0 0 1.2.6z\\"/><path d=\\"M3 8.268a2 2 0 0 0-1 1.738V19a2 2 0 0 0 2 2h11a2 2 0 0 0 1.732-1\\"/></g>"},"git-branch":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 6a9 9 0 0 0-9 9V3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/></g>"},"grip-horizontal":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"9\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"15\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"15\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"15\\" r=\\"1\\"/></g>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hard-drive-download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 2v8m4-4l-4 4l-4-4\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\"/><path d=\\"M6 18h.01M10 18h.01\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"headphones":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3\\"/>"},"history":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5m4-1v5l4 2\\"/></g>"},"id-card":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M13 19a4 4 0 0 0-8 0m11-9h2m-2 4h2\\"/><circle cx=\\"9\\" cy=\\"12\\" r=\\"3\\"/><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"5\\" rx=\\"2\\"/></g>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"image-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\\"/><path d=\\"m14 19.5l3-3l3 3M17 22v-5.5\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/></g>"},"infinity":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8\\"/>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"key-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\"/><circle cx=\\"16.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"layout-dashboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"9\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"5\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"9\\" x=\\"14\\" y=\\"12\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"5\\" x=\\"3\\" y=\\"16\\" rx=\\"1\\"/></g>"},"library":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 6l4 14M12 6v14M8 8v12M4 4v16\\"/>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"link":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\"/><path d=\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\"/></g>"},"list-end":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 5H3m13 7H3m6 7H3m13-3l-3 3l3 3\\"/><path d=\\"M21 5v12a2 2 0 0 1-2 2h-6\\"/></g>"},"list-filter":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 5h20M6 12h12m-9 7h6\\"/>"},"list-ordered":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\"/>"},"loader":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v4m4.2 1.8l2.9-2.9M18 12h4m-5.8 4.2l2.9 2.9M12 18v4m-7.1-2.9l2.9-2.9M2 12h4M4.9 4.9l2.9 2.9\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"locate":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/></g>"},"locate-fixed":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 12h3m14 0h3M12 2v3m0 14v3\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"7\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"lock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 10 0v4\\"/></g>"},"lock-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 9.9-1\\"/></g>"},"log-in":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m10 17l5-5l-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\"/>"},"log-out":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 17l5-5l-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\"/>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-quote":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 14a2 2 0 0 0 2-2V8h-2\\"/><path d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/><path d=\\"M8 14a2 2 0 0 0 2-2V8H8\\"/></g>"},"message-square-text":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM7 11h10M7 15h6M7 7h8\\"/>"},"messages-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1\\"/>"},"mic":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 19v3m7-12v2a7 7 0 0 1-14 0v-2\\"/><rect width=\\"6\\" height=\\"13\\" x=\\"9\\" y=\\"2\\" rx=\\"3\\"/></g>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"monitor-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 17v4m5-4H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826M2 2l20 20M8 21h8M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042\\"/>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"network":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"6\\" height=\\"6\\" x=\\"16\\" y=\\"16\\" rx=\\"1\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"2\\" y=\\"16\\" rx=\\"1\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"9\\" y=\\"2\\" rx=\\"1\\"/><path d=\\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3m-7-4V8\\"/></g>"},"package":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73zm1 .27V12\\"/><path d=\\"M3.29 7L12 12l8.71-5M7.5 4.27l9 5.15\\"/></g>"},"panel-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"paperclip":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\"/>"},"pause":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"5\\" height=\\"18\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"18\\" x=\\"5\\" y=\\"3\\" rx=\\"1\\"/></g>"},"pencil":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\"/>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plug-zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"power":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v10m6.4-5.4a9 9 0 1 1-12.77.04\\"/>"},"qr-code":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"5\\" height=\\"5\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"5\\" x=\\"16\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"5\\" x=\\"3\\" y=\\"16\\" rx=\\"1\\"/><path d=\\"M21 16h-3a2 2 0 0 0-2 2v3m5 0v.01M12 7v3a2 2 0 0 1-2 2H7m-4 0h.01M12 3h.01M12 16v.01M16 12h1m4 0v.01M12 21v-1\\"/></g>"},"radio":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"redo-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 14l5-5l-5-5\\"/><path d=\\"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"rocket":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\"/><path d=\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\"/><path d=\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"rotate-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5\\"/></g>"},"save":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\\"/><path d=\\"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7M7 3v4a1 1 0 0 0 1 1h7\\"/></g>"},"scan-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m4-5h10\\"/>"},"scroll-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 12h-5m5-4h-5m9 9V5a2 2 0 0 0-2-2H4\\"/><path d=\\"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3\\"/></g>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"send":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\"/>"},"server":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M6 6h.01M6 18h.01\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"shield-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1zm-8-5v4m0 4h.01\\"/>"},"shield-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"shield-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1zM9 12h6m-3-3v6\\"/>"},"skip-forward":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 4v16M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z\\"/>"},"sliders-horizontal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 5H3m9 14H3M14 3v4m2 10v4m5-9h-9m9 7h-5m5-14h-7m-6 5v4m0-2H3\\"/>"},"sparkle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z\\"/>"},"sparkles":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\\"/><circle cx=\\"4\\" cy=\\"20\\" r=\\"2\\"/></g>"},"split":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 3h5v5M8 3H3v5\\"/><path d=\\"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3m12 6l6-6\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"square-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\"/><path d=\\"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z\\"/></g>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"target":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></g>"},"terminal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 19h8M4 17l6-6l-6-6\\"/>"},"thumbs-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M9 18.12L10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88M17 14V2\\"/>"},"thumbs-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 5.88L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12\\"/>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"undo-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M9 14L4 9l5-5\\"/><path d=\\"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\\"/></g>"},"unlink":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18.84 12.25l1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07a5.006 5.006 0 0 0-6.95 0l-1.72 1.71m-6.58 6.57l-1.71 1.71a5.004 5.004 0 0 0 .12 7.07a5.006 5.006 0 0 0 6.95 0l1.71-1.71M8 2v3M2 8h3m11 11v3m3-6h3\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"user":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\\"/><circle cx=\\"12\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16 11l2 2l4-4m-6 12v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-cog":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 15H6a4 4 0 0 0-4 4v2m12.305-4.47l.923-.382m0-2.296l-.923-.383m2.547-1.241l-.383-.923m.383 6.467l-.383.924m2.679-6.468l.383-.923m-.001 7.391l-.382-.924m1.624-3.92l.924-.383m-.924 2.679l.924.383\\"/><circle cx=\\"18\\" cy=\\"15\\" r=\\"3\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-minus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"M22 11h-6\\"/></g>"},"user-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.5 15H7a4 4 0 0 0-4 4v2m18.378-4.374a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\\"/><circle cx=\\"10\\" cy=\\"7\\" r=\\"4\\"/></g>"},"user-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"M19 8v6m3-3h-6\\"/></g>"},"user-round-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 21a8 8 0 0 1 13.292-6\\"/><circle cx=\\"10\\" cy=\\"8\\" r=\\"5\\"/><path d=\\"M19 16v6m3-3h-6\\"/></g>"},"user-round-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16.5 16.5l5 5M2 21a8 8 0 0 1 11.531-7.18M21.5 16.5l-5 5\\"/><circle cx=\\"10\\" cy=\\"8\\" r=\\"5\\"/></g>"},"user-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/><path d=\\"m17 8l5 5m0-5l-5 5\\"/></g>"},"users":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\\"/><circle cx=\\"9\\" cy=\\"7\\" r=\\"4\\"/></g>"},"volume-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728\\"/>"},"wand-sparkles":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\\"/>"},"workflow":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"8\\" height=\\"8\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M7 11v4a2 2 0 0 0 2 2h4\\"/><rect width=\\"8\\" height=\\"8\\" x=\\"13\\" y=\\"13\\" rx=\\"2\\"/></g>"},"wrap-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m16 16l-2 2l2 2\\"/><path d=\\"M3 12h15a3 3 0 1 1 0 6h-4M3 18h7M3 6h18\\"/></g>","hidden":true},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"},"zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);bf=!0}var Sf={install(){xf((e,t)=>{let n=e.indexOf(`:`);return n!==-1&&e.slice(0,n).includes(`-`)&&td(e.replace(`:`,`-`),t),td(e,t)})}};function Cf(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function wf(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>Cf(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var Tf=new Set([`link`,`style`,`script`,`noscript`]),Ef=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Df=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Of=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),kf=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Af=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),jf=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Mf=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Nf={critical:-8,high:-1,low:2},Pf=e=>typeof e==`number`?Number.isFinite(e):e;function Ff(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function If(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?If(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var Lf=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function Rf(e,t,n,r){for(let i=n;i<e.length;i+=1)try{let n=r?r.run(()=>e[i](...t)):e[i](...t);if(n&&typeof n.then==`function`)return Promise.resolve(n).then(()=>Rf(e,t,i+1,r))}catch(e){return Promise.reject(e)}}function zf(e,t,n){if(e.length>0)return Rf(e,t,0,Lf(n))}function Bf(e,t,n){if(e.length>0){let r=Lf(n);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function Vf(e,t){for(let n of[...e])n(t)}var Hf=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of n)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=If(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n)e();n.length=0}}removeHooks(e){let t=If(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(zf,e,t)}callHookParallel(e,...t){return this.callHookWith(Bf,e,t)}callHookWith(e,t,n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Vf(this._before,r);let i=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return i instanceof Promise?i.finally(()=>{this._after&&r&&Vf(this._after,r)}):(this._after&&r&&Vf(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function Uf(){return new Hf}var Wf=class{_hooks;constructor(){this._hooks={}}hook(e,t){return!e||typeof t!=`function`?()=>{}:(this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)})}removeHook(e,t){let n=this._hooks[e];if(n){let r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}callHook(e,...t){let n=this._hooks[e];if(n&&n.length!==0)return Rf(n.slice(),t,0)}};function Gf(e){let t=new Wf;for(let n in e||{})t.hook(n,e[n]);return t}function Kf(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}function qf(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>Cf(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var Jf=/^(?:viewport|description|keywords|robots)$/,Yf=[`name`,`property`,`http-equiv`];function Xf(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return Mf.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function Zf(e){let{props:t,tag:n,key:r}=e;if(kf.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Yf){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Jf.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:Ef.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function Qf(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function $f(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=$f(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Ff(n),a=i?void 0:$f(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var ep=/[\s"'<>/=\x00-\x1F\x7F]/;function tp(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function np(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Df.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Ff(r))continue;let i=r.startsWith(`data-`),a=n&&!Af.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||ep.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=tp(r,s);else if(Af.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function rp(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),$f(e,n)}function ip(e,t){let n=np({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&Tf.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function ap(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function op(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=rp(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)ap(n,ip(t,e));else ap(n,ip(t,r))}}return n}var sp=/</g,cp=/<\/script/g,lp=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,up=()=>100;function dp(e){for(let t in e)return!1;return!0}var fp=/^tags:|:render/;function pp(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function mp(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function hp(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(lp)}function gp(e){let t=!1;for(let n of e.tags.sort(lp)){let r=n._d||Qf(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(jf.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Xf(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function _p(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function vp(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(Of.has(i)&&(!dp(a)||Pf(r)||Pf(n.textContent))&&(i!==`meta`||Pf(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(sp,`\\u003C`):typeof e==`string`?e.replace(cp,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=Zf(n)}e[t++]=n}}return e.length=t,e}function yp(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??up,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};pp(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&Kf(e,`entries:resolve`,{entries:a,...r})),pp(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||dp(t.options)))a=t._precomputedTags;else{if(a=op(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!dp(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};Kf(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=Zf(r),r._d||(r._h=Qf(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&fp.test(e)){mp(r.tags);break}let o=gp(r);return _p(r,e),hp(r,o),Kf(e,`tags:beforeResolve`,r),Kf(e,`tags:resolve`,r),Kf(e,`tags:afterResolve`,r),vp(r.tags)}var bp=/\s+/;function xp(e={}){return t=>wp(t,e)}function Sp(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Cp(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(bp))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function wp(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!Sp(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Kf(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Cp(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=yp(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&Xf(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):Df.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Df.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=np({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Zf(i)||Qf(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Kf(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||Sp(e))&&wp(e,t),a}var Tp=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Nf[e.tagPriority]||0);function Ep(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||xp({document:e.document}),n=qf(wf(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Tp,init:[]}),Gf(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}var Dp=`usehead`;function Op(){if(Tr()){let e=wr(Dp);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function kp(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Dp,e)}}.install}var Ap=Object.assign((e,t)=>fn(t)?_n(t):t,{_static:!0});function jp(e,t={}){let n=t.head||Op();return n.ssr?n.push(e||{},t):Mp(n,e,t)}function Mp(e,t,n={}){let r=Fe();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=M(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return Or(()=>{let r=i.value?{}:$f(t,Ap);a?a.patch(r):a=e.push(r,n)}),Rs()?(ia(()=>{a.dispose()}),qi(()=>{i.value=!0}),Ki(()=>{i.value=!1})):r&&Ie(()=>a.dispose()),a}function Np(e={}){let t=xp(),n,r=0;return n=Ep({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=kp(n),n}var Pp={install(e){if(e._context.provides.usehead)return;let t=Np();e.use(t)}},Fp={install(e,t){t?.router&&typeof t.router==`function`&&e.provide(`nuxtui:router`,t.router)}},Ip={inherit:`inherit`,current:`currentcolor`,transparent:`transparent`,black:`#000`,white:`#fff`,slate:{50:`oklch(98.4% 0.003 247.858)`,100:`oklch(96.8% 0.007 247.896)`,200:`oklch(92.9% 0.013 255.508)`,300:`oklch(86.9% 0.022 252.894)`,400:`oklch(70.4% 0.04 256.788)`,500:`oklch(55.4% 0.046 257.417)`,600:`oklch(44.6% 0.043 257.281)`,700:`oklch(37.2% 0.044 257.287)`,800:`oklch(27.9% 0.041 260.031)`,900:`oklch(20.8% 0.042 265.755)`,950:`oklch(12.9% 0.042 264.695)`},gray:{50:`oklch(98.5% 0.002 247.839)`,100:`oklch(96.7% 0.003 264.542)`,200:`oklch(92.8% 0.006 264.531)`,300:`oklch(87.2% 0.01 258.338)`,400:`oklch(70.7% 0.022 261.325)`,500:`oklch(55.1% 0.027 264.364)`,600:`oklch(44.6% 0.03 256.802)`,700:`oklch(37.3% 0.034 259.733)`,800:`oklch(27.8% 0.033 256.848)`,900:`oklch(21% 0.034 264.665)`,950:`oklch(13% 0.028 261.692)`},zinc:{50:`oklch(98.5% 0 none)`,100:`oklch(96.7% 0.001 286.375)`,200:`oklch(92% 0.004 286.32)`,300:`oklch(87.1% 0.006 286.286)`,400:`oklch(70.5% 0.015 286.067)`,500:`oklch(55.2% 0.016 285.938)`,600:`oklch(44.2% 0.017 285.786)`,700:`oklch(37% 0.013 285.805)`,800:`oklch(27.4% 0.006 286.033)`,900:`oklch(21% 0.006 285.885)`,950:`oklch(14.1% 0.005 285.823)`},neutral:{50:`oklch(98.5% 0 none)`,100:`oklch(97% 0 none)`,200:`oklch(92.2% 0 none)`,300:`oklch(87% 0 none)`,400:`oklch(70.8% 0 none)`,500:`oklch(55.6% 0 none)`,600:`oklch(43.9% 0 none)`,700:`oklch(37.1% 0 none)`,800:`oklch(26.9% 0 none)`,900:`oklch(20.5% 0 none)`,950:`oklch(14.5% 0 none)`},stone:{50:`oklch(98.5% 0.001 106.423)`,100:`oklch(97% 0.001 106.424)`,200:`oklch(92.3% 0.003 48.717)`,300:`oklch(86.9% 0.005 56.366)`,400:`oklch(70.9% 0.01 56.259)`,500:`oklch(55.3% 0.013 58.071)`,600:`oklch(44.4% 0.011 73.639)`,700:`oklch(37.4% 0.01 67.558)`,800:`oklch(26.8% 0.007 34.298)`,900:`oklch(21.6% 0.006 56.043)`,950:`oklch(14.7% 0.004 49.25)`},mauve:{50:`oklch(98.5% 0 none)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},red:{50:`oklch(97.1% 0.013 17.38)`,100:`oklch(93.6% 0.032 17.717)`,200:`oklch(88.5% 0.062 18.334)`,300:`oklch(80.8% 0.114 19.571)`,400:`oklch(70.4% 0.191 22.216)`,500:`oklch(63.7% 0.237 25.331)`,600:`oklch(57.7% 0.245 27.325)`,700:`oklch(50.5% 0.213 27.518)`,800:`oklch(44.4% 0.177 26.899)`,900:`oklch(39.6% 0.141 25.723)`,950:`oklch(25.8% 0.092 26.042)`},orange:{50:`oklch(98% 0.016 73.684)`,100:`oklch(95.4% 0.038 75.164)`,200:`oklch(90.1% 0.076 70.697)`,300:`oklch(83.7% 0.128 66.29)`,400:`oklch(75% 0.183 55.934)`,500:`oklch(70.5% 0.213 47.604)`,600:`oklch(64.6% 0.222 41.116)`,700:`oklch(55.3% 0.195 38.402)`,800:`oklch(47% 0.157 37.304)`,900:`oklch(40.8% 0.123 38.172)`,950:`oklch(26.6% 0.079 36.259)`},amber:{50:`oklch(98.7% 0.022 95.277)`,100:`oklch(96.2% 0.059 95.617)`,200:`oklch(92.4% 0.12 95.746)`,300:`oklch(87.9% 0.169 91.605)`,400:`oklch(82.8% 0.189 84.429)`,500:`oklch(76.9% 0.188 70.08)`,600:`oklch(66.6% 0.179 58.318)`,700:`oklch(55.5% 0.163 48.998)`,800:`oklch(47.3% 0.137 46.201)`,900:`oklch(41.4% 0.112 45.904)`,950:`oklch(27.9% 0.077 45.635)`},yellow:{50:`oklch(98.7% 0.026 102.212)`,100:`oklch(97.3% 0.071 103.193)`,200:`oklch(94.5% 0.129 101.54)`,300:`oklch(90.5% 0.182 98.111)`,400:`oklch(85.2% 0.199 91.936)`,500:`oklch(79.5% 0.184 86.047)`,600:`oklch(68.1% 0.162 75.834)`,700:`oklch(55.4% 0.135 66.442)`,800:`oklch(47.6% 0.114 61.907)`,900:`oklch(42.1% 0.095 57.708)`,950:`oklch(28.6% 0.066 53.813)`},lime:{50:`oklch(98.6% 0.031 120.757)`,100:`oklch(96.7% 0.067 122.328)`,200:`oklch(93.8% 0.127 124.321)`,300:`oklch(89.7% 0.196 126.665)`,400:`oklch(84.1% 0.238 128.85)`,500:`oklch(76.8% 0.233 130.85)`,600:`oklch(64.8% 0.2 131.684)`,700:`oklch(53.2% 0.157 131.589)`,800:`oklch(45.3% 0.124 130.933)`,900:`oklch(40.5% 0.101 131.063)`,950:`oklch(27.4% 0.072 132.109)`},green:{50:`oklch(98.2% 0.018 155.826)`,100:`oklch(96.2% 0.044 156.743)`,200:`oklch(92.5% 0.084 155.995)`,300:`oklch(87.1% 0.15 154.449)`,400:`oklch(79.2% 0.209 151.711)`,500:`oklch(72.3% 0.219 149.579)`,600:`oklch(62.7% 0.194 149.214)`,700:`oklch(52.7% 0.154 150.069)`,800:`oklch(44.8% 0.119 151.328)`,900:`oklch(39.3% 0.095 152.535)`,950:`oklch(26.6% 0.065 152.934)`},emerald:{50:`oklch(97.9% 0.021 166.113)`,100:`oklch(95% 0.052 163.051)`,200:`oklch(90.5% 0.093 164.15)`,300:`oklch(84.5% 0.143 164.978)`,400:`oklch(76.5% 0.177 163.223)`,500:`oklch(69.6% 0.17 162.48)`,600:`oklch(59.6% 0.145 163.225)`,700:`oklch(50.8% 0.118 165.612)`,800:`oklch(43.2% 0.095 166.913)`,900:`oklch(37.8% 0.077 168.94)`,950:`oklch(26.2% 0.051 172.552)`},teal:{50:`oklch(98.4% 0.014 180.72)`,100:`oklch(95.3% 0.051 180.801)`,200:`oklch(91% 0.096 180.426)`,300:`oklch(85.5% 0.138 181.071)`,400:`oklch(77.7% 0.152 181.912)`,500:`oklch(70.4% 0.14 182.503)`,600:`oklch(60% 0.118 184.704)`,700:`oklch(51.1% 0.096 186.391)`,800:`oklch(43.7% 0.078 188.216)`,900:`oklch(38.6% 0.063 188.416)`,950:`oklch(27.7% 0.046 192.524)`},cyan:{50:`oklch(98.4% 0.019 200.873)`,100:`oklch(95.6% 0.045 203.388)`,200:`oklch(91.7% 0.08 205.041)`,300:`oklch(86.5% 0.127 207.078)`,400:`oklch(78.9% 0.154 211.53)`,500:`oklch(71.5% 0.143 215.221)`,600:`oklch(60.9% 0.126 221.723)`,700:`oklch(52% 0.105 223.128)`,800:`oklch(45% 0.085 224.283)`,900:`oklch(39.8% 0.07 227.392)`,950:`oklch(30.2% 0.056 229.695)`},sky:{50:`oklch(97.7% 0.013 236.62)`,100:`oklch(95.1% 0.026 236.824)`,200:`oklch(90.1% 0.058 230.902)`,300:`oklch(82.8% 0.111 230.318)`,400:`oklch(74.6% 0.16 232.661)`,500:`oklch(68.5% 0.169 237.323)`,600:`oklch(58.8% 0.158 241.966)`,700:`oklch(50% 0.134 242.749)`,800:`oklch(44.3% 0.11 240.79)`,900:`oklch(39.1% 0.09 240.876)`,950:`oklch(29.3% 0.066 243.157)`},blue:{50:`oklch(97% 0.014 254.604)`,100:`oklch(93.2% 0.032 255.585)`,200:`oklch(88.2% 0.059 254.128)`,300:`oklch(80.9% 0.105 251.813)`,400:`oklch(70.7% 0.165 254.624)`,500:`oklch(62.3% 0.214 259.815)`,600:`oklch(54.6% 0.245 262.881)`,700:`oklch(48.8% 0.243 264.376)`,800:`oklch(42.4% 0.199 265.638)`,900:`oklch(37.9% 0.146 265.522)`,950:`oklch(28.2% 0.091 267.935)`},indigo:{50:`oklch(96.2% 0.018 272.314)`,100:`oklch(93% 0.034 272.788)`,200:`oklch(87% 0.065 274.039)`,300:`oklch(78.5% 0.115 274.713)`,400:`oklch(67.3% 0.182 276.935)`,500:`oklch(58.5% 0.233 277.117)`,600:`oklch(51.1% 0.262 276.966)`,700:`oklch(45.7% 0.24 277.023)`,800:`oklch(39.8% 0.195 277.366)`,900:`oklch(35.9% 0.144 278.697)`,950:`oklch(25.7% 0.09 281.288)`},violet:{50:`oklch(96.9% 0.016 293.756)`,100:`oklch(94.3% 0.029 294.588)`,200:`oklch(89.4% 0.057 293.283)`,300:`oklch(81.1% 0.111 293.571)`,400:`oklch(70.2% 0.183 293.541)`,500:`oklch(60.6% 0.25 292.717)`,600:`oklch(54.1% 0.281 293.009)`,700:`oklch(49.1% 0.27 292.581)`,800:`oklch(43.2% 0.232 292.759)`,900:`oklch(38% 0.189 293.745)`,950:`oklch(28.3% 0.141 291.089)`},purple:{50:`oklch(97.7% 0.014 308.299)`,100:`oklch(94.6% 0.033 307.174)`,200:`oklch(90.2% 0.063 306.703)`,300:`oklch(82.7% 0.119 306.383)`,400:`oklch(71.4% 0.203 305.504)`,500:`oklch(62.7% 0.265 303.9)`,600:`oklch(55.8% 0.288 302.321)`,700:`oklch(49.6% 0.265 301.924)`,800:`oklch(43.8% 0.218 303.724)`,900:`oklch(38.1% 0.176 304.987)`,950:`oklch(29.1% 0.149 302.717)`},fuchsia:{50:`oklch(97.7% 0.017 320.058)`,100:`oklch(95.2% 0.037 318.852)`,200:`oklch(90.3% 0.076 319.62)`,300:`oklch(83.3% 0.145 321.434)`,400:`oklch(74% 0.238 322.16)`,500:`oklch(66.7% 0.295 322.15)`,600:`oklch(59.1% 0.293 322.896)`,700:`oklch(51.8% 0.253 323.949)`,800:`oklch(45.2% 0.211 324.591)`,900:`oklch(40.1% 0.17 325.612)`,950:`oklch(29.3% 0.136 325.661)`},pink:{50:`oklch(97.1% 0.014 343.198)`,100:`oklch(94.8% 0.028 342.258)`,200:`oklch(89.9% 0.061 343.231)`,300:`oklch(82.3% 0.12 346.018)`,400:`oklch(71.8% 0.202 349.761)`,500:`oklch(65.6% 0.241 354.308)`,600:`oklch(59.2% 0.249 0.584)`,700:`oklch(52.5% 0.223 3.958)`,800:`oklch(45.9% 0.187 3.815)`,900:`oklch(40.8% 0.153 2.432)`,950:`oklch(28.4% 0.109 3.907)`},rose:{50:`oklch(96.9% 0.015 12.422)`,100:`oklch(94.1% 0.03 12.58)`,200:`oklch(89.2% 0.058 10.001)`,300:`oklch(81% 0.117 11.638)`,400:`oklch(71.2% 0.194 13.428)`,500:`oklch(64.5% 0.246 16.439)`,600:`oklch(58.6% 0.253 17.585)`,700:`oklch(51.4% 0.222 16.935)`,800:`oklch(45.5% 0.188 13.697)`,900:`oklch(41% 0.159 10.272)`,950:`oklch(27.1% 0.105 12.094)`}};function Lp(e,t){return Fe()?(Ie(e,t),!0):!1}function Rp(e){let t=!1,n,r=Pe(!0);return((...i)=>(t||=(n=r.run(()=>e(...i)),!0),n))}var zp=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Bp=e=>e!==void 0,Vp=Object.prototype.toString,Hp=e=>Vp.call(e)===`[object Object]`,Up=()=>{},Wp=Gp();function Gp(){var e,t;return zp&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Kp(...e){if(e.length!==1)return Tn(...e);let t=e[0];return typeof t==`function`?en(xn(()=>({get:t,set:Up}))):M(t)}function qp(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}function Jp(e,t={}){let n,r,i=Up,a=Up,o=pn(!1),s=e=>{clearTimeout(e),i(),i=Up},c;return Object.assign(l=>{let u=_n(e),d=_n(t.maxWait);return n&&s(n),u<=0||d!==void 0&&d<=0?(r&&=(s(r),void 0),o.value=!1,Promise.resolve(l())):(o.value=!0,new Promise((e,f)=>{i=t.rejectOnCancel?f:e,a=e,c=l,d&&!r&&(r=setTimeout(()=>{n&&s(n),r=void 0,o.value=!1,e(c())},d)),n=setTimeout(()=>{r&&s(r),r=void 0,o.value=!1,e(l())},u)}))},{cancel:()=>{n&&=(s(n),void 0),r&&=(s(r),void 0),o.value=!1,a=Up},flush:()=>{if(o.value){n&&=(clearTimeout(n),void 0),r&&=(clearTimeout(r),void 0),o.value=!1;let e=a;i=Up,a=Up,e(c())}},isPending:tn(o)})}function Yp(e){return Array.isArray(e)?e:[e]}function Xp(e){let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))}var Zp=/-(\w)/g,Qp=Xp(e=>e.replace(Zp,(e,t)=>t?t.toUpperCase():``));function $p(e){return e||Rs()}function em(e){if(!zp)return e;let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...a)=>(t+=1,r||(r=Pe(!0),n=r.run(()=>e(...a))),Lp(i),n))}function tm(e,t){if(typeof Symbol<`u`){let n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function nm(e){return Qt(fn(e)?new Proxy({},{get(t,n,r){return N(Reflect.get(e.value,n,r))},set(t,n,r){return fn(e.value[n])&&!fn(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function rm(e){return nm(q(e))}function im(e,...t){let n=t.flat(),r=n[0];return rm(()=>Object.fromEntries(typeof r==`function`?Object.entries(Sn(e)).filter(([e,t])=>!r(_n(t),e)):Object.entries(Sn(e)).filter(e=>!n.includes(e[0]))))}function am(e,...t){let n=t.flat(),r=n[0];return rm(()=>Object.fromEntries(typeof r==`function`?Object.entries(Sn(e)).filter(([e,t])=>r(_n(t),e)):n.map(t=>[t,Kp(e,t)])))}function om(e,t=1e4){return xn((n,r)=>{let i=_n(e),a,o=()=>setTimeout(()=>{i=_n(e),r()},_n(t));return Lp(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function sm(e,t=200,n={}){return qp(Jp(t,n),e)}function cm(e,t){$p(t)&&ia(e,t)}function lm(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=pn(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},_n(t))}return r&&(a.value=!0,zp&&l()),Lp(c),{isPending:tn(a),start:l,stop:c}}function um(e=1e3,t={}){let{controls:n=!1,callback:r}=t,i=lm(r??Up,e,t),a=q(()=>!i.isPending.value);return n?{ready:a,...i}:a}function dm(e,t,n){return F(e,t,{...n,immediate:!0})}function fm(e={}){let{inheritAttrs:t=!0,name:n=`ReusableTemplate`}=e,r=pn(),i=I({name:`${n}.define`,setup(e,{slots:t}){return()=>{r.value=t.default}}}),a=I({inheritAttrs:t,name:`${n}.reuse`,props:e.props,setup(n,{attrs:i,slots:a}){return()=>{if(!r.value)throw Error(`[VueUse] Failed to find the definition of reusable template`);let o=r.value?.call(r,{...e.props==null?pm(i):n,$slots:a});return t&&o?.length===1?o[0]:o}}});return tm({define:i,reuse:a},[i,a])}function pm(e){let t={};for(let n in e)t[Qp(n)]=e[n];return t}zp&&window.document,zp&&window.navigator,zp&&window.location;function mm(e){return JSON.parse(JSON.stringify(e))}function hm(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=Rs(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):mm(e):e,g=()=>Bp(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=M(g()),r=!1;return F(()=>e[t],e=>{r||(r=!0,n.value=h(e),tr(()=>r=!1))}),F(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return q({get(){return g()},set(e){_(e)}})}var gm={ui:{colors:{primary:`blue`,secondary:`blue`,success:`green`,info:`blue`,warning:`yellow`,error:`red`,neutral:`zinc`},icons:{arrowDown:`i-lucide-arrow-down`,arrowLeft:`i-lucide-arrow-left`,arrowRight:`i-lucide-arrow-right`,arrowUp:`i-lucide-arrow-up`,caution:`i-lucide-circle-alert`,check:`i-lucide-check`,chevronDoubleLeft:`i-lucide-chevrons-left`,chevronDoubleRight:`i-lucide-chevrons-right`,chevronDown:`i-lucide-chevron-down`,chevronLeft:`i-lucide-chevron-left`,chevronRight:`i-lucide-chevron-right`,chevronUp:`i-lucide-chevron-up`,close:`i-lucide-x`,copy:`i-lucide-copy`,copyCheck:`i-lucide-copy-check`,dark:`i-lucide-moon`,drag:`i-lucide-grip-vertical`,ellipsis:`i-lucide-ellipsis`,error:`i-lucide-circle-x`,external:`i-lucide-arrow-up-right`,eye:`i-lucide-eye`,eyeOff:`i-lucide-eye-off`,file:`i-lucide-file`,folder:`i-lucide-folder`,folderOpen:`i-lucide-folder-open`,hash:`i-lucide-hash`,info:`i-lucide-info`,light:`i-lucide-sun`,loading:`i-lucide-loader-circle`,menu:`i-lucide-menu`,minus:`i-lucide-minus`,panelClose:`i-lucide-panel-left-close`,panelOpen:`i-lucide-panel-left-open`,plus:`i-lucide-plus`,reload:`i-lucide-rotate-ccw`,search:`i-lucide-search`,stop:`i-lucide-square`,star:`i-lucide-star`,success:`i-lucide-circle-check`,system:`i-lucide-monitor`,tip:`i-lucide-lightbulb`,upload:`i-lucide-upload`,warning:`i-lucide-triangle-alert`},tv:{twMergeConfig:{}}},colorMode:!1,icon:{}},_m=Qt(gm),vm=()=>_m,ym={meta:``,ctrl:``,alt:``,win:`⊞`,command:`⌘`,shift:`⇧`,control:`⌃`,option:`⌥`,enter:`↵`,delete:`⌦`,backspace:`⌫`,escape:`Esc`,tab:`⇥`,capslock:`⇪`,arrowup:`↑`,arrowright:`→`,arrowdown:`↓`,arrowleft:`←`,pageup:`⇞`,pagedown:`⇟`,home:`↖`,end:`↘`},bm=em(()=>{let e=q(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=Qt({meta:` `,alt:` `,ctrl:` `});ta(()=>{t.meta=e.value?ym.command:`Ctrl`,t.ctrl=e.value?ym.control:`Ctrl`,t.alt=e.value?ym.option:`Alt`});function n(e){if(e)return[`meta`,`alt`,`ctrl`].includes(e)?t[e]:ym[e]||e}return{macOS:e,getKbdKey:n}});function xm(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function Sm(e,t,n=`.`,r){if(!xm(t))return Sm(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:xm(a)&&xm(i[t])?Sm(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function Cm(e){return(...t)=>t.reduce((t,n)=>Sm(t,n,``,e),{})}var wm=Cm();function Tm(e){return wm(e,{dir:`ltr`})}String.fromCharCode;var Em=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Dm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Om=/^([/\\]\s*){2,}[^/\\]/;function km(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?Em.test(e):Dm.test(e)||(t.acceptRelative?Om.test(e):!1)}function Am(e,t){let n={...e};for(let e of t)delete n[e];return n}function jm(e,t,n){let r=typeof t==`string`?t.split(`.`):t,i=e;for(let e of r){if(i==null)return n;i=i[e]}return i===void 0?n:i}function Mm(e){let t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function Nm(e){if(e==null)return!0;if(typeof e==`boolean`||typeof e==`number`)return!1;if(typeof e==`string`)return e.trim().length===0;if(Array.isArray(e))return e.length===0;if(e instanceof Map||e instanceof Set)return e.size===0;if(e instanceof Date||e instanceof RegExp||typeof e==`function`)return!1;if(typeof e==`object`){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}return!1}function Pm(e){return Array.isArray(e[0])}function Fm(e,t){return!e&&!t?``:[...Array.isArray(e)?e:[e],t].filter(Boolean)}function Im(e){return(t,n)=>Lm(t,n,N(e))}function Lm(e,t,n){return jm(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`)}function Rm(e){return{lang:q(()=>N(e).name),code:q(()=>N(e).code),dir:q(()=>N(e).dir),locale:fn(e)?e:M(e),t:Im(e)}}var zm=Tm({name:`English`,code:`en`,messages:{alert:{close:`Close`},authForm:{hidePassword:`Hide password`,showPassword:`Show password`,submit:`Continue`},banner:{close:`Close`},calendar:{nextMonth:`Next month`,nextYear:`Next year`,prevMonth:`Previous month`,prevYear:`Previous year`},carousel:{dots:`Choose slide to display`,goto:`Go to slide {slide}`,next:`Next`,prev:`Prev`},chatPrompt:{placeholder:`Type your message here…`},chatPromptSubmit:{label:`Send prompt`},colorMode:{dark:`Dark`,light:`Light`,switchToDark:`Switch to dark mode`,switchToLight:`Switch to light mode`,system:`System`},commandPalette:{back:`Back`,close:`Close`,noData:`No data`,noMatch:`No matching data`,placeholder:`Type a command or search…`},contentSearch:{links:`Links`,search:`Results`,theme:`Theme`},contentSearchButton:{label:`Search…`},contentToc:{title:`On this page`},dropdownMenu:{noMatch:`No matching data`,search:`Search…`},dashboardSearch:{theme:`Theme`},dashboardSearchButton:{label:`Search…`},dashboardSidebarCollapse:{collapse:`Collapse sidebar`,expand:`Expand sidebar`},dashboardSidebarToggle:{close:`Close sidebar`,open:`Open sidebar`},drawer:{close:`Close`},error:{clear:`Back to home`},fileUpload:{removeFile:`Remove {filename}`},header:{close:`Close menu`,open:`Open menu`},inputMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`},inputNumber:{decrement:`Decrement`,increment:`Increment`},listbox:{noData:`No data`,noMatch:`No matching data`,search:`Search…`},modal:{close:`Close`},pricingTable:{caption:`Pricing plan comparison`},prose:{codeCollapse:{closeText:`Collapse`,name:`code`,openText:`Expand`},collapsible:{closeText:`Hide`,name:`properties`,openText:`Show`},pre:{copy:`Copy code to clipboard`},prompt:{copy:`Copy prompt`,openIn:`Open in {name}`}},chatReasoning:{thinking:`Thinking…`,thought:`Thought`,thoughtFor:`Thought for {duration}`},sidebar:{close:`Close`,toggle:`Toggle`},selectMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`,search:`Search…`},slideover:{close:`Close`},table:{noData:`No data`},toast:{close:`Close`}}}),Bm=Symbol.for(`nuxt-ui.locale-context`),Vm=em(e=>{let t=e||Tn(wr(Bm,zm));return Rm(q(()=>t.value||zm))}),Hm={},Um=(e,t)=>{if(Hm[e])return Hm[e];let n=M(t());return Hm[e]=n,n},Wm=Uf();function Gm(){return{isHydrating:!0,payload:{serverRendered:!1},hooks:Wm,hook:Wm.hook}}function Km(e){return{install(t){t.runWithContext(()=>e({vueApp:t}))}}}var qm=[50,100,200,300,400,500,600,700,800,900,950];function Jm(e,t){return e in Ip&&typeof Ip[e]==`object`&&t in Ip[e]?Ip[e][t]:``}function Ym(e,t,n){let r=n?`${n}-`:``;return`${qm.map(n=>`--ui-color-${e}-${n}: var(--${r}color-${t===`neutral`?`old-neutral`:t}-${n}, ${Jm(t,n)});`).join(`
5
+ `)}`}function Xm(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}function Zm(){document.querySelector(`[data-nuxt-ui-colors]`)?.remove()}var Qm=Km(()=>{let e=vm(),t=Gm(),n=q(()=>{let{neutral:t,...n}=e.ui.colors,r=e.ui.prefix;return`@layer theme {
6
6
  :root, :host {
7
- ${Object.entries(e.ui.colors).map(([e,t])=>zm(e,t,r)).join(`
7
+ ${Object.entries(e.ui.colors).map(([e,t])=>Ym(e,t,r)).join(`
8
8
  `)}
9
9
  }
10
10
  :root, :host, .light {
11
- ${Object.keys(n).map(e=>Bm(e,500)).join(`
11
+ ${Object.keys(n).map(e=>Xm(e,500)).join(`
12
12
  `)}
13
13
  }
14
14
  .dark {
15
- ${Object.keys(n).map(e=>Bm(e,400)).join(`
15
+ ${Object.keys(n).map(e=>Xm(e,400)).join(`
16
16
  `)}
17
17
  }
18
- }`}),r={style:[{innerHTML:n,tagPriority:`critical`,id:`nuxt-ui-colors`}]};if(t.isHydrating&&!t.payload.serverRendered){let e=document.createElement(`style`);e.innerHTML=n.value,e.setAttribute(`data-nuxt-ui-colors`,``),document.head.appendChild(e);let t=Dp().hooks?.hook(`dom:rendered`,()=>{Vm(),t?.()})}Ap(r)}),Um={install(e,t={}){e.use(xf,t),e.use(Np,t),e.use(Pp,t),e.use(Hm,t)}};function Wm(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=F(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(Cr(r,e),e)]}function Gm(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Km(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function qm(e){return e==null}var Jm=Rp?window:void 0;Rp&&window.document,Rp&&window.navigator,Rp&&window.location;function Ym(e){let t=_n(e);return t?.$el??t}function Xm(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=J(()=>{let t=Jp(_n(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return cm(()=>[n.value?.map(e=>Ym(e))??[Jm].filter(e=>e!=null),Jp(_n(n.value?e[1]:e[0])),Jp(N(n.value?e[2]:e[1])),_n(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Vp(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function Zm(){let e=pn(!1),t=Ls();return t&&ea(()=>{e.value=!0},t),e}function Qm(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function $m(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=Jm,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Qm(t);return Xm(i,a,e=>{e.repeat&&_n(s)||c(e)&&n(e)},o)}function eh(e,t={}){let{immediate:n=!0,fpsLimit:r=null,window:i=Jm,once:a=!1}=t,o=pn(!1),s=J(()=>{let e=_n(r);return e?1e3/e:null}),c=0,l=null;function u(t){if(!o.value||!i)return;c||=t;let n=t-c;s.value&&n<s.value?l=i.requestAnimationFrame(u):(c=t,e({delta:n,timestamp:t}),a?(o.value=!1,l=null):l=i.requestAnimationFrame(u))}function d(){!o.value&&i&&(o.value=!0,c=0,l=i.requestAnimationFrame(u))}function f(){o.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return n&&d(),Ip(f),{isActive:nn(o),pause:f,resume:d}}function th(e){return JSON.parse(JSON.stringify(e))}function nh(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=Ls(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):th(e):e,g=()=>zp(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=M(g()),r=!1;return I(()=>e[t],e=>{r||(r=!0,n.value=h(e),tr(()=>r=!1))}),I(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return J({get(){return g()},set(e){_(e)}})}function rh(e){return e?e.flatMap(e=>e.type===z?rh(e.children):[e]):[]}var[ih,ah]=Wm(`ConfigProvider`),oh=L({inheritAttrs:!1,__name:`ConfigProvider`,props:{dir:{type:String,required:!1,default:`ltr`},locale:{type:String,required:!1,default:`en`},scrollBody:{type:[Boolean,Object],required:!1,default:!0},nonce:{type:String,required:!1,default:void 0},teleportTo:{type:null,required:!1,default:void 0},useId:{type:Function,required:!1,default:void 0}},setup(e){let t=e,{dir:n,locale:r,scrollBody:i,nonce:a,teleportTo:o}=Sn(t);return ah({dir:n,locale:r,scrollBody:i,nonce:a,teleportTo:o,useId:t.useId}),(e,t)=>R(e.$slots,`default`)}}),sh=$t({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set}),ch=$p(()=>{let e=M(new Map),t=M(),n=J(()=>{for(let t of e.value.values())if(t)return!0;return!1}),r=ih({scrollBody:M(!0)}),i=null,a=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,sh.layersWithOutsidePointerEventsDisabled.size===0&&(document.body.style.pointerEvents=``),document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=t.value??``,Up&&i?.(),t.value=void 0};return I(n,(e,o)=>{if(!Rp)return;if(!e){o&&a();return}t.value===void 0&&(t.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=r.scrollBody?.value?typeof r.scrollBody.value==`object`?_m({padding:r.scrollBody.value.padding===!0?s:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?s:r.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),Up&&(i=Xm(document,`touchmove`,e=>dh(e),{passive:!1})),tr(()=>{n.value&&(document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`)})},{immediate:!0,flush:`sync`}),e});function lh(e){let t=Math.random().toString(36).substring(2,7),n=ch();n.value.set(t,e??!1);let r=J({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return am(()=>{n.value.delete(t)}),r}function uh(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:uh(t)}}function dh(e){let t=e||window.event,n=t.target;return n instanceof Element&&uh(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function fh(e){let t=Ls(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[ce(E(t))]=(...n)=>e(t,...n)}),r}function ph(e){return J(()=>!_n(e)||!!Ym(e)?.closest(`form`))}function Y(){let e=Ls(),t=M(),n=J(()=>r());na(()=>{n.value!==r()&&gn(t)});function r(){return t.value&&`$el`in t.value&&[`#text`,`#comment`].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Ym(t)}let i=Object.assign({},e.exposed),a={};for(let t in e.props)Object.defineProperty(a,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(i).length>0)for(let e in i)Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>i[e]});Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=a;function o(n){if(t.value=n,n&&(Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),!(n instanceof Element)&&!Object.hasOwn(n,`$el`))){let t=n.$.exposed,r=Object.assign({},a);for(let e in t)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>t[e]});e.exposed=r}}return{forwardRef:o,currentRef:t,currentElement:n}}function mh(e){let t=Ls(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=Tn(e);return J(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[E(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function hh(){let e=Ls()?.vnode?.scopeId;return e?{[e]:``}:{}}var gh=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},_h=new WeakMap,vh=new WeakMap,yh={},bh=0,xh=function(e){return e&&(e.host||xh(e.parentNode))},Sh=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=xh(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Ch=function(e,t,n,r){var i=Sh(t,Array.isArray(e)?e:[e]);yh[n]||(yh[n]=new WeakMap);var a=yh[n],o=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(_h.get(e)||0)+1,l=(a.get(e)||0)+1;_h.set(e,c),a.set(e,l),o.push(e),c===1&&i&&vh.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),bh++,function(){o.forEach(function(e){var t=_h.get(e)-1,i=a.get(e)-1;_h.set(e,t),a.set(e,i),t||(vh.has(e)||e.removeAttribute(r),vh.delete(e)),i||e.removeAttribute(n)}),bh--,bh||(_h=new WeakMap,_h=new WeakMap,vh=new WeakMap,yh={})}},wh=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||gh(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Ch(r,i,n,`aria-hidden`)):function(){return null}};function Th(e){let t;I(()=>Ym(e),e=>{let n=!1;try{n=!!e?.closest(`[popover]:not(:popover-open)`)}catch{}e&&!n?t=wh(e):t&&t()}),ia(()=>{t&&t()})}var Eh=0;function Dh(e,t=`reka`){if(e)return e;let n,r=ih({useId:void 0});return n=r.useId?r.useId():`useId`in ku?ci?.():`${++Eh}`,t?`${t}-${n}`:n}function Oh(e,t){let n=M(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}function kh(e,t){let n=M({}),r=M(`none`),i=M(e),a=e.value?`mounted`:`unmounted`,o,s=t.value?.ownerDocument.defaultView??Jm,{state:c,dispatch:l}=Oh(a,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),u=e=>{if(Rp){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(n)}};I(e,async(e,i)=>{let a=i!==e;if(await tr(),a){let a=r.value,o=Ah(t.value);e?(l(`MOUNT`),u(`enter`),o===`none`&&u(`after-enter`)):o===`none`||o===`undefined`||n.value?.display===`none`?(l(`UNMOUNT`),u(`leave`),u(`after-leave`)):i&&a!==o?(l(`ANIMATION_OUT`),u(`leave`)):(l(`UNMOUNT`),u(`after-leave`))}},{immediate:!0});let d=e=>{if(e.target!==t.value)return;let n=Ah(t.value),r=n.includes(CSS.escape(e.animationName)),a=c.value===`mounted`?`enter`:`leave`;if(r&&(u(`after-${a}`),l(`ANIMATION_END`),!i.value)){let e=t.value.style.animationFillMode;t.value.style.animationFillMode=`forwards`,o=s?.setTimeout(()=>{t.value?.style.animationFillMode===`forwards`&&(t.value.style.animationFillMode=e)})}n===`none`&&l(`ANIMATION_END`)},f=e=>{e.target===t.value&&(r.value=Ah(t.value))},p=I(t,(e,t)=>{e?(n.value=getComputedStyle(e),e.addEventListener(`animationstart`,f),e.addEventListener(`animationcancel`,d),e.addEventListener(`animationend`,d)):(l(`ANIMATION_END`),o!==void 0&&s?.clearTimeout(o),t?.removeEventListener(`animationstart`,f),t?.removeEventListener(`animationcancel`,d),t?.removeEventListener(`animationend`,d))},{immediate:!0}),m=I(c,()=>{let e=Ah(t.value);r.value=c.value===`mounted`?e:`none`});return ia(()=>{p(),m(),t.value&&(t.value.removeEventListener(`animationstart`,f),t.value.removeEventListener(`animationcancel`,d),t.value.removeEventListener(`animationend`,d)),o!==void 0&&s?.clearTimeout(o)}),{isPresent:J(()=>[`mounted`,`unmountSuspended`].includes(c.value))}}function Ah(e){return e&&getComputedStyle(e).animationName||`none`}var jh=L({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){let{present:r,forceMount:i}=Sn(e),a=M(),{isPresent:o}=kh(r,a);n({present:o});let s=t.default({present:o.value});s=rh(s||[]);let c=Ls();if(s&&s?.length>1){let e=c?.parent?.type.name?`<${c.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
18
+ }`}),r={style:[{innerHTML:n,tagPriority:`critical`,id:`nuxt-ui-colors`}]};if(t.isHydrating&&!t.payload.serverRendered){let e=document.createElement(`style`);e.innerHTML=n.value,e.setAttribute(`data-nuxt-ui-colors`,``),document.head.appendChild(e);let t=Op().hooks?.hook(`dom:rendered`,()=>{Zm(),t?.()})}jp(r)}),$m={install(e,t={}){e.use(Sf,t),e.use(Pp,t),e.use(Fp,t),e.use(Qm,t)}};function eh(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=wr(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(Cr(r,e),e)]}function th(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function nh(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function rh(e){return e==null}var ih=zp?window:void 0;zp&&window.document,zp&&window.navigator,zp&&window.location;function ah(e){let t=_n(e);return t?.$el??t}function oh(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=q(()=>{let t=Yp(_n(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return dm(()=>[n.value?.map(e=>ah(e))??[ih].filter(e=>e!=null),Yp(_n(n.value?e[1]:e[0])),Yp(N(n.value?e[2]:e[1])),_n(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=Hp(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}function sh(){let e=pn(!1),t=Rs();return t&&ta(()=>{e.value=!0},t),e}function ch(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function lh(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=ih,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=ch(t);return oh(i,a,e=>{e.repeat&&_n(s)||c(e)&&n(e)},o)}function uh(e,t={}){let{immediate:n=!0,fpsLimit:r=null,window:i=ih,once:a=!1}=t,o=pn(!1),s=q(()=>{let e=_n(r);return e?1e3/e:null}),c=0,l=null;function u(t){if(!o.value||!i)return;c||=t;let n=t-c;s.value&&n<s.value?l=i.requestAnimationFrame(u):(c=t,e({delta:n,timestamp:t}),a?(o.value=!1,l=null):l=i.requestAnimationFrame(u))}function d(){!o.value&&i&&(o.value=!0,c=0,l=i.requestAnimationFrame(u))}function f(){o.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return n&&d(),Lp(f),{isActive:tn(o),pause:f,resume:d}}function dh(e){return JSON.parse(JSON.stringify(e))}function fh(e,t,n,r={}){var i,a;let{clone:o=!1,passive:s=!1,eventName:c,deep:l=!1,defaultValue:u,shouldEmit:d}=r,f=Rs(),p=n||f?.emit||(f==null||(i=f.$emit)==null?void 0:i.bind(f))||(f==null||(a=f.proxy)==null||(a=a.$emit)==null?void 0:a.bind(f?.proxy)),m=c;t||=`modelValue`,m||=`update:${t.toString()}`;let h=e=>o?typeof o==`function`?o(e):dh(e):e,g=()=>Bp(e[t])?h(e[t]):u,_=e=>{d?d(e)&&p(m,e):p(m,e)};if(s){let n=M(g()),r=!1;return F(()=>e[t],e=>{r||(r=!0,n.value=h(e),tr(()=>r=!1))}),F(n,n=>{!r&&(n!==e[t]||l)&&_(n)},{deep:l}),n}return q({get(){return g()},set(e){_(e)}})}function ph(e){return e?e.flatMap(e=>e.type===R?ph(e.children):[e]):[]}var mh=[`INPUT`,`TEXTAREA`];function hh(e,t,n,r={}){if(!t||r.enableIgnoredElement&&mh.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=gh(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function gh(e,t,n,r=e.includes(t)?e.length:e.length+1){if(--r===0)return null;let i=e.indexOf(t),a;if(a=i===-1?n.goForward?0:e.length-1:n.goForward?i+1:i-1,!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?gh(e,o,n,r):o:null}var[_h,vh]=eh(`ConfigProvider`),yh=I({inheritAttrs:!1,__name:`ConfigProvider`,props:{dir:{type:String,required:!1,default:`ltr`},locale:{type:String,required:!1,default:`en`},scrollBody:{type:[Boolean,Object],required:!1,default:!0},nonce:{type:String,required:!1,default:void 0},teleportTo:{type:null,required:!1,default:void 0},useId:{type:Function,required:!1,default:void 0}},setup(e){let t=e,{dir:n,locale:r,scrollBody:i,nonce:a,teleportTo:o}=Sn(t);return vh({dir:n,locale:r,scrollBody:i,nonce:a,teleportTo:o,useId:t.useId}),(e,t)=>L(e.$slots,`default`)}}),bh=Qt({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set}),xh=em(()=>{let e=M(new Map),t=M(),n=q(()=>{for(let t of e.value.values())if(t)return!0;return!1}),r=_h({scrollBody:M(!0)}),i=null,a=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,bh.layersWithOutsidePointerEventsDisabled.size===0&&(document.body.style.pointerEvents=``),document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=t.value??``,Wp&&i?.(),t.value=void 0};return F(n,(e,o)=>{if(!zp)return;if(!e){o&&a();return}t.value===void 0&&(t.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=r.scrollBody?.value?typeof r.scrollBody.value==`object`?wm({padding:r.scrollBody.value.padding===!0?s:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?s:r.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),Wp&&(i=oh(document,`touchmove`,e=>wh(e),{passive:!1})),tr(()=>{n.value&&(document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`)})},{immediate:!0,flush:`sync`}),e});function Sh(e){let t=Math.random().toString(36).substring(2,7),n=xh();n.value.set(t,e??!1);let r=q({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return cm(()=>{n.value.delete(t)}),r}function Ch(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:Ch(t)}}function wh(e){let t=e||window.event,n=t.target;return n instanceof Element&&Ch(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}var Th=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Bopomofo}]/u,Eh=/android/i;function Dh(){return typeof navigator<`u`&&Eh.test(navigator.userAgent)}function Oh(e){let t=M(!1),n=M(!0),r=M(!1),i=q(()=>t.value&&n.value);function a(){t.value=!0,n.value=!0,r.value=!1}function o(e){e.data&&(Th.test(e.data)?(n.value=!0,r.value=!0):Dh()&&!r.value&&(n.value=!1))}function s(n){tr(()=>{t.value=!1,e?.(n)})}return{isComposing:t,shouldDeferInput:i,handleCompositionStart:a,handleCompositionUpdate:o,handleCompositionEnd:s}}function kh(e){let t=_h({dir:M(`ltr`)});return q(()=>e?.value||t.dir?.value||`ltr`)}function Ah(e){let t=Rs(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[se(D(t))]=(...n)=>e(t,...n)}),r}function jh(e){let t=q(()=>N(e)),n=q(()=>new Intl.Collator(`en`,{usage:`search`,...t.value}));return{startsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(0,t.length),t)===0),endsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),n.value.compare(e.slice(-t.length),t)===0),contains:(e,t)=>{if(t.length===0)return!0;if(e=e.normalize(`NFC`),t=t.normalize(`NFC`),t.length>e.length)return!1;let r=n.value.compare;if(e.includes(t))return!0;let i=t.length;for(let n=0;n+i<=e.length;n++)if(r(t,e.slice(n,n+i))===0)return!0;return!1}}}var Mh=0;function Nh(){Or(e=>{if(!zp)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??Ph()),document.body.insertAdjacentElement(`beforeend`,t[1]??Ph()),Mh++,e(()=>{Mh===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),Mh--})})}function Ph(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function Fh(e){return q(()=>!_n(e)||!!ah(e)?.closest(`form`))}function J(){let e=Rs(),t=M(),n=q(()=>r());ra(()=>{n.value!==r()&&gn(t)});function r(){return t.value&&`$el`in t.value&&[`#text`,`#comment`].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:ah(t)}let i=Object.assign({},e.exposed),a={};for(let t in e.props)Object.defineProperty(a,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(i).length>0)for(let e in i)Object.defineProperty(a,e,{enumerable:!0,configurable:!0,get:()=>i[e]});Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=a;function o(n){if(t.value=n,n&&(Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),!(n instanceof Element)&&!Object.hasOwn(n,`$el`))){let t=n.$.exposed,r=Object.assign({},a);for(let e in t)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>t[e]});e.exposed=r}}return{forwardRef:o,currentRef:t,currentElement:n}}function Ih(e){let t=Rs(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=Tn(e);return q(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[D(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}function Lh(e,t){let n=Ih(e),r=t?Ah(t):{};return q(()=>({...n.value,...r}))}function Rh(){let e=Rs()?.vnode?.scopeId;return e?{[e]:``}:{}}var zh=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},Bh=new WeakMap,Vh=new WeakMap,Hh={},Uh=0,Wh=function(e){return e&&(e.host||Wh(e.parentNode))},Gh=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Wh(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Kh=function(e,t,n,r){var i=Gh(t,Array.isArray(e)?e:[e]);Hh[n]||(Hh[n]=new WeakMap);var a=Hh[n],o=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(Bh.get(e)||0)+1,l=(a.get(e)||0)+1;Bh.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Vh.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Uh++,function(){o.forEach(function(e){var t=Bh.get(e)-1,i=a.get(e)-1;Bh.set(e,t),a.set(e,i),t||(Vh.has(e)||e.removeAttribute(r),Vh.delete(e)),i||e.removeAttribute(n)}),Uh--,Uh||(Bh=new WeakMap,Bh=new WeakMap,Vh=new WeakMap,Hh={})}},qh=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||zh(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Kh(r,i,n,`aria-hidden`)):function(){return null}};function Jh(e){let t;F(()=>ah(e),e=>{let n=!1;try{n=!!e?.closest(`[popover]:not(:popover-open)`)}catch{}e&&!n?t=qh(e):t&&t()}),aa(()=>{t&&t()})}var Yh=0;function Xh(e,t=`reka`){if(e)return e;let n,r=_h({useId:void 0});return n=r.useId?r.useId():`useId`in Au?li?.():`${++Yh}`,t?`${t}-${n}`:n}function Zh(e){let t=M(),n=q(()=>t.value?.width??0),r=q(()=>t.value?.height??0),i;return ta(()=>{let n=ah(e);n?(t.value={width:n.offsetWidth,height:n.offsetHeight},i=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}}),i.observe(n,{box:`border-box`})):t.value=void 0}),aa(()=>{i?.disconnect(),i=void 0}),{width:n,height:r}}function Qh(e,t){let n=M(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}function $h(e){let t=om(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=th(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=tg(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function eg(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function tg(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=eg(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function ng(e,t){let n=M({}),r=M(`none`),i=M(e),a=e.value?`mounted`:`unmounted`,o,s=t.value?.ownerDocument.defaultView??ih,{state:c,dispatch:l}=Qh(a,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),u=e=>{if(zp){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(n)}};F(e,async(e,i)=>{let a=i!==e;if(await tr(),a){let a=r.value,o=rg(t.value);e?(l(`MOUNT`),u(`enter`),o===`none`&&u(`after-enter`)):o===`none`||o===`undefined`||n.value?.display===`none`?(l(`UNMOUNT`),u(`leave`),u(`after-leave`)):i&&a!==o?(l(`ANIMATION_OUT`),u(`leave`)):(l(`UNMOUNT`),u(`after-leave`))}},{immediate:!0});let d=e=>{if(e.target!==t.value)return;let n=rg(t.value),r=n.includes(CSS.escape(e.animationName)),a=c.value===`mounted`?`enter`:`leave`;if(r&&(u(`after-${a}`),l(`ANIMATION_END`),!i.value)){let e=t.value.style.animationFillMode;t.value.style.animationFillMode=`forwards`,o=s?.setTimeout(()=>{t.value?.style.animationFillMode===`forwards`&&(t.value.style.animationFillMode=e)})}n===`none`&&l(`ANIMATION_END`)},f=e=>{e.target===t.value&&(r.value=rg(t.value))},p=F(t,(e,t)=>{e?(n.value=getComputedStyle(e),e.addEventListener(`animationstart`,f),e.addEventListener(`animationcancel`,d),e.addEventListener(`animationend`,d)):(l(`ANIMATION_END`),o!==void 0&&s?.clearTimeout(o),t?.removeEventListener(`animationstart`,f),t?.removeEventListener(`animationcancel`,d),t?.removeEventListener(`animationend`,d))},{immediate:!0}),m=F(c,()=>{let e=rg(t.value);r.value=c.value===`mounted`?e:`none`});return aa(()=>{p(),m(),t.value&&(t.value.removeEventListener(`animationstart`,f),t.value.removeEventListener(`animationcancel`,d),t.value.removeEventListener(`animationend`,d)),o!==void 0&&s?.clearTimeout(o)}),{isPresent:q(()=>[`mounted`,`unmountSuspended`].includes(c.value))}}function rg(e){return e&&getComputedStyle(e).animationName||`none`}var ig=I({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){let{present:r,forceMount:i}=Sn(e),a=M(),{isPresent:o}=ng(r,a);n({present:o});let s=t.default({present:o.value});s=ph(s||[]);let c=Rs();if(s&&s?.length>1){let e=c?.parent?.type.name?`<${c.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
19
19
  `)].join(`
20
- `))}return()=>i.value||r.value||o.value?rc(t.default({present:o.value})[0],{ref:e=>{let t=Ym(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?a.value=t.firstElementChild:a.value=t),t}}):null}}),Mh=L({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=rh(n.default()),r=e.findIndex(e=>e.type!==ds);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?q(t,i.props):t,o=Es({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}}),Nh=[`area`,`img`,`input`],Ph=L({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&Nh.includes(r)?()=>rc(r,t):r===`template`?()=>rc(Mh,t,{default:n.default}):()=>rc(e.as,t,{default:n.default})}});function Fh(){let e=M();return{primitiveElement:e,currentElement:J(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:Ym(e))}}var[Ih,Lh]=Wm(`DialogRoot`),Rh=L({inheritAttrs:!1,__name:`DialogRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=nh(n,`open`,t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=M(),a=M(),{modal:o,unmountOnHide:s}=Sn(n);return Lh({open:r,modal:o,unmountOnHide:s,openModal:()=>{r.value=!0},onOpenChange:e=>{r.value=e},onOpenToggle:()=>{r.value=!r.value},contentId:``,titleId:``,descriptionId:``,triggerElement:i,contentElement:a}),(e,t)=>R(e.$slots,`default`,{open:N(r),close:()=>r.value=!1})}}),zh=L({__name:`DialogClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;Y();let n=Ih();return(e,r)=>(B(),H(N(Ph),q(t,{type:e.as===`button`?`button`:void 0,onClick:r[0]||=e=>N(n).onOpenChange(!1)}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`type`]))}}),Bh=`dismissableLayer.pointerDownOutside`,Vh=`dismissableLayer.focusOutside`;function Hh(e,t){if(!(t instanceof Element))return!1;if(e.contains(t))return!0;let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function Uh(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1),a=M(()=>{});return Dr(o=>{if(!Rp||!_n(n))return;let s=async n=>{let o=n.target;if(t?.value&&o){if(Hh(t.value,o))r.removeEventListener(`click`,a.value),i.value=!1;else{if(n.target&&!i.value){let t={originalEvent:n};function i(){Km(Bh,e,t)}n.pointerType===`touch`?(r.removeEventListener(`click`,a.value),a.value=i,r.addEventListener(`click`,a.value,{once:!0})):i()}else r.removeEventListener(`click`,a.value);i.value=!1}}},c=window.setTimeout(()=>{r.addEventListener(`pointerdown`,s)},0);o(()=>{window.clearTimeout(c),r.removeEventListener(`pointerdown`,s),r.removeEventListener(`click`,a.value)})}),{onPointerDownCapture:()=>{_n(n)&&(i.value=!0)}}}function Wh(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1);return Dr(a=>{if(!Rp||!_n(n))return;let o=async n=>{if(!t?.value)return;await tr(),await tr();let r=n.target;t.value&&r&&!Hh(t.value,r)&&n.target&&!i.value&&Km(Vh,e,{originalEvent:n})};r.addEventListener(`focusin`,o),a(()=>r.removeEventListener(`focusin`,o))}),{onFocusCapture:()=>{_n(n)&&(i.value=!0)},onBlurCapture:()=>{_n(n)&&(i.value=!1)}}}var Gh=L({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=Y(),o=J(()=>a.value?.ownerDocument??globalThis.document),s=J(()=>sh.layersRoot),c=J(()=>a.value?Array.from(s.value).indexOf(a.value):-1),l=J(()=>sh.layersWithOutsidePointerEventsDisabled.size>0),u=J(()=>{let e=Array.from(s.value),[t]=[...sh.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return c.value>=n}),d=Uh(async e=>{let t=[...sh.branches].some(t=>t?.contains(e.target));n.present&&u.value&&!t&&(r(`pointerDownOutside`,e),r(`interactOutside`,e),await tr(),e.defaultPrevented||r(`dismiss`))},a,()=>n.present),f=Wh(e=>{let t=[...sh.branches].some(t=>t?.contains(e.target));n.present&&!t&&(r(`focusOutside`,e),r(`interactOutside`,e),e.defaultPrevented||r(`dismiss`))},a);return $m(`Escape`,e=>{n.present&&c.value===s.value.size-1&&(r(`escapeKeyDown`,e),e.defaultPrevented||r(`dismiss`))}),I([a,()=>n.disableOutsidePointerEvents,()=>n.present],([e,t,n],r,i)=>{e&&n&&t&&(sh.layersWithOutsidePointerEventsDisabled.size===0&&(sh.originalBodyPointerEvents=o.value.body.style.pointerEvents,o.value.body.style.pointerEvents=`none`),sh.layersWithOutsidePointerEventsDisabled.add(e),i(()=>{sh.layersWithOutsidePointerEventsDisabled.delete(e),sh.layersWithOutsidePointerEventsDisabled.size===0&&!qm(sh.originalBodyPointerEvents)&&(o.value.body.style.pointerEvents=sh.originalBodyPointerEvents)}))},{immediate:!0}),I([a,()=>n.present],([e,t],n,r)=>{e&&t&&(s.value.add(e),r(()=>{s.value.delete(e)}))},{immediate:!0}),Dr(e=>{e(()=>{a.value&&(s.value.delete(a.value),sh.layersWithOutsidePointerEventsDisabled.delete(a.value))})}),(e,t)=>(B(),H(N(Ph),{ref:N(i),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:ge({pointerEvents:l.value?u.value?`auto`:`none`:void 0}),onFocusCapture:N(f).onFocusCapture,onBlurCapture:N(f).onBlurCapture,onPointerdownCapture:N(d).onPointerDownCapture},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),Kh=L({__name:`DismissableLayerBranch`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n,currentElement:r}=Y(),i=null;return ea(()=>{i=r.value,i&&sh.branches.add(i)}),ia(()=>{i&&=(sh.branches.delete(i),null)}),(e,r)=>(B(),H(N(Ph),q({ref:N(n)},t),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),qh=Lp(()=>M([]));function Jh(){let e=qh();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=Yh(e.value,t),e.value.unshift(t)},remove(t){e.value=Yh(e.value,t),e.value[0]?.resume()}}}function Yh(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var Xh=`focusScope.autoFocusOnMount`,Zh=`focusScope.autoFocusOnUnmount`,Qh={bubbles:!1,cancelable:!0};function $h(e,{select:t=!1}={}){let n=Gm();for(let r of e)if(ag(r,{select:t}),Gm()!==n)return!0}function eg(e){let t=tg(e);return[ng(t,e),ng(t.reverse(),e)]}function tg(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ng(e,t){for(let n of e)if(!rg(n,{upTo:t}))return n}function rg(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function ig(e){return e instanceof HTMLInputElement&&`select`in e}function ag(e,{select:t=!1}={}){if(e&&e.focus){let n=Gm();e.focus({preventScroll:!0}),e!==n&&ig(e)&&t&&e.select()}}var og=L({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},present:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let n=e,r=t,{currentRef:i,currentElement:a}=Y(),o=M(null),s=Jh(),c=$t({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Dr(e=>{if(!Rp)return;let t=a.value;if(!n.trapped)return;function r(e){if(c.paused||!t)return;let n=e.target;t.contains(n)?o.value=n:ag(o.value,{select:!0})}function i(e){if(c.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||ag(o.value,{select:!0}))}function s(e){let n=o.value;if(n===null||!e.some(e=>e.removedNodes.length>0))return;let r=Gm();r&&t.contains(r)||t.contains(n)||ag(t)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,i);let l=new MutationObserver(s);t&&l.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,i),l.disconnect()})});function l(e,t){let n=new CustomEvent(Xh,Qh),i=e=>r(`mountAutoFocus`,e);e.addEventListener(Xh,i),e.dispatchEvent(n),e.removeEventListener(Xh,i),n.defaultPrevented||($h(tg(e),{select:!0}),Gm()===t&&ag(e))}Dr(async e=>{let t=a.value;if(await tr(),!t)return;n.present!==!1&&s.add(c);let i=Gm();!t.contains(i)&&n.present!==!1&&l(t,i),e(()=>{let e=new CustomEvent(Zh,Qh),n=e=>{r(`unmountAutoFocus`,e)};t.addEventListener(Zh,n),t.dispatchEvent(e),t.setAttribute(`data-focus-scope-unmounting`,``),setTimeout(()=>{e.defaultPrevented||ag(i??document.body,{select:!0}),t.removeEventListener(Zh,n),s.remove(c),t.removeAttribute(`data-focus-scope-unmounting`)},0)})}),I(()=>n.present,async(e,t)=>{if(!Rp)return;if(e===!1&&t===!0){s.remove(c);return}if(e!==!0||t!==!1)return;s.add(c),await tr();let n=a.value;if(!n)return;let r=Gm();n.contains(r)||l(n,r)});function u(e){if(!n.loop&&!n.trapped||c.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=Gm();if(t&&r){let t=e.currentTarget,[i,a]=eg(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n.loop&&ag(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n.loop&&ag(a,{select:!0})):r===t&&e.preventDefault()}}return(e,t)=>(B(),H(N(Ph),{ref_key:`currentRef`,ref:i,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:u},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),sg=[`Enter`,` `],cg=[`ArrowDown`,`PageUp`,`Home`],lg=[`ArrowUp`,`PageDown`,`End`];[...cg,...lg],[...sg],[...sg];function ug(e){return e?`open`:`closed`}var dg=L({__name:`DialogContentImpl`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Ih(),{forwardRef:a,currentElement:o}=Y();return i.titleId||=Dh(void 0,`reka-dialog-title`),i.descriptionId||=Dh(void 0,`reka-dialog-description`),ea(()=>{i.contentElement=o,Gm()!==document.body&&(i.triggerElement.value=Gm())}),(e,t)=>(B(),H(N(og),{"as-child":``,loop:``,trapped:n.trapFocus,present:n.present,onMountAutoFocus:t[5]||=e=>r(`openAutoFocus`,e),onUnmountAutoFocus:t[6]||=e=>r(`closeAutoFocus`,e)},{default:P(()=>[W(N(Gh),q({id:N(i).contentId,ref:N(a),as:e.as,"as-child":e.asChild,present:n.present,"disable-outside-pointer-events":e.disableOutsidePointerEvents,role:`dialog`,"aria-describedby":N(i).descriptionId,"aria-labelledby":N(i).titleId,"data-state":N(ug)(N(i).open.value)},e.$attrs,{onDismiss:t[0]||=e=>N(i).onOpenChange(!1),onEscapeKeyDown:t[1]||=e=>r(`escapeKeyDown`,e),onFocusOutside:t[2]||=e=>r(`focusOutside`,e),onInteractOutside:t[3]||=e=>r(`interactOutside`,e),onPointerDownOutside:t[4]||=e=>r(`pointerDownOutside`,e)}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`present`,`disable-outside-pointer-events`,`aria-describedby`,`aria-labelledby`,`data-state`])]),_:3},8,[`trapped`,`present`]))}}),fg=L({__name:`DialogContentModal`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Ih(),a=fh(r),{forwardRef:o,currentElement:s}=Y();Th(J(()=>n.present?s.value:void 0));let c=J(()=>{let{present:e,...t}=n;return t});return I(()=>n.present,(e,t)=>{!e&&t&&i.triggerElement.value?.focus()}),(e,t)=>(B(),H(dg,q({...c.value,...N(a)},{ref:N(o),present:e.present,"trap-focus":N(i).open.value,"disable-outside-pointer-events":n.disableOutsidePointerEvents,onCloseAutoFocus:t[0]||=e=>{e.defaultPrevented||(e.preventDefault(),N(i).triggerElement.value?.focus())},onPointerDownOutside:t[1]||=e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()},onFocusOutside:t[2]||=e=>{e.preventDefault()}}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`present`,`trap-focus`,`disable-outside-pointer-events`]))}}),pg=L({__name:`DialogContentNonModal`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=fh(t);Y();let i=Ih(),a=M(!1),o=M(!1),s=J(()=>{let{present:e,...t}=n;return t});return I(()=>n.present,(e,t)=>{!e&&t&&(a.value||i.triggerElement.value?.focus(),a.value=!1,o.value=!1)}),(e,t)=>(B(),H(dg,q({...s.value,...N(r)},{present:e.present,"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:t[0]||=e=>{e.defaultPrevented||(a.value||N(i).triggerElement.value?.focus(),e.preventDefault()),a.value=!1,o.value=!1},onInteractOutside:t[1]||=e=>{e.defaultPrevented||(a.value=!0,e.detail.originalEvent.type===`pointerdown`&&(o.value=!0));let t=e.target;N(i).triggerElement.value?.contains(t)&&e.preventDefault(),e.detail.originalEvent.type===`focusin`&&o.value&&e.preventDefault()}}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`present`]))}}),mg=L({__name:`DialogContent`,props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Ih(),a=fh(r),{forwardRef:o}=Y(),s=J(()=>n.forceMount||!i.unmountOnHide.value);return(e,t)=>(B(),H(N(jh),{present:N(i).open.value,"force-mount":s.value},{default:P(({present:t})=>[N(i).modal.value?xr((B(),H(fg,q({key:0,ref:N(o),present:!s.value||t},{...n,...N(a),...e.$attrs}),{default:P(()=>[R(e.$slots,`default`)]),_:2},1040,[`present`])),[[Wc,e.forceMount||N(i).unmountOnHide.value||t]]):xr((B(),H(pg,q({key:1,ref:N(o),present:!s.value||t},{...n,...N(a),...e.$attrs}),{default:P(()=>[R(e.$slots,`default`)]),_:2},1040,[`present`])),[[Wc,e.forceMount||N(i).unmountOnHide.value||t]])]),_:3},8,[`present`,`force-mount`]))}}),hg=L({__name:`DialogDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`p`}},setup(e){let t=e;Y();let n=Ih();return(e,r)=>(B(),H(N(Ph),q(t,{id:N(n).descriptionId}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`id`]))}}),gg=L({__name:`DialogOverlayImpl`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},setup(e){let t=e,n=Ih(),r=lh(t.present);return I(()=>t.present,e=>r.value=e),Y(),(e,t)=>(B(),H(N(Ph),{as:e.as,"as-child":e.asChild,"data-state":N(n).open.value?`open`:`closed`,style:{"pointer-events":`auto`},onPointerdown:t[0]||=pu(()=>{},[`left`,`self`,`prevent`])},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`]))}}),_g=L({__name:`DialogOverlay`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=Ih(),{forwardRef:r}=Y(),i=J(()=>t.forceMount||!n.unmountOnHide.value);return(e,t)=>N(n)?.modal.value?(B(),H(N(jh),{key:0,present:N(n).open.value,"force-mount":i.value},{default:P(({present:t})=>[xr(W(gg,q(e.$attrs,{ref:N(r),as:e.as,"as-child":e.asChild,present:!i.value||t}),{default:P(()=>[R(e.$slots,`default`)]),_:2},1040,[`as`,`as-child`,`present`]),[[Wc,e.forceMount||N(n).unmountOnHide.value||t]])]),_:3},8,[`present`,`force-mount`])):K(`v-if`,!0)}}),vg=L({__name:`Teleport`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e,n=ih({}),r=J(()=>t.to??n.teleportTo?.value??`body`),i=Zm();return(e,t)=>N(i)||e.forceMount?(B(),H(Wr,{key:0,to:r.value,disabled:e.disabled,defer:e.defer},[R(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):K(`v-if`,!0)}}),yg=L({__name:`DialogPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(B(),H(N(vg),xe(Ts(t)),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),bg=L({__name:`DialogTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`h2`}},setup(e){let t=e,n=Ih();return Y(),(e,r)=>(B(),H(N(Ph),q(t,{id:N(n).titleId}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`id`]))}}),xg=L({__name:`DialogTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=Ih(),{forwardRef:r,currentElement:i}=Y();return n.contentId||=Dh(void 0,`reka-dialog-content`),ea(()=>{n.triggerElement.value=i.value}),(e,i)=>(B(),H(N(Ph),q(t,{ref:N(r),type:e.as===`button`?`button`:void 0,"aria-haspopup":`dialog`,"aria-expanded":N(n).open.value||!1,"aria-controls":N(n).open.value?N(n).contentId:void 0,"data-state":N(n).open.value?`open`:`closed`,onClick:N(n).onOpenToggle}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}}),Sg=`data-reka-collection-item`;function Cg(e={}){let{key:t=``,isProvider:n=!1}=e,r=`${t}CollectionProvider`,i;n?(i={collectionRef:M(),itemMap:M(new Map)},Cr(r,i)):i=F(r);let a=(e,t=!1)=>{if(!i.collectionRef.value)return;let n=i.itemMap.value.get(e);return n&&(t||n.ref.dataset.disabled!==``)?n:void 0},o=(e=!1)=>{let t=i.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${Sg}]`)),r=new Map(n.map((e,t)=>[e,t])),a=Array.from(i.itemMap.value.values()).sort((e,t)=>(r.get(e.ref)??-1)-(r.get(t.ref)??-1));return e?a:a.filter(e=>e.ref.dataset.disabled!==``)},s=L({name:`CollectionSlot`,inheritAttrs:!1,setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=Fh();return I(a,()=>{i.collectionRef.value=a.value}),()=>rc(Mh,{ref:r,...n},t)}}),c=L({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=Fh();return Dr(t=>{if(a.value){let n=ln(a.value);i.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>i.itemMap.value.delete(n))}}),()=>rc(Mh,{...n,[Sg]:``,ref:r},t)}});return{getItems:o,getItem:a,reactiveItems:J(()=>Array.from(i.itemMap.value.values())),itemMapSize:J(()=>i.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var wg=L({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>(B(),H(N(Ph),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`||e.feature===`fully-hidden`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`,top:`-1px`,left:`-1px`}},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),Tg=L({inheritAttrs:!1,__name:`VisuallyHiddenInputBubble`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,{primitiveElement:n,currentElement:r}=Fh();return I(J(()=>t.checked??t.value),(e,t)=>{if(!r.value)return;let n=r.value,i=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,`value`).set;if(a&&e!==t){let t=new Event(`input`,{bubbles:!0}),r=new Event(`change`,{bubbles:!0});a.call(n,e),n.dispatchEvent(t),n.dispatchEvent(r)}}),(e,r)=>(B(),H(wg,q({ref_key:`primitiveElement`,ref:n},{...t,...e.$attrs},{as:`input`}),null,16))}}),Eg=L({inheritAttrs:!1,__name:`VisuallyHiddenInput`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,n=J(()=>typeof t.value==`object`&&Array.isArray(t.value)&&t.value.length===0&&t.required),r=J(()=>typeof t.value==`string`||typeof t.value==`number`||typeof t.value==`boolean`||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value==`object`&&Array.isArray(t.value)?t.value.flatMap((e,n)=>typeof e==`object`?Object.entries(e).map(([e,r])=>({name:`${t.name}[${n}][${e}]`,value:r})):{name:`${t.name}[${n}]`,value:e}):t.value!==null&&typeof t.value==`object`&&!Array.isArray(t.value)?Object.entries(t.value).map(([e,n])=>({name:`${t.name}[${e}]`,value:n})):[]);return(e,i)=>(B(),V(z,null,[K(` We render single input if it's required `),n.value?(B(),H(Tg,q({key:e.name},{...t,...e.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`])):(B(!0),V(z,{key:1},_a(r.value,n=>(B(),H(Tg,q({key:n.name},{ref_for:!0},{...t,...e.$attrs},{name:n.name,value:n.value}),null,16,[`name`,`value`]))),128))],2112))}}),Dg=L({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(e){let t=e;return Y(),(e,n)=>(B(),H(N(Ph),q(t,{onMousedown:n[0]||=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()}}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),Og=100,[kg,Ag]=Wm(`ProgressRoot`),jg=e=>typeof e==`number`;function Mg(e,t){return qm(e)||jg(e)&&!Number.isNaN(e)&&e<=t&&e>=0?e:(console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be:
20
+ `))}return()=>i.value||r.value||o.value?ic(t.default({present:o.value})[0],{ref:e=>{let t=ah(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?a.value=t.firstElementChild:a.value=t),t}}):null}}),ag=I({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=ph(n.default()),r=e.findIndex(e=>e.type!==fs);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?K(t,i.props):t,o=Ds({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}}),og=[`area`,`img`,`input`],Y=I({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&og.includes(r)?()=>ic(r,t):r===`template`?()=>ic(ag,t,{default:n.default}):()=>ic(e.as,t,{default:n.default})}});function sg(){let e=M();return{primitiveElement:e,currentElement:q(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:ah(e))}}var[cg,lg]=eh(`DialogRoot`),ug=I({inheritAttrs:!1,__name:`DialogRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=fh(n,`open`,t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=M(),a=M(),{modal:o,unmountOnHide:s}=Sn(n);return lg({open:r,modal:o,unmountOnHide:s,openModal:()=>{r.value=!0},onOpenChange:e=>{r.value=e},onOpenToggle:()=>{r.value=!r.value},contentId:``,titleId:``,descriptionId:``,triggerElement:i,contentElement:a}),(e,t)=>L(e.$slots,`default`,{open:N(r),close:()=>r.value=!1})}}),dg=I({__name:`DialogClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;J();let n=cg();return(e,r)=>(z(),V(N(Y),K(t,{type:e.as===`button`?`button`:void 0,onClick:r[0]||=e=>N(n).onOpenChange(!1)}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`type`]))}}),fg=`dismissableLayer.pointerDownOutside`,pg=`dismissableLayer.focusOutside`;function mg(e,t){if(!(t instanceof Element))return!1;if(e.contains(t))return!0;let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function hg(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1),a=M(()=>{});return Or(o=>{if(!zp||!_n(n))return;let s=async n=>{let o=n.target;if(t?.value&&o){if(mg(t.value,o))r.removeEventListener(`click`,a.value),i.value=!1;else{if(n.target&&!i.value){let t={originalEvent:n};function i(){nh(fg,e,t)}n.pointerType===`touch`?(r.removeEventListener(`click`,a.value),a.value=i,r.addEventListener(`click`,a.value,{once:!0})):i()}else r.removeEventListener(`click`,a.value);i.value=!1}}},c=window.setTimeout(()=>{r.addEventListener(`pointerdown`,s)},0);o(()=>{window.clearTimeout(c),r.removeEventListener(`pointerdown`,s),r.removeEventListener(`click`,a.value)})}),{onPointerDownCapture:()=>{_n(n)&&(i.value=!0)}}}function gg(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=M(!1);return Or(a=>{if(!zp||!_n(n))return;let o=async n=>{if(!t?.value)return;await tr(),await tr();let r=n.target;t.value&&r&&!mg(t.value,r)&&n.target&&!i.value&&nh(pg,e,{originalEvent:n})};r.addEventListener(`focusin`,o),a(()=>r.removeEventListener(`focusin`,o))}),{onFocusCapture:()=>{_n(n)&&(i.value=!0)},onBlurCapture:()=>{_n(n)&&(i.value=!1)}}}var _g=I({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=J(),o=q(()=>a.value?.ownerDocument??globalThis.document),s=q(()=>bh.layersRoot),c=q(()=>a.value?Array.from(s.value).indexOf(a.value):-1),l=q(()=>bh.layersWithOutsidePointerEventsDisabled.size>0),u=q(()=>{let e=Array.from(s.value),[t]=[...bh.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return c.value>=n}),d=hg(async e=>{let t=[...bh.branches].some(t=>t?.contains(e.target));n.present&&u.value&&!t&&(r(`pointerDownOutside`,e),r(`interactOutside`,e),await tr(),e.defaultPrevented||r(`dismiss`))},a,()=>n.present),f=gg(e=>{let t=[...bh.branches].some(t=>t?.contains(e.target));n.present&&!t&&(r(`focusOutside`,e),r(`interactOutside`,e),e.defaultPrevented||r(`dismiss`))},a);return lh(`Escape`,e=>{n.present&&c.value===s.value.size-1&&(r(`escapeKeyDown`,e),e.defaultPrevented||r(`dismiss`))}),F([a,()=>n.disableOutsidePointerEvents,()=>n.present],([e,t,n],r,i)=>{e&&n&&t&&(bh.layersWithOutsidePointerEventsDisabled.size===0&&(bh.originalBodyPointerEvents=o.value.body.style.pointerEvents,o.value.body.style.pointerEvents=`none`),bh.layersWithOutsidePointerEventsDisabled.add(e),i(()=>{bh.layersWithOutsidePointerEventsDisabled.delete(e),bh.layersWithOutsidePointerEventsDisabled.size===0&&!rh(bh.originalBodyPointerEvents)&&(o.value.body.style.pointerEvents=bh.originalBodyPointerEvents)}))},{immediate:!0}),F([a,()=>n.present],([e,t],n,r)=>{e&&t&&(s.value.add(e),r(()=>{s.value.delete(e)}))},{immediate:!0}),Or(e=>{e(()=>{a.value&&(s.value.delete(a.value),bh.layersWithOutsidePointerEventsDisabled.delete(a.value))})}),(e,t)=>(z(),V(N(Y),{ref:N(i),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:he({pointerEvents:l.value?u.value?`auto`:`none`:void 0}),onFocusCapture:N(f).onFocusCapture,onBlurCapture:N(f).onBlurCapture,onPointerdownCapture:N(d).onPointerDownCapture},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),vg=I({__name:`DismissableLayerBranch`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n,currentElement:r}=J(),i=null;return ta(()=>{i=r.value,i&&bh.branches.add(i)}),aa(()=>{i&&=(bh.branches.delete(i),null)}),(e,r)=>(z(),V(N(Y),K({ref:N(n)},t),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),yg=Rp(()=>M([]));function bg(){let e=yg();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=xg(e.value,t),e.value.unshift(t)},remove(t){e.value=xg(e.value,t),e.value[0]?.resume()}}}function xg(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var Sg=`focusScope.autoFocusOnMount`,Cg=`focusScope.autoFocusOnUnmount`,wg={bubbles:!1,cancelable:!0};function Tg(e,{select:t=!1}={}){let n=th();for(let r of e)if(jg(r,{select:t}),th()!==n)return!0}function Eg(e){let t=Dg(e);return[Og(t,e),Og(t.reverse(),e)]}function Dg(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Og(e,t){for(let n of e)if(!kg(n,{upTo:t}))return n}function kg(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Ag(e){return e instanceof HTMLInputElement&&`select`in e}function jg(e,{select:t=!1}={}){if(e&&e.focus){let n=th();e.focus({preventScroll:!0}),e!==n&&Ag(e)&&t&&e.select()}}var Mg=I({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},present:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let n=e,r=t,{currentRef:i,currentElement:a}=J(),o=M(null),s=bg(),c=Qt({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Or(e=>{if(!zp)return;let t=a.value;if(!n.trapped)return;function r(e){if(c.paused||!t)return;let n=e.target;t.contains(n)?o.value=n:jg(o.value,{select:!0})}function i(e){if(c.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||jg(o.value,{select:!0}))}function s(e){let n=o.value;if(n===null||!e.some(e=>e.removedNodes.length>0))return;let r=th();r&&t.contains(r)||t.contains(n)||jg(t)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,i);let l=new MutationObserver(s);t&&l.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,i),l.disconnect()})});function l(e,t){let n=new CustomEvent(Sg,wg),i=e=>r(`mountAutoFocus`,e);e.addEventListener(Sg,i),e.dispatchEvent(n),e.removeEventListener(Sg,i),n.defaultPrevented||(Tg(Dg(e),{select:!0}),th()===t&&jg(e))}Or(async e=>{let t=a.value;if(await tr(),!t)return;n.present!==!1&&s.add(c);let i=th();!t.contains(i)&&n.present!==!1&&l(t,i),e(()=>{let e=new CustomEvent(Cg,wg),n=e=>{r(`unmountAutoFocus`,e)};t.addEventListener(Cg,n),t.dispatchEvent(e),t.setAttribute(`data-focus-scope-unmounting`,``),setTimeout(()=>{e.defaultPrevented||jg(i??document.body,{select:!0}),t.removeEventListener(Cg,n),s.remove(c),t.removeAttribute(`data-focus-scope-unmounting`)},0)})}),F(()=>n.present,async(e,t)=>{if(!zp)return;if(e===!1&&t===!0){s.remove(c);return}if(e!==!0||t!==!1)return;s.add(c),await tr();let n=a.value;if(!n)return;let r=th();n.contains(r)||l(n,r)});function u(e){if(!n.loop&&!n.trapped||c.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=th();if(t&&r){let t=e.currentTarget,[i,a]=Eg(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n.loop&&jg(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n.loop&&jg(a,{select:!0})):r===t&&e.preventDefault()}}return(e,t)=>(z(),V(N(Y),{ref_key:`currentRef`,ref:i,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:u},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),Ng=`menu.itemSelect`,Pg=[`Enter`,` `],Fg=[`ArrowDown`,`PageUp`,`Home`],Ig=[`ArrowUp`,`PageDown`,`End`],Lg=[...Fg,...Ig],Rg={ltr:[...Pg,`ArrowRight`],rtl:[...Pg,`ArrowLeft`]},zg={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]};function Bg(e){return e?`open`:`closed`}function Vg(e){return e===`indeterminate`}function Hg(e){return Vg(e)?`indeterminate`:e?`checked`:`unchecked`}function Ug(e){let t=th();for(let n of e)if(n===t||(n.focus(),th()!==t))return}function Wg(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Gg(e,t){return t?Wg({x:e.clientX,y:e.clientY},t):!1}function Kg(e){return e.pointerType===`mouse`}var qg=I({__name:`DialogContentImpl`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=cg(),{forwardRef:a,currentElement:o}=J();return i.titleId||=Xh(void 0,`reka-dialog-title`),i.descriptionId||=Xh(void 0,`reka-dialog-description`),ta(()=>{i.contentElement=o,th()!==document.body&&(i.triggerElement.value=th())}),(e,t)=>(z(),V(N(Mg),{"as-child":``,loop:``,trapped:n.trapFocus,present:n.present,onMountAutoFocus:t[5]||=e=>r(`openAutoFocus`,e),onUnmountAutoFocus:t[6]||=e=>r(`closeAutoFocus`,e)},{default:P(()=>[U(N(_g),K({id:N(i).contentId,ref:N(a),as:e.as,"as-child":e.asChild,present:n.present,"disable-outside-pointer-events":e.disableOutsidePointerEvents,role:`dialog`,"aria-describedby":N(i).descriptionId,"aria-labelledby":N(i).titleId,"data-state":N(Bg)(N(i).open.value)},e.$attrs,{onDismiss:t[0]||=e=>N(i).onOpenChange(!1),onEscapeKeyDown:t[1]||=e=>r(`escapeKeyDown`,e),onFocusOutside:t[2]||=e=>r(`focusOutside`,e),onInteractOutside:t[3]||=e=>r(`interactOutside`,e),onPointerDownOutside:t[4]||=e=>r(`pointerDownOutside`,e)}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`present`,`disable-outside-pointer-events`,`aria-describedby`,`aria-labelledby`,`data-state`])]),_:3},8,[`trapped`,`present`]))}}),Jg=I({__name:`DialogContentModal`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=cg(),a=Ah(r),{forwardRef:o,currentElement:s}=J();Jh(q(()=>n.present?s.value:void 0));let c=q(()=>{let{present:e,...t}=n;return t});return F(()=>n.present,(e,t)=>{!e&&t&&i.triggerElement.value?.focus()}),(e,t)=>(z(),V(qg,K({...c.value,...N(a)},{ref:N(o),present:e.present,"trap-focus":N(i).open.value,"disable-outside-pointer-events":n.disableOutsidePointerEvents,onCloseAutoFocus:t[0]||=e=>{e.defaultPrevented||(e.preventDefault(),N(i).triggerElement.value?.focus())},onPointerDownOutside:t[1]||=e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()},onFocusOutside:t[2]||=e=>{e.preventDefault()}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`present`,`trap-focus`,`disable-outside-pointer-events`]))}}),Yg=I({__name:`DialogContentNonModal`,props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=Ah(t);J();let i=cg(),a=M(!1),o=M(!1),s=q(()=>{let{present:e,...t}=n;return t});return F(()=>n.present,(e,t)=>{!e&&t&&(a.value||i.triggerElement.value?.focus(),a.value=!1,o.value=!1)}),(e,t)=>(z(),V(qg,K({...s.value,...N(r)},{present:e.present,"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:t[0]||=e=>{e.defaultPrevented||(a.value||N(i).triggerElement.value?.focus(),e.preventDefault()),a.value=!1,o.value=!1},onInteractOutside:t[1]||=e=>{e.defaultPrevented||(a.value=!0,e.detail.originalEvent.type===`pointerdown`&&(o.value=!0));let t=e.target;N(i).triggerElement.value?.contains(t)&&e.preventDefault(),e.detail.originalEvent.type===`focusin`&&o.value&&e.preventDefault()}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`present`]))}}),Xg=I({__name:`DialogContent`,props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:void 0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=cg(),a=Ah(r),{forwardRef:o}=J(),s=q(()=>n.forceMount||!i.unmountOnHide.value);return(e,t)=>(z(),V(N(ig),{present:N(i).open.value,"force-mount":s.value},{default:P(({present:t})=>[N(i).modal.value?xr((z(),V(Jg,K({key:0,ref:N(o),present:!s.value||t},{...n,...N(a),...e.$attrs}),{default:P(()=>[L(e.$slots,`default`)]),_:2},1040,[`present`])),[[Gc,e.forceMount||N(i).unmountOnHide.value||t]]):xr((z(),V(Yg,K({key:1,ref:N(o),present:!s.value||t},{...n,...N(a),...e.$attrs}),{default:P(()=>[L(e.$slots,`default`)]),_:2},1040,[`present`])),[[Gc,e.forceMount||N(i).unmountOnHide.value||t]])]),_:3},8,[`present`,`force-mount`]))}}),Zg=I({__name:`DialogDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`p`}},setup(e){let t=e;J();let n=cg();return(e,r)=>(z(),V(N(Y),K(t,{id:N(n).descriptionId}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`]))}}),Qg=I({__name:`DialogOverlayImpl`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},setup(e){let t=e,n=cg(),r=Sh(t.present);return F(()=>t.present,e=>r.value=e),J(),(e,t)=>(z(),V(N(Y),{as:e.as,"as-child":e.asChild,"data-state":N(n).open.value?`open`:`closed`,style:{"pointer-events":`auto`},onPointerdown:t[0]||=mu(()=>{},[`left`,`self`,`prevent`])},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`]))}}),$g=I({__name:`DialogOverlay`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=cg(),{forwardRef:r}=J(),i=q(()=>t.forceMount||!n.unmountOnHide.value);return(e,t)=>N(n)?.modal.value?(z(),V(N(ig),{key:0,present:N(n).open.value,"force-mount":i.value},{default:P(({present:t})=>[xr(U(Qg,K(e.$attrs,{ref:N(r),as:e.as,"as-child":e.asChild,present:!i.value||t}),{default:P(()=>[L(e.$slots,`default`)]),_:2},1040,[`as`,`as-child`,`present`]),[[Gc,e.forceMount||N(n).unmountOnHide.value||t]])]),_:3},8,[`present`,`force-mount`])):G(`v-if`,!0)}}),e_=I({__name:`Teleport`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e,n=_h({}),r=q(()=>t.to??n.teleportTo?.value??`body`),i=sh();return(e,t)=>N(i)||e.forceMount?(z(),V(Gr,{key:0,to:r.value,disabled:e.disabled,defer:e.defer},[L(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):G(`v-if`,!0)}}),t_=I({__name:`DialogPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(e_),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),n_=I({__name:`DialogTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`h2`}},setup(e){let t=e,n=cg();return J(),(e,r)=>(z(),V(N(Y),K(t,{id:N(n).titleId}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`]))}}),r_=I({__name:`DialogTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=cg(),{forwardRef:r,currentElement:i}=J();return n.contentId||=Xh(void 0,`reka-dialog-content`),ta(()=>{n.triggerElement.value=i.value}),(e,i)=>(z(),V(N(Y),K(t,{ref:N(r),type:e.as===`button`?`button`:void 0,"aria-haspopup":`dialog`,"aria-expanded":N(n).open.value||!1,"aria-controls":N(n).open.value?N(n).contentId:void 0,"data-state":N(n).open.value?`open`:`closed`,onClick:N(n).onOpenToggle}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}}),i_=`data-reka-collection-item`;function a_(e={}){let{key:t=``,isProvider:n=!1}=e,r=`${t}CollectionProvider`,i;n?(i={collectionRef:M(),itemMap:M(new Map)},Cr(r,i)):i=wr(r);let a=(e,t=!1)=>{if(!i.collectionRef.value)return;let n=i.itemMap.value.get(e);return n&&(t||n.ref.dataset.disabled!==``)?n:void 0},o=(e=!1)=>{let t=i.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${i_}]`)),r=new Map(n.map((e,t)=>[e,t])),a=Array.from(i.itemMap.value.values()).sort((e,t)=>(r.get(e.ref)??-1)-(r.get(t.ref)??-1));return e?a:a.filter(e=>e.ref.dataset.disabled!==``)},s=I({name:`CollectionSlot`,inheritAttrs:!1,setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=sg();return F(a,()=>{i.collectionRef.value=a.value}),()=>ic(ag,{ref:r,...n},t)}}),c=I({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=sg();return Or(t=>{if(a.value){let n=ln(a.value);i.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>i.itemMap.value.delete(n))}}),()=>ic(ag,{...n,[i_]:``,ref:r},t)}});return{getItems:o,getItem:a,reactiveItems:q(()=>Array.from(i.itemMap.value.values())),itemMapSize:q(()=>i.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var o_=I({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>(z(),V(N(Y),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`||e.feature===`fully-hidden`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`,top:`-1px`,left:`-1px`}},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),s_=I({inheritAttrs:!1,__name:`VisuallyHiddenInputBubble`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,{primitiveElement:n,currentElement:r}=sg();return F(q(()=>t.checked??t.value),(e,t)=>{if(!r.value)return;let n=r.value,i=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,`value`).set;if(a&&e!==t){let t=new Event(`input`,{bubbles:!0}),r=new Event(`change`,{bubbles:!0});a.call(n,e),n.dispatchEvent(t),n.dispatchEvent(r)}}),(e,r)=>(z(),V(o_,K({ref_key:`primitiveElement`,ref:n},{...t,...e.$attrs},{as:`input`}),null,16))}}),c_=I({inheritAttrs:!1,__name:`VisuallyHiddenInput`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,n=q(()=>typeof t.value==`object`&&Array.isArray(t.value)&&t.value.length===0&&t.required),r=q(()=>typeof t.value==`string`||typeof t.value==`number`||typeof t.value==`boolean`||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value==`object`&&Array.isArray(t.value)?t.value.flatMap((e,n)=>typeof e==`object`?Object.entries(e).map(([e,r])=>({name:`${t.name}[${n}][${e}]`,value:r})):{name:`${t.name}[${n}]`,value:e}):t.value!==null&&typeof t.value==`object`&&!Array.isArray(t.value)?Object.entries(t.value).map(([e,n])=>({name:`${t.name}[${e}]`,value:n})):[]);return(e,i)=>(z(),B(R,null,[G(` We render single input if it's required `),n.value?(z(),V(s_,K({key:e.name},{...t,...e.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`])):(z(!0),B(R,{key:1},va(r.value,n=>(z(),V(s_,K({key:n.name},{ref_for:!0},{...t,...e.$attrs},{name:n.name,value:n.value}),null,16,[`name`,`value`]))),128))],2112))}}),l_=`rovingFocusGroup.onEntryFocus`,u_={bubbles:!1,cancelable:!0};function d_(e,t=!1){let n=th();for(let r of e)if(r===n||(r.focus({preventScroll:t}),th()!==n))return}var[f_,p_]=eh(`PopperRoot`),m_=I({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=M();return p_({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>L(e.$slots,`default`)}}),h_=I({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n,currentElement:r}=J(),i=f_();return kr(()=>{i.onAnchorChange(t.reference??r.value)}),(e,t)=>(z(),V(N(Y),{ref:N(n),as:e.as,"as-child":e.asChild},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}}),g_={key:0,d:`M0 0L6 6L12 0`},__={key:1,d:`M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0`},v_=I({__name:`Arrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Y),K(t,{width:e.width,height:e.height,viewBox:e.asChild?void 0:`0 0 12 6`,preserveAspectRatio:e.asChild?void 0:`none`}),{default:P(()=>[L(e.$slots,`default`,{},()=>[e.rounded?(z(),B(`path`,__)):(z(),B(`path`,g_))])]),_:3},16,[`width`,`height`,`viewBox`,`preserveAspectRatio`]))}});function y_(e){return e!==null}function b_(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=x_(n),u={start:e.dir===`rtl`?`100%`:`0%`,center:`50%`,end:e.dir===`rtl`?`0%`:`100%`}[l],d={start:`0%`,center:`50%`,end:`100%`}[l],f=(i.arrow?.x??0)+o/2,p=(i.arrow?.y??0)+s/2,m=``,h=``;return c===`bottom`?(m=a?u:`${f}px`,h=`${-s}px`):c===`top`?(m=a?u:`${f}px`,h=`${r.floating.height+s}px`):c===`right`?(m=`${-s}px`,h=a?d:`${p}px`):c===`left`&&(m=`${r.floating.width+s}px`,h=a?d:`${p}px`),{data:{x:m,y:h}}}}}function x_(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var S_=[`top`,`right`,`bottom`,`left`],C_=Math.min,w_=Math.max,T_=Math.round,E_=Math.floor,D_=e=>({x:e,y:e}),O_={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function k_(e,t,n){return w_(e,C_(t,n))}function A_(e,t){return typeof e==`function`?e(t):e}function j_(e){return e.split(`-`)[0]}function M_(e){return e.split(`-`)[1]}function N_(e){return e===`x`?`y`:`x`}function P_(e){return e===`y`?`height`:`width`}function F_(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function I_(e){return N_(F_(e))}function L_(e,t,n){n===void 0&&(n=!1);let r=M_(e),i=I_(e),a=P_(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=K_(o)),[o,K_(o)]}function R_(e){let t=K_(e);return[z_(e),t,z_(t)]}function z_(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var B_=[`left`,`right`],V_=[`right`,`left`],H_=[`top`,`bottom`],U_=[`bottom`,`top`];function W_(e,t,n){switch(e){case`top`:case`bottom`:return n?t?V_:B_:t?B_:V_;case`left`:case`right`:return t?H_:U_;default:return[]}}function G_(e,t,n,r){let i=M_(e),a=W_(j_(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(z_)))),a}function K_(e){let t=j_(e);return O_[t]+e.slice(t.length)}function q_(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function J_(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:q_(e)}function Y_(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function X_(e,t,n){let{reference:r,floating:i}=e,a=F_(t),o=I_(t),s=P_(o),c=j_(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=M_(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Z_(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=A_(t,e),p=J_(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Y_(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Y_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Q_=50,$_=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Z_},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=X_(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Q_&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=X_(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},ev=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=A_(e,t)||{};if(l==null)return{};let d=J_(u),f={x:n,y:r},p=I_(i),m=P_(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,ee=C_(d[_],T),E=C_(d[v],T),te=C-h[m]-E,ne=C/2-h[m]/2+w,re=k_(ee,ne,te),D=!c.arrow&&M_(i)!=null&&ne!==re&&a.reference[m]/2-(ne<ee?ee:E)-h[m]/2<0,ie=D?ne<ee?ne-ee:ne-te:0;return{[p]:f[p]+ie,data:{[p]:re,centerOffset:ne-re-ie,...D&&{alignmentOffset:ie}},reset:D}}}),tv=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=A_(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=j_(r),_=F_(o),v=j_(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[K_(o)]:R_(o)),x=p!==`none`;!d&&x&&b.push(...G_(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=L_(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===F_(t)||T.every(e=>F_(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=F_(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function nv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function rv(e){return S_.some(t=>e[t]>=0)}var iv=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=A_(e,t);switch(i){case`referenceHidden`:{let e=nv(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:rv(e)}}}case`escaped`:{let e=nv(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:rv(e)}}}default:return{}}}}},av=new Set([`left`,`top`]);async function ov(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=j_(n),s=M_(n),c=F_(n)===`y`,l=av.has(o)?-1:1,u=a&&c?-1:1,d=A_(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var sv=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await ov(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},cv=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=A_(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=F_(i),p=N_(f),m=u[p],h=u[f],g=(e,t)=>k_(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},lv=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=A_(e,t),u={x:n,y:r},d=F_(i),f=N_(d),p=u[f],m=u[d],h=A_(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=av.has(j_(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},uv=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=A_(e,t),c=await i.detectOverflow(t,s),l=j_(n),u=M_(n),d=F_(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=C_(p-c[m],g),y=C_(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*w_(c.left,c.right):S=p-2*w_(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function dv(){return typeof window<`u`}function fv(e){return hv(e)?(e.nodeName||``).toLowerCase():`#document`}function pv(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function mv(e){return((hv(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function hv(e){return dv()?e instanceof Node||e instanceof pv(e).Node:!1}function gv(e){return dv()?e instanceof Element||e instanceof pv(e).Element:!1}function _v(e){return dv()?e instanceof HTMLElement||e instanceof pv(e).HTMLElement:!1}function vv(e){return!dv()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof pv(e).ShadowRoot}function yv(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Av(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function bv(e){return/^(table|td|th)$/.test(fv(e))}function xv(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Sv=/transform|translate|scale|rotate|perspective|filter/,Cv=/paint|layout|strict|content/,wv=e=>!!e&&e!==`none`,Tv;function Ev(e){let t=gv(e)?Av(e):e;return wv(t.transform)||wv(t.translate)||wv(t.scale)||wv(t.rotate)||wv(t.perspective)||!Ov()&&(wv(t.backdropFilter)||wv(t.filter))||Sv.test(t.willChange||``)||Cv.test(t.contain||``)}function Dv(e){let t=Mv(e);for(;_v(t)&&!kv(t);){if(Ev(t))return t;if(xv(t))return null;t=Mv(t)}return null}function Ov(){return Tv??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Tv}function kv(e){return/^(html|body|#document)$/.test(fv(e))}function Av(e){return pv(e).getComputedStyle(e)}function jv(e){return gv(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mv(e){if(fv(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||vv(e)&&e.host||mv(e);return vv(t)?t.host:t}function Nv(e){let t=Mv(e);return kv(t)?(e.ownerDocument||e).body:_v(t)&&yv(t)?t:Nv(t)}function Pv(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Nv(e),i=r===e.ownerDocument?.body,a=pv(r);if(i){let e=Fv(a);return t.concat(a,a.visualViewport||[],yv(r)?r:[],e&&n?Pv(e):[])}return t.concat(r,Pv(r,[],n))}function Fv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Iv(e){let t=Av(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=_v(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=T_(n)!==a||T_(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Lv(e){return gv(e)?e:e.contextElement}function Rv(e){let t=Lv(e);if(!_v(t))return D_(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Iv(t),o=(a?T_(n.width):n.width)/r,s=(a?T_(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var zv=D_(0);function Bv(e){let t=pv(e);return!Ov()||!t.visualViewport?zv:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Vv(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===pv(e)}function Hv(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Lv(e),o=D_(1);t&&(r?gv(r)&&(o=Rv(r)):o=Rv(e));let s=Vv(a,n,r)?Bv(a):D_(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=pv(a),t=gv(r)?pv(r):r,n=e,i=Fv(n);for(;i&&t!==n;){let e=Rv(i),t=i.getBoundingClientRect(),r=Av(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=pv(i),i=Fv(n)}}return Y_({width:u,height:d,x:c,y:l})}function Uv(e,t){let n=jv(e).scrollLeft;return t?t.left+n:Hv(mv(e)).left+n}function Wv(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Uv(e,n),y:n.top+t.scrollTop}}function Gv(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=mv(r),s=t?xv(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=D_(1),u=D_(0),d=_v(r);if((d||!a)&&((fv(r)!==`body`||yv(o))&&(c=jv(r)),d)){let e=Hv(r);l=Rv(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Wv(o,c):D_(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Kv(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function qv(e){let t=jv(e),n=e.ownerDocument.body,r=w_(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=w_(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Uv(e),o=-t.scrollTop;return Av(n).direction===`rtl`&&(a+=w_(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Jv=25;function Yv(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=pv(e),a=mv(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ov()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Uv(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Jv&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Xv(e,t){let n=Hv(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Rv(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Zv(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Yv(e,n,t);else if(t===`document`)r=qv(mv(e));else if(gv(t))r=Xv(t,n);else{let n=Bv(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Y_(r)}function Qv(e,t){let n=t.get(e);if(n)return n;let r=Pv(e,[],!1).filter(e=>gv(e)&&fv(e)!==`body`),i=null,a=Av(e).position===`fixed`,o=a?Mv(e):e;for(;gv(o)&&!kv(o);){let e=Av(o),t=Ev(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Mv(o)}return t.set(e,r),r}function $v(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?xv(t)?[]:Qv(t,this._c):[].concat(n),r],o=Zv(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Zv(t,a[e],i);s=w_(n.top,s),c=C_(n.right,c),l=C_(n.bottom,l),u=w_(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function ey(e){let{width:t,height:n}=Iv(e);return{width:t,height:n}}function ty(e,t,n){let r=_v(t),i=mv(t),a=n===`fixed`,o=Hv(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=D_(0);if((r||!a)&&((fv(t)!==`body`||yv(i))&&(s=jv(t)),r)){let e=Hv(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Uv(i));let l=i&&!r&&!a?Wv(i,s):D_(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function ny(e){return Av(e).position===`static`}function ry(e,t){if(!_v(e)||Av(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return mv(e)===n&&(n=n.ownerDocument.body),n}function iy(e,t){let n=pv(e);if(xv(e))return n;if(!_v(e)){let t=Mv(e);for(;t&&!kv(t);){if(gv(t)&&!ny(t))return t;t=Mv(t)}return n}let r=ry(e,t);for(;r&&bv(r)&&ny(r);)r=ry(r,t);return r&&kv(r)&&ny(r)&&!Ev(r)?n:r||Dv(e)||n}var ay=async function(e){let t=this.getOffsetParent||iy,n=this.getDimensions,r=await n(e.floating);return{reference:ty(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function oy(e){return Av(e).direction===`rtl`}var sy={convertOffsetParentRelativeRectToViewportRelativeRect:Gv,getDocumentElement:mv,getClippingRect:$v,getOffsetParent:iy,getElementRects:ay,getClientRects:Kv,getDimensions:ey,getScale:Rv,isElement:gv,isRTL:oy};function cy(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ly(e,t,n){let r=null,i,a=mv(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=E_(d),h=E_(a.clientWidth-(u+f)),g=E_(a.clientHeight-(d+p)),_=E_(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:w_(0,C_(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!cy(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=pv(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function uy(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Lv(e),u=i||a?[...l?Pv(l):[],...t?Pv(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?ly(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Hv(e):null;c&&g();function g(){let t=Hv(e);h&&!cy(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var dy=sv,fy=cv,py=tv,my=uv,hy=iv,gy=ev,_y=lv,vy=(e,t,n)=>{let r=new Map,i=n??{},a={...sy,...i.platform,_c:r};return $_(e,t,{...i,platform:a})};function yy(e){return typeof e==`object`&&!!e&&`$el`in e}function by(e){if(yy(e)){let t=e.$el;return hv(t)&&fv(t)===`#comment`?null:t}return e}function xy(e){return typeof e==`function`?e():N(e)}function Sy(e){return{name:`arrow`,options:e,fn(t){let n=by(xy(e.element));return n==null?{}:gy({element:n,padding:e.padding}).fn(t)}}}function Cy(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wy(e,t){let n=Cy(e);return Math.round(t*n)/n}function Ty(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=q(()=>xy(n.open)??!0),a=q(()=>xy(n.middleware)),o=q(()=>xy(n.placement)??`bottom`),s=q(()=>xy(n.strategy)??`absolute`),c=q(()=>xy(n.transform)??!0),l=q(()=>by(e.value)),u=q(()=>by(t.value)),d=M(0),f=M(0),p=M(s.value),m=M(o.value),h=pn({}),g=M(!1),_=q(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=wy(u.value,d.value),n=wy(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...Cy(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;vy(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){b(),r===void 0?y():l.value!=null&&u.value!=null&&(v=r(l.value,u.value,y))}function S(){i.value||(g.value=!1)}return F([a,o,s,i],y,{flush:`sync`}),F([l,u],x,{flush:`sync`}),F(i,S,{flush:`sync`}),Fe()&&Ie(b),{x:tn(d),y:tn(f),strategy:tn(p),placement:tn(m),middlewareData:tn(h),isPositioned:tn(g),floatingStyles:_,update:y}}var Ey=[`dir`],Dy={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[Oy,ky]=eh(`PopperContent`),Ay=I({inheritAttrs:!1,__name:`PopperContent`,props:Ra({memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Dy}),emits:[`placed`],setup(e,{emit:t}){let n=e,r=t,i=f_(),{forwardRef:a,currentElement:o}=J(),s=kh(q(()=>n.dir)),c=M(),l=M(),{width:u,height:d}=Zh(l),f=q(()=>n.side+(n.align===`center`?``:`-${n.align}`)),p=q(()=>typeof n.collisionPadding==`number`?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),m=q(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=q(()=>({padding:p.value,boundary:m.value.filter(y_),altBoundary:m.value.length>0})),g=q(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),_=q(()=>[dy({mainAxis:n.sideOffset+d.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&py({...h.value,...g.value}),n.avoidCollisions&&fy({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky===`partial`?_y():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&py({...h.value,...g.value}),my({...h.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),l.value&&Sy({element:l.value,padding:n.arrowPadding}),b_({arrowWidth:u.value,arrowHeight:d.value,dir:s.value}),n.hideWhenDetached&&hy({strategy:`referenceHidden`,...h.value})]),{floatingStyles:v,placement:y,isPositioned:b,middlewareData:x,update:S}=Ty(q(()=>n.reference??i.anchor.value),c,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...e)=>uy(...e,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy===`always`}),middleware:_}),C=q(()=>x_(y.value)[0]),w=q(()=>x_(y.value)[1]);kr(()=>{b.value&&r(`placed`)});let T=q(()=>{let e=x.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&e}),ee=M(``);return Or(()=>{o.value&&(ee.value=window.getComputedStyle(o.value).zIndex)}),ky({placedSide:C,onArrowChange:e=>l.value=e,arrowX:q(()=>x.value.arrow?.x??0),arrowY:q(()=>x.value.arrow?.y??0),shouldHideArrow:T}),(e,t)=>(z(),B(`div`,{ref_key:`floatingRef`,ref:c,"data-reka-popper-content-wrapper":``,dir:N(s),style:he({...N(v),transform:N(b)?N(v).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ee.value,"--reka-popper-transform-origin":[N(x).transformOrigin?.x,N(x).transformOrigin?.y].join(` `),...N(x).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[n.memoDependencies?oc([n.asChild,n.as,C.value,w.value,N(b),...Object.values(e.$attrs),...n.memoDependencies],()=>(z(),V(N(Y),K({key:0,ref:N(a)},e.$attrs,{"as-child":n.asChild,as:n.as,"data-side":C.value,"data-align":w.value,style:{animation:N(b)?void 0:`none`}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),t,0):(z(),V(N(Y),K({key:1,ref:N(a)},e.$attrs,{"as-child":n.asChild,as:n.as,"data-side":C.value,"data-align":w.value,dir:N(s),style:{animation:N(b)?void 0:`none`}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,Ey))}}),jy={top:`bottom`,right:`left`,bottom:`top`,left:`right`},My=I({inheritAttrs:!1,__name:`PopperArrow`,props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let{forwardRef:t}=J(),n=Oy(),r=q(()=>jy[n.placedSide.value]);return(e,i)=>(z(),B(`span`,{ref:e=>{N(n).onArrowChange(e??void 0)},style:he({position:`absolute`,left:N(n).arrowX?.value?`${N(n).arrowX?.value}px`:void 0,top:N(n).arrowY?.value?`${N(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[N(n).placedSide.value],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[N(n).placedSide.value],visibility:N(n).shouldHideArrow.value?`hidden`:void 0})},[U(v_,K(e.$attrs,{ref:N(t),style:{display:`block`},as:e.as,"as-child":e.asChild,rounded:e.rounded,width:e.width,height:e.height}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`rounded`,`width`,`height`])],4))}}),[Ny,Py]=eh(`RovingFocusGroup`),Fy=I({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(e,{expose:t,emit:n}){let r=e,i=n,{loop:a,orientation:o,dir:s}=Sn(r),c=kh(s),l=fh(r,`currentTabStopId`,i,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),u=M(!1),d=M(!1),f=M(0),{getItems:p,CollectionSlot:m}=a_({isProvider:!0});function h(e){let t=!d.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!u.value){let t=new CustomEvent(l_,u_);if(e.currentTarget.dispatchEvent(t),i(`entryFocus`,t),!t.defaultPrevented){let e=p().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);d_([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===l.value),...e].filter(Boolean),r.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:p}),Py({loop:a,dir:c,orientation:o,currentTabStopId:l,onItemFocus:e=>{l.value=e},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{f.value++},onFocusableItemRemove:()=>{f.value--}}),(e,t)=>(z(),V(N(m),null,{default:P(()=>[U(N(Y),{tabindex:u.value||f.value===0?-1:0,"data-orientation":N(o),as:e.as,"as-child":e.asChild,dir:N(c),style:{outline:`none`},onMousedown:t[0]||=e=>d.value=!0,onMouseup:g,onFocus:h,onBlur:t[1]||=e=>u.value=!1},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),Iy=I({__name:`MenuAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(h_),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Ly=I({__name:`MenuArrow`,props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(My),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}});function Ry(){let e=M(!1);return ta(()=>{oh(`keydown`,()=>{e.value=!0},{capture:!0,passive:!0}),oh([`pointerdown`,`pointermove`],()=>{e.value=!1},{capture:!0,passive:!0})}),e}var zy=em(Ry),[By,Vy]=eh([`MenuRoot`,`MenuSub`],`MenuContext`),[Hy,Uy]=eh(`MenuRoot`),Wy=I({__name:`MenuRoot`,props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,{modal:i,dir:a}=Sn(n),o=kh(a),s=fh(n,`open`,r),c=M(),l=zy();return Vy({open:s,onOpenChange:e=>{s.value=e},content:c,onContentChange:e=>{c.value=e}}),Uy({onClose:()=>{s.value=!1},isUsingKeyboardRef:l,dir:o,modal:i}),(e,t)=>(z(),V(N(m_),null,{default:P(()=>[L(e.$slots,`default`)]),_:3}))}}),[Gy,Ky]=eh(`MenuContent`),qy=I({__name:`MenuContentImpl`,props:Ra({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Dy}),emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,i=By(),a=Hy(),{trapFocus:o,disableOutsidePointerEvents:s,loop:c}=Sn(n);Nh(),Sh(s.value);let l=M(``),u=M(0),d=M(0),f=M(null),p=M(`right`),m=M(0),h=M(null),g=M(),{forwardRef:_,currentElement:v}=J(),{handleTypeaheadSearch:y}=$h(),b=M();function x(e){let t=hh(e,b.value||th(),v.value,{loop:c.value,arrowKeyOptions:`vertical`,dir:a?.dir.value,focus:!1,attributeName:`[data-reka-collection-item]:not([data-disabled])`});t&&(b.value=t,t.scrollIntoView({block:`nearest`}))}function S(){b.value&&b.value.click()}let C=M(),w=M();F(b,e=>{if(w.value&&(e===void 0||e!==w.value.trigger.value)){if(e===void 0)return;w.value.onOpenChange(!1),w.value=void 0}}),F(v,e=>{i.onContentChange(e)}),aa(()=>{window.clearTimeout(u.value)});function T(e){return p.value===f.value?.side&&Gg(e,f.value?.area)}async function ee(e){r(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),v.value?.focus({preventScroll:!0}))}function E(e){if(e.defaultPrevented)return;let t=e.target,n=t.closest(`[data-reka-menu-content]`)===e.currentTarget,r=[`input`,`textarea`].includes(t.tagName.toLowerCase()),i=e.ctrlKey||e.altKey||e.metaKey,o=e.key.length===1,s=hh(e,th(),v.value,{loop:c.value,arrowKeyOptions:`vertical`,dir:a?.dir.value,focus:!0,attributeName:`[data-reka-collection-item]:not([data-disabled])`});if(s)return s?.focus();if(e.code===`Space`)return;let l=g.value?.getItems()??[];if(n&&(e.key===`Tab`&&a.modal.value&&e.preventDefault(),!i&&o&&!r&&y(e.key,l)),e.target!==v.value||!Lg.includes(e.key))return;e.preventDefault();let u=[...l.map(e=>e.ref)];Ig.includes(e.key)&&u.reverse(),Ug(u)}function te(e){e?.currentTarget?.contains?.(e.target)||(window.clearTimeout(u.value),l.value=``)}function ne(e){if(!Kg(e))return;let t=e.target,n=m.value!==e.clientX;if((e?.currentTarget)?.contains(t)&&n){let t=e.clientX>m.value?`right`:`left`;p.value=t,m.value=e.clientX}}function re(e){Kg(e)&&C.value&&C.value.focus()}return Ky({onItemEnter:e=>!!T(e),onItemLeave:e=>T(e)?!0:([`INPUT`,`TEXTAREA`].includes(th()?.tagName||``)||v.value?.focus(),h.value=null,!1),onTriggerLeave:e=>!!T(e),searchRef:l,highlightedElement:b,onKeydownNavigation:x,onKeydownEnter:S,filterElement:C,onFilterElementChange:e=>{C.value=e},activeSubmenuContext:w,pointerGraceTimerRef:d,onPointerGraceIntentChange:e=>{f.value=e}}),(e,t)=>(z(),V(N(Mg),{"as-child":``,trapped:N(o),onMountAutoFocus:ee,onUnmountAutoFocus:t[7]||=e=>r(`closeAutoFocus`,e)},{default:P(()=>[U(N(_g),{"as-child":``,"disable-outside-pointer-events":N(s),onEscapeKeyDown:t[2]||=e=>r(`escapeKeyDown`,e),onPointerDownOutside:t[3]||=e=>r(`pointerDownOutside`,e),onFocusOutside:t[4]||=e=>r(`focusOutside`,e),onInteractOutside:t[5]||=e=>r(`interactOutside`,e),onDismiss:t[6]||=e=>r(`dismiss`)},{default:P(()=>[U(N(Fy),{ref_key:`rovingFocusGroupRef`,ref:g,"current-tab-stop-id":h.value,"onUpdate:currentTabStopId":t[0]||=e=>h.value=e,"as-child":``,orientation:`vertical`,dir:N(a).dir.value,loop:N(c),onEntryFocus:t[1]||=e=>{r(`entryFocus`,e),N(a).isUsingKeyboardRef.value||e.preventDefault()}},{default:P(()=>[U(N(Ay),{ref:N(_),role:`menu`,as:e.as,"as-child":e.asChild,"aria-orientation":`vertical`,"data-reka-menu-content":``,"data-state":N(Bg)(N(i).open.value),dir:N(a).dir.value,side:e.side,"side-offset":e.sideOffset,align:e.align,"align-offset":e.alignOffset,"avoid-collisions":e.avoidCollisions,"collision-boundary":e.collisionBoundary,"collision-padding":e.collisionPadding,"arrow-padding":e.arrowPadding,"prioritize-position":e.prioritizePosition,"position-strategy":e.positionStrategy,"update-position-strategy":e.updatePositionStrategy,sticky:e.sticky,"hide-when-detached":e.hideWhenDetached,reference:e.reference,onKeydown:E,onBlur:te,onPointermove:ne,onPointerenter:re},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`,`dir`,`side`,`side-offset`,`align`,`align-offset`,`avoid-collisions`,`collision-boundary`,`collision-padding`,`arrow-padding`,`prioritize-position`,`position-strategy`,`update-position-strategy`,`sticky`,`hide-when-detached`,`reference`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`])]),_:3},8,[`disable-outside-pointer-events`])]),_:3},8,[`trapped`]))}}),Jy=I({inheritAttrs:!1,__name:`MenuItemImpl`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=Gy(),{forwardRef:r,currentElement:i}=J(),{CollectionItem:a}=a_(),o=M(!1),s=q(()=>o.value||i.value!=null&&n.highlightedElement.value===i.value);async function c(e){if(!e.defaultPrevented&&Kg(e)){if(t.disabled)n.onItemLeave(e);else if(!n.onItemEnter(e)){let t=e.currentTarget;n.highlightedElement.value=t,[`INPUT`,`TEXTAREA`].includes(th()?.tagName||``)||t.focus({preventScroll:!0})}}}async function l(e){await tr(),!e.defaultPrevented&&Kg(e)&&n.highlightedElement.value===i.value&&!n.onItemLeave(e)&&n.highlightedElement.value===i.value&&(n.highlightedElement.value=void 0)}return(e,t)=>(z(),V(N(a),{value:{textValue:e.textValue}},{default:P(()=>[U(N(Y),K({ref:N(r),role:`menuitem`,tabindex:`-1`},e.$attrs,{as:e.as,"as-child":e.asChild,"aria-disabled":e.disabled||void 0,"data-disabled":e.disabled?``:void 0,"data-highlighted":s.value?``:void 0,onPointermove:c,onPointerleave:l,onFocus:t[0]||=async t=>{let r=t.currentTarget;await tr(),!(t.defaultPrevented||e.disabled)&&(o.value=!0,N(n).highlightedElement.value=r)},onBlur:t[1]||=async e=>{await tr(),!e.defaultPrevented&&(o.value=!1)}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`aria-disabled`,`data-disabled`,`data-highlighted`])]),_:3},8,[`value`]))}}),Yy=I({__name:`MenuItem`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=J(),o=Hy(),s=Gy(),c=M(!1);async function l(){let e=a.value;if(!n.disabled&&e){let e=new CustomEvent(Ng,{bubbles:!0,cancelable:!0});r(`select`,e),await tr(),e.defaultPrevented?c.value=!1:o.onClose()}}return(e,t)=>(z(),V(Jy,K(n,{ref:N(i),onClick:l,onPointerdown:t[0]||=()=>{c.value=!0},onPointerup:t[1]||=async e=>{await tr(),!e.defaultPrevented&&(c.value||e.currentTarget?.click())},onKeydown:t[2]||=async t=>{let n=N(s).searchRef.value!==``;e.disabled||n&&t.key===` `||N(Pg).includes(t.key)&&(t.currentTarget?.click(),t.preventDefault())}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),[Xy,Zy]=eh([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`),Qy=I({__name:`MenuItemIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=Xy({modelValue:M(!1)});return(e,n)=>(z(),V(N(ig),{present:e.forceMount||N(Vg)(N(t).modelValue.value)||N(t).modelValue.value===!0},{default:P(()=>[U(N(Y),{as:e.as,"as-child":e.asChild,"data-state":N(Hg)(N(t).modelValue.value)},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`])]),_:3},8,[`present`]))}}),$y=I({__name:`MenuCheckboxItem`,props:{modelValue:{type:[Boolean,String],required:!1,default:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=Ih(im(n,[`modelValue`])),a=fh(n,`modelValue`,r);return Zy({modelValue:a}),(e,t)=>(z(),V(Yy,K({role:`menuitemcheckbox`},N(i),{"aria-checked":N(Vg)(N(a))?`mixed`:N(a),"data-state":N(Hg)(N(a)),onSelect:t[0]||=async e=>{r(`select`,e),N(Vg)(N(a))?a.value=!0:a.value=!N(a)}}),{default:P(()=>[L(e.$slots,`default`,{modelValue:N(a)})]),_:3},16,[`aria-checked`,`data-state`]))}}),eb=I({__name:`MenuRootContentModal`,props:{loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Lh(n,r),a=By(),{forwardRef:o,currentElement:s}=J();return Jh(s),(e,t)=>(z(),V(qy,K(N(i),{ref:N(o),"trap-focus":N(a).open.value,"disable-outside-pointer-events":N(a).open.value,"disable-outside-scroll":!0,onDismiss:t[0]||=e=>N(a).onOpenChange(!1),onFocusOutside:t[1]||=mu(e=>r(`focusOutside`,e),[`prevent`])}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`trap-focus`,`disable-outside-pointer-events`]))}}),tb=I({__name:`MenuRootContentNonModal`,props:{loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=Lh(e,t),r=By();return(e,t)=>(z(),V(qy,K(N(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:t[0]||=e=>N(r).onOpenChange(!1)}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),nb=I({__name:`MenuContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=Lh(e,t),r=By(),i=Hy();return(e,t)=>(z(),V(N(ig),{present:e.forceMount||N(r).open.value},{default:P(()=>[N(i).modal.value?(z(),V(eb,A(K({key:0},{...e.$attrs,...N(n)})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16)):(z(),V(tb,A(K({key:1},{...e.$attrs,...N(n)})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),[rb,ib]=eh(`MenuGroup`),ab=I({__name:`MenuGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=Xh(void 0,`reka-menu-group`);return ib({id:n}),(e,r)=>(z(),V(N(Y),K({role:`group`},t,{"aria-labelledby":N(n)}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),ob=I({__name:`MenuLabel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},setup(e){let t=e,n=rb({id:``});return(e,r)=>(z(),V(N(Y),K(t,{id:N(n).id||void 0}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`]))}}),sb=I({__name:`MenuPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(e_),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),[cb,lb]=eh(`MenuRadioGroup`),ub=I({__name:`MenuRadioGroup`,props:{modelValue:{type:null,required:!1,default:``},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=Ih(im(n,[`modelValue`])),a=fh(n,`modelValue`,r);return lb({modelValue:a,onValueChange:e=>{a.value=e}}),(e,t)=>(z(),V(ab,A(Es(N(i))),{default:P(()=>[L(e.$slots,`default`,{modelValue:N(a)})]),_:3},16))}}),db=I({__name:`MenuRadioItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=Ih(im(n,[`value`])),{value:a}=Sn(n),o=cb(),s=q(()=>o.modelValue.value===a?.value);return Zy({modelValue:s}),(e,t)=>(z(),V(Yy,K({role:`menuitemradio`},N(i),{"aria-checked":s.value,"data-state":N(Hg)(s.value),onSelect:t[0]||=async e=>{r(`select`,e),N(o).onValueChange(N(a))}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`aria-checked`,`data-state`]))}}),fb=I({__name:`MenuSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(Y),K(t,{role:`separator`,"aria-orientation":`horizontal`}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),[pb,mb]=eh(`MenuSub`),hb=I({__name:`MenuSub`,props:{open:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=fh(n,`open`,t,{defaultValue:!1,passive:n.open===void 0}),i=By(),a=M(),o=M();return Or(e=>{i?.open.value===!1&&(r.value=!1),e(()=>r.value=!1)}),Vy({open:r,onOpenChange:e=>{r.value=e},content:o,onContentChange:e=>{o.value=e}}),mb({triggerId:``,contentId:``,trigger:a,onTriggerChange:e=>{a.value=e}}),(e,t)=>(z(),V(N(m_),null,{default:P(()=>[L(e.$slots,`default`)]),_:3}))}}),gb=I({__name:`MenuSubContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1,default:!0},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=Lh(e,t),r=By(),i=Hy(),a=pb(),o=Gy(),{forwardRef:s,currentElement:c}=J();return a.contentId||=Xh(void 0,`reka-menu-sub-content`),(e,t)=>(z(),V(N(ig),{present:e.forceMount||N(r).open.value},{default:P(()=>[U(qy,K(N(n),{id:N(a).contentId,ref:N(s),"aria-labelledby":N(a).triggerId,align:`start`,side:N(i).dir.value===`rtl`?`left`:`right`,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:t[0]||=mu(e=>{N(i).isUsingKeyboardRef.value&&N(c)?.focus()},[`prevent`]),onCloseAutoFocus:t[1]||=mu(()=>{},[`prevent`]),onFocusOutside:t[2]||=e=>{if(e.defaultPrevented)return;let t=N(o).filterElement.value?.contains(e.target);e.target!==N(a).trigger.value&&!t&&N(r).onOpenChange(!1)},onEscapeKeyDown:t[3]||=e=>{N(i).onClose(),e.preventDefault()},onKeydown:t[4]||=e=>{let t=e.currentTarget?.contains(e.target),n=N(zg)[N(i).dir.value].includes(e.key);t&&n&&(N(r).onOpenChange(!1),N(o).filterElement.value?(N(o).filterElement.value.focus(),N(o).highlightedElement.value=N(a).trigger.value,N(a).trigger.value?.scrollIntoView({block:`nearest`})):N(a).trigger.value?.focus(),e.preventDefault())}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`,`side`])]),_:3},8,[`present`]))}}),_b=I({__name:`MenuSubTrigger`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=By(),r=Hy(),i=pb(),a=Gy();F(n.open,e=>{e?a.activeSubmenuContext.value={onOpenChange:n.onOpenChange,trigger:i.trigger}:a.activeSubmenuContext.value?.trigger.value===i.trigger.value&&(a.activeSubmenuContext.value=void 0)});let o=M(null);i.triggerId||=Xh(void 0,`reka-menu-sub-trigger`);function s(){o.value&&window.clearTimeout(o.value),o.value=null}aa(()=>{s()});function c(e){Kg(e)&&(a.onItemEnter(e)||!t.disabled&&!n.open.value&&!o.value&&(a.onPointerGraceIntentChange(null),o.value=window.setTimeout(()=>{n.onOpenChange(!0),s()},100)))}async function l(e){if(!Kg(e))return;s();let t=n.content.value?.getBoundingClientRect();if(t?.width){let r=n.content.value?.dataset.side,i=r===`right`,o=i?-5:5,s=t[i?`left`:`right`],c=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:s,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:s,y:t.bottom}],side:r}),window.clearTimeout(a.pointerGraceTimerRef.value),a.pointerGraceTimerRef.value=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(e))return;a.onPointerGraceIntentChange(null)}}async function u(e){let i=a.searchRef.value!==``;t.disabled||i&&e.key===` `||Rg[r.dir.value].includes(e.key)&&(n.onOpenChange(!0),await tr(),n.content.value?.focus(),e.preventDefault())}return(e,r)=>(z(),V(Iy,{"as-child":``},{default:P(()=>[U(Jy,K(t,{id:N(i).triggerId,ref:e=>{e&&N(i)?.onTriggerChange(e?.$el)},"aria-haspopup":`menu`,"aria-expanded":N(n).open.value,"aria-controls":N(i).contentId,"data-state":N(Bg)(N(n).open.value),onClick:r[0]||=async e=>{t.disabled||e.defaultPrevented||(e.currentTarget?.focus(),N(n).open.value||N(n).onOpenChange(!0))},onPointermove:c,onPointerleave:l,onKeydown:u}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`,`aria-expanded`,`aria-controls`,`data-state`])]),_:3}))}}),vb=I({__name:`DropdownMenuArrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Ly),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),yb=I({__name:`DropdownMenuCheckboxItem`,props:{modelValue:{type:[Boolean,String],required:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=Ah(t);return J(),(e,t)=>(z(),V(N($y),A(Es({...n,...N(r)})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),[bb,xb]=eh(`DropdownMenuRoot`),Sb=I({__name:`DropdownMenuRoot`,props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t;J();let i=fh(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),a=M(),{modal:o,dir:s}=Sn(n),c=kh(s);return xb({open:i,onOpenChange:e=>{i.value=e},onOpenToggle:()=>{i.value=!i.value},triggerId:``,triggerElement:a,contentId:``,modal:o,dir:c}),(e,t)=>(z(),V(N(Wy),{open:N(i),"onUpdate:open":t[0]||=e=>fn(i)?i.value=e:null,dir:N(c),modal:N(o)},{default:P(()=>[L(e.$slots,`default`,{open:N(i)})]),_:3},8,[`open`,`dir`,`modal`]))}}),Cb=I({__name:`DropdownMenuContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(e,{emit:t}){let n=Lh(e,t);J();let r=bb(),i=M(!1);function a(e){e.defaultPrevented||(i.value||setTimeout(()=>{r.triggerElement.value?.focus()},0),i.value=!1,e.preventDefault())}return r.contentId||=Xh(void 0,`reka-dropdown-menu-content`),(e,t)=>(z(),V(N(nb),K(N(n),{id:N(r).contentId,"aria-labelledby":N(r)?.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-dropdown-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-dropdown-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-dropdown-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-dropdown-menu-trigger-height":`var(--reka-popper-anchor-height)`},onCloseAutoFocus:a,onInteractOutside:t[0]||=e=>{if(e.defaultPrevented)return;let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,a=t.button===2||n;(!N(r).modal.value||a)&&(i.value=!0),N(r).triggerElement.value?.contains(e.target)&&e.preventDefault()}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`]))}}),wb=I({__name:`DropdownMenuFilter`,props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=fh(n,`modelValue`,t,{defaultValue:``,passive:n.modelValue===void 0}),i=Hy(),a=Gy(),o=pb(null);F(r,e=>{a.searchRef.value=e??``},{immediate:!0});let{primitiveElement:s,currentElement:c}=sg(),l=q(()=>n.disabled||!1),u=M();Ar(()=>u.value=a.highlightedElement.value?.id),ta(()=>{a.onFilterElementChange(c.value),setTimeout(()=>{n.autoFocus&&(!o||i.isUsingKeyboardRef.value)&&c.value?.focus()},1)}),aa(()=>{a.onFilterElementChange(void 0),a.searchRef.value=``});let{isComposing:d,shouldDeferInput:f,handleCompositionStart:p,handleCompositionUpdate:m,handleCompositionEnd:h}=Oh(e=>{let t=e.target;t&&(r.value=t.value,a.searchRef.value=t.value)});function g(e){if(l.value||f.value)return;let t=e.target;r.value=t.value,a.searchRef.value=t.value}function _(e){l.value||(d.value?e.stopPropagation():[`ArrowDown`,`ArrowUp`,`Home`,`End`].includes(e.key)?(e.preventDefault(),a.onKeydownNavigation(e)):e.key===`Enter`?(e.preventDefault(),a.onKeydownEnter(e)):e.key===`Escape`&&r.value&&(e.stopPropagation(),r.value=``,a.searchRef.value=``))}return(e,t)=>(z(),V(N(Y),{ref_key:`primitiveElement`,ref:s,as:e.as,"as-child":e.asChild,value:N(r),disabled:l.value?``:void 0,"data-disabled":l.value?``:void 0,"aria-disabled":l.value?!0:void 0,"aria-activedescendant":u.value,type:`text`,role:`searchbox`,onInput:g,onKeydown:_,onCompositionstart:N(p),onCompositionupdate:N(m),onCompositionend:N(h)},{default:P(()=>[L(e.$slots,`default`,{modelValue:N(r)})]),_:3},8,[`as`,`as-child`,`value`,`disabled`,`data-disabled`,`aria-disabled`,`aria-activedescendant`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`]))}}),Tb=I({__name:`DropdownMenuGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(ab),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Eb=I({__name:`DropdownMenuItem`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=Ah(t);return J(),(e,t)=>(z(),V(N(Yy),A(Es({...n,...N(r)})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Db=I({__name:`DropdownMenuItemIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Qy),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Ob=I({__name:`DropdownMenuLabel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(ob),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),kb=I({__name:`DropdownMenuPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(sb),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Ab=I({__name:`DropdownMenuRadioGroup`,props:{modelValue:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=Ah(t);return J(),(e,t)=>(z(),V(N(ub),A(Es({...n,...N(r)})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),jb=I({__name:`DropdownMenuRadioItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=Lh(e,t);return J(),(e,t)=>(z(),V(N(db),A(Es(N(n))),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Mb=I({__name:`DropdownMenuSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(fb),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Nb=I({__name:`DropdownMenuSub`,props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=fh(n,`open`,t,{passive:n.open===void 0,defaultValue:n.defaultOpen??!1});return J(),(e,t)=>(z(),V(N(hb),{open:N(r),"onUpdate:open":t[0]||=e=>fn(r)?r.value=e:null},{default:P(()=>[L(e.$slots,`default`,{open:N(r)})]),_:3},8,[`open`]))}}),Pb=I({__name:`DropdownMenuSubContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=Lh(e,t);return J(),(e,t)=>(z(),V(N(gb),K(N(n),{style:{"--reka-dropdown-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-dropdown-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-dropdown-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-dropdown-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-dropdown-menu-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Fb=I({__name:`DropdownMenuSubTrigger`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(_b),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Ib=I({__name:`DropdownMenuTrigger`,props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=bb(),{forwardRef:r,currentElement:i}=J();return ta(()=>{n.triggerElement=i}),n.triggerId||=Xh(void 0,`reka-dropdown-menu-trigger`),(e,i)=>(z(),V(N(Iy),{"as-child":``},{default:P(()=>[U(N(Y),{id:N(n).triggerId,ref:N(r),type:e.as===`button`?`button`:void 0,"as-child":t.asChild,as:e.as,"aria-haspopup":`menu`,"aria-expanded":N(n).open.value,"aria-controls":N(n).open.value?N(n).contentId:void 0,"data-disabled":e.disabled?``:void 0,disabled:e.disabled,"data-state":N(n).open.value?`open`:`closed`,onClick:i[0]||=async t=>{!e.disabled&&t.button===0&&t.ctrlKey===!1&&(N(n)?.onOpenToggle(),await tr(),N(n).open.value&&t.preventDefault())},onKeydown:i[1]||=gu(t=>{e.disabled||([`Enter`,` `].includes(t.key)&&N(n).onOpenToggle(),t.key===`ArrowDown`&&N(n).onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(t.key)&&t.preventDefault())},[`enter`,`space`,`arrow-down`])},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`id`,`type`,`as-child`,`as`,`aria-expanded`,`aria-controls`,`data-disabled`,`disabled`,`data-state`])]),_:3}))}}),Lb=I({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Y),K(t,{onMousedown:n[0]||=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()}}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),Rb=100,[zb,Bb]=eh(`ProgressRoot`),Vb=e=>typeof e==`number`;function Hb(e,t){return rh(e)||Vb(e)&&!Number.isNaN(e)&&e<=t&&e>=0?e:(console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be:
21
21
  - a positive number
22
- - less than the value passed to \`max\` (or ${Og} if no \`max\` prop is set)
22
+ - less than the value passed to \`max\` (or ${Rb} if no \`max\` prop is set)
23
23
  - \`null\` or \`undefined\` if the progress is indeterminate.
24
24
 
25
- Defaulting to \`null\`.`),null)}function Ng(e){return jg(e)&&!Number.isNaN(e)&&e>0?e:(console.error(`Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Og}\`.`),Og)}var Pg=L({__name:`ProgressRoot`,props:{modelValue:{type:[Number,null],required:!1},max:{type:Number,required:!1,default:Og},getValueLabel:{type:Function,required:!1,default:(e,t)=>jg(e)?`${Math.round(e/t*Og)}%`:void 0},getValueText:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`,`update:max`],setup(e,{emit:t}){let n=e,r=t;Y();let i=nh(n,`modelValue`,r,{passive:n.modelValue===void 0}),a=nh(n,`max`,r,{passive:n.max===void 0});I(()=>i.value,async e=>{let t=Mg(e,n.max);t!==e&&(await tr(),i.value=t)},{immediate:!0}),I(()=>n.max,e=>{let t=Ng(n.max);t!==e&&(a.value=t)},{immediate:!0});let o=J(()=>qm(i.value)?`indeterminate`:i.value===a.value?`complete`:`loading`);return Ag({modelValue:i,max:a,progressState:o}),(e,t)=>(B(),H(N(Ph),{"as-child":e.asChild,as:e.as,"aria-valuemax":N(a),"aria-valuemin":0,"aria-valuenow":jg(N(i))?N(i):void 0,"aria-valuetext":e.getValueText?.(N(i),N(a)),"aria-label":e.getValueLabel(N(i),N(a)),role:`progressbar`,"data-state":o.value,"data-value":N(i)??void 0,"data-max":N(a)},{default:P(()=>[R(e.$slots,`default`,{modelValue:N(i)})]),_:3},8,[`as-child`,`as`,`aria-valuemax`,`aria-valuenow`,`aria-valuetext`,`aria-label`,`data-state`,`data-value`,`data-max`]))}}),Fg=L({__name:`ProgressIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=kg();return Y(),(e,r)=>(B(),H(N(Ph),q(t,{"data-state":N(n).progressState.value,"data-value":N(n).modelValue?.value??void 0,"data-max":N(n).max.value}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`data-state`,`data-value`,`data-max`]))}}),[Ig,Lg]=Wm(`SwitchRoot`),Rg=L({inheritAttrs:!1,__name:`SwitchRoot`,props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},value:{type:String,required:!1,default:`on`},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{disabled:i}=Sn(n),a=nh(n,`modelValue`,r,{defaultValue:n.defaultValue??n.falseValue,passive:n.modelValue===void 0}),o=J(()=>a.value===n.trueValue);function s(){i.value||(a.value=o.value?n.falseValue:n.trueValue)}let{forwardRef:c,currentElement:l}=Y(),u=ph(l),d=hh(),f=J(()=>n.id&&l.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return Lg({checked:o,toggleCheck:s,disabled:i}),(e,t)=>(B(),V(z,null,[W(N(Ph),q({id:e.id,ref:N(c),role:`switch`,type:e.as===`button`?`button`:void 0,value:e.value,"aria-label":e.$attrs[`aria-label`]||f.value,"aria-checked":o.value,"aria-required":e.required,"data-state":o.value?`checked`:`unchecked`,"data-disabled":N(i)?``:void 0,"as-child":e.asChild,as:e.as,disabled:N(i)},{...N(d),...e.$attrs},{onClick:s,onKeydown:hu(pu(s,[`prevent`]),[`enter`])}),{default:P(()=>[R(e.$slots,`default`,{modelValue:N(a),checked:o.value})]),_:3},16,[`id`,`type`,`value`,`aria-label`,`aria-checked`,`aria-required`,`data-state`,`data-disabled`,`as-child`,`as`,`disabled`,`onKeydown`]),N(u)&&e.name?(B(),H(N(Eg),q({key:0,type:`checkbox`,name:e.name,disabled:N(i),required:e.required,value:e.value,checked:o.value},N(d)),null,16,[`name`,`disabled`,`required`,`value`,`checked`])):K(`v-if`,!0)],64))}}),zg=L({__name:`SwitchThumb`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=Ig();return Y(),(e,n)=>(B(),H(N(Ph),{"data-state":N(t).checked.value?`checked`:`unchecked`,"data-disabled":N(t).disabled.value?``:void 0,"as-child":e.asChild,as:e.as},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`data-state`,`data-disabled`,`as-child`,`as`]))}}),Bg=L({__name:`ToastAnnounceExclude`,props:{altText:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){return(e,t)=>(B(),H(N(Ph),{as:e.as,"as-child":e.asChild,"data-reka-toast-announce-exclude":``,"data-reka-toast-announce-alt":e.altText||void 0},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-reka-toast-announce-alt`]))}}),[Vg,Hg]=Wm(`ToastProvider`),Ug=L({inheritAttrs:!1,__name:`ToastProvider`,props:{label:{type:String,required:!1,default:`Notification`},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeDirection:{type:String,required:!1,default:`right`},swipeThreshold:{type:Number,required:!1,default:50}},setup(e){let t=e,{label:n,duration:r,disableSwipe:i,swipeDirection:a,swipeThreshold:o}=Sn(t);Cg({isProvider:!0});let s=M(),c=M(0),l=M(!1),u=M(!1);if(t.label&&typeof t.label==`string`&&!t.label.trim())throw Error("Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.");return Hg({label:n,duration:r,disableSwipe:i,swipeDirection:a,swipeThreshold:o,toastCount:c,viewport:s,onViewportChange(e){s.value=e},onToastAdd(){c.value++},onToastRemove(){c.value--},isFocusedToastEscapeKeyDownRef:l,isClosePausedRef:u}),(e,t)=>R(e.$slots,`default`)}}),Wg=L({__name:`ToastAnnounce`,setup(e){let t=Vg(),n=sm(1e3),r=M(!1),i=0,a=0;return Rp&&(i=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{r.value=!0})}),Re(()=>{cancelAnimationFrame(i),cancelAnimationFrame(a)})),(e,i)=>N(n)||r.value?(B(),H(N(wg),{key:0,feature:`fully-hidden`},{default:P(()=>[G(k(N(t).label.value)+` `,1),R(e.$slots,`default`)]),_:3})):K(`v-if`,!0)}}),Gg=`toast.viewportPause`,Kg=`toast.viewportResume`;function qg(e,t,n){let r=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function Jg(e,t,n=0){let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===`left`||t===`right`?a&&r>n:!a&&i>n}function Yg(e){return e.nodeType===e.ELEMENT_NODE}function Xg(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),Yg(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.rekaToastAnnounceExclude===``;if(!n){if(r){let n=e.dataset.rekaToastAnnounceAlt;n&&t.push(n)}else t.push(...Xg(e))}}}),t}var[Zg,Qg]=Wm(`ToastRoot`),$g=L({inheritAttrs:!1,__name:`ToastRootImpl`,props:{type:{type:String,required:!1},open:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`close`,`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=Y(),{CollectionItem:o}=Cg(),s=Vg(),c=M(null),l=M(null),u=J(()=>typeof n.duration==`number`?n.duration:s.duration.value),d=M(0),f=M(u.value),p=M(0),m=M(u.value),h=eh(()=>{let e=Date.now()-d.value;m.value=Math.max(f.value-e,0)},{fpsLimit:60});function g(e){e<=0||e===1/0||Rp&&(window.clearTimeout(p.value),d.value=Date.now(),p.value=window.setTimeout(_,e))}function _(e){let t=e?.pointerType===``;a.value?.contains(Gm())&&t&&s.viewport.value?.focus(),t&&(s.isClosePausedRef.value=!1),r(`close`)}let v=J(()=>a.value?Xg(a.value):null);if(n.type&&![`foreground`,`background`].includes(n.type))throw Error("Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.");return Dr(e=>{let t=s.viewport.value;if(t){let n=()=>{g(f.value),h.resume(),r(`resume`)},i=()=>{let e=Date.now()-d.value;f.value-=e,window.clearTimeout(p.value),h.pause(),r(`pause`)};t.addEventListener(Gg,i),t.addEventListener(Kg,n),e(()=>{t.removeEventListener(Gg,i),t.removeEventListener(Kg,n)})}}),I(()=>[n.open,u.value],()=>{f.value=u.value,n.open&&!s.isClosePausedRef.value&&g(u.value)},{immediate:!0}),$m(`Escape`,e=>{r(`escapeKeyDown`,e),e.defaultPrevented||(s.isFocusedToastEscapeKeyDownRef.value=!0,_())}),ea(()=>{s.onToastAdd()}),ia(()=>{s.onToastRemove()}),Qg({onClose:_}),(e,t)=>(B(),V(z,null,[v.value?(B(),H(Wg,{key:0,role:`alert`,"aria-live":e.type===`foreground`?`assertive`:`polite`},{default:P(()=>[K(`
25
+ Defaulting to \`null\`.`),null)}function Ub(e){return Vb(e)&&!Number.isNaN(e)&&e>0?e:(console.error(`Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Rb}\`.`),Rb)}var Wb=I({__name:`ProgressRoot`,props:{modelValue:{type:[Number,null],required:!1},max:{type:Number,required:!1,default:Rb},getValueLabel:{type:Function,required:!1,default:(e,t)=>Vb(e)?`${Math.round(e/t*Rb)}%`:void 0},getValueText:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`,`update:max`],setup(e,{emit:t}){let n=e,r=t;J();let i=fh(n,`modelValue`,r,{passive:n.modelValue===void 0}),a=fh(n,`max`,r,{passive:n.max===void 0});F(()=>i.value,async e=>{let t=Hb(e,n.max);t!==e&&(await tr(),i.value=t)},{immediate:!0}),F(()=>n.max,e=>{let t=Ub(n.max);t!==e&&(a.value=t)},{immediate:!0});let o=q(()=>rh(i.value)?`indeterminate`:i.value===a.value?`complete`:`loading`);return Bb({modelValue:i,max:a,progressState:o}),(e,t)=>(z(),V(N(Y),{"as-child":e.asChild,as:e.as,"aria-valuemax":N(a),"aria-valuemin":0,"aria-valuenow":Vb(N(i))?N(i):void 0,"aria-valuetext":e.getValueText?.(N(i),N(a)),"aria-label":e.getValueLabel(N(i),N(a)),role:`progressbar`,"data-state":o.value,"data-value":N(i)??void 0,"data-max":N(a)},{default:P(()=>[L(e.$slots,`default`,{modelValue:N(i)})]),_:3},8,[`as-child`,`as`,`aria-valuemax`,`aria-valuenow`,`aria-valuetext`,`aria-label`,`data-state`,`data-value`,`data-max`]))}}),Gb=I({__name:`ProgressIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=zb();return J(),(e,r)=>(z(),V(N(Y),K(t,{"data-state":N(n).progressState.value,"data-value":N(n).modelValue?.value??void 0,"data-max":N(n).max.value}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`data-state`,`data-value`,`data-max`]))}}),[Kb,qb]=eh(`SwitchRoot`),Jb=I({inheritAttrs:!1,__name:`SwitchRoot`,props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},value:{type:String,required:!1,default:`on`},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{disabled:i}=Sn(n),a=fh(n,`modelValue`,r,{defaultValue:n.defaultValue??n.falseValue,passive:n.modelValue===void 0}),o=q(()=>a.value===n.trueValue);function s(){i.value||(a.value=o.value?n.falseValue:n.trueValue)}let{forwardRef:c,currentElement:l}=J(),u=Fh(l),d=Rh(),f=q(()=>n.id&&l.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return qb({checked:o,toggleCheck:s,disabled:i}),(e,t)=>(z(),B(R,null,[U(N(Y),K({id:e.id,ref:N(c),role:`switch`,type:e.as===`button`?`button`:void 0,value:e.value,"aria-label":e.$attrs[`aria-label`]||f.value,"aria-checked":o.value,"aria-required":e.required,"data-state":o.value?`checked`:`unchecked`,"data-disabled":N(i)?``:void 0,"as-child":e.asChild,as:e.as,disabled:N(i)},{...N(d),...e.$attrs},{onClick:s,onKeydown:gu(mu(s,[`prevent`]),[`enter`])}),{default:P(()=>[L(e.$slots,`default`,{modelValue:N(a),checked:o.value})]),_:3},16,[`id`,`type`,`value`,`aria-label`,`aria-checked`,`aria-required`,`data-state`,`data-disabled`,`as-child`,`as`,`disabled`,`onKeydown`]),N(u)&&e.name?(z(),V(N(c_),K({key:0,type:`checkbox`,name:e.name,disabled:N(i),required:e.required,value:e.value,checked:o.value},N(d)),null,16,[`name`,`disabled`,`required`,`value`,`checked`])):G(`v-if`,!0)],64))}}),Yb=I({__name:`SwitchThumb`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=Kb();return J(),(e,n)=>(z(),V(N(Y),{"data-state":N(t).checked.value?`checked`:`unchecked`,"data-disabled":N(t).disabled.value?``:void 0,"as-child":e.asChild,as:e.as},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`data-state`,`data-disabled`,`as-child`,`as`]))}}),Xb=I({__name:`ToastAnnounceExclude`,props:{altText:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){return(e,t)=>(z(),V(N(Y),{as:e.as,"as-child":e.asChild,"data-reka-toast-announce-exclude":``,"data-reka-toast-announce-alt":e.altText||void 0},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-reka-toast-announce-alt`]))}}),[Zb,Qb]=eh(`ToastProvider`),$b=I({inheritAttrs:!1,__name:`ToastProvider`,props:{label:{type:String,required:!1,default:`Notification`},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeDirection:{type:String,required:!1,default:`right`},swipeThreshold:{type:Number,required:!1,default:50}},setup(e){let t=e,{label:n,duration:r,disableSwipe:i,swipeDirection:a,swipeThreshold:o}=Sn(t);a_({isProvider:!0});let s=M(),c=M(0),l=M(!1),u=M(!1);if(t.label&&typeof t.label==`string`&&!t.label.trim())throw Error("Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.");return Qb({label:n,duration:r,disableSwipe:i,swipeDirection:a,swipeThreshold:o,toastCount:c,viewport:s,onViewportChange(e){s.value=e},onToastAdd(){c.value++},onToastRemove(){c.value--},isFocusedToastEscapeKeyDownRef:l,isClosePausedRef:u}),(e,t)=>L(e.$slots,`default`)}}),ex=I({__name:`ToastAnnounce`,setup(e){let t=Zb(),n=um(1e3),r=M(!1),i=0,a=0;return zp&&(i=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{r.value=!0})}),Ie(()=>{cancelAnimationFrame(i),cancelAnimationFrame(a)})),(e,i)=>N(n)||r.value?(z(),V(N(o_),{key:0,feature:`fully-hidden`},{default:P(()=>[W(j(N(t).label.value)+` `,1),L(e.$slots,`default`)]),_:3})):G(`v-if`,!0)}}),tx=`toast.viewportPause`,nx=`toast.viewportResume`;function rx(e,t,n){let r=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function ix(e,t,n=0){let r=Math.abs(e.x),i=Math.abs(e.y),a=r>i;return t===`left`||t===`right`?a&&r>n:!a&&i>n}function ax(e){return e.nodeType===e.ELEMENT_NODE}function ox(e){let t=[];return Array.from(e.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&t.push(e.textContent),ax(e)){let n=e.ariaHidden||e.hidden||e.style.display===`none`,r=e.dataset.rekaToastAnnounceExclude===``;if(!n){if(r){let n=e.dataset.rekaToastAnnounceAlt;n&&t.push(n)}else t.push(...ox(e))}}}),t}var[sx,cx]=eh(`ToastRoot`),lx=I({inheritAttrs:!1,__name:`ToastRootImpl`,props:{type:{type:String,required:!1},open:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`close`,`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=J(),{CollectionItem:o}=a_(),s=Zb(),c=M(null),l=M(null),u=q(()=>typeof n.duration==`number`?n.duration:s.duration.value),d=M(0),f=M(u.value),p=M(0),m=M(u.value),h=uh(()=>{let e=Date.now()-d.value;m.value=Math.max(f.value-e,0)},{fpsLimit:60});function g(e){e<=0||e===1/0||zp&&(window.clearTimeout(p.value),d.value=Date.now(),p.value=window.setTimeout(_,e))}function _(e){let t=e?.pointerType===``;a.value?.contains(th())&&t&&s.viewport.value?.focus(),t&&(s.isClosePausedRef.value=!1),r(`close`)}let v=q(()=>a.value?ox(a.value):null);if(n.type&&![`foreground`,`background`].includes(n.type))throw Error("Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.");return Or(e=>{let t=s.viewport.value;if(t){let n=()=>{g(f.value),h.resume(),r(`resume`)},i=()=>{let e=Date.now()-d.value;f.value-=e,window.clearTimeout(p.value),h.pause(),r(`pause`)};t.addEventListener(tx,i),t.addEventListener(nx,n),e(()=>{t.removeEventListener(tx,i),t.removeEventListener(nx,n)})}}),F(()=>[n.open,u.value],()=>{f.value=u.value,n.open&&!s.isClosePausedRef.value&&g(u.value)},{immediate:!0}),lh(`Escape`,e=>{r(`escapeKeyDown`,e),e.defaultPrevented||(s.isFocusedToastEscapeKeyDownRef.value=!0,_())}),ta(()=>{s.onToastAdd()}),aa(()=>{s.onToastRemove()}),cx({onClose:_}),(e,t)=>(z(),B(R,null,[v.value?(z(),V(ex,{key:0,role:`alert`,"aria-live":e.type===`foreground`?`assertive`:`polite`},{default:P(()=>[G(`
26
26
  Render each chunk as its own text node so screen readers get the
27
27
  natural pause break between nodes (see comment in utils.ts).
28
28
  Interpolating the array directly with \`{{ announceTextContent }}\`
29
29
  would route through Vue's \`toDisplayString\`, which JSON-stringifies
30
30
  arrays — the live region would then announce literal \`[\`, quotes
31
31
  and commas instead of the toast title and description.
32
- `),(B(!0),V(z,null,_a(v.value,(e,t)=>(B(),V(z,{key:t},[G(k(e),1)],64))),128))]),_:1},8,[`aria-live`])):K(`v-if`,!0),N(s).viewport.value?(B(),H(Wr,{key:1,to:N(s).viewport.value},[W(N(o),null,{default:P(()=>[W(N(Ph),q({ref:N(i),tabindex:`0`},e.$attrs,{as:e.as,"as-child":e.asChild,"data-state":e.open?`open`:`closed`,"data-swipe-direction":N(s).swipeDirection.value,style:N(s).disableSwipe.value?void 0:{userSelect:`none`,touchAction:`none`},onPointerdown:t[0]||=pu(e=>{N(s).disableSwipe.value||(c.value={x:e.clientX,y:e.clientY})},[`left`]),onPointermove:t[1]||=e=>{if(N(s).disableSwipe.value||!c.value)return;let t=e.clientX-c.value.x,n=e.clientY-c.value.y,i=!!l.value,a=[`left`,`right`].includes(N(s).swipeDirection.value),o=[`left`,`up`].includes(N(s).swipeDirection.value)?Math.min:Math.max,u=a?o(0,t):0,d=a?0:o(0,n),f=e.pointerType===`touch`?10:2,p={x:u,y:d},m={originalEvent:e,delta:p};i?(l.value=p,N(qg)(N(`toast.swipeMove`),e=>r(`swipeMove`,e),m)):N(Jg)(p,N(s).swipeDirection.value,f)?(l.value=p,N(qg)(N(`toast.swipeStart`),e=>r(`swipeStart`,e),m),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>f||Math.abs(n)>f)&&(c.value=null)},onPointerup:t[2]||=e=>{if(N(s).disableSwipe.value)return;let t=l.value,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),l.value=null,c.value=null,t){let n=e.currentTarget,i={originalEvent:e,delta:t};N(Jg)(t,N(s).swipeDirection.value,N(s).swipeThreshold.value)?N(qg)(N(`toast.swipeEnd`),e=>r(`swipeEnd`,e),i):N(qg)(N(`toast.swipeCancel`),e=>r(`swipeCancel`,e),i),n?.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}}}),{default:P(()=>[R(e.$slots,`default`,{remaining:m.value,duration:u.value})]),_:3},16,[`as`,`as-child`,`data-state`,`data-swipe-direction`,`style`])]),_:3})],8,[`to`])):K(`v-if`,!0)],64))}}),e_=L({__name:`ToastClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=Zg(),{forwardRef:r}=Y();return(e,i)=>(B(),H(Bg,{"as-child":``},{default:P(()=>[W(N(Ph),q(t,{ref:N(r),type:e.as===`button`?`button`:void 0,onClick:N(n).onClose}),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`type`,`onClick`])]),_:3}))}}),t_=L({__name:`ToastAction`,props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){if(!e.altText)throw Error("Missing prop `altText` expected on `ToastAction`");let{forwardRef:t}=Y();return(e,n)=>e.altText?(B(),H(Bg,{key:0,"alt-text":e.altText,"as-child":``},{default:P(()=>[W(e_,{ref:N(t),as:e.as,"as-child":e.asChild},{default:P(()=>[R(e.$slots,`default`)]),_:3},8,[`as`,`as-child`])]),_:3},8,[`alt-text`])):K(`v-if`,!0)}}),n_=L({__name:`ToastDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return Y(),(e,n)=>(B(),H(N(Ph),xe(Ts(t)),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),r_=L({__name:`ToastPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(B(),H(N(vg),xe(Ts(t)),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),i_=L({__name:`ToastRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:`foreground`},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i}=Y(),a=nh(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(e,t)=>(B(),H(N(jh),{present:e.forceMount||N(a)},{default:P(()=>[W($g,q({ref:N(i),open:N(a),type:e.type,as:e.as,"as-child":e.asChild,duration:e.duration},e.$attrs,{onClose:t[0]||=e=>a.value=!1,onPause:t[1]||=e=>r(`pause`),onResume:t[2]||=e=>r(`resume`),onEscapeKeyDown:t[3]||=e=>r(`escapeKeyDown`,e),onSwipeStart:t[4]||=e=>{r(`swipeStart`,e),e.defaultPrevented||e.currentTarget.setAttribute(`data-swipe`,`start`)},onSwipeMove:t[5]||=e=>{if(r(`swipeMove`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`move`),r.style.setProperty(`--reka-toast-swipe-move-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-move-y`,`${n}px`)}},onSwipeCancel:t[6]||=e=>{if(r(`swipeCancel`,e),!e.defaultPrevented){let t=e.currentTarget;t.setAttribute(`data-swipe`,`cancel`),t.style.removeProperty(`--reka-toast-swipe-move-x`),t.style.removeProperty(`--reka-toast-swipe-move-y`),t.style.removeProperty(`--reka-toast-swipe-end-x`),t.style.removeProperty(`--reka-toast-swipe-end-y`)}},onSwipeEnd:t[7]||=e=>{if(r(`swipeEnd`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`end`),r.style.removeProperty(`--reka-toast-swipe-move-x`),r.style.removeProperty(`--reka-toast-swipe-move-y`),r.style.setProperty(`--reka-toast-swipe-end-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-end-y`,`${n}px`),a.value=!1}}}),{default:P(({remaining:t,duration:n})=>[R(e.$slots,`default`,{remaining:t,duration:n,open:N(a)})]),_:3},16,[`open`,`type`,`as`,`as-child`,`duration`])]),_:3},8,[`present`]))}}),a_=L({__name:`ToastTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return Y(),(e,n)=>(B(),H(N(Ph),xe(Ts(t)),{default:P(()=>[R(e.$slots,`default`)]),_:3},16))}}),o_=L({__name:`FocusProxy`,emits:[`focusFromOutsideViewport`],setup(e,{emit:t}){let n=t,r=Vg();return(e,t)=>(B(),H(N(wg),{tabindex:`0`,style:{position:`fixed`},onFocus:t[0]||=e=>{let t=e.relatedTarget;N(r).viewport.value?.contains(t)||n(`focusFromOutsideViewport`)}},{default:P(()=>[R(e.$slots,`default`)]),_:3}))}}),s_=L({inheritAttrs:!1,__name:`ToastViewport`,props:{hotkey:{type:Array,required:!1,default:()=>[`F8`]},label:{type:[String,Function],required:!1,default:`Notifications ({hotkey})`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`ol`}},setup(e){let{hotkey:t,label:n}=Sn(e),{forwardRef:r,currentElement:i}=Y(),{CollectionSlot:a,getItems:o}=Cg(),s=Vg(),c=J(()=>s.toastCount.value>0),l=M(),u=M(),d=/Key/g,f=/Digit/g,p=J(()=>t.value.join(`+`).replace(d,``).replace(f,``));$m(t.value,()=>{i.value.focus()}),ea(()=>{s.onViewportChange(i.value)}),Dr(e=>{let t=i.value;if(c.value&&t){let n=()=>{if(!s.isClosePausedRef.value){let e=new CustomEvent(Gg);t.dispatchEvent(e),s.isClosePausedRef.value=!0}},r=()=>{if(s.isClosePausedRef.value){let e=new CustomEvent(Kg);t.dispatchEvent(e),s.isClosePausedRef.value=!1}},i=e=>{t.contains(e.relatedTarget)||r()},a=()=>{t.contains(Gm())||r()},o=e=>{let n=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!n){let n=Gm(),r=e.shiftKey;if(e.target===t&&r){l.value?.focus();return}let i=m({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);$h(i.slice(a+1))?e.preventDefault():r?l.value?.focus():u.value?.focus()}};t.addEventListener(`focusin`,n),t.addEventListener(`focusout`,i),t.addEventListener(`pointermove`,n),t.addEventListener(`pointerleave`,a),t.addEventListener(`keydown`,o),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),e(()=>{t.removeEventListener(`focusin`,n),t.removeEventListener(`focusout`,i),t.removeEventListener(`pointermove`,n),t.removeEventListener(`pointerleave`,a),t.removeEventListener(`keydown`,o),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)})}});function m({tabbingDirection:e}){let t=o().map(e=>e.ref).map(t=>{let n=[t,...tg(t)];return e===`forwards`?n:n.reverse()});return(e===`forwards`?t.reverse():t).flat()}return(e,t)=>(B(),H(N(Kh),{role:`region`,"aria-label":typeof N(n)==`string`?N(n).replace(`{hotkey}`,p.value):N(n)(p.value),tabindex:`-1`,style:ge({pointerEvents:c.value?void 0:`none`})},{default:P(()=>[c.value?(B(),H(o_,{key:0,ref:e=>{e&&(l.value=N(Ym)(e))},onFocusFromOutsideViewport:t[0]||=()=>{let e=m({tabbingDirection:`forwards`});N($h)(e)}},null,512)):K(`v-if`,!0),W(N(a),null,{default:P(()=>[W(N(Ph),q({ref:N(r),tabindex:`-1`,as:e.as,"as-child":e.asChild},e.$attrs),{default:P(()=>[R(e.$slots,`default`)]),_:3},16,[`as`,`as-child`])]),_:3}),c.value?(B(),H(o_,{key:1,ref:e=>{e&&(u.value=N(Ym)(e))},onFocusFromOutsideViewport:t[1]||=()=>{let e=m({tabbingDirection:`backwards`});N($h)(e)}},null,512)):K(`v-if`,!0)]),_:3},8,[`aria-label`,`style`]))}}),[c_,l_]=Wm(`TooltipProvider`),u_=L({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){let{delayDuration:t,skipDelayDuration:n,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:o,content:s}=Sn(e);Y();let c=M(!0),l=M(!1),{start:u,stop:d}=om(()=>{c.value=!0},n,{immediate:!1});return l_({isOpenDelayed:c,delayDuration:t,onOpen(){d(),c.value=!1},onClose(){u()},isPointerInTransitRef:l,disableHoverableContent:r,disableClosingTrigger:i,disabled:o,ignoreNonKeyboardFocus:a,content:s}),(e,t)=>R(e.$slots,`default`)}}),d_=Symbol(`nuxt-ui.portal-target`);function f_(e){let t=F(d_,void 0),n=J(()=>e.value===!0?t?.value:e.value),r=J(()=>typeof n.value==`boolean`&&!n.value),i=J(()=>typeof n.value==`boolean`?`body`:n.value);return J(()=>({to:i.value,disabled:r.value}))}var[p_,m_]=Wm(`UTheme`,`RootContext`),h_={defaults:J(()=>({}))};function g_(e=h_){return p_(e)}function __(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function v_(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function y_(e,t){return!e||!e.props?!1:e.props[__(t)]!==void 0||e.props[v_(t)]!==void 0}function b_(e,t){let n=Ls(),{defaults:r}=g_(),i=pm();return new Proxy(t,{get(t,a,o){if(a===`__v_isReactive`)return!0;if(a===`__v_raw`)return t;let s=Reflect.get(t,a,o);if(typeof a!=`string`)return s;let c=e.includes(`.`)?wm(r.value,e):r.value[e];if(a===`ui`){let e=c?.ui;return!s&&!e?s:_m(s??{},e??{})}if(a===`class`){let e=c?.class;return e===void 0?s:s===void 0?e:[e,s]}if(n&&y_(n.vnode,a))return s;let l=c?.[a];if(l!==void 0)return l;let u=(e.includes(`.`)?wm(i.ui??{},e):i.ui?.[e])?.defaultVariants?.[a];if(u!==void 0)return u;let d=n?.type?.props?.[a];if(d&&Object.prototype.hasOwnProperty.call(d,`default`))return s},has:(e,t)=>Reflect.has(e,t),ownKeys:e=>Reflect.ownKeys(e),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e,t)})}function x_(e,t){let n=t?fh(t):{};return J(()=>{let t=N(e),r={...n};for(let e in t){let n=t[e];n!==void 0&&(r[e]=n)}return r})}var S_=Symbol(`nuxt-ui.toast-max`);function C_(){let e=Nm(`toasts`,()=>[]),t=F(S_,void 0),n=M(!1),r=[],i=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;function a(t,n){e.value[t]={...e.value[t],...n,_duplicate:(e.value[t]._duplicate||0)+1}}async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){await tr();let n=r.shift(),i=t?.value??5;if(i<=0){e.value.length&&(e.value=[]);continue}let o=e.value.findIndex(e=>e.id===n.id);o===-1?e.value=[...e.value,n].slice(-i):a(o,n)}n.value=!1}}function s(t){let n={id:i(),open:!0,...t},s=e.value.findIndex(e=>e.id===n.id);return s===-1?(r.push(n),o(),n):(a(s,n),n)}function c(t,n){let r=e.value.findIndex(e=>e.id===t);r!==-1&&(e.value[r]={...e.value[r],...n,duration:n.duration,open:!0,_updated:!0},tr(()=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated&&(e.value[n]={...e.value[n],_updated:void 0})}))}function l(t){let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated||(n!==-1&&(e.value[n]={...e.value[n],open:!1}),setTimeout(()=>{e.value=e.value.filter(e=>e.id!==t)},200))}function u(){e.value=[]}return{toasts:e,add:s,update:c,remove:l,clear:u}}var w_=Array.isArray,T_=e=>{if(!e&&e!==0&&e!==0n)return``;if(typeof e==`string`)return e;if(typeof e==`number`)return e===e?``+e:``;if(typeof e==`bigint`)return``+e;let t=``;if(w_(e)){let n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!n&&n!==0&&n!==0n)continue;let i=typeof n==`string`?n:T_(n);i&&(t&&(t+=` `),t+=i)}return t}if(typeof e==`object`)for(let n in e)e[n]&&(t&&(t+=` `),t+=n);return t},E_=/\s+/g,D_=Array.isArray,O_=e=>typeof e!=`string`||!e?e:e.replace(E_,` `).trim(),k_=e=>{let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0),r=e.charCodeAt(t-1);if(n===32||r===32||n>=9&&n<=13||n===160||r>=9&&r<=13||r===160)return!0;for(let n=0;n<t;n++){let r=e.charCodeAt(n);if(r>=9&&r<=13||r===160||r===32&&n+1<t&&e.charCodeAt(n+1)===32)return!0}return!1},A_=(...e)=>{let t=T_(e);if(t)return k_(t)?O_(t):t},j_=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,M_=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},N_=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=e,r=t,i=Object.keys(n),a=Object.keys(r);if(i.length!==a.length)return!1;for(let e=0;e<i.length;e++){let t=i[e];if(!a.includes(t)||n[t]!==r[t])return!1}return!0},P_=(e,t)=>{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?A_(n[e],r):r}return e},F_=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];D_(r)?F_(r,t):r&&t.push(r)}},I_=(...e)=>{let t=[];F_(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},L_=(e,t)=>{let n=e,r=t,i={};for(let e in n){let t=n[e];if(e in r){let n=r[e];i[e]=D_(t)||D_(n)?I_(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?L_(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},R_={twMerge:!0,twMergeConfig:{}},z_=256,B_=128,V_=Symbol(`tv-cache-miss`),H_=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,U_=e=>{if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`)return e===0?`0`:String(e);if(typeof e==`bigint`)return String(e);let t=j_(e),n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return String(t);if(n===`object`)try{return JSON.stringify(t)}catch{return null}return null},W_=(e,t)=>{if(t===void 0)return e;if(t===null)return e+`null`;let n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return e+String(t);if(Array.isArray(t))return e+t.join(`\0`);try{return e+JSON.stringify(t)}catch{return e+`?`}},G_=(e,t,n,r)=>{let i=``,a=Object.create(null);for(let r=0;r<e.length;r++){let o=e[r];a[o]=1;let s=t[o];n&&n[o]!==void 0&&(s=n[o]);let c=U_(s);if(c===null)return null;i+=o+`:`+c+`;`}let o=[];for(let e in t)e===`class`||e===`className`||a[e]||(a[e]=1,o.push(e));if(n)for(let e in n)e===`class`||e===`className`||a[e]||n[e]===void 0||(a[e]=1,o.push(e));o.length>1&&o.sort();for(let e=0;e<o.length;e++){let r=o[e],a=t[r];n&&n[r]!==void 0&&(a=n[r]);let s=U_(a);if(s===null)return null;i+=r+`:`+s+`;`}return i},K_=(e,t)=>{let n=``;for(let t=0;t<e.length;t++){let{conditionKeys:r,source:i}=e[t];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=W_(n,i[t]),n+=`,`}n+=`c=`,n=W_(n,i.class),n+=`|cn=`,n=W_(n,i.className),n+=`;`}for(let e=0;e<t.length;e++){let{conditionKeys:r,source:i}=t[e];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=W_(n,i[t]),n+=`,`}Array.isArray(i.slots)&&(n+=`slots=`+i.slots.join(`,`)+`,`),n+=`c=`,n=W_(n,i.class),n+=`|cn=`,n=W_(n,i.className),n+=`;`}return n},q_=(e=z_)=>{let t=new Map,n=null;return{get(e){if(t.has(e))return t.get(e);if(n?.has(e)){let r=n.get(e);return t.set(e,r),r}return V_},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},J_=(e=z_)=>{let t=q_(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},Y_=(e=B_)=>{let t=new Map,n=null,r=0;return{get(e,i){let a=t.get(e);if(a){let e=a.get(i);if(e!==void 0||a.has(i))return e}if(n){let a=n.get(e);if(a){let n=a.get(i);if(n!==void 0||a.has(i)){let a=t.get(e);return a||(a=new Map,t.set(e,a)),a.has(i)||r++,a.set(i,n),n}}}return V_},set(i,a,o){r>=e&&(n=t,t=new Map,r=0);let s=t.get(i);s||(s=new Map,t.set(i,s)),s.has(a)||r++,s.set(a,o)}}},X_=(e,t)=>{let n=null;return(r,i)=>{if(!H_(i))return r;let a=i.class,o=i.className;if(a!=null&&a!==``&&typeof a!=`string`||o!=null&&o!==``&&typeof o!=`string`)return e(t,r,a,o);n??=Y_();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==V_)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function Z_(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var Q_=Z_(),$_=e=>{!M_(e.twMergeConfig)&&!N_(e.twMergeConfig,Q_.cachedTwMergeConfig)&&(Q_.didTwMergeConfigChange=!0,Q_.cachedTwMergeConfig=e.twMergeConfig)},ev=(e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e[i];n.push({key:i,values:a,isEmpty:M_(a)})}return n},tv=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},nv=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`slots`&&e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},rv=e=>{let t={};for(let n=0;n<e.length;n++){let r=e[n],i=r.source.slots;if(Array.isArray(i))for(let e=0;e<i.length;e++){let n=i[e];t[n]||(t[n]=[]),t[n].push(r)}}return t},iv=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...R_,...t},l=e.slots!==void 0,u=n?.base?A_(n.base,e?.base):e?.base,d=n?.variants&&!M_(n.variants)?L_(i,n.variants):i,f=n?.defaultVariants&&!M_(n.defaultVariants)?{...n.defaultVariants,...s}:s;$_(c);let p=!n?.slots||M_(n.slots),m=l?p&&n?.base?A_(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:A_(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:P_({...n?.slots},M_(h)?{base:e?.base}:h),_=!n?.compoundVariants||M_(n.compoundVariants)?a:I_(n?.compoundVariants,a),v=!n?.compoundSlots||M_(n.compoundSlots)?o:I_(n?.compoundSlots,o),y=Object.keys(d);return{config:c,extend:n,base:u,variants:d,defaultVariants:f,slots:g,compoundVariants:_,compoundSlots:v,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:_&&!Array.isArray(_)?TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`):v&&!Array.isArray(v)?TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof v}`):null,mode:l||!p?`slots`:y.length===0?`plain`:`variants`,slotKeys:null,variantKeys:y}},av=e=>(e.compiledVariants===null&&(e.compiledVariants=ev(e.variants,e.variantKeys),e.compiledCompoundVariants=tv(e.compoundVariants),e.compiledCompoundSlots=nv(e.compoundSlots),e.compiledCompoundSlotsBySlot=rv(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[]),e),ov=[],sv=[],cv=[],lv=[],uv=[],dv=(e,t,n)=>{let r={};for(let t in e)r[t]=e[t];if(t)for(let e in t)t[e]!==void 0&&(r[e]=t[e]);if(n)for(let e in n)n[e]!==void 0&&(r[e]=n[e]);return r},fv=e=>e==null||e===!1,pv=(e,t)=>{if(!Array.isArray(e))return e===t||fv(e)&&fv(t);for(let n=0;n<e.length;n++){let r=e[n];if(r===t||fv(r)&&fv(t))return!0}return!1},mv=(e,t,n,r)=>{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=j_(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??j_(o);return e.values[s||`false`]},hv=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e<n.length;e++){let i=n[e];if(!pv(r[i],t[i]))return!1}return!0},gv=(e,t,n)=>{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},_v=(e,t,n)=>{let r=sv;r.length=0;for(let i=0;i<e.length;i++){let a=mv(e[i],t,n);a&&r.push(a)}return r},vv=(e,t,n,r,i)=>{let a=sv;a.length=0;for(let o=0;o<t.length;o++){let s=mv(t[o],n,r,i),c=e===`base`&&typeof s==`string`?s:s&&s[e];c&&a.push(c)}return a},yv=(e,t)=>{let n=cv;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];hv(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},bv=(e,t,n)=>{let r=lv;r.length=0;for(let i=0;i<t.length;i++){let a=t[i];hv(a,n)&&(gv(r,e,a.source.class),gv(r,e,a.source.className))}return r},xv=(e,t)=>{let n=uv;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];hv(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},Sv=(e,t)=>{let{base:n,config:r}=e,i=V_,a=X_(t,r);return(e=>(i===V_&&(i=t(r,n)),a(i,e)))},Cv=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=ov,u=null,d=X_(t,r),f=1,p=e=>{let a=s.length>0?yv(s,dv(i,e)):void 0;return t(r,n,_v(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(av(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??ov);let n;if(f>0)f--,n=p(t);else{u??=J_();let e=G_(o,i,t);if(e!==null){let r=s.length>0||l.length>0?K_(s,l):``,i=e+`#`+r,a=u.get(i);a===V_?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},wv=(e,t)=>{let{config:n,defaultVariants:r,deferredError:i,slots:a,variantKeys:o}=e,s=null,c=null,l=null,u=null,d=!1,f=null,p=null,m=1,h=()=>{if(l!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&av(e);let i=e.compiledVariants;s=e.compiledCompoundVariants,c=e.compiledCompoundSlots;let o=e.compiledCompoundSlotsBySlot;l=e.slotKeys,d=s.length>0||c.length>0,f=X_(t,n);let p=Array(l.length);for(let e=0;e<l.length;e++){let c=l[e],u=o[c]??ov;p[e]=(e,o)=>{let l=d?dv(r,e,o):void 0,f=l?bv(c,s,l):void 0,p=l?xv(u,l):void 0;return t(n,a[c],vv(c,i,r,e,o),f,p)}}u=p},g=e=>{let t=l,n=u,r=f,i={};for(let a=0;a<t.length;a++){let o=n[a],s=o(e);i[t[a]]=t=>{if(t==null)return s;let n=!1;for(let e in t)if(e!==`class`&&e!==`className`&&t[e]!==void 0){n=!0;break}return r(n?o(e,t):s,t)}}return i};return(e=>{if(i)throw i;if(h(),m>0)return m--,g(e);let t=G_(o,r,e);if(t===null)return g(e);let n=d?K_(s,c):``,a=t+`#`+n;p??=q_();let l=p.get(a);if(l!==V_)return l;let u=g(e);return p.set(a,u),u})},Tv=(e,t)=>{if(e.mode===`plain`)return Sv(e,t);let n;return(r=>(n??=e.mode===`slots`?wv(e,t):Cv(e,t),n(r)))},Ev=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},Dv=e=>{let t=(t,n)=>{let r=iv(t,n),i=Tv(r,e);return Ev(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?L_(e,r):e)}},Ov=(e,t)=>{let n=e.length,r=t.length,i=Array(n+r);for(let t=0;t<n;t++)i[t]=e[t];for(let e=0;e<r;e++)i[n+e]=t[e];return i},kv=(e,t)=>({classGroupId:e,validator:t}),Av=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),jv=`-`,Mv=[],Nv=`arbitrary..`,Pv=e=>{let t=Lv(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return Iv(e);let n=e.split(jv);return Fv(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Ov(i,t):t:i||Mv}return n[e]||Mv}}},Fv=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Fv(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(jv):e.slice(t).join(jv),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Iv=e=>{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?Nv+r:void 0},Lv=e=>{let{theme:t,classGroups:n}=e;return Rv(n,t)},Rv=(e,t)=>{let n=Av();for(let r in e){let i=e[r];zv(i,n,r,t)}return n},zv=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Bv(i,t,n,r)}},Bv=(e,t,n,r)=>{typeof e==`string`?Vv(e,t,n):typeof e==`function`?Hv(e,t,n,r):Uv(e,t,n,r)},Vv=(e,t,n)=>{let r=e===``?t:Wv(t,e);r.classGroupId=n},Hv=(e,t,n,r)=>{Gv(e)?zv(e(r),t,n,r):(t.validators===null&&(t.validators=[]),t.validators.push(kv(n,e)))},Uv=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];zv(o,Wv(t,a),n,r)}},Wv=(e,t)=>{let n=e,r=t.split(jv),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Av(),n.nextPart.set(t,i)),n=i}return n},Gv=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Kv=`!`,qv=58,Jv=47,Yv=91,Xv=93,Zv=40,Qv=41,$v=33,ey=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),ty=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e.charCodeAt(s);if(n===0&&r===0){if(o===qv){t.push(e.slice(i,s)),i=s+1;continue}if(o===Jv){a=s;continue}}o===Yv?n++:o===Xv?n--:o===Zv?r++:o===Qv&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1,u=s.length-1;s.charCodeAt(u)===$v?(c=s.slice(0,-1),l=!0):s.charCodeAt(0)===$v&&(c=s.slice(1),l=!0);let d=a&&a>i?a-i:void 0;return ey(t,l,c,d)},ny=e=>{let t=new Set(e.orderSensitiveModifiers);return e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);if(o||s){if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e]);r=[]}n.push(a)}else r.push(a)}if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e])}return n}},ry={isExternal:!0,classId:-1,conflictIds:[]},iy=4096,ay=16384,oy=e=>{let t=ny(e),n=sy(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=Pv(e),a=Object.create(null),o=Object.create(null),s=0,c=new Int32Array(256),l=0,u=new Uint8Array(64),d=!1,f=e=>{let t=[],n=e.length,r=-1;d=!1;for(let i=0;i<n;i++){let n=e.charCodeAt(i);n===32?r!==-1&&(t.push(e.slice(r,i)),r=-1):n>=9&&n<=13?(d=!0,r!==-1&&(t.push(e.slice(r,i)),r=-1)):r===-1&&(r=i)}return r!==-1&&t.push(e.slice(r)),t},p=new Map,m=0,h=e=>{let t=p.get(e);if(t===void 0&&(t=m++,p.set(e,t),t>=c.length)){let e=new Int32Array(c.length*2);e.set(c),c=e}return t},g=e=>{let{isExternal:a,modifiers:o,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:l}=ty(e);if(a)return ry;let u=!!l,d;if(u){let e=c.substring(0,l);d=r(e);let t=d&&n[d]?r(c):void 0;t&&t!==d&&(d=t,u=!1)}else d=r(c);if(!d){if(!u||(d=r(c),!d))return ry;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+Kv:f,m=i(d,u),g=[];for(let e=0;e<m.length;e++)g.push(h(p+m[e]));return{isExternal:!1,classId:h(p+d),conflictIds:g}},_=e=>{let t=a[e];return t===void 0&&(t=o[e],t===void 0&&(t=g(e)),a[e]=t,++s>iy&&(s=0,o=a,a=Object.create(null))),t};return{parseClassName:ty,sortModifiers:t,postfixLookupClassGroupIds:n,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:_,mergeClassList:e=>{let t=f(e),n=t.length;if(n===1)return t[0];m>ay&&(p.clear(),m=0,a=Object.create(null),o=Object.create(null),s=0),l=l+1|0,l===0&&(l=1);let r=l;if(n>u.length){let e=u.length;for(;e<n;)e*=2;u=new Uint8Array(e)}let i=!1,h=0;for(let e=n-1;e>=0;--e){let n=t[e];h+=n.length;let a=_(n);if(a.isExternal){u[e]=1;continue}let o=a.classId;if(c[o]===r){u[e]=0,i=!0;continue}c[o]=r;let s=a.conflictIds;for(let e=0;e<s.length;e++)c[s[e]]=r;u[e]=1}if(!i&&!d&&e.length===h+n-1)return e;let g=``;for(let e=0;e<n;e++)u[e]===1&&(g&&(g+=` `),g+=t[e]);return g}}},sy=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},cy=500,ly=e=>{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=oy(e()),n=t.mergeClassList,c.mergeString=s,s(r)),s=e=>{let t=r[e];return t===void 0&&(t=i[e],t===void 0&&(t=n(e)),r[e]=t,++a>cy&&(a=0,i=r,r=Object.create(null))),t},c=(...e)=>c.mergeString(T_(e));return c.mergeString=o,c},uy=[],dy=e=>{let t=t=>t[e]||uy;return t.isThemeGetter=!0,t},fy=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,py=/^\((?:(\w[\w-]*):)?(.+)\)$/i,my=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,hy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,by=Number,xy=Number.isNaN,Sy=Number.isInteger,Cy=e=>my.test(e),X=e=>!!e&&!xy(by(e)),wy=e=>!!e&&Sy(by(e)),Ty=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),Ey=e=>hy.test(e),Dy=()=>!0,Oy=e=>gy.test(e)&&!_y.test(e),ky=()=>!1,Ay=e=>vy.test(e),jy=e=>yy.test(e),My=e=>!Z(e)&&!Q(e),Ny=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),Py=e=>Yy(e,$y,ky),Z=e=>fy.test(e),Fy=e=>Yy(e,eb,Oy),Iy=e=>Yy(e,tb,X),Ly=e=>Yy(e,rb,Dy),Ry=e=>Yy(e,nb,ky),zy=e=>Yy(e,Zy,ky),By=e=>Yy(e,Qy,jy),Vy=e=>Yy(e,ib,Ay),Q=e=>py.test(e),Hy=e=>Xy(e,eb),Uy=e=>Xy(e,nb),Wy=e=>Xy(e,Zy),Gy=e=>Xy(e,$y),Ky=e=>Xy(e,Qy),qy=e=>Xy(e,ib,!0),Jy=e=>Xy(e,rb,!0),Yy=(e,t,n)=>{let r=fy.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Xy=(e,t,n=!1)=>{let r=py.exec(e);return r?r[1]?t(r[1]):n:!1},Zy=e=>e===`position`||e===`percentage`,Qy=e=>e===`image`||e===`url`,$y=e=>e===`length`||e===`size`||e===`bg-size`,eb=e=>e===`length`,tb=e=>e===`number`,nb=e=>e===`family-name`,rb=e=>e===`number`||e===`weight`,ib=e=>e===`shadow`,ab=()=>{let e=dy(`color`),t=dy(`font`),n=dy(`text`),r=dy(`font-weight`),i=dy(`tracking`),a=dy(`leading`),o=dy(`breakpoint`),s=dy(`container`),c=dy(`spacing`),l=dy(`radius`),u=dy(`shadow`),d=dy(`inset-shadow`),f=dy(`text-shadow`),p=dy(`drop-shadow`),m=dy(`blur`),h=dy(`perspective`),g=dy(`aspect`),_=dy(`ease`),v=dy(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],ee=()=>[Cy,`full`,`auto`,...w()],te=()=>[wy,`none`,`subgrid`,Q,Z],T=()=>[`auto`,{span:[`full`,wy,Q,Z]},wy,Q,Z],ne=()=>[wy,`auto`,Q,Z],re=()=>[`auto`,`min`,`max`,`fr`,Q,Z],ie=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],E=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ae=()=>[`auto`,...w()],oe=()=>[Cy,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],se=()=>[Cy,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],ce=()=>[Cy,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],D=()=>[e,Q,Z],le=()=>[...b(),Wy,zy,{position:[Q,Z]}],ue=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],de=()=>[`auto`,`cover`,`contain`,Gy,Py,{size:[Q,Z]}],fe=()=>[Ty,Hy,Fy],pe=()=>[``,`none`,`full`,l,Q,Z],me=()=>[``,X,Hy,Fy],he=()=>[`solid`,`dashed`,`dotted`,`double`],ge=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],_e=()=>[X,Ty,Wy,zy],ve=()=>[``,`none`,m,Q,Z],ye=()=>[`none`,X,Q,Z],be=()=>[`none`,X,Q,Z],O=()=>[X,Q,Z],xe=()=>[Cy,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ey],breakpoint:[Ey],color:[Dy],container:[Ey],"drop-shadow":[Ey],ease:[`in`,`out`,`in-out`],font:[My],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ey],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ey],shadow:[Ey],spacing:[`px`,X],text:[Ey],"text-shadow":[Ey],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Cy,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[Ny],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{"inset-s":ee(),start:ee()}],end:[{"inset-e":ee(),end:ee()}],"inset-bs":[{"inset-bs":ee()}],"inset-be":[{"inset-be":ee()}],top:[{top:ee()}],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[wy,`auto`,Q,Z]}],basis:[{basis:[Cy,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,Cy,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[wy,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":te()}],"col-start-end":[{col:T()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":te()}],"row-start-end":[{row:T()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...ie(),`normal`]}],"justify-items":[{"justify-items":[...E(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...E()]}],"align-content":[{content:[`normal`,...ie()]}],"align-items":[{items:[...E(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...E(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...E(),`baseline`]}],"place-self":[{"place-self":[`auto`,...E()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ae()}],mx:[{mx:ae()}],my:[{my:ae()}],ms:[{ms:ae()}],me:[{me:ae()}],mbs:[{mbs:ae()}],mbe:[{mbe:ae()}],mt:[{mt:ae()}],mr:[{mr:ae()}],mb:[{mb:ae()}],ml:[{ml:ae()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:oe()}],"inline-size":[{inline:[`auto`,...se()]}],"min-inline-size":[{"min-inline":[`auto`,...se()]}],"max-inline-size":[{"max-inline":[`none`,...se()]}],"block-size":[{block:[`auto`,...ce()]}],"min-block-size":[{"min-block":[`auto`,...ce()]}],"max-block-size":[{"max-block":[`none`,...ce()]}],w:[{w:[s,`screen`,...oe()]}],"min-w":[{"min-w":[s,`screen`,`none`,...oe()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...oe()]}],h:[{h:[`screen`,`lh`,...oe()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...oe()]}],"max-h":[{"max-h":[`screen`,`lh`,...oe()]}],"font-size":[{text:[`base`,n,Hy,Fy]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Jy,Ly]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ty,Z]}],"font-family":[{font:[Uy,Ry,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,Iy]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...he(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,Fy]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[wy,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:ue()}],"bg-size":[{bg:de()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},wy,Q,Z],radial:[``,Q,Z],conic:[wy,Q,Z]},Ky,By]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:pe()}],"rounded-s":[{"rounded-s":pe()}],"rounded-e":[{"rounded-e":pe()}],"rounded-t":[{"rounded-t":pe()}],"rounded-r":[{"rounded-r":pe()}],"rounded-b":[{"rounded-b":pe()}],"rounded-l":[{"rounded-l":pe()}],"rounded-ss":[{"rounded-ss":pe()}],"rounded-se":[{"rounded-se":pe()}],"rounded-ee":[{"rounded-ee":pe()}],"rounded-es":[{"rounded-es":pe()}],"rounded-tl":[{"rounded-tl":pe()}],"rounded-tr":[{"rounded-tr":pe()}],"rounded-br":[{"rounded-br":pe()}],"rounded-bl":[{"rounded-bl":pe()}],"border-w":[{border:me()}],"border-w-x":[{"border-x":me()}],"border-w-y":[{"border-y":me()}],"border-w-s":[{"border-s":me()}],"border-w-e":[{"border-e":me()}],"border-w-bs":[{"border-bs":me()}],"border-w-be":[{"border-be":me()}],"border-w-t":[{"border-t":me()}],"border-w-r":[{"border-r":me()}],"border-w-b":[{"border-b":me()}],"border-w-l":[{"border-l":me()}],"divide-x":[{"divide-x":me()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":me()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...he(),`hidden`,`none`]}],"divide-style":[{divide:[...he(),`hidden`,`none`]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...he(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,Hy,Fy]}],"outline-color":[{outline:D()}],shadow:[{shadow:[``,`none`,u,qy,Vy]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":[`none`,d,qy,Vy]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:me()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[X,Fy]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":me()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":[`none`,f,qy,Vy]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...ge(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ge()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":_e()}],"mask-image-linear-to-pos":[{"mask-linear-to":_e()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":_e()}],"mask-image-t-to-pos":[{"mask-t-to":_e()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":_e()}],"mask-image-r-to-pos":[{"mask-r-to":_e()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":_e()}],"mask-image-b-to-pos":[{"mask-b-to":_e()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":_e()}],"mask-image-l-to-pos":[{"mask-l-to":_e()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":_e()}],"mask-image-x-to-pos":[{"mask-x-to":_e()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":_e()}],"mask-image-y-to-pos":[{"mask-y-to":_e()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":_e()}],"mask-image-radial-to-pos":[{"mask-radial-to":_e()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":_e()}],"mask-image-conic-to-pos":[{"mask-conic-to":_e()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:ue()}],"mask-size":[{mask:de()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:ve()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,qy,Vy]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":ve()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:be()}],"scale-x":[{"scale-x":be()}],"scale-y":[{"scale-y":be()}],"scale-z":[{"scale-z":be()}],"scale-3d":[`scale-3d`],skew:[{skew:O()}],"skew-x":[{"skew-x":O()}],"skew-y":[{"skew-y":O()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:xe()}],"translate-x":[{"translate-x":xe()}],"translate-y":[{"translate-y":xe()}],"translate-z":[{"translate-z":xe()}],"translate-none":[`translate-none`],zoom:[{zoom:[wy,Q,Z]}],accent:[{accent:D()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":D()}],"scrollbar-track-color":[{"scrollbar-track":D()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Q,Z]}],fill:[{fill:[`none`,...D()]}],"stroke-w":[{stroke:[X,Hy,Fy,Iy]}],stroke:[{stroke:[`none`,...D()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},ob=(e,{extend:t={},override:n={}})=>(cb(e.theme,n.theme),cb(e.classGroups,n.classGroups),cb(e.conflictingClassGroups,n.conflictingClassGroups),cb(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),sb(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),sb(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),lb(e.theme,t.theme),lb(e.classGroups,t.classGroups),lb(e.conflictingClassGroups,t.conflictingClassGroups),lb(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),ub(e,t,`postfixLookupClassGroups`),ub(e,t,`orderSensitiveModifiers`),e),sb=(e,t,n)=>{n!==void 0&&(e[t]=n)},cb=(e,t)=>{if(t)for(let n in t)sb(e,n,t[n])},lb=(e,t)=>{if(t)for(let n in t)ub(e,t,n)},ub=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},db=e=>ly(e?typeof e==`function`?()=>e(ab()):()=>ob(ab(),e):ab),fb=e=>{if(M_(e))return;let t=e,n={...t.extend??{}};for(let e of[`theme`,`classGroups`,`conflictingClassGroups`,`conflictingClassGroupModifiers`,`postfixLookupClassGroups`,`orderSensitiveModifiers`,`cacheSize`,`prefix`,`separator`,`experimentalParseClassName`])t[e]!==void 0&&n[e]===void 0&&(n[e]=t[e]);let r={};if(Object.keys(n).length>0&&(r.extend=n),t.override!=null&&!M_(t.override)&&(r.override=t.override),r.extend||r.override)return r},pb=e=>{let t=db(fb(e));return e=>t.mergeString(e)},mb,hb=()=>(mb||=db(),mb),gb=()=>((!Q_.cachedTwMerge||Q_.didTwMergeConfigChange)&&(Q_.didTwMergeConfigChange=!1,Q_.cachedTwMerge=pb(Q_.cachedTwMergeConfig)),Q_.cachedTwMerge),_b=e=>{let t=e?.twMergeConfig;t&&!M_(t)&&(N_(t,Q_.cachedTwMergeConfig)||(Q_.cachedTwMergeConfig=t,Q_.didTwMergeConfigChange=!0))},vb=e=>T_(e),yb=(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})(),bb=64,xb=500,Sb=new Map,Cb=new Map,wb=0,Tb=()=>{Sb=new Map,Cb=new Map,wb=0},Eb=e=>{if(e)return e.indexOf(` `)===-1?e:hb().mergeString(e)||void 0},Db=(e,t,n)=>{let r=Sb.get(e);r===void 0&&(r=[],Sb.set(e,r)),r.length>=bb&&r.shift(),r.push({rest:t,result:n}),++wb>xb&&(wb=0,Cb=Sb,Sb=new Map)},Ob=(e,t,n,r,i)=>{let a=Sb.get(e);if(a===void 0&&(a=Cb.get(e)),a!==void 0)for(let e=0;e<a.length;e++){let o=a[e],s=o.rest;if(s.length!==n-1)continue;let c=0,l=!0;for(let e=t+1;e<r;e++){let t=i(e);if(t&&t!==s[c++]){l=!1;break}}if(l)return o.result}},kb=e=>{let t=e.length,n=``,r=-1,i=0,a=!0;for(let o=0;o<t;o++){let t=e[o];if(t){if(typeof t!=`string`){a=!1;break}r===-1&&(n=t,r=o),i++}}if(!a)return Eb(vb(e));if(i===0)return;if(i===1)return Eb(n);let o=Ob(n,r,i,t,t=>e[t]);if(o!==void 0)return o||void 0;let s=n,c=[];for(let n=r+1;n<t;n++){let t=e[n];t&&(s+=` `+t,c.push(t))}let l=Eb(s)??``;return Db(n,c,l),l||void 0},Ab=Q_.reset.bind(Q_);Q_.reset=()=>{mb=void 0,Tb(),Ab()};var jb=(e,t)=>{let n=vb(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(_b(t),(t?.twMergeConfig&&!M_(t.twMergeConfig)?gb():hb().mergeString)(n)||void 0)},Mb=e=>e==null||!(e.twMerge===!1||e.twMergeConfig&&!M_(e.twMergeConfig)),Nb=(e,...t)=>jb(t,e),Pb=(...e)=>t=>Mb(t)?yb?kb(e):Eb(vb(e)):jb(e,t),Fb=Dv(Nb);Fb.tv;var Ib=Fb.createTV,Lb=dm.ui?.tv,Rb=Ib(Lb);function zb(e){if(typeof e==`function`)return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){let n=zb(e[t]);if(n)return n}}function Bb(e){return Array.isArray(e)?e.flatMap(e=>Bb(e)):typeof e==`function`?[]:[e]}function Vb(e,t,n){return Pb(e(n()),...Bb(t.class),...Bb(t.className))(Lb)??``}function Hb(e,t=0){if(e==null)return!0;let n=typeof e;if(n===`string`||n===`boolean`)return!0;if(n===`number`)return Number.isFinite(e);if(Array.isArray(e)){if(t>=4)return!1;for(let n of e)if(!Hb(n,t+1))return!1;return!0}return!1}function Ub(e){let t=Object.getPrototypeOf(e);if(t===Object.prototype||t===null){for(let t of Object.keys(e))if(!Hb(e[t]))return;return JSON.stringify(e)}}function Wb(e){let t=new Map;return new Proxy(e,{get(e,n){let r=e[n];return typeof r==`function`?(e={})=>{let i=zb(e.class)??zb(e.className);if(!i){let i=Ub(e);if(i===void 0)return r(e);let a=t.get(n);a||(a=new Map,t.set(n,a));let o=a.get(i);return o===void 0&&!a.has(i)&&(a.size>=500&&a.clear(),o=r(e),a.set(i,o)),o}return Vb(i,e,()=>r({...e,class:void 0,className:void 0}))}:r}})}function Gb(e){return Pb(e)(Lb)??``}function Kb(e){if(!e||typeof e!=`object`)return e;let t=e.slots,n=t&&typeof t==`object`?Object.entries(t).filter(e=>typeof e[1]==`function`):[],r=typeof e.base==`function`?e.base:void 0;if(!n.length&&!r)return e;let i=e.extend,a={...e},o,s=!1;if(r&&(a.base=r(Gb(i?.slots?.base??i?.base)),i?.slots?.base&&(o??={...i.slots},o.base=``),i?.base&&(s=!0)),n.length){let e={...t};for(let[t,r]of n)e[t]=r(Gb(i?.slots?.[t])),i?.slots?.[t]&&(o??={...i.slots},o[t]=``);a.slots=e}if(o||s){let e={...i};o&&(e.slots=o),s&&(e.base=``),a.extend=e}return a}var qb=(e=>{let t=Rb(Kb(e));return new Proxy(t,{apply(e,t,n){let r=Reflect.apply(e,t,n);if(r&&typeof r==`object`)return Wb(r);if(typeof r==`string`){let r=n[0]??{},i=zb(r.class)??zb(r.className);if(i)return Vb(i,r,()=>Reflect.apply(e,t,[{...r,class:void 0,className:void 0}]))}return r}})}),Jb={__name:`Icon`,props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){let t=e,n=pm();function r(e,t){if(e!==!1)return e===!0||e===null?t:e}let i=J(()=>{let e=t.mode||n.icon?.mode;return e===`css`?`style`:e}),a=J(()=>t.size||n.icon?.size),o=J(()=>r(t.customize,n.icon?.customize)),s=J(()=>typeof t.name==`string`?t.name.replace(/^i-/,``):``),c=J(()=>nd(s.value));return(t,n)=>typeof e.name==`string`?(B(),H(N(vf),{key:0,icon:s.value,mode:i.value,width:a.value,height:a.value,customise:o.value,ssr:c.value},null,8,[`icon`,`mode`,`width`,`height`,`customise`,`ssr`])):(B(),H(pa(e.name),{key:1}))}},Yb=Symbol(`nuxt-ui.avatar-group`);function Xb(e){let t=F(Yb,void 0),n=J(()=>e.size??t?.value.size),r=J(()=>e.color??t?.value.color);return Cr(Yb,J(()=>({size:n.value,color:r.value}))),{size:n,color:r}}var Zb={slots:{root:`relative inline-flex items-center justify-center shrink-0`,base:`rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap`},variants:{color:{primary:`bg-primary`,secondary:`bg-secondary`,success:`bg-success`,info:`bg-info`,warning:`bg-warning`,error:`bg-error`,neutral:`bg-inverted`},size:{"3xs":`h-[4px] min-w-[4px] text-[4px]`,"2xs":`h-[5px] min-w-[5px] text-[5px]`,xs:`h-[6px] min-w-[6px] text-[6px]`,sm:`h-[7px] min-w-[7px] text-[7px]`,md:`h-[8px] min-w-[8px] text-[8px]`,lg:`h-[9px] min-w-[9px] text-[9px]`,xl:`h-[10px] min-w-[10px] text-[10px]`,"2xl":`h-[11px] min-w-[11px] text-[11px]`,"3xl":`h-[12px] min-w-[12px] text-[12px]`},position:{"top-right":`top-0 right-0`,"bottom-right":`bottom-0 right-0`,"top-left":`top-0 left-0`,"bottom-left":`bottom-0 left-0`},inset:{false:``},standalone:{false:`absolute`}},compoundVariants:[{position:`top-right`,inset:!1,class:`-translate-y-1/2 translate-x-1/2 transform`},{position:`bottom-right`,inset:!1,class:`translate-y-1/2 translate-x-1/2 transform`},{position:`top-left`,inset:!1,class:`-translate-y-1/2 -translate-x-1/2 transform`},{position:`bottom-left`,inset:!1,class:`translate-y-1/2 -translate-x-1/2 transform`}],defaultVariants:{size:`md`,color:`primary`,position:`top-right`}},Qb=Object.assign({inheritAttrs:!1},{__name:`Chip`,props:Ra({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:[`update:show`],setup(e){let t=e,n=b_(`chip`,t),r=oo(e,`show`,{type:Boolean,default:!0}),{size:i}=Xb(t),a=pm(),o=J(()=>qb({extend:Zb,...a.ui?.chip||{}})({color:n.color,size:i.value??n.size,position:n.position,inset:n.inset,standalone:n.standalone}));return(e,t)=>(B(),H(N(Ph),{as:N(n).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:O(o.value.root({class:[N(n).ui?.root,N(n).class]}))},{default:P(()=>[W(N(Mh),xe(Ts({...e.$attrs,"data-slot":void 0})),{default:P(()=>[R(e.$slots,`default`)]),_:3},16),r.value?(B(),V(`span`,{key:0,"data-slot":`base`,class:O(o.value.base({class:N(n).ui?.base}))},[R(e.$slots,`content`,{},()=>[G(k(N(n).text),1)])],2)):K(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),$b={slots:{root:`inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle`,image:`h-full w-full rounded-[inherit] object-cover`,fallback:`font-medium truncate`,icon:`shrink-0`},variants:{color:{primary:{root:`bg-primary/10`,fallback:`text-primary`,icon:`text-primary`},secondary:{root:`bg-secondary/10`,fallback:`text-secondary`,icon:`text-secondary`},success:{root:`bg-success/10`,fallback:`text-success`,icon:`text-success`},info:{root:`bg-info/10`,fallback:`text-info`,icon:`text-info`},warning:{root:`bg-warning/10`,fallback:`text-warning`,icon:`text-warning`},error:{root:`bg-error/10`,fallback:`text-error`,icon:`text-error`},neutral:{root:`bg-elevated`,fallback:`text-muted`,icon:`text-muted`}},size:{"3xs":{root:`size-4 text-[8px]`},"2xs":{root:`size-5 text-[10px]`},xs:{root:`size-6 text-xs`},sm:{root:`size-7 text-sm`},md:{root:`size-8 text-base`},lg:{root:`size-9 text-lg`},xl:{root:`size-10 text-xl`},"2xl":{root:`size-11 text-[22px]`},"3xl":{root:`size-12 text-2xl`}}},defaultVariants:{size:`md`,color:`neutral`}},ex=Object.assign({inheritAttrs:!1},{__name:`Avatar`,props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let t=e,n=b_(`avatar`,t),r=J(()=>typeof n.as==`string`||typeof n.as?.render==`function`?{root:n.as}:_m(n.as,{root:`span`})),i=J(()=>n.text||(n.alt||``).split(` `).map(e=>e.charAt(0)).join(``).substring(0,2)),a=pm(),{size:o,color:s}=Xb(t),c=J(()=>qb({extend:$b,...a.ui?.avatar||{}})({size:o.value??n.size,color:s.value??n.color})),l=J(()=>c.value.root({class:[n.ui?.root,n.class]})),u=J(()=>{let e=(l.value||``).split(` `).find(e=>/^size-\d+$/.test(e));if(e){let t=Number.parseFloat(e.split(`-`)[1]??``);if(!Number.isNaN(t))return t*4}return null}),d=M(!1);I(()=>n.src,()=>{d.value&&=!1});function f(){d.value=!0}return(e,t)=>(B(),H(pa(N(n).chip?Qb:N(Ph)),q({as:r.value.root},N(n).chip?typeof N(n).chip==`object`?{inset:!0,...N(n).chip}:{inset:!0}:{},{"data-slot":e.$attrs[`data-slot`]??`root`,class:l.value,style:N(n).style}),{default:P(()=>[N(n).src&&!d.value?(B(),H(pa(r.value.img||N(`img`)),q({key:0,src:N(n).src,alt:N(n).alt,width:u.value,height:u.value},e.$attrs,{"data-slot":`image`,class:c.value.image({class:N(n).ui?.image}),onError:f}),null,16,[`src`,`alt`,`width`,`height`,`class`])):(B(),H(N(Mh),xe(q({key:1},{...e.$attrs,"data-slot":void 0})),{default:P(()=>[R(e.$slots,`default`,{},()=>[N(n).icon?(B(),H(Jb,{key:0,name:N(n).icon,"data-slot":`icon`,class:O(c.value.icon({class:N(n).ui?.icon}))},null,8,[`name`,`class`])):(B(),V(`span`,{key:1,"data-slot":`fallback`,class:O(c.value.fallback({class:N(n).ui?.fallback}))},k(i.value||`\xA0`),3))])]),_:3},16))]),_:3},16,[`as`,`data-slot`,`class`,`style`]))}});function tx(e){let t=pm(),n=J(()=>_n(e)),r=J(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon);return{isLeading:r,isTrailing:J(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),leadingIconName:J(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),trailingIconName:J(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon)}}var nx=Symbol(`nuxt-ui.field-group`);function rx(e){let t=F(nx,void 0);return{orientation:J(()=>t?.value.orientation),size:J(()=>e?.size??t?.value.size)}}var ix=L({name:`FieldGroupReset`,setup(e,{slots:t}){return Cr(nx,J(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}}),ax=Symbol(`nuxt-ui.form-options`),ox=Symbol(`nuxt-ui.form-events`),sx=Symbol(`nuxt-ui.form-field`),cx=Symbol(`nuxt-ui.input-id`),lx=Symbol(`nuxt-ui.form-loading`);function ux(e,t){let n=F(ax,void 0),r=F(ox,void 0),i=F(sx,void 0),a=F(cx,void 0);Cr(sx,void 0),i&&a&&(t?.bind===!1?a.value=void 0:e?.id&&(a.value=e?.id));function o(e,t,n){r&&i&&t&&r.emit({type:e,name:t,...n})}function s(){o(`blur`,i?.value.name)}function c(){o(`focus`,i?.value.name)}function l(){o(`change`,i?.value.name)}let u=!1;Le()&&Re(()=>{u=!0});let d=im(()=>{u||o(`input`,i?.value.name,{eager:!t?.deferInputValidation||i?.value.eagerValidation,track:!1})},i?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);function f(){return o(`input`,i?.value.name,{validate:!1}),d()}return{id:J(()=>e?.id??a?.value),name:J(()=>e?.name??i?.value.name),size:J(()=>e?.size??i?.value.size),color:J(()=>i?.value.error?`error`:e?.color),highlight:J(()=>i?.value.error?!0:e?.highlight||void 0),disabled:J(()=>n?.value.disabled||e?.disabled||void 0),emitFormBlur:s,emitFormInput:f,emitFormChange:l,emitFormFocus:c,ariaAttrs:J(()=>{if(!i?.value)return;let e=[`error`,`hint`,`description`,`help`].filter(e=>i?.value?.[e]).map(e=>`${i?.value.ariaId}-${e}`)||[],t={"aria-invalid":!!i?.value.error};return e.length>0&&(t[`aria-describedby`]=e.join(` `)),t})}}var dx=`active.activeClass.ariaCurrentValue.as.disabled.download.exact.exactActiveClass.exactHash.exactQuery.external.form.formaction.formenctype.formmethod.formnovalidate.formtarget.href.hreflang.inactiveClass.locale.media.noPrefetch.noRel.onClick.ping.prefetch.prefetchOn.prefetchedClass.referrerpolicy.rel.replace.target.title.to.trailingSlash.type.viewTransition`.split(`.`);function fx(e){let t=Object.keys(e),n=t.filter(e=>e.startsWith(`aria-`)),r=t.filter(e=>e.startsWith(`data-`));return rm(e,...dx,...n,...r)}var px={__name:`LinkBase`,props:{as:{type:String,required:!1,default:`button`},type:{type:String,required:!1,default:`button`},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:[String,null],required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){let t=e;function n(e){if(t.disabled){e.stopPropagation(),e.preventDefault();return}let n=[];if(t.onClick)for(let r of Array.isArray(t.onClick)?t.onClick:[t.onClick])n.push(r(e));return t.href&&t.navigate&&!t.isExternal&&t.navigate(e),Promise.all(n)}return(t,r)=>(B(),H(N(Ph),q(e.href?{as:`a`,href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?`true`:void 0,role:e.disabled?`link`:void 0,tabindex:e.disabled?-1:void 0}:e.as===`button`?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:P(()=>[R(t.$slots,`default`)]),_:3},16,[`rel`,`target`]))}},mx={base:`outline-primary/25 focus-visible:outline-3 rounded-md`,variants:{active:{true:`text-primary`,false:`text-muted`},disabled:{true:`cursor-not-allowed opacity-75`}},compoundVariants:[{active:!1,disabled:!1,class:[`hover:text-default`,`transition-colors`]}]},hx=Object.assign({inheritAttrs:!1},{__name:`Link`,props:{as:{type:null,required:!1,default:`button`},type:{type:null,required:!1,default:`button`},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},activeClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:`page`},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:String,required:!1},href:{type:String,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1}},setup(e){let t=e,n=pm(),r=J(()=>qb({extend:mx,..._m({variants:{active:{true:Tm(n.ui?.link?.variants?.active?.true,t.activeClass),false:Tm(n.ui?.link?.variants?.active?.false,t.inactiveClass)}}},n.ui?.link||{})})),i=J(()=>t.to??t.href),a=J(()=>t.target===`_blank`||t.external?!0:i.value?Sm(i.value,{acceptRelative:!0}):!1),o=J(()=>!!t.target&&t.target!==`_self`),s=J(()=>t.active!==void 0&&t.active),c=J(()=>{let e=s.value;return t.raw?[t.class,e?t.activeClass:t.inactiveClass]:r.value({class:t.class,active:e,disabled:t.disabled})}),l=J(()=>t.noRel?null:t.rel===void 0?a.value||o.value?`noopener noreferrer`:null:t.rel||null),u=F(`nuxtui:router`,void 0),d=u?e=>{u(e,{href:i.value||``,external:a.value,target:t.target||(a.value?`_blank`:void 0)})}:void 0;return(t,n)=>e.custom?(B(),H(N(Mh),{key:0},{default:P(()=>[R(t.$slots,`default`,xe(Ts({...t.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:i.value,navigate:N(d),rel:l.value,target:e.target||(a.value?`_blank`:void 0),isExternal:a.value,active:s.value})))]),_:3})):(B(),H(px,q({key:1},{...t.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:i.value,navigate:N(d),rel:l.value,target:e.target||(a.value?`_blank`:void 0),isExternal:a.value},{class:c.value}),{default:P(()=>[R(t.$slots,`default`,{active:s.value})]),_:3},16,[`class`]))}}),gx={slots:{base:[`rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75`,`transition-colors`],label:`truncate`,leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailingIcon:`shrink-0`},variants:{fieldGroup:{horizontal:`not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]`,vertical:`not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``,ghost:``,link:``},size:{xs:{base:`px-2 py-1 text-xs gap-1`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},sm:{base:`px-2.5 py-1.5 text-xs gap-1.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},md:{base:`px-2.5 py-1.5 text-sm gap-1.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},lg:{base:`px-3 py-2 text-sm gap-2`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},xl:{base:`px-3 py-2 text-base gap-2`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`}},block:{true:{base:`w-full justify-center`,trailingIcon:`ms-auto`}},square:{true:``},leading:{true:``},trailing:{true:``},loading:{true:``},active:{true:{base:``},false:{base:``}}},compoundVariants:[{color:`primary`,variant:`solid`,class:`text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`solid`,class:`text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`solid`,class:`text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`solid`,class:`text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`solid`,class:`text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`solid`,class:`text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error outline-error/25 focus-visible:outline-3`},{color:`primary`,variant:`outline`,class:`ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`outline`,class:`ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`outline`,class:`ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`outline`,class:`ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`outline`,class:`ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`outline`,class:`ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`soft`,class:`text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 outline-primary/25 focus-visible:outline-3 disabled:bg-primary/10 aria-disabled:bg-primary/10`},{color:`secondary`,variant:`soft`,class:`text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 outline-secondary/25 focus-visible:outline-3 disabled:bg-secondary/10 aria-disabled:bg-secondary/10`},{color:`success`,variant:`soft`,class:`text-success bg-success/10 hover:bg-success/15 active:bg-success/15 outline-success/25 focus-visible:outline-3 disabled:bg-success/10 aria-disabled:bg-success/10`},{color:`info`,variant:`soft`,class:`text-info bg-info/10 hover:bg-info/15 active:bg-info/15 outline-info/25 focus-visible:outline-3 disabled:bg-info/10 aria-disabled:bg-info/10`},{color:`warning`,variant:`soft`,class:`text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 outline-warning/25 focus-visible:outline-3 disabled:bg-warning/10 aria-disabled:bg-warning/10`},{color:`error`,variant:`soft`,class:`text-error bg-error/10 hover:bg-error/15 active:bg-error/15 outline-error/25 focus-visible:outline-3 disabled:bg-error/10 aria-disabled:bg-error/10`},{color:`primary`,variant:`subtle`,class:`text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`subtle`,class:`text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`subtle`,class:`text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`subtle`,class:`text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`subtle`,class:`text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`subtle`,class:`text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`ghost`,class:`text-primary hover:bg-primary/10 active:bg-primary/10 outline-primary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`secondary`,variant:`ghost`,class:`text-secondary hover:bg-secondary/10 active:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`success`,variant:`ghost`,class:`text-success hover:bg-success/10 active:bg-success/10 outline-success/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`info`,variant:`ghost`,class:`text-info hover:bg-info/10 active:bg-info/10 outline-info/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`warning`,variant:`ghost`,class:`text-warning hover:bg-warning/10 active:bg-warning/10 outline-warning/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`error`,variant:`ghost`,class:`text-error hover:bg-error/10 active:bg-error/10 outline-error/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`primary`,variant:`link`,class:`text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`link`,class:`text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`link`,class:`text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`link`,class:`text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`link`,class:`text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`link`,class:`text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error outline-error/25 focus-visible:outline-3`},{color:`neutral`,variant:`solid`,class:`text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,variant:`outline`,class:`ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`soft`,class:`text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 outline-inverted/25 focus-visible:outline-3 disabled:bg-elevated aria-disabled:bg-elevated`},{color:`neutral`,variant:`subtle`,class:`ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`ghost`,class:`text-default hover:bg-elevated active:bg-elevated outline-inverted/25 focus-visible:outline-3 hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent`},{color:`neutral`,variant:`link`,class:`text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted outline-inverted/25 focus-visible:outline-3`},{size:`xs`,square:!0,class:`p-1`},{size:`sm`,square:!0,class:`p-1.5`},{size:`md`,square:!0,class:`p-1.5`},{size:`lg`,square:!0,class:`p-2`},{size:`xl`,square:!0,class:`p-2`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`}},_x={__name:`Button`,props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},locale:{type:[Boolean,String],required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){let t=e,n=Na(),r=b_(`button`,t),i=pm(),{orientation:a,size:o}=rx(t),s=x_(fx(r)),c=J(()=>Cm(s.value,[`type`,`disabled`,`onClick`])),l=M(!1),u=F(lx,void 0);async function d(e){l.value=!0;let t=Array.isArray(r.onClick)?r.onClick:[r.onClick];try{await Promise.all(t.map(t=>t?.(e)))}finally{l.value=!1}}let f=J(()=>r.loading||r.loadingAuto&&(l.value||u?.value&&r.type===`submit`)),{isLeading:p,isTrailing:m,leadingIconName:h,trailingIconName:g}=tx(J(()=>({icon:r.icon,leading:r.leading,leadingIcon:r.leadingIcon,trailing:r.trailing,trailingIcon:r.trailingIcon,loading:f.value,loadingIcon:r.loadingIcon}))),_=J(()=>qb({extend:gx,..._m({variants:{active:{true:{base:Tm(i.ui?.button?.variants?.active?.true?.base,r.activeClass)},false:{base:Tm(i.ui?.button?.variants?.active?.false?.base,r.inactiveClass)}}}},i.ui?.button||{})})({color:r.color,variant:r.variant,size:o.value??r.size,loading:f.value,block:r.block,square:r.square||!n.default&&!r.label,leading:p.value,trailing:m.value,fieldGroup:a.value}));return(e,t)=>(B(),H(hx,q({type:N(r).type,disabled:N(r).disabled||f.value},c.value,{custom:``}),{default:P(({active:t,...n})=>[W(px,q({"data-slot":`base`},n,{class:_.value.base({class:[N(r).ui?.base,N(r).class],active:t,...t&&N(r).activeVariant?{variant:N(r).activeVariant}:{},...t&&N(r).activeColor?{color:N(r).activeColor}:{}}),onClick:d}),{default:P(()=>[R(e.$slots,`leading`,{ui:_.value},()=>[N(p)&&N(h)?(B(),H(Jb,{key:0,name:N(h),"data-slot":`leadingIcon`,class:O(_.value.leadingIcon({class:N(r).ui?.leadingIcon,active:t}))},null,8,[`name`,`class`])):N(r).avatar?(B(),H(ex,q({key:1,size:N(r).ui?.leadingAvatarSize||_.value.leadingAvatarSize()},N(r).avatar,{"data-slot":`leadingAvatar`,class:_.value.leadingAvatar({class:N(r).ui?.leadingAvatar,active:t})}),null,16,[`size`,`class`])):K(``,!0)]),R(e.$slots,`default`,{ui:_.value},()=>[N(r).label!==void 0&&N(r).label!==null?(B(),V(`span`,{key:0,"data-slot":`label`,class:O(_.value.label({class:N(r).ui?.label,active:t}))},k(N(r).label),3)):K(``,!0)]),R(e.$slots,`trailing`,{ui:_.value},()=>[N(m)&&N(g)?(B(),H(Jb,{key:0,name:N(g),"data-slot":`trailingIcon`,class:O(_.value.trailingIcon({class:N(r).ui?.trailingIcon,active:t}))},null,8,[`name`,`class`])):K(``,!0)])]),_:2},1040,[`class`])]),_:3},16,[`type`,`disabled`]))}},vx={slots:{root:`gap-2`,base:`relative overflow-hidden rounded-full bg-accented`,indicator:`rounded-full size-full transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-pulse`,status:`flex text-dimmed duration-200 ease-out motion-reduce:transition-none`,steps:`grid items-end`,step:`truncate text-end row-start-1 col-start-1 transition-opacity ease-out`},variants:{animation:{carousel:``,"carousel-inverse":``,swing:``,elastic:``},color:{primary:{indicator:`bg-primary`,steps:`text-primary`},secondary:{indicator:`bg-secondary`,steps:`text-secondary`},success:{indicator:`bg-success`,steps:`text-success`},info:{indicator:`bg-info`,steps:`text-info`},warning:{indicator:`bg-warning`,steps:`text-warning`},error:{indicator:`bg-error`,steps:`text-error`},neutral:{indicator:`bg-inverted`,steps:`text-highlighted`}},size:{"2xs":{status:`text-xs`,steps:`text-xs`},xs:{status:`text-xs`,steps:`text-xs`},sm:{status:`text-sm`,steps:`text-sm`},md:{status:`text-sm`,steps:`text-sm`},lg:{status:`text-sm`,steps:`text-sm`},xl:{status:`text-base`,steps:`text-base`},"2xl":{status:`text-base`,steps:`text-base`}},step:{active:{step:`opacity-100`},first:{step:`opacity-100 text-muted`},other:{step:`opacity-0`},last:{step:``}},orientation:{horizontal:{root:`w-full flex flex-col`,base:`w-full`,status:`flex-row items-center justify-end w-(--percent) min-w-fit transition-[width]`},vertical:{root:`h-full flex flex-row-reverse`,base:`h-full`,status:`flex-col justify-end h-(--percent) min-h-fit transition-[height]`}},inverted:{true:{status:`self-end`}}},compoundVariants:[{inverted:!0,orientation:`horizontal`,class:{step:`text-start`,status:`flex-row-reverse`}},{inverted:!0,orientation:`vertical`,class:{steps:`items-start`,status:`flex-col-reverse`}},{orientation:`horizontal`,size:`2xs`,class:`h-px`},{orientation:`horizontal`,size:`xs`,class:`h-0.5`},{orientation:`horizontal`,size:`sm`,class:`h-1`},{orientation:`horizontal`,size:`md`,class:`h-2`},{orientation:`horizontal`,size:`lg`,class:`h-3`},{orientation:`horizontal`,size:`xl`,class:`h-4`},{orientation:`horizontal`,size:`2xl`,class:`h-5`},{orientation:`vertical`,size:`2xs`,class:`w-px`},{orientation:`vertical`,size:`xs`,class:`w-0.5`},{orientation:`vertical`,size:`sm`,class:`w-1`},{orientation:`vertical`,size:`md`,class:`w-2`},{orientation:`vertical`,size:`lg`,class:`w-3`},{orientation:`vertical`,size:`xl`,class:`w-4`},{orientation:`vertical`,size:`2xl`,class:`w-5`},{orientation:`horizontal`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing-vertical_2s_var(--ease-in-out)_infinite]`}},{orientation:`horizontal`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic-vertical_2s_var(--ease-in-out)_infinite]`}}],defaultVariants:{animation:`carousel`,color:`primary`,size:`md`}},yx={__name:`Progress`,props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:[`update:modelValue`,`update:max`],setup(e,{emit:t}){let n=e,r=t,i=Na(),a=b_(`progress`,n),{dir:o}=jm(),s=pm(),c=x_(rm(a,`getValueLabel`,`getValueText`,`modelValue`),r),l=J(()=>c.value.modelValue===null),u=J(()=>Array.isArray(a.max)),d=J(()=>{if(!l.value&&a.max)return Array.isArray(a.max)?a.max.length-1:Number(a.max)}),f=J(()=>{if(!l.value)switch(!0){case c.value.modelValue<0:return 0;case c.value.modelValue>(d.value??100):return 100;default:return Math.round(c.value.modelValue/(d.value??100)*100)}}),p=J(()=>{if(f.value!==void 0)return a.orientation===`vertical`?{transform:`translateY(${a.inverted?``:`-`}${100-f.value}%)`}:o.value===`rtl`?{transform:`translateX(${a.inverted?`-`:``}${100-f.value}%)`}:{transform:`translateX(${a.inverted?``:`-`}${100-f.value}%)`}}),m=J(()=>({"--percent":`${Math.max(f.value??0,0)}%`}));function h(e){return e===Number(a.modelValue)}function g(e){return e===0}function _(e){return e===d.value}function v(e){return e=Number(e),h(e)&&!g(e)?`active`:g(e)&&h(e)?`first`:_(e)&&h(e)?`last`:`other`}let y=J(()=>qb({extend:vx,...s.ui?.progress||{}})({animation:a.animation,size:a.size,color:a.color,orientation:a.orientation,inverted:a.inverted})),b=J(()=>Object.keys({...vx.variants?.color,...s.ui?.progress?.variants?.color})),x=J(()=>a.color&&!b.value.includes(a.color)?a.color:void 0);return(e,t)=>(B(),H(N(Ph),{as:N(a).as,"data-orientation":N(a).orientation,"data-slot":`root`,class:O(y.value.root({class:[N(a).ui?.root,N(a).class]}))},{default:P(()=>[!l.value&&(N(a).status||i.status)?(B(),V(`div`,{key:0,"data-slot":`status`,class:O(y.value.status({class:N(a).ui?.status})),style:ge(m.value)},[R(e.$slots,`status`,{percent:f.value},()=>[G(k(f.value)+`% `,1)])],6)):K(``,!0),W(N(Pg),q(N(c),{max:d.value,"data-slot":`base`,class:y.value.base({class:N(a).ui?.base}),style:{transform:`translateZ(0)`}}),{default:P(()=>[W(N(Fg),{"data-slot":`indicator`,class:O(y.value.indicator({class:N(a).ui?.indicator})),style:ge([p.value,x.value?{backgroundColor:x.value}:void 0])},null,8,[`class`,`style`])]),_:1},16,[`max`,`class`]),u.value?(B(),V(`div`,{key:1,"data-slot":`steps`,class:O(y.value.steps({class:N(a).ui?.steps})),style:ge(x.value?{color:x.value}:void 0)},[(B(!0),V(z,null,_a(N(a).max,(t,n)=>(B(),V(`div`,{key:n,"data-slot":`step`,class:O(y.value.step({class:N(a).ui?.step,step:v(n)}))},[R(e.$slots,`step-${n}`,{step:t},()=>[G(k(t),1)])],2))),128))],6)):K(``,!0)]),_:3},8,[`as`,`data-orientation`,`class`]))}},bx={slots:{root:`relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5`,wrapper:`w-0 flex-1 flex flex-col`,title:`text-sm font-medium text-highlighted`,description:`text-sm text-muted`,icon:`shrink-0 size-5`,avatar:`shrink-0`,avatarSize:`2xl`,actions:`flex gap-1.5 shrink-0`,progress:`absolute inset-x-0 bottom-0`,close:`p-0`},variants:{color:{primary:{root:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`,icon:`text-primary`},secondary:{root:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`,icon:`text-secondary`},success:{root:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`,icon:`text-success`},info:{root:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`,icon:`text-info`},warning:{root:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`,icon:`text-warning`},error:{root:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`,icon:`text-error`},neutral:{root:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`,icon:`text-highlighted`}},orientation:{horizontal:{root:`items-center`,actions:`items-center`},vertical:{root:`items-start`,actions:`items-start mt-2.5`}},title:{true:{description:`mt-1`}}},defaultVariants:{color:`primary`}},xx={__name:`Toast`,props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},duration:{type:Number,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=Na(),o=b_(`toast`,r),{t:s}=jm(),c=pm(),l=x_(rm(o,`as`,`defaultOpen`,`open`,`duration`,`type`),i),u=J(()=>qb({extend:bx,...c.ui?.toast||{}})({color:o.color,orientation:o.orientation,title:!!o.title||!!a.title})),d=ui(`rootRef`),f=M(0);return ea(()=>{d.value?.$el?.getBoundingClientRect&&(f.value=d.value.$el.getBoundingClientRect().height)}),t({height:f}),(e,t)=>(B(),H(N(i_),q({ref_key:`rootRef`,ref:d},N(l),{"data-orientation":N(o).orientation,"data-slot":`root`,class:u.value.root({class:[N(o).ui?.root,N(o).class]}),style:{"--height":f.value}}),{default:P(({remaining:n,duration:r,open:i})=>[R(e.$slots,`leading`,{ui:u.value},()=>[N(o).avatar?(B(),H(ex,q({key:0,size:N(o).ui?.avatarSize||u.value.avatarSize()},N(o).avatar,{"data-slot":`avatar`,class:u.value.avatar({class:N(o).ui?.avatar})}),null,16,[`size`,`class`])):N(o).icon?(B(),H(Jb,{key:1,name:N(o).icon,"data-slot":`icon`,class:O(u.value.icon({class:N(o).ui?.icon}))},null,8,[`name`,`class`])):K(``,!0)]),U(`div`,{"data-slot":`wrapper`,class:O(u.value.wrapper({class:N(o).ui?.wrapper}))},[N(o).title||a.title?(B(),H(N(a_),{key:0,"data-slot":`title`,class:O(u.value.title({class:N(o).ui?.title}))},{default:P(()=>[R(e.$slots,`title`,{},()=>[typeof N(o).title==`function`?(B(),H(pa(N(o).title()),{key:0})):typeof N(o).title==`object`?(B(),H(pa(N(o).title),{key:1})):(B(),V(z,{key:2},[G(k(N(o).title),1)],64))])]),_:3},8,[`class`])):K(``,!0),N(o).description||a.description?(B(),H(N(n_),{key:1,"data-slot":`description`,class:O(u.value.description({class:N(o).ui?.description}))},{default:P(()=>[R(e.$slots,`description`,{},()=>[typeof N(o).description==`function`?(B(),H(pa(N(o).description()),{key:0})):typeof N(o).description==`object`?(B(),H(pa(N(o).description),{key:1})):(B(),V(z,{key:2},[G(k(N(o).description),1)],64))])]),_:3},8,[`class`])):K(``,!0),N(o).orientation===`vertical`&&(N(o).actions?.length||a.actions)?(B(),V(`div`,{key:2,"data-slot":`actions`,class:O(u.value.actions({class:N(o).ui?.actions}))},[R(e.$slots,`actions`,{},()=>[(B(!0),V(z,null,_a(N(o).actions,(e,n)=>(B(),H(N(t_),{key:n,"alt-text":e.label||`Action`,"as-child":``,onClick:t[0]||=pu(()=>{},[`stop`])},{default:P(()=>[W(_x,q({size:`xs`,color:N(o).color},{ref_for:!0},e),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))])],2)):K(``,!0)],2),N(o).orientation===`horizontal`&&(N(o).actions?.length||a.actions)||N(o).close?(B(),V(`div`,{key:0,"data-slot":`actions`,class:O(u.value.actions({class:N(o).ui?.actions,orientation:`horizontal`}))},[N(o).orientation===`horizontal`&&(N(o).actions?.length||a.actions)?R(e.$slots,`actions`,{},()=>[(B(!0),V(z,null,_a(N(o).actions,(e,n)=>(B(),H(N(t_),{key:n,"alt-text":e.label||`Action`,"as-child":``,onClick:t[1]||=pu(()=>{},[`stop`])},{default:P(()=>[W(_x,q({size:`xs`,color:N(o).color},{ref_for:!0},e),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))],void 0,0):K(``,!0),N(o).close||a.close?(B(),H(N(e_),{key:1,"as-child":``},{default:P(()=>[R(e.$slots,`close`,{ui:u.value},()=>[N(o).close?(B(),H(_x,q({key:0,icon:N(o).closeIcon||N(c).ui.icons.close,color:`neutral`,variant:`link`,"aria-label":N(s)(`toast.close`)},typeof N(o).close==`object`?N(o).close:{},{"data-slot":`close`,class:u.value.close({class:N(o).ui?.close}),onClick:t[2]||=pu(()=>{},[`stop`])}),null,16,[`icon`,`aria-label`,`class`])):K(``,!0)])]),_:3})):K(``,!0)],2)):K(``,!0),N(o).progress&&i&&n>0&&r?(B(),H(yx,q({key:1,"model-value":n/r*100,color:N(o).color},typeof N(o).progress==`object`?N(o).progress:{},{size:`sm`,"data-slot":`progress`,class:u.value.progress({class:N(o).ui?.progress})}),null,16,[`model-value`,`color`,`class`])):K(``,!0)]),_:3},16,[`data-orientation`,`class`,`style`]))}},Sx={slots:{viewport:`fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none`,base:`pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_var(--ease-out)] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_200ms_var(--ease-out)] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out motion-reduce:transition-none`},variants:{position:{"top-left":{viewport:`left-4`},"top-center":{viewport:`left-1/2 transform -translate-x-1/2`},"top-right":{viewport:`right-4`},"bottom-left":{viewport:`left-4`},"bottom-center":{viewport:`left-1/2 transform -translate-x-1/2`},"bottom-right":{viewport:`right-4`}},swipeDirection:{up:`data-[swipe=end]:animate-[toast-slide-up_200ms_var(--ease-out)]`,right:`data-[swipe=end]:animate-[toast-slide-right_200ms_var(--ease-out)]`,down:`data-[swipe=end]:animate-[toast-slide-down_200ms_var(--ease-out)]`,left:`data-[swipe=end]:animate-[toast-slide-left_200ms_var(--ease-out)]`}},compoundVariants:[{position:[`top-left`,`top-center`,`top-right`],class:{viewport:`top-4`,base:`top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_var(--ease-out)]`}},{position:[`bottom-left`,`bottom-center`,`bottom-right`],class:{viewport:`bottom-4`,base:`bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_var(--ease-out)]`}},{swipeDirection:[`left`,`right`],class:`data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0`},{swipeDirection:[`up`,`down`],class:`data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0`}],defaultVariants:{position:`bottom-right`}},Cx=Object.assign({name:`Toaster`},{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){let t=b_(`toaster`,e),{toasts:n,remove:r}=C_(),i=pm();Cr(S_,Tn(()=>t.max));let a=x_(rm(t,`duration`,`label`,`swipeThreshold`,`disableSwipe`)),o=f_(Tn(()=>t.portal)),s=J(()=>{switch(t.position){case`top-center`:return`up`;case`top-right`:case`bottom-right`:return`right`;case`bottom-center`:return`down`;case`top-left`:case`bottom-left`:return`left`}return`right`}),c=J(()=>qb({extend:Sx,...i.ui?.toaster||{}})({position:t.position,swipeDirection:s.value}));function l(e,t){e||r(t)}let u=M(!1),d=J(()=>t.expand||u.value),f=M([]),p=J(()=>f.value.reduce((e,{height:t})=>e+t+16,0)),m=J(()=>f.value[f.value.length-1]?.height||0);function h(e){return f.value.slice(e+1).reduce((e,{height:t})=>e+t+16,0)}return(e,r)=>(B(),H(N(Ug),q({"swipe-direction":s.value},N(a)),{default:P(()=>[R(e.$slots,`default`),(B(!0),V(z,null,_a(N(n),(e,r)=>(B(),H(xx,q({key:e.id,ref_for:!0,ref_key:`refs`,ref:f,progress:N(t).progress},{ref_for:!0},N(Cm)(e,[`id`,`close`,`_duplicate`,`_updated`,`onClick`]),{close:e.close,"data-expanded":d.value,"data-front":!d.value&&r===N(n).length-1,"data-pulsing":e._duplicate?e._duplicate%2==0?`even`:`odd`:void 0,style:{"--index":r-N(n).length+N(n).length,"--before":N(n).length-1-r,"--offset":h(r),"--scale":d.value?`1`:`calc(1 - var(--before) * var(--scale-factor))`,"--translate":d.value?`calc(var(--offset) * var(--translate-factor))`:`calc(var(--before) * var(--gap))`,"--transform":`translateY(var(--translate)) scale(var(--scale))`},"data-slot":`base`,class:c.value.base({class:[N(t).ui?.base,e.onClick?`cursor-pointer`:void 0]}),"onUpdate:open":t=>l(t,e.id),onClick:t=>e.onClick&&e.onClick(e)}),null,16,[`progress`,`close`,`data-expanded`,`data-front`,`data-pulsing`,`style`,`class`,`onUpdate:open`,`onClick`]))),128)),W(N(r_),xe(Ts(N(o))),{default:P(()=>[W(N(s_),{"data-expanded":d.value,"data-slot":`viewport`,class:O(c.value.viewport({class:[N(t).ui?.viewport,N(t).class]})),style:ge({"--scale-factor":`0.05`,"--translate-factor":N(t).position?.startsWith(`top`)?`1px`:`-1px`,"--gap":N(t).position?.startsWith(`top`)?`16px`:`-16px`,"--front-height":`${m.value}px`,"--height":`${p.value}px`}),onMouseenter:r[0]||=e=>u.value=!0,onMouseleave:r[1]||=e=>u.value=!1},null,8,[`data-expanded`,`class`,`style`])]),_:1},16)]),_:3},16,[`swipe-direction`]))}});function wx(){let e=en([]),t=(t,i)=>{let{props:a,defaultOpen:s,destroyOnClose:c}=i||{},l=$t({id:Symbol(import.meta.dev?`useOverlay`:``),isOpen:!!s,component:ln(t),isMounted:!!s,destroyOnClose:!!c,originalProps:a||{},props:{...a},resolvers:[]});return e.push(l),{...l,open:e=>n(l.id,e),close:e=>r(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);n.props=t?{...n.originalProps,...t}:{...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvers.push(e));return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1;for(let e of n.resolvers.splice(0))e(t)},i=()=>{e.forEach(e=>r(e.id))},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{overlays:e,open:n,close:r,closeAll:i,create:t,patch:o,unmount:a,isOpen:e=>s(e).isOpen}}var Tx=$p(wx),Ex={__name:`OverlayProvider`,setup(e){let{overlays:t,unmount:n,close:r}=Tx(),i=J(()=>t.filter(e=>e.isMounted)),a=e=>{r(e),n(e)},o=(e,t)=>{r(e,t)};return(e,t)=>(B(!0),V(z,null,_a(i.value,e=>(B(),H(pa(e.component),q({key:e.id},{ref_for:!0},e.props,{open:e.isOpen,"onUpdate:open":t=>e.isOpen=t,onClose:t=>o(e.id,t),"onAfter:leave":t=>a(e.id)}),null,16,[`open`,`onUpdate:open`,`onClose`,`onAfter:leave`]))),128))}},Dx=Object.assign({name:`App`},{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:`body`},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){let t=e,n=mh(rm(t,`scrollBody`)),r=Tn(()=>t.tooltip),i=Tn(()=>t.toaster),a=Tn(()=>t.dir?{...t.locale||km,dir:t.dir}:t.locale);return Cr(Am,a),Cr(d_,Tn(()=>t.portal)),(o,s)=>(B(),H(N(oh),q({"use-id":()=>ci(),dir:t.dir||a.value?.dir,locale:a.value?.code},N(n)),{default:P(()=>[W(N(u_),xe(Ts(r.value)),{default:P(()=>[e.toaster===null?R(o.$slots,`default`,{},void 0,void 0,1):(B(),H(Cx,xe(q({key:0},i.value)),{default:P(()=>[R(o.$slots,`default`)]),_:3},16)),W(Ex)]),_:3},16)]),_:3},16,[`use-id`,`dir`,`locale`]))}}),Ox=vm({name:`简体中文`,code:`zh-CN`,messages:{alert:{close:`关闭`},authForm:{hidePassword:`隐藏密码`,showPassword:`显示密码`,submit:`继续`},banner:{close:`关闭`},calendar:{nextMonth:`下个月`,nextYear:`明年`,prevMonth:`上个月`,prevYear:`去年`},carousel:{dots:`选择要显示的幻灯片`,goto:`跳转到第 {slide} 页`,next:`下一页`,prev:`上一页`},chatPrompt:{placeholder:`在这里输入你的消息…`},chatPromptSubmit:{label:`发送`},chatReasoning:{thinking:`思考中…`,thought:`已思考`,thoughtFor:`思考了 {duration}`},colorMode:{dark:`深色`,light:`浅色`,switchToDark:`切换到深色模式`,switchToLight:`切换到浅色模式`,system:`系统`},commandPalette:{back:`返回`,close:`关闭`,noData:`没有数据`,noMatch:`没有匹配的数据`,placeholder:`输入命令或搜索…`},contentSearch:{links:`链接`,search:`搜索结果`,theme:`主题`},contentSearchButton:{label:`搜索…`},contentToc:{title:`本页内容`},dropdownMenu:{noMatch:`没有匹配的数据`,search:`搜索…`},dashboardSearch:{theme:`主题`},dashboardSearchButton:{label:`搜索…`},dashboardSidebarCollapse:{collapse:`收起侧边栏`,expand:`展开侧边栏`},dashboardSidebarToggle:{close:`关闭侧边栏`,open:`打开侧边栏`},drawer:{close:`关闭`},error:{clear:`返回首页`},fileUpload:{removeFile:`删除 {filename}`},header:{close:`关闭菜单`,open:`打开菜单`},inputMenu:{create:`创建 "{label}"`,noData:`没有数据`,noMatch:`没有匹配的数据`},inputNumber:{decrement:`减少`,increment:`增加`},listbox:{noData:`没有数据`,noMatch:`没有匹配的数据`,search:`搜索…`},modal:{close:`关闭`},pricingTable:{caption:`价格计划比较`},prose:{codeCollapse:{closeText:`收起`,name:`代码`,openText:`展开`},collapsible:{closeText:`隐藏`,name:`属性`,openText:`显示`},pre:{copy:`复制代码到剪贴板`},prompt:{copy:`复制提示词`,openIn:`在 {name} 中打开`}},sidebar:{close:`关闭`,toggle:`切换`},selectMenu:{create:`创建 "{label}"`,noData:`没有数据`,noMatch:`没有匹配的数据`,search:`搜索…`},slideover:{close:`关闭`},table:{noData:`没有数据`},toast:{close:`关闭`}}});async function $(e,t){let n=await fetch(`/api/${e}`,t===void 0?{credentials:`same-origin`}:{method:`POST`,credentials:`same-origin`,headers:{"Content-Type":`application/json`,"X-CoDiscuss-Panel":`1`},body:JSON.stringify(t)}),r=await n.json().catch(()=>({}));if(!n.ok)throw Error(r.error||`请求失败(${n.status})`);return r}var kx={Codex:`openai`,OpenAI:`openai`,Claude:`claude`,Antigravity:`gemini`,DeepSeek:`deepseek`,Qwen:`qwen`,Grok:`grok`};function Ax(e){return kx[e]?`/icons/${kx[e]}.svg`:``}function jx(e,t){let n=Object.entries(e).find(([e,n])=>e!==`OpenAI`&&n.base_url&&n.base_url===t);return n?{key:n[0],...n[1]}:{key:`Custom`,label:`自定义接口`}}function Mx(e){return e?e.public_url||`http://127.0.0.1:${e.port}`:``}function Nx(e,t={}){let n=e.detail.originalEvent,r=n.target;r?.isConnected?t.scrollable&&(n.offsetX>r.clientWidth||n.offsetY>r.clientHeight)&&e.preventDefault():e.preventDefault()}var Px={slots:{overlay:`fixed inset-0`,content:`bg-default divide-y divide-default flex flex-col focus:outline-none`,header:`flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)`,wrapper:``,body:`flex-1 p-4 sm:p-6`,footer:`flex items-center gap-1.5 p-4 sm:px-6`,title:`text-highlighted font-semibold`,description:`mt-1 text-muted text-sm`,close:`absolute top-4 end-4`},variants:{transition:{true:{overlay:`data-[state=open]:animate-[fade-in_200ms_var(--ease-out)] data-[state=closed]:animate-[fade-out_200ms_var(--ease-out)]`,content:`data-[state=open]:animate-[scale-in_200ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_200ms_var(--ease-out)]`}},fullscreen:{true:{content:`inset-0`},false:{content:`w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default`}},overlay:{true:{overlay:`bg-elevated/75`}},scrollable:{true:{overlay:`overflow-y-auto`,content:`relative`},false:{content:`fixed`,body:`overflow-y-auto`}}},compoundVariants:[{scrollable:!0,fullscreen:!1,class:{overlay:`grid place-items-center p-4 sm:py-8`}},{scrollable:!1,fullscreen:!1,class:{content:`top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden`}}]},Fx={__name:`Modal`,props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},transition:{type:Boolean,required:!1,default:!0},fullscreen:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0},unmountOnHide:{type:Boolean,required:!1}},emits:[`leave`,`after:leave`,`enter`,`after:enter`,`close:prevent`,`update:open`],setup(e,{emit:t}){let n=e,r=t,i=Na(),a=b_(`modal`,n),{t:o}=jm(),s=pm(),c=x_(rm(a,`open`,`defaultOpen`,`modal`,`unmountOnHide`),r),l=f_(Tn(()=>a.portal)),u=Tn(()=>a.content),d=J(()=>a.dismissible?{pointerDownOutside:e=>Nx(e,{scrollable:a.scrollable})}:[`interactOutside`,`escapeKeyDown`].reduce((e,t)=>(e[t]=e=>{e.preventDefault(),r(`close:prevent`)},e),{})),[f,p]=lm(),m=J(()=>qb({extend:Px,...s.ui?.modal||{}})({transition:a.transition,fullscreen:a.fullscreen,overlay:a.overlay,scrollable:a.scrollable}));return(e,t)=>(B(),H(N(Rh),xe(Ts(N(c))),{default:P(({open:n,close:c})=>[W(N(f),null,{default:P(()=>[W(N(mg),q({"data-slot":`content`,class:m.value.content({class:[!i.default&&N(a).class,N(a).ui?.content]})},u.value,{onEnter:t[0]||=e=>!N(a).scrollable&&r(`enter`),onAfterEnter:t[1]||=e=>!N(a).scrollable&&r(`after:enter`),onLeave:t[2]||=e=>!N(a).scrollable&&r(`leave`),onAfterLeave:t[3]||=e=>!N(a).scrollable&&r(`after:leave`)},ba(d.value)),{default:P(()=>[!N(a).title&&!i.title||!N(a).description&&!i.description||i.content?(B(),H(N(wg),{key:0},{default:P(()=>[!N(a).title&&!i.title?(B(),H(N(bg),{key:0})):i.content?(B(),H(N(bg),{key:1},{default:P(()=>[R(e.$slots,`title`,{},()=>[G(k(N(a).title),1)])]),_:3})):K(``,!0),!N(a).description&&!i.description?(B(),H(N(hg),{key:2})):i.content?(B(),H(N(hg),{key:3},{default:P(()=>[R(e.$slots,`description`,{},()=>[G(k(N(a).description),1)])]),_:3})):K(``,!0)]),_:3})):K(``,!0),R(e.$slots,`content`,{close:c},()=>[i.header||N(a).title||i.title||N(a).description||i.description||N(a).close||i.close?(B(),V(`div`,{key:0,"data-slot":`header`,class:O(m.value.header({class:N(a).ui?.header}))},[R(e.$slots,`header`,{close:c},()=>[N(a).title||i.title||N(a).description||i.description?(B(),V(`div`,{key:0,"data-slot":`wrapper`,class:O(m.value.wrapper({class:N(a).ui?.wrapper}))},[N(a).title||i.title?(B(),H(N(bg),{key:0,"data-slot":`title`,class:O(m.value.title({class:N(a).ui?.title}))},{default:P(()=>[R(e.$slots,`title`,{},()=>[G(k(N(a).title),1)])]),_:3},8,[`class`])):K(``,!0),N(a).description||i.description?(B(),H(N(hg),{key:1,"data-slot":`description`,class:O(m.value.description({class:N(a).ui?.description}))},{default:P(()=>[R(e.$slots,`description`,{},()=>[G(k(N(a).description),1)])]),_:3},8,[`class`])):K(``,!0)],2)):K(``,!0),R(e.$slots,`actions`),N(a).close||i.close?(B(),H(N(zh),{key:1,"as-child":``},{default:P(()=>[R(e.$slots,`close`,{ui:m.value},()=>[N(a).close?(B(),H(_x,q({key:0,icon:N(a).closeIcon||N(s).ui.icons.close,color:`neutral`,variant:`ghost`,"aria-label":N(o)(`modal.close`)},typeof N(a).close==`object`?N(a).close:{},{"data-slot":`close`,class:m.value.close({class:N(a).ui?.close})}),null,16,[`icon`,`aria-label`,`class`])):K(``,!0)])]),_:2},1024)):K(``,!0)])],2)):K(``,!0),i.body?(B(),V(`div`,{key:1,"data-slot":`body`,class:O(m.value.body({class:N(a).ui?.body}))},[R(e.$slots,`body`,{close:c})],2)):K(``,!0),i.footer?(B(),V(`div`,{key:2,"data-slot":`footer`,class:O(m.value.footer({class:N(a).ui?.footer}))},[R(e.$slots,`footer`,{close:c})],2)):K(``,!0)])]),_:2},1040,[`class`])]),_:2},1024),i.default?(B(),H(N(xg),{key:0,"as-child":``,class:O(N(a).class)},{default:P(()=>[R(e.$slots,`default`,{open:n})]),_:2},1032,[`class`])):K(``,!0),W(N(yg),q(N(l),{"force-mount":N(l).disabled&&N(a).unmountOnHide===!1||void 0}),{default:P(()=>[W(N(ix),null,{default:P(()=>[N(a).scrollable?(B(),H(N(_g),{key:0,"data-slot":`overlay`,class:O(m.value.overlay({class:N(a).ui?.overlay})),onEnter:t[4]||=e=>r(`enter`),onAfterEnter:t[5]||=e=>r(`after:enter`),onLeave:t[6]||=e=>r(`leave`),onAfterLeave:t[7]||=e=>r(`after:leave`)},{default:P(()=>[W(N(p))]),_:1},8,[`class`])):(B(),V(z,{key:1},[N(a).overlay?(B(),H(N(_g),{key:0,"data-slot":`overlay`,class:O(m.value.overlay({class:N(a).ui?.overlay}))},null,8,[`class`])):K(``,!0),W(N(p))],64))]),_:1})]),_:1},16,[`force-mount`])]),_:3},16))}},Ix={slots:{root:`relative flex items-start`,base:[`inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-3 data-[state=unchecked]:bg-accented`,`transition-[background] duration-200 ease-out`],container:`flex items-center`,thumb:`group pointer-events-none rounded-full bg-default shadow-lg ring-0 transition-transform duration-200 ease-out motion-reduce:transition-none data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center`,icon:[`absolute shrink-0 group-data-[state=unchecked]:text-dimmed opacity-0 size-10/12`,`transition-[color,opacity] duration-200 ease-out`],wrapper:`ms-2`,label:`block font-medium text-default`,description:`text-muted`},variants:{color:{primary:{base:`data-[state=checked]:bg-primary outline-primary/25`,icon:`group-data-[state=checked]:text-primary`},secondary:{base:`data-[state=checked]:bg-secondary outline-secondary/25`,icon:`group-data-[state=checked]:text-secondary`},success:{base:`data-[state=checked]:bg-success outline-success/25`,icon:`group-data-[state=checked]:text-success`},info:{base:`data-[state=checked]:bg-info outline-info/25`,icon:`group-data-[state=checked]:text-info`},warning:{base:`data-[state=checked]:bg-warning outline-warning/25`,icon:`group-data-[state=checked]:text-warning`},error:{base:`data-[state=checked]:bg-error outline-error/25`,icon:`group-data-[state=checked]:text-error`},neutral:{base:`data-[state=checked]:bg-inverted outline-inverted/25`,icon:`group-data-[state=checked]:text-highlighted`}},size:{xs:{base:`w-7`,container:`h-4`,thumb:`size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3`,wrapper:`text-xs`},sm:{base:`w-8`,container:`h-4`,thumb:`size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5`,wrapper:`text-xs`},md:{base:`w-9`,container:`h-5`,thumb:`size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4`,wrapper:`text-sm`},lg:{base:`w-10`,container:`h-5`,thumb:`size-4.5 data-[state=checked]:translate-x-4.5 data-[state=checked]:rtl:-translate-x-4.5`,wrapper:`text-sm`},xl:{base:`w-11`,container:`h-6`,thumb:`size-5 data-[state=checked]:translate-x-5 data-[state=checked]:rtl:-translate-x-5`,wrapper:`text-base`}},checked:{true:{icon:`group-data-[state=checked]:opacity-100`}},unchecked:{true:{icon:`group-data-[state=unchecked]:opacity-100`}},loading:{true:{icon:`animate-spin`}},highlight:{true:``},required:{true:{label:`after:content-['*'] after:ms-0.5 after:text-error`}},disabled:{true:{root:`opacity-75`,base:`cursor-not-allowed`,label:`cursor-not-allowed`,description:`cursor-not-allowed`}}},compoundVariants:[{color:`primary`,highlight:!0,class:{base:`ring ring-primary`}},{color:`secondary`,highlight:!0,class:{base:`ring ring-secondary`}},{color:`success`,highlight:!0,class:{base:`ring ring-success`}},{color:`info`,highlight:!0,class:{base:`ring ring-info`}},{color:`warning`,highlight:!0,class:{base:`ring ring-warning`}},{color:`error`,highlight:!0,class:{base:`ring ring-error`}},{color:`neutral`,highlight:!0,class:{base:`ring ring-inverted`}}],defaultVariants:{color:`primary`,size:`md`}},Lx=Object.assign({inheritAttrs:!1},{__name:`Switch`,props:{as:{type:null,required:!1},color:{type:null,required:!1},size:{type:null,required:!1},highlight:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},checkedIcon:{type:null,required:!1},uncheckedIcon:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},value:{type:String,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},trueValue:{type:null,required:!1},falseValue:{type:null,required:!1}},emits:[`change`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=Na(),i=t,a=b_(`switch`,n),o=pm(),s=x_(rm(a,`required`,`value`,`defaultValue`,`modelValue`,`trueValue`,`falseValue`),i),{id:c,emitFormChange:l,emitFormInput:u,size:d,color:f,highlight:p,name:m,disabled:h,ariaAttrs:g}=ux(n),_=c.value??ci(),v=J(()=>f.value??a.color),y=J(()=>p.value??a.highlight),b=J(()=>d.value??a.size),x=J(()=>h.value??a.disabled),S=Pa(),C=J(()=>{let{"data-state":e,...t}=S;return t}),w=J(()=>qb({extend:Ix,...o.ui?.switch||{}})({size:b.value,color:v.value,highlight:y.value,required:a.required,loading:a.loading,disabled:x.value||a.loading}));function ee(e){let t=new Event(`change`,{target:{value:e}});i(`change`,t),l(),u()}return(e,t)=>(B(),H(N(Ph),{as:N(a).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:O(w.value.root({class:[N(a).ui?.root,N(a).class]}))},{default:P(()=>[U(`div`,{"data-slot":`container`,class:O(w.value.container({class:N(a).ui?.container}))},[W(N(Rg),q({id:N(_)},{...N(s),...C.value,...N(g)},{name:N(m),disabled:x.value||N(a).loading,"data-slot":`base`,class:w.value.base({class:N(a).ui?.base}),"onUpdate:modelValue":ee}),{default:P(()=>[W(N(zg),{"data-slot":`thumb`,class:O(w.value.thumb({class:N(a).ui?.thumb}))},{default:P(()=>[N(a).loading?(B(),H(Jb,{key:0,name:N(a).loadingIcon||N(o).ui.icons.loading,"data-slot":`icon`,class:O(w.value.icon({class:N(a).ui?.icon,checked:!0,unchecked:!0}))},null,8,[`name`,`class`])):(B(),V(z,{key:1},[N(a).checkedIcon?(B(),H(Jb,{key:0,name:N(a).checkedIcon,"data-slot":`icon`,class:O(w.value.icon({class:N(a).ui?.icon,checked:!0}))},null,8,[`name`,`class`])):K(``,!0),N(a).uncheckedIcon?(B(),H(Jb,{key:1,name:N(a).uncheckedIcon,"data-slot":`icon`,class:O(w.value.icon({class:N(a).ui?.icon,unchecked:!0}))},null,8,[`name`,`class`])):K(``,!0)],64))]),_:1},8,[`class`])]),_:1},16,[`id`,`name`,`disabled`,`class`])],2),N(a).label||r.label||N(a).description||r.description?(B(),V(`div`,{key:0,"data-slot":`wrapper`,class:O(w.value.wrapper({class:N(a).ui?.wrapper}))},[N(a).label||r.label?(B(),H(N(Dg),{key:0,for:N(_),"data-slot":`label`,class:O(w.value.label({class:N(a).ui?.label}))},{default:P(()=>[R(e.$slots,`label`,{label:N(a).label},()=>[G(k(N(a).label),1)])]),_:3},8,[`for`,`class`])):K(``,!0),N(a).description||r.description?(B(),V(`p`,{key:1,"data-slot":`description`,class:O(w.value.description({class:N(a).ui?.description}))},[R(e.$slots,`description`,{description:N(a).description},()=>[G(k(N(a).description),1)])],2)):K(``,!0)],2)):K(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),Rx=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},zx={class:`panel-section-title`},Bx={class:`panel-rows`},Vx={class:`panel-row`},Hx={class:`panel-tile`},Ux={class:`panel-main`},Wx={class:`panel-title`},Gx={class:`panel-sub`},Kx=[`href`],qx={class:`panel-side`},Jx=[`disabled`],Yx=[`disabled`],Xx={class:`panel-row-extra`},Zx=[`disabled`],Qx={key:0,class:`entry-help`},$x={class:`panel-row`},eS={class:`panel-tile`},tS={class:`panel-main`},nS={class:`panel-title`},rS={key:0,class:`panel-tag is-gray`},iS={key:1,class:`panel-tag is-amber`},aS={key:2,class:`panel-tag is-amber`},oS={key:3,class:`panel-tag is-green`},sS={class:`panel-side`},cS=[`disabled`],lS=Rx({__name:`HostingCards`,setup(e){let{state:t,reload:n,notify:r}=F(`panel`),i=M(!1),a=J(()=>t.value.clis||{}),o=[[`claude`,`Claude Code`],[`codex`,`Codex`],[`agy`,`Antigravity`],[`app`,`共议`],[`python`,`Python`]],s=J(()=>o.every(([e])=>a.value[e])),c=J(()=>a.value.app&&a.value.app_version&&a.value.app_version!==t.value.version),l=J(()=>t.value.entry||{running:!1,port:0,public_url:``}),u=M(``),d=M(l.value.public_url),f=M(!1);async function p(e,t={},i=``){u.value=e;try{await $(`entry/${e}`,t),i&&r(`info`,i),f.value=!1,await n(),d.value=l.value.public_url}catch(e){r(`error`,e.message)}finally{u.value=``}}async function m(){i.value=!0;try{let e=await $(`clis/install`,{}),t=[...(e.missing||[]).map(e=>`没有找到 ${e}`),...e.warnings||[]];r(t.length?`warning`:`info`,t.length?t.join(`;`):`程序副本已同步`),await n()}catch(e){r(`error`,e.message)}finally{i.value=!1}}return(e,n)=>{let r=Jb;return B(),V(z,null,[U(`h3`,zx,[W(r,{name:`i-lucide-users`}),n[6]||=G(`托管`,-1)]),n[16]||=U(`p`,{class:`panel-guide`},`托管账号的使用者从登录入口登录,进入各自的网站;隔离账号运行在程序副本上。账号本身在“账号”页创建和管理。`,-1),U(`div`,Bx,[U(`div`,Vx,[U(`div`,Hx,[W(r,{name:`i-lucide-door-open`})]),U(`div`,Ux,[U(`div`,Wx,[n[7]||=G(`登录入口 `,-1),U(`span`,{class:O([`panel-tag`,l.value.running?`is-green`:`is-gray`])},k(l.value.running?`运行中`:`已停止`),3)]),U(`span`,Gx,[n[8]||=G(`使用者打开 `,-1),U(`a`,{class:`panel-link`,href:N(Mx)(l.value),target:`_blank`,rel:`noopener`},k(N(Mx)(l.value)),9,Kx),n[9]||=G(`,以账号名和密码登录`,-1)])]),U(`div`,qx,[l.value.running?(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!u.value,onClick:n[1]||=e=>p(`stop`,{},`登录入口已停止`)},[W(r,{name:u.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:O({"animate-spin":u.value===`stop`})},null,8,[`name`,`class`]),n[11]||=G(`停止`,-1)],8,Yx)):(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-primary is-small`,disabled:!!u.value,onClick:n[0]||=e=>p(`start`,{},`登录入口已启动`)},[W(r,{name:u.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:O({"animate-spin":u.value===`start`})},null,8,[`name`,`class`]),n[10]||=G(`启动`,-1)],8,Jx))])]),U(`div`,Xx,[n[12]||=U(`span`,{class:`entry-label`},`外网地址`,-1),f.value?(B(),V(`form`,{key:1,class:`entry-url`,onSubmit:n[5]||=pu(e=>p(`settings`,{public_url:d.value.trim()},`外网地址已保存`),[`prevent`])},[xr(U(`input`,{"onUpdate:modelValue":n[3]||=e=>d.value=e,class:`panel-input`,placeholder:`https://entry.example.com`,autocomplete:`off`,spellcheck:`false`,autofocus:``},null,512),[[Ql,d.value]]),U(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:n[4]||=e=>{f.value=!1,d.value=l.value.public_url}},`取消`),U(`button`,{type:`submit`,class:`panel-button is-primary is-small`,disabled:!!u.value},`保存`,8,Zx)],32)):(B(),V(z,{key:0},[U(`span`,{class:O([`entry-value`,{"is-empty":!l.value.public_url}])},k(l.value.public_url||`未设置,仅本机可访问`),3),U(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:n[2]||=e=>f.value=!0},[W(r,{name:`i-lucide-pencil`}),G(k(l.value.public_url?`修改`:`设置`),1)])],64))]),f.value?(B(),V(`small`,Qx,`先用 Cloudflare Tunnel 等工具把一个 https 地址转发到本机 `+k(l.value.port)+` 端口,再填入此处;留空则仅本机可访问。`,1)):K(``,!0),U(`div`,$x,[U(`div`,eS,[W(r,{name:`i-lucide-hard-drive-download`})]),U(`div`,tS,[U(`div`,nS,[n[14]||=G(`程序副本 `,-1),a.value.app?c.value?(B(),V(`span`,iS,`v`+k(a.value.app_version)+`,落后于本机 v`+k(N(t).version),1)):s.value?(B(),V(`span`,oS,[W(r,{name:`i-lucide-check`}),n[13]||=G(`已同步`,-1)])):(B(),V(`span`,aS,`缺少 `+k(o.filter(([e])=>!a.value[e]).map(([,e])=>e).join(`、`)),1)):(B(),V(`span`,rS,`未安装`))]),n[15]||=U(`span`,{class:`panel-sub`},`隔离账号无法读取你的个人目录,使用 C:\\ProgramData\\CoDiscuss 中的副本。升级 Claude Code 等程序后需同步。`,-1)]),U(`div`,sS,[U(`button`,{type:`button`,class:O([`panel-button is-small`,s.value&&!c.value?`is-plain`:`is-primary`]),disabled:i.value,onClick:m},[W(r,{name:i.value?`i-lucide-loader`:`i-lucide-refresh-cw`,class:O({"animate-spin":i.value})},null,8,[`name`,`class`]),G(k(a.value.app?`同步`:`安装`),1)],10,cS)])])])],64)}}},[[`__scopeId`,`data-v-7c1e5444`]]),uS={class:`panel-section-title`},dS={class:`panel-rows`},fS={class:`panel-row`},pS={class:`panel-tile`},mS={class:`panel-main`},hS={class:`panel-title`},gS={class:`panel-sub`},_S={class:`panel-side`},vS=[`href`],yS=[`disabled`],bS=[`disabled`],xS=[`disabled`],SS={class:`panel-row`},CS={class:`panel-tile`},wS={class:`panel-main`},TS={class:`panel-title`},ES={key:0,class:`panel-tag is-blue`},DS={key:1,class:`panel-tag is-green`},OS={class:`panel-sub`},kS={class:`panel-side`},AS=[`disabled`],jS=[`disabled`],MS={key:0,class:`panel-row`},NS={class:`panel-tile`},PS={class:`panel-main`},FS={class:`panel-sub`},IS={class:`panel-side`},LS={class:`panel-note`},RS={class:`panel-form-foot`},zS={class:`update-steps`},BS={class:`panel-form-foot`},VS=1500,HS=6e5,US=Rx({__name:`OverviewPage`,setup(e){let{state:t,reload:n,notify:r,refreshed:i}=F(`panel`),a=J(()=>t.value.service||{}),o=M(``),s=M(null),c=M(!1),l=M(!1);async function u(e,t){o.value=e;try{await $(`service/${e}`,{}),r(`info`,t),await n()}catch(e){r(`error`,e.message),await n()}finally{o.value=``}}async function d(e=!1){c.value=!0;try{s.value=await $(e?`update/check`:`update`),e&&!s.value.available&&r(`info`,`已是最新版本`)}catch(e){s.value={error:e.message}}finally{c.value=!1}}let f=M(null);async function p(){l.value=!1,o.value=`update`;try{await $(`update`,{}),f.value=await m()}catch(e){r(`error`,e.message)}finally{o.value=``}}async function m(){for(let e=0;e<HS;e+=VS){await new Promise(e=>setTimeout(e,VS));try{let e=await $(`update/progress`);if(e.status===`done`)return e}catch{}}throw Error(`更新超过 10 分钟没有完成:可运行 codiscuss panel open 重新打开面板查看`)}let h=e=>/失败/.test(e);function g(){window.location.reload()}async function _(){o.value=`autostart`;try{let{autostart:e}=await $(`autostart`,{on:!t.value.autostart});r(`info`,e?`登录 Windows 时会自动启动共议`:`已关闭开机自启`),await n()}catch(e){r(`error`,e.message)}finally{o.value=``}}return ea(()=>d()),I(i,()=>d(!0)),(e,n)=>{let r=Jb,i=Lx,m=Fx;return B(),V(z,null,[U(`section`,null,[U(`h3`,uS,[W(r,{name:`i-lucide-monitor`}),n[9]||=G(`本机`,-1)]),U(`div`,dS,[U(`div`,fS,[U(`div`,pS,[W(r,{name:`i-lucide-server`})]),U(`div`,mS,[U(`div`,hS,[n[10]||=G(`共议服务 `,-1),U(`span`,{class:O([`panel-tag`,a.value.running?`is-green`:a.value.website?`is-amber`:`is-gray`])},[W(r,{name:a.value.running?`i-lucide-check`:`i-lucide-minus`},null,8,[`name`]),G(k(a.value.running?`运行中`:a.value.website?`讨论服务未就绪`:`已停止`),1)],2)]),U(`span`,gS,k(a.value.error||(a.value.running?`本机网站与讨论服务 · 数据目录 ${a.value.home}`:`启动后才能在房间里唤醒本机的 AI 成员`)),1)]),U(`div`,_S,[a.value.website||a.value.running?(B(),V(z,{key:0},[a.value.url?(B(),V(`a`,{key:0,class:`panel-button is-outline is-small`,href:a.value.url,target:`_blank`,rel:`noopener`},[W(r,{name:`i-lucide-external-link`}),n[11]||=G(`打开网站`,-1)],8,vS)):K(``,!0),U(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:!!o.value,title:`进行中的执行会中断,随后在原会话里续跑`,onClick:n[0]||=e=>u(`restart`,`共议服务已重启`)},[W(r,{name:o.value===`restart`?`i-lucide-loader`:`i-lucide-rotate-cw`,class:O({"animate-spin":o.value===`restart`})},null,8,[`name`,`class`]),n[12]||=G(`重启`,-1)],8,yS),U(`button`,{type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!o.value,title:`本机网站与讨论服务都会停止`,onClick:n[1]||=e=>u(`stop`,`共议服务已停止`)},[W(r,{name:o.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:O({"animate-spin":o.value===`stop`})},null,8,[`name`,`class`]),n[13]||=G(`停止`,-1)],8,bS)],64)):(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!o.value,onClick:n[2]||=e=>u(`start`,`共议服务已启动`)},[W(r,{name:o.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:O({"animate-spin":o.value===`start`})},null,8,[`name`,`class`]),n[14]||=G(`启动`,-1)],8,xS))])]),U(`div`,SS,[U(`div`,CS,[W(r,{name:`i-lucide-package`})]),U(`div`,wS,[U(`div`,TS,[G(`版本 v`+k(s.value?.current||a.value.version||N(t).version)+` `,1),s.value?.available?(B(),V(`span`,ES,[W(r,{name:`i-lucide-sparkles`}),G(`可更新到 v`+k(s.value.latest),1)])):s.value?.latest?(B(),V(`span`,DS,[W(r,{name:`i-lucide-check`}),n[15]||=G(`已是最新`,-1)])):K(``,!0)]),U(`span`,OS,k(s.value?.error?`检查失败:${s.value.error}`:s.value?.available?`更新会重启本机服务,进行中的执行会中断,随后在原会话里续跑`:c.value?`正在检查…`:`自动检查 npm 上发布的版本,每小时最多一次`),1)]),U(`div`,kS,[s.value?.available?(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!o.value,onClick:n[4]||=e=>l.value=!0},[W(r,{name:o.value===`update`?`i-lucide-loader`:`i-lucide-download`,class:O({"animate-spin":o.value===`update`})},null,8,[`name`,`class`]),G(k(o.value===`update`?`正在更新…`:`更新`),1)],8,jS)):(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:c.value||!!o.value,onClick:n[3]||=e=>d(!0)},[W(r,{name:`i-lucide-refresh-cw`,class:O({"animate-spin":c.value})},null,8,[`class`]),n[16]||=G(`检查更新`,-1)],8,AS))])]),N(t).platform===`win32`?(B(),V(`div`,MS,[U(`div`,NS,[W(r,{name:`i-lucide-power`})]),U(`div`,PS,[n[17]||=U(`div`,{class:`panel-title`},`登录 Windows 时自动启动`,-1),U(`span`,FS,k(N(t).launcher?`在后台启动网站、讨论服务与任务栏图标,不打开浏览器`:`需要先生成“共议”程序:运行 codiscuss setup 并勾选创建桌面快捷方式`),1)]),U(`div`,IS,[W(i,{"model-value":!!N(t).autostart,loading:o.value===`autostart`,disabled:!!o.value||!N(t).launcher&&!N(t).autostart,"aria-label":`登录 Windows 时自动启动`,"onUpdate:modelValue":_},null,8,[`model-value`,`loading`,`disabled`])])])):K(``,!0)]),N(t).hosting?(B(),H(lS,{key:0})):K(``,!0)]),W(m,{open:l.value,title:`更新共议`,description:`从 v${s.value?.current} 更新到 v${s.value?.latest}`,"onUpdate:open":n[6]||=e=>!e&&(l.value=!1)},{body:P(()=>[U(`p`,LS,[W(r,{name:`i-lucide-info`}),G(`将通过 npm 安装新版本,更新共议内置技能,并重启本机网站与讨论服务。`+k(N(t).hosting?`隔离账号的程序副本和技能也会一起更新,运行中的实例会重启。`:``)+`进行中的讨论会暂停、执行会中断,随后在原会话里自动续跑。工作流不会被覆盖。`,1)]),U(`div`,RS,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[5]||=e=>l.value=!1},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,onClick:p},`更新并重启`)])]),_:1},8,[`open`,`description`]),W(m,{open:!!f.value,title:f.value?.ok?`已更新到 v${f.value?.version}`:`更新失败`,dismissible:!1,"onUpdate:open":n[8]||=e=>!e&&g()},{body:P(()=>[U(`ul`,zS,[(B(!0),V(z,null,_a(f.value?.steps||[],e=>(B(),V(`li`,{key:e,class:O({"is-failed":h(e)})},[W(r,{name:h(e)?`i-lucide-circle-x`:`i-lucide-circle-check`},null,8,[`name`]),G(k(e),1)],2))),128))]),U(`div`,BS,[U(`button`,{type:`button`,class:`panel-button is-primary`,onClick:n[7]||=e=>g()},`完成`)])]),_:1},8,[`open`,`title`])],64)}}},[[`__scopeId`,`data-v-1e9c584a`]]),WS={class:`library`},GS={class:`library-pick`},KS={class:`library-pick`},qS={key:0,class:`library-empty`},JS={class:`library-text`},YS=[`onClick`],XS={key:1,class:`library-prompt`},ZS={class:`library-actions`},QS=[`disabled`],$S={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},eC={class:`panel-form-foot`},tC=Rx({__name:`SkillLibrary`,setup(e){let{state:t,notify:n,refreshed:r}=F(`panel`),i=M([]),a=M(!1),o=M(``),s=M(null),c=M({open:!1,text:``,saved:``,saving:!1});async function l(){try{i.value=await $(`skill-library`)}catch(e){n(`error`,e.message)}}ea(l),I(r,l);function u(e){let t=``,n=new Uint8Array(e);for(let e=0;e<n.length;e+=32768)t+=String.fromCharCode(...n.subarray(e,e+32768));return btoa(t)}async function d(e,t=``){if(e.isFile){let n=await new Promise((t,n)=>e.file(t,n));return[{path:`${t}${n.name}`,data:u(await n.arrayBuffer())}]}let n=e.createReader(),r=[];for(let e=await new Promise((e,t)=>n.readEntries(e,t));e.length;e=await new Promise((e,t)=>n.readEntries(e,t)))r.push(...e);let i=[];for(let n of r)i.push(...await d(n,`${t}${e.name}/`.replace(/^\//,``)));return i}async function f(e,t){o.value=e;try{let e=await $(`skill-library`,t);n(`info`,`已加入技能库:${e.name}`),await l()}catch(t){n(`error`,`${e}:${t.message}`)}finally{o.value=``}}async function p(e){a.value=!1;let t=[...e.dataTransfer.items].map(e=>e.webkitGetAsEntry?.()).filter(Boolean);for(let e of t)if(e.isDirectory)await f(e.name,{name:e.name,files:await d(e)});else if(/\.zip$/i.test(e.name)){let t=await new Promise((t,n)=>e.file(t,n));await f(e.name,{zip:u(await t.arrayBuffer())})}else n(`warning`,`${e.name} 不是文件夹或 .zip,已跳过`)}async function m(e){for(let t of e.target.files)await f(t.name,{zip:u(await t.arrayBuffer())});e.target.value=``}async function h(e){let t=[...e.target.files];if(!t.length)return;let n=t[0].webkitRelativePath.split(`/`)[0];await f(n,{name:n,files:await Promise.all(t.map(async e=>({path:e.webkitRelativePath,data:u(await e.arrayBuffer())})))}),e.target.value=``}async function g(){let e=s.value;s.value=null;try{await $(`skill-library/${e}/remove`,{}),n(`info`,`已从技能库删除 ${e}`),await l()}catch(e){n(`error`,e.message)}}async function _(){if(c.value.open=!c.value.open,c.value.open&&!c.value.saved)try{let{text:e}=await $(`hosted-prompt`);c.value.text=e,c.value.saved=e}catch(e){n(`error`,e.message)}}async function v(){c.value.saving=!0;try{await $(`hosted-prompt`,{text:c.value.text}),c.value.saved=c.value.text,n(`info`,`默认系统提示词已保存,之后初始化的账号会用它`)}catch(e){n(`error`,e.message)}finally{c.value.saving=!1}}let y=e=>e>1048576?`${(e/1048576).toFixed(1)} MB`:`${Math.max(1,Math.round(e/1024))} KB`;return(e,n)=>{let r=Jb,l=Fx;return B(),V(z,null,[U(`div`,WS,[U(`div`,{class:O([`library-drop`,{"is-over":a.value}]),onDragover:n[0]||=pu(e=>a.value=!0,[`prevent`]),onDragleave:n[1]||=e=>a.value=!1,onDrop:pu(p,[`prevent`])},[W(r,{name:o.value?`i-lucide-loader`:`i-lucide-folder-down`,class:O({"animate-spin":o.value})},null,8,[`name`,`class`]),U(`strong`,null,k(o.value?`正在导入 ${o.value}…`:`把技能文件夹或 .zip 拖到这里`),1),U(`small`,null,[n[7]||=G(`技能文件夹里要有 SKILL.md。也可以 `,-1),U(`label`,GS,[n[5]||=G(`选择 .zip`,-1),U(`input`,{type:`file`,accept:`.zip`,multiple:``,hidden:``,onChange:m},null,32)]),n[8]||=G(` 或 `,-1),U(`label`,KS,[n[6]||=G(`选择文件夹`,-1),U(`input`,{type:`file`,webkitdirectory:``,hidden:``,onChange:h},null,32)])])],34),i.value.length?K(``,!0):(B(),V(`p`,qS,`技能库还是空的。导入后,到各账号的“技能”里安装。`)),(B(!0),V(z,null,_a(i.value,e=>(B(),V(`div`,{key:e.name,class:`library-row`},[W(r,{name:`i-lucide-sparkle`,class:`library-icon`}),U(`div`,JS,[U(`strong`,null,k(e.name),1),U(`small`,null,k(e.description||`(SKILL.md 没写描述)`)+` · `+k(e.files)+` 个文件 · `+k(y(e.size)),1)]),U(`button`,{type:`button`,class:`panel-icon-button`,title:`从技能库删除`,"aria-label":`从技能库删除`,onClick:t=>s.value=e.name},[W(r,{name:`i-lucide-trash-2`})],8,YS)]))),128)),N(t).hosting?(B(),V(`div`,XS,[U(`button`,{type:`button`,class:`library-toggle`,onClick:_},[n[9]||=U(`strong`,null,`新账号的默认系统提示词`,-1),n[10]||=U(`small`,null,`初始化 AI 环境时,账号还没有系统提示词就用这一份;不会用你自己的`,-1),W(r,{name:c.value.open?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])]),c.value.open?(B(),V(z,{key:0},[xr(U(`textarea`,{"onUpdate:modelValue":n[2]||=e=>c.value.text=e,class:`panel-input library-area`,spellcheck:`false`},null,512),[[Ql,c.value.text]]),U(`div`,ZS,[U(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:c.value.text===c.value.saved||c.value.saving,onClick:v},`保存`,8,QS)])],64)):K(``,!0)])):K(``,!0)]),W(l,{open:!!s.value,title:`从技能库删除`,"onUpdate:open":n[4]||=e=>!e&&(s.value=null)},{body:P(()=>[U(`p`,$S,`从技能库删除 `+k(s.value)+`。已经装给账号的副本不受影响,需要时在账号页移除。`,1),U(`div`,eC,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[3]||=e=>s.value=null},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,style:{background:`#dc2626`},onClick:g},`删除`)])]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-1ef9ef2d`]]),nC={class:`env`},rC={class:`env-head`},iC={class:`env-tools`},aC=[`disabled`],oC={key:0,class:`panel-note is-amber`},sC={key:1,class:`env-line`},cC={key:0,class:`env-line`},lC={class:`env-text`},uC=[`disabled`],dC={class:`env-block`},fC={key:0,class:`env-empty`},pC=[`title`],mC=[`disabled`,`onClick`],hC={class:`env-block`},gC={key:0,class:`env-empty`},_C={key:1,class:`env-empty`},vC=[`title`],yC=[`disabled`,`onClick`],bC={key:1,class:`env-block`},xC={class:`env-actions`},SC=[`disabled`],CC=Rx({__name:`AccountEnv`,props:{account:{type:String,required:!0}},setup(e){let t=e,{reload:n,notify:r,refreshed:i}=F(`panel`),a=M(null),o=M([]),s=M(!1),c=M(``),l=M(``),u=M(!1),d=M(!1),f=J(()=>!t.account),p=J(()=>f.value?`owner/env`:`accounts/${t.account}/env`);async function m(){s.value=!0;try{let[e,t]=await Promise.all([$(p.value),$(`skill-library`)]);a.value=e,o.value=t,l.value=e.prompt}catch(e){a.value={error:e.message}}finally{s.value=!1}}ea(m),I(i,m),I(()=>t.account,m);let h=J(()=>new Set(o.value.map(e=>e.name)));function g(e){return e.discussion?{label:`共议内置`,tag:`is-blue`,removable:!1}:h.value.has(e.name)?{label:`技能库`,tag:`is-green`,removable:!0}:{label:f.value?`手动安装`:`账号自行安装`,tag:`is-gray`,removable:!f.value}}let _=J(()=>[...a.value?.skills||[]].sort((e,t)=>Number(t.discussion)-Number(e.discussion)||e.name.localeCompare(t.name))),v=J(()=>new Set(_.value.map(e=>e.name))),y=J(()=>o.value.filter(e=>!v.value.has(e.name))),b=J(()=>a.value?.layout&&Object.values(a.value.layout).every(Boolean));async function x(){c.value=`init`;try{await $(`${p.value}/init`,{}),r(`info`,`AI 环境已初始化`),await m(),n()}catch(e){r(`error`,e.message)}finally{c.value=``}}async function S(e,t){c.value=e;try{await $(`${p.value}/skills`,t?{install:[e],remove:[]}:{install:[],remove:[e]}),r(`info`,`${t?`已安装`:`已移除`} ${e}`),await m()}catch(e){r(`error`,e.message)}finally{c.value=``}}async function C(){c.value=`prompt`;try{await $(`${p.value}/prompt`,{text:l.value}),r(`info`,`系统提示词已保存,三家同时生效`),await m()}catch(e){r(`error`,e.message)}finally{c.value=``}}function w(){d.value=!1,m()}return(e,t)=>{let n=Jb,r=Fx;return B(),V(z,null,[U(`div`,nC,[U(`div`,rC,[U(`span`,null,[t[4]||=G(`技能 `,-1),U(`small`,null,k(f.value?`~\\.agents\\skills,由 Claude Code、Codex、Antigravity 共用`:`由 Claude Code、Codex、Antigravity 共用`),1)]),U(`span`,iC,[U(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t[0]||=e=>d.value=!0},[W(n,{name:`i-lucide-library`}),t[5]||=G(`管理技能库`,-1)]),U(`button`,{type:`button`,class:O([`panel-icon-button`,{"is-spinning":s.value}]),disabled:s.value,title:`重新读取`,"aria-label":`重新读取`,onClick:m},[W(n,{name:`i-lucide-refresh-cw`})],10,aC)])]),a.value?.error?(B(),V(`p`,oC,[W(n,{name:`i-lucide-circle-alert`}),G(k(a.value.error),1)])):a.value?(B(),V(z,{key:2},[f.value?K(``,!0):(B(),V(`div`,cC,[W(n,{name:b.value?`i-lucide-circle-check`:`i-lucide-circle-dashed`,class:O(b.value?`is-ok`:`is-warn`)},null,8,[`name`,`class`]),U(`div`,lC,[U(`strong`,null,k(b.value?`AI 环境已初始化`:`AI 环境未初始化`),1),U(`small`,null,k(b.value?`已安装共议内置技能、系统提示词与随包工作流`:`初始化将安装共议内置技能、系统提示词与随包工作流`),1)]),U(`button`,{type:`button`,class:O([`panel-button is-small`,b.value?`is-outline`:`is-primary`]),disabled:!!c.value,onClick:x},[W(n,{name:c.value===`init`?`i-lucide-loader`:`i-lucide-wand-sparkles`,class:O({"animate-spin":c.value===`init`})},null,8,[`name`,`class`]),G(k(b.value?`重新初始化`:`初始化`),1)],10,uC)])),U(`div`,dC,[U(`strong`,null,`已安装(`+k(_.value.length)+`)`,1),_.value.length?K(``,!0):(B(),V(`p`,fC,`暂无已安装技能。`)),(B(!0),V(z,null,_a(_.value,e=>(B(),V(`div`,{key:e.name,class:`env-skill`},[U(`span`,null,[U(`b`,null,k(e.name),1),U(`em`,{class:O(g(e).tag)},k(g(e).label),3),U(`small`,{title:e.description},k(e.description||`(SKILL.md 没写描述)`),9,pC)]),g(e).removable?(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t=>S(e.name,!1)},[c.value===e.name?(B(),H(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):K(``,!0),t[6]||=G(`移除`,-1)],8,mC)):K(``,!0)]))),128))]),U(`div`,hC,[t[8]||=U(`strong`,null,`可从技能库安装`,-1),o.value.length?y.value.length?K(``,!0):(B(),V(`p`,_C,`技能库中的技能均已安装。`)):(B(),V(`p`,gC,`技能库为空。请先通过“管理技能库”导入技能。`)),(B(!0),V(z,null,_a(y.value,e=>(B(),V(`div`,{key:e.name,class:`env-skill`},[U(`span`,null,[U(`b`,null,k(e.name),1),U(`small`,{title:e.description},k(e.description||`(SKILL.md 没写描述)`),9,vC)]),U(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t=>S(e.name,!0)},[W(n,{name:c.value===e.name?`i-lucide-loader`:`i-lucide-plus`,class:O({"animate-spin":c.value===e.name})},null,8,[`name`,`class`]),t[7]||=G(`安装`,-1)],8,yC)]))),128))]),f.value?K(``,!0):(B(),V(`div`,bC,[U(`button`,{type:`button`,class:`env-toggle`,onClick:t[1]||=e=>u.value=!u.value},[t[9]||=U(`strong`,null,`系统提示词`,-1),t[10]||=U(`small`,null,`三家共用一份(~\\.codex\\AGENTS.md,另两份是它的硬链接)`,-1),W(n,{name:u.value?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])]),u.value?(B(),V(z,{key:0},[xr(U(`textarea`,{"onUpdate:modelValue":t[2]||=e=>l.value=e,class:`panel-input env-prompt`,spellcheck:`false`},null,512),[[Ql,l.value]]),U(`div`,xC,[U(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:l.value===a.value.prompt||!!c.value,onClick:C},[c.value===`prompt`?(B(),H(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):K(``,!0),t[11]||=G(`保存`,-1)],8,SC)])],64)):K(``,!0)]))],64)):(B(),V(`p`,sC,`读取中…`))]),W(r,{open:d.value,title:`技能库`,description:`集中存放导入的技能,可在各账号的技能分区中安装。`,ui:{content:`max-w-3xl`},"onUpdate:open":t[3]||=e=>!e&&w()},{body:P(()=>[W(tC)]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-f193e23e`]]),wC={class:`keys`},TC={class:`keys-head`},EC={class:`panel-chips`},DC=[`onClick`],OC=[`src`],kC={class:`panel-field`},AC={class:`panel-field`},jC={key:0},MC={class:`panel-form-foot`,style:{"margin-top":`4px`}},NC=[`disabled`],PC={key:1,class:`keys-empty`},FC={key:0,class:`keys-group`},IC=[`src`],LC={class:`keys-text`},RC={key:0,class:`panel-tag is-gray`},zC=[`onClick`],BC={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},VC={class:`panel-form-foot`},HC=Rx({__name:`AccountKeys`,props:{account:{type:String,required:!0}},emits:[`changed`],setup(e,{emit:t}){let n=e,r=t,{state:i,notify:a,refreshed:o}=F(`panel`),s=M([]),c=M(!1),l=M(!1),u=M(null),d=J(()=>Object.entries(i.value.providers||{}).filter(([e])=>e!==`OpenAI`).map(([e,t])=>({key:e,...t}))),f=M({preset:``,base_url:``,api_key:``}),p=J(()=>n.account?`accounts/${n.account}/keys`:`owner/keys`),m=e=>!e.speech||jx(i.value.providers,e.base_url).key!==`Custom`,h=J(()=>[{title:`模型 API(API 成员调用)`,keys:s.value.filter(m)},{title:`语音服务(朗读与语音输入)`,keys:s.value.filter(e=>!m(e))}]);function g(e){if(e.speech&&!m(e))return e.speech.label;let t=jx(i.value.providers,e.base_url);if(t.key!==`Custom`)return t.label;try{return new URL(e.base_url).hostname.replace(/^api\./,``)}catch{return e.base_url}}async function _(){try{s.value=await $(p.value)}catch(e){a(`error`,e.message)}}ea(_),I(o,_),I(()=>n.account,_);function v(){let e=d.value[0];f.value={preset:e?.key||`Custom`,base_url:e?.base_url||``,api_key:``},c.value=!0}function y(e){f.value.preset=e.key,f.value.base_url=e.base_url||``}async function b(){l.value=!0;try{await $(p.value,{base_url:f.value.base_url.trim(),api_key:f.value.api_key}),a(`info`,`API 密钥已保存`),c.value=!1,await _(),r(`changed`)}catch(e){a(`error`,e.message)}finally{l.value=!1}}async function x(){let e=u.value;u.value=null;try{await $(`${p.value}/remove`,{ref:e.ref}),a(`info`,`已删除`),await _(),r(`changed`)}catch(e){a(`error`,e.message)}}return(t,n)=>{let r=Jb,a=Fx;return B(),V(z,null,[U(`div`,wC,[U(`div`,TC,[n[6]||=U(`span`,null,[G(`API 密钥 `),U(`small`,null,`供 API 成员(DeepSeek、Kimi 等)与语音服务调用`)],-1),c.value?K(``,!0):(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-outline is-small`,onClick:v},[W(r,{name:`i-lucide-plus`}),n[5]||=G(`添加密钥`,-1)]))]),c.value?(B(),V(`form`,{key:0,class:`keys-form`,onSubmit:pu(b,[`prevent`])},[U(`div`,EC,[(B(!0),V(z,null,_a(d.value,e=>(B(),V(`button`,{key:e.key,type:`button`,class:O([`panel-chip`,{"is-active":f.value.preset===e.key}]),onClick:t=>y(e)},[N(Ax)(e.key)?(B(),V(`img`,{key:0,src:N(Ax)(e.key),alt:``},null,8,OC)):K(``,!0),G(k(e.key===`Custom`?`自定义接口`:e.label),1)],10,DC))),128))]),U(`label`,kC,[n[7]||=G(`接口地址`,-1),xr(U(`input`,{"onUpdate:modelValue":n[0]||=e=>f.value.base_url=e,class:`panel-input`,placeholder:`https://…`,spellcheck:`false`},null,512),[[Ql,f.value.base_url]])]),U(`label`,AC,[n[8]||=G(`密钥`,-1),xr(U(`input`,{"onUpdate:modelValue":n[1]||=e=>f.value.api_key=e,class:`panel-input`,type:`password`,placeholder:`粘贴密钥`,autocomplete:`off`,spellcheck:`false`},null,512),[[Ql,f.value.api_key]]),e.account?(B(),V(`small`,jC,`该账号的 API 成员直接使用,界面只显示“管理员提供”,对方无法查看或更换。`)):K(``,!0)]),U(`div`,MC,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[2]||=e=>c.value=!1},`取消`),U(`button`,{type:`submit`,class:`panel-button is-primary`,disabled:!f.value.base_url.trim()||!f.value.api_key.trim()||l.value},`保存`,8,NC)])],32)):s.value.length?K(``,!0):(B(),V(`p`,PC,`暂无密钥。不使用 API 成员或云端语音时无需配置。`)),(B(!0),V(z,null,_a(h.value,t=>(B(),V(z,{key:t.title},[t.keys.length?(B(),V(`div`,FC,k(t.title),1)):K(``,!0),(B(!0),V(z,null,_a(t.keys,t=>(B(),V(`div`,{key:t.ref,class:`keys-row`},[N(Ax)(N(jx)(N(i).providers,t.base_url).key)?(B(),V(`img`,{key:0,src:N(Ax)(N(jx)(N(i).providers,t.base_url).key),alt:``},null,8,IC)):(B(),H(r,{key:1,name:t.speech?`i-lucide-audio-lines`:`i-lucide-key-round`,class:`keys-icon`},null,8,[`name`])),U(`div`,LC,[U(`strong`,null,[G(k(g(t))+` `,1),(B(!0),V(z,null,_a(t.speech?.uses||[],e=>(B(),V(`span`,{key:e,class:`panel-tag is-gray`},k(e),1))),128)),t.speech?.local?(B(),V(`span`,RC,`访问令牌`)):K(``,!0),e.account?(B(),V(`span`,{key:1,class:O([`panel-tag`,t.managed?`is-blue`:`is-gray`])},k(t.managed?`管理员提供`:`账号自行填写`),3)):K(``,!0)]),U(`small`,null,k(t.base_url)+` · 尾号 ••••`+k(t.tail),1)]),U(`button`,{type:`button`,class:`panel-icon-button`,title:`删除`,"aria-label":`删除密钥`,onClick:e=>u.value=t},[W(r,{name:`i-lucide-trash-2`})],8,zC)]))),128))],64))),128))]),W(a,{open:!!u.value,title:`删除 API 密钥`,"onUpdate:open":n[4]||=e=>!e&&(u.value=null)},{body:P(()=>[U(`p`,BC,`删除后,使用该密钥的`+k(u.value?.speech?`语音服务`:` API 成员`)+`将无法调用。`,1),U(`div`,VC,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[3]||=e=>u.value=null},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,style:{background:`#dc2626`},onClick:x},`删除`)])]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-74e7a29f`]]),UC={class:`panel-chips`,style:{"margin-bottom":`16px`}},WC=[`onClick`],GC={key:0,class:`panel-note`,style:{"margin-bottom":`14px`}},KC={key:0,class:`panel-chips`,style:{"margin-bottom":`12px`}},qC=[`onClick`],JC=[`onUpdate:modelValue`,`placeholder`],YC=[`onUpdate:modelValue`,`type`,`placeholder`],XC={class:`panel-form-foot`},ZC=[`disabled`],QC={key:0,class:`panel-form-foot`,style:{"margin-top":`0`}},$C={key:0,class:`panel-note`},ew={key:1,class:`login-link`},tw=[`href`],nw={key:2,class:`panel-secret`,style:{"margin-top":`12px`}},rw=[`placeholder`],iw=[`disabled`],aw={key:4,class:`panel-note is-amber`,style:{"margin-top":`12px`}},ow={key:5,class:`panel-form-foot`},sw=Rx({__name:`LoginDialog`,props:{open:Boolean,target:{type:String,default:`_`},who:{type:String,default:``},cli:{type:Object,default:null},methods:{type:Array,default:()=>[]}},emits:[`update:open`,`done`],setup(e,{emit:t}){let n=e,r=t,i={token:{label:`令牌`,secret:!0},key:{label:`API 密钥`,secret:!0},base_url:{label:`接口地址`,placeholder:`https://…`},model:{label:`模型`,placeholder:`可空:用该服务的默认模型`},small_model:{label:`后台任务用的小模型`,placeholder:`可空:与上面相同`},env:{label:`环境变量`,multiline:!0,placeholder:`每行一个:名称=值
33
- 例如 CLAUDE_CODE_USE_BEDROCK=1`}},a={"claude:setup_token":`在任意一台已登录 Claude 的电脑上运行 claude setup-token,把生成的令牌(sk-ant-oat01-…)粘贴到这里。有效期一年,最稳定。`,"claude:subscription":`用 Claude Pro / Max / Team 账号登录。在任意设备打开下面的链接并同意,再把页面显示的授权码粘贴回来。`,"claude:console":`用 Anthropic Console 账号登录,按 API 用量计费。在任意设备打开链接并同意,再把授权码粘贴回来。`,"claude:api_key":`Anthropic Console 创建的 API 密钥(sk-ant-api03-…),按用量计费。`,"claude:third_party":`支持 Anthropic 接口的服务,例如 DeepSeek、智谱、Kimi、OpenRouter。后台任务也会用这里的模型。`,"claude:env":`写进 Claude Code 的 settings.json,用于 Bedrock、Vertex、Foundry、企业网关等。已有的登录相关变量会先被清除。`,"codex:chatgpt":`在任意设备打开链接并登录 ChatGPT。浏览器最后会跳到一个打不开的 localhost 地址,把地址栏里的整段地址粘贴回来。`,"codex:device":`需要先在 ChatGPT 的安全设置里开启“设备代码登录”。在任意设备打开链接,输入下面的一次性码,完成后这里会自动结束。`,"codex:api_key":`OpenAI 平台的 API 密钥,按用量计费。`,"codex:third_party":`Codex 只支持 Responses 接口;只提供 chat/completions 的服务接不上。与官方账号共用供应商 custom,来回切换会话都能续接。若这台电脑之前没用过 custom,原来的会话不会出现在列表里。`,"codex:access_token":`仅 ChatGPT Enterprise:管理员发放的访问令牌。`,"agy:google":`在任意设备打开链接,用 Google 账号登录并同意,再把页面显示的授权码粘贴回来。`},o=[{label:`DeepSeek`,base_url:`https://api.deepseek.com/anthropic`},{label:`智谱 GLM`,base_url:`https://open.bigmodel.cn/api/anthropic`},{label:`Kimi`,base_url:`https://api.moonshot.cn/anthropic`},{label:`OpenRouter`,base_url:`https://openrouter.ai/api`}],s=M(``),c=M({}),l=M(!1),u=M(null),d=M({}),f=M(``),p=M(!1),m=null,h=J(()=>n.methods.find(e=>e.key===s.value)||null),g=J(()=>a[`${n.cli?.key}:${s.value}`]||``),_=e=>e===`key`&&s.value===`access_token`?`访问令牌`:e===`token`&&s.value===`third_party`?`密钥`:i[e].label;function v(){clearInterval(m),m=null,u.value&&!d.value.ended&&$(`login-jobs/${u.value}/cancel`,{}).catch(()=>{}),u.value=null,d.value={},f.value=``}function y(e){v(),s.value=e,c.value={}}I(()=>n.open,e=>{e?y(n.methods[0]?.key||``):v()}),ra(v);async function b(){l.value=!0;try{await $(`logins/${n.target}/${n.cli.key}/apply`,{method:s.value,...c.value}),r(`done`,`${n.cli.label} 已配置`),r(`update:open`,!1)}catch(e){r(`done`,e.message,`error`)}finally{l.value=!1}}async function x(){v();try{let{id:e}=await $(`logins/${n.target}/${n.cli.key}/start`,{method:s.value});u.value=e,m=setInterval(async()=>{try{d.value=await $(`login-jobs/${e}`),d.value.ended&&(clearInterval(m),d.value.done&&(r(`done`,`${n.cli.label} 已登录`),r(`update:open`,!1)))}catch(e){clearInterval(m),d.value={ended:!0,error:e.message}}},1500)}catch(e){r(`done`,e.message,`error`)}}async function S(){p.value=!0;try{await $(`login-jobs/${u.value}/submit`,{text:f.value}),f.value=``}catch(e){d.value={...d.value,error:e.message}}finally{p.value=!1}}async function C(e){try{await navigator.clipboard.writeText(e)}catch{}}return(t,n)=>{let a=Jb,m=Fx;return B(),H(m,{open:e.open,title:`登录 ${e.cli?.label||``}`,description:e.who,"onUpdate:open":n[3]||=e=>r(`update:open`,e)},{body:P(()=>[U(`div`,UC,[(B(!0),V(z,null,_a(e.methods,e=>(B(),V(`button`,{key:e.key,type:`button`,class:O([`panel-chip`,{"is-active":s.value===e.key}]),onClick:t=>y(e.key)},k(e.label),11,WC))),128))]),g.value?(B(),V(`p`,GC,[W(a,{name:`i-lucide-info`}),G(k(g.value),1)])):K(``,!0),h.value&&!h.value.interactive?(B(),V(z,{key:1},[e.cli?.key===`claude`&&s.value===`third_party`?(B(),V(`div`,KC,[(B(),V(z,null,_a(o,e=>U(`button`,{key:e.label,type:`button`,class:O([`panel-chip`,{"is-active":c.value.base_url===e.base_url}]),onClick:t=>c.value={...c.value,base_url:e.base_url}},k(e.label),11,qC)),64))])):K(``,!0),U(`form`,{class:`login-fields`,onSubmit:pu(b,[`prevent`])},[(B(!0),V(z,null,_a(h.value.fields,e=>(B(),V(`label`,{key:e,class:`panel-field`},[G(k(_(e))+` `,1),i[e].multiline?xr((B(),V(`textarea`,{key:0,"onUpdate:modelValue":t=>c.value[e]=t,class:`panel-input login-area`,placeholder:i[e].placeholder,spellcheck:`false`},null,8,JC)),[[Ql,c.value[e]]]):xr((B(),V(`input`,{key:1,"onUpdate:modelValue":t=>c.value[e]=t,class:`panel-input`,type:i[e].secret?`password`:`text`,placeholder:i[e].placeholder,autocomplete:`off`,spellcheck:`false`},null,8,YC)),[[su,c.value[e]]])]))),128))],32),U(`div`,XC,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[0]||=e=>r(`update:open`,!1)},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,disabled:l.value,onClick:b},[l.value?(B(),H(a,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):K(``,!0),n[4]||=G(`保存`,-1)],8,ZC)])],64)):h.value?(B(),V(z,{key:2},[u.value?(B(),V(z,{key:1},[!d.value.link&&!d.value.ended?(B(),V(`p`,$C,[W(a,{name:`i-lucide-loader`,class:`animate-spin`}),G(`正在启动 `+k(e.cli?.label)+` 的登录…`,1)])):K(``,!0),d.value.link?(B(),V(`div`,ew,[U(`a`,{href:d.value.link,target:`_blank`,rel:`noopener`},k(d.value.link),9,tw),U(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:n[1]||=e=>C(d.value.link)},[W(a,{name:`i-lucide-copy`}),n[6]||=G(`复制链接`,-1)])])):K(``,!0),d.value.user_code?(B(),V(`p`,nw,[U(`span`,null,k(d.value.user_code),1),n[7]||=U(`small`,{style:{font:`12px system-ui`,color:`#6b7280`}},`一次性码,15 分钟内有效`,-1)])):K(``,!0),d.value.link&&d.value.asks&&!d.value.ended?(B(),V(`form`,{key:3,class:`login-answer`,onSubmit:pu(S,[`prevent`])},[xr(U(`input`,{"onUpdate:modelValue":n[2]||=e=>f.value=e,class:`panel-input`,placeholder:d.value.asks===`callback`?`粘贴浏览器最后跳到的地址(http://localhost:1455/auth/callback?…)`:`粘贴授权码`,autocomplete:`off`,spellcheck:`false`},null,8,rw),[[Ql,f.value]]),U(`button`,{type:`submit`,class:`panel-button is-primary`,disabled:!f.value.trim()||p.value},`提交`,8,iw)],32)):K(``,!0),d.value.error?(B(),V(`p`,aw,[W(a,{name:`i-lucide-circle-alert`}),G(k(d.value.error),1)])):K(``,!0),d.value.ended&&!d.value.done?(B(),V(`div`,ow,[U(`button`,{type:`button`,class:`panel-button is-primary`,onClick:x},[W(a,{name:`i-lucide-rotate-cw`}),n[8]||=G(`重新开始`,-1)])])):K(``,!0)],64)):(B(),V(`div`,QC,[U(`button`,{type:`button`,class:`panel-button is-primary`,onClick:x},[W(a,{name:`i-lucide-log-in`}),n[5]||=G(`开始登录`,-1)])]))],64)):K(``,!0)]),_:1},8,[`open`,`title`,`description`])}}},[[`__scopeId`,`data-v-bf3c61cd`]]),cw={class:`login-card`},lw={class:`login-head`},uw=[`disabled`],dw={key:0,class:`panel-note is-amber`},fw=[`src`],pw={class:`login-text`},mw=[`title`],hw=[`onClick`],gw=[`onClick`],_w=[`disabled`,`onClick`],vw=Rx({__name:`LoginCard`,props:{target:{type:String,required:!0},who:{type:String,required:!0}},emits:[`status`],setup(e,{expose:t,emit:n}){let r=e,i=n,{state:a,notify:o,refreshed:s}=F(`panel`),c=[{key:`claude`,label:`Claude Code`,icon:`/icons/claude.svg`},{key:`codex`,label:`Codex`,icon:`/icons/openai.svg`},{key:`agy`,label:`Antigravity`,icon:`/icons/gemini.svg`}],l={setup_token:`Setup Token`,subscription:`Claude 账号`,api_key:`API 密钥`,api_key_helper:`密钥脚本`,third_party:`第三方 API`,chatgpt:`ChatGPT 账号`,access_token:`访问令牌`,google:`Google 账号`},u=M(null),d=M(!1),f=M({open:!1,cli:null});async function p(){d.value=!0;try{u.value=await $(`logins/${r.target}`)}catch(e){u.value={error:e.message}}finally{d.value=!1,i(`status`,u.value)}}ea(p),I(s,p),I(()=>r.target,p),t({check:p});let m=e=>u.value?.[e.key]||null;function h(e){return e?e.installed?e.signed_in?`${l[e.method]||e.method}${e.detail?` · ${e.detail}`:``}`:e.error?`无法读取:${e.error}`:`未登录`:`这台电脑上没有安装`:d.value?`检查中…`:`—`}function g(e){f.value={open:!0,cli:e}}function _(e,t=`info`){o(t,e),t!==`error`&&p()}async function v(e){try{await $(`logins/${r.target}/${e.key}/logout`,{}),o(`info`,`${e.label} 已退出登录`),p()}catch(e){o(`error`,e.message)}}return(t,n)=>{let r=Jb;return B(),V(z,null,[U(`div`,cw,[U(`div`,lw,[n[1]||=U(`span`,null,`命令行登录`,-1),U(`button`,{type:`button`,class:O([`panel-icon-button`,{"is-spinning":d.value}]),disabled:d.value,title:`重新检查`,"aria-label":`重新检查登录状态`,onClick:p},[W(r,{name:`i-lucide-refresh-cw`})],10,uw)]),u.value?.error?(B(),V(`p`,dw,[W(r,{name:`i-lucide-circle-alert`}),G(k(u.value.error),1)])):(B(),V(z,{key:1},_a(c,e=>U(`div`,{key:e.key,class:`login-row`},[U(`img`,{src:e.icon,alt:``},null,8,fw),U(`div`,pw,[U(`strong`,null,k(e.label),1),U(`small`,{class:O({"is-ok":m(e)?.signed_in,"is-warn":m(e)&&m(e).installed&&!m(e).signed_in}),title:h(m(e))},[m(e)?.signed_in?(B(),H(r,{key:0,name:`i-lucide-circle-check`})):m(e)?.installed?(B(),H(r,{key:1,name:`i-lucide-circle-dashed`})):K(``,!0),G(k(h(m(e))),1)],10,mw)]),m(e)?.signed_in?(B(),V(z,{key:0},[U(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t=>g(e)},[W(r,{name:`i-lucide-arrow-left-right`}),n[2]||=G(`切换方式`,-1)],8,hw),U(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:t=>v(e)},`退出`,8,gw)],64)):(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!m(e)?.installed,onClick:t=>g(e)},[W(r,{name:`i-lucide-log-in`}),n[3]||=G(`登录`,-1)],8,_w))])),64))]),W(sw,{open:f.value.open,"onUpdate:open":n[0]||=e=>f.value.open=e,target:e.target,who:e.who,cli:f.value.cli,methods:f.value.cli&&N(a).login_methods?.[f.value.cli.key]||[],onDone:_},null,8,[`open`,`target`,`who`,`cli`,`methods`])],64)}}},[[`__scopeId`,`data-v-7c8aaab2`]]),yw={key:0},bw={class:`panel-form-head`},xw={key:0,class:`panel-tag is-amber`},Sw={class:`panel-list`},Cw={class:`panel-card`},ww={class:`panel-tile`},Tw={class:`panel-main`},Ew={class:`detail-address`},Dw=[`href`],Ow={class:`panel-sub`,style:{"white-space":`normal`}},kw=[`href`],Aw={class:`panel-side`},jw=[`disabled`],Mw=[`disabled`],Nw=[`disabled`],Pw=[`disabled`],Fw=[`disabled`],Iw={class:`panel-card`},Lw={class:`panel-tile`},Rw={class:`panel-main`},zw={class:`panel-title`},Bw={class:`panel-sub`,style:{"white-space":`normal`}},Vw={class:`panel-side`},Hw=[`disabled`],Uw=[`disabled`],Ww={class:`panel-card`},Gw={class:`panel-tile`},Kw={class:`panel-main`},qw={class:`panel-title`},Jw={class:`panel-sub`,style:{"white-space":`normal`}},Yw={class:`panel-side`},Xw=[`disabled`],Zw=[`disabled`],Qw={class:`panel-card is-tall`},$w={key:1,class:`detail-shared`},eT={class:`panel-note`,style:{margin:`0`,flex:`1`}},tT={key:0,class:`panel-card is-tall`},nT={key:1,class:`panel-card`},rT={class:`panel-tile`},iT={class:`panel-side`},aT=[`disabled`],oT={class:`panel-card is-tall`},sT={class:`detail-danger`},cT=[`disabled`],lT={key:1,class:`panel-empty`},uT={class:`panel-secret`},dT={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},fT={class:`panel-form-foot`},pT=Rx({__name:`AccountDetail`,props:{name:{type:String,required:!0}},emits:[`owner`],setup(e,{emit:t}){let n=e,r=t,{state:i,reload:a,notify:o}=F(`panel`),s=J(()=>i.value.accounts.find(e=>e.name===n.name)||null),c=M(``),l=M(null),u=M(null),d=J(()=>Mx(i.value.entry));async function f(e,t){c.value=e;try{let i=await $(`accounts/${n.name}/${e}`,{});i.password?l.value={title:`${n.name} 的新密码`,password:i.password}:t&&o(`info`,typeof t==`function`?t(i):t),await a(),e===`remove`&&r(`owner`)}catch(e){o(`error`,e.message)}finally{c.value=``}}let p=e=>{let t=(e.skills||[]).reduce((e,t)=>e+t.installed.length+t.updated.length,0),n=[...new Set((e.skills||[]).flatMap(e=>e.conflict))],r=(e.workflows||[]).map(e=>e.name);return[t?`已安装或更新 ${t} 份技能`:`技能已是最新`,r.length?`新装工作流 ${r.join(`、`)}`:``,n.length?`${n.join(`、`)} 被改过,未覆盖`:``].filter(Boolean).join(`;`)},m={"os-user":{title:`创建 Windows 用户`,label:`创建`,message:`Windows 用户已创建`,text:()=>`为 ${n.name} 建一个普通 Windows 用户。之后它的 AI 以这个用户运行,读不到你的个人文件,登录也和你分开。电脑会弹出一次管理员确认,请在这台电脑上点“是”。`},"os-user/remove":{title:`删除 Windows 用户`,label:`删除`,message:`Windows 用户已删除`,text:()=>`删除 ${s.value?.os_user} 及其个人目录(其中的命令行登录和技能一并删除)。账号本身和它的项目文件保留。电脑会弹出一次管理员确认。`},"protect-off":{title:`关闭入口保护`,label:`关闭`,message:`入口保护已关闭`,text:()=>`关闭后,${n.name} 的工作台不再要求先证明身份,这台电脑上的其他程序(包括其他账号的 AI)又能直接访问它。正在运行的实例会重启一次。`},disable:{title:`停用账号`,label:`停用`,message:`账号已停用`,text:()=>`${n.name} 的所有登录立即失效,也无法再登录;实例和文件都保留,随时可以重新启用。`},remove:{title:`删除账号`,label:`删除`,message:`账号已删除`,text:()=>`删除后 ${n.name} 无法再登录。它的文件夹 ${s.value?.home} 会保留,需要时手动删除。`}};function h(e){u.value={action:e,...m[e]}}async function g(){let{action:e,message:t}=u.value;if(u.value=null,e===`protect-off`)return _(!1,t);await f(e,t)}async function _(e,t){c.value=`protect`;try{await $(`accounts/${n.name}/protect`,{on:e}),o(`info`,t),await a()}catch(e){o(`error`,e.message)}finally{c.value=``}}async function v(e){try{await navigator.clipboard.writeText(e),o(`info`,`已复制`)}catch{o(`error`,`复制失败,请手动选中复制`)}}return(e,t)=>{let n=Jb,o=Fx;return B(),V(z,null,[s.value?(B(),V(`section`,yw,[U(`div`,bw,[U(`h2`,null,k(s.value.name),1),U(`span`,{class:O([`panel-tag`,s.value.running?`is-green`:`is-gray`])},k(s.value.running?`运行中`:`已停止`),3),U(`span`,{class:O([`panel-tag`,s.value.os_user?`is-blue`:`is-amber`])},k(s.value.os_user?`已隔离 · ${s.value.os_user}`:`未隔离`),3),s.value.disabled?(B(),V(`span`,xw,`已停用`)):K(``,!0)]),U(`div`,Sw,[U(`article`,Cw,[U(`div`,ww,[W(n,{name:`i-lucide-globe`})]),U(`div`,Tw,[t[19]||=U(`div`,{class:`panel-title`},`网站`,-1),U(`span`,Ew,[U(`a`,{class:`panel-link`,href:d.value,target:`_blank`,rel:`noopener`},k(d.value),9,Dw),U(`button`,{type:`button`,class:`panel-icon-button`,"aria-label":`复制入口地址和账号名`,onClick:t[0]||=e=>v(`地址 ${d.value},账号 ${s.value.name}`)},[W(n,{name:`i-lucide-copy`})])]),U(`span`,Ow,[t[17]||=G(`对方打开这个地址,用账号名和密码登录`,-1),N(i).entry?.running?N(i).entry?.public_url?K(``,!0):(B(),V(z,{key:1},[G(`;没设外网地址,只有这台电脑能打开`)],64)):(B(),V(z,{key:0},[G(`;入口没有在运行,到“概览”启动`)],64)),t[18]||=G(`。本机直接打开:`,-1),U(`a`,{class:`panel-link`,href:`http://127.0.0.1:${s.value.port}/`,target:`_blank`,rel:`noopener`},`127.0.0.1:`+k(s.value.port),9,kw)])]),U(`div`,Aw,[U(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[1]||=e=>f(`password`)},[W(n,{name:`i-lucide-key-round`}),t[20]||=G(`重设密码`,-1)],8,jw),s.value.disabled?(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[2]||=e=>f(`enable`,`账号已启用`)},[W(n,{name:`i-lucide-user-check`}),t[21]||=G(`启用`,-1)],8,Mw)):(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[3]||=e=>h(`disable`)},[W(n,{name:`i-lucide-user-x`}),t[22]||=G(`停用`,-1)],8,Nw)),s.value.running?(B(),V(`button`,{key:3,type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[5]||=e=>f(`stop`,`实例已停止`)},[W(n,{name:c.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:O({"animate-spin":c.value===`stop`})},null,8,[`name`,`class`]),t[24]||=G(`停止`,-1)],8,Fw)):(B(),V(`button`,{key:2,type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[4]||=e=>f(`start`,`实例已启动`)},[W(n,{name:c.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:O({"animate-spin":c.value===`start`})},null,8,[`name`,`class`]),t[23]||=G(`启动`,-1)],8,Pw))])]),U(`article`,Iw,[U(`div`,Lw,[W(n,{name:s.value.os_user?`i-lucide-shield-check`:`i-lucide-shield-alert`},null,8,[`name`])]),U(`div`,Rw,[U(`div`,zw,k(s.value.os_user?`已隔离`:`未隔离`),1),U(`span`,Bw,k(s.value.os_user?`以 Windows 用户 ${s.value.os_user} 运行:读不到你的个人文件,命令行登录、技能都是它自己的。`:`它的 AI 以你的身份运行,能读到这台电脑上你的文件,命令行登录和技能也用你的。给别人用时建议隔离。`),1)]),U(`div`,Vw,[s.value.os_user?(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[6]||=e=>h(`os-user/remove`)},`取消隔离`,8,Hw)):(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[7]||=e=>h(`os-user`)},[W(n,{name:c.value===`os-user`?`i-lucide-loader`:`i-lucide-shield-plus`,class:O({"animate-spin":c.value===`os-user`})},null,8,[`name`,`class`]),t[25]||=G(`隔离`,-1)],8,Uw))])]),U(`article`,Ww,[U(`div`,Gw,[W(n,{name:s.value.protected?`i-lucide-lock`:`i-lucide-lock-open`},null,8,[`name`])]),U(`div`,Kw,[U(`div`,qw,[t[26]||=G(`入口保护 `,-1),U(`span`,{class:O([`panel-tag`,s.value.protected?`is-green`:`is-amber`])},k(s.value.protected?`已开启`:`未开启`),3)]),U(`span`,Jw,k(s.value.protected?`它的工作台只接受先证明身份的访问:经入口登录的人和它自己的 AI 能用,这台电脑上的其他程序(包括其他账号的 AI)访问不到。从上面的本机链接直接打开会被拒绝。`:`这台电脑上的其他程序(包括其他账号的 AI)能直接访问它的工作台。给别人用时建议开启。`),1)]),U(`div`,Yw,[s.value.protected?(B(),V(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[8]||=e=>h(`protect-off`)},`关闭`,8,Xw)):(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[9]||=e=>_(!0,`入口保护已开启`)},[W(n,{name:c.value===`protect`?`i-lucide-loader`:`i-lucide-lock`,class:O({"animate-spin":c.value===`protect`})},null,8,[`name`,`class`]),t[27]||=G(`开启`,-1)],8,Zw))])]),U(`article`,Qw,[s.value.os_user?(B(),H(vw,{key:0,target:s.value.name,who:`托管账号 ${s.value.name}`},null,8,[`target`,`who`])):(B(),V(`div`,$w,[U(`p`,eT,[W(n,{name:`i-lucide-info`}),t[28]||=G(`未隔离账号与管理员共用命令行登录;隔离后将使用独立登录。`,-1)]),U(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t[10]||=e=>r(`owner`)},`查看管理员登录`)]))]),s.value.os_user?(B(),V(`article`,tT,[W(CC,{account:s.value.name},null,8,[`account`])])):(B(),V(`article`,nT,[U(`div`,rT,[W(n,{name:`i-lucide-sparkles`})]),t[30]||=U(`div`,{class:`panel-main`},[U(`div`,{class:`panel-title`},`技能与工作流`),U(`span`,{class:`panel-sub`,style:{"white-space":`normal`}},`未隔离账号与管理员共用技能与系统提示词,可在“管理员”中查看。此处仅补装该账号缺少的随包工作流,不覆盖已有工作流。`)],-1),U(`div`,iT,[U(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[11]||=e=>f(`env/init`,p)},[W(n,{name:c.value===`env/init`?`i-lucide-loader`:`i-lucide-download`,class:O({"animate-spin":c.value===`env/init`})},null,8,[`name`,`class`]),t[29]||=G(`补齐工作流`,-1)],8,aT)])])),U(`article`,oT,[W(HC,{account:s.value.name,onChanged:N(a)},null,8,[`account`,`onChanged`])]),U(`div`,sT,[U(`button`,{type:`button`,class:`panel-button is-plain is-small`,style:{color:`#dc2626`},disabled:!!c.value,onClick:t[12]||=e=>h(`remove`)},[W(n,{name:`i-lucide-trash-2`}),t[31]||=G(`删除账号`,-1)],8,cT)])])])):(B(),V(`section`,lT,[W(n,{name:`i-lucide-user-x`}),t[32]||=G(`账号已不存在。`,-1)])),W(o,{open:!!l.value,title:l.value?.title,description:`密码只显示这一次,请现在交给对方。`,"onUpdate:open":t[14]||=e=>!e&&(l.value=null)},{body:P(()=>[U(`div`,uT,[U(`span`,null,k(l.value?.password),1),U(`button`,{type:`button`,class:`panel-icon-button`,"aria-label":`复制密码`,onClick:t[13]||=e=>v(l.value.password)},[W(n,{name:`i-lucide-copy`})])])]),_:1},8,[`open`,`title`]),W(o,{open:!!u.value,title:u.value?.title,"onUpdate:open":t[16]||=e=>!e&&(u.value=null)},{body:P(()=>[U(`p`,dT,k(u.value?.text()),1),U(`div`,fT,[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:t[15]||=e=>u.value=null},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,onClick:g},k(u.value?.label),1)])]),_:1},8,[`open`,`title`])],64)}}},[[`__scopeId`,`data-v-5f2a5edd`]]),mT={class:`panel-field`},hT={key:0,class:`new-check`},gT={class:`new-check`},_T={key:1,class:`panel-form`},vT={class:`new-steps`},yT={key:0},bT={key:1,class:`is-error`},xT={class:`panel-note`},ST={class:`panel-secret`},CT={key:0,class:`panel-note is-amber`},wT={class:`panel-form-foot`},TT=[`disabled`],ET=Rx({__name:`NewAccount`,emits:[`cancel`,`done`],setup(e,{emit:t}){let n=t,{state:r,reload:i,notify:a}=F(`panel`),o=M(``),s=M(r.value.platform===`win32`),c=M(!0),l=M([]),u=M(!1),d=M(``),f=J(()=>/^[a-z0-9][a-z0-9_-]{1,16}$/.test(o.value.trim()));function p(){let e=[{key:`account`,label:`创建账号与文件夹`}];return s.value&&(e.push({key:`os-user`,label:`创建独立的 Windows 用户`,note:`电脑会弹出一次管理员确认,请点“是”`}),(!r.value.clis?.app||!r.value.clis?.python)&&e.push({key:`runtime`,label:`安装隔离账号的程序副本(命令行程序、共议、Python)`})),e.push({key:`env/init`,label:s.value?`初始化 AI 环境(共议内置技能、系统提示词、随包工作流)`:`安装随包工作流`}),r.value.platform===`win32`&&e.push({key:`protect`,label:`开启入口保护(只接受经入口和它自己的 AI 的访问)`}),c.value&&e.push({key:`start`,label:`启动实例`}),e.map(e=>({...e,status:`pending`,error:``}))}async function m(e,t){if(e.key===`account`){let e=await $(`accounts`,{name:t});d.value=e.password}else if(e.key===`runtime`){let e=await $(`clis/install`,{});if(e.warnings?.length)throw Error(e.warnings.join(`;`))}else await $(`accounts/${t}/${e.key}`,{})}async function h(){l.value.length||(l.value=p()),u.value=!0;let e=o.value.trim();for(let t of l.value)if(t.status!==`done`){t.status=`running`,t.error=``;try{await m(t,e),t.status=`done`}catch(e){t.status=`failed`,t.error=e.message,u.value=!1,await i();return}}u.value=!1,await i(),a(`info`,`账号 ${e} 已建好`)}let g=J(()=>l.value.length&&l.value.every(e=>e.status===`done`));async function _(e){try{await navigator.clipboard.writeText(e),a(`info`,`已复制`)}catch{a(`error`,`复制失败,请手动选中复制`)}}let v={pending:`i-lucide-circle`,running:`i-lucide-loader`,done:`i-lucide-circle-check`,failed:`i-lucide-circle-x`};return(e,t)=>{let i=Jb;return B(),V(`section`,null,[t[16]||=U(`div`,{class:`panel-form-head`},[U(`h2`,null,`新建托管账号`)],-1),l.value.length?(B(),V(`div`,_T,[U(`ol`,vT,[(B(!0),V(z,null,_a(l.value,e=>(B(),V(`li`,{key:e.key,class:O(`is-${e.status}`)},[W(i,{name:v[e.status],class:O({"animate-spin":e.status===`running`})},null,8,[`name`,`class`]),U(`div`,null,[U(`strong`,null,k(e.label),1),e.status===`running`&&e.note?(B(),V(`small`,yT,k(e.note),1)):K(``,!0),e.error?(B(),V(`small`,bT,k(e.error),1)):K(``,!0)])],2))),128))]),g.value?(B(),V(z,{key:0},[U(`p`,xT,[W(i,{name:`i-lucide-circle-check`,style:{color:`#16a34a`}}),t[11]||=G(`建好了。把入口地址、账号名和下面的密码交给对方(密码只显示这一次);下一步在账号页给它登录命令行、配置 API 密钥。`,-1)]),U(`div`,ST,[U(`span`,null,k(N(Mx)(N(r).entry))+` · `+k(o.value.trim())+` · `+k(d.value),1),U(`button`,{type:`button`,class:`panel-icon-button`,"aria-label":`复制地址、账号和密码`,onClick:t[4]||=e=>_(`地址 ${N(Mx)(N(r).entry)},账号 ${o.value.trim()},密码 ${d.value}`)},[W(i,{name:`i-lucide-copy`})])]),N(r).entry?.public_url?K(``,!0):(B(),V(`p`,CT,[W(i,{name:`i-lucide-triangle-alert`}),t[12]||=G(`还没有设外网地址,这个地址只有这台电脑能打开。在“概览”页的“登录入口”设置。`,-1)]))],64)):K(``,!0)])):(B(),V(`form`,{key:0,class:`panel-form`,onSubmit:t[3]||=pu(e=>f.value&&h(),[`prevent`])},[U(`label`,mT,[t[7]||=G(`账号名 `,-1),xr(U(`input`,{"onUpdate:modelValue":t[0]||=e=>o.value=e,class:`panel-input`,placeholder:`例如 zhang`,autocomplete:`off`,spellcheck:`false`,maxlength:`17`,autofocus:``},null,512),[[Ql,o.value]]),t[8]||=U(`small`,null,`2–17 位小写字母、数字、下划线或短横线,对方用它登录。会建立文件夹 ~\\.codiscuss-账号名,里面是它的项目、草稿和数据。`,-1)]),N(r).platform===`win32`?(B(),V(`label`,hT,[xr(U(`input`,{"onUpdate:modelValue":t[1]||=e=>s.value=e,type:`checkbox`},null,512),[[$l,s.value]]),t[9]||=U(`span`,null,[U(`strong`,null,`隔离(推荐)`),U(`small`,null,`给它建一个独立的 Windows 用户:它的 AI 读不到你的个人文件,命令行登录和技能也和你分开。`)],-1)])):K(``,!0),U(`label`,gT,[xr(U(`input`,{"onUpdate:modelValue":t[2]||=e=>c.value=e,type:`checkbox`},null,512),[[$l,c.value]]),t[10]||=U(`span`,null,[U(`strong`,null,`建好后启动它的网站`),U(`small`,null,`之后也可以在账号页启动或停止。`)],-1)])],32)),U(`div`,wT,[l.value.length?g.value?(B(),V(`button`,{key:1,type:`button`,class:`panel-button is-primary`,onClick:t[6]||=e=>n(`done`,o.value.trim())},[t[14]||=G(`下一步:登录命令行`,-1),W(i,{name:`i-lucide-arrow-right`})])):u.value?K(``,!0):(B(),V(`button`,{key:2,type:`button`,class:`panel-button is-primary`,onClick:h},[W(i,{name:`i-lucide-rotate-cw`}),t[15]||=G(`从失败的一步重试`,-1)])):(B(),V(z,{key:0},[U(`button`,{type:`button`,class:`panel-button is-plain`,onClick:t[5]||=e=>n(`cancel`)},`取消`),U(`button`,{type:`button`,class:`panel-button is-primary`,disabled:!f.value,onClick:h},[W(i,{name:`i-lucide-plus`}),t[13]||=G(`创建`,-1)],8,TT)],64))])])}}},[[`__scopeId`,`data-v-9689cd76`]]),DT={class:`prompt`},OT={class:`prompt-head`},kT=[`disabled`],AT={key:0,class:`panel-note is-amber`},jT={key:1,class:`prompt-empty`},MT=[`onClick`],NT={class:`prompt-title`},PT={key:0,class:`panel-tag is-blue`},FT={key:1,class:`panel-tag is-gray`},IT=[`onUpdate:modelValue`,`placeholder`],LT={class:`prompt-actions`},RT=[`disabled`,`onClick`],zT=[`disabled`,`onClick`],BT=Rx({__name:`OwnerPrompt`,setup(e){let{notify:t,refreshed:n}=F(`panel`),r=M(null),i=M(!1),a=M(``),o=M({}),s=M(``);async function c(){i.value=!0;try{r.value=await $(`owner/prompts`),o.value=Object.fromEntries(r.value.map(e=>[e.key,e.text]))}catch(e){r.value={error:e.message}}finally{i.value=!1}}ea(c),I(n,c);let l=e=>e.programs.map(e=>e.label).join(`、`);async function u(e){s.value=e.key;try{r.value=await $(`owner/prompts`,{key:e.key,text:o.value[e.key],original:e.text}),t(`info`,`${l(e)} 的系统提示词已保存`)}catch(e){t(`error`,e.message),await c()}finally{s.value=``}}return(e,t)=>{let n=Jb;return B(),V(`div`,DT,[U(`div`,OT,[t[0]||=U(`span`,null,[G(`系统提示词 `),U(`small`,null,`各程序每次启动时读取的全局指令`)],-1),U(`button`,{type:`button`,class:O([`panel-icon-button`,{"is-spinning":i.value}]),disabled:i.value,title:`重新读取`,"aria-label":`重新读取`,onClick:c},[W(n,{name:`i-lucide-refresh-cw`})],10,kT)]),r.value?.error?(B(),V(`p`,AT,[W(n,{name:`i-lucide-circle-alert`}),G(k(r.value.error),1)])):r.value?(B(!0),V(z,{key:2},_a(r.value||[],e=>(B(),V(`div`,{key:e.key,class:`prompt-group`},[U(`button`,{type:`button`,class:`prompt-toggle`,onClick:t=>a.value=a.value===e.key?``:e.key},[U(`span`,NT,[U(`strong`,null,k(l(e)),1),e.programs.length>1?(B(),V(`span`,PT,`共用一份`)):K(``,!0),e.exists?K(``,!0):(B(),V(`span`,FT,`未创建`)),U(`small`,null,k(e.programs.map(e=>e.path).join(`;`)),1)]),W(n,{name:a.value===e.key?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])],8,MT),a.value===e.key?(B(),V(z,{key:0},[xr(U(`textarea`,{"onUpdate:modelValue":t=>o.value[e.key]=t,class:`panel-input prompt-area`,spellcheck:`false`,placeholder:e.exists?``:`保存后创建该文件`},null,8,IT),[[Ql,o.value[e.key]]]),U(`div`,LT,[U(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:o.value[e.key]===e.text,onClick:t=>o.value[e.key]=e.text},`撤销修改`,8,RT),U(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:o.value[e.key]===e.text||!!s.value,onClick:t=>u(e)},[s.value===e.key?(B(),H(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):K(``,!0),t[1]||=G(`保存`,-1)],8,zT)])],64)):K(``,!0)]))),128)):(B(),V(`p`,jT,`读取中…`))])}}},[[`__scopeId`,`data-v-6be50282`]]),VT={class:`panel-list`},HT={class:`panel-card is-tall`},UT={class:`panel-card is-tall`},WT={class:`panel-card is-tall`},GT={class:`panel-card is-tall`},KT={__name:`OwnerDetail`,setup(e){return(e,t)=>(B(),V(`section`,null,[t[1]||=U(`div`,{class:`panel-form-head`},[U(`h2`,null,`管理员`),U(`span`,{class:`panel-tag is-blue`},`本机账号`)],-1),U(`div`,VT,[U(`article`,HT,[W(vw,{target:`_`,who:`本机(你自己)`}),t[0]||=U(`p`,{class:`panel-sub`,style:{margin:`10px 4px 0`,"white-space":`normal`}},`管理员房间中的成员及未隔离的托管账号均使用此处登录。Claude Code 建议使用 Setup Token(一次授权,有效期一年)。`,-1)]),U(`article`,UT,[W(HC,{account:``})]),U(`article`,WT,[W(CC,{account:``})]),U(`article`,GT,[W(BT)])])]))}},qT={class:`accounts`},JT={class:`accounts-side`,"aria-label":`账号`},YT={class:`accounts-avatar is-owner`},XT=[`onClick`],ZT={class:`accounts-avatar`},QT=[`title`],$T={class:`accounts-text`},eE={key:0,class:`accounts-empty`},tE={class:`accounts-avatar`},nE={class:`accounts-main`},rE=``,iE=`\0new`,aE=Rx({__name:`AccountsPage`,setup(e){let{state:t}=F(`panel`),n=M(rE),r=J(()=>n.value===iE||t.value.accounts.some(e=>e.name===n.value)?n.value:rE);function i(e){return e.os_user?e.skills?``:`AI 环境未初始化`:`未隔离`}return(e,a)=>{let o=Jb;return B(),V(`div`,qT,[U(`nav`,JT,[U(`button`,{type:`button`,class:O([`accounts-item`,{"is-active":r.value===rE}]),onClick:a[0]||=e=>n.value=rE},[U(`span`,YT,[W(o,{name:`i-lucide-user-cog`})]),a[5]||=U(`span`,{class:`accounts-text`},[U(`strong`,null,`管理员`),U(`small`,null,`本机账号`)],-1)],2),N(t).hosting?(B(),V(z,{key:0},[a[7]||=U(`div`,{class:`accounts-group`},`托管账号`,-1),(B(!0),V(z,null,_a(N(t).accounts,e=>(B(),V(`button`,{key:e.name,type:`button`,class:O([`accounts-item`,{"is-active":r.value===e.name}]),onClick:t=>n.value=e.name},[U(`span`,ZT,[G(k(e.name.slice(0,1).toUpperCase()),1),U(`i`,{class:O(e.running?`is-on`:`is-off`),title:e.running?`运行中`:`已停止`},null,10,QT)]),U(`span`,$T,[U(`strong`,null,k(e.name),1),U(`small`,{class:O({"is-warn":i(e)||e.disabled})},k(e.disabled?`已停用`:i(e)?`待处理:${i(e)}`:`已隔离`),3)])],10,XT))),128)),N(t).accounts.length?K(``,!0):(B(),V(`p`,eE,`暂无托管账号。创建后,对方可通过登录入口使用本机的 AI。`)),U(`button`,{type:`button`,class:O([`accounts-item is-new`,{"is-active":r.value===iE}]),onClick:a[1]||=e=>n.value=iE},[U(`span`,tE,[W(o,{name:`i-lucide-plus`})]),a[6]||=U(`span`,{class:`accounts-text`},[U(`strong`,null,`新建账号`)],-1)],2)],64)):K(``,!0)]),U(`div`,nE,[r.value===iE?(B(),H(ET,{key:0,onCancel:a[2]||=e=>n.value=rE,onDone:a[3]||=e=>n.value=e})):r.value?(B(),H(pT,{key:r.value,name:r.value,onOwner:a[4]||=e=>n.value=rE},null,8,[`name`])):(B(),H(KT,{key:2}))])])}}},[[`__scopeId`,`data-v-9aeea41f`]]),oE={class:`panel`},sE={class:`panel-head`},cE={class:`panel-tabs`,"aria-label":`管理页面`},lE=[`aria-current`,`onClick`],uE={class:`panel-tools`},dE=[`disabled`],fE=`/mark.svg`;Cu({__name:`AdminApp`,setup(e){let t={key:`overview`,label:`概览`,icon:`i-lucide-layout-dashboard`},n={key:`accounts`,label:`账号`,icon:`i-lucide-users`},r=M({hosting:!1,service:{},accounts:[],clis:{},providers:{},platform:``}),i=[t,n],a=M(location.hash.slice(1)||`overview`),o=J(()=>i.some(e=>e.key===a.value)?a.value:`overview`),s=M(!1),c=C_();function l(e,t){c.add({title:t,color:e===`error`?`error`:e===`warning`?`warning`:`success`,duration:e===`error`?6e3:3e3})}async function u(){s.value=!0;try{r.value=await $(`state`)}catch(e){l(`error`,e.message)}finally{s.value=!1}}function d(e){a.value=e,history.replaceState(null,``,`#${e}`)}let f=M(0),p=M(!1);async function m(){p.value=!0,f.value+=1,await Promise.all([u(),new Promise(e=>setTimeout(e,500))]),p.value=!1,l(`info`,`已刷新`)}return Cr(`panel`,{state:r,reload:u,notify:l,refreshed:f}),ea(u),(e,t)=>{let n=Jb,r=Dx;return B(),H(r,{locale:N(Ox),toaster:{position:`bottom-right`,max:4}},{default:P(()=>[U(`div`,oE,[U(`header`,sE,[U(`div`,{class:`panel-brand`},[U(`img`,{class:`panel-mark`,src:fE,alt:``}),t[0]||=U(`h1`,null,`共议`,-1),t[1]||=U(`small`,null,`管理面板`,-1)]),U(`nav`,cE,[(B(),V(z,null,_a(i,e=>U(`button`,{key:e.key,type:`button`,class:O([`panel-tab`,{"is-active":o.value===e.key}]),"aria-current":o.value===e.key?`page`:void 0,onClick:t=>d(e.key)},[W(n,{name:e.icon},null,8,[`name`]),G(k(e.label),1)],10,lE)),64))]),U(`div`,uE,[U(`button`,{type:`button`,class:O([`panel-tool`,{"is-spinning":p.value}]),disabled:p.value,title:`刷新全部:服务、登录状态、账号与版本`,"aria-label":`刷新全部`,onClick:m},[W(n,{name:`i-lucide-refresh-cw`})],10,dE)])]),o.value===`overview`?(B(),H(US,{key:0})):(B(),H(aE,{key:1}))])]),_:1},8,[`locale`])}}}).use(Um).mount(`#admin-root`);
32
+ `),(z(!0),B(R,null,va(v.value,(e,t)=>(z(),B(R,{key:t},[W(j(e),1)],64))),128))]),_:1},8,[`aria-live`])):G(`v-if`,!0),N(s).viewport.value?(z(),V(Gr,{key:1,to:N(s).viewport.value},[U(N(o),null,{default:P(()=>[U(N(Y),K({ref:N(i),tabindex:`0`},e.$attrs,{as:e.as,"as-child":e.asChild,"data-state":e.open?`open`:`closed`,"data-swipe-direction":N(s).swipeDirection.value,style:N(s).disableSwipe.value?void 0:{userSelect:`none`,touchAction:`none`},onPointerdown:t[0]||=mu(e=>{N(s).disableSwipe.value||(c.value={x:e.clientX,y:e.clientY})},[`left`]),onPointermove:t[1]||=e=>{if(N(s).disableSwipe.value||!c.value)return;let t=e.clientX-c.value.x,n=e.clientY-c.value.y,i=!!l.value,a=[`left`,`right`].includes(N(s).swipeDirection.value),o=[`left`,`up`].includes(N(s).swipeDirection.value)?Math.min:Math.max,u=a?o(0,t):0,d=a?0:o(0,n),f=e.pointerType===`touch`?10:2,p={x:u,y:d},m={originalEvent:e,delta:p};i?(l.value=p,N(rx)(N(`toast.swipeMove`),e=>r(`swipeMove`,e),m)):N(ix)(p,N(s).swipeDirection.value,f)?(l.value=p,N(rx)(N(`toast.swipeStart`),e=>r(`swipeStart`,e),m),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>f||Math.abs(n)>f)&&(c.value=null)},onPointerup:t[2]||=e=>{if(N(s).disableSwipe.value)return;let t=l.value,n=e.target;if(n.hasPointerCapture(e.pointerId)&&n.releasePointerCapture(e.pointerId),l.value=null,c.value=null,t){let n=e.currentTarget,i={originalEvent:e,delta:t};N(ix)(t,N(s).swipeDirection.value,N(s).swipeThreshold.value)?N(rx)(N(`toast.swipeEnd`),e=>r(`swipeEnd`,e),i):N(rx)(N(`toast.swipeCancel`),e=>r(`swipeCancel`,e),i),n?.addEventListener(`click`,e=>e.preventDefault(),{once:!0})}}}),{default:P(()=>[L(e.$slots,`default`,{remaining:m.value,duration:u.value})]),_:3},16,[`as`,`as-child`,`data-state`,`data-swipe-direction`,`style`])]),_:3})],8,[`to`])):G(`v-if`,!0)],64))}}),ux=I({__name:`ToastClose`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=sx(),{forwardRef:r}=J();return(e,i)=>(z(),V(Xb,{"as-child":``},{default:P(()=>[U(N(Y),K(t,{ref:N(r),type:e.as===`button`?`button`:void 0,onClick:N(n).onClose}),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`type`,`onClick`])]),_:3}))}}),dx=I({__name:`ToastAction`,props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){if(!e.altText)throw Error("Missing prop `altText` expected on `ToastAction`");let{forwardRef:t}=J();return(e,n)=>e.altText?(z(),V(Xb,{key:0,"alt-text":e.altText,"as-child":``},{default:P(()=>[U(ux,{ref:N(t),as:e.as,"as-child":e.asChild},{default:P(()=>[L(e.$slots,`default`)]),_:3},8,[`as`,`as-child`])]),_:3},8,[`alt-text`])):G(`v-if`,!0)}}),fx=I({__name:`ToastDescription`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Y),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),px=I({__name:`ToastPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(z(),V(N(e_),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),mx=I({__name:`ToastRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:`foreground`},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`li`}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i}=J(),a=fh(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(e,t)=>(z(),V(N(ig),{present:e.forceMount||N(a)},{default:P(()=>[U(lx,K({ref:N(i),open:N(a),type:e.type,as:e.as,"as-child":e.asChild,duration:e.duration},e.$attrs,{onClose:t[0]||=e=>a.value=!1,onPause:t[1]||=e=>r(`pause`),onResume:t[2]||=e=>r(`resume`),onEscapeKeyDown:t[3]||=e=>r(`escapeKeyDown`,e),onSwipeStart:t[4]||=e=>{r(`swipeStart`,e),e.defaultPrevented||e.currentTarget.setAttribute(`data-swipe`,`start`)},onSwipeMove:t[5]||=e=>{if(r(`swipeMove`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`move`),r.style.setProperty(`--reka-toast-swipe-move-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-move-y`,`${n}px`)}},onSwipeCancel:t[6]||=e=>{if(r(`swipeCancel`,e),!e.defaultPrevented){let t=e.currentTarget;t.setAttribute(`data-swipe`,`cancel`),t.style.removeProperty(`--reka-toast-swipe-move-x`),t.style.removeProperty(`--reka-toast-swipe-move-y`),t.style.removeProperty(`--reka-toast-swipe-end-x`),t.style.removeProperty(`--reka-toast-swipe-end-y`)}},onSwipeEnd:t[7]||=e=>{if(r(`swipeEnd`,e),!e.defaultPrevented){let{x:t,y:n}=e.detail.delta,r=e.currentTarget;r.setAttribute(`data-swipe`,`end`),r.style.removeProperty(`--reka-toast-swipe-move-x`),r.style.removeProperty(`--reka-toast-swipe-move-y`),r.style.setProperty(`--reka-toast-swipe-end-x`,`${t}px`),r.style.setProperty(`--reka-toast-swipe-end-y`,`${n}px`),a.value=!1}}}),{default:P(({remaining:t,duration:n})=>[L(e.$slots,`default`,{remaining:t,duration:n,open:N(a)})]),_:3},16,[`open`,`type`,`as`,`as-child`,`duration`])]),_:3},8,[`present`]))}}),hx=I({__name:`ToastTitle`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return J(),(e,n)=>(z(),V(N(Y),A(Es(t)),{default:P(()=>[L(e.$slots,`default`)]),_:3},16))}}),gx=I({__name:`FocusProxy`,emits:[`focusFromOutsideViewport`],setup(e,{emit:t}){let n=t,r=Zb();return(e,t)=>(z(),V(N(o_),{tabindex:`0`,style:{position:`fixed`},onFocus:t[0]||=e=>{let t=e.relatedTarget;N(r).viewport.value?.contains(t)||n(`focusFromOutsideViewport`)}},{default:P(()=>[L(e.$slots,`default`)]),_:3}))}}),_x=I({inheritAttrs:!1,__name:`ToastViewport`,props:{hotkey:{type:Array,required:!1,default:()=>[`F8`]},label:{type:[String,Function],required:!1,default:`Notifications ({hotkey})`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`ol`}},setup(e){let{hotkey:t,label:n}=Sn(e),{forwardRef:r,currentElement:i}=J(),{CollectionSlot:a,getItems:o}=a_(),s=Zb(),c=q(()=>s.toastCount.value>0),l=M(),u=M(),d=/Key/g,f=/Digit/g,p=q(()=>t.value.join(`+`).replace(d,``).replace(f,``));lh(t.value,()=>{i.value.focus()}),ta(()=>{s.onViewportChange(i.value)}),Or(e=>{let t=i.value;if(c.value&&t){let n=()=>{if(!s.isClosePausedRef.value){let e=new CustomEvent(tx);t.dispatchEvent(e),s.isClosePausedRef.value=!0}},r=()=>{if(s.isClosePausedRef.value){let e=new CustomEvent(nx);t.dispatchEvent(e),s.isClosePausedRef.value=!1}},i=e=>{t.contains(e.relatedTarget)||r()},a=()=>{t.contains(th())||r()},o=e=>{let n=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!n){let n=th(),r=e.shiftKey;if(e.target===t&&r){l.value?.focus();return}let i=m({tabbingDirection:r?`backwards`:`forwards`}),a=i.findIndex(e=>e===n);Tg(i.slice(a+1))?e.preventDefault():r?l.value?.focus():u.value?.focus()}};t.addEventListener(`focusin`,n),t.addEventListener(`focusout`,i),t.addEventListener(`pointermove`,n),t.addEventListener(`pointerleave`,a),t.addEventListener(`keydown`,o),window.addEventListener(`blur`,n),window.addEventListener(`focus`,r),e(()=>{t.removeEventListener(`focusin`,n),t.removeEventListener(`focusout`,i),t.removeEventListener(`pointermove`,n),t.removeEventListener(`pointerleave`,a),t.removeEventListener(`keydown`,o),window.removeEventListener(`blur`,n),window.removeEventListener(`focus`,r)})}});function m({tabbingDirection:e}){let t=o().map(e=>e.ref).map(t=>{let n=[t,...Dg(t)];return e===`forwards`?n:n.reverse()});return(e===`forwards`?t.reverse():t).flat()}return(e,t)=>(z(),V(N(vg),{role:`region`,"aria-label":typeof N(n)==`string`?N(n).replace(`{hotkey}`,p.value):N(n)(p.value),tabindex:`-1`,style:he({pointerEvents:c.value?void 0:`none`})},{default:P(()=>[c.value?(z(),V(gx,{key:0,ref:e=>{e&&(l.value=N(ah)(e))},onFocusFromOutsideViewport:t[0]||=()=>{let e=m({tabbingDirection:`forwards`});N(Tg)(e)}},null,512)):G(`v-if`,!0),U(N(a),null,{default:P(()=>[U(N(Y),K({ref:N(r),tabindex:`-1`,as:e.as,"as-child":e.asChild},e.$attrs),{default:P(()=>[L(e.$slots,`default`)]),_:3},16,[`as`,`as-child`])]),_:3}),c.value?(z(),V(gx,{key:1,ref:e=>{e&&(u.value=N(ah)(e))},onFocusFromOutsideViewport:t[1]||=()=>{let e=m({tabbingDirection:`backwards`});N(Tg)(e)}},null,512)):G(`v-if`,!0)]),_:3},8,[`aria-label`,`style`]))}}),[vx,yx]=eh(`TooltipProvider`),bx=I({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){let{delayDuration:t,skipDelayDuration:n,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:o,content:s}=Sn(e);J();let c=M(!0),l=M(!1),{start:u,stop:d}=lm(()=>{c.value=!0},n,{immediate:!1});return yx({isOpenDelayed:c,delayDuration:t,onOpen(){d(),c.value=!1},onClose(){u()},isPointerInTransitRef:l,disableHoverableContent:r,disableClosingTrigger:i,disabled:o,ignoreNonKeyboardFocus:a,content:s}),(e,t)=>L(e.$slots,`default`)}}),xx=Symbol(`nuxt-ui.portal-target`);function Sx(e){let t=wr(xx,void 0),n=q(()=>e.value===!0?t?.value:e.value),r=q(()=>typeof n.value==`boolean`&&!n.value),i=q(()=>typeof n.value==`boolean`?`body`:n.value);return q(()=>({to:i.value,disabled:r.value}))}var[Cx,wx]=eh(`UTheme`,`RootContext`),Tx={defaults:q(()=>({}))};function Ex(e=Tx){return Cx(e)}function Dx(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Ox(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function kx(e,t){return!e||!e.props?!1:e.props[Dx(t)]!==void 0||e.props[Ox(t)]!==void 0}function Ax(e,t){let n=Rs(),{defaults:r}=Ex(),i=vm();return new Proxy(t,{get(t,a,o){if(a===`__v_isReactive`)return!0;if(a===`__v_raw`)return t;let s=Reflect.get(t,a,o);if(typeof a!=`string`)return s;let c=e.includes(`.`)?jm(r.value,e):r.value[e];if(a===`ui`){let e=c?.ui;return!s&&!e?s:wm(s??{},e??{})}if(a===`class`){let e=c?.class;return e===void 0?s:s===void 0?e:[e,s]}if(n&&kx(n.vnode,a))return s;let l=c?.[a];if(l!==void 0)return l;let u=(e.includes(`.`)?jm(i.ui??{},e):i.ui?.[e])?.defaultVariants?.[a];if(u!==void 0)return u;let d=n?.type?.props?.[a];if(d&&Object.prototype.hasOwnProperty.call(d,`default`))return s},has:(e,t)=>Reflect.has(e,t),ownKeys:e=>Reflect.ownKeys(e),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e,t)})}function jx(e,t){let n=t?Ah(t):{};return q(()=>{let t=N(e),r={...n};for(let e in t){let n=t[e];n!==void 0&&(r[e]=n)}return r})}var Mx=Symbol(`nuxt-ui.toast-max`);function Nx(){let e=Um(`toasts`,()=>[]),t=wr(Mx,void 0),n=M(!1),r=[],i=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;function a(t,n){e.value[t]={...e.value[t],...n,_duplicate:(e.value[t]._duplicate||0)+1}}async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){await tr();let n=r.shift(),i=t?.value??5;if(i<=0){e.value.length&&(e.value=[]);continue}let o=e.value.findIndex(e=>e.id===n.id);o===-1?e.value=[...e.value,n].slice(-i):a(o,n)}n.value=!1}}function s(t){let n={id:i(),open:!0,...t},s=e.value.findIndex(e=>e.id===n.id);return s===-1?(r.push(n),o(),n):(a(s,n),n)}function c(t,n){let r=e.value.findIndex(e=>e.id===t);r!==-1&&(e.value[r]={...e.value[r],...n,duration:n.duration,open:!0,_updated:!0},tr(()=>{let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated&&(e.value[n]={...e.value[n],_updated:void 0})}))}function l(t){let n=e.value.findIndex(e=>e.id===t);n!==-1&&e.value[n]._updated||(n!==-1&&(e.value[n]={...e.value[n],open:!1}),setTimeout(()=>{e.value=e.value.filter(e=>e.id!==t)},200))}function u(){e.value=[]}return{toasts:e,add:s,update:c,remove:l,clear:u}}var Px=Array.isArray,Fx=e=>{if(!e&&e!==0&&e!==0n)return``;if(typeof e==`string`)return e;if(typeof e==`number`)return e===e?``+e:``;if(typeof e==`bigint`)return``+e;let t=``;if(Px(e)){let n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!n&&n!==0&&n!==0n)continue;let i=typeof n==`string`?n:Fx(n);i&&(t&&(t+=` `),t+=i)}return t}if(typeof e==`object`)for(let n in e)e[n]&&(t&&(t+=` `),t+=n);return t},Ix=/\s+/g,Lx=Array.isArray,Rx=e=>typeof e!=`string`||!e?e:e.replace(Ix,` `).trim(),zx=e=>{let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0),r=e.charCodeAt(t-1);if(n===32||r===32||n>=9&&n<=13||n===160||r>=9&&r<=13||r===160)return!0;for(let n=0;n<t;n++){let r=e.charCodeAt(n);if(r>=9&&r<=13||r===160||r===32&&n+1<t&&e.charCodeAt(n+1)===32)return!0}return!1},Bx=(...e)=>{let t=Fx(e);if(t)return zx(t)?Rx(t):t},Vx=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,Hx=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},Ux=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=e,r=t,i=Object.keys(n),a=Object.keys(r);if(i.length!==a.length)return!1;for(let e=0;e<i.length;e++){let t=i[e];if(!a.includes(t)||n[t]!==r[t])return!1}return!0},Wx=(e,t)=>{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?Bx(n[e],r):r}return e},Gx=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];Lx(r)?Gx(r,t):r&&t.push(r)}},Kx=(...e)=>{let t=[];Gx(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},qx=(e,t)=>{let n=e,r=t,i={};for(let e in n){let t=n[e];if(e in r){let n=r[e];i[e]=Lx(t)||Lx(n)?Kx(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?qx(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},Jx={twMerge:!0,twMergeConfig:{}},Yx=256,Xx=128,Zx=Symbol(`tv-cache-miss`),Qx=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,$x=e=>{if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`)return e===0?`0`:String(e);if(typeof e==`bigint`)return String(e);let t=Vx(e),n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return String(t);if(n===`object`)try{return JSON.stringify(t)}catch{return null}return null},eS=(e,t)=>{if(t===void 0)return e;if(t===null)return e+`null`;let n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return e+String(t);if(Array.isArray(t))return e+t.join(`\0`);try{return e+JSON.stringify(t)}catch{return e+`?`}},tS=(e,t,n,r)=>{let i=``,a=Object.create(null);for(let r=0;r<e.length;r++){let o=e[r];a[o]=1;let s=t[o];n&&n[o]!==void 0&&(s=n[o]);let c=$x(s);if(c===null)return null;i+=o+`:`+c+`;`}let o=[];for(let e in t)e===`class`||e===`className`||a[e]||(a[e]=1,o.push(e));if(n)for(let e in n)e===`class`||e===`className`||a[e]||n[e]===void 0||(a[e]=1,o.push(e));o.length>1&&o.sort();for(let e=0;e<o.length;e++){let r=o[e],a=t[r];n&&n[r]!==void 0&&(a=n[r]);let s=$x(a);if(s===null)return null;i+=r+`:`+s+`;`}return i},nS=(e,t)=>{let n=``;for(let t=0;t<e.length;t++){let{conditionKeys:r,source:i}=e[t];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=eS(n,i[t]),n+=`,`}n+=`c=`,n=eS(n,i.class),n+=`|cn=`,n=eS(n,i.className),n+=`;`}for(let e=0;e<t.length;e++){let{conditionKeys:r,source:i}=t[e];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=eS(n,i[t]),n+=`,`}Array.isArray(i.slots)&&(n+=`slots=`+i.slots.join(`,`)+`,`),n+=`c=`,n=eS(n,i.class),n+=`|cn=`,n=eS(n,i.className),n+=`;`}return n},rS=(e=Yx)=>{let t=new Map,n=null;return{get(e){if(t.has(e))return t.get(e);if(n?.has(e)){let r=n.get(e);return t.set(e,r),r}return Zx},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},iS=(e=Yx)=>{let t=rS(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},aS=(e=Xx)=>{let t=new Map,n=null,r=0;return{get(e,i){let a=t.get(e);if(a){let e=a.get(i);if(e!==void 0||a.has(i))return e}if(n){let a=n.get(e);if(a){let n=a.get(i);if(n!==void 0||a.has(i)){let a=t.get(e);return a||(a=new Map,t.set(e,a)),a.has(i)||r++,a.set(i,n),n}}}return Zx},set(i,a,o){r>=e&&(n=t,t=new Map,r=0);let s=t.get(i);s||(s=new Map,t.set(i,s)),s.has(a)||r++,s.set(a,o)}}},oS=(e,t)=>{let n=null;return(r,i)=>{if(!Qx(i))return r;let a=i.class,o=i.className;if(a!=null&&a!==``&&typeof a!=`string`||o!=null&&o!==``&&typeof o!=`string`)return e(t,r,a,o);n??=aS();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==Zx)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function sS(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var cS=sS(),lS=e=>{!Hx(e.twMergeConfig)&&!Ux(e.twMergeConfig,cS.cachedTwMergeConfig)&&(cS.didTwMergeConfigChange=!0,cS.cachedTwMergeConfig=e.twMergeConfig)},uS=(e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e[i];n.push({key:i,values:a,isEmpty:Hx(a)})}return n},dS=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},fS=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`slots`&&e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},pS=e=>{let t={};for(let n=0;n<e.length;n++){let r=e[n],i=r.source.slots;if(Array.isArray(i))for(let e=0;e<i.length;e++){let n=i[e];t[n]||(t[n]=[]),t[n].push(r)}}return t},mS=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...Jx,...t},l=e.slots!==void 0,u=n?.base?Bx(n.base,e?.base):e?.base,d=n?.variants&&!Hx(n.variants)?qx(i,n.variants):i,f=n?.defaultVariants&&!Hx(n.defaultVariants)?{...n.defaultVariants,...s}:s;lS(c);let p=!n?.slots||Hx(n.slots),m=l?p&&n?.base?Bx(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:Bx(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:Wx({...n?.slots},Hx(h)?{base:e?.base}:h),_=!n?.compoundVariants||Hx(n.compoundVariants)?a:Kx(n?.compoundVariants,a),v=!n?.compoundSlots||Hx(n.compoundSlots)?o:Kx(n?.compoundSlots,o),y=Object.keys(d);return{config:c,extend:n,base:u,variants:d,defaultVariants:f,slots:g,compoundVariants:_,compoundSlots:v,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:_&&!Array.isArray(_)?TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`):v&&!Array.isArray(v)?TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof v}`):null,mode:l||!p?`slots`:y.length===0?`plain`:`variants`,slotKeys:null,variantKeys:y}},hS=e=>(e.compiledVariants===null&&(e.compiledVariants=uS(e.variants,e.variantKeys),e.compiledCompoundVariants=dS(e.compoundVariants),e.compiledCompoundSlots=fS(e.compoundSlots),e.compiledCompoundSlotsBySlot=pS(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[]),e),gS=[],_S=[],vS=[],yS=[],bS=[],xS=(e,t,n)=>{let r={};for(let t in e)r[t]=e[t];if(t)for(let e in t)t[e]!==void 0&&(r[e]=t[e]);if(n)for(let e in n)n[e]!==void 0&&(r[e]=n[e]);return r},SS=e=>e==null||e===!1,CS=(e,t)=>{if(!Array.isArray(e))return e===t||SS(e)&&SS(t);for(let n=0;n<e.length;n++){let r=e[n];if(r===t||SS(r)&&SS(t))return!0}return!1},wS=(e,t,n,r)=>{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=Vx(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??Vx(o);return e.values[s||`false`]},TS=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e<n.length;e++){let i=n[e];if(!CS(r[i],t[i]))return!1}return!0},ES=(e,t,n)=>{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},DS=(e,t,n)=>{let r=_S;r.length=0;for(let i=0;i<e.length;i++){let a=wS(e[i],t,n);a&&r.push(a)}return r},OS=(e,t,n,r,i)=>{let a=_S;a.length=0;for(let o=0;o<t.length;o++){let s=wS(t[o],n,r,i),c=e===`base`&&typeof s==`string`?s:s&&s[e];c&&a.push(c)}return a},kS=(e,t)=>{let n=vS;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];TS(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},AS=(e,t,n)=>{let r=yS;r.length=0;for(let i=0;i<t.length;i++){let a=t[i];TS(a,n)&&(ES(r,e,a.source.class),ES(r,e,a.source.className))}return r},jS=(e,t)=>{let n=bS;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];TS(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},MS=(e,t)=>{let{base:n,config:r}=e,i=Zx,a=oS(t,r);return(e=>(i===Zx&&(i=t(r,n)),a(i,e)))},NS=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=gS,u=null,d=oS(t,r),f=1,p=e=>{let a=s.length>0?kS(s,xS(i,e)):void 0;return t(r,n,DS(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(hS(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??gS);let n;if(f>0)f--,n=p(t);else{u??=iS();let e=tS(o,i,t);if(e!==null){let r=s.length>0||l.length>0?nS(s,l):``,i=e+`#`+r,a=u.get(i);a===Zx?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},PS=(e,t)=>{let{config:n,defaultVariants:r,deferredError:i,slots:a,variantKeys:o}=e,s=null,c=null,l=null,u=null,d=!1,f=null,p=null,m=1,h=()=>{if(l!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&hS(e);let i=e.compiledVariants;s=e.compiledCompoundVariants,c=e.compiledCompoundSlots;let o=e.compiledCompoundSlotsBySlot;l=e.slotKeys,d=s.length>0||c.length>0,f=oS(t,n);let p=Array(l.length);for(let e=0;e<l.length;e++){let c=l[e],u=o[c]??gS;p[e]=(e,o)=>{let l=d?xS(r,e,o):void 0,f=l?AS(c,s,l):void 0,p=l?jS(u,l):void 0;return t(n,a[c],OS(c,i,r,e,o),f,p)}}u=p},g=e=>{let t=l,n=u,r=f,i={};for(let a=0;a<t.length;a++){let o=n[a],s=o(e);i[t[a]]=t=>{if(t==null)return s;let n=!1;for(let e in t)if(e!==`class`&&e!==`className`&&t[e]!==void 0){n=!0;break}return r(n?o(e,t):s,t)}}return i};return(e=>{if(i)throw i;if(h(),m>0)return m--,g(e);let t=tS(o,r,e);if(t===null)return g(e);let n=d?nS(s,c):``,a=t+`#`+n;p??=rS();let l=p.get(a);if(l!==Zx)return l;let u=g(e);return p.set(a,u),u})},FS=(e,t)=>{if(e.mode===`plain`)return MS(e,t);let n;return(r=>(n??=e.mode===`slots`?PS(e,t):NS(e,t),n(r)))},IS=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},LS=e=>{let t=(t,n)=>{let r=mS(t,n),i=FS(r,e);return IS(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?qx(e,r):e)}},RS=(e,t)=>{let n=e.length,r=t.length,i=Array(n+r);for(let t=0;t<n;t++)i[t]=e[t];for(let e=0;e<r;e++)i[n+e]=t[e];return i},zS=(e,t)=>({classGroupId:e,validator:t}),BS=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),VS=`-`,HS=[],US=`arbitrary..`,WS=e=>{let t=qS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return KS(e);let n=e.split(VS);return GS(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?RS(i,t):t:i||HS}return n[e]||HS}}},GS=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=GS(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(VS):e.slice(t).join(VS),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},KS=e=>{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?US+r:void 0},qS=e=>{let{theme:t,classGroups:n}=e;return JS(n,t)},JS=(e,t)=>{let n=BS();for(let r in e){let i=e[r];YS(i,n,r,t)}return n},YS=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];XS(i,t,n,r)}},XS=(e,t,n,r)=>{typeof e==`string`?ZS(e,t,n):typeof e==`function`?QS(e,t,n,r):$S(e,t,n,r)},ZS=(e,t,n)=>{let r=e===``?t:eC(t,e);r.classGroupId=n},QS=(e,t,n,r)=>{tC(e)?YS(e(r),t,n,r):(t.validators===null&&(t.validators=[]),t.validators.push(zS(n,e)))},$S=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];YS(o,eC(t,a),n,r)}},eC=(e,t)=>{let n=e,r=t.split(VS),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=BS(),n.nextPart.set(t,i)),n=i}return n},tC=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,nC=`!`,rC=58,iC=47,aC=91,oC=93,sC=40,cC=41,lC=33,uC=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),dC=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e.charCodeAt(s);if(n===0&&r===0){if(o===rC){t.push(e.slice(i,s)),i=s+1;continue}if(o===iC){a=s;continue}}o===aC?n++:o===oC?n--:o===sC?r++:o===cC&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1,u=s.length-1;s.charCodeAt(u)===lC?(c=s.slice(0,-1),l=!0):s.charCodeAt(0)===lC&&(c=s.slice(1),l=!0);let d=a&&a>i?a-i:void 0;return uC(t,l,c,d)},fC=e=>{let t=new Set(e.orderSensitiveModifiers);return e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);if(o||s){if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e]);r=[]}n.push(a)}else r.push(a)}if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e])}return n}},pC={isExternal:!0,classId:-1,conflictIds:[]},mC=4096,hC=16384,gC=e=>{let t=fC(e),n=_C(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=WS(e),a=Object.create(null),o=Object.create(null),s=0,c=new Int32Array(256),l=0,u=new Uint8Array(64),d=!1,f=e=>{let t=[],n=e.length,r=-1;d=!1;for(let i=0;i<n;i++){let n=e.charCodeAt(i);n===32?r!==-1&&(t.push(e.slice(r,i)),r=-1):n>=9&&n<=13?(d=!0,r!==-1&&(t.push(e.slice(r,i)),r=-1)):r===-1&&(r=i)}return r!==-1&&t.push(e.slice(r)),t},p=new Map,m=0,h=e=>{let t=p.get(e);if(t===void 0&&(t=m++,p.set(e,t),t>=c.length)){let e=new Int32Array(c.length*2);e.set(c),c=e}return t},g=e=>{let{isExternal:a,modifiers:o,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:l}=dC(e);if(a)return pC;let u=!!l,d;if(u){let e=c.substring(0,l);d=r(e);let t=d&&n[d]?r(c):void 0;t&&t!==d&&(d=t,u=!1)}else d=r(c);if(!d){if(!u||(d=r(c),!d))return pC;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+nC:f,m=i(d,u),g=[];for(let e=0;e<m.length;e++)g.push(h(p+m[e]));return{isExternal:!1,classId:h(p+d),conflictIds:g}},_=e=>{let t=a[e];return t===void 0&&(t=o[e],t===void 0&&(t=g(e)),a[e]=t,++s>mC&&(s=0,o=a,a=Object.create(null))),t};return{parseClassName:dC,sortModifiers:t,postfixLookupClassGroupIds:n,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:_,mergeClassList:e=>{let t=f(e),n=t.length;if(n===1)return t[0];m>hC&&(p.clear(),m=0,a=Object.create(null),o=Object.create(null),s=0),l=l+1|0,l===0&&(l=1);let r=l;if(n>u.length){let e=u.length;for(;e<n;)e*=2;u=new Uint8Array(e)}let i=!1,h=0;for(let e=n-1;e>=0;--e){let n=t[e];h+=n.length;let a=_(n);if(a.isExternal){u[e]=1;continue}let o=a.classId;if(c[o]===r){u[e]=0,i=!0;continue}c[o]=r;let s=a.conflictIds;for(let e=0;e<s.length;e++)c[s[e]]=r;u[e]=1}if(!i&&!d&&e.length===h+n-1)return e;let g=``;for(let e=0;e<n;e++)u[e]===1&&(g&&(g+=` `),g+=t[e]);return g}}},_C=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},vC=500,yC=e=>{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=gC(e()),n=t.mergeClassList,c.mergeString=s,s(r)),s=e=>{let t=r[e];return t===void 0&&(t=i[e],t===void 0&&(t=n(e)),r[e]=t,++a>vC&&(a=0,i=r,r=Object.create(null))),t},c=(...e)=>c.mergeString(Fx(e));return c.mergeString=o,c},bC=[],xC=e=>{let t=t=>t[e]||bC;return t.isThemeGetter=!0,t},SC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,CC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,wC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,TC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,EC=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,DC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,OC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,AC=Number,jC=Number.isNaN,MC=Number.isInteger,NC=e=>wC.test(e),X=e=>!!e&&!jC(AC(e)),PC=e=>!!e&&MC(AC(e)),FC=e=>e.endsWith(`%`)&&X(e.slice(0,-1)),IC=e=>TC.test(e),LC=()=>!0,RC=e=>EC.test(e)&&!DC.test(e),zC=()=>!1,BC=e=>OC.test(e),VC=e=>kC.test(e),HC=e=>!Z(e)&&!Q(e),UC=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),WC=e=>aw(e,lw,zC),Z=e=>SC.test(e),GC=e=>aw(e,uw,RC),KC=e=>aw(e,dw,X),qC=e=>aw(e,pw,LC),JC=e=>aw(e,fw,zC),YC=e=>aw(e,sw,zC),XC=e=>aw(e,cw,VC),ZC=e=>aw(e,mw,BC),Q=e=>CC.test(e),QC=e=>ow(e,uw),$C=e=>ow(e,fw),ew=e=>ow(e,sw),tw=e=>ow(e,lw),nw=e=>ow(e,cw),rw=e=>ow(e,mw,!0),iw=e=>ow(e,pw,!0),aw=(e,t,n)=>{let r=SC.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ow=(e,t,n=!1)=>{let r=CC.exec(e);return r?r[1]?t(r[1]):n:!1},sw=e=>e===`position`||e===`percentage`,cw=e=>e===`image`||e===`url`,lw=e=>e===`length`||e===`size`||e===`bg-size`,uw=e=>e===`length`,dw=e=>e===`number`,fw=e=>e===`family-name`,pw=e=>e===`number`||e===`weight`,mw=e=>e===`shadow`,hw=()=>{let e=xC(`color`),t=xC(`font`),n=xC(`text`),r=xC(`font-weight`),i=xC(`tracking`),a=xC(`leading`),o=xC(`breakpoint`),s=xC(`container`),c=xC(`spacing`),l=xC(`radius`),u=xC(`shadow`),d=xC(`inset-shadow`),f=xC(`text-shadow`),p=xC(`drop-shadow`),m=xC(`blur`),h=xC(`perspective`),g=xC(`aspect`),_=xC(`ease`),v=xC(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Q,Z],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Q,Z,c],T=()=>[NC,`full`,`auto`,...w()],ee=()=>[PC,`none`,`subgrid`,Q,Z],E=()=>[`auto`,{span:[`full`,PC,Q,Z]},PC,Q,Z],te=()=>[PC,`auto`,Q,Z],ne=()=>[`auto`,`min`,`max`,`fr`,Q,Z],re=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],D=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ie=()=>[`auto`,...w()],ae=()=>[NC,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],oe=()=>[NC,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],se=()=>[NC,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],O=()=>[e,Q,Z],ce=()=>[...b(),ew,YC,{position:[Q,Z]}],le=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ue=()=>[`auto`,`cover`,`contain`,tw,WC,{size:[Q,Z]}],de=()=>[FC,QC,GC],fe=()=>[``,`none`,`full`,l,Q,Z],pe=()=>[``,X,QC,GC],me=()=>[`solid`,`dashed`,`dotted`,`double`],he=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ge=()=>[X,FC,ew,YC],_e=()=>[``,`none`,m,Q,Z],ve=()=>[`none`,X,Q,Z],ye=()=>[`none`,X,Q,Z],k=()=>[X,Q,Z],A=()=>[NC,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[IC],breakpoint:[IC],color:[LC],container:[IC],"drop-shadow":[IC],ease:[`in`,`out`,`in-out`],font:[HC],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[IC],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[IC],shadow:[IC],spacing:[`px`,X],text:[IC],"text-shadow":[IC],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,NC,Z,Q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Q,Z]}],"container-named":[UC],columns:[{columns:[X,Z,Q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[PC,`auto`,Q,Z]}],basis:[{basis:[NC,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[X,NC,`auto`,`initial`,`none`,Z]}],grow:[{grow:[``,X,Q,Z]}],shrink:[{shrink:[``,X,Q,Z]}],order:[{order:[PC,`first`,`last`,`none`,Q,Z]}],"grid-cols":[{"grid-cols":ee()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":ee()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...re(),`normal`]}],"justify-items":[{"justify-items":[...D(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...D()]}],"align-content":[{content:[`normal`,...re()]}],"align-items":[{items:[...D(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...D(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...D(),`baseline`]}],"place-self":[{"place-self":[`auto`,...D()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ie()}],mx:[{mx:ie()}],my:[{my:ie()}],ms:[{ms:ie()}],me:[{me:ie()}],mbs:[{mbs:ie()}],mbe:[{mbe:ie()}],mt:[{mt:ie()}],mr:[{mr:ie()}],mb:[{mb:ie()}],ml:[{ml:ie()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ae()}],"inline-size":[{inline:[`auto`,...oe()]}],"min-inline-size":[{"min-inline":[`auto`,...oe()]}],"max-inline-size":[{"max-inline":[`none`,...oe()]}],"block-size":[{block:[`auto`,...se()]}],"min-block-size":[{"min-block":[`auto`,...se()]}],"max-block-size":[{"max-block":[`none`,...se()]}],w:[{w:[s,`screen`,...ae()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ae()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ae()]}],h:[{h:[`screen`,`lh`,...ae()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ae()]}],"max-h":[{"max-h":[`screen`,`lh`,...ae()]}],"font-size":[{text:[`base`,n,QC,GC]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,iw,qC]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,FC,Z]}],"font-family":[{font:[$C,JC,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Q,Z]}],"line-clamp":[{"line-clamp":[X,`none`,Q,KC]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Q,Z]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Q,Z]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...me(),`wavy`]}],"text-decoration-thickness":[{decoration:[X,`from-font`,`auto`,Q,GC]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[X,`auto`,Q,Z]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[PC,Q,Z]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Q,Z]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Q,Z]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:le()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},PC,Q,Z],radial:[``,Q,Z],conic:[PC,Q,Z]},nw,XC]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:de()}],"gradient-via-pos":[{via:de()}],"gradient-to-pos":[{to:de()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:fe()}],"rounded-s":[{"rounded-s":fe()}],"rounded-e":[{"rounded-e":fe()}],"rounded-t":[{"rounded-t":fe()}],"rounded-r":[{"rounded-r":fe()}],"rounded-b":[{"rounded-b":fe()}],"rounded-l":[{"rounded-l":fe()}],"rounded-ss":[{"rounded-ss":fe()}],"rounded-se":[{"rounded-se":fe()}],"rounded-ee":[{"rounded-ee":fe()}],"rounded-es":[{"rounded-es":fe()}],"rounded-tl":[{"rounded-tl":fe()}],"rounded-tr":[{"rounded-tr":fe()}],"rounded-br":[{"rounded-br":fe()}],"rounded-bl":[{"rounded-bl":fe()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-bs":[{"border-bs":pe()}],"border-w-be":[{"border-be":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...me(),`hidden`,`none`]}],"divide-style":[{divide:[...me(),`hidden`,`none`]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-bs":[{"border-bs":O()}],"border-color-be":[{"border-be":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...me(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[X,Q,Z]}],"outline-w":[{outline:[``,X,QC,GC]}],"outline-color":[{outline:O()}],shadow:[{shadow:[``,`none`,u,rw,ZC]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":[`none`,d,rw,ZC]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:pe()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[X,GC]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":[`none`,f,rw,ZC]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[X,Q,Z]}],"mix-blend":[{"mix-blend":[...he(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":he()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[X]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[Q,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[X]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:le()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Q,Z]}],filter:[{filter:[``,`none`,Q,Z]}],blur:[{blur:_e()}],brightness:[{brightness:[X,Q,Z]}],contrast:[{contrast:[X,Q,Z]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,rw,ZC]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:[``,X,Q,Z]}],"hue-rotate":[{"hue-rotate":[X,Q,Z]}],invert:[{invert:[``,X,Q,Z]}],saturate:[{saturate:[X,Q,Z]}],sepia:[{sepia:[``,X,Q,Z]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Q,Z]}],"backdrop-blur":[{"backdrop-blur":_e()}],"backdrop-brightness":[{"backdrop-brightness":[X,Q,Z]}],"backdrop-contrast":[{"backdrop-contrast":[X,Q,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,X,Q,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[X,Q,Z]}],"backdrop-invert":[{"backdrop-invert":[``,X,Q,Z]}],"backdrop-opacity":[{"backdrop-opacity":[X,Q,Z]}],"backdrop-saturate":[{"backdrop-saturate":[X,Q,Z]}],"backdrop-sepia":[{"backdrop-sepia":[``,X,Q,Z]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Q,Z]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[X,`initial`,Q,Z]}],ease:[{ease:[`linear`,`initial`,_,Q,Z]}],delay:[{delay:[X,Q,Z]}],animate:[{animate:[`none`,v,Q,Z]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Q,Z]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ve()}],"rotate-x":[{"rotate-x":ve()}],"rotate-y":[{"rotate-y":ve()}],"rotate-z":[{"rotate-z":ve()}],scale:[{scale:ye()}],"scale-x":[{"scale-x":ye()}],"scale-y":[{"scale-y":ye()}],"scale-z":[{"scale-z":ye()}],"scale-3d":[`scale-3d`],skew:[{skew:k()}],"skew-x":[{"skew-x":k()}],"skew-y":[{"skew-y":k()}],transform:[{transform:[Q,Z,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:A()}],"translate-x":[{"translate-x":A()}],"translate-y":[{"translate-y":A()}],"translate-z":[{"translate-z":A()}],"translate-none":[`translate-none`],zoom:[{zoom:[PC,Q,Z]}],accent:[{accent:O()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Q,Z]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":O()}],"scrollbar-track-color":[{"scrollbar-track":O()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Q,Z]}],fill:[{fill:[`none`,...O()]}],"stroke-w":[{stroke:[X,QC,GC,KC]}],stroke:[{stroke:[`none`,...O()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},gw=(e,{extend:t={},override:n={}})=>(vw(e.theme,n.theme),vw(e.classGroups,n.classGroups),vw(e.conflictingClassGroups,n.conflictingClassGroups),vw(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),_w(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),_w(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),yw(e.theme,t.theme),yw(e.classGroups,t.classGroups),yw(e.conflictingClassGroups,t.conflictingClassGroups),yw(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),bw(e,t,`postfixLookupClassGroups`),bw(e,t,`orderSensitiveModifiers`),e),_w=(e,t,n)=>{n!==void 0&&(e[t]=n)},vw=(e,t)=>{if(t)for(let n in t)_w(e,n,t[n])},yw=(e,t)=>{if(t)for(let n in t)bw(e,t,n)},bw=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},xw=e=>yC(e?typeof e==`function`?()=>e(hw()):()=>gw(hw(),e):hw),Sw=e=>{if(Hx(e))return;let t=e,n={...t.extend??{}};for(let e of[`theme`,`classGroups`,`conflictingClassGroups`,`conflictingClassGroupModifiers`,`postfixLookupClassGroups`,`orderSensitiveModifiers`,`cacheSize`,`prefix`,`separator`,`experimentalParseClassName`])t[e]!==void 0&&n[e]===void 0&&(n[e]=t[e]);let r={};if(Object.keys(n).length>0&&(r.extend=n),t.override!=null&&!Hx(t.override)&&(r.override=t.override),r.extend||r.override)return r},Cw=e=>{let t=xw(Sw(e));return e=>t.mergeString(e)},ww,Tw=()=>(ww||=xw(),ww),Ew=()=>((!cS.cachedTwMerge||cS.didTwMergeConfigChange)&&(cS.didTwMergeConfigChange=!1,cS.cachedTwMerge=Cw(cS.cachedTwMergeConfig)),cS.cachedTwMerge),Dw=e=>{let t=e?.twMergeConfig;t&&!Hx(t)&&(Ux(t,cS.cachedTwMergeConfig)||(cS.cachedTwMergeConfig=t,cS.didTwMergeConfigChange=!0))},Ow=e=>Fx(e),kw=(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})(),Aw=64,jw=500,Mw=new Map,Nw=new Map,Pw=0,Fw=()=>{Mw=new Map,Nw=new Map,Pw=0},Iw=e=>{if(e)return e.indexOf(` `)===-1?e:Tw().mergeString(e)||void 0},Lw=(e,t,n)=>{let r=Mw.get(e);r===void 0&&(r=[],Mw.set(e,r)),r.length>=Aw&&r.shift(),r.push({rest:t,result:n}),++Pw>jw&&(Pw=0,Nw=Mw,Mw=new Map)},Rw=(e,t,n,r,i)=>{let a=Mw.get(e);if(a===void 0&&(a=Nw.get(e)),a!==void 0)for(let e=0;e<a.length;e++){let o=a[e],s=o.rest;if(s.length!==n-1)continue;let c=0,l=!0;for(let e=t+1;e<r;e++){let t=i(e);if(t&&t!==s[c++]){l=!1;break}}if(l)return o.result}},zw=e=>{let t=e.length,n=``,r=-1,i=0,a=!0;for(let o=0;o<t;o++){let t=e[o];if(t){if(typeof t!=`string`){a=!1;break}r===-1&&(n=t,r=o),i++}}if(!a)return Iw(Ow(e));if(i===0)return;if(i===1)return Iw(n);let o=Rw(n,r,i,t,t=>e[t]);if(o!==void 0)return o||void 0;let s=n,c=[];for(let n=r+1;n<t;n++){let t=e[n];t&&(s+=` `+t,c.push(t))}let l=Iw(s)??``;return Lw(n,c,l),l||void 0},Bw=cS.reset.bind(cS);cS.reset=()=>{ww=void 0,Fw(),Bw()};var Vw=(e,t)=>{let n=Ow(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(Dw(t),(t?.twMergeConfig&&!Hx(t.twMergeConfig)?Ew():Tw().mergeString)(n)||void 0)},Hw=e=>e==null||!(e.twMerge===!1||e.twMergeConfig&&!Hx(e.twMergeConfig)),Uw=(e,...t)=>Vw(t,e),Ww=(...e)=>t=>Hw(t)?kw?zw(e):Iw(Ow(e)):Vw(e,t),Gw=LS(Uw);Gw.tv;var Kw=Gw.createTV,qw=gm.ui?.tv,Jw=Kw(qw);function Yw(e){if(typeof e==`function`)return e;if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){let n=Yw(e[t]);if(n)return n}}function Xw(e){return Array.isArray(e)?e.flatMap(e=>Xw(e)):typeof e==`function`?[]:[e]}function Zw(e,t,n){return Ww(e(n()),...Xw(t.class),...Xw(t.className))(qw)??``}function Qw(e,t=0){if(e==null)return!0;let n=typeof e;if(n===`string`||n===`boolean`)return!0;if(n===`number`)return Number.isFinite(e);if(Array.isArray(e)){if(t>=4)return!1;for(let n of e)if(!Qw(n,t+1))return!1;return!0}return!1}function $w(e){let t=Object.getPrototypeOf(e);if(t===Object.prototype||t===null){for(let t of Object.keys(e))if(!Qw(e[t]))return;return JSON.stringify(e)}}function eT(e){let t=new Map;return new Proxy(e,{get(e,n){let r=e[n];return typeof r==`function`?(e={})=>{let i=Yw(e.class)??Yw(e.className);if(!i){let i=$w(e);if(i===void 0)return r(e);let a=t.get(n);a||(a=new Map,t.set(n,a));let o=a.get(i);return o===void 0&&!a.has(i)&&(a.size>=500&&a.clear(),o=r(e),a.set(i,o)),o}return Zw(i,e,()=>r({...e,class:void 0,className:void 0}))}:r}})}function tT(e){return Ww(e)(qw)??``}function nT(e){if(!e||typeof e!=`object`)return e;let t=e.slots,n=t&&typeof t==`object`?Object.entries(t).filter(e=>typeof e[1]==`function`):[],r=typeof e.base==`function`?e.base:void 0;if(!n.length&&!r)return e;let i=e.extend,a={...e},o,s=!1;if(r&&(a.base=r(tT(i?.slots?.base??i?.base)),i?.slots?.base&&(o??={...i.slots},o.base=``),i?.base&&(s=!0)),n.length){let e={...t};for(let[t,r]of n)e[t]=r(tT(i?.slots?.[t])),i?.slots?.[t]&&(o??={...i.slots},o[t]=``);a.slots=e}if(o||s){let e={...i};o&&(e.slots=o),s&&(e.base=``),a.extend=e}return a}var rT=(e=>{let t=Jw(nT(e));return new Proxy(t,{apply(e,t,n){let r=Reflect.apply(e,t,n);if(r&&typeof r==`object`)return eT(r);if(typeof r==`string`){let r=n[0]??{},i=Yw(r.class)??Yw(r.className);if(i)return Zw(i,r,()=>Reflect.apply(e,t,[{...r,class:void 0,className:void 0}]))}return r}})}),iT={__name:`Icon`,props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){let t=e,n=vm();function r(e,t){if(e!==!1)return e===!0||e===null?t:e}let i=q(()=>{let e=t.mode||n.icon?.mode;return e===`css`?`style`:e}),a=q(()=>t.size||n.icon?.size),o=q(()=>r(t.customize,n.icon?.customize)),s=q(()=>typeof t.name==`string`?t.name.replace(/^i-/,``):``),c=q(()=>rd(s.value));return(t,n)=>typeof e.name==`string`?(z(),V(N(yf),{key:0,icon:s.value,mode:i.value,width:a.value,height:a.value,customise:o.value,ssr:c.value},null,8,[`icon`,`mode`,`width`,`height`,`customise`,`ssr`])):(z(),V(ma(e.name),{key:1}))}},aT=Symbol(`nuxt-ui.avatar-group`);function oT(e){let t=wr(aT,void 0),n=q(()=>e.size??t?.value.size),r=q(()=>e.color??t?.value.color);return Cr(aT,q(()=>({size:n.value,color:r.value}))),{size:n,color:r}}var sT={slots:{root:`relative inline-flex items-center justify-center shrink-0`,base:`rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap`},variants:{color:{primary:`bg-primary`,secondary:`bg-secondary`,success:`bg-success`,info:`bg-info`,warning:`bg-warning`,error:`bg-error`,neutral:`bg-inverted`},size:{"3xs":`h-[4px] min-w-[4px] text-[4px]`,"2xs":`h-[5px] min-w-[5px] text-[5px]`,xs:`h-[6px] min-w-[6px] text-[6px]`,sm:`h-[7px] min-w-[7px] text-[7px]`,md:`h-[8px] min-w-[8px] text-[8px]`,lg:`h-[9px] min-w-[9px] text-[9px]`,xl:`h-[10px] min-w-[10px] text-[10px]`,"2xl":`h-[11px] min-w-[11px] text-[11px]`,"3xl":`h-[12px] min-w-[12px] text-[12px]`},position:{"top-right":`top-0 right-0`,"bottom-right":`bottom-0 right-0`,"top-left":`top-0 left-0`,"bottom-left":`bottom-0 left-0`},inset:{false:``},standalone:{false:`absolute`}},compoundVariants:[{position:`top-right`,inset:!1,class:`-translate-y-1/2 translate-x-1/2 transform`},{position:`bottom-right`,inset:!1,class:`translate-y-1/2 translate-x-1/2 transform`},{position:`top-left`,inset:!1,class:`-translate-y-1/2 -translate-x-1/2 transform`},{position:`bottom-left`,inset:!1,class:`translate-y-1/2 -translate-x-1/2 transform`}],defaultVariants:{size:`md`,color:`primary`,position:`top-right`}},cT=Object.assign({inheritAttrs:!1},{__name:`Chip`,props:za({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:[`update:show`],setup(e){let t=e,n=Ax(`chip`,t),r=so(e,`show`,{type:Boolean,default:!0}),{size:i}=oT(t),a=vm(),o=q(()=>rT({extend:sT,...a.ui?.chip||{}})({color:n.color,size:i.value??n.size,position:n.position,inset:n.inset,standalone:n.standalone}));return(e,t)=>(z(),V(N(Y),{as:N(n).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:k(o.value.root({class:[N(n).ui?.root,N(n).class]}))},{default:P(()=>[U(N(ag),A(Es({...e.$attrs,"data-slot":void 0})),{default:P(()=>[L(e.$slots,`default`)]),_:3},16),r.value?(z(),B(`span`,{key:0,"data-slot":`base`,class:k(o.value.base({class:N(n).ui?.base}))},[L(e.$slots,`content`,{},()=>[W(j(N(n).text),1)])],2)):G(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),lT={slots:{root:`inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle`,image:`h-full w-full rounded-[inherit] object-cover`,fallback:`font-medium truncate`,icon:`shrink-0`},variants:{color:{primary:{root:`bg-primary/10`,fallback:`text-primary`,icon:`text-primary`},secondary:{root:`bg-secondary/10`,fallback:`text-secondary`,icon:`text-secondary`},success:{root:`bg-success/10`,fallback:`text-success`,icon:`text-success`},info:{root:`bg-info/10`,fallback:`text-info`,icon:`text-info`},warning:{root:`bg-warning/10`,fallback:`text-warning`,icon:`text-warning`},error:{root:`bg-error/10`,fallback:`text-error`,icon:`text-error`},neutral:{root:`bg-elevated`,fallback:`text-muted`,icon:`text-muted`}},size:{"3xs":{root:`size-4 text-[8px]`},"2xs":{root:`size-5 text-[10px]`},xs:{root:`size-6 text-xs`},sm:{root:`size-7 text-sm`},md:{root:`size-8 text-base`},lg:{root:`size-9 text-lg`},xl:{root:`size-10 text-xl`},"2xl":{root:`size-11 text-[22px]`},"3xl":{root:`size-12 text-2xl`}}},defaultVariants:{size:`md`,color:`neutral`}},uT=Object.assign({inheritAttrs:!1},{__name:`Avatar`,props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},color:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let t=e,n=Ax(`avatar`,t),r=q(()=>typeof n.as==`string`||typeof n.as?.render==`function`?{root:n.as}:wm(n.as,{root:`span`})),i=q(()=>n.text||(n.alt||``).split(` `).map(e=>e.charAt(0)).join(``).substring(0,2)),a=vm(),{size:o,color:s}=oT(t),c=q(()=>rT({extend:lT,...a.ui?.avatar||{}})({size:o.value??n.size,color:s.value??n.color})),l=q(()=>c.value.root({class:[n.ui?.root,n.class]})),u=q(()=>{let e=(l.value||``).split(` `).find(e=>/^size-\d+$/.test(e));if(e){let t=Number.parseFloat(e.split(`-`)[1]??``);if(!Number.isNaN(t))return t*4}return null}),d=M(!1);F(()=>n.src,()=>{d.value&&=!1});function f(){d.value=!0}return(e,t)=>(z(),V(ma(N(n).chip?cT:N(Y)),K({as:r.value.root},N(n).chip?typeof N(n).chip==`object`?{inset:!0,...N(n).chip}:{inset:!0}:{},{"data-slot":e.$attrs[`data-slot`]??`root`,class:l.value,style:N(n).style}),{default:P(()=>[N(n).src&&!d.value?(z(),V(ma(r.value.img||N(`img`)),K({key:0,src:N(n).src,alt:N(n).alt,width:u.value,height:u.value},e.$attrs,{"data-slot":`image`,class:c.value.image({class:N(n).ui?.image}),onError:f}),null,16,[`src`,`alt`,`width`,`height`,`class`])):(z(),V(N(ag),A(K({key:1},{...e.$attrs,"data-slot":void 0})),{default:P(()=>[L(e.$slots,`default`,{},()=>[N(n).icon?(z(),V(iT,{key:0,name:N(n).icon,"data-slot":`icon`,class:k(c.value.icon({class:N(n).ui?.icon}))},null,8,[`name`,`class`])):(z(),B(`span`,{key:1,"data-slot":`fallback`,class:k(c.value.fallback({class:N(n).ui?.fallback}))},j(i.value||`\xA0`),3))])]),_:3},16))]),_:3},16,[`as`,`data-slot`,`class`,`style`]))}});function dT(e){let t=vm(),n=q(()=>_n(e)),r=q(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon);return{isLeading:r,isTrailing:q(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon&&n.value.trailing!==!1),leadingIconName:q(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),trailingIconName:q(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon)}}var fT=Symbol(`nuxt-ui.field-group`);function pT(e){let t=wr(fT,void 0);return{orientation:q(()=>t?.value.orientation),size:q(()=>e?.size??t?.value.size)}}var mT=I({name:`FieldGroupReset`,setup(e,{slots:t}){return Cr(fT,q(()=>({size:void 0,orientation:void 0}))),()=>t.default?.()}}),hT=Symbol(`nuxt-ui.form-options`),gT=Symbol(`nuxt-ui.form-events`),_T=Symbol(`nuxt-ui.form-field`),vT=Symbol(`nuxt-ui.input-id`),yT=Symbol(`nuxt-ui.form-loading`);function bT(e,t){let n=wr(hT,void 0),r=wr(gT,void 0),i=wr(_T,void 0),a=wr(vT,void 0);Cr(_T,void 0),i&&a&&(t?.bind===!1?a.value=void 0:e?.id&&(a.value=e?.id));function o(e,t,n){r&&i&&t&&r.emit({type:e,name:t,...n})}function s(){o(`blur`,i?.value.name)}function c(){o(`focus`,i?.value.name)}function l(){o(`change`,i?.value.name)}let u=!1;Fe()&&Ie(()=>{u=!0});let d=sm(()=>{u||o(`input`,i?.value.name,{eager:!t?.deferInputValidation||i?.value.eagerValidation,track:!1})},i?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);function f(){return o(`input`,i?.value.name,{validate:!1}),d()}return{id:q(()=>e?.id??a?.value),name:q(()=>e?.name??i?.value.name),size:q(()=>e?.size??i?.value.size),color:q(()=>i?.value.error?`error`:e?.color),highlight:q(()=>i?.value.error?!0:e?.highlight||void 0),disabled:q(()=>n?.value.disabled||e?.disabled||void 0),emitFormBlur:s,emitFormInput:f,emitFormChange:l,emitFormFocus:c,ariaAttrs:q(()=>{if(!i?.value)return;let e=[`error`,`hint`,`description`,`help`].filter(e=>i?.value?.[e]).map(e=>`${i?.value.ariaId}-${e}`)||[],t={"aria-invalid":!!i?.value.error};return e.length>0&&(t[`aria-describedby`]=e.join(` `)),t})}}var xT=`active.activeClass.ariaCurrentValue.as.disabled.download.exact.exactActiveClass.exactHash.exactQuery.external.form.formaction.formenctype.formmethod.formnovalidate.formtarget.href.hreflang.inactiveClass.locale.media.noPrefetch.noRel.onClick.ping.prefetch.prefetchOn.prefetchedClass.referrerpolicy.rel.replace.target.title.to.trailingSlash.type.viewTransition`.split(`.`);function ST(e){let t=Object.keys(e),n=t.filter(e=>e.startsWith(`aria-`)),r=t.filter(e=>e.startsWith(`data-`));return am(e,...xT,...n,...r)}var CT={__name:`LinkBase`,props:{as:{type:String,required:!1,default:`button`},type:{type:String,required:!1,default:`button`},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:[String,null],required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){let t=e;function n(e){if(t.disabled){e.stopPropagation(),e.preventDefault();return}let n=[];if(t.onClick)for(let r of Array.isArray(t.onClick)?t.onClick:[t.onClick])n.push(r(e));return t.href&&t.navigate&&!t.isExternal&&t.navigate(e),Promise.all(n)}return(t,r)=>(z(),V(N(Y),K(e.href?{as:`a`,href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?`true`:void 0,role:e.disabled?`link`:void 0,tabindex:e.disabled?-1:void 0}:e.as===`button`?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:P(()=>[L(t.$slots,`default`)]),_:3},16,[`rel`,`target`]))}},wT={base:`outline-primary/25 focus-visible:outline-3 rounded-md`,variants:{active:{true:`text-primary`,false:`text-muted`},disabled:{true:`cursor-not-allowed opacity-75`}},compoundVariants:[{active:!1,disabled:!1,class:[`hover:text-default`,`transition-colors`]}]},TT=Object.assign({inheritAttrs:!1},{__name:`Link`,props:{as:{type:null,required:!1,default:`button`},type:{type:null,required:!1,default:`button`},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},activeClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:`page`},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:String,required:!1},href:{type:String,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1}},setup(e){let t=e,n=vm(),r=q(()=>rT({extend:wT,...wm({variants:{active:{true:Fm(n.ui?.link?.variants?.active?.true,t.activeClass),false:Fm(n.ui?.link?.variants?.active?.false,t.inactiveClass)}}},n.ui?.link||{})})),i=q(()=>t.to??t.href),a=q(()=>t.target===`_blank`||t.external?!0:i.value?km(i.value,{acceptRelative:!0}):!1),o=q(()=>!!t.target&&t.target!==`_self`),s=q(()=>t.active!==void 0&&t.active),c=q(()=>{let e=s.value;return t.raw?[t.class,e?t.activeClass:t.inactiveClass]:r.value({class:t.class,active:e,disabled:t.disabled})}),l=q(()=>t.noRel?null:t.rel===void 0?a.value||o.value?`noopener noreferrer`:null:t.rel||null),u=wr(`nuxtui:router`,void 0),d=u?e=>{u(e,{href:i.value||``,external:a.value,target:t.target||(a.value?`_blank`:void 0)})}:void 0;return(t,n)=>e.custom?(z(),V(N(ag),{key:0},{default:P(()=>[L(t.$slots,`default`,A(Es({...t.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:i.value,navigate:N(d),rel:l.value,target:e.target||(a.value?`_blank`:void 0),isExternal:a.value,active:s.value})))]),_:3})):(z(),V(CT,K({key:1},{...t.$attrs,as:e.as,type:e.type,disabled:e.disabled,href:i.value,navigate:N(d),rel:l.value,target:e.target||(a.value?`_blank`:void 0),isExternal:a.value},{class:c.value}),{default:P(()=>[L(t.$slots,`default`,{active:s.value})]),_:3},16,[`class`]))}}),ET={slots:{base:[`rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75`,`transition-colors`],label:`truncate`,leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailingIcon:`shrink-0`},variants:{fieldGroup:{horizontal:`not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]`,vertical:`not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``,ghost:``,link:``},size:{xs:{base:`px-2 py-1 text-xs gap-1`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},sm:{base:`px-2.5 py-1.5 text-xs gap-1.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},md:{base:`px-2.5 py-1.5 text-sm gap-1.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},lg:{base:`px-3 py-2 text-sm gap-2`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},xl:{base:`px-3 py-2 text-base gap-2`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`}},block:{true:{base:`w-full justify-center`,trailingIcon:`ms-auto`}},square:{true:``},leading:{true:``},trailing:{true:``},loading:{true:``},active:{true:{base:``},false:{base:``}}},compoundVariants:[{color:`primary`,variant:`solid`,class:`text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`solid`,class:`text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`solid`,class:`text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`solid`,class:`text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`solid`,class:`text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`solid`,class:`text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error outline-error/25 focus-visible:outline-3`},{color:`primary`,variant:`outline`,class:`ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`outline`,class:`ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`outline`,class:`ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`outline`,class:`ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`outline`,class:`ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`outline`,class:`ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`soft`,class:`text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 outline-primary/25 focus-visible:outline-3 disabled:bg-primary/10 aria-disabled:bg-primary/10`},{color:`secondary`,variant:`soft`,class:`text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 outline-secondary/25 focus-visible:outline-3 disabled:bg-secondary/10 aria-disabled:bg-secondary/10`},{color:`success`,variant:`soft`,class:`text-success bg-success/10 hover:bg-success/15 active:bg-success/15 outline-success/25 focus-visible:outline-3 disabled:bg-success/10 aria-disabled:bg-success/10`},{color:`info`,variant:`soft`,class:`text-info bg-info/10 hover:bg-info/15 active:bg-info/15 outline-info/25 focus-visible:outline-3 disabled:bg-info/10 aria-disabled:bg-info/10`},{color:`warning`,variant:`soft`,class:`text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 outline-warning/25 focus-visible:outline-3 disabled:bg-warning/10 aria-disabled:bg-warning/10`},{color:`error`,variant:`soft`,class:`text-error bg-error/10 hover:bg-error/15 active:bg-error/15 outline-error/25 focus-visible:outline-3 disabled:bg-error/10 aria-disabled:bg-error/10`},{color:`primary`,variant:`subtle`,class:`text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:`subtle`,class:`text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:`subtle`,class:`text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:`subtle`,class:`text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:`subtle`,class:`text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:`subtle`,class:`text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:`ghost`,class:`text-primary hover:bg-primary/10 active:bg-primary/10 outline-primary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`secondary`,variant:`ghost`,class:`text-secondary hover:bg-secondary/10 active:bg-secondary/10 outline-secondary/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`success`,variant:`ghost`,class:`text-success hover:bg-success/10 active:bg-success/10 outline-success/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`info`,variant:`ghost`,class:`text-info hover:bg-info/10 active:bg-info/10 outline-info/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`warning`,variant:`ghost`,class:`text-warning hover:bg-warning/10 active:bg-warning/10 outline-warning/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`error`,variant:`ghost`,class:`text-error hover:bg-error/10 active:bg-error/10 outline-error/25 focus-visible:outline-3 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent`},{color:`primary`,variant:`link`,class:`text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:`link`,class:`text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:`link`,class:`text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success outline-success/25 focus-visible:outline-3`},{color:`info`,variant:`link`,class:`text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:`link`,class:`text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:`link`,class:`text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error outline-error/25 focus-visible:outline-3`},{color:`neutral`,variant:`solid`,class:`text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,variant:`outline`,class:`ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`soft`,class:`text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 outline-inverted/25 focus-visible:outline-3 disabled:bg-elevated aria-disabled:bg-elevated`},{color:`neutral`,variant:`subtle`,class:`ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:`ghost`,class:`text-default hover:bg-elevated active:bg-elevated outline-inverted/25 focus-visible:outline-3 hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent`},{color:`neutral`,variant:`link`,class:`text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted outline-inverted/25 focus-visible:outline-3`},{size:`xs`,square:!0,class:`p-1`},{size:`sm`,square:!0,class:`p-1.5`},{size:`md`,square:!0,class:`p-1.5`},{size:`lg`,square:!0,class:`p-2`},{size:`xl`,square:!0,class:`p-2`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`}},DT={__name:`Button`,props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},locale:{type:[Boolean,String],required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){let t=e,n=Pa(),r=Ax(`button`,t),i=vm(),{orientation:a,size:o}=pT(t),s=jx(ST(r)),c=q(()=>Am(s.value,[`type`,`disabled`,`onClick`])),l=M(!1),u=wr(yT,void 0);async function d(e){l.value=!0;let t=Array.isArray(r.onClick)?r.onClick:[r.onClick];try{await Promise.all(t.map(t=>t?.(e)))}finally{l.value=!1}}let f=q(()=>r.loading||r.loadingAuto&&(l.value||u?.value&&r.type===`submit`)),{isLeading:p,isTrailing:m,leadingIconName:h,trailingIconName:g}=dT(q(()=>({icon:r.icon,leading:r.leading,leadingIcon:r.leadingIcon,trailing:r.trailing,trailingIcon:r.trailingIcon,loading:f.value,loadingIcon:r.loadingIcon}))),_=q(()=>rT({extend:ET,...wm({variants:{active:{true:{base:Fm(i.ui?.button?.variants?.active?.true?.base,r.activeClass)},false:{base:Fm(i.ui?.button?.variants?.active?.false?.base,r.inactiveClass)}}}},i.ui?.button||{})})({color:r.color,variant:r.variant,size:o.value??r.size,loading:f.value,block:r.block,square:r.square||!n.default&&!r.label,leading:p.value,trailing:m.value,fieldGroup:a.value}));return(e,t)=>(z(),V(TT,K({type:N(r).type,disabled:N(r).disabled||f.value},c.value,{custom:``}),{default:P(({active:t,...n})=>[U(CT,K({"data-slot":`base`},n,{class:_.value.base({class:[N(r).ui?.base,N(r).class],active:t,...t&&N(r).activeVariant?{variant:N(r).activeVariant}:{},...t&&N(r).activeColor?{color:N(r).activeColor}:{}}),onClick:d}),{default:P(()=>[L(e.$slots,`leading`,{ui:_.value},()=>[N(p)&&N(h)?(z(),V(iT,{key:0,name:N(h),"data-slot":`leadingIcon`,class:k(_.value.leadingIcon({class:N(r).ui?.leadingIcon,active:t}))},null,8,[`name`,`class`])):N(r).avatar?(z(),V(uT,K({key:1,size:N(r).ui?.leadingAvatarSize||_.value.leadingAvatarSize()},N(r).avatar,{"data-slot":`leadingAvatar`,class:_.value.leadingAvatar({class:N(r).ui?.leadingAvatar,active:t})}),null,16,[`size`,`class`])):G(``,!0)]),L(e.$slots,`default`,{ui:_.value},()=>[N(r).label!==void 0&&N(r).label!==null?(z(),B(`span`,{key:0,"data-slot":`label`,class:k(_.value.label({class:N(r).ui?.label,active:t}))},j(N(r).label),3)):G(``,!0)]),L(e.$slots,`trailing`,{ui:_.value},()=>[N(m)&&N(g)?(z(),V(iT,{key:0,name:N(g),"data-slot":`trailingIcon`,class:k(_.value.trailingIcon({class:N(r).ui?.trailingIcon,active:t}))},null,8,[`name`,`class`])):G(``,!0)])]),_:2},1040,[`class`])]),_:3},16,[`type`,`disabled`]))}},OT={slots:{root:`gap-2`,base:`relative overflow-hidden rounded-full bg-accented`,indicator:`rounded-full size-full transition-transform duration-200 ease-out motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-pulse`,status:`flex text-dimmed duration-200 ease-out motion-reduce:transition-none`,steps:`grid items-end`,step:`truncate text-end row-start-1 col-start-1 transition-opacity ease-out`},variants:{animation:{carousel:``,"carousel-inverse":``,swing:``,elastic:``},color:{primary:{indicator:`bg-primary`,steps:`text-primary`},secondary:{indicator:`bg-secondary`,steps:`text-secondary`},success:{indicator:`bg-success`,steps:`text-success`},info:{indicator:`bg-info`,steps:`text-info`},warning:{indicator:`bg-warning`,steps:`text-warning`},error:{indicator:`bg-error`,steps:`text-error`},neutral:{indicator:`bg-inverted`,steps:`text-highlighted`}},size:{"2xs":{status:`text-xs`,steps:`text-xs`},xs:{status:`text-xs`,steps:`text-xs`},sm:{status:`text-sm`,steps:`text-sm`},md:{status:`text-sm`,steps:`text-sm`},lg:{status:`text-sm`,steps:`text-sm`},xl:{status:`text-base`,steps:`text-base`},"2xl":{status:`text-base`,steps:`text-base`}},step:{active:{step:`opacity-100`},first:{step:`opacity-100 text-muted`},other:{step:`opacity-0`},last:{step:``}},orientation:{horizontal:{root:`w-full flex flex-col`,base:`w-full`,status:`flex-row items-center justify-end w-(--percent) min-w-fit transition-[width]`},vertical:{root:`h-full flex flex-row-reverse`,base:`h-full`,status:`flex-col justify-end h-(--percent) min-h-fit transition-[height]`}},inverted:{true:{status:`self-end`}}},compoundVariants:[{inverted:!0,orientation:`horizontal`,class:{step:`text-start`,status:`flex-row-reverse`}},{inverted:!0,orientation:`vertical`,class:{steps:`items-start`,status:`flex-col-reverse`}},{orientation:`horizontal`,size:`2xs`,class:`h-px`},{orientation:`horizontal`,size:`xs`,class:`h-0.5`},{orientation:`horizontal`,size:`sm`,class:`h-1`},{orientation:`horizontal`,size:`md`,class:`h-2`},{orientation:`horizontal`,size:`lg`,class:`h-3`},{orientation:`horizontal`,size:`xl`,class:`h-4`},{orientation:`horizontal`,size:`2xl`,class:`h-5`},{orientation:`vertical`,size:`2xs`,class:`w-px`},{orientation:`vertical`,size:`xs`,class:`w-0.5`},{orientation:`vertical`,size:`sm`,class:`w-1`},{orientation:`vertical`,size:`md`,class:`w-2`},{orientation:`vertical`,size:`lg`,class:`w-3`},{orientation:`vertical`,size:`xl`,class:`w-4`},{orientation:`vertical`,size:`2xl`,class:`w-5`},{orientation:`horizontal`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse_2s_linear_infinite] motion-safe:data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_linear_infinite]`}},{orientation:`vertical`,animation:`carousel-inverse`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_linear_infinite]`}},{orientation:`horizontal`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`swing`,class:{indicator:`motion-safe:data-[state=indeterminate]:animate-[swing-vertical_2s_var(--ease-in-out)_infinite]`}},{orientation:`horizontal`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic_2s_var(--ease-in-out)_infinite]`}},{orientation:`vertical`,animation:`elastic`,class:{indicator:`relative motion-safe:data-[state=indeterminate]:animate-[elastic-vertical_2s_var(--ease-in-out)_infinite]`}}],defaultVariants:{animation:`carousel`,color:`primary`,size:`md`}},kT={__name:`Progress`,props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`horizontal`},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:[`update:modelValue`,`update:max`],setup(e,{emit:t}){let n=e,r=t,i=Pa(),a=Ax(`progress`,n),{dir:o}=Vm(),s=vm(),c=jx(am(a,`getValueLabel`,`getValueText`,`modelValue`),r),l=q(()=>c.value.modelValue===null),u=q(()=>Array.isArray(a.max)),d=q(()=>{if(!l.value&&a.max)return Array.isArray(a.max)?a.max.length-1:Number(a.max)}),f=q(()=>{if(!l.value)switch(!0){case c.value.modelValue<0:return 0;case c.value.modelValue>(d.value??100):return 100;default:return Math.round(c.value.modelValue/(d.value??100)*100)}}),p=q(()=>{if(f.value!==void 0)return a.orientation===`vertical`?{transform:`translateY(${a.inverted?``:`-`}${100-f.value}%)`}:o.value===`rtl`?{transform:`translateX(${a.inverted?`-`:``}${100-f.value}%)`}:{transform:`translateX(${a.inverted?``:`-`}${100-f.value}%)`}}),m=q(()=>({"--percent":`${Math.max(f.value??0,0)}%`}));function h(e){return e===Number(a.modelValue)}function g(e){return e===0}function _(e){return e===d.value}function v(e){return e=Number(e),h(e)&&!g(e)?`active`:g(e)&&h(e)?`first`:_(e)&&h(e)?`last`:`other`}let y=q(()=>rT({extend:OT,...s.ui?.progress||{}})({animation:a.animation,size:a.size,color:a.color,orientation:a.orientation,inverted:a.inverted})),b=q(()=>Object.keys({...OT.variants?.color,...s.ui?.progress?.variants?.color})),x=q(()=>a.color&&!b.value.includes(a.color)?a.color:void 0);return(e,t)=>(z(),V(N(Y),{as:N(a).as,"data-orientation":N(a).orientation,"data-slot":`root`,class:k(y.value.root({class:[N(a).ui?.root,N(a).class]}))},{default:P(()=>[!l.value&&(N(a).status||i.status)?(z(),B(`div`,{key:0,"data-slot":`status`,class:k(y.value.status({class:N(a).ui?.status})),style:he(m.value)},[L(e.$slots,`status`,{percent:f.value},()=>[W(j(f.value)+`% `,1)])],6)):G(``,!0),U(N(Wb),K(N(c),{max:d.value,"data-slot":`base`,class:y.value.base({class:N(a).ui?.base}),style:{transform:`translateZ(0)`}}),{default:P(()=>[U(N(Gb),{"data-slot":`indicator`,class:k(y.value.indicator({class:N(a).ui?.indicator})),style:he([p.value,x.value?{backgroundColor:x.value}:void 0])},null,8,[`class`,`style`])]),_:1},16,[`max`,`class`]),u.value?(z(),B(`div`,{key:1,"data-slot":`steps`,class:k(y.value.steps({class:N(a).ui?.steps})),style:he(x.value?{color:x.value}:void 0)},[(z(!0),B(R,null,va(N(a).max,(t,n)=>(z(),B(`div`,{key:n,"data-slot":`step`,class:k(y.value.step({class:N(a).ui?.step,step:v(n)}))},[L(e.$slots,`step-${n}`,{step:t},()=>[W(j(t),1)])],2))),128))],6)):G(``,!0)]),_:3},8,[`as`,`data-orientation`,`class`]))}},AT={slots:{root:`relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5`,wrapper:`w-0 flex-1 flex flex-col`,title:`text-sm font-medium text-highlighted`,description:`text-sm text-muted`,icon:`shrink-0 size-5`,avatar:`shrink-0`,avatarSize:`2xl`,actions:`flex gap-1.5 shrink-0`,progress:`absolute inset-x-0 bottom-0`,close:`p-0`},variants:{color:{primary:{root:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`,icon:`text-primary`},secondary:{root:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`,icon:`text-secondary`},success:{root:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`,icon:`text-success`},info:{root:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`,icon:`text-info`},warning:{root:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`,icon:`text-warning`},error:{root:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`,icon:`text-error`},neutral:{root:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`,icon:`text-highlighted`}},orientation:{horizontal:{root:`items-center`,actions:`items-center`},vertical:{root:`items-start`,actions:`items-start mt-2.5`}},title:{true:{description:`mt-1`}}},defaultVariants:{color:`primary`}},jT={__name:`Toast`,props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},duration:{type:Number,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1}},emits:[`escapeKeyDown`,`pause`,`resume`,`swipeStart`,`swipeMove`,`swipeCancel`,`swipeEnd`,`update:open`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=Pa(),o=Ax(`toast`,r),{t:s}=Vm(),c=vm(),l=jx(am(o,`as`,`defaultOpen`,`open`,`duration`,`type`),i),u=q(()=>rT({extend:AT,...c.ui?.toast||{}})({color:o.color,orientation:o.orientation,title:!!o.title||!!a.title})),d=di(`rootRef`),f=M(0);return ta(()=>{d.value?.$el?.getBoundingClientRect&&(f.value=d.value.$el.getBoundingClientRect().height)}),t({height:f}),(e,t)=>(z(),V(N(mx),K({ref_key:`rootRef`,ref:d},N(l),{"data-orientation":N(o).orientation,"data-slot":`root`,class:u.value.root({class:[N(o).ui?.root,N(o).class]}),style:{"--height":f.value}}),{default:P(({remaining:n,duration:r,open:i})=>[L(e.$slots,`leading`,{ui:u.value},()=>[N(o).avatar?(z(),V(uT,K({key:0,size:N(o).ui?.avatarSize||u.value.avatarSize()},N(o).avatar,{"data-slot":`avatar`,class:u.value.avatar({class:N(o).ui?.avatar})}),null,16,[`size`,`class`])):N(o).icon?(z(),V(iT,{key:1,name:N(o).icon,"data-slot":`icon`,class:k(u.value.icon({class:N(o).ui?.icon}))},null,8,[`name`,`class`])):G(``,!0)]),H(`div`,{"data-slot":`wrapper`,class:k(u.value.wrapper({class:N(o).ui?.wrapper}))},[N(o).title||a.title?(z(),V(N(hx),{key:0,"data-slot":`title`,class:k(u.value.title({class:N(o).ui?.title}))},{default:P(()=>[L(e.$slots,`title`,{},()=>[typeof N(o).title==`function`?(z(),V(ma(N(o).title()),{key:0})):typeof N(o).title==`object`?(z(),V(ma(N(o).title),{key:1})):(z(),B(R,{key:2},[W(j(N(o).title),1)],64))])]),_:3},8,[`class`])):G(``,!0),N(o).description||a.description?(z(),V(N(fx),{key:1,"data-slot":`description`,class:k(u.value.description({class:N(o).ui?.description}))},{default:P(()=>[L(e.$slots,`description`,{},()=>[typeof N(o).description==`function`?(z(),V(ma(N(o).description()),{key:0})):typeof N(o).description==`object`?(z(),V(ma(N(o).description),{key:1})):(z(),B(R,{key:2},[W(j(N(o).description),1)],64))])]),_:3},8,[`class`])):G(``,!0),N(o).orientation===`vertical`&&(N(o).actions?.length||a.actions)?(z(),B(`div`,{key:2,"data-slot":`actions`,class:k(u.value.actions({class:N(o).ui?.actions}))},[L(e.$slots,`actions`,{},()=>[(z(!0),B(R,null,va(N(o).actions,(e,n)=>(z(),V(N(dx),{key:n,"alt-text":e.label||`Action`,"as-child":``,onClick:t[0]||=mu(()=>{},[`stop`])},{default:P(()=>[U(DT,K({size:`xs`,color:N(o).color},{ref_for:!0},e),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))])],2)):G(``,!0)],2),N(o).orientation===`horizontal`&&(N(o).actions?.length||a.actions)||N(o).close?(z(),B(`div`,{key:0,"data-slot":`actions`,class:k(u.value.actions({class:N(o).ui?.actions,orientation:`horizontal`}))},[N(o).orientation===`horizontal`&&(N(o).actions?.length||a.actions)?L(e.$slots,`actions`,{},()=>[(z(!0),B(R,null,va(N(o).actions,(e,n)=>(z(),V(N(dx),{key:n,"alt-text":e.label||`Action`,"as-child":``,onClick:t[1]||=mu(()=>{},[`stop`])},{default:P(()=>[U(DT,K({size:`xs`,color:N(o).color},{ref_for:!0},e),null,16,[`color`])]),_:2},1032,[`alt-text`]))),128))],void 0,0):G(``,!0),N(o).close||a.close?(z(),V(N(ux),{key:1,"as-child":``},{default:P(()=>[L(e.$slots,`close`,{ui:u.value},()=>[N(o).close?(z(),V(DT,K({key:0,icon:N(o).closeIcon||N(c).ui.icons.close,color:`neutral`,variant:`link`,"aria-label":N(s)(`toast.close`)},typeof N(o).close==`object`?N(o).close:{},{"data-slot":`close`,class:u.value.close({class:N(o).ui?.close}),onClick:t[2]||=mu(()=>{},[`stop`])}),null,16,[`icon`,`aria-label`,`class`])):G(``,!0)])]),_:3})):G(``,!0)],2)):G(``,!0),N(o).progress&&i&&n>0&&r?(z(),V(kT,K({key:1,"model-value":n/r*100,color:N(o).color},typeof N(o).progress==`object`?N(o).progress:{},{size:`sm`,"data-slot":`progress`,class:u.value.progress({class:N(o).ui?.progress})}),null,16,[`model-value`,`color`,`class`])):G(``,!0)]),_:3},16,[`data-orientation`,`class`,`style`]))}},MT={slots:{viewport:`fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none`,base:`pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_var(--ease-out)] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_200ms_var(--ease-out)] motion-safe:data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_200ms_var(--ease-out)] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out motion-reduce:transition-none`},variants:{position:{"top-left":{viewport:`left-4`},"top-center":{viewport:`left-1/2 transform -translate-x-1/2`},"top-right":{viewport:`right-4`},"bottom-left":{viewport:`left-4`},"bottom-center":{viewport:`left-1/2 transform -translate-x-1/2`},"bottom-right":{viewport:`right-4`}},swipeDirection:{up:`data-[swipe=end]:animate-[toast-slide-up_200ms_var(--ease-out)]`,right:`data-[swipe=end]:animate-[toast-slide-right_200ms_var(--ease-out)]`,down:`data-[swipe=end]:animate-[toast-slide-down_200ms_var(--ease-out)]`,left:`data-[swipe=end]:animate-[toast-slide-left_200ms_var(--ease-out)]`}},compoundVariants:[{position:[`top-left`,`top-center`,`top-right`],class:{viewport:`top-4`,base:`top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_var(--ease-out)]`}},{position:[`bottom-left`,`bottom-center`,`bottom-right`],class:{viewport:`bottom-4`,base:`bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_var(--ease-out)]`}},{swipeDirection:[`left`,`right`],class:`data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0`},{swipeDirection:[`up`,`down`],class:`data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0`}],defaultVariants:{position:`bottom-right`}},NT=Object.assign({name:`Toaster`},{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){let t=Ax(`toaster`,e),{toasts:n,remove:r}=Nx(),i=vm();Cr(Mx,Tn(()=>t.max));let a=jx(am(t,`duration`,`label`,`swipeThreshold`,`disableSwipe`)),o=Sx(Tn(()=>t.portal)),s=q(()=>{switch(t.position){case`top-center`:return`up`;case`top-right`:case`bottom-right`:return`right`;case`bottom-center`:return`down`;case`top-left`:case`bottom-left`:return`left`}return`right`}),c=q(()=>rT({extend:MT,...i.ui?.toaster||{}})({position:t.position,swipeDirection:s.value}));function l(e,t){e||r(t)}let u=M(!1),d=q(()=>t.expand||u.value),f=M([]),p=q(()=>f.value.reduce((e,{height:t})=>e+t+16,0)),m=q(()=>f.value[f.value.length-1]?.height||0);function h(e){return f.value.slice(e+1).reduce((e,{height:t})=>e+t+16,0)}return(e,r)=>(z(),V(N($b),K({"swipe-direction":s.value},N(a)),{default:P(()=>[L(e.$slots,`default`),(z(!0),B(R,null,va(N(n),(e,r)=>(z(),V(jT,K({key:e.id,ref_for:!0,ref_key:`refs`,ref:f,progress:N(t).progress},{ref_for:!0},N(Am)(e,[`id`,`close`,`_duplicate`,`_updated`,`onClick`]),{close:e.close,"data-expanded":d.value,"data-front":!d.value&&r===N(n).length-1,"data-pulsing":e._duplicate?e._duplicate%2==0?`even`:`odd`:void 0,style:{"--index":r-N(n).length+N(n).length,"--before":N(n).length-1-r,"--offset":h(r),"--scale":d.value?`1`:`calc(1 - var(--before) * var(--scale-factor))`,"--translate":d.value?`calc(var(--offset) * var(--translate-factor))`:`calc(var(--before) * var(--gap))`,"--transform":`translateY(var(--translate)) scale(var(--scale))`},"data-slot":`base`,class:c.value.base({class:[N(t).ui?.base,e.onClick?`cursor-pointer`:void 0]}),"onUpdate:open":t=>l(t,e.id),onClick:t=>e.onClick&&e.onClick(e)}),null,16,[`progress`,`close`,`data-expanded`,`data-front`,`data-pulsing`,`style`,`class`,`onUpdate:open`,`onClick`]))),128)),U(N(px),A(Es(N(o))),{default:P(()=>[U(N(_x),{"data-expanded":d.value,"data-slot":`viewport`,class:k(c.value.viewport({class:[N(t).ui?.viewport,N(t).class]})),style:he({"--scale-factor":`0.05`,"--translate-factor":N(t).position?.startsWith(`top`)?`1px`:`-1px`,"--gap":N(t).position?.startsWith(`top`)?`16px`:`-16px`,"--front-height":`${m.value}px`,"--height":`${p.value}px`}),onMouseenter:r[0]||=e=>u.value=!0,onMouseleave:r[1]||=e=>u.value=!1},null,8,[`data-expanded`,`class`,`style`])]),_:1},16)]),_:3},16,[`swipe-direction`]))}});function PT(){let e=$t([]),t=(t,i)=>{let{props:a,defaultOpen:s,destroyOnClose:c}=i||{},l=Qt({id:Symbol(import.meta.dev?`useOverlay`:``),isOpen:!!s,component:ln(t),isMounted:!!s,destroyOnClose:!!c,originalProps:a||{},props:{...a},resolvers:[]});return e.push(l),{...l,open:e=>n(l.id,e),close:e=>r(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);n.props=t?{...n.originalProps,...t}:{...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvers.push(e));return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1;for(let e of n.resolvers.splice(0))e(t)},i=()=>{e.forEach(e=>r(e.id))},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{overlays:e,open:n,close:r,closeAll:i,create:t,patch:o,unmount:a,isOpen:e=>s(e).isOpen}}var FT=em(PT),IT={__name:`OverlayProvider`,setup(e){let{overlays:t,unmount:n,close:r}=FT(),i=q(()=>t.filter(e=>e.isMounted)),a=e=>{r(e),n(e)},o=(e,t)=>{r(e,t)};return(e,t)=>(z(!0),B(R,null,va(i.value,e=>(z(),V(ma(e.component),K({key:e.id},{ref_for:!0},e.props,{open:e.isOpen,"onUpdate:open":t=>e.isOpen=t,onClose:t=>o(e.id,t),"onAfter:leave":t=>a(e.id)}),null,16,[`open`,`onUpdate:open`,`onClose`,`onAfter:leave`]))),128))}},LT=Object.assign({name:`App`},{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:`body`},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){let t=e,n=Ih(am(t,`scrollBody`)),r=Tn(()=>t.tooltip),i=Tn(()=>t.toaster),a=Tn(()=>t.dir?{...t.locale||zm,dir:t.dir}:t.locale);return Cr(Bm,a),Cr(xx,Tn(()=>t.portal)),(o,s)=>(z(),V(N(yh),K({"use-id":()=>li(),dir:t.dir||a.value?.dir,locale:a.value?.code},N(n)),{default:P(()=>[U(N(bx),A(Es(r.value)),{default:P(()=>[e.toaster===null?L(o.$slots,`default`,{},void 0,void 0,1):(z(),V(NT,A(K({key:0},i.value)),{default:P(()=>[L(o.$slots,`default`)]),_:3},16)),U(IT)]),_:3},16)]),_:3},16,[`use-id`,`dir`,`locale`]))}});function RT(){let{contains:e,startsWith:t}=jh({sensitivity:`base`});function n(n,r){return e(n,r)?e(r,n)?0:t(n,r)?1:2:null}function r(e,t,r){if(typeof e!=`object`||!e)return n(String(e),t);let i=null;for(let a of r){let r=jm(e,a);if(r==null)continue;let o=Array.isArray(r)?r.map(String):[String(r)];for(let e of o){let r=n(e,t);if(r!==null&&(i===null||r<i)&&(i=r),i===0)return 0}}return i}function i(e,t,n){if(!t)return e;let i=[];for(let a of e){let e=r(a,t,n);e!==null&&i.push({item:a,score:e})}return i.sort((e,t)=>e.score-t.score),i.map(({item:e})=>e)}function a(e,t,n){return t?e.map(e=>{let i=[];for(let a of e){if(a==null)continue;if(n.isStructural?.(a)){i.push({item:a,score:-1});continue}let e=r(a,t,n.fields);e!==null&&i.push({item:a,score:e})}let a=0;for(let e=0;e<=i.length;e++)(e===i.length||i[e].score===-1)&&(i.splice(a,e-a,...i.slice(a,e).sort((e,t)=>e.score-t.score)),a=e+1);return i.map(({item:e})=>e)}).filter(e=>e.some(e=>!n.isStructural?.(e))):e}return{score:n,scoreItem:r,filter:i,filterGroups:a}}var zT=Tm({name:`简体中文`,code:`zh-CN`,messages:{alert:{close:`关闭`},authForm:{hidePassword:`隐藏密码`,showPassword:`显示密码`,submit:`继续`},banner:{close:`关闭`},calendar:{nextMonth:`下个月`,nextYear:`明年`,prevMonth:`上个月`,prevYear:`去年`},carousel:{dots:`选择要显示的幻灯片`,goto:`跳转到第 {slide} 页`,next:`下一页`,prev:`上一页`},chatPrompt:{placeholder:`在这里输入你的消息…`},chatPromptSubmit:{label:`发送`},chatReasoning:{thinking:`思考中…`,thought:`已思考`,thoughtFor:`思考了 {duration}`},colorMode:{dark:`深色`,light:`浅色`,switchToDark:`切换到深色模式`,switchToLight:`切换到浅色模式`,system:`系统`},commandPalette:{back:`返回`,close:`关闭`,noData:`没有数据`,noMatch:`没有匹配的数据`,placeholder:`输入命令或搜索…`},contentSearch:{links:`链接`,search:`搜索结果`,theme:`主题`},contentSearchButton:{label:`搜索…`},contentToc:{title:`本页内容`},dropdownMenu:{noMatch:`没有匹配的数据`,search:`搜索…`},dashboardSearch:{theme:`主题`},dashboardSearchButton:{label:`搜索…`},dashboardSidebarCollapse:{collapse:`收起侧边栏`,expand:`展开侧边栏`},dashboardSidebarToggle:{close:`关闭侧边栏`,open:`打开侧边栏`},drawer:{close:`关闭`},error:{clear:`返回首页`},fileUpload:{removeFile:`删除 {filename}`},header:{close:`关闭菜单`,open:`打开菜单`},inputMenu:{create:`创建 "{label}"`,noData:`没有数据`,noMatch:`没有匹配的数据`},inputNumber:{decrement:`减少`,increment:`增加`},listbox:{noData:`没有数据`,noMatch:`没有匹配的数据`,search:`搜索…`},modal:{close:`关闭`},pricingTable:{caption:`价格计划比较`},prose:{codeCollapse:{closeText:`收起`,name:`代码`,openText:`展开`},collapsible:{closeText:`隐藏`,name:`属性`,openText:`显示`},pre:{copy:`复制代码到剪贴板`},prompt:{copy:`复制提示词`,openIn:`在 {name} 中打开`}},sidebar:{close:`关闭`,toggle:`切换`},selectMenu:{create:`创建 "{label}"`,noData:`没有数据`,noMatch:`没有匹配的数据`,search:`搜索…`},slideover:{close:`关闭`},table:{noData:`没有数据`},toast:{close:`关闭`}}});async function $(e,t){let n=await fetch(`/api/${e}`,t===void 0?{credentials:`same-origin`}:{method:`POST`,credentials:`same-origin`,headers:{"Content-Type":`application/json`,"X-CoDiscuss-Panel":`1`},body:JSON.stringify(t)}),r=await n.json().catch(()=>({}));if(!n.ok)throw Error(r.error||`请求失败(${n.status})`);return r}var BT={Codex:`openai`,OpenAI:`openai`,Claude:`claude`,Antigravity:`gemini`,DeepSeek:`deepseek`,Qwen:`qwen`,Grok:`grok`};function VT(e){return BT[e]?`/icons/${BT[e]}.svg`:``}function HT(e,t){let n=Object.entries(e).find(([e,n])=>e!==`OpenAI`&&n.base_url&&n.base_url===t);return n?{key:n[0],...n[1]}:{key:`Custom`,label:`自定义接口`}}function UT(e){return e?e.public_url||`http://127.0.0.1:${e.port}`:``}function WT(e,t={}){let n=e.detail.originalEvent,r=n.target;r?.isConnected?t.scrollable&&(n.offsetX>r.clientWidth||n.offsetY>r.clientHeight)&&e.preventDefault():e.preventDefault()}var GT={slots:{overlay:`fixed inset-0`,content:`bg-default divide-y divide-default flex flex-col focus:outline-none`,header:`flex items-center gap-1.5 p-4 sm:px-6 min-h-(--ui-header-height)`,wrapper:``,body:`flex-1 p-4 sm:p-6`,footer:`flex items-center gap-1.5 p-4 sm:px-6`,title:`text-highlighted font-semibold`,description:`mt-1 text-muted text-sm`,close:`absolute top-4 end-4`},variants:{transition:{true:{overlay:`data-[state=open]:animate-[fade-in_200ms_var(--ease-out)] data-[state=closed]:animate-[fade-out_200ms_var(--ease-out)]`,content:`data-[state=open]:animate-[scale-in_200ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_200ms_var(--ease-out)]`}},fullscreen:{true:{content:`inset-0`},false:{content:`w-[calc(100vw-2rem)] max-w-lg rounded-lg shadow-lg ring ring-default`}},overlay:{true:{overlay:`bg-elevated/75`}},scrollable:{true:{overlay:`overflow-y-auto`,content:`relative`},false:{content:`fixed`,body:`overflow-y-auto`}}},compoundVariants:[{scrollable:!0,fullscreen:!1,class:{overlay:`grid place-items-center p-4 sm:py-8`}},{scrollable:!1,fullscreen:!1,class:{content:`top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] overflow-hidden`}}]},KT={__name:`Modal`,props:{title:{type:String,required:!1},description:{type:String,required:!1},content:{type:Object,required:!1},overlay:{type:Boolean,required:!1,default:!0},scrollable:{type:Boolean,required:!1},transition:{type:Boolean,required:!1,default:!0},fullscreen:{type:Boolean,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},dismissible:{type:Boolean,required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0},unmountOnHide:{type:Boolean,required:!1}},emits:[`leave`,`after:leave`,`enter`,`after:enter`,`close:prevent`,`update:open`],setup(e,{emit:t}){let n=e,r=t,i=Pa(),a=Ax(`modal`,n),{t:o}=Vm(),s=vm(),c=jx(am(a,`open`,`defaultOpen`,`modal`,`unmountOnHide`),r),l=Sx(Tn(()=>a.portal)),u=Tn(()=>a.content),d=q(()=>a.dismissible?{pointerDownOutside:e=>WT(e,{scrollable:a.scrollable})}:[`interactOutside`,`escapeKeyDown`].reduce((e,t)=>(e[t]=e=>{e.preventDefault(),r(`close:prevent`)},e),{})),[f,p]=fm(),m=q(()=>rT({extend:GT,...s.ui?.modal||{}})({transition:a.transition,fullscreen:a.fullscreen,overlay:a.overlay,scrollable:a.scrollable}));return(e,t)=>(z(),V(N(ug),A(Es(N(c))),{default:P(({open:n,close:c})=>[U(N(f),null,{default:P(()=>[U(N(Xg),K({"data-slot":`content`,class:m.value.content({class:[!i.default&&N(a).class,N(a).ui?.content]})},u.value,{onEnter:t[0]||=e=>!N(a).scrollable&&r(`enter`),onAfterEnter:t[1]||=e=>!N(a).scrollable&&r(`after:enter`),onLeave:t[2]||=e=>!N(a).scrollable&&r(`leave`),onAfterLeave:t[3]||=e=>!N(a).scrollable&&r(`after:leave`)},xa(d.value)),{default:P(()=>[!N(a).title&&!i.title||!N(a).description&&!i.description||i.content?(z(),V(N(o_),{key:0},{default:P(()=>[!N(a).title&&!i.title?(z(),V(N(n_),{key:0})):i.content?(z(),V(N(n_),{key:1},{default:P(()=>[L(e.$slots,`title`,{},()=>[W(j(N(a).title),1)])]),_:3})):G(``,!0),!N(a).description&&!i.description?(z(),V(N(Zg),{key:2})):i.content?(z(),V(N(Zg),{key:3},{default:P(()=>[L(e.$slots,`description`,{},()=>[W(j(N(a).description),1)])]),_:3})):G(``,!0)]),_:3})):G(``,!0),L(e.$slots,`content`,{close:c},()=>[i.header||N(a).title||i.title||N(a).description||i.description||N(a).close||i.close?(z(),B(`div`,{key:0,"data-slot":`header`,class:k(m.value.header({class:N(a).ui?.header}))},[L(e.$slots,`header`,{close:c},()=>[N(a).title||i.title||N(a).description||i.description?(z(),B(`div`,{key:0,"data-slot":`wrapper`,class:k(m.value.wrapper({class:N(a).ui?.wrapper}))},[N(a).title||i.title?(z(),V(N(n_),{key:0,"data-slot":`title`,class:k(m.value.title({class:N(a).ui?.title}))},{default:P(()=>[L(e.$slots,`title`,{},()=>[W(j(N(a).title),1)])]),_:3},8,[`class`])):G(``,!0),N(a).description||i.description?(z(),V(N(Zg),{key:1,"data-slot":`description`,class:k(m.value.description({class:N(a).ui?.description}))},{default:P(()=>[L(e.$slots,`description`,{},()=>[W(j(N(a).description),1)])]),_:3},8,[`class`])):G(``,!0)],2)):G(``,!0),L(e.$slots,`actions`),N(a).close||i.close?(z(),V(N(dg),{key:1,"as-child":``},{default:P(()=>[L(e.$slots,`close`,{ui:m.value},()=>[N(a).close?(z(),V(DT,K({key:0,icon:N(a).closeIcon||N(s).ui.icons.close,color:`neutral`,variant:`ghost`,"aria-label":N(o)(`modal.close`)},typeof N(a).close==`object`?N(a).close:{},{"data-slot":`close`,class:m.value.close({class:N(a).ui?.close})}),null,16,[`icon`,`aria-label`,`class`])):G(``,!0)])]),_:2},1024)):G(``,!0)])],2)):G(``,!0),i.body?(z(),B(`div`,{key:1,"data-slot":`body`,class:k(m.value.body({class:N(a).ui?.body}))},[L(e.$slots,`body`,{close:c})],2)):G(``,!0),i.footer?(z(),B(`div`,{key:2,"data-slot":`footer`,class:k(m.value.footer({class:N(a).ui?.footer}))},[L(e.$slots,`footer`,{close:c})],2)):G(``,!0)])]),_:2},1040,[`class`])]),_:2},1024),i.default?(z(),V(N(r_),{key:0,"as-child":``,class:k(N(a).class)},{default:P(()=>[L(e.$slots,`default`,{open:n})]),_:2},1032,[`class`])):G(``,!0),U(N(t_),K(N(l),{"force-mount":N(l).disabled&&N(a).unmountOnHide===!1||void 0}),{default:P(()=>[U(N(mT),null,{default:P(()=>[N(a).scrollable?(z(),V(N($g),{key:0,"data-slot":`overlay`,class:k(m.value.overlay({class:N(a).ui?.overlay})),onEnter:t[4]||=e=>r(`enter`),onAfterEnter:t[5]||=e=>r(`after:enter`),onLeave:t[6]||=e=>r(`leave`),onAfterLeave:t[7]||=e=>r(`after:leave`)},{default:P(()=>[U(N(p))]),_:1},8,[`class`])):(z(),B(R,{key:1},[N(a).overlay?(z(),V(N($g),{key:0,"data-slot":`overlay`,class:k(m.value.overlay({class:N(a).ui?.overlay}))},null,8,[`class`])):G(``,!0),U(N(p))],64))]),_:1})]),_:1},16,[`force-mount`])]),_:3},16))}},qT={slots:{root:`relative flex items-start`,base:[`inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-3 data-[state=unchecked]:bg-accented`,`transition-[background] duration-200 ease-out`],container:`flex items-center`,thumb:`group pointer-events-none rounded-full bg-default shadow-lg ring-0 transition-transform duration-200 ease-out motion-reduce:transition-none data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center`,icon:[`absolute shrink-0 group-data-[state=unchecked]:text-dimmed opacity-0 size-10/12`,`transition-[color,opacity] duration-200 ease-out`],wrapper:`ms-2`,label:`block font-medium text-default`,description:`text-muted`},variants:{color:{primary:{base:`data-[state=checked]:bg-primary outline-primary/25`,icon:`group-data-[state=checked]:text-primary`},secondary:{base:`data-[state=checked]:bg-secondary outline-secondary/25`,icon:`group-data-[state=checked]:text-secondary`},success:{base:`data-[state=checked]:bg-success outline-success/25`,icon:`group-data-[state=checked]:text-success`},info:{base:`data-[state=checked]:bg-info outline-info/25`,icon:`group-data-[state=checked]:text-info`},warning:{base:`data-[state=checked]:bg-warning outline-warning/25`,icon:`group-data-[state=checked]:text-warning`},error:{base:`data-[state=checked]:bg-error outline-error/25`,icon:`group-data-[state=checked]:text-error`},neutral:{base:`data-[state=checked]:bg-inverted outline-inverted/25`,icon:`group-data-[state=checked]:text-highlighted`}},size:{xs:{base:`w-7`,container:`h-4`,thumb:`size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3`,wrapper:`text-xs`},sm:{base:`w-8`,container:`h-4`,thumb:`size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5`,wrapper:`text-xs`},md:{base:`w-9`,container:`h-5`,thumb:`size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4`,wrapper:`text-sm`},lg:{base:`w-10`,container:`h-5`,thumb:`size-4.5 data-[state=checked]:translate-x-4.5 data-[state=checked]:rtl:-translate-x-4.5`,wrapper:`text-sm`},xl:{base:`w-11`,container:`h-6`,thumb:`size-5 data-[state=checked]:translate-x-5 data-[state=checked]:rtl:-translate-x-5`,wrapper:`text-base`}},checked:{true:{icon:`group-data-[state=checked]:opacity-100`}},unchecked:{true:{icon:`group-data-[state=unchecked]:opacity-100`}},loading:{true:{icon:`animate-spin`}},highlight:{true:``},required:{true:{label:`after:content-['*'] after:ms-0.5 after:text-error`}},disabled:{true:{root:`opacity-75`,base:`cursor-not-allowed`,label:`cursor-not-allowed`,description:`cursor-not-allowed`}}},compoundVariants:[{color:`primary`,highlight:!0,class:{base:`ring ring-primary`}},{color:`secondary`,highlight:!0,class:{base:`ring ring-secondary`}},{color:`success`,highlight:!0,class:{base:`ring ring-success`}},{color:`info`,highlight:!0,class:{base:`ring ring-info`}},{color:`warning`,highlight:!0,class:{base:`ring ring-warning`}},{color:`error`,highlight:!0,class:{base:`ring ring-error`}},{color:`neutral`,highlight:!0,class:{base:`ring ring-inverted`}}],defaultVariants:{color:`primary`,size:`md`}},JT=Object.assign({inheritAttrs:!1},{__name:`Switch`,props:{as:{type:null,required:!1},color:{type:null,required:!1},size:{type:null,required:!1},highlight:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},checkedIcon:{type:null,required:!1},uncheckedIcon:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},value:{type:String,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},trueValue:{type:null,required:!1},falseValue:{type:null,required:!1}},emits:[`change`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=Pa(),i=t,a=Ax(`switch`,n),o=vm(),s=jx(am(a,`required`,`value`,`defaultValue`,`modelValue`,`trueValue`,`falseValue`),i),{id:c,emitFormChange:l,emitFormInput:u,size:d,color:f,highlight:p,name:m,disabled:h,ariaAttrs:g}=bT(n),_=c.value??li(),v=q(()=>f.value??a.color),y=q(()=>p.value??a.highlight),b=q(()=>d.value??a.size),x=q(()=>h.value??a.disabled),S=Fa(),C=q(()=>{let{"data-state":e,...t}=S;return t}),w=q(()=>rT({extend:qT,...o.ui?.switch||{}})({size:b.value,color:v.value,highlight:y.value,required:a.required,loading:a.loading,disabled:x.value||a.loading}));function T(e){let t=new Event(`change`,{target:{value:e}});i(`change`,t),l(),u()}return(e,t)=>(z(),V(N(Y),{as:N(a).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:k(w.value.root({class:[N(a).ui?.root,N(a).class]}))},{default:P(()=>[H(`div`,{"data-slot":`container`,class:k(w.value.container({class:N(a).ui?.container}))},[U(N(Jb),K({id:N(_)},{...N(s),...C.value,...N(g)},{name:N(m),disabled:x.value||N(a).loading,"data-slot":`base`,class:w.value.base({class:N(a).ui?.base}),"onUpdate:modelValue":T}),{default:P(()=>[U(N(Yb),{"data-slot":`thumb`,class:k(w.value.thumb({class:N(a).ui?.thumb}))},{default:P(()=>[N(a).loading?(z(),V(iT,{key:0,name:N(a).loadingIcon||N(o).ui.icons.loading,"data-slot":`icon`,class:k(w.value.icon({class:N(a).ui?.icon,checked:!0,unchecked:!0}))},null,8,[`name`,`class`])):(z(),B(R,{key:1},[N(a).checkedIcon?(z(),V(iT,{key:0,name:N(a).checkedIcon,"data-slot":`icon`,class:k(w.value.icon({class:N(a).ui?.icon,checked:!0}))},null,8,[`name`,`class`])):G(``,!0),N(a).uncheckedIcon?(z(),V(iT,{key:1,name:N(a).uncheckedIcon,"data-slot":`icon`,class:k(w.value.icon({class:N(a).ui?.icon,unchecked:!0}))},null,8,[`name`,`class`])):G(``,!0)],64))]),_:1},8,[`class`])]),_:1},16,[`id`,`name`,`disabled`,`class`])],2),N(a).label||r.label||N(a).description||r.description?(z(),B(`div`,{key:0,"data-slot":`wrapper`,class:k(w.value.wrapper({class:N(a).ui?.wrapper}))},[N(a).label||r.label?(z(),V(N(Lb),{key:0,for:N(_),"data-slot":`label`,class:k(w.value.label({class:N(a).ui?.label}))},{default:P(()=>[L(e.$slots,`label`,{label:N(a).label},()=>[W(j(N(a).label),1)])]),_:3},8,[`for`,`class`])):G(``,!0),N(a).description||r.description?(z(),B(`p`,{key:1,"data-slot":`description`,class:k(w.value.description({class:N(a).ui?.description}))},[L(e.$slots,`description`,{description:N(a).description},()=>[W(j(N(a).description),1)])],2)):G(``,!0)],2)):G(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),YT=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},XT={class:`panel-section-title`},ZT={class:`panel-rows`},QT={class:`panel-row`},$T={class:`panel-tile`},eE={class:`panel-main`},tE={class:`panel-title`},nE={class:`panel-sub`},rE=[`href`],iE={class:`panel-side`},aE=[`disabled`],oE=[`disabled`],sE={class:`panel-row-extra`},cE=[`disabled`],lE={key:0,class:`entry-help`},uE={class:`panel-row`},dE={class:`panel-tile`},fE={class:`panel-main`},pE={class:`panel-title`},mE={key:0,class:`panel-tag is-gray`},hE={key:1,class:`panel-tag is-amber`},gE={key:2,class:`panel-tag is-amber`},_E={key:3,class:`panel-tag is-green`},vE={class:`panel-side`},yE=[`disabled`],bE=YT({__name:`HostingCards`,setup(e){let{state:t,reload:n,notify:r}=wr(`panel`),i=M(!1),a=q(()=>t.value.clis||{}),o=[[`claude`,`Claude Code`],[`codex`,`Codex`],[`agy`,`Antigravity`],[`app`,`共议`],[`python`,`Python`]],s=q(()=>o.every(([e])=>a.value[e])),c=q(()=>a.value.app&&a.value.app_version&&a.value.app_version!==t.value.version),l=q(()=>t.value.entry||{running:!1,port:0,public_url:``}),u=M(``),d=M(l.value.public_url),f=M(!1);async function p(e,t={},i=``){u.value=e;try{await $(`entry/${e}`,t),i&&r(`info`,i),f.value=!1,await n(),d.value=l.value.public_url}catch(e){r(`error`,e.message)}finally{u.value=``}}async function m(){i.value=!0;try{let e=await $(`clis/install`,{}),t=[...(e.missing||[]).map(e=>`没有找到 ${e}`),...e.warnings||[]];r(t.length?`warning`:`info`,t.length?t.join(`;`):`程序副本已同步`),await n()}catch(e){r(`error`,e.message)}finally{i.value=!1}}return(e,n)=>{let r=iT;return z(),B(R,null,[H(`h3`,XT,[U(r,{name:`i-lucide-users`}),n[6]||=W(`托管`,-1)]),n[16]||=H(`p`,{class:`panel-guide`},`托管账号的使用者从登录入口登录,进入各自的网站;隔离账号运行在程序副本上。账号本身在“账号”页创建和管理。`,-1),H(`div`,ZT,[H(`div`,QT,[H(`div`,$T,[U(r,{name:`i-lucide-door-open`})]),H(`div`,eE,[H(`div`,tE,[n[7]||=W(`登录入口 `,-1),H(`span`,{class:k([`panel-tag`,l.value.running?`is-green`:`is-gray`])},j(l.value.running?`运行中`:`已停止`),3)]),H(`span`,nE,[n[8]||=W(`使用者打开 `,-1),H(`a`,{class:`panel-link`,href:N(UT)(l.value),target:`_blank`,rel:`noopener`},j(N(UT)(l.value)),9,rE),n[9]||=W(`,以账号名和密码登录`,-1)])]),H(`div`,iE,[l.value.running?(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!u.value,onClick:n[1]||=e=>p(`stop`,{},`登录入口已停止`)},[U(r,{name:u.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:k({"animate-spin":u.value===`stop`})},null,8,[`name`,`class`]),n[11]||=W(`停止`,-1)],8,oE)):(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-primary is-small`,disabled:!!u.value,onClick:n[0]||=e=>p(`start`,{},`登录入口已启动`)},[U(r,{name:u.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:k({"animate-spin":u.value===`start`})},null,8,[`name`,`class`]),n[10]||=W(`启动`,-1)],8,aE))])]),H(`div`,sE,[n[12]||=H(`span`,{class:`entry-label`},`外网地址`,-1),f.value?(z(),B(`form`,{key:1,class:`entry-url`,onSubmit:n[5]||=mu(e=>p(`settings`,{public_url:d.value.trim()},`外网地址已保存`),[`prevent`])},[xr(H(`input`,{"onUpdate:modelValue":n[3]||=e=>d.value=e,class:`panel-input`,placeholder:`https://entry.example.com`,autocomplete:`off`,spellcheck:`false`,autofocus:``},null,512),[[$l,d.value]]),H(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:n[4]||=e=>{f.value=!1,d.value=l.value.public_url}},`取消`),H(`button`,{type:`submit`,class:`panel-button is-primary is-small`,disabled:!!u.value},`保存`,8,cE)],32)):(z(),B(R,{key:0},[H(`span`,{class:k([`entry-value`,{"is-empty":!l.value.public_url}])},j(l.value.public_url||`未设置,仅本机可访问`),3),H(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:n[2]||=e=>f.value=!0},[U(r,{name:`i-lucide-pencil`}),W(j(l.value.public_url?`修改`:`设置`),1)])],64))]),f.value?(z(),B(`small`,lE,`先用 Cloudflare Tunnel 等工具把一个 https 地址转发到本机 `+j(l.value.port)+` 端口,再填入此处;留空则仅本机可访问。`,1)):G(``,!0),H(`div`,uE,[H(`div`,dE,[U(r,{name:`i-lucide-hard-drive-download`})]),H(`div`,fE,[H(`div`,pE,[n[14]||=W(`程序副本 `,-1),a.value.app?c.value?(z(),B(`span`,hE,`v`+j(a.value.app_version)+`,落后于本机 v`+j(N(t).version),1)):s.value?(z(),B(`span`,_E,[U(r,{name:`i-lucide-check`}),n[13]||=W(`已同步`,-1)])):(z(),B(`span`,gE,`缺少 `+j(o.filter(([e])=>!a.value[e]).map(([,e])=>e).join(`、`)),1)):(z(),B(`span`,mE,`未安装`))]),n[15]||=H(`span`,{class:`panel-sub`},`隔离账号无法读取你的个人目录,使用 C:\\ProgramData\\CoDiscuss 中的副本。升级 Claude Code 等程序后需同步。`,-1)]),H(`div`,vE,[H(`button`,{type:`button`,class:k([`panel-button is-small`,s.value&&!c.value?`is-plain`:`is-primary`]),disabled:i.value,onClick:m},[U(r,{name:i.value?`i-lucide-loader`:`i-lucide-refresh-cw`,class:k({"animate-spin":i.value})},null,8,[`name`,`class`]),W(j(a.value.app?`同步`:`安装`),1)],10,yE)])])])],64)}}},[[`__scopeId`,`data-v-7c1e5444`]]),xE={class:`panel-section-title`},SE={class:`panel-rows`},CE={class:`panel-row`},wE={class:`panel-tile`},TE={class:`panel-main`},EE={class:`panel-title`},DE={class:`panel-sub`},OE={class:`panel-side`},kE=[`href`],AE=[`disabled`],jE=[`disabled`],ME=[`disabled`],NE={class:`panel-row`},PE={class:`panel-tile`},FE={class:`panel-main`},IE={class:`panel-title`},LE={key:0,class:`panel-tag is-blue`},RE={key:1,class:`panel-tag is-green`},zE={class:`panel-sub`},BE={class:`panel-side`},VE=[`disabled`],HE=[`disabled`],UE={key:0,class:`panel-row`},WE={class:`panel-tile`},GE={class:`panel-main`},KE={class:`panel-sub`},qE={class:`panel-side`},JE={class:`panel-note`},YE={class:`panel-form-foot`},XE={class:`update-steps`},ZE={class:`panel-form-foot`},QE=1500,$E=6e5,eD=YT({__name:`OverviewPage`,setup(e){let{state:t,reload:n,notify:r,refreshed:i}=wr(`panel`),a=q(()=>t.value.service||{}),o=M(``),s=M(null),c=M(!1),l=M(!1);async function u(e,t){o.value=e;try{await $(`service/${e}`,{}),r(`info`,t),await n()}catch(e){r(`error`,e.message),await n()}finally{o.value=``}}async function d(e=!1){c.value=!0;try{s.value=await $(e?`update/check`:`update`),e&&!s.value.available&&r(`info`,`已是最新版本`)}catch(e){s.value={error:e.message}}finally{c.value=!1}}let f=M(null);async function p(){l.value=!1,o.value=`update`;try{await $(`update`,{}),f.value=await m()}catch(e){r(`error`,e.message)}finally{o.value=``}}async function m(){for(let e=0;e<$E;e+=QE){await new Promise(e=>setTimeout(e,QE));try{let e=await $(`update/progress`);if(e.status===`done`)return e}catch{}}throw Error(`更新超过 10 分钟没有完成:可运行 codiscuss panel open 重新打开面板查看`)}let h=e=>/失败/.test(e);function g(){window.location.reload()}async function _(){o.value=`autostart`;try{let{autostart:e}=await $(`autostart`,{on:!t.value.autostart});r(`info`,e?`登录 Windows 时会自动启动共议`:`已关闭开机自启`),await n()}catch(e){r(`error`,e.message)}finally{o.value=``}}return ta(()=>d()),F(i,()=>d(!0)),(e,n)=>{let r=iT,i=JT,m=KT;return z(),B(R,null,[H(`section`,null,[H(`h3`,xE,[U(r,{name:`i-lucide-monitor`}),n[9]||=W(`本机`,-1)]),H(`div`,SE,[H(`div`,CE,[H(`div`,wE,[U(r,{name:`i-lucide-server`})]),H(`div`,TE,[H(`div`,EE,[n[10]||=W(`共议服务 `,-1),H(`span`,{class:k([`panel-tag`,a.value.running?`is-green`:a.value.website?`is-amber`:`is-gray`])},[U(r,{name:a.value.running?`i-lucide-check`:`i-lucide-minus`},null,8,[`name`]),W(j(a.value.running?`运行中`:a.value.website?`讨论服务未就绪`:`已停止`),1)],2)]),H(`span`,DE,j(a.value.error||(a.value.running?`本机网站与讨论服务 · 数据目录 ${a.value.home}`:`启动后才能在房间里唤醒本机的 AI 成员`)),1)]),H(`div`,OE,[a.value.website||a.value.running?(z(),B(R,{key:0},[a.value.url?(z(),B(`a`,{key:0,class:`panel-button is-outline is-small`,href:a.value.url,target:`_blank`,rel:`noopener`},[U(r,{name:`i-lucide-external-link`}),n[11]||=W(`打开网站`,-1)],8,kE)):G(``,!0),H(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:!!o.value,title:`进行中的执行会中断,随后在原会话里续跑`,onClick:n[0]||=e=>u(`restart`,`共议服务已重启`)},[U(r,{name:o.value===`restart`?`i-lucide-loader`:`i-lucide-rotate-cw`,class:k({"animate-spin":o.value===`restart`})},null,8,[`name`,`class`]),n[12]||=W(`重启`,-1)],8,AE),H(`button`,{type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!o.value,title:`本机网站与讨论服务都会停止`,onClick:n[1]||=e=>u(`stop`,`共议服务已停止`)},[U(r,{name:o.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:k({"animate-spin":o.value===`stop`})},null,8,[`name`,`class`]),n[13]||=W(`停止`,-1)],8,jE)],64)):(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!o.value,onClick:n[2]||=e=>u(`start`,`共议服务已启动`)},[U(r,{name:o.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:k({"animate-spin":o.value===`start`})},null,8,[`name`,`class`]),n[14]||=W(`启动`,-1)],8,ME))])]),H(`div`,NE,[H(`div`,PE,[U(r,{name:`i-lucide-package`})]),H(`div`,FE,[H(`div`,IE,[W(`版本 v`+j(s.value?.current||a.value.version||N(t).version)+` `,1),s.value?.available?(z(),B(`span`,LE,[U(r,{name:`i-lucide-sparkles`}),W(`可更新到 v`+j(s.value.latest),1)])):s.value?.latest?(z(),B(`span`,RE,[U(r,{name:`i-lucide-check`}),n[15]||=W(`已是最新`,-1)])):G(``,!0)]),H(`span`,zE,j(s.value?.error?`检查失败:${s.value.error}`:s.value?.available?`更新会重启本机服务,进行中的执行会中断,随后在原会话里续跑`:c.value?`正在检查…`:`自动检查 npm 上发布的版本,每小时最多一次`),1)]),H(`div`,BE,[s.value?.available?(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!!o.value,onClick:n[4]||=e=>l.value=!0},[U(r,{name:o.value===`update`?`i-lucide-loader`:`i-lucide-download`,class:k({"animate-spin":o.value===`update`})},null,8,[`name`,`class`]),W(j(o.value===`update`?`正在更新…`:`更新`),1)],8,HE)):(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:c.value||!!o.value,onClick:n[3]||=e=>d(!0)},[U(r,{name:`i-lucide-refresh-cw`,class:k({"animate-spin":c.value})},null,8,[`class`]),n[16]||=W(`检查更新`,-1)],8,VE))])]),N(t).platform===`win32`?(z(),B(`div`,UE,[H(`div`,WE,[U(r,{name:`i-lucide-power`})]),H(`div`,GE,[n[17]||=H(`div`,{class:`panel-title`},`登录 Windows 时自动启动`,-1),H(`span`,KE,j(N(t).launcher?`在后台启动网站、讨论服务与任务栏图标,不打开浏览器`:`需要先生成“共议”程序:运行 codiscuss setup 并勾选创建桌面快捷方式`),1)]),H(`div`,qE,[U(i,{"model-value":!!N(t).autostart,loading:o.value===`autostart`,disabled:!!o.value||!N(t).launcher&&!N(t).autostart,"aria-label":`登录 Windows 时自动启动`,"onUpdate:modelValue":_},null,8,[`model-value`,`loading`,`disabled`])])])):G(``,!0)]),N(t).hosting?(z(),V(bE,{key:0})):G(``,!0)]),U(m,{open:l.value,title:`更新共议`,description:`从 v${s.value?.current} 更新到 v${s.value?.latest}`,"onUpdate:open":n[6]||=e=>!e&&(l.value=!1)},{body:P(()=>[H(`p`,JE,[U(r,{name:`i-lucide-info`}),W(`将通过 npm 安装新版本,更新共议内置技能,并重启本机网站与讨论服务。`+j(N(t).hosting?`隔离账号的程序副本和技能也会一起更新,运行中的实例会重启。`:``)+`进行中的讨论会暂停、执行会中断,随后在原会话里自动续跑。工作流不会被覆盖。`,1)]),H(`div`,YE,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[5]||=e=>l.value=!1},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:p},`更新并重启`)])]),_:1},8,[`open`,`description`]),U(m,{open:!!f.value,title:f.value?.ok?`已更新到 v${f.value?.version}`:`更新失败`,dismissible:!1,"onUpdate:open":n[8]||=e=>!e&&g()},{body:P(()=>[H(`ul`,XE,[(z(!0),B(R,null,va(f.value?.steps||[],e=>(z(),B(`li`,{key:e,class:k({"is-failed":h(e)})},[U(r,{name:h(e)?`i-lucide-circle-x`:`i-lucide-circle-check`},null,8,[`name`]),W(j(e),1)],2))),128))]),H(`div`,ZE,[H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:n[7]||=e=>g()},`完成`)])]),_:1},8,[`open`,`title`])],64)}}},[[`__scopeId`,`data-v-1e9c584a`]]),tD={Root:Sb,Trigger:Ib,Portal:kb,Content:Cb,Arrow:vb,Item:Eb,Group:Tb,Separator:Mb,CheckboxItem:yb,ItemIndicator:Db,Label:Ob,RadioGroup:Ab,RadioItem:jb,Sub:Nb,SubContent:Pb,SubTrigger:Fb,Filter:wb},nD={slots:{root:`relative inline-flex items-center`,base:[`w-full rounded-md border-0 appearance-none placeholder:text-dimmed disabled:cursor-not-allowed disabled:opacity-75`,`transition-colors`],leading:`absolute inset-y-0 start-0 flex items-center`,leadingIcon:`shrink-0 text-dimmed`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailing:`absolute inset-y-0 end-0 flex items-center`,trailingIcon:`shrink-0 text-dimmed`},variants:{fieldGroup:{horizontal:{root:`group has-focus-visible:z-[1]`,base:`group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none`},vertical:{root:`group has-focus-visible:z-[1]`,base:`group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none`}},size:{xs:{base:`px-2 py-1 text-sm/4 gap-1`,leading:`ps-2`,trailing:`pe-2`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},sm:{base:`px-2.5 py-1.5 text-sm/4 gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},md:{base:`px-2.5 py-1.5 text-base/5 gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},lg:{base:`px-3 py-2 text-base/5 gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},xl:{base:`px-3 py-2 text-base gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`}},variant:{outline:`text-highlighted bg-default ring ring-inset ring-accented`,soft:`text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50`,subtle:`text-highlighted bg-elevated ring ring-inset ring-accented`,ghost:`text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent`,none:`text-highlighted bg-transparent focus:outline-none`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},leading:{true:``},trailing:{true:``},loading:{true:``},highlight:{true:``},fixed:{false:``},type:{file:`file:me-1.5 file:font-medium file:text-muted file:outline-none`}},compoundVariants:[{color:`primary`,variant:[`outline`,`subtle`],class:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:[`outline`,`subtle`],class:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:[`outline`,`subtle`],class:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:[`outline`,`subtle`],class:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:[`outline`,`subtle`],class:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:[`outline`,`subtle`],class:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:[`soft`,`ghost`],class:`outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:[`soft`,`ghost`],class:`outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:[`soft`,`ghost`],class:`outline-success/25 focus-visible:outline-3`},{color:`info`,variant:[`soft`,`ghost`],class:`outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:[`soft`,`ghost`],class:`outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:[`soft`,`ghost`],class:`outline-error/25 focus-visible:outline-3`},{color:`primary`,highlight:!0,class:`ring ring-inset ring-primary`},{color:`secondary`,highlight:!0,class:`ring ring-inset ring-secondary`},{color:`success`,highlight:!0,class:`ring ring-inset ring-success`},{color:`info`,highlight:!0,class:`ring ring-inset ring-info`},{color:`warning`,highlight:!0,class:`ring ring-inset ring-warning`},{color:`error`,highlight:!0,class:`ring ring-inset ring-error`},{color:`neutral`,variant:[`outline`,`subtle`],class:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:[`soft`,`ghost`],class:`outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,highlight:!0,class:`ring ring-inset ring-inverted`},{leading:!0,size:`xs`,class:`ps-7`},{leading:!0,size:`sm`,class:`ps-8`},{leading:!0,size:`md`,class:`ps-9`},{leading:!0,size:`lg`,class:`ps-10`},{leading:!0,size:`xl`,class:`ps-11`},{trailing:!0,size:`xs`,class:`pe-7`},{trailing:!0,size:`sm`,class:`pe-8`},{trailing:!0,size:`md`,class:`pe-9`},{trailing:!0,size:`lg`,class:`pe-10`},{trailing:!0,size:`xl`,class:`pe-11`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}},{fixed:!1,size:`xs`,class:`md:text-xs`},{fixed:!1,size:`sm`,class:`md:text-xs`},{fixed:!1,size:`md`,class:`md:text-sm`},{fixed:!1,size:`lg`,class:`md:text-sm`}],defaultVariants:{size:`md`,color:`primary`,variant:`outline`}},rD=[`id`,`type`,`value`,`name`,`placeholder`,`disabled`,`required`,`autocomplete`],iD=Object.assign({inheritAttrs:!1},{__name:`Input`,props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:`text`},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:[String,Object],required:!1,default:`off`},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:[`update:modelValue`,`blur`,`change`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=Pa(),o=Ax(`input`,r),s=hm(o,`modelValue`,i,{defaultValue:o.defaultValue}),c=vm(),{emitFormBlur:l,emitFormInput:u,emitFormChange:d,size:f,color:p,id:m,name:h,highlight:g,disabled:_,emitFormFocus:v,ariaAttrs:y}=bT(r,{deferInputValidation:!0}),{orientation:b,size:x}=pT(r),{isLeading:S,isTrailing:C,leadingIconName:w,trailingIconName:T}=dT(o),ee=q(()=>p.value??o.color),E=q(()=>g.value??o.highlight),te=q(()=>x.value??f.value??o.size),ne=q(()=>_.value??o.disabled),re=q(()=>rT({extend:nD,...c.ui?.input||{}})({type:o.type,color:ee.value,variant:o.variant,size:te.value,loading:o.loading,highlight:E.value,fixed:o.fixed,leading:S.value||!!o.avatar||!!a.leading,trailing:C.value||!!a.trailing,fieldGroup:b.value})),D=di(`inputRef`);function ie(e){o.modelModifiers?.trim&&(typeof e==`string`||e==null)&&(e=e?.trim()??null),(o.modelModifiers?.number||o.type===`number`)&&(e=Mm(e)),o.modelModifiers?.nullable&&Nm(e)&&(e=null),o.modelModifiers?.optional&&!o.modelModifiers?.nullable&&e!==null&&Nm(e)&&(e=void 0),s.value=e,u()}function ae(e){o.modelModifiers?.lazy||ie(e.target.value)}function oe(e){let t=e.target.value;o.modelModifiers?.lazy&&ie(t),o.modelModifiers?.trim&&(e.target.value=t.trim()),d(),i(`change`,e)}function se(e){l(),i(`blur`,e)}function O(){o.autofocus&&D.value?.focus()}let ce;return ta(()=>{ce=setTimeout(()=>{O()},o.autofocusDelay)}),Ie(()=>clearTimeout(ce)),t({inputRef:D}),(e,t)=>(z(),V(N(Y),{as:N(o).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:k(re.value.root({class:[N(o).ui?.root,N(o).class]}))},{default:P(()=>[H(`input`,K({id:N(m),ref_key:`inputRef`,ref:D,type:N(o).type,value:N(s),name:N(h),placeholder:N(o).placeholder,class:re.value.base({class:N(o).ui?.base}),disabled:ne.value,required:N(o).required,autocomplete:N(o).autocomplete},{...e.$attrs,...N(y)},{"data-slot":`base`,onInput:ae,onBlur:se,onChange:oe,onFocus:t[0]||=(...e)=>N(v)&&N(v)(...e)}),null,16,rD),L(e.$slots,`default`,{ui:re.value}),N(S)||N(o).avatar||a.leading?(z(),B(`span`,{key:0,"data-slot":`leading`,class:k(re.value.leading({class:N(o).ui?.leading}))},[L(e.$slots,`leading`,{ui:re.value},()=>[N(S)&&N(w)?(z(),V(iT,{key:0,name:N(w),"data-slot":`leadingIcon`,class:k(re.value.leadingIcon({class:N(o).ui?.leadingIcon}))},null,8,[`name`,`class`])):N(o).avatar?(z(),V(uT,K({key:1,size:N(o).ui?.leadingAvatarSize||re.value.leadingAvatarSize()},N(o).avatar,{"data-slot":`leadingAvatar`,class:re.value.leadingAvatar({class:N(o).ui?.leadingAvatar})}),null,16,[`size`,`class`])):G(``,!0)])],2)):G(``,!0),N(C)||a.trailing?(z(),B(`span`,{key:1,"data-slot":`trailing`,class:k(re.value.trailing({class:N(o).ui?.trailing}))},[L(e.$slots,`trailing`,{ui:re.value},()=>[N(T)?(z(),V(iT,{key:0,name:N(T),"data-slot":`trailingIcon`,class:k(re.value.trailingIcon({class:N(o).ui?.trailingIcon}))},null,8,[`name`,`class`])):G(``,!0)])],2)):G(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}}),aD={base:`inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase`,variants:{color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``},size:{sm:`h-4 min-w-[16px] text-[10px]`,md:`h-5 min-w-[20px] text-[11px]`,lg:`h-6 min-w-[24px] text-[12px]`}},compoundVariants:[{color:`primary`,variant:`solid`,class:`text-inverted bg-primary`},{color:`secondary`,variant:`solid`,class:`text-inverted bg-secondary`},{color:`success`,variant:`solid`,class:`text-inverted bg-success`},{color:`info`,variant:`solid`,class:`text-inverted bg-info`},{color:`warning`,variant:`solid`,class:`text-inverted bg-warning`},{color:`error`,variant:`solid`,class:`text-inverted bg-error`},{color:`primary`,variant:`outline`,class:`ring ring-inset ring-primary/50 text-primary`},{color:`secondary`,variant:`outline`,class:`ring ring-inset ring-secondary/50 text-secondary`},{color:`success`,variant:`outline`,class:`ring ring-inset ring-success/50 text-success`},{color:`info`,variant:`outline`,class:`ring ring-inset ring-info/50 text-info`},{color:`warning`,variant:`outline`,class:`ring ring-inset ring-warning/50 text-warning`},{color:`error`,variant:`outline`,class:`ring ring-inset ring-error/50 text-error`},{color:`primary`,variant:`soft`,class:`text-primary bg-primary/10`},{color:`secondary`,variant:`soft`,class:`text-secondary bg-secondary/10`},{color:`success`,variant:`soft`,class:`text-success bg-success/10`},{color:`info`,variant:`soft`,class:`text-info bg-info/10`},{color:`warning`,variant:`soft`,class:`text-warning bg-warning/10`},{color:`error`,variant:`soft`,class:`text-error bg-error/10`},{color:`primary`,variant:`subtle`,class:`text-primary ring ring-inset ring-primary/25 bg-primary/10`},{color:`secondary`,variant:`subtle`,class:`text-secondary ring ring-inset ring-secondary/25 bg-secondary/10`},{color:`success`,variant:`subtle`,class:`text-success ring ring-inset ring-success/25 bg-success/10`},{color:`info`,variant:`subtle`,class:`text-info ring ring-inset ring-info/25 bg-info/10`},{color:`warning`,variant:`subtle`,class:`text-warning ring ring-inset ring-warning/25 bg-warning/10`},{color:`error`,variant:`subtle`,class:`text-error ring ring-inset ring-error/25 bg-error/10`},{color:`neutral`,variant:`solid`,class:`text-inverted bg-inverted`},{color:`neutral`,variant:`outline`,class:`ring ring-inset ring-accented text-default bg-default`},{color:`neutral`,variant:`soft`,class:`text-default bg-elevated`},{color:`neutral`,variant:`subtle`,class:`ring ring-inset ring-accented text-default bg-elevated`}],defaultVariants:{variant:`outline`,color:`neutral`,size:`md`}},oD={__name:`Kbd`,props:{as:{type:null,required:!1,default:`kbd`},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){let t=Ax(`kbd`,e),{getKbdKey:n}=bm(),r=vm(),i=q(()=>rT({extend:aD,...r.ui?.kbd||{}}));return(e,r)=>(z(),V(N(Y),{as:N(t).as,class:k(i.value({class:[N(t).ui?.base,N(t).class],color:N(t).color,variant:N(t).variant,size:N(t).size}))},{default:P(()=>[L(e.$slots,`default`,{},()=>[W(j(N(n)(N(t).value)),1)])]),_:3},8,[`as`,`class`]))}},sD={__name:`DropdownMenuContent`,props:{items:{type:null,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0},sub:{type:Boolean,required:!1},labelKey:{type:null,required:!0},descriptionKey:{type:null,required:!0},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0},size:{type:null,required:!1},filter:{type:[Boolean,Object],required:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1},searchTerm:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!0},uiOverride:{type:null,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1}},emits:[`update:searchTerm`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=Pa(),{t:a,dir:o}=Vm(),s=vm(),{filterGroups:c}=RT(),l=M(``),u=q({get:()=>n.searchTerm??l.value,set:e=>{l.value=e,r(`update:searchTerm`,e)}}),d=Tn(()=>wm(n.filter,{placeholder:a(`dropdownMenu.search`),variant:`none`})),f=Sx(Tn(()=>n.portal)),p=Lh(im(n,`sub`,`items`,`portal`,`labelKey`,`descriptionKey`,`checkedIcon`,`loadingIcon`,`externalIcon`,`size`,`filter`,`filterFields`,`ignoreFilter`,`searchTerm`,`class`,`ui`,`uiOverride`),r),m=()=>Am(i,[`default`]),[h,g]=fm(),_=q(()=>o.value===`rtl`?s.ui.icons.chevronLeft:s.ui.icons.chevronRight),v=q(()=>n.items?.length?Pm(n.items)?n.items:[n.items]:[]),y=e=>!!e.type&&[`label`,`separator`].includes(e.type),b=q(()=>{if(!n.filter||n.ignoreFilter||!u.value)return v.value;let e=Array.isArray(n.filterFields)&&n.filterFields.length?n.filterFields:[n.labelKey];return c(v.value,u.value,{fields:e,isStructural:y})}),x=q(()=>b.value.some(e=>e.some(e=>!y(e))));return(t,r)=>(z(),B(R,null,[U(N(h),null,{default:P(({item:r,active:a,index:o})=>[L(t.$slots,r.slot||`item`,{item:r,index:o,ui:e.ui},()=>[L(t.$slots,r.slot?`${r.slot}-leading`:`item-leading`,{item:r,active:a,index:o,ui:e.ui},()=>[r.loading?(z(),V(iT,{key:0,name:e.loadingIcon||N(s).ui.icons.loading,"data-slot":`itemLeadingIcon`,class:k(e.ui.itemLeadingIcon({class:[e.uiOverride?.itemLeadingIcon,r.ui?.itemLeadingIcon],color:r?.color,loading:!0}))},null,8,[`name`,`class`])):r.icon?(z(),V(iT,{key:1,name:r.icon,"data-slot":`itemLeadingIcon`,class:k(e.ui.itemLeadingIcon({class:[e.uiOverride?.itemLeadingIcon,r.ui?.itemLeadingIcon],color:r?.color,active:a}))},null,8,[`name`,`class`])):r.avatar?(z(),V(uT,K({key:2,size:r.ui?.itemLeadingAvatarSize||e.uiOverride?.itemLeadingAvatarSize||e.ui.itemLeadingAvatarSize()},r.avatar,{"data-slot":`itemLeadingAvatar`,class:e.ui.itemLeadingAvatar({class:[e.uiOverride?.itemLeadingAvatar,r.ui?.itemLeadingAvatar],active:a})}),null,16,[`size`,`class`])):G(``,!0)]),N(jm)(r,n.labelKey)||i[r.slot?`${r.slot}-label`:`item-label`]||N(jm)(r,n.descriptionKey)||i[r.slot?`${r.slot}-description`:`item-description`]?(z(),B(`span`,{key:0,"data-slot":`itemWrapper`,class:k(e.ui.itemWrapper({class:[e.uiOverride?.itemWrapper,r.ui?.itemWrapper]}))},[H(`span`,{"data-slot":`itemLabel`,class:k(e.ui.itemLabel({class:[e.uiOverride?.itemLabel,r.ui?.itemLabel],active:a}))},[L(t.$slots,r.slot?`${r.slot}-label`:`item-label`,{item:r,active:a,index:o},()=>[W(j(N(jm)(r,n.labelKey)),1)]),r.target===`_blank`&&e.externalIcon!==!1?(z(),V(iT,{key:0,name:typeof e.externalIcon==`string`?e.externalIcon:N(s).ui.icons.external,"data-slot":`itemLabelExternalIcon`,class:k(e.ui.itemLabelExternalIcon({class:[e.uiOverride?.itemLabelExternalIcon,r.ui?.itemLabelExternalIcon],color:r?.color,active:a}))},null,8,[`name`,`class`])):G(``,!0)],2),N(jm)(r,n.descriptionKey)||i[r.slot?`${r.slot}-description`:`item-description`]?(z(),B(`span`,{key:0,"data-slot":`itemDescription`,class:k(e.ui.itemDescription({class:[e.uiOverride?.itemDescription,r.ui?.itemDescription]}))},[L(t.$slots,r.slot?`${r.slot}-description`:`item-description`,{item:r,active:a,index:o},()=>[W(j(N(jm)(r,n.descriptionKey)),1)])],2)):G(``,!0)],2)):G(``,!0),H(`span`,{"data-slot":`itemTrailing`,class:k(e.ui.itemTrailing({class:[e.uiOverride?.itemTrailing,r.ui?.itemTrailing]}))},[L(t.$slots,r.slot?`${r.slot}-trailing`:`item-trailing`,{item:r,active:a,index:o,ui:e.ui},()=>[r.children?.length?(z(),V(iT,{key:0,name:_.value,"data-slot":`itemTrailingIcon`,class:k(e.ui.itemTrailingIcon({class:[e.uiOverride?.itemTrailingIcon,r.ui?.itemTrailingIcon],color:r?.color,active:a}))},null,8,[`name`,`class`])):r.kbds?.length?(z(),B(`span`,{key:1,"data-slot":`itemTrailingKbds`,class:k(e.ui.itemTrailingKbds({class:[e.uiOverride?.itemTrailingKbds,r.ui?.itemTrailingKbds]}))},[(z(!0),B(R,null,va(r.kbds,(t,n)=>(z(),V(oD,K({key:n,size:r.ui?.itemTrailingKbdsSize||e.uiOverride?.itemTrailingKbdsSize||e.ui.itemTrailingKbdsSize()},{ref_for:!0},typeof t==`string`?{value:t}:t),null,16,[`size`]))),128))],2)):G(``,!0)]),U(N(tD).ItemIndicator,{"as-child":``},{default:P(()=>[U(iT,{name:e.checkedIcon||N(s).ui.icons.check,"data-slot":`itemTrailingIcon`,class:k(e.ui.itemTrailingIcon({class:[e.uiOverride?.itemTrailingIcon,r.ui?.itemTrailingIcon],color:r?.color}))},null,8,[`name`,`class`])]),_:2},1024)],2)])]),_:3}),U(N(tD).Portal,A(Es(N(f))),{default:P(()=>[U(N(mT),null,{default:P(()=>[(z(),V(ma(e.sub?N(tD).SubContent:N(tD).Content),K({"data-slot":`content`,class:e.ui.content({class:[e.uiOverride?.content,n.class]})},N(p)),{default:P(()=>[e.filter?(z(),V(N(tD).Filter,{key:0,modelValue:u.value,"onUpdate:modelValue":r[1]||=e=>u.value=e,"as-child":``},{default:P(()=>[U(iD,K({autofocus:``,autocomplete:`off`,size:e.size},d.value,{"data-slot":`input`,class:e.ui.input({class:e.uiOverride?.input}),onChange:r[0]||=mu(()=>{},[`stop`])}),null,16,[`size`,`class`])]),_:1},8,[`modelValue`])):G(``,!0),L(t.$slots,`content-top`,{sub:e.sub??!1}),!u.value||x.value?(z(),B(`div`,{key:1,role:`presentation`,"data-slot":`viewport`,class:k(e.ui.viewport({class:e.uiOverride?.viewport}))},[(z(!0),B(R,null,va(b.value,(r,i)=>(z(),V(N(tD).Group,{key:`group-${i}`,"data-slot":`group`,class:k(e.ui.group({class:e.uiOverride?.group}))},{default:P(()=>[(z(!0),B(R,null,va(r,(r,a)=>(z(),B(R,{key:`group-${i}-${a}`},[r.type===`label`?(z(),V(N(tD).Label,{key:0,"data-slot":`label`,class:k(e.ui.label({class:[e.uiOverride?.label,r.ui?.label,r.class]}))},{default:P(()=>[U(N(g),{item:r,index:a},null,8,[`item`,`index`])]),_:2},1032,[`class`])):r.type===`separator`?(z(),V(N(tD).Separator,{key:1,"data-slot":`separator`,class:k(e.ui.separator({class:[e.uiOverride?.separator,r.ui?.separator,r.class]}))},null,8,[`class`])):r?.children?.length?(z(),V(N(tD).Sub,{key:2,open:r.open,"default-open":r.defaultOpen},{default:P(()=>[U(N(tD).SubTrigger,{as:`button`,type:`button`,disabled:r.disabled,"text-value":N(jm)(r,n.labelKey),"data-slot":`item`,class:k(e.ui.item({class:[e.uiOverride?.item,r.ui?.item,r.class],color:r?.color}))},{default:P(()=>[U(N(g),{item:r,index:a},null,8,[`item`,`index`])]),_:2},1032,[`disabled`,`text-value`,`class`]),U(sD,K({sub:``,class:r.ui?.content,ui:e.ui,"ui-override":e.uiOverride,portal:e.portal,items:r.children,align:`start`,"align-offset":-4,"side-offset":3,"label-key":e.labelKey,"description-key":e.descriptionKey,"checked-icon":e.checkedIcon,"loading-icon":e.loadingIcon,"external-icon":e.externalIcon,size:e.size,filter:r.filter,"filter-fields":r.filterFields||e.filterFields,"ignore-filter":r.ignoreFilter??e.ignoreFilter},{ref_for:!0},r.content),ya({_:2},[va(m(),(e,n)=>({name:n,fn:P(e=>[L(t.$slots,n,K({ref_for:!0},e))])}))]),1040,[`class`,`ui`,`ui-override`,`portal`,`items`,`label-key`,`description-key`,`checked-icon`,`loading-icon`,`external-icon`,`size`,`filter`,`filter-fields`,`ignore-filter`])]),_:2},1032,[`open`,`default-open`])):r.type===`checkbox`?(z(),V(N(tD).CheckboxItem,{key:3,"model-value":r.checked,disabled:r.disabled,"text-value":N(jm)(r,n.labelKey),"data-slot":`item`,class:k(e.ui.item({class:[e.uiOverride?.item,r.ui?.item,r.class],color:r?.color})),"onUpdate:modelValue":r.onUpdateChecked,onSelect:r.onSelect},{default:P(()=>[U(N(g),{item:r,index:a},null,8,[`item`,`index`])]),_:2},1032,[`model-value`,`disabled`,`text-value`,`class`,`onUpdate:modelValue`,`onSelect`])):(z(),V(TT,K({key:4,ref_for:!0},N(ST)(r),{custom:``}),{default:P(({active:t,...i})=>[U(N(tD).Item,{"as-child":``,disabled:r.disabled,"text-value":N(jm)(r,n.labelKey),onSelect:r.onSelect},{default:P(()=>[U(CT,K({ref_for:!0},i,{"data-slot":`item`,class:e.ui.item({class:[e.uiOverride?.item,r.ui?.item,r.class],color:r?.color,active:t})}),{default:P(()=>[U(N(g),{item:r,active:t,index:a},null,8,[`item`,`active`,`index`])]),_:2},1040,[`class`])]),_:2},1032,[`disabled`,`text-value`,`onSelect`])]),_:2},1040))],64))),128))]),_:2},1032,[`class`]))),128))],2)):G(``,!0),u.value&&!x.value?(z(),B(`div`,{key:2,"data-slot":`empty`,class:k(e.ui.empty({class:e.uiOverride?.empty}))},[L(t.$slots,`empty`,{searchTerm:u.value},()=>[W(j(N(a)(`dropdownMenu.noMatch`,{searchTerm:u.value})),1)])],2)):G(``,!0),L(t.$slots,`default`),L(t.$slots,`content-bottom`,{sub:e.sub??!1})]),_:3},16,[`class`]))]),_:3})]),_:3},16)],64))}},cD={slots:{content:`min-w-32 max-h-(--reka-dropdown-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col`,input:`border-b border-default`,empty:`text-center text-muted`,viewport:`relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1`,arrow:`fill-bg stroke-default`,group:`p-1 isolate`,label:`w-full flex items-center font-semibold text-highlighted`,separator:`-mx-1 my-1 h-px bg-border`,item:`group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75`,itemLeadingIcon:`shrink-0`,itemLeadingAvatar:`shrink-0`,itemLeadingAvatarSize:``,itemTrailing:`ms-auto inline-flex gap-1.5 items-center`,itemTrailingIcon:`shrink-0`,itemTrailingKbds:`hidden lg:inline-flex items-center shrink-0`,itemTrailingKbdsSize:``,itemWrapper:`flex-1 flex flex-col text-start min-w-0`,itemLabel:`truncate`,itemDescription:`truncate text-muted`,itemLabelExternalIcon:`inline-block size-3 align-top text-dimmed`},variants:{color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},active:{true:{item:`text-highlighted before:bg-elevated`,itemLeadingIcon:`text-default`},false:{item:[`text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50`,`transition-colors before:transition-colors`],itemLeadingIcon:[`text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default`,`transition-colors`]}},loading:{true:{itemLeadingIcon:`animate-spin`}},size:{xs:{label:`p-1 text-xs gap-1`,item:`p-1 text-xs gap-1`,empty:`p-2 text-xs`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemTrailingIcon:`size-4`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`sm`},sm:{label:`p-1.5 text-xs gap-1.5`,item:`p-1.5 text-xs gap-1.5`,empty:`p-2.5 text-xs`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemTrailingIcon:`size-4`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`sm`},md:{label:`p-1.5 text-sm gap-1.5`,item:`p-1.5 text-sm gap-1.5`,empty:`p-2.5 text-sm`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemTrailingIcon:`size-5`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`md`},lg:{label:`p-2 text-sm gap-2`,item:`p-2 text-sm gap-2`,empty:`p-3 text-sm`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemTrailingIcon:`size-5`,itemTrailingKbds:`gap-1`,itemTrailingKbdsSize:`md`},xl:{label:`p-2 text-base gap-2`,item:`p-2 text-base gap-2`,empty:`p-3 text-base`,itemLeadingIcon:`size-6`,itemLeadingAvatarSize:`xs`,itemTrailingIcon:`size-6`,itemTrailingKbds:`gap-1`,itemTrailingKbdsSize:`lg`}}},compoundVariants:[{color:`primary`,active:!1,class:{item:`text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10`,itemLeadingIcon:`text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary`}},{color:`secondary`,active:!1,class:{item:`text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10`,itemLeadingIcon:`text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary`}},{color:`success`,active:!1,class:{item:`text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10`,itemLeadingIcon:`text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success`}},{color:`info`,active:!1,class:{item:`text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10`,itemLeadingIcon:`text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info`}},{color:`warning`,active:!1,class:{item:`text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10`,itemLeadingIcon:`text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning`}},{color:`error`,active:!1,class:{item:`text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10`,itemLeadingIcon:`text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error`}},{color:`primary`,active:!0,class:{item:`text-primary before:bg-primary/10`,itemLeadingIcon:`text-primary`}},{color:`secondary`,active:!0,class:{item:`text-secondary before:bg-secondary/10`,itemLeadingIcon:`text-secondary`}},{color:`success`,active:!0,class:{item:`text-success before:bg-success/10`,itemLeadingIcon:`text-success`}},{color:`info`,active:!0,class:{item:`text-info before:bg-info/10`,itemLeadingIcon:`text-info`}},{color:`warning`,active:!0,class:{item:`text-warning before:bg-warning/10`,itemLeadingIcon:`text-warning`}},{color:`error`,active:!0,class:{item:`text-error before:bg-error/10`,itemLeadingIcon:`text-error`}}],defaultVariants:{size:`md`}},lD={__name:`DropdownMenu`,props:za({size:{type:null,required:!1},items:{type:null,required:!1},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},labelKey:{type:null,required:!1,default:`label`},descriptionKey:{type:null,required:!1,default:`description`},filter:{type:[Boolean,Object],required:!1,default:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},{searchTerm:{type:String,default:``},searchTermModifiers:{}}),emits:za([`update:open`],[`update:searchTerm`]),setup(e,{emit:t}){let n=e,r=t,i=Pa(),a=so(e,`searchTerm`,{type:String,default:``}),o=Ax(`dropdownMenu`,n),s=vm(),c=jx(am(o,`defaultOpen`,`open`,`modal`),r),l=Tn(()=>wm(o.content,{side:`bottom`,sideOffset:8,collisionPadding:8})),u=Tn(()=>wm(o.arrow,{rounded:!0})),d=()=>Am(i,[`default`]),f=q(()=>rT({extend:cD,...s.ui?.dropdownMenu||{}})({size:o.size}));return(e,t)=>(z(),V(N(Sb),A(Es(N(c))),{default:P(({open:n})=>[i.default?(z(),V(N(Ib),{key:0,"as-child":``,class:k(N(o).class),disabled:N(o).disabled},{default:P(()=>[L(e.$slots,`default`,{open:n})]),_:2},1032,[`class`,`disabled`])):G(``,!0),U(sD,K({"search-term":a.value,"onUpdate:searchTerm":t[0]||=e=>a.value=e,class:f.value.content({class:[!i.default&&N(o).class,N(o).ui?.content]}),ui:f.value,"ui-override":N(o).ui},l.value,{items:N(o).items,portal:N(o).portal,"label-key":N(o).labelKey,"description-key":N(o).descriptionKey,"checked-icon":N(o).checkedIcon,"loading-icon":N(o).loadingIcon,"external-icon":N(o).externalIcon,size:N(o).size,filter:N(o).filter,"filter-fields":N(o).filterFields,"ignore-filter":N(o).ignoreFilter}),ya({default:P(()=>[N(o).arrow?(z(),V(N(vb),K({key:0},u.value,{"data-slot":`arrow`,class:f.value.arrow({class:N(o).ui?.arrow})}),null,16,[`class`])):G(``,!0)]),_:2},[va(d(),(t,n)=>({name:n,fn:P(t=>[L(e.$slots,n,A(Es(t)))])}))]),1040,[`search-term`,`class`,`ui`,`ui-override`,`items`,`portal`,`label-key`,`description-key`,`checked-icon`,`loading-icon`,`external-icon`,`size`,`filter`,`filter-fields`,`ignore-filter`])]),_:3},16))}},uD={class:`library`},dD={class:`library-pick`},fD={class:`library-pick`},pD={key:0,class:`library-empty`},mD={class:`library-text`},hD=[`onClick`],gD={key:1,class:`library-prompt`},_D={class:`library-actions`},vD=[`disabled`],yD={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},bD={class:`panel-form-foot`},xD=YT({__name:`SkillLibrary`,setup(e){let{state:t,notify:n,refreshed:r}=wr(`panel`),i=M([]),a=M(!1),o=M(``),s=M(null),c=M({open:!1,text:``,saved:``,saving:!1});async function l(){try{i.value=await $(`skill-library`)}catch(e){n(`error`,e.message)}}ta(l),F(r,l);function u(e){let t=``,n=new Uint8Array(e);for(let e=0;e<n.length;e+=32768)t+=String.fromCharCode(...n.subarray(e,e+32768));return btoa(t)}async function d(e,t=``){if(e.isFile){let n=await new Promise((t,n)=>e.file(t,n));return[{path:`${t}${n.name}`,data:u(await n.arrayBuffer())}]}let n=e.createReader(),r=[];for(let e=await new Promise((e,t)=>n.readEntries(e,t));e.length;e=await new Promise((e,t)=>n.readEntries(e,t)))r.push(...e);let i=[];for(let n of r)i.push(...await d(n,`${t}${e.name}/`.replace(/^\//,``)));return i}async function f(e,t){o.value=e;try{let e=await $(`skill-library`,t);n(`info`,`已加入技能库:${e.name}`),await l()}catch(t){n(`error`,`${e}:${t.message}`)}finally{o.value=``}}async function p(e){a.value=!1;let t=[...e.dataTransfer.items].map(e=>e.webkitGetAsEntry?.()).filter(Boolean);for(let e of t)if(e.isDirectory)await f(e.name,{name:e.name,files:await d(e)});else if(/\.zip$/i.test(e.name)){let t=await new Promise((t,n)=>e.file(t,n));await f(e.name,{zip:u(await t.arrayBuffer())})}else n(`warning`,`${e.name} 不是文件夹或 .zip,已跳过`)}async function m(e){for(let t of e.target.files)await f(t.name,{zip:u(await t.arrayBuffer())});e.target.value=``}async function h(e){let t=[...e.target.files];if(!t.length)return;let n=t[0].webkitRelativePath.split(`/`)[0];await f(n,{name:n,files:await Promise.all(t.map(async e=>({path:e.webkitRelativePath,data:u(await e.arrayBuffer())})))}),e.target.value=``}async function g(){let e=s.value;s.value=null;try{await $(`skill-library/${e}/remove`,{}),n(`info`,`已从技能库删除 ${e}`),await l()}catch(e){n(`error`,e.message)}}async function _(){if(c.value.open=!c.value.open,c.value.open&&!c.value.saved)try{let{text:e}=await $(`hosted-prompt`);c.value.text=e,c.value.saved=e}catch(e){n(`error`,e.message)}}async function v(){c.value.saving=!0;try{await $(`hosted-prompt`,{text:c.value.text}),c.value.saved=c.value.text,n(`info`,`默认系统提示词已保存,之后初始化的账号会用它`)}catch(e){n(`error`,e.message)}finally{c.value.saving=!1}}let y=e=>e>1048576?`${(e/1048576).toFixed(1)} MB`:`${Math.max(1,Math.round(e/1024))} KB`;return(e,n)=>{let r=iT,l=KT;return z(),B(R,null,[H(`div`,uD,[H(`div`,{class:k([`library-drop`,{"is-over":a.value}]),onDragover:n[0]||=mu(e=>a.value=!0,[`prevent`]),onDragleave:n[1]||=e=>a.value=!1,onDrop:mu(p,[`prevent`])},[U(r,{name:o.value?`i-lucide-loader`:`i-lucide-folder-down`,class:k({"animate-spin":o.value})},null,8,[`name`,`class`]),H(`strong`,null,j(o.value?`正在导入 ${o.value}…`:`把技能文件夹或 .zip 拖到这里`),1),H(`small`,null,[n[7]||=W(`技能文件夹里要有 SKILL.md。也可以 `,-1),H(`label`,dD,[n[5]||=W(`选择 .zip`,-1),H(`input`,{type:`file`,accept:`.zip`,multiple:``,hidden:``,onChange:m},null,32)]),n[8]||=W(` 或 `,-1),H(`label`,fD,[n[6]||=W(`选择文件夹`,-1),H(`input`,{type:`file`,webkitdirectory:``,hidden:``,onChange:h},null,32)])])],34),i.value.length?G(``,!0):(z(),B(`p`,pD,`技能库还是空的。导入后,到各账号的“技能”里安装。`)),(z(!0),B(R,null,va(i.value,e=>(z(),B(`div`,{key:e.name,class:`library-row`},[U(r,{name:`i-lucide-sparkle`,class:`library-icon`}),H(`div`,mD,[H(`strong`,null,j(e.name),1),H(`small`,null,j(e.description||`(SKILL.md 没写描述)`)+` · `+j(e.files)+` 个文件 · `+j(y(e.size)),1)]),H(`button`,{type:`button`,class:`panel-icon-button`,title:`从技能库删除`,"aria-label":`从技能库删除`,onClick:t=>s.value=e.name},[U(r,{name:`i-lucide-trash-2`})],8,hD)]))),128)),N(t).hosting?(z(),B(`div`,gD,[H(`button`,{type:`button`,class:`library-toggle`,onClick:_},[n[9]||=H(`strong`,null,`新账号的默认系统提示词`,-1),n[10]||=H(`small`,null,`初始化 AI 环境时,账号还没有系统提示词就用这一份;不会用你自己的`,-1),U(r,{name:c.value.open?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])]),c.value.open?(z(),B(R,{key:0},[xr(H(`textarea`,{"onUpdate:modelValue":n[2]||=e=>c.value.text=e,class:`panel-input library-area`,spellcheck:`false`},null,512),[[$l,c.value.text]]),H(`div`,_D,[H(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:c.value.text===c.value.saved||c.value.saving,onClick:v},`保存`,8,vD)])],64)):G(``,!0)])):G(``,!0)]),U(l,{open:!!s.value,title:`从技能库删除`,"onUpdate:open":n[4]||=e=>!e&&(s.value=null)},{body:P(()=>[H(`p`,yD,`从技能库删除 `+j(s.value)+`。已经装给账号的副本不受影响,需要时在账号页移除。`,1),H(`div`,bD,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[3]||=e=>s.value=null},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,style:{background:`#dc2626`},onClick:g},`删除`)])]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-1ef9ef2d`]]),SD={class:`env`},CD={class:`env-head`},wD={class:`env-tools`},TD=[`disabled`],ED={key:0,class:`panel-note is-amber`},DD={key:1,class:`env-line`},OD={key:0,class:`env-line`},kD={class:`env-text`},AD=[`disabled`],jD={class:`env-block`},MD=[`disabled`],ND=[`title`],PD=[`disabled`,`onClick`],FD={class:`env-block`},ID={key:0,class:`env-empty`},LD={key:1,class:`env-empty`},RD=[`title`],zD=[`disabled`,`onClick`],BD={key:1,class:`env-block`},VD={class:`env-actions`},HD=[`disabled`],UD=YT({__name:`AccountEnv`,props:{account:{type:String,required:!0}},setup(e){let t=e,{reload:n,notify:r,refreshed:i}=wr(`panel`),a=M(null),o=M([]),s=M(!1),c=M(``),l=M(``),u=M(!1),d=M(!1),f=q(()=>!t.account),p=q(()=>f.value?`owner/env`:`accounts/${t.account}/env`);async function m(){s.value=!0;try{let[e,t]=await Promise.all([$(p.value),$(`skill-library`)]);a.value=e,o.value=t,l.value=e.prompt}catch(e){a.value={error:e.message}}finally{s.value=!1}}ta(m),F(i,m),F(()=>t.account,m);let h=q(()=>new Set(o.value.map(e=>e.name)));function g(e){return e.discussion?{label:`共议内置`,tag:`is-blue`,removable:!1}:h.value.has(e.name)?{label:`技能库`,tag:`is-green`,removable:!0}:{label:f.value?`手动安装`:`账号自行安装`,tag:`is-gray`,removable:!f.value}}let _=q(()=>[...a.value?.skills||[]].sort((e,t)=>Number(t.discussion)-Number(e.discussion)||e.name.localeCompare(t.name))),v=q(()=>new Set(_.value.map(e=>e.name))),y=q(()=>o.value.filter(e=>!v.value.has(e.name))),b=M(!1),x=q(()=>{let e=new Map;for(let t of _.value)e.set(g(t).label,(e.get(g(t).label)||0)+1);return[...e].map(([e,t])=>`${e} ${t}`).join(` · `)}),S=q(()=>a.value?.layout&&Object.values(a.value.layout).every(Boolean));async function C(){c.value=`init`;try{await $(`${p.value}/init`,{}),r(`info`,`AI 环境已初始化`),await m(),n()}catch(e){r(`error`,e.message)}finally{c.value=``}}async function w(e,t){c.value=e;try{await $(`${p.value}/skills`,t?{install:[e],remove:[]}:{install:[],remove:[e]}),r(`info`,`${t?`已安装`:`已移除`} ${e}`),await m()}catch(e){r(`error`,e.message)}finally{c.value=``}}async function T(){c.value=`prompt`;try{await $(`${p.value}/prompt`,{text:l.value}),r(`info`,`系统提示词已保存,三家同时生效`),await m()}catch(e){r(`error`,e.message)}finally{c.value=``}}function ee(){d.value=!1,m()}return(e,t)=>{let n=iT,r=KT;return z(),B(R,null,[H(`div`,SD,[H(`div`,CD,[H(`span`,null,[t[5]||=W(`技能 `,-1),H(`small`,null,j(f.value?`~\\.agents\\skills,由 Claude Code、Codex、Antigravity 共用`:`由 Claude Code、Codex、Antigravity 共用`),1)]),H(`span`,wD,[H(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t[0]||=e=>d.value=!0},[U(n,{name:`i-lucide-library`}),t[6]||=W(`管理技能库`,-1)]),H(`button`,{type:`button`,class:k([`panel-icon-button`,{"is-spinning":s.value}]),disabled:s.value,title:`重新读取`,"aria-label":`重新读取`,onClick:m},[U(n,{name:`i-lucide-refresh-cw`})],10,TD)])]),a.value?.error?(z(),B(`p`,ED,[U(n,{name:`i-lucide-circle-alert`}),W(j(a.value.error),1)])):a.value?(z(),B(R,{key:2},[f.value?G(``,!0):(z(),B(`div`,OD,[U(n,{name:S.value?`i-lucide-circle-check`:`i-lucide-circle-dashed`,class:k(S.value?`is-ok`:`is-warn`)},null,8,[`name`,`class`]),H(`div`,kD,[H(`strong`,null,j(S.value?`AI 环境已初始化`:`AI 环境未初始化`),1),H(`small`,null,j(S.value?`已安装共议内置技能、系统提示词与随包工作流`:`初始化将安装共议内置技能、系统提示词与随包工作流`),1)]),H(`button`,{type:`button`,class:k([`panel-button is-small`,S.value?`is-outline`:`is-primary`]),disabled:!!c.value,onClick:C},[U(n,{name:c.value===`init`?`i-lucide-loader`:`i-lucide-wand-sparkles`,class:k({"animate-spin":c.value===`init`})},null,8,[`name`,`class`]),W(j(S.value?`重新初始化`:`初始化`),1)],10,AD)])),H(`div`,jD,[H(`button`,{type:`button`,class:`env-toggle`,disabled:!_.value.length,onClick:t[1]||=e=>b.value=!b.value},[H(`strong`,null,`已安装(`+j(_.value.length)+`)`,1),H(`small`,null,j(_.value.length?x.value:`暂无已安装技能`),1),_.value.length?(z(),V(n,{key:0,name:b.value?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])):G(``,!0)],8,MD),(z(!0),B(R,null,va(b.value?_.value:[],e=>(z(),B(`div`,{key:e.name,class:`env-skill`},[H(`span`,null,[H(`b`,null,j(e.name),1),H(`em`,{class:k(g(e).tag)},j(g(e).label),3),H(`small`,{title:e.description},j(e.description||`(SKILL.md 没写描述)`),9,ND)]),g(e).removable?(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t=>w(e.name,!1)},[c.value===e.name?(z(),V(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):G(``,!0),t[7]||=W(`移除`,-1)],8,PD)):G(``,!0)]))),128))]),H(`div`,FD,[t[9]||=H(`strong`,null,`可从技能库安装`,-1),o.value.length?y.value.length?G(``,!0):(z(),B(`p`,LD,`技能库中的技能均已安装。`)):(z(),B(`p`,ID,`技能库为空。请先通过“管理技能库”导入技能。`)),(z(!0),B(R,null,va(y.value,e=>(z(),B(`div`,{key:e.name,class:`env-skill`},[H(`span`,null,[H(`b`,null,j(e.name),1),H(`small`,{title:e.description},j(e.description||`(SKILL.md 没写描述)`),9,RD)]),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t=>w(e.name,!0)},[U(n,{name:c.value===e.name?`i-lucide-loader`:`i-lucide-plus`,class:k({"animate-spin":c.value===e.name})},null,8,[`name`,`class`]),t[8]||=W(`安装`,-1)],8,zD)]))),128))]),f.value?G(``,!0):(z(),B(`div`,BD,[H(`button`,{type:`button`,class:`env-toggle`,onClick:t[2]||=e=>u.value=!u.value},[t[10]||=H(`strong`,null,`系统提示词`,-1),t[11]||=H(`small`,null,`三家共用一份(~\\.codex\\AGENTS.md,另两份是它的硬链接)`,-1),U(n,{name:u.value?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])]),u.value?(z(),B(R,{key:0},[xr(H(`textarea`,{"onUpdate:modelValue":t[3]||=e=>l.value=e,class:`panel-input env-prompt`,spellcheck:`false`},null,512),[[$l,l.value]]),H(`div`,VD,[H(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:l.value===a.value.prompt||!!c.value,onClick:T},[c.value===`prompt`?(z(),V(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):G(``,!0),t[12]||=W(`保存`,-1)],8,HD)])],64)):G(``,!0)]))],64)):(z(),B(`p`,DD,`读取中…`))]),U(r,{open:d.value,title:`技能库`,description:`集中存放导入的技能,可在各账号的技能分区中安装。`,ui:{content:`max-w-3xl`},"onUpdate:open":t[4]||=e=>!e&&ee()},{body:P(()=>[U(xD)]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-72059b7b`]]),WD={class:`keys`},GD={class:`keys-head`},KD={class:`panel-chips`},qD=[`onClick`],JD=[`src`],YD={class:`panel-field`},XD={class:`panel-field`},ZD={key:0},QD={class:`panel-form-foot`,style:{"margin-top":`4px`}},$D=[`disabled`],eO={key:1,class:`keys-empty`},tO={key:0,class:`keys-group`},nO=[`src`],rO={class:`keys-text`},iO={key:0,class:`panel-tag is-gray`},aO=[`onClick`],oO={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},sO={class:`panel-form-foot`},cO=YT({__name:`AccountKeys`,props:{account:{type:String,required:!0}},emits:[`changed`],setup(e,{emit:t}){let n=e,r=t,{state:i,notify:a,refreshed:o}=wr(`panel`),s=M([]),c=M(!1),l=M(!1),u=M(null),d=q(()=>Object.entries(i.value.providers||{}).filter(([e])=>e!==`OpenAI`).map(([e,t])=>({key:e,...t}))),f=M({preset:``,base_url:``,api_key:``}),p=q(()=>n.account?`accounts/${n.account}/keys`:`owner/keys`),m=e=>!e.speech||HT(i.value.providers,e.base_url).key!==`Custom`,h=q(()=>[{title:`模型 API(API 成员调用)`,keys:s.value.filter(m)},{title:`语音服务(朗读与语音输入)`,keys:s.value.filter(e=>!m(e))}]);function g(e){if(e.speech&&!m(e))return e.speech.label;let t=HT(i.value.providers,e.base_url);if(t.key!==`Custom`)return t.label;try{return new URL(e.base_url).hostname.replace(/^api\./,``)}catch{return e.base_url}}async function _(){try{s.value=await $(p.value)}catch(e){a(`error`,e.message)}}ta(_),F(o,_),F(()=>n.account,_);function v(){let e=d.value[0];f.value={preset:e?.key||`Custom`,base_url:e?.base_url||``,api_key:``},c.value=!0}function y(e){f.value.preset=e.key,f.value.base_url=e.base_url||``}async function b(){l.value=!0;try{await $(p.value,{base_url:f.value.base_url.trim(),api_key:f.value.api_key}),a(`info`,`API 密钥已保存`),c.value=!1,await _(),r(`changed`)}catch(e){a(`error`,e.message)}finally{l.value=!1}}async function x(){let e=u.value;u.value=null;try{await $(`${p.value}/remove`,{ref:e.ref}),a(`info`,`已删除`),await _(),r(`changed`)}catch(e){a(`error`,e.message)}}return(t,n)=>{let r=iT,a=KT;return z(),B(R,null,[H(`div`,WD,[H(`div`,GD,[n[6]||=H(`span`,null,[W(`API 密钥 `),H(`small`,null,`供 API 成员(DeepSeek、Kimi 等)与语音服务调用`)],-1),c.value?G(``,!0):(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-outline is-small`,onClick:v},[U(r,{name:`i-lucide-plus`}),n[5]||=W(`添加密钥`,-1)]))]),c.value?(z(),B(`form`,{key:0,class:`keys-form`,onSubmit:mu(b,[`prevent`])},[H(`div`,KD,[(z(!0),B(R,null,va(d.value,e=>(z(),B(`button`,{key:e.key,type:`button`,class:k([`panel-chip`,{"is-active":f.value.preset===e.key}]),onClick:t=>y(e)},[N(VT)(e.key)?(z(),B(`img`,{key:0,src:N(VT)(e.key),alt:``},null,8,JD)):G(``,!0),W(j(e.key===`Custom`?`自定义接口`:e.label),1)],10,qD))),128))]),H(`label`,YD,[n[7]||=W(`接口地址`,-1),xr(H(`input`,{"onUpdate:modelValue":n[0]||=e=>f.value.base_url=e,class:`panel-input`,placeholder:`https://…`,spellcheck:`false`},null,512),[[$l,f.value.base_url]])]),H(`label`,XD,[n[8]||=W(`密钥`,-1),xr(H(`input`,{"onUpdate:modelValue":n[1]||=e=>f.value.api_key=e,class:`panel-input`,type:`password`,placeholder:`粘贴密钥`,autocomplete:`off`,spellcheck:`false`},null,512),[[$l,f.value.api_key]]),e.account?(z(),B(`small`,ZD,`该账号的 API 成员直接使用,界面只显示“管理员提供”,对方无法查看或更换。`)):G(``,!0)]),H(`div`,QD,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[2]||=e=>c.value=!1},`取消`),H(`button`,{type:`submit`,class:`panel-button is-primary`,disabled:!f.value.base_url.trim()||!f.value.api_key.trim()||l.value},`保存`,8,$D)])],32)):s.value.length?G(``,!0):(z(),B(`p`,eO,`暂无密钥。不使用 API 成员或云端语音时无需配置。`)),(z(!0),B(R,null,va(h.value,t=>(z(),B(R,{key:t.title},[t.keys.length?(z(),B(`div`,tO,j(t.title),1)):G(``,!0),(z(!0),B(R,null,va(t.keys,t=>(z(),B(`div`,{key:t.ref,class:`keys-row`},[N(VT)(N(HT)(N(i).providers,t.base_url).key)?(z(),B(`img`,{key:0,src:N(VT)(N(HT)(N(i).providers,t.base_url).key),alt:``},null,8,nO)):(z(),V(r,{key:1,name:t.speech?`i-lucide-audio-lines`:`i-lucide-key-round`,class:`keys-icon`},null,8,[`name`])),H(`div`,rO,[H(`strong`,null,[W(j(g(t))+` `,1),(z(!0),B(R,null,va(t.speech?.uses||[],e=>(z(),B(`span`,{key:e,class:`panel-tag is-gray`},j(e),1))),128)),t.speech?.local?(z(),B(`span`,iO,`访问令牌`)):G(``,!0),e.account?(z(),B(`span`,{key:1,class:k([`panel-tag`,t.managed?`is-blue`:`is-gray`])},j(t.managed?`管理员提供`:`账号自行填写`),3)):G(``,!0)]),H(`small`,null,j(t.base_url)+` · 尾号 ••••`+j(t.tail),1)]),H(`button`,{type:`button`,class:`panel-icon-button`,title:`删除`,"aria-label":`删除密钥`,onClick:e=>u.value=t},[U(r,{name:`i-lucide-trash-2`})],8,aO)]))),128))],64))),128))]),U(a,{open:!!u.value,title:`删除 API 密钥`,"onUpdate:open":n[4]||=e=>!e&&(u.value=null)},{body:P(()=>[H(`p`,oO,`删除后,使用该密钥的`+j(u.value?.speech?`语音服务`:` API 成员`)+`将无法调用。`,1),H(`div`,sO,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[3]||=e=>u.value=null},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,style:{background:`#dc2626`},onClick:x},`删除`)])]),_:1},8,[`open`])],64)}}},[[`__scopeId`,`data-v-74e7a29f`]]),lO={class:`flows`},uO={class:`flows-head`},dO=[`disabled`],fO={key:0,class:`panel-note is-amber`},pO={key:1,class:`flows-empty`},mO={key:0,class:`flows-empty`},hO={class:`flows-text`},gO={class:`panel-tag is-gray`},_O={key:0,class:`panel-tag is-gray`},vO={key:1,class:`panel-tag is-amber`},yO=[`title`],bO={key:1,class:`flows-missing`},xO=[`disabled`],SO=YT({__name:`AccountWorkflows`,props:{account:{type:String,required:!0}},setup(e){let t=e,{notify:n,refreshed:r}=wr(`panel`),i=M(null),a=M(!1),o=M(!1),s=q(()=>t.account?`accounts/${t.account}/workflows`:`owner/workflows`);async function c(){a.value=!0;try{i.value=await $(s.value)}catch(e){i.value={error:e.message}}finally{a.value=!1}}ta(c),F(r,c),F(()=>t.account,c);async function l(){o.value=!0;try{i.value=await $(`${s.value}/install`,{}),n(`info`,`随包工作流已补齐`)}catch(e){n(`error`,e.message)}finally{o.value=!1}}return(e,t)=>{let n=iT;return z(),B(`div`,lO,[H(`div`,uO,[t[0]||=H(`span`,null,[W(`工作流 `),H(`small`,null,`房间中可启用的多人分工流程;编辑、停用在共议网站侧栏的“工作流”中进行`)],-1),H(`button`,{type:`button`,class:k([`panel-icon-button`,{"is-spinning":a.value}]),disabled:a.value,title:`重新读取`,"aria-label":`重新读取`,onClick:c},[U(n,{name:`i-lucide-refresh-cw`})],10,dO)]),i.value?.error?(z(),B(`p`,fO,[U(n,{name:`i-lucide-circle-alert`}),W(j(i.value.error),1)])):i.value?(z(),B(R,{key:2},[i.value.workflows.length?G(``,!0):(z(),B(`p`,mO,`暂无工作流。`)),(z(!0),B(R,null,va(i.value.workflows,e=>(z(),B(`div`,{key:e.id,class:`flows-row`},[U(n,{name:`i-lucide-workflow`,class:`flows-icon`}),H(`div`,hO,[H(`strong`,null,[W(j(e.label)+` `,1),H(`span`,gO,j(e.cards)+` 个角色`,1),e.disabled?(z(),B(`span`,_O,`已停用`)):G(``,!0),e.error?(z(),B(`span`,vO,`无法读取`)):G(``,!0)]),H(`small`,{title:e.error||e.description},j(e.error||e.description||e.id),9,yO)])]))),128)),i.value.missing.length?(z(),B(`div`,bO,[H(`span`,null,`缺少随包工作流:`+j(i.value.missing.join(`、`)),1),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:o.value,onClick:l},[U(n,{name:o.value?`i-lucide-loader`:`i-lucide-download`,class:k({"animate-spin":o.value})},null,8,[`name`,`class`]),t[1]||=W(`补齐`,-1)],8,xO)])):G(``,!0)],64)):(z(),B(`p`,pO,`读取中…`))])}}},[[`__scopeId`,`data-v-bb60f8ef`]]),CO={class:`panel-chips`,style:{"margin-bottom":`16px`}},wO=[`onClick`],TO={key:0,class:`panel-note`,style:{"margin-bottom":`14px`}},EO={key:0,class:`panel-chips`,style:{"margin-bottom":`12px`}},DO=[`onClick`],OO=[`onUpdate:modelValue`,`placeholder`],kO=[`onUpdate:modelValue`,`type`,`placeholder`],AO={class:`panel-form-foot`},jO=[`disabled`],MO={key:0,class:`panel-form-foot`,style:{"margin-top":`0`}},NO={key:0,class:`panel-note`},PO={key:1,class:`login-link`},FO=[`href`],IO={key:2,class:`panel-secret`,style:{"margin-top":`12px`}},LO=[`placeholder`],RO=[`disabled`],zO={key:4,class:`panel-note is-amber`,style:{"margin-top":`12px`}},BO={key:5,class:`panel-form-foot`},VO=YT({__name:`LoginDialog`,props:{open:Boolean,target:{type:String,default:`_`},who:{type:String,default:``},cli:{type:Object,default:null},methods:{type:Array,default:()=>[]}},emits:[`update:open`,`done`],setup(e,{emit:t}){let n=e,r=t,i={token:{label:`令牌`,secret:!0},key:{label:`API 密钥`,secret:!0},base_url:{label:`接口地址`,placeholder:`https://…`},model:{label:`模型`,placeholder:`可空:用该服务的默认模型`},small_model:{label:`后台任务用的小模型`,placeholder:`可空:与上面相同`},env:{label:`环境变量`,multiline:!0,placeholder:`每行一个:名称=值
33
+ 例如 CLAUDE_CODE_USE_BEDROCK=1`}},a={"claude:setup_token":`在任意一台已登录 Claude 的电脑上运行 claude setup-token,把生成的令牌(sk-ant-oat01-…)粘贴到这里。有效期一年,最稳定。`,"claude:subscription":`用 Claude Pro / Max / Team 账号登录。在任意设备打开下面的链接并同意,再把页面显示的授权码粘贴回来。`,"claude:console":`用 Anthropic Console 账号登录,按 API 用量计费。在任意设备打开链接并同意,再把授权码粘贴回来。`,"claude:api_key":`Anthropic Console 创建的 API 密钥(sk-ant-api03-…),按用量计费。`,"claude:third_party":`支持 Anthropic 接口的服务,例如 DeepSeek、智谱、Kimi、OpenRouter。后台任务也会用这里的模型。`,"claude:env":`写进 Claude Code 的 settings.json,用于 Bedrock、Vertex、Foundry、企业网关等。已有的登录相关变量会先被清除。`,"codex:chatgpt":`在任意设备打开链接并登录 ChatGPT。浏览器最后会跳到一个打不开的 localhost 地址,把地址栏里的整段地址粘贴回来。`,"codex:device":`需要先在 ChatGPT 的安全设置里开启“设备代码登录”。在任意设备打开链接,输入下面的一次性码,完成后这里会自动结束。`,"codex:api_key":`OpenAI 平台的 API 密钥,按用量计费。`,"codex:third_party":`Codex 只支持 Responses 接口;只提供 chat/completions 的服务接不上。与官方账号共用供应商 custom,来回切换会话都能续接。若这台电脑之前没用过 custom,原来的会话不会出现在列表里。`,"codex:access_token":`仅 ChatGPT Enterprise:管理员发放的访问令牌。`,"agy:google":`在任意设备打开链接,用 Google 账号登录并同意,再把页面显示的授权码粘贴回来。`},o=[{label:`DeepSeek`,base_url:`https://api.deepseek.com/anthropic`},{label:`智谱 GLM`,base_url:`https://open.bigmodel.cn/api/anthropic`},{label:`Kimi`,base_url:`https://api.moonshot.cn/anthropic`},{label:`OpenRouter`,base_url:`https://openrouter.ai/api`}],s=M(``),c=M({}),l=M(!1),u=M(null),d=M({}),f=M(``),p=M(!1),m=null,h=q(()=>n.methods.find(e=>e.key===s.value)||null),g=q(()=>a[`${n.cli?.key}:${s.value}`]||``),_=e=>e===`key`&&s.value===`access_token`?`访问令牌`:e===`token`&&s.value===`third_party`?`密钥`:i[e].label;function v(){clearInterval(m),m=null,u.value&&!d.value.ended&&$(`login-jobs/${u.value}/cancel`,{}).catch(()=>{}),u.value=null,d.value={},f.value=``}function y(e){v(),s.value=e,c.value={}}F(()=>n.open,e=>{e?y(n.methods[0]?.key||``):v()}),ia(v);async function b(){l.value=!0;try{await $(`logins/${n.target}/${n.cli.key}/apply`,{method:s.value,...c.value}),r(`done`,`${n.cli.label} 已配置`),r(`update:open`,!1)}catch(e){r(`done`,e.message,`error`)}finally{l.value=!1}}async function x(){v();try{let{id:e}=await $(`logins/${n.target}/${n.cli.key}/start`,{method:s.value});u.value=e,m=setInterval(async()=>{try{d.value=await $(`login-jobs/${e}`),d.value.ended&&(clearInterval(m),d.value.done&&(r(`done`,`${n.cli.label} 已登录`),r(`update:open`,!1)))}catch(e){clearInterval(m),d.value={ended:!0,error:e.message}}},1500)}catch(e){r(`done`,e.message,`error`)}}async function S(){p.value=!0;try{await $(`login-jobs/${u.value}/submit`,{text:f.value}),f.value=``}catch(e){d.value={...d.value,error:e.message}}finally{p.value=!1}}async function C(e){try{await navigator.clipboard.writeText(e)}catch{}}return(t,n)=>{let a=iT,m=KT;return z(),V(m,{open:e.open,title:`登录 ${e.cli?.label||``}`,description:e.who,"onUpdate:open":n[3]||=e=>r(`update:open`,e)},{body:P(()=>[H(`div`,CO,[(z(!0),B(R,null,va(e.methods,e=>(z(),B(`button`,{key:e.key,type:`button`,class:k([`panel-chip`,{"is-active":s.value===e.key}]),onClick:t=>y(e.key)},j(e.label),11,wO))),128))]),g.value?(z(),B(`p`,TO,[U(a,{name:`i-lucide-info`}),W(j(g.value),1)])):G(``,!0),h.value&&!h.value.interactive?(z(),B(R,{key:1},[e.cli?.key===`claude`&&s.value===`third_party`?(z(),B(`div`,EO,[(z(),B(R,null,va(o,e=>H(`button`,{key:e.label,type:`button`,class:k([`panel-chip`,{"is-active":c.value.base_url===e.base_url}]),onClick:t=>c.value={...c.value,base_url:e.base_url}},j(e.label),11,DO)),64))])):G(``,!0),H(`form`,{class:`login-fields`,onSubmit:mu(b,[`prevent`])},[(z(!0),B(R,null,va(h.value.fields,e=>(z(),B(`label`,{key:e,class:`panel-field`},[W(j(_(e))+` `,1),i[e].multiline?xr((z(),B(`textarea`,{key:0,"onUpdate:modelValue":t=>c.value[e]=t,class:`panel-input login-area`,placeholder:i[e].placeholder,spellcheck:`false`},null,8,OO)),[[$l,c.value[e]]]):xr((z(),B(`input`,{key:1,"onUpdate:modelValue":t=>c.value[e]=t,class:`panel-input`,type:i[e].secret?`password`:`text`,placeholder:i[e].placeholder,autocomplete:`off`,spellcheck:`false`},null,8,kO)),[[cu,c.value[e]]])]))),128))],32),H(`div`,AO,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:n[0]||=e=>r(`update:open`,!1)},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,disabled:l.value,onClick:b},[l.value?(z(),V(a,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):G(``,!0),n[4]||=W(`保存`,-1)],8,jO)])],64)):h.value?(z(),B(R,{key:2},[u.value?(z(),B(R,{key:1},[!d.value.link&&!d.value.ended?(z(),B(`p`,NO,[U(a,{name:`i-lucide-loader`,class:`animate-spin`}),W(`正在启动 `+j(e.cli?.label)+` 的登录…`,1)])):G(``,!0),d.value.link?(z(),B(`div`,PO,[H(`a`,{href:d.value.link,target:`_blank`,rel:`noopener`},j(d.value.link),9,FO),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:n[1]||=e=>C(d.value.link)},[U(a,{name:`i-lucide-copy`}),n[6]||=W(`复制链接`,-1)])])):G(``,!0),d.value.user_code?(z(),B(`p`,IO,[H(`span`,null,j(d.value.user_code),1),n[7]||=H(`small`,{style:{font:`12px system-ui`,color:`#6b7280`}},`一次性码,15 分钟内有效`,-1)])):G(``,!0),d.value.link&&d.value.asks&&!d.value.ended?(z(),B(`form`,{key:3,class:`login-answer`,onSubmit:mu(S,[`prevent`])},[xr(H(`input`,{"onUpdate:modelValue":n[2]||=e=>f.value=e,class:`panel-input`,placeholder:d.value.asks===`callback`?`粘贴浏览器最后跳到的地址(http://localhost:1455/auth/callback?…)`:`粘贴授权码`,autocomplete:`off`,spellcheck:`false`},null,8,LO),[[$l,f.value]]),H(`button`,{type:`submit`,class:`panel-button is-primary`,disabled:!f.value.trim()||p.value},`提交`,8,RO)],32)):G(``,!0),d.value.error?(z(),B(`p`,zO,[U(a,{name:`i-lucide-circle-alert`}),W(j(d.value.error),1)])):G(``,!0),d.value.ended&&!d.value.done?(z(),B(`div`,BO,[H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:x},[U(a,{name:`i-lucide-rotate-cw`}),n[8]||=W(`重新开始`,-1)])])):G(``,!0)],64)):(z(),B(`div`,MO,[H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:x},[U(a,{name:`i-lucide-log-in`}),n[5]||=W(`开始登录`,-1)])]))],64)):G(``,!0)]),_:1},8,[`open`,`title`,`description`])}}},[[`__scopeId`,`data-v-bf3c61cd`]]),HO={class:`login-card`},UO={class:`login-head`},WO=[`disabled`],GO={key:0,class:`panel-note is-amber`},KO=[`src`],qO={class:`login-text`},JO=[`title`],YO=[`onClick`],XO=[`onClick`],ZO=[`disabled`,`onClick`],QO=YT({__name:`LoginCard`,props:{target:{type:String,required:!0},who:{type:String,required:!0}},emits:[`status`],setup(e,{expose:t,emit:n}){let r=e,i=n,{state:a,notify:o,refreshed:s}=wr(`panel`),c=[{key:`claude`,label:`Claude Code`,icon:`/icons/claude.svg`},{key:`codex`,label:`Codex`,icon:`/icons/openai.svg`},{key:`agy`,label:`Antigravity`,icon:`/icons/gemini.svg`}],l={setup_token:`Setup Token`,subscription:`Claude 账号`,api_key:`API 密钥`,api_key_helper:`密钥脚本`,third_party:`第三方 API`,chatgpt:`ChatGPT 账号`,access_token:`访问令牌`,google:`Google 账号`},u=M(null),d=M(!1),f=M({open:!1,cli:null});async function p(){d.value=!0;try{u.value=await $(`logins/${r.target}`)}catch(e){u.value={error:e.message}}finally{d.value=!1,i(`status`,u.value)}}ta(p),F(s,p),F(()=>r.target,p),t({check:p});let m=e=>u.value?.[e.key]||null;function h(e){return e?e.installed?e.signed_in?`${l[e.method]||e.method}${e.detail?` · ${e.detail}`:``}`:e.error?`无法读取:${e.error}`:`未登录`:`这台电脑上没有安装`:d.value?`检查中…`:`—`}function g(e){f.value={open:!0,cli:e}}function _(e,t=`info`){o(t,e),t!==`error`&&p()}async function v(e){try{await $(`logins/${r.target}/${e.key}/logout`,{}),o(`info`,`${e.label} 已退出登录`),p()}catch(e){o(`error`,e.message)}}return(t,n)=>{let r=iT;return z(),B(R,null,[H(`div`,HO,[H(`div`,UO,[n[1]||=H(`span`,null,`命令行登录`,-1),H(`button`,{type:`button`,class:k([`panel-icon-button`,{"is-spinning":d.value}]),disabled:d.value,title:`重新检查`,"aria-label":`重新检查登录状态`,onClick:p},[U(r,{name:`i-lucide-refresh-cw`})],10,WO)]),u.value?.error?(z(),B(`p`,GO,[U(r,{name:`i-lucide-circle-alert`}),W(j(u.value.error),1)])):(z(),B(R,{key:1},va(c,e=>H(`div`,{key:e.key,class:`login-row`},[H(`img`,{src:e.icon,alt:``},null,8,KO),H(`div`,qO,[H(`strong`,null,j(e.label),1),H(`small`,{class:k({"is-ok":m(e)?.signed_in,"is-warn":m(e)&&m(e).installed&&!m(e).signed_in}),title:h(m(e))},[m(e)?.signed_in?(z(),V(r,{key:0,name:`i-lucide-circle-check`})):m(e)?.installed?(z(),V(r,{key:1,name:`i-lucide-circle-dashed`})):G(``,!0),W(j(h(m(e))),1)],10,JO)]),m(e)?.signed_in?(z(),B(R,{key:0},[H(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t=>g(e)},[U(r,{name:`i-lucide-arrow-left-right`}),n[2]||=W(`切换方式`,-1)],8,YO),H(`button`,{type:`button`,class:`panel-button is-plain is-small`,onClick:t=>v(e)},`退出`,8,XO)],64)):(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-primary is-small`,disabled:!m(e)?.installed,onClick:t=>g(e)},[U(r,{name:`i-lucide-log-in`}),n[3]||=W(`登录`,-1)],8,ZO))])),64))]),U(VO,{open:f.value.open,"onUpdate:open":n[0]||=e=>f.value.open=e,target:e.target,who:e.who,cli:f.value.cli,methods:f.value.cli&&N(a).login_methods?.[f.value.cli.key]||[],onDone:_},null,8,[`open`,`target`,`who`,`cli`,`methods`])],64)}}},[[`__scopeId`,`data-v-7c8aaab2`]]),$O={key:0},ek={class:`panel-form-head`},tk={key:0,class:`panel-tag is-amber`},nk={class:`detail-head-side`},rk=[`disabled`],ik=[`disabled`],ak=[`disabled`],ok={class:`panel-list`},sk={key:0,class:`panel-rows detail-unsafe`},ck={class:`detail-unsafe-head`},lk={key:0,class:`panel-row`},uk={class:`panel-tile`},dk={class:`panel-side`},fk=[`disabled`],pk={key:1,class:`panel-row`},mk={class:`panel-tile`},hk={class:`panel-side`},gk=[`disabled`],_k={key:1,class:`detail-safe`},vk={class:`panel-rows`},yk={class:`panel-row`},bk={class:`panel-tile`},xk={class:`panel-main`},Sk={class:`panel-sub`},Ck=[`href`],wk={class:`detail-name`},Tk={key:0,class:`panel-sub detail-warn`},Ek={key:1,class:`panel-sub detail-warn`},Dk={class:`panel-side`},Ok=[`disabled`],kk={class:`panel-card is-tall`},Ak={class:`panel-card is-tall`},jk={key:3,class:`panel-card is-tall`},Mk={class:`detail-shared`},Nk={class:`panel-note`,style:{margin:`0`,flex:`1`}},Pk={class:`panel-card is-tall`},Fk={class:`panel-card is-tall`},Ik={class:`panel-section-title`},Lk={class:`panel-rows`},Rk={class:`panel-row detail-op`},zk={class:`panel-main`},Bk={class:`panel-title`},Vk={class:`panel-sub`},Hk=[`disabled`],Uk=[`disabled`],Wk={key:0,class:`panel-row detail-op`},Gk={class:`panel-main`},Kk={class:`panel-sub`},qk=[`disabled`],Jk={key:1,class:`panel-row detail-op`},Yk=[`disabled`],Xk={class:`panel-row detail-op`},Zk={class:`panel-main`},Qk={class:`panel-sub`},$k=[`disabled`],eA={key:1,class:`panel-empty`},tA={class:`panel-secret`},nA={class:`panel-form-foot`},rA={style:{margin:`0`,color:`#4b5563`,"font-size":`14px`,"line-height":`1.7`}},iA={class:`panel-form-foot`},aA=YT({__name:`AccountDetail`,props:{name:{type:String,required:!0}},emits:[`owner`],setup(e,{emit:t}){let n=e,r=t,{state:i,reload:a,notify:o}=wr(`panel`),s=q(()=>i.value.accounts.find(e=>e.name===n.name)||null),c=M(``),l=M(null),u=M(null),d=q(()=>UT(i.value.entry)),f=q(()=>!!(s.value?.os_user&&s.value?.protected));async function p(e,t){c.value=e;try{let i=await $(`accounts/${n.name}/${e}`,{});i.password?l.value={title:`${n.name} 的新密码`,password:i.password}:t&&o(`info`,typeof t==`function`?t(i):t),await a(),e===`remove`&&r(`owner`)}catch(e){o(`error`,e.message)}finally{c.value=``}}let m={"os-user":{title:`创建 Windows 用户`,label:`创建`,message:`Windows 用户已创建`,text:()=>`为 ${n.name} 创建一个普通 Windows 用户。之后它的 AI 以该用户运行,无法读取你的个人文件,命令行登录也与你分开。电脑会弹出一次管理员确认,请在这台电脑上点“是”。`},"os-user/remove":{title:`取消隔离`,label:`取消隔离`,message:`已取消隔离`,text:()=>`删除 Windows 用户 ${s.value?.os_user} 及其个人目录(其中的命令行登录和技能一并删除),账号改为以你的身份运行。账号本身和它的项目文件保留。电脑会弹出一次管理员确认。`},"protect-off":{title:`关闭入口保护`,label:`关闭`,message:`入口保护已关闭`,text:()=>`关闭后,${n.name} 的网站不再要求先证明身份,这台电脑上的其他程序(包括其他账号的 AI)可直接访问。正在运行的实例会重启一次。`},disable:{title:`停用账号`,label:`停用`,message:`账号已停用`,text:()=>`${n.name} 的所有登录立即失效,也无法再登录;实例和文件保留,可随时重新启用。`},remove:{title:`删除账号`,label:`删除`,message:`账号已删除`,text:()=>`删除后 ${n.name} 无法再登录。它的文件夹 ${s.value?.home} 会保留,需要时手动删除。`}};function h(e){u.value={action:e,...m[e]}}let g=q(()=>[[s.value?.disabled?{label:`启用账号`,icon:`i-lucide-user-check`,onSelect:()=>p(`enable`,`账号已启用`)}:{label:`停用账号`,icon:`i-lucide-user-x`,onSelect:()=>h(`disable`)}],[{label:`删除账号`,icon:`i-lucide-trash-2`,color:`error`,onSelect:()=>h(`remove`)}]]);async function _(){let{action:e,message:t}=u.value;if(u.value=null,e===`protect-off`)return v(!1,t);await p(e,t)}async function v(e,t){c.value=`protect`;try{await $(`accounts/${n.name}/protect`,{on:e}),o(`info`,t),await a()}catch(e){o(`error`,e.message)}finally{c.value=``}}async function y(e){try{await navigator.clipboard.writeText(e),o(`info`,`已复制`)}catch{o(`error`,`复制失败,请手动选中复制`)}}return(e,t)=>{let o=iT,m=lD,b=KT;return z(),B(R,null,[s.value?(z(),B(`section`,$O,[H(`div`,ek,[H(`h2`,null,j(s.value.name),1),H(`span`,{class:k([`panel-tag`,s.value.running?`is-green`:`is-gray`])},j(s.value.running?`运行中`:`已停止`),3),s.value.disabled?(z(),B(`span`,tk,`已停用`)):G(``,!0),H(`span`,nk,[s.value.running?(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!c.value,onClick:t[1]||=e=>p(`stop`,`实例已停止`)},[U(o,{name:c.value===`stop`?`i-lucide-loader`:`i-lucide-square`,class:k({"animate-spin":c.value===`stop`})},null,8,[`name`,`class`]),t[18]||=W(`停止`,-1)],8,ik)):(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[0]||=e=>p(`start`,`实例已启动`)},[U(o,{name:c.value===`start`?`i-lucide-loader`:`i-lucide-play`,class:k({"animate-spin":c.value===`start`})},null,8,[`name`,`class`]),t[17]||=W(`启动`,-1)],8,rk)),U(m,{items:g.value,content:{align:`end`}},{default:P(()=>[H(`button`,{type:`button`,class:`panel-icon-button`,disabled:!!c.value,title:`更多操作`,"aria-label":`更多操作`},[U(o,{name:`i-lucide-ellipsis`})],8,ak)]),_:1},8,[`items`])])]),H(`div`,ok,[f.value?(z(),B(`p`,_k,[U(o,{name:`i-lucide-shield-check`}),W(`安全设置已完成:以独立 Windows 用户 `+j(s.value.os_user)+` 运行,入口保护已开启`,1)])):(z(),B(`div`,sk,[H(`p`,ck,[U(o,{name:`i-lucide-triangle-alert`}),t[19]||=W(`交给他人使用前,请完成以下安全设置`,-1)]),s.value.os_user?G(``,!0):(z(),B(`div`,lk,[H(`div`,uk,[U(o,{name:`i-lucide-shield-alert`})]),t[21]||=H(`div`,{class:`panel-main`},[H(`div`,{class:`panel-title`},[W(`隔离 `),H(`span`,{class:`panel-tag is-amber`},`未完成`)]),H(`span`,{class:`panel-sub`},`为该账号创建独立的 Windows 用户。未隔离时,它的 AI 以你的身份运行,可读取你的个人文件。`)],-1),H(`div`,dk,[H(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[2]||=e=>h(`os-user`)},[U(o,{name:c.value===`os-user`?`i-lucide-loader`:`i-lucide-shield-plus`,class:k({"animate-spin":c.value===`os-user`})},null,8,[`name`,`class`]),t[20]||=W(`隔离`,-1)],8,fk)])])),s.value.protected?G(``,!0):(z(),B(`div`,pk,[H(`div`,mk,[U(o,{name:`i-lucide-lock-open`})]),t[23]||=H(`div`,{class:`panel-main`},[H(`div`,{class:`panel-title`},[W(`入口保护 `),H(`span`,{class:`panel-tag is-amber`},`未开启`)]),H(`span`,{class:`panel-sub`},`开启后,只有经登录入口登录的使用者和它自己的 AI 能访问其网站;未开启时,本机其他程序(包括其他账号的 AI)可直接访问。`)],-1),H(`div`,hk,[H(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:!!c.value,onClick:t[3]||=e=>v(!0,`入口保护已开启`)},[U(o,{name:c.value===`protect`?`i-lucide-loader`:`i-lucide-lock`,class:k({"animate-spin":c.value===`protect`})},null,8,[`name`,`class`]),t[22]||=W(`开启`,-1)],8,gk)])]))])),H(`div`,vk,[H(`div`,yk,[H(`div`,bk,[U(o,{name:`i-lucide-id-card`})]),H(`div`,xk,[t[27]||=H(`div`,{class:`panel-title`},`登录信息`,-1),H(`span`,Sk,[t[24]||=W(`入口 `,-1),H(`a`,{class:`panel-link`,href:d.value,target:`_blank`,rel:`noopener`},j(d.value),9,Ck),t[25]||=W(` · 账号 `,-1),H(`b`,wk,j(s.value.name),1),t[26]||=W(` · 密码仅在重设时显示一次`,-1)]),N(i).entry?.running?N(i).entry?.public_url?G(``,!0):(z(),B(`span`,Ek,`未设置外网地址,目前仅本机可访问`)):(z(),B(`span`,Tk,`登录入口未运行,使用者暂时无法登录,请到“概览”启动`))]),H(`div`,Dk,[H(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t[4]||=e=>y(`地址 ${d.value},账号 ${s.value.name}`)},[U(o,{name:`i-lucide-copy`}),t[28]||=W(`复制`,-1)]),H(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:!!c.value,onClick:t[5]||=e=>p(`password`)},[U(o,{name:`i-lucide-key-round`}),t[29]||=W(`重设密码`,-1)],8,Ok)])])]),s.value.os_user?(z(),B(R,{key:2},[H(`article`,kk,[U(QO,{target:s.value.name,who:`托管账号 ${s.value.name}`},null,8,[`target`,`who`])]),H(`article`,Ak,[U(UD,{account:s.value.name},null,8,[`account`])])],64)):(z(),B(`article`,jk,[H(`div`,Mk,[H(`p`,Nk,[U(o,{name:`i-lucide-info`}),t[30]||=W(`未隔离账号与管理员共用命令行登录、技能与系统提示词;隔离后将使用独立的一份。`,-1)]),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,onClick:t[6]||=e=>r(`owner`)},`查看管理员设置`)])])),H(`article`,Pk,[U(SO,{account:s.value.name},null,8,[`account`])]),H(`article`,Fk,[U(cO,{account:s.value.name,onChanged:N(a)},null,8,[`account`,`onChanged`])]),H(`h3`,Ik,[U(o,{name:`i-lucide-settings-2`}),t[31]||=W(`账号操作`,-1)]),H(`div`,Lk,[H(`div`,Rk,[H(`div`,zk,[H(`div`,Bk,j(s.value.disabled?`启用账号`:`停用账号`),1),H(`span`,Vk,j(s.value.disabled?`启用后使用者可重新登录`:`所有登录立即失效且无法再登录;实例与文件保留,可随时启用`),1)]),s.value.disabled?(z(),B(`button`,{key:0,type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[7]||=e=>p(`enable`,`账号已启用`)},`启用`,8,Hk)):(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[8]||=e=>h(`disable`)},`停用`,8,Uk))]),s.value.os_user?(z(),B(`div`,Wk,[H(`div`,Gk,[t[32]||=H(`div`,{class:`panel-title`},`取消隔离`,-1),H(`span`,Kk,`删除 Windows 用户 `+j(s.value.os_user)+` 及其中的登录与技能,账号改为以你的身份运行`,1)]),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[9]||=e=>h(`os-user/remove`)},`取消隔离`,8,qk)])):G(``,!0),s.value.protected?(z(),B(`div`,Jk,[t[33]||=H(`div`,{class:`panel-main`},[H(`div`,{class:`panel-title`},`关闭入口保护`),H(`span`,{class:`panel-sub`},`本机其他程序将可直接访问该账号的网站`)],-1),H(`button`,{type:`button`,class:`panel-button is-outline is-small`,disabled:!!c.value,onClick:t[10]||=e=>h(`protect-off`)},`关闭`,8,Yk)])):G(``,!0),H(`div`,Xk,[H(`div`,Zk,[t[34]||=H(`div`,{class:`panel-title`},`删除账号`,-1),H(`span`,Qk,`使用者无法再登录;文件夹 `+j(s.value.home)+` 保留,需要时手动删除`,1)]),H(`button`,{type:`button`,class:`panel-button is-plain is-small is-danger`,disabled:!!c.value,onClick:t[11]||=e=>h(`remove`)},[U(o,{name:`i-lucide-trash-2`}),t[35]||=W(`删除`,-1)],8,$k)])])])])):(z(),B(`section`,eA,[U(o,{name:`i-lucide-user-x`}),t[36]||=W(`账号已不存在。`,-1)])),U(b,{open:!!l.value,title:l.value?.title,description:`密码只显示这一次,请现在交给使用者。`,"onUpdate:open":t[14]||=e=>!e&&(l.value=null)},{body:P(()=>[H(`div`,tA,[H(`span`,null,j(l.value?.password),1),H(`button`,{type:`button`,class:`panel-icon-button`,"aria-label":`复制密码`,onClick:t[12]||=e=>y(l.value.password)},[U(o,{name:`i-lucide-copy`})])]),H(`div`,nA,[H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:t[13]||=e=>y(`地址 ${d.value},账号 ${n.name},密码 ${l.value.password}`)},[U(o,{name:`i-lucide-copy`}),t[37]||=W(`复制完整登录信息`,-1)])])]),_:1},8,[`open`,`title`]),U(b,{open:!!u.value,title:u.value?.title,"onUpdate:open":t[16]||=e=>!e&&(u.value=null)},{body:P(()=>[H(`p`,rA,j(u.value?.text()),1),H(`div`,iA,[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:t[15]||=e=>u.value=null},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,onClick:_},j(u.value?.label),1)])]),_:1},8,[`open`,`title`])],64)}}},[[`__scopeId`,`data-v-9185ee6c`]]),oA={class:`panel-field`},sA={key:0,class:`new-check`},cA={class:`new-check`},lA={key:1,class:`panel-form`},uA={class:`new-steps`},dA={key:0},fA={key:1,class:`is-error`},pA={class:`panel-note`},mA={class:`panel-secret`},hA={key:0,class:`panel-note is-amber`},gA={class:`panel-form-foot`},_A=[`disabled`],vA=YT({__name:`NewAccount`,emits:[`cancel`,`done`],setup(e,{emit:t}){let n=t,{state:r,reload:i,notify:a}=wr(`panel`),o=M(``),s=M(r.value.platform===`win32`),c=M(!0),l=M([]),u=M(!1),d=M(``),f=q(()=>/^[a-z0-9][a-z0-9_-]{1,16}$/.test(o.value.trim()));function p(){let e=[{key:`account`,label:`创建账号与文件夹`}];return s.value&&(e.push({key:`os-user`,label:`创建独立的 Windows 用户`,note:`电脑会弹出一次管理员确认,请点“是”`}),(!r.value.clis?.app||!r.value.clis?.python)&&e.push({key:`runtime`,label:`安装隔离账号的程序副本(命令行程序、共议、Python)`})),e.push({key:`env/init`,label:s.value?`初始化 AI 环境(共议内置技能、系统提示词、随包工作流)`:`安装随包工作流`}),r.value.platform===`win32`&&e.push({key:`protect`,label:`开启入口保护(只接受经入口和它自己的 AI 的访问)`}),c.value&&e.push({key:`start`,label:`启动实例`}),e.map(e=>({...e,status:`pending`,error:``}))}async function m(e,t){if(e.key===`account`){let e=await $(`accounts`,{name:t});d.value=e.password}else if(e.key===`runtime`){let e=await $(`clis/install`,{});if(e.warnings?.length)throw Error(e.warnings.join(`;`))}else await $(`accounts/${t}/${e.key}`,{})}async function h(){l.value.length||(l.value=p()),u.value=!0;let e=o.value.trim();for(let t of l.value)if(t.status!==`done`){t.status=`running`,t.error=``;try{await m(t,e),t.status=`done`}catch(e){t.status=`failed`,t.error=e.message,u.value=!1,await i();return}}u.value=!1,await i(),a(`info`,`账号 ${e} 已建好`)}let g=q(()=>l.value.length&&l.value.every(e=>e.status===`done`));async function _(e){try{await navigator.clipboard.writeText(e),a(`info`,`已复制`)}catch{a(`error`,`复制失败,请手动选中复制`)}}let v={pending:`i-lucide-circle`,running:`i-lucide-loader`,done:`i-lucide-circle-check`,failed:`i-lucide-circle-x`};return(e,t)=>{let i=iT;return z(),B(`section`,null,[t[16]||=H(`div`,{class:`panel-form-head`},[H(`h2`,null,`新建托管账号`)],-1),l.value.length?(z(),B(`div`,lA,[H(`ol`,uA,[(z(!0),B(R,null,va(l.value,e=>(z(),B(`li`,{key:e.key,class:k(`is-${e.status}`)},[U(i,{name:v[e.status],class:k({"animate-spin":e.status===`running`})},null,8,[`name`,`class`]),H(`div`,null,[H(`strong`,null,j(e.label),1),e.status===`running`&&e.note?(z(),B(`small`,dA,j(e.note),1)):G(``,!0),e.error?(z(),B(`small`,fA,j(e.error),1)):G(``,!0)])],2))),128))]),g.value?(z(),B(R,{key:0},[H(`p`,pA,[U(i,{name:`i-lucide-circle-check`,style:{color:`#16a34a`}}),t[11]||=W(`建好了。把入口地址、账号名和下面的密码交给对方(密码只显示这一次);下一步在账号页给它登录命令行、配置 API 密钥。`,-1)]),H(`div`,mA,[H(`span`,null,j(N(UT)(N(r).entry))+` · `+j(o.value.trim())+` · `+j(d.value),1),H(`button`,{type:`button`,class:`panel-icon-button`,"aria-label":`复制地址、账号和密码`,onClick:t[4]||=e=>_(`地址 ${N(UT)(N(r).entry)},账号 ${o.value.trim()},密码 ${d.value}`)},[U(i,{name:`i-lucide-copy`})])]),N(r).entry?.public_url?G(``,!0):(z(),B(`p`,hA,[U(i,{name:`i-lucide-triangle-alert`}),t[12]||=W(`还没有设外网地址,这个地址只有这台电脑能打开。在“概览”页的“登录入口”设置。`,-1)]))],64)):G(``,!0)])):(z(),B(`form`,{key:0,class:`panel-form`,onSubmit:t[3]||=mu(e=>f.value&&h(),[`prevent`])},[H(`label`,oA,[t[7]||=W(`账号名 `,-1),xr(H(`input`,{"onUpdate:modelValue":t[0]||=e=>o.value=e,class:`panel-input`,placeholder:`例如 zhang`,autocomplete:`off`,spellcheck:`false`,maxlength:`17`,autofocus:``},null,512),[[$l,o.value]]),t[8]||=H(`small`,null,`2–17 位小写字母、数字、下划线或短横线,对方用它登录。会建立文件夹 ~\\.codiscuss-账号名,里面是它的项目、草稿和数据。`,-1)]),N(r).platform===`win32`?(z(),B(`label`,sA,[xr(H(`input`,{"onUpdate:modelValue":t[1]||=e=>s.value=e,type:`checkbox`},null,512),[[eu,s.value]]),t[9]||=H(`span`,null,[H(`strong`,null,`隔离(推荐)`),H(`small`,null,`给它建一个独立的 Windows 用户:它的 AI 读不到你的个人文件,命令行登录和技能也和你分开。`)],-1)])):G(``,!0),H(`label`,cA,[xr(H(`input`,{"onUpdate:modelValue":t[2]||=e=>c.value=e,type:`checkbox`},null,512),[[eu,c.value]]),t[10]||=H(`span`,null,[H(`strong`,null,`建好后启动它的网站`),H(`small`,null,`之后也可以在账号页启动或停止。`)],-1)])],32)),H(`div`,gA,[l.value.length?g.value?(z(),B(`button`,{key:1,type:`button`,class:`panel-button is-primary`,onClick:t[6]||=e=>n(`done`,o.value.trim())},[t[14]||=W(`下一步:登录命令行`,-1),U(i,{name:`i-lucide-arrow-right`})])):u.value?G(``,!0):(z(),B(`button`,{key:2,type:`button`,class:`panel-button is-primary`,onClick:h},[U(i,{name:`i-lucide-rotate-cw`}),t[15]||=W(`从失败的一步重试`,-1)])):(z(),B(R,{key:0},[H(`button`,{type:`button`,class:`panel-button is-plain`,onClick:t[5]||=e=>n(`cancel`)},`取消`),H(`button`,{type:`button`,class:`panel-button is-primary`,disabled:!f.value,onClick:h},[U(i,{name:`i-lucide-plus`}),t[13]||=W(`创建`,-1)],8,_A)],64))])])}}},[[`__scopeId`,`data-v-9689cd76`]]),yA={class:`prompt`},bA={class:`prompt-head`},xA=[`disabled`],SA={key:0,class:`panel-note is-amber`},CA={key:1,class:`prompt-empty`},wA=[`onClick`],TA={class:`prompt-title`},EA={key:0,class:`panel-tag is-blue`},DA={key:1,class:`panel-tag is-gray`},OA=[`onUpdate:modelValue`,`placeholder`],kA={class:`prompt-actions`},AA=[`disabled`,`onClick`],jA=[`disabled`,`onClick`],MA=YT({__name:`OwnerPrompt`,setup(e){let{notify:t,refreshed:n}=wr(`panel`),r=M(null),i=M(!1),a=M(``),o=M({}),s=M(``);async function c(){i.value=!0;try{r.value=await $(`owner/prompts`),o.value=Object.fromEntries(r.value.map(e=>[e.key,e.text]))}catch(e){r.value={error:e.message}}finally{i.value=!1}}ta(c),F(n,c);let l=e=>e.programs.map(e=>e.label).join(`、`);async function u(e){s.value=e.key;try{r.value=await $(`owner/prompts`,{key:e.key,text:o.value[e.key],original:e.text}),t(`info`,`${l(e)} 的系统提示词已保存`)}catch(e){t(`error`,e.message),await c()}finally{s.value=``}}return(e,t)=>{let n=iT;return z(),B(`div`,yA,[H(`div`,bA,[t[0]||=H(`span`,null,[W(`系统提示词 `),H(`small`,null,`各程序每次启动时读取的全局指令`)],-1),H(`button`,{type:`button`,class:k([`panel-icon-button`,{"is-spinning":i.value}]),disabled:i.value,title:`重新读取`,"aria-label":`重新读取`,onClick:c},[U(n,{name:`i-lucide-refresh-cw`})],10,xA)]),r.value?.error?(z(),B(`p`,SA,[U(n,{name:`i-lucide-circle-alert`}),W(j(r.value.error),1)])):r.value?(z(!0),B(R,{key:2},va(r.value||[],e=>(z(),B(`div`,{key:e.key,class:`prompt-group`},[H(`button`,{type:`button`,class:`prompt-toggle`,onClick:t=>a.value=a.value===e.key?``:e.key},[H(`span`,TA,[H(`strong`,null,j(l(e)),1),e.programs.length>1?(z(),B(`span`,EA,`共用一份`)):G(``,!0),e.exists?G(``,!0):(z(),B(`span`,DA,`未创建`)),H(`small`,null,j(e.programs.map(e=>e.path).join(`;`)),1)]),U(n,{name:a.value===e.key?`i-lucide-chevron-up`:`i-lucide-chevron-down`},null,8,[`name`])],8,wA),a.value===e.key?(z(),B(R,{key:0},[xr(H(`textarea`,{"onUpdate:modelValue":t=>o.value[e.key]=t,class:`panel-input prompt-area`,spellcheck:`false`,placeholder:e.exists?``:`保存后创建该文件`},null,8,OA),[[$l,o.value[e.key]]]),H(`div`,kA,[H(`button`,{type:`button`,class:`panel-button is-plain is-small`,disabled:o.value[e.key]===e.text,onClick:t=>o.value[e.key]=e.text},`撤销修改`,8,AA),H(`button`,{type:`button`,class:`panel-button is-primary is-small`,disabled:o.value[e.key]===e.text||!!s.value,onClick:t=>u(e)},[s.value===e.key?(z(),V(n,{key:0,name:`i-lucide-loader`,class:`animate-spin`})):G(``,!0),t[1]||=W(`保存`,-1)],8,jA)])],64)):G(``,!0)]))),128)):(z(),B(`p`,CA,`读取中…`))])}}},[[`__scopeId`,`data-v-6be50282`]]),NA={class:`panel-list`},PA={class:`panel-card is-tall`},FA={class:`panel-card is-tall`},IA={class:`panel-card is-tall`},LA={class:`panel-card is-tall`},RA={class:`panel-card is-tall`},zA={__name:`OwnerDetail`,setup(e){return(e,t)=>(z(),B(`section`,null,[t[1]||=H(`div`,{class:`panel-form-head`},[H(`h2`,null,`管理员`),H(`span`,{class:`panel-tag is-blue`},`本机账号`)],-1),H(`div`,NA,[H(`article`,PA,[U(QO,{target:`_`,who:`本机(你自己)`}),t[0]||=H(`p`,{class:`panel-sub`,style:{margin:`10px 4px 0`,"white-space":`normal`}},`管理员房间中的成员及未隔离的托管账号均使用此处登录。Claude Code 建议使用 Setup Token(一次授权,有效期一年)。`,-1)]),H(`article`,FA,[U(cO,{account:``})]),H(`article`,IA,[U(UD,{account:``})]),H(`article`,LA,[U(SO,{account:``})]),H(`article`,RA,[U(MA)])])]))}},BA={class:`accounts`},VA={class:`accounts-side`,"aria-label":`账号`},HA={class:`accounts-avatar is-owner`},UA=[`onClick`],WA={class:`accounts-avatar`},GA=[`title`],KA={class:`accounts-text`},qA={key:0,class:`accounts-empty`},JA={class:`accounts-avatar`},YA={class:`accounts-main`},XA=``,ZA=`\0new`,QA=YT({__name:`AccountsPage`,setup(e){let{state:t}=wr(`panel`),n=M(XA),r=q(()=>n.value===ZA||t.value.accounts.some(e=>e.name===n.value)?n.value:XA);function i(e){return e.os_user?e.skills?``:`AI 环境未初始化`:`未隔离`}return(e,a)=>{let o=iT;return z(),B(`div`,BA,[H(`nav`,VA,[H(`button`,{type:`button`,class:k([`accounts-item`,{"is-active":r.value===XA}]),onClick:a[0]||=e=>n.value=XA},[H(`span`,HA,[U(o,{name:`i-lucide-user-cog`})]),a[5]||=H(`span`,{class:`accounts-text`},[H(`strong`,null,`管理员`),H(`small`,null,`本机账号`)],-1)],2),N(t).hosting?(z(),B(R,{key:0},[a[7]||=H(`div`,{class:`accounts-group`},`托管账号`,-1),(z(!0),B(R,null,va(N(t).accounts,e=>(z(),B(`button`,{key:e.name,type:`button`,class:k([`accounts-item`,{"is-active":r.value===e.name}]),onClick:t=>n.value=e.name},[H(`span`,WA,[W(j(e.name.slice(0,1).toUpperCase()),1),H(`i`,{class:k(e.running?`is-on`:`is-off`),title:e.running?`运行中`:`已停止`},null,10,GA)]),H(`span`,KA,[H(`strong`,null,j(e.name),1),H(`small`,{class:k({"is-warn":i(e)||e.disabled})},j(e.disabled?`已停用`:i(e)?`待处理:${i(e)}`:`已隔离`),3)])],10,UA))),128)),N(t).accounts.length?G(``,!0):(z(),B(`p`,qA,`暂无托管账号。创建后,对方可通过登录入口使用本机的 AI。`)),H(`button`,{type:`button`,class:k([`accounts-item is-new`,{"is-active":r.value===ZA}]),onClick:a[1]||=e=>n.value=ZA},[H(`span`,JA,[U(o,{name:`i-lucide-plus`})]),a[6]||=H(`span`,{class:`accounts-text`},[H(`strong`,null,`新建账号`)],-1)],2)],64)):G(``,!0)]),H(`div`,YA,[r.value===ZA?(z(),V(vA,{key:0,onCancel:a[2]||=e=>n.value=XA,onDone:a[3]||=e=>n.value=e})):r.value?(z(),V(aA,{key:r.value,name:r.value,onOwner:a[4]||=e=>n.value=XA},null,8,[`name`])):(z(),V(zA,{key:2}))])])}}},[[`__scopeId`,`data-v-9aeea41f`]]),$A={class:`panel`},ej={class:`panel-head`},tj={class:`panel-tabs`,"aria-label":`管理页面`},nj=[`aria-current`,`onClick`],rj={class:`panel-tools`},ij=[`disabled`],aj=`/mark.svg`;wu({__name:`AdminApp`,setup(e){let t={key:`overview`,label:`概览`,icon:`i-lucide-layout-dashboard`},n={key:`accounts`,label:`账号`,icon:`i-lucide-users`},r=M({hosting:!1,service:{},accounts:[],clis:{},providers:{},platform:``}),i=[t,n],a=M(location.hash.slice(1)||`overview`),o=q(()=>i.some(e=>e.key===a.value)?a.value:`overview`),s=M(!1),c=Nx();function l(e,t){c.add({title:t,color:e===`error`?`error`:e===`warning`?`warning`:`success`,duration:e===`error`?6e3:3e3})}async function u(){s.value=!0;try{r.value=await $(`state`)}catch(e){l(`error`,e.message)}finally{s.value=!1}}function d(e){a.value=e,history.replaceState(null,``,`#${e}`)}let f=M(0),p=M(!1);async function m(){p.value=!0,f.value+=1,await Promise.all([u(),new Promise(e=>setTimeout(e,500))]),p.value=!1,l(`info`,`已刷新`)}return Cr(`panel`,{state:r,reload:u,notify:l,refreshed:f}),ta(u),(e,t)=>{let n=iT,r=LT;return z(),V(r,{locale:N(zT),toaster:{position:`bottom-right`,max:4}},{default:P(()=>[H(`div`,$A,[H(`header`,ej,[H(`div`,{class:`panel-brand`},[H(`img`,{class:`panel-mark`,src:aj,alt:``}),t[0]||=H(`h1`,null,`共议`,-1),t[1]||=H(`small`,null,`管理面板`,-1)]),H(`nav`,tj,[(z(),B(R,null,va(i,e=>H(`button`,{key:e.key,type:`button`,class:k([`panel-tab`,{"is-active":o.value===e.key}]),"aria-current":o.value===e.key?`page`:void 0,onClick:t=>d(e.key)},[U(n,{name:e.icon},null,8,[`name`]),W(j(e.label),1)],10,nj)),64))]),H(`div`,rj,[H(`button`,{type:`button`,class:k([`panel-tool`,{"is-spinning":p.value}]),disabled:p.value,title:`刷新全部:服务、登录状态、账号与版本`,"aria-label":`刷新全部`,onClick:m},[U(n,{name:`i-lucide-refresh-cw`})],10,ij)])]),o.value===`overview`?(z(),V(eD,{key:0})):(z(),V(QA,{key:1}))])]),_:1},8,[`locale`])}}}).use($m).mount(`#admin-root`);