-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.f153c2e7.js
1 lines (1 loc) · 84.1 KB
/
index.f153c2e7.js
1
function e(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function n(e){return!!e||""===e}function r(e){if(_(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=C(o)?l(o):r(o);if(s)for(const e in s)t[e]=s[e]}return t}return C(e)||k(e)?e:void 0}const o=/;(?![^(]*\))/g,s=/:(.+)/;function l(e){const t={};return e.split(o).forEach((e=>{if(e){const n=e.split(s);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function i(e){let t="";if(C(e))t=e;else if(_(e))for(let n=0;n<e.length;n++){const r=i(e[n]);r&&(t+=r+" ")}else if(k(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const a=e=>null==e?"":_(e)||k(e)&&(e.toString===O||!S(e.toString))?JSON.stringify(e,c,2):String(e),c=(e,t)=>t&&t.__v_isRef?c(e,t.value):x(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:A(t)?{[`Set(${t.size})`]:[...t.values()]}:!k(t)||_(t)||T(t)?t:String(t),u={},f=[],d=()=>{},p=()=>!1,h=/^on[^a-z]/,m=e=>h.test(e),v=e=>e.startsWith("onUpdate:"),g=Object.assign,b=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},y=Object.prototype.hasOwnProperty,w=(e,t)=>y.call(e,t),_=Array.isArray,x=e=>"[object Map]"===R(e),A=e=>"[object Set]"===R(e),S=e=>"function"==typeof e,C=e=>"string"==typeof e,E=e=>"symbol"==typeof e,k=e=>null!==e&&"object"==typeof e,P=e=>k(e)&&S(e.then)&&S(e.catch),O=Object.prototype.toString,R=e=>O.call(e),T=e=>"[object Object]"===R(e),$=e=>C(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,F=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j=/-(\w)/g,U=M((e=>e.replace(j,((e,t)=>t?t.toUpperCase():"")))),B=/\B([A-Z])/g,N=M((e=>e.replace(B,"-$1").toLowerCase())),I=M((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=M((e=>e?`on${I(e)}`:"")),D=(e,t)=>!Object.is(e,t),V=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},W=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},q=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let H;const z=[];class G{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&H&&(this.parent=H,this.index=(H.scopes||(H.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}}on(){this.active&&(z.push(this),H=this)}off(){this.active&&(z.pop(),H=z[z.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}const Y=e=>{const t=new Set(e);return t.w=0,t.n=0,t},K=e=>(e.w&Z)>0,Q=e=>(e.n&Z)>0,X=new WeakMap;let J=0,Z=1;const ee=[];let te;const ne=Symbol(""),re=Symbol("");class oe{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],function(e,t){(t=t||H)&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();if(!ee.includes(this))try{return ee.push(te=this),ie.push(le),le=!0,Z=1<<++J,J<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Z})(this):se(this),this.fn()}finally{J<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];K(o)&&!Q(o)?o.delete(e):t[n++]=o,o.w&=~Z,o.n&=~Z}t.length=n}})(this),Z=1<<--J,ce(),ee.pop();const e=ee.length;te=e>0?ee[e-1]:void 0}}stop(){this.active&&(se(this),this.onStop&&this.onStop(),this.active=!1)}}function se(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let le=!0;const ie=[];function ae(){ie.push(le),le=!1}function ce(){const e=ie.pop();le=void 0===e||e}function ue(e,t,n){if(!fe())return;let r=X.get(e);r||X.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Y()),de(o)}function fe(){return le&&void 0!==te}function de(e,t){let n=!1;J<=30?Q(e)||(e.n|=Z,n=!K(e)):n=!e.has(te),n&&(e.add(te),te.deps.push(e))}function pe(e,t,n,r,o,s){const l=X.get(e);if(!l)return;let i=[];if("clear"===t)i=[...l.values()];else if("length"===n&&_(e))l.forEach(((e,t)=>{("length"===t||t>=r)&&i.push(e)}));else switch(void 0!==n&&i.push(l.get(n)),t){case"add":_(e)?$(n)&&i.push(l.get("length")):(i.push(l.get(ne)),x(e)&&i.push(l.get(re)));break;case"delete":_(e)||(i.push(l.get(ne)),x(e)&&i.push(l.get(re)));break;case"set":x(e)&&i.push(l.get(ne))}if(1===i.length)i[0]&&he(i[0]);else{const e=[];for(const t of i)t&&e.push(...t);he(Y(e))}}function he(e,t){for(const t of _(e)?e:[...e])(t!==te||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const me=e("__proto__,__v_isRef,__isVue"),ve=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(E)),ge=xe(),be=xe(!1,!0),ye=xe(!0),we=_e();function _e(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=it(this);for(let e=0,t=this.length;e<t;e++)ue(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(it)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ae();const n=it(this)[t].apply(this,e);return ce(),n}})),e}function xe(e=!1,t=!1){return function(n,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&o===(e?t?Ze:Je:t?Xe:Qe).get(n))return n;const s=_(n);if(!e&&s&&w(we,r))return Reflect.get(we,r,o);const l=Reflect.get(n,r,o);if(E(r)?ve.has(r):me(r))return l;if(e||ue(n,0,r),t)return l;if(dt(l)){return!s||!$(r)?l.value:l}return k(l)?e?nt(l):tt(l):l}}function Ae(e=!1){return function(t,n,r,o){let s=t[n];if(!e&&(r=it(r),s=it(s),!_(t)&&dt(s)&&!dt(r)))return s.value=r,!0;const l=_(t)&&$(n)?Number(n)<t.length:w(t,n),i=Reflect.set(t,n,r,o);return t===it(o)&&(l?D(r,s)&&pe(t,"set",n,r):pe(t,"add",n,r)),i}}const Se={get:ge,set:Ae(),deleteProperty:function(e,t){const n=w(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&pe(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return E(t)&&ve.has(t)||ue(e,0,t),n},ownKeys:function(e){return ue(e,0,_(e)?"length":ne),Reflect.ownKeys(e)}},Ce={get:ye,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},Ee=g({},Se,{get:be,set:Ae(!0)}),ke=e=>k(e)?tt(e):e,Pe=e=>k(e)?nt(e):e,Oe=e=>e,Re=e=>Reflect.getPrototypeOf(e);function Te(e,t,n=!1,r=!1){const o=it(e=e.__v_raw),s=it(t);t!==s&&!n&&ue(o,0,t),!n&&ue(o,0,s);const{has:l}=Re(o),i=r?Oe:n?Pe:ke;return l.call(o,t)?i(e.get(t)):l.call(o,s)?i(e.get(s)):void(e!==o&&e.get(t))}function $e(e,t=!1){const n=this.__v_raw,r=it(n),o=it(e);return e!==o&&!t&&ue(r,0,e),!t&&ue(r,0,o),e===o?n.has(e):n.has(e)||n.has(o)}function Fe(e,t=!1){return e=e.__v_raw,!t&&ue(it(e),0,ne),Reflect.get(e,"size",e)}function Me(e){e=it(e);const t=it(this);return Re(t).has.call(t,e)||(t.add(e),pe(t,"add",e,e)),this}function je(e,t){t=it(t);const n=it(this),{has:r,get:o}=Re(n);let s=r.call(n,e);s||(e=it(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?D(t,l)&&pe(n,"set",e,t):pe(n,"add",e,t),this}function Ue(e){const t=it(this),{has:n,get:r}=Re(t);let o=n.call(t,e);o||(e=it(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&pe(t,"delete",e,void 0),s}function Be(){const e=it(this),t=0!==e.size,n=e.clear();return t&&pe(e,"clear",void 0,void 0),n}function Ne(e,t){return function(n,r){const o=this,s=o.__v_raw,l=it(s),i=t?Oe:e?Pe:ke;return!e&&ue(l,0,ne),s.forEach(((e,t)=>n.call(r,i(e),i(t),o)))}}function Ie(e,t,n){return function(...r){const o=this.__v_raw,s=it(o),l=x(s),i="entries"===e||e===Symbol.iterator&&l,a="keys"===e&&l,c=o[e](...r),u=n?Oe:t?Pe:ke;return!t&&ue(s,0,a?re:ne),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:i?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Le(e){return function(...t){return"delete"!==e&&this}}function De(){const e={get(e){return Te(this,e)},get size(){return Fe(this)},has:$e,add:Me,set:je,delete:Ue,clear:Be,forEach:Ne(!1,!1)},t={get(e){return Te(this,e,!1,!0)},get size(){return Fe(this)},has:$e,add:Me,set:je,delete:Ue,clear:Be,forEach:Ne(!1,!0)},n={get(e){return Te(this,e,!0)},get size(){return Fe(this,!0)},has(e){return $e.call(this,e,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Ne(!0,!1)},r={get(e){return Te(this,e,!0,!0)},get size(){return Fe(this,!0)},has(e){return $e.call(this,e,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:Ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ie(o,!1,!1),n[o]=Ie(o,!0,!1),t[o]=Ie(o,!1,!0),r[o]=Ie(o,!0,!0)})),[e,n,t,r]}const[Ve,We,qe,He]=De();function ze(e,t){const n=t?e?He:qe:e?We:Ve;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(w(n,r)&&r in t?n:t,r,o)}const Ge={get:ze(!1,!1)},Ye={get:ze(!1,!0)},Ke={get:ze(!0,!1)},Qe=new WeakMap,Xe=new WeakMap,Je=new WeakMap,Ze=new WeakMap;function et(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>R(e).slice(8,-1))(e))}function tt(e){return e&&e.__v_isReadonly?e:rt(e,!1,Se,Ge,Qe)}function nt(e){return rt(e,!0,Ce,Ke,Je)}function rt(e,t,n,r,o){if(!k(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=et(e);if(0===l)return e;const i=new Proxy(e,2===l?r:n);return o.set(e,i),i}function ot(e){return st(e)?ot(e.__v_raw):!(!e||!e.__v_isReactive)}function st(e){return!(!e||!e.__v_isReadonly)}function lt(e){return ot(e)||st(e)}function it(e){const t=e&&e.__v_raw;return t?it(t):e}function at(e){return W(e,"__v_skip",!0),e}function ct(e){fe()&&((e=it(e)).dep||(e.dep=Y()),de(e.dep))}function ut(e,t){(e=it(e)).dep&&he(e.dep)}const ft=e=>k(e)?tt(e):e;function dt(e){return Boolean(e&&!0===e.__v_isRef)}class pt{constructor(e,t=!1){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:it(e),this._value=t?e:ft(e)}get value(){return ct(this),this._value}set value(e){e=this._shallow?e:it(e),D(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:ft(e),ut(this))}}function ht(e,t=!1){return dt(e)?e:new pt(e,t)}function mt(e){return dt(e)?e.value:e}const vt={get:(e,t,n)=>mt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return dt(o)&&!dt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function gt(e){return ot(e)?e:new Proxy(e,vt)}class bt{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new oe(e,(()=>{this._dirty||(this._dirty=!0,ut(this))})),this.__v_isReadonly=n}get value(){const e=it(this);return ct(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function yt(e,t){let n,r;S(e)?(n=e,r=d):(n=e.get,r=e.set);return new bt(n,r,S(e)||!e.set)}Promise.resolve();function wt(e,t,...n){const r=e.vnode.props||u;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:s}=r[e]||u;s?o=n.map((e=>e.trim())):t&&(o=n.map(q))}let i,a=r[i=L(t)]||r[i=L(U(t))];!a&&s&&(a=r[i=L(N(t))]),a&&_r(a,e,6,o);const c=r[i+"Once"];if(c){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,_r(c,e,6,o)}}function _t(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let l={},i=!1;if(!S(e)){const r=e=>{const n=_t(e,t,!0);n&&(i=!0,g(l,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||i?(_(s)?s.forEach((e=>l[e]=null)):g(l,s),r.set(e,l),l):(r.set(e,null),null)}function xt(e,t){return!(!e||!m(t))&&(t=t.slice(2).replace(/Once$/,""),w(e,t[0].toLowerCase()+t.slice(1))||w(e,N(t))||w(e,t))}let At=null,St=null;function Ct(e){const t=At;return At=e,St=e&&e.type.__scopeId||null,t}function Et(e,t=At,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&qn(-1);const o=Ct(t),s=e(...n);return Ct(o),r._d&&qn(1),s};return r._n=!0,r._c=!0,r._d=!0,r}function kt(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:i,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let g;const b=Ct(e);try{let e;if(4&n.shapeFlag){const t=o||r;g=rr(u.call(t,t,f,s,p,d,h)),e=a}else{const n=t;0,g=rr(n.length>1?n(s,{attrs:a,slots:i,emit:c}):n(s,null)),e=t.props?a:Pt(a)}let b=g;if(e&&!1!==m){const t=Object.keys(e),{shapeFlag:n}=b;t.length&&7&n&&(l&&t.some(v)&&(e=Ot(e,l)),b=er(b,e))}0,n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),g=b}catch(t){Ln.length=0,xr(t,e,1),g=Zn(Nn)}return Ct(b),g}const Pt=e=>{let t;for(const n in e)("class"===n||"style"===n||m(n))&&((t||(t={}))[n]=e[n]);return t},Ot=(e,t)=>{const n={};for(const r in e)v(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Rt(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!xt(n,s))return!0}return!1}function Tt(e,t){if(fr){let n=fr.provides;const r=fr.parent&&fr.parent.provides;r===n&&(n=fr.provides=Object.create(r)),n[e]=t}else;}function $t(e,t,n=!1){const r=fr||At;if(r){const o=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&S(t)?t.call(r.proxy):t}}function Ft(e){return S(e)?{setup:e,name:e.name}:e}const Mt=e=>!!e.type.__asyncLoader,jt=e=>e.type.__isKeepAlive;function Ut(e,t){Nt(e,"a",t)}function Bt(e,t){Nt(e,"da",t)}function Nt(e,t,n=fr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Lt(t,r,n),n){let e=n.parent;for(;e&&e.parent;)jt(e.parent.vnode)&&It(r,t,n,e),e=e.parent}}function It(e,t,n,r){const o=Lt(t,e,r,!0);Gt((()=>{b(r[t],o)}),n)}function Lt(e,t,n=fr,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;ae(),dr(n);const o=_r(t,n,e,r);return pr(),ce(),o});return r?o.unshift(s):o.push(s),s}}const Dt=e=>(t,n=fr)=>(!mr||"sp"===e)&&Lt(e,t,n),Vt=Dt("bm"),Wt=Dt("m"),qt=Dt("bu"),Ht=Dt("u"),zt=Dt("bum"),Gt=Dt("um"),Yt=Dt("sp"),Kt=Dt("rtg"),Qt=Dt("rtc");function Xt(e,t=fr){Lt("ec",e,t)}let Jt=!0;function Zt(e){const t=nn(e),n=e.proxy,r=e.ctx;Jt=!1,t.beforeCreate&&en(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:i,provide:a,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:h,updated:m,activated:v,deactivated:g,beforeDestroy:b,beforeUnmount:y,destroyed:w,unmounted:x,render:A,renderTracked:C,renderTriggered:E,errorCaptured:P,serverPrefetch:O,expose:R,inheritAttrs:T,components:$,directives:F,filters:M}=t;if(c&&function(e,t,n=d,r=!1){_(e)&&(e=ln(e));for(const n in e){const o=e[n];let s;s=k(o)?"default"in o?$t(o.from||n,o.default,!0):$t(o.from||n):$t(o),dt(s)&&r?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(c,r,null,e.appContext.config.unwrapInjectedRef),l)for(const e in l){const t=l[e];S(t)&&(r[e]=t.bind(n))}if(o){const t=o.call(n,n);k(t)&&(e.data=tt(t))}if(Jt=!0,s)for(const e in s){const t=s[e],o=yt({get:S(t)?t.bind(n,n):S(t.get)?t.get.bind(n,n):d,set:!S(t)&&S(t.set)?t.set.bind(n):d});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e})}if(i)for(const e in i)tn(i[e],r,n,e);if(a){const e=S(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{Tt(t,e[t])}))}function j(e,t){_(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(u&&en(u,e,"c"),j(Vt,f),j(Wt,p),j(qt,h),j(Ht,m),j(Ut,v),j(Bt,g),j(Xt,P),j(Qt,C),j(Kt,E),j(zt,y),j(Gt,x),j(Yt,O),_(R))if(R.length){const t=e.exposed||(e.exposed={});R.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});A&&e.render===d&&(e.render=A),null!=T&&(e.inheritAttrs=T),$&&(e.components=$),F&&(e.directives=F)}function en(e,t,n){_r(_(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function tn(e,t,n,r){const o=r.includes(".")?Yr(n,r):()=>n[r];if(C(e)){const n=t[e];S(n)&&Hr(o,n)}else if(S(e))Hr(o,e.bind(n));else if(k(e))if(_(e))e.forEach((e=>tn(e,t,n,r)));else{const r=S(e.handler)?e.handler.bind(n):t[e.handler];S(r)&&Hr(o,r,e)}}function nn(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,i=s.get(t);let a;return i?a=i:o.length||n||r?(a={},o.length&&o.forEach((e=>rn(a,e,l,!0))),rn(a,t,l)):a=t,s.set(t,a),a}function rn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&rn(e,s,n,!0),o&&o.forEach((t=>rn(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=on[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const on={data:sn,props:cn,emits:cn,methods:cn,computed:cn,beforeCreate:an,created:an,beforeMount:an,mounted:an,beforeUpdate:an,updated:an,beforeDestroy:an,destroyed:an,activated:an,deactivated:an,errorCaptured:an,serverPrefetch:an,components:cn,directives:cn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=g(Object.create(null),e);for(const r in t)n[r]=an(e[r],t[r]);return n},provide:sn,inject:function(e,t){return cn(ln(e),ln(t))}};function sn(e,t){return t?e?function(){return g(S(e)?e.call(this,this):e,S(t)?t.call(this,this):t)}:t:e}function ln(e){if(_(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function an(e,t){return e?[...new Set([].concat(e,t))]:t}function cn(e,t){return e?g(g(Object.create(null),e),t):t}function un(e,t,n,r=!1){const o={},s={};W(s,Kn,1),e.propsDefaults=Object.create(null),fn(e,t,o,s);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=r?o:rt(o,!1,Ee,Ye,Xe):e.type.props?e.props=o:e.props=s,e.attrs=s}function fn(e,t,n,r){const[o,s]=e.propsOptions;let l,i=!1;if(t)for(let a in t){if(F(a))continue;const c=t[a];let u;o&&w(o,u=U(a))?s&&s.includes(u)?(l||(l={}))[u]=c:n[u]=c:xt(e.emitsOptions,a)||c!==r[a]&&(r[a]=c,i=!0)}if(s){const t=it(n),r=l||u;for(let l=0;l<s.length;l++){const i=s[l];n[i]=dn(o,t,i,r[i],e,!w(r,i))}}return i}function dn(e,t,n,r,o,s){const l=e[n];if(null!=l){const e=w(l,"default");if(e&&void 0===r){const e=l.default;if(l.type!==Function&&S(e)){const{propsDefaults:s}=o;n in s?r=s[n]:(dr(o),r=s[n]=e.call(null,t),pr())}else r=e}l[0]&&(s&&!e?r=!1:!l[1]||""!==r&&r!==N(n)||(r=!0))}return r}function pn(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},i=[];let a=!1;if(!S(e)){const r=e=>{a=!0;const[n,r]=pn(e,t,!0);g(l,n),r&&i.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!a)return r.set(e,f),f;if(_(s))for(let e=0;e<s.length;e++){const t=U(s[e]);hn(t)&&(l[t]=u)}else if(s)for(const e in s){const t=U(e);if(hn(t)){const n=s[e],r=l[t]=_(n)||S(n)?{type:n}:n;if(r){const e=gn(Boolean,r.type),n=gn(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||w(r,"default"))&&i.push(t)}}}const c=[l,i];return r.set(e,c),c}function hn(e){return"$"!==e[0]}function mn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function vn(e,t){return mn(e)===mn(t)}function gn(e,t){return _(t)?t.findIndex((t=>vn(t,e))):S(t)&&vn(t,e)?0:-1}const bn=e=>"_"===e[0]||"$stable"===e,yn=e=>_(e)?e.map(rr):[rr(e)],wn=(e,t,n)=>{const r=Et(((...e)=>yn(t(...e))),n);return r._c=!1,r},_n=(e,t,n)=>{const r=e._ctx;for(const n in e){if(bn(n))continue;const o=e[n];if(S(o))t[n]=wn(0,o,r);else if(null!=o){const e=yn(o);t[n]=()=>e}}},xn=(e,t)=>{const n=yn(t);e.slots.default=()=>n};function An(e,t){if(null===At)return e;const n=At.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,s,l,i=u]=t[e];S(o)&&(o={mounted:o,updated:o}),o.deep&&Kr(s),r.push({dir:o,instance:n,value:s,oldValue:void 0,arg:l,modifiers:i})}return e}function Sn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const i=o[l];s&&(i.oldValue=s[l].value);let a=i.dir[r];a&&(ae(),_r(a,n,8,[e.el,i,e,t]),ce())}}function Cn(){return{app:null,config:{isNativeTag:p,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let En=0;function kn(e,t){return function(n,r=null){null==r||k(r)||(r=null);const o=Cn(),s=new Set;let l=!1;const i=o.app={_uid:En++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:Xr,get config(){return o.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&S(e.install)?(s.add(e),e.install(i,...t)):S(e)&&(s.add(e),e(i,...t))),i),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),i),component:(e,t)=>t?(o.components[e]=t,i):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,i):o.directives[e],mount(s,a,c){if(!l){const u=Zn(n,r);return u.appContext=o,a&&t?t(u,s):e(u,s,c),l=!0,i._container=s,s.__vue_app__=i,u.component.proxy}},unmount(){l&&(e(null,i._container),delete i._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,i)};return i}}const Pn=function(e,t){t&&t.pendingBranch?_(e)?t.effects.push(...e):t.effects.push(e):Ir(e,Tr,Rr,$r)};function On(e){return function(e,t){const{insert:n,remove:r,patchProp:o,createElement:s,createText:l,createComment:i,setText:a,setElementText:c,parentNode:p,nextSibling:h,setScopeId:m=d,cloneNode:v,insertStaticContent:b}=e,y=(e,t,n,r=null,o=null,s=null,l=!1,i=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!Yn(e,t)&&(r=te(e),Q(e,o,s,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Bn:_(e,t,n,r);break;case Nn:x(e,t,n,r);break;case In:null==e&&A(t,n,r,l);break;case Un:j(e,t,n,r,o,s,l,i,a);break;default:1&f?E(e,t,n,r,o,s,l,i,a):6&f?B(e,t,n,r,o,s,l,i,a):(64&f||128&f)&&c.process(e,t,n,r,o,s,l,i,a,re)}null!=u&&o&&Rn(u,e&&e.ref,s,t||e,!t)},_=(e,t,r,o)=>{if(null==e)n(t.el=l(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&a(n,t.children)}},x=(e,t,r,o)=>{null==e?n(t.el=i(t.children||""),r,o):t.el=e.el},A=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r)},S=({el:e,anchor:t},r,o)=>{let s;for(;e&&e!==t;)s=h(e),n(e,r,o),e=s;n(t,r,o)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),r(e),e=n;r(t)},E=(e,t,n,r,o,s,l,i,a)=>{l=l||"svg"===t.type,null==e?k(t,n,r,o,s,l,i,a):T(e,t,o,s,l,i,a)},k=(e,t,r,l,i,a,u,f)=>{let d,p;const{type:h,props:m,shapeFlag:g,transition:b,patchFlag:y,dirs:w}=e;if(e.el&&void 0!==v&&-1===y)d=e.el=v(e.el);else{if(d=e.el=s(e.type,a,m&&m.is,m),8&g?c(d,e.children):16&g&&R(e.children,d,null,l,i,a&&"foreignObject"!==h,u,f),w&&Sn(e,null,l,"created"),m){for(const t in m)"value"===t||F(t)||o(d,t,null,m[t],a,e.children,l,i,ee);"value"in m&&o(d,"value",null,m.value),(p=m.onVnodeBeforeMount)&&Tn(p,l,e)}O(d,e,e.scopeId,u,l)}w&&Sn(e,null,l,"beforeMount");const _=(!i||i&&!i.pendingBranch)&&b&&!b.persisted;_&&b.beforeEnter(d),n(d,t,r),((p=m&&m.onVnodeMounted)||_||w)&&Pn((()=>{p&&Tn(p,l,e),_&&b.enter(d),w&&Sn(e,null,l,"mounted")}),i)},O=(e,t,n,r,o)=>{if(n&&m(e,n),r)for(let t=0;t<r.length;t++)m(e,r[t]);if(o){if(t===o.subTree){const t=o.vnode;O(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},R=(e,t,n,r,o,s,l,i,a=0)=>{for(let c=a;c<e.length;c++){const a=e[c]=i?or(e[c]):rr(e[c]);y(null,a,t,n,r,o,s,l,i)}},T=(e,t,n,r,s,l,i)=>{const a=t.el=e.el;let{patchFlag:f,dynamicChildren:d,dirs:p}=t;f|=16&e.patchFlag;const h=e.props||u,m=t.props||u;let v;(v=m.onVnodeBeforeUpdate)&&Tn(v,n,t,e),p&&Sn(t,e,n,"beforeUpdate");const g=s&&"foreignObject"!==t.type;if(d?$(e.dynamicChildren,d,a,n,r,g,l):i||H(e,t,a,null,n,r,g,l,!1),f>0){if(16&f)M(a,t,h,m,n,r,s);else if(2&f&&h.class!==m.class&&o(a,"class",null,m.class,s),4&f&&o(a,"style",h.style,m.style,s),8&f){const l=t.dynamicProps;for(let t=0;t<l.length;t++){const i=l[t],c=h[i],u=m[i];u===c&&"value"!==i||o(a,i,c,u,s,e.children,n,r,ee)}}1&f&&e.children!==t.children&&c(a,t.children)}else i||null!=d||M(a,t,h,m,n,r,s);((v=m.onVnodeUpdated)||p)&&Pn((()=>{v&&Tn(v,n,t,e),p&&Sn(t,e,n,"updated")}),r)},$=(e,t,n,r,o,s,l)=>{for(let i=0;i<t.length;i++){const a=e[i],c=t[i],u=a.el&&(a.type===Un||!Yn(a,c)||70&a.shapeFlag)?p(a.el):n;y(a,c,u,null,r,o,s,l,!0)}},M=(e,t,n,r,s,l,i)=>{if(n!==r){for(const a in r){if(F(a))continue;const c=r[a],u=n[a];c!==u&&"value"!==a&&o(e,a,u,c,i,t.children,s,l,ee)}if(n!==u)for(const a in n)F(a)||a in r||o(e,a,n[a],null,i,t.children,s,l,ee);"value"in r&&o(e,"value",n.value,r.value)}},j=(e,t,r,o,s,i,a,c,u)=>{const f=t.el=e?e.el:l(""),d=t.anchor=e?e.anchor:l("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(f,r,o),n(d,r,o),R(t.children,r,d,s,i,a,c,u)):p>0&&64&p&&h&&e.dynamicChildren?($(e.dynamicChildren,h,r,s,i,a,c),(null!=t.key||s&&t===s.subTree)&&$n(e,t,!0)):H(e,t,r,d,s,i,a,c,u)},B=(e,t,n,r,o,s,l,i,a)=>{t.slotScopeIds=i,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,l,a):I(t,n,r,o,s,l,a):L(e,t,a)},I=(e,t,n,r,o,s,l)=>{const i=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||cr,s={uid:ur++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,update:null,scope:new G(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:pn(r,o),emitsOptions:_t(r,o),emit:null,emitted:null,propsDefaults:u,inheritAttrs:r.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=wt.bind(null,s),e.ce&&e.ce(s);return s}(e,r,o);if(jt(e)&&(i.ctx.renderer=re),function(e,t=!1){mr=t;const{props:n,children:r}=e.vnode,o=hr(e);un(e,n,o,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=it(t),W(t,"_",n)):_n(t,e.slots={})}else e.slots={},t&&xn(e,t);W(e.slots,Kn,1)})(e,r);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=at(new Proxy(e.ctx,ar));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(ue(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}(e):null;dr(e),ae();const o=wr(r,e,0,[e.props,n]);if(ce(),pr(),P(o)){if(o.then(pr,pr),t)return o.then((t=>{vr(e,t)})).catch((t=>{xr(t,e,0)}));e.asyncDep=o}else vr(e,o)}else gr(e)}(e,t):void 0;mr=!1}(i),i.asyncDep){if(o&&o.registerDep(i,D),!e.el){const e=i.subTree=Zn(Nn);x(null,e,t,n)}}else D(i,e,t,n,o,s,l)},L=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:i,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!o&&!i||i&&i.$stable)||r!==l&&(r?!l||Rt(r,l,c):!!l);if(1024&a)return!0;if(16&a)return r?Rt(r,l,c):!!l;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(l[n]!==r[n]&&!xt(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void q(r,t,n);r.next=t,function(e){const t=Cr.indexOf(e);t>Er&&Cr.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},D=(e,t,n,r,o,s,l)=>{const i=new oe((()=>{if(e.isMounted){let t,{next:n,bu:r,u:a,parent:c,vnode:u}=e,f=n;i.allowRecurse=!1,n?(n.el=u.el,q(e,n,l)):n=u,r&&V(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Tn(t,c,n,u),i.allowRecurse=!0;const d=kt(e),h=e.subTree;e.subTree=d,y(h,d,p(h.el),te(h),e,o,s),n.el=d.el,null===f&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,d.el),a&&Pn(a,o),(t=n.props&&n.props.onVnodeUpdated)&&Pn((()=>Tn(t,c,n,u)),o)}else{let l;const{el:a,props:c}=t,{bm:u,m:f,parent:d}=e,p=Mt(t);if(i.allowRecurse=!1,u&&V(u),!p&&(l=c&&c.onVnodeBeforeMount)&&Tn(l,d,t),i.allowRecurse=!0,a&&le){const n=()=>{e.subTree=kt(e),le(a,e.subTree,e,o,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const l=e.subTree=kt(e);y(null,l,n,r,e,o,s),t.el=l.el}if(f&&Pn(f,o),!p&&(l=c&&c.onVnodeMounted)){const e=t;Pn((()=>Tn(l,d,e)),o)}256&t.shapeFlag&&e.a&&Pn(e.a,o),e.isMounted=!0,t=n=r=null}}),(()=>Br(e.update)),e.scope),a=e.update=i.run.bind(i);a.id=e.uid,i.allowRecurse=a.allowRecurse=!0,a()},q=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,i=it(o),[a]=e.propsOptions;let c=!1;if(!(r||l>0)||16&l){let r;fn(e,t,o,s)&&(c=!0);for(const s in i)t&&(w(t,s)||(r=N(s))!==s&&w(t,r))||(a?!n||void 0===n[s]&&void 0===n[r]||(o[s]=dn(a,i,s,void 0,e,!0)):delete o[s]);if(s!==i)for(const e in s)t&&w(t,e)||(delete s[e],c=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let l=n[r];const u=t[l];if(a)if(w(s,l))u!==s[l]&&(s[l]=u,c=!0);else{const t=U(l);o[t]=dn(a,i,t,u,e,!1)}else u!==s[l]&&(s[l]=u,c=!0)}}c&&pe(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=u;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(g(o,t),n||1!==e||delete o._):(s=!t.$stable,_n(t,o)),l=t}else t&&(xn(e,t),l={default:1});if(s)for(const e in o)bn(e)||e in l||delete o[e]})(e,t.children,n),ae(),Lr(void 0,e.update),ce()},H=(e,t,n,r,o,s,l,i,a=!1)=>{const u=e&&e.children,f=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void Y(u,d,n,r,o,s,l,i,a);if(256&p)return void z(u,d,n,r,o,s,l,i,a)}8&h?(16&f&&ee(u,o,s),d!==u&&c(n,d)):16&f?16&h?Y(u,d,n,r,o,s,l,i,a):ee(u,o,s,!0):(8&f&&c(n,""),16&h&&R(d,n,r,o,s,l,i,a))},z=(e,t,n,r,o,s,l,i,a)=>{t=t||f;const c=(e=e||f).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const r=t[p]=a?or(t[p]):rr(t[p]);y(e[p],r,n,null,o,s,l,i,a)}c>u?ee(e,o,s,!0,!1,d):R(t,n,r,o,s,l,i,a,d)},Y=(e,t,n,r,o,s,l,i,a)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const r=e[c],u=t[c]=a?or(t[c]):rr(t[c]);if(!Yn(r,u))break;y(r,u,n,null,o,s,l,i,a),c++}for(;c<=d&&c<=p;){const r=e[d],c=t[p]=a?or(t[p]):rr(t[p]);if(!Yn(r,c))break;y(r,c,n,null,o,s,l,i,a),d--,p--}if(c>d){if(c<=p){const e=p+1,f=e<u?t[e].el:r;for(;c<=p;)y(null,t[c]=a?or(t[c]):rr(t[c]),n,f,o,s,l,i,a),c++}}else if(c>p)for(;c<=d;)Q(e[c],o,s,!0),c++;else{const h=c,m=c,v=new Map;for(c=m;c<=p;c++){const e=t[c]=a?or(t[c]):rr(t[c]);null!=e.key&&v.set(e.key,c)}let g,b=0;const w=p-m+1;let _=!1,x=0;const A=new Array(w);for(c=0;c<w;c++)A[c]=0;for(c=h;c<=d;c++){const r=e[c];if(b>=w){Q(r,o,s,!0);continue}let u;if(null!=r.key)u=v.get(r.key);else for(g=m;g<=p;g++)if(0===A[g-m]&&Yn(r,t[g])){u=g;break}void 0===u?Q(r,o,s,!0):(A[u-m]=c+1,u>=x?x=u:_=!0,y(r,t[u],n,null,o,s,l,i,a),b++)}const S=_?function(e){const t=e.slice(),n=[0];let r,o,s,l,i;const a=e.length;for(r=0;r<a;r++){const a=e[r];if(0!==a){if(o=n[n.length-1],e[o]<a){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)i=s+l>>1,e[n[i]]<a?s=i+1:l=i;a<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,l=n[s-1];for(;s-- >0;)n[s]=l,l=t[l];return n}(A):f;for(g=S.length-1,c=w-1;c>=0;c--){const e=m+c,f=t[e],d=e+1<u?t[e+1].el:r;0===A[c]?y(null,f,n,d,o,s,l,i,a):_&&(g<0||c!==S[g]?K(f,n,d,2):g--)}}},K=(e,t,r,o,s=null)=>{const{el:l,type:i,transition:a,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void i.move(e,t,r,re);if(i===Un){n(l,t,r);for(let e=0;e<c.length;e++)K(c[e],t,r,o);return void n(e.anchor,t,r)}if(i===In)return void S(e,t,r);if(2!==o&&1&u&&a)if(0===o)a.beforeEnter(l),n(l,t,r),Pn((()=>a.enter(l)),s);else{const{leave:e,delayLeave:o,afterLeave:s}=a,i=()=>n(l,t,r),c=()=>{e(l,(()=>{i(),s&&s()}))};o?o(l,i,c):c()}else n(l,t,r)},Q=(e,t,n,r=!1,o=!1)=>{const{type:s,props:l,ref:i,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d}=e;if(null!=i&&Rn(i,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&d,h=!Mt(e);let m;if(h&&(m=l&&l.onVnodeBeforeUnmount)&&Tn(m,t,e),6&u)Z(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);p&&Sn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,re,r):c&&(s!==Un||f>0&&64&f)?ee(c,t,n,!1,!0):(s===Un&&384&f||!o&&16&u)&&ee(a,t,n),r&&X(e)}(h&&(m=l&&l.onVnodeUnmounted)||p)&&Pn((()=>{m&&Tn(m,t,e),p&&Sn(e,null,t,"unmounted")}),n)},X=e=>{const{type:t,el:n,anchor:o,transition:s}=e;if(t===Un)return void J(n,o);if(t===In)return void C(e);const l=()=>{r(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,l);r?r(e.el,l,o):o()}else l()},J=(e,t)=>{let n;for(;e!==t;)n=h(e),r(e),e=n;r(t)},Z=(e,t,n)=>{const{bum:r,scope:o,update:s,subTree:l,um:i}=e;r&&V(r),o.stop(),s&&(s.active=!1,Q(l,e,t,n)),i&&Pn(i,t),Pn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,r=!1,o=!1,s=0)=>{for(let l=s;l<e.length;l++)Q(e[l],t,n,r,o)},te=e=>6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():h(e.anchor||e.el),ne=(e,t,n)=>{null==e?t._vnode&&Q(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Dr(),t._vnode=e},re={p:y,um:Q,m:K,r:X,mt:I,mc:R,pc:H,pbc:$,n:te,o:e};let se,le;t&&([se,le]=t(re));return{render:ne,hydrate:se,createApp:kn(ne,se)}}(e)}function Rn(e,t,n,r,o=!1){if(_(e))return void e.forEach(((e,s)=>Rn(e,t&&(_(t)?t[s]:t),n,r,o)));if(Mt(r)&&!o)return;const s=4&r.shapeFlag?br(r.component)||r.component.proxy:r.el,l=o?null:s,{i:i,r:a}=e,c=t&&t.r,f=i.refs===u?i.refs={}:i.refs,d=i.setupState;if(null!=c&&c!==a&&(C(c)?(f[c]=null,w(d,c)&&(d[c]=null)):dt(c)&&(c.value=null)),C(a)){const e=()=>{f[a]=l,w(d,a)&&(d[a]=l)};l?(e.id=-1,Pn(e,n)):e()}else if(dt(a)){const e=()=>{a.value=l};l?(e.id=-1,Pn(e,n)):e()}else S(a)&&wr(a,i,12,[l,f])}function Tn(e,t,n,r=null){_r(e,t,7,[n,r])}function $n(e,t,n=!1){const r=e.children,o=t.children;if(_(r)&&_(o))for(let e=0;e<r.length;e++){const t=r[e];let s=o[e];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&(s=o[e]=or(o[e]),s.el=t.el),n||$n(t,s))}}function Fn(e,t){return function(e,t,n=!0,r=!1){const o=At||fr;if(o){const n=o.type;if("components"===e){const e=yr(n);if(e&&(e===t||e===U(t)||e===I(U(t))))return n}const s=jn(o[e]||n[e],t)||jn(o.appContext[e],t);return!s&&r?n:s}}("components",e,!0,t)||e}const Mn=Symbol();function jn(e,t){return e&&(e[t]||e[U(t)]||e[I(U(t))])}const Un=Symbol(void 0),Bn=Symbol(void 0),Nn=Symbol(void 0),In=Symbol(void 0),Ln=[];let Dn=null;function Vn(e=!1){Ln.push(Dn=e?null:[])}let Wn=1;function qn(e){Wn+=e}function Hn(e){return e.dynamicChildren=Wn>0?Dn||f:null,Ln.pop(),Dn=Ln[Ln.length-1]||null,Wn>0&&Dn&&Dn.push(e),e}function zn(e,t,n,r,o,s){return Hn(Jn(e,t,n,r,o,s,!0))}function Gn(e){return!!e&&!0===e.__v_isVNode}function Yn(e,t){return e.type===t.type&&e.key===t.key}const Kn="__vInternal",Qn=({key:e})=>null!=e?e:null,Xn=({ref:e})=>null!=e?C(e)||dt(e)||S(e)?{i:At,r:e}:e:null;function Jn(e,t=null,n=null,r=0,o=null,s=(e===Un?0:1),l=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qn(t),ref:t&&Xn(t),scopeId:St,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return i?(sr(a,n),128&s&&e.normalize(a)):n&&(a.shapeFlag|=C(n)?8:16),Wn>0&&!l&&Dn&&(a.patchFlag>0||6&s)&&32!==a.patchFlag&&Dn.push(a),a}const Zn=function(e,t=null,n=null,o=0,s=null,l=!1){e&&e!==Mn||(e=Nn);if(Gn(e)){const r=er(e,t,!0);return n&&sr(r,n),r}a=e,S(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?lt(e)||Kn in e?g({},e):e:null}(t);let{class:e,style:n}=t;e&&!C(e)&&(t.class=i(e)),k(n)&&(lt(n)&&!_(n)&&(n=g({},n)),t.style=r(n))}const c=C(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:k(e)?4:S(e)?2:0;return Jn(e,t,n,o,s,c,l,!0)};function er(e,t,n=!1){const{props:o,ref:s,patchFlag:l,children:a}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=i([t.class,o.class]));else if("style"===e)t.style=r([t.style,o.style]);else if(m(e)){const n=t[e],r=o[e];n!==r&&(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Qn(c),ref:t&&t.ref?n&&s?_(s)?s.concat(Xn(t)):[s,Xn(t)]:Xn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&er(e.ssContent),ssFallback:e.ssFallback&&er(e.ssFallback),el:e.el,anchor:e.anchor}}function tr(e=" ",t=0){return Zn(Bn,null,e,t)}function nr(e,t){const n=Zn(In,null,e);return n.staticCount=t,n}function rr(e){return null==e||"boolean"==typeof e?Zn(Nn):_(e)?Zn(Un,null,e.slice()):"object"==typeof e?or(e):Zn(Bn,null,String(e))}function or(e){return null===e.el||e.memo?e:er(e)}function sr(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(_(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),sr(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Kn in t?3===r&&At&&(1===At.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=At}}else S(t)?(t={default:t,_ctx:At},n=32):(t=String(t),64&r?(n=16,t=[tr(t)]):n=8);e.children=t,e.shapeFlag|=n}const lr=e=>e?hr(e)?br(e)||e.proxy:lr(e.parent):null,ir=g(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=>lr(e.parent),$root:e=>lr(e.root),$emit:e=>e.emit,$options:e=>nn(e),$forceUpdate:e=>()=>Br(e.update),$nextTick:e=>Ur.bind(e.proxy),$watch:e=>Gr.bind(e)}),ar={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:i,appContext:a}=e;let c;if("$"!==t[0]){const i=l[t];if(void 0!==i)switch(i){case 0:return r[t];case 1:return o[t];case 3:return n[t];case 2:return s[t]}else{if(r!==u&&w(r,t))return l[t]=0,r[t];if(o!==u&&w(o,t))return l[t]=1,o[t];if((c=e.propsOptions[0])&&w(c,t))return l[t]=2,s[t];if(n!==u&&w(n,t))return l[t]=3,n[t];Jt&&(l[t]=4)}}const f=ir[t];let d,p;return f?("$attrs"===t&&ue(e,0,t),f(e)):(d=i.__cssModules)&&(d=d[t])?d:n!==u&&w(n,t)?(l[t]=3,n[t]):(p=a.config.globalProperties,w(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;if(o!==u&&w(o,t))o[t]=n;else if(r!==u&&w(r,t))r[t]=n;else if(w(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let i;return void 0!==n[l]||e!==u&&w(e,l)||t!==u&&w(t,l)||(i=s[0])&&w(i,l)||w(r,l)||w(ir,l)||w(o.config.globalProperties,l)}},cr=Cn();let ur=0;let fr=null;const dr=e=>{fr=e,e.scope.on()},pr=()=>{fr&&fr.scope.off(),fr=null};function hr(e){return 4&e.vnode.shapeFlag}let mr=!1;function vr(e,t,n){S(t)?e.render=t:k(t)&&(e.setupState=gt(t)),gr(e)}function gr(e,t,n){const r=e.type;e.render||(e.render=r.render||d),dr(e),ae(),Zt(e),ce(),pr()}function br(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gt(at(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ir?ir[n](e):void 0}))}function yr(e){return S(e)&&e.displayName||e.name}function wr(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){xr(e,t,n)}return o}function _r(e,t,n,r){if(S(e)){const o=wr(e,t,n,r);return o&&P(o)&&o.catch((e=>{xr(e,t,n)})),o}const o=[];for(let s=0;s<e.length;s++)o.push(_r(e[s],t,n,r));return o}function xr(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,s=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;r=r.parent}const l=t.appContext.config.errorHandler;if(l)return void wr(l,null,10,[e,o,s])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let Ar=!1,Sr=!1;const Cr=[];let Er=0;const kr=[];let Pr=null,Or=0;const Rr=[];let Tr=null,$r=0;const Fr=Promise.resolve();let Mr=null,jr=null;function Ur(e){const t=Mr||Fr;return e?t.then(this?e.bind(this):e):t}function Br(e){Cr.length&&Cr.includes(e,Ar&&e.allowRecurse?Er+1:Er)||e===jr||(null==e.id?Cr.push(e):Cr.splice(function(e){let t=Er+1,n=Cr.length;for(;t<n;){const r=t+n>>>1;Vr(Cr[r])<e?t=r+1:n=r}return t}(e.id),0,e),Nr())}function Nr(){Ar||Sr||(Sr=!0,Mr=Fr.then(Wr))}function Ir(e,t,n,r){_(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?r+1:r)||n.push(e),Nr()}function Lr(e,t=null){if(kr.length){for(jr=t,Pr=[...new Set(kr)],kr.length=0,Or=0;Or<Pr.length;Or++)Pr[Or]();Pr=null,Or=0,jr=null,Lr(e,t)}}function Dr(e){if(Rr.length){const e=[...new Set(Rr)];if(Rr.length=0,Tr)return void Tr.push(...e);for(Tr=e,Tr.sort(((e,t)=>Vr(e)-Vr(t))),$r=0;$r<Tr.length;$r++)Tr[$r]();Tr=null,$r=0}}const Vr=e=>null==e.id?1/0:e.id;function Wr(e){Sr=!1,Ar=!0,Lr(e),Cr.sort(((e,t)=>Vr(e)-Vr(t)));try{for(Er=0;Er<Cr.length;Er++){const e=Cr[Er];e&&!1!==e.active&&wr(e,null,14)}}finally{Er=0,Cr.length=0,Dr(),Ar=!1,Mr=null,(Cr.length||kr.length||Rr.length)&&Wr(e)}}const qr={};function Hr(e,t,n){return zr(e,t,n)}function zr(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:l}=u){const i=fr;let a,c,f=!1,p=!1;if(dt(e)?(a=()=>e.value,f=!!e._shallow):ot(e)?(a=()=>e,r=!0):_(e)?(p=!0,f=e.some(ot),a=()=>e.map((e=>dt(e)?e.value:ot(e)?Kr(e):S(e)?wr(e,i,2):void 0))):a=S(e)?t?()=>wr(e,i,2):()=>{if(!i||!i.isUnmounted)return c&&c(),_r(e,i,3,[h])}:d,t&&r){const e=a;a=()=>Kr(e())}let h=e=>{c=y.onStop=()=>{wr(e,i,4)}},m=p?[]:qr;const v=()=>{if(y.active)if(t){const e=y.run();(r||f||(p?e.some(((e,t)=>D(e,m[t]))):D(e,m)))&&(c&&c(),_r(t,i,3,[e,m===qr?void 0:m,h]),m=e)}else y.run()};let g;v.allowRecurse=!!t,g="sync"===o?v:"post"===o?()=>Pn(v,i&&i.suspense):()=>{!i||i.isMounted?function(e){Ir(e,Pr,kr,Or)}(v):v()};const y=new oe(a,g);return t?n?v():m=y.run():"post"===o?Pn(y.run.bind(y),i&&i.suspense):y.run(),()=>{y.stop(),i&&i.scope&&b(i.scope.effects,y)}}function Gr(e,t,n){const r=this.proxy,o=C(e)?e.includes(".")?Yr(r,e):()=>r[e]:e.bind(r,r);let s;S(t)?s=t:(s=t.handler,n=t);const l=fr;dr(this);const i=zr(o,s.bind(r),n);return l?dr(l):pr(),i}function Yr(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Kr(e,t=new Set){if(!k(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),dt(e))Kr(e.value,t);else if(_(e))for(let n=0;n<e.length;n++)Kr(e[n],t);else if(A(e)||x(e))e.forEach((e=>{Kr(e,t)}));else if(T(e))for(const n in e)Kr(e[n],t);return e}function Qr(e,t,n){const r=arguments.length;return 2===r?k(t)&&!_(t)?Gn(t)?Zn(e,null,[t]):Zn(e,t):Zn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Gn(n)&&(n=[n]),Zn(e,t,n))}const Xr="3.2.4",Jr="undefined"!=typeof document?document:null,Zr=new Map,eo={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?Jr.createElementNS("http://www.w3.org/2000/svg",e):Jr.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>Jr.createTextNode(e),createComment:e=>Jr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Jr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r){const o=n?n.previousSibling:t.lastChild;let s=Zr.get(e);if(!s){const t=Jr.createElement("template");if(t.innerHTML=r?`<svg>${e}</svg>`:e,s=t.content,r){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}Zr.set(e,s)}return t.insertBefore(s.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const to=/\s*!important$/;function no(e,t,n){if(_(n))n.forEach((n=>no(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=oo[t];if(n)return n;let r=U(t);if("filter"!==r&&r in e)return oo[t]=r;r=I(r);for(let n=0;n<ro.length;n++){const o=ro[n]+r;if(o in e)return oo[t]=o}return t}(e,t);to.test(n)?e.setProperty(N(r),n.replace(to,""),"important"):e[r]=n}}const ro=["Webkit","Moz","ms"],oo={};const so="http://www.w3.org/1999/xlink";let lo=Date.now,io=!1;if("undefined"!=typeof window){lo()>document.createEvent("Event").timeStamp&&(lo=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);io=!!(e&&Number(e[1])<=53)}let ao=0;const co=Promise.resolve(),uo=()=>{ao=0};function fo(e,t,n,r){e.addEventListener(t,n,r)}function po(e,t,n,r,o=null){const s=e._vei||(e._vei={}),l=s[t];if(r&&l)l.value=r;else{const[n,i]=function(e){let t;if(ho.test(e)){let n;for(t={};n=e.match(ho);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[N(e.slice(2)),t]}(t);if(r){fo(e,n,s[t]=function(e,t){const n=e=>{const r=e.timeStamp||lo();(io||r>=n.attached-1)&&_r(function(e,t){if(_(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>ao||(co.then(uo),ao=lo()))(),n}(r,o),i)}else l&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,l,i),s[t]=void 0)}}const ho=/(?:Once|Passive|Capture)$/;const mo=/^on[a-z]/;const vo=e=>{const t=e.props["onUpdate:modelValue"];return _(t)?e=>V(t,e):t};function go(e){e.target.composing=!0}function bo(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const yo={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=vo(o);const s=r||o.props&&"number"===o.props.type;fo(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n?r=r.trim():s&&(r=q(r)),e._assign(r)})),n&&fo(e,"change",(()=>{e.value=e.value.trim()})),t||(fo(e,"compositionstart",go),fo(e,"compositionend",bo),fo(e,"change",bo))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=vo(s),e.composing)return;if(document.activeElement===e){if(n)return;if(r&&e.value.trim()===t)return;if((o||"number"===e.type)&&q(e.value)===t)return}const l=null==t?"":t;e.value!==l&&(e.value=l)}},wo={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):_o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),_o(e,!0),r.enter(e)):r.leave(e,(()=>{_o(e,!1)})):_o(e,t))},beforeUnmount(e,{value:t}){_o(e,t)}};function _o(e,t){e.style.display=t?e._vod:"none"}const xo=g({patchProp:(e,r,o,s,l=!1,i,a,c,u)=>{"class"===r?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,l):"style"===r?function(e,t,n){const r=e.style;if(n)if(C(n)){if(t!==n){const t=r.display;r.cssText=n,"_vod"in e&&(r.display=t)}}else{for(const e in n)no(r,e,n[e]);if(t&&!C(t))for(const e in t)null==n[e]&&no(r,e,"")}else e.removeAttribute("style")}(e,o,s):m(r)?v(r)||po(e,r,0,s,a):("."===r[0]?(r=r.slice(1),1):"^"===r[0]?(r=r.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&mo.test(t)&&S(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(mo.test(t)&&C(n))return!1;return t in e}(e,r,s,l))?function(e,t,r,o,s,l,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,s,l),void(e[t]=null==r?"":r);if("value"===t&&"PROGRESS"!==e.tagName){e._value=r;const n=null==r?"":r;return e.value!==n&&(e.value=n),void(null==r&&e.removeAttribute(t))}if(""===r||null==r){const o=typeof e[t];if("boolean"===o)return void(e[t]=n(r));if(null==r&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=r}catch(e){}}(e,r,s,i,a,c,u):("true-value"===r?e._trueValue=s:"false-value"===r&&(e._falseValue=s),function(e,r,o,s,l){if(s&&r.startsWith("xlink:"))null==o?e.removeAttributeNS(so,r.slice(6,r.length)):e.setAttributeNS(so,r,o);else{const s=t(r);null==o||s&&!n(o)?e.removeAttribute(r):e.setAttribute(r,s?"":o)}}(e,r,s,l))}},eo);let Ao;const So={id:"nav",style:{"font-size":"30px"}},Co=tr("Home"),Eo=tr(" | "),ko=tr("Send"),Po=tr(" | "),Oo=tr("Approve"),Ro=tr(" | "),To=tr("Holders");const $o={render:function(e,t){const n=Fn("router-link"),r=Fn("router-view");return Vn(),zn(Un,null,[Jn("div",So,[Zn(n,{to:"/"},{default:Et((()=>[Co])),_:1}),Eo,Zn(n,{to:"/send"},{default:Et((()=>[ko])),_:1}),Po,Zn(n,{to:"/approve"},{default:Et((()=>[Oo])),_:1}),Ro,Zn(n,{to:"/holders"},{default:Et((()=>[To])),_:1})]),Zn(r)],64)}},Fo="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,Mo=e=>Fo?Symbol(e):"_vr_"+e,jo=Mo("rvlm"),Uo=Mo("rvd"),Bo=Mo("r"),No=Mo("rl"),Io=Mo("rvl"),Lo="undefined"!=typeof window;const Do=Object.assign;function Vo(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const Wo=()=>{},qo=/\/$/;function Ho(e,t,n="/"){let r,o={},s="",l="";const i=t.indexOf("?"),a=t.indexOf("#",i>-1?i:0);return i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o,s,l=n.length-1;for(o=0;o<r.length;o++)if(s=r[o],1!==l&&"."!==s){if(".."!==s)break;l--}return n.slice(0,l).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}(null!=r?r:t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:l}}function zo(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Go(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Yo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ko(e[n],t[n]))return!1;return!0}function Ko(e,t){return Array.isArray(e)?Qo(e,t):Array.isArray(t)?Qo(t,e):e===t}function Qo(e,t){return Array.isArray(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Xo,Jo,Zo,es;function ts(e){if(!e)if(Lo){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(qo,"")}(Jo=Xo||(Xo={})).pop="pop",Jo.push="push",(es=Zo||(Zo={})).back="back",es.forward="forward",es.unknown="";const ns=/^[^#]+#/;function rs(e,t){return e.replace(ns,"#")+t}const os=()=>({left:window.pageXOffset,top:window.pageYOffset});function ss(e){let t;if("el"in e){const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(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)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function ls(e,t){return(history.state?history.state.position-t:-1)+e}const is=new Map;function as(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let t=o.includes(e.slice(s))?e.slice(s).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),zo(n,"")}return zo(n,e)+r+o}function cs(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?os():null}}function us(e){const{history:t,location:n}=window,r={value:as(e,n)},o={value:t.state};function s(r,s,l){const i=e.indexOf("#"),a=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+r:location.protocol+"//"+location.host+e+r;try{t[l?"replaceState":"pushState"](s,"",a),o.value=s}catch(e){console.error(e),n[l?"replace":"assign"](a)}}return o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:function(e,n){const l=Do({},o.value,t.state,{forward:e,scroll:os()});s(l.current,l,!0),s(e,Do({},cs(r.value,e,null),{position:l.position+1},n),!1),r.value=e},replace:function(e,n){s(e,Do({},t.state,cs(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),r.value=e}}}function fs(e){return"string"==typeof e||"symbol"==typeof e}const ds={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ps=Mo("nf");var hs,ms;function vs(e,t){return Do(new Error,{type:e,[ps]:!0},t)}function gs(e,t){return e instanceof Error&&ps in e&&(null==t||!!(e.type&t))}(ms=hs||(hs={}))[ms.aborted=4]="aborted",ms[ms.cancelled=8]="cancelled",ms[ms.duplicated=16]="duplicated";const bs={sensitive:!1,strict:!1,start:!0,end:!0},ys=/[.+*?^${}()[\]/\\]/g;function ws(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function _s(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const e=ws(r[n],o[n]);if(e)return e;n++}return o.length-r.length}const xs={type:0,value:""},As=/[a-zA-Z0-9_]/;function Ss(e,t,n){const r=function(e,t){const n=Do({},bs,t),r=[];let o=n.start?"^":"";const s=[];for(const t of e){const e=t.length?[]:[90];n.strict&&!t.length&&(o+="/");for(let r=0;r<t.length;r++){const l=t[r];let i=40+(n.sensitive?.25:0);if(0===l.type)r||(o+="/"),o+=l.value.replace(ys,"\\$&"),i+=40;else if(1===l.type){const{value:e,repeatable:n,optional:a,regexp:c}=l;s.push({name:e,repeatable:n,optional:a});const u=c||"[^/]+?";if("[^/]+?"!==u){i+=10;try{new RegExp(`(${u})`)}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let f=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(f=a&&t.length<2?`(?:/${f})`:"/"+f),a&&(f+="?"),o+=f,i+=20,a&&(i+=-8),n&&(i+=-20),".*"===u&&(i+=-50)}e.push(i)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");return{re:l,score:r,keys:s,parse:function(e){const t=e.match(l),n={};if(!t)return null;for(let e=1;e<t.length;e++){const r=t[e]||"",o=s[e-1];n[o.name]=r&&o.repeatable?r.split("/"):r}return n},stringify:function(t){let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){const{value:s,repeatable:l,optional:i}=e,a=s in t?t[s]:"";if(Array.isArray(a)&&!l)throw new Error(`Provided param "${s}" is an array but it is not repeatable (* or + modifiers)`);const c=Array.isArray(a)?a.join("/"):a;if(!c){if(!i)throw new Error(`Missing required param "${s}"`);o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n}}}(function(e){if(!e)return[[]];if("/"===e)return[[xs]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let i,a=0,c="",u="";function f(){c&&(0===n?s.push({type:0,value:c}):1===n||2===n||3===n?(s.length>1&&("*"===i||"+"===i)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),c="")}function d(){c+=i}for(;a<e.length;)if(i=e[a++],"\\"!==i||2===n)switch(n){case 0:"/"===i?(c&&f(),l()):":"===i?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:"("===i?n=2:As.test(i)?d():(f(),n=0,"*"!==i&&"?"!==i&&"+"!==i&&a--);break;case 2:")"===i?"\\"==u[u.length-1]?u=u.slice(0,-1)+i:n=3:u+=i;break;case 3:f(),n=0,"*"!==i&&"?"!==i&&"+"!==i&&a--,u="";break;default:t("Unknown state")}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),o}(e.path),n),o=Do(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Cs(e,t){const n=[],r=new Map;function o(e,n,r){const i=!r,a=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Es(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}(e);a.aliasOf=r&&r.record;const c=Os(t,e),u=[a];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(Do({},a,{components:r?r.record.components:a.components,path:e,aliasOf:r?r.record:a}))}let f,d;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&r+u)}if(f=Ss(t,n,c),r?r.alias.push(f):(d=d||f,d!==f&&d.alias.push(f),i&&e.name&&!ks(f)&&s(e.name)),"children"in a){const e=a.children;for(let t=0;t<e.length;t++)o(e[t],f,r&&r.children[t])}r=r||f,l(f)}return d?()=>{s(d)}:Wo}function s(e){if(fs(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function l(e){let t=0;for(;t<n.length&&_s(e,n[t])>=0;)t++;n.splice(t,0,e),e.record.name&&!ks(e)&&r.set(e.record.name,e)}return t=Os({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,resolve:function(e,t){let o,s,l,i={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw vs(1,{location:e});l=o.record.name,i=Do(function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),s=o.stringify(i)}else if("path"in e)s=e.path,o=n.find((e=>e.re.test(s))),o&&(i=o.parse(s),l=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw vs(1,{location:e,currentLocation:t});l=o.record.name,i=Do({},t.params,e.params),s=o.stringify(i)}const a=[];let c=o;for(;c;)a.unshift(c.record),c=c.parent;return{name:l,path:s,params:i,matched:a,meta:Ps(a)}},removeRoute:s,getRoutes:function(){return n},getRecordMatcher:function(e){return r.get(e)}}}function Es(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="boolean"==typeof n?n:n[r];return t}function ks(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ps(e){return e.reduce(((e,t)=>Do(e,t.meta)),{})}function Os(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const Rs=/#/g,Ts=/&/g,$s=/\//g,Fs=/=/g,Ms=/\?/g,js=/\+/g,Us=/%5B/g,Bs=/%5D/g,Ns=/%5E/g,Is=/%60/g,Ls=/%7B/g,Ds=/%7C/g,Vs=/%7D/g,Ws=/%20/g;function qs(e){return encodeURI(""+e).replace(Ds,"|").replace(Us,"[").replace(Bs,"]")}function Hs(e){return qs(e).replace(js,"%2B").replace(Ws,"+").replace(Rs,"%23").replace(Ts,"%26").replace(Is,"`").replace(Ls,"{").replace(Vs,"}").replace(Ns,"^")}function zs(e){return null==e?"":function(e){return qs(e).replace(Rs,"%23").replace(Ms,"%3F")}(e).replace($s,"%2F")}function Gs(e){try{return decodeURIComponent(""+e)}catch(e){}return""+e}function Ys(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let e=0;e<n.length;++e){const r=n[e].replace(js," "),o=r.indexOf("="),s=Gs(o<0?r:r.slice(0,o)),l=o<0?null:Gs(r.slice(o+1));if(s in t){let e=t[s];Array.isArray(e)||(e=t[s]=[e]),e.push(l)}else t[s]=l}return t}function Ks(e){let t="";for(let n in e){const r=e[n];if(n=Hs(n).replace(Fs,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map((e=>e&&Hs(e))):[r&&Hs(r)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Qs(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=Array.isArray(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}function Xs(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Js(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((l,i)=>{const a=e=>{var a;!1===e?i(vs(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(a=e)||a&&"object"==typeof a?i(vs(2,{from:t,to:e})):(s&&r.enterCallbacks[o]===s&&"function"==typeof e&&s.push(e),l())},c=e.call(r&&r.instances[o],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch((e=>i(e)))}))}function Zs(e,t,n,r){const o=[];for(const l of e)for(const e in l.components){let i=l.components[e];if("beforeRouteEnter"===t||l.instances[e])if("object"==typeof(s=i)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(i.__vccOpts||i)[t];s&&o.push(Js(s,n,r,l,e))}else{let s=i();o.push((()=>s.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${l.path}"`));const s=(i=o).__esModule||Fo&&"Module"===i[Symbol.toStringTag]?o.default:o;var i;l.components[e]=s;const a=(s.__vccOpts||s)[t];return a&&Js(a,n,r,l,e)()}))))}}var s;return o}function el(e){const t=$t(Bo),n=$t(No),r=yt((()=>t.resolve(mt(e.to)))),o=yt((()=>{const{matched:e}=r.value,{length:t}=e,o=e[t-1],s=n.matched;if(!o||!s.length)return-1;const l=s.findIndex(Go.bind(null,o));if(l>-1)return l;const i=nl(e[t-2]);return t>1&&nl(o)===i&&s[s.length-1].path!==i?s.findIndex(Go.bind(null,e[t-2])):l})),s=yt((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n];if("string"==typeof r){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}(n.params,r.value.params))),l=yt((()=>o.value>-1&&o.value===n.matched.length-1&&Yo(n.params,r.value.params)));return{route:r,href:yt((()=>r.value.href)),isActive:s,isExactActive:l,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(Wo):Promise.resolve()}}}const tl=Ft({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:el,setup(e,{slots:t}){const n=tt(el(e)),{options:r}=$t(Bo),o=yt((()=>({[rl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const r=t.default&&t.default(n);return e.custom?r:Qr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}});function nl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rl=(e,t,n)=>null!=e?e:null!=t?t:n;function ol(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const sl=Ft({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=$t(Io),o=yt((()=>e.route||r.value)),s=$t(Uo,0),l=yt((()=>o.value.matched[s]));Tt(Uo,s+1),Tt(jo,l),Tt(Io,o);const i=ht(a);var a;return Hr((()=>[i.value,l.value,e.name]),(([e,t,n],[r,o,s])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&Go(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const r=o.value,s=l.value,a=s&&s.components[e.name],c=e.name;if(!a)return ol(n.default,{Component:a,route:r});const u=s.props[e.name],f=u?!0===u?r.params:"function"==typeof u?u(r):u:null,d=Qr(a,Do({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[c]=null)},ref:i}));return ol(n.default,{Component:d,route:r})||d}}});function ll(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}var il={name:"Home",methods:{create(){this.$router.push("create")},send(){this.$router.push("send")},diff(){this.$router.push("diff")},holders(){this.$router.push("holders")},approve(){this.$router.push("approve")}}};const al=Jn("img",{src:"/favicon.ico"},null,-1),cl=Jn("h1",null,"Send Coins to Multiple Addresses",-1),ul={class:"normal"},fl=tr("This small utility helps you send coins to multiple addresses, and view "),dl=tr(" as well."),pl=Jn("p",null,[tr("This is a "),Jn("a",{href:"https://www.puredapp.org"},"Pure DApp"),tr(", which means its contract code and front-end code are both opensource and anyone can deploy them at anywhere.")],-1),hl=tr("You can "),ml=tr(" of coins to each of these addresses. Before using send2multi, you must "),vl=tr(" to it."),gl=nr('<p>To visit specific pages of this site, you can use full URLs. Suppose you are going to send <code>$CATS</code> whose contract address is <code>0x265bD28d79400D55a1665707Fa14A72978FA6043</code>, then <a href="https://send2multi.github.io/send/0x265bD28d79400D55a1665707Fa14A72978FA6043">https://send2multi.github.io/send/0x265bD28d79400D55a1665707Fa14A72978FA6043</a> can lead you to the page to send <code>$CATS</code> and <a href="https://send2multi.github.io/approve/0x265bD28d79400D55a1665707Fa14A72978FA6043">https://send2multi.github.io/approve/0x265bD28d79400D55a1665707Fa14A72978FA6043</a>, the page to approve <code>$CATS</code> to this send2multi DApp.</p><p><b>CAVEAT:</b> This is an opensource software. It is provided “as is”, without warranty of any kind. Please use it <b>AT YOUR OWN RISK</b>.</p>',2);il.render=function(e,t,n,r,o,s){return Vn(),zn(Un,null,[al,cl,Jn("div",ul,[Jn("p",null,[fl,Jn("a",{onClick:t[0]||(t[0]=(...e)=>s.holders&&s.holders(...e)),href:""},"the holders of a given token"),dl]),pl,Jn("p",null,[hl,Jn("a",{onClick:t[1]||(t[1]=(...e)=>s.send&&s.send(...e)),href:""},"send the same amount"),ml,Jn("a",{onClick:t[2]||(t[2]=(...e)=>s.approve&&s.approve(...e)),href:""},"approve some allowance"),vl]),gl])],64)};var bl={data:()=>({address:"---",sep20Address:"",symbol:"---",name:"---",allowance:"0",newAllowance:0,shown:!1}),methods:{useBCH(){this.sep20Address="0x0000000000000000000000000000000000002711"},async query(){if(void 0===window.ethereum)return void alertNoWallet();const e=new ethers.providers.Web3Provider(window.ethereum),t=new ethers.Contract(this.sep20Address,SEP20ABI,e);try{const n=e.getSigner();this.symbol=await t.symbol(),this.name=await t.name();const r=await t.decimals(),o=await t.allowance(n.getAddress(),SEND2MULTIADDR);this.allowance=ethers.utils.formatUnits(o,r),this.shown=!0}catch(e){alert("Error! "+e.toString())}},async approve(){if(void 0===window.ethereum)return void alertNoWallet();const e=new ethers.providers.Web3Provider(window.ethereum),t=new ethers.Contract(this.sep20Address,SEP20ABI,e),n=e.getSigner();try{const s=await t.decimals();this.allowance=this.newAllowance;var r=ethers.utils.parseUnits(this.newAllowance.toString(),s),o=await e.getStorageAt("0x0000000000000000000000000000000000002710","0x00000000000000000000000000000000000000000000000000000000000000002");"0x"==o&&(o="0x0"),await t.connect(n).approve(SEND2MULTIADDR,r,{gasPrice:o})}catch(e){alert("Error! "+e.toString()),console.log(e)}}},async mounted(){if(void 0===window.ethereum)return void alertNoWallet();if(this.$route.params.sep20Address&&0!=this.$route.params.sep20Address.length)try{ethers.utils.getAddress(this.$route.params.sep20Address);this.sep20Address=this.$route.params.sep20Address}catch(e){alert(this.$route.params.sep20Address+" is not a valid address! "+e.toString()),console.log(e)}const e=new ethers.providers.Web3Provider(window.ethereum).getSigner();this.address=await e.getAddress()}};const yl=Jn("h1",null,"Allowance",-1),wl={class:"normal"},_l=tr(" The SEP20 token's address: "),xl=Jn("br",null,null,-1),Al=tr(" (Click "),Sl=tr(" if you want to send BCH)"),Cl=Jn("br",null,null,-1),El=tr("You can change your allowance to send2multi: "),kl=Jn("p",null,"You can clear your allowance to send2multi by setting the new allowance to zero",-1);bl.render=function(e,t,n,r,o,s){return Vn(),zn(Un,null,[yl,Jn("div",wl,[Jn("p",null,"Your address is "+a(o.address),1),_l,An(Jn("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.sep20Address=e),type:"text",placeholder:"Please enter an SEP20 token's address here"},null,512),[[yo,o.sep20Address]]),Jn("button",{onClick:t[1]||(t[1]=(...e)=>s.query&&s.query(...e))},"Query"),xl,Al,Jn("button",{onClick:t[2]||(t[2]=(...e)=>s.useBCH&&s.useBCH(...e))},"here"),Sl,Cl,An(Jn("div",null,[Jn("p",null,"The SEP20 Token's symbol is "+a(o.symbol)+", and its name is "+a(o.name)+".",1),Jn("p",null,"Now send2multi can spend "+a(o.allowance)+" of your "+a(o.symbol)+". ",1),Jn("p",null,[El,An(Jn("input",{"onUpdate:modelValue":t[3]||(t[3]=e=>o.newAllowance=e),type:"number",placeholder:"Please enter the new allowance here"},null,512),[[yo,o.newAllowance]]),Jn("button",{onClick:t[4]||(t[4]=(...e)=>s.approve&&s.approve(...e))},"Change")]),kl],512),[[wo,o.shown]])])],64)};var Pl={data:()=>({sep20Address:"",amount:0,addressList:""}),methods:{extract(){this.addressList=function(e,t){var n=e.split("0x"),r={};for(let e of n)if(!(e.length<40))try{r[ethers.utils.getAddress("0x"+e.substr(0,40))]=!0}catch(e){console.log(e)}delete r[t];var o=Object.keys(r);return o.sort(),o.join("\n")}(this.addressList,this.sep20Address)},useBCH(){this.sep20Address="0x0000000000000000000000000000000000002711"},async deploy(){const e=["constructor() public"],t=new ethers.providers.Web3Provider(window.ethereum);try{const n=t.getSigner(),r=new ethers.ContractFactory(e,"0x608060405234801561001057600080fd5b506104f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c44465a71461003b578063f438249c14610050575b600080fd5b61004e6100493660046103bf565b610063565b005b61004e61005e36600461036e565b610188565b60005b8181101561018157600080866001600160a01b03163386868681811061009c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906100b1919061034d565b886040516024016100c493929190610470565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516100f99190610437565b6000604051808303816000865af19150503d8060008114610136576040519150601f19603f3d011682016040523d82523d6000602084013e61013b565b606091505b50915091506000818060200190518101906101569190610417565b90508280156101625750805b61016b57600080fd5b505050808061017990610494565b915050610066565b5050505050565b60005b818110156102e25760008383838181106101b557634e487b7160e01b600052603260045260246000fd5b905060200201359050600060608585858181106101e257634e487b7160e01b600052603260045260246000fd5b90506020020135901c60601b60601c9050600080876001600160a01b03163384866bffffffffffffffffffffffff1660405160240161022393929190610470565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b179052516102589190610437565b6000604051808303816000865af19150503d8060008114610295576040519150601f19603f3d011682016040523d82523d6000602084013e61029a565b606091505b50915091506000818060200190518101906102b59190610417565b90508280156102c15750805b6102ca57600080fd5b505050505080806102da90610494565b91505061018b565b50505050565b80356001600160a01b03811681146102ff57600080fd5b919050565b60008083601f840112610315578182fd5b50813567ffffffffffffffff81111561032c578182fd5b602083019150836020808302850101111561034657600080fd5b9250929050565b60006020828403121561035e578081fd5b610367826102e8565b9392505050565b600080600060408486031215610382578182fd5b61038b846102e8565b9250602084013567ffffffffffffffff8111156103a6578283fd5b6103b286828701610304565b9497909650939450505050565b600080600080606085870312156103d4578081fd5b6103dd856102e8565b935060208501359250604085013567ffffffffffffffff8111156103ff578182fd5b61040b87828801610304565b95989497509550505050565b600060208284031215610428578081fd5b81518015158114610367578182fd5b60008251815b81811015610457576020818601810151858301520161043d565b818111156104655782828501525b509190910192915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006000198214156104b457634e487b7160e01b81526011600452602481fd5b506001019056fea2646970667358221220a410123655bf29aa374de2c8aadd8cae3f3002dd307121dfb7af768fb0e610a264736f6c63430008000033",n),o=await r.deploy();console.log("address:",o.address);const s=await o.deployTransaction.wait();console.log(s)}catch(e){alert("Error! "+e.toString())}},async submit(){if(void 0===window.ethereum)return void alertNoWallet();const e=new ethers.providers.Web3Provider(window.ethereum),t=new ethers.Contract(this.sep20Address,SEP20ABI,e),n=new ethers.Contract(SEND2MULTIADDR,SEND2MULTIABI,e);try{const o=e.getSigner(),s=await t.symbol(),l=await t.decimals(),i=await t.allowance(o.getAddress(),SEND2MULTIADDR),a=ethers.utils.formatUnits(i,l),c=await t.balanceOf(o.getAddress()),u=ethers.utils.formatUnits(c,l),f=function(e){var t=e.split("\n");if(0!=t.length){var n=[];for(let e of t)if(e=e.trim(),0!=e.length)try{n.push(ethers.utils.getAddress(e))}catch(t){alert("Failed to parse "+e+" Error "+t.toString()),console.log(t)}return n}alert("No address entered")}(this.addressList);if(0==f.length)return;const d=this.amount*f.length;if(u<this.amount*f.length)return void alert("You do not own enough "+s+" to send! "+u+" < "+d);if(a<d)return void alert("You have not approved enough "+s+" to the send2multi contract! "+a+" < "+d);if(!confirm("Are you sure to send "+this.amount+" "+s+" to the addresses (totally "+d+")?"))return;const p=ethers.utils.parseUnits(this.amount.toString(),l),h=n.connect(o);if(await h.estimateGas.sendWithSameValue(this.sep20Address,p,f)>7e6)return void alert("The gas consumption is too high! Transaction may fail. Please reduce the address count.");var r=await e.getStorageAt("0x0000000000000000000000000000000000002710","0x00000000000000000000000000000000000000000000000000000000000000002");"0x"==r&&(r="0x0"),await h.sendWithSameValue(this.sep20Address,p,f,{gasPrice:r})}catch(e){alert("Error! "+e.toString()),console.log(e)}}},async mounted(){if(void 0!==window.ethereum){if(this.$route.params.sep20Address&&0!=this.$route.params.sep20Address.length)try{ethers.utils.getAddress(this.$route.params.sep20Address);this.sep20Address=this.$route.params.sep20Address}catch(e){alert(this.$route.params.sep20Address+" is not a valid address! "+e.toString()),console.log(e)}}else alertNoWallet()}};const Ol=Jn("h1",null,"Send the Same Amount of Coins to Addresses",-1),Rl={class:"normal"},Tl={style:{margin:"auto"}},$l=Jn("b",null,"SEP20 Token's Address",-1),Fl=Jn("br",null,null,-1),Ml=tr(" (Click "),jl=tr(" if you want to send BCH)"),Ul=Jn("td",null,[Jn("b",null,"The Amount Sent to Each Address")],-1),Bl=Jn("b",null,"Address List",-1),Nl=Jn("br",null,null,-1),Il=tr("You can also paste any text in the right text area, and click "),Ll=tr(" to extract addresses from it."),Dl={style:{margin:"auto",width:"40%"}},Vl=Jn("br",null,null,-1);function Wl(e){return new Promise((t=>setTimeout(t,e)))}Pl.render=function(e,t,n,r,o,s){return Vn(),zn(Un,null,[Ol,Jn("div",Rl,[Jn("table",Tl,[Jn("tr",null,[Jn("td",null,[$l,Fl,Ml,Jn("button",{onClick:t[0]||(t[0]=(...e)=>s.useBCH&&s.useBCH(...e))},"here"),jl]),Jn("td",null,[An(Jn("input",{"onUpdate:modelValue":t[1]||(t[1]=e=>o.sep20Address=e),type:"text",placeholder:"Please enter an address in HEX format"},null,512),[[yo,o.sep20Address]])])]),Jn("tr",null,[Ul,Jn("td",null,[An(Jn("input",{"onUpdate:modelValue":t[2]||(t[2]=e=>o.amount=e),type:"number",placeholder:"Please enter a number"},null,512),[[yo,o.amount]])])]),Jn("tr",null,[Jn("td",null,[Bl,Nl,Il,Jn("button",{onClick:t[3]||(t[3]=(...e)=>s.extract&&s.extract(...e))},"extract"),Ll]),Jn("td",null,[An(Jn("textarea",{"onUpdate:modelValue":t[4]||(t[4]=e=>o.addressList=e),placeholder:"Please enter one address in each line",rows:"10",cols:"100"},null,512),[[yo,o.addressList]])])])]),Jn("div",Dl,[Vl,Jn("button",{onClick:t[5]||(t[5]=(...e)=>s.submit&&s.submit(...e)),style:{"font-size":"24px",width:"300px"}},"Send")])])],64)};var ql={data:()=>({sep20Address:""}),methods:{async query(){if(void 0===window.ethereum)return void alertNoWallet();const e=new ethers.providers.Web3Provider(window.ethereum),t=new ethers.Contract(this.sep20Address,SEP20ABI,e),n=await t.decimals(),r=await t.symbol();var o=await e.getBlockNumber(),s={address:this.sep20Address,topics:[ethers.utils.id("Transfer(address,address,uint256)")]};const l=document.getElementById("result");var i={};for(;o>0;){s.toBlock=o,s.fromBlock=Math.max(o-5e4,0),l.innerText="Scanning blocks "+s.fromBlock+"~"+s.toBlock;const t=await e.getLogs(s);for(var a=0;a<t.length;a++)i["0x"+t[a].topics[1].substr(26)]=!0,i["0x"+t[a].topics[2].substr(26)]=!0;o-=5e4}var c=Object.keys(i),u={};for(a=0;a<c.length;a++){const e=ethers.utils.getAddress(c[a]),r=await t.balanceOf(e),o=ethers.utils.formatUnits(r,n);if(u[e]=parseFloat(o),a%10==9&&(l.innerText="Query balances of possible holders: "+(a+1)+" of "+c.length),a%100==99)for(var f=0;f<60;f++)l.innerText="Query balances of possible holders: "+(a+1)+" of "+c.length,l.innerText+="\n Now we need to pause for 1 minute ("+(60-f)+")...",await Wl(1e3)}(c=Object.keys(u)).sort((function(e,t){return u[e]<u[t]}));var d=[];for(a=0;a<c.length;a++){const e=c[a];0!=u[e]&&d.push(a+". "+e+" "+u[e])}l.innerText="There are "+d.length+" accounts owns "+r+":\n",l.innerText+=d.join("\n")}}};const Hl=Jn("h1",null,"Holders of SEP20 Token",-1),zl={class:"normal"},Gl=tr(" The SEP20 token's address: "),Yl=Jn("br",null,null,-1),Kl=Jn("pre",{id:"result",style:{"font-size":"16px"}}," ",-1);ql.render=function(e,t,n,r,o,s){return Vn(),zn(Un,null,[Hl,Jn("div",zl,[Gl,An(Jn("input",{"onUpdate:modelValue":t[0]||(t[0]=e=>o.sep20Address=e),type:"text",placeholder:"Please enter an SEP20 token's address here"},null,512),[[yo,o.sep20Address]]),Jn("button",{onClick:t[1]||(t[1]=(...e)=>s.query&&s.query(...e))},"Query"),Yl,Kl])],64)};const Ql=[{path:"/",component:il},{path:"/approve",component:bl},{path:"/holders",component:ql},{path:"/approve/:sep20Address",component:bl},{path:"/send",component:Pl},{path:"/send/:sep20Address",component:Pl}],Xl=function(e){const t=Cs(e.routes,e),n=e.parseQuery||Ys,r=e.stringifyQuery||Ks,o=e.history,s=Xs(),l=Xs(),i=Xs(),a=ht(ds,!0);let c=ds;Lo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Vo.bind(null,(e=>""+e)),f=Vo.bind(null,zs),d=Vo.bind(null,Gs);function p(e,s){if(s=Do({},s||a.value),"string"==typeof e){const r=Ho(n,e,s.path),l=t.resolve({path:r.path},s),i=o.createHref(r.fullPath);return Do(r,l,{params:d(l.params),hash:Gs(r.hash),redirectedFrom:void 0,href:i})}let l;if("path"in e)l=Do({},e,{path:Ho(n,e.path,s.path).path});else{const t=Do({},e.params);for(const e in t)null==t[e]&&delete t[e];l=Do({},e,{params:f(e.params)}),s.params=f(s.params)}const i=t.resolve(l,s),c=e.hash||"";i.params=u(d(i.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,Do({},e,{hash:(h=c,qs(h).replace(Ls,"{").replace(Vs,"}").replace(Ns,"^")),path:i.path}));var h;const m=o.createHref(p);return Do({fullPath:p,hash:c,query:r===Ks?Qs(e.query):e.query||{}},i,{redirectedFrom:void 0,href:m})}function h(e){return"string"==typeof e?Ho(n,e,a.value.path):Do({},e)}function m(e,t){if(c!==e)return vs(8,{from:t,to:e})}function v(e){return b(e)}function g(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"==typeof n?n(e):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=h(r):{path:r},r.params={}),Do({query:e.query,hash:e.hash,params:e.params},r)}}function b(e,t){const n=c=p(e),o=a.value,s=e.state,l=e.force,i=!0===e.replace,u=g(n);if(u)return b(Do(h(u),{state:s,force:l,replace:i}),t||n);const f=n;let d;return f.redirectedFrom=t,!l&&function(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Go(t.matched[r],n.matched[o])&&Yo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(d=vs(16,{to:f,from:o}),R(o,o,!0,!1)),(d?Promise.resolve(d):w(f,o)).catch((e=>gs(e)?e:P(e,f,o))).then((e=>{if(e){if(gs(e,2))return b(Do(h(e.to),{state:s,force:l,replace:i}),t||f)}else e=x(f,o,!0,i,s);return _(f,o,e),e}))}function y(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function w(e,t){let n;const[r,o,i]=function(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l<s;l++){const s=t.matched[l];s&&(e.matched.find((e=>Go(e,s)))?r.push(s):n.push(s));const i=e.matched[l];i&&(t.matched.find((e=>Go(e,i)))||o.push(i))}return[n,r,o]}(e,t);n=Zs(r.reverse(),"beforeRouteLeave",e,t);for(const o of r)o.leaveGuards.forEach((r=>{n.push(Js(r,e,t))}));const a=y.bind(null,e,t);return n.push(a),ll(n).then((()=>{n=[];for(const r of s.list())n.push(Js(r,e,t));return n.push(a),ll(n)})).then((()=>{n=Zs(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(Js(r,e,t))}));return n.push(a),ll(n)})).then((()=>{n=[];for(const r of e.matched)if(r.beforeEnter&&!t.matched.includes(r))if(Array.isArray(r.beforeEnter))for(const o of r.beforeEnter)n.push(Js(o,e,t));else n.push(Js(r.beforeEnter,e,t));return n.push(a),ll(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Zs(i,"beforeRouteEnter",e,t),n.push(a),ll(n)))).then((()=>{n=[];for(const r of l.list())n.push(Js(r,e,t));return n.push(a),ll(n)})).catch((e=>gs(e,8)?e:Promise.reject(e)))}function _(e,t,n){for(const r of i.list())r(e,t,n)}function x(e,t,n,r,s){const l=m(e,t);if(l)return l;const i=t===ds,c=Lo?history.state:{};n&&(r||i?o.replace(e.fullPath,Do({scroll:i&&c&&c.scroll},s)):o.push(e.fullPath,s)),a.value=e,R(e,t,n,i),O()}let A;function S(){A=o.listen(((e,t,n)=>{const r=p(e),s=g(r);if(s)return void b(Do(s,{replace:!0}),r).catch(Wo);c=r;const l=a.value;var i,u;Lo&&(i=ls(l.fullPath,n.delta),u=os(),is.set(i,u)),w(r,l).catch((e=>gs(e,12)?e:gs(e,2)?(b(e.to,r).then((e=>{gs(e,20)&&!n.delta&&n.type===Xo.pop&&o.go(-1,!1)})).catch(Wo),Promise.reject()):(n.delta&&o.go(-n.delta,!1),P(e,r,l)))).then((e=>{(e=e||x(r,l,!1))&&(n.delta?o.go(-n.delta,!1):n.type===Xo.pop&&gs(e,20)&&o.go(-1,!1)),_(r,l,e)})).catch(Wo)}))}let C,E=Xs(),k=Xs();function P(e,t,n){O(e);const r=k.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function O(e){C||(C=!0,S(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset())}function R(t,n,r,o){const{scrollBehavior:s}=e;if(!Lo||!s)return Promise.resolve();const l=!r&&function(e){const t=is.get(e);return is.delete(e),t}(ls(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null;return Ur().then((()=>s(t,n,l))).then((e=>e&&ss(e))).catch((e=>P(e,t,n)))}const T=e=>o.go(e);let $;const F=new Set;return{currentRoute:a,addRoute:function(e,n){let r,o;return fs(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:v,replace:function(e){return v(Do(h(e),{replace:!0}))},go:T,back:()=>T(-1),forward:()=>T(1),beforeEach:s.add,beforeResolve:l.add,afterEach:i.add,onError:k.add,isReady:function(){return C&&a.value!==ds?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",tl),e.component("RouterView",sl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(a)}),Lo&&!$&&a.value===ds&&($=!0,v(o.location).catch((e=>{})));const t={};for(const e in ds)t[e]=yt((()=>a.value[e]));e.provide(Bo,this),e.provide(No,tt(t)),e.provide(Io,a);const n=e.unmount;F.add(e),e.unmount=function(){F.delete(e),F.size<1&&(c=ds,A&&A(),a.value=ds,$=!1,C=!1),n()}}}}({history:function(e){const t=us(e=ts(e)),n=function(e,t,n,r){let o=[],s=[],l=null;const i=({state:s})=>{const i=as(e,location),a=n.value,c=t.value;let u=0;if(s){if(n.value=i,t.value=s,l&&l===a)return void(l=null);u=c?s.position-c.position:0}else r(i);o.forEach((e=>{e(n.value,a,{delta:u,type:Xo.pop,direction:u?u>0?Zo.forward:Zo.back:Zo.unknown})}))};function a(){const{history:e}=window;e.state&&e.replaceState(Do({},e.state,{scroll:os()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",a),{pauseListeners:function(){l=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return s.push(t),t},destroy:function(){for(const e of s)e();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",a)}}}(e,t.state,t.location,t.replace),r=Do({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:rs.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}({}.BASE_URL),routes:Ql});window.alertNoWallet=()=>{alert("No wallet installed! Please install MetaMask or other web3 wallet to use this App.")},window.SEP20ABI=["function name() view returns (string)","function symbol() view returns (string)","function decimals() view returns (uint8)","function totalSupply() external view returns (uint256)","function balanceOf(address account) external view returns (uint256)","function transfer(address recipient, uint256 amount) external returns (bool)","function allowance(address owner, address spender) external view returns (uint256)","function approve(address spender, uint256 amount) external returns (bool)","function transferFrom(address sender, address recipient, uint256 amount) external returns (bool)","event Transfer(address indexed from, address indexed to, uint256 value)","event Approval(address indexed owner, address indexed spender, uint256 value)"],window.SEND2MULTIABI=["function sendWithSameValue(address coinType, uint amount, address[] calldata receiverList)","function sendWithDifferentValues(address coinType, uint[] calldata receiverAndAmountList)"],window.SEND2MULTIADDR="0xE221d4200F909e04c13AAb84fe3B7917f8D06cEE",void 0===window.ethereum?void 0!==window.web3?window.ethereum=window.web3:void 0!==window.TPJSBrigeClient?window.ethereum=window.TPJSBrigeClient:alertNoWallet():ethereum.request({method:"eth_requestAccounts"}),((...e)=>{const t=(Ao||(Ao=On(xo))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(C(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;S(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t})($o).use(Xl).mount("#app");