Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-23 04:19:20 +08:00
v3-admin-vite/static/vue-B9g8wdAH.js

2 lines
118 KiB
JavaScript
Raw Normal View History

function bs(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ie={},Gt=[],Te=()=>{},Ec=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),de=Object.assign,xr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cc=Object.prototype.hasOwnProperty,te=(e,t)=>Cc.call(e,t),U=Array.isArray,qt=e=>ln(e)==="[object Map]",Ft=e=>ln(e)==="[object Set]",fo=e=>ln(e)==="[object Date]",wc=e=>ln(e)==="[object RegExp]",J=e=>typeof e=="function",he=e=>typeof e=="string",_t=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Tr=e=>(ce(e)||J(e))&&J(e.then)&&J(e.catch),gi=Object.prototype.toString,ln=e=>gi.call(e),Rc=e=>ln(e).slice(8,-1),mi=e=>ln(e)==="[object Object]",Ar=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zt=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Sc=/-(\w)/g,Re=vs(e=>e.replace(Sc,(t,n)=>n?n.toUpperCase():"")),xc=/\B([A-Z])/g,Ie=vs(e=>e.replace(xc,"-$1").toLowerCase()),Fn=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),mn=vs(e=>e?`on${Fn(e)}`:""),je=(e,t)=>!Object.is(e,t),Yt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ls=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Sn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cs=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let ao;const yi=()=>ao||(ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Tc="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",Ac=bs(Tc);function Hn(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=he(s)?Mc(s):Hn(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(he(e)||ce(e))return e}const Pc=/;(?![^(]*\))/g,Oc=/:([^]+)/,Nc=/\/\*[^]*?\*\//g;function Mc(e){const t={};return e.replace(Nc,"").split(Pc).forEach(n=>{if(n){const s=n.split(Oc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Vn(e){let t="";if(he(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const s=Vn(e[n]);s&&(t+=s+" ")}else if(ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ic(e){if(!e)return null;let{class:t,style:n}=e;return t&&!he(t)&&(e.class=Vn(t)),n&&(e.style=Hn(n)),e}const Lc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",kc=bs(Lc);function _i(e){return!!e||e===""}function Fc(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=bt(e[s],t[s]);return n}function bt(e,t){if(e===t)return!0;let n=fo(e),s=fo(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=_t(e),s=_t(t),n||s)return e===t;if(n=U(e),s=U(t),n||s)return n&&s?Fc(e,t):!1;if(n=ce(e),s=ce(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!bt(e[i],t[i]))return!1}}return String(e)===String(t)}function Es(e,t){return e.findIndex(n=>bt(n,t))}const Hc=e=>he(e)?e:e==null?"":U(e)||ce(e)&&(e.toString===gi||!J(e.toString))?JSON.stringify(e,bi,2):String(e),bi=(e,t)=>t&&t.__v_isRef?bi(e,t.value):qt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ds(s,o)+" =>"]=r,n),{})}:Ft(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ds(n))}:_t(t)?Ds(t):ce(t)&&!U(t)&&!mi(t)?String(t):t,Ds=(e,t="")=>{var n;return _t(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ne;class Pr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=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.cleanup