2024-08-17 02:40:51 +08:00
|
|
|
|
function __vite__mapDeps(indexes) {
|
|
|
|
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
|
|
|
__vite__mapDeps.viteFileDeps = []
|
|
|
|
|
}
|
|
|
|
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* @vue/shared v3.4.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
**/function Ol(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ce={},Tn=[],at=()=>{},cf=()=>!1,Er=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pl=e=>e.startsWith("onUpdate:"),$e=Object.assign,$l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uf=Object.prototype.hasOwnProperty,he=(e,t)=>uf.call(e,t),oe=Array.isArray,Ln=e=>vo(e)==="[object Map]",Ji=e=>vo(e)==="[object Set]",ae=e=>typeof e=="function",Re=e=>typeof e=="string",zn=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Xi=e=>(we(e)||ae(e))&&ae(e.then)&&ae(e.catch),Zi=Object.prototype.toString,vo=e=>Zi.call(e),ff=e=>vo(e).slice(8,-1),ea=e=>vo(e)==="[object Object]",Rl=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Ol(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},df=/-(\w)/g,dt=mo(e=>e.replace(df,(t,n)=>n?n.toUpperCase():"")),pf=/\B([A-Z])/g,Un=mo(e=>e.replace(pf,"-$1").toLowerCase()),kr=mo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Po=mo(e=>e?`on${kr(e)}`:""),Wt=(e,t)=>!Object.is(e,t),to=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},oo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ll=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hf=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let bs;const ta=()=>bs||(bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ml(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Re(r)?yf(r):Ml(r);if(o)for(const l in o)t[l]=o[l]}return t}else if(Re(e)||we(e))return e}const vf=/;(?![^(]*\))/g,mf=/:([^]+)/,gf=/\/\*[^]*?\*\//g;function yf(e){const t={};return e.replace(gf,"").split(vf).forEach(n=>{if(n){const r=n.split(mf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Nl(e){let t="";if(Re(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=Nl(e[n]);r&&(t+=r+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const bf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_f=Ol(bf);function na(e){return!!e||e===""}const zt=e=>Re(e)?e:e==null?"":oe(e)||we(e)&&(e.toString===Zi||!ae(e.toString))?JSON.stringify(e,ra,2):String(e),ra=(e,t)=>t&&t.__v_isRef?ra(e,t.value):Ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],l)=>(n[$o(r,l)+" =>"]=o,n),{})}:Ji(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>$o(n))}:zn(t)?$o(t):we(t)&&!oe(t)&&!ea(t)?String(t):t,$o=(e,t="")=>{var n;return zn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* @vue/reactivity v3.4.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
**/let nt;class wf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Ef(e,t=nt){t&&t.active&&t.effects.push(e)}function oa(){return nt}function kf(e){nt&&nt.cleanups.push(e)}let un;class Dl{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Ef(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,hn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Cf(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ut,n=un;try{return Ut=!0,un=this,this._runnings++,_s(this),this.fn()}finally{ws(this),this._runnings--,un=n,Ut=t}}stop(){var t;this.active&&(_s(this),ws(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cf(e){return e.value}function _s(e){e._trackId++,e._depsLength=0}function ws(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)la(e.deps[t],e);e.deps.length=e._depsLength}}function la(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ut=!0,sl=0;const sa=[];function hn(){sa.push(Ut),Ut=!1}function vn(){const e=sa.pop();Ut=e===void 0?!0:e}function Fl(){sl++}function jl(){for(sl--;!sl&&il.length;)il.shift()()}function ia(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&la(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const il=[];function aa(e,t,n){Fl();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&il.push(r.scheduler)))}jl()}const ca=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},lo=new WeakMap,fn=Symbol(""),al=Symbol("");function Ze(e,t,n){if(Ut&&un){let r=lo.get(e);r||lo.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ca(()=>r.delete(n))),ia(un,o)}}function At(e,t,n,r,o,l){const s=lo.get(e);if(!s)return;let i=[];if(t==="clear")i=[...s.values()];else if(n==="length"&&oe(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!zn(u)&&u>=a)&&i.push(c)})}else switch(n!==void 0&&i.push(s.get(n)),t){case"add":oe(e)?Rl(n)&&i.push(s.get("length")):(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"delete":oe(e)||(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"set":Ln(e)&&i.push(s.get(fn));break}Fl();for(const a of i)a&&aa(a,4);jl()}function xf(e,t){var n;return(n=lo.get(e))==null?void 0:n.get(t)}const Sf=Ol("__proto__,__v_isRef,__isVue"),ua=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zn)),Es=Tf();function Tf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=fe(this);for(let l=0,s=this.length;l<s;l++)Ze(r,"get",l+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(fe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){hn(),Fl();const r=fe(this)[t].apply(this,n);return jl(),vn(),r}}),e}function Lf(e){const t=fe(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class fa{constructor(t=!1,n=!1
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* @vue/runtime-core v3.4.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
**/function qt(e,t,n,r){try{return r?e(...r):e()}catch(o){Sr(o,t,n)}}function ct(e,t,n,r){if(ae(e)){const l=qt(e,t,n,r);return l&&Xi(l)&&l.catch(s=>{Sr(s,t,n)}),l}const o=[];for(let l=0;l<e.length;l++)o.push(ct(e[l],t,n,r));return o}function Sr(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let l=t.parent;const s=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,i)===!1)return}l=l.parent}const a=t.appContext.config.errorHandler;if(a){qt(a,null,10,[e,s,i]);return}}Jf(e,n,o,r)}function Jf(e,t,n,r=!0){console.error(e)}let ur=!1,cl=!1;const Ve=[];let Et=0;const On=[];let Ft=null,ln=0;const ka=Promise.resolve();let Wl=null;function Qt(e){const t=Wl||ka;return e?t.then(this?e.bind(this):e):t}function Xf(e){let t=Et+1,n=Ve.length;for(;t<n;){const r=t+n>>>1,o=Ve[r],l=fr(o);l<e||l===e&&o.pre?t=r+1:n=r}return t}function bo(e){(!Ve.length||!Ve.includes(e,ur&&e.allowRecurse?Et+1:Et))&&(e.id==null?Ve.push(e):Ve.splice(Xf(e.id),0,e),Ca())}function Ca(){!ur&&!cl&&(cl=!0,Wl=ka.then(xa))}function Zf(e){const t=Ve.indexOf(e);t>Et&&Ve.splice(t,1)}function ed(e){oe(e)?On.push(...e):(!Ft||!Ft.includes(e,e.allowRecurse?ln+1:ln))&&On.push(e),Ca()}function Ts(e,t,n=ur?Et+1:0){for(;n<Ve.length;n++){const r=Ve[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ve.splice(n,1),n--,r()}}}function io(e){if(On.length){const t=[...new Set(On)].sort((n,r)=>fr(n)-fr(r));if(On.length=0,Ft){Ft.push(...t);return}for(Ft=t,ln=0;ln<Ft.length;ln++)Ft[ln]();Ft=null,ln=0}}const fr=e=>e.id==null?1/0:e.id,td=(e,t)=>{const n=fr(e)-fr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xa(e){cl=!1,ur=!0,Ve.sort(td);try{for(Et=0;Et<Ve.length;Et++){const t=Ve[Et];t&&t.active!==!1&&qt(t,null,14)}}finally{Et=0,Ve.length=0,io(),ur=!1,Wl=null,(Ve.length||On.length)&&xa()}}function nd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ce;let o=n;const l=t.startsWith("update:"),s=l&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:d,trim:p}=r[u]||Ce;p&&(o=n.map(h=>Re(h)?h.trim():h)),d&&(o=n.map(ll))}let i,a=r[i=Po(t)]||r[i=Po(dt(t))];!a&&l&&(a=r[i=Po(Un(t))]),a&&ct(a,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(c,e,6,o)}}function Sa(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const l=e.emits;let s={},i=!1;if(!ae(e)){const a=c=>{const u=Sa(c,t,!0);u&&(i=!0,$e(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(we(e)&&r.set(e,null),null):(oe(l)?l.forEach(a=>s[a]=null):$e(s,l),we(e)&&r.set(e,s),s)}function _o(e,t){return!e||!Er(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,Un(t))||he(e,t))}let We=null,wo=null;function ao(e){const t=We;return We=e,wo=e&&e.type.__scopeId||null,t}function Tr(e){wo=e}function Lr(){wo=null}function rd(e,t=We,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&js(-1);const l=ao(t);let s;try{s=e(...o)}finally{ao(l),r._d&&js(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Ro(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:l,propsOptions:[s],slots:i,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:m,inheritAttrs:_}=e;let b,w;const C=ao(e);try{if(n.shapeFlag&4){const x=o||r,P=x;b=vt(u.call(P,x,d,l,h,p,m)),w=a}else{const x=t;b=vt(x.length>1?x(l,{attrs:a,slots:i,emit:c}):x(l,null)),w=t.props?a:od(a)}}catch(x){lr.length=0,Sr(x,e,1),b=Oe(ut)}let y=b;if(w&&_!==!1){const x=Object.keys(w),{shapeFlag:P}=y;x.length&&P&7&&(s&&x.some(Pl)&&(w=ld(w,s)),y=Kt(y,w))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,ao(C),b}const od=e=>{let t;for(const n in e)(n==="class"||n==="style"||Er(n))&&((t||(t={}))[n]=e[n]);return t},ld=(e,t)=>{const n={};for(const r in e)(!Pl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sd(e,t,n){const{props:r,children:o,component:l}=e,{props:s,children:i,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)re
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* @vue/runtime-dom v3.4.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
**/const s1="http://www.w3.org/2000/svg",i1="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,zs=Ht&&Ht.createElement("template"),a1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ht.createElementNS(s1,e):t==="mathml"?Ht.createElementNS(i1,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,l){const s=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{zs.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const i=zs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Fn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(vd,Za(e),t);Yt.displayName="Transition";const Xa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},c1=Yt.props=$e({},$a,Xa),rn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Us=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Za(e){const t={};for(const M in e)M in Xa||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=s,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=u1(o),_=m&&m[0],b=m&&m[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:y,onLeave:x,onLeaveCancelled:P,onBeforeAppear:S=w,onAppear:I=C,onAppearCancelled:$=y}=t,Q=(M,re,ke)=>{Dt(M,re?u:i),Dt(M,re?c:s),ke&&ke()},O=(M,re)=>{M._isLeaving=!1,Dt(M,d),Dt(M,h),Dt(M,p),re&&re()},U=M=>(re,ke)=>{const _e=M?I:C,K=()=>Q(re,M,ke);rn(_e,[re,K]),qs(()=>{Dt(re,M?a:l),St(re,M?u:i),Us(_e)||Ws(re,r,_,K)})};return $e(t,{onBeforeEnter(M){rn(w,[M]),St(M,l),St(M,s)},onBeforeAppear(M){rn(S,[M]),St(M,a),St(M,c)},onEnter:U(!1),onAppear:U(!0),onLeave(M,re){M._isLeaving=!0;const ke=()=>O(M,re);St(M,d),tc(),St(M,p),qs(()=>{M._isLeaving&&(Dt(M,d),St(M,h),Us(x)||Ws(M,r,b,ke))}),rn(x,[M,ke])},onEnterCancelled(M){Q(M,!1),rn(y,[M])},onAppearCancelled(M){Q(M,!0),rn($,[M])},onLeaveCancelled(M){O(M),rn(P,[M])}})}function u1(e){if(e==null)return null;if(we(e))return[jo(e.enter),jo(e.leave)];{const t=jo(e);return[t,t]}}function jo(e){return hf(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Fn]||(e[Fn]=new Set)).add(t)}function Dt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Fn];n&&(n.delete(t),n.size||(e[Fn]=void 0))}function qs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let f1=0;function Ws(e,t,n,r){const o=e._endId=++f1,l=()=>{o===e._endId&&r()};if(n)return setTimeout(l,n);const{type:s,timeout:i,propCount:a}=ec(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),l()},p=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},i+1),e.addEventListener(c,p)}function ec(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),o=r(`${Rt}Delay`),l=r(`${Rt}Duration`),s=Gs(o,l),i=r(`${Yn}Delay`),a=r(`${Yn}Duration`),c=Gs(i,a);let u=null,d=0,p=0;t===Rt?s>0&&(u=Rt,d=s,p=l.length):t===Yn?c>0&&(u=Yn,d=c,p=a.length):(d=Math.max(s,c),u=d>0?s>c?Rt:Yn:null,p=u?u===Rt?l.length:a.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(r(`${Rt}Property`
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* vue-router v4.4.0
|
|
|
|
|
* (c) 2024 Eduardo San Martin Morote
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
*/const kn=typeof document<"u";function Z1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Uo(e,t){const n={};for(const r in t){const o=t[r];n[r]=bt(o)?o.map(e):e(o)}return n}const sr=()=>{},bt=Array.isArray,cc=/#/g,ep=/&/g,tp=/\//g,np=/=/g,rp=/\?/g,uc=/\+/g,op=/%5B/g,lp=/%5D/g,fc=/%5E/g,sp=/%60/g,dc=/%7B/g,ip=/%7C/g,pc=/%7D/g,ap=/%20/g;function ts(e){return encodeURI(""+e).replace(ip,"|").replace(op,"[").replace(lp,"]")}function cp(e){return ts(e).replace(dc,"{").replace(pc,"}").replace(fc,"^")}function ml(e){return ts(e).replace(uc,"%2B").replace(ap,"+").replace(cc,"%23").replace(ep,"%26").replace(sp,"`").replace(dc,"{").replace(pc,"}").replace(fc,"^")}function up(e){return ml(e).replace(np,"%3D")}function fp(e){return ts(e).replace(cc,"%23").replace(rp,"%3F")}function dp(e){return e==null?"":fp(e).replace(tp,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const pp=/\/$/,hp=e=>e.replace(pp,"");function qo(e,t,n="/"){let r,o={},l="",s="";const i=t.indexOf("#");let a=t.indexOf("?");return i<a&&i>=0&&(a=-1),a>-1&&(r=t.slice(0,a),l=t.slice(a+1,i>-1?i:t.length),o=e(l)),i>-1&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=yp(r??t,n),{fullPath:r+(l&&"?")+l+s,path:r,query:o,hash:vr(s)}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Bn(t.matched[r],n.matched[o])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gp(e[n],t[n]))return!1;return!0}function gp(e,t){return bt(e)?ai(e,t):bt(t)?ai(t,e):e===t}function ai(e,t){return bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function yp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let l=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],i!==".")if(i==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(s).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(e){e.pop="pop",e.push="push"})(mr||(mr={}));var ir;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ir||(ir={}));function bp(e){if(!e)if(kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hp(e)}const _p=/^[^#]+#/;function wp(e,t){return e.replace(_p,"#")+t}function Ep(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xo=()=>({left:window.scrollX,top:window.scrollY});function kp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ep(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ci(e,t){return(history.state?history.state.position-t:-1)+e}const gl=new Map;function Cp(e,t){gl.set(e,t)}function xp(e){const t=gl.get(e);return gl.delete(e),t}let Sp=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:r,hash:o}=t,l=e.indexOf("#");if(l>-1){let i=o.includes(e.slice(l))?e.slice(l).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),ii(a,"")}return ii(n,e)+r+o}function Tp(e,t,n,r){let o=[],l=[],s=null;const i=({state:p})=>{const h=vc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,s&&s===m){s=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(w=>{w(n.value,m,{delta:b,type:mr.pop,direction:b?b>0?ir.forward:ir.back:ir.unknown
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
|
|
|
* @license MIT
|
2024-08-19 00:07:08 +08:00
|
|
|
|
*/const pe={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:e=>{const t=pe.isStarted();e=Xo(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),r=n.querySelector(pe.settings.barSelector),o=pe.settings.speed,l=pe.settings.easing;return n.offsetWidth,Ch(s=>{Jr(r,{transform:"translate3d("+Ai(e)+"%,0,0)",transition:"all "+o+"ms "+l}),e===1?(Jr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Jr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),s()},o)},o)):setTimeout(()=>s(),o)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Xo(Math.random()*t,.1,.95)),t=Xo(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ii(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),r=e?"-100":Ai(pe.status||0),o=document.querySelector(pe.settings.parent);return Jr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ii(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Oi(document.documentElement,"nprogress-busy"),Oi(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&xh(e)},isRendered:()=>!!document.getElementById("nprogress")},Xo=(e,t,n)=>e<t?t:e>n?n:e,Ai=e=>(-1+e)*100,Ch=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Jr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function r(s){const i=document.body.style;if(s in i)return s;let a=e.length;const c=s.charAt(0).toUpperCase()+s.slice(1);let u;for(;a--;)if(u=e[a]+c,u in i)return u;return s}function o(s){return s=n(s),t[s]??(t[s]=r(s))}function l(s,i,a){i=o(i),s.style[i]=a}return function(s,i){for(const a in i){const c=i[a];c!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&l(s,a,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:us(e)).indexOf(" "+t+" ")>=0,Ii=(e,t)=>{const n=us(e),r=n+t;Gc(n,t)||(e.className=r.substring(1))},Oi=(e,t)=>{const n=us(e);if(!Gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},us=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),xh=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Sh=()=>{Ee(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},Th=et({setup(){Sh()}}),Lh=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$PM1C.9CvLtmCJDP2K0uQi.zgnIchqmipkW/BKp216mRjO6AqeGVai"]}},"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"在 GitHub 上编辑","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?"
|
2024-08-17 02:40:51 +08:00
|
|
|
|
${r}}`)),t.appendChild(o)}},f2=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(l=>Ni[r].types.includes(l));if(o.length){const l=o[0];n[r]=[e[l].replace(/^\n|\n$/g,""),Ni[r].map[l]||l]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},du=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),pu=e=>`<div id="app">
|
|
|
|
|
${du(e)}
|
|
|
|
|
</div>`,d2=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|
|
|
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,p2=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),hu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,h2=(e,t)=>{const n=ds(t),r=e.js[0]||"";return{...n,html:du(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)||"":r}}},v2=/<template>([\s\S]+)<\/template>/u,m2=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,g2=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,y2=(e,t)=>{const n=ds(t),r=e.html[0]||"",o=v2.exec(r),l=m2.exec(r),s=g2.exec(r),i=o?o[1].replace(/^\n|\n$/g,""):"",[a="",c=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],[u="",d=""]=s?[s[4].replace(/^\n|\n$/g,""),s[3]]:[],p=c===""&&(d===""||d==="css");return{...n,html:pu(i),js:p2(a),css:u,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,_;const h=t.useBabel?((_=(m=window.Babel)==null?void 0:m.transform(a,{presets:["es2015"]}))==null?void 0:_.code)||"":a.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${hu(h)};appOptions.template=\`${i.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},b2=(e,t)=>{const n=ds(t);return{...n,html:pu(""),js:d2(e.js[0]||""),css:e.css[0]||(e.js[0]?e.js[0].replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim():""),isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{var o,l;const r=((l=(o=window.Babel)==null?void 0:o.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:l.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${hu(r)}))`}}},Rn={},_2=e=>Promise.all([$n(Rn,e.babel),$n(Rn,e.react),$n(Rn,e.reactDOM)]),w2=e=>{const t=[$n(Rn,e.vue)];return e.useBabel&&t.push($n(Rn,e.babel)),Promise.all(t)},E2=e=>e.useBabel?$n(Rn,e.babel):Promise.resolve();var k2=V({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:{type:String,default:""},config:{type:String,default:""},code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=yr(!1),o=Fe(),l=Fe(),s=Y("0"),i=Y(!1),a=T(()=>JSON.parse(e.config?El(e.config):"{}")),c=T(()=>{const m=JSON.parse(El(e.code));return f2(m)}),u=T(()=>e.type==="react"?b2(c.value,a.value):e.type==="vue"?y2(c.value,a.value):h2(c.value,a.value)),d=T(()=>u.value.isLegal),p=(m=!1)=>{const _=o.value.attachShadow({mode:"open"}),b=document.createElement("div");b.classList.add("code-demo-app"),_.appendChild(b),d.value?(m&&(b.innerHTML=u.value.html),c2(_,u.value),u2(e.id,_,u.value),s.value="0"):s.value="auto",i.value=!0},h=()=>{switch(e.type){case"react":return _2(u.value).then(()=>p());case"vue":return w2(u.value).then(()=>p());default:return E2(u.value).then(()=>p(!0))}};return Ne("beforeprint",()=>{r(!0)}),Ee(()=>{setTimeout(()=>{h()},800)}),()=>{var m;return f("div",{class:"vp-code-demo",id:e.id},[f("div",{class:"vp-code-demo-header"},[u.value.isLegal?f("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{s.value=n.value?"0":`${l.value.clientHeight+13.8}px`,r()}}):null,e.title?f("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?f("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[f("input",{type:"hidden",name:"html",value:u.value.html}),f("input",{type:"hidden",name:"js",value:u.value.js}),f("input",{type:"hidden",name:"css",value:u.value.css}),f("input",{type:"hidden",name:"wrap",value:"1"}),f("input",{type:"hidden",name:"panel_js",value:"3"}
|
|
|
|
|
{
|
|
|
|
|
${e}
|
|
|
|
|
__echarts_config__={width,height,option};
|
|
|
|
|
}
|
|
|
|
|
return __echarts_config__;
|
2024-08-19 00:07:08 +08:00
|
|
|
|
`)(n):Promise.resolve({option:JSON.parse(e)});var I2=V({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=S2(),n=Y(!0),r=Fe();let o;return Ne("resize",Mc(()=>o==null?void 0:o.resize(),100)),Ee(()=>{Promise.all([ce(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(l=>setTimeout(l,800))]).then(async([l])=>{var a;await((a=t.setup)==null?void 0:a.call(t)),o=l.init(r.value);const{option:s,...i}=await A2(El(e.config),e.type,o);o.resize(i),o.setOption({...t.option,...s}),n.value=!1})}),mn(()=>{o==null||o.dispose()}),()=>[e.title?f("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,f("div",{class:"echarts-wrapper"},[f("div",{ref:r,class:"echarts-container",id:e.id}),n.value?f(fs,{class:"echarts-loading",height:360}):null])]}});const O2=()=>{Ne("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},el=Gn("VUEPRESS_TAB_STORE",{});var P2=V({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Fe([]),o=()=>{e.tabId&&(el.value[e.tabId]=e.data[n.value].id)},l=(c=n.value)=>{n.value=c<r.value.length-1?c+1:0,r.value[n.value].focus()},s=(c=n.value)=>{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>el.value[e.tabId]===u);if(c!==-1)return c}return e.active};return Ee(()=>{n.value=a(),ve(()=>el.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const $2=et({enhance:({app:e})=>{e.component("CodeTabs",Xh),ft("CodeGroup",e)||e.component("CodeGroup",Zh),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",k2),e.component("MdDemo",C2),e.component("ECharts",I2),T2(e),e.component("Tabs",P2)},setup:()=>{O2()}});let R2={};const mu=Symbol(""),M2=()=>De(mu),N2=e=>{e.provide(mu,R2)},D2='<div class="photo-swipe-loading"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div>',F2=e=>Pe(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),gu=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(gu(e)),e.onerror=r=>n(r))}),j2=e=>{const{isSupported:t,toggle:n}=cs();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a
|
2024-08-17 02:40:51 +08:00
|
|
|
|
* clipboard.js v2.0.11
|
|
|
|
|
* https://clipboardjs.com/
|
|
|
|
|
*
|
|
|
|
|
* Licensed MIT © Zeno Rocha
|
2024-08-19 00:07:08 +08:00
|
|
|
|
*/(function(e,t){(function(r,o){e.exports=o()})(s4,function(){return function(){var n={686:function(l,s,i){i.d(s,{default:function(){return Ye}});var a=i(279),c=i.n(a),u=i(370),d=i.n(u),p=i(817),h=i.n(p);function m(Z){try{return document.execCommand(Z)}catch{return!1}}var _=function(z){var G=h()(z);return m("cut"),G},b=_;function w(Z){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var te=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(te,"px"),G.setAttribute("readonly",""),G.value=Z,G}var C=function(z,G){var te=w(z);G.container.appendChild(te);var J=h()(te);return m("copy"),te.remove(),J},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},te="";return typeof z=="string"?te=C(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?te=C(z.value,G):(te=h()(z),m("copy")),te},x=y;function P(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(G){return typeof G}:P=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},P(Z)}var S=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,te=G===void 0?"copy":G,J=z.container,E=z.target,F=z.text;if(te!=="copy"&&te!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(E!==void 0)if(E&&P(E)==="object"&&E.nodeType===1){if(te==="copy"&&E.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(te==="cut"&&(E.hasAttribute("readonly")||E.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(F)return x(F,{container:J});if(E)return te==="cut"?b(E):x(E,{container:J})},I=S;function $(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(G){return typeof G}:$=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},$(Z)}function Q(Z,z){if(!(Z instanceof z))throw new TypeError("Cannot call a class as a function")}function O(Z,z){for(var G=0;G<z.length;G++){var te=z[G];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(Z,te.key,te)}}function U(Z,z,G){return z&&O(Z.prototype,z),G&&O(Z,G),Z}function M(Z,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(z&&z.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),z&&re(Z,z)}function re(Z,z){return re=Object.setPrototypeOf||function(te,J){return te.__proto__=J,te},re(Z,z)}function ke(Z){var z=le();return function(){var te=W(Z),J;if(z){var E=W(this).constructor;J=Reflect.construct(te,arguments,E)}else J=te.apply(this,arguments);return _e(this,J)}}function _e(Z,z){return z&&($(z)==="object"||typeof z=="function")?z:K(Z)}function K(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}function le(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function W(Z){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},W(Z)}function Se(Z,z){var G="data-clipboard-".concat(Z);if(z.hasAttribute(G))return z.getAttribute(G)}var ot=function(Z){M(G,Z);var z=ke(G);function G(te,J){var E;return Q(this,G),E=z.call(this),E.resolveOptions(J),E.listenClick(te),E}return U(G,[{key:"resolveOptions",value:function(){var J=
|