26 lines
109 KiB
JavaScript
26 lines
109 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/**
|
||
* @vue/shared v3.5.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Ms(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const oe={},$t=[],Ze=()=>{},er=()=>!1,jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),ve=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xo=Object.prototype.hasOwnProperty,ee=(e,t)=>xo.call(e,t),j=Array.isArray,Ht=e=>bn(e)==="[object Map]",Kn=e=>bn(e)==="[object Set]",ii=e=>bn(e)==="[object Date]",G=e=>typeof e=="function",ue=e=>typeof e=="string",tt=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",tr=e=>(te(e)||G(e))&&G(e.then)&&G(e.catch),nr=Object.prototype.toString,bn=e=>nr.call(e),Ao=e=>bn(e).slice(8,-1),sr=e=>bn(e)==="[object Object]",Vs=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Ms(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},So=/-\w/g,Se=Gn(e=>e.replace(So,t=>t.slice(1).toUpperCase())),Co=/\B([A-Z])/g,xt=Gn(e=>e.replace(Co,"-$1").toLowerCase()),Wn=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),is=Gn(e=>e?`on${Wn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ir=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ls=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ri;const qn=()=>ri||(ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fs(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ue(s)?Po(s):Fs(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(ue(e)||te(e))return e}const Ro=/;(?![^(]*\))/g,To=/:([^]+)/,Oo=/\/\*[^]*?\*\//g;function Po(e){const t={};return e.replace(Oo,"").split(Ro).forEach(n=>{if(n){const s=n.split(To);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function It(e){let t="";if(ue(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=It(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Io="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",No=Ms(Io);function rr(e){return!!e||e===""}function Mo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Dt(e[s],t[s]);return n}function Dt(e,t){if(e===t)return!0;let n=ii(e),s=ii(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=tt(e),s=tt(t),n||s)return e===t;if(n=j(e),s=j(t),n||s)return n&&s?Mo(e,t):!1;if(n=te(e),s=te(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Dt(e[o],t[o]))return!1}}return String(e)===String(t)}function or(e,t){return e.findIndex(n=>Dt(n,t))}const lr=e=>!!(e&&e.__v_isRef===!0),Y=e=>ue(e)?e:e==null?"":j(e)||te(e)&&(e.toString===nr||!G(e.toString))?lr(e)?Y(e.value):JSON.stringify(e,cr,2):String(e),cr=(e,t)=>lr(t)?cr(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[rs(s,r)+" =>"]=i,n),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:tt(t)?rs(t):te(t)&&!j(t)&&!sr(t)?String(t):t,rs=(e,t="")=>{var n;return tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let me;class Do{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&me&&(me.active?(this.parent=me,this.index=(me.scopes||(me.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){++this._on===1&&(this.prevScope=me,me=this)}off(){if(this._on>0&&--this._on===0){if(me===this)me=this.prevScope;else{let t=me;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Vo(){return me}let le;const os=new WeakSet;class ur{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&(me.active?me.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,os.has(this)&&(os.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||fr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,oi(this),dr(this);const t=le,n=ke;le=this,ke=!0;try{return this.fn()}finally{pr(this),le=t,ke=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$s(t);this.deps=this.depsTail=void 0,oi(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_s(this)&&this.run()}get dirty(){return _s(this)}}let ar=0,on,ln;function fr(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function ks(){ar++}function Us(){if(--ar>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function dr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pr(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),$s(s),Lo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function _s(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(hr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function hr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!_s(e))))return;e.flags|=2;const t=e.dep,n=le,s=ke;le=e,ke=!0;try{dr(e);const i=e.fn(e._value);(t.version===0||Xe(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{le=n,ke=s,pr(e),e.flags&=-3}}function $s(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)$s(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Lo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ke=!0;const mr=[];function dt(){mr.push(ke),ke=!1}function pt(){const e=mr.pop();ke=e===void 0?!0:e}function oi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let hn=0;class Fo{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 Hs{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,this.__v_skip=!0}track(t){if(!le||!ke||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new Fo(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,gr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=s)}return n}trigger(t){this.version++,hn++,this.notify(t)}notify(t){ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function gr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)gr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ys=new WeakMap,Nt=Symbol(""),bs=Symbol(""),mn=Symbol("");function _e(e,t,n){if(ke&&le){let s=ys.get(e);s||ys.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new Hs),i.map=s,i.key=n),i.track()}}function ct(e,t,n,s,i,r){const o=ys.get(e);if(!o){hn++;return}const l=c=>{c&&c.trigger()};if(ks(),t==="clear")o.forEach(l);else{const c=j(e),f=c&&Vs(n);if(c&&n==="length"){const u=Number(s);o.forEach((p,m)=>{(m==="length"||m===mn||!tt(m)&&m>=u)&&l(p)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(mn)),t){case"add":c?f&&l(o.get("length")):(l(o.get(Nt)),Ht(e)&&l(o.get(bs)));break;case"delete":c||(l(o.get(Nt)),Ht(e)&&l(o.get(bs)));break;case"set":Ht(e)&&l(o.get(Nt));break}}Us()}function Ft(e){const t=Z(e);return t===e?t:(_e(t,"iterate",mn),Le(e)?t:t.map(Ue))}function zn(e){return _e(e=Z(e),"iterate",mn),e}function Ye(e,t){return ht(e)?Wt(Mt(e)?Ue(t):t):Ue(t)}const ko={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Ft(this).concat(...e.map(t=>j(t)?Ft(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return st(this,"every",e,t,void 0,arguments)},filter(e,t){return st(this,"filter",e,t,n=>n.map(s=>Ye(this,s)),arguments)},find(e,t){return st(this,"find",e,t,n=>Ye(this,n),arguments)},findIndex(e,t){return st(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return st(this,"findLast",e,t,n=>Ye(this,n),arguments)},findLastIndex(e,t){return st(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return st(this,"forEach",e,t,void 0,arguments)},includes(...e){return cs(this,"includes",e)},indexOf(...e){return cs(this,"indexOf",e)},join(e){return Ft(this).join(e)},lastIndexOf(...e){return cs(this,"lastIndexOf",e)},map(e,t){return st(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return li(this,"reduce",e,t)},reduceRight(e,...t){return li(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return st(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Ft(this).toReversed()},toSorted(e){return Ft(this).toSorted(e)},toSpliced(...e){return Ft(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return ls(this,"values",e=>Ye(this,e))}};function ls(e,t,n){const s=zn(e),i=s[t]();return s!==e&&!Le(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const Uo=Array.prototype;function st(e,t,n,s,i,r){const o=zn(e),l=o!==e&&!Le(e),c=o[t];if(c!==Uo[t]){const p=c.apply(e,r);return l?Ue(p):p}let f=n;o!==e&&(l?f=function(p,m){return n.call(this,Ye(e,p),m,e)}:n.length>2&&(f=function(p,m){return n.call(this,p,m,e)}));const u=c.call(o,f,s);return l&&i?i(u):u}function li(e,t,n,s){const i=zn(e),r=i!==e&&!Le(e);let o=n,l=!1;i!==e&&(r?(l=s.length===0,o=function(f,u,p){return l&&(l=!1,f=Ye(e,f)),n.call(this,f,Ye(e,u),p,e)}):n.length>3&&(o=function(f,u,p){return n.call(this,f,u,p,e)}));const c=i[t](o,...s);return l?Ye(e,c):c}function cs(e,t,n){const s=Z(e);_e(s,"iterate",mn);const i=s[t](...n);return(i===-1||i===!1)&&Ks(n[0])?(n[0]=Z(n[0]),s[t](...n)):i}function Zt(e,t,n=[]){dt(),ks();const s=Z(e)[t].apply(e,n);return Us(),pt(),s}const $o=Ms("__proto__,__v_isRef,__isVue"),vr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tt));function Ho(e){tt(e)||(e=String(e));const t=Z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class _r{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?Qo:wr:r?Er:br).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=j(t);if(!i){let c;if(o&&(c=ko[n]))return c;if(n==="hasOwnProperty")return Ho}const l=Reflect.get(t,n,be(t)?t:s);if((tt(n)?vr.has(n):$o(n))||(i||_e(t,"get",n),r))return l;if(be(l)){const c=o&&Vs(n)?l:l.value;return i&&te(c)?ws(c):c}return te(l)?i?ws(l):Jn(l):l}}class yr extends _r{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=j(t)&&Vs(n);if(!this._isShallow){const f=ht(r);if(!Le(s)&&!ht(s)&&(r=Z(r),s=Z(s)),!o&&be(r)&&!be(s))return f||(r.value=s),!0}const l=o?Number(n)<t.length:ee(t,n),c=Reflect.set(t,n,s,be(t)?t:i);return t===Z(i)&&(l?Xe(s,r)&&ct(t,"set",n,s):ct(t,"add",n,s)),c}deleteProperty(t,n){const s=ee(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&ct(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!tt(n)||!vr.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",j(t)?"length":Nt),Reflect.ownKeys(t)}}class jo extends _r{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Bo=new yr,Ko=new jo,Go=new yr(!0);const Es=e=>e,An=e=>Reflect.getPrototypeOf(e);function Wo(e,t,n){return function(...s){const i=this.__v_raw,r=Z(i),o=Ht(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=i[e](...s),u=n?Es:t?Wt:Ue;return!t&&_e(r,"iterate",c?bs:Nt),ve(Object.create(f),{next(){const{value:p,done:m}=f.next();return m?{value:p,done:m}:{value:l?[u(p[0]),u(p[1])]:u(p),done:m}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qo(e,t){const n={get(i){const r=this.__v_raw,o=Z(r),l=Z(i);e||(Xe(i,l)&&_e(o,"get",i),_e(o,"get",l));const{has:c}=An(o),f=t?Es:e?Wt:Ue;if(c.call(o,i))return f(r.get(i));if(c.call(o,l))return f(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&_e(Z(i),"iterate",Nt),i.size},has(i){const r=this.__v_raw,o=Z(r),l=Z(i);return e||(Xe(i,l)&&_e(o,"has",i),_e(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=Z(l),f=t?Es:e?Wt:Ue;return!e&&_e(c,"iterate",Nt),l.forEach((u,p)=>i.call(r,f(u),f(p),o))}};return ve(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(i){const r=Z(this),o=An(r),l=Z(i),c=!t&&!Le(i)&&!ht(i)?l:i;return o.has.call(r,c)||Xe(i,c)&&o.has.call(r,i)||Xe(l,c)&&o.has.call(r,l)||(r.add(c),ct(r,"add",c,c)),this},set(i,r){!t&&!Le(r)&&!ht(r)&&(r=Z(r));const o=Z(this),{has:l,get:c}=An(o);let f=l.call(o,i);f||(i=Z(i),f=l.call(o,i));const u=c.call(o,i);return o.set(i,r),f?Xe(r,u)&&ct(o,"set",i,r):ct(o,"add",i,r),this},delete(i){const r=Z(this),{has:o,get:l}=An(r);let c=o.call(r,i);c||(i=Z(i),c=o.call(r,i)),l&&l.call(r,i);const f=r.delete(i);return c&&ct(r,"delete",i,void 0),f},clear(){const i=Z(this),r=i.size!==0,o=i.clear();return r&&ct(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Wo(i,e,t)}),n}function js(e,t){const n=qo(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ee(n,i)&&i in s?n:s,i,r)}const zo={get:js(!1,!1)},Jo={get:js(!1,!0)},Yo={get:js(!0,!1)};const br=new WeakMap,Er=new WeakMap,wr=new WeakMap,Qo=new WeakMap;function Xo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Jn(e){return ht(e)?e:Bs(e,!1,Bo,zo,br)}function xr(e){return Bs(e,!1,Go,Jo,Er)}function ws(e){return Bs(e,!0,Ko,Yo,wr)}function Bs(e,t,n,s,i){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=Xo(Ao(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return i.set(e,l),l}function Mt(e){return ht(e)?Mt(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function Zo(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&ir(e,"__v_skip",!0),e}const Ue=e=>te(e)?Jn(e):e,Wt=e=>te(e)?ws(e):e;function be(e){return e?e.__v_isRef===!0:!1}function W(e){return Ar(e,!1)}function el(e){return Ar(e,!0)}function Ar(e,t){return be(e)?e:new tl(e,t)}class tl{constructor(t,n){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:Ue(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Le(t)||ht(t);t=s?t:Z(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:Ue(t),this.dep.trigger())}}function jt(e){return be(e)?e.value:e}const nl={get:(e,t,n)=>t==="__v_raw"?e:jt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Sr(e){return Mt(e)?e:new Proxy(e,nl)}class sl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return fr(this,!0),!0}get value(){const t=this.dep.track();return hr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function il(e,t,n=!1){let s,i;return G(e)?s=e:(s=e.get,i=e.set),new sl(s,i,n)}const Cn={},Dn=new WeakMap;let Tt;function rl(e,t=!1,n=Tt){if(n){let s=Dn.get(n);s||Dn.set(n,s=[]),s.push(e)}}function ol(e,t,n=oe){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=n,f=V=>i?V:Le(V)||i===!1||i===0?ut(V,1):ut(V);let u,p,m,h,w=!1,C=!1;if(be(e)?(p=()=>e.value,w=Le(e)):Mt(e)?(p=()=>f(e),w=!0):j(e)?(C=!0,w=e.some(V=>Mt(V)||Le(V)),p=()=>e.map(V=>{if(be(V))return V.value;if(Mt(V))return f(V);if(G(V))return c?c(V,2):V()})):G(e)?t?p=c?()=>c(e,2):e:p=()=>{if(m){dt();try{m()}finally{pt()}}const V=Tt;Tt=u;try{return c?c(e,3,[h]):e(h)}finally{Tt=V}}:p=Ze,t&&i){const V=p,K=i===!0?1/0:i;p=()=>ut(V(),K)}const k=Vo(),P=()=>{u.stop(),k&&k.active&&Ds(k.effects,u)};if(r&&t){const V=t;t=(...K)=>{const J=V(...K);return P(),J}}let T=C?new Array(e.length).fill(Cn):Cn;const F=V=>{if(!(!(u.flags&1)||!u.dirty&&!V))if(t){const K=u.run();if(V||i||w||(C?K.some((J,se)=>Xe(J,T[se])):Xe(K,T))){m&&m();const J=Tt;Tt=u;try{const se=[K,T===Cn?void 0:C&&T[0]===Cn?[]:T,h];T=K,c?c(t,3,se):t(...se)}finally{Tt=J}}}else u.run()};return l&&l(F),u=new ur(p),u.scheduler=o?()=>o(F,!1):F,h=V=>rl(V,!1,u),m=u.onStop=()=>{const V=Dn.get(u);if(V){if(c)c(V,4);else for(const K of V)K();Dn.delete(u)}},t?s?F(!0):T=u.run():o?o(F.bind(null,!0),!0):u.run(),P.pause=u.pause.bind(u),P.resume=u.resume.bind(u),P.stop=P,P}function ut(e,t=1/0,n){if(t<=0||!te(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,be(e))ut(e.value,t,n);else if(j(e))for(let s=0;s<e.length;s++)ut(e[s],t,n);else if(Kn(e)||Ht(e))e.forEach(s=>{ut(s,t,n)});else if(sr(e)){for(const s in e)ut(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ut(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function En(e,t,n,s){try{return s?e(...s):e()}catch(i){Yn(i,t,n)}}function $e(e,t,n,s){if(G(e)){const i=En(e,t,n,s);return i&&tr(i)&&i.catch(r=>{Yn(r,t,n)}),i}if(j(e)){const i=[];for(let r=0;r<e.length;r++)i.push($e(e[r],t,n,s));return i}}function Yn(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||oe;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let p=0;p<u.length;p++)if(u[p](e,c,f)===!1)return}l=l.parent}if(r){dt(),En(r,null,10,[e,c,f]),pt();return}}ll(e,n,i,s,o)}function ll(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const xe=[];let Je=-1;const Bt=[];let yt=null,kt=0;const Cr=Promise.resolve();let Vn=null;function Rr(e){const t=Vn||Cr;return e?t.then(this?e.bind(this):e):t}function cl(e){let t=Je+1,n=xe.length;for(;t<n;){const s=t+n>>>1,i=xe[s],r=gn(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function Gs(e){if(!(e.flags&1)){const t=gn(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=gn(n)?xe.push(e):xe.splice(cl(t),0,e),e.flags|=1,Tr()}}function Tr(){Vn||(Vn=Cr.then(Pr))}function ul(e){j(e)?Bt.push(...e):yt&&e.id===-1?yt.splice(kt+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),Tr()}function ci(e,t,n=Je+1){for(;n<xe.length;n++){const s=xe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;xe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Or(e){if(Bt.length){const t=[...new Set(Bt)].sort((n,s)=>gn(n)-gn(s));if(Bt.length=0,yt){yt.push(...t);return}for(yt=t,kt=0;kt<yt.length;kt++){const n=yt[kt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}yt=null,kt=0}}const gn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Pr(e){try{for(Je=0;Je<xe.length;Je++){const t=xe[Je];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),En(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Je<xe.length;Je++){const t=xe[Je];t&&(t.flags&=-2)}Je=-1,xe.length=0,Or(),Vn=null,(xe.length||Bt.length)&&Pr()}}let Pe=null,Ir=null;function Ln(e){const t=Pe;return Pe=e,Ir=e&&e.type.__scopeId||null,t}function On(e,t=Pe,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Un(-1);const r=Ln(t);let o;try{o=e(...i)}finally{Ln(r),s._d&&Un(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function fe(e,t){if(Pe===null)return e;const n=ns(Pe),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,c=oe]=t[i];r&&(G(r)&&(r={mounted:r,updated:r}),r.deep&&ut(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[s];c&&(dt(),$e(c,n,8,[e.el,l,e,t]),pt())}}function Pn(e,t){if(ye){let n=ye.provides;const s=ye.parent&&ye.parent.provides;s===n&&(n=ye.provides=Object.create(s)),n[e]=t}}function at(e,t,n=!1){const s=uc();if(s||Gt){let i=Gt?Gt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const al=Symbol.for("v-scx"),fl=()=>at(al);function In(e,t,n){return Nr(e,t,n)}function Nr(e,t,n=oe){const{immediate:s,deep:i,flush:r,once:o}=n,l=ve({},n),c=t&&s||!t&&r!=="post";let f;if(_n){if(r==="sync"){const h=fl();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=Ze,h.resume=Ze,h.pause=Ze,h}}const u=ye;l.call=(h,w,C)=>$e(h,u,w,C);let p=!1;r==="post"?l.scheduler=h=>{Te(h,u&&u.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(h,w)=>{w?h():Gs(h)}),l.augmentJob=h=>{t&&(h.flags|=4),p&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const m=ol(e,t,l);return _n&&(f?f.push(m):c&&m()),m}function dl(e,t,n){const s=this.proxy,i=ue(e)?e.includes(".")?Mr(s,e):()=>s[e]:e.bind(s,s);let r;G(t)?r=t:(r=t.handler,n=t);const o=wn(this),l=Nr(i,r.bind(s),n);return o(),l}function Mr(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const pl=Symbol("_vte"),hl=e=>e.__isTeleport,us=Symbol("_leaveCb");function Ws(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ws(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Qt(e,t){return G(e)?ve({name:e.name},t,{setup:e}):e}function Dr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ui(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fn=new WeakMap;function cn(e,t,n,s,i=!1){if(j(e)){e.forEach((C,k)=>cn(C,t&&(j(t)?t[k]:t),n,s,i));return}if(un(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&cn(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?ns(s.component):s.el,o=i?null:r,{i:l,r:c}=e,f=t&&t.r,u=l.refs===oe?l.refs={}:l.refs,p=l.setupState,m=Z(p),h=p===oe?er:C=>ui(u,C)?!1:ee(m,C),w=(C,k)=>!(k&&ui(u,k));if(f!=null&&f!==c){if(ai(t),ue(f))u[f]=null,h(f)&&(p[f]=null);else if(be(f)){const C=t;w(f,C.k)&&(f.value=null),C.k&&(u[C.k]=null)}}if(G(c))En(c,l,12,[o,u]);else{const C=ue(c),k=be(c);if(C||k){const P=()=>{if(e.f){const T=C?h(c)?p[c]:u[c]:w()||!e.k?c.value:u[e.k];if(i)j(T)&&Ds(T,r);else if(j(T))T.includes(r)||T.push(r);else if(C)u[c]=[r],h(c)&&(p[c]=u[c]);else{const F=[r];w(c,e.k)&&(c.value=F),e.k&&(u[e.k]=F)}}else C?(u[c]=o,h(c)&&(p[c]=o)):k&&(w(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){const T=()=>{P(),Fn.delete(e)};T.id=-1,Fn.set(e,T),Te(T,n)}else ai(e),P()}}}function ai(e){const t=Fn.get(e);t&&(t.flags|=8,Fn.delete(e))}qn().requestIdleCallback;qn().cancelIdleCallback;const un=e=>!!e.type.__asyncLoader,Vr=e=>e.type.__isKeepAlive;function ml(e,t){Lr(e,"a",t)}function gl(e,t){Lr(e,"da",t)}function Lr(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Qn(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Vr(i.parent.vnode)&&vl(s,t,n,i),i=i.parent}}function vl(e,t,n,s){const i=Qn(t,e,s,!0);qs(()=>{Ds(s[t],i)},n)}function Qn(e,t,n=ye,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{dt();const l=wn(n),c=$e(t,n,e,o);return l(),pt(),c});return s?i.unshift(r):i.push(r),r}}const mt=e=>(t,n=ye)=>{(!_n||e==="sp")&&Qn(e,(...s)=>t(...s),n)},_l=mt("bm"),Xn=mt("m"),yl=mt("bu"),bl=mt("u"),El=mt("bum"),qs=mt("um"),wl=mt("sp"),xl=mt("rtg"),Al=mt("rtc");function Sl(e,t=ye){Qn("ec",e,t)}const Cl="components";function fi(e,t){return Tl(Cl,e,!0,t)||e}const Rl=Symbol.for("v-ndc");function Tl(e,t,n=!0,s=!1){const i=Pe||ye;if(i){const r=i.type;{const l=hc(r,!1);if(l&&(l===t||l===Se(t)||l===Wn(Se(t))))return r}const o=di(i[e]||r[e],t)||di(i.appContext[e],t);return!o&&s?r:o}}function di(e,t){return e&&(e[t]||e[Se(t)]||e[Wn(Se(t))])}function Kt(e,t,n,s){let i;const r=n,o=j(e);if(o||ue(e)){const l=o&&Mt(e);let c=!1,f=!1;l&&(c=!Le(e),f=ht(e),e=zn(e)),i=new Array(e.length);for(let u=0,p=e.length;u<p;u++)i[u]=t(c?f?Wt(Ue(e[u])):Ue(e[u]):e[u],u,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(te(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const u=l[c];i[c]=t(e[u],u,c,r)}}else i=[];return i}const xs=e=>e?no(e)?ns(e):xs(e.parent):null,an=ve(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=>xs(e.parent),$root:e=>xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kr(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Rr.bind(e.proxy)),$watch:e=>dl.bind(e)}),as=(e,t)=>e!==oe&&!e.__isScriptSetup&&ee(e,t),Ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(as(s,t))return o[t]=1,s[t];if(i!==oe&&ee(i,t))return o[t]=2,i[t];if(ee(r,t))return o[t]=3,r[t];if(n!==oe&&ee(n,t))return o[t]=4,n[t];As&&(o[t]=0)}}const f=an[t];let u,p;if(f)return t==="$attrs"&&_e(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==oe&&ee(n,t))return o[t]=4,n[t];if(p=c.config.globalProperties,ee(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return as(i,t)?(i[t]=n,!0):s!==oe&&ee(s,t)?(s[t]=n,!0):ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let c;return!!(n[l]||e!==oe&&l[0]!=="$"&&ee(e,l)||as(t,l)||ee(r,l)||ee(s,l)||ee(an,l)||ee(i.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pi(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let As=!0;function Pl(e){const t=kr(e),n=e.proxy,s=e.ctx;As=!1,t.beforeCreate&&hi(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:f,created:u,beforeMount:p,mounted:m,beforeUpdate:h,updated:w,activated:C,deactivated:k,beforeDestroy:P,beforeUnmount:T,destroyed:F,unmounted:V,render:K,renderTracked:J,renderTriggered:se,errorCaptured:Ne,serverPrefetch:je,expose:Me,inheritAttrs:Be,components:nt,directives:De,filters:At}=t;if(f&&Il(f,s,null),o)for(const v in o){const S=o[v];G(S)&&(s[v]=S.bind(n))}if(i){const v=i.call(n,n);te(v)&&(e.data=Jn(v))}if(As=!0,r)for(const v in r){const S=r[v],Fe=G(S)?S.bind(n,n):G(S.get)?S.get.bind(n,n):Ze,vt=!G(S)&&G(S.set)?S.set.bind(n):Ze,Ke=ge({get:Fe,set:vt});Object.defineProperty(s,v,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:Ce=>Ke.value=Ce})}if(l)for(const v in l)Fr(l[v],s,n,v);if(c){const v=G(c)?c.call(n):c;Reflect.ownKeys(v).forEach(S=>{Pn(S,v[S])})}u&&hi(u,e,"c");function M(v,S){j(S)?S.forEach(Fe=>v(Fe.bind(n))):S&&v(S.bind(n))}if(M(_l,p),M(Xn,m),M(yl,h),M(bl,w),M(ml,C),M(gl,k),M(Sl,Ne),M(Al,J),M(xl,se),M(El,T),M(qs,V),M(wl,je),j(Me))if(Me.length){const v=e.exposed||(e.exposed={});Me.forEach(S=>{Object.defineProperty(v,S,{get:()=>n[S],set:Fe=>n[S]=Fe,enumerable:!0})})}else e.exposed||(e.exposed={});K&&e.render===Ze&&(e.render=K),Be!=null&&(e.inheritAttrs=Be),nt&&(e.components=nt),De&&(e.directives=De),je&&Dr(e)}function Il(e,t,n=Ze){j(e)&&(e=Ss(e));for(const s in e){const i=e[s];let r;te(i)?"default"in i?r=at(i.from||s,i.default,!0):r=at(i.from||s):r=at(i),be(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function hi(e,t,n){$e(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fr(e,t,n,s){let i=s.includes(".")?Mr(n,s):()=>n[s];if(ue(e)){const r=t[e];G(r)&&In(i,r)}else if(G(e))In(i,e.bind(n));else if(te(e))if(j(e))e.forEach(r=>Fr(r,t,n,s));else{const r=G(e.handler)?e.handler.bind(n):t[e.handler];G(r)&&In(i,r,e)}}function kr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(f=>kn(c,f,o,!0)),kn(c,t,o)),te(t)&&r.set(t,c),c}function kn(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&kn(e,r,n,!0),i&&i.forEach(o=>kn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Nl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Nl={data:mi,props:gi,emits:gi,methods:nn,computed:nn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:nn,directives:nn,watch:Dl,provide:mi,inject:Ml};function mi(e,t){return t?e?function(){return ve(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Ml(e,t){return nn(Ss(e),Ss(t))}function Ss(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?ve(Object.create(null),e,t):t}function gi(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:ve(Object.create(null),pi(e),pi(t??{})):t}function Dl(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const s in t)n[s]=Ee(e[s],t[s]);return n}function Ur(){return{app:null,config:{isNativeTag:er,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Vl=0;function Ll(e,t){return function(s,i=null){G(s)||(s=ve({},s)),i!=null&&!te(i)&&(i=null);const r=Ur(),o=new WeakSet,l=[];let c=!1;const f=r.app={_uid:Vl++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:gc,get config(){return r.config},set config(u){},use(u,...p){return o.has(u)||(u&&G(u.install)?(o.add(u),u.install(f,...p)):G(u)&&(o.add(u),u(f,...p))),f},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),f},component(u,p){return p?(r.components[u]=p,f):r.components[u]},directive(u,p){return p?(r.directives[u]=p,f):r.directives[u]},mount(u,p,m){if(!c){const h=f._ceVNode||pe(s,i);return h.appContext=r,m===!0?m="svg":m===!1&&(m=void 0),e(h,u,m),c=!0,f._container=u,u.__vue_app__=f,ns(h.component)}},onUnmount(u){l.push(u)},unmount(){c&&($e(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,p){return r.provides[u]=p,f},runWithContext(u){const p=Gt;Gt=f;try{return u()}finally{Gt=p}}};return f}}let Gt=null;const Fl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Se(t)}Modifiers`]||e[`${xt(t)}Modifiers`];function kl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||oe;let i=n;const r=t.startsWith("update:"),o=r&&Fl(s,t.slice(7));o&&(o.trim&&(i=n.map(u=>ue(u)?u.trim():u)),o.number&&(i=n.map(Ls)));let l,c=s[l=is(t)]||s[l=is(Se(t))];!c&&r&&(c=s[l=is(xt(t))]),c&&$e(c,e,6,i);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,$e(f,e,6,i)}}const Ul=new WeakMap;function $r(e,t,n=!1){const s=n?Ul:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!G(e)){const c=f=>{const u=$r(f,t,!0);u&&(l=!0,ve(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(te(e)&&s.set(e,null),null):(j(r)?r.forEach(c=>o[c]=null):ve(o,r),te(e)&&s.set(e,o),o)}function Zn(e,t){return!e||!jn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,xt(t))||ee(e,t))}function vi(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:f,renderCache:u,props:p,data:m,setupState:h,ctx:w,inheritAttrs:C}=e,k=Ln(e);let P,T;try{if(n.shapeFlag&4){const V=i||s,K=V;P=Qe(f.call(K,V,u,p,h,m,w)),T=l}else{const V=t;P=Qe(V.length>1?V(p,{attrs:l,slots:o,emit:c}):V(p,null)),T=t.props?l:$l(l)}}catch(V){fn.length=0,Yn(V,e,1),P=pe(wt)}let F=P;if(T&&C!==!1){const V=Object.keys(T),{shapeFlag:K}=F;V.length&&K&7&&(r&&V.some(Bn)&&(T=Hl(T,r)),F=qt(F,T,!1,!0))}return n.dirs&&(F=qt(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Ws(F,n.transition),P=F,Ln(k),P}const $l=e=>{let t;for(const n in e)(n==="class"||n==="style"||jn(n))&&((t||(t={}))[n]=e[n]);return t},Hl=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jl(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?_i(s,o,f):!!o;if(c&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const m=u[p];if(Hr(o,s,m)&&!Zn(f,m))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?_i(s,o,f):!0:!!o;return!1}function _i(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(Hr(t,e,r)&&!Zn(n,r))return!0}return!1}function Hr(e,t,n){const s=e[n],i=t[n];return n==="style"&&te(s)&&te(i)?!Dt(s,i):s!==i}function Bl({vnode:e,parent:t,suspense:n},s){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=s,e=i),i===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const jr={},Br=()=>Object.create(jr),Kr=e=>Object.getPrototypeOf(e)===jr;function Kl(e,t,n,s=!1){const i={},r=Br();e.propsDefaults=Object.create(null),Gr(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:xr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Gl(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=Z(i),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let m=u[p];if(Zn(e.emitsOptions,m))continue;const h=t[m];if(c)if(ee(r,m))h!==r[m]&&(r[m]=h,f=!0);else{const w=Se(m);i[w]=Cs(c,l,w,h,e,!1)}else h!==r[m]&&(r[m]=h,f=!0)}}}else{Gr(e,t,i,r)&&(f=!0);let u;for(const p in l)(!t||!ee(t,p)&&((u=xt(p))===p||!ee(t,u)))&&(c?n&&(n[p]!==void 0||n[u]!==void 0)&&(i[p]=Cs(c,l,p,void 0,e,!0)):delete i[p]);if(r!==l)for(const p in r)(!t||!ee(t,p))&&(delete r[p],f=!0)}f&&ct(e.attrs,"set","")}function Gr(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(rn(c))continue;const f=t[c];let u;i&&ee(i,u=Se(c))?!r||!r.includes(u)?n[u]=f:(l||(l={}))[u]=f:Zn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(r){const c=Z(n),f=l||oe;for(let u=0;u<r.length;u++){const p=r[u];n[p]=Cs(i,c,p,f[p],e,!ee(f,p))}}return o}function Cs(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=ee(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&G(c)){const{propsDefaults:f}=i;if(n in f)s=f[n];else{const u=wn(i);s=f[n]=c.call(null,t),u()}}else s=c;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===xt(n))&&(s=!0))}return s}const Wl=new WeakMap;function Wr(e,t,n=!1){const s=n?Wl:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let c=!1;if(!G(e)){const u=p=>{c=!0;const[m,h]=Wr(p,t,!0);ve(o,m),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!c)return te(e)&&s.set(e,$t),$t;if(j(r))for(let u=0;u<r.length;u++){const p=Se(r[u]);yi(p)&&(o[p]=oe)}else if(r)for(const u in r){const p=Se(u);if(yi(p)){const m=r[u],h=o[p]=j(m)||G(m)?{type:m}:ve({},m),w=h.type;let C=!1,k=!0;if(j(w))for(let P=0;P<w.length;++P){const T=w[P],F=G(T)&&T.name;if(F==="Boolean"){C=!0;break}else F==="String"&&(k=!1)}else C=G(w)&&w.name==="Boolean";h[0]=C,h[1]=k,(C||ee(h,"default"))&&l.push(p)}}const f=[o,l];return te(e)&&s.set(e,f),f}function yi(e){return e[0]!=="$"&&!rn(e)}const zs=e=>e==="_"||e==="_ctx"||e==="$stable",Js=e=>j(e)?e.map(Qe):[Qe(e)],ql=(e,t,n)=>{if(t._n)return t;const s=On((...i)=>Js(t(...i)),n);return s._c=!1,s},qr=(e,t,n)=>{const s=e._ctx;for(const i in e){if(zs(i))continue;const r=e[i];if(G(r))t[i]=ql(i,r,s);else if(r!=null){const o=Js(r);t[i]=()=>o}}},zr=(e,t)=>{const n=Js(t);e.slots.default=()=>n},Jr=(e,t,n)=>{for(const s in t)(n||!zs(s))&&(e[s]=t[s])},zl=(e,t,n)=>{const s=e.slots=Br();if(e.vnode.shapeFlag&32){const i=t._;i?(Jr(s,t,n),n&&ir(s,"_",i,!0)):qr(t,s)}else t&&zr(e,t)},Jl=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:Jr(i,t,n):(r=!t.$stable,qr(t,i)),o=t}else t&&(zr(e,t),o={default:1});if(r)for(const l in i)!zs(l)&&o[l]==null&&delete i[l]},Te=ec;function Yl(e){return Ql(e)}function Ql(e,t){const n=qn();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:f,setElementText:u,parentNode:p,nextSibling:m,setScopeId:h=Ze,insertStaticContent:w}=e,C=(a,d,g,b=null,x=null,y=null,I=void 0,O=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!en(a,d)&&(b=E(a),Ce(a,x,y,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:A,ref:H,shapeFlag:D}=d;switch(A){case es:k(a,d,g,b);break;case wt:P(a,d,g,b);break;case Nn:a==null&&T(d,g,b,I);break;case Ae:nt(a,d,g,b,x,y,I,O,R);break;default:D&1?K(a,d,g,b,x,y,I,O,R):D&6?De(a,d,g,b,x,y,I,O,R):(D&64||D&128)&&A.process(a,d,g,b,x,y,I,O,R,U)}H!=null&&x?cn(H,a&&a.ref,y,d||a,!d):H==null&&a&&a.ref!=null&&cn(a.ref,null,y,a,!0)},k=(a,d,g,b)=>{if(a==null)s(d.el=l(d.children),g,b);else{const x=d.el=a.el;d.children!==a.children&&f(x,d.children)}},P=(a,d,g,b)=>{a==null?s(d.el=c(d.children||""),g,b):d.el=a.el},T=(a,d,g,b)=>{[a.el,a.anchor]=w(a.children,d,g,b,a.el,a.anchor)},F=({el:a,anchor:d},g,b)=>{let x;for(;a&&a!==d;)x=m(a),s(a,g,b),a=x;s(d,g,b)},V=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),i(a),a=g;i(d)},K=(a,d,g,b,x,y,I,O,R)=>{if(d.type==="svg"?I="svg":d.type==="math"&&(I="mathml"),a==null)J(d,g,b,x,y,I,O,R);else{const A=a.el&&a.el._isVueCE?a.el:null;try{A&&A._beginPatch(),je(a,d,x,y,I,O,R)}finally{A&&A._endPatch()}}},J=(a,d,g,b,x,y,I,O)=>{let R,A;const{props:H,shapeFlag:D,transition:$,dirs:B}=a;if(R=a.el=o(a.type,y,H&&H.is,H),D&8?u(R,a.children):D&16&&Ne(a.children,R,null,b,x,fs(a,y),I,O),B&&Ct(a,null,b,"created"),se(R,a,a.scopeId,I,b),H){for(const ie in H)ie!=="value"&&!rn(ie)&&r(R,ie,null,H[ie],y,b);"value"in H&&r(R,"value",null,H.value,y),(A=H.onVnodeBeforeMount)&&ze(A,b,a)}B&&Ct(a,null,b,"beforeMount");const z=Xl(x,$);z&&$.beforeEnter(R),s(R,d,g),((A=H&&H.onVnodeMounted)||z||B)&&Te(()=>{try{A&&ze(A,b,a),z&&$.enter(R),B&&Ct(a,null,b,"mounted")}finally{}},x)},se=(a,d,g,b,x)=>{if(g&&h(a,g),b)for(let y=0;y<b.length;y++)h(a,b[y]);if(x){let y=x.subTree;if(d===y||Zr(y.type)&&(y.ssContent===d||y.ssFallback===d)){const I=x.vnode;se(a,I,I.scopeId,I.slotScopeIds,x.parent)}}},Ne=(a,d,g,b,x,y,I,O,R=0)=>{for(let A=R;A<a.length;A++){const H=a[A]=O?lt(a[A]):Qe(a[A]);C(null,H,d,g,b,x,y,I,O)}},je=(a,d,g,b,x,y,I)=>{const O=d.el=a.el;let{patchFlag:R,dynamicChildren:A,dirs:H}=d;R|=a.patchFlag&16;const D=a.props||oe,$=d.props||oe;let B;if(g&&Rt(g,!1),(B=$.onVnodeBeforeUpdate)&&ze(B,g,d,a),H&&Ct(d,a,g,"beforeUpdate"),g&&Rt(g,!0),(D.innerHTML&&$.innerHTML==null||D.textContent&&$.textContent==null)&&u(O,""),A?Me(a.dynamicChildren,A,O,g,b,fs(d,x),y):I||S(a,d,O,null,g,b,fs(d,x),y,!1),R>0){if(R&16)Be(O,D,$,g,x);else if(R&2&&D.class!==$.class&&r(O,"class",null,$.class,x),R&4&&r(O,"style",D.style,$.style,x),R&8){const z=d.dynamicProps;for(let ie=0;ie<z.length;ie++){const ne=z[ie],ae=D[ne],he=$[ne];(he!==ae||ne==="value")&&r(O,ne,ae,he,x,g)}}R&1&&a.children!==d.children&&u(O,d.children)}else!I&&A==null&&Be(O,D,$,g,x);((B=$.onVnodeUpdated)||H)&&Te(()=>{B&&ze(B,g,d,a),H&&Ct(d,a,g,"updated")},b)},Me=(a,d,g,b,x,y,I)=>{for(let O=0;O<d.length;O++){const R=a[O],A=d[O],H=R.el&&(R.type===Ae||!en(R,A)||R.shapeFlag&198)?p(R.el):g;C(R,A,H,null,b,x,y,I,!0)}},Be=(a,d,g,b,x)=>{if(d!==g){if(d!==oe)for(const y in d)!rn(y)&&!(y in g)&&r(a,y,d[y],null,x,b);for(const y in g){if(rn(y))continue;const I=g[y],O=d[y];I!==O&&y!=="value"&&r(a,y,O,I,x,b)}"value"in g&&r(a,"value",d.value,g.value,x)}},nt=(a,d,g,b,x,y,I,O,R)=>{const A=d.el=a?a.el:l(""),H=d.anchor=a?a.anchor:l("");let{patchFlag:D,dynamicChildren:$,slotScopeIds:B}=d;B&&(O=O?O.concat(B):B),a==null?(s(A,g,b),s(H,g,b),Ne(d.children||[],g,H,x,y,I,O,R)):D>0&&D&64&&$&&a.dynamicChildren&&a.dynamicChildren.length===$.length?(Me(a.dynamicChildren,$,g,x,y,I,O),(d.key!=null||x&&d===x.subTree)&&Yr(a,d,!0)):S(a,d,g,H,x,y,I,O,R)},De=(a,d,g,b,x,y,I,O,R)=>{d.slotScopeIds=O,a==null?d.shapeFlag&512?x.ctx.activate(d,g,b,I,R):At(d,g,b,x,y,I,R):gt(a,d,R)},At=(a,d,g,b,x,y,I)=>{const O=a.component=cc(a,b,x);if(Vr(a)&&(O.ctx.renderer=U),ac(O,!1,I),O.asyncDep){if(x&&x.registerDep(O,M,I),!a.el){const R=O.subTree=pe(wt);P(null,R,d,g),a.placeholder=R.el}}else M(O,a,d,g,x,y,I)},gt=(a,d,g)=>{const b=d.component=a.component;if(jl(a,d,g))if(b.asyncDep&&!b.asyncResolved){v(b,d,g);return}else b.next=d,b.update();else d.el=a.el,b.vnode=d},M=(a,d,g,b,x,y,I)=>{const O=()=>{if(a.isMounted){let{next:D,bu:$,u:B,parent:z,vnode:ie}=a;{const We=Qr(a);if(We){D&&(D.el=ie.el,v(a,D,I)),We.asyncDep.then(()=>{Te(()=>{a.isUnmounted||A()},x)});return}}let ne=D,ae;Rt(a,!1),D?(D.el=ie.el,v(a,D,I)):D=ie,$&&Tn($),(ae=D.props&&D.props.onVnodeBeforeUpdate)&&ze(ae,z,D,ie),Rt(a,!0);const he=vi(a),Ge=a.subTree;a.subTree=he,C(Ge,he,p(Ge.el),E(Ge),a,x,y),D.el=he.el,ne===null&&Bl(a,he.el),B&&Te(B,x),(ae=D.props&&D.props.onVnodeUpdated)&&Te(()=>ze(ae,z,D,ie),x)}else{let D;const{el:$,props:B}=d,{bm:z,m:ie,parent:ne,root:ae,type:he}=a,Ge=un(d);Rt(a,!1),z&&Tn(z),!Ge&&(D=B&&B.onVnodeBeforeMount)&&ze(D,ne,d),Rt(a,!0);{ae.ce&&ae.ce._hasShadowRoot()&&ae.ce._injectChildStyle(he,a.parent?a.parent.type:void 0);const We=a.subTree=vi(a);C(null,We,g,b,a,x,y),d.el=We.el}if(ie&&Te(ie,x),!Ge&&(D=B&&B.onVnodeMounted)){const We=d;Te(()=>ze(D,ne,We),x)}(d.shapeFlag&256||ne&&un(ne.vnode)&&ne.vnode.shapeFlag&256)&&a.a&&Te(a.a,x),a.isMounted=!0,d=g=b=null}};a.scope.on();const R=a.effect=new ur(O);a.scope.off();const A=a.update=R.run.bind(R),H=a.job=R.runIfDirty.bind(R);H.i=a,H.id=a.uid,R.scheduler=()=>Gs(H),Rt(a,!0),A()},v=(a,d,g)=>{d.component=a;const b=a.vnode.props;a.vnode=d,a.next=null,Gl(a,d.props,b,g),Jl(a,d.children,g),dt(),ci(a),pt()},S=(a,d,g,b,x,y,I,O,R=!1)=>{const A=a&&a.children,H=a?a.shapeFlag:0,D=d.children,{patchFlag:$,shapeFlag:B}=d;if($>0){if($&128){vt(A,D,g,b,x,y,I,O,R);return}else if($&256){Fe(A,D,g,b,x,y,I,O,R);return}}B&8?(H&16&&Ve(A,x,y),D!==A&&u(g,D)):H&16?B&16?vt(A,D,g,b,x,y,I,O,R):Ve(A,x,y,!0):(H&8&&u(g,""),B&16&&Ne(D,g,b,x,y,I,O,R))},Fe=(a,d,g,b,x,y,I,O,R)=>{a=a||$t,d=d||$t;const A=a.length,H=d.length,D=Math.min(A,H);let $;for($=0;$<D;$++){const B=d[$]=R?lt(d[$]):Qe(d[$]);C(a[$],B,g,null,x,y,I,O,R)}A>H?Ve(a,x,y,!0,!1,D):Ne(d,g,b,x,y,I,O,R,D)},vt=(a,d,g,b,x,y,I,O,R)=>{let A=0;const H=d.length;let D=a.length-1,$=H-1;for(;A<=D&&A<=$;){const B=a[A],z=d[A]=R?lt(d[A]):Qe(d[A]);if(en(B,z))C(B,z,g,null,x,y,I,O,R);else break;A++}for(;A<=D&&A<=$;){const B=a[D],z=d[$]=R?lt(d[$]):Qe(d[$]);if(en(B,z))C(B,z,g,null,x,y,I,O,R);else break;D--,$--}if(A>D){if(A<=$){const B=$+1,z=B<H?d[B].el:b;for(;A<=$;)C(null,d[A]=R?lt(d[A]):Qe(d[A]),g,z,x,y,I,O,R),A++}}else if(A>$)for(;A<=D;)Ce(a[A],x,y,!0),A++;else{const B=A,z=A,ie=new Map;for(A=z;A<=$;A++){const Oe=d[A]=R?lt(d[A]):Qe(d[A]);Oe.key!=null&&ie.set(Oe.key,A)}let ne,ae=0;const he=$-z+1;let Ge=!1,We=0;const Xt=new Array(he);for(A=0;A<he;A++)Xt[A]=0;for(A=B;A<=D;A++){const Oe=a[A];if(ae>=he){Ce(Oe,x,y,!0);continue}let qe;if(Oe.key!=null)qe=ie.get(Oe.key);else for(ne=z;ne<=$;ne++)if(Xt[ne-z]===0&&en(Oe,d[ne])){qe=ne;break}qe===void 0?Ce(Oe,x,y,!0):(Xt[qe-z]=A+1,qe>=We?We=qe:Ge=!0,C(Oe,d[qe],g,null,x,y,I,O,R),ae++)}const ti=Ge?Zl(Xt):$t;for(ne=ti.length-1,A=he-1;A>=0;A--){const Oe=z+A,qe=d[Oe],ni=d[Oe+1],si=Oe+1<H?ni.el||Xr(ni):b;Xt[A]===0?C(null,qe,g,si,x,y,I,O,R):Ge&&(ne<0||A!==ti[ne]?Ke(qe,g,si,2):ne--)}}},Ke=(a,d,g,b,x=null)=>{const{el:y,type:I,transition:O,children:R,shapeFlag:A}=a;if(A&6){Ke(a.component.subTree,d,g,b);return}if(A&128){a.suspense.move(d,g,b);return}if(A&64){I.move(a,d,g,U);return}if(I===Ae){s(y,d,g);for(let D=0;D<R.length;D++)Ke(R[D],d,g,b);s(a.anchor,d,g);return}if(I===Nn){F(a,d,g);return}if(b!==2&&A&1&&O)if(b===0)O.persisted&&!y[us]?s(y,d,g):(O.beforeEnter(y),s(y,d,g),Te(()=>O.enter(y),x));else{const{leave:D,delayLeave:$,afterLeave:B}=O,z=()=>{a.ctx.isUnmounted?i(y):s(y,d,g)},ie=()=>{const ne=y._isLeaving||!!y[us];y._isLeaving&&y[us](!0),O.persisted&&!ne?z():D(y,()=>{z(),B&&B()})};$?$(y,z,ie):ie()}else s(y,d,g)},Ce=(a,d,g,b=!1,x=!1)=>{const{type:y,props:I,ref:O,children:R,dynamicChildren:A,shapeFlag:H,patchFlag:D,dirs:$,cacheIndex:B,memo:z}=a;if(D===-2&&(x=!1),O!=null&&(dt(),cn(O,null,g,a,!0),pt()),B!=null&&(d.renderCache[B]=void 0),H&256){d.ctx.deactivate(a);return}const ie=H&1&&$,ne=!un(a);let ae;if(ne&&(ae=I&&I.onVnodeBeforeUnmount)&&ze(ae,d,a),H&6)St(a.component,g,b);else{if(H&128){a.suspense.unmount(g,b);return}ie&&Ct(a,null,d,"beforeUnmount"),H&64?a.type.remove(a,d,g,U,b):A&&!A.hasOnce&&(y!==Ae||D>0&&D&64)?Ve(A,d,g,!1,!0):(y===Ae&&D&384||!x&&H&16)&&Ve(R,d,g),b&&Vt(a)}const he=z!=null&&B==null;(ne&&(ae=I&&I.onVnodeUnmounted)||ie||he)&&Te(()=>{ae&&ze(ae,d,a),ie&&Ct(a,null,d,"unmounted"),he&&(a.el=null)},g)},Vt=a=>{const{type:d,el:g,anchor:b,transition:x}=a;if(d===Ae){Lt(g,b);return}if(d===Nn){V(a);return}const y=()=>{i(g),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(a.shapeFlag&1&&x&&!x.persisted){const{leave:I,delayLeave:O}=x,R=()=>I(g,y);O?O(a.el,y,R):R()}else y()},Lt=(a,d)=>{let g;for(;a!==d;)g=m(a),i(a),a=g;i(d)},St=(a,d,g)=>{const{bum:b,scope:x,job:y,subTree:I,um:O,m:R,a:A}=a;bi(R),bi(A),b&&Tn(b),x.stop(),y&&(y.flags|=8,Ce(I,a,d,g)),O&&Te(O,d),Te(()=>{a.isUnmounted=!0},d)},Ve=(a,d,g,b=!1,x=!1,y=0)=>{for(let I=y;I<a.length;I++)Ce(a[I],d,g,b,x)},E=a=>{if(a.shapeFlag&6)return E(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[pl];return g?m(g):d};let L=!1;const N=(a,d,g)=>{let b;a==null?d._vnode&&(Ce(d._vnode,null,null,!0),b=d._vnode.component):C(d._vnode||null,a,d,null,null,null,g),d._vnode=a,L||(L=!0,ci(b),Or(),L=!1)},U={p:C,um:Ce,m:Ke,r:Vt,mt:At,mc:Ne,pc:S,pbc:Me,n:E,o:e};return{render:N,hydrate:void 0,createApp:Ll(N)}}function fs({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 Rt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yr(e,t,n=!1){const s=e.children,i=t.children;if(j(s)&&j(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=lt(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Yr(o,l)),l.type===es&&(l.patchFlag===-1&&(l=i[r]=lt(l)),l.el=o.el),l.type===wt&&!l.el&&(l.el=o.el)}}function Zl(e){const t=e.slice(),n=[0];let s,i,r,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(i=n[n.length-1],e[i]<f){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<f?r=l+1:o=l;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function Qr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qr(t)}function bi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Xr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Xr(t.subTree):null}const Zr=e=>e.__isSuspense;function ec(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):ul(e)}const Ae=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),Nn=Symbol.for("v-stc"),fn=[];let Ie=null;function Q(e=!1){fn.push(Ie=e?null:[])}function tc(){fn.pop(),Ie=fn[fn.length-1]||null}let vn=1;function Un(e,t=!1){vn+=e,e<0&&Ie&&t&&(Ie.hasOnce=!0)}function eo(e){return e.dynamicChildren=vn>0?Ie||$t:null,tc(),vn>0&&Ie&&Ie.push(e),e}function re(e,t,n,s,i,r){return eo(_(e,t,n,s,i,r,!0))}function ts(e,t,n,s,i){return eo(pe(e,t,n,s,i,!0))}function $n(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const to=({key:e})=>e??null,Mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||be(e)||G(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function _(e,t=null,n=null,s=0,i=null,r=e===Ae?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&to(t),ref:t&&Mn(t),scopeId:Ir,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:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pe};return l?(Ys(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),vn>0&&!o&&Ie&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Ie.push(c),c}const pe=nc;function nc(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Rl)&&(e=wt),$n(e)){const l=qt(e,t,!0);return n&&Ys(l,n),vn>0&&!r&&Ie&&(l.shapeFlag&6?Ie[Ie.indexOf(e)]=l:Ie.push(l)),l.patchFlag=-2,l}if(mc(e)&&(e=e.__vccOpts),t){t=sc(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=It(l)),te(c)&&(Ks(c)&&!j(c)&&(c=ve({},c)),t.style=Fs(c))}const o=ue(e)?1:Zr(e)?128:hl(e)?64:te(e)?4:G(e)?2:0;return _(e,t,n,s,i,o,r,!0)}function sc(e){return e?Ks(e)||Kr(e)?ve({},e):e:null}function qt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,f=t?rc(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&to(f),ref:t&&t.ref?n&&r?j(r)?r.concat(Mn(t)):[r,Mn(t)]:Mn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ws(u,c.clone(u)),u}function Re(e=" ",t=0){return pe(es,null,e,t)}function ic(e,t){const n=pe(Nn,null,e);return n.staticCount=t,n}function et(e="",t=!1){return t?(Q(),ts(wt,null,e)):pe(wt,null,e)}function Qe(e){return e==null||typeof e=="boolean"?pe(wt):j(e)?pe(Ae,null,e.slice()):$n(e)?lt(e):pe(es,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function Ys(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ys(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Kr(t)?t._ctx=Pe:i===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[Re(t)]):n=8);e.children=t,e.shapeFlag|=n}function rc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=It([t.class,s.class]));else if(i==="style")t.style=Fs([t.style,s.style]);else if(jn(i)){const r=t[i],o=s[i];o&&r!==o&&!(j(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!Bn(i)&&(t[i]=o)}else i!==""&&(t[i]=s[i])}return t}function ze(e,t,n,s=null){$e(e,t,7,[n,s])}const oc=Ur();let lc=0;function cc(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||oc,r={uid:lc++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Do(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wr(s,i),emitsOptions:$r(s,i),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:s.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=kl.bind(null,r),e.ce&&e.ce(r),r}let ye=null;const uc=()=>ye||Pe;let Hn,Rs;{const e=qn(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Hn=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Rs=t("__VUE_SSR_SETTERS__",n=>_n=n)}const wn=e=>{const t=ye;return Hn(e),e.scope.on(),()=>{e.scope.off(),Hn(t)}},Ei=()=>{ye&&ye.scope.off(),Hn(null)};function no(e){return e.vnode.shapeFlag&4}let _n=!1;function ac(e,t=!1,n=!1){t&&Rs(t);const{props:s,children:i}=e.vnode,r=no(e);Kl(e,s,r,t),zl(e,i,n||t);const o=r?fc(e,t):void 0;return t&&Rs(!1),o}function fc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ol);const{setup:s}=n;if(s){dt();const i=e.setupContext=s.length>1?pc(e):null,r=wn(e),o=En(s,e,0,[e.props,i]),l=tr(o);if(pt(),r(),(l||e.sp)&&!un(e)&&Dr(e),l){if(o.then(Ei,Ei),t)return o.then(c=>{wi(e,c)}).catch(c=>{Yn(c,e,0)});e.asyncDep=o}else wi(e,o)}else so(e)}function wi(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=Sr(t)),so(e)}function so(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const i=wn(e);dt();try{Pl(e)}finally{pt(),i()}}}const dc={get(e,t){return _e(e,"get",""),e[t]}};function pc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,dc),slots:e.slots,emit:e.emit,expose:t}}function ns(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Sr(Zo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in an)return an[n](e)},has(t,n){return n in t||n in an}})):e.proxy}function hc(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function mc(e){return G(e)&&"__vccOpts"in e}const ge=(e,t)=>il(e,t,_n);function io(e,t,n){try{Un(-1);const s=arguments.length;return s===2?te(t)&&!j(t)?$n(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&$n(n)&&(n=[n]),pe(e,t,n))}finally{Un(1)}}const gc="3.5.38";/**
|
||
* @vue/runtime-dom v3.5.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Ts;const xi=typeof window<"u"&&window.trustedTypes;if(xi)try{Ts=xi.createPolicy("vue",{createHTML:e=>e})}catch{}const ro=Ts?e=>Ts.createHTML(e):e=>e,vc="http://www.w3.org/2000/svg",_c="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,Ai=ot&&ot.createElement("template"),yc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?ot.createElementNS(vc,e):t==="mathml"?ot.createElementNS(_c,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Ai.innerHTML=ro(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Ai.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bc=Symbol("_vtc");function Ec(e,t,n){const s=e[bc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Si=Symbol("_vod"),wc=Symbol("_vsh"),xc=Symbol(""),Ac=/(?:^|;)\s*display\s*:/;function Sc(e,t,n){const s=e.style,i=ue(n);let r=!1;if(n&&!i){if(t)if(ue(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const o in t)n[o]==null&&sn(s,o,"");for(const o in n){o==="display"&&(r=!0);const l=n[o];l!=null?Rc(e,o,!ue(t)&&t?t[o]:void 0,l)||sn(s,o,l):sn(s,o,"")}}else if(i){if(t!==n){const o=s[xc];o&&(n+=";"+o),s.cssText=n,r=Ac.test(n)}}else t&&e.removeAttribute("style");Si in e&&(e[Si]=r?s.display:"",e[wc]&&(s.display="none"))}const Ci=/\s*!important$/;function sn(e,t,n){if(j(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Cc(e,t);Ci.test(n)?e.setProperty(xt(s),n.replace(Ci,""),"important"):e[s]=n}}const Ri=["Webkit","Moz","ms"],ds={};function Cc(e,t){const n=ds[t];if(n)return n;let s=Se(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Wn(s);for(let i=0;i<Ri.length;i++){const r=Ri[i]+s;if(r in e)return ds[t]=r}return t}function Rc(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ue(s)&&n===s}const Ti="http://www.w3.org/1999/xlink";function Oi(e,t,n,s,i,r=No(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ti,t.slice(6,t.length)):e.setAttributeNS(Ti,t,n):n==null||r&&!rr(n)?e.removeAttribute(t):e.setAttribute(t,r?"":tt(n)?String(n):n)}function Pi(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ro(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=rr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Et(e,t,n,s){e.addEventListener(t,n,s)}function Tc(e,t,n,s){e.removeEventListener(t,n,s)}const Ii=Symbol("_vei");function Oc(e,t,n,s,i=null){const r=e[Ii]||(e[Ii]={}),o=r[t];if(s&&o)o.value=s;else{const[l,c]=Pc(t);if(s){const f=r[t]=Mc(s,i);Et(e,l,f,c)}else o&&(Tc(e,l,o,c),r[t]=void 0)}}const Ni=/(?:Once|Passive|Capture)$/;function Pc(e){let t;if(Ni.test(e)){t={};let s;for(;s=e.match(Ni);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xt(e.slice(2)),t]}let ps=0;const Ic=Promise.resolve(),Nc=()=>ps||(Ic.then(()=>ps=0),ps=Date.now());function Mc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const i=n.value;if(j(i)){const r=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{r.call(s),s._stopped=!0};const o=i.slice(),l=[s];for(let c=0;c<o.length&&!s._stopped;c++){const f=o[c];f&&$e(f,t,5,l)}}else $e(i,t,5,[s])};return n.value=e,n.attached=Nc(),n}const Mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dc=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Ec(e,s,o):t==="style"?Sc(e,n,s):jn(t)?Bn(t)||Oc(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vc(e,t,s,o))?(Pi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Oi(e,t,s,o,r,t!=="value")):e._isVueCE&&(Lc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ue(s)))?Pi(e,Se(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Oi(e,t,s,o))};function Vc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mi(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Mi(t)&&ue(n)?!1:t in e}function Lc(e,t){const n=e._def.props;if(!n)return!1;const s=Se(t);return Array.isArray(n)?n.some(i=>Se(i)===s):Object.keys(n).some(i=>Se(i)===s)}const zt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Tn(t,n):t};function Fc(e){e.target.composing=!0}function Di(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ft=Symbol("_assign");function Vi(e,t,n){return t&&(e=e.trim()),n&&(e=Ls(e)),e}const Ot={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[ft]=zt(i);const r=s||i.props&&i.props.type==="number";Et(e,t?"change":"input",o=>{o.target.composing||e[ft](Vi(e.value,n,r))}),(n||r)&&Et(e,"change",()=>{e.value=Vi(e.value,n,r)}),t||(Et(e,"compositionstart",Fc),Et(e,"compositionend",Di),Et(e,"change",Di))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[ft]=zt(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ls(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c)}},Rn={deep:!0,created(e,t,n){e[ft]=zt(n),Et(e,"change",()=>{const s=e._modelValue,i=oo(e),r=e.checked,o=e[ft];if(j(s)){const l=or(s,i),c=l!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const f=[...s];f.splice(l,1),o(f)}}else if(Kn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(lo(e,r))})},mounted:Li,beforeUpdate(e,t,n){e[ft]=zt(n),Li(e,t,n)}};function Li(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(j(t))i=or(t,s.props.value)>-1;else if(Kn(t))i=t.has(s.props.value);else{if(t===n)return;i=Dt(t,lo(e,!0))}e.checked!==i&&(e.checked=i)}const it={created(e,{value:t},n){e.checked=Dt(t,n.props.value),e[ft]=zt(n),Et(e,"change",()=>{e[ft](oo(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ft]=zt(s),t!==n&&(e.checked=Dt(t,s.props.value))}};function oo(e){return"_value"in e?e._value:e.value}function lo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const kc=["ctrl","shift","alt","meta"],Uc={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)=>kc.some(n=>e[`${n}Key`]&&!t.includes(n))},Qs=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=Uc[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},$c={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=xt(i.key);if(t.some(o=>o===r||$c[o]===r))return e(i)}))},jc=ve({patchProp:Dc},yc);let Fi;function Bc(){return Fi||(Fi=Yl(jc))}const Kc=((...e)=>{const t=Bc().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Wc(s);if(!i)return;const r=t._component;!G(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Gc(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Gc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Wc(e){return ue(e)?document.querySelector(e):e}const qc="/icons/Search.png",zc="/icons/Library.png",Jc="/icons/People.png",xn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Yc={},Qc={id:"app",class:"ms-app","data-current-login":"guest"},Xc={class:"ms-side"},Zc={class:"gs-nav"},eu={class:"ms-main"},tu={class:"ms-content"};function nu(e,t){const n=fi("router-link"),s=fi("router-view");return Q(),re("div",Qc,[_("aside",Xc,[t[3]||(t[3]=_("div",{class:"gs-logo"},"Workspace",-1)),_("nav",Zc,[pe(n,{to:"/search",class:"gs-nav-item","active-class":"active"},{default:On(()=>[...t[0]||(t[0]=[_("img",{class:"gs-nav-icon",src:qc,alt:""},null,-1),_("span",null,"Search",-1)])]),_:1}),pe(n,{to:"/library",class:"gs-nav-item","active-class":"active"},{default:On(()=>[...t[1]||(t[1]=[_("img",{class:"gs-nav-icon",src:zc,alt:""},null,-1),_("span",null,"Library",-1)])]),_:1}),pe(n,{to:"/people",class:"gs-nav-item","active-class":"active"},{default:On(()=>[...t[2]||(t[2]=[_("img",{class:"gs-nav-icon",src:Jc,alt:""},null,-1),_("span",null,"People",-1)])]),_:1})]),t[4]||(t[4]=ic('<div class="gs-divider"></div><div class="gs-footer"><div class="gs-theme-switcher"><button class="gs-theme-btn active">☀️</button><button class="gs-theme-btn">🌙</button><button class="gs-theme-btn">🌗</button></div><div class="gs-account"><span class="gs-account-name">Demo</span></div></div>',2))]),_("main",eu,[_("div",tu,[pe(s)])])])}const su=xn(Yc,[["render",nu]]);/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Ut=typeof document<"u";function co(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function iu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&co(e.default)}const X=Object.assign;function hs(e,t){const n={};for(const s in t){const i=t[s];n[s]=He(i)?i.map(e):e(i)}return n}const dn=()=>{},He=Array.isArray;function ki(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const uo=/#/g,ru=/&/g,ou=/\//g,lu=/=/g,cu=/\?/g,ao=/\+/g,uu=/%5B/g,au=/%5D/g,fo=/%5E/g,fu=/%60/g,po=/%7B/g,du=/%7C/g,ho=/%7D/g,pu=/%20/g;function Xs(e){return e==null?"":encodeURI(""+e).replace(du,"|").replace(uu,"[").replace(au,"]")}function hu(e){return Xs(e).replace(po,"{").replace(ho,"}").replace(fo,"^")}function Os(e){return Xs(e).replace(ao,"%2B").replace(pu,"+").replace(uo,"%23").replace(ru,"%26").replace(fu,"`").replace(po,"{").replace(ho,"}").replace(fo,"^")}function mu(e){return Os(e).replace(lu,"%3D")}function gu(e){return Xs(e).replace(uo,"%23").replace(cu,"%3F")}function vu(e){return gu(e).replace(ou,"%2F")}function yn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const _u=/\/$/,yu=e=>e.replace(_u,"");function ms(e,t,n="/"){let s,i={},r="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),r=t.slice(c,l>0?l:t.length),i=e(r.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=xu(s??t,n),{fullPath:s+r+o,path:s,query:i,hash:yn(o)}}function bu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ui(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Eu(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Jt(t.matched[s],n.matched[i])&&mo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Jt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!wu(e[n],t[n]))return!1;return!0}function wu(e,t){return He(e)?$i(e,t):He(t)?$i(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function $i(e,t){return He(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function xu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=n.length-1,o,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o).join("/")}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ps=(function(e){return e.pop="pop",e.push="push",e})({}),gs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Au(e){if(!e)if(Ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yu(e)}const Su=/^[^#]+#/;function Cu(e,t){return e.replace(Su,"#")+t}function Ru(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ss=()=>({left:window.scrollX,top:window.scrollY});function Tu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Ru(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Hi(e,t){return(history.state?history.state.position-t:-1)+e}const Is=new Map;function Ou(e,t){Is.set(e,t)}function Pu(e){const t=Is.get(e);return Is.delete(e),t}function Iu(e){return typeof e=="string"||e&&typeof e=="object"}function go(e){return typeof e=="string"||typeof e=="symbol"}let ce=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const vo=Symbol("");ce.MATCHER_NOT_FOUND+"",ce.NAVIGATION_GUARD_REDIRECT+"",ce.NAVIGATION_ABORTED+"",ce.NAVIGATION_CANCELLED+"",ce.NAVIGATION_DUPLICATED+"";function Yt(e,t){return X(new Error,{type:e,[vo]:!0},t)}function rt(e,t){return e instanceof Error&&vo in e&&(t==null||!!(e.type&t))}const Nu=["params","query","hash"];function Mu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Nu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Du(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const i=n[s].replace(ao," "),r=i.indexOf("="),o=yn(r<0?i:i.slice(0,r)),l=r<0?null:yn(i.slice(r+1));if(o in t){let c=t[o];He(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function ji(e){let t="";for(let n in e){const s=e[n];if(n=mu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(He(s)?s.map(i=>i&&Os(i)):[s&&Os(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Vu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=He(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const Lu=Symbol(""),Bi=Symbol(""),Zs=Symbol(""),_o=Symbol(""),Ns=Symbol("");function tn(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bt(e,t,n,s,i,r=o=>o()){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((l,c)=>{const f=m=>{m===!1?c(Yt(ce.NAVIGATION_ABORTED,{from:n,to:t})):m instanceof Error?c(m):Iu(m)?c(Yt(ce.NAVIGATION_GUARD_REDIRECT,{from:t,to:m})):(o&&s.enterCallbacks[i]===o&&typeof m=="function"&&o.push(m),l())},u=r(()=>e.call(s&&s.instances[i],t,n,f));let p=Promise.resolve(u);e.length<3&&(p=p.then(f)),p.catch(m=>c(m))})}function vs(e,t,n,s,i=r=>r()){const r=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(co(c)){const f=(c.__vccOpts||c)[t];f&&r.push(bt(f,n,s,o,l,i))}else{let f=c();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const p=iu(u)?u.default:u;o.mods[l]=u,o.components[l]=p;const m=(p.__vccOpts||p)[t];return m&&bt(m,n,s,o,l,i)()}))}}return r}function Fu(e,t){const n=[],s=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let o=0;o<r;o++){const l=t.matched[o];l&&(e.matched.find(f=>Jt(f,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(f=>Jt(f,c))||i.push(c))}return[n,s,i]}/*!
|
||
* vue-router v4.6.4
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let ku=()=>location.protocol+"//"+location.host;function yo(e,t){const{pathname:n,search:s,hash:i}=t,r=e.indexOf("#");if(r>-1){let o=i.includes(e.slice(r))?e.slice(r).length:1,l=i.slice(o);return l[0]!=="/"&&(l="/"+l),Ui(l,"")}return Ui(n,e)+s+i}function Uu(e,t,n,s){let i=[],r=[],o=null;const l=({state:m})=>{const h=yo(e,location),w=n.value,C=t.value;let k=0;if(m){if(n.value=h,t.value=m,o&&o===w){o=null;return}k=C?m.position-C.position:0}else s(h);i.forEach(P=>{P(n.value,w,{delta:k,type:Ps.pop,direction:k?k>0?gs.forward:gs.back:gs.unknown})})};function c(){o=n.value}function f(m){i.push(m);const h=()=>{const w=i.indexOf(m);w>-1&&i.splice(w,1)};return r.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(X({},m.state,{scroll:ss()}),"")}}function p(){for(const m of r)m();r=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:p}}function Ki(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?ss():null}}function $u(e){const{history:t,location:n}=window,s={value:yo(e,n)},i={value:t.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,f,u){const p=e.indexOf("#"),m=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:ku()+e+c;try{t[u?"replaceState":"pushState"](f,"",m),i.value=f}catch(h){console.error(h),n[u?"replace":"assign"](m)}}function o(c,f){r(c,X({},t.state,Ki(i.value.back,c,i.value.forward,!0),f,{position:i.value.position}),!0),s.value=c}function l(c,f){const u=X({},i.value,t.state,{forward:c,scroll:ss()});r(u.current,u,!0),r(c,X({},Ki(s.value,c,null),{position:u.position+1},f),!1),s.value=c}return{location:s,state:i,push:l,replace:o}}function Hu(e){e=Au(e);const t=$u(e),n=Uu(e,t.state,t.location,t.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=X({location:"",base:e,go:s,createHref:Cu.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}let Pt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var de=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(de||{});const ju={type:Pt.Static,value:""},Bu=/[a-zA-Z0-9_]/;function Ku(e){if(!e)return[[]];if(e==="/")return[[ju]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=de.Static,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let l=0,c,f="",u="";function p(){f&&(n===de.Static?r.push({type:Pt.Static,value:f}):n===de.Param||n===de.ParamRegExp||n===de.ParamRegExpEnd?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:Pt.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function m(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==de.ParamRegExp){s=n,n=de.EscapeNext;continue}switch(n){case de.Static:c==="/"?(f&&p(),o()):c===":"?(p(),n=de.Param):m();break;case de.EscapeNext:m(),n=s;break;case de.Param:c==="("?n=de.ParamRegExp:Bu.test(c)?m():(p(),n=de.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case de.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=de.ParamRegExpEnd:u+=c;break;case de.ParamRegExpEnd:p(),n=de.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===de.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),i}const Gi="[^/]+?",Gu={sensitive:!1,strict:!1,start:!0,end:!0};var we=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(we||{});const Wu=/[.+*?^${}()[\]/\\]/g;function qu(e,t){const n=X({},Gu,t),s=[];let i=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[we.Root];n.strict&&!f.length&&(i+="/");for(let p=0;p<f.length;p++){const m=f[p];let h=we.Segment+(n.sensitive?we.BonusCaseSensitive:0);if(m.type===Pt.Static)p||(i+="/"),i+=m.value.replace(Wu,"\\$&"),h+=we.Static;else if(m.type===Pt.Param){const{value:w,repeatable:C,optional:k,regexp:P}=m;r.push({name:w,repeatable:C,optional:k});const T=P||Gi;if(T!==Gi){h+=we.BonusCustomRegExp;try{`${T}`}catch(V){throw new Error(`Invalid custom RegExp for param "${w}" (${T}): `+V.message)}}let F=C?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;p||(F=k&&f.length<2?`(?:/${F})`:"/"+F),k&&(F+="?"),i+=F,h+=we.Dynamic,k&&(h+=we.BonusOptional),C&&(h+=we.BonusRepeatable),T===".*"&&(h+=we.BonusWildcard)}u.push(h)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=we.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function l(f){const u=f.match(o),p={};if(!u)return null;for(let m=1;m<u.length;m++){const h=u[m]||"",w=r[m-1];p[w.name]=h&&w.repeatable?h.split("/"):h}return p}function c(f){let u="",p=!1;for(const m of e){(!p||!u.endsWith("/"))&&(u+="/"),p=!1;for(const h of m)if(h.type===Pt.Static)u+=h.value;else if(h.type===Pt.Param){const{value:w,repeatable:C,optional:k}=h,P=w in f?f[w]:"";if(He(P)&&!C)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const T=He(P)?P.join("/"):P;if(!T)if(k)m.length<2&&(u.endsWith("/")?u=u.slice(0,-1):p=!0);else throw new Error(`Missing required param "${w}"`);u+=T}}return u||"/"}return{re:o,score:s,keys:r,parse:l,stringify:c}}function zu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===we.Static+we.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===we.Static+we.Segment?1:-1:0}function bo(e,t){let n=0;const s=e.score,i=t.score;for(;n<s.length&&n<i.length;){const r=zu(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(Wi(s))return 1;if(Wi(i))return-1}return i.length-s.length}function Wi(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ju={strict:!1,end:!0,sensitive:!1};function Yu(e,t,n){const s=qu(Ku(e.path),n),i=X(s,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Qu(e,t){const n=[],s=new Map;t=ki(Ju,t);function i(p){return s.get(p)}function r(p,m,h){const w=!h,C=zi(p);C.aliasOf=h&&h.record;const k=ki(t,p),P=[C];if("alias"in p){const V=typeof p.alias=="string"?[p.alias]:p.alias;for(const K of V)P.push(zi(X({},C,{components:h?h.record.components:C.components,path:K,aliasOf:h?h.record:C})))}let T,F;for(const V of P){const{path:K}=V;if(m&&K[0]!=="/"){const J=m.record.path,se=J[J.length-1]==="/"?"":"/";V.path=m.record.path+(K&&se+K)}if(T=Yu(V,m,k),h?h.alias.push(T):(F=F||T,F!==T&&F.alias.push(T),w&&p.name&&!Ji(T)&&o(p.name)),Eo(T)&&c(T),C.children){const J=C.children;for(let se=0;se<J.length;se++)r(J[se],T,h&&h.children[se])}h=h||T}return F?()=>{o(F)}:dn}function o(p){if(go(p)){const m=s.get(p);m&&(s.delete(p),n.splice(n.indexOf(m),1),m.children.forEach(o),m.alias.forEach(o))}else{const m=n.indexOf(p);m>-1&&(n.splice(m,1),p.record.name&&s.delete(p.record.name),p.children.forEach(o),p.alias.forEach(o))}}function l(){return n}function c(p){const m=ea(p,n);n.splice(m,0,p),p.record.name&&!Ji(p)&&s.set(p.record.name,p)}function f(p,m){let h,w={},C,k;if("name"in p&&p.name){if(h=s.get(p.name),!h)throw Yt(ce.MATCHER_NOT_FOUND,{location:p});k=h.record.name,w=X(qi(m.params,h.keys.filter(F=>!F.optional).concat(h.parent?h.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),p.params&&qi(p.params,h.keys.map(F=>F.name))),C=h.stringify(w)}else if(p.path!=null)C=p.path,h=n.find(F=>F.re.test(C)),h&&(w=h.parse(C),k=h.record.name);else{if(h=m.name?s.get(m.name):n.find(F=>F.re.test(m.path)),!h)throw Yt(ce.MATCHER_NOT_FOUND,{location:p,currentLocation:m});k=h.record.name,w=X({},m.params,p.params),C=h.stringify(w)}const P=[];let T=h;for(;T;)P.unshift(T.record),T=T.parent;return{name:k,path:C,params:w,matched:P,meta:Zu(P)}}e.forEach(p=>r(p));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:i}}function qi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function zi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Xu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Xu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ji(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Zu(e){return e.reduce((t,n)=>X(t,n.meta),{})}function ea(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;bo(e,t[r])<0?s=r:n=r+1}const i=ta(e);return i&&(s=t.lastIndexOf(i,s-1)),s}function ta(e){let t=e;for(;t=t.parent;)if(Eo(t)&&bo(e,t)===0)return t}function Eo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Yi(e){const t=at(Zs),n=at(_o),s=ge(()=>{const c=jt(e.to);return t.resolve(c)}),i=ge(()=>{const{matched:c}=s.value,{length:f}=c,u=c[f-1],p=n.matched;if(!u||!p.length)return-1;const m=p.findIndex(Jt.bind(null,u));if(m>-1)return m;const h=Qi(c[f-2]);return f>1&&Qi(u)===h&&p[p.length-1].path!==h?p.findIndex(Jt.bind(null,c[f-2])):m}),r=ge(()=>i.value>-1&&oa(n.params,s.value.params)),o=ge(()=>i.value>-1&&i.value===n.matched.length-1&&mo(n.params,s.value.params));function l(c={}){if(ra(c)){const f=t[jt(e.replace)?"replace":"push"](jt(e.to)).catch(dn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:ge(()=>s.value.href),isActive:r,isExactActive:o,navigate:l}}function na(e){return e.length===1?e[0]:e}const sa=Qt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Yi,setup(e,{slots:t}){const n=Jn(Yi(e)),{options:s}=at(Zs),i=ge(()=>({[Xi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Xi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&na(t.default(n));return e.custom?r:io("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),ia=sa;function ra(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function oa(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!He(i)||i.length!==s.length||s.some((r,o)=>r.valueOf()!==i[o].valueOf()))return!1}return!0}function Qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xi=(e,t,n)=>e??t??n,la=Qt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=at(Ns),i=ge(()=>e.route||s.value),r=at(Bi,0),o=ge(()=>{let f=jt(r);const{matched:u}=i.value;let p;for(;(p=u[f])&&!p.components;)f++;return f}),l=ge(()=>i.value.matched[o.value]);Pn(Bi,ge(()=>o.value+1)),Pn(Lu,l),Pn(Ns,i);const c=W();return In(()=>[c.value,l.value,e.name],([f,u,p],[m,h,w])=>{u&&(u.instances[p]=f,h&&h!==u&&f&&f===m&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),f&&u&&(!h||!Jt(u,h)||!m)&&(u.enterCallbacks[p]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=i.value,u=e.name,p=l.value,m=p&&p.components[u];if(!m)return Zi(n.default,{Component:m,route:f});const h=p.props[u],w=h?h===!0?f.params:typeof h=="function"?h(f):h:null,k=io(m,X({},w,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(p.instances[u]=null)},ref:c}));return Zi(n.default,{Component:k,route:f})||k}}});function Zi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ca=la;function ua(e){const t=Qu(e.routes,e),n=e.parseQuery||Du,s=e.stringifyQuery||ji,i=e.history,r=tn(),o=tn(),l=tn(),c=el(_t);let f=_t;Ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hs.bind(null,E=>""+E),p=hs.bind(null,vu),m=hs.bind(null,yn);function h(E,L){let N,U;return go(E)?(N=t.getRecordMatcher(E),U=L):U=E,t.addRoute(U,N)}function w(E){const L=t.getRecordMatcher(E);L&&t.removeRoute(L)}function C(){return t.getRoutes().map(E=>E.record)}function k(E){return!!t.getRecordMatcher(E)}function P(E,L){if(L=X({},L||c.value),typeof E=="string"){const g=ms(n,E,L.path),b=t.resolve({path:g.path},L),x=i.createHref(g.fullPath);return X(g,b,{params:m(b.params),hash:yn(g.hash),redirectedFrom:void 0,href:x})}let N;if(E.path!=null)N=X({},E,{path:ms(n,E.path,L.path).path});else{const g=X({},E.params);for(const b in g)g[b]==null&&delete g[b];N=X({},E,{params:p(g)}),L.params=p(L.params)}const U=t.resolve(N,L),q=E.hash||"";U.params=u(m(U.params));const a=bu(s,X({},E,{hash:hu(q),path:U.path})),d=i.createHref(a);return X({fullPath:a,hash:q,query:s===ji?Vu(E.query):E.query||{}},U,{redirectedFrom:void 0,href:d})}function T(E){return typeof E=="string"?ms(n,E,c.value.path):X({},E)}function F(E,L){if(f!==E)return Yt(ce.NAVIGATION_CANCELLED,{from:L,to:E})}function V(E){return se(E)}function K(E){return V(X(T(E),{replace:!0}))}function J(E,L){const N=E.matched[E.matched.length-1];if(N&&N.redirect){const{redirect:U}=N;let q=typeof U=="function"?U(E,L):U;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=T(q):{path:q},q.params={}),X({query:E.query,hash:E.hash,params:q.path!=null?{}:E.params},q)}}function se(E,L){const N=f=P(E),U=c.value,q=E.state,a=E.force,d=E.replace===!0,g=J(N,U);if(g)return se(X(T(g),{state:typeof g=="object"?X({},q,g.state):q,force:a,replace:d}),L||N);const b=N;b.redirectedFrom=L;let x;return!a&&Eu(s,U,N)&&(x=Yt(ce.NAVIGATION_DUPLICATED,{to:b,from:U}),Ke(U,U,!0,!1)),(x?Promise.resolve(x):Me(b,U)).catch(y=>rt(y)?rt(y,ce.NAVIGATION_GUARD_REDIRECT)?y:vt(y):S(y,b,U)).then(y=>{if(y){if(rt(y,ce.NAVIGATION_GUARD_REDIRECT))return se(X({replace:d},T(y.to),{state:typeof y.to=="object"?X({},q,y.to.state):q,force:a}),L||b)}else y=nt(b,U,!0,d,q);return Be(b,U,y),y})}function Ne(E,L){const N=F(E,L);return N?Promise.reject(N):Promise.resolve()}function je(E){const L=Lt.values().next().value;return L&&typeof L.runWithContext=="function"?L.runWithContext(E):E()}function Me(E,L){let N;const[U,q,a]=Fu(E,L);N=vs(U.reverse(),"beforeRouteLeave",E,L);for(const g of U)g.leaveGuards.forEach(b=>{N.push(bt(b,E,L))});const d=Ne.bind(null,E,L);return N.push(d),Ve(N).then(()=>{N=[];for(const g of r.list())N.push(bt(g,E,L));return N.push(d),Ve(N)}).then(()=>{N=vs(q,"beforeRouteUpdate",E,L);for(const g of q)g.updateGuards.forEach(b=>{N.push(bt(b,E,L))});return N.push(d),Ve(N)}).then(()=>{N=[];for(const g of a)if(g.beforeEnter)if(He(g.beforeEnter))for(const b of g.beforeEnter)N.push(bt(b,E,L));else N.push(bt(g.beforeEnter,E,L));return N.push(d),Ve(N)}).then(()=>(E.matched.forEach(g=>g.enterCallbacks={}),N=vs(a,"beforeRouteEnter",E,L,je),N.push(d),Ve(N))).then(()=>{N=[];for(const g of o.list())N.push(bt(g,E,L));return N.push(d),Ve(N)}).catch(g=>rt(g,ce.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function Be(E,L,N){l.list().forEach(U=>je(()=>U(E,L,N)))}function nt(E,L,N,U,q){const a=F(E,L);if(a)return a;const d=L===_t,g=Ut?history.state:{};N&&(U||d?i.replace(E.fullPath,X({scroll:d&&g&&g.scroll},q)):i.push(E.fullPath,q)),c.value=E,Ke(E,L,N,d),vt()}let De;function At(){De||(De=i.listen((E,L,N)=>{if(!St.listening)return;const U=P(E),q=J(U,St.currentRoute.value);if(q){se(X(q,{replace:!0,force:!0}),U).catch(dn);return}f=U;const a=c.value;Ut&&Ou(Hi(a.fullPath,N.delta),ss()),Me(U,a).catch(d=>rt(d,ce.NAVIGATION_ABORTED|ce.NAVIGATION_CANCELLED)?d:rt(d,ce.NAVIGATION_GUARD_REDIRECT)?(se(X(T(d.to),{force:!0}),U).then(g=>{rt(g,ce.NAVIGATION_ABORTED|ce.NAVIGATION_DUPLICATED)&&!N.delta&&N.type===Ps.pop&&i.go(-1,!1)}).catch(dn),Promise.reject()):(N.delta&&i.go(-N.delta,!1),S(d,U,a))).then(d=>{d=d||nt(U,a,!1),d&&(N.delta&&!rt(d,ce.NAVIGATION_CANCELLED)?i.go(-N.delta,!1):N.type===Ps.pop&&rt(d,ce.NAVIGATION_ABORTED|ce.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),Be(U,a,d)}).catch(dn)}))}let gt=tn(),M=tn(),v;function S(E,L,N){vt(E);const U=M.list();return U.length?U.forEach(q=>q(E,L,N)):console.error(E),Promise.reject(E)}function Fe(){return v&&c.value!==_t?Promise.resolve():new Promise((E,L)=>{gt.add([E,L])})}function vt(E){return v||(v=!E,At(),gt.list().forEach(([L,N])=>E?N(E):L()),gt.reset()),E}function Ke(E,L,N,U){const{scrollBehavior:q}=e;if(!Ut||!q)return Promise.resolve();const a=!N&&Pu(Hi(E.fullPath,0))||(U||!N)&&history.state&&history.state.scroll||null;return Rr().then(()=>q(E,L,a)).then(d=>d&&Tu(d)).catch(d=>S(d,E,L))}const Ce=E=>i.go(E);let Vt;const Lt=new Set,St={currentRoute:c,listening:!0,addRoute:h,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:C,resolve:P,options:e,push:V,replace:K,go:Ce,back:()=>Ce(-1),forward:()=>Ce(1),beforeEach:r.add,beforeResolve:o.add,afterEach:l.add,onError:M.add,isReady:Fe,install(E){E.component("RouterLink",ia),E.component("RouterView",ca),E.config.globalProperties.$router=St,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>jt(c)}),Ut&&!Vt&&c.value===_t&&(Vt=!0,V(i.location).catch(U=>{}));const L={};for(const U in _t)Object.defineProperty(L,U,{get:()=>c.value[U],enumerable:!0});E.provide(Zs,St),E.provide(_o,xr(L)),E.provide(Ns,c);const N=E.unmount;Lt.add(E),E.unmount=function(){Lt.delete(E),Lt.size<1&&(f=_t,De&&De(),De=null,c.value=_t,Vt=!1,v=!1),N()}}};function Ve(E){return E.reduce((L,N)=>L.then(()=>je(N)),Promise.resolve())}return St}async function pn(e,t={},n){return window.__TAURI_INTERNALS__.invoke(e,t,n)}const aa={class:"video-player-box"},fa=["src"],da={class:"video-info"},pa={class:"time-display"},ha={key:0,class:"range"},ma={key:0,class:"segment-controls"},ga="http://localhost:3002",va="muser_68600856036340bcafc01930eb4bd839_1774418104_97221b69",_a=Qt({__name:"VideoPlayer",props:{fileUuid:{},startTime:{},endTime:{},title:{}},emits:["close"],setup(e,{emit:t}){const n=e,s=t,i=W(null),r=W(!0),o=W(0),l=W(0),c=W(!1),f=ge(()=>{const K=n.startTime??0,J=n.endTime??99999;return`${ga}/api/v1/file/${n.fileUuid}/video?api_key=${va}&start_time=${K}&end_time=${J}`}),u=ge(()=>n.startTime!==void 0&&n.endTime!==void 0),p=ge(()=>n.startTime??0),m=ge(()=>n.endTime??0);function h(){r.value=!1,s("close")}function w(){i.value&&n.startTime&&(i.value.currentTime=n.startTime,i.value.play(),c.value=!0)}function C(){i.value&&(o.value=i.value.currentTime,l.value=i.value.duration||0,u.value&&i.value.currentTime>=(n.endTime??0)&&(i.value.pause(),c.value=!1))}function k(){i.value&&n.startTime&&(i.value.currentTime=n.startTime,i.value.play(),c.value=!0)}function P(){i.value&&n.endTime&&(i.value.currentTime=n.endTime-1,i.value.play(),c.value=!0)}function T(){i.value&&(i.value.paused?(i.value.play(),c.value=!0):(i.value.pause(),c.value=!1))}function F(K){if(!K||isNaN(K))return"0:00";const J=Math.floor(K/60),se=Math.floor(K%60);return`${J}:${se.toString().padStart(2,"0")}`}function V(K){if(r.value)switch(K.key){case"Escape":h();break;case" ":K.preventDefault(),T();break;case"ArrowLeft":i.value&&(i.value.currentTime=Math.max(0,i.value.currentTime-5));break;case"ArrowRight":i.value&&(i.value.currentTime=Math.min(l.value,i.value.currentTime+5));break}}return Xn(()=>{document.addEventListener("keydown",V)}),qs(()=>{document.removeEventListener("keydown",V)}),(K,J)=>r.value?(Q(),re("div",{key:0,class:"video-player-modal",onClick:Qs(h,["self"])},[_("div",aa,[_("button",{class:"close-btn",onClick:h},"×"),_("video",{ref_key:"videoEl",ref:i,class:"video",controls:"",autoplay:"",onLoadedmetadata:w,onTimeupdate:C},[_("source",{src:f.value,type:"video/mp4"},null,8,fa)],544),_("div",da,[_("h3",null,Y(e.title),1),_("div",pa,[_("span",null,Y(F(o.value)),1),J[0]||(J[0]=_("span",{class:"separator"},"/",-1)),_("span",null,Y(F(l.value)),1),u.value?(Q(),re("span",ha,"("+Y(F(p.value))+" - "+Y(F(m.value))+")",1)):et("",!0)])]),u.value?(Q(),re("div",ma,[_("button",{onClick:k,class:"seg-btn"},"⏮ 跳到起點"),_("button",{onClick:T,class:"seg-btn"},Y(c.value?"⏸ 暫停":"▶ 播放"),1),_("button",{onClick:P,class:"seg-btn"},"跳到結尾 ⏭")])):et("",!0)])])):et("",!0)}}),ei=xn(_a,[["__scopeId","data-v-ec6766d8"]]),ya={class:"search-view"},ba={class:"search-header"},Ea={class:"mode-selector"},wa=["onClick"],xa={class:"search-bar"},Aa=["disabled"],Sa=["disabled"],Ca={key:0,class:"results"},Ra=["onClick"],Ta={class:"result-info"},Oa={class:"result-meta"},Pa={class:"score"},Ia={class:"time"},Na={class:"summary"},Ma={class:"file-name"},Da={key:1,class:"no-results"},Va=Qt({__name:"SearchView",setup(e){const t=[{label:"Keyword",value:"keyword"},{label:"Semantic",value:"semantic"},{label:"Agent",value:"agent"}],n=W("semantic"),s=W(""),i=W([]),r=W(!1),o=W(!1),l=W(!1),c=W({fileUuid:"",startTime:0,endTime:0,title:""});async function f(){if(s.value){r.value=!0,o.value=!1;try{i.value=await pn("search_llm_smart",{query:s.value,limit:20}),o.value=!0}catch(m){console.error("Search failed:",m),o.value=!0}finally{r.value=!1}}}function u(m){const h=Math.floor(m/60),w=Math.floor(m%60);return`${h}:${w.toString().padStart(2,"0")}`}function p(m){var h;c.value={fileUuid:m.file_uuid,startTime:m.start_time,endTime:m.end_time,title:((h=m.summary)==null?void 0:h.slice(0,60))||m.file_name||"Video"},l.value=!0}return(m,h)=>(Q(),re("div",ya,[_("div",ba,[h[2]||(h[2]=_("h1",null,"Search",-1)),_("div",Ea,[(Q(),re(Ae,null,Kt(t,w=>_("button",{key:w.value,class:It(["mode-btn",{active:n.value===w.value}]),onClick:C=>n.value=w.value},Y(w.label),11,wa)),64))])]),_("div",xa,[fe(_("input",{"onUpdate:modelValue":h[0]||(h[0]=w=>s.value=w),onKeyup:Hc(f,["enter"]),placeholder:"Enter search query...",disabled:r.value},null,40,Aa),[[Ot,s.value]]),_("button",{onClick:f,disabled:r.value||!s.value},Y(r.value?"Searching...":"Search"),9,Sa)]),i.value.length?(Q(),re("div",Ca,[(Q(!0),re(Ae,null,Kt(i.value,(w,C)=>(Q(),re("div",{key:C,class:"result-card",onClick:k=>p(w)},[h[3]||(h[3]=_("div",{class:"result-thumb"},[_("div",{class:"play-icon"},"▶")],-1)),_("div",Ta,[_("div",Oa,[_("span",Pa,Y((w.similarity*100).toFixed(0))+"%",1),_("span",Ia,Y(u(w.start_time))+" - "+Y(u(w.end_time)),1)]),_("p",Na,Y(w.summary),1),_("p",Ma,Y(w.file_name),1)])],8,Ra))),128))])):o.value?(Q(),re("p",Da,"No results found")):et("",!0),l.value?(Q(),ts(ei,{key:2,"file-uuid":c.value.fileUuid,"start-time":c.value.startTime,"end-time":c.value.endTime,title:c.value.title,onClose:h[1]||(h[1]=w=>l.value=!1)},null,8,["file-uuid","start-time","end-time","title"])):et("",!0)]))}}),La=xn(Va,[["__scopeId","data-v-2fd6f57f"]]),Fa={id:"ms-files-page"},ka={class:"mp-panel is-active"},Ua={class:"mp-toolbar"},$a={class:"mp-toolbar-left"},Ha={class:"mp-radio-row"},ja={class:"mp-radio-row"},Ba={class:"mp-radio-row"},Ka={class:"mp-toolbar-right"},Ga={class:"mp-search-wrap"},Wa={class:"mp-radio-row"},qa={class:"mp-radio-row"},za={class:"mp-radio-row"},Ja={class:"mp-radio-row"},Ya={class:"mp-radio-row"},Qa={class:"mp-radio-row"},Xa={class:"mp-check-row"},Za={class:"mp-check-row"},ef={class:"mp-check-row"},tf={class:"mp-check-row"},nf={class:"mp-range-row"},sf={class:"mp-range-row"},rf={class:"mp-grid"},of=["onClick"],lf={class:"mp-thumb-wrap"},cf={class:"mp-badge-type"},uf=["src"],af={key:1,class:"mp-doc-thumb"},ff={class:"mp-doc-ext"},df=["onClick"],pf={key:3,class:"mp-complete-mark"},hf={class:"mp-meta"},mf={class:"mp-name"},gf={class:"mp-source"},vf="http://localhost:3002",_f="muser_68600856036340bcafc01930eb4bd839_1774418104_97221b69",yf=Qt({__name:"LibraryView",setup(e){const t=W([]),n=W(!1),s=W(""),i=W(""),r=W("all"),o=W(!1),l=W([]),c=W(!1),f=W({fileUuid:"",startTime:0,endTime:0,title:""}),u=W("time_desc"),p=W(!1),m=W(!1),h=W(!1),w=W(!1),C=W(null),k=W(null),P=W(null),T=W(null),F=ge(()=>{let M=[...t.value];if(r.value==="video"?M=M.filter(K):r.value==="photo"&&(M=M.filter(J)),i.value){const v=i.value.toLowerCase();M=M.filter(S=>S.file_name.toLowerCase().includes(v))}return p.value&&!m.value?M=M.filter(v=>!v.is_registered):m.value&&!p.value&&(M=M.filter(v=>v.is_registered)),h.value&&(M=M.filter(K)),w.value&&(M=M.filter(J)),C.value&&(M=M.filter(v=>(v.file_size||0)>=C.value*1048576)),k.value&&(M=M.filter(v=>(v.file_size||0)<=k.value*1048576)),(P.value||T.value)&&(M=M.filter(v=>{if(!K(v))return!P.value&&!T.value;const S=(v.file_size||0)/5e7;return!(P.value&&S<P.value*60||T.value&&S>T.value*60)})),M.sort((v,S)=>{switch(u.value){case"time_desc":return new Date(S.modified_time||0).getTime()-new Date(v.modified_time||0).getTime();case"time_asc":return new Date(v.modified_time||0).getTime()-new Date(S.modified_time||0).getTime();case"size_desc":return(S.file_size||0)-(v.file_size||0);case"size_asc":return(v.file_size||0)-(S.file_size||0);case"name_asc":return(v.file_name||"").localeCompare(S.file_name||"");case"name_desc":return(S.file_name||"").localeCompare(v.file_name||"");default:return 0}}),M});Xn(()=>V());async function V(){n.value=!0,s.value="Loading...";try{console.log("Calling get_files..."),t.value=await pn("get_files",{page_size:500}),console.log("Files loaded:",t.value.length),t.value.length>0&&(console.log("First file:",t.value[0]),console.log("is_registered sample:",t.value.slice(0,5).map(M=>{var v;return{name:(v=M.file_name)==null?void 0:v.slice(0,20),is_registered:M.is_registered,type:typeof M.is_registered}}))),s.value=`${t.value.length} files`}catch(M){console.error("Failed to load files:",M),s.value="Failed: "+(M.message||M)}finally{n.value=!1}}function K(M){const v=(M.file_name||"").split(".").pop().toLowerCase();return["mp4","mov","mkv","avi","webm"].includes(v)}function J(M){const v=(M.file_name||"").split(".").pop().toLowerCase();return["jpg","jpeg","png","gif","webp"].includes(v)}function se(M){return(M||"").split(".").pop().toUpperCase()}function Ne(M){return(M/1048576).toFixed(1)+" MB"}function je(M){return new Date(M).toISOString().slice(0,10)}function Me(M){return`${vf}/api/v1/file/${M}/thumbnail?api_key=${_f}&frame=30`}function Be(M){const v=M.target;v.style.display="none"}function nt(M){const v=l.value.indexOf(M.file_uuid);v>=0?l.value.splice(v,1):l.value.push(M.file_uuid)}function De(M){f.value={fileUuid:M.file_uuid,startTime:0,endTime:99999,title:M.file_name},c.value=!0}function At(){l.value.length||alert("Please select files first"),alert(`Register ${l.value.length} file(s)`)}function gt(){u.value="time_desc",p.value=!1,m.value=!1,h.value=!1,w.value=!1,C.value=null,k.value=null,P.value=null,T.value=null,r.value="all",i.value=""}return(M,v)=>(Q(),re("div",Fa,[_("section",ka,[_("div",Ua,[_("div",$a,[_("button",{class:"mp-btn mp-btn-primary",type:"button",onClick:At},"Register"),_("button",{class:"mp-btn mp-btn-icon",type:"button",title:"Refresh",onClick:V},[...v[20]||(v[20]=[_("span",{class:"mp-refresh-icon"},"⟳",-1)])]),_("label",Ha,[fe(_("input",{type:"radio",name:"mp-display-filter",value:"all","onUpdate:modelValue":v[0]||(v[0]=S=>r.value=S)},null,512),[[it,r.value]]),v[21]||(v[21]=Re(" All ",-1))]),_("label",ja,[fe(_("input",{type:"radio",name:"mp-display-filter",value:"video","onUpdate:modelValue":v[1]||(v[1]=S=>r.value=S)},null,512),[[it,r.value]]),v[22]||(v[22]=Re(" All Videos ",-1))]),_("label",Ba,[fe(_("input",{type:"radio",name:"mp-display-filter",value:"photo","onUpdate:modelValue":v[2]||(v[2]=S=>r.value=S)},null,512),[[it,r.value]]),v[23]||(v[23]=Re(" All Photos ",-1))])]),_("div",Ka,[_("div",Ga,[fe(_("input",{type:"text",class:"mp-search","onUpdate:modelValue":v[3]||(v[3]=S=>i.value=S),placeholder:"Search files / docs / videos"},null,512),[[Ot,i.value]])]),_("button",{class:"mp-filter-btn",type:"button",onClick:v[4]||(v[4]=S=>o.value=!o.value)},"☰")])]),_("div",{class:It(["mp-filter-pop",{show:o.value}])},[v[36]||(v[36]=_("div",{class:"mp-filter-title"},"排序方式",-1)),_("label",Wa,[fe(_("input",{type:"radio",name:"mp-sort",value:"time_desc","onUpdate:modelValue":v[5]||(v[5]=S=>u.value=S),checked:""},null,512),[[it,u.value]]),v[24]||(v[24]=Re(" 依時間・由近到遠",-1))]),_("label",qa,[fe(_("input",{type:"radio",name:"mp-sort",value:"time_asc","onUpdate:modelValue":v[6]||(v[6]=S=>u.value=S)},null,512),[[it,u.value]]),v[25]||(v[25]=Re(" 依時間・由遠到近",-1))]),_("label",za,[fe(_("input",{type:"radio",name:"mp-sort",value:"size_desc","onUpdate:modelValue":v[7]||(v[7]=S=>u.value=S)},null,512),[[it,u.value]]),v[26]||(v[26]=Re(" 依大小・由大到小",-1))]),_("label",Ja,[fe(_("input",{type:"radio",name:"mp-sort",value:"size_asc","onUpdate:modelValue":v[8]||(v[8]=S=>u.value=S)},null,512),[[it,u.value]]),v[27]||(v[27]=Re(" 依大小・由小到大",-1))]),_("label",Ya,[fe(_("input",{type:"radio",name:"mp-sort",value:"name_asc","onUpdate:modelValue":v[9]||(v[9]=S=>u.value=S)},null,512),[[it,u.value]]),v[28]||(v[28]=Re(" 依檔名・由 A 到 Z",-1))]),_("label",Qa,[fe(_("input",{type:"radio",name:"mp-sort",value:"name_desc","onUpdate:modelValue":v[10]||(v[10]=S=>u.value=S)},null,512),[[it,u.value]]),v[29]||(v[29]=Re(" 依檔名・由 Z 到 A",-1))]),v[37]||(v[37]=_("div",{class:"mp-filter-title"},"過濾方式",-1)),_("label",Xa,[fe(_("input",{type:"checkbox","onUpdate:modelValue":v[11]||(v[11]=S=>p.value=S)},null,512),[[Rn,p.value]]),v[30]||(v[30]=Re(" 未註冊",-1))]),_("label",Za,[fe(_("input",{type:"checkbox","onUpdate:modelValue":v[12]||(v[12]=S=>m.value=S)},null,512),[[Rn,m.value]]),v[31]||(v[31]=Re(" 已註冊",-1))]),_("label",ef,[fe(_("input",{type:"checkbox","onUpdate:modelValue":v[13]||(v[13]=S=>h.value=S)},null,512),[[Rn,h.value]]),v[32]||(v[32]=Re(" 僅顯示影片",-1))]),_("label",tf,[fe(_("input",{type:"checkbox","onUpdate:modelValue":v[14]||(v[14]=S=>w.value=S)},null,512),[[Rn,w.value]]),v[33]||(v[33]=Re(" 僅顯示照片",-1))]),v[38]||(v[38]=_("div",{class:"mp-filter-title"},"大小",-1)),_("div",nf,[fe(_("input",{type:"number",class:"mp-filter-number","onUpdate:modelValue":v[15]||(v[15]=S=>C.value=S),min:"0",placeholder:"最小 MB"},null,512),[[Ot,C.value,void 0,{number:!0}]]),v[34]||(v[34]=_("span",null,"—",-1)),fe(_("input",{type:"number",class:"mp-filter-number","onUpdate:modelValue":v[16]||(v[16]=S=>k.value=S),min:"0",placeholder:"最大 MB"},null,512),[[Ot,k.value,void 0,{number:!0}]])]),v[39]||(v[39]=_("div",{class:"mp-filter-title"},"影片時長",-1)),_("div",sf,[fe(_("input",{type:"number",class:"mp-filter-number","onUpdate:modelValue":v[17]||(v[17]=S=>P.value=S),min:"0",placeholder:"最小分鐘"},null,512),[[Ot,P.value,void 0,{number:!0}]]),v[35]||(v[35]=_("span",null,"—",-1)),fe(_("input",{type:"number",class:"mp-filter-number","onUpdate:modelValue":v[18]||(v[18]=S=>T.value=S),min:"0",placeholder:"最大分鐘"},null,512),[[Ot,T.value,void 0,{number:!0}]])]),_("button",{type:"button",class:"mp-filter-reset",onClick:gt},"清除篩選")],2),_("div",{class:It(["mp-status",{show:n.value||s.value}])},Y(s.value),3),_("div",rf,[(Q(!0),re(Ae,null,Kt(F.value,S=>(Q(),re("div",{key:S.file_uuid,class:It(["mp-file-card",{"is-completed":S.is_registered,"is-selected":l.value.includes(S.file_uuid)}]),onClick:Fe=>nt(S)},[_("div",lf,[_("div",cf,Y(K(S)?"VIDEO":J(S)?"PHOTO":"DOC"),1),J(S)||K(S)?(Q(),re("img",{key:0,class:"lt-thumb",src:Me(S.file_uuid),alt:"",loading:"lazy",onError:Be},null,40,uf)):(Q(),re("div",af,[v[40]||(v[40]=_("span",{class:"mp-doc-icon"},"📄",-1)),_("span",ff,Y(se(S.file_name)),1)])),K(S)?(Q(),re("button",{key:2,class:"mp-play-btn",onClick:Qs(Fe=>De(S),["stop"])},"▶",8,df)):et("",!0),S.is_registered?(Q(),re("div",pf,"✓")):et("",!0)]),_("div",hf,[_("div",mf,Y(S.file_name),1),_("div",gf,Y(Ne(S.file_size))+" · "+Y(je(S.modified_time)),1)])],10,of))),128))])]),c.value?(Q(),ts(ei,{key:0,"file-uuid":f.value.fileUuid,"start-time":f.value.startTime,"end-time":f.value.endTime,title:f.value.title,onClose:v[19]||(v[19]=S=>c.value=!1)},null,8,["file-uuid","start-time","end-time","title"])):et("",!0)]))}}),bf=xn(yf,[["__scopeId","data-v-68c7731a"]]),Ef={class:"people-view"},wf={key:0,class:"loading"},xf={key:1,class:"grid"},Af=["onClick"],Sf={class:"avatar"},Cf={class:"name"},Rf={class:"detail-box"},Tf={class:"detail-header"},Of={class:"detail-avatar"},Pf={class:"uuid"},If={class:"detail-content"},Nf={class:"section"},Mf={class:"face-strip"},Df={class:"face-placeholder"},Vf={class:"section"},Lf={class:"trace-list"},Ff=["onClick"],kf={class:"trace-info"},Uf={class:"trace-time"},$f={class:"trace-conf"},Hf=Qt({__name:"PeopleView",setup(e){const t=W([]),n=W(!0),s=W(""),i=W(null),r=W([]),o=W([]),l=W(!1),c=W({fileUuid:"",startTime:0,endTime:0,title:""}),f=ge(()=>{if(!s.value)return t.value;const h=s.value.toLowerCase();return t.value.filter(w=>w.name.toLowerCase().includes(h))});Xn(async()=>{try{const h=await pn("get_people",{page:1,perPage:1e3});t.value=Array.isArray(h)?h:[]}catch(h){console.error("Failed to load people:",h)}finally{n.value=!1}});async function u(h){i.value=h;try{const w=await pn("get_faces",{uuid:h.identity_uuid,perPage:100}),C=await pn("get_traces",{uuid:h.identity_uuid,perPage:100});r.value=Array.isArray(w)?w:[],o.value=Array.isArray(C)?C:[]}catch(w){console.error("Failed to load details:",w)}}function p(h){const w=Math.floor(h/60),C=Math.floor(h%60);return`${w}:${C.toString().padStart(2,"0")}`}function m(h){var w;c.value={fileUuid:h.file_uuid,startTime:h.first_sec,endTime:h.last_sec,title:`${(w=i.value)==null?void 0:w.name} - ${p(h.first_sec)}-${p(h.last_sec)}`},l.value=!0}return(h,w)=>{var C,k;return Q(),re("div",Ef,[w[5]||(w[5]=_("h1",null,"People",-1)),fe(_("input",{"onUpdate:modelValue":w[0]||(w[0]=P=>s.value=P),class:"search-input",placeholder:"Search people..."},null,512),[[Ot,s.value]]),n.value?(Q(),re("div",wf,"Loading...")):(Q(),re("div",xf,[(Q(!0),re(Ae,null,Kt(f.value,P=>{var T,F;return Q(),re("div",{key:P.identity_uuid,class:"person-card",onClick:V=>u(P)},[_("div",Sf,Y(((F=(T=P.name)==null?void 0:T[0])==null?void 0:F.toUpperCase())||"?"),1),_("p",Cf,Y(P.name),1)],8,Af)}),128))])),i.value?(Q(),re("div",{key:2,class:"detail-modal",onClick:w[2]||(w[2]=Qs(P=>i.value=null,["self"]))},[_("div",Rf,[_("button",{class:"close-btn",onClick:w[1]||(w[1]=P=>i.value=null)},"×"),_("div",Tf,[_("div",Of,Y(((k=(C=i.value.name)==null?void 0:C[0])==null?void 0:k.toUpperCase())||"?"),1),_("div",null,[_("h2",null,Y(i.value.name),1),_("p",Pf,Y(i.value.identity_uuid),1)])]),_("div",If,[_("div",Nf,[_("h3",null,"Faces ("+Y(r.value.length)+")",1),_("div",Mf,[(Q(!0),re(Ae,null,Kt(r.value.slice(0,20),P=>(Q(),re("div",{key:P.id,class:"face-thumb"},[_("div",Df,Y(Math.round(P.confidence*100))+"%",1)]))),128))])]),_("div",Vf,[_("h3",null,"Traces ("+Y(o.value.length)+")",1),_("div",Lf,[(Q(!0),re(Ae,null,Kt(o.value.slice(0,20),P=>(Q(),re("div",{key:P.trace_id,class:"trace-item",onClick:T=>m(P)},[w[4]||(w[4]=_("div",{class:"trace-thumb"},"▶",-1)),_("div",kf,[_("span",Uf,Y(p(P.first_sec))+" - "+Y(p(P.last_sec)),1),_("span",$f,Y((P.avg_confidence*100).toFixed(0))+"%",1)])],8,Ff))),128))])])])])])):et("",!0),l.value?(Q(),ts(ei,{key:3,"file-uuid":c.value.fileUuid,"start-time":c.value.startTime,"end-time":c.value.endTime,title:c.value.title,onClose:w[3]||(w[3]=P=>l.value=!1)},null,8,["file-uuid","start-time","end-time","title"])):et("",!0)])}}}),jf=xn(Hf,[["__scopeId","data-v-03ff5023"]]),Bf=[{path:"/",redirect:"/search"},{path:"/search",name:"Search",component:La},{path:"/library",name:"Library",component:bf},{path:"/people",name:"People",component:jf}],Kf=ua({history:Hu(),routes:Bf}),wo=Kc(su);wo.use(Kf);wo.mount("#app");
|