diff --git a/.gitignore b/.gitignore index 42bd71b..b62c351 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ dist out .DS_Store *.log* +!resources/dist diff --git a/resources/dist/assets/main-Bs1QdP4F.js b/resources/dist/assets/main-Bs1QdP4F.js new file mode 100644 index 0000000..bdd22c1 --- /dev/null +++ b/resources/dist/assets/main-Bs1QdP4F.js @@ -0,0 +1,59 @@ +var yu=Object.defineProperty,bu=Object.defineProperties;var wu=Object.getOwnPropertyDescriptors;var Oo=Object.getOwnPropertySymbols;var ul=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable;var al=(e,t,n)=>t in e?yu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))ul.call(t,n)&&al(e,n,t[n]);if(Oo)for(var n of Oo(t))cl.call(t,n)&&al(e,n,t[n]);return e},Pe=(e,t)=>bu(e,wu(t));var Oe=(e,t)=>{var n={};for(var o in e)ul.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Oo)for(var o of Oo(e))t.indexOf(o)<0&&cl.call(e,o)&&(n[o]=e[o]);return n};var xu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Re=(e,t,n)=>new Promise((o,s)=>{var r=a=>{try{i(n.next(a))}catch(c){s(c)}},l=a=>{try{i(n.throw(a))}catch(c){s(c)}},i=a=>a.done?o(a.value):Promise.resolve(a.value).then(r,l);i((n=n.apply(e,t)).next())});var yg=xu(gu=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** +* @vue/shared v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Tr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},Dn=[],_t=()=>{},_u=()=>!1,is=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Or=e=>e.startsWith("onUpdate:"),Fe=Object.assign,Pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cu=Object.prototype.hasOwnProperty,pe=(e,t)=>Cu.call(e,t),Z=Array.isArray,In=e=>xo(e)==="[object Map]",as=e=>xo(e)==="[object Set]",dl=e=>xo(e)==="[object Date]",te=e=>typeof e=="function",Se=e=>typeof e=="string",pt=e=>typeof e=="symbol",xe=e=>e!==null&&typeof e=="object",hi=e=>(xe(e)||te(e))&&te(e.then)&&te(e.catch),vi=Object.prototype.toString,xo=e=>vi.call(e),Au=e=>xo(e).slice(8,-1),gi=e=>xo(e)==="[object Object]",Rr=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ro=Tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),us=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Eu=/-(\w)/g,Xe=us(e=>e.replace(Eu,(t,n)=>n?n.toUpperCase():"")),Su=/\B([A-Z])/g,nn=us(e=>e.replace(Su,"-$1").toLowerCase()),cs=us(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vo=us(e=>e?`on${cs(e)}`:""),qt=(e,t)=>!Object.is(e,t),$o=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},zo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fl;const ds=()=>fl||(fl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function on(e){if(Z(e)){const t={};for(let n=0;n{if(n){const o=n.split(Ou);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Ie(e){let t="";if(Se(e))t=e;else if(Z(e))for(let n=0;nfs(n,t))}const wi=e=>!!(e&&e.__v_isRef===!0),Ke=e=>Se(e)?e:e==null?"":Z(e)||xe(e)&&(e.toString===vi||!te(e.toString))?wi(e)?Ke(e.value):JSON.stringify(e,xi,2):String(e),xi=(e,t)=>wi(t)?xi(e,t.value):In(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[Ns(o,r)+" =>"]=s,n),{})}:as(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ns(n))}:pt(t)?Ns(t):xe(t)&&!Z(t)&&!gi(t)?String(t):t,Ns=(e,t="")=>{var n;return pt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let He;class _i{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(io){let t=io;for(io=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;lo;){let t=lo;for(lo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),kr(o),Bu(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function sr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===po))return;e.globalVersion=po;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!sr(e)){e.flags&=-3;return}const n=Ce,o=ft;Ce=e,ft=!0;try{Ti(e);const s=e.fn(e._value);(t.version===0||qt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ce=n,ft=o,Oi(e),e.flags&=-3}}function kr(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)kr(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ft=!0;const Ri=[];function sn(){Ri.push(ft),ft=!1}function rn(){const e=Ri.pop();ft=e===void 0?!0:e}function pl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let po=0;class Fu{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ms{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ce||!ft||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new Fu(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,Mi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=o)}return n}trigger(t){this.version++,po++,this.notify(t)}notify(t){Dr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ir()}}}function Mi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Mi(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ko=new WeakMap,hn=Symbol(""),rr=Symbol(""),mo=Symbol("");function Ve(e,t,n){if(ft&&Ce){let o=Ko.get(e);o||Ko.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new ms),s.map=o,s.key=n),s.track()}}function It(e,t,n,o,s,r){const l=Ko.get(e);if(!l){po++;return}const i=a=>{a&&a.trigger()};if(Dr(),t==="clear")l.forEach(i);else{const a=Z(e),c=a&&Rr(n);if(a&&n==="length"){const u=Number(o);l.forEach((d,h)=>{(h==="length"||h===mo||!pt(h)&&h>=u)&&i(d)})}else switch((n!==void 0||l.has(void 0))&&i(l.get(n)),c&&i(l.get(mo)),t){case"add":a?c&&i(l.get("length")):(i(l.get(hn)),In(e)&&i(l.get(rr)));break;case"delete":a||(i(l.get(hn)),In(e)&&i(l.get(rr)));break;case"set":In(e)&&i(l.get(hn));break}}Ir()}function Lu(e,t){const n=Ko.get(e);return n&&n.get(t)}function Tn(e){const t=de(e);return t===e?t:(Ve(t,"iterate",mo),it(e)?t:t.map($e))}function hs(e){return Ve(e=de(e),"iterate",mo),e}const Nu={__proto__:null,[Symbol.iterator](){return $s(this,Symbol.iterator,$e)},concat(...e){return Tn(this).concat(...e.map(t=>Z(t)?Tn(t):t))},entries(){return $s(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return Pt(this,"every",e,t,void 0,arguments)},filter(e,t){return Pt(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return Pt(this,"find",e,t,$e,arguments)},findIndex(e,t){return Pt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Pt(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return Pt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Pt(this,"forEach",e,t,void 0,arguments)},includes(...e){return js(this,"includes",e)},indexOf(...e){return js(this,"indexOf",e)},join(e){return Tn(this).join(e)},lastIndexOf(...e){return js(this,"lastIndexOf",e)},map(e,t){return Pt(this,"map",e,t,void 0,arguments)},pop(){return Xn(this,"pop")},push(...e){return Xn(this,"push",e)},reduce(e,...t){return ml(this,"reduce",e,t)},reduceRight(e,...t){return ml(this,"reduceRight",e,t)},shift(){return Xn(this,"shift")},some(e,t){return Pt(this,"some",e,t,void 0,arguments)},splice(...e){return Xn(this,"splice",e)},toReversed(){return Tn(this).toReversed()},toSorted(e){return Tn(this).toSorted(e)},toSpliced(...e){return Tn(this).toSpliced(...e)},unshift(...e){return Xn(this,"unshift",e)},values(){return $s(this,"values",$e)}};function $s(e,t,n){const o=hs(e),s=o[t]();return o!==e&&!it(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=n(r.value)),r}),s}const Vu=Array.prototype;function Pt(e,t,n,o,s,r){const l=hs(e),i=l!==e&&!it(e),a=l[t];if(a!==Vu[t]){const d=a.apply(e,r);return i?$e(d):d}let c=n;l!==e&&(i?c=function(d,h){return n.call(this,$e(d),h,e)}:n.length>2&&(c=function(d,h){return n.call(this,d,h,e)}));const u=a.call(l,c,o);return i&&s?s(u):u}function ml(e,t,n,o){const s=hs(e);let r=n;return s!==e&&(it(e)?n.length>3&&(r=function(l,i,a){return n.call(this,l,i,a,e)}):r=function(l,i,a){return n.call(this,l,$e(i),a,e)}),s[t](r,...o)}function js(e,t,n){const o=de(e);Ve(o,"iterate",mo);const s=o[t](...n);return(s===-1||s===!1)&&Br(n[0])?(n[0]=de(n[0]),o[t](...n)):s}function Xn(e,t,n=[]){sn(),Dr();const o=de(e)[t].apply(e,n);return Ir(),rn(),o}const $u=Tr("__proto__,__v_isRef,__isVue"),Di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pt));function ju(e){pt(e)||(e=String(e));const t=de(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class Ii{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?Vi:Ni:r?Li:Fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const l=Z(t);if(!s){let a;if(l&&(a=Nu[n]))return a;if(n==="hasOwnProperty")return ju}const i=Reflect.get(t,n,Me(t)?t:o);return(pt(n)?Di.has(n):$u(n))||(s||Ve(t,"get",n),r)?i:Me(i)?l&&Rr(n)?i:i.value:xe(i)?s?zn(i):_o(i):i}}class ki extends Ii{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const a=gn(r);if(!it(o)&&!gn(o)&&(r=de(r),o=de(o)),!Z(t)&&Me(r)&&!Me(o))return a?!1:(r.value=o,!0)}const l=Z(t)&&Rr(n)?Number(n)e,Po=e=>Reflect.getPrototypeOf(e);function Ku(e,t,n){return function(...o){const s=this.__v_raw,r=de(s),l=In(r),i=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,c=s[e](...o),u=n?lr:t?ir:$e;return!t&&Ve(r,"iterate",a?rr:hn),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function Ro(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gu(e,t){const n={get(s){const r=this.__v_raw,l=de(r),i=de(s);e||(qt(s,i)&&Ve(l,"get",s),Ve(l,"get",i));const{has:a}=Po(l),c=t?lr:e?ir:$e;if(a.call(l,s))return c(r.get(s));if(a.call(l,i))return c(r.get(i));r!==l&&r.get(s)},get size(){const s=this.__v_raw;return!e&&Ve(de(s),"iterate",hn),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,l=de(r),i=de(s);return e||(qt(s,i)&&Ve(l,"has",s),Ve(l,"has",i)),s===i?r.has(s):r.has(s)||r.has(i)},forEach(s,r){const l=this,i=l.__v_raw,a=de(i),c=t?lr:e?ir:$e;return!e&&Ve(a,"iterate",hn),i.forEach((u,d)=>s.call(r,c(u),c(d),l))}};return Fe(n,e?{add:Ro("add"),set:Ro("set"),delete:Ro("delete"),clear:Ro("clear")}:{add(s){!t&&!it(s)&&!gn(s)&&(s=de(s));const r=de(this);return Po(r).has.call(r,s)||(r.add(s),It(r,"add",s,s)),this},set(s,r){!t&&!it(r)&&!gn(r)&&(r=de(r));const l=de(this),{has:i,get:a}=Po(l);let c=i.call(l,s);c||(s=de(s),c=i.call(l,s));const u=a.call(l,s);return l.set(s,r),c?qt(r,u)&&It(l,"set",s,r):It(l,"add",s,r),this},delete(s){const r=de(this),{has:l,get:i}=Po(r);let a=l.call(r,s);a||(s=de(s),a=l.call(r,s)),i&&i.call(r,s);const c=r.delete(s);return a&&It(r,"delete",s,void 0),c},clear(){const s=de(this),r=s.size!==0,l=s.clear();return r&&It(s,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Ku(s,e,t)}),n}function vs(e,t){const n=Gu(e,t);return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(pe(n,s)&&s in o?n:o,s,r)}const Ju={get:vs(!1,!1)},qu={get:vs(!1,!0)},Yu={get:vs(!0,!1)},Xu={get:vs(!0,!0)},Fi=new WeakMap,Li=new WeakMap,Ni=new WeakMap,Vi=new WeakMap;function Zu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qu(e){return e.__v_skip||!Object.isExtensible(e)?0:Zu(Au(e))}function _o(e){return gn(e)?e:gs(e,!1,Uu,Ju,Fi)}function ec(e){return gs(e,!1,Hu,qu,Li)}function zn(e){return gs(e,!0,Wu,Yu,Ni)}function On(e){return gs(e,!0,zu,Xu,Vi)}function gs(e,t,n,o,s){if(!xe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const l=Qu(e);if(l===0)return e;const i=new Proxy(e,l===2?o:n);return s.set(e,i),i}function kn(e){return gn(e)?kn(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function it(e){return!!(e&&e.__v_isShallow)}function Br(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function tc(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&yi(e,"__v_skip",!0),e}const $e=e=>xe(e)?_o(e):e,ir=e=>xe(e)?zn(e):e;function Me(e){return e?e.__v_isRef===!0:!1}function B(e){return $i(e,!1)}function Fr(e){return $i(e,!0)}function $i(e,t){return Me(e)?e:new nc(e,t)}class nc{constructor(t,n){this.dep=new ms,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:de(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||it(t)||gn(t);t=o?t:de(t),qt(t,n)&&(this._rawValue=t,this._value=o?t:$e(t),this.dep.trigger())}}function f(e){return Me(e)?e.value:e}const oc={get:(e,t,n)=>t==="__v_raw"?e:f(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Me(s)&&!Me(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function ji(e){return kn(e)?e:new Proxy(e,oc)}class sc{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ms,{get:o,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ui(e){return new sc(e)}function Vt(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Hi(e,n);return t}class rc{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Lu(de(this._object),this._key)}}class lc{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Wi(e,t,n){return Me(e)?e:te(e)?new lc(e):xe(e)&&arguments.length>1?Hi(e,t,n):B(e)}function Hi(e,t,n){const o=e[t];return Me(o)?o:new rc(e,t,n)}class ic{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ms(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=po-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Si(this,!0),!0}get value(){const t=this.dep.track();return Pi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ac(e,t,n=!1){let o,s;return te(e)?o=e:(o=e.get,s=e.set),new ic(o,s,n)}const Mo={},Go=new WeakMap;let fn;function uc(e,t=!1,n=fn){if(n){let o=Go.get(n);o||Go.set(n,o=[]),o.push(e)}}function cc(e,t,n=ge){const{immediate:o,deep:s,once:r,scheduler:l,augmentJob:i,call:a}=n,c=_=>s?_:it(_)||s===!1||s===0?kt(_,1):kt(_);let u,d,h,m,v=!1,p=!1;if(Me(e)?(d=()=>e.value,v=it(e)):kn(e)?(d=()=>c(e),v=!0):Z(e)?(p=!0,v=e.some(_=>kn(_)||it(_)),d=()=>e.map(_=>{if(Me(_))return _.value;if(kn(_))return c(_);if(te(_))return a?a(_,2):_()})):te(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){sn();try{h()}finally{rn()}}const _=fn;fn=u;try{return a?a(e,3,[m]):e(m)}finally{fn=_}}:d=_t,t&&s){const _=d,A=s===!0?1/0:s;d=()=>kt(_(),A)}const b=ps(),g=()=>{u.stop(),b&&Pr(b.effects,u)};if(r&&t){const _=t;t=(...A)=>{_(...A),g()}}let x=p?new Array(e.length).fill(Mo):Mo;const C=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const A=u.run();if(s||v||(p?A.some((O,M)=>qt(O,x[M])):qt(A,x))){h&&h();const O=fn;fn=u;try{const M=[A,x===Mo?void 0:p&&x[0]===Mo?[]:x,m];a?a(t,3,M):t(...M),x=A}finally{fn=O}}}else u.run()};return i&&i(C),u=new Ai(d),u.scheduler=l?()=>l(C,!1):C,m=_=>uc(_,!1,u),h=u.onStop=()=>{const _=Go.get(u);if(_){if(a)a(_,4);else for(const A of _)A();Go.delete(u)}},t?o?C(!0):x=u.run():l?l(C.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function kt(e,t=1/0,n){if(t<=0||!xe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Me(e))kt(e.value,t,n);else if(Z(e))for(let o=0;o{kt(o,t,n)});else if(gi(e)){for(const o in e)kt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&kt(e[o],t,n)}return e}/** +* @vue/runtime-core v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Co(e,t,n,o){try{return o?e(...o):e()}catch(s){ys(s,t,n)}}function Ct(e,t,n,o){if(te(e)){const s=Co(e,t,n,o);return s&&hi(s)&&s.catch(r=>{ys(r,t,n)}),s}if(Z(e)){const s=[];for(let r=0;r>>1,s=ze[o],r=ho(s);r=ho(n)?ze.push(e):ze.splice(fc(t),0,e),e.flags|=1,Ki()}}function Ki(){Jo||(Jo=zi.then(Ji))}function pc(e){Z(e)?Bn.push(...e):Gt&&e.id===-1?Gt.splice(Rn+1,0,e):e.flags&1||(Bn.push(e),e.flags|=1),Ki()}function hl(e,t,n=wt+1){for(;nho(n)-ho(o));if(Bn.length=0,Gt){Gt.push(...t);return}for(Gt=t,Rn=0;Rne.id==null?e.flags&2?-1:1/0:e.id;function Ji(e){try{for(wt=0;wt{o._d&&Sl(-1);const r=qo(t);let l;try{l=e(...s)}finally{qo(r),o._d&&Sl(1)}return l};return o._n=!0,o._c=!0,o._d=!0,o}function pn(e,t){if(Be===null)return e;const n=Ss(Be),o=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,ao=e=>e&&(e.disabled||e.disabled===""),hc=e=>e&&(e.defer||e.defer===""),vl=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,gl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ar=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},vc={name:"Teleport",__isTeleport:!0,process(e,t,n,o,s,r,l,i,a,c){const{mc:u,pc:d,pbc:h,o:{insert:m,querySelector:v,createText:p,createComment:b}}=c,g=ao(t.props);let{shapeFlag:x,children:C,dynamicChildren:_}=t;if(e==null){const A=t.el=p(""),O=t.anchor=p("");m(A,n,o),m(O,n,o);const M=(N,U)=>{x&16&&(s&&s.isCE&&(s.ce._teleportTarget=N),u(C,N,U,s,r,l,i,a))},H=()=>{const N=t.target=ar(t.props,v),U=Xi(N,t,p,m);N&&(l!=="svg"&&vl(N)?l="svg":l!=="mathml"&&gl(N)&&(l="mathml"),g||(M(N,U),jo(t,!1)))};g&&(M(n,O),jo(t,!0)),hc(t.props)?qe(H,r):H()}else{t.el=e.el,t.targetStart=e.targetStart;const A=t.anchor=e.anchor,O=t.target=e.target,M=t.targetAnchor=e.targetAnchor,H=ao(e.props),N=H?n:O,U=H?A:M;if(l==="svg"||vl(O)?l="svg":(l==="mathml"||gl(O))&&(l="mathml"),_?(h(e.dynamicChildren,_,N,s,r,l,i),Ur(e,t,!0)):a||d(e,t,N,U,s,r,l,i,!1),g)H?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Do(t,n,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=ar(t.props,v);q&&Do(t,q,null,c,0)}else H&&Do(t,O,M,c,1);jo(t,g)}},remove(e,t,n,{um:o,o:{remove:s}},r){const{shapeFlag:l,children:i,anchor:a,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(s(c),s(u)),r&&s(a),l&16){const m=r||!ao(h);for(let v=0;vn.value,set:r=>n.value=r})}return n}function ur(e,t,n,o,s=!1){if(Z(e)){e.forEach((v,p)=>ur(v,t&&(Z(t)?t[p]:t),n,o,s));return}if(Fn(o)&&!s)return;const r=o.shapeFlag&4?Ss(o.component):o.el,l=s?null:r,{i,r:a}=e,c=t&&t.r,u=i.refs===ge?i.refs={}:i.refs,d=i.setupState,h=de(d),m=d===ge?()=>!1:v=>pe(h,v);if(c!=null&&c!==a&&(Se(c)?(u[c]=null,m(c)&&(d[c]=null)):Me(c)&&(c.value=null)),te(a))Co(a,i,12,[l,u]);else{const v=Se(a),p=Me(a);if(v||p){const b=()=>{if(e.f){const g=v?m(a)?d[a]:u[a]:a.value;s?Z(g)&&Pr(g,r):Z(g)?g.includes(r)||g.push(r):v?(u[a]=[r],m(a)&&(d[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else v?(u[a]=l,m(a)&&(d[a]=l)):p&&(a.value=l,e.k&&(u[e.k]=l))};l?(b.id=-1,qe(b,n)):b()}}}ds().requestIdleCallback;ds().cancelIdleCallback;const Fn=e=>!!e.type.__asyncLoader,Qi=e=>e.type.__isKeepAlive;function yc(e,t){ea(e,"a",t)}function bc(e,t){ea(e,"da",t)}function ea(e,t,n=Le){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ws(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Qi(s.parent.vnode)&&wc(o,t,n,s),s=s.parent}}function wc(e,t,n,o){const s=ws(t,e,o,!0);Kn(()=>{Pr(o[t],s)},n)}function ws(e,t,n=Le,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...l)=>{sn();const i=Ao(n),a=Ct(t,n,e,l);return i(),rn(),a});return o?s.unshift(r):s.push(r),r}}const $t=e=>(t,n=Le)=>{(!go||e==="sp")&&ws(e,(...o)=>t(...o),n)},ta=$t("bm"),Ge=$t("m"),na=$t("bu"),oa=$t("u"),xs=$t("bum"),Kn=$t("um"),xc=$t("sp"),_c=$t("rtg"),Cc=$t("rtc");function Ac(e,t=Le){ws("ec",e,t)}const Ec="components",sa=Symbol.for("v-ndc");function Yo(e){return Se(e)?Sc(Ec,e,!1)||e:e||sa}function Sc(e,t,n=!0,o=!1){const s=Be||Le;if(s){const r=s.type;{const i=pd(r,!1);if(i&&(i===t||i===Xe(t)||i===cs(Xe(t))))return r}const l=bl(s[e]||r[e],t)||bl(s.appContext[e],t);return!l&&o?r:l}}function bl(e,t){return e&&(e[t]||e[Xe(t)]||e[cs(Xe(t))])}function _s(e,t,n,o){let s;const r=n,l=Z(e);if(l||Se(e)){const i=l&&kn(e);let a=!1;i&&(a=!it(e),e=hs(e)),s=new Array(e.length);for(let c=0,u=e.length;ct(i,a,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,c=i.length;aWn(t)?!(t.type===Ft||t.type===Ee&&!ra(t.children)):!0)?e:null}const cr=e=>e?Ca(e)?Ss(e):cr(e.parent):null,uo=Fe(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=>cr(e.parent),$root:e=>cr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Ye.bind(e.proxy)),$watch:e=>Xc.bind(e)}),Us=(e,t)=>e!==ge&&!e.__isScriptSetup&&pe(e,t),Tc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:l,type:i,appContext:a}=e;let c;if(t[0]!=="$"){const m=l[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Us(o,t))return l[t]=1,o[t];if(s!==ge&&pe(s,t))return l[t]=2,s[t];if((c=e.propsOptions[0])&&pe(c,t))return l[t]=3,r[t];if(n!==ge&&pe(n,t))return l[t]=4,n[t];fr&&(l[t]=0)}}const u=uo[t];let d,h;if(u)return t==="$attrs"&&Ve(e.attrs,"get",""),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==ge&&pe(n,t))return l[t]=4,n[t];if(h=a.config.globalProperties,pe(h,t))return h[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return Us(s,t)?(s[t]=n,!0):o!==ge&&pe(o,t)?(o[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},l){let i;return!!n[l]||e!==ge&&pe(e,l)||Us(t,l)||(i=r[0])&&pe(i,l)||pe(o,l)||pe(uo,l)||pe(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Oc(){return Pc().slots}function Pc(){const e=gt();return e.setupContext||(e.setupContext=Ea(e))}function dr(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Rc(e,t){const n=dr(e);for(const o in t){if(o.startsWith("__skip"))continue;let s=n[o];s?Z(s)||te(s)?s=n[o]={type:s,default:t[o]}:s.default=t[o]:s===null&&(s=n[o]={default:t[o]}),s&&t[`__skip_${o}`]&&(s.skipFactory=!0)}return n}let fr=!0;function Mc(e){const t=Vr(e),n=e.proxy,o=e.ctx;fr=!1,t.beforeCreate&&wl(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:l,watch:i,provide:a,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:m,updated:v,activated:p,deactivated:b,beforeDestroy:g,beforeUnmount:x,destroyed:C,unmounted:_,render:A,renderTracked:O,renderTriggered:M,errorCaptured:H,serverPrefetch:N,expose:U,inheritAttrs:q,components:G,directives:se,filters:fe}=t;if(c&&Dc(c,o,null),l)for(const ie in l){const ne=l[ie];te(ne)&&(o[ie]=ne.bind(n))}if(s){const ie=s.call(n,n);xe(ie)&&(e.data=_o(ie))}if(fr=!0,r)for(const ie in r){const ne=r[ie],Te=te(ne)?ne.bind(n,n):te(ne.get)?ne.get.bind(n,n):_t,ke=!te(ne)&&te(ne.set)?ne.set.bind(n):_t,ce=J({get:Te,set:ke});Object.defineProperty(o,ie,{enumerable:!0,configurable:!0,get:()=>ce.value,set:Je=>ce.value=Je})}if(i)for(const ie in i)la(i[ie],o,n,ie);if(a){const ie=te(a)?a.call(n):a;Reflect.ownKeys(ie).forEach(ne=>{$r(ne,ie[ne])})}u&&wl(u,e,"c");function le(ie,ne){Z(ne)?ne.forEach(Te=>ie(Te.bind(n))):ne&&ie(ne.bind(n))}if(le(ta,d),le(Ge,h),le(na,m),le(oa,v),le(yc,p),le(bc,b),le(Ac,H),le(Cc,O),le(_c,M),le(xs,x),le(Kn,_),le(xc,N),Z(U))if(U.length){const ie=e.exposed||(e.exposed={});U.forEach(ne=>{Object.defineProperty(ie,ne,{get:()=>n[ne],set:Te=>n[ne]=Te})})}else e.exposed||(e.exposed={});A&&e.render===_t&&(e.render=A),q!=null&&(e.inheritAttrs=q),G&&(e.components=G),se&&(e.directives=se),N&&Zi(e)}function Dc(e,t,n=_t){Z(e)&&(e=pr(e));for(const o in e){const s=e[o];let r;xe(s)?"default"in s?r=Nn(s.from||o,s.default,!0):r=Nn(s.from||o):r=Nn(s),Me(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function wl(e,t,n){Ct(Z(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function la(e,t,n,o){let s=o.includes(".")?ya(n,o):()=>n[o];if(Se(e)){const r=t[e];te(r)&&we(s,r)}else if(te(e))we(s,e.bind(n));else if(xe(e))if(Z(e))e.forEach(r=>la(r,t,n,o));else{const r=te(e.handler)?e.handler.bind(n):t[e.handler];te(r)&&we(s,r,e)}}function Vr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,i=r.get(t);let a;return i?a=i:!s.length&&!n&&!o?a=t:(a={},s.length&&s.forEach(c=>Xo(a,c,l,!0)),Xo(a,t,l)),xe(t)&&r.set(t,a),a}function Xo(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&Xo(e,r,n,!0),s&&s.forEach(l=>Xo(e,l,n,!0));for(const l in t)if(!(o&&l==="expose")){const i=Ic[l]||n&&n[l];e[l]=i?i(e[l],t[l]):t[l]}return e}const Ic={data:xl,props:_l,emits:_l,methods:so,computed:so,beforeCreate:We,created:We,beforeMount:We,mounted:We,beforeUpdate:We,updated:We,beforeDestroy:We,beforeUnmount:We,destroyed:We,unmounted:We,activated:We,deactivated:We,errorCaptured:We,serverPrefetch:We,components:so,directives:so,watch:Bc,provide:xl,inject:kc};function xl(e,t){return t?e?function(){return Fe(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function kc(e,t){return so(pr(e),pr(t))}function pr(e){if(Z(e)){const t={};for(let n=0;n1)return n&&te(t)?t.call(o&&o.proxy):t}}const aa={},ua=()=>Object.create(aa),ca=e=>Object.getPrototypeOf(e)===aa;function Nc(e,t,n,o=!1){const s={},r=ua();e.propsDefaults=Object.create(null),da(e,t,s,r);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=o?s:ec(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Vc(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:l}}=e,i=de(s),[a]=e.propsOptions;let c=!1;if((o||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[h,m]=fa(d,t,!0);Fe(l,h),m&&i.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return xe(e)&&o.set(e,Dn),Dn;if(Z(r))for(let u=0;ue[0]==="_"||e==="$stable",jr=e=>Z(e)?e.map(xt):[xt(e)],jc=(e,t,n)=>{if(t._n)return t;const o=T((...s)=>jr(t(...s)),n);return o._c=!1,o},ma=(e,t,n)=>{const o=e._ctx;for(const s in e){if(pa(s))continue;const r=e[s];if(te(r))t[s]=jc(s,r,o);else if(r!=null){const l=jr(r);t[s]=()=>l}}},ha=(e,t)=>{const n=jr(t);e.slots.default=()=>n},va=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Uc=(e,t,n)=>{const o=e.slots=ua();if(e.vnode.shapeFlag&32){const s=t._;s?(va(o,t,n),n&&yi(o,"_",s,!0)):ma(t,o)}else t&&ha(e,t)},Wc=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,l=ge;if(o.shapeFlag&32){const i=t._;i?n&&i===1?r=!1:va(s,t,n):(r=!t.$stable,ma(t,s)),l=t}else t&&(ha(e,t),l={default:1});if(r)for(const i in s)!pa(i)&&l[i]==null&&delete s[i]},qe=sd;function Hc(e){return zc(e)}function zc(e,t){const n=ds();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:l,createText:i,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:m=_t,insertStaticContent:v}=e,p=(y,w,E,D=null,P=null,R=null,z=void 0,W=null,V=!!w.dynamicChildren)=>{if(y===w)return;y&&!Qn(y,w)&&(D=lt(y),Je(y,P,R,!0),y=null),w.patchFlag===-2&&(V=!1,w.dynamicChildren=null);const{type:I,ref:Q,shapeFlag:K}=w;switch(I){case Es:b(y,w,E,D);break;case Ft:g(y,w,E,D);break;case zs:y==null&&x(w,E,D,z);break;case Ee:G(y,w,E,D,P,R,z,W,V);break;default:K&1?A(y,w,E,D,P,R,z,W,V):K&6?se(y,w,E,D,P,R,z,W,V):(K&64||K&128)&&I.process(y,w,E,D,P,R,z,W,V,Qe)}Q!=null&&P&&ur(Q,y&&y.ref,R,w||y,!w)},b=(y,w,E,D)=>{if(y==null)o(w.el=i(w.children),E,D);else{const P=w.el=y.el;w.children!==y.children&&c(P,w.children)}},g=(y,w,E,D)=>{y==null?o(w.el=a(w.children||""),E,D):w.el=y.el},x=(y,w,E,D)=>{[y.el,y.anchor]=v(y.children,w,E,D,y.el,y.anchor)},C=({el:y,anchor:w},E,D)=>{let P;for(;y&&y!==w;)P=h(y),o(y,E,D),y=P;o(w,E,D)},_=({el:y,anchor:w})=>{let E;for(;y&&y!==w;)E=h(y),s(y),y=E;s(w)},A=(y,w,E,D,P,R,z,W,V)=>{w.type==="svg"?z="svg":w.type==="math"&&(z="mathml"),y==null?O(w,E,D,P,R,z,W,V):N(y,w,P,R,z,W,V)},O=(y,w,E,D,P,R,z,W)=>{let V,I;const{props:Q,shapeFlag:K,transition:Y,dirs:ee}=y;if(V=y.el=l(y.type,R,Q&&Q.is,Q),K&8?u(V,y.children):K&16&&H(y.children,V,null,D,P,Ws(y,R),z,W),ee&&cn(y,null,D,"created"),M(V,y,y.scopeId,z,D),Q){for(const _e in Q)_e!=="value"&&!ro(_e)&&r(V,_e,null,Q[_e],R,D);"value"in Q&&r(V,"value",null,Q.value,R),(I=Q.onVnodeBeforeMount)&&bt(I,D,y)}ee&&cn(y,null,D,"beforeMount");const ae=Kc(P,Y);ae&&Y.beforeEnter(V),o(V,w,E),((I=Q&&Q.onVnodeMounted)||ae||ee)&&qe(()=>{I&&bt(I,D,y),ae&&Y.enter(V),ee&&cn(y,null,D,"mounted")},P)},M=(y,w,E,D,P)=>{if(E&&m(y,E),D)for(let R=0;R{for(let I=V;I{const W=w.el=y.el;let{patchFlag:V,dynamicChildren:I,dirs:Q}=w;V|=y.patchFlag&16;const K=y.props||ge,Y=w.props||ge;let ee;if(E&&dn(E,!1),(ee=Y.onVnodeBeforeUpdate)&&bt(ee,E,w,y),Q&&cn(w,y,E,"beforeUpdate"),E&&dn(E,!0),(K.innerHTML&&Y.innerHTML==null||K.textContent&&Y.textContent==null)&&u(W,""),I?U(y.dynamicChildren,I,W,E,D,Ws(w,P),R):z||ne(y,w,W,null,E,D,Ws(w,P),R,!1),V>0){if(V&16)q(W,K,Y,E,P);else if(V&2&&K.class!==Y.class&&r(W,"class",null,Y.class,P),V&4&&r(W,"style",K.style,Y.style,P),V&8){const ae=w.dynamicProps;for(let _e=0;_e{ee&&bt(ee,E,w,y),Q&&cn(w,y,E,"updated")},D)},U=(y,w,E,D,P,R,z)=>{for(let W=0;W{if(w!==E){if(w!==ge)for(const R in w)!ro(R)&&!(R in E)&&r(y,R,w[R],null,P,D);for(const R in E){if(ro(R))continue;const z=E[R],W=w[R];z!==W&&R!=="value"&&r(y,R,W,z,P,D)}"value"in E&&r(y,"value",w.value,E.value,P)}},G=(y,w,E,D,P,R,z,W,V)=>{const I=w.el=y?y.el:i(""),Q=w.anchor=y?y.anchor:i("");let{patchFlag:K,dynamicChildren:Y,slotScopeIds:ee}=w;ee&&(W=W?W.concat(ee):ee),y==null?(o(I,E,D),o(Q,E,D),H(w.children||[],E,Q,P,R,z,W,V)):K>0&&K&64&&Y&&y.dynamicChildren?(U(y.dynamicChildren,Y,E,P,R,z,W),(w.key!=null||P&&w===P.subTree)&&Ur(y,w,!0)):ne(y,w,E,Q,P,R,z,W,V)},se=(y,w,E,D,P,R,z,W,V)=>{w.slotScopeIds=W,y==null?w.shapeFlag&512?P.ctx.activate(w,E,D,z,V):fe(w,E,D,P,R,z,V):be(y,w,V)},fe=(y,w,E,D,P,R,z)=>{const W=y.component=ud(y,D,P);if(Qi(y)&&(W.ctx.renderer=Qe),cd(W,!1,z),W.asyncDep){if(P&&P.registerDep(W,le,z),!y.el){const V=W.subTree=F(Ft);g(null,V,w,E)}}else le(W,y,w,E,P,R,z)},be=(y,w,E)=>{const D=w.component=y.component;if(nd(y,w,E))if(D.asyncDep&&!D.asyncResolved){ie(D,w,E);return}else D.next=w,D.update();else w.el=y.el,D.vnode=w},le=(y,w,E,D,P,R,z)=>{const W=()=>{if(y.isMounted){let{next:K,bu:Y,u:ee,parent:ae,vnode:_e}=y;{const tt=ga(y);if(tt){K&&(K.el=_e.el,ie(y,K,z)),tt.asyncDep.then(()=>{y.isUnmounted||W()});return}}let he=K,et;dn(y,!1),K?(K.el=_e.el,ie(y,K,z)):K=_e,Y&&$o(Y),(et=K.props&&K.props.onVnodeBeforeUpdate)&&bt(et,ae,K,_e),dn(y,!0);const Ne=Hs(y),ut=y.subTree;y.subTree=Ne,p(ut,Ne,d(ut.el),lt(ut),y,P,R),K.el=Ne.el,he===null&&od(y,Ne.el),ee&&qe(ee,P),(et=K.props&&K.props.onVnodeUpdated)&&qe(()=>bt(et,ae,K,_e),P)}else{let K;const{el:Y,props:ee}=w,{bm:ae,m:_e,parent:he,root:et,type:Ne}=y,ut=Fn(w);if(dn(y,!1),ae&&$o(ae),!ut&&(K=ee&&ee.onVnodeBeforeMount)&&bt(K,he,w),dn(y,!0),Y&&Sn){const tt=()=>{y.subTree=Hs(y),Sn(Y,y.subTree,y,P,null)};ut&&Ne.__asyncHydrate?Ne.__asyncHydrate(Y,y,tt):tt()}else{et.ce&&et.ce._injectChildStyle(Ne);const tt=y.subTree=Hs(y);p(null,tt,E,D,y,P,R),w.el=tt.el}if(_e&&qe(_e,P),!ut&&(K=ee&&ee.onVnodeMounted)){const tt=w;qe(()=>bt(K,he,tt),P)}(w.shapeFlag&256||he&&Fn(he.vnode)&&he.vnode.shapeFlag&256)&&y.a&&qe(y.a,P),y.isMounted=!0,w=E=D=null}};y.scope.on();const V=y.effect=new Ai(W);y.scope.off();const I=y.update=V.run.bind(V),Q=y.job=V.runIfDirty.bind(V);Q.i=y,Q.id=y.uid,V.scheduler=()=>Lr(Q),dn(y,!0),I()},ie=(y,w,E)=>{w.component=y;const D=y.vnode.props;y.vnode=w,y.next=null,Vc(y,w.props,D,E),Wc(y,w.children,E),sn(),hl(y),rn()},ne=(y,w,E,D,P,R,z,W,V=!1)=>{const I=y&&y.children,Q=y?y.shapeFlag:0,K=w.children,{patchFlag:Y,shapeFlag:ee}=w;if(Y>0){if(Y&128){ke(I,K,E,D,P,R,z,W,V);return}else if(Y&256){Te(I,K,E,D,P,R,z,W,V);return}}ee&8?(Q&16&&un(I,P,R),K!==I&&u(E,K)):Q&16?ee&16?ke(I,K,E,D,P,R,z,W,V):un(I,P,R,!0):(Q&8&&u(E,""),ee&16&&H(K,E,D,P,R,z,W,V))},Te=(y,w,E,D,P,R,z,W,V)=>{y=y||Dn,w=w||Dn;const I=y.length,Q=w.length,K=Math.min(I,Q);let Y;for(Y=0;YQ?un(y,P,R,!0,!1,K):H(w,E,D,P,R,z,W,V,K)},ke=(y,w,E,D,P,R,z,W,V)=>{let I=0;const Q=w.length;let K=y.length-1,Y=Q-1;for(;I<=K&&I<=Y;){const ee=y[I],ae=w[I]=V?Jt(w[I]):xt(w[I]);if(Qn(ee,ae))p(ee,ae,E,null,P,R,z,W,V);else break;I++}for(;I<=K&&I<=Y;){const ee=y[K],ae=w[Y]=V?Jt(w[Y]):xt(w[Y]);if(Qn(ee,ae))p(ee,ae,E,null,P,R,z,W,V);else break;K--,Y--}if(I>K){if(I<=Y){const ee=Y+1,ae=eeY)for(;I<=K;)Je(y[I],P,R,!0),I++;else{const ee=I,ae=I,_e=new Map;for(I=ae;I<=Y;I++){const nt=w[I]=V?Jt(w[I]):xt(w[I]);nt.key!=null&&_e.set(nt.key,I)}let he,et=0;const Ne=Y-ae+1;let ut=!1,tt=0;const Yn=new Array(Ne);for(I=0;I=Ne){Je(nt,P,R,!0);continue}let yt;if(nt.key!=null)yt=_e.get(nt.key);else for(he=ae;he<=Y;he++)if(Yn[he-ae]===0&&Qn(nt,w[he])){yt=he;break}yt===void 0?Je(nt,P,R,!0):(Yn[yt-ae]=I+1,yt>=tt?tt=yt:ut=!0,p(nt,w[yt],E,null,P,R,z,W,V),et++)}const ll=ut?Gc(Yn):Dn;for(he=ll.length-1,I=Ne-1;I>=0;I--){const nt=ae+I,yt=w[nt],il=nt+1{const{el:R,type:z,transition:W,children:V,shapeFlag:I}=y;if(I&6){ce(y.component.subTree,w,E,D);return}if(I&128){y.suspense.move(w,E,D);return}if(I&64){z.move(y,w,E,Qe);return}if(z===Ee){o(R,w,E);for(let K=0;KW.enter(R),P);else{const{leave:K,delayLeave:Y,afterLeave:ee}=W,ae=()=>o(R,w,E),_e=()=>{K(R,()=>{ae(),ee&&ee()})};Y?Y(R,ae,_e):_e()}else o(R,w,E)},Je=(y,w,E,D=!1,P=!1)=>{const{type:R,props:z,ref:W,children:V,dynamicChildren:I,shapeFlag:Q,patchFlag:K,dirs:Y,cacheIndex:ee}=y;if(K===-2&&(P=!1),W!=null&&ur(W,null,E,y,!0),ee!=null&&(w.renderCache[ee]=void 0),Q&256){w.ctx.deactivate(y);return}const ae=Q&1&&Y,_e=!Fn(y);let he;if(_e&&(he=z&&z.onVnodeBeforeUnmount)&&bt(he,w,y),Q&6)An(y.component,E,D);else{if(Q&128){y.suspense.unmount(E,D);return}ae&&cn(y,null,w,"beforeUnmount"),Q&64?y.type.remove(y,w,E,Qe,D):I&&!I.hasOnce&&(R!==Ee||K>0&&K&64)?un(I,w,E,!1,!0):(R===Ee&&K&384||!P&&Q&16)&&un(V,w,E),D&&Cn(y)}(_e&&(he=z&&z.onVnodeUnmounted)||ae)&&qe(()=>{he&&bt(he,w,y),ae&&cn(y,null,w,"unmounted")},E)},Cn=y=>{const{type:w,el:E,anchor:D,transition:P}=y;if(w===Ee){Ls(E,D);return}if(w===zs){_(y);return}const R=()=>{s(E),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(y.shapeFlag&1&&P&&!P.persisted){const{leave:z,delayLeave:W}=P,V=()=>z(E,R);W?W(y.el,R,V):V()}else R()},Ls=(y,w)=>{let E;for(;y!==w;)E=h(y),s(y),y=E;s(w)},An=(y,w,E)=>{const{bum:D,scope:P,job:R,subTree:z,um:W,m:V,a:I}=y;Al(V),Al(I),D&&$o(D),P.stop(),R&&(R.flags|=8,Je(z,y,w,E)),W&&qe(W,w),qe(()=>{y.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},un=(y,w,E,D=!1,P=!1,R=0)=>{for(let z=R;z{if(y.shapeFlag&6)return lt(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const w=h(y.anchor||y.el),E=w&&w[Yi];return E?h(E):w};let Ze=!1;const Ut=(y,w,E)=>{y==null?w._vnode&&Je(w._vnode,null,null,!0):p(w._vnode||null,y,w,null,null,null,E),w._vnode=y,Ze||(Ze=!0,hl(),Gi(),Ze=!1)},Qe={p,um:Je,m:ce,r:Cn,mt:fe,mc:H,pc:ne,pbc:U,n:lt,o:e};let En,Sn;return{render:Ut,hydrate:En,createApp:Lc(Ut,En)}}function Ws({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 dn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const o=e.children,s=t.children;if(Z(o)&&Z(s))for(let r=0;r>1,e[n[i]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,l=n[r-1];r-- >0;)n[r]=l,l=t[l];return n}function ga(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ga(t)}function Al(e){if(e)for(let t=0;tNn(Jc);function Ue(e,t){return Cs(e,null,t)}function Yc(e,t){return Cs(e,null,{flush:"post"})}function we(e,t,n){return Cs(e,t,n)}function Cs(e,t,n=ge){const{immediate:o,deep:s,flush:r,once:l}=n,i=Fe({},n),a=t&&o||!t&&r!=="post";let c;if(go){if(r==="sync"){const m=qc();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=_t,m.resume=_t,m.pause=_t,m}}const u=Le;i.call=(m,v,p)=>Ct(m,u,v,p);let d=!1;r==="post"?i.scheduler=m=>{qe(m,u&&u.suspense)}:r!=="sync"&&(d=!0,i.scheduler=(m,v)=>{v?m():Lr(m)}),i.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const h=cc(e,t,i);return go&&(c?c.push(h):a&&h()),h}function Xc(e,t,n){const o=this.proxy,s=Se(e)?e.includes(".")?ya(o,e):()=>o[e]:e.bind(o,o);let r;te(t)?r=t:(r=t.handler,n=t);const l=Ao(this),i=Cs(s,r.bind(o),n);return l(),i}function ya(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xe(t)}Modifiers`]||e[`${nn(t)}Modifiers`];function Qc(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||ge;let s=n;const r=t.startsWith("update:"),l=r&&Zc(o,t.slice(7));l&&(l.trim&&(s=n.map(u=>Se(u)?u.trim():u)),l.number&&(s=n.map(zo)));let i,a=o[i=Vo(t)]||o[i=Vo(Xe(t))];!a&&r&&(a=o[i=Vo(nn(t))]),a&&Ct(a,e,6,s);const c=o[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,Ct(c,e,6,s)}}function ba(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let l={},i=!1;if(!te(e)){const a=c=>{const u=ba(c,t,!0);u&&(i=!0,Fe(l,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!i?(xe(e)&&o.set(e,null),null):(Z(r)?r.forEach(a=>l[a]=null):Fe(l,r),xe(e)&&o.set(e,l),l)}function As(e,t){return!e||!is(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,nn(t))||pe(e,t))}function Hs(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:l,attrs:i,emit:a,render:c,renderCache:u,props:d,data:h,setupState:m,ctx:v,inheritAttrs:p}=e,b=qo(e);let g,x;try{if(n.shapeFlag&4){const _=s||o,A=_;g=xt(c.call(A,_,u,d,m,h,v)),x=i}else{const _=t;g=xt(_.length>1?_(d,{attrs:i,slots:l,emit:a}):_(d,null)),x=t.props?i:ed(i)}}catch(_){co.length=0,ys(_,e,1),g=F(Ft)}let C=g;if(x&&p!==!1){const _=Object.keys(x),{shapeFlag:A}=C;_.length&&A&7&&(r&&_.some(Or)&&(x=td(x,r)),C=yn(C,x,!1,!0))}return n.dirs&&(C=yn(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Nr(C,n.transition),g=C,qo(b),g}const ed=e=>{let t;for(const n in e)(n==="class"||n==="style"||is(n))&&((t||(t={}))[n]=e[n]);return t},td=(e,t)=>{const n={};for(const o in e)(!Or(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function nd(e,t,n){const{props:o,children:s,component:r}=e,{props:l,children:i,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return o?El(o,l,c):!!l;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function sd(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):pc(e)}const Ee=Symbol.for("v-fgt"),Es=Symbol.for("v-txt"),Ft=Symbol.for("v-cmt"),zs=Symbol.for("v-stc"),co=[];let st=null;function S(e=!1){co.push(st=e?null:[])}function rd(){co.pop(),st=co[co.length-1]||null}let vo=1;function Sl(e){vo+=e,e<0&&st&&(st.hasOnce=!0)}function xa(e){return e.dynamicChildren=vo>0?st||Dn:null,rd(),vo>0&&st&&st.push(e),e}function ue(e,t,n,o,s,r){return xa(X(e,t,n,o,s,r,!0))}function L(e,t,n,o,s){return xa(F(e,t,n,o,s,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}const _a=({key:e})=>e!=null?e:null,Uo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Me(e)||te(e)?{i:Be,r:e,k:t,f:!!n}:e:null);function X(e,t=null,n=null,o=0,s=null,r=e===Ee?0:1,l=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_a(t),ref:t&&Uo(t),scopeId:qi,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:r,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return i?(Wr(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=Se(n)?8:16),vo>0&&!l&&st&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&st.push(a),a}const F=ld;function ld(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===sa)&&(e=Ft),Wn(e)){const i=yn(e,t,!0);return n&&Wr(i,n),vo>0&&!r&&st&&(i.shapeFlag&6?st[st.indexOf(e)]=i:st.push(i)),i.patchFlag=-2,i}if(md(e)&&(e=e.__vccOpts),t){t=vt(t);let{class:i,style:a}=t;i&&!Se(i)&&(t.class=Ie(i)),xe(a)&&(Br(a)&&!Z(a)&&(a=Fe({},a)),t.style=on(a))}const l=Se(e)?1:wa(e)?128:mc(e)?64:xe(e)?4:te(e)?2:0;return X(e,t,n,o,s,l,r,!0)}function vt(e){return e?Br(e)||ca(e)?Fe({},e):e:null}function yn(e,t,n=!1,o=!1){const{props:s,ref:r,patchFlag:l,children:i,transition:a}=e,c=t?oe(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_a(c),ref:t&&t.ref?n&&r?Z(r)?r.concat(Uo(t)):[r,Uo(t)]:Uo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yn(e.ssContent),ssFallback:e.ssFallback&&yn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&o&&Nr(u,a.clone(u)),u}function je(e=" ",t=0){return F(Es,null,e,t)}function De(e="",t=!1){return t?(S(),L(Ft,null,e)):F(Ft,null,e)}function xt(e){return e==null||typeof e=="boolean"?F(Ft):Z(e)?F(Ee,null,e.slice()):Wn(e)?Jt(e):F(Es,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yn(e)}function Wr(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Wr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ca(t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),o&64?(n=16,t=[je(t)]):n=8);e.children=t,e.shapeFlag|=n}function oe(...e){const t={};for(let n=0;nLe||Be;let Zo,hr;{const e=ds(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(l=>l(r)):s[0](r)}};Zo=t("__VUE_INSTANCE_SETTERS__",n=>Le=n),hr=t("__VUE_SSR_SETTERS__",n=>go=n)}const Ao=e=>{const t=Le;return Zo(e),e.scope.on(),()=>{e.scope.off(),Zo(t)}},Tl=()=>{Le&&Le.scope.off(),Zo(null)};function Ca(e){return e.vnode.shapeFlag&4}let go=!1;function cd(e,t=!1,n=!1){t&&hr(t);const{props:o,children:s}=e.vnode,r=Ca(e);Nc(e,o,r,t),Uc(e,s,n);const l=r?dd(e,t):void 0;return t&&hr(!1),l}function dd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tc);const{setup:o}=n;if(o){sn();const s=e.setupContext=o.length>1?Ea(e):null,r=Ao(e),l=Co(o,e,0,[e.props,s]),i=hi(l);if(rn(),r(),(i||e.sp)&&!Fn(e)&&Zi(e),i){if(l.then(Tl,Tl),t)return l.then(a=>{Ol(e,a,t)}).catch(a=>{ys(a,e,0)});e.asyncDep=l}else Ol(e,l,t)}else Aa(e,t)}function Ol(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xe(t)&&(e.setupState=ji(t)),Aa(e,n)}let Pl;function Aa(e,t,n){const o=e.type;if(!e.render){if(!t&&Pl&&!o.render){const s=o.template||Vr(e).template;if(s){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,c=Fe(Fe({isCustomElement:r,delimiters:i},l),a);o.render=Pl(s,c)}}e.render=o.render||_t}{const s=Ao(e);sn();try{Mc(e)}finally{rn(),s()}}}const fd={get(e,t){return Ve(e,"get",""),e[t]}};function Ea(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,fd),slots:e.slots,emit:e.emit,expose:t}}function Ss(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(tc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in uo)return uo[n](e)},has(t,n){return n in t||n in uo}})):e.proxy}function pd(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function md(e){return te(e)&&"__vccOpts"in e}const J=(e,t)=>ac(e,t,go);function Yt(e,t,n){const o=arguments.length;return o===2?xe(t)&&!Z(t)?Wn(t)?F(e,null,[t]):F(e,t):F(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Wn(n)&&(n=[n]),F(e,t,n))}const hd="3.5.12";/** +* @vue/runtime-dom v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let vr;const Rl=typeof window!="undefined"&&window.trustedTypes;if(Rl)try{vr=Rl.createPolicy("vue",{createHTML:e=>e})}catch(e){}const Sa=vr?e=>vr.createHTML(e):e=>e,vd="http://www.w3.org/2000/svg",gd="http://www.w3.org/1998/Math/MathML",Mt=typeof document!="undefined"?document:null,Ml=Mt&&Mt.createElement("template"),yd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Mt.createElementNS(vd,e):t==="mathml"?Mt.createElementNS(gd,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const l=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Ml.innerHTML=Sa(o==="svg"?`${e}`:o==="mathml"?`${e}`:e);const i=Ml.content;if(o==="svg"||o==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bd=Symbol("_vtc");function wd(e,t,n){const o=e[bd];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qo=Symbol("_vod"),Ta=Symbol("_vsh"),eo={beforeMount(e,{value:t},{transition:n}){e[Qo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):to(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),to(e,!0),o.enter(e)):o.leave(e,()=>{to(e,!1)}):to(e,t))},beforeUnmount(e,{value:t}){to(e,t)}};function to(e,t){e.style.display=t?e[Qo]:"none",e[Ta]=!t}const xd=Symbol(""),_d=/(^|;)\s*display\s*:/;function Cd(e,t,n){const o=e.style,s=Se(n);let r=!1;if(n&&!s){if(t)if(Se(t))for(const l of t.split(";")){const i=l.slice(0,l.indexOf(":")).trim();n[i]==null&&Wo(o,i,"")}else for(const l in t)n[l]==null&&Wo(o,l,"");for(const l in n)l==="display"&&(r=!0),Wo(o,l,n[l])}else if(s){if(t!==n){const l=o[xd];l&&(n+=";"+l),o.cssText=n,r=_d.test(n)}}else t&&e.removeAttribute("style");Qo in e&&(e[Qo]=r?o.display:"",e[Ta]&&(o.display="none"))}const Dl=/\s*!important$/;function Wo(e,t,n){if(Z(n))n.forEach(o=>Wo(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Ad(e,t);Dl.test(n)?e.setProperty(nn(o),n.replace(Dl,""),"important"):e[o]=n}}const Il=["Webkit","Moz","ms"],Ks={};function Ad(e,t){const n=Ks[t];if(n)return n;let o=Xe(t);if(o!=="filter"&&o in e)return Ks[t]=o;o=cs(o);for(let s=0;sGs||(Od.then(()=>Gs=0),Gs=Date.now());function Rd(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Ct(Md(o,n.value),t,5,[o])};return n.value=e,n.attached=Pd(),n}function Md(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const Vl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dd=(e,t,n,o,s,r)=>{const l=s==="svg";t==="class"?wd(e,o,l):t==="style"?Cd(e,n,o):is(t)?Or(t)||Sd(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Id(e,t,o,l))?(Fl(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Bl(e,t,o,l,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(o))?Fl(e,Xe(t),o,r,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Bl(e,t,o,l))};function Id(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vl(t)&&te(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Vl(t)&&Se(n)?!1:t in e}const es=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>$o(t,n):t};function kd(e){e.target.composing=!0}function $l(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vn=Symbol("_assign"),Bd={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Vn]=es(s);const r=o||s.props&&s.props.type==="number";mn(e,t?"change":"input",l=>{if(l.target.composing)return;let i=e.value;n&&(i=i.trim()),r&&(i=zo(i)),e[Vn](i)}),n&&mn(e,"change",()=>{e.value=e.value.trim()}),t||(mn(e,"compositionstart",kd),mn(e,"compositionend",$l),mn(e,"change",$l))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:s,number:r}},l){if(e[Vn]=es(l),e.composing)return;const i=(r||e.type==="number")&&!/^0\d/.test(e.value)?zo(e.value):e.value,a=t==null?"":t;i!==a&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||s&&e.value.trim()===a)||(e.value=a))}},Fd={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=as(t);mn(e,"change",()=>{const r=Array.prototype.filter.call(e.options,l=>l.selected).map(l=>n?zo(ts(l)):ts(l));e[Vn](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,Ye(()=>{e._assigning=!1})}),e[Vn]=es(o)},mounted(e,{value:t}){jl(e,t)},beforeUpdate(e,t,n){e[Vn]=es(n)},updated(e,{value:t}){e._assigning||jl(e,t)}};function jl(e,t){const n=e.multiple,o=Z(t);if(!(n&&!o&&!as(t))){for(let s=0,r=e.options.length;sString(c)===String(i)):l.selected=ku(t,i)>-1}else l.selected=t.has(i);else if(fs(ts(l),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ts(e){return"_value"in e?e._value:e.value}const Ld=["ctrl","shift","alt","meta"],Nd={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)=>Ld.some(n=>e[`${n}Key`]&&!t.includes(n))},vn=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(s,...r)=>{for(let l=0;l{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=s=>{if(!("key"in s))return;const r=nn(s.key);if(t.some(l=>l===r||Vd[l]===r))return e(s)})},jd=Fe({patchProp:Dd},yd);let Ul;function Ud(){return Ul||(Ul=Hc(jd))}const Wd=(...e)=>{const t=Ud().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=zd(o);if(!s)return;const r=t._component;!te(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const l=n(s,!1,Hd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t};function Hd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zd(e){return Se(e)?document.querySelector(e):e}function ns(e){return ps()?(Mr(e),!0):!1}function Hr(e){return typeof e=="function"?e():f(e)}const $n=typeof window!="undefined"&&typeof document!="undefined",Kd=typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope,Gd=e=>typeof e!="undefined",Jd=Object.prototype.toString,qd=e=>Jd.call(e)==="[object Object]",Oa=()=>{};function Yd(...e){if(e.length!==1)return Wi(...e);const t=e[0];return typeof t=="function"?zn(Ui(()=>({get:t,set:Oa}))):B(t)}function Xd(e,t=1e3,n={}){const{immediate:o=!0,immediateCallback:s=!1}=n;let r=null;const l=B(!1);function i(){r&&(clearInterval(r),r=null)}function a(){l.value=!1,i()}function c(){const u=Hr(t);u<=0||(l.value=!0,s&&e(),i(),r=setInterval(e,u))}if(o&&$n&&c(),Me(t)||typeof t=="function"){const u=we(t,()=>{l.value&&$n&&c()});ns(u)}return ns(a),{isActive:l,pause:a,resume:c}}const Zd=$n?window:void 0;function Qd(e){var t;const n=Hr(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ef(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=Zd):[t,n,o,s]=e,!t)return Oa;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(u=>u()),r.length=0},i=(u,d,h,m)=>(u.addEventListener(d,h,m),()=>u.removeEventListener(d,h,m)),a=we(()=>[Qd(t),Hr(s)],([u,d])=>{if(l(),!u)return;const h=qd(d)?$({},d):d;r.push(...n.flatMap(m=>o.map(v=>i(u,m,v,h))))},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return ns(c),c}function tf(e){return JSON.parse(JSON.stringify(e))}function nf(e,t,n,o={}){var s,r,l;const{clone:i=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:h}=o,m=gt(),v=n||(m==null?void 0:m.emit)||((s=m==null?void 0:m.$emit)==null?void 0:s.bind(m))||((l=(r=m==null?void 0:m.proxy)==null?void 0:r.$emit)==null?void 0:l.bind(m==null?void 0:m.proxy));let p=c;p=p||`update:${t.toString()}`;const b=C=>i?typeof i=="function"?i(C):tf(C):C,g=()=>Gd(e[t])?b(e[t]):d,x=C=>{h?h(C)&&v(p,C):v(p,C)};if(a){const C=g(),_=B(C);let A=!1;return we(()=>e[t],O=>{A||(A=!0,_.value=b(O),Ye(()=>A=!1))}),we(_,O=>{!A&&(O!==e[t]||u)&&x(O)},{deep:u}),_}else return J({get(){return g()},set(C){x(C)}})}const Wl="ping";function Js(e){return e===!0?{}:e}function of(e,t={}){const{onConnected:n,onDisconnected:o,onError:s,onMessage:r,immediate:l=!0,autoClose:i=!0,protocols:a=[]}=t,c=B(null),u=B("CLOSED"),d=B(),h=Yd(e);let m,v,p=!1,b=0,g=[],x;const C=()=>{if(g.length&&d.value&&u.value==="OPEN"){for(const N of g)d.value.send(N);g=[]}},_=()=>{clearTimeout(x),x=void 0},A=(N=1e3,U)=>{!$n||!d.value||(p=!0,_(),m==null||m(),d.value.close(N,U),d.value=void 0)},O=(N,U=!0)=>!d.value||u.value!=="OPEN"?(U&&g.push(N),!1):(C(),d.value.send(N),!0),M=()=>{if(p||typeof h.value=="undefined")return;const N=new WebSocket(h.value,a);d.value=N,u.value="CONNECTING",N.onopen=()=>{u.value="OPEN",b=0,n==null||n(N),v==null||v(),C()},N.onclose=U=>{if(u.value="CLOSED",o==null||o(N,U),!p&&t.autoReconnect&&N===d.value){const{retries:q=-1,delay:G=1e3,onFailed:se}=Js(t.autoReconnect);typeof q=="number"&&(q<0||b{s==null||s(N,U)},N.onmessage=U=>{if(t.heartbeat){_();const{message:q=Wl,responseMessage:G=q}=Js(t.heartbeat);if(U.data===G)return}c.value=U.data,r==null||r(N,U)}};if(t.heartbeat){const{message:N=Wl,interval:U=1e3,pongTimeout:q=1e3}=Js(t.heartbeat),{pause:G,resume:se}=Xd(()=>{O(N,!1),x==null&&(x=setTimeout(()=>{A(),p=!1},q))},U,{immediate:!1});m=G,v=se}i&&($n&&ef("beforeunload",()=>A()),ns(A));const H=()=>{!$n&&!Kd||(A(),p=!1,b=0,M())};return l&&H(),we(h,H),{data:c,status:u,close:A,send:O,open:H,ws:d}}const sf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALYAAACCCAYAAADrGzK/AAAAAXNSR0IArs4c6QAAFC5JREFUeF7tXQm0XdMZ/nZEBkFkboQMSkyZDJEERdoaiiQ0aRAtbbUeSqtdqnOptgStToqkKsRMaq6iktAgFG0QESFJUUME8RpEprd7v3PPS849d+9z9zn33nfv2/n/tbKy1rt7/PZ39vn3P+yjICIIeIiA8nBOMiVBAEJsIYGXCAixvVxWmZQQWzjgJQJCbC+XVSYlxBYOeImAENvLZZVJCbGFA14iIMT2clllUkJs4YCXCAixvVxWmZQQWzjgJQJCbC+XVSYlxBYOeImAENvLZZVJCbGFA14iIMT2clllUkJs4YCXCAixvVxWmZQQWzjgJQJCbC+XVSYlxBYOeImAELsGy6qvQg/1VSyvQdc17VJPQwd0QpOaiDXVHogQu9oIh+3rK7EHmvAFAEdAYycAHVuo6/rqRuFxaDwEjbvUKZhbrcEJsauFbKRdPQXfBIJ/n2yB7lpLF88BmKoacGk1BizErgaqUVJPxWnQuARA+yp31VqbP6Ma5BZiV5EO+nIchDa4UnbqRJCfg0ZDpdUSIXY1iT0FFwD4fhW78KXpyaoBP6jkZITYlUQz1paeitm5g9JBVezCj6YVHlcnY1QlJyPEriSacWJPwUebrPUjJa6qobL3SAqxUy5AmuJ6CnSa8ptyWSF2K1p9Ibb7Ygmx3bGqeUkhtvsSCLHdsap5SSG2+xIIsd2xqnlJIbb7Egix3bGqeUkhtvsSCLHdsap5SSG2+xIIsd2xqnlJIbb7Egix3bGqZsnxQfgp8DMAr9g6EmK7L8GmROytAewBYE8A2wPoGf5jkPr7AFYAeAfAUgALADzlDmPmkscD+CGA3SIt/AjA+aYWhdjuOG8KxB4JBAExY91hCUp+AOC2HNFPTFnPpfgpAM4GMMBQ+EEABwuxXWC0l/GZ2J0B3ADg8PIgwg7hLl5mMxuqfw3AnxIaY/TehULs8uD2ldjMLLkHwC7lwRPUPrkEEdN28QsAVDdssk9O335SiJ0W1sLyPhK7f6gfdysPmg21bwFwTIXaYjPXAaBubZK1ADoAaBJil4e4j8SeB2CoBZZbAUwD8AiAbYAgCfbrAI5NgPE9AJV6SNjNTACftvT37/Bwa/xZDo/uZPeN2NcAOMEy/e8C+JXlN+rRNLV90fL7XrnD57/cYU0sSfIOs5S4NmH8EGK7r4BPxD4QwEOWqdN0N9wBlsEAfp9rJ56l8o2cafAyh/ouRWhOpLpkEqupj4WF2C7w5sv4ROwHbGayUKelhcRVqJ5wd6ftm6bCya4VHcq9m3t4ulrKHZ3bze+wtSHEdkA3LOILsel0eTph2t0BkFBppF9IQKoOlZSk9C6+MeYLscuH2xdifzu3u/KuDZOsArBF+VBVrAV6Oje3tMZxcrxGkR3bfQ18ITav+qJZziQvh9YPd1SqW9KWt1jS+iLEdl8YX4i9t82pAWB2gnktilQvAMvcoctc0kbsZxKsJUFnQmx3zH0hNkn5lmXaM4Dg8sYkacipB78MI+vOCb2W7iimK2kjtjVGpLn5Fid2t6HAdocBb8wGlv8z3SxdS6s2QM8RQOeBwFYDoLfsF/yPrfoDnbaDeugE4OU05/58x74QO9jQLFjeBOA4w2/7h6GiE4EgHiQqj4du71mu6+NQbmA4jnNTjnND8RYhdo/hwIDx0DtMALaKwPLiVVBzzwTWMjasTGnbEehzCPQO44HtjwDad7E3+NYcqLtpyU0nPhGbYaf0Jsal2enBm4EOyHn+PpVTT4jUlg5QPQyANuznHcraivQBcB6Ar5Zo44+5sNnTk8pUldh9j4Te+zygm813lPPPLrwSag5DZzJK54HQe/4U4EPTpp1zI+rGAcAH1jB1YzutkdiMpbg7NN8tisRVfAfAVoZZMsaaJGa9LMLY6KSgpaQ2vwLgKsdOaStPvG+uKsTuORJ6n8lAbz7zpUXd82ngTZsfzFK/Ux/ovc4FBn4FoOqRRhZdDfVwqT2huMHWSGzuvI+lwabMsr/LJSKcmbKNTgCmJAQ7mZqjS9+mpgTlK0psEmz4+dBDGRaeQpbcAjUzKbQm1taACdAHXQ20zWBxff1BqPuOAJoYG5ZOWiOxqW5Q7WgpmQqAh0tXYWAV3yg7u1YIyyW60ytK7HbbQH/2FqDPZ1MOMZfvs+Z/UNO7AXp9ct2sD05zqyvmQ921f9BfFmmNxOY878p5GsdkmXCGOowGdH0XMv57DgB6Ok1Cyw09oLsbfjwrp0r9Oml8FdmxN98SeswcgBaPjKJu2RVofNFeu30X6M/cnO3BaW515VKoGUOAdR9mGmVrJTYDmiplf6IOzqO+LTCJOvJJDuhyp2Y4LHMpTcKsmJ+H+Yz8zEZceEb4TVWJ3aYt9GH3mgm3/mOoBZcDi64BPnwtkZiBleItPr8G2aw99NhHgO4MiEyQ1Sugnr8UePUe4P2F0OOfyZv4IqL+dV4uUCJRO7N20FqJzQlx1zsMwH4A9gVAW3YpWRnaql8Id1aa82jx4FGfOrFJ/hB+7yWpbZryaEH5hKEQ+6Qd/f7wN6oczKKJy/dyrv+LqklsPXo6sKMhMrfxRaj7jyrchUf+GnowIxWKRd26O/A+ISwWfeA0YGBCmuj61VDPXAg8d0mhmtH7AOgjY4fStSuhrt8OWEsI00lrJnZ8prTim+zVjNK7ORfnvCRHULqtTcKrD5hKZpJS1gpaW561uO3/Gz58UXOhLeeRjiGaBa1Slioy6FvQowwvhPdfgLpjZBF59LjHgJ7Mg47J209A3Wm5U32306D3S/i20aplUPePBZYbM9+gx/wD+ATdCxtFPfljYJ4xaT+R6T4R25Zyxd2S3sckGZEjIJ0yJvlx6JW01eeObrI/84DL6x7iBljbQ0TPJ/uqPLE7dIc+djGwecwayt3z9uHAilhAYb8x0IfcaRyHeuRU4AXDy61jT+jjXgE2s3zzqfElqHtGAx+9YZ/gsB9CD4+9zN6dB3UbgzfTyaZAbKZhMV4kSajW2MJFaeqjyc8kbJupXiZhsgLVk7jYzgd8szDLp+LE1vv9Edjt1KJ21bwLgCdjJnq6tY9+yuwNXPE81O17A+tXF49xnwugh1KbMsi6D6Fu2wtopNshQXqNgh77aPE4p/cAVqeLOvaJ2DdachfpSmOAUZIwq51RgCZh0gG/1GWSxQZ3PMudkbOM2N7JVDlMJ6KSunwmVYQ76aT/Am3axsavoW7oC3z4+sa/d94Z+nP35mM14rJuFdRtw4DGl4p/oxVk0qtAW5rvi0XNPAZYwnTTEtK+K/QJPMsXinrwC8DSv5SqXfC7T8Rm2Kop2Im3PlHXTZK+CVeL8aId2qXjwi3QlC72BACDcrqh+qvhTVTx9qaXupwnE7GHnAU9wnAmXfoXBIRpln5joUdfW6yuBL9rqJnHAUsskcE7nwR9gOWqlJVLoG6iwcjtKyMBsdsXJhgpvlX4dkkhPhGbj/TnDXPnp5g/LoFJ75xlxKb8mbJa2CZzF02WmCNz+ZV/tfSXpLrcGwZlWYeahdj6mEXA1jsW74JzTgEWTg1Mf3qvc4BeNC4ZpGlN/gF4xfRs58vrg2cA/U3QA+qJs4FnbTnUxf0FZr+uhHyjqHmTgSd5E5y7+ERsnnbi15gxW8XlC7bc1bmTmoRWj7hSadut6YDhQ2KT6wFMsvxIuzwPsZUjdtfBefuwSV68Cui+Z3LQ05rGvEt72WNAhx7Q+/0hcJgoqhWv3ZdvVW0G/eVGq8s8OPi9yxsx3ESPnVP8kD1/KdRjJtO/vU2fiE2kD41NlQrkdg6Q2nTsty27Mu1VTG6ICzPcv2Xpj4FYyxOCsWiOTPw2euodO0lFKAXKG7OgHj5pQ1SdHjc3Hzcdinr0dGDBZQD18olmm3bAe7rfV7tHQOhD7wL68qUXkQWXQz3KIEt38YnYtEDEQ9RoX3bxHe8a3rAaR86kL/M9yXZNwthu2ymp1NVmjZaw2w39pCW23v9yYNc0YS4A/vcyAo/fS7SehrL94dCHFZr51UMnAi9dC2w7GvoIi2GIB85p5gOljaL6yFlA78LbLzZ1VYQk5L13UaFn8TMOz7kty52qQ9xVd3HOBc+4DpPwITKRnp7JhOCKDU0lngdSE5uE23a0w/TpunoOirows1WiAU5tNoeeMB/ozANgKB+8AnXzTkDTOmDHSdCjIw9BtLcsxJ70GtCJIewbJa2ezpo+7dj07kXvmeb8eKCc4LCyDHP7u6GcKeKOjhybLkwPiCnFJOlas2i3fHMstO5mKT9gGhCySxySSOu0Ry+dAbXwT8Cb/zB3O+ib0KN+W0i0R88AFjAvgjGMCRaRtKpIl0HQE4r3BfXgBGApb3R2F5+ITR01boB1DTkl+U0qxCExwvMgab0eIYzqi3sSGBn459iSvJmLF6FhuUfs77zy+G8VI/aXlgWHviJhwNNTPwVeuCI51avbsHxAUzSW+uPlUDf2B9aFMDDzhnqxRdSMwcAKxwQkxocP4y3KhbKpZNDYMCRZ4kFIJYP3w8YYvWdywtCgGj350CbGCD6bMIgi6pqnDczkWaDiywAu3vwUFVpbrqgYsU9cAbTjNeHFouZ+B5hfuBMXlGLWy1H/BLYoNPKo6G7NCj32zpezEXvut4H5NsdtpFLHXtDHLgGYDxmV1e9BTbdFAdsXwqcdm1tIPP2LqVlXJxCx+ScaSRmrERXTfSQMW0tqj4FYzVcE0/RoCrigrs24bZMHkvHYNv09dQaNHj8P6DrEPH3GbtAUZ4p37jY0H7bKzPGovPds3jUe1cE7bQ89KSEfsXERgvjtEg4afdA1wE5fKh7r4pugZtkspP4Tm4l0ppQOnpxcEvSoMJ4Wg4ku+jiiNOUlbHNBC7ybhGa9QRbYGQRFZ8w4wz19iWeC1IfHQ24H+rEbi7w+E4F1ozkwqd3WwO5nQO95jsEFj3y2eFEctoI+/jVgi23tu/as44DFDLC0iEUFYWl1/xjgVZu/y39iU5GkzTku1Ln/47Bjm5w7phtWmWybPoZy4wCiVhqTU4j3D5rs40ELqYnNMNVBNrN6OKimNXlXefvu+QSEopiSsNzLN0DNttyyPOoS6EEJaaFNa6EeGLfRqdOMB3f7kRcDO9BKapDV70Jd1ztvfUkpvqgi9BnHo3MYnMAcfxdUeM1wPOXDZKEwHQRdIae1hFGEUQ8nv1YWVYJ5YSUtK5X5osGgM6FH2a40dB02bduL81F9a2hqNwgz3Rm/nSg674Gk9WWzDsCWfcMHyXaNIaAePyufkJBBfCE27de0Y0eFip8t3SsOFVM0oveM2DyONrOgC/SmGBKqJJ+LVaYKYzQjpN2xmWqlJy6y78Iuo6Yt+o59Slo2SpoWXfqKljHp8yna8IXYNJPFFTF6IuMXuJug4ZGbOnFUTI4Z/s7dlOY8+zZjBp+haaYoHmbM/CRWhV9k4CU/RZKa2FRf9v1doDdnFWcbco/h0EfF95aMvTLw6s59gXeyf0TCF2KbrBX8bMeXHaBlLlI8M5XpW3Hbc3NTtvBYW1cMbbUFOtDkF7db83BqTDbMQuwgeCnInnG5+KpwCqo5AtABxKDIiAuhhyTmSji15PwwJbTmC7GZ4R2/usDVhm3Sm5MOnSZrhg3iUuleZFs8U5UPmfFapkzE5sj6HAx96J153dZFmtZBzT7eLTkg2h4j/Q78M7CT7TNAJTrX6/O3PjEGpUzxhdhMuI3nJbnasOnqikax0y5V6qojehyS4ijpLKKZwHZnd3TZ4i56HjJNV7WltooUcIMHPCYSbJ0YQBgc8IJIumVzs1NrxEXQQ6zmeHO71OVnTsxk2jM16AuxTV8Lc7VhM7qHKSbUm5nF4kJGYsl3LpN4mX3TLDQtUj+nSZAWDhehrStu5I17PIN2Mu/YzaPgjr3L16EHn1mY/rXuI+Cdp6HoIUwZk2GdYL9x+QSGpEsumyvzYXrkNOBtWz61C4yFZXwhtunDSq427PSoFdagOkEzHjNV3QOPC9vgw0W9mh5JJh7zYp0iKZvY0RY79gJ4F/XH7wArGWZTJel9IHT/o4Gug4AuuwPttskn5rLfFQvyl/TYLt8pY0i+EDse2ZfGhl0GfC1btaLEbtmht3hvvhCbngN+uq5Z0tiwWxz0rB0Ksd2R84HYJsuCqw3bHak6KCnEdl8EH4hNlzRd081ClzUPZBXyFriDWe2SQmx3hH0gNmdLVzcdLbwSgRaGUtctuCNURyWF2O6L4Qux3WfciksKsd0XT4jtjlXNSwqx3ZdAiO2OVc1LCrHdl0CI7Y5VzUsKsd2XQIjtjlXNSwqx3ZdAiO2OVc1LCrHdl0CI7Y5VzUsKsd2XQIjtjlVNS+pp6IA1gZ3e9AGnmo6tDjtfpRqQ4Yup9pmoOpykN0PSUzEXOvFSeW/mWtZEFJ5VJztdRurcjRDbGar0BfUVOB8q+Xvr6Vv1ssZk1VBZnITYVeSJvgKjoMDbGUUdsePM7wJNVA3InglsaFuIXUVis2k9Bafnbgs7FwrdqtxVa2yeX544WzWAF/BXVITYFYXT3FhAboBXHMvOvRGixVC4RJ1s/OBV2asixC4bQrcGArUEGIM2GA0dXAy0KZJ8FVQQnjwX6/GAOtXpnkY3gGOlhNiZYJNK9Y6AELveV0jGlwkBIXYm2KRSvSMgxK73FZLxZUJAiJ0JNqlU7wgIset9hWR8mRAQYmeCTSrVOwJC7HpfIRlfJgSE2Jlgk0r1joAQu95XSMaXCQEhdibYpFK9IyDErvcVkvFlQkCInQk2qVTvCAix632FZHyZEBBiZ4JNKtU7AkLsel8hGV8mBITYmWCTSvWOgBC73ldIxpcJASF2JtikUr0jIMSu9xWS8WVCQIidCTapVO8ICLHrfYVkfJkQEGJngk0q1TsCQux6XyEZXyYEhNiZYJNK9Y7A/wE0Ze6/rLg5wQAAAABJRU5ErkJggg==",rf="data:image/svg+xml,%3csvg%20t='1706169231734'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7171'%20width='200'%20height='200'%3e%3cpath%20d='M948.313043%20442.991304l-369.530435%200%200-369.530435c0-37.843478-31.165217-69.008696-69.008696-69.008696-37.843478%200-69.008696%2031.165217-69.008696%2069.008696l0%20369.530435-369.530435%200c-37.843478%200-69.008696%2031.165217-69.008696%2069.008696%200%2037.843478%2031.165217%2069.008696%2069.008696%2069.008696l369.530435%200%200%20369.530435c0%2037.843478%2031.165217%2069.008696%2069.008696%2069.008696%2037.843478%200%2069.008696-31.165217%2069.008696-69.008696l0-369.530435%20369.530435%200c37.843478%200%2069.008696-31.165217%2069.008696-69.008696C1017.321739%20474.156522%20988.382609%20442.991304%20948.313043%20442.991304z'%20fill='%23515151'%20p-id='7172'%3e%3c/path%3e%3c/svg%3e",lf={class:"mt-[12px] flex items-center justify-between px-[12px] md:px-[24px]"},af={class:"flex items-center gap-4"},uf=["src"],cf={class:"flex items-center gap-[12px]"},df=["src"],ff=k({__name:"NavBar",emits:["add-stream-config"],setup(e,{emit:t}){const n=t;return(o,s)=>(S(),ue("div",lf,[X("div",af,[X("img",{class:"w-[64px] cursor-pointer select-none",src:f(sf),alt:""},null,8,uf)]),X("div",cf,[X("img",{class:"w-[22px] h-[22px] cursor-pointer select-none ml-6",src:f(rf),alt:"",onClick:s[0]||(s[0]=r=>n("add-stream-config"))},null,8,df)])]))}});function Pa(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t{const t=vf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:l=>{const i=l.split(zr);return i[0]===""&&i.length!==1&&i.shift(),Ra(i,t)||hf(l)},getConflictingClassGroupIds:(l,i)=>{const a=n[l]||[];return i&&o[l]?[...a,...o[l]]:a}}},Ra=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),s=o?Ra(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;const r=e.join(zr);return(l=t.validators.find(({validator:i})=>i(r)))==null?void 0:l.classGroupId},Hl=/^\[(.+)\]$/,hf=e=>{if(Hl.test(e)){const t=Hl.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vf=e=>{const{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return yf(Object.entries(e.classGroups),n).forEach(([r,l])=>{gr(l,o,r,t)}),o},gr=(e,t,n,o)=>{e.forEach(s=>{if(typeof s=="string"){const r=s===""?t:zl(t,s);r.classGroupId=n;return}if(typeof s=="function"){if(gf(s)){gr(s(o),t,n,o);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([r,l])=>{gr(l,zl(t,r),n,o)})})},zl=(e,t)=>{let n=e;return t.split(zr).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},gf=e=>e.isThemeGetter,yf=(e,t)=>t?e.map(([n,o])=>{const s=o.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([l,i])=>[t+l,i])):r);return[n,s]}):e,bf=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const s=(r,l)=>{n.set(r,l),t++,t>e&&(t=0,o=n,n=new Map)};return{get(r){let l=n.get(r);if(l!==void 0)return l;if((l=o.get(r))!==void 0)return s(r,l),l},set(r,l){n.has(r)?n.set(r,l):s(r,l)}}},Ma="!",wf=e=>{const{separator:t,experimentalParseClassName:n}=e,o=t.length===1,s=t[0],r=t.length,l=i=>{const a=[];let c=0,u=0,d;for(let b=0;bu?d-u:void 0;return{modifiers:a,hasImportantModifier:m,baseClassName:v,maybePostfixModifierPosition:p}};return n?i=>n({className:i,parseClassName:l}):l},xf=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(o=>{o[0]==="["?(t.push(...n.sort(),o),n=[]):n.push(o)}),t.push(...n.sort()),t},_f=e=>$({cache:bf(e.cacheSize),parseClassName:wf(e)},mf(e)),Cf=/\s+/,Af=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:s}=t,r=[],l=e.trim().split(Cf);let i="";for(let a=l.length-1;a>=0;a-=1){const c=l[a],{modifiers:u,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:m}=n(c);let v=!!m,p=o(v?h.substring(0,m):h);if(!p){if(!v){i=c+(i.length>0?" "+i:i);continue}if(p=o(h),!p){i=c+(i.length>0?" "+i:i);continue}v=!1}const b=xf(u).join(":"),g=d?b+Ma:b,x=g+p;if(r.includes(x))continue;r.push(x);const C=s(p,v);for(let _=0;_0?" "+i:i)}return i};function Ef(){let e=0,t,n,o="";for(;e{if(typeof e=="string")return e;let t,n="";for(let o=0;od(u),e());return n=_f(c),o=n.cache.get,s=n.cache.set,r=i,i(a)}function i(a){const c=o(a);if(c)return c;const u=Af(a,n);return s(a,u),u}return function(){return r(Ef.apply(null,arguments))}}const Ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ia=/^\[(?:([a-z-]+):)?(.+)\]$/i,Tf=/^\d+\/\d+$/,Of=new Set(["px","full","screen"]),Pf=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rf=/\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$/,Mf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Df=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,If=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rt=e=>jn(e)||Of.has(e)||Tf.test(e),Wt=e=>Gn(e,"length",jf),jn=e=>!!e&&!Number.isNaN(Number(e)),qs=e=>Gn(e,"number",jn),no=e=>!!e&&Number.isInteger(Number(e)),kf=e=>e.endsWith("%")&&jn(e.slice(0,-1)),re=e=>Ia.test(e),Ht=e=>Pf.test(e),Bf=new Set(["length","size","percentage"]),Ff=e=>Gn(e,Bf,ka),Lf=e=>Gn(e,"position",ka),Nf=new Set(["image","url"]),Vf=e=>Gn(e,Nf,Wf),$f=e=>Gn(e,"",Uf),oo=()=>!0,Gn=(e,t,n)=>{const o=Ia.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):n(o[2]):!1},jf=e=>Rf.test(e)&&!Mf.test(e),ka=()=>!1,Uf=e=>Df.test(e),Wf=e=>If.test(e),Hf=()=>{const e=Ae("colors"),t=Ae("spacing"),n=Ae("blur"),o=Ae("brightness"),s=Ae("borderColor"),r=Ae("borderRadius"),l=Ae("borderSpacing"),i=Ae("borderWidth"),a=Ae("contrast"),c=Ae("grayscale"),u=Ae("hueRotate"),d=Ae("invert"),h=Ae("gap"),m=Ae("gradientColorStops"),v=Ae("gradientColorStopPositions"),p=Ae("inset"),b=Ae("margin"),g=Ae("opacity"),x=Ae("padding"),C=Ae("saturate"),_=Ae("scale"),A=Ae("sepia"),O=Ae("skew"),M=Ae("space"),H=Ae("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",re,t],G=()=>[re,t],se=()=>["",Rt,Wt],fe=()=>["auto",jn,re],be=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],le=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],Te=()=>["","0",re],ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ce=()=>[jn,re];return{cacheSize:500,separator:":",theme:{colors:[oo],spacing:[Rt,Wt],blur:["none","",Ht,re],brightness:ce(),borderColor:[e],borderRadius:["none","","full",Ht,re],borderSpacing:G(),borderWidth:se(),contrast:ce(),grayscale:Te(),hueRotate:ce(),invert:Te(),gap:G(),gradientColorStops:[e],gradientColorStopPositions:[kf,Wt],inset:q(),margin:q(),opacity:ce(),padding:G(),saturate:ce(),scale:ce(),sepia:Te(),skew:ce(),space:G(),translate:G()},classGroups:{aspect:[{aspect:["auto","square","video",re]}],container:["container"],columns:[{columns:[Ht]}],"break-after":[{"break-after":ke()}],"break-before":[{"break-before":ke()}],"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"],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:[...be(),re]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",no,re]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",re]}],grow:[{grow:Te()}],shrink:[{shrink:Te()}],order:[{order:["first","last","none",no,re]}],"grid-cols":[{"grid-cols":[oo]}],"col-start-end":[{col:["auto",{span:["full",no,re]},re]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[oo]}],"row-start-end":[{row:["auto",{span:[no,re]},re]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",re]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",re,t]}],"min-w":[{"min-w":[re,t,"min","max","fit"]}],"max-w":[{"max-w":[re,t,"none","full","min","max","fit","prose",{screen:[Ht]},Ht]}],h:[{h:[re,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[re,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[re,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[re,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ht,Wt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qs]}],"font-family":[{font:[oo]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",re]}],"line-clamp":[{"line-clamp":["none",jn,qs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Rt,re]}],"list-image":[{"list-image":["none",re]}],"list-style-type":[{list:["none","disc","decimal",re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Rt,Wt]}],"underline-offset":[{"underline-offset":["auto",Rt,re]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:G()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...be(),Lf]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ff]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vf]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-b":[{"rounded-b":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-ee":[{"rounded-ee":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...le(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:le()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...le()]}],"outline-offset":[{"outline-offset":[Rt,re]}],"outline-w":[{outline:[Rt,Wt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Rt,Wt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ht,$f]}],"shadow-color":[{shadow:[oo]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",Ht,re]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[C]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[C]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",re]}],duration:[{duration:ce()}],ease:[{ease:["linear","in","out","in-out",re]}],delay:[{delay:ce()}],animate:[{animate:["none","spin","ping","pulse","bounce",re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[no,re]}],"translate-x":[{"translate-x":[H]}],"translate-y":[{"translate-y":[H]}],"skew-x":[{"skew-x":[O]}],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",re]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",re]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":G()}],"scroll-mx":[{"scroll-mx":G()}],"scroll-my":[{"scroll-my":G()}],"scroll-ms":[{"scroll-ms":G()}],"scroll-me":[{"scroll-me":G()}],"scroll-mt":[{"scroll-mt":G()}],"scroll-mr":[{"scroll-mr":G()}],"scroll-mb":[{"scroll-mb":G()}],"scroll-ml":[{"scroll-ml":G()}],"scroll-p":[{"scroll-p":G()}],"scroll-px":[{"scroll-px":G()}],"scroll-py":[{"scroll-py":G()}],"scroll-ps":[{"scroll-ps":G()}],"scroll-pe":[{"scroll-pe":G()}],"scroll-pt":[{"scroll-pt":G()}],"scroll-pr":[{"scroll-pr":G()}],"scroll-pb":[{"scroll-pb":G()}],"scroll-pl":[{"scroll-pl":G()}],"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",re]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Rt,Wt,qs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-s","border-color-e","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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}},zf=Sf(Hf);function ve(...e){return zf(pf(e))}const Kf=k({__name:"Card",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("rounded-lg border bg-card text-card-foreground shadow-sm",t.class))},[j(n.$slots,"default")],2))}}),Gf=k({__name:"CardContent",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("p-6 pt-0",t.class))},[j(n.$slots,"default")],2))}}),Jf=k({__name:"CardDescription",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("p",{class:Ie(f(ve)("text-sm text-muted-foreground",t.class))},[j(n.$slots,"default")],2))}}),qf=k({__name:"CardHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("flex flex-col gap-y-1.5 p-6",t.class))},[j(n.$slots,"default")],2))}}),Yf=k({__name:"CardTitle",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("h3",{class:Ie(f(ve)("text-2xl font-semibold leading-none tracking-tight",t.class))},[j(n.$slots,"default")],2))}}),Xf={className:"h-[14px] w-full border-border border rounded-[8px] relative"},Zf=k({__name:"Progress",props:{animate:{type:Boolean}},setup(e){return(t,n)=>(S(),ue("div",Xf,[X("div",{class:Ie(`absolute left-[2px] w-[40px] top-[3px] bg-primary h-[6px] rounded ${t.animate?"animate-progress":""}`)},null,2)]))}}),Qf=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},ep=Qf(Zf,[["__scopeId","data-v-9abe07b1"]]);function Ba(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,Gl=tp,Ts=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return Gl(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:r}=t,l=Object.keys(s).map(c=>{const u=n==null?void 0:n[c],d=r==null?void 0:r[c];if(u===null)return null;const h=Kl(u)||Kl(d);return s[c][h]}),i=n&&Object.entries(n).reduce((c,u)=>{let[d,h]=u;return h===void 0||(c[d]=h),c},{}),a=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((c,u)=>{let v=u,{class:d,className:h}=v,m=Oe(v,["class","className"]);return Object.entries(m).every(p=>{let[b,g]=p;return Array.isArray(g)?g.includes($($({},r),i)[b]):$($({},r),i)[b]===g})?[...c,d,h]:c},[]);return Gl(e,l,a,n==null?void 0:n.class,n==null?void 0:n.className)},np=k({__name:"Badge",props:{variant:{},class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)(f(op)({variant:n.variant}),t.class))},[j(n.$slots,"default")],2))}}),op=Ts("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),sp=["top","right","bottom","left"],Zt=Math.min,ot=Math.max,os=Math.round,Io=Math.floor,Qt=e=>({x:e,y:e}),rp={left:"right",right:"left",bottom:"top",top:"bottom"},lp={start:"end",end:"start"};function yr(e,t,n){return ot(e,Zt(t,n))}function Lt(e,t){return typeof e=="function"?e(t):e}function Nt(e){return e.split("-")[0]}function Jn(e){return e.split("-")[1]}function Kr(e){return e==="x"?"y":"x"}function Gr(e){return e==="y"?"height":"width"}function en(e){return["top","bottom"].includes(Nt(e))?"y":"x"}function Jr(e){return Kr(en(e))}function ip(e,t,n){n===void 0&&(n=!1);const o=Jn(e),s=Jr(e),r=Gr(s);let l=s==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=ss(l)),[l,ss(l)]}function ap(e){const t=ss(e);return[br(e),t,br(t)]}function br(e){return e.replace(/start|end/g,t=>lp[t])}function up(e,t,n){const o=["left","right"],s=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:o:t?o:s;case"left":case"right":return t?r:l;default:return[]}}function cp(e,t,n,o){const s=Jn(e);let r=up(Nt(e),n==="start",o);return s&&(r=r.map(l=>l+"-"+s),t&&(r=r.concat(r.map(br)))),r}function ss(e){return e.replace(/left|right|bottom|top/g,t=>rp[t])}function dp(e){return $({top:0,right:0,bottom:0,left:0},e)}function Fa(e){return typeof e!="number"?dp(e):{top:e,right:e,bottom:e,left:e}}function rs(e){const{x:t,y:n,width:o,height:s}=e;return{width:o,height:s,top:n,left:t,right:t+o,bottom:n+s,x:t,y:n}}function Jl(e,t,n){let{reference:o,floating:s}=e;const r=en(t),l=Jr(t),i=Gr(l),a=Nt(t),c=r==="y",u=o.x+o.width/2-s.width/2,d=o.y+o.height/2-s.height/2,h=o[i]/2-s[i]/2;let m;switch(a){case"top":m={x:u,y:o.y-s.height};break;case"bottom":m={x:u,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:d};break;case"left":m={x:o.x-s.width,y:d};break;default:m={x:o.x,y:o.y}}switch(Jn(t)){case"start":m[l]-=h*(n&&c?-1:1);break;case"end":m[l]+=h*(n&&c?-1:1);break}return m}const fp=(e,t,n)=>Re(gu,null,function*(){const{placement:o="bottom",strategy:s="absolute",middleware:r=[],platform:l}=n,i=r.filter(Boolean),a=yield l.isRTL==null?void 0:l.isRTL(t);let c=yield l.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:d}=Jl(c,o,a),h=o,m={},v=0;for(let p=0;p({name:"arrow",options:e,fn(n){return Re(this,null,function*(){const{x:o,y:s,placement:r,rects:l,platform:i,elements:a,middlewareData:c}=n,{element:u,padding:d=0}=Lt(e,n)||{};if(u==null)return{};const h=Fa(d),m={x:o,y:s},v=Jr(r),p=Gr(v),b=yield i.getDimensions(u),g=v==="y",x=g?"top":"left",C=g?"bottom":"right",_=g?"clientHeight":"clientWidth",A=l.reference[p]+l.reference[v]-m[v]-l.floating[p],O=m[v]-l.reference[v],M=yield i.getOffsetParent==null?void 0:i.getOffsetParent(u);let H=M?M[_]:0;(!H||!(yield i.isElement==null?void 0:i.isElement(M)))&&(H=a.floating[_]||l.floating[p]);const N=A/2-O/2,U=H/2-b[p]/2-1,q=Zt(h[x],U),G=Zt(h[C],U),se=q,fe=H-b[p]-G,be=H/2-b[p]/2+N,le=yr(se,be,fe),ie=!c.arrow&&Jn(r)!=null&&be!==le&&l.reference[p]/2-(bele<=0)){var G,se;const le=(((G=l.flip)==null?void 0:G.index)||0)+1,ie=H[le];if(ie)return{data:{index:le,overflows:q},reset:{placement:ie}};let ne=(se=q.filter(Te=>Te.overflows[0]<=0).sort((Te,ke)=>Te.overflows[1]-ke.overflows[1])[0])==null?void 0:se.placement;if(!ne)switch(v){case"bestFit":{var fe;const Te=(fe=q.filter(ke=>{if(M){const ce=en(ke.placement);return ce===C||ce==="y"}return!0}).map(ke=>[ke.placement,ke.overflows.filter(ce=>ce>0).reduce((ce,Je)=>ce+Je,0)]).sort((ke,ce)=>ke[1]-ce[1])[0])==null?void 0:fe[0];Te&&(ne=Te);break}case"initialPlacement":ne=a;break}if(r!==ne)return{reset:{placement:ne}}}return{}})}}};function ql(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Yl(e){return sp.some(t=>e[t]>=0)}const hp=function(e){return e===void 0&&(e={}),{name:"hide",options:e,fn(n){return Re(this,null,function*(){const{rects:o}=n,l=Lt(e,n),{strategy:s="referenceHidden"}=l,r=Oe(l,["strategy"]);switch(s){case"referenceHidden":{const i=yield yo(n,Pe($({},r),{elementContext:"reference"})),a=ql(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Yl(a)}}}case"escaped":{const i=yield yo(n,Pe($({},r),{altBoundary:!0})),a=ql(i,o.floating);return{data:{escapedOffsets:a,escaped:Yl(a)}}}default:return{}}})}}};function vp(e,t){return Re(this,null,function*(){const{placement:n,platform:o,elements:s}=e,r=yield o.isRTL==null?void 0:o.isRTL(s.floating),l=Nt(n),i=Jn(n),a=en(n)==="y",c=["left","top"].includes(l)?-1:1,u=r&&a?-1:1,d=Lt(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof v=="number"&&(m=i==="end"?v*-1:v),a?{x:m*u,y:h*c}:{x:h*c,y:m*u}})}const gp=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return Re(this,null,function*(){var o,s;const{x:r,y:l,placement:i,middlewareData:a}=n,c=yield vp(n,e);return i===((o=a.offset)==null?void 0:o.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+c.x,y:l+c.y,data:Pe($({},c),{placement:i})}})}}},yp=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return Re(this,null,function*(){const{x:o,y:s,placement:r}=n,g=Lt(e,n),{mainAxis:l=!0,crossAxis:i=!1,limiter:a={fn:x=>{let{x:C,y:_}=x;return{x:C,y:_}}}}=g,c=Oe(g,["mainAxis","crossAxis","limiter"]),u={x:o,y:s},d=yield yo(n,c),h=en(Nt(r)),m=Kr(h);let v=u[m],p=u[h];if(l){const x=m==="y"?"top":"left",C=m==="y"?"bottom":"right",_=v+d[x],A=v-d[C];v=yr(_,v,A)}if(i){const x=h==="y"?"top":"left",C=h==="y"?"bottom":"right",_=p+d[x],A=p-d[C];p=yr(_,p,A)}const b=a.fn(Pe($({},n),{[m]:v,[h]:p}));return Pe($({},b),{data:{x:b.x-o,y:b.y-s,enabled:{[m]:l,[h]:i}}})})}}},bp=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:s,rects:r,middlewareData:l}=t,{offset:i=0,mainAxis:a=!0,crossAxis:c=!0}=Lt(e,t),u={x:n,y:o},d=en(s),h=Kr(d);let m=u[h],v=u[d];const p=Lt(i,t),b=typeof p=="number"?{mainAxis:p,crossAxis:0}:$({mainAxis:0,crossAxis:0},p);if(a){const C=h==="y"?"height":"width",_=r.reference[h]-r.floating[C]+b.mainAxis,A=r.reference[h]+r.reference[C]-b.mainAxis;m<_?m=_:m>A&&(m=A)}if(c){var g,x;const C=h==="y"?"width":"height",_=["top","left"].includes(Nt(s)),A=r.reference[d]-r.floating[C]+(_&&((g=l.offset)==null?void 0:g[d])||0)+(_?0:b.crossAxis),O=r.reference[d]+r.reference[C]+(_?0:((x=l.offset)==null?void 0:x[d])||0)-(_?b.crossAxis:0);vO&&(v=O)}return{[h]:m,[d]:v}}}},wp=function(e){return e===void 0&&(e={}),{name:"size",options:e,fn(n){return Re(this,null,function*(){var o,s;const{placement:r,rects:l,platform:i,elements:a}=n,q=Lt(e,n),{apply:c=()=>{}}=q,u=Oe(q,["apply"]),d=yield yo(n,u),h=Nt(r),m=Jn(r),v=en(r)==="y",{width:p,height:b}=l.floating;let g,x;h==="top"||h==="bottom"?(g=h,x=m===((yield i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=h,g=m==="end"?"top":"bottom");const C=b-d.top-d.bottom,_=p-d.left-d.right,A=Zt(b-d[g],C),O=Zt(p-d[x],_),M=!n.middlewareData.shift;let H=A,N=O;if((o=n.middlewareData.shift)!=null&&o.enabled.x&&(N=_),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(H=C),M&&!m){const G=ot(d.left,0),se=ot(d.right,0),fe=ot(d.top,0),be=ot(d.bottom,0);v?N=p-2*(G!==0||se!==0?G+se:ot(d.left,d.right)):H=b-2*(fe!==0||be!==0?fe+be:ot(d.top,d.bottom))}yield c(Pe($({},n),{availableWidth:N,availableHeight:H}));const U=yield i.getDimensions(a.floating);return p!==U.width||b!==U.height?{reset:{rects:!0}}:{}})}}};function Os(){return typeof window!="undefined"}function wn(e){return qr(e)?(e.nodeName||"").toLowerCase():"#document"}function rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tt(e){var t;return(t=(qr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function qr(e){return Os()?e instanceof Node||e instanceof rt(e).Node:!1}function mt(e){return Os()?e instanceof Element||e instanceof rt(e).Element:!1}function At(e){return Os()?e instanceof HTMLElement||e instanceof rt(e).HTMLElement:!1}function Xl(e){return!Os()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof rt(e).ShadowRoot}function Eo(e){const{overflow:t,overflowX:n,overflowY:o,display:s}=ht(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(s)}function xp(e){return["table","td","th"].includes(wn(e))}function Ps(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(n){return!1}})}function Yr(e){const t=Xr(),n=mt(e)?ht(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function _p(e){let t=tn(e);for(;At(t)&&!Hn(t);){if(Yr(t))return t;if(Ps(t))return null;t=tn(t)}return null}function Xr(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hn(e){return["html","body","#document"].includes(wn(e))}function ht(e){return rt(e).getComputedStyle(e)}function Rs(e){return mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tn(e){if(wn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xl(e)&&e.host||Tt(e);return Xl(t)?t.host:t}function La(e){const t=tn(e);return Hn(t)?e.ownerDocument?e.ownerDocument.body:e.body:At(t)&&Eo(t)?t:La(t)}function bo(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=La(e),r=s===((o=e.ownerDocument)==null?void 0:o.body),l=rt(s);if(r){const i=wr(l);return t.concat(l,l.visualViewport||[],Eo(s)?s:[],i&&n?bo(i):[])}return t.concat(s,bo(s,[],n))}function wr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Na(e){const t=ht(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=At(e),r=s?e.offsetWidth:n,l=s?e.offsetHeight:o,i=os(n)!==r||os(o)!==l;return i&&(n=r,o=l),{width:n,height:o,$:i}}function Zr(e){return mt(e)?e:e.contextElement}function Un(e){const t=Zr(e);if(!At(t))return Qt(1);const n=t.getBoundingClientRect(),{width:o,height:s,$:r}=Na(t);let l=(r?os(n.width):n.width)/o,i=(r?os(n.height):n.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!i||!Number.isFinite(i))&&(i=1),{x:l,y:i}}const Cp=Qt(0);function Va(e){const t=rt(e);return!Xr()||!t.visualViewport?Cp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ap(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==rt(e)?!1:t}function bn(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),r=Zr(e);let l=Qt(1);t&&(o?mt(o)&&(l=Un(o)):l=Un(e));const i=Ap(r,n,o)?Va(r):Qt(0);let a=(s.left+i.x)/l.x,c=(s.top+i.y)/l.y,u=s.width/l.x,d=s.height/l.y;if(r){const h=rt(r),m=o&&mt(o)?rt(o):o;let v=h,p=wr(v);for(;p&&o&&m!==v;){const b=Un(p),g=p.getBoundingClientRect(),x=ht(p),C=g.left+(p.clientLeft+parseFloat(x.paddingLeft))*b.x,_=g.top+(p.clientTop+parseFloat(x.paddingTop))*b.y;a*=b.x,c*=b.y,u*=b.x,d*=b.y,a+=C,c+=_,v=rt(p),p=wr(v)}}return rs({width:u,height:d,x:a,y:c})}function Ep(e){let{elements:t,rect:n,offsetParent:o,strategy:s}=e;const r=s==="fixed",l=Tt(o),i=t?Ps(t.floating):!1;if(o===l||i&&r)return n;let a={scrollLeft:0,scrollTop:0},c=Qt(1);const u=Qt(0),d=At(o);if((d||!d&&!r)&&((wn(o)!=="body"||Eo(l))&&(a=Rs(o)),At(o))){const h=bn(o);c=Un(o),u.x=h.x+o.clientLeft,u.y=h.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x,y:n.y*c.y-a.scrollTop*c.y+u.y}}function Sp(e){return Array.from(e.getClientRects())}function xr(e,t){const n=Rs(e).scrollLeft;return t?t.left+n:bn(Tt(e)).left+n}function Tp(e){const t=Tt(e),n=Rs(e),o=e.ownerDocument.body,s=ot(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=ot(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+xr(e);const i=-n.scrollTop;return ht(o).direction==="rtl"&&(l+=ot(t.clientWidth,o.clientWidth)-s),{width:s,height:r,x:l,y:i}}function Op(e,t){const n=rt(e),o=Tt(e),s=n.visualViewport;let r=o.clientWidth,l=o.clientHeight,i=0,a=0;if(s){r=s.width,l=s.height;const c=Xr();(!c||c&&t==="fixed")&&(i=s.offsetLeft,a=s.offsetTop)}return{width:r,height:l,x:i,y:a}}function Pp(e,t){const n=bn(e,!0,t==="fixed"),o=n.top+e.clientTop,s=n.left+e.clientLeft,r=At(e)?Un(e):Qt(1),l=e.clientWidth*r.x,i=e.clientHeight*r.y,a=s*r.x,c=o*r.y;return{width:l,height:i,x:a,y:c}}function Zl(e,t,n){let o;if(t==="viewport")o=Op(e,n);else if(t==="document")o=Tp(Tt(e));else if(mt(t))o=Pp(t,n);else{const s=Va(e);o=Pe($({},t),{x:t.x-s.x,y:t.y-s.y})}return rs(o)}function $a(e,t){const n=tn(e);return n===t||!mt(n)||Hn(n)?!1:ht(n).position==="fixed"||$a(n,t)}function Rp(e,t){const n=t.get(e);if(n)return n;let o=bo(e,[],!1).filter(i=>mt(i)&&wn(i)!=="body"),s=null;const r=ht(e).position==="fixed";let l=r?tn(e):e;for(;mt(l)&&!Hn(l);){const i=ht(l),a=Yr(l);!a&&i.position==="fixed"&&(s=null),(r?!a&&!s:!a&&i.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Eo(l)&&!a&&$a(e,l))?o=o.filter(u=>u!==l):s=i,l=tn(l)}return t.set(e,o),o}function Mp(e){let{element:t,boundary:n,rootBoundary:o,strategy:s}=e;const l=[...n==="clippingAncestors"?Ps(t)?[]:Rp(t,this._c):[].concat(n),o],i=l[0],a=l.reduce((c,u)=>{const d=Zl(t,u,s);return c.top=ot(d.top,c.top),c.right=Zt(d.right,c.right),c.bottom=Zt(d.bottom,c.bottom),c.left=ot(d.left,c.left),c},Zl(t,i,s));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Dp(e){const{width:t,height:n}=Na(e);return{width:t,height:n}}function Ip(e,t,n){const o=At(t),s=Tt(t),r=n==="fixed",l=bn(e,!0,r,t);let i={scrollLeft:0,scrollTop:0};const a=Qt(0);if(o||!o&&!r)if((wn(t)!=="body"||Eo(s))&&(i=Rs(t)),o){const m=bn(t,!0,r,t);a.x=m.x+t.clientLeft,a.y=m.y+t.clientTop}else s&&(a.x=xr(s));let c=0,u=0;if(s&&!o&&!r){const m=s.getBoundingClientRect();u=m.top+i.scrollTop,c=m.left+i.scrollLeft-xr(s,m)}const d=l.left+i.scrollLeft-a.x-c,h=l.top+i.scrollTop-a.y-u;return{x:d,y:h,width:l.width,height:l.height}}function Ys(e){return ht(e).position==="static"}function Ql(e,t){if(!At(e)||ht(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Tt(e)===n&&(n=n.ownerDocument.body),n}function ja(e,t){const n=rt(e);if(Ps(e))return n;if(!At(e)){let s=tn(e);for(;s&&!Hn(s);){if(mt(s)&&!Ys(s))return s;s=tn(s)}return n}let o=Ql(e,t);for(;o&&xp(o)&&Ys(o);)o=Ql(o,t);return o&&Hn(o)&&Ys(o)&&!Yr(o)?n:o||_p(e)||n}const kp=function(e){return Re(this,null,function*(){const t=this.getOffsetParent||ja,n=this.getDimensions,o=yield n(e.floating);return{reference:Ip(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}})};function Bp(e){return ht(e).direction==="rtl"}const Fp={convertOffsetParentRelativeRectToViewportRelativeRect:Ep,getDocumentElement:Tt,getClippingRect:Mp,getOffsetParent:ja,getElementRects:kp,getClientRects:Sp,getDimensions:Dp,getScale:Un,isElement:mt,isRTL:Bp};function Lp(e,t){let n=null,o;const s=Tt(e);function r(){var i;clearTimeout(o),(i=n)==null||i.disconnect(),n=null}function l(i,a){i===void 0&&(i=!1),a===void 0&&(a=1),r();const{left:c,top:u,width:d,height:h}=e.getBoundingClientRect();if(i||t(),!d||!h)return;const m=Io(u),v=Io(s.clientWidth-(c+d)),p=Io(s.clientHeight-(u+h)),b=Io(c),x={rootMargin:-m+"px "+-v+"px "+-p+"px "+-b+"px",threshold:ot(0,Zt(1,a))||1};let C=!0;function _(A){const O=A[0].intersectionRatio;if(O!==a){if(!C)return l();O?l(!1,O):o=setTimeout(()=>{l(!1,1e-7)},1e3)}C=!1}try{n=new IntersectionObserver(_,Pe($({},x),{root:s.ownerDocument}))}catch(A){n=new IntersectionObserver(_,x)}n.observe(e)}return l(!0),r}function Np(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,c=Zr(e),u=s||r?[...c?bo(c):[],...bo(t)]:[];u.forEach(g=>{s&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const d=c&&i?Lp(c,n):null;let h=-1,m=null;l&&(m=new ResizeObserver(g=>{let[x]=g;x&&x.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var C;(C=m)==null||C.observe(t)})),n()}),c&&!a&&m.observe(c),m.observe(t));let v,p=a?bn(e):null;a&&b();function b(){const g=bn(e);p&&(g.x!==p.x||g.y!==p.y||g.width!==p.width||g.height!==p.height)&&n(),p=g,v=requestAnimationFrame(b)}return n(),()=>{var g;u.forEach(x=>{s&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),d==null||d(),(g=m)==null||g.disconnect(),m=null,a&&cancelAnimationFrame(v)}}const Vp=gp,$p=yp,ei=mp,jp=wp,Up=hp,Wp=pp,Hp=bp,zp=(e,t,n)=>{const o=new Map,s=$({platform:Fp},n),r=Pe($({},s.platform),{_c:o});return fp(e,t,Pe($({},s),{platform:r}))};function Kp(e){return e!=null&&typeof e=="object"&&"$el"in e}function _r(e){if(Kp(e)){const t=e.$el;return qr(t)&&wn(t)==="#comment"?null:t}return e}function Mn(e){return typeof e=="function"?e():f(e)}function Gp(e){return{name:"arrow",options:e,fn(t){const n=_r(Mn(e.element));return n==null?{}:Wp({element:n,padding:e.padding}).fn(t)}}}function Ua(e){return typeof window=="undefined"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ti(e,t){const n=Ua(e);return Math.round(t*n)/n}function Jp(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,s=J(()=>{var M;return(M=Mn(n.open))!=null?M:!0}),r=J(()=>Mn(n.middleware)),l=J(()=>{var M;return(M=Mn(n.placement))!=null?M:"bottom"}),i=J(()=>{var M;return(M=Mn(n.strategy))!=null?M:"absolute"}),a=J(()=>{var M;return(M=Mn(n.transform))!=null?M:!0}),c=J(()=>_r(e.value)),u=J(()=>_r(t.value)),d=B(0),h=B(0),m=B(i.value),v=B(l.value),p=Fr({}),b=B(!1),g=J(()=>{const M={position:m.value,left:"0",top:"0"};if(!u.value)return M;const H=ti(u.value,d.value),N=ti(u.value,h.value);return a.value?$(Pe($({},M),{transform:"translate("+H+"px, "+N+"px)"}),Ua(u.value)>=1.5&&{willChange:"transform"}):{position:m.value,left:H+"px",top:N+"px"}});let x;function C(){if(c.value==null||u.value==null)return;const M=s.value;zp(c.value,u.value,{middleware:r.value,placement:l.value,strategy:i.value}).then(H=>{d.value=H.x,h.value=H.y,m.value=H.strategy,v.value=H.placement,p.value=H.middlewareData,b.value=M!==!1})}function _(){typeof x=="function"&&(x(),x=void 0)}function A(){if(_(),o===void 0){C();return}if(c.value!=null&&u.value!=null){x=o(c.value,u.value,C);return}}function O(){s.value||(b.value=!1)}return we([r,l,i,s],C,{flush:"sync"}),we([c,u],A,{flush:"sync"}),we(s,O,{flush:"sync"}),ps()&&Mr(_),{x:On(d),y:On(h),strategy:On(m),placement:On(v),middlewareData:On(p),isPositioned:On(b),floatingStyles:g,update:C}}function at(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,o=Symbol(n);return[s=>{const r=Nn(o,s);if(r||r===null)return r;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},s=>($r(o,s),s)]}function Wa(e,t,n){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(s)}function ni(e,t=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(Math.max(e,t),n)}function qp(e){return e==null}function Yp(e,t){var n;const o=Fr();return Ue(()=>{o.value=e()},Pe($({},t),{flush:(n=void 0)!=null?n:"sync"})),zn(o)}function So(e){return ps()?(Mr(e),!0):!1}function Xp(e){let t=!1,n;const o=Ci(!0);return(...s)=>(t||(n=o.run(()=>e(...s)),t=!0),n)}function Zp(e){let t=0,n,o;const s=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...r)=>(t+=1,n||(o=Ci(!0),n=o.run(()=>e(...r))),So(s),n)}function Xt(e){return typeof e=="function"?e():f(e)}const Ot=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qp=e=>typeof e<"u",em=Object.prototype.toString,tm=e=>em.call(e)==="[object Object]",Ha=()=>{},oi=nm();function nm(){var e,t;return Ot&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function om(e){return gt()}function sm(e,t=1e4){return Ui((n,o)=>{let s=Xt(e),r;const l=()=>setTimeout(()=>{s=Xt(e),o()},Xt(t));return So(()=>{clearTimeout(r)}),{get(){return n(),s},set(i){s=i,o(),clearTimeout(r),r=l()}}})}function rm(e,t){om()&&xs(e,t)}function lm(e,t,n={}){const{immediate:o=!0}=n,s=B(!1);let r=null;function l(){r&&(clearTimeout(r),r=null)}function i(){s.value=!1,l()}function a(...c){l(),s.value=!0,r=setTimeout(()=>{s.value=!1,r=null,e(...c)},Xt(t))}return o&&(s.value=!0,Ot&&a()),So(i),{isPending:zn(s),start:a,stop:i}}function im(e=1e3,t={}){const{controls:n=!1,callback:o}=t,s=lm(o!=null?o:Ha,e,t),r=J(()=>!s.isPending.value);return n?$({ready:r},s):r}function Et(e){var t;const n=Xt(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Qr=Ot?window:void 0;function za(...e){let t,n,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,s]=e,t=Qr):[t,n,o,s]=e,!t)return Ha;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],l=()=>{r.forEach(u=>u()),r.length=0},i=(u,d,h,m)=>(u.addEventListener(d,h,m),()=>u.removeEventListener(d,h,m)),a=we(()=>[Et(t),Xt(s)],([u,d])=>{if(l(),!u)return;const h=tm(d)?$({},d):d;r.push(...n.flatMap(m=>o.map(v=>i(u,m,v,h))))},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return So(c),c}function am(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function el(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Qr,eventName:r="keydown",passive:l=!1,dedupe:i=!1}=o,a=am(t);return za(s,r,c=>{c.repeat&&Xt(i)||a(c)&&n(c)},l)}function um(){const e=B(!1),t=gt();return t&&Ge(()=>{e.value=!0},t),e}function Ka(e,t={}){const{immediate:n=!0,fpsLimit:o=void 0,window:s=Qr}=t,r=B(!1),l=o?1e3/o:null;let i=0,a=null;function c(h){if(!r.value||!s)return;i||(i=h);const m=h-i;if(l&&mi?typeof i=="function"?i(C):cm(C):C,g=()=>Qp(e[t])?b(e[t]):d,x=C=>{h?h(C)&&v(p,C):v(p,C)};if(a){const C=g(),_=B(C);let A=!1;return we(()=>e[t],O=>{A||(A=!0,_.value=b(O),Ye(()=>A=!1))}),we(_,O=>{!A&&(O!==e[t]||u)&&x(O)},{deep:u}),_}else return J({get(){return g()},set(C){x(C)}})}function Ms(e){return e?e.flatMap(t=>t.type===Ee?Ms(t.children):[t]):[]}function Xs(e){if(e===null||typeof e!="object")return!1;const 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 Cr(e,t,n=".",o){if(!Xs(t))return Cr(e,{},n);const s=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const l=e[r];l!=null&&(Array.isArray(l)&&Array.isArray(s[r])?s[r]=[...l,...s[r]]:Xs(l)&&Xs(s[r])?s[r]=Cr(l,s[r],(n?`${n}.`:"")+r.toString()):s[r]=l)}return s}function dm(e){return(...t)=>t.reduce((n,o)=>Cr(n,o,""),{})}const fm=dm(),[Ds,wg]=at("ConfigProvider");let pm="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",mm=(e=21)=>{let t="",n=e;for(;n--;)t+=pm[Math.random()*64|0];return t};const hm=Zp(()=>{const e=B(new Map),t=B(),n=J(()=>{for(const l of e.value.values())if(l)return!0;return!1}),o=Ds({scrollBody:B(!0)});let s=null;const r=()=>{var l;document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=(l=t.value)!=null?l:"",oi&&(s==null||s()),t.value=void 0};return we(n,(l,i)=>{var a;if(!Ot)return;if(!l){i&&r();return}t.value===void 0&&(t.value=document.body.style.overflow);const c=window.innerWidth-document.documentElement.clientWidth,u={padding:c,margin:0},d=(a=o.scrollBody)!=null&&a.value?typeof o.scrollBody.value=="object"?fm({padding:o.scrollBody.value.padding===!0?c:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?c:o.scrollBody.value.margin},u):u:{padding:0,margin:0};c>0&&(document.body.style.paddingRight=typeof d.padding=="number"?`${d.padding}px`:String(d.padding),document.body.style.marginRight=typeof d.margin=="number"?`${d.margin}px`:String(d.margin),document.body.style.setProperty("--scrollbar-width",`${c}px`),document.body.style.overflow="hidden"),oi&&(s=za(document,"touchmove",h=>{var m;h.target===document.documentElement&&(h.touches.length>1||(m=h.preventDefault)==null||m.call(h))},{passive:!1})),Ye(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function Ga(e){const t=mm(6),n=hm();n.value.set(t,e!=null?e:!1);const o=J({get:()=>{var s;return(s=n.value.get(t))!=null?s:!1},set:s=>n.value.set(t,s)});return rm(()=>{n.value.delete(t)}),o}const vm="data-radix-vue-collection-item";function To(e,t=vm){const n=Symbol();return{createCollection:o=>{const s=B([]);function r(){const l=Et(o);return l?s.value=Array.from(l.querySelectorAll(`[${t}]:not([data-disabled])`)):s.value=[]}return na(()=>{s.value=[]}),Ge(r),oa(r),we(()=>o==null?void 0:o.value,r,{immediate:!0}),$r(n,s),s},injectCollection:()=>Nn(n,B([]))}}function gm(e){const t=Ds({dir:B("ltr")});return J(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||"ltr"})}function Is(e){const t=gt(),n=t==null?void 0:t.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),n==null||n.forEach(s=>{o[Vo(Xe(s))]=(...r)=>e(s,...r)}),o}let Zs=0;function ym(){Ue(e=>{var n,o;if(!Ot)return;const t=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",(n=t[0])!=null?n:si()),document.body.insertAdjacentElement("beforeend",(o=t[1])!=null?o:si()),Zs++,e(()=>{Zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(s=>s.remove()),Zs--})})}function si(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}function Ja(e){return J(()=>{var t;return Xt(e)?!!((t=Et(e))!=null&&t.closest("form")):!0})}function ln(e){var s;const t=gt(),n=Object.keys((s=t==null?void 0:t.type.props)!=null?s:{}).reduce((r,l)=>{const i=(t==null?void 0:t.type.props[l]).default;return i!==void 0&&(r[l]=i),r},{}),o=Wi(e);return J(()=>{var i;const r={},l=(i=t==null?void 0:t.vnode.props)!=null?i:{};return Object.keys(l).forEach(a=>{r[Xe(a)]=l[a]}),Object.keys($($({},n),r)).reduce((a,c)=>(o.value[c]!==void 0&&(a[c]=o.value[c]),a),{})})}function jt(e,t){const n=ln(e),o=t?Is(t):{};return J(()=>$($({},n.value),o))}function me(){const e=gt(),t=B(),n=J(()=>{var l,i;return["#text","#comment"].includes((l=t.value)==null?void 0:l.$el.nodeName)?(i=t.value)==null?void 0:i.$el.nextElementSibling:Et(t)}),o=Object.assign({},e.exposed),s={};for(const l in e.props)Object.defineProperty(s,l,{enumerable:!0,configurable:!0,get:()=>e.props[l]});if(Object.keys(o).length>0)for(const l in o)Object.defineProperty(s,l,{enumerable:!0,configurable:!0,get:()=>o[l]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=s;function r(l){t.value=l,!(l instanceof Element||!l)&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>l.$el}),e.exposed=s)}return{forwardRef:r,currentRef:t,currentElement:n}}var bm=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pn=new WeakMap,ko=new WeakMap,Bo={},Qs=0,qa=function(e){return e&&(e.host||qa(e.parentNode))},wm=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=qa(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},xm=function(e,t,n,o){var s=wm(t,Array.isArray(e)?e:[e]);Bo[n]||(Bo[n]=new WeakMap);var r=Bo[n],l=[],i=new Set,a=new Set(s),c=function(d){!d||i.has(d)||(i.add(d),c(d.parentNode))};s.forEach(c);var u=function(d){!d||a.has(d)||Array.prototype.forEach.call(d.children,function(h){if(i.has(h))u(h);else try{var m=h.getAttribute(o),v=m!==null&&m!=="false",p=(Pn.get(h)||0)+1,b=(r.get(h)||0)+1;Pn.set(h,p),r.set(h,b),l.push(h),p===1&&v&&ko.set(h,!0),b===1&&h.setAttribute(n,"true"),v||h.setAttribute(o,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return u(t),i.clear(),Qs++,function(){l.forEach(function(d){var h=Pn.get(d)-1,m=r.get(d)-1;Pn.set(d,h),r.set(d,m),h||(ko.has(d)||d.removeAttribute(o),ko.delete(d)),m||d.removeAttribute(n)}),Qs--,Qs||(Pn=new WeakMap,Pn=new WeakMap,ko=new WeakMap,Bo={})}},_m=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),s=bm(e);return s?(o.push.apply(o,Array.from(s.querySelectorAll("[aria-live]"))),xm(o,s,n,"aria-hidden")):function(){return null}};function Ya(e){let t;we(()=>Et(e),n=>{n?t=_m(n):t&&t()}),Kn(()=>{t&&t()})}let Cm=0;function ls(e,t="radix"){const n=Ds({useId:void 0});return yl?`${t}-${yl()}`:n.useId?`${t}-${n.useId()}`:`${t}-${++Cm}`}function Am(e){const t=B(),n=J(()=>{var r;var s;return(r=(s=t.value)==null?void 0:s.width)!=null?r:0}),o=J(()=>{var r;var s;return(r=(s=t.value)==null?void 0:s.height)!=null?r:0});return Ge(()=>{const s=Et(e);if(s){t.value={width:s.offsetWidth,height:s.offsetHeight};const r=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const i=l[0];let a,c;if("borderBoxSize"in i){const u=i.borderBoxSize,d=Array.isArray(u)?u[0]:u;a=d.inlineSize,c=d.blockSize}else a=s.offsetWidth,c=s.offsetHeight;t.value={width:a,height:c}});return r.observe(s,{box:"border-box"}),()=>r.unobserve(s)}else t.value=void 0}),{width:n,height:o}}function Em(e,t){const n=B(e);function o(s){var r;return(r=t[n.value][s])!=null?r:n.value}return{state:n,dispatch:s=>{n.value=o(s)}}}function Xa(e){const t=sm("",1e3);return{search:t,handleTypeaheadSearch:(n,o)=>{var h,m;var s,r;if(!(e!=null&&e.value)&&!o)return;t.value=t.value+n;const l=(h=e==null?void 0:e.value)!=null?h:o,i=document.activeElement,a=(m=(r=(s=l.find(v=>v===i))==null?void 0:s.textContent)==null?void 0:r.trim())!=null?m:"",c=l.map(v=>{var b;var p;return(b=(p=v.textContent)==null?void 0:p.trim())!=null?b:""}),u=Tm(c,t.value,a),d=l.find(v=>{var p;return((p=v.textContent)==null?void 0:p.trim())===u});return d&&d.focus(),d},resetTypeahead:()=>{t.value=""}}}function Sm(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function Tm(e,t,n){const o=t.length>1&&Array.from(t).every(i=>i===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let r=Sm(e,Math.max(s,0));o.length===1&&(r=r.filter(i=>i!==n));const l=r.find(i=>i.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}const Om=k({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{var o,s;if(!n.default)return null;const r=Ms(n.default()),l=r.findIndex(u=>u.type!==Ft);if(l===-1)return r;const i=r[l];(o=i.props)==null||delete o.ref;const a=i.props?oe(t,i.props):t;t.class&&(s=i.props)!=null&&s.class&&delete i.props.class;const c=yn(i,a);for(const u in a)u.startsWith("on")&&(c.props||(c.props={}),c.props[u]=a[u]);return r.length===1?c:(r[l]=c,r)}}}),ye=k({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&["area","img","input"].includes(o)?()=>Yt(o,t):o!=="template"?()=>Yt(e.as,t,{default:n.default}):()=>Yt(Om,t,{default:n.default})}});function Pm(e,t){const n=B({}),o=B("none"),s=e.value?"mounted":"unmounted",{state:r,dispatch:l}=Em(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),i=h=>{var m;if(Ot){const v=new CustomEvent(h,{bubbles:!1,cancelable:!1});(m=t.value)==null||m.dispatchEvent(v)}};we(e,(h,m)=>Re(this,null,function*(){var v;const p=m!==h;if(yield Ye(),p){const b=o.value,g=Fo(t.value);h?(l("MOUNT"),i("enter"),g==="none"&&i("after-enter")):g==="none"||((v=n.value)==null?void 0:v.display)==="none"?(l("UNMOUNT"),i("leave"),i("after-leave")):m&&b!==g?(l("ANIMATION_OUT"),i("leave")):(l("UNMOUNT"),i("after-leave"))}}),{immediate:!0});const a=h=>{const m=Fo(t.value),v=m.includes(h.animationName),p=r.value==="mounted"?"enter":"leave";h.target===t.value&&v&&(i(`after-${p}`),l("ANIMATION_END")),h.target===t.value&&m==="none"&&l("ANIMATION_END")},c=h=>{h.target===t.value&&(o.value=Fo(t.value))},u=we(t,(h,m)=>{h?(n.value=getComputedStyle(h),h.addEventListener("animationstart",c),h.addEventListener("animationcancel",a),h.addEventListener("animationend",a)):(l("ANIMATION_END"),m==null||m.removeEventListener("animationstart",c),m==null||m.removeEventListener("animationcancel",a),m==null||m.removeEventListener("animationend",a))},{immediate:!0}),d=we(r,()=>{const h=Fo(t.value);o.value=r.value==="mounted"?h:"none"});return Kn(()=>{u(),d()}),{isPresent:J(()=>["mounted","unmountSuspended"].includes(r.value))}}function Fo(e){return e&&getComputedStyle(e).animationName||"none"}const ks=k({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var o;const{present:s,forceMount:r}=Vt(e),l=B(),{isPresent:i}=Pm(s,l);n({present:i});let a=t.default({present:i});a=Ms(a||[]);const c=gt();if(a&&(a==null?void 0:a.length)>1){const u=(o=c==null?void 0:c.parent)!=null&&o.type.name?`<${c.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` 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(d=>` - ${d}`).join(` +`)].join(` +`))}return()=>r.value||s.value||i.value?Yt(t.default({present:i})[0],{ref:u=>{const d=Et(u);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-radix-popper-content-wrapper")?l.value=d.firstElementChild:l.value=d),d}}):null}}),[an,Rm]=at("DialogRoot"),Za=k({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=wo(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=B(),r=B(),{modal:l}=Vt(n);return Rm({open:o,modal:l,openModal:()=>{o.value=!0},onOpenChange:i=>{o.value=i},onOpenToggle:()=>{o.value=!o.value},contentId:"",titleId:"",descriptionId:"",triggerElement:s,contentElement:r}),(i,a)=>j(i.$slots,"default",{open:f(o)})}}),Qa=k({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=um();return(n,o)=>f(t)||n.forceMount?(S(),L(bs,{key:0,to:n.to,disabled:n.disabled},[j(n.$slots,"default")],8,["to","disabled"])):De("",!0)}}),eu=k({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(S(),L(f(Qa),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),Mm="dismissableLayer.pointerDownOutside",Dm="dismissableLayer.focusOutside";function tu(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),s=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&o===n||s.indexOf(o){});return Ue(i=>{if(!Ot)return;const a=u=>Re(this,null,function*(){const d=u.target;if(t!=null&&t.value){if(tu(t.value,d)){s.value=!1;return}if(u.target&&!s.value){let h=function(){Wa(Mm,e,m)};const m={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",r.value),r.value=h,o.addEventListener("click",r.value,{once:!0})):h()}else o.removeEventListener("click",r.value);s.value=!1}}),c=window.setTimeout(()=>{o.addEventListener("pointerdown",a)},0);i(()=>{window.clearTimeout(c),o.removeEventListener("pointerdown",a),o.removeEventListener("click",r.value)})}),{onPointerDownCapture:()=>s.value=!0}}function km(e,t){var r;var n;const o=(r=(n=t==null?void 0:t.value)==null?void 0:n.ownerDocument)!=null?r:globalThis==null?void 0:globalThis.document,s=B(!1);return Ue(l=>{if(!Ot)return;const i=a=>Re(this,null,function*(){t!=null&&t.value&&(yield Ye(),!(!t.value||tu(t.value,a.target))&&a.target&&!s.value&&Wa(Dm,e,{originalEvent:a}))});o.addEventListener("focusin",i),l(()=>o.removeEventListener("focusin",i))}),{onFocusCapture:()=>s.value=!0,onBlurCapture:()=>s.value=!1}}const dt=_o({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nu=k({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:s,currentElement:r}=me(),l=J(()=>{var p;var v;return(p=(v=r.value)==null?void 0:v.ownerDocument)!=null?p:globalThis.document}),i=J(()=>dt.layersRoot),a=J(()=>r.value?Array.from(i.value).indexOf(r.value):-1),c=J(()=>dt.layersWithOutsidePointerEventsDisabled.size>0),u=J(()=>{const v=Array.from(i.value),[p]=[...dt.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(p);return a.value>=b}),d=Im(v=>Re(this,null,function*(){const p=[...dt.branches].some(b=>b==null?void 0:b.contains(v.target));!u.value||p||(o("pointerDownOutside",v),o("interactOutside",v),yield Ye(),v.defaultPrevented||o("dismiss"))}),r),h=km(v=>{[...dt.branches].some(p=>p==null?void 0:p.contains(v.target))||(o("focusOutside",v),o("interactOutside",v),v.defaultPrevented||o("dismiss"))},r);el("Escape",v=>{a.value===i.value.size-1&&(o("escapeKeyDown",v),v.defaultPrevented||o("dismiss"))});let m;return Ue(v=>{r.value&&(n.disableOutsidePointerEvents&&(dt.layersWithOutsidePointerEventsDisabled.size===0&&(m=l.value.body.style.pointerEvents,l.value.body.style.pointerEvents="none"),dt.layersWithOutsidePointerEventsDisabled.add(r.value)),i.value.add(r.value),v(()=>{n.disableOutsidePointerEvents&&dt.layersWithOutsidePointerEventsDisabled.size===1&&(l.value.body.style.pointerEvents=m)}))}),Ue(v=>{v(()=>{r.value&&(i.value.delete(r.value),dt.layersWithOutsidePointerEventsDisabled.delete(r.value))})}),(v,p)=>(S(),L(f(ye),{ref:f(s),"as-child":v.asChild,as:v.as,"data-dismissable-layer":"",style:on({pointerEvents:c.value?u.value?"auto":"none":void 0}),onFocusCapture:f(h).onFocusCapture,onBlurCapture:f(h).onBlurCapture,onPointerdownCapture:f(d).onPointerDownCapture},{default:T(()=>[j(v.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Bm=k({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=me();return Ge(()=>{dt.branches.add(o.value)}),Kn(()=>{dt.branches.delete(o.value)}),(s,r)=>(S(),L(f(ye),oe({ref:f(n)},t),{default:T(()=>[j(s.$slots,"default")]),_:3},16))}}),er="focusScope.autoFocusOnMount",tr="focusScope.autoFocusOnUnmount",ri={bubbles:!1,cancelable:!0};function Ho(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Kt(o,{select:t}),document.activeElement!==n)return!0}function Fm(e){const t=tl(e),n=li(t,e),o=li(t.reverse(),e);return[n,o]}function tl(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const s=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||s?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function li(e,t){for(const n of e)if(!Lm(n,{upTo:t}))return n}function Lm(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 Nm(e){return e instanceof HTMLInputElement&&"select"in e}function Kt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Nm(e)&&t&&e.select()}}const Vm=Xp(()=>B([]));function $m(){const e=Vm();return{add(t){const n=e.value[0];t!==n&&(n==null||n.pause()),e.value=ii(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=ii(e.value,t),(n=e.value[0])==null||n.resume()}}}function ii(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function jm(e){return e.filter(t=>t.tagName!=="A")}const ou=k({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:s,currentElement:r}=me(),l=B(null),i=$m(),a=_o({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Ue(u=>{if(!Ot)return;const d=r.value;if(!n.trapped)return;function h(b){if(a.paused||!d)return;const g=b.target;d.contains(g)?l.value=g:Kt(l.value,{select:!0})}function m(b){if(a.paused||!d)return;const g=b.relatedTarget;g!==null&&(d.contains(g)||Kt(l.value,{select:!0}))}function v(b){d.contains(l.value)||Kt(d)}document.addEventListener("focusin",h),document.addEventListener("focusout",m);const p=new MutationObserver(v);d&&p.observe(d,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",m),p.disconnect()})}),Ue(u=>Re(this,null,function*(){const d=r.value;if(yield Ye(),!d)return;i.add(a);const h=document.activeElement;if(!d.contains(h)){const m=new CustomEvent(er,ri);d.addEventListener(er,v=>o("mountAutoFocus",v)),d.dispatchEvent(m),m.defaultPrevented||(Ho(jm(tl(d)),{select:!0}),document.activeElement===h&&Kt(d))}u(()=>{d.removeEventListener(er,p=>o("mountAutoFocus",p));const m=new CustomEvent(tr,ri),v=p=>{o("unmountAutoFocus",p)};d.addEventListener(tr,v),d.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||Kt(h!=null?h:document.body,{select:!0}),d.removeEventListener(tr,v),i.remove(a)},0)})}));function c(u){if(!n.loop&&!n.trapped||a.paused)return;const d=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,h=document.activeElement;if(d&&h){const m=u.currentTarget,[v,p]=Fm(m);v&&p?!u.shiftKey&&h===p?(u.preventDefault(),n.loop&&Kt(v,{select:!0})):u.shiftKey&&h===v&&(u.preventDefault(),n.loop&&Kt(p,{select:!0})):h===m&&u.preventDefault()}}return(u,d)=>(S(),L(f(ye),{ref_key:"currentRef",ref:s,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:c},{default:T(()=>[j(u.$slots,"default")]),_:3},8,["as-child","as"]))}});function Um(e){return e?"open":"closed"}function ai(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}const su=k({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=an(),{forwardRef:r,currentElement:l}=me();return s.titleId||(s.titleId=ls(void 0,"radix-vue-dialog-title")),s.descriptionId||(s.descriptionId=ls(void 0,"radix-vue-dialog-description")),Ge(()=>{s.contentElement=l,document.activeElement!==document.body&&(s.triggerElement.value=document.activeElement)}),(i,a)=>(S(),L(f(ou),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:a[5]||(a[5]=c=>o("openAutoFocus",c)),onUnmountAutoFocus:a[6]||(a[6]=c=>o("closeAutoFocus",c))},{default:T(()=>[F(f(nu),oe({id:f(s).contentId,ref:f(r),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":f(s).descriptionId,"aria-labelledby":f(s).titleId,"data-state":f(Um)(f(s).open.value)},i.$attrs,{onDismiss:a[0]||(a[0]=c=>f(s).onOpenChange(!1)),onEscapeKeyDown:a[1]||(a[1]=c=>o("escapeKeyDown",c)),onFocusOutside:a[2]||(a[2]=c=>o("focusOutside",c)),onInteractOutside:a[3]||(a[3]=c=>o("interactOutside",c)),onPointerDownOutside:a[4]||(a[4]=c=>o("pointerDownOutside",c))}),{default:T(()=>[j(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Wm=k({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=an(),r=Is(o),{forwardRef:l,currentElement:i}=me();return Ya(i),(a,c)=>(S(),L(su,oe($($({},n),f(r)),{ref:f(l),"trap-focus":f(s).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:c[0]||(c[0]=u=>{var d;u.defaultPrevented||(u.preventDefault(),(d=f(s).triggerElement.value)==null||d.focus())}),onPointerDownOutside:c[1]||(c[1]=u=>{const d=u.detail.originalEvent,h=d.button===0&&d.ctrlKey===!0;(d.button===2||h)&&u.preventDefault()}),onFocusOutside:c[2]||(c[2]=u=>{u.preventDefault()})}),{default:T(()=>[j(a.$slots,"default")]),_:3},16,["trap-focus"]))}}),Hm=k({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=Is(t);me();const s=an(),r=B(!1),l=B(!1);return(i,a)=>(S(),L(su,oe($($({},n),f(o)),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:a[0]||(a[0]=c=>{var u;c.defaultPrevented||(r.value||(u=f(s).triggerElement.value)==null||u.focus(),c.preventDefault()),r.value=!1,l.value=!1}),onInteractOutside:a[1]||(a[1]=c=>{var u;c.defaultPrevented||(r.value=!0,c.detail.originalEvent.type==="pointerdown"&&(l.value=!0));const d=c.target;(u=f(s).triggerElement.value)!=null&&u.contains(d)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&l.value&&c.preventDefault()})}),{default:T(()=>[j(i.$slots,"default")]),_:3},16))}}),ru=k({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=an(),r=Is(o),{forwardRef:l}=me();return(i,a)=>(S(),L(f(ks),{present:i.forceMount||f(s).open.value},{default:T(()=>[f(s).modal.value?(S(),L(Wm,oe({key:0,ref:f(l)},$($($({},n),f(r)),i.$attrs)),{default:T(()=>[j(i.$slots,"default")]),_:3},16)):(S(),L(Hm,oe({key:1,ref:f(l)},$($($({},n),f(r)),i.$attrs)),{default:T(()=>[j(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),zm=k({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(e){const t=an();return Ga(!0),me(),(n,o)=>(S(),L(f(ye),{as:n.as,"as-child":n.asChild,"data-state":f(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:T(()=>[j(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),lu=k({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=an(),{forwardRef:n}=me();return(o,s)=>{var r;return(r=f(t))!=null&&r.modal.value?(S(),L(f(ks),{key:0,present:o.forceMount||f(t).open.value},{default:T(()=>[F(zm,oe(o.$attrs,{ref:f(n),as:o.as,"as-child":o.asChild}),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):De("",!0)}}}),iu=k({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;me();const n=an();return(o,s)=>(S(),L(f(ye),oe(t,{type:o.as==="button"?"button":void 0,onClick:s[0]||(s[0]=r=>f(n).onOpenChange(!1))}),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["type"]))}}),au=k({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(e){const t=e,n=an();return me(),(o,s)=>(S(),L(f(ye),oe(t,{id:f(n).titleId}),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["id"]))}}),[uu,Km]=at("PopperRoot"),Gm=k({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=B();return Km({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>j(n.$slots,"default")}}),Jm=k({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{forwardRef:n,currentElement:o}=me(),s=uu();return Ue(()=>{var r;s.onAnchorChange((r=t.element)!=null?r:o.value)}),(r,l)=>(S(),L(f(ye),{ref:f(n),as:r.as,"as-child":r.asChild},{default:T(()=>[j(r.$slots,"default")]),_:3},8,["as","as-child"]))}});function qm(e){return e!==null}function Ym(e){return{name:"transformOrigin",options:e,fn(t){var x,C;var n,o,s;const{placement:r,rects:l,middlewareData:i}=t,a=((n=i.arrow)==null?void 0:n.centerOffset)!==0,c=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[d,h]=Ar(r),m={start:"0%",center:"50%",end:"100%"}[h],v=((x=(o=i.arrow)==null?void 0:o.x)!=null?x:0)+c/2,p=((C=(s=i.arrow)==null?void 0:s.y)!=null?C:0)+u/2;let b="",g="";return d==="bottom"?(b=a?m:`${v}px`,g=`${-u}px`):d==="top"?(b=a?m:`${v}px`,g=`${l.floating.height+u}px`):d==="right"?(b=`${-u}px`,g=a?m:`${p}px`):d==="left"&&(b=`${l.floating.width+u}px`,g=a?m:`${p}px`),{data:{x:b,y:g}}}}}function Ar(e){const[t,n="center"]=e.split("-");return[t,n]}const Xm={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[xg,Zm]=at("PopperContent"),Qm=k({inheritAttrs:!1,__name:"PopperContent",props:Rc({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},$({},Xm)),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,s=uu(),{forwardRef:r,currentElement:l}=me(),i=B(),a=B(),{width:c,height:u}=Am(a),d=J(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),h=J(()=>typeof n.collisionPadding=="number"?n.collisionPadding:$({top:0,right:0,bottom:0,left:0},n.collisionPadding)),m=J(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),v=J(()=>({padding:h.value,boundary:m.value.filter(qm),altBoundary:m.value.length>0})),p=Yp(()=>[Vp({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&ei($({},v.value)),n.avoidCollisions&&$p($({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Hp():void 0},v.value)),!n.prioritizePosition&&n.avoidCollisions&&ei($({},v.value)),jp(Pe($({},v.value),{apply:({elements:U,rects:q,availableWidth:G,availableHeight:se})=>{const{width:fe,height:be}=q.reference,le=U.floating.style;le.setProperty("--radix-popper-available-width",`${G}px`),le.setProperty("--radix-popper-available-height",`${se}px`),le.setProperty("--radix-popper-anchor-width",`${fe}px`),le.setProperty("--radix-popper-anchor-height",`${be}px`)}})),a.value&&Gp({element:a.value,padding:n.arrowPadding}),Ym({arrowWidth:c.value,arrowHeight:u.value}),n.hideWhenDetached&&Up($({strategy:"referenceHidden"},v.value))]),{floatingStyles:b,placement:g,isPositioned:x,middlewareData:C}=Jp(s.anchor,i,{strategy:"fixed",placement:d,whileElementsMounted:(...U)=>Np(...U,{animationFrame:n.updatePositionStrategy==="always"}),middleware:p}),_=J(()=>Ar(g.value)[0]),A=J(()=>Ar(g.value)[1]);Yc(()=>{x.value&&o("placed")});const O=J(()=>{var U;return((U=C.value.arrow)==null?void 0:U.centerOffset)!==0}),M=B("");Ue(()=>{l.value&&(M.value=window.getComputedStyle(l.value).zIndex)});const H=J(()=>{var q;var U;return(q=(U=C.value.arrow)==null?void 0:U.x)!=null?q:0}),N=J(()=>{var q;var U;return(q=(U=C.value.arrow)==null?void 0:U.y)!=null?q:0});return Zm({placedSide:_,onArrowChange:U=>a.value=U,arrowX:H,arrowY:N,shouldHideArrow:O}),(U,q)=>{var G,se,fe;return S(),ue("div",{ref_key:"floatingRef",ref:i,"data-radix-popper-content-wrapper":"",style:on($(Pe($({},f(b)),{transform:f(x)?f(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:M.value,"--radix-popper-transform-origin":[(G=f(C).transformOrigin)==null?void 0:G.x,(se=f(C).transformOrigin)==null?void 0:se.y].join(" ")}),((fe=f(C).hide)==null?void 0:fe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}))},[F(f(ye),oe({ref:f(r)},U.$attrs,{"as-child":n.asChild,as:U.as,"data-side":_.value,"data-align":A.value,style:{animation:f(x)?void 0:"none"}}),{default:T(()=>[j(U.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),nl=k({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return me(),(t,n)=>(S(),L(f(ye),{as:t.as,"as-child":t.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:T(()=>[j(t.$slots,"default")]),_:3},8,["as","as-child"]))}});function eh(e){const t=Ds({nonce:B()});return J(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}const th=["default-value"],nh=k({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(e){const t=e,{value:n}=Vt(t),o=B();return(s,r)=>(S(),L(f(nl),{"as-child":""},{default:T(()=>[pn(X("select",oe({ref_key:"selectElement",ref:o},t,{"onUpdate:modelValue":r[0]||(r[0]=l=>Me(n)?n.value=l:null),"default-value":f(n)}),[j(s.$slots,"default")],16,th),[[Fd,f(n)]])]),_:3}))}}),oh={key:0,value:""},[xn,cu]=at("SelectRoot"),[sh,rh]=at("SelectRoot"),lh=k({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const n=e,o=t,s=wo(n,"modelValue",o,{defaultValue:n.defaultValue,passive:n.modelValue===void 0}),r=wo(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),l=B(),i=B(),a=B({x:0,y:0}),c=B(!1),{required:u,disabled:d,dir:h}=Vt(n),m=gm(h);cu({triggerElement:l,onTriggerChange:g=>{l.value=g},valueElement:i,onValueElementChange:g=>{i.value=g},valueElementHasChildren:c,onValueElementHasChildrenChange:g=>{c.value=g},contentId:"",modelValue:s,onValueChange:g=>{s.value=g},open:r,required:u,onOpenChange:g=>{r.value=g},dir:m,triggerPointerDownPosRef:a,disabled:d});const v=Ja(l),p=B(new Set),b=J(()=>Array.from(p.value).map(g=>{var x;return(x=g.props)==null?void 0:x.value}).join(";"));return rh({onNativeOptionAdd:g=>{p.value.add(g)},onNativeOptionRemove:g=>{p.value.delete(g)}}),(g,x)=>(S(),L(f(Gm),null,{default:T(()=>[j(g.$slots,"default",{modelValue:f(s),open:f(r)}),f(v)?(S(),L(nh,oe({key:b.value},g.$attrs,{"aria-hidden":"true",tabindex:"-1",required:f(u),name:g.name,autocomplete:g.autocomplete,disabled:f(d),value:f(s),onChange:x[0]||(x[0]=C=>s.value=C.target.value)}),{default:T(()=>[f(s)===void 0?(S(),ue("option",oh)):De("",!0),(S(!0),ue(Ee,null,_s(Array.from(p.value),C=>{var _;return S(),L(Yo(C),oe({ref_for:!0},C.props,{key:(_=C.key)!=null?_:""}),null,16)}),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):De("",!0)]),_:3}))}}),ih=[" ","Enter","ArrowUp","ArrowDown"],ah=[" ","Enter"],Dt=10;function du(e){return e===""||qp(e)}const uh=k({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=xn(),o=J(()=>{var m;return((m=n.disabled)==null?void 0:m.value)||t.disabled}),{forwardRef:s,currentElement:r}=me();n.contentId||(n.contentId=ls(void 0,"radix-vue-select-content")),Ge(()=>{n.triggerElement=r});const{injectCollection:l}=To(),i=l(),{search:a,handleTypeaheadSearch:c,resetTypeahead:u}=Xa(i);function d(){o.value||(n.onOpenChange(!0),u())}function h(m){d(),n.triggerPointerDownPosRef.value={x:Math.round(m.pageX),y:Math.round(m.pageY)}}return(m,v)=>(S(),L(f(Jm),{"as-child":""},{default:T(()=>{var p,b,g,x;return[F(f(ye),{ref:f(s),role:"combobox",type:m.as==="button"?"button":void 0,"aria-controls":f(n).contentId,"aria-expanded":f(n).open.value||!1,"aria-required":(p=f(n).required)==null?void 0:p.value,"aria-autocomplete":"none",disabled:o.value,dir:(b=f(n))==null?void 0:b.dir.value,"data-state":(g=f(n))!=null&&g.open.value?"open":"closed","data-disabled":o.value?"":void 0,"data-placeholder":f(du)((x=f(n).modelValue)==null?void 0:x.value)?"":void 0,"as-child":m.asChild,as:m.as,onClick:v[0]||(v[0]=C=>{var _;(_=C==null?void 0:C.currentTarget)==null||_.focus()}),onPointerdown:v[1]||(v[1]=C=>{if(C.pointerType==="touch")return C.preventDefault();const _=C.target;_.hasPointerCapture(C.pointerId)&&_.releasePointerCapture(C.pointerId),C.button===0&&C.ctrlKey===!1&&(h(C),C.preventDefault())}),onPointerup:v[2]||(v[2]=vn(C=>{C.pointerType==="touch"&&h(C)},["prevent"])),onKeydown:v[3]||(v[3]=C=>{const _=f(a)!=="";!(C.ctrlKey||C.altKey||C.metaKey)&&C.key.length===1&&_&&C.key===" "||(f(c)(C.key),f(ih).includes(C.key)&&(d(),C.preventDefault()))})},{default:T(()=>[j(m.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),ch=k({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(e){const t=e;return(n,o)=>(S(),L(f(Qa),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),[ol,dh]=at("SelectItemAlignedPosition"),fh=k({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(e,{emit:t}){const n=e,o=t,{injectCollection:s}=To(),r=xn(),l=_n(),i=s(),a=B(!1),c=B(!0),u=B(),{forwardRef:d,currentElement:h}=me(),{viewport:m,selectedItem:v,selectedItemText:p,focusSelectedItem:b}=l;function g(){if(r.triggerElement.value&&r.valueElement.value&&u.value&&h.value&&m!=null&&m.value&&v!=null&&v.value&&p!=null&&p.value){const _=r.triggerElement.value.getBoundingClientRect(),A=h.value.getBoundingClientRect(),O=r.valueElement.value.getBoundingClientRect(),M=p.value.getBoundingClientRect();if(r.dir.value!=="rtl"){const lt=M.left-A.left,Ze=O.left-lt,Ut=_.left-Ze,Qe=_.width+Ut,En=Math.max(Qe,A.width),Sn=window.innerWidth-Dt,y=ni(Ze,Dt,Sn-En);u.value.style.minWidth=`${Qe}px`,u.value.style.left=`${y}px`}else{const lt=A.right-M.right,Ze=window.innerWidth-O.right-lt,Ut=window.innerWidth-_.right-Ze,Qe=_.width+Ut,En=Math.max(Qe,A.width),Sn=window.innerWidth-Dt,y=ni(Ze,Dt,Sn-En);u.value.style.minWidth=`${Qe}px`,u.value.style.right=`${y}px`}const H=i.value,N=window.innerHeight-Dt*2,U=m.value.scrollHeight,q=window.getComputedStyle(h.value),G=Number.parseInt(q.borderTopWidth,10),se=Number.parseInt(q.paddingTop,10),fe=Number.parseInt(q.borderBottomWidth,10),be=Number.parseInt(q.paddingBottom,10),le=G+se+U+be+fe,ie=Math.min(v.value.offsetHeight*5,le),ne=window.getComputedStyle(m.value),Te=Number.parseInt(ne.paddingTop,10),ke=Number.parseInt(ne.paddingBottom,10),ce=_.top+_.height/2-Dt,Je=N-ce,Cn=v.value.offsetHeight/2,Ls=v.value.offsetTop+Cn,An=G+se+Ls,un=le-An;if(An<=ce){const lt=v.value===H[H.length-1];u.value.style.bottom="0px";const Ze=h.value.clientHeight-m.value.offsetTop-m.value.offsetHeight,Ut=Math.max(Je,Cn+(lt?ke:0)+Ze+fe),Qe=An+Ut;u.value.style.height=`${Qe}px`}else{const lt=v.value===H[0];u.value.style.top="0px";const Ze=Math.max(ce,G+m.value.offsetTop+(lt?Te:0)+Cn)+un;u.value.style.height=`${Ze}px`,m.value.scrollTop=An-ce+m.value.offsetTop}u.value.style.margin=`${Dt}px 0`,u.value.style.minHeight=`${ie}px`,u.value.style.maxHeight=`${N}px`,o("placed"),requestAnimationFrame(()=>a.value=!0)}}const x=B("");Ge(()=>Re(this,null,function*(){yield Ye(),g(),h.value&&(x.value=window.getComputedStyle(h.value).zIndex)}));function C(_){_&&c.value===!0&&(g(),b==null||b(),c.value=!1)}return dh({contentWrapper:u,shouldExpandOnScrollRef:a,onScrollButtonChange:C}),(_,A)=>(S(),ue("div",{ref_key:"contentWrapperElement",ref:u,style:on({display:"flex",flexDirection:"column",position:"fixed",zIndex:x.value})},[F(f(ye),oe({ref:f(d),style:{boxSizing:"border-box",maxHeight:"100%"}},$($({},_.$attrs),n)),{default:T(()=>[j(_.$slots,"default")]),_:3},16)],4))}}),ph=k({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:Dt},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=ln(e);return(n,o)=>(S(),L(f(Qm),oe(f(t),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),qn={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[_n,mh]=at("SelectContent"),hh=k({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,s=xn();ym(),Ga(n.bodyLock);const{createCollection:r}=To(),l=B();Ya(l);const i=r(l),{search:a,handleTypeaheadSearch:c}=Xa(i),u=B(),d=B(),h=B(),m=B(!1),v=B(!1);function p(){d.value&&l.value&&ai([d.value,l.value])}we(m,()=>{p()});const{onOpenChange:b,triggerPointerDownPosRef:g}=s;Ue(A=>{if(!l.value)return;let O={x:0,y:0};const M=N=>{var G,se;var U,q;O={x:Math.abs(Math.round(N.pageX)-((G=(U=g.value)==null?void 0:U.x)!=null?G:0)),y:Math.abs(Math.round(N.pageY)-((se=(q=g.value)==null?void 0:q.y)!=null?se:0))}},H=N=>{var U;N.pointerType!=="touch"&&(O.x<=10&&O.y<=10?N.preventDefault():(U=l.value)!=null&&U.contains(N.target)||b(!1),document.removeEventListener("pointermove",M),g.value=null)};g.value!==null&&(document.addEventListener("pointermove",M),document.addEventListener("pointerup",H,{capture:!0,once:!0})),A(()=>{document.removeEventListener("pointermove",M),document.removeEventListener("pointerup",H,{capture:!0})})});function x(A){const O=A.ctrlKey||A.altKey||A.metaKey;if(A.key==="Tab"&&A.preventDefault(),!O&&A.key.length===1&&c(A.key),["ArrowUp","ArrowDown","Home","End"].includes(A.key)){let M=i.value;if(["ArrowUp","End"].includes(A.key)&&(M=M.slice().reverse()),["ArrowUp","ArrowDown"].includes(A.key)){const H=A.target,N=M.indexOf(H);M=M.slice(N+1)}setTimeout(()=>ai(M)),A.preventDefault()}}const C=J(()=>n.position==="popper"?n:{}),_=ln(C.value);return mh({content:l,viewport:u,onViewportChange:A=>{u.value=A},itemRefCallback:(A,O,M)=>{var H,N;const U=!v.value&&!M;(((H=s.modelValue)==null?void 0:H.value)!==void 0&&((N=s.modelValue)==null?void 0:N.value)===O||U)&&(d.value=A,U&&(v.value=!0))},selectedItem:d,selectedItemText:h,onItemLeave:()=>{var A;(A=l.value)==null||A.focus()},itemTextRefCallback:(A,O,M)=>{var H,N;const U=!v.value&&!M;(((H=s.modelValue)==null?void 0:H.value)!==void 0&&((N=s.modelValue)==null?void 0:N.value)===O||U)&&(h.value=A)},focusSelectedItem:p,position:n.position,isPositioned:m,searchRef:a}),(A,O)=>(S(),L(f(ou),{"as-child":"",onMountAutoFocus:O[6]||(O[6]=vn(()=>{},["prevent"])),onUnmountAutoFocus:O[7]||(O[7]=M=>{var H;o("closeAutoFocus",M),!M.defaultPrevented&&((H=f(s).triggerElement.value)==null||H.focus({preventScroll:!0}),M.preventDefault())})},{default:T(()=>[F(f(nu),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:O[2]||(O[2]=vn(()=>{},["prevent"])),onDismiss:O[3]||(O[3]=M=>f(s).onOpenChange(!1)),onEscapeKeyDown:O[4]||(O[4]=M=>o("escapeKeyDown",M)),onPointerDownOutside:O[5]||(O[5]=M=>o("pointerDownOutside",M))},{default:T(()=>[(S(),L(Yo(A.position==="popper"?ph:fh),oe($($({},A.$attrs),f(_)),{id:f(s).contentId,ref:M=>{l.value=f(Et)(M)},role:"listbox","data-state":f(s).open.value?"open":"closed",dir:f(s).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:O[0]||(O[0]=vn(()=>{},["prevent"])),onPlaced:O[1]||(O[1]=M=>m.value=!0),onKeydown:x}),{default:T(()=>[j(A.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),vh=k({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(e){return cu(e.context),(t,n)=>j(t.$slots,"default")}}),gh={key:1},yh=k({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=jt(n,t),s=xn(),r=B();Ge(()=>{r.value=new DocumentFragment});const l=B(),i=J(()=>n.forceMount||s.open.value);return(a,c)=>{var u;return i.value?(S(),L(f(ks),{key:0,ref_key:"presenceRef",ref:l,present:!0},{default:T(()=>[F(hh,St(vt($($({},f(o)),a.$attrs))),{default:T(()=>[j(a.$slots,"default")]),_:3},16)]),_:3},512)):!((u=l.value)!=null&&u.present)&&r.value?(S(),ue("div",gh,[(S(),L(bs,{to:r.value},[F(vh,{context:f(s)},{default:T(()=>[j(a.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):De("",!0)}}}),[fu,bh]=at("SelectItem"),wh=k({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(e){var p;const t=e,{disabled:n}=Vt(t),o=xn(),s=_n(qn),{forwardRef:r,currentElement:l}=me(),i=J(()=>{var b;return((b=o.modelValue)==null?void 0:b.value)===t.value}),a=B(!1),c=B((p=t.textValue)!=null?p:""),u=ls(void 0,"radix-vue-select-item-text");function d(b){return Re(this,null,function*(){yield Ye(),!(b!=null&&b.defaultPrevented)&&(n.value||(o.onValueChange(t.value),o.onOpenChange(!1)))})}function h(b){return Re(this,null,function*(){var g;yield Ye(),!b.defaultPrevented&&(n.value?(g=s.onItemLeave)==null||g.call(s):b.currentTarget.focus({preventScroll:!0}))})}function m(b){return Re(this,null,function*(){var g;yield Ye(),!b.defaultPrevented&&b.currentTarget===document.activeElement&&((g=s.onItemLeave)==null||g.call(s))})}function v(b){return Re(this,null,function*(){var g;yield Ye(),!(b.defaultPrevented||((g=s.searchRef)==null?void 0:g.value)!==""&&b.key===" ")&&(ah.includes(b.key)&&d(),b.key===" "&&b.preventDefault())})}if(t.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return Ge(()=>{l.value&&s.itemRefCallback(l.value,t.value,t.disabled)}),bh({value:t.value,disabled:n,textId:u,isSelected:i,onItemTextChange:b=>{var g;c.value=((g=c.value||(b==null?void 0:b.textContent))!=null?g:"").trim()}}),(b,g)=>(S(),L(f(ye),{ref:f(r),role:"option","data-radix-vue-collection-item":"","aria-labelledby":f(u),"data-highlighted":a.value?"":void 0,"aria-selected":i.value,"data-state":i.value?"checked":"unchecked","aria-disabled":f(n)||void 0,"data-disabled":f(n)?"":void 0,tabindex:f(n)?void 0:-1,as:b.as,"as-child":b.asChild,onFocus:g[0]||(g[0]=x=>a.value=!0),onBlur:g[1]||(g[1]=x=>a.value=!1),onPointerup:d,onPointerdown:g[2]||(g[2]=x=>{x.currentTarget.focus({preventScroll:!0})}),onTouchend:g[3]||(g[3]=vn(()=>{},["prevent","stop"])),onPointermove:h,onPointerleave:m,onKeydown:v},{default:T(()=>[j(b.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),xh=k({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=fu();return(o,s)=>f(n).isSelected.value?(S(),L(f(ye),oe({key:0,"aria-hidden":"true"},t),{default:T(()=>[j(o.$slots,"default")]),_:3},16)):De("",!0)}}),_h=k({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=e,n=xn(),o=_n(qn),s=sh(),r=fu(),{forwardRef:l,currentElement:i}=me(),a=J(()=>{var c;return Yt("option",{key:r.value,value:r.value,disabled:r.disabled.value,textContent:(c=i.value)==null?void 0:c.textContent})});return Ge(()=>{i.value&&(r.onItemTextChange(i.value),o.itemTextRefCallback(i.value,r.value,r.disabled.value),s.onNativeOptionAdd(a.value))}),xs(()=>{s.onNativeOptionRemove(a.value)}),(c,u)=>(S(),ue(Ee,null,[F(f(ye),oe({id:f(r).textId,ref:f(l)},$($({},t),c.$attrs)),{default:T(()=>[j(c.$slots,"default")]),_:3},16,["id"]),f(r).isSelected.value&&f(n).valueElement.value&&!f(n).valueElementHasChildren.value?(S(),L(bs,{key:0,to:f(n).valueElement.value},[j(c.$slots,"default")],8,["to"])):De("",!0)],64))}}),Ch=k({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(e){const t=e,{nonce:n}=Vt(t),o=eh(n),s=_n(qn),r=s.position==="item-aligned"?ol():void 0,{forwardRef:l,currentElement:i}=me();Ge(()=>{s==null||s.onViewportChange(i.value)});const a=B(0);function c(u){const d=u.currentTarget,{shouldExpandOnScrollRef:h,contentWrapper:m}=r!=null?r:{};if(h!=null&&h.value&&m!=null&&m.value){const v=Math.abs(a.value-d.scrollTop);if(v>0){const p=window.innerHeight-Dt*2,b=Number.parseFloat(m.value.style.minHeight),g=Number.parseFloat(m.value.style.height),x=Math.max(b,g);if(x0?A:0,m.value.style.justifyContent="flex-end")}}}a.value=d.scrollTop}return(u,d)=>(S(),ue(Ee,null,[F(f(ye),oe({ref:f(l),"data-radix-select-viewport":"",role:"presentation"},$($({},u.$attrs),t),{style:{position:"relative",flex:1,overflow:"auto"},onScroll:c}),{default:T(()=>[j(u.$slots,"default")]),_:3},16),F(f(ye),{as:"style",nonce:f(o)},{default:T(()=>[je(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),pu=k({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const n=t,{injectCollection:o}=To(),s=o(),r=_n(qn),l=B(null);function i(){l.value!==null&&(window.clearInterval(l.value),l.value=null)}Ue(()=>{const u=s.value.find(d=>d===document.activeElement);u==null||u.scrollIntoView({block:"nearest"})});function a(){l.value===null&&(l.value=window.setInterval(()=>{n("autoScroll")},50))}function c(){var u;(u=r.onItemLeave)==null||u.call(r),l.value===null&&(l.value=window.setInterval(()=>{n("autoScroll")},50))}return xs(()=>i()),(u,d)=>{var h;return S(),L(f(ye),oe({"aria-hidden":"true",style:{flexShrink:0}},(h=u.$parent)==null?void 0:h.$props,{onPointerdown:a,onPointermove:c,onPointerleave:d[0]||(d[0]=()=>{i()})}),{default:T(()=>[j(u.$slots,"default")]),_:3},16)}}}),Ah=k({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(e){const t=_n(qn),n=t.position==="item-aligned"?ol():void 0,{forwardRef:o,currentElement:s}=me(),r=B(!1);return Ue(l=>{var i,a;if((i=t.viewport)!=null&&i.value&&(a=t.isPositioned)!=null&&a.value){let c=function(){r.value=u.scrollTop>0};const u=t.viewport.value;c(),u.addEventListener("scroll",c),l(()=>u.removeEventListener("scroll",c))}}),we(s,()=>{s.value&&(n==null||n.onScrollButtonChange(s.value))}),(l,i)=>r.value?(S(),L(pu,{key:0,ref:f(o),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:a,selectedItem:c}=f(t);a!=null&&a.value&&c!=null&&c.value&&(a.value.scrollTop=a.value.scrollTop-c.value.offsetHeight)})},{default:T(()=>[j(l.$slots,"default")]),_:3},512)):De("",!0)}}),Eh=k({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(e){const t=_n(qn),n=t.position==="item-aligned"?ol():void 0,{forwardRef:o,currentElement:s}=me(),r=B(!1);return Ue(l=>{var i,a;if((i=t.viewport)!=null&&i.value&&(a=t.isPositioned)!=null&&a.value){let c=function(){const d=u.scrollHeight-u.clientHeight;r.value=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c))}}),we(s,()=>{s.value&&(n==null||n.onScrollButtonChange(s.value))}),(l,i)=>r.value?(S(),L(pu,{key:0,ref:f(o),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:a,selectedItem:c}=f(t);a!=null&&a.value&&c!=null&&c.value&&(a.value.scrollTop=a.value.scrollTop+c.value.offsetHeight)})},{default:T(()=>[j(l.$slots,"default")]),_:3},512)):De("",!0)}}),Sh=k({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(e){const{forwardRef:t,currentElement:n}=me(),o=xn(),s=Oc();return ta(()=>{var r;const l=!!Ms((r=s==null?void 0:s.default)==null?void 0:r.call(s)).length;o.onValueElementHasChildrenChange(l)}),Ge(()=>{o.valueElement=n}),(r,l)=>(S(),L(f(ye),{ref:f(t),as:r.as,"as-child":r.asChild,style:{pointerEvents:"none"}},{default:T(()=>{var i;return[f(du)((i=f(o).modelValue)==null?void 0:i.value)?(S(),ue(Ee,{key:0},[je(Ke(r.placeholder),1)],64)):j(r.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Th=k({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){return(t,n)=>(S(),L(f(ye),{"aria-hidden":"true",as:t.as,"as-child":t.asChild},{default:T(()=>[j(t.$slots,"default",{},()=>[je("▼")])]),_:3},8,["as","as-child"]))}});function Oh(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Oh();const Ph=["name","disabled","required","value","checked","data-state","data-disabled"],[Rh,Mh]=at("SwitchRoot"),Dh=k({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(e,{emit:t}){const n=e,o=t,{disabled:s}=Vt(n),r=wo(n,"checked",o,{defaultValue:n.defaultChecked,passive:n.checked===void 0});function l(){s.value||(r.value=!r.value)}const{forwardRef:i,currentElement:a}=me(),c=Ja(a),u=J(()=>{var d;return n.id&&a.value?(d=document.querySelector(`[for="${n.id}"]`))==null?void 0:d.innerText:void 0});return Mh({checked:r,toggleCheck:l,disabled:s}),(d,h)=>(S(),ue(Ee,null,[F(f(ye),oe(d.$attrs,{id:d.id,ref:f(i),role:"switch",type:d.as==="button"?"button":void 0,value:d.value,"aria-label":d.$attrs["aria-label"]||u.value,"aria-checked":f(r),"aria-required":d.required,"data-state":f(r)?"checked":"unchecked","data-disabled":f(s)?"":void 0,"as-child":d.asChild,as:d.as,disabled:f(s),onClick:l,onKeydown:$d(vn(l,["prevent"]),["enter"])}),{default:T(()=>[j(d.$slots,"default",{checked:f(r)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),f(c)?(S(),ue("input",{key:0,type:"checkbox",name:d.name,tabindex:"-1","aria-hidden":"true",disabled:f(s),required:d.required,value:d.value,checked:!!f(r),"data-state":f(r)?"checked":"unchecked","data-disabled":f(s)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Ph)):De("",!0)],64))}}),Ih=k({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(e){const t=Rh();return me(),(n,o)=>{var s;return S(),L(f(ye),{"data-state":(s=f(t).checked)!=null&&s.value?"checked":"unchecked","data-disabled":f(t).disabled.value?"":void 0,"as-child":n.asChild,as:n.as},{default:T(()=>[j(n.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[Bs,kh]=at("ToastProvider"),Bh=k({inheritAttrs:!1,__name:"ToastProvider",props:{label:{default:"Notification"},duration:{default:5e3},swipeDirection:{default:"right"},swipeThreshold:{default:50}},setup(e){const t=e,{label:n,duration:o,swipeDirection:s,swipeThreshold:r}=Vt(t),l=B(),i=B(0),a=B(!1),c=B(!1);if(t.label&&typeof t.label=="string"&&!t.label.trim()){const u="Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.";throw new Error(u)}return kh({label:n,duration:o,swipeDirection:s,swipeThreshold:r,toastCount:i,viewport:l,onViewportChange(u){l.value=u},onToastAdd(){i.value++},onToastRemove(){i.value--},isFocusedToastEscapeKeyDownRef:a,isClosePausedRef:c}),(u,d)=>j(u.$slots,"default")}}),Fh="toast.swipeStart",Lh="toast.swipeMove",Nh="toast.swipeCancel",Vh="toast.swipeEnd",Er="toast.viewportPause",Sr="toast.viewportResume";function Lo(e,t,n){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(s)}function ui(e,t,n=0){const o=Math.abs(e.x),s=Math.abs(e.y),r=o>s;return t==="left"||t==="right"?r&&o>n:!r&&s>n}function $h(e){return e.nodeType===e.ELEMENT_NODE}function mu(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),$h(n)){const o=n.ariaHidden||n.hidden||n.style.display==="none",s=n.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const r=n.dataset.radixToastAnnounceAlt;r&&t.push(r)}else t.push(...mu(n))}}),t}const jh=k({__name:"ToastAnnounce",setup(e){const t=Bs(),n=im(1e3),o=B(!1);return Ka(()=>{o.value=!0}),(s,r)=>f(n)||o.value?(S(),L(f(nl),{key:0},{default:T(()=>[je(Ke(f(t).label.value)+" ",1),j(s.$slots,"default")]),_:3})):De("",!0)}}),[Uh,Wh]=at("ToastRoot"),Hh=k({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{},open:{type:Boolean,default:!1},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:s,currentElement:r}=me(),l=Bs(),i=B(null),a=B(null),c=J(()=>n.duration||l.duration.value),u=B(0),d=B(c.value),h=B(0),m=B(c.value),v=Ka(()=>{const x=new Date().getTime()-u.value;m.value=Math.max(d.value-x,0)},{fpsLimit:60});function p(x){!x||x===Number.POSITIVE_INFINITY||Ot&&(window.clearTimeout(h.value),u.value=new Date().getTime(),h.value=window.setTimeout(b,x))}function b(){var x,C;(x=r.value)!=null&&x.contains(document.activeElement)&&((C=l.viewport.value)==null||C.focus()),l.isClosePausedRef.value=!1,o("close")}const g=J(()=>r.value?mu(r.value):null);if(n.type&&!["foreground","background"].includes(n.type)){const x="Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.";throw new Error(x)}return Ue(x=>{const C=l.viewport.value;if(C){const _=()=>{p(d.value),v.resume(),o("resume")},A=()=>{const O=new Date().getTime()-u.value;d.value=d.value-O,window.clearTimeout(h.value),v.pause(),o("pause")};return C.addEventListener(Er,A),C.addEventListener(Sr,_),()=>{C.removeEventListener(Er,A),C.removeEventListener(Sr,_)}}}),we(()=>[n.open,c.value],()=>{d.value=c.value,n.open&&!l.isClosePausedRef.value&&p(c.value)},{immediate:!0}),el("Escape",x=>{o("escapeKeyDown",x),x.defaultPrevented||(l.isFocusedToastEscapeKeyDownRef.value=!0,b())}),Ge(()=>{l.onToastAdd()}),Kn(()=>{l.onToastRemove()}),Wh({onClose:b}),(x,C)=>(S(),ue(Ee,null,[g.value?(S(),L(jh,{key:0,role:"status","aria-live":x.type==="foreground"?"assertive":"polite","aria-atomic":""},{default:T(()=>[je(Ke(g.value),1)]),_:1},8,["aria-live"])):De("",!0),f(l).viewport.value?(S(),L(bs,{key:1,to:f(l).viewport.value},[F(f(ye),oe({ref:f(s),role:"status","aria-live":"off","aria-atomic":"",tabindex:"0","data-radix-vue-collection-item":""},x.$attrs,{as:x.as,"as-child":x.asChild,"data-state":x.open?"open":"closed","data-swipe-direction":f(l).swipeDirection.value,style:{userSelect:"none",touchAction:"none"},onPointerdown:C[0]||(C[0]=vn(_=>{i.value={x:_.clientX,y:_.clientY}},["left"])),onPointermove:C[1]||(C[1]=_=>{if(!i.value)return;const A=_.clientX-i.value.x,O=_.clientY-i.value.y,M=!!a.value,H=["left","right"].includes(f(l).swipeDirection.value),N=["left","up"].includes(f(l).swipeDirection.value)?Math.min:Math.max,U=H?N(0,A):0,q=H?0:N(0,O),G=_.pointerType==="touch"?10:2,se={x:U,y:q},fe={originalEvent:_,delta:se};M?(a.value=se,f(Lo)(f(Lh),be=>o("swipeMove",be),fe)):f(ui)(se,f(l).swipeDirection.value,G)?(a.value=se,f(Lo)(f(Fh),be=>o("swipeStart",be),fe),_.target.setPointerCapture(_.pointerId)):(Math.abs(A)>G||Math.abs(O)>G)&&(i.value=null)}),onPointerup:C[2]||(C[2]=_=>{const A=a.value,O=_.target;if(O.hasPointerCapture(_.pointerId)&&O.releasePointerCapture(_.pointerId),a.value=null,i.value=null,A){const M=_.currentTarget,H={originalEvent:_,delta:A};f(ui)(A,f(l).swipeDirection.value,f(l).swipeThreshold.value)?f(Lo)(f(Vh),N=>o("swipeEnd",N),H):f(Lo)(f(Nh),N=>o("swipeCancel",N),H),M==null||M.addEventListener("click",N=>N.preventDefault(),{once:!0})}})}),{default:T(()=>[j(x.$slots,"default",{remaining:m.value,duration:c.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction"])],8,["to"])):De("",!0)],64))}}),zh=k({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,default:!0},forceMount:{type:Boolean},type:{default:"foreground"},open:{type:Boolean,default:void 0},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:s}=me(),r=wo(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(l,i)=>(S(),L(f(ks),{present:l.forceMount||f(r)},{default:T(()=>[F(Hh,oe({ref:f(s),open:f(r),type:l.type,as:l.as,"as-child":l.asChild,duration:l.duration},l.$attrs,{onClose:i[0]||(i[0]=a=>r.value=!1),onPause:i[1]||(i[1]=a=>o("pause")),onResume:i[2]||(i[2]=a=>o("resume")),onEscapeKeyDown:i[3]||(i[3]=a=>o("escapeKeyDown",a)),onSwipeStart:i[4]||(i[4]=a=>{o("swipeStart",a),a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:i[5]||(i[5]=a=>{const{x:c,y:u}=a.detail.delta,d=a.currentTarget;d.setAttribute("data-swipe","move"),d.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),d.style.setProperty("--radix-toast-swipe-move-y",`${u}px`)}),onSwipeCancel:i[6]||(i[6]=a=>{const c=a.currentTarget;c.setAttribute("data-swipe","cancel"),c.style.removeProperty("--radix-toast-swipe-move-x"),c.style.removeProperty("--radix-toast-swipe-move-y"),c.style.removeProperty("--radix-toast-swipe-end-x"),c.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:i[7]||(i[7]=a=>{const{x:c,y:u}=a.detail.delta,d=a.currentTarget;d.setAttribute("data-swipe","end"),d.style.removeProperty("--radix-toast-swipe-move-x"),d.style.removeProperty("--radix-toast-swipe-move-y"),d.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),d.style.setProperty("--radix-toast-swipe-end-y",`${u}px`),r.value=!1})}),{default:T(({remaining:a,duration:c})=>[j(l.$slots,"default",{remaining:a,duration:c,open:f(r)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),Kh=k({__name:"ToastAnnounceExclude",props:{altText:{},asChild:{type:Boolean},as:{}},setup(e){return(t,n)=>(S(),L(f(ye),{as:t.as,"as-child":t.asChild,"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":t.altText||void 0},{default:T(()=>[j(t.$slots,"default")]),_:3},8,["as","as-child","data-radix-toast-announce-alt"]))}}),Gh=k({__name:"ToastClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e,n=Uh(),{forwardRef:o}=me();return(s,r)=>(S(),L(Kh,{"as-child":""},{default:T(()=>[F(f(ye),oe(t,{ref:f(o),type:s.as==="button"?"button":void 0,onClick:r[0]||(r[0]=l=>f(n).onClose())}),{default:T(()=>[j(s.$slots,"default")]),_:3},16,["type"])]),_:3}))}}),ci=k({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(e,{emit:t}){const n=t,o=Bs();return(s,r)=>(S(),L(f(nl),{"aria-hidden":"true",tabindex:"0",style:{position:"fixed"},onFocus:r[0]||(r[0]=l=>{var i;const a=l.relatedTarget;!((i=f(o).viewport.value)!=null&&i.contains(a))&&n("focusFromOutsideViewport")})},{default:T(()=>[j(s.$slots,"default")]),_:3}))}}),Jh=k({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{default:()=>["F8"]},label:{type:[String,Function],default:"Notifications ({hotkey})"},asChild:{type:Boolean},as:{default:"ol"}},setup(e){const t=e,{hotkey:n,label:o}=Vt(t),{forwardRef:s,currentElement:r}=me(),{createCollection:l}=To(),i=l(r),a=Bs(),c=J(()=>a.toastCount.value>0),u=B(),d=B(),h=J(()=>n.value.join("+").replace(/Key/g,"").replace(/Digit/g,""));el(n.value,()=>{r.value.focus()}),Ge(()=>{a.onViewportChange(r.value)}),Ue(v=>{const p=r.value;if(c.value&&p){const b=()=>{if(!a.isClosePausedRef.value){const A=new CustomEvent(Er);p.dispatchEvent(A),a.isClosePausedRef.value=!0}},g=()=>{if(a.isClosePausedRef.value){const A=new CustomEvent(Sr);p.dispatchEvent(A),a.isClosePausedRef.value=!1}},x=A=>{!p.contains(A.relatedTarget)&&g()},C=()=>{p.contains(document.activeElement)||g()},_=A=>{var O,M,H;const N=A.altKey||A.ctrlKey||A.metaKey;if(A.key==="Tab"&&!N){const U=document.activeElement,q=A.shiftKey;if(A.target===p&&q){(O=u.value)==null||O.focus();return}const G=m({tabbingDirection:q?"backwards":"forwards"}),se=G.findIndex(fe=>fe===U);Ho(G.slice(se+1))?A.preventDefault():q?(M=u.value)==null||M.focus():(H=d.value)==null||H.focus()}};p.addEventListener("focusin",b),p.addEventListener("focusout",x),p.addEventListener("pointermove",b),p.addEventListener("pointerleave",C),p.addEventListener("keydown",_),window.addEventListener("blur",b),window.addEventListener("focus",g),v(()=>{p.removeEventListener("focusin",b),p.removeEventListener("focusout",x),p.removeEventListener("pointermove",b),p.removeEventListener("pointerleave",C),p.removeEventListener("keydown",_),window.removeEventListener("blur",b),window.removeEventListener("focus",g)})}});function m({tabbingDirection:v}){const p=i.value.map(b=>{const g=[b,...tl(b)];return v==="forwards"?g:g.reverse()});return(v==="forwards"?p.reverse():p).flat()}return(v,p)=>(S(),L(f(Bm),{role:"region","aria-label":typeof f(o)=="string"?f(o).replace("{hotkey}",h.value):f(o)(h.value),tabindex:"-1",style:on({pointerEvents:c.value?void 0:"none"})},{default:T(()=>[c.value?(S(),L(ci,{key:0,ref:b=>{u.value=f(Et)(b)},onFocusFromOutsideViewport:p[0]||(p[0]=()=>{const b=m({tabbingDirection:"forwards"});f(Ho)(b)})},null,512)):De("",!0),F(f(ye),oe({ref:f(s),tabindex:"-1",as:v.as,"as-child":v.asChild},v.$attrs),{default:T(()=>[j(v.$slots,"default")]),_:3},16,["as","as-child"]),c.value?(S(),L(ci,{key:1,ref:b=>{d.value=f(Et)(b)},onFocusFromOutsideViewport:p[1]||(p[1]=()=>{const b=m({tabbingDirection:"backwards"});f(Ho)(b)})},null,512)):De("",!0)]),_:3},8,["aria-label","style"]))}}),qh=k({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return me(),(n,o)=>(S(),L(f(ye),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),Yh=k({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return me(),(n,o)=>(S(),L(f(ye),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),Xh=k({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const s=jt(e,t);return(r,l)=>(S(),L(f(Za),St(vt(f(s))),{default:T(()=>[j(r.$slots,"default")]),_:3},16))}});/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Zh=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var No={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qh=(c,{slots:a})=>{var u=c,{size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:o,iconNode:s,name:r,class:l}=u,i=Oe(u,["size","strokeWidth","absoluteStrokeWidth","color","iconNode","name","class"]);return Yt("svg",$(Pe($({},No),{width:e||No.width,height:e||No.height,stroke:o||No.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${Zh(r!=null?r:"icon")}`]}),i),[...s.map(d=>Yt(...d)),...a.default?[a.default()]:[]])};/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Fs=(e,t)=>(n,{slots:o})=>Yt(Qh,Pe($({},n),{iconNode:t,name:e}),o);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ev=Fs("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hu=Fs("ChevronDownIcon",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const tv=Fs("ChevronUpIcon",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** + * @license lucide-vue-next v0.453.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sl=Fs("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),nv=k({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=J(()=>{const a=n,{class:l}=a;return Oe(a,["class"])}),r=jt(s,o);return(l,i)=>(S(),L(f(eu),null,{default:T(()=>[F(f(lu),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),F(f(ru),oe(f(r),{class:f(ve)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:T(()=>[j(l.$slots,"default"),F(f(iu),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:T(()=>[F(f(sl),{class:"w-4 h-4"}),i[0]||(i[0]=X("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),ov=k({__name:"DialogFooter",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",t.class))},[j(n.$slots,"default")],2))}}),sv=k({__name:"DialogHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("flex flex-col gap-y-1.5 text-center sm:text-left",t.class))},[j(n.$slots,"default")],2))}}),rv=k({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const l=t,{class:s}=l;return Oe(l,["class"])}),o=ln(n);return(s,r)=>(S(),L(f(au),oe(f(o),{class:f(ve)("text-lg font-semibold leading-none tracking-tight",t.class)}),{default:T(()=>[j(s.$slots,"default")]),_:3},16,["class"]))}}),vu=k({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,o)=>(S(),L(f(ye),{as:n.as,"as-child":n.asChild,class:Ie(f(ve)(f(lv)({variant:n.variant,size:n.size}),t.class))},{default:T(()=>[j(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),lv=Ts("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),iv=k({__name:"Dialog",props:{title:{},btnText:{},dialogOpen:{type:Boolean},variant:{}},emits:["open-change","handle-btn-click"],setup(e,{emit:t}){const n=t;return(o,s)=>(S(),L(f(Xh),{open:o.dialogOpen,"onUpdate:open":s[1]||(s[1]=r=>n("open-change",r))},{default:T(()=>[F(f(nv),null,{default:T(()=>[F(f(sv),null,{default:T(()=>[F(f(rv),{class:"mt-[20px]"},{default:T(()=>[je(Ke(o.title),1)]),_:1})]),_:1}),F(f(ov),null,{default:T(()=>[F(f(vu),{class:"mt-[20px]",variant:o.variant,onClick:s[0]||(s[0]=()=>n("handle-btn-click"))},{default:T(()=>[je(Ke(o.btnText),1)]),_:1},8,["variant"])]),_:1})]),_:1})]),_:1},8,["open"]))}}),av=1,uv=1e6,Bt={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let nr=0;function cv(){return nr=(nr+1)%Number.MAX_VALUE,nr.toString()}const or=new Map;function di(e){if(or.has(e))return;const t=setTimeout(()=>{or.delete(e),fo({type:Bt.REMOVE_TOAST,toastId:e})},uv);or.set(e,t)}const ct=B({toasts:[]});function fo(e){switch(e.type){case Bt.ADD_TOAST:ct.value.toasts=[e.toast,...ct.value.toasts].slice(0,av);break;case Bt.UPDATE_TOAST:ct.value.toasts=ct.value.toasts.map(t=>t.id===e.toast.id?$($({},t),e.toast):t);break;case Bt.DISMISS_TOAST:{const{toastId:t}=e;t?di(t):ct.value.toasts.forEach(n=>{di(n.id)}),ct.value.toasts=ct.value.toasts.map(n=>n.id===t||t===void 0?Pe($({},n),{open:!1}):n);break}case Bt.REMOVE_TOAST:e.toastId===void 0?ct.value.toasts=[]:ct.value.toasts=ct.value.toasts.filter(t=>t.id!==e.toastId);break}}function rl(){return{toasts:J(()=>ct.value.toasts),toast:dv,dismiss:e=>fo({type:Bt.DISMISS_TOAST,toastId:e})}}function dv(e){const t=cv(),n=s=>fo({type:Bt.UPDATE_TOAST,toast:Pe($({},s),{id:t})}),o=()=>fo({type:Bt.DISMISS_TOAST,toastId:t});return fo({type:Bt.ADD_TOAST,toast:Pe($({},e),{id:t,open:!0,onOpenChange:s=>{s||o()}})}),{id:t,dismiss:o,update:n}}const fv="data:image/svg+xml,%3csvg%20t='1706353491349'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='5349'%20width='200'%20height='200'%3e%3cpath%20d='M512%201024C229.2224%201024%200%20794.7776%200%20512S229.2224%200%20512%200s512%20229.2224%20512%20512-229.2224%20512-512%20512z%20m0-921.6a409.6%20409.6%200%201%200%200%20819.2%20409.6%20409.6%200%200%200%200-819.2zM358.4%20307.2h102.4v409.6H358.4V307.2z%20m204.8%200h102.4v409.6h-102.4V307.2z'%20fill='%23515151'%20p-id='5350'%3e%3c/path%3e%3c/svg%3e",pv="data:image/svg+xml,%3csvg%20t='1706354264820'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8058'%20width='200'%20height='200'%3e%3cpath%20d='M512%201024A512%20512%200%201%201%20512%200a512%20512%200%200%201%200%201024z%20m3.008-92.992a416%20416%200%201%200%200-832%20416%20416%200%200%200%200%20832zM383.232%20287.616l384%20224.896-384%20223.104v-448z'%20fill='%23515151'%20p-id='8059'%3e%3c/path%3e%3c/svg%3e",mv="data:image/svg+xml,%3csvg%20t='1706158075483'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4500'%20width='200'%20height='200'%3e%3cpath%20d='M550.4%2074.666667c25.6%200%2046.933333%2019.2%2053.333333%2044.8l14.933334%2085.333333%2038.4%2017.066667L727.466667%20170.666667c19.2-14.933333%2046.933333-12.8%2066.133333%204.266666l2.133333%202.133334%2053.333334%2053.333333c19.2%2019.2%2021.333333%2046.933333%206.4%2068.266667l-49.066667%2070.4%2017.066667%2038.4%2085.333333%2014.933333c23.466667%204.266667%2042.666667%2025.6%2044.8%2049.066667v78.933333c0%2025.6-19.2%2046.933333-44.8%2053.333333l-85.333333%2014.933334-17.066667%2038.4%2049.066667%2070.4c14.933333%2019.2%2012.8%2046.933333-4.266667%2066.133333l-2.133333%202.133333-53.333334%2053.333334c-19.2%2019.2-46.933333%2021.333333-68.266666%206.4l-70.4-49.066667-38.4%2017.066667-14.933334%2085.333333c-4.266667%2023.466667-25.6%2042.666667-49.066666%2044.8h-78.933334c-25.6%200-46.933333-19.2-53.333333-44.8l-14.933333-85.333333-38.4-17.066667-72.533334%2046.933333c-19.2%2014.933333-46.933333%2012.8-66.133333-4.266666l-2.133333-2.133334-53.333334-53.333333c-19.2-19.2-21.333333-46.933333-6.4-68.266667l49.066667-70.4-17.066667-38.4-85.333333-14.933333c-23.466667-4.266667-42.666667-25.6-44.8-49.066667v-78.933333c0-25.6%2019.2-46.933333%2044.8-53.333333l85.333333-14.933334%2017.066667-38.4L170.666667%20296.533333c-14.933333-19.2-12.8-46.933333%202.133333-64l2.133333-2.133333%2053.333334-53.333333c19.2-19.2%2046.933333-21.333333%2068.266666-6.4l70.4%2049.066666%2038.4-17.066666%2014.933334-85.333334c4.266667-23.466667%2025.6-42.666667%2049.066666-44.8H550.4z%20m-38.4%20320c-64%200-117.333333%2053.333333-117.333333%20117.333333s53.333333%20117.333333%20117.333333%20117.333333%20117.333333-53.333333%20117.333333-117.333333-53.333333-117.333333-117.333333-117.333333z'%20fill='%23515151'%20p-id='4501'%3e%3c/path%3e%3c/svg%3e",hv="data:image/svg+xml,%3csvg%20t='1706099863299'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4243'%20width='200'%20height='200'%3e%3cpath%20d='M649.179%20512l212.839-212.84c37.881-37.881%2037.881-99.298%200-137.179s-99.298-37.881-137.179%200L512%20374.821l-212.839-212.84c-37.881-37.881-99.298-37.881-137.179%200s-37.881%2099.298%200%20137.179L374.821%20512%20161.982%20724.84c-37.881%2037.881-37.881%2099.297%200%20137.179%2018.94%2018.94%2043.765%2028.41%2068.589%2028.41%2024.825%200%2049.649-9.47%2068.589-28.41L512%20649.179l212.839%20212.84c18.94%2018.94%2043.765%2028.41%2068.589%2028.41s49.649-9.47%2068.59-28.41c37.881-37.882%2037.881-99.298%200-137.179L649.179%20512z'%20p-id='4244'%20fill='%23515151'%3e%3c/path%3e%3c/svg%3e",vv={class:"flex flex-col gap-[12px] p-[12px] md:p-[24px] overflow-y-auto h-[calc(100vh-80px)]"},gv={class:"flex gap-2 flex-1"},yv=["id"],bv={class:"flex absolute right-0 gap-3"},wv=["src","onClick"],xv=["onClick","src"],_v=["src","onClick"],Cv=["src","onClick"],Av=["onClick"],Ev={class:"mt-2 h-[20px] flex gap-16"},Sv=k({__name:"StreamConfigList",props:{streamConfigList:{},ffmpegProgressInfo:{}},emits:["edit-stream-config","delete-stream-config","start-record","pause-record"],setup(e,{emit:t}){const n=t,{toast:o}=rl(),s={0:"未开始",1:"准备录制",2:"监控中",3:"录制中",4:"视频格式转换"},r=B(!1),l=B(""),i=B("");function a(p){window.open(p,"_blank")}function c(p){n("pause-record",p)}function u(p){n("start-record",p)}function d(p){const b=e.streamConfigList.find(g=>g.id===p);if((b==null?void 0:b.status)!==0){o({title:"当前处于非未开始状态,无法编辑",variant:"destructive"});return}n("edit-stream-config",p)}function h(p){const b=e.streamConfigList.find(g=>g.id===p);if((b==null?void 0:b.status)!==0){o({title:"当前处于非未开始状态,无法删除",variant:"destructive"});return}i.value=`确定要删除 ${b.title} 吗?`,r.value=!0,l.value=p}function m(p){p||(l.value="",i.value=""),r.value=p}function v(){n("delete-stream-config",l.value),r.value=!1,l.value=""}return(p,b)=>(S(),ue("div",vv,[(S(!0),ue(Ee,null,_s(p.streamConfigList,g=>(S(),L(f(Kf),{class:"relative",key:g.id},{default:T(()=>[F(f(qf),null,{default:T(()=>[F(f(Yf),{class:"flex items-center relative"},{default:T(()=>[X("div",gv,[X("h1",{class:"overflow-hidden whitespace-nowrap text-ellipsis max-w-[30%]",id:g.id},Ke(g.title),9,yv),g.status!==0?(S(),L(f(np),{key:0,variant:"outline"},{default:T(()=>[je(Ke(s[g.status]),1)]),_:2},1024)):De("",!0)]),X("div",bv,[g.status!==0?(S(),ue("img",{key:0,class:"w-[20px] cursor-pointer select-none",src:f(fv),onClick:x=>c(g.id),alt:""},null,8,wv)):(S(),ue("img",{key:1,class:"w-[18px] cursor-pointer select-none",onClick:x=>u(g.id),src:f(pv),alt:""},null,8,xv)),X("img",{class:"w-[20px] cursor-pointer select-none",src:f(mv),onClick:x=>d(g.id),alt:""},null,8,_v),X("img",{class:"w-[20px] cursor-pointer select-none",src:f(hv),onClick:x=>h(g.id),alt:""},null,8,Cv)])]),_:2},1024),F(f(Jf),{class:"overflow-hidden whitespace-nowrap text-ellipsis max-w-[95%]"},{default:T(()=>[b[0]||(b[0]=je(" 直播地址:  ")),X("span",{class:"underline cursor-pointer",onClick:x=>a(g.roomUrl)},Ke(g.roomUrl),9,Av)]),_:2},1024)]),_:2},1024),F(f(Gf),null,{default:T(()=>{var x;return[F(ep,{animate:g.status!==0},null,8,["animate"]),X("div",Ev,[p.ffmpegProgressInfo[g.id]?(S(),ue(Ee,{key:0},[X("div",null,Ke((x=p.ffmpegProgressInfo[g.id])==null?void 0:x.timemark),1),X("div",null,Ke((g.segmentTime==="0"||g.segmentTime==="")&&p.ffmpegProgressInfo[g.id].targetSize/1024+"M"),1)],64)):De("",!0)])]}),_:2},1024)]),_:2},1024))),128)),F(iv,{title:i.value,btnText:"删除",dialogOpen:r.value,onOpenChange:m,onHandleBtnClick:v,variant:"destructive"},null,8,["title","dialogOpen"])]))}}),Tv=k({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const s=jt(e,t);return(r,l)=>(S(),L(f(Za),St(vt(f(s))),{default:T(()=>[j(r.$slots,"default")]),_:3},16))}}),Ov=k({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{},forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,s=J(()=>{const c=n,{class:l,side:i}=c;return Oe(c,["class","side"])}),r=jt(s,o);return(l,i)=>(S(),L(f(eu),null,{default:T(()=>[F(f(lu),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),F(f(ru),oe({class:f(ve)(f(Dv)({side:l.side}),n.class)},$($({},f(r)),l.$attrs)),{default:T(()=>[j(l.$slots,"default"),F(f(iu),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:T(()=>[F(f(sl),{class:"w-4 h-4 text-muted-foreground"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),Pv=k({__name:"SheetFooter",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",t.class))},[j(n.$slots,"default")],2))}}),Rv=k({__name:"SheetHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(S(),ue("div",{class:Ie(f(ve)("flex flex-col gap-y-2 text-center sm:text-left",t.class))},[j(n.$slots,"default")],2))}}),Mv=k({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const r=t,{class:o}=r;return Oe(r,["class"])});return(o,s)=>(S(),L(f(au),oe({class:f(ve)("text-lg font-semibold text-foreground",t.class)},n.value),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["class"]))}}),Dv=Ts("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Iv=k({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const s=jt(e,t);return(r,l)=>(S(),L(f(lh),St(vt(f(s))),{default:T(()=>[j(r.$slots,"default")]),_:3},16))}}),kv=k({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,o=t,s=J(()=>{const a=n,{class:l}=a;return Oe(a,["class"])}),r=jt(s,o);return(l,i)=>(S(),L(f(ch),null,{default:T(()=>[F(f(yh),oe($($({},f(r)),l.$attrs),{class:f(ve)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",l.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:T(()=>[F(f(Lv)),F(f(Ch),{class:Ie(f(ve)("p-1",l.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:T(()=>[j(l.$slots,"default")]),_:3},8,["class"]),F(f(Fv))]),_:3},16,["class"])]),_:3}))}}),Bv={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},fi=k({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const l=t,{class:s}=l;return Oe(l,["class"])}),o=ln(n);return(s,r)=>(S(),L(f(wh),oe(f(o),{class:f(ve)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:T(()=>[X("span",Bv,[F(f(xh),null,{default:T(()=>[F(f(ev),{class:"h-4 w-4"})]),_:1})]),F(f(_h),null,{default:T(()=>[j(s.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Fv=k({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const l=t,{class:s}=l;return Oe(l,["class"])}),o=ln(n);return(s,r)=>(S(),L(f(Eh),oe(f(o),{class:f(ve)("flex cursor-default items-center justify-center py-1",t.class)}),{default:T(()=>[j(s.$slots,"default",{},()=>[F(f(hu),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Lv=k({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const l=t,{class:s}=l;return Oe(l,["class"])}),o=ln(n);return(s,r)=>(S(),L(f(Ah),oe(f(o),{class:f(ve)("flex cursor-default items-center justify-center py-1",t.class)}),{default:T(()=>[j(s.$slots,"default",{},()=>[F(f(tv),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Nv=k({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const l=t,{class:s}=l;return Oe(l,["class"])}),o=ln(n);return(s,r)=>(S(),L(f(uh),oe(f(o),{class:f(ve)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",t.class)}),{default:T(()=>[j(s.$slots,"default"),F(f(Th),{"as-child":""},{default:T(()=>[F(f(hu),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),Vv=k({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(S(),L(f(Sh),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),pi=k({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(e,{emit:t}){const n=e,o=t,s=J(()=>{const a=n,{class:l}=a;return Oe(a,["class"])}),r=jt(s,o);return(l,i)=>(S(),L(f(Dh),oe(f(r),{class:f(ve)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",n.class)}),{default:T(()=>[F(f(Ih),{class:Ie(f(ve)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["class"]))}}),zt=k({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=nf(n,"modelValue",t,{passive:!0,defaultValue:n.defaultValue});return(r,l)=>pn((S(),ue("input",{"onUpdate:modelValue":l[0]||(l[0]=i=>Me(s)?s.value=i:null),class:Ie(f(ve)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[Bd,f(s)]])}}),$v="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let jv=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=$v[n[e]&63];return t};const Uv={className:"show-scrollbar overflow-y-auto mr-[-14px]"},Wv={className:" pl-1 pr-4 pb-2"},Hv={action:""},zv={ref:"title",class:"text-sm font-medium text-destructive mt-[4px]"},Kv={class:"mt-4"},Gv={ref:"roomUrl",class:"text-sm font-medium text-destructive mt-[4px]"},Jv={class:"mt-4"},qv={class:"mt-4"},Yv={class:"mt-4"},Xv={class:"mt-4"},Zv={ref:"fileName",class:"text-sm font-medium text-destructive mt-[4px]"},Qv={class:"mt-4"},eg={class:"mt-4"},tg={ref:"interval",class:"text-sm font-medium text-destructive mt-[4px]"},ng={class:"mt-4"},og={class:"mt-4"},sg={ref:"proxy",class:"text-sm font-medium text-destructive mt-[4px]"},rg={class:"mt-4"},lg=k({__name:"StreamConfigSheet",props:{open:{type:Boolean},type:{},streamConfig:{},liveUrls:{}},emits:["confirm","close","get-live-urls"],setup(e,{emit:t}){const n={id:"",title:"",roomUrl:"",filename:"",directory:"",status:0,line:"0",interval:30,cookie:"",proxy:"",liveUrls:[],segmentTime:"",convertToMP4:!0,detectResolution:!1},o=t,s=B($($({},n),e.streamConfig)),r=B({title:{valid:!0,ref:Zn("title")},roomUrl:{valid:!0,ref:Zn("roomUrl")},fileName:{valid:!0,ref:Zn("fileName")},interval:{valid:!0,ref:Zn("interval")},proxy:{valid:!0,ref:Zn("proxy")}});we(()=>e.streamConfig,v=>{s.value=$($({},n),v)});const l=(v,p)=>{r.value[v].valid=p},i=()=>{Object.keys(r.value).forEach(v=>{r.value[v].valid=!0})},a=()=>{i(),o("close")};function c(v){try{return new URL(v),!0}catch(p){return!1}}function u(v){l(v,!1),r.value[v].ref.scrollIntoView({behavior:"smooth",block:"center"})}function d(){const{title:v,roomUrl:p,filename:b,interval:g,proxy:x}=s.value;return v?(l("title",!0),!p||!c(p)?(u("roomUrl"),!1):(l("roomUrl",!0),b?(l("fileName",!0),!g||Number.isNaN(g)||g<20?(u("interval"),!1):(l("interval",!0),x&&!c(x)?(u("proxy"),!1):(l("proxy",!0),!0))):(u("fileName"),!1))):(u("title"),!1)}function h(){if(!d())return;const v=jv(),p=$($({},s.value),e.type==="create"?{id:v}:{});o("confirm",e.type,p)}function m(v){if(v){const{title:p,proxy:b,cookie:g,roomUrl:x}=s.value;o("get-live-urls",{title:p,proxy:b,cookie:g,roomUrl:x})}}return(v,p)=>(S(),L(f(Tv),{open:v.open,"onUpdate:open":a},{default:T(()=>[F(f(Ov),{class:"flex flex-col"},{default:T(()=>[F(f(Rv),null,{default:T(()=>[F(f(Mv),null,{default:T(()=>[je(Ke(v.type==="create"?"新增":"编辑"),1)]),_:1})]),_:1}),X("div",Uv,[X("div",Wv,[X("form",Hv,[X("div",null,[p[10]||(p[10]=X("label",{class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",for:"name"}," 标题 ",-1)),F(f(zt),{class:"mt-2",id:"name",placeholder:"请输入标题",modelValue:s.value.title,"onUpdate:modelValue":p[0]||(p[0]=b=>s.value.title=b)},null,8,["modelValue"]),pn(X("div",zv," 标题不能为空 ",512),[[eo,!r.value.title.valid]])]),X("div",Kv,[p[11]||(p[11]=X("label",{class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",for:"url"}," 直播间地址 ",-1)),F(f(zt),{class:"mt-2",id:"url",placeholder:"请输入直播间地址",modelValue:s.value.roomUrl,"onUpdate:modelValue":p[1]||(p[1]=b=>s.value.roomUrl=b)},null,8,["modelValue"]),pn(X("div",Gv," 直播间地址不合法 ",512),[[eo,!r.value.roomUrl.valid]])]),X("div",Jv,[p[13]||(p[13]=X("label",{class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",for:"line"}," 线路 ",-1)),F(f(Iv),{id:"line","onUpdate:open":m},{default:T(()=>[F(f(Nv),{class:"mt-2"},{default:T(()=>[F(f(Vv))]),_:1}),F(f(kv),null,{default:T(()=>{var b;return[(b=v.liveUrls)!=null&&b.length?(S(!0),ue(Ee,{key:0},_s(v.liveUrls,(g,x)=>(S(),L(f(fi),{value:x.toString()},{default:T(()=>[je(Ke(`线路 ${x+1}`),1)]),_:2},1032,["value"]))),256)):(S(),L(f(fi),{key:1,value:"loading",disabled:""},{default:T(()=>p[12]||(p[12]=[je("加载中...")])),_:1}))]}),_:1})]),_:1})]),X("div",qv,[p[14]||(p[14]=X("label",{for:"isConvertToMp4",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 录制结束后是否转为MP4 ",-1)),F(f(pi),{class:"flex mt-2",id:"isConvertToMp4",checked:s.value.convertToMP4,"onUpdate:checked":p[2]||(p[2]=b=>s.value.convertToMP4=b)},null,8,["checked"])]),X("div",Yv,[p[15]||(p[15]=X("label",{for:"isCheckResolution",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 是否检测分辨率 ",-1)),F(f(pi),{class:"flex mt-2",id:"isCheckResolution",checked:s.value.detectResolution,"onUpdate:checked":p[3]||(p[3]=b=>s.value.detectResolution=b)},null,8,["checked"])]),X("div",Xv,[p[16]||(p[16]=X("label",{for:"fileName",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 文件名 ",-1)),F(f(zt),{class:"mt-2",id:"fileName",placeholder:"请输入存储文件名",modelValue:s.value.filename,"onUpdate:modelValue":p[4]||(p[4]=b=>s.value.filename=b)},null,8,["modelValue"]),pn(X("div",Zv," 文件名不能为空 ",512),[[eo,!r.value.fileName.valid]])]),X("div",Qv,[p[17]||(p[17]=X("label",{for:"savePath",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 存储目录 ",-1)),F(f(zt),{class:"mt-2",id:"savePath",disabled:"",placeholder:"默认为桌面",modelValue:s.value.directory,"onUpdate:modelValue":p[5]||(p[5]=b=>s.value.directory=b)},null,8,["modelValue"])]),X("div",eg,[p[18]||(p[18]=X("label",{for:"monitorInterval",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 监控间隔(秒) ",-1)),F(f(zt),{class:"mt-2",id:"monitorInterval",placeholder:"请输入监控间隔,默认30秒",modelValue:s.value.interval,"onUpdate:modelValue":p[6]||(p[6]=b=>s.value.interval=b)},null,8,["modelValue"]),pn(X("div",tg," 监控间隔不合法, 至少20秒 ",512),[[eo,!r.value.interval.valid]])]),X("div",ng,[p[19]||(p[19]=X("label",{for:"segmentDuration",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 分段时长(分钟) ",-1)),F(f(zt),{class:"mt-2",id:"segmentDuration",placeholder:"请输入分段时长,默认不分段",modelValue:s.value.segmentTime,"onUpdate:modelValue":p[7]||(p[7]=b=>s.value.segmentTime=b)},null,8,["modelValue"])]),X("div",og,[p[20]||(p[20]=X("label",{for:"proxy",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," 代理(可选) ",-1)),F(f(zt),{class:"mt-2",id:"proxy",placeholder:"请输入代理",modelValue:s.value.proxy,"onUpdate:modelValue":p[8]||(p[8]=b=>s.value.proxy=b)},null,8,["modelValue"]),pn(X("div",sg," 代理地址不合法 ",512),[[eo,!r.value.proxy.valid]])]),X("div",rg,[p[21]||(p[21]=X("label",{for:"cookie",class:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"}," Cookie(可选) ",-1)),F(f(zt),{class:"mt-2",id:"cookie",placeholder:"请输入Cookie",modelValue:s.value.cookie,"onUpdate:modelValue":p[9]||(p[9]=b=>s.value.cookie=b)},null,8,["modelValue"])])])])]),F(f(Pv),null,{default:T(()=>[F(f(vu),{variant:"secondary",onClick:h},{default:T(()=>p[22]||(p[22]=[je(" 确定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]))}}),ig=k({__name:"Toast",props:{class:{},variant:{},onOpenChange:{type:Function},defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,o=t,s=J(()=>{const a=n,{class:l}=a;return Oe(a,["class"])}),r=jt(s,o);return(l,i)=>(S(),L(f(zh),oe(f(r),{class:f(ve)(f(fg)({variant:l.variant}),n.class),"onUpdate:open":l.onOpenChange}),{default:T(()=>[j(l.$slots,"default")]),_:3},16,["class","onUpdate:open"]))}}),ag=k({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const r=t,{class:o}=r;return Oe(r,["class"])});return(o,s)=>(S(),L(f(Gh),oe(n.value,{class:f(ve)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t.class)}),{default:T(()=>[F(f(sl),{class:"h-4 w-4"})]),_:1},16,["class"]))}}),mi=k({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const r=t,{class:o}=r;return Oe(r,["class"])});return(o,s)=>(S(),L(f(Yh),oe({class:f(ve)("text-sm opacity-90",t.class)},n.value),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["class"]))}}),ug=k({__name:"ToastProvider",props:{label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(e){const t=e;return(n,o)=>(S(),L(f(Bh),St(vt(t)),{default:T(()=>[j(n.$slots,"default")]),_:3},16))}}),cg=k({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const r=t,{class:o}=r;return Oe(r,["class"])});return(o,s)=>(S(),L(f(qh),oe(n.value,{class:f(ve)("text-sm font-semibold",t.class)}),{default:T(()=>[j(o.$slots,"default")]),_:3},16,["class"]))}}),dg=k({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=J(()=>{const r=t,{class:o}=r;return Oe(r,["class"])});return(o,s)=>(S(),L(f(Jh),oe(n.value,{class:f(ve)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",t.class)}),null,16,["class"]))}}),fg=Ts("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[--radix-toast-swipe-end-x] data-[swipe=move]:translate-x-[--radix-toast-swipe-move-x] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),pg={class:"grid gap-1"},mg=k({__name:"Toaster",setup(e){const{toasts:t}=rl();return(n,o)=>(S(),L(f(ug),{"swipe-direction":"right",duration:3e3},{default:T(()=>[(S(!0),ue(Ee,null,_s(f(t),s=>(S(),L(f(ig),oe({key:s.id,ref_for:!0},s),{default:T(()=>[X("div",pg,[s.title?(S(),L(f(cg),{key:0},{default:T(()=>[je(Ke(s.title),1)]),_:2},1024)):De("",!0),s.description?(S(),ue(Ee,{key:1},[Wn(s.description)?(S(),L(f(mi),{key:0},{default:T(()=>[(S(),L(Yo(s.description)))]),_:2},1024)):(S(),L(f(mi),{key:1},{default:T(()=>[je(Ke(s.description),1)]),_:2},1024))],64)):De("",!0),F(f(ag))]),(S(),L(Yo(s.action)))]),_:2},1040))),128)),F(f(dg))]),_:1}))}}),hg={key:0,className:"fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 flex items-center justify-center z-[9999] dark:bg-white dark:bg-opacity-50"},vg=k({__name:"Loading",props:{loading:{type:Boolean}},setup(e){return(t,n)=>t.loading?(S(),ue("div",hg,n[0]||(n[0]=[X("div",{className:"w-10 h-10 border-t-2 border-b-2 border-white rounded-full animate-spin dark:border-black"},null,-1)]))):De("",!0)}}),gg=k({__name:"App",setup(e){const{toast:t}=rl(),{data:n,send:o,status:s}=of(window.WEBSOCKET_URL),r=B([]),l=B({}),i=B(!0),a=B({open:!1,type:"create",streamConfig:null,liveUrls:[]});function c(_,A=!0){A&&(i.value=!0),o(JSON.stringify(_))}function u(_="create",A=null){a.value.open=!0,a.value.type=_,a.value.streamConfig=A}function d(){a.value.open=!1,a.value.type="create",a.value.streamConfig=null,a.value.liveUrls=[]}function h(_,A){c(_==="create"?{type:x.ADD_STREAM_CONFIG,data:A}:{type:x.UPDATE_STREAM_CONFIG,data:A}),d()}function m(_){c({type:x.START_RECORD_STREAM,data:_})}function v(_){c({type:x.PAUSE_RECORD_STREAM,data:_})}function p(_){const A=r.value.find(O=>O.id===_);u("edit",A)}function b(_){c({type:x.REMOVE_STREAM_CONFIG,data:_})}function g(_){c({type:x.GET_LIVE_URLS,data:_},!1)}const x={UPDATE_STREAM_CONFIG_LIST:"UPDATE_STREAM_CONFIG_LIST",UPDATE_FFMPEG_PROGRESS_INFO:"UPDATE_FFMPEG_PROGRESS_INFO",SHOW_TOAST:"SHOW_TOAST",START_RECORD_STREAM:"START_RECORD_STREAM",PAUSE_RECORD_STREAM:"PAUSE_RECORD_STREAM",REMOVE_STREAM_CONFIG:"REMOVE_STREAM_CONFIG",UPDATE_STREAM_CONFIG:"UPDATE_STREAM_CONFIG",ADD_STREAM_CONFIG:"ADD_STREAM_CONFIG",GET_LIVE_URLS:"GET_LIVE_URLS",UPDATE_LIVE_URLS:"UPDATE_LIVE_URLS"},C=[x.UPDATE_STREAM_CONFIG_LIST,x.ADD_STREAM_CONFIG,x.REMOVE_STREAM_CONFIG,x.UPDATE_STREAM_CONFIG,x.UPDATE_LIVE_URLS];return we(s,()=>{s.value==="CLOSED"&&setTimeout(()=>{window.location.reload()},1e3),s.value==="OPEN"&&(i.value=!1)}),we(n,()=>{const _=JSON.parse(n.value),{type:A,data:O}=_;switch(A){case x.UPDATE_STREAM_CONFIG_LIST:r.value=O;break;case x.UPDATE_FFMPEG_PROGRESS_INFO:l.value=O;break;case x.REMOVE_STREAM_CONFIG:r.value=r.value.filter(H=>H.id!==O);break;case x.UPDATE_STREAM_CONFIG:const M=r.value.findIndex(H=>H.id===O.id);r.value[M]=O;break;case x.ADD_STREAM_CONFIG:r.value.unshift(O);break;case x.SHOW_TOAST:t({title:O.title,description:O.description,variant:O.variant});break;case x.UPDATE_LIVE_URLS:a.value.liveUrls=O;break}C.includes(A)&&(i.value=!1)}),(_,A)=>(S(),ue(Ee,null,[F(ff,{onAddStreamConfig:u}),F(Sv,{streamConfigList:r.value,ffmpegProgressInfo:l.value,onStartRecord:m,onPauseRecord:v,onEditStreamConfig:p,onDeleteStreamConfig:b},null,8,["streamConfigList","ffmpegProgressInfo"]),F(lg,{type:a.value.type,open:a.value.open,streamConfig:a.value.streamConfig,liveUrls:a.value.liveUrls,onConfirm:h,onGetLiveUrls:g,onClose:d},null,8,["type","open","streamConfig","liveUrls"]),F(mg),F(vg,{loading:i.value},null,8,["loading"])],64))}});Wd(gg).mount("#app")});export default yg(); diff --git a/resources/dist/assets/main-DOo-a1yr.css b/resources/dist/assets/main-DOo-a1yr.css new file mode 100644 index 0000000..2479ee1 --- /dev/null +++ b/resources/dist/assets/main-DOo-a1yr.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--ring: 222.2 84% 4.9%;--radius: .5rem;--scrollbar-track-bg: #f0f0f0;--scrollbar-thumb-bg: #bdbdbd;--scrollbar-thumb-border: #f0f0f0;--scrollbar-thumb-hover-bg: #a8a8a8}.dark{--background: 222.2 84% 4.9%;--foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--popover: 222.2 84% 4.9%;--popover-foreground: 210 40% 98%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--border: 217.2 32.6% 17.5%;--input: 217.2 32.6% 17.5%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 11.2%;--secondary: 217.2 32.6% 17.5%;--secondary-foreground: 210 40% 98%;--accent: 217.2 32.6% 17.5%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--ring: 212.7 26.8% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-\[2px\]{left:2px}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-\[3px\]{top:3px}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[9999\]{z-index:9999}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.ml-6{margin-left:1.5rem}.mr-\[-14px\]{margin-right:-14px}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-\[12px\]{margin-top:12px}.mt-\[20px\]{margin-top:20px}.mt-\[4px\]{margin-top:4px}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-\[14px\]{height:14px}.h-\[20px\]{height:20px}.h-\[22px\]{height:22px}.h-\[6px\]{height:6px}.h-\[calc\(100vh-80px\)\]{height:calc(100vh - 80px)}.h-full{height:100%}.h-px{height:1px}.max-h-96{max-height:24rem}.max-h-screen{max-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-\[18px\]{width:18px}.w-\[20px\]{width:20px}.w-\[22px\]{width:22px}.w-\[40px\]{width:40px}.w-\[64px\]{width:64px}.w-full{width:100%}.min-w-32{min-width:8rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.max-w-\[30\%\]{max-width:30%}.max-w-\[95\%\]{max-width:95%}.max-w-lg{max-width:32rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-items-center{place-items:center}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\[12px\]{gap:12px}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-border{border-color:hsl(var(--border))}.border-destructive{border-color:hsl(var(--destructive))}.border-input{border-color:hsl(var(--input))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/80{background-color:#000c}.bg-card{background-color:hsl(var(--card))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-transparent{background-color:transparent}.bg-opacity-50{--tw-bg-opacity: .5}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-\[12px\]{padding:12px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-2{padding-bottom:.5rem}.pl-1{padding-left:.25rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-0{padding-top:0}.text-center{text-align:center}.text-start{text-align:start}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.text-card-foreground{color:hsl(var(--card-foreground))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}::-webkit-scrollbar{display:none}.show-scrollbar::-webkit-scrollbar{display:block;width:12px}.show-scrollbar::-webkit-scrollbar-track{background:var(--scrollbar-track-bg);border-radius:6px}.show-scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-bg);border-radius:6px;border:3px solid var(--scrollbar-thumb-border)}.show-scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-bg)}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary) / .8)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:opacity-100:focus{opacity:1}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:opacity-100{opacity:1}.group.destructive .group-\[\.destructive\]\:border-muted\/40{border-color:hsl(var(--muted) / .4)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[--radix-toast-swipe-end-x\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[--radix-toast-swipe-move-x\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed],.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}.dark\:border-black:is(.dark *){--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:bg-opacity-50:is(.dark *){--tw-bg-opacity: .5}@media (min-width: 640px){.sm\:bottom-0{bottom:0}.sm\:right-0{right:0}.sm\:top-auto{top:auto}.sm\:max-w-sm{max-width:24rem}.sm\:flex-row{flex-direction:row}.sm\:flex-col{flex-direction:column}.sm\:justify-end{justify-content:flex-end}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media (min-width: 768px){.md\:w-full{width:100%}.md\:max-w-\[420px\]{max-width:420px}.md\:p-\[24px\]{padding:24px}.md\:px-\[24px\]{padding-left:24px;padding-right:24px}}.\[\&\>span\]\:truncate>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes progress-9abe07b1{0%{left:2px}to{left:calc(100% - 50px)}}.animate-progress[data-v-9abe07b1]{animation:progress-9abe07b1 3s linear infinite alternate} diff --git a/resources/dist/favicon.ico b/resources/dist/favicon.ico new file mode 100644 index 0000000..d7571b2 Binary files /dev/null and b/resources/dist/favicon.ico differ diff --git a/resources/dist/index.html b/resources/dist/index.html new file mode 100644 index 0000000..6809ef4 --- /dev/null +++ b/resources/dist/index.html @@ -0,0 +1,16 @@ + + + + + + Fideo Web Control + + + + + +
+ +