13 lines
90 KiB
JavaScript
13 lines
90 KiB
JavaScript
|
/**
|
||
|
* @vue/runtime-dom v3.4.29
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/
|
||
|
/*! #__NO_SIDE_EFFECTS__ */
|
||
|
function e(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const t={},n=[],o=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},a=Object.prototype.hasOwnProperty,u=(e,t)=>a.call(e,t),f=Array.isArray,p=e=>"[object Map]"===C(e),d=e=>"[object Set]"===C(e),h=e=>"[object Date]"===C(e),v=e=>"function"==typeof e,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,y=e=>(_(e)||v(e))&&v(e.then)&&v(e.catch),b=Object.prototype.toString,C=e=>b.call(e),x=e=>C(e).slice(8,-1),S=e=>"[object Object]"===C(e),E=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,w=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,T=A((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,L=A((e=>e.replace(O,"-$1").toLowerCase())),N=A((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=A((e=>e?`on${N(e)}`:"")),R=(e,t)=>!Object.is(e,t),I=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},P=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},M=e=>{const t=parseFloat(e);return isNaN(t)?e:t},B=e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t};let V;const U=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),j=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");function $(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=m(o)?K(o):$(o);if(r)for(const e in r)t[e]=r[e]}return t}if(m(e)||_(e))return e}const D=/;(?![^(]*\))/g,H=/:([^]+)/,W=/\/\*[^]*?\*\//g;function K(e){const t={};return e.replace(W,"").split(D).forEach((e=>{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function z(e){let t="";if(m(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=z(e[n]);o&&(t+=o+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function G(e){if(!e)return null;let{class:t,style:n}=e;return t&&!m(t)&&(e.class=z(t)),n&&(e.style=$(n)),e}const q=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function J(e){return!!e||""===e}function X(e,t){if(e===t)return!0;let n=h(e),o=h(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=g(e),o=g(t),n||o)return e===t;if(n=f(e),o=f(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=X(e[o],t[o]);return n}(e,t);if(n=_(e),o=_(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!X(e[n],t[n]))return!1}}return String(e)===String(t)}function Y(e,t){return e.findIndex((e=>X(e,t)))}const Z=e=>m(e)?e:null==e?"":f(e)||_(e)&&(e.toString===b||!v(e.toString))?JSON.stringify(e,Q,2):String(e),Q=(e,t)=>t&&t.__v_isRef?Q(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[ee(t,o)+" =>"]=n,e)),{})}:d(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>ee(e)))}:g(t)?ee(t):!_(t)||f(t)||S(t)?t:String(t),ee=(e,t="")=>{var n;return g(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let te,ne;class oe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=te,!e&&te&&(this.index=(te.scopes||(te.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=te;try{return te=this,e()}finally{te=t}}}on(){te=this}off(){te=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.d
|
||
|
/*! #__NO_SIDE_EFFECTS__ */function po(e,t){return v(e)?(()=>l({name:e.name},t,{setup:e}))():e}const ho=e=>!!e.type.__asyncLoader
|
||
|
/*! #__NO_SIDE_EFFECTS__ */;function vo(e){v(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:s,suspensible:i=!0,onError:l}=e;let c,a=null,u=0;const f=()=>{let e;return a||(e=a=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((u++,a=null,f()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==a&&a?a:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return po({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const e=ni;if(c)return()=>mo(c,e);const t=t=>{a=null,en(t,e,13,!o)};if(i&&e.suspense)return f().then((t=>()=>mo(t,e))).catch((e=>(t(e),()=>o?Hs(o,{error:e}):null)));const l=Ft(!1),u=Ft(),p=Ft(!!r);return r&&setTimeout((()=>{p.value=!1}),r),null!=s&&setTimeout((()=>{if(!l.value&&!u.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),u.value=e}}),s),f().then((()=>{l.value=!0,e.parent&&Jr(e.parent.vnode)&&(e.parent.effect.dirty=!0,pn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>l.value&&c?mo(c,e):u.value&&o?Hs(o,{error:u.value}):n&&!p.value?Hs(n):void 0}})}function mo(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=Hs(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}function go(e,t,n={},o,r){if(Sn.isCE||Sn.parent&&ho(Sn.parent)&&Sn.parent.isCE)return"default"!==t&&(n.name=t),Hs("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),Ls();const i=s&&_o(s(n)),l=Ms(Es,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function _o(e){return e.some((e=>!Bs(e)||e.type!==As&&!(e.type===Es&&!_o(e.children))))?e:null}function yo(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:F(o)]=e[o];return n}const bo=e=>e?ci(e)?_i(e):bo(e.parent):null,Co=l(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=>bo(e.parent),$root:e=>bo(e.root),$emit:e=>e.emit,$options:e=>Wo(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,pn(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>zr.bind(e)}),xo=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),So={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:o,setupState:r,data:s,props:i,accessCache:l,type:c,appContext:a}=e;let f;if("$"!==n[0]){const c=l[n];if(void 0!==c)switch(c){case 1:return r[n];case 2:return s[n];case 4:return o[n];case 3:return i[n]}else{if(xo(r,n))return l[n]=1,r[n];if(s!==t&&u(s,n))return l[n]=2,s[n];if((f=e.propsOptions[0])&&u(f,n))return l[n]=3,i[n];if(o!==t&&u(o,n))return l[n]=4,o[n];jo&&(l[n]=0)}}const p=Co[n];let d,h;return p?("$attrs"===n&&Oe(e.attrs,0,""),p(e)):(d=c.__cssModules)&&(d=d[n])?d:o!==t&&u(o,n)?(l[n]=4,o[n]):(h=a.config.globalProperties,u(h,n)?h[n]:void 0)},set({_:e},n,o){const{data:r,setupState:s,ctx:i}=e;return xo(s,n)?(s[n]=o,!0):r!==t&&u(r,n)?(r[n]=o,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(i[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:s,propsOptions:i}},l){let c;return!!o[l]||e!==t&&u(e,l)||xo(n,l)||(c=i[0])&&u(c,l)||u(r,l)||u(Co,l)||u(s.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Eo=l({},So,{get(e,t){if(t!==Symbol.unscopables)return So.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!j(t)});function wo(){return null}function Ao(){return null}function ko(e){}function To(e){}function Oo(){return null}function Lo(){}function No(e,t){return null}function Fo(){return Io().slots}function Ro(){return Io().attrs}function Io(){const e=oi();return e.setupContext||(e.setupContext=gi(e))}function Po(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Mo(e,t){const n=Po(e);for(const o in t){if(o.startsWith("__skip"))continue;let e=n[o];e?f(e)||v(e)?e=n[o]={type:e,default:t[o]}:e.default=t[o]:null===e&&(e=n[o]={default:t[o]}),e&&t[`__skip_${o}`]&&(e.skipFactory=!0)}return n}function Bo(e,t){return e&&t?f(e)&&f(t)?e.concat(t):l({},Po(e),Po(t)):e||t}func
|
||
|
/*! #__NO_SIDE_EFFECTS__ */
|
||
|
function Al(e,t,n){const o=po(e,t);class r extends Ol{constructor(e){super(o,e,n)}}return r.def=o,r}
|
||
|
/*! #__NO_SIDE_EFFECTS__ */const kl=(e,t)=>Al(e,t,fc),Tl="undefined"!=typeof HTMLElement?HTMLElement:class{};class Ol extends Tl{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,fn((()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),uc(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:o}=e;let r;if(n&&!f(n))for(const s in n){const e=n[s];(e===Number||e&&e.type===Number)&&(s in this._props&&(this._props[s]=B(this._props[s])),(r||(r=Object.create(null)))[T(s)]=!0)}this._numberProps=r,t&&this._resolveProps(e),this._applyStyles(o),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=f(t)?t:Object.keys(t||{});for(const o of Object.keys(this))"_"!==o[0]&&n.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of n.map(T))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e)}})}_setAttr(e){let t=this.hasAttribute(e)?this.getAttribute(e):void 0;const n=T(e);this._numberProps&&this._numberProps[n]&&(t=B(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(L(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(L(e),t+""):t||this.removeAttribute(L(e))))}_update(){uc(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Hs(this._def,l({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),L(e)!==e&&t(L(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof Ol){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Ll(e="$style"){{const n=oi();if(!n)return t;const o=n.type.__cssModules;if(!o)return t;const r=o[e];return r||t}}const Nl=new WeakMap,Fl=new WeakMap,Rl=Symbol("_moveCb"),Il=Symbol("_enterCb"),Pl={name:"TransitionGroup",props:l({},Hi,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=oi(),o=is();let r,s;return to((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[ji];r&&r.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(o);const{hasTransform:i}=Qi(o);return s.removeChild(o),i}(r[0].el,n.vnode.el,t))return;r.forEach(Bl),r.forEach(Vl);const o=r.filter(Ul);nl(),o.forEach((e=>{const n=e.el,o=n.style;qi(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[Rl]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[Rl]=null,Ji(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const i=Et(e),l=zi(i);let c=i.tag||Es;if(r=[],s)for(let e=0;e<s.length;e++){const t=s[e];t.el&&t.el instanceof Element&&(r.push(t),vs(t,ps(t,l,o,n)),Nl.set(t,t.el.getBoundingClientRect()))}s=t.default?ms(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&vs(t,ps(t,l,o,n))}return Hs(c,null,s)}}},Ml=Pl;function Bl(e){const t=e.el;t[Rl]&&t[Rl](),t[Il]&&t[Il]()}function Vl(e){Fl.set(e,e.el.getBoundingClientRect())}function Ul(e){const t=Nl.get(e),n=Fl.get(e),o=t.left-n.left,r=
|