mazey 3.6.3 → 3.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/mazey.min.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * mazey v3.6.3
2
+ * mazey v3.6.5
3
3
  * (c) 2018-2023 Mazey Chu
4
4
  * Released under the MIT License.
5
5
  */
6
- var mazey=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r,o,i,a=n((function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(e){return e&&e.Math==Math&&e},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=Function.prototype.call,v=d?p.bind(p):function(){return p.apply(p,arguments)},g={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m={f:h&&!g.call({1:2},1)?function(e){var t=h(this,e);return!!t&&t.enumerable}:g},y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=Function.prototype,b=w.call,S=d&&w.bind.bind(b,b),E=d?S:function(e){return function(){return b.apply(e,arguments)}},x=E({}.toString),O=E("".slice),T=function(e){return O(x(e),8,-1)},A=Object,j=E("".split),I=s((function(){return!A("z").propertyIsEnumerable(0)}))?function(e){return"String"==T(e)?j(e,""):A(e)}:A,R=function(e){return null==e},M=TypeError,N=function(e){if(R(e))throw M("Can't call method on "+e);return e},C=function(e){return I(N(e))},P="object"==typeof document&&document.all,_={all:P,IS_HTMLDDA:void 0===P&&void 0!==P},k=_.all,L=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===k}:function(e){return"function"==typeof e},D=_.all,F=_.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:L(e)||e===D}:function(e){return"object"==typeof e?null!==e:L(e)},U=function(e,t){return arguments.length<2?(n=f[e],L(n)?n:void 0):f[e]&&f[e][t];var n},B=E({}.isPrototypeOf),$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",V=f.process,z=f.Deno,q=V&&V.versions||z&&z.version,G=q&&q.v8;G&&(i=(o=G.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&$&&(!(o=$.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=$.match(/Chrome\/(\d+)/))&&(i=+o[1]);var H=i,W=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&H&&H<41})),Y=W&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=Y?function(e){return"symbol"==typeof e}:function(e){var t=U("Symbol");return L(t)&&B(t.prototype,J(e))},Z=String,X=function(e){try{return Z(e)}catch(e){return"Object"}},Q=TypeError,ee=function(e){if(L(e))return e;throw Q(X(e)+" is not a function")},te=function(e,t){var n=e[t];return R(n)?void 0:ee(n)},ne=TypeError,re=Object.defineProperty,oe=function(e,t){try{re(f,e,{value:t,configurable:!0,writable:!0})}catch(n){f[e]=t}return t},ie="__core-js_shared__",ae=f[ie]||oe(ie,{}),ce=n((function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ue=Object,fe=function(e){return ue(N(e))},se=E({}.hasOwnProperty),le=Object.hasOwn||function(e,t){return se(fe(e),t)},de=0,pe=Math.random(),ve=E(1..toString),ge=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ve(++de+pe,36)},he=f.Symbol,me=ce("wks"),ye=Y?he.for||he:he&&he.withoutSetter||ge,we=function(e){return le(me,e)||(me[e]=W&&le(he,e)?he[e]:ye("Symbol."+e)),me[e]},be=TypeError,Se=we("toPrimitive"),Ee=function(e,t){if(!F(e)||K(e))return e;var n,r=te(e,Se);if(r){if(void 0===t&&(t="default"),n=v(r,e,t),!F(n)||K(n))return n;throw be("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&L(n=e.toString)&&!F(r=v(n,e)))return r;if(L(n=e.valueOf)&&!F(r=v(n,e)))return r;if("string"!==t&&L(n=e.toString)&&!F(r=v(n,e)))return r;throw ne("Can't convert object to primitive value")}(e,t)},xe=function(e){var t=Ee(e,"string");return K(t)?t:t+""},Oe=f.document,Te=F(Oe)&&F(Oe.createElement),Ae=function(e){return Te?Oe.createElement(e):{}},je=!l&&!s((function(){return 7!=Object.defineProperty(Ae("div"),"a",{get:function(){return 7}}).a})),Ie=Object.getOwnPropertyDescriptor,Re={f:l?Ie:function(e,t){if(e=C(e),t=xe(t),je)try{return Ie(e,t)}catch(e){}if(le(e,t))return y(!v(m.f,e,t),e[t])}},Me=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ne=String,Ce=TypeError,Pe=function(e){if(F(e))return e;throw Ce(Ne(e)+" is not an object")},_e=TypeError,ke=Object.defineProperty,Le=Object.getOwnPropertyDescriptor,De="enumerable",Fe="configurable",Ue="writable",Be={f:l?Me?function(e,t,n){if(Pe(e),t=xe(t),Pe(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ue in n&&!n[Ue]){var r=Le(e,t);r&&r[Ue]&&(e[t]=n.value,n={configurable:Fe in n?n[Fe]:r[Fe],enumerable:De in n?n[De]:r[De],writable:!1})}return ke(e,t,n)}:ke:function(e,t,n){if(Pe(e),t=xe(t),Pe(n),je)try{return ke(e,t,n)}catch(e){}if("get"in n||"set"in n)throw _e("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$e=l?function(e,t,n){return Be.f(e,t,y(1,n))}:function(e,t,n){return e[t]=n,e},Ve=Function.prototype,ze=l&&Object.getOwnPropertyDescriptor,qe=le(Ve,"name"),Ge={EXISTS:qe,PROPER:qe&&"something"===function(){}.name,CONFIGURABLE:qe&&(!l||l&&ze(Ve,"name").configurable)},He=E(Function.toString);L(ae.inspectSource)||(ae.inspectSource=function(e){return He(e)});var We,Ye,Je,Ke=ae.inspectSource,Ze=f.WeakMap,Xe=L(Ze)&&/native code/.test(String(Ze)),Qe=ce("keys"),et=function(e){return Qe[e]||(Qe[e]=ge(e))},tt={},nt="Object already initialized",rt=f.TypeError,ot=f.WeakMap;if(Xe||ae.state){var it=ae.state||(ae.state=new ot);it.get=it.get,it.has=it.has,it.set=it.set,We=function(e,t){if(it.has(e))throw rt(nt);return t.facade=e,it.set(e,t),t},Ye=function(e){return it.get(e)||{}},Je=function(e){return it.has(e)}}else{var at=et("state");tt[at]=!0,We=function(e,t){if(le(e,at))throw rt(nt);return t.facade=e,$e(e,at,t),t},Ye=function(e){return le(e,at)?e[at]:{}},Je=function(e){return le(e,at)}}var ct,ut={set:We,get:Ye,has:Je,enforce:function(e){return Je(e)?Ye(e):We(e,{})},getterFor:function(e){return function(t){var n;if(!F(t)||(n=Ye(t)).type!==e)throw rt("Incompatible receiver, "+e+" required");return n}}},ft=n((function(e){var t=Ge.CONFIGURABLE,n=ut.enforce,r=ut.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=e.exports=function(e,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!le(e,"name")||t&&e.name!==r)&&(l?i(e,"name",{value:r,configurable:!0}):e.name=r),f&&s&&le(s,"arity")&&e.length!==s.arity&&i(e,"length",{value:s.arity});try{s&&le(s,"constructor")&&s.constructor?l&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var p=n(e);return le(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),e};Function.prototype.toString=p((function(){return L(this)&&r(this).source||Ke(this)}),"toString")})),st=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(L(n)&&ft(n,i,r),r.global)o?e[t]=n:oe(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:Be.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},lt=Math.ceil,dt=Math.floor,pt=Math.trunc||function(e){var t=+e;return(t>0?dt:lt)(t)},vt=function(e){var t=+e;return t!=t||0===t?0:pt(t)},gt=Math.max,ht=Math.min,mt=function(e,t){var n=vt(e);return n<0?gt(n+t,0):ht(n,t)},yt=Math.min,wt=function(e){return e>0?yt(vt(e),9007199254740991):0},bt=function(e){return wt(e.length)},St=function(e){return function(t,n,r){var o,i=C(t),a=bt(i),c=mt(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},Et={includes:St(!0),indexOf:St(!1)},xt=Et.indexOf,Ot=E([].push),Tt=function(e,t){var n,r=C(e),o=0,i=[];for(n in r)!le(tt,n)&&le(r,n)&&Ot(i,n);for(;t.length>o;)le(r,n=t[o++])&&(~xt(i,n)||Ot(i,n));return i},At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jt=At.concat("length","prototype"),It={f:Object.getOwnPropertyNames||function(e){return Tt(e,jt)}},Rt={f:Object.getOwnPropertySymbols},Mt=E([].concat),Nt=U("Reflect","ownKeys")||function(e){var t=It.f(Pe(e)),n=Rt.f;return n?Mt(t,n(e)):t},Ct=function(e,t,n){for(var r=Nt(t),o=Be.f,i=Re.f,a=0;a<r.length;a++){var c=r[a];le(e,c)||n&&le(n,c)||o(e,c,i(t,c))}},Pt=/#|\.prototype\./,_t=function(e,t){var n=Lt[kt(e)];return n==Ft||n!=Dt&&(L(t)?s(t):!!t)},kt=_t.normalize=function(e){return String(e).replace(Pt,".").toLowerCase()},Lt=_t.data={},Dt=_t.NATIVE="N",Ft=_t.POLYFILL="P",Ut=_t,Bt=Re.f,$t=function(e,t){var n,r,o,i,a,c=e.target,u=e.global,s=e.stat;if(n=u?f:s?f[c]||oe(c,{}):(f[c]||{}).prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Bt(n,r))&&a.value:n[r],!Ut(u?r:c+(s?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ct(i,o)}(e.sham||o&&o.sham)&&$e(i,"sham",!0),st(n,r,i,e)}},Vt=Object.keys||function(e){return Tt(e,At)},zt=l&&!Me?Object.defineProperties:function(e,t){Pe(e);for(var n,r=C(t),o=Vt(t),i=o.length,a=0;i>a;)Be.f(e,n=o[a++],r[n]);return e},qt={f:zt},Gt=U("document","documentElement"),Ht="prototype",Wt="script",Yt=et("IE_PROTO"),Jt=function(){},Kt=function(e){return"<"+Wt+">"+e+"</"+Wt+">"},Zt=function(e){e.write(Kt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Xt=function(){try{ct=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Xt="undefined"!=typeof document?document.domain&&ct?Zt(ct):(t=Ae("iframe"),n="java"+Wt+":",t.style.display="none",Gt.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Kt("document.F=Object")),e.close(),e.F):Zt(ct);for(var r=At.length;r--;)delete Xt[Ht][At[r]];return Xt()};tt[Yt]=!0;var Qt=Object.create||function(e,t){var n;return null!==e?(Jt[Ht]=Pe(e),n=new Jt,Jt[Ht]=null,n[Yt]=e):n=Xt(),void 0===t?n:qt.f(n,t)},en=Be.f,tn=we("unscopables"),nn=Array.prototype;null==nn[tn]&&en(nn,tn,{configurable:!0,value:Qt(null)});var rn=function(e){nn[tn][e]=!0};$t({target:"Array",proto:!0},{fill:function(e){for(var t=fe(this),n=bt(t),r=arguments.length,o=mt(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:mt(i,n);a>o;)t[o++]=e;return t}}),rn("fill");var on=Array.isArray||function(e){return"Array"==T(e)},an=TypeError,cn=function(e){if(e>9007199254740991)throw an("Maximum allowed index exceeded");return e},un=function(e,t,n){var r=xe(t);r in e?Be.f(e,r,y(0,n)):e[r]=n},fn={};fn[we("toStringTag")]="z";var sn="[object z]"===String(fn),ln=we("toStringTag"),dn=Object,pn="Arguments"==T(function(){return arguments}()),vn=sn?T:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=dn(e),ln))?n:pn?T(t):"Object"==(r=T(t))&&L(t.callee)?"Arguments":r},gn=function(){},hn=[],mn=U("Reflect","construct"),yn=/^\s*(?:class|function)\b/,wn=E(yn.exec),bn=!yn.exec(gn),Sn=function(e){if(!L(e))return!1;try{return mn(gn,hn,e),!0}catch(e){return!1}},En=function(e){if(!L(e))return!1;switch(vn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!wn(yn,Ke(e))}catch(e){return!0}};En.sham=!0;var xn=!mn||s((function(){var e;return Sn(Sn.call)||!Sn(Object)||!Sn((function(){e=!0}))||e}))?En:Sn,On=we("species"),Tn=Array,An=function(e,t){return new(function(e){var t;return on(e)&&(t=e.constructor,(xn(t)&&(t===Tn||on(t.prototype))||F(t)&&null===(t=t[On]))&&(t=void 0)),void 0===t?Tn:t}(e))(0===t?0:t)},jn=we("species"),In=function(e){return H>=51||!s((function(){var t=[];return(t.constructor={})[jn]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Rn=we("isConcatSpreadable"),Mn=H>=51||!s((function(){var e=[];return e[Rn]=!1,e.concat()[0]!==e})),Nn=function(e){if(!F(e))return!1;var t=e[Rn];return void 0!==t?!!t:on(e)};$t({target:"Array",proto:!0,arity:1,forced:!Mn||!In("concat")},{concat:function(e){var t,n,r,o,i,a=fe(this),c=An(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(Nn(i=-1===t?a:arguments[t]))for(o=bt(i),cn(u+o),n=0;n<o;n++,u++)n in i&&un(c,u,i[n]);else cn(u+1),un(c,u++,i);return c.length=u,c}});var Cn=String,Pn=TypeError,_n=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=function(e,t,n){try{return E(ee(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Pe(n),function(e){if("object"==typeof e||L(e))return e;throw Pn("Can't set "+Cn(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),kn=function(e,t,n){var r,o;return _n&&L(r=t.constructor)&&r!==n&&F(o=r.prototype)&&o!==n.prototype&&_n(e,o),e},Ln=we("match"),Dn=function(e){var t;return F(e)&&(void 0!==(t=e[Ln])?!!t:"RegExp"==T(e))},Fn=String,Un=function(e){if("Symbol"===vn(e))throw TypeError("Cannot convert a Symbol value to a string");return Fn(e)},Bn=function(){var e=Pe(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},$n=RegExp.prototype,Vn=function(e){var t=e.flags;return void 0!==t||"flags"in $n||le(e,"flags")||!B($n,e)?t:v(Bn,e)},zn=f.RegExp,qn=s((function(){var e=zn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Gn=qn||s((function(){return!zn("a","y").sticky})),Hn={BROKEN_CARET:qn||s((function(){var e=zn("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Gn,UNSUPPORTED_Y:qn},Wn=Be.f,Yn=function(e,t,n){n in e||Wn(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Jn=function(e,t,n){return n.get&&ft(n.get,t,{getter:!0}),n.set&&ft(n.set,t,{setter:!0}),Be.f(e,t,n)},Kn=we("species"),Zn=function(e){var t=U(e);l&&t&&!t[Kn]&&Jn(t,Kn,{configurable:!0,get:function(){return this}})},Xn=f.RegExp,Qn=s((function(){var e=Xn(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),er=f.RegExp,tr=s((function(){var e=er("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),nr=It.f,rr=ut.enforce,or=we("match"),ir=f.RegExp,ar=ir.prototype,cr=f.SyntaxError,ur=E(ar.exec),fr=E("".charAt),sr=E("".replace),lr=E("".indexOf),dr=E("".slice),pr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,vr=/a/g,gr=/a/g,hr=new ir(vr)!==vr,mr=Hn.MISSED_STICKY,yr=Hn.UNSUPPORTED_Y,wr=l&&(!hr||mr||Qn||tr||s((function(){return gr[or]=!1,ir(vr)!=vr||ir(gr)==gr||"/a/i"!=ir(vr,"i")})));if(Ut("RegExp",wr)){for(var br=function(e,t){var n,r,o,i,a,c,u=B(ar,this),f=Dn(e),s=void 0===t,l=[],d=e;if(!u&&f&&s&&e.constructor===br)return e;if((f||B(ar,e))&&(e=e.source,s&&(t=Vn(d))),e=void 0===e?"":Un(e),t=void 0===t?"":Un(t),d=e,Qn&&"dotAll"in vr&&(r=!!t&&lr(t,"s")>-1)&&(t=sr(t,/s/g,"")),n=t,mr&&"sticky"in vr&&(o=!!t&&lr(t,"y")>-1)&&yr&&(t=sr(t,/y/g,"")),tr&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(t=fr(e,r)))t+=fr(e,++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:ur(pr,dr(e,r+1))&&(r+=2,u=!0),o+=t,f++;continue;case">"===t&&u:if(""===s||le(a,s))throw new cr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=t:o+=t}return[o,i]}(e),e=i[0],l=i[1]),a=kn(ir(e,t),u?this:ar,br),(r||o||l.length)&&(c=rr(a),r&&(c.dotAll=!0,c.raw=br(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=fr(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+fr(e,++r);return o}(e),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),e!==d)try{$e(a,"source",""===d?"(?:)":d)}catch(e){}return a},Sr=nr(ir),Er=0;Sr.length>Er;)Yn(br,ir,Sr[Er++]);ar.constructor=br,br.prototype=ar,st(f,"RegExp",br,{constructor:!0})}Zn("RegExp");var xr=ut.get,Or=ce("native-string-replace",String.prototype.replace),Tr=RegExp.prototype.exec,Ar=Tr,jr=E("".charAt),Ir=E("".indexOf),Rr=E("".replace),Mr=E("".slice),Nr=function(){var e=/a/,t=/b*/g;return v(Tr,e,"a"),v(Tr,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Cr=Hn.BROKEN_CARET,Pr=void 0!==/()??/.exec("")[1];(Nr||Pr||Cr||Qn||tr)&&(Ar=function(e){var t,n,r,o,i,a,c,u=this,f=xr(u),s=Un(e),l=f.raw;if(l)return l.lastIndex=u.lastIndex,t=v(Ar,l,s),u.lastIndex=l.lastIndex,t;var d=f.groups,p=Cr&&u.sticky,g=v(Bn,u),h=u.source,m=0,y=s;if(p&&(g=Rr(g,"y",""),-1===Ir(g,"g")&&(g+="g"),y=Mr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==jr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",g)),Pr&&(n=new RegExp("^"+h+"$(?!\\s)",g)),Nr&&(r=u.lastIndex),o=v(Tr,p?n:u,y),p?o?(o.input=Mr(o.input,m),o[0]=Mr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Nr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),Pr&&o&&o.length>1&&v(Or,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Qt(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var _r=Ar;$t({target:"RegExp",proto:!0,forced:/./.exec!==_r},{exec:_r});var kr=Ge.PROPER,Lr="toString",Dr=RegExp.prototype[Lr],Fr=s((function(){return"/a/b"!=Dr.call({source:"a",flags:"b"})})),Ur=kr&&Dr.name!=Lr;(Fr||Ur)&&st(RegExp.prototype,Lr,(function(){var e=Pe(this);return"/"+Un(e.source)+"/"+Un(Vn(e))}),{unsafe:!0});var Br=function(e){if("Function"===T(e))return E(e)},$r=we("species"),Vr=RegExp.prototype,zr=function(e,t,n,r){var o=we(e),i=!s((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!s((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[$r]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var c=Br(/./[o]),u=t(o,""[e],(function(e,t,n,r,o){var a=Br(e),u=t.exec;return u===_r||u===Vr.exec?i&&!o?{done:!0,value:c(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));st(String.prototype,e,u[0]),st(Vr,o,u[1])}r&&$e(Vr[o],"sham",!0)},qr=E("".charAt),Gr=E("".charCodeAt),Hr=E("".slice),Wr=function(e){return function(t,n){var r,o,i=Un(N(t)),a=vt(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=Gr(i,a))<55296||r>56319||a+1===c||(o=Gr(i,a+1))<56320||o>57343?e?qr(i,a):r:e?Hr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Yr={codeAt:Wr(!1),charAt:Wr(!0)}.charAt,Jr=function(e,t,n){return t+(n?Yr(e,t).length:1)},Kr=TypeError,Zr=function(e,t){var n=e.exec;if(L(n)){var r=v(n,e,t);return null!==r&&Pe(r),r}if("RegExp"===T(e))return v(_r,e,t);throw Kr("RegExp#exec called on incompatible receiver")};zr("match",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?v(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Pe(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Zr(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=Zr(r,o));){var s=Un(c[0]);u[f]=s,""===s&&(r.lastIndex=Jr(o,wt(r.lastIndex),a)),f++}return 0===f?null:u}]}));var Xr=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};zr("search",(function(e,t,n){return[function(t){var n=N(this),r=R(t)?void 0:te(t,e);return r?v(r,t,n):new RegExp(t)[e](Un(n))},function(e){var r=Pe(this),o=Un(e),i=n(t,r,o);if(i.done)return i.value;var a=r.lastIndex;Xr(a,0)||(r.lastIndex=0);var c=Zr(r,o);return Xr(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var Qr=Function.prototype,eo=Qr.apply,to=Qr.call,no="object"==typeof Reflect&&Reflect.apply||(d?to.bind(eo):function(){return to.apply(eo,arguments)}),ro=Math.floor,oo=E("".charAt),io=E("".replace),ao=E("".slice),co=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,uo=/\$([$&'`]|\d{1,2})/g,fo=function(e,t,n,r,o,i){var a=n+e.length,c=r.length,u=uo;return void 0!==o&&(o=fe(o),u=co),io(i,u,(function(i,u){var f;switch(oo(u,0)){case"$":return"$";case"&":return e;case"`":return ao(t,0,n);case"'":return ao(t,a);case"<":f=o[ao(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ro(s/10);return 0===l?i:l<=c?void 0===r[l-1]?oo(u,1):r[l-1]+oo(u,1):i}f=r[s-1]}return void 0===f?"":f}))},so=we("replace"),lo=Math.max,po=Math.min,vo=E([].concat),go=E([].push),ho=E("".indexOf),mo=E("".slice),yo="$0"==="a".replace(/./,"$0"),wo=!!/./[so]&&""===/./[so]("a","$0");zr("replace",(function(e,t,n){var r=wo?"$":"$0";return[function(e,n){var r=N(this),o=R(e)?void 0:te(e,so);return o?v(o,e,r,n):v(t,Un(r),e,n)},function(e,o){var i=Pe(this),a=Un(e);if("string"==typeof o&&-1===ho(o,r)&&-1===ho(o,"$<")){var c=n(t,i,a,o);if(c.done)return c.value}var u=L(o);u||(o=Un(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=Zr(i,a);if(null===d)break;if(go(l,d),!f)break;""===Un(d[0])&&(i.lastIndex=Jr(a,wt(i.lastIndex),s))}for(var p,v="",g=0,h=0;h<l.length;h++){for(var m=Un((d=l[h])[0]),y=lo(po(vt(d.index),a.length),0),w=[],b=1;b<d.length;b++)go(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var E=vo([m],w,y,a);void 0!==S&&go(E,S);var x=Un(no(o,void 0,E))}else x=fo(m,a,y,w,S,o);y>=g&&(v+=mo(a,g,y)+x,g=y+m.length)}return v+mo(a,g)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!yo||wo);var bo=function(e,t){var n=[][e];return!!n&&s((function(){n.call(null,t||function(){return 1},1)}))},So=Et.indexOf,Eo=Br([].indexOf),xo=!!Eo&&1/Eo([1],1,-0)<0;$t({target:"Array",proto:!0,forced:xo||!bo("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return xo?Eo(this,e,t)||0:So(this,e,t)}});var Oo=TypeError,To=function(e){return function(t,n,r,o){ee(n);var i=fe(t),a=I(i),c=bt(i),u=e?c-1:0,f=e?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,e?u<0:c<=u)throw Oo("Reduce of empty array with no initial value")}for(;e?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Ao={left:To(!1),right:To(!0)},jo="undefined"!=typeof process&&"process"==T(process),Io=Ao.left;$t({target:"Array",proto:!0,forced:!jo&&H>79&&H<83||!bo("reduce")},{reduce:function(e){var t=arguments.length;return Io(this,e,t,t>1?arguments[1]:void 0)}});var Ro=sn?{}.toString:function(){return"[object "+vn(this)+"]"};sn||st(Object.prototype,"toString",Ro,{unsafe:!0});var Mo=E([].slice),No=In("slice"),Co=we("species"),Po=Array,_o=Math.max;$t({target:"Array",proto:!0,forced:!No},{slice:function(e,t){var n,r,o,i=C(this),a=bt(i),c=mt(e,a),u=mt(void 0===t?a:t,a);if(on(i)&&(n=i.constructor,(xn(n)&&(n===Po||on(n.prototype))||F(n)&&null===(n=n[Co]))&&(n=void 0),n===Po||void 0===n))return Mo(i,c,u);for(r=new(void 0===n?Po:n)(_o(u-c,0)),o=0;c<u;c++,o++)c in i&&un(r,o,i[c]);return r.length=o,r}});var ko=E(1..valueOf),Lo=RangeError,Do=RangeError,Fo=String,Uo=Math.floor,Bo=E((function(e){var t=Un(N(this)),n="",r=vt(e);if(r<0||r==1/0)throw Lo("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n})),$o=E("".slice),Vo=E(1..toFixed),zo=function(e,t,n){return 0===t?n:t%2==1?zo(e,t-1,n*e):zo(e*e,t/2,n)},qo=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=Uo(o/1e7)},Go=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=Uo(r/t),r=r%t*1e7},Ho=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=Fo(e[t]);n=""===n?r:n+Bo("0",7-r.length)+r}return n};$t({target:"Number",proto:!0,forced:s((function(){return"0.000"!==Vo(8e-5,3)||"1"!==Vo(.9,0)||"1.25"!==Vo(1.255,2)||"1000000000000000128"!==Vo(0xde0b6b3a7640080,0)}))||!s((function(){Vo({})}))},{toFixed:function(e){var t,n,r,o,i=ko(this),a=vt(e),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw Do("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Fo(i);if(i<0&&(u="-",i=-i),i>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(i*zo(2,69,1))-69,n=t<0?i*zo(2,-t,1):i/zo(2,t,1),n*=4503599627370496,(t=52-t)>0){for(qo(c,0,n),r=a;r>=7;)qo(c,1e7,0),r-=7;for(qo(c,zo(10,r,1),0),r=t-1;r>=23;)Go(c,1<<23),r-=23;Go(c,1<<r),qo(c,1,1),Go(c,2),f=Ho(c)}else qo(c,0,n),qo(c,1<<-t,0),f=Ho(c)+Bo("0",a);return f=a>0?u+((o=f.length)<=a?"0."+Bo("0",a-o)+f:$o(f,0,o-a)+"."+$o(f,o-a)):u+f}});var Wo="\t\n\v\f\r                 \u2028\u2029\ufeff",Yo=E("".replace),Jo=RegExp("^["+Wo+"]+"),Ko=RegExp("(^|[^"+Wo+"])["+Wo+"]+$"),Zo=function(e){return function(t){var n=Un(N(t));return 1&e&&(n=Yo(n,Jo,"")),2&e&&(n=Yo(n,Ko,"$1")),n}},Xo={start:Zo(1),end:Zo(2),trim:Zo(3)},Qo=Xo.trim,ei=E("".charAt),ti=f.parseFloat,ni=f.Symbol,ri=ni&&ni.iterator,oi=1/ti(Wo+"-0")!=-1/0||ri&&!s((function(){ti(Object(ri))}))?function(e){var t=Qo(Un(e)),n=ti(t);return 0===n&&"-"==ei(t,0)?-0:n}:ti;$t({global:!0,forced:parseFloat!=oi},{parseFloat:oi});var ii=TypeError,ai=we("species"),ci=function(e,t){var n,r=Pe(e).constructor;return void 0===r||R(n=Pe(r)[ai])?t:function(e){if(xn(e))return e;throw ii(X(e)+" is not a constructor")}(n)},ui=Array,fi=Math.max,si=function(e,t,n){for(var r=bt(e),o=mt(t,r),i=mt(void 0===n?r:n,r),a=ui(fi(i-o,0)),c=0;o<i;o++,c++)un(a,c,e[o]);return a.length=c,a},li=Hn.UNSUPPORTED_Y,di=4294967295,pi=Math.min,vi=[].push,gi=E(/./.exec),hi=E(vi),mi=E("".slice),yi=!s((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));zr("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=Un(N(this)),o=void 0===n?di:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Dn(e))return v(t,r,e,o);for(var i,a,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,l=new RegExp(e.source,f+"g");(i=v(_r,l,r))&&!((a=l.lastIndex)>s&&(hi(u,mi(r,s,i.index)),i.length>1&&i.index<r.length&&no(vi,u,si(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&gi(l,"")||hi(u,""):hi(u,mi(r,s)),u.length>o?si(u,0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:v(t,this,e,n)}:t,[function(t,n){var o=N(this),i=R(t)?void 0:te(t,e);return i?v(i,t,o,n):v(r,Un(o),t,n)},function(e,o){var i=Pe(this),a=Un(e),c=n(r,i,a,o,r!==t);if(c.done)return c.value;var u=ci(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(li?"g":"y"),l=new u(li?"^(?:"+i.source+")":i,s),d=void 0===o?di:o>>>0;if(0===d)return[];if(0===a.length)return null===Zr(l,a)?[a]:[];for(var p=0,v=0,g=[];v<a.length;){l.lastIndex=li?0:v;var h,m=Zr(l,li?mi(a,v):a);if(null===m||(h=pi(wt(l.lastIndex+(li?v:0)),a.length))===p)v=Jr(a,v,f);else{if(hi(g,mi(a,p,v)),g.length===d)return g;for(var y=1;y<=m.length-1;y++)if(hi(g,m[y]),g.length===d)return g;v=p=h}}return hi(g,mi(a,p)),g}]}),!yi,li);var wi=Object.assign,bi=Object.defineProperty,Si=E([].concat),Ei=!wi||s((function(){if(l&&1!==wi({b:1},wi(bi({},"a",{enumerable:!0,get:function(){bi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=wi({},e)[n]||Vt(wi({},t)).join("")!=r}))?function(e,t){for(var n=fe(e),r=arguments.length,o=1,i=Rt.f,a=m.f;r>o;)for(var c,u=I(arguments[o++]),f=i?Si(Vt(u),i(u)):Vt(u),s=f.length,d=0;s>d;)c=f[d++],l&&!v(a,u,c)||(n[c]=u[c]);return n}:wi;$t({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ei},{assign:Ei});var xi,Oi,Ti,Ai,ji=Be.f,Ii=we("toStringTag"),Ri=TypeError,Mi=Br(Br.bind),Ni=function(e,t){return ee(e),void 0===t?e:d?Mi(e,t):function(){return e.apply(t,arguments)}},Ci=TypeError,Pi=/(?:ipad|iphone|ipod).*applewebkit/i.test($),_i=f.setImmediate,ki=f.clearImmediate,Li=f.process,Di=f.Dispatch,Fi=f.Function,Ui=f.MessageChannel,Bi=f.String,$i=0,Vi={},zi="onreadystatechange";s((function(){xi=f.location}));var qi=function(e){if(le(Vi,e)){var t=Vi[e];delete Vi[e],t()}},Gi=function(e){return function(){qi(e)}},Hi=function(e){qi(e.data)},Wi=function(e){f.postMessage(Bi(e),xi.protocol+"//"+xi.host)};_i&&ki||(_i=function(e){!function(e,t){if(e<t)throw Ci("Not enough arguments")}(arguments.length,1);var t=L(e)?e:Fi(e),n=Mo(arguments,1);return Vi[++$i]=function(){no(t,void 0,n)},Oi($i),$i},ki=function(e){delete Vi[e]},jo?Oi=function(e){Li.nextTick(Gi(e))}:Di&&Di.now?Oi=function(e){Di.now(Gi(e))}:Ui&&!Pi?(Ai=(Ti=new Ui).port2,Ti.port1.onmessage=Hi,Oi=Ni(Ai.postMessage,Ai)):f.addEventListener&&L(f.postMessage)&&!f.importScripts&&xi&&"file:"!==xi.protocol&&!s(Wi)?(Oi=Wi,f.addEventListener("message",Hi,!1)):Oi=zi in Ae("script")?function(e){Gt.appendChild(Ae("script"))[zi]=function(){Gt.removeChild(this),qi(e)}}:function(e){setTimeout(Gi(e),0)});var Yi={set:_i,clear:ki},Ji=function(){this.head=null,this.tail=null};Ji.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ki,Zi,Xi,Qi,ea,ta=Ji,na=/ipad|iphone|ipod/i.test($)&&"undefined"!=typeof Pebble,ra=/web0s(?!.*chrome)/i.test($),oa=Re.f,ia=Yi.set,aa=f.MutationObserver||f.WebKitMutationObserver,ca=f.document,ua=f.process,fa=f.Promise,sa=oa(f,"queueMicrotask"),la=sa&&sa.value;if(!la){var da=new ta,pa=function(){var e,t;for(jo&&(e=ua.domain)&&e.exit();t=da.get();)try{t()}catch(e){throw da.head&&Ki(),e}e&&e.enter()};Pi||jo||ra||!aa||!ca?!na&&fa&&fa.resolve?((Qi=fa.resolve(void 0)).constructor=fa,ea=Ni(Qi.then,Qi),Ki=function(){ea(pa)}):jo?Ki=function(){ua.nextTick(pa)}:(ia=Ni(ia,f),Ki=function(){ia(pa)}):(Zi=!0,Xi=ca.createTextNode(""),new aa(pa).observe(Xi,{characterData:!0}),Ki=function(){Xi.data=Zi=!Zi}),la=function(e){da.head||Ki(),da.add(e)}}var va=la,ga=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ha=f.Promise,ma="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ya=!ma&&!jo&&"object"==typeof window&&"object"==typeof document;ha&&ha.prototype;var wa,ba,Sa,Ea,xa,Oa,Ta=we("species"),Aa=!1,ja=L(f.PromiseRejectionEvent),Ia=Ut("Promise",(function(){var e=Ke(ha),t=e!==String(ha);if(!t&&66===H)return!0;if(!H||H<51||!/native code/.test(e)){var n=new ha((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[Ta]=r,!(Aa=n.then((function(){}))instanceof r))return!0}return!t&&(ya||ma)&&!ja})),Ra={CONSTRUCTOR:Ia,REJECTION_EVENT:ja,SUBCLASSING:Aa},Ma=TypeError,Na=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw Ma("Bad Promise constructor");t=e,n=r})),this.resolve=ee(t),this.reject=ee(n)},Ca={f:function(e){return new Na(e)}},Pa=Yi.set,_a="Promise",ka=Ra.CONSTRUCTOR,La=Ra.REJECTION_EVENT,Da=Ra.SUBCLASSING,Fa=ut.getterFor(_a),Ua=ut.set,Ba=ha&&ha.prototype,$a=ha,Va=Ba,za=f.TypeError,qa=f.document,Ga=f.process,Ha=Ca.f,Wa=Ha,Ya=!!(qa&&qa.createEvent&&f.dispatchEvent),Ja="unhandledrejection",Ka=function(e){var t;return!(!F(e)||!L(t=e.then))&&t},Za=function(e,t){var n,r,o,i=t.value,a=1==t.state,c=a?e.ok:e.fail,u=e.resolve,f=e.reject,s=e.domain;try{c?(a||(2===t.rejection&&nc(t),t.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===e.promise?f(za("Promise-chain cycle")):(r=Ka(n))?v(r,n,u,f):u(n)):f(i)}catch(e){s&&!o&&s.exit(),f(e)}},Xa=function(e,t){e.notified||(e.notified=!0,va((function(){for(var n,r=e.reactions;n=r.get();)Za(n,e);e.notified=!1,t&&!e.rejection&&ec(e)})))},Qa=function(e,t,n){var r,o;Ya?((r=qa.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),f.dispatchEvent(r)):r={promise:t,reason:n},!La&&(o=f["on"+e])?o(r):e===Ja&&function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}("Unhandled promise rejection",n)},ec=function(e){v(Pa,f,(function(){var t,n=e.facade,r=e.value;if(tc(e)&&(t=ga((function(){jo?Ga.emit("unhandledRejection",r,n):Qa(Ja,n,r)})),e.rejection=jo||tc(e)?2:1,t.error))throw t.value}))},tc=function(e){return 1!==e.rejection&&!e.parent},nc=function(e){v(Pa,f,(function(){var t=e.facade;jo?Ga.emit("rejectionHandled",t):Qa("rejectionhandled",t,e.value)}))},rc=function(e,t,n){return function(r){e(t,r,n)}},oc=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Xa(e,!0))},ic=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw za("Promise can't be resolved itself");var r=Ka(t);r?va((function(){var n={done:!1};try{v(r,t,rc(ic,n,e),rc(oc,n,e))}catch(t){oc(n,t,e)}})):(e.value=t,e.state=1,Xa(e,!1))}catch(t){oc({done:!1},t,e)}}};if(ka&&(Va=($a=function(e){!function(e,t){if(B(t,e))return e;throw Ri("Incorrect invocation")}(this,Va),ee(e),v(wa,this);var t=Fa(this);try{e(rc(ic,t),rc(oc,t))}catch(e){oc(t,e)}}).prototype,(wa=function(e){Ua(this,{type:_a,done:!1,notified:!1,parent:!1,reactions:new ta,rejection:!1,state:0,value:void 0})}).prototype=st(Va,"then",(function(e,t){var n=Fa(this),r=Ha(ci(this,$a));return n.parent=!0,r.ok=!L(e)||e,r.fail=L(t)&&t,r.domain=jo?Ga.domain:void 0,0==n.state?n.reactions.add(r):va((function(){Za(r,n)})),r.promise})),ba=function(){var e=new wa,t=Fa(e);this.promise=e,this.resolve=rc(ic,t),this.reject=rc(oc,t)},Ca.f=Ha=function(e){return e===$a||undefined===e?new ba(e):Wa(e)},L(ha)&&Ba!==Object.prototype)){Sa=Ba.then,Da||st(Ba,"then",(function(e,t){var n=this;return new $a((function(e,t){v(Sa,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete Ba.constructor}catch(e){}_n&&_n(Ba,Va)}$t({global:!0,constructor:!0,wrap:!0,forced:ka},{Promise:$a}),xa=_a,Oa=!1,(Ea=$a)&&!Oa&&(Ea=Ea.prototype),Ea&&!le(Ea,Ii)&&ji(Ea,Ii,{configurable:!0,value:xa}),Zn(_a);var ac={},cc=we("iterator"),uc=Array.prototype,fc=we("iterator"),sc=function(e){if(!R(e))return te(e,fc)||te(e,"@@iterator")||ac[vn(e)]},lc=TypeError,dc=function(e,t,n){var r,o;Pe(e);try{if(!(r=te(e,"return"))){if("throw"===t)throw n;return n}r=v(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return Pe(r),n},pc=TypeError,vc=function(e,t){this.stopped=e,this.result=t},gc=vc.prototype,hc=function(e,t,n){var r,o,i,a,c,u,f,s,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),g=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=Ni(t,l),y=function(e){return r&&dc(r,"normal",e),new vc(!0,e)},w=function(e){return d?(Pe(e),h?m(e[0],e[1],y):m(e[0],e[1])):h?m(e,y):m(e)};if(p)r=e.iterator;else if(g)r=e;else{if(!(o=sc(e)))throw pc(X(e)+" is not iterable");if(void 0!==(s=o)&&(ac.Array===s||uc[cc]===s)){for(i=0,a=bt(e);a>i;i++)if((c=w(e[i]))&&B(gc,c))return c;return new vc(!1)}r=function(e,t){var n=arguments.length<2?sc(e):t;if(ee(n))return Pe(v(n,e));throw lc(X(e)+" is not iterable")}(e,o)}for(u=p?e.next:r.next;!(f=v(u,r)).done;){try{c=w(f.value)}catch(e){dc(r,"throw",e)}if("object"==typeof c&&c&&B(gc,c))return c}return new vc(!1)},mc=we("iterator"),yc=!1;try{var wc=0,bc={next:function(){return{done:!!wc++}},return:function(){yc=!0}};bc[mc]=function(){return this},Array.from(bc,(function(){throw 2}))}catch(e){}var Sc=Ra.CONSTRUCTOR||!function(e,t){if(!t&&!yc)return!1;var n=!1;try{var r={};r[mc]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){ha.all(e).then(void 0,(function(){}))}));$t({target:"Promise",stat:!0,forced:Sc},{all:function(e){var t=this,n=Ca.f(t),r=n.resolve,o=n.reject,i=ga((function(){var n=ee(t.resolve),i=[],a=0,c=1;hc(e,(function(e){var u=a++,f=!1;c++,v(n,t,e).then((function(e){f||(f=!0,i[u]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Ec=Ra.CONSTRUCTOR,xc=ha&&ha.prototype;if($t({target:"Promise",proto:!0,forced:Ec,real:!0},{catch:function(e){return this.then(void 0,e)}}),L(ha)){var Oc=U("Promise").prototype.catch;xc.catch!==Oc&&st(xc,"catch",Oc,{unsafe:!0})}$t({target:"Promise",stat:!0,forced:Sc},{race:function(e){var t=this,n=Ca.f(t),r=n.reject,o=ga((function(){var o=ee(t.resolve);hc(e,(function(e){v(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),$t({target:"Promise",stat:!0,forced:Ra.CONSTRUCTOR},{reject:function(e){var t=Ca.f(this);return v(t.reject,void 0,e),t.promise}});var Tc=Ra.CONSTRUCTOR;U("Promise"),$t({target:"Promise",stat:!0,forced:Tc},{resolve:function(e){return function(e,t){if(Pe(e),F(t)&&t.constructor===e)return t;var n=Ca.f(e);return(0,n.resolve)(t),n.promise}(this,e)}});var Ac=Ge.EXISTS,jc=Function.prototype,Ic=E(jc.toString),Rc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Mc=E(Rc.exec);l&&!Ac&&Jn(jc,"name",{configurable:!0,get:function(){try{return Mc(Rc,Ic(this))[1]}catch(e){return""}}});var Nc=E([].join);$t({target:"Array",proto:!0,forced:I!=Object||!bo("join",",")},{join:function(e){return Nc(C(this),void 0===e?",":e)}});var Cc=E([].push),Pc=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(u,f,s,l){for(var d,p,v=fe(u),g=I(v),h=Ni(f,s),m=bt(g),y=0,w=l||An,b=t?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in g)&&(p=h(d=g[y],y,v),e))if(t)b[y]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return y;case 2:Cc(b,d)}else switch(e){case 4:return!1;case 7:Cc(b,d)}return i?-1:r||o?o:b}},_c={forEach:Pc(0),map:Pc(1),filter:Pc(2),some:Pc(3),every:Pc(4),find:Pc(5),findIndex:Pc(6),filterReject:Pc(7)}.forEach,kc=bo("forEach")?[].forEach:function(e){return _c(this,e,arguments.length>1?arguments[1]:void 0)};$t({target:"Array",proto:!0,forced:[].forEach!=kc},{forEach:kc});var Lc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Dc=Ae("span").classList,Fc=Dc&&Dc.constructor&&Dc.constructor.prototype,Uc=Fc===Object.prototype?void 0:Fc,Bc=function(e){if(e&&e.forEach!==kc)try{$e(e,"forEach",kc)}catch(t){e.forEach=kc}};for(var $c in Lc)Lc[$c]&&Bc(f[$c]&&f[$c].prototype);Bc(Uc),$t({target:"Object",stat:!0,forced:s((function(){Vt(1)}))},{keys:function(e){return Vt(fe(e))}});var Vc=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),zc=et("IE_PROTO"),qc=Object,Gc=qc.prototype,Hc=Vc?qc.getPrototypeOf:function(e){var t=fe(e);if(le(t,zc))return t[zc];var n=t.constructor;return L(n)&&t instanceof n?n.prototype:t instanceof qc?Gc:null};$t({target:"Object",stat:!0,forced:s((function(){Hc(1)})),sham:!Vc},{getPrototypeOf:function(e){return Hc(fe(e))}});var Wc=Et.includes;$t({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return Wc(this,e,arguments.length>1?arguments[1]:void 0)}}),rn("includes");var Yc=TypeError,Jc=we("match"),Kc=E("".indexOf);$t({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Jc]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Kc(Un(N(this)),Un(function(e){if(Dn(e))throw Yc("The method doesn't accept regular expressions");return e}(e)),arguments.length>1?arguments[1]:void 0)}});var Zc=f,Xc=It.f,Qc=Re.f,eu=Be.f,tu=Xo.trim,nu="Number",ru=f[nu];Zc[nu];var ou=ru.prototype,iu=f.TypeError,au=E("".slice),cu=E("".charCodeAt),uu=function(e){var t,n,r,o,i,a,c,u,f=Ee(e,"number");if(K(f))throw iu("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=tu(f),43===(t=cu(f,0))||45===t){if(88===(n=cu(f,2))||120===n)return NaN}else if(48===t){switch(cu(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=au(f,2)).length,c=0;c<a;c++)if((u=cu(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},fu=Ut(nu,!ru(" 0o1")||!ru("0b1")||ru("+0x1")),su=function(e){var t,n=arguments.length<1?0:ru(function(e){var t=Ee(e,"number");return"bigint"==typeof t?t:uu(t)}(e));return B(ou,t=this)&&s((function(){ko(t)}))?kn(Object(n),this,su):n};su.prototype=ou,fu&&(ou.constructor=su),$t({global:!0,constructor:!0,wrap:!0,forced:fu},{Number:su});fu&&function(e,t){for(var n,r=l?Xc(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)le(t,n=r[o])&&!le(e,n)&&eu(e,n,Qc(t,n))}(Zc[nu],ru);var lu=TypeError,du=Object.getOwnPropertyDescriptor,pu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(on(e)&&!du(e,"length").writable)throw lu("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},vu=TypeError,gu=function(e,t){if(!delete e[t])throw vu("Cannot delete property "+X(t)+" of "+X(e))},hu=In("splice"),mu=Math.max,yu=Math.min;function wu(e){var t=e.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===t[0]?t.substr(1):t}function bu(e){return JSON.parse(JSON.stringify(e))}function Su(e){void 0===e&&(e=5);for(var t="";e--;)t+=Math.floor(10*Math.random());return t}function Eu(e,t){void 0===t&&(t={isNaNAsNumber:!1,isUnFiniteAsNumber:!1});var n=Object.assign({isNaNAsNumber:!1,isUnFiniteAsNumber:!1},t),r=n.isNaNAsNumber,o=!0;return"number"!=typeof e&&(o=!1),!1!==n.isUnFiniteAsNumber||isFinite(e)||(o=!1),!1===r&&isNaN(e)&&(o=!1),o}function xu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null;return e&&"function"==typeof e&&(r=e.apply(void 0,t)),r}function Ou(){return Date.now?Date.now():(new Date).getTime()}function Tu(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function Au(){try{var e=navigator.userAgent.toLowerCase(),t=function(t){return t.test(e)},n=function(t){var n=e.match(t),r="";return n&&(r=n.toString().replace(/[^0-9|_.]/g,"").replace(/_/g,".")),r},r="",o="";t(/windows|win32|win64|wow32|wow64/g)?r="windows":t(/macintosh|macintel/g)?r="macos":t(/x11/g)?r="linux":t(/android|adr/g)?r="android":t(/ios|iphone|ipad|ipod|iwatch/g)&&(r="ios",t(/ipad/g)?o="ipad":t(/iphone/g)?o="iphone":t(/iwatch/g)?o="iwatch":t(/ipod/g)&&(o="ipod"));var i="";"windows"===r?t(/windows nt 5.0|windows 2000/g)?i="2000":t(/windows nt 5.1|windows xp/g)?i="xp":t(/windows nt 5.2|windows 2003/g)?i="2003":t(/windows nt 6.0|windows vista/g)?i="vista":t(/windows nt 6.1|windows 7/g)?i="7":t(/windows nt 6.2|windows 8/g)?i="8":t(/windows nt 6.3|windows 8.1/g)?i="8.1":t(/windows nt 10.0|windows 10/g)&&(i="10"):"macos"===r?i=n(/os x [\d._]+/g):"android"===r?i=n(/android [\d._]+/g):"ios"===r&&(i=n(/os [\d._]+/g));var a="";"windows"===r||"macos"===r||"linux"===r?a="desktop":("android"===r||"ios"===r||t(/mobile/g))&&(a="mobile");var c="",u="";t(/applewebkit/g)?(c="webkit",t(/edge/g)?u="edge":t(/opr/g)?u="opera":t(/chrome/g)?u="chrome":t(/safari/g)&&(u="safari")):t(/gecko/g)&&t(/firefox/g)?(c="gecko",u="firefox"):t(/presto/g)?(c="presto",u="opera"):t(/trident|compatible|msie/g)&&(c="trident",u="iexplore");var f="";"webkit"===c?f=n(/applewebkit\/[\d._]+/g):"gecko"===c?f=n(/gecko\/[\d._]+/g):"presto"===c?f=n(/presto\/[\d._]+/g):"trident"===c&&(f=n(/trident\/[\d._]+/g));var s="";"chrome"===u?s=n(/chrome\/[\d._]+/g):"safari"===u?s=n(/version\/[\d._]+/g):"firefox"===u?s=n(/firefox\/[\d._]+/g):"opera"===u?s=n(/opr\/[\d._]+/g):"iexplore"===u?s=n(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===u&&(s=n(/edge\/[\d._]+/g));var l="",d="";return t(/micromessenger/g)?(l="wechat",d=n(/micromessenger\/[\d._]+/g)):t(/qqbrowser/g)?(l="qq_browser",d=n(/qqbrowser\/[\d._]+/g)):t(/\sqq/g)?l="qq_app":t(/ucbrowser/g)?(l="uc",d=n(/ucbrowser\/[\d._]+/g)):t(/qihu 360se/g)?l="360":t(/2345explorer/g)?(l="2345",d=n(/2345explorer\/[\d._]+/g)):t(/metasr/g)?l="sougou":t(/lbbrowser/g)?l="liebao":t(/maxthon/g)?(l="maxthon",d=n(/maxthon\/[\d._]+/g)):t(/biliapp/g)&&(l="bilibili"),Object.assign({engine:c,engineVs:f,platform:a,supporter:u,supporterVs:s,system:r,systemVs:i},{shell:l,shellVs:d,appleType:o})}catch(e){return console.warn("mazey:",e),{engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""}}}function ju(){var e=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(e)&&(e={},window.MAZEY_DEFINE_LISTENERS=e),e}return $t({target:"Array",proto:!0,forced:!hu},{splice:function(e,t){var n,r,o,i,a,c,u=fe(this),f=bt(u),s=mt(e,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=yu(mu(vt(t),0),f-s)),cn(f+n-r),o=An(u,r),i=0;i<r;i++)(a=s+i)in u&&un(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:gu(u,c);for(i=f;i>f-r+n;i--)gu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:gu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return pu(u,f-r+n),o}}),e.addClass=function(e,t){var n,r=e.className,o="";""!==r&&(o=" "),n=r+o+t,e.className=n},e.addEvent=function(e,t){var n=ju();void 0===n[e]&&(n[e]=[]),"function"==typeof t&&n[e].push(t)},e.addStyle=function(e,t){if(void 0===t&&(t={id:""}),!e)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return t.id?(o="".concat(t.id),(r=document.getElementById(o))?r.innerHTML=e:(i.setAttribute("id",t.id),i.innerHTML=e,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=e,n.appendChild(i),document.head.appendChild(n)),!0},e.calLongestCommonSubsequence=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)},e.calLongestCommonSubstring=function(e,t){for(var n=e.length,r=t.length,o=bu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(e[i]===t[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)},e.camelCase2Underscore=wu,e.camelCaseToKebabCase=function(e){var t=e.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===t[0]?t.substr(1):t},e.cancelBubble=function(e){var t=e||window.event;t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},e.clearHtml=function(e){return e.replace(/<\/?.+?>/g,"").replace(/[\r\n]/g,"")},e.convert10To26=function(e){for(var t="";e>0;){var n=e%26;0===n&&(n=26),t=String.fromCharCode(n+96)+t,e=(e-n)/26}return t},e.cutCHSString=function(e,t,n){if(void 0===n&&(n=!1),""!=e&&e){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=e.replace(i,"**").length,u=0;u<c&&(null!=(a=e.charAt(u).toString()).match(i)?r+=2:r++,!(r>t));u++)o+=a;return n&&c>t&&(o+="..."),o}return""},e.debounce=function(e,t,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=Ou()-i;f<t&&f>=0?o=setTimeout(u,t-f):(o=null,n||(c=e.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=Ou();var l=n&&!o;return o||(o=setTimeout(u,t)),l&&(c=e.apply(r,a),r=a=null),c}},e.deepCopyObject=bu,e.doFn=xu,e.floatFixed=function(e,t){return void 0===t&&(t=0),parseFloat(e).toFixed(t)},e.floatToPercent=function(e,t){void 0===t&&(t=0);var n="";return n=t?(100*e).toFixed(t):String(Math.floor(100*e)),"".concat(n,"%")},e.formatDate=function(e,t){void 0===t&&(t="yyyy-MM-dd"),e||(e=new Date);var n=new Date(e),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=t||"yyyy-MM-dd";return Object.keys(r).forEach((function(e){var t=r[e];"MM"===e&&Number(t)<=9&&(t="0".concat(t)),o=o.replace(e,String(t))})),o},e.friendlyInterval=function(e,t,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n={type:"d"});var r=n.type;Eu(e)||(e=new Date(e).getTime()),Eu(t)||(t=new Date(t).getTime());var o=t-e,i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},e.genCustomConsole=function(e,t){void 0===e&&(e=""),void 0===t&&(t={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},t),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(t){f[t]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=e,p=e;if("string"==typeof e&&e.length>=2){var v=e.length;d=":"===e[v-1]?e.substring(0,v-1):e}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=e?"".concat(s()," ").concat(e):"".concat(s())),e||i?(n=console)[t].apply(n,function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}([p],f)):(a=console)[t].apply(a,f),"log"===t&&c(),"error"===t&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},e.genHashCode=function(e){var t,n=0;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n},e.generateRndNum=Su,e.generateUniqueNum=function(e){void 0===e&&(e=3);var t=[Ou(),Su(e||3)];return t[0]+t[1]},e.getBrowserInfo=Au,e.getCookie=Tu,e.getDefineListeners=ju,e.getDomain=function(e,t){void 0===t&&(t=["hostname"]);var n=document.createElement("a");return n.href=e,t.reduce((function(e,t){return e+=n[t]}),"")},e.getFileSize=function(e){var t=function(e){return String(Math.ceil(e))};if(!e)return"";var n=1024;return e<n?e+" B":e<Math.pow(n,2)?t(e/n)+" KB":e<Math.pow(n,3)?t(e/Math.pow(n,2))+" MB":e<Math.pow(n,4)?t(e/Math.pow(n,3))+" G":t(e/Math.pow(n,4))+" T"},e.getHashQueryParam=function(e){var t=location.hash.split("?");if(1===t.length)return"";var n=new RegExp("(^|&)".concat(e,"=([^&]*)(&|$)")),r=t[1].match(n);return r?r[2]:""},e.getLocalStorage=function(e){var t=null;if(e){var n=localStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getPerformance=function(e){var t,n;void 0===e&&(e=!1);var r,o,i=new Promise((function(e,r){var o;t=(o=[e,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(e,t,n){var i=Math.round(e.startTime);"first-paint"===e.name?r=i:"first-contentful-paint"===e.name&&(o=i)}));else console.error("paint")}catch(e){console.error(e.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},g={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:v(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(g).forEach((function(e){Eu(g[e])&&g[e]<0&&(g[e]=0)})),Eu(g.whiteTime)&&g.whiteTime>g.onloadTime&&(g.whiteTime=0),c>0)e||Object.keys(g).forEach((function(e){i||(i={}),i[wu(e)]=g[e]})),t(i||g);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var e,t=navigator.userAgent,n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1,r=!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(e=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(e=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),e}function l(){var e=navigator.userAgent.toLowerCase(),t=e.match(/(ipad)/i)&&"ipad",n=e.match(/iphone os/i)&&"iphone os",r=e.match(/midp/i)&&"midp",o=e.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=e.match(/ucweb/i)&&"ucweb",a=e.match(/android/i)&&"android",c=e.match(/windows ce/i)&&"windows ce",u=e.match(/windows mobile/i)&&"windows mobile";return t||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":t?"ipad":void 0:"pc"}function d(){var e;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":e="wifi";break;case"4g":e="4g";break;case"2g":e="2g";break;case"3g":e="3g";break;case"ethernet":e="ethernet";break;case"default":e=void 0}return e}function p(){var e;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(e="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(e="-")),e}function v(e,t){var n;return t&&(n=e-t),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},e.getQueryParam=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=location.search.substr(1).match(t);return null!==n?decodeURIComponent(n[2]):""},e.getSessionStorage=function(e){var t=null;if(e){var n=sessionStorage.getItem(e);n&&(t=JSON.parse(n))}return t},e.getUrlParam=function(e,t){var n={};return e.replace(/\??(\w+)=([^&]*)&?/g,(function(e,t,r){if(void 0!==n[t]){var o=n[t];n[t]=[].concat(o,r)}else n[t]=r})),n[t]||""},e.hasClass=function(e,t){for(var n=e.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===t)return!0;return!1},e.inRate=function(e){return Math.random()<e},e.invokeEvent=function(e){var t=ju()[e];if(t instanceof Array)for(var n=0,r=t.length;n<r;n++)"function"==typeof t[n]&&t[n]({type:e})},e.isJsonString=function(e){try{if("object"===c(JSON.parse(e)))return!0}catch(e){}return!1},e.isNonEmptyArray=function(e){var t=!1;return Array.isArray(e)&&e.length&&(t=!0),t},e.isNumber=Eu,e.isSafePWAEnv=function(){var e=Au();return!(!("serviceWorker"in navigator&&function(){var e;try{return e=new Function("return async function(){};")(),null!=Object.getPrototypeOf(e).constructor}catch(e){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||e.shell)},e.isSupportWebp=function(){return new Promise((function(e){var t=new Image;t.onload=function(){e(t.width>0&&t.height>0)},t.onerror=function(){e(!1)},t.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},e.isValidData=function(e,t,n){var r=!1;return t.reduce((function(e,t){return e[t]?e=e[t]:Object.create(null)}),e)===n&&(r=!0),r},e.isValidEmail=function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},e.isValidPhoneNumber=function(e){return/^1[3456789]\d{9}$/.test(e)},e.isValidUrl=function(e){return/[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/gm.test(e)},e.loadCSS=function(e,t){void 0===t&&(t={id:""});var n,r=t.id,o=new Promise((function(e,t){n=[e,t][0]})),i=function(){n(!0)},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=e,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(e,t,n){var r,o=e.sheet;if((n+=1)>3e5)return r=!0,e=null,void t();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(e){"NS_ERROR_DOM_SECURITY_ERR"===e.name&&(r=!0)}setTimeout((function(){r?t():s(e,t,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},e.loadScript=function(e,t){void 0===t&&(t={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},t),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,xu(o),xu(c,!0))}:f.onload=function(){xu(o),xu(c,!0)},f.src=e,s&&s.parentNode.insertBefore(f,s),new Promise((function(e,t){var n;c=(n=[e,t])[0],u=n[1],i&&setTimeout(u.bind(null,Error("timeout")),i)}))},e.mNow=Ou,e.mTrim=function(e){for(var t=(e=e.replace(/^\s+/,"")).length-1,n=/\s/;n.test(e.charAt(t));)t--;return e.slice(0,t+1)},e.newLine=function(e){if(!e)return"";var t=new RegExp("\\n","g");return e.replace(t,"<br />")},e.removeClass=function(e,t){var n;n=(n=(n=(n=" "+e.className+" ").replace(/(\s+)/gi," ")).replace(" "+t+" "," ")).replace(/(^\s+)|(\s+$)/g,""),e.className=n},e.removeEvent=function(e,t){var n=ju(),r=n[e];if("string"==typeof e&&r instanceof Array)if("function"==typeof t){for(var o=0,i=r.length;o<i;o++)if(r[o]===t){n[e].splice(o,1);break}}else delete n[e]},e.setCookie=function(e,t,n,r){var o,i,a;n?((a=new Date).setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toGMTString()):i="";var c=location.host;1===c.split(".").length?document.cookie=e+"="+t+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=e+"="+t+i+"; path=/; domain="+r,null!==Tu(e)&&Tu(e)===t||(r=r||"."+c,document.cookie=e+"="+t+i+"; path=/; domain="+r))},e.setLocalStorage=function(e,t){void 0===t&&(t=null),e&&localStorage.setItem(e,JSON.stringify(t))},e.setSessionStorage=function(e,t){void 0===t&&(t=null),e&&sessionStorage.setItem(e,JSON.stringify(t))},e.throttle=function(e,t,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:Ou(),i=null,c=e.apply(r,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=Ou();u||!1!==n.leading||(u=l);var d=t-(l-u);return r=this,o=a,d<=0||d>t?(i&&(clearTimeout(i),i=null),u=l,c=e.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f,d)),c}},e.updateQueryParam=function(e,t,n){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+n+"$2"):e+o+t+"="+n},e.windowLoaded=function(e){void 0===e&&(e=90);var t,n=function(){},r=new Promise((function(e,r){n=e,t=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return t(Error("timeout"))}),1e3*e),r},e.zAxiosIsValidRes=function(e,t){void 0===t&&(t={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},t),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(e&&e.status&&2===r.length&&e.status>=r[0]&&e.status<r[1]){var a=e.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
6
+ var mazey=function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t,e){return t(e={exports:{}},e.exports),e.exports}var r,o,i,a=n((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),c=(r=a)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,u=function(t){return t&&t.Math==Math&&t},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof e&&e)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),p=Function.prototype.call,v=d?p.bind(p):function(){return p.apply(p,arguments)},g={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,m={f:h&&!g.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:g},y=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=Function.prototype,b=w.call,S=d&&w.bind.bind(b,b),E=d?S:function(t){return function(){return b.apply(t,arguments)}},x=E({}.toString),O=E("".slice),T=function(t){return O(x(t),8,-1)},A=Object,j=E("".split),R=s((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"==T(t)?j(t,""):A(t)}:A,I=function(t){return null==t},N=TypeError,M=function(t){if(I(t))throw N("Can't call method on "+t);return t},C=function(t){return R(M(t))},_="object"==typeof document&&document.all,P={all:_,IS_HTMLDDA:void 0===_&&void 0!==_},k=P.all,L=P.IS_HTMLDDA?function(t){return"function"==typeof t||t===k}:function(t){return"function"==typeof t},F=P.all,D=P.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===F}:function(t){return"object"==typeof t?null!==t:L(t)},U=function(t,e){return arguments.length<2?(n=f[t],L(n)?n:void 0):f[t]&&f[t][e];var n},B=E({}.isPrototypeOf),$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",V=f.process,z=f.Deno,W=V&&V.versions||z&&z.version,q=W&&W.v8;q&&(i=(o=q.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!i&&$&&(!(o=$.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=$.match(/Chrome\/(\d+)/))&&(i=+o[1]);var G=i,H=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G&&G<41})),Y=H&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=Object,J=Y?function(t){return"symbol"==typeof t}:function(t){var e=U("Symbol");return L(e)&&B(e.prototype,Z(t))},K=String,X=function(t){try{return K(t)}catch(t){return"Object"}},Q=TypeError,tt=function(t){if(L(t))return t;throw Q(X(t)+" is not a function")},et=function(t,e){var n=t[e];return I(n)?void 0:tt(n)},nt=TypeError,rt=Object.defineProperty,ot=function(t,e){try{rt(f,t,{value:e,configurable:!0,writable:!0})}catch(n){f[t]=e}return e},it="__core-js_shared__",at=f[it]||ot(it,{}),ct=n((function(t){(t.exports=function(t,e){return at[t]||(at[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),ut=Object,ft=function(t){return ut(M(t))},st=E({}.hasOwnProperty),lt=Object.hasOwn||function(t,e){return st(ft(t),e)},dt=0,pt=Math.random(),vt=E(1..toString),gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+vt(++dt+pt,36)},ht=f.Symbol,mt=ct("wks"),yt=Y?ht.for||ht:ht&&ht.withoutSetter||gt,wt=function(t){return lt(mt,t)||(mt[t]=H&&lt(ht,t)?ht[t]:yt("Symbol."+t)),mt[t]},bt=TypeError,St=wt("toPrimitive"),Et=function(t,e){if(!D(t)||J(t))return t;var n,r=et(t,St);if(r){if(void 0===e&&(e="default"),n=v(r,t,e),!D(n)||J(n))return n;throw bt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&L(n=t.toString)&&!D(r=v(n,t)))return r;if(L(n=t.valueOf)&&!D(r=v(n,t)))return r;if("string"!==e&&L(n=t.toString)&&!D(r=v(n,t)))return r;throw nt("Can't convert object to primitive value")}(t,e)},xt=function(t){var e=Et(t,"string");return J(e)?e:e+""},Ot=f.document,Tt=D(Ot)&&D(Ot.createElement),At=function(t){return Tt?Ot.createElement(t):{}},jt=!l&&!s((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,It={f:l?Rt:function(t,e){if(t=C(t),e=xt(e),jt)try{return Rt(t,e)}catch(t){}if(lt(t,e))return y(!v(m.f,t,e),t[e])}},Nt=l&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=String,Ct=TypeError,_t=function(t){if(D(t))return t;throw Ct(Mt(t)+" is not an object")},Pt=TypeError,kt=Object.defineProperty,Lt=Object.getOwnPropertyDescriptor,Ft="enumerable",Dt="configurable",Ut="writable",Bt={f:l?Nt?function(t,e,n){if(_t(t),e=xt(e),_t(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ut in n&&!n[Ut]){var r=Lt(t,e);r&&r[Ut]&&(t[e]=n.value,n={configurable:Dt in n?n[Dt]:r[Dt],enumerable:Ft in n?n[Ft]:r[Ft],writable:!1})}return kt(t,e,n)}:kt:function(t,e,n){if(_t(t),e=xt(e),_t(n),jt)try{return kt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw Pt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},$t=l?function(t,e,n){return Bt.f(t,e,y(1,n))}:function(t,e,n){return t[e]=n,t},Vt=Function.prototype,zt=l&&Object.getOwnPropertyDescriptor,Wt=lt(Vt,"name"),qt={EXISTS:Wt,PROPER:Wt&&"something"===function(){}.name,CONFIGURABLE:Wt&&(!l||l&&zt(Vt,"name").configurable)},Gt=E(Function.toString);L(at.inspectSource)||(at.inspectSource=function(t){return Gt(t)});var Ht,Yt,Zt,Jt=at.inspectSource,Kt=f.WeakMap,Xt=L(Kt)&&/native code/.test(String(Kt)),Qt=ct("keys"),te=function(t){return Qt[t]||(Qt[t]=gt(t))},ee={},ne="Object already initialized",re=f.TypeError,oe=f.WeakMap;if(Xt||at.state){var ie=at.state||(at.state=new oe);ie.get=ie.get,ie.has=ie.has,ie.set=ie.set,Ht=function(t,e){if(ie.has(t))throw re(ne);return e.facade=t,ie.set(t,e),e},Yt=function(t){return ie.get(t)||{}},Zt=function(t){return ie.has(t)}}else{var ae=te("state");ee[ae]=!0,Ht=function(t,e){if(lt(t,ae))throw re(ne);return e.facade=t,$t(t,ae,e),e},Yt=function(t){return lt(t,ae)?t[ae]:{}},Zt=function(t){return lt(t,ae)}}var ce,ue={set:Ht,get:Yt,has:Zt,enforce:function(t){return Zt(t)?Yt(t):Ht(t,{})},getterFor:function(t){return function(e){var n;if(!D(e)||(n=Yt(e)).type!==t)throw re("Incompatible receiver, "+t+" required");return n}}},fe=n((function(t){var e=qt.CONFIGURABLE,n=ue.enforce,r=ue.get,o=String,i=Object.defineProperty,a=E("".slice),c=E("".replace),u=E([].join),f=l&&!s((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=t.exports=function(t,r,s){"Symbol("===a(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(r="get "+r),s&&s.setter&&(r="set "+r),(!lt(t,"name")||e&&t.name!==r)&&(l?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&s&&lt(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&lt(s,"constructor")&&s.constructor?l&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return lt(p,"source")||(p.source=u(d,"string"==typeof r?r:"")),t};Function.prototype.toString=p((function(){return L(this)&&r(this).source||Jt(this)}),"toString")})),se=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(L(n)&&fe(n,i,r),r.global)o?t[e]=n:ot(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Bt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},le=Math.ceil,de=Math.floor,pe=Math.trunc||function(t){var e=+t;return(e>0?de:le)(e)},ve=function(t){var e=+t;return e!=e||0===e?0:pe(e)},ge=Math.max,he=Math.min,me=function(t,e){var n=ve(t);return n<0?ge(n+e,0):he(n,e)},ye=Math.min,we=function(t){return t>0?ye(ve(t),9007199254740991):0},be=function(t){return we(t.length)},Se=function(t){return function(e,n,r){var o,i=C(e),a=be(i),c=me(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===n)return t||c||0;return!t&&-1}},Ee={includes:Se(!0),indexOf:Se(!1)},xe=Ee.indexOf,Oe=E([].push),Te=function(t,e){var n,r=C(t),o=0,i=[];for(n in r)!lt(ee,n)&&lt(r,n)&&Oe(i,n);for(;e.length>o;)lt(r,n=e[o++])&&(~xe(i,n)||Oe(i,n));return i},Ae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],je=Ae.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(t){return Te(t,je)}},Ie={f:Object.getOwnPropertySymbols},Ne=E([].concat),Me=U("Reflect","ownKeys")||function(t){var e=Re.f(_t(t)),n=Ie.f;return n?Ne(e,n(t)):e},Ce=function(t,e,n){for(var r=Me(e),o=Bt.f,i=It.f,a=0;a<r.length;a++){var c=r[a];lt(t,c)||n&&lt(n,c)||o(t,c,i(e,c))}},_e=/#|\.prototype\./,Pe=function(t,e){var n=Le[ke(t)];return n==De||n!=Fe&&(L(e)?s(e):!!e)},ke=Pe.normalize=function(t){return String(t).replace(_e,".").toLowerCase()},Le=Pe.data={},Fe=Pe.NATIVE="N",De=Pe.POLYFILL="P",Ue=Pe,Be=It.f,$e=function(t,e){var n,r,o,i,a,c=t.target,u=t.global,s=t.stat;if(n=u?f:s?f[c]||ot(c,{}):(f[c]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=Be(n,r))&&a.value:n[r],!Ue(u?r:c+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ce(i,o)}(t.sham||o&&o.sham)&&$t(i,"sham",!0),se(n,r,i,t)}},Ve=Object.keys||function(t){return Te(t,Ae)},ze=l&&!Nt?Object.defineProperties:function(t,e){_t(t);for(var n,r=C(e),o=Ve(e),i=o.length,a=0;i>a;)Bt.f(t,n=o[a++],r[n]);return t},We={f:ze},qe=U("document","documentElement"),Ge="prototype",He="script",Ye=te("IE_PROTO"),Ze=function(){},Je=function(t){return"<"+He+">"+t+"</"+He+">"},Ke=function(t){t.write(Je("")),t.close();var e=t.parentWindow.Object;return t=null,e},Xe=function(){try{ce=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Xe="undefined"!=typeof document?document.domain&&ce?Ke(ce):(e=At("iframe"),n="java"+He+":",e.style.display="none",qe.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Je("document.F=Object")),t.close(),t.F):Ke(ce);for(var r=Ae.length;r--;)delete Xe[Ge][Ae[r]];return Xe()};ee[Ye]=!0;var Qe=Object.create||function(t,e){var n;return null!==t?(Ze[Ge]=_t(t),n=new Ze,Ze[Ge]=null,n[Ye]=t):n=Xe(),void 0===e?n:We.f(n,e)},tn=Bt.f,en=wt("unscopables"),nn=Array.prototype;null==nn[en]&&tn(nn,en,{configurable:!0,value:Qe(null)});var rn=function(t){nn[en][t]=!0};$e({target:"Array",proto:!0},{fill:function(t){for(var e=ft(this),n=be(e),r=arguments.length,o=me(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:me(i,n);a>o;)e[o++]=t;return e}}),rn("fill");var on=Array.isArray||function(t){return"Array"==T(t)},an=TypeError,cn=function(t){if(t>9007199254740991)throw an("Maximum allowed index exceeded");return t},un=function(t,e,n){var r=xt(e);r in t?Bt.f(t,r,y(0,n)):t[r]=n},fn={};fn[wt("toStringTag")]="z";var sn="[object z]"===String(fn),ln=wt("toStringTag"),dn=Object,pn="Arguments"==T(function(){return arguments}()),vn=sn?T:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=dn(t),ln))?n:pn?T(e):"Object"==(r=T(e))&&L(e.callee)?"Arguments":r},gn=function(){},hn=[],mn=U("Reflect","construct"),yn=/^\s*(?:class|function)\b/,wn=E(yn.exec),bn=!yn.exec(gn),Sn=function(t){if(!L(t))return!1;try{return mn(gn,hn,t),!0}catch(t){return!1}},En=function(t){if(!L(t))return!1;switch(vn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!wn(yn,Jt(t))}catch(t){return!0}};En.sham=!0;var xn=!mn||s((function(){var t;return Sn(Sn.call)||!Sn(Object)||!Sn((function(){t=!0}))||t}))?En:Sn,On=wt("species"),Tn=Array,An=function(t,e){return new(function(t){var e;return on(t)&&(e=t.constructor,(xn(e)&&(e===Tn||on(e.prototype))||D(e)&&null===(e=e[On]))&&(e=void 0)),void 0===e?Tn:e}(t))(0===e?0:e)},jn=wt("species"),Rn=function(t){return G>=51||!s((function(){var e=[];return(e.constructor={})[jn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},In=wt("isConcatSpreadable"),Nn=G>=51||!s((function(){var t=[];return t[In]=!1,t.concat()[0]!==t})),Mn=function(t){if(!D(t))return!1;var e=t[In];return void 0!==e?!!e:on(t)};$e({target:"Array",proto:!0,arity:1,forced:!Nn||!Rn("concat")},{concat:function(t){var e,n,r,o,i,a=ft(this),c=An(a,0),u=0;for(e=-1,r=arguments.length;e<r;e++)if(Mn(i=-1===e?a:arguments[e]))for(o=be(i),cn(u+o),n=0;n<o;n++,u++)n in i&&un(c,u,i[n]);else cn(u+1),un(c,u++,i);return c.length=u,c}});var Cn=String,_n=TypeError,Pn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return E(tt(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return _t(n),function(t){if("object"==typeof t||L(t))return t;throw _n("Can't set "+Cn(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),kn=function(t,e,n){var r,o;return Pn&&L(r=e.constructor)&&r!==n&&D(o=r.prototype)&&o!==n.prototype&&Pn(t,o),t},Ln=wt("match"),Fn=function(t){var e;return D(t)&&(void 0!==(e=t[Ln])?!!e:"RegExp"==T(t))},Dn=String,Un=function(t){if("Symbol"===vn(t))throw TypeError("Cannot convert a Symbol value to a string");return Dn(t)},Bn=function(){var t=_t(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},$n=RegExp.prototype,Vn=function(t){var e=t.flags;return void 0!==e||"flags"in $n||lt(t,"flags")||!B($n,t)?e:v(Bn,t)},zn=f.RegExp,Wn=s((function(){var t=zn("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),qn=Wn||s((function(){return!zn("a","y").sticky})),Gn={BROKEN_CARET:Wn||s((function(){var t=zn("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:qn,UNSUPPORTED_Y:Wn},Hn=Bt.f,Yn=function(t,e,n){n in t||Hn(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},Zn=function(t,e,n){return n.get&&fe(n.get,e,{getter:!0}),n.set&&fe(n.set,e,{setter:!0}),Bt.f(t,e,n)},Jn=wt("species"),Kn=function(t){var e=U(t);l&&e&&!e[Jn]&&Zn(e,Jn,{configurable:!0,get:function(){return this}})},Xn=f.RegExp,Qn=s((function(){var t=Xn(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),tr=f.RegExp,er=s((function(){var t=tr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nr=Re.f,rr=ue.enforce,or=wt("match"),ir=f.RegExp,ar=ir.prototype,cr=f.SyntaxError,ur=E(ar.exec),fr=E("".charAt),sr=E("".replace),lr=E("".indexOf),dr=E("".slice),pr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,vr=/a/g,gr=/a/g,hr=new ir(vr)!==vr,mr=Gn.MISSED_STICKY,yr=Gn.UNSUPPORTED_Y,wr=l&&(!hr||mr||Qn||er||s((function(){return gr[or]=!1,ir(vr)!=vr||ir(gr)==gr||"/a/i"!=ir(vr,"i")})));if(Ue("RegExp",wr)){for(var br=function(t,e){var n,r,o,i,a,c,u=B(ar,this),f=Fn(t),s=void 0===e,l=[],d=t;if(!u&&f&&s&&t.constructor===br)return t;if((f||B(ar,t))&&(t=t.source,s&&(e=Vn(d))),t=void 0===t?"":Un(t),e=void 0===e?"":Un(e),d=t,Qn&&"dotAll"in vr&&(r=!!e&&lr(e,"s")>-1)&&(e=sr(e,/s/g,"")),n=e,mr&&"sticky"in vr&&(o=!!e&&lr(e,"y")>-1)&&yr&&(e=sr(e,/y/g,"")),er&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a={},c=!1,u=!1,f=0,s="";r<=n;r++){if("\\"===(e=fr(t,r)))e+=fr(t,++r);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:ur(pr,dr(t,r+1))&&(r+=2,u=!0),o+=e,f++;continue;case">"===e&&u:if(""===s||lt(a,s))throw new cr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],u=!1,s="";continue}u?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=kn(ir(t,e),u?this:ar,br),(r||o||l.length)&&(c=rr(a),r&&(c.dotAll=!0,c.raw=br(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=fr(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+fr(t,++r);return o}(t),n)),o&&(c.sticky=!0),l.length&&(c.groups=l)),t!==d)try{$t(a,"source",""===d?"(?:)":d)}catch(t){}return a},Sr=nr(ir),Er=0;Sr.length>Er;)Yn(br,ir,Sr[Er++]);ar.constructor=br,br.prototype=ar,se(f,"RegExp",br,{constructor:!0})}Kn("RegExp");var xr=ue.get,Or=ct("native-string-replace",String.prototype.replace),Tr=RegExp.prototype.exec,Ar=Tr,jr=E("".charAt),Rr=E("".indexOf),Ir=E("".replace),Nr=E("".slice),Mr=function(){var t=/a/,e=/b*/g;return v(Tr,t,"a"),v(Tr,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Cr=Gn.BROKEN_CARET,_r=void 0!==/()??/.exec("")[1];(Mr||_r||Cr||Qn||er)&&(Ar=function(t){var e,n,r,o,i,a,c,u=this,f=xr(u),s=Un(t),l=f.raw;if(l)return l.lastIndex=u.lastIndex,e=v(Ar,l,s),u.lastIndex=l.lastIndex,e;var d=f.groups,p=Cr&&u.sticky,g=v(Bn,u),h=u.source,m=0,y=s;if(p&&(g=Ir(g,"y",""),-1===Rr(g,"g")&&(g+="g"),y=Nr(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==jr(s,u.lastIndex-1))&&(h="(?: "+h+")",y=" "+y,m++),n=new RegExp("^(?:"+h+")",g)),_r&&(n=new RegExp("^"+h+"$(?!\\s)",g)),Mr&&(r=u.lastIndex),o=v(Tr,p?n:u,y),p?o?(o.input=Nr(o.input,m),o[0]=Nr(o[0],m),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:Mr&&o&&(u.lastIndex=u.global?o.index+o[0].length:r),_r&&o&&o.length>1&&v(Or,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=Qe(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var Pr=Ar;$e({target:"RegExp",proto:!0,forced:/./.exec!==Pr},{exec:Pr});var kr=qt.PROPER,Lr="toString",Fr=RegExp.prototype[Lr],Dr=s((function(){return"/a/b"!=Fr.call({source:"a",flags:"b"})})),Ur=kr&&Fr.name!=Lr;(Dr||Ur)&&se(RegExp.prototype,Lr,(function(){var t=_t(this);return"/"+Un(t.source)+"/"+Un(Vn(t))}),{unsafe:!0});var Br=function(t){if("Function"===T(t))return E(t)},$r=wt("species"),Vr=RegExp.prototype,zr=function(t,e,n,r){var o=wt(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[$r]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var c=Br(/./[o]),u=e(o,""[t],(function(t,e,n,r,o){var a=Br(t),u=e.exec;return u===Pr||u===Vr.exec?i&&!o?{done:!0,value:c(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));se(String.prototype,t,u[0]),se(Vr,o,u[1])}r&&$t(Vr[o],"sham",!0)},Wr=E("".charAt),qr=E("".charCodeAt),Gr=E("".slice),Hr=function(t){return function(e,n){var r,o,i=Un(M(e)),a=ve(n),c=i.length;return a<0||a>=c?t?"":void 0:(r=qr(i,a))<55296||r>56319||a+1===c||(o=qr(i,a+1))<56320||o>57343?t?Wr(i,a):r:t?Gr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Yr={codeAt:Hr(!1),charAt:Hr(!0)}.charAt,Zr=function(t,e,n){return e+(n?Yr(t,e).length:1)},Jr=TypeError,Kr=function(t,e){var n=t.exec;if(L(n)){var r=v(n,t,e);return null!==r&&_t(r),r}if("RegExp"===T(t))return v(Pr,t,e);throw Jr("RegExp#exec called on incompatible receiver")};zr("match",(function(t,e,n){return[function(e){var n=M(this),r=I(e)?void 0:et(e,t);return r?v(r,e,n):new RegExp(e)[t](Un(n))},function(t){var r=_t(this),o=Un(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return Kr(r,o);var a=r.unicode;r.lastIndex=0;for(var c,u=[],f=0;null!==(c=Kr(r,o));){var s=Un(c[0]);u[f]=s,""===s&&(r.lastIndex=Zr(o,we(r.lastIndex),a)),f++}return 0===f?null:u}]}));var Xr=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};zr("search",(function(t,e,n){return[function(e){var n=M(this),r=I(e)?void 0:et(e,t);return r?v(r,e,n):new RegExp(e)[t](Un(n))},function(t){var r=_t(this),o=Un(t),i=n(e,r,o);if(i.done)return i.value;var a=r.lastIndex;Xr(a,0)||(r.lastIndex=0);var c=Kr(r,o);return Xr(r.lastIndex,a)||(r.lastIndex=a),null===c?-1:c.index}]}));var Qr=Function.prototype,to=Qr.apply,eo=Qr.call,no="object"==typeof Reflect&&Reflect.apply||(d?eo.bind(to):function(){return eo.apply(to,arguments)}),ro=Math.floor,oo=E("".charAt),io=E("".replace),ao=E("".slice),co=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,uo=/\$([$&'`]|\d{1,2})/g,fo=function(t,e,n,r,o,i){var a=n+t.length,c=r.length,u=uo;return void 0!==o&&(o=ft(o),u=co),io(i,u,(function(i,u){var f;switch(oo(u,0)){case"$":return"$";case"&":return t;case"`":return ao(e,0,n);case"'":return ao(e,a);case"<":f=o[ao(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>c){var l=ro(s/10);return 0===l?i:l<=c?void 0===r[l-1]?oo(u,1):r[l-1]+oo(u,1):i}f=r[s-1]}return void 0===f?"":f}))},so=wt("replace"),lo=Math.max,po=Math.min,vo=E([].concat),go=E([].push),ho=E("".indexOf),mo=E("".slice),yo="$0"==="a".replace(/./,"$0"),wo=!!/./[so]&&""===/./[so]("a","$0");zr("replace",(function(t,e,n){var r=wo?"$":"$0";return[function(t,n){var r=M(this),o=I(t)?void 0:et(t,so);return o?v(o,t,r,n):v(e,Un(r),t,n)},function(t,o){var i=_t(this),a=Un(t);if("string"==typeof o&&-1===ho(o,r)&&-1===ho(o,"$<")){var c=n(e,i,a,o);if(c.done)return c.value}var u=L(o);u||(o=Un(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=Kr(i,a);if(null===d)break;if(go(l,d),!f)break;""===Un(d[0])&&(i.lastIndex=Zr(a,we(i.lastIndex),s))}for(var p,v="",g=0,h=0;h<l.length;h++){for(var m=Un((d=l[h])[0]),y=lo(po(ve(d.index),a.length),0),w=[],b=1;b<d.length;b++)go(w,void 0===(p=d[b])?p:String(p));var S=d.groups;if(u){var E=vo([m],w,y,a);void 0!==S&&go(E,S);var x=Un(no(o,void 0,E))}else x=fo(m,a,y,w,S,o);y>=g&&(v+=mo(a,g,y)+x,g=y+m.length)}return v+mo(a,g)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!yo||wo);var bo=function(t,e){var n=[][t];return!!n&&s((function(){n.call(null,e||function(){return 1},1)}))},So=Ee.indexOf,Eo=Br([].indexOf),xo=!!Eo&&1/Eo([1],1,-0)<0;$e({target:"Array",proto:!0,forced:xo||!bo("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return xo?Eo(this,t,e)||0:So(this,t,e)}});var Oo=TypeError,To=function(t){return function(e,n,r,o){tt(n);var i=ft(e),a=R(i),c=be(i),u=t?c-1:0,f=t?-1:1;if(r<2)for(;;){if(u in a){o=a[u],u+=f;break}if(u+=f,t?u<0:c<=u)throw Oo("Reduce of empty array with no initial value")}for(;t?u>=0:c>u;u+=f)u in a&&(o=n(o,a[u],u,i));return o}},Ao={left:To(!1),right:To(!0)},jo="undefined"!=typeof process&&"process"==T(process),Ro=Ao.left;$e({target:"Array",proto:!0,forced:!jo&&G>79&&G<83||!bo("reduce")},{reduce:function(t){var e=arguments.length;return Ro(this,t,e,e>1?arguments[1]:void 0)}});var Io=sn?{}.toString:function(){return"[object "+vn(this)+"]"};sn||se(Object.prototype,"toString",Io,{unsafe:!0});var No=E([].slice),Mo=Rn("slice"),Co=wt("species"),_o=Array,Po=Math.max;$e({target:"Array",proto:!0,forced:!Mo},{slice:function(t,e){var n,r,o,i=C(this),a=be(i),c=me(t,a),u=me(void 0===e?a:e,a);if(on(i)&&(n=i.constructor,(xn(n)&&(n===_o||on(n.prototype))||D(n)&&null===(n=n[Co]))&&(n=void 0),n===_o||void 0===n))return No(i,c,u);for(r=new(void 0===n?_o:n)(Po(u-c,0)),o=0;c<u;c++,o++)c in i&&un(r,o,i[c]);return r.length=o,r}});var ko=E(1..valueOf),Lo=RangeError,Fo=RangeError,Do=String,Uo=Math.floor,Bo=E((function(t){var e=Un(M(this)),n="",r=ve(t);if(r<0||r==1/0)throw Lo("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),$o=E("".slice),Vo=E(1..toFixed),zo=function(t,e,n){return 0===e?n:e%2==1?zo(t,e-1,n*t):zo(t*t,e/2,n)},Wo=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=Uo(o/1e7)},qo=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=Uo(r/e),r=r%e*1e7},Go=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=Do(t[e]);n=""===n?r:n+Bo("0",7-r.length)+r}return n};$e({target:"Number",proto:!0,forced:s((function(){return"0.000"!==Vo(8e-5,3)||"1"!==Vo(.9,0)||"1.25"!==Vo(1.255,2)||"1000000000000000128"!==Vo(0xde0b6b3a7640080,0)}))||!s((function(){Vo({})}))},{toFixed:function(t){var e,n,r,o,i=ko(this),a=ve(t),c=[0,0,0,0,0,0],u="",f="0";if(a<0||a>20)throw Fo("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Do(i);if(i<0&&(u="-",i=-i),i>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(i*zo(2,69,1))-69,n=e<0?i*zo(2,-e,1):i/zo(2,e,1),n*=4503599627370496,(e=52-e)>0){for(Wo(c,0,n),r=a;r>=7;)Wo(c,1e7,0),r-=7;for(Wo(c,zo(10,r,1),0),r=e-1;r>=23;)qo(c,1<<23),r-=23;qo(c,1<<r),Wo(c,1,1),qo(c,2),f=Go(c)}else Wo(c,0,n),Wo(c,1<<-e,0),f=Go(c)+Bo("0",a);return f=a>0?u+((o=f.length)<=a?"0."+Bo("0",a-o)+f:$o(f,0,o-a)+"."+$o(f,o-a)):u+f}});var Ho="\t\n\v\f\r                 \u2028\u2029\ufeff",Yo=E("".replace),Zo=RegExp("^["+Ho+"]+"),Jo=RegExp("(^|[^"+Ho+"])["+Ho+"]+$"),Ko=function(t){return function(e){var n=Un(M(e));return 1&t&&(n=Yo(n,Zo,"")),2&t&&(n=Yo(n,Jo,"$1")),n}},Xo={start:Ko(1),end:Ko(2),trim:Ko(3)},Qo=Xo.trim,ti=E("".charAt),ei=f.parseFloat,ni=f.Symbol,ri=ni&&ni.iterator,oi=1/ei(Ho+"-0")!=-1/0||ri&&!s((function(){ei(Object(ri))}))?function(t){var e=Qo(Un(t)),n=ei(e);return 0===n&&"-"==ti(e,0)?-0:n}:ei;$e({global:!0,forced:parseFloat!=oi},{parseFloat:oi});var ii=TypeError,ai=wt("species"),ci=function(t,e){var n,r=_t(t).constructor;return void 0===r||I(n=_t(r)[ai])?e:function(t){if(xn(t))return t;throw ii(X(t)+" is not a constructor")}(n)},ui=Array,fi=Math.max,si=function(t,e,n){for(var r=be(t),o=me(e,r),i=me(void 0===n?r:n,r),a=ui(fi(i-o,0)),c=0;o<i;o++,c++)un(a,c,t[o]);return a.length=c,a},li=Gn.UNSUPPORTED_Y,di=4294967295,pi=Math.min,vi=[].push,gi=E(/./.exec),hi=E(vi),mi=E("".slice),yi=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));zr("split",(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=Un(M(this)),o=void 0===n?di:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Fn(t))return v(e,r,t,o);for(var i,a,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=v(Pr,l,r))&&!((a=l.lastIndex)>s&&(hi(u,mi(r,s,i.index)),i.length>1&&i.index<r.length&&no(vi,u,si(i,1)),c=i[0].length,s=a,u.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!c&&gi(l,"")||hi(u,""):hi(u,mi(r,s)),u.length>o?si(u,0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:v(e,this,t,n)}:e,[function(e,n){var o=M(this),i=I(e)?void 0:et(e,t);return i?v(i,e,o,n):v(r,Un(o),e,n)},function(t,o){var i=_t(this),a=Un(t),c=n(r,i,a,o,r!==e);if(c.done)return c.value;var u=ci(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(li?"g":"y"),l=new u(li?"^(?:"+i.source+")":i,s),d=void 0===o?di:o>>>0;if(0===d)return[];if(0===a.length)return null===Kr(l,a)?[a]:[];for(var p=0,v=0,g=[];v<a.length;){l.lastIndex=li?0:v;var h,m=Kr(l,li?mi(a,v):a);if(null===m||(h=pi(we(l.lastIndex+(li?v:0)),a.length))===p)v=Zr(a,v,f);else{if(hi(g,mi(a,p,v)),g.length===d)return g;for(var y=1;y<=m.length-1;y++)if(hi(g,m[y]),g.length===d)return g;v=p=h}}return hi(g,mi(a,p)),g}]}),!yi,li);var wi=Object.assign,bi=Object.defineProperty,Si=E([].concat),Ei=!wi||s((function(){if(l&&1!==wi({b:1},wi(bi({},"a",{enumerable:!0,get:function(){bi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=wi({},t)[n]||Ve(wi({},e)).join("")!=r}))?function(t,e){for(var n=ft(t),r=arguments.length,o=1,i=Ie.f,a=m.f;r>o;)for(var c,u=R(arguments[o++]),f=i?Si(Ve(u),i(u)):Ve(u),s=f.length,d=0;s>d;)c=f[d++],l&&!v(a,u,c)||(n[c]=u[c]);return n}:wi;$e({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ei},{assign:Ei});var xi=f,Oi=Re.f,Ti=It.f,Ai=Bt.f,ji=Xo.trim,Ri="Number",Ii=f[Ri];xi[Ri];var Ni=Ii.prototype,Mi=f.TypeError,Ci=E("".slice),_i=E("".charCodeAt),Pi=function(t){var e,n,r,o,i,a,c,u,f=Et(t,"number");if(J(f))throw Mi("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=ji(f),43===(e=_i(f,0))||45===e){if(88===(n=_i(f,2))||120===n)return NaN}else if(48===e){switch(_i(f,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(a=(i=Ci(f,2)).length,c=0;c<a;c++)if((u=_i(i,c))<48||u>o)return NaN;return parseInt(i,r)}return+f},ki=Ue(Ri,!Ii(" 0o1")||!Ii("0b1")||Ii("+0x1")),Li=function(t){var e,n=arguments.length<1?0:Ii(function(t){var e=Et(t,"number");return"bigint"==typeof e?e:Pi(e)}(t));return B(Ni,e=this)&&s((function(){ko(e)}))?kn(Object(n),this,Li):n};Li.prototype=Ni,ki&&(Ni.constructor=Li),$e({global:!0,constructor:!0,wrap:!0,forced:ki},{Number:Li});ki&&function(t,e){for(var n,r=l?Oi(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)lt(e,n=r[o])&&!lt(t,n)&&Ai(t,n,Ti(e,n))}(xi[Ri],Ii);var Fi,Di,Ui,Bi,$i=Bt.f,Vi=wt("toStringTag"),zi=TypeError,Wi=Br(Br.bind),qi=function(t,e){return tt(t),void 0===e?t:d?Wi(t,e):function(){return t.apply(e,arguments)}},Gi=TypeError,Hi=/(?:ipad|iphone|ipod).*applewebkit/i.test($),Yi=f.setImmediate,Zi=f.clearImmediate,Ji=f.process,Ki=f.Dispatch,Xi=f.Function,Qi=f.MessageChannel,ta=f.String,ea=0,na={},ra="onreadystatechange";s((function(){Fi=f.location}));var oa=function(t){if(lt(na,t)){var e=na[t];delete na[t],e()}},ia=function(t){return function(){oa(t)}},aa=function(t){oa(t.data)},ca=function(t){f.postMessage(ta(t),Fi.protocol+"//"+Fi.host)};Yi&&Zi||(Yi=function(t){!function(t,e){if(t<e)throw Gi("Not enough arguments")}(arguments.length,1);var e=L(t)?t:Xi(t),n=No(arguments,1);return na[++ea]=function(){no(e,void 0,n)},Di(ea),ea},Zi=function(t){delete na[t]},jo?Di=function(t){Ji.nextTick(ia(t))}:Ki&&Ki.now?Di=function(t){Ki.now(ia(t))}:Qi&&!Hi?(Bi=(Ui=new Qi).port2,Ui.port1.onmessage=aa,Di=qi(Bi.postMessage,Bi)):f.addEventListener&&L(f.postMessage)&&!f.importScripts&&Fi&&"file:"!==Fi.protocol&&!s(ca)?(Di=ca,f.addEventListener("message",aa,!1)):Di=ra in At("script")?function(t){qe.appendChild(At("script"))[ra]=function(){qe.removeChild(this),oa(t)}}:function(t){setTimeout(ia(t),0)});var ua={set:Yi,clear:Zi},fa=function(){this.head=null,this.tail=null};fa.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var sa,la,da,pa,va,ga=fa,ha=/ipad|iphone|ipod/i.test($)&&"undefined"!=typeof Pebble,ma=/web0s(?!.*chrome)/i.test($),ya=It.f,wa=ua.set,ba=f.MutationObserver||f.WebKitMutationObserver,Sa=f.document,Ea=f.process,xa=f.Promise,Oa=ya(f,"queueMicrotask"),Ta=Oa&&Oa.value;if(!Ta){var Aa=new ga,ja=function(){var t,e;for(jo&&(t=Ea.domain)&&t.exit();e=Aa.get();)try{e()}catch(t){throw Aa.head&&sa(),t}t&&t.enter()};Hi||jo||ma||!ba||!Sa?!ha&&xa&&xa.resolve?((pa=xa.resolve(void 0)).constructor=xa,va=qi(pa.then,pa),sa=function(){va(ja)}):jo?sa=function(){Ea.nextTick(ja)}:(wa=qi(wa,f),sa=function(){wa(ja)}):(la=!0,da=Sa.createTextNode(""),new ba(ja).observe(da,{characterData:!0}),sa=function(){da.data=la=!la}),Ta=function(t){Aa.head||sa(),Aa.add(t)}}var Ra=Ta,Ia=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Na=f.Promise,Ma="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Ca=!Ma&&!jo&&"object"==typeof window&&"object"==typeof document;Na&&Na.prototype;var _a,Pa,ka,La,Fa,Da,Ua=wt("species"),Ba=!1,$a=L(f.PromiseRejectionEvent),Va=Ue("Promise",(function(){var t=Jt(Na),e=t!==String(Na);if(!e&&66===G)return!0;if(!G||G<51||!/native code/.test(t)){var n=new Na((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[Ua]=r,!(Ba=n.then((function(){}))instanceof r))return!0}return!e&&(Ca||Ma)&&!$a})),za={CONSTRUCTOR:Va,REJECTION_EVENT:$a,SUBCLASSING:Ba},Wa=TypeError,qa=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw Wa("Bad Promise constructor");e=t,n=r})),this.resolve=tt(e),this.reject=tt(n)},Ga={f:function(t){return new qa(t)}},Ha=ua.set,Ya="Promise",Za=za.CONSTRUCTOR,Ja=za.REJECTION_EVENT,Ka=za.SUBCLASSING,Xa=ue.getterFor(Ya),Qa=ue.set,tc=Na&&Na.prototype,ec=Na,nc=tc,rc=f.TypeError,oc=f.document,ic=f.process,ac=Ga.f,cc=ac,uc=!!(oc&&oc.createEvent&&f.dispatchEvent),fc="unhandledrejection",sc=function(t){var e;return!(!D(t)||!L(e=t.then))&&e},lc=function(t,e){var n,r,o,i=e.value,a=1==e.state,c=a?t.ok:t.fail,u=t.resolve,f=t.reject,s=t.domain;try{c?(a||(2===e.rejection&&hc(e),e.rejection=1),!0===c?n=i:(s&&s.enter(),n=c(i),s&&(s.exit(),o=!0)),n===t.promise?f(rc("Promise-chain cycle")):(r=sc(n))?v(r,n,u,f):u(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},dc=function(t,e){t.notified||(t.notified=!0,Ra((function(){for(var n,r=t.reactions;n=r.get();)lc(n,t);t.notified=!1,e&&!t.rejection&&vc(t)})))},pc=function(t,e,n){var r,o;uc?((r=oc.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:e,reason:n},!Ja&&(o=f["on"+t])?o(r):t===fc&&function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},vc=function(t){v(Ha,f,(function(){var e,n=t.facade,r=t.value;if(gc(t)&&(e=Ia((function(){jo?ic.emit("unhandledRejection",r,n):pc(fc,n,r)})),t.rejection=jo||gc(t)?2:1,e.error))throw e.value}))},gc=function(t){return 1!==t.rejection&&!t.parent},hc=function(t){v(Ha,f,(function(){var e=t.facade;jo?ic.emit("rejectionHandled",e):pc("rejectionhandled",e,t.value)}))},mc=function(t,e,n){return function(r){t(e,r,n)}},yc=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,dc(t,!0))},wc=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw rc("Promise can't be resolved itself");var r=sc(e);r?Ra((function(){var n={done:!1};try{v(r,e,mc(wc,n,t),mc(yc,n,t))}catch(e){yc(n,e,t)}})):(t.value=e,t.state=1,dc(t,!1))}catch(e){yc({done:!1},e,t)}}};if(Za&&(nc=(ec=function(t){!function(t,e){if(B(e,t))return t;throw zi("Incorrect invocation")}(this,nc),tt(t),v(_a,this);var e=Xa(this);try{t(mc(wc,e),mc(yc,e))}catch(t){yc(e,t)}}).prototype,(_a=function(t){Qa(this,{type:Ya,done:!1,notified:!1,parent:!1,reactions:new ga,rejection:!1,state:0,value:void 0})}).prototype=se(nc,"then",(function(t,e){var n=Xa(this),r=ac(ci(this,ec));return n.parent=!0,r.ok=!L(t)||t,r.fail=L(e)&&e,r.domain=jo?ic.domain:void 0,0==n.state?n.reactions.add(r):Ra((function(){lc(r,n)})),r.promise})),Pa=function(){var t=new _a,e=Xa(t);this.promise=t,this.resolve=mc(wc,e),this.reject=mc(yc,e)},Ga.f=ac=function(t){return t===ec||undefined===t?new Pa(t):cc(t)},L(Na)&&tc!==Object.prototype)){ka=tc.then,Ka||se(tc,"then",(function(t,e){var n=this;return new ec((function(t,e){v(ka,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete tc.constructor}catch(t){}Pn&&Pn(tc,nc)}$e({global:!0,constructor:!0,wrap:!0,forced:Za},{Promise:ec}),Fa=Ya,Da=!1,(La=ec)&&!Da&&(La=La.prototype),La&&!lt(La,Vi)&&$i(La,Vi,{configurable:!0,value:Fa}),Kn(Ya);var bc={},Sc=wt("iterator"),Ec=Array.prototype,xc=wt("iterator"),Oc=function(t){if(!I(t))return et(t,xc)||et(t,"@@iterator")||bc[vn(t)]},Tc=TypeError,Ac=function(t,e,n){var r,o;_t(t);try{if(!(r=et(t,"return"))){if("throw"===e)throw n;return n}r=v(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return _t(r),n},jc=TypeError,Rc=function(t,e){this.stopped=t,this.result=e},Ic=Rc.prototype,Nc=function(t,e,n){var r,o,i,a,c,u,f,s,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),g=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),m=qi(e,l),y=function(t){return r&&Ac(r,"normal",t),new Rc(!0,t)},w=function(t){return d?(_t(t),h?m(t[0],t[1],y):m(t[0],t[1])):h?m(t,y):m(t)};if(p)r=t.iterator;else if(g)r=t;else{if(!(o=Oc(t)))throw jc(X(t)+" is not iterable");if(void 0!==(s=o)&&(bc.Array===s||Ec[Sc]===s)){for(i=0,a=be(t);a>i;i++)if((c=w(t[i]))&&B(Ic,c))return c;return new Rc(!1)}r=function(t,e){var n=arguments.length<2?Oc(t):e;if(tt(n))return _t(v(n,t));throw Tc(X(t)+" is not iterable")}(t,o)}for(u=p?t.next:r.next;!(f=v(u,r)).done;){try{c=w(f.value)}catch(t){Ac(r,"throw",t)}if("object"==typeof c&&c&&B(Ic,c))return c}return new Rc(!1)},Mc=wt("iterator"),Cc=!1;try{var _c=0,Pc={next:function(){return{done:!!_c++}},return:function(){Cc=!0}};Pc[Mc]=function(){return this},Array.from(Pc,(function(){throw 2}))}catch(t){}var kc=za.CONSTRUCTOR||!function(t,e){if(!e&&!Cc)return!1;var n=!1;try{var r={};r[Mc]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n}((function(t){Na.all(t).then(void 0,(function(){}))}));$e({target:"Promise",stat:!0,forced:kc},{all:function(t){var e=this,n=Ga.f(e),r=n.resolve,o=n.reject,i=Ia((function(){var n=tt(e.resolve),i=[],a=0,c=1;Nc(t,(function(t){var u=a++,f=!1;c++,v(n,e,t).then((function(t){f||(f=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise}});var Lc=za.CONSTRUCTOR,Fc=Na&&Na.prototype;if($e({target:"Promise",proto:!0,forced:Lc,real:!0},{catch:function(t){return this.then(void 0,t)}}),L(Na)){var Dc=U("Promise").prototype.catch;Fc.catch!==Dc&&se(Fc,"catch",Dc,{unsafe:!0})}$e({target:"Promise",stat:!0,forced:kc},{race:function(t){var e=this,n=Ga.f(e),r=n.reject,o=Ia((function(){var o=tt(e.resolve);Nc(t,(function(t){v(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),$e({target:"Promise",stat:!0,forced:za.CONSTRUCTOR},{reject:function(t){var e=Ga.f(this);return v(e.reject,void 0,t),e.promise}});var Uc=za.CONSTRUCTOR;U("Promise"),$e({target:"Promise",stat:!0,forced:Uc},{resolve:function(t){return function(t,e){if(_t(t),D(e)&&e.constructor===t)return e;var n=Ga.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var Bc=qt.EXISTS,$c=Function.prototype,Vc=E($c.toString),zc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Wc=E(zc.exec);l&&!Bc&&Zn($c,"name",{configurable:!0,get:function(){try{return Wc(zc,Vc(this))[1]}catch(t){return""}}});var qc=E([].join);$e({target:"Array",proto:!0,forced:R!=Object||!bo("join",",")},{join:function(t){return qc(C(this),void 0===t?",":t)}});var Gc=E([].push),Hc=function(t){var e=1==t,n=2==t,r=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,f,s,l){for(var d,p,v=ft(u),g=R(v),h=qi(f,s),m=be(g),y=0,w=l||An,b=e?w(u,m):n||a?w(u,0):void 0;m>y;y++)if((c||y in g)&&(p=h(d=g[y],y,v),t))if(e)b[y]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return y;case 2:Gc(b,d)}else switch(t){case 4:return!1;case 7:Gc(b,d)}return i?-1:r||o?o:b}},Yc={forEach:Hc(0),map:Hc(1),filter:Hc(2),some:Hc(3),every:Hc(4),find:Hc(5),findIndex:Hc(6),filterReject:Hc(7)}.forEach,Zc=bo("forEach")?[].forEach:function(t){return Yc(this,t,arguments.length>1?arguments[1]:void 0)};$e({target:"Array",proto:!0,forced:[].forEach!=Zc},{forEach:Zc});var Jc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Kc=At("span").classList,Xc=Kc&&Kc.constructor&&Kc.constructor.prototype,Qc=Xc===Object.prototype?void 0:Xc,tu=function(t){if(t&&t.forEach!==Zc)try{$t(t,"forEach",Zc)}catch(e){t.forEach=Zc}};for(var eu in Jc)Jc[eu]&&tu(f[eu]&&f[eu].prototype);tu(Qc),$e({target:"Object",stat:!0,forced:s((function(){Ve(1)}))},{keys:function(t){return Ve(ft(t))}});var nu=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ru=te("IE_PROTO"),ou=Object,iu=ou.prototype,au=nu?ou.getPrototypeOf:function(t){var e=ft(t);if(lt(e,ru))return e[ru];var n=e.constructor;return L(n)&&e instanceof n?n.prototype:e instanceof ou?iu:null};$e({target:"Object",stat:!0,forced:s((function(){au(1)})),sham:!nu},{getPrototypeOf:function(t){return au(ft(t))}});var cu=Ee.includes;$e({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(t){return cu(this,t,arguments.length>1?arguments[1]:void 0)}}),rn("includes");var uu=TypeError,fu=wt("match"),su=E("".indexOf);$e({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[fu]=!1,"/./"[t](e)}catch(t){}}return!1}("includes")},{includes:function(t){return!!~su(Un(M(this)),Un(function(t){if(Fn(t))throw uu("The method doesn't accept regular expressions");return t}(t)),arguments.length>1?arguments[1]:void 0)}});var lu=TypeError,du=Object.getOwnPropertyDescriptor,pu=l&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,e){if(on(t)&&!du(t,"length").writable)throw lu("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},vu=TypeError,gu=function(t,e){if(!delete t[e])throw vu("Cannot delete property "+X(e)+" of "+X(t))},hu=Rn("splice"),mu=Math.max,yu=Math.min;$e({target:"Array",proto:!0,forced:!hu},{splice:function(t,e){var n,r,o,i,a,c,u=ft(this),f=be(u),s=me(t,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=yu(mu(ve(e),0),f-s)),cn(f+n-r),o=An(u,r),i=0;i<r;i++)(a=s+i)in u&&un(o,i,u[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)c=i+n,(a=i+r)in u?u[c]=u[a]:gu(u,c);for(i=f;i>f-r+n;i--)gu(u,i-1)}else if(n>r)for(i=f-r;i>s;i--)c=i+n-1,(a=i+r-1)in u?u[c]=u[a]:gu(u,c);for(i=0;i<n;i++)u[i+s]=arguments[i+2];return pu(u,f-r+n),o}});var wu=function(){return wu=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},wu.apply(this,arguments)};function bu(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===e[0]?e.substr(1):e}function Su(t){var e=t.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===e[0]?e.substr(1):e}function Eu(t){return Su(t)}function xu(t){return JSON.parse(JSON.stringify(t))}function Ou(t){try{if("object"===c(JSON.parse(t)))return!0}catch(t){}return!1}function Tu(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}var Au={type:"d"};function ju(t,e){void 0===e&&(e={isNaNAsNumber:!1,isUnFiniteAsNumber:!1});var n=Object.assign({isNaNAsNumber:!1,isUnFiniteAsNumber:!1},e),r=n.isNaNAsNumber,o=!0;return"number"!=typeof t&&(o=!1),!1!==n.isUnFiniteAsNumber||isFinite(t)||(o=!1),!1===r&&isNaN(t)&&(o=!1),o}function Ru(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=null;return t&&"function"==typeof t&&(r=t.apply(void 0,e)),r}function Iu(){return Date.now?Date.now():(new Date).getTime()}function Nu(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function Mu(){if(window.MAZEY_BROWSER_INFO&&"object"===c(window.MAZEY_BROWSER_INFO))return window.MAZEY_BROWSER_INFO;var t={engine:"",engineVs:"",platform:"",supporter:"",supporterVs:"",system:"",systemVs:""};try{var e=navigator.userAgent.toLowerCase();if(!e)return t;var n=function(t){return t.test(e)},r=function(t){var n="",r=e.match(t);return r&&_u(r)&&(n=(n=(n=r.toString()).replace(/[^0-9|_.]/g,"")).replace(/_/g,".")),n},o="",i="";n(/windows|win32|win64|wow32|wow64/g)?o="windows":n(/macintosh|macintel/g)?o="macos":n(/x11/g)?o="linux":n(/android|adr/g)?o="android":n(/ios|iphone|ipad|ipod|iwatch/g)&&(o="ios",n(/ipad/g)?i="ipad":n(/iphone/g)?i="iphone":n(/iwatch/g)?i="iwatch":n(/ipod/g)&&(i="ipod")),t=wu(wu({},t),{system:o,appleType:i});var a="";"windows"===o?n(/windows nt 5.0|windows 2000/g)?a="2000":n(/windows nt 5.1|windows xp/g)?a="xp":n(/windows nt 5.2|windows 2003/g)?a="2003":n(/windows nt 6.0|windows vista/g)?a="vista":n(/windows nt 6.1|windows 7/g)?a="7":n(/windows nt 6.2|windows 8/g)?a="8":n(/windows nt 6.3|windows 8.1/g)?a="8.1":n(/windows nt 10.0|windows 10/g)&&(a="10"):"macos"===o?a=r(/os x [\d._]+/g):"android"===o?a=r(/android [\d._]+/g):"ios"===o&&(a=r(/os [\d._]+/g)),t=wu(wu({},t),{systemVs:a});var u="";"windows"===o||"macos"===o||"linux"===o?u="desktop":("android"===o||"ios"===o||n(/mobile/g))&&(u="mobile"),t=wu(wu({},t),{platform:u});var f="",s="";n(/applewebkit/g)?(f="webkit",n(/edge/g)?s="edge":n(/opr/g)?s="opera":n(/chrome/g)?s="chrome":n(/safari/g)&&(s="safari")):n(/gecko/g)&&n(/firefox/g)?(f="gecko",s="firefox"):n(/presto/g)?(f="presto",s="opera"):n(/trident|compatible|msie/g)&&(f="trident",s="iexplore"),t=wu(wu({},t),{engine:f,supporter:s});var l="";"webkit"===f?l=r(/applewebkit\/[\d._]+/g):"gecko"===f?l=r(/gecko\/[\d._]+/g):"presto"===f?l=r(/presto\/[\d._]+/g):"trident"===f&&(l=r(/trident\/[\d._]+/g)),t=wu(wu({},t),{engineVs:l});var d="";"chrome"===s?d=r(/chrome\/[\d._]+/g):"safari"===s?d=r(/version\/[\d._]+/g):"firefox"===s?d=r(/firefox\/[\d._]+/g):"opera"===s?d=r(/opr\/[\d._]+/g):"iexplore"===s?d=r(/(msie [\d._]+)|(rv:[\d._]+)/g):"edge"===s&&(d=r(/edge\/[\d._]+/g)),t=wu(wu({},t),{supporterVs:d});var p="",v="";return n(/micromessenger/g)?(p="wechat",v=r(/micromessenger\/[\d._]+/g)):n(/qqbrowser/g)?(p="qq_browser",v=r(/qqbrowser\/[\d._]+/g)):n(/\sqq/g)?p="qq_app":n(/ucbrowser/g)?(p="uc",v=r(/ucbrowser\/[\d._]+/g)):n(/qihu 360se/g)?p="360":n(/2345explorer/g)?(p="2345",v=r(/2345explorer\/[\d._]+/g)):n(/metasr/g)?p="sougou":n(/lbbrowser/g)?p="liebao":n(/maxthon/g)?(p="maxthon",v=r(/maxthon\/[\d._]+/g)):n(/biliapp/g)&&(p="bilibili"),t=wu(wu({},t),{shell:p,shellVs:v}),window.MAZEY_BROWSER_INFO=t,t}catch(e){return console.warn("MazeyCon:",e),t}}function Cu(t,e,n){if(void 0===n&&(n=!1),""!=t&&t){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",c=t.replace(i,"**").length,u=0;u<c&&(null!=(a=t.charAt(u).toString()).match(i)?r+=2:r++,!(r>e));u++)o+=a;return n&&c>e&&(o+="..."),o}return""}function _u(t){var e=!1;return Array.isArray(t)&&t.length&&(e=!0),e}function Pu(){var t=window.MAZEY_DEFINE_LISTENERS;return"object"!==c(t)&&(t={},window.MAZEY_DEFINE_LISTENERS=t),t}return t.addClass=function(t,e){var n,r=t.className,o="";""!==r&&(o=" "),n=r+o+e,t.className=n},t.addEvent=function(t,e){var n=Pu();void 0===n[t]&&(n[t]=[]),"function"==typeof e&&n[t].push(e)},t.addStyle=function(t,e){if(void 0===e&&(e={id:""}),!t)return!1;var n=document.createDocumentFragment(),r=null,o="",i=document.createElement("style");return e.id?(o="".concat(e.id),(r=document.getElementById(o))?r.innerHTML=t:(i.setAttribute("id",e.id),i.innerHTML=t,n.appendChild(i),document.head.appendChild(n))):(i.innerHTML=t,n.appendChild(i),document.head.appendChild(n)),!0},t.calLongestCommonSubsequence=function(t,e){for(var n=t.length,r=e.length,o=xu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}else{var u=[0,0],f=u[0],s=u[1];a>0&&(f=o[i][a-1]),i>0&&(s=o[i-1][a]),o[i][a]=Math.max(f,s)}var l=Array.prototype.concat.apply([],o);return Math.max.apply(Math,l)},t.calLongestCommonSubstring=function(t,e){for(var n=t.length,r=e.length,o=xu(new Array(n).fill(new Array(r).fill(0))),i=0;i<n;++i)for(var a=0;a<r;++a)if(t[i]===e[a]){var c=0;i>0&&a>0&&(c=o[i-1][a-1]),o[i][a]=c+1}var u=Array.prototype.concat.apply([],o);return Math.max.apply(Math,u)},t.camelCase2Underscore=Eu,t.camelCaseToKebabCase=function(t){return bu(t)},t.cancelBubble=function(t){var e=t||window.event;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.clearHtml=function(t){return t.replace(/<\/?.+?>/g,"").replace(/[\r\n]/g,"")},t.convert10To26=function(t){for(var e="";t>0;){var n=t%26;0===n&&(n=26),e=String.fromCharCode(n+96)+e,t=(t-n)/26}return e},t.convertCamelToKebab=bu,t.convertCamelToUnder=Su,t.cutCHSString=function(t,e,n){return void 0===n&&(n=!1),Cu(t,e,n)},t.debounce=function(t,e,n){var r=null,o=null,i=null,a=null,c=null,u=function u(){var f=Iu()-i;f<e&&f>=0?o=setTimeout(u,e-f):(o=null,n||(c=t.apply(r,a),o||(r=a=null)))};return function(){for(var f=[],s=0;s<arguments.length;s++)f[s]=arguments[s];r=this,a=f,i=Iu();var l=n&&!o;return o||(o=setTimeout(u,e)),l&&(c=t.apply(r,a),r=a=null),c}},t.deepCopyObject=xu,t.doFn=Ru,t.floatFixed=function(t,e){return void 0===e&&(e=0),parseFloat(t).toFixed(e)},t.floatToPercent=function(t,e){void 0===e&&(e=0);var n="";return n=e?(100*t).toFixed(e):String(Math.floor(100*t)),"".concat(n,"%")},t.formatDate=function(t,e){void 0===e&&(e="yyyy-MM-dd"),t||(t=new Date);var n=new Date(t),r={yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate(),hh:n.getHours()<10?"0"+n.getHours():n.getHours(),mm:n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes(),ss:n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds()},o=e||"yyyy-MM-dd";return Object.keys(r).forEach((function(t){var e=r[t];"MM"===t&&Number(e)<=9&&(e="0".concat(e)),o=o.replace(t,String(e))})),o},t.genCustomConsole=function(t,e){void 0===t&&(t=""),void 0===e&&(e={isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}});var n=Object.assign({isClosed:!1,showWrap:!1,showDate:!1,locales:"en-US",logFn:function(){},errorFn:function(){}},e),r=n.isClosed,o=n.showWrap,i=n.showDate,a=n.locales,c=n.logFn,u=n.errorFn,f=Object.create(null),s=function(){return(new Date).toLocaleDateString(a,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"})};return["log","info","warn","error"].forEach((function(e){f[e]=function(){for(var n,a,f=[],l=0;l<arguments.length;l++)f[l]=arguments[l];if(r)return!1;var d=t,p=t;if("string"==typeof t&&t.length>=2){var v=t.length;d=":"===t[v-1]?t.substring(0,v-1):t}o&&console.log("--- ".concat(d," - begin ---")),i&&(p=t?"".concat(s()," ").concat(t):"".concat(s())),t||i?(n=console)[e].apply(n,function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}([p],f)):(a=console)[e].apply(a,f),"log"===e&&c(),"error"===e&&u(),o&&console.log("--- ".concat(d," - end ---"))}})),f},t.genHashCode=function(t){var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n},t.generateRndNum=Tu,t.generateUniqueNum=function(t){void 0===t&&(t=3);var e=[Iu(),Tu(t||3)];return e[0]+e[1]},t.getBrowserInfo=Mu,t.getCookie=Nu,t.getDefineListeners=Pu,t.getDomain=function(t,e){void 0===e&&(e=["hostname"]);var n=document.createElement("a");return n.href=t,e.reduce((function(t,e){return t+=n[e]}),"")},t.getFileSize=function(t){var e=function(t){return String(Math.ceil(t))};if(!t)return"";var n=1024;return t<n?t+" B":t<Math.pow(n,2)?e(t/n)+" KB":t<Math.pow(n,3)?e(t/Math.pow(n,2))+" MB":t<Math.pow(n,4)?e(t/Math.pow(n,3))+" G":e(t/Math.pow(n,4))+" T"},t.getFriendlyInterval=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=Au);var r=(n=Object.assign(Au,n)).type;ju(t)||(t=new Date(t).getTime()),ju(e)||(e=new Date(e).getTime());var o=Number(e)-Number(t),i="",a=new Array(4).fill(0),c=a[0],u=(a[1],a[2],a[3]);if(o>=0)switch(c=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),u=Math.floor(o/1e3),r){case"d":i=c;break;case"text":i=(c=Math.floor(o/1e3/60/60/24))+" 天 "+Math.floor(o/1e3/60/60%24)+" 时 "+Math.floor(o/1e3/60%60)+" 分 "+(u=Math.floor(o/1e3%60))+" 秒";break;default:i=u}return i},t.getHashQueryParam=function(t){var e=location.hash.split("?");if(1===e.length)return"";var n=new RegExp("(^|&)".concat(t,"=([^&]*)(&|$)")),r=e[1].match(n);return r?r[2]:""},t.getLocalStorage=function(t){var e=null;if(t){var n=localStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getPerformance=function(t){var e,n;void 0===t&&(t=!1);var r,o,i=new Promise((function(t,r){var o;e=(o=[t,r])[0],n=o[1]})),a=window.performance.timing,c=a.navigationStart||a.fetchStart;function u(){try{if(window.performance&&Boolean(window.performance.getEntriesByType))window.performance.getEntriesByType("paint").forEach((function(t,e,n){var i=Math.round(t.startTime);"first-paint"===t.name?r=i:"first-contentful-paint"===t.name&&(o=i)}));else console.error("paint")}catch(t){console.error(t.message)}if(window.performance&&"function"==typeof window.performance.getEntries){var i,u=(window.performance.getEntries()||[])[0]||{},g={os:f(),osVersion:s(),deviceType:l(),network:d(),screenDirection:p(),unloadTime:a.unloadEventEnd-a.unloadEventStart,redirectTime:a.redirectEnd-a.redirectStart,dnsTime:a.domainLookupEnd-a.domainLookupStart,tcpTime:a.connectEnd-a.connectStart,sslTime:v(a.connectEnd,a.secureConnectionStart),responseTime:a.responseStart-a.requestStart,downloadTime:a.responseEnd-a.responseStart,firstPaintTime:r,firstContentfulPaintTime:o,domreadyTime:a.domContentLoadedEventStart-c||0,onloadTime:a.loadEventStart-c||0,whiteTime:a.responseStart-c,renderTime:a.loadEventEnd-c||0,decodedBodySize:u.decodedBodySize||"",encodedBodySize:u.encodedBodySize||""};if(Object.keys(g).forEach((function(t){ju(g[t])&&g[t]<0&&(g[t]=0)})),ju(g.whiteTime)&&g.whiteTime>g.onloadTime&&(g.whiteTime=0),c>0)t||Object.keys(g).forEach((function(t){i||(i={}),i[Eu(t)]=g[t]})),e(i||g);else n(Error("startTime"))}else n(Error("getEntries"))}function f(){return navigator.userAgent.indexOf("Android")>-1||navigator.userAgent.indexOf("Linux")>-1?"android":navigator.userAgent.indexOf("iPhone")>-1?"ios":navigator.userAgent.indexOf("Windows Phone")>-1?"wp":"others"}function s(){var t,e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1,r=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return n&&(t=(navigator.userAgent.split(";")[1].match(/\d+\.\d+/g)||[])[0]),r&&(t=(navigator.userAgent.split(";")[1].match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),t}function l(){var t=navigator.userAgent.toLowerCase(),e=t.match(/(ipad)/i)&&"ipad",n=t.match(/iphone os/i)&&"iphone os",r=t.match(/midp/i)&&"midp",o=t.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",i=t.match(/ucweb/i)&&"ucweb",a=t.match(/android/i)&&"android",c=t.match(/windows ce/i)&&"windows ce",u=t.match(/windows mobile/i)&&"windows mobile";return e||n||r||o||i||a||c||u?n||r||o||i||a||c||u?"phone":e?"ipad":void 0:"pc"}function d(){var t;if(navigator.connection&&navigator.connection.effectiveType)switch(navigator.connection.effectiveType){case"wifi":t="wifi";break;case"4g":t="4g";break;case"2g":t="2g";break;case"3g":t="3g";break;case"ethernet":t="ethernet";break;case"default":t=void 0}return t}function p(){var t;return window.screen&&window.screen.orientation&&window.screen.orientation.angle&&(180!==window.screen.orientation.angle&&0!==window.screen.orientation.angle||(t="|"),90!==window.screen.orientation.angle&&-90!==window.screen.orientation.angle||(t="-")),t}function v(t,e){var n;return e&&(n=t-e),n}return window.performance&&window.performance.timing&&window.performance.timing.loadEventEnd>0?u():window.addEventListener("load",(function(){window.setTimeout((function(){u()}),0)})),i},t.getQueryParam=function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substr(1).match(e);return null!==n?decodeURIComponent(n[2]):""},t.getSessionStorage=function(t){var e=null;if(t){var n=sessionStorage.getItem(t);n&&(e=JSON.parse(n))}return e},t.getUrlFileType=function(t){var e="";if("string"!=typeof t||""==t)return e;var n=/\.[^/?#]+$/.exec(t);return n?(n[0].length>1&&(e=n[0].substring(1)),e):e},t.getUrlParam=function(t,e){var n={};return t.replace(/\??(\w+)=([^&]*)&?/g,(function(t,e,r){if(void 0!==n[e]){var o=n[e];n[e]=[].concat(o,r)}else n[e]=r})),n[e]||""},t.hasClass=function(t,e){for(var n=t.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===e)return!0;return!1},t.inRate=function(t){return Math.random()<t},t.invokeEvent=function(t){var e=Pu()[t];if(e instanceof Array)for(var n=0,r=e.length;n<r;n++)"function"==typeof e[n]&&e[n]({type:t})},t.isJSONString=Ou,t.isJsonString=function(t){return Ou(t)},t.isNonEmptyArray=_u,t.isNumber=ju,t.isSafePWAEnv=function(){var t=Mu();return!(!("serviceWorker"in navigator&&function(){var t;try{return t=new Function("return async function(){};")(),null!=Object.getPrototypeOf(t).constructor}catch(t){return!1}}()&&"undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")&&Boolean(window.fetch)&&Boolean(window.indexedDB)&&Boolean(window.caches))||t.shell)},t.isSupportWebp=function(){return new Promise((function(t){var e=new Image;e.onload=function(){t(e.width>0&&e.height>0)},e.onerror=function(){t(!1)},e.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="}))},t.isValidData=function(t,e,n){var r=!1;return e.reduce((function(t,e){return t[e]?t=t[e]:Object.create(null)}),t)===n&&(r=!0),r},t.isValidEmail=function(t){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},t.isValidPhoneNumber=function(t){return/^1[3456789]\d{9}$/.test(t)},t.isValidUrl=function(t){return/[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/gm.test(t)},t.loadCSS=function(t,e){void 0===e&&(e={id:""});var n,r=e.id,o=new Promise((function(t,e){n=[t,e][0]})),i=function(){n(!0)},a=document.createElement("link"),c="onload"in a,u=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(a.rel="stylesheet",a.type="text/css",a.href=t,void 0!==r&&(a.id=r),document.getElementsByTagName("head")[0].appendChild(a),u||!c)return setTimeout((function(){s(a,i,0)}),1),o;function f(){a.onload=a.onerror=a.onreadystatechange=null,a=null,i()}function s(t,e,n){var r,o=t.sheet;if((n+=1)>3e5)return r=!0,t=null,void e();if(u)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(t){"NS_ERROR_DOM_SECURITY_ERR"===t.name&&(r=!0)}setTimeout((function(){r?e():s(t,e,n)}),20)}return c?(a.onload=f,a.onerror=function(){f()}):a.onreadystatechange=function(){/loaded|complete/.test(a.readyState)&&f()},o},t.loadScript=function(t,e){void 0===e&&(e={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},e),r=n.id,o=n.callback,i=n.timeout,a=n.isDefer,c=null,u=null,f=document.createElement("script"),s=document.getElementsByTagName("script")[0];return f.type="text/javascript",a&&(f.defer="defer"),r&&(f.id=r),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,Ru(o),Ru(c,!0))}:f.onload=function(){Ru(o),Ru(c,!0)},f.src=t,s&&s.parentNode.insertBefore(f,s),new Promise((function(t,e){var n;c=(n=[t,e])[0],u=n[1],i&&setTimeout(u.bind(null,Error("timeout")),i)}))},t.mNow=Iu,t.mTrim=function(t){for(var e=(t=t.replace(/^\s+/,"")).length-1,n=/\s/;n.test(t.charAt(e));)e--;return t.slice(0,e+1)},t.newLine=function(t){if(!t)return"";var e=new RegExp("\\n","g");return t.replace(e,"<br />")},t.removeClass=function(t,e){var n;n=(n=(n=(n=" "+t.className+" ").replace(/(\s+)/gi," ")).replace(" "+e+" "," ")).replace(/(^\s+)|(\s+$)/g,""),t.className=n},t.removeEvent=function(t,e){var n=Pu(),r=n[t];if("string"==typeof t&&r instanceof Array)if("function"==typeof e){for(var o=0,i=r.length;o<i;o++)if(r[o]===e){n[t].splice(o,1);break}}else delete n[t]},t.setCookie=function(t,e,n,r){var o,i,a;n?((a=new Date).setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toGMTString()):i="";var c=location.host;1===c.split(".").length?document.cookie=t+"="+e+i+"; path=/":((o=c.split(".")).shift(),r=r||"."+o.join("."),document.cookie=t+"="+e+i+"; path=/; domain="+r,null!==Nu(t)&&Nu(t)===e||(r=r||"."+c,document.cookie=t+"="+e+i+"; path=/; domain="+r))},t.setLocalStorage=function(t,e){void 0===e&&(e=null),t&&localStorage.setItem(t,JSON.stringify(e))},t.setSessionStorage=function(t,e){void 0===e&&(e=null),t&&sessionStorage.setItem(t,JSON.stringify(e))},t.throttle=function(t,e,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],c=a[0],u=a[1],f=function(){u=!1===n.leading?0:Iu(),i=null,c=t.apply(r,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=Iu();u||!1!==n.leading||(u=l);var d=e-(l-u);return r=this,o=a,d<=0||d>e?(i&&(clearTimeout(i),i=null),u=l,c=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f,d)),c}},t.truncateZHString=Cu,t.updateQueryParam=function(t,e,n){var r=new RegExp("([?&])"+e+"=.*?(&|$)","i"),o=-1!==t.indexOf("?")?"&":"?";return t.match(r)?t.replace(r,"$1"+e+"="+n+"$2"):t+o+e+"="+n},t.windowLoaded=function(t){void 0===t&&(t=90);var e,n=function(){},r=new Promise((function(t,r){n=t,e=r}));return"complete"===document.readyState?n("complete"):window.addEventListener("load",(function(){return n("load")})),setTimeout((function(){return e(Error("timeout"))}),1e3*t),r},t.zAxiosIsValidRes=function(t,e){void 0===e&&(e={validStatusRange:[200,300],validCode:[0]});var n=Object.assign({validStatusRange:[200,300],validCode:[0]},e),r=n.validStatusRange,o=n.validCode;2!==r.length&&console.error("valid validStatusRange is required");var i=!1;if(t&&t.status&&2===r.length&&t.status>=r[0]&&t.status<r[1]){var a=t.data;a&&o.includes(a.code)&&(i=!0)}return i},Object.defineProperty(t,"__esModule",{value:!0}),t}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "3.6.3",
3
+ "version": "3.6.5",
4
4
  "description": "Mazey's library for front-end.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",