mazey 3.9.6 → 3.9.7

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