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