diff --git a/assets/a-1s9wDlIF.jpg b/assets/a-1s9wDlIF.jpg new file mode 100644 index 0000000..8a0bc0d Binary files /dev/null and b/assets/a-1s9wDlIF.jpg differ diff --git a/assets/index-BNSZD_Jv.css b/assets/index-BNSZD_Jv.css new file mode 100644 index 0000000..6f6e85c --- /dev/null +++ b/assets/index-BNSZD_Jv.css @@ -0,0 +1 @@ +.fox-preview-switch{z-index:10}.fox-preview-switch-item{background-color:#606266;width:40px;height:40px;border-radius:20px;display:flex;justify-content:center;align-content:center;align-items:center;cursor:pointer;position:absolute;top:50%;margin-top:-20px;right:5vw}.fox-preview-switch-item-left{left:5vw}.fox-preview-switch .fox-preview-switch-icon{font-size:24px;color:#fff}.fox-preview-switch .fox-preview-switch-icon-left{transform:rotate(180deg)}.svg{-webkit-user-select:none;user-select:none;font-size:18px;display:inline-block;width:1em;height:1em;fill:currentColor;overflow:hidden}.fox-preview-toolbar{position:absolute;bottom:5%;left:50%;transform:translate(-98px);border-radius:30px;z-index:10;background-color:#606266;display:flex;padding:8px 10px}.fox-preview-toolbar-item{cursor:pointer;margin:0 10px;color:#fff;font-size:24px}.fox-preview-toolbar-scale{font-size:14px;position:relative;background-color:#606266;border:1px solid #ffffff;box-sizing:border-box;width:34px;border-radius:1px;line-height:22px;text-align:center;cursor:unset}.fox-preview-toolbar-scale:before,.fox-preview-toolbar-scale:after{position:absolute;width:100%;height:100%;content:"";z-index:1;border:1px solid #606266;box-sizing:border-box}.fox-preview-toolbar-scale:before{height:12px;top:50%;margin-top:-6px;width:34px;left:-1px;border-width:0 1px}.fox-preview-toolbar-scale:after{height:24px;width:20px;top:-1px;left:50%;margin-left:-10px;border-width:1px 0}.fox-preview-toolbar-position{font-size:14px;box-sizing:border-box;width:24px;line-height:24px;text-align:center;cursor:default}.fox-preview{width:100vw;height:100vh;position:fixed;top:0;left:0;background-color:#0006;overflow:hidden;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px)}.fox-preview-canvas{width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;font-size:0}.fox-preview-image{-webkit-user-select:none;user-select:none;display:block;pointer-events:none}.fox-preview-image:active{cursor:pointer}.fox-preview-close{position:absolute;top:-40px;right:-40px;-webkit-user-select:none;user-select:none;cursor:pointer;background-color:#0000004d;border-radius:50%;font-size:26px;height:80px;width:80px;color:#fff;overflow:hidden;transition:background-color .15s;z-index:10}.fox-preview-close>svg{position:absolute;left:15px;bottom:15px}.fox-preview-close:hover{background-color:#00000080}.font-svg{-webkit-user-select:none;user-select:none;font-size:18px;display:inline-block;width:1em;height:1em;fill:currentColor;overflow:hidden;font-weight:500}.fox-lock-window{overflow:hidden}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;height:150vh}.preview{max-width:1300px;margin:0 auto}.button{background-color:#fff;color:#409eff;border:1px solid #409eff;line-height:1em;padding:8px 20px;font-size:14px;border-radius:4px;outline:none;cursor:pointer}.button:hover{color:#fff;background-color:#409eff} diff --git a/assets/index-BwuqGABp.js b/assets/index-BwuqGABp.js new file mode 100644 index 0000000..cb3667b --- /dev/null +++ b/assets/index-BwuqGABp.js @@ -0,0 +1,17 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/** +* @vue/shared v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Gn(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const ne={},gt=[],Ee=()=>{},mr=()=>!1,cn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jn=e=>e.startsWith("onUpdate:"),ce=Object.assign,Yn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_r=Object.prototype.hasOwnProperty,j=(e,t)=>_r.call(e,t),M=Array.isArray,mt=e=>fn(e)==="[object Map]",ao=e=>fn(e)==="[object Set]",P=e=>typeof e=="function",ie=e=>typeof e=="string",ct=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",ho=e=>(ee(e)||P(e))&&P(e.then)&&P(e.catch),po=Object.prototype.toString,fn=e=>po.call(e),yr=e=>fn(e).slice(8,-1),go=e=>fn(e)==="[object Object]",Xn=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tt=Gn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},br=/-(\w)/g,yt=un(e=>e.replace(br,(t,n)=>n?n.toUpperCase():"")),vr=/\B([A-Z])/g,ft=un(e=>e.replace(vr,"-$1").toLowerCase()),mo=un(e=>e.charAt(0).toUpperCase()+e.slice(1)),xn=un(e=>e?`on${mo(e)}`:""),Ge=(e,t)=>!Object.is(e,t),wn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wr=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let xs;const yo=()=>xs||(xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ft(e){if(M(e)){const t={};for(let n=0;n{if(n){const s=n.split(Er);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Zn(e){let t="";if(ie(e))t=e;else if(M(e))for(let n=0;nie(e)?e:e==null?"":M(e)||ee(e)&&(e.toString===po||!P(e.toString))?JSON.stringify(e,vo,2):String(e),vo=(e,t)=>t&&t.__v_isRef?vo(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Cn(s,r)+" =>"]=o,n),{})}:ao(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cn(n))}:ct(t)?Cn(t):ee(t)&&!M(t)&&!go(t)?String(t):t,Cn=(e,t="")=>{var n;return ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Oe;class $r{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){Oe=this}off(){Oe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Xe()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=We,n=it;try{return We=!0,it=this,this._runnings++,Cs(this),this.fn()}finally{Es(this),this._runnings--,it=n,We=t}}stop(){this.active&&(Cs(this),Es(this),this.onStop&&this.onStop(),this.active=!1)}}function Lr(e){return e.value}function Cs(e){e._trackId++,e._depsLength=0}function Es(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Pn=new WeakMap,lt=Symbol(""),Rn=Symbol("");function be(e,t,n){if(We&&it){let s=Pn.get(e);s||Pn.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=To(()=>s.delete(n))),Co(it,o)}}function He(e,t,n,s,o,r){const i=Pn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&M(e)){const f=Number(s);i.forEach((a,d)=>{(d==="length"||!ct(d)&&d>=f)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":M(e)?Xn(n)&&l.push(i.get("length")):(l.push(i.get(lt)),mt(e)&&l.push(i.get(Rn)));break;case"delete":M(e)||(l.push(i.get(lt)),mt(e)&&l.push(i.get(Rn)));break;case"set":mt(e)&&l.push(i.get(lt));break}es();for(const f of l)f&&Eo(f,4);ts()}const Fr=Gn("__proto__,__v_isRef,__isVue"),Ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ct)),Ts=Pr();function Pr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let r=0,i=this.length;r{e[t]=function(...n){Ye(),es();const s=D(this)[t].apply(this,n);return ts(),Xe(),s}}),e}function Rr(e){ct(e)||(e=String(e));const t=D(this);return be(t,"has",e),t.hasOwnProperty(e)}class So{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Gr:Io:r?Mo:$o).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=M(t);if(!o){if(i&&j(Ts,n))return Reflect.get(Ts,n,s);if(n==="hasOwnProperty")return Rr}const l=Reflect.get(t,n,s);return(ct(n)?Ao.has(n):Fr(n))||(o||be(t,"get",n),r)?l:ge(l)?i&&Xn(n)?l:l.value:ee(l)?o?Lo(l):dn(l):l}}class Oo extends So{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const f=Pt(r);if(!sn(s)&&!Pt(s)&&(r=D(r),s=D(s)),!M(t)&&ge(r)&&!ge(s))return f?!1:(r.value=s,!0)}const i=M(t)&&Xn(n)?Number(n)e,an=e=>Reflect.getPrototypeOf(e);function Kt(e,t,n=!1,s=!1){e=e.__v_raw;const o=D(e),r=D(t);n||(Ge(t,r)&&be(o,"get",t),be(o,"get",r));const{has:i}=an(o),l=s?ns:n?rs:Rt;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function Ut(e,t=!1){const n=this.__v_raw,s=D(n),o=D(e);return t||(Ge(e,o)&&be(s,"has",e),be(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function kt(e,t=!1){return e=e.__v_raw,!t&&be(D(e),"iterate",lt),Reflect.get(e,"size",e)}function As(e){e=D(e);const t=D(this);return an(t).has.call(t,e)||(t.add(e),He(t,"add",e,e)),this}function Ss(e,t){t=D(t);const n=D(this),{has:s,get:o}=an(n);let r=s.call(n,e);r||(e=D(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Ge(t,i)&&He(n,"set",e,t):He(n,"add",e,t),this}function Os(e){const t=D(this),{has:n,get:s}=an(t);let o=n.call(t,e);o||(e=D(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&He(t,"delete",e,void 0),r}function $s(){const e=D(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function zt(e,t){return function(s,o){const r=this,i=r.__v_raw,l=D(i),f=t?ns:e?rs:Rt;return!e&&be(l,"iterate",lt),i.forEach((a,d)=>s.call(o,f(a),f(d),r))}}function Wt(e,t,n){return function(...s){const o=this.__v_raw,r=D(o),i=mt(r),l=e==="entries"||e===Symbol.iterator&&i,f=e==="keys"&&i,a=o[e](...s),d=n?ns:t?rs:Rt;return!t&&be(r,"iterate",f?Rn:lt),{next(){const{value:p,done:g}=a.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function Be(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vr(){const e={get(r){return Kt(this,r)},get size(){return kt(this)},has:Ut,add:As,set:Ss,delete:Os,clear:$s,forEach:zt(!1,!1)},t={get(r){return Kt(this,r,!1,!0)},get size(){return kt(this)},has:Ut,add:As,set:Ss,delete:Os,clear:$s,forEach:zt(!1,!0)},n={get(r){return Kt(this,r,!0)},get size(){return kt(this,!0)},has(r){return Ut.call(this,r,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:zt(!0,!1)},s={get(r){return Kt(this,r,!0,!0)},get size(){return kt(this,!0)},has(r){return Ut.call(this,r,!0)},add:Be("add"),set:Be("set"),delete:Be("delete"),clear:Be("clear"),forEach:zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Wt(r,!1,!1),n[r]=Wt(r,!0,!1),t[r]=Wt(r,!1,!0),s[r]=Wt(r,!0,!0)}),[e,n,t,s]}const[Dr,Kr,Ur,kr]=Vr();function ss(e,t){const n=t?e?kr:Ur:e?Kr:Dr;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(j(n,o)&&o in s?n:s,o,r)}const zr={get:ss(!1,!1)},Wr={get:ss(!1,!0)},qr={get:ss(!0,!1)};const $o=new WeakMap,Mo=new WeakMap,Io=new WeakMap,Gr=new WeakMap;function Jr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yr(e){return e.__v_skip||!Object.isExtensible(e)?0:Jr(yr(e))}function dn(e){return Pt(e)?e:os(e,!1,Hr,zr,$o)}function Xr(e){return os(e,!1,Br,Wr,Mo)}function Lo(e){return os(e,!0,jr,qr,Io)}function os(e,t,n,s,o){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Yr(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function At(e){return Pt(e)?At(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function Fo(e){return e?!!e.__v_raw:!1}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function Zr(e){return Object.isExtensible(e)&&_o(e,"__v_skip",!0),e}const Rt=e=>ee(e)?dn(e):e,rs=e=>ee(e)?Lo(e):e;class Po{constructor(t,n,s,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Qn(()=>t(this._value),()=>Xt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=D(this);return(!t._cacheable||t.effect.dirty)&&Ge(t._value,t._value=t.effect.run())&&Xt(t,4),Ro(t),t.effect._dirtyLevel>=2&&Xt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Qr(e,t,n=!1){let s,o;const r=P(e);return r?(s=e,o=Ee):(s=e.get,o=e.set),new Po(s,o,r||!o,n)}function Ro(e){var t;We&&it&&(e=D(e),Co(it,(t=e.dep)!=null?t:e.dep=To(()=>e.dep=void 0,e instanceof Po?e:void 0)))}function Xt(e,t=4,n){e=D(e);const s=e.dep;s&&Eo(s,t)}function ge(e){return!!(e&&e.__v_isRef===!0)}function me(e){return ei(e,!1)}function ei(e,t){return ge(e)?e:new ti(e,t)}class ti{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:D(t),this._value=n?t:Rt(t)}get value(){return Ro(this),this._value}set value(t){const n=this.__v_isShallow||sn(t)||Pt(t);t=n?t:D(t),Ge(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Rt(t),Xt(this,4))}}function re(e){return ge(e)?e.value:e}const ni={get:(e,t,n)=>re(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return ge(o)&&!ge(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function No(e){return At(e)?e:new Proxy(e,ni)}/** +* @vue/runtime-core v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function qe(e,t,n,s){try{return s?e(...s):e()}catch(o){hn(o,t,n)}}function Ae(e,t,n,s){if(P(e)){const o=qe(e,t,n,s);return o&&ho(o)&&o.catch(r=>{hn(r,t,n)}),o}if(M(e)){const o=[];for(let r=0;r>>1,o=de[s],r=Ht(o);rPe&&de.splice(t,1)}function li(e){M(e)?_t.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?ot+1:ot))&&_t.push(e),jo()}function Ms(e,t,n=Nt?Pe+1:0){for(;nHt(n)-Ht(s));if(_t.length=0,Ke){Ke.push(...t);return}for(Ke=t,ot=0;ote.id==null?1/0:e.id,ci=(e,t)=>{const n=Ht(e)-Ht(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Vo(e){Nn=!1,Nt=!0,de.sort(ci);try{for(Pe=0;Peie(C)?C.trim():C)),p&&(o=n.map(xr))}let l,f=s[l=xn(t)]||s[l=xn(yt(t))];!f&&r&&(f=s[l=xn(ft(t))]),f&&Ae(f,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(a,e,6,o)}}function Do(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!P(e)){const f=a=>{const d=Do(a,t,!0);d&&(l=!0,ce(i,d))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(ee(e)&&s.set(e,null),null):(M(r)?r.forEach(f=>i[f]=null):ce(i,r),ee(e)&&s.set(e,i),i)}function pn(e,t){return!e||!cn(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,ft(t))||j(e,t))}let $e=null,Ko=null;function on(e){const t=$e;return $e=e,Ko=e&&e.type.__scopeId||null,t}function Uo(e,t=$e,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Us(-1);const r=on(t);let i;try{i=e(...o)}finally{on(r),s._d&&Us(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function En(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:f,render:a,renderCache:d,props:p,data:g,setupState:C,ctx:I,inheritAttrs:T}=e,z=on(e);let K,Y;try{if(n.shapeFlag&4){const B=o||s,U=B;K=Fe(a.call(U,B,d,p,C,g,I)),Y=l}else{const B=t;K=Fe(B.length>1?B(p,{attrs:l,slots:i,emit:f}):B(p,null)),Y=t.props?l:ui(l)}}catch(B){It.length=0,hn(B,e,1),K=se(Te)}let H=K;if(Y&&T!==!1){const B=Object.keys(Y),{shapeFlag:U}=H;B.length&&U&7&&(r&&B.some(Jn)&&(Y=ai(Y,r)),H=Je(H,Y,!1,!0))}return n.dirs&&(H=Je(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&(H.transition=n.transition),K=H,on(z),K}const ui=e=>{let t;for(const n in e)(n==="class"||n==="style"||cn(n))&&((t||(t={}))[n]=e[n]);return t},ai=(e,t)=>{const n={};for(const s in e)(!Jn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function di(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:f}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?Is(s,i,a):!!i;if(f&8){const d=t.dynamicProps;for(let p=0;pe.__isSuspense;function mi(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):li(e)}const _i=Symbol.for("v-scx"),yi=()=>Qt(_i),qt={};function St(e,t,n){return ko(e,t,n)}function ko(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:l}=ne){if(t&&r){const L=t;t=(...W)=>{L(...W),U()}}const f=he,a=L=>s===!0?L:pt(L,s===!1?1:void 0);let d,p=!1,g=!1;if(ge(e)?(d=()=>e.value,p=sn(e)):At(e)?(d=()=>a(e),p=!0):M(e)?(g=!0,p=e.some(L=>At(L)||sn(L)),d=()=>e.map(L=>{if(ge(L))return L.value;if(At(L))return a(L);if(P(L))return qe(L,f,2)})):P(e)?t?d=()=>qe(e,f,2):d=()=>(C&&C(),Ae(e,f,3,[I])):d=Ee,t&&s){const L=d;d=()=>pt(L())}let C,I=L=>{C=H.onStop=()=>{qe(L,f,4),C=H.onStop=void 0}},T;if(bn)if(I=Ee,t?n&&Ae(t,f,3,[d(),g?[]:void 0,I]):d(),o==="sync"){const L=yi();T=L.__watcherHandles||(L.__watcherHandles=[])}else return Ee;let z=g?new Array(e.length).fill(qt):qt;const K=()=>{if(!(!H.active||!H.dirty))if(t){const L=H.run();(s||p||(g?L.some((W,S)=>Ge(W,z[S])):Ge(L,z)))&&(C&&C(),Ae(t,f,3,[L,z===qt?void 0:g&&z[0]===qt?[]:z,I]),z=L)}else H.run()};K.allowRecurse=!!t;let Y;o==="sync"?Y=K:o==="post"?Y=()=>_e(K,f&&f.suspense):(K.pre=!0,f&&(K.id=f.uid),Y=()=>ls(K));const H=new Qn(d,Ee,Y),B=Ir(),U=()=>{H.stop(),B&&Yn(B.effects,H)};return t?n?K():z=H.run():o==="post"?_e(H.run.bind(H),f&&f.suspense):H.run(),T&&T.push(U),U}function bi(e,t,n){const s=this.proxy,o=ie(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let r;P(t)?r=t:(r=t.handler,n=t);const i=Vt(this),l=ko(o,r.bind(s),n);return i(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{pt(s,t,n)});else if(go(e))for(const s in e)pt(e[s],t,n);return e}function et(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i{e.isMounted=!0}),Xo(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],Wo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},xi={name:"BaseTransition",props:Wo,setup(e,{slots:t}){const n=fl(),s=vi();return()=>{const o=t.default&&Go(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1){for(const g of o)if(g.type!==Te){r=g;break}}const i=D(e),{mode:l}=i;if(s.isLeaving)return Tn(r);const f=Ls(r);if(!f)return Tn(r);const a=Hn(f,i,s,n);jn(f,a);const d=n.subTree,p=d&&Ls(d);if(p&&p.type!==Te&&!rt(f,p)){const g=Hn(p,i,s,n);if(jn(p,g),l==="out-in"&&f.type!==Te)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Tn(r);l==="in-out"&&f.type!==Te&&(g.delayLeave=(C,I,T)=>{const z=qo(s,p);z[String(p.key)]=p,C[Ue]=()=>{I(),C[Ue]=void 0,delete a.delayedLeave},a.delayedLeave=T})}return r}}},wi=xi;function qo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Hn(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:p,onLeave:g,onAfterLeave:C,onLeaveCancelled:I,onBeforeAppear:T,onAppear:z,onAfterAppear:K,onAppearCancelled:Y}=t,H=String(e.key),B=qo(n,e),U=(S,k)=>{S&&Ae(S,s,9,k)},L=(S,k)=>{const V=k[1];U(S,k),M(S)?S.every(oe=>oe.length<=1)&&V():S.length<=1&&V()},W={mode:r,persisted:i,beforeEnter(S){let k=l;if(!n.isMounted)if(o)k=T||l;else return;S[Ue]&&S[Ue](!0);const V=B[H];V&&rt(e,V)&&V.el[Ue]&&V.el[Ue](),U(k,[S])},enter(S){let k=f,V=a,oe=d;if(!n.isMounted)if(o)k=z||f,V=K||a,oe=Y||d;else return;let A=!1;const X=S[Gt]=fe=>{A||(A=!0,fe?U(oe,[S]):U(V,[S]),W.delayedLeave&&W.delayedLeave(),S[Gt]=void 0)};k?L(k,[S,X]):X()},leave(S,k){const V=String(e.key);if(S[Gt]&&S[Gt](!0),n.isUnmounting)return k();U(p,[S]);let oe=!1;const A=S[Ue]=X=>{oe||(oe=!0,k(),X?U(I,[S]):U(C,[S]),S[Ue]=void 0,B[V]===e&&delete B[V])};B[V]=e,g?L(g,[S,A]):A()},clone(S){return Hn(S,t,n,s)}};return W}function Tn(e){if(mn(e))return e=Je(e),e.children=null,e}function Ls(e){if(!mn(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&P(n.default))return n.default()}}function jn(e,t){e.shapeFlag&6&&e.component?jn(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 Go(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,mn=e=>e.type.__isKeepAlive;function Ci(e,t){Jo(e,"a",t)}function Ei(e,t){Jo(e,"da",t)}function Jo(e,t,n=he){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(_n(t,s,n),n){let o=n.parent;for(;o&&o.parent;)mn(o.parent.vnode)&&Ti(s,t,n,o),o=o.parent}}function Ti(e,t,n,s){const o=_n(t,e,s,!0);Zo(()=>{Yn(s[t],o)},n)}function _n(e,t,n=he,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ye();const l=Vt(n),f=Ae(t,n,e,i);return l(),Xe(),f});return s?o.unshift(r):o.push(r),r}}const je=e=>(t,n=he)=>(!bn||e==="sp")&&_n(e,(...s)=>t(...s),n),Yo=je("bm"),cs=je("m"),Ai=je("bu"),Si=je("u"),Xo=je("bum"),Zo=je("um"),Oi=je("sp"),$i=je("rtg"),Mi=je("rtc");function Ii(e,t=he){_n("ec",e,t)}function Li(e,t,n,s){let o;const r=n;if(M(e)||ie(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,r));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,f=i.length;le?hr(e)?hs(e)||e.proxy:Bn(e.parent):null,Ot=ce(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=>Bn(e.parent),$root:e=>Bn(e.root),$emit:e=>e.emit,$options:e=>fs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ls(e.update)}),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>bi.bind(e)}),An=(e,t)=>e!==ne&&!e.__isScriptSetup&&j(e,t),Fi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:f}=e;let a;if(t[0]!=="$"){const C=i[t];if(C!==void 0)switch(C){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(An(s,t))return i[t]=1,s[t];if(o!==ne&&j(o,t))return i[t]=2,o[t];if((a=e.propsOptions[0])&&j(a,t))return i[t]=3,r[t];if(n!==ne&&j(n,t))return i[t]=4,n[t];Vn&&(i[t]=0)}}const d=Ot[t];let p,g;if(d)return t==="$attrs"&&be(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ne&&j(n,t))return i[t]=4,n[t];if(g=f.config.globalProperties,j(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return An(o,t)?(o[t]=n,!0):s!==ne&&j(s,t)?(s[t]=n,!0):j(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:o,propsOptions:r}},i){let l;return!!n[i]||e!==ne&&j(e,i)||An(t,i)||(l=r[0])&&j(l,i)||j(s,i)||j(Ot,i)||j(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fs(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Vn=!0;function Pi(e){const t=fs(e),n=e.proxy,s=e.ctx;Vn=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:f,inject:a,created:d,beforeMount:p,mounted:g,beforeUpdate:C,updated:I,activated:T,deactivated:z,beforeDestroy:K,beforeUnmount:Y,destroyed:H,unmounted:B,render:U,renderTracked:L,renderTriggered:W,errorCaptured:S,serverPrefetch:k,expose:V,inheritAttrs:oe,components:A,directives:X,filters:fe}=t;if(a&&Ri(a,s,null),i)for(const Z in i){const q=i[Z];P(q)&&(s[Z]=q.bind(n))}if(o){const Z=o.call(n,n);ee(Z)&&(e.data=dn(Z))}if(Vn=!0,r)for(const Z in r){const q=r[Z],Re=P(q)?q.bind(n,n):P(q.get)?q.get.bind(n,n):Ee,at=!P(q)&&P(q.set)?q.set.bind(n):Ee,R=qn({get:Re,set:at});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>R.value,set:J=>R.value=J})}if(l)for(const Z in l)Qo(l[Z],s,n,Z);if(f){const Z=P(f)?f.call(n):f;Reflect.ownKeys(Z).forEach(q=>{Di(q,Z[q])})}d&&Ps(d,e,"c");function le(Z,q){M(q)?q.forEach(Re=>Z(Re.bind(n))):q&&Z(q.bind(n))}if(le(Yo,p),le(cs,g),le(Ai,C),le(Si,I),le(Ci,T),le(Ei,z),le(Ii,S),le(Mi,L),le($i,W),le(Xo,Y),le(Zo,B),le(Oi,k),M(V))if(V.length){const Z=e.exposed||(e.exposed={});V.forEach(q=>{Object.defineProperty(Z,q,{get:()=>n[q],set:Re=>n[q]=Re})})}else e.exposed||(e.exposed={});U&&e.render===Ee&&(e.render=U),oe!=null&&(e.inheritAttrs=oe),A&&(e.components=A),X&&(e.directives=X)}function Ri(e,t,n=Ee){M(e)&&(e=Dn(e));for(const s in e){const o=e[s];let r;ee(o)?"default"in o?r=Qt(o.from||s,o.default,!0):r=Qt(o.from||s):r=Qt(o),ge(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Ps(e,t,n){Ae(M(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qo(e,t,n,s){const o=s.includes(".")?zo(n,s):()=>n[s];if(ie(e)){const r=t[e];P(r)&&St(o,r)}else if(P(e))St(o,e.bind(n));else if(ee(e))if(M(e))e.forEach(r=>Qo(r,t,n,s));else{const r=P(e.handler)?e.handler.bind(n):t[e.handler];P(r)&&St(o,r,e)}}function fs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let f;return l?f=l:!o.length&&!n&&!s?f=t:(f={},o.length&&o.forEach(a=>rn(f,a,i,!0)),rn(f,t,i)),ee(t)&&r.set(t,f),f}function rn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&rn(e,r,n,!0),o&&o.forEach(i=>rn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Ni[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ni={data:Rs,props:Ns,emits:Ns,methods:Et,computed:Et,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:Et,directives:Et,watch:ji,provide:Rs,inject:Hi};function Rs(e,t){return t?e?function(){return ce(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Hi(e,t){return Et(Dn(e),Dn(t))}function Dn(e){if(M(e)){const t={};for(let n=0;n1)return n&&P(t)?t.call(s&&s.proxy):t}}const tr={},nr=()=>Object.create(tr),sr=e=>Object.getPrototypeOf(e)===tr;function Ki(e,t,n,s=!1){const o={},r=nr();e.propsDefaults=Object.create(null),or(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Xr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Ui(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=D(o),[f]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[g,C]=rr(p,t,!0);ce(i,g),C&&l.push(...C)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!f)return ee(e)&&s.set(e,gt),gt;if(M(r))for(let d=0;d-1,C[1]=T<0||I-1||j(C,"default"))&&l.push(p)}}}const a=[i,l];return ee(e)&&s.set(e,a),a}function Hs(e){return e[0]!=="$"&&!Tt(e)}function js(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Bs(e,t){return js(e)===js(t)}function Vs(e,t){return M(t)?t.findIndex(n=>Bs(n,e)):P(t)&&Bs(t,e)?0:-1}const ir=e=>e[0]==="_"||e==="$stable",us=e=>M(e)?e.map(Fe):[Fe(e)],ki=(e,t,n)=>{if(t._n)return t;const s=Uo((...o)=>us(t(...o)),n);return s._c=!1,s},lr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ir(o))continue;const r=e[o];if(P(r))t[o]=ki(o,r,s);else if(r!=null){const i=us(r);t[o]=()=>i}}},cr=(e,t)=>{const n=us(t);e.slots.default=()=>n},zi=(e,t)=>{const n=e.slots=nr();if(e.vnode.shapeFlag&32){const s=t._;s?(ce(n,t),_o(n,"_",s,!0)):lr(t,n)}else t&&cr(e,t)},Wi=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(ce(o,t),!n&&l===1&&delete o._):(r=!t.$stable,lr(t,o)),i=t}else t&&(cr(e,t),i={default:1});if(r)for(const l in o)!ir(l)&&i[l]==null&&delete o[l]};function Un(e,t,n,s,o=!1){if(M(e)){e.forEach((g,C)=>Un(g,t&&(M(t)?t[C]:t),n,s,o));return}if(Zt(s)&&!o)return;const r=s.shapeFlag&4?hs(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:f}=e,a=t&&t.r,d=l.refs===ne?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==f&&(ie(a)?(d[a]=null,j(p,a)&&(p[a]=null)):ge(a)&&(a.value=null)),P(f))qe(f,l,12,[i,d]);else{const g=ie(f),C=ge(f);if(g||C){const I=()=>{if(e.f){const T=g?j(p,f)?p[f]:d[f]:f.value;o?M(T)&&Yn(T,r):M(T)?T.includes(r)||T.push(r):g?(d[f]=[r],j(p,f)&&(p[f]=d[f])):(f.value=[r],e.k&&(d[e.k]=f.value))}else g?(d[f]=i,j(p,f)&&(p[f]=i)):C&&(f.value=i,e.k&&(d[e.k]=i))};i?(I.id=-1,_e(I,n)):I()}}}const _e=mi;function qi(e){return Gi(e)}function Gi(e,t){const n=yo();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:f,setText:a,setElementText:d,parentNode:p,nextSibling:g,setScopeId:C=Ee,insertStaticContent:I}=e,T=(c,u,h,m=null,_=null,v=null,w=void 0,b=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!rt(c,u)&&(m=Dt(c),J(c,_,v,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:y,ref:E,shapeFlag:$}=u;switch(y){case yn:z(c,u,h,m);break;case Te:K(c,u,h,m);break;case On:c==null&&Y(u,h,m,w);break;case Ce:A(c,u,h,m,_,v,w,b,x);break;default:$&1?U(c,u,h,m,_,v,w,b,x):$&6?X(c,u,h,m,_,v,w,b,x):($&64||$&128)&&y.process(c,u,h,m,_,v,w,b,x,xt)}E!=null&&_&&Un(E,c&&c.ref,v,u||c,!u)},z=(c,u,h,m)=>{if(c==null)s(u.el=l(u.children),h,m);else{const _=u.el=c.el;u.children!==c.children&&a(_,u.children)}},K=(c,u,h,m)=>{c==null?s(u.el=f(u.children||""),h,m):u.el=c.el},Y=(c,u,h,m)=>{[c.el,c.anchor]=I(c.children,u,h,m,c.el,c.anchor)},H=({el:c,anchor:u},h,m)=>{let _;for(;c&&c!==u;)_=g(c),s(c,h,m),c=_;s(u,h,m)},B=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=g(c),o(c),c=h;o(u)},U=(c,u,h,m,_,v,w,b,x)=>{u.type==="svg"?w="svg":u.type==="math"&&(w="mathml"),c==null?L(u,h,m,_,v,w,b,x):k(c,u,_,v,w,b,x)},L=(c,u,h,m,_,v,w,b)=>{let x,y;const{props:E,shapeFlag:$,transition:O,dirs:F}=c;if(x=c.el=i(c.type,v,E&&E.is,E),$&8?d(x,c.children):$&16&&S(c.children,x,null,m,_,Sn(c,v),w,b),F&&et(c,null,m,"created"),W(x,c,c.scopeId,w,m),E){for(const G in E)G!=="value"&&!Tt(G)&&r(x,G,null,E[G],v,c.children,m,_,Ne);"value"in E&&r(x,"value",null,E.value,v),(y=E.onVnodeBeforeMount)&&Le(y,m,c)}F&&et(c,null,m,"beforeMount");const N=Ji(_,O);N&&O.beforeEnter(x),s(x,u,h),((y=E&&E.onVnodeMounted)||N||F)&&_e(()=>{y&&Le(y,m,c),N&&O.enter(x),F&&et(c,null,m,"mounted")},_)},W=(c,u,h,m,_)=>{if(h&&C(c,h),m)for(let v=0;v{for(let y=x;y{const b=u.el=c.el;let{patchFlag:x,dynamicChildren:y,dirs:E}=u;x|=c.patchFlag&16;const $=c.props||ne,O=u.props||ne;let F;if(h&&tt(h,!1),(F=O.onVnodeBeforeUpdate)&&Le(F,h,u,c),E&&et(u,c,h,"beforeUpdate"),h&&tt(h,!0),y?V(c.dynamicChildren,y,b,h,m,Sn(u,_),v):w||q(c,u,b,null,h,m,Sn(u,_),v,!1),x>0){if(x&16)oe(b,u,$,O,h,m,_);else if(x&2&&$.class!==O.class&&r(b,"class",null,O.class,_),x&4&&r(b,"style",$.style,O.style,_),x&8){const N=u.dynamicProps;for(let G=0;G{F&&Le(F,h,u,c),E&&et(u,c,h,"updated")},m)},V=(c,u,h,m,_,v,w)=>{for(let b=0;b{if(h!==m){if(h!==ne)for(const b in h)!Tt(b)&&!(b in m)&&r(c,b,h[b],null,w,u.children,_,v,Ne);for(const b in m){if(Tt(b))continue;const x=m[b],y=h[b];x!==y&&b!=="value"&&r(c,b,y,x,w,u.children,_,v,Ne)}"value"in m&&r(c,"value",h.value,m.value,w)}},A=(c,u,h,m,_,v,w,b,x)=>{const y=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:$,dynamicChildren:O,slotScopeIds:F}=u;F&&(b=b?b.concat(F):F),c==null?(s(y,h,m),s(E,h,m),S(u.children||[],h,E,_,v,w,b,x)):$>0&&$&64&&O&&c.dynamicChildren?(V(c.dynamicChildren,O,h,_,v,w,b),(u.key!=null||_&&u===_.subTree)&&as(c,u,!0)):q(c,u,h,E,_,v,w,b,x)},X=(c,u,h,m,_,v,w,b,x)=>{u.slotScopeIds=b,c==null?u.shapeFlag&512?_.ctx.activate(u,h,m,w,x):fe(u,h,m,_,v,w,x):Ze(c,u,x)},fe=(c,u,h,m,_,v,w)=>{const b=c.component=cl(c,m,_);if(mn(c)&&(b.ctx.renderer=xt),ul(b),b.asyncDep){if(_&&_.registerDep(b,le),!c.el){const x=b.subTree=se(Te);K(null,x,u,h)}}else le(b,c,u,h,_,v,w)},Ze=(c,u,h)=>{const m=u.component=c.component;if(di(c,u,h))if(m.asyncDep&&!m.asyncResolved){Z(m,u,h);return}else m.next=u,ii(m.update),m.effect.dirty=!0,m.update();else u.el=c.el,m.vnode=u},le=(c,u,h,m,_,v,w)=>{const b=()=>{if(c.isMounted){let{next:E,bu:$,u:O,parent:F,vnode:N}=c;{const ht=fr(c);if(ht){E&&(E.el=N.el,Z(c,E,w)),ht.asyncDep.then(()=>{c.isUnmounted||b()});return}}let G=E,te;tt(c,!1),E?(E.el=N.el,Z(c,E,w)):E=N,$&&wn($),(te=E.props&&E.props.onVnodeBeforeUpdate)&&Le(te,F,E,N),tt(c,!0);const ue=En(c),Se=c.subTree;c.subTree=ue,T(Se,ue,p(Se.el),Dt(Se),c,_,v),E.el=ue.el,G===null&&hi(c,ue.el),O&&_e(O,_),(te=E.props&&E.props.onVnodeUpdated)&&_e(()=>Le(te,F,E,N),_)}else{let E;const{el:$,props:O}=u,{bm:F,m:N,parent:G}=c,te=Zt(u);if(tt(c,!1),F&&wn(F),!te&&(E=O&&O.onVnodeBeforeMount)&&Le(E,G,u),tt(c,!0),$&&_s){const ue=()=>{c.subTree=En(c),_s($,c.subTree,c,_,null)};te?u.type.__asyncLoader().then(()=>!c.isUnmounted&&ue()):ue()}else{const ue=c.subTree=En(c);T(null,ue,h,m,c,_,v),u.el=ue.el}if(N&&_e(N,_),!te&&(E=O&&O.onVnodeMounted)){const ue=u;_e(()=>Le(E,G,ue),_)}(u.shapeFlag&256||G&&Zt(G.vnode)&&G.vnode.shapeFlag&256)&&c.a&&_e(c.a,_),c.isMounted=!0,u=h=m=null}},x=c.effect=new Qn(b,Ee,()=>ls(y),c.scope),y=c.update=()=>{x.dirty&&x.run()};y.id=c.uid,tt(c,!0),y()},Z=(c,u,h)=>{u.component=c;const m=c.vnode.props;c.vnode=u,c.next=null,Ui(c,u.props,m,h),Wi(c,u.children,h),Ye(),Ms(c),Xe()},q=(c,u,h,m,_,v,w,b,x=!1)=>{const y=c&&c.children,E=c?c.shapeFlag:0,$=u.children,{patchFlag:O,shapeFlag:F}=u;if(O>0){if(O&128){at(y,$,h,m,_,v,w,b,x);return}else if(O&256){Re(y,$,h,m,_,v,w,b,x);return}}F&8?(E&16&&Ne(y,_,v),$!==y&&d(h,$)):E&16?F&16?at(y,$,h,m,_,v,w,b,x):Ne(y,_,v,!0):(E&8&&d(h,""),F&16&&S($,h,m,_,v,w,b,x))},Re=(c,u,h,m,_,v,w,b,x)=>{c=c||gt,u=u||gt;const y=c.length,E=u.length,$=Math.min(y,E);let O;for(O=0;O<$;O++){const F=u[O]=x?ke(u[O]):Fe(u[O]);T(c[O],F,h,null,_,v,w,b,x)}y>E?Ne(c,_,v,!0,!1,$):S(u,h,m,_,v,w,b,x,$)},at=(c,u,h,m,_,v,w,b,x)=>{let y=0;const E=u.length;let $=c.length-1,O=E-1;for(;y<=$&&y<=O;){const F=c[y],N=u[y]=x?ke(u[y]):Fe(u[y]);if(rt(F,N))T(F,N,h,null,_,v,w,b,x);else break;y++}for(;y<=$&&y<=O;){const F=c[$],N=u[O]=x?ke(u[O]):Fe(u[O]);if(rt(F,N))T(F,N,h,null,_,v,w,b,x);else break;$--,O--}if(y>$){if(y<=O){const F=O+1,N=FO)for(;y<=$;)J(c[y],_,v,!0),y++;else{const F=y,N=y,G=new Map;for(y=N;y<=O;y++){const ve=u[y]=x?ke(u[y]):Fe(u[y]);ve.key!=null&&G.set(ve.key,y)}let te,ue=0;const Se=O-N+1;let ht=!1,ys=0;const wt=new Array(Se);for(y=0;y=Se){J(ve,_,v,!0);continue}let Ie;if(ve.key!=null)Ie=G.get(ve.key);else for(te=N;te<=O;te++)if(wt[te-N]===0&&rt(ve,u[te])){Ie=te;break}Ie===void 0?J(ve,_,v,!0):(wt[Ie-N]=y+1,Ie>=ys?ys=Ie:ht=!0,T(ve,u[Ie],h,null,_,v,w,b,x),ue++)}const bs=ht?Yi(wt):gt;for(te=bs.length-1,y=Se-1;y>=0;y--){const ve=N+y,Ie=u[ve],vs=ve+1{const{el:v,type:w,transition:b,children:x,shapeFlag:y}=c;if(y&6){R(c.component.subTree,u,h,m);return}if(y&128){c.suspense.move(u,h,m);return}if(y&64){w.move(c,u,h,xt);return}if(w===Ce){s(v,u,h);for(let $=0;$b.enter(v),_);else{const{leave:$,delayLeave:O,afterLeave:F}=b,N=()=>s(v,u,h),G=()=>{$(v,()=>{N(),F&&F()})};O?O(v,N,G):G()}else s(v,u,h)},J=(c,u,h,m=!1,_=!1)=>{const{type:v,props:w,ref:b,children:x,dynamicChildren:y,shapeFlag:E,patchFlag:$,dirs:O}=c;if(b!=null&&Un(b,null,h,c,!0),E&256){u.ctx.deactivate(c);return}const F=E&1&&O,N=!Zt(c);let G;if(N&&(G=w&&w.onVnodeBeforeUnmount)&&Le(G,u,c),E&6)dt(c.component,h,m);else{if(E&128){c.suspense.unmount(h,m);return}F&&et(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,_,xt,m):y&&(v!==Ce||$>0&&$&64)?Ne(y,u,h,!1,!0):(v===Ce&&$&384||!_&&E&16)&&Ne(x,u,h),m&&xe(c)}(N&&(G=w&&w.onVnodeUnmounted)||F)&&_e(()=>{G&&Le(G,u,c),F&&et(c,null,u,"unmounted")},h)},xe=c=>{const{type:u,el:h,anchor:m,transition:_}=c;if(u===Ce){Qe(h,m);return}if(u===On){B(c);return}const v=()=>{o(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:w,delayLeave:b}=_,x=()=>w(h,v);b?b(c.el,v,x):x()}else v()},Qe=(c,u)=>{let h;for(;c!==u;)h=g(c),o(c),c=h;o(u)},dt=(c,u,h)=>{const{bum:m,scope:_,update:v,subTree:w,um:b}=c;m&&wn(m),_.stop(),v&&(v.active=!1,J(w,c,u,h)),b&&_e(b,u),_e(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Ne=(c,u,h,m=!1,_=!1,v=0)=>{for(let w=v;wc.shapeFlag&6?Dt(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el);let vn=!1;const gs=(c,u,h)=>{c==null?u._vnode&&J(u._vnode,null,null,!0):T(u._vnode||null,c,u,null,null,null,h),vn||(vn=!0,Ms(),Bo(),vn=!1),u._vnode=c},xt={p:T,um:J,m:R,r:xe,mt:fe,mc:S,pc:q,pbc:V,n:Dt,o:e};let ms,_s;return{render:gs,hydrate:ms,createApp:Vi(gs,ms)}}function Sn({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 tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ji(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function as(e,t,n=!1){const s=e.children,o=t.children;if(M(s)&&M(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function fr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fr(t)}const Xi=e=>e.__isTeleport,Mt=e=>e&&(e.disabled||e.disabled===""),Ds=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ks=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,kn=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},Zi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,l,f,a){const{mc:d,pc:p,pbc:g,o:{insert:C,querySelector:I,createText:T,createComment:z}}=a,K=Mt(t.props);let{shapeFlag:Y,children:H,dynamicChildren:B}=t;if(e==null){const U=t.el=T(""),L=t.anchor=T("");C(U,n,s),C(L,n,s);const W=t.target=kn(t.props,I),S=t.targetAnchor=T("");W&&(C(S,W),i==="svg"||Ds(W)?i="svg":(i==="mathml"||Ks(W))&&(i="mathml"));const k=(V,oe)=>{Y&16&&d(H,V,oe,o,r,i,l,f)};K?k(n,L):W&&k(W,S)}else{t.el=e.el;const U=t.anchor=e.anchor,L=t.target=e.target,W=t.targetAnchor=e.targetAnchor,S=Mt(e.props),k=S?n:L,V=S?U:W;if(i==="svg"||Ds(L)?i="svg":(i==="mathml"||Ks(L))&&(i="mathml"),B?(g(e.dynamicChildren,B,k,o,r,i,l),as(e,t,!0)):f||p(e,t,k,V,o,r,i,l,!1),K)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Jt(t,n,U,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const oe=t.target=kn(t.props,I);oe&&Jt(t,oe,null,a,0)}else S&&Jt(t,L,W,a,1)}ur(t)},remove(e,t,n,s,{um:o,o:{remove:r}},i){const{shapeFlag:l,children:f,anchor:a,targetAnchor:d,target:p,props:g}=e;if(p&&r(d),i&&r(a),l&16){const C=i||!Mt(g);for(let I=0;I0?Me||gt:null,tl(),jt>0&&Me&&Me.push(e),e}function ye(e,t,n,s,o,r){return ar(Q(e,t,n,s,o,r,!0))}function en(e,t,n,s,o){return ar(se(e,t,n,s,o,!0))}function zn(e){return e?e.__v_isVNode===!0:!1}function rt(e,t){return e.type===t.type&&e.key===t.key}const dr=({key:e})=>e??null,tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||ge(e)||P(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function Q(e,t=null,n=null,s=0,o=null,r=e===Ce?0:1,i=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dr(t),ref:t&&tn(t),scopeId:Ko,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return l?(ds(f,n),r&128&&e.normalize(f)):n&&(f.shapeFlag|=ie(n)?8:16),jt>0&&!i&&Me&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&Me.push(f),f}const se=nl;function nl(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===pi)&&(e=Te),zn(e)){const l=Je(e,t,!0);return n&&ds(l,n),jt>0&&!r&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag|=-2,l}if(pl(e)&&(e=e.__vccOpts),t){t=sl(t);let{class:l,style:f}=t;l&&!ie(l)&&(t.class=Zn(l)),ee(f)&&(Fo(f)&&!M(f)&&(f=ce({},f)),t.style=Ft(f))}const i=ie(e)?1:gi(e)?128:Xi(e)?64:ee(e)?4:P(e)?2:0;return Q(e,t,n,s,o,i,r,!0)}function sl(e){return e?Fo(e)||sr(e)?ce({},e):e:null}function Je(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:f}=e,a=t?rl(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&dr(a),ref:t&&t.ref?n&&r?M(r)?r.concat(tn(t)):[r,tn(t)]:tn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&(d.transition=f.clone(d)),d}function ol(e=" ",t=0){return se(yn,null,e,t)}function Yt(e="",t=!1){return t?(ae(),en(Te,null,e)):se(Te,null,e)}function Fe(e){return e==null||typeof e=="boolean"?se(Te):M(e)?se(Ce,null,e.slice()):typeof e=="object"?ke(e):se(yn,null,String(e))}function ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function ds(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),ds(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!sr(t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[ol(t)]):n=8);e.children=t,e.shapeFlag|=n}function rl(...e){const t={};for(let n=0;nhe||$e;let ln,Wn;{const e=yo(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};ln=t("__VUE_INSTANCE_SETTERS__",n=>he=n),Wn=t("__VUE_SSR_SETTERS__",n=>bn=n)}const Vt=e=>{const t=he;return ln(e),e.scope.on(),()=>{e.scope.off(),ln(t)}},ks=()=>{he&&he.scope.off(),ln(null)};function hr(e){return e.vnode.shapeFlag&4}let bn=!1;function ul(e,t=!1){t&&Wn(t);const{props:n,children:s}=e.vnode,o=hr(e);Ki(e,n,o,t),zi(e,s);const r=o?al(e,t):void 0;return t&&Wn(!1),r}function al(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Fi);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?hl(e):null,r=Vt(e);Ye();const i=qe(s,e,0,[e.props,o]);if(Xe(),r(),ho(i)){if(i.then(ks,ks),t)return i.then(l=>{zs(e,l,t)}).catch(l=>{hn(l,e,0)});e.asyncDep=i}else zs(e,i,t)}else pr(e,t)}function zs(e,t,n){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=No(t)),pr(e,n)}let Ws;function pr(e,t,n){const s=e.type;if(!e.render){if(!t&&Ws&&!s.render){const o=s.template||fs(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:f}=s,a=ce(ce({isCustomElement:r,delimiters:l},i),f);s.render=Ws(o,a)}}e.render=s.render||Ee}{const o=Vt(e);Ye();try{Pi(e)}finally{Xe(),o()}}}const dl={get(e,t){return be(e,"get",""),e[t]}};function hl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,dl),slots:e.slots,emit:e.emit,expose:t}}function hs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(No(Zr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ot)return Ot[n](e)},has(t,n){return n in t||n in Ot}}))}function pl(e){return P(e)&&"__vccOpts"in e}const qn=(e,t)=>Qr(e,t,bn);function gl(e,t,n){const s=arguments.length;return s===2?ee(t)&&!M(t)?zn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zn(n)&&(n=[n]),se(e,t,n))}const ml="3.4.27";/** +* @vue/runtime-dom v3.4.27 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const _l="http://www.w3.org/2000/svg",yl="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,qs=ze&&ze.createElement("template"),bl={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 o=t==="svg"?ze.createElementNS(_l,e):t==="mathml"?ze.createElementNS(yl,e):ze.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{qs.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=qs.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ve="transition",Ct="animation",Bt=Symbol("_vtc"),ps=(e,{slots:t})=>gl(wi,vl(e),t);ps.displayName="Transition";const gr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ps.props=ce({},Wo,gr);const nt=(e,t=[])=>{M(e)?e.forEach(n=>n(...t)):e&&e(...t)},Gs=e=>e?M(e)?e.some(t=>t.length>1):e.length>1:!1;function vl(e){const t={};for(const A in e)A in gr||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=r,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,I=xl(o),T=I&&I[0],z=I&&I[1],{onBeforeEnter:K,onEnter:Y,onEnterCancelled:H,onLeave:B,onLeaveCancelled:U,onBeforeAppear:L=K,onAppear:W=Y,onAppearCancelled:S=H}=t,k=(A,X,fe)=>{st(A,X?d:l),st(A,X?a:i),fe&&fe()},V=(A,X)=>{A._isLeaving=!1,st(A,p),st(A,C),st(A,g),X&&X()},oe=A=>(X,fe)=>{const Ze=A?W:Y,le=()=>k(X,A,fe);nt(Ze,[X,le]),Js(()=>{st(X,A?f:r),De(X,A?d:l),Gs(Ze)||Ys(X,s,T,le)})};return ce(t,{onBeforeEnter(A){nt(K,[A]),De(A,r),De(A,i)},onBeforeAppear(A){nt(L,[A]),De(A,f),De(A,a)},onEnter:oe(!1),onAppear:oe(!0),onLeave(A,X){A._isLeaving=!0;const fe=()=>V(A,X);De(A,p),De(A,g),El(),Js(()=>{A._isLeaving&&(st(A,p),De(A,C),Gs(B)||Ys(A,s,z,fe))}),nt(B,[A,fe])},onEnterCancelled(A){k(A,!1),nt(H,[A])},onAppearCancelled(A){k(A,!0),nt(S,[A])},onLeaveCancelled(A){V(A),nt(U,[A])}})}function xl(e){if(e==null)return null;if(ee(e))return[$n(e.enter),$n(e.leave)];{const t=$n(e);return[t,t]}}function $n(e){return wr(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function Js(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wl=0;function Ys(e,t,n,s){const o=e._endId=++wl,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:f}=Cl(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),r()},g=C=>{C.target===e&&++d>=f&&p()};setTimeout(()=>{d(n[I]||"").split(", "),o=s(`${Ve}Delay`),r=s(`${Ve}Duration`),i=Xs(o,r),l=s(`${Ct}Delay`),f=s(`${Ct}Duration`),a=Xs(l,f);let d=null,p=0,g=0;t===Ve?i>0&&(d=Ve,p=i,g=r.length):t===Ct?a>0&&(d=Ct,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?Ve:Ct:null,g=d?d===Ve?r.length:f.length:0);const C=d===Ve&&/\b(transform|all)(,|$)/.test(s(`${Ve}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:C}}function Xs(e,t){for(;e.lengthZs(n)+Zs(e[s])))}function Zs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function El(){return document.body.offsetHeight}function Tl(e,t,n){const s=e[Bt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qs=Symbol("_vod"),Al=Symbol("_vsh"),Sl=Symbol(""),Ol=/(^|;)\s*display\s*:/;function $l(e,t,n){const s=e.style,o=ie(n);let r=!1;if(n&&!o){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&nn(s,l,"")}else for(const i in t)n[i]==null&&nn(s,i,"");for(const i in n)i==="display"&&(r=!0),nn(s,i,n[i])}else if(o){if(t!==n){const i=s[Sl];i&&(n+=";"+i),s.cssText=n,r=Ol.test(n)}}else t&&e.removeAttribute("style");Qs in e&&(e[Qs]=r?s.display:"",e[Al]&&(s.display="none"))}const eo=/\s*!important$/;function nn(e,t,n){if(M(n))n.forEach(s=>nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ml(e,t);eo.test(n)?e.setProperty(ft(s),n.replace(eo,""),"important"):e[s]=n}}const to=["Webkit","Moz","ms"],Mn={};function Ml(e,t){const n=Mn[t];if(n)return n;let s=yt(t);if(s!=="filter"&&s in e)return Mn[t]=s;s=mo(s);for(let o=0;oIn||(Hl.then(()=>In=0),In=Date.now());function Bl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ae(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=jl(),n}function Vl(e,t){if(M(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const ro=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dl=(e,t,n,s,o,r,i,l,f)=>{const a=o==="svg";t==="class"?Tl(e,s,a):t==="style"?$l(e,n,s):cn(t)?Jn(t)||Rl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kl(e,t,s,a))?Ll(e,t,s,r,i,l,f):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Il(e,t,s,a))};function Kl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ro(t)&&P(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ro(t)&&ie(n)?!1:t in e}const Ul=["ctrl","shift","alt","meta"],kl={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)=>Ul.some(n=>e[`${n}Key`]&&!t.includes(n))},zl=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(o,...r)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=o=>{if(!("key"in o))return;const r=ft(o.key);if(t.some(i=>i===r||Wl[i]===r))return e(o)})},Gl=ce({patchProp:Dl},bl);let io;function Jl(){return io||(io=qi(Gl))}const Yl=(...e)=>{const t=Jl().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Zl(s);if(!o)return;const r=t._component;!P(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Xl(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function Xl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zl(e){return ie(e)?document.querySelector(e):e}const lo="/assets/a-1s9wDlIF.jpg",Ql="/assets/logo-CPmPqqKk.png";function bt(e){return Object.prototype.toString.call(e).replace(new RegExp("(^[[a-z]+ )([A-Za-z]+)(])","g"),"$2").toLowerCase()}const vt=Object.create(null);function ec(e){return bt(e)==="object"}function tc(e){return bt(e)==="function"}function nc(e){return bt(e)==="array"}function sc(e){return bt(e)==="symbol"}function oc(e){return[0,void 0,null].includes(e)}vt.isObject=ec;vt.isFunction=tc;vt.isArray=nc;vt.isSymbol=sc;vt.isFalse=oc;bt.prototype=vt;const ut=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},rc={},ic={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},lc=Q("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),cc=[lc];function fc(e,t){return ae(),ye("svg",ic,cc)}const uc=ut(rc,[["render",fc]]),ac={},dc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},hc=Q("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),pc=[hc];function gc(e,t){return ae(),ye("svg",dc,pc)}const co=ut(ac,[["render",gc]]),mc={class:"fox-preview-switch"},_c=gn({__name:"switch",emits:["prev","next"],setup(e,{emit:t}){const n=t,s=()=>{n("prev")},o=()=>{n("next")};return(r,i)=>(ae(),ye("div",mc,[Q("div",{class:"fox-preview-switch-item fox-preview-switch-item-left",onClick:s},[se(co,{class:"preview-operate-icon preview-switch-icon-left"})]),Q("div",{class:"fox-preview-switch-item",onClick:o},[se(co,{class:"fox-preview-switch-icon fox-preview-switch-icon"})])]))}}),yc={},bc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},vc=Q("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),xc=[vc];function wc(e,t){return ae(),ye("svg",bc,xc)}const Cc=ut(yc,[["render",wc]]),Ec={},Tc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Ac=Q("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),Sc=[Ac];function Oc(e,t){return ae(),ye("svg",Tc,Sc)}const $c=ut(Ec,[["render",Oc]]),Mc={},Ic={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Lc=Q("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1),Fc=[Lc];function Pc(e,t){return ae(),ye("svg",Ic,Fc)}const Rc=ut(Mc,[["render",Pc]]),Nc={},Hc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},jc=Q("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1),Bc=[jc];function Vc(e,t){return ae(),ye("svg",Hc,Bc)}const Dc=ut(Nc,[["render",Vc]]),Kc={},Uc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},kc=Q("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1),zc=[kc];function Wc(e,t){return ae(),ye("svg",Uc,zc)}const qc=ut(Kc,[["render",Wc]]),Gc={class:"fox-preview-toolbar"},Jc={role:"button",title:"缩放倍数",tabindex:"-1",class:"fox-preview-toolbar-item fox-preview-toolbar-scale"},Yc={role:"button",title:"图片位置",class:"fox-preview-toolbar-item fox-preview-toolbar-position"},Xc=gn({__name:"toolbar",props:{scale:{default:1},index:{default:"1/1"}},emits:["click"],setup(e,{emit:t}){const n=e,s=t,o=r=>{s("click",r)};return(r,i)=>(ae(),ye("div",Gc,[se(Cc,{role:"button",title:"缩小",class:"fox-preview-toolbar-item",onClick:i[0]||(i[0]=l=>o("zoom-out"))}),se($c,{role:"button",title:"放大",class:"fox-preview-toolbar-item",onClick:i[1]||(i[1]=l=>o("zoom-in"))}),Q("div",Jc,ws(n.scale),1),Q("div",Yc,ws(n.index),1),se(Rc,{role:"button",title:"左旋转",class:"fox-preview-toolbar-item",onClick:i[2]||(i[2]=l=>o("contraRotate"))}),se(Dc,{role:"button",title:"右旋转",class:"fox-preview-toolbar-item",onClick:i[3]||(i[3]=l=>o("clockwiseRotation"))}),se(qc,{role:"button",title:"下载/保存",class:"fox-preview-toolbar-item",onClick:i[4]||(i[4]=l=>o("download"))})]))}});function Zc(e){return typeof e=="function"?e():re(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fo=()=>{};function Qc(e,t){function n(...s){return new Promise((o,r)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(o).catch(r)})}return n}function ef(...e){let t=0,n,s=!0,o=fo,r,i,l,f,a;!ge(e[0])&&typeof e[0]=="object"?{delay:i,trailing:l=!0,leading:f=!0,rejectOnCancel:a=!1}=e[0]:[i,l=!0,f=!0,a=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,o(),o=fo)};return g=>{const C=Zc(i),I=Date.now()-t,T=()=>r=g();return d(),C<=0?(t=Date.now(),T()):(I>C&&(f||!s)?(t=Date.now(),T()):l&&(r=new Promise((z,K)=>{o=a?K:z,n=setTimeout(()=>{t=Date.now(),s=!0,z(T()),d()},Math.max(0,C-I))})),!f&&!n&&(n=setTimeout(()=>s=!0,C)),s=!1,r)}}function uo(e,t=200,n=!1,s=!0,o=!1){return Qc(ef(t,n,s,o),e)}const tf=(e,t)=>{const n=document.createElement("a");n.download=t,n.href=e,n.style.display="none",document.body.appendChild(n),n.click();const s=setTimeout(()=>{document.body.removeChild(n),clearTimeout(s)},10)},nf=()=>{const e=document.createElement("div"),t=document.createElement("div");e.appendChild(t),e.style.width="100px",e.style.height="50px",e.style.overflow="scroll",e.style.marginLeft="-100000px",document.body.appendChild(e);const n=t.offsetWidth,s=e.offsetWidth,o=setTimeout(()=>{document.body.removeChild(e),clearTimeout(o)},10);return s-n},sf=["onKeyup"],of=["src"],Lt=gn({name:"FoxPreviewImage",__name:"index",props:{modelValue:{type:Boolean,default:!1},src:{default:""},zIndex:{default:9e3},initialIndex:{default:0},appendTo:{default:"body"},showToolbar:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=t;let o="";Yo(()=>{o=document.body.style.cssText});const r=me(null);let i=me(!1),l=me(0),f=n.src&&n.src.length?me(n.initialIndex):me(0),a=me(0),d=me(1),p=me(0),g=me(0),C=me(0),I=me(0),T=me([]),z=dn({x:0,y:0});const K=()=>{i.value=n.modelValue},Y=()=>{i.value=!1,s("update:modelValue",i.value)},H=R=>{if(l.value!==1)return;const{x:J,y:xe}=R,Qe=J-z.x,dt=xe-z.y;C.value=Qe+C.value-p.value,I.value=dt+I.value-g.value,p.value=Qe,g.value=dt},B=()=>{d.value>.5&&(d.value-=.1)},U=()=>{d.value<2&&(d.value+=.1)},L=R=>{requestAnimationFrame(()=>{(R.wheelDelta||R.detail*-40)>0?U():B()})},W=uo(H,10),S=uo(L,10),k=()=>{l.value=0,p.value=0,g.value=0},V=R=>{l.value=1,z={x:R.x,y:R.y}},oe=()=>{a.value+=90},A=()=>{a.value-=90},X=()=>{const R=T.value[f.value],J=R.split("/"),xe=J[J.length-1];tf(R,xe)},fe=()=>{a.value=0,d.value=1,C.value=0,I.value=0,z.x=0,z.y=0,p.value=0,g.value=0},Ze=()=>{const R=T.value.length||0;f.value>0?f.value--:f.value=R-1,fe()},le=()=>{const R=T.value.length||0;f.valueparseFloat(d.value.toFixed(1))),q=qn(()=>`${f.value+1}/${T.value.length}`),Re=R=>{switch(R){case"zoom-out":B();break;case"zoom-in":U();break;case"contraRotate":A();break;case"clockwiseRotation":oe();break;case"download":X();break}};cs(()=>{K()});const at=R=>R.scrollHeight>window.innerHeight;return St(()=>n.modelValue,R=>{i.value=R,R?(r.value!==null&&r.value.focus(),at(document.body)&&(document.body.style.paddingRight=nf()+"px",document.body.classList.add("fox-lock-window"))):(document.body.classList.remove("fox-lock-window"),o?document.body.style.cssText=o:document.body.removeAttribute("style"))}),St(()=>n.src,R=>{const J=bt(R);J==="string"?(f.value=0,fe(),T.value=[R]):J==="array"&&(n.initialIndex>=0&&n.initialIndex(ae(),en(el,{to:n.appendTo},[se(ps,null,{default:Uo(()=>[re(i)?(ae(),ye("div",{key:0,role:"dialog",ref_key:"refEl",ref:r,class:"fox-preview",style:Ft({"z-index":n.zIndex}),tabindex:"1",onKeyup:ql(zl(Y,["exact"]),["esc"])},[Q("div",{class:"fox-preview-canvas",onMousewheel:J[1]||(J[1]=(...xe)=>re(S)&&re(S)(...xe)),"on:DOMMouseScroll":J[2]||(J[2]=(...xe)=>re(S)&&re(S)(...xe))},[(ae(!0),ye(Ce,null,Li(re(T),(xe,Qe)=>(ae(),ye(Ce,{key:Qe},[re(f)===Qe?(ae(),ye("div",{key:0,onMousemove:J[0]||(J[0]=(...dt)=>re(W)&&re(W)(...dt)),onMouseup:k,onMousedown:V,style:Ft([{transform:`rotate(${re(a)}deg) scale(${re(d)}) translate(${re(C)}px,${re(I)}px)`},{display:"inline-block"}])},[Q("img",{class:"fox-preview-image",src:xe,alt:"被拖拽的图片",draggable:"false"},null,8,of)],36)):Yt("",!0)],64))),128))],32),Q("div",{class:"fox-preview-close",onClick:Y},[se(uc)]),re(T)&&re(T).length>1?(ae(),en(_c,{key:0,onPrev:Ze,onNext:le})):Yt("",!0),R.showToolbar?(ae(),en(Xc,{key:1,onClick:Re,scale:Z.value,index:q.value},null,8,["scale","index"])):Yt("",!0)],44,sf)):Yt("",!0)]),_:1})],8,["to"]))}});Lt.install=e=>{e.component(Lt.name,Lt)};const rf={class:"preview"},lf={class:"preview-item"},cf=Q("h2",null,"基础用法",-1),ff={class:"preview-item-ctx"},uf={class:"preview-item"},af=Q("h2",null,"基础用法-只有一张图片时不显示左右的切换按钮",-1),df={class:"preview-item-ctx"},hf=gn({__name:"App",setup(e){const t=me(!1),n=me(!1),s=()=>{t.value=!0},o=()=>{n.value=!0};return(r,i)=>(ae(),ye("div",null,[Q("div",rf,[Q("div",lf,[cf,Q("div",ff,[Q("button",{class:"button",onClick:s},"点击查看预览界面"),se(re(Lt),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=l=>t.value=l),src:[re(lo),re(Ql)],"initial-index":1},null,8,["modelValue","src"])])]),Q("div",uf,[af,Q("div",df,[Q("button",{class:"button",onClick:o},"点击查看预览界面-没有切换按钮"),se(re(Lt),{modelValue:n.value,"onUpdate:modelValue":i[1]||(i[1]=l=>n.value=l),src:[re(lo)]},null,8,["modelValue","src"])])])])]))}}),pf=Yl(hf);pf.mount("#app"); diff --git a/assets/logo-CPmPqqKk.png b/assets/logo-CPmPqqKk.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/assets/logo-CPmPqqKk.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..cfa732c --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite App + + + + +
+ +