forked from bot/app
46 lines
356 KiB
JavaScript
46 lines
356 KiB
JavaScript
|
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
|
|||
|
**/function Nr(e,t){const n=new Set(e.split(","));return t?l=>n.has(l.toLowerCase()):l=>n.has(l)}const Ce={},xn=[],ct=()=>{},od=()=>!1,Ll=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pr=e=>e.startsWith("onUpdate:"),Re=Object.assign,Or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cd=Object.prototype.hasOwnProperty,pe=(e,t)=>cd.call(e,t),re=Array.isArray,Sn=e=>ps(e)==="[object Map]",Ja=e=>ps(e)==="[object Set]",ce=e=>typeof e=="function",Fe=e=>typeof e=="string",Un=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Xa=e=>(ke(e)||ce(e))&&ce(e.then)&&ce(e.catch),Za=Object.prototype.toString,ps=e=>Za.call(e),ud=e=>ps(e).slice(8,-1),eo=e=>ps(e)==="[object Object]",Rr=e=>Fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tn=Nr(",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))},dd=/-(\w)/g,ht=vs(e=>e.replace(dd,(t,n)=>n?n.toUpperCase():"")),fd=/\B([A-Z])/g,zn=vs(e=>e.replace(fd,"-$1").toLowerCase()),Al=vs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ps=vs(e=>e?`on${Al(e)}`:""),Gt=(e,t)=>!Object.is(e,t),ns=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},rs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hd=e=>{const t=Fe(e)?Number(e):NaN;return isNaN(t)?e:t};let _i;const to=()=>_i||(_i=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ms(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const l=e[n],s=Fe(l)?gd(l):ms(l);if(s)for(const r in s)t[r]=s[r]}return t}else if(Fe(e)||ke(e))return e}const pd=/;(?![^(]*\))/g,vd=/:([^]+)/,md=/\/\*[^]*?\*\//g;function gd(e){const t={};return e.replace(md,"").split(pd).forEach(n=>{if(n){const l=n.split(vd);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Fr(e){let t="";if(Fe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const l=Fr(e[n]);l&&(t+=l+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_d=Nr(yd);function no(e){return!!e||e===""}const Tt=e=>Fe(e)?e:e==null?"":re(e)||ke(e)&&(e.toString===Za||!ce(e.toString))?JSON.stringify(e,lo,2):String(e),lo=(e,t)=>t&&t.__v_isRef?lo(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,s],r)=>(n[Os(l,r)+" =>"]=s,n),{})}:Ja(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Os(n))}:Un(t)?Os(t):ke(t)&&!re(t)&&!eo(t)?String(t):t,Os=(e,t="")=>{var n;return Un(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|||
|
* @vue/reactivity v3.4.21
|
|||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|||
|
* @license MIT
|
|||
|
**/let st;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=st,!t&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=st;try{return st=this,t()}finally{st=n}}}on(){st=this}off(){st=this.parent}stop(t){if(this._active){let n,l;for(n=0,l=this.effects.length;n<l;n++)this.effects[n].stop();for(n=0,l=this.cleanups.length;n<l;n++)this.cleanups[n]();if(this.scopes)for(n=0,l=this.scopes.length;n<l;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function kd(e,t=st){t&&t.active&&t.effects.push(e)}function so(){return st}function wd(e){st&&st.cleanups.push(e)}let dn;class $r{constructor(t,n,l,s){this.fn=t,this.trigger=n,this.scheduler=l,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,kd(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,vn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Ed(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),mn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=qt,n=dn;try{return qt=!0,dn=this,this._runnings++,bi(this),this.fn()}finally{ki(this),this._runnings--,dn=n,qt=t}}stop(){var t;this.active&&(bi(this),ki(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ed(e){return e.value}function bi(e){e._trackId++,e._depsLength=0}function ki(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ro(e.deps[t],e);e.deps.length=e._depsLength}}function ro(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let qt=!0,ir=0;const io=[];function vn(){io.push(qt),qt=!1}function mn(){const e=io.pop();qt=e===void 0?!0:e}function Mr(){ir++}function Dr(){for(ir--;!ir&&ar.length;)ar.shift()()}function ao(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const l=e.deps[e._depsLength];l!==t?(l&&ro(l,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ar=[];function oo(e,t,n){Mr();for(const l of e.keys()){let s;l._dirtyLevel<t&&(s??(s=e.get(l)===l._trackId))&&(l._shouldSchedule||(l._shouldSchedule=l._dirtyLevel===0),l._dirtyLevel=t),l._shouldSchedule&&(s??(s=e.get(l)===l._trackId))&&(l.trigger(),(!l._runnings||l.allowRecurse)&&l._dirtyLevel!==2&&(l._shouldSchedule=!1,l.scheduler&&ar.push(l.scheduler)))}Dr()}const co=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},is=new WeakMap,fn=Symbol(""),or=Symbol("");function tt(e,t,n){if(qt&&dn){let l=is.get(e);l||is.set(e,l=new Map);let s=l.get(n);s||l.set(n,s=co(()=>l.delete(n))),ao(dn,s)}}function Nt(e,t,n,l,s,r){const i=is.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&re(e)){const o=Number(l);i.forEach((c,u)=>{(u==="length"||!Un(u)&&u>=o)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":re(e)?Rr(n)&&a.push(i.get("length")):(a.push(i.get(fn)),Sn(e)&&a.push(i.get(or)));break;case"delete":re(e)||(a.push(i.get(fn)),Sn(e)&&a.push(i.get(or)));break;case"set":Sn(e)&&a.push(i.get(fn));break}Mr();for(const o of a)o&&oo(o,4);Dr()}function Cd(e,t){var n;return(n=is.get(e))==null?void 0:n.get(t)}const Ld=Nr("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Un)),wi=Ad();function Ad(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=de(this);for(let r=0,i=this.length;r<i;r++)tt(l,"get",r+"");const s=l[t](...n);return s===-1||s===!1?l[t](...n.map(de)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){vn(),Mr();const l=de(this)[t].apply(this,n);return Dr(),mn(),l}}),e}function xd(e){const t=de(this);return tt(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,n=!1
|
|||
|
* @vue/runtime-core v3.4.21
|
|||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|||
|
* @license MIT
|
|||
|
**/function Wt(e,t,n,l){try{return l?e(...l):e()}catch(s){Tl(s,t,n)}}function ut(e,t,n,l){if(ce(e)){const r=Wt(e,t,n,l);return r&&Xa(r)&&r.catch(i=>{Tl(i,t,n)}),r}const s=[];for(let r=0;r<e.length;r++)s.push(ut(e[r],t,n,l));return s}function Tl(e,t,n,l=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const c=r.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}r=r.parent}const o=t.appContext.config.errorHandler;if(o){Wt(o,null,10,[e,i,a]);return}}Qd(e,n,s,l)}function Qd(e,t,n,l=!0){console.error(e)}let fl=!1,cr=!1;const Ue=[];let Et=0;const Nn=[];let jt=null,an=0;const Co=Promise.resolve();let qr=null;function Qt(e){const t=qr||Co;return e?t.then(this?e.bind(this):e):t}function Jd(e){let t=Et+1,n=Ue.length;for(;t<n;){const l=t+n>>>1,s=Ue[l],r=hl(s);r<e||r===e&&s.pre?t=l+1:n=l}return t}function _s(e){(!Ue.length||!Ue.includes(e,fl&&e.allowRecurse?Et+1:Et))&&(e.id==null?Ue.push(e):Ue.splice(Jd(e.id),0,e),Lo())}function Lo(){!fl&&!cr&&(cr=!0,qr=Co.then(Ao))}function Xd(e){const t=Ue.indexOf(e);t>Et&&Ue.splice(t,1)}function Zd(e){re(e)?Nn.push(...e):(!jt||!jt.includes(e,e.allowRecurse?an+1:an))&&Nn.push(e),Lo()}function xi(e,t,n=fl?Et+1:0){for(;n<Ue.length;n++){const l=Ue[n];if(l&&l.pre){if(e&&l.id!==e.uid)continue;Ue.splice(n,1),n--,l()}}}function os(e){if(Nn.length){const t=[...new Set(Nn)].sort((n,l)=>hl(n)-hl(l));if(Nn.length=0,jt){jt.push(...t);return}for(jt=t,an=0;an<jt.length;an++)jt[an]();jt=null,an=0}}const hl=e=>e.id==null?1/0:e.id,ef=(e,t)=>{const n=hl(e)-hl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){cr=!1,fl=!0,Ue.sort(ef);try{for(Et=0;Et<Ue.length;Et++){const t=Ue[Et];t&&t.active!==!1&&Wt(t,null,14)}}finally{Et=0,Ue.length=0,os(),fl=!1,qr=null,(Ue.length||Nn.length)&&Ao()}}function tf(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||Ce;let s=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in l){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:h}=l[u]||Ce;h&&(s=n.map(p=>Fe(p)?p.trim():p)),f&&(s=n.map(rr))}let a,o=l[a=Ps(t)]||l[a=Ps(ht(t))];!o&&r&&(o=l[a=Ps(zn(t))]),o&&ut(o,e,6,s);const c=l[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ut(c,e,6,s)}}function xo(e,t,n=!1){const l=t.emitsCache,s=l.get(e);if(s!==void 0)return s;const r=e.emits;let i={},a=!1;if(!ce(e)){const o=c=>{const u=xo(c,t,!0);u&&(a=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return!r&&!a?(ke(e)&&l.set(e,null),null):(re(r)?r.forEach(o=>i[o]=null):Re(i,r),ke(e)&&l.set(e,i),i)}function bs(e,t){return!e||!Ll(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,zn(t))||pe(e,t))}let We=null,ks=null;function cs(e){const t=We;return We=e,ks=e&&e.type.__scopeId||null,t}function qn(e){ks=e}function Wn(){ks=null}function nf(e,t=We,n){if(!t||e._n)return e;const l=(...s)=>{l._d&&Vi(-1);const r=cs(t);let i;try{i=e(...s)}finally{cs(r),l._d&&Vi(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function Rs(e){const{type:t,vnode:n,proxy:l,withProxy:s,props:r,propsOptions:[i],slots:a,attrs:o,emit:c,render:u,renderCache:f,data:h,setupState:p,ctx:m,inheritAttrs:b}=e;let _,k;const C=cs(e);try{if(n.shapeFlag&4){const L=s||l,O=L;_=mt(u.call(O,L,f,r,p,h,m)),k=o}else{const L=t;_=mt(L.length>1?L(r,{attrs:o,slots:a,emit:c}):L(r,null)),k=t.props?o:lf(o)}}catch(L){al.length=0,Tl(L,e,1),_=Te(dt)}let y=_;if(k&&b!==!1){const L=Object.keys(k),{shapeFlag:O}=y;L.length&&O&7&&(i&&L.some(Pr)&&(k=sf(k,i)),y=Kt(y,k))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),_=y,cs(C),_}const lf=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ll(n))&&((t||(t={}))[n]=e[n]);return t},sf=(e,t)=>{const n={};for(const l in e)(!Pr(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function rf(e,t,n){const{props:l,children:s,component:r}=e,{props:i,children:a,patchFlag:o}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&o>=0){if(o&1024)re
|
|||
|
* @vue/runtime-dom v3.4.21
|
|||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|||
|
* @license MIT
|
|||
|
**/const ih="http://www.w3.org/2000/svg",ah="http://www.w3.org/1998/Math/MathML",Ut=typeof document<"u"?document:null,Ui=Ut&&Ut.createElement("template"),oh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const s=t==="svg"?Ut.createElementNS(ih,e):t==="mathml"?Ut.createElementNS(ah,e):Ut.createElement(e,n?{is:n}:void 0);return e==="select"&&l&&l.multiple!=null&&s.setAttribute("multiple",l.multiple),s},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Ui.innerHTML=l==="svg"?`<svg>${e}</svg>`:l==="mathml"?`<math>${e}</math>`:e;const a=Ui.content;if(l==="svg"||l==="mathml"){const o=a.firstChild;for(;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",Jn="animation",Dn=Symbol("_vtc"),Yt=(e,{slots:t})=>d(vf,Zo(e),t);Yt.displayName="Transition";const Xo={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},ch=Yt.props=Re({},Ro,Xo),sn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},zi=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function Zo(e){const t={};for(const $ in e)$ in Xo||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:l,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:o=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=uh(s),b=m&&m[0],_=m&&m[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:y,onLeave:L,onLeaveCancelled:O,onBeforeAppear:A=k,onAppear:N=C,onAppearCancelled:R=y}=t,J=($,se,Ee)=>{Vt($,se?u:a),Vt($,se?c:i),Ee&&Ee()},P=($,se)=>{$._isLeaving=!1,Vt($,f),Vt($,p),Vt($,h),se&&se()},q=$=>(se,Ee)=>{const be=$?N:C,Y=()=>J(se,$,Ee);sn(be,[se,Y]),qi(()=>{Vt(se,$?o:r),xt(se,$?u:a),zi(be)||Wi(se,l,b,Y)})};return Re(t,{onBeforeEnter($){sn(k,[$]),xt($,r),xt($,i)},onBeforeAppear($){sn(A,[$]),xt($,o),xt($,c)},onEnter:q(!1),onAppear:q(!0),onLeave($,se){$._isLeaving=!0;const Ee=()=>P($,se);xt($,f),tc(),xt($,h),qi(()=>{$._isLeaving&&(Vt($,f),xt($,p),zi(L)||Wi($,l,_,Ee))}),sn(L,[$,Ee])},onEnterCancelled($){J($,!1),sn(y,[$])},onAppearCancelled($){J($,!0),sn(R,[$])},onLeaveCancelled($){P($),sn(O,[$])}})}function uh(e){if(e==null)return null;if(ke(e))return[Vs(e.enter),Vs(e.leave)];{const t=Vs(e);return[t,t]}}function Vs(e){return hd(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Vt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function qi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dh=0;function Wi(e,t,n,l){const s=e._endId=++dh,r=()=>{s===e._endId&&l()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:o}=ec(e,t);if(!i)return l();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,h),r()},h=p=>{p.target===e&&++u>=o&&f()};setTimeout(()=>{u<o&&f()},a+1),e.addEventListener(c,h)}function ec(e,t){const n=window.getComputedStyle(e),l=m=>(n[m]||"").split(", "),s=l(`${$t}Delay`),r=l(`${$t}Duration`),i=Gi(s,r),a=l(`${Jn}Delay`),o=l(`${Jn}Duration`),c=Gi(a,o);let u=null,f=0,h=0;t===$t?i>0&&(u=$t,f=i,h=r.length):t===Jn?c>0&&(u=Jn,f=c,h=o.length):(f=Math.max(i,c),u=f>0?i>c?$t:Jn:null,h=u?u===$t?r.length:o.length:0);const p=u===$t&&/\b(transform|all)(,|$)/.test(l(`${$t}Property`
|
|||
|
* vue-router v4.4.0
|
|||
|
* (c) 2024 Eduardo San Martin Morote
|
|||
|
* @license MIT
|
|||
|
*/const En=typeof document<"u";function Zh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function zs(e,t){const n={};for(const l in t){const s=t[l];n[l]=bt(s)?s.map(e):e(s)}return n}const ol=()=>{},bt=Array.isArray,cc=/#/g,ep=/&/g,tp=/\//g,np=/=/g,lp=/\?/g,uc=/\+/g,sp=/%5B/g,rp=/%5D/g,dc=/%5E/g,ip=/%60/g,fc=/%7B/g,ap=/%7C/g,hc=/%7D/g,op=/%20/g;function ti(e){return encodeURI(""+e).replace(ap,"|").replace(sp,"[").replace(rp,"]")}function cp(e){return ti(e).replace(fc,"{").replace(hc,"}").replace(dc,"^")}function mr(e){return ti(e).replace(uc,"%2B").replace(op,"+").replace(cc,"%23").replace(ep,"%26").replace(ip,"`").replace(fc,"{").replace(hc,"}").replace(dc,"^")}function up(e){return mr(e).replace(np,"%3D")}function dp(e){return ti(e).replace(cc,"%23").replace(lp,"%3F")}function fp(e){return e==null?"":dp(e).replace(tp,"%2F")}function yl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const hp=/\/$/,pp=e=>e.replace(hp,"");function qs(e,t,n="/"){let l,s={},r="",i="";const a=t.indexOf("#");let o=t.indexOf("?");return a<o&&a>=0&&(o=-1),o>-1&&(l=t.slice(0,o),r=t.slice(o+1,a>-1?a:t.length),s=e(r)),a>-1&&(l=l||t.slice(0,a),i=t.slice(a,t.length)),l=yp(l??t,n),{fullPath:l+(r&&"?")+r+i,path:l,query:s,hash:yl(i)}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function aa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const l=t.matched.length-1,s=n.matched.length-1;return l>-1&&l===s&&jn(t.matched[l],n.matched[s])&&pc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pc(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)?oa(e,t):bt(t)?oa(t,e):e===t}function oa(e,t){return bt(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function yp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),s=l[l.length-1];(s===".."||s===".")&&l.push("");let r=n.length-1,i,a;for(i=0;i<l.length;i++)if(a=l[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+l.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var _l;(function(e){e.pop="pop",e.push="push"})(_l||(_l={}));var cl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cl||(cl={}));function _p(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),pp(e)}const bp=/^[^#]+#/;function kp(e,t){return e.replace(bp,"#")+t}function wp(e,t){const n=document.documentElement.getBoundingClientRect(),l=e.getBoundingClientRect();return{behavior:t.behavior,left:l.left-n.left-(t.left||0),top:l.top-n.top-(t.top||0)}}const Ls=()=>({left:window.scrollX,top:window.scrollY});function Ep(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=wp(s,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 ca(e,t){return(history.state?history.state.position-t:-1)+e}const gr=new Map;function Cp(e,t){gr.set(e,t)}function Lp(e){const t=gr.get(e);return gr.delete(e),t}let Ap=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:l,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,o=s.slice(a);return o[0]!=="/"&&(o="/"+o),aa(o,"")}return aa(n,e)+l+s}function xp(e,t,n,l){let s=[],r=[],i=null;const a=({state:h})=>{const p=vc(e,location),m=n.value,b=t.value;let _=0;if(h){if(n.value=p,t.value=h,i&&i===m){i=null;return}_=b?h.position-b.position:0}else l(p);s.forEach(k=>{k(n.value,m,{delta:_,type:_l.pop,direction:_?_>0?cl.forward:cl.back:cl.unknown
|
|||
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|||
|
* @license MIT
|
|||
|
*/const he={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=he.isStarted();e=Xs(e,he.settings.minimum,1),he.status=e===1?null:e;const n=he.render(!t),l=n.querySelector(he.settings.barSelector),s=he.settings.speed,r=he.settings.easing;return n.offsetWidth,Cm(i=>{Xl(l,{transform:"translate3d("+Ta(e)+"%,0,0)",transition:"all "+s+"ms "+r}),e===1?(Xl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Xl(n,{transition:"all "+s+"ms linear",opacity:"0"}),setTimeout(function(){he.remove(),i()},s)},s)):setTimeout(()=>i(),s)}),he},isStarted:()=>typeof he.status=="number",start:()=>{he.status||he.set(0);const e=()=>{setTimeout(()=>{he.status&&(he.trickle(),e())},he.settings.trickleSpeed)};return he.settings.trickle&&e(),he},done:e=>!e&&!he.status?he:he.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=he.status;return t?(typeof e!="number"&&(e=(1-t)*Xs(Math.random()*t,.1,.95)),t=Xs(t+e,0,.994),he.set(t)):he.start()},trickle:()=>he.inc(Math.random()*he.settings.trickleRate),render:e=>{if(he.isRendered())return document.getElementById("nprogress");Ia(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=he.settings.template;const n=t.querySelector(he.settings.barSelector),l=e?"-100":Ta(he.status||0),s=document.querySelector(he.settings.parent);return Xl(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),s!==document.body&&Ia(s,"nprogress-custom-parent"),s==null||s.appendChild(t),t},remove:()=>{Na(document.documentElement,"nprogress-busy"),Na(document.querySelector(he.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Lm(e)},isRendered:()=>!!document.getElementById("nprogress")},Xs=(e,t,n)=>e<t?t:e>n?n:e,Ta=e=>(-1+e)*100,Cm=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Xl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,o){return o.toUpperCase()})}function l(i){const a=document.body.style;if(i in a)return i;let o=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;o--;)if(u=e[o]+c,u in a)return u;return i}function s(i){return i=n(i),t[i]??(t[i]=l(i))}function r(i,a,o){a=s(a),i.style[a]=o}return function(i,a){for(const o in a){const c=a[o];c!==void 0&&Object.prototype.hasOwnProperty.call(a,o)&&r(i,o,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:ui(e)).indexOf(" "+t+" ")>=0,Ia=(e,t)=>{const n=ui(e),l=n+t;Gc(n,t)||(e.className=l.substring(1))},Na=(e,t)=>{const n=ui(e);if(!Gc(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},ui=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Lm=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Am=()=>{we(()=>{const e=_n(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||he.start()}),e.afterEach(n=>{t.add(n.path),he.done()})})},xm=nt({setup(){Am()}}),Sm=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$J0ZqnfglLUFnsUEqfRWHseeu/HkU5Gm5fxaYYb/bQtWqZ1oSZCqy."]}},"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?"
|
|||
|
${l}}`)),t.appendChild(s)}},d1=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(l=>{const s=t.filter(r=>$a[l].types.includes(r));if(s.length){const r=s[0];n[l]=[e[r].replace(/^\n|\n$/g,""),$a[l].map[r]||r]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},fu=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),hu=e=>`<div id="app">
|
|||
|
${fu(e)}
|
|||
|
</div>`,f1=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
|
|||
|
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,h1=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(),pu=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,p1=(e,t)=>{const n=fi(t),l=e.js[0]||"";return{...n,html:fu(e.html[0]||""),js:l,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var s;return n.useBabel?((s=window.Babel.transform(l,{presets:["es2015"]}))==null?void 0:s.code)||"":l}}},v1=/<template>([\s\S]+)<\/template>/u,m1=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,g1=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,y1=(e,t)=>{const n=fi(t),l=e.html[0]||"",s=v1.exec(l),r=m1.exec(l),i=g1.exec(l),a=s?s[1].replace(/^\n|\n$/g,""):"",[o="",c=""]=r?[r[4].replace(/^\n|\n$/g,""),r[3]]:[],[u="",f=""]=i?[i[4].replace(/^\n|\n$/g,""),i[3]]:[],h=c===""&&(f===""||f==="css");return{...n,html:hu(a),js:h1(o),css:u,isLegal:h,jsLib:[n.vue,...n.jsLib],getScript:()=>{var m,b;const p=t.useBabel?((b=(m=window.Babel)==null?void 0:m.transform(o,{presets:["es2015"]}))==null?void 0:b.code)||"":o.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${pu(p)};appOptions.template=\`${a.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},_1=(e,t)=>{const n=fi(t);return{...n,html:hu(""),js:f1(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 s,r;const l=((r=(s=window.Babel)==null?void 0:s.transform(e.js[0]||"",{presets:["es2015","react"]}))==null?void 0:r.code)||"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${pu(l)}))`}}},Rn={},b1=e=>Promise.all([On(Rn,e.babel),On(Rn,e.react),On(Rn,e.reactDOM)]),k1=e=>{const t=[On(Rn,e.vue)];return e.useBabel&&t.push(On(Rn,e.babel)),Promise.all(t)},w1=e=>e.useBabel?On(Rn,e.babel):Promise.resolve();var E1=U({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,l]=kl(!1),s=De(),r=De(),i=Q("0"),a=Q(!1),o=x(()=>JSON.parse(e.config?wr(e.config):"{}")),c=x(()=>{const m=JSON.parse(wr(e.code));return d1(m)}),u=x(()=>e.type==="react"?_1(c.value,o.value):e.type==="vue"?y1(c.value,o.value):p1(c.value,o.value)),f=x(()=>u.value.isLegal),h=(m=!1)=>{const b=s.value.attachShadow({mode:"open"}),_=document.createElement("div");_.classList.add("code-demo-app"),b.appendChild(_),f.value?(m&&(_.innerHTML=u.value.html),c1(b,u.value),u1(e.id,b,u.value),i.value="0"):i.value="auto",a.value=!0},p=()=>{switch(e.type){case"react":return b1(u.value).then(()=>h());case"vue":return k1(u.value).then(()=>h());default:return w1(u.value).then(()=>h(!0))}};return $e("beforeprint",()=>{l(!0)}),we(()=>{setTimeout(()=>{p()},800)}),()=>{var m;return d("div",{class:"vp-code-demo",id:e.id},[d("div",{class:"vp-code-demo-header"},[u.value.isLegal?d("button",{type:"button",title:"toggle","aria-hidden":!0,class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{i.value=n.value?"0":`${r.value.clientHeight+13.8}px`,l()}}):null,e.title?d("span",{class:"vp-code-demo-title"},decodeURIComponent(e.title)):null,u.value.isLegal&&u.value.jsfiddle!==!1?d("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[d("input",{type:"hidden",name:"html",value:u.value.html}),d("input",{type:"hidden",name:"js",value:u.value.js}),d("input",{type:"hidden",name:"css",value:u.value.css}),d("input",{type:"hidden",name:"wrap",value:"1"}),d("input",{type:"hidden",name:"panel_js",value:"3"}
|
|||
|
{
|
|||
|
${e}
|
|||
|
__echarts_config__={width,height,option};
|
|||
|
}
|
|||
|
return __echarts_config__;
|
|||
|
`)(n):Promise.resolve({option:JSON.parse(e)});var I1=U({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=A1(),n=Q(!0),l=De();let s;return $e("resize",Fc(()=>s==null?void 0:s.resize(),100)),we(()=>{Promise.all([I(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(r=>setTimeout(r,800))]).then(async([r])=>{var o;await((o=t.setup)==null?void 0:o.call(t)),s=r.init(l.value);const{option:i,...a}=await T1(wr(e.config),e.type,s);s.resize(a),s.setOption({...t.option,...i}),n.value=!1})}),gn(()=>{s==null||s.dispose()}),()=>[e.title?d("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,d("div",{class:"echarts-wrapper"},[d("div",{ref:l,class:"echarts-container",id:e.id}),n.value?d(di,{class:"echarts-loading",height:360}):null])]}});const N1=()=>{$e("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},er=Yn("VUEPRESS_TAB_STORE",{});var P1=U({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=Q(e.active),l=De([]),s=()=>{e.tabId&&(er.value[e.tabId]=e.data[n.value].id)},r=(c=n.value)=>{n.value=c<l.value.length-1?c+1:0,l.value[n.value].focus()},i=(c=n.value)=>{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),r()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),s()},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>er.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>er.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:h})=>h===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-tabs"},[d("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:h=>{h&&(l.value[u]=h)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,s()},onKeydown:h=>a(h,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const O1=nt({enhance:({app:e})=>{e.component("CodeTabs",Xm),ft("CodeGroup",e)||e.component("CodeGroup",Zm),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",E1),e.component("MdDemo",C1),e.component("ECharts",I1),x1(e),e.component("Tabs",P1)},setup:()=>{N1()}});let R1={};const mu=Symbol(""),F1=()=>Me(mu),$1=e=>{e.provide(mu,R1)},M1='<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>',D1=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=l=>n(l))}),V1=e=>{const{isSupported:t,toggle:n}=ci();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-75H212a3
|
|||
|
* clipboard.js v2.0.11
|
|||
|
* https://clipboardjs.com/
|
|||
|
*
|
|||
|
* Licensed MIT © Zeno Rocha
|
|||
|
*/(function(e,t){(function(l,s){e.exports=s()})(i3,function(){return function(){var n={686:function(r,i,a){a.d(i,{default:function(){return Ye}});var o=a(279),c=a.n(o),u=a(370),f=a.n(u),h=a(817),p=a.n(h);function m(ee){try{return document.execCommand(ee)}catch{return!1}}var b=function(z){var K=p()(z);return m("cut"),K},_=b;function k(ee){var z=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[z?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(ne,"px"),K.setAttribute("readonly",""),K.value=ee,K}var C=function(z,K){var ne=k(z);K.container.appendChild(ne);var X=p()(ne);return m("copy"),ne.remove(),X},y=function(z){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof z=="string"?ne=C(z,K):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?ne=C(z.value,K):(ne=p()(z),m("copy")),ne},L=y;function O(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(K){return typeof K}:O=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},O(ee)}var A=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=z.action,ne=K===void 0?"copy":K,X=z.container,w=z.target,V=z.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(w!==void 0)if(w&&O(w)==="object"&&w.nodeType===1){if(ne==="copy"&&w.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(w.hasAttribute("readonly")||w.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(V)return L(V,{container:X});if(w)return ne==="cut"?_(w):L(w,{container:X})},N=A;function R(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(K){return typeof K}:R=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},R(ee)}function J(ee,z){if(!(ee instanceof z))throw new TypeError("Cannot call a class as a function")}function P(ee,z){for(var K=0;K<z.length;K++){var ne=z[K];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ee,ne.key,ne)}}function q(ee,z,K){return z&&P(ee.prototype,z),K&&P(ee,K),ee}function $(ee,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");ee.prototype=Object.create(z&&z.prototype,{constructor:{value:ee,writable:!0,configurable:!0}}),z&&se(ee,z)}function se(ee,z){return se=Object.setPrototypeOf||function(ne,X){return ne.__proto__=X,ne},se(ee,z)}function Ee(ee){var z=ae();return function(){var ne=G(ee),X;if(z){var w=G(this).constructor;X=Reflect.construct(ne,arguments,w)}else X=ne.apply(this,arguments);return be(this,X)}}function be(ee,z){return z&&(R(z)==="object"||typeof z=="function")?z:Y(ee)}function Y(ee){if(ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ee}function ae(){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 G(ee){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},G(ee)}function Ae(ee,z){var K="data-clipboard-".concat(ee);if(z.hasAttribute(K))return z.getAttribute(K)}var rt=function(ee){$(K,ee);var z=Ee(K);function K(ne,X){var w;return J(this,K),w=z.call(this),w.resolveOptions(X),w.listenClick(ne),w}return q(K,[{key:"reso
|