mazey 3.12.3 → 3.12.4
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/index.cjs.js +3 -3
- package/lib/index.esm.js +3 -3
- package/lib/mazey.min.js +3 -3
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Mazey v3.12.
|
|
3
|
-
* (c) 2018-
|
|
2
|
+
* Mazey v3.12.4 https://github.com/mazeyqian/mazey
|
|
3
|
+
* (c) 2018-2024 Cheng
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n,r,o,i=e((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})),a=(n=i)&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,u=function(t){return t&&t.Math===Math&&t},c=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},s=!f((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),d=Function.prototype.call,p=l?d.bind(d):function(){return d.apply(d,arguments)},v={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,g=h&&!v.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:v,y={f:g},m=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=Function.prototype,b=w.call,E=l&&w.bind.bind(b,b),S=l?E:function(t){return function(){return b.apply(t,arguments)}},x=S({}.toString),O=S("".slice),T=function(t){return O(x(t),8,-1)},A=Object,j=S("".split),I=f((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"===T(t)?j(t,""):A(t)}:A,R=function(t){return null==t},P=TypeError,M=function(t){if(R(t))throw new P("Can't call method on "+t);return t},_=function(t){return I(M(t))},N="object"==typeof document&&document.all,C={all:N,IS_HTMLDDA:void 0===N&&void 0!==N},k=C.all,L=C.IS_HTMLDDA?function(t){return"function"==typeof t||t===k}:function(t){return"function"==typeof t},F=C.all,D=C.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===F}:function(t){return"object"==typeof t?null!==t:L(t)},B=function(t,e){return arguments.length<2?(n=c[t],L(n)?n:void 0):c[t]&&c[t][e];var n},U=S({}.isPrototypeOf),$="undefined"!=typeof navigator&&String(navigator.userAgent)||"",z=c.process,q=c.Deno,G=z&&z.versions||q&&q.version,V=G&&G.v8;V&&(o=(r=V.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&$&&(!(r=$.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=$.match(/Chrome\/(\d+)/))&&(o=+r[1]);var W=o,Y=c.String,Z=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol("symbol detection");return!Y(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&W&&W<41})),H=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,K=H?function(t){return"symbol"==typeof t}:function(t){var e=B("Symbol");return L(e)&&U(e.prototype,J(t))},X=String,Q=function(t){try{return X(t)}catch(t){return"Object"}},tt=TypeError,et=function(t){if(L(t))return t;throw new tt(Q(t)+" is not a function")},nt=function(t,e){var n=t[e];return R(n)?void 0:et(n)},rt=TypeError,ot=Object.defineProperty,it=function(t,e){try{ot(c,t,{value:e,configurable:!0,writable:!0})}catch(n){c[t]=e}return e},at="__core-js_shared__",ut=c[at]||it(at,{}),ct=e((function(t){(t.exports=function(t,e){return ut[t]||(ut[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.34.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),ft=Object,st=function(t){return ft(M(t))},lt=S({}.hasOwnProperty),dt=Object.hasOwn||function(t,e){return lt(st(t),e)},pt=0,vt=Math.random(),ht=S(1..toString),gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ht(++pt+vt,36)},yt=c.Symbol,mt=ct("wks"),wt=H?yt.for||yt:yt&&yt.withoutSetter||gt,bt=function(t){return dt(mt,t)||(mt[t]=Z&&dt(yt,t)?yt[t]:wt("Symbol."+t)),mt[t]},Et=TypeError,St=bt("toPrimitive"),xt=function(t,e){if(!D(t)||K(t))return t;var n,r=nt(t,St);if(r){if(void 0===e&&(e="default"),n=p(r,t,e),!D(n)||K(n))return n;throw new Et("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=p(n,t)))return r;if(L(n=t.valueOf)&&!D(r=p(n,t)))return r;if("string"!==e&&L(n=t.toString)&&!D(r=p(n,t)))return r;throw new rt("Can't convert object to primitive value")}(t,e)},Ot=function(t){var e=xt(t,"string");return K(e)?e:e+""},Tt=c.document,At=D(Tt)&&D(Tt.createElement),jt=function(t){return At?Tt.createElement(t):{}},It=!s&&!f((function(){return 7!==Object.defineProperty(jt("div"),"a",{get:function(){return 7}}).a})),Rt=Object.getOwnPropertyDescriptor,Pt={f:s?Rt:function(t,e){if(t=_(t),e=Ot(e),It)try{return Rt(t,e)}catch(t){}if(dt(t,e))return m(!p(y.f,t,e),t[e])}},Mt=s&&f((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),_t=String,Nt=TypeError,Ct=function(t){if(D(t))return t;throw new Nt(_t(t)+" is not an object")},kt=TypeError,Lt=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Dt="enumerable",Bt="configurable",Ut="writable",$t={f:s?Mt?function(t,e,n){if(Ct(t),e=Ot(e),Ct(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ut in n&&!n[Ut]){var r=Ft(t,e);r&&r[Ut]&&(t[e]=n.value,n={configurable:Bt in n?n[Bt]:r[Bt],enumerable:Dt in n?n[Dt]:r[Dt],writable:!1})}return Lt(t,e,n)}:Lt:function(t,e,n){if(Ct(t),e=Ot(e),Ct(n),It)try{return Lt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new kt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},zt=s?function(t,e,n){return $t.f(t,e,m(1,n))}:function(t,e,n){return t[e]=n,t},qt=Function.prototype,Gt=s&&Object.getOwnPropertyDescriptor,Vt=dt(qt,"name"),Wt={EXISTS:Vt,PROPER:Vt&&"something"===function(){}.name,CONFIGURABLE:Vt&&(!s||s&&Gt(qt,"name").configurable)},Yt=S(Function.toString);L(ut.inspectSource)||(ut.inspectSource=function(t){return Yt(t)});var Zt,Ht,Jt,Kt=ut.inspectSource,Xt=c.WeakMap,Qt=L(Xt)&&/native code/.test(String(Xt)),te=ct("keys"),ee=function(t){return te[t]||(te[t]=gt(t))},ne={},re="Object already initialized",oe=c.TypeError,ie=c.WeakMap;if(Qt||ut.state){var ae=ut.state||(ut.state=new ie);ae.get=ae.get,ae.has=ae.has,ae.set=ae.set,Zt=function(t,e){if(ae.has(t))throw new oe(re);return e.facade=t,ae.set(t,e),e},Ht=function(t){return ae.get(t)||{}},Jt=function(t){return ae.has(t)}}else{var ue=ee("state");ne[ue]=!0,Zt=function(t,e){if(dt(t,ue))throw new oe(re);return e.facade=t,zt(t,ue,e),e},Ht=function(t){return dt(t,ue)?t[ue]:{}},Jt=function(t){return dt(t,ue)}}var ce,fe={set:Zt,get:Ht,has:Jt,enforce:function(t){return Jt(t)?Ht(t):Zt(t,{})},getterFor:function(t){return function(e){var n;if(!D(e)||(n=Ht(e)).type!==t)throw new oe("Incompatible receiver, "+t+" required");return n}}},se=e((function(t){var e=Wt.CONFIGURABLE,n=fe.enforce,r=fe.get,o=String,i=Object.defineProperty,a=S("".slice),u=S("".replace),c=S([].join),l=s&&!f((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=t.exports=function(t,r,f){"Symbol("===a(o(r),0,7)&&(r="["+u(o(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!dt(t,"name")||e&&t.name!==r)&&(s?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&f&&dt(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&dt(f,"constructor")&&f.constructor?s&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return dt(p,"source")||(p.source=c(d,"string"==typeof r?r:"")),t};Function.prototype.toString=p((function(){return L(this)&&r(this).source||Kt(this)}),"toString")})),le=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(L(n)&&se(n,i,r),r.global)o?t[e]=n:it(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:$t.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},de=Math.ceil,pe=Math.floor,ve=Math.trunc||function(t){var e=+t;return(e>0?pe:de)(e)},he=function(t){var e=+t;return e!=e||0===e?0:ve(e)},ge=Math.max,ye=Math.min,me=function(t,e){var n=he(t);return n<0?ge(n+e,0):ye(n,e)},we=Math.min,be=function(t){return t>0?we(he(t),9007199254740991):0},Ee=function(t){return be(t.length)},Se=function(t){return function(e,n,r){var o,i=_(e),a=Ee(i),u=me(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},xe={includes:Se(!0),indexOf:Se(!1)},Oe=xe.indexOf,Te=S([].push),Ae=function(t,e){var n,r=_(t),o=0,i=[];for(n in r)!dt(ne,n)&&dt(r,n)&&Te(i,n);for(;e.length>o;)dt(r,n=e[o++])&&(~Oe(i,n)||Te(i,n));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=je.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(t){return Ae(t,Ie)}},Pe={f:Object.getOwnPropertySymbols},Me=S([].concat),_e=B("Reflect","ownKeys")||function(t){var e=Re.f(Ct(t)),n=Pe.f;return n?Me(e,n(t)):e},Ne=function(t,e,n){for(var r=_e(e),o=$t.f,i=Pt.f,a=0;a<r.length;a++){var u=r[a];dt(t,u)||n&&dt(n,u)||o(t,u,i(e,u))}},Ce=/#|\.prototype\./,ke=function(t,e){var n=Fe[Le(t)];return n===Be||n!==De&&(L(e)?f(e):!!e)},Le=ke.normalize=function(t){return String(t).replace(Ce,".").toLowerCase()},Fe=ke.data={},De=ke.NATIVE="N",Be=ke.POLYFILL="P",Ue=ke,$e=Pt.f,ze=function(t,e){var n,r,o,i,a,u=t.target,f=t.global,s=t.stat;if(n=f?c:s?c[u]||it(u,{}):(c[u]||{}).prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=$e(n,r))&&a.value:n[r],!Ue(f?r:u+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ne(i,o)}(t.sham||o&&o.sham)&&zt(i,"sham",!0),le(n,r,i,t)}},qe=Object.keys||function(t){return Ae(t,je)},Ge=s&&!Mt?Object.defineProperties:function(t,e){Ct(t);for(var n,r=_(e),o=qe(e),i=o.length,a=0;i>a;)$t.f(t,n=o[a++],r[n]);return t},Ve={f:Ge},We=B("document","documentElement"),Ye="prototype",Ze="script",He=ee("IE_PROTO"),Je=function(){},Ke=function(t){return"<"+Ze+">"+t+"</"+Ze+">"},Xe=function(t){t.write(Ke("")),t.close();var e=t.parentWindow.Object;return t=null,e},Qe=function(){try{ce=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Qe="undefined"!=typeof document?document.domain&&ce?Xe(ce):(e=jt("iframe"),n="java"+Ze+":",e.style.display="none",We.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Ke("document.F=Object")),t.close(),t.F):Xe(ce);for(var r=je.length;r--;)delete Qe[Ye][je[r]];return Qe()};ne[He]=!0;var tn=Object.create||function(t,e){var n;return null!==t?(Je[Ye]=Ct(t),n=new Je,Je[Ye]=null,n[He]=t):n=Qe(),void 0===e?n:Ve.f(n,e)},en=$t.f,nn=bt("unscopables"),rn=Array.prototype;void 0===rn[nn]&&en(rn,nn,{configurable:!0,value:tn(null)});var on=function(t){rn[nn][t]=!0};ze({target:"Array",proto:!0},{fill:function(t){for(var e=st(this),n=Ee(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}}),on("fill");var an=Array.isArray||function(t){return"Array"===T(t)},un=TypeError,cn=function(t){if(t>9007199254740991)throw un("Maximum allowed index exceeded");return t},fn=function(t,e,n){var r=Ot(e);r in t?$t.f(t,r,m(0,n)):t[r]=n},sn={};sn[bt("toStringTag")]="z";var ln="[object z]"===String(sn),dn=bt("toStringTag"),pn=Object,vn="Arguments"===T(function(){return arguments}()),hn=ln?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=pn(t),dn))?n:vn?T(e):"Object"===(r=T(e))&&L(e.callee)?"Arguments":r},gn=function(){},yn=[],mn=B("Reflect","construct"),wn=/^\s*(?:class|function)\b/,bn=S(wn.exec),En=!wn.test(gn),Sn=function(t){if(!L(t))return!1;try{return mn(gn,yn,t),!0}catch(t){return!1}},xn=function(t){if(!L(t))return!1;switch(hn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return En||!!bn(wn,Kt(t))}catch(t){return!0}};xn.sham=!0;var On=!mn||f((function(){var t;return Sn(Sn.call)||!Sn(Object)||!Sn((function(){t=!0}))||t}))?xn:Sn,Tn=bt("species"),An=Array,jn=function(t,e){return new(function(t){var e;return an(t)&&(e=t.constructor,(On(e)&&(e===An||an(e.prototype))||D(e)&&null===(e=e[Tn]))&&(e=void 0)),void 0===e?An:e}(t))(0===e?0:e)},In=bt("species"),Rn=function(t){return W>=51||!f((function(){var e=[];return(e.constructor={})[In]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Pn=bt("isConcatSpreadable"),Mn=W>=51||!f((function(){var t=[];return t[Pn]=!1,t.concat()[0]!==t})),_n=function(t){if(!D(t))return!1;var e=t[Pn];return void 0!==e?!!e:an(t)},Nn=!Mn||!Rn("concat");ze({target:"Array",proto:!0,arity:1,forced:Nn},{concat:function(t){var e,n,r,o,i,a=st(this),u=jn(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(_n(i=-1===e?a:arguments[e]))for(o=Ee(i),cn(c+o),n=0;n<o;n++,c++)n in i&&fn(u,c,i[n]);else cn(c+1),fn(u,c++,i);return u.length=c,u}});var Cn=String,kn=TypeError,Ln=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return S(et(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Ct(n),function(t){if("object"==typeof t||L(t))return t;throw new kn("Can't set "+Cn(t)+" as a prototype")}(r),e?t(n,r):n.__proto__=r,n}}():void 0),Fn=function(t,e,n){var r,o;return Ln&&L(r=e.constructor)&&r!==n&&D(o=r.prototype)&&o!==n.prototype&&Ln(t,o),t},Dn=bt("match"),Bn=function(t){var e;return D(t)&&(void 0!==(e=t[Dn])?!!e:"RegExp"===T(t))},Un=String,$n=function(t){if("Symbol"===hn(t))throw new TypeError("Cannot convert a Symbol value to a string");return Un(t)},zn=function(){var t=Ct(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},qn=RegExp.prototype,Gn=function(t){var e=t.flags;return void 0!==e||"flags"in qn||dt(t,"flags")||!U(qn,t)?e:p(zn,t)},Vn=c.RegExp,Wn=f((function(){var t=Vn("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Yn=Wn||f((function(){return!Vn("a","y").sticky})),Zn={BROKEN_CARET:Wn||f((function(){var t=Vn("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Yn,UNSUPPORTED_Y:Wn},Hn=$t.f,Jn=function(t,e,n){n in t||Hn(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},Kn=function(t,e,n){return n.get&&se(n.get,e,{getter:!0}),n.set&&se(n.set,e,{setter:!0}),$t.f(t,e,n)},Xn=bt("species"),Qn=function(t){var e=B(t);s&&e&&!e[Xn]&&Kn(e,Xn,{configurable:!0,get:function(){return this}})},tr=c.RegExp,er=f((function(){var t=tr(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),nr=c.RegExp,rr=f((function(){var t=nr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),or=Re.f,ir=fe.enforce,ar=bt("match"),ur=c.RegExp,cr=ur.prototype,fr=c.SyntaxError,sr=S(cr.exec),lr=S("".charAt),dr=S("".replace),pr=S("".indexOf),vr=S("".slice),hr=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,gr=/a/g,yr=/a/g,mr=new ur(gr)!==gr,wr=Zn.MISSED_STICKY,br=Zn.UNSUPPORTED_Y,Er=s&&(!mr||wr||er||rr||f((function(){return yr[ar]=!1,ur(gr)!==gr||ur(yr)===yr||"/a/i"!==String(ur(gr,"i"))})));if(Ue("RegExp",Er)){for(var Sr=function(t,e){var n,r,o,i,a,u,c=U(cr,this),f=Bn(t),s=void 0===e,l=[],d=t;if(!c&&f&&s&&t.constructor===Sr)return t;if((f||U(cr,t))&&(t=t.source,s&&(e=Gn(d))),t=void 0===t?"":$n(t),e=void 0===e?"":$n(e),d=t,er&&"dotAll"in gr&&(r=!!e&&pr(e,"s")>-1)&&(e=dr(e,/s/g,"")),n=e,wr&&"sticky"in gr&&(o=!!e&&pr(e,"y")>-1)&&br&&(e=dr(e,/y/g,"")),rr&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a=tn(null),u=!1,c=!1,f=0,s="";r<=n;r++){if("\\"===(e=lr(t,r)))e+=lr(t,++r);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:sr(hr,vr(t,r+1))&&(r+=2,c=!0),o+=e,f++;continue;case">"===e&&c:if(""===s||dt(a,s))throw new fr("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],c=!1,s="";continue}c?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Fn(ur(t,e),c?this:cr,Sr),(r||o||l.length)&&(u=ir(a),r&&(u.dotAll=!0,u.raw=Sr(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=lr(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+lr(t,++r);return o}(t),n)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==d)try{zt(a,"source",""===d?"(?:)":d)}catch(t){}return a},xr=or(ur),Or=0;xr.length>Or;)Jn(Sr,ur,xr[Or++]);cr.constructor=Sr,Sr.prototype=cr,le(c,"RegExp",Sr,{constructor:!0})}Qn("RegExp");var Tr=fe.get,Ar=ct("native-string-replace",String.prototype.replace),jr=RegExp.prototype.exec,Ir=jr,Rr=S("".charAt),Pr=S("".indexOf),Mr=S("".replace),_r=S("".slice),Nr=function(){var t=/a/,e=/b*/g;return p(jr,t,"a"),p(jr,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Cr=Zn.BROKEN_CARET,kr=void 0!==/()??/.exec("")[1];(Nr||kr||Cr||er||rr)&&(Ir=function(t){var e,n,r,o,i,a,u,c=this,f=Tr(c),s=$n(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=p(Ir,l,s),c.lastIndex=l.lastIndex,e;var d=f.groups,v=Cr&&c.sticky,h=p(zn,c),g=c.source,y=0,m=s;if(v&&(h=Mr(h,"y",""),-1===Pr(h,"g")&&(h+="g"),m=_r(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Rr(s,c.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),n=new RegExp("^(?:"+g+")",h)),kr&&(n=new RegExp("^"+g+"$(?!\\s)",h)),Nr&&(r=c.lastIndex),o=p(jr,v?n:c,m),v?o?(o.input=_r(o.input,y),o[0]=_r(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Nr&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),kr&&o&&o.length>1&&p(Ar,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=tn(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var Lr=Ir;ze({target:"RegExp",proto:!0,forced:/./.exec!==Lr},{exec:Lr});var Fr=Wt.PROPER,Dr="toString",Br=RegExp.prototype[Dr],Ur=f((function(){return"/a/b"!==Br.call({source:"a",flags:"b"})})),$r=Fr&&Br.name!==Dr;(Ur||$r)&&le(RegExp.prototype,Dr,(function(){var t=Ct(this);return"/"+$n(t.source)+"/"+$n(Gn(t))}),{unsafe:!0});var zr=function(t){if("Function"===T(t))return S(t)},qr=bt("species"),Gr=RegExp.prototype,Vr=function(t,e,n,r){var o=bt(t),i=!f((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!f((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[qr]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var u=zr(/./[o]),c=e(o,""[t],(function(t,e,n,r,o){var a=zr(t),c=e.exec;return c===Lr||c===Gr.exec?i&&!o?{done:!0,value:u(e,n,r)}:{done:!0,value:a(n,e,r)}:{done:!1}}));le(String.prototype,t,c[0]),le(Gr,o,c[1])}r&&zt(Gr[o],"sham",!0)},Wr=S("".charAt),Yr=S("".charCodeAt),Zr=S("".slice),Hr=function(t){return function(e,n){var r,o,i=$n(M(e)),a=he(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Yr(i,a))<55296||r>56319||a+1===u||(o=Yr(i,a+1))<56320||o>57343?t?Wr(i,a):r:t?Zr(i,a,a+2):o-56320+(r-55296<<10)+65536}},Jr={codeAt:Hr(!1),charAt:Hr(!0)},Kr=Jr.charAt,Xr=function(t,e,n){return e+(n?Kr(t,e).length:1)},Qr=TypeError,to=function(t,e){var n=t.exec;if(L(n)){var r=p(n,t,e);return null!==r&&Ct(r),r}if("RegExp"===T(t))return p(Lr,t,e);throw new Qr("RegExp#exec called on incompatible receiver")};Vr("match",(function(t,e,n){return[function(e){var n=M(this),r=R(e)?void 0:nt(e,t);return r?p(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=Ct(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return to(r,o);var a=r.unicode;r.lastIndex=0;for(var u,c=[],f=0;null!==(u=to(r,o));){var s=$n(u[0]);c[f]=s,""===s&&(r.lastIndex=Xr(o,be(r.lastIndex),a)),f++}return 0===f?null:c}]}));var eo=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Vr("search",(function(t,e,n){return[function(e){var n=M(this),r=R(e)?void 0:nt(e,t);return r?p(r,e,n):new RegExp(e)[t]($n(n))},function(t){var r=Ct(this),o=$n(t),i=n(e,r,o);if(i.done)return i.value;var a=r.lastIndex;eo(a,0)||(r.lastIndex=0);var u=to(r,o);return eo(r.lastIndex,a)||(r.lastIndex=a),null===u?-1:u.index}]}));var no=Function.prototype,ro=no.apply,oo=no.call,io="object"==typeof Reflect&&Reflect.apply||(l?oo.bind(ro):function(){return oo.apply(ro,arguments)}),ao=Math.floor,uo=S("".charAt),co=S("".replace),fo=S("".slice),so=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,lo=/\$([$&'`]|\d{1,2})/g,po=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,c=lo;return void 0!==o&&(o=st(o),c=so),co(i,c,(function(i,c){var f;switch(uo(c,0)){case"$":return"$";case"&":return t;case"`":return fo(e,0,n);case"'":return fo(e,a);case"<":f=o[fo(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>u){var l=ao(s/10);return 0===l?i:l<=u?void 0===r[l-1]?uo(c,1):r[l-1]+uo(c,1):i}f=r[s-1]}return void 0===f?"":f}))},vo=bt("replace"),ho=Math.max,go=Math.min,yo=S([].concat),mo=S([].push),wo=S("".indexOf),bo=S("".slice),Eo="$0"==="a".replace(/./,"$0"),So=!!/./[vo]&&""===/./[vo]("a","$0");Vr("replace",(function(t,e,n){var r=So?"$":"$0";return[function(t,n){var r=M(this),o=R(t)?void 0:nt(t,vo);return o?p(o,t,r,n):p(e,$n(r),t,n)},function(t,o){var i=Ct(this),a=$n(t);if("string"==typeof o&&-1===wo(o,r)&&-1===wo(o,"$<")){var u=n(e,i,a,o);if(u.done)return u.value}var c=L(o);c||(o=$n(o));var f,s=i.global;s&&(f=i.unicode,i.lastIndex=0);for(var l,d=[];null!==(l=to(i,a))&&(mo(d,l),s);){""===$n(l[0])&&(i.lastIndex=Xr(a,be(i.lastIndex),f))}for(var p,v="",h=0,g=0;g<d.length;g++){for(var y,m=$n((l=d[g])[0]),w=ho(go(he(l.index),a.length),0),b=[],E=1;E<l.length;E++)mo(b,void 0===(p=l[E])?p:String(p));var S=l.groups;if(c){var x=yo([m],b,w,a);void 0!==S&&mo(x,S),y=$n(io(o,void 0,x))}else y=po(m,a,w,b,S,o);w>=h&&(v+=bo(a,h,w)+y,h=w+m.length)}return v+bo(a,h)}]}),!!f((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Eo||So);var xo=function(t,e){var n=[][t];return!!n&&f((function(){n.call(null,e||function(){return 1},1)}))},Oo=xe.indexOf,To=zr([].indexOf),Ao=!!To&&1/To([1],1,-0)<0,jo=Ao||!xo("indexOf");ze({target:"Array",proto:!0,forced:jo},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return Ao?To(this,t,e)||0:Oo(this,t,e)}});var Io=TypeError,Ro=function(t){return function(e,n,r,o){var i=st(e),a=I(i),u=Ee(i);et(n);var c=t?u-1:0,f=t?-1:1;if(r<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw new Io("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=n(o,a[c],c,i));return o}},Po={left:Ro(!1),right:Ro(!0)},Mo="process"===T(c.process),_o=Po.left,No=!Mo&&W>79&&W<83||!xo("reduce");ze({target:"Array",proto:!0,forced:No},{reduce:function(t){var e=arguments.length;return _o(this,t,e,e>1?arguments[1]:void 0)}});var Co=ln?{}.toString:function(){return"[object "+hn(this)+"]"};ln||le(Object.prototype,"toString",Co,{unsafe:!0});var ko=S([].slice),Lo=Rn("slice"),Fo=bt("species"),Do=Array,Bo=Math.max;ze({target:"Array",proto:!0,forced:!Lo},{slice:function(t,e){var n,r,o,i=_(this),a=Ee(i),u=me(t,a),c=me(void 0===e?a:e,a);if(an(i)&&(n=i.constructor,(On(n)&&(n===Do||an(n.prototype))||D(n)&&null===(n=n[Fo]))&&(n=void 0),n===Do||void 0===n))return ko(i,u,c);for(r=new(void 0===n?Do:n)(Bo(c-u,0)),o=0;u<c;u++,o++)u in i&&fn(r,o,i[u]);return r.length=o,r}});var Uo=!f((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),$o=ee("IE_PROTO"),zo=Object,qo=zo.prototype,Go=Uo?zo.getPrototypeOf:function(t){var e=st(t);if(dt(e,$o))return e[$o];var n=e.constructor;return L(n)&&e instanceof n?n.prototype:e instanceof zo?qo:null},Vo=S(y.f),Wo=S([].push),Yo=s&&f((function(){var t=Object.create(null);return t[2]=2,!Vo(t,2)})),Zo=function(t){return function(e){for(var n,r=_(e),o=qe(r),i=Yo&&null===Go(r),a=o.length,u=0,c=[];a>u;)n=o[u++],s&&!(i?n in r:Vo(r,n))||Wo(c,t?[n,r[n]]:r[n]);return c}},Ho={entries:Zo(!0),values:Zo(!1)}.values;ze({target:"Object",stat:!0},{values:function(t){return Ho(t)}});var Jo=zr(zr.bind),Ko=function(t,e){return et(t),void 0===e?t:l?Jo(t,e):function(){return t.apply(e,arguments)}},Xo=S([].push),Qo=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(c,f,s,l){for(var d,p,v=st(c),h=I(v),g=Ee(h),y=Ko(f,s),m=0,w=l||jn,b=e?w(c,g):n||a?w(c,0):void 0;g>m;m++)if((u||m in h)&&(p=y(d=h[m],m,v),t))if(e)b[m]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:Xo(b,d)}else switch(t){case 4:return!1;case 7:Xo(b,d)}return i?-1:r||o?o:b}},ti={forEach:Qo(0),map:Qo(1),filter:Qo(2),some:Qo(3),every:Qo(4),find:Qo(5),findIndex:Qo(6),filterReject:Qo(7)},ei=ti.every,ni=xo("every");ze({target:"Array",proto:!0,forced:!ni},{every:function(t){return ei(this,t,arguments.length>1?arguments[1]:void 0)}});var ri=xe.includes,oi=f((function(){return!Array(1).includes()}));ze({target:"Array",proto:!0,forced:oi},{includes:function(t){return ri(this,t,arguments.length>1?arguments[1]:void 0)}}),on("includes");var ii=f((function(){qe(1)}));ze({target:"Object",stat:!0,forced:ii},{keys:function(t){return qe(st(t))}});var ai=S(1..valueOf),ui=RangeError,ci=RangeError,fi=String,si=Math.floor,li=S((function(t){var e=$n(M(this)),n="",r=he(t);if(r<0||r===1/0)throw new ui("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),di=S("".slice),pi=S(1..toFixed),vi=function(t,e,n){return 0===e?n:e%2==1?vi(t,e-1,n*t):vi(t*t,e/2,n)},hi=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=si(o/1e7)},gi=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=si(r/e),r=r%e*1e7},yi=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=fi(t[e]);n=""===n?r:n+li("0",7-r.length)+r}return n},mi=f((function(){return"0.000"!==pi(8e-5,3)||"1"!==pi(.9,0)||"1.25"!==pi(1.255,2)||"1000000000000000128"!==pi(0xde0b6b3a7640080,0)}))||!f((function(){pi({})}));ze({target:"Number",proto:!0,forced:mi},{toFixed:function(t){var e,n,r,o,i=ai(this),a=he(t),u=[0,0,0,0,0,0],c="",f="0";if(a<0||a>20)throw new ci("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return fi(i);if(i<0&&(c="-",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*vi(2,69,1))-69,n=e<0?i*vi(2,-e,1):i/vi(2,e,1),n*=4503599627370496,(e=52-e)>0){for(hi(u,0,n),r=a;r>=7;)hi(u,1e7,0),r-=7;for(hi(u,vi(10,r,1),0),r=e-1;r>=23;)gi(u,1<<23),r-=23;gi(u,1<<r),hi(u,1,1),gi(u,2),f=yi(u)}else hi(u,0,n),hi(u,1<<-e,0),f=yi(u)+li("0",a);return f=a>0?c+((o=f.length)<=a?"0."+li("0",a-o)+f:di(f,0,o-a)+"."+di(f,o-a)):c+f}});var wi="\t\n\v\f\r \u2028\u2029\ufeff",bi=S("".replace),Ei=RegExp("^["+wi+"]+"),Si=RegExp("(^|[^"+wi+"])["+wi+"]+$"),xi=function(t){return function(e){var n=$n(M(e));return 1&t&&(n=bi(n,Ei,"")),2&t&&(n=bi(n,Si,"$1")),n}},Oi={start:xi(1),end:xi(2),trim:xi(3)},Ti=Oi.trim,Ai=S("".charAt),ji=c.parseFloat,Ii=c.Symbol,Ri=Ii&&Ii.iterator,Pi=1/ji(wi+"-0")!=-1/0||Ri&&!f((function(){ji(Object(Ri))}))?function(t){var e=Ti($n(t)),n=ji(e);return 0===n&&"-"===Ai(e,0)?-0:n}:ji;ze({global:!0,forced:parseFloat!==Pi},{parseFloat:Pi});var Mi=TypeError,_i=bt("species"),Ni=function(t,e){var n,r=Ct(t).constructor;return void 0===r||R(n=Ct(r)[_i])?e:function(t){if(On(t))return t;throw new Mi(Q(t)+" is not a constructor")}(n)},Ci=Array,ki=Math.max,Li=function(t,e,n){for(var r=Ee(t),o=me(e,r),i=me(void 0===n?r:n,r),a=Ci(ki(i-o,0)),u=0;o<i;o++,u++)fn(a,u,t[o]);return a.length=u,a},Fi=Zn.UNSUPPORTED_Y,Di=4294967295,Bi=Math.min,Ui=[].push,$i=S(/./.exec),zi=S(Ui),qi=S("".slice);Vr("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=$n(M(this)),o=void 0===n?Di:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!Bn(t))return p(e,r,t,o);for(var i,a,u,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=p(Lr,l,r))&&!((a=l.lastIndex)>s&&(zi(c,qi(r,s,i.index)),i.length>1&&i.index<r.length&&io(Ui,c,Li(i,1)),u=i[0].length,s=a,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===r.length?!u&&$i(l,"")||zi(c,""):zi(c,qi(r,s)),c.length>o?Li(c,0,o):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:p(e,this,t,n)}:e,[function(e,n){var o=M(this),i=R(e)?void 0:nt(e,t);return i?p(i,e,o,n):p(r,$n(o),e,n)},function(t,o){var i=Ct(this),a=$n(t),u=n(r,i,a,o,r!==e);if(u.done)return u.value;var c=Ni(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Fi?"g":"y"),l=new c(Fi?"^(?:"+i.source+")":i,s),d=void 0===o?Di:o>>>0;if(0===d)return[];if(0===a.length)return null===to(l,a)?[a]:[];for(var p=0,v=0,h=[];v<a.length;){l.lastIndex=Fi?0:v;var g,y=to(l,Fi?qi(a,v):a);if(null===y||(g=Bi(be(l.lastIndex+(Fi?v:0)),a.length))===p)v=Xr(a,v,f);else{if(zi(h,qi(a,p,v)),h.length===d)return h;for(var m=1;m<=y.length-1;m++)if(zi(h,y[m]),h.length===d)return h;v=p=g}}return zi(h,qi(a,p)),h}]}),!!f((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]})),Fi);var Gi=Object.assign,Vi=Object.defineProperty,Wi=S([].concat),Yi=!Gi||f((function(){if(s&&1!==Gi({b:1},Gi(Vi({},"a",{enumerable:!0,get:function(){Vi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==Gi({},t)[n]||qe(Gi({},e)).join("")!==r}))?function(t,e){for(var n=st(t),r=arguments.length,o=1,i=Pe.f,a=y.f;r>o;)for(var u,c=I(arguments[o++]),f=i?Wi(qe(c),i(c)):qe(c),l=f.length,d=0;l>d;)u=f[d++],s&&!p(a,c,u)||(n[u]=c[u]);return n}:Gi;ze({target:"Object",stat:!0,arity:2,forced:Object.assign!==Yi},{assign:Yi});var Zi=c,Hi=Re.f,Ji=Pt.f,Ki=$t.f,Xi=Oi.trim,Qi="Number",ta=c[Qi];Zi[Qi];var ea=ta.prototype,na=c.TypeError,ra=S("".slice),oa=S("".charCodeAt),ia=function(t){var e,n,r,o,i,a,u,c,f=xt(t,"number");if(K(f))throw new na("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=Xi(f),43===(e=oa(f,0))||45===e){if(88===(n=oa(f,2))||120===n)return NaN}else if(48===e){switch(oa(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=ra(f,2)).length,u=0;u<a;u++)if((c=oa(i,u))<48||c>o)return NaN;return parseInt(i,r)}return+f},aa=Ue(Qi,!ta(" 0o1")||!ta("0b1")||ta("+0x1")),ua=function(t){var e,n=arguments.length<1?0:ta(function(t){var e=xt(t,"number");return"bigint"==typeof e?e:ia(e)}(t));return U(ea,e=this)&&f((function(){ai(e)}))?Fn(Object(n),this,ua):n};ua.prototype=ea,aa&&(ea.constructor=ua),ze({global:!0,constructor:!0,wrap:!0,forced:aa},{Number:ua});aa&&function(t,e){for(var n,r=s?Hi(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++)dt(e,n=r[o])&&!dt(t,n)&&Ki(t,n,Ji(e,n))}(Zi[Qi],ta);var ca,fa,sa,la,da=$t.f,pa=bt("toStringTag"),va=function(t,e,n){t&&!n&&(t=t.prototype),t&&!dt(t,pa)&&da(t,pa,{configurable:!0,value:e})},ha=TypeError,ga=TypeError,ya=/(?:ipad|iphone|ipod).*applewebkit/i.test($),ma=c.setImmediate,wa=c.clearImmediate,ba=c.process,Ea=c.Dispatch,Sa=c.Function,xa=c.MessageChannel,Oa=c.String,Ta=0,Aa={},ja="onreadystatechange";f((function(){ca=c.location}));var Ia=function(t){if(dt(Aa,t)){var e=Aa[t];delete Aa[t],e()}},Ra=function(t){return function(){Ia(t)}},Pa=function(t){Ia(t.data)},Ma=function(t){c.postMessage(Oa(t),ca.protocol+"//"+ca.host)};ma&&wa||(ma=function(t){!function(t,e){if(t<e)throw new ga("Not enough arguments")}(arguments.length,1);var e=L(t)?t:Sa(t),n=ko(arguments,1);return Aa[++Ta]=function(){io(e,void 0,n)},fa(Ta),Ta},wa=function(t){delete Aa[t]},Mo?fa=function(t){ba.nextTick(Ra(t))}:Ea&&Ea.now?fa=function(t){Ea.now(Ra(t))}:xa&&!ya?(la=(sa=new xa).port2,sa.port1.onmessage=Pa,fa=Ko(la.postMessage,la)):c.addEventListener&&L(c.postMessage)&&!c.importScripts&&ca&&"file:"!==ca.protocol&&!f(Ma)?(fa=Ma,c.addEventListener("message",Pa,!1)):fa=ja in jt("script")?function(t){We.appendChild(jt("script"))[ja]=function(){We.removeChild(this),Ia(t)}}:function(t){setTimeout(Ra(t),0)});var _a={set:ma,clear:wa},Na=function(){this.head=null,this.tail=null};Na.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 Ca,ka,La,Fa,Da,Ba=Na,Ua=/ipad|iphone|ipod/i.test($)&&"undefined"!=typeof Pebble,$a=/web0s(?!.*chrome)/i.test($),za=Pt.f,qa=_a.set,Ga=c.MutationObserver||c.WebKitMutationObserver,Va=c.document,Wa=c.process,Ya=c.Promise,Za=za(c,"queueMicrotask"),Ha=Za&&Za.value;if(!Ha){var Ja=new Ba,Ka=function(){var t,e;for(Mo&&(t=Wa.domain)&&t.exit();e=Ja.get();)try{e()}catch(t){throw Ja.head&&Ca(),t}t&&t.enter()};ya||Mo||$a||!Ga||!Va?!Ua&&Ya&&Ya.resolve?((Fa=Ya.resolve(void 0)).constructor=Ya,Da=Ko(Fa.then,Fa),Ca=function(){Da(Ka)}):Mo?Ca=function(){Wa.nextTick(Ka)}:(qa=Ko(qa,c),Ca=function(){qa(Ka)}):(ka=!0,La=Va.createTextNode(""),new Ga(Ka).observe(La,{characterData:!0}),Ca=function(){La.data=ka=!ka}),Ha=function(t){Ja.head||Ca(),Ja.add(t)}}var Xa=Ha,Qa=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},tu=c.Promise,eu="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,nu=!eu&&!Mo&&"object"==typeof window&&"object"==typeof document;tu&&tu.prototype;var ru,ou,iu,au=bt("species"),uu=!1,cu=L(c.PromiseRejectionEvent),fu=Ue("Promise",(function(){var t=Kt(tu),e=t!==String(tu);if(!e&&66===W)return!0;if(!W||W<51||!/native code/.test(t)){var n=new tu((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[au]=r,!(uu=n.then((function(){}))instanceof r))return!0}return!e&&(nu||eu)&&!cu})),su={CONSTRUCTOR:fu,REJECTION_EVENT:cu,SUBCLASSING:uu},lu=TypeError,du=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new lu("Bad Promise constructor");e=t,n=r})),this.resolve=et(e),this.reject=et(n)},pu={f:function(t){return new du(t)}},vu=_a.set,hu="Promise",gu=su.CONSTRUCTOR,yu=su.REJECTION_EVENT,mu=su.SUBCLASSING,wu=fe.getterFor(hu),bu=fe.set,Eu=tu&&tu.prototype,Su=tu,xu=Eu,Ou=c.TypeError,Tu=c.document,Au=c.process,ju=pu.f,Iu=ju,Ru=!!(Tu&&Tu.createEvent&&c.dispatchEvent),Pu="unhandledrejection",Mu=function(t){var e;return!(!D(t)||!L(e=t.then))&&e},_u=function(t,e){var n,r,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&Fu(e),e.rejection=1),!0===u?n=i:(s&&s.enter(),n=u(i),s&&(s.exit(),o=!0)),n===t.promise?f(new Ou("Promise-chain cycle")):(r=Mu(n))?p(r,n,c,f):c(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},Nu=function(t,e){t.notified||(t.notified=!0,Xa((function(){for(var n,r=t.reactions;n=r.get();)_u(n,t);t.notified=!1,e&&!t.rejection&&ku(t)})))},Cu=function(t,e,n){var r,o;Ru?((r=Tu.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},!yu&&(o=c["on"+t])?o(r):t===Pu&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},ku=function(t){p(vu,c,(function(){var e,n=t.facade,r=t.value;if(Lu(t)&&(e=Qa((function(){Mo?Au.emit("unhandledRejection",r,n):Cu(Pu,n,r)})),t.rejection=Mo||Lu(t)?2:1,e.error))throw e.value}))},Lu=function(t){return 1!==t.rejection&&!t.parent},Fu=function(t){p(vu,c,(function(){var e=t.facade;Mo?Au.emit("rejectionHandled",e):Cu("rejectionhandled",e,t.value)}))},Du=function(t,e,n){return function(r){t(e,r,n)}},Bu=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Nu(t,!0))},Uu=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new Ou("Promise can't be resolved itself");var r=Mu(e);r?Xa((function(){var n={done:!1};try{p(r,e,Du(Uu,n,t),Du(Bu,n,t))}catch(e){Bu(n,e,t)}})):(t.value=e,t.state=1,Nu(t,!1))}catch(e){Bu({done:!1},e,t)}}};if(gu&&(xu=(Su=function(t){!function(t,e){if(U(e,t))return t;throw new ha("Incorrect invocation")}(this,xu),et(t),p(ru,this);var e=wu(this);try{t(Du(Uu,e),Du(Bu,e))}catch(t){Bu(e,t)}}).prototype,(ru=function(t){bu(this,{type:hu,done:!1,notified:!1,parent:!1,reactions:new Ba,rejection:!1,state:0,value:void 0})}).prototype=le(xu,"then",(function(t,e){var n=wu(this),r=ju(Ni(this,Su));return n.parent=!0,r.ok=!L(t)||t,r.fail=L(e)&&e,r.domain=Mo?Au.domain:void 0,0===n.state?n.reactions.add(r):Xa((function(){_u(r,n)})),r.promise})),ou=function(){var t=new ru,e=wu(t);this.promise=t,this.resolve=Du(Uu,e),this.reject=Du(Bu,e)},pu.f=ju=function(t){return t===Su||undefined===t?new ou(t):Iu(t)},L(tu)&&Eu!==Object.prototype)){iu=Eu.then,mu||le(Eu,"then",(function(t,e){var n=this;return new Su((function(t,e){p(iu,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete Eu.constructor}catch(t){}Ln&&Ln(Eu,xu)}ze({global:!0,constructor:!0,wrap:!0,forced:gu},{Promise:Su}),va(Su,hu,!1),Qn(hu);var $u={},zu=bt("iterator"),qu=Array.prototype,Gu=function(t){return void 0!==t&&($u.Array===t||qu[zu]===t)},Vu=bt("iterator"),Wu=function(t){if(!R(t))return nt(t,Vu)||nt(t,"@@iterator")||$u[hn(t)]},Yu=TypeError,Zu=function(t,e){var n=arguments.length<2?Wu(t):e;if(et(n))return Ct(p(n,t));throw new Yu(Q(t)+" is not iterable")},Hu=function(t,e,n){var r,o;Ct(t);try{if(!(r=nt(t,"return"))){if("throw"===e)throw n;return n}r=p(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Ct(r),n},Ju=TypeError,Ku=function(t,e){this.stopped=t,this.result=e},Xu=Ku.prototype,Qu=function(t,e,n){var r,o,i,a,u,c,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=Ko(e,s),y=function(t){return r&&Hu(r,"normal",t),new Ku(!0,t)},m=function(t){return l?(Ct(t),h?g(t[0],t[1],y):g(t[0],t[1])):h?g(t,y):g(t)};if(d)r=t.iterator;else if(v)r=t;else{if(!(o=Wu(t)))throw new Ju(Q(t)+" is not iterable");if(Gu(o)){for(i=0,a=Ee(t);a>i;i++)if((u=m(t[i]))&&U(Xu,u))return u;return new Ku(!1)}r=Zu(t,o)}for(c=d?t.next:r.next;!(f=p(c,r)).done;){try{u=m(f.value)}catch(t){Hu(r,"throw",t)}if("object"==typeof u&&u&&U(Xu,u))return u}return new Ku(!1)},tc=bt("iterator"),ec=!1;try{var nc=0,rc={next:function(){return{done:!!nc++}},return:function(){ec=!0}};rc[tc]=function(){return this},Array.from(rc,(function(){throw 2}))}catch(t){}var oc=function(t,e){try{if(!e&&!ec)return!1}catch(t){return!1}var n=!1;try{var r={};r[tc]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},ic=su.CONSTRUCTOR||!oc((function(t){tu.all(t).then(void 0,(function(){}))}));ze({target:"Promise",stat:!0,forced:ic},{all:function(t){var e=this,n=pu.f(e),r=n.resolve,o=n.reject,i=Qa((function(){var n=et(e.resolve),i=[],a=0,u=1;Qu(t,(function(t){var c=a++,f=!1;u++,p(n,e,t).then((function(t){f||(f=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise}});var ac=su.CONSTRUCTOR,uc=tu&&tu.prototype;if(ze({target:"Promise",proto:!0,forced:ac,real:!0},{catch:function(t){return this.then(void 0,t)}}),L(tu)){var cc=B("Promise").prototype.catch;uc.catch!==cc&&le(uc,"catch",cc,{unsafe:!0})}ze({target:"Promise",stat:!0,forced:ic},{race:function(t){var e=this,n=pu.f(e),r=n.reject,o=Qa((function(){var o=et(e.resolve);Qu(t,(function(t){p(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),ze({target:"Promise",stat:!0,forced:su.CONSTRUCTOR},{reject:function(t){var e=pu.f(this);return p(e.reject,void 0,t),e.promise}});var fc=su.CONSTRUCTOR;B("Promise"),ze({target:"Promise",stat:!0,forced:fc},{resolve:function(t){return function(t,e){if(Ct(t),D(e)&&e.constructor===t)return e;var n=pu.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var sc=Wt.EXISTS,lc=Function.prototype,dc=S(lc.toString),pc=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,vc=S(pc.exec);s&&!sc&&Kn(lc,"name",{configurable:!0,get:function(){try{return vc(pc,dc(this))[1]}catch(t){return""}}});var hc=S([].join),gc=I!==Object||!xo("join",",");ze({target:"Array",proto:!0,forced:gc},{join:function(t){return hc(_(this),void 0===t?",":t)}});var yc,mc=Wt.PROPER,wc=Oi.trim;ze({target:"String",proto:!0,forced:(yc="trim",f((function(){return!!wi[yc]()||"
"!=="
"[yc]()||mc&&wi[yc].name!==yc})))},{trim:function(){return wc(this)}});var bc,Ec=TypeError,Sc=function(t){if(Bn(t))throw new Ec("The method doesn't accept regular expressions");return t},xc=bt("match"),Oc=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[xc]=!1,"/./"[t](e)}catch(t){}}return!1},Tc=Pt.f,Ac=zr("".startsWith),jc=zr("".slice),Ic=Math.min,Rc=Oc("startsWith"),Pc=!(Rc||(bc=Tc(String.prototype,"startsWith"),!bc||bc.writable));ze({target:"String",proto:!0,forced:!Pc&&!Rc},{startsWith:function(t){var e=$n(M(this));Sc(t);var n=be(Ic(arguments.length>1?arguments[1]:void 0,e.length)),r=$n(t);return Ac?Ac(e,r,n):jc(e,n,n+r.length)===r}});var Mc=S("".indexOf);ze({target:"String",proto:!0,forced:!Oc("includes")},{includes:function(t){return!!~Mc($n(M(this)),$n(Sc(t)),arguments.length>1?arguments[1]:void 0)}});var _c=ti.find,Nc="find",Cc=!0;Nc in[]&&Array(1)[Nc]((function(){Cc=!1})),ze({target:"Array",proto:!0,forced:Cc},{find:function(t){return _c(this,t,arguments.length>1?arguments[1]:void 0)}}),on(Nc);var kc=ti.forEach,Lc=xo("forEach")?[].forEach:function(t){return kc(this,t,arguments.length>1?arguments[1]:void 0)};ze({target:"Array",proto:!0,forced:[].forEach!==Lc},{forEach:Lc});var Fc={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=jt("span").classList,Bc=Dc&&Dc.constructor&&Dc.constructor.prototype,Uc=Bc===Object.prototype?void 0:Bc,$c=function(t){if(t&&t.forEach!==Lc)try{zt(t,"forEach",Lc)}catch(e){t.forEach=Lc}};for(var zc in Fc)Fc[zc]&&$c(c[zc]&&c[zc].prototype);$c(Uc);var qc,Gc,Vc,Wc=bt("iterator"),Yc=!1;[].keys&&("next"in(Vc=[].keys())?(Gc=Go(Go(Vc)))!==Object.prototype&&(qc=Gc):Yc=!0);var Zc=!D(qc)||f((function(){var t={};return qc[Wc].call(t)!==t}));Zc&&(qc={}),L(qc[Wc])||le(qc,Wc,(function(){return this}));var Hc={IteratorPrototype:qc,BUGGY_SAFARI_ITERATORS:Yc},Jc=Hc.IteratorPrototype,Kc=function(){return this},Xc=Wt.PROPER,Qc=Wt.CONFIGURABLE,tf=Hc.IteratorPrototype,ef=Hc.BUGGY_SAFARI_ITERATORS,nf=bt("iterator"),rf="keys",of="values",af="entries",uf=function(){return this},cf=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=tn(Jc,{next:m(+!r,n)}),va(t,o,!1),$u[o]=Kc}(n,e,r);var u,c,f,s=function(t){if(t===o&&g)return g;if(!ef&&t&&t in v)return v[t];switch(t){case rf:case of:case af:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,v=t.prototype,h=v[nf]||v["@@iterator"]||o&&v[o],g=!ef&&h||s(o),y="Array"===e&&v.entries||h;if(y&&(u=Go(y.call(new t)))!==Object.prototype&&u.next&&(Go(u)!==tf&&(Ln?Ln(u,tf):L(u[nf])||le(u,nf,uf)),va(u,l,!0)),Xc&&o===of&&h&&h.name!==of&&(Qc?zt(v,"name",of):(d=!0,g=function(){return p(h,this)})),o)if(c={values:s(of),keys:i?g:s(rf),entries:s(af)},a)for(f in c)(ef||d||!(f in v))&&le(v,f,c[f]);else ze({target:e,proto:!0,forced:ef||d},c);return v[nf]!==g&&le(v,nf,g,{name:o}),$u[e]=g,c},ff=function(t,e){return{value:t,done:e}},sf=$t.f,lf="Array Iterator",df=fe.set,pf=fe.getterFor(lf),vf=cf(Array,"Array",(function(t,e){df(this,{type:lf,target:_(t),index:0,kind:e})}),(function(){var t=pf(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,ff(void 0,!0);switch(t.kind){case"keys":return ff(n,!1);case"values":return ff(e[n],!1)}return ff([n,e[n]],!1)}),"values"),hf=$u.Arguments=$u.Array;if(on("keys"),on("values"),on("entries"),s&&"values"!==hf.name)try{sf(hf,"name",{value:"values"})}catch(t){}var gf=Jr.charAt,yf="String Iterator",mf=fe.set,wf=fe.getterFor(yf);cf(String,"String",(function(t){mf(this,{type:yf,string:$n(t),index:0})}),(function(){var t,e=wf(this),n=e.string,r=e.index;return r>=n.length?ff(void 0,!0):(t=gf(n,r),e.index+=t.length,ff(t,!1))}));var bf=bt("iterator"),Ef=vf.values,Sf=function(t,e){if(t){if(t[bf]!==Ef)try{zt(t,bf,Ef)}catch(e){t[bf]=Ef}if(va(t,e,!0),Fc[e])for(var n in vf)if(t[n]!==vf[n])try{zt(t,n,vf[n])}catch(e){t[n]=vf[n]}}};for(var xf in Fc)Sf(c[xf]&&c[xf].prototype,xf);Sf(Uc,"DOMTokenList");var Of=f((function(){Go(1)}));ze({target:"Object",stat:!0,forced:Of,sham:!Uo},{getPrototypeOf:function(t){return Go(st(t))}});var Tf=TypeError,Af=Object.getOwnPropertyDescriptor,jf=s&&!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(an(t)&&!Af(t,"length").writable)throw new Tf("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},If=TypeError,Rf=function(t,e){if(!delete t[e])throw new If("Cannot delete property "+Q(e)+" of "+Q(t))},Pf=Rn("splice"),Mf=Math.max,_f=Math.min;ze({target:"Array",proto:!0,forced:!Pf},{splice:function(t,e){var n,r,o,i,a,u,c=st(this),f=Ee(c),s=me(t,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=_f(Mf(he(e),0),f-s)),cn(f+n-r),o=jn(c,r),i=0;i<r;i++)(a=s+i)in c&&fn(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)u=i+n,(a=i+r)in c?c[u]=c[a]:Rf(c,u);for(i=f;i>f-r+n;i--)Rf(c,i-1)}else if(n>r)for(i=f-r;i>s;i--)u=i+n-1,(a=i+r-1)in c?c[u]=c[a]:Rf(c,u);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return jf(c,f-r+n),o}});var Nf=function(t,e,n,r){try{return r?e(Ct(n)[0],n[1]):e(n)}catch(e){Hu(t,"throw",e)}},Cf=Array,kf=!oc((function(t){Array.from(t)}));ze({target:"Array",stat:!0,forced:kf},{from:function(t){var e=st(t),n=On(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Ko(o,r>2?arguments[2]:void 0));var a,u,c,f,s,l,d=Wu(e),v=0;if(!d||this===Cf&&Gu(d))for(a=Ee(e),u=n?new this(a):Cf(a);a>v;v++)l=i?o(e[v],v):e[v],fn(u,v,l);else for(s=(f=Zu(e,d)).next,u=n?new this:[];!(c=p(s,f)).done;v++)l=i?Nf(f,o,[c.value,v],!0):c.value,fn(u,v,l);return u.length=v,u}});var Lf=function(){return Lf=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},Lf.apply(this,arguments)};function Ff(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}function Df(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function Bf(t,e){for(var n=t.length,r=e.length,o=ts(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 u=0;i>0&&a>0&&(u=o[i-1][a-1]),o[i][a]=u+1}var c=Array.prototype.concat.apply([],o);return Math.max.apply(Math,c)}function Uf(t,e){return Bf(t,e)}function $f(t,e){for(var n=t.length,r=e.length,o=ts(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 u=0;i>0&&a>0&&(u=o[i-1][a-1]),o[i][a]=u+1}else{var c=[0,0],f=c[0],s=c[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)}function zf(t,e){return $f(t,e)}function qf(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substring(1).match(e);return null!==n?decodeURIComponent(n[2]):""}function Gf(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;return""})),n[e]||""}function Vf(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}function Wf(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]:""}function Yf(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]}),"")}function Zf(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===e[0]?e.substring(1):e}function Hf(t){return Zf(t)}function Jf(t){var e=t.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===e[0]?e.substring(1):e}function Kf(t){return Jf(t)}function Xf(t){for(var e=(t=t.replace(/^\s+/,"")).length-1,n=/\s/;n.test(t.charAt(e));)e--;return t.slice(0,e+1)}function Qf(t){if(!t)return"";var e=new RegExp("\\n","g");return t.replace(e,"<br />")}function ts(t){if("object"!==a(t))return t;var e=["string","number","boolean","undefined"];return Object.values(t).every((function(t){return e.includes(a(t))}))?Lf({},t):JSON.parse(JSON.stringify(t))}function es(t){return ts(t)}function ns(t){try{if("object"===a(JSON.parse(t)))return!0}catch(t){}return!1}function rs(t){return ns(t)}function os(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}function is(t){return void 0===t&&(t=5),os(t)}function as(t){void 0===t&&(t=3);var e=[As(),is(t||3)];return e[0]+e[1]}function us(t){return void 0===t&&(t=3),as(t)}function cs(t,e){void 0===e&&(e=0);var n="";return n=e?(100*t).toFixed(e):String(Math.floor(100*t)),"".concat(n,"%")}function fs(t,e){return void 0===e&&(e=0),parseFloat(t).toFixed(e)}function ss(t){var e=t||window.event;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ls(t,e){for(var n=t.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===e)return!0;return!1}function ds(t,e){var n,r=t.className,o="";""!==r&&(o=" "),n=r+o+e,t.className=n}function ps(t,e){var n;n=(n=(n=(n=" "+t.className+" ").replace(/(\s+)/gi," ")).replace(" "+e+" "," ")).replace(/(^\s+)|(\s+$)/g,""),t.className=n}function vs(t,e,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],u=a[0],c=a[1],f=function(){c=!1===n.leading?0:As(),i=null,u=t.apply(this,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=As();c||!1!==n.leading||(c=l);var d=e-(l-c);return r=this,o=a,d<=0||d>e?(i&&(clearTimeout(i),i=null),c=l,u=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f.bind(r),d)),u}}function hs(t,e,n){var r=null,o=null,i=null,a=null,u=null,c=function c(){var f=As()-i;f<e&&f>=0?o=setTimeout(c,e-f):(o=null,n||(u=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=As();var l=n&&!o;return o||(o=setTimeout(c,e)),l&&(u=t.apply(r,a),r=a=null),u}}var gs={type:"d"};function ys(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=gs);var r=(n=Object.assign(gs,n)).type;ms(t)||(t=new Date(t).getTime()),ms(e)||(e=new Date(e).getTime());var o=Number(e)-Number(t),i="",a=new Array(4).fill(0),u=a[0],c=(a[1],a[2],a[3]),f=decodeURIComponent("%20%E5%A4%A9%20"),s=decodeURIComponent("%20%E6%97%B6%20"),l=decodeURIComponent("%20%E5%88%86%20"),d=decodeURIComponent("%20%E7%A7%92");if(o>=0)switch(u=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),c=Math.floor(o/1e3),r){case"d":i=u;break;case"text":i=(u=Math.floor(o/1e3/60/60/24))+f+Math.floor(o/1e3/60/60%24)+s+Math.floor(o/1e3/60%60)+l+(c=Math.floor(o/1e3%60))+d;break;default:i=c}return i}function ms(t,e){void 0===e&&(e={});var n=e.isNaNAsNumber,r=void 0!==n&&n,o=e.isInfinityAsNumber,i=void 0!==o&&o,a=e.isUnFiniteAsNumber;return"number"==typeof t&&(!(!0!==i&&!0!==(void 0!==a&&a)&&!isFinite(t))&&!(!r&&isNaN(t)))}function ws(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 bs(t,e){void 0===e&&(e=null),t&&sessionStorage.setItem(t,JSON.stringify(e))}function Es(t){var e=null;if(t){var n=sessionStorage.getItem(t);n&&(e=JSON.parse(n))}return e}function Ss(t,e){void 0===e&&(e=null),t&&localStorage.setItem(t,JSON.stringify(e))}function xs(t){var e=null;if(t){var n=localStorage.getItem(t);n&&(e=JSON.parse(n))}return e}function Os(t,e){void 0===e&&(e={id:""});var n,r=e.id,o=function(){},i=new Promise((function(t,e){var r;n=(r=[t,e])[0],o=r[1]})),a=function(){n("loaded")},u=document.createElement("link");u||o(new Error("Not support create link element"));var c="onload"in u,f=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(u.rel="stylesheet",u.type="text/css",u.href=t,void 0!==r&&(u.id=r),document.getElementsByTagName("head")[0].appendChild(u),f||!c)return setTimeout((function(){l(u,a,0)}),1),i;function s(){u&&(u.onload=u.onerror=u.onreadystatechange=null),u=null,a()}function l(t,e,n){if(t){var r,o=t.sheet;if((n+=1)>3e5)return r=!0,t&&(t=null),void e();if(f)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(t){var i=t;if(!i.name)return;"NS_ERROR_DOM_SECURITY_ERR"===i.name&&(r=!0)}setTimeout((function(){r?e():l(t,e,n)}),20)}}return c?(u.onload=s,u.onerror=function(){s()}):u.onreadystatechange=function(){u&&/loaded|complete/.test(u.readyState)&&s()},i}function Ts(t,e){void 0===e&&(e={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n,r,o=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},e),i=o.id,a=o.callback,u=o.timeout,c=o.isDefer,f=document.createElement("script");f||Promise.reject("Not support create script element");var s=document.getElementsByTagName("script")[0];return f.type="text/javascript",c&&(f.defer=!0),i&&(f.id=i),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,ws(a),ws(n,"loaded"))}:f.onload=function(){ws(a),ws(n,"loaded")},f.src=t,s&&s.parentNode.insertBefore(f,s),new Promise((function(t,e){var o;n=(o=[t,e])[0],r=o[1],u&&setTimeout(r.bind(null,"timeout"),u)}))}function As(){return Date.now?Date.now():(new Date).getTime()}function js(t,e,n,r){var o,i;if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toUTCString()}else i="";var u=location.host;1===u.split(".").length?document.cookie=t+"="+e+i+"; path=/":((o=u.split(".")).shift(),r=r||"."+o.join("."),document.cookie=t+"="+e+i+"; path=/; domain="+r,null!==Is(t)&&Is(t)===e||(r=r||"."+u,document.cookie=t+"="+e+i+"; path=/; domain="+r))}function Is(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 Rs(t){for(var e=document.cookie.split(";"),n=0;n<e.length;n++){var r=e[n].trim();if(r.startsWith("".concat(t,"="))){var o=r.split("=")[0],i=new Date;return i.setTime(i.getTime()-1),document.cookie="".concat(o,"=;expires=").concat(i.toUTCString()),!0}}return!1}function Ps(t){var e=[],n=window.PerformanceObserver;return!!n&&(Js(n.supportedEntryTypes)&&(e=n.supportedEntryTypes),e.includes(t))}function Ms(){return Ff(this,void 0,void 0,(function(){return Df(this,(function(t){return Ps("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-contentful-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))}function _s(){return Ff(this,void 0,void 0,(function(){return Df(this,(function(t){return Ps("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))}function Ns(){return Ff(this,void 0,void 0,(function(){return Df(this,(function(t){return Ps("largest-contentful-paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"largest-contentful-paint"===t.entryType}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"largest-contentful-paint",buffered:!0})}))]:[2,0]}))}))}function Cs(){return Ff(this,void 0,void 0,(function(){return Df(this,(function(t){return Ps("first-input")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-input"===t.entryType}));if(r){e.disconnect();var o=r.processingStart;t(o?Math.round(r.processingStart-r.startTime):0)}}));e.observe({type:"first-input",buffered:!0})}))]:[2,0]}))}))}function ks(){return Ff(this,void 0,void 0,(function(){return Df(this,(function(t){return Ps("layout-shift")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().reduce((function(t,e){var n=0;return ms(e.value)&&(n=e.value),t+n}),0);e.disconnect(),t(r)}));e.observe({type:"layout-shift",buffered:!0})}))]:[2,0]}))}))}function Ls(){return Ff(this,void 0,void 0,(function(){var t,e;return Df(this,(function(n){return Ps("navigation")&&window.performance&&window.performance.getEntriesByType?(t=performance.getEntriesByType("navigation")[0],0,t?(e=t.responseStart-t.requestStart,[2,Math.round(e)]):[2,0]):[2,0]}))}))}function Fs(t){return void 0===t&&(t=!1),Ff(this,void 0,void 0,(function(){function e(){var e={source:C,os:n(),osVersion:r(),deviceType:o(),network:i(),screenDirection:a(),unloadTime:v-h,redirectTime:g-y,dnsTime:m-w,tcpTime:b-E,sslTime:u(b,S),responseTime:x-O,downloadTime:T-x,firstPaintTime:F,firstContentfulPaintTime:D,domReadyTime:A-k,onloadTime:j-k,whiteTime:x-k,renderTime:I-k,decodedBodySize:M,encodedBodySize:_};Object.keys(e).forEach((function(t){ms(e[t])&&(e[t]<0?e[t]=0:e[t]=Math.round(e[t]))})),ms(e.whiteTime)&&e.whiteTime>e.onloadTime&&(e.whiteTime=0);var c={};t||Object.keys(e).forEach((function(t){c[Kf(t)]=e[t]})),Object.keys(c).length?f(c):f(e)}function n(){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 r(){var t="",e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1,r=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),o=navigator.userAgent.split(";");if(o.length<2)return t;var i=o[1];return i?(n&&(t=(i.match(/\d+\.\d+/g)||[])[0]),r&&(t=(i.match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),t||(t=""),t):t}function o(){var t,e=navigator.userAgent.toLowerCase(),n=e.match(/(ipad)/i)&&"ipad",r=e.match(/iphone os/i)&&"iphone os",o=e.match(/midp/i)&&"midp",i=e.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",a=e.match(/ucweb/i)&&"ucweb",u=e.match(/android/i)&&"android",c=e.match(/windows ce/i)&&"windows ce",f=e.match(/windows mobile/i)&&"windows mobile";return(t=n||r||o||i||a||u||c||f?r||o||i||a||u||c||f?"phone":n?"ipad":void 0:"pc")||(t=""),t}function i(){var t="",e=window.navigator;if(e.connection&&e.connection.effectiveType)switch(e.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||(t=""),t}function a(){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 u(t,e){var n=0;return e&&(n=t-e),n}var c,f,s,l,d,p,v,h,g,y,m,w,b,E,S,x,O,T,A,j,I,R,P,M,_,N,C,k,L,F,D;return Df(this,(function(t){switch(t.label){case 0:if(!Ps("navigation"))return[2,Promise.reject(new Error("navigation is not supported"))];if(!(c=window.performance)||"function"!=typeof c.getEntries||"function"!=typeof c.getEntriesByType)return[2,Promise.reject(new Error("performance is not supported"))];if(s=new Promise((function(t){f=[t][0]})),l=null,Js(d=c.getEntriesByType("navigation"))&&(l=d[0]),p=new Array(19).fill(0),v=p[0],h=p[1],g=p[2],y=p[3],m=p[4],w=p[5],b=p[6],E=p[7],S=p[8],x=p[9],O=p[10],T=p[11],A=p[12],j=p[13],I=p[14],R=p[15],P=p[16],M=p[17],_=p[18],N=c.timing,C="",l)C="PerformanceNavigationTiming",M=l.decodedBodySize,_=l.encodedBodySize,v=l.unloadEventEnd,h=l.unloadEventStart,g=l.redirectEnd,y=l.redirectStart,m=l.domainLookupEnd,w=l.domainLookupStart,b=l.connectEnd,E=l.connectStart,S=l.secureConnectionStart,x=l.responseStart,O=l.requestStart,T=l.responseEnd,A=l.domContentLoadedEventStart,j=l.loadEventStart,I=l.loadEventEnd,R=l.startTime,P=l.fetchStart;else{if(!N)return[2,Promise.reject(new Error("NavigationTiming and Timing are not supported"))];C="PerformanceTiming",v=N.unloadEventEnd,h=N.unloadEventStart,g=N.redirectEnd,y=N.redirectStart,m=N.domainLookupEnd,w=N.domainLookupStart,b=N.connectEnd,E=N.connectStart,S=N.secureConnectionStart,x=N.responseStart,O=N.requestStart,T=N.responseEnd,A=N.domContentLoadedEventStart,j=N.loadEventStart,I=N.loadEventEnd,R=N.navigationStart,P=N.fetchStart}if(k=0,ms(R))k=R;else{if(!ms(P))return[2,Promise.reject(new Error("startTime, navigationStart or fetchStart are required"))];k=P}return[4,Promise.all([_s(),Ms()])];case 1:return L=t.sent(),F=L[0],D=L[1],ms(I)&&I>0?e():window.addEventListener("load",(function(){window.setTimeout((function(){e()}),0)})),[2,s]}}))}))}function Ds(t){return Math.random()<t}function Bs(){var t=Us();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)}function Us(){if(window.MAZEY_BROWSER_INFO&&"object"===a(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&&Js(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=Lf(Lf({},t),{system:o,appleType:i});var u="";"windows"===o?n(/windows nt 5.0|windows 2000/g)?u="2000":n(/windows nt 5.1|windows xp/g)?u="xp":n(/windows nt 5.2|windows 2003/g)?u="2003":n(/windows nt 6.0|windows vista/g)?u="vista":n(/windows nt 6.1|windows 7/g)?u="7":n(/windows nt 6.2|windows 8/g)?u="8":n(/windows nt 6.3|windows 8.1/g)?u="8.1":n(/windows nt 10.0|windows 10/g)&&(u="10"):"macos"===o?u=r(/os x [\d._]+/g):"android"===o?u=r(/android [\d._]+/g):"ios"===o&&(u=r(/os [\d._]+/g)),t=Lf(Lf({},t),{systemVs:u});var c="";"windows"===o||"macos"===o||"linux"===o?c="desktop":("android"===o||"ios"===o||n(/mobile/g))&&(c="mobile"),t=Lf(Lf({},t),{platform:c});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=Lf(Lf({},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=Lf(Lf({},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=Lf(Lf({},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=Lf(Lf({},t),{shell:p,shellVs:v}),window.MAZEY_BROWSER_INFO=t,t}catch(e){return console.warn("MazeyCon:",e),t}}function $s(t,e){void 0===e&&(e={});var n=e.removeNewLine,r=void 0!==n&&n,o="";return t&&(o=t.replace(/<\/?.+?>/g,""),r&&(o=o.replace(/[\r\n]/g,""))),o}function zs(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/[&<>"'/]/g,(function(t){return e[t]}))}function qs(t){var e={"&":"&","<":"<",">":">",""":'"',"'":"'","/":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/(&|<|>|"|'|/)/g,(function(t){return e[t]}))}function Gs(t,e,n){if(void 0===n&&(n=!1),""!=t&&t){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",u=t.replace(i,"**").length,c=0;c<u&&(null!=(a=t.charAt(c).toString()).match(i)?r+=2:r++,!(r>e));c++)o+=a;return n&&u>e&&(o+="..."),o}return""}function Vs(t,e,n){return void 0===n&&(n=!1),Gs(t,e,n)}function Ws(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}function Ys(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}function Zs(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,u=n.logFn,c=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=0;a<arguments.length;a++)n[a]=arguments[a];if(r)return!1;var f=t,l=t;if("string"==typeof t&&t.length>=2){var d=t.length;f=":"===t[d-1]?t.substring(0,d-1):t}o&&console.log("--- ".concat(f," - begin ---")),i&&(l=t?"".concat(s()," ").concat(t):"".concat(s())),t||i?console[e].apply(console,function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}([l],n)):console[e].apply(console,n),"log"===e&&u(),"error"===e&&c(),o&&console.log("--- ".concat(f," - end ---"))}})),f}function Hs(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}function Js(t){var e=!1;return Array.isArray(t)&&t.length&&(e=!0),e}function Ks(t,e,n){var r=!1;return"object"!==a(t)||e.reduce((function(t,e){return void 0===t[e]?Object.create(null):t=t[e]}),t)===n&&(r=!0),r}function Xs(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"}function Qs(){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="}))}function tl(t){var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n}function el(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()<10?"0"+n.getDate():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}function nl(){var t=window.MAZEY_DEFINE_LISTENERS;return"object"!==a(t)&&(t={},window.MAZEY_DEFINE_LISTENERS=t),t}function rl(t,e){var n=nl();void 0===n[t]&&(n[t]=[]),"function"==typeof e&&n[t].push(e)}function ol(t){var e=nl()[t];if(e instanceof Array)for(var n=0,r=e.length;n<r;n++)"function"==typeof e[n]&&e[n]({type:t})}function il(t,e){var n=nl(),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]}function al(t){return/^[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)$/.test(t)}function ul(t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/.test(t)}function cl(t){return/^1\d{10}$/.test(t)}function fl(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)}function sl(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}function ll(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}function dl(){var t,e=window.jQuery||window.$;return e?!(!(t=e("img"))||!t.length)&&(t.each((function(){var t=e(this);if(t){var n=t.attr("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Js(r)&&r[1]&&t.width(r[1]),o&&Js(o)&&o[1]&&t.height(o[1])}}})),!0):(t=document.getElementsByTagName("img")).length>0&&(Array.from(t).forEach((function(t){var e=t;if(e){var n=e.getAttribute("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&Js(r)&&r[1]&&(e.style.width=r[1]),o&&Js(o)&&o[1]&&(e.style.height=o[1])}}})),!0)}function pl(t,e){var n="";return e&&e.length>0&&(n=e.join(";")+";"),"".concat(t,"{").concat(n,"}")}function vl(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=function(t){n(t)},r.src=t}))}function hl(){return"v3"}function gl(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=function(t){return!0===t});var o=e.interval,i=void 0===o?1e3:o,a=e.times,u=void 0===a?10:a,c=e.context,f=e.args,s=0;"function"!=typeof t&&console.error("Expected a function."),("number"!=typeof i||i<0)&&console.error("Expected a non-negative number for interval."),("number"!=typeof u||u<0)&&console.error("Expected a non-negative number for times."),function e(){setTimeout((function(){return Ff(r,void 0,void 0,(function(){var r;return Df(this,(function(o){switch(o.label){case 0:return[4,t.apply(c,f)];case 1:return r=o.sent(),n(r)||++s>=u?[2]:(e(),[2])}}))}))}),i)}()}function yl(t,e){return window[t]?Promise.resolve("defined"):Ts(e)}function ml(t,e){void 0===e&&(e=""),e||(e=".js");for(var n=new RegExp("[?&]".concat(t,"=([^&]*)")),r=document.querySelectorAll('script[src*="'.concat(e,'"]')),o=0;o<r.length;o++){var i=r[o].getAttribute("src");if(i&&-1!==i.indexOf(e)){var a=i.match(n);if(a)return decodeURIComponent(a[1])}}return""}function wl(t){return Ff(this,void 0,void 0,(function(){return Df(this,(function(e){return[2,new Promise((function(e){setTimeout((function(){e(t)}),t)}))]}))}))}function bl(t){return Ff(this,void 0,void 0,(function(){return Df(this,(function(e){return[2,wl(t)]}))}))}export{ds as addClass,rl as addEvent,Ys as addStyle,zf as calLongestCommonSubsequence,Uf as calLongestCommonSubstring,Kf as camelCase2Underscore,Hf as camelCaseToKebabCase,ss as cancelBubble,$s as clearHtml,sl as convert10To26,Zf as convertCamelToKebab,Jf as convertCamelToUnder,Vs as cutCHSString,hs as debounce,ts as deepCopy,es as deepCopyObject,Rs as delCookie,ws as doFn,fs as floatFixed,cs as floatToPercent,el as formatDate,Zs as genCustomConsole,tl as genHashCode,os as genRndNumString,pl as genStyleString,as as genUniqueNumString,is as generateRndNum,us as generateUniqueNum,Us as getBrowserInfo,ks as getCLS,Is as getCookie,hl as getCurrentVersion,nl as getDefineListeners,Yf as getDomain,Ms as getFCP,Cs as getFID,_s as getFP,Xs as getFileSize,ys as getFriendlyInterval,Wf as getHashQueryParam,Ns as getLCP,xs as getLocalStorage,Fs as getPerformance,qf as getQueryParam,ml as getScriptQueryParam,Es as getSessionStorage,Ls as getTTFB,ll as getUrlFileType,Gf as getUrlParam,ls as hasClass,Ds as inRate,ol as invokeEvent,ns as isJSONString,rs as isJsonString,Js as isNonEmptyArray,ms as isNumber,Bs as isSafePWAEnv,Qs as isSupportWebp,Ks as isValidData,fl as isValidEmail,ul as isValidHttpUrl,cl as isValidPhoneNumber,al as isValidUrl,Os as loadCSS,vl as loadImage,Ts as loadScript,yl as loadScriptIfUndefined,$f as longestComSubsequence,Bf as longestComSubstring,As as mNow,Xf as mTrim,Qf as newLine,ps as removeClass,il as removeEvent,gl as repeatUntilConditionMet,zs as sanitizeInput,js as setCookie,dl as setImgWidHeiBySrc,Ss as setLocalStorage,bs as setSessionStorage,bl as sleep,vs as throttle,Gs as truncateZHString,qs as unsanitize,Vf as updateQueryParam,wl as waitTime,Ws as windowLoaded,Hs as zAxiosIsValidRes};
|
|
6
|
+
var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,e){return t(e={exports:{}},e.exports),e.exports}var n,r,o,i=e((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})),a=(n=i)&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,u=function(t){return t&&t.Math===Math&&t},c=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof t&&t)||u("object"==typeof t&&t)||function(){return this}()||Function("return this")(),f=function(t){try{return!!t()}catch(t){return!0}},s=!f((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!f((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),d=Function.prototype.call,p=l?d.bind(d):function(){return d.apply(d,arguments)},v={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,g=h&&!v.call({1:2},1)?function(t){var e=h(this,t);return!!e&&e.enumerable}:v,y={f:g},m=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},w=Function.prototype,b=w.call,E=l&&w.bind.bind(b,b),S=l?E:function(t){return function(){return b.apply(t,arguments)}},x=S({}.toString),O=S("".slice),T=function(t){return O(x(t),8,-1)},A=Object,j=S("".split),R=f((function(){return!A("z").propertyIsEnumerable(0)}))?function(t){return"String"===T(t)?j(t,""):A(t)}:A,I=function(t){return null==t},P=TypeError,M=function(t){if(I(t))throw new P("Can't call method on "+t);return t},_=function(t){return R(M(t))},N="object"==typeof document&&document.all,C=void 0===N&&void 0!==N?function(t){return"function"==typeof t||t===N}:function(t){return"function"==typeof t},k=function(t){return"object"==typeof t?null!==t:C(t)},L=function(t,e){return arguments.length<2?(n=c[t],C(n)?n:void 0):c[t]&&c[t][e];var n},F=S({}.isPrototypeOf),D="undefined"!=typeof navigator&&String(navigator.userAgent)||"",B=c.process,U=c.Deno,$=B&&B.versions||U&&U.version,z=$&&$.v8;z&&(o=(r=z.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&D&&(!(r=D.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=D.match(/Chrome\/(\d+)/))&&(o=+r[1]);var q=o,G=c.String,V=!!Object.getOwnPropertySymbols&&!f((function(){var t=Symbol("symbol detection");return!G(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&q&&q<41})),W=V&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Y=Object,Z=W?function(t){return"symbol"==typeof t}:function(t){var e=L("Symbol");return C(e)&&F(e.prototype,Y(t))},H=String,J=function(t){try{return H(t)}catch(t){return"Object"}},K=TypeError,X=function(t){if(C(t))return t;throw new K(J(t)+" is not a function")},Q=function(t,e){var n=t[e];return I(n)?void 0:X(n)},tt=TypeError,et=Object.defineProperty,nt=function(t,e){try{et(c,t,{value:e,configurable:!0,writable:!0})}catch(n){c[t]=e}return e},rt="__core-js_shared__",ot=c[rt]||nt(rt,{}),it=e((function(t){(t.exports=function(t,e){return ot[t]||(ot[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),at=Object,ut=function(t){return at(M(t))},ct=S({}.hasOwnProperty),ft=Object.hasOwn||function(t,e){return ct(ut(t),e)},st=0,lt=Math.random(),dt=S(1..toString),pt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+dt(++st+lt,36)},vt=c.Symbol,ht=it("wks"),gt=W?vt.for||vt:vt&&vt.withoutSetter||pt,yt=function(t){return ft(ht,t)||(ht[t]=V&&ft(vt,t)?vt[t]:gt("Symbol."+t)),ht[t]},mt=TypeError,wt=yt("toPrimitive"),bt=function(t,e){if(!k(t)||Z(t))return t;var n,r=Q(t,wt);if(r){if(void 0===e&&(e="default"),n=p(r,t,e),!k(n)||Z(n))return n;throw new mt("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&C(n=t.toString)&&!k(r=p(n,t)))return r;if(C(n=t.valueOf)&&!k(r=p(n,t)))return r;if("string"!==e&&C(n=t.toString)&&!k(r=p(n,t)))return r;throw new tt("Can't convert object to primitive value")}(t,e)},Et=function(t){var e=bt(t,"string");return Z(e)?e:e+""},St=c.document,xt=k(St)&&k(St.createElement),Ot=function(t){return xt?St.createElement(t):{}},Tt=!s&&!f((function(){return 7!==Object.defineProperty(Ot("div"),"a",{get:function(){return 7}}).a})),At=Object.getOwnPropertyDescriptor,jt={f:s?At:function(t,e){if(t=_(t),e=Et(e),Tt)try{return At(t,e)}catch(t){}if(ft(t,e))return m(!p(y.f,t,e),t[e])}},Rt=s&&f((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),It=String,Pt=TypeError,Mt=function(t){if(k(t))return t;throw new Pt(It(t)+" is not an object")},_t=TypeError,Nt=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,kt="enumerable",Lt="configurable",Ft="writable",Dt={f:s?Rt?function(t,e,n){if(Mt(t),e=Et(e),Mt(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ft in n&&!n[Ft]){var r=Ct(t,e);r&&r[Ft]&&(t[e]=n.value,n={configurable:Lt in n?n[Lt]:r[Lt],enumerable:kt in n?n[kt]:r[kt],writable:!1})}return Nt(t,e,n)}:Nt:function(t,e,n){if(Mt(t),e=Et(e),Mt(n),Tt)try{return Nt(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new _t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Bt=s?function(t,e,n){return Dt.f(t,e,m(1,n))}:function(t,e,n){return t[e]=n,t},Ut=Function.prototype,$t=s&&Object.getOwnPropertyDescriptor,zt=ft(Ut,"name"),qt={EXISTS:zt,PROPER:zt&&"something"===function(){}.name,CONFIGURABLE:zt&&(!s||s&&$t(Ut,"name").configurable)},Gt=S(Function.toString);C(ot.inspectSource)||(ot.inspectSource=function(t){return Gt(t)});var Vt,Wt,Yt,Zt=ot.inspectSource,Ht=c.WeakMap,Jt=C(Ht)&&/native code/.test(String(Ht)),Kt=it("keys"),Xt=function(t){return Kt[t]||(Kt[t]=pt(t))},Qt={},te="Object already initialized",ee=c.TypeError,ne=c.WeakMap;if(Jt||ot.state){var re=ot.state||(ot.state=new ne);re.get=re.get,re.has=re.has,re.set=re.set,Vt=function(t,e){if(re.has(t))throw new ee(te);return e.facade=t,re.set(t,e),e},Wt=function(t){return re.get(t)||{}},Yt=function(t){return re.has(t)}}else{var oe=Xt("state");Qt[oe]=!0,Vt=function(t,e){if(ft(t,oe))throw new ee(te);return e.facade=t,Bt(t,oe,e),e},Wt=function(t){return ft(t,oe)?t[oe]:{}},Yt=function(t){return ft(t,oe)}}var ie={set:Vt,get:Wt,has:Yt,enforce:function(t){return Yt(t)?Wt(t):Vt(t,{})},getterFor:function(t){return function(e){var n;if(!k(e)||(n=Wt(e)).type!==t)throw new ee("Incompatible receiver, "+t+" required");return n}}},ae=e((function(t){var e=qt.CONFIGURABLE,n=ie.enforce,r=ie.get,o=String,i=Object.defineProperty,a=S("".slice),u=S("".replace),c=S([].join),l=s&&!f((function(){return 8!==i((function(){}),"length",{value:8}).length})),d=String(String).split("String"),p=t.exports=function(t,r,f){"Symbol("===a(o(r),0,7)&&(r="["+u(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!ft(t,"name")||e&&t.name!==r)&&(s?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&f&&ft(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&ft(f,"constructor")&&f.constructor?s&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var p=n(t);return ft(p,"source")||(p.source=c(d,"string"==typeof r?r:"")),t};Function.prototype.toString=p((function(){return C(this)&&r(this).source||Zt(this)}),"toString")})),ue=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(C(n)&&ae(n,i,r),r.global)o?t[e]=n:nt(e,n);else{try{r.unsafe?t[e]&&(o=!0):delete t[e]}catch(t){}o?t[e]=n:Dt.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},ce=Math.ceil,fe=Math.floor,se=Math.trunc||function(t){var e=+t;return(e>0?fe:ce)(e)},le=function(t){var e=+t;return e!=e||0===e?0:se(e)},de=Math.max,pe=Math.min,ve=function(t,e){var n=le(t);return n<0?de(n+e,0):pe(n,e)},he=Math.min,ge=function(t){var e=le(t);return e>0?he(e,9007199254740991):0},ye=function(t){return ge(t.length)},me=function(t){return function(e,n,r){var o,i=_(e),a=ye(i),u=ve(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},we={includes:me(!0),indexOf:me(!1)},be=we.indexOf,Ee=S([].push),Se=function(t,e){var n,r=_(t),o=0,i=[];for(n in r)!ft(Qt,n)&&ft(r,n)&&Ee(i,n);for(;e.length>o;)ft(r,n=e[o++])&&(~be(i,n)||Ee(i,n));return i},xe=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Oe=xe.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(t){return Se(t,Oe)}},Ae={f:Object.getOwnPropertySymbols},je=S([].concat),Re=L("Reflect","ownKeys")||function(t){var e=Te.f(Mt(t)),n=Ae.f;return n?je(e,n(t)):e},Ie=function(t,e,n){for(var r=Re(e),o=Dt.f,i=jt.f,a=0;a<r.length;a++){var u=r[a];ft(t,u)||n&&ft(n,u)||o(t,u,i(e,u))}},Pe=/#|\.prototype\./,Me=function(t,e){var n=Ne[_e(t)];return n===ke||n!==Ce&&(C(e)?f(e):!!e)},_e=Me.normalize=function(t){return String(t).replace(Pe,".").toLowerCase()},Ne=Me.data={},Ce=Me.NATIVE="N",ke=Me.POLYFILL="P",Le=Me,Fe=jt.f,De=function(t,e){var n,r,o,i,a,u=t.target,f=t.global,s=t.stat;if(n=f?c:s?c[u]||nt(u,{}):c[u]&&c[u].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=Fe(n,r))&&a.value:n[r],!Le(f?r:u+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ie(i,o)}(t.sham||o&&o.sham)&&Bt(i,"sham",!0),ue(n,r,i,t)}},Be=Array.isArray||function(t){return"Array"===T(t)},Ue=TypeError,$e=function(t){if(t>9007199254740991)throw Ue("Maximum allowed index exceeded");return t},ze=function(t,e,n){var r=Et(e);r in t?Dt.f(t,r,m(0,n)):t[r]=n},qe={};qe[yt("toStringTag")]="z";var Ge="[object z]"===String(qe),Ve=yt("toStringTag"),We=Object,Ye="Arguments"===T(function(){return arguments}()),Ze=Ge?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=We(t),Ve))?n:Ye?T(e):"Object"===(r=T(e))&&C(e.callee)?"Arguments":r},He=function(){},Je=L("Reflect","construct"),Ke=/^\s*(?:class|function)\b/,Xe=S(Ke.exec),Qe=!Ke.test(He),tn=function(t){if(!C(t))return!1;try{return Je(He,[],t),!0}catch(t){return!1}},en=function(t){if(!C(t))return!1;switch(Ze(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qe||!!Xe(Ke,Zt(t))}catch(t){return!0}};en.sham=!0;var nn=!Je||f((function(){var t;return tn(tn.call)||!tn(Object)||!tn((function(){t=!0}))||t}))?en:tn,rn=yt("species"),on=Array,an=function(t,e){return new(function(t){var e;return Be(t)&&(e=t.constructor,(nn(e)&&(e===on||Be(e.prototype))||k(e)&&null===(e=e[rn]))&&(e=void 0)),void 0===e?on:e}(t))(0===e?0:e)},un=yt("species"),cn=function(t){return q>=51||!f((function(){var e=[];return(e.constructor={})[un]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},fn=yt("isConcatSpreadable"),sn=q>=51||!f((function(){var t=[];return t[fn]=!1,t.concat()[0]!==t})),ln=function(t){if(!k(t))return!1;var e=t[fn];return void 0!==e?!!e:Be(t)},dn=!sn||!cn("concat");De({target:"Array",proto:!0,arity:1,forced:dn},{concat:function(t){var e,n,r,o,i,a=ut(this),u=an(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(ln(i=-1===e?a:arguments[e]))for(o=ye(i),$e(c+o),n=0;n<o;n++,c++)n in i&&ze(u,c,i[n]);else $e(c+1),ze(u,c++,i);return u.length=c,u}});var pn=function(t){if("Function"===T(t))return S(t)},vn=pn(pn.bind),hn=function(t,e){return X(t),void 0===e?t:l?vn(t,e):function(){return t.apply(e,arguments)}},gn=S([].push),yn=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,a=7===t,u=5===t||i;return function(c,f,s,l){for(var d,p,v=ut(c),h=R(v),g=ye(h),y=hn(f,s),m=0,w=l||an,b=e?w(c,g):n||a?w(c,0):void 0;g>m;m++)if((u||m in h)&&(p=y(d=h[m],m,v),t))if(e)b[m]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return m;case 2:gn(b,d)}else switch(t){case 4:return!1;case 7:gn(b,d)}return i?-1:r||o?o:b}},mn={forEach:yn(0),map:yn(1),filter:yn(2),some:yn(3),every:yn(4),find:yn(5),findIndex:yn(6),filterReject:yn(7)},wn=function(t,e){var n=[][t];return!!n&&f((function(){n.call(null,e||function(){return 1},1)}))},bn=mn.every,En=wn("every");De({target:"Array",proto:!0,forced:!En},{every:function(t){return bn(this,t,arguments.length>1?arguments[1]:void 0)}});var Sn,xn=Object.keys||function(t){return Se(t,xe)},On=s&&!Rt?Object.defineProperties:function(t,e){Mt(t);for(var n,r=_(e),o=xn(e),i=o.length,a=0;i>a;)Dt.f(t,n=o[a++],r[n]);return t},Tn={f:On},An=L("document","documentElement"),jn="prototype",Rn="script",In=Xt("IE_PROTO"),Pn=function(){},Mn=function(t){return"<"+Rn+">"+t+"</"+Rn+">"},_n=function(t){t.write(Mn("")),t.close();var e=t.parentWindow.Object;return t=null,e},Nn=function(){try{Sn=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;Nn="undefined"!=typeof document?document.domain&&Sn?_n(Sn):(e=Ot("iframe"),n="java"+Rn+":",e.style.display="none",An.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Mn("document.F=Object")),t.close(),t.F):_n(Sn);for(var r=xe.length;r--;)delete Nn[jn][xe[r]];return Nn()};Qt[In]=!0;var Cn=Object.create||function(t,e){var n;return null!==t?(Pn[jn]=Mt(t),n=new Pn,Pn[jn]=null,n[In]=t):n=Nn(),void 0===e?n:Tn.f(n,e)},kn=Dt.f,Ln=yt("unscopables"),Fn=Array.prototype;void 0===Fn[Ln]&&kn(Fn,Ln,{configurable:!0,value:Cn(null)});var Dn=function(t){Fn[Ln][t]=!0};De({target:"Array",proto:!0},{fill:function(t){for(var e=ut(this),n=ye(e),r=arguments.length,o=ve(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:ve(i,n);a>o;)e[o++]=t;return e}}),Dn("fill");var Bn=mn.find,Un="find",$n=!0;Un in[]&&Array(1)[Un]((function(){$n=!1})),De({target:"Array",proto:!0,forced:$n},{find:function(t){return Bn(this,t,arguments.length>1?arguments[1]:void 0)}}),Dn(Un);var zn=mn.forEach,qn=wn("forEach")?[].forEach:function(t){return zn(this,t,arguments.length>1?arguments[1]:void 0)};De({target:"Array",proto:!0,forced:[].forEach!==qn},{forEach:qn});var Gn=function(t,e,n){var r,o;Mt(t);try{if(!(r=Q(t,"return"))){if("throw"===e)throw n;return n}r=p(r,t)}catch(t){o=!0,r=t}if("throw"===e)throw n;if(o)throw r;return Mt(r),n},Vn=function(t,e,n,r){try{return r?e(Mt(n)[0],n[1]):e(n)}catch(e){Gn(t,"throw",e)}},Wn={},Yn=yt("iterator"),Zn=Array.prototype,Hn=function(t){return void 0!==t&&(Wn.Array===t||Zn[Yn]===t)},Jn=yt("iterator"),Kn=function(t){if(!I(t))return Q(t,Jn)||Q(t,"@@iterator")||Wn[Ze(t)]},Xn=TypeError,Qn=function(t,e){var n=arguments.length<2?Kn(t):e;if(X(n))return Mt(p(n,t));throw new Xn(J(t)+" is not iterable")},tr=Array,er=yt("iterator"),nr=!1;try{var rr=0,or={next:function(){return{done:!!rr++}},return:function(){nr=!0}};or[er]=function(){return this},Array.from(or,(function(){throw 2}))}catch(t){}var ir=function(t,e){try{if(!e&&!nr)return!1}catch(t){return!1}var n=!1;try{var r={};r[er]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},ar=!ir((function(t){Array.from(t)}));De({target:"Array",stat:!0,forced:ar},{from:function(t){var e=ut(t),n=nn(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=hn(o,r>2?arguments[2]:void 0));var a,u,c,f,s,l,d=Kn(e),v=0;if(!d||this===tr&&Hn(d))for(a=ye(e),u=n?new this(a):tr(a);a>v;v++)l=i?o(e[v],v):e[v],ze(u,v,l);else for(s=(f=Qn(e,d)).next,u=n?new this:[];!(c=p(s,f)).done;v++)l=i?Vn(f,o,[c.value,v],!0):c.value,ze(u,v,l);return u.length=v,u}});var ur=we.includes,cr=f((function(){return!Array(1).includes()}));De({target:"Array",proto:!0,forced:cr},{includes:function(t){return ur(this,t,arguments.length>1?arguments[1]:void 0)}}),Dn("includes");var fr=we.indexOf,sr=pn([].indexOf),lr=!!sr&&1/sr([1],1,-0)<0,dr=lr||!wn("indexOf");De({target:"Array",proto:!0,forced:dr},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return lr?sr(this,t,e)||0:fr(this,t,e)}});var pr,vr,hr,gr=!f((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yr=Xt("IE_PROTO"),mr=Object,wr=mr.prototype,br=gr?mr.getPrototypeOf:function(t){var e=ut(t);if(ft(e,yr))return e[yr];var n=e.constructor;return C(n)&&e instanceof n?n.prototype:e instanceof mr?wr:null},Er=yt("iterator"),Sr=!1;[].keys&&("next"in(hr=[].keys())?(vr=br(br(hr)))!==Object.prototype&&(pr=vr):Sr=!0);var xr=!k(pr)||f((function(){var t={};return pr[Er].call(t)!==t}));xr&&(pr={}),C(pr[Er])||ue(pr,Er,(function(){return this}));var Or={IteratorPrototype:pr,BUGGY_SAFARI_ITERATORS:Sr},Tr=Dt.f,Ar=yt("toStringTag"),jr=function(t,e,n){t&&!n&&(t=t.prototype),t&&!ft(t,Ar)&&Tr(t,Ar,{configurable:!0,value:e})},Rr=Or.IteratorPrototype,Ir=function(){return this},Pr=String,Mr=TypeError,_r=function(t){if(function(t){return k(t)||null===t}(t))return t;throw new Mr("Can't set "+Pr(t)+" as a prototype")},Nr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return S(X(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return Mt(n),_r(r),e?t(n,r):n.__proto__=r,n}}():void 0),Cr=qt.PROPER,kr=qt.CONFIGURABLE,Lr=Or.IteratorPrototype,Fr=Or.BUGGY_SAFARI_ITERATORS,Dr=yt("iterator"),Br="keys",Ur="values",$r="entries",zr=function(){return this},qr=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Cn(Rr,{next:m(+!r,n)}),jr(t,o,!1),Wn[o]=Ir}(n,e,r);var u,c,f,s=function(t){if(t===o&&g)return g;if(!Fr&&t&&t in v)return v[t];switch(t){case Br:case Ur:case $r:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,v=t.prototype,h=v[Dr]||v["@@iterator"]||o&&v[o],g=!Fr&&h||s(o),y="Array"===e&&v.entries||h;if(y&&(u=br(y.call(new t)))!==Object.prototype&&u.next&&(br(u)!==Lr&&(Nr?Nr(u,Lr):C(u[Dr])||ue(u,Dr,zr)),jr(u,l,!0)),Cr&&o===Ur&&h&&h.name!==Ur&&(kr?Bt(v,"name",Ur):(d=!0,g=function(){return p(h,this)})),o)if(c={values:s(Ur),keys:i?g:s(Br),entries:s($r)},a)for(f in c)(Fr||d||!(f in v))&&ue(v,f,c[f]);else De({target:e,proto:!0,forced:Fr||d},c);return v[Dr]!==g&&ue(v,Dr,g,{name:o}),Wn[e]=g,c},Gr=function(t,e){return{value:t,done:e}},Vr=Dt.f,Wr="Array Iterator",Yr=ie.set,Zr=ie.getterFor(Wr),Hr=qr(Array,"Array",(function(t,e){Yr(this,{type:Wr,target:_(t),index:0,kind:e})}),(function(){var t=Zr(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,Gr(void 0,!0);switch(t.kind){case"keys":return Gr(n,!1);case"values":return Gr(e[n],!1)}return Gr([n,e[n]],!1)}),"values"),Jr=Wn.Arguments=Wn.Array;if(Dn("keys"),Dn("values"),Dn("entries"),s&&"values"!==Jr.name)try{Vr(Jr,"name",{value:"values"})}catch(t){}var Kr=S([].join),Xr=R!==Object||!wn("join",",");De({target:"Array",proto:!0,forced:Xr},{join:function(t){return Kr(_(this),void 0===t?",":t)}});var Qr=TypeError,to=function(t){return function(e,n,r,o){var i=ut(e),a=R(i),u=ye(i);X(n);var c=t?u-1:0,f=t?-1:1;if(r<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw new Qr("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=n(o,a[c],c,i));return o}},eo={left:to(!1),right:to(!0)},no="process"===T(c.process),ro=eo.left,oo=!no&&q>79&&q<83||!wn("reduce");De({target:"Array",proto:!0,forced:oo},{reduce:function(t){var e=arguments.length;return ro(this,t,e,e>1?arguments[1]:void 0)}});var io=S([].slice),ao=cn("slice"),uo=yt("species"),co=Array,fo=Math.max;De({target:"Array",proto:!0,forced:!ao},{slice:function(t,e){var n,r,o,i=_(this),a=ye(i),u=ve(t,a),c=ve(void 0===e?a:e,a);if(Be(i)&&(n=i.constructor,(nn(n)&&(n===co||Be(n.prototype))||k(n)&&null===(n=n[uo]))&&(n=void 0),n===co||void 0===n))return io(i,u,c);for(r=new(void 0===n?co:n)(fo(c-u,0)),o=0;u<c;u++,o++)u in i&&ze(r,o,i[u]);return r.length=o,r}});var so=TypeError,lo=Object.getOwnPropertyDescriptor,po=s&&!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(Be(t)&&!lo(t,"length").writable)throw new so("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},vo=TypeError,ho=function(t,e){if(!delete t[e])throw new vo("Cannot delete property "+J(e)+" of "+J(t))},go=cn("splice"),yo=Math.max,mo=Math.min;De({target:"Array",proto:!0,forced:!go},{splice:function(t,e){var n,r,o,i,a,u,c=ut(this),f=ye(c),s=ve(t,f),l=arguments.length;for(0===l?n=r=0:1===l?(n=0,r=f-s):(n=l-2,r=mo(yo(le(e),0),f-s)),$e(f+n-r),o=an(c,r),i=0;i<r;i++)(a=s+i)in c&&ze(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<f-r;i++)u=i+n,(a=i+r)in c?c[u]=c[a]:ho(c,u);for(i=f;i>f-r+n;i--)ho(c,i-1)}else if(n>r)for(i=f-r;i>s;i--)u=i+n-1,(a=i+r-1)in c?c[u]=c[a]:ho(c,u);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return po(c,f-r+n),o}});var wo=function(t,e,n){return n.get&&ae(n.get,e,{getter:!0}),n.set&&ae(n.set,e,{setter:!0}),Dt.f(t,e,n)},bo=qt.EXISTS,Eo=Function.prototype,So=S(Eo.toString),xo=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Oo=S(xo.exec);s&&!bo&&wo(Eo,"name",{configurable:!0,get:function(){try{return Oo(xo,So(this))[1]}catch(t){return""}}});var To=c,Ao=function(t,e,n){var r,o;return Nr&&C(r=e.constructor)&&r!==n&&k(o=r.prototype)&&o!==n.prototype&&Nr(t,o),t},jo=S(1..valueOf),Ro=String,Io=function(t){if("Symbol"===Ze(t))throw new TypeError("Cannot convert a Symbol value to a string");return Ro(t)},Po="\t\n\v\f\r \u2028\u2029\ufeff",Mo=S("".replace),_o=RegExp("^["+Po+"]+"),No=RegExp("(^|[^"+Po+"])["+Po+"]+$"),Co=function(t){return function(e){var n=Io(M(e));return 1&t&&(n=Mo(n,_o,"")),2&t&&(n=Mo(n,No,"$1")),n}},ko={start:Co(1),end:Co(2),trim:Co(3)},Lo=Te.f,Fo=jt.f,Do=Dt.f,Bo=ko.trim,Uo="Number",$o=c[Uo];To[Uo];var zo=$o.prototype,qo=c.TypeError,Go=S("".slice),Vo=S("".charCodeAt),Wo=function(t){var e,n,r,o,i,a,u,c,f=bt(t,"number");if(Z(f))throw new qo("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=Bo(f),43===(e=Vo(f,0))||45===e){if(88===(n=Vo(f,2))||120===n)return NaN}else if(48===e){switch(Vo(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=Go(f,2)).length,u=0;u<a;u++)if((c=Vo(i,u))<48||c>o)return NaN;return parseInt(i,r)}return+f},Yo=Le(Uo,!$o(" 0o1")||!$o("0b1")||$o("+0x1")),Zo=function(t){var e,n=arguments.length<1?0:$o(function(t){var e=bt(t,"number");return"bigint"==typeof e?e:Wo(e)}(t));return F(zo,e=this)&&f((function(){jo(e)}))?Ao(Object(n),this,Zo):n};Zo.prototype=zo,Yo&&(zo.constructor=Zo),De({global:!0,constructor:!0,wrap:!0,forced:Yo},{Number:Zo});Yo&&function(t,e){for(var n,r=s?Lo(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++)ft(e,n=r[o])&&!ft(t,n)&&Do(t,n,Fo(e,n))}(To[Uo],$o);var Ho=RangeError,Jo=RangeError,Ko=String,Xo=Math.floor,Qo=S((function(t){var e=Io(M(this)),n="",r=le(t);if(r<0||r===1/0)throw new Ho("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),ti=S("".slice),ei=S(1..toFixed),ni=function(t,e,n){return 0===e?n:e%2==1?ni(t,e-1,n*t):ni(t*t,e/2,n)},ri=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=Xo(o/1e7)},oi=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=Xo(r/e),r=r%e*1e7},ii=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=Ko(t[e]);n=""===n?r:n+Qo("0",7-r.length)+r}return n},ai=f((function(){return"0.000"!==ei(8e-5,3)||"1"!==ei(.9,0)||"1.25"!==ei(1.255,2)||"1000000000000000128"!==ei(0xde0b6b3a7640080,0)}))||!f((function(){ei({})}));De({target:"Number",proto:!0,forced:ai},{toFixed:function(t){var e,n,r,o,i=jo(this),a=le(t),u=[0,0,0,0,0,0],c="",f="0";if(a<0||a>20)throw new Jo("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return Ko(i);if(i<0&&(c="-",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*ni(2,69,1))-69,n=e<0?i*ni(2,-e,1):i/ni(2,e,1),n*=4503599627370496,(e=52-e)>0){for(ri(u,0,n),r=a;r>=7;)ri(u,1e7,0),r-=7;for(ri(u,ni(10,r,1),0),r=e-1;r>=23;)oi(u,1<<23),r-=23;oi(u,1<<r),ri(u,1,1),oi(u,2),f=ii(u)}else ri(u,0,n),ri(u,1<<-e,0),f=ii(u)+Qo("0",a);return f=a>0?c+((o=f.length)<=a?"0."+Qo("0",a-o)+f:ti(f,0,o-a)+"."+ti(f,o-a)):c+f}});var ui=Object.assign,ci=Object.defineProperty,fi=S([].concat),si=!ui||f((function(){if(s&&1!==ui({b:1},ui(ci({},"a",{enumerable:!0,get:function(){ci(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!==ui({},t)[n]||xn(ui({},e)).join("")!==r}))?function(t,e){for(var n=ut(t),r=arguments.length,o=1,i=Ae.f,a=y.f;r>o;)for(var u,c=R(arguments[o++]),f=i?fi(xn(c),i(c)):xn(c),l=f.length,d=0;l>d;)u=f[d++],s&&!p(a,c,u)||(n[u]=c[u]);return n}:ui;De({target:"Object",stat:!0,arity:2,forced:Object.assign!==si},{assign:si});var li=f((function(){br(1)}));De({target:"Object",stat:!0,forced:li,sham:!gr},{getPrototypeOf:function(t){return br(ut(t))}});var di=f((function(){xn(1)}));De({target:"Object",stat:!0,forced:di},{keys:function(t){return xn(ut(t))}});var pi=Ge?{}.toString:function(){return"[object "+Ze(this)+"]"};Ge||ue(Object.prototype,"toString",pi,{unsafe:!0});var vi=S(y.f),hi=S([].push),gi=s&&f((function(){var t=Object.create(null);return t[2]=2,!vi(t,2)})),yi=function(t){return function(e){for(var n,r=_(e),o=xn(r),i=gi&&null===br(r),a=o.length,u=0,c=[];a>u;)n=o[u++],s&&!(i?n in r:vi(r,n))||hi(c,t?[n,r[n]]:r[n]);return c}},mi={entries:yi(!0),values:yi(!1)}.values;De({target:"Object",stat:!0},{values:function(t){return mi(t)}});var wi=ko.trim,bi=S("".charAt),Ei=c.parseFloat,Si=c.Symbol,xi=Si&&Si.iterator,Oi=1/Ei(Po+"-0")!=-1/0||xi&&!f((function(){Ei(Object(xi))}))?function(t){var e=wi(Io(t)),n=Ei(e);return 0===n&&"-"===bi(e,0)?-0:n}:Ei;De({global:!0,forced:parseFloat!==Oi},{parseFloat:Oi});var Ti,Ai,ji,Ri,Ii=yt("species"),Pi=function(t){var e=L(t);s&&e&&!e[Ii]&&wo(e,Ii,{configurable:!0,get:function(){return this}})},Mi=TypeError,_i=TypeError,Ni=yt("species"),Ci=function(t,e){var n,r=Mt(t).constructor;return void 0===r||I(n=Mt(r)[Ni])?e:function(t){if(nn(t))return t;throw new _i(J(t)+" is not a constructor")}(n)},ki=Function.prototype,Li=ki.apply,Fi=ki.call,Di="object"==typeof Reflect&&Reflect.apply||(l?Fi.bind(Li):function(){return Fi.apply(Li,arguments)}),Bi=TypeError,Ui=/(?:ipad|iphone|ipod).*applewebkit/i.test(D),$i=c.setImmediate,zi=c.clearImmediate,qi=c.process,Gi=c.Dispatch,Vi=c.Function,Wi=c.MessageChannel,Yi=c.String,Zi=0,Hi={},Ji="onreadystatechange";f((function(){Ti=c.location}));var Ki=function(t){if(ft(Hi,t)){var e=Hi[t];delete Hi[t],e()}},Xi=function(t){return function(){Ki(t)}},Qi=function(t){Ki(t.data)},ta=function(t){c.postMessage(Yi(t),Ti.protocol+"//"+Ti.host)};$i&&zi||($i=function(t){!function(t,e){if(t<e)throw new Bi("Not enough arguments")}(arguments.length,1);var e=C(t)?t:Vi(t),n=io(arguments,1);return Hi[++Zi]=function(){Di(e,void 0,n)},Ai(Zi),Zi},zi=function(t){delete Hi[t]},no?Ai=function(t){qi.nextTick(Xi(t))}:Gi&&Gi.now?Ai=function(t){Gi.now(Xi(t))}:Wi&&!Ui?(Ri=(ji=new Wi).port2,ji.port1.onmessage=Qi,Ai=hn(Ri.postMessage,Ri)):c.addEventListener&&C(c.postMessage)&&!c.importScripts&&Ti&&"file:"!==Ti.protocol&&!f(ta)?(Ai=ta,c.addEventListener("message",Qi,!1)):Ai=Ji in Ot("script")?function(t){An.appendChild(Ot("script"))[Ji]=function(){An.removeChild(this),Ki(t)}}:function(t){setTimeout(Xi(t),0)});var ea={set:$i,clear:zi},na=Object.getOwnPropertyDescriptor,ra=function(){this.head=null,this.tail=null};ra.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 oa,ia,aa,ua,ca,fa=ra,sa=/ipad|iphone|ipod/i.test(D)&&"undefined"!=typeof Pebble,la=/web0s(?!.*chrome)/i.test(D),da=ea.set,pa=c.MutationObserver||c.WebKitMutationObserver,va=c.document,ha=c.process,ga=c.Promise,ya=function(t){if(!s)return c[t];var e=na(c,t);return e&&e.value}("queueMicrotask");if(!ya){var ma=new fa,wa=function(){var t,e;for(no&&(t=ha.domain)&&t.exit();e=ma.get();)try{e()}catch(t){throw ma.head&&oa(),t}t&&t.enter()};Ui||no||la||!pa||!va?!sa&&ga&&ga.resolve?((ua=ga.resolve(void 0)).constructor=ga,ca=hn(ua.then,ua),oa=function(){ca(wa)}):no?oa=function(){ha.nextTick(wa)}:(da=hn(da,c),oa=function(){da(wa)}):(ia=!0,aa=va.createTextNode(""),new pa(wa).observe(aa,{characterData:!0}),oa=function(){aa.data=ia=!ia}),ya=function(t){ma.head||oa(),ma.add(t)}}var ba=ya,Ea=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Sa=c.Promise,xa="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Oa=!xa&&!no&&"object"==typeof window&&"object"==typeof document;Sa&&Sa.prototype;var Ta,Aa,ja,Ra=yt("species"),Ia=!1,Pa=C(c.PromiseRejectionEvent),Ma=Le("Promise",(function(){var t=Zt(Sa),e=t!==String(Sa);if(!e&&66===q)return!0;if(!q||q<51||!/native code/.test(t)){var n=new Sa((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[Ra]=r,!(Ia=n.then((function(){}))instanceof r))return!0}return!e&&(Oa||xa)&&!Pa})),_a={CONSTRUCTOR:Ma,REJECTION_EVENT:Pa,SUBCLASSING:Ia},Na=TypeError,Ca=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new Na("Bad Promise constructor");e=t,n=r})),this.resolve=X(e),this.reject=X(n)},ka={f:function(t){return new Ca(t)}},La=ea.set,Fa="Promise",Da=_a.CONSTRUCTOR,Ba=_a.REJECTION_EVENT,Ua=_a.SUBCLASSING,$a=ie.getterFor(Fa),za=ie.set,qa=Sa&&Sa.prototype,Ga=Sa,Va=qa,Wa=c.TypeError,Ya=c.document,Za=c.process,Ha=ka.f,Ja=Ha,Ka=!!(Ya&&Ya.createEvent&&c.dispatchEvent),Xa="unhandledrejection",Qa=function(t){var e;return!(!k(t)||!C(e=t.then))&&e},tu=function(t,e){var n,r,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&iu(e),e.rejection=1),!0===u?n=i:(s&&s.enter(),n=u(i),s&&(s.exit(),o=!0)),n===t.promise?f(new Wa("Promise-chain cycle")):(r=Qa(n))?p(r,n,c,f):c(n)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},eu=function(t,e){t.notified||(t.notified=!0,ba((function(){for(var n,r=t.reactions;n=r.get();)tu(n,t);t.notified=!1,e&&!t.rejection&&ru(t)})))},nu=function(t,e,n){var r,o;Ka?((r=Ya.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},!Ba&&(o=c["on"+t])?o(r):t===Xa&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}("Unhandled promise rejection",n)},ru=function(t){p(La,c,(function(){var e,n=t.facade,r=t.value;if(ou(t)&&(e=Ea((function(){no?Za.emit("unhandledRejection",r,n):nu(Xa,n,r)})),t.rejection=no||ou(t)?2:1,e.error))throw e.value}))},ou=function(t){return 1!==t.rejection&&!t.parent},iu=function(t){p(La,c,(function(){var e=t.facade;no?Za.emit("rejectionHandled",e):nu("rejectionhandled",e,t.value)}))},au=function(t,e,n){return function(r){t(e,r,n)}},uu=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,eu(t,!0))},cu=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new Wa("Promise can't be resolved itself");var r=Qa(e);r?ba((function(){var n={done:!1};try{p(r,e,au(cu,n,t),au(uu,n,t))}catch(e){uu(n,e,t)}})):(t.value=e,t.state=1,eu(t,!1))}catch(e){uu({done:!1},e,t)}}};if(Da&&(Va=(Ga=function(t){!function(t,e){if(F(e,t))return t;throw new Mi("Incorrect invocation")}(this,Va),X(t),p(Ta,this);var e=$a(this);try{t(au(cu,e),au(uu,e))}catch(t){uu(e,t)}}).prototype,(Ta=function(t){za(this,{type:Fa,done:!1,notified:!1,parent:!1,reactions:new fa,rejection:!1,state:0,value:void 0})}).prototype=ue(Va,"then",(function(t,e){var n=$a(this),r=Ha(Ci(this,Ga));return n.parent=!0,r.ok=!C(t)||t,r.fail=C(e)&&e,r.domain=no?Za.domain:void 0,0===n.state?n.reactions.add(r):ba((function(){tu(r,n)})),r.promise})),Aa=function(){var t=new Ta,e=$a(t);this.promise=t,this.resolve=au(cu,e),this.reject=au(uu,e)},ka.f=Ha=function(t){return t===Ga||undefined===t?new Aa(t):Ja(t)},C(Sa)&&qa!==Object.prototype)){ja=qa.then,Ua||ue(qa,"then",(function(t,e){var n=this;return new Ga((function(t,e){p(ja,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete qa.constructor}catch(t){}Nr&&Nr(qa,Va)}De({global:!0,constructor:!0,wrap:!0,forced:Da},{Promise:Ga}),jr(Ga,Fa,!1),Pi(Fa);var fu=TypeError,su=function(t,e){this.stopped=t,this.result=e},lu=su.prototype,du=function(t,e,n){var r,o,i,a,u,c,f,s=n&&n.that,l=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),g=hn(e,s),y=function(t){return r&&Gn(r,"normal",t),new su(!0,t)},m=function(t){return l?(Mt(t),h?g(t[0],t[1],y):g(t[0],t[1])):h?g(t,y):g(t)};if(d)r=t.iterator;else if(v)r=t;else{if(!(o=Kn(t)))throw new fu(J(t)+" is not iterable");if(Hn(o)){for(i=0,a=ye(t);a>i;i++)if((u=m(t[i]))&&F(lu,u))return u;return new su(!1)}r=Qn(t,o)}for(c=d?t.next:r.next;!(f=p(c,r)).done;){try{u=m(f.value)}catch(t){Gn(r,"throw",t)}if("object"==typeof u&&u&&F(lu,u))return u}return new su(!1)},pu=_a.CONSTRUCTOR||!ir((function(t){Sa.all(t).then(void 0,(function(){}))}));De({target:"Promise",stat:!0,forced:pu},{all:function(t){var e=this,n=ka.f(e),r=n.resolve,o=n.reject,i=Ea((function(){var n=X(e.resolve),i=[],a=0,u=1;du(t,(function(t){var c=a++,f=!1;u++,p(n,e,t).then((function(t){f||(f=!0,i[c]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise}});var vu=_a.CONSTRUCTOR,hu=Sa&&Sa.prototype;if(De({target:"Promise",proto:!0,forced:vu,real:!0},{catch:function(t){return this.then(void 0,t)}}),C(Sa)){var gu=L("Promise").prototype.catch;hu.catch!==gu&&ue(hu,"catch",gu,{unsafe:!0})}De({target:"Promise",stat:!0,forced:pu},{race:function(t){var e=this,n=ka.f(e),r=n.reject,o=Ea((function(){var o=X(e.resolve);du(t,(function(t){p(o,e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}}),De({target:"Promise",stat:!0,forced:_a.CONSTRUCTOR},{reject:function(t){var e=ka.f(this);return(0,e.reject)(t),e.promise}});var yu=_a.CONSTRUCTOR;L("Promise"),De({target:"Promise",stat:!0,forced:yu},{resolve:function(t){return function(t,e){if(Mt(t),k(e)&&e.constructor===t)return e;var n=ka.f(t);return(0,n.resolve)(e),n.promise}(this,t)}});var mu=yt("match"),wu=function(t){var e;return k(t)&&(void 0!==(e=t[mu])?!!e:"RegExp"===T(t))},bu=function(){var t=Mt(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},Eu=RegExp.prototype,Su=function(t){var e=t.flags;return void 0!==e||"flags"in Eu||ft(t,"flags")||!F(Eu,t)?e:p(bu,t)},xu=c.RegExp,Ou=f((function(){var t=xu("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Tu=Ou||f((function(){return!xu("a","y").sticky})),Au={BROKEN_CARET:Ou||f((function(){var t=xu("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Tu,UNSUPPORTED_Y:Ou},ju=Dt.f,Ru=function(t,e,n){n in t||ju(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})},Iu=c.RegExp,Pu=f((function(){var t=Iu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Mu=c.RegExp,_u=f((function(){var t=Mu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Nu=Te.f,Cu=ie.enforce,ku=yt("match"),Lu=c.RegExp,Fu=Lu.prototype,Du=c.SyntaxError,Bu=S(Fu.exec),Uu=S("".charAt),$u=S("".replace),zu=S("".indexOf),qu=S("".slice),Gu=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Vu=/a/g,Wu=/a/g,Yu=new Lu(Vu)!==Vu,Zu=Au.MISSED_STICKY,Hu=Au.UNSUPPORTED_Y,Ju=s&&(!Yu||Zu||Pu||_u||f((function(){return Wu[ku]=!1,Lu(Vu)!==Vu||Lu(Wu)===Wu||"/a/i"!==String(Lu(Vu,"i"))})));if(Le("RegExp",Ju)){for(var Ku=function(t,e){var n,r,o,i,a,u,c=F(Fu,this),f=wu(t),s=void 0===e,l=[],d=t;if(!c&&f&&s&&t.constructor===Ku)return t;if((f||F(Fu,t))&&(t=t.source,s&&(e=Su(d))),t=void 0===t?"":Io(t),e=void 0===e?"":Io(e),d=t,Pu&&"dotAll"in Vu&&(r=!!e&&zu(e,"s")>-1)&&(e=$u(e,/s/g,"")),n=e,Zu&&"sticky"in Vu&&(o=!!e&&zu(e,"y")>-1)&&Hu&&(e=$u(e,/y/g,"")),_u&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a=Cn(null),u=!1,c=!1,f=0,s="";r<=n;r++){if("\\"===(e=Uu(t,r)))e+=Uu(t,++r);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:Bu(Gu,qu(t,r+1))&&(r+=2,c=!0),o+=e,f++;continue;case">"===e&&c:if(""===s||ft(a,s))throw new Du("Invalid capture group name");a[s]=!0,i[i.length]=[s,f],c=!1,s="";continue}c?s+=e:o+=e}return[o,i]}(t),t=i[0],l=i[1]),a=Ao(Lu(t,e),c?this:Fu,Ku),(r||o||l.length)&&(u=Cu(a),r&&(u.dotAll=!0,u.raw=Ku(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=Uu(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+Uu(t,++r);return o}(t),n)),o&&(u.sticky=!0),l.length&&(u.groups=l)),t!==d)try{Bt(a,"source",""===d?"(?:)":d)}catch(t){}return a},Xu=Nu(Lu),Qu=0;Xu.length>Qu;)Ru(Ku,Lu,Xu[Qu++]);Fu.constructor=Ku,Ku.prototype=Fu,ue(c,"RegExp",Ku,{constructor:!0})}Pi("RegExp");var tc=ie.get,ec=it("native-string-replace",String.prototype.replace),nc=RegExp.prototype.exec,rc=nc,oc=S("".charAt),ic=S("".indexOf),ac=S("".replace),uc=S("".slice),cc=function(){var t=/a/,e=/b*/g;return p(nc,t,"a"),p(nc,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),fc=Au.BROKEN_CARET,sc=void 0!==/()??/.exec("")[1];(cc||sc||fc||Pu||_u)&&(rc=function(t){var e,n,r,o,i,a,u,c=this,f=tc(c),s=Io(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=p(rc,l,s),c.lastIndex=l.lastIndex,e;var d=f.groups,v=fc&&c.sticky,h=p(bu,c),g=c.source,y=0,m=s;if(v&&(h=ac(h,"y",""),-1===ic(h,"g")&&(h+="g"),m=uc(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==oc(s,c.lastIndex-1))&&(g="(?: "+g+")",m=" "+m,y++),n=new RegExp("^(?:"+g+")",h)),sc&&(n=new RegExp("^"+g+"$(?!\\s)",h)),cc&&(r=c.lastIndex),o=p(nc,v?n:c,m),v?o?(o.input=uc(o.input,y),o[0]=uc(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:cc&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),sc&&o&&o.length>1&&p(ec,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=Cn(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var lc=rc;De({target:"RegExp",proto:!0,forced:/./.exec!==lc},{exec:lc});var dc=qt.PROPER,pc="toString",vc=RegExp.prototype,hc=vc[pc],gc=f((function(){return"/a/b"!==hc.call({source:"a",flags:"b"})})),yc=dc&&hc.name!==pc;(gc||yc)&&ue(vc,pc,(function(){var t=Mt(this);return"/"+Io(t.source)+"/"+Io(Su(t))}),{unsafe:!0});var mc=TypeError,wc=function(t){if(wu(t))throw new mc("The method doesn't accept regular expressions");return t},bc=yt("match"),Ec=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[bc]=!1,"/./"[t](e)}catch(t){}}return!1},Sc=S("".indexOf);De({target:"String",proto:!0,forced:!Ec("includes")},{includes:function(t){return!!~Sc(Io(M(this)),Io(wc(t)),arguments.length>1?arguments[1]:void 0)}});var xc=S("".charAt),Oc=S("".charCodeAt),Tc=S("".slice),Ac=function(t){return function(e,n){var r,o,i=Io(M(e)),a=le(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Oc(i,a))<55296||r>56319||a+1===u||(o=Oc(i,a+1))<56320||o>57343?t?xc(i,a):r:t?Tc(i,a,a+2):o-56320+(r-55296<<10)+65536}},jc={codeAt:Ac(!1),charAt:Ac(!0)},Rc=jc.charAt,Ic="String Iterator",Pc=ie.set,Mc=ie.getterFor(Ic);qr(String,"String",(function(t){Pc(this,{type:Ic,string:Io(t),index:0})}),(function(){var t,e=Mc(this),n=e.string,r=e.index;return r>=n.length?Gr(void 0,!0):(t=Rc(n,r),e.index+=t.length,Gr(t,!1))}));var _c=yt("species"),Nc=RegExp.prototype,Cc=function(t,e,n,r){var o=yt(t),i=!f((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!f((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[_c]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var u=/./[o],c=e(o,""[t],(function(t,e,n,r,o){var a=e.exec;return a===lc||a===Nc.exec?i&&!o?{done:!0,value:p(u,e,n,r)}:{done:!0,value:p(t,n,e,r)}:{done:!1}}));ue(String.prototype,t,c[0]),ue(Nc,o,c[1])}r&&Bt(Nc[o],"sham",!0)},kc=jc.charAt,Lc=function(t,e,n){return e+(n?kc(t,e).length:1)},Fc=TypeError,Dc=function(t,e){var n=t.exec;if(C(n)){var r=p(n,t,e);return null!==r&&Mt(r),r}if("RegExp"===T(t))return p(lc,t,e);throw new Fc("RegExp#exec called on incompatible receiver")};Cc("match",(function(t,e,n){return[function(e){var n=M(this),r=I(e)?void 0:Q(e,t);return r?p(r,e,n):new RegExp(e)[t](Io(n))},function(t){var r=Mt(this),o=Io(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return Dc(r,o);var a=r.unicode;r.lastIndex=0;for(var u,c=[],f=0;null!==(u=Dc(r,o));){var s=Io(u[0]);c[f]=s,""===s&&(r.lastIndex=Lc(o,ge(r.lastIndex),a)),f++}return 0===f?null:c}]}));var Bc=Math.floor,Uc=S("".charAt),$c=S("".replace),zc=S("".slice),qc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Gc=/\$([$&'`]|\d{1,2})/g,Vc=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,c=Gc;return void 0!==o&&(o=ut(o),c=qc),$c(i,c,(function(i,c){var f;switch(Uc(c,0)){case"$":return"$";case"&":return t;case"`":return zc(e,0,n);case"'":return zc(e,a);case"<":f=o[zc(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>u){var l=Bc(s/10);return 0===l?i:l<=u?void 0===r[l-1]?Uc(c,1):r[l-1]+Uc(c,1):i}f=r[s-1]}return void 0===f?"":f}))},Wc=yt("replace"),Yc=Math.max,Zc=Math.min,Hc=S([].concat),Jc=S([].push),Kc=S("".indexOf),Xc=S("".slice),Qc="$0"==="a".replace(/./,"$0"),tf=!!/./[Wc]&&""===/./[Wc]("a","$0");Cc("replace",(function(t,e,n){var r=tf?"$":"$0";return[function(t,n){var r=M(this),o=I(t)?void 0:Q(t,Wc);return o?p(o,t,r,n):p(e,Io(r),t,n)},function(t,o){var i=Mt(this),a=Io(t);if("string"==typeof o&&-1===Kc(o,r)&&-1===Kc(o,"$<")){var u=n(e,i,a,o);if(u.done)return u.value}var c=C(o);c||(o=Io(o));var f,s=i.global;s&&(f=i.unicode,i.lastIndex=0);for(var l,d=[];null!==(l=Dc(i,a))&&(Jc(d,l),s);){""===Io(l[0])&&(i.lastIndex=Lc(a,ge(i.lastIndex),f))}for(var p,v="",h=0,g=0;g<d.length;g++){for(var y,m=Io((l=d[g])[0]),w=Yc(Zc(le(l.index),a.length),0),b=[],E=1;E<l.length;E++)Jc(b,void 0===(p=l[E])?p:String(p));var S=l.groups;if(c){var x=Hc([m],b,w,a);void 0!==S&&Jc(x,S),y=Io(Di(o,void 0,x))}else y=Vc(m,a,w,b,S,o);w>=h&&(v+=Xc(a,h,w)+y,h=w+m.length)}return v+Xc(a,h)}]}),!!f((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Qc||tf);var ef=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Cc("search",(function(t,e,n){return[function(e){var n=M(this),r=I(e)?void 0:Q(e,t);return r?p(r,e,n):new RegExp(e)[t](Io(n))},function(t){var r=Mt(this),o=Io(t),i=n(e,r,o);if(i.done)return i.value;var a=r.lastIndex;ef(a,0)||(r.lastIndex=0);var u=Dc(r,o);return ef(r.lastIndex,a)||(r.lastIndex=a),null===u?-1:u.index}]}));var nf=Au.UNSUPPORTED_Y,rf=Math.min,of=S([].push),af=S("".slice),uf=!f((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]})),cf="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;Cc("split",(function(t,e,n){var r="0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:p(e,this,t,n)}:e;return[function(e,n){var o=M(this),i=I(e)?void 0:Q(e,t);return i?p(i,e,o,n):p(r,Io(o),e,n)},function(t,o){var i=Mt(this),a=Io(t);if(!cf){var u=n(r,i,a,o,r!==e);if(u.done)return u.value}var c=Ci(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(nf?"g":"y"),l=new c(nf?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===Dc(l,a)?[a]:[];for(var p=0,v=0,h=[];v<a.length;){l.lastIndex=nf?0:v;var g,y=Dc(l,nf?af(a,v):a);if(null===y||(g=rf(ge(l.lastIndex+(nf?v:0)),a.length))===p)v=Lc(a,v,f);else{if(of(h,af(a,p,v)),h.length===d)return h;for(var m=1;m<=y.length-1;m++)if(of(h,y[m]),h.length===d)return h;v=p=g}}return of(h,af(a,p)),h}]}),cf||!uf,nf);var ff,sf=jt.f,lf=pn("".slice),df=Math.min,pf=Ec("startsWith"),vf=!(pf||(ff=sf(String.prototype,"startsWith"),!ff||ff.writable));De({target:"String",proto:!0,forced:!vf&&!pf},{startsWith:function(t){var e=Io(M(this));wc(t);var n=ge(df(arguments.length>1?arguments[1]:void 0,e.length)),r=Io(t);return lf(e,n,n+r.length)===r}});var hf,gf=qt.PROPER,yf=ko.trim;De({target:"String",proto:!0,forced:(hf="trim",f((function(){return!!Po[hf]()||"
"!=="
"[hf]()||gf&&Po[hf].name!==hf})))},{trim:function(){return yf(this)}});var mf={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},wf=Ot("span").classList,bf=wf&&wf.constructor&&wf.constructor.prototype,Ef=bf===Object.prototype?void 0:bf,Sf=function(t){if(t&&t.forEach!==qn)try{Bt(t,"forEach",qn)}catch(e){t.forEach=qn}};for(var xf in mf)mf[xf]&&Sf(c[xf]&&c[xf].prototype);Sf(Ef);var Of=yt("iterator"),Tf=Hr.values,Af=function(t,e){if(t){if(t[Of]!==Tf)try{Bt(t,Of,Tf)}catch(e){t[Of]=Tf}if(jr(t,e,!0),mf[e])for(var n in Hr)if(t[n]!==Hr[n])try{Bt(t,n,Hr[n])}catch(e){t[n]=Hr[n]}}};for(var jf in mf)Af(c[jf]&&c[jf].prototype,jf);Af(Ef,"DOMTokenList");var Rf=function(){return Rf=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},Rf.apply(this,arguments)};function If(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}function Pf(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function Mf(t,e){for(var n=t.length,r=e.length,o=Wf(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 u=0;i>0&&a>0&&(u=o[i-1][a-1]),o[i][a]=u+1}var c=Array.prototype.concat.apply([],o);return Math.max.apply(Math,c)}function _f(t,e){return Mf(t,e)}function Nf(t,e){for(var n=t.length,r=e.length,o=Wf(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 u=0;i>0&&a>0&&(u=o[i-1][a-1]),o[i][a]=u+1}else{var c=[0,0],f=c[0],s=c[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)}function Cf(t,e){return Nf(t,e)}function kf(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=location.search.substring(1).match(e);return null!==n?decodeURIComponent(n[2]):""}function Lf(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;return""})),n[e]||""}function Ff(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}function Df(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]:""}function Bf(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]}),"")}function Uf(t){var e=t.replace(/([A-Z])/g,"-$1").toLowerCase();return"-"===e[0]?e.substring(1):e}function $f(t){return Uf(t)}function zf(t){var e=t.replace(/([A-Z])/g,"_$1").toLowerCase();return"_"===e[0]?e.substring(1):e}function qf(t){return zf(t)}function Gf(t){for(var e=(t=t.replace(/^\s+/,"")).length-1,n=/\s/;n.test(t.charAt(e));)e--;return t.slice(0,e+1)}function Vf(t){if(!t)return"";var e=new RegExp("\\n","g");return t.replace(e,"<br />")}function Wf(t){if("object"!==a(t))return t;var e=["string","number","boolean","undefined"];return Object.values(t).every((function(t){return e.includes(a(t))}))?Rf({},t):JSON.parse(JSON.stringify(t))}function Yf(t){return Wf(t)}function Zf(t){try{if("object"===a(JSON.parse(t)))return!0}catch(t){}return!1}function Hf(t){return Zf(t)}function Jf(t){void 0===t&&(t=5);for(var e="";t--;)e+=Math.floor(10*Math.random());return e}function Kf(t){return void 0===t&&(t=5),Jf(t)}function Xf(t){void 0===t&&(t=3);var e=[ms(),Kf(t||3)];return e[0]+e[1]}function Qf(t){return void 0===t&&(t=3),Xf(t)}function ts(t,e){void 0===e&&(e=0);var n="";return n=e?(100*t).toFixed(e):String(Math.floor(100*t)),"".concat(n,"%")}function es(t,e){return void 0===e&&(e=0),parseFloat(t).toFixed(e)}function ns(t){var e=t||window.event;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function rs(t,e){for(var n=t.className.split(/\s+/),r=0;r<n.length;r++)if(n[r]===e)return!0;return!1}function os(t,e){var n,r=t.className,o="";""!==r&&(o=" "),n=r+o+e,t.className=n}function is(t,e){var n;n=(n=(n=(n=" "+t.className+" ").replace(/(\s+)/gi," ")).replace(" "+e+" "," ")).replace(/(^\s+)|(\s+$)/g,""),t.className=n}function as(t,e,n){void 0===n&&(n={}),n=Object.assign({},n);var r=null,o=null,i=null,a=[null,0],u=a[0],c=a[1],f=function(){c=!1===n.leading?0:ms(),i=null,u=t.apply(this,o),i||(r=o=null)};return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var l=ms();c||!1!==n.leading||(c=l);var d=e-(l-c);return r=this,o=a,d<=0||d>e?(i&&(clearTimeout(i),i=null),c=l,u=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(f.bind(r),d)),u}}function us(t,e,n){var r=null,o=null,i=null,a=null,u=null,c=function c(){var f=ms()-i;f<e&&f>=0?o=setTimeout(c,e-f):(o=null,n||(u=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=ms();var l=n&&!o;return o||(o=setTimeout(c,e)),l&&(u=t.apply(r,a),r=a=null),u}}var cs={type:"d"};function fs(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=cs);var r=(n=Object.assign(cs,n)).type;ss(t)||(t=new Date(t).getTime()),ss(e)||(e=new Date(e).getTime());var o=Number(e)-Number(t),i="",a=new Array(4).fill(0),u=a[0],c=(a[1],a[2],a[3]),f=decodeURIComponent("%20%E5%A4%A9%20"),s=decodeURIComponent("%20%E6%97%B6%20"),l=decodeURIComponent("%20%E5%88%86%20"),d=decodeURIComponent("%20%E7%A7%92");if(o>=0)switch(u=Math.floor(o/1e3/60/60/24),Math.floor(o/1e3/60/60),Math.floor(o/1e3/60),c=Math.floor(o/1e3),r){case"d":i=u;break;case"text":i=(u=Math.floor(o/1e3/60/60/24))+f+Math.floor(o/1e3/60/60%24)+s+Math.floor(o/1e3/60%60)+l+(c=Math.floor(o/1e3%60))+d;break;default:i=c}return i}function ss(t,e){void 0===e&&(e={});var n=e.isNaNAsNumber,r=void 0!==n&&n,o=e.isInfinityAsNumber,i=void 0!==o&&o,a=e.isUnFiniteAsNumber;return"number"==typeof t&&(!(!0!==i&&!0!==(void 0!==a&&a)&&!isFinite(t))&&!(!r&&isNaN(t)))}function ls(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 ds(t,e){void 0===e&&(e=null),t&&sessionStorage.setItem(t,JSON.stringify(e))}function ps(t){var e=null;if(t){var n=sessionStorage.getItem(t);n&&(e=JSON.parse(n))}return e}function vs(t,e){void 0===e&&(e=null),t&&localStorage.setItem(t,JSON.stringify(e))}function hs(t){var e=null;if(t){var n=localStorage.getItem(t);n&&(e=JSON.parse(n))}return e}function gs(t,e){void 0===e&&(e={id:""});var n,r=e.id,o=function(){},i=new Promise((function(t,e){var r;n=(r=[t,e])[0],o=r[1]})),a=function(){n("loaded")},u=document.createElement("link");u||o(new Error("Not support create link element"));var c="onload"in u,f=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;if(u.rel="stylesheet",u.type="text/css",u.href=t,void 0!==r&&(u.id=r),document.getElementsByTagName("head")[0].appendChild(u),f||!c)return setTimeout((function(){l(u,a,0)}),1),i;function s(){u&&(u.onload=u.onerror=u.onreadystatechange=null),u=null,a()}function l(t,e,n){if(t){var r,o=t.sheet;if((n+=1)>3e5)return r=!0,t&&(t=null),void e();if(f)o&&(r=!0);else if(o)try{o.cssRules&&(r=!0)}catch(t){var i=t;if(!i.name)return;"NS_ERROR_DOM_SECURITY_ERR"===i.name&&(r=!0)}setTimeout((function(){r?e():l(t,e,n)}),20)}}return c?(u.onload=s,u.onerror=function(){s()}):u.onreadystatechange=function(){u&&/loaded|complete/.test(u.readyState)&&s()},i}function ys(t,e){void 0===e&&(e={id:"",callback:function(){},timeout:5e3,isDefer:!1});var n,r,o=Object.assign({id:"",callback:function(){},timeout:5e3,isDefer:!1},e),i=o.id,a=o.callback,u=o.timeout,c=o.isDefer,f=document.createElement("script");f||Promise.reject("Not support create script element");var s=document.getElementsByTagName("script")[0];return f.type="text/javascript",c&&(f.defer=!0),i&&(f.id=i),f.readyState?f.onreadystatechange=function(){"loaded"!==f.readyState&&"complete"!==f.readyState||(f.onreadystatechange=null,ls(a),ls(n,"loaded"))}:f.onload=function(){ls(a),ls(n,"loaded")},f.src=t,s&&s.parentNode.insertBefore(f,s),new Promise((function(t,e){var o;n=(o=[t,e])[0],r=o[1],u&&setTimeout(r.bind(null,"timeout"),u)}))}function ms(){return Date.now?Date.now():(new Date).getTime()}function ws(t,e,n,r){var o,i;if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),i="; expires="+a.toUTCString()}else i="";var u=location.host;1===u.split(".").length?document.cookie=t+"="+e+i+"; path=/":((o=u.split(".")).shift(),r=r||"."+o.join("."),document.cookie=t+"="+e+i+"; path=/; domain="+r,null!==bs(t)&&bs(t)===e||(r=r||"."+u,document.cookie=t+"="+e+i+"; path=/; domain="+r))}function bs(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 Es(t){for(var e=document.cookie.split(";"),n=0;n<e.length;n++){var r=e[n].trim();if(r.startsWith("".concat(t,"="))){var o=r.split("=")[0],i=new Date;return i.setTime(i.getTime()-1),document.cookie="".concat(o,"=;expires=").concat(i.toUTCString()),!0}}return!1}function Ss(t){var e=[],n=window.PerformanceObserver;return!!n&&(zs(n.supportedEntryTypes)&&(e=n.supportedEntryTypes),e.includes(t))}function xs(){return If(this,void 0,void 0,(function(){return Pf(this,(function(t){return Ss("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-contentful-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))}function Os(){return If(this,void 0,void 0,(function(){return Pf(this,(function(t){return Ss("paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-paint"===t.name}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"paint",buffered:!0})}))]:[2,0]}))}))}function Ts(){return If(this,void 0,void 0,(function(){return Pf(this,(function(t){return Ss("largest-contentful-paint")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"largest-contentful-paint"===t.entryType}));r&&(e.disconnect(),t(Math.round(r.startTime)))}));e.observe({type:"largest-contentful-paint",buffered:!0})}))]:[2,0]}))}))}function As(){return If(this,void 0,void 0,(function(){return Pf(this,(function(t){return Ss("first-input")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().find((function(t){return"first-input"===t.entryType}));if(r){e.disconnect();var o=r.processingStart;t(o?Math.round(r.processingStart-r.startTime):0)}}));e.observe({type:"first-input",buffered:!0})}))]:[2,0]}))}))}function js(){return If(this,void 0,void 0,(function(){return Pf(this,(function(t){return Ss("layout-shift")?[2,new Promise((function(t){var e=new PerformanceObserver((function(n){var r=n.getEntries().reduce((function(t,e){var n=0;return ss(e.value)&&(n=e.value),t+n}),0);e.disconnect(),t(r)}));e.observe({type:"layout-shift",buffered:!0})}))]:[2,0]}))}))}function Rs(){return If(this,void 0,void 0,(function(){var t,e;return Pf(this,(function(n){return Ss("navigation")&&window.performance&&window.performance.getEntriesByType?(t=performance.getEntriesByType("navigation")[0],0,t?(e=t.responseStart-t.requestStart,[2,Math.round(e)]):[2,0]):[2,0]}))}))}function Is(t){return void 0===t&&(t=!1),If(this,void 0,void 0,(function(){function e(){var e={source:C,os:n(),osVersion:r(),deviceType:o(),network:i(),screenDirection:a(),unloadTime:v-h,redirectTime:g-y,dnsTime:m-w,tcpTime:b-E,sslTime:u(b,S),responseTime:x-O,downloadTime:T-x,firstPaintTime:F,firstContentfulPaintTime:D,domReadyTime:A-k,onloadTime:j-k,whiteTime:x-k,renderTime:R-k,decodedBodySize:M,encodedBodySize:_};Object.keys(e).forEach((function(t){ss(e[t])&&(e[t]<0?e[t]=0:e[t]=Math.round(e[t]))})),ss(e.whiteTime)&&e.whiteTime>e.onloadTime&&(e.whiteTime=0);var c={};t||Object.keys(e).forEach((function(t){c[qf(t)]=e[t]})),Object.keys(c).length?f(c):f(e)}function n(){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 r(){var t="",e=navigator.userAgent,n=e.indexOf("Android")>-1||e.indexOf("Linux")>-1,r=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),o=navigator.userAgent.split(";");if(o.length<2)return t;var i=o[1];return i?(n&&(t=(i.match(/\d+\.\d+/g)||[])[0]),r&&(t=(i.match(/(\d+)_(\d+)_?(\d+)?/)||[])[0]),t||(t=""),t):t}function o(){var t,e=navigator.userAgent.toLowerCase(),n=e.match(/(ipad)/i)&&"ipad",r=e.match(/iphone os/i)&&"iphone os",o=e.match(/midp/i)&&"midp",i=e.match(/rv:1.2.3.4/i)&&"rv:1.2.3.4",a=e.match(/ucweb/i)&&"ucweb",u=e.match(/android/i)&&"android",c=e.match(/windows ce/i)&&"windows ce",f=e.match(/windows mobile/i)&&"windows mobile";return(t=n||r||o||i||a||u||c||f?r||o||i||a||u||c||f?"phone":n?"ipad":void 0:"pc")||(t=""),t}function i(){var t="",e=window.navigator;if(e.connection&&e.connection.effectiveType)switch(e.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||(t=""),t}function a(){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 u(t,e){var n=0;return e&&(n=t-e),n}var c,f,s,l,d,p,v,h,g,y,m,w,b,E,S,x,O,T,A,j,R,I,P,M,_,N,C,k,L,F,D;return Pf(this,(function(t){switch(t.label){case 0:if(!Ss("navigation"))return[2,Promise.reject(new Error("navigation is not supported"))];if(!(c=window.performance)||"function"!=typeof c.getEntries||"function"!=typeof c.getEntriesByType)return[2,Promise.reject(new Error("performance is not supported"))];if(s=new Promise((function(t){f=[t][0]})),l=null,zs(d=c.getEntriesByType("navigation"))&&(l=d[0]),p=new Array(19).fill(0),v=p[0],h=p[1],g=p[2],y=p[3],m=p[4],w=p[5],b=p[6],E=p[7],S=p[8],x=p[9],O=p[10],T=p[11],A=p[12],j=p[13],R=p[14],I=p[15],P=p[16],M=p[17],_=p[18],N=c.timing,C="",l)C="PerformanceNavigationTiming",M=l.decodedBodySize,_=l.encodedBodySize,v=l.unloadEventEnd,h=l.unloadEventStart,g=l.redirectEnd,y=l.redirectStart,m=l.domainLookupEnd,w=l.domainLookupStart,b=l.connectEnd,E=l.connectStart,S=l.secureConnectionStart,x=l.responseStart,O=l.requestStart,T=l.responseEnd,A=l.domContentLoadedEventStart,j=l.loadEventStart,R=l.loadEventEnd,I=l.startTime,P=l.fetchStart;else{if(!N)return[2,Promise.reject(new Error("NavigationTiming and Timing are not supported"))];C="PerformanceTiming",v=N.unloadEventEnd,h=N.unloadEventStart,g=N.redirectEnd,y=N.redirectStart,m=N.domainLookupEnd,w=N.domainLookupStart,b=N.connectEnd,E=N.connectStart,S=N.secureConnectionStart,x=N.responseStart,O=N.requestStart,T=N.responseEnd,A=N.domContentLoadedEventStart,j=N.loadEventStart,R=N.loadEventEnd,I=N.navigationStart,P=N.fetchStart}if(k=0,ss(I))k=I;else{if(!ss(P))return[2,Promise.reject(new Error("startTime, navigationStart or fetchStart are required"))];k=P}return[4,Promise.all([Os(),xs()])];case 1:return L=t.sent(),F=L[0],D=L[1],ss(R)&&R>0?e():window.addEventListener("load",(function(){window.setTimeout((function(){e()}),0)})),[2,s]}}))}))}function Ps(t){return Math.random()<t}function Ms(){var t=_s();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)}function _s(){if(window.MAZEY_BROWSER_INFO&&"object"===a(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&&zs(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=Rf(Rf({},t),{system:o,appleType:i});var u="";"windows"===o?n(/windows nt 5.0|windows 2000/g)?u="2000":n(/windows nt 5.1|windows xp/g)?u="xp":n(/windows nt 5.2|windows 2003/g)?u="2003":n(/windows nt 6.0|windows vista/g)?u="vista":n(/windows nt 6.1|windows 7/g)?u="7":n(/windows nt 6.2|windows 8/g)?u="8":n(/windows nt 6.3|windows 8.1/g)?u="8.1":n(/windows nt 10.0|windows 10/g)&&(u="10"):"macos"===o?u=r(/os x [\d._]+/g):"android"===o?u=r(/android [\d._]+/g):"ios"===o&&(u=r(/os [\d._]+/g)),t=Rf(Rf({},t),{systemVs:u});var c="";"windows"===o||"macos"===o||"linux"===o?c="desktop":("android"===o||"ios"===o||n(/mobile/g))&&(c="mobile"),t=Rf(Rf({},t),{platform:c});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=Rf(Rf({},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=Rf(Rf({},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=Rf(Rf({},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=Rf(Rf({},t),{shell:p,shellVs:v}),window.MAZEY_BROWSER_INFO=t,t}catch(e){return console.warn("MazeyCon:",e),t}}function Ns(t,e){void 0===e&&(e={});var n=e.removeNewLine,r=void 0!==n&&n,o="";return t&&(o=t.replace(/<\/?.+?>/g,""),r&&(o=o.replace(/[\r\n]/g,""))),o}function Cs(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/[&<>"'/]/g,(function(t){return e[t]}))}function ks(t){var e={"&":"&","<":"<",">":">",""":'"',"'":"'","/":"/"};if("string"!=typeof t)throw new Error("Input must be a string");return t.replace(/(&|<|>|"|'|/)/g,(function(t){return e[t]}))}function Ls(t,e,n){if(void 0===n&&(n=!1),""!=t&&t){for(var r=0,o="",i=/[^\x00-\xff]/g,a="",u=t.replace(i,"**").length,c=0;c<u&&(null!=(a=t.charAt(c).toString()).match(i)?r+=2:r++,!(r>e));c++)o+=a;return n&&u>e&&(o+="..."),o}return""}function Fs(t,e,n){return void 0===n&&(n=!1),Ls(t,e,n)}function Ds(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}function Bs(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}function Us(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,u=n.logFn,c=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=0;a<arguments.length;a++)n[a]=arguments[a];if(r)return!1;var f=t,l=t;if("string"==typeof t&&t.length>=2){var d=t.length;f=":"===t[d-1]?t.substring(0,d-1):t}o&&console.log("--- ".concat(f," - begin ---")),i&&(l=t?"".concat(s()," ").concat(t):"".concat(s())),t||i?console[e].apply(console,function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}([l],n)):console[e].apply(console,n),"log"===e&&u(),"error"===e&&c(),o&&console.log("--- ".concat(f," - end ---"))}})),f}function $s(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}function zs(t){var e=!1;return Array.isArray(t)&&t.length&&(e=!0),e}function qs(t,e,n){var r=!1;return"object"!==a(t)||e.reduce((function(t,e){return void 0===t[e]?Object.create(null):t=t[e]}),t)===n&&(r=!0),r}function Gs(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"}function Vs(){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="}))}function Ws(t){var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return n}function Ys(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()<10?"0"+n.getDate():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}function Zs(){var t=window.MAZEY_DEFINE_LISTENERS;return"object"!==a(t)&&(t={},window.MAZEY_DEFINE_LISTENERS=t),t}function Hs(t,e){var n=Zs();void 0===n[t]&&(n[t]=[]),"function"==typeof e&&n[t].push(e)}function Js(t){var e=Zs()[t];if(e instanceof Array)for(var n=0,r=e.length;n<r;n++)"function"==typeof e[n]&&e[n]({type:t})}function Ks(t,e){var n=Zs(),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]}function Xs(t){return/^[a-zA-Z0-9]+:\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)$/.test(t)}function Qs(t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9\u4E00-\u9FA5()!@:%_+.~#?&//=]*)/.test(t)}function tl(t){return/^1\d{10}$/.test(t)}function el(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)}function nl(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}function rl(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}function ol(){var t,e=window.jQuery||window.$;return e?!(!(t=e("img"))||!t.length)&&(t.each((function(){var t=e(this);if(t){var n=t.attr("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&zs(r)&&r[1]&&t.width(r[1]),o&&zs(o)&&o[1]&&t.height(o[1])}}})),!0):(t=document.getElementsByTagName("img")).length>0&&(Array.from(t).forEach((function(t){var e=t;if(e){var n=e.getAttribute("src");if(n&&"string"==typeof n&&n.length){var r=n.match(/width=([0-9]+[a-z%]*)/),o=n.match(/height=([0-9]+[a-z%]*)/);r&&zs(r)&&r[1]&&(e.style.width=r[1]),o&&zs(o)&&o[1]&&(e.style.height=o[1])}}})),!0)}function il(t,e){var n="";return e&&e.length>0&&(n=e.join(";")+";"),"".concat(t,"{").concat(n,"}")}function al(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=function(t){n(t)},r.src=t}))}function ul(){return"v3"}function cl(t,e,n){var r=this;void 0===e&&(e={}),void 0===n&&(n=function(t){return!0===t});var o=e.interval,i=void 0===o?1e3:o,a=e.times,u=void 0===a?10:a,c=e.context,f=e.args,s=0;"function"!=typeof t&&console.error("Expected a function."),("number"!=typeof i||i<0)&&console.error("Expected a non-negative number for interval."),("number"!=typeof u||u<0)&&console.error("Expected a non-negative number for times."),function e(){setTimeout((function(){return If(r,void 0,void 0,(function(){var r;return Pf(this,(function(o){switch(o.label){case 0:return[4,t.apply(c,f)];case 1:return r=o.sent(),n(r)||++s>=u?[2]:(e(),[2])}}))}))}),i)}()}function fl(t,e){return window[t]?Promise.resolve("defined"):ys(e)}function sl(t,e){void 0===e&&(e=""),e||(e=".js");for(var n=new RegExp("[?&]".concat(t,"=([^&]*)")),r=document.querySelectorAll('script[src*="'.concat(e,'"]')),o=0;o<r.length;o++){var i=r[o].getAttribute("src");if(i&&-1!==i.indexOf(e)){var a=i.match(n);if(a)return decodeURIComponent(a[1])}}return""}function ll(t){return If(this,void 0,void 0,(function(){return Pf(this,(function(e){return[2,new Promise((function(e){setTimeout((function(){e(t)}),t)}))]}))}))}function dl(t){return If(this,void 0,void 0,(function(){return Pf(this,(function(e){return[2,ll(t)]}))}))}export{os as addClass,Hs as addEvent,Bs as addStyle,Cf as calLongestCommonSubsequence,_f as calLongestCommonSubstring,qf as camelCase2Underscore,$f as camelCaseToKebabCase,ns as cancelBubble,Ns as clearHtml,nl as convert10To26,Uf as convertCamelToKebab,zf as convertCamelToUnder,Fs as cutCHSString,us as debounce,Wf as deepCopy,Yf as deepCopyObject,Es as delCookie,ls as doFn,es as floatFixed,ts as floatToPercent,Ys as formatDate,Us as genCustomConsole,Ws as genHashCode,Jf as genRndNumString,il as genStyleString,Xf as genUniqueNumString,Kf as generateRndNum,Qf as generateUniqueNum,_s as getBrowserInfo,js as getCLS,bs as getCookie,ul as getCurrentVersion,Zs as getDefineListeners,Bf as getDomain,xs as getFCP,As as getFID,Os as getFP,Gs as getFileSize,fs as getFriendlyInterval,Df as getHashQueryParam,Ts as getLCP,hs as getLocalStorage,Is as getPerformance,kf as getQueryParam,sl as getScriptQueryParam,ps as getSessionStorage,Rs as getTTFB,rl as getUrlFileType,Lf as getUrlParam,rs as hasClass,Ps as inRate,Js as invokeEvent,Zf as isJSONString,Hf as isJsonString,zs as isNonEmptyArray,ss as isNumber,Ms as isSafePWAEnv,Vs as isSupportWebp,qs as isValidData,el as isValidEmail,Qs as isValidHttpUrl,tl as isValidPhoneNumber,Xs as isValidUrl,gs as loadCSS,al as loadImage,ys as loadScript,fl as loadScriptIfUndefined,Nf as longestComSubsequence,Mf as longestComSubstring,ms as mNow,Gf as mTrim,Vf as newLine,is as removeClass,Ks as removeEvent,cl as repeatUntilConditionMet,Cs as sanitizeInput,ws as setCookie,ol as setImgWidHeiBySrc,vs as setLocalStorage,ds as setSessionStorage,dl as sleep,as as throttle,Ls as truncateZHString,ks as unsanitize,Ff as updateQueryParam,ll as waitTime,Ds as windowLoaded,$s as zAxiosIsValidRes};
|