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