diff --git a/1.mp4 b/1.mp4 new file mode 100644 index 0000000..e1af905 Binary files /dev/null and b/1.mp4 differ diff --git a/1.png b/1.png new file mode 100644 index 0000000..0fb7cfb Binary files /dev/null and b/1.png differ diff --git a/assets/index-C7mqQ9dk.js b/assets/index-C7mqQ9dk.js new file mode 100644 index 0000000..ec44e24 --- /dev/null +++ b/assets/index-C7mqQ9dk.js @@ -0,0 +1,17 @@ +var _i=Object.defineProperty;var xi=(e,t,s)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var U=(e,t,s)=>(xi(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function gs(e,t){const s=new Set(e.split(","));return t?n=>s.has(n.toLowerCase()):n=>s.has(n)}const D={},We=[],oe=()=>{},bi=()=>!1,Pt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),z=Object.assign,_s=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},yi=Object.prototype.hasOwnProperty,R=(e,t)=>yi.call(e,t),S=Array.isArray,ke=e=>At(e)==="[object Map]",vi=e=>At(e)==="[object Set]",P=e=>typeof e=="function",J=e=>typeof e=="string",ft=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",En=e=>(K(e)||P(e))&&P(e.then)&&P(e.catch),wi=Object.prototype.toString,At=e=>wi.call(e),Ei=e=>At(e).slice(8,-1),Ci=e=>At(e)==="[object Object]",xs=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,et=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ti=/-(\w)/g,Ge=Rt(e=>e.replace(Ti,(t,s)=>s?s.toUpperCase():"")),Ii=/\B([A-Z])/g,Je=Rt(e=>e.replace(Ii,"-$1").toLowerCase()),Cn=Rt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gt=Rt(e=>e?`on${Cn(e)}`:""),Ve=(e,t)=>!Object.is(e,t),zt=(e,t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Oi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qs;const In=()=>qs||(qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bs(e){if(S(e)){const t={};for(let s=0;s{if(s){const n=s.split(Pi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ys(e){let t="";if(J(e))t=e;else if(S(e))for(let s=0;s=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Re()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Se,s=je;try{return Se=!0,je=this,this._runnings++,Gs(this),this.fn()}finally{zs(this),this._runnings--,je=s,Se=t}}stop(){var t;this.active&&(Gs(this),zs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Hi(e){return e.value}function Gs(e){e._trackId++,e._depsLength=0}function zs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const s=new Map;return s.cleanup=e,s.computed=t,s},rs=new WeakMap,De=Symbol(""),os=Symbol("");function te(e,t,s){if(Se&&je){let n=rs.get(e);n||rs.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=Fn(()=>n.delete(s))),An(je,i)}}function we(e,t,s,n,i,r){const l=rs.get(e);if(!l)return;let f=[];if(t==="clear")f=[...l.values()];else if(s==="length"&&S(e)){const u=Number(n);l.forEach((h,d)=>{(d==="length"||!ft(d)&&d>=u)&&f.push(h)})}else switch(s!==void 0&&f.push(l.get(s)),t){case"add":S(e)?xs(s)&&f.push(l.get("length")):(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"delete":S(e)||(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"set":ke(e)&&f.push(l.get(De));break}ws();for(const u of f)u&&Rn(u,4);Es()}const ji=gs("__proto__,__v_isRef,__isVue"),Mn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft)),Js=Di();function Di(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=N(this);for(let r=0,l=this.length;r{e[t]=function(...s){Ae(),ws();const n=N(this)[t].apply(this,s);return Es(),Re(),n}}),e}function Vi(e){ft(e)||(e=String(e));const t=N(this);return te(t,"has",e),t.hasOwnProperty(e)}class Ln{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?ki:jn:r?Hn:$n).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=S(t);if(!i){if(l&&R(Js,s))return Reflect.get(Js,s,n);if(s==="hasOwnProperty")return Vi}const f=Reflect.get(t,s,n);return(ft(s)?Mn.has(s):ji(s))||(i||te(t,"get",s),r)?f:ie(f)?l&&xs(s)?f:f.value:K(f)?i?Dn(f):Is(f):f}}class Nn extends Ln{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];if(!this._isShallow){const u=Tt(r);if(!ls(n)&&!Tt(n)&&(r=N(r),n=N(n)),!S(t)&&ie(r)&&!ie(n))return u?!1:(r.value=n,!0)}const l=S(t)&&xs(s)?Number(s)e,Ft=e=>Reflect.getPrototypeOf(e);function gt(e,t,s=!1,n=!1){e=e.__v_raw;const i=N(e),r=N(t);s||(Ve(t,r)&&te(i,"get",t),te(i,"get",r));const{has:l}=Ft(i),f=n?Cs:s?Ps:Ss;if(l.call(i,t))return f(e.get(t));if(l.call(i,r))return f(e.get(r));e!==i&&e.get(t)}function mt(e,t=!1){const s=this.__v_raw,n=N(s),i=N(e);return t||(Ve(e,i)&&te(n,"has",e),te(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function _t(e,t=!1){return e=e.__v_raw,!t&&te(N(e),"iterate",De),Reflect.get(e,"size",e)}function Ys(e){e=N(e);const t=N(this);return Ft(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function Xs(e,t){t=N(t);const s=N(this),{has:n,get:i}=Ft(s);let r=n.call(s,e);r||(e=N(e),r=n.call(s,e));const l=i.call(s,e);return s.set(e,t),r?Ve(t,l)&&we(s,"set",e,t):we(s,"add",e,t),this}function Zs(e){const t=N(this),{has:s,get:n}=Ft(t);let i=s.call(t,e);i||(e=N(e),i=s.call(t,e)),n&&n.call(t,e);const r=t.delete(e);return i&&we(t,"delete",e,void 0),r}function Qs(){const e=N(this),t=e.size!==0,s=e.clear();return t&&we(e,"clear",void 0,void 0),s}function xt(e,t){return function(n,i){const r=this,l=r.__v_raw,f=N(l),u=t?Cs:e?Ps:Ss;return!e&&te(f,"iterate",De),l.forEach((h,d)=>n.call(i,u(h),u(d),r))}}function bt(e,t,s){return function(...n){const i=this.__v_raw,r=N(i),l=ke(r),f=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,h=i[e](...n),d=s?Cs:t?Ps:Ss;return!t&&te(r,"iterate",u?os:De),{next(){const{value:y,done:E}=h.next();return E?{value:y,done:E}:{value:f?[d(y[0]),d(y[1])]:d(y),done:E}},[Symbol.iterator](){return this}}}}function Ce(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qi(){const e={get(r){return gt(this,r)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!1)},t={get(r){return gt(this,r,!1,!0)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!0)},s={get(r){return gt(this,r,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!1)},n={get(r){return gt(this,r,!0,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=bt(r,!1,!1),s[r]=bt(r,!0,!1),t[r]=bt(r,!1,!0),n[r]=bt(r,!0,!0)}),[e,s,t,n]}const[Gi,zi,Ji,Yi]=qi();function Ts(e,t){const s=t?e?Yi:Ji:e?zi:Gi;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(R(s,i)&&i in n?s:n,i,r)}const Xi={get:Ts(!1,!1)},Zi={get:Ts(!1,!0)},Qi={get:Ts(!0,!1)};const $n=new WeakMap,Hn=new WeakMap,jn=new WeakMap,ki=new WeakMap;function er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tr(e){return e.__v_skip||!Object.isExtensible(e)?0:er(Ei(e))}function Is(e){return Tt(e)?e:Os(e,!1,Bi,Xi,$n)}function sr(e){return Os(e,!1,Wi,Zi,Hn)}function Dn(e){return Os(e,!0,Ki,Qi,jn)}function Os(e,t,s,n,i){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=tr(e);if(l===0)return e;const f=new Proxy(e,l===2?n:s);return i.set(e,f),f}function tt(e){return Tt(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function Vn(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function nr(e){return Object.isExtensible(e)&&Tn(e,"__v_skip",!0),e}const Ss=e=>K(e)?Is(e):e,Ps=e=>K(e)?Dn(e):e;class Un{constructor(t,s,n,i){this.getter=t,this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vs(()=>t(this._value),()=>Jt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=N(this);return(!t._cacheable||t.effect.dirty)&&Ve(t._value,t._value=t.effect.run())&&Jt(t,4),rr(t),t.effect._dirtyLevel>=2&&Jt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ir(e,t,s=!1){let n,i;const r=P(e);return r?(n=e,i=oe):(n=e.get,i=e.set),new Un(n,i,r||!i,s)}function rr(e){var t;Se&&je&&(e=N(e),An(je,(t=e.dep)!=null?t:e.dep=Fn(()=>e.dep=void 0,e instanceof Un?e:void 0)))}function Jt(e,t=4,s){e=N(e);const n=e.dep;n&&Rn(n,t)}function ie(e){return!!(e&&e.__v_isRef===!0)}function or(e){return ie(e)?e.value:e}const lr={get:(e,t,s)=>or(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ie(i)&&!ie(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Bn(e){return tt(e)?e:new Proxy(e,lr)}/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Pe(e,t,s,n){try{return n?e(...n):e()}catch(i){Mt(i,t,s)}}function ue(e,t,s,n){if(P(e)){const i=Pe(e,t,s,n);return i&&En(i)&&i.catch(r=>{Mt(r,t,s)}),i}if(S(e)){const i=[];for(let r=0;r>>1,i=X[n],r=ot(i);r_e&&X.splice(t,1)}function hr(e){S(e)?qe.push(...e):(!Te||!Te.includes(e,e.allowRecurse?He+1:He))&&qe.push(e),Wn()}function ks(e,t,s=rt?_e+1:0){for(;sot(s)-ot(n));if(qe.length=0,Te){Te.push(...t);return}for(Te=t,He=0;Hee.id==null?1/0:e.id,dr=(e,t)=>{const s=ot(e)-ot(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Gn(e){cs=!1,rt=!0,X.sort(dr);try{for(_e=0;_eJ(O)?O.trim():O)),y&&(i=s.map(Oi))}let f,u=n[f=Gt(t)]||n[f=Gt(Ge(t))];!u&&r&&(u=n[f=Gt(Je(t))]),u&&ue(u,e,6,i);const h=n[f+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,ue(h,e,6,i)}}function zn(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},f=!1;if(!P(e)){const u=h=>{const d=zn(h,t,!0);d&&(f=!0,z(l,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!f?(K(e)&&n.set(e,null),null):(S(r)?r.forEach(u=>l[u]=null):z(l,r),K(e)&&n.set(e,l),l)}function Lt(e,t){return!e||!Pt(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,Je(t))||R(e,t))}let xe=null,Jn=null;function It(e){const t=xe;return xe=e,Jn=e&&e.type.__scopeId||null,t}function gr(e,t=xe,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&un(-1);const r=It(t);let l;try{l=e(...i)}finally{It(r),n._d&&un(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Yt(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:l,attrs:f,emit:u,render:h,renderCache:d,props:y,data:E,setupState:O,ctx:B,inheritAttrs:M}=e,se=It(e);let W,Y;try{if(s.shapeFlag&4){const q=i||n,re=q;W=me(h.call(re,q,d,y,O,E,B)),Y=f}else{const q=t;W=me(q.length>1?q(y,{attrs:f,slots:l,emit:u}):q(y,null)),Y=t.props?f:mr(f)}}catch(q){it.length=0,Mt(q,e,1),W=be(lt)}let $=W;if(Y&&M!==!1){const q=Object.keys(Y),{shapeFlag:re}=$;q.length&&re&7&&(r&&q.some(ms)&&(Y=_r(Y,r)),$=ze($,Y))}return s.dirs&&($=ze($),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&($.transition=s.transition),W=$,It(se),W}const mr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Pt(s))&&((t||(t={}))[s]=e[s]);return t},_r=(e,t)=>{const s={};for(const n in e)(!ms(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function xr(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:f,patchFlag:u}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?en(n,l,h):!!l;if(u&8){const d=t.dynamicProps;for(let y=0;ye.__isSuspense;function wr(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):hr(e)}const Er=Symbol.for("v-scx"),Cr=()=>wt(Er),yt={};function Xt(e,t,s){return Yn(e,t,s)}function Yn(e,t,{immediate:s,deep:n,flush:i,once:r,onTrack:l,onTrigger:f}=D){if(t&&r){const F=t;t=(...ye)=>{F(...ye),re()}}const u=k,h=F=>n===!0?F:Ke(F,n===!1?1:void 0);let d,y=!1,E=!1;if(ie(e)?(d=()=>e.value,y=ls(e)):tt(e)?(d=()=>h(e),y=!0):S(e)?(E=!0,y=e.some(F=>tt(F)||ls(F)),d=()=>e.map(F=>{if(ie(F))return F.value;if(tt(F))return h(F);if(P(F))return Pe(F,u,2)})):P(e)?t?d=()=>Pe(e,u,2):d=()=>(O&&O(),ue(e,u,3,[B])):d=oe,t&&n){const F=d;d=()=>Ke(F())}let O,B=F=>{O=$.onStop=()=>{Pe(F,u,4),O=$.onStop=void 0}},M;if(Vt)if(B=oe,t?s&&ue(t,u,3,[d(),E?[]:void 0,B]):d(),i==="sync"){const F=Cr();M=F.__watcherHandles||(F.__watcherHandles=[])}else return oe;let se=E?new Array(e.length).fill(yt):yt;const W=()=>{if(!(!$.active||!$.dirty))if(t){const F=$.run();(n||y||(E?F.some((ye,ae)=>Ve(ye,se[ae])):Ve(F,se)))&&(O&&O(),ue(t,u,3,[F,se===yt?void 0:E&&se[0]===yt?[]:se,B]),se=F)}else $.run()};W.allowRecurse=!!t;let Y;i==="sync"?Y=W:i==="post"?Y=()=>ee(W,u&&u.suspense):(W.pre=!0,u&&(W.id=u.uid),Y=()=>Rs(W));const $=new vs(d,oe,Y),q=$i(),re=()=>{$.stop(),q&&_s(q.effects,$)};return t?s?W():se=$.run():i==="post"?ee($.run.bind($),u&&u.suspense):$.run(),M&&M.push(re),re}function Tr(e,t,s){const n=this.proxy,i=J(e)?e.includes(".")?Xn(n,e):()=>n[e]:e.bind(n,n);let r;P(t)?r=t:(r=t.handler,s=t);const l=ut(this),f=Yn(i,r.bind(n),s);return l(),f}function Xn(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i0){if(s>=t)return e;s++}if(n=n||new Set,n.has(e))return e;if(n.add(e),ie(e))Ke(e.value,t,s,n);else if(S(e))for(let i=0;i{Ke(i,t,s,n)});else if(Ci(e))for(const i in e)Ke(e[i],t,s,n);return e}function Ne(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l!!e.type.__asyncLoader,Zn=e=>e.type.__isKeepAlive;function Ir(e,t){Qn(e,"a",t)}function Or(e,t){Qn(e,"da",t)}function Qn(e,t,s=k){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Nt(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Zn(i.parent.vnode)&&Sr(n,t,s,i),i=i.parent}}function Sr(e,t,s,n){const i=Nt(t,e,n,!0);kn(()=>{_s(n[t],i)},s)}function Nt(e,t,s=k,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(s.isUnmounted)return;Ae();const f=ut(s),u=ue(t,s,e,l);return f(),Re(),u});return n?i.unshift(r):i.push(r),r}}const Ee=e=>(t,s=k)=>(!Vt||e==="sp")&&Nt(e,(...n)=>t(...n),s),Pr=Ee("bm"),$t=Ee("m"),Ar=Ee("bu"),Rr=Ee("u"),Fr=Ee("bum"),kn=Ee("um"),Mr=Ee("sp"),Lr=Ee("rtg"),Nr=Ee("rtc");function $r(e,t=k){Nt("ec",e,t)}const fs=e=>e?di(e)?$s(e)||e.proxy:fs(e.parent):null,st=z(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=>fs(e.parent),$root:e=>fs(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Rs(e.update)}),$nextTick:e=>e.n||(e.n=fr.bind(e.proxy)),$watch:e=>Tr.bind(e)}),Zt=(e,t)=>e!==D&&!e.__isScriptSetup&&R(e,t),Hr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:f,appContext:u}=e;let h;if(t[0]!=="$"){const O=l[t];if(O!==void 0)switch(O){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Zt(n,t))return l[t]=1,n[t];if(i!==D&&R(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&R(h,t))return l[t]=3,r[t];if(s!==D&&R(s,t))return l[t]=4,s[t];us&&(l[t]=0)}}const d=st[t];let y,E;if(d)return t==="$attrs"&&te(e.attrs,"get",""),d(e);if((y=f.__cssModules)&&(y=y[t]))return y;if(s!==D&&R(s,t))return l[t]=4,s[t];if(E=u.config.globalProperties,R(E,t))return E[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Zt(i,t)?(i[t]=s,!0):n!==D&&R(n,t)?(n[t]=s,!0):R(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},l){let f;return!!s[l]||e!==D&&R(e,l)||Zt(t,l)||(f=r[0])&&R(f,l)||R(n,l)||R(st,l)||R(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:R(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function tn(e){return S(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let us=!0;function jr(e){const t=Fs(e),s=e.proxy,n=e.ctx;us=!1,t.beforeCreate&&sn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:f,provide:u,inject:h,created:d,beforeMount:y,mounted:E,beforeUpdate:O,updated:B,activated:M,deactivated:se,beforeDestroy:W,beforeUnmount:Y,destroyed:$,unmounted:q,render:re,renderTracked:F,renderTriggered:ye,errorCaptured:ae,serverPrefetch:Ut,expose:Fe,inheritAttrs:Ye,components:at,directives:ht,filters:Bt}=t;if(h&&Dr(h,n,null),l)for(const V in l){const H=l[V];P(H)&&(n[V]=H.bind(s))}if(i){const V=i.call(s,s);K(V)&&(e.data=Is(V))}if(us=!0,r)for(const V in r){const H=r[V],Me=P(H)?H.bind(s,s):P(H.get)?H.get.bind(s,s):oe,dt=!P(H)&&P(H.set)?H.set.bind(s):oe,Le=xo({get:Me,set:dt});Object.defineProperty(n,V,{enumerable:!0,configurable:!0,get:()=>Le.value,set:he=>Le.value=he})}if(f)for(const V in f)ei(f[V],n,s,V);if(u){const V=P(u)?u.call(s):u;Reflect.ownKeys(V).forEach(H=>{qr(H,V[H])})}d&&sn(d,e,"c");function Z(V,H){S(H)?H.forEach(Me=>V(Me.bind(s))):H&&V(H.bind(s))}if(Z(Pr,y),Z($t,E),Z(Ar,O),Z(Rr,B),Z(Ir,M),Z(Or,se),Z($r,ae),Z(Nr,F),Z(Lr,ye),Z(Fr,Y),Z(kn,q),Z(Mr,Ut),S(Fe))if(Fe.length){const V=e.exposed||(e.exposed={});Fe.forEach(H=>{Object.defineProperty(V,H,{get:()=>s[H],set:Me=>s[H]=Me})})}else e.exposed||(e.exposed={});re&&e.render===oe&&(e.render=re),Ye!=null&&(e.inheritAttrs=Ye),at&&(e.components=at),ht&&(e.directives=ht)}function Dr(e,t,s=oe){S(e)&&(e=as(e));for(const n in e){const i=e[n];let r;K(i)?"default"in i?r=wt(i.from||n,i.default,!0):r=wt(i.from||n):r=wt(i),ie(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[n]=r}}function sn(e,t,s){ue(S(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ei(e,t,s,n){const i=n.includes(".")?Xn(s,n):()=>s[n];if(J(e)){const r=t[e];P(r)&&Xt(i,r)}else if(P(e))Xt(i,e.bind(s));else if(K(e))if(S(e))e.forEach(r=>ei(r,t,s,n));else{const r=P(e.handler)?e.handler.bind(s):t[e.handler];P(r)&&Xt(i,r,e)}}function Fs(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,f=r.get(t);let u;return f?u=f:!i.length&&!s&&!n?u=t:(u={},i.length&&i.forEach(h=>Ot(u,h,l,!0)),Ot(u,t,l)),K(t)&&r.set(t,u),u}function Ot(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Ot(e,r,s,!0),i&&i.forEach(l=>Ot(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const f=Vr[l]||s&&s[l];e[l]=f?f(e[l],t[l]):t[l]}return e}const Vr={data:nn,props:rn,emits:rn,methods:Qe,computed:Qe,beforeCreate:Q,created:Q,beforeMount:Q,mounted:Q,beforeUpdate:Q,updated:Q,beforeDestroy:Q,beforeUnmount:Q,destroyed:Q,unmounted:Q,activated:Q,deactivated:Q,errorCaptured:Q,serverPrefetch:Q,components:Qe,directives:Qe,watch:Br,provide:nn,inject:Ur};function nn(e,t){return t?e?function(){return z(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ur(e,t){return Qe(as(e),as(t))}function as(e){if(S(e)){const t={};for(let s=0;s1)return s&&P(t)?t.call(n&&n.proxy):t}}const si={},ni=()=>Object.create(si),ii=e=>Object.getPrototypeOf(e)===si;function Gr(e,t,s,n=!1){const i={},r=ni();e.propsDefaults=Object.create(null),ri(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:sr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function zr(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,f=N(i),[u]=e.propsOptions;let h=!1;if((n||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[E,O]=oi(y,t,!0);z(l,E),O&&f.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return K(e)&&n.set(e,We),We;if(S(r))for(let d=0;d-1,O[1]=M<0||B-1||R(O,"default"))&&f.push(y)}}}const h=[l,f];return K(e)&&n.set(e,h),h}function on(e){return e[0]!=="$"&&!et(e)}function ln(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cn(e,t){return ln(e)===ln(t)}function fn(e,t){return S(t)?t.findIndex(s=>cn(s,e)):P(t)&&cn(t,e)?0:-1}const li=e=>e[0]==="_"||e==="$stable",Ms=e=>S(e)?e.map(me):[me(e)],Jr=(e,t,s)=>{if(t._n)return t;const n=gr((...i)=>Ms(t(...i)),s);return n._c=!1,n},ci=(e,t,s)=>{const n=e._ctx;for(const i in e){if(li(i))continue;const r=e[i];if(P(r))t[i]=Jr(i,r,n);else if(r!=null){const l=Ms(r);t[i]=()=>l}}},fi=(e,t)=>{const s=Ms(t);e.slots.default=()=>s},Yr=(e,t)=>{const s=e.slots=ni();if(e.vnode.shapeFlag&32){const n=t._;n?(z(s,t),Tn(s,"_",n)):ci(t,s)}else t&&fi(e,t)},Xr=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=D;if(n.shapeFlag&32){const f=t._;f?s&&f===1?r=!1:(z(i,t),!s&&f===1&&delete i._):(r=!t.$stable,ci(t,i)),l=t}else t&&(fi(e,t),l={default:1});if(r)for(const f in i)!li(f)&&l[f]==null&&delete i[f]};function ds(e,t,s,n,i=!1){if(S(e)){e.forEach((E,O)=>ds(E,t&&(S(t)?t[O]:t),s,n,i));return}if(vt(n)&&!i)return;const r=n.shapeFlag&4?$s(n.component)||n.component.proxy:n.el,l=i?null:r,{i:f,r:u}=e,h=t&&t.r,d=f.refs===D?f.refs={}:f.refs,y=f.setupState;if(h!=null&&h!==u&&(J(h)?(d[h]=null,R(y,h)&&(y[h]=null)):ie(h)&&(h.value=null)),P(u))Pe(u,f,12,[l,d]);else{const E=J(u),O=ie(u);if(E||O){const B=()=>{if(e.f){const M=E?R(y,u)?y[u]:d[u]:u.value;i?S(M)&&_s(M,r):S(M)?M.includes(r)||M.push(r):E?(d[u]=[r],R(y,u)&&(y[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else E?(d[u]=l,R(y,u)&&(y[u]=l)):O&&(u.value=l,e.k&&(d[e.k]=l))};l?(B.id=-1,ee(B,s)):B()}}}const ee=wr;function Zr(e){return Qr(e)}function Qr(e,t){const s=In();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:f,createComment:u,setText:h,setElementText:d,parentNode:y,nextSibling:E,setScopeId:O=oe,insertStaticContent:B}=e,M=(o,c,a,p=null,g=null,x=null,v=void 0,_=null,b=!!c.dynamicChildren)=>{if(o===c)return;o&&!Ze(o,c)&&(p=pt(o),he(o,g,x,!0),o=null),c.patchFlag===-2&&(b=!1,c.dynamicChildren=null);const{type:m,ref:w,shapeFlag:T}=c;switch(m){case Ht:se(o,c,a,p);break;case lt:W(o,c,a,p);break;case kt:o==null&&Y(c,a,p,v);break;case ge:at(o,c,a,p,g,x,v,_,b);break;default:T&1?re(o,c,a,p,g,x,v,_,b):T&6?ht(o,c,a,p,g,x,v,_,b):(T&64||T&128)&&m.process(o,c,a,p,g,x,v,_,b,Ue)}w!=null&&g&&ds(w,o&&o.ref,x,c||o,!c)},se=(o,c,a,p)=>{if(o==null)n(c.el=f(c.children),a,p);else{const g=c.el=o.el;c.children!==o.children&&h(g,c.children)}},W=(o,c,a,p)=>{o==null?n(c.el=u(c.children||""),a,p):c.el=o.el},Y=(o,c,a,p)=>{[o.el,o.anchor]=B(o.children,c,a,p,o.el,o.anchor)},$=({el:o,anchor:c},a,p)=>{let g;for(;o&&o!==c;)g=E(o),n(o,a,p),o=g;n(c,a,p)},q=({el:o,anchor:c})=>{let a;for(;o&&o!==c;)a=E(o),i(o),o=a;i(c)},re=(o,c,a,p,g,x,v,_,b)=>{c.type==="svg"?v="svg":c.type==="math"&&(v="mathml"),o==null?F(c,a,p,g,x,v,_,b):Ut(o,c,g,x,v,_,b)},F=(o,c,a,p,g,x,v,_)=>{let b,m;const{props:w,shapeFlag:T,transition:C,dirs:I}=o;if(b=o.el=l(o.type,x,w&&w.is,w),T&8?d(b,o.children):T&16&&ae(o.children,b,null,p,g,Qt(o,x),v,_),I&&Ne(o,null,p,"created"),ye(b,o,o.scopeId,v,p),w){for(const L in w)L!=="value"&&!et(L)&&r(b,L,null,w[L],x,o.children,p,g,ve);"value"in w&&r(b,"value",null,w.value,x),(m=w.onVnodeBeforeMount)&&pe(m,p,o)}I&&Ne(o,null,p,"beforeMount");const A=kr(g,C);A&&C.beforeEnter(b),n(b,c,a),((m=w&&w.onVnodeMounted)||A||I)&&ee(()=>{m&&pe(m,p,o),A&&C.enter(b),I&&Ne(o,null,p,"mounted")},g)},ye=(o,c,a,p,g)=>{if(a&&O(o,a),p)for(let x=0;x{for(let m=b;m{const _=c.el=o.el;let{patchFlag:b,dynamicChildren:m,dirs:w}=c;b|=o.patchFlag&16;const T=o.props||D,C=c.props||D;let I;if(a&&$e(a,!1),(I=C.onVnodeBeforeUpdate)&&pe(I,a,c,o),w&&Ne(c,o,a,"beforeUpdate"),a&&$e(a,!0),m?Fe(o.dynamicChildren,m,_,a,p,Qt(c,g),x):v||H(o,c,_,null,a,p,Qt(c,g),x,!1),b>0){if(b&16)Ye(_,c,T,C,a,p,g);else if(b&2&&T.class!==C.class&&r(_,"class",null,C.class,g),b&4&&r(_,"style",T.style,C.style,g),b&8){const A=c.dynamicProps;for(let L=0;L{I&&pe(I,a,c,o),w&&Ne(c,o,a,"updated")},p)},Fe=(o,c,a,p,g,x,v)=>{for(let _=0;_{if(a!==p){if(a!==D)for(const _ in a)!et(_)&&!(_ in p)&&r(o,_,a[_],null,v,c.children,g,x,ve);for(const _ in p){if(et(_))continue;const b=p[_],m=a[_];b!==m&&_!=="value"&&r(o,_,m,b,v,c.children,g,x,ve)}"value"in p&&r(o,"value",a.value,p.value,v)}},at=(o,c,a,p,g,x,v,_,b)=>{const m=c.el=o?o.el:f(""),w=c.anchor=o?o.anchor:f("");let{patchFlag:T,dynamicChildren:C,slotScopeIds:I}=c;I&&(_=_?_.concat(I):I),o==null?(n(m,a,p),n(w,a,p),ae(c.children||[],a,w,g,x,v,_,b)):T>0&&T&64&&C&&o.dynamicChildren?(Fe(o.dynamicChildren,C,a,g,x,v,_),(c.key!=null||g&&c===g.subTree)&&ui(o,c,!0)):H(o,c,a,w,g,x,v,_,b)},ht=(o,c,a,p,g,x,v,_,b)=>{c.slotScopeIds=_,o==null?c.shapeFlag&512?g.ctx.activate(c,a,p,v,b):Bt(c,a,p,g,x,v,b):Ds(o,c,b)},Bt=(o,c,a,p,g,x,v)=>{const _=o.component=ao(o,p,g);if(Zn(o)&&(_.ctx.renderer=Ue),ho(_),_.asyncDep){if(g&&g.registerDep(_,Z),!o.el){const b=_.subTree=be(lt);W(null,b,c,a)}}else Z(_,o,c,a,g,x,v)},Ds=(o,c,a)=>{const p=c.component=o.component;if(xr(o,c,a))if(p.asyncDep&&!p.asyncResolved){V(p,c,a);return}else p.next=c,ar(p.update),p.effect.dirty=!0,p.update();else c.el=o.el,p.vnode=c},Z=(o,c,a,p,g,x,v)=>{const _=()=>{if(o.isMounted){let{next:w,bu:T,u:C,parent:I,vnode:A}=o;{const Be=ai(o);if(Be){w&&(w.el=A.el,V(o,w,v)),Be.asyncDep.then(()=>{o.isUnmounted||_()});return}}let L=w,j;$e(o,!1),w?(w.el=A.el,V(o,w,v)):w=A,T&&zt(T),(j=w.props&&w.props.onVnodeBeforeUpdate)&&pe(j,I,w,A),$e(o,!0);const G=Yt(o),le=o.subTree;o.subTree=G,M(le,G,y(le.el),pt(le),o,g,x),w.el=G.el,L===null&&br(o,G.el),C&&ee(C,g),(j=w.props&&w.props.onVnodeUpdated)&&ee(()=>pe(j,I,w,A),g)}else{let w;const{el:T,props:C}=c,{bm:I,m:A,parent:L}=o,j=vt(c);if($e(o,!1),I&&zt(I),!j&&(w=C&&C.onVnodeBeforeMount)&&pe(w,L,c),$e(o,!0),T&&qt){const G=()=>{o.subTree=Yt(o),qt(T,o.subTree,o,g,null)};j?c.type.__asyncLoader().then(()=>!o.isUnmounted&&G()):G()}else{const G=o.subTree=Yt(o);M(null,G,a,p,o,g,x),c.el=G.el}if(A&&ee(A,g),!j&&(w=C&&C.onVnodeMounted)){const G=c;ee(()=>pe(w,L,G),g)}(c.shapeFlag&256||L&&vt(L.vnode)&&L.vnode.shapeFlag&256)&&o.a&&ee(o.a,g),o.isMounted=!0,c=a=p=null}},b=o.effect=new vs(_,oe,()=>Rs(m),o.scope),m=o.update=()=>{b.dirty&&b.run()};m.id=o.uid,$e(o,!0),m()},V=(o,c,a)=>{c.component=o;const p=o.vnode.props;o.vnode=c,o.next=null,zr(o,c.props,p,a),Xr(o,c.children,a),Ae(),ks(o),Re()},H=(o,c,a,p,g,x,v,_,b=!1)=>{const m=o&&o.children,w=o?o.shapeFlag:0,T=c.children,{patchFlag:C,shapeFlag:I}=c;if(C>0){if(C&128){dt(m,T,a,p,g,x,v,_,b);return}else if(C&256){Me(m,T,a,p,g,x,v,_,b);return}}I&8?(w&16&&ve(m,g,x),T!==m&&d(a,T)):w&16?I&16?dt(m,T,a,p,g,x,v,_,b):ve(m,g,x,!0):(w&8&&d(a,""),I&16&&ae(T,a,p,g,x,v,_,b))},Me=(o,c,a,p,g,x,v,_,b)=>{o=o||We,c=c||We;const m=o.length,w=c.length,T=Math.min(m,w);let C;for(C=0;Cw?ve(o,g,x,!0,!1,T):ae(c,a,p,g,x,v,_,b,T)},dt=(o,c,a,p,g,x,v,_,b)=>{let m=0;const w=c.length;let T=o.length-1,C=w-1;for(;m<=T&&m<=C;){const I=o[m],A=c[m]=b?Ie(c[m]):me(c[m]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;m++}for(;m<=T&&m<=C;){const I=o[T],A=c[C]=b?Ie(c[C]):me(c[C]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;T--,C--}if(m>T){if(m<=C){const I=C+1,A=IC)for(;m<=T;)he(o[m],g,x,!0),m++;else{const I=m,A=m,L=new Map;for(m=A;m<=C;m++){const ne=c[m]=b?Ie(c[m]):me(c[m]);ne.key!=null&&L.set(ne.key,m)}let j,G=0;const le=C-A+1;let Be=!1,Bs=0;const Xe=new Array(le);for(m=0;m=le){he(ne,g,x,!0);continue}let de;if(ne.key!=null)de=L.get(ne.key);else for(j=A;j<=C;j++)if(Xe[j-A]===0&&Ze(ne,c[j])){de=j;break}de===void 0?he(ne,g,x,!0):(Xe[de-A]=m+1,de>=Bs?Bs=de:Be=!0,M(ne,c[de],a,null,g,x,v,_,b),G++)}const Ks=Be?eo(Xe):We;for(j=Ks.length-1,m=le-1;m>=0;m--){const ne=A+m,de=c[ne],Ws=ne+1{const{el:x,type:v,transition:_,children:b,shapeFlag:m}=o;if(m&6){Le(o.component.subTree,c,a,p);return}if(m&128){o.suspense.move(c,a,p);return}if(m&64){v.move(o,c,a,Ue);return}if(v===ge){n(x,c,a);for(let T=0;T_.enter(x),g);else{const{leave:T,delayLeave:C,afterLeave:I}=_,A=()=>n(x,c,a),L=()=>{T(x,()=>{A(),I&&I()})};C?C(x,A,L):L()}else n(x,c,a)},he=(o,c,a,p=!1,g=!1)=>{const{type:x,props:v,ref:_,children:b,dynamicChildren:m,shapeFlag:w,patchFlag:T,dirs:C}=o;if(_!=null&&ds(_,null,a,o,!0),w&256){c.ctx.deactivate(o);return}const I=w&1&&C,A=!vt(o);let L;if(A&&(L=v&&v.onVnodeBeforeUnmount)&&pe(L,c,o),w&6)mi(o.component,a,p);else{if(w&128){o.suspense.unmount(a,p);return}I&&Ne(o,null,c,"beforeUnmount"),w&64?o.type.remove(o,c,a,g,Ue,p):m&&(x!==ge||T>0&&T&64)?ve(m,c,a,!1,!0):(x===ge&&T&384||!g&&w&16)&&ve(b,c,a),p&&Vs(o)}(A&&(L=v&&v.onVnodeUnmounted)||I)&&ee(()=>{L&&pe(L,c,o),I&&Ne(o,null,c,"unmounted")},a)},Vs=o=>{const{type:c,el:a,anchor:p,transition:g}=o;if(c===ge){gi(a,p);return}if(c===kt){q(o);return}const x=()=>{i(a),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(o.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:_}=g,b=()=>v(a,x);_?_(o.el,x,b):b()}else x()},gi=(o,c)=>{let a;for(;o!==c;)a=E(o),i(o),o=a;i(c)},mi=(o,c,a)=>{const{bum:p,scope:g,update:x,subTree:v,um:_}=o;p&&zt(p),g.stop(),x&&(x.active=!1,he(v,o,c,a)),_&&ee(_,c),ee(()=>{o.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},ve=(o,c,a,p=!1,g=!1,x=0)=>{for(let v=x;vo.shapeFlag&6?pt(o.component.subTree):o.shapeFlag&128?o.suspense.next():E(o.anchor||o.el);let Kt=!1;const Us=(o,c,a)=>{o==null?c._vnode&&he(c._vnode,null,null,!0):M(c._vnode||null,o,c,null,null,null,a),Kt||(Kt=!0,ks(),qn(),Kt=!1),c._vnode=o},Ue={p:M,um:he,m:Le,r:Vs,mt:Bt,mc:ae,pc:H,pbc:Fe,n:pt,o:e};let Wt,qt;return t&&([Wt,qt]=t(Ue)),{render:Us,hydrate:Wt,createApp:Wr(Us,Wt)}}function Qt({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function $e({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ui(e,t,s=!1){const n=e.children,i=t.children;if(S(n)&&S(i))for(let r=0;r>1,e[s[f]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}function ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ai(t)}const to=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),Ht=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),it=[];let fe=null;function jt(e=!1){it.push(fe=e?null:[])}function so(){it.pop(),fe=it[it.length-1]||null}let ct=1;function un(e){ct+=e}function no(e){return e.dynamicChildren=ct>0?fe||We:null,so(),ct>0&&fe&&fe.push(e),e}function Dt(e,t,s,n,i,r){return no(Ls(e,t,s,n,i,r,!0))}function io(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const hi=({key:e})=>e??null,Et=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ie(e)||P(e)?{i:xe,r:e,k:t,f:!!s}:e:null);function Ls(e,t=null,s=null,n=0,i=null,r=e===ge?0:1,l=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&Et(t),scopeId:Jn,slotScopeIds:null,children:s,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return f?(Ns(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=J(s)?8:16),ct>0&&!l&&fe&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&fe.push(u),u}const be=ro;function ro(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===yr)&&(e=lt),io(e)){const f=ze(e,t,!0);return s&&Ns(f,s),ct>0&&!r&&fe&&(f.shapeFlag&6?fe[fe.indexOf(e)]=f:fe.push(f)),f.patchFlag|=-2,f}if(_o(e)&&(e=e.__vccOpts),t){t=oo(t);let{class:f,style:u}=t;f&&!J(f)&&(t.class=ys(f)),K(u)&&(Vn(u)&&!S(u)&&(u=z({},u)),t.style=bs(u))}const l=J(e)?1:vr(e)?128:to(e)?64:K(e)?4:P(e)?2:0;return Ls(e,t,s,n,i,l,r,!0)}function oo(e){return e?Vn(e)||ii(e)?z({},e):e:null}function ze(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,f=t?co(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&hi(f),ref:t&&t.ref?s&&i?S(i)?i.concat(Et(t)):[i,Et(t)]:Et(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ze(e.ssContent),ssFallback:e.ssFallback&&ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function lo(e=" ",t=0){return be(Ht,null,e,t)}function me(e){return e==null||typeof e=="boolean"?be(lt):S(e)?be(ge,null,e.slice()):typeof e=="object"?Ie(e):be(Ht,null,String(e))}function Ie(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ze(e)}function Ns(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(S(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ns(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!ii(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:xe},s=32):(t=String(t),n&64?(s=16,t=[lo(t)]):s=8);e.children=t,e.shapeFlag|=s}function co(...e){const t={};for(let s=0;s{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};St=t("__VUE_INSTANCE_SETTERS__",s=>k=s),ps=t("__VUE_SSR_SETTERS__",s=>Vt=s)}const ut=e=>{const t=k;return St(e),e.scope.on(),()=>{e.scope.off(),St(t)}},an=()=>{k&&k.scope.off(),St(null)};function di(e){return e.vnode.shapeFlag&4}let Vt=!1;function ho(e,t=!1){t&&ps(t);const{props:s,children:n}=e.vnode,i=di(e);Gr(e,s,i,t),Yr(e,n);const r=i?po(e,t):void 0;return t&&ps(!1),r}function po(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hr);const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?mo(e):null,r=ut(e);Ae();const l=Pe(n,e,0,[e.props,i]);if(Re(),r(),En(l)){if(l.then(an,an),t)return l.then(f=>{hn(e,f,t)}).catch(f=>{Mt(f,e,0)});e.asyncDep=l}else hn(e,l,t)}else pi(e,t)}function hn(e,t,s){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=Bn(t)),pi(e,s)}let dn;function pi(e,t,s){const n=e.type;if(!e.render){if(!t&&dn&&!n.render){const i=n.template||Fs(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:f,compilerOptions:u}=n,h=z(z({isCustomElement:r,delimiters:f},l),u);n.render=dn(i,h)}}e.render=n.render||oe}{const i=ut(e);Ae();try{jr(e)}finally{Re(),i()}}}const go={get(e,t){return te(e,"get",""),e[t]}};function mo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,go),slots:e.slots,emit:e.emit,expose:t}}function $s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bn(nr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in st)return st[s](e)},has(t,s){return s in t||s in st}}))}function _o(e){return P(e)&&"__vccOpts"in e}const xo=(e,t)=>ir(e,t,Vt),bo="3.4.25";/** +* @vue/runtime-dom v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const yo="http://www.w3.org/2000/svg",vo="http://www.w3.org/1998/Math/MathML",Oe=typeof document<"u"?document:null,pn=Oe&&Oe.createElement("template"),wo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Oe.createElementNS(yo,e):t==="mathml"?Oe.createElementNS(vo,e):Oe.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Oe.createTextNode(e),createComment:e=>Oe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Oe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{pn.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const f=pn.content;if(n==="svg"||n==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Eo=Symbol("_vtc");function Co(e,t,s){const n=e[Eo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const gn=Symbol("_vod"),To=Symbol("_vsh"),Io=Symbol(""),Oo=/(^|;)\s*display\s*:/;function So(e,t,s){const n=e.style,i=J(s);let r=!1;if(s&&!i){if(t)if(J(t))for(const l of t.split(";")){const f=l.slice(0,l.indexOf(":")).trim();s[f]==null&&Ct(n,f,"")}else for(const l in t)s[l]==null&&Ct(n,l,"");for(const l in s)l==="display"&&(r=!0),Ct(n,l,s[l])}else if(i){if(t!==s){const l=n[Io];l&&(s+=";"+l),n.cssText=s,r=Oo.test(s)}}else t&&e.removeAttribute("style");gn in e&&(e[gn]=r?n.display:"",e[To]&&(n.display="none"))}const mn=/\s*!important$/;function Ct(e,t,s){if(S(s))s.forEach(n=>Ct(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Po(e,t);mn.test(s)?e.setProperty(Je(n),s.replace(mn,""),"important"):e[n]=s}}const _n=["Webkit","Moz","ms"],es={};function Po(e,t){const s=es[t];if(s)return s;let n=Ge(t);if(n!=="filter"&&n in e)return es[t]=n;n=Cn(n);for(let i=0;i<_n.length;i++){const r=_n[i]+n;if(r in e)return es[t]=r}return t}const xn="http://www.w3.org/1999/xlink";function Ao(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(xn,t.slice(6,t.length)):e.setAttributeNS(xn,t,s);else{const r=Mi(t);s==null||r&&!On(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Ro(e,t,s,n,i,r,l){if(t==="innerHTML"||t==="textContent"){n&&l(n,i,r),e[t]=s??"";return}const f=e.tagName;if(t==="value"&&f!=="PROGRESS"&&!f.includes("-")){const h=f==="OPTION"?e.getAttribute("value")||"":e.value,d=s??"";(h!==d||!("_value"in e))&&(e.value=d),s==null&&e.removeAttribute(t),e._value=s;return}let u=!1;if(s===""||s==null){const h=typeof e[t];h==="boolean"?s=On(s):s==null&&h==="string"?(s="",u=!0):h==="number"&&(s=0,u=!0)}try{e[t]=s}catch{}u&&e.removeAttribute(t)}function Fo(e,t,s,n){e.addEventListener(t,s,n)}function Mo(e,t,s,n){e.removeEventListener(t,s,n)}const bn=Symbol("_vei");function Lo(e,t,s,n,i=null){const r=e[bn]||(e[bn]={}),l=r[t];if(n&&l)l.value=n;else{const[f,u]=No(t);if(n){const h=r[t]=jo(n,i);Fo(e,f,h,u)}else l&&(Mo(e,f,l,u),r[t]=void 0)}}const yn=/(?:Once|Passive|Capture)$/;function No(e){let t;if(yn.test(e)){t={};let n;for(;n=e.match(yn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let ts=0;const $o=Promise.resolve(),Ho=()=>ts||($o.then(()=>ts=0),ts=Date.now());function jo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ue(Do(n,s.value),t,5,[n])};return s.value=e,s.attached=Ho(),s}function Do(e,t){if(S(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vo=(e,t,s,n,i,r,l,f,u)=>{const h=i==="svg";t==="class"?Co(e,n,h):t==="style"?So(e,s,n):Pt(t)?ms(t)||Lo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uo(e,t,n,h))?Ro(e,t,n,r,l,f,u):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ao(e,t,n,h))};function Uo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&vn(t)&&P(s));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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return vn(t)&&J(s)?!1:t in e}const Bo=z({patchProp:Vo},wo);let wn;function Ko(){return wn||(wn=Zr(Bo))}const Wo=(...e)=>{const t=Ko().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Go(n);if(!i)return;const r=t._component;!P(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const l=s(i,!1,qo(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function qo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Go(e){return J(e)?document.querySelector(e):e}var zo=class{constructor(e,t,s){U(this,"width");U(this,"height");U(this,"pixels");this.width=e,this.height=t,this.pixels=s}getPixelAt(e,t){const s=t*this.width*4+e*4;return[this.pixels[s],this.pixels[s+1],this.pixels[s+2],+(this.pixels[s+3]/255).toFixed(2)]}},Hs=class{constructor(){U(this,"canvas");U(this,"ctx");U(this,"isInit");this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.isInit=!1}init(){this.isInit||(this.initCanvas(),this.isInit=!0)}getBitmap(){this.init(),this.draw();const{width:e,height:t}=this.canvas,s=this.ctx.getImageData(0,0,e,t).data;return new zo(e,t,s)}},Jo=class extends Hs{constructor(t){super();U(this,"img");U(this,"width");U(this,"height");this.img=t.img,this.width=t.width,this.height=t.height}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.img,0,0,this.img.width,this.img.height,0,0,this.width,this.height)}},Yo=class extends Hs{constructor(t){super();U(this,"option");this.option=t}initCanvas(){this.canvas.width=this.option.text.length*this.option.fontSize,this.canvas.height=this.option.fontSize,this.ctx.font=`bold ${this.option.fontSize}px ${this.option.fontFamily}`,this.ctx.fillStyle="#000",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}draw(){this.ctx.fillText(this.option.text,this.canvas.width/2,this.canvas.height/2)}},Xo=class extends Hs{constructor(t){super();U(this,"video");U(this,"width");U(this,"height");this.video=t.video,this.width=t.width,this.height=t.height,this.video.muted=this.video.loop=!0,this.video.play()}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.video,0,0,this.video.videoWidth,this.video.videoHeight,0,0,this.width,this.height)}};function ss(e){if(e.text)return new Yo(e);if(e.img)return new Jo(e);if(e.video)return new Xo(e);throw new TypeError("invalid source options")}var Zo=class{constructor(e){U(this,"replaceText");U(this,"raduis");U(this,"source");U(this,"isDynamic");U(this,"canvas");U(this,"ctx");U(this,"textIndex");U(this,"isGray");U(this,"raqId");this.replaceText=e.replaceText,this.raduis=e.raduis,this.source=e.source,this.isGray=e.isGray,this.isDynamic=e.isDynamic,this.canvas=e.canvas,this.ctx=this.canvas.getContext("2d"),this.textIndex=0,this.raqId=0,this.initContext()}fps(){this.isDynamic?this.raqId=requestAnimationFrame(()=>{this.draw(),this.fps()}):this.draw()}stop(){cancelAnimationFrame(this.raqId),this.raqId=0}initContext(){this.ctx.font="bold 12px 'Roboto Mono' 'Microsoft YaHei' '微软雅黑' 'sans-serif'",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}drawText(e,t,s){let[n,i,r,l]=s;if(!l)return;this.isGray&&(n=i=r=.2126*n+.7152*i+.0722*r),this.ctx.fillStyle=`rgba(${n},${i},${r},${l})`;const f=this.replaceText[this.textIndex];this.textIndex=(this.textIndex+1)%this.replaceText.length,this.ctx.fillText(f,e,t)}draw(){const e=this.source.getBitmap();this.canvas.width=e.width,this.canvas.height=e.height,this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);for(let t=0;t{const n=new Image;n.onload=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}function el(e){return new Promise((t,s)=>{const n=document.createElement("video");n.oncanplay=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}async function js(e){Qo(e);let t,s={...e};if(e.source.text)s.source=ss({fontFamily:e.source.fontFamily||"Microsoft YaHei",text:e.source.text,fontSize:e.source.fontSize||200});else if(e.source.img){const n=await ko(e.source.img);let i=e.source.width||n.width,r=e.source.height||n.height;e.source.width&&!e.source.height?r=i/n.width*n.height:e.source.height&&!e.source.width&&(i=r/n.height*n.width),s.source=ss({img:n,width:i,height:r})}else if(e.source.video){const n=await el(e.source.video);let i=e.source.width||n.videoWidth,r=e.source.height||n.videoHeight;e.source.width&&!e.source.height?r=i/n.videoWidth*n.videoHeight:e.source.height&&!e.source.width&&(i=r/n.videoHeight*n.videoWidth),s.source=ss({video:n,width:i,height:r}),s.isDynamic=!0}return t=new Zo(s),t.fps(),{start(){t.fps()},stop(){t.stop()}}}const tl=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},sl={id:"canvas1",style:{width:"1000px",margin:"0 auto"}},nl={__name:"TextDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas1"),source:{text:"Text Image",width:500,height:300}})}),(t,s)=>(jt(),Dt("canvas",sl))}},il=tl(nl,[["__scopeId","data-v-1387edcf"]]),rl={id:"canvas2"},ol={__name:"ImageDemo",setup(e){return $t(()=>{const t=document.querySelector("#canvas2");console.log(t),js({canvas:t,raduis:7,isGray:!0,source:{img:"../public/1.png",width:800,height:700}})}),(t,s)=>(jt(),Dt("canvas",rl))}},ll={id:"canvas3"},cl={__name:"VideoDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas3"),replaceText:"6",source:{video:"../public/1.mp4",width:500,height:700}})}),(t,s)=>(jt(),Dt("canvas",ll))}},fl={style:{display:"flex","justify-content":"space-between","margin-top":"10px"}},ul={__name:"App",setup(e){return(t,s)=>(jt(),Dt(ge,null,[be(il),Ls("div",fl,[be(ol),be(cl)])],64))}};Wo(ul).mount("#app"); diff --git a/assets/index-CK6pqD3B.css b/assets/index-CK6pqD3B.css new file mode 100644 index 0000000..3f3deee --- /dev/null +++ b/assets/index-CK6pqD3B.css @@ -0,0 +1 @@ +.titleBox[data-v-1387edcf]{background-color:#8a2be2}body{overflow:hidden} diff --git a/assets/index-Dp9aJPs-.js b/assets/index-Dp9aJPs-.js new file mode 100644 index 0000000..2f0f181 --- /dev/null +++ b/assets/index-Dp9aJPs-.js @@ -0,0 +1,17 @@ +var _i=Object.defineProperty;var xi=(e,t,s)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var U=(e,t,s)=>(xi(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function gs(e,t){const s=new Set(e.split(","));return t?n=>s.has(n.toLowerCase()):n=>s.has(n)}const D={},We=[],oe=()=>{},bi=()=>!1,Pt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),z=Object.assign,_s=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},yi=Object.prototype.hasOwnProperty,R=(e,t)=>yi.call(e,t),S=Array.isArray,ke=e=>At(e)==="[object Map]",vi=e=>At(e)==="[object Set]",P=e=>typeof e=="function",J=e=>typeof e=="string",ft=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",En=e=>(K(e)||P(e))&&P(e.then)&&P(e.catch),wi=Object.prototype.toString,At=e=>wi.call(e),Ei=e=>At(e).slice(8,-1),Ci=e=>At(e)==="[object Object]",xs=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,et=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ti=/-(\w)/g,Ge=Rt(e=>e.replace(Ti,(t,s)=>s?s.toUpperCase():"")),Ii=/\B([A-Z])/g,Je=Rt(e=>e.replace(Ii,"-$1").toLowerCase()),Cn=Rt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gt=Rt(e=>e?`on${Cn(e)}`:""),Ve=(e,t)=>!Object.is(e,t),zt=(e,t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Oi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qs;const In=()=>qs||(qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bs(e){if(S(e)){const t={};for(let s=0;s{if(s){const n=s.split(Pi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ys(e){let t="";if(J(e))t=e;else if(S(e))for(let s=0;s=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Re()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Se,s=je;try{return Se=!0,je=this,this._runnings++,Gs(this),this.fn()}finally{zs(this),this._runnings--,je=s,Se=t}}stop(){var t;this.active&&(Gs(this),zs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Hi(e){return e.value}function Gs(e){e._trackId++,e._depsLength=0}function zs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const s=new Map;return s.cleanup=e,s.computed=t,s},rs=new WeakMap,De=Symbol(""),os=Symbol("");function te(e,t,s){if(Se&&je){let n=rs.get(e);n||rs.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=Fn(()=>n.delete(s))),An(je,i)}}function we(e,t,s,n,i,r){const l=rs.get(e);if(!l)return;let f=[];if(t==="clear")f=[...l.values()];else if(s==="length"&&S(e)){const u=Number(n);l.forEach((h,d)=>{(d==="length"||!ft(d)&&d>=u)&&f.push(h)})}else switch(s!==void 0&&f.push(l.get(s)),t){case"add":S(e)?xs(s)&&f.push(l.get("length")):(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"delete":S(e)||(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"set":ke(e)&&f.push(l.get(De));break}ws();for(const u of f)u&&Rn(u,4);Es()}const ji=gs("__proto__,__v_isRef,__isVue"),Mn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft)),Js=Di();function Di(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=N(this);for(let r=0,l=this.length;r{e[t]=function(...s){Ae(),ws();const n=N(this)[t].apply(this,s);return Es(),Re(),n}}),e}function Vi(e){ft(e)||(e=String(e));const t=N(this);return te(t,"has",e),t.hasOwnProperty(e)}class Ln{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?ki:jn:r?Hn:$n).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=S(t);if(!i){if(l&&R(Js,s))return Reflect.get(Js,s,n);if(s==="hasOwnProperty")return Vi}const f=Reflect.get(t,s,n);return(ft(s)?Mn.has(s):ji(s))||(i||te(t,"get",s),r)?f:ie(f)?l&&xs(s)?f:f.value:K(f)?i?Dn(f):Is(f):f}}class Nn extends Ln{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];if(!this._isShallow){const u=Tt(r);if(!ls(n)&&!Tt(n)&&(r=N(r),n=N(n)),!S(t)&&ie(r)&&!ie(n))return u?!1:(r.value=n,!0)}const l=S(t)&&xs(s)?Number(s)e,Ft=e=>Reflect.getPrototypeOf(e);function gt(e,t,s=!1,n=!1){e=e.__v_raw;const i=N(e),r=N(t);s||(Ve(t,r)&&te(i,"get",t),te(i,"get",r));const{has:l}=Ft(i),f=n?Cs:s?Ps:Ss;if(l.call(i,t))return f(e.get(t));if(l.call(i,r))return f(e.get(r));e!==i&&e.get(t)}function mt(e,t=!1){const s=this.__v_raw,n=N(s),i=N(e);return t||(Ve(e,i)&&te(n,"has",e),te(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function _t(e,t=!1){return e=e.__v_raw,!t&&te(N(e),"iterate",De),Reflect.get(e,"size",e)}function Ys(e){e=N(e);const t=N(this);return Ft(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function Xs(e,t){t=N(t);const s=N(this),{has:n,get:i}=Ft(s);let r=n.call(s,e);r||(e=N(e),r=n.call(s,e));const l=i.call(s,e);return s.set(e,t),r?Ve(t,l)&&we(s,"set",e,t):we(s,"add",e,t),this}function Zs(e){const t=N(this),{has:s,get:n}=Ft(t);let i=s.call(t,e);i||(e=N(e),i=s.call(t,e)),n&&n.call(t,e);const r=t.delete(e);return i&&we(t,"delete",e,void 0),r}function Qs(){const e=N(this),t=e.size!==0,s=e.clear();return t&&we(e,"clear",void 0,void 0),s}function xt(e,t){return function(n,i){const r=this,l=r.__v_raw,f=N(l),u=t?Cs:e?Ps:Ss;return!e&&te(f,"iterate",De),l.forEach((h,d)=>n.call(i,u(h),u(d),r))}}function bt(e,t,s){return function(...n){const i=this.__v_raw,r=N(i),l=ke(r),f=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,h=i[e](...n),d=s?Cs:t?Ps:Ss;return!t&&te(r,"iterate",u?os:De),{next(){const{value:y,done:E}=h.next();return E?{value:y,done:E}:{value:f?[d(y[0]),d(y[1])]:d(y),done:E}},[Symbol.iterator](){return this}}}}function Ce(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qi(){const e={get(r){return gt(this,r)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!1)},t={get(r){return gt(this,r,!1,!0)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!0)},s={get(r){return gt(this,r,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!1)},n={get(r){return gt(this,r,!0,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=bt(r,!1,!1),s[r]=bt(r,!0,!1),t[r]=bt(r,!1,!0),n[r]=bt(r,!0,!0)}),[e,s,t,n]}const[Gi,zi,Ji,Yi]=qi();function Ts(e,t){const s=t?e?Yi:Ji:e?zi:Gi;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(R(s,i)&&i in n?s:n,i,r)}const Xi={get:Ts(!1,!1)},Zi={get:Ts(!1,!0)},Qi={get:Ts(!0,!1)};const $n=new WeakMap,Hn=new WeakMap,jn=new WeakMap,ki=new WeakMap;function er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tr(e){return e.__v_skip||!Object.isExtensible(e)?0:er(Ei(e))}function Is(e){return Tt(e)?e:Os(e,!1,Bi,Xi,$n)}function sr(e){return Os(e,!1,Wi,Zi,Hn)}function Dn(e){return Os(e,!0,Ki,Qi,jn)}function Os(e,t,s,n,i){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=tr(e);if(l===0)return e;const f=new Proxy(e,l===2?n:s);return i.set(e,f),f}function tt(e){return Tt(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function Vn(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function nr(e){return Object.isExtensible(e)&&Tn(e,"__v_skip",!0),e}const Ss=e=>K(e)?Is(e):e,Ps=e=>K(e)?Dn(e):e;class Un{constructor(t,s,n,i){this.getter=t,this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vs(()=>t(this._value),()=>Jt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=N(this);return(!t._cacheable||t.effect.dirty)&&Ve(t._value,t._value=t.effect.run())&&Jt(t,4),rr(t),t.effect._dirtyLevel>=2&&Jt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ir(e,t,s=!1){let n,i;const r=P(e);return r?(n=e,i=oe):(n=e.get,i=e.set),new Un(n,i,r||!i,s)}function rr(e){var t;Se&&je&&(e=N(e),An(je,(t=e.dep)!=null?t:e.dep=Fn(()=>e.dep=void 0,e instanceof Un?e:void 0)))}function Jt(e,t=4,s){e=N(e);const n=e.dep;n&&Rn(n,t)}function ie(e){return!!(e&&e.__v_isRef===!0)}function or(e){return ie(e)?e.value:e}const lr={get:(e,t,s)=>or(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ie(i)&&!ie(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Bn(e){return tt(e)?e:new Proxy(e,lr)}/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Pe(e,t,s,n){try{return n?e(...n):e()}catch(i){Mt(i,t,s)}}function ue(e,t,s,n){if(P(e)){const i=Pe(e,t,s,n);return i&&En(i)&&i.catch(r=>{Mt(r,t,s)}),i}if(S(e)){const i=[];for(let r=0;r>>1,i=X[n],r=ot(i);r_e&&X.splice(t,1)}function hr(e){S(e)?qe.push(...e):(!Te||!Te.includes(e,e.allowRecurse?He+1:He))&&qe.push(e),Wn()}function ks(e,t,s=rt?_e+1:0){for(;sot(s)-ot(n));if(qe.length=0,Te){Te.push(...t);return}for(Te=t,He=0;Hee.id==null?1/0:e.id,dr=(e,t)=>{const s=ot(e)-ot(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Gn(e){cs=!1,rt=!0,X.sort(dr);try{for(_e=0;_eJ(O)?O.trim():O)),y&&(i=s.map(Oi))}let f,u=n[f=Gt(t)]||n[f=Gt(Ge(t))];!u&&r&&(u=n[f=Gt(Je(t))]),u&&ue(u,e,6,i);const h=n[f+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,ue(h,e,6,i)}}function zn(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},f=!1;if(!P(e)){const u=h=>{const d=zn(h,t,!0);d&&(f=!0,z(l,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!f?(K(e)&&n.set(e,null),null):(S(r)?r.forEach(u=>l[u]=null):z(l,r),K(e)&&n.set(e,l),l)}function Lt(e,t){return!e||!Pt(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,Je(t))||R(e,t))}let xe=null,Jn=null;function It(e){const t=xe;return xe=e,Jn=e&&e.type.__scopeId||null,t}function gr(e,t=xe,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&un(-1);const r=It(t);let l;try{l=e(...i)}finally{It(r),n._d&&un(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Yt(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:l,attrs:f,emit:u,render:h,renderCache:d,props:y,data:E,setupState:O,ctx:B,inheritAttrs:M}=e,se=It(e);let W,Y;try{if(s.shapeFlag&4){const q=i||n,re=q;W=me(h.call(re,q,d,y,O,E,B)),Y=f}else{const q=t;W=me(q.length>1?q(y,{attrs:f,slots:l,emit:u}):q(y,null)),Y=t.props?f:mr(f)}}catch(q){it.length=0,Mt(q,e,1),W=be(lt)}let $=W;if(Y&&M!==!1){const q=Object.keys(Y),{shapeFlag:re}=$;q.length&&re&7&&(r&&q.some(ms)&&(Y=_r(Y,r)),$=ze($,Y))}return s.dirs&&($=ze($),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&($.transition=s.transition),W=$,It(se),W}const mr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Pt(s))&&((t||(t={}))[s]=e[s]);return t},_r=(e,t)=>{const s={};for(const n in e)(!ms(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function xr(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:f,patchFlag:u}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?en(n,l,h):!!l;if(u&8){const d=t.dynamicProps;for(let y=0;ye.__isSuspense;function wr(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):hr(e)}const Er=Symbol.for("v-scx"),Cr=()=>wt(Er),yt={};function Xt(e,t,s){return Yn(e,t,s)}function Yn(e,t,{immediate:s,deep:n,flush:i,once:r,onTrack:l,onTrigger:f}=D){if(t&&r){const F=t;t=(...ye)=>{F(...ye),re()}}const u=k,h=F=>n===!0?F:Ke(F,n===!1?1:void 0);let d,y=!1,E=!1;if(ie(e)?(d=()=>e.value,y=ls(e)):tt(e)?(d=()=>h(e),y=!0):S(e)?(E=!0,y=e.some(F=>tt(F)||ls(F)),d=()=>e.map(F=>{if(ie(F))return F.value;if(tt(F))return h(F);if(P(F))return Pe(F,u,2)})):P(e)?t?d=()=>Pe(e,u,2):d=()=>(O&&O(),ue(e,u,3,[B])):d=oe,t&&n){const F=d;d=()=>Ke(F())}let O,B=F=>{O=$.onStop=()=>{Pe(F,u,4),O=$.onStop=void 0}},M;if(Vt)if(B=oe,t?s&&ue(t,u,3,[d(),E?[]:void 0,B]):d(),i==="sync"){const F=Cr();M=F.__watcherHandles||(F.__watcherHandles=[])}else return oe;let se=E?new Array(e.length).fill(yt):yt;const W=()=>{if(!(!$.active||!$.dirty))if(t){const F=$.run();(n||y||(E?F.some((ye,ae)=>Ve(ye,se[ae])):Ve(F,se)))&&(O&&O(),ue(t,u,3,[F,se===yt?void 0:E&&se[0]===yt?[]:se,B]),se=F)}else $.run()};W.allowRecurse=!!t;let Y;i==="sync"?Y=W:i==="post"?Y=()=>ee(W,u&&u.suspense):(W.pre=!0,u&&(W.id=u.uid),Y=()=>Rs(W));const $=new vs(d,oe,Y),q=$i(),re=()=>{$.stop(),q&&_s(q.effects,$)};return t?s?W():se=$.run():i==="post"?ee($.run.bind($),u&&u.suspense):$.run(),M&&M.push(re),re}function Tr(e,t,s){const n=this.proxy,i=J(e)?e.includes(".")?Xn(n,e):()=>n[e]:e.bind(n,n);let r;P(t)?r=t:(r=t.handler,s=t);const l=ut(this),f=Yn(i,r.bind(n),s);return l(),f}function Xn(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i0){if(s>=t)return e;s++}if(n=n||new Set,n.has(e))return e;if(n.add(e),ie(e))Ke(e.value,t,s,n);else if(S(e))for(let i=0;i{Ke(i,t,s,n)});else if(Ci(e))for(const i in e)Ke(e[i],t,s,n);return e}function Ne(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l!!e.type.__asyncLoader,Zn=e=>e.type.__isKeepAlive;function Ir(e,t){Qn(e,"a",t)}function Or(e,t){Qn(e,"da",t)}function Qn(e,t,s=k){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Nt(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Zn(i.parent.vnode)&&Sr(n,t,s,i),i=i.parent}}function Sr(e,t,s,n){const i=Nt(t,e,n,!0);kn(()=>{_s(n[t],i)},s)}function Nt(e,t,s=k,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(s.isUnmounted)return;Ae();const f=ut(s),u=ue(t,s,e,l);return f(),Re(),u});return n?i.unshift(r):i.push(r),r}}const Ee=e=>(t,s=k)=>(!Vt||e==="sp")&&Nt(e,(...n)=>t(...n),s),Pr=Ee("bm"),$t=Ee("m"),Ar=Ee("bu"),Rr=Ee("u"),Fr=Ee("bum"),kn=Ee("um"),Mr=Ee("sp"),Lr=Ee("rtg"),Nr=Ee("rtc");function $r(e,t=k){Nt("ec",e,t)}const fs=e=>e?di(e)?$s(e)||e.proxy:fs(e.parent):null,st=z(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=>fs(e.parent),$root:e=>fs(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Rs(e.update)}),$nextTick:e=>e.n||(e.n=fr.bind(e.proxy)),$watch:e=>Tr.bind(e)}),Zt=(e,t)=>e!==D&&!e.__isScriptSetup&&R(e,t),Hr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:f,appContext:u}=e;let h;if(t[0]!=="$"){const O=l[t];if(O!==void 0)switch(O){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Zt(n,t))return l[t]=1,n[t];if(i!==D&&R(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&R(h,t))return l[t]=3,r[t];if(s!==D&&R(s,t))return l[t]=4,s[t];us&&(l[t]=0)}}const d=st[t];let y,E;if(d)return t==="$attrs"&&te(e.attrs,"get",""),d(e);if((y=f.__cssModules)&&(y=y[t]))return y;if(s!==D&&R(s,t))return l[t]=4,s[t];if(E=u.config.globalProperties,R(E,t))return E[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Zt(i,t)?(i[t]=s,!0):n!==D&&R(n,t)?(n[t]=s,!0):R(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},l){let f;return!!s[l]||e!==D&&R(e,l)||Zt(t,l)||(f=r[0])&&R(f,l)||R(n,l)||R(st,l)||R(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:R(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function tn(e){return S(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let us=!0;function jr(e){const t=Fs(e),s=e.proxy,n=e.ctx;us=!1,t.beforeCreate&&sn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:f,provide:u,inject:h,created:d,beforeMount:y,mounted:E,beforeUpdate:O,updated:B,activated:M,deactivated:se,beforeDestroy:W,beforeUnmount:Y,destroyed:$,unmounted:q,render:re,renderTracked:F,renderTriggered:ye,errorCaptured:ae,serverPrefetch:Ut,expose:Fe,inheritAttrs:Ye,components:at,directives:ht,filters:Bt}=t;if(h&&Dr(h,n,null),l)for(const V in l){const H=l[V];P(H)&&(n[V]=H.bind(s))}if(i){const V=i.call(s,s);K(V)&&(e.data=Is(V))}if(us=!0,r)for(const V in r){const H=r[V],Me=P(H)?H.bind(s,s):P(H.get)?H.get.bind(s,s):oe,dt=!P(H)&&P(H.set)?H.set.bind(s):oe,Le=xo({get:Me,set:dt});Object.defineProperty(n,V,{enumerable:!0,configurable:!0,get:()=>Le.value,set:he=>Le.value=he})}if(f)for(const V in f)ei(f[V],n,s,V);if(u){const V=P(u)?u.call(s):u;Reflect.ownKeys(V).forEach(H=>{qr(H,V[H])})}d&&sn(d,e,"c");function Z(V,H){S(H)?H.forEach(Me=>V(Me.bind(s))):H&&V(H.bind(s))}if(Z(Pr,y),Z($t,E),Z(Ar,O),Z(Rr,B),Z(Ir,M),Z(Or,se),Z($r,ae),Z(Nr,F),Z(Lr,ye),Z(Fr,Y),Z(kn,q),Z(Mr,Ut),S(Fe))if(Fe.length){const V=e.exposed||(e.exposed={});Fe.forEach(H=>{Object.defineProperty(V,H,{get:()=>s[H],set:Me=>s[H]=Me})})}else e.exposed||(e.exposed={});re&&e.render===oe&&(e.render=re),Ye!=null&&(e.inheritAttrs=Ye),at&&(e.components=at),ht&&(e.directives=ht)}function Dr(e,t,s=oe){S(e)&&(e=as(e));for(const n in e){const i=e[n];let r;K(i)?"default"in i?r=wt(i.from||n,i.default,!0):r=wt(i.from||n):r=wt(i),ie(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[n]=r}}function sn(e,t,s){ue(S(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ei(e,t,s,n){const i=n.includes(".")?Xn(s,n):()=>s[n];if(J(e)){const r=t[e];P(r)&&Xt(i,r)}else if(P(e))Xt(i,e.bind(s));else if(K(e))if(S(e))e.forEach(r=>ei(r,t,s,n));else{const r=P(e.handler)?e.handler.bind(s):t[e.handler];P(r)&&Xt(i,r,e)}}function Fs(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,f=r.get(t);let u;return f?u=f:!i.length&&!s&&!n?u=t:(u={},i.length&&i.forEach(h=>Ot(u,h,l,!0)),Ot(u,t,l)),K(t)&&r.set(t,u),u}function Ot(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Ot(e,r,s,!0),i&&i.forEach(l=>Ot(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const f=Vr[l]||s&&s[l];e[l]=f?f(e[l],t[l]):t[l]}return e}const Vr={data:nn,props:rn,emits:rn,methods:Qe,computed:Qe,beforeCreate:Q,created:Q,beforeMount:Q,mounted:Q,beforeUpdate:Q,updated:Q,beforeDestroy:Q,beforeUnmount:Q,destroyed:Q,unmounted:Q,activated:Q,deactivated:Q,errorCaptured:Q,serverPrefetch:Q,components:Qe,directives:Qe,watch:Br,provide:nn,inject:Ur};function nn(e,t){return t?e?function(){return z(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ur(e,t){return Qe(as(e),as(t))}function as(e){if(S(e)){const t={};for(let s=0;s1)return s&&P(t)?t.call(n&&n.proxy):t}}const si={},ni=()=>Object.create(si),ii=e=>Object.getPrototypeOf(e)===si;function Gr(e,t,s,n=!1){const i={},r=ni();e.propsDefaults=Object.create(null),ri(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:sr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function zr(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,f=N(i),[u]=e.propsOptions;let h=!1;if((n||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[E,O]=oi(y,t,!0);z(l,E),O&&f.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return K(e)&&n.set(e,We),We;if(S(r))for(let d=0;d-1,O[1]=M<0||B-1||R(O,"default"))&&f.push(y)}}}const h=[l,f];return K(e)&&n.set(e,h),h}function on(e){return e[0]!=="$"&&!et(e)}function ln(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cn(e,t){return ln(e)===ln(t)}function fn(e,t){return S(t)?t.findIndex(s=>cn(s,e)):P(t)&&cn(t,e)?0:-1}const li=e=>e[0]==="_"||e==="$stable",Ms=e=>S(e)?e.map(me):[me(e)],Jr=(e,t,s)=>{if(t._n)return t;const n=gr((...i)=>Ms(t(...i)),s);return n._c=!1,n},ci=(e,t,s)=>{const n=e._ctx;for(const i in e){if(li(i))continue;const r=e[i];if(P(r))t[i]=Jr(i,r,n);else if(r!=null){const l=Ms(r);t[i]=()=>l}}},fi=(e,t)=>{const s=Ms(t);e.slots.default=()=>s},Yr=(e,t)=>{const s=e.slots=ni();if(e.vnode.shapeFlag&32){const n=t._;n?(z(s,t),Tn(s,"_",n)):ci(t,s)}else t&&fi(e,t)},Xr=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=D;if(n.shapeFlag&32){const f=t._;f?s&&f===1?r=!1:(z(i,t),!s&&f===1&&delete i._):(r=!t.$stable,ci(t,i)),l=t}else t&&(fi(e,t),l={default:1});if(r)for(const f in i)!li(f)&&l[f]==null&&delete i[f]};function ds(e,t,s,n,i=!1){if(S(e)){e.forEach((E,O)=>ds(E,t&&(S(t)?t[O]:t),s,n,i));return}if(vt(n)&&!i)return;const r=n.shapeFlag&4?$s(n.component)||n.component.proxy:n.el,l=i?null:r,{i:f,r:u}=e,h=t&&t.r,d=f.refs===D?f.refs={}:f.refs,y=f.setupState;if(h!=null&&h!==u&&(J(h)?(d[h]=null,R(y,h)&&(y[h]=null)):ie(h)&&(h.value=null)),P(u))Pe(u,f,12,[l,d]);else{const E=J(u),O=ie(u);if(E||O){const B=()=>{if(e.f){const M=E?R(y,u)?y[u]:d[u]:u.value;i?S(M)&&_s(M,r):S(M)?M.includes(r)||M.push(r):E?(d[u]=[r],R(y,u)&&(y[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else E?(d[u]=l,R(y,u)&&(y[u]=l)):O&&(u.value=l,e.k&&(d[e.k]=l))};l?(B.id=-1,ee(B,s)):B()}}}const ee=wr;function Zr(e){return Qr(e)}function Qr(e,t){const s=In();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:f,createComment:u,setText:h,setElementText:d,parentNode:y,nextSibling:E,setScopeId:O=oe,insertStaticContent:B}=e,M=(o,c,a,p=null,g=null,x=null,v=void 0,_=null,b=!!c.dynamicChildren)=>{if(o===c)return;o&&!Ze(o,c)&&(p=pt(o),he(o,g,x,!0),o=null),c.patchFlag===-2&&(b=!1,c.dynamicChildren=null);const{type:m,ref:w,shapeFlag:T}=c;switch(m){case Ht:se(o,c,a,p);break;case lt:W(o,c,a,p);break;case kt:o==null&&Y(c,a,p,v);break;case ge:at(o,c,a,p,g,x,v,_,b);break;default:T&1?re(o,c,a,p,g,x,v,_,b):T&6?ht(o,c,a,p,g,x,v,_,b):(T&64||T&128)&&m.process(o,c,a,p,g,x,v,_,b,Ue)}w!=null&&g&&ds(w,o&&o.ref,x,c||o,!c)},se=(o,c,a,p)=>{if(o==null)n(c.el=f(c.children),a,p);else{const g=c.el=o.el;c.children!==o.children&&h(g,c.children)}},W=(o,c,a,p)=>{o==null?n(c.el=u(c.children||""),a,p):c.el=o.el},Y=(o,c,a,p)=>{[o.el,o.anchor]=B(o.children,c,a,p,o.el,o.anchor)},$=({el:o,anchor:c},a,p)=>{let g;for(;o&&o!==c;)g=E(o),n(o,a,p),o=g;n(c,a,p)},q=({el:o,anchor:c})=>{let a;for(;o&&o!==c;)a=E(o),i(o),o=a;i(c)},re=(o,c,a,p,g,x,v,_,b)=>{c.type==="svg"?v="svg":c.type==="math"&&(v="mathml"),o==null?F(c,a,p,g,x,v,_,b):Ut(o,c,g,x,v,_,b)},F=(o,c,a,p,g,x,v,_)=>{let b,m;const{props:w,shapeFlag:T,transition:C,dirs:I}=o;if(b=o.el=l(o.type,x,w&&w.is,w),T&8?d(b,o.children):T&16&&ae(o.children,b,null,p,g,Qt(o,x),v,_),I&&Ne(o,null,p,"created"),ye(b,o,o.scopeId,v,p),w){for(const L in w)L!=="value"&&!et(L)&&r(b,L,null,w[L],x,o.children,p,g,ve);"value"in w&&r(b,"value",null,w.value,x),(m=w.onVnodeBeforeMount)&&pe(m,p,o)}I&&Ne(o,null,p,"beforeMount");const A=kr(g,C);A&&C.beforeEnter(b),n(b,c,a),((m=w&&w.onVnodeMounted)||A||I)&&ee(()=>{m&&pe(m,p,o),A&&C.enter(b),I&&Ne(o,null,p,"mounted")},g)},ye=(o,c,a,p,g)=>{if(a&&O(o,a),p)for(let x=0;x{for(let m=b;m{const _=c.el=o.el;let{patchFlag:b,dynamicChildren:m,dirs:w}=c;b|=o.patchFlag&16;const T=o.props||D,C=c.props||D;let I;if(a&&$e(a,!1),(I=C.onVnodeBeforeUpdate)&&pe(I,a,c,o),w&&Ne(c,o,a,"beforeUpdate"),a&&$e(a,!0),m?Fe(o.dynamicChildren,m,_,a,p,Qt(c,g),x):v||H(o,c,_,null,a,p,Qt(c,g),x,!1),b>0){if(b&16)Ye(_,c,T,C,a,p,g);else if(b&2&&T.class!==C.class&&r(_,"class",null,C.class,g),b&4&&r(_,"style",T.style,C.style,g),b&8){const A=c.dynamicProps;for(let L=0;L{I&&pe(I,a,c,o),w&&Ne(c,o,a,"updated")},p)},Fe=(o,c,a,p,g,x,v)=>{for(let _=0;_{if(a!==p){if(a!==D)for(const _ in a)!et(_)&&!(_ in p)&&r(o,_,a[_],null,v,c.children,g,x,ve);for(const _ in p){if(et(_))continue;const b=p[_],m=a[_];b!==m&&_!=="value"&&r(o,_,m,b,v,c.children,g,x,ve)}"value"in p&&r(o,"value",a.value,p.value,v)}},at=(o,c,a,p,g,x,v,_,b)=>{const m=c.el=o?o.el:f(""),w=c.anchor=o?o.anchor:f("");let{patchFlag:T,dynamicChildren:C,slotScopeIds:I}=c;I&&(_=_?_.concat(I):I),o==null?(n(m,a,p),n(w,a,p),ae(c.children||[],a,w,g,x,v,_,b)):T>0&&T&64&&C&&o.dynamicChildren?(Fe(o.dynamicChildren,C,a,g,x,v,_),(c.key!=null||g&&c===g.subTree)&&ui(o,c,!0)):H(o,c,a,w,g,x,v,_,b)},ht=(o,c,a,p,g,x,v,_,b)=>{c.slotScopeIds=_,o==null?c.shapeFlag&512?g.ctx.activate(c,a,p,v,b):Bt(c,a,p,g,x,v,b):Ds(o,c,b)},Bt=(o,c,a,p,g,x,v)=>{const _=o.component=ao(o,p,g);if(Zn(o)&&(_.ctx.renderer=Ue),ho(_),_.asyncDep){if(g&&g.registerDep(_,Z),!o.el){const b=_.subTree=be(lt);W(null,b,c,a)}}else Z(_,o,c,a,g,x,v)},Ds=(o,c,a)=>{const p=c.component=o.component;if(xr(o,c,a))if(p.asyncDep&&!p.asyncResolved){V(p,c,a);return}else p.next=c,ar(p.update),p.effect.dirty=!0,p.update();else c.el=o.el,p.vnode=c},Z=(o,c,a,p,g,x,v)=>{const _=()=>{if(o.isMounted){let{next:w,bu:T,u:C,parent:I,vnode:A}=o;{const Be=ai(o);if(Be){w&&(w.el=A.el,V(o,w,v)),Be.asyncDep.then(()=>{o.isUnmounted||_()});return}}let L=w,j;$e(o,!1),w?(w.el=A.el,V(o,w,v)):w=A,T&&zt(T),(j=w.props&&w.props.onVnodeBeforeUpdate)&&pe(j,I,w,A),$e(o,!0);const G=Yt(o),le=o.subTree;o.subTree=G,M(le,G,y(le.el),pt(le),o,g,x),w.el=G.el,L===null&&br(o,G.el),C&&ee(C,g),(j=w.props&&w.props.onVnodeUpdated)&&ee(()=>pe(j,I,w,A),g)}else{let w;const{el:T,props:C}=c,{bm:I,m:A,parent:L}=o,j=vt(c);if($e(o,!1),I&&zt(I),!j&&(w=C&&C.onVnodeBeforeMount)&&pe(w,L,c),$e(o,!0),T&&qt){const G=()=>{o.subTree=Yt(o),qt(T,o.subTree,o,g,null)};j?c.type.__asyncLoader().then(()=>!o.isUnmounted&&G()):G()}else{const G=o.subTree=Yt(o);M(null,G,a,p,o,g,x),c.el=G.el}if(A&&ee(A,g),!j&&(w=C&&C.onVnodeMounted)){const G=c;ee(()=>pe(w,L,G),g)}(c.shapeFlag&256||L&&vt(L.vnode)&&L.vnode.shapeFlag&256)&&o.a&&ee(o.a,g),o.isMounted=!0,c=a=p=null}},b=o.effect=new vs(_,oe,()=>Rs(m),o.scope),m=o.update=()=>{b.dirty&&b.run()};m.id=o.uid,$e(o,!0),m()},V=(o,c,a)=>{c.component=o;const p=o.vnode.props;o.vnode=c,o.next=null,zr(o,c.props,p,a),Xr(o,c.children,a),Ae(),ks(o),Re()},H=(o,c,a,p,g,x,v,_,b=!1)=>{const m=o&&o.children,w=o?o.shapeFlag:0,T=c.children,{patchFlag:C,shapeFlag:I}=c;if(C>0){if(C&128){dt(m,T,a,p,g,x,v,_,b);return}else if(C&256){Me(m,T,a,p,g,x,v,_,b);return}}I&8?(w&16&&ve(m,g,x),T!==m&&d(a,T)):w&16?I&16?dt(m,T,a,p,g,x,v,_,b):ve(m,g,x,!0):(w&8&&d(a,""),I&16&&ae(T,a,p,g,x,v,_,b))},Me=(o,c,a,p,g,x,v,_,b)=>{o=o||We,c=c||We;const m=o.length,w=c.length,T=Math.min(m,w);let C;for(C=0;Cw?ve(o,g,x,!0,!1,T):ae(c,a,p,g,x,v,_,b,T)},dt=(o,c,a,p,g,x,v,_,b)=>{let m=0;const w=c.length;let T=o.length-1,C=w-1;for(;m<=T&&m<=C;){const I=o[m],A=c[m]=b?Ie(c[m]):me(c[m]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;m++}for(;m<=T&&m<=C;){const I=o[T],A=c[C]=b?Ie(c[C]):me(c[C]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;T--,C--}if(m>T){if(m<=C){const I=C+1,A=IC)for(;m<=T;)he(o[m],g,x,!0),m++;else{const I=m,A=m,L=new Map;for(m=A;m<=C;m++){const ne=c[m]=b?Ie(c[m]):me(c[m]);ne.key!=null&&L.set(ne.key,m)}let j,G=0;const le=C-A+1;let Be=!1,Bs=0;const Xe=new Array(le);for(m=0;m=le){he(ne,g,x,!0);continue}let de;if(ne.key!=null)de=L.get(ne.key);else for(j=A;j<=C;j++)if(Xe[j-A]===0&&Ze(ne,c[j])){de=j;break}de===void 0?he(ne,g,x,!0):(Xe[de-A]=m+1,de>=Bs?Bs=de:Be=!0,M(ne,c[de],a,null,g,x,v,_,b),G++)}const Ks=Be?eo(Xe):We;for(j=Ks.length-1,m=le-1;m>=0;m--){const ne=A+m,de=c[ne],Ws=ne+1{const{el:x,type:v,transition:_,children:b,shapeFlag:m}=o;if(m&6){Le(o.component.subTree,c,a,p);return}if(m&128){o.suspense.move(c,a,p);return}if(m&64){v.move(o,c,a,Ue);return}if(v===ge){n(x,c,a);for(let T=0;T_.enter(x),g);else{const{leave:T,delayLeave:C,afterLeave:I}=_,A=()=>n(x,c,a),L=()=>{T(x,()=>{A(),I&&I()})};C?C(x,A,L):L()}else n(x,c,a)},he=(o,c,a,p=!1,g=!1)=>{const{type:x,props:v,ref:_,children:b,dynamicChildren:m,shapeFlag:w,patchFlag:T,dirs:C}=o;if(_!=null&&ds(_,null,a,o,!0),w&256){c.ctx.deactivate(o);return}const I=w&1&&C,A=!vt(o);let L;if(A&&(L=v&&v.onVnodeBeforeUnmount)&&pe(L,c,o),w&6)mi(o.component,a,p);else{if(w&128){o.suspense.unmount(a,p);return}I&&Ne(o,null,c,"beforeUnmount"),w&64?o.type.remove(o,c,a,g,Ue,p):m&&(x!==ge||T>0&&T&64)?ve(m,c,a,!1,!0):(x===ge&&T&384||!g&&w&16)&&ve(b,c,a),p&&Vs(o)}(A&&(L=v&&v.onVnodeUnmounted)||I)&&ee(()=>{L&&pe(L,c,o),I&&Ne(o,null,c,"unmounted")},a)},Vs=o=>{const{type:c,el:a,anchor:p,transition:g}=o;if(c===ge){gi(a,p);return}if(c===kt){q(o);return}const x=()=>{i(a),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(o.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:_}=g,b=()=>v(a,x);_?_(o.el,x,b):b()}else x()},gi=(o,c)=>{let a;for(;o!==c;)a=E(o),i(o),o=a;i(c)},mi=(o,c,a)=>{const{bum:p,scope:g,update:x,subTree:v,um:_}=o;p&&zt(p),g.stop(),x&&(x.active=!1,he(v,o,c,a)),_&&ee(_,c),ee(()=>{o.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},ve=(o,c,a,p=!1,g=!1,x=0)=>{for(let v=x;vo.shapeFlag&6?pt(o.component.subTree):o.shapeFlag&128?o.suspense.next():E(o.anchor||o.el);let Kt=!1;const Us=(o,c,a)=>{o==null?c._vnode&&he(c._vnode,null,null,!0):M(c._vnode||null,o,c,null,null,null,a),Kt||(Kt=!0,ks(),qn(),Kt=!1),c._vnode=o},Ue={p:M,um:he,m:Le,r:Vs,mt:Bt,mc:ae,pc:H,pbc:Fe,n:pt,o:e};let Wt,qt;return t&&([Wt,qt]=t(Ue)),{render:Us,hydrate:Wt,createApp:Wr(Us,Wt)}}function Qt({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function $e({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ui(e,t,s=!1){const n=e.children,i=t.children;if(S(n)&&S(i))for(let r=0;r>1,e[s[f]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}function ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ai(t)}const to=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),Ht=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),it=[];let fe=null;function jt(e=!1){it.push(fe=e?null:[])}function so(){it.pop(),fe=it[it.length-1]||null}let ct=1;function un(e){ct+=e}function no(e){return e.dynamicChildren=ct>0?fe||We:null,so(),ct>0&&fe&&fe.push(e),e}function Dt(e,t,s,n,i,r){return no(Ls(e,t,s,n,i,r,!0))}function io(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const hi=({key:e})=>e??null,Et=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ie(e)||P(e)?{i:xe,r:e,k:t,f:!!s}:e:null);function Ls(e,t=null,s=null,n=0,i=null,r=e===ge?0:1,l=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&Et(t),scopeId:Jn,slotScopeIds:null,children:s,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return f?(Ns(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=J(s)?8:16),ct>0&&!l&&fe&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&fe.push(u),u}const be=ro;function ro(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===yr)&&(e=lt),io(e)){const f=ze(e,t,!0);return s&&Ns(f,s),ct>0&&!r&&fe&&(f.shapeFlag&6?fe[fe.indexOf(e)]=f:fe.push(f)),f.patchFlag|=-2,f}if(_o(e)&&(e=e.__vccOpts),t){t=oo(t);let{class:f,style:u}=t;f&&!J(f)&&(t.class=ys(f)),K(u)&&(Vn(u)&&!S(u)&&(u=z({},u)),t.style=bs(u))}const l=J(e)?1:vr(e)?128:to(e)?64:K(e)?4:P(e)?2:0;return Ls(e,t,s,n,i,l,r,!0)}function oo(e){return e?Vn(e)||ii(e)?z({},e):e:null}function ze(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,f=t?co(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&hi(f),ref:t&&t.ref?s&&i?S(i)?i.concat(Et(t)):[i,Et(t)]:Et(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ze(e.ssContent),ssFallback:e.ssFallback&&ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function lo(e=" ",t=0){return be(Ht,null,e,t)}function me(e){return e==null||typeof e=="boolean"?be(lt):S(e)?be(ge,null,e.slice()):typeof e=="object"?Ie(e):be(Ht,null,String(e))}function Ie(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ze(e)}function Ns(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(S(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ns(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!ii(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:xe},s=32):(t=String(t),n&64?(s=16,t=[lo(t)]):s=8);e.children=t,e.shapeFlag|=s}function co(...e){const t={};for(let s=0;s{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};St=t("__VUE_INSTANCE_SETTERS__",s=>k=s),ps=t("__VUE_SSR_SETTERS__",s=>Vt=s)}const ut=e=>{const t=k;return St(e),e.scope.on(),()=>{e.scope.off(),St(t)}},an=()=>{k&&k.scope.off(),St(null)};function di(e){return e.vnode.shapeFlag&4}let Vt=!1;function ho(e,t=!1){t&&ps(t);const{props:s,children:n}=e.vnode,i=di(e);Gr(e,s,i,t),Yr(e,n);const r=i?po(e,t):void 0;return t&&ps(!1),r}function po(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hr);const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?mo(e):null,r=ut(e);Ae();const l=Pe(n,e,0,[e.props,i]);if(Re(),r(),En(l)){if(l.then(an,an),t)return l.then(f=>{hn(e,f,t)}).catch(f=>{Mt(f,e,0)});e.asyncDep=l}else hn(e,l,t)}else pi(e,t)}function hn(e,t,s){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=Bn(t)),pi(e,s)}let dn;function pi(e,t,s){const n=e.type;if(!e.render){if(!t&&dn&&!n.render){const i=n.template||Fs(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:f,compilerOptions:u}=n,h=z(z({isCustomElement:r,delimiters:f},l),u);n.render=dn(i,h)}}e.render=n.render||oe}{const i=ut(e);Ae();try{jr(e)}finally{Re(),i()}}}const go={get(e,t){return te(e,"get",""),e[t]}};function mo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,go),slots:e.slots,emit:e.emit,expose:t}}function $s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bn(nr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in st)return st[s](e)},has(t,s){return s in t||s in st}}))}function _o(e){return P(e)&&"__vccOpts"in e}const xo=(e,t)=>ir(e,t,Vt),bo="3.4.25";/** +* @vue/runtime-dom v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const yo="http://www.w3.org/2000/svg",vo="http://www.w3.org/1998/Math/MathML",Oe=typeof document<"u"?document:null,pn=Oe&&Oe.createElement("template"),wo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Oe.createElementNS(yo,e):t==="mathml"?Oe.createElementNS(vo,e):Oe.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Oe.createTextNode(e),createComment:e=>Oe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Oe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{pn.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const f=pn.content;if(n==="svg"||n==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Eo=Symbol("_vtc");function Co(e,t,s){const n=e[Eo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const gn=Symbol("_vod"),To=Symbol("_vsh"),Io=Symbol(""),Oo=/(^|;)\s*display\s*:/;function So(e,t,s){const n=e.style,i=J(s);let r=!1;if(s&&!i){if(t)if(J(t))for(const l of t.split(";")){const f=l.slice(0,l.indexOf(":")).trim();s[f]==null&&Ct(n,f,"")}else for(const l in t)s[l]==null&&Ct(n,l,"");for(const l in s)l==="display"&&(r=!0),Ct(n,l,s[l])}else if(i){if(t!==s){const l=n[Io];l&&(s+=";"+l),n.cssText=s,r=Oo.test(s)}}else t&&e.removeAttribute("style");gn in e&&(e[gn]=r?n.display:"",e[To]&&(n.display="none"))}const mn=/\s*!important$/;function Ct(e,t,s){if(S(s))s.forEach(n=>Ct(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Po(e,t);mn.test(s)?e.setProperty(Je(n),s.replace(mn,""),"important"):e[n]=s}}const _n=["Webkit","Moz","ms"],es={};function Po(e,t){const s=es[t];if(s)return s;let n=Ge(t);if(n!=="filter"&&n in e)return es[t]=n;n=Cn(n);for(let i=0;i<_n.length;i++){const r=_n[i]+n;if(r in e)return es[t]=r}return t}const xn="http://www.w3.org/1999/xlink";function Ao(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(xn,t.slice(6,t.length)):e.setAttributeNS(xn,t,s);else{const r=Mi(t);s==null||r&&!On(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Ro(e,t,s,n,i,r,l){if(t==="innerHTML"||t==="textContent"){n&&l(n,i,r),e[t]=s??"";return}const f=e.tagName;if(t==="value"&&f!=="PROGRESS"&&!f.includes("-")){const h=f==="OPTION"?e.getAttribute("value")||"":e.value,d=s??"";(h!==d||!("_value"in e))&&(e.value=d),s==null&&e.removeAttribute(t),e._value=s;return}let u=!1;if(s===""||s==null){const h=typeof e[t];h==="boolean"?s=On(s):s==null&&h==="string"?(s="",u=!0):h==="number"&&(s=0,u=!0)}try{e[t]=s}catch{}u&&e.removeAttribute(t)}function Fo(e,t,s,n){e.addEventListener(t,s,n)}function Mo(e,t,s,n){e.removeEventListener(t,s,n)}const bn=Symbol("_vei");function Lo(e,t,s,n,i=null){const r=e[bn]||(e[bn]={}),l=r[t];if(n&&l)l.value=n;else{const[f,u]=No(t);if(n){const h=r[t]=jo(n,i);Fo(e,f,h,u)}else l&&(Mo(e,f,l,u),r[t]=void 0)}}const yn=/(?:Once|Passive|Capture)$/;function No(e){let t;if(yn.test(e)){t={};let n;for(;n=e.match(yn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let ts=0;const $o=Promise.resolve(),Ho=()=>ts||($o.then(()=>ts=0),ts=Date.now());function jo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ue(Do(n,s.value),t,5,[n])};return s.value=e,s.attached=Ho(),s}function Do(e,t){if(S(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vo=(e,t,s,n,i,r,l,f,u)=>{const h=i==="svg";t==="class"?Co(e,n,h):t==="style"?So(e,s,n):Pt(t)?ms(t)||Lo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uo(e,t,n,h))?Ro(e,t,n,r,l,f,u):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ao(e,t,n,h))};function Uo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&vn(t)&&P(s));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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return vn(t)&&J(s)?!1:t in e}const Bo=z({patchProp:Vo},wo);let wn;function Ko(){return wn||(wn=Zr(Bo))}const Wo=(...e)=>{const t=Ko().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Go(n);if(!i)return;const r=t._component;!P(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const l=s(i,!1,qo(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function qo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Go(e){return J(e)?document.querySelector(e):e}var zo=class{constructor(e,t,s){U(this,"width");U(this,"height");U(this,"pixels");this.width=e,this.height=t,this.pixels=s}getPixelAt(e,t){const s=t*this.width*4+e*4;return[this.pixels[s],this.pixels[s+1],this.pixels[s+2],+(this.pixels[s+3]/255).toFixed(2)]}},Hs=class{constructor(){U(this,"canvas");U(this,"ctx");U(this,"isInit");this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.isInit=!1}init(){this.isInit||(this.initCanvas(),this.isInit=!0)}getBitmap(){this.init(),this.draw();const{width:e,height:t}=this.canvas,s=this.ctx.getImageData(0,0,e,t).data;return new zo(e,t,s)}},Jo=class extends Hs{constructor(t){super();U(this,"img");U(this,"width");U(this,"height");this.img=t.img,this.width=t.width,this.height=t.height}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.img,0,0,this.img.width,this.img.height,0,0,this.width,this.height)}},Yo=class extends Hs{constructor(t){super();U(this,"option");this.option=t}initCanvas(){this.canvas.width=this.option.text.length*this.option.fontSize,this.canvas.height=this.option.fontSize,this.ctx.font=`bold ${this.option.fontSize}px ${this.option.fontFamily}`,this.ctx.fillStyle="#000",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}draw(){this.ctx.fillText(this.option.text,this.canvas.width/2,this.canvas.height/2)}},Xo=class extends Hs{constructor(t){super();U(this,"video");U(this,"width");U(this,"height");this.video=t.video,this.width=t.width,this.height=t.height,this.video.muted=this.video.loop=!0,this.video.play()}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.video,0,0,this.video.videoWidth,this.video.videoHeight,0,0,this.width,this.height)}};function ss(e){if(e.text)return new Yo(e);if(e.img)return new Jo(e);if(e.video)return new Xo(e);throw new TypeError("invalid source options")}var Zo=class{constructor(e){U(this,"replaceText");U(this,"raduis");U(this,"source");U(this,"isDynamic");U(this,"canvas");U(this,"ctx");U(this,"textIndex");U(this,"isGray");U(this,"raqId");this.replaceText=e.replaceText,this.raduis=e.raduis,this.source=e.source,this.isGray=e.isGray,this.isDynamic=e.isDynamic,this.canvas=e.canvas,this.ctx=this.canvas.getContext("2d"),this.textIndex=0,this.raqId=0,this.initContext()}fps(){this.isDynamic?this.raqId=requestAnimationFrame(()=>{this.draw(),this.fps()}):this.draw()}stop(){cancelAnimationFrame(this.raqId),this.raqId=0}initContext(){this.ctx.font="bold 12px 'Roboto Mono' 'Microsoft YaHei' '微软雅黑' 'sans-serif'",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}drawText(e,t,s){let[n,i,r,l]=s;if(!l)return;this.isGray&&(n=i=r=.2126*n+.7152*i+.0722*r),this.ctx.fillStyle=`rgba(${n},${i},${r},${l})`;const f=this.replaceText[this.textIndex];this.textIndex=(this.textIndex+1)%this.replaceText.length,this.ctx.fillText(f,e,t)}draw(){const e=this.source.getBitmap();this.canvas.width=e.width,this.canvas.height=e.height,this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);for(let t=0;t{const n=new Image;n.onload=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}function el(e){return new Promise((t,s)=>{const n=document.createElement("video");n.oncanplay=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}async function js(e){Qo(e);let t,s={...e};if(e.source.text)s.source=ss({fontFamily:e.source.fontFamily||"Microsoft YaHei",text:e.source.text,fontSize:e.source.fontSize||200});else if(e.source.img){const n=await ko(e.source.img);let i=e.source.width||n.width,r=e.source.height||n.height;e.source.width&&!e.source.height?r=i/n.width*n.height:e.source.height&&!e.source.width&&(i=r/n.height*n.width),s.source=ss({img:n,width:i,height:r})}else if(e.source.video){const n=await el(e.source.video);let i=e.source.width||n.videoWidth,r=e.source.height||n.videoHeight;e.source.width&&!e.source.height?r=i/n.videoWidth*n.videoHeight:e.source.height&&!e.source.width&&(i=r/n.videoHeight*n.videoWidth),s.source=ss({video:n,width:i,height:r}),s.isDynamic=!0}return t=new Zo(s),t.fps(),{start(){t.fps()},stop(){t.stop()}}}const tl=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},sl={id:"canvas1",style:{width:"1000px",margin:"0 auto"}},nl={__name:"TextDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas1"),source:{text:"Text Image",width:500,height:300}})}),(t,s)=>(jt(),Dt("canvas",sl))}},il=tl(nl,[["__scopeId","data-v-1387edcf"]]),rl={id:"canvas2"},ol={__name:"ImageDemo",setup(e){return $t(()=>{const t=document.querySelector("#canvas2");console.log(t),js({canvas:t,raduis:7,isGray:!0,source:{img:"./1.png",width:800,height:700}})}),(t,s)=>(jt(),Dt("canvas",rl))}},ll={id:"canvas3"},cl={__name:"VideoDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas3"),replaceText:"6",source:{video:"../public/1.mp4",width:500,height:700}})}),(t,s)=>(jt(),Dt("canvas",ll))}},fl={style:{display:"flex","justify-content":"space-between","margin-top":"10px"}},ul={__name:"App",setup(e){return(t,s)=>(jt(),Dt(ge,null,[be(il),Ls("div",fl,[be(ol),be(cl)])],64))}};Wo(ul).mount("#app"); diff --git a/assets/index-DsSehSFT.js b/assets/index-DsSehSFT.js new file mode 100644 index 0000000..b1283bd --- /dev/null +++ b/assets/index-DsSehSFT.js @@ -0,0 +1,17 @@ +var _i=Object.defineProperty;var xi=(e,t,s)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var U=(e,t,s)=>(xi(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/** +* @vue/shared v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function gs(e,t){const s=new Set(e.split(","));return t?n=>s.has(n.toLowerCase()):n=>s.has(n)}const D={},We=[],oe=()=>{},bi=()=>!1,Pt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),z=Object.assign,_s=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},yi=Object.prototype.hasOwnProperty,R=(e,t)=>yi.call(e,t),S=Array.isArray,ke=e=>At(e)==="[object Map]",vi=e=>At(e)==="[object Set]",P=e=>typeof e=="function",J=e=>typeof e=="string",ft=e=>typeof e=="symbol",K=e=>e!==null&&typeof e=="object",En=e=>(K(e)||P(e))&&P(e.then)&&P(e.catch),wi=Object.prototype.toString,At=e=>wi.call(e),Ei=e=>At(e).slice(8,-1),Ci=e=>At(e)==="[object Object]",xs=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,et=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Ti=/-(\w)/g,Ge=Rt(e=>e.replace(Ti,(t,s)=>s?s.toUpperCase():"")),Ii=/\B([A-Z])/g,Je=Rt(e=>e.replace(Ii,"-$1").toLowerCase()),Cn=Rt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gt=Rt(e=>e?`on${Cn(e)}`:""),Ve=(e,t)=>!Object.is(e,t),zt=(e,t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},Oi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qs;const In=()=>qs||(qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bs(e){if(S(e)){const t={};for(let s=0;s{if(s){const n=s.split(Pi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ys(e){let t="";if(J(e))t=e;else if(S(e))for(let s=0;s=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Re()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Se,s=je;try{return Se=!0,je=this,this._runnings++,Gs(this),this.fn()}finally{zs(this),this._runnings--,je=s,Se=t}}stop(){var t;this.active&&(Gs(this),zs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Hi(e){return e.value}function Gs(e){e._trackId++,e._depsLength=0}function zs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const s=new Map;return s.cleanup=e,s.computed=t,s},rs=new WeakMap,De=Symbol(""),os=Symbol("");function te(e,t,s){if(Se&&je){let n=rs.get(e);n||rs.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=Fn(()=>n.delete(s))),An(je,i)}}function we(e,t,s,n,i,r){const l=rs.get(e);if(!l)return;let f=[];if(t==="clear")f=[...l.values()];else if(s==="length"&&S(e)){const u=Number(n);l.forEach((h,d)=>{(d==="length"||!ft(d)&&d>=u)&&f.push(h)})}else switch(s!==void 0&&f.push(l.get(s)),t){case"add":S(e)?xs(s)&&f.push(l.get("length")):(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"delete":S(e)||(f.push(l.get(De)),ke(e)&&f.push(l.get(os)));break;case"set":ke(e)&&f.push(l.get(De));break}ws();for(const u of f)u&&Rn(u,4);Es()}const ji=gs("__proto__,__v_isRef,__isVue"),Mn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft)),Js=Di();function Di(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=N(this);for(let r=0,l=this.length;r{e[t]=function(...s){Ae(),ws();const n=N(this)[t].apply(this,s);return Es(),Re(),n}}),e}function Vi(e){ft(e)||(e=String(e));const t=N(this);return te(t,"has",e),t.hasOwnProperty(e)}class Ln{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?ki:jn:r?Hn:$n).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=S(t);if(!i){if(l&&R(Js,s))return Reflect.get(Js,s,n);if(s==="hasOwnProperty")return Vi}const f=Reflect.get(t,s,n);return(ft(s)?Mn.has(s):ji(s))||(i||te(t,"get",s),r)?f:ie(f)?l&&xs(s)?f:f.value:K(f)?i?Dn(f):Is(f):f}}class Nn extends Ln{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];if(!this._isShallow){const u=Tt(r);if(!ls(n)&&!Tt(n)&&(r=N(r),n=N(n)),!S(t)&&ie(r)&&!ie(n))return u?!1:(r.value=n,!0)}const l=S(t)&&xs(s)?Number(s)e,Ft=e=>Reflect.getPrototypeOf(e);function gt(e,t,s=!1,n=!1){e=e.__v_raw;const i=N(e),r=N(t);s||(Ve(t,r)&&te(i,"get",t),te(i,"get",r));const{has:l}=Ft(i),f=n?Cs:s?Ps:Ss;if(l.call(i,t))return f(e.get(t));if(l.call(i,r))return f(e.get(r));e!==i&&e.get(t)}function mt(e,t=!1){const s=this.__v_raw,n=N(s),i=N(e);return t||(Ve(e,i)&&te(n,"has",e),te(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function _t(e,t=!1){return e=e.__v_raw,!t&&te(N(e),"iterate",De),Reflect.get(e,"size",e)}function Ys(e){e=N(e);const t=N(this);return Ft(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function Xs(e,t){t=N(t);const s=N(this),{has:n,get:i}=Ft(s);let r=n.call(s,e);r||(e=N(e),r=n.call(s,e));const l=i.call(s,e);return s.set(e,t),r?Ve(t,l)&&we(s,"set",e,t):we(s,"add",e,t),this}function Zs(e){const t=N(this),{has:s,get:n}=Ft(t);let i=s.call(t,e);i||(e=N(e),i=s.call(t,e)),n&&n.call(t,e);const r=t.delete(e);return i&&we(t,"delete",e,void 0),r}function Qs(){const e=N(this),t=e.size!==0,s=e.clear();return t&&we(e,"clear",void 0,void 0),s}function xt(e,t){return function(n,i){const r=this,l=r.__v_raw,f=N(l),u=t?Cs:e?Ps:Ss;return!e&&te(f,"iterate",De),l.forEach((h,d)=>n.call(i,u(h),u(d),r))}}function bt(e,t,s){return function(...n){const i=this.__v_raw,r=N(i),l=ke(r),f=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,h=i[e](...n),d=s?Cs:t?Ps:Ss;return!t&&te(r,"iterate",u?os:De),{next(){const{value:y,done:E}=h.next();return E?{value:y,done:E}:{value:f?[d(y[0]),d(y[1])]:d(y),done:E}},[Symbol.iterator](){return this}}}}function Ce(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qi(){const e={get(r){return gt(this,r)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!1)},t={get(r){return gt(this,r,!1,!0)},get size(){return _t(this)},has:mt,add:Ys,set:Xs,delete:Zs,clear:Qs,forEach:xt(!1,!0)},s={get(r){return gt(this,r,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!1)},n={get(r){return gt(this,r,!0,!0)},get size(){return _t(this,!0)},has(r){return mt.call(this,r,!0)},add:Ce("add"),set:Ce("set"),delete:Ce("delete"),clear:Ce("clear"),forEach:xt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=bt(r,!1,!1),s[r]=bt(r,!0,!1),t[r]=bt(r,!1,!0),n[r]=bt(r,!0,!0)}),[e,s,t,n]}const[Gi,zi,Ji,Yi]=qi();function Ts(e,t){const s=t?e?Yi:Ji:e?zi:Gi;return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(R(s,i)&&i in n?s:n,i,r)}const Xi={get:Ts(!1,!1)},Zi={get:Ts(!1,!0)},Qi={get:Ts(!0,!1)};const $n=new WeakMap,Hn=new WeakMap,jn=new WeakMap,ki=new WeakMap;function er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tr(e){return e.__v_skip||!Object.isExtensible(e)?0:er(Ei(e))}function Is(e){return Tt(e)?e:Os(e,!1,Bi,Xi,$n)}function sr(e){return Os(e,!1,Wi,Zi,Hn)}function Dn(e){return Os(e,!0,Ki,Qi,jn)}function Os(e,t,s,n,i){if(!K(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const l=tr(e);if(l===0)return e;const f=new Proxy(e,l===2?n:s);return i.set(e,f),f}function tt(e){return Tt(e)?tt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function Vn(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function nr(e){return Object.isExtensible(e)&&Tn(e,"__v_skip",!0),e}const Ss=e=>K(e)?Is(e):e,Ps=e=>K(e)?Dn(e):e;class Un{constructor(t,s,n,i){this.getter=t,this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new vs(()=>t(this._value),()=>Jt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=N(this);return(!t._cacheable||t.effect.dirty)&&Ve(t._value,t._value=t.effect.run())&&Jt(t,4),rr(t),t.effect._dirtyLevel>=2&&Jt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ir(e,t,s=!1){let n,i;const r=P(e);return r?(n=e,i=oe):(n=e.get,i=e.set),new Un(n,i,r||!i,s)}function rr(e){var t;Se&&je&&(e=N(e),An(je,(t=e.dep)!=null?t:e.dep=Fn(()=>e.dep=void 0,e instanceof Un?e:void 0)))}function Jt(e,t=4,s){e=N(e);const n=e.dep;n&&Rn(n,t)}function ie(e){return!!(e&&e.__v_isRef===!0)}function or(e){return ie(e)?e.value:e}const lr={get:(e,t,s)=>or(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ie(i)&&!ie(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Bn(e){return tt(e)?e:new Proxy(e,lr)}/** +* @vue/runtime-core v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Pe(e,t,s,n){try{return n?e(...n):e()}catch(i){Mt(i,t,s)}}function ue(e,t,s,n){if(P(e)){const i=Pe(e,t,s,n);return i&&En(i)&&i.catch(r=>{Mt(r,t,s)}),i}if(S(e)){const i=[];for(let r=0;r>>1,i=X[n],r=ot(i);r_e&&X.splice(t,1)}function hr(e){S(e)?qe.push(...e):(!Te||!Te.includes(e,e.allowRecurse?He+1:He))&&qe.push(e),Wn()}function ks(e,t,s=rt?_e+1:0){for(;sot(s)-ot(n));if(qe.length=0,Te){Te.push(...t);return}for(Te=t,He=0;Hee.id==null?1/0:e.id,dr=(e,t)=>{const s=ot(e)-ot(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Gn(e){cs=!1,rt=!0,X.sort(dr);try{for(_e=0;_eJ(O)?O.trim():O)),y&&(i=s.map(Oi))}let f,u=n[f=Gt(t)]||n[f=Gt(Ge(t))];!u&&r&&(u=n[f=Gt(Je(t))]),u&&ue(u,e,6,i);const h=n[f+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,ue(h,e,6,i)}}function zn(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},f=!1;if(!P(e)){const u=h=>{const d=zn(h,t,!0);d&&(f=!0,z(l,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!f?(K(e)&&n.set(e,null),null):(S(r)?r.forEach(u=>l[u]=null):z(l,r),K(e)&&n.set(e,l),l)}function Lt(e,t){return!e||!Pt(t)?!1:(t=t.slice(2).replace(/Once$/,""),R(e,t[0].toLowerCase()+t.slice(1))||R(e,Je(t))||R(e,t))}let xe=null,Jn=null;function It(e){const t=xe;return xe=e,Jn=e&&e.type.__scopeId||null,t}function gr(e,t=xe,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&un(-1);const r=It(t);let l;try{l=e(...i)}finally{It(r),n._d&&un(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Yt(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:l,attrs:f,emit:u,render:h,renderCache:d,props:y,data:E,setupState:O,ctx:B,inheritAttrs:M}=e,se=It(e);let W,Y;try{if(s.shapeFlag&4){const q=i||n,re=q;W=me(h.call(re,q,d,y,O,E,B)),Y=f}else{const q=t;W=me(q.length>1?q(y,{attrs:f,slots:l,emit:u}):q(y,null)),Y=t.props?f:mr(f)}}catch(q){it.length=0,Mt(q,e,1),W=be(lt)}let $=W;if(Y&&M!==!1){const q=Object.keys(Y),{shapeFlag:re}=$;q.length&&re&7&&(r&&q.some(ms)&&(Y=_r(Y,r)),$=ze($,Y))}return s.dirs&&($=ze($),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&($.transition=s.transition),W=$,It(se),W}const mr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Pt(s))&&((t||(t={}))[s]=e[s]);return t},_r=(e,t)=>{const s={};for(const n in e)(!ms(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function xr(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:f,patchFlag:u}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?en(n,l,h):!!l;if(u&8){const d=t.dynamicProps;for(let y=0;ye.__isSuspense;function wr(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):hr(e)}const Er=Symbol.for("v-scx"),Cr=()=>wt(Er),yt={};function Xt(e,t,s){return Yn(e,t,s)}function Yn(e,t,{immediate:s,deep:n,flush:i,once:r,onTrack:l,onTrigger:f}=D){if(t&&r){const F=t;t=(...ye)=>{F(...ye),re()}}const u=k,h=F=>n===!0?F:Ke(F,n===!1?1:void 0);let d,y=!1,E=!1;if(ie(e)?(d=()=>e.value,y=ls(e)):tt(e)?(d=()=>h(e),y=!0):S(e)?(E=!0,y=e.some(F=>tt(F)||ls(F)),d=()=>e.map(F=>{if(ie(F))return F.value;if(tt(F))return h(F);if(P(F))return Pe(F,u,2)})):P(e)?t?d=()=>Pe(e,u,2):d=()=>(O&&O(),ue(e,u,3,[B])):d=oe,t&&n){const F=d;d=()=>Ke(F())}let O,B=F=>{O=$.onStop=()=>{Pe(F,u,4),O=$.onStop=void 0}},M;if(Vt)if(B=oe,t?s&&ue(t,u,3,[d(),E?[]:void 0,B]):d(),i==="sync"){const F=Cr();M=F.__watcherHandles||(F.__watcherHandles=[])}else return oe;let se=E?new Array(e.length).fill(yt):yt;const W=()=>{if(!(!$.active||!$.dirty))if(t){const F=$.run();(n||y||(E?F.some((ye,ae)=>Ve(ye,se[ae])):Ve(F,se)))&&(O&&O(),ue(t,u,3,[F,se===yt?void 0:E&&se[0]===yt?[]:se,B]),se=F)}else $.run()};W.allowRecurse=!!t;let Y;i==="sync"?Y=W:i==="post"?Y=()=>ee(W,u&&u.suspense):(W.pre=!0,u&&(W.id=u.uid),Y=()=>Rs(W));const $=new vs(d,oe,Y),q=$i(),re=()=>{$.stop(),q&&_s(q.effects,$)};return t?s?W():se=$.run():i==="post"?ee($.run.bind($),u&&u.suspense):$.run(),M&&M.push(re),re}function Tr(e,t,s){const n=this.proxy,i=J(e)?e.includes(".")?Xn(n,e):()=>n[e]:e.bind(n,n);let r;P(t)?r=t:(r=t.handler,s=t);const l=ut(this),f=Yn(i,r.bind(n),s);return l(),f}function Xn(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i0){if(s>=t)return e;s++}if(n=n||new Set,n.has(e))return e;if(n.add(e),ie(e))Ke(e.value,t,s,n);else if(S(e))for(let i=0;i{Ke(i,t,s,n)});else if(Ci(e))for(const i in e)Ke(e[i],t,s,n);return e}function Ne(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l!!e.type.__asyncLoader,Zn=e=>e.type.__isKeepAlive;function Ir(e,t){Qn(e,"a",t)}function Or(e,t){Qn(e,"da",t)}function Qn(e,t,s=k){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Nt(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Zn(i.parent.vnode)&&Sr(n,t,s,i),i=i.parent}}function Sr(e,t,s,n){const i=Nt(t,e,n,!0);kn(()=>{_s(n[t],i)},s)}function Nt(e,t,s=k,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{if(s.isUnmounted)return;Ae();const f=ut(s),u=ue(t,s,e,l);return f(),Re(),u});return n?i.unshift(r):i.push(r),r}}const Ee=e=>(t,s=k)=>(!Vt||e==="sp")&&Nt(e,(...n)=>t(...n),s),Pr=Ee("bm"),$t=Ee("m"),Ar=Ee("bu"),Rr=Ee("u"),Fr=Ee("bum"),kn=Ee("um"),Mr=Ee("sp"),Lr=Ee("rtg"),Nr=Ee("rtc");function $r(e,t=k){Nt("ec",e,t)}const fs=e=>e?di(e)?$s(e)||e.proxy:fs(e.parent):null,st=z(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=>fs(e.parent),$root:e=>fs(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Rs(e.update)}),$nextTick:e=>e.n||(e.n=fr.bind(e.proxy)),$watch:e=>Tr.bind(e)}),Zt=(e,t)=>e!==D&&!e.__isScriptSetup&&R(e,t),Hr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:f,appContext:u}=e;let h;if(t[0]!=="$"){const O=l[t];if(O!==void 0)switch(O){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Zt(n,t))return l[t]=1,n[t];if(i!==D&&R(i,t))return l[t]=2,i[t];if((h=e.propsOptions[0])&&R(h,t))return l[t]=3,r[t];if(s!==D&&R(s,t))return l[t]=4,s[t];us&&(l[t]=0)}}const d=st[t];let y,E;if(d)return t==="$attrs"&&te(e.attrs,"get",""),d(e);if((y=f.__cssModules)&&(y=y[t]))return y;if(s!==D&&R(s,t))return l[t]=4,s[t];if(E=u.config.globalProperties,R(E,t))return E[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Zt(i,t)?(i[t]=s,!0):n!==D&&R(n,t)?(n[t]=s,!0):R(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:r}},l){let f;return!!s[l]||e!==D&&R(e,l)||Zt(t,l)||(f=r[0])&&R(f,l)||R(n,l)||R(st,l)||R(i.config.globalProperties,l)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:R(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function tn(e){return S(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let us=!0;function jr(e){const t=Fs(e),s=e.proxy,n=e.ctx;us=!1,t.beforeCreate&&sn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:f,provide:u,inject:h,created:d,beforeMount:y,mounted:E,beforeUpdate:O,updated:B,activated:M,deactivated:se,beforeDestroy:W,beforeUnmount:Y,destroyed:$,unmounted:q,render:re,renderTracked:F,renderTriggered:ye,errorCaptured:ae,serverPrefetch:Ut,expose:Fe,inheritAttrs:Ye,components:at,directives:ht,filters:Bt}=t;if(h&&Dr(h,n,null),l)for(const V in l){const H=l[V];P(H)&&(n[V]=H.bind(s))}if(i){const V=i.call(s,s);K(V)&&(e.data=Is(V))}if(us=!0,r)for(const V in r){const H=r[V],Me=P(H)?H.bind(s,s):P(H.get)?H.get.bind(s,s):oe,dt=!P(H)&&P(H.set)?H.set.bind(s):oe,Le=xo({get:Me,set:dt});Object.defineProperty(n,V,{enumerable:!0,configurable:!0,get:()=>Le.value,set:he=>Le.value=he})}if(f)for(const V in f)ei(f[V],n,s,V);if(u){const V=P(u)?u.call(s):u;Reflect.ownKeys(V).forEach(H=>{qr(H,V[H])})}d&&sn(d,e,"c");function Z(V,H){S(H)?H.forEach(Me=>V(Me.bind(s))):H&&V(H.bind(s))}if(Z(Pr,y),Z($t,E),Z(Ar,O),Z(Rr,B),Z(Ir,M),Z(Or,se),Z($r,ae),Z(Nr,F),Z(Lr,ye),Z(Fr,Y),Z(kn,q),Z(Mr,Ut),S(Fe))if(Fe.length){const V=e.exposed||(e.exposed={});Fe.forEach(H=>{Object.defineProperty(V,H,{get:()=>s[H],set:Me=>s[H]=Me})})}else e.exposed||(e.exposed={});re&&e.render===oe&&(e.render=re),Ye!=null&&(e.inheritAttrs=Ye),at&&(e.components=at),ht&&(e.directives=ht)}function Dr(e,t,s=oe){S(e)&&(e=as(e));for(const n in e){const i=e[n];let r;K(i)?"default"in i?r=wt(i.from||n,i.default,!0):r=wt(i.from||n):r=wt(i),ie(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[n]=r}}function sn(e,t,s){ue(S(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ei(e,t,s,n){const i=n.includes(".")?Xn(s,n):()=>s[n];if(J(e)){const r=t[e];P(r)&&Xt(i,r)}else if(P(e))Xt(i,e.bind(s));else if(K(e))if(S(e))e.forEach(r=>ei(r,t,s,n));else{const r=P(e.handler)?e.handler.bind(s):t[e.handler];P(r)&&Xt(i,r,e)}}function Fs(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,f=r.get(t);let u;return f?u=f:!i.length&&!s&&!n?u=t:(u={},i.length&&i.forEach(h=>Ot(u,h,l,!0)),Ot(u,t,l)),K(t)&&r.set(t,u),u}function Ot(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Ot(e,r,s,!0),i&&i.forEach(l=>Ot(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const f=Vr[l]||s&&s[l];e[l]=f?f(e[l],t[l]):t[l]}return e}const Vr={data:nn,props:rn,emits:rn,methods:Qe,computed:Qe,beforeCreate:Q,created:Q,beforeMount:Q,mounted:Q,beforeUpdate:Q,updated:Q,beforeDestroy:Q,beforeUnmount:Q,destroyed:Q,unmounted:Q,activated:Q,deactivated:Q,errorCaptured:Q,serverPrefetch:Q,components:Qe,directives:Qe,watch:Br,provide:nn,inject:Ur};function nn(e,t){return t?e?function(){return z(P(e)?e.call(this,this):e,P(t)?t.call(this,this):t)}:t:e}function Ur(e,t){return Qe(as(e),as(t))}function as(e){if(S(e)){const t={};for(let s=0;s1)return s&&P(t)?t.call(n&&n.proxy):t}}const si={},ni=()=>Object.create(si),ii=e=>Object.getPrototypeOf(e)===si;function Gr(e,t,s,n=!1){const i={},r=ni();e.propsDefaults=Object.create(null),ri(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:sr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function zr(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,f=N(i),[u]=e.propsOptions;let h=!1;if((n||l>0)&&!(l&16)){if(l&8){const d=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[E,O]=oi(y,t,!0);z(l,E),O&&f.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return K(e)&&n.set(e,We),We;if(S(r))for(let d=0;d-1,O[1]=M<0||B-1||R(O,"default"))&&f.push(y)}}}const h=[l,f];return K(e)&&n.set(e,h),h}function on(e){return e[0]!=="$"&&!et(e)}function ln(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cn(e,t){return ln(e)===ln(t)}function fn(e,t){return S(t)?t.findIndex(s=>cn(s,e)):P(t)&&cn(t,e)?0:-1}const li=e=>e[0]==="_"||e==="$stable",Ms=e=>S(e)?e.map(me):[me(e)],Jr=(e,t,s)=>{if(t._n)return t;const n=gr((...i)=>Ms(t(...i)),s);return n._c=!1,n},ci=(e,t,s)=>{const n=e._ctx;for(const i in e){if(li(i))continue;const r=e[i];if(P(r))t[i]=Jr(i,r,n);else if(r!=null){const l=Ms(r);t[i]=()=>l}}},fi=(e,t)=>{const s=Ms(t);e.slots.default=()=>s},Yr=(e,t)=>{const s=e.slots=ni();if(e.vnode.shapeFlag&32){const n=t._;n?(z(s,t),Tn(s,"_",n)):ci(t,s)}else t&&fi(e,t)},Xr=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=D;if(n.shapeFlag&32){const f=t._;f?s&&f===1?r=!1:(z(i,t),!s&&f===1&&delete i._):(r=!t.$stable,ci(t,i)),l=t}else t&&(fi(e,t),l={default:1});if(r)for(const f in i)!li(f)&&l[f]==null&&delete i[f]};function ds(e,t,s,n,i=!1){if(S(e)){e.forEach((E,O)=>ds(E,t&&(S(t)?t[O]:t),s,n,i));return}if(vt(n)&&!i)return;const r=n.shapeFlag&4?$s(n.component)||n.component.proxy:n.el,l=i?null:r,{i:f,r:u}=e,h=t&&t.r,d=f.refs===D?f.refs={}:f.refs,y=f.setupState;if(h!=null&&h!==u&&(J(h)?(d[h]=null,R(y,h)&&(y[h]=null)):ie(h)&&(h.value=null)),P(u))Pe(u,f,12,[l,d]);else{const E=J(u),O=ie(u);if(E||O){const B=()=>{if(e.f){const M=E?R(y,u)?y[u]:d[u]:u.value;i?S(M)&&_s(M,r):S(M)?M.includes(r)||M.push(r):E?(d[u]=[r],R(y,u)&&(y[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else E?(d[u]=l,R(y,u)&&(y[u]=l)):O&&(u.value=l,e.k&&(d[e.k]=l))};l?(B.id=-1,ee(B,s)):B()}}}const ee=wr;function Zr(e){return Qr(e)}function Qr(e,t){const s=In();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:f,createComment:u,setText:h,setElementText:d,parentNode:y,nextSibling:E,setScopeId:O=oe,insertStaticContent:B}=e,M=(o,c,a,p=null,g=null,x=null,v=void 0,_=null,b=!!c.dynamicChildren)=>{if(o===c)return;o&&!Ze(o,c)&&(p=pt(o),he(o,g,x,!0),o=null),c.patchFlag===-2&&(b=!1,c.dynamicChildren=null);const{type:m,ref:w,shapeFlag:T}=c;switch(m){case Ht:se(o,c,a,p);break;case lt:W(o,c,a,p);break;case kt:o==null&&Y(c,a,p,v);break;case ge:at(o,c,a,p,g,x,v,_,b);break;default:T&1?re(o,c,a,p,g,x,v,_,b):T&6?ht(o,c,a,p,g,x,v,_,b):(T&64||T&128)&&m.process(o,c,a,p,g,x,v,_,b,Ue)}w!=null&&g&&ds(w,o&&o.ref,x,c||o,!c)},se=(o,c,a,p)=>{if(o==null)n(c.el=f(c.children),a,p);else{const g=c.el=o.el;c.children!==o.children&&h(g,c.children)}},W=(o,c,a,p)=>{o==null?n(c.el=u(c.children||""),a,p):c.el=o.el},Y=(o,c,a,p)=>{[o.el,o.anchor]=B(o.children,c,a,p,o.el,o.anchor)},$=({el:o,anchor:c},a,p)=>{let g;for(;o&&o!==c;)g=E(o),n(o,a,p),o=g;n(c,a,p)},q=({el:o,anchor:c})=>{let a;for(;o&&o!==c;)a=E(o),i(o),o=a;i(c)},re=(o,c,a,p,g,x,v,_,b)=>{c.type==="svg"?v="svg":c.type==="math"&&(v="mathml"),o==null?F(c,a,p,g,x,v,_,b):Ut(o,c,g,x,v,_,b)},F=(o,c,a,p,g,x,v,_)=>{let b,m;const{props:w,shapeFlag:T,transition:C,dirs:I}=o;if(b=o.el=l(o.type,x,w&&w.is,w),T&8?d(b,o.children):T&16&&ae(o.children,b,null,p,g,Qt(o,x),v,_),I&&Ne(o,null,p,"created"),ye(b,o,o.scopeId,v,p),w){for(const L in w)L!=="value"&&!et(L)&&r(b,L,null,w[L],x,o.children,p,g,ve);"value"in w&&r(b,"value",null,w.value,x),(m=w.onVnodeBeforeMount)&&pe(m,p,o)}I&&Ne(o,null,p,"beforeMount");const A=kr(g,C);A&&C.beforeEnter(b),n(b,c,a),((m=w&&w.onVnodeMounted)||A||I)&&ee(()=>{m&&pe(m,p,o),A&&C.enter(b),I&&Ne(o,null,p,"mounted")},g)},ye=(o,c,a,p,g)=>{if(a&&O(o,a),p)for(let x=0;x{for(let m=b;m{const _=c.el=o.el;let{patchFlag:b,dynamicChildren:m,dirs:w}=c;b|=o.patchFlag&16;const T=o.props||D,C=c.props||D;let I;if(a&&$e(a,!1),(I=C.onVnodeBeforeUpdate)&&pe(I,a,c,o),w&&Ne(c,o,a,"beforeUpdate"),a&&$e(a,!0),m?Fe(o.dynamicChildren,m,_,a,p,Qt(c,g),x):v||H(o,c,_,null,a,p,Qt(c,g),x,!1),b>0){if(b&16)Ye(_,c,T,C,a,p,g);else if(b&2&&T.class!==C.class&&r(_,"class",null,C.class,g),b&4&&r(_,"style",T.style,C.style,g),b&8){const A=c.dynamicProps;for(let L=0;L{I&&pe(I,a,c,o),w&&Ne(c,o,a,"updated")},p)},Fe=(o,c,a,p,g,x,v)=>{for(let _=0;_{if(a!==p){if(a!==D)for(const _ in a)!et(_)&&!(_ in p)&&r(o,_,a[_],null,v,c.children,g,x,ve);for(const _ in p){if(et(_))continue;const b=p[_],m=a[_];b!==m&&_!=="value"&&r(o,_,m,b,v,c.children,g,x,ve)}"value"in p&&r(o,"value",a.value,p.value,v)}},at=(o,c,a,p,g,x,v,_,b)=>{const m=c.el=o?o.el:f(""),w=c.anchor=o?o.anchor:f("");let{patchFlag:T,dynamicChildren:C,slotScopeIds:I}=c;I&&(_=_?_.concat(I):I),o==null?(n(m,a,p),n(w,a,p),ae(c.children||[],a,w,g,x,v,_,b)):T>0&&T&64&&C&&o.dynamicChildren?(Fe(o.dynamicChildren,C,a,g,x,v,_),(c.key!=null||g&&c===g.subTree)&&ui(o,c,!0)):H(o,c,a,w,g,x,v,_,b)},ht=(o,c,a,p,g,x,v,_,b)=>{c.slotScopeIds=_,o==null?c.shapeFlag&512?g.ctx.activate(c,a,p,v,b):Bt(c,a,p,g,x,v,b):Ds(o,c,b)},Bt=(o,c,a,p,g,x,v)=>{const _=o.component=ao(o,p,g);if(Zn(o)&&(_.ctx.renderer=Ue),ho(_),_.asyncDep){if(g&&g.registerDep(_,Z),!o.el){const b=_.subTree=be(lt);W(null,b,c,a)}}else Z(_,o,c,a,g,x,v)},Ds=(o,c,a)=>{const p=c.component=o.component;if(xr(o,c,a))if(p.asyncDep&&!p.asyncResolved){V(p,c,a);return}else p.next=c,ar(p.update),p.effect.dirty=!0,p.update();else c.el=o.el,p.vnode=c},Z=(o,c,a,p,g,x,v)=>{const _=()=>{if(o.isMounted){let{next:w,bu:T,u:C,parent:I,vnode:A}=o;{const Be=ai(o);if(Be){w&&(w.el=A.el,V(o,w,v)),Be.asyncDep.then(()=>{o.isUnmounted||_()});return}}let L=w,j;$e(o,!1),w?(w.el=A.el,V(o,w,v)):w=A,T&&zt(T),(j=w.props&&w.props.onVnodeBeforeUpdate)&&pe(j,I,w,A),$e(o,!0);const G=Yt(o),le=o.subTree;o.subTree=G,M(le,G,y(le.el),pt(le),o,g,x),w.el=G.el,L===null&&br(o,G.el),C&&ee(C,g),(j=w.props&&w.props.onVnodeUpdated)&&ee(()=>pe(j,I,w,A),g)}else{let w;const{el:T,props:C}=c,{bm:I,m:A,parent:L}=o,j=vt(c);if($e(o,!1),I&&zt(I),!j&&(w=C&&C.onVnodeBeforeMount)&&pe(w,L,c),$e(o,!0),T&&qt){const G=()=>{o.subTree=Yt(o),qt(T,o.subTree,o,g,null)};j?c.type.__asyncLoader().then(()=>!o.isUnmounted&&G()):G()}else{const G=o.subTree=Yt(o);M(null,G,a,p,o,g,x),c.el=G.el}if(A&&ee(A,g),!j&&(w=C&&C.onVnodeMounted)){const G=c;ee(()=>pe(w,L,G),g)}(c.shapeFlag&256||L&&vt(L.vnode)&&L.vnode.shapeFlag&256)&&o.a&&ee(o.a,g),o.isMounted=!0,c=a=p=null}},b=o.effect=new vs(_,oe,()=>Rs(m),o.scope),m=o.update=()=>{b.dirty&&b.run()};m.id=o.uid,$e(o,!0),m()},V=(o,c,a)=>{c.component=o;const p=o.vnode.props;o.vnode=c,o.next=null,zr(o,c.props,p,a),Xr(o,c.children,a),Ae(),ks(o),Re()},H=(o,c,a,p,g,x,v,_,b=!1)=>{const m=o&&o.children,w=o?o.shapeFlag:0,T=c.children,{patchFlag:C,shapeFlag:I}=c;if(C>0){if(C&128){dt(m,T,a,p,g,x,v,_,b);return}else if(C&256){Me(m,T,a,p,g,x,v,_,b);return}}I&8?(w&16&&ve(m,g,x),T!==m&&d(a,T)):w&16?I&16?dt(m,T,a,p,g,x,v,_,b):ve(m,g,x,!0):(w&8&&d(a,""),I&16&&ae(T,a,p,g,x,v,_,b))},Me=(o,c,a,p,g,x,v,_,b)=>{o=o||We,c=c||We;const m=o.length,w=c.length,T=Math.min(m,w);let C;for(C=0;Cw?ve(o,g,x,!0,!1,T):ae(c,a,p,g,x,v,_,b,T)},dt=(o,c,a,p,g,x,v,_,b)=>{let m=0;const w=c.length;let T=o.length-1,C=w-1;for(;m<=T&&m<=C;){const I=o[m],A=c[m]=b?Ie(c[m]):me(c[m]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;m++}for(;m<=T&&m<=C;){const I=o[T],A=c[C]=b?Ie(c[C]):me(c[C]);if(Ze(I,A))M(I,A,a,null,g,x,v,_,b);else break;T--,C--}if(m>T){if(m<=C){const I=C+1,A=IC)for(;m<=T;)he(o[m],g,x,!0),m++;else{const I=m,A=m,L=new Map;for(m=A;m<=C;m++){const ne=c[m]=b?Ie(c[m]):me(c[m]);ne.key!=null&&L.set(ne.key,m)}let j,G=0;const le=C-A+1;let Be=!1,Bs=0;const Xe=new Array(le);for(m=0;m=le){he(ne,g,x,!0);continue}let de;if(ne.key!=null)de=L.get(ne.key);else for(j=A;j<=C;j++)if(Xe[j-A]===0&&Ze(ne,c[j])){de=j;break}de===void 0?he(ne,g,x,!0):(Xe[de-A]=m+1,de>=Bs?Bs=de:Be=!0,M(ne,c[de],a,null,g,x,v,_,b),G++)}const Ks=Be?eo(Xe):We;for(j=Ks.length-1,m=le-1;m>=0;m--){const ne=A+m,de=c[ne],Ws=ne+1{const{el:x,type:v,transition:_,children:b,shapeFlag:m}=o;if(m&6){Le(o.component.subTree,c,a,p);return}if(m&128){o.suspense.move(c,a,p);return}if(m&64){v.move(o,c,a,Ue);return}if(v===ge){n(x,c,a);for(let T=0;T_.enter(x),g);else{const{leave:T,delayLeave:C,afterLeave:I}=_,A=()=>n(x,c,a),L=()=>{T(x,()=>{A(),I&&I()})};C?C(x,A,L):L()}else n(x,c,a)},he=(o,c,a,p=!1,g=!1)=>{const{type:x,props:v,ref:_,children:b,dynamicChildren:m,shapeFlag:w,patchFlag:T,dirs:C}=o;if(_!=null&&ds(_,null,a,o,!0),w&256){c.ctx.deactivate(o);return}const I=w&1&&C,A=!vt(o);let L;if(A&&(L=v&&v.onVnodeBeforeUnmount)&&pe(L,c,o),w&6)mi(o.component,a,p);else{if(w&128){o.suspense.unmount(a,p);return}I&&Ne(o,null,c,"beforeUnmount"),w&64?o.type.remove(o,c,a,g,Ue,p):m&&(x!==ge||T>0&&T&64)?ve(m,c,a,!1,!0):(x===ge&&T&384||!g&&w&16)&&ve(b,c,a),p&&Vs(o)}(A&&(L=v&&v.onVnodeUnmounted)||I)&&ee(()=>{L&&pe(L,c,o),I&&Ne(o,null,c,"unmounted")},a)},Vs=o=>{const{type:c,el:a,anchor:p,transition:g}=o;if(c===ge){gi(a,p);return}if(c===kt){q(o);return}const x=()=>{i(a),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(o.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:_}=g,b=()=>v(a,x);_?_(o.el,x,b):b()}else x()},gi=(o,c)=>{let a;for(;o!==c;)a=E(o),i(o),o=a;i(c)},mi=(o,c,a)=>{const{bum:p,scope:g,update:x,subTree:v,um:_}=o;p&&zt(p),g.stop(),x&&(x.active=!1,he(v,o,c,a)),_&&ee(_,c),ee(()=>{o.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&o.asyncDep&&!o.asyncResolved&&o.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},ve=(o,c,a,p=!1,g=!1,x=0)=>{for(let v=x;vo.shapeFlag&6?pt(o.component.subTree):o.shapeFlag&128?o.suspense.next():E(o.anchor||o.el);let Kt=!1;const Us=(o,c,a)=>{o==null?c._vnode&&he(c._vnode,null,null,!0):M(c._vnode||null,o,c,null,null,null,a),Kt||(Kt=!0,ks(),qn(),Kt=!1),c._vnode=o},Ue={p:M,um:he,m:Le,r:Vs,mt:Bt,mc:ae,pc:H,pbc:Fe,n:pt,o:e};let Wt,qt;return t&&([Wt,qt]=t(Ue)),{render:Us,hydrate:Wt,createApp:Wr(Us,Wt)}}function Qt({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function $e({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ui(e,t,s=!1){const n=e.children,i=t.children;if(S(n)&&S(i))for(let r=0;r>1,e[s[f]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}function ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ai(t)}const to=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),Ht=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),it=[];let fe=null;function jt(e=!1){it.push(fe=e?null:[])}function so(){it.pop(),fe=it[it.length-1]||null}let ct=1;function un(e){ct+=e}function no(e){return e.dynamicChildren=ct>0?fe||We:null,so(),ct>0&&fe&&fe.push(e),e}function Dt(e,t,s,n,i,r){return no(Ls(e,t,s,n,i,r,!0))}function io(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const hi=({key:e})=>e??null,Et=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ie(e)||P(e)?{i:xe,r:e,k:t,f:!!s}:e:null);function Ls(e,t=null,s=null,n=0,i=null,r=e===ge?0:1,l=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hi(t),ref:t&&Et(t),scopeId:Jn,slotScopeIds:null,children:s,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return f?(Ns(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=J(s)?8:16),ct>0&&!l&&fe&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&fe.push(u),u}const be=ro;function ro(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===yr)&&(e=lt),io(e)){const f=ze(e,t,!0);return s&&Ns(f,s),ct>0&&!r&&fe&&(f.shapeFlag&6?fe[fe.indexOf(e)]=f:fe.push(f)),f.patchFlag|=-2,f}if(_o(e)&&(e=e.__vccOpts),t){t=oo(t);let{class:f,style:u}=t;f&&!J(f)&&(t.class=ys(f)),K(u)&&(Vn(u)&&!S(u)&&(u=z({},u)),t.style=bs(u))}const l=J(e)?1:vr(e)?128:to(e)?64:K(e)?4:P(e)?2:0;return Ls(e,t,s,n,i,l,r,!0)}function oo(e){return e?Vn(e)||ii(e)?z({},e):e:null}function ze(e,t,s=!1){const{props:n,ref:i,patchFlag:r,children:l}=e,f=t?co(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&hi(f),ref:t&&t.ref?s&&i?S(i)?i.concat(Et(t)):[i,Et(t)]:Et(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ze(e.ssContent),ssFallback:e.ssFallback&&ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function lo(e=" ",t=0){return be(Ht,null,e,t)}function me(e){return e==null||typeof e=="boolean"?be(lt):S(e)?be(ge,null,e.slice()):typeof e=="object"?Ie(e):be(Ht,null,String(e))}function Ie(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ze(e)}function Ns(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(S(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ns(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!ii(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else P(t)?(t={default:t,_ctx:xe},s=32):(t=String(t),n&64?(s=16,t=[lo(t)]):s=8);e.children=t,e.shapeFlag|=s}function co(...e){const t={};for(let s=0;s{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};St=t("__VUE_INSTANCE_SETTERS__",s=>k=s),ps=t("__VUE_SSR_SETTERS__",s=>Vt=s)}const ut=e=>{const t=k;return St(e),e.scope.on(),()=>{e.scope.off(),St(t)}},an=()=>{k&&k.scope.off(),St(null)};function di(e){return e.vnode.shapeFlag&4}let Vt=!1;function ho(e,t=!1){t&&ps(t);const{props:s,children:n}=e.vnode,i=di(e);Gr(e,s,i,t),Yr(e,n);const r=i?po(e,t):void 0;return t&&ps(!1),r}function po(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hr);const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?mo(e):null,r=ut(e);Ae();const l=Pe(n,e,0,[e.props,i]);if(Re(),r(),En(l)){if(l.then(an,an),t)return l.then(f=>{hn(e,f,t)}).catch(f=>{Mt(f,e,0)});e.asyncDep=l}else hn(e,l,t)}else pi(e,t)}function hn(e,t,s){P(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:K(t)&&(e.setupState=Bn(t)),pi(e,s)}let dn;function pi(e,t,s){const n=e.type;if(!e.render){if(!t&&dn&&!n.render){const i=n.template||Fs(e).template;if(i){const{isCustomElement:r,compilerOptions:l}=e.appContext.config,{delimiters:f,compilerOptions:u}=n,h=z(z({isCustomElement:r,delimiters:f},l),u);n.render=dn(i,h)}}e.render=n.render||oe}{const i=ut(e);Ae();try{jr(e)}finally{Re(),i()}}}const go={get(e,t){return te(e,"get",""),e[t]}};function mo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,go),slots:e.slots,emit:e.emit,expose:t}}function $s(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bn(nr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in st)return st[s](e)},has(t,s){return s in t||s in st}}))}function _o(e){return P(e)&&"__vccOpts"in e}const xo=(e,t)=>ir(e,t,Vt),bo="3.4.25";/** +* @vue/runtime-dom v3.4.25 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const yo="http://www.w3.org/2000/svg",vo="http://www.w3.org/1998/Math/MathML",Oe=typeof document<"u"?document:null,pn=Oe&&Oe.createElement("template"),wo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Oe.createElementNS(yo,e):t==="mathml"?Oe.createElementNS(vo,e):Oe.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Oe.createTextNode(e),createComment:e=>Oe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Oe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{pn.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const f=pn.content;if(n==="svg"||n==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Eo=Symbol("_vtc");function Co(e,t,s){const n=e[Eo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const gn=Symbol("_vod"),To=Symbol("_vsh"),Io=Symbol(""),Oo=/(^|;)\s*display\s*:/;function So(e,t,s){const n=e.style,i=J(s);let r=!1;if(s&&!i){if(t)if(J(t))for(const l of t.split(";")){const f=l.slice(0,l.indexOf(":")).trim();s[f]==null&&Ct(n,f,"")}else for(const l in t)s[l]==null&&Ct(n,l,"");for(const l in s)l==="display"&&(r=!0),Ct(n,l,s[l])}else if(i){if(t!==s){const l=n[Io];l&&(s+=";"+l),n.cssText=s,r=Oo.test(s)}}else t&&e.removeAttribute("style");gn in e&&(e[gn]=r?n.display:"",e[To]&&(n.display="none"))}const mn=/\s*!important$/;function Ct(e,t,s){if(S(s))s.forEach(n=>Ct(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Po(e,t);mn.test(s)?e.setProperty(Je(n),s.replace(mn,""),"important"):e[n]=s}}const _n=["Webkit","Moz","ms"],es={};function Po(e,t){const s=es[t];if(s)return s;let n=Ge(t);if(n!=="filter"&&n in e)return es[t]=n;n=Cn(n);for(let i=0;i<_n.length;i++){const r=_n[i]+n;if(r in e)return es[t]=r}return t}const xn="http://www.w3.org/1999/xlink";function Ao(e,t,s,n,i){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(xn,t.slice(6,t.length)):e.setAttributeNS(xn,t,s);else{const r=Mi(t);s==null||r&&!On(s)?e.removeAttribute(t):e.setAttribute(t,r?"":s)}}function Ro(e,t,s,n,i,r,l){if(t==="innerHTML"||t==="textContent"){n&&l(n,i,r),e[t]=s??"";return}const f=e.tagName;if(t==="value"&&f!=="PROGRESS"&&!f.includes("-")){const h=f==="OPTION"?e.getAttribute("value")||"":e.value,d=s??"";(h!==d||!("_value"in e))&&(e.value=d),s==null&&e.removeAttribute(t),e._value=s;return}let u=!1;if(s===""||s==null){const h=typeof e[t];h==="boolean"?s=On(s):s==null&&h==="string"?(s="",u=!0):h==="number"&&(s=0,u=!0)}try{e[t]=s}catch{}u&&e.removeAttribute(t)}function Fo(e,t,s,n){e.addEventListener(t,s,n)}function Mo(e,t,s,n){e.removeEventListener(t,s,n)}const bn=Symbol("_vei");function Lo(e,t,s,n,i=null){const r=e[bn]||(e[bn]={}),l=r[t];if(n&&l)l.value=n;else{const[f,u]=No(t);if(n){const h=r[t]=jo(n,i);Fo(e,f,h,u)}else l&&(Mo(e,f,l,u),r[t]=void 0)}}const yn=/(?:Once|Passive|Capture)$/;function No(e){let t;if(yn.test(e)){t={};let n;for(;n=e.match(yn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let ts=0;const $o=Promise.resolve(),Ho=()=>ts||($o.then(()=>ts=0),ts=Date.now());function jo(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ue(Do(n,s.value),t,5,[n])};return s.value=e,s.attached=Ho(),s}function Do(e,t){if(S(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vo=(e,t,s,n,i,r,l,f,u)=>{const h=i==="svg";t==="class"?Co(e,n,h):t==="style"?So(e,s,n):Pt(t)?ms(t)||Lo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Uo(e,t,n,h))?Ro(e,t,n,r,l,f,u):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Ao(e,t,n,h))};function Uo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&vn(t)&&P(s));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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return vn(t)&&J(s)?!1:t in e}const Bo=z({patchProp:Vo},wo);let wn;function Ko(){return wn||(wn=Zr(Bo))}const Wo=(...e)=>{const t=Ko().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Go(n);if(!i)return;const r=t._component;!P(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const l=s(i,!1,qo(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t};function qo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Go(e){return J(e)?document.querySelector(e):e}var zo=class{constructor(e,t,s){U(this,"width");U(this,"height");U(this,"pixels");this.width=e,this.height=t,this.pixels=s}getPixelAt(e,t){const s=t*this.width*4+e*4;return[this.pixels[s],this.pixels[s+1],this.pixels[s+2],+(this.pixels[s+3]/255).toFixed(2)]}},Hs=class{constructor(){U(this,"canvas");U(this,"ctx");U(this,"isInit");this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.isInit=!1}init(){this.isInit||(this.initCanvas(),this.isInit=!0)}getBitmap(){this.init(),this.draw();const{width:e,height:t}=this.canvas,s=this.ctx.getImageData(0,0,e,t).data;return new zo(e,t,s)}},Jo=class extends Hs{constructor(t){super();U(this,"img");U(this,"width");U(this,"height");this.img=t.img,this.width=t.width,this.height=t.height}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.img,0,0,this.img.width,this.img.height,0,0,this.width,this.height)}},Yo=class extends Hs{constructor(t){super();U(this,"option");this.option=t}initCanvas(){this.canvas.width=this.option.text.length*this.option.fontSize,this.canvas.height=this.option.fontSize,this.ctx.font=`bold ${this.option.fontSize}px ${this.option.fontFamily}`,this.ctx.fillStyle="#000",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}draw(){this.ctx.fillText(this.option.text,this.canvas.width/2,this.canvas.height/2)}},Xo=class extends Hs{constructor(t){super();U(this,"video");U(this,"width");U(this,"height");this.video=t.video,this.width=t.width,this.height=t.height,this.video.muted=this.video.loop=!0,this.video.play()}initCanvas(){this.canvas.width=this.width,this.canvas.height=this.height}draw(){this.ctx.drawImage(this.video,0,0,this.video.videoWidth,this.video.videoHeight,0,0,this.width,this.height)}};function ss(e){if(e.text)return new Yo(e);if(e.img)return new Jo(e);if(e.video)return new Xo(e);throw new TypeError("invalid source options")}var Zo=class{constructor(e){U(this,"replaceText");U(this,"raduis");U(this,"source");U(this,"isDynamic");U(this,"canvas");U(this,"ctx");U(this,"textIndex");U(this,"isGray");U(this,"raqId");this.replaceText=e.replaceText,this.raduis=e.raduis,this.source=e.source,this.isGray=e.isGray,this.isDynamic=e.isDynamic,this.canvas=e.canvas,this.ctx=this.canvas.getContext("2d"),this.textIndex=0,this.raqId=0,this.initContext()}fps(){this.isDynamic?this.raqId=requestAnimationFrame(()=>{this.draw(),this.fps()}):this.draw()}stop(){cancelAnimationFrame(this.raqId),this.raqId=0}initContext(){this.ctx.font="bold 12px 'Roboto Mono' 'Microsoft YaHei' '微软雅黑' 'sans-serif'",this.ctx.textAlign="center",this.ctx.textBaseline="middle"}drawText(e,t,s){let[n,i,r,l]=s;if(!l)return;this.isGray&&(n=i=r=.2126*n+.7152*i+.0722*r),this.ctx.fillStyle=`rgba(${n},${i},${r},${l})`;const f=this.replaceText[this.textIndex];this.textIndex=(this.textIndex+1)%this.replaceText.length,this.ctx.fillText(f,e,t)}draw(){const e=this.source.getBitmap();this.canvas.width=e.width,this.canvas.height=e.height,this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);for(let t=0;t{const n=new Image;n.onload=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}function el(e){return new Promise((t,s)=>{const n=document.createElement("video");n.oncanplay=function(){t(n)},n.onerror=function(i){s(i)},n.src=e})}async function js(e){Qo(e);let t,s={...e};if(e.source.text)s.source=ss({fontFamily:e.source.fontFamily||"Microsoft YaHei",text:e.source.text,fontSize:e.source.fontSize||200});else if(e.source.img){const n=await ko(e.source.img);let i=e.source.width||n.width,r=e.source.height||n.height;e.source.width&&!e.source.height?r=i/n.width*n.height:e.source.height&&!e.source.width&&(i=r/n.height*n.width),s.source=ss({img:n,width:i,height:r})}else if(e.source.video){const n=await el(e.source.video);let i=e.source.width||n.videoWidth,r=e.source.height||n.videoHeight;e.source.width&&!e.source.height?r=i/n.videoWidth*n.videoHeight:e.source.height&&!e.source.width&&(i=r/n.videoHeight*n.videoWidth),s.source=ss({video:n,width:i,height:r}),s.isDynamic=!0}return t=new Zo(s),t.fps(),{start(){t.fps()},stop(){t.stop()}}}const tl=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},sl={id:"canvas1",style:{width:"1000px",margin:"0 auto"}},nl={__name:"TextDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas1"),source:{text:"Text Image",width:500,height:300}})}),(t,s)=>(jt(),Dt("canvas",sl))}},il=tl(nl,[["__scopeId","data-v-1387edcf"]]),rl={id:"canvas2"},ol={__name:"ImageDemo",setup(e){return $t(()=>{const t=document.querySelector("#canvas2");console.log(t),js({canvas:t,raduis:7,isGray:!0,source:{img:"./1.png",width:800,height:700}})}),(t,s)=>(jt(),Dt("canvas",rl))}},ll={id:"canvas3"},cl={__name:"VideoDemo",setup(e){return $t(()=>{js({canvas:document.querySelector("#canvas3"),replaceText:"6",source:{video:"./1.mp4",width:500,height:700}})}),(t,s)=>(jt(),Dt("canvas",ll))}},fl={style:{display:"flex","justify-content":"space-between","margin-top":"10px"}},ul={__name:"App",setup(e){return(t,s)=>(jt(),Dt(ge,null,[be(il),Ls("div",fl,[be(ol),be(cl)])],64))}};Wo(ul).mount("#app"); diff --git a/index.html b/index.html new file mode 100644 index 0000000..f19d026 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite + Vue + TS + + + + +
+ + diff --git a/vite.svg b/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file