You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
84 KiB
7 lines
84 KiB
2 months ago
|
var VueRuntimeDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={},o=[],r=()=>{},s=()=>!1,l=/^on[^a-z]/,i=e=>l.test(e),c=e=>e.startsWith("onUpdate:"),a=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,p=(e,t)=>f.call(e,t),d=Array.isArray,h=e=>"[object Map]"===S(e),v=e=>"[object Set]"===S(e),m=e=>"[object Date]"===S(e),g=e=>"function"==typeof e,y=e=>"string"==typeof e,_=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,C=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),w=e=>S(e).slice(8,-1),k=e=>"[object Object]"===S(e),E=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=t(",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))},F=/-(\w)/g,R=A((e=>e.replace(F,((e,t)=>t?t.toUpperCase():"")))),O=/\B([A-Z])/g,P=A((e=>e.replace(O,"-$1").toLowerCase())),M=A((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=A((e=>e?`on${M(e)}`:"")),B=(e,t)=>!Object.is(e,t),V=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},L=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t};let $;const j=()=>$||($="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),D=t("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");function H(e){if(d(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=y(o)?q(o):H(o);if(r)for(const e in r)t[e]=r[e]}return t}if(y(e)||b(e))return e}const W=/;(?![^(]*\))/g,z=/:([^]+)/,K=/\/\*[^]*?\*\//g;function q(e){const t={};return e.replace(K,"").split(W).forEach((e=>{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function G(e){let t="";if(y(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){const o=G(e[n]);o&&(t+=o+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Y=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function J(e){return!!e||""===e}function X(e,t){if(e===t)return!0;let n=m(e),o=m(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=_(e),o=_(t),n||o)return e===t;if(n=d(e),o=d(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=b(e),o=b(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 Z(e,t){return e.findIndex((e=>X(e,t)))}const Q=(e,t)=>t&&t.__v_isRef?Q(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()]}:!b(t)||d(t)||k(t)?t:String(t);let ee;class te{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ee,!e&&ee&&(this.index=(ee.scopes||(ee.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ee;try{return ee=this,e()}finally{ee=t}}}on(){ee=this}off(){ee=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.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function ne(e,t=ee){t&&t.active&&t.effects.push(e)}function oe(){return ee}const re=e=>{const t=new Set(e);return t.w=0,t.n=0,t},s
|
||
|
/*! #__NO_SIDE_EFFECTS__ */function qn(e,t){return g(e)?(()=>a({name:e.name},t,{setup:e}))():e}const Gn=e=>!!e.type.__asyncLoader
|
||
|
/*! #__NO_SIDE_EFFECTS__ */;function Yn(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,l=$r(e,o,r);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const Jn=e=>e.type.__isKeepAlive,Xn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Zr(),o=n.ctx,r=new Map,s=new Set;let l=null;const i=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:f}}}=o,p=f("div");function d(e){oo(e),u(e,n,i,!0)}function h(e){r.forEach(((t,n)=>{const o=us(t.type);!o||e&&e(o)||v(n)}))}function v(e){const t=r.get(e);l&&Br(t,l)?l&&oo(l):d(t),r.delete(e),s.delete(e)}o.activate=(e,t,n,o,r)=>{const s=e.component;a(e,t,n,0,i),c(s.vnode,e,t,n,s,i,o,e.slotScopeIds,r),ar((()=>{s.isDeactivated=!1,s.a&&V(s.a);const t=e.props&&e.props.onVnodeMounted;t&&Gr(t,s.parent,e)}),i)},o.deactivate=e=>{const t=e.component;a(e,p,null,1,i),ar((()=>{t.da&&V(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Gr(n,t.parent,e),t.isDeactivated=!0}),i)},Fn((()=>[e.include,e.exclude]),(([e,t])=>{e&&h((t=>Zn(e,t))),t&&h((e=>!Zn(t,e)))}),{flush:"post",deep:!0});let m=null;const g=()=>{null!=m&&r.set(m,ro(n.subTree))};return co(g),uo(g),fo((()=>{r.forEach((e=>{const{subTree:t,suspense:o}=n,r=ro(t);if(e.type!==r.type||e.key!==r.key)d(e);else{oo(r);const e=r.component.da;e&&ar(e,o)}}))})),()=>{if(m=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return l=null,n;if(!(Nr(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return l=null,o;let i=ro(o);const c=i.type,a=us(Gn(i)?i.type.__asyncResolved||{}:c),{include:u,exclude:f,max:p}=e;if(u&&(!a||!Zn(u,a))||f&&a&&Zn(f,a))return l=i,o;const d=null==i.key?c:i.key,h=r.get(d);return i.el&&(i=Dr(i),128&o.shapeFlag&&(o.ssContent=i)),m=d,h?(i.el=h.el,i.component=h.component,i.transition&&zn(i,i.transition),i.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),i.shapeFlag|=256,l=i,bn(o.type)?o:i}}};function Zn(e,t){return d(e)?e.some((e=>Zn(e,t))):y(e)?e.split(",").includes(t):"[object RegExp]"===S(e)&&e.test(t)}function Qn(e,t){to(e,"a",t)}function eo(e,t){to(e,"da",t)}function to(e,t,n=Xr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(so(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Jn(e.parent.vnode)&&no(o,t,n,e),e=e.parent}}function no(e,t,n,o){const r=so(t,e,o,!0);po((()=>{u(o[t],r)}),n)}function oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ro(e){return 128&e.shapeFlag?e.ssContent:e}function so(e,t,n=Xr,o=!1){if(n){const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ye(),es(n);const r=Vt(t,n,e,o);return ts(),_e(),r});return o?r.unshift(s):r.push(s),s}}const lo=e=>(t,n=Xr)=>(!ss||"sp"===e)&&so(e,((...e)=>t(...e)),n),io=lo("bm"),co=lo("m"),ao=lo("bu"),uo=lo("u"),fo=lo("bum"),po=lo("um"),ho=lo("sp"),vo=lo("rtg"),mo=lo("rtc");function go(e,t=Xr){so("ec",e,t)}function yo(e){return e.some((e=>!Nr(e)||e.type!==wr&&!(e.type===xr&&!yo(e.children))))?e:null}const _o=e=>e?ns(e)?as(e)||e.proxy:_o(e.parent):null,bo=a(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=>_o(e.parent),$root:e=>_o(e.root),$emit:e=>e.emit,$options:e=>Ro(e),$forceUpdate:e=>e.f||(e.f=()=>Gt(e.update)),$nextTick:e=>e.n||(e.n=qt.bind(e.proxy)),$watch:e=>On.bind(e)}),Co=(e,t)=>e!==n&&!e.__isScriptSetup&&p(e,t),xo={get({_:e},t){const{ctx:o,setupState:r,data:s,props:l,accessCache:i,type:c,appContext:a}=e;let u;if("$"!==t[0]){const c=i[t];if(void 0!==c)switch(c){case 1:return r[t];case 2:return s[t];case 4:return o[t];case 3:return l[t]}else{if(Co(r,t))return i[t]=1,r[t];if(s!==n&&p(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&p(u,t))return i[t]=3,l[t];if(o!==n&&p(o,t))return i[t]=4,o[t];Eo&&(i[t]=0)}}const f=bo[t];let d,h;return f?("$attrs"===t&&be(e,0,t),f(e)):(d=c.__cssModules)&&(d=d[t])?d:o!==n&&p(o,t)?(i[t]=4,o[t]):(h=a.config.globalProperties,p(h,t)?h[t]:void 0)},set({_:e},t,o){const{data:r,setupState:s,ctx:l}=e;return Co(s,t)?(s[t]=o,!0):r!==n&&p(r,t)?(
|
||
|
/*! #__NO_SIDE_EFFECTS__ */
|
||
|
function el(e,t){const n=qn(e);class o extends nl{constructor(e){super(n,e,t)}}return o.def=n,o}
|
||
|
/*! #__NO_SIDE_EFFECTS__ */const tl="undefined"!=typeof HTMLElement?HTMLElement:class{};class nl 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,this._ob&&(this._ob.disconnect(),this._ob=null),qt((()=>{this._connected||(Vl(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&&!d(n))for(const s in n){const e=n[s];(e===Number||e&&e.type===Number)&&(s in this._props&&(this._props[s]=U(this._props[s])),(r||(r=Object.create(null)))[R(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=d(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(R))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(e){this._setProp(o,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=R(e);this._numberProps&&this._numberProps[n]&&(t=U(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(P(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(P(e),t+""):t||this.removeAttribute(P(e))))}_update(){Vl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=$r(this._def,a({},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),P(e)!==e&&t(P(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof nl){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 ol(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ol(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)rl(e.el,t);else if(e.type===xr)e.children.forEach((e=>ol(e,t)));else if(e.type===kr){let{el:n,anchor:o}=e;for(;n&&(rl(n,t),n!==o);)n=n.nextSibling}}function rl(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const sl=new WeakMap,ll=new WeakMap,il=Symbol("_moveCb"),cl=Symbol("_enterCb"),al={name:"TransitionGroup",props:a({},ws,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zr(),o=Ln();let r,s;return uo((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[Cs];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:l}=Ns(o);return s.removeChild(o),l}(r[0].el,n.vnode.el,t))return;r.forEach(fl),r.forEach(pl);const o=r.filter(dl);Ls(),o.forEach((e=>{const n=e.el,o=n.style;Fs(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n[il]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n[il]=null,Rs(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const l=gt(e),i=Ts(l);let c=l.tag||xr;r=s,s=t.default?Kn(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&zn(t,Dn(t,i,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];zn(t,Dn(t,i,o,n
|