Files
SEONexus/code/public/template/shikong/novel/index-C1MRCt-n.js
2025-04-21 17:49:17 +08:00

49 lines
259 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const c of o.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function r(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(s){if(s.ep)return;s.ep=!0;const o=r(s);fetch(s.href,o)}})();/**
* @vue/shared v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ks(t,e){const r=new Set(t.split(","));return e?n=>r.has(n.toLowerCase()):n=>r.has(n)}const Mt={},br=[],ve=()=>{},el=()=>!1,Vn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ns=t=>t.startsWith("onUpdate:"),Xt=Object.assign,Hs=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},rl=Object.prototype.hasOwnProperty,Ft=(t,e)=>rl.call(t,e),xt=Array.isArray,Br=t=>zn(t)==="[object Map]",fa=t=>zn(t)==="[object Set]",Et=t=>typeof t=="function",Kt=t=>typeof t=="string",Or=t=>typeof t=="symbol",Vt=t=>t!==null&&typeof t=="object",ha=t=>(Vt(t)||Et(t))&&Et(t.then)&&Et(t.catch),da=Object.prototype.toString,zn=t=>da.call(t),nl=t=>zn(t).slice(8,-1),xa=t=>zn(t)==="[object Object]",Ls=t=>Kt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,jr=ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},sl=/-(\w)/g,Fr=qn(t=>t.replace(sl,(e,r)=>r?r.toUpperCase():"")),il=/\B([A-Z])/g,Pr=qn(t=>t.replace(il,"-$1").toLowerCase()),pa=qn(t=>t.charAt(0).toUpperCase()+t.slice(1)),d0=qn(t=>t?`on${pa(t)}`:""),Ze=(t,e)=>!Object.is(t,e),x0=(t,e)=>{for(let r=0;r<t.length;r++)t[r](e)},On=(t,e,r)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:r})},ol=t=>{const e=parseFloat(t);return isNaN(e)?t:e},al=t=>{const e=Kt(t)?Number(t):NaN;return isNaN(e)?t:e};let pi;const va=()=>pi||(pi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jn(t){if(xt(t)){const e={};for(let r=0;r<t.length;r++){const n=t[r],s=Kt(n)?fl(n):jn(n);if(s)for(const o in s)e[o]=s[o]}return e}else if(Kt(t)||Vt(t))return t}const cl=/;(?![^(]*\))/g,ll=/:([^]+)/,ul=/\/\*[^]*?\*\//g;function fl(t){const e={};return t.replace(ul,"").split(cl).forEach(r=>{if(r){const n=r.split(ll);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ye(t){let e="";if(Kt(t))e=t;else if(xt(t))for(let r=0;r<t.length;r++){const n=Ye(t[r]);n&&(e+=n+" ")}else if(Vt(t))for(const r in t)t[r]&&(e+=r+" ");return e.trim()}const hl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dl=ks(hl);function ga(t){return!!t||t===""}const Cr=t=>Kt(t)?t:t==null?"":xt(t)||Vt(t)&&(t.toString===da||!Et(t.toString))?JSON.stringify(t,ma,2):String(t),ma=(t,e)=>e&&e.__v_isRef?ma(t,e.value):Br(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,s],o)=>(r[p0(n,o)+" =>"]=s,r),{})}:fa(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>p0(r))}:Or(e)?p0(e):Vt(e)&&!xt(e)&&!xa(e)?String(e):e,p0=(t,e="")=>{var r;return Or(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/**
* @vue/reactivity v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let be;class xl{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!e&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=be;try{return be=this,e()}finally{be=r}}}on(){be=this}off(){be=this.parent}stop(e){if(this._active){let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.scopes)for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){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 pl(t,e=be){e&&e.active&&e.effects.push(t)}function vl(){return be}let hr;class Ms{constructor(e,r,n,s){this.fn=e,this.trigger=r,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,pl(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pr();for(let e=0;e<this._depsLength;e++){const r=this.deps[e];if(r.computed&&(gl(r.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vr()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ge,r=hr;try{return Ge=!0,hr=this,this._runnings++,vi(this),this.fn()}finally{gi(this),this._runnings--,hr=r,Ge=e}}stop(){var e;this.active&&(vi(this),gi(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function gl(t){return t.value}function vi(t){t._trackId++,t._depsLength=0}function gi(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)ya(t.deps[e],t);t.deps.length=t._depsLength}}function ya(t,e){const r=t.get(e);r!==void 0&&e._trackId!==r&&(t.delete(e),t.size===0&&t.cleanup())}let Ge=!0,hs=0;const Ea=[];function pr(){Ea.push(Ge),Ge=!1}function vr(){const t=Ea.pop();Ge=t===void 0?!0:t}function Vs(){hs++}function zs(){for(hs--;!hs&&ds.length;)ds.shift()()}function ba(t,e,r){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const n=t.deps[t._depsLength];n!==e?(n&&ya(n,t),t.deps[t._depsLength++]=e):t._depsLength++}}const ds=[];function Ba(t,e,r){Vs();for(const n of t.keys()){let s;n._dirtyLevel<e&&(s??(s=t.get(n)===n._trackId))&&(n._shouldSchedule||(n._shouldSchedule=n._dirtyLevel===0),n._dirtyLevel=e),n._shouldSchedule&&(s??(s=t.get(n)===n._trackId))&&(n.trigger(),(!n._runnings||n.allowRecurse)&&n._dirtyLevel!==2&&(n._shouldSchedule=!1,n.scheduler&&ds.push(n.scheduler)))}zs()}const Ca=(t,e)=>{const r=new Map;return r.cleanup=t,r.computed=e,r},Pn=new WeakMap,dr=Symbol(""),xs=Symbol("");function fe(t,e,r){if(Ge&&hr){let n=Pn.get(t);n||Pn.set(t,n=new Map);let s=n.get(r);s||n.set(r,s=Ca(()=>n.delete(r))),ba(hr,s)}}function Pe(t,e,r,n,s,o){const c=Pn.get(t);if(!c)return;let l=[];if(e==="clear")l=[...c.values()];else if(r==="length"&&xt(t)){const d=Number(n);c.forEach((u,h)=>{(h==="length"||!Or(h)&&h>=d)&&l.push(u)})}else switch(r!==void 0&&l.push(c.get(r)),e){case"add":xt(t)?Ls(r)&&l.push(c.get("length")):(l.push(c.get(dr)),Br(t)&&l.push(c.get(xs)));break;case"delete":xt(t)||(l.push(c.get(dr)),Br(t)&&l.push(c.get(xs)));break;case"set":Br(t)&&l.push(c.get(dr));break}Vs();for(const d of l)d&&Ba(d,4);zs()}function ml(t,e){var r;return(r=Pn.get(t))==null?void 0:r.get(e)}const yl=ks("__proto__,__v_isRef,__isVue"),Aa=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Or)),mi=El();function El(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const n=St(this);for(let o=0,c=this.length;o<c;o++)fe(n,"get",o+"");const s=n[e](...r);return s===-1||s===!1?n[e](...r.map(St)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...r){pr(),Vs();const n=St(this)[e].apply(this,r);return zs(),vr(),n}}),t}function bl(t){const e=St(this);return fe(e,"has",t),e.hasOwnProperty(t)}class _a{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,n){const s=this._isReadonly,o=this._isShallow;if(r==="__v_isReactive")return!s;if(r==="__v_isReadonly")return s;if(r==="__v_isShallow")return o;if(r==="__v_raw")return n===(s?o?Il:Sa:o?Fa:wa).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=xt(e);if(!s){if(c&&Ft(mi,r))return Reflect.get(mi,r,n);if(r==="hasOwnProperty")return bl}const l=Reflect.get(e,r,n);return(Or(r)?Aa.has(r):yl(r))||(s||fe(e,"get",r),o)?l:Lt(l)?c&&Ls(r)?l:l.value:Vt(l)?s?Ta(l):sn(l):l}}class Da extends _a{constructor(e=!1){super(!1,e)}set(e,r,n,s){let o=e[r];if(!this._isShallow){const d=Sr(o);if(!In(n)&&!Sr(n)&&(o=St(o),n=St(n)),!xt(e)&&Lt(o)&&!Lt(n))return d?!1:(o.value=n,!0)}const c=xt(e)&&Ls(r)?Number(r)<e.length:Ft(e,r),l=Reflect.set(e,r,n,s);return e===St(s)&&(c?Ze(n,o)&&Pe(e,"set",r,n):Pe(e,"add",r,n)),l}deleteProperty(e,r){const n=Ft(e,r);e[r];const s=Reflect.deleteProperty(e,r);return s&&n&&Pe(e,"delete",r,void 0),s}has(e,r){const n=Reflect.has(e,r);return(!Or(r)||!Aa.has(r))&&fe(e,"has",r),n}ownKeys(e){return fe(e,"iterate",xt(e)?"length":dr),Reflect.ownKeys(e)}}class Bl extends _a{constructor(e=!1){super(!0,e)}set(e,r){return!0}deleteProperty(e,r){return!0}}const Cl=new Da,Al=new Bl,_l=new Da(!0),qs=t=>t,Un=t=>Reflect.getPrototypeOf(t);function dn(t,e,r=!1,n=!1){t=t.__v_raw;const s=St(t),o=St(e);r||(Ze(e,o)&&fe(s,"get",e),fe(s,"get",o));const{has:c}=Un(s),l=n?qs:r?$s:Yr;if(c.call(s,e))return l(t.get(e));if(c.call(s,o))return l(t.get(o));t!==s&&t.get(e)}function xn(t,e=!1){const r=this.__v_raw,n=St(r),s=St(t);return e||(Ze(t,s)&&fe(n,"has",t),fe(n,"has",s)),t===s?r.has(t):r.has(t)||r.has(s)}function pn(t,e=!1){return t=t.__v_raw,!e&&fe(St(t),"iterate",dr),Reflect.get(t,"size",t)}function yi(t){t=St(t);const e=St(this);return Un(e).has.call(e,t)||(e.add(t),Pe(e,"add",t,t)),this}function Ei(t,e){e=St(e);const r=St(this),{has:n,get:s}=Un(r);let o=n.call(r,t);o||(t=St(t),o=n.call(r,t));const c=s.call(r,t);return r.set(t,e),o?Ze(e,c)&&Pe(r,"set",t,e):Pe(r,"add",t,e),this}function bi(t){const e=St(this),{has:r,get:n}=Un(e);let s=r.call(e,t);s||(t=St(t),s=r.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return s&&Pe(e,"delete",t,void 0),o}function Bi(){const t=St(this),e=t.size!==0,r=t.clear();return e&&Pe(t,"clear",void 0,void 0),r}function vn(t,e){return function(n,s){const o=this,c=o.__v_raw,l=St(c),d=e?qs:t?$s:Yr;return!t&&fe(l,"iterate",dr),c.forEach((u,h)=>n.call(s,d(u),d(h),o))}}function gn(t,e,r){return function(...n){const s=this.__v_raw,o=St(s),c=Br(o),l=t==="entries"||t===Symbol.iterator&&c,d=t==="keys"&&c,u=s[t](...n),h=r?qs:e?$s:Yr;return!e&&fe(o,"iterate",d?xs:dr),{next(){const{value:g,done:v}=u.next();return v?{value:g,done:v}:{value:l?[h(g[0]),h(g[1])]:h(g),done:v}},[Symbol.iterator](){return this}}}}function Le(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Dl(){const t={get(o){return dn(this,o)},get size(){return pn(this)},has:xn,add:yi,set:Ei,delete:bi,clear:Bi,forEach:vn(!1,!1)},e={get(o){return dn(this,o,!1,!0)},get size(){return pn(this)},has:xn,add:yi,set:Ei,delete:bi,clear:Bi,forEach:vn(!1,!0)},r={get(o){return dn(this,o,!0)},get size(){return pn(this,!0)},has(o){return xn.call(this,o,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:vn(!0,!1)},n={get(o){return dn(this,o,!0,!0)},get size(){return pn(this,!0)},has(o){return xn.call(this,o,!0)},add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear"),forEach:vn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=gn(o,!1,!1),r[o]=gn(o,!0,!1),e[o]=gn(o,!1,!0),n[o]=gn(o,!0,!0)}),[t,r,e,n]}const[wl,Fl,Sl,Tl]=Dl();function js(t,e){const r=e?t?Tl:Sl:t?Fl:wl;return(n,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?n:Reflect.get(Ft(r,s)&&s in n?r:n,s,o)}const Rl={get:js(!1,!1)},Ol={get:js(!1,!0)},Pl={get:js(!0,!1)},wa=new WeakMap,Fa=new WeakMap,Sa=new WeakMap,Il=new WeakMap;function kl(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Nl(t){return t.__v_skip||!Object.isExtensible(t)?0:kl(nl(t))}function sn(t){return Sr(t)?t:Us(t,!1,Cl,Rl,wa)}function Hl(t){return Us(t,!1,_l,Ol,Fa)}function Ta(t){return Us(t,!0,Al,Pl,Sa)}function Us(t,e,r,n,s){if(!Vt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const c=Nl(t);if(c===0)return t;const l=new Proxy(t,c===2?n:r);return s.set(t,l),l}function Ar(t){return Sr(t)?Ar(t.__v_raw):!!(t&&t.__v_isReactive)}function Sr(t){return!!(t&&t.__v_isReadonly)}function In(t){return!!(t&&t.__v_isShallow)}function Ra(t){return Ar(t)||Sr(t)}function St(t){const e=t&&t.__v_raw;return e?St(e):t}function Oa(t){return Object.isExtensible(t)&&On(t,"__v_skip",!0),t}const Yr=t=>Vt(t)?sn(t):t,$s=t=>Vt(t)?Ta(t):t;class Pa{constructor(e,r,n,s){this.getter=e,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ms(()=>e(this._value),()=>An(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=St(this);return(!e._cacheable||e.effect.dirty)&&Ze(e._value,e._value=e.effect.run())&&An(e,4),Ia(e),e.effect._dirtyLevel>=2&&An(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Ll(t,e,r=!1){let n,s;const o=Et(t);return o?(n=t,s=ve):(n=t.get,s=t.set),new Pa(n,s,o||!s,r)}function Ia(t){var e;Ge&&hr&&(t=St(t),ba(hr,(e=t.dep)!=null?e:t.dep=Ca(()=>t.dep=void 0,t instanceof Pa?t:void 0)))}function An(t,e=4,r){t=St(t);const n=t.dep;n&&Ba(n,e)}function Lt(t){return!!(t&&t.__v_isRef===!0)}function Bt(t){return Ml(t,!1)}function Ml(t,e){return Lt(t)?t:new Vl(t,e)}class Vl{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:St(e),this._value=r?e:Yr(e)}get value(){return Ia(this),this._value}set value(e){const r=this.__v_isShallow||In(e)||Sr(e);e=r?e:St(e),Ze(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:Yr(e),An(this,4))}}function bt(t){return Lt(t)?t.value:t}const zl={get:(t,e,r)=>bt(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const s=t[e];return Lt(s)&&!Lt(r)?(s.value=r,!0):Reflect.set(t,e,r,n)}};function ka(t){return Ar(t)?t:new Proxy(t,zl)}function ql(t){const e=xt(t)?new Array(t.length):{};for(const r in t)e[r]=Ul(t,r);return e}class jl{constructor(e,r,n){this._object=e,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return ml(St(this._object),this._key)}}function Ul(t,e,r){const n=t[e];return Lt(n)?n:new jl(t,e,r)}/**
* @vue/runtime-core v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Xe(t,e,r,n){try{return n?t(...n):t()}catch(s){$n(s,e,r)}}function ge(t,e,r,n){if(Et(t)){const o=Xe(t,e,r,n);return o&&ha(o)&&o.catch(c=>{$n(c,e,r)}),o}const s=[];for(let o=0;o<t.length;o++)s.push(ge(t[o],e,r,n));return s}function $n(t,e,r,n=!0){const s=e?e.vnode:null;if(e){let o=e.parent;const c=e.proxy,l=`https://vuejs.org/error-reference/#runtime-${r}`;for(;o;){const u=o.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](t,c,l)===!1)return}o=o.parent}const d=e.appContext.config.errorHandler;if(d){Xe(d,null,10,[t,c,l]);return}}}let Qr=!1,ps=!1;const ee=[];let De=0;const _r=[];let qe=null,lr=0;const Na=Promise.resolve();let Ks=null;function Kn(t){const e=Ks||Na;return t?e.then(this?t.bind(this):t):e}function $l(t){let e=De+1,r=ee.length;for(;e<r;){const n=e+r>>>1,s=ee[n],o=Jr(s);o<t||o===t&&s.pre?e=n+1:r=n}return e}function Ws(t){(!ee.length||!ee.includes(t,Qr&&t.allowRecurse?De+1:De))&&(t.id==null?ee.push(t):ee.splice($l(t.id),0,t),Ha())}function Ha(){!Qr&&!ps&&(ps=!0,Ks=Na.then(Ma))}function Kl(t){const e=ee.indexOf(t);e>De&&ee.splice(e,1)}function Wl(t){xt(t)?_r.push(...t):(!qe||!qe.includes(t,t.allowRecurse?lr+1:lr))&&_r.push(t),Ha()}function Ci(t,e,r=Qr?De+1:0){for(;r<ee.length;r++){const n=ee[r];if(n&&n.pre){if(t&&n.id!==t.uid)continue;ee.splice(r,1),r--,n()}}}function La(t){if(_r.length){const e=[...new Set(_r)].sort((r,n)=>Jr(r)-Jr(n));if(_r.length=0,qe){qe.push(...e);return}for(qe=e,lr=0;lr<qe.length;lr++)qe[lr]();qe=null,lr=0}}const Jr=t=>t.id==null?1/0:t.id,Gl=(t,e)=>{const r=Jr(t)-Jr(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function Ma(t){ps=!1,Qr=!0,ee.sort(Gl);try{for(De=0;De<ee.length;De++){const e=ee[De];e&&e.active!==!1&&Xe(e,null,14)}}finally{De=0,ee.length=0,La(),Qr=!1,Ks=null,(ee.length||_r.length)&&Ma()}}function Xl(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||Mt;let s=r;const o=e.startsWith("update:"),c=o&&e.slice(7);if(c&&c in n){const h=`${c==="modelValue"?"model":c}Modifiers`,{number:g,trim:v}=n[h]||Mt;v&&(s=r.map(y=>Kt(y)?y.trim():y)),g&&(s=r.map(ol))}let l,d=n[l=d0(e)]||n[l=d0(Fr(e))];!d&&o&&(d=n[l=d0(Pr(e))]),d&&ge(d,t,6,s);const u=n[l+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,ge(u,t,6,s)}}function Va(t,e,r=!1){const n=e.emitsCache,s=n.get(t);if(s!==void 0)return s;const o=t.emits;let c={},l=!1;if(!Et(t)){const d=u=>{const h=Va(u,e,!0);h&&(l=!0,Xt(c,h))};!r&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}return!o&&!l?(Vt(t)&&n.set(t,null),null):(xt(o)?o.forEach(d=>c[d]=null):Xt(c,o),Vt(t)&&n.set(t,c),c)}function Wn(t,e){return!t||!Vn(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ft(t,e[0].toLowerCase()+e.slice(1))||Ft(t,Pr(e))||Ft(t,e))}let ue=null,Gn=null;function kn(t){const e=ue;return ue=t,Gn=t&&t.type.__scopeId||null,e}function Xn(t){Gn=t}function Zn(){Gn=null}function Gs(t,e=ue,r){if(!e||t._n)return t;const n=(...s)=>{n._d&&Ni(-1);const o=kn(e);let c;try{c=t(...s)}finally{kn(o),n._d&&Ni(1)}return c};return n._n=!0,n._c=!0,n._d=!0,n}function v0(t){const{type:e,vnode:r,proxy:n,withProxy:s,props:o,propsOptions:[c],slots:l,attrs:d,emit:u,render:h,renderCache:g,data:v,setupState:y,ctx:m,inheritAttrs:E}=t;let B,R;const A=kn(t);try{if(r.shapeFlag&4){const C=s||n,T=C;B=_e(h.call(T,C,g,o,y,v,m)),R=d}else{const C=e;B=_e(C.length>1?C(o,{attrs:d,slots:l,emit:u}):C(o,null)),R=e.props?d:Zl(d)}}catch(C){Gr.length=0,$n(C,t,1),B=ut(Ce)}let b=B;if(R&&E!==!1){const C=Object.keys(R),{shapeFlag:T}=b;C.length&&T&7&&(c&&C.some(Ns)&&(R=Yl(R,c)),b=Qe(b,R))}return r.dirs&&(b=Qe(b),b.dirs=b.dirs?b.dirs.concat(r.dirs):r.dirs),r.transition&&(b.transition=r.transition),B=b,kn(A),B}const Zl=t=>{let e;for(const r in t)(r==="class"||r==="style"||Vn(r))&&((e||(e={}))[r]=t[r]);return e},Yl=(t,e)=>{const r={};for(const n in t)(!Ns(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function Ql(t,e,r){const{props:n,children:s,component:o}=t,{props:c,children:l,patchFlag:d}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return n?Ai(n,c,u):!!c;if(d&8){const h=e.dynamicProps;for(let g=0;g<h.length;g++){const v=h[g];if(c[v]!==n[v]&&!Wn(u,v))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:n===c?!1:n?c?Ai(n,c,u):!0:!!c;return!1}function Ai(t,e,r){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let s=0;s<n.length;s++){const o=n[s];if(e[o]!==t[o]&&!Wn(r,o))return!0}return!1}function Jl({vnode:t,parent:e},r){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=r,e=e.parent;else break}}const tu=Symbol.for("v-ndc"),eu=t=>t.__isSuspense;function ru(t,e){e&&e.pendingBranch?xt(t)?e.effects.push(...t):e.effects.push(t):Wl(t)}const nu=Symbol.for("v-scx"),su=()=>Dr(nu),mn={};function Qt(t,e,r){return za(t,e,r)}function za(t,e,{immediate:r,deep:n,flush:s,once:o,onTrack:c,onTrigger:l}=Mt){if(e&&o){const w=e;e=(...N)=>{w(...N),T()}}const d=re,u=w=>n===!0?w:fr(w,n===!1?1:void 0);let h,g=!1,v=!1;if(Lt(t)?(h=()=>t.value,g=In(t)):Ar(t)?(h=()=>u(t),g=!0):xt(t)?(v=!0,g=t.some(w=>Ar(w)||In(w)),h=()=>t.map(w=>{if(Lt(w))return w.value;if(Ar(w))return u(w);if(Et(w))return Xe(w,d,2)})):Et(t)?e?h=()=>Xe(t,d,2):h=()=>(y&&y(),ge(t,d,3,[m])):h=ve,e&&n){const w=h;h=()=>fr(w())}let y,m=w=>{y=b.onStop=()=>{Xe(w,d,4),y=b.onStop=void 0}},E;if(n0)if(m=ve,e?r&&ge(e,d,3,[h(),v?[]:void 0,m]):h(),s==="sync"){const w=su();E=w.__watcherHandles||(w.__watcherHandles=[])}else return ve;let B=v?new Array(t.length).fill(mn):mn;const R=()=>{if(!(!b.active||!b.dirty))if(e){const w=b.run();(n||g||(v?w.some((N,F)=>Ze(N,B[F])):Ze(w,B)))&&(y&&y(),ge(e,d,3,[w,B===mn?void 0:v&&B[0]===mn?[]:B,m]),B=w)}else b.run()};R.allowRecurse=!!e;let A;s==="sync"?A=R:s==="post"?A=()=>le(R,d&&d.suspense):(R.pre=!0,d&&(R.id=d.uid),A=()=>Ws(R));const b=new Ms(h,ve,A),C=vl(),T=()=>{b.stop(),C&&Hs(C.effects,b)};return e?r?R():B=b.run():s==="post"?le(b.run.bind(b),d&&d.suspense):b.run(),E&&E.push(T),T}function iu(t,e,r){const n=this.proxy,s=Kt(t)?t.includes(".")?qa(n,t):()=>n[t]:t.bind(n,n);let o;Et(e)?o=e:(o=e.handler,r=e);const c=an(this),l=za(s,o.bind(n),r);return c(),l}function qa(t,e){const r=e.split(".");return()=>{let n=t;for(let s=0;s<r.length&&n;s++)n=n[r[s]];return n}}function fr(t,e,r=0,n){if(!Vt(t)||t.__v_skip)return t;if(e&&e>0){if(r>=e)return t;r++}if(n=n||new Set,n.has(t))return t;if(n.add(t),Lt(t))fr(t.value,e,r,n);else if(xt(t))for(let s=0;s<t.length;s++)fr(t[s],e,r,n);else if(fa(t)||Br(t))t.forEach(s=>{fr(s,e,r,n)});else if(xa(t))for(const s in t)fr(t[s],e,r,n);return t}function Ur(t,e){if(ue===null)return t;const r=s0(ue)||ue.proxy,n=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[o,c,l,d=Mt]=e[s];o&&(Et(o)&&(o={mounted:o,updated:o}),o.deep&&fr(c),n.push({dir:o,instance:r,value:c,oldValue:void 0,arg:l,modifiers:d}))}return t}function ir(t,e,r,n){const s=t.dirs,o=e&&e.dirs;for(let c=0;c<s.length;c++){const l=s[c];o&&(l.oldValue=o[c].value);let d=l.dir[n];d&&(pr(),ge(d,r,8,[t.el,l,t,e]),vr())}}const je=Symbol("_leaveCb"),yn=Symbol("_enterCb");function ou(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return tr(()=>{t.isMounted=!0}),Zs(()=>{t.isUnmounting=!0}),t}const xe=[Function,Array],ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},au={name:"BaseTransition",props:ja,setup(t,{slots:e}){const r=r0(),n=ou();return()=>{const s=e.default&&$a(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const v of s)if(v.type!==Ce){o=v;break}}const c=St(t),{mode:l}=c;if(n.isLeaving)return g0(o);const d=_i(o);if(!d)return g0(o);const u=vs(d,c,n,r);gs(d,u);const h=r.subTree,g=h&&_i(h);if(g&&g.type!==Ce&&!ur(d,g)){const v=vs(g,c,n,r);if(gs(g,v),l==="out-in")return n.isLeaving=!0,v.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},g0(o);l==="in-out"&&d.type!==Ce&&(v.delayLeave=(y,m,E)=>{const B=Ua(n,g);B[String(g.key)]=g,y[je]=()=>{m(),y[je]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return o}}},cu=au;function Ua(t,e){const{leavingVNodes:r}=t;let n=r.get(e.type);return n||(n=Object.create(null),r.set(e.type,n)),n}function vs(t,e,r,n){const{appear:s,mode:o,persisted:c=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:g,onLeave:v,onAfterLeave:y,onLeaveCancelled:m,onBeforeAppear:E,onAppear:B,onAfterAppear:R,onAppearCancelled:A}=e,b=String(t.key),C=Ua(r,t),T=(F,M)=>{F&&ge(F,n,9,M)},w=(F,M)=>{const O=M[1];T(F,M),xt(F)?F.every(D=>D.length<=1)&&O():F.length<=1&&O()},N={mode:o,persisted:c,beforeEnter(F){let M=l;if(!r.isMounted)if(s)M=E||l;else return;F[je]&&F[je](!0);const O=C[b];O&&ur(t,O)&&O.el[je]&&O.el[je](),T(M,[F])},enter(F){let M=d,O=u,D=h;if(!r.isMounted)if(s)M=B||d,O=R||u,D=A||h;else return;let I=!1;const V=F[yn]=et=>{I||(I=!0,et?T(D,[F]):T(O,[F]),N.delayedLeave&&N.delayedLeave(),F[yn]=void 0)};M?w(M,[F,V]):V()},leave(F,M){const O=String(t.key);if(F[yn]&&F[yn](!0),r.isUnmounting)return M();T(g,[F]);let D=!1;const I=F[je]=V=>{D||(D=!0,M(),V?T(m,[F]):T(y,[F]),F[je]=void 0,C[O]===t&&delete C[O])};C[O]=t,v?w(v,[F,I]):I()},clone(F){return vs(F,e,r,n)}};return N}function g0(t){if(Yn(t))return t=Qe(t),t.children=null,t}function _i(t){return Yn(t)?t.children?t.children[0]:void 0:t}function gs(t,e){t.shapeFlag&6&&t.component?gs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function $a(t,e=!1,r){let n=[],s=0;for(let o=0;o<t.length;o++){let c=t[o];const l=r==null?c.key:String(r)+String(c.key!=null?c.key:o);c.type===he?(c.patchFlag&128&&s++,n=n.concat($a(c.children,e,l))):(e||c.type!==Ce)&&n.push(l!=null?Qe(c,{key:l}):c)}if(s>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function ke(t,e){return Et(t)?Xt({name:t.name},e,{setup:t}):t}const _n=t=>!!t.type.__asyncLoader,Yn=t=>t.type.__isKeepAlive;function Xs(t,e){Ka(t,"a",e)}function Qn(t,e){Ka(t,"da",e)}function Ka(t,e,r=re){const n=t.__wdc||(t.__wdc=()=>{let s=r;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(Jn(e,n,r),r){let s=r.parent;for(;s&&s.parent;)Yn(s.parent.vnode)&&lu(n,e,r,s),s=s.parent}}function lu(t,e,r,n){const s=Jn(e,t,n,!0);on(()=>{Hs(n[e],s)},r)}function Jn(t,e,r=re,n=!1){if(r){const s=r[t]||(r[t]=[]),o=e.__weh||(e.__weh=(...c)=>{if(r.isUnmounted)return;pr();const l=an(r),d=ge(e,r,t,c);return l(),vr(),d});return n?s.unshift(o):s.push(o),o}}const Ne=t=>(e,r=re)=>(!n0||t==="sp")&&Jn(t,(...n)=>e(...n),r),uu=Ne("bm"),tr=Ne("m"),fu=Ne("bu"),hu=Ne("u"),Zs=Ne("bum"),on=Ne("um"),du=Ne("sp"),xu=Ne("rtg"),pu=Ne("rtc");function vu(t,e=re){Jn("ec",t,e)}function gu(t,e,r,n){let s;const o=r&&r[n];if(xt(t)||Kt(t)){s=new Array(t.length);for(let c=0,l=t.length;c<l;c++)s[c]=e(t[c],c,void 0,o&&o[c])}else if(typeof t=="number"){s=new Array(t);for(let c=0;c<t;c++)s[c]=e(c+1,c,void 0,o&&o[c])}else if(Vt(t))if(t[Symbol.iterator])s=Array.from(t,(c,l)=>e(c,l,void 0,o&&o[l]));else{const c=Object.keys(t);s=new Array(c.length);for(let l=0,d=c.length;l<d;l++){const u=c[l];s[l]=e(t[u],u,l,o&&o[l])}}else s=[];return r&&(r[n]=s),s}const ms=t=>t?ic(t)?s0(t)||t.proxy:ms(t.parent):null,$r=Xt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ms(t.parent),$root:t=>ms(t.root),$emit:t=>t.emit,$options:t=>Ys(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Ws(t.update)}),$nextTick:t=>t.n||(t.n=Kn.bind(t.proxy)),$watch:t=>iu.bind(t)}),m0=(t,e)=>t!==Mt&&!t.__isScriptSetup&&Ft(t,e),mu={get({_:t},e){const{ctx:r,setupState:n,data:s,props:o,accessCache:c,type:l,appContext:d}=t;let u;if(e[0]!=="$"){const y=c[e];if(y!==void 0)switch(y){case 1:return n[e];case 2:return s[e];case 4:return r[e];case 3:return o[e]}else{if(m0(n,e))return c[e]=1,n[e];if(s!==Mt&&Ft(s,e))return c[e]=2,s[e];if((u=t.propsOptions[0])&&Ft(u,e))return c[e]=3,o[e];if(r!==Mt&&Ft(r,e))return c[e]=4,r[e];ys&&(c[e]=0)}}const h=$r[e];let g,v;if(h)return e==="$attrs"&&fe(t,"get",e),h(t);if((g=l.__cssModules)&&(g=g[e]))return g;if(r!==Mt&&Ft(r,e))return c[e]=4,r[e];if(v=d.config.globalProperties,Ft(v,e))return v[e]},set({_:t},e,r){const{data:n,setupState:s,ctx:o}=t;return m0(s,e)?(s[e]=r,!0):n!==Mt&&Ft(n,e)?(n[e]=r,!0):Ft(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:s,propsOptions:o}},c){let l;return!!r[c]||t!==Mt&&Ft(t,c)||m0(e,c)||(l=o[0])&&Ft(l,c)||Ft(n,c)||Ft($r,c)||Ft(s.config.globalProperties,c)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:Ft(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function Di(t){return xt(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let ys=!0;function yu(t){const e=Ys(t),r=t.proxy,n=t.ctx;ys=!1,e.beforeCreate&&wi(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:c,watch:l,provide:d,inject:u,created:h,beforeMount:g,mounted:v,beforeUpdate:y,updated:m,activated:E,deactivated:B,beforeDestroy:R,beforeUnmount:A,destroyed:b,unmounted:C,render:T,renderTracked:w,renderTriggered:N,errorCaptured:F,serverPrefetch:M,expose:O,inheritAttrs:D,components:I,directives:V,filters:et}=e;if(u&&Eu(u,n,null),c)for(const Y in c){const ct=c[Y];Et(ct)&&(n[Y]=ct.bind(r))}if(s){const Y=s.call(r,r);Vt(Y)&&(t.data=sn(Y))}if(ys=!0,o)for(const Y in o){const ct=o[Y],yt=Et(ct)?ct.bind(r,r):Et(ct.get)?ct.get.bind(r,r):ve,Ct=!Et(ct)&&Et(ct.set)?ct.set.bind(r):ve,U=ne({get:yt,set:Ct});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>U.value,set:z=>U.value=z})}if(l)for(const Y in l)Wa(l[Y],n,r,Y);if(d){const Y=Et(d)?d.call(r):d;Reflect.ownKeys(Y).forEach(ct=>{Xa(ct,Y[ct])})}h&&wi(h,t,"c");function at(Y,ct){xt(ct)?ct.forEach(yt=>Y(yt.bind(r))):ct&&Y(ct.bind(r))}if(at(uu,g),at(tr,v),at(fu,y),at(hu,m),at(Xs,E),at(Qn,B),at(vu,F),at(pu,w),at(xu,N),at(Zs,A),at(on,C),at(du,M),xt(O))if(O.length){const Y=t.exposed||(t.exposed={});O.forEach(ct=>{Object.defineProperty(Y,ct,{get:()=>r[ct],set:yt=>r[ct]=yt})})}else t.exposed||(t.exposed={});T&&t.render===ve&&(t.render=T),D!=null&&(t.inheritAttrs=D),I&&(t.components=I),V&&(t.directives=V)}function Eu(t,e,r=ve){xt(t)&&(t=Es(t));for(const n in t){const s=t[n];let o;Vt(s)?"default"in s?o=Dr(s.from||n,s.default,!0):o=Dr(s.from||n):o=Dr(s),Lt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[n]=o}}function wi(t,e,r){ge(xt(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function Wa(t,e,r,n){const s=n.includes(".")?qa(r,n):()=>r[n];if(Kt(t)){const o=e[t];Et(o)&&Qt(s,o)}else if(Et(t))Qt(s,t.bind(r));else if(Vt(t))if(xt(t))t.forEach(o=>Wa(o,e,r,n));else{const o=Et(t.handler)?t.handler.bind(r):e[t.handler];Et(o)&&Qt(s,o,t)}}function Ys(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:c}}=t.appContext,l=o.get(e);let d;return l?d=l:!s.length&&!r&&!n?d=e:(d={},s.length&&s.forEach(u=>Nn(d,u,c,!0)),Nn(d,e,c)),Vt(e)&&o.set(e,d),d}function Nn(t,e,r,n=!1){const{mixins:s,extends:o}=e;o&&Nn(t,o,r,!0),s&&s.forEach(c=>Nn(t,c,r,!0));for(const c in e)if(!(n&&c==="expose")){const l=bu[c]||r&&r[c];t[c]=l?l(t[c],e[c]):e[c]}return t}const bu={data:Fi,props:Si,emits:Si,methods:qr,computed:qr,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:qr,directives:qr,watch:Cu,provide:Fi,inject:Bu};function Fi(t,e){return e?t?function(){return Xt(Et(t)?t.call(this,this):t,Et(e)?e.call(this,this):e)}:e:t}function Bu(t,e){return qr(Es(t),Es(e))}function Es(t){if(xt(t)){const e={};for(let r=0;r<t.length;r++)e[t[r]]=t[r];return e}return t}function ie(t,e){return t?[...new Set([].concat(t,e))]:e}function qr(t,e){return t?Xt(Object.create(null),t,e):e}function Si(t,e){return t?xt(t)&&xt(e)?[...new Set([...t,...e])]:Xt(Object.create(null),Di(t),Di(e??{})):e}function Cu(t,e){if(!t)return e;if(!e)return t;const r=Xt(Object.create(null),t);for(const n in e)r[n]=ie(t[n],e[n]);return r}function Ga(){return{app:null,config:{isNativeTag:el,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 Au=0;function _u(t,e){return function(n,s=null){Et(n)||(n=Xt({},n)),s!=null&&!Vt(s)&&(s=null);const o=Ga(),c=new WeakSet;let l=!1;const d=o.app={_uid:Au++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:Yu,get config(){return o.config},set config(u){},use(u,...h){return c.has(u)||(u&&Et(u.install)?(c.add(u),u.install(d,...h)):Et(u)&&(c.add(u),u(d,...h))),d},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),d},component(u,h){return h?(o.components[u]=h,d):o.components[u]},directive(u,h){return h?(o.directives[u]=h,d):o.directives[u]},mount(u,h,g){if(!l){const v=ut(n,s);return v.appContext=o,g===!0?g="svg":g===!1&&(g=void 0),h&&e?e(v,u):t(v,u,g),l=!0,d._container=u,u.__vue_app__=d,s0(v.component)||v.component.proxy}},unmount(){l&&(t(null,d._container),delete d._container.__vue_app__)},provide(u,h){return o.provides[u]=h,d},runWithContext(u){const h=Kr;Kr=d;try{return u()}finally{Kr=h}}};return d}}let Kr=null;function Xa(t,e){if(re){let r=re.provides;const n=re.parent&&re.parent.provides;n===r&&(r=re.provides=Object.create(n)),r[t]=e}}function Dr(t,e,r=!1){const n=re||ue;if(n||Kr){const s=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Kr._context.provides;if(s&&t in s)return s[t];if(arguments.length>1)return r&&Et(e)?e.call(n&&n.proxy):e}}function Du(t,e,r,n=!1){const s={},o={};On(o,e0,1),t.propsDefaults=Object.create(null),Za(t,e,s,o);for(const c in t.propsOptions[0])c in s||(s[c]=void 0);r?t.props=n?s:Hl(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function wu(t,e,r,n){const{props:s,attrs:o,vnode:{patchFlag:c}}=t,l=St(s),[d]=t.propsOptions;let u=!1;if((n||c>0)&&!(c&16)){if(c&8){const h=t.vnode.dynamicProps;for(let g=0;g<h.length;g++){let v=h[g];if(Wn(t.emitsOptions,v))continue;const y=e[v];if(d)if(Ft(o,v))y!==o[v]&&(o[v]=y,u=!0);else{const m=Fr(v);s[m]=bs(d,l,m,y,t,!1)}else y!==o[v]&&(o[v]=y,u=!0)}}}else{Za(t,e,s,o)&&(u=!0);let h;for(const g in l)(!e||!Ft(e,g)&&((h=Pr(g))===g||!Ft(e,h)))&&(d?r&&(r[g]!==void 0||r[h]!==void 0)&&(s[g]=bs(d,l,g,void 0,t,!0)):delete s[g]);if(o!==l)for(const g in o)(!e||!Ft(e,g))&&(delete o[g],u=!0)}u&&Pe(t,"set","$attrs")}function Za(t,e,r,n){const[s,o]=t.propsOptions;let c=!1,l;if(e)for(let d in e){if(jr(d))continue;const u=e[d];let h;s&&Ft(s,h=Fr(d))?!o||!o.includes(h)?r[h]=u:(l||(l={}))[h]=u:Wn(t.emitsOptions,d)||(!(d in n)||u!==n[d])&&(n[d]=u,c=!0)}if(o){const d=St(r),u=l||Mt;for(let h=0;h<o.length;h++){const g=o[h];r[g]=bs(s,d,g,u[g],t,!Ft(u,g))}}return c}function bs(t,e,r,n,s,o){const c=t[r];if(c!=null){const l=Ft(c,"default");if(l&&n===void 0){const d=c.default;if(c.type!==Function&&!c.skipFactory&&Et(d)){const{propsDefaults:u}=s;if(r in u)n=u[r];else{const h=an(s);n=u[r]=d.call(null,e),h()}}else n=d}c[0]&&(o&&!l?n=!1:c[1]&&(n===""||n===Pr(r))&&(n=!0))}return n}function Ya(t,e,r=!1){const n=e.propsCache,s=n.get(t);if(s)return s;const o=t.props,c={},l=[];let d=!1;if(!Et(t)){const h=g=>{d=!0;const[v,y]=Ya(g,e,!0);Xt(c,v),y&&l.push(...y)};!r&&e.mixins.length&&e.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}if(!o&&!d)return Vt(t)&&n.set(t,br),br;if(xt(o))for(let h=0;h<o.length;h++){const g=Fr(o[h]);Ti(g)&&(c[g]=Mt)}else if(o)for(const h in o){const g=Fr(h);if(Ti(g)){const v=o[h],y=c[g]=xt(v)||Et(v)?{type:v}:Xt({},v);if(y){const m=Pi(Boolean,y.type),E=Pi(String,y.type);y[0]=m>-1,y[1]=E<0||m<E,(m>-1||Ft(y,"default"))&&l.push(g)}}}const u=[c,l];return Vt(t)&&n.set(t,u),u}function Ti(t){return t[0]!=="$"&&!jr(t)}function Ri(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function Oi(t,e){return Ri(t)===Ri(e)}function Pi(t,e){return xt(e)?e.findIndex(r=>Oi(r,t)):Et(e)&&Oi(e,t)?0:-1}const Qa=t=>t[0]==="_"||t==="$stable",Qs=t=>xt(t)?t.map(_e):[_e(t)],Fu=(t,e,r)=>{if(e._n)return e;const n=Gs((...s)=>Qs(e(...s)),r);return n._c=!1,n},Ja=(t,e,r)=>{const n=t._ctx;for(const s in t){if(Qa(s))continue;const o=t[s];if(Et(o))e[s]=Fu(s,o,n);else if(o!=null){const c=Qs(o);e[s]=()=>c}}},tc=(t,e)=>{const r=Qs(e);t.slots.default=()=>r},Su=(t,e)=>{if(t.vnode.shapeFlag&32){const r=e._;r?(t.slots=St(e),On(e,"_",r)):Ja(e,t.slots={})}else t.slots={},e&&tc(t,e);On(t.slots,e0,1)},Tu=(t,e,r)=>{const{vnode:n,slots:s}=t;let o=!0,c=Mt;if(n.shapeFlag&32){const l=e._;l?r&&l===1?o=!1:(Xt(s,e),!r&&l===1&&delete s._):(o=!e.$stable,Ja(e,s)),c=e}else e&&(tc(t,e),c={default:1});if(o)for(const l in s)!Qa(l)&&c[l]==null&&delete s[l]};function Bs(t,e,r,n,s=!1){if(xt(t)){t.forEach((v,y)=>Bs(v,e&&(xt(e)?e[y]:e),r,n,s));return}if(_n(n)&&!s)return;const o=n.shapeFlag&4?s0(n.component)||n.component.proxy:n.el,c=s?null:o,{i:l,r:d}=t,u=e&&e.r,h=l.refs===Mt?l.refs={}:l.refs,g=l.setupState;if(u!=null&&u!==d&&(Kt(u)?(h[u]=null,Ft(g,u)&&(g[u]=null)):Lt(u)&&(u.value=null)),Et(d))Xe(d,l,12,[c,h]);else{const v=Kt(d),y=Lt(d);if(v||y){const m=()=>{if(t.f){const E=v?Ft(g,d)?g[d]:h[d]:d.value;s?xt(E)&&Hs(E,o):xt(E)?E.includes(o)||E.push(o):v?(h[d]=[o],Ft(g,d)&&(g[d]=h[d])):(d.value=[o],t.k&&(h[t.k]=d.value))}else v?(h[d]=c,Ft(g,d)&&(g[d]=c)):y&&(d.value=c,t.k&&(h[t.k]=c))};c?(m.id=-1,le(m,r)):m()}}}const le=ru;function Ru(t){return Ou(t)}function Ou(t,e){const r=va();r.__VUE__=!0;const{insert:n,remove:s,patchProp:o,createElement:c,createText:l,createComment:d,setText:u,setElementText:h,parentNode:g,nextSibling:v,setScopeId:y=ve,insertStaticContent:m}=t,E=(S,k,j,W=null,G=null,J=null,st=void 0,tt=null,Q=!!k.dynamicChildren)=>{if(S===k)return;S&&!ur(S,k)&&(W=zt(S),z(S,G,J,!0),S=null),k.patchFlag===-2&&(Q=!1,k.dynamicChildren=null);const{type:X,ref:it,shapeFlag:ot}=k;switch(X){case t0:B(S,k,j,W);break;case Ce:R(S,k,j,W);break;case E0:S==null&&A(k,j,W,st);break;case he:I(S,k,j,W,G,J,st,tt,Q);break;default:ot&1?T(S,k,j,W,G,J,st,tt,Q):ot&6?V(S,k,j,W,G,J,st,tt,Q):(ot&64||ot&128)&&X.process(S,k,j,W,G,J,st,tt,Q,Zt)}it!=null&&G&&Bs(it,S&&S.ref,J,k||S,!k)},B=(S,k,j,W)=>{if(S==null)n(k.el=l(k.children),j,W);else{const G=k.el=S.el;k.children!==S.children&&u(G,k.children)}},R=(S,k,j,W)=>{S==null?n(k.el=d(k.children||""),j,W):k.el=S.el},A=(S,k,j,W)=>{[S.el,S.anchor]=m(S.children,k,j,W,S.el,S.anchor)},b=({el:S,anchor:k},j,W)=>{let G;for(;S&&S!==k;)G=v(S),n(S,j,W),S=G;n(k,j,W)},C=({el:S,anchor:k})=>{let j;for(;S&&S!==k;)j=v(S),s(S),S=j;s(k)},T=(S,k,j,W,G,J,st,tt,Q)=>{k.type==="svg"?st="svg":k.type==="math"&&(st="mathml"),S==null?w(k,j,W,G,J,st,tt,Q):M(S,k,G,J,st,tt,Q)},w=(S,k,j,W,G,J,st,tt)=>{let Q,X;const{props:it,shapeFlag:ot,transition:L,dirs:ft}=S;if(Q=S.el=c(S.type,J,it&&it.is,it),ot&8?h(Q,S.children):ot&16&&F(S.children,Q,null,W,G,y0(S,J),st,tt),ft&&ir(S,null,W,"created"),N(Q,S,S.scopeId,st,W),it){for(const Tt in it)Tt!=="value"&&!jr(Tt)&&o(Q,Tt,null,it[Tt],J,S.children,W,G,dt);"value"in it&&o(Q,"value",null,it.value,J),(X=it.onVnodeBeforeMount)&&Ae(X,W,S)}ft&&ir(S,null,W,"beforeMount");const vt=Pu(G,L);vt&&L.beforeEnter(Q),n(Q,k,j),((X=it&&it.onVnodeMounted)||vt||ft)&&le(()=>{X&&Ae(X,W,S),vt&&L.enter(Q),ft&&ir(S,null,W,"mounted")},G)},N=(S,k,j,W,G)=>{if(j&&y(S,j),W)for(let J=0;J<W.length;J++)y(S,W[J]);if(G){let J=G.subTree;if(k===J){const st=G.vnode;N(S,st,st.scopeId,st.slotScopeIds,G.parent)}}},F=(S,k,j,W,G,J,st,tt,Q=0)=>{for(let X=Q;X<S.length;X++){const it=S[X]=tt?Ue(S[X]):_e(S[X]);E(null,it,k,j,W,G,J,st,tt)}},M=(S,k,j,W,G,J,st)=>{const tt=k.el=S.el;let{patchFlag:Q,dynamicChildren:X,dirs:it}=k;Q|=S.patchFlag&16;const ot=S.props||Mt,L=k.props||Mt;let ft;if(j&&or(j,!1),(ft=L.onVnodeBeforeUpdate)&&Ae(ft,j,k,S),it&&ir(k,S,j,"beforeUpdate"),j&&or(j,!0),X?O(S.dynamicChildren,X,tt,j,W,y0(k,G),J):st||ct(S,k,tt,null,j,W,y0(k,G),J,!1),Q>0){if(Q&16)D(tt,k,ot,L,j,W,G);else if(Q&2&&ot.class!==L.class&&o(tt,"class",null,L.class,G),Q&4&&o(tt,"style",ot.style,L.style,G),Q&8){const vt=k.dynamicProps;for(let Tt=0;Tt<vt.length;Tt++){const Pt=vt[Tt],qt=ot[Pt],Wt=L[Pt];(Wt!==qt||Pt==="value")&&o(tt,Pt,qt,Wt,G,S.children,j,W,dt)}}Q&1&&S.children!==k.children&&h(tt,k.children)}else!st&&X==null&&D(tt,k,ot,L,j,W,G);((ft=L.onVnodeUpdated)||it)&&le(()=>{ft&&Ae(ft,j,k,S),it&&ir(k,S,j,"updated")},W)},O=(S,k,j,W,G,J,st)=>{for(let tt=0;tt<k.length;tt++){const Q=S[tt],X=k[tt],it=Q.el&&(Q.type===he||!ur(Q,X)||Q.shapeFlag&70)?g(Q.el):j;E(Q,X,it,null,W,G,J,st,!0)}},D=(S,k,j,W,G,J,st)=>{if(j!==W){if(j!==Mt)for(const tt in j)!jr(tt)&&!(tt in W)&&o(S,tt,j[tt],null,st,k.children,G,J,dt);for(const tt in W){if(jr(tt))continue;const Q=W[tt],X=j[tt];Q!==X&&tt!=="value"&&o(S,tt,X,Q,st,k.children,G,J,dt)}"value"in W&&o(S,"value",j.value,W.value,st)}},I=(S,k,j,W,G,J,st,tt,Q)=>{const X=k.el=S?S.el:l(""),it=k.anchor=S?S.anchor:l("");let{patchFlag:ot,dynamicChildren:L,slotScopeIds:ft}=k;ft&&(tt=tt?tt.concat(ft):ft),S==null?(n(X,j,W),n(it,j,W),F(k.children||[],j,it,G,J,st,tt,Q)):ot>0&&ot&64&&L&&S.dynamicChildren?(O(S.dynamicChildren,L,j,G,J,st,tt),(k.key!=null||G&&k===G.subTree)&&Js(S,k,!0)):ct(S,k,j,it,G,J,st,tt,Q)},V=(S,k,j,W,G,J,st,tt,Q)=>{k.slotScopeIds=tt,S==null?k.shapeFlag&512?G.ctx.activate(k,j,W,st,Q):et(k,j,W,G,J,st,Q):rt(S,k,Q)},et=(S,k,j,W,G,J,st)=>{const tt=S.component=Uu(S,W,G);if(Yn(S)&&(tt.ctx.renderer=Zt),$u(tt),tt.asyncDep){if(G&&G.registerDep(tt,at),!S.el){const Q=tt.subTree=ut(Ce);R(null,Q,k,j)}}else at(tt,S,k,j,G,J,st)},rt=(S,k,j)=>{const W=k.component=S.component;if(Ql(S,k,j))if(W.asyncDep&&!W.asyncResolved){Y(W,k,j);return}else W.next=k,Kl(W.update),W.effect.dirty=!0,W.update();else k.el=S.el,W.vnode=k},at=(S,k,j,W,G,J,st)=>{const tt=()=>{if(S.isMounted){let{next:it,bu:ot,u:L,parent:ft,vnode:vt}=S;{const ce=ec(S);if(ce){it&&(it.el=vt.el,Y(S,it,st)),ce.asyncDep.then(()=>{S.isUnmounted||tt()});return}}let Tt=it,Pt;or(S,!1),it?(it.el=vt.el,Y(S,it,st)):it=vt,ot&&x0(ot),(Pt=it.props&&it.props.onVnodeBeforeUpdate)&&Ae(Pt,ft,it,vt),or(S,!0);const qt=v0(S),Wt=S.subTree;S.subTree=qt,E(Wt,qt,g(Wt.el),zt(Wt),S,G,J),it.el=qt.el,Tt===null&&Jl(S,qt.el),L&&le(L,G),(Pt=it.props&&it.props.onVnodeUpdated)&&le(()=>Ae(Pt,ft,it,vt),G)}else{let it;const{el:ot,props:L}=k,{bm:ft,m:vt,parent:Tt}=S,Pt=_n(k);if(or(S,!1),ft&&x0(ft),!Pt&&(it=L&&L.onVnodeBeforeMount)&&Ae(it,Tt,k),or(S,!0),ot&&Ut){const qt=()=>{S.subTree=v0(S),Ut(ot,S.subTree,S,G,null)};Pt?k.type.__asyncLoader().then(()=>!S.isUnmounted&&qt()):qt()}else{const qt=S.subTree=v0(S);E(null,qt,j,W,S,G,J),k.el=qt.el}if(vt&&le(vt,G),!Pt&&(it=L&&L.onVnodeMounted)){const qt=k;le(()=>Ae(it,Tt,qt),G)}(k.shapeFlag&256||Tt&&_n(Tt.vnode)&&Tt.vnode.shapeFlag&256)&&S.a&&le(S.a,G),S.isMounted=!0,k=j=W=null}},Q=S.effect=new Ms(tt,ve,()=>Ws(X),S.scope),X=S.update=()=>{Q.dirty&&Q.run()};X.id=S.uid,or(S,!0),X()},Y=(S,k,j)=>{k.component=S;const W=S.vnode.props;S.vnode=k,S.next=null,wu(S,k.props,W,j),Tu(S,k.children,j),pr(),Ci(S),vr()},ct=(S,k,j,W,G,J,st,tt,Q=!1)=>{const X=S&&S.children,it=S?S.shapeFlag:0,ot=k.children,{patchFlag:L,shapeFlag:ft}=k;if(L>0){if(L&128){Ct(X,ot,j,W,G,J,st,tt,Q);return}else if(L&256){yt(X,ot,j,W,G,J,st,tt,Q);return}}ft&8?(it&16&&dt(X,G,J),ot!==X&&h(j,ot)):it&16?ft&16?Ct(X,ot,j,W,G,J,st,tt,Q):dt(X,G,J,!0):(it&8&&h(j,""),ft&16&&F(ot,j,W,G,J,st,tt,Q))},yt=(S,k,j,W,G,J,st,tt,Q)=>{S=S||br,k=k||br;const X=S.length,it=k.length,ot=Math.min(X,it);let L;for(L=0;L<ot;L++){const ft=k[L]=Q?Ue(k[L]):_e(k[L]);E(S[L],ft,j,null,G,J,st,tt,Q)}X>it?dt(S,G,J,!0,!1,ot):F(k,j,W,G,J,st,tt,Q,ot)},Ct=(S,k,j,W,G,J,st,tt,Q)=>{let X=0;const it=k.length;let ot=S.length-1,L=it-1;for(;X<=ot&&X<=L;){const ft=S[X],vt=k[X]=Q?Ue(k[X]):_e(k[X]);if(ur(ft,vt))E(ft,vt,j,null,G,J,st,tt,Q);else break;X++}for(;X<=ot&&X<=L;){const ft=S[ot],vt=k[L]=Q?Ue(k[L]):_e(k[L]);if(ur(ft,vt))E(ft,vt,j,null,G,J,st,tt,Q);else break;ot--,L--}if(X>ot){if(X<=L){const ft=L+1,vt=ft<it?k[ft].el:W;for(;X<=L;)E(null,k[X]=Q?Ue(k[X]):_e(k[X]),j,vt,G,J,st,tt,Q),X++}}else if(X>L)for(;X<=ot;)z(S[X],G,J,!0),X++;else{const ft=X,vt=X,Tt=new Map;for(X=vt;X<=L;X++){const f=k[X]=Q?Ue(k[X]):_e(k[X]);f.key!=null&&Tt.set(f.key,X)}let Pt,qt=0;const Wt=L-vt+1;let ce=!1,x=0;const i=new Array(Wt);for(X=0;X<Wt;X++)i[X]=0;for(X=ft;X<=ot;X++){const f=S[X];if(qt>=Wt){z(f,G,J,!0);continue}let p;if(f.key!=null)p=Tt.get(f.key);else for(Pt=vt;Pt<=L;Pt++)if(i[Pt-vt]===0&&ur(f,k[Pt])){p=Pt;break}p===void 0?z(f,G,J,!0):(i[p-vt]=X+1,p>=x?x=p:ce=!0,E(f,k[p],j,null,G,J,st,tt,Q),qt++)}const a=ce?Iu(i):br;for(Pt=a.length-1,X=Wt-1;X>=0;X--){const f=vt+X,p=k[f],_=f+1<it?k[f+1].el:W;i[X]===0?E(null,p,j,_,G,J,st,tt,Q):ce&&(Pt<0||X!==a[Pt]?U(p,j,_,2):Pt--)}}},U=(S,k,j,W,G=null)=>{const{el:J,type:st,transition:tt,children:Q,shapeFlag:X}=S;if(X&6){U(S.component.subTree,k,j,W);return}if(X&128){S.suspense.move(k,j,W);return}if(X&64){st.move(S,k,j,Zt);return}if(st===he){n(J,k,j);for(let ot=0;ot<Q.length;ot++)U(Q[ot],k,j,W);n(S.anchor,k,j);return}if(st===E0){b(S,k,j);return}if(W!==2&&X&1&&tt)if(W===0)tt.beforeEnter(J),n(J,k,j),le(()=>tt.enter(J),G);else{const{leave:ot,delayLeave:L,afterLeave:ft}=tt,vt=()=>n(J,k,j),Tt=()=>{ot(J,()=>{vt(),ft&&ft()})};L?L(J,vt,Tt):Tt()}else n(J,k,j)},z=(S,k,j,W=!1,G=!1)=>{const{type:J,props:st,ref:tt,children:Q,dynamicChildren:X,shapeFlag:it,patchFlag:ot,dirs:L}=S;if(tt!=null&&Bs(tt,null,j,S,!0),it&256){k.ctx.deactivate(S);return}const ft=it&1&&L,vt=!_n(S);let Tt;if(vt&&(Tt=st&&st.onVnodeBeforeUnmount)&&Ae(Tt,k,S),it&6)wt(S.component,j,W);else{if(it&128){S.suspense.unmount(j,W);return}ft&&ir(S,null,k,"beforeUnmount"),it&64?S.type.remove(S,k,j,G,Zt,W):X&&(J!==he||ot>0&&ot&64)?dt(X,k,j,!1,!0):(J===he&&ot&384||!G&&it&16)&&dt(Q,k,j),W&&$(S)}(vt&&(Tt=st&&st.onVnodeUnmounted)||ft)&&le(()=>{Tt&&Ae(Tt,k,S),ft&&ir(S,null,k,"unmounted")},j)},$=S=>{const{type:k,el:j,anchor:W,transition:G}=S;if(k===he){Z(j,W);return}if(k===E0){C(S);return}const J=()=>{s(j),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(S.shapeFlag&1&&G&&!G.persisted){const{leave:st,delayLeave:tt}=G,Q=()=>st(j,J);tt?tt(S.el,J,Q):Q()}else J()},Z=(S,k)=>{let j;for(;S!==k;)j=v(S),s(S),S=j;s(k)},wt=(S,k,j)=>{const{bum:W,scope:G,update:J,subTree:st,um:tt}=S;W&&x0(W),G.stop(),J&&(J.active=!1,z(st,S,k,j)),tt&&le(tt,k),le(()=>{S.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},dt=(S,k,j,W=!1,G=!1,J=0)=>{for(let st=J;st<S.length;st++)z(S[st],k,j,W,G)},zt=S=>S.shapeFlag&6?zt(S.component.subTree):S.shapeFlag&128?S.suspense.next():v(S.anchor||S.el);let pt=!1;const te=(S,k,j)=>{S==null?k._vnode&&z(k._vnode,null,null,!0):E(k._vnode||null,S,k,null,null,null,j),pt||(pt=!0,Ci(),La(),pt=!1),k._vnode=S},Zt={p:E,um:z,m:U,r:$,mt:et,mc:F,pc:ct,pbc:O,n:zt,o:t};let de,Ut;return e&&([de,Ut]=e(Zt)),{render:te,hydrate:de,createApp:_u(te,de)}}function y0({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function or({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function Pu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Js(t,e,r=!1){const n=t.children,s=e.children;if(xt(n)&&xt(s))for(let o=0;o<n.length;o++){const c=n[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Ue(s[o]),l.el=c.el),r||Js(c,l)),l.type===t0&&(l.el=c.el)}}function Iu(t){const e=t.slice(),r=[0];let n,s,o,c,l;const d=t.length;for(n=0;n<d;n++){const u=t[n];if(u!==0){if(s=r[r.length-1],t[s]<u){e[n]=s,r.push(n);continue}for(o=0,c=r.length-1;o<c;)l=o+c>>1,t[r[l]]<u?o=l+1:c=l;u<t[r[o]]&&(o>0&&(e[n]=r[o-1]),r[o]=n)}}for(o=r.length,c=r[o-1];o-- >0;)r[o]=c,c=e[c];return r}function ec(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ec(e)}const ku=t=>t.__isTeleport,Wr=t=>t&&(t.disabled||t.disabled===""),Ii=t=>typeof SVGElement<"u"&&t instanceof SVGElement,ki=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Cs=(t,e)=>{const r=t&&t.to;return Kt(r)?e?e(r):null:r},Nu={name:"Teleport",__isTeleport:!0,process(t,e,r,n,s,o,c,l,d,u){const{mc:h,pc:g,pbc:v,o:{insert:y,querySelector:m,createText:E,createComment:B}}=u,R=Wr(e.props);let{shapeFlag:A,children:b,dynamicChildren:C}=e;if(t==null){const T=e.el=E(""),w=e.anchor=E("");y(T,r,n),y(w,r,n);const N=e.target=Cs(e.props,m),F=e.targetAnchor=E("");N&&(y(F,N),c==="svg"||Ii(N)?c="svg":(c==="mathml"||ki(N))&&(c="mathml"));const M=(O,D)=>{A&16&&h(b,O,D,s,o,c,l,d)};R?M(r,w):N&&M(N,F)}else{e.el=t.el;const T=e.anchor=t.anchor,w=e.target=t.target,N=e.targetAnchor=t.targetAnchor,F=Wr(t.props),M=F?r:w,O=F?T:N;if(c==="svg"||Ii(w)?c="svg":(c==="mathml"||ki(w))&&(c="mathml"),C?(v(t.dynamicChildren,C,M,s,o,c,l),Js(t,e,!0)):d||g(t,e,M,O,s,o,c,l,!1),R)F?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):En(e,r,T,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const D=e.target=Cs(e.props,m);D&&En(e,D,null,u,0)}else F&&En(e,w,N,u,1)}rc(e)},remove(t,e,r,n,{um:s,o:{remove:o}},c){const{shapeFlag:l,children:d,anchor:u,targetAnchor:h,target:g,props:v}=t;if(g&&o(h),c&&o(u),l&16){const y=c||!Wr(v);for(let m=0;m<d.length;m++){const E=d[m];s(E,e,r,y,!!E.dynamicChildren)}}},move:En,hydrate:Hu};function En(t,e,r,{o:{insert:n},m:s},o=2){o===0&&n(t.targetAnchor,e,r);const{el:c,anchor:l,shapeFlag:d,children:u,props:h}=t,g=o===2;if(g&&n(c,e,r),(!g||Wr(h))&&d&16)for(let v=0;v<u.length;v++)s(u[v],e,r,2);g&&n(l,e,r)}function Hu(t,e,r,n,s,o,{o:{nextSibling:c,parentNode:l,querySelector:d}},u){const h=e.target=Cs(e.props,d);if(h){const g=h._lpa||h.firstChild;if(e.shapeFlag&16)if(Wr(e.props))e.anchor=u(c(t),e,l(t),r,n,s,o),e.targetAnchor=g;else{e.anchor=c(t);let v=g;for(;v;)if(v=c(v),v&&v.nodeType===8&&v.data==="teleport anchor"){e.targetAnchor=v,h._lpa=e.targetAnchor&&c(e.targetAnchor);break}u(g,e,h,r,n,s,o)}rc(e)}return e.anchor&&c(e.anchor)}const Lu=Nu;function rc(t){const e=t.ctx;if(e&&e.ut){let r=t.children[0].el;for(;r&&r!==t.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",e.uid),r=r.nextSibling;e.ut()}}const he=Symbol.for("v-fgt"),t0=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),E0=Symbol.for("v-stc"),Gr=[];let Be=null;function Gt(t=!1){Gr.push(Be=t?null:[])}function Mu(){Gr.pop(),Be=Gr[Gr.length-1]||null}let tn=1;function Ni(t){tn+=t}function nc(t){return t.dynamicChildren=tn>0?Be||br:null,Mu(),tn>0&&Be&&Be.push(t),t}function ae(t,e,r,n,s,o){return nc(ht(t,e,r,n,s,o,!0))}function en(t,e,r,n,s){return nc(ut(t,e,r,n,s,!0))}function As(t){return t?t.__v_isVNode===!0:!1}function ur(t,e){return t.type===e.type&&t.key===e.key}const e0="__vInternal",sc=({key:t})=>t??null,Dn=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Kt(t)||Lt(t)||Et(t)?{i:ue,r:t,k:e,f:!!r}:t:null);function ht(t,e=null,r=null,n=0,s=null,o=t===he?0:1,c=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&sc(e),ref:e&&Dn(e),scopeId:Gn,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(ti(d,r),o&128&&t.normalize(d)):r&&(d.shapeFlag|=Kt(r)?8:16),tn>0&&!c&&Be&&(d.patchFlag>0||o&6)&&d.patchFlag!==32&&Be.push(d),d}const ut=Vu;function Vu(t,e=null,r=null,n=0,s=null,o=!1){if((!t||t===tu)&&(t=Ce),As(t)){const l=Qe(t,e,!0);return r&&ti(l,r),tn>0&&!o&&Be&&(l.shapeFlag&6?Be[Be.indexOf(t)]=l:Be.push(l)),l.patchFlag|=-2,l}if(Xu(t)&&(t=t.__vccOpts),e){e=zu(e);let{class:l,style:d}=e;l&&!Kt(l)&&(e.class=Ye(l)),Vt(d)&&(Ra(d)&&!xt(d)&&(d=Xt({},d)),e.style=jn(d))}const c=Kt(t)?1:eu(t)?128:ku(t)?64:Vt(t)?4:Et(t)?2:0;return ht(t,e,r,n,s,c,o,!0)}function zu(t){return t?Ra(t)||e0 in t?Xt({},t):t:null}function Qe(t,e,r=!1){const{props:n,ref:s,patchFlag:o,children:c}=t,l=e?Je(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&sc(l),ref:e&&e.ref?r&&s?xt(s)?s.concat(Dn(e)):[s,Dn(e)]:Dn(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==he?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Qe(t.ssContent),ssFallback:t.ssFallback&&Qe(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function _s(t=" ",e=0){return ut(t0,null,t,e)}function Tr(t="",e=!1){return e?(Gt(),en(Ce,null,t)):ut(Ce,null,t)}function _e(t){return t==null||typeof t=="boolean"?ut(Ce):xt(t)?ut(he,null,t.slice()):typeof t=="object"?Ue(t):ut(t0,null,String(t))}function Ue(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Qe(t)}function ti(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(xt(e))r=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),ti(t,s()),s._c&&(s._d=!0));return}else{r=32;const s=e._;!s&&!(e0 in e)?e._ctx=ue:s===3&&ue&&(ue.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Et(e)?(e={default:e,_ctx:ue},r=32):(e=String(e),n&64?(r=16,e=[_s(e)]):r=8);t.children=e,t.shapeFlag|=r}function Je(...t){const e={};for(let r=0;r<t.length;r++){const n=t[r];for(const s in n)if(s==="class")e.class!==n.class&&(e.class=Ye([e.class,n.class]));else if(s==="style")e.style=jn([e.style,n.style]);else if(Vn(s)){const o=e[s],c=n[s];c&&o!==c&&!(xt(o)&&o.includes(c))&&(e[s]=o?[].concat(o,c):c)}else s!==""&&(e[s]=n[s])}return e}function Ae(t,e,r,n=null){ge(t,e,7,[r,n])}const qu=Ga();let ju=0;function Uu(t,e,r){const n=t.type,s=(e?e.appContext:t.appContext)||qu,o={uid:ju++,vnode:t,type:n,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new xl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ya(n,s),emitsOptions:Va(n,s),emit:null,emitted:null,propsDefaults:Mt,inheritAttrs:n.inheritAttrs,ctx:Mt,data:Mt,props:Mt,attrs:Mt,slots:Mt,refs:Mt,setupState:Mt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.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};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Xl.bind(null,o),t.ce&&t.ce(o),o}let re=null;const r0=()=>re||ue;let Hn,Ds;{const t=va(),e=(r,n)=>{let s;return(s=t[r])||(s=t[r]=[]),s.push(n),o=>{s.length>1?s.forEach(c=>c(o)):s[0](o)}};Hn=e("__VUE_INSTANCE_SETTERS__",r=>re=r),Ds=e("__VUE_SSR_SETTERS__",r=>n0=r)}const an=t=>{const e=re;return Hn(t),t.scope.on(),()=>{t.scope.off(),Hn(e)}},Hi=()=>{re&&re.scope.off(),Hn(null)};function ic(t){return t.vnode.shapeFlag&4}let n0=!1;function $u(t,e=!1){e&&Ds(e);const{props:r,children:n}=t.vnode,s=ic(t);Du(t,r,s,e),Su(t,n);const o=s?Ku(t,e):void 0;return e&&Ds(!1),o}function Ku(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=Oa(new Proxy(t.ctx,mu));const{setup:n}=r;if(n){const s=t.setupContext=n.length>1?Gu(t):null,o=an(t);pr();const c=Xe(n,t,0,[t.props,s]);if(vr(),o(),ha(c)){if(c.then(Hi,Hi),e)return c.then(l=>{Li(t,l,e)}).catch(l=>{$n(l,t,0)});t.asyncDep=c}else Li(t,c,e)}else oc(t,e)}function Li(t,e,r){Et(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Vt(e)&&(t.setupState=ka(e)),oc(t,r)}let Mi;function oc(t,e,r){const n=t.type;if(!t.render){if(!e&&Mi&&!n.render){const s=n.template||Ys(t).template;if(s){const{isCustomElement:o,compilerOptions:c}=t.appContext.config,{delimiters:l,compilerOptions:d}=n,u=Xt(Xt({isCustomElement:o,delimiters:l},c),d);n.render=Mi(s,u)}}t.render=n.render||ve}{const s=an(t);pr();try{yu(t)}finally{vr(),s()}}}function Wu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,r){return fe(t,"get","$attrs"),e[r]}}))}function Gu(t){const e=r=>{t.exposed=r||{}};return{get attrs(){return Wu(t)},slots:t.slots,emit:t.emit,expose:e}}function s0(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(ka(Oa(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in $r)return $r[r](t)},has(e,r){return r in e||r in $r}}))}function Xu(t){return Et(t)&&"__vccOpts"in t}const ne=(t,e)=>Ll(t,e,n0);function Zu(t,e,r){const n=arguments.length;return n===2?Vt(e)&&!xt(e)?As(e)?ut(t,null,[e]):ut(t,e):ut(t,null,e):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&As(r)&&(r=[r]),ut(t,e,r))}const Yu="3.4.21";/**
* @vue/runtime-dom v3.4.21
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Qu="http://www.w3.org/2000/svg",Ju="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,Vi=$e&&$e.createElement("template"),tf={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const s=e==="svg"?$e.createElementNS(Qu,t):e==="mathml"?$e.createElementNS(Ju,t):$e.createElement(t,r?{is:r}:void 0);return t==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:t=>$e.createTextNode(t),createComment:t=>$e.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>$e.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,s,o){const c=r?r.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),r),!(s===o||!(s=s.nextSibling)););else{Vi.innerHTML=n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t;const l=Vi.content;if(n==="svg"||n==="mathml"){const d=l.firstChild;for(;d.firstChild;)l.appendChild(d.firstChild);l.removeChild(d)}e.insertBefore(l,r)}return[c?c.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},Me="transition",Nr="animation",rn=Symbol("_vtc"),cn=(t,{slots:e})=>Zu(cu,ef(t),e);cn.displayName="Transition";const ac={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};cn.props=Xt({},ja,ac);const ar=(t,e=[])=>{xt(t)?t.forEach(r=>r(...e)):t&&t(...e)},zi=t=>t?xt(t)?t.some(e=>e.length>1):t.length>1:!1;function ef(t){const e={};for(const I in t)I in ac||(e[I]=t[I]);if(t.css===!1)return e;const{name:r="v",type:n,duration:s,enterFromClass:o=`${r}-enter-from`,enterActiveClass:c=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:d=o,appearActiveClass:u=c,appearToClass:h=l,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:y=`${r}-leave-to`}=t,m=rf(s),E=m&&m[0],B=m&&m[1],{onBeforeEnter:R,onEnter:A,onEnterCancelled:b,onLeave:C,onLeaveCancelled:T,onBeforeAppear:w=R,onAppear:N=A,onAppearCancelled:F=b}=e,M=(I,V,et)=>{cr(I,V?h:l),cr(I,V?u:c),et&&et()},O=(I,V)=>{I._isLeaving=!1,cr(I,g),cr(I,y),cr(I,v),V&&V()},D=I=>(V,et)=>{const rt=I?N:A,at=()=>M(V,I,et);ar(rt,[V,at]),qi(()=>{cr(V,I?d:o),Ve(V,I?h:l),zi(rt)||ji(V,n,E,at)})};return Xt(e,{onBeforeEnter(I){ar(R,[I]),Ve(I,o),Ve(I,c)},onBeforeAppear(I){ar(w,[I]),Ve(I,d),Ve(I,u)},onEnter:D(!1),onAppear:D(!0),onLeave(I,V){I._isLeaving=!0;const et=()=>O(I,V);Ve(I,g),of(),Ve(I,v),qi(()=>{I._isLeaving&&(cr(I,g),Ve(I,y),zi(C)||ji(I,n,B,et))}),ar(C,[I,et])},onEnterCancelled(I){M(I,!1),ar(b,[I])},onAppearCancelled(I){M(I,!0),ar(F,[I])},onLeaveCancelled(I){O(I),ar(T,[I])}})}function rf(t){if(t==null)return null;if(Vt(t))return[b0(t.enter),b0(t.leave)];{const e=b0(t);return[e,e]}}function b0(t){return al(t)}function Ve(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.add(r)),(t[rn]||(t[rn]=new Set)).add(e)}function cr(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const r=t[rn];r&&(r.delete(e),r.size||(t[rn]=void 0))}function qi(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let nf=0;function ji(t,e,r,n){const s=t._endId=++nf,o=()=>{s===t._endId&&n()};if(r)return setTimeout(o,r);const{type:c,timeout:l,propCount:d}=sf(t,e);if(!c)return n();const u=c+"end";let h=0;const g=()=>{t.removeEventListener(u,v),o()},v=y=>{y.target===t&&++h>=d&&g()};setTimeout(()=>{h<d&&g()},l+1),t.addEventListener(u,v)}function sf(t,e){const r=window.getComputedStyle(t),n=m=>(r[m]||"").split(", "),s=n(`${Me}Delay`),o=n(`${Me}Duration`),c=Ui(s,o),l=n(`${Nr}Delay`),d=n(`${Nr}Duration`),u=Ui(l,d);let h=null,g=0,v=0;e===Me?c>0&&(h=Me,g=c,v=o.length):e===Nr?u>0&&(h=Nr,g=u,v=d.length):(g=Math.max(c,u),h=g>0?c>u?Me:Nr:null,v=h?h===Me?o.length:d.length:0);const y=h===Me&&/\b(transform|all)(,|$)/.test(n(`${Me}Property`).toString());return{type:h,timeout:g,propCount:v,hasTransform:y}}function Ui(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((r,n)=>$i(r)+$i(t[n])))}function $i(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function of(){return document.body.offsetHeight}function af(t,e,r){const n=t[rn];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const Ln=Symbol("_vod"),cc=Symbol("_vsh"),Xr={beforeMount(t,{value:e},{transition:r}){t[Ln]=t.style.display==="none"?"":t.style.display,r&&e?r.beforeEnter(t):Hr(t,e)},mounted(t,{value:e},{transition:r}){r&&e&&r.enter(t)},updated(t,{value:e,oldValue:r},{transition:n}){!e!=!r&&(n?e?(n.beforeEnter(t),Hr(t,!0),n.enter(t)):n.leave(t,()=>{Hr(t,!1)}):Hr(t,e))},beforeUnmount(t,{value:e}){Hr(t,e)}};function Hr(t,e){t.style.display=e?t[Ln]:"none",t[cc]=!e}const cf=Symbol(""),lf=/(^|;)\s*display\s*:/;function uf(t,e,r){const n=t.style,s=Kt(r);let o=!1;if(r&&!s){if(e)if(Kt(e))for(const c of e.split(";")){const l=c.slice(0,c.indexOf(":")).trim();r[l]==null&&wn(n,l,"")}else for(const c in e)r[c]==null&&wn(n,c,"");for(const c in r)c==="display"&&(o=!0),wn(n,c,r[c])}else if(s){if(e!==r){const c=n[cf];c&&(r+=";"+c),n.cssText=r,o=lf.test(r)}}else e&&t.removeAttribute("style");Ln in t&&(t[Ln]=o?n.display:"",t[cc]&&(n.display="none"))}const Ki=/\s*!important$/;function wn(t,e,r){if(xt(r))r.forEach(n=>wn(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=ff(t,e);Ki.test(r)?t.setProperty(Pr(n),r.replace(Ki,""),"important"):t[n]=r}}const Wi=["Webkit","Moz","ms"],B0={};function ff(t,e){const r=B0[e];if(r)return r;let n=Fr(e);if(n!=="filter"&&n in t)return B0[e]=n;n=pa(n);for(let s=0;s<Wi.length;s++){const o=Wi[s]+n;if(o in t)return B0[e]=o}return e}const Gi="http://www.w3.org/1999/xlink";function hf(t,e,r,n,s){if(n&&e.startsWith("xlink:"))r==null?t.removeAttributeNS(Gi,e.slice(6,e.length)):t.setAttributeNS(Gi,e,r);else{const o=dl(e);r==null||o&&!ga(r)?t.removeAttribute(e):t.setAttribute(e,o?"":r)}}function df(t,e,r,n,s,o,c){if(e==="innerHTML"||e==="textContent"){n&&c(n,s,o),t[e]=r??"";return}const l=t.tagName;if(e==="value"&&l!=="PROGRESS"&&!l.includes("-")){const u=l==="OPTION"?t.getAttribute("value")||"":t.value,h=r??"";(u!==h||!("_value"in t))&&(t.value=h),r==null&&t.removeAttribute(e),t._value=r;return}let d=!1;if(r===""||r==null){const u=typeof t[e];u==="boolean"?r=ga(r):r==null&&u==="string"?(r="",d=!0):u==="number"&&(r=0,d=!0)}try{t[e]=r}catch{}d&&t.removeAttribute(e)}function xf(t,e,r,n){t.addEventListener(e,r,n)}function pf(t,e,r,n){t.removeEventListener(e,r,n)}const Xi=Symbol("_vei");function vf(t,e,r,n,s=null){const o=t[Xi]||(t[Xi]={}),c=o[e];if(n&&c)c.value=n;else{const[l,d]=gf(e);if(n){const u=o[e]=Ef(n,s);xf(t,l,u,d)}else c&&(pf(t,l,c,d),o[e]=void 0)}}const Zi=/(?:Once|Passive|Capture)$/;function gf(t){let e;if(Zi.test(t)){e={};let n;for(;n=t.match(Zi);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Pr(t.slice(2)),e]}let C0=0;const mf=Promise.resolve(),yf=()=>C0||(mf.then(()=>C0=0),C0=Date.now());function Ef(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;ge(bf(n,r.value),e,5,[n])};return r.value=t,r.attached=yf(),r}function bf(t,e){if(xt(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const Yi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Bf=(t,e,r,n,s,o,c,l,d)=>{const u=s==="svg";e==="class"?af(t,n,u):e==="style"?uf(t,r,n):Vn(e)?Ns(e)||vf(t,e,r,n,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Cf(t,e,n,u))?df(t,e,n,o,c,l,d):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),hf(t,e,n,u))};function Cf(t,e,r,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Yi(e)&&Et(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Yi(e)&&Kt(r)?!1:e in t}const Af=Xt({patchProp:Bf},tf);let Qi;function _f(){return Qi||(Qi=Ru(Af))}const lc=(...t)=>{const e=_f().createApp(...t),{mount:r}=e;return e.mount=n=>{const s=wf(n);if(!s)return;const o=e._component;!Et(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const c=r(s,!1,Df(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},e};function Df(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function wf(t){return Kt(t)?document.querySelector(t):t}function uc(t,e){return function(){return t.apply(e,arguments)}}const{toString:Ff}=Object.prototype,{getPrototypeOf:ei}=Object,i0=(t=>e=>{const r=Ff.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Te=t=>(t=t.toLowerCase(),e=>i0(e)===t),o0=t=>e=>typeof e===t,{isArray:Ir}=Array,nn=o0("undefined");function Sf(t){return t!==null&&!nn(t)&&t.constructor!==null&&!nn(t.constructor)&&me(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const fc=Te("ArrayBuffer");function Tf(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&fc(t.buffer),e}const Rf=o0("string"),me=o0("function"),hc=o0("number"),a0=t=>t!==null&&typeof t=="object",Of=t=>t===!0||t===!1,Fn=t=>{if(i0(t)!=="object")return!1;const e=ei(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Pf=Te("Date"),If=Te("File"),kf=Te("Blob"),Nf=Te("FileList"),Hf=t=>a0(t)&&me(t.pipe),Lf=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||me(t.append)&&((e=i0(t))==="formdata"||e==="object"&&me(t.toString)&&t.toString()==="[object FormData]"))},Mf=Te("URLSearchParams"),Vf=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ln(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,s;if(typeof t!="object"&&(t=[t]),Ir(t))for(n=0,s=t.length;n<s;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),c=o.length;let l;for(n=0;n<c;n++)l=o[n],e.call(null,t[l],l,t)}}function dc(t,e){e=e.toLowerCase();const r=Object.keys(t);let n=r.length,s;for(;n-- >0;)if(s=r[n],e===s.toLowerCase())return s;return null}const xc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pc=t=>!nn(t)&&t!==xc;function ws(){const{caseless:t}=pc(this)&&this||{},e={},r=(n,s)=>{const o=t&&dc(e,s)||s;Fn(e[o])&&Fn(n)?e[o]=ws(e[o],n):Fn(n)?e[o]=ws({},n):Ir(n)?e[o]=n.slice():e[o]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&ln(arguments[n],r);return e}const zf=(t,e,r,{allOwnKeys:n}={})=>(ln(e,(s,o)=>{r&&me(s)?t[o]=uc(s,r):t[o]=s},{allOwnKeys:n}),t),qf=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),jf=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Uf=(t,e,r,n)=>{let s,o,c;const l={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),o=s.length;o-- >0;)c=s[o],(!n||n(c,t,e))&&!l[c]&&(e[c]=t[c],l[c]=!0);t=r!==!1&&ei(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},$f=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Kf=t=>{if(!t)return null;if(Ir(t))return t;let e=t.length;if(!hc(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Wf=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ei(Uint8Array)),Gf=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=n.next())&&!s.done;){const o=s.value;e.call(t,o[0],o[1])}},Xf=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Zf=Te("HTMLFormElement"),Yf=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),Ji=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Qf=Te("RegExp"),vc=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};ln(r,(s,o)=>{let c;(c=e(s,o,t))!==!1&&(n[o]=c||s)}),Object.defineProperties(t,n)},Jf=t=>{vc(t,(e,r)=>{if(me(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(me(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},th=(t,e)=>{const r={},n=s=>{s.forEach(o=>{r[o]=!0})};return Ir(t)?n(t):n(String(t).split(e)),r},eh=()=>{},rh=(t,e)=>(t=+t,Number.isFinite(t)?t:e),A0="abcdefghijklmnopqrstuvwxyz",to="0123456789",gc={DIGIT:to,ALPHA:A0,ALPHA_DIGIT:A0+A0.toUpperCase()+to},nh=(t=16,e=gc.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r};function sh(t){return!!(t&&me(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ih=t=>{const e=new Array(10),r=(n,s)=>{if(a0(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[s]=n;const o=Ir(n)?[]:{};return ln(n,(c,l)=>{const d=r(c,s+1);!nn(d)&&(o[l]=d)}),e[s]=void 0,o}}return n};return r(t,0)},oh=Te("AsyncFunction"),ah=t=>t&&(a0(t)||me(t))&&me(t.then)&&me(t.catch),K={isArray:Ir,isArrayBuffer:fc,isBuffer:Sf,isFormData:Lf,isArrayBufferView:Tf,isString:Rf,isNumber:hc,isBoolean:Of,isObject:a0,isPlainObject:Fn,isUndefined:nn,isDate:Pf,isFile:If,isBlob:kf,isRegExp:Qf,isFunction:me,isStream:Hf,isURLSearchParams:Mf,isTypedArray:Wf,isFileList:Nf,forEach:ln,merge:ws,extend:zf,trim:Vf,stripBOM:qf,inherits:jf,toFlatObject:Uf,kindOf:i0,kindOfTest:Te,endsWith:$f,toArray:Kf,forEachEntry:Gf,matchAll:Xf,isHTMLForm:Zf,hasOwnProperty:Ji,hasOwnProp:Ji,reduceDescriptors:vc,freezeMethods:Jf,toObjectSet:th,toCamelCase:Yf,noop:eh,toFiniteNumber:rh,findKey:dc,global:xc,isContextDefined:pc,ALPHABET:gc,generateString:nh,isSpecCompliantForm:sh,toJSONObject:ih,isAsyncFn:oh,isThenable:ah};function Dt(t,e,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s)}K.inherits(Dt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:K.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const mc=Dt.prototype,yc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{yc[t]={value:t}});Object.defineProperties(Dt,yc);Object.defineProperty(mc,"isAxiosError",{value:!0});Dt.from=(t,e,r,n,s,o)=>{const c=Object.create(mc);return K.toFlatObject(t,c,function(d){return d!==Error.prototype},l=>l!=="isAxiosError"),Dt.call(c,t.message,e,r,n,s),c.cause=t,c.name=t.name,o&&Object.assign(c,o),c};const ch=null;function Fs(t){return K.isPlainObject(t)||K.isArray(t)}function Ec(t){return K.endsWith(t,"[]")?t.slice(0,-2):t}function eo(t,e,r){return t?t.concat(e).map(function(s,o){return s=Ec(s),!r&&o?"["+s+"]":s}).join(r?".":""):e}function lh(t){return K.isArray(t)&&!t.some(Fs)}const uh=K.toFlatObject(K,{},null,function(e){return/^is[A-Z]/.test(e)});function c0(t,e,r){if(!K.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=K.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,B){return!K.isUndefined(B[E])});const n=r.metaTokens,s=r.visitor||h,o=r.dots,c=r.indexes,d=(r.Blob||typeof Blob<"u"&&Blob)&&K.isSpecCompliantForm(e);if(!K.isFunction(s))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(K.isDate(m))return m.toISOString();if(!d&&K.isBlob(m))throw new Dt("Blob is not supported. Use a Buffer instead.");return K.isArrayBuffer(m)||K.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function h(m,E,B){let R=m;if(m&&!B&&typeof m=="object"){if(K.endsWith(E,"{}"))E=n?E:E.slice(0,-2),m=JSON.stringify(m);else if(K.isArray(m)&&lh(m)||(K.isFileList(m)||K.endsWith(E,"[]"))&&(R=K.toArray(m)))return E=Ec(E),R.forEach(function(b,C){!(K.isUndefined(b)||b===null)&&e.append(c===!0?eo([E],C,o):c===null?E:E+"[]",u(b))}),!1}return Fs(m)?!0:(e.append(eo(B,E,o),u(m)),!1)}const g=[],v=Object.assign(uh,{defaultVisitor:h,convertValue:u,isVisitable:Fs});function y(m,E){if(!K.isUndefined(m)){if(g.indexOf(m)!==-1)throw Error("Circular reference detected in "+E.join("."));g.push(m),K.forEach(m,function(R,A){(!(K.isUndefined(R)||R===null)&&s.call(e,R,K.isString(A)?A.trim():A,E,v))===!0&&y(R,E?E.concat(A):[A])}),g.pop()}}if(!K.isObject(t))throw new TypeError("data must be an object");return y(t),e}function ro(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function ri(t,e){this._pairs=[],t&&c0(t,this,e)}const bc=ri.prototype;bc.append=function(e,r){this._pairs.push([e,r])};bc.toString=function(e){const r=e?function(n){return e.call(this,n,ro)}:ro;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function fh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bc(t,e,r){if(!e)return t;const n=r&&r.encode||fh,s=r&&r.serialize;let o;if(s?o=s(e,r):o=K.isURLSearchParams(e)?e.toString():new ri(e,r).toString(n),o){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class no{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){K.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Cc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hh=typeof URLSearchParams<"u"?URLSearchParams:ri,dh=typeof FormData<"u"?FormData:null,xh=typeof Blob<"u"?Blob:null,ph={isBrowser:!0,classes:{URLSearchParams:hh,FormData:dh,Blob:xh},protocols:["http","https","file","blob","url","data"]},Ac=typeof window<"u"&&typeof document<"u",vh=(t=>Ac&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),gh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mh=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ac,hasStandardBrowserEnv:vh,hasStandardBrowserWebWorkerEnv:gh},Symbol.toStringTag,{value:"Module"})),we={...mh,...ph};function yh(t,e){return c0(t,new we.classes.URLSearchParams,Object.assign({visitor:function(r,n,s,o){return we.isNode&&K.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function Eh(t){return K.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function bh(t){const e={},r=Object.keys(t);let n;const s=r.length;let o;for(n=0;n<s;n++)o=r[n],e[o]=t[o];return e}function _c(t){function e(r,n,s,o){let c=r[o++];if(c==="__proto__")return!0;const l=Number.isFinite(+c),d=o>=r.length;return c=!c&&K.isArray(s)?s.length:c,d?(K.hasOwnProp(s,c)?s[c]=[s[c],n]:s[c]=n,!l):((!s[c]||!K.isObject(s[c]))&&(s[c]=[]),e(r,n,s[c],o)&&K.isArray(s[c])&&(s[c]=bh(s[c])),!l)}if(K.isFormData(t)&&K.isFunction(t.entries)){const r={};return K.forEachEntry(t,(n,s)=>{e(Eh(n),s,r,0)}),r}return null}function Bh(t,e,r){if(K.isString(t))try{return(e||JSON.parse)(t),K.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const ni={transitional:Cc,adapter:["xhr","http"],transformRequest:[function(e,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,o=K.isObject(e);if(o&&K.isHTMLForm(e)&&(e=new FormData(e)),K.isFormData(e))return s?JSON.stringify(_c(e)):e;if(K.isArrayBuffer(e)||K.isBuffer(e)||K.isStream(e)||K.isFile(e)||K.isBlob(e))return e;if(K.isArrayBufferView(e))return e.buffer;if(K.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return yh(e,this.formSerializer).toString();if((l=K.isFileList(e))||n.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return c0(l?{"files[]":e}:e,d&&new d,this.formSerializer)}}return o||s?(r.setContentType("application/json",!1),Bh(e)):e}],transformResponse:[function(e){const r=this.transitional||ni.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(e&&K.isString(e)&&(n&&!this.responseType||s)){const c=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(l){if(c)throw l.name==="SyntaxError"?Dt.from(l,Dt.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:we.classes.FormData,Blob:we.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};K.forEach(["delete","get","head","post","put","patch"],t=>{ni.headers[t]={}});const si=ni,Ch=K.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ah=t=>{const e={};let r,n,s;return t&&t.split(`
`).forEach(function(c){s=c.indexOf(":"),r=c.substring(0,s).trim().toLowerCase(),n=c.substring(s+1).trim(),!(!r||e[r]&&Ch[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e},so=Symbol("internals");function Lr(t){return t&&String(t).trim().toLowerCase()}function Sn(t){return t===!1||t==null?t:K.isArray(t)?t.map(Sn):String(t)}function _h(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Dh=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function _0(t,e,r,n,s){if(K.isFunction(n))return n.call(this,e,r);if(s&&(e=r),!!K.isString(e)){if(K.isString(n))return e.indexOf(n)!==-1;if(K.isRegExp(n))return n.test(e)}}function wh(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Fh(t,e){const r=K.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(s,o,c){return this[n].call(this,e,s,o,c)},configurable:!0})})}class l0{constructor(e){e&&this.set(e)}set(e,r,n){const s=this;function o(l,d,u){const h=Lr(d);if(!h)throw new Error("header name must be a non-empty string");const g=K.findKey(s,h);(!g||s[g]===void 0||u===!0||u===void 0&&s[g]!==!1)&&(s[g||d]=Sn(l))}const c=(l,d)=>K.forEach(l,(u,h)=>o(u,h,d));return K.isPlainObject(e)||e instanceof this.constructor?c(e,r):K.isString(e)&&(e=e.trim())&&!Dh(e)?c(Ah(e),r):e!=null&&o(r,e,n),this}get(e,r){if(e=Lr(e),e){const n=K.findKey(this,e);if(n){const s=this[n];if(!r)return s;if(r===!0)return _h(s);if(K.isFunction(r))return r.call(this,s,n);if(K.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Lr(e),e){const n=K.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||_0(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let s=!1;function o(c){if(c=Lr(c),c){const l=K.findKey(n,c);l&&(!r||_0(n,n[l],l,r))&&(delete n[l],s=!0)}}return K.isArray(e)?e.forEach(o):o(e),s}clear(e){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const o=r[n];(!e||_0(this,this[o],o,e,!0))&&(delete this[o],s=!0)}return s}normalize(e){const r=this,n={};return K.forEach(this,(s,o)=>{const c=K.findKey(n,o);if(c){r[c]=Sn(s),delete r[o];return}const l=e?wh(o):String(o).trim();l!==o&&delete r[o],r[l]=Sn(s),n[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return K.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=e&&K.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(s=>n.set(s)),n}static accessor(e){const n=(this[so]=this[so]={accessors:{}}).accessors,s=this.prototype;function o(c){const l=Lr(c);n[l]||(Fh(s,c),n[l]=!0)}return K.isArray(e)?e.forEach(o):o(e),this}}l0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);K.reduceDescriptors(l0.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}});K.freezeMethods(l0);const Ie=l0;function D0(t,e){const r=this||si,n=e||r,s=Ie.from(n.headers);let o=n.data;return K.forEach(t,function(l){o=l.call(r,o,s.normalize(),e?e.status:void 0)}),s.normalize(),o}function Dc(t){return!!(t&&t.__CANCEL__)}function un(t,e,r){Dt.call(this,t??"canceled",Dt.ERR_CANCELED,e,r),this.name="CanceledError"}K.inherits(un,Dt,{__CANCEL__:!0});function Sh(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new Dt("Request failed with status code "+r.status,[Dt.ERR_BAD_REQUEST,Dt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Th=we.hasStandardBrowserEnv?{write(t,e,r,n,s,o){const c=[t+"="+encodeURIComponent(e)];K.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),K.isString(n)&&c.push("path="+n),K.isString(s)&&c.push("domain="+s),o===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rh(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Oh(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function wc(t,e){return t&&!Rh(e)?Oh(t,e):e}const Ph=we.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function s(o){let c=o;return e&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=s(window.location.href),function(c){const l=K.isString(c)?s(c):c;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function Ih(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function kh(t,e){t=t||10;const r=new Array(t),n=new Array(t);let s=0,o=0,c;return e=e!==void 0?e:1e3,function(d){const u=Date.now(),h=n[o];c||(c=u),r[s]=d,n[s]=u;let g=o,v=0;for(;g!==s;)v+=r[g++],g=g%t;if(s=(s+1)%t,s===o&&(o=(o+1)%t),u-c<e)return;const y=h&&u-h;return y?Math.round(v*1e3/y):void 0}}function io(t,e){let r=0;const n=kh(50,250);return s=>{const o=s.loaded,c=s.lengthComputable?s.total:void 0,l=o-r,d=n(l),u=o<=c;r=o;const h={loaded:o,total:c,progress:c?o/c:void 0,bytes:l,rate:d||void 0,estimated:d&&c&&u?(c-o)/d:void 0,event:s};h[e?"download":"upload"]=!0,t(h)}}const Nh=typeof XMLHttpRequest<"u",Hh=Nh&&function(t){return new Promise(function(r,n){let s=t.data;const o=Ie.from(t.headers).normalize();let{responseType:c,withXSRFToken:l}=t,d;function u(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}let h;if(K.isFormData(s)){if(we.hasStandardBrowserEnv||we.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((h=o.getContentType())!==!1){const[E,...B]=h?h.split(";").map(R=>R.trim()).filter(Boolean):[];o.setContentType([E||"multipart/form-data",...B].join("; "))}}let g=new XMLHttpRequest;if(t.auth){const E=t.auth.username||"",B=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(E+":"+B))}const v=wc(t.baseURL,t.url);g.open(t.method.toUpperCase(),Bc(v,t.params,t.paramsSerializer),!0),g.timeout=t.timeout;function y(){if(!g)return;const E=Ie.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!c||c==="text"||c==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:E,config:t,request:g};Sh(function(b){r(b),u()},function(b){n(b),u()},R),g=null}if("onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(n(new Dt("Request aborted",Dt.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new Dt("Network Error",Dt.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let B=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const R=t.transitional||Cc;t.timeoutErrorMessage&&(B=t.timeoutErrorMessage),n(new Dt(B,R.clarifyTimeoutError?Dt.ETIMEDOUT:Dt.ECONNABORTED,t,g)),g=null},we.hasStandardBrowserEnv&&(l&&K.isFunction(l)&&(l=l(t)),l||l!==!1&&Ph(v))){const E=t.xsrfHeaderName&&t.xsrfCookieName&&Th.read(t.xsrfCookieName);E&&o.set(t.xsrfHeaderName,E)}s===void 0&&o.setContentType(null),"setRequestHeader"in g&&K.forEach(o.toJSON(),function(B,R){g.setRequestHeader(R,B)}),K.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),c&&c!=="json"&&(g.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&g.addEventListener("progress",io(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",io(t.onUploadProgress)),(t.cancelToken||t.signal)&&(d=E=>{g&&(n(!E||E.type?new un(null,t,g):E),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d)));const m=Ih(v);if(m&&we.protocols.indexOf(m)===-1){n(new Dt("Unsupported protocol "+m+":",Dt.ERR_BAD_REQUEST,t));return}g.send(s||null)})},Ss={http:ch,xhr:Hh};K.forEach(Ss,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const oo=t=>`- ${t}`,Lh=t=>K.isFunction(t)||t===null||t===!1,Fc={getAdapter:t=>{t=K.isArray(t)?t:[t];const{length:e}=t;let r,n;const s={};for(let o=0;o<e;o++){r=t[o];let c;if(n=r,!Lh(r)&&(n=Ss[(c=String(r)).toLowerCase()],n===void 0))throw new Dt(`Unknown adapter '${c}'`);if(n)break;s[c||"#"+o]=n}if(!n){const o=Object.entries(s).map(([l,d])=>`adapter ${l} `+(d===!1?"is not supported by the environment":"is not available in the build"));let c=e?o.length>1?`since :
`+o.map(oo).join(`
`):" "+oo(o[0]):"as no adapter specified";throw new Dt("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return n},adapters:Ss};function w0(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new un(null,t)}function ao(t){return w0(t),t.headers=Ie.from(t.headers),t.data=D0.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Fc.getAdapter(t.adapter||si.adapter)(t).then(function(n){return w0(t),n.data=D0.call(t,t.transformResponse,n),n.headers=Ie.from(n.headers),n},function(n){return Dc(n)||(w0(t),n&&n.response&&(n.response.data=D0.call(t,t.transformResponse,n.response),n.response.headers=Ie.from(n.response.headers))),Promise.reject(n)})}const co=t=>t instanceof Ie?{...t}:t;function Rr(t,e){e=e||{};const r={};function n(u,h,g){return K.isPlainObject(u)&&K.isPlainObject(h)?K.merge.call({caseless:g},u,h):K.isPlainObject(h)?K.merge({},h):K.isArray(h)?h.slice():h}function s(u,h,g){if(K.isUndefined(h)){if(!K.isUndefined(u))return n(void 0,u,g)}else return n(u,h,g)}function o(u,h){if(!K.isUndefined(h))return n(void 0,h)}function c(u,h){if(K.isUndefined(h)){if(!K.isUndefined(u))return n(void 0,u)}else return n(void 0,h)}function l(u,h,g){if(g in e)return n(u,h);if(g in t)return n(void 0,u)}const d={url:o,method:o,data:o,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:l,headers:(u,h)=>s(co(u),co(h),!0)};return K.forEach(Object.keys(Object.assign({},t,e)),function(h){const g=d[h]||s,v=g(t[h],e[h],h);K.isUndefined(v)&&g!==l||(r[h]=v)}),r}const Sc="1.6.8",ii={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ii[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const lo={};ii.transitional=function(e,r,n){function s(o,c){return"[Axios v"+Sc+"] Transitional option '"+o+"'"+c+(n?". "+n:"")}return(o,c,l)=>{if(e===!1)throw new Dt(s(c," has been removed"+(r?" in "+r:"")),Dt.ERR_DEPRECATED);return r&&!lo[c]&&(lo[c]=!0),e?e(o,c,l):!0}};function Mh(t,e,r){if(typeof t!="object")throw new Dt("options must be an object",Dt.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const o=n[s],c=e[o];if(c){const l=t[o],d=l===void 0||c(l,o,t);if(d!==!0)throw new Dt("option "+o+" must be "+d,Dt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Dt("Unknown option "+o,Dt.ERR_BAD_OPTION)}}const Ts={assertOptions:Mh,validators:ii},ze=Ts.validators;class Mn{constructor(e){this.defaults=e,this.interceptors={request:new no,response:new no}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+o):n.stack=o}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Rr(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:o}=r;n!==void 0&&Ts.assertOptions(n,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1),s!=null&&(K.isFunction(s)?r.paramsSerializer={serialize:s}:Ts.assertOptions(s,{encode:ze.function,serialize:ze.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=o&&K.merge(o.common,o[r.method]);o&&K.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),r.headers=Ie.concat(c,o);const l=[];let d=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(r)===!1||(d=d&&E.synchronous,l.unshift(E.fulfilled,E.rejected))});const u=[];this.interceptors.response.forEach(function(E){u.push(E.fulfilled,E.rejected)});let h,g=0,v;if(!d){const m=[ao.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),v=m.length,h=Promise.resolve(r);g<v;)h=h.then(m[g++],m[g++]);return h}v=l.length;let y=r;for(g=0;g<v;){const m=l[g++],E=l[g++];try{y=m(y)}catch(B){E.call(this,B);break}}try{h=ao.call(this,y)}catch(m){return Promise.reject(m)}for(g=0,v=u.length;g<v;)h=h.then(u[g++],u[g++]);return h}getUri(e){e=Rr(this.defaults,e);const r=wc(e.baseURL,e.url);return Bc(r,e.params,e.paramsSerializer)}}K.forEach(["delete","get","head","options"],function(e){Mn.prototype[e]=function(r,n){return this.request(Rr(n||{},{method:e,url:r,data:(n||{}).data}))}});K.forEach(["post","put","patch"],function(e){function r(n){return function(o,c,l){return this.request(Rr(l||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:c}))}}Mn.prototype[e]=r(),Mn.prototype[e+"Form"]=r(!0)});const Tn=Mn;class oi{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(s=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](s);n._listeners=null}),this.promise.then=s=>{let o;const c=new Promise(l=>{n.subscribe(l),o=l}).then(s);return c.cancel=function(){n.unsubscribe(o)},c},e(function(o,c,l){n.reason||(n.reason=new un(o,c,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new oi(function(s){e=s}),cancel:e}}}const Vh=oi;function zh(t){return function(r){return t.apply(null,r)}}function qh(t){return K.isObject(t)&&t.isAxiosError===!0}const Rs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rs).forEach(([t,e])=>{Rs[e]=t});const jh=Rs;function Tc(t){const e=new Tn(t),r=uc(Tn.prototype.request,e);return K.extend(r,Tn.prototype,e,{allOwnKeys:!0}),K.extend(r,e,null,{allOwnKeys:!0}),r.create=function(s){return Tc(Rr(t,s))},r}const jt=Tc(si);jt.Axios=Tn;jt.CanceledError=un;jt.CancelToken=Vh;jt.isCancel=Dc;jt.VERSION=Sc;jt.toFormData=c0;jt.AxiosError=Dt;jt.Cancel=jt.CanceledError;jt.all=function(e){return Promise.all(e)};jt.spread=zh;jt.isAxiosError=qh;jt.mergeConfig=Rr;jt.AxiosHeaders=Ie;jt.formToJSON=t=>_c(K.isHTMLForm(t)?new FormData(t):t);jt.getAdapter=Fc.getAdapter;jt.HttpStatusCode=jh;jt.default=jt;const Uh={version:"1.0",isDEV:!1,baseURL:"/"};function $h(){}const er=Object.assign,Rc=typeof window<"u",u0=t=>t!==null&&typeof t=="object",Se=t=>t!=null,Os=t=>typeof t=="function",Kh=t=>u0(t)&&Os(t.then)&&Os(t.catch),Oc=t=>typeof t=="number"||/^\d+(\.\d+)?$/.test(t),Wh=()=>Rc?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function uo(t,e){const r=e.split(".");let n=t;return r.forEach(s=>{var o;n=u0(n)&&(o=n[s])!=null?o:""}),n}function Gh(t,e,r){return e.reduce((n,s)=>((!r||t[s]!==void 0)&&(n[s]=t[s]),n),{})}const fo=(t,e)=>JSON.stringify(t)===JSON.stringify(e),xr=null,$t=[Number,String],pe={type:Boolean,default:!0},Xh=t=>({type:Number,default:t}),Ke=t=>({type:$t,default:t}),Fe=t=>({type:String,default:t});var ai=typeof window<"u",Zh=t=>t===window,ho=(t,e)=>({top:0,left:0,right:t,bottom:e,width:t,height:e}),xo=t=>{const e=bt(t);if(Zh(e)){const r=e.innerWidth,n=e.innerHeight;return ho(r,n)}return e!=null&&e.getBoundingClientRect?e.getBoundingClientRect():ho(0,0)};function Pc(t){let e;tr(()=>{t(),Kn(()=>{e=!0})}),Xs(()=>{e&&t()})}function ci(t,e,r={}){if(!ai)return;const{target:n=window,passive:s=!1,capture:o=!1}=r;let c=!1,l;const d=g=>{if(c)return;const v=bt(g);v&&!l&&(v.addEventListener(t,e,{capture:o,passive:s}),l=!0)},u=g=>{if(c)return;const v=bt(g);v&&l&&(v.removeEventListener(t,e,o),l=!1)};on(()=>u(n)),Qn(()=>u(n)),Pc(()=>d(n));let h;return Lt(n)&&(h=Qt(n,(g,v)=>{u(v),d(g)})),()=>{h==null||h(),u(n),c=!0}}var bn,F0;function Yh(){if(!bn&&(bn=Bt(0),F0=Bt(0),ai)){const t=()=>{bn.value=window.innerWidth,F0.value=window.innerHeight};t(),window.addEventListener("resize",t,{passive:!0}),window.addEventListener("orientationchange",t,{passive:!0})}return{width:bn,height:F0}}var Qh=/scroll|auto|overlay/i,Jh=ai?window:void 0;function td(t){return t.tagName!=="HTML"&&t.tagName!=="BODY"&&t.nodeType===1}function ed(t,e=Jh){let r=t;for(;r&&r!==e&&td(r);){const{overflowY:n}=window.getComputedStyle(r);if(Qh.test(n))return r;r=r.parentNode}return e}var rd=Symbol("van-field");function li(t){const e=Dr(rd,null);e&&!e.customValue.value&&(e.customValue.value=t,Qt(t,()=>{e.resetValidation(),e.validateWithTrigger("onChange")}))}function po(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function nd(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function sd(t){po(window,t),po(document.body,t)}const id=Wh();function od(){id&&sd(nd())}const Ic=t=>t.stopPropagation();function wr(t,e){(typeof t.cancelable!="boolean"||t.cancelable)&&t.preventDefault(),e&&Ic(t)}Yh();function oe(t){if(Se(t))return Oc(t)?`${t}px`:String(t)}function ui(t){if(Se(t)){if(Array.isArray(t))return{width:oe(t[0]),height:oe(t[1])};const e=oe(t);return{width:e,height:e}}}function ad(t){const e={};return t!==void 0&&(e.zIndex=+t),e}const cd=/-(\w)/g,kc=t=>t.replace(cd,(e,r)=>r.toUpperCase()),ld=(t,e,r)=>Math.min(Math.max(t,e),r);function vo(t,e,r){const n=t.indexOf(e);return n===-1?t:e==="-"&&n!==0?t.slice(0,n):t.slice(0,n+1)+t.slice(n).replace(r,"")}function go(t,e=!0,r=!0){e?t=vo(t,".",/\./g):t=t.split(".")[0],r?t=vo(t,"-",/-/g):t=t.replace(/-/,"");const n=e?/[^-0-9.]/g:/[^-0-9]/g;return t.replace(n,"")}function Nc(t,e){return Math.round((t+e)*1e10)/1e10}const{hasOwnProperty:ud}=Object.prototype;function fd(t,e,r){const n=e[r];Se(n)&&(!ud.call(t,r)||!u0(n)?t[r]=n:t[r]=Hc(Object(t[r]),n))}function Hc(t,e){return Object.keys(e).forEach(r=>{fd(t,e,r)}),t}var hd={name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(t,e)=>`${t}年${e}`,rangePrompt:t=>`最多选择 ${t} `},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:t=>`${t}`,condition:t=>`满${t}元可用`},vanCouponCell:{title:"优惠券",count:t=>`${t}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const mo=Bt("zh-CN"),yo=sn({"zh-CN":hd}),dd={messages(){return yo[mo.value]},use(t,e){mo.value=t,this.add({[t]:e})},add(t={}){Hc(yo,t)}};var xd=dd;function pd(t){const e=kc(t)+".";return(r,...n)=>{const s=xd.messages(),o=uo(s,e+r)||uo(s,r);return Os(o)?o(...n):o}}function Ps(t,e){return e?typeof e=="string"?` ${t}--${e}`:Array.isArray(e)?e.reduce((r,n)=>r+Ps(t,n),""):Object.keys(e).reduce((r,n)=>r+(e[n]?Ps(t,n):""),""):""}function vd(t){return(e,r)=>(e&&typeof e!="string"&&(r=e,e=""),e=e?`${t}__${e}`:t,`${e}${Ps(e,r)}`)}function Re(t){const e=`van-${t}`;return[e,vd(e),pd(e)]}const Is="van-haptics-feedback",gd=500,Eo=5;function Lc(t,{args:e=[],done:r,canceled:n,error:s}){if(t){const o=t.apply(null,e);Kh(o)?o.then(c=>{c?r():n&&n()}).catch(s||$h):o?r():n&&n()}else r()}function He(t){return t.install=e=>{const{name:r}=t;r&&(e.component(r,t),e.component(kc(`-${r}`),t))},t}const md=Symbol();function Mc(t){const e=r0();e&&er(e.proxy,t)}const[yd,bo]=Re("badge"),Ed={dot:Boolean,max:$t,tag:Fe("div"),color:String,offset:Array,content:$t,showZero:pe,position:Fe("top-right")};var bd=ke({name:yd,props:Ed,setup(t,{slots:e}){const r=()=>{if(e.content)return!0;const{content:l,showZero:d}=t;return Se(l)&&l!==""&&(d||l!==0&&l!=="0")},n=()=>{const{dot:l,max:d,content:u}=t;if(!l&&r())return e.content?e.content():Se(d)&&Oc(u)&&+u>+d?`${d}+`:u},s=l=>l.startsWith("-")?l.replace("-",""):`-${l}`,o=ne(()=>{const l={background:t.color};if(t.offset){const[d,u]=t.offset,{position:h}=t,[g,v]=h.split("-");e.default?(typeof u=="number"?l[g]=oe(g==="top"?u:-u):l[g]=g==="top"?oe(u):s(u),typeof d=="number"?l[v]=oe(v==="left"?d:-d):l[v]=v==="left"?oe(d):s(d)):(l.marginTop=oe(u),l.marginLeft=oe(d))}return l}),c=()=>{if(r()||t.dot)return ut("div",{class:bo([t.position,{dot:t.dot,fixed:!!e.default}]),style:o.value},[n()])};return()=>{if(e.default){const{tag:l}=t;return ut(l,{class:bo("wrapper")},{default:()=>[e.default(),c()]})}return c()}}});const Bd=He(bd);let Cd=2e3;const Ad=()=>++Cd,[_d,sp]=Re("config-provider"),Dd=Symbol(_d),[wd,Bo]=Re("icon"),Fd=t=>t==null?void 0:t.includes("/"),Sd={dot:Boolean,tag:Fe("i"),name:String,size:$t,badge:$t,color:String,badgeProps:Object,classPrefix:String};var Td=ke({name:wd,props:Sd,setup(t,{slots:e}){const r=Dr(Dd,null),n=ne(()=>t.classPrefix||(r==null?void 0:r.iconPrefix)||Bo());return()=>{const{tag:s,dot:o,name:c,size:l,badge:d,color:u}=t,h=Fd(c);return ut(Bd,Je({dot:o,tag:s,class:[n.value,h?"":`${n.value}-${c}`],style:{color:u,fontSize:oe(l)},content:d},t.badgeProps),{default:()=>{var g;return[(g=e.default)==null?void 0:g.call(e),h&&ut("img",{class:Bo("image"),src:c},null)]}})}}});const fi=He(Td),[Rd,Zr]=Re("loading"),Od=Array(12).fill(null).map((t,e)=>ut("i",{class:Zr("line",String(e+1))},null)),Pd=ut("svg",{class:Zr("circular"),viewBox:"25 25 50 50"},[ut("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),Id={size:$t,type:Fe("circular"),color:String,vertical:Boolean,textSize:$t,textColor:String};var kd=ke({name:Rd,props:Id,setup(t,{slots:e}){const r=ne(()=>er({color:t.color},ui(t.size))),n=()=>{const o=t.type==="spinner"?Od:Pd;return ut("span",{class:Zr("spinner",t.type),style:r.value},[e.icon?e.icon():o])},s=()=>{var o;if(e.default)return ut("span",{class:Zr("text"),style:{fontSize:oe(t.textSize),color:(o=t.textColor)!=null?o:t.color}},[e.default()])};return()=>{const{type:o,vertical:c}=t;return ut("div",{class:Zr([o,{vertical:c}]),"aria-live":"polite","aria-busy":!0},[n(),s()])}}});const Vc=He(kd),Nd={show:Boolean,zIndex:$t,overlay:pe,duration:$t,teleport:[String,Object],lockScroll:pe,lazyRender:pe,beforeClose:Function,overlayStyle:Object,overlayClass:xr,transitionAppear:Boolean,closeOnClickOverlay:pe};function Hd(t,e){return t>e?"horizontal":e>t?"vertical":""}function zc(){const t=Bt(0),e=Bt(0),r=Bt(0),n=Bt(0),s=Bt(0),o=Bt(0),c=Bt(""),l=Bt(!0),d=()=>c.value==="vertical",u=()=>c.value==="horizontal",h=()=>{r.value=0,n.value=0,s.value=0,o.value=0,c.value="",l.value=!0};return{move:y=>{const m=y.touches[0];r.value=(m.clientX<0?0:m.clientX)-t.value,n.value=m.clientY-e.value,s.value=Math.abs(r.value),o.value=Math.abs(n.value);const E=10;(!c.value||s.value<E&&o.value<E)&&(c.value=Hd(s.value,o.value)),l.value&&(s.value>Eo||o.value>Eo)&&(l.value=!1)},start:y=>{h(),t.value=y.touches[0].clientX,e.value=y.touches[0].clientY},reset:h,startX:t,startY:e,deltaX:r,deltaY:n,offsetX:s,offsetY:o,direction:c,isVertical:d,isHorizontal:u,isTap:l}}let Mr=0;const Co="van-overflow-hidden";function Ld(t,e){const r=zc(),n="01",s="10",o=h=>{r.move(h);const g=r.deltaY.value>0?s:n,v=ed(h.target,t.value),{scrollHeight:y,offsetHeight:m,scrollTop:E}=v;let B="11";E===0?B=m>=y?"00":"01":E+m>=y&&(B="10"),B!=="11"&&r.isVertical()&&!(parseInt(B,2)&parseInt(g,2))&&wr(h,!0)},c=()=>{document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",o,{passive:!1}),Mr||document.body.classList.add(Co),Mr++},l=()=>{Mr&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",o),Mr--,Mr||document.body.classList.remove(Co))},d=()=>e()&&c(),u=()=>e()&&l();Pc(d),Qn(u),Zs(u),Qt(e,h=>{h?c():l()})}function qc(t){const e=Bt(!1);return Qt(t,r=>{r&&(e.value=r)},{immediate:!0}),r=>()=>e.value?r():null}const Ao=()=>{var t;const{scopeId:e}=((t=r0())==null?void 0:t.vnode)||{};return e?{[e]:""}:null},[Md,Vd]=Re("overlay"),zd={show:Boolean,zIndex:$t,duration:$t,className:xr,lockScroll:pe,lazyRender:pe,customStyle:Object};var qd=ke({name:Md,props:zd,setup(t,{slots:e}){const r=Bt(),n=qc(()=>t.show||!t.lazyRender),s=c=>{t.lockScroll&&wr(c,!0)},o=n(()=>{var c;const l=er(ad(t.zIndex),t.customStyle);return Se(t.duration)&&(l.animationDuration=`${t.duration}s`),Ur(ut("div",{ref:r,style:l,class:[Vd(),t.className]},[(c=e.default)==null?void 0:c.call(e)]),[[Xr,t.show]])});return ci("touchmove",s,{target:r}),()=>ut(cn,{name:"van-fade",appear:!0},{default:o})}});const jd=He(qd),Ud=er({},Nd,{round:Boolean,position:Fe("center"),closeIcon:Fe("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Fe("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[$d,_o]=Re("popup");var Kd=ke({name:$d,inheritAttrs:!1,props:Ud,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(t,{emit:e,attrs:r,slots:n}){let s,o;const c=Bt(),l=Bt(),d=qc(()=>t.show||!t.lazyRender),u=ne(()=>{const w={zIndex:c.value};if(Se(t.duration)){const N=t.position==="center"?"animationDuration":"transitionDuration";w[N]=`${t.duration}s`}return w}),h=()=>{s||(s=!0,c.value=t.zIndex!==void 0?+t.zIndex:Ad(),e("open"))},g=()=>{s&&Lc(t.beforeClose,{done(){s=!1,e("close"),e("update:show",!1)}})},v=w=>{e("clickOverlay",w),t.closeOnClickOverlay&&g()},y=()=>{if(t.overlay)return ut(jd,Je({show:t.show,class:t.overlayClass,zIndex:c.value,duration:t.duration,customStyle:t.overlayStyle,role:t.closeOnClickOverlay?"button":void 0,tabindex:t.closeOnClickOverlay?0:void 0},Ao(),{onClick:v}),{default:n["overlay-content"]})},m=w=>{e("clickCloseIcon",w),g()},E=()=>{if(t.closeable)return ut(fi,{role:"button",tabindex:0,name:t.closeIcon,class:[_o("close-icon",t.closeIconPosition),Is],classPrefix:t.iconPrefix,onClick:m},null)};let B;const R=()=>{B&&clearTimeout(B),B=setTimeout(()=>{e("opened")})},A=()=>e("closed"),b=w=>e("keydown",w),C=d(()=>{var w;const{round:N,position:F,safeAreaInsetTop:M,safeAreaInsetBottom:O}=t;return Ur(ut("div",Je({ref:l,style:u.value,role:"dialog",tabindex:0,class:[_o({round:N,[F]:F}),{"van-safe-area-top":M,"van-safe-area-bottom":O}],onKeydown:b},r,Ao()),[(w=n.default)==null?void 0:w.call(n),E()]),[[Xr,t.show]])}),T=()=>{const{position:w,transition:N,transitionAppear:F}=t,M=w==="center"?"van-fade":`van-popup-slide-${w}`;return ut(cn,{name:N||M,appear:F,onAfterEnter:R,onAfterLeave:A},{default:C})};return Qt(()=>t.show,w=>{w&&!s&&(h(),r.tabindex===0&&Kn(()=>{var N;(N=l.value)==null||N.focus()})),!w&&s&&(s=!1,e("close"))}),Mc({popupRef:l}),Ld(l,()=>t.show&&t.lockScroll),ci("popstate",()=>{t.closeOnPopstate&&(g(),o=!1)}),tr(()=>{t.show&&h()}),Xs(()=>{o&&(e("update:show",!0),o=!1)}),Qn(()=>{t.show&&t.teleport&&(g(),o=!0)}),Xa(md,()=>t.show),()=>t.teleport?ut(Lu,{to:t.teleport},{default:()=>[y(),T()]}):ut(he,null,[y(),T()])}});const jc=He(Kd);let Vr=0;function Wd(t){t?(Vr||document.body.classList.add("van-toast--unclickable"),Vr++):Vr&&(Vr--,Vr||document.body.classList.remove("van-toast--unclickable"))}const[Gd,yr]=Re("toast"),Xd=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay","zIndex"],Zd={icon:String,show:Boolean,type:Fe("text"),overlay:Boolean,message:$t,iconSize:$t,duration:Xh(2e3),position:Fe("middle"),teleport:[String,Object],wordBreak:String,className:xr,iconPrefix:String,transition:Fe("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:xr,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean,zIndex:$t};var Uc=ke({name:Gd,props:Zd,emits:["update:show"],setup(t,{emit:e,slots:r}){let n,s=!1;const o=()=>{const g=t.show&&t.forbidClick;s!==g&&(s=g,Wd(s))},c=g=>e("update:show",g),l=()=>{t.closeOnClick&&c(!1)},d=()=>clearTimeout(n),u=()=>{const{icon:g,type:v,iconSize:y,iconPrefix:m,loadingType:E}=t;if(g||v==="success"||v==="fail")return ut(fi,{name:g||v,size:y,class:yr("icon"),classPrefix:m},null);if(v==="loading")return ut(Vc,{class:yr("loading"),size:y,type:E},null)},h=()=>{const{type:g,message:v}=t;if(r.message)return ut("div",{class:yr("text")},[r.message()]);if(Se(v)&&v!=="")return g==="html"?ut("div",{key:0,class:yr("text"),innerHTML:String(v)},null):ut("div",{class:yr("text")},[v])};return Qt(()=>[t.show,t.forbidClick],o),Qt(()=>[t.show,t.type,t.message,t.duration],()=>{d(),t.show&&t.duration>0&&(n=setTimeout(()=>{c(!1)},t.duration))}),tr(o),on(o),()=>ut(jc,Je({class:[yr([t.position,t.wordBreak==="normal"?"break-normal":t.wordBreak,{[t.type]:!t.icon}]),t.className],lockScroll:!1,onClick:l,onClosed:d,"onUpdate:show":c},Gh(t,Xd)),{default:()=>[u(),h()]})}});function Yd(){const t=sn({show:!1}),e=s=>{t.show=s},r=s=>{er(t,s,{transitionAppear:!0}),e(!0)},n=()=>e(!1);return Mc({open:r,close:n,toggle:e}),{open:r,close:n,state:t,toggle:e}}function Qd(t){const e=lc(t),r=document.createElement("div");return document.body.appendChild(r),{instance:e.mount(r),unmount(){e.unmount(),document.body.removeChild(r)}}}const Jd={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let We=[],t1=!1,Do=er({},Jd);const e1=new Map;function $c(t){return u0(t)?t:{message:t}}function r1(){const{instance:t,unmount:e}=Qd({setup(){const r=Bt(""),{open:n,state:s,close:o,toggle:c}=Yd(),l=()=>{},d=()=>ut(Uc,Je(s,{onClosed:l,"onUpdate:show":c}),null);return Qt(r,u=>{s.message=u}),r0().render=d,{open:n,close:o,message:r}}});return t}function n1(){if(!We.length||t1){const t=r1();We.push(t)}return We[We.length-1]}function Rn(t={}){if(!Rc)return{};const e=n1(),r=$c(t);return e.open(er({},Do,e1.get(r.type||Do.type),r)),e}const s1=t=>e=>Rn(er({type:t},$c(e))),S0=s1("loading"),i1=t=>{We.length&&(t?(We.forEach(e=>{e.close()}),We=[]):We[0].close())};He(Uc);const[o1,T0]=Re("switch"),a1={size:$t,loading:Boolean,disabled:Boolean,modelValue:xr,activeColor:String,inactiveColor:String,activeValue:{type:xr,default:!0},inactiveValue:{type:xr,default:!1}};var c1=ke({name:o1,props:a1,emits:["change","update:modelValue"],setup(t,{emit:e,slots:r}){const n=()=>t.modelValue===t.activeValue,s=()=>{if(!t.disabled&&!t.loading){const c=n()?t.inactiveValue:t.activeValue;e("update:modelValue",c),e("change",c)}},o=()=>{if(t.loading){const c=n()?t.activeColor:t.inactiveColor;return ut(Vc,{class:T0("loading"),color:c},null)}if(r.node)return r.node()};return li(()=>t.modelValue),()=>{var c;const{size:l,loading:d,disabled:u,activeColor:h,inactiveColor:g}=t,v=n(),y={fontSize:oe(l),backgroundColor:v?h:g};return ut("div",{role:"switch",class:T0({on:v,loading:d,disabled:u}),style:y,tabindex:u?void 0:0,"aria-checked":v,onClick:s},[ut("div",{class:T0("node")},[o()]),(c=r.background)==null?void 0:c.call(r)])}}});const l1=He(c1),[u1,zr]=Re("slider"),f1={min:Ke(0),max:Ke(100),step:Ke(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:$t,buttonSize:$t,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}};var h1=ke({name:u1,props:f1,emits:["change","dragEnd","dragStart","update:modelValue"],setup(t,{emit:e,slots:r}){let n,s,o;const c=Bt(),l=[Bt(),Bt()],d=Bt(),u=zc(),h=ne(()=>Number(t.max)-Number(t.min)),g=ne(()=>{const D=t.vertical?"width":"height";return{background:t.inactiveColor,[D]:oe(t.barHeight)}}),v=D=>t.range&&Array.isArray(D),y=()=>{const{modelValue:D,min:I}=t;return v(D)?`${(D[1]-D[0])*100/h.value}%`:`${(D-Number(I))*100/h.value}%`},m=()=>{const{modelValue:D,min:I}=t;return v(D)?`${(D[0]-Number(I))*100/h.value}%`:"0%"},E=ne(()=>{const I={[t.vertical?"height":"width"]:y(),background:t.activeColor};d.value&&(I.transition="none");const V=()=>t.vertical?t.reverse?"bottom":"top":t.reverse?"right":"left";return I[V()]=m(),I}),B=D=>{const I=+t.min,V=+t.max,et=+t.step;D=ld(D,I,V);const rt=Math.round((D-I)/et)*et;return Nc(I,rt)},R=()=>{const D=t.modelValue;v(D)?o=D.map(B):o=B(D)},A=D=>{var I,V;const et=(I=D[0])!=null?I:Number(t.min),rt=(V=D[1])!=null?V:Number(t.max);return et>rt?[rt,et]:[et,rt]},b=(D,I)=>{v(D)?D=A(D).map(B):D=B(D),fo(D,t.modelValue)||e("update:modelValue",D),I&&!fo(D,o)&&e("change",D)},C=D=>{if(D.stopPropagation(),t.disabled||t.readonly)return;R();const{min:I,reverse:V,vertical:et,modelValue:rt}=t,at=xo(c),Y=()=>et?V?at.bottom-D.clientY:D.clientY-at.top:V?at.right-D.clientX:D.clientX-at.left,ct=et?at.height:at.width,yt=Number(I)+Y()/ct*h.value;if(v(rt)){const[Ct,U]=rt,z=(Ct+U)/2;yt<=z?b([yt,U],!0):b([Ct,yt],!0)}else b(yt,!0)},T=D=>{t.disabled||t.readonly||(u.start(D),s=t.modelValue,R(),d.value="start")},w=D=>{if(t.disabled||t.readonly)return;d.value==="start"&&e("dragStart",D),wr(D,!0),u.move(D),d.value="dragging";const I=xo(c),V=t.vertical?u.deltaY.value:u.deltaX.value,et=t.vertical?I.height:I.width;let rt=V/et*h.value;if(t.reverse&&(rt=-rt),v(o)){const at=t.reverse?1-n:n;s[at]=o[at]+rt}else s=o+rt;b(s)},N=D=>{t.disabled||t.readonly||(d.value==="dragging"&&(b(s,!0),e("dragEnd",D)),d.value="")},F=D=>typeof D=="number"?zr("button-wrapper",["left","right"][D]):zr("button-wrapper",t.reverse?"left":"right"),M=(D,I)=>{const V=d.value==="dragging";if(typeof I=="number"){const et=r[I===0?"left-button":"right-button"];let rt;if(V&&Array.isArray(s)&&(rt=s[0]>s[1]?n^1:n),et)return et({value:D,dragging:V,dragIndex:rt})}return r.button?r.button({value:D,dragging:V}):ut("div",{class:zr("button"),style:ui(t.buttonSize)},null)},O=D=>{const I=typeof D=="number"?t.modelValue[D]:t.modelValue;return ut("div",{ref:l[D??0],role:"slider",class:F(D),tabindex:t.disabled?void 0:0,"aria-valuemin":t.min,"aria-valuenow":I,"aria-valuemax":t.max,"aria-disabled":t.disabled||void 0,"aria-readonly":t.readonly||void 0,"aria-orientation":t.vertical?"vertical":"horizontal",onTouchstartPassive:V=>{typeof D=="number"&&(n=D),T(V)},onTouchend:N,onTouchcancel:N,onClick:Ic},[M(I,D)])};return b(t.modelValue),li(()=>t.modelValue),l.forEach(D=>{ci("touchmove",w,{target:D})}),()=>ut("div",{ref:c,style:g.value,class:zr({vertical:t.vertical,disabled:t.disabled}),onClick:C},[ut("div",{class:zr("bar"),style:E.value},[t.range?[O(0),O(1)]:O()])])}});const d1=He(h1),[x1,Bn]=Re("stepper"),p1=200,Cn=(t,e)=>String(t)===String(e),v1={min:Ke(1),max:Ke(1/0),name:Ke(""),step:Ke(1),theme:String,integer:Boolean,disabled:Boolean,showPlus:pe,showMinus:pe,showInput:pe,longPress:pe,autoFixed:pe,allowEmpty:Boolean,modelValue:$t,inputWidth:$t,buttonSize:$t,placeholder:String,disablePlus:Boolean,disableMinus:Boolean,disableInput:Boolean,beforeChange:Function,defaultValue:Ke(1),decimalLength:$t};var g1=ke({name:x1,props:v1,emits:["plus","blur","minus","focus","change","overlimit","update:modelValue"],setup(t,{emit:e}){const r=(F,M=!0)=>{const{min:O,max:D,allowEmpty:I,decimalLength:V}=t;return I&&F===""||(F=go(String(F),!t.integer),F=F===""?0:+F,F=Number.isNaN(F)?+O:F,F=M?Math.max(Math.min(+D,F),+O):F,Se(V)&&(F=F.toFixed(+V))),F},n=()=>{var F;const M=(F=t.modelValue)!=null?F:t.defaultValue,O=r(M);return Cn(O,t.modelValue)||e("update:modelValue",O),O};let s;const o=Bt(),c=Bt(n()),l=ne(()=>t.disabled||t.disableMinus||+c.value<=+t.min),d=ne(()=>t.disabled||t.disablePlus||+c.value>=+t.max),u=ne(()=>({width:oe(t.inputWidth),height:oe(t.buttonSize)})),h=ne(()=>ui(t.buttonSize)),g=()=>{const F=r(c.value);Cn(F,c.value)||(c.value=F)},v=F=>{t.beforeChange?Lc(t.beforeChange,{args:[F],done(){c.value=F}}):c.value=F},y=()=>{if(s==="plus"&&d.value||s==="minus"&&l.value){e("overlimit",s);return}const F=s==="minus"?-t.step:+t.step,M=r(Nc(+c.value,F));v(M),e(s)},m=F=>{const M=F.target,{value:O}=M,{decimalLength:D}=t;let I=go(String(O),!t.integer);if(Se(D)&&I.includes(".")){const et=I.split(".");I=`${et[0]}.${et[1].slice(0,+D)}`}t.beforeChange?M.value=String(c.value):Cn(O,I)||(M.value=I);const V=I===String(+I);v(V?+I:I)},E=F=>{var M;t.disableInput?(M=o.value)==null||M.blur():e("focus",F)},B=F=>{const M=F.target,O=r(M.value,t.autoFixed);M.value=String(O),c.value=O,Kn(()=>{e("blur",F),od()})};let R,A;const b=()=>{A=setTimeout(()=>{y(),b()},p1)},C=()=>{t.longPress&&(R=!1,clearTimeout(A),A=setTimeout(()=>{R=!0,y(),b()},gd))},T=F=>{t.longPress&&(clearTimeout(A),R&&wr(F))},w=F=>{t.disableInput&&wr(F)},N=F=>({onClick:M=>{wr(M),s=F,y()},onTouchstartPassive:()=>{s=F,C()},onTouchend:T,onTouchcancel:T});return Qt(()=>[t.max,t.min,t.integer,t.decimalLength],g),Qt(()=>t.modelValue,F=>{Cn(F,c.value)||(c.value=r(F))}),Qt(c,F=>{e("update:modelValue",F),e("change",F,{name:t.name})}),li(()=>t.modelValue),()=>ut("div",{role:"group",class:Bn([t.theme])},[Ur(ut("button",Je({type:"button",style:h.value,class:[Bn("minus",{disabled:l.value}),{[Is]:!l.value}],"aria-disabled":l.value||void 0},N("minus")),null),[[Xr,t.showMinus]]),Ur(ut("input",{ref:o,type:t.integer?"tel":"text",role:"spinbutton",class:Bn("input"),value:c.value,style:u.value,disabled:t.disabled,readonly:t.disableInput,inputmode:t.integer?"numeric":"decimal",placeholder:t.placeholder,"aria-valuemax":t.max,"aria-valuemin":t.min,"aria-valuenow":c.value,onBlur:B,onInput:m,onFocus:E,onMousedown:w},null),[[Xr,t.showInput]]),Ur(ut("button",Je({type:"button",style:h.value,class:[Bn("plus",{disabled:d.value}),{[Is]:!d.value}],"aria-disabled":d.value||void 0},N("plus")),null),[[Xr,t.showPlus]])])}});const m1=He(g1);var At=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function y1(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,s.get?s:{enumerable:!0,get:function(){return t[n]}})}),r}var Wc={exports:{}};/*! For license information please see jsencrypt.min.js.LICENSE.txt */(function(t,e){(function(r,n){t.exports=n()})(window,()=>(()=>{var r={155:c=>{var l,d,u=c.exports={};function h(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}function v(T){if(l===setTimeout)return setTimeout(T,0);if((l===h||!l)&&setTimeout)return l=setTimeout,setTimeout(T,0);try{return l(T,0)}catch{try{return l.call(null,T,0)}catch{return l.call(this,T,0)}}}(function(){try{l=typeof setTimeout=="function"?setTimeout:h}catch{l=h}try{d=typeof clearTimeout=="function"?clearTimeout:g}catch{d=g}})();var y,m=[],E=!1,B=-1;function R(){E&&y&&(E=!1,y.length?m=y.concat(m):B=-1,m.length&&A())}function A(){if(!E){var T=v(R);E=!0;for(var w=m.length;w;){for(y=m,m=[];++B<w;)y&&y[B].run();B=-1,w=m.length}y=null,E=!1,function(N){if(d===clearTimeout)return clearTimeout(N);if((d===g||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(N);try{return d(N)}catch{try{return d.call(null,N)}catch{return d.call(this,N)}}}(T)}}function b(T,w){this.fun=T,this.array=w}function C(){}u.nextTick=function(T){var w=new Array(arguments.length-1);if(arguments.length>1)for(var N=1;N<arguments.length;N++)w[N-1]=arguments[N];m.push(new b(T,w)),m.length!==1||E||v(A)},b.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=C,u.addListener=C,u.once=C,u.off=C,u.removeListener=C,u.removeAllListeners=C,u.emit=C,u.prependListener=C,u.prependOnceListener=C,u.listeners=function(T){return[]},u.binding=function(T){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(T){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}}},n={};function s(c){var l=n[c];if(l!==void 0)return l.exports;var d=n[c]={exports:{}};return r[c](d,d.exports,s),d.exports}s.d=(c,l)=>{for(var d in l)s.o(l,d)&&!s.o(c,d)&&Object.defineProperty(c,d,{enumerable:!0,get:l[d]})},s.o=(c,l)=>Object.prototype.hasOwnProperty.call(c,l);var o={};return(()=>{s.d(o,{default:()=>ce});var c="0123456789abcdefghijklmnopqrstuvwxyz";function l(x){return c.charAt(x)}function d(x,i){return x&i}function u(x,i){return x|i}function h(x,i){return x^i}function g(x,i){return x&~i}function v(x){if(x==0)return-1;var i=0;return!(65535&x)&&(x>>=16,i+=16),!(255&x)&&(x>>=8,i+=8),!(15&x)&&(x>>=4,i+=4),!(3&x)&&(x>>=2,i+=2),!(1&x)&&++i,i}function y(x){for(var i=0;x!=0;)x&=x-1,++i;return i}var m,E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B="=";function R(x){var i,a,f="";for(i=0;i+3<=x.length;i+=3)a=parseInt(x.substring(i,i+3),16),f+=E.charAt(a>>6)+E.charAt(63&a);for(i+1==x.length?(a=parseInt(x.substring(i,i+1),16),f+=E.charAt(a<<2)):i+2==x.length&&(a=parseInt(x.substring(i,i+2),16),f+=E.charAt(a>>2)+E.charAt((3&a)<<4));(3&f.length)>0;)f+=B;return f}function A(x){var i,a="",f=0,p=0;for(i=0;i<x.length&&x.charAt(i)!=B;++i){var _=E.indexOf(x.charAt(i));_<0||(f==0?(a+=l(_>>2),p=3&_,f=1):f==1?(a+=l(p<<2|_>>4),p=15&_,f=2):f==2?(a+=l(p),a+=l(_>>2),p=3&_,f=3):(a+=l(p<<2|_>>4),a+=l(15&_),f=0))}return f==1&&(a+=l(p<<2)),a}var b,C={decode:function(x){var i;if(b===void 0){var a=`= \f
\r  \u2028\u2029`;for(b=Object.create(null),i=0;i<64;++i)b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i)]=i;for(b["-"]=62,b._=63,i=0;i<a.length;++i)b[a.charAt(i)]=-1}var f=[],p=0,_=0;for(i=0;i<x.length;++i){var P=x.charAt(i);if(P=="=")break;if((P=b[P])!=-1){if(P===void 0)throw new Error("Illegal character at offset "+i);p|=P,++_>=4?(f[f.length]=p>>16,f[f.length]=p>>8&255,f[f.length]=255&p,p=0,_=0):p<<=6}}switch(_){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:f[f.length]=p>>10;break;case 3:f[f.length]=p>>16,f[f.length]=p>>8&255}return f},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(x){var i=C.re.exec(x);if(i)if(i[1])x=i[1];else{if(!i[2])throw new Error("RegExp out of sync");x=i[2]}return C.decode(x)}},T=1e13,w=function(){function x(i){this.buf=[+i||0]}return x.prototype.mulAdd=function(i,a){var f,p,_=this.buf,P=_.length;for(f=0;f<P;++f)(p=_[f]*i+a)<T?a=0:p-=(a=0|p/T)*T,_[f]=p;a>0&&(_[f]=a)},x.prototype.sub=function(i){var a,f,p=this.buf,_=p.length;for(a=0;a<_;++a)(f=p[a]-i)<0?(f+=T,i=1):i=0,p[a]=f;for(;p[p.length-1]===0;)p.pop()},x.prototype.toString=function(i){if((i||10)!=10)throw new Error("only base 10 is supported");for(var a=this.buf,f=a[a.length-1].toString(),p=a.length-2;p>=0;--p)f+=(T+a[p]).toString().substring(1);return f},x.prototype.valueOf=function(){for(var i=this.buf,a=0,f=i.length-1;f>=0;--f)a=a*T+i[f];return a},x.prototype.simplify=function(){var i=this.buf;return i.length==1?i[0]:this},x}(),N="…",F=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,M=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function O(x,i){return x.length>i&&(x=x.substring(0,i)+N),x}var D,I=function(){function x(i,a){this.hexDigits="0123456789ABCDEF",i instanceof x?(this.enc=i.enc,this.pos=i.pos):(this.enc=i,this.pos=a)}return x.prototype.get=function(i){if(i===void 0&&(i=this.pos++),i>=this.enc.length)throw new Error("Requesting byte offset ".concat(i," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(i):this.enc[i]},x.prototype.hexByte=function(i){return this.hexDigits.charAt(i>>4&15)+this.hexDigits.charAt(15&i)},x.prototype.hexDump=function(i,a,f){for(var p="",_=i;_<a;++_)if(p+=this.hexByte(this.get(_)),f!==!0)switch(15&_){case 7:p+=" ";break;case 15:p+=`
`;break;default:p+=" "}return p},x.prototype.isASCII=function(i,a){for(var f=i;f<a;++f){var p=this.get(f);if(p<32||p>176)return!1}return!0},x.prototype.parseStringISO=function(i,a){for(var f="",p=i;p<a;++p)f+=String.fromCharCode(this.get(p));return f},x.prototype.parseStringUTF=function(i,a){for(var f="",p=i;p<a;){var _=this.get(p++);f+=_<128?String.fromCharCode(_):_>191&&_<224?String.fromCharCode((31&_)<<6|63&this.get(p++)):String.fromCharCode((15&_)<<12|(63&this.get(p++))<<6|63&this.get(p++))}return f},x.prototype.parseStringBMP=function(i,a){for(var f,p,_="",P=i;P<a;)f=this.get(P++),p=this.get(P++),_+=String.fromCharCode(f<<8|p);return _},x.prototype.parseTime=function(i,a,f){var p=this.parseStringISO(i,a),_=(f?F:M).exec(p);return _?(f&&(_[1]=+_[1],_[1]+=+_[1]<70?2e3:1900),p=_[1]+"-"+_[2]+"-"+_[3]+" "+_[4],_[5]&&(p+=":"+_[5],_[6]&&(p+=":"+_[6],_[7]&&(p+="."+_[7]))),_[8]&&(p+=" UTC",_[8]!="Z"&&(p+=_[8],_[9]&&(p+=":"+_[9]))),p):"Unrecognized time: "+p},x.prototype.parseInteger=function(i,a){for(var f,p=this.get(i),_=p>127,P=_?255:0,H="";p==P&&++i<a;)p=this.get(i);if((f=a-i)==0)return _?-1:0;if(f>4){for(H=p,f<<=3;!(128&(+H^P));)H=+H<<1,--f;H="("+f+` bit)
`}_&&(p-=256);for(var q=new w(p),nt=i+1;nt<a;++nt)q.mulAdd(256,this.get(nt));return H+q.toString()},x.prototype.parseBitString=function(i,a,f){for(var p=this.get(i),_="("+((a-i-1<<3)-p)+` bit)
`,P="",H=i+1;H<a;++H){for(var q=this.get(H),nt=H==a-1?p:0,lt=7;lt>=nt;--lt)P+=q>>lt&1?"1":"0";if(P.length>f)return _+O(P,f)}return _+P},x.prototype.parseOctetString=function(i,a,f){if(this.isASCII(i,a))return O(this.parseStringISO(i,a),f);var p=a-i,_="("+p+` byte)
`;p>(f/=2)&&(a=i+f);for(var P=i;P<a;++P)_+=this.hexByte(this.get(P));return p>f&&(_+=N),_},x.prototype.parseOID=function(i,a,f){for(var p="",_=new w,P=0,H=i;H<a;++H){var q=this.get(H);if(_.mulAdd(128,127&q),P+=7,!(128&q)){if(p==="")if((_=_.simplify())instanceof w)_.sub(80),p="2."+_.toString();else{var nt=_<80?_<40?0:1:2;p=nt+"."+(_-40*nt)}else p+="."+_.toString();if(p.length>f)return O(p,f);_=new w,P=0}}return P>0&&(p+=".incomplete"),p},x}(),V=function(){function x(i,a,f,p,_){if(!(p instanceof et))throw new Error("Invalid tag value.");this.stream=i,this.header=a,this.length=f,this.tag=p,this.sub=_}return x.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},x.prototype.content=function(i){if(this.tag===void 0)return null;i===void 0&&(i=1/0);var a=this.posContent(),f=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(a,a+f,i);switch(this.tag.tagNumber){case 1:return this.stream.get(a)===0?"false":"true";case 2:return this.stream.parseInteger(a,a+f);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(a,a+f,i);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(a,a+f,i);case 6:return this.stream.parseOID(a,a+f,i);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return O(this.stream.parseStringUTF(a,a+f),i);case 18:case 19:case 20:case 21:case 22:case 26:return O(this.stream.parseStringISO(a,a+f),i);case 30:return O(this.stream.parseStringBMP(a,a+f),i);case 23:case 24:return this.stream.parseTime(a,a+f,this.tag.tagNumber==23)}return null},x.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},x.prototype.toPrettyString=function(i){i===void 0&&(i="");var a=i+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(a+="+"),a+=this.length,this.tag.tagConstructed?a+=" (constructed)":!this.tag.isUniversal()||this.tag.tagNumber!=3&&this.tag.tagNumber!=4||this.sub===null||(a+=" (encapsulates)"),a+=`
`,this.sub!==null){i+=" ";for(var f=0,p=this.sub.length;f<p;++f)a+=this.sub[f].toPrettyString(i)}return a},x.prototype.posStart=function(){return this.stream.pos},x.prototype.posContent=function(){return this.stream.pos+this.header},x.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},x.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},x.decodeLength=function(i){var a=i.get(),f=127&a;if(f==a)return f;if(f>6)throw new Error("Length over 48 bits not supported at position "+(i.pos-1));if(f===0)return null;a=0;for(var p=0;p<f;++p)a=256*a+i.get();return a},x.prototype.getHexStringValue=function(){var i=this.toHexString(),a=2*this.header,f=2*this.length;return i.substr(a,f)},x.decode=function(i){var a;a=i instanceof I?i:new I(i,0);var f=new I(a),p=new et(a),_=x.decodeLength(a),P=a.pos,H=P-f.pos,q=null,nt=function(){var Rt=[];if(_!==null){for(var mt=P+_;a.pos<mt;)Rt[Rt.length]=x.decode(a);if(a.pos!=mt)throw new Error("Content size is not correct for container starting at offset "+P)}else try{for(;;){var Nt=x.decode(a);if(Nt.tag.isEOC())break;Rt[Rt.length]=Nt}_=P-a.pos}catch(It){throw new Error("Exception while decoding undefined length content: "+It)}return Rt};if(p.tagConstructed)q=nt();else if(p.isUniversal()&&(p.tagNumber==3||p.tagNumber==4))try{if(p.tagNumber==3&&a.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");q=nt();for(var lt=0;lt<q.length;++lt)if(q[lt].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch{q=null}if(q===null){if(_===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+P);a.pos=P+Math.abs(_)}return new x(f,H,_,p,q)},x}(),et=function(){function x(i){var a=i.get();if(this.tagClass=a>>6,this.tagConstructed=(32&a)!=0,this.tagNumber=31&a,this.tagNumber==31){var f=new w;do a=i.get(),f.mulAdd(128,127&a);while(128&a);this.tagNumber=f.simplify()}}return x.prototype.isUniversal=function(){return this.tagClass===0},x.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},x}(),rt=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],at=(1<<26)/rt[rt.length-1],Y=function(){function x(i,a,f){i!=null&&(typeof i=="number"?this.fromNumber(i,a,f):a==null&&typeof i!="string"?this.fromString(i,256):this.fromString(i,a))}return x.prototype.toString=function(i){if(this.s<0)return"-"+this.negate().toString(i);var a;if(i==16)a=4;else if(i==8)a=3;else if(i==2)a=1;else if(i==32)a=5;else{if(i!=4)return this.toRadix(i);a=2}var f,p=(1<<a)-1,_=!1,P="",H=this.t,q=this.DB-H*this.DB%a;if(H-- >0)for(q<this.DB&&(f=this[H]>>q)>0&&(_=!0,P=l(f));H>=0;)q<a?(f=(this[H]&(1<<q)-1)<<a-q,f|=this[--H]>>(q+=this.DB-a)):(f=this[H]>>(q-=a)&p,q<=0&&(q+=this.DB,--H)),f>0&&(_=!0),_&&(P+=l(f));return _?P:"0"},x.prototype.negate=function(){var i=z();return x.ZERO.subTo(this,i),i},x.prototype.abs=function(){return this.s<0?this.negate():this},x.prototype.compareTo=function(i){var a=this.s-i.s;if(a!=0)return a;var f=this.t;if((a=f-i.t)!=0)return this.s<0?-a:a;for(;--f>=0;)if((a=this[f]-i[f])!=0)return a;return 0},x.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Zt(this[this.t-1]^this.s&this.DM)},x.prototype.mod=function(i){var a=z();return this.abs().divRemTo(i,null,a),this.s<0&&a.compareTo(x.ZERO)>0&&i.subTo(a,a),a},x.prototype.modPowInt=function(i,a){var f;return f=i<256||a.isEven()?new yt(a):new Ct(a),this.exp(i,f)},x.prototype.clone=function(){var i=z();return this.copyTo(i),i},x.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},x.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},x.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},x.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},x.prototype.toByteArray=function(){var i=this.t,a=[];a[0]=this.s;var f,p=this.DB-i*this.DB%8,_=0;if(i-- >0)for(p<this.DB&&(f=this[i]>>p)!=(this.s&this.DM)>>p&&(a[_++]=f|this.s<<this.DB-p);i>=0;)p<8?(f=(this[i]&(1<<p)-1)<<8-p,f|=this[--i]>>(p+=this.DB-8)):(f=this[i]>>(p-=8)&255,p<=0&&(p+=this.DB,--i)),128&f&&(f|=-256),_==0&&(128&this.s)!=(128&f)&&++_,(_>0||f!=this.s)&&(a[_++]=f);return a},x.prototype.equals=function(i){return this.compareTo(i)==0},x.prototype.min=function(i){return this.compareTo(i)<0?this:i},x.prototype.max=function(i){return this.compareTo(i)>0?this:i},x.prototype.and=function(i){var a=z();return this.bitwiseTo(i,d,a),a},x.prototype.or=function(i){var a=z();return this.bitwiseTo(i,u,a),a},x.prototype.xor=function(i){var a=z();return this.bitwiseTo(i,h,a),a},x.prototype.andNot=function(i){var a=z();return this.bitwiseTo(i,g,a),a},x.prototype.not=function(){for(var i=z(),a=0;a<this.t;++a)i[a]=this.DM&~this[a];return i.t=this.t,i.s=~this.s,i},x.prototype.shiftLeft=function(i){var a=z();return i<0?this.rShiftTo(-i,a):this.lShiftTo(i,a),a},x.prototype.shiftRight=function(i){var a=z();return i<0?this.lShiftTo(-i,a):this.rShiftTo(i,a),a},x.prototype.getLowestSetBit=function(){for(var i=0;i<this.t;++i)if(this[i]!=0)return i*this.DB+v(this[i]);return this.s<0?this.t*this.DB:-1},x.prototype.bitCount=function(){for(var i=0,a=this.s&this.DM,f=0;f<this.t;++f)i+=y(this[f]^a);return i},x.prototype.testBit=function(i){var a=Math.floor(i/this.DB);return a>=this.t?this.s!=0:(this[a]&1<<i%this.DB)!=0},x.prototype.setBit=function(i){return this.changeBit(i,u)},x.prototype.clearBit=function(i){return this.changeBit(i,g)},x.prototype.flipBit=function(i){return this.changeBit(i,h)},x.prototype.add=function(i){var a=z();return this.addTo(i,a),a},x.prototype.subtract=function(i){var a=z();return this.subTo(i,a),a},x.prototype.multiply=function(i){var a=z();return this.multiplyTo(i,a),a},x.prototype.divide=function(i){var a=z();return this.divRemTo(i,a,null),a},x.prototype.remainder=function(i){var a=z();return this.divRemTo(i,null,a),a},x.prototype.divideAndRemainder=function(i){var a=z(),f=z();return this.divRemTo(i,a,f),[a,f]},x.prototype.modPow=function(i,a){var f,p,_=i.bitLength(),P=te(1);if(_<=0)return P;f=_<18?1:_<48?3:_<144?4:_<768?5:6,p=_<8?new yt(a):a.isEven()?new U(a):new Ct(a);var H=[],q=3,nt=f-1,lt=(1<<f)-1;if(H[1]=p.convert(this),f>1){var Rt=z();for(p.sqrTo(H[1],Rt);q<=lt;)H[q]=z(),p.mulTo(Rt,H[q-2],H[q]),q+=2}var mt,Nt,It=i.t-1,Ot=!0,Ht=z();for(_=Zt(i[It])-1;It>=0;){for(_>=nt?mt=i[It]>>_-nt&lt:(mt=(i[It]&(1<<_+1)-1)<<nt-_,It>0&&(mt|=i[It-1]>>this.DB+_-nt)),q=f;!(1&mt);)mt>>=1,--q;if((_-=q)<0&&(_+=this.DB,--It),Ot)H[mt].copyTo(P),Ot=!1;else{for(;q>1;)p.sqrTo(P,Ht),p.sqrTo(Ht,P),q-=2;q>0?p.sqrTo(P,Ht):(Nt=P,P=Ht,Ht=Nt),p.mulTo(Ht,H[mt],P)}for(;It>=0&&!(i[It]&1<<_);)p.sqrTo(P,Ht),Nt=P,P=Ht,Ht=Nt,--_<0&&(_=this.DB-1,--It)}return p.revert(P)},x.prototype.modInverse=function(i){var a=i.isEven();if(this.isEven()&&a||i.signum()==0)return x.ZERO;for(var f=i.clone(),p=this.clone(),_=te(1),P=te(0),H=te(0),q=te(1);f.signum()!=0;){for(;f.isEven();)f.rShiftTo(1,f),a?(_.isEven()&&P.isEven()||(_.addTo(this,_),P.subTo(i,P)),_.rShiftTo(1,_)):P.isEven()||P.subTo(i,P),P.rShiftTo(1,P);for(;p.isEven();)p.rShiftTo(1,p),a?(H.isEven()&&q.isEven()||(H.addTo(this,H),q.subTo(i,q)),H.rShiftTo(1,H)):q.isEven()||q.subTo(i,q),q.rShiftTo(1,q);f.compareTo(p)>=0?(f.subTo(p,f),a&&_.subTo(H,_),P.subTo(q,P)):(p.subTo(f,p),a&&H.subTo(_,H),q.subTo(P,q))}return p.compareTo(x.ONE)!=0?x.ZERO:q.compareTo(i)>=0?q.subtract(i):q.signum()<0?(q.addTo(i,q),q.signum()<0?q.add(i):q):q},x.prototype.pow=function(i){return this.exp(i,new ct)},x.prototype.gcd=function(i){var a=this.s<0?this.negate():this.clone(),f=i.s<0?i.negate():i.clone();if(a.compareTo(f)<0){var p=a;a=f,f=p}var _=a.getLowestSetBit(),P=f.getLowestSetBit();if(P<0)return a;for(_<P&&(P=_),P>0&&(a.rShiftTo(P,a),f.rShiftTo(P,f));a.signum()>0;)(_=a.getLowestSetBit())>0&&a.rShiftTo(_,a),(_=f.getLowestSetBit())>0&&f.rShiftTo(_,f),a.compareTo(f)>=0?(a.subTo(f,a),a.rShiftTo(1,a)):(f.subTo(a,f),f.rShiftTo(1,f));return P>0&&f.lShiftTo(P,f),f},x.prototype.isProbablePrime=function(i){var a,f=this.abs();if(f.t==1&&f[0]<=rt[rt.length-1]){for(a=0;a<rt.length;++a)if(f[0]==rt[a])return!0;return!1}if(f.isEven())return!1;for(a=1;a<rt.length;){for(var p=rt[a],_=a+1;_<rt.length&&p<at;)p*=rt[_++];for(p=f.modInt(p);a<_;)if(p%rt[a++]==0)return!1}return f.millerRabin(i)},x.prototype.copyTo=function(i){for(var a=this.t-1;a>=0;--a)i[a]=this[a];i.t=this.t,i.s=this.s},x.prototype.fromInt=function(i){this.t=1,this.s=i<0?-1:0,i>0?this[0]=i:i<-1?this[0]=i+this.DV:this.t=0},x.prototype.fromString=function(i,a){var f;if(a==16)f=4;else if(a==8)f=3;else if(a==256)f=8;else if(a==2)f=1;else if(a==32)f=5;else{if(a!=4)return void this.fromRadix(i,a);f=2}this.t=0,this.s=0;for(var p=i.length,_=!1,P=0;--p>=0;){var H=f==8?255&+i[p]:pt(i,p);H<0?i.charAt(p)=="-"&&(_=!0):(_=!1,P==0?this[this.t++]=H:P+f>this.DB?(this[this.t-1]|=(H&(1<<this.DB-P)-1)<<P,this[this.t++]=H>>this.DB-P):this[this.t-1]|=H<<P,(P+=f)>=this.DB&&(P-=this.DB))}f==8&&128&+i[0]&&(this.s=-1,P>0&&(this[this.t-1]|=(1<<this.DB-P)-1<<P)),this.clamp(),_&&x.ZERO.subTo(this,this)},x.prototype.clamp=function(){for(var i=this.s&this.DM;this.t>0&&this[this.t-1]==i;)--this.t},x.prototype.dlShiftTo=function(i,a){var f;for(f=this.t-1;f>=0;--f)a[f+i]=this[f];for(f=i-1;f>=0;--f)a[f]=0;a.t=this.t+i,a.s=this.s},x.prototype.drShiftTo=function(i,a){for(var f=i;f<this.t;++f)a[f-i]=this[f];a.t=Math.max(this.t-i,0),a.s=this.s},x.prototype.lShiftTo=function(i,a){for(var f=i%this.DB,p=this.DB-f,_=(1<<p)-1,P=Math.floor(i/this.DB),H=this.s<<f&this.DM,q=this.t-1;q>=0;--q)a[q+P+1]=this[q]>>p|H,H=(this[q]&_)<<f;for(q=P-1;q>=0;--q)a[q]=0;a[P]=H,a.t=this.t+P+1,a.s=this.s,a.clamp()},x.prototype.rShiftTo=function(i,a){a.s=this.s;var f=Math.floor(i/this.DB);if(f>=this.t)a.t=0;else{var p=i%this.DB,_=this.DB-p,P=(1<<p)-1;a[0]=this[f]>>p;for(var H=f+1;H<this.t;++H)a[H-f-1]|=(this[H]&P)<<_,a[H-f]=this[H]>>p;p>0&&(a[this.t-f-1]|=(this.s&P)<<_),a.t=this.t-f,a.clamp()}},x.prototype.subTo=function(i,a){for(var f=0,p=0,_=Math.min(i.t,this.t);f<_;)p+=this[f]-i[f],a[f++]=p&this.DM,p>>=this.DB;if(i.t<this.t){for(p-=i.s;f<this.t;)p+=this[f],a[f++]=p&this.DM,p>>=this.DB;p+=this.s}else{for(p+=this.s;f<i.t;)p-=i[f],a[f++]=p&this.DM,p>>=this.DB;p-=i.s}a.s=p<0?-1:0,p<-1?a[f++]=this.DV+p:p>0&&(a[f++]=p),a.t=f,a.clamp()},x.prototype.multiplyTo=function(i,a){var f=this.abs(),p=i.abs(),_=f.t;for(a.t=_+p.t;--_>=0;)a[_]=0;for(_=0;_<p.t;++_)a[_+f.t]=f.am(0,p[_],a,_,0,f.t);a.s=0,a.clamp(),this.s!=i.s&&x.ZERO.subTo(a,a)},x.prototype.squareTo=function(i){for(var a=this.abs(),f=i.t=2*a.t;--f>=0;)i[f]=0;for(f=0;f<a.t-1;++f){var p=a.am(f,a[f],i,2*f,0,1);(i[f+a.t]+=a.am(f+1,2*a[f],i,2*f+1,p,a.t-f-1))>=a.DV&&(i[f+a.t]-=a.DV,i[f+a.t+1]=1)}i.t>0&&(i[i.t-1]+=a.am(f,a[f],i,2*f,0,1)),i.s=0,i.clamp()},x.prototype.divRemTo=function(i,a,f){var p=i.abs();if(!(p.t<=0)){var _=this.abs();if(_.t<p.t)return a!=null&&a.fromInt(0),void(f!=null&&this.copyTo(f));f==null&&(f=z());var P=z(),H=this.s,q=i.s,nt=this.DB-Zt(p[p.t-1]);nt>0?(p.lShiftTo(nt,P),_.lShiftTo(nt,f)):(p.copyTo(P),_.copyTo(f));var lt=P.t,Rt=P[lt-1];if(Rt!=0){var mt=Rt*(1<<this.F1)+(lt>1?P[lt-2]>>this.F2:0),Nt=this.FV/mt,It=(1<<this.F1)/mt,Ot=1<<this.F2,Ht=f.t,ye=Ht-lt,Yt=a??z();for(P.dlShiftTo(ye,Yt),f.compareTo(Yt)>=0&&(f[f.t++]=1,f.subTo(Yt,f)),x.ONE.dlShiftTo(lt,Yt),Yt.subTo(P,P);P.t<lt;)P[P.t++]=0;for(;--ye>=0;){var kt=f[--Ht]==Rt?this.DM:Math.floor(f[Ht]*Nt+(f[Ht-1]+Ot)*It);if((f[Ht]+=P.am(0,kt,f,ye,0,lt))<kt)for(P.dlShiftTo(ye,Yt),f.subTo(Yt,f);f[Ht]<--kt;)f.subTo(Yt,f)}a!=null&&(f.drShiftTo(lt,a),H!=q&&x.ZERO.subTo(a,a)),f.t=lt,f.clamp(),nt>0&&f.rShiftTo(nt,f),H<0&&x.ZERO.subTo(f,f)}}},x.prototype.invDigit=function(){if(this.t<1)return 0;var i=this[0];if(!(1&i))return 0;var a=3&i;return(a=(a=(a=(a=a*(2-(15&i)*a)&15)*(2-(255&i)*a)&255)*(2-((65535&i)*a&65535))&65535)*(2-i*a%this.DV)%this.DV)>0?this.DV-a:-a},x.prototype.isEven=function(){return(this.t>0?1&this[0]:this.s)==0},x.prototype.exp=function(i,a){if(i>4294967295||i<1)return x.ONE;var f=z(),p=z(),_=a.convert(this),P=Zt(i)-1;for(_.copyTo(f);--P>=0;)if(a.sqrTo(f,p),(i&1<<P)>0)a.mulTo(p,_,f);else{var H=f;f=p,p=H}return a.revert(f)},x.prototype.chunkSize=function(i){return Math.floor(Math.LN2*this.DB/Math.log(i))},x.prototype.toRadix=function(i){if(i==null&&(i=10),this.signum()==0||i<2||i>36)return"0";var a=this.chunkSize(i),f=Math.pow(i,a),p=te(f),_=z(),P=z(),H="";for(this.divRemTo(p,_,P);_.signum()>0;)H=(f+P.intValue()).toString(i).substr(1)+H,_.divRemTo(p,_,P);return P.intValue().toString(i)+H},x.prototype.fromRadix=function(i,a){this.fromInt(0),a==null&&(a=10);for(var f=this.chunkSize(a),p=Math.pow(a,f),_=!1,P=0,H=0,q=0;q<i.length;++q){var nt=pt(i,q);nt<0?i.charAt(q)=="-"&&this.signum()==0&&(_=!0):(H=a*H+nt,++P>=f&&(this.dMultiply(p),this.dAddOffset(H,0),P=0,H=0))}P>0&&(this.dMultiply(Math.pow(a,P)),this.dAddOffset(H,0)),_&&x.ZERO.subTo(this,this)},x.prototype.fromNumber=function(i,a,f){if(typeof a=="number")if(i<2)this.fromInt(1);else for(this.fromNumber(i,f),this.testBit(i-1)||this.bitwiseTo(x.ONE.shiftLeft(i-1),u,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(a);)this.dAddOffset(2,0),this.bitLength()>i&&this.subTo(x.ONE.shiftLeft(i-1),this);else{var p=[],_=7&i;p.length=1+(i>>3),a.nextBytes(p),_>0?p[0]&=(1<<_)-1:p[0]=0,this.fromString(p,256)}},x.prototype.bitwiseTo=function(i,a,f){var p,_,P=Math.min(i.t,this.t);for(p=0;p<P;++p)f[p]=a(this[p],i[p]);if(i.t<this.t){for(_=i.s&this.DM,p=P;p<this.t;++p)f[p]=a(this[p],_);f.t=this.t}else{for(_=this.s&this.DM,p=P;p<i.t;++p)f[p]=a(_,i[p]);f.t=i.t}f.s=a(this.s,i.s),f.clamp()},x.prototype.changeBit=function(i,a){var f=x.ONE.shiftLeft(i);return this.bitwiseTo(f,a,f),f},x.prototype.addTo=function(i,a){for(var f=0,p=0,_=Math.min(i.t,this.t);f<_;)p+=this[f]+i[f],a[f++]=p&this.DM,p>>=this.DB;if(i.t<this.t){for(p+=i.s;f<this.t;)p+=this[f],a[f++]=p&this.DM,p>>=this.DB;p+=this.s}else{for(p+=this.s;f<i.t;)p+=i[f],a[f++]=p&this.DM,p>>=this.DB;p+=i.s}a.s=p<0?-1:0,p>0?a[f++]=p:p<-1&&(a[f++]=this.DV+p),a.t=f,a.clamp()},x.prototype.dMultiply=function(i){this[this.t]=this.am(0,i-1,this,0,0,this.t),++this.t,this.clamp()},x.prototype.dAddOffset=function(i,a){if(i!=0){for(;this.t<=a;)this[this.t++]=0;for(this[a]+=i;this[a]>=this.DV;)this[a]-=this.DV,++a>=this.t&&(this[this.t++]=0),++this[a]}},x.prototype.multiplyLowerTo=function(i,a,f){var p=Math.min(this.t+i.t,a);for(f.s=0,f.t=p;p>0;)f[--p]=0;for(var _=f.t-this.t;p<_;++p)f[p+this.t]=this.am(0,i[p],f,p,0,this.t);for(_=Math.min(i.t,a);p<_;++p)this.am(0,i[p],f,p,0,a-p);f.clamp()},x.prototype.multiplyUpperTo=function(i,a,f){--a;var p=f.t=this.t+i.t-a;for(f.s=0;--p>=0;)f[p]=0;for(p=Math.max(a-this.t,0);p<i.t;++p)f[this.t+p-a]=this.am(a-p,i[p],f,0,0,this.t+p-a);f.clamp(),f.drShiftTo(1,f)},x.prototype.modInt=function(i){if(i<=0)return 0;var a=this.DV%i,f=this.s<0?i-1:0;if(this.t>0)if(a==0)f=this[0]%i;else for(var p=this.t-1;p>=0;--p)f=(a*f+this[p])%i;return f},x.prototype.millerRabin=function(i){var a=this.subtract(x.ONE),f=a.getLowestSetBit();if(f<=0)return!1;var p=a.shiftRight(f);(i=i+1>>1)>rt.length&&(i=rt.length);for(var _=z(),P=0;P<i;++P){_.fromInt(rt[Math.floor(Math.random()*rt.length)]);var H=_.modPow(p,this);if(H.compareTo(x.ONE)!=0&&H.compareTo(a)!=0){for(var q=1;q++<f&&H.compareTo(a)!=0;)if((H=H.modPowInt(2,this)).compareTo(x.ONE)==0)return!1;if(H.compareTo(a)!=0)return!1}}return!0},x.prototype.square=function(){var i=z();return this.squareTo(i),i},x.prototype.gcda=function(i,a){var f=this.s<0?this.negate():this.clone(),p=i.s<0?i.negate():i.clone();if(f.compareTo(p)<0){var _=f;f=p,p=_}var P=f.getLowestSetBit(),H=p.getLowestSetBit();if(H<0)a(f);else{P<H&&(H=P),H>0&&(f.rShiftTo(H,f),p.rShiftTo(H,p));var q=function(){(P=f.getLowestSetBit())>0&&f.rShiftTo(P,f),(P=p.getLowestSetBit())>0&&p.rShiftTo(P,p),f.compareTo(p)>=0?(f.subTo(p,f),f.rShiftTo(1,f)):(p.subTo(f,p),p.rShiftTo(1,p)),f.signum()>0?setTimeout(q,0):(H>0&&p.lShiftTo(H,p),setTimeout(function(){a(p)},0))};setTimeout(q,10)}},x.prototype.fromNumberAsync=function(i,a,f,p){if(typeof a=="number")if(i<2)this.fromInt(1);else{this.fromNumber(i,f),this.testBit(i-1)||this.bitwiseTo(x.ONE.shiftLeft(i-1),u,this),this.isEven()&&this.dAddOffset(1,0);var _=this,P=function(){_.dAddOffset(2,0),_.bitLength()>i&&_.subTo(x.ONE.shiftLeft(i-1),_),_.isProbablePrime(a)?setTimeout(function(){p()},0):setTimeout(P,0)};setTimeout(P,0)}else{var H=[],q=7&i;H.length=1+(i>>3),a.nextBytes(H),q>0?H[0]&=(1<<q)-1:H[0]=0,this.fromString(H,256)}},x}(),ct=function(){function x(){}return x.prototype.convert=function(i){return i},x.prototype.revert=function(i){return i},x.prototype.mulTo=function(i,a,f){i.multiplyTo(a,f)},x.prototype.sqrTo=function(i,a){i.squareTo(a)},x}(),yt=function(){function x(i){this.m=i}return x.prototype.convert=function(i){return i.s<0||i.compareTo(this.m)>=0?i.mod(this.m):i},x.prototype.revert=function(i){return i},x.prototype.reduce=function(i){i.divRemTo(this.m,null,i)},x.prototype.mulTo=function(i,a,f){i.multiplyTo(a,f),this.reduce(f)},x.prototype.sqrTo=function(i,a){i.squareTo(a),this.reduce(a)},x}(),Ct=function(){function x(i){this.m=i,this.mp=i.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<i.DB-15)-1,this.mt2=2*i.t}return x.prototype.convert=function(i){var a=z();return i.abs().dlShiftTo(this.m.t,a),a.divRemTo(this.m,null,a),i.s<0&&a.compareTo(Y.ZERO)>0&&this.m.subTo(a,a),a},x.prototype.revert=function(i){var a=z();return i.copyTo(a),this.reduce(a),a},x.prototype.reduce=function(i){for(;i.t<=this.mt2;)i[i.t++]=0;for(var a=0;a<this.m.t;++a){var f=32767&i[a],p=f*this.mpl+((f*this.mph+(i[a]>>15)*this.mpl&this.um)<<15)&i.DM;for(i[f=a+this.m.t]+=this.m.am(0,p,i,a,0,this.m.t);i[f]>=i.DV;)i[f]-=i.DV,i[++f]++}i.clamp(),i.drShiftTo(this.m.t,i),i.compareTo(this.m)>=0&&i.subTo(this.m,i)},x.prototype.mulTo=function(i,a,f){i.multiplyTo(a,f),this.reduce(f)},x.prototype.sqrTo=function(i,a){i.squareTo(a),this.reduce(a)},x}(),U=function(){function x(i){this.m=i,this.r2=z(),this.q3=z(),Y.ONE.dlShiftTo(2*i.t,this.r2),this.mu=this.r2.divide(i)}return x.prototype.convert=function(i){if(i.s<0||i.t>2*this.m.t)return i.mod(this.m);if(i.compareTo(this.m)<0)return i;var a=z();return i.copyTo(a),this.reduce(a),a},x.prototype.revert=function(i){return i},x.prototype.reduce=function(i){for(i.drShiftTo(this.m.t-1,this.r2),i.t>this.m.t+1&&(i.t=this.m.t+1,i.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);i.compareTo(this.r2)<0;)i.dAddOffset(1,this.m.t+1);for(i.subTo(this.r2,i);i.compareTo(this.m)>=0;)i.subTo(this.m,i)},x.prototype.mulTo=function(i,a,f){i.multiplyTo(a,f),this.reduce(f)},x.prototype.sqrTo=function(i,a){i.squareTo(a),this.reduce(a)},x}();function z(){return new Y(null)}function $(x,i){return new Y(x,i)}var Z=typeof navigator<"u";Z&&navigator.appName=="Microsoft Internet Explorer"?(Y.prototype.am=function(x,i,a,f,p,_){for(var P=32767&i,H=i>>15;--_>=0;){var q=32767&this[x],nt=this[x++]>>15,lt=H*q+nt*P;p=((q=P*q+((32767&lt)<<15)+a[f]+(1073741823&p))>>>30)+(lt>>>15)+H*nt+(p>>>30),a[f++]=1073741823&q}return p},D=30):Z&&navigator.appName!="Netscape"?(Y.prototype.am=function(x,i,a,f,p,_){for(;--_>=0;){var P=i*this[x++]+a[f]+p;p=Math.floor(P/67108864),a[f++]=67108863&P}return p},D=26):(Y.prototype.am=function(x,i,a,f,p,_){for(var P=16383&i,H=i>>14;--_>=0;){var q=16383&this[x],nt=this[x++]>>14,lt=H*q+nt*P;p=((q=P*q+((16383&lt)<<14)+a[f]+p)>>28)+(lt>>14)+H*nt,a[f++]=268435455&q}return p},D=28),Y.prototype.DB=D,Y.prototype.DM=(1<<D)-1,Y.prototype.DV=1<<D,Y.prototype.FV=Math.pow(2,52),Y.prototype.F1=52-D,Y.prototype.F2=2*D-52;var wt,dt,zt=[];for(wt=48,dt=0;dt<=9;++dt)zt[wt++]=dt;for(wt=97,dt=10;dt<36;++dt)zt[wt++]=dt;for(wt=65,dt=10;dt<36;++dt)zt[wt++]=dt;function pt(x,i){var a=zt[x.charCodeAt(i)];return a??-1}function te(x){var i=z();return i.fromInt(x),i}function Zt(x){var i,a=1;return(i=x>>>16)!=0&&(x=i,a+=16),(i=x>>8)!=0&&(x=i,a+=8),(i=x>>4)!=0&&(x=i,a+=4),(i=x>>2)!=0&&(x=i,a+=2),(i=x>>1)!=0&&(x=i,a+=1),a}Y.ZERO=te(0),Y.ONE=te(1);var de,Ut,S=function(){function x(){this.i=0,this.j=0,this.S=[]}return x.prototype.init=function(i){var a,f,p;for(a=0;a<256;++a)this.S[a]=a;for(f=0,a=0;a<256;++a)f=f+this.S[a]+i[a%i.length]&255,p=this.S[a],this.S[a]=this.S[f],this.S[f]=p;this.i=0,this.j=0},x.prototype.next=function(){var i;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,i=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=i,this.S[i+this.S[this.i]&255]},x}(),k=256,j=null;if(j==null){j=[],Ut=0;var W=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var G=new Uint32Array(256);for(window.crypto.getRandomValues(G),W=0;W<G.length;++W)j[Ut++]=255&G[W]}var J=0,st=function(x){if((J=J||0)>=256||Ut>=k)window.removeEventListener?window.removeEventListener("mousemove",st,!1):window.detachEvent&&window.detachEvent("onmousemove",st);else try{var i=x.x+x.y;j[Ut++]=255&i,J+=1}catch{}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",st,!1):window.attachEvent&&window.attachEvent("onmousemove",st))}function tt(){if(de==null){for(de=new S;Ut<k;){var x=Math.floor(65536*Math.random());j[Ut++]=255&x}for(de.init(j),Ut=0;Ut<j.length;++Ut)j[Ut]=0;Ut=0}return de.next()}var Q=function(){function x(){}return x.prototype.nextBytes=function(i){for(var a=0;a<i.length;++a)i[a]=tt()},x}(),X=function(){function x(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return x.prototype.doPublic=function(i){return i.modPowInt(this.e,this.n)},x.prototype.doPrivate=function(i){if(this.p==null||this.q==null)return i.modPow(this.d,this.n);for(var a=i.mod(this.p).modPow(this.dmp1,this.p),f=i.mod(this.q).modPow(this.dmq1,this.q);a.compareTo(f)<0;)a=a.add(this.p);return a.subtract(f).multiply(this.coeff).mod(this.p).multiply(this.q).add(f)},x.prototype.setPublic=function(i,a){i!=null&&a!=null&&i.length>0&&a.length>0&&(this.n=$(i,16),this.e=parseInt(a,16))},x.prototype.encrypt=function(i){var a=this.n.bitLength()+7>>3,f=function(q,nt){if(nt<q.length+11)return null;for(var lt=[],Rt=q.length-1;Rt>=0&&nt>0;){var mt=q.charCodeAt(Rt--);mt<128?lt[--nt]=mt:mt>127&&mt<2048?(lt[--nt]=63&mt|128,lt[--nt]=mt>>6|192):(lt[--nt]=63&mt|128,lt[--nt]=mt>>6&63|128,lt[--nt]=mt>>12|224)}lt[--nt]=0;for(var Nt=new Q,It=[];nt>2;){for(It[0]=0;It[0]==0;)Nt.nextBytes(It);lt[--nt]=It[0]}return lt[--nt]=2,lt[--nt]=0,new Y(lt)}(i,a);if(f==null)return null;var p=this.doPublic(f);if(p==null)return null;for(var _=p.toString(16),P=_.length,H=0;H<2*a-P;H++)_="0"+_;return _},x.prototype.setPrivate=function(i,a,f){i!=null&&a!=null&&i.length>0&&a.length>0&&(this.n=$(i,16),this.e=parseInt(a,16),this.d=$(f,16))},x.prototype.setPrivateEx=function(i,a,f,p,_,P,H,q){i!=null&&a!=null&&i.length>0&&a.length>0&&(this.n=$(i,16),this.e=parseInt(a,16),this.d=$(f,16),this.p=$(p,16),this.q=$(_,16),this.dmp1=$(P,16),this.dmq1=$(H,16),this.coeff=$(q,16))},x.prototype.generate=function(i,a){var f=new Q,p=i>>1;this.e=parseInt(a,16);for(var _=new Y(a,16);;){for(;this.p=new Y(i-p,1,f),this.p.subtract(Y.ONE).gcd(_).compareTo(Y.ONE)!=0||!this.p.isProbablePrime(10););for(;this.q=new Y(p,1,f),this.q.subtract(Y.ONE).gcd(_).compareTo(Y.ONE)!=0||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var P=this.p;this.p=this.q,this.q=P}var H=this.p.subtract(Y.ONE),q=this.q.subtract(Y.ONE),nt=H.multiply(q);if(nt.gcd(_).compareTo(Y.ONE)==0){this.n=this.p.multiply(this.q),this.d=_.modInverse(nt),this.dmp1=this.d.mod(H),this.dmq1=this.d.mod(q),this.coeff=this.q.modInverse(this.p);break}}},x.prototype.decrypt=function(i){var a=$(i,16),f=this.doPrivate(a);return f==null?null:function(p,_){for(var P=p.toByteArray(),H=0;H<P.length&&P[H]==0;)++H;if(P.length-H!=_-1||P[H]!=2)return null;for(++H;P[H]!=0;)if(++H>=P.length)return null;for(var q="";++H<P.length;){var nt=255&P[H];nt<128?q+=String.fromCharCode(nt):nt>191&&nt<224?(q+=String.fromCharCode((31&nt)<<6|63&P[H+1]),++H):(q+=String.fromCharCode((15&nt)<<12|(63&P[H+1])<<6|63&P[H+2]),H+=2)}return q}(f,this.n.bitLength()+7>>3)},x.prototype.generateAsync=function(i,a,f){var p=new Q,_=i>>1;this.e=parseInt(a,16);var P=new Y(a,16),H=this,q=function(){var nt=function(){if(H.p.compareTo(H.q)<=0){var mt=H.p;H.p=H.q,H.q=mt}var Nt=H.p.subtract(Y.ONE),It=H.q.subtract(Y.ONE),Ot=Nt.multiply(It);Ot.gcd(P).compareTo(Y.ONE)==0?(H.n=H.p.multiply(H.q),H.d=P.modInverse(Ot),H.dmp1=H.d.mod(Nt),H.dmq1=H.d.mod(It),H.coeff=H.q.modInverse(H.p),setTimeout(function(){f()},0)):setTimeout(q,0)},lt=function(){H.q=z(),H.q.fromNumberAsync(_,1,p,function(){H.q.subtract(Y.ONE).gcda(P,function(mt){mt.compareTo(Y.ONE)==0&&H.q.isProbablePrime(10)?setTimeout(nt,0):setTimeout(lt,0)})})},Rt=function(){H.p=z(),H.p.fromNumberAsync(i-_,1,p,function(){H.p.subtract(Y.ONE).gcda(P,function(mt){mt.compareTo(Y.ONE)==0&&H.p.isProbablePrime(10)?setTimeout(lt,0):setTimeout(Rt,0)})})};setTimeout(Rt,0)};setTimeout(q,0)},x.prototype.sign=function(i,a,f){var p=function(H,q){if(q<H.length+22)return null;for(var nt=q-H.length-6,lt="",Rt=0;Rt<nt;Rt+=2)lt+="ff";return $("0001"+lt+"00"+H,16)}((it[f]||"")+a(i).toString(),this.n.bitLength()/4);if(p==null)return null;var _=this.doPrivate(p);if(_==null)return null;var P=_.toString(16);return 1&P.length?"0"+P:P},x.prototype.verify=function(i,a,f){var p=$(a,16),_=this.doPublic(p);return _==null?null:function(P){for(var H in it)if(it.hasOwnProperty(H)){var q=it[H],nt=q.length;if(P.substr(0,nt)==q)return P.substr(nt)}return P}(_.toString(16).replace(/^1f+00/,""))==f(i).toString()},x}(),it={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},ot={};ot.lang={extend:function(x,i,a){if(!i||!x)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var f=function(){};if(f.prototype=i.prototype,x.prototype=new f,x.prototype.constructor=x,x.superclass=i.prototype,i.prototype.constructor==Object.prototype.constructor&&(i.prototype.constructor=i),a){var p;for(p in a)x.prototype[p]=a[p];var _=function(){},P=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(_=function(H,q){for(p=0;p<P.length;p+=1){var nt=P[p],lt=q[nt];typeof lt=="function"&&lt!=Object.prototype[nt]&&(H[nt]=lt)}})}catch{}_(x.prototype,a)}}};var L={};L.asn1!==void 0&&L.asn1||(L.asn1={}),L.asn1.ASN1Util=new function(){this.integerToByteHex=function(x){var i=x.toString(16);return i.length%2==1&&(i="0"+i),i},this.bigIntToMinTwosComplementsHex=function(x){var i=x.toString(16);if(i.substr(0,1)!="-")i.length%2==1?i="0"+i:i.match(/^[0-7]/)||(i="00"+i);else{var a=i.substr(1).length;a%2==1?a+=1:i.match(/^[0-7]/)||(a+=2);for(var f="",p=0;p<a;p++)f+="f";i=new Y(f,16).xor(x).add(Y.ONE).toString(16).replace(/^-/,"")}return i},this.getPEMStringFromHex=function(x,i){return hextopem(x,i)},this.newObject=function(x){var i=L.asn1,a=i.DERBoolean,f=i.DERInteger,p=i.DERBitString,_=i.DEROctetString,P=i.DERNull,H=i.DERObjectIdentifier,q=i.DEREnumerated,nt=i.DERUTF8String,lt=i.DERNumericString,Rt=i.DERPrintableString,mt=i.DERTeletexString,Nt=i.DERIA5String,It=i.DERUTCTime,Ot=i.DERGeneralizedTime,Ht=i.DERSequence,ye=i.DERSet,Yt=i.DERTaggedObject,kt=i.ASN1Util.newObject,se=Object.keys(x);if(se.length!=1)throw"key of param shall be only one.";var gt=se[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+gt+":")==-1)throw"undefined key: "+gt;if(gt=="bool")return new a(x[gt]);if(gt=="int")return new f(x[gt]);if(gt=="bitstr")return new p(x[gt]);if(gt=="octstr")return new _(x[gt]);if(gt=="null")return new P(x[gt]);if(gt=="oid")return new H(x[gt]);if(gt=="enum")return new q(x[gt]);if(gt=="utf8str")return new nt(x[gt]);if(gt=="numstr")return new lt(x[gt]);if(gt=="prnstr")return new Rt(x[gt]);if(gt=="telstr")return new mt(x[gt]);if(gt=="ia5str")return new Nt(x[gt]);if(gt=="utctime")return new It(x[gt]);if(gt=="gentime")return new Ot(x[gt]);if(gt=="seq"){for(var nr=x[gt],kr=[],sr=0;sr<nr.length;sr++){var h0=kt(nr[sr]);kr.push(h0)}return new Ht({array:kr})}if(gt=="set"){for(nr=x[gt],kr=[],sr=0;sr<nr.length;sr++)h0=kt(nr[sr]),kr.push(h0);return new ye({array:kr})}if(gt=="tag"){var Ee=x[gt];if(Object.prototype.toString.call(Ee)==="[object Array]"&&Ee.length==3){var tl=kt(Ee[2]);return new Yt({tag:Ee[0],explicit:Ee[1],obj:tl})}var hn={};if(Ee.explicit!==void 0&&(hn.explicit=Ee.explicit),Ee.tag!==void 0&&(hn.tag=Ee.tag),Ee.obj===void 0)throw"obj shall be specified for 'tag'.";return hn.obj=kt(Ee.obj),new Yt(hn)}},this.jsonToASN1HEX=function(x){return this.newObject(x).getEncodedHex()}},L.asn1.ASN1Util.oidHexToInt=function(x){for(var i="",a=parseInt(x.substr(0,2),16),f=(i=Math.floor(a/40)+"."+a%40,""),p=2;p<x.length;p+=2){var _=("00000000"+parseInt(x.substr(p,2),16).toString(2)).slice(-8);f+=_.substr(1,7),_.substr(0,1)=="0"&&(i=i+"."+new Y(f,2).toString(10),f="")}return i},L.asn1.ASN1Util.oidIntToHex=function(x){var i=function(H){var q=H.toString(16);return q.length==1&&(q="0"+q),q},a=function(H){var q="",nt=new Y(H,10).toString(2),lt=7-nt.length%7;lt==7&&(lt=0);for(var Rt="",mt=0;mt<lt;mt++)Rt+="0";for(nt=Rt+nt,mt=0;mt<nt.length-1;mt+=7){var Nt=nt.substr(mt,7);mt!=nt.length-7&&(Nt="1"+Nt),q+=i(parseInt(Nt,2))}return q};if(!x.match(/^[0-9.]+$/))throw"malformed oid string: "+x;var f="",p=x.split("."),_=40*parseInt(p[0])+parseInt(p[1]);f+=i(_),p.splice(0,2);for(var P=0;P<p.length;P++)f+=a(p[P]);return f},L.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(this.hV===void 0||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n=0,v="+this.hV;var x=this.hV.length/2,i=x.toString(16);if(i.length%2==1&&(i="0"+i),x<128)return i;var a=i.length/2;if(a>15)throw"ASN.1 length too long to represent by 8x: n = "+x.toString(16);return(128+a).toString(16)+i},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},L.asn1.DERAbstractString=function(x){L.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(i){this.hTLV=null,this.isModified=!0,this.s=i,this.hV=stohex(this.s)},this.setStringHex=function(i){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(typeof x=="string"?this.setString(x):x.str!==void 0?this.setString(x.str):x.hex!==void 0&&this.setStringHex(x.hex))},ot.lang.extend(L.asn1.DERAbstractString,L.asn1.ASN1Object),L.asn1.DERAbstractTime=function(x){L.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(i){return utc=i.getTime()+6e4*i.getTimezoneOffset(),new Date(utc)},this.formatDate=function(i,a,f){var p=this.zeroPadding,_=this.localDateToUTC(i),P=String(_.getFullYear());a=="utc"&&(P=P.substr(2,2));var H=P+p(String(_.getMonth()+1),2)+p(String(_.getDate()),2)+p(String(_.getHours()),2)+p(String(_.getMinutes()),2)+p(String(_.getSeconds()),2);if(f===!0){var q=_.getMilliseconds();if(q!=0){var nt=p(String(q),3);H=H+"."+(nt=nt.replace(/[0]+$/,""))}}return H+"Z"},this.zeroPadding=function(i,a){return i.length>=a?i:new Array(a-i.length+1).join("0")+i},this.getString=function(){return this.s},this.setString=function(i){this.hTLV=null,this.isModified=!0,this.s=i,this.hV=stohex(i)},this.setByDateValue=function(i,a,f,p,_,P){var H=new Date(Date.UTC(i,a-1,f,p,_,P,0));this.setByDate(H)},this.getFreshValueHex=function(){return this.hV}},ot.lang.extend(L.asn1.DERAbstractTime,L.asn1.ASN1Object),L.asn1.DERAbstractStructured=function(x){L.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(i){this.hTLV=null,this.isModified=!0,this.asn1Array=i},this.appendASN1Object=function(i){this.hTLV=null,this.isModified=!0,this.asn1Array.push(i)},this.asn1Array=new Array,x!==void 0&&x.array!==void 0&&(this.asn1Array=x.array)},ot.lang.extend(L.asn1.DERAbstractStructured,L.asn1.ASN1Object),L.asn1.DERBoolean=function(){L.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},ot.lang.extend(L.asn1.DERBoolean,L.asn1.ASN1Object),L.asn1.DERInteger=function(x){L.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(i){this.hTLV=null,this.isModified=!0,this.hV=L.asn1.ASN1Util.bigIntToMinTwosComplementsHex(i)},this.setByInteger=function(i){var a=new Y(String(i),10);this.setByBigInteger(a)},this.setValueHex=function(i){this.hV=i},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(x.bigint!==void 0?this.setByBigInteger(x.bigint):x.int!==void 0?this.setByInteger(x.int):typeof x=="number"?this.setByInteger(x):x.hex!==void 0&&this.setValueHex(x.hex))},ot.lang.extend(L.asn1.DERInteger,L.asn1.ASN1Object),L.asn1.DERBitString=function(x){if(x!==void 0&&x.obj!==void 0){var i=L.asn1.ASN1Util.newObject(x.obj);x.hex="00"+i.getEncodedHex()}L.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(a){this.hTLV=null,this.isModified=!0,this.hV=a},this.setUnusedBitsAndHexValue=function(a,f){if(a<0||7<a)throw"unused bits shall be from 0 to 7: u = "+a;var p="0"+a;this.hTLV=null,this.isModified=!0,this.hV=p+f},this.setByBinaryString=function(a){var f=8-(a=a.replace(/0+$/,"")).length%8;f==8&&(f=0);for(var p=0;p<=f;p++)a+="0";var _="";for(p=0;p<a.length-1;p+=8){var P=a.substr(p,8),H=parseInt(P,2).toString(16);H.length==1&&(H="0"+H),_+=H}this.hTLV=null,this.isModified=!0,this.hV="0"+f+_},this.setByBooleanArray=function(a){for(var f="",p=0;p<a.length;p++)a[p]==1?f+="1":f+="0";this.setByBinaryString(f)},this.newFalseArray=function(a){for(var f=new Array(a),p=0;p<a;p++)f[p]=!1;return f},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(typeof x=="string"&&x.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(x):x.hex!==void 0?this.setHexValueIncludingUnusedBits(x.hex):x.bin!==void 0?this.setByBinaryString(x.bin):x.array!==void 0&&this.setByBooleanArray(x.array))},ot.lang.extend(L.asn1.DERBitString,L.asn1.ASN1Object),L.asn1.DEROctetString=function(x){if(x!==void 0&&x.obj!==void 0){var i=L.asn1.ASN1Util.newObject(x.obj);x.hex=i.getEncodedHex()}L.asn1.DEROctetString.superclass.constructor.call(this,x),this.hT="04"},ot.lang.extend(L.asn1.DEROctetString,L.asn1.DERAbstractString),L.asn1.DERNull=function(){L.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},ot.lang.extend(L.asn1.DERNull,L.asn1.ASN1Object),L.asn1.DERObjectIdentifier=function(x){var i=function(f){var p=f.toString(16);return p.length==1&&(p="0"+p),p},a=function(f){var p="",_=new Y(f,10).toString(2),P=7-_.length%7;P==7&&(P=0);for(var H="",q=0;q<P;q++)H+="0";for(_=H+_,q=0;q<_.length-1;q+=7){var nt=_.substr(q,7);q!=_.length-7&&(nt="1"+nt),p+=i(parseInt(nt,2))}return p};L.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(f){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=f},this.setValueOidString=function(f){if(!f.match(/^[0-9.]+$/))throw"malformed oid string: "+f;var p="",_=f.split("."),P=40*parseInt(_[0])+parseInt(_[1]);p+=i(P),_.splice(0,2);for(var H=0;H<_.length;H++)p+=a(_[H]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=p},this.setValueName=function(f){var p=L.asn1.x509.OID.name2oid(f);if(p==="")throw"DERObjectIdentifier oidName undefined: "+f;this.setValueOidString(p)},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(typeof x=="string"?x.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(x):this.setValueName(x):x.oid!==void 0?this.setValueOidString(x.oid):x.hex!==void 0?this.setValueHex(x.hex):x.name!==void 0&&this.setValueName(x.name))},ot.lang.extend(L.asn1.DERObjectIdentifier,L.asn1.ASN1Object),L.asn1.DEREnumerated=function(x){L.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(i){this.hTLV=null,this.isModified=!0,this.hV=L.asn1.ASN1Util.bigIntToMinTwosComplementsHex(i)},this.setByInteger=function(i){var a=new Y(String(i),10);this.setByBigInteger(a)},this.setValueHex=function(i){this.hV=i},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(x.int!==void 0?this.setByInteger(x.int):typeof x=="number"?this.setByInteger(x):x.hex!==void 0&&this.setValueHex(x.hex))},ot.lang.extend(L.asn1.DEREnumerated,L.asn1.ASN1Object),L.asn1.DERUTF8String=function(x){L.asn1.DERUTF8String.superclass.constructor.call(this,x),this.hT="0c"},ot.lang.extend(L.asn1.DERUTF8String,L.asn1.DERAbstractString),L.asn1.DERNumericString=function(x){L.asn1.DERNumericString.superclass.constructor.call(this,x),this.hT="12"},ot.lang.extend(L.asn1.DERNumericString,L.asn1.DERAbstractString),L.asn1.DERPrintableString=function(x){L.asn1.DERPrintableString.superclass.constructor.call(this,x),this.hT="13"},ot.lang.extend(L.asn1.DERPrintableString,L.asn1.DERAbstractString),L.asn1.DERTeletexString=function(x){L.asn1.DERTeletexString.superclass.constructor.call(this,x),this.hT="14"},ot.lang.extend(L.asn1.DERTeletexString,L.asn1.DERAbstractString),L.asn1.DERIA5String=function(x){L.asn1.DERIA5String.superclass.constructor.call(this,x),this.hT="16"},ot.lang.extend(L.asn1.DERIA5String,L.asn1.DERAbstractString),L.asn1.DERUTCTime=function(x){L.asn1.DERUTCTime.superclass.constructor.call(this,x),this.hT="17",this.setByDate=function(i){this.hTLV=null,this.isModified=!0,this.date=i,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},x!==void 0&&(x.str!==void 0?this.setString(x.str):typeof x=="string"&&x.match(/^[0-9]{12}Z$/)?this.setString(x):x.hex!==void 0?this.setStringHex(x.hex):x.date!==void 0&&this.setByDate(x.date))},ot.lang.extend(L.asn1.DERUTCTime,L.asn1.DERAbstractTime),L.asn1.DERGeneralizedTime=function(x){L.asn1.DERGeneralizedTime.superclass.constructor.call(this,x),this.hT="18",this.withMillis=!1,this.setByDate=function(i){this.hTLV=null,this.isModified=!0,this.date=i,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},x!==void 0&&(x.str!==void 0?this.setString(x.str):typeof x=="string"&&x.match(/^[0-9]{14}Z$/)?this.setString(x):x.hex!==void 0?this.setStringHex(x.hex):x.date!==void 0&&this.setByDate(x.date),x.millis===!0&&(this.withMillis=!0))},ot.lang.extend(L.asn1.DERGeneralizedTime,L.asn1.DERAbstractTime),L.asn1.DERSequence=function(x){L.asn1.DERSequence.superclass.constructor.call(this,x),this.hT="30",this.getFreshValueHex=function(){for(var i="",a=0;a<this.asn1Array.length;a++)i+=this.asn1Array[a].getEncodedHex();return this.hV=i,this.hV}},ot.lang.extend(L.asn1.DERSequence,L.asn1.DERAbstractStructured),L.asn1.DERSet=function(x){L.asn1.DERSet.superclass.constructor.call(this,x),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var i=new Array,a=0;a<this.asn1Array.length;a++){var f=this.asn1Array[a];i.push(f.getEncodedHex())}return this.sortFlag==1&&i.sort(),this.hV=i.join(""),this.hV},x!==void 0&&x.sortflag!==void 0&&x.sortflag==0&&(this.sortFlag=!1)},ot.lang.extend(L.asn1.DERSet,L.asn1.DERAbstractStructured),L.asn1.DERTaggedObject=function(x){L.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(i,a,f){this.hT=a,this.isExplicit=i,this.asn1Object=f,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=f.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,a),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},x!==void 0&&(x.tag!==void 0&&(this.hT=x.tag),x.explicit!==void 0&&(this.isExplicit=x.explicit),x.obj!==void 0&&(this.asn1Object=x.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},ot.lang.extend(L.asn1.DERTaggedObject,L.asn1.ASN1Object);var ft,vt,Tt=(ft=function(x,i){return ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(a[p]=f[p])},ft(x,i)},function(x,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function a(){this.constructor=x}ft(x,i),x.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)}),Pt=function(x){function i(a){var f=x.call(this)||this;return a&&(typeof a=="string"?f.parseKey(a):(i.hasPrivateKeyProperty(a)||i.hasPublicKeyProperty(a))&&f.parsePropertiesFrom(a)),f}return Tt(i,x),i.prototype.parseKey=function(a){try{var f=0,p=0,_=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(a)?function(It){var Ot;if(m===void 0){var Ht="0123456789ABCDEF",ye=` \f
\r  \u2028\u2029`;for(m={},Ot=0;Ot<16;++Ot)m[Ht.charAt(Ot)]=Ot;for(Ht=Ht.toLowerCase(),Ot=10;Ot<16;++Ot)m[Ht.charAt(Ot)]=Ot;for(Ot=0;Ot<ye.length;++Ot)m[ye.charAt(Ot)]=-1}var Yt=[],kt=0,se=0;for(Ot=0;Ot<It.length;++Ot){var gt=It.charAt(Ot);if(gt=="=")break;if((gt=m[gt])!=-1){if(gt===void 0)throw new Error("Illegal character at offset "+Ot);kt|=gt,++se>=2?(Yt[Yt.length]=kt,kt=0,se=0):kt<<=4}}if(se)throw new Error("Hex encoding incomplete: 4 bits missing");return Yt}(a):C.unarmor(a),P=V.decode(_);if(P.sub.length===3&&(P=P.sub[2].sub[0]),P.sub.length===9){f=P.sub[1].getHexStringValue(),this.n=$(f,16),p=P.sub[2].getHexStringValue(),this.e=parseInt(p,16);var H=P.sub[3].getHexStringValue();this.d=$(H,16);var q=P.sub[4].getHexStringValue();this.p=$(q,16);var nt=P.sub[5].getHexStringValue();this.q=$(nt,16);var lt=P.sub[6].getHexStringValue();this.dmp1=$(lt,16);var Rt=P.sub[7].getHexStringValue();this.dmq1=$(Rt,16);var mt=P.sub[8].getHexStringValue();this.coeff=$(mt,16)}else{if(P.sub.length!==2)return!1;if(P.sub[0].sub){var Nt=P.sub[1].sub[0];f=Nt.sub[0].getHexStringValue(),this.n=$(f,16),p=Nt.sub[1].getHexStringValue(),this.e=parseInt(p,16)}else f=P.sub[0].getHexStringValue(),this.n=$(f,16),p=P.sub[1].getHexStringValue(),this.e=parseInt(p,16)}return!0}catch{return!1}},i.prototype.getPrivateBaseKey=function(){var a={array:[new L.asn1.DERInteger({int:0}),new L.asn1.DERInteger({bigint:this.n}),new L.asn1.DERInteger({int:this.e}),new L.asn1.DERInteger({bigint:this.d}),new L.asn1.DERInteger({bigint:this.p}),new L.asn1.DERInteger({bigint:this.q}),new L.asn1.DERInteger({bigint:this.dmp1}),new L.asn1.DERInteger({bigint:this.dmq1}),new L.asn1.DERInteger({bigint:this.coeff})]};return new L.asn1.DERSequence(a).getEncodedHex()},i.prototype.getPrivateBaseKeyB64=function(){return R(this.getPrivateBaseKey())},i.prototype.getPublicBaseKey=function(){var a=new L.asn1.DERSequence({array:[new L.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new L.asn1.DERNull]}),f=new L.asn1.DERSequence({array:[new L.asn1.DERInteger({bigint:this.n}),new L.asn1.DERInteger({int:this.e})]}),p=new L.asn1.DERBitString({hex:"00"+f.getEncodedHex()});return new L.asn1.DERSequence({array:[a,p]}).getEncodedHex()},i.prototype.getPublicBaseKeyB64=function(){return R(this.getPublicBaseKey())},i.wordwrap=function(a,f){if(!a)return a;var p="(.{1,"+(f=f||64)+`})( +|$
?)|(.{1,`+f+"})";return a.match(RegExp(p,"g")).join(`
`)},i.prototype.getPrivateKey=function(){var a=`-----BEGIN RSA PRIVATE KEY-----
`;return(a+=i.wordwrap(this.getPrivateBaseKeyB64())+`
`)+"-----END RSA PRIVATE KEY-----"},i.prototype.getPublicKey=function(){var a=`-----BEGIN PUBLIC KEY-----
`;return(a+=i.wordwrap(this.getPublicBaseKeyB64())+`
`)+"-----END PUBLIC KEY-----"},i.hasPublicKeyProperty=function(a){return(a=a||{}).hasOwnProperty("n")&&a.hasOwnProperty("e")},i.hasPrivateKeyProperty=function(a){return(a=a||{}).hasOwnProperty("n")&&a.hasOwnProperty("e")&&a.hasOwnProperty("d")&&a.hasOwnProperty("p")&&a.hasOwnProperty("q")&&a.hasOwnProperty("dmp1")&&a.hasOwnProperty("dmq1")&&a.hasOwnProperty("coeff")},i.prototype.parsePropertiesFrom=function(a){this.n=a.n,this.e=a.e,a.hasOwnProperty("d")&&(this.d=a.d,this.p=a.p,this.q=a.q,this.dmp1=a.dmp1,this.dmq1=a.dmq1,this.coeff=a.coeff)},i}(X),qt=s(155),Wt=qt!==void 0?(vt=qt.env)===null||vt===void 0?void 0:"3.3.2":void 0;const ce=function(){function x(i){i===void 0&&(i={}),i=i||{},this.default_key_size=i.default_key_size?parseInt(i.default_key_size,10):1024,this.default_public_exponent=i.default_public_exponent||"010001",this.log=i.log||!1,this.key=null}return x.prototype.setKey=function(i){this.log&&this.key,this.key=new Pt(i)},x.prototype.setPrivateKey=function(i){this.setKey(i)},x.prototype.setPublicKey=function(i){this.setKey(i)},x.prototype.decrypt=function(i){try{return this.getKey().decrypt(A(i))}catch{return!1}},x.prototype.encrypt=function(i){try{return R(this.getKey().encrypt(i))}catch{return!1}},x.prototype.sign=function(i,a,f){try{return R(this.getKey().sign(i,a,f))}catch{return!1}},x.prototype.verify=function(i,a,f){try{return this.getKey().verify(i,A(a),f)}catch{return!1}},x.prototype.getKey=function(i){if(!this.key){if(this.key=new Pt,i&&{}.toString.call(i)==="[object Function]")return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,i);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},x.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},x.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},x.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},x.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},x.version=Wt,x}()})(),o.default})())})(Wc);var E1=Wc.exports;const b1=Kc(E1);var Gc={exports:{}};function B1(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var R0={exports:{}};const C1={},A1=Object.freeze(Object.defineProperty({__proto__:null,default:C1},Symbol.toStringTag,{value:"Module"})),_1=y1(A1);var wo;function _t(){return wo||(wo=1,function(t,e){(function(r,n){t.exports=n()})(At,function(){var r=r||function(n,s){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof At<"u"&&At.crypto&&(o=At.crypto),!o&&typeof B1=="function")try{o=_1}catch{}var c=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function A(){}return function(b){var C;return A.prototype=b,C=new A,A.prototype=null,C}}(),d={},u=d.lib={},h=u.Base=function(){return{extend:function(A){var b=l(this);return A&&b.mixIn(A),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var b in A)A.hasOwnProperty(b)&&(this[b]=A[b]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),g=u.WordArray=h.extend({init:function(A,b){A=this.words=A||[],b!=s?this.sigBytes=b:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var b=this.words,C=A.words,T=this.sigBytes,w=A.sigBytes;if(this.clamp(),T%4)for(var N=0;N<w;N++){var F=C[N>>>2]>>>24-N%4*8&255;b[T+N>>>2]|=F<<24-(T+N)%4*8}else for(var M=0;M<w;M+=4)b[T+M>>>2]=C[M>>>2];return this.sigBytes+=w,this},clamp:function(){var A=this.words,b=this.sigBytes;A[b>>>2]&=4294967295<<32-b%4*8,A.length=n.ceil(b/4)},clone:function(){var A=h.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var b=[],C=0;C<A;C+=4)b.push(c());return new g.init(b,A)}}),v=d.enc={},y=v.Hex={stringify:function(A){for(var b=A.words,C=A.sigBytes,T=[],w=0;w<C;w++){var N=b[w>>>2]>>>24-w%4*8&255;T.push((N>>>4).toString(16)),T.push((N&15).toString(16))}return T.join("")},parse:function(A){for(var b=A.length,C=[],T=0;T<b;T+=2)C[T>>>3]|=parseInt(A.substr(T,2),16)<<24-T%8*4;return new g.init(C,b/2)}},m=v.Latin1={stringify:function(A){for(var b=A.words,C=A.sigBytes,T=[],w=0;w<C;w++){var N=b[w>>>2]>>>24-w%4*8&255;T.push(String.fromCharCode(N))}return T.join("")},parse:function(A){for(var b=A.length,C=[],T=0;T<b;T++)C[T>>>2]|=(A.charCodeAt(T)&255)<<24-T%4*8;return new g.init(C,b)}},E=v.Utf8={stringify:function(A){try{return decodeURIComponent(escape(m.stringify(A)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(A){return m.parse(unescape(encodeURIComponent(A)))}},B=u.BufferedBlockAlgorithm=h.extend({reset:function(){this._data=new g.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=E.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var b,C=this._data,T=C.words,w=C.sigBytes,N=this.blockSize,F=N*4,M=w/F;A?M=n.ceil(M):M=n.max((M|0)-this._minBufferSize,0);var O=M*N,D=n.min(O*4,w);if(O){for(var I=0;I<O;I+=N)this._doProcessBlock(T,I);b=T.splice(0,O),C.sigBytes-=D}return new g.init(b,D)},clone:function(){var A=h.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0});u.Hasher=B.extend({cfg:h.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){B.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(A){return function(b,C){return new A.init(C).finalize(b)}},_createHmacHelper:function(A){return function(b,C){return new R.HMAC.init(A,C).finalize(b)}}});var R=d.algo={};return d}(Math);return r})}(R0)),R0.exports}var O0={exports:{}},Fo;function f0(){return Fo||(Fo=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(n){var s=r,o=s.lib,c=o.Base,l=o.WordArray,d=s.x64={};d.Word=c.extend({init:function(u,h){this.high=u,this.low=h}}),d.WordArray=c.extend({init:function(u,h){u=this.words=u||[],h!=n?this.sigBytes=h:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,h=u.length,g=[],v=0;v<h;v++){var y=u[v];g.push(y.high),g.push(y.low)}return l.create(g,this.sigBytes)},clone:function(){for(var u=c.clone.call(this),h=u.words=this.words.slice(0),g=h.length,v=0;v<g;v++)h[v]=h[v].clone();return u}})}(),r})}(O0)),O0.exports}var P0={exports:{}},So;function D1(){return So||(So=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(){if(typeof ArrayBuffer=="function"){var n=r,s=n.lib,o=s.WordArray,c=o.init,l=o.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var u=d.byteLength,h=[],g=0;g<u;g++)h[g>>>2]|=d[g]<<24-g%4*8;c.call(this,h,u)}else c.apply(this,arguments)};l.prototype=o}}(),r.lib.WordArray})}(P0)),P0.exports}var I0={exports:{}},To;function w1(){return To||(To=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=n.enc;c.Utf16=c.Utf16BE={stringify:function(d){for(var u=d.words,h=d.sigBytes,g=[],v=0;v<h;v+=2){var y=u[v>>>2]>>>16-v%4*8&65535;g.push(String.fromCharCode(y))}return g.join("")},parse:function(d){for(var u=d.length,h=[],g=0;g<u;g++)h[g>>>1]|=d.charCodeAt(g)<<16-g%2*16;return o.create(h,u*2)}},c.Utf16LE={stringify:function(d){for(var u=d.words,h=d.sigBytes,g=[],v=0;v<h;v+=2){var y=l(u[v>>>2]>>>16-v%4*8&65535);g.push(String.fromCharCode(y))}return g.join("")},parse:function(d){for(var u=d.length,h=[],g=0;g<u;g++)h[g>>>1]|=l(d.charCodeAt(g)<<16-g%2*16);return o.create(h,u*2)}};function l(d){return d<<8&4278255360|d>>>8&16711935}}(),r.enc.Utf16})}(I0)),I0.exports}var k0={exports:{}},Ro;function gr(){return Ro||(Ro=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=n.enc;c.Base64={stringify:function(d){var u=d.words,h=d.sigBytes,g=this._map;d.clamp();for(var v=[],y=0;y<h;y+=3)for(var m=u[y>>>2]>>>24-y%4*8&255,E=u[y+1>>>2]>>>24-(y+1)%4*8&255,B=u[y+2>>>2]>>>24-(y+2)%4*8&255,R=m<<16|E<<8|B,A=0;A<4&&y+A*.75<h;A++)v.push(g.charAt(R>>>6*(3-A)&63));var b=g.charAt(64);if(b)for(;v.length%4;)v.push(b);return v.join("")},parse:function(d){var u=d.length,h=this._map,g=this._reverseMap;if(!g){g=this._reverseMap=[];for(var v=0;v<h.length;v++)g[h.charCodeAt(v)]=v}var y=h.charAt(64);if(y){var m=d.indexOf(y);m!==-1&&(u=m)}return l(d,u,g)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(d,u,h){for(var g=[],v=0,y=0;y<u;y++)if(y%4){var m=h[d.charCodeAt(y-1)]<<y%4*2,E=h[d.charCodeAt(y)]>>>6-y%4*2,B=m|E;g[v>>>2]|=B<<24-v%4*8,v++}return o.create(g,v)}}(),r.enc.Base64})}(k0)),k0.exports}var N0={exports:{}},Oo;function F1(){return Oo||(Oo=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=n.enc;c.Base64url={stringify:function(d,u){u===void 0&&(u=!0);var h=d.words,g=d.sigBytes,v=u?this._safe_map:this._map;d.clamp();for(var y=[],m=0;m<g;m+=3)for(var E=h[m>>>2]>>>24-m%4*8&255,B=h[m+1>>>2]>>>24-(m+1)%4*8&255,R=h[m+2>>>2]>>>24-(m+2)%4*8&255,A=E<<16|B<<8|R,b=0;b<4&&m+b*.75<g;b++)y.push(v.charAt(A>>>6*(3-b)&63));var C=v.charAt(64);if(C)for(;y.length%4;)y.push(C);return y.join("")},parse:function(d,u){u===void 0&&(u=!0);var h=d.length,g=u?this._safe_map:this._map,v=this._reverseMap;if(!v){v=this._reverseMap=[];for(var y=0;y<g.length;y++)v[g.charCodeAt(y)]=y}var m=g.charAt(64);if(m){var E=d.indexOf(m);E!==-1&&(h=E)}return l(d,h,v)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(d,u,h){for(var g=[],v=0,y=0;y<u;y++)if(y%4){var m=h[d.charCodeAt(y-1)]<<y%4*2,E=h[d.charCodeAt(y)]>>>6-y%4*2,B=m|E;g[v>>>2]|=B<<24-v%4*8,v++}return o.create(g,v)}}(),r.enc.Base64url})}(N0)),N0.exports}var H0={exports:{}},Po;function mr(){return Po||(Po=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(n){var s=r,o=s.lib,c=o.WordArray,l=o.Hasher,d=s.algo,u=[];(function(){for(var E=0;E<64;E++)u[E]=n.abs(n.sin(E+1))*4294967296|0})();var h=d.MD5=l.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(E,B){for(var R=0;R<16;R++){var A=B+R,b=E[A];E[A]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var C=this._hash.words,T=E[B+0],w=E[B+1],N=E[B+2],F=E[B+3],M=E[B+4],O=E[B+5],D=E[B+6],I=E[B+7],V=E[B+8],et=E[B+9],rt=E[B+10],at=E[B+11],Y=E[B+12],ct=E[B+13],yt=E[B+14],Ct=E[B+15],U=C[0],z=C[1],$=C[2],Z=C[3];U=g(U,z,$,Z,T,7,u[0]),Z=g(Z,U,z,$,w,12,u[1]),$=g($,Z,U,z,N,17,u[2]),z=g(z,$,Z,U,F,22,u[3]),U=g(U,z,$,Z,M,7,u[4]),Z=g(Z,U,z,$,O,12,u[5]),$=g($,Z,U,z,D,17,u[6]),z=g(z,$,Z,U,I,22,u[7]),U=g(U,z,$,Z,V,7,u[8]),Z=g(Z,U,z,$,et,12,u[9]),$=g($,Z,U,z,rt,17,u[10]),z=g(z,$,Z,U,at,22,u[11]),U=g(U,z,$,Z,Y,7,u[12]),Z=g(Z,U,z,$,ct,12,u[13]),$=g($,Z,U,z,yt,17,u[14]),z=g(z,$,Z,U,Ct,22,u[15]),U=v(U,z,$,Z,w,5,u[16]),Z=v(Z,U,z,$,D,9,u[17]),$=v($,Z,U,z,at,14,u[18]),z=v(z,$,Z,U,T,20,u[19]),U=v(U,z,$,Z,O,5,u[20]),Z=v(Z,U,z,$,rt,9,u[21]),$=v($,Z,U,z,Ct,14,u[22]),z=v(z,$,Z,U,M,20,u[23]),U=v(U,z,$,Z,et,5,u[24]),Z=v(Z,U,z,$,yt,9,u[25]),$=v($,Z,U,z,F,14,u[26]),z=v(z,$,Z,U,V,20,u[27]),U=v(U,z,$,Z,ct,5,u[28]),Z=v(Z,U,z,$,N,9,u[29]),$=v($,Z,U,z,I,14,u[30]),z=v(z,$,Z,U,Y,20,u[31]),U=y(U,z,$,Z,O,4,u[32]),Z=y(Z,U,z,$,V,11,u[33]),$=y($,Z,U,z,at,16,u[34]),z=y(z,$,Z,U,yt,23,u[35]),U=y(U,z,$,Z,w,4,u[36]),Z=y(Z,U,z,$,M,11,u[37]),$=y($,Z,U,z,I,16,u[38]),z=y(z,$,Z,U,rt,23,u[39]),U=y(U,z,$,Z,ct,4,u[40]),Z=y(Z,U,z,$,T,11,u[41]),$=y($,Z,U,z,F,16,u[42]),z=y(z,$,Z,U,D,23,u[43]),U=y(U,z,$,Z,et,4,u[44]),Z=y(Z,U,z,$,Y,11,u[45]),$=y($,Z,U,z,Ct,16,u[46]),z=y(z,$,Z,U,N,23,u[47]),U=m(U,z,$,Z,T,6,u[48]),Z=m(Z,U,z,$,I,10,u[49]),$=m($,Z,U,z,yt,15,u[50]),z=m(z,$,Z,U,O,21,u[51]),U=m(U,z,$,Z,Y,6,u[52]),Z=m(Z,U,z,$,F,10,u[53]),$=m($,Z,U,z,rt,15,u[54]),z=m(z,$,Z,U,w,21,u[55]),U=m(U,z,$,Z,V,6,u[56]),Z=m(Z,U,z,$,Ct,10,u[57]),$=m($,Z,U,z,D,15,u[58]),z=m(z,$,Z,U,ct,21,u[59]),U=m(U,z,$,Z,M,6,u[60]),Z=m(Z,U,z,$,at,10,u[61]),$=m($,Z,U,z,N,15,u[62]),z=m(z,$,Z,U,et,21,u[63]),C[0]=C[0]+U|0,C[1]=C[1]+z|0,C[2]=C[2]+$|0,C[3]=C[3]+Z|0},_doFinalize:function(){var E=this._data,B=E.words,R=this._nDataBytes*8,A=E.sigBytes*8;B[A>>>5]|=128<<24-A%32;var b=n.floor(R/4294967296),C=R;B[(A+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,B[(A+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,E.sigBytes=(B.length+1)*4,this._process();for(var T=this._hash,w=T.words,N=0;N<4;N++){var F=w[N];w[N]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return T},clone:function(){var E=l.clone.call(this);return E._hash=this._hash.clone(),E}});function g(E,B,R,A,b,C,T){var w=E+(B&R|~B&A)+b+T;return(w<<C|w>>>32-C)+B}function v(E,B,R,A,b,C,T){var w=E+(B&A|R&~A)+b+T;return(w<<C|w>>>32-C)+B}function y(E,B,R,A,b,C,T){var w=E+(B^R^A)+b+T;return(w<<C|w>>>32-C)+B}function m(E,B,R,A,b,C,T){var w=E+(R^(B|~A))+b+T;return(w<<C|w>>>32-C)+B}s.MD5=l._createHelper(h),s.HmacMD5=l._createHmacHelper(h)}(Math),r.MD5})}(H0)),H0.exports}var L0={exports:{}},Io;function Xc(){return Io||(Io=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=s.Hasher,l=n.algo,d=[],u=l.SHA1=c.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(h,g){for(var v=this._hash.words,y=v[0],m=v[1],E=v[2],B=v[3],R=v[4],A=0;A<80;A++){if(A<16)d[A]=h[g+A]|0;else{var b=d[A-3]^d[A-8]^d[A-14]^d[A-16];d[A]=b<<1|b>>>31}var C=(y<<5|y>>>27)+R+d[A];A<20?C+=(m&E|~m&B)+1518500249:A<40?C+=(m^E^B)+1859775393:A<60?C+=(m&E|m&B|E&B)-1894007588:C+=(m^E^B)-899497514,R=B,B=E,E=m<<30|m>>>2,m=y,y=C}v[0]=v[0]+y|0,v[1]=v[1]+m|0,v[2]=v[2]+E|0,v[3]=v[3]+B|0,v[4]=v[4]+R|0},_doFinalize:function(){var h=this._data,g=h.words,v=this._nDataBytes*8,y=h.sigBytes*8;return g[y>>>5]|=128<<24-y%32,g[(y+64>>>9<<4)+14]=Math.floor(v/4294967296),g[(y+64>>>9<<4)+15]=v,h.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var h=c.clone.call(this);return h._hash=this._hash.clone(),h}});n.SHA1=c._createHelper(u),n.HmacSHA1=c._createHmacHelper(u)}(),r.SHA1})}(L0)),L0.exports}var M0={exports:{}},ko;function hi(){return ko||(ko=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){return function(n){var s=r,o=s.lib,c=o.WordArray,l=o.Hasher,d=s.algo,u=[],h=[];(function(){function y(R){for(var A=n.sqrt(R),b=2;b<=A;b++)if(!(R%b))return!1;return!0}function m(R){return(R-(R|0))*4294967296|0}for(var E=2,B=0;B<64;)y(E)&&(B<8&&(u[B]=m(n.pow(E,1/2))),h[B]=m(n.pow(E,1/3)),B++),E++})();var g=[],v=d.SHA256=l.extend({_doReset:function(){this._hash=new c.init(u.slice(0))},_doProcessBlock:function(y,m){for(var E=this._hash.words,B=E[0],R=E[1],A=E[2],b=E[3],C=E[4],T=E[5],w=E[6],N=E[7],F=0;F<64;F++){if(F<16)g[F]=y[m+F]|0;else{var M=g[F-15],O=(M<<25|M>>>7)^(M<<14|M>>>18)^M>>>3,D=g[F-2],I=(D<<15|D>>>17)^(D<<13|D>>>19)^D>>>10;g[F]=O+g[F-7]+I+g[F-16]}var V=C&T^~C&w,et=B&R^B&A^R&A,rt=(B<<30|B>>>2)^(B<<19|B>>>13)^(B<<10|B>>>22),at=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),Y=N+at+V+h[F]+g[F],ct=rt+et;N=w,w=T,T=C,C=b+Y|0,b=A,A=R,R=B,B=Y+ct|0}E[0]=E[0]+B|0,E[1]=E[1]+R|0,E[2]=E[2]+A|0,E[3]=E[3]+b|0,E[4]=E[4]+C|0,E[5]=E[5]+T|0,E[6]=E[6]+w|0,E[7]=E[7]+N|0},_doFinalize:function(){var y=this._data,m=y.words,E=this._nDataBytes*8,B=y.sigBytes*8;return m[B>>>5]|=128<<24-B%32,m[(B+64>>>9<<4)+14]=n.floor(E/4294967296),m[(B+64>>>9<<4)+15]=E,y.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var y=l.clone.call(this);return y._hash=this._hash.clone(),y}});s.SHA256=l._createHelper(v),s.HmacSHA256=l._createHmacHelper(v)}(Math),r.SHA256})}(M0)),M0.exports}var V0={exports:{}},No;function S1(){return No||(No=1,function(t,e){(function(r,n,s){t.exports=n(_t(),hi())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=n.algo,l=c.SHA256,d=c.SHA224=l.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=4,u}});n.SHA224=l._createHelper(d),n.HmacSHA224=l._createHmacHelper(d)}(),r.SHA224})}(V0)),V0.exports}var z0={exports:{}},Ho;function Zc(){return Ho||(Ho=1,function(t,e){(function(r,n,s){t.exports=n(_t(),f0())})(At,function(r){return function(){var n=r,s=n.lib,o=s.Hasher,c=n.x64,l=c.Word,d=c.WordArray,u=n.algo;function h(){return l.create.apply(l,arguments)}var g=[h(1116352408,3609767458),h(1899447441,602891725),h(3049323471,3964484399),h(3921009573,2173295548),h(961987163,4081628472),h(1508970993,3053834265),h(2453635748,2937671579),h(2870763221,3664609560),h(3624381080,2734883394),h(310598401,1164996542),h(607225278,1323610764),h(1426881987,3590304994),h(1925078388,4068182383),h(2162078206,991336113),h(2614888103,633803317),h(3248222580,3479774868),h(3835390401,2666613458),h(4022224774,944711139),h(264347078,2341262773),h(604807628,2007800933),h(770255983,1495990901),h(1249150122,1856431235),h(1555081692,3175218132),h(1996064986,2198950837),h(2554220882,3999719339),h(2821834349,766784016),h(2952996808,2566594879),h(3210313671,3203337956),h(3336571891,1034457026),h(3584528711,2466948901),h(113926993,3758326383),h(338241895,168717936),h(666307205,1188179964),h(773529912,1546045734),h(1294757372,1522805485),h(1396182291,2643833823),h(1695183700,2343527390),h(1986661051,1014477480),h(2177026350,1206759142),h(2456956037,344077627),h(2730485921,1290863460),h(2820302411,3158454273),h(3259730800,3505952657),h(3345764771,106217008),h(3516065817,3606008344),h(3600352804,1432725776),h(4094571909,1467031594),h(275423344,851169720),h(430227734,3100823752),h(506948616,1363258195),h(659060556,3750685593),h(883997877,3785050280),h(958139571,3318307427),h(1322822218,3812723403),h(1537002063,2003034995),h(1747873779,3602036899),h(1955562222,1575990012),h(2024104815,1125592928),h(2227730452,2716904306),h(2361852424,442776044),h(2428436474,593698344),h(2756734187,3733110249),h(3204031479,2999351573),h(3329325298,3815920427),h(3391569614,3928383900),h(3515267271,566280711),h(3940187606,3454069534),h(4118630271,4000239992),h(116418474,1914138554),h(174292421,2731055270),h(289380356,3203993006),h(460393269,320620315),h(685471733,587496836),h(852142971,1086792851),h(1017036298,365543100),h(1126000580,2618297676),h(1288033470,3409855158),h(1501505948,4234509866),h(1607167915,987167468),h(1816402316,1246189591)],v=[];(function(){for(var m=0;m<80;m++)v[m]=h()})();var y=u.SHA512=o.extend({_doReset:function(){this._hash=new d.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(m,E){for(var B=this._hash.words,R=B[0],A=B[1],b=B[2],C=B[3],T=B[4],w=B[5],N=B[6],F=B[7],M=R.high,O=R.low,D=A.high,I=A.low,V=b.high,et=b.low,rt=C.high,at=C.low,Y=T.high,ct=T.low,yt=w.high,Ct=w.low,U=N.high,z=N.low,$=F.high,Z=F.low,wt=M,dt=O,zt=D,pt=I,te=V,Zt=et,de=rt,Ut=at,S=Y,k=ct,j=yt,W=Ct,G=U,J=z,st=$,tt=Z,Q=0;Q<80;Q++){var X,it,ot=v[Q];if(Q<16)it=ot.high=m[E+Q*2]|0,X=ot.low=m[E+Q*2+1]|0;else{var L=v[Q-15],ft=L.high,vt=L.low,Tt=(ft>>>1|vt<<31)^(ft>>>8|vt<<24)^ft>>>7,Pt=(vt>>>1|ft<<31)^(vt>>>8|ft<<24)^(vt>>>7|ft<<25),qt=v[Q-2],Wt=qt.high,ce=qt.low,x=(Wt>>>19|ce<<13)^(Wt<<3|ce>>>29)^Wt>>>6,i=(ce>>>19|Wt<<13)^(ce<<3|Wt>>>29)^(ce>>>6|Wt<<26),a=v[Q-7],f=a.high,p=a.low,_=v[Q-16],P=_.high,H=_.low;X=Pt+p,it=Tt+f+(X>>>0<Pt>>>0?1:0),X=X+i,it=it+x+(X>>>0<i>>>0?1:0),X=X+H,it=it+P+(X>>>0<H>>>0?1:0),ot.high=it,ot.low=X}var q=S&j^~S&G,nt=k&W^~k&J,lt=wt&zt^wt&te^zt&te,Rt=dt&pt^dt&Zt^pt&Zt,mt=(wt>>>28|dt<<4)^(wt<<30|dt>>>2)^(wt<<25|dt>>>7),Nt=(dt>>>28|wt<<4)^(dt<<30|wt>>>2)^(dt<<25|wt>>>7),It=(S>>>14|k<<18)^(S>>>18|k<<14)^(S<<23|k>>>9),Ot=(k>>>14|S<<18)^(k>>>18|S<<14)^(k<<23|S>>>9),Ht=g[Q],ye=Ht.high,Yt=Ht.low,kt=tt+Ot,se=st+It+(kt>>>0<tt>>>0?1:0),kt=kt+nt,se=se+q+(kt>>>0<nt>>>0?1:0),kt=kt+Yt,se=se+ye+(kt>>>0<Yt>>>0?1:0),kt=kt+X,se=se+it+(kt>>>0<X>>>0?1:0),gt=Nt+Rt,nr=mt+lt+(gt>>>0<Nt>>>0?1:0);st=G,tt=J,G=j,J=W,j=S,W=k,k=Ut+kt|0,S=de+se+(k>>>0<Ut>>>0?1:0)|0,de=te,Ut=Zt,te=zt,Zt=pt,zt=wt,pt=dt,dt=kt+gt|0,wt=se+nr+(dt>>>0<kt>>>0?1:0)|0}O=R.low=O+dt,R.high=M+wt+(O>>>0<dt>>>0?1:0),I=A.low=I+pt,A.high=D+zt+(I>>>0<pt>>>0?1:0),et=b.low=et+Zt,b.high=V+te+(et>>>0<Zt>>>0?1:0),at=C.low=at+Ut,C.high=rt+de+(at>>>0<Ut>>>0?1:0),ct=T.low=ct+k,T.high=Y+S+(ct>>>0<k>>>0?1:0),Ct=w.low=Ct+W,w.high=yt+j+(Ct>>>0<W>>>0?1:0),z=N.low=z+J,N.high=U+G+(z>>>0<J>>>0?1:0),Z=F.low=Z+tt,F.high=$+st+(Z>>>0<tt>>>0?1:0)},_doFinalize:function(){var m=this._data,E=m.words,B=this._nDataBytes*8,R=m.sigBytes*8;E[R>>>5]|=128<<24-R%32,E[(R+128>>>10<<5)+30]=Math.floor(B/4294967296),E[(R+128>>>10<<5)+31]=B,m.sigBytes=E.length*4,this._process();var A=this._hash.toX32();return A},clone:function(){var m=o.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});n.SHA512=o._createHelper(y),n.HmacSHA512=o._createHmacHelper(y)}(),r.SHA512})}(z0)),z0.exports}var q0={exports:{}},Lo;function T1(){return Lo||(Lo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),f0(),Zc())})(At,function(r){return function(){var n=r,s=n.x64,o=s.Word,c=s.WordArray,l=n.algo,d=l.SHA512,u=l.SHA384=d.extend({_doReset:function(){this._hash=new c.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var h=d._doFinalize.call(this);return h.sigBytes-=16,h}});n.SHA384=d._createHelper(u),n.HmacSHA384=d._createHmacHelper(u)}(),r.SHA384})}(q0)),q0.exports}var j0={exports:{}},Mo;function R1(){return Mo||(Mo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),f0())})(At,function(r){return function(n){var s=r,o=s.lib,c=o.WordArray,l=o.Hasher,d=s.x64,u=d.Word,h=s.algo,g=[],v=[],y=[];(function(){for(var B=1,R=0,A=0;A<24;A++){g[B+5*R]=(A+1)*(A+2)/2%64;var b=R%5,C=(2*B+3*R)%5;B=b,R=C}for(var B=0;B<5;B++)for(var R=0;R<5;R++)v[B+5*R]=R+(2*B+3*R)%5*5;for(var T=1,w=0;w<24;w++){for(var N=0,F=0,M=0;M<7;M++){if(T&1){var O=(1<<M)-1;O<32?F^=1<<O:N^=1<<O-32}T&128?T=T<<1^113:T<<=1}y[w]=u.create(N,F)}})();var m=[];(function(){for(var B=0;B<25;B++)m[B]=u.create()})();var E=h.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var B=this._state=[],R=0;R<25;R++)B[R]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(B,R){for(var A=this._state,b=this.blockSize/2,C=0;C<b;C++){var T=B[R+2*C],w=B[R+2*C+1];T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var N=A[C];N.high^=w,N.low^=T}for(var F=0;F<24;F++){for(var M=0;M<5;M++){for(var O=0,D=0,I=0;I<5;I++){var N=A[M+5*I];O^=N.high,D^=N.low}var V=m[M];V.high=O,V.low=D}for(var M=0;M<5;M++)for(var et=m[(M+4)%5],rt=m[(M+1)%5],at=rt.high,Y=rt.low,O=et.high^(at<<1|Y>>>31),D=et.low^(Y<<1|at>>>31),I=0;I<5;I++){var N=A[M+5*I];N.high^=O,N.low^=D}for(var ct=1;ct<25;ct++){var O,D,N=A[ct],yt=N.high,Ct=N.low,U=g[ct];U<32?(O=yt<<U|Ct>>>32-U,D=Ct<<U|yt>>>32-U):(O=Ct<<U-32|yt>>>64-U,D=yt<<U-32|Ct>>>64-U);var z=m[v[ct]];z.high=O,z.low=D}var $=m[0],Z=A[0];$.high=Z.high,$.low=Z.low;for(var M=0;M<5;M++)for(var I=0;I<5;I++){var ct=M+5*I,N=A[ct],wt=m[ct],dt=m[(M+1)%5+5*I],zt=m[(M+2)%5+5*I];N.high=wt.high^~dt.high&zt.high,N.low=wt.low^~dt.low&zt.low}var N=A[0],pt=y[F];N.high^=pt.high,N.low^=pt.low}},_doFinalize:function(){var B=this._data,R=B.words;this._nDataBytes*8;var A=B.sigBytes*8,b=this.blockSize*32;R[A>>>5]|=1<<24-A%32,R[(n.ceil((A+1)/b)*b>>>5)-1]|=128,B.sigBytes=R.length*4,this._process();for(var C=this._state,T=this.cfg.outputLength/8,w=T/8,N=[],F=0;F<w;F++){var M=C[F],O=M.high,D=M.low;O=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,N.push(D),N.push(O)}return new c.init(N,T)},clone:function(){for(var B=l.clone.call(this),R=B._state=this._state.slice(0),A=0;A<25;A++)R[A]=R[A].clone();return B}});s.SHA3=l._createHelper(E),s.HmacSHA3=l._createHmacHelper(E)}(Math),r.SHA3})}(j0)),j0.exports}var U0={exports:{}},Vo;function O1(){return Vo||(Vo=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/return function(n){var s=r,o=s.lib,c=o.WordArray,l=o.Hasher,d=s.algo,u=c.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),h=c.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),g=c.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),v=c.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=c.create([0,1518500249,1859775393,2400959708,2840853838]),m=c.create([1352829926,1548603684,1836072691,2053994217,0]),E=d.RIPEMD160=l.extend({_doReset:function(){this._hash=c.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,N){for(var F=0;F<16;F++){var M=N+F,O=w[M];w[M]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}var D=this._hash.words,I=y.words,V=m.words,et=u.words,rt=h.words,at=g.words,Y=v.words,ct,yt,Ct,U,z,$,Z,wt,dt,zt;$=ct=D[0],Z=yt=D[1],wt=Ct=D[2],dt=U=D[3],zt=z=D[4];for(var pt,F=0;F<80;F+=1)pt=ct+w[N+et[F]]|0,F<16?pt+=B(yt,Ct,U)+I[0]:F<32?pt+=R(yt,Ct,U)+I[1]:F<48?pt+=A(yt,Ct,U)+I[2]:F<64?pt+=b(yt,Ct,U)+I[3]:pt+=C(yt,Ct,U)+I[4],pt=pt|0,pt=T(pt,at[F]),pt=pt+z|0,ct=z,z=U,U=T(Ct,10),Ct=yt,yt=pt,pt=$+w[N+rt[F]]|0,F<16?pt+=C(Z,wt,dt)+V[0]:F<32?pt+=b(Z,wt,dt)+V[1]:F<48?pt+=A(Z,wt,dt)+V[2]:F<64?pt+=R(Z,wt,dt)+V[3]:pt+=B(Z,wt,dt)+V[4],pt=pt|0,pt=T(pt,Y[F]),pt=pt+zt|0,$=zt,zt=dt,dt=T(wt,10),wt=Z,Z=pt;pt=D[1]+Ct+dt|0,D[1]=D[2]+U+zt|0,D[2]=D[3]+z+$|0,D[3]=D[4]+ct+Z|0,D[4]=D[0]+yt+wt|0,D[0]=pt},_doFinalize:function(){var w=this._data,N=w.words,F=this._nDataBytes*8,M=w.sigBytes*8;N[M>>>5]|=128<<24-M%32,N[(M+64>>>9<<4)+14]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360,w.sigBytes=(N.length+1)*4,this._process();for(var O=this._hash,D=O.words,I=0;I<5;I++){var V=D[I];D[I]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return O},clone:function(){var w=l.clone.call(this);return w._hash=this._hash.clone(),w}});function B(w,N,F){return w^N^F}function R(w,N,F){return w&N|~w&F}function A(w,N,F){return(w|~N)^F}function b(w,N,F){return w&F|N&~F}function C(w,N,F){return w^(N|~F)}function T(w,N){return w<<N|w>>>32-N}s.RIPEMD160=l._createHelper(E),s.HmacRIPEMD160=l._createHmacHelper(E)}(),r.RIPEMD160})}(U0)),U0.exports}var $0={exports:{}},zo;function di(){return zo||(zo=1,function(t,e){(function(r,n){t.exports=n(_t())})(At,function(r){(function(){var n=r,s=n.lib,o=s.Base,c=n.enc,l=c.Utf8,d=n.algo;d.HMAC=o.extend({init:function(u,h){u=this._hasher=new u.init,typeof h=="string"&&(h=l.parse(h));var g=u.blockSize,v=g*4;h.sigBytes>v&&(h=u.finalize(h)),h.clamp();for(var y=this._oKey=h.clone(),m=this._iKey=h.clone(),E=y.words,B=m.words,R=0;R<g;R++)E[R]^=1549556828,B[R]^=909522486;y.sigBytes=m.sigBytes=v,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var h=this._hasher,g=h.finalize(u);h.reset();var v=h.finalize(this._oKey.clone().concat(g));return v}})})()})}($0)),$0.exports}var K0={exports:{}},qo;function P1(){return qo||(qo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),hi(),di())})(At,function(r){return function(){var n=r,s=n.lib,o=s.Base,c=s.WordArray,l=n.algo,d=l.SHA256,u=l.HMAC,h=l.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:d,iterations:25e4}),init:function(g){this.cfg=this.cfg.extend(g)},compute:function(g,v){for(var y=this.cfg,m=u.create(y.hasher,g),E=c.create(),B=c.create([1]),R=E.words,A=B.words,b=y.keySize,C=y.iterations;R.length<b;){var T=m.update(v).finalize(B);m.reset();for(var w=T.words,N=w.length,F=T,M=1;M<C;M++){F=m.finalize(F),m.reset();for(var O=F.words,D=0;D<N;D++)w[D]^=O[D]}E.concat(T),A[0]++}return E.sigBytes=b*4,E}});n.PBKDF2=function(g,v,y){return h.create(y).compute(g,v)}}(),r.PBKDF2})}(K0)),K0.exports}var W0={exports:{}},jo;function rr(){return jo||(jo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Xc(),di())})(At,function(r){return function(){var n=r,s=n.lib,o=s.Base,c=s.WordArray,l=n.algo,d=l.MD5,u=l.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:d,iterations:1}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,g){for(var v,y=this.cfg,m=y.hasher.create(),E=c.create(),B=E.words,R=y.keySize,A=y.iterations;B.length<R;){v&&m.update(v),v=m.update(h).finalize(g),m.reset();for(var b=1;b<A;b++)v=m.finalize(v),m.reset();E.concat(v)}return E.sigBytes=R*4,E}});n.EvpKDF=function(h,g,v){return u.create(v).compute(h,g)}}(),r.EvpKDF})}(W0)),W0.exports}var G0={exports:{}},Uo;function Jt(){return Uo||(Uo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),rr())})(At,function(r){r.lib.Cipher||function(n){var s=r,o=s.lib,c=o.Base,l=o.WordArray,d=o.BufferedBlockAlgorithm,u=s.enc;u.Utf8;var h=u.Base64,g=s.algo,v=g.EvpKDF,y=o.Cipher=d.extend({cfg:c.extend(),createEncryptor:function(O,D){return this.create(this._ENC_XFORM_MODE,O,D)},createDecryptor:function(O,D){return this.create(this._DEC_XFORM_MODE,O,D)},init:function(O,D,I){this.cfg=this.cfg.extend(I),this._xformMode=O,this._key=D,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(O){return this._append(O),this._process()},finalize:function(O){O&&this._append(O);var D=this._doFinalize();return D},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function O(D){return typeof D=="string"?M:w}return function(D){return{encrypt:function(I,V,et){return O(V).encrypt(D,I,V,et)},decrypt:function(I,V,et){return O(V).decrypt(D,I,V,et)}}}}()});o.StreamCipher=y.extend({_doFinalize:function(){var O=this._process(!0);return O},blockSize:1});var m=s.mode={},E=o.BlockCipherMode=c.extend({createEncryptor:function(O,D){return this.Encryptor.create(O,D)},createDecryptor:function(O,D){return this.Decryptor.create(O,D)},init:function(O,D){this._cipher=O,this._iv=D}}),B=m.CBC=function(){var O=E.extend();O.Encryptor=O.extend({processBlock:function(I,V){var et=this._cipher,rt=et.blockSize;D.call(this,I,V,rt),et.encryptBlock(I,V),this._prevBlock=I.slice(V,V+rt)}}),O.Decryptor=O.extend({processBlock:function(I,V){var et=this._cipher,rt=et.blockSize,at=I.slice(V,V+rt);et.decryptBlock(I,V),D.call(this,I,V,rt),this._prevBlock=at}});function D(I,V,et){var rt,at=this._iv;at?(rt=at,this._iv=n):rt=this._prevBlock;for(var Y=0;Y<et;Y++)I[V+Y]^=rt[Y]}return O}(),R=s.pad={},A=R.Pkcs7={pad:function(O,D){for(var I=D*4,V=I-O.sigBytes%I,et=V<<24|V<<16|V<<8|V,rt=[],at=0;at<V;at+=4)rt.push(et);var Y=l.create(rt,V);O.concat(Y)},unpad:function(O){var D=O.words[O.sigBytes-1>>>2]&255;O.sigBytes-=D}};o.BlockCipher=y.extend({cfg:y.cfg.extend({mode:B,padding:A}),reset:function(){var O;y.reset.call(this);var D=this.cfg,I=D.iv,V=D.mode;this._xformMode==this._ENC_XFORM_MODE?O=V.createEncryptor:(O=V.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==O?this._mode.init(this,I&&I.words):(this._mode=O.call(V,this,I&&I.words),this._mode.__creator=O)},_doProcessBlock:function(O,D){this._mode.processBlock(O,D)},_doFinalize:function(){var O,D=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(D.pad(this._data,this.blockSize),O=this._process(!0)):(O=this._process(!0),D.unpad(O)),O},blockSize:128/32});var b=o.CipherParams=c.extend({init:function(O){this.mixIn(O)},toString:function(O){return(O||this.formatter).stringify(this)}}),C=s.format={},T=C.OpenSSL={stringify:function(O){var D,I=O.ciphertext,V=O.salt;return V?D=l.create([1398893684,1701076831]).concat(V).concat(I):D=I,D.toString(h)},parse:function(O){var D,I=h.parse(O),V=I.words;return V[0]==1398893684&&V[1]==1701076831&&(D=l.create(V.slice(2,4)),V.splice(0,4),I.sigBytes-=16),b.create({ciphertext:I,salt:D})}},w=o.SerializableCipher=c.extend({cfg:c.extend({format:T}),encrypt:function(O,D,I,V){V=this.cfg.extend(V);var et=O.createEncryptor(I,V),rt=et.finalize(D),at=et.cfg;return b.create({ciphertext:rt,key:I,iv:at.iv,algorithm:O,mode:at.mode,padding:at.padding,blockSize:O.blockSize,formatter:V.format})},decrypt:function(O,D,I,V){V=this.cfg.extend(V),D=this._parse(D,V.format);var et=O.createDecryptor(I,V).finalize(D.ciphertext);return et},_parse:function(O,D){return typeof O=="string"?D.parse(O,this):O}}),N=s.kdf={},F=N.OpenSSL={execute:function(O,D,I,V,et){if(V||(V=l.random(64/8)),et)var rt=v.create({keySize:D+I,hasher:et}).compute(O,V);else var rt=v.create({keySize:D+I}).compute(O,V);var at=l.create(rt.words.slice(D),I*4);return rt.sigBytes=D*4,b.create({key:rt,iv:at,salt:V})}},M=o.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:F}),encrypt:function(O,D,I,V){V=this.cfg.extend(V);var et=V.kdf.execute(I,O.keySize,O.ivSize,V.salt,V.hasher);V.iv=et.iv;var rt=w.encrypt.call(this,O,D,et.key,V);return rt.mixIn(et),rt},decrypt:function(O,D,I,V){V=this.cfg.extend(V),D=this._parse(D,V.format);var et=V.kdf.execute(I,O.keySize,O.ivSize,D.salt,V.hasher);V.iv=et.iv;var rt=w.decrypt.call(this,O,D,et.key,V);return rt}})}()})}(G0)),G0.exports}var X0={exports:{}},$o;function I1(){return $o||($o=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(o,c){var l=this._cipher,d=l.blockSize;s.call(this,o,c,d,l),this._prevBlock=o.slice(c,c+d)}}),n.Decryptor=n.extend({processBlock:function(o,c){var l=this._cipher,d=l.blockSize,u=o.slice(c,c+d);s.call(this,o,c,d,l),this._prevBlock=u}});function s(o,c,l,d){var u,h=this._iv;h?(u=h.slice(0),this._iv=void 0):u=this._prevBlock,d.encryptBlock(u,0);for(var g=0;g<l;g++)o[c+g]^=u[g]}return n}(),r.mode.CFB})}(X0)),X0.exports}var Z0={exports:{}},Ko;function k1(){return Ko||(Ko=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.mode.CTR=function(){var n=r.lib.BlockCipherMode.extend(),s=n.Encryptor=n.extend({processBlock:function(o,c){var l=this._cipher,d=l.blockSize,u=this._iv,h=this._counter;u&&(h=this._counter=u.slice(0),this._iv=void 0);var g=h.slice(0);l.encryptBlock(g,0),h[d-1]=h[d-1]+1|0;for(var v=0;v<d;v++)o[c+v]^=g[v]}});return n.Decryptor=s,n}(),r.mode.CTR})}(Z0)),Z0.exports}var Y0={exports:{}},Wo;function N1(){return Wo||(Wo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/return r.mode.CTRGladman=function(){var n=r.lib.BlockCipherMode.extend();function s(l){if((l>>24&255)===255){var d=l>>16&255,u=l>>8&255,h=l&255;d===255?(d=0,u===255?(u=0,h===255?h=0:++h):++u):++d,l=0,l+=d<<16,l+=u<<8,l+=h}else l+=1<<24;return l}function o(l){return(l[0]=s(l[0]))===0&&(l[1]=s(l[1])),l}var c=n.Encryptor=n.extend({processBlock:function(l,d){var u=this._cipher,h=u.blockSize,g=this._iv,v=this._counter;g&&(v=this._counter=g.slice(0),this._iv=void 0),o(v);var y=v.slice(0);u.encryptBlock(y,0);for(var m=0;m<h;m++)l[d+m]^=y[m]}});return n.Decryptor=c,n}(),r.mode.CTRGladman})}(Y0)),Y0.exports}var Q0={exports:{}},Go;function H1(){return Go||(Go=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.mode.OFB=function(){var n=r.lib.BlockCipherMode.extend(),s=n.Encryptor=n.extend({processBlock:function(o,c){var l=this._cipher,d=l.blockSize,u=this._iv,h=this._keystream;u&&(h=this._keystream=u.slice(0),this._iv=void 0),l.encryptBlock(h,0);for(var g=0;g<d;g++)o[c+g]^=h[g]}});return n.Decryptor=s,n}(),r.mode.OFB})}(Q0)),Q0.exports}var J0={exports:{}},Xo;function L1(){return Xo||(Xo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.mode.ECB=function(){var n=r.lib.BlockCipherMode.extend();return n.Encryptor=n.extend({processBlock:function(s,o){this._cipher.encryptBlock(s,o)}}),n.Decryptor=n.extend({processBlock:function(s,o){this._cipher.decryptBlock(s,o)}}),n}(),r.mode.ECB})}(J0)),J0.exports}var ts={exports:{}},Zo;function M1(){return Zo||(Zo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.pad.AnsiX923={pad:function(n,s){var o=n.sigBytes,c=s*4,l=c-o%c,d=o+l-1;n.clamp(),n.words[d>>>2]|=l<<24-d%4*8,n.sigBytes+=l},unpad:function(n){var s=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=s}},r.pad.Ansix923})}(ts)),ts.exports}var es={exports:{}},Yo;function V1(){return Yo||(Yo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.pad.Iso10126={pad:function(n,s){var o=s*4,c=o-n.sigBytes%o;n.concat(r.lib.WordArray.random(c-1)).concat(r.lib.WordArray.create([c<<24],1))},unpad:function(n){var s=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=s}},r.pad.Iso10126})}(es)),es.exports}var rs={exports:{}},Qo;function z1(){return Qo||(Qo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.pad.Iso97971={pad:function(n,s){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,s)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(rs)),rs.exports}var ns={exports:{}},Jo;function q1(){return Jo||(Jo=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.pad.ZeroPadding={pad:function(n,s){var o=s*4;n.clamp(),n.sigBytes+=o-(n.sigBytes%o||o)},unpad:function(n){for(var s=n.words,o=n.sigBytes-1,o=n.sigBytes-1;o>=0;o--)if(s[o>>>2]>>>24-o%4*8&255){n.sigBytes=o+1;break}}},r.pad.ZeroPadding})}(ns)),ns.exports}var ss={exports:{}},ta;function j1(){return ta||(ta=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(ss)),ss.exports}var is={exports:{}},ea;function U1(){return ea||(ea=1,function(t,e){(function(r,n,s){t.exports=n(_t(),Jt())})(At,function(r){return function(n){var s=r,o=s.lib,c=o.CipherParams,l=s.enc,d=l.Hex,u=s.format;u.Hex={stringify:function(h){return h.ciphertext.toString(d)},parse:function(h){var g=d.parse(h);return c.create({ciphertext:g})}}}(),r.format.Hex})}(is)),is.exports}var os={exports:{}},ra;function $1(){return ra||(ra=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.BlockCipher,c=n.algo,l=[],d=[],u=[],h=[],g=[],v=[],y=[],m=[],E=[],B=[];(function(){for(var b=[],C=0;C<256;C++)C<128?b[C]=C<<1:b[C]=C<<1^283;for(var T=0,w=0,C=0;C<256;C++){var N=w^w<<1^w<<2^w<<3^w<<4;N=N>>>8^N&255^99,l[T]=N,d[N]=T;var F=b[T],M=b[F],O=b[M],D=b[N]*257^N*16843008;u[T]=D<<24|D>>>8,h[T]=D<<16|D>>>16,g[T]=D<<8|D>>>24,v[T]=D;var D=O*16843009^M*65537^F*257^T*16843008;y[N]=D<<24|D>>>8,m[N]=D<<16|D>>>16,E[N]=D<<8|D>>>24,B[N]=D,T?(T=F^b[b[b[O^F]]],w^=b[b[w]]):T=w=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],A=c.AES=o.extend({_doReset:function(){var b;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var C=this._keyPriorReset=this._key,T=C.words,w=C.sigBytes/4,N=this._nRounds=w+6,F=(N+1)*4,M=this._keySchedule=[],O=0;O<F;O++)O<w?M[O]=T[O]:(b=M[O-1],O%w?w>6&&O%w==4&&(b=l[b>>>24]<<24|l[b>>>16&255]<<16|l[b>>>8&255]<<8|l[b&255]):(b=b<<8|b>>>24,b=l[b>>>24]<<24|l[b>>>16&255]<<16|l[b>>>8&255]<<8|l[b&255],b^=R[O/w|0]<<24),M[O]=M[O-w]^b);for(var D=this._invKeySchedule=[],I=0;I<F;I++){var O=F-I;if(I%4)var b=M[O];else var b=M[O-4];I<4||O<=4?D[I]=b:D[I]=y[l[b>>>24]]^m[l[b>>>16&255]]^E[l[b>>>8&255]]^B[l[b&255]]}}},encryptBlock:function(b,C){this._doCryptBlock(b,C,this._keySchedule,u,h,g,v,l)},decryptBlock:function(b,C){var T=b[C+1];b[C+1]=b[C+3],b[C+3]=T,this._doCryptBlock(b,C,this._invKeySchedule,y,m,E,B,d);var T=b[C+1];b[C+1]=b[C+3],b[C+3]=T},_doCryptBlock:function(b,C,T,w,N,F,M,O){for(var D=this._nRounds,I=b[C]^T[0],V=b[C+1]^T[1],et=b[C+2]^T[2],rt=b[C+3]^T[3],at=4,Y=1;Y<D;Y++){var ct=w[I>>>24]^N[V>>>16&255]^F[et>>>8&255]^M[rt&255]^T[at++],yt=w[V>>>24]^N[et>>>16&255]^F[rt>>>8&255]^M[I&255]^T[at++],Ct=w[et>>>24]^N[rt>>>16&255]^F[I>>>8&255]^M[V&255]^T[at++],U=w[rt>>>24]^N[I>>>16&255]^F[V>>>8&255]^M[et&255]^T[at++];I=ct,V=yt,et=Ct,rt=U}var ct=(O[I>>>24]<<24|O[V>>>16&255]<<16|O[et>>>8&255]<<8|O[rt&255])^T[at++],yt=(O[V>>>24]<<24|O[et>>>16&255]<<16|O[rt>>>8&255]<<8|O[I&255])^T[at++],Ct=(O[et>>>24]<<24|O[rt>>>16&255]<<16|O[I>>>8&255]<<8|O[V&255])^T[at++],U=(O[rt>>>24]<<24|O[I>>>16&255]<<16|O[V>>>8&255]<<8|O[et&255])^T[at++];b[C]=ct,b[C+1]=yt,b[C+2]=Ct,b[C+3]=U},keySize:256/32});n.AES=o._createHelper(A)}(),r.AES})}(os)),os.exports}var as={exports:{}},na;function K1(){return na||(na=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.WordArray,c=s.BlockCipher,l=n.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],h=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],g=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],v=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],y=l.DES=c.extend({_doReset:function(){for(var R=this._key,A=R.words,b=[],C=0;C<56;C++){var T=d[C]-1;b[C]=A[T>>>5]>>>31-T%32&1}for(var w=this._subKeys=[],N=0;N<16;N++){for(var F=w[N]=[],M=h[N],C=0;C<24;C++)F[C/6|0]|=b[(u[C]-1+M)%28]<<31-C%6,F[4+(C/6|0)]|=b[28+(u[C+24]-1+M)%28]<<31-C%6;F[0]=F[0]<<1|F[0]>>>31;for(var C=1;C<7;C++)F[C]=F[C]>>>(C-1)*4+3;F[7]=F[7]<<5|F[7]>>>27}for(var O=this._invSubKeys=[],C=0;C<16;C++)O[C]=w[15-C]},encryptBlock:function(R,A){this._doCryptBlock(R,A,this._subKeys)},decryptBlock:function(R,A){this._doCryptBlock(R,A,this._invSubKeys)},_doCryptBlock:function(R,A,b){this._lBlock=R[A],this._rBlock=R[A+1],m.call(this,4,252645135),m.call(this,16,65535),E.call(this,2,858993459),E.call(this,8,16711935),m.call(this,1,1431655765);for(var C=0;C<16;C++){for(var T=b[C],w=this._lBlock,N=this._rBlock,F=0,M=0;M<8;M++)F|=g[M][((N^T[M])&v[M])>>>0];this._lBlock=N,this._rBlock=w^F}var O=this._lBlock;this._lBlock=this._rBlock,this._rBlock=O,m.call(this,1,1431655765),E.call(this,8,16711935),E.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),R[A]=this._lBlock,R[A+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function m(R,A){var b=(this._lBlock>>>R^this._rBlock)&A;this._rBlock^=b,this._lBlock^=b<<R}function E(R,A){var b=(this._rBlock>>>R^this._lBlock)&A;this._lBlock^=b,this._rBlock^=b<<R}n.DES=c._createHelper(y);var B=l.TripleDES=c.extend({_doReset:function(){var R=this._key,A=R.words;if(A.length!==2&&A.length!==4&&A.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var b=A.slice(0,2),C=A.length<4?A.slice(0,2):A.slice(2,4),T=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=y.createEncryptor(o.create(b)),this._des2=y.createEncryptor(o.create(C)),this._des3=y.createEncryptor(o.create(T))},encryptBlock:function(R,A){this._des1.encryptBlock(R,A),this._des2.decryptBlock(R,A),this._des3.encryptBlock(R,A)},decryptBlock:function(R,A){this._des3.decryptBlock(R,A),this._des2.encryptBlock(R,A),this._des1.decryptBlock(R,A)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=c._createHelper(B)}(),r.TripleDES})}(as)),as.exports}var cs={exports:{}},sa;function W1(){return sa||(sa=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.StreamCipher,c=n.algo,l=c.RC4=o.extend({_doReset:function(){for(var h=this._key,g=h.words,v=h.sigBytes,y=this._S=[],m=0;m<256;m++)y[m]=m;for(var m=0,E=0;m<256;m++){var B=m%v,R=g[B>>>2]>>>24-B%4*8&255;E=(E+y[m]+R)%256;var A=y[m];y[m]=y[E],y[E]=A}this._i=this._j=0},_doProcessBlock:function(h,g){h[g]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var h=this._S,g=this._i,v=this._j,y=0,m=0;m<4;m++){g=(g+1)%256,v=(v+h[g])%256;var E=h[g];h[g]=h[v],h[v]=E,y|=h[(h[g]+h[v])%256]<<24-m*8}return this._i=g,this._j=v,y}n.RC4=o._createHelper(l);var u=c.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var h=this.cfg.drop;h>0;h--)d.call(this)}});n.RC4Drop=o._createHelper(u)}(),r.RC4})}(cs)),cs.exports}var ls={exports:{}},ia;function G1(){return ia||(ia=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.StreamCipher,c=n.algo,l=[],d=[],u=[],h=c.Rabbit=o.extend({_doReset:function(){for(var v=this._key.words,y=this.cfg.iv,m=0;m<4;m++)v[m]=(v[m]<<8|v[m]>>>24)&16711935|(v[m]<<24|v[m]>>>8)&4278255360;var E=this._X=[v[0],v[3]<<16|v[2]>>>16,v[1],v[0]<<16|v[3]>>>16,v[2],v[1]<<16|v[0]>>>16,v[3],v[2]<<16|v[1]>>>16],B=this._C=[v[2]<<16|v[2]>>>16,v[0]&4294901760|v[1]&65535,v[3]<<16|v[3]>>>16,v[1]&4294901760|v[2]&65535,v[0]<<16|v[0]>>>16,v[2]&4294901760|v[3]&65535,v[1]<<16|v[1]>>>16,v[3]&4294901760|v[0]&65535];this._b=0;for(var m=0;m<4;m++)g.call(this);for(var m=0;m<8;m++)B[m]^=E[m+4&7];if(y){var R=y.words,A=R[0],b=R[1],C=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,T=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=C>>>16|T&4294901760,N=T<<16|C&65535;B[0]^=C,B[1]^=w,B[2]^=T,B[3]^=N,B[4]^=C,B[5]^=w,B[6]^=T,B[7]^=N;for(var m=0;m<4;m++)g.call(this)}},_doProcessBlock:function(v,y){var m=this._X;g.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var E=0;E<4;E++)l[E]=(l[E]<<8|l[E]>>>24)&16711935|(l[E]<<24|l[E]>>>8)&4278255360,v[y+E]^=l[E]},blockSize:128/32,ivSize:64/32});function g(){for(var v=this._X,y=this._C,m=0;m<8;m++)d[m]=y[m];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<d[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<d[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<d[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<d[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<d[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<d[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<d[6]>>>0?1:0)|0,this._b=y[7]>>>0<d[7]>>>0?1:0;for(var m=0;m<8;m++){var E=v[m]+y[m],B=E&65535,R=E>>>16,A=((B*B>>>17)+B*R>>>15)+R*R,b=((E&4294901760)*E|0)+((E&65535)*E|0);u[m]=A^b}v[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,v[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,v[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,v[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,v[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,v[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,v[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,v[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}n.Rabbit=o._createHelper(h)}(),r.Rabbit})}(ls)),ls.exports}var us={exports:{}},oa;function X1(){return oa||(oa=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.StreamCipher,c=n.algo,l=[],d=[],u=[],h=c.RabbitLegacy=o.extend({_doReset:function(){var v=this._key.words,y=this.cfg.iv,m=this._X=[v[0],v[3]<<16|v[2]>>>16,v[1],v[0]<<16|v[3]>>>16,v[2],v[1]<<16|v[0]>>>16,v[3],v[2]<<16|v[1]>>>16],E=this._C=[v[2]<<16|v[2]>>>16,v[0]&4294901760|v[1]&65535,v[3]<<16|v[3]>>>16,v[1]&4294901760|v[2]&65535,v[0]<<16|v[0]>>>16,v[2]&4294901760|v[3]&65535,v[1]<<16|v[1]>>>16,v[3]&4294901760|v[0]&65535];this._b=0;for(var B=0;B<4;B++)g.call(this);for(var B=0;B<8;B++)E[B]^=m[B+4&7];if(y){var R=y.words,A=R[0],b=R[1],C=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,T=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=C>>>16|T&4294901760,N=T<<16|C&65535;E[0]^=C,E[1]^=w,E[2]^=T,E[3]^=N,E[4]^=C,E[5]^=w,E[6]^=T,E[7]^=N;for(var B=0;B<4;B++)g.call(this)}},_doProcessBlock:function(v,y){var m=this._X;g.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var E=0;E<4;E++)l[E]=(l[E]<<8|l[E]>>>24)&16711935|(l[E]<<24|l[E]>>>8)&4278255360,v[y+E]^=l[E]},blockSize:128/32,ivSize:64/32});function g(){for(var v=this._X,y=this._C,m=0;m<8;m++)d[m]=y[m];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<d[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<d[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<d[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<d[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<d[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<d[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<d[6]>>>0?1:0)|0,this._b=y[7]>>>0<d[7]>>>0?1:0;for(var m=0;m<8;m++){var E=v[m]+y[m],B=E&65535,R=E>>>16,A=((B*B>>>17)+B*R>>>15)+R*R,b=((E&4294901760)*E|0)+((E&65535)*E|0);u[m]=A^b}v[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,v[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,v[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,v[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,v[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,v[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,v[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,v[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}n.RabbitLegacy=o._createHelper(h)}(),r.RabbitLegacy})}(us)),us.exports}var fs={exports:{}},aa;function Z1(){return aa||(aa=1,function(t,e){(function(r,n,s){t.exports=n(_t(),gr(),mr(),rr(),Jt())})(At,function(r){return function(){var n=r,s=n.lib,o=s.BlockCipher,c=n.algo;const l=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var h={pbox:[],sbox:[]};function g(B,R){let A=R>>24&255,b=R>>16&255,C=R>>8&255,T=R&255,w=B.sbox[0][A]+B.sbox[1][b];return w=w^B.sbox[2][C],w=w+B.sbox[3][T],w}function v(B,R,A){let b=R,C=A,T;for(let w=0;w<l;++w)b=b^B.pbox[w],C=g(B,b)^C,T=b,b=C,C=T;return T=b,b=C,C=T,C=C^B.pbox[l],b=b^B.pbox[l+1],{left:b,right:C}}function y(B,R,A){let b=R,C=A,T;for(let w=l+1;w>1;--w)b=b^B.pbox[w],C=g(B,b)^C,T=b,b=C,C=T;return T=b,b=C,C=T,C=C^B.pbox[1],b=b^B.pbox[0],{left:b,right:C}}function m(B,R,A){for(let N=0;N<4;N++){B.sbox[N]=[];for(let F=0;F<256;F++)B.sbox[N][F]=u[N][F]}let b=0;for(let N=0;N<l+2;N++)B.pbox[N]=d[N]^R[b],b++,b>=A&&(b=0);let C=0,T=0,w=0;for(let N=0;N<l+2;N+=2)w=v(B,C,T),C=w.left,T=w.right,B.pbox[N]=C,B.pbox[N+1]=T;for(let N=0;N<4;N++)for(let F=0;F<256;F+=2)w=v(B,C,T),C=w.left,T=w.right,B.sbox[N][F]=C,B.sbox[N][F+1]=T;return!0}var E=c.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var B=this._keyPriorReset=this._key,R=B.words,A=B.sigBytes/4;m(h,R,A)}},encryptBlock:function(B,R){var A=v(h,B[R],B[R+1]);B[R]=A.left,B[R+1]=A.right},decryptBlock:function(B,R){var A=y(h,B[R],B[R+1]);B[R]=A.left,B[R+1]=A.right},blockSize:64/32,keySize:128/32,ivSize:64/32});n.Blowfish=o._createHelper(E)}(),r.Blowfish})}(fs)),fs.exports}(function(t,e){(function(r,n,s){t.exports=n(_t(),f0(),D1(),w1(),gr(),F1(),mr(),Xc(),hi(),S1(),Zc(),T1(),R1(),O1(),di(),P1(),rr(),Jt(),I1(),k1(),N1(),H1(),L1(),M1(),V1(),z1(),q1(),j1(),U1(),$1(),K1(),W1(),G1(),X1(),Z1())})(At,function(r){return r})})(Gc);var Y1=Gc.exports;const Er=Kc(Y1);function Q1(t){const e="MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEA0E9Nsuz6jYF+JeLqKaL1LkZyg0Wl4xPIwEzlDrO4UOMYGX1WG+nqf9ovpplgThgLcyoRM1YFshGFOrkAiHEZqwIDAQABAkABvEdncDX+K9ADPMq6ohLs2cVmdpQVOjr37ywRXUnx0o6skjM3Yg45uw3lpobrkckep0NxqrINeSsrY29hA3ZBAiEA8rnQiqs6hXw8tLIBk0i2i7tqai9xew/lD/wDGQdtvdECIQDbs6kkuEs9us9avgF/JO7F13OmlDzR0lzrIzujxvLSuwIgW+BX/tVXnoVrWR50GDMS3gt/+VeiBen7U7SZ25SDRrECIBhIx41zgX2VRI43KlsvbeUYZ4QmJoLaycKD5ne36ec5AiEA44AwFDoD1qf1wIZ152QxrkZgGMyKG6c836lRB5VdiME=";let r=new b1;return r.setPublicKey(e),r.decrypt(t)}function J1(t,e){let r=e.split("");r.reverse();const n=r.join("").substring(0,16);let s=Er.enc.Base64.parse(t),o=Er.enc.Utf8.parse(e),c=Er.enc.Utf8.parse(n),l=Er.AES.decrypt({ciphertext:s},o,{iv:c,padding:Er.pad.Pkcs7});return Er.enc.Utf8.stringify(l)}function tx({data:t,key:e}){let r=Q1(e);return J1(t,r)}function ex(t){function e(n){return n}function r(n){let s=n.data;if(typeof s=="string")return Rn("接口请求返回了错误的数据格式,请联系管理员"),{};if(s.data&&s.key){let o=tx(s);s=JSON.parse(o)}return s}t.interceptors.request.use(e,n=>(Rn("请求超时,请稍后重试"),Promise.reject(n))),t.interceptors.response.use(r,n=>{let s=n.response;if(s)return Rn(`服务器返回了错误的状态码[${s.status}]`),Promise.reject(n)})}jt.defaults.timeout=30*1e3;let rx=Uh.baseURL;jt.defaults.baseURL=rx;ex(jt);const fn=(t,e)=>{const r=t.__vccOpts||t;for(const[n,s]of e)r[n]=s;return r},nx=t=>(Xn("data-v-0d8f65f2"),t=t(),Zn(),t),sx={class:"container"},ix={class:"header"},ox={class:"title"},ax={class:"desc"},cx={class:"content"},lx=["onClick"],ux=nx(()=>ht("div",{class:"footer"},null,-1)),fx=Object.assign({name:"side-menu"},{__name:"side-menu",props:{page:{type:Number,default:1},menus:{type:Array,default(){return[]}},title:{type:String,default:""}},emits:["update:page"],setup(t,{emit:e}){const r=t,n=e,s=Bt(null);function o(l){l!==r.page&&n("update:page",l)}tr(function(){if(s.value&&r.page){let l=s.value.parentElement,d=s.value.querySelectorAll(".item"),u=l.offsetHeight;l.scrollTop=d[r.page-1].offsetTop-u}});const c=ne(function(){return r.menus.length});return(l,d)=>(Gt(),ae("div",{class:"side-menu",ref_key:"wrapEl",ref:s},[ht("div",sx,[ht("div",ix,[ht("div",ox,Cr(t.title),1),ht("div",ax,"总共"+Cr(bt(c))+"章",1)]),ht("div",cx,[(Gt(!0),ae(he,null,gu(t.menus,(u,h)=>(Gt(),ae("div",{class:"item",onClick:g=>o(h+1)},[ht("div",{class:Ye(["text",{active:h+1===t.page}])},Cr(u.title),3)],8,lx))),256))]),ux])],512))}}),hx=fn(fx,[["__scopeId","data-v-0d8f65f2"]]);function Yc(){let t=location.search,e="";return t.length&&t.substring(1).split("&").some(r=>{let[n,s]=r.split("=");if(n==="novel_id")return e=s,!0}),e}const dx=Bt(!1),xx=Bt(!1),px=Bt(0);function xi(){return{isDarkTheme:dx,isShowMenu:xx,pageSize:px}}const Oe=t=>(Xn("data-v-618cdef9"),t=t(),Zn(),t),vx=Oe(()=>ht("div",{class:"icon"},[ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},[ht("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})])],-1)),gx=[vx],mx={class:"center"},yx={class:"top"},Ex=Oe(()=>ht("span",{class:"label"},"自动播放(秒)",-1)),bx={class:"middle"},Bx=Oe(()=>ht("span",{class:"label"},"章节",-1)),Cx={class:"value"},Ax={class:"curr"},_x={class:"bottom"},Dx=Oe(()=>ht("div",{class:"icon"},[ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[ht("path",{d:"M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"})])],-1)),wx=Oe(()=>ht("div",null,"目录",-1)),Fx=[Dx,wx],Sx=Oe(()=>ht("div",{class:"icon"},[ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},[ht("path",{d:"M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"})])],-1)),Tx=Oe(()=>ht("div",null,"主页",-1)),Rx=[Sx,Tx],Ox={key:0,class:"icon"},Px=Oe(()=>ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[ht("path",{d:"M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"})],-1)),Ix=[Px],kx={key:1,class:"icon"},Nx=Oe(()=>ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[ht("path",{d:"M375.7 19.7c-1.5-8-6.9-14.7-14.4-17.8s-16.1-2.2-22.8 2.4L256 61.1 173.5 4.2c-6.7-4.6-15.3-5.5-22.8-2.4s-12.9 9.8-14.4 17.8l-18.1 98.5L19.7 136.3c-8 1.5-14.7 6.9-17.8 14.4s-2.2 16.1 2.4 22.8L61.1 256 4.2 338.5c-4.6 6.7-5.5 15.3-2.4 22.8s9.8 13 17.8 14.4l98.5 18.1 18.1 98.5c1.5 8 6.9 14.7 14.4 17.8s16.1 2.2 22.8-2.4L256 450.9l82.5 56.9c6.7 4.6 15.3 5.5 22.8 2.4s12.9-9.8 14.4-17.8l18.1-98.5 98.5-18.1c8-1.5 14.7-6.9 17.8-14.4s2.2-16.1-2.4-22.8L450.9 256l56.9-82.5c4.6-6.7 5.5-15.3 2.4-22.8s-9.8-12.9-17.8-14.4l-98.5-18.1L375.7 19.7zM269.6 110l65.6-45.2 14.4 78.3c1.8 9.8 9.5 17.5 19.3 19.3l78.3 14.4L402 242.4c-5.7 8.2-5.7 19 0 27.2l45.2 65.6-78.3 14.4c-9.8 1.8-17.5 9.5-19.3 19.3l-14.4 78.3L269.6 402c-8.2-5.7-19-5.7-27.2 0l-65.6 45.2-14.4-78.3c-1.8-9.8-9.5-17.5-19.3-19.3L64.8 335.2 110 269.6c5.7-8.2 5.7-19 0-27.2L64.8 176.8l78.3-14.4c9.8-1.8 17.5-9.5 19.3-19.3l14.4-78.3L242.4 110c8.2 5.7 19 5.7 27.2 0zM256 368a112 112 0 1 0 0-224 112 112 0 1 0 0 224zM192 256a64 64 0 1 1 128 0 64 64 0 1 1 -128 0z"})],-1)),Hx=[Nx],Lx=Oe(()=>ht("div",{class:"icon"},[ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},[ht("path",{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})])],-1)),Mx=[Lx],Vx=Object.assign({name:"control-bottom"},{__name:"control-bottom",props:{isShow:{type:Boolean,default:!1},page:{type:Number,default:1}},emits:["update:isShow","update:page"],setup(t,{emit:e}){const r=t,n=e,s=Bt(!1),o=Bt(10);let c=null;const l=Bt([]),d=ne(function(){return l.value.length}),u=Yc(),h=Bt(""),g=Bt(0),v=ne(()=>({bottom:g.value*2/100+"rem"}));function y(){let D=document.querySelector('meta[name="c"]');return D?D.getAttribute("c"):"0"}function m(){u&&jt.get("novel/chapters",{params:{novel_id:u,c:y()}}).then(D=>{var I;l.value=D.chapters,h.value=D.title,g.value=parseInt(D.reserve_height||"0"),M=D.back_url,T.value=((I=l.value)==null?void 0:I.length)||1})}m();function E(){clearTimeout(c),c=setTimeout(function(){document.documentElement.scrollTop+=window.innerHeight,E()},o.value*1e3)}Qt(s,function(D){clearTimeout(c),D&&E()}),on(function(){clearTimeout(c)});const B=ne({get(){return r.page},set(D){n("update:page",D),R.value=D}}),R=Bt(r.page);Qt(()=>r.page,function(D){R.value=D});function A(D){B.value=D}const{isDarkTheme:b,isShowMenu:C,pageSize:T}=xi();function w(){--B.value<1&&(B.value=1)}function N(){d.value!==0&&++B.value>d.value&&(B.value=d.value)}function F(D){B.value=D,C.value=!1}let M="";function O(){location.href=M}return(D,I)=>{const V=m1,et=l1,rt=d1,at=jc;return Gt(),ae(he,null,[ht("div",{class:Ye(["control-bottom",{hidden:!t.isShow}]),style:jn(bt(v))},[ht("div",{class:"prev flex-center",onClick:w},gx),ht("div",mx,[ht("div",yx,[Ex,ut(V,{min:5,max:100,modelValue:bt(o),"onUpdate:modelValue":I[0]||(I[0]=Y=>Lt(o)?o.value=Y:null),step:"5"},null,8,["modelValue"]),ut(et,{modelValue:bt(s),"onUpdate:modelValue":I[1]||(I[1]=Y=>Lt(s)?s.value=Y:null)},null,8,["modelValue"])]),ht("div",bx,[Bx,bt(d)?(Gt(),en(rt,{key:0,modelValue:bt(R),"onUpdate:modelValue":I[2]||(I[2]=Y=>Lt(R)?R.value=Y:null),min:1,max:bt(d),onChange:A},null,8,["modelValue","max"])):Tr("",!0),ht("span",Cx,[ht("span",Ax,Cr(bt(B)),1),ht("span",null,"/"+Cr(bt(d)),1)])]),ht("div",_x,[ht("div",{class:"opt-item",onClick:I[3]||(I[3]=Y=>C.value=!0)},Fx),ht("div",{class:"opt-item",onClick:O},Rx),ht("div",{class:"opt-item",onClick:I[4]||(I[4]=Y=>b.value=!bt(b))},[bt(b)?(Gt(),ae("div",Ox,Ix)):(Gt(),ae("div",kx,Hx)),ht("div",null,Cr(bt(b)?"白天":"夜间"),1)])])]),ht("div",{class:"next flex-center",onClick:N},Mx)],6),bt(l).length?(Gt(),en(at,{key:0,show:bt(C),"onUpdate:show":I[5]||(I[5]=Y=>Lt(C)?C.value=Y:null),position:"left",style:{height:"100%"}},{default:Gs(()=>[ut(hx,{page:bt(B),"onUpdate:page":F,menus:bt(l),title:bt(h)},null,8,["page","menus","title"])]),_:1},8,["show"])):Tr("",!0)],64)}}}),zx=fn(Vx,[["__scopeId","data-v-618cdef9"]]),Qc={getParamsByURL(t=window.location.href){let e=decodeURI(t).split("?")[1],r={};if(e){let n;e.split("&").forEach(function(s){n=s.split("="),r[n[0]]=n[1]})}return r},$getMultiples(t){let e=[],r;t.forEach(s=>{r=s.toString().split("."),e.push(r[1]?r[1].length:0)});let n=Math.max(...e);return[n,Math.pow(10,n)]},$float2Int(t,e){return Math.round(t*e)},add:function(...t){let e=this.$getMultiples(t),r=e[1],n=this.$float2Int(t[0],r);for(let s=1;s<t.length;s++)n+=this.$float2Int(t[s],r);return n/r},sub(...t){let e=this.$getMultiples(t),r=e[1],n=this.$float2Int(t[0],r);for(let s=1;s<t.length;s++)n-=this.$float2Int(t[s],r);return n/r},mul(...t){let e,r;return t.reduce((n,s)=>(e=this.$getMultiples([n,s]),r=this.$float2Int(n,e[1])*this.$float2Int(s,e[1]),r/Math.pow(10,e[0]*2)))},div(...t){let e;return t.reduce((r,n)=>(e=this.$getMultiples([r,n]),this.$float2Int(r,e[1])/this.$float2Int(n,e[1])))},isMobile(){return/(iPhone|iPad|iPod|iOS|Android|Adr)/.test(navigator.userAgent)},isIOS(){return/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(navigator.userAgent)},isAndroid(){return/(Android|Adr)/.test(navigator.userAgent)},isWechat(){return/(MicroMessenger|WebBrowser)/.test(navigator.userAgent)},isQQ(){return/ QQ\//i.test(navigator.userAgent)},addZero(t){return t<10?"0"+t:t},copyToClipboard(t){let e=document.createElement("input");e.setAttribute("value",t),e.setAttribute("readonly","readonly"),document.body.appendChild(e),e.select(),e.setSelectionRange&&e.setSelectionRange(0,9999),document.execCommand("copy"),document.body.removeChild(e)},random(t,e){return Math.round((e-t)*Math.random()+t)},reload(t=100){setTimeout(function(){window.location.reload()},t)},dateFormat(t="",e=new Date){let r={"y+":e.getFullYear(),"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds()};return t&&Object.keys(r).forEach(function(n){t=t.replace(new RegExp(`(${n})`,"i"),function(s){let o=r[n];return s.length!==1&&o<10&&(o="0"+o),o})}),t},sleep(t=1e3){return new Promise(function(e,r){setTimeout(e,t)})},toFixed(t){if(t!==0&&!t||isNaN(t))return"-";let e=parseFloat(t),r=e.toString(),n=r.indexOf(".");return n!==-1&&r.length-n>2?r.substring(0,n+3):e.toFixed(2)},getRandomItemFromList(t){return t[parseInt(Math.random()*t.length)]},getRandomListFromList(t,e=1){if(e<1||!Array.isArray(t))return[];if(e===t.length)return t;{let r={},n=t.length,s=[];for(;e;){let o=parseInt(Math.random()*n);r[o]||(r[o]=!0,e--,s.push(o))}return s.sort(function(o,c){return o-c>0?1:-1}),s.map(o=>t[o])}},openNewWindow(t,e){let r=window.screen.availHeight,n=window.screen.availWidth,s=e?n:800,o=e?r:600,c=(r-o)/2,l=(n-s)/2;function d(){return window.open(t,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width="+s+",height="+o+",left="+l+",top="+c)}let u=d();u?u.opener=null:d()},onceFn(t){let e=!1;return function(){if(e)return!1;e=!0,t()}},debounceWrap(t,e=500){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>{t.apply(this,n)},e)}},throttleWrap(t,e=300){let r,n;return function(){const s=this,o=arguments;n?(clearTimeout(r),r=setTimeout(function(){Date.now()-n>=e&&(t.apply(s,o),n=Date.now())},e-(Date.now()-n))):(t.apply(s,o),n=Date.now())}},postMessage(t,e){window!==window.top&&window.parent.postMessage({action:t,params:e},"*")},bindMessageEvent(t){function e(r){t(r.data)}return window.addEventListener("message",e,!1),e},unBindMessageEvent(t){t&&(window.removeEventListener("message",t),t=null)},pageReload(){let t=sessionStorage.getItem("_refreshTime");setTimeout(function(){if(t&&new Date().getTime()-t<2e3)return!1;sessionStorage.setItem("_refreshTime",new Date().getTime()),window.location.reload()},100)},_isNaN(t){return isNaN(t)||(" "+t).trim()===""},moneyFilter(t){if(this._isNaN(t))return"-";{let e=/\B(?=(?:\d{3})+\b)/g,r=String(t).split(".");return r[0]=r[0].replace(e,","),r.join(".")}},moneyFix2(t){if(this._isNaN(t))return"-";{t=Number(t);let e=t.toString(),r=e.indexOf(".");return r!==-1&&e.length-r>2?t=e.substring(0,r+3):t=t.toFixed(2),t}},replaceURL(t="",e=""){return t.replace(/{.+?}/,e)},flexRebates(t,e,r,n){let s=t||0;return s&&r==="mul"?s=(s*e).toFixed(n||0):s&&r==="div"&&(s=(s/e).toFixed(n||0)),s},clearDot(t){let e=String(t||"");return e?e.replace(/(\d)\.\d+/g,function(r,n){return n}):""},getQueryByKeys(t,e=[]){let r={};return e.forEach(n=>{r[n]=t==null?void 0:t[n]}),r},dispatchFileDownload(t,e){const r=new Blob([e],{type:"text/plain;charset=utf-8"}),n=document.createElement("a");n.href=URL.createObjectURL(r),n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)}},qx=t=>(Xn("data-v-71e5acbe"),t=t(),Zn(),t),jx=qx(()=>ht("div",{class:"icon"},[ht("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[ht("path",{d:"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM135.1 217.4c-4.5 4.2-7.1 10.1-7.1 16.3c0 12.3 10 22.3 22.3 22.3H208v96c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V256h57.7c12.3 0 22.3-10 22.3-22.3c0-6.2-2.6-12.1-7.1-16.3L269.8 117.5c-3.8-3.5-8.7-5.5-13.8-5.5s-10.1 2-13.8 5.5L135.1 217.4z"})])],-1)),Ux=[jx],$x=Object.assign({name:"v-popup"},{__name:"v-popup",setup(t){const e=Bt(!1),r=Qc.throttleWrap(function(){const s=document.documentElement.scrollTop;e.value=s>100},100);tr(function(){r(),window.addEventListener("scroll",r)});function n(s){const o=document.documentElement.scrollTop,c=new Date().getTime(),l=(u,h,g,v)=>(u/=v/2,u<1?g/2*u*u+h:(u--,-g/2*(u*(u-2)-1)+h)),d=()=>{const h=new Date().getTime()-c,g=l(h,o,-o,s);document.documentElement.scrollTo(0,g),h<s?window.requestAnimationFrame(d):document.documentElement.scrollTo(0,0)};window.requestAnimationFrame(d)}return(s,o)=>(Gt(),en(cn,{name:"fade"},{default:Gs(()=>[bt(e)?(Gt(),ae("div",{key:0,class:"v-popup",onClick:o[0]||(o[0]=c=>n(500))},Ux)):Tr("",!0)]),_:1}))}}),Kx=fn($x,[["__scopeId","data-v-71e5acbe"]]),Jc=t=>(Xn("data-v-080d7b61"),t=t(),Zn(),t),Wx={key:0,class:"control-page"},Gx=Jc(()=>ht("span",{class:"lh1"}," 上一章",-1)),Xx=Jc(()=>ht("span",{class:"lh1"}," 下一章",-1)),Zx=Object.assign({name:"control-page"},{__name:"control-page",props:{page:{type:Number,default:1},subPage:{type:Number,default:0},subTotal:{type:Number,default:0}},emits:["update:page","update:subPage"],setup(t,{emit:e}){const r=t,n=e,{isShowMenu:s,pageSize:o}=xi(),{page:c,subPage:l,subTotal:d}=ql(r);function u(){s.value=!0}function h(){let m=c.value;--m<1&&(m=1),n("update:page",m)}function g(){let m=c.value;o.value!==0&&(++m>o.value&&(m=o.value),n("update:page",m))}function v(){let m=l.value;--m<0&&(m=0),n("update:subPage",m)}function y(){let m=l.value,E=d.value;E!==0&&(++m>E&&(m=E),n("update:subPage",m))}return(m,E)=>{const B=fi;return bt(o)?(Gt(),ae("div",Wx,[bt(l)===0?(Gt(),ae("div",{key:0,class:Ye(["prev s-btn",{disabled:bt(c)===1}]),onClick:h},[ut(B,{name:"arrow-left"}),_s(),Gx],2)):(Gt(),ae("div",{key:1,class:"sub-page s-btn prev",onClick:v},"上一页")),ht("div",{class:"menu s-btn",onClick:u},"章节列表"),bt(l)===bt(d)?(Gt(),ae("div",{key:2,class:Ye(["next s-btn",{disabled:bt(c)===bt(o)}]),onClick:g},[Xx,_s(),ut(B,{name:"arrow"})],2)):(Gt(),ae("div",{key:3,class:"sub-page s-btn",onClick:y},"下一页"))])):Tr("",!0)}}}),ca=fn(Zx,[["__scopeId","data-v-080d7b61"]]);function Yx(t){if(typeof window._hmt=="object"){const e=_hmt.cmd;e&&Object.keys(e).forEach(r=>{e[r]&&e[r].push(["_trackPageview",t||location.pathname+location.search])})}}const Qx={key:0,class:"top"},Jx={key:1,class:"view-bottom"},la="s-bid",ua="s-page",tp=Object.assign({name:"Reader"},{__name:"Reader",setup(t){const{isDarkTheme:e}=xi(),r=Bt(!0),n=Yc();let s=!0;function o(){s=r.value,r.value=!1}function c(){r.value=!s}const l=Bt(1);let d=sessionStorage.getItem(la),u=sessionStorage.getItem(ua);n===d&&u&&(l.value=+u);const h=Bt(null);Qt(l,function(b){A(b),sessionStorage.setItem(la,n),sessionStorage.setItem(ua,b)});const g=Bt(!1);let v=[];const y=Bt(0),m=Bt(0),E=Bt(null),B=Qc.throttleWrap(function(){if(v.length>y.value){if(E.value){let b=document.documentElement.scrollTop||document.body.scrollTop,C=E.value.getBoundingClientRect().top,T=document.querySelector("html"),w=parseInt(window.getComputedStyle(T).fontSize);document.documentElement.scrollTop=b+C-w*4}h.value.innerText=v[y.value],Yx(location.pathname+location.search+"&serial="+l.value+"&sub="+y.value)}});Qt(y,function(b,C){B()});function R(b){fetch(b).then(C=>C.arrayBuffer()).then(C=>{const T=new Uint8Array(C),w=T.byteLength;for(let M=0;M<w;M++)T[M]=T[M]^"0x88";let F=[...new TextDecoder().decode(T)];v.length=0;for(let M=0;M<F.length;M+=1e3)v.push(F.slice(M,M+1e3).join(""));y.value=0,m.value=v.length?v.length-1:0,B(),i1(),g.value=!0}).catch(C=>{S0({forbidClick:!0,message:"请求失败,请稍后尝试..."})})}function A(b){n&&(S0({duration:0,forbidClick:!0,message:"加载中..."}),jt.get("novel/chapter/detail",{params:{novel_id:n,serial:b}}).then(C=>{let T=C.url;R(T)}).catch(C=>{S0({forbidClick:!0,message:"请求失败,请稍后尝试..."})}))}return tr(()=>{A(l.value)}),(b,C)=>(Gt(),ae("div",{class:Ye(["view-wrap",{"dark-theme":bt(e)}]),ref_key:"wrapEl",ref:E},[bt(g)?(Gt(),ae("div",Qx,[ut(ca,{page:bt(l),"onUpdate:page":C[0]||(C[0]=T=>Lt(l)?l.value=T:null),"sub-total":bt(m),subPage:bt(y),"onUpdate:subPage":C[1]||(C[1]=T=>Lt(y)?y.value=T:null)},null,8,["page","sub-total","subPage"])])):Tr("",!0),ht("div",{class:"content",onTouchstart:o,onClick:c},[ht("pre",{ref_key:"infoEl",ref:h},null,512),ut(Kx)],32),ut(zx,{isShow:bt(r),"onUpdate:isShow":C[2]||(C[2]=T=>Lt(r)?r.value=T:null),page:bt(l),"onUpdate:page":C[3]||(C[3]=T=>Lt(l)?l.value=T:null)},null,8,["isShow","page"]),bt(g)?(Gt(),ae("div",Jx,[ut(ca,{page:bt(l),"onUpdate:page":C[4]||(C[4]=T=>Lt(l)?l.value=T:null),"sub-total":bt(m),subPage:bt(y),"onUpdate:subPage":C[5]||(C[5]=T=>Lt(y)?y.value=T:null)},null,8,["page","sub-total","subPage"])])):Tr("",!0)],2))}}),ep=fn(tp,[["__scopeId","data-v-103bdc4f"]]),rp={__name:"App",setup(t){return(e,r)=>(Gt(),en(ep))}},np=lc(rp);np.mount("#app");