@botfabrik/engine-webclient 4.33.2 → 4.33.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- var chatbot=function(t){"use strict";function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}function u(t){return(u="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)}function c(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(t,e){return t(e={exports:{}},e.exports),e.exports}var v,y,g=function(t){return t&&t.Math==Math&&t},b=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof p&&p)||function(){return this}()||Function("return this")(),m=function(t){try{return!!t()}catch(t){return!0}},w=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),x=!m((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),A=Function.prototype.call,E=x?A.bind(A):function(){return A.apply(A,arguments)},T={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,O={f:S&&!T.call({1:2},1)?function(t){var e=S(this,t);return!!e&&e.enumerable}:T},R=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},j=Function.prototype,I=j.bind,_=j.call,P=x&&I.bind(_,_),k=x?function(t){return t&&P(t)}:function(t){return t&&function(){return _.apply(t,arguments)}},M=k({}.toString),C=k("".slice),L=function(t){return C(M(t),8,-1)},$=b.Object,U=k("".split),N=m((function(){return!$("z").propertyIsEnumerable(0)}))?function(t){return"String"==L(t)?U(t,""):$(t)}:$,D=b.TypeError,F=function(t){if(null==t)throw D("Can't call method on "+t);return t},B=function(t){return N(F(t))},W=function(t){return"function"==typeof t},z=function(t){return"object"==typeof t?null!==t:W(t)},Y=function(t){return W(t)?t:void 0},G=function(t,e){return arguments.length<2?Y(b[t]):b[t]&&b[t][e]},V=k({}.isPrototypeOf),q=G("navigator","userAgent")||"",H=b.process,K=b.Deno,J=H&&H.versions||K&&K.version,X=J&&J.v8;X&&(y=(v=X.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!y&&q&&(!(v=q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=q.match(/Chrome\/(\d+)/))&&(y=+v[1]);var Q=y,Z=!!Object.getOwnPropertySymbols&&!m((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q&&Q<41})),tt=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=b.Object,rt=tt?function(t){return"symbol"==typeof t}:function(t){var e=G("Symbol");return W(e)&&V(e.prototype,et(t))},nt=b.String,ot=function(t){try{return nt(t)}catch(t){return"Object"}},it=b.TypeError,at=function(t){if(W(t))return t;throw it(ot(t)+" is not a function")},ut=function(t,e){var r=t[e];return null==r?void 0:at(r)},ct=b.TypeError,ft=Object.defineProperty,st=function(t,e){try{ft(b,t,{value:e,configurable:!0,writable:!0})}catch(r){b[t]=e}return e},lt=b["__core-js_shared__"]||st("__core-js_shared__",{}),dt=h((function(t){(t.exports=function(t,e){return lt[t]||(lt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})})),pt=b.Object,ht=function(t){return pt(F(t))},vt=k({}.hasOwnProperty),yt=Object.hasOwn||function(t,e){return vt(ht(t),e)},gt=0,bt=Math.random(),mt=k(1..toString),wt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+mt(++gt+bt,36)},xt=dt("wks"),At=b.Symbol,Et=At&&At.for,Tt=tt?At:At&&At.withoutSetter||wt,St=function(t){if(!yt(xt,t)||!Z&&"string"!=typeof xt[t]){var e="Symbol."+t;Z&&yt(At,t)?xt[t]=At[t]:xt[t]=tt&&Et?Et(e):Tt(e)}return xt[t]},Ot=b.TypeError,Rt=St("toPrimitive"),jt=function(t,e){if(!z(t)||rt(t))return t;var r,n=ut(t,Rt);if(n){if(void 0===e&&(e="default"),r=E(n,t,e),!z(r)||rt(r))return r;throw Ot("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&W(r=t.toString)&&!z(n=E(r,t)))return n;if(W(r=t.valueOf)&&!z(n=E(r,t)))return n;if("string"!==e&&W(r=t.toString)&&!z(n=E(r,t)))return n;throw ct("Can't convert object to primitive value")}(t,e)},It=function(t){var e=jt(t,"string");return rt(e)?e:e+""},_t=b.document,Pt=z(_t)&&z(_t.createElement),kt=function(t){return Pt?_t.createElement(t):{}},Mt=!w&&!m((function(){return 7!=Object.defineProperty(kt("div"),"a",{get:function(){return 7}}).a})),Ct=Object.getOwnPropertyDescriptor,Lt={f:w?Ct:function(t,e){if(t=B(t),e=It(e),Mt)try{return Ct(t,e)}catch(t){}if(yt(t,e))return R(!E(O.f,t,e),t[e])}},$t=w&&m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ut=b.String,Nt=b.TypeError,Dt=function(t){if(z(t))return t;throw Nt(Ut(t)+" is not an object")},Ft=b.TypeError,Bt=Object.defineProperty,Wt=Object.getOwnPropertyDescriptor,zt={f:w?$t?function(t,e,r){if(Dt(t),e=It(e),Dt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=Wt(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Bt(t,e,r)}:Bt:function(t,e,r){if(Dt(t),e=It(e),Dt(r),Mt)try{return Bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw Ft("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Yt=w?function(t,e,r){return zt.f(t,e,R(1,r))}:function(t,e,r){return t[e]=r,t},Gt=k(Function.toString);W(lt.inspectSource)||(lt.inspectSource=function(t){return Gt(t)});var Vt,qt,Ht,Kt=lt.inspectSource,Jt=b.WeakMap,Xt=W(Jt)&&/native code/.test(Kt(Jt)),Qt=dt("keys"),Zt=function(t){return Qt[t]||(Qt[t]=wt(t))},te={},ee=b.TypeError,re=b.WeakMap;if(Xt||lt.state){var ne=lt.state||(lt.state=new re),oe=k(ne.get),ie=k(ne.has),ae=k(ne.set);Vt=function(t,e){if(ie(ne,t))throw new ee("Object already initialized");return e.facade=t,ae(ne,t,e),e},qt=function(t){return oe(ne,t)||{}},Ht=function(t){return ie(ne,t)}}else{var ue=Zt("state");te[ue]=!0,Vt=function(t,e){if(yt(t,ue))throw new ee("Object already initialized");return e.facade=t,Yt(t,ue,e),e},qt=function(t){return yt(t,ue)?t[ue]:{}},Ht=function(t){return yt(t,ue)}}var ce={set:Vt,get:qt,has:Ht,enforce:function(t){return Ht(t)?qt(t):Vt(t,{})},getterFor:function(t){return function(e){var r;if(!z(e)||(r=qt(e)).type!==t)throw ee("Incompatible receiver, "+t+" required");return r}}},fe=Function.prototype,se=w&&Object.getOwnPropertyDescriptor,le=yt(fe,"name"),de={EXISTS:le,PROPER:le&&"something"===function(){}.name,CONFIGURABLE:le&&(!w||w&&se(fe,"name").configurable)},pe=h((function(t){var e=de.CONFIGURABLE,r=ce.get,n=ce.enforce,o=String(String).split("String");(t.exports=function(t,r,i,a){var u,c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet,l=a&&void 0!==a.name?a.name:r;W(i)&&("Symbol("===String(l).slice(0,7)&&(l="["+String(l).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!yt(i,"name")||e&&i.name!==l)&&Yt(i,"name",l),(u=n(i)).source||(u.source=o.join("string"==typeof l?l:""))),t!==b?(c?!s&&t[r]&&(f=!0):delete t[r],f?t[r]=i:Yt(t,r,i)):f?t[r]=i:st(r,i)})(Function.prototype,"toString",(function(){return W(this)&&r(this).source||Kt(this)}))})),he=Math.ceil,ve=Math.floor,ye=function(t){var e=+t;return e!=e||0===e?0:(e>0?ve:he)(e)},ge=Math.max,be=Math.min,me=function(t,e){var r=ye(t);return r<0?ge(r+e,0):be(r,e)},we=Math.min,xe=function(t){return t>0?we(ye(t),9007199254740991):0},Ae=function(t){return xe(t.length)},Ee=function(t){return function(e,r,n){var o,i=B(e),a=Ae(i),u=me(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Te={includes:Ee(!0),indexOf:Ee(!1)},Se=Te.indexOf,Oe=k([].push),Re=function(t,e){var r,n=B(t),o=0,i=[];for(r in n)!yt(te,r)&&yt(n,r)&&Oe(i,r);for(;e.length>o;)yt(n,r=e[o++])&&(~Se(i,r)||Oe(i,r));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=je.concat("length","prototype"),_e={f:Object.getOwnPropertyNames||function(t){return Re(t,Ie)}},Pe={f:Object.getOwnPropertySymbols},ke=k([].concat),Me=G("Reflect","ownKeys")||function(t){var e=_e.f(Dt(t)),r=Pe.f;return r?ke(e,r(t)):e},Ce=function(t,e,r){for(var n=Me(e),o=zt.f,i=Lt.f,a=0;a<n.length;a++){var u=n[a];yt(t,u)||r&&yt(r,u)||o(t,u,i(e,u))}},Le=/#|\.prototype\./,$e=function(t,e){var r=Ne[Ue(t)];return r==Fe||r!=De&&(W(e)?m(e):!!e)},Ue=$e.normalize=function(t){return String(t).replace(Le,".").toLowerCase()},Ne=$e.data={},De=$e.NATIVE="N",Fe=$e.POLYFILL="P",Be=$e,We=Lt.f,ze=function(t,e){var r,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(r=c?b:f?b[u]||st(u,{}):(b[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=We(r,n))&&a.value:r[n],!Be(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ce(i,o)}(t.sham||o&&o.sham)&&Yt(i,"sham",!0),pe(r,n,i,t)}},Ye={};Ye[St("toStringTag")]="z";var Ge,Ve="[object z]"===String(Ye),qe=St("toStringTag"),He=b.Object,Ke="Arguments"==L(function(){return arguments}()),Je=Ve?L:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=He(t),qe))?r:Ke?L(e):"Object"==(n=L(e))&&W(e.callee)?"Arguments":n},Xe=b.String,Qe=function(t){if("Symbol"===Je(t))throw TypeError("Cannot convert a Symbol value to a string");return Xe(t)},Ze=function(){var t=Dt(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},tr=b.RegExp,er=m((function(){var t=tr("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),rr=er||m((function(){return!tr("a","y").sticky})),nr={BROKEN_CARET:er||m((function(){var t=tr("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:rr,UNSUPPORTED_Y:er},or=Object.keys||function(t){return Re(t,je)},ir={f:w&&!$t?Object.defineProperties:function(t,e){Dt(t);for(var r,n=B(e),o=or(e),i=o.length,a=0;i>a;)zt.f(t,r=o[a++],n[r]);return t}},ar=G("document","documentElement"),ur=Zt("IE_PROTO"),cr=function(){},fr=function(t){return"<script>"+t+"<\/script>"},sr=function(t){t.write(fr("")),t.close();var e=t.parentWindow.Object;return t=null,e},lr=function(){try{Ge=new ActiveXObject("htmlfile")}catch(t){}var t,e;lr="undefined"!=typeof document?document.domain&&Ge?sr(Ge):((e=kt("iframe")).style.display="none",ar.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(fr("document.F=Object")),t.close(),t.F):sr(Ge);for(var r=je.length;r--;)delete lr.prototype[je[r]];return lr()};te[ur]=!0;var dr,pr,hr=Object.create||function(t,e){var r;return null!==t?(cr.prototype=Dt(t),r=new cr,cr.prototype=null,r[ur]=t):r=lr(),void 0===e?r:ir.f(r,e)},vr=b.RegExp,yr=m((function(){var t=vr(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),gr=b.RegExp,br=m((function(){var t=gr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),mr=ce.get,wr=dt("native-string-replace",String.prototype.replace),xr=RegExp.prototype.exec,Ar=xr,Er=k("".charAt),Tr=k("".indexOf),Sr=k("".replace),Or=k("".slice),Rr=(pr=/b*/g,E(xr,dr=/a/,"a"),E(xr,pr,"a"),0!==dr.lastIndex||0!==pr.lastIndex),jr=nr.BROKEN_CARET,Ir=void 0!==/()??/.exec("")[1];(Rr||Ir||jr||yr||br)&&(Ar=function(t){var e,r,n,o,i,a,u,c=this,f=mr(c),s=Qe(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=E(Ar,l,s),c.lastIndex=l.lastIndex,e;var d=f.groups,p=jr&&c.sticky,h=E(Ze,c),v=c.source,y=0,g=s;if(p&&(h=Sr(h,"y",""),-1===Tr(h,"g")&&(h+="g"),g=Or(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Er(s,c.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,y++),r=new RegExp("^(?:"+v+")",h)),Ir&&(r=new RegExp("^"+v+"$(?!\\s)",h)),Rr&&(n=c.lastIndex),o=E(xr,p?r:c,g),p?o?(o.input=Or(o.input,y),o[0]=Or(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Rr&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Ir&&o&&o.length>1&&E(wr,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=hr(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var _r=Ar;ze({target:"RegExp",proto:!0,forced:/./.exec!==_r},{exec:_r});var Pr=Function.prototype,kr=Pr.apply,Mr=Pr.call,Cr="object"==typeof Reflect&&Reflect.apply||(x?Mr.bind(kr):function(){return Mr.apply(kr,arguments)}),Lr=St("species"),$r=RegExp.prototype,Ur=function(t,e,r,n){var o=St(t),i=!m((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!m((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Lr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=k(/./[o]),c=e(o,""[t],(function(t,e,r,n,o){var a=k(t),c=e.exec;return c===_r||c===$r.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));pe(String.prototype,t,c[0]),pe($r,o,c[1])}n&&Yt($r[o],"sham",!0)},Nr=St("match"),Dr=function(t){var e;return z(t)&&(void 0!==(e=t[Nr])?!!e:"RegExp"==L(t))},Fr=function(){},Br=[],Wr=G("Reflect","construct"),zr=/^\s*(?:class|function)\b/,Yr=k(zr.exec),Gr=!zr.exec(Fr),Vr=function(t){if(!W(t))return!1;try{return Wr(Fr,Br,t),!0}catch(t){return!1}},qr=function(t){if(!W(t))return!1;switch(Je(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Gr||!!Yr(zr,Kt(t))}catch(t){return!0}};qr.sham=!0;var Hr=!Wr||m((function(){var t;return Vr(Vr.call)||!Vr(Object)||!Vr((function(){t=!0}))||t}))?qr:Vr,Kr=b.TypeError,Jr=function(t){if(Hr(t))return t;throw Kr(ot(t)+" is not a constructor")},Xr=St("species"),Qr=function(t,e){var r,n=Dt(t).constructor;return void 0===n||null==(r=Dt(n)[Xr])?e:Jr(r)},Zr=k("".charAt),tn=k("".charCodeAt),en=k("".slice),rn=function(t){return function(e,r){var n,o,i=Qe(F(e)),a=ye(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=tn(i,a))<55296||n>56319||a+1===u||(o=tn(i,a+1))<56320||o>57343?t?Zr(i,a):n:t?en(i,a,a+2):o-56320+(n-55296<<10)+65536}},nn={codeAt:rn(!1),charAt:rn(!0)},on=nn.charAt,an=function(t,e,r){return e+(r?on(t,e).length:1)},un=function(t,e,r){var n=It(e);n in t?zt.f(t,n,R(0,r)):t[n]=r},cn=b.Array,fn=Math.max,sn=function(t,e,r){for(var n=Ae(t),o=me(e,n),i=me(void 0===r?n:r,n),a=cn(fn(i-o,0)),u=0;o<i;o++,u++)un(a,u,t[o]);return a.length=u,a},ln=b.TypeError,dn=function(t,e){var r=t.exec;if(W(r)){var n=E(r,t,e);return null!==n&&Dt(n),n}if("RegExp"===L(t))return E(_r,t,e);throw ln("RegExp#exec called on incompatible receiver")},pn=nr.UNSUPPORTED_Y,hn=Math.min,vn=[].push,yn=k(/./.exec),gn=k(vn),bn=k("".slice);Ur("split",(function(t,e,r){var n;return n="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,r){var n=Qe(F(this)),o=void 0===r?4294967295:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Dr(t))return E(e,n,t,o);for(var i,a,u,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=E(_r,l,n))&&!((a=l.lastIndex)>s&&(gn(c,bn(n,s,i.index)),i.length>1&&i.index<n.length&&Cr(vn,c,sn(i,1)),u=i[0].length,s=a,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===n.length?!u&&yn(l,"")||gn(c,""):gn(c,bn(n,s)),c.length>o?sn(c,0,o):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:E(e,this,t,r)}:e,[function(e,r){var o=F(this),i=null==e?void 0:ut(e,t);return i?E(i,e,o,r):E(n,Qe(o),e,r)},function(t,o){var i=Dt(this),a=Qe(t),u=r(n,i,a,o,n!==e);if(u.done)return u.value;var c=Qr(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(pn?"g":"y"),l=new c(pn?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===dn(l,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){l.lastIndex=pn?0:h;var y,g=dn(l,pn?bn(a,h):a);if(null===g||(y=hn(xe(l.lastIndex+(pn?h:0)),a.length))===p)h=an(a,h,f);else{if(gn(v,bn(a,p,h)),v.length===d)return v;for(var b=1;b<=g.length-1;b++)if(gn(v,g[b]),v.length===d)return v;h=p=y}}return gn(v,bn(a,p)),v}]}),!!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),pn);var mn=Ve?{}.toString:function(){return"[object "+Je(this)+"]"};Ve||pe(Object.prototype,"toString",mn,{unsafe:!0});var wn=k([].slice),xn=b.Function,An=k([].concat),En=k([].join),Tn={},Sn=function(t,e,r){if(!yt(Tn,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Tn[e]=xn("C,a","return new C("+En(n,",")+")")}return Tn[e](t,r)},On=x?xn.bind:function(t){var e=at(this),r=e.prototype,n=wn(arguments,1),o=function(){var r=An(n,wn(arguments));return this instanceof o?Sn(e,r.length,r):e.apply(t,r)};return z(r)&&(o.prototype=r),o},Rn=G("Reflect","construct"),jn=Object.prototype,In=[].push,_n=m((function(){function t(){}return!(Rn((function(){}),[],t)instanceof t)})),Pn=!m((function(){Rn((function(){}))})),kn=_n||Pn;function Mn(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}ze({target:"Reflect",stat:!0,forced:kn,sham:kn},{construct:function(t,e){Jr(t),Dt(e);var r=arguments.length<3?t:Jr(arguments[2]);if(Pn&&!_n)return Rn(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Cr(In,n,e),new(Cr(On,t,n))}var o=r.prototype,i=hr(z(o)?o:jn),a=Cr(t,i,e);return z(a)?a:i}});var Cn={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},Ln=kt("span").classList,$n=Ln&&Ln.constructor&&Ln.constructor.prototype,Un=$n===Object.prototype?void 0:$n,Nn=k(k.bind),Dn=function(t,e){return at(t),void 0===e?t:x?Nn(t,e):function(){return t.apply(e,arguments)}},Fn=Array.isArray||function(t){return"Array"==L(t)},Bn=St("species"),Wn=b.Array,zn=function(t,e){return new(function(t){var e;return Fn(t)&&(e=t.constructor,(Hr(e)&&(e===Wn||Fn(e.prototype))||z(e)&&null===(e=e[Bn]))&&(e=void 0)),void 0===e?Wn:e}(t))(0===e?0:e)},Yn=k([].push),Gn=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var d,p,h=ht(c),v=N(h),y=Dn(f,s),g=Ae(v),b=0,m=l||zn,w=e?m(c,g):r||a?m(c,0):void 0;g>b;b++)if((u||b in v)&&(p=y(d=v[b],b,h),t))if(e)w[b]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return b;case 2:Yn(w,d)}else switch(t){case 4:return!1;case 7:Yn(w,d)}return i?-1:n||o?o:w}},Vn={forEach:Gn(0),map:Gn(1),filter:Gn(2),some:Gn(3),every:Gn(4),find:Gn(5),findIndex:Gn(6),filterReject:Gn(7)},qn=function(t,e){var r=[][t];return!!r&&m((function(){r.call(null,e||function(){throw 1},1)}))},Hn=Vn.forEach,Kn=qn("forEach")?[].forEach:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)},Jn=function(t){if(t&&t.forEach!==Kn)try{Yt(t,"forEach",Kn)}catch(e){t.forEach=Kn}};for(var Xn in Cn)Cn[Xn]&&Jn(b[Xn]&&b[Xn].prototype);Jn(Un);var Qn=m((function(){or(1)}));ze({target:"Object",stat:!0,forced:Qn},{keys:function(t){return or(ht(t))}});var Zn=St("species"),to=function(t){return Q>=51||!m((function(){var e=[];return(e.constructor={})[Zn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},eo=to("slice"),ro=St("species"),no=b.Array,oo=Math.max;ze({target:"Array",proto:!0,forced:!eo},{slice:function(t,e){var r,n,o,i=B(this),a=Ae(i),u=me(t,a),c=me(void 0===e?a:e,a);if(Fn(i)&&(r=i.constructor,(Hr(r)&&(r===no||Fn(r.prototype))||z(r)&&null===(r=r[ro]))&&(r=void 0),r===no||void 0===r))return wn(i,u,c);for(n=new(void 0===r?no:r)(oo(c-u,0)),o=0;u<c;u++,o++)u in i&&un(n,o,i[u]);return n.length=o,n}});var io=St("unscopables"),ao=Array.prototype;null==ao[io]&&zt.f(ao,io,{configurable:!0,value:hr(null)});var uo,co,fo,so=function(t){ao[io][t]=!0},lo={},po=!m((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ho=Zt("IE_PROTO"),vo=b.Object,yo=vo.prototype,go=po?vo.getPrototypeOf:function(t){var e=ht(t);if(yt(e,ho))return e[ho];var r=e.constructor;return W(r)&&e instanceof r?r.prototype:e instanceof vo?yo:null},bo=St("iterator"),mo=!1;[].keys&&("next"in(fo=[].keys())?(co=go(go(fo)))!==Object.prototype&&(uo=co):mo=!0),(null==uo||m((function(){var t={};return uo[bo].call(t)!==t})))&&(uo={}),W(uo[bo])||pe(uo,bo,(function(){return this}));var wo={IteratorPrototype:uo,BUGGY_SAFARI_ITERATORS:mo},xo=zt.f,Ao=St("toStringTag"),Eo=function(t,e,r){t&&!r&&(t=t.prototype),t&&!yt(t,Ao)&&xo(t,Ao,{configurable:!0,value:e})},To=wo.IteratorPrototype,So=function(){return this},Oo=b.String,Ro=b.TypeError,jo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=k(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Dt(r),function(t){if("object"==typeof t||W(t))return t;throw Ro("Can't set "+Oo(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Io=de.PROPER,_o=de.CONFIGURABLE,Po=wo.IteratorPrototype,ko=wo.BUGGY_SAFARI_ITERATORS,Mo=St("iterator"),Co=function(){return this},Lo=function(t,e,r,n,o,i,a){!function(t,e,r,n){var o=e+" Iterator";t.prototype=hr(To,{next:R(+!n,r)}),Eo(t,o,!1),lo[o]=So}(r,e,n);var u,c,f,s=function(t){if(t===o&&v)return v;if(!ko&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",d=!1,p=t.prototype,h=p[Mo]||p["@@iterator"]||o&&p[o],v=!ko&&h||s(o),y="Array"==e&&p.entries||h;if(y&&(u=go(y.call(new t)))!==Object.prototype&&u.next&&(go(u)!==Po&&(jo?jo(u,Po):W(u[Mo])||pe(u,Mo,Co)),Eo(u,l,!0)),Io&&"values"==o&&h&&"values"!==h.name&&(_o?Yt(p,"name","values"):(d=!0,v=function(){return E(h,this)})),o)if(c={values:s("values"),keys:i?v:s("keys"),entries:s("entries")},a)for(f in c)(ko||d||!(f in p))&&pe(p,f,c[f]);else ze({target:e,proto:!0,forced:ko||d},c);return p[Mo]!==v&&pe(p,Mo,v,{name:o}),lo[e]=v,c},$o=zt.f,Uo=ce.set,No=ce.getterFor("Array Iterator"),Do=Lo(Array,"Array",(function(t,e){Uo(this,{type:"Array Iterator",target:B(t),index:0,kind:e})}),(function(){var t=No(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),Fo=lo.Arguments=lo.Array;if(so("keys"),so("values"),so("entries"),w&&"values"!==Fo.name)try{$o(Fo,"name",{value:"values"})}catch(t){}var Bo=_e.f,Wo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zo={f:function(t){return Wo&&"Window"==L(t)?function(t){try{return Bo(t)}catch(t){return sn(Wo)}}(t):Bo(B(t))}},Yo=m((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),Go=Object.isExtensible,Vo=m((function(){Go(1)}))||Yo?function(t){return!!z(t)&&((!Yo||"ArrayBuffer"!=L(t))&&(!Go||Go(t)))}:Go,qo=!m((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ho=h((function(t){var e=zt.f,r=!1,n=wt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=_e.f,e=k([].splice),o={};o[n]=1,t(o).length&&(_e.f=function(r){for(var o=t(r),i=0,a=o.length;i<a;i++)if(o[i]===n){e(o,i,1);break}return o},ze({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:zo.f}))},fastKey:function(t,e){if(!z(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!yt(t,n)){if(!Vo(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!yt(t,n)){if(!Vo(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return qo&&r&&Vo(t)&&!yt(t,n)&&i(t),t}};te[n]=!0}));Ho.enable,Ho.fastKey,Ho.getWeakData,Ho.onFreeze;var Ko=St("iterator"),Jo=Array.prototype,Xo=function(t){return void 0!==t&&(lo.Array===t||Jo[Ko]===t)},Qo=St("iterator"),Zo=function(t){if(null!=t)return ut(t,Qo)||ut(t,"@@iterator")||lo[Je(t)]},ti=b.TypeError,ei=function(t,e){var r=arguments.length<2?Zo(t):e;if(at(r))return Dt(E(r,t));throw ti(ot(t)+" is not iterable")},ri=function(t,e,r){var n,o;Dt(t);try{if(!(n=ut(t,"return"))){if("throw"===e)throw r;return r}n=E(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Dt(n),r},ni=b.TypeError,oi=function(t,e){this.stopped=t,this.result=e},ii=oi.prototype,ai=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),h=Dn(e,s),v=function(t){return n&&ri(n,"normal",t),new oi(!0,t)},y=function(t){return l?(Dt(t),p?h(t[0],t[1],v):h(t[0],t[1])):p?h(t,v):h(t)};if(d)n=t;else{if(!(o=Zo(t)))throw ni(ot(t)+" is not iterable");if(Xo(o)){for(i=0,a=Ae(t);a>i;i++)if((u=y(t[i]))&&V(ii,u))return u;return new oi(!1)}n=ei(t,o)}for(c=n.next;!(f=E(c,n)).done;){try{u=y(f.value)}catch(t){ri(n,"throw",t)}if("object"==typeof u&&u&&V(ii,u))return u}return new oi(!1)},ui=b.TypeError,ci=function(t,e){if(V(e,t))return t;throw ui("Incorrect invocation")},fi=St("iterator"),si=!1;try{var li=0,di={next:function(){return{done:!!li++}},return:function(){si=!0}};di[fi]=function(){return this},Array.from(di,(function(){throw 2}))}catch(t){}var pi=function(t,e){if(!e&&!si)return!1;var r=!1;try{var n={};n[fi]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},hi=function(t,e,r){var n,o;return jo&&W(n=e.constructor)&&n!==r&&z(o=n.prototype)&&o!==r.prototype&&jo(t,o),t},vi=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",a=b[t],u=a&&a.prototype,c=a,f={},s=function(t){var e=k(u[t]);pe(u,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!z(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return o&&!z(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!z(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Be(t,!W(a)||!(o||u.forEach&&!m((function(){(new a).entries().next()})))))c=r.getConstructor(e,t,n,i),Ho.enable();else if(Be(t,!0)){var l=new c,d=l[i](o?{}:-0,1)!=l,p=m((function(){l.has(1)})),h=pi((function(t){new a(t)})),v=!o&&m((function(){for(var t=new a,e=5;e--;)t[i](e,e);return!t.has(-0)}));h||((c=e((function(t,e){ci(t,u);var r=hi(new a,t,c);return null!=e&&ai(e,r[i],{that:r,AS_ENTRIES:n}),r}))).prototype=u,u.constructor=c),(p||v)&&(s("delete"),s("has"),n&&s("get")),(v||d)&&s(i),o&&u.clear&&delete u.clear}return f[t]=c,ze({global:!0,forced:c!=a},f),Eo(c,t),o||r.setStrong(c,t,n),c},yi=function(t,e,r){for(var n in e)pe(t,n,e[n],r);return t},gi=St("species"),bi=function(t){var e=G(t),r=zt.f;w&&e&&!e[gi]&&r(e,gi,{configurable:!0,get:function(){return this}})},mi=zt.f,wi=Ho.fastKey,xi=ce.set,Ai=ce.getterFor,Ei={getConstructor:function(t,e,r,n){var o=t((function(t,o){ci(t,i),xi(t,{type:e,index:hr(null),first:void 0,last:void 0,size:0}),w||(t.size=0),null!=o&&ai(o,t[n],{that:t,AS_ENTRIES:r})})),i=o.prototype,a=Ai(e),u=function(t,e,r){var n,o,i=a(t),u=c(t,e);return u?u.value=r:(i.last=u={index:o=wi(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),w?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},c=function(t,e){var r,n=a(t),o=wi(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return yi(i,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,w?t.size=0:this.size=0},delete:function(t){var e=a(this),r=c(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),w?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=a(this),n=Dn(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),yi(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),w&&mi(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=Ai(e),i=Ai(n);Lo(t,e,(function(t,e){xi(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),bi(e)}};vi("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ei);var Ti=nn.charAt,Si=ce.set,Oi=ce.getterFor("String Iterator");Lo(String,"String",(function(t){Si(this,{type:"String Iterator",string:Qe(t),index:0})}),(function(){var t,e=Oi(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Ti(r,n),e.index+=t.length,{value:t,done:!1})}));var Ri=St("iterator"),ji=St("toStringTag"),Ii=Do.values,_i=function(t,e){if(t){if(t[Ri]!==Ii)try{Yt(t,Ri,Ii)}catch(e){t[Ri]=Ii}if(t[ji]||Yt(t,ji,e),Cn[e])for(var r in Do)if(t[r]!==Do[r])try{Yt(t,r,Do[r])}catch(e){t[r]=Do[r]}}};for(var Pi in Cn)_i(b[Pi]&&b[Pi].prototype,Pi);_i(Un,"DOMTokenList");var ki=St("isConcatSpreadable"),Mi=b.TypeError,Ci=Q>=51||!m((function(){var t=[];return t[ki]=!1,t.concat()[0]!==t})),Li=to("concat"),$i=function(t){if(!z(t))return!1;var e=t[ki];return void 0!==e?!!e:Fn(t)};ze({target:"Array",proto:!0,forced:!Ci||!Li},{concat:function(t){var e,r,n,o,i,a=ht(this),u=zn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if($i(i=-1===e?a:arguments[e])){if(c+(o=Ae(i))>9007199254740991)throw Mi("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in i&&un(u,c,i[r])}else{if(c>=9007199254740991)throw Mi("Maximum allowed index exceeded");un(u,c++,i)}return u.length=c,u}});var Ui,Ni,Di,Fi,Bi=b.Promise,Wi=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),zi="process"==L(b.process),Yi=b.setImmediate,Gi=b.clearImmediate,Vi=b.process,qi=b.Dispatch,Hi=b.Function,Ki=b.MessageChannel,Ji=b.String,Xi=0,Qi={};try{Ui=b.location}catch(t){}var Zi=function(t){if(yt(Qi,t)){var e=Qi[t];delete Qi[t],e()}},ta=function(t){return function(){Zi(t)}},ea=function(t){Zi(t.data)},ra=function(t){b.postMessage(Ji(t),Ui.protocol+"//"+Ui.host)};Yi&&Gi||(Yi=function(t){var e=wn(arguments,1);return Qi[++Xi]=function(){Cr(W(t)?t:Hi(t),void 0,e)},Ni(Xi),Xi},Gi=function(t){delete Qi[t]},zi?Ni=function(t){Vi.nextTick(ta(t))}:qi&&qi.now?Ni=function(t){qi.now(ta(t))}:Ki&&!Wi?(Fi=(Di=new Ki).port2,Di.port1.onmessage=ea,Ni=Dn(Fi.postMessage,Fi)):b.addEventListener&&W(b.postMessage)&&!b.importScripts&&Ui&&"file:"!==Ui.protocol&&!m(ra)?(Ni=ra,b.addEventListener("message",ea,!1)):Ni="onreadystatechange"in kt("script")?function(t){ar.appendChild(kt("script")).onreadystatechange=function(){ar.removeChild(this),Zi(t)}}:function(t){setTimeout(ta(t),0)});var na,oa,ia,aa,ua,ca,fa,sa,la={set:Yi,clear:Gi},da=/ipad|iphone|ipod/i.test(q)&&void 0!==b.Pebble,pa=/web0s(?!.*chrome)/i.test(q),ha=Lt.f,va=la.set,ya=b.MutationObserver||b.WebKitMutationObserver,ga=b.document,ba=b.process,ma=b.Promise,wa=ha(b,"queueMicrotask"),xa=wa&&wa.value;xa||(na=function(){var t,e;for(zi&&(t=ba.domain)&&t.exit();oa;){e=oa.fn,oa=oa.next;try{e()}catch(t){throw oa?aa():ia=void 0,t}}ia=void 0,t&&t.enter()},Wi||zi||pa||!ya||!ga?!da&&ma&&ma.resolve?((fa=ma.resolve(void 0)).constructor=ma,sa=Dn(fa.then,fa),aa=function(){sa(na)}):zi?aa=function(){ba.nextTick(na)}:(va=Dn(va,b),aa=function(){va(na)}):(ua=!0,ca=ga.createTextNode(""),new ya(na).observe(ca,{characterData:!0}),aa=function(){ca.data=ua=!ua}));var Aa=xa||function(t){var e={fn:t,next:void 0};ia&&(ia.next=e),oa||(oa=e,aa()),ia=e},Ea=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=at(e),this.reject=at(r)},Ta={f:function(t){return new Ea(t)}},Sa=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Oa=function(){this.head=null,this.tail=null};Oa.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var Ra,ja,Ia,_a,Pa=Oa,ka="object"==typeof window,Ma=la.set,Ca=St("species"),La="Promise",$a=ce.getterFor(La),Ua=ce.set,Na=ce.getterFor(La),Da=Bi&&Bi.prototype,Fa=Bi,Ba=Da,Wa=b.TypeError,za=b.document,Ya=b.process,Ga=Ta.f,Va=Ga,qa=!!(za&&za.createEvent&&b.dispatchEvent),Ha=W(b.PromiseRejectionEvent),Ka=!1,Ja=Be(La,(function(){var t=Kt(Fa),e=t!==String(Fa);if(!e&&66===Q)return!0;if(Q>=51&&/native code/.test(t))return!1;var r=new Fa((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(r.constructor={})[Ca]=n,!(Ka=r.then((function(){}))instanceof n)||!e&&ka&&!Ha})),Xa=Ja||!pi((function(t){Fa.all(t).catch((function(){}))})),Qa=function(t){var e;return!(!z(t)||!W(e=t.then))&&e},Za=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&ou(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(Wa("Promise-chain cycle")):(n=Qa(r))?E(n,r,c,f):c(r)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},tu=function(t,e){t.notified||(t.notified=!0,Aa((function(){for(var r,n=t.reactions;r=n.get();)Za(r,t);t.notified=!1,e&&!t.rejection&&ru(t)})))},eu=function(t,e,r){var n,o;qa?((n=za.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),b.dispatchEvent(n)):n={promise:e,reason:r},!Ha&&(o=b["on"+t])?o(n):"unhandledrejection"===t&&function(t,e){var r=b.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},ru=function(t){E(Ma,b,(function(){var e,r=t.facade,n=t.value;if(nu(t)&&(e=Sa((function(){zi?Ya.emit("unhandledRejection",n,r):eu("unhandledrejection",r,n)})),t.rejection=zi||nu(t)?2:1,e.error))throw e.value}))},nu=function(t){return 1!==t.rejection&&!t.parent},ou=function(t){E(Ma,b,(function(){var e=t.facade;zi?Ya.emit("rejectionHandled",e):eu("rejectionhandled",e,t.value)}))},iu=function(t,e,r){return function(n){t(e,n,r)}},au=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,tu(t,!0))},uu=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw Wa("Promise can't be resolved itself");var n=Qa(e);n?Aa((function(){var r={done:!1};try{E(n,e,iu(uu,r,t),iu(au,r,t))}catch(e){au(r,e,t)}})):(t.value=e,t.state=1,tu(t,!1))}catch(e){au({done:!1},e,t)}}};if(Ja&&(Ba=(Fa=function(t){ci(this,Ba),at(t),E(Ra,this);var e=$a(this);try{t(iu(uu,e),iu(au,e))}catch(t){au(e,t)}}).prototype,(Ra=function(t){Ua(this,{type:La,done:!1,notified:!1,parent:!1,reactions:new Pa,rejection:!1,state:0,value:void 0})}).prototype=yi(Ba,{then:function(t,e){var r=Na(this),n=Ga(Qr(this,Fa));return r.parent=!0,n.ok=!W(t)||t,n.fail=W(e)&&e,n.domain=zi?Ya.domain:void 0,0==r.state?r.reactions.add(n):Aa((function(){Za(n,r)})),n.promise},catch:function(t){return this.then(void 0,t)}}),ja=function(){var t=new Ra,e=$a(t);this.promise=t,this.resolve=iu(uu,e),this.reject=iu(au,e)},Ta.f=Ga=function(t){return t===Fa||t===Ia?new ja(t):Va(t)},W(Bi)&&Da!==Object.prototype)){_a=Da.then,Ka||(pe(Da,"then",(function(t,e){var r=this;return new Fa((function(t,e){E(_a,r,t,e)})).then(t,e)}),{unsafe:!0}),pe(Da,"catch",Ba.catch,{unsafe:!0}));try{delete Da.constructor}catch(t){}jo&&jo(Da,Ba)}ze({global:!0,wrap:!0,forced:Ja},{Promise:Fa}),Eo(Fa,La,!1),bi(La),Ia=G(La),ze({target:La,stat:!0,forced:Ja},{reject:function(t){var e=Ga(this);return E(e.reject,void 0,t),e.promise}}),ze({target:La,stat:!0,forced:Ja},{resolve:function(t){return function(t,e){if(Dt(t),z(e)&&e.constructor===t)return e;var r=Ta.f(t);return(0,r.resolve)(e),r.promise}(this,t)}}),ze({target:La,stat:!0,forced:Xa},{all:function(t){var e=this,r=Ga(e),n=r.resolve,o=r.reject,i=Sa((function(){var r=at(e.resolve),i=[],a=0,u=1;ai(t,(function(t){var c=a++,f=!1;u++,E(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Ga(e),n=r.reject,o=Sa((function(){var o=at(e.resolve);ai(t,(function(t){E(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var cu,fu,su,lu="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,du=zt.f,pu=b.Int8Array,hu=pu&&pu.prototype,vu=b.Uint8ClampedArray,yu=vu&&vu.prototype,gu=pu&&go(pu),bu=hu&&go(hu),mu=Object.prototype,wu=b.TypeError,xu=St("toStringTag"),Au=wt("TYPED_ARRAY_TAG"),Eu=wt("TYPED_ARRAY_CONSTRUCTOR"),Tu=lu&&!!jo&&"Opera"!==Je(b.opera),Su=!1,Ou={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ru={BigInt64Array:8,BigUint64Array:8},ju=function(t){if(!z(t))return!1;var e=Je(t);return yt(Ou,e)||yt(Ru,e)};for(cu in Ou)(su=(fu=b[cu])&&fu.prototype)?Yt(su,Eu,fu):Tu=!1;for(cu in Ru)(su=(fu=b[cu])&&fu.prototype)&&Yt(su,Eu,fu);if((!Tu||!W(gu)||gu===Function.prototype)&&(gu=function(){throw wu("Incorrect invocation")},Tu))for(cu in Ou)b[cu]&&jo(b[cu],gu);if((!Tu||!bu||bu===mu)&&(bu=gu.prototype,Tu))for(cu in Ou)b[cu]&&jo(b[cu].prototype,bu);if(Tu&&go(yu)!==bu&&jo(yu,bu),w&&!yt(bu,xu))for(cu in Su=!0,du(bu,xu,{get:function(){return z(this)?this[Au]:void 0}}),Ou)b[cu]&&Yt(b[cu],Au,cu);var Iu={NATIVE_ARRAY_BUFFER_VIEWS:Tu,TYPED_ARRAY_CONSTRUCTOR:Eu,TYPED_ARRAY_TAG:Su&&Au,aTypedArray:function(t){if(ju(t))return t;throw wu("Target is not a typed array")},aTypedArrayConstructor:function(t){if(W(t)&&(!jo||V(gu,t)))return t;throw wu(ot(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(w){if(r)for(var o in Ou){var i=b[o];if(i&&yt(i.prototype,t))try{delete i.prototype[t]}catch(r){try{i.prototype[t]=e}catch(t){}}}bu[t]&&!r||pe(bu,t,r?e:Tu&&hu[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(w){if(jo){if(r)for(n in Ou)if((o=b[n])&&yt(o,t))try{delete o[t]}catch(t){}if(gu[t]&&!r)return;try{return pe(gu,t,r?e:Tu&&gu[t]||e)}catch(t){}}for(n in Ou)!(o=b[n])||o[t]&&!r||pe(o,t,e)}},isView:function(t){if(!z(t))return!1;var e=Je(t);return"DataView"===e||yt(Ou,e)||yt(Ru,e)},isTypedArray:ju,TypedArray:gu,TypedArrayPrototype:bu},_u=Iu.NATIVE_ARRAY_BUFFER_VIEWS,Pu=b.ArrayBuffer,ku=b.Int8Array,Mu=!_u||!m((function(){ku(1)}))||!m((function(){new ku(-1)}))||!pi((function(t){new ku,new ku(null),new ku(1.5),new ku(t)}),!0)||m((function(){return 1!==new ku(new Pu(2),1,void 0).length})),Cu=b.RangeError,Lu=function(t){if(void 0===t)return 0;var e=ye(t),r=xe(e);if(e!==r)throw Cu("Wrong length or index");return r},$u=b.Array,Uu=Math.abs,Nu=Math.pow,Du=Math.floor,Fu=Math.log,Bu=Math.LN2,Wu=function(t,e,r){var n,o,i,a=$u(r),u=8*r-e-1,c=(1<<u)-1,f=c>>1,s=23===e?Nu(2,-24)-Nu(2,-77):0,l=t<0||0===t&&1/t<0?1:0,d=0;for((t=Uu(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=Du(Fu(t)/Bu),t*(i=Nu(2,-n))<1&&(n--,i*=2),(t+=n+f>=1?s/i:s*Nu(2,1-f))*i>=2&&(n++,i/=2),n+f>=c?(o=0,n=c):n+f>=1?(o=(t*i-1)*Nu(2,e),n+=f):(o=t*Nu(2,f-1)*Nu(2,e),n=0));e>=8;)a[d++]=255&o,o/=256,e-=8;for(n=n<<e|o,u+=e;u>0;)a[d++]=255&n,n/=256,u-=8;return a[--d]|=128*l,a},zu=function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,f=t[c--],s=127&f;for(f>>=7;u>0;)s=256*s+t[c--],u-=8;for(r=s&(1<<-u)-1,s>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===s)s=1-a;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=Nu(2,e),s-=a}return(f?-1:1)*r*Nu(2,s-e)},Yu=function(t){for(var e=ht(this),r=Ae(e),n=arguments.length,o=me(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:me(i,r);a>o;)e[o++]=t;return e},Gu=_e.f,Vu=zt.f,qu=de.PROPER,Hu=de.CONFIGURABLE,Ku=ce.get,Ju=ce.set,Xu=b.ArrayBuffer,Qu=Xu,Zu=Qu&&Qu.prototype,tc=b.DataView,ec=tc&&tc.prototype,rc=Object.prototype,nc=b.Array,oc=b.RangeError,ic=k(Yu),ac=k([].reverse),uc=Wu,cc=zu,fc=function(t){return[255&t]},sc=function(t){return[255&t,t>>8&255]},lc=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},dc=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},pc=function(t){return uc(t,23,4)},hc=function(t){return uc(t,52,8)},vc=function(t,e){Vu(t.prototype,e,{get:function(){return Ku(this)[e]}})},yc=function(t,e,r,n){var o=Lu(r),i=Ku(t);if(o+e>i.byteLength)throw oc("Wrong index");var a=Ku(i.buffer).bytes,u=o+i.byteOffset,c=sn(a,u,u+e);return n?c:ac(c)},gc=function(t,e,r,n,o,i){var a=Lu(r),u=Ku(t);if(a+e>u.byteLength)throw oc("Wrong index");for(var c=Ku(u.buffer).bytes,f=a+u.byteOffset,s=n(+o),l=0;l<e;l++)c[f+l]=s[i?l:e-l-1]};if(lu){var bc=qu&&"ArrayBuffer"!==Xu.name;if(m((function(){Xu(1)}))&&m((function(){new Xu(-1)}))&&!m((function(){return new Xu,new Xu(1.5),new Xu(NaN),bc&&!Hu})))bc&&Hu&&Yt(Xu,"name","ArrayBuffer");else{(Qu=function(t){return ci(this,Zu),new Xu(Lu(t))}).prototype=Zu;for(var mc,wc=Gu(Xu),xc=0;wc.length>xc;)(mc=wc[xc++])in Qu||Yt(Qu,mc,Xu[mc]);Zu.constructor=Qu}jo&&go(ec)!==rc&&jo(ec,rc);var Ac=new tc(new Qu(2)),Ec=k(ec.setInt8);Ac.setInt8(0,2147483648),Ac.setInt8(1,2147483649),!Ac.getInt8(0)&&Ac.getInt8(1)||yi(ec,{setInt8:function(t,e){Ec(this,t,e<<24>>24)},setUint8:function(t,e){Ec(this,t,e<<24>>24)}},{unsafe:!0})}else Zu=(Qu=function(t){ci(this,Zu);var e=Lu(t);Ju(this,{bytes:ic(nc(e),0),byteLength:e}),w||(this.byteLength=e)}).prototype,ec=(tc=function(t,e,r){ci(this,ec),ci(t,Zu);var n=Ku(t).byteLength,o=ye(e);if(o<0||o>n)throw oc("Wrong offset");if(o+(r=void 0===r?n-o:xe(r))>n)throw oc("Wrong length");Ju(this,{buffer:t,byteLength:r,byteOffset:o}),w||(this.buffer=t,this.byteLength=r,this.byteOffset=o)}).prototype,w&&(vc(Qu,"byteLength"),vc(tc,"buffer"),vc(tc,"byteLength"),vc(tc,"byteOffset")),yi(ec,{getInt8:function(t){return yc(this,1,t)[0]<<24>>24},getUint8:function(t){return yc(this,1,t)[0]},getInt16:function(t){var e=yc(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=yc(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return dc(yc(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return dc(yc(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return cc(yc(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return cc(yc(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){gc(this,1,t,fc,e)},setUint8:function(t,e){gc(this,1,t,fc,e)},setInt16:function(t,e){gc(this,2,t,sc,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){gc(this,2,t,sc,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){gc(this,4,t,lc,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){gc(this,4,t,lc,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){gc(this,4,t,pc,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){gc(this,8,t,hc,e,arguments.length>2?arguments[2]:void 0)}});Eo(Qu,"ArrayBuffer"),Eo(tc,"DataView");var Tc={ArrayBuffer:Qu,DataView:tc},Sc=Math.floor,Oc=Number.isInteger||function(t){return!z(t)&&isFinite(t)&&Sc(t)===t},Rc=b.RangeError,jc=b.RangeError,Ic=function(t,e){var r=function(t){var e=ye(t);if(e<0)throw Rc("The argument can't be less than 0");return e}(t);if(r%e)throw jc("Wrong offset");return r},_c=Iu.aTypedArrayConstructor,Pc=function(t){var e,r,n,o,i,a,u=Jr(this),c=ht(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,d=Zo(c);if(d&&!Xo(d))for(a=(i=ei(c,d)).next,c=[];!(o=E(a,i)).done;)c.push(o.value);for(l&&f>2&&(s=Dn(s,arguments[2])),r=Ae(c),n=new(_c(u))(r),e=0;r>e;e++)n[e]=l?s(c[e],e):c[e];return n};h((function(t){var e=_e.f,r=Vn.forEach,n=ce.get,o=ce.set,i=zt.f,a=Lt.f,u=Math.round,c=b.RangeError,f=Tc.ArrayBuffer,s=f.prototype,l=Tc.DataView,d=Iu.NATIVE_ARRAY_BUFFER_VIEWS,p=Iu.TYPED_ARRAY_CONSTRUCTOR,h=Iu.TYPED_ARRAY_TAG,v=Iu.TypedArray,y=Iu.TypedArrayPrototype,g=Iu.aTypedArrayConstructor,m=Iu.isTypedArray,x=function(t,e){g(t);for(var r=0,n=e.length,o=new t(n);n>r;)o[r]=e[r++];return o},A=function(t,e){i(t,e,{get:function(){return n(this)[e]}})},T=function(t){var e;return V(s,t)||"ArrayBuffer"==(e=Je(t))||"SharedArrayBuffer"==e},S=function(t,e){return m(t)&&!rt(e)&&e in t&&Oc(+e)&&e>=0},O=function(t,e){return e=It(e),S(t,e)?R(2,t[e]):a(t,e)},j=function(t,e,r){return e=It(e),!(S(t,e)&&z(r)&&yt(r,"value"))||yt(r,"get")||yt(r,"set")||r.configurable||yt(r,"writable")&&!r.writable||yt(r,"enumerable")&&!r.enumerable?i(t,e,r):(t[e]=r.value,t)};w?(d||(Lt.f=O,zt.f=j,A(y,"buffer"),A(y,"byteOffset"),A(y,"byteLength"),A(y,"length")),ze({target:"Object",stat:!0,forced:!d},{getOwnPropertyDescriptor:O,defineProperty:j}),t.exports=function(t,a,s){var g=t.match(/\d+$/)[0]/8,w=t+(s?"Clamped":"")+"Array",A="get"+t,S="set"+t,O=b[w],R=O,j=R&&R.prototype,I={},_=function(t,e){i(t,e,{get:function(){return function(t,e){var r=n(t);return r.view[A](e*g+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var o=n(t);s&&(r=(r=u(r))<0?0:r>255?255:255&r),o.view[S](e*g+o.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};d?Mu&&(R=a((function(t,e,r,n){return ci(t,j),hi(z(e)?T(e)?void 0!==n?new O(e,Ic(r,g),n):void 0!==r?new O(e,Ic(r,g)):new O(e):m(e)?x(R,e):E(Pc,R,e):new O(Lu(e)),t,R)})),jo&&jo(R,v),r(e(O),(function(t){t in R||Yt(R,t,O[t])})),R.prototype=j):(R=a((function(t,e,r,n){ci(t,j);var i,a,u,s=0,d=0;if(z(e)){if(!T(e))return m(e)?x(R,e):E(Pc,R,e);i=e,d=Ic(r,g);var p=e.byteLength;if(void 0===n){if(p%g)throw c("Wrong length");if((a=p-d)<0)throw c("Wrong length")}else if((a=xe(n)*g)+d>p)throw c("Wrong length");u=a/g}else u=Lu(e),i=new f(a=u*g);for(o(t,{buffer:i,byteOffset:d,byteLength:a,length:u,view:new l(i)});s<u;)_(t,s++)})),jo&&jo(R,v),j=R.prototype=hr(y)),j.constructor!==R&&Yt(j,"constructor",R),Yt(j,p,R),h&&Yt(j,h,w),I[w]=R,ze({global:!0,forced:R!=O,sham:!d},I),"BYTES_PER_ELEMENT"in R||Yt(R,"BYTES_PER_ELEMENT",g),"BYTES_PER_ELEMENT"in j||Yt(j,"BYTES_PER_ELEMENT",g),bi(w)}):t.exports=function(){}}))("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}));var kc=Math.min,Mc=k([].copyWithin||function(t,e){var r=ht(this),n=Ae(r),o=me(t,n),i=me(e,n),a=arguments.length>2?arguments[2]:void 0,u=kc((void 0===a?n:me(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=c,i+=c;return r}),Cc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("copyWithin",(function(t,e){return Mc(Cc(this),t,e,arguments.length>2?arguments[2]:void 0)}));var Lc=Vn.every,$c=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("every",(function(t){return Lc($c(this),t,arguments.length>1?arguments[1]:void 0)}));var Uc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("fill",(function(t){var e=arguments.length;return E(Yu,Uc(this),t,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}));var Nc=Iu.TYPED_ARRAY_CONSTRUCTOR,Dc=Iu.aTypedArrayConstructor,Fc=function(t){return Dc(Qr(t,t[Nc]))},Bc=function(t,e){return function(t,e){for(var r=0,n=Ae(e),o=new t(n);n>r;)o[r]=e[r++];return o}(Fc(t),e)},Wc=Vn.filter,zc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("filter",(function(t){var e=Wc(zc(this),t,arguments.length>1?arguments[1]:void 0);return Bc(this,e)}));var Yc=Vn.find,Gc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("find",(function(t){return Yc(Gc(this),t,arguments.length>1?arguments[1]:void 0)}));var Vc=Vn.findIndex,qc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("findIndex",(function(t){return Vc(qc(this),t,arguments.length>1?arguments[1]:void 0)}));var Hc=Vn.forEach,Kc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("forEach",(function(t){Hc(Kc(this),t,arguments.length>1?arguments[1]:void 0)}));var Jc=Te.includes,Xc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("includes",(function(t){return Jc(Xc(this),t,arguments.length>1?arguments[1]:void 0)}));var Qc=Te.indexOf,Zc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("indexOf",(function(t){return Qc(Zc(this),t,arguments.length>1?arguments[1]:void 0)}));var tf=St("iterator"),ef=b.Uint8Array,rf=k(Do.values),nf=k(Do.keys),of=k(Do.entries),af=Iu.aTypedArray,uf=Iu.exportTypedArrayMethod,cf=ef&&ef.prototype,ff=!m((function(){cf[tf].call([1])})),sf=!!cf&&cf.values&&cf[tf]===cf.values&&"values"===cf.values.name,lf=function(){return rf(af(this))};uf("entries",(function(){return of(af(this))}),ff),uf("keys",(function(){return nf(af(this))}),ff),uf("values",lf,ff||!sf,{name:"values"}),uf(tf,lf,ff||!sf,{name:"values"});var df=Iu.aTypedArray,pf=Iu.exportTypedArrayMethod,hf=k([].join);pf("join",(function(t){return hf(df(this),t)}));var vf=Math.min,yf=[].lastIndexOf,gf=!!yf&&1/[1].lastIndexOf(1,-0)<0,bf=qn("lastIndexOf"),mf=gf||!bf?function(t){if(gf)return Cr(yf,this,arguments)||0;var e=B(this),r=Ae(e),n=r-1;for(arguments.length>1&&(n=vf(n,ye(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}:yf,wf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return Cr(mf,wf(this),e>1?[t,arguments[1]]:[t])}));var xf=Vn.map,Af=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("map",(function(t){return xf(Af(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(Fc(t))(e)}))}));var Ef=b.TypeError,Tf=function(t){return function(e,r,n,o){at(r);var i=ht(e),a=N(i),u=Ae(i),c=t?u-1:0,f=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw Ef("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=r(o,a[c],c,i));return o}},Sf={left:Tf(!1),right:Tf(!0)},Of=Sf.left,Rf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return Of(Rf(this),t,e,e>1?arguments[1]:void 0)}));var jf=Sf.right,If=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return jf(If(this),t,e,e>1?arguments[1]:void 0)}));var _f=Iu.aTypedArray,Pf=Iu.exportTypedArrayMethod,kf=Math.floor;Pf("reverse",(function(){for(var t,e=_f(this).length,r=kf(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}));var Mf=b.RangeError,Cf=b.Int8Array,Lf=Cf&&Cf.prototype,$f=Lf&&Lf.set,Uf=Iu.aTypedArray,Nf=Iu.exportTypedArrayMethod,Df=!m((function(){var t=new Uint8ClampedArray(2);return E($f,t,{length:1,0:3},1),3!==t[1]})),Ff=Df&&Iu.NATIVE_ARRAY_BUFFER_VIEWS&&m((function(){var t=new Cf(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));Nf("set",(function(t){Uf(this);var e=Ic(arguments.length>1?arguments[1]:void 0,1),r=ht(t);if(Df)return E($f,this,r,e);var n=this.length,o=Ae(r),i=0;if(o+e>n)throw Mf("Wrong length");for(;i<o;)this[e+i]=r[i++]}),!Df||Ff);var Bf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("slice",(function(t,e){for(var r=wn(Bf(this),t,e),n=Fc(this),o=0,i=r.length,a=new n(i);i>o;)a[o]=r[o++];return a}),m((function(){new Int8Array(1).slice()})));var Wf=Vn.some,zf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("some",(function(t){return Wf(zf(this),t,arguments.length>1?arguments[1]:void 0)}));var Yf=Math.floor,Gf=function(t,e){var r=t.length,n=Yf(r/2);return r<8?Vf(t,e):qf(t,Gf(sn(t,0,n),e),Gf(sn(t,n),e),e)},Vf=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},qf=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Hf=Gf,Kf=q.match(/firefox\/(\d+)/i),Jf=!!Kf&&+Kf[1],Xf=/MSIE|Trident/.test(q),Qf=q.match(/AppleWebKit\/(\d+)\./),Zf=!!Qf&&+Qf[1],ts=b.Array,es=Iu.aTypedArray,rs=Iu.exportTypedArrayMethod,ns=b.Uint16Array,os=ns&&k(ns.prototype.sort),is=!(!os||m((function(){os(new ns(2),null)}))&&m((function(){os(new ns(2),{})}))),as=!!os&&!m((function(){if(Q)return Q<74;if(Jf)return Jf<67;if(Xf)return!0;if(Zf)return Zf<602;var t,e,r=new ns(516),n=ts(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(os(r,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));rs("sort",(function(t){return void 0!==t&&at(t),as?os(this,t):Hf(es(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t))}),!as||is);var us=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("subarray",(function(t,e){var r=us(this),n=r.length,o=me(t,n);return new(Fc(r))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,xe((void 0===e?n:me(e,n))-o))}));var cs=b.Int8Array,fs=Iu.aTypedArray,ss=Iu.exportTypedArrayMethod,ls=[].toLocaleString,ds=!!cs&&m((function(){ls.call(new cs(1))}));ss("toLocaleString",(function(){return Cr(ls,ds?wn(fs(this)):fs(this),wn(arguments))}),m((function(){return[1,2].toLocaleString()!=new cs([1,2]).toLocaleString()}))||!m((function(){cs.prototype.toLocaleString.call([1,2])})));var ps=Iu.exportTypedArrayMethod,hs=b.Uint8Array,vs=hs&&hs.prototype||{},ys=[].toString,gs=k([].join);m((function(){ys.call({})}))&&(ys=function(){return gs(this)});var bs=vs.toString!=ys;ps("toString",ys,bs);var ms=[],ws=k(ms.sort),xs=k(ms.push),As=m((function(){ms.sort(void 0)})),Es=m((function(){ms.sort(null)})),Ts=qn("sort"),Ss=!m((function(){if(Q)return Q<70;if(!(Jf&&Jf>3)){if(Xf)return!0;if(Zf)return Zf<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)ms.push({k:e+n,v:r})}for(ms.sort((function(t,e){return e.v-t.v})),n=0;n<ms.length;n++)e=ms[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));ze({target:"Array",proto:!0,forced:As||!Es||!Ts||!Ss},{sort:function(t){void 0!==t&&at(t);var e=ht(this);if(Ss)return void 0===t?ws(e):ws(e,t);var r,n,o=[],i=Ae(e);for(n=0;n<i;n++)n in e&&xs(o,e[n]);for(Hf(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:Qe(e)>Qe(r)?1:-1}}(t)),r=o.length,n=0;n<r;)e[n]=o[n++];for(;n<i;)delete e[n++];return e}}),ze({target:"Object",stat:!0,sham:!w},{getOwnPropertyDescriptors:function(t){for(var e,r,n=B(t),o=Lt.f,i=Me(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&un(a,e,r);return a}});var Os=function(t,e,r,n){try{return n?e(Dt(r)[0],r[1]):e(r)}catch(e){ri(t,"throw",e)}},Rs=b.Array,js=!pi((function(t){Array.from(t)}));ze({target:"Array",stat:!0,forced:js},{from:function(t){var e=ht(t),r=Hr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Dn(o,n>2?arguments[2]:void 0));var a,u,c,f,s,l,d=Zo(e),p=0;if(!d||this==Rs&&Xo(d))for(a=Ae(e),u=r?new this(a):Rs(a);a>p;p++)l=i?o(e[p],p):e[p],un(u,p,l);else for(s=(f=ei(e,d)).next,u=r?new this:[];!(c=E(s,f)).done;p++)l=i?Os(f,o,[c.value,p],!0):c.value,un(u,p,l);return u.length=p,u}});var Is=to("splice"),_s=b.TypeError,Ps=Math.max,ks=Math.min;ze({target:"Array",proto:!0,forced:!Is},{splice:function(t,e){var r,n,o,i,a,u,c=ht(this),f=Ae(c),s=me(t,f),l=arguments.length;if(0===l?r=n=0:1===l?(r=0,n=f-s):(r=l-2,n=ks(Ps(ye(e),0),f-s)),f+r-n>9007199254740991)throw _s("Maximum allowed length exceeded");for(o=zn(c,n),i=0;i<n;i++)(a=s+i)in c&&un(o,i,c[a]);if(o.length=n,r<n){for(i=s;i<f-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:delete c[u];for(i=f;i>f-n+r;i--)delete c[i-1]}else if(r>n)for(i=f-n;i>s;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:delete c[u];for(i=0;i<r;i++)c[i+s]=arguments[i+2];return c.length=f-n+r,o}});var Ms=de.EXISTS,Cs=zt.f,Ls=Function.prototype,$s=k(Ls.toString),Us=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ns=k(Us.exec);w&&!Ms&&Cs(Ls,"name",{configurable:!0,get:function(){try{return Ns(Us,$s(this))[1]}catch(t){return""}}});var Ds,Fs=b.TypeError,Bs=function(t){if(Dr(t))throw Fs("The method doesn't accept regular expressions");return t},Ws=St("match"),zs=Lt.f,Ys=k("".startsWith),Gs=k("".slice),Vs=Math.min,qs=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Ws]=!1,"/./"[t](e)}catch(t){}}return!1}("startsWith"),Hs=!(qs||(Ds=zs(String.prototype,"startsWith"),!Ds||Ds.writable));ze({target:"String",proto:!0,forced:!Hs&&!qs},{startsWith:function(t){var e=Qe(F(this));Bs(t);var r=xe(Vs(arguments.length>1?arguments[1]:void 0,e.length)),n=Qe(t);return Ys?Ys(e,n,r):Gs(e,r,r+n.length)===n}});var Ks,Js="\t\n\v\f\r                 \u2028\u2029\ufeff",Xs=k("".replace),Qs="["+Js+"]",Zs=RegExp("^"+Qs+Qs+"*"),tl=RegExp(Qs+Qs+"*$"),el=function(t){return function(e){var r=Qe(F(e));return 1&t&&(r=Xs(r,Zs,"")),2&t&&(r=Xs(r,tl,"")),r}},rl={start:el(1),end:el(2),trim:el(3)},nl=de.PROPER,ol=rl.trim;ze({target:"String",proto:!0,forced:(Ks="trim",m((function(){return!!Js[Ks]()||"​…᠎"!=="​…᠎"[Ks]()||nl&&Js[Ks].name!==Ks})))},{trim:function(){return ol(this)}});var il=Vn.map,al=to("map");ze({target:"Array",proto:!0,forced:!al},{map:function(t){return il(this,t,arguments.length>1?arguments[1]:void 0)}}),vi("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ei);var ul=Vn.filter,cl=to("filter");ze({target:"Array",proto:!0,forced:!cl},{filter:function(t){return ul(this,t,arguments.length>1?arguments[1]:void 0)}});var fl=k([].join),sl=N!=Object,ll=qn("join",",");ze({target:"Array",proto:!0,forced:sl||!ll},{join:function(t){return fl(B(this),void 0===t?",":t)}});var dl=/"/g,pl=k("".replace);ze({target:"String",proto:!0,forced:function(t){return m((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",r="name",n=t,o=Qe(F(this)),i="<"+e,""!==r&&(i+=" "+r+'="'+pl(Qe(n),dl,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,r,n,o,i}}),ze({global:!0},{globalThis:b});var hl=Object.assign,vl=Object.defineProperty,yl=k([].concat),gl=!hl||m((function(){if(w&&1!==hl({b:1},hl(vl({},"a",{enumerable:!0,get:function(){vl(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=hl({},t)[r]||"abcdefghijklmnopqrst"!=or(hl({},e)).join("")}))?function(t,e){for(var r=ht(t),n=arguments.length,o=1,i=Pe.f,a=O.f;n>o;)for(var u,c=N(arguments[o++]),f=i?yl(or(c),i(c)):or(c),s=f.length,l=0;s>l;)u=f[l++],w&&!E(a,c,u)||(r[u]=c[u]);return r}:hl;ze({target:"Object",stat:!0,forced:Object.assign!==gl},{assign:gl});var bl=Math.floor,ml=k("".charAt),wl=k("".replace),xl=k("".slice),Al=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,El=/\$([$&'`]|\d{1,2})/g,Tl=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,c=El;return void 0!==o&&(o=ht(o),c=Al),wl(i,c,(function(i,c){var f;switch(ml(c,0)){case"$":return"$";case"&":return t;case"`":return xl(e,0,r);case"'":return xl(e,a);case"<":f=o[xl(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>u){var l=bl(s/10);return 0===l?i:l<=u?void 0===n[l-1]?ml(c,1):n[l-1]+ml(c,1):i}f=n[s-1]}return void 0===f?"":f}))},Sl=St("replace"),Ol=Math.max,Rl=Math.min,jl=k([].concat),Il=k([].push),_l=k("".indexOf),Pl=k("".slice),kl="$0"==="a".replace(/./,"$0"),Ml=!!/./[Sl]&&""===/./[Sl]("a","$0");Ur("replace",(function(t,e,r){var n=Ml?"$":"$0";return[function(t,r){var n=F(this),o=null==t?void 0:ut(t,Sl);return o?E(o,t,n,r):E(e,Qe(n),t,r)},function(t,o){var i=Dt(this),a=Qe(t);if("string"==typeof o&&-1===_l(o,n)&&-1===_l(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var c=W(o);c||(o=Qe(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=dn(i,a);if(null===d)break;if(Il(l,d),!f)break;""===Qe(d[0])&&(i.lastIndex=an(a,xe(i.lastIndex),s))}for(var p,h="",v=0,y=0;y<l.length;y++){for(var g=Qe((d=l[y])[0]),b=Ol(Rl(ye(d.index),a.length),0),m=[],w=1;w<d.length;w++)Il(m,void 0===(p=d[w])?p:String(p));var x=d.groups;if(c){var A=jl([g],m,b,a);void 0!==x&&Il(A,x);var E=Qe(Cr(o,void 0,A))}else E=Tl(g,a,b,m,x,o);b>=v&&(h+=Pl(a,v,b)+E,v=b+g.length)}return h+Pl(a,v)}]}),!!m((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!kl||Ml),ze({target:"Array",proto:!0},{fill:Yu}),so("fill");var Cl={f:St},Ll=b,$l=zt.f,Ul=function(t){var e=Ll.Symbol||(Ll.Symbol={});yt(e,t)||$l(e,t,{value:Cl.f(t)})},Nl=Vn.forEach,Dl=Zt("hidden"),Fl=St("toPrimitive"),Bl=ce.set,Wl=ce.getterFor("Symbol"),zl=Object.prototype,Yl=b.Symbol,Gl=Yl&&Yl.prototype,Vl=b.TypeError,ql=b.QObject,Hl=G("JSON","stringify"),Kl=Lt.f,Jl=zt.f,Xl=zo.f,Ql=O.f,Zl=k([].push),td=dt("symbols"),ed=dt("op-symbols"),rd=dt("string-to-symbol-registry"),nd=dt("symbol-to-string-registry"),od=dt("wks"),id=!ql||!ql.prototype||!ql.prototype.findChild,ad=w&&m((function(){return 7!=hr(Jl({},"a",{get:function(){return Jl(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Kl(zl,e);n&&delete zl[e],Jl(t,e,r),n&&t!==zl&&Jl(zl,e,n)}:Jl,ud=function(t,e){var r=td[t]=hr(Gl);return Bl(r,{type:"Symbol",tag:t,description:e}),w||(r.description=e),r},cd=function(t,e,r){t===zl&&cd(ed,e,r),Dt(t);var n=It(e);return Dt(r),yt(td,n)?(r.enumerable?(yt(t,Dl)&&t[Dl][n]&&(t[Dl][n]=!1),r=hr(r,{enumerable:R(0,!1)})):(yt(t,Dl)||Jl(t,Dl,R(1,{})),t[Dl][n]=!0),ad(t,n,r)):Jl(t,n,r)},fd=function(t,e){Dt(t);var r=B(e),n=or(r).concat(pd(r));return Nl(n,(function(e){w&&!E(sd,r,e)||cd(t,e,r[e])})),t},sd=function(t){var e=It(t),r=E(Ql,this,e);return!(this===zl&&yt(td,e)&&!yt(ed,e))&&(!(r||!yt(this,e)||!yt(td,e)||yt(this,Dl)&&this[Dl][e])||r)},ld=function(t,e){var r=B(t),n=It(e);if(r!==zl||!yt(td,n)||yt(ed,n)){var o=Kl(r,n);return!o||!yt(td,n)||yt(r,Dl)&&r[Dl][n]||(o.enumerable=!0),o}},dd=function(t){var e=Xl(B(t)),r=[];return Nl(e,(function(t){yt(td,t)||yt(te,t)||Zl(r,t)})),r},pd=function(t){var e=t===zl,r=Xl(e?ed:B(t)),n=[];return Nl(r,(function(t){!yt(td,t)||e&&!yt(zl,t)||Zl(n,td[t])})),n};if(Z||(Gl=(Yl=function(){if(V(Gl,this))throw Vl("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Qe(arguments[0]):void 0,e=wt(t),r=function(t){this===zl&&E(r,ed,t),yt(this,Dl)&&yt(this[Dl],e)&&(this[Dl][e]=!1),ad(this,e,R(1,t))};return w&&id&&ad(zl,e,{configurable:!0,set:r}),ud(e,t)}).prototype,pe(Gl,"toString",(function(){return Wl(this).tag})),pe(Yl,"withoutSetter",(function(t){return ud(wt(t),t)})),O.f=sd,zt.f=cd,ir.f=fd,Lt.f=ld,_e.f=zo.f=dd,Pe.f=pd,Cl.f=function(t){return ud(St(t),t)},w&&(Jl(Gl,"description",{configurable:!0,get:function(){return Wl(this).description}}),pe(zl,"propertyIsEnumerable",sd,{unsafe:!0}))),ze({global:!0,wrap:!0,forced:!Z,sham:!Z},{Symbol:Yl}),Nl(or(od),(function(t){Ul(t)})),ze({target:"Symbol",stat:!0,forced:!Z},{for:function(t){var e=Qe(t);if(yt(rd,e))return rd[e];var r=Yl(e);return rd[e]=r,nd[r]=e,r},keyFor:function(t){if(!rt(t))throw Vl(t+" is not a symbol");if(yt(nd,t))return nd[t]},useSetter:function(){id=!0},useSimple:function(){id=!1}}),ze({target:"Object",stat:!0,forced:!Z,sham:!w},{create:function(t,e){return void 0===e?hr(t):fd(hr(t),e)},defineProperty:cd,defineProperties:fd,getOwnPropertyDescriptor:ld}),ze({target:"Object",stat:!0,forced:!Z},{getOwnPropertyNames:dd,getOwnPropertySymbols:pd}),ze({target:"Object",stat:!0,forced:m((function(){Pe.f(1)}))},{getOwnPropertySymbols:function(t){return Pe.f(ht(t))}}),Hl){var hd=!Z||m((function(){var t=Yl();return"[null]"!=Hl([t])||"{}"!=Hl({a:t})||"{}"!=Hl(Object(t))}));ze({target:"JSON",stat:!0,forced:hd},{stringify:function(t,e,r){var n=wn(arguments),o=e;if((z(e)||void 0!==t)&&!rt(t))return Fn(e)||(e=function(t,e){if(W(o)&&(e=E(o,this,t,e)),!rt(e))return e}),n[1]=e,Cr(Hl,null,n)}})}if(!Gl[Fl]){var vd=Gl.valueOf;pe(Gl,Fl,(function(t){return E(vd,this)}))}Eo(Yl,"Symbol"),te[Dl]=!0;var yd,gd,bd=zt.f,md=b.Symbol,wd=md&&md.prototype;if(w&&W(md)&&(!("description"in wd)||void 0!==md().description)){var xd={},Ad=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Qe(arguments[0]),e=V(wd,this)?new md(t):void 0===t?md():md(t);return""===t&&(xd[e]=!0),e};Ce(Ad,md),Ad.prototype=wd,wd.constructor=Ad;var Ed="Symbol(test)"==String(md("test")),Td=k(wd.toString),Sd=k(wd.valueOf),Od=/^Symbol\((.*)\)[^)]+$/,Rd=k("".replace),jd=k("".slice);bd(wd,"description",{configurable:!0,get:function(){var t=Sd(this),e=Td(t);if(yt(xd,t))return"";var r=Ed?jd(e,7,-1):Rd(e,Od,"$1");return""===r?void 0:r}}),ze({global:!0,forced:!0},{Symbol:Ad})}function Id(){}function _d(t){return t()}function Pd(){return Object.create(null)}function kd(t){t.forEach(_d)}function Md(t){return"function"==typeof t}function Cd(t,e){return t!=t?e==e:t!==e||t&&"object"===u(t)||"function"==typeof t}function Ld(t,e){return yd||(yd=document.createElement("a")),yd.href=e,t===yd.href}function $d(t,e){t.appendChild(e)}function Ud(t,e,r){var n=function(t){if(!t)return document;var e=t.getRootNode?t.getRootNode():t.ownerDocument;if(e&&e.host)return e;return t.ownerDocument}(t);if(!n.getElementById(e)){var o=Fd("style");o.id=e,o.textContent=r,function(t,e){$d(t.head||t,e)}(n,o)}}function Nd(t,e,r){t.insertBefore(e,r||null)}function Dd(t){t.parentNode.removeChild(t)}function Fd(t){return document.createElement(t)}function Bd(t){return document.createTextNode(t)}function Wd(){return Bd(" ")}function zd(t,e,r,n){return t.addEventListener(e,r,n),function(){return t.removeEventListener(e,r,n)}}function Yd(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function Gd(t){return Array.from(t.childNodes)}function Vd(t,e,r){t.classList[r?"add":"remove"](e)}function qd(t){gd=t}Ul("iterator");var Hd=[],Kd=[],Jd=[],Xd=[],Qd=Promise.resolve(),Zd=!1;function tp(t){Jd.push(t)}var ep=new Set,rp=0;function np(){var t=gd;do{for(;rp<Hd.length;){var e=Hd[rp];rp++,qd(e),op(e.$$)}for(qd(null),Hd.length=0,rp=0;Kd.length;)Kd.pop()();for(var r=0;r<Jd.length;r+=1){var n=Jd[r];ep.has(n)||(ep.add(n),n())}Jd.length=0}while(Hd.length);for(;Xd.length;)Xd.pop()();Zd=!1,ep.clear(),qd(t)}function op(t){if(null!==t.fragment){t.update(),kd(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(tp)}}var ip=new Set;function ap(t,e){t&&t.i&&(ip.delete(t),t.i(e))}function up(t,e,r,n){if(t&&t.o){if(ip.has(t))return;ip.add(t),(void 0).c.push((function(){ip.delete(t),n&&(r&&t.d(1),n())})),t.o(e)}}var cp="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function fp(t){t&&t.c()}function sp(t,e,r,n){var o=t.$$,i=o.fragment,a=o.on_mount,u=o.on_destroy,c=o.after_update;i&&i.m(e,r),n||tp((function(){var e=a.map(_d).filter(Md);u?u.push.apply(u,Mn(e)):kd(e),t.$$.on_mount=[]})),c.forEach(tp)}function lp(t,e){var r=t.$$;null!==r.fragment&&(kd(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function dp(t,e){-1===t.$$.dirty[0]&&(Hd.push(t),Zd||(Zd=!0,Qd.then(np)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function pp(t,e,r,n,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1],c=gd;qd(t);var f=t.$$={fragment:null,ctx:null,props:i,update:Id,not_equal:o,bound:Pd(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Pd(),dirty:u,skip_bound:!1,root:e.target||c.$$.root};a&&a(f.root);var s=!1;if(f.ctx=r?r(t,e.props||{},(function(e,r){var n=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:r;return f.ctx&&o(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),s&&dp(t,e)),r})):[],f.update(),s=!0,kd(f.before_update),f.fragment=!!n&&n(f.ctx),e.target){if(e.hydrate){var l=Gd(e.target);f.fragment&&f.fragment.l(l),l.forEach(Dd)}else f.fragment&&f.fragment.c();e.intro&&ap(t.$$.fragment),sp(t,e.target,e.anchor,e.customElement),np()}qd(c)}var hp=function(){function t(){n(this,t)}return r(t,[{key:"$destroy",value:function(){lp(this,1),this.$destroy=Id}},{key:"$on",value:function(t,e){var r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),function(){var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}]),t}();function vp(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function yp(t){Ud(t,"svelte-po7d7g",".svelte-po7d7g.svelte-po7d7g,.svelte-po7d7g.svelte-po7d7g:before,.svelte-po7d7g.svelte-po7d7g:after{box-sizing:border-box}.bot-border.svelte-po7d7g.svelte-po7d7g{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-po7d7g.svelte-po7d7g{transform:translateY(85vh);opacity:0}.header.svelte-po7d7g.svelte-po7d7g{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-po7d7g.svelte-po7d7g{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-po7d7g.svelte-po7d7g{height:38em;max-height:calc(100vh - 2em);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-po7d7g.svelte-po7d7g{transform:translateY(38em);opacity:0}}.bot-border-close-icon.svelte-po7d7g.svelte-po7d7g{height:100%}img.svelte-po7d7g.svelte-po7d7g{display:block;height:100%}svg.svelte-po7d7g.svelte-po7d7g{height:100%;padding:0.4em;cursor:pointer}svg.svelte-po7d7g path.svelte-po7d7g{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-po7d7g:hover path.svelte-po7d7g{stroke-width:3px}p.svelte-po7d7g.svelte-po7d7g,pre.svelte-po7d7g.svelte-po7d7g{max-width:300px}pre.svelte-po7d7g.svelte-po7d7g{font-size:0.6em;line-height:0.5}")}function gp(t){var e,r,n;return{c:function(){(e=Fd("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",r=Wd(),(n=Fd("pre")).innerHTML='<code class="svelte-po7d7g">&lt;script\n <br class="svelte-po7d7g"/>\n id=&quot;chatbot&quot;\n <br class="svelte-po7d7g"/>\n data-server=&quot;https://server.com/webclient&quot;\n <br class="svelte-po7d7g"/>\n defer\n <br class="svelte-po7d7g"/>\n src=&quot;https://server.com/webclient/embed/bundle.js&quot;&gt; &lt;/script&gt;</code>',Yd(e,"class","svelte-po7d7g"),Yd(n,"class","svelte-po7d7g")},m:function(t,o){Nd(t,e,o),Nd(t,r,o),Nd(t,n,o)},p:Id,d:function(t){t&&Dd(e),t&&Dd(r),t&&Dd(n)}}}function bp(t){var e,r,n,o,i,a,u,c,f,s,l,d;return{c:function(){e=Fd("div"),r=Fd("div"),n=Fd("img"),i=Wd(),(a=Fd("div")).innerHTML='<svg viewBox="-2 -2 24 24" class="svelte-po7d7g"><path d="M0,0L20,20M20,0L0,20" class="svelte-po7d7g"></path></svg>',u=Wd(),c=Fd("iframe"),Ld(n.src,o="".concat(t[3],"/embed/logo.svg"))||Yd(n,"src",o),Yd(n,"alt","Logo"),Yd(n,"class","svelte-po7d7g"),Yd(a,"aria-label","Close chat window"),Yd(a,"role","button"),Yd(a,"class","bot-border-close-icon svelte-po7d7g"),Yd(a,"tabindex",0),Yd(r,"class","header svelte-po7d7g"),Yd(c,"id","chat-frame"),Yd(c,"title","Chat"),Yd(c,"class","bot svelte-po7d7g"),Ld(c.src,f="".concat(t[0]).concat(-1===t[0].indexOf("?")?"?":"&","referrer=").concat(encodeURIComponent(t[1]),"&windowHeight=").concat(xp(),"&windowWidth=").concat(wp()))||Yd(c,"src",f),Yd(c,"frameborder","0"),Yd(c,"allow","microphone"),c.allowFullscreen="",Yd(e,"class","bot-border svelte-po7d7g"),Yd(e,"aria-hidden",s=t[2]?"false":"true"),Vd(e,"closed",!t[2])},m:function(o,f){Nd(o,e,f),$d(e,r),$d(r,n),$d(r,i),$d(r,a),$d(e,u),$d(e,c),l||(d=[zd(a,"click",(function(){Md(t[4])&&t[4].apply(this,arguments)})),zd(a,"keydown",t[5])],l=!0)},p:function(r,i){t=r,8&i&&!Ld(n.src,o="".concat(t[3],"/embed/logo.svg"))&&Yd(n,"src",o),3&i&&!Ld(c.src,f="".concat(t[0]).concat(-1===t[0].indexOf("?")?"?":"&","referrer=").concat(encodeURIComponent(t[1]),"&windowHeight=").concat(xp(),"&windowWidth=").concat(wp()))&&Yd(c,"src",f),4&i&&s!==(s=t[2]?"false":"true")&&Yd(e,"aria-hidden",s),4&i&&Vd(e,"closed",!t[2])},d:function(t){t&&Dd(e),l=!1,kd(d)}}}function mp(t){var e;function r(t,e){return t[0]?bp:gp}var n=r(t),o=n(t);return{c:function(){o.c(),e=Bd("")},m:function(t,r){o.m(t,r),Nd(t,e,r)},p:function(t,i){var a=d(i,1)[0];n===(n=r(t))&&o?o.p(t,a):(o.d(1),(o=n(t))&&(o.c(),o.m(e.parentNode,e)))},i:Id,o:Id,d:function(t){o.d(t),t&&Dd(e)}}}function wp(){try{return window.innerWidth}catch(t){return-1}}function xp(){try{return window.innerHeight}catch(t){return-1}}function Ap(t,e,r){var n=e.server,o=e.referrer,i=e.open,a=e.assetsUrl,u=e.onToggle;return t.$$set=function(t){"server"in t&&r(0,n=t.server),"referrer"in t&&r(1,o=t.referrer),"open"in t&&r(2,i=t.open),"assetsUrl"in t&&r(3,a=t.assetsUrl),"onToggle"in t&&r(4,u=t.onToggle)},[n,o,i,a,u,function(t){var e=t.key;"ArrowDown"!==e&&"ArrowRight"!==e&&"Enter"!==e&&" "!==e&&"Space"!==e||(t.stopPropagation(),u())}]}var Ep=function(t){a(i,t);var e=vp(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Ap,mp,Cd,{server:0,referrer:1,open:2,assetsUrl:3,onToggle:4},yp),r}return r(i)}(hp);function Tp(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function Sp(t){Ud(t,"svelte-xlhtz",".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}")}function Op(t){var e,r,n,o,i;return{c:function(){e=Fd("div"),Yd(r=Fd("img"),"class","chat-button svelte-xlhtz"),Yd(r,"alt","Open chatbot"),Ld(r.src,n="".concat(t[0],"/embed/open-button.svg"))||Yd(r,"src",n),Yd(e,"class","chat-button-wrapper svelte-xlhtz"),Yd(e,"tabindex","0"),Yd(e,"role","button"),Yd(e,"aria-label","Open chat window")},m:function(n,a){Nd(n,e,a),$d(e,r),o||(i=[zd(e,"click",(function(){Md(t[1])&&t[1].apply(this,arguments)})),zd(e,"keydown",t[2])],o=!0)},p:function(e,o){var i=d(o,1)[0];t=e,1&i&&!Ld(r.src,n="".concat(t[0],"/embed/open-button.svg"))&&Yd(r,"src",n)},i:Id,o:Id,d:function(t){t&&Dd(e),o=!1,kd(i)}}}function Rp(t,e,r){var n=e.assetsUrl,o=e.onToggle;return t.$$set=function(t){"assetsUrl"in t&&r(0,n=t.assetsUrl),"onToggle"in t&&r(1,o=t.onToggle)},[n,o,function(t){var e=t.key;"ArrowDown"!==e&&"ArrowRight"!==e&&"Enter"!==e&&" "!==e&&"Space"!==e||(t.stopPropagation(),o())}]}var jp=function(t){a(i,t);var e=Tp(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Rp,Op,Cd,{assetsUrl:0,onToggle:1},Sp),r}return r(i)}(hp),Ip=function(t,e){var r=window.addEventListener?"addEventListener":"attachEvent";(0,window[r])("attachEvent"===r?"onmessage":"message",(function(r){var n,o=r.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":e(o.url);break;case"google.tag.event":n=o.payload,window.gtag?window.gtag("event","",n):window.dataLayer&&window.dataLayer.push(n)}}),!1)},_p=h((function(t,e){var r;r=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function o(){}function i(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(t){}r=n.write?n.write(r,e):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c].split(";")[0]));return document.cookie=e+"="+r+u}}function a(t,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var u=i[a].split("="),c=u.slice(1).join("=");r||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var f=e(u[0]);if(c=(n.read||n)(c,f)||e(c),r)try{c=JSON.parse(c)}catch(t){}if(o[f]=c,t===f)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return a(t,!1)},o.getJSON=function(t){return a(t,!0)},o.remove=function(e,r){i(e,"",t(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}((function(){}))},t.exports=r()})),Pp=function(){switch(_p.get("bot-window")){case"open":return!0;case"closed":default:return!1}},kp=function(t){_p.set("bot-window",t)},Mp=!1;var Cp=[],Lp=Pp();function $p(){Lp=!0,kp("open"),Cp.forEach((function(t){t.call(window,Lp)}))}function Up(){Lp=!1,kp("closed"),Cp.forEach((function(t){t.call(window,Lp)}))}function Np(){Lp?Up():$p()}function Dp(t){document.getElementById("chat-frame").contentWindow.postMessage(t,"*")}function Fp(t,e){switch(t){case"ON_CHAT_WINDOW_STATE_CHANGE":Cp.push(e);break;default:throw new Error("Unsupported event "+t)}}Ur("match",(function(t,e,r){return[function(e){var r=F(this),n=null==e?void 0:ut(e,t);return n?E(n,e,r):new RegExp(e)[t](Qe(r))},function(t){var n=Dt(this),o=Qe(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return dn(n,o);var a=n.unicode;n.lastIndex=0;for(var u,c=[],f=0;null!==(u=dn(n,o));){var s=Qe(u[0]);c[f]=s,""===s&&(n.lastIndex=an(o,xe(n.lastIndex),a)),f++}return 0===f?null:c}]}));var Bp=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))};function Wp(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}var zp=cp.document;function Yp(t){Ud(t,"svelte-sr5aex","#chatbot-window.svelte-sr5aex{font-size:16px}")}function Gp(t){var e,r,n,o,i,a,u,c;return i=new jp({props:{server:t[0],assetsUrl:t[2],onToggle:Np}}),u=new Ep({props:{server:t[0],referrer:t[1],assetsUrl:t[2],open:t[3],onToggle:Np}}),{c:function(){e=Fd("link"),n=Wd(),o=Fd("div"),fp(i.$$.fragment),a=Wd(),fp(u.$$.fragment),Yd(e,"rel","stylesheet"),Yd(e,"href",r="".concat(t[2],"/embed/custom.css")),Yd(o,"id","chatbot-window"),Yd(o,"class","svelte-sr5aex")},m:function(t,r){$d(zp.head,e),Nd(t,n,r),Nd(t,o,r),sp(i,o,null),$d(o,a),sp(u,o,null),c=!0},p:function(t,n){var o=d(n,1)[0];(!c||4&o&&r!==(r="".concat(t[2],"/embed/custom.css")))&&Yd(e,"href",r);var a={};1&o&&(a.server=t[0]),4&o&&(a.assetsUrl=t[2]),i.$set(a);var f={};1&o&&(f.server=t[0]),2&o&&(f.referrer=t[1]),4&o&&(f.assetsUrl=t[2]),8&o&&(f.open=t[3]),u.$set(f)},i:function(t){c||(ap(i.$$.fragment,t),ap(u.$$.fragment,t),c=!0)},o:function(t){up(i.$$.fragment,t),up(u.$$.fragment,t),c=!1},d:function(t){Dd(e),t&&Dd(n),t&&Dd(o),lp(i),lp(u)}}}function Vp(t,e,r){var n=e.server,o=e.referrer,i=e.assetsUrl,a=void 0===i?n?n.split("?")[0]:void 0:i;Bp();var u=Pp();return Fp("ON_CHAT_WINDOW_STATE_CHANGE",(function(t){r(3,u=t)})),Ip((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&$p()}),(function(t){window.innerWidth<768&&Up(),document.location.href=t})),t.$$set=function(t){"server"in t&&r(0,n=t.server),"referrer"in t&&r(1,o=t.referrer),"assetsUrl"in t&&r(2,a=t.assetsUrl)},[n,o,a,u]}var qp=function(t){a(i,t);var e=Wp(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Vp,Gp,Cd,{server:0,referrer:1,assetsUrl:2},Yp),r}return r(i)}(hp),Hp=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot")),Kp=function(){console.log("Chatbot is loading from",Hp),new qp({target:document.body,props:{server:Hp,referrer:window.location.href}}),Mp=!0};document.onreadystatechange=function(){"complete"==document.readyState&&setTimeout(Kp,3e3)};var Jp=document.getElementById("chatbot");return Jp&&Jp.src.indexOf("caller=bookmarklet")>0&&setTimeout(Kp,500),t.closeChatWindow=Up,t.enterGuestMessage=function(t){Dp({type:"CHAT_MESSAGE_FROM_GUEST",text:t})},t.isChatbotLoaded=function(){return Mp},t.openChatWindow=$p,t.subscribe=Fp,t.toggleChatWindow=Np,t.triggerStory=function(t){Dp({type:"TRIGGER_STORY",story:t})},Object.defineProperty(t,"__esModule",{value:!0}),t}({});
1
+ var chatbot=function(t){"use strict";function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}function u(t){return(u="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)}function c(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(t,e){return t(e={exports:{}},e.exports),e.exports}var v,y,g=function(t){return t&&t.Math==Math&&t},b=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof p&&p)||function(){return this}()||Function("return this")(),m=function(t){try{return!!t()}catch(t){return!0}},w=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),x=!m((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),A=Function.prototype.call,T=x?A.bind(A):function(){return A.apply(A,arguments)},E={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,O={f:S&&!E.call({1:2},1)?function(t){var e=S(this,t);return!!e&&e.enumerable}:E},R=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},j=Function.prototype,I=j.bind,_=j.call,P=x&&I.bind(_,_),k=x?function(t){return t&&P(t)}:function(t){return t&&function(){return _.apply(t,arguments)}},M=k({}.toString),C=k("".slice),L=function(t){return C(M(t),8,-1)},$=b.Object,U=k("".split),N=m((function(){return!$("z").propertyIsEnumerable(0)}))?function(t){return"String"==L(t)?U(t,""):$(t)}:$,D=b.TypeError,F=function(t){if(null==t)throw D("Can't call method on "+t);return t},B=function(t){return N(F(t))},W=function(t){return"function"==typeof t},z=function(t){return"object"==typeof t?null!==t:W(t)},Y=function(t){return W(t)?t:void 0},G=function(t,e){return arguments.length<2?Y(b[t]):b[t]&&b[t][e]},V=k({}.isPrototypeOf),q=G("navigator","userAgent")||"",H=b.process,K=b.Deno,J=H&&H.versions||K&&K.version,X=J&&J.v8;X&&(y=(v=X.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!y&&q&&(!(v=q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=q.match(/Chrome\/(\d+)/))&&(y=+v[1]);var Q=y,Z=!!Object.getOwnPropertySymbols&&!m((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q&&Q<41})),tt=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=b.Object,rt=tt?function(t){return"symbol"==typeof t}:function(t){var e=G("Symbol");return W(e)&&V(e.prototype,et(t))},nt=b.String,ot=function(t){try{return nt(t)}catch(t){return"Object"}},it=b.TypeError,at=function(t){if(W(t))return t;throw it(ot(t)+" is not a function")},ut=function(t,e){var r=t[e];return null==r?void 0:at(r)},ct=b.TypeError,ft=Object.defineProperty,st=function(t,e){try{ft(b,t,{value:e,configurable:!0,writable:!0})}catch(r){b[t]=e}return e},lt=b["__core-js_shared__"]||st("__core-js_shared__",{}),dt=h((function(t){(t.exports=function(t,e){return lt[t]||(lt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.20.3",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})})),pt=b.Object,ht=function(t){return pt(F(t))},vt=k({}.hasOwnProperty),yt=Object.hasOwn||function(t,e){return vt(ht(t),e)},gt=0,bt=Math.random(),mt=k(1..toString),wt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+mt(++gt+bt,36)},xt=dt("wks"),At=b.Symbol,Tt=At&&At.for,Et=tt?At:At&&At.withoutSetter||wt,St=function(t){if(!yt(xt,t)||!Z&&"string"!=typeof xt[t]){var e="Symbol."+t;Z&&yt(At,t)?xt[t]=At[t]:xt[t]=tt&&Tt?Tt(e):Et(e)}return xt[t]},Ot=b.TypeError,Rt=St("toPrimitive"),jt=function(t,e){if(!z(t)||rt(t))return t;var r,n=ut(t,Rt);if(n){if(void 0===e&&(e="default"),r=T(n,t,e),!z(r)||rt(r))return r;throw Ot("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&W(r=t.toString)&&!z(n=T(r,t)))return n;if(W(r=t.valueOf)&&!z(n=T(r,t)))return n;if("string"!==e&&W(r=t.toString)&&!z(n=T(r,t)))return n;throw ct("Can't convert object to primitive value")}(t,e)},It=function(t){var e=jt(t,"string");return rt(e)?e:e+""},_t=b.document,Pt=z(_t)&&z(_t.createElement),kt=function(t){return Pt?_t.createElement(t):{}},Mt=!w&&!m((function(){return 7!=Object.defineProperty(kt("div"),"a",{get:function(){return 7}}).a})),Ct=Object.getOwnPropertyDescriptor,Lt={f:w?Ct:function(t,e){if(t=B(t),e=It(e),Mt)try{return Ct(t,e)}catch(t){}if(yt(t,e))return R(!T(O.f,t,e),t[e])}},$t=w&&m((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ut=b.String,Nt=b.TypeError,Dt=function(t){if(z(t))return t;throw Nt(Ut(t)+" is not an object")},Ft=b.TypeError,Bt=Object.defineProperty,Wt=Object.getOwnPropertyDescriptor,zt={f:w?$t?function(t,e,r){if(Dt(t),e=It(e),Dt(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=Wt(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Bt(t,e,r)}:Bt:function(t,e,r){if(Dt(t),e=It(e),Dt(r),Mt)try{return Bt(t,e,r)}catch(t){}if("get"in r||"set"in r)throw Ft("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},Yt=w?function(t,e,r){return zt.f(t,e,R(1,r))}:function(t,e,r){return t[e]=r,t},Gt=k(Function.toString);W(lt.inspectSource)||(lt.inspectSource=function(t){return Gt(t)});var Vt,qt,Ht,Kt=lt.inspectSource,Jt=b.WeakMap,Xt=W(Jt)&&/native code/.test(Kt(Jt)),Qt=dt("keys"),Zt=function(t){return Qt[t]||(Qt[t]=wt(t))},te={},ee=b.TypeError,re=b.WeakMap;if(Xt||lt.state){var ne=lt.state||(lt.state=new re),oe=k(ne.get),ie=k(ne.has),ae=k(ne.set);Vt=function(t,e){if(ie(ne,t))throw new ee("Object already initialized");return e.facade=t,ae(ne,t,e),e},qt=function(t){return oe(ne,t)||{}},Ht=function(t){return ie(ne,t)}}else{var ue=Zt("state");te[ue]=!0,Vt=function(t,e){if(yt(t,ue))throw new ee("Object already initialized");return e.facade=t,Yt(t,ue,e),e},qt=function(t){return yt(t,ue)?t[ue]:{}},Ht=function(t){return yt(t,ue)}}var ce={set:Vt,get:qt,has:Ht,enforce:function(t){return Ht(t)?qt(t):Vt(t,{})},getterFor:function(t){return function(e){var r;if(!z(e)||(r=qt(e)).type!==t)throw ee("Incompatible receiver, "+t+" required");return r}}},fe=Function.prototype,se=w&&Object.getOwnPropertyDescriptor,le=yt(fe,"name"),de={EXISTS:le,PROPER:le&&"something"===function(){}.name,CONFIGURABLE:le&&(!w||w&&se(fe,"name").configurable)},pe=h((function(t){var e=de.CONFIGURABLE,r=ce.get,n=ce.enforce,o=String(String).split("String");(t.exports=function(t,r,i,a){var u,c=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet,l=a&&void 0!==a.name?a.name:r;W(i)&&("Symbol("===String(l).slice(0,7)&&(l="["+String(l).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!yt(i,"name")||e&&i.name!==l)&&Yt(i,"name",l),(u=n(i)).source||(u.source=o.join("string"==typeof l?l:""))),t!==b?(c?!s&&t[r]&&(f=!0):delete t[r],f?t[r]=i:Yt(t,r,i)):f?t[r]=i:st(r,i)})(Function.prototype,"toString",(function(){return W(this)&&r(this).source||Kt(this)}))})),he=Math.ceil,ve=Math.floor,ye=function(t){var e=+t;return e!=e||0===e?0:(e>0?ve:he)(e)},ge=Math.max,be=Math.min,me=function(t,e){var r=ye(t);return r<0?ge(r+e,0):be(r,e)},we=Math.min,xe=function(t){return t>0?we(ye(t),9007199254740991):0},Ae=function(t){return xe(t.length)},Te=function(t){return function(e,r,n){var o,i=B(e),a=Ae(i),u=me(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},Ee={includes:Te(!0),indexOf:Te(!1)},Se=Ee.indexOf,Oe=k([].push),Re=function(t,e){var r,n=B(t),o=0,i=[];for(r in n)!yt(te,r)&&yt(n,r)&&Oe(i,r);for(;e.length>o;)yt(n,r=e[o++])&&(~Se(i,r)||Oe(i,r));return i},je=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ie=je.concat("length","prototype"),_e={f:Object.getOwnPropertyNames||function(t){return Re(t,Ie)}},Pe={f:Object.getOwnPropertySymbols},ke=k([].concat),Me=G("Reflect","ownKeys")||function(t){var e=_e.f(Dt(t)),r=Pe.f;return r?ke(e,r(t)):e},Ce=function(t,e,r){for(var n=Me(e),o=zt.f,i=Lt.f,a=0;a<n.length;a++){var u=n[a];yt(t,u)||r&&yt(r,u)||o(t,u,i(e,u))}},Le=/#|\.prototype\./,$e=function(t,e){var r=Ne[Ue(t)];return r==Fe||r!=De&&(W(e)?m(e):!!e)},Ue=$e.normalize=function(t){return String(t).replace(Le,".").toLowerCase()},Ne=$e.data={},De=$e.NATIVE="N",Fe=$e.POLYFILL="P",Be=$e,We=Lt.f,ze=function(t,e){var r,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(r=c?b:f?b[u]||st(u,{}):(b[u]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=We(r,n))&&a.value:r[n],!Be(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ce(i,o)}(t.sham||o&&o.sham)&&Yt(i,"sham",!0),pe(r,n,i,t)}},Ye={};Ye[St("toStringTag")]="z";var Ge,Ve="[object z]"===String(Ye),qe=St("toStringTag"),He=b.Object,Ke="Arguments"==L(function(){return arguments}()),Je=Ve?L:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=He(t),qe))?r:Ke?L(e):"Object"==(n=L(e))&&W(e.callee)?"Arguments":n},Xe=b.String,Qe=function(t){if("Symbol"===Je(t))throw TypeError("Cannot convert a Symbol value to a string");return Xe(t)},Ze=function(){var t=Dt(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},tr=b.RegExp,er=m((function(){var t=tr("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),rr=er||m((function(){return!tr("a","y").sticky})),nr={BROKEN_CARET:er||m((function(){var t=tr("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:rr,UNSUPPORTED_Y:er},or=Object.keys||function(t){return Re(t,je)},ir={f:w&&!$t?Object.defineProperties:function(t,e){Dt(t);for(var r,n=B(e),o=or(e),i=o.length,a=0;i>a;)zt.f(t,r=o[a++],n[r]);return t}},ar=G("document","documentElement"),ur=Zt("IE_PROTO"),cr=function(){},fr=function(t){return"<script>"+t+"<\/script>"},sr=function(t){t.write(fr("")),t.close();var e=t.parentWindow.Object;return t=null,e},lr=function(){try{Ge=new ActiveXObject("htmlfile")}catch(t){}var t,e;lr="undefined"!=typeof document?document.domain&&Ge?sr(Ge):((e=kt("iframe")).style.display="none",ar.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(fr("document.F=Object")),t.close(),t.F):sr(Ge);for(var r=je.length;r--;)delete lr.prototype[je[r]];return lr()};te[ur]=!0;var dr,pr,hr=Object.create||function(t,e){var r;return null!==t?(cr.prototype=Dt(t),r=new cr,cr.prototype=null,r[ur]=t):r=lr(),void 0===e?r:ir.f(r,e)},vr=b.RegExp,yr=m((function(){var t=vr(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),gr=b.RegExp,br=m((function(){var t=gr("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),mr=ce.get,wr=dt("native-string-replace",String.prototype.replace),xr=RegExp.prototype.exec,Ar=xr,Tr=k("".charAt),Er=k("".indexOf),Sr=k("".replace),Or=k("".slice),Rr=(pr=/b*/g,T(xr,dr=/a/,"a"),T(xr,pr,"a"),0!==dr.lastIndex||0!==pr.lastIndex),jr=nr.BROKEN_CARET,Ir=void 0!==/()??/.exec("")[1];(Rr||Ir||jr||yr||br)&&(Ar=function(t){var e,r,n,o,i,a,u,c=this,f=mr(c),s=Qe(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=T(Ar,l,s),c.lastIndex=l.lastIndex,e;var d=f.groups,p=jr&&c.sticky,h=T(Ze,c),v=c.source,y=0,g=s;if(p&&(h=Sr(h,"y",""),-1===Er(h,"g")&&(h+="g"),g=Or(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Tr(s,c.lastIndex-1))&&(v="(?: "+v+")",g=" "+g,y++),r=new RegExp("^(?:"+v+")",h)),Ir&&(r=new RegExp("^"+v+"$(?!\\s)",h)),Rr&&(n=c.lastIndex),o=T(xr,p?r:c,g),p?o?(o.input=Or(o.input,y),o[0]=Or(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Rr&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Ir&&o&&o.length>1&&T(wr,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=hr(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var _r=Ar;ze({target:"RegExp",proto:!0,forced:/./.exec!==_r},{exec:_r});var Pr=Function.prototype,kr=Pr.apply,Mr=Pr.call,Cr="object"==typeof Reflect&&Reflect.apply||(x?Mr.bind(kr):function(){return Mr.apply(kr,arguments)}),Lr=St("species"),$r=RegExp.prototype,Ur=function(t,e,r,n){var o=St(t),i=!m((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!m((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Lr]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var u=k(/./[o]),c=e(o,""[t],(function(t,e,r,n,o){var a=k(t),c=e.exec;return c===_r||c===$r.exec?i&&!o?{done:!0,value:u(e,r,n)}:{done:!0,value:a(r,e,n)}:{done:!1}}));pe(String.prototype,t,c[0]),pe($r,o,c[1])}n&&Yt($r[o],"sham",!0)},Nr=St("match"),Dr=function(t){var e;return z(t)&&(void 0!==(e=t[Nr])?!!e:"RegExp"==L(t))},Fr=function(){},Br=[],Wr=G("Reflect","construct"),zr=/^\s*(?:class|function)\b/,Yr=k(zr.exec),Gr=!zr.exec(Fr),Vr=function(t){if(!W(t))return!1;try{return Wr(Fr,Br,t),!0}catch(t){return!1}},qr=function(t){if(!W(t))return!1;switch(Je(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Gr||!!Yr(zr,Kt(t))}catch(t){return!0}};qr.sham=!0;var Hr=!Wr||m((function(){var t;return Vr(Vr.call)||!Vr(Object)||!Vr((function(){t=!0}))||t}))?qr:Vr,Kr=b.TypeError,Jr=function(t){if(Hr(t))return t;throw Kr(ot(t)+" is not a constructor")},Xr=St("species"),Qr=function(t,e){var r,n=Dt(t).constructor;return void 0===n||null==(r=Dt(n)[Xr])?e:Jr(r)},Zr=k("".charAt),tn=k("".charCodeAt),en=k("".slice),rn=function(t){return function(e,r){var n,o,i=Qe(F(e)),a=ye(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=tn(i,a))<55296||n>56319||a+1===u||(o=tn(i,a+1))<56320||o>57343?t?Zr(i,a):n:t?en(i,a,a+2):o-56320+(n-55296<<10)+65536}},nn={codeAt:rn(!1),charAt:rn(!0)},on=nn.charAt,an=function(t,e,r){return e+(r?on(t,e).length:1)},un=function(t,e,r){var n=It(e);n in t?zt.f(t,n,R(0,r)):t[n]=r},cn=b.Array,fn=Math.max,sn=function(t,e,r){for(var n=Ae(t),o=me(e,n),i=me(void 0===r?n:r,n),a=cn(fn(i-o,0)),u=0;o<i;o++,u++)un(a,u,t[o]);return a.length=u,a},ln=b.TypeError,dn=function(t,e){var r=t.exec;if(W(r)){var n=T(r,t,e);return null!==n&&Dt(n),n}if("RegExp"===L(t))return T(_r,t,e);throw ln("RegExp#exec called on incompatible receiver")},pn=nr.UNSUPPORTED_Y,hn=Math.min,vn=[].push,yn=k(/./.exec),gn=k(vn),bn=k("".slice);Ur("split",(function(t,e,r){var n;return n="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,r){var n=Qe(F(this)),o=void 0===r?4294967295:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Dr(t))return T(e,n,t,o);for(var i,a,u,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),s=0,l=new RegExp(t.source,f+"g");(i=T(_r,l,n))&&!((a=l.lastIndex)>s&&(gn(c,bn(n,s,i.index)),i.length>1&&i.index<n.length&&Cr(vn,c,sn(i,1)),u=i[0].length,s=a,c.length>=o));)l.lastIndex===i.index&&l.lastIndex++;return s===n.length?!u&&yn(l,"")||gn(c,""):gn(c,bn(n,s)),c.length>o?sn(c,0,o):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:T(e,this,t,r)}:e,[function(e,r){var o=F(this),i=null==e?void 0:ut(e,t);return i?T(i,e,o,r):T(n,Qe(o),e,r)},function(t,o){var i=Dt(this),a=Qe(t),u=r(n,i,a,o,n!==e);if(u.done)return u.value;var c=Qr(i,RegExp),f=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(pn?"g":"y"),l=new c(pn?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===dn(l,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){l.lastIndex=pn?0:h;var y,g=dn(l,pn?bn(a,h):a);if(null===g||(y=hn(xe(l.lastIndex+(pn?h:0)),a.length))===p)h=an(a,h,f);else{if(gn(v,bn(a,p,h)),v.length===d)return v;for(var b=1;b<=g.length-1;b++)if(gn(v,g[b]),v.length===d)return v;h=p=y}}return gn(v,bn(a,p)),v}]}),!!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),pn);var mn=Ve?{}.toString:function(){return"[object "+Je(this)+"]"};Ve||pe(Object.prototype,"toString",mn,{unsafe:!0});var wn=k([].slice),xn=b.Function,An=k([].concat),Tn=k([].join),En={},Sn=function(t,e,r){if(!yt(En,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";En[e]=xn("C,a","return new C("+Tn(n,",")+")")}return En[e](t,r)},On=x?xn.bind:function(t){var e=at(this),r=e.prototype,n=wn(arguments,1),o=function(){var r=An(n,wn(arguments));return this instanceof o?Sn(e,r.length,r):e.apply(t,r)};return z(r)&&(o.prototype=r),o},Rn=G("Reflect","construct"),jn=Object.prototype,In=[].push,_n=m((function(){function t(){}return!(Rn((function(){}),[],t)instanceof t)})),Pn=!m((function(){Rn((function(){}))})),kn=_n||Pn;function Mn(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}ze({target:"Reflect",stat:!0,forced:kn,sham:kn},{construct:function(t,e){Jr(t),Dt(e);var r=arguments.length<3?t:Jr(arguments[2]);if(Pn&&!_n)return Rn(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Cr(In,n,e),new(Cr(On,t,n))}var o=r.prototype,i=hr(z(o)?o:jn),a=Cr(t,i,e);return z(a)?a:i}});var Cn={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},Ln=kt("span").classList,$n=Ln&&Ln.constructor&&Ln.constructor.prototype,Un=$n===Object.prototype?void 0:$n,Nn=k(k.bind),Dn=function(t,e){return at(t),void 0===e?t:x?Nn(t,e):function(){return t.apply(e,arguments)}},Fn=Array.isArray||function(t){return"Array"==L(t)},Bn=St("species"),Wn=b.Array,zn=function(t,e){return new(function(t){var e;return Fn(t)&&(e=t.constructor,(Hr(e)&&(e===Wn||Fn(e.prototype))||z(e)&&null===(e=e[Bn]))&&(e=void 0)),void 0===e?Wn:e}(t))(0===e?0:e)},Yn=k([].push),Gn=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var d,p,h=ht(c),v=N(h),y=Dn(f,s),g=Ae(v),b=0,m=l||zn,w=e?m(c,g):r||a?m(c,0):void 0;g>b;b++)if((u||b in v)&&(p=y(d=v[b],b,h),t))if(e)w[b]=p;else if(p)switch(t){case 3:return!0;case 5:return d;case 6:return b;case 2:Yn(w,d)}else switch(t){case 4:return!1;case 7:Yn(w,d)}return i?-1:n||o?o:w}},Vn={forEach:Gn(0),map:Gn(1),filter:Gn(2),some:Gn(3),every:Gn(4),find:Gn(5),findIndex:Gn(6),filterReject:Gn(7)},qn=function(t,e){var r=[][t];return!!r&&m((function(){r.call(null,e||function(){throw 1},1)}))},Hn=Vn.forEach,Kn=qn("forEach")?[].forEach:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)},Jn=function(t){if(t&&t.forEach!==Kn)try{Yt(t,"forEach",Kn)}catch(e){t.forEach=Kn}};for(var Xn in Cn)Cn[Xn]&&Jn(b[Xn]&&b[Xn].prototype);Jn(Un);var Qn=m((function(){or(1)}));ze({target:"Object",stat:!0,forced:Qn},{keys:function(t){return or(ht(t))}});var Zn=St("species"),to=function(t){return Q>=51||!m((function(){var e=[];return(e.constructor={})[Zn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},eo=to("slice"),ro=St("species"),no=b.Array,oo=Math.max;ze({target:"Array",proto:!0,forced:!eo},{slice:function(t,e){var r,n,o,i=B(this),a=Ae(i),u=me(t,a),c=me(void 0===e?a:e,a);if(Fn(i)&&(r=i.constructor,(Hr(r)&&(r===no||Fn(r.prototype))||z(r)&&null===(r=r[ro]))&&(r=void 0),r===no||void 0===r))return wn(i,u,c);for(n=new(void 0===r?no:r)(oo(c-u,0)),o=0;u<c;u++,o++)u in i&&un(n,o,i[u]);return n.length=o,n}});var io=St("unscopables"),ao=Array.prototype;null==ao[io]&&zt.f(ao,io,{configurable:!0,value:hr(null)});var uo,co,fo,so=function(t){ao[io][t]=!0},lo={},po=!m((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ho=Zt("IE_PROTO"),vo=b.Object,yo=vo.prototype,go=po?vo.getPrototypeOf:function(t){var e=ht(t);if(yt(e,ho))return e[ho];var r=e.constructor;return W(r)&&e instanceof r?r.prototype:e instanceof vo?yo:null},bo=St("iterator"),mo=!1;[].keys&&("next"in(fo=[].keys())?(co=go(go(fo)))!==Object.prototype&&(uo=co):mo=!0),(null==uo||m((function(){var t={};return uo[bo].call(t)!==t})))&&(uo={}),W(uo[bo])||pe(uo,bo,(function(){return this}));var wo={IteratorPrototype:uo,BUGGY_SAFARI_ITERATORS:mo},xo=zt.f,Ao=St("toStringTag"),To=function(t,e,r){t&&!r&&(t=t.prototype),t&&!yt(t,Ao)&&xo(t,Ao,{configurable:!0,value:e})},Eo=wo.IteratorPrototype,So=function(){return this},Oo=b.String,Ro=b.TypeError,jo=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=k(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return Dt(r),function(t){if("object"==typeof t||W(t))return t;throw Ro("Can't set "+Oo(t)+" as a prototype")}(n),e?t(r,n):r.__proto__=n,r}}():void 0),Io=de.PROPER,_o=de.CONFIGURABLE,Po=wo.IteratorPrototype,ko=wo.BUGGY_SAFARI_ITERATORS,Mo=St("iterator"),Co=function(){return this},Lo=function(t,e,r,n,o,i,a){!function(t,e,r,n){var o=e+" Iterator";t.prototype=hr(Eo,{next:R(+!n,r)}),To(t,o,!1),lo[o]=So}(r,e,n);var u,c,f,s=function(t){if(t===o&&v)return v;if(!ko&&t in p)return p[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",d=!1,p=t.prototype,h=p[Mo]||p["@@iterator"]||o&&p[o],v=!ko&&h||s(o),y="Array"==e&&p.entries||h;if(y&&(u=go(y.call(new t)))!==Object.prototype&&u.next&&(go(u)!==Po&&(jo?jo(u,Po):W(u[Mo])||pe(u,Mo,Co)),To(u,l,!0)),Io&&"values"==o&&h&&"values"!==h.name&&(_o?Yt(p,"name","values"):(d=!0,v=function(){return T(h,this)})),o)if(c={values:s("values"),keys:i?v:s("keys"),entries:s("entries")},a)for(f in c)(ko||d||!(f in p))&&pe(p,f,c[f]);else ze({target:e,proto:!0,forced:ko||d},c);return p[Mo]!==v&&pe(p,Mo,v,{name:o}),lo[e]=v,c},$o=zt.f,Uo=ce.set,No=ce.getterFor("Array Iterator"),Do=Lo(Array,"Array",(function(t,e){Uo(this,{type:"Array Iterator",target:B(t),index:0,kind:e})}),(function(){var t=No(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),Fo=lo.Arguments=lo.Array;if(so("keys"),so("values"),so("entries"),w&&"values"!==Fo.name)try{$o(Fo,"name",{value:"values"})}catch(t){}var Bo=_e.f,Wo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],zo={f:function(t){return Wo&&"Window"==L(t)?function(t){try{return Bo(t)}catch(t){return sn(Wo)}}(t):Bo(B(t))}},Yo=m((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})),Go=Object.isExtensible,Vo=m((function(){Go(1)}))||Yo?function(t){return!!z(t)&&((!Yo||"ArrayBuffer"!=L(t))&&(!Go||Go(t)))}:Go,qo=!m((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ho=h((function(t){var e=zt.f,r=!1,n=wt("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=_e.f,e=k([].splice),o={};o[n]=1,t(o).length&&(_e.f=function(r){for(var o=t(r),i=0,a=o.length;i<a;i++)if(o[i]===n){e(o,i,1);break}return o},ze({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:zo.f}))},fastKey:function(t,e){if(!z(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!yt(t,n)){if(!Vo(t))return"F";if(!e)return"E";i(t)}return t[n].objectID},getWeakData:function(t,e){if(!yt(t,n)){if(!Vo(t))return!0;if(!e)return!1;i(t)}return t[n].weakData},onFreeze:function(t){return qo&&r&&Vo(t)&&!yt(t,n)&&i(t),t}};te[n]=!0}));Ho.enable,Ho.fastKey,Ho.getWeakData,Ho.onFreeze;var Ko=St("iterator"),Jo=Array.prototype,Xo=function(t){return void 0!==t&&(lo.Array===t||Jo[Ko]===t)},Qo=St("iterator"),Zo=function(t){if(null!=t)return ut(t,Qo)||ut(t,"@@iterator")||lo[Je(t)]},ti=b.TypeError,ei=function(t,e){var r=arguments.length<2?Zo(t):e;if(at(r))return Dt(T(r,t));throw ti(ot(t)+" is not iterable")},ri=function(t,e,r){var n,o;Dt(t);try{if(!(n=ut(t,"return"))){if("throw"===e)throw r;return r}n=T(n,t)}catch(t){o=!0,n=t}if("throw"===e)throw r;if(o)throw n;return Dt(n),r},ni=b.TypeError,oi=function(t,e){this.stopped=t,this.result=e},ii=oi.prototype,ai=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_ITERATOR),p=!(!r||!r.INTERRUPTED),h=Dn(e,s),v=function(t){return n&&ri(n,"normal",t),new oi(!0,t)},y=function(t){return l?(Dt(t),p?h(t[0],t[1],v):h(t[0],t[1])):p?h(t,v):h(t)};if(d)n=t;else{if(!(o=Zo(t)))throw ni(ot(t)+" is not iterable");if(Xo(o)){for(i=0,a=Ae(t);a>i;i++)if((u=y(t[i]))&&V(ii,u))return u;return new oi(!1)}n=ei(t,o)}for(c=n.next;!(f=T(c,n)).done;){try{u=y(f.value)}catch(t){ri(n,"throw",t)}if("object"==typeof u&&u&&V(ii,u))return u}return new oi(!1)},ui=b.TypeError,ci=function(t,e){if(V(e,t))return t;throw ui("Incorrect invocation")},fi=St("iterator"),si=!1;try{var li=0,di={next:function(){return{done:!!li++}},return:function(){si=!0}};di[fi]=function(){return this},Array.from(di,(function(){throw 2}))}catch(t){}var pi=function(t,e){if(!e&&!si)return!1;var r=!1;try{var n={};n[fi]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},hi=function(t,e,r){var n,o;return jo&&W(n=e.constructor)&&n!==r&&z(o=n.prototype)&&o!==r.prototype&&jo(t,o),t},vi=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",a=b[t],u=a&&a.prototype,c=a,f={},s=function(t){var e=k(u[t]);pe(u,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!z(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return o&&!z(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!z(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(Be(t,!W(a)||!(o||u.forEach&&!m((function(){(new a).entries().next()})))))c=r.getConstructor(e,t,n,i),Ho.enable();else if(Be(t,!0)){var l=new c,d=l[i](o?{}:-0,1)!=l,p=m((function(){l.has(1)})),h=pi((function(t){new a(t)})),v=!o&&m((function(){for(var t=new a,e=5;e--;)t[i](e,e);return!t.has(-0)}));h||((c=e((function(t,e){ci(t,u);var r=hi(new a,t,c);return null!=e&&ai(e,r[i],{that:r,AS_ENTRIES:n}),r}))).prototype=u,u.constructor=c),(p||v)&&(s("delete"),s("has"),n&&s("get")),(v||d)&&s(i),o&&u.clear&&delete u.clear}return f[t]=c,ze({global:!0,forced:c!=a},f),To(c,t),o||r.setStrong(c,t,n),c},yi=function(t,e,r){for(var n in e)pe(t,n,e[n],r);return t},gi=St("species"),bi=function(t){var e=G(t),r=zt.f;w&&e&&!e[gi]&&r(e,gi,{configurable:!0,get:function(){return this}})},mi=zt.f,wi=Ho.fastKey,xi=ce.set,Ai=ce.getterFor,Ti={getConstructor:function(t,e,r,n){var o=t((function(t,o){ci(t,i),xi(t,{type:e,index:hr(null),first:void 0,last:void 0,size:0}),w||(t.size=0),null!=o&&ai(o,t[n],{that:t,AS_ENTRIES:r})})),i=o.prototype,a=Ai(e),u=function(t,e,r){var n,o,i=a(t),u=c(t,e);return u?u.value=r:(i.last=u={index:o=wi(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=u),n&&(n.next=u),w?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},c=function(t,e){var r,n=a(t),o=wi(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return yi(i,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,w?t.size=0:this.size=0},delete:function(t){var e=a(this),r=c(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),w?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=a(this),n=Dn(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),yi(i,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),w&&mi(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=Ai(e),i=Ai(n);Lo(t,e,(function(t,e){xi(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),bi(e)}};vi("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ti);var Ei=nn.charAt,Si=ce.set,Oi=ce.getterFor("String Iterator");Lo(String,"String",(function(t){Si(this,{type:"String Iterator",string:Qe(t),index:0})}),(function(){var t,e=Oi(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Ei(r,n),e.index+=t.length,{value:t,done:!1})}));var Ri=St("iterator"),ji=St("toStringTag"),Ii=Do.values,_i=function(t,e){if(t){if(t[Ri]!==Ii)try{Yt(t,Ri,Ii)}catch(e){t[Ri]=Ii}if(t[ji]||Yt(t,ji,e),Cn[e])for(var r in Do)if(t[r]!==Do[r])try{Yt(t,r,Do[r])}catch(e){t[r]=Do[r]}}};for(var Pi in Cn)_i(b[Pi]&&b[Pi].prototype,Pi);_i(Un,"DOMTokenList");var ki=St("isConcatSpreadable"),Mi=b.TypeError,Ci=Q>=51||!m((function(){var t=[];return t[ki]=!1,t.concat()[0]!==t})),Li=to("concat"),$i=function(t){if(!z(t))return!1;var e=t[ki];return void 0!==e?!!e:Fn(t)};ze({target:"Array",proto:!0,forced:!Ci||!Li},{concat:function(t){var e,r,n,o,i,a=ht(this),u=zn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if($i(i=-1===e?a:arguments[e])){if(c+(o=Ae(i))>9007199254740991)throw Mi("Maximum allowed index exceeded");for(r=0;r<o;r++,c++)r in i&&un(u,c,i[r])}else{if(c>=9007199254740991)throw Mi("Maximum allowed index exceeded");un(u,c++,i)}return u.length=c,u}});var Ui,Ni,Di,Fi,Bi=b.Promise,Wi=/(?:ipad|iphone|ipod).*applewebkit/i.test(q),zi="process"==L(b.process),Yi=b.setImmediate,Gi=b.clearImmediate,Vi=b.process,qi=b.Dispatch,Hi=b.Function,Ki=b.MessageChannel,Ji=b.String,Xi=0,Qi={};try{Ui=b.location}catch(t){}var Zi=function(t){if(yt(Qi,t)){var e=Qi[t];delete Qi[t],e()}},ta=function(t){return function(){Zi(t)}},ea=function(t){Zi(t.data)},ra=function(t){b.postMessage(Ji(t),Ui.protocol+"//"+Ui.host)};Yi&&Gi||(Yi=function(t){var e=wn(arguments,1);return Qi[++Xi]=function(){Cr(W(t)?t:Hi(t),void 0,e)},Ni(Xi),Xi},Gi=function(t){delete Qi[t]},zi?Ni=function(t){Vi.nextTick(ta(t))}:qi&&qi.now?Ni=function(t){qi.now(ta(t))}:Ki&&!Wi?(Fi=(Di=new Ki).port2,Di.port1.onmessage=ea,Ni=Dn(Fi.postMessage,Fi)):b.addEventListener&&W(b.postMessage)&&!b.importScripts&&Ui&&"file:"!==Ui.protocol&&!m(ra)?(Ni=ra,b.addEventListener("message",ea,!1)):Ni="onreadystatechange"in kt("script")?function(t){ar.appendChild(kt("script")).onreadystatechange=function(){ar.removeChild(this),Zi(t)}}:function(t){setTimeout(ta(t),0)});var na,oa,ia,aa,ua,ca,fa,sa,la={set:Yi,clear:Gi},da=/ipad|iphone|ipod/i.test(q)&&void 0!==b.Pebble,pa=/web0s(?!.*chrome)/i.test(q),ha=Lt.f,va=la.set,ya=b.MutationObserver||b.WebKitMutationObserver,ga=b.document,ba=b.process,ma=b.Promise,wa=ha(b,"queueMicrotask"),xa=wa&&wa.value;xa||(na=function(){var t,e;for(zi&&(t=ba.domain)&&t.exit();oa;){e=oa.fn,oa=oa.next;try{e()}catch(t){throw oa?aa():ia=void 0,t}}ia=void 0,t&&t.enter()},Wi||zi||pa||!ya||!ga?!da&&ma&&ma.resolve?((fa=ma.resolve(void 0)).constructor=ma,sa=Dn(fa.then,fa),aa=function(){sa(na)}):zi?aa=function(){ba.nextTick(na)}:(va=Dn(va,b),aa=function(){va(na)}):(ua=!0,ca=ga.createTextNode(""),new ya(na).observe(ca,{characterData:!0}),aa=function(){ca.data=ua=!ua}));var Aa=xa||function(t){var e={fn:t,next:void 0};ia&&(ia.next=e),oa||(oa=e,aa()),ia=e},Ta=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=at(e),this.reject=at(r)},Ea={f:function(t){return new Ta(t)}},Sa=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Oa=function(){this.head=null,this.tail=null};Oa.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var Ra,ja,Ia,_a,Pa=Oa,ka="object"==typeof window,Ma=la.set,Ca=St("species"),La="Promise",$a=ce.getterFor(La),Ua=ce.set,Na=ce.getterFor(La),Da=Bi&&Bi.prototype,Fa=Bi,Ba=Da,Wa=b.TypeError,za=b.document,Ya=b.process,Ga=Ea.f,Va=Ga,qa=!!(za&&za.createEvent&&b.dispatchEvent),Ha=W(b.PromiseRejectionEvent),Ka=!1,Ja=Be(La,(function(){var t=Kt(Fa),e=t!==String(Fa);if(!e&&66===Q)return!0;if(Q>=51&&/native code/.test(t))return!1;var r=new Fa((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(r.constructor={})[Ca]=n,!(Ka=r.then((function(){}))instanceof n)||!e&&ka&&!Ha})),Xa=Ja||!pi((function(t){Fa.all(t).catch((function(){}))})),Qa=function(t){var e;return!(!z(t)||!W(e=t.then))&&e},Za=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&ou(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(Wa("Promise-chain cycle")):(n=Qa(r))?T(n,r,c,f):c(r)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},tu=function(t,e){t.notified||(t.notified=!0,Aa((function(){for(var r,n=t.reactions;r=n.get();)Za(r,t);t.notified=!1,e&&!t.rejection&&ru(t)})))},eu=function(t,e,r){var n,o;qa?((n=za.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),b.dispatchEvent(n)):n={promise:e,reason:r},!Ha&&(o=b["on"+t])?o(n):"unhandledrejection"===t&&function(t,e){var r=b.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},ru=function(t){T(Ma,b,(function(){var e,r=t.facade,n=t.value;if(nu(t)&&(e=Sa((function(){zi?Ya.emit("unhandledRejection",n,r):eu("unhandledrejection",r,n)})),t.rejection=zi||nu(t)?2:1,e.error))throw e.value}))},nu=function(t){return 1!==t.rejection&&!t.parent},ou=function(t){T(Ma,b,(function(){var e=t.facade;zi?Ya.emit("rejectionHandled",e):eu("rejectionhandled",e,t.value)}))},iu=function(t,e,r){return function(n){t(e,n,r)}},au=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,tu(t,!0))},uu=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw Wa("Promise can't be resolved itself");var n=Qa(e);n?Aa((function(){var r={done:!1};try{T(n,e,iu(uu,r,t),iu(au,r,t))}catch(e){au(r,e,t)}})):(t.value=e,t.state=1,tu(t,!1))}catch(e){au({done:!1},e,t)}}};if(Ja&&(Ba=(Fa=function(t){ci(this,Ba),at(t),T(Ra,this);var e=$a(this);try{t(iu(uu,e),iu(au,e))}catch(t){au(e,t)}}).prototype,(Ra=function(t){Ua(this,{type:La,done:!1,notified:!1,parent:!1,reactions:new Pa,rejection:!1,state:0,value:void 0})}).prototype=yi(Ba,{then:function(t,e){var r=Na(this),n=Ga(Qr(this,Fa));return r.parent=!0,n.ok=!W(t)||t,n.fail=W(e)&&e,n.domain=zi?Ya.domain:void 0,0==r.state?r.reactions.add(n):Aa((function(){Za(n,r)})),n.promise},catch:function(t){return this.then(void 0,t)}}),ja=function(){var t=new Ra,e=$a(t);this.promise=t,this.resolve=iu(uu,e),this.reject=iu(au,e)},Ea.f=Ga=function(t){return t===Fa||t===Ia?new ja(t):Va(t)},W(Bi)&&Da!==Object.prototype)){_a=Da.then,Ka||(pe(Da,"then",(function(t,e){var r=this;return new Fa((function(t,e){T(_a,r,t,e)})).then(t,e)}),{unsafe:!0}),pe(Da,"catch",Ba.catch,{unsafe:!0}));try{delete Da.constructor}catch(t){}jo&&jo(Da,Ba)}ze({global:!0,wrap:!0,forced:Ja},{Promise:Fa}),To(Fa,La,!1),bi(La),Ia=G(La),ze({target:La,stat:!0,forced:Ja},{reject:function(t){var e=Ga(this);return T(e.reject,void 0,t),e.promise}}),ze({target:La,stat:!0,forced:Ja},{resolve:function(t){return function(t,e){if(Dt(t),z(e)&&e.constructor===t)return e;var r=Ea.f(t);return(0,r.resolve)(e),r.promise}(this,t)}}),ze({target:La,stat:!0,forced:Xa},{all:function(t){var e=this,r=Ga(e),n=r.resolve,o=r.reject,i=Sa((function(){var r=at(e.resolve),i=[],a=0,u=1;ai(t,(function(t){var c=a++,f=!1;u++,T(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Ga(e),n=r.reject,o=Sa((function(){var o=at(e.resolve);ai(t,(function(t){T(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var cu,fu,su,lu="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,du=zt.f,pu=b.Int8Array,hu=pu&&pu.prototype,vu=b.Uint8ClampedArray,yu=vu&&vu.prototype,gu=pu&&go(pu),bu=hu&&go(hu),mu=Object.prototype,wu=b.TypeError,xu=St("toStringTag"),Au=wt("TYPED_ARRAY_TAG"),Tu=wt("TYPED_ARRAY_CONSTRUCTOR"),Eu=lu&&!!jo&&"Opera"!==Je(b.opera),Su=!1,Ou={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ru={BigInt64Array:8,BigUint64Array:8},ju=function(t){if(!z(t))return!1;var e=Je(t);return yt(Ou,e)||yt(Ru,e)};for(cu in Ou)(su=(fu=b[cu])&&fu.prototype)?Yt(su,Tu,fu):Eu=!1;for(cu in Ru)(su=(fu=b[cu])&&fu.prototype)&&Yt(su,Tu,fu);if((!Eu||!W(gu)||gu===Function.prototype)&&(gu=function(){throw wu("Incorrect invocation")},Eu))for(cu in Ou)b[cu]&&jo(b[cu],gu);if((!Eu||!bu||bu===mu)&&(bu=gu.prototype,Eu))for(cu in Ou)b[cu]&&jo(b[cu].prototype,bu);if(Eu&&go(yu)!==bu&&jo(yu,bu),w&&!yt(bu,xu))for(cu in Su=!0,du(bu,xu,{get:function(){return z(this)?this[Au]:void 0}}),Ou)b[cu]&&Yt(b[cu],Au,cu);var Iu={NATIVE_ARRAY_BUFFER_VIEWS:Eu,TYPED_ARRAY_CONSTRUCTOR:Tu,TYPED_ARRAY_TAG:Su&&Au,aTypedArray:function(t){if(ju(t))return t;throw wu("Target is not a typed array")},aTypedArrayConstructor:function(t){if(W(t)&&(!jo||V(gu,t)))return t;throw wu(ot(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(w){if(r)for(var o in Ou){var i=b[o];if(i&&yt(i.prototype,t))try{delete i.prototype[t]}catch(r){try{i.prototype[t]=e}catch(t){}}}bu[t]&&!r||pe(bu,t,r?e:Eu&&hu[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(w){if(jo){if(r)for(n in Ou)if((o=b[n])&&yt(o,t))try{delete o[t]}catch(t){}if(gu[t]&&!r)return;try{return pe(gu,t,r?e:Eu&&gu[t]||e)}catch(t){}}for(n in Ou)!(o=b[n])||o[t]&&!r||pe(o,t,e)}},isView:function(t){if(!z(t))return!1;var e=Je(t);return"DataView"===e||yt(Ou,e)||yt(Ru,e)},isTypedArray:ju,TypedArray:gu,TypedArrayPrototype:bu},_u=Iu.NATIVE_ARRAY_BUFFER_VIEWS,Pu=b.ArrayBuffer,ku=b.Int8Array,Mu=!_u||!m((function(){ku(1)}))||!m((function(){new ku(-1)}))||!pi((function(t){new ku,new ku(null),new ku(1.5),new ku(t)}),!0)||m((function(){return 1!==new ku(new Pu(2),1,void 0).length})),Cu=b.RangeError,Lu=function(t){if(void 0===t)return 0;var e=ye(t),r=xe(e);if(e!==r)throw Cu("Wrong length or index");return r},$u=b.Array,Uu=Math.abs,Nu=Math.pow,Du=Math.floor,Fu=Math.log,Bu=Math.LN2,Wu=function(t,e,r){var n,o,i,a=$u(r),u=8*r-e-1,c=(1<<u)-1,f=c>>1,s=23===e?Nu(2,-24)-Nu(2,-77):0,l=t<0||0===t&&1/t<0?1:0,d=0;for((t=Uu(t))!=t||t===1/0?(o=t!=t?1:0,n=c):(n=Du(Fu(t)/Bu),t*(i=Nu(2,-n))<1&&(n--,i*=2),(t+=n+f>=1?s/i:s*Nu(2,1-f))*i>=2&&(n++,i/=2),n+f>=c?(o=0,n=c):n+f>=1?(o=(t*i-1)*Nu(2,e),n+=f):(o=t*Nu(2,f-1)*Nu(2,e),n=0));e>=8;)a[d++]=255&o,o/=256,e-=8;for(n=n<<e|o,u+=e;u>0;)a[d++]=255&n,n/=256,u-=8;return a[--d]|=128*l,a},zu=function(t,e){var r,n=t.length,o=8*n-e-1,i=(1<<o)-1,a=i>>1,u=o-7,c=n-1,f=t[c--],s=127&f;for(f>>=7;u>0;)s=256*s+t[c--],u-=8;for(r=s&(1<<-u)-1,s>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===s)s=1-a;else{if(s===i)return r?NaN:f?-1/0:1/0;r+=Nu(2,e),s-=a}return(f?-1:1)*r*Nu(2,s-e)},Yu=function(t){for(var e=ht(this),r=Ae(e),n=arguments.length,o=me(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:me(i,r);a>o;)e[o++]=t;return e},Gu=_e.f,Vu=zt.f,qu=de.PROPER,Hu=de.CONFIGURABLE,Ku=ce.get,Ju=ce.set,Xu=b.ArrayBuffer,Qu=Xu,Zu=Qu&&Qu.prototype,tc=b.DataView,ec=tc&&tc.prototype,rc=Object.prototype,nc=b.Array,oc=b.RangeError,ic=k(Yu),ac=k([].reverse),uc=Wu,cc=zu,fc=function(t){return[255&t]},sc=function(t){return[255&t,t>>8&255]},lc=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},dc=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},pc=function(t){return uc(t,23,4)},hc=function(t){return uc(t,52,8)},vc=function(t,e){Vu(t.prototype,e,{get:function(){return Ku(this)[e]}})},yc=function(t,e,r,n){var o=Lu(r),i=Ku(t);if(o+e>i.byteLength)throw oc("Wrong index");var a=Ku(i.buffer).bytes,u=o+i.byteOffset,c=sn(a,u,u+e);return n?c:ac(c)},gc=function(t,e,r,n,o,i){var a=Lu(r),u=Ku(t);if(a+e>u.byteLength)throw oc("Wrong index");for(var c=Ku(u.buffer).bytes,f=a+u.byteOffset,s=n(+o),l=0;l<e;l++)c[f+l]=s[i?l:e-l-1]};if(lu){var bc=qu&&"ArrayBuffer"!==Xu.name;if(m((function(){Xu(1)}))&&m((function(){new Xu(-1)}))&&!m((function(){return new Xu,new Xu(1.5),new Xu(NaN),bc&&!Hu})))bc&&Hu&&Yt(Xu,"name","ArrayBuffer");else{(Qu=function(t){return ci(this,Zu),new Xu(Lu(t))}).prototype=Zu;for(var mc,wc=Gu(Xu),xc=0;wc.length>xc;)(mc=wc[xc++])in Qu||Yt(Qu,mc,Xu[mc]);Zu.constructor=Qu}jo&&go(ec)!==rc&&jo(ec,rc);var Ac=new tc(new Qu(2)),Tc=k(ec.setInt8);Ac.setInt8(0,2147483648),Ac.setInt8(1,2147483649),!Ac.getInt8(0)&&Ac.getInt8(1)||yi(ec,{setInt8:function(t,e){Tc(this,t,e<<24>>24)},setUint8:function(t,e){Tc(this,t,e<<24>>24)}},{unsafe:!0})}else Zu=(Qu=function(t){ci(this,Zu);var e=Lu(t);Ju(this,{bytes:ic(nc(e),0),byteLength:e}),w||(this.byteLength=e)}).prototype,ec=(tc=function(t,e,r){ci(this,ec),ci(t,Zu);var n=Ku(t).byteLength,o=ye(e);if(o<0||o>n)throw oc("Wrong offset");if(o+(r=void 0===r?n-o:xe(r))>n)throw oc("Wrong length");Ju(this,{buffer:t,byteLength:r,byteOffset:o}),w||(this.buffer=t,this.byteLength=r,this.byteOffset=o)}).prototype,w&&(vc(Qu,"byteLength"),vc(tc,"buffer"),vc(tc,"byteLength"),vc(tc,"byteOffset")),yi(ec,{getInt8:function(t){return yc(this,1,t)[0]<<24>>24},getUint8:function(t){return yc(this,1,t)[0]},getInt16:function(t){var e=yc(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=yc(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return dc(yc(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return dc(yc(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return cc(yc(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return cc(yc(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){gc(this,1,t,fc,e)},setUint8:function(t,e){gc(this,1,t,fc,e)},setInt16:function(t,e){gc(this,2,t,sc,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){gc(this,2,t,sc,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){gc(this,4,t,lc,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){gc(this,4,t,lc,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){gc(this,4,t,pc,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){gc(this,8,t,hc,e,arguments.length>2?arguments[2]:void 0)}});To(Qu,"ArrayBuffer"),To(tc,"DataView");var Ec={ArrayBuffer:Qu,DataView:tc},Sc=Math.floor,Oc=Number.isInteger||function(t){return!z(t)&&isFinite(t)&&Sc(t)===t},Rc=b.RangeError,jc=b.RangeError,Ic=function(t,e){var r=function(t){var e=ye(t);if(e<0)throw Rc("The argument can't be less than 0");return e}(t);if(r%e)throw jc("Wrong offset");return r},_c=Iu.aTypedArrayConstructor,Pc=function(t){var e,r,n,o,i,a,u=Jr(this),c=ht(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,d=Zo(c);if(d&&!Xo(d))for(a=(i=ei(c,d)).next,c=[];!(o=T(a,i)).done;)c.push(o.value);for(l&&f>2&&(s=Dn(s,arguments[2])),r=Ae(c),n=new(_c(u))(r),e=0;r>e;e++)n[e]=l?s(c[e],e):c[e];return n};h((function(t){var e=_e.f,r=Vn.forEach,n=ce.get,o=ce.set,i=zt.f,a=Lt.f,u=Math.round,c=b.RangeError,f=Ec.ArrayBuffer,s=f.prototype,l=Ec.DataView,d=Iu.NATIVE_ARRAY_BUFFER_VIEWS,p=Iu.TYPED_ARRAY_CONSTRUCTOR,h=Iu.TYPED_ARRAY_TAG,v=Iu.TypedArray,y=Iu.TypedArrayPrototype,g=Iu.aTypedArrayConstructor,m=Iu.isTypedArray,x=function(t,e){g(t);for(var r=0,n=e.length,o=new t(n);n>r;)o[r]=e[r++];return o},A=function(t,e){i(t,e,{get:function(){return n(this)[e]}})},E=function(t){var e;return V(s,t)||"ArrayBuffer"==(e=Je(t))||"SharedArrayBuffer"==e},S=function(t,e){return m(t)&&!rt(e)&&e in t&&Oc(+e)&&e>=0},O=function(t,e){return e=It(e),S(t,e)?R(2,t[e]):a(t,e)},j=function(t,e,r){return e=It(e),!(S(t,e)&&z(r)&&yt(r,"value"))||yt(r,"get")||yt(r,"set")||r.configurable||yt(r,"writable")&&!r.writable||yt(r,"enumerable")&&!r.enumerable?i(t,e,r):(t[e]=r.value,t)};w?(d||(Lt.f=O,zt.f=j,A(y,"buffer"),A(y,"byteOffset"),A(y,"byteLength"),A(y,"length")),ze({target:"Object",stat:!0,forced:!d},{getOwnPropertyDescriptor:O,defineProperty:j}),t.exports=function(t,a,s){var g=t.match(/\d+$/)[0]/8,w=t+(s?"Clamped":"")+"Array",A="get"+t,S="set"+t,O=b[w],R=O,j=R&&R.prototype,I={},_=function(t,e){i(t,e,{get:function(){return function(t,e){var r=n(t);return r.view[A](e*g+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var o=n(t);s&&(r=(r=u(r))<0?0:r>255?255:255&r),o.view[S](e*g+o.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};d?Mu&&(R=a((function(t,e,r,n){return ci(t,j),hi(z(e)?E(e)?void 0!==n?new O(e,Ic(r,g),n):void 0!==r?new O(e,Ic(r,g)):new O(e):m(e)?x(R,e):T(Pc,R,e):new O(Lu(e)),t,R)})),jo&&jo(R,v),r(e(O),(function(t){t in R||Yt(R,t,O[t])})),R.prototype=j):(R=a((function(t,e,r,n){ci(t,j);var i,a,u,s=0,d=0;if(z(e)){if(!E(e))return m(e)?x(R,e):T(Pc,R,e);i=e,d=Ic(r,g);var p=e.byteLength;if(void 0===n){if(p%g)throw c("Wrong length");if((a=p-d)<0)throw c("Wrong length")}else if((a=xe(n)*g)+d>p)throw c("Wrong length");u=a/g}else u=Lu(e),i=new f(a=u*g);for(o(t,{buffer:i,byteOffset:d,byteLength:a,length:u,view:new l(i)});s<u;)_(t,s++)})),jo&&jo(R,v),j=R.prototype=hr(y)),j.constructor!==R&&Yt(j,"constructor",R),Yt(j,p,R),h&&Yt(j,h,w),I[w]=R,ze({global:!0,forced:R!=O,sham:!d},I),"BYTES_PER_ELEMENT"in R||Yt(R,"BYTES_PER_ELEMENT",g),"BYTES_PER_ELEMENT"in j||Yt(j,"BYTES_PER_ELEMENT",g),bi(w)}):t.exports=function(){}}))("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}));var kc=Math.min,Mc=k([].copyWithin||function(t,e){var r=ht(this),n=Ae(r),o=me(t,n),i=me(e,n),a=arguments.length>2?arguments[2]:void 0,u=kc((void 0===a?n:me(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=c,i+=c;return r}),Cc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("copyWithin",(function(t,e){return Mc(Cc(this),t,e,arguments.length>2?arguments[2]:void 0)}));var Lc=Vn.every,$c=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("every",(function(t){return Lc($c(this),t,arguments.length>1?arguments[1]:void 0)}));var Uc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("fill",(function(t){var e=arguments.length;return T(Yu,Uc(this),t,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}));var Nc=Iu.TYPED_ARRAY_CONSTRUCTOR,Dc=Iu.aTypedArrayConstructor,Fc=function(t){return Dc(Qr(t,t[Nc]))},Bc=function(t,e){return function(t,e){for(var r=0,n=Ae(e),o=new t(n);n>r;)o[r]=e[r++];return o}(Fc(t),e)},Wc=Vn.filter,zc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("filter",(function(t){var e=Wc(zc(this),t,arguments.length>1?arguments[1]:void 0);return Bc(this,e)}));var Yc=Vn.find,Gc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("find",(function(t){return Yc(Gc(this),t,arguments.length>1?arguments[1]:void 0)}));var Vc=Vn.findIndex,qc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("findIndex",(function(t){return Vc(qc(this),t,arguments.length>1?arguments[1]:void 0)}));var Hc=Vn.forEach,Kc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("forEach",(function(t){Hc(Kc(this),t,arguments.length>1?arguments[1]:void 0)}));var Jc=Ee.includes,Xc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("includes",(function(t){return Jc(Xc(this),t,arguments.length>1?arguments[1]:void 0)}));var Qc=Ee.indexOf,Zc=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("indexOf",(function(t){return Qc(Zc(this),t,arguments.length>1?arguments[1]:void 0)}));var tf=St("iterator"),ef=b.Uint8Array,rf=k(Do.values),nf=k(Do.keys),of=k(Do.entries),af=Iu.aTypedArray,uf=Iu.exportTypedArrayMethod,cf=ef&&ef.prototype,ff=!m((function(){cf[tf].call([1])})),sf=!!cf&&cf.values&&cf[tf]===cf.values&&"values"===cf.values.name,lf=function(){return rf(af(this))};uf("entries",(function(){return of(af(this))}),ff),uf("keys",(function(){return nf(af(this))}),ff),uf("values",lf,ff||!sf,{name:"values"}),uf(tf,lf,ff||!sf,{name:"values"});var df=Iu.aTypedArray,pf=Iu.exportTypedArrayMethod,hf=k([].join);pf("join",(function(t){return hf(df(this),t)}));var vf=Math.min,yf=[].lastIndexOf,gf=!!yf&&1/[1].lastIndexOf(1,-0)<0,bf=qn("lastIndexOf"),mf=gf||!bf?function(t){if(gf)return Cr(yf,this,arguments)||0;var e=B(this),r=Ae(e),n=r-1;for(arguments.length>1&&(n=vf(n,ye(arguments[1]))),n<0&&(n=r+n);n>=0;n--)if(n in e&&e[n]===t)return n||0;return-1}:yf,wf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return Cr(mf,wf(this),e>1?[t,arguments[1]]:[t])}));var xf=Vn.map,Af=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("map",(function(t){return xf(Af(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(Fc(t))(e)}))}));var Tf=b.TypeError,Ef=function(t){return function(e,r,n,o){at(r);var i=ht(e),a=N(i),u=Ae(i),c=t?u-1:0,f=t?-1:1;if(n<2)for(;;){if(c in a){o=a[c],c+=f;break}if(c+=f,t?c<0:u<=c)throw Tf("Reduce of empty array with no initial value")}for(;t?c>=0:u>c;c+=f)c in a&&(o=r(o,a[c],c,i));return o}},Sf={left:Ef(!1),right:Ef(!0)},Of=Sf.left,Rf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return Of(Rf(this),t,e,e>1?arguments[1]:void 0)}));var jf=Sf.right,If=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return jf(If(this),t,e,e>1?arguments[1]:void 0)}));var _f=Iu.aTypedArray,Pf=Iu.exportTypedArrayMethod,kf=Math.floor;Pf("reverse",(function(){for(var t,e=_f(this).length,r=kf(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}));var Mf=b.RangeError,Cf=b.Int8Array,Lf=Cf&&Cf.prototype,$f=Lf&&Lf.set,Uf=Iu.aTypedArray,Nf=Iu.exportTypedArrayMethod,Df=!m((function(){var t=new Uint8ClampedArray(2);return T($f,t,{length:1,0:3},1),3!==t[1]})),Ff=Df&&Iu.NATIVE_ARRAY_BUFFER_VIEWS&&m((function(){var t=new Cf(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));Nf("set",(function(t){Uf(this);var e=Ic(arguments.length>1?arguments[1]:void 0,1),r=ht(t);if(Df)return T($f,this,r,e);var n=this.length,o=Ae(r),i=0;if(o+e>n)throw Mf("Wrong length");for(;i<o;)this[e+i]=r[i++]}),!Df||Ff);var Bf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("slice",(function(t,e){for(var r=wn(Bf(this),t,e),n=Fc(this),o=0,i=r.length,a=new n(i);i>o;)a[o]=r[o++];return a}),m((function(){new Int8Array(1).slice()})));var Wf=Vn.some,zf=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("some",(function(t){return Wf(zf(this),t,arguments.length>1?arguments[1]:void 0)}));var Yf=Math.floor,Gf=function(t,e){var r=t.length,n=Yf(r/2);return r<8?Vf(t,e):qf(t,Gf(sn(t,0,n),e),Gf(sn(t,n),e),e)},Vf=function(t,e){for(var r,n,o=t.length,i=1;i<o;){for(n=i,r=t[i];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==i++&&(t[n]=r)}return t},qf=function(t,e,r,n){for(var o=e.length,i=r.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?n(e[a],r[u])<=0?e[a++]:r[u++]:a<o?e[a++]:r[u++];return t},Hf=Gf,Kf=q.match(/firefox\/(\d+)/i),Jf=!!Kf&&+Kf[1],Xf=/MSIE|Trident/.test(q),Qf=q.match(/AppleWebKit\/(\d+)\./),Zf=!!Qf&&+Qf[1],ts=b.Array,es=Iu.aTypedArray,rs=Iu.exportTypedArrayMethod,ns=b.Uint16Array,os=ns&&k(ns.prototype.sort),is=!(!os||m((function(){os(new ns(2),null)}))&&m((function(){os(new ns(2),{})}))),as=!!os&&!m((function(){if(Q)return Q<74;if(Jf)return Jf<67;if(Xf)return!0;if(Zf)return Zf<602;var t,e,r=new ns(516),n=ts(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(os(r,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));rs("sort",(function(t){return void 0!==t&&at(t),as?os(this,t):Hf(es(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t))}),!as||is);var us=Iu.aTypedArray;(0,Iu.exportTypedArrayMethod)("subarray",(function(t,e){var r=us(this),n=r.length,o=me(t,n);return new(Fc(r))(r.buffer,r.byteOffset+o*r.BYTES_PER_ELEMENT,xe((void 0===e?n:me(e,n))-o))}));var cs=b.Int8Array,fs=Iu.aTypedArray,ss=Iu.exportTypedArrayMethod,ls=[].toLocaleString,ds=!!cs&&m((function(){ls.call(new cs(1))}));ss("toLocaleString",(function(){return Cr(ls,ds?wn(fs(this)):fs(this),wn(arguments))}),m((function(){return[1,2].toLocaleString()!=new cs([1,2]).toLocaleString()}))||!m((function(){cs.prototype.toLocaleString.call([1,2])})));var ps=Iu.exportTypedArrayMethod,hs=b.Uint8Array,vs=hs&&hs.prototype||{},ys=[].toString,gs=k([].join);m((function(){ys.call({})}))&&(ys=function(){return gs(this)});var bs=vs.toString!=ys;ps("toString",ys,bs);var ms=[],ws=k(ms.sort),xs=k(ms.push),As=m((function(){ms.sort(void 0)})),Ts=m((function(){ms.sort(null)})),Es=qn("sort"),Ss=!m((function(){if(Q)return Q<70;if(!(Jf&&Jf>3)){if(Xf)return!0;if(Zf)return Zf<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)ms.push({k:e+n,v:r})}for(ms.sort((function(t,e){return e.v-t.v})),n=0;n<ms.length;n++)e=ms[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));ze({target:"Array",proto:!0,forced:As||!Ts||!Es||!Ss},{sort:function(t){void 0!==t&&at(t);var e=ht(this);if(Ss)return void 0===t?ws(e):ws(e,t);var r,n,o=[],i=Ae(e);for(n=0;n<i;n++)n in e&&xs(o,e[n]);for(Hf(o,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:Qe(e)>Qe(r)?1:-1}}(t)),r=o.length,n=0;n<r;)e[n]=o[n++];for(;n<i;)delete e[n++];return e}}),ze({target:"Object",stat:!0,sham:!w},{getOwnPropertyDescriptors:function(t){for(var e,r,n=B(t),o=Lt.f,i=Me(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&un(a,e,r);return a}});var Os=function(t,e,r,n){try{return n?e(Dt(r)[0],r[1]):e(r)}catch(e){ri(t,"throw",e)}},Rs=b.Array,js=!pi((function(t){Array.from(t)}));ze({target:"Array",stat:!0,forced:js},{from:function(t){var e=ht(t),r=Hr(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Dn(o,n>2?arguments[2]:void 0));var a,u,c,f,s,l,d=Zo(e),p=0;if(!d||this==Rs&&Xo(d))for(a=Ae(e),u=r?new this(a):Rs(a);a>p;p++)l=i?o(e[p],p):e[p],un(u,p,l);else for(s=(f=ei(e,d)).next,u=r?new this:[];!(c=T(s,f)).done;p++)l=i?Os(f,o,[c.value,p],!0):c.value,un(u,p,l);return u.length=p,u}});var Is=to("splice"),_s=b.TypeError,Ps=Math.max,ks=Math.min;ze({target:"Array",proto:!0,forced:!Is},{splice:function(t,e){var r,n,o,i,a,u,c=ht(this),f=Ae(c),s=me(t,f),l=arguments.length;if(0===l?r=n=0:1===l?(r=0,n=f-s):(r=l-2,n=ks(Ps(ye(e),0),f-s)),f+r-n>9007199254740991)throw _s("Maximum allowed length exceeded");for(o=zn(c,n),i=0;i<n;i++)(a=s+i)in c&&un(o,i,c[a]);if(o.length=n,r<n){for(i=s;i<f-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:delete c[u];for(i=f;i>f-n+r;i--)delete c[i-1]}else if(r>n)for(i=f-n;i>s;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:delete c[u];for(i=0;i<r;i++)c[i+s]=arguments[i+2];return c.length=f-n+r,o}});var Ms=de.EXISTS,Cs=zt.f,Ls=Function.prototype,$s=k(Ls.toString),Us=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ns=k(Us.exec);w&&!Ms&&Cs(Ls,"name",{configurable:!0,get:function(){try{return Ns(Us,$s(this))[1]}catch(t){return""}}});var Ds,Fs=b.TypeError,Bs=function(t){if(Dr(t))throw Fs("The method doesn't accept regular expressions");return t},Ws=St("match"),zs=Lt.f,Ys=k("".startsWith),Gs=k("".slice),Vs=Math.min,qs=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Ws]=!1,"/./"[t](e)}catch(t){}}return!1}("startsWith"),Hs=!(qs||(Ds=zs(String.prototype,"startsWith"),!Ds||Ds.writable));ze({target:"String",proto:!0,forced:!Hs&&!qs},{startsWith:function(t){var e=Qe(F(this));Bs(t);var r=xe(Vs(arguments.length>1?arguments[1]:void 0,e.length)),n=Qe(t);return Ys?Ys(e,n,r):Gs(e,r,r+n.length)===n}});var Ks,Js="\t\n\v\f\r                 \u2028\u2029\ufeff",Xs=k("".replace),Qs="["+Js+"]",Zs=RegExp("^"+Qs+Qs+"*"),tl=RegExp(Qs+Qs+"*$"),el=function(t){return function(e){var r=Qe(F(e));return 1&t&&(r=Xs(r,Zs,"")),2&t&&(r=Xs(r,tl,"")),r}},rl={start:el(1),end:el(2),trim:el(3)},nl=de.PROPER,ol=rl.trim;ze({target:"String",proto:!0,forced:(Ks="trim",m((function(){return!!Js[Ks]()||"​…᠎"!=="​…᠎"[Ks]()||nl&&Js[Ks].name!==Ks})))},{trim:function(){return ol(this)}});var il=Vn.map,al=to("map");ze({target:"Array",proto:!0,forced:!al},{map:function(t){return il(this,t,arguments.length>1?arguments[1]:void 0)}}),vi("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ti);var ul=Vn.filter,cl=to("filter");ze({target:"Array",proto:!0,forced:!cl},{filter:function(t){return ul(this,t,arguments.length>1?arguments[1]:void 0)}});var fl=k([].join),sl=N!=Object,ll=qn("join",",");ze({target:"Array",proto:!0,forced:sl||!ll},{join:function(t){return fl(B(this),void 0===t?",":t)}});var dl=/"/g,pl=k("".replace);ze({target:"String",proto:!0,forced:function(t){return m((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",r="name",n=t,o=Qe(F(this)),i="<"+e,""!==r&&(i+=" "+r+'="'+pl(Qe(n),dl,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,r,n,o,i}}),ze({global:!0},{globalThis:b});var hl=Object.assign,vl=Object.defineProperty,yl=k([].concat),gl=!hl||m((function(){if(w&&1!==hl({b:1},hl(vl({},"a",{enumerable:!0,get:function(){vl(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=hl({},t)[r]||"abcdefghijklmnopqrst"!=or(hl({},e)).join("")}))?function(t,e){for(var r=ht(t),n=arguments.length,o=1,i=Pe.f,a=O.f;n>o;)for(var u,c=N(arguments[o++]),f=i?yl(or(c),i(c)):or(c),s=f.length,l=0;s>l;)u=f[l++],w&&!T(a,c,u)||(r[u]=c[u]);return r}:hl;ze({target:"Object",stat:!0,forced:Object.assign!==gl},{assign:gl});var bl=Math.floor,ml=k("".charAt),wl=k("".replace),xl=k("".slice),Al=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Tl=/\$([$&'`]|\d{1,2})/g,El=function(t,e,r,n,o,i){var a=r+t.length,u=n.length,c=Tl;return void 0!==o&&(o=ht(o),c=Al),wl(i,c,(function(i,c){var f;switch(ml(c,0)){case"$":return"$";case"&":return t;case"`":return xl(e,0,r);case"'":return xl(e,a);case"<":f=o[xl(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>u){var l=bl(s/10);return 0===l?i:l<=u?void 0===n[l-1]?ml(c,1):n[l-1]+ml(c,1):i}f=n[s-1]}return void 0===f?"":f}))},Sl=St("replace"),Ol=Math.max,Rl=Math.min,jl=k([].concat),Il=k([].push),_l=k("".indexOf),Pl=k("".slice),kl="$0"==="a".replace(/./,"$0"),Ml=!!/./[Sl]&&""===/./[Sl]("a","$0");Ur("replace",(function(t,e,r){var n=Ml?"$":"$0";return[function(t,r){var n=F(this),o=null==t?void 0:ut(t,Sl);return o?T(o,t,n,r):T(e,Qe(n),t,r)},function(t,o){var i=Dt(this),a=Qe(t);if("string"==typeof o&&-1===_l(o,n)&&-1===_l(o,"$<")){var u=r(e,i,a,o);if(u.done)return u.value}var c=W(o);c||(o=Qe(o));var f=i.global;if(f){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var d=dn(i,a);if(null===d)break;if(Il(l,d),!f)break;""===Qe(d[0])&&(i.lastIndex=an(a,xe(i.lastIndex),s))}for(var p,h="",v=0,y=0;y<l.length;y++){for(var g=Qe((d=l[y])[0]),b=Ol(Rl(ye(d.index),a.length),0),m=[],w=1;w<d.length;w++)Il(m,void 0===(p=d[w])?p:String(p));var x=d.groups;if(c){var A=jl([g],m,b,a);void 0!==x&&Il(A,x);var T=Qe(Cr(o,void 0,A))}else T=El(g,a,b,m,x,o);b>=v&&(h+=Pl(a,v,b)+T,v=b+g.length)}return h+Pl(a,v)}]}),!!m((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!kl||Ml),ze({target:"Array",proto:!0},{fill:Yu}),so("fill");var Cl={f:St},Ll=b,$l=zt.f,Ul=function(t){var e=Ll.Symbol||(Ll.Symbol={});yt(e,t)||$l(e,t,{value:Cl.f(t)})},Nl=Vn.forEach,Dl=Zt("hidden"),Fl=St("toPrimitive"),Bl=ce.set,Wl=ce.getterFor("Symbol"),zl=Object.prototype,Yl=b.Symbol,Gl=Yl&&Yl.prototype,Vl=b.TypeError,ql=b.QObject,Hl=G("JSON","stringify"),Kl=Lt.f,Jl=zt.f,Xl=zo.f,Ql=O.f,Zl=k([].push),td=dt("symbols"),ed=dt("op-symbols"),rd=dt("string-to-symbol-registry"),nd=dt("symbol-to-string-registry"),od=dt("wks"),id=!ql||!ql.prototype||!ql.prototype.findChild,ad=w&&m((function(){return 7!=hr(Jl({},"a",{get:function(){return Jl(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Kl(zl,e);n&&delete zl[e],Jl(t,e,r),n&&t!==zl&&Jl(zl,e,n)}:Jl,ud=function(t,e){var r=td[t]=hr(Gl);return Bl(r,{type:"Symbol",tag:t,description:e}),w||(r.description=e),r},cd=function(t,e,r){t===zl&&cd(ed,e,r),Dt(t);var n=It(e);return Dt(r),yt(td,n)?(r.enumerable?(yt(t,Dl)&&t[Dl][n]&&(t[Dl][n]=!1),r=hr(r,{enumerable:R(0,!1)})):(yt(t,Dl)||Jl(t,Dl,R(1,{})),t[Dl][n]=!0),ad(t,n,r)):Jl(t,n,r)},fd=function(t,e){Dt(t);var r=B(e),n=or(r).concat(pd(r));return Nl(n,(function(e){w&&!T(sd,r,e)||cd(t,e,r[e])})),t},sd=function(t){var e=It(t),r=T(Ql,this,e);return!(this===zl&&yt(td,e)&&!yt(ed,e))&&(!(r||!yt(this,e)||!yt(td,e)||yt(this,Dl)&&this[Dl][e])||r)},ld=function(t,e){var r=B(t),n=It(e);if(r!==zl||!yt(td,n)||yt(ed,n)){var o=Kl(r,n);return!o||!yt(td,n)||yt(r,Dl)&&r[Dl][n]||(o.enumerable=!0),o}},dd=function(t){var e=Xl(B(t)),r=[];return Nl(e,(function(t){yt(td,t)||yt(te,t)||Zl(r,t)})),r},pd=function(t){var e=t===zl,r=Xl(e?ed:B(t)),n=[];return Nl(r,(function(t){!yt(td,t)||e&&!yt(zl,t)||Zl(n,td[t])})),n};if(Z||(Gl=(Yl=function(){if(V(Gl,this))throw Vl("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?Qe(arguments[0]):void 0,e=wt(t),r=function(t){this===zl&&T(r,ed,t),yt(this,Dl)&&yt(this[Dl],e)&&(this[Dl][e]=!1),ad(this,e,R(1,t))};return w&&id&&ad(zl,e,{configurable:!0,set:r}),ud(e,t)}).prototype,pe(Gl,"toString",(function(){return Wl(this).tag})),pe(Yl,"withoutSetter",(function(t){return ud(wt(t),t)})),O.f=sd,zt.f=cd,ir.f=fd,Lt.f=ld,_e.f=zo.f=dd,Pe.f=pd,Cl.f=function(t){return ud(St(t),t)},w&&(Jl(Gl,"description",{configurable:!0,get:function(){return Wl(this).description}}),pe(zl,"propertyIsEnumerable",sd,{unsafe:!0}))),ze({global:!0,wrap:!0,forced:!Z,sham:!Z},{Symbol:Yl}),Nl(or(od),(function(t){Ul(t)})),ze({target:"Symbol",stat:!0,forced:!Z},{for:function(t){var e=Qe(t);if(yt(rd,e))return rd[e];var r=Yl(e);return rd[e]=r,nd[r]=e,r},keyFor:function(t){if(!rt(t))throw Vl(t+" is not a symbol");if(yt(nd,t))return nd[t]},useSetter:function(){id=!0},useSimple:function(){id=!1}}),ze({target:"Object",stat:!0,forced:!Z,sham:!w},{create:function(t,e){return void 0===e?hr(t):fd(hr(t),e)},defineProperty:cd,defineProperties:fd,getOwnPropertyDescriptor:ld}),ze({target:"Object",stat:!0,forced:!Z},{getOwnPropertyNames:dd,getOwnPropertySymbols:pd}),ze({target:"Object",stat:!0,forced:m((function(){Pe.f(1)}))},{getOwnPropertySymbols:function(t){return Pe.f(ht(t))}}),Hl){var hd=!Z||m((function(){var t=Yl();return"[null]"!=Hl([t])||"{}"!=Hl({a:t})||"{}"!=Hl(Object(t))}));ze({target:"JSON",stat:!0,forced:hd},{stringify:function(t,e,r){var n=wn(arguments),o=e;if((z(e)||void 0!==t)&&!rt(t))return Fn(e)||(e=function(t,e){if(W(o)&&(e=T(o,this,t,e)),!rt(e))return e}),n[1]=e,Cr(Hl,null,n)}})}if(!Gl[Fl]){var vd=Gl.valueOf;pe(Gl,Fl,(function(t){return T(vd,this)}))}To(Yl,"Symbol"),te[Dl]=!0;var yd,gd,bd=zt.f,md=b.Symbol,wd=md&&md.prototype;if(w&&W(md)&&(!("description"in wd)||void 0!==md().description)){var xd={},Ad=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:Qe(arguments[0]),e=V(wd,this)?new md(t):void 0===t?md():md(t);return""===t&&(xd[e]=!0),e};Ce(Ad,md),Ad.prototype=wd,wd.constructor=Ad;var Td="Symbol(test)"==String(md("test")),Ed=k(wd.toString),Sd=k(wd.valueOf),Od=/^Symbol\((.*)\)[^)]+$/,Rd=k("".replace),jd=k("".slice);bd(wd,"description",{configurable:!0,get:function(){var t=Sd(this),e=Ed(t);if(yt(xd,t))return"";var r=Td?jd(e,7,-1):Rd(e,Od,"$1");return""===r?void 0:r}}),ze({global:!0,forced:!0},{Symbol:Ad})}function Id(){}function _d(t){return t()}function Pd(){return Object.create(null)}function kd(t){t.forEach(_d)}function Md(t){return"function"==typeof t}function Cd(t,e){return t!=t?e==e:t!==e||t&&"object"===u(t)||"function"==typeof t}function Ld(t,e){return yd||(yd=document.createElement("a")),yd.href=e,t===yd.href}function $d(t,e){t.appendChild(e)}function Ud(t,e,r){var n=function(t){if(!t)return document;var e=t.getRootNode?t.getRootNode():t.ownerDocument;if(e&&e.host)return e;return t.ownerDocument}(t);if(!n.getElementById(e)){var o=Fd("style");o.id=e,o.textContent=r,function(t,e){$d(t.head||t,e)}(n,o)}}function Nd(t,e,r){t.insertBefore(e,r||null)}function Dd(t){t.parentNode.removeChild(t)}function Fd(t){return document.createElement(t)}function Bd(t){return document.createTextNode(t)}function Wd(){return Bd(" ")}function zd(t,e,r,n){return t.addEventListener(e,r,n),function(){return t.removeEventListener(e,r,n)}}function Yd(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function Gd(t){return Array.from(t.childNodes)}function Vd(t,e,r){t.classList[r?"add":"remove"](e)}function qd(t){gd=t}Ul("iterator");var Hd=[],Kd=[],Jd=[],Xd=[],Qd=Promise.resolve(),Zd=!1;function tp(t){Jd.push(t)}var ep=new Set,rp=0;function np(){var t=gd;do{for(;rp<Hd.length;){var e=Hd[rp];rp++,qd(e),op(e.$$)}for(qd(null),Hd.length=0,rp=0;Kd.length;)Kd.pop()();for(var r=0;r<Jd.length;r+=1){var n=Jd[r];ep.has(n)||(ep.add(n),n())}Jd.length=0}while(Hd.length);for(;Xd.length;)Xd.pop()();Zd=!1,ep.clear(),qd(t)}function op(t){if(null!==t.fragment){t.update(),kd(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(tp)}}var ip=new Set;function ap(t,e){t&&t.i&&(ip.delete(t),t.i(e))}function up(t,e,r,n){if(t&&t.o){if(ip.has(t))return;ip.add(t),(void 0).c.push((function(){ip.delete(t),n&&(r&&t.d(1),n())})),t.o(e)}}var cp="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function fp(t){t&&t.c()}function sp(t,e,r,n){var o=t.$$,i=o.fragment,a=o.on_mount,u=o.on_destroy,c=o.after_update;i&&i.m(e,r),n||tp((function(){var e=a.map(_d).filter(Md);u?u.push.apply(u,Mn(e)):kd(e),t.$$.on_mount=[]})),c.forEach(tp)}function lp(t,e){var r=t.$$;null!==r.fragment&&(kd(r.on_destroy),r.fragment&&r.fragment.d(e),r.on_destroy=r.fragment=null,r.ctx=[])}function dp(t,e){-1===t.$$.dirty[0]&&(Hd.push(t),Zd||(Zd=!0,Qd.then(np)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function pp(t,e,r,n,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1],c=gd;qd(t);var f=t.$$={fragment:null,ctx:null,props:i,update:Id,not_equal:o,bound:Pd(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Pd(),dirty:u,skip_bound:!1,root:e.target||c.$$.root};a&&a(f.root);var s=!1;if(f.ctx=r?r(t,e.props||{},(function(e,r){var n=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:r;return f.ctx&&o(f.ctx[e],f.ctx[e]=n)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](n),s&&dp(t,e)),r})):[],f.update(),s=!0,kd(f.before_update),f.fragment=!!n&&n(f.ctx),e.target){if(e.hydrate){var l=Gd(e.target);f.fragment&&f.fragment.l(l),l.forEach(Dd)}else f.fragment&&f.fragment.c();e.intro&&ap(t.$$.fragment),sp(t,e.target,e.anchor,e.customElement),np()}qd(c)}var hp=function(){function t(){n(this,t)}return r(t,[{key:"$destroy",value:function(){lp(this,1),this.$destroy=Id}},{key:"$on",value:function(t,e){var r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),function(){var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}]),t}();function vp(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function yp(t){Ud(t,"svelte-po7d7g",".svelte-po7d7g.svelte-po7d7g,.svelte-po7d7g.svelte-po7d7g:before,.svelte-po7d7g.svelte-po7d7g:after{box-sizing:border-box}.bot-border.svelte-po7d7g.svelte-po7d7g{position:fixed !important;display:flex;flex-direction:column;bottom:0;height:85vh;width:100%;border-width:0;border-radius:12px;box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:rgba(255, 255, 255, 0.93);opacity:1;transition:transform 200ms, opacity 100ms 100ms, all 150ms;z-index:1000}.bot-border.closed.svelte-po7d7g.svelte-po7d7g{transform:translateY(85vh);opacity:0}.header.svelte-po7d7g.svelte-po7d7g{display:flex;justify-content:space-between;width:100%;height:3.5em;padding:0.5em 1em;color:white;background-color:#3f4143}.bot.svelte-po7d7g.svelte-po7d7g{display:block;width:100%;flex:1 0 auto}@media screen and (min-width: 768px){.bot-border.svelte-po7d7g.svelte-po7d7g{height:38em;max-height:calc(100vh - 2em);width:23em;right:1em;bottom:1em;left:auto}.bot-border.closed.svelte-po7d7g.svelte-po7d7g{transform:translateY(38em);opacity:0}}.bot-border-close-icon.svelte-po7d7g.svelte-po7d7g{height:100%}img.svelte-po7d7g.svelte-po7d7g{display:block;height:100%}svg.svelte-po7d7g.svelte-po7d7g{height:100%;padding:0.4em;cursor:pointer}svg.svelte-po7d7g path.svelte-po7d7g{transition:stroke-width 100ms;stroke:white;stroke-width:2px}svg.svelte-po7d7g:hover path.svelte-po7d7g{stroke-width:3px}p.svelte-po7d7g.svelte-po7d7g,pre.svelte-po7d7g.svelte-po7d7g{max-width:300px}pre.svelte-po7d7g.svelte-po7d7g{font-size:0.6em;line-height:0.5}")}function gp(t){var e,r,n;return{c:function(){(e=Fd("p")).textContent="Please make sure that the script tag has 'id=\"chatbot\"' and the attribute\n 'data-server' with the full qualified URL to the chatbot-server.",r=Wd(),(n=Fd("pre")).innerHTML='<code class="svelte-po7d7g">&lt;script\n <br class="svelte-po7d7g"/>\n id=&quot;chatbot&quot;\n <br class="svelte-po7d7g"/>\n data-server=&quot;https://server.com/webclient&quot;\n <br class="svelte-po7d7g"/>\n defer\n <br class="svelte-po7d7g"/>\n src=&quot;https://server.com/webclient/embed/bundle.js&quot;&gt; &lt;/script&gt;</code>',Yd(e,"class","svelte-po7d7g"),Yd(n,"class","svelte-po7d7g")},m:function(t,o){Nd(t,e,o),Nd(t,r,o),Nd(t,n,o)},p:Id,d:function(t){t&&Dd(e),t&&Dd(r),t&&Dd(n)}}}function bp(t){var e,r,n,o,i,a,u,c,f,s,l,d;return{c:function(){e=Fd("div"),r=Fd("div"),n=Fd("img"),i=Wd(),(a=Fd("div")).innerHTML='<svg viewBox="-2 -2 24 24" class="svelte-po7d7g"><path d="M0,0L20,20M20,0L0,20" class="svelte-po7d7g"></path></svg>',u=Wd(),c=Fd("iframe"),Ld(n.src,o="".concat(t[3],"/embed/logo.svg"))||Yd(n,"src",o),Yd(n,"alt","Logo"),Yd(n,"class","svelte-po7d7g"),Yd(a,"aria-label","Close chat window"),Yd(a,"role","button"),Yd(a,"class","bot-border-close-icon svelte-po7d7g"),Yd(a,"tabindex",0),Yd(r,"class","header svelte-po7d7g"),Yd(c,"id","chat-frame"),Yd(c,"title","Chat"),Yd(c,"class","bot svelte-po7d7g"),Ld(c.src,f="".concat(t[0]).concat(-1===t[0].indexOf("?")?"?":"&","referrer=").concat(encodeURIComponent(t[1]),"&windowHeight=").concat(xp(),"&windowWidth=").concat(wp()))||Yd(c,"src",f),Yd(c,"frameborder","0"),Yd(c,"allow","microphone"),c.allowFullscreen="",Yd(e,"class","bot-border svelte-po7d7g"),Yd(e,"aria-hidden",s=t[2]?"false":"true"),Vd(e,"closed",!t[2])},m:function(o,f){Nd(o,e,f),$d(e,r),$d(r,n),$d(r,i),$d(r,a),$d(e,u),$d(e,c),l||(d=[zd(a,"click",(function(){Md(t[4])&&t[4].apply(this,arguments)})),zd(a,"keydown",t[5])],l=!0)},p:function(r,i){t=r,8&i&&!Ld(n.src,o="".concat(t[3],"/embed/logo.svg"))&&Yd(n,"src",o),3&i&&!Ld(c.src,f="".concat(t[0]).concat(-1===t[0].indexOf("?")?"?":"&","referrer=").concat(encodeURIComponent(t[1]),"&windowHeight=").concat(xp(),"&windowWidth=").concat(wp()))&&Yd(c,"src",f),4&i&&s!==(s=t[2]?"false":"true")&&Yd(e,"aria-hidden",s),4&i&&Vd(e,"closed",!t[2])},d:function(t){t&&Dd(e),l=!1,kd(d)}}}function mp(t){var e;function r(t,e){return t[0]?bp:gp}var n=r(t),o=n(t);return{c:function(){o.c(),e=Bd("")},m:function(t,r){o.m(t,r),Nd(t,e,r)},p:function(t,i){var a=d(i,1)[0];n===(n=r(t))&&o?o.p(t,a):(o.d(1),(o=n(t))&&(o.c(),o.m(e.parentNode,e)))},i:Id,o:Id,d:function(t){o.d(t),t&&Dd(e)}}}function wp(){try{return window.innerWidth}catch(t){return-1}}function xp(){try{return window.innerHeight}catch(t){return-1}}function Ap(t,e,r){var n=e.server,o=e.referrer,i=e.open,a=e.assetsUrl,u=e.onToggle;return t.$$set=function(t){"server"in t&&r(0,n=t.server),"referrer"in t&&r(1,o=t.referrer),"open"in t&&r(2,i=t.open),"assetsUrl"in t&&r(3,a=t.assetsUrl),"onToggle"in t&&r(4,u=t.onToggle)},[n,o,i,a,u,function(t){var e=t.key;"ArrowDown"!==e&&"ArrowRight"!==e&&"Enter"!==e&&" "!==e&&"Space"!==e||(t.stopPropagation(),u())}]}var Tp=function(t){a(i,t);var e=vp(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Ap,mp,Cd,{server:0,referrer:1,open:2,assetsUrl:3,onToggle:4},yp),r}return r(i)}(hp);function Ep(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}function Sp(t){Ud(t,"svelte-xlhtz",".svelte-xlhtz,.svelte-xlhtz:before,.svelte-xlhtz:after{box-sizing:border-box}.chat-button-wrapper.svelte-xlhtz{position:fixed !important;right:2em;bottom:2em;width:6em;height:6em;z-index:999}.chat-button.svelte-xlhtz{display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms, box-shadow 100ms}.chat-button.svelte-xlhtz:hover{box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px)}")}function Op(t){var e,r,n,o,i;return{c:function(){e=Fd("div"),Yd(r=Fd("img"),"class","chat-button svelte-xlhtz"),Yd(r,"alt","Open chatbot"),Ld(r.src,n="".concat(t[0],"/embed/open-button.svg"))||Yd(r,"src",n),Yd(e,"class","chat-button-wrapper svelte-xlhtz"),Yd(e,"tabindex","0"),Yd(e,"role","button"),Yd(e,"aria-label","Open chat window")},m:function(n,a){Nd(n,e,a),$d(e,r),o||(i=[zd(e,"click",(function(){Md(t[1])&&t[1].apply(this,arguments)})),zd(e,"keydown",t[2])],o=!0)},p:function(e,o){var i=d(o,1)[0];t=e,1&i&&!Ld(r.src,n="".concat(t[0],"/embed/open-button.svg"))&&Yd(r,"src",n)},i:Id,o:Id,d:function(t){t&&Dd(e),o=!1,kd(i)}}}function Rp(t,e,r){var n=e.assetsUrl,o=e.onToggle;return t.$$set=function(t){"assetsUrl"in t&&r(0,n=t.assetsUrl),"onToggle"in t&&r(1,o=t.onToggle)},[n,o,function(t){var e=t.key;"ArrowDown"!==e&&"ArrowRight"!==e&&"Enter"!==e&&" "!==e&&"Space"!==e||(t.stopPropagation(),o())}]}var jp=function(t){a(i,t);var e=Ep(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Rp,Op,Cd,{assetsUrl:0,onToggle:1},Sp),r}return r(i)}(hp),Ip=function(t,e){var r=window.addEventListener?"addEventListener":"attachEvent";(0,window[r])("attachEvent"===r?"onmessage":"message",(function(r){var n,o=r.data;switch(o.type){case"webclient.expand.window":t(o.devices);break;case"webclient.change.url":e(o.url);break;case"google.tag.event":n=o.payload,window.gtag?window.gtag("event","",n):window.dataLayer&&window.dataLayer.push(n)}}),!1)},_p=h((function(t,e){var r;r=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function o(){}function i(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=t({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(t){}r=n.write?n.write(r,e):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c].split(";")[0]));return document.cookie=e+"="+r+u}}function a(t,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var u=i[a].split("="),c=u.slice(1).join("=");r||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var f=e(u[0]);if(c=(n.read||n)(c,f)||e(c),r)try{c=JSON.parse(c)}catch(t){}if(o[f]=c,t===f)break}catch(t){}}return t?o[t]:o}}return o.set=i,o.get=function(t){return a(t,!1)},o.getJSON=function(t){return a(t,!0)},o.remove=function(e,r){i(e,"",t(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}((function(){}))},t.exports=r()})),Pp=function(){switch(_p.get("bot-window")){case"open":return!0;case"closed":default:return!1}},kp=function(t){_p.set("bot-window",t)},Mp=!1;var Cp=[],Lp=Pp();function $p(){Lp=!0,kp("open"),Cp.forEach((function(t){t.call(window,Lp)}))}function Up(){Lp=!1,kp("closed"),Cp.forEach((function(t){t.call(window,Lp)}))}function Np(){Lp?Up():$p()}function Dp(t){document.getElementById("chat-frame").contentWindow.postMessage(t,"*")}function Fp(t,e){switch(t){case"ON_CHAT_WINDOW_STATE_CHANGE":Cp.push(e);break;default:throw new Error("Unsupported event "+t)}}Ur("match",(function(t,e,r){return[function(e){var r=F(this),n=null==e?void 0:ut(e,t);return n?T(n,e,r):new RegExp(e)[t](Qe(r))},function(t){var n=Dt(this),o=Qe(t),i=r(e,n,o);if(i.done)return i.value;if(!n.global)return dn(n,o);var a=n.unicode;n.lastIndex=0;for(var u,c=[],f=0;null!==(u=dn(n,o));){var s=Qe(u[0]);c[f]=s,""===s&&(n.lastIndex=an(o,xe(n.lastIndex),a)),f++}return 0===f?null:c}]}));var Bp=function(){navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.querySelectorAll("html, body").forEach((function(t){t.classList.add("iOS-device")}))};function Wp(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=f(t);if(e){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return c(this,r)}}var zp=cp.document;function Yp(t){Ud(t,"svelte-sr5aex","#chatbot-window.svelte-sr5aex{font-size:16px}")}function Gp(t){var e,r,n,o,i,a,u,c;return i=new jp({props:{server:t[0],assetsUrl:t[2],onToggle:Np}}),u=new Tp({props:{server:t[0],referrer:t[1],assetsUrl:t[2],open:t[3],onToggle:Np}}),{c:function(){e=Fd("link"),n=Wd(),o=Fd("div"),fp(i.$$.fragment),a=Wd(),fp(u.$$.fragment),Yd(e,"rel","stylesheet"),Yd(e,"href",r="".concat(t[2],"/embed/custom.css")),Yd(o,"id","chatbot-window"),Yd(o,"class","svelte-sr5aex")},m:function(t,r){$d(zp.head,e),Nd(t,n,r),Nd(t,o,r),sp(i,o,null),$d(o,a),sp(u,o,null),c=!0},p:function(t,n){var o=d(n,1)[0];(!c||4&o&&r!==(r="".concat(t[2],"/embed/custom.css")))&&Yd(e,"href",r);var a={};1&o&&(a.server=t[0]),4&o&&(a.assetsUrl=t[2]),i.$set(a);var f={};1&o&&(f.server=t[0]),2&o&&(f.referrer=t[1]),4&o&&(f.assetsUrl=t[2]),8&o&&(f.open=t[3]),u.$set(f)},i:function(t){c||(ap(i.$$.fragment,t),ap(u.$$.fragment,t),c=!0)},o:function(t){up(i.$$.fragment,t),up(u.$$.fragment,t),c=!1},d:function(t){Dd(e),t&&Dd(n),t&&Dd(o),lp(i),lp(u)}}}function Vp(t,e,r){var n=e.server,o=e.referrer,i=e.assetsUrl,a=void 0===i?n?n.split("?")[0]:void 0:i;Bp();var u=Pp();return Fp("ON_CHAT_WINDOW_STATE_CHANGE",(function(t){r(3,u=t)})),Ip((function(t){var e=window.innerWidth;(null==t||"all"===t||"desktop"===t&&e>=768||"mobile"===t&&e<768)&&$p()}),(function(t){window.innerWidth<768&&Up(),document.location.href=t})),t.$$set=function(t){"server"in t&&r(0,n=t.server),"referrer"in t&&r(1,o=t.referrer),"assetsUrl"in t&&r(2,a=t.assetsUrl)},[n,o,a,u]}var qp=function(t){a(i,t);var e=Wp(i);function i(t){var r;return n(this,i),pp(o(r=e.call(this)),t,Vp,Gp,Cd,{server:0,referrer:1,assetsUrl:2},Yp),r}return r(i)}(hp),Hp=function(t){if(t&&void 0!==t.src)return function(t){return t.dataset&&t.dataset.server}(t)||function(t){return t.src.replace(/\/embed\/bundle\.js/,"")}(t)}(document.querySelector("script#chatbot")),Kp=function(){console.log("Chatbot is loading from",Hp),new qp({target:document.body,props:{server:Hp,referrer:window.location.href}}),Mp=!0};!function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;e>=3||"complete"===document.readyState?setTimeout(Kp,2e3):setTimeout((function(){t(e+1)}),1e3)}();var Jp=document.getElementById("chatbot");return Jp&&Jp.src.indexOf("caller=bookmarklet")>0&&setTimeout(Kp,500),t.closeChatWindow=Up,t.enterGuestMessage=function(t){Dp({type:"CHAT_MESSAGE_FROM_GUEST",text:t})},t.isChatbotLoaded=function(){return Mp},t.openChatWindow=$p,t.subscribe=Fp,t.toggleChatWindow=Np,t.triggerStory=function(t){Dp({type:"TRIGGER_STORY",story:t})},Object.defineProperty(t,"__esModule",{value:!0}),t}({});
2
2
  //# sourceMappingURL=bundle.js.map