UNPKG

vue-simple-context-menu

Version:

Simple context-menu component built for Vue. Works well with both left and right clicks. Nothing too fancy, just works and is simple to use.

1 lines 60.3 kB
const wr=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerpolicy&&(i.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?i.credentials="include":r.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}};wr();function Cn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const D={},Je=[],he=()=>{},Cr=()=>!1,Er=/^on[^a-z]/,Ht=e=>Er.test(e),En=e=>e.startsWith("onUpdate:"),Z=Object.assign,On=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Or=Object.prototype.hasOwnProperty,j=(e,t)=>Or.call(e,t),M=Array.isArray,Ye=e=>Kt(e)==="[object Map]",Ts=e=>Kt(e)==="[object Set]",I=e=>typeof e=="function",z=e=>typeof e=="string",Bt=e=>typeof e=="symbol",k=e=>e!==null&&typeof e=="object",As=e=>(k(e)||I(e))&&I(e.then)&&I(e.catch),Ms=Object.prototype.toString,Kt=e=>Ms.call(e),Tr=e=>Kt(e).slice(8,-1),Ps=e=>Kt(e)==="[object Object]",Tn=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Cn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ar=/-(\w)/g,Ce=Dt(e=>e.replace(Ar,(t,n)=>n?n.toUpperCase():"")),Mr=/\B([A-Z])/g,tt=Dt(e=>e.replace(Mr,"-$1").toLowerCase()),$t=Dt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gt=Dt(e=>e?`on${$t(e)}`:""),Qe=(e,t)=>!Object.is(e,t),en=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Ft=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Pr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Jn;const ln=()=>Jn||(Jn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function An(e){if(M(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=z(s)?Sr(s):An(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(z(e)||k(e))return e}const Ir=/;(?![^(]*\))/g,Rr=/:([^]+)/,Fr=/\/\*[^]*?\*\//g;function Sr(e){const t={};return e.replace(Fr,"").split(Ir).forEach(n=>{if(n){const s=n.split(Rr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function kt(e){let t="";if(z(e))t=e;else if(M(e))for(let n=0;n<e.length;n++){const s=kt(e[n]);s&&(t+=s+" ")}else if(k(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const jr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nr=Cn(jr);function Is(e){return!!e||e===""}const Yn=e=>z(e)?e:e==null?"":M(e)||k(e)&&(e.toString===Ms||!I(e.toString))?JSON.stringify(e,Rs,2):String(e),Rs=(e,t)=>t&&t.__v_isRef?Rs(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ts(t)?{[`Set(${t.size})`]:[...t.values()]}:k(t)&&!M(t)&&!Ps(t)?String(t):t;let fe;class Lr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=fe,!t&&fe&&(this.index=(fe.scopes||(fe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=fe;try{return fe=this,t()}finally{fe=n}}}on(){fe=this}off(){fe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Hr(e,t=fe){t&&t.active&&t.effects.push(e)}function Br(){return fe}const Mn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Fs=e=>(e.w&Se)>0,Ss=e=>(e.n&Se)>0,Kr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Se},Dr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Fs(r)&&!Ss(r)?r.delete(e):t[n++]=r,r.w&=~Se,r.n&=~Se}t.length=n}},cn=new WeakMap;let lt=0,Se=1;const un=30;let ae;const ke=Symbol(""),fn=Symbol("");class Pn{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Hr(this,s)}run(){if(!this.active)return this.fn();let t=ae,n=Re;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ae,ae=this,Re=!0,Se=1<<++lt,lt<=un?Kr(this):Xn(this),this.fn()}finally{lt<=un&&Dr(this),Se=1<<--lt,ae=this.parent,Re=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ae===this?this.deferStop=!0:this.active&&(Xn(this),this.onStop&&this.onStop(),this.active=!1)}}function Xn(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Re=!0;const js=[];function nt(){js.push(Re),Re=!1}function st(){const e=js.pop();Re=e===void 0?!0:e}function ie(e,t,n){if(Re&&ae){let s=cn.get(e);s||cn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Mn()),Ns(r)}}function Ns(e,t){let n=!1;lt<=un?Ss(e)||(e.n|=Se,n=!Fs(e)):n=!e.has(ae),n&&(e.add(ae),ae.deps.push(e))}function Ae(e,t,n,s,r,i){const o=cn.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&M(e)){const f=Number(s);o.forEach((a,h)=>{(h==="length"||!Bt(h)&&h>=f)&&c.push(a)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":M(e)?Tn(n)&&c.push(o.get("length")):(c.push(o.get(ke)),Ye(e)&&c.push(o.get(fn)));break;case"delete":M(e)||(c.push(o.get(ke)),Ye(e)&&c.push(o.get(fn)));break;case"set":Ye(e)&&c.push(o.get(ke));break}if(c.length===1)c[0]&&an(c[0]);else{const f=[];for(const a of c)a&&f.push(...a);an(Mn(f))}}function an(e,t){const n=M(e)?e:[...e];for(const s of n)s.computed&&Zn(s);for(const s of n)s.computed||Zn(s)}function Zn(e,t){(e!==ae||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const $r=Cn("__proto__,__v_isRef,__isVue"),Ls=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Bt)),Qn=kr();function kr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=N(this);for(let i=0,o=this.length;i<o;i++)ie(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(N)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){nt();const s=N(this)[t].apply(this,n);return st(),s}}),e}function Ur(e){const t=N(this);return ie(t,"has",e),t.hasOwnProperty(e)}class Hs{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&s===(r?i?ni:$s:i?Ds:Ks).get(t))return t;const o=M(t);if(!r){if(o&&j(Qn,n))return Reflect.get(Qn,n,s);if(n==="hasOwnProperty")return Ur}const c=Reflect.get(t,n,s);return(Bt(n)?Ls.has(n):$r(n))||(r||ie(t,"get",n),i)?c:te(c)?o&&Tn(n)?c:c.value:k(c)?r?ks(c):Fn(c):c}}class Bs extends Hs{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(at(i)&&te(i)&&!te(s))return!1;if(!this._shallow&&(!dn(s)&&!at(s)&&(i=N(i),s=N(s)),!M(t)&&te(i)&&!te(s)))return i.value=s,!0;const o=M(t)&&Tn(n)?Number(n)<t.length:j(t,n),c=Reflect.set(t,n,s,r);return t===N(r)&&(o?Qe(s,i)&&Ae(t,"set",n,s):Ae(t,"add",n,s)),c}deleteProperty(t,n){const s=j(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ae(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Bt(n)||!Ls.has(n))&&ie(t,"has",n),s}ownKeys(t){return ie(t,"iterate",M(t)?"length":ke),Reflect.ownKeys(t)}}class Wr extends Hs{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Vr=new Bs,zr=new Wr,qr=new Bs(!0),In=e=>e,Ut=e=>Reflect.getPrototypeOf(e);function xt(e,t,n=!1,s=!1){e=e.__v_raw;const r=N(e),i=N(t);n||(Qe(t,i)&&ie(r,"get",t),ie(r,"get",i));const{has:o}=Ut(r),c=s?In:n?Nn:jn;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function wt(e,t=!1){const n=this.__v_raw,s=N(n),r=N(e);return t||(Qe(e,r)&&ie(s,"has",e),ie(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ct(e,t=!1){return e=e.__v_raw,!t&&ie(N(e),"iterate",ke),Reflect.get(e,"size",e)}function Gn(e){e=N(e);const t=N(this);return Ut(t).has.call(t,e)||(t.add(e),Ae(t,"add",e,e)),this}function es(e,t){t=N(t);const n=N(this),{has:s,get:r}=Ut(n);let i=s.call(n,e);i||(e=N(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Qe(t,o)&&Ae(n,"set",e,t):Ae(n,"add",e,t),this}function ts(e){const t=N(this),{has:n,get:s}=Ut(t);let r=n.call(t,e);r||(e=N(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ae(t,"delete",e,void 0),i}function ns(){const e=N(this),t=e.size!==0,n=e.clear();return t&&Ae(e,"clear",void 0,void 0),n}function Et(e,t){return function(s,r){const i=this,o=i.__v_raw,c=N(o),f=t?In:e?Nn:jn;return!e&&ie(c,"iterate",ke),o.forEach((a,h)=>s.call(r,f(a),f(h),i))}}function Ot(e,t,n){return function(...s){const r=this.__v_raw,i=N(r),o=Ye(i),c=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,a=r[e](...s),h=n?In:t?Nn:jn;return!t&&ie(i,"iterate",f?fn:ke),{next(){const{value:v,done:x}=a.next();return x?{value:v,done:x}:{value:c?[h(v[0]),h(v[1])]:h(v),done:x}},[Symbol.iterator](){return this}}}}function Pe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jr(){const e={get(i){return xt(this,i)},get size(){return Ct(this)},has:wt,add:Gn,set:es,delete:ts,clear:ns,forEach:Et(!1,!1)},t={get(i){return xt(this,i,!1,!0)},get size(){return Ct(this)},has:wt,add:Gn,set:es,delete:ts,clear:ns,forEach:Et(!1,!0)},n={get(i){return xt(this,i,!0)},get size(){return Ct(this,!0)},has(i){return wt.call(this,i,!0)},add:Pe("add"),set:Pe("set"),delete:Pe("delete"),clear:Pe("clear"),forEach:Et(!0,!1)},s={get(i){return xt(this,i,!0,!0)},get size(){return Ct(this,!0)},has(i){return wt.call(this,i,!0)},add:Pe("add"),set:Pe("set"),delete:Pe("delete"),clear:Pe("clear"),forEach:Et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ot(i,!1,!1),n[i]=Ot(i,!0,!1),t[i]=Ot(i,!1,!0),s[i]=Ot(i,!0,!0)}),[e,n,t,s]}const[Yr,Xr,Zr,Qr]=Jr();function Rn(e,t){const n=t?e?Qr:Zr:e?Xr:Yr;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(j(n,r)&&r in s?n:s,r,i)}const Gr={get:Rn(!1,!1)},ei={get:Rn(!1,!0)},ti={get:Rn(!0,!1)},Ks=new WeakMap,Ds=new WeakMap,$s=new WeakMap,ni=new WeakMap;function si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ri(e){return e.__v_skip||!Object.isExtensible(e)?0:si(Tr(e))}function Fn(e){return at(e)?e:Sn(e,!1,Vr,Gr,Ks)}function ii(e){return Sn(e,!1,qr,ei,Ds)}function ks(e){return Sn(e,!0,zr,ti,$s)}function Sn(e,t,n,s,r){if(!k(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=ri(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function Xe(e){return at(e)?Xe(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function dn(e){return!!(e&&e.__v_isShallow)}function Us(e){return Xe(e)||at(e)}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function Ws(e){return Ft(e,"__v_skip",!0),e}const jn=e=>k(e)?Fn(e):e,Nn=e=>k(e)?ks(e):e;function oi(e){Re&&ae&&(e=N(e),Ns(e.dep||(e.dep=Mn())))}function li(e,t){e=N(e);const n=e.dep;n&&an(n)}function te(e){return!!(e&&e.__v_isRef===!0)}function ci(e){return te(e)?e.value:e}const ui={get:(e,t,n)=>ci(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return te(r)&&!te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Vs(e){return Xe(e)?e:new Proxy(e,ui)}class fi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Pn(t,()=>{this._dirty||(this._dirty=!0,li(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=N(this);return oi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ai(e,t,n=!1){let s,r;const i=I(e);return i?(s=e,r=he):(s=e.get,r=e.set),new fi(s,r,i||!r,n)}function Fe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Wt(i,t,n)}return r}function pe(e,t,n,s){if(I(e)){const i=Fe(e,t,n,s);return i&&As(i)&&i.catch(o=>{Wt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(pe(e[i],t,n,s));return r}function Wt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const a=i.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,o,c)===!1)return}i=i.parent}const f=t.appContext.config.errorHandler;if(f){Fe(f,null,10,[e,o,c]);return}}di(e,n,r,s)}function di(e,t,n,s=!0){console.error(e)}let dt=!1,hn=!1;const X=[];let xe=0;const Ze=[];let Te=null,Ke=0;const zs=Promise.resolve();let Ln=null;function hi(e){const t=Ln||zs;return e?t.then(this?e.bind(this):e):t}function pi(e){let t=xe+1,n=X.length;for(;t<n;){const s=t+n>>>1,r=X[s],i=ht(r);i<e||i===e&&r.pre?t=s+1:n=s}return t}function Hn(e){(!X.length||!X.includes(e,dt&&e.allowRecurse?xe+1:xe))&&(e.id==null?X.push(e):X.splice(pi(e.id),0,e),qs())}function qs(){!dt&&!hn&&(hn=!0,Ln=zs.then(Ys))}function gi(e){const t=X.indexOf(e);t>xe&&X.splice(t,1)}function mi(e){M(e)?Ze.push(...e):(!Te||!Te.includes(e,e.allowRecurse?Ke+1:Ke))&&Ze.push(e),qs()}function ss(e,t=dt?xe+1:0){for(;t<X.length;t++){const n=X[t];n&&n.pre&&(X.splice(t,1),t--,n())}}function Js(e){if(Ze.length){const t=[...new Set(Ze)];if(Ze.length=0,Te){Te.push(...t);return}for(Te=t,Te.sort((n,s)=>ht(n)-ht(s)),Ke=0;Ke<Te.length;Ke++)Te[Ke]();Te=null,Ke=0}}const ht=e=>e.id==null?1/0:e.id,_i=(e,t)=>{const n=ht(e)-ht(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ys(e){hn=!1,dt=!0,X.sort(_i);const t=he;try{for(xe=0;xe<X.length;xe++){const n=X[xe];n&&n.active!==!1&&Fe(n,null,14)}}finally{xe=0,X.length=0,Js(),dt=!1,Ln=null,(X.length||Ze.length)&&Ys()}}function bi(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||D;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const h=`${o==="modelValue"?"model":o}Modifiers`,{number:v,trim:x}=s[h]||D;x&&(r=n.map(A=>z(A)?A.trim():A)),v&&(r=n.map(Pr))}let c,f=s[c=Gt(t)]||s[c=Gt(Ce(t))];!f&&i&&(f=s[c=Gt(tt(t))]),f&&pe(f,e,6,r);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,pe(a,e,6,r)}}function Xs(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!I(e)){const f=a=>{const h=Xs(a,t,!0);h&&(c=!0,Z(o,h))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!c?(k(e)&&s.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):Z(o,i),k(e)&&s.set(e,o),o)}function Vt(e,t){return!e||!Ht(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,tt(t))||j(e,t))}let ce=null,Zs=null;function St(e){const t=ce;return ce=e,Zs=e&&e.type.__scopeId||null,t}function vi(e,t=ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ps(-1);const i=St(t);let o;try{o=e(...r)}finally{St(i),s._d&&ps(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function tn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:f,emit:a,render:h,renderCache:v,data:x,setupState:A,ctx:$,inheritAttrs:F}=e;let U,q;const S=St(e);try{if(n.shapeFlag&4){const T=r||s,J=T;U=ye(h.call(J,T,v,i,A,x,$)),q=f}else{const T=t;U=ye(T.length>1?T(i,{attrs:f,slots:c,emit:a}):T(i,null)),q=t.props?f:yi(f)}}catch(T){ft.length=0,Wt(T,e,1),U=we(pt)}let L=U;if(q&&F!==!1){const T=Object.keys(q),{shapeFlag:J}=L;T.length&&J&7&&(o&&T.some(En)&&(q=xi(q,o)),L=Ge(L,q))}return n.dirs&&(L=Ge(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),U=L,St(S),U}const yi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ht(n))&&((t||(t={}))[n]=e[n]);return t},xi=(e,t)=>{const n={};for(const s in e)(!En(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function wi(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:f}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?rs(s,o,a):!!o;if(f&8){const h=t.dynamicProps;for(let v=0;v<h.length;v++){const x=h[v];if(o[x]!==s[x]&&!Vt(a,x))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?rs(s,o,a):!0:!!o;return!1}function rs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Vt(n,i))return!0}return!1}function Ci({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Qs="components",Ei="directives";function Oi(e,t){return Gs(Qs,e,!0,t)||e}const Ti=Symbol.for("v-ndc");function Ai(e){return Gs(Ei,e)}function Gs(e,t,n=!0,s=!1){const r=ce||Y;if(r){const i=r.type;if(e===Qs){const c=Oo(i,!1);if(c&&(c===t||c===Ce(t)||c===$t(Ce(t))))return i}const o=is(r[e]||i[e],t)||is(r.appContext[e],t);return!o&&s?i:o}}function is(e,t){return e&&(e[t]||e[Ce(t)]||e[$t(Ce(t))])}const Mi=e=>e.__isSuspense;function Pi(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):mi(e)}const Tt={};function nn(e,t,n){return er(e,t,n)}function er(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=D){var c;const f=Br()===((c=Y)==null?void 0:c.scope)?Y:null;let a,h=!1,v=!1;if(te(e)?(a=()=>e.value,h=dn(e)):Xe(e)?(a=()=>e,s=!0):M(e)?(v=!0,h=e.some(T=>Xe(T)||dn(T)),a=()=>e.map(T=>{if(te(T))return T.value;if(Xe(T))return $e(T);if(I(T))return Fe(T,f,2)})):I(e)?t?a=()=>Fe(e,f,2):a=()=>{if(!(f&&f.isUnmounted))return x&&x(),pe(e,f,3,[A])}:a=he,t&&s){const T=a;a=()=>$e(T())}let x,A=T=>{x=S.onStop=()=>{Fe(T,f,4),x=S.onStop=void 0}},$;if(mt)if(A=he,t?n&&pe(t,f,3,[a(),v?[]:void 0,A]):a(),r==="sync"){const T=Po();$=T.__watcherHandles||(T.__watcherHandles=[])}else return he;let F=v?new Array(e.length).fill(Tt):Tt;const U=()=>{if(!!S.active)if(t){const T=S.run();(s||h||(v?T.some((J,ne)=>Qe(J,F[ne])):Qe(T,F)))&&(x&&x(),pe(t,f,3,[T,F===Tt?void 0:v&&F[0]===Tt?[]:F,A]),F=T)}else S.run()};U.allowRecurse=!!t;let q;r==="sync"?q=U:r==="post"?q=()=>re(U,f&&f.suspense):(U.pre=!0,f&&(U.id=f.uid),q=()=>Hn(U));const S=new Pn(a,q);t?n?U():F=S.run():r==="post"?re(S.run.bind(S),f&&f.suspense):S.run();const L=()=>{S.stop(),f&&f.scope&&On(f.scope.effects,S)};return $&&$.push(L),L}function Ii(e,t,n){const s=this.proxy,r=z(e)?e.includes(".")?tr(s,e):()=>s[e]:e.bind(s,s);let i;I(t)?i=t:(i=t.handler,n=t);const o=Y;et(this);const c=er(r,i.bind(s),n);return o?et(o):Ue(),c}function tr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function $e(e,t){if(!k(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),te(e))$e(e.value,t);else if(M(e))for(let n=0;n<e.length;n++)$e(e[n],t);else if(Ts(e)||Ye(e))e.forEach(n=>{$e(n,t)});else if(Ps(e))for(const n in e)$e(e[n],t);return e}function Ri(e,t){const n=ce;if(n===null)return e;const s=Yt(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,c,f,a=D]=t[i];o&&(I(o)&&(o={mounted:o,updated:o}),o.deep&&$e(c),r.push({dir:o,instance:s,value:c,oldValue:void 0,arg:f,modifiers:a}))}return e}function He(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let f=c.dir[s];f&&(nt(),pe(f,n,8,[e.el,c,e,t]),st())}}const Mt=e=>!!e.type.__asyncLoader,nr=e=>e.type.__isKeepAlive;function Fi(e,t){sr(e,"a",t)}function Si(e,t){sr(e,"da",t)}function sr(e,t,n=Y){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(zt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)nr(r.parent.vnode)&&ji(s,t,n,r),r=r.parent}}function ji(e,t,n,s){const r=zt(t,e,s,!0);rr(()=>{On(s[t],r)},n)}function zt(e,t,n=Y,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;nt(),et(n);const c=pe(t,n,e,o);return Ue(),st(),c});return s?r.unshift(i):r.push(i),i}}const Me=e=>(t,n=Y)=>(!mt||e==="sp")&&zt(e,(...s)=>t(...s),n),Ni=Me("bm"),Li=Me("m"),Hi=Me("bu"),Bi=Me("u"),Ki=Me("bum"),rr=Me("um"),Di=Me("sp"),$i=Me("rtg"),ki=Me("rtc");function Ui(e,t=Y){zt("ec",e,t)}function pn(e,t,n,s){let r;const i=n&&n[s];if(M(e)||z(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(k(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,f=o.length;c<f;c++){const a=o[c];r[c]=t(e[a],a,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const gn=e=>e?pr(e)?Yt(e)||e.proxy:gn(e.parent):null,ut=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=>gn(e.parent),$root:e=>gn(e.root),$emit:e=>e.emit,$options:e=>Bn(e),$forceUpdate:e=>e.f||(e.f=()=>Hn(e.update)),$nextTick:e=>e.n||(e.n=hi.bind(e.proxy)),$watch:e=>Ii.bind(e)}),sn=(e,t)=>e!==D&&!e.__isScriptSetup&&j(e,t),Wi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:f}=e;let a;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(sn(s,t))return o[t]=1,s[t];if(r!==D&&j(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&j(a,t))return o[t]=3,i[t];if(n!==D&&j(n,t))return o[t]=4,n[t];mn&&(o[t]=0)}}const h=ut[t];let v,x;if(h)return t==="$attrs"&&ie(e,"get",t),h(e);if((v=c.__cssModules)&&(v=v[t]))return v;if(n!==D&&j(n,t))return o[t]=4,n[t];if(x=f.config.globalProperties,j(x,t))return x[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return sn(r,t)?(r[t]=n,!0):s!==D&&j(s,t)?(s[t]=n,!0):j(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==D&&j(e,o)||sn(t,o)||(c=i[0])&&j(c,o)||j(s,o)||j(ut,o)||j(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function os(e){return M(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let mn=!0;function Vi(e){const t=Bn(e),n=e.proxy,s=e.ctx;mn=!1,t.beforeCreate&&ls(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:f,inject:a,created:h,beforeMount:v,mounted:x,beforeUpdate:A,updated:$,activated:F,deactivated:U,beforeDestroy:q,beforeUnmount:S,destroyed:L,unmounted:T,render:J,renderTracked:ne,renderTriggered:Ee,errorCaptured:se,serverPrefetch:We,expose:je,inheritAttrs:rt,components:_t,directives:bt,filters:Xt}=t;if(a&&zi(a,s,null),o)for(const W in o){const B=o[W];I(B)&&(s[W]=B.bind(n))}if(r){const W=r.call(n,n);k(W)&&(e.data=Fn(W))}if(mn=!0,i)for(const W in i){const B=i[W],Ne=I(B)?B.bind(n,n):I(B.get)?B.get.bind(n,n):he,vt=!I(B)&&I(B.set)?B.set.bind(n):he,Le=Ao({get:Ne,set:vt});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>Le.value,set:ge=>Le.value=ge})}if(c)for(const W in c)ir(c[W],s,n,W);if(f){const W=I(f)?f.call(n):f;Reflect.ownKeys(W).forEach(B=>{Qi(B,W[B])})}h&&ls(h,e,"c");function Q(W,B){M(B)?B.forEach(Ne=>W(Ne.bind(n))):B&&W(B.bind(n))}if(Q(Ni,v),Q(Li,x),Q(Hi,A),Q(Bi,$),Q(Fi,F),Q(Si,U),Q(Ui,se),Q(ki,ne),Q($i,Ee),Q(Ki,S),Q(rr,T),Q(Di,We),M(je))if(je.length){const W=e.exposed||(e.exposed={});je.forEach(B=>{Object.defineProperty(W,B,{get:()=>n[B],set:Ne=>n[B]=Ne})})}else e.exposed||(e.exposed={});J&&e.render===he&&(e.render=J),rt!=null&&(e.inheritAttrs=rt),_t&&(e.components=_t),bt&&(e.directives=bt)}function zi(e,t,n=he){M(e)&&(e=_n(e));for(const s in e){const r=e[s];let i;k(r)?"default"in r?i=Pt(r.from||s,r.default,!0):i=Pt(r.from||s):i=Pt(r),te(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ls(e,t,n){pe(M(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ir(e,t,n,s){const r=s.includes(".")?tr(n,s):()=>n[s];if(z(e)){const i=t[e];I(i)&&nn(r,i)}else if(I(e))nn(r,e.bind(n));else if(k(e))if(M(e))e.forEach(i=>ir(i,t,n,s));else{const i=I(e.handler)?e.handler.bind(n):t[e.handler];I(i)&&nn(r,i,e)}}function Bn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let f;return c?f=c:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(a=>jt(f,a,o,!0)),jt(f,t,o)),k(t)&&i.set(t,f),f}function jt(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&jt(e,i,n,!0),r&&r.forEach(o=>jt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=qi[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const qi={data:cs,props:us,emits:us,methods:ct,computed:ct,beforeCreate:G,created:G,beforeMount:G,mounted:G,beforeUpdate:G,updated:G,beforeDestroy:G,beforeUnmount:G,destroyed:G,unmounted:G,activated:G,deactivated:G,errorCaptured:G,serverPrefetch:G,components:ct,directives:ct,watch:Yi,provide:cs,inject:Ji};function cs(e,t){return t?e?function(){return Z(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Ji(e,t){return ct(_n(e),_n(t))}function _n(e){if(M(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function G(e,t){return e?[...new Set([].concat(e,t))]:t}function ct(e,t){return e?Z(Object.create(null),e,t):t}function us(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:Z(Object.create(null),os(e),os(t!=null?t:{})):t}function Yi(e,t){if(!e)return t;if(!t)return e;const n=Z(Object.create(null),e);for(const s in t)n[s]=G(e[s],t[s]);return n}function or(){return{app:null,config:{isNativeTag:Cr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Xi=0;function Zi(e,t){return function(s,r=null){I(s)||(s=Z({},s)),r!=null&&!k(r)&&(r=null);const i=or(),o=new WeakSet;let c=!1;const f=i.app={_uid:Xi++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Io,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(f,...h)):I(a)&&(o.add(a),a(f,...h))),f},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),f},component(a,h){return h?(i.components[a]=h,f):i.components[a]},directive(a,h){return h?(i.directives[a]=h,f):i.directives[a]},mount(a,h,v){if(!c){const x=we(s,r);return x.appContext=i,h&&t?t(x,a):e(x,a,v),c=!0,f._container=a,a.__vue_app__=f,Yt(x.component)||x.component.proxy}},unmount(){c&&(e(null,f._container),delete f._container.__vue_app__)},provide(a,h){return i.provides[a]=h,f},runWithContext(a){Nt=f;try{return a()}finally{Nt=null}}};return f}}let Nt=null;function Qi(e,t){if(Y){let n=Y.provides;const s=Y.parent&&Y.parent.provides;s===n&&(n=Y.provides=Object.create(s)),n[e]=t}}function Pt(e,t,n=!1){const s=Y||ce;if(s||Nt){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Nt._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&I(t)?t.call(s&&s.proxy):t}}function Gi(e,t,n,s=!1){const r={},i={};Ft(i,Jt,1),e.propsDefaults=Object.create(null),lr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ii(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function eo(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=N(r),[f]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const h=e.vnode.dynamicProps;for(let v=0;v<h.length;v++){let x=h[v];if(Vt(e.emitsOptions,x))continue;const A=t[x];if(f)if(j(i,x))A!==i[x]&&(i[x]=A,a=!0);else{const $=Ce(x);r[$]=bn(f,c,$,A,e,!1)}else A!==i[x]&&(i[x]=A,a=!0)}}}else{lr(e,t,r,i)&&(a=!0);let h;for(const v in c)(!t||!j(t,v)&&((h=tt(v))===v||!j(t,h)))&&(f?n&&(n[v]!==void 0||n[h]!==void 0)&&(r[v]=bn(f,c,v,void 0,e,!0)):delete r[v]);if(i!==c)for(const v in i)(!t||!j(t,v)&&!0)&&(delete i[v],a=!0)}a&&Ae(e,"set","$attrs")}function lr(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let f in t){if(At(f))continue;const a=t[f];let h;r&&j(r,h=Ce(f))?!i||!i.includes(h)?n[h]=a:(c||(c={}))[h]=a:Vt(e.emitsOptions,f)||(!(f in s)||a!==s[f])&&(s[f]=a,o=!0)}if(i){const f=N(n),a=c||D;for(let h=0;h<i.length;h++){const v=i[h];n[v]=bn(r,f,v,a[v],e,!j(a,v))}}return o}function bn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=j(o,"default");if(c&&s===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&I(f)){const{propsDefaults:a}=r;n in a?s=a[n]:(et(r),s=a[n]=f.call(null,t),Ue())}else s=f}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===tt(n))&&(s=!0))}return s}function cr(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let f=!1;if(!I(e)){const h=v=>{f=!0;const[x,A]=cr(v,t,!0);Z(o,x),A&&c.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!f)return k(e)&&s.set(e,Je),Je;if(M(i))for(let h=0;h<i.length;h++){const v=Ce(i[h]);fs(v)&&(o[v]=D)}else if(i)for(const h in i){const v=Ce(h);if(fs(v)){const x=i[h],A=o[v]=M(x)||I(x)?{type:x}:Z({},x);if(A){const $=hs(Boolean,A.type),F=hs(String,A.type);A[0]=$>-1,A[1]=F<0||$<F,($>-1||j(A,"default"))&&c.push(v)}}}const a=[o,c];return k(e)&&s.set(e,a),a}function fs(e){return e[0]!=="$"}function as(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ds(e,t){return as(e)===as(t)}function hs(e,t){return M(t)?t.findIndex(n=>ds(n,e)):I(t)&&ds(t,e)?0:-1}const ur=e=>e[0]==="_"||e==="$stable",Kn=e=>M(e)?e.map(ye):[ye(e)],to=(e,t,n)=>{if(t._n)return t;const s=vi((...r)=>Kn(t(...r)),n);return s._c=!1,s},fr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ur(r))continue;const i=e[r];if(I(i))t[r]=to(r,i,s);else if(i!=null){const o=Kn(i);t[r]=()=>o}}},ar=(e,t)=>{const n=Kn(t);e.slots.default=()=>n},no=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=N(t),Ft(t,"_",n)):fr(t,e.slots={})}else e.slots={},t&&ar(e,t);Ft(e.slots,Jt,1)},so=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=D;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(Z(r,t),!n&&c===1&&delete r._):(i=!t.$stable,fr(t,r)),o=t}else t&&(ar(e,t),o={default:1});if(i)for(const c in r)!ur(c)&&o[c]==null&&delete r[c]};function vn(e,t,n,s,r=!1){if(M(e)){e.forEach((x,A)=>vn(x,t&&(M(t)?t[A]:t),n,s,r));return}if(Mt(s)&&!r)return;const i=s.shapeFlag&4?Yt(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:f}=e,a=t&&t.r,h=c.refs===D?c.refs={}:c.refs,v=c.setupState;if(a!=null&&a!==f&&(z(a)?(h[a]=null,j(v,a)&&(v[a]=null)):te(a)&&(a.value=null)),I(f))Fe(f,c,12,[o,h]);else{const x=z(f),A=te(f);if(x||A){const $=()=>{if(e.f){const F=x?j(v,f)?v[f]:h[f]:f.value;r?M(F)&&On(F,i):M(F)?F.includes(i)||F.push(i):x?(h[f]=[i],j(v,f)&&(v[f]=h[f])):(f.value=[i],e.k&&(h[e.k]=f.value))}else x?(h[f]=o,j(v,f)&&(v[f]=o)):A&&(f.value=o,e.k&&(h[e.k]=o))};o?($.id=-1,re($,n)):$()}}}const re=Pi;function ro(e){return io(e)}function io(e,t){const n=ln();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:f,setText:a,setElementText:h,parentNode:v,nextSibling:x,setScopeId:A=he,insertStaticContent:$}=e,F=(l,u,d,p=null,g=null,b=null,w=!1,_=null,y=!!u.dynamicChildren)=>{if(l===u)return;l&&!ot(l,u)&&(p=yt(l),ge(l,g,b,!0),l=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:C}=u;switch(m){case qt:U(l,u,d,p);break;case pt:q(l,u,d,p);break;case It:l==null&&S(u,d,p,w);break;case le:_t(l,u,d,p,g,b,w,_,y);break;default:C&1?J(l,u,d,p,g,b,w,_,y):C&6?bt(l,u,d,p,g,b,w,_,y):(C&64||C&128)&&m.process(l,u,d,p,g,b,w,_,y,Ve)}E!=null&&g&&vn(E,l&&l.ref,b,u||l,!u)},U=(l,u,d,p)=>{if(l==null)s(u.el=c(u.children),d,p);else{const g=u.el=l.el;u.children!==l.children&&a(g,u.children)}},q=(l,u,d,p)=>{l==null?s(u.el=f(u.children||""),d,p):u.el=l.el},S=(l,u,d,p)=>{[l.el,l.anchor]=$(l.children,u,d,p,l.el,l.anchor)},L=({el:l,anchor:u},d,p)=>{let g;for(;l&&l!==u;)g=x(l),s(l,d,p),l=g;s(u,d,p)},T=({el:l,anchor:u})=>{let d;for(;l&&l!==u;)d=x(l),r(l),l=d;r(u)},J=(l,u,d,p,g,b,w,_,y)=>{w=w||u.type==="svg",l==null?ne(u,d,p,g,b,w,_,y):We(l,u,g,b,w,_,y)},ne=(l,u,d,p,g,b,w,_)=>{let y,m;const{type:E,props:C,shapeFlag:O,transition:P,dirs:R}=l;if(y=l.el=o(l.type,b,C&&C.is,C),O&8?h(y,l.children):O&16&&se(l.children,y,null,p,g,b&&E!=="foreignObject",w,_),R&&He(l,null,p,"created"),Ee(y,l,l.scopeId,w,p),C){for(const H in C)H!=="value"&&!At(H)&&i(y,H,null,C[H],b,l.children,p,g,Oe);"value"in C&&i(y,"value",null,C.value),(m=C.onVnodeBeforeMount)&&_e(m,p,l)}R&&He(l,null,p,"beforeMount");const K=oo(g,P);K&&P.beforeEnter(y),s(y,u,d),((m=C&&C.onVnodeMounted)||K||R)&&re(()=>{m&&_e(m,p,l),K&&P.enter(y),R&&He(l,null,p,"mounted")},g)},Ee=(l,u,d,p,g)=>{if(d&&A(l,d),p)for(let b=0;b<p.length;b++)A(l,p[b]);if(g){let b=g.subTree;if(u===b){const w=g.vnode;Ee(l,w,w.scopeId,w.slotScopeIds,g.parent)}}},se=(l,u,d,p,g,b,w,_,y=0)=>{for(let m=y;m<l.length;m++){const E=l[m]=_?Ie(l[m]):ye(l[m]);F(null,E,u,d,p,g,b,w,_)}},We=(l,u,d,p,g,b,w)=>{const _=u.el=l.el;let{patchFlag:y,dynamicChildren:m,dirs:E}=u;y|=l.patchFlag&16;const C=l.props||D,O=u.props||D;let P;d&&Be(d,!1),(P=O.onVnodeBeforeUpdate)&&_e(P,d,u,l),E&&He(u,l,d,"beforeUpdate"),d&&Be(d,!0);const R=g&&u.type!=="foreignObject";if(m?je(l.dynamicChildren,m,_,d,p,R,b):w||B(l,u,_,null,d,p,R,b,!1),y>0){if(y&16)rt(_,u,C,O,d,p,g);else if(y&2&&C.class!==O.class&&i(_,"class",null,O.class,g),y&4&&i(_,"style",C.style,O.style,g),y&8){const K=u.dynamicProps;for(let H=0;H<K.length;H++){const V=K[H],ue=C[V],ze=O[V];(ze!==ue||V==="value")&&i(_,V,ue,ze,g,l.children,d,p,Oe)}}y&1&&l.children!==u.children&&h(_,u.children)}else!w&&m==null&&rt(_,u,C,O,d,p,g);((P=O.onVnodeUpdated)||E)&&re(()=>{P&&_e(P,d,u,l),E&&He(u,l,d,"updated")},p)},je=(l,u,d,p,g,b,w)=>{for(let _=0;_<u.length;_++){const y=l[_],m=u[_],E=y.el&&(y.type===le||!ot(y,m)||y.shapeFlag&70)?v(y.el):d;F(y,m,E,null,p,g,b,w,!0)}},rt=(l,u,d,p,g,b,w)=>{if(d!==p){if(d!==D)for(const _ in d)!At(_)&&!(_ in p)&&i(l,_,d[_],null,w,u.children,g,b,Oe);for(const _ in p){if(At(_))continue;const y=p[_],m=d[_];y!==m&&_!=="value"&&i(l,_,m,y,w,u.children,g,b,Oe)}"value"in p&&i(l,"value",d.value,p.value)}},_t=(l,u,d,p,g,b,w,_,y)=>{const m=u.el=l?l.el:c(""),E=u.anchor=l?l.anchor:c("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:P}=u;P&&(_=_?_.concat(P):P),l==null?(s(m,d,p),s(E,d,p),se(u.children,d,E,g,b,w,_,y)):C>0&&C&64&&O&&l.dynamicChildren?(je(l.dynamicChildren,O,d,g,b,w,_),(u.key!=null||g&&u===g.subTree)&&dr(l,u,!0)):B(l,u,d,E,g,b,w,_,y)},bt=(l,u,d,p,g,b,w,_,y)=>{u.slotScopeIds=_,l==null?u.shapeFlag&512?g.ctx.activate(u,d,p,w,y):Xt(u,d,p,g,b,w,y):kn(l,u,y)},Xt=(l,u,d,p,g,b,w)=>{const _=l.component=yo(l,p,g);if(nr(l)&&(_.ctx.renderer=Ve),xo(_),_.asyncDep){if(g&&g.registerDep(_,Q),!l.el){const y=_.subTree=we(pt);q(null,y,u,d)}return}Q(_,l,u,d,g,b,w)},kn=(l,u,d)=>{const p=u.component=l.component;if(wi(l,u,d))if(p.asyncDep&&!p.asyncResolved){W(p,u,d);return}else p.next=u,gi(p.update),p.update();else u.el=l.el,p.vnode=u},Q=(l,u,d,p,g,b,w)=>{const _=()=>{if(l.isMounted){let{next:E,bu:C,u:O,parent:P,vnode:R}=l,K=E,H;Be(l,!1),E?(E.el=R.el,W(l,E,w)):E=R,C&&en(C),(H=E.props&&E.props.onVnodeBeforeUpdate)&&_e(H,P,E,R),Be(l,!0);const V=tn(l),ue=l.subTree;l.subTree=V,F(ue,V,v(ue.el),yt(ue),l,g,b),E.el=V.el,K===null&&Ci(l,V.el),O&&re(O,g),(H=E.props&&E.props.onVnodeUpdated)&&re(()=>_e(H,P,E,R),g)}else{let E;const{el:C,props:O}=u,{bm:P,m:R,parent:K}=l,H=Mt(u);if(Be(l,!1),P&&en(P),!H&&(E=O&&O.onVnodeBeforeMount)&&_e(E,K,u),Be(l,!0),C&&Qt){const V=()=>{l.subTree=tn(l),Qt(C,l.subTree,l,g,null)};H?u.type.__asyncLoader().then(()=>!l.isUnmounted&&V()):V()}else{const V=l.subTree=tn(l);F(null,V,d,p,l,g,b),u.el=V.el}if(R&&re(R,g),!H&&(E=O&&O.onVnodeMounted)){const V=u;re(()=>_e(E,K,V),g)}(u.shapeFlag&256||K&&Mt(K.vnode)&&K.vnode.shapeFlag&256)&&l.a&&re(l.a,g),l.isMounted=!0,u=d=p=null}},y=l.effect=new Pn(_,()=>Hn(m),l.scope),m=l.update=()=>y.run();m.id=l.uid,Be(l,!0),m()},W=(l,u,d)=>{u.component=l;const p=l.vnode.props;l.vnode=u,l.next=null,eo(l,u.props,p,d),so(l,u.children,d),nt(),ss(),st()},B=(l,u,d,p,g,b,w,_,y=!1)=>{const m=l&&l.children,E=l?l.shapeFlag:0,C=u.children,{patchFlag:O,shapeFlag:P}=u;if(O>0){if(O&128){vt(m,C,d,p,g,b,w,_,y);return}else if(O&256){Ne(m,C,d,p,g,b,w,_,y);return}}P&8?(E&16&&Oe(m,g,b),C!==m&&h(d,C)):E&16?P&16?vt(m,C,d,p,g,b,w,_,y):Oe(m,g,b,!0):(E&8&&h(d,""),P&16&&se(C,d,p,g,b,w,_,y))},Ne=(l,u,d,p,g,b,w,_,y)=>{l=l||Je,u=u||Je;const m=l.length,E=u.length,C=Math.min(m,E);let O;for(O=0;O<C;O++){const P=u[O]=y?Ie(u[O]):ye(u[O]);F(l[O],P,d,null,g,b,w,_,y)}m>E?Oe(l,g,b,!0,!1,C):se(u,d,p,g,b,w,_,y,C)},vt=(l,u,d,p,g,b,w,_,y)=>{let m=0;const E=u.length;let C=l.length-1,O=E-1;for(;m<=C&&m<=O;){const P=l[m],R=u[m]=y?Ie(u[m]):ye(u[m]);if(ot(P,R))F(P,R,d,null,g,b,w,_,y);else break;m++}for(;m<=C&&m<=O;){const P=l[C],R=u[O]=y?Ie(u[O]):ye(u[O]);if(ot(P,R))F(P,R,d,null,g,b,w,_,y);else break;C--,O--}if(m>C){if(m<=O){const P=O+1,R=P<E?u[P].el:p;for(;m<=O;)F(null,u[m]=y?Ie(u[m]):ye(u[m]),d,R,g,b,w,_,y),m++}}else if(m>O)for(;m<=C;)ge(l[m],g,b,!0),m++;else{const P=m,R=m,K=new Map;for(m=R;m<=O;m++){const oe=u[m]=y?Ie(u[m]):ye(u[m]);oe.key!=null&&K.set(oe.key,m)}let H,V=0;const ue=O-R+1;let ze=!1,Vn=0;const it=new Array(ue);for(m=0;m<ue;m++)it[m]=0;for(m=P;m<=C;m++){const oe=l[m];if(V>=ue){ge(oe,g,b,!0);continue}let me;if(oe.key!=null)me=K.get(oe.key);else for(H=R;H<=O;H++)if(it[H-R]===0&&ot(oe,u[H])){me=H;break}me===void 0?ge(oe,g,b,!0):(it[me-R]=m+1,me>=Vn?Vn=me:ze=!0,F(oe,u[me],d,null,g,b,w,_,y),V++)}const zn=ze?lo(it):Je;for(H=zn.length-1,m=ue-1;m>=0;m--){const oe=R+m,me=u[oe],qn=oe+1<E?u[oe+1].el:p;it[m]===0?F(null,me,d,qn,g,b,w,_,y):ze&&(H<0||m!==zn[H]?Le(me,d,qn,2):H--)}}},Le=(l,u,d,p,g=null)=>{const{el:b,type:w,transition:_,children:y,shapeFlag:m}=l;if(m&6){Le(l.component.subTree,u,d,p);return}if(m&128){l.suspense.move(u,d,p);return}if(m&64){w.move(l,u,d,Ve);return}if(w===le){s(b,u,d);for(let C=0;C<y.length;C++)Le(y[C],u,d,p);s(l.anchor,u,d);return}if(w===It){L(l,u,d);return}if(p!==2&&m&1&&_)if(p===0)_.beforeEnter(b),s(b,u,d),re(()=>_.enter(b),g);else{const{leave:C,delayLeave:O,afterLeave:P}=_,R=()=>s(b,u,d),K=()=>{C(b,()=>{R(),P&&P()})};O?O(b,R,K):K()}else s(b,u,d)},ge=(l,u,d,p=!1,g=!1)=>{const{type:b,props:w,ref:_,children:y,dynamicChildren:m,shapeFlag:E,patchFlag:C,dirs:O}=l;if(_!=null&&vn(_,null,d,l,!0),E&256){u.ctx.deactivate(l);return}const P=E&1&&O,R=!Mt(l);let K;if(R&&(K=w&&w.onVnodeBeforeUnmount)&&_e(K,u,l),E&6)xr(l.component,d,p);else{if(E&128){l.suspense.unmount(d,p);return}P&&He(l,null,u,"beforeUnmount"),E&64?l.type.remove(l,u,d,g,Ve,p):m&&(b!==le||C>0&&C&64)?Oe(m,u,d,!1,!0):(b===le&&C&384||!g&&E&16)&&Oe(y,u,d),p&&Un(l)}(R&&(K=w&&w.onVnodeUnmounted)||P)&&re(()=>{K&&_e(K,u,l),P&&He(l,null,u,"unmounted")},d)},Un=l=>{const{type:u,el:d,anchor:p,transition:g}=l;if(u===le){yr(d,p);return}if(u===It){T(l);return}const b=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:_}=g,y=()=>w(d,b);_?_(l.el,b,y):y()}else b()},yr=(l,u)=>{let d;for(;l!==u;)d=x(l),r(l),l=d;r(u)},xr=(l,u,d)=>{const{bum:p,scope:g,update:b,subTree:w,um:_}=l;p&&en(p),g.stop(),b&&(b.active=!1,ge(w,l,u,d)),_&&re(_,u),re(()=>{l.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Oe=(l,u,d,p=!1,g=!1,b=0)=>{for(let w=b;w<l.length;w++)ge(l[w],u,d,p,g)},yt=l=>l.shapeFlag&6?yt(l.component.subTree):l.shapeFlag&128?l.suspense.next():x(l.anchor||l.el),Wn=(l,u,d)=>{l==null?u._vnode&&ge(u._vnode,null,null,!0):F(u._vnode||null,l,u,null,null,null,d),ss(),Js(),u._vnode=l},Ve={p:F,um:ge,m:Le,r:Un,mt:Xt,mc:se,pc:B,pbc:je,n:yt,o:e};let Zt,Qt;return t&&([Zt,Qt]=t(Ve)),{render:Wn,hydrate:Zt,createApp:Zi(Wn,Zt)}}function Be({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dr(e,t,n=!1){const s=e.children,r=t.children;if(M(s)&&M(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Ie(r[i]),c.el=o.el),n||dr(o,c)),c.type===qt&&(c.el=o.el)}}function lo(e){const t=e.slice(),n=[0];let s,r,i,o,c;const f=e.length;for(s=0;s<f;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<a?i=c+1:o=c;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const co=e=>e.__isTeleport,le=Symbol.for("v-fgt"),qt=Symbol.for("v-txt"),pt=Symbol.for("v-cmt"),It=Symbol.for("v-stc"),ft=[];let de=null;function be(e=!1){ft.push(de=e?null:[])}function uo(){ft.pop(),de=ft[ft.length-1]||null}let gt=1;function ps(e){gt+=e}function fo(e){return e.dynamicChildren=gt>0?de||Je:null,uo(),gt>0&&de&&de.push(e),e}function ve(e,t,n,s,r,i){return fo(ee(e,t,n,s,r,i,!0))}function ao(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const Jt="__vInternal",hr=({key:e})=>e!=null?e:null,Rt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||te(e)||I(e)?{i:ce,r:e,k:t,f:!!n}:e:null);function ee(e,t=null,n=null,s=0,r=null,i=e===le?0:1,o=!1,c=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hr(t),ref:t&&Rt(t),scopeId:Zs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ce};return c?(Dn(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=z(n)?8:16),gt>0&&!o&&de&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&de.push(f),f}const we=ho;function ho(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ti)&&(e=pt),ao(e)){const c=Ge(e,t,!0);return n&&Dn(c,n),gt>0&&!i&&de&&(c.shapeFlag&6?de[de.indexOf(e)]=c:de.push(c)),c.patchFlag|=-2,c}if(To(e)&&(e=e.__vccOpts),t){t=po(t);let{class:c,style:f}=t;c&&!z(c)&&(t.class=kt(c)),k(f)&&(Us(f)&&!M(f)&&(f=Z({},f)),t.style=An(f))}const o=z(e)?1:Mi(e)?128:co(e)?64:k(e)?4:I(e)?2:0;return ee(e,t,n,s,r,o,i,!0)}function po(e){return e?Us(e)||Jt in e?Z({},e):e:null}function Ge(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?_o(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&hr(c),ref:t&&t.ref?n&&r?M(r)?r.concat(Rt(t)):[r,Rt(t)]:Rt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ge(e.ssContent),ssFallback:e.ssFallback&&Ge(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function go(e=" ",t=0){return we(qt,null,e,t)}function mo(e,t){const n=we(It,null,e);return n.staticCount=t,n}function ye(e){return e==null||typeof e=="boolean"?we(pt):M(e)?we(le,null,e.slice()):typeof e=="object"?Ie(e):we(qt,null,String(e))}function Ie(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ge(e)}function Dn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(M(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Dn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Jt in t)?t._ctx=ce:r===3&&ce&&(ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:ce},n=32):(t=String(t),s&64?(n=16,t=[go(t)]):n=8);e.children=t,e.shapeFlag|=n}function _o(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=kt([t.class,s.class]));else if(r==="style")t.style=An([t.style,s.style]);else if(Ht(r)){const i=t[r],o=s[r];o&&i!==o&&!(M(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function _e(e,t,n,s=null){pe(e,t,7,[n,s])}const bo=or();let vo=0;function yo(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||bo,i={uid:vo++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Lr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:cr(s,r),emitsOptions:Xs(s,r),emit:null,emitted:null,propsDefaults:D,inheritAttrs:s.inheritAttrs,ctx:D,data:D,props:D,attrs:D,slots:D,refs:D,setupState:D,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=bi.bind(null,i),e.ce&&e.ce(i),i}let Y=null,$n,qe,gs="__VUE_INSTANCE_SETTERS__";(qe=ln()[gs])||(qe=ln()[gs]=[]),qe.push(e=>Y=e),$n=e=>{qe.length>1?qe.forEach(t=>t(e)):qe[0](e)};const et=e=>{$n(e),e.scope.on()},Ue=()=>{Y&&Y.scope.off(),$n(null)};function pr(e){return e.vnode.shapeFlag&4}let mt=!1;function xo(e,t=!1){mt=t;const{props:n,children:s}=e.vnode,r=pr(e);Gi(e,n,r,t),no(e,s);const i=r?wo(e,t):void 0;return mt=!1,i}function wo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ws(new Proxy(e.ctx,Wi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Eo(e):null;et(e),nt();const i=Fe(s,e,0,[e.props,r]);if(st(),Ue(),As(i)){if(i.then(Ue,Ue),t)return i.then(o=>{ms(e,o,t)}).catch(o=>{Wt(o,e,0)});e.asyncDep=i}else ms(e,i,t)}else gr(e,t)}function ms(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:k(t)&&(e.setupState=Vs(t)),gr(e,n)}let _s;function gr(e,t,n){const s=e.type;if(!e.render){if(!t&&_s&&!s.render){const r=s.template||Bn(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:f}=s,a=Z(Z({isCustomElement:i,delimiters:c},o),f);s.render=_s(r,a)}}e.render=s.render||he}{et(e),nt();try{Vi(e)}finally{st(),Ue()}}}function Co(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ie(e,"get","$attrs"),t[n]}}))}function Eo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Co(e)},slots:e.slots,emit:e.emit,expose:t}}function Yt(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Vs(Ws(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ut)return ut[n](e)},has(t,n){return n in t||n in ut}}))}function Oo(e,t=!0){return I(e)?e.displayName||e.name:e.name||t&&e.__name}function To(e){return I(e)&&"__vccOpts"in e}const Ao=(e,t)=>ai(e,t,mt),Mo=Symbol.for("v-scx"),Po=()=>Pt(Mo),Io="3.3.9",Ro="http://www.w3.org/2000/svg",De=typeof document!="undefined"?document:null,bs=De&&De.createElement("template"),Fo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?De.createElementNS(Ro,e):De.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>De.createTextNode(e),createComment:e=>De.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>De.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{bs.innerHTML=s?`<svg>${e}</svg>`:e;const c=bs.content;if(s){const f=c.firstChild;for(;f.firstChild;)c.appendChild(f.firstChild);c.removeChild(f)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},So=Symbol("_vtc");function jo(e,t,n){const s=e[So];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const No=Symbol("_vod");function Lo(e,t,n){const s=e.style,r=z(n);if(n&&!r){if(t&&!z(t))for(const i in t)n[i]==null&&yn(s,i,"");for(const i in n)yn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),No in e&&(s.display=i)}}const vs=/\s*!important$/;function yn(e,t,n){if(M(n))n.forEach(s=>yn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ho(e,t);vs.test(n)?e.setProperty(tt(s),n.replace(vs,""),"important"):e[s]=n}}const ys=["Webkit","Moz","ms"],rn={};function Ho(e,t){const n=rn[t];if(n)return n;let s=Ce(t);if(s!=="filter"&&s in e)return rn[t]=s;s=$t(s);for(let r=0;r<ys.length;r++){const i=ys[r]+s;if(i in e)return rn[t]=i}return t}const xs="http://www.w3.org/1999/xlink";function Bo(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xs,t.slice(6,t.length)):e.setAttributeNS(xs,t,n);else{const i=Nr(t);n==null||i&&!Is(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Ko(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n==null?"":n;return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const a=c==="OPTION"?e.getAttribute("value"):e.value,h=n==null?"":n;a!==h&&(e.value=h),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Is(n):n==null&&a==="string"?(n="",f=!0):a==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}function Do(e,t,n,s){e.addEventListener(t,n,s)}function $o(e,t,n,s){e.removeEventListener(t,n,s)}const ws=Symbol("_vei");function ko(e,t,n,s,r=null){const i=e[ws]||(e[ws]={}),o=i[t];if(s&&o)o.value=s;else{const[c,f]=Uo(t);if(s){const a=i[t]=zo(s,r);Do(e,c,a,f)}else o&&($o(e,c,o,f),i[t]=void 0)}}const Cs=/(?:Once|Passive|Capture)$/;function Uo(e){let t;if(Cs.test(e)){t={};let s;for(;s=e.match(Cs);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tt(e.slice(2)),t]}let on=0;const Wo=Promise.resolve(),Vo=()=>on||(Wo.then(()=>on=0),on=Date.now());function zo(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;pe(qo(s,n.value),t,5,[s])};return n