UNPKG

@seontechnologies/seon-javascript-sdk

Version:

SEON JavaScript SDK for collecting session and device data

1 lines 679 kB
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(r="undefined"!=typeof globalThis?globalThis:r||self).seon=t()}(this,(function(){"use strict";function r(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=Array(t);n<t;n++)e[n]=r[n];return e}function t(r,t,n,e,i,o,u){try{var a=r[o](u),v=a.value}catch(r){return void n(r)}a.done?t(v):Promise.resolve(v).then(e,i)}function n(r){return function(){var n=this,e=arguments;return new Promise((function(i,o){var u=r.apply(n,e);function a(r){t(u,i,o,a,v,"next",r)}function v(r){t(u,i,o,a,v,"throw",r)}a(void 0)}))}}function e(r,t,n){return t=v(t),function(r,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(r)}(r,c()?Reflect.construct(t,n||[],v(r).constructor):t.apply(r,n))}function i(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function o(r,t,n){return t&&function(r,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,C(e.key),e)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function u(r,t){var n="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!n){if(Array.isArray(r)||(n=M(r))||t){n&&(r=n);var e=0,i=function(){};return{s:i,n:function(){return e>=r.length?{done:!0}:{done:!1,value:r[e++]}},e:function(r){throw r},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){n=n.call(r)},n:function(){var r=n.next();return u=r.done,r},e:function(r){a=!0,o=r},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw o}}}}function a(r,t,n){return(t=C(t))in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r}function v(r){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},v(r)}function f(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&w(r,t)}function c(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(r){}return(c=function(){return!!r})()}function s(r,t){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.push.apply(n,e)}return n}function h(r){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(r,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(n,t))}))}return r}function l(){l=function(){return t};var r,t={},n=Object.prototype,e=n.hasOwnProperty,i=Object.defineProperty||function(r,t,n){r[t]=n.value},o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",v=o.toStringTag||"@@toStringTag";function f(r,t,n){return Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),r[t]}try{f({},"")}catch(r){f=function(r,t,n){return r[t]=n}}function c(r,t,n,e){var o=t&&t.prototype instanceof B?t:B,u=Object.create(o.prototype),a=new b(e||[]);return i(u,"_invoke",{value:U(r,n,a)}),u}function s(r,t,n){try{return{type:"normal",arg:r.call(t,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=c;var h="suspendedStart",w="suspendedYield",g="executing",y="completed",C={};function B(){}function M(){}function z(){}var d={};f(d,u,(function(){return this}));var D=Object.getPrototypeOf,L=D&&D(D(Y([])));L&&L!==n&&e.call(L,u)&&(d=L);var x=z.prototype=B.prototype=Object.create(d);function p(r){["next","throw","return"].forEach((function(t){f(r,t,(function(r){return this._invoke(t,r)}))}))}function A(r,t){function n(i,o,u,a){var v=s(r[i],r,o);if("throw"!==v.type){var f=v.arg,c=f.value;return c&&"object"==typeof c&&e.call(c,"__await")?t.resolve(c.__await).then((function(r){n("next",r,u,a)}),(function(r){n("throw",r,u,a)})):t.resolve(c).then((function(r){f.value=r,u(f)}),(function(r){return n("throw",r,u,a)}))}a(v.arg)}var o;i(this,"_invoke",{value:function(r,e){function i(){return new t((function(t,i){n(r,e,t,i)}))}return o=o?o.then(i,i):i()}})}function U(t,n,e){var i=h;return function(o,u){if(i===g)throw Error("Generator is already running");if(i===y){if("throw"===o)throw u;return{value:r,done:!0}}for(e.method=o,e.arg=u;;){var a=e.delegate;if(a){var v=S(a,e);if(v){if(v===C)continue;return v}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(i===h)throw i=y,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);i=g;var f=s(t,n,e);if("normal"===f.type){if(i=e.done?y:w,f.arg===C)continue;return{value:f.arg,done:e.done}}"throw"===f.type&&(i=y,e.method="throw",e.arg=f.arg)}}}function S(t,n){var e=n.method,i=t.iterator[e];if(i===r)return n.delegate=null,"throw"===e&&t.iterator.return&&(n.method="return",n.arg=r,S(t,n),"throw"===n.method)||"return"!==e&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+e+"' method")),C;var o=s(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,C;var u=o.arg;return u?u.done?(n[t.resultName]=u.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,C):u:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,C)}function j(r){var t={tryLoc:r[0]};1 in r&&(t.catchLoc=r[1]),2 in r&&(t.finallyLoc=r[2],t.afterLoc=r[3]),this.tryEntries.push(t)}function m(r){var t=r.completion||{};t.type="normal",delete t.arg,r.completion=t}function b(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(j,this),this.reset(!0)}function Y(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(e.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return M.prototype=z,i(x,"constructor",{value:z,configurable:!0}),i(z,"constructor",{value:M,configurable:!0}),M.displayName=f(z,v,"GeneratorFunction"),t.isGeneratorFunction=function(r){var t="function"==typeof r&&r.constructor;return!!t&&(t===M||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,z):(r.__proto__=z,f(r,v,"GeneratorFunction")),r.prototype=Object.create(x),r},t.awrap=function(r){return{__await:r}},p(A.prototype),f(A.prototype,a,(function(){return this})),t.AsyncIterator=A,t.async=function(r,n,e,i,o){void 0===o&&(o=Promise);var u=new A(c(r,n,e,i),o);return t.isGeneratorFunction(n)?u:u.next().then((function(r){return r.done?r.value:u.next()}))},p(x),f(x,v,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),t.keys=function(r){var t=Object(r),n=[];for(var e in t)n.push(e);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},t.values=Y,b.prototype={constructor:b,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(m),!t)for(var n in this)"t"===n.charAt(0)&&e.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var v=e.call(u,"catchLoc"),f=e.call(u,"finallyLoc");if(v&&f){if(this.prev<u.catchLoc)return i(u.catchLoc,!0);if(this.prev<u.finallyLoc)return i(u.finallyLoc)}else if(v){if(this.prev<u.catchLoc)return i(u.catchLoc,!0)}else{if(!f)throw Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return i(u.finallyLoc)}}}},abrupt:function(r,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===r||"continue"===r)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=r,u.arg=t,o?(this.method="next",this.next=o.finallyLoc,C):this.complete(u)},complete:function(r,t){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&&t&&(this.next=t),C},finish:function(r){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===r)return this.complete(n.completion,n.afterLoc),m(n),C}},catch:function(r){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===r){var e=n.completion;if("throw"===e.type){var i=e.arg;m(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:Y(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),C}},t}function w(r,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},w(r,t)}function g(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var e,i,o,u,a=[],v=!0,f=!1;try{if(o=(n=n.call(r)).next,0===t){if(Object(n)!==n)return;v=!1}else for(;!(v=(e=o.call(n)).done)&&(a.push(e.value),a.length!==t);v=!0);}catch(r){f=!0,i=r}finally{try{if(!v&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw i}}return a}}(r,t)||M(r,t)||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.")}()}function y(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(t)||M(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.")}()}function C(r){var t=function(r,t){if("object"!=typeof r||!r)return r;var n=r[Symbol.toPrimitive];if(void 0!==n){var e=n.call(r,t||"default");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(r)}(r,"string");return"symbol"==typeof t?t:t+""}function B(r){return B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},B(r)}function M(t,n){if(t){if("string"==typeof t)return r(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?r(t,n):void 0}}function z(r){var t="function"==typeof Map?new Map:void 0;return z=function(r){if(null===r||!function(r){try{return-1!==Function.toString.call(r).indexOf("[native code]")}catch(t){return"function"==typeof r}}(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return function(r,t,n){if(c())return Reflect.construct.apply(null,arguments);var e=[null];e.push.apply(e,t);var i=new(r.bind.apply(r,e));return n&&w(i,n.prototype),i}(r,arguments,v(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),w(n,r)},z(r)}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function D(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var L=function(r){return r&&r.Math===Math&&r},x=L("object"==typeof globalThis&&globalThis)||L("object"==typeof window&&window)||L("object"==typeof self&&self)||L("object"==typeof d&&d)||L("object"==typeof d&&d)||function(){return this}()||Function("return this")(),p={},A=function(r){try{return!!r()}catch(r){return!0}},U=!A((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),S=!A((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),j=S,m=Function.prototype.call,b=j?m.bind(m):function(){return m.apply(m,arguments)},Y={},H={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,N=P&&!H.call({1:2},1);Y.f=N?function(r){var t=P(this,r);return!!t&&t.enumerable}:H;var q,K,T=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},V=S,W=Function.prototype,O=W.call,I=V&&W.bind.bind(O,O),G=V?I:function(r){return function(){return O.apply(r,arguments)}},k=G,Z=k({}.toString),J=k("".slice),X=function(r){return J(Z(r),8,-1)},E=A,R=X,F=Object,Q=G("".split),_=E((function(){return!F("z").propertyIsEnumerable(0)}))?function(r){return"String"===R(r)?Q(r,""):F(r)}:F,$=function(r){return null==r},rr=$,tr=TypeError,nr=function(r){if(rr(r))throw new tr("Can't call method on "+r);return r},er=_,ir=nr,or=function(r){return er(ir(r))},ur="object"==typeof document&&document.all,ar=void 0===ur&&void 0!==ur?function(r){return"function"==typeof r||r===ur}:function(r){return"function"==typeof r},vr=ar,fr=function(r){return"object"==typeof r?null!==r:vr(r)},cr=x,sr=ar,hr=function(r,t){return arguments.length<2?(n=cr[r],sr(n)?n:void 0):cr[r]&&cr[r][t];var n},lr=G({}.isPrototypeOf),wr="undefined"!=typeof navigator&&String(navigator.userAgent)||"",gr=x,yr=wr,Cr=gr.process,Br=gr.Deno,Mr=Cr&&Cr.versions||Br&&Br.version,zr=Mr&&Mr.v8;zr&&(K=(q=zr.split("."))[0]>0&&q[0]<4?1:+(q[0]+q[1])),!K&&yr&&(!(q=yr.match(/Edge\/(\d+)/))||q[1]>=74)&&(q=yr.match(/Chrome\/(\d+)/))&&(K=+q[1]);var dr=K,Dr=dr,Lr=A,xr=x.String,pr=!!Object.getOwnPropertySymbols&&!Lr((function(){var r=Symbol("symbol detection");return!xr(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&Dr&&Dr<41})),Ar=pr&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ur=hr,Sr=ar,jr=lr,mr=Object,br=Ar?function(r){return"symbol"==typeof r}:function(r){var t=Ur("Symbol");return Sr(t)&&jr(t.prototype,mr(r))},Yr=String,Hr=function(r){try{return Yr(r)}catch(r){return"Object"}},Pr=ar,Nr=Hr,qr=TypeError,Kr=function(r){if(Pr(r))return r;throw new qr(Nr(r)+" is not a function")},Tr=Kr,Vr=$,Wr=function(r,t){var n=r[t];return Vr(n)?void 0:Tr(n)},Or=b,Ir=ar,Gr=fr,kr=TypeError,Zr={exports:{}},Jr=x,Xr=Object.defineProperty,Er=function(r,t){try{Xr(Jr,r,{value:t,configurable:!0,writable:!0})}catch(n){Jr[r]=t}return t},Rr=x,Fr=Er,Qr="__core-js_shared__",_r=Zr.exports=Rr[Qr]||Fr(Qr,{});(_r.versions||(_r.versions=[])).push({});var $r=Zr.exports,rt=$r,tt=function(r,t){return rt[r]||(rt[r]=t||{})},nt=nr,et=Object,it=function(r){return et(nt(r))},ot=it,ut=G({}.hasOwnProperty),at=Object.hasOwn||function(r,t){return ut(ot(r),t)},vt=G,ft=0,ct=Math.random(),st=vt(1..toString),ht=function(r){return"Symbol("+(void 0===r?"":r)+")_"+st(++ft+ct,36)},lt=tt,wt=at,gt=ht,yt=pr,Ct=Ar,Bt=x.Symbol,Mt=lt("wks"),zt=Ct?Bt.for||Bt:Bt&&Bt.withoutSetter||gt,dt=function(r){return wt(Mt,r)||(Mt[r]=yt&&wt(Bt,r)?Bt[r]:zt("Symbol."+r)),Mt[r]},Dt=b,Lt=fr,xt=br,pt=Wr,At=function(r,t){var n,e;if("string"===t&&Ir(n=r.toString)&&!Gr(e=Or(n,r)))return e;if(Ir(n=r.valueOf)&&!Gr(e=Or(n,r)))return e;if("string"!==t&&Ir(n=r.toString)&&!Gr(e=Or(n,r)))return e;throw new kr("Can't convert object to primitive value")},Ut=TypeError,St=dt("toPrimitive"),jt=function(r,t){if(!Lt(r)||xt(r))return r;var n,e=pt(r,St);if(e){if(void 0===t&&(t="default"),n=Dt(e,r,t),!Lt(n)||xt(n))return n;throw new Ut("Can't convert object to primitive value")}return void 0===t&&(t="number"),At(r,t)},mt=jt,bt=br,Yt=function(r){var t=mt(r,"string");return bt(t)?t:t+""},Ht=fr,Pt=x.document,Nt=Ht(Pt)&&Ht(Pt.createElement),qt=function(r){return Nt?Pt.createElement(r):{}},Kt=qt,Tt=!U&&!A((function(){return 7!==Object.defineProperty(Kt("div"),"a",{get:function(){return 7}}).a})),Vt=U,Wt=b,Ot=Y,It=T,Gt=or,kt=Yt,Zt=at,Jt=Tt,Xt=Object.getOwnPropertyDescriptor;p.f=Vt?Xt:function(r,t){if(r=Gt(r),t=kt(t),Jt)try{return Xt(r,t)}catch(r){}if(Zt(r,t))return It(!Wt(Ot.f,r,t),r[t])};var Et={},Rt=U&&A((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ft=fr,Qt=String,_t=TypeError,$t=function(r){if(Ft(r))return r;throw new _t(Qt(r)+" is not an object")},rn=U,tn=Tt,nn=Rt,en=$t,on=Yt,un=TypeError,an=Object.defineProperty,vn=Object.getOwnPropertyDescriptor,fn="enumerable",cn="configurable",sn="writable";Et.f=rn?nn?function(r,t,n){if(en(r),t=on(t),en(n),"function"==typeof r&&"prototype"===t&&"value"in n&&sn in n&&!n[sn]){var e=vn(r,t);e&&e[sn]&&(r[t]=n.value,n={configurable:cn in n?n[cn]:e[cn],enumerable:fn in n?n[fn]:e[fn],writable:!1})}return an(r,t,n)}:an:function(r,t,n){if(en(r),t=on(t),en(n),tn)try{return an(r,t,n)}catch(r){}if("get"in n||"set"in n)throw new un("Accessors not supported");return"value"in n&&(r[t]=n.value),r};var hn=Et,ln=T,wn=U?function(r,t,n){return hn.f(r,t,ln(1,n))}:function(r,t,n){return r[t]=n,r},gn={exports:{}},yn=U,Cn=at,Bn=Function.prototype,Mn=yn&&Object.getOwnPropertyDescriptor,zn=Cn(Bn,"name"),dn={EXISTS:zn,PROPER:zn&&"something"===function(){}.name,CONFIGURABLE:zn&&(!yn||yn&&Mn(Bn,"name").configurable)},Dn=ar,Ln=$r,xn=G(Function.toString);Dn(Ln.inspectSource)||(Ln.inspectSource=function(r){return xn(r)});var pn,An,Un,Sn=Ln.inspectSource,jn=ar,mn=x.WeakMap,bn=jn(mn)&&/native code/.test(String(mn)),Yn=ht,Hn=tt("keys"),Pn=function(r){return Hn[r]||(Hn[r]=Yn(r))},Nn={},qn=bn,Kn=x,Tn=fr,Vn=wn,Wn=at,On=$r,In=Pn,Gn=Nn,kn="Object already initialized",Zn=Kn.TypeError,Jn=Kn.WeakMap;if(qn||On.state){var Xn=On.state||(On.state=new Jn);Xn.get=Xn.get,Xn.has=Xn.has,Xn.set=Xn.set,pn=function(r,t){if(Xn.has(r))throw new Zn(kn);return t.facade=r,Xn.set(r,t),t},An=function(r){return Xn.get(r)||{}},Un=function(r){return Xn.has(r)}}else{var En=In("state");Gn[En]=!0,pn=function(r,t){if(Wn(r,En))throw new Zn(kn);return t.facade=r,Vn(r,En,t),t},An=function(r){return Wn(r,En)?r[En]:{}},Un=function(r){return Wn(r,En)}}var Rn={set:pn,get:An,has:Un,enforce:function(r){return Un(r)?An(r):pn(r,{})},getterFor:function(r){return function(t){var n;if(!Tn(t)||(n=An(t)).type!==r)throw new Zn("Incompatible receiver, "+r+" required");return n}}},Fn=G,Qn=A,_n=ar,$n=at,re=U,te=dn.CONFIGURABLE,ne=Sn,ee=Rn.enforce,ie=Rn.get,oe=String,ue=Object.defineProperty,ae=Fn("".slice),ve=Fn("".replace),fe=Fn([].join),ce=re&&!Qn((function(){return 8!==ue((function(){}),"length",{value:8}).length})),se=String(String).split("String"),he=gn.exports=function(r,t,n){"Symbol("===ae(oe(t),0,7)&&(t="["+ve(oe(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!$n(r,"name")||te&&r.name!==t)&&(re?ue(r,"name",{value:t,configurable:!0}):r.name=t),ce&&n&&$n(n,"arity")&&r.length!==n.arity&&ue(r,"length",{value:n.arity});try{n&&$n(n,"constructor")&&n.constructor?re&&ue(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(r){}var e=ee(r);return $n(e,"source")||(e.source=fe(se,"string"==typeof t?t:"")),r};Function.prototype.toString=he((function(){return _n(this)&&ie(this).source||ne(this)}),"toString");var le=gn.exports,we=ar,ge=Et,ye=le,Ce=Er,Be=function(r,t,n,e){e||(e={});var i=e.enumerable,o=void 0!==e.name?e.name:t;if(we(n)&&ye(n,o,e),e.global)i?r[t]=n:Ce(t,n);else{try{e.unsafe?r[t]&&(i=!0):delete r[t]}catch(r){}i?r[t]=n:ge.f(r,t,{value:n,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return r},Me={},ze=Math.ceil,de=Math.floor,De=Math.trunc||function(r){var t=+r;return(t>0?de:ze)(t)},Le=function(r){var t=+r;return t!=t||0===t?0:De(t)},xe=Le,pe=Math.max,Ae=Math.min,Ue=function(r,t){var n=xe(r);return n<0?pe(n+t,0):Ae(n,t)},Se=Le,je=Math.min,me=function(r){var t=Se(r);return t>0?je(t,9007199254740991):0},be=me,Ye=function(r){return be(r.length)},He=or,Pe=Ue,Ne=Ye,qe=function(r){return function(t,n,e){var i=He(t),o=Ne(i);if(0===o)return!r&&-1;var u,a=Pe(e,o);if(r&&n!=n){for(;o>a;)if((u=i[a++])!=u)return!0}else for(;o>a;a++)if((r||a in i)&&i[a]===n)return r||a||0;return!r&&-1}},Ke={includes:qe(!0),indexOf:qe(!1)},Te=at,Ve=or,We=Ke.indexOf,Oe=Nn,Ie=G([].push),Ge=function(r,t){var n,e=Ve(r),i=0,o=[];for(n in e)!Te(Oe,n)&&Te(e,n)&&Ie(o,n);for(;t.length>i;)Te(e,n=t[i++])&&(~We(o,n)||Ie(o,n));return o},ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ze=Ge,Je=ke.concat("length","prototype");Me.f=Object.getOwnPropertyNames||function(r){return Ze(r,Je)};var Xe={};Xe.f=Object.getOwnPropertySymbols;var Ee=hr,Re=Me,Fe=Xe,Qe=$t,_e=G([].concat),$e=Ee("Reflect","ownKeys")||function(r){var t=Re.f(Qe(r)),n=Fe.f;return n?_e(t,n(r)):t},ri=at,ti=$e,ni=p,ei=Et,ii=function(r,t,n){for(var e=ti(t),i=ei.f,o=ni.f,u=0;u<e.length;u++){var a=e[u];ri(r,a)||n&&ri(n,a)||i(r,a,o(t,a))}},oi=A,ui=ar,ai=/#|\.prototype\./,vi=function(r,t){var n=ci[fi(r)];return n===hi||n!==si&&(ui(t)?oi(t):!!t)},fi=vi.normalize=function(r){return String(r).replace(ai,".").toLowerCase()},ci=vi.data={},si=vi.NATIVE="N",hi=vi.POLYFILL="P",li=vi,wi=x,gi=p.f,yi=wn,Ci=Be,Bi=Er,Mi=ii,zi=li,di=function(r,t){var n,e,i,o,u,a=r.target,v=r.global,f=r.stat;if(n=v?wi:f?wi[a]||Bi(a,{}):wi[a]&&wi[a].prototype)for(e in t){if(o=t[e],i=r.dontCallGetSet?(u=gi(n,e))&&u.value:n[e],!zi(v?e:a+(f?".":"#")+e,r.forced)&&void 0!==i){if(typeof o==typeof i)continue;Mi(o,i)}(r.sham||i&&i.sham)&&yi(o,"sham",!0),Ci(n,e,o,r)}},Di=X,Li=Array.isArray||function(r){return"Array"===Di(r)},xi=TypeError,pi=function(r){if(r>9007199254740991)throw xi("Maximum allowed index exceeded");return r},Ai=U,Ui=Et,Si=T,ji=function(r,t,n){Ai?Ui.f(r,t,Si(0,n)):r[t]=n},mi={};mi[dt("toStringTag")]="z";var bi="[object z]"===String(mi),Yi=bi,Hi=ar,Pi=X,Ni=dt("toStringTag"),qi=Object,Ki="Arguments"===Pi(function(){return arguments}()),Ti=Yi?Pi:function(r){var t,n,e;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(n=function(r,t){try{return r[t]}catch(r){}}(t=qi(r),Ni))?n:Ki?Pi(t):"Object"===(e=Pi(t))&&Hi(t.callee)?"Arguments":e},Vi=G,Wi=A,Oi=ar,Ii=Ti,Gi=Sn,ki=function(){},Zi=hr("Reflect","construct"),Ji=/^\s*(?:class|function)\b/,Xi=Vi(Ji.exec),Ei=!Ji.test(ki),Ri=function(r){if(!Oi(r))return!1;try{return Zi(ki,[],r),!0}catch(r){return!1}},Fi=function(r){if(!Oi(r))return!1;switch(Ii(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ei||!!Xi(Ji,Gi(r))}catch(r){return!0}};Fi.sham=!0;var Qi=!Zi||Wi((function(){var r;return Ri(Ri.call)||!Ri(Object)||!Ri((function(){r=!0}))||r}))?Fi:Ri,_i=Li,$i=Qi,ro=fr,to=dt("species"),no=Array,eo=function(r){var t;return _i(r)&&(t=r.constructor,($i(t)&&(t===no||_i(t.prototype))||ro(t)&&null===(t=t[to]))&&(t=void 0)),void 0===t?no:t},io=function(r,t){return new(eo(r))(0===t?0:t)},oo=A,uo=dr,ao=dt("species"),vo=function(r){return uo>=51||!oo((function(){var t=[];return(t.constructor={})[ao]=function(){return{foo:1}},1!==t[r](Boolean).foo}))},fo=di,co=A,so=Li,ho=fr,lo=it,wo=Ye,go=pi,yo=ji,Co=io,Bo=vo,Mo=dr,zo=dt("isConcatSpreadable"),Do=Mo>=51||!co((function(){var r=[];return r[zo]=!1,r.concat()[0]!==r})),Lo=function(r){if(!ho(r))return!1;var t=r[zo];return void 0!==t?!!t:so(r)};fo({target:"Array",proto:!0,arity:1,forced:!Do||!Bo("concat")},{concat:function(r){var t,n,e,i,o,u=lo(this),a=Co(u,0),v=0;for(t=-1,e=arguments.length;t<e;t++)if(Lo(o=-1===t?u:arguments[t]))for(i=wo(o),go(v+i),n=0;n<i;n++,v++)n in o&&yo(a,v,o[n]);else go(v+1),yo(a,v++,o);return a.length=v,a}});var xo=X,po=G,Ao=function(r){if("Function"===xo(r))return po(r)},Uo=Kr,So=S,jo=Ao(Ao.bind),mo=function(r,t){return Uo(r),void 0===t?r:So?jo(r,t):function(){return r.apply(t,arguments)}},bo=mo,Yo=_,Ho=it,Po=Ye,No=io,qo=G([].push),Ko=function(r){var t=1===r,n=2===r,e=3===r,i=4===r,o=6===r,u=7===r,a=5===r||o;return function(v,f,c,s){for(var h,l,w=Ho(v),g=Yo(w),y=Po(g),C=bo(f,c),B=0,M=s||No,z=t?M(v,y):n||u?M(v,0):void 0;y>B;B++)if((a||B in g)&&(l=C(h=g[B],B,w),r))if(t)z[B]=l;else if(l)switch(r){case 3:return!0;case 5:return h;case 6:return B;case 2:qo(z,h)}else switch(r){case 4:return!1;case 7:qo(z,h)}return o?-1:e||i?i:z}},To={forEach:Ko(0),map:Ko(1),filter:Ko(2),some:Ko(3),every:Ko(4),find:Ko(5),findIndex:Ko(6),filterReject:Ko(7)},Vo=To.filter;di({target:"Array",proto:!0,forced:!vo("filter")},{filter:function(r){return Vo(this,r,arguments.length>1?arguments[1]:void 0)}});var Wo=Li,Oo=Ye,Io=pi,Go=mo,ko=function(r,t,n,e,i,o,u,a){for(var v,f,c=i,s=0,h=!!u&&Go(u,a);s<e;)s in n&&(v=h?h(n[s],s,t):n[s],o>0&&Wo(v)?(f=Oo(v),c=ko(r,t,v,f,c,o-1)-1):(Io(c+1),r[c]=v),c++),s++;return c},Zo=ko,Jo=Zo,Xo=it,Eo=Ye,Ro=Le,Fo=io;di({target:"Array",proto:!0},{flat:function(){var r=arguments.length?arguments[0]:void 0,t=Xo(this),n=Eo(t),e=Fo(t,0);return e.length=Jo(e,t,t,n,0,void 0===r?1:Ro(r)),e}});var Qo={},_o=Ge,$o=ke,ru=Object.keys||function(r){return _o(r,$o)},tu=U,nu=Rt,eu=Et,iu=$t,ou=or,uu=ru;Qo.f=tu&&!nu?Object.defineProperties:function(r,t){iu(r);for(var n,e=ou(t),i=uu(t),o=i.length,u=0;o>u;)eu.f(r,n=i[u++],e[n]);return r};var au,vu=hr("document","documentElement"),fu=$t,cu=Qo,su=ke,hu=Nn,lu=vu,wu=qt,gu="prototype",yu="script",Cu=Pn("IE_PROTO"),Bu=function(){},Mu=function(r){return"<"+yu+">"+r+"</"+yu+">"},zu=function(r){r.write(Mu("")),r.close();var t=r.parentWindow.Object;return r=null,t},du=function(){try{au=new ActiveXObject("htmlfile")}catch(r){}var r,t,n;du="undefined"!=typeof document?document.domain&&au?zu(au):(t=wu("iframe"),n="java"+yu+":",t.style.display="none",lu.appendChild(t),t.src=String(n),(r=t.contentWindow.document).open(),r.write(Mu("document.F=Object")),r.close(),r.F):zu(au);for(var e=su.length;e--;)delete du[gu][su[e]];return du()};hu[Cu]=!0;var Du=Object.create||function(r,t){var n;return null!==r?(Bu[gu]=fu(r),n=new Bu,Bu[gu]=null,n[Cu]=r):n=du(),void 0===t?n:cu.f(n,t)},Lu=dt,xu=Du,pu=Et.f,Au=Lu("unscopables"),Uu=Array.prototype;void 0===Uu[Au]&&pu(Uu,Au,{configurable:!0,value:xu(null)});var Su=function(r){Uu[Au][r]=!0},ju=Ke.includes,mu=Su;di({target:"Array",proto:!0,forced:A((function(){return!Array(1).includes()}))},{includes:function(r){return ju(this,r,arguments.length>1?arguments[1]:void 0)}}),mu("includes");var bu,Yu,Hu,Pu={},Nu=!A((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),qu=at,Ku=ar,Tu=it,Vu=Nu,Wu=Pn("IE_PROTO"),Ou=Object,Iu=Ou.prototype,Gu=Vu?Ou.getPrototypeOf:function(r){var t=Tu(r);if(qu(t,Wu))return t[Wu];var n=t.constructor;return Ku(n)&&t instanceof n?n.prototype:t instanceof Ou?Iu:null},ku=A,Zu=ar,Ju=fr,Xu=Gu,Eu=Be,Ru=dt("iterator"),Fu=!1;[].keys&&("next"in(Hu=[].keys())?(Yu=Xu(Xu(Hu)))!==Object.prototype&&(bu=Yu):Fu=!0);var Qu=!Ju(bu)||ku((function(){var r={};return bu[Ru].call(r)!==r}));Qu&&(bu={}),Zu(bu[Ru])||Eu(bu,Ru,(function(){return this}));var _u={IteratorPrototype:bu,BUGGY_SAFARI_ITERATORS:Fu},$u=Et.f,ra=at,ta=dt("toStringTag"),na=function(r,t,n){r&&!n&&(r=r.prototype),r&&!ra(r,ta)&&$u(r,ta,{configurable:!0,value:t})},ea=_u.IteratorPrototype,ia=Du,oa=T,ua=na,aa=Pu,va=function(){return this},fa=function(r,t,n,e){var i=t+" Iterator";return r.prototype=ia(ea,{next:oa(+!e,n)}),ua(r,i,!1),aa[i]=va,r},ca=G,sa=Kr,ha=fr,la=function(r){return ha(r)||null===r},wa=String,ga=TypeError,ya=function(r,t,n){try{return ca(sa(Object.getOwnPropertyDescriptor(r,t)[n]))}catch(r){}},Ca=fr,Ba=nr,Ma=function(r){if(la(r))return r;throw new ga("Can't set "+wa(r)+" as a prototype")},za=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,n={};try{(r=ya(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(r){}return function(n,e){return Ba(n),Ma(e),Ca(n)?(t?r(n,e):n.__proto__=e,n):n}}():void 0),da=di,Da=b,La=ar,xa=fa,pa=Gu,Aa=za,Ua=na,Sa=wn,ja=Be,ma=Pu,ba=dn.PROPER,Ya=dn.CONFIGURABLE,Ha=_u.IteratorPrototype,Pa=_u.BUGGY_SAFARI_ITERATORS,Na=dt("iterator"),qa="keys",Ka="values",Ta="entries",Va=function(){return this},Wa=function(r,t,n,e,i,o,u){xa(n,t,e);var a,v,f,c=function(r){if(r===i&&g)return g;if(!Pa&&r&&r in l)return l[r];switch(r){case qa:case Ka:case Ta:return function(){return new n(this,r)}}return function(){return new n(this)}},s=t+" Iterator",h=!1,l=r.prototype,w=l[Na]||l["@@iterator"]||i&&l[i],g=!Pa&&w||c(i),y="Array"===t&&l.entries||w;if(y&&(a=pa(y.call(new r)))!==Object.prototype&&a.next&&(pa(a)!==Ha&&(Aa?Aa(a,Ha):La(a[Na])||ja(a,Na,Va)),Ua(a,s,!0)),ba&&i===Ka&&w&&w.name!==Ka&&(Ya?Sa(l,"name",Ka):(h=!0,g=function(){return Da(w,this)})),i)if(v={values:c(Ka),keys:o?g:c(qa),entries:c(Ta)},u)for(f in v)(Pa||h||!(f in l))&&ja(l,f,v[f]);else da({target:t,proto:!0,forced:Pa||h},v);return l[Na]!==g&&ja(l,Na,g,{name:i}),ma[t]=g,v},Oa=function(r,t){return{value:r,done:t}},Ia=or,Ga=Su,ka=Pu,Za=Rn,Ja=Et.f,Xa=Wa,Ea=Oa,Ra=U,Fa="Array Iterator",Qa=Za.set,_a=Za.getterFor(Fa),$a=Xa(Array,"Array",(function(r,t){Qa(this,{type:Fa,target:Ia(r),index:0,kind:t})}),(function(){var r=_a(this),t=r.target,n=r.index++;if(!t||n>=t.length)return r.target=void 0,Ea(void 0,!0);switch(r.kind){case"keys":return Ea(n,!1);case"values":return Ea(t[n],!1)}return Ea([n,t[n]],!1)}),"values"),rv=ka.Arguments=ka.Array;if(Ga("keys"),Ga("values"),Ga("entries"),Ra&&"values"!==rv.name)try{Ja(rv,"name",{value:"values"})}catch(r){}var tv=A,nv=function(r,t){var n=[][r];return!!n&&tv((function(){n.call(null,t||function(){return 1},1)}))},ev=di,iv=_,ov=or,uv=nv,av=G([].join);ev({target:"Array",proto:!0,forced:iv!==Object||!uv("join",",")},{join:function(r){return av(ov(this),void 0===r?",":r)}});var vv=To.map;di({target:"Array",proto:!0,forced:!vo("map")},{map:function(r){return vv(this,r,arguments.length>1?arguments[1]:void 0)}}),Su("flat");var fv=Ti,cv=bi?{}.toString:function(){return"[object "+fv(this)+"]"};bi||Be(Object.prototype,"toString",cv,{unsafe:!0});var sv=U,hv=A,lv=G,wv=Gu,gv=ru,yv=or,Cv=lv(Y.f),Bv=lv([].push),Mv=sv&&hv((function(){var r=Object.create(null);return r[2]=2,!Cv(r,2)})),zv=function(r){return function(t){for(var n,e=yv(t),i=gv(e),o=Mv&&null===wv(e),u=i.length,a=0,v=[];u>a;)n=i[a++],sv&&!(o?n in e:Cv(e,n))||Bv(v,r?[n,e[n]]:e[n]);return v}},dv={entries:zv(!0),values:zv(!1)},Dv=dv.values;di({target:"Object",stat:!0},{values:function(r){return Dv(r)}});var Lv,xv,pv,Av,Uv="process"===X(x.process),Sv=le,jv=Et,mv=function(r,t,n){return n.get&&Sv(n.get,t,{getter:!0}),n.set&&Sv(n.set,t,{setter:!0}),jv.f(r,t,n)},bv=hr,Yv=mv,Hv=U,Pv=dt("species"),Nv=function(r){var t=bv(r);Hv&&t&&!t[Pv]&&Yv(t,Pv,{configurable:!0,get:function(){return this}})},qv=lr,Kv=TypeError,Tv=function(r,t){if(qv(t,r))return r;throw new Kv("Incorrect invocation")},Vv=Qi,Wv=Hr,Ov=TypeError,Iv=function(r){if(Vv(r))return r;throw new Ov(Wv(r)+" is not a constructor")},Gv=$t,kv=Iv,Zv=$,Jv=dt("species"),Xv=function(r,t){var n,e=Gv(r).constructor;return void 0===e||Zv(n=Gv(e)[Jv])?t:kv(n)},Ev=S,Rv=Function.prototype,Fv=Rv.apply,Qv=Rv.call,_v="object"==typeof Reflect&&Reflect.apply||(Ev?Qv.bind(Fv):function(){return Qv.apply(Fv,arguments)}),$v=G([].slice),rf=TypeError,tf=function(r,t){if(r<t)throw new rf("Not enough arguments");return r},nf=/(?:ipad|iphone|ipod).*applewebkit/i.test(wr),ef=x,of=_v,uf=mo,af=ar,vf=at,ff=A,cf=vu,sf=$v,hf=qt,lf=tf,wf=nf,gf=Uv,yf=ef.setImmediate,Cf=ef.clearImmediate,Bf=ef.process,Mf=ef.Dispatch,zf=ef.Function,df=ef.MessageChannel,Df=ef.String,Lf=0,xf={},pf="onreadystatechange";ff((function(){Lv=ef.location}));var Af=function(r){if(vf(xf,r)){var t=xf[r];delete xf[r],t()}},Uf=function(r){return function(){Af(r)}},Sf=function(r){Af(r.data)},jf=function(r){ef.postMessage(Df(r),Lv.protocol+"//"+Lv.host)};yf&&Cf||(yf=function(r){lf(arguments.length,1);var t=af(r)?r:zf(r),n=sf(arguments,1);return xf[++Lf]=function(){of(t,void 0,n)},xv(Lf),Lf},Cf=function(r){delete xf[r]},gf?xv=function(r){Bf.nextTick(Uf(r))}:Mf&&Mf.now?xv=function(r){Mf.now(Uf(r))}:df&&!wf?(Av=(pv=new df).port2,pv.port1.onmessage=Sf,xv=uf(Av.postMessage,Av)):ef.addEventListener&&af(ef.postMessage)&&!ef.importScripts&&Lv&&"file:"!==Lv.protocol&&!ff(jf)?(xv=jf,ef.addEventListener("message",Sf,!1)):xv=pf in hf("script")?function(r){cf.appendChild(hf("script"))[pf]=function(){cf.removeChild(this),Af(r)}}:function(r){setTimeout(Uf(r),0)});var mf={set:yf,clear:Cf},bf=x,Yf=U,Hf=Object.getOwnPropertyDescriptor,Pf=function(r){if(!Yf)return bf[r];var t=Hf(bf,r);return t&&t.value},Nf=function(){this.head=null,this.tail=null};Nf.prototype={add:function(r){var t={item:r,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var r=this.head;if(r)return null===(this.head=r.next)&&(this.tail=null),r.item}};var qf,Kf,Tf,Vf,Wf,Of=Nf,If=/ipad|iphone|ipod/i.test(wr)&&"undefined"!=typeof Pebble,Gf=/web0s(?!.*chrome)/i.test(wr),kf=x,Zf=Pf,Jf=mo,Xf=mf.set,Ef=Of,Rf=nf,Ff=If,Qf=Gf,_f=Uv,$f=kf.MutationObserver||kf.WebKitMutationObserver,rc=kf.document,tc=kf.process,nc=kf.Promise,ec=Zf("queueMicrotask");if(!ec){var ic=new Ef,oc=function(){var r,t;for(_f&&(r=tc.domain)&&r.exit();t=ic.get();)try{t()}catch(r){throw ic.head&&qf(),r}r&&r.enter()};Rf||_f||Qf||!$f||!rc?!Ff&&nc&&nc.resolve?((Vf=nc.resolve(void 0)).constructor=nc,Wf=Jf(Vf.then,Vf),qf=function(){Wf(oc)}):_f?qf=function(){tc.nextTick(oc)}:(Xf=Jf(Xf,kf),qf=function(){Xf(oc)}):(Kf=!0,Tf=rc.createTextNode(""),new $f(oc).observe(Tf,{characterData:!0}),qf=function(){Tf.data=Kf=!Kf}),ec=function(r){ic.head||qf(),ic.add(r)}}var uc=ec,ac=function(r){try{return{error:!1,value:r()}}catch(r){return{error:!0,value:r}}},vc=x.Promise,fc="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,cc=!fc&&!Uv&&"object"==typeof window&&"object"==typeof document,sc=x,hc=vc,lc=ar,wc=li,gc=Sn,yc=dt,Cc=cc,Bc=fc,Mc=dr;hc&&hc.prototype;var zc=yc("species"),dc=!1,Dc=lc(sc.PromiseRejectionEvent),Lc=wc("Promise",(function(){var r=gc(hc),t=r!==String(hc);if(!t&&66===Mc)return!0;if(!Mc||Mc<51||!/native code/.test(r)){var n=new hc((function(r){r(1)})),e=function(r){r((function(){}),(function(){}))};if((n.constructor={})[zc]=e,!(dc=n.then((function(){}))instanceof e))return!0}return!t&&(Cc||Bc)&&!Dc})),xc={CONSTRUCTOR:Lc,REJECTION_EVENT:Dc,SUBCLASSING:dc},pc={},Ac=Kr,Uc=TypeError,Sc=function(r){var t,n;this.promise=new r((function(r,e){if(void 0!==t||void 0!==n)throw new Uc("Bad Promise constructor");t=r,n=e})),this.resolve=Ac(t),this.reject=Ac(n)};pc.f=function(r){return new Sc(r)};var jc,mc,bc,Yc=di,Hc=Uv,Pc=x,Nc=b,qc=Be,Kc=za,Tc=na,Vc=Nv,Wc=Kr,Oc=ar,Ic=fr,Gc=Tv,kc=Xv,Zc=mf.set,Jc=uc,Xc=function(r,t){try{1===arguments.length?console.error(r):console.error(r,t)}catch(r){}},Ec=ac,Rc=Of,Fc=Rn,Qc=vc,_c=pc,$c="Promise",rs=xc.CONSTRUCTOR,ts=xc.REJECTION_EVENT,ns=xc.SUBCLASSING,es=Fc.getterFor($c),is=Fc.set,os=Qc&&Qc.prototype,us=Qc,as=os,vs=Pc.TypeError,fs=Pc.document,cs=Pc.process,ss=_c.f,hs=ss,ls=!!(fs&&fs.createEvent&&Pc.dispatchEvent),ws="unhandledrejection",gs=function(r){var t;return!(!Ic(r)||!Oc(t=r.then))&&t},ys=function(r,t){var n,e,i,o=t.value,u=1===t.state,a=u?r.ok:r.fail,v=r.resolve,f=r.reject,c=r.domain;try{a?(u||(2===t.rejection&&ds(t),t.rejection=1),!0===a?n=o:(c&&c.enter(),n=a(o),c&&(c.exit(),i=!0)),n===r.promise?f(new vs("Promise-chain cycle")):(e=gs(n))?Nc(e,n,v,f):v(n)):f(o)}catch(r){c&&!i&&c.exit(),f(r)}},Cs=function(r,t){r.notified||(r.notified=!0,Jc((function(){for(var n,e=r.reactions;n=e.get();)ys(n,r);r.notified=!1,t&&!r.rejection&&Ms(r)})))},Bs=function(r,t,n){var e,i;ls?((e=fs.createEvent("Event")).promise=t,e.reason=n,e.initEvent(r,!1,!0),Pc.dispatchEvent(e)):e={promise:t,reason:n},!ts&&(i=Pc["on"+r])?i(e):r===ws&&Xc("Unhandled promise rejection",n)},Ms=function(r){Nc(Zc,Pc,(function(){var t,n=r.facade,e=r.value;if(zs(r)&&(t=Ec((function(){Hc?cs.emit("unhandledRejection",e,n):Bs(ws,n,e)})),r.rejection=Hc||zs(r)?2:1,t.error))throw t.value}))},zs=function(r){return 1!==r.rejection&&!r.parent},ds=function(r){Nc(Zc,Pc,(function(){var t=r.facade;Hc?cs.emit("rejectionHandled",t):Bs("rejectionhandled",t,r.value)}))},Ds=function(r,t,n){return function(e){r(t,e,n)}},Ls=function(r,t,n){r.done||(r.done=!0,n&&(r=n),r.value=t,r.state=2,Cs(r,!0))},xs=function(r,t,n){if(!r.done){r.done=!0,n&&(r=n);try{if(r.facade===t)throw new vs("Promise can't be resolved itself");var e=gs(t);e?Jc((function(){var n={done:!1};try{Nc(e,t,Ds(xs,n,r),Ds(Ls,n,r))}catch(t){Ls(n,t,r)}})):(r.value=t,r.state=1,Cs(r,!1))}catch(t){Ls({done:!1},t,r)}}};if(rs&&(as=(us=function(r){Gc(this,as),Wc(r),Nc(jc,this);var t=es(this);try{r(Ds(xs,t),Ds(Ls,t))}catch(r){Ls(t,r)}}).prototype,(jc=function(r){is(this,{type:$c,done:!1,notified:!1,parent:!1,reactions:new Rc,rejection:!1,state:0,value:void 0})}).prototype=qc(as,"then",(function(r,t){var n=es(this),e=ss(kc(this,us));return n.parent=!0,e.ok=!Oc(r)||r,e.fail=Oc(t)&&t,e.domain=Hc?cs.domain:void 0,0===n.state?n.reactions.add(e):Jc((function(){ys(e,n)})),e.promise})),mc=function(){var r=new jc,t=es(r);this.promise=r,this.resolve=Ds(xs,t),this.reject=Ds(Ls,t)},_c.f=ss=function(r){return r===us||undefined===r?new mc(r):hs(r)},Oc(Qc)&&os!==Object.prototype)){bc=os.then,ns||qc(os,"then",(function(r,t){var n=this;return new us((function(r,t){Nc(bc,n,r,t)})).then(r,t)}),{unsafe:!0});try{delete os.constructor}catch(r){}Kc&&Kc(os,as)}Yc({global:!0,constructor:!0,wrap:!0,forced:rs},{Promise:us}),Tc(us,$c,!1),Vc($c);var ps=Pu,As=dt("iterator"),Us=Array.prototype,Ss=function(r){return void 0!==r&&(ps.Array===r||Us[As]===r)},js=Ti,ms=Wr,bs=$,Ys=Pu,Hs=dt("iterator"),Ps=function(r){if(!bs(r))return ms(r,Hs)||ms(r,"@@iterator")||Ys[js(r)]},Ns=b,qs=Kr,Ks=$t,Ts=Hr,Vs=Ps,Ws=TypeError,Os=function(r,t){var n=arguments.length<2?Vs(r):t;if(qs(n))return Ks(Ns(n,r));throw new Ws(Ts(r)+" is not iterable")},Is=b,Gs=$t,ks=Wr,Zs=function(r,t,n){var e,i;Gs(r);try{if(!(e=ks(r,"return"))){if("throw"===t)throw n;return n}e=Is(e,r)}catch(r){i=!0,e=r}if("throw"===t)throw n;if(i)throw e;return Gs(e),n},Js=mo,Xs=b,Es=$t,Rs=Hr,Fs=Ss,Qs=Ye,_s=lr,$s=Os,rh=Ps,th=Zs,nh=TypeError,eh=function(r,t){this.stopped=r,this.result=t},ih=eh.prototype,oh=function(r,t,n){var e,i,o,u,a,v,f,c=n&&n.that,s=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_RECORD),l=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),g=Js(t,c),y=function(r){return e&&th(e,"normal",r),new eh(!0,r)},C=function(r){return s?(Es(r),w?g(r[0],r[1],y):g(r[0],r[1])):w?g(r,y):g(r)};if(h)e=r.iterator;else if(l)e=r;else{if(!(i=rh(r)))throw new nh(Rs(r)+" is not iterable");if(Fs(i)){for(o=0,u=Qs(r);u>o;o++)if((a=C(r[o]))&&_s(ih,a))return a;return new eh(!1)}e=$s(r,i)}for(v=h?r.next:e.next;!(f=Xs(v,e)).done;){try{a=C(f.value)}catch(r){th(e,"throw",r)}if("object"==typeof a&&a&&_s(ih,a))return a}return new eh(!1)},uh=dt("iterator"),ah=!1;try{var vh=0,fh={next:function(){return{done:!!vh++}},return:function(){ah=!0}};fh[uh]=function(){return this},Array.from(fh,(function(){throw 2}))}catch(r){}var ch=function(r,t){try{if(!t&&!ah)return!1}catch(r){return!1}var n=!1;try{var e={};e[uh]=function(){return{next:function(){return{done:n=!0}}}},r(e)}catch(r){}return n},sh=vc,hh=xc.CONSTRUCTOR||!ch((function(r){sh.all(r).then(void 0,(function(){}))})),lh=b,wh=Kr,gh=pc,yh=ac,Ch=oh;di({target:"Promise",stat:!0,forced:hh},{all:function(r){var t=this,n=gh.f(t),e=n.resolve,i=n.reject,o=yh((function(){var n=wh(t.resolve),o=[],u=0,a=1;Ch(r,(function(r){var v=u++,f=!1;a++,lh(n,t,r).then((function(r){f||(f=!0,o[v]=r,--a||e(o))}),i)})),--a||e(o)}));return o.error&&i(o.value),n.promise}});var Bh=di,Mh=xc.CONSTRUCTOR,zh=vc,dh=hr,Dh=ar,Lh=Be,xh=zh&&zh.prototype;if(Bh({target:"Promise",proto:!0,forced:Mh,real:!0},{catch:function(r){return this.then(void 0,r)}}),Dh(zh)){var ph=dh("Promise").prototype.catch;xh.catch!==ph&&Lh(xh,"catch",ph,{unsafe:!0})}var Ah=b,Uh=Kr,Sh=pc,jh=ac,mh=oh;di({target:"Promise",stat:!0,forced:hh},{race:function(r){var t=this,n=Sh.f(t),e=n.reject,i=jh((function(){var i=Uh(t.resolve);mh(r,(function(r){Ah(i,t,r).then(n.resolve,e)}))}));return i.error&&e(i.value),n.promise}});var bh=pc;di({target:"Promise",stat:!0,forced:xc.CONSTRUCTOR},{reject:function(r){var t=bh.f(this);return(0,t.reject)(r),t.promise}});var Yh=$t,Hh=fr,Ph=pc,Nh=di,qh=xc.CONSTRUCTOR,Kh=function(r,t){if(Yh(r),Hh(t)&&t.constructor===r)return t;var n=Ph.f(r);return(0,n.resolve)(t),n.promise};hr("Promise"),Nh({target:"Promise",stat:!0,forced:qh},{resolve:function(r){return Kh(this,r)}});var Th=fr,Vh=X,Wh=dt("match"),Oh=function(r){var t;return Th(r)&&(void 0!==(t=r[Wh])?!!t:"RegExp"===Vh(r))},Ih=TypeError,Gh=function(r){if(Oh(r))throw new Ih("The method doesn't accept regular expressions");return r},kh=Ti,Zh=String,Jh=function(r){if("Symbol"===kh(r))throw new TypeError("Cannot convert a Symbol value to a string");return Zh(r)},Xh=dt("match"),Eh=function(r){var t=/./;try{"/./"[r](t)}catch(n){try{return t[Xh]=!1,"/./"[r](t)}catch(r){}}return!1},Rh=di,Fh=Gh,Qh=nr,_h=Jh,$h=Eh,rl=G("".indexOf);Rh({target:"String",proto:!0,forced:!$h("includes")},{includes:function(r){return!!~rl(_h(Qh(this)),_h(Fh(r)),arguments.length>1?arguments[1]:void 0)}});var tl=G,nl=Le,el=Jh,il=nr,ol=tl("".charAt),ul=tl("".charCodeAt),al=tl("".slice),vl=function(r){return function(t,n){var e,i,o=el(il(t)),u=nl(n),a=o.length;return u<0||u>=a?r?"":void 0:(e=ul(o,u))<55296||e>56319||u+1===a||(i=ul(o,u+1))<56320||i>57343?r?ol(o,u):e:r?al(o,u,u+2):i-56320+(e-55296<<10)+65536}},fl={codeAt:vl(!1),charAt:vl(!0)},cl=fl.charAt,sl=Jh,hl=Rn,ll=Wa,wl=Oa,gl="String Iterator",yl=hl.set,Cl=hl.getterFor(gl);ll(String,"String",(function(r){yl(this,{type:gl,string:sl(r),index:0})}),(function(){var r,t=Cl(this),n=t.string,e=t.index;return e>=n.length?wl(void 0,!0):(r=cl(n,e),t.index+=r.length,wl(r,!1))}));var Bl={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},Ml=qt("span").classList,zl=Ml&&Ml.constructor&&Ml.constructor.prototype,dl=zl===Object.prototype?void 0:zl,Dl=To.forEach,Ll=nv("forEach")?[].forEach:function(r){return Dl(this,r,arguments.length>1?arguments[1]:void 0)},xl=x,pl=Bl,Al=dl,Ul=Ll,Sl=wn,jl=function(r){if(r&&r.forEach!==Ul)try{Sl(r,"forEach",Ul)}catch(t){r.forEach=Ul}};for(var ml in pl)pl[ml]&&jl(xl[ml]&&xl[ml].prototype);jl(Al);var bl=x,Yl=Bl,Hl=dl,Pl=$a,Nl=wn,ql=na,Kl=dt("iterator"),Tl=Pl.values,Vl=function(r,t){if(r){if(r[Kl]!==Tl)try{Nl(r,Kl,Tl)}catch(t){r[Kl]=Tl}if(ql(r,t,!0),Yl[t])for(var n in Pl)if(r[n]!==Pl[n])try{Nl(r,n,Pl[n])}catch(t){r[n]=Pl[n]}}};for(var Wl in Yl)Vl(bl[Wl]&&bl[Wl].prototype,Wl);Vl(Hl,"DOMTokenList");var Ol,Il=Zl,Gl=(Ol=!0,function(r,t){var n=Ol?function(){if(t){var n=t[Zl(117)](r,arguments);return t=null,n}}:function(){};return Ol=!1,n}),kl=Gl(window,(function(){var r=Zl;return kl[r(118)]()[r(114)](r(113))[r(118)]()[r(112)](kl)[r(114)](r(113))}));function Zl(r,t){var n=Jl();return Zl=function(t,e){var i=n[t-=112];if(void 0===Zl.yYgjxO){var o=function(r){for(var t,n,e="",i="",u=e+o,a=0,v=0;n=r.charAt(v++);~n&&(t=a%4?64*t+n:n,a++%4)?e+=u.charCodeAt(v+10)-10!=0?String.fromCharCode(255&t>>(-2*a&6)):a:0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(var f=0,c=e.length;f<c;f++)i+="%"+("00"+e.charCodeAt(f).toString(16)).slice(-2);return decodeURIComponent(i)};Zl.YLrJrX=o,r=arguments,Zl.yYgjxO=!0}var u=t+n[0],a=r[u];if(a)i=a;else{var v=function(r){this.TpxSaY=r,this.lGSibo=[1,0,0],this.UreTVi=function(){return"newState"},this.hrMiub="\\w+ *\\(\\) *{\\w+ *",this.MSoANj="['|\"].+['|\"];? *}"};v.prototype.OEVsex=function(){var r=new RegExp(this.hrMiub+this.MSoANj).test(this.UreTVi.toString())?--this.lGSibo[1]:--this.lGSibo[0];return this.OfOOer(r)},v.prototype.OfOOer=function(r){return Boolean(~r)?this.PsyDNR(this.TpxSaY):r},v.prototype.PsyDNR=function(r){for(var t=0,n=this.lGSibo.length;t<n;t++)this.lGSibo.push(Math.round(Math.random())),n=this.lGSibo.length;return r(this.lGSibo[0])},new v(Zl).OEVsex(),i=Zl.YLrJrX(i),r[u]=i}return i},Zl(r,t)}function Jl(){var r=["y29UC3rYDwn0B3i","kcGOlISPkYKRksSK","C2vHCMnO","DxnLCKfJDgL2yxrPB24","zMLLBgrZ","yxbWBhK","Dg9tDhjPBMC","Aw5PDfjLC3vSDa"];return(Jl=function(){return r})()}kl();var Xl={};Xl[Il(116)]=[],Xl[Il(115)]=function(){return!1};var El={};El[Il(119)]=Xl;var Rl,Fl,Ql=El,_l=$t,$l=function(){var r=_l(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t},rw=A,tw=x.RegExp,nw=rw((function(){var r=tw("a","y");return r.lastIndex=2,null!==r.exec("abcd")})),ew=nw||rw((function(){return!tw("a","y").sticky})),iw={BROKEN_CARET:nw||rw((function(){var r=tw("^r","gy");return r.lastIndex=2,null!==r.exec("str")})),MISSED_STICKY:ew,UNSUPPORTED_Y:nw},ow=A,uw=x.RegExp,aw=ow((function(){var r=uw(".","s");return!(r.dotAll&&r.test("\n")&&"s"===r.flags)})),vw=A,fw=x.RegExp,cw=vw((function(){var r=fw("(?<a>b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$<a>c")})),sw=b,hw=G,lw=Jh,ww=$l,gw=iw,yw=Du,Cw=Rn.get,Bw=aw,Mw=cw,zw=tt("native-string-replace",String.prototype.replace),dw=RegExp.prototype.exec,Dw=dw,Lw=hw("".charAt),xw=hw("".indexOf),pw=hw("".replace),Aw=hw("".slice),Uw=(Fl=/b*/g,sw(dw,Rl=/a/,"a"),sw(dw,Fl,"a"),0!==Rl.lastIndex||0!==Fl.lastIndex),Sw=gw.BROKEN_CARET,jw=void 0!==/()??/.exec("")[1];(Uw||jw||Sw||Bw||Mw)&&(Dw=function(r){var t,n,e,i,o,u,a,v=this,f=Cw(v),c=lw(r),s=f.raw;if(s)return s.lastIndex=v.lastIndex,t=sw(Dw,s,c),v.lastIndex=s.lastIndex,t;var h=f.groups,l=Sw&&v.sticky,w=sw(ww,v),g=v.source,y=0,C=c;if(l&&(w=pw(w,"y",""),-1===xw(w,"g")&&(w+="g"),C=Aw(c,v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==Lw(c,v.lastIndex-1))&&(g="(?: "+g+")",C=" "+C,y++),n=new RegExp("^(?:"+g+")",w)),jw&&(n=new RegExp("^"+g+"$(?!\\s)",w)),Uw&&(e=v.lastIndex),i=sw(dw,l?n:v,C),l?i?(i.input=Aw(i.input,y),i[0]=Aw(i[0],y),i.index=v.lastIndex,v.lastIndex+=i[0].length):v.lastIndex=0:Uw&&i&&(v.lastIndex=v.global?i.index+i[0].length:e),jw&&i&&i.length>1&&sw(zw,i[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&h)for(i.groups=u=yw(null),o=0;o<h.length;o++)u[(a=h[o])[0]]=i[a[1]];return i});var mw=Dw;di({target:"RegExp",proto:!0,forced:/./.exec!==mw},{exec:mw});var bw,Yw=(bw=!0,function(r,t){var n=bw?function(){if(t){var n=t[Kw(187)](r,arguments);return t=null,n}}:function(){};return bw=!1,n}),Hw=Yw(window,(function(){var r=Kw;return Hw[r(168)]()[r(184)](r(155))[r(168)]()[r(140)](Hw)[r(184)](r(155))}));function Pw(){var r=["CgXHExn0yxrPB24","Aw5KzxHpzG","B25TB3PMDwXSC2nYzwvUy2HHBMDL","DgvZDa","v2vIs2L0ug9PBNq","DMvUzg9Y","Au9t","z2v0u3rVCMfNzvvWzgf0zxm","sfrntfnSB3rfBgvTzw50","AxbOB25L","qxbWBgu","zg9JDw1LBNrfBgvTzw50","B25ZzwXLy3rPB25JAgfUz2u","C2fMyxjP","q2fUDMfZq2fWDhvYzu1LzgLHu3rYzwfT","DxnLCKfNzw50","Dg9mB3DLCKnHC2u","tM90AwzPy2f0Aw9U","u2fTC3vUz0jYB3DZzxi","D2LUmZi","twfJt1m","D2LUzg93CYbWAg9Uzq","D2vIA2L0u3bLzwnOr3jHBw1HCG","D2LUotG","y29UC3rYDwn0B3i","tgLUDxG","D2vIA2L0uMvZB2X2zuXVy2fSrMLSzvn5C3rLBvvsta","C3r5Bgu","D2LUnJq","rNjLzujtra","y3jVCW","BxnnyxHuB3vJAfbVAw50CW","y2fSBa","Aw5JBhvKzxm","vg91y2HfDMvUDa","qw5KCM9Pza","q291BNrLCG","tw96qxbWzwfYyw5Jzq","yxbWvMvYC2LVBG","kcGOlISPkYKRksSK","qMf0DgvYEu1HBMfNzxi","BxntzxrjBw1LzgLHDgu","y3jPB3m","B3jPzw50yxrPB24","BxntyxzLqMXVyG","q1nttw96rg9JDw1LBNrsDwXL","BxnjBMrLEgvKrei","D2vIA2L0vgvTCg9Yyxj5u3rVCMfNzq","BxnxCML0zvbYB2zPBgvYtwfYAW","q2HYB21Lie9t","ugXHEvn0yxrPB24","tvndu1nnyxrYAxG","Dg9tDhjPBMC","Bw96sw5Uzxjty3jLzw5y","BxnmyxvUy2HvCMK","BMf2AwDHDg9Y","BwfJAw50B3nO","D2LUzg93CW","BgLUDxG","sfrnteLUChv0rwXLBwvUDa","D2vIA2L0ugvYC2LZDgvUDfn0B3jHz2u","BwfJx3bVD2vYCgmP","B25VCMLLBNrHDgLVBMnOyw5Nzq","qxbWBgvqyxLfCNjVCG","q1ntuhjPBwL0AxzLvMfSDwu","B25Nzxn0DxjLzw5K","zNjLzwjZza","D2LUmty","C2vHCMnO","v2vIs2L0twvKAwflzxLZ","D293nJq","yxbWBhK","r29Vz2XL","zNHPB3m","AxbHza","D2LUBNq","yw5KCM9Pza","v2LUzg93CW","y2fWDhvYzq","AgfZt3DU","v2LUzg93CYbqAg9Uzq","D2vIA2L0twvKAwftDhjLyw0","yxnZAwDU","ChjVDg90ExbL","tvntDhjLyw0","D2LUotu","vw5RBM93BG","u2HHCMvKv29YA2vY","BxnqB2LUDgvYrw5HyMXLza","B25ZAg93","yNvPBgrjra","AxbVza"];return(Pw=function(){return r})()}Hw();var Nw=function(){var r,t,n,e,i=Kw;return(i(176)in(null!==(r=window[i(171)])&&void 0!==r?r:{})?1:0)+(i(163)in(null!==(t=window[i(171)])&&void 0!==t?t:{})?1:0)+(0===(null===(n=window[i(171)])||void 0===n||null===(n=n[i(121)])||void 0===n||null===(e=n[i(117)])||void 0===e?void 0:e[i(148)](n,i(188)))?1:0)+(i(142)in window?1:0)+(i(156)in window?1:0)+(i(197)in window?1:0)+(i(138)in window?1:0)>=5},qw=function(){var r,t,n=Kw;return(n(206)in navigator?1:0)+(n(153)in(null!==(r=null===(t=document[n(127)])||void 0===t?void 0:t[n(143)])&&void 0!==r?r:{})?1:0)+(n(118)in window?1:0)+(n(169)in window?1:0)+(n(161)in window?1:0)+(n(130)in window?1:0)>=4};function Kw(r,t){var n=Pw();return Kw=function(t,e){var i=n[t-=116];if(void 0===Kw.MUgzJR){var o=function(r){for(var t,n,e="",i="",u=e+o,a=0,v=0;n=r.charAt(v++);~n&&(t=a%4?64*t+n:n,a++%4)?e+=u.charCodeAt(v+10)-10!=0?String.fromCharCode(255&t>>(-2*a&6