/*! For license information please see app-330dad3c3e5e8e340c6f.js.LICENSE.txt */
(self.webpackChunkaex_web_frontend=self.webpackChunkaex_web_frontend||[]).push([[2143],{67228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},22858:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},23646:function(e,t,n){var r=n(67228);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},81506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},34575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},93913:function(e,t,n){var r=n(13696);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},59713:function(e,t,n){var r=n(13696);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},50676:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},59968:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},63349:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},92137:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,s,"next",e)}function s(e){r(a,o,i,u,s,"throw",e)}u(void 0)}))}}n.d(t,{Z:function(){return o}})},6610:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},13894:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(14665);function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}function i(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&(0,r.Z)(a,n.prototype),a}},5991:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(22863);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},96156:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(22863);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},77608:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},10379:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(14665);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},41788:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(14665);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},96410:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},28970:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},17375:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},46070:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(90484),o=n(63349);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},14665:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},28481:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59968);var o=n(82961),i=n(28970);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},99809:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(59968),o=n(96410),i=n(82961),a=n(28970);function u(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},85061:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(50676);var o=n(96410),i=n(82961);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||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.")}()}},22863:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(90484);function o(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},90484:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},82961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50676);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},57869:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(77608),o=n(14665);var i=n(13894);function a(e){var t="function"==typeof Map?new Map:void 0;return(a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return(0,i.Z)(e,arguments,(0,r.Z)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.Z)(n,e)})(e)}},67154:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},16525:function(e,t,n){var r=n(58331);function o(){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=o=Reflect.get.bind(),e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(this,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},29754:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2205:function(e,t,n){var r=n(99489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},85354:function(e,t,n){var r=n(99489);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},46860:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},13884:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},80521:function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},98206:function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},37316:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},78585:function(e,t,n){var r=n(50008).default,o=n(81506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},59591:function(e,t,n){var r=n(50008).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),a=new P(r||[]);return u(i,"_invoke",{value:T(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var v="suspendedStart",g="executing",m="completed",y={};function b(){}function w(){}function _(){}var x={};d(x,c,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(N([])));k&&k!==i&&a.call(k,c)&&(x=k);var E=_.prototype=b.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function I(e,t){function n(o,i,u,s){var c=h(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,s)}),(function(e){n("throw",e,u,s)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return n("throw",e,u,s)}))}s(c.arg)}var o;u(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function T(e,n,r){var o=v;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=O(u,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var c=h(e,n,r);if("normal"===c.type){if(o=r.done?m:"suspendedYield",c.arg===y)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function O(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=_,u(E,"constructor",{value:_,configurable:!0}),u(_,"constructor",{value:w,configurable:!0}),w.displayName=d(_,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,d(e,f,"GeneratorFunction")),e.prototype=Object.create(E),e},n.awrap=function(e){return{__await:e}},C(I.prototype),d(I.prototype,l,(function(){return this})),n.AsyncIterator=I,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new I(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(E),d(E,f,"Generator"),d(E,c,(function(){return this})),d(E,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;D(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},99489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},63038:function(e,t,n){var r=n(22858),o=n(13884),i=n(60379),a=n(80521);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},58331:function(e,t,n){var r=n(29754);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,n){var r=n(23646),o=n(46860),i=n(60379),a=n(98206);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},8868:function(e,t,n){var r=n(50008).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},13696:function(e,t,n){var r=n(50008).default,o=n(8868);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},50008:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},60379:function(e,t,n){var r=n(67228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},87757:function(e,t,n){var r=n(59591)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},58127:function(e,t,n){!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};e.r(r),e.d(r,{AEXAuth:function(){return ln},AEXAuthStore:function(){return Jt}});var o={};e.r(o),e.d(o,{authenticatedFetch:function(){return $t}});var i={};e.r(i),e.d(i,{AEXAuthStore:function(){return Jt}});var a={};e.r(a),e.d(a,{getErrorCode:function(){return Qt}});var u={};e.r(u),e.d(u,{useLogout:function(){return rn},useUser:function(){return on}});var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function c(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}var p=[];Object.freeze(p);var h={};function v(){return"undefined"!=typeof window?window:e.g}function g(){return++Ae.mobxGuid}function m(e){throw y(!1,e),"X"}function y(e,t){if(!e)throw new Error("[mobx] "+(t||"An invariant failed, however the error is obfuscated because this is an production build."))}function b(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}Object.freeze(h);var w=function(){};function _(e){return null!==e&&"object"==typeof e}function x(e){if(null===e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function S(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function k(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function E(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return _(e)&&!0===e[n]}}function C(e){return void 0!==v().Map&&e instanceof v().Map}function I(e){return e instanceof Set}function T(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}function O(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function A(e){return null===e?null:"object"==typeof e?""+e:e}function D(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function P(e,t){k(e,D(),t)}function N(e){return e[D()]=j,e}function M(){return"function"==typeof Symbol&&Symbol.toStringTag||"@@toStringTag"}function j(){return this}var L=function(){function e(e){void 0===e&&(e="Atom@"+g()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=pe.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.onBecomeObserved=function(){},e.prototype.reportObserved=function(){return Le(this)},e.prototype.reportChanged=function(){Me(),function(e){if(e.lowestObserverState!==pe.STALE){e.lowestObserverState=pe.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===pe.UP_TO_DATE&&(r.isTracing!==ve.NONE&&Re(r,e),r.onBecomeStale()),r.dependenciesState=pe.STALE}}}(this),je()},e.prototype.toString=function(){return this.name},e}(),R=E("Atom",L);function F(e,t){return e===t}var U={identity:F,structural:function(e,t){return Gt(e,t)},default:function(e,t){return function(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(e,t)||F(e,t)}},B={},z={};function V(e,t){var n=t?B:z;return n[e]||(n[e]={configurable:!0,enumerable:t,get:function(){return H(this),this[e]},set:function(t){H(this),this[e]=t}})}function H(e){if(!0!==e.__mobxDidRunLazyInitializers){var t=e.__mobxDecorators;if(t)for(var n in S(e,"__mobxDidRunLazyInitializers",!0),t){var r=t[n];r.propertyCreator(e,r.prop,r.descriptor,r.decoratorTarget,r.decoratorArguments)}}}function G(e,t){return function(){var n,r=function(r,o,i,a){if(!0===a)return t(r,o,i,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,"__mobxDecorators")){var u=r.__mobxDecorators;S(r,"__mobxDecorators",l({},u))}return r.__mobxDecorators[o]={prop:o,propertyCreator:t,descriptor:i,decoratorTarget:r,decoratorArguments:n},V(o,e)};return q(arguments)?(n=p,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function q(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]||4===e.length&&!0===e[3]}function W(e,t,n){return rt(e)?e:Array.isArray(e)?re.array(e,{name:n}):x(e)?re.object(e,void 0,{name:n}):C(e)?re.map(e,{name:n}):I(e)?re.set(e,{name:n}):e}function Z(e){return e}function K(e){var t=G(!0,(function(t,n,r,o,i){!function(e,t,n,r){var o=jt(e);if(at(o)){var i=st(o,{object:e,name:t,type:"add",newValue:n});if(!i)return;n=i.newValue}n=(o.values[t]=new fe(n,r,o.name+"."+t,!1)).value,Object.defineProperty(e,t,function(e){return Lt[e]||(Lt[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.read(this,e)},set:function(t){this.$mobx.write(this,e,t)}})}(t)),o.keys&&o.keys.push(t),function(e,t,n,r){var o=ct(e),i=Ve(),a=o||i?{type:"add",object:t,name:n,newValue:r}:null;i&&Ge(l({},a,{name:e.name,key:n})),o&&ft(e,a),i&&We()}(o,e,t,n)}(t,n,r?r.initializer?r.initializer.call(t):r.value:void 0,e)}));return t.enhancer=e,t}var $={deep:!0,name:void 0,defaultDecorator:void 0};function X(e){return null==e?$:"string"==typeof e?{name:e,deep:!0}:e}function Y(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?Z:W}Object.freeze($),Object.freeze({deep:!1,name:void 0,defaultDecorator:void 0});var J=K(W),Q=K((function(e,t,n){return null==e||Bt(e)||Ct(e)||At(e)||Nt(e)?e:Array.isArray(e)?re.array(e,{name:n,deep:!1}):x(e)?re.object(e,void 0,{name:n,deep:!1}):C(e)?re.map(e,{name:n,deep:!1}):I(e)?re.set(e,{name:n,deep:!1}):m(!1)})),ee=K(Z),te=K((function(e,t,n){return Gt(e,t)?t:e})),ne={box:function(e,t){arguments.length>2&&oe("box");var n=X(t);return new fe(e,Y(n),n.name,!0,n.equals)},shallowBox:function(e,t){return arguments.length>2&&oe("shallowBox"),re.box(e,{name:t,deep:!1})},array:function(e,t){arguments.length>2&&oe("array");var n=X(t);return new wt(e,Y(n),n.name)},shallowArray:function(e,t){return arguments.length>2&&oe("shallowArray"),re.array(e,{name:t,deep:!1})},map:function(e,t){arguments.length>2&&oe("map");var n=X(t);return new Tt(e,Y(n),n.name)},shallowMap:function(e,t){return arguments.length>2&&oe("shallowMap"),re.map(e,{name:t,deep:!1})},set:function(e,t){arguments.length>2&&oe("set");var n=X(t);return new Pt(e,Y(n),n.name)},object:function(e,t,n){"string"==typeof arguments[1]&&oe("object");var r=X(n);return et({},e,t,r)},shallowObject:function(e,t){return"string"==typeof arguments[1]&&oe("shallowObject"),re.object(e,{},{name:t,deep:!1})},ref:ee,shallow:Q,deep:J,struct:te},re=function e(t,n,r){if("string"==typeof arguments[1])return J.apply(null,arguments);if(rt(t))return t;var o=x(t)?e.object(t,n,r):Array.isArray(t)?e.array(t,n):C(t)?e.map(t,n):I(t)?e.set(t,n):t;if(o!==t)return o;m(!1)};function oe(e){m("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(ne).forEach((function(e){return re[e]=ne[e]}));var ie=G(!1,(function(e,t,n,r,o){var i=n.get,a=n.set,u=o[0]||{};!function(e,t,n){var r=jt(e);n.name=r.name+"."+t,n.context=e,r.values[t]=new de(n),Object.defineProperty(e,t,function(e){return Rt[e]||(Rt[e]={configurable:!1,enumerable:!1,get:function(){return Ft(this).read(this,e)},set:function(t){Ft(this).write(this,e,t)}})}(t))}(e,t,l({get:i,set:a},u))}));function ae(e,t){var n=function(){return ue(e,t,this,arguments)};return n.isMobxAction=!0,n}function ue(e,t,n,r){var o=function(e,t,n,r){var o=Ve()&&!!e,i=0;if(o){i=Date.now();var a=r&&r.length||0,u=new Array(a);if(a>0)for(var s=0;s<a;s++)u[s]=r[s];Ge({type:"action",name:e,object:n,arguments:u})}var c=ke();return Me(),{prevDerivation:c,prevAllowStateChanges:ce(!0),notifySpy:o,startTime:i}}(e,0,n,r),i=!0;try{var a=t.apply(n,r);return i=!1,a}finally{i?(Ae.suppressReactionErrors=i,se(o),Ae.suppressReactionErrors=!1):se(o)}}function se(e){le(e.prevAllowStateChanges),je(),Ee(e.prevDerivation),e.notifySpy&&We({time:Date.now()-e.startTime})}function ce(e){var t=Ae.allowStateChanges;return Ae.allowStateChanges=e,t}function le(e){Ae.allowStateChanges=e}ie({equals:U.structural});var fe=function(e){function t(t,n,r,o,i){void 0===r&&(r="ObservableValue@"+g()),void 0===o&&(o=!0),void 0===i&&(i=U.default);var a=e.call(this,r)||this;return a.enhancer=n,a.name=r,a.equals=i,a.hasUnreportedChange=!1,a.value=n(t,void 0,r),o&&Ve()&&He({type:"create",name:a.name,newValue:""+a.value}),a}return c(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==Ae.UNCHANGED){var n=Ve();n&&Ge({type:"update",name:this.name,newValue:e,oldValue:t}),this.setNewValue(e),n&&We()}},t.prototype.prepareNewValue=function(e){if(we(this),at(this)){var t=st(this,{object:this,type:"update",newValue:e});if(!t)return Ae.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Ae.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),ct(this)&&ft(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return ut(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),lt(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return A(this.get())},t}(L);fe.prototype[O()]=fe.prototype.valueOf,E("ObservableValue",fe);var de=function(){function e(e){this.dependenciesState=pe.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=pe.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+g(),this.value=new me(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=ve.NONE,this.derivation=e.get,this.name=e.name||"ComputedValue@"+g(),e.set&&(this.setter=ae(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?U.structural:U.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState===pe.UP_TO_DATE){e.lowestObserverState=pe.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===pe.UP_TO_DATE&&(r.dependenciesState=pe.POSSIBLY_STALE,r.isTracing!==ve.NONE&&Re(r,e),r.onBecomeStale())}}}(this)},e.prototype.onBecomeUnobserved=function(){},e.prototype.onBecomeObserved=function(){},e.prototype.get=function(){this.isComputing&&m("Cycle detected in computation "+this.name+": "+this.derivation),0!==Ae.inBatch||0!==this.observers.length||this.keepAlive?(Le(this),be(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState!==pe.STALE){e.lowestObserverState=pe.STALE;for(var t=e.observers,n=t.length;n--;){var r=t[n];r.dependenciesState===pe.POSSIBLY_STALE?r.dependenciesState=pe.STALE:r.dependenciesState===pe.UP_TO_DATE&&(e.lowestObserverState=pe.UP_TO_DATE)}}}(this)):be(this)&&(this.warnAboutUntrackedRead(),Me(),this.value=this.computeValue(!1),je());var e=this.value;if(ye(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(ye(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){y(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else y(!1,!1)},e.prototype.trackAndCompute=function(){Ve()&&He({object:this.scope,type:"compute",name:this.name});var e=this.value,t=this.dependenciesState===pe.NOT_TRACKING,n=this.computeValue(!0),r=t||ye(e)||ye(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Ae.computationDepth++,e)t=_e(this,this.derivation,this.scope);else if(!0===Ae.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new me(e)}return Ae.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(xe(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){void 0===t&&(t=h);var n,r=t&&t.name||e.name||"Autorun@"+g();if(t.scheduler||t.delay){var o=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Je}(t),i=!1;n=new Ue(r,(function(){i||(i=!0,o((function(){i=!1,n.isDisposed||n.track(a)})))}),t.onError)}else n=new Ue(r,(function(){this.track(a)}),t.onError);function a(){e()}return n.schedule(),n.getDisposer()}((function(){var i=n.get();if(!r||t){var a=ke();e({type:"update",object:n,newValue:i,oldValue:o}),Ee(a)}r=!1,o=i}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return A(this.get())},e}();de.prototype[O()]=de.prototype.valueOf;var pe,he,ve,ge=E("ComputedValue",de);(he=pe||(pe={}))[he.NOT_TRACKING=-1]="NOT_TRACKING",he[he.UP_TO_DATE=0]="UP_TO_DATE",he[he.POSSIBLY_STALE=1]="POSSIBLY_STALE",he[he.STALE=2]="STALE",function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(ve||(ve={}));var me=function(e){this.cause=e};function ye(e){return e instanceof me}function be(e){switch(e.dependenciesState){case pe.UP_TO_DATE:return!1;case pe.NOT_TRACKING:case pe.STALE:return!0;case pe.POSSIBLY_STALE:for(var t=ke(),n=e.observing,r=n.length,o=0;o<r;o++){var i=n[o];if(ge(i)){if(Ae.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return Ee(t),!0}if(e.dependenciesState===pe.STALE)return Ee(t),!0}}return Ce(e),Ee(t),!1}}function we(e){var t=e.observers.length>0;Ae.computationDepth>0&&t&&m(!1),Ae.allowStateChanges||!t&&"strict"!==Ae.enforceActions||m(!1)}function _e(e,t,n){Ce(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Ae.runId;var r,o=Ae.trackingDerivation;if(Ae.trackingDerivation=e,!0===Ae.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new me(e)}return Ae.trackingDerivation=o,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=pe.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;a<i;a++)0===(u=n[a]).diffValue&&(u.diffValue=1,o!==a&&(n[o]=u),o++),u.dependenciesState>r&&(r=u.dependenciesState);for(n.length=o,e.newObserving=null,i=t.length;i--;)0===(u=t[i]).diffValue&&Pe(u,e),u.diffValue=0;for(;o--;){var u;1===(u=n[o]).diffValue&&(u.diffValue=0,De(u,e))}r!==pe.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),r}function xe(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)Pe(t[n],e);e.dependenciesState=pe.NOT_TRACKING}function Se(e){var t=ke(),n=e();return Ee(t),n}function ke(){var e=Ae.trackingDerivation;return Ae.trackingDerivation=null,e}function Ee(e){Ae.trackingDerivation=e}function Ce(e){if(e.dependenciesState!==pe.UP_TO_DATE){e.dependenciesState=pe.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=pe.UP_TO_DATE}}var Ie,Te=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Oe=!0,Ae=((Ie=v()).__mobxInstanceCount>0&&!Ie.__mobxGlobals&&(Oe=!1),Ie.__mobxGlobals&&Ie.__mobxGlobals.version!==(new Te).version&&(Oe=!1),Oe?Ie.__mobxGlobals?(Ie.__mobxInstanceCount+=1,Ie.__mobxGlobals.UNCHANGED||(Ie.__mobxGlobals.UNCHANGED={}),Ie.__mobxGlobals):(Ie.__mobxInstanceCount=1,Ie.__mobxGlobals=new Te):(setTimeout((function(){m("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Te));function De(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Pe(e,t){if(1===e.observers.length)e.observers.length=0,Ne(e);else{var n=e.observers,r=e.observersIndexes,o=n.pop();if(o!==t){var i=r[t.__mapid]||0;i?r[o.__mapid]=i:delete r[o.__mapid],n[i]=o}delete r[t.__mapid]}}function Ne(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ae.pendingUnobservations.push(e))}function Me(){Ae.inBatch++}function je(){if(0==--Ae.inBatch){Be();for(var e=Ae.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBecomeUnobserved()),n instanceof de&&n.suspend())}Ae.pendingUnobservations=[]}}function Le(e){var t=Ae.trackingDerivation;return null!==t?(t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e,e.isBeingObserved||(e.isBeingObserved=!0,e.onBecomeObserved())),!0):(0===e.observers.length&&Ae.inBatch>0&&Ne(e),!1)}function Re(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===ve.BREAK){var n=[];Fe(tt(zt(e,void 0)),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof de?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n    ")()}}function Fe(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Fe(e,t,n+1)})))}var Ue=function(){function e(e,t,n){void 0===e&&(e="Reaction@"+g()),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.observing=[],this.newObserving=[],this.dependenciesState=pe.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+g(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=ve.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Ae.pendingReactions.push(this),Be())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(Me(),this._isScheduled=!1,be(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending&&Ve()&&He({name:this.name,type:"scheduled-reaction"})}catch(e){this.reportExceptionInDerivation(e)}}je()}},e.prototype.track=function(e){Me();var t,n=Ve();n&&(t=Date.now(),Ge({name:this.name,type:"reaction"})),this._isRunning=!0;var r=_e(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&xe(this),ye(r)&&this.reportExceptionInDerivation(r.cause),n&&We({time:Date.now()-t}),je()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Ae.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Ae.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),Ve()&&He({type:"error",name:this.name,message:n,error:""+e}),Ae.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Me(),xe(this),je()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var r=ot(e);if(!r)return m(!1);r.isTracing===ve.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled"),r.isTracing=n?ve.BREAK:ve.LOG}(this,e)},e}();function Be(){Ae.inBatch>0||Ae.isRunningReactions||function(){Ae.isRunningReactions=!0;for(var e=Ae.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction()}Ae.isRunningReactions=!1}()}var ze=E("Reaction",Ue);function Ve(){return!!Ae.spyListeners.length}function He(e){if(Ae.spyListeners.length)for(var t=Ae.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function Ge(e){He(l({},e,{spyReportStart:!0}))}var qe={spyReportEnd:!0};function We(e){He(e?l({},e,{spyReportEnd:!0}):qe)}function Ze(){m(!1)}function Ke(e){return function(t,n,r){if(r){if(r.value)return{value:ae(e,r.value),enumerable:!1,configurable:!0,writable:!0};var o=r.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return ae(e,o.call(this))}}}return $e(e).apply(this,arguments)}}function $e(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:function(){},set:function(t){S(this,n,Xe(e,t))}})}}var Xe=function(e,t,n,r){return 1===arguments.length&&"function"==typeof e?ae(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?ae(e,t):1===arguments.length&&"string"==typeof e?Ke(e):!0!==r?Ke(t).apply(null,arguments):void(e[t]=ae(e.name||t,n.value))};function Ye(e,t,n){S(e,t,ae(t,n.bind(e)))}Xe.bound=function(e,t,n,r){return!0===r?(Ye(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return Ye(this,t,n.value||n.initializer.call(this)),this[t]},set:Ze}:{enumerable:!1,configurable:!0,set:function(e){Ye(this,t,e)},get:function(){}}};var Je=function(e){return e()};function Qe(e,t,n,r){var o="string"==typeof n?zt(t,n):zt(t),i="string"==typeof n?r:n,a=o[e];return"function"!=typeof a?m(!1):(o[e]=function(){a.call(this),i.call(this)},function(){o[e]=a})}function et(e,t,n,r){var o=(r=X(r)).defaultDecorator||(!1===r.deep?ee:J);H(e),jt(e,r.name,o.enhancer),Me();try{for(var i in t){var a=Object.getOwnPropertyDescriptor(t,i),u=(n&&i in n?n[i]:a.get?ie:o)(e,i,a,!0);u&&Object.defineProperty(e,i,u)}}finally{je()}return e}function tt(e){var t,n,r={name:e.name};return e.observing&&e.observing.length>0&&(r.dependencies=(t=e.observing,n=[],t.forEach((function(e){-1===n.indexOf(e)&&n.push(e)})),n).map(tt)),r}function nt(e,t){if(null==e)return!1;if(void 0!==t){if(Bt(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return Bt(e)||!!e.$mobx||R(e)||ze(e)||ge(e)}function rt(e){return 1!==arguments.length&&m(!1),nt(e)}function ot(e){switch(e.length){case 0:return Ae.trackingDerivation;case 1:return zt(e[0]);case 2:return zt(e[0],e[1])}}function it(e,t){void 0===t&&(t=void 0),Me();try{return e.apply(t)}finally{je()}}function at(e){return void 0!==e.interceptors&&e.interceptors.length>0}function ut(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),b((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function st(e,t){var n=ke();try{var r=e.interceptors;if(r)for(var o=0,i=r.length;o<i&&(y(!(t=r[o](t))||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{Ee(n)}}function ct(e){return void 0!==e.changeListeners&&e.changeListeners.length>0}function lt(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),b((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ft(e,t){var n=ke(),r=e.changeListeners;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);Ee(n)}}var dt,pt,ht,vt,gt=(dt=!1,pt={},Object.defineProperty(pt,"0",{set:function(){dt=!0}}),Object.create(pt)[0]=1,!1===dt),mt=0,yt=function(){};ht=yt,vt=Array.prototype,void 0!==Object.setPrototypeOf?Object.setPrototypeOf(ht.prototype,vt):void 0!==ht.prototype.__proto__?ht.prototype.__proto__=vt:ht.prototype=vt,Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach((function(e){Object.defineProperty(yt.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})}));var bt=function(){function e(e,t,n,r){this.array=n,this.owned=r,this.values=[],this.lastKnownLength=0,this.atom=new L(e||"ObservableArray@"+g()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return ut(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),lt(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>mt&&kt(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var r=this;we(this.atom);var o=this.values.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=p),at(this)){var i=st(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!i)return p;t=i.removedCount,n=i.added}var a=(n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}))).length-t;this.updateArrayLength(o,a);var u=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,u),this.dehanceValues(u)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,d([e,t],n));var o=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&Ve(),o=ct(this),i=o||r?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;r&&Ge(l({},i,{name:this.atom.name})),this.atom.reportChanged(),o&&ft(this,i),r&&We()},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&Ve(),o=ct(this),i=o||r?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&Ge(l({},i,{name:this.atom.name})),this.atom.reportChanged(),o&&ft(this,i),r&&We()},e}(),wt=function(e){function t(t,n,r,o){void 0===r&&(r="ObservableArray@"+g()),void 0===o&&(o=!1);var i=e.call(this)||this,a=new bt(r,n,i,o);if(k(i,"$mobx",a),t&&t.length){var u=ce(!0);i.spliceWithArray(0,0,t),le(u)}return gt&&Object.defineProperty(a.array,"0",_t),i}return c(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map((function(e){return Ct(e)?e.peek():e})))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var r=this.findIndex.apply(this,arguments);return-1===r?void 0:this.get(r)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var r=this.peek(),o=r.length,i=n;i<o;i++)if(e.call(t,r[i],i,this))return i;return-1},t.prototype.splice=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(e){var t=this.slice();return t.sort.apply(t,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(e<0)throw new Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw new Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var r,o=this.$mobx.values;r=e<t?d(o.slice(0,e),o.slice(e+1,t+1),[o[e]],o.slice(t+1)):d(o.slice(0,t),[o[e]],o.slice(t,e),o.slice(e+1)),this.replace(r)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(e<t.values.length)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,r=n.values;if(e<r.length){we(n.atom);var o=r[e];if(at(n)){var i=st(n,{type:"update",object:this,index:e,newValue:t});if(!i)return;t=i.newValue}(t=n.enhancer(t,o))!==o&&(r[e]=t,n.notifyArrayChildUpdate(e,t,o))}else{if(e!==r.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+r.length);n.spliceWithArray(e,0,[t])}},t}(yt);P(wt.prototype,(function(){this.$mobx.atom.reportObserved();var e=this,t=0;return N({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})})),Object.defineProperty(wt.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),S(wt.prototype,M(),"Array"),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach((function(e){var t=Array.prototype[e];y("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),S(wt.prototype,e,(function(){return t.apply(this.peek(),arguments)}))})),function(e,t){for(var n=0;n<t.length;n++)S(e,t[n],e[t[n]])}(wt.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var _t=xt(0);function xt(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function St(e){Object.defineProperty(wt.prototype,""+e,xt(e))}function kt(e){for(var t=mt;t<e;t++)St(t);mt=e}kt(1e3);var Et=E("ObservableArrayAdministration",bt);function Ct(e){return _(e)&&Et(e.$mobx)}var It={},Tt=function(){function e(e,t,n){if(void 0===t&&(t=W),void 0===n&&(n="ObservableMap@"+g()),this.enhancer=t,this.name=n,this.$mobx=It,this._keys=new wt(void 0,Z,this.name+".keys()",!0),"function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return e.prototype._has=function(e){return this._data.has(e)},e.prototype.has=function(e){return this._hasMap.has(e)?this._hasMap.get(e).get():this._updateHasMapEntry(e,!1).get()},e.prototype.set=function(e,t){var n=this._has(e);if(at(this)){var r=st(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(at(this)&&!(o=st(this,{type:"delete",object:this,name:e})))return!1;if(this._has(e)){var n=Ve(),r=ct(this),o=r||n?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return n&&Ge(l({},o,{name:this.name,key:e})),it((function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data.get(e).setNewValue(void 0),t._data.delete(e)})),r&&ft(this,o),n&&We(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap.get(e);return n?n.setNewValue(t):(n=new fe(t,Z,this.name+"."+Ot(e)+"?",!1),this._hasMap.set(e,n)),n},e.prototype._updateValue=function(e,t){var n=this._data.get(e);if((t=n.prepareNewValue(t))!==Ae.UNCHANGED){var r=Ve(),o=ct(this),i=o||r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;r&&Ge(l({},i,{name:this.name,key:e})),n.setNewValue(t),o&&ft(this,i),r&&We()}},e.prototype._addValue=function(e,t){var n=this;it((function(){var r=new fe(t,n.enhancer,n.name+"."+Ot(e),!1);n._data.set(e,r),t=r.value,n._updateHasMapEntry(e,!0),n._keys.push(e)}));var r=Ve(),o=ct(this),i=o||r?{type:"add",object:this,name:e,newValue:t}:null;r&&Ge(l({},i,{name:this.name,key:e})),o&&ft(this,i),r&&We()},e.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return this._keys[D()]()},e.prototype.values=function(){var e=this,t=0;return N({next:function(){return t<e._keys.length?{value:e.get(e._keys[t++]),done:!1}:{value:void 0,done:!0}}})},e.prototype.entries=function(){var e=this,t=0;return N({next:function(){if(t<e._keys.length){var n=e._keys[t++];return{value:[n,e.get(n)],done:!1}}return{done:!0}}})},e.prototype.forEach=function(e,t){var n=this;this._keys.forEach((function(r){return e.call(t,n.get(r),r,n)}))},e.prototype.merge=function(e){var t=this;return At(e)&&(e=e.toJS()),it((function(){x(e)?Object.keys(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=f(e,2),r=n[0],o=n[1];return t.set(r,o)})):C(e)?e.constructor!==Map?m("Cannot initialize from classes that inherit from Map: "+e.constructor.name):e.forEach((function(e,n){return t.set(n,e)})):null!=e&&m("Cannot initialize map from "+e)})),this},e.prototype.clear=function(){var e=this;it((function(){Se((function(){e._keys.slice().forEach((function(t){return e.delete(t)}))}))}))},e.prototype.replace=function(e){var t=this;return it((function(){var n,r=x(n=e)?Object.keys(n):Array.isArray(n)?n.map((function(e){return f(e,1)[0]})):C(n)||At(n)?T(n.keys()):m("Cannot get keys from '"+n+"'");t._keys.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){return t.delete(e)})),t.merge(e)})),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toPOJO=function(){var e=this,t={};return this._keys.forEach((function(n){return t["symbol"==typeof n?n:Ot(n)]=e.get(n)})),t},e.prototype.toJS=function(){var e=this,t=new Map;return this._keys.forEach((function(n){return t.set(n,e.get(n))})),t},e.prototype.toJSON=function(){return this.toPOJO()},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this._keys.map((function(t){return Ot(t)+": "+e.get(t)})).join(", ")+" }]"},e.prototype.observe=function(e,t){return lt(this,e)},e.prototype.intercept=function(e){return ut(this,e)},e}();function Ot(e){return e&&e.toString?e.toString():new String(e).toString()}P(Tt.prototype,(function(){return this.entries()})),k(Tt.prototype,M(),"Map");var At=E("ObservableMap",Tt),Dt={},Pt=function(){function e(e,t,n){if(void 0===t&&(t=W),void 0===n&&(n="ObservableSet@"+g()),this.name=n,this.$mobx=Dt,this._data=new Set,this._atom=function(e,t,n){void 0===t&&(t=w),void 0===n&&(n=w);var r=new L(e);return Qe("onBecomeObserved",r,t,void 0),Qe("onBecomeUnobserved",r,n,void 0),r}(this.name),"function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(e,r){return t(e,r,n)},e&&this.replace(e)}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.clear=function(){var e=this;it((function(){Se((function(){e._data.forEach((function(t){e.delete(t)}))}))}))},e.prototype.forEach=function(e,t){var n=this;this._data.forEach((function(r){e.call(t,r,r,n)}))},Object.defineProperty(e.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this;if(we(this._atom),at(this)&&!(o=st(this,{type:"add",object:this,newValue:e})))return this;if(!this.has(e)){it((function(){t._data.add(t.enhancer(e,void 0)),t._atom.reportChanged()}));var n=Ve(),r=ct(this),o=r||n?{type:"add",object:this,newValue:e}:null;r&&ft(this,o)}return this},e.prototype.delete=function(e){var t=this;if(at(this)&&!(o=st(this,{type:"delete",object:this,oldValue:e})))return!1;if(this.has(e)){var n=Ve(),r=ct(this),o=r||n?{type:"delete",object:this,oldValue:e}:null;return it((function(){t._atom.reportChanged(),t._data.delete(e)})),r&&ft(this,o),!0}return!1},e.prototype.has=function(e){return this._atom.reportObserved(),this._data.has(this.dehanceValue(e))},e.prototype.entries=function(){var e=0,t=T(this.keys()),n=T(this.values());return N({next:function(){var r=e;return e+=1,r<n.length?{value:[t[r],n[r]],done:!1}:{done:!0}}})},e.prototype.keys=function(){return this.values()},e.prototype.values=function(){this._atom.reportObserved();var e,t=this,n=0;return void 0!==this._data.values?e=T(this._data.values()):(e=[],this._data.forEach((function(t){return e.push(t)}))),N({next:function(){return n<e.length?{value:t.dehanceValue(e[n++]),done:!1}:{done:!0}}})},e.prototype.replace=function(e){var t=this;return Nt(e)&&(e=e.toJS()),it((function(){Array.isArray(e)||I(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&m("Cannot initialize set from "+e)})),this},e.prototype.observe=function(e,t){return lt(this,e)},e.prototype.intercept=function(e){return ut(this,e)},e.prototype.toJS=function(){return new Set(this)},e.prototype.toString=function(){return this.name+"[ "+T(this.keys()).join(", ")+" ]"},e}();P(Pt.prototype,(function(){return this.values()})),k(Pt.prototype,M(),"Set");var Nt=E("ObservableSet",Pt),Mt=function(){function e(e,t,n){this.target=e,this.name=t,this.defaultEnhancer=n,this.values={}}return e.prototype.read=function(e,t){if(this.target===e||(this.illegalAccess(e,t),this.values[t]))return this.values[t].get()},e.prototype.write=function(e,t,n){var r=this.target;r!==e&&this.illegalAccess(e,t);var o=this.values[t];if(o instanceof de)o.set(n);else{if(at(this)){if(!(u=st(this,{type:"update",object:r,name:t,newValue:n})))return;n=u.newValue}if((n=o.prepareNewValue(n))!==Ae.UNCHANGED){var i=ct(this),a=Ve(),u=i||a?{type:"update",object:r,oldValue:o.value,name:t,newValue:n}:null;a&&Ge(l({},u,{name:this.name,key:t})),o.setNewValue(n),i&&ft(this,u),a&&We()}}},e.prototype.remove=function(e){if(this.values[e]){var t=this.target;if(at(this)&&!(i=st(this,{object:t,name:e,type:"remove"})))return;try{Me();var n=ct(this),r=Ve(),o=this.values[e].get();this.keys&&this.keys.remove(e),delete this.values[e],delete this.target[e];var i=n||r?{type:"remove",object:t,oldValue:o,name:e}:null;r&&Ge(l({},i,{name:this.name,key:e})),n&&ft(this,i),r&&We()}finally{je()}}},e.prototype.illegalAccess=function(e,t){console.warn("Property '"+t+"' of '"+e+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},e.prototype.observe=function(e,t){return lt(this,e)},e.prototype.intercept=function(e){return ut(this,e)},e.prototype.getKeys=function(){var e=this;return void 0===this.keys&&(this.keys=new wt(Object.keys(this.values).filter((function(t){return e.values[t]instanceof fe})),Z,"keys("+this.name+")",!0)),this.keys.slice()},e}();function jt(e,t,n){void 0===t&&(t=""),void 0===n&&(n=W);var r=e.$mobx;return r||(x(e)||(t=(e.constructor.name||"ObservableObject")+"@"+g()),t||(t="ObservableObject@"+g()),k(e,"$mobx",r=new Mt(e,t,n)),r)}var Lt=Object.create(null),Rt=Object.create(null);function Ft(e){return e.$mobx||(H(e),e.$mobx)}var Ut=E("ObservableObjectAdministration",Mt);function Bt(e){return!!_(e)&&(H(e),Ut(e.$mobx))}function zt(e,t){if("object"==typeof e&&null!==e){if(Ct(e))return void 0!==t&&m(!1),e.$mobx.atom;if(Nt(e))return e.$mobx;if(At(e)){var n=e;return void 0===t?zt(n._keys):((r=n._data.get(t)||n._hasMap.get(t))||m(!1),r)}var r;if(H(e),t&&!e.$mobx&&e[t],Bt(e))return t?((r=e.$mobx.values[t])||m(!1),r):m(!1);if(R(e)||ge(e)||ze(e))return e}else if("function"==typeof e&&ze(e.$mobx))return e.$mobx;return m(!1)}function Vt(e,t){return e||m("Expecting some object"),void 0!==t?Vt(zt(e,t)):R(e)||ge(e)||ze(e)||At(e)||Nt(e)?e:(H(e),e.$mobx?e.$mobx:void m(!1))}var Ht=Object.prototype.toString;function Gt(e,t){return qt(e,t)}function qt(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&function(e,t,n,r){e=Wt(e),t=Wt(t);var o=Ht.call(e);if(o!==Ht.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,u=t.constructor;if(a!==u&&!("function"==typeof a&&a instanceof a&&"function"==typeof u&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var s=(n=n||[]).length;s--;)if(n[s]===e)return r[s]===t;if(n.push(e),r.push(t),i){if((s=e.length)!==t.length)return!1;for(;s--;)if(!qt(e[s],t[s],n,r))return!1}else{var c=Object.keys(e),l=void 0;if(s=c.length,Object.keys(t).length!==s)return!1;for(;s--;)if(!Zt(t,l=c[s])||!qt(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0}(e,t,n,r)}function Wt(e){return Ct(e)?e.peek():C(e)||At(e)||I(e)||Nt(e)?T(e.entries()):e}function Zt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return Ae.spyListeners.push(e),b((function(){Ae.spyListeners=Ae.spyListeners.filter((function(t){return t!==e}))}))},extras:{getDebugName:function(e,t){return(void 0!==t?zt(e,t):Bt(e)||At(e)||Nt(e)?Vt(e):zt(e)).name}},$mobx:"$mobx"});var Kt,$t=function(e,t,n){return void 0,void 0,o=function(){var r;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}(this,(function(o){return n&&(r="Bearer "+n,t.headers.Authorization=r),[2,fetch(e,t)]}))},new((r=void 0)||(r=Promise))((function(e,t){function n(e){try{a(o.next(e))}catch(e){t(e)}}function i(e){try{a(o.throw(e))}catch(e){t(e)}}function a(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r((function(e){e(o)}))).then(n,i)}a((o=o.apply(undefined,[])).next())}));var r,o};!function(e){e.Private="Private",e.Distributor="Distributor"}(Kt||(Kt={}));var Xt=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))},Yt=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},Jt=function(){function e(e){var t=this;this.isSignedIn=!1,this.currentUser=null,this.whoAmI=function(){return Xt(t,void 0,void 0,(function(){var e,t,n,r=this;return Yt(this,(function(o){switch(o.label){case 0:return e=this.myPagesApiURL+"/v1/whoami",t={method:"GET",headers:{"Content-Type":"application/json"}},[4,this.getToken()];case 1:return n=o.sent(),[2,$t(e,t,n).then((function(e){return Xt(r,void 0,void 0,(function(){var t;return Yt(this,(function(n){switch(n.label){case 0:return 200!==e.status?[3,2]:[4,e.json()];case 1:return t=n.sent(),[3,3];case 2:t=null,n.label=3;case 3:return[2,t]}}))}))})).catch(console.error)]}}))}))},this.myPagesApiURL=e}return e.prototype.setSignedIn=function(e){this.isSignedIn=e},e.prototype.setTokenFunction=function(e){this.getTokenFunction=e},e.prototype.getToken=function(){return Xt(this,void 0,void 0,(function(){return Yt(this,(function(e){return this.getTokenFunction?[2,this.getTokenFunction().then((function(e){return e||""})).catch((function(e){return""}))]:[2,""]}))}))},e.prototype.refreshCurrentUser=function(){return Xt(this,void 0,void 0,(function(){var e;return Yt(this,(function(t){switch(t.label){case 0:return[4,this.whoAmI()];case 1:return(e=t.sent())?(this.currentUser=function(e){var t,n=e.customers.find((function(e){return e.customerTypeData.type===Kt.Private})),r=e.customers.find((function(e){return e.customerTypeData.type===Kt.Distributor}));return{id:e.id,firstName:e.firstName,lastName:e.lastName,swedaviaBadgeNumber:e.swedaviaBadgeNumber,email:e.email,privateCustomerId:null==n?void 0:n.customerId.toString(),distributorName:null===(t=null==r?void 0:r.customerTypeData.value)||void 0===t?void 0:t.name,distributorCustomerId:null==r?void 0:r.customerId.toString(),distributorCustomerRole:null==r?void 0:r.roles[0]}}(e),[2,!0]):[2,!1]}}))}))},e.prototype.getUserInfo=function(e){return Xt(this,void 0,void 0,(function(){return Yt(this,(function(t){switch(t.label){case 0:return e||!this.currentUser?[3,1]:[2,this.currentUser];case 1:return this.isSignedIn?[4,this.refreshCurrentUser()]:[3,3];case 2:if(t.sent())return[2,this.currentUser];t.label=3;case 3:return[2,null]}}))}))},e}();function Qt(e,t){return"access_denied"===e&&"CreateUserFailed"===t?"createUserFailed":e||"unknown"}!function(e,t){var n="function"==typeof e?e.prototype:e,r=function(e){var r=t[e];Array.isArray(r)||(r=[r]);var o=Object.getOwnPropertyDescriptor(n,e),i=r.reduce((function(t,r){return r(n,e,t)}),o);i&&Object.defineProperty(n,e,i)};for(var o in t)r(o)}(Jt,{isSignedIn:re});var en=n(20),tn=n(67294),nn=e.n(tn),rn=function(){var e=(0,en.useAuth0)().logout;return function(){return e({returnTo:window.location.origin})}},on=function(e){var t=(0,tn.useState)(),n=t[0],r=t[1];return(0,tn.useEffect)((function(){null==e||e.getUserInfo().then((function(e){return r(e||void 0)}))}),[null==e?void 0:e.isSignedIn]),n},an=n(25444),un=function(e){var t,n,r=(0,en.useAuth0)(),o=r.isAuthenticated,i=r.getAccessTokenSilently,a=r.isLoading,u=r.error,s=(0,tn.useContext)(e.store);return null===(t=null==s?void 0:s.authStore)||void 0===t||t.setSignedIn(o),null===(n=null==s?void 0:s.authStore)||void 0===n||n.setTokenFunction(i),!e.ignoreStates&&a?nn().createElement(e.LoadingComponent,null):!e.ignoreStates&&u?nn().createElement(e.ErrorComponent,null):nn().createElement(nn().Fragment,null,e.children)},sn=function(e){var t,n,r=(n=(t=(null==e?void 0:e.returnTo)||"/").split("/")).length>=2&&("mina-sidor"===n[1]||"my-pages"===n[1])?n.filter((function(e,t){return 1!==t})).join("/"):t;(0,an.navigate)(r,{replace:!0})},cn=function(){return(cn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ln={components:{AEXAuthApp:function(e){return nn().createElement(en.Auth0Provider,{domain:e.domain,clientId:e.clientId,audience:e.audience,scope:"mypages shopping",cacheLocation:"localstorage",useRefreshTokens:!0,redirectUri:e.redirectUri,onRedirectCallback:sn},nn().createElement(un,{store:e.store,LoadingComponent:e.LoadingComponent,ErrorComponent:e.ErrorComponent,ignoreStates:e.ignoreStates},e.children))},LogoutButton:function(e){var t=rn();return nn().createElement("div",{onClick:function(e){e.preventDefault(),t()}},e.children)}},api:o,errors:a,authStore:i,hoc:{withProtectedContent:function(e,t,n){void 0===t&&(t="sv");var r=n?n():{},o=r.returnTo,i={loginOptions:cn(cn({},r),{ui_locales:t}),returnTo:o};return(0,en.withAuthenticationRequired)(e,i)}},hooks:u},fn=t;for(var dn in r)fn[dn]=r[dn];r.__esModule&&Object.defineProperty(fn,"__esModule",{value:!0})}()},47343:function(e,t,n){e.exports=n(81058)},976:function(e,t,n){e.exports=n(45977)},67009:function(e,t,n){e.exports=n(27657)},62306:function(e,t,n){e.exports=n(81207)},32027:function(e,t,n){e.exports=n(27814)},52219:function(e,t,n){e.exports=n(19720)},43691:function(e,t,n){e.exports=n(20331)},75305:function(e,t,n){e.exports=n(58359)},95592:function(e,t,n){e.exports=n(41720)},70528:function(e,t,n){e.exports=n(48044)},3823:function(e,t,n){e.exports=n(49856)},546:function(e,t,n){e.exports=n(40706)},31853:function(e,t,n){e.exports=n(15936)},46574:function(e,t,n){e.exports=n(39492)},73699:function(e,t,n){e.exports=n(95039)},61840:function(e,t,n){e.exports=n(63202)},81142:function(e,t,n){e.exports=n(37748)},26897:function(e,t,n){e.exports=n(3986)},47803:function(e,t,n){e.exports=n(22944)},2962:function(e,t,n){e.exports=n(79690)},65180:function(e,t,n){e.exports=n(91356)},8467:function(e,t,n){e.exports=n(90450)},31250:function(e,t,n){e.exports=n(11442)},19850:function(e,t,n){e.exports=n(50847)},19732:function(e,t,n){e.exports=n(71499)},85088:function(e,t,n){e.exports=n(347)},33623:function(e,t,n){e.exports=n(75771)},57026:function(e,t,n){e.exports=n(63793)},98617:function(e,t,n){e.exports=n(77153)},76403:function(e,t,n){e.exports=n(41281)},91824:function(e,t,n){e.exports=n(19730)},32849:function(e,t,n){e.exports=n(59747)},45158:function(e,t,n){e.exports=n(57155)},40466:function(e,t,n){e.exports=n(4663)},22620:function(e,t,n){e.exports=n(85559)},77990:function(e,t,n){e.exports=n(54397)},20396:function(e,t,n){e.exports=n(26415)},25361:function(e,t,n){e.exports=n(35721)},65464:function(e,t,n){e.exports=n(57028)},66933:function(e,t,n){e.exports=n(56250)},37246:function(e,t,n){e.exports=n(32631)},84352:function(e,t,n){e.exports=n(73799)},80994:function(e,t,n){e.exports=n(95267)},71831:function(e,t,n){e.exports=n(24162)},43007:function(e,t,n){e.exports=n(60161)},65843:function(e,t,n){e.exports=n(28299)},18581:function(e,t,n){e.exports=n(42659)},1855:function(e,t,n){e.exports=n(9704)},45174:function(e,t,n){e.exports=n(5877)},30937:function(e,t,n){e.exports=n(58632)},42415:function(e,t,n){e.exports=n(69086)},89506:function(e,t,n){e.exports=n(287)},75309:function(e,t,n){e.exports=n(80811)},19122:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},11354:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},51466:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(68515),o=n.n(r);function i(e,t,n,r,i,a,u){try{var s=e[a](u),c=s.value}catch(l){return void n(l)}s.done?t(c):o().resolve(c).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new(o())((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,s,"next",e)}function s(e){i(a,r,o,u,s,"throw",e)}u(void 0)}))}}},46279:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},26565:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(62583),o=n.n(r),i=n(2288);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),o()(e,(0,i.Z)(r.key),r)}}function u(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),o()(e,"prototype",{writable:!1}),e}},2702:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(62583),o=n.n(r),i=n(2288);function a(e,t,n){return(t=(0,i.Z)(t))in e?o()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},60178:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(43449),o=n.n(r),i=n(55970),a=n.n(i);function u(){var e;return(u=o()?a()(e=o()).call(e):function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}},76878:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(8944),o=n.n(r),i=n(55970),a=n.n(i),u=n(70895),s=n.n(u),c=n(89392);function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,c.Z)(e)););return e}function f(){var e;"undefined"!=typeof Reflect&&o()?f=a()(e=o()).call(e):f=function(e,t,n){var r=l(e,t);if(r){var o=s()(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}};return f.apply(this,arguments)}},89392:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(72807),o=n.n(r),i=n(55970),a=n.n(i),u=n(8998),s=n.n(u);function c(e){var t;return(c=o()?a()(t=s()).call(t):function(e){return e.__proto__||s()(e)})(e)}},12949:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4844),o=n.n(r),i=n(62583),a=n.n(i),u=n(41697);function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=o()(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a()(e,"prototype",{writable:!1}),t&&(0,u.Z)(e,t)}},91593:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(9562),o=n.n(r),i=n(83195),a=n.n(i),u=n(69188),s=n.n(u);function c(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,o={},i=s()(e);for(r=0;r<i.length;r++)n=i[r],a()(t).call(t,n)>=0||(o[n]=e[n]);return o}(e,t);if(o()){var u=o()(e);for(r=0;r<u.length;r++)n=u[r],a()(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},35249:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(52421),o=n(11354);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},41697:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(72807),o=n.n(r),i=n(55970),a=n.n(i);function u(e,t){var n;return(u=o()?a()(n=o()).call(n):function(e,t){return e.__proto__=t,e})(e,t)}},85057:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(41963),o=n.n(r);var i=n(27221),a=n.n(i),u=n(75626),s=n.n(u),c=n(23268),l=n.n(c);var f=n(46195);function d(e,t){return function(e){if(o()(e))return e}(e)||function(e,t){var n=null==e?null:void 0!==a()&&s()(e)||e["@@iterator"];if(null!=n){var r,o,i,u,c=[],f=!0,d=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;f=!1}else for(;!(f=(r=i.call(n)).done)&&(l()(c).call(c,r.value),c.length!==t);f=!0);}catch(e){d=!0,o=e}finally{try{if(!f&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(d)throw o}}return c}}(e,t)||(0,f.Z)(e,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.")}()}},34336:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(41963),o=n.n(r),i=n(19122);var a=n(27221),u=n.n(a),s=n(75626),c=n.n(s),l=n(37963),f=n.n(l);var d=n(46195);function p(e){return function(e){if(o()(e))return(0,i.Z)(e)}(e)||function(e){if(void 0!==u()&&null!=c()(e)||null!=e["@@iterator"])return f()(e)}(e)||(0,d.Z)(e)||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.")}()}},2288:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(52421),o=n(38151),i=n.n(o);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[i()];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},52421:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(27221),o=n.n(r),i=n(29121),a=n.n(i);function u(e){return(u="function"==typeof o()&&"symbol"==typeof a()?function(e){return typeof e}:function(e){return e&&"function"==typeof o()&&e.constructor===o()&&e!==o().prototype?"symbol":typeof e})(e)}},46195:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(88592),o=n.n(r),i=n(37963),a=n.n(i),u=n(19122);function s(e,t){var n;if(e){if("string"==typeof e)return(0,u.Z)(e,t);var r=o()(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?a()(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,u.Z)(e,t):void 0}}},3988:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(88907),o=n.n(r),i=n(4844),a=n.n(i),u=n(89392),s=n(41697),c=n(83195),l=n.n(c);var f=n(47532),d=n.n(f),p=n(23268),h=n.n(p),v=n(55970),g=n.n(v);function m(){try{var e=!Boolean.prototype.valueOf.call(d()(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}function y(e,t,n){if(m())return d().apply(null,arguments);var r=[null];h()(r).apply(r,t);var o=new(g()(e).apply(e,r));return n&&(0,s.Z)(o,n.prototype),o}function b(e){var t="function"==typeof o()?new(o()):void 0;return(b=function(e){if(null===e||!function(e){try{var t;return-1!==l()(t=Function.toString.call(e)).call(t,"[native code]")}catch(n){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return y(e,arguments,(0,u.Z)(this).constructor)}return n.prototype=a()(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,s.Z)(n,e)})(e)}},57473:function(e,t,n){var r=n(38409).default,o=n(65454),i=n(91721),a=n(83857),u=n(86985),s=n(23606),c=n(34499),l=n(1387),f=n(85109),d=n(59963),p=n(49729);function h(){"use strict";e.exports=h=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},v=Object.prototype,g=v.hasOwnProperty,m=o||function(e,t,n){e[t]=n.value},y="function"==typeof i?i:{},b=y.iterator||"@@iterator",w=y.asyncIterator||"@@asyncIterator",_=y.toStringTag||"@@toStringTag";function x(e,t,n){return o(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{x({},"")}catch(t){x=function(e,t,n){return e[t]=n}}function S(e,t,n,r){var o=t&&t.prototype instanceof O?t:O,i=a(o.prototype),u=new z(r||[]);return m(i,"_invoke",{value:R(e,n,u)}),i}function k(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=S;var E="suspendedStart",C="executing",I="completed",T={};function O(){}function A(){}function D(){}var P={};x(P,b,(function(){return this}));var N=u&&u(u(V([])));N&&N!==v&&g.call(N,b)&&(P=N);var M=D.prototype=O.prototype=a(P);function j(e){var t;s(t=["next","throw","return"]).call(t,(function(t){x(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function n(o,i,a,u){var s=k(e[o],e,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==r(l)&&g.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var o;m(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function R(e,n,r){var o=E;return function(i,a){if(o===C)throw Error("Generator is already running");if(o===I){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=F(u,r);if(s){if(s===T)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===E)throw o=I,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=C;var c=k(e,n,r);if("normal"===c.type){if(o=r.done?I:"suspendedYield",c.arg===T)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=I,r.method="throw",r.arg=c.arg)}}}function F(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,F(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),T;var i=k(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,T;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,T):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,T)}function U(e){var t,n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),c(t=this.tryEntries).call(t,n)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],s(e).call(e,U,this),this.reset(!0)}function V(e){if(e||""===e){var n=e[b];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(g.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return A.prototype=D,m(M,"constructor",{value:D,configurable:!0}),m(D,"constructor",{value:A,configurable:!0}),A.displayName=x(D,_,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===A||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return l?l(e,D):(e.__proto__=D,x(e,_,"GeneratorFunction")),e.prototype=a(M),e},n.awrap=function(e){return{__await:e}},j(L.prototype),x(L.prototype,w,(function(){return this})),n.AsyncIterator=L,n.async=function(e,t,r,o,i){void 0===i&&(i=f);var a=new L(S(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},j(M),x(M,_,"Generator"),x(M,b,(function(){return this})),x(M,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)c(n).call(n,r);return d(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=V,z.prototype={constructor:z,reset:function(e){var n;if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,s(n=this.tryEntries).call(n,B),!e)for(var r in this)"t"===r.charAt(0)&&g.call(this,r)&&!isNaN(+p(r).call(r,1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,T):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),T},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),B(n),T}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;B(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:V(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),T}},n}e.exports=h,e.exports.__esModule=!0,e.exports.default=e.exports},38409:function(e,t,n){var r=n(91721),o=n(2392);function i(t){return e.exports=i="function"==typeof r&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},67807:function(e,t,n){var r=n(57473)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},64925:function(e,t,n){"use strict";n.d(t,{Dk:function(){return v},pc:function(){return g}});var r=n(28481),o=n(67294),i=n(69612);var a,u={exports:{}},s={};u.exports=function(){if(a)return s;a=1;var e=o,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,o){var a,s={},c=null,l=null;for(a in void 0!==o&&(c=""+o),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(l=n.ref),n)r.call(n,a)&&!u.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps)for(a in n=e.defaultProps)void 0===s[a]&&(s[a]=n[a]);return{$$typeof:t,type:e,key:c,ref:l,props:s,_owner:i.current}}return s.Fragment=n,s.jsx=c,s.jsxs=c,s}();var c=u.exports,l={exports:{}};!function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",a="[object Array]",u="[object Boolean]",s="[object Date]",c="[object Error]",l="[object Function]",f="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",v="[object RegExp]",g="[object Set]",m="[object String]",y="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[o]=k[a]=k[w]=k[u]=k[_]=k[s]=k[c]=k[l]=k[f]=k[d]=k[p]=k[v]=k[g]=k[m]=k[b]=!1;var E="object"==typeof i.c&&i.c&&i.c.Object===Object&&i.c,C="object"==typeof self&&self&&self.Object===Object&&self,I=E||C||Function("return this")(),T=t&&!t.nodeType&&t,O=T&&e&&!e.nodeType&&e,A=O&&O.exports===T,D=A&&E.process,P=function(){try{return D&&D.binding&&D.binding("util")}catch(e){}}(),N=P&&P.isTypedArray;function M(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function j(e,t){return e.has(t)}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function R(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var F,U=Array.prototype,B=Function.prototype,z=Object.prototype,V=I["__core-js_shared__"],H=B.toString,G=z.hasOwnProperty,q=(F=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",W=z.toString,Z=RegExp("^"+H.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=A?I.Buffer:void 0,$=I.Symbol,X=I.Uint8Array,Y=z.propertyIsEnumerable,J=U.splice,Q=$?$.toStringTag:void 0,ee=Object.getOwnPropertySymbols,te=K?K.isBuffer:void 0,ne=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),re=De(I,"DataView"),oe=De(I,"Map"),ie=De(I,"Promise"),ae=De(I,"Set"),ue=De(I,"WeakMap"),se=De(Object,"create"),ce=je(re),le=je(oe),fe=je(ie),de=je(ae),pe=je(ue),he=$?$.prototype:void 0,ve=he?he.valueOf:void 0;function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function me(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ye;++t<n;)this.add(e[t])}function we(e){var t=this.__data__=new me(e);this.size=t.size}function _e(e,t){var n=Fe(e),r=!n&&Re(e),o=!n&&!r&&Ue(e),i=!n&&!r&&!o&&Ge(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=u.length;for(var c in e)(t||G.call(e,c))&&(!a||!("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Me(c,s)))&&u.push(c);return u}function xe(e,t){for(var n=e.length;n--;)if(Le(e[n][0],t))return n;return-1}function Se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Q&&Q in Object(e)?function(e){var t=G.call(e,Q),n=e[Q];try{e[Q]=void 0;var r=!0}catch(i){}var o=W.call(e);return r&&(t?e[Q]=n:delete e[Q]),o}(e):function(e){return W.call(e)}(e)}function ke(e){return He(e)&&Se(e)==o}function Ee(e,t,n,r,i){return e===t||(null==e||null==t||!He(e)&&!He(t)?e!=e&&t!=t:function(e,t,n,r,i,l){var h=Fe(e),b=Fe(t),x=h?a:Ne(e),S=b?a:Ne(t),k=(x=x==o?p:x)==p,E=(S=S==o?p:S)==p,C=x==S;if(C&&Ue(e)){if(!Ue(t))return!1;h=!0,k=!1}if(C&&!k)return l||(l=new we),h||Ge(e)?Te(e,t,n,r,i,l):function(e,t,n,r,o,i,a){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!i(new X(e),new X(t)));case u:case s:case d:return Le(+e,+t);case c:return e.name==t.name&&e.message==t.message;case v:case m:return e==t+"";case f:var l=L;case g:var p=1&r;if(l||(l=R),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;r|=2,a.set(e,t);var b=Te(l(e),l(t),r,o,i,a);return a.delete(e),b;case y:if(ve)return ve.call(e)==ve.call(t)}return!1}(e,t,x,n,r,i,l);if(!(1&n)){var I=k&&G.call(e,"__wrapped__"),T=E&&G.call(t,"__wrapped__");if(I||T){var O=I?e.value():e,A=T?t.value():t;return l||(l=new we),i(O,A,n,r,l)}}return!!C&&(l||(l=new we),function(e,t,n,r,o,i){var a=1&n,u=Oe(e),s=u.length,c=Oe(t).length;if(s!=c&&!a)return!1;for(var l=s;l--;){var f=u[l];if(!(a?f in t:G.call(t,f)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var p=!0;i.set(e,t),i.set(t,e);for(var h=a;++l<s;){var v=e[f=u[l]],g=t[f];if(r)var m=a?r(g,v,f,t,e,i):r(v,g,f,e,t,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){p=!1;break}h||(h="constructor"==f)}if(p&&!h){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,i,l))}(e,t,n,r,Ee,i))}function Ce(e){return!(!Ve(e)||function(e){return!!q&&q in e}(e))&&(Be(e)?Z:x).test(je(e))}function Ie(e){if(!function(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||z;return e===n}(e))return ne(e);var t=[];for(var n in Object(e))G.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Te(e,t,n,r,o,i){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&s>u))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,d=2&n?new be:void 0;for(i.set(e,t),i.set(t,e);++l<u;){var p=e[l],h=t[l];if(r)var v=a?r(h,p,l,t,e,i):r(p,h,l,e,t,i);if(void 0!==v){if(v)continue;f=!1;break}if(d){if(!M(t,(function(e,t){if(!j(d,t)&&(p===e||o(p,e,n,r,i)))return d.push(t)}))){f=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f}function Oe(e){return function(e,t,n){var r=t(e);return Fe(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,qe,Pe)}function Ae(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function De(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ce(n)?n:void 0}ge.prototype.clear=function(){this.__data__=se?se(null):{},this.size=0},ge.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ge.prototype.get=function(e){var t=this.__data__;if(se){var r=t[e];return r===n?void 0:r}return G.call(t,e)?t[e]:void 0},ge.prototype.has=function(e){var t=this.__data__;return se?void 0!==t[e]:G.call(t,e)},ge.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=se&&void 0===t?n:t,this},me.prototype.clear=function(){this.__data__=[],this.size=0},me.prototype.delete=function(e){var t=this.__data__,n=xe(t,e);return!(n<0)&&(n==t.length-1?t.pop():J.call(t,n,1),--this.size,!0)},me.prototype.get=function(e){var t=this.__data__,n=xe(t,e);return n<0?void 0:t[n][1]},me.prototype.has=function(e){return xe(this.__data__,e)>-1},me.prototype.set=function(e,t){var n=this.__data__,r=xe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(oe||me),string:new ge}},ye.prototype.delete=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Ae(this,e).get(e)},ye.prototype.has=function(e){return Ae(this,e).has(e)},ye.prototype.set=function(e,t){var n=Ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,n),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new me,this.size=0},we.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var n=this.__data__;if(n instanceof me){var r=n.__data__;if(!oe||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Pe=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(ee(e),(function(t){return Y.call(e,t)})))}:function(){return[]},Ne=Se;function Me(e,t){var n;return!!(t=null!==(n=t)&&void 0!==n?n:r)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function je(e){if(null!=e){try{return H.call(e)}catch(t){}try{return e+""}catch(n){}}return""}function Le(e,t){return e===t||e!=e&&t!=t}(re&&Ne(new re(new ArrayBuffer(1)))!=_||oe&&Ne(new oe)!=f||ie&&Ne(ie.resolve())!=h||ae&&Ne(new ae)!=g||ue&&Ne(new ue)!=b)&&(Ne=function(e){var t=Se(e),n=t==p?e.constructor:void 0,r=n?je(n):"";if(r)switch(r){case ce:return _;case le:return f;case fe:return h;case de:return g;case pe:return b}return t});var Re=ke(function(){return arguments}())?ke:function(e){return He(e)&&G.call(e,"callee")&&!Y.call(e,"callee")},Fe=Array.isArray;var Ue=te||function(){return!1};function Be(e){if(!Ve(e))return!1;var t=Se(e);return t==l||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ze(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Ve(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function He(e){return null!=e&&"object"==typeof e}var Ge=N?function(e){return function(t){return e(t)}}(N):function(e){return He(e)&&ze(e.length)&&!!k[Se(e)]};function qe(e){return function(e){return null!=e&&ze(e.length)&&!Be(e)}(e)?_e(e):Ie(e)}e.exports=function(e,t){return Ee(e,t)}}(l,l.exports);var f=l.exports,d=(0,i.g)(f);function p(e,t){return(0,o.useEffect)(e,function(e){var t=(0,o.useRef)(e),n=(0,o.useRef)(0);return d(e,t.current)||(t.current=e,n.current+=1),(0,o.useMemo)((function(){return t.current}),[n.current])}(t))}var h=(0,o.createContext)(null);function v(e){var t=e.children,n=e.locale,r=e.debugMode,a=void 0!==r&&r,u=e.enableInspectorMode,s=void 0===u||u,l=e.enableLiveUpdates,f=void 0===l||l,d=e.targetOrigin,p=e.experimental;if(!n)throw new Error('ContentfulLivePreviewProvider have to be called with a locale property (for example: `<ContentfulLivePreviewProvider locale="en-US">{children}</ContentfulLivePreviewProvider>`');i.C.init({locale:n,debugMode:a,enableInspectorMode:s,enableLiveUpdates:f,targetOrigin:d,experimental:p});var v=(0,o.useMemo)((function(){return{locale:n,debugMode:a,enableInspectorMode:s,enableLiveUpdates:f,targetOrigin:d}}),[n,a,s,f,d]);return c.jsx(h.Provider,{value:v,children:t})}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=(0,o.useState)({data:e,version:1}),u=(0,r.Z)(a,2),s=u[0],c=u[1],l=(0,o.useRef)(e),f=(0,o.useRef)((0,i.d)(c)),d=(0,o.useContext)(h),v="object"==typeof t?t:{locale:t,skip:n},g=(0,o.useMemo)((function(){return!(d&&!d.enableLiveUpdates||v.skip)&&!!(Array.isArray(e)&&e.length||e&&"object"==typeof e&&Object.keys(e).length)}),[d,v.skip,e]);return p((function(){if(l.current!==e&&(c({data:e,version:1}),l.current=e),g)return i.C.subscribe("edit",{data:e,locale:v.locale,query:v.query,callback:function(e){f.current((function(t){return{data:e,version:t.version+1}}))}})}),[e,g,v.locale,v.query]),s.data}},79806:function(e,t,n){"use strict";var r,o=n(67294),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r,a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};var s,c,l=(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==u?u:"undefined"!=typeof self?self:{};function r(e,t){return e(t={exports:{}},t.exports),t.exports}var o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n&&n)||function(){return this}()||Function("return this")(),a=function(e){try{return!!e()}catch(t){return!0}},s=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f={f:l&&!c.call({1:2},1)?function(e){var t=l(this,e);return!!t&&t.enumerable}:c},d=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},p={}.toString,h="".split,v=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==function(e){return p.call(e).slice(8,-1)}(e)?h.call(e,""):Object(e)}:Object,g=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},m=function(e){return v(g(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},b=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=Object.hasOwn||function(e,t){return w.call(Object(g(e)),t)},x=i.document,S=y(x)&&y(x.createElement),k=function(e){return S?x.createElement(e):{}},E=!s&&!a((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),C=Object.getOwnPropertyDescriptor,I={f:s?C:function(e,t){if(e=m(e),t=b(t,!0),E)try{return C(e,t)}catch(n){}if(_(e,t))return d(!f.f.call(e,t),e[t])}},T=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,A={f:s?O:function(e,t,n){if(T(e),t=b(t,!0),T(n),E)try{return O(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},D=s?function(e,t,n){return A.f(e,t,d(1,n))}:function(e,t,n){return e[t]=n,e},P=function(e,t){try{D(i,e,t)}catch(n){i[e]=t}return t},N="__core-js_shared__",M=i[N]||P(N,{}),j=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(e){return j.call(e)});var L,R,F,U=M.inspectSource,B=i.WeakMap,z="function"==typeof B&&/native code/.test(U(B)),V=r((function(e){(e.exports=function(e,t){return M[e]||(M[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),H=0,G=Math.random(),q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+G).toString(36)},W=V("keys"),Z=function(e){return W[e]||(W[e]=q(e))},K={},$="Object already initialized",X=i.WeakMap;if(z||M.state){var Y=M.state||(M.state=new X),J=Y.get,Q=Y.has,ee=Y.set;L=function(e,t){if(Q.call(Y,e))throw new TypeError($);return t.facade=e,ee.call(Y,e,t),t},R=function(e){return J.call(Y,e)||{}},F=function(e){return Q.call(Y,e)}}else{var te=Z("state");K[te]=!0,L=function(e,t){if(_(e,te))throw new TypeError($);return t.facade=e,D(e,te,t),t},R=function(e){return _(e,te)?e[te]:{}},F=function(e){return _(e,te)}}var ne={set:L,get:R,has:F,enforce:function(e){return F(e)?R(e):L(e,{})},getterFor:function(e){return function(t){var n;if(!y(t)||(n=R(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},re=r((function(e){var t=ne.get,n=ne.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var u,s=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,l=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||_(o,"name")||D(o,"name",t),(u=n(o)).source||(u.source=r.join("string"==typeof t?t:""))),e!==i?(s?!l&&e[t]&&(c=!0):delete e[t],c?e[t]=o:D(e,t,o)):c?e[t]=o:P(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),oe=i,ie=function(e){return"function"==typeof e?e:void 0},ae=function(e,t){return arguments.length<2?ie(oe[e])||ie(i[e]):oe[e]&&oe[e][t]||i[e]&&i[e][t]},ue=Math.ceil,se=Math.floor,ce=function(e){return isNaN(e=+e)?0:(e>0?se:ue)(e)},le=Math.min,fe=Math.max,de=Math.min,pe=function(e){return function(t,n,r){var o,i,a=m(t),u=(o=a.length)>0?le(ce(o),9007199254740991):0,s=function(e,t){var n=ce(e);return n<0?fe(n+t,0):de(n,t)}(r,u);if(e&&n!=n){for(;u>s;)if((i=a[s++])!=i)return!0}else for(;u>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},he={includes:pe(!0),indexOf:pe(!1)},ve=he.indexOf,ge=function(e,t){var n,r=m(e),o=0,i=[];for(n in r)!_(K,n)&&_(r,n)&&i.push(n);for(;t.length>o;)_(r,n=t[o++])&&(~ve(i,n)||i.push(n));return i},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=me.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return ge(e,ye)}},we={f:Object.getOwnPropertySymbols},_e=ae("Reflect","ownKeys")||function(e){var t=be.f(T(e)),n=we.f;return n?t.concat(n(e)):t},xe=function(e,t){for(var n=_e(t),r=A.f,o=I.f,i=0;i<n.length;i++){var a=n[i];_(e,a)||r(e,a,o(t,a))}},Se=/#|\.prototype\./,ke=function(e,t){var n=Ce[Ee(e)];return n==Te||n!=Ie&&("function"==typeof t?a(t):!!t)},Ee=ke.normalize=function(e){return String(e).replace(Se,".").toLowerCase()},Ce=ke.data={},Ie=ke.NATIVE="N",Te=ke.POLYFILL="P",Oe=ke,Ae=I.f,De=function(e,t){var n,r,o,a,u,s=e.target,c=e.global,l=e.stat;if(n=c?i:l?i[s]||P(s,{}):(i[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(u=Ae(n,r))&&u.value:n[r],!Oe(c?r:s+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;xe(a,o)}(e.sham||o&&o.sham)&&D(a,"sham",!0),re(n,r,a,e)}},Pe=Object.keys||function(e){return ge(e,me)},Ne=f.f,Me=function(e){return function(t){for(var n,r=m(t),o=Pe(r),i=o.length,a=0,u=[];i>a;)n=o[a++],s&&!Ne.call(r,n)||u.push(e?[n,r[n]]:r[n]);return u}},je=(Me(!0),Me(!1));De({target:"Object",stat:!0},{values:function(e){return je(e)}}),oe.Object.values;var Le,Re,Fe=ae("navigator","userAgent")||"",Ue=i.process,Be=Ue&&Ue.versions,ze=Be&&Be.v8;ze?Re=(Le=ze.split("."))[0]<4?1:Le[0]+Le[1]:Fe&&(!(Le=Fe.match(/Edge\/(\d+)/))||Le[1]>=74)&&(Le=Fe.match(/Chrome\/(\d+)/))&&(Re=Le[1]);var Ve,He=Re&&+Re,Ge=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&He&&He<41})),qe=Ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,We=V("wks"),Ze=i.Symbol,Ke=qe?Ze:Ze&&Ze.withoutSetter||q,$e=s?Object.defineProperties:function(e,t){T(e);for(var n,r=Pe(t),o=r.length,i=0;o>i;)A.f(e,n=r[i++],t[n]);return e},Xe=ae("document","documentElement"),Ye=Z("IE_PROTO"),Je=function(){},Qe=function(e){return"<script>"+e+"<\/script>"},et=function(){try{Ve=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;et=Ve?function(e){e.write(Qe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Ve):((t=k("iframe")).style.display="none",Xe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Qe("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete et.prototype[me[n]];return et()};K[Ye]=!0;var tt,nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=T(e),n=new Je,Je.prototype=null,n[Ye]=e):n=et(),void 0===t?n:$e(n,t)},rt=(_(We,tt="unscopables")&&(Ge||"string"==typeof We[tt])||(Ge&&_(Ze,tt)?We[tt]=Ze[tt]:We[tt]=Ke("Symbol."+tt)),We[tt]),ot=Array.prototype;null==ot[rt]&&A.f(ot,rt,{configurable:!0,value:nt(null)});var it,at=he.includes;De({target:"Array",proto:!0},{includes:function(e){return at(this,e,arguments.length>1?arguments[1]:void 0)}}),it="includes",ot[rt][it]=!0;var ut,st,ct,lt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},ft=Function.call;ut="includes",lt(ft,i.Array.prototype[ut],st),function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell"}(ct||(ct={}));var dt,pt=ct;!function(e){e.HYPERLINK="hyperlink",e.ENTRY_HYPERLINK="entry-hyperlink",e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline"}(dt||(dt={}));var ht,vt=dt,gt=[pt.PARAGRAPH,pt.HEADING_1,pt.HEADING_2,pt.HEADING_3,pt.HEADING_4,pt.HEADING_5,pt.HEADING_6,pt.OL_LIST,pt.UL_LIST,pt.HR,pt.QUOTE,pt.EMBEDDED_ENTRY,pt.EMBEDDED_ASSET,pt.TABLE],mt=[pt.HR,pt.EMBEDDED_ENTRY,pt.EMBEDDED_ASSET],yt=((ht={})[pt.OL_LIST]=[pt.LIST_ITEM],ht[pt.UL_LIST]=[pt.LIST_ITEM],ht[pt.LIST_ITEM]=gt.slice(),ht[pt.QUOTE]=[pt.PARAGRAPH],ht[pt.TABLE]=[pt.TABLE_ROW],ht[pt.TABLE_ROW]=[pt.TABLE_CELL],ht[pt.TABLE_CELL]=[pt.PARAGRAPH],ht),bt={nodeType:pt.DOCUMENT,data:{},content:[{nodeType:pt.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]},wt=Object.freeze({isInline:function(e){return Object.values(vt).includes(e.nodeType)},isBlock:function(e){return Object.values(pt).includes(e.nodeType)},isText:function(e){return"text"===e.nodeType}});t.BLOCKS=pt,t.CONTAINERS=yt,t.EMPTY_DOCUMENT=bt,t.INLINES=vt,t.MARKS={BOLD:"bold",ITALIC:"italic",UNDERLINE:"underline",CODE:"code"},t.TOP_LEVEL_BLOCKS=gt,t.VOID_BLOCKS=mt,t.helpers=wt}(s={exports:{}},s.exports),s.exports);(c=l)&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")&&c.default;var f,d,p=l.BLOCKS,h=(l.CONTAINERS,l.EMPTY_DOCUMENT,l.INLINES),v=l.MARKS,g=(l.TOP_LEVEL_BLOCKS,l.VOID_BLOCKS,l.helpers);function m(e,t){return e.map((function(e,n){return r=y(e,t),i=n,o.isValidElement(r)&&null===r.key?o.cloneElement(r,{key:i}):r;var r,i}))}function y(e,t){var n=t.renderNode,r=t.renderMark,o=t.renderText;if(g.isText(e))return e.marks.reduce((function(e,t){return r[t.type]?r[t.type](e):e}),o?o(e.value):e.value);var a=m(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,a):i.createElement(i.Fragment,null,a)}var b=((f={})[p.DOCUMENT]=function(e,t){return t},f[p.PARAGRAPH]=function(e,t){return i.createElement("p",null,t)},f[p.HEADING_1]=function(e,t){return i.createElement("h1",null,t)},f[p.HEADING_2]=function(e,t){return i.createElement("h2",null,t)},f[p.HEADING_3]=function(e,t){return i.createElement("h3",null,t)},f[p.HEADING_4]=function(e,t){return i.createElement("h4",null,t)},f[p.HEADING_5]=function(e,t){return i.createElement("h5",null,t)},f[p.HEADING_6]=function(e,t){return i.createElement("h6",null,t)},f[p.EMBEDDED_ENTRY]=function(e,t){return i.createElement("div",null,t)},f[p.UL_LIST]=function(e,t){return i.createElement("ul",null,t)},f[p.OL_LIST]=function(e,t){return i.createElement("ol",null,t)},f[p.LIST_ITEM]=function(e,t){return i.createElement("li",null,t)},f[p.QUOTE]=function(e,t){return i.createElement("blockquote",null,t)},f[p.HR]=function(){return i.createElement("hr",null)},f[h.ASSET_HYPERLINK]=function(e){return _(h.ASSET_HYPERLINK,e)},f[h.ENTRY_HYPERLINK]=function(e){return _(h.ENTRY_HYPERLINK,e)},f[h.EMBEDDED_ENTRY]=function(e){return _(h.EMBEDDED_ENTRY,e)},f[h.HYPERLINK]=function(e,t){return i.createElement("a",{href:e.data.uri},t)},f),w=((d={})[v.BOLD]=function(e){return i.createElement("b",null,e)},d[v.ITALIC]=function(e){return i.createElement("i",null,e)},d[v.UNDERLINE]=function(e){return i.createElement("u",null,e)},d[v.CODE]=function(e){return i.createElement("code",null,e)},d);function _(e,t){return i.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}t.h=function(e,t){return void 0===t&&(t={}),e?y(e,{renderNode:a({},b,t.renderNode),renderMark:a({},w,t.renderMark),renderText:t.renderText}):null}},71394:function(e,t,n){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function o(e,t){return e(t={exports:{}},t.exports),t.exports}var i=function(e){return e&&e.Math==Math&&e},a=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),u=function(e){try{return!!e()}catch(t){return!0}},s=!u((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,f={f:l&&!c.call({1:2},1)?function(e){var t=l(this,e);return!!t&&t.enumerable}:c},d=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},p={}.toString,h="".split,v=u((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==function(e){return p.call(e).slice(8,-1)}(e)?h.call(e,""):Object(e)}:Object,g=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},m=function(e){return v(g(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},b=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=Object.hasOwn||function(e,t){return w.call(Object(g(e)),t)},x=a.document,S=y(x)&&y(x.createElement),k=function(e){return S?x.createElement(e):{}},E=!s&&!u((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),C=Object.getOwnPropertyDescriptor,I={f:s?C:function(e,t){if(e=m(e),t=b(t,!0),E)try{return C(e,t)}catch(n){}if(_(e,t))return d(!f.f.call(e,t),e[t])}},T=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,A={f:s?O:function(e,t,n){if(T(e),t=b(t,!0),T(n),E)try{return O(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},D=s?function(e,t,n){return A.f(e,t,d(1,n))}:function(e,t,n){return e[t]=n,e},P=function(e,t){try{D(a,e,t)}catch(n){a[e]=t}return t},N="__core-js_shared__",M=a[N]||P(N,{}),j=Function.toString;"function"!=typeof M.inspectSource&&(M.inspectSource=function(e){return j.call(e)});var L,R,F,U=M.inspectSource,B=a.WeakMap,z="function"==typeof B&&/native code/.test(U(B)),V=o((function(e){(e.exports=function(e,t){return M[e]||(M[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),H=0,G=Math.random(),q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+G).toString(36)},W=V("keys"),Z=function(e){return W[e]||(W[e]=q(e))},K={},$="Object already initialized",X=a.WeakMap;if(z||M.state){var Y=M.state||(M.state=new X),J=Y.get,Q=Y.has,ee=Y.set;L=function(e,t){if(Q.call(Y,e))throw new TypeError($);return t.facade=e,ee.call(Y,e,t),t},R=function(e){return J.call(Y,e)||{}},F=function(e){return Q.call(Y,e)}}else{var te=Z("state");K[te]=!0,L=function(e,t){if(_(e,te))throw new TypeError($);return t.facade=e,D(e,te,t),t},R=function(e){return _(e,te)?e[te]:{}},F=function(e){return _(e,te)}}var ne={set:L,get:R,has:F,enforce:function(e){return F(e)?R(e):L(e,{})},getterFor:function(e){return function(t){var n;if(!y(t)||(n=R(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},re=o((function(e){var t=ne.get,n=ne.enforce,r=String(String).split("String");(e.exports=function(e,t,o,i){var u,s=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof t||_(o,"name")||D(o,"name",t),(u=n(o)).source||(u.source=r.join("string"==typeof t?t:""))),e!==a?(s?!l&&e[t]&&(c=!0):delete e[t],c?e[t]=o:D(e,t,o)):c?e[t]=o:P(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),oe=a,ie=function(e){return"function"==typeof e?e:void 0},ae=function(e,t){return arguments.length<2?ie(oe[e])||ie(a[e]):oe[e]&&oe[e][t]||a[e]&&a[e][t]},ue=Math.ceil,se=Math.floor,ce=function(e){return isNaN(e=+e)?0:(e>0?se:ue)(e)},le=Math.min,fe=Math.max,de=Math.min,pe=function(e){return function(t,n,r){var o,i,a=m(t),u=(o=a.length)>0?le(ce(o),9007199254740991):0,s=function(e,t){var n=ce(e);return n<0?fe(n+t,0):de(n,t)}(r,u);if(e&&n!=n){for(;u>s;)if((i=a[s++])!=i)return!0}else for(;u>s;s++)if((e||s in a)&&a[s]===n)return e||s||0;return!e&&-1}},he={includes:pe(!0),indexOf:pe(!1)},ve=he.indexOf,ge=function(e,t){var n,r=m(e),o=0,i=[];for(n in r)!_(K,n)&&_(r,n)&&i.push(n);for(;t.length>o;)_(r,n=t[o++])&&(~ve(i,n)||i.push(n));return i},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=me.concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return ge(e,ye)}},we={f:Object.getOwnPropertySymbols},_e=ae("Reflect","ownKeys")||function(e){var t=be.f(T(e)),n=we.f;return n?t.concat(n(e)):t},xe=function(e,t){for(var n=_e(t),r=A.f,o=I.f,i=0;i<n.length;i++){var a=n[i];_(e,a)||r(e,a,o(t,a))}},Se=/#|\.prototype\./,ke=function(e,t){var n=Ce[Ee(e)];return n==Te||n!=Ie&&("function"==typeof t?u(t):!!t)},Ee=ke.normalize=function(e){return String(e).replace(Se,".").toLowerCase()},Ce=ke.data={},Ie=ke.NATIVE="N",Te=ke.POLYFILL="P",Oe=ke,Ae=I.f,De=function(e,t){var n,r,o,i,u,s=e.target,c=e.global,l=e.stat;if(n=c?a:l?a[s]||P(s,{}):(a[s]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(u=Ae(n,r))&&u.value:n[r],!Oe(c?r:s+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;xe(i,o)}(e.sham||o&&o.sham)&&D(i,"sham",!0),re(n,r,i,e)}},Pe=Object.keys||function(e){return ge(e,me)},Ne=f.f,Me=function(e){return function(t){for(var n,r=m(t),o=Pe(r),i=o.length,a=0,u=[];i>a;)n=o[a++],s&&!Ne.call(r,n)||u.push(e?[n,r[n]]:r[n]);return u}},je={entries:Me(!0),values:Me(!1)}.values;De({target:"Object",stat:!0},{values:function(e){return je(e)}});oe.Object.values;var Le,Re,Fe=ae("navigator","userAgent")||"",Ue=a.process,Be=Ue&&Ue.versions,ze=Be&&Be.v8;ze?Re=(Le=ze.split("."))[0]<4?1:Le[0]+Le[1]:Fe&&(!(Le=Fe.match(/Edge\/(\d+)/))||Le[1]>=74)&&(Le=Fe.match(/Chrome\/(\d+)/))&&(Re=Le[1]);var Ve,He=Re&&+Re,Ge=!!Object.getOwnPropertySymbols&&!u((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&He&&He<41})),qe=Ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,We=V("wks"),Ze=a.Symbol,Ke=qe?Ze:Ze&&Ze.withoutSetter||q,$e=s?Object.defineProperties:function(e,t){T(e);for(var n,r=Pe(t),o=r.length,i=0;o>i;)A.f(e,n=r[i++],t[n]);return e},Xe=ae("document","documentElement"),Ye=Z("IE_PROTO"),Je=function(){},Qe=function(e){return"<script>"+e+"</"+"script>"},et=function(){try{Ve=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;et=Ve?function(e){e.write(Qe("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Ve):((t=k("iframe")).style.display="none",Xe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Qe("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete et.prototype[me[n]];return et()};K[Ye]=!0;var tt,nt=Object.create||function(e,t){var n;return null!==e?(Je.prototype=T(e),n=new Je,Je.prototype=null,n[Ye]=e):n=et(),void 0===t?n:$e(n,t)},rt=(_(We,tt="unscopables")&&(Ge||"string"==typeof We[tt])||(Ge&&_(Ze,tt)?We[tt]=Ze[tt]:We[tt]=Ke("Symbol."+tt)),We[tt]),ot=Array.prototype;null==ot[rt]&&A.f(ot,rt,{configurable:!0,value:nt(null)});var it,at=he.includes;De({target:"Array",proto:!0},{includes:function(e){return at(this,e,arguments.length>1?arguments[1]:void 0)}}),it="includes",ot[rt][it]=!0;var ut,st,ct,lt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},ft=Function.call;ut="includes",lt(ft,a["Array"].prototype[ut],st);!function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell"}(ct||(ct={}));var dt,pt=ct;!function(e){e.HYPERLINK="hyperlink",e.ENTRY_HYPERLINK="entry-hyperlink",e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline"}(dt||(dt={}));var ht,vt=dt,gt=[pt.PARAGRAPH,pt.HEADING_1,pt.HEADING_2,pt.HEADING_3,pt.HEADING_4,pt.HEADING_5,pt.HEADING_6,pt.OL_LIST,pt.UL_LIST,pt.HR,pt.QUOTE,pt.EMBEDDED_ENTRY,pt.EMBEDDED_ASSET,pt.TABLE],mt=[pt.HR,pt.EMBEDDED_ENTRY,pt.EMBEDDED_ASSET],yt=((ht={})[pt.OL_LIST]=[pt.LIST_ITEM],ht[pt.UL_LIST]=[pt.LIST_ITEM],ht[pt.LIST_ITEM]=gt.slice(),ht[pt.QUOTE]=[pt.PARAGRAPH],ht[pt.TABLE]=[pt.TABLE_ROW],ht[pt.TABLE_ROW]=[pt.TABLE_CELL],ht[pt.TABLE_CELL]=[pt.PARAGRAPH],ht),bt={nodeType:pt.DOCUMENT,data:{},content:[{nodeType:pt.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var wt=Object.freeze({isInline:function(e){return Object.values(vt).includes(e.nodeType)},isBlock:function(e){return Object.values(pt).includes(e.nodeType)},isText:function(e){return"text"===e.nodeType}});t.RG=pt,t.Ev=vt,t.oN={BOLD:"bold",ITALIC:"italic",UNDERLINE:"underline",CODE:"code"}},22393:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,i=t.origin,u=t.protocol,s=t.host,c=t.hostname,l=t.port,f=e.location.pathname;!f&&o&&a&&(f=new URL(o).pathname);return{pathname:encodeURI(decodeURI(f)),search:n,hash:r,href:o,origin:i,protocol:u,host:s,hostname:c,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},o=function(e,t){var o=[],i=r(e),a=!1,u=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,u()},listen:function(t){o.push(t);var n=function(){i=r(e),t({location:i,action:"POP"})};return e.addEventListener("popstate",n),function(){e.removeEventListener("popstate",n),o=o.filter((function(e){return e!==t}))}},navigate:function(t){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=s.state,l=s.replace,f=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{c=n({},c,{key:Date.now()+""});try{a||f?e.history.replaceState(c,null,t):e.history.pushState(c,null,t)}catch(p){e.location[f?"replace":"assign"](t)}}i=r(e),a=!0;var d=new Promise((function(e){return u=e}));return o.forEach((function(e){return e({location:i,action:"PUSH"})})),d}}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(e,t,n){var a=n.split("?"),u=a[0],s=a[1],c=void 0===s?"":s;r++,o.push({pathname:u,search:c.length?"?"+c:c}),i.push(e)},replaceState:function(e,t,n){var a=n.split("?"),u=a[0],s=a[1],c=void 0===s?"":s;o[r]={pathname:u,search:c},i[r]=e},go:function(e){var t=r+e;t<0||t>i.length-1||(r=t)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),u=o(a?window:i()),s=u.navigate;t.V5=u},92098:function(e,t,n){"use strict";t.__esModule=!0,t.shallowCompare=t.validateRedirect=t.insertParams=t.resolve=t.match=t.pick=t.startsWith=void 0;var r,o=n(41143),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e,t){return e.substr(0,t.length)===t},u=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],a=p(o),u=""===a[0],c=d(e),f=0,h=c.length;f<h;f++){var g=!1,m=c[f].route;if(m.default)r={route:m,params:{},uri:t};else{for(var y=p(m.path),b={},w=Math.max(a.length,y.length),_=0;_<w;_++){var x=y[_],S=a[_];if(l(x)){b[x.slice(1)||"*"]=a.slice(_).map(decodeURIComponent).join("/");break}if(void 0===S){g=!0;break}var k=s.exec(x);if(k&&!u){-1===v.indexOf(k[1])||(0,i.default)(!1);var E=decodeURIComponent(S);b[k[1]]=E}else if(x!==S){g=!0;break}}if(!g){n={route:m,params:b,uri:"/"+a.slice(0,_).join("/")};break}}}return n||r||null},s=/^:(.+)/,c=function(e){return s.test(e)},l=function(e){return e&&"*"===e[0]},f=function(e,t){return{route:e,score:e.default?0:p(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?c(t)?e+=2:l(t)?e-=5:e+=3:e+=1,e}),0),index:t}},d=function(e){return e.map(f).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},p=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];t.startsWith=a,t.pick=u,t.match=function(e,t){return u([{path:e}],t)},t.resolve=function(e,t){if(a(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],u=p(r),s=p(i);if(""===u[0])return h(i,o);if(!a(u[0],".")){var c=s.concat(u).join("/");return h(("/"===i?"":"/")+c,o)}for(var l=s.concat(u),f=[],d=0,v=l.length;d<v;d++){var g=l[d];".."===g?f.pop():"."!==g&&f.push(g)}return h("/"+f.join("/"),o)},t.insertParams=function(e,t){var n=e.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+p(r).map((function(e){var n=s.exec(e);return n?t[n[1]]:e})).join("/"),u=t.location,c=(u=void 0===u?{}:u).search,l=(void 0===c?"":c).split("?")[1]||"";return a=h(a,i,l)},t.validateRedirect=function(e,t){var n=function(e){return c(e)};return p(e).filter(n).sort().join("/")===p(t).filter(n).sort().join("/")},t.shallowCompare=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},28678:function(e,t,n){"use strict";var r;n.d(t,{_:function(){return r}}),function(e){e[e.Verbose=0]="Verbose",e[e.Information=1]="Information",e[e.Warning=2]="Warning",e[e.Error=3]="Error",e[e.Critical=4]="Critical"}(r||(r={}))},27743:function(e,t,n){"use strict";var r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;t._getStatsigGlobal=function(){return __STATSIG__||c};t._getStatsigGlobalFlag=function(e){return(0,t._getStatsigGlobal)()[e]};t._getInstance=function(e){var n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:n.lastInstance};var a="undefined"!=typeof window?window:{},u=void 0!==n.g?n.g:{},s="undefined"!=typeof globalThis?globalThis:{},c=null!==(i=null!==(o=null!==(r=a.__STATSIG__)&&void 0!==r?r:u.__STATSIG__)&&void 0!==o?o:s.__STATSIG__)&&void 0!==i?i:{instance:t._getInstance};a.__STATSIG__=c,u.__STATSIG__=c,s.__STATSIG__=c},2850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;var r=n(25799);function o(e,t,n){var o;if(n)return n(e,t);var i=t&&t.customIDs?t.customIDs:{},a=["uid:".concat(null!==(o=null==t?void 0:t.userID)&&void 0!==o?o:""),"cids:".concat(Object.keys(i).sort((function(e,t){return e.localeCompare(t)})).map((function(e){return"".concat(e,"-").concat(i[e])})).join(",")),"k:".concat(e)];return(0,r._DJB2)(a.join("|"))}t._getUserStorageKey=o,t._getStorageKey=function(e,t,n){return t?o(e,t,n):(0,r._DJB2)("k:".concat(e))}},41171:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},13304:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCore=void 0;var u=n(50065),s=n(15687),c=n(5133),l=n(27567),f=n(28444),d=function(){function e(t,n){o(this,e),this._adapterName=t,this._cacheSuffix=n,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey="statsig.last_modified_time.".concat(n),this._inMemoryCache=new h}return i(e,[{key:"attach",value:function(e,t){this._sdkKey=e,this._options=t}},{key:"getDataSync",value:function(e){var t=this._getCacheKey(e),n=this._inMemoryCache.get(t,e);if(n)return n;var r=this._loadFromCache(t);return r?(this._inMemoryCache.add(t,r),this._inMemoryCache.get(t,e)):null}},{key:"setData",value:function(e,t){var n,r=t&&(0,c._normalizeUser)(t,null===(n=this._options)||void 0===n?void 0:n.environment),o=this._getCacheKey(r);this._inMemoryCache.add(o,p("Bootstrap",e,null,r))}},{key:"__primeInMemoryCache",value:function(e){this._inMemoryCache.merge(e)}},{key:"_getDataAsyncImpl",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null!=e?e:this.getDataSync(t),a=[this._fetchAndPrepFromNetwork(i,t,n)],(null==n?void 0:n.timeoutMs)&&a.push(new Promise((function(e){return setTimeout(e,n.timeoutMs)})).then((function(){return u.Log.debug("Fetching latest value timed out"),null}))),r.next=5,Promise.race(a);case 5:return r.abrupt("return",r.sent);case 6:case"end":return r.stop()}}),o,this)})))}},{key:"_prefetchDataImpl",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=this._getCacheKey(e),n.next=3,this._getDataAsyncImpl(null,e,t);case 3:(i=n.sent)&&this._inMemoryCache.add(o,Object.assign(Object.assign({},i),{source:"Prefetch"}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_fetchAndPrepFromNetwork",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a,c,l,d,h,v;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null,e&&this._isCachedResultValidFor204(e,t)&&(i=e.data),r.next=4,this._fetchFromNetwork(i,t,n);case 4:if(a=r.sent){r.next=8;break}return u.Log.debug("No response returned for latest value"),r.abrupt("return",null);case 8:return c=(0,f._typedJsonParse)(a,"has_updates","Response"),l=this._getSdkKey(),r.next=12,s.StableID.get(l);case 12:if(d=r.sent,h=null,!0!==(null==c?void 0:c.has_updates)){r.next=18;break}h=p("Network",a,d,t),r.next=23;break;case 18:if(!i||!1!==(null==c?void 0:c.has_updates)){r.next=22;break}h=p("NetworkNotModified",i,d,t),r.next=23;break;case 22:return r.abrupt("return",null);case 23:return v=this._getCacheKey(t),this._inMemoryCache.add(v,h),r.next=27,this._writeToCache(v,h);case 27:return r.abrupt("return",h);case 28:case"end":return r.stop()}}),o,this)})))}},{key:"_getSdkKey",value:function(){return null!=this._sdkKey?this._sdkKey:(u.Log.error("".concat(this._adapterName," is not attached to a Client")),"")}},{key:"_loadFromCache",value:function(e){var t,n=null===(t=l.Storage._getItemSync)||void 0===t?void 0:t.call(l.Storage,e);if(null==n)return null;var r=(0,f._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}},{key:"_writeToCache",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.Storage._setItem(e,JSON.stringify(t));case 2:return n.next=4,this._runLocalStorageCacheEviction(e);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"_runLocalStorageCacheEviction",value:function(e){var t;return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,l._getObjectFromStorage)(this._lastModifiedStoreKey);case 2:if(n.t1=t=n.sent,n.t0=null!==n.t1,!n.t0){n.next=6;break}n.t0=void 0!==t;case 6:if(!n.t0){n.next=10;break}n.t2=t,n.next=11;break;case 10:n.t2={};case 11:if((o=n.t2)[e]=Date.now(),!(i=v(o,10))){n.next=18;break}return delete o[i],n.next=18,l.Storage._removeItem(i);case 18:return n.next=20,(0,l._setObjectInStorage)(this._lastModifiedStoreKey,o);case 20:case"end":return n.stop()}}),n,this)})))}}]),e}();function p(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,c._getFullUserHash)(r)}}t.DataAdapterCore=d;var h=function(){function e(){o(this,e),this._data={}}return i(e,[{key:"get",value:function(e,t){var n,r=this._data[e],o=null==r?void 0:r.stableID,i=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return i&&o&&i!==o?(u.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}},{key:"add",value:function(e,t){var n=v(this._data,9);n&&delete this._data[n],this._data[e]=t}},{key:"merge",value:function(e){this._data=Object.assign(Object.assign({},this._data),e)}}]),e}();function v(e,t){var n=Object.keys(e);return n.length<=t?null:n.reduce((function(t,n){var r=e[t],o=e[n];return"object"==typeof r&&"object"==typeof o?o.receivedAt<r.receivedAt?n:t:o<r?n:t}))}},69227:function(e,t,n){"use strict";var r=n(34575),o=n(93913);Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;var i=function(){function e(){r(this,e)}return o(e,null,[{key:"mark",value:function(){}}]),e}();t.Diagnostics=i},80131:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},60961:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;var u=n(50065),s=n(78498),c=n(56511);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";var l="[Statsig] UnknownError",f=function(){function e(t,n,r){o(this,e),this._sdkKey=t,this._options=n,this._emitter=r,this._seen=new Set}return i(e,[{key:"wrap",value:function(e){var t=this;try{var n=e;(function(e){var t=new Set,n=Object.getPrototypeOf(e);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter((function(e){return"function"==typeof(null==n?void 0:n[e])})).forEach((function(e){return t.add(e)})),n=Object.getPrototypeOf(n);return Array.from(t)})(n).forEach((function(r){var o=n[r];"$EB"in o||(n[r]=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t._capture(r,(function(){return o.apply(e,i)}))},n[r].$EB=!0)}))}catch(r){this._onError("eb:wrap",r)}}},{key:"logError",value:function(e,t){this._onError(e,t)}},{key:"_capture",value:function(e,t){var n=this;try{var r=t();return r&&r instanceof Promise?r.catch((function(t){return n._onError(e,t)})):r}catch(o){return this._onError(e,o),null}}},{key:"_onError",value:function(e,n){var o=this;try{u.Log.warn("Caught error in ".concat(e),{error:n});a(o,void 0,void 0,r.mark((function o(){var i,a,u,f,p,h,v,g,m,y,b,w,_,x,S;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(g=n||Error(l),m=g instanceof Error,y=m?g.name:"No Name",!this._seen.has(y)){r.next=5;break}return r.abrupt("return");case 5:if(this._seen.add(y),!(null===(a=null===(i=this._options)||void 0===i?void 0:i.networkConfig)||void 0===a?void 0:a.preventAllNetworkTraffic)){r.next=9;break}return null===(u=this._emitter)||void 0===u||u.call(this,{name:"error",error:n}),r.abrupt("return");case 9:return b=s.SDKType._get(this._sdkKey),w=c.StatsigMetadataProvider.get(),_=m?g.stack:d(g),x=JSON.stringify(Object.assign({tag:e,exception:y,info:_},Object.assign(Object.assign({},w),{sdkType:b}))),S=null!==(h=null===(p=null===(f=this._options)||void 0===f?void 0:f.networkConfig)||void 0===p?void 0:p.networkOverrideFunc)&&void 0!==h?h:fetch,r.next=16,S(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(b),"STATSIG-SDK-VERSION":String(w.sdkVersion),"Content-Type":"application/json"},body:x});case 16:null===(v=this._emitter)||void 0===v||v.call(this,{name:"error",error:n});case 17:case"end":return r.stop()}}),o,this)}))).then((function(){})).catch((function(){}))}catch(i){}}}]),e}();function d(e){try{return JSON.stringify(e)}catch(t){return l}}t.ErrorBoundary=f},93744:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},45706:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4827:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;var s=n(25799),c=n(50065),l=n(24371),f=n(92602),d=n(31917),p=n(27567),h=n(88853),v=n(20923),g={},m=function(e){var t;null===(t=g[e])||void 0===t||t.flush().catch((function(){}))},y=function(){function e(t,n,r,o){var a;i(this,e),this._sdkKey=t,this._emitter=n,this._network=r,this._options=o,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),g[t]=this,this._isLoggingDisabled=!0===(null==o?void 0:o.disableLogging),this._maxQueueSize=null!==(a=null==o?void 0:o.loggingBufferMaxSize)&&void 0!==a?a:50;var u=null==o?void 0:o.networkConfig;this._logEventUrl=(0,h._getOverridableUrl)(null==u?void 0:u.logEventUrl,null==u?void 0:u.api,"/rgstr",l.NetworkDefault.eventsApi),(0,v._subscribeToVisiblityChanged)((function(e){"background"===e&&m(t)})),this._retryFailedLogs(),this._startBackgroundFlushInterval()}return a(e,[{key:"setLoggingDisabled",value:function(e){this._isLoggingDisabled=e}},{key:"enqueue",value:function(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&m(this._sdkKey))}},{key:"incrementNonExposureCount",value:function(e){var t,n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}},{key:"reset",value:function(){this._lastExposureTimeMap={}}},{key:"shutdown",value:function(){return u(this,void 0,void 0,o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),e.next=3,this.flush();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"flush",value:function(){return u(this,void 0,void 0,o.mark((function e(){var t;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._appendAndResetNonExposedChecks(),0!==this._queue.length){e.next=3;break}return e.abrupt("return");case 3:return t=this._queue,this._queue=[],e.abrupt("return",this._sendEvents(t));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"_quickFlushIfNeeded",value:function(){var e=this;this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout((function(){return m(e._sdkKey)}),200))}},{key:"_shouldLogEvent",value:function(e){if(!(0,d._isExposureEvent)(e))return!0;var t=e.user?e.user:{},n=e.metadata?e.metadata:{},r=[e.eventName,t.userID,n.gate,n.config,n.ruleID].join("|"),o=this._lastExposureTimeMap[r],i=Date.now();return!(o&&i-o<6e4)&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[r]=i,!0)}},{key:"_sendEvents",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this._isLoggingDisabled){r.next=3;break}return this._saveFailedLogsToStorage(e),r.abrupt("return");case 3:if(r.prev=3,i=!(0,v._isCurrentlyVisible)(),!(i&&this._network.isBeaconSupported()&&null==(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc))){r.next=12;break}return r.next=9,this._sendEventsViaBeacon(e);case 9:r.t0=r.sent,r.next=15;break;case 12:return r.next=14,this._sendEventsViaPost(e);case 14:r.t0=r.sent;case 15:r.t0.success?this._emitter({name:"logs_flushed",events:e}):this._saveFailedLogsToStorage(e),r.next=22;break;case 19:r.prev=19,r.t1=r.catch(3),c.Log.warn("Failed to flush events.");case 22:case"end":return r.stop()}}),r,this,[[3,19]])})))}},{key:"_sendEventsViaPost",value:function(e){var t;return u(this,void 0,void 0,o.mark((function n(){var r,i;return o.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._network.post(this._getRequestData(e));case 2:return r=n.sent,i=null!==(t=null==r?void 0:r.code)&&void 0!==t?t:-1,n.abrupt("return",{success:i>=200&&i<300});case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_sendEventsViaBeacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._network.beacon(this._getRequestData(e));case 2:return t.t0=t.sent,t.abrupt("return",{success:t.t0});case 4:case"end":return t.stop()}}),t,this)})))}},{key:"_getRequestData",value:function(e){return{sdkKey:this._sdkKey,data:{events:e},url:this._logEventUrl,retries:3,isCompressable:!0,params:r({},l.NetworkParam.EventCount,String(e.length))}}},{key:"_saveFailedLogsToStorage",value:function(e){for(;e.length>500;)e.shift();var t=this._getStorageKey();(0,p._setObjectInStorage)(t,e).catch((function(){c.Log.warn("Unable to save failed logs to storage")}))}},{key:"_retryFailedLogs",value:function(){var e=this,t=this._getStorageKey();u(e,void 0,void 0,o.mark((function e(){var n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p._getObjectFromStorage)(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,p.Storage._removeItem(t);case 7:return e.next=9,this._sendEvents(n);case 9:case"end":return e.stop()}}),e,this)}))).catch((function(){c.Log.warn("Failed to flush stored logs")}))}},{key:"_getStorageKey",value:function(){return"statsig.failed_logs.".concat((0,s._DJB2)(this._sdkKey))}},{key:"_normalizeAndAppendEvent",value:function(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);var t={},n=this._getCurrentPageUrl();n&&(t.statsigMetadata={currentPage:n});var r=Object.assign(Object.assign({},e),t);c.Log.debug("Enqueued Event:",r),this._queue.push(r)}},{key:"_appendAndResetNonExposedChecks",value:function(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}},{key:"_getCurrentPageUrl",value:function(){var e;if(!1!==(null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents))return(0,f._getCurrentPageUrlSafe)()}},{key:"_startBackgroundFlushInterval",value:function(){var e,t,n=this;if((0,f._isBrowserEnv)()){var r=null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingIntervalMs)&&void 0!==t?t:1e4,o=setInterval((function(){g[n._sdkKey]._flushIntervalId!==o?clearInterval(o):m(n._sdkKey)}),r);this._flushIntervalId=o}}}]),e}();t.EventLogger=y},25799:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._DJB2Object=t._DJB2=void 0;t._DJB2=function(e){for(var t=0,n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return String(t>>>0)};t._DJB2Object=function(e){return(0,t._DJB2)(JSON.stringify(n(e)))};var n=function e(t){if(null==t)return null;var n=Object.keys(t).sort(),r={};return n.forEach((function(n){var o=t[n];!Array.isArray(o)&&o instanceof Object&&(o=e(o)),r[n]=o})),r}},41976:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},50065:function(e,t,n){"use strict";var r,o=n(319),i=n(34575),a=n(93913);function u(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Info=3]="Info",e[e.Debug=4]="Debug"}(r||(t.LogLevel=r={}));var s=function(){function e(){i(this,e)}return a(e,null,[{key:"info",value:function(){if(this.level>=r.Info){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).info.apply(e,o(u(n)))}}},{key:"debug",value:function(){if(this.level>=r.Debug){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).debug.apply(e,o(u(n)))}}},{key:"warn",value:function(){if(this.level>=r.Warn){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).warn.apply(e,o(u(n)))}}},{key:"error",value:function(){if(this.level>=r.Error){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).error.apply(e,o(u(n)))}}}]),e}();t.Log=s,s.level=r.Error},24371:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=void 0,t.NetworkDefault={eventsApi:"https://prodregistryv2.org/v1",initializeApi:"https://featureassets.org/v1",specsApi:"https://assetsconfigcdn.org/v1"},function(e){e.EventCount="ec",e.SdkKey="k",e.SdkType="st",e.SdkVersion="sv",e.Time="t",e.SessionID="sid",e.StatsigEncoded="se",e.IsGzipped="gz"}(n||(t.NetworkParam=n={}))},91954:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,n(27743);var s=n(27743),c=n(69227),l=n(50065),f=n(24371),d=n(78498),p=n(92602),h=n(50430),v=n(15687),g=n(56511),m=n(20923),y=function(){function e(t,n){i(this,e),this._emitter=n,this._timeout=1e4,this._netConfig={},this._options={},t&&(this._options=t),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs)}return a(e,[{key:"post",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._getPopulatedBody(e);case 2:return n=t.sent,e.isStatsigEncodable&&(n=this._attemptToEncodeString(e,n)),t.abrupt("return",this._sendRequest(Object.assign({method:"POST",body:n},e)));case 5:case"end":return t.stop()}}),t,this)})))}},{key:"get",value:function(e){return this._sendRequest(Object.assign({method:"GET"},e))}},{key:"isBeaconSupported",value:function(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}},{key:"beacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(b(e)){t.next=2;break}return t.abrupt("return",!1);case 2:return t.next=4,this._getPopulatedBody(e);case 4:return n=t.sent,t.next=7,this._getPopulatedURL(e);case 7:return r=t.sent,i=navigator,t.abrupt("return",i.sendBeacon.bind(i)(r,n));case 10:case"end":return t.stop()}}),t,this)})))}},{key:"_sendRequest",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i,a,u,s,f,d,p,h,v,g,y,_,x,S,k=this;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b(e)){r.next=2;break}return r.abrupt("return",null);case 2:if(!this._netConfig.preventAllNetworkTraffic){r.next=4;break}return r.abrupt("return",null);case 4:return i=e.method,a=e.body,u=e.retries,s="undefined"!=typeof AbortController?new AbortController:null,f=setTimeout((function(){return null==s?void 0:s.abort("Timeout of ".concat(k._timeout,"ms expired."))}),this._timeout),r.next=9,this._getPopulatedURL(e);case 9:return d=r.sent,p=null,h=(0,m._isUnloading)(),r.prev=12,v={method:i,body:a,headers:Object.assign({},e.headers),signal:null==s?void 0:s.signal,priority:e.priority,keepalive:h},g=null!==(t=this._netConfig.networkOverrideFunc)&&void 0!==t?t:fetch,r.next=17,g(d,v);case 17:if(p=r.sent,clearTimeout(f),p.ok){r.next=26;break}return r.next=22,p.text().catch((function(){return"No Text"}));case 22:throw y=r.sent,(_=new Error("NetworkError: ".concat(d," ").concat(y))).name="NetworkError",_;case 26:return r.next=28,p.text();case 28:return x=r.sent,c.Diagnostics.mark(),r.abrupt("return",{body:x,code:p.status});case 33:if(r.prev=33,r.t0=r.catch(12),S=w(s,r.t0),c.Diagnostics.mark(),u&&!(u<=0)){r.next=41;break}return null===(n=this._emitter)||void 0===n||n.call(this,{name:"error",error:r.t0}),l.Log.error("A networking error occured during ".concat(i," request to ").concat(d,"."),S,r.t0),r.abrupt("return",null);case 41:return r.abrupt("return",this._sendRequest(Object.assign(Object.assign({},e),{retries:u-1})));case 42:case"end":return r.stop()}}),r,this,[[12,33]])})))}},{key:"_getPopulatedURL",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,i,a;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=Object,r(n={},f.NetworkParam.SdkKey,e.sdkKey),r(n,f.NetworkParam.SdkType,d.SDKType._get(e.sdkKey)),r(n,f.NetworkParam.SdkVersion,g.SDK_VERSION),r(n,f.NetworkParam.Time,String(Date.now())),t.t1=r,t.t2=n,t.t3=f.NetworkParam.SessionID,t.next=11,h.SessionID.get(e.sdkKey);case 11:return t.t4=t.sent,(0,t.t1)(t.t2,t.t3,t.t4),t.t5=n,t.t6=e.params,i=t.t0.assign.call(t.t0,t.t5,t.t6),a=Object.keys(i).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(i[e]))})).join("&"),t.abrupt("return","".concat(e.url).concat(a?"?".concat(a):""));case 18:case"end":return t.stop()}}),t)})))}},{key:"_getPopulatedBody",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i,a,u;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.data,r=e.sdkKey,t.next=3,v.StableID.get(r);case 3:return i=t.sent,t.next=6,h.SessionID.get(r);case 6:return a=t.sent,u=d.SDKType._get(r),t.abrupt("return",JSON.stringify(Object.assign(Object.assign({},n),{statsigMetadata:Object.assign(Object.assign({},g.StatsigMetadataProvider.get()),{stableID:i,sessionID:a,sdkType:u})})));case 9:case"end":return t.stop()}}),t)})))}},{key:"_attemptToEncodeString",value:function(e,t){var n,o,i=(0,p._getWindowSafe)();if(!e.isStatsigEncodable||this._options.disableStatsigEncoding||null!=(0,s._getStatsigGlobalFlag)("no-encode")||!(null==i?void 0:i.btoa))return t;try{var a=null!==(n=i.btoa(t).split("").reverse().join(""))&&void 0!==n?n:t;return e.params=Object.assign(Object.assign({},null!==(o=e.params)&&void 0!==o?o:{}),r({},f.NetworkParam.StatsigEncoded,"1")),a}catch(u){return l.Log.warn("/initialize request encoding failed"),t}}}]),e}();t.NetworkCore=y;var b=function(e){return!!e.sdkKey||(l.Log.warn("Unable to make request without an SDK key"),!1)};function w(e,t){return(null==e?void 0:e.signal.aborted)&&"string"==typeof e.signal.reason?e.signal.reason:"string"==typeof t?t:t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error"}},55501:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78498:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;var n,r={};t.SDKType={_get:function(e){var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=n?n:"")},_setClientType:function(e,t){r[e]=t},_setBindingType:function(e){n&&"-react"!==n||(n="-"+e)}}},92602:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isBrowserEnv=t._getDocumentSafe=t._getWindowSafe=void 0;t._getWindowSafe=function(){return"undefined"!=typeof window?window:null};t._getDocumentSafe=function(){var e,n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null};t._isBrowserEnv=function(){return null!=(0,t._getDocumentSafe)()};t._addWindowEventListenerSafe=function(e,n){var r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._addDocumentEventListenerSafe=function(e,n){var r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._getCurrentPageUrlSafe=function(){var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(n){return}}},50430:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;var i=n(2850),a=n(50065),u=n(27567),s=n(31328),c=18e5,l=144e5,f={};function d(e){return o(this,void 0,void 0,r.mark((function t(){var n,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g(e);case 2:return n=t.sent,o=Date.now(),n||(n={sessionID:(0,s.getUUID)(),startTime:o,lastUpdate:o}),t.abrupt("return",{data:n,sdkKey:e});case 6:case"end":return t.stop()}}),t)})))}function p(e){var t,n,r=Date.now(),o=e.data;n=o.lastUpdate,(Date.now()-n>c||(t=o.startTime,Date.now()-t>l))&&(o.sessionID=(0,s.getUUID)(),o.startTime=r),o.lastUpdate=r,function(e,t){var n=v(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save SessionID")}))}(o,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);var i=r-o.startTime,f=e.sdkKey;return e.idleTimeoutID=h(f,c),e.ageTimeoutID=h(f,l-i),e}function h(e,t){return setTimeout((function(){var t=null===__STATSIG__||void 0===__STATSIG__?void 0:__STATSIG__.instance(e);t&&t.$emt({name:"session_expired"})}),t)}function v(e){return"statsig.session_id.".concat((0,i._getStorageKey)(e))}function g(e){var t=v(e);return(0,u._getObjectFromStorage)(t)}t.SessionID={get:function(e){return o(void 0,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",t.StatsigSession.get(e).then((function(e){return e.data.sessionID})));case 1:case"end":return n.stop()}}),n)})))}},t.StatsigSession={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){var n;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==f[e]&&(f[e]=d(e)),t.next=3,f[e];case 3:return n=t.sent,t.abrupt("return",p(n));case 5:case"end":return t.stop()}}),t)})))}}},15687:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StableID=void 0;var i=n(2850),a=n(50065),u=n(27567),s=n(31328),c={};function l(e){return"statsig.stable_id.".concat((0,i._getStorageKey)(e))}function f(e,t){var n=l(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save StableID")}))}function d(e){var t=l(e);return(0,u._getObjectFromStorage)(t)}t.StableID={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==c[e]&&(c[e]=d(e).then((function(t){if(null!=t)return t;var n=(0,s.getUUID)();return f(n,e),n}))),t.abrupt("return",c[e]);case 2:case"end":return t.stop()}}),t)})))},setOverride:function(e,t){c[t]=Promise.resolve(e),f(e,t)}}},98418:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(27743);var u=n(27743),s=n(60961),c=n(4827),l=n(50065),f=n(92602),d=n(27567),p=function(){function e(t,n,r,i){var a,p;o(this,e),this.loadingStatus="Uninitialized",this._listeners={};var h=this.$emt.bind(this);if(null!=(null==i?void 0:i.logLevel)&&(l.Log.level=i.logLevel),(null==i?void 0:i.disableStorage)&&d.Storage._setDisabled(!0),this._sdkKey=t,this._options=null!=i?i:{},this._overrideAdapter=null!==(a=null==i?void 0:i.overrideAdapter)&&void 0!==a?a:null,this._logger=new c.EventLogger(t,h,r,i),this._errorBoundary=new s.ErrorBoundary(t,i,h),this._errorBoundary.wrap(this),this._errorBoundary.wrap(r),this._errorBoundary.wrap(n),this._errorBoundary.wrap(this._logger),(0,f._isBrowserEnv)()){var v=(0,u._getStatsigGlobal)(),g=null!==(p=v.instances)&&void 0!==p?p:{};null!=g[t]&&l.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),g[t]=this,v.lastInstance=this,v.instances=g,__STATSIG__=v}this.dataAdapter=n,this.dataAdapter.attach(t,i),this._primeReadyRipcord()}return i(e,[{key:"updateRuntimeOptions",value:function(e){null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingDisabled(e.disableLogging)),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,d.Storage._setDisabled(e.disableStorage))}},{key:"flush",value:function(){return this._logger.flush()}},{key:"shutdown",value:function(){return a(this,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$emt({name:"pre_shutdown"}),e.next=3,this._logger.shutdown();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"on",value:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}},{key:"off",value:function(e,t){if(this._listeners[e]){var n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}},{key:"$on",value:function(e,t){t.__isInternal=!0,this.on(e,t)}},{key:"$emt",value:function(e){var t,n=this,r=function(t){try{t(e)}catch(r){if(!0===t.__isInternal)return void n._errorBoundary.logError("__emit:".concat(e.name),r);l.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach((function(e){return r(e)})),null===(t=this._listeners["*"])||void 0===t||t.forEach(r)}},{key:"_setStatus",value:function(e,t){this.loadingStatus=e,this.$emt({name:"values_updated",status:e,values:t})}},{key:"_enqueueExposure",value:function(e,t,n){!0!==(null==n?void 0:n.disableExposureLog)?this._logger.enqueue(t):this._logger.incrementNonExposureCount(e)}}]),e}();t.StatsigClientBase=p},87756:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},34486:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},31917:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._createGateExposure=t._isExposureEvent=void 0;var n="statsig::config_exposure",r="statsig::gate_exposure",o=function(e,t,n,r,o){return{eventName:e,user:t,value:null,metadata:i(n,r),secondaryExposures:o,time:Date.now()}};t._isExposureEvent=function(e){var t=e.eventName;return t===r||t===n};t._createGateExposure=function(e,t){var n,i;return o(r,e,t.details,{gate:t.name,gateValue:String(t.value),ruleID:t.ruleID},null!==(i=null===(n=t.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==i?i:[])};t._createConfigExposure=function(e,t){var r,i;return o(n,e,t.details,{config:t.name,ruleID:t.ruleID},null!==(i=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==i?i:[])};t._createLayerParameterExposure=function(e,t,n){var r,i,a,u=t.__evaluation,s=!0===(null===(r=null==u?void 0:u.explicit_parameters)||void 0===r?void 0:r.includes(n)),c="",l=null!==(i=null==u?void 0:u.undelegated_secondary_exposures)&&void 0!==i?i:[];return s&&(c=null!==(a=u.allocated_experiment_name)&&void 0!==a?a:"",l=u.secondary_exposures),o("statsig::layer_exposure",e,t.details,{config:t.name,parameterName:n,ruleID:t.ruleID,allocatedExperiment:c,isExplicitParameter:String(s)},l)};var i=function(e,t){return t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t}},56511:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="1.2.0";var n={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:function(){return n},add:function(e){n=Object.assign(Object.assign({},n),e)}}},33468:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},57001:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._mergeOverride=t._makeLayer=t._makeDynamicConfig=t._makeFeatureGate=void 0;function n(e,t,n,r){var o;return{name:e,details:t,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"default",__evaluation:n,value:r}}function r(e,t){return function(n,r){var o,i,a,u=null!==(o=null==e?void 0:e[n])&&void 0!==o?o:null;return null==u||null!=r&&(i=r,(a=function(e){return Array.isArray(e)?"array":typeof e})(u)!==a(i))?null!=r?r:null:(null==t||t(n),u)}}t._makeFeatureGate=function(e,t,r){return n(e,t,r,!0===(null==r?void 0:r.value))},t._makeDynamicConfig=function(e,t,o){var i;return Object.assign(Object.assign({},n(e,t,o,null!==(i=null==o?void 0:o.value)&&void 0!==i?i:{})),{groupName:null,get:r(null==o?void 0:o.value)})},t._makeLayer=function(e,t,o,i){var a,u;return Object.assign(Object.assign({},n(e,t,o,void 0)),{get:r(null==o?void 0:o.value,i),groupName:null!==(a=null==o?void 0:o.group_name)&&void 0!==a?a:null,__value:null!==(u=null==o?void 0:o.value)&&void 0!==u?u:{}})},t._mergeOverride=function(e,t,n,o){return Object.assign(Object.assign(Object.assign({},e),t),{get:r(n,o)})}},79855:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;var r=n(25799),o=n(50065);t._normalizeUser=function(e,t){try{var n=JSON.parse(JSON.stringify(e));return null!=t&&(n.statsigEnvironment=t),n}catch(r){return o.Log.error("Failed to JSON.stringify user"),{}}},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null}},27567:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;var i=n(50065),a=n(92602),u={},s=function(e){return Promise.resolve(e)},c={_getProviderName:function(){return"InMemory"},_getItemSync:function(e){return u[e]?u[e]:null},_getItem:function(e){return s(u[e]?u[e]:null)},_setItem:function(e,t){return u[e]=t,s()},_removeItem:function(e){return delete u[e],s()},_getAllKeys:function(){return s(Object.keys(u))}},l=null;try{var f=(0,a._getWindowSafe)();f&&f.localStorage&&"function"==typeof f.localStorage.getItem&&(l={_getProviderName:function(){return"LocalStorage"},_getItemSync:function(e){return f.localStorage.getItem(e)},_getItem:function(e){return s(f.localStorage.getItem(e))},_setItem:function(e,t){return f.localStorage.setItem(e,t),s()},_removeItem:function(e){return f.localStorage.removeItem(e),s()},_getAllKeys:function(){return s(Object.keys(f.localStorage))}})}catch(v){i.Log.warn("Failed to setup localStorageProvider.")}var d=null!=l?l:c,p=d;function h(e){try{return e()}catch(v){if(v instanceof Error&&"SecurityError"===v.name)return t.Storage._setProvider(c),null;throw v}}t.Storage={_getProviderName:function(){return p._getProviderName()},_getItem:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h((function(){return p._getItem(e)})));case 1:case"end":return t.stop()}}),t)})))},_getItemSync:function(e){return h((function(){return p._getItemSync?p._getItemSync(e):null}))},_setItem:function(e,t){return p._setItem(e,t)},_removeItem:function(e){return p._removeItem(e)},_getAllKeys:function(){return p._getAllKeys()},_setProvider:function(e){d=e,p=e},_setDisabled:function(e){p=e?c:d}},t._getObjectFromStorage=function(e){return o(this,void 0,void 0,r.mark((function n(){var o;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.Storage._getItem(e);case 2:return o=n.sent,n.abrupt("return",JSON.parse(null!=o?o:"null"));case 4:case"end":return n.stop()}}),n)})))},t._setObjectInStorage=function(e,n){return o(this,void 0,void 0,r.mark((function o(){return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t.Storage._setItem(e,JSON.stringify(n));case 2:case"end":return r.stop()}}),o)})))}},28444:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;var r=n(50065);t._typedJsonParse=function(e,t,n){try{var o=JSON.parse(e);return o}catch(i){}return r.Log.error("Failed to parse ".concat(n)),null}},31328:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();var e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return"xxxxxxxx-xxxx-4xxx-".concat(n,"xxx-xxxxxxxxxxxx").replace(/[xy]/g,(function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)}))}},88853:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getOverridableUrl=void 0,t._getOverridableUrl=function(e,t,n,r){return e||(t?"".concat(t).concat(n):"".concat(r).concat(n))}},16032:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},20923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;var r=n(92602),o="foreground",i="background",a=[],u=o,s=!1;t._isCurrentlyVisible=function(){return u===o};t._isUnloading=function(){return s};t._subscribeToVisiblityChanged=function(e){a.unshift(e)};t._notifyVisibilityChanged=function(e){e!==u&&(u=e,a.forEach((function(t){return t(e)})))},(0,r._addWindowEventListenerSafe)("focus",(function(){s=!1,(0,t._notifyVisibilityChanged)(o)})),(0,r._addWindowEventListenerSafe)("blur",(function(){return(0,t._notifyVisibilityChanged)(i)})),(0,r._addWindowEventListenerSafe)("beforeunload",(function(){s=!0,(0,t._notifyVisibilityChanged)(i)})),(0,r._addDocumentEventListenerSafe)("visibilitychange",(function(){(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?o:i)}))},50664:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.Storage=t.EventLogger=void 0,n(27743);var i=n(4827);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return i.EventLogger}});var a=n(50065);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return a.Log}});var u=n(56511),s=n(27567);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return s.Storage}}),o(n(27743),t),o(n(2850),t),o(n(41171),t),o(n(13304),t),o(n(80131),t),o(n(60961),t),o(n(93744),t),o(n(45706),t),o(n(25799),t),o(n(41976),t),o(n(50065),t),o(n(91954),t),o(n(24371),t),o(n(55501),t),o(n(92602),t),o(n(78498),t),o(n(50430),t),o(n(15687),t),o(n(98418),t),o(n(87756),t),o(n(34486),t),o(n(31917),t),o(n(56511),t),o(n(33468),t),o(n(57001),t),o(n(79855),t),o(n(5133),t),o(n(27567),t),o(n(28444),t),o(n(88853),t),o(n(16032),t),o(n(31328),t),o(n(20923),t),__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{Log:a.Log,SDK_VERSION:u.SDK_VERSION})},59434:function(e,t,n){"use strict";var r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;t._getStatsigGlobal=function(){return __STATSIG__||c};t._getStatsigGlobalFlag=function(e){return(0,t._getStatsigGlobal)()[e]};t._getInstance=function(e){var n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:n.lastInstance};var a="undefined"!=typeof window?window:{},u=void 0!==n.g?n.g:{},s="undefined"!=typeof globalThis?globalThis:{},c=null!==(i=null!==(o=null!==(r=a.__STATSIG__)&&void 0!==r?r:u.__STATSIG__)&&void 0!==o?o:s.__STATSIG__)&&void 0!==i?i:{instance:t._getInstance};a.__STATSIG__=c,u.__STATSIG__=c,s.__STATSIG__=c},20798:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;var r=n(91698);function o(e,t,n){var o;if(n)return n(e,t);var i=t&&t.customIDs?t.customIDs:{},a=["uid:".concat(null!==(o=null==t?void 0:t.userID)&&void 0!==o?o:""),"cids:".concat(Object.keys(i).sort((function(e,t){return e.localeCompare(t)})).map((function(e){return"".concat(e,"-").concat(i[e])})).join(",")),"k:".concat(e)];return(0,r._DJB2)(a.join("|"))}t._getUserStorageKey=o,t._getStorageKey=function(e,t,n){return t?o(e,t,n):(0,r._DJB2)("k:".concat(e))}},52818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},78258:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCore=void 0;var u=n(30252),s=n(11160),c=n(87214),l=n(14821),f=n(72423),d=function(){function e(t,n){o(this,e),this._adapterName=t,this._cacheSuffix=n,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey="statsig.last_modified_time.".concat(n),this._inMemoryCache=new h}return i(e,[{key:"attach",value:function(e,t){this._sdkKey=e,this._options=t}},{key:"getDataSync",value:function(e){var t=this._getCacheKey(e),n=this._inMemoryCache.get(t,e);if(n)return n;var r=this._loadFromCache(t);return r?(this._inMemoryCache.add(t,r),this._inMemoryCache.get(t,e)):null}},{key:"setData",value:function(e,t){var n,r=t&&(0,c._normalizeUser)(t,null===(n=this._options)||void 0===n?void 0:n.environment),o=this._getCacheKey(r);this._inMemoryCache.add(o,p("Bootstrap",e,null,r))}},{key:"__primeInMemoryCache",value:function(e){this._inMemoryCache.merge(e)}},{key:"_getDataAsyncImpl",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null!=e?e:this.getDataSync(t),a=[this._fetchAndPrepFromNetwork(i,t,n)],(null==n?void 0:n.timeoutMs)&&a.push(new Promise((function(e){return setTimeout(e,n.timeoutMs)})).then((function(){return u.Log.debug("Fetching latest value timed out"),null}))),r.next=5,Promise.race(a);case 5:return r.abrupt("return",r.sent);case 6:case"end":return r.stop()}}),o,this)})))}},{key:"_prefetchDataImpl",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=this._getCacheKey(e),n.next=3,this._getDataAsyncImpl(null,e,t);case 3:(i=n.sent)&&this._inMemoryCache.add(o,Object.assign(Object.assign({},i),{source:"Prefetch"}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_fetchAndPrepFromNetwork",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a,c,l,d,h,v;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null,e&&this._isCachedResultValidFor204(e,t)&&(i=e.data),r.next=4,this._fetchFromNetwork(i,t,n);case 4:if(a=r.sent){r.next=8;break}return u.Log.debug("No response returned for latest value"),r.abrupt("return",null);case 8:return c=(0,f._typedJsonParse)(a,"has_updates","Response"),l=this._getSdkKey(),r.next=12,s.StableID.get(l);case 12:if(d=r.sent,h=null,!0!==(null==c?void 0:c.has_updates)){r.next=18;break}h=p("Network",a,d,t),r.next=23;break;case 18:if(!i||!1!==(null==c?void 0:c.has_updates)){r.next=22;break}h=p("NetworkNotModified",i,d,t),r.next=23;break;case 22:return r.abrupt("return",null);case 23:return v=this._getCacheKey(t),this._inMemoryCache.add(v,h),r.next=27,this._writeToCache(v,h);case 27:return r.abrupt("return",h);case 28:case"end":return r.stop()}}),o,this)})))}},{key:"_getSdkKey",value:function(){return null!=this._sdkKey?this._sdkKey:(u.Log.error("".concat(this._adapterName," is not attached to a Client")),"")}},{key:"_loadFromCache",value:function(e){var t,n=null===(t=l.Storage._getItemSync)||void 0===t?void 0:t.call(l.Storage,e);if(null==n)return null;var r=(0,f._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}},{key:"_writeToCache",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.Storage._setItem(e,JSON.stringify(t));case 2:return n.next=4,this._runLocalStorageCacheEviction(e);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"_runLocalStorageCacheEviction",value:function(e){var t;return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,l._getObjectFromStorage)(this._lastModifiedStoreKey);case 2:if(n.t1=t=n.sent,n.t0=null!==n.t1,!n.t0){n.next=6;break}n.t0=void 0!==t;case 6:if(!n.t0){n.next=10;break}n.t2=t,n.next=11;break;case 10:n.t2={};case 11:if((o=n.t2)[e]=Date.now(),!(i=v(o,10))){n.next=18;break}return delete o[i],n.next=18,l.Storage._removeItem(i);case 18:return n.next=20,(0,l._setObjectInStorage)(this._lastModifiedStoreKey,o);case 20:case"end":return n.stop()}}),n,this)})))}}]),e}();function p(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,c._getFullUserHash)(r)}}t.DataAdapterCore=d;var h=function(){function e(){o(this,e),this._data={}}return i(e,[{key:"get",value:function(e,t){var n,r=this._data[e],o=null==r?void 0:r.stableID,i=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return i&&o&&i!==o?(u.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}},{key:"add",value:function(e,t){var n=v(this._data,9);n&&delete this._data[n],this._data[e]=t}},{key:"merge",value:function(e){this._data=Object.assign(Object.assign({},this._data),e)}}]),e}();function v(e,t){var n=Object.keys(e);return n.length<=t?null:n.reduce((function(t,n){var r=e[t],o=e[n];return"object"==typeof r&&"object"==typeof o?o.receivedAt<r.receivedAt?n:t:o<r?n:t}))}},70194:function(e,t,n){"use strict";var r=n(34575),o=n(93913);Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;var i=function(){function e(){r(this,e)}return o(e,null,[{key:"mark",value:function(){}}]),e}();t.Diagnostics=i},24892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},89537:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;var u=n(30252),s=n(1807),c=n(98710);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";var l="[Statsig] UnknownError",f=function(){function e(t,n,r){o(this,e),this._sdkKey=t,this._options=n,this._emitter=r,this._seen=new Set}return i(e,[{key:"wrap",value:function(e){var t=this;try{var n=e;(function(e){var t=new Set,n=Object.getPrototypeOf(e);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter((function(e){return"function"==typeof(null==n?void 0:n[e])})).forEach((function(e){return t.add(e)})),n=Object.getPrototypeOf(n);return Array.from(t)})(n).forEach((function(r){var o=n[r];"$EB"in o||(n[r]=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t._capture(r,(function(){return o.apply(e,i)}))},n[r].$EB=!0)}))}catch(r){this._onError("eb:wrap",r)}}},{key:"logError",value:function(e,t){this._onError(e,t)}},{key:"_capture",value:function(e,t){var n=this;try{var r=t();return r&&r instanceof Promise?r.catch((function(t){return n._onError(e,t)})):r}catch(o){return this._onError(e,o),null}}},{key:"_onError",value:function(e,n){var o=this;try{u.Log.warn("Caught error in ".concat(e),{error:n});a(o,void 0,void 0,r.mark((function o(){var i,a,u,f,p,h,v,g,m,y,b,w,_,x,S;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(g=n||Error(l),m=g instanceof Error,y=m?g.name:"No Name",!this._seen.has(y)){r.next=5;break}return r.abrupt("return");case 5:if(this._seen.add(y),!(null===(a=null===(i=this._options)||void 0===i?void 0:i.networkConfig)||void 0===a?void 0:a.preventAllNetworkTraffic)){r.next=9;break}return null===(u=this._emitter)||void 0===u||u.call(this,{name:"error",error:n}),r.abrupt("return");case 9:return b=s.SDKType._get(this._sdkKey),w=c.StatsigMetadataProvider.get(),_=m?g.stack:d(g),x=JSON.stringify(Object.assign({tag:e,exception:y,info:_},Object.assign(Object.assign({},w),{sdkType:b}))),S=null!==(h=null===(p=null===(f=this._options)||void 0===f?void 0:f.networkConfig)||void 0===p?void 0:p.networkOverrideFunc)&&void 0!==h?h:fetch,r.next=16,S(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(b),"STATSIG-SDK-VERSION":String(w.sdkVersion),"Content-Type":"application/json"},body:x});case 16:null===(v=this._emitter)||void 0===v||v.call(this,{name:"error",error:n});case 17:case"end":return r.stop()}}),o,this)}))).then((function(){})).catch((function(){}))}catch(i){}}}]),e}();function d(e){try{return JSON.stringify(e)}catch(t){return l}}t.ErrorBoundary=f},99751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},90296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},12835:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;var s=n(91698),c=n(30252),l=n(81360),f=n(23422),d=n(25156),p=n(14821),h=n(92872),v=n(88176),g={},m=function(e){var t;null===(t=g[e])||void 0===t||t.flush().catch((function(){}))},y=function(){function e(t,n,r,o){var a;i(this,e),this._sdkKey=t,this._emitter=n,this._network=r,this._options=o,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),g[t]=this,this._isLoggingDisabled=!0===(null==o?void 0:o.disableLogging),this._maxQueueSize=null!==(a=null==o?void 0:o.loggingBufferMaxSize)&&void 0!==a?a:50;var u=null==o?void 0:o.networkConfig;this._logEventUrl=(0,h._getOverridableUrl)(null==u?void 0:u.logEventUrl,null==u?void 0:u.api,"/rgstr",l.NetworkDefault.eventsApi),(0,v._subscribeToVisiblityChanged)((function(e){"background"===e&&m(t)})),this._retryFailedLogs(),this._startBackgroundFlushInterval()}return a(e,[{key:"setLoggingDisabled",value:function(e){this._isLoggingDisabled=e}},{key:"enqueue",value:function(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&m(this._sdkKey))}},{key:"incrementNonExposureCount",value:function(e){var t,n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}},{key:"reset",value:function(){this._lastExposureTimeMap={}}},{key:"shutdown",value:function(){return u(this,void 0,void 0,o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),e.next=3,this.flush();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"flush",value:function(){return u(this,void 0,void 0,o.mark((function e(){var t;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._appendAndResetNonExposedChecks(),0!==this._queue.length){e.next=3;break}return e.abrupt("return");case 3:return t=this._queue,this._queue=[],e.abrupt("return",this._sendEvents(t));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"_quickFlushIfNeeded",value:function(){var e=this;this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout((function(){return m(e._sdkKey)}),200))}},{key:"_shouldLogEvent",value:function(e){if(!(0,d._isExposureEvent)(e))return!0;var t=e.user?e.user:{},n=e.metadata?e.metadata:{},r=[e.eventName,t.userID,n.gate,n.config,n.ruleID].join("|"),o=this._lastExposureTimeMap[r],i=Date.now();return!(o&&i-o<6e4)&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[r]=i,!0)}},{key:"_sendEvents",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this._isLoggingDisabled){r.next=3;break}return this._saveFailedLogsToStorage(e),r.abrupt("return");case 3:if(r.prev=3,i=!(0,v._isCurrentlyVisible)(),!(i&&this._network.isBeaconSupported()&&null==(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc))){r.next=12;break}return r.next=9,this._sendEventsViaBeacon(e);case 9:r.t0=r.sent,r.next=15;break;case 12:return r.next=14,this._sendEventsViaPost(e);case 14:r.t0=r.sent;case 15:r.t0.success?this._emitter({name:"logs_flushed",events:e}):this._saveFailedLogsToStorage(e),r.next=22;break;case 19:r.prev=19,r.t1=r.catch(3),c.Log.warn("Failed to flush events.");case 22:case"end":return r.stop()}}),r,this,[[3,19]])})))}},{key:"_sendEventsViaPost",value:function(e){var t;return u(this,void 0,void 0,o.mark((function n(){var r,i;return o.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._network.post(this._getRequestData(e));case 2:return r=n.sent,i=null!==(t=null==r?void 0:r.code)&&void 0!==t?t:-1,n.abrupt("return",{success:i>=200&&i<300});case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_sendEventsViaBeacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._network.beacon(this._getRequestData(e));case 2:return t.t0=t.sent,t.abrupt("return",{success:t.t0});case 4:case"end":return t.stop()}}),t,this)})))}},{key:"_getRequestData",value:function(e){return{sdkKey:this._sdkKey,data:{events:e},url:this._logEventUrl,retries:3,isCompressable:!0,params:r({},l.NetworkParam.EventCount,String(e.length))}}},{key:"_saveFailedLogsToStorage",value:function(e){for(;e.length>500;)e.shift();var t=this._getStorageKey();(0,p._setObjectInStorage)(t,e).catch((function(){c.Log.warn("Unable to save failed logs to storage")}))}},{key:"_retryFailedLogs",value:function(){var e=this,t=this._getStorageKey();u(e,void 0,void 0,o.mark((function e(){var n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p._getObjectFromStorage)(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,p.Storage._removeItem(t);case 7:return e.next=9,this._sendEvents(n);case 9:case"end":return e.stop()}}),e,this)}))).catch((function(){c.Log.warn("Failed to flush stored logs")}))}},{key:"_getStorageKey",value:function(){return"statsig.failed_logs.".concat((0,s._DJB2)(this._sdkKey))}},{key:"_normalizeAndAppendEvent",value:function(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);var t={},n=this._getCurrentPageUrl();n&&(t.statsigMetadata={currentPage:n});var r=Object.assign(Object.assign({},e),t);c.Log.debug("Enqueued Event:",r),this._queue.push(r)}},{key:"_appendAndResetNonExposedChecks",value:function(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}},{key:"_getCurrentPageUrl",value:function(){var e;if(!1!==(null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents))return(0,f._getCurrentPageUrlSafe)()}},{key:"_startBackgroundFlushInterval",value:function(){var e,t,n=this;if(!(0,f._isServerEnv)()){var r=null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingIntervalMs)&&void 0!==t?t:1e4,o=setInterval((function(){g[n._sdkKey]._flushIntervalId!==o?clearInterval(o):m(n._sdkKey)}),r);this._flushIntervalId=o}}}]),e}();t.EventLogger=y},91698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;var r=n(1841);t._DJB2=function(e){for(var t=0,n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return String(t>>>0)};t._DJB2Object=function(e,n){return(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,n)))};t._getSortedObject=function(e,n){if(null==e)return null;var o=Object.keys(e).sort(),i={};return o.forEach((function(o){var a=e[o];0!==n&&"object"===(0,r._typeOf)(a)?i[o]=(0,t._getSortedObject)(a,null!=n?n-1:n):i[o]=a})),i}},11350:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},30252:function(e,t,n){"use strict";var r,o=n(319),i=n(34575),a=n(93913);function u(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Info=3]="Info",e[e.Debug=4]="Debug"}(r||(t.LogLevel=r={}));var s=function(){function e(){i(this,e)}return a(e,null,[{key:"info",value:function(){if(this.level>=r.Info){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).info.apply(e,o(u(n)))}}},{key:"debug",value:function(){if(this.level>=r.Debug){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).debug.apply(e,o(u(n)))}}},{key:"warn",value:function(){if(this.level>=r.Warn){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).warn.apply(e,o(u(n)))}}},{key:"error",value:function(){if(this.level>=r.Error){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).error.apply(e,o(u(n)))}}}]),e}();t.Log=s,s.level=r.Error},81360:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=void 0,t.NetworkDefault={eventsApi:"https://prodregistryv2.org/v1",initializeApi:"https://featureassets.org/v1",specsApi:"https://assetsconfigcdn.org/v1"},function(e){e.EventCount="ec",e.SdkKey="k",e.SdkType="st",e.SdkVersion="sv",e.Time="t",e.SessionID="sid",e.StatsigEncoded="se",e.IsGzipped="gz"}(n||(t.NetworkParam=n={}))},33033:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,n(59434);var s=n(59434),c=n(70194),l=n(30252),f=n(81360),d=n(1807),p=n(23422),h=n(40372),v=n(11160),g=n(98710),m=n(88176),y=function(){function e(t,n){i(this,e),this._emitter=n,this._timeout=1e4,this._netConfig={},this._options={},t&&(this._options=t),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs)}return a(e,[{key:"post",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._getPopulatedBody(e);case 2:return n=t.sent,e.isStatsigEncodable&&(n=this._attemptToEncodeString(e,n)),t.abrupt("return",this._sendRequest(Object.assign({method:"POST",body:n},e)));case 5:case"end":return t.stop()}}),t,this)})))}},{key:"get",value:function(e){return this._sendRequest(Object.assign({method:"GET"},e))}},{key:"isBeaconSupported",value:function(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}},{key:"beacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(b(e)){t.next=2;break}return t.abrupt("return",!1);case 2:return t.next=4,this._getPopulatedBody(e);case 4:return n=t.sent,t.next=7,this._getPopulatedURL(e);case 7:return r=t.sent,i=navigator,t.abrupt("return",i.sendBeacon.bind(i)(r,n));case 10:case"end":return t.stop()}}),t,this)})))}},{key:"_sendRequest",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i,a,u,s,f,d,p,h,v,g,y,_,x,S,k=this;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b(e)){r.next=2;break}return r.abrupt("return",null);case 2:if(!this._netConfig.preventAllNetworkTraffic){r.next=4;break}return r.abrupt("return",null);case 4:return i=e.method,a=e.body,u=e.retries,s="undefined"!=typeof AbortController?new AbortController:null,f=setTimeout((function(){return null==s?void 0:s.abort("Timeout of ".concat(k._timeout,"ms expired."))}),this._timeout),r.next=9,this._getPopulatedURL(e);case 9:return d=r.sent,p=null,h=(0,m._isUnloading)(),r.prev=12,v={method:i,body:a,headers:Object.assign({},e.headers),signal:null==s?void 0:s.signal,priority:e.priority,keepalive:h},g=null!==(t=this._netConfig.networkOverrideFunc)&&void 0!==t?t:fetch,r.next=17,g(d,v);case 17:if(p=r.sent,clearTimeout(f),p.ok){r.next=26;break}return r.next=22,p.text().catch((function(){return"No Text"}));case 22:throw y=r.sent,(_=new Error("NetworkError: ".concat(d," ").concat(y))).name="NetworkError",_;case 26:return r.next=28,p.text();case 28:return x=r.sent,c.Diagnostics.mark(),r.abrupt("return",{body:x,code:p.status});case 33:if(r.prev=33,r.t0=r.catch(12),S=w(s,r.t0),c.Diagnostics.mark(),u&&!(u<=0)){r.next=41;break}return null===(n=this._emitter)||void 0===n||n.call(this,{name:"error",error:r.t0}),l.Log.error("A networking error occured during ".concat(i," request to ").concat(d,"."),S,r.t0),r.abrupt("return",null);case 41:return r.abrupt("return",this._sendRequest(Object.assign(Object.assign({},e),{retries:u-1})));case 42:case"end":return r.stop()}}),r,this,[[12,33]])})))}},{key:"_getPopulatedURL",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,i,a;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=Object,r(n={},f.NetworkParam.SdkKey,e.sdkKey),r(n,f.NetworkParam.SdkType,d.SDKType._get(e.sdkKey)),r(n,f.NetworkParam.SdkVersion,g.SDK_VERSION),r(n,f.NetworkParam.Time,String(Date.now())),t.t1=r,t.t2=n,t.t3=f.NetworkParam.SessionID,t.next=11,h.SessionID.get(e.sdkKey);case 11:return t.t4=t.sent,(0,t.t1)(t.t2,t.t3,t.t4),t.t5=n,t.t6=e.params,i=t.t0.assign.call(t.t0,t.t5,t.t6),a=Object.keys(i).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(i[e]))})).join("&"),t.abrupt("return","".concat(e.url).concat(a?"?".concat(a):""));case 18:case"end":return t.stop()}}),t)})))}},{key:"_getPopulatedBody",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i,a,u;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.data,r=e.sdkKey,t.next=3,v.StableID.get(r);case 3:return i=t.sent,t.next=6,h.SessionID.get(r);case 6:return a=t.sent,u=d.SDKType._get(r),t.abrupt("return",JSON.stringify(Object.assign(Object.assign({},n),{statsigMetadata:Object.assign(Object.assign({},g.StatsigMetadataProvider.get()),{stableID:i,sessionID:a,sdkType:u})})));case 9:case"end":return t.stop()}}),t)})))}},{key:"_attemptToEncodeString",value:function(e,t){var n,o,i=(0,p._getWindowSafe)();if(!e.isStatsigEncodable||this._options.disableStatsigEncoding||null!=(0,s._getStatsigGlobalFlag)("no-encode")||!(null==i?void 0:i.btoa))return t;try{var a=null!==(n=i.btoa(t).split("").reverse().join(""))&&void 0!==n?n:t;return e.params=Object.assign(Object.assign({},null!==(o=e.params)&&void 0!==o?o:{}),r({},f.NetworkParam.StatsigEncoded,"1")),a}catch(u){return l.Log.warn("/initialize request encoding failed"),t}}}]),e}();t.NetworkCore=y;var b=function(e){return!!e.sdkKey||(l.Log.warn("Unable to make request without an SDK key"),!1)};function w(e,t){return(null==e?void 0:e.signal.aborted)&&"string"==typeof e.signal.reason?e.signal.reason:"string"==typeof t?t:t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error"}},84945:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},92695:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1807:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;var n,r={};t.SDKType={_get:function(e){var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=n?n:"")},_setClientType:function(e,t){r[e]=t},_setBindingType:function(e){n&&"-react"!==n||(n="-"+e)}}},23422:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0;t._getWindowSafe=function(){return"undefined"!=typeof window?window:null};t._getDocumentSafe=function(){var e,n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null};t._isServerEnv=function(){if(null!==(0,t._getDocumentSafe)())return!1;var e="undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node;return"string"==typeof EdgeRuntime||e};t._addWindowEventListenerSafe=function(e,n){var r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._addDocumentEventListenerSafe=function(e,n){var r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._getCurrentPageUrlSafe=function(){var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(n){return}}},40372:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;var i=n(20798),a=n(30252),u=n(14821),s=n(8403),c=18e5,l=144e5,f={};function d(e){return o(this,void 0,void 0,r.mark((function t(){var n,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g(e);case 2:return n=t.sent,o=Date.now(),n||(n={sessionID:(0,s.getUUID)(),startTime:o,lastUpdate:o}),t.abrupt("return",{data:n,sdkKey:e});case 6:case"end":return t.stop()}}),t)})))}function p(e){var t,n,r=Date.now(),o=e.data;n=o.lastUpdate,(Date.now()-n>c||(t=o.startTime,Date.now()-t>l))&&(o.sessionID=(0,s.getUUID)(),o.startTime=r),o.lastUpdate=r,function(e,t){var n=v(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save SessionID")}))}(o,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);var i=r-o.startTime,f=e.sdkKey;return e.idleTimeoutID=h(f,c),e.ageTimeoutID=h(f,l-i),e}function h(e,t){return setTimeout((function(){var t=null===__STATSIG__||void 0===__STATSIG__?void 0:__STATSIG__.instance(e);t&&t.$emt({name:"session_expired"})}),t)}function v(e){return"statsig.session_id.".concat((0,i._getStorageKey)(e))}function g(e){var t=v(e);return(0,u._getObjectFromStorage)(t)}t.SessionID={get:function(e){return o(void 0,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",t.StatsigSession.get(e).then((function(e){return e.data.sessionID})));case 1:case"end":return n.stop()}}),n)})))}},t.StatsigSession={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){var n;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==f[e]&&(f[e]=d(e)),t.next=3,f[e];case 3:return n=t.sent,t.abrupt("return",p(n));case 5:case"end":return t.stop()}}),t)})))},overrideInitialSessionID:function(e,t){f[t]=function(e,t){var n=Date.now();return Promise.resolve({data:{sessionID:e,startTime:n,lastUpdate:n},sdkKey:t})}(e,t)}}},11160:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StableID=void 0;var i=n(20798),a=n(30252),u=n(14821),s=n(8403),c={};function l(e){return"statsig.stable_id.".concat((0,i._getStorageKey)(e))}function f(e,t){var n=l(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save StableID")}))}function d(e){var t=l(e);return(0,u._getObjectFromStorage)(t)}t.StableID={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==c[e]&&(c[e]=d(e).then((function(t){if(null!=t)return t;var n=(0,s.getUUID)();return f(n,e),n}))),t.abrupt("return",c[e]);case 2:case"end":return t.stop()}}),t)})))},setOverride:function(e,t){c[t]=Promise.resolve(e),f(e,t)}}},50754:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(59434);var u=n(59434),s=n(89537),c=n(12835),l=n(30252),f=n(23422),d=n(40372),p=n(14821),h=function(){function e(t,n,r,i){var a,h;o(this,e),this.loadingStatus="Uninitialized",this._listeners={};var v=this.$emt.bind(this);if(null!=(null==i?void 0:i.logLevel)&&(l.Log.level=i.logLevel),(null==i?void 0:i.disableStorage)&&p.Storage._setDisabled(!0),(null==i?void 0:i.initialSessionID)&&d.StatsigSession.overrideInitialSessionID(i.initialSessionID,t),this._sdkKey=t,this._options=null!=i?i:{},this._overrideAdapter=null!==(a=null==i?void 0:i.overrideAdapter)&&void 0!==a?a:null,this._logger=new c.EventLogger(t,v,r,i),this._errorBoundary=new s.ErrorBoundary(t,i,v),this._errorBoundary.wrap(this),this._errorBoundary.wrap(r),this._errorBoundary.wrap(n),this._errorBoundary.wrap(this._logger),!(0,f._isServerEnv)()){var g=(0,u._getStatsigGlobal)(),m=null!==(h=g.instances)&&void 0!==h?h:{};null!=m[t]&&l.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),m[t]=this,g.lastInstance=this,g.instances=m,__STATSIG__=g}this.dataAdapter=n,this.dataAdapter.attach(t,i),this._primeReadyRipcord()}return i(e,[{key:"updateRuntimeOptions",value:function(e){null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingDisabled(e.disableLogging)),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,p.Storage._setDisabled(e.disableStorage))}},{key:"flush",value:function(){return this._logger.flush()}},{key:"shutdown",value:function(){return a(this,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$emt({name:"pre_shutdown"}),e.next=3,this._logger.shutdown();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"on",value:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}},{key:"off",value:function(e,t){if(this._listeners[e]){var n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}},{key:"$on",value:function(e,t){t.__isInternal=!0,this.on(e,t)}},{key:"$emt",value:function(e){var t,n=this,r=function(t){try{t(e)}catch(r){if(!0===t.__isInternal)return void n._errorBoundary.logError("__emit:".concat(e.name),r);l.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach((function(e){return r(e)})),null===(t=this._listeners["*"])||void 0===t||t.forEach(r)}},{key:"_setStatus",value:function(e,t){this.loadingStatus=e,this.$emt({name:"values_updated",status:e,values:t})}},{key:"_enqueueExposure",value:function(e,t,n){!0!==(null==n?void 0:n.disableExposureLog)?this._logger.enqueue(t):this._logger.incrementNonExposureCount(e)}}]),e}();t.StatsigClientBase=h},53333:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},28026:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},25156:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._createGateExposure=t._isExposureEvent=void 0;var n="statsig::config_exposure",r="statsig::gate_exposure",o=function(e,t,n,r,o){return{eventName:e,user:t,value:null,metadata:i(n,r),secondaryExposures:o,time:Date.now()}};t._isExposureEvent=function(e){var t=e.eventName;return t===r||t===n};t._createGateExposure=function(e,t){var n,i;return o(r,e,t.details,{gate:t.name,gateValue:String(t.value),ruleID:t.ruleID},null!==(i=null===(n=t.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==i?i:[])};t._createConfigExposure=function(e,t){var r,i;return o(n,e,t.details,{config:t.name,ruleID:t.ruleID},null!==(i=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==i?i:[])};t._createLayerParameterExposure=function(e,t,n){var r,i,a,u=t.__evaluation,s=!0===(null===(r=null==u?void 0:u.explicit_parameters)||void 0===r?void 0:r.includes(n)),c="",l=null!==(i=null==u?void 0:u.undelegated_secondary_exposures)&&void 0!==i?i:[];return s&&(c=null!==(a=u.allocated_experiment_name)&&void 0!==a?a:"",l=u.secondary_exposures),o("statsig::layer_exposure",e,t.details,{config:t.name,parameterName:n,ruleID:t.ruleID,allocatedExperiment:c,isExplicitParameter:String(s)},l)};var i=function(e,t){return t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t}},98710:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="1.4.0";var n={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:function(){return n},add:function(e){n=Object.assign(Object.assign({},n),e)}}},99405:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},18893:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;var r=n(1841);function o(e,t,n,r){var o;return{name:e,details:t,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"default",__evaluation:n,value:r}}function i(e,t,n){var r,i=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:{};return Object.assign(Object.assign({},o(e,t,n,i)),{get:a(null==n?void 0:n.value)})}function a(e,t){return function(n,o){var i,a=null!==(i=null==e?void 0:e[n])&&void 0!==i?i:null;return null==a?null!=o?o:null:null==o||(0,r._isTypeMatch)(a,o)?(null==t||t(n),a):null!=o?o:null}}t._makeFeatureGate=function(e,t,n){return o(e,t,n,!0===(null==n?void 0:n.value))},t._makeDynamicConfig=i,t._makeExperiment=function(e,t,n){var r,o=i(e,t,n);return Object.assign(Object.assign({},o),{groupName:null!==(r=null==n?void 0:n.group_name)&&void 0!==r?r:null})},t._makeLayer=function(e,t,n,r){var i,u;return Object.assign(Object.assign({},o(e,t,n,void 0)),{get:a(null==n?void 0:n.value,r),groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null,__value:null!==(u=null==n?void 0:n.value)&&void 0!==u?u:{}})},t._mergeOverride=function(e,t,n,r){return Object.assign(Object.assign(Object.assign({},e),t),{get:a(n,r)})},t._makeTypedGet=a},55017:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},87214:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;var r=n(91698),o=n(30252);t._normalizeUser=function(e,t){try{var n=JSON.parse(JSON.stringify(e));return null!=t&&(n.statsigEnvironment=t),n}catch(r){return o.Log.error("Failed to JSON.stringify user"),{}}},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null}},14821:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;var i=n(30252),a=n(23422),u={},s=function(e){return Promise.resolve(e)},c={_getProviderName:function(){return"InMemory"},_getItemSync:function(e){return u[e]?u[e]:null},_getItem:function(e){return s(u[e]?u[e]:null)},_setItem:function(e,t){return u[e]=t,s()},_removeItem:function(e){return delete u[e],s()},_getAllKeys:function(){return s(Object.keys(u))}},l=null;try{var f=(0,a._getWindowSafe)();f&&f.localStorage&&"function"==typeof f.localStorage.getItem&&(l={_getProviderName:function(){return"LocalStorage"},_getItemSync:function(e){return f.localStorage.getItem(e)},_getItem:function(e){return s(f.localStorage.getItem(e))},_setItem:function(e,t){return f.localStorage.setItem(e,t),s()},_removeItem:function(e){return f.localStorage.removeItem(e),s()},_getAllKeys:function(){return s(Object.keys(f.localStorage))}})}catch(v){i.Log.warn("Failed to setup localStorageProvider.")}var d=null!=l?l:c,p=d;function h(e){try{return e()}catch(v){if(v instanceof Error&&"SecurityError"===v.name)return t.Storage._setProvider(c),null;throw v}}t.Storage={_getProviderName:function(){return p._getProviderName()},_getItem:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h((function(){return p._getItem(e)})));case 1:case"end":return t.stop()}}),t)})))},_getItemSync:function(e){return h((function(){return p._getItemSync?p._getItemSync(e):null}))},_setItem:function(e,t){return p._setItem(e,t)},_removeItem:function(e){return p._removeItem(e)},_getAllKeys:function(){return p._getAllKeys()},_setProvider:function(e){d=e,p=e},_setDisabled:function(e){p=e?c:d}},t._getObjectFromStorage=function(e){return o(this,void 0,void 0,r.mark((function n(){var o;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.Storage._getItem(e);case 2:return o=n.sent,n.abrupt("return",JSON.parse(null!=o?o:"null"));case 4:case"end":return n.stop()}}),n)})))},t._setObjectInStorage=function(e,n){return o(this,void 0,void 0,r.mark((function o(){return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t.Storage._setItem(e,JSON.stringify(n));case 2:case"end":return r.stop()}}),o)})))}},72423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;var r=n(30252);t._typedJsonParse=function(e,t,n){try{var o=JSON.parse(e);return o}catch(i){}return r.Log.error("Failed to parse ".concat(n)),null}},1841:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){var n=function(e){return Array.isArray(e)?"array":typeof e};return n(e)===n(t)}},8403:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();var e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return"xxxxxxxx-xxxx-4xxx-".concat(n,"xxx-xxxxxxxxxxxx").replace(/[xy]/g,(function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)}))}},92872:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getOverridableUrl=void 0,t._getOverridableUrl=function(e,t,n,r){return e||(t?"".concat(t).concat(n):"".concat(r).concat(n))}},88176:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;var r=n(23422),o="foreground",i="background",a=[],u=o,s=!1;t._isCurrentlyVisible=function(){return u===o};t._isUnloading=function(){return s};t._subscribeToVisiblityChanged=function(e){a.unshift(e)};t._notifyVisibilityChanged=function(e){e!==u&&(u=e,a.forEach((function(t){return t(e)})))},(0,r._addWindowEventListenerSafe)("focus",(function(){s=!1,(0,t._notifyVisibilityChanged)(o)})),(0,r._addWindowEventListenerSafe)("blur",(function(){return(0,t._notifyVisibilityChanged)(i)})),(0,r._addWindowEventListenerSafe)("beforeunload",(function(){s=!0,(0,t._notifyVisibilityChanged)(i)})),(0,r._addDocumentEventListenerSafe)("visibilitychange",(function(){(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?o:i)}))},38620:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.Storage=t.EventLogger=void 0,n(59434);var i=n(12835);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return i.EventLogger}});var a=n(30252);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return a.Log}});var u=n(98710),s=n(14821);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return s.Storage}}),o(n(59434),t),o(n(20798),t),o(n(52818),t),o(n(78258),t),o(n(24892),t),o(n(89537),t),o(n(99751),t),o(n(90296),t),o(n(91698),t),o(n(11350),t),o(n(30252),t),o(n(33033),t),o(n(81360),t),o(n(84945),t),o(n(92695),t),o(n(23422),t),o(n(1807),t),o(n(40372),t),o(n(11160),t),o(n(50754),t),o(n(53333),t),o(n(28026),t),o(n(25156),t),o(n(98710),t),o(n(99405),t),o(n(18893),t),o(n(55017),t),o(n(87214),t),o(n(14821),t),o(n(72423),t),o(n(1841),t),o(n(92872),t),o(n(8403),t),o(n(88176),t),__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{Log:a.Log,SDK_VERSION:u.SDK_VERSION})},96300:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._resolveDeltasResponse=void 0;var r=n(38620);function o(e,t){null==e||e.forEach((function(e){delete t[e]}))}t._resolveDeltasResponse=function(e,t){var n=(0,r._typedJsonParse)(t,"checksum","DeltasEvaluationResponse");if(!n)return{hadBadDeltaChecksum:!0};var i=function(e){var t=e;return o(e.deleted_gates,t.feature_gates),delete t.deleted_gates,o(e.deleted_configs,t.dynamic_configs),delete t.deleted_configs,o(e.deleted_layers,t.layer_configs),delete t.deleted_layers,t}(function(e,t){return Object.assign(Object.assign(Object.assign({},e),t),{feature_gates:Object.assign(Object.assign({},e.feature_gates),t.feature_gates),layer_configs:Object.assign(Object.assign({},e.layer_configs),t.layer_configs),dynamic_configs:Object.assign(Object.assign({},e.dynamic_configs),t.dynamic_configs)})}(e,n)),a=(0,r._DJB2Object)({feature_gates:i.feature_gates,dynamic_configs:i.dynamic_configs,layer_configs:i.layer_configs},2);return a===n.checksumV2?JSON.stringify(i):{hadBadDeltaChecksum:!0,badChecksum:a,badMergedConfigs:i,badFullResponse:n.deltas_full_response}}},94045:function(e,t,n){"use strict";var r=n(34575),o=n(93913);Object.defineProperty(t,"__esModule",{value:!0});var i=n(38620),a=function(){function e(){r(this,e),this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0}return o(e,[{key:"reset",value:function(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0}},{key:"finalize",value:function(){this._values||(this._source="NoValues")}},{key:"getValues",value:function(){return this._rawValues?(0,i._typedJsonParse)(this._rawValues,"has_updates","EvaluationStoreValues"):null}},{key:"setValues",value:function(e){if(e){var t=(0,i._typedJsonParse)(e.data,"has_updates","EvaluationResponse");!0===(null==t?void 0:t.has_updates)&&(this._rawValues=e.data,this._lcut=t.time,this._receivedAt=e.receivedAt,this._source=e.source,this._values=t)}}},{key:"getGate",value:function(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.feature_gates,e)}},{key:"getConfig",value:function(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.dynamic_configs,e)}},{key:"getLayer",value:function(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.layer_configs,e)}},{key:"getParamStore",value:function(e){var t;return this._getDetailedStoreResult(null===(t=this._values)||void 0===t?void 0:t.param_stores,e)}},{key:"_getDetailedStoreResult",value:function(e,t){var n=null;return e&&(n=e[t]?e[t]:e[(0,i._DJB2)(t)]),{result:n,details:this._getDetails(null==n)}}},{key:"_getDetails",value:function(e){if("Uninitialized"===this._source||"NoValues"===this._source)return{reason:this._source};var t=e?"Unrecognized":"Recognized";return{reason:"".concat(this._source,":").concat(t),lcut:this._lcut,receivedAt:this._receivedAt}}}]),e}();t.default=a},79044:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=n(2205),u=n(78585),s=n(29754);function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var f=n(38620),d=n(96300),p=function(e){a(n,e);var t=c(n);function n(e,r){var i;o(this,n),i=t.call(this,e,r);var a=null==e?void 0:e.networkConfig;return i._initializeUrl=(0,f._getOverridableUrl)(null==a?void 0:a.initializeUrl,null==a?void 0:a.api,"/initialize",f.NetworkDefault.initializeApi),i}return i(n,[{key:"fetchEvaluations",value:function(e,t,n,o){return l(this,void 0,void 0,r.mark((function i(){var a,u;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=t?(0,f._typedJsonParse)(t,"has_updates","InitializeResponse"):null,u={user:o,hash:"djb2",deltasResponseRequested:!1},(null==a?void 0:a.has_updates)&&(u=Object.assign(Object.assign({},u),{sinceTime:a.time,previousDerivedFields:"derived_fields"in a?a.derived_fields:{},deltasResponseRequested:!0})),r.abrupt("return",this._fetchEvaluations(e,a,u,n));case 4:case"end":return r.stop()}}),i,this)})))}},{key:"_fetchEvaluations",value:function(e,t,n,o){var i,a;return l(this,void 0,void 0,r.mark((function u(){var s,c;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.post({sdkKey:e,url:this._initializeUrl,data:n,retries:2,isStatsigEncodable:!0,priority:o});case 2:if(204!==(null==(s=r.sent)?void 0:s.code)){r.next=5;break}return r.abrupt("return",'{"has_updates": false}');case 5:if(200===(null==s?void 0:s.code)){r.next=7;break}return r.abrupt("return",null!==(i=null==s?void 0:s.body)&&void 0!==i?i:null);case 7:if(!0===(null==t?void 0:t.has_updates)&&!0===(null===(a=s.body)||void 0===a?void 0:a.includes('"is_delta":true'))&&!0===n.deltasResponseRequested){r.next=9;break}return r.abrupt("return",s.body);case 9:if("string"!=typeof(c=(0,d._resolveDeltasResponse)(t,s.body))){r.next=12;break}return r.abrupt("return",c);case 12:return r.abrupt("return",this._fetchEvaluations(e,t,Object.assign(Object.assign(Object.assign({},n),c),{deltasResponseRequested:!1}),o));case 13:case"end":return r.stop()}}),u,this)})))}}]),n}(f.NetworkCore);t.default=p},44916:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeParamStoreGetter=void 0;var r=n(38620),o={disableExposureLog:!0};function i(e){return null==e||!1===e.disableExposureLog}function a(e,t){return null!=t&&!(0,r._isTypeMatch)(e,t)}t._makeParamStoreGetter=function(e,t,n){return function(u,s){if(null==t)return s;var c=t[u];if(null==c||null!=s&&(0,r._typeOf)(s)!==c.param_type)return s;switch(c.ref_type){case"static":return function(e,t){return e.value}(c);case"gate":return function(e,t,n){return e.getFeatureGate(t.gate_name,i(n)?void 0:o).value?t.pass_value:t.fail_value}(e,c,n);case"dynamic_config":return function(e,t,n,r){var u=e.getDynamicConfig(t.config_name,o).get(t.param_name);return a(u,n)?n:(i(r)&&e.getDynamicConfig(t.config_name),u)}(e,c,s,n);case"experiment":return function(e,t,n,r){var u=e.getExperiment(t.experiment_name,o).get(t.param_name);return a(u,n)?n:(i(r)&&e.getExperiment(t.experiment_name),u)}(e,c,s,n);case"layer":return function(e,t,n,r){var u=e.getLayer(t.layer_name,o).get(t.param_name);return a(u,n)?n:(i(r)&&e.getLayer(t.layer_name).get(t.param_name),u)}(e,c,s,n);default:return s}}}},81033:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=n(2205),u=n(78585),s=n(29754);function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var l=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var f=n(38620),d=n(94045),p=n(79044),h=n(44916),v=n(82379),g=function(e){a(n,e);var t=c(n);function n(e,r){var i,a,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o(this,n),f.SDKType._setClientType(e,"javascript-client");var s=new p.default(u,(function(e){i.$emt(e)}));return(i=t.call(this,e,null!==(a=null==u?void 0:u.dataAdapter)&&void 0!==a?a:new v.StatsigEvaluationsDataAdapter,s,u))._store=new d.default,i._user=r,i}return i(n,[{key:"initializeSync",value:function(){this.updateUserSync(this._user)}},{key:"initializeAsync",value:function(e){return this.updateUserAsync(this._user,e)}},{key:"updateUserSync",value:function(e){this._resetForUser(e);var t=this.dataAdapter.getDataSync(this._user);this._store.setValues(t),this._finalizeUpdate(t),this._runPostUpdate(null!=t?t:null,this._user)}},{key:"updateUserAsync",value:function(e,t){return l(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return this._resetForUser(e),o=this._user,i=this.dataAdapter.getDataSync(o),this._setStatus("Loading",i),this._store.setValues(i),n.next=7,this.dataAdapter.getDataAsync(i,o,t);case 7:if(i=n.sent,o===this._user){n.next=10;break}return n.abrupt("return");case 10:this._store.setValues(i),this._finalizeUpdate(i);case 12:case"end":return n.stop()}}),n,this)})))}},{key:"getContext",value:function(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary}}},{key:"getAsyncContext",value:function(){return l(this,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.t1=Object.assign({},this.getContext()),e.next=4,f.StatsigSession.get(this._sdkKey);case 4:return e.t2=e.sent,e.next=7,f.StableID.get(this._sdkKey);case 7:return e.t3=e.sent,e.t4={session:e.t2,stableID:e.t3},e.abrupt("return",e.t0.assign.call(e.t0,e.t1,e.t4));case 10:case"end":return e.stop()}}),e,this)})))}},{key:"checkGate",value:function(e,t){return this.getFeatureGate(e,t).value}},{key:"getFeatureGate",value:function(e,t){var n,r,o=this._store.getGate(e),i=o.result,a=o.details,u=(0,f._makeFeatureGate)(e,a,i),s=null===(r=null===(n=this._overrideAdapter)||void 0===n?void 0:n.getGateOverride)||void 0===r?void 0:r.call(n,u,this._user,t),c=null!=s?s:u;return this._enqueueExposure(e,(0,f._createGateExposure)(this._user,c),t),this.$emt({name:"gate_evaluation",gate:c}),c}},{key:"getDynamicConfig",value:function(e,t){var n,r,o=this._store.getConfig(e),i=o.result,a=o.details,u=(0,f._makeDynamicConfig)(e,a,i),s=null===(r=null===(n=this._overrideAdapter)||void 0===n?void 0:n.getDynamicConfigOverride)||void 0===r?void 0:r.call(n,u,this._user,t),c=null!=s?s:u;return this._enqueueExposure(e,(0,f._createConfigExposure)(this._user,c),t),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:c}),c}},{key:"getExperiment",value:function(e,t){var n,r,o=this._store.getConfig(e),i=o.result,a=o.details,u=(0,f._makeExperiment)(e,a,i),s=null===(r=null===(n=this._overrideAdapter)||void 0===n?void 0:n.getExperimentOverride)||void 0===r?void 0:r.call(n,u,this._user,t),c=null!=s?s:u;return this._enqueueExposure(e,(0,f._createConfigExposure)(this._user,c),t),this.$emt({name:"experiment_evaluation",experiment:c}),c}},{key:"getLayer",value:function(e,t){var n,r,o,i=this,a=this._store.getLayer(e),u=a.result,s=a.details,c=(0,f._makeLayer)(e,s,u),l=null===(r=null===(n=this._overrideAdapter)||void 0===n?void 0:n.getLayerOverride)||void 0===r?void 0:r.call(n,c,this._user,t),d=(0,f._mergeOverride)(c,l,null!==(o=null==l?void 0:l.__value)&&void 0!==o?o:c.__value,(function(n){i._enqueueExposure(e,(0,f._createLayerParameterExposure)(i._user,d,n),t)}));return this.$emt({name:"layer_evaluation",layer:d}),d}},{key:"getParameterStore",value:function(e,t){var n=this._store.getParamStore(e),r=n.result,o=n.details;return this._logger.incrementNonExposureCount(e),{name:e,details:o,__configuration:r,get:(0,h._makeParamStoreGetter)(this,r,t)}}},{key:"logEvent",value:function(e,t,n){var r="string"==typeof e?{eventName:e,value:t,metadata:n}:e;this._logger.enqueue(Object.assign(Object.assign({},r),{user:this._user,time:Date.now()}))}},{key:"_primeReadyRipcord",value:function(){var e=this;this.$on("error",(function(){"Loading"===e.loadingStatus&&e._finalizeUpdate(null)}))}},{key:"_finalizeUpdate",value:function(e){this._store.finalize(),this._setStatus("Ready",e)}},{key:"_runPostUpdate",value:function(e,t){this.dataAdapter.getDataAsync(e,t,{priority:"low"}).catch((function(e){f.Log.error("An error occurred after update.",e)}))}},{key:"_resetForUser",value:function(e){var t;this._logger.reset(),this._store.reset(),this._user=(0,f._normalizeUser)(e,this._options.environment);var n=null===(t=this._user.customIDs)||void 0===t?void 0:t.stableID;n&&f.StableID.setOverride(n,this._sdkKey)}}],[{key:"instance",value:function(e){var t=(0,f._getStatsigGlobal)().instance(e);return t instanceof n?t:(f.Log.warn((0,f._isServerEnv)()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new n(null!=e?e:"",{}))}}]),n}(f.StatsigClientBase);t.default=g},82379:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=n(16525),u=n(2205),s=n(78585),c=n(29754);function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}var f=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigEvaluationsDataAdapter=void 0;var d=n(38620),p=n(79044),h=function(e){u(n,e);var t=l(n);function n(){var e;return o(this,n),(e=t.call(this,"EvaluationsDataAdapter","evaluations"))._network=null,e._options=null,e}return i(n,[{key:"attach",value:function(e,t){a(c(n.prototype),"attach",this).call(this,e,t),this._network=new p.default(null!=t?t:{})}},{key:"getDataAsync",value:function(e,t,n){return this._getDataAsyncImpl(e,t,n)}},{key:"prefetchData",value:function(e,t){return this._prefetchDataImpl(e,t)}},{key:"setData",value:function(e){var t=(0,d._typedJsonParse)(e,"has_updates","data");t&&"user"in t?a(c(n.prototype),"setData",this).call(this,e,t.user):d.Log.error("StatsigUser not found")}},{key:"setDataLegacy",value:function(e,t){a(c(n.prototype),"setData",this).call(this,e,t)}},{key:"_fetchFromNetwork",value:function(e,t,n){var o;return f(this,void 0,void 0,r.mark((function i(){var a;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,null===(o=this._network)||void 0===o?void 0:o.fetchEvaluations(this._getSdkKey(),e,null==n?void 0:n.priority,t);case 2:return a=r.sent,r.abrupt("return",null!=a?a:null);case 4:case"end":return r.stop()}}),i,this)})))}},{key:"_getCacheKey",value:function(e){var t,n=(0,d._getStorageKey)(this._getSdkKey(),e,null===(t=this._options)||void 0===t?void 0:t.customUserCacheKeyFunc);return"".concat(d.DataAdapterCachePrefix,".").concat(this._cacheSuffix,".").concat(n)}},{key:"_isCachedResultValidFor204",value:function(e,t){return null!=e.fullUserHash&&e.fullUserHash===(0,d._getFullUserHash)(t)}}]),n}(d.DataAdapterCore);t.StatsigEvaluationsDataAdapter=h},36710:function(e,t,n){"use strict";t.my=void 0;var r=n(81033);t.my=r.default,__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{StatsigClient:r.default}),__STATSIG__},75461:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NoopEvaluationsClient=void 0;var i=n(50664),a=function(){},u=function(){return Promise.resolve()},s={reason:"Error"},c=function(e){return function(){var t="string"==typeof(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1];switch(e){case"gate":return(0,i._makeFeatureGate)(t,s,null);case"config":return(0,i._makeDynamicConfig)(t,s,null);case"layer":return(0,i._makeLayer)(t,s,null)}}},l={__primeInMemoryCache:a,attach:a,getDataSync:function(){return null},getDataAsync:function(){return Promise.resolve(null)},setData:a,setDataLegacy:a,prefetchData:u},f={sdkKey:"",options:{},values:null,user:{userID:""},errorBoundary:{}},d={isNoop:!0,loadingStatus:"Uninitialized",initializeSync:a,initializeAsync:u,shutdown:u,flush:u,updateRuntimeOptions:a,updateUserSync:a,updateUserAsync:u,getContext:function(){return Object.assign({},f)},getAsyncContext:function(){return o(void 0,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object.assign(Object.assign({},f),{session:{data:{sessionID:"",startTime:0,lastUpdate:0},sdkKey:""},stableID:""}));case 1:case"end":return e.stop()}}),e)})))},checkGate:function(){return!1},getFeatureGate:c("gate"),getDynamicConfig:c("config"),getExperiment:c("config"),getLayer:c("layer"),logEvent:a,on:a,off:a,$on:a,$emt:a,dataAdapter:l};t.NoopEvaluationsClient=d},69954:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logMissingStatsigUserWarning=t.isNoopClient=t.isPrecomputedEvalClient=void 0;var r=n(50664);function o(e){return"isNoop"in e}t.isPrecomputedEvalClient=function(e){return!o(e)&&"updateUserSync"in e},t.isNoopClient=o,t.logMissingStatsigUserWarning=function(){r.Log.warn("StatsigUser not provided for On Device Evaluation. Returning default value.")}},83134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(75461);t.default=(0,r.createContext)({renderVersion:0,client:o.NoopEvaluationsClient})},58410:function(e,t,n){"use strict";var r=n(63038);Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigProvider=void 0;var o=n(85893),i=n(67294),a=n(50664),u=n(83134);function s(e){if("isNoop"in e)return!0;switch(e.loadingStatus){case"Ready":return!0;default:return!1}}t.StatsigProvider=function(e){var t=e.client,n=e.children,c=(0,i.useState)(0),l=r(c,2),f=l[0],d=l[1];return(0,i.useEffect)((function(){var e=function(){d((function(e){return e+1}))};return a.SDKType._setBindingType("react"),t.$on("values_updated",e),function(){t.shutdown().catch((function(e){a.Log.error("An error occured during shutdown",e)})),t.off("values_updated",e)}}),[t]),(0,o.jsx)(u.default.Provider,{value:{renderVersion:f,client:t},children:s(t)?n:null})}},16491:function(e,t,n){"use strict";t.g_=t.jW=t.aq=t.mj=void 0;var r=n(83134);r.default;var o=n(58410);Object.defineProperty(t,"mj",{enumerable:!0,get:function(){return o.StatsigProvider}});var i=n(31994);i.default;var a=n(56072);t.aq=a.default;var u=n(89523);u.default;var s=n(29082);t.jW=s.default;var c=n(64446);c.default;var l=n(45172);Object.defineProperty(t,"g_",{enumerable:!0,get:function(){return l.useStatsigClient}});var f=n(19706);var d=n(85056);__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{StatsigContext:r.default,StatsigProvider:o.StatsigProvider,useDynamicConfig:i.default,useExperiment:a.default,useGateValue:s.default,useFeatureGate:u.default,useLayer:c.default,useStatsigOnDeviceEvalClient:f.useStatsigOnDeviceEvalClient,useStatsigClient:l.useStatsigClient})},31994:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.default=function(e,t){var n=(0,r.useContext)(u.default),s=n.client,c=n.renderVersion;return(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(s)?s.getDynamicConfig(e,t):null!=(null==t?void 0:t.user)?s.getDynamicConfig(e,t.user,t):(o.Log.warn("useDynamicConfig hook failed to find a valid Statsig client for dynamic config '".concat(e,"'.")),i.NoopEvaluationsClient.getDynamicConfig(e,t))}),[e,s,c,t])}},56072:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.default=function(e,t){var n=(0,r.useContext)(u.default),s=n.client,c=n.renderVersion;return(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(s)?s.getExperiment(e,t):null!=(null==t?void 0:t.user)?s.getExperiment(e,t.user,t):(o.Log.warn("useExperiment hook failed to find a valid Statsig client for experiment '".concat(e,"'.")),i.NoopEvaluationsClient.getExperiment(e,t))}),[e,s,c,t])}},89523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.default=function(e,t){var n=(0,r.useContext)(u.default),s=n.client,c=n.renderVersion;return(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(s)?s.getFeatureGate(e,t):null!=(null==t?void 0:t.user)?s.getFeatureGate(e,t.user,t):(o.Log.warn("useFeatureGate hook failed to find a valid Statsig client for gate '".concat(e,"'.")),i.NoopEvaluationsClient.getFeatureGate(e,t))}),[e,s,c,t])}},29082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.default=function(e,t){var n=(0,r.useContext)(u.default),s=n.client,c=n.renderVersion;return(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(s)?s.checkGate(e,t):null!=(null==t?void 0:t.user)?s.checkGate(e,t.user,t):(o.Log.warn("useFeatureGate hook failed to find a valid Statsig client for gate '".concat(e,"'.")),i.NoopEvaluationsClient.checkGate(e,t))}),[e,s,c,t])}},64446:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.default=function(e,t){var n=(0,r.useContext)(u.default),s=n.client,c=n.renderVersion;return(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(s)?s.getLayer(e,t):null!=(null==t?void 0:t.user)?s.getLayer(e,t.user,t):(o.Log.warn("useLayer hook failed to find a valid Statsig client for layer '".concat(e,"'.")),i.NoopEvaluationsClient.getLayer(e,t))}),[e,s,c,t])}},45172:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigClient=void 0;var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.useStatsigClient=function(){var e=(0,r.useContext)(u.default),t=e.client,n=e.renderVersion,s=(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(t)?t:(o.Log.warn("Attempting to retrieve a StatsigClient but none was set."),i.NoopEvaluationsClient)}),[t,n]),c=[s,n];return{client:s,checkGate:(0,r.useCallback)((function(e,t){return s.checkGate(e,t)}),c),getFeatureGate:(0,r.useCallback)((function(e,t){return s.getFeatureGate(e,t)}),c),getDynamicConfig:(0,r.useCallback)((function(e,t){return s.getDynamicConfig(e,t)}),c),getExperiment:(0,r.useCallback)((function(e,t){return s.getExperiment(e,t)}),c),getLayer:(0,r.useCallback)((function(e,t){return s.getLayer(e,t)}),c),logEvent:(0,r.useCallback)((function(e,t,n){return"string"==typeof e?s.logEvent(e,t,n):s.logEvent(e)}),c)}}},19706:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigOnDeviceEvalClient=void 0;var r=n(67294),o=n(50664),i=n(75461),a=n(69954),u=n(83134);t.useStatsigOnDeviceEvalClient=function(){var e=(0,r.useContext)(u.default),t=e.client,n=e.renderVersion,s=(0,r.useMemo)((function(){return(0,a.isPrecomputedEvalClient)(t)?(o.Log.warn("Attempting to retrieve a StatsigOnDeviceEvalClient but none was set."),i.NoopEvaluationsClient):t}),[t,n]),c=[s,n];return{client:s,checkGate:(0,r.useCallback)((function(e,t){return s.checkGate(e,t)}),c),getFeatureGate:(0,r.useCallback)((function(e,t){return s.getFeatureGate(e,t)}),c),getDynamicConfig:(0,r.useCallback)((function(e,t){return s.getDynamicConfig(e,t)}),c),getExperiment:(0,r.useCallback)((function(e,t){return s.getExperiment(e,t)}),c),getLayer:(0,r.useCallback)((function(e,t){return s.getLayer(e,t)}),c),logEvent:(0,r.useCallback)((function(e,t,n,r){return"string"==typeof e?s.logEvent(e,t,n,r):s.logEvent(e,t)}),c)}}},85056:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStatsigUser=void 0;var r=n(67294),o=n(83134),i=n(45172);t.useStatsigUser=function(){var e=(0,i.useStatsigClient)().client,t=(0,r.useContext)(o.default).renderVersion,n=[e,t],a=(0,r.useMemo)((function(){return e.getContext().user}),n);return{user:a,updateUserSync:(0,r.useCallback)((function(t){"function"==typeof t&&(t=t(a)),e.updateUserSync(t)}),n),updateUserAsync:(0,r.useCallback)((function(t){return"function"==typeof t&&(t=t(a)),e.updateUserAsync(t)}),n)}}},39399:function(e,t,n){"use strict";var r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t._getInstance=t._getStatsigGlobalFlag=t._getStatsigGlobal=void 0;t._getStatsigGlobal=function(){return __STATSIG__||c};t._getStatsigGlobalFlag=function(e){return(0,t._getStatsigGlobal)()[e]};t._getInstance=function(e){var n=(0,t._getStatsigGlobal)();return e?n.instances&&n.instances[e]:n.lastInstance};var a="undefined"!=typeof window?window:{},u=void 0!==n.g?n.g:{},s="undefined"!=typeof globalThis?globalThis:{},c=null!==(i=null!==(o=null!==(r=a.__STATSIG__)&&void 0!==r?r:u.__STATSIG__)&&void 0!==o?o:s.__STATSIG__)&&void 0!==i?i:{instance:t._getInstance};a.__STATSIG__=c,u.__STATSIG__=c,s.__STATSIG__=c},68120:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getStorageKey=t._getUserStorageKey=void 0;var r=n(13954);function o(e,t,n){var o;if(n)return n(e,t);var i=t&&t.customIDs?t.customIDs:{},a=["uid:".concat(null!==(o=null==t?void 0:t.userID)&&void 0!==o?o:""),"cids:".concat(Object.keys(i).sort((function(e,t){return e.localeCompare(t)})).map((function(e){return"".concat(e,"-").concat(i[e])})).join(",")),"k:".concat(e)];return(0,r._DJB2)(a.join("|"))}t._getUserStorageKey=o,t._getStorageKey=function(e,t,n){return t?o(e,t,n):(0,r._DJB2)("k:".concat(e))}},54026:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5087:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCore=void 0;var u=n(9758),s=n(86711),c=n(74440),l=n(22469),f=n(59257),d=function(){function e(t,n){o(this,e),this._adapterName=t,this._cacheSuffix=n,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey="statsig.last_modified_time.".concat(n),this._inMemoryCache=new h}return i(e,[{key:"attach",value:function(e,t){this._sdkKey=e,this._options=t}},{key:"getDataSync",value:function(e){var t=this._getCacheKey(e),n=this._inMemoryCache.get(t,e);if(n)return n;var r=this._loadFromCache(t);return r?(this._inMemoryCache.add(t,r),this._inMemoryCache.get(t,e)):null}},{key:"setData",value:function(e,t){var n,r=t&&(0,c._normalizeUser)(t,null===(n=this._options)||void 0===n?void 0:n.environment),o=this._getCacheKey(r);this._inMemoryCache.add(o,p("Bootstrap",e,null,r))}},{key:"__primeInMemoryCache",value:function(e){this._inMemoryCache.merge(e)}},{key:"_getDataAsyncImpl",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null!=e?e:this.getDataSync(t),a=[this._fetchAndPrepFromNetwork(i,t,n)],(null==n?void 0:n.timeoutMs)&&a.push(new Promise((function(e){return setTimeout(e,n.timeoutMs)})).then((function(){return u.Log.debug("Fetching latest value timed out"),null}))),r.next=5,Promise.race(a);case 5:return r.abrupt("return",r.sent);case 6:case"end":return r.stop()}}),o,this)})))}},{key:"_prefetchDataImpl",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=this._getCacheKey(e),n.next=3,this._getDataAsyncImpl(null,e,t);case 3:(i=n.sent)&&this._inMemoryCache.add(o,Object.assign(Object.assign({},i),{source:"Prefetch"}));case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_fetchAndPrepFromNetwork",value:function(e,t,n){return a(this,void 0,void 0,r.mark((function o(){var i,a,c,l,d,h,v;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return i=null,e&&this._isCachedResultValidFor204(e,t)&&(i=e.data),r.next=4,this._fetchFromNetwork(i,t,n);case 4:if(a=r.sent){r.next=8;break}return u.Log.debug("No response returned for latest value"),r.abrupt("return",null);case 8:return c=(0,f._typedJsonParse)(a,"has_updates","Response"),l=this._getSdkKey(),r.next=12,s.StableID.get(l);case 12:if(d=r.sent,h=null,!0!==(null==c?void 0:c.has_updates)){r.next=18;break}h=p("Network",a,d,t),r.next=23;break;case 18:if(!i||!1!==(null==c?void 0:c.has_updates)){r.next=22;break}h=p("NetworkNotModified",i,d,t),r.next=23;break;case 22:return r.abrupt("return",null);case 23:return v=this._getCacheKey(t),this._inMemoryCache.add(v,h),r.next=27,this._writeToCache(v,h);case 27:return r.abrupt("return",h);case 28:case"end":return r.stop()}}),o,this)})))}},{key:"_getSdkKey",value:function(){return null!=this._sdkKey?this._sdkKey:(u.Log.error("".concat(this._adapterName," is not attached to a Client")),"")}},{key:"_loadFromCache",value:function(e){var t,n=null===(t=l.Storage._getItemSync)||void 0===t?void 0:t.call(l.Storage,e);if(null==n)return null;var r=(0,f._typedJsonParse)(n,"source","Cached Result");return r?Object.assign(Object.assign({},r),{source:"Cache"}):null}},{key:"_writeToCache",value:function(e,t){return a(this,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.Storage._setItem(e,JSON.stringify(t));case 2:return n.next=4,this._runLocalStorageCacheEviction(e);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"_runLocalStorageCacheEviction",value:function(e){var t;return a(this,void 0,void 0,r.mark((function n(){var o,i;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,l._getObjectFromStorage)(this._lastModifiedStoreKey);case 2:if(n.t1=t=n.sent,n.t0=null!==n.t1,!n.t0){n.next=6;break}n.t0=void 0!==t;case 6:if(!n.t0){n.next=10;break}n.t2=t,n.next=11;break;case 10:n.t2={};case 11:if((o=n.t2)[e]=Date.now(),!(i=v(o,10))){n.next=18;break}return delete o[i],n.next=18,l.Storage._removeItem(i);case 18:return n.next=20,(0,l._setObjectInStorage)(this._lastModifiedStoreKey,o);case 20:case"end":return n.stop()}}),n,this)})))}}]),e}();function p(e,t,n,r){return{source:e,data:t,receivedAt:Date.now(),stableID:n,fullUserHash:(0,c._getFullUserHash)(r)}}t.DataAdapterCore=d;var h=function(){function e(){o(this,e),this._data={}}return i(e,[{key:"get",value:function(e,t){var n,r=this._data[e],o=null==r?void 0:r.stableID,i=null===(n=null==t?void 0:t.customIDs)||void 0===n?void 0:n.stableID;return i&&o&&i!==o?(u.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null):r}},{key:"add",value:function(e,t){var n=v(this._data,9);n&&delete this._data[n],this._data[e]=t}},{key:"merge",value:function(e){this._data=Object.assign(Object.assign({},this._data),e)}}]),e}();function v(e,t){var n=Object.keys(e);return n.length<=t?null:n.reduce((function(t,n){var r=e[t],o=e[n];return"object"==typeof r&&"object"==typeof o?o.receivedAt<r.receivedAt?n:t:o<r?n:t}))}},14310:function(e,t,n){"use strict";var r=n(34575),o=n(93913);Object.defineProperty(t,"__esModule",{value:!0}),t.Diagnostics=void 0;var i=function(){function e(){r(this,e)}return o(e,null,[{key:"mark",value:function(){}}]),e}();t.Diagnostics=i},39678:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},31095:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=t.EXCEPTION_ENDPOINT=void 0;var u=n(9758),s=n(27921),c=n(9093);t.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";var l="[Statsig] UnknownError",f=function(){function e(t,n,r){o(this,e),this._sdkKey=t,this._options=n,this._emitter=r,this._seen=new Set}return i(e,[{key:"wrap",value:function(e){var t=this;try{var n=e;(function(e){var t=new Set,n=Object.getPrototypeOf(e);for(;n&&n!==Object.prototype;)Object.getOwnPropertyNames(n).filter((function(e){return"function"==typeof(null==n?void 0:n[e])})).forEach((function(e){return t.add(e)})),n=Object.getPrototypeOf(n);return Array.from(t)})(n).forEach((function(r){var o=n[r];"$EB"in o||(n[r]=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t._capture(r,(function(){return o.apply(e,i)}))},n[r].$EB=!0)}))}catch(r){this._onError("eb:wrap",r)}}},{key:"logError",value:function(e,t){this._onError(e,t)}},{key:"_capture",value:function(e,t){var n=this;try{var r=t();return r&&r instanceof Promise?r.catch((function(t){return n._onError(e,t)})):r}catch(o){return this._onError(e,o),null}}},{key:"_onError",value:function(e,n){var o=this;try{u.Log.warn("Caught error in ".concat(e),{error:n});a(o,void 0,void 0,r.mark((function o(){var i,a,u,f,p,h,v,g,m,y,b,w,_,x,S;return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(g=n||Error(l),m=g instanceof Error,y=m?g.name:"No Name",!this._seen.has(y)){r.next=5;break}return r.abrupt("return");case 5:if(this._seen.add(y),!(null===(a=null===(i=this._options)||void 0===i?void 0:i.networkConfig)||void 0===a?void 0:a.preventAllNetworkTraffic)){r.next=9;break}return null===(u=this._emitter)||void 0===u||u.call(this,{name:"error",error:n}),r.abrupt("return");case 9:return b=s.SDKType._get(this._sdkKey),w=c.StatsigMetadataProvider.get(),_=m?g.stack:d(g),x=JSON.stringify(Object.assign({tag:e,exception:y,info:_},Object.assign(Object.assign({},w),{sdkType:b}))),S=null!==(h=null===(p=null===(f=this._options)||void 0===f?void 0:f.networkConfig)||void 0===p?void 0:p.networkOverrideFunc)&&void 0!==h?h:fetch,r.next=16,S(t.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(b),"STATSIG-SDK-VERSION":String(w.sdkVersion),"Content-Type":"application/json"},body:x});case 16:null===(v=this._emitter)||void 0===v||v.call(this,{name:"error",error:n});case 17:case"end":return r.stop()}}),o,this)}))).then((function(){})).catch((function(){}))}catch(i){}}}]),e}();function d(e){try{return JSON.stringify(e)}catch(t){return l}}t.ErrorBoundary=f},56990:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},82359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},97214:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;var s=n(13954),c=n(9758),l=n(6138),f=n(48985),d=n(51098),p=n(22469),h=n(44549),v=n(49964),g={},m=function(e){var t;null===(t=g[e])||void 0===t||t.flush().catch((function(){}))},y=function(){function e(t,n,r,o){var a;i(this,e),this._sdkKey=t,this._emitter=n,this._network=r,this._options=o,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),g[t]=this,this._isLoggingDisabled=!0===(null==o?void 0:o.disableLogging),this._maxQueueSize=null!==(a=null==o?void 0:o.loggingBufferMaxSize)&&void 0!==a?a:50;var u=null==o?void 0:o.networkConfig;this._logEventUrl=(0,h._getOverridableUrl)(null==u?void 0:u.logEventUrl,null==u?void 0:u.api,"/rgstr",l.NetworkDefault.eventsApi),(0,v._subscribeToVisiblityChanged)((function(e){"background"===e&&m(t)})),this._retryFailedLogs(),this._startBackgroundFlushInterval()}return a(e,[{key:"setLoggingDisabled",value:function(e){this._isLoggingDisabled=e}},{key:"enqueue",value:function(e){this._shouldLogEvent(e)&&(this._normalizeAndAppendEvent(e),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize&&m(this._sdkKey))}},{key:"incrementNonExposureCount",value:function(e){var t,n=null!==(t=this._nonExposedChecks[e])&&void 0!==t?t:0;this._nonExposedChecks[e]=n+1}},{key:"reset",value:function(){this._lastExposureTimeMap={}}},{key:"shutdown",value:function(){return u(this,void 0,void 0,o.mark((function e(){return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._flushIntervalId&&(clearInterval(this._flushIntervalId),this._flushIntervalId=null),e.next=3,this.flush();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"flush",value:function(){return u(this,void 0,void 0,o.mark((function e(){var t;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._appendAndResetNonExposedChecks(),0!==this._queue.length){e.next=3;break}return e.abrupt("return");case 3:return t=this._queue,this._queue=[],e.abrupt("return",this._sendEvents(t));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"_quickFlushIfNeeded",value:function(){var e=this;this._hasRunQuickFlush||(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>200||setTimeout((function(){return m(e._sdkKey)}),200))}},{key:"_shouldLogEvent",value:function(e){if(!(0,d._isExposureEvent)(e))return!0;var t=e.user?e.user:{},n=e.metadata?e.metadata:{},r=[e.eventName,t.userID,n.gate,n.config,n.ruleID].join("|"),o=this._lastExposureTimeMap[r],i=Date.now();return!(o&&i-o<6e4)&&(Object.keys(this._lastExposureTimeMap).length>1e3&&(this._lastExposureTimeMap={}),this._lastExposureTimeMap[r]=i,!0)}},{key:"_sendEvents",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!this._isLoggingDisabled){r.next=3;break}return this._saveFailedLogsToStorage(e),r.abrupt("return");case 3:if(r.prev=3,i=!(0,v._isCurrentlyVisible)(),!(i&&this._network.isBeaconSupported()&&null==(null===(n=null===(t=this._options)||void 0===t?void 0:t.networkConfig)||void 0===n?void 0:n.networkOverrideFunc))){r.next=12;break}return r.next=9,this._sendEventsViaBeacon(e);case 9:r.t0=r.sent,r.next=15;break;case 12:return r.next=14,this._sendEventsViaPost(e);case 14:r.t0=r.sent;case 15:r.t0.success?this._emitter({name:"logs_flushed",events:e}):this._saveFailedLogsToStorage(e),r.next=22;break;case 19:r.prev=19,r.t1=r.catch(3),c.Log.warn("Failed to flush events.");case 22:case"end":return r.stop()}}),r,this,[[3,19]])})))}},{key:"_sendEventsViaPost",value:function(e){var t;return u(this,void 0,void 0,o.mark((function n(){var r,i;return o.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._network.post(this._getRequestData(e));case 2:return r=n.sent,i=null!==(t=null==r?void 0:r.code)&&void 0!==t?t:-1,n.abrupt("return",{success:i>=200&&i<300});case 5:case"end":return n.stop()}}),n,this)})))}},{key:"_sendEventsViaBeacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._network.beacon(this._getRequestData(e));case 2:return t.t0=t.sent,t.abrupt("return",{success:t.t0});case 4:case"end":return t.stop()}}),t,this)})))}},{key:"_getRequestData",value:function(e){return{sdkKey:this._sdkKey,data:{events:e},url:this._logEventUrl,retries:3,isCompressable:!0,params:r({},l.NetworkParam.EventCount,String(e.length))}}},{key:"_saveFailedLogsToStorage",value:function(e){for(;e.length>500;)e.shift();var t=this._getStorageKey();(0,p._setObjectInStorage)(t,e).catch((function(){c.Log.warn("Unable to save failed logs to storage")}))}},{key:"_retryFailedLogs",value:function(){var e=this,t=this._getStorageKey();u(e,void 0,void 0,o.mark((function e(){var n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p._getObjectFromStorage)(t);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,p.Storage._removeItem(t);case 7:return e.next=9,this._sendEvents(n);case 9:case"end":return e.stop()}}),e,this)}))).catch((function(){c.Log.warn("Failed to flush stored logs")}))}},{key:"_getStorageKey",value:function(){return"statsig.failed_logs.".concat((0,s._DJB2)(this._sdkKey))}},{key:"_normalizeAndAppendEvent",value:function(e){e.user&&(e.user=Object.assign({},e.user),delete e.user.privateAttributes);var t={},n=this._getCurrentPageUrl();n&&(t.statsigMetadata={currentPage:n});var r=Object.assign(Object.assign({},e),t);c.Log.debug("Enqueued Event:",r),this._queue.push(r)}},{key:"_appendAndResetNonExposedChecks",value:function(){0!==Object.keys(this._nonExposedChecks).length&&(this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={})}},{key:"_getCurrentPageUrl",value:function(){var e;if(!1!==(null===(e=this._options)||void 0===e?void 0:e.includeCurrentPageUrlWithEvents))return(0,f._getCurrentPageUrlSafe)()}},{key:"_startBackgroundFlushInterval",value:function(){var e,t,n=this;if(!(0,f._isServerEnv)()){var r=null!==(t=null===(e=this._options)||void 0===e?void 0:e.loggingIntervalMs)&&void 0!==t?t:1e4,o=setInterval((function(){g[n._sdkKey]._flushIntervalId!==o?clearInterval(o):m(n._sdkKey)}),r);this._flushIntervalId=o}}}]),e}();t.EventLogger=y},13954:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getSortedObject=t._DJB2Object=t._DJB2=void 0;var r=n(63470);t._DJB2=function(e){for(var t=0,n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return String(t>>>0)};t._DJB2Object=function(e,n){return(0,t._DJB2)(JSON.stringify((0,t._getSortedObject)(e,n)))};t._getSortedObject=function(e,n){if(null==e)return null;var o=Object.keys(e).sort(),i={};return o.forEach((function(o){var a=e[o];0!==n&&"object"===(0,r._typeOf)(a)?i[o]=(0,t._getSortedObject)(a,null!=n?n-1:n):i[o]=a})),i}},64188:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9758:function(e,t,n){"use strict";var r,o=n(319),i=n(34575),a=n(93913);function u(e){return e.unshift("[Statsig]"),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.LogLevel=void 0,function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Info=3]="Info",e[e.Debug=4]="Debug"}(r||(t.LogLevel=r={}));var s=function(){function e(){i(this,e)}return a(e,null,[{key:"info",value:function(){if(this.level>=r.Info){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).info.apply(e,o(u(n)))}}},{key:"debug",value:function(){if(this.level>=r.Debug){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).debug.apply(e,o(u(n)))}}},{key:"warn",value:function(){if(this.level>=r.Warn){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).warn.apply(e,o(u(n)))}}},{key:"error",value:function(){if(this.level>=r.Error){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=console).error.apply(e,o(u(n)))}}}]),e}();t.Log=s,s.level=r.Error},6138:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkParam=t.NetworkDefault=void 0,t.NetworkDefault={eventsApi:"https://prodregistryv2.org/v1",initializeApi:"https://featureassets.org/v1",specsApi:"https://assetsconfigcdn.org/v1"},function(e){e.EventCount="ec",e.SdkKey="k",e.SdkType="st",e.SdkVersion="sv",e.Time="t",e.SessionID="sid",e.StatsigEncoded="se",e.IsGzipped="gz"}(n||(t.NetworkParam=n={}))},94784:function(e,t,n){"use strict";var r=n(59713),o=n(87757),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkCore=void 0,n(39399);var s=n(39399),c=n(14310),l=n(9758),f=n(6138),d=n(27921),p=n(48985),h=n(15226),v=n(86711),g=n(9093),m=n(49964),y=function(){function e(t,n){i(this,e),this._emitter=n,this._timeout=1e4,this._netConfig={},this._options={},t&&(this._options=t),this._options.networkConfig&&(this._netConfig=this._options.networkConfig),this._netConfig.networkTimeoutMs&&(this._timeout=this._netConfig.networkTimeoutMs)}return a(e,[{key:"post",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._getPopulatedBody(e);case 2:return n=t.sent,e.isStatsigEncodable&&(n=this._attemptToEncodeString(e,n)),t.abrupt("return",this._sendRequest(Object.assign({method:"POST",body:n},e)));case 5:case"end":return t.stop()}}),t,this)})))}},{key:"get",value:function(e){return this._sendRequest(Object.assign({method:"GET"},e))}},{key:"isBeaconSupported",value:function(){return"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon}},{key:"beacon",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(b(e)){t.next=2;break}return t.abrupt("return",!1);case 2:return t.next=4,this._getPopulatedBody(e);case 4:return n=t.sent,t.next=7,this._getPopulatedURL(e);case 7:return r=t.sent,i=navigator,t.abrupt("return",i.sendBeacon.bind(i)(r,n));case 10:case"end":return t.stop()}}),t,this)})))}},{key:"_sendRequest",value:function(e){var t,n;return u(this,void 0,void 0,o.mark((function r(){var i,a,u,s,f,d,p,h,v,g,y,_,x,S,k=this;return o.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b(e)){r.next=2;break}return r.abrupt("return",null);case 2:if(!this._netConfig.preventAllNetworkTraffic){r.next=4;break}return r.abrupt("return",null);case 4:return i=e.method,a=e.body,u=e.retries,s="undefined"!=typeof AbortController?new AbortController:null,f=setTimeout((function(){return null==s?void 0:s.abort("Timeout of ".concat(k._timeout,"ms expired."))}),this._timeout),r.next=9,this._getPopulatedURL(e);case 9:return d=r.sent,p=null,h=(0,m._isUnloading)(),r.prev=12,v={method:i,body:a,headers:Object.assign({},e.headers),signal:null==s?void 0:s.signal,priority:e.priority,keepalive:h},g=null!==(t=this._netConfig.networkOverrideFunc)&&void 0!==t?t:fetch,r.next=17,g(d,v);case 17:if(p=r.sent,clearTimeout(f),p.ok){r.next=26;break}return r.next=22,p.text().catch((function(){return"No Text"}));case 22:throw y=r.sent,(_=new Error("NetworkError: ".concat(d," ").concat(y))).name="NetworkError",_;case 26:return r.next=28,p.text();case 28:return x=r.sent,c.Diagnostics.mark(),r.abrupt("return",{body:x,code:p.status});case 33:if(r.prev=33,r.t0=r.catch(12),S=w(s,r.t0),c.Diagnostics.mark(),u&&!(u<=0)){r.next=41;break}return null===(n=this._emitter)||void 0===n||n.call(this,{name:"error",error:r.t0}),l.Log.error("A networking error occured during ".concat(i," request to ").concat(d,"."),S,r.t0),r.abrupt("return",null);case 41:return r.abrupt("return",this._sendRequest(Object.assign(Object.assign({},e),{retries:u-1})));case 42:case"end":return r.stop()}}),r,this,[[12,33]])})))}},{key:"_getPopulatedURL",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,i,a;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=Object,r(n={},f.NetworkParam.SdkKey,e.sdkKey),r(n,f.NetworkParam.SdkType,d.SDKType._get(e.sdkKey)),r(n,f.NetworkParam.SdkVersion,g.SDK_VERSION),r(n,f.NetworkParam.Time,String(Date.now())),t.t1=r,t.t2=n,t.t3=f.NetworkParam.SessionID,t.next=11,h.SessionID.get(e.sdkKey);case 11:return t.t4=t.sent,(0,t.t1)(t.t2,t.t3,t.t4),t.t5=n,t.t6=e.params,i=t.t0.assign.call(t.t0,t.t5,t.t6),a=Object.keys(i).map((function(e){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(i[e]))})).join("&"),t.abrupt("return","".concat(e.url).concat(a?"?".concat(a):""));case 18:case"end":return t.stop()}}),t)})))}},{key:"_getPopulatedBody",value:function(e){return u(this,void 0,void 0,o.mark((function t(){var n,r,i,a,u;return o.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.data,r=e.sdkKey,t.next=3,v.StableID.get(r);case 3:return i=t.sent,t.next=6,h.SessionID.get(r);case 6:return a=t.sent,u=d.SDKType._get(r),t.abrupt("return",JSON.stringify(Object.assign(Object.assign({},n),{statsigMetadata:Object.assign(Object.assign({},g.StatsigMetadataProvider.get()),{stableID:i,sessionID:a,sdkType:u})})));case 9:case"end":return t.stop()}}),t)})))}},{key:"_attemptToEncodeString",value:function(e,t){var n,o,i=(0,p._getWindowSafe)();if(!e.isStatsigEncodable||this._options.disableStatsigEncoding||null!=(0,s._getStatsigGlobalFlag)("no-encode")||!(null==i?void 0:i.btoa))return t;try{var a=null!==(n=i.btoa(t).split("").reverse().join(""))&&void 0!==n?n:t;return e.params=Object.assign(Object.assign({},null!==(o=e.params)&&void 0!==o?o:{}),r({},f.NetworkParam.StatsigEncoded,"1")),a}catch(u){return l.Log.warn("/initialize request encoding failed"),t}}}]),e}();t.NetworkCore=y;var b=function(e){return!!e.sdkKey||(l.Log.warn("Unable to make request without an SDK key"),!1)};function w(e,t){return(null==e?void 0:e.signal.aborted)&&"string"==typeof e.signal.reason?e.signal.reason:"string"==typeof t?t:t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error"}},2097:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},23552:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},27921:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDKType=void 0;var n,r={};t.SDKType={_get:function(e){var t;return(null!==(t=r[e])&&void 0!==t?t:"js-mono")+(null!=n?n:"")},_setClientType:function(e,t){r[e]=t},_setBindingType:function(e){n&&"-react"!==n||(n="-"+e)}}},48985:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getCurrentPageUrlSafe=t._addDocumentEventListenerSafe=t._addWindowEventListenerSafe=t._isServerEnv=t._getDocumentSafe=t._getWindowSafe=void 0;t._getWindowSafe=function(){return"undefined"!=typeof window?window:null};t._getDocumentSafe=function(){var e,n=(0,t._getWindowSafe)();return null!==(e=null==n?void 0:n.document)&&void 0!==e?e:null};t._isServerEnv=function(){if(null!==(0,t._getDocumentSafe)())return!1;var e="undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node;return"string"==typeof EdgeRuntime||e};t._addWindowEventListenerSafe=function(e,n){var r=(0,t._getWindowSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._addDocumentEventListenerSafe=function(e,n){var r=(0,t._getDocumentSafe)();"function"==typeof(null==r?void 0:r.addEventListener)&&r.addEventListener(e,n)};t._getCurrentPageUrlSafe=function(){var e;try{return null===(e=(0,t._getWindowSafe)())||void 0===e?void 0:e.location.href.split(/[?#]/)[0]}catch(n){return}}},15226:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigSession=t.SessionID=void 0;var i=n(68120),a=n(9758),u=n(22469),s=n(3514),c=18e5,l=144e5,f={};function d(e){return o(this,void 0,void 0,r.mark((function t(){var n,o;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g(e);case 2:return n=t.sent,o=Date.now(),n||(n={sessionID:(0,s.getUUID)(),startTime:o,lastUpdate:o}),t.abrupt("return",{data:n,sdkKey:e});case 6:case"end":return t.stop()}}),t)})))}function p(e){var t,n,r=Date.now(),o=e.data;n=o.lastUpdate,(Date.now()-n>c||(t=o.startTime,Date.now()-t>l))&&(o.sessionID=(0,s.getUUID)(),o.startTime=r),o.lastUpdate=r,function(e,t){var n=v(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save SessionID")}))}(o,e.sdkKey),clearTimeout(e.idleTimeoutID),clearTimeout(e.ageTimeoutID);var i=r-o.startTime,f=e.sdkKey;return e.idleTimeoutID=h(f,c),e.ageTimeoutID=h(f,l-i),e}function h(e,t){return setTimeout((function(){var t=null===__STATSIG__||void 0===__STATSIG__?void 0:__STATSIG__.instance(e);t&&t.$emt({name:"session_expired"})}),t)}function v(e){return"statsig.session_id.".concat((0,i._getStorageKey)(e))}function g(e){var t=v(e);return(0,u._getObjectFromStorage)(t)}t.SessionID={get:function(e){return o(void 0,void 0,void 0,r.mark((function n(){return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",t.StatsigSession.get(e).then((function(e){return e.data.sessionID})));case 1:case"end":return n.stop()}}),n)})))}},t.StatsigSession={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){var n;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==f[e]&&(f[e]=d(e)),t.next=3,f[e];case 3:return n=t.sent,t.abrupt("return",p(n));case 5:case"end":return t.stop()}}),t)})))},overrideInitialSessionID:function(e,t){f[t]=function(e,t){var n=Date.now();return Promise.resolve({data:{sessionID:e,startTime:n,lastUpdate:n},sdkKey:t})}(e,t)}}},86711:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StableID=void 0;var i=n(68120),a=n(9758),u=n(22469),s=n(3514),c={};function l(e){return"statsig.stable_id.".concat((0,i._getStorageKey)(e))}function f(e,t){var n=l(t);(0,u._setObjectInStorage)(n,e).catch((function(){a.Log.warn("Failed to save StableID")}))}function d(e){var t=l(e);return(0,u._getObjectFromStorage)(t)}t.StableID={get:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==c[e]&&(c[e]=d(e).then((function(t){if(null!=t)return t;var n=(0,s.getUUID)();return f(n,e),n}))),t.abrupt("return",c[e]);case 2:case"end":return t.stop()}}),t)})))},setOverride:function(e,t){c[t]=Promise.resolve(e),f(e,t)}}},90519:function(e,t,n){"use strict";var r=n(87757),o=n(34575),i=n(93913),a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigClientBase=void 0,n(39399);var u=n(39399),s=n(31095),c=n(97214),l=n(9758),f=n(48985),d=n(15226),p=n(22469),h=function(){function e(t,n,r,i){var a,h;o(this,e),this.loadingStatus="Uninitialized",this._listeners={};var v=this.$emt.bind(this);if(null!=(null==i?void 0:i.logLevel)&&(l.Log.level=i.logLevel),(null==i?void 0:i.disableStorage)&&p.Storage._setDisabled(!0),(null==i?void 0:i.initialSessionID)&&d.StatsigSession.overrideInitialSessionID(i.initialSessionID,t),this._sdkKey=t,this._options=null!=i?i:{},this._overrideAdapter=null!==(a=null==i?void 0:i.overrideAdapter)&&void 0!==a?a:null,this._logger=new c.EventLogger(t,v,r,i),this._errorBoundary=new s.ErrorBoundary(t,i,v),this._errorBoundary.wrap(this),this._errorBoundary.wrap(r),this._errorBoundary.wrap(n),this._errorBoundary.wrap(this._logger),!(0,f._isServerEnv)()){var g=(0,u._getStatsigGlobal)(),m=null!==(h=g.instances)&&void 0!==h?h:{};null!=m[t]&&l.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys."),m[t]=this,g.lastInstance=this,g.instances=m,__STATSIG__=g}this.dataAdapter=n,this.dataAdapter.attach(t,i),this._primeReadyRipcord()}return i(e,[{key:"updateRuntimeOptions",value:function(e){null!=e.disableLogging&&(this._options.disableLogging=e.disableLogging,this._logger.setLoggingDisabled(e.disableLogging)),null!=e.disableStorage&&(this._options.disableStorage=e.disableStorage,p.Storage._setDisabled(e.disableStorage))}},{key:"flush",value:function(){return this._logger.flush()}},{key:"shutdown",value:function(){return a(this,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$emt({name:"pre_shutdown"}),e.next=3,this._logger.shutdown();case 3:case"end":return e.stop()}}),e,this)})))}},{key:"on",value:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)}},{key:"off",value:function(e,t){if(this._listeners[e]){var n=this._listeners[e].indexOf(t);-1!==n&&this._listeners[e].splice(n,1)}}},{key:"$on",value:function(e,t){t.__isInternal=!0,this.on(e,t)}},{key:"$emt",value:function(e){var t,n=this,r=function(t){try{t(e)}catch(r){if(!0===t.__isInternal)return void n._errorBoundary.logError("__emit:".concat(e.name),r);l.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",e)}};this._listeners[e.name]&&this._listeners[e.name].forEach((function(e){return r(e)})),null===(t=this._listeners["*"])||void 0===t||t.forEach(r)}},{key:"_setStatus",value:function(e,t){this.loadingStatus=e,this.$emt({name:"values_updated",status:e,values:t})}},{key:"_enqueueExposure",value:function(e,t,n){!0!==(null==n?void 0:n.disableExposureLog)?this._logger.enqueue(t):this._logger.incrementNonExposureCount(e)}}]),e}();t.StatsigClientBase=h},67688:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},59197:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataAdapterCachePrefix=void 0,t.DataAdapterCachePrefix="statsig.cached"},51098:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._createLayerParameterExposure=t._createConfigExposure=t._createGateExposure=t._isExposureEvent=void 0;var n="statsig::config_exposure",r="statsig::gate_exposure",o=function(e,t,n,r,o){return{eventName:e,user:t,value:null,metadata:i(n,r),secondaryExposures:o,time:Date.now()}};t._isExposureEvent=function(e){var t=e.eventName;return t===r||t===n};t._createGateExposure=function(e,t){var n,i;return o(r,e,t.details,{gate:t.name,gateValue:String(t.value),ruleID:t.ruleID},null!==(i=null===(n=t.__evaluation)||void 0===n?void 0:n.secondary_exposures)&&void 0!==i?i:[])};t._createConfigExposure=function(e,t){var r,i;return o(n,e,t.details,{config:t.name,ruleID:t.ruleID},null!==(i=null===(r=t.__evaluation)||void 0===r?void 0:r.secondary_exposures)&&void 0!==i?i:[])};t._createLayerParameterExposure=function(e,t,n){var r,i,a,u=t.__evaluation,s=!0===(null===(r=null==u?void 0:u.explicit_parameters)||void 0===r?void 0:r.includes(n)),c="",l=null!==(i=null==u?void 0:u.undelegated_secondary_exposures)&&void 0!==i?i:[];return s&&(c=null!==(a=u.allocated_experiment_name)&&void 0!==a?a:"",l=u.secondary_exposures),o("statsig::layer_exposure",e,t.details,{config:t.name,parameterName:n,ruleID:t.ruleID,allocatedExperiment:c,isExplicitParameter:String(s)},l)};var i=function(e,t){return t.reason=e.reason,e.lcut&&(t.lcut=String(e.lcut)),e.receivedAt&&(t.receivedAt=String(e.receivedAt)),t}},9093:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatsigMetadataProvider=t.SDK_VERSION=void 0,t.SDK_VERSION="1.4.0";var n={sdkVersion:t.SDK_VERSION,sdkType:"js-mono"};t.StatsigMetadataProvider={get:function(){return n},add:function(e){n=Object.assign(Object.assign({},n),e)}}},5163:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},31096:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._makeTypedGet=t._mergeOverride=t._makeLayer=t._makeExperiment=t._makeDynamicConfig=t._makeFeatureGate=void 0;var r=n(63470);function o(e,t,n,r){var o;return{name:e,details:t,ruleID:null!==(o=null==n?void 0:n.rule_id)&&void 0!==o?o:"default",__evaluation:n,value:r}}function i(e,t,n){var r,i=null!==(r=null==n?void 0:n.value)&&void 0!==r?r:{};return Object.assign(Object.assign({},o(e,t,n,i)),{get:a(null==n?void 0:n.value)})}function a(e,t){return function(n,o){var i,a=null!==(i=null==e?void 0:e[n])&&void 0!==i?i:null;return null==a?null!=o?o:null:null==o||(0,r._isTypeMatch)(a,o)?(null==t||t(n),a):null!=o?o:null}}t._makeFeatureGate=function(e,t,n){return o(e,t,n,!0===(null==n?void 0:n.value))},t._makeDynamicConfig=i,t._makeExperiment=function(e,t,n){var r,o=i(e,t,n);return Object.assign(Object.assign({},o),{groupName:null!==(r=null==n?void 0:n.group_name)&&void 0!==r?r:null})},t._makeLayer=function(e,t,n,r){var i,u;return Object.assign(Object.assign({},o(e,t,n,void 0)),{get:a(null==n?void 0:n.value,r),groupName:null!==(i=null==n?void 0:n.group_name)&&void 0!==i?i:null,__value:null!==(u=null==n?void 0:n.value)&&void 0!==u?u:{}})},t._mergeOverride=function(e,t,n,r){return Object.assign(Object.assign(Object.assign({},e),t),{get:a(n,r)})},t._makeTypedGet=a},11601:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},74440:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getFullUserHash=t._normalizeUser=void 0;var r=n(13954),o=n(9758);t._normalizeUser=function(e,t){try{var n=JSON.parse(JSON.stringify(e));return null!=t&&(n.statsigEnvironment=t),n}catch(r){return o.Log.error("Failed to JSON.stringify user"),{}}},t._getFullUserHash=function(e){return e?(0,r._DJB2Object)(e):null}},22469:function(e,t,n){"use strict";var r=n(87757),o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t._setObjectInStorage=t._getObjectFromStorage=t.Storage=void 0;var i=n(9758),a=n(48985),u={},s=function(e){return Promise.resolve(e)},c={_getProviderName:function(){return"InMemory"},_getItemSync:function(e){return u[e]?u[e]:null},_getItem:function(e){return s(u[e]?u[e]:null)},_setItem:function(e,t){return u[e]=t,s()},_removeItem:function(e){return delete u[e],s()},_getAllKeys:function(){return s(Object.keys(u))}},l=null;try{var f=(0,a._getWindowSafe)();f&&f.localStorage&&"function"==typeof f.localStorage.getItem&&(l={_getProviderName:function(){return"LocalStorage"},_getItemSync:function(e){return f.localStorage.getItem(e)},_getItem:function(e){return s(f.localStorage.getItem(e))},_setItem:function(e,t){return f.localStorage.setItem(e,t),s()},_removeItem:function(e){return f.localStorage.removeItem(e),s()},_getAllKeys:function(){return s(Object.keys(f.localStorage))}})}catch(v){i.Log.warn("Failed to setup localStorageProvider.")}var d=null!=l?l:c,p=d;function h(e){try{return e()}catch(v){if(v instanceof Error&&"SecurityError"===v.name)return t.Storage._setProvider(c),null;throw v}}t.Storage={_getProviderName:function(){return p._getProviderName()},_getItem:function(e){return o(void 0,void 0,void 0,r.mark((function t(){return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",h((function(){return p._getItem(e)})));case 1:case"end":return t.stop()}}),t)})))},_getItemSync:function(e){return h((function(){return p._getItemSync?p._getItemSync(e):null}))},_setItem:function(e,t){return p._setItem(e,t)},_removeItem:function(e){return p._removeItem(e)},_getAllKeys:function(){return p._getAllKeys()},_setProvider:function(e){d=e,p=e},_setDisabled:function(e){p=e?c:d}},t._getObjectFromStorage=function(e){return o(this,void 0,void 0,r.mark((function n(){var o;return r.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.Storage._getItem(e);case 2:return o=n.sent,n.abrupt("return",JSON.parse(null!=o?o:"null"));case 4:case"end":return n.stop()}}),n)})))},t._setObjectInStorage=function(e,n){return o(this,void 0,void 0,r.mark((function o(){return r.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,t.Storage._setItem(e,JSON.stringify(n));case 2:case"end":return r.stop()}}),o)})))}},59257:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._typedJsonParse=void 0;var r=n(9758);t._typedJsonParse=function(e,t,n){try{var o=JSON.parse(e);return o}catch(i){}return r.Log.error("Failed to parse ".concat(n)),null}},63470:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._isTypeMatch=t._typeOf=void 0,t._typeOf=function(e){return Array.isArray(e)?"array":typeof e},t._isTypeMatch=function(e,t){var n=function(e){return Array.isArray(e)?"array":typeof e};return n(e)===n(t)}},3514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUUID=void 0,t.getUUID=function(){if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();var e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0,n="89ab"[Math.floor(4*Math.random())];return"xxxxxxxx-xxxx-4xxx-".concat(n,"xxx-xxxxxxxxxxxx").replace(/[xy]/g,(function(n){var r=16*Math.random();return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),("x"===n?r:7&r|8).toString(16)}))}},44549:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getOverridableUrl=void 0,t._getOverridableUrl=function(e,t,n,r){return e||(t?"".concat(t).concat(n):"".concat(r).concat(n))}},49964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._notifyVisibilityChanged=t._subscribeToVisiblityChanged=t._isUnloading=t._isCurrentlyVisible=void 0;var r=n(48985),o="foreground",i="background",a=[],u=o,s=!1;t._isCurrentlyVisible=function(){return u===o};t._isUnloading=function(){return s};t._subscribeToVisiblityChanged=function(e){a.unshift(e)};t._notifyVisibilityChanged=function(e){e!==u&&(u=e,a.forEach((function(t){return t(e)})))},(0,r._addWindowEventListenerSafe)("focus",(function(){s=!1,(0,t._notifyVisibilityChanged)(o)})),(0,r._addWindowEventListenerSafe)("blur",(function(){return(0,t._notifyVisibilityChanged)(i)})),(0,r._addWindowEventListenerSafe)("beforeunload",(function(){s=!0,(0,t._notifyVisibilityChanged)(i)})),(0,r._addDocumentEventListenerSafe)("visibilitychange",(function(){(0,t._notifyVisibilityChanged)("visible"===document.visibilityState?o:i)}))},75765:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Log=t.Storage=t.EventLogger=void 0,n(39399);var i=n(97214);Object.defineProperty(t,"EventLogger",{enumerable:!0,get:function(){return i.EventLogger}});var a=n(9758);Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return a.Log}});var u=n(9093),s=n(22469);Object.defineProperty(t,"Storage",{enumerable:!0,get:function(){return s.Storage}}),o(n(39399),t),o(n(68120),t),o(n(54026),t),o(n(5087),t),o(n(39678),t),o(n(31095),t),o(n(56990),t),o(n(82359),t),o(n(13954),t),o(n(64188),t),o(n(9758),t),o(n(94784),t),o(n(6138),t),o(n(2097),t),o(n(23552),t),o(n(48985),t),o(n(27921),t),o(n(15226),t),o(n(86711),t),o(n(90519),t),o(n(67688),t),o(n(59197),t),o(n(51098),t),o(n(9093),t),o(n(5163),t),o(n(31096),t),o(n(11601),t),o(n(74440),t),o(n(22469),t),o(n(59257),t),o(n(63470),t),o(n(44549),t),o(n(3514),t),o(n(49964),t),__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{Log:a.Log,SDK_VERSION:u.SDK_VERSION})},99036:function(e,t,n){"use strict";var r=n(87757),o=n(59713),i=n(34575),a=n(93913),u=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(t){i(t)}}function u(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SessionReplay=t.runStatsigSessionReplay=void 0;var s=n(75765),c=n(72544);t.runStatsigSessionReplay=function(e,t){new l(e,t)};var l=function(){function e(t,n){var r=this;i(this,e),this._client=t,this._options=n,this._sessionData=null,this._events=[];var a=t.getContext(),u=a.sdkKey,l=a.errorBoundary;if(this._errorBoundary=l,this._errorBoundary.wrap(this),!(0,s._isServerEnv)()){var f=(0,s._getStatsigGlobal)();f.srInstances=Object.assign(Object.assign({},f.srInstances),o({},u,this))}this._currentSessionID=this._getSessionIdFromClient(),this._replayer=new c.SessionReplayClient,this._client.$on("pre_shutdown",(function(){return r._shutdown()})),this._client.$on("values_updated",(function(){return r._attemptToStartRecording()})),this._client.on("session_expired",(function(){r._replayer.stop(),s.StatsigMetadataProvider.add({isRecordingSession:"false"}),r._logRecording("session_expired"),r._currentSessionID=r._getSessionIdFromClient()})),this._subscribeToVisibilityChanged(),this._attemptToStartRecording()}return a(e,[{key:"_subscribeToVisibilityChanged",value:function(){var t=this._client.getContext().sdkKey;(0,s._subscribeToVisiblityChanged)((function(n){var r,o=null===(r=null===__STATSIG__||void 0===__STATSIG__?void 0:__STATSIG__.srInstances)||void 0===r?void 0:r[t];o instanceof e&&o._onVisibilityChanged(n)}))}},{key:"_onVisibilityChanged",value:function(e){var t=this;"background"===e&&(this._logRecording(),this._client.flush().catch((function(e){t._errorBoundary.logError("SR::visibility",e)})))}},{key:"_onRecordingEvent",value:function(e,t){this._sessionData=t,this._events.push(e),JSON.stringify(this._events).length>2048&&((0,s._isCurrentlyVisible)()?this._bumpSessionIdleTimerAndLogRecording():this._logRecording())}},{key:"_attemptToStartRecording",value:function(){var e,t,n=this,r=this._client.getContext().values;!0===(null==r?void 0:r.can_record_session)?this._replayer.isRecording()||(s.StatsigMetadataProvider.add({isRecordingSession:"true"}),this._replayer.record((function(e,t){return n._onRecordingEvent(e,t)}),null!==(t=null===(e=this._options)||void 0===e?void 0:e.rrwebConfig)&&void 0!==t?t:{})):this._shutdown()}},{key:"_shutdown",value:function(){this._replayer.stop(),s.StatsigMetadataProvider.add({isRecordingSession:"false"}),0!==this._events.length&&null!=this._sessionData&&this._bumpSessionIdleTimerAndLogRecording()}},{key:"_logRecording",value:function(e){var t=this;0!==this._events.length&&null!=this._sessionData&&(e=(0,s._isUnloading)()?"is_leaving_page":e,this._currentSessionID.then((function(n){return t._logRecordingWithSessionID(n,e)})).catch((function(e){t._errorBoundary.logError("SR::flush",e)})))}},{key:"_logRecordingWithSessionID",value:function(e,t){var n=this._sessionData;if(null!==n&&0!==this._events.length){var r=JSON.stringify(this._events),o={eventName:"statsig::session_recording",value:e,metadata:{session_start_ts:String(n.startTime),session_end_ts:String(n.endTime),clicks_captured_cumulative:String(n.clickCount),rrweb_events:r,session_replay_sdk_version:s.SDK_VERSION}};t&&(o.metadata[t]="true"),this._client.logEvent(o),this._events=[]}}},{key:"_bumpSessionIdleTimerAndLogRecording",value:function(){this._currentSessionID=this._getSessionIdFromClient(),this._logRecording()}},{key:"_getSessionIdFromClient",value:function(){return u(this,void 0,void 0,r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._client.getAsyncContext().then((function(e){return e.session.data.sessionID})));case 1:case"end":return e.stop()}}),e,this)})))}}]),e}();t.SessionReplay=l},72544:function(e,t,n){"use strict";var r=n(34575),o=n(93913);Object.defineProperty(t,"__esModule",{value:!0}),t.SessionReplayClient=void 0;var i=n(23802),a=n(75765),u=function(){function e(){r(this,e),this._startTimestamp=null,this._endTimestamp=null,this._clickCount=0}return o(e,[{key:"record",value:function(e,t,n){var r=this;if(null!=(0,a._getDocumentSafe)()&&(this._startTimestamp=null,this._endTimestamp=null,this._clickCount=0,this._stopCallback=n,!this._stopFn)){this._stopFn=function(e,t){return("function"==typeof i?i:i.record)(Object.assign(Object.assign({},t),{emit:e}))}((function(t){var n,o;null!==(n=r._startTimestamp)&&void 0!==n||(r._startTimestamp=t.timestamp),r._endTimestamp=t.timestamp,function(e){return 3===e.type&&2===e.data.source&&(2===e.data.type||4===e.data.type)}(t)&&r._clickCount++,e(t,{startTime:r._startTimestamp,endTime:r._endTimestamp,clickCount:r._clickCount}),r._endTimestamp-r._startTimestamp>144e5&&(null===(o=r._stopFn)||void 0===o||o.call(r),r._stopCallback&&r._stopCallback())}),t)}}},{key:"stop",value:function(){this._stopFn&&(this._stopFn(),this._stopFn=void 0)}},{key:"isRecording",value:function(){return null!=this._stopFn}}]),e}();t.SessionReplayClient=u},57930:function(e,t,n){"use strict";t.kG=void 0;var r=n(99036);Object.defineProperty(t,"kG",{enumerable:!0,get:function(){return r.runStatsigSessionReplay}});var o=n(72544);__STATSIG__=Object.assign(Object.assign({},null!==__STATSIG__&&void 0!==__STATSIG__?__STATSIG__:{}),{SessionReplayClient:o.SessionReplayClient,SessionReplay:r.SessionReplay,runStatsigSessionReplay:r.runStatsigSessionReplay})},19095:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],u=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,u=0,s=r-o;u<s;u+=a)i.push(c(e,u,u+a>s?s:u+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var o,i,a=[],u=t;u<r;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72090:function(e,t,n){"use strict";n.d(t,{Qp:function(){return h},tP:function(){return v}});var r=!1;if("undefined"!=typeof window){var o={get passive(){r=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var i="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],u=!1,s=-1,c=void 0,l=void 0,f=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!f(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},p=function(){void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},h=function(e,t){if(e){if(!a.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};a=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a),[n]),i?(e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-s;!f(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?d(e):e.stopPropagation())}(t,e)},u||(document.addEventListener("touchmove",d,r?{passive:!1}:void 0),u=!0)):function(e){if(void 0===l){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},v=function(){i?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),u&&(document.removeEventListener("touchmove",d,r?{passive:!1}:void 0),u=!1),s=-1):p(),a=[]}},62426:function(e,t,n){"use strict";var r=n(34575),o=n(93913),i=n(81506),a=n(2205),u=n(78585),s=n(29754);function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var l=n(19095),f=n(32846),d="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=v,t.h2=50;var p=2147483647;function h(e){if(e>p)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,v.prototype),t}function v(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return y(e)}return g(e,t,n)}function g(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!v.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|x(e,t),r=h(n),o=r.write(e,t);o!==n&&(r=r.slice(0,o));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(ne(e,Uint8Array)){var t=new Uint8Array(e);return w(t.buffer,t.byteOffset,t.byteLength)}return b(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ne(e,ArrayBuffer)||e&&ne(e.buffer,ArrayBuffer))return w(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(ne(e,SharedArrayBuffer)||e&&ne(e.buffer,SharedArrayBuffer)))return w(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return v.from(r,t,n);var o=function(e){if(v.isBuffer(e)){var t=0|_(e.length),n=h(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||re(e.length)?h(0):b(e);if("Buffer"===e.type&&Array.isArray(e.data))return b(e.data)}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return v.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function m(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function y(e){return m(e),h(e<0?0:0|_(e))}function b(e){for(var t=e.length<0?0:0|_(e.length),n=h(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function w(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,v.prototype),r}function _(e){if(e>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|e}function x(e,t){if(v.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ne(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ee(e).length;default:if(o)return r?-1:Q(e).length;t=(""+t).toLowerCase(),o=!0}}function S(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function k(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function E(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),re(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=v.from(t,r)),v.isBuffer(t))return 0===t.length?-1:C(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):C(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function C(e,t,n,r,o){var i,a=1,u=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;i<u;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===s)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+s>u&&(n=u-s),i=n;i>=0;i--){for(var f=!0,d=0;d<s;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function I(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i,a=t.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){var u=parseInt(t.substr(2*i,2),16);if(re(u))return i;e[n+i]=u}return i}function T(e,t,n,r){return te(Q(t,e.length-n),e,n,r)}function O(e,t,n,r){return te(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function A(e,t,n,r){return te(ee(t),e,n,r)}function D(e,t,n,r){return te(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function P(e,t,n){return 0===t&&n===e.length?l.fromByteArray(e):l.fromByteArray(e.slice(t,n))}function N(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i=e[o],a=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=n){var s=void 0,c=void 0,l=void 0,f=void 0;switch(u){case 1:i<128&&(a=i);break;case 2:128==(192&(s=e[o+1]))&&(f=(31&i)<<6|63&s)>127&&(a=f);break;case 3:s=e[o+1],c=e[o+2],128==(192&s)&&128==(192&c)&&(f=(15&i)<<12|(63&s)<<6|63&c)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:s=e[o+1],c=e[o+2],l=e[o+3],128==(192&s)&&128==(192&c)&&128==(192&l)&&(f=(15&i)<<18|(63&s)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=u}return function(e){var t=e.length;if(t<=M)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=M));return n}(r)}v.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(n){return!1}}(),v.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(v.prototype,"parent",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.buffer}}),Object.defineProperty(v.prototype,"offset",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.byteOffset}}),v.poolSize=8192,v.from=function(e,t,n){return g(e,t,n)},Object.setPrototypeOf(v.prototype,Uint8Array.prototype),Object.setPrototypeOf(v,Uint8Array),v.alloc=function(e,t,n){return function(e,t,n){return m(e),e<=0?h(e):void 0!==t?"string"==typeof n?h(e).fill(t,n):h(e).fill(t):h(e)}(e,t,n)},v.allocUnsafe=function(e){return y(e)},v.allocUnsafeSlow=function(e){return y(e)},v.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==v.prototype},v.compare=function(e,t){if(ne(e,Uint8Array)&&(e=v.from(e,e.offset,e.byteLength)),ne(t,Uint8Array)&&(t=v.from(t,t.offset,t.byteLength)),!v.isBuffer(e)||!v.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},v.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},v.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return v.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=v.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(ne(i,Uint8Array))o+i.length>r.length?(v.isBuffer(i)||(i=v.from(i)),i.copy(r,o)):Uint8Array.prototype.set.call(r,i,o);else{if(!v.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o)}o+=i.length}return r},v.byteLength=x,v.prototype._isBuffer=!0,v.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)k(this,t,t+1);return this},v.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)k(this,t,t+3),k(this,t+1,t+2);return this},v.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)k(this,t,t+7),k(this,t+1,t+6),k(this,t+2,t+5),k(this,t+3,t+4);return this},v.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?N(this,0,e):S.apply(this,arguments)},v.prototype.toLocaleString=v.prototype.toString,v.prototype.equals=function(e){if(!v.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===v.compare(this,e)},v.prototype.inspect=function(){var e="",n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},d&&(v.prototype[d]=v.prototype.inspect),v.prototype.compare=function(e,t,n,r,o){if(ne(e,Uint8Array)&&(e=v.from(e,e.offset,e.byteLength)),!v.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(i,a),s=this.slice(r,o),c=e.slice(t,n),l=0;l<u;++l)if(s[l]!==c[l]){i=s[l],a=c[l];break}return i<a?-1:a<i?1:0},v.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},v.prototype.indexOf=function(e,t,n){return E(this,e,t,n,!0)},v.prototype.lastIndexOf=function(e,t,n){return E(this,e,t,n,!1)},v.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return I(this,e,t,n);case"utf8":case"utf-8":return T(this,e,t,n);case"ascii":case"latin1":case"binary":return O(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function j(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function L(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function R(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=oe[e[i]];return o}function F(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function U(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,n,r,o,i){if(!v.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r,o){$(t,r,o,e,n,7);var i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function V(e,t,n,r,o){$(t,r,o,e,n,7);var i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function H(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function G(e,t,n,r,o){return t=+t,n>>>=0,o||H(e,0,n,4),f.write(e,t,n,r,23,4),n+4}function q(e,t,n,r,o){return t=+t,n>>>=0,o||H(e,0,n,8),f.write(e,t,n,r,52,8),n+8}v.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,v.prototype),r},v.prototype.readUintLE=v.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||U(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},v.prototype.readUintBE=v.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||U(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},v.prototype.readUint8=v.prototype.readUInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),this[e]},v.prototype.readUint16LE=v.prototype.readUInt16LE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]|this[e+1]<<8},v.prototype.readUint16BE=v.prototype.readUInt16BE=function(e,t){return e>>>=0,t||U(e,2,this.length),this[e]<<8|this[e+1]},v.prototype.readUint32LE=v.prototype.readUInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},v.prototype.readUint32BE=v.prototype.readUInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},v.prototype.readBigUInt64LE=ie((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Y(e,this.length-8);var r=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),o=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(o)<<BigInt(32))})),v.prototype.readBigUInt64BE=ie((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Y(e,this.length-8);var r=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],o=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),v.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||U(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},v.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||U(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},v.prototype.readInt8=function(e,t){return e>>>=0,t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},v.prototype.readInt16LE=function(e,t){e>>>=0,t||U(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},v.prototype.readInt16BE=function(e,t){e>>>=0,t||U(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},v.prototype.readInt32LE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},v.prototype.readInt32BE=function(e,t){return e>>>=0,t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},v.prototype.readBigInt64LE=ie((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Y(e,this.length-8);var r=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24))})),v.prototype.readBigInt64BE=ie((function(e){X(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||Y(e,this.length-8);var r=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n)})),v.prototype.readFloatLE=function(e,t){return e>>>=0,t||U(e,4,this.length),f.read(this,e,!0,23,4)},v.prototype.readFloatBE=function(e,t){return e>>>=0,t||U(e,4,this.length),f.read(this,e,!1,23,4)},v.prototype.readDoubleLE=function(e,t){return e>>>=0,t||U(e,8,this.length),f.read(this,e,!0,52,8)},v.prototype.readDoubleBE=function(e,t){return e>>>=0,t||U(e,8,this.length),f.read(this,e,!1,52,8)},v.prototype.writeUintLE=v.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||B(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},v.prototype.writeUintBE=v.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||B(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},v.prototype.writeUint8=v.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,255,0),this[t]=255&e,t+1},v.prototype.writeUint16LE=v.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},v.prototype.writeUint16BE=v.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},v.prototype.writeUint32LE=v.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},v.prototype.writeUint32BE=v.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},v.prototype.writeBigUInt64LE=ie((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),v.prototype.writeBigUInt64BE=ie((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),v.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);B(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},v.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);B(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},v.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},v.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},v.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},v.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},v.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},v.prototype.writeBigInt64LE=ie((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),v.prototype.writeBigInt64BE=ie((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return V(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),v.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},v.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},v.prototype.writeDoubleLE=function(e,t,n){return q(this,e,t,!0,n)},v.prototype.writeDoubleBE=function(e,t,n){return q(this,e,t,!1,n)},v.prototype.copy=function(e,t,n,r){if(!v.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},v.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!v.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=v.isBuffer(e)?e:v.from(e,r),u=a.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=a[i%u]}return this};var W={};function Z(e,t,n){W[e]=function(n){a(s,n);var u=c(s);function s(){var n;return r(this,s),n=u.call(this),Object.defineProperty(i(n),"message",{value:t.apply(i(n),arguments),writable:!0,configurable:!0}),n.name="".concat(n.name," [").concat(e,"]"),n.stack,delete n.name,n}return o(s,[{key:"code",get:function(){return e},set:function(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]),s}(n)}function K(e){for(var t="",n=e.length,r="-"===e[0]?1:0;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function $(e,t,n,r,o,i){if(e>n||e<t){var a,u="bigint"==typeof t?"n":"";throw a=i>3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(i+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(i+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new W.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){X(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||Y(t,e.length-(n+1))}(r,o,i)}function X(e,t){if("number"!=typeof e)throw new W.ERR_INVALID_ARG_TYPE(t,"number",e)}function Y(e,t,n){if(Math.floor(e)!==e)throw X(e,n),new W.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new W.ERR_BUFFER_OUT_OF_BOUNDS;throw new W.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}Z("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),Z("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(typeof t)}),TypeError),Z("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=K(String(n)):"bigint"==typeof n&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=K(o)),o+="n"),r+=" It must be ".concat(t,". Received ").concat(o)}),RangeError);var J=/[^+/0-9A-Za-z-_]/g;function Q(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function ee(e){return l.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(J,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function te(e,t,n,r){var o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function ne(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function re(e){return e!=e}var oe=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}();function ie(e){return"undefined"==typeof BigInt?ae:e}function ae(){throw new Error("BigInt not supported")}},80447:function(e,t,n){"use strict";n.r(t),n.d(t,{camelCase:function(){return p},camelCaseTransform:function(){return f},camelCaseTransformMerge:function(){return d}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;Object.create;function i(e){return e.toLowerCase()}var a=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],u=/[^A-Z0-9]+/gi;function s(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}function c(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}function l(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?a:n,o=t.stripRegexp,c=void 0===o?u:o,l=t.transform,f=void 0===l?i:l,d=t.delimiter,p=void 0===d?" ":d,h=s(s(e,r,"$1\0$2"),c,"\0"),v=0,g=h.length;"\0"===h.charAt(v);)v++;for(;"\0"===h.charAt(g-1);)g--;return h.slice(v,g).split("\0").map(f).join(p)}(e,o({delimiter:"",transform:c},t))}function f(e,t){return 0===t?e.toLowerCase():c(e,t)}function d(e,t){return 0===t?e.toLowerCase():function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}(e)}function p(e,t){return void 0===t&&(t={}),l(e,r({transform:f},t))}},75900:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},13981:function(e,t,n){"use strict";var r=n(81058);e.exports=r},27666:function(e,t,n){"use strict";var r=n(45977);e.exports=r},71010:function(e,t,n){"use strict";var r=n(90194);e.exports=r},54794:function(e,t,n){"use strict";var r=n(63477);e.exports=r},67938:function(e,t,n){"use strict";var r=n(81207);e.exports=r},30248:function(e,t,n){"use strict";var r=n(15936);e.exports=r},76388:function(e,t,n){"use strict";var r=n(95039);e.exports=r},62631:function(e,t,n){"use strict";var r=n(31063);e.exports=r},29589:function(e,t,n){"use strict";var r=n(79690);e.exports=r},86907:function(e,t,n){"use strict";var r=n(91356);e.exports=r},84597:function(e,t,n){"use strict";var r=n(52337);n(33324),e.exports=r},64687:function(e,t,n){"use strict";var r=n(41281);e.exports=r},76752:function(e,t,n){"use strict";var r=n(19730);e.exports=r},74614:function(e,t,n){"use strict";var r=n(57155);e.exports=r},14701:function(e,t,n){"use strict";var r=n(54397);e.exports=r},96949:function(e,t,n){"use strict";var r=n(57028);e.exports=r},79240:function(e,t,n){"use strict";var r=n(64353);e.exports=r},69819:function(e,t,n){"use strict";var r=n(56250);e.exports=r},17386:function(e,t,n){"use strict";var r=n(90862);e.exports=r},94567:function(e,t,n){"use strict";var r=n(95267);n(80861),e.exports=r},55649:function(e,t,n){"use strict";var r=n(24162);e.exports=r},99799:function(e,t,n){"use strict";var r=n(64103);e.exports=r},81534:function(e,t,n){"use strict";var r=n(9704);n(4392),n(79333),n(65444),n(57329),e.exports=r},8789:function(e,t,n){"use strict";var r=n(5877);e.exports=r},95549:function(e,t,n){"use strict";var r=n(37923);e.exports=r},58803:function(e,t,n){"use strict";n(38329),n(96709);var r=n(52854);e.exports=r.Array.from},22223:function(e,t,n){"use strict";n(84815);var r=n(52854);e.exports=r.Array.isArray},30163:function(e,t,n){"use strict";n(67223);var r=n(89790);e.exports=r("Array","concat")},79633:function(e,t,n){"use strict";n(84908),n(71355);var r=n(89790);e.exports=r("Array","entries")},37655:function(e,t,n){"use strict";n(45329);var r=n(89790);e.exports=r("Array","every")},2917:function(e,t,n){"use strict";n(83955);var r=n(89790);e.exports=r("Array","fill")},46108:function(e,t,n){"use strict";n(28123);var r=n(89790);e.exports=r("Array","filter")},36005:function(e,t,n){"use strict";n(87271);var r=n(89790);e.exports=r("Array","findIndex")},61813:function(e,t,n){"use strict";n(99163);var r=n(89790);e.exports=r("Array","find")},67724:function(e,t,n){"use strict";n(13508),n(96810);var r=n(89790);e.exports=r("Array","flat")},48075:function(e,t,n){"use strict";n(58603);var r=n(89790);e.exports=r("Array","forEach")},56321:function(e,t,n){"use strict";n(77098);var r=n(89790);e.exports=r("Array","includes")},9553:function(e,t,n){"use strict";n(78565);var r=n(89790);e.exports=r("Array","indexOf")},61025:function(e,t,n){"use strict";n(73726);var r=n(89790);e.exports=r("Array","lastIndexOf")},78330:function(e,t,n){"use strict";n(76536);var r=n(89790);e.exports=r("Array","map")},7335:function(e,t,n){"use strict";n(21988);var r=n(89790);e.exports=r("Array","push")},23567:function(e,t,n){"use strict";n(2229);var r=n(89790);e.exports=r("Array","reduce")},65727:function(e,t,n){"use strict";n(91194);var r=n(89790);e.exports=r("Array","reverse")},31816:function(e,t,n){"use strict";n(1482);var r=n(89790);e.exports=r("Array","slice")},44057:function(e,t,n){"use strict";n(83726);var r=n(89790);e.exports=r("Array","some")},79484:function(e,t,n){"use strict";n(53280);var r=n(89790);e.exports=r("Array","sort")},75578:function(e,t,n){"use strict";n(84908),n(71355);var r=n(89790);e.exports=r("Array","values")},64541:function(e,t,n){"use strict";n(33560);var r=n(52854);e.exports=r.Date.now},63280:function(e,t,n){"use strict";n(103);var r=n(89790);e.exports=r("Function","bind")},43382:function(e,t,n){"use strict";n(84908),n(38329);var r=n(9422);e.exports=r},43932:function(e,t,n){"use strict";n(14614),e.exports=n(43575)},94745:function(e,t,n){"use strict";var r=n(2323),o=n(63280),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||r(i,e)&&t===i.bind?o:t}},61988:function(e,t,n){"use strict";var r=n(2323),o=n(30163),i=Array.prototype;e.exports=function(e){var t=e.concat;return e===i||r(i,e)&&t===i.concat?o:t}},91717:function(e,t,n){"use strict";var r=n(2323),o=n(37655),i=Array.prototype;e.exports=function(e){var t=e.every;return e===i||r(i,e)&&t===i.every?o:t}},99950:function(e,t,n){"use strict";var r=n(2323),o=n(2917),i=Array.prototype;e.exports=function(e){var t=e.fill;return e===i||r(i,e)&&t===i.fill?o:t}},77206:function(e,t,n){"use strict";var r=n(2323),o=n(46108),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||r(i,e)&&t===i.filter?o:t}},57578:function(e,t,n){"use strict";var r=n(2323),o=n(36005),i=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===i||r(i,e)&&t===i.findIndex?o:t}},37117:function(e,t,n){"use strict";var r=n(2323),o=n(61813),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||r(i,e)&&t===i.find?o:t}},39729:function(e,t,n){"use strict";n(84944);var r=n(2323),o=n(67724),i=Array.prototype;e.exports=function(e){var t=e.flat;return e===i||r(i,e)&&t===i.flat?o:t}},70390:function(e,t,n){"use strict";var r=n(2323),o=n(56321),i=n(63605),a=Array.prototype,u=String.prototype;e.exports=function(e){var t=e.includes;return e===a||r(a,e)&&t===a.includes?o:"string"==typeof e||e===u||r(u,e)&&t===u.includes?i:t}},45914:function(e,t,n){"use strict";var r=n(2323),o=n(9553),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||r(i,e)&&t===i.indexOf?o:t}},90385:function(e,t,n){"use strict";var r=n(2323),o=n(61025),i=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===i||r(i,e)&&t===i.lastIndexOf?o:t}},97934:function(e,t,n){"use strict";var r=n(2323),o=n(78330),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||r(i,e)&&t===i.map?o:t}},29166:function(e,t,n){"use strict";var r=n(2323),o=n(7335),i=Array.prototype;e.exports=function(e){var t=e.push;return e===i||r(i,e)&&t===i.push?o:t}},61817:function(e,t,n){"use strict";var r=n(2323),o=n(23567),i=Array.prototype;e.exports=function(e){var t=e.reduce;return e===i||r(i,e)&&t===i.reduce?o:t}},76854:function(e,t,n){"use strict";var r=n(2323),o=n(54718),i=String.prototype;e.exports=function(e){var t=e.repeat;return"string"==typeof e||e===i||r(i,e)&&t===i.repeat?o:t}},49617:function(e,t,n){"use strict";var r=n(2323),o=n(65727),i=Array.prototype;e.exports=function(e){var t=e.reverse;return e===i||r(i,e)&&t===i.reverse?o:t}},24816:function(e,t,n){"use strict";var r=n(2323),o=n(31816),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||r(i,e)&&t===i.slice?o:t}},67905:function(e,t,n){"use strict";var r=n(2323),o=n(44057),i=Array.prototype;e.exports=function(e){var t=e.some;return e===i||r(i,e)&&t===i.some?o:t}},69163:function(e,t,n){"use strict";var r=n(2323),o=n(79484),i=Array.prototype;e.exports=function(e){var t=e.sort;return e===i||r(i,e)&&t===i.sort?o:t}},5582:function(e,t,n){"use strict";var r=n(2323),o=n(74395),i=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===i||r(i,e)&&t===i.startsWith?o:t}},17174:function(e,t,n){"use strict";n(55674);var r=n(2323),o=n(22830),i=String.prototype;e.exports=function(e){var t=e.trimStart;return"string"==typeof e||e===i||r(i,e)&&t===i.trimStart?o:t}},98944:function(e,t,n){"use strict";var r=n(2323),o=n(46248),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===i||r(i,e)&&t===i.trim?o:t}},15802:function(e,t,n){"use strict";n(70375),n(11712);var r=n(52854),o=n(98607);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o(r.JSON.stringify,null,arguments)}},41100:function(e,t,n){"use strict";n(84908),n(28386),n(73696),n(71355),n(38329);var r=n(52854);e.exports=r.Map},97152:function(e,t,n){"use strict";n(19672);var r=n(52854);e.exports=r.Number.isNaN},58825:function(e,t,n){"use strict";n(66151);var r=n(52854);e.exports=r.Object.assign},45220:function(e,t,n){"use strict";n(93796);var r=n(52854).Object;e.exports=function(e,t){return r.create(e,t)}},77426:function(e,t,n){"use strict";n(38154);var r=n(52854).Object,o=e.exports=function(e,t){return r.defineProperties(e,t)};r.defineProperties.sham&&(o.sham=!0)},47845:function(e,t,n){"use strict";n(62573);var r=n(52854).Object,o=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(o.sham=!0)},3900:function(e,t,n){"use strict";n(91482);var r=n(52854);e.exports=r.Object.entries},96237:function(e,t,n){"use strict";n(97119);var r=n(52854);e.exports=r.Object.freeze},6189:function(e,t,n){"use strict";n(33805);var r=n(52854).Object,o=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(o.sham=!0)},9640:function(e,t,n){"use strict";n(42653);var r=n(52854);e.exports=r.Object.getOwnPropertyDescriptors},10353:function(e,t,n){"use strict";n(81276);var r=n(52854).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},99874:function(e,t,n){"use strict";n(74163);var r=n(52854);e.exports=r.Object.getOwnPropertySymbols},26866:function(e,t,n){"use strict";n(75327);var r=n(52854);e.exports=r.Object.getPrototypeOf},73570:function(e,t,n){"use strict";n(4113);var r=n(52854);e.exports=r.Object.keys},23898:function(e,t,n){"use strict";n(89165);var r=n(52854);e.exports=r.Object.setPrototypeOf},87451:function(e,t,n){"use strict";n(13313);var r=n(52854);e.exports=r.Object.values},75052:function(e,t,n){"use strict";n(94563);var r=n(52854);e.exports=r.parseInt},93334:function(e,t,n){"use strict";n(38628),n(84908),n(71355),n(43906),n(79112),n(78839),n(39357),n(47769),n(38329);var r=n(52854);e.exports=r.Promise},64578:function(e,t,n){"use strict";n(86245);var r=n(52854);e.exports=r.Reflect.construct},55193:function(e,t,n){"use strict";n(21069);var r=n(52854);e.exports=r.Reflect.get},27790:function(e,t,n){"use strict";n(84908),n(71355),n(89736),n(38329);var r=n(52854);e.exports=r.Set},63605:function(e,t,n){"use strict";n(80363);var r=n(89790);e.exports=r("String","includes")},54718:function(e,t,n){"use strict";n(23483);var r=n(89790);e.exports=r("String","repeat")},74395:function(e,t,n){"use strict";n(12077);var r=n(89790);e.exports=r("String","startsWith")},22830:function(e,t,n){"use strict";n(58661);var r=n(89790);e.exports=r("String","trimLeft")},46248:function(e,t,n){"use strict";n(83647);var r=n(89790);e.exports=r("String","trim")},81138:function(e,t,n){"use strict";n(67223),n(71355),n(74163),n(21966),n(82705),n(67211),n(80327),n(96841),n(47324),n(42611),n(16980),n(33389),n(90535),n(44310),n(82217),n(74261),n(19212),n(85458),n(80044),n(56205);var r=n(52854);e.exports=r.Symbol},61693:function(e,t,n){"use strict";n(84908),n(71355),n(38329),n(96841);var r=n(30818);e.exports=r.f("iterator")},98086:function(e,t,n){"use strict";n(52967),n(82217);var r=n(30818);e.exports=r.f("toPrimitive")},287:function(e,t,n){"use strict";e.exports=n(75626)},80811:function(e,t,n){"use strict";e.exports=n(82875)},23606:function(e,t,n){"use strict";e.exports=n(50076)},34499:function(e,t,n){"use strict";e.exports=n(23268)},59963:function(e,t,n){"use strict";e.exports=n(49681)},49729:function(e,t,n){"use strict";e.exports=n(88592)},83857:function(e,t,n){"use strict";e.exports=n(4844)},65454:function(e,t,n){"use strict";e.exports=n(62583)},86985:function(e,t,n){"use strict";e.exports=n(8998)},1387:function(e,t,n){"use strict";e.exports=n(72807)},85109:function(e,t,n){"use strict";e.exports=n(68515)},91721:function(e,t,n){"use strict";e.exports=n(27221)},2392:function(e,t,n){"use strict";e.exports=n(29121)},37963:function(e,t,n){"use strict";var r=n(13981);e.exports=r},41963:function(e,t,n){"use strict";var r=n(27666);e.exports=r},75626:function(e,t,n){"use strict";var r=n(71010);e.exports=r},82875:function(e,t,n){"use strict";n(92864);var r=n(54794);e.exports=r},55970:function(e,t,n){"use strict";var r=n(67938);e.exports=r},50076:function(e,t,n){"use strict";var r=n(30248);e.exports=r},83195:function(e,t,n){"use strict";var r=n(76388);e.exports=r},23268:function(e,t,n){"use strict";var r=n(62631);e.exports=r},49681:function(e,t,n){"use strict";var r=n(29589);e.exports=r},88592:function(e,t,n){"use strict";var r=n(86907);e.exports=r},88907:function(e,t,n){"use strict";var r=n(84597);n(87217),n(63974),n(37829),n(28507),n(78721),n(81319),n(7237),n(9454),n(40272),n(83176),n(17663),n(84181),n(18686),n(59826),n(81888),n(71754),n(74642),n(73096),n(5075),e.exports=r},43449:function(e,t,n){"use strict";var r=n(64687);e.exports=r},4844:function(e,t,n){"use strict";var r=n(76752);e.exports=r},62583:function(e,t,n){"use strict";var r=n(74614);e.exports=r},70895:function(e,t,n){"use strict";var r=n(14701);e.exports=r},9562:function(e,t,n){"use strict";var r=n(96949);e.exports=r},8998:function(e,t,n){"use strict";var r=n(79240);e.exports=r},69188:function(e,t,n){"use strict";var r=n(69819);e.exports=r},72807:function(e,t,n){"use strict";var r=n(17386);e.exports=r},68515:function(e,t,n){"use strict";var r=n(94567);n(51204),n(63240),n(91062),n(96189),e.exports=r},47532:function(e,t,n){"use strict";var r=n(55649);e.exports=r},8944:function(e,t,n){"use strict";var r=n(99799);e.exports=r},27221:function(e,t,n){"use strict";var r=n(81534);n(25268),n(69024),n(35045),n(98940),n(7056),n(99831),n(26275),n(55310),n(73769),e.exports=r},29121:function(e,t,n){"use strict";var r=n(8789);e.exports=r},38151:function(e,t,n){"use strict";var r=n(95549);e.exports=r},66875:function(e,t,n){"use strict";var r=n(34393),o=n(78767),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},1580:function(e,t,n){"use strict";var r=n(28332),o=n(78767),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a constructor")}},12855:function(e,t,n){"use strict";var r=n(78767),o=TypeError;e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw new o(r(e)+" is not a map")}},45702:function(e,t,n){"use strict";var r=n(6074),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},93506:function(e){"use strict";e.exports=function(){}},99316:function(e,t,n){"use strict";var r=n(2323),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},22782:function(e,t,n){"use strict";var r=n(74458),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},22371:function(e,t,n){"use strict";var r=n(11403);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},87357:function(e,t,n){"use strict";var r=n(73391),o=n(30652),i=n(71875);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:o(s,n);c>u;)t[u++]=e;return t}},26491:function(e,t,n){"use strict";var r=n(30319).forEach,o=n(52540)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},79367:function(e,t,n){"use strict";var r=n(73290),o=n(27110),i=n(73391),a=n(58962),u=n(43582),s=n(28332),c=n(71875),l=n(75441),f=n(77308),d=n(9422),p=Array;e.exports=function(e){var t=i(e),n=s(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=r(v,h>2?arguments[2]:void 0));var m,y,b,w,_,x,S=d(t),k=0;if(!S||this===p&&u(S))for(m=c(t),y=n?new this(m):p(m);m>k;k++)x=g?v(t[k],k):t[k],l(y,k,x);else for(y=n?new this:[],_=(w=f(t,S)).next;!(b=o(_,w)).done;k++)x=g?a(w,v,[b.value,k],!0):b.value,l(y,k,x);return y.length=k,y}},86839:function(e,t,n){"use strict";var r=n(74087),o=n(30652),i=n(71875),a=function(e){return function(t,n,a){var u=r(t),s=i(u);if(0===s)return!e&&-1;var c,l=o(a,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},30319:function(e,t,n){"use strict";var r=n(73290),o=n(44339),i=n(67138),a=n(73391),u=n(71875),s=n(11809),c=o([].push),l=function(e){var t=1===e,n=2===e,o=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,m){for(var y,b,w=a(h),_=i(w),x=u(_),S=r(v,g),k=0,E=m||s,C=t?E(h,x):n||d?E(h,0):void 0;x>k;k++)if((p||k in _)&&(b=S(y=_[k],k,w),e))if(t)C[k]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return k;case 2:c(C,y)}else switch(e){case 4:return!1;case 7:c(C,y)}return f?-1:o||l?l:C}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},66723:function(e,t,n){"use strict";var r=n(98607),o=n(74087),i=n(56435),a=n(71875),u=n(52540),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),d=l||!f;e.exports=d?function(e){if(l)return r(c,this,arguments)||0;var t=o(this),n=a(t);if(0===n)return-1;var u=n-1;for(arguments.length>1&&(u=s(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:c},88917:function(e,t,n){"use strict";var r=n(11403),o=n(86865),i=n(51837),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},52540:function(e,t,n){"use strict";var r=n(11403);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},89393:function(e,t,n){"use strict";var r=n(66875),o=n(73391),i=n(67138),a=n(71875),u=TypeError,s="Reduce of empty array with no initial value",c=function(e){return function(t,n,c,l){var f=o(t),d=i(f),p=a(f);if(r(n),0===p&&c<2)throw new u(s);var h=e?p-1:0,v=e?-1:1;if(c<2)for(;;){if(h in d){l=d[h],h+=v;break}if(h+=v,e?h<0:p<=h)throw new u(s)}for(;e?h>=0:p>h;h+=v)h in d&&(l=n(l,d[h],h,f));return l}};e.exports={left:c(!1),right:c(!0)}},3868:function(e,t,n){"use strict";var r=n(9021),o=n(87947),i=TypeError,a=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=u?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},96250:function(e,t,n){"use strict";var r=n(44339);e.exports=r([].slice)},75671:function(e,t,n){"use strict";var r=n(96250),o=Math.floor;e.exports=function e(t,n){var i=t.length;if(i<8)for(var a,u,s=1;s<i;){for(u=s,a=t[s];u&&n(t[u-1],a)>0;)t[u]=t[--u];u!==s++&&(t[u]=a)}else for(var c=o(i/2),l=e(r(t,0,c),n),f=e(r(t,c),n),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)t[h+v]=h<d&&v<p?n(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return t}},53334:function(e,t,n){"use strict";var r=n(87947),o=n(28332),i=n(74458),a=n(86865)("species"),u=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===u||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},11809:function(e,t,n){"use strict";var r=n(53334);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},58962:function(e,t,n){"use strict";var r=n(22782),o=n(95244);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){o(e,"throw",a)}}},4572:function(e){"use strict";e.exports=function(e,t){return 1===t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}}},80062:function(e,t,n){"use strict";var r=n(86865)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}e.exports=function(e,t){try{if(!t&&!o)return!1}catch(u){return!1}var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(u){}return n}},7978:function(e,t,n){"use strict";var r=n(44339),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},41870:function(e,t,n){"use strict";var r=n(13517),o=n(34393),i=n(7978),a=n(86865)("toStringTag"),u=Object,s="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=u(e),a))?n:s?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},98986:function(e,t,n){"use strict";var r=n(73290),o=n(22782),i=n(73391),a=n(15131);e.exports=function(e,t,n){return function(u){var s=i(u),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,d=f?r(l,c>2?arguments[2]:void 0):void 0,p=new e,h=0;return a(s,(function(e){var r=f?d(e,h++):e;n?t(p,o(r)[0],r[1]):t(p,r)})),p}}},74777:function(e,t,n){"use strict";var r=n(22782);e.exports=function(e,t,n){return function(){for(var o=new e,i=arguments.length,a=0;a<i;a++){var u=arguments[a];n?t(o,r(u)[0],u[1]):t(o,u)}return o}}},62153:function(e,t,n){"use strict";var r=n(87976),o=n(89366),i=n(87763),a=n(73290),u=n(99316),s=n(47760),c=n(15131),l=n(82299),f=n(38925),d=n(50746),p=n(9021),h=n(18596).fastKey,v=n(85765),g=v.set,m=v.getterFor;e.exports={getConstructor:function(e,t,n,l){var f=e((function(e,o){u(e,d),g(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),p||(e.size=0),s(o)||c(o,e[l],{that:e,AS_ENTRIES:n})})),d=f.prototype,v=m(t),y=function(e,t,n){var r,o,i=v(e),a=b(e,t);return a?a.value=n:(i.last=a={index:o=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,t){var n,r=v(e),o=h(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return i(d,{clear:function(){for(var e=v(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),t=t.next;e.first=e.last=void 0,e.index=r(null),p?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=b(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),i(d,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),p&&o(d,"size",{configurable:!0,get:function(){return v(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);l(e,t,(function(e,t){g(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?f("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),d(t)}}},91458:function(e,t,n){"use strict";var r=n(58001),o=n(43575),i=n(18596),a=n(11403),u=n(49049),s=n(15131),c=n(99316),l=n(34393),f=n(74458),d=n(47760),p=n(69499),h=n(34019).f,v=n(30319).forEach,g=n(9021),m=n(85765),y=m.set,b=m.getterFor;e.exports=function(e,t,n){var m,w=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),x=w?"set":"add",S=o[e],k=S&&S.prototype,E={};if(g&&l(S)&&(_||k.forEach&&!a((function(){(new S).entries().next()})))){var C=(m=t((function(t,n){y(c(t,C),{type:e,collection:new S}),d(n)||s(n,t[x],{that:t,AS_ENTRIES:w})}))).prototype,I=b(e);v(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"===e||"set"===e;!(e in k)||_&&"clear"===e||u(C,e,(function(n,r){var o=I(this).collection;if(!t&&_&&!f(n))return"get"===e&&void 0;var i=o[e](0===n?0:n,r);return t?this:i}))})),_||h(C,"size",{configurable:!0,get:function(){return I(this).collection.size}})}else m=n.getConstructor(t,e,w,x),i.enable();return p(m,e,!1,!0),E[e]=m,r({global:!0,forced:!0},E),_||n.setStrong(m,e,w),m}},98334:function(e,t,n){"use strict";var r=n(70894),o=n(41230),i=n(10022),a=n(34019);e.exports=function(e,t,n){for(var u=o(t),s=a.f,c=i.f,l=0;l<u.length;l++){var f=u[l];r(e,f)||n&&r(n,f)||s(e,f,c(t,f))}}},58320:function(e,t,n){"use strict";var r=n(86865)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(o){}}return!1}},90217:function(e,t,n){"use strict";var r=n(11403);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},38925:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},49049:function(e,t,n){"use strict";var r=n(9021),o=n(34019),i=n(30995);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},30995:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},75441:function(e,t,n){"use strict";var r=n(9021),o=n(34019),i=n(30995);e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},72702:function(e,t,n){"use strict";var r=n(44339),o=n(11403),i=n(57344).start,a=RangeError,u=isFinite,s=Math.abs,c=Date.prototype,l=c.toISOString,f=r(c.getTime),d=r(c.getUTCDate),p=r(c.getUTCFullYear),h=r(c.getUTCHours),v=r(c.getUTCMilliseconds),g=r(c.getUTCMinutes),m=r(c.getUTCMonth),y=r(c.getUTCSeconds);e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==l.call(new Date(-50000000000001))}))||!o((function(){l.call(new Date(NaN))}))?function(){if(!u(f(this)))throw new a("Invalid time value");var e=this,t=p(e),n=v(e),r=t<0?"-":t>9999?"+":"";return r+i(s(t),r?6:4,0)+"-"+i(m(e)+1,2,0)+"-"+i(d(e),2,0)+"T"+i(h(e),2,0)+":"+i(g(e),2,0)+":"+i(y(e),2,0)+"."+i(n,3,0)+"Z"}:l},89366:function(e,t,n){"use strict";var r=n(34019);e.exports=function(e,t,n){return r.f(e,t,n)}},80888:function(e,t,n){"use strict";var r=n(49049);e.exports=function(e,t,n,o){return o&&o.enumerable?e[t]=n:r(e,t,n),e}},87763:function(e,t,n){"use strict";var r=n(80888);e.exports=function(e,t,n){for(var o in t)n&&n.unsafe&&e[o]?e[o]=t[o]:r(e,o,t[o],n);return e}},91433:function(e,t,n){"use strict";var r=n(43575),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},53778:function(e,t,n){"use strict";var r=n(78767),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},9021:function(e,t,n){"use strict";var r=n(11403);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},52401:function(e,t,n){"use strict";var r=n(43575),o=n(74458),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},40296:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},47471:function(e){"use strict";e.exports={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}},34237:function(e,t,n){"use strict";var r=n(25765).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},32958:function(e,t,n){"use strict";var r=n(16268),o=n(51040);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},4923:function(e){"use strict";e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},16268:function(e){"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},10548:function(e,t,n){"use strict";var r=n(25765);e.exports=/MSIE|Trident/.test(r)},40071:function(e,t,n){"use strict";var r=n(25765);e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},22920:function(e,t,n){"use strict";var r=n(25765);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},51040:function(e,t,n){"use strict";var r=n(43575),o=n(7978);e.exports="process"===o(r.process)},23262:function(e,t,n){"use strict";var r=n(25765);e.exports=/web0s(?!.*chrome)/i.test(r)},25765:function(e){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},51837:function(e,t,n){"use strict";var r,o,i=n(43575),a=n(25765),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},11986:function(e,t,n){"use strict";var r=n(25765).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},91678:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},83031:function(e,t,n){"use strict";var r=n(44339),o=Error,i=r("".replace),a=String(new o("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,s=u.test(a);e.exports=function(e,t){if(s&&"string"==typeof e&&!o.prepareStackTrace)for(;t--;)e=i(e,u,"");return e}},75294:function(e,t,n){"use strict";var r=n(49049),o=n(83031),i=n(59277),a=Error.captureStackTrace;e.exports=function(e,t,n,u){i&&(a?a(e,t):r(e,"stack",o(n,u)))}},59277:function(e,t,n){"use strict";var r=n(11403),o=n(30995);e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},58001:function(e,t,n){"use strict";var r=n(43575),o=n(98607),i=n(87538),a=n(34393),u=n(10022).f,s=n(69395),c=n(52854),l=n(73290),f=n(49049),d=n(70894);n(39868);var p=function(e){var t=function t(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return o(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,o,h,v,g,m,y,b,w,_=e.target,x=e.global,S=e.stat,k=e.proto,E=x?r:S?r[_]:r[_]&&r[_].prototype,C=x?c:c[_]||f(c,_,{})[_],I=C.prototype;for(v in t)o=!(n=s(x?v:_+(S?".":"#")+v,e.forced))&&E&&d(E,v),m=C[v],o&&(y=e.dontCallGetSet?(w=u(E,v))&&w.value:E[v]),g=o&&y?y:t[v],(n||k||typeof m!=typeof g)&&(b=e.bind&&o?l(g,r):e.wrap&&o?p(g):k&&a(g)?i(g):g,(e.sham||g&&g.sham||m&&m.sham)&&f(b,"sham",!0),f(C,v,b),k&&(d(c,h=_+"Prototype")||f(c,h,{}),f(c[h],v,g),e.real&&I&&(n||!I[v])&&f(I,v,g)))}},11403:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},69649:function(e,t,n){"use strict";var r=n(87947),o=n(71875),i=n(40296),a=n(73290);e.exports=function e(t,n,u,s,c,l,f,d){for(var p,h=c,v=0,g=!!f&&a(f,d);v<s;)v in u&&(p=g?g(u[v],v,n):u[v],l>0&&r(p)?h=e(t,n,p,o(p),h,l-1)-1:(i(h+1),t[h]=p),h++),v++;return h}},75510:function(e,t,n){"use strict";var r=n(11403);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},98607:function(e,t,n){"use strict";var r=n(8500),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},73290:function(e,t,n){"use strict";var r=n(87538),o=n(66875),i=n(8500),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},8500:function(e,t,n){"use strict";var r=n(11403);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},49144:function(e,t,n){"use strict";var r=n(44339),o=n(66875),i=n(74458),a=n(70894),u=n(96250),s=n(8500),c=Function,l=r([].concat),f=r([].join),d={},p=function(e,t,n){if(!a(d,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";d[t]=c("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=s?c.bind:function(e){var t=o(this),n=t.prototype,r=u(arguments,1),a=function(){var n=l(r,u(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},27110:function(e,t,n){"use strict";var r=n(8500),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},61168:function(e,t,n){"use strict";var r=n(9021),o=n(70894),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},74791:function(e,t,n){"use strict";var r=n(44339),o=n(66875);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},87538:function(e,t,n){"use strict";var r=n(7978),o=n(44339);e.exports=function(e){if("Function"===r(e))return o(e)}},44339:function(e,t,n){"use strict";var r=n(8500),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},89790:function(e,t,n){"use strict";var r=n(43575),o=n(52854);e.exports=function(e,t){var n=o[e+"Prototype"],i=n&&n[t];if(i)return i;var a=r[e],u=a&&a.prototype;return u&&u[t]}},97838:function(e,t,n){"use strict";var r=n(52854),o=n(43575),i=n(34393),a=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},9422:function(e,t,n){"use strict";var r=n(41870),o=n(75733),i=n(47760),a=n(19202),u=n(86865)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[r(e)]}},77308:function(e,t,n){"use strict";var r=n(27110),o=n(66875),i=n(22782),a=n(78767),u=n(9422),s=TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return i(r(n,e));throw new s(a(e)+" is not iterable")}},85174:function(e,t,n){"use strict";var r=n(44339),o=n(87947),i=n(34393),a=n(7978),u=n(60793),s=r([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,n=[],r=0;r<t;r++){var c=e[r];"string"==typeof c?s(n,c):"number"!=typeof c&&"Number"!==a(c)&&"String"!==a(c)||s(n,u(c))}var l=n.length,f=!0;return function(e,t){if(f)return f=!1,t;if(o(this))return t;for(var r=0;r<l;r++)if(n[r]===e)return t}}}},75733:function(e,t,n){"use strict";var r=n(66875),o=n(47760);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},43575:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},70894:function(e,t,n){"use strict";var r=n(44339),o=n(73391),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},43414:function(e){"use strict";e.exports={}},5838:function(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(n){}}},36895:function(e,t,n){"use strict";var r=n(97838);e.exports=r("document","documentElement")},83886:function(e,t,n){"use strict";var r=n(9021),o=n(11403),i=n(52401);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},67138:function(e,t,n){"use strict";var r=n(44339),o=n(11403),i=n(7978),a=Object,u=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?u(e,""):a(e)}:a},16473:function(e,t,n){"use strict";var r=n(44339),o=n(34393),i=n(39868),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},41498:function(e,t,n){"use strict";var r=n(74458),o=n(49049);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},18596:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=n(43414),a=n(74458),u=n(70894),s=n(34019).f,c=n(98664),l=n(66284),f=n(6800),d=n(7610),p=n(75510),h=!1,v=d("meta"),g=0,m=function(e){s(e,v,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=o([].splice),n={};n[v]=1,e(n).length&&(c.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===v){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!u(e,v)){if(!f(e))return"F";if(!t)return"E";m(e)}return e[v].objectID},getWeakData:function(e,t){if(!u(e,v)){if(!f(e))return!0;if(!t)return!1;m(e)}return e[v].weakData},onFreeze:function(e){return p&&h&&f(e)&&!u(e,v)&&m(e),e}};i[v]=!0},85765:function(e,t,n){"use strict";var r,o,i,a=n(89163),u=n(43575),s=n(74458),c=n(49049),l=n(70894),f=n(39868),d=n(54833),p=n(43414),h="Object already initialized",v=u.TypeError,g=u.WeakMap;if(a||f.state){var m=f.state||(f.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw new v(h);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var y=d("state");p[y]=!0,r=function(e,t){if(l(e,y))throw new v(h);return t.facade=e,c(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}}}},43582:function(e,t,n){"use strict";var r=n(86865),o=n(19202),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},87947:function(e,t,n){"use strict";var r=n(7978);e.exports=Array.isArray||function(e){return"Array"===r(e)}},34393:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},28332:function(e,t,n){"use strict";var r=n(44339),o=n(11403),i=n(34393),a=n(41870),u=n(97838),s=n(16473),c=function(){},l=u("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=r(f.exec),p=!f.test(c),h=function(e){if(!i(e))return!1;try{return l(c,[],e),!0}catch(t){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(f,s(e))}catch(t){return!0}};v.sham=!0,e.exports=!l||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?v:h},66407:function(e,t,n){"use strict";var r=n(70894);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},69395:function(e,t,n){"use strict";var r=n(11403),o=n(34393),i=/#|\.prototype\./,a=function(e,t){var n=s[u(e)];return n===l||n!==c&&(o(t)?r(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},47760:function(e){"use strict";e.exports=function(e){return null==e}},74458:function(e,t,n){"use strict";var r=n(34393);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},6074:function(e,t,n){"use strict";var r=n(74458);e.exports=function(e){return r(e)||null===e}},11573:function(e){"use strict";e.exports=!0},48097:function(e,t,n){"use strict";var r=n(74458),o=n(7978),i=n(86865)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},11524:function(e,t,n){"use strict";var r=n(97838),o=n(34393),i=n(2323),a=n(88164),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,u(e))}},2911:function(e,t,n){"use strict";var r=n(27110);e.exports=function(e,t,n){for(var o,i,a=n?e:e.iterator,u=e.next;!(o=r(u,a)).done;)if(void 0!==(i=t(o.value)))return i}},15131:function(e,t,n){"use strict";var r=n(73290),o=n(27110),i=n(22782),a=n(78767),u=n(43582),s=n(71875),c=n(2323),l=n(77308),f=n(9422),d=n(95244),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},v=h.prototype;e.exports=function(e,t,n){var g,m,y,b,w,_,x,S=n&&n.that,k=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),T=r(t,S),O=function(e){return g&&d(g,"normal",e),new h(!0,e)},A=function(e){return k?(i(e),I?T(e[0],e[1],O):T(e[0],e[1])):I?T(e,O):T(e)};if(E)g=e.iterator;else if(C)g=e;else{if(!(m=f(e)))throw new p(a(e)+" is not iterable");if(u(m)){for(y=0,b=s(e);b>y;y++)if((w=A(e[y]))&&c(v,w))return w;return new h(!1)}g=l(e,m)}for(_=E?e.next:g.next;!(x=o(_,g)).done;){try{w=A(x.value)}catch(D){d(g,"throw",D)}if("object"==typeof w&&w&&c(v,w))return w}return new h(!1)}},95244:function(e,t,n){"use strict";var r=n(27110),o=n(22782),i=n(75733);e.exports=function(e,t,n){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(s){u=!0,a=s}if("throw"===t)throw n;if(u)throw a;return o(a),n}},56161:function(e,t,n){"use strict";var r=n(25030).IteratorPrototype,o=n(87976),i=n(30995),a=n(69499),u=n(19202),s=function(){return this};e.exports=function(e,t,n,c){var l=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,l,!1,!0),u[l]=s,e}},82299:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(11573),a=n(61168),u=n(34393),s=n(56161),c=n(44707),l=n(72778),f=n(69499),d=n(49049),p=n(80888),h=n(86865),v=n(19202),g=n(25030),m=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,_=h("iterator"),x="keys",S="values",k="entries",E=function(){return this};e.exports=function(e,t,n,a,h,g,C){s(n,t,a);var I,T,O,A=function(e){if(e===h&&j)return j;if(!w&&e&&e in N)return N[e];switch(e){case x:case S:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},D=t+" Iterator",P=!1,N=e.prototype,M=N[_]||N["@@iterator"]||h&&N[h],j=!w&&M||A(h),L="Array"===t&&N.entries||M;if(L&&(I=c(L.call(new e)))!==Object.prototype&&I.next&&(i||c(I)===b||(l?l(I,b):u(I[_])||p(I,_,E)),f(I,D,!0,!0),i&&(v[D]=E)),m&&h===S&&M&&M.name!==S&&(!i&&y?d(N,"name",S):(P=!0,j=function(){return o(M,this)})),h)if(T={values:A(S),keys:g?j:A(x),entries:A(k)},C)for(O in T)(w||P||!(O in N))&&p(N,O,T[O]);else r({target:t,proto:!0,forced:w||P},T);return i&&!C||N[_]===j||p(N,_,j,{name:h}),v[t]=j,T}},25030:function(e,t,n){"use strict";var r,o,i,a=n(11403),u=n(34393),s=n(74458),c=n(87976),l=n(44707),f=n(80888),d=n(86865),p=n(11573),h=d("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(r=o):v=!0),!s(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=c(r)),u(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},19202:function(e){"use strict";e.exports={}},71875:function(e,t,n){"use strict";var r=n(37869);e.exports=function(e){return r(e.length)}},15434:function(e,t,n){"use strict";var r=n(97838),o=n(4572),i=r("Map");e.exports={Map:i,set:o("set",2),get:o("get",1),has:o("has",1),remove:o("delete",1),proto:i.prototype}},59429:function(e,t,n){"use strict";var r=n(2911);e.exports=function(e,t,n){return n?r(e.entries(),(function(e){return t(e[1],e[0])}),!0):e.forEach(t)}},5372:function(e,t,n){"use strict";var r=n(27110),o=n(66875),i=n(34393),a=n(22782),u=TypeError;e.exports=function(e,t){var n,s=a(this),c=o(s.get),l=o(s.has),f=o(s.set),d=arguments.length>2?arguments[2]:void 0;if(!i(t)&&!i(d))throw new u("At least one callback required");return r(l,s,e)?(n=r(c,s,e),i(t)&&(n=t(n),r(f,s,e,n))):i(d)&&(n=d(),r(f,s,e,n)),n}},1832:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},5100:function(e,t,n){"use strict";var r,o,i,a,u,s=n(43575),c=n(88893),l=n(73290),f=n(606).set,d=n(65112),p=n(22920),h=n(40071),v=n(23262),g=n(51040),m=s.MutationObserver||s.WebKitMutationObserver,y=s.document,b=s.process,w=s.Promise,_=c("queueMicrotask");if(!_){var x=new d,S=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=x.get();)try{t()}catch(n){throw x.head&&r(),n}e&&e.enter()};p||g||v||!m||!y?!h&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,u=l(a.then,a),r=function(){u(S)}):g?r=function(){b.nextTick(S)}:(f=l(f,s),r=function(){f(S)}):(o=!0,i=y.createTextNode(""),new m(S).observe(i,{characterData:!0}),r=function(){i.data=o=!o}),_=function(e){x.head||r(),x.add(e)}}e.exports=_},74649:function(e,t,n){"use strict";var r=n(66875),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},12664:function(e,t,n){"use strict";var r=n(60793);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},32047:function(e,t,n){"use strict";var r=n(48097),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},42110:function(e,t,n){"use strict";var r=n(43575),o=n(11403),i=n(44339),a=n(60793),u=n(607).trim,s=n(27102),c=r.parseInt,l=r.Symbol,f=l&&l.iterator,d=/^[+-]?0x/i,p=i(d.exec),h=8!==c(s+"08")||22!==c(s+"0x16")||f&&!o((function(){c(Object(f))}));e.exports=h?function(e,t){var n=u(a(e));return c(n,t>>>0||(p(d,n)?16:10))}:c},50624:function(e,t,n){"use strict";var r=n(9021),o=n(44339),i=n(27110),a=n(11403),u=n(55227),s=n(24226),c=n(77121),l=n(73391),f=n(67138),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!==d({},e)[n]||u(d({},t)).join("")!==o}))?function(e,t){for(var n=l(e),o=arguments.length,a=1,d=s.f,p=c.f;o>a;)for(var v,g=f(arguments[a++]),m=d?h(u(g),d(g)):u(g),y=m.length,b=0;y>b;)v=m[b++],r&&!i(p,g,v)||(n[v]=g[v]);return n}:d},87976:function(e,t,n){"use strict";var r,o=n(22782),i=n(19503),a=n(91678),u=n(43414),s=n(36895),c=n(52401),l=n(54833),f=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(o){}var e,t;v="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};u[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=v(),void 0===t?n:i.f(n,t)}},19503:function(e,t,n){"use strict";var r=n(9021),o=n(82992),i=n(34019),a=n(22782),u=n(74087),s=n(55227);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=u(t),o=s(t),c=o.length,l=0;c>l;)i.f(e,n=o[l++],r[n]);return e}},34019:function(e,t,n){"use strict";var r=n(9021),o=n(83886),i=n(82992),a=n(22782),u=n(74988),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=u(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=u(t),a(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},10022:function(e,t,n){"use strict";var r=n(9021),o=n(27110),i=n(77121),a=n(30995),u=n(74087),s=n(74988),c=n(70894),l=n(83886),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=u(e),t=s(t),l)try{return f(e,t)}catch(n){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},66284:function(e,t,n){"use strict";var r=n(7978),o=n(74087),i=n(98664).f,a=n(96250),u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return u&&"Window"===r(e)?function(e){try{return i(e)}catch(t){return a(u)}}(e):i(o(e))}},98664:function(e,t,n){"use strict";var r=n(96073),o=n(91678).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},24226:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},44707:function(e,t,n){"use strict";var r=n(70894),o=n(34393),i=n(73391),a=n(54833),u=n(90217),s=a("IE_PROTO"),c=Object,l=c.prototype;e.exports=u?c.getPrototypeOf:function(e){var t=i(e);if(r(t,s))return t[s];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?l:null}},6800:function(e,t,n){"use strict";var r=n(11403),o=n(74458),i=n(7978),a=n(22371),u=Object.isExtensible,s=r((function(){u(1)}));e.exports=s||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!u||u(e)))}:u},2323:function(e,t,n){"use strict";var r=n(44339);e.exports=r({}.isPrototypeOf)},96073:function(e,t,n){"use strict";var r=n(44339),o=n(70894),i=n(74087),a=n(86839).indexOf,u=n(43414),s=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,l=[];for(n in r)!o(u,n)&&o(r,n)&&s(l,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(l,n)||s(l,n));return l}},55227:function(e,t,n){"use strict";var r=n(96073),o=n(91678);e.exports=Object.keys||function(e){return r(e,o)}},77121:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},72778:function(e,t,n){"use strict";var r=n(74791),o=n(74458),i=n(82546),a=n(45702);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(u){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},81678:function(e,t,n){"use strict";var r=n(9021),o=n(11403),i=n(44339),a=n(44707),u=n(55227),s=n(74087),c=i(n(77121).f),l=i([].push),f=r&&o((function(){var e=Object.create(null);return e[2]=2,!c(e,2)})),d=function(e){return function(t){for(var n,o=s(t),i=u(o),d=f&&null===a(o),p=i.length,h=0,v=[];p>h;)n=i[h++],r&&!(d?n in o:c(o,n))||l(v,e?[n,o[n]]:o[n]);return v}};e.exports={entries:d(!0),values:d(!1)}},95525:function(e,t,n){"use strict";var r=n(13517),o=n(41870);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},94697:function(e,t,n){"use strict";var r=n(27110),o=n(34393),i=n(74458),a=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&o(n=e.toString)&&!i(u=r(n,e)))return u;if(o(n=e.valueOf)&&!i(u=r(n,e)))return u;if("string"!==t&&o(n=e.toString)&&!i(u=r(n,e)))return u;throw new a("Can't convert object to primitive value")}},41230:function(e,t,n){"use strict";var r=n(97838),o=n(44339),i=n(98664),a=n(24226),u=n(22782),s=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(u(e)),n=a.f;return n?s(t,n(e)):t}},52854:function(e){"use strict";e.exports={}},40902:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},62310:function(e,t,n){"use strict";n(17727);var r=n(43575),o=n(42243),i=n(34393),a=n(69395),u=n(16473),s=n(86865),c=n(32958),l=n(16268),f=n(11573),d=n(51837),p=o&&o.prototype,h=s("species"),v=!1,g=i(r.PromiseRejectionEvent),m=a("Promise",(function(){var e=u(o),t=e!==String(o);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(v=n.then((function(){}))instanceof r))return!0}return!t&&(c||l)&&!g}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:g,SUBCLASSING:v}},42243:function(e,t,n){"use strict";var r=n(43575);e.exports=r.Promise},48767:function(e,t,n){"use strict";var r=n(22782),o=n(74458),i=n(74649);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},36744:function(e,t,n){"use strict";var r=n(42243),o=n(80062),i=n(62310).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},65112:function(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},82546:function(e,t,n){"use strict";var r=n(47760),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},88893:function(e,t,n){"use strict";var r=n(43575),o=n(9021),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return r[e];var t=i(r,e);return t&&t.value}},75411:function(e){"use strict";e.exports=function(e,t){return e===t||e!=e&&t!=t}},98978:function(e,t,n){"use strict";var r,o=n(43575),i=n(98607),a=n(34393),u=n(4923),s=n(25765),c=n(96250),l=n(79058),f=o.Function,d=/MSIE .\./.test(s)||u&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));e.exports=function(e,t){var n=t?2:1;return d?function(r,o){var u=l(arguments.length,1)>n,s=a(r)?r:f(r),d=u?c(arguments,n):[],p=u?function(){i(s,this,d)}:s;return t?e(p,o):e(p)}:e}},50746:function(e,t,n){"use strict";var r=n(97838),o=n(89366),i=n(86865),a=n(9021),u=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[u]&&o(t,u,{configurable:!0,get:function(){return this}})}},69499:function(e,t,n){"use strict";var r=n(13517),o=n(34019).f,i=n(49049),a=n(70894),u=n(95525),s=n(86865)("toStringTag");e.exports=function(e,t,n,c){var l=n?e:e&&e.prototype;l&&(a(l,s)||o(l,s,{configurable:!0,value:t}),c&&!r&&i(l,"toString",u))}},54833:function(e,t,n){"use strict";var r=n(57297),o=n(7610),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},39868:function(e,t,n){"use strict";var r=n(11573),o=n(43575),i=n(91433),a="__core-js_shared__",u=e.exports=o[a]||i(a,{});(u.versions||(u.versions=[])).push({version:"3.36.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},57297:function(e,t,n){"use strict";var r=n(39868);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},36194:function(e,t,n){"use strict";var r=n(22782),o=n(1580),i=n(47760),a=n(86865)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||i(n=r(u)[a])?t:o(n)}},60039:function(e,t,n){"use strict";var r=n(44339),o=n(56435),i=n(60793),a=n(82546),u=r("".charAt),s=r("".charCodeAt),c=r("".slice),l=function(e){return function(t,n){var r,l,f=i(a(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=s(f,d))<55296||r>56319||d+1===p||(l=s(f,d+1))<56320||l>57343?e?u(f,d):r:e?c(f,d,d+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},57344:function(e,t,n){"use strict";var r=n(44339),o=n(37869),i=n(60793),a=n(47509),u=n(82546),s=r(a),c=r("".slice),l=Math.ceil,f=function(e){return function(t,n,r){var a,f,d=i(u(t)),p=o(n),h=d.length,v=void 0===r?" ":i(r);return p<=h||""===v?d:((f=s(v,l((a=p-h)/v.length))).length>a&&(f=c(f,0,a)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},55652:function(e,t,n){"use strict";var r=n(44339),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",s=RangeError,c=r(a.exec),l=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),v=r("".replace),g=r("".split),m=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),r+=36;return l(r+36*e/(e+38))},w=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=d(e,n++);if(o>=55296&&o<=56319&&n<r){var i=d(e,n++);56320==(64512&i)?h(t,((1023&o)<<10)+(1023&i)+65536):(h(t,o),n--)}else h(t,o)}return t}(e)).length,a=128,c=0,v=72;for(t=0;t<e.length;t++)(n=e[t])<128&&h(r,f(n));var g=r.length,m=g;for(g&&h(r,"-");m<i;){var w=o;for(t=0;t<e.length;t++)(n=e[t])>=a&&n<w&&(w=n);var _=m+1;if(w-a>l((o-c)/_))throw new s(u);for(c+=(w-a)*_,a=w,t=0;t<e.length;t++){if((n=e[t])<a&&++c>o)throw new s(u);if(n===a){for(var x=c,S=36;;){var k=S<=v?1:S>=v+26?26:S-v;if(x<k)break;var E=x-k,C=36-k;h(r,f(y(k+E%C))),x=l(E/C),S+=36}h(r,f(y(x))),v=b(c,_,m===g),c=0,m++}}c++,a++}return p(r,"")};e.exports=function(e){var t,n,r=[],o=g(v(m(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],h(r,c(i,n)?"xn--"+w(n):n);return p(r,".")}},47509:function(e,t,n){"use strict";var r=n(56435),o=n(60793),i=n(82546),a=RangeError;e.exports=function(e){var t=o(i(this)),n="",u=r(e);if(u<0||u===1/0)throw new a("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(t+=t))1&u&&(n+=t);return n}},78975:function(e,t,n){"use strict";var r=n(61168).PROPER,o=n(11403),i=n(27102);e.exports=function(e){return o((function(){return!!i[e]()||"​᠎"!=="​᠎"[e]()||r&&i[e].name!==e}))}},32550:function(e,t,n){"use strict";n(55674);var r=n(607).start,o=n(78975);e.exports=o("trimStart")?function(){return r(this)}:"".trimStart},607:function(e,t,n){"use strict";var r=n(44339),o=n(82546),i=n(60793),a=n(27102),u=r("".replace),s=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var n=i(o(t));return 1&e&&(n=u(n,s,"")),2&e&&(n=u(n,c,"$1")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},72570:function(e,t,n){"use strict";var r=n(51837),o=n(11403),i=n(43575).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},87592:function(e,t,n){"use strict";var r=n(27110),o=n(97838),i=n(86865),a=n(80888);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,u=i("toPrimitive");t&&!t[u]&&a(t,u,(function(e){return r(n,this)}),{arity:1})}},77081:function(e,t,n){"use strict";var r=n(97838),o=n(44339),i=r("Symbol"),a=i.keyFor,u=o(i.prototype.valueOf);e.exports=i.isRegisteredSymbol||function(e){try{return void 0!==a(u(e))}catch(t){return!1}}},17193:function(e,t,n){"use strict";for(var r=n(57297),o=n(97838),i=n(44339),a=n(11524),u=n(86865),s=o("Symbol"),c=s.isWellKnownSymbol,l=o("Object","getOwnPropertyNames"),f=i(s.prototype.valueOf),d=r("wks"),p=0,h=l(s),v=h.length;p<v;p++)try{var g=h[p];a(s[g])&&u(g)}catch(m){}e.exports=function(e){if(c&&c(e))return!0;try{for(var t=f(e),n=0,r=l(d),o=r.length;n<o;n++)if(d[r[n]]==t)return!0}catch(m){}return!1}},69564:function(e,t,n){"use strict";var r=n(72570);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},606:function(e,t,n){"use strict";var r,o,i,a,u=n(43575),s=n(98607),c=n(73290),l=n(34393),f=n(70894),d=n(11403),p=n(36895),h=n(96250),v=n(52401),g=n(79058),m=n(22920),y=n(51040),b=u.setImmediate,w=u.clearImmediate,_=u.process,x=u.Dispatch,S=u.Function,k=u.MessageChannel,E=u.String,C=0,I={},T="onreadystatechange";d((function(){r=u.location}));var O=function(e){if(f(I,e)){var t=I[e];delete I[e],t()}},A=function(e){return function(){O(e)}},D=function(e){O(e.data)},P=function(e){u.postMessage(E(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){g(arguments.length,1);var t=l(e)?e:S(e),n=h(arguments,1);return I[++C]=function(){s(t,void 0,n)},o(C),C},w=function(e){delete I[e]},y?o=function(e){_.nextTick(A(e))}:x&&x.now?o=function(e){x.now(A(e))}:k&&!m?(a=(i=new k).port2,i.port1.onmessage=D,o=c(a.postMessage,a)):u.addEventListener&&l(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(o=P,u.addEventListener("message",D,!1)):o=T in v("script")?function(e){p.appendChild(v("script")).onreadystatechange=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:w}},30652:function(e,t,n){"use strict";var r=n(56435),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},74087:function(e,t,n){"use strict";var r=n(67138),o=n(82546);e.exports=function(e){return r(o(e))}},56435:function(e,t,n){"use strict";var r=n(1832);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},37869:function(e,t,n){"use strict";var r=n(56435),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},73391:function(e,t,n){"use strict";var r=n(82546),o=Object;e.exports=function(e){return o(r(e))}},65081:function(e,t,n){"use strict";var r=n(27110),o=n(74458),i=n(11524),a=n(75733),u=n(94697),s=n(86865),c=TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,s=a(e,l);if(s){if(void 0===t&&(t="default"),n=r(s,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},74988:function(e,t,n){"use strict";var r=n(65081),o=n(11524);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},13517:function(e,t,n){"use strict";var r={};r[n(86865)("toStringTag")]="z",e.exports="[object z]"===String(r)},60793:function(e,t,n){"use strict";var r=n(41870),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},78767:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},7610:function(e,t,n){"use strict";var r=n(44339),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},73468:function(e,t,n){"use strict";var r=n(11403),o=n(86865),i=n(9021),a=n(11573),u=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},88164:function(e,t,n){"use strict";var r=n(72570);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},82992:function(e,t,n){"use strict";var r=n(9021),o=n(11403);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},79058:function(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},89163:function(e,t,n){"use strict";var r=n(43575),o=n(34393),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},21811:function(e,t,n){"use strict";var r=n(52854),o=n(70894),i=n(30818),a=n(34019).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},30818:function(e,t,n){"use strict";var r=n(86865);t.f=r},86865:function(e,t,n){"use strict";var r=n(43575),o=n(57297),i=n(70894),a=n(7610),u=n(72570),s=n(88164),c=r.Symbol,l=o("wks"),f=s?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=u&&i(c,e)?c[e]:f("Symbol."+e)),l[e]}},27102:function(e){"use strict";e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},50689:function(e,t,n){"use strict";var r=n(58001),o=n(2323),i=n(44707),a=n(72778),u=n(98334),s=n(87976),c=n(49049),l=n(30995),f=n(41498),d=n(75294),p=n(15131),h=n(12664),v=n(86865)("toStringTag"),g=Error,m=[].push,y=function(e,t){var n,r=o(b,this);a?n=a(new g,r?i(this):b):(n=r?this:s(b),c(n,v,"Error")),void 0!==t&&c(n,"message",h(t)),d(n,y,n.stack,1),arguments.length>2&&f(n,arguments[2]);var u=[];return p(e,m,{that:u}),c(n,"errors",u),n};a?a(y,g):u(y,g,{name:!0});var b=y.prototype=s(g.prototype,{constructor:l(1,y),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:y})},38628:function(e,t,n){"use strict";n(50689)},67223:function(e,t,n){"use strict";var r=n(58001),o=n(11403),i=n(87947),a=n(74458),u=n(73391),s=n(71875),c=n(40296),l=n(75441),f=n(11809),d=n(88917),p=n(86865),h=n(51837),v=p("isConcatSpreadable"),g=h>=51||!o((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),m=function(e){if(!a(e))return!1;var t=e[v];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!d("concat")},{concat:function(e){var t,n,r,o,i,a=u(this),d=f(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(m(i=-1===t?a:arguments[t]))for(o=s(i),c(p+o),n=0;n<o;n++,p++)n in i&&l(d,p,i[n]);else c(p+1),l(d,p++,i);return d.length=p,d}})},45329:function(e,t,n){"use strict";var r=n(58001),o=n(30319).every;r({target:"Array",proto:!0,forced:!n(52540)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},83955:function(e,t,n){"use strict";var r=n(58001),o=n(87357),i=n(93506);r({target:"Array",proto:!0},{fill:o}),i("fill")},28123:function(e,t,n){"use strict";var r=n(58001),o=n(30319).filter;r({target:"Array",proto:!0,forced:!n(88917)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},87271:function(e,t,n){"use strict";var r=n(58001),o=n(30319).findIndex,i=n(93506),a="findIndex",u=!0;a in[]&&Array(1).findIndex((function(){u=!1})),r({target:"Array",proto:!0,forced:u},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},99163:function(e,t,n){"use strict";var r=n(58001),o=n(30319).find,i=n(93506),a="find",u=!0;a in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},13508:function(e,t,n){"use strict";var r=n(58001),o=n(69649),i=n(73391),a=n(71875),u=n(56435),s=n(11809);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t),r=s(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:u(e)),r}})},58603:function(e,t,n){"use strict";var r=n(58001),o=n(26491);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},96709:function(e,t,n){"use strict";var r=n(58001),o=n(79367);r({target:"Array",stat:!0,forced:!n(80062)((function(e){Array.from(e)}))},{from:o})},77098:function(e,t,n){"use strict";var r=n(58001),o=n(86839).includes,i=n(11403),a=n(93506);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},78565:function(e,t,n){"use strict";var r=n(58001),o=n(87538),i=n(86839).indexOf,a=n(52540),u=o([].indexOf),s=!!u&&1/u([1],1,-0)<0;r({target:"Array",proto:!0,forced:s||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return s?u(this,e,t)||0:i(this,e,t)}})},84815:function(e,t,n){"use strict";n(58001)({target:"Array",stat:!0},{isArray:n(87947)})},84908:function(e,t,n){"use strict";var r=n(74087),o=n(93506),i=n(19202),a=n(85765),u=n(34019).f,s=n(82299),c=n(38925),l=n(11573),f=n(9021),d="Array Iterator",p=a.set,h=a.getterFor(d);e.exports=s(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==v.name)try{u(v,"name",{value:"values"})}catch(g){}},73726:function(e,t,n){"use strict";var r=n(58001),o=n(66723);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},76536:function(e,t,n){"use strict";var r=n(58001),o=n(30319).map;r({target:"Array",proto:!0,forced:!n(88917)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},21988:function(e,t,n){"use strict";var r=n(58001),o=n(73391),i=n(71875),a=n(3868),u=n(40296);r({target:"Array",proto:!0,arity:1,forced:n(11403)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=i(t),r=arguments.length;u(n+r);for(var s=0;s<r;s++)t[n]=arguments[s],n++;return a(t,n),n}})},2229:function(e,t,n){"use strict";var r=n(58001),o=n(89393).left,i=n(52540),a=n(51837);r({target:"Array",proto:!0,forced:!n(51040)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},91194:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=n(87947),a=o([].reverse),u=[1,2];r({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},1482:function(e,t,n){"use strict";var r=n(58001),o=n(87947),i=n(28332),a=n(74458),u=n(30652),s=n(71875),c=n(74087),l=n(75441),f=n(86865),d=n(88917),p=n(96250),h=d("slice"),v=f("species"),g=Array,m=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,f,d=c(this),h=s(d),y=u(e,h),b=u(void 0===t?h:t,h);if(o(d)&&(n=d.constructor,(i(n)&&(n===g||o(n.prototype))||a(n)&&null===(n=n[v]))&&(n=void 0),n===g||void 0===n))return p(d,y,b);for(r=new(void 0===n?g:n)(m(b-y,0)),f=0;y<b;y++,f++)y in d&&l(r,f,d[y]);return r.length=f,r}})},83726:function(e,t,n){"use strict";var r=n(58001),o=n(30319).some;r({target:"Array",proto:!0,forced:!n(52540)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},53280:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=n(66875),a=n(73391),u=n(71875),s=n(53778),c=n(60793),l=n(11403),f=n(75671),d=n(52540),p=n(34237),h=n(10548),v=n(51837),g=n(11986),m=[],y=o(m.sort),b=o(m.push),w=l((function(){m.sort(void 0)})),_=l((function(){m.sort(null)})),x=d("sort"),S=!l((function(){if(v)return v<70;if(!(p&&p>3)){if(h)return!0;if(g)return g<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(S)return void 0===e?y(t):y(t,e);var n,r,o=[],l=u(t);for(r=0;r<l;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=u(o),r=0;r<n;)t[r]=o[r++];for(;r<l;)s(t,r++);return t}})},96810:function(e,t,n){"use strict";n(93506)("flat")},33560:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},70375:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(73391),a=n(65081),u=n(72702),s=n(7978);r({target:"Date",proto:!0,forced:n(11403)((function(){return null!==new Date(NaN).toJSON()||1!==o(Date.prototype.toJSON,{toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?"toISOString"in t||"Date"!==s(t)?t.toISOString():o(u,t):null}})},52967:function(){},103:function(e,t,n){"use strict";var r=n(58001),o=n(49144);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},14614:function(e,t,n){"use strict";var r=n(58001),o=n(43575);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},11712:function(e,t,n){"use strict";var r=n(58001),o=n(97838),i=n(98607),a=n(27110),u=n(44339),s=n(11403),c=n(34393),l=n(11524),f=n(96250),d=n(85174),p=n(72570),h=String,v=o("JSON","stringify"),g=u(/./.exec),m=u("".charAt),y=u("".charCodeAt),b=u("".replace),w=u(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,k=!p||s((function(){var e=o("Symbol")("stringify detection");return"[null]"!==v([e])||"{}"!==v({a:e})||"{}"!==v(Object(e))})),E=s((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),C=function(e,t){var n=f(arguments),r=d(t);if(c(r)||void 0!==e&&!l(e))return n[1]=function(e,t){if(c(r)&&(t=a(r,this,h(e),t)),!l(t))return t},i(v,null,n)},I=function(e,t,n){var r=m(n,t-1),o=m(n,t+1);return g(x,e)&&!g(S,o)||g(S,e)&&!g(x,r)?"\\u"+w(y(e,0),16):e};v&&r({target:"JSON",stat:!0,arity:3,forced:k||E},{stringify:function(e,t,n){var r=f(arguments),o=i(k?C:v,null,r);return E&&"string"==typeof o?b(o,_,I):o}})},85458:function(e,t,n){"use strict";var r=n(43575);n(69499)(r.JSON,"JSON",!0)},17132:function(e,t,n){"use strict";n(91458)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(62153))},73696:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=n(66875),a=n(82546),u=n(15131),s=n(15434),c=n(11573),l=s.Map,f=s.has,d=s.get,p=s.set,h=o([].push);r({target:"Map",stat:!0,forced:c},{groupBy:function(e,t){a(e),i(t);var n=new l,r=0;return u(e,(function(e){var o=t(e,r++);f(n,o)?h(d(n,o),e):p(n,o,[e])})),n}})},28386:function(e,t,n){"use strict";n(17132)},80044:function(){},19672:function(e,t,n){"use strict";n(58001)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},66151:function(e,t,n){"use strict";var r=n(58001),o=n(50624);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},93796:function(e,t,n){"use strict";n(58001)({target:"Object",stat:!0,sham:!n(9021)},{create:n(87976)})},38154:function(e,t,n){"use strict";var r=n(58001),o=n(9021),i=n(19503).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},62573:function(e,t,n){"use strict";var r=n(58001),o=n(9021),i=n(34019).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},91482:function(e,t,n){"use strict";var r=n(58001),o=n(81678).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},97119:function(e,t,n){"use strict";var r=n(58001),o=n(75510),i=n(11403),a=n(74458),u=n(18596).onFreeze,s=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){s(1)})),sham:!o},{freeze:function(e){return s&&a(e)?s(u(e)):e}})},33805:function(e,t,n){"use strict";var r=n(58001),o=n(11403),i=n(74087),a=n(10022).f,u=n(9021);r({target:"Object",stat:!0,forced:!u||o((function(){a(1)})),sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},42653:function(e,t,n){"use strict";var r=n(58001),o=n(9021),i=n(41230),a=n(74087),u=n(10022),s=n(75441);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=u.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&s(l,t,n);return l}})},81276:function(e,t,n){"use strict";var r=n(58001),o=n(11403),i=n(66284).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},85949:function(e,t,n){"use strict";var r=n(58001),o=n(72570),i=n(11403),a=n(24226),u=n(73391);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(u(e)):[]}})},75327:function(e,t,n){"use strict";var r=n(58001),o=n(11403),i=n(73391),a=n(44707),u=n(90217);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(e){return a(i(e))}})},4113:function(e,t,n){"use strict";var r=n(58001),o=n(73391),i=n(55227);r({target:"Object",stat:!0,forced:n(11403)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},89165:function(e,t,n){"use strict";n(58001)({target:"Object",stat:!0},{setPrototypeOf:n(72778)})},71355:function(){},13313:function(e,t,n){"use strict";var r=n(58001),o=n(81678).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},94563:function(e,t,n){"use strict";var r=n(58001),o=n(42110);r({global:!0,forced:parseInt!==o},{parseInt:o})},79112:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(66875),a=n(74649),u=n(40902),s=n(15131);r({target:"Promise",stat:!0,forced:n(36744)},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=u((function(){var n=i(t.resolve),a=[],u=0,c=1;s(e,(function(e){var i=u++,s=!1;c++,o(n,t,e).then((function(e){s||(s=!0,a[i]={status:"fulfilled",value:e},--c||r(a))}),(function(e){s||(s=!0,a[i]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return l.error&&c(l.value),n.promise}})},51413:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(66875),a=n(74649),u=n(40902),s=n(15131);r({target:"Promise",stat:!0,forced:n(36744)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,l=u((function(){var n=i(t.resolve),a=[],u=0,l=1;s(e,(function(e){var i=u++,s=!1;l++,o(n,t,e).then((function(e){s||(s=!0,a[i]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.value),n.promise}})},78839:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(66875),a=n(97838),u=n(74649),s=n(40902),c=n(15131),l=n(36744),f="No one promise resolved";r({target:"Promise",stat:!0,forced:l},{any:function(e){var t=this,n=a("AggregateError"),r=u.f(t),l=r.resolve,d=r.reject,p=s((function(){var r=i(t.resolve),a=[],u=0,s=1,p=!1;c(e,(function(e){var i=u++,c=!1;s++,o(r,t,e).then((function(e){c||p||(p=!0,l(e))}),(function(e){c||p||(c=!0,a[i]=e,--s||d(new n(a,f)))}))})),--s||d(new n(a,f))}));return p.error&&d(p.value),r.promise}})},15459:function(e,t,n){"use strict";var r=n(58001),o=n(11573),i=n(62310).CONSTRUCTOR,a=n(42243),u=n(97838),s=n(34393),c=n(80888),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&s(a)){var f=u("Promise").prototype.catch;l.catch!==f&&c(l,"catch",f,{unsafe:!0})}},65463:function(e,t,n){"use strict";var r,o,i,a=n(58001),u=n(11573),s=n(51040),c=n(43575),l=n(27110),f=n(80888),d=n(72778),p=n(69499),h=n(50746),v=n(66875),g=n(34393),m=n(74458),y=n(99316),b=n(36194),w=n(606).set,_=n(5100),x=n(5838),S=n(40902),k=n(65112),E=n(85765),C=n(42243),I=n(62310),T=n(74649),O="Promise",A=I.CONSTRUCTOR,D=I.REJECTION_EVENT,P=I.SUBCLASSING,N=E.getterFor(O),M=E.set,j=C&&C.prototype,L=C,R=j,F=c.TypeError,U=c.document,B=c.process,z=T.f,V=z,H=!!(U&&U.createEvent&&c.dispatchEvent),G="unhandledrejection",q=function(e){var t;return!(!m(e)||!g(t=e.then))&&t},W=function(e,t){var n,r,o,i=t.value,a=1===t.state,u=a?e.ok:e.fail,s=e.resolve,c=e.reject,f=e.domain;try{u?(a||(2===t.rejection&&Y(t),t.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===e.promise?c(new F("Promise-chain cycle")):(r=q(n))?l(r,n,s,c):s(n)):c(i)}catch(d){f&&!o&&f.exit(),c(d)}},Z=function(e,t){e.notified||(e.notified=!0,_((function(){for(var n,r=e.reactions;n=r.get();)W(n,e);e.notified=!1,t&&!e.rejection&&$(e)})))},K=function(e,t,n){var r,o;H?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!D&&(o=c["on"+e])?o(r):e===G&&x("Unhandled promise rejection",n)},$=function(e){l(w,c,(function(){var t,n=e.facade,r=e.value;if(X(e)&&(t=S((function(){s?B.emit("unhandledRejection",r,n):K(G,n,r)})),e.rejection=s||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},Y=function(e){l(w,c,(function(){var t=e.facade;s?B.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},J=function(e,t,n){return function(r){e(t,r,n)}},Q=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},ee=function e(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw new F("Promise can't be resolved itself");var o=q(n);o?_((function(){var r={done:!1};try{l(o,n,J(e,r,t),J(Q,r,t))}catch(i){Q(r,i,t)}})):(t.value=n,t.state=1,Z(t,!1))}catch(i){Q({done:!1},i,t)}}};if(A&&(R=(L=function(e){y(this,R),v(e),l(r,this);var t=N(this);try{e(J(ee,t),J(Q,t))}catch(n){Q(t,n)}}).prototype,(r=function(e){M(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=f(R,"then",(function(e,t){var n=N(this),r=z(b(this,L));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=s?B.domain:void 0,0===n.state?n.reactions.add(r):_((function(){W(r,n)})),r.promise})),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Q,t)},T.f=z=function(e){return e===L||undefined===e?new o(e):V(e)},!u&&g(C)&&j!==Object.prototype)){i=j.then,P||f(j,"then",(function(e,t){var n=this;return new L((function(e,t){l(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete j.constructor}catch(te){}d&&d(j,R)}a({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:L}),p(L,O,!1,!0),h(O)},47769:function(e,t,n){"use strict";n(17727);var r=n(58001),o=n(11573),i=n(42243),a=n(11403),u=n(97838),s=n(34393),c=n(36194),l=n(48767),f=n(80888),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,u("Promise")),n=s(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&s(i)){var p=u("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},43906:function(e,t,n){"use strict";n(65463),n(51413),n(15459),n(35647),n(76749),n(37500)},35647:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(66875),a=n(74649),u=n(40902),s=n(15131);r({target:"Promise",stat:!0,forced:n(36744)},{race:function(e){var t=this,n=a.f(t),r=n.reject,c=u((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},76749:function(e,t,n){"use strict";var r=n(58001),o=n(74649);r({target:"Promise",stat:!0,forced:n(62310).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return(0,t.reject)(e),t.promise}})},37500:function(e,t,n){"use strict";var r=n(58001),o=n(97838),i=n(11573),a=n(42243),u=n(62310).CONSTRUCTOR,s=n(48767),c=o("Promise"),l=i&&!u;r({target:"Promise",stat:!0,forced:i||u},{resolve:function(e){return s(l&&this===c?a:this,e)}})},39357:function(e,t,n){"use strict";var r=n(58001),o=n(74649);r({target:"Promise",stat:!0},{withResolvers:function(){var e=o.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},86245:function(e,t,n){"use strict";var r=n(58001),o=n(97838),i=n(98607),a=n(49144),u=n(1580),s=n(22782),c=n(74458),l=n(87976),f=n(11403),d=o("Reflect","construct"),p=Object.prototype,h=[].push,v=f((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),g=!f((function(){d((function(){}))})),m=v||g;r({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){u(e),s(t);var n=arguments.length<3?e:u(arguments[2]);if(g&&!v)return d(e,t,n);if(e===n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(h,r,t),new(i(a,e,r))}var o=n.prototype,f=l(c(o)?o:p),m=i(e,f,t);return c(m)?m:f}})},21069:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(74458),a=n(22782),u=n(66407),s=n(10022),c=n(44707);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=s.f(t,n))?u(r)?r.value:void 0===r.get?void 0:o(r.get,f):i(l=c(t))?e(l,n,f):void 0}})},56205:function(){},87995:function(e,t,n){"use strict";n(91458)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(62153))},89736:function(e,t,n){"use strict";n(87995)},80363:function(e,t,n){"use strict";var r=n(58001),o=n(44339),i=n(32047),a=n(82546),u=n(60793),s=n(58320),c=o("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~c(u(a(this)),u(i(e)),arguments.length>1?arguments[1]:void 0)}})},38329:function(e,t,n){"use strict";var r=n(60039).charAt,o=n(60793),i=n(85765),a=n(82299),u=n(38925),s="String Iterator",c=i.set,l=i.getterFor(s);a(String,"String",(function(e){c(this,{type:s,string:o(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?u(void 0,!0):(e=r(n,o),t.index+=e.length,u(e,!1))}))},23483:function(e,t,n){"use strict";n(58001)({target:"String",proto:!0},{repeat:n(47509)})},12077:function(e,t,n){"use strict";var r,o=n(58001),i=n(87538),a=n(10022).f,u=n(37869),s=n(60793),c=n(32047),l=n(82546),f=n(58320),d=n(11573),p=i("".slice),h=Math.min,v=f("startsWith");o({target:"String",proto:!0,forced:!!(d||v||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!v},{startsWith:function(e){var t=s(l(this));c(e);var n=u(h(arguments.length>1?arguments[1]:void 0,t.length)),r=s(e);return p(t,n,n+r.length)===r}})},4569:function(e,t,n){"use strict";n(55674);var r=n(58001),o=n(32550);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},58661:function(e,t,n){"use strict";n(55674),n(4569);var r=n(58001),o=n(32550);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},83647:function(e,t,n){"use strict";var r=n(58001),o=n(607).trim;r({target:"String",proto:!0,forced:n(78975)("trim")},{trim:function(){return o(this)}})},21966:function(e,t,n){"use strict";n(21811)("asyncIterator")},4299:function(e,t,n){"use strict";var r=n(58001),o=n(43575),i=n(27110),a=n(44339),u=n(11573),s=n(9021),c=n(72570),l=n(11403),f=n(70894),d=n(2323),p=n(22782),h=n(74087),v=n(74988),g=n(60793),m=n(30995),y=n(87976),b=n(55227),w=n(98664),_=n(66284),x=n(24226),S=n(10022),k=n(34019),E=n(19503),C=n(77121),I=n(80888),T=n(89366),O=n(57297),A=n(54833),D=n(43414),P=n(7610),N=n(86865),M=n(30818),j=n(21811),L=n(87592),R=n(69499),F=n(85765),U=n(30319).forEach,B=A("hidden"),z="Symbol",V=F.set,H=F.getterFor(z),G=Object.prototype,q=o.Symbol,W=q&&q.prototype,Z=o.RangeError,K=o.TypeError,$=o.QObject,X=S.f,Y=k.f,J=_.f,Q=C.f,ee=a([].push),te=O("symbols"),ne=O("op-symbols"),re=O("wks"),oe=!$||!$.prototype||!$.prototype.findChild,ie=function(e,t,n){var r=X(G,t);r&&delete G[t],Y(e,t,n),r&&e!==G&&Y(G,t,r)},ae=s&&l((function(){return 7!==y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?ie:Y,ue=function(e,t){var n=te[e]=y(W);return V(n,{type:z,tag:e,description:t}),s||(n.description=t),n},se=function(e,t,n){e===G&&se(ne,t,n),p(e);var r=v(t);return p(n),f(te,r)?(n.enumerable?(f(e,B)&&e[B][r]&&(e[B][r]=!1),n=y(n,{enumerable:m(0,!1)})):(f(e,B)||Y(e,B,m(1,y(null))),e[B][r]=!0),ae(e,r,n)):Y(e,r,n)},ce=function(e,t){p(e);var n=h(t),r=b(n).concat(pe(n));return U(r,(function(t){s&&!i(le,n,t)||se(e,t,n[t])})),e},le=function(e){var t=v(e),n=i(Q,this,t);return!(this===G&&f(te,t)&&!f(ne,t))&&(!(n||!f(this,t)||!f(te,t)||f(this,B)&&this[B][t])||n)},fe=function(e,t){var n=h(e),r=v(t);if(n!==G||!f(te,r)||f(ne,r)){var o=X(n,r);return!o||!f(te,r)||f(n,B)&&n[B][r]||(o.enumerable=!0),o}},de=function(e){var t=J(h(e)),n=[];return U(t,(function(e){f(te,e)||f(D,e)||ee(n,e)})),n},pe=function(e){var t=e===G,n=J(t?ne:h(e)),r=[];return U(n,(function(e){!f(te,e)||t&&!f(G,e)||ee(r,te[e])})),r};c||(I(W=(q=function(){if(d(W,this))throw new K("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=P(e),n=function e(n){var r=void 0===this?o:this;r===G&&i(e,ne,n),f(r,B)&&f(r[B],t)&&(r[B][t]=!1);var a=m(1,n);try{ae(r,t,a)}catch(u){if(!(u instanceof Z))throw u;ie(r,t,a)}};return s&&oe&&ae(G,t,{configurable:!0,set:n}),ue(t,e)}).prototype,"toString",(function(){return H(this).tag})),I(q,"withoutSetter",(function(e){return ue(P(e),e)})),C.f=le,k.f=se,E.f=ce,S.f=fe,w.f=_.f=de,x.f=pe,M.f=function(e){return ue(N(e),e)},s&&(T(W,"description",{configurable:!0,get:function(){return H(this).description}}),u||I(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:q}),U(b(re),(function(e){j(e)})),r({target:z,stat:!0,forced:!c},{useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?y(e):ce(y(e),t)},defineProperty:se,defineProperties:ce,getOwnPropertyDescriptor:fe}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:de}),L(),R(q,z),D[B]=!0},82705:function(){},9211:function(e,t,n){"use strict";var r=n(58001),o=n(97838),i=n(70894),a=n(60793),u=n(57297),s=n(69564),c=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,l[n]=t,n}})},67211:function(e,t,n){"use strict";n(21811)("hasInstance")},80327:function(e,t,n){"use strict";n(21811)("isConcatSpreadable")},96841:function(e,t,n){"use strict";n(21811)("iterator")},74163:function(e,t,n){"use strict";n(4299),n(9211),n(28839),n(11712),n(85949)},28839:function(e,t,n){"use strict";var r=n(58001),o=n(70894),i=n(11524),a=n(78767),u=n(57297),s=n(69564),c=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(e){if(!i(e))throw new TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},42611:function(e,t,n){"use strict";n(21811)("matchAll")},47324:function(e,t,n){"use strict";n(21811)("match")},16980:function(e,t,n){"use strict";n(21811)("replace")},33389:function(e,t,n){"use strict";n(21811)("search")},90535:function(e,t,n){"use strict";n(21811)("species")},44310:function(e,t,n){"use strict";n(21811)("split")},82217:function(e,t,n){"use strict";var r=n(21811),o=n(87592);r("toPrimitive"),o()},74261:function(e,t,n){"use strict";var r=n(97838),o=n(21811),i=n(69499);o("toStringTag"),i(r("Symbol"),"Symbol")},19212:function(e,t,n){"use strict";n(21811)("unscopables")},51204:function(e,t,n){"use strict";n(38628)},4392:function(e,t,n){"use strict";var r=n(86865),o=n(34019).f,i=r("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},92864:function(e,t,n){"use strict";n(14614)},37829:function(e,t,n){"use strict";var r=n(58001),o=n(12855),i=n(15434).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=o(this),n=!0,r=0,a=arguments.length;r<a;r++)e=i(t,arguments[r]),n=n&&e;return!!n}})},28507:function(e,t,n){"use strict";var r=n(58001),o=n(12855),i=n(15434),a=i.get,u=i.has,s=i.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,i=o(this);return u(i,e)?(n=a(i,e),"update"in t&&(n=t.update(n,e,i),s(i,e,n)),n):(r=t.insert(e,i),s(i,e,r),r)}})},78721:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}})},81319:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(15434),u=n(59429),s=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=new s;return u(t,(function(e,o){n(e,o,t)&&c(r,o,e)})),r}})},9454:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}})},7237:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}})},87217:function(e,t,n){"use strict";var r=n(58001),o=n(15434);r({target:"Map",stat:!0,forced:!0},{from:n(98986)(o.Map,o.set,!0)})},33324:function(e,t,n){"use strict";n(73696)},40272:function(e,t,n){"use strict";var r=n(58001),o=n(75411),i=n(12855),a=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(i(this),(function(t){if(o(t,e))return!0}),!0)}})},83176:function(e,t,n){"use strict";var r=n(58001),o=n(27110),i=n(15131),a=n(34393),u=n(66875),s=n(15434).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(a(this)?this:s);u(t);var r=u(n.set);return i(e,(function(e){o(r,n,t(e),e)})),n}})},17663:function(e,t,n){"use strict";var r=n(58001),o=n(12855),i=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=i(o(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}})},84181:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(15434),u=n(59429),s=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=new s;return u(t,(function(e,o){c(r,n(e,o,t),e)})),r}})},18686:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(15434),u=n(59429),s=a.Map,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0),r=new s;return u(t,(function(e,o){c(r,o,n(e,o,t))})),r}})},59826:function(e,t,n){"use strict";var r=n(58001),o=n(12855),i=n(15131),a=n(15434).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=o(this),n=arguments.length,r=0;r<n;)i(arguments[r++],(function(e,n){a(t,e,n)}),{AS_ENTRIES:!0});return t}})},63974:function(e,t,n){"use strict";var r=n(58001),o=n(15434);r({target:"Map",stat:!0,forced:!0},{of:n(74777)(o.Map,o.set,!0)})},81888:function(e,t,n){"use strict";var r=n(58001),o=n(66875),i=n(12855),a=n(59429),u=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=i(this),n=arguments.length<2,r=n?void 0:arguments[1];if(o(e),a(t,(function(o,i){n?(n=!1,r=o):r=e(r,o,i,t)})),n)throw new u("Reduce of empty map with no initial value");return r}})},71754:function(e,t,n){"use strict";var r=n(58001),o=n(73290),i=n(12855),a=n(59429);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=i(this),n=o(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,r){if(n(e,r,t))return!0}),!0)}})},5075:function(e,t,n){"use strict";n(58001)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n(5372)})},74642:function(e,t,n){"use strict";var r=n(58001),o=n(66875),i=n(12855),a=n(15434),u=TypeError,s=a.get,c=a.has,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=i(this),r=arguments.length;o(t);var a=c(n,e);if(!a&&r<3)throw new u("Updating absent value");var f=a?s(n,e):o(r>2?arguments[2]:void 0)(e,n);return l(n,e,t(f,e,n)),n}})},73096:function(e,t,n){"use strict";n(58001)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n(5372)})},63240:function(e,t,n){"use strict";n(79112)},96189:function(e,t,n){"use strict";n(78839)},91062:function(e,t,n){"use strict";var r=n(58001),o=n(74649),i=n(40902);r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},80861:function(e,t,n){"use strict";n(39357)},79333:function(e,t,n){"use strict";n(21811)("asyncDispose")},65444:function(e,t,n){"use strict";n(21811)("dispose")},25268:function(e,t,n){"use strict";n(58001)({target:"Symbol",stat:!0},{isRegisteredSymbol:n(77081)})},7056:function(e,t,n){"use strict";n(58001)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:n(77081)})},69024:function(e,t,n){"use strict";n(58001)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:n(17193)})},99831:function(e,t,n){"use strict";n(58001)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:n(17193)})},35045:function(e,t,n){"use strict";n(21811)("matcher")},26275:function(e,t,n){"use strict";n(21811)("metadataKey")},57329:function(e,t,n){"use strict";n(21811)("metadata")},98940:function(e,t,n){"use strict";n(21811)("observable")},55310:function(e,t,n){"use strict";n(21811)("patternMatch")},73769:function(e,t,n){"use strict";n(21811)("replaceAll")},61097:function(){},37578:function(e,t,n){"use strict";n(84908);var r=n(47471),o=n(43575),i=n(69499),a=n(19202);for(var u in r)i(o[u],u),a[u]=a.Array},5845:function(e,t,n){"use strict";var r=n(58001),o=n(43575),i=n(98978)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},70793:function(e,t,n){"use strict";var r=n(58001),o=n(43575),i=n(98978)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},89649:function(e,t,n){"use strict";n(5845),n(70793)},3804:function(e,t,n){"use strict";n(84908);var r=n(58001),o=n(43575),i=n(88893),a=n(27110),u=n(44339),s=n(9021),c=n(73468),l=n(80888),f=n(89366),d=n(87763),p=n(69499),h=n(56161),v=n(85765),g=n(99316),m=n(34393),y=n(70894),b=n(73290),w=n(41870),_=n(22782),x=n(74458),S=n(60793),k=n(87976),E=n(30995),C=n(77308),I=n(9422),T=n(38925),O=n(79058),A=n(86865),D=n(75671),P=A("iterator"),N="URLSearchParams",M="URLSearchParamsIterator",j=v.set,L=v.getterFor(N),R=v.getterFor(M),F=i("fetch"),U=i("Request"),B=i("Headers"),z=U&&U.prototype,V=B&&B.prototype,H=o.RegExp,G=o.TypeError,q=o.decodeURIComponent,W=o.encodeURIComponent,Z=u("".charAt),K=u([].join),$=u([].push),X=u("".replace),Y=u([].shift),J=u([].splice),Q=u("".split),ee=u("".slice),te=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return q(e)}catch(t){return e}},ie=function(e){var t=X(e,te," "),n=4;try{return q(t)}catch(r){for(;n;)t=X(t,re(n--),oe);return t}},ae=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ue[e]},ce=function(e){return X(W(e),ae,se)},le=h((function(e,t){j(this,{type:M,target:L(e).entries,index:0,kind:t})}),N,(function(){var e=R(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,T(void 0,!0);var r=t[n];switch(e.kind){case"keys":return T(r.key,!1);case"values":return T(r.value,!1)}return T([r.key,r.value],!1)}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Z(e,0)?ee(e,1):e:S(e)))};fe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,u,s,c=this.entries,l=I(e);if(l)for(n=(t=C(e,l)).next;!(r=a(n,t)).done;){if(i=(o=C(_(r.value))).next,(u=a(i,o)).done||(s=a(i,o)).done||!a(i,o).done)throw new G("Expected sequence with length 2");$(c,{key:S(u.value),value:S(s.value)})}else for(var f in e)y(e,f)&&$(c,{key:f,value:S(e[f])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=Q(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=Q(t,"="),$(r,{key:ie(Y(n)),value:ie(K(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],$(n,ce(e.key)+"="+ce(e.value));return K(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var de=function(){g(this,pe);var e=arguments.length>0?arguments[0]:void 0,t=j(this,new fe(e));s||(this.size=t.entries.length)},pe=de.prototype;if(d(pe,{append:function(e,t){var n=L(this);O(arguments.length,2),$(n.entries,{key:S(e),value:S(t)}),s||this.length++,n.updateURL()},delete:function(e){for(var t=L(this),n=O(arguments.length,1),r=t.entries,o=S(e),i=n<2?void 0:arguments[1],a=void 0===i?i:S(i),u=0;u<r.length;){var c=r[u];if(c.key!==o||void 0!==a&&c.value!==a)u++;else if(J(r,u,1),void 0!==a)break}s||(this.size=r.length),t.updateURL()},get:function(e){var t=L(this).entries;O(arguments.length,1);for(var n=S(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=L(this).entries;O(arguments.length,1);for(var n=S(e),r=[],o=0;o<t.length;o++)t[o].key===n&&$(r,t[o].value);return r},has:function(e){for(var t=L(this).entries,n=O(arguments.length,1),r=S(e),o=n<2?void 0:arguments[1],i=void 0===o?o:S(o),a=0;a<t.length;){var u=t[a++];if(u.key===r&&(void 0===i||u.value===i))return!0}return!1},set:function(e,t){var n=L(this);O(arguments.length,1);for(var r,o=n.entries,i=!1,a=S(e),u=S(t),c=0;c<o.length;c++)(r=o[c]).key===a&&(i?J(o,c--,1):(i=!0,r.value=u));i||$(o,{key:a,value:u}),s||(this.size=o.length),n.updateURL()},sort:function(){var e=L(this);D(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=L(this).entries,r=b(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(pe,P,pe.entries,{name:"entries"}),l(pe,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),s&&f(pe,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),p(de,N),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:de}),!c&&m(B)){var he=u(V.has),ve=u(V.set),ge=function(e){if(x(e)){var t,n=e.body;if(w(n)===N)return t=e.headers?new B(e.headers):new B,he(t,"content-type")||ve(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:E(0,S(n)),headers:E(0,t)})}return e};if(m(F)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?ge(arguments[1]):{})}}),m(U)){var me=function(e){return g(this,z),new U(e,arguments.length>1?ge(arguments[1]):{})};z.constructor=me,me.prototype=z,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:de,getState:L}},72017:function(){},935:function(){},263:function(e,t,n){"use strict";n(3804)},59910:function(){},12028:function(e,t,n){"use strict";var r=n(58001),o=n(97838),i=n(11403),a=n(79058),u=n(60793),s=n(73468),c=o("URL"),l=s&&i((function(){c.canParse()})),f=i((function(){return 1!==c.canParse.length}));r({target:"URL",stat:!0,forced:!l||f},{canParse:function(e){var t=a(arguments.length,1),n=u(e),r=t<2||void 0===arguments[1]?void 0:u(arguments[1]);try{return!!new c(n,r)}catch(o){return!1}}})},10536:function(e,t,n){"use strict";n(38329);var r,o=n(58001),i=n(9021),a=n(73468),u=n(43575),s=n(73290),c=n(44339),l=n(80888),f=n(89366),d=n(99316),p=n(70894),h=n(50624),v=n(79367),g=n(96250),m=n(60039).codeAt,y=n(55652),b=n(60793),w=n(69499),_=n(79058),x=n(3804),S=n(85765),k=S.set,E=S.getterFor("URL"),C=x.URLSearchParams,I=x.getState,T=u.URL,O=u.TypeError,A=u.parseInt,D=Math.floor,P=Math.pow,N=c("".charAt),M=c(/./.exec),j=c([].join),L=c(1..toString),R=c([].pop),F=c([].push),U=c("".replace),B=c([].shift),z=c("".split),V=c("".slice),H=c("".toLowerCase),G=c([].unshift),q="Invalid scheme",W="Invalid host",Z="Invalid port",K=/[a-z]/i,$=/[\d+-.a-z]/i,X=/\d/,Y=/^0x/i,J=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)G(t,e%256),e=D(e/256);return j(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=L(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ue={},se=h({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=h({},se,{"#":1,"?":1,"{":1,"}":1}),le=h({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var n=m(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var n;return 2===e.length&&M(K,N(e,0))&&(":"===(n=N(e,1))||!t&&"|"===n)},he=function(e){var t;return e.length>1&&pe(V(e,0,2))&&(2===e.length||"/"===(t=N(e,2))||"\\"===t||"?"===t||"#"===t)},ve=function(e){return"."===e||"%2e"===H(e)},ge={},me={},ye={},be={},we={},_e={},xe={},Se={},ke={},Ee={},Ce={},Ie={},Te={},Oe={},Ae={},De={},Pe={},Ne={},Me={},je={},Le={},Re=function e(t,n,r){var o,i,a,u=b(t);if(n){if(i=this.parse(u))throw new O(i);this.searchParams=null}else{if(void 0!==r&&(o=new e(r,!0)),i=this.parse(u,null,o))throw new O(i);(a=I(new C)).bindURL(this),this.searchParams=a}};Re.prototype={type:"URL",parse:function(e,t,n){var o,i,a,u,s,c=this,l=t||ge,f=0,d="",h=!1,m=!1,y=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=U(e,re,""),e=U(e,oe,"$1")),e=U(e,ie,""),o=v(e);f<=o.length;){switch(i=o[f],l){case ge:if(!i||!M(K,i)){if(t)return q;l=ye;continue}d+=H(i),l=me;break;case me:if(i&&(M($,i)||"+"===i||"-"===i||"."===i))d+=H(i);else{if(":"!==i){if(t)return q;d="",l=ye,f=0;continue}if(t&&(c.isSpecial()!==p(de,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&de[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?l=Oe:c.isSpecial()&&n&&n.scheme===c.scheme?l=be:c.isSpecial()?l=Se:"/"===o[f+1]?(l=we,f++):(c.cannotBeABaseURL=!0,F(c.path,""),l=Me)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!==i)return q;if(n.cannotBeABaseURL&&"#"===i){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=Le;break}l="file"===n.scheme?Oe:_e;continue;case be:if("/"!==i||"/"!==o[f+1]){l=_e;continue}l=ke,f++;break;case we:if("/"===i){l=Ee;break}l=Ne;continue;case _e:if(c.scheme=n.scheme,i===r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"===i||"\\"===i&&c.isSpecial())l=xe;else if("?"===i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",l=je;else{if("#"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,l=Ne;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",l=Le}break;case xe:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Ne;continue}l=Ee}else l=ke;break;case Se:if(l=ke,"/"!==i||"/"!==N(d,f+1))continue;f++;break;case ke:if("/"!==i&&"\\"!==i){l=Ee;continue}break;case Ee:if("@"===i){h&&(d="%40"+d),h=!0,a=v(d);for(var w=0;w<a.length;w++){var _=a[w];if(":"!==_||y){var x=fe(_,le);y?c.password+=x:c.username+=x}else y=!0}d=""}else if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(h&&""===d)return"Invalid authority";f-=v(d).length+1,d="",l=Ce}else d+=i;break;case Ce:case Ie:if(t&&"file"===c.scheme){l=De;continue}if(":"!==i||m){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===d)return W;if(t&&""===d&&(c.includesCredentials()||null!==c.port))return;if(u=c.parseHost(d))return u;if(d="",l=Pe,t)return;continue}"["===i?m=!0:"]"===i&&(m=!1),d+=i}else{if(""===d)return W;if(u=c.parseHost(d))return u;if(d="",l=Te,t===Ie)return}break;case Te:if(!M(X,i)){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||t){if(""!==d){var S=A(d,10);if(S>65535)return Z;c.port=c.isSpecial()&&S===de[c.scheme]?null:S,d=""}if(t)return;l=Pe;continue}return Z}d+=i;break;case Oe:if(c.scheme="file","/"===i||"\\"===i)l=Ae;else{if(!n||"file"!==n.scheme){l=Ne;continue}switch(i){case r:c.host=n.host,c.path=g(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=g(n.path),c.query="",l=je;break;case"#":c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",l=Le;break;default:he(j(g(o,f),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),l=Ne;continue}}break;case Ae:if("/"===i||"\\"===i){l=De;break}n&&"file"===n.scheme&&!he(j(g(o,f),""))&&(pe(n.path[0],!0)?F(c.path,n.path[0]):c.host=n.host),l=Ne;continue;case De:if(i===r||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&pe(d))l=Ne;else if(""===d){if(c.host="",t)return;l=Pe}else{if(u=c.parseHost(d))return u;if("localhost"===c.host&&(c.host=""),t)return;d="",l=Pe}continue}d+=i;break;case Pe:if(c.isSpecial()){if(l=Ne,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==r&&(l=Ne,"/"!==i))continue}else c.fragment="",l=Le;else c.query="",l=je;break;case Ne:if(i===r||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(s=H(s=d))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||F(c.path,"")):ve(d)?"/"===i||"\\"===i&&c.isSpecial()||F(c.path,""):("file"===c.scheme&&!c.path.length&&pe(d)&&(c.host&&(c.host=""),d=N(d,0)+":"),F(c.path,d)),d="","file"===c.scheme&&(i===r||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)B(c.path);"?"===i?(c.query="",l=je):"#"===i&&(c.fragment="",l=Le)}else d+=fe(i,ce);break;case Me:"?"===i?(c.query="",l=je):"#"===i?(c.fragment="",l=Le):i!==r&&(c.path[0]+=fe(i,ue));break;case je:t||"#"!==i?i!==r&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":fe(i,ue)):(c.fragment="",l=Le);break;case Le:i!==r&&(c.fragment+=fe(i,se))}f++}},parseHost:function(e){var t,n,r;if("["===N(e,0)){if("]"!==N(e,e.length-1))return W;if(!(t=function(e){var t,n,r,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return N(e,f)};if(":"===d()){if(":"!==N(e,1))return;f+=2,l=++c}for(;d();){if(8===c)return;if(":"!==d()){for(t=n=0;n<4&&M(ee,d());)t=16*t+A(d(),16),f++,n++;if("."===d()){if(0===n)return;if(f-=n,c>6)return;for(r=0;d();){if(o=null,r>0){if(!("."===d()&&r<4))return;f++}if(!M(X,d()))return;for(;M(X,d());){if(i=A(d(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===d()){if(f++,!d())return}else if(d())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!==c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!==c)return;return s}(V(e,1,-1))))return W;this.host=t}else if(this.isSpecial()){if(e=y(e),M(te,e))return W;if(null===(t=function(e){var t,n,r,o,i,a,u,s=z(e,".");if(s.length&&""===s[s.length-1]&&s.length--,(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=s[r]))return e;if(i=10,o.length>1&&"0"===N(o,0)&&(i=M(Y,o)?16:8,o=V(o,8===i?1:2)),""===o)a=0;else{if(!M(10===i?Q:8===i?J:ee,o))return e;a=A(o,i)}F(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=P(256,5-t))return null}else if(a>255)return null;for(u=R(n),r=0;r<n.length;r++)u+=n[r]*P(256,3-r);return u}(e)))return W;this.host=t}else{if(M(ne,e))return W;for(t="",n=v(e),r=0;r<n.length;r++)t+=fe(n[r],ue);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ae(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},setHref:function(e){var t=this.parse(e);if(t)throw new O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Fe(e.path[0]).origin}catch(n){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=fe(t[n],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=fe(t[n],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ce)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ie)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Te))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Pe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===N(e,0)&&(e=V(e,1)),this.query="",this.parse(e,je)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===N(e,0)&&(e=V(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Fe=function(e){var t=d(this,Ue),n=_(arguments.length,1)>1?arguments[1]:void 0,r=k(t,new Re(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Ue=Fe.prototype,Be=function(e,t){return{get:function(){return E(this)[e]()},set:t&&function(e){return E(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Ue,"href",Be("serialize","setHref")),f(Ue,"origin",Be("getOrigin")),f(Ue,"protocol",Be("getProtocol","setProtocol")),f(Ue,"username",Be("getUsername","setUsername")),f(Ue,"password",Be("getPassword","setPassword")),f(Ue,"host",Be("getHost","setHost")),f(Ue,"hostname",Be("getHostname","setHostname")),f(Ue,"port",Be("getPort","setPort")),f(Ue,"pathname",Be("getPathname","setPathname")),f(Ue,"search",Be("getSearch","setSearch")),f(Ue,"searchParams",Be("getSearchParams")),f(Ue,"hash",Be("getHash","setHash"))),l(Ue,"toJSON",(function(){return E(this).serialize()}),{enumerable:!0}),l(Ue,"toString",(function(){return E(this).serialize()}),{enumerable:!0}),T){var ze=T.createObjectURL,Ve=T.revokeObjectURL;ze&&l(Fe,"createObjectURL",s(ze,T)),Ve&&l(Fe,"revokeObjectURL",s(Ve,T))}w(Fe,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Fe})},53512:function(e,t,n){"use strict";n(10536)},84442:function(){},81058:function(e,t,n){"use strict";var r=n(58803);e.exports=r},45977:function(e,t,n){"use strict";var r=n(22223);e.exports=r},54609:function(e,t,n){"use strict";var r=n(79633);e.exports=r},46553:function(e,t,n){"use strict";var r=n(48075);e.exports=r},18410:function(e,t,n){"use strict";var r=n(75578);e.exports=r},27657:function(e,t,n){"use strict";var r=n(64541);e.exports=r},90194:function(e,t,n){"use strict";var r=n(43382);n(37578),e.exports=r},63477:function(e,t,n){"use strict";var r=n(43932);e.exports=r},81207:function(e,t,n){"use strict";var r=n(94745);e.exports=r},27814:function(e,t,n){"use strict";var r=n(61988);e.exports=r},19720:function(e,t,n){"use strict";n(37578);var r=n(41870),o=n(70894),i=n(2323),a=n(54609),u=Array.prototype,s={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===u||i(u,e)&&t===u.entries||o(s,r(e))?a:t}},20331:function(e,t,n){"use strict";var r=n(91717);e.exports=r},58359:function(e,t,n){"use strict";var r=n(99950);e.exports=r},41720:function(e,t,n){"use strict";var r=n(77206);e.exports=r},48044:function(e,t,n){"use strict";var r=n(57578);e.exports=r},49856:function(e,t,n){"use strict";var r=n(37117);e.exports=r},40706:function(e,t,n){"use strict";var r=n(39729);e.exports=r},15936:function(e,t,n){"use strict";var r=n(41870),o=n(70894),i=n(2323),a=n(46553);n(61097);var u=Array.prototype,s={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===u||i(u,e)&&t===u.forEach||o(s,r(e))?a:t}},39492:function(e,t,n){"use strict";var r=n(70390);e.exports=r},95039:function(e,t,n){"use strict";var r=n(45914);e.exports=r},63202:function(e,t,n){"use strict";var r=n(90385);e.exports=r},37748:function(e,t,n){"use strict";var r=n(97934);e.exports=r},31063:function(e,t,n){"use strict";var r=n(29166);e.exports=r},3986:function(e,t,n){"use strict";var r=n(61817);e.exports=r},22944:function(e,t,n){"use strict";var r=n(76854);e.exports=r},79690:function(e,t,n){"use strict";var r=n(49617);e.exports=r},91356:function(e,t,n){"use strict";var r=n(24816);e.exports=r},90450:function(e,t,n){"use strict";var r=n(67905);e.exports=r},11442:function(e,t,n){"use strict";var r=n(69163);e.exports=r},50847:function(e,t,n){"use strict";var r=n(5582);e.exports=r},71499:function(e,t,n){"use strict";var r=n(17174);e.exports=r},347:function(e,t,n){"use strict";var r=n(98944);e.exports=r},75771:function(e,t,n){"use strict";n(37578);var r=n(41870),o=n(70894),i=n(2323),a=n(18410),u=Array.prototype,s={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===u||i(u,e)&&t===u.values||o(s,r(e))?a:t}},63793:function(e,t,n){"use strict";var r=n(15802);e.exports=r},52337:function(e,t,n){"use strict";var r=n(41100);n(37578),e.exports=r},77153:function(e,t,n){"use strict";var r=n(97152);e.exports=r},41281:function(e,t,n){"use strict";var r=n(58825);e.exports=r},19730:function(e,t,n){"use strict";var r=n(45220);e.exports=r},59747:function(e,t,n){"use strict";var r=n(77426);e.exports=r},57155:function(e,t,n){"use strict";var r=n(47845);e.exports=r},4663:function(e,t,n){"use strict";var r=n(3900);e.exports=r},85559:function(e,t,n){"use strict";var r=n(96237);e.exports=r},54397:function(e,t,n){"use strict";var r=n(6189);e.exports=r},26415:function(e,t,n){"use strict";var r=n(9640);e.exports=r},35721:function(e,t,n){"use strict";var r=n(10353);e.exports=r},57028:function(e,t,n){"use strict";var r=n(99874);e.exports=r},64353:function(e,t,n){"use strict";var r=n(26866);e.exports=r},56250:function(e,t,n){"use strict";var r=n(73570);e.exports=r},90862:function(e,t,n){"use strict";var r=n(23898);e.exports=r},32631:function(e,t,n){"use strict";var r=n(87451);e.exports=r},73799:function(e,t,n){"use strict";var r=n(75052);e.exports=r},95267:function(e,t,n){"use strict";var r=n(93334);n(37578),e.exports=r},24162:function(e,t,n){"use strict";var r=n(64578);e.exports=r},64103:function(e,t,n){"use strict";var r=n(55193);e.exports=r},60161:function(e,t,n){"use strict";n(89649);var r=n(52854);e.exports=r.setInterval},28299:function(e,t,n){"use strict";n(89649);var r=n(52854);e.exports=r.setTimeout},42659:function(e,t,n){"use strict";var r=n(27790);n(37578),e.exports=r},9704:function(e,t,n){"use strict";var r=n(81138);n(37578),e.exports=r},5877:function(e,t,n){"use strict";var r=n(61693);n(37578),e.exports=r},37923:function(e,t,n){"use strict";var r=n(98086);e.exports=r},58632:function(e,t,n){"use strict";var r=n(64710);n(37578),e.exports=r},69086:function(e,t,n){"use strict";var r=n(97572);e.exports=r},64710:function(e,t,n){"use strict";n(263),n(72017),n(935),n(59910);var r=n(52854);e.exports=r.URLSearchParams},97572:function(e,t,n){"use strict";n(64710),n(53512),n(12028),n(84442);var r=n(52854);e.exports=r.URL},7091:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(i){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},o=r.exec(e);o;){try{n[o[0]]=decodeURIComponent(o[0])}catch(t){var a=i(o[0]);a!==o[0]&&(n[o[0]]=a)}o=r.exec(e)}n["%C2"]="�";for(var u=Object.keys(n),s=0;s<u.length;s++){var c=u[s];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},33962:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},u=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,p=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d<p;++d)if(null!=(t=arguments[d]))for(n in t)r=s(f,n),f!==(o=s(t,n))&&(h&&o&&(a(o)||(c=i(o)))?(c?(c=!1,l=r&&i(r)?r:[]):l=r&&a(r)?r:{},u(f,{name:n,newValue:e(h,l,o)})):void 0!==o&&u(f,{name:n,newValue:o}));return f}},58616:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],u=e[a];(o?-1!==t.indexOf(a):t(a,u,e))&&(n[a]=u)}return n}},46494:function(e){"use strict";e.exports=Object.assign},53868:function(e,t,n){"use strict";e.exports={fetch:n.g.fetch}},15706:function(e,t,n){"use strict";var r=n(8812),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=s(t),v=s(n),g=0;g<a.length;++g){var m=a[g];if(!(i[m]||r&&r[m]||v&&v[m]||u&&u[m])){var y=d(n,m);try{c(t,m,y)}catch(b){}}}}return t}},32846:function(e,t){t.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,c=s>>1,l=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,u,s,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?d/s:d*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*v}},26650:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,s=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(s,c):c}e.exports=function(e,s){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];s=s||{};var f=1,d=1;function p(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:f,column:d};return function(t){return t.position=new v(e),b(),t}}function v(e){this.start=e,this.end={line:f,column:d},this.source=s.source}v.prototype.content=e;var g=[];function m(t){var n=new Error(s.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=s.source,n.line=f,n.column=d,n.source=e,!s.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function x(){var e=h(),n=y(o);if(n){if(_(),!y(i))return m("property missing ':'");var r=y(a),s=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return y(u),s}}return b(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},99458:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},82066:function(e){"use strict";var t={};function n(e,r,o){var i,a,u,s,c,l="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),c=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++)if(u=e.charCodeAt(i),o&&37===u&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))l+=e.slice(i,i+3),i+=2;else if(u<128)l+=c[u];else if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1<a&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){l+=encodeURIComponent(e[i]+e[i+1]),i++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[i]);return l}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},29080:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(94827),o=n(57492),i={tokenize:function(e,t,n){return(0,r.f)(e,(function(e){return null===e||(0,o.Ch)(e)?t(e):n(e)}),"linePrefix")},partial:!0}},94827:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(57492);function o(e,t,n,o){var i=o?o-1:Number.POSITIVE_INFINITY,a=0;return function(o){if((0,r.xz)(o))return e.enter(n),u(o);return t(o)};function u(o){return(0,r.xz)(o)&&a++<i?(e.consume(o),u):(e.exit(n),t(o))}}},57492:function(e,t,n){"use strict";n.d(t,{jv:function(){return r},H$:function(){return a},n9:function(){return s},Av:function(){return c},pY:function(){return o},AF:function(){return i},sR:function(){return u},Ch:function(){return f},z3:function(){return l},xz:function(){return d},Xh:function(){return h},B8:function(){return p}});var r=v(/[A-Za-z]/),o=v(/\d/),i=v(/[\dA-Fa-f]/),a=v(/[\dA-Za-z]/),u=v(/[!-/:-@[-`{-~]/),s=v(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function d(e){return-2===e||-1===e||32===e}var p=v(/\s/),h=v(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function v(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},37037:function(e,t,n){"use strict";function r(e,t,n,r){var o,i=e.length,a=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)(o=Array.from(r)).unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a<r.length;)(o=r.slice(a,a+1e4)).unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{d:function(){return r},V:function(){return o}})},67230:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(57492);function o(e){return null===e||(0,r.z3)(e)||(0,r.B8)(e)?1:(0,r.Xh)(e)?2:void 0}},73088:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(37037),o={}.hasOwnProperty;function i(e){for(var t={},n=-1;++n<e.length;)a(t,e[n]);return t}function a(e,t){var n;for(n in t){var r=(o.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a=void 0;for(a in i){o.call(r,a)||(r[a]=[]);var s=i[a];u(r[a],Array.isArray(s)?s:s?[s]:[])}}}function u(e,t){for(var n=-1,o=[];++n<t.length;)("after"===t[n].add?e:o).push(t[n]);(0,r.d)(e,0,0,o)}},88236:function(e,t,n){"use strict";function r(e,t){var n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}n.d(t,{o:function(){return r}})},25266:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r;var o=n(88236),i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,u)}function u(e,t,n){if(t)return t;var i,a,u;if(35===n.charCodeAt(0)){var s=n.charCodeAt(1),c=120===s||88===s;return(0,o.o)(n.slice(c?2:1),c?16:10)}return u="&"+(i=n)+";",(r=r||document.createElement("i")).innerHTML=u,(59!==(a=r.textContent).charCodeAt(a.length-1)||"semi"===i)&&a!==u&&a||e}},96060:function(e,t,n){"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{d:function(){return r}})},17163:function(e,t,n){"use strict";function r(e,t,n){for(var r=[],o=-1;++o<e.length;){var i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}n.d(t,{C:function(){return r}})},39432:function(e,t,n){"use strict";n.d(t,{Pi:function(){return h}});var r=n(40695),o=n(67294);if(!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.rV)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var i=!1;function a(){return i}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(e){return e.current?(0,r.Gf)(e.current):"<unknown>"}var l=[];function f(){var e=s((0,o.useState)(0),2)[1];return(0,o.useCallback)((function(){e((function(e){return e+1}))}),[])}var d={};function p(e,t,n){if(void 0===t&&(t="observed"),void 0===n&&(n=d),a())return e();var i=(n.useForceUpdate||f)(),u=(0,o.useRef)(null);u.current||(u.current=new r.le("observer("+t+")",(function(){i()})));var s,p,h=function(){u.current&&!u.current.isDisposed&&(u.current.dispose(),u.current=null)};if((0,o.useDebugValue)(u,c),function(e){(0,o.useEffect)((function(){return e}),l)}((function(){h()})),u.current.track((function(){try{s=e()}catch(t){p=t}})),p)throw h(),p;return s}function h(e,t){if(a())return e;var n,r,i,s=u({forwardRef:!1},t),c=e.displayName||e.name,l=function(t,n){return p((function(){return e(t,n)}),c)};return l.displayName=c,n=s.forwardRef?(0,o.memo)((0,o.forwardRef)(l)):(0,o.memo)(l),r=e,i=n,Object.keys(r).forEach((function(e){r.hasOwnProperty(e)&&!v[e]&&Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(r,e))})),n.displayName=c,n}var v={$$typeof:!0,render:!0,compare:!0,type:!0};function g(e){var t=e.children,n=e.render,r=t||n;return"function"!=typeof r?null:p(r)}function m(e,t,n,r,o){var i="children"===t?"render":"children",a="function"==typeof e[t],u="function"==typeof e[i];return a&&u?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||u?null:new Error("Invalid prop `"+o+"` of type `"+typeof e[t]+"` supplied to `"+n+"`, expected `function`.")}g.propTypes={children:m,render:m},g.displayName="Observer"},50581:function(e,t,n){"use strict";n.d(t,{wA:function(){return b},HY:function(){return y},Tm:function(){return B},kr:function(){return z},h:function(){return g},YM:function(){return o},sY:function(){return U},bR:function(){return C}});var r,o,i,a,u,s,c,l,f={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var o,i,a,u={};for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];if(arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return m(e,u,o,i,null)}function m(e,t,n,r,a){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=o.vnode&&o.vnode(u),u}function y(e){return e.children}function b(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function _(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return _(e)}}function x(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!S.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||s)(S)}function S(){var e,t,n,r,o,i,u,s;for(a.sort(c);e=a.shift();)e.__d&&(t=a.length,r=void 0,o=void 0,u=(i=(n=e).__v).__e,(s=n.__P)&&(r=[],(o=h({},i)).__v=i.__v+1,N(s,i,o,n.__n,void 0!==s.ownerSVGElement,null!=i.__h?[u]:null,r,null==u?w(i):u,i.__h),M(r,i),i.__e!=u&&_(i)),a.length>t&&a.sort(c));S.__r=0}function k(e,t,n,r,o,i,a,u,s,c){var l,p,h,v,g,b,_,x=r&&r.__k||d,S=x.length;for(n.__k=[],l=0;l<t.length;l++)if(null!=(v=n.__k[l]=null==(v=t[l])||"boolean"==typeof v||"function"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?m(null,v,null,null,v):Array.isArray(v)?m(y,{children:v},null,null,null):v.__b>0?m(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(h=x[l])||h&&v.key==h.key&&v.type===h.type)x[l]=void 0;else for(p=0;p<S;p++){if((h=x[p])&&v.key==h.key&&v.type===h.type){x[p]=void 0;break}h=null}N(e,v,h=h||f,o,i,a,u,s,c),g=v.__e,(p=v.ref)&&h.ref!=p&&(_||(_=[]),h.ref&&_.push(h.ref,null,v),_.push(p,v.__c||g,v)),null!=g?(null==b&&(b=g),"function"==typeof v.type&&v.__k===h.__k?v.__d=s=E(v,s,e):s=I(e,v,h,x,g,s),"function"==typeof n.type&&(n.__d=s)):s&&h.__e==s&&s.parentNode!=e&&(s=w(h))}for(n.__e=b,l=S;l--;)null!=x[l]&&("function"==typeof n.type&&null!=x[l].__e&&x[l].__e==n.__d&&(n.__d=T(r).nextSibling),R(x[l],x[l]));if(_)for(l=0;l<_.length;l++)L(_[l],_[++l],_[++l])}function E(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?E(r,t,n):I(n,r,r,o,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function I(e,t,n,r,o,i){var a,u,s;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(u=i,s=0;(u=u.nextSibling)&&s<r.length;s+=1)if(u==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function T(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=T(n)))return r;return null}function O(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function A(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?P:D,i):e.removeEventListener(t,i?P:D,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function D(e){return this.l[e.type+!1](o.event?o.event(e):e)}function P(e){return this.l[e.type+!0](o.event?o.event(e):e)}function N(e,t,n,r,i,a,u,s,c){var l,f,d,p,v,g,m,w,_,x,S,E,C,I,T,O=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(l=o.__b)&&l(t);try{e:if("function"==typeof O){if(w=t.props,_=(l=O.contextType)&&r[l.__c],x=l?_?_.props.value:l.__:r,n.__c?m=(f=t.__c=n.__c).__=f.__E:("prototype"in O&&O.prototype.render?t.__c=f=new O(w,x):(t.__c=f=new b(w,x),f.constructor=O,f.render=F),_&&_.sub(f),f.props=w,f.state||(f.state={}),f.context=x,f.__n=r,d=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=O.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=h({},f.__s)),h(f.__s,O.getDerivedStateFromProps(w,f.__s))),p=f.props,v=f.state,f.__v=t,d)null==O.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==O.getDerivedStateFromProps&&w!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(w,x),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(w,f.__s,x)||t.__v===n.__v){for(t.__v!==n.__v&&(f.props=w,f.state=f.__s,f.__d=!1),f.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(w,f.__s,x),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,v,g)}))}if(f.context=x,f.props=w,f.__P=e,E=o.__r,C=0,"prototype"in O&&O.prototype.render){for(f.state=f.__s,f.__d=!1,E&&E(t),l=f.render(f.props,f.state,f.context),I=0;I<f._sb.length;I++)f.__h.push(f._sb[I]);f._sb=[]}else do{f.__d=!1,E&&E(t),l=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++C<25);f.state=f.__s,null!=f.getChildContext&&(r=h(h({},r),f.getChildContext())),d||null==f.getSnapshotBeforeUpdate||(g=f.getSnapshotBeforeUpdate(p,v)),T=null!=l&&l.type===y&&null==l.key?l.props.children:l,k(e,Array.isArray(T)?T:[T],t,n,r,i,a,u,s,c),f.base=t.__e,t.__h=null,f.__h.length&&u.push(f),m&&(f.__E=f.__=null),f.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,r,i,a,u,c);(l=o.diffed)&&l(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=s,t.__h=!!c,a[a.indexOf(s)]=null),o.__e(e,t,n)}}function M(e,t){o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function j(e,t,n,o,i,a,u,s){var c,l,d,p=n.props,h=t.props,g=t.type,m=0;if("svg"===g&&(i=!0),null!=a)for(;m<a.length;m++)if((c=a[m])&&"setAttribute"in c==!!g&&(g?c.localName===g:3===c.nodeType)){e=c,a[m]=null;break}if(null==e){if(null===g)return document.createTextNode(h);e=i?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,h.is&&h),a=null,s=!1}if(null===g)p===h||s&&e.data===h||(e.data=h);else{if(a=a&&r.call(e.childNodes),l=(p=n.props||f).dangerouslySetInnerHTML,d=h.dangerouslySetInnerHTML,!s){if(null!=a)for(p={},m=0;m<e.attributes.length;m++)p[e.attributes[m].name]=e.attributes[m].value;(d||l)&&(d&&(l&&d.__html==l.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||A(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||A(e,i,t[i],n[i],r)}(e,h,p,i,s),d)t.__k=[];else if(m=t.props.children,k(e,Array.isArray(m)?m:[m],t,n,o,i&&"foreignObject"!==g,a,u,a?a[0]:n.__k&&w(n,0),s),null!=a)for(m=a.length;m--;)null!=a[m]&&v(a[m]);s||("value"in h&&void 0!==(m=h.value)&&(m!==e.value||"progress"===g&&!m||"option"===g&&m!==p.value)&&A(e,"value",m,p.value,!1),"checked"in h&&void 0!==(m=h.checked)&&m!==e.checked&&A(e,"checked",m,p.checked,!1))}return e}function L(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function R(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||L(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&R(r[i],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function F(e,t,n){return this.constructor(e,n)}function U(e,t,n){var i,a,u;o.__&&o.__(e,t),a=(i="function"==typeof n)?null:n&&n.__k||t.__k,u=[],N(t,e=(!i&&n||t).__k=g(y,null,[e]),a||f,f,void 0!==t.ownerSVGElement,!i&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,u,!i&&n?n:a?a.__e:t.firstChild,i),M(u,e)}function B(e,t,n){var o,i,a,u=h({},e.props);for(a in t)"key"==a?o=t[a]:"ref"==a?i=t[a]:u[a]=t[a];return arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),m(e.type,u,o||e.key,i||e.ref,null)}function z(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,x(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=d.slice,o={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},i=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),x(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),x(this))},b.prototype.render=y,a=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},S.__r=0,l=0},32203:function(e,t,n){"use strict";var r=n(59713),o=n(63038),i=n(319);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=n(68936),c=n(7091),l=n(34734),f=n(58616),d=Symbol("encodeFragmentIdentifier");function p(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function h(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function v(e,t){return t.decode?c(e):e}function g(e){return Array.isArray(e)?e.sort():"object"==typeof e?g(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function m(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t=(e=m(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function b(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function w(e,t){p((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&v(n,e).includes(e.arrayFormatSeparator);n=i?v(n,e):n;var a=o||i?n.split(e.arrayFormatSeparator).map((function(t){return v(t,e)})):null===n?n:v(n,e);r[t]=a};case"bracket-separator":return function(t,n,r){var o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),o){var i=null===n?[]:n.split(e.arrayFormatSeparator).map((function(t){return v(t,e)}));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i}else r[t]=n?v(n,e):n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;var i,u=a(e.split("&"));try{for(u.s();!(i=u.n()).done;){var s=i.value;if(""!==s){var c=l(t.decode?s.replace(/\+/g," "):s,"="),f=o(c,2),d=f[0],h=f[1];h=void 0===h?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?h:v(h,t),n(v(d,t),h,r)}}}catch(E){u.e(E)}finally{u.f()}for(var m=0,y=Object.keys(r);m<y.length;m++){var w=y[m],_=r[w];if("object"==typeof _&&null!==_)for(var x=0,S=Object.keys(_);x<S.length;x++){var k=S[x];_[k]=b(_[k],t)}else r[w]=b(_,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=g(n):e[t]=n,e}),Object.create(null))}t.extract=y,t.parse=w,t.stringify=function(e,t){if(!e)return"";p((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);for(var n=function(n){return t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n]},r=function(e){switch(e.arrayFormat){case"index":return function(t){return function(n,r){var o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(i(n),null===r?[[h(t,e),"[",o,"]"].join("")]:[[h(t,e),"[",h(o,e),"]=",h(r,e)].join("")])}};case"bracket":return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(i(n),null===r?[[h(t,e),"[]"].join("")]:[[h(t,e),"[]=",h(r,e)].join("")])}};case"comma":case"separator":case"bracket-separator":var t="bracket-separator"===e.arrayFormat?"[]=":"=";return function(n){return function(r,o){return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[h(n,e),t,h(o,e)].join("")]:[[r,h(o,e)].join(e.arrayFormatSeparator)])}};default:return function(t){return function(n,r){return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:[].concat(i(n),null===r?[h(t,e)]:[[h(t,e),"=",h(r,e)].join("")])}}}}(t),o={},a=0,u=Object.keys(e);a<u.length;a++){var s=u[a];n(s)||(o[s]=e[s])}var c=Object.keys(o);return!1!==t.sort&&c.sort(t.sort),c.map((function(n){var o=e[n];return void 0===o?"":null===o?h(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?h(n,t)+"[]":o.reduce(r(n),[]).join("&"):h(n,t)+"="+h(o,t)})).filter((function(e){return e.length>0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=l(e,"#"),r=o(n,2),i=r[0],a=r[1];return Object.assign({url:i.split("?")[0]||"",query:w(y(e),t)},t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:v(a,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign(r({encode:!0,strict:!0},d,!0),n);var o=m(e.url).split("?")[0]||"",i=t.extract(e.url),a=t.parse(i,{sort:!1}),u=Object.assign(a,e.query),s=t.stringify(u,n);s&&(s="?".concat(s));var c=function(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c="#".concat(n[d]?h(e.fragmentIdentifier,n):e.fragmentIdentifier)),"".concat(o).concat(s).concat(c)},t.pick=function(e,n,o){o=Object.assign(r({parseFragmentIdentifier:!0},d,!1),o);var i=t.parseUrl(e,o),a=i.url,u=i.query,s=i.fragmentIdentifier;return t.stringifyUrl({url:a,query:f(u,n),fragmentIdentifier:s},o)},t.exclude=function(e,n,r){var o=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,o,r)}},23302:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var u,s,c,l;if(Array.isArray(e)){if((u=e.length)!=a.length)return!1;for(s=u;0!=s--;)if(!i(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;for(l=e.entries();!(s=l.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(l=e.entries();!(s=l.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((u=e.length)!=a.length)return!1;for(s=u;0!=s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((u=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=u;0!=s--;)if(!Object.prototype.hasOwnProperty.call(a,c[s]))return!1;if(t&&e instanceof Element)return!1;for(s=u;0!=s--;)if(("_owner"!==c[s]&&"__v"!==c[s]&&"__o"!==c[s]||!e.$$typeof)&&!i(e[c[s]],a[c[s]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},10165:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case v:case s:return e;default:return t}}case o:return t}}}function x(e){return _(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=v,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===v},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===u||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===m)},t.typeOf=_},8812:function(e,t,n){"use strict";e.exports=n(10165)},27892:function(e,t,n){"use strict";n.d(t,{Z:function(){return xr}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return vt},contentInitial:function(){return ct},disable:function(){return gt},document:function(){return st},flow:function(){return ft},flowInitial:function(){return lt},insideSpan:function(){return ht},string:function(){return dt},text:function(){return pt}});var o={};n.r(o),n.d(o,{boolean:function(){return Cn},booleanish:function(){return In},commaOrSpaceSeparated:function(){return Pn},commaSeparated:function(){return Dn},number:function(){return On},overloadedBoolean:function(){return Tn},spaceSeparated:function(){return An}});var i=n(67294),a=n(85061),u=n(6610),s=n(5991),c=n(99458),l=n.n(c),f=n(10379),d=n(46070),p=n(77608),h=n(57869),v={}.hasOwnProperty;function g(e){return e&&"object"==typeof e?v.call(e,"position")||v.call(e,"type")?y(e.position):v.call(e,"start")||v.call(e,"end")?y(e):v.call(e,"line")||v.call(e,"column")?m(e):"":""}function m(e){return b(e&&e.line)+":"+b(e&&e.column)}function y(e){return m(e&&e.start)+"-"+m(e&&e.end)}function b(e){return e&&"number"==typeof e?e:1}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var o=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var _=function(e){(0,f.Z)(n,e);var t=w(n);function n(e,r,o){var i;(0,u.Z)(this,n);var a,s=[null,null],c={start:{line:null,column:null},end:{line:null,column:null}};return i=t.call(this),"string"==typeof r&&(o=r,r=null),"string"==typeof o&&(-1===(a=o.indexOf(":"))?s[1]=o:(s[0]=o.slice(0,a),s[1]=o.slice(a+1))),r&&("type"in r||"position"in r?r.position&&(c=r.position):"start"in r||"end"in r?c=r:("line"in r||"column"in r)&&(c.start=r)),i.name=g(r)||"1:1",i.message="object"==typeof e?e.message:e,i.stack="object"==typeof e?e.stack:"",i.reason=i.message,i.line=c.start.line,i.column=c.start.column,i.source=s[0],i.ruleId=s[1],i.position=c,i.file,i.fatal,i.url,i.note,i}return n}((0,h.Z)(Error));_.prototype.file="",_.prototype.name="",_.prototype.reason="",_.prototype.message="",_.prototype.stack="",_.prototype.fatal=null,_.prototype.column=null,_.prototype.line=null,_.prototype.source=null,_.prototype.ruleId=null,_.prototype.position=null;var x={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');k(e);var n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";var a=-1,u=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),u>-1&&(e.charCodeAt(i)===t.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(k(e),0===e.length)return".";var t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){k(e);var t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){var u=e.charCodeAt(n);if(47!==u)r<0&&(t=!0,r=n+1),46===u?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){for(var e,t=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++t<r.length;)k(r[t]),r[t]&&(e=void 0===e?r[t]:e+"/"+r[t]);return void 0===e?".":S(e)},sep:"/"};function S(e){k(e);var t=47===e.charCodeAt(0),n=function(e,t){var n,r,o="",i=0,a=-1,u=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===u);else if(a!==s-1&&2===u){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if((r=o.lastIndexOf("/"))!==o.length-1){r<0?(o="",i=0):i=(o=o.slice(0,r)).length-1-o.lastIndexOf("/"),a=s,u=0;continue}}else if(o.length>0){o="",i=0,a=s,u=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,s):o=e.slice(a+1,s),i=s-a-1;a=s,u=0}else 46===n&&u>-1?u++:u=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function k(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var E={cwd:function(){return"/"}};function C(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function I(e){if("string"==typeof e)e=new URL(e);else if(!C(e)){var t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){var n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return function(e){if(""!==e.hostname){var t=new TypeError('File URL host must be "localhost" or empty on darwin');throw t.code="ERR_INVALID_FILE_URL_HOST",t}var n=e.pathname,r=-1;for(;++r<n.length;)if(37===n.charCodeAt(r)&&50===n.charCodeAt(r+1)){var o=n.charCodeAt(r+2);if(70===o||102===o){var i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}(e)}var T=["history","path","basename","stem","extname","dirname"],O=function(){function e(t){var n;(0,u.Z)(this,e),n=t?"string"==typeof t||l()(t)?{value:t}:C(t)?{path:t}:t:{},this.data={},this.messages=[],this.history=[],this.cwd=E.cwd(),this.value,this.stored,this.result,this.map;for(var r,o=-1;++o<T.length;){var i=T[o];i in n&&void 0!==n[i]&&(this[i]="history"===i?(0,a.Z)(n[i]):n[i])}for(r in n)T.includes(r)||(this[r]=n[r])}return(0,s.Z)(e,[{key:"path",get:function(){return this.history[this.history.length-1]},set:function(e){C(e)&&(e=I(e)),D(e,"path"),this.path!==e&&this.history.push(e)}},{key:"dirname",get:function(){return"string"==typeof this.path?x.dirname(this.path):void 0},set:function(e){P(this.basename,"dirname"),this.path=x.join(e||"",this.basename)}},{key:"basename",get:function(){return"string"==typeof this.path?x.basename(this.path):void 0},set:function(e){D(e,"basename"),A(e,"basename"),this.path=x.join(this.dirname||"",e)}},{key:"extname",get:function(){return"string"==typeof this.path?x.extname(this.path):void 0},set:function(e){if(A(e,"extname"),P(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=x.join(this.dirname,this.stem+(e||""))}},{key:"stem",get:function(){return"string"==typeof this.path?x.basename(this.path,this.extname):void 0},set:function(e){D(e,"stem"),A(e,"stem"),this.path=x.join(this.dirname||"",e+(this.extname||""))}},{key:"toString",value:function(e){return(this.value||"").toString(e)}},{key:"message",value:function(e,t,n){var r=new _(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}},{key:"info",value:function(e,t,n){var r=this.message(e,t,n);return r.fatal=null,r}},{key:"fail",value:function(e,t,n){var r=this.message(e,t,n);throw r.fatal=!0,r}}]),e}();function A(e,t){if(e&&e.includes(x.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+x.sep+"`")}function D(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function P(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var N=n(99809);function M(e){if(e)throw e}var j=n(33962),L=n.n(j);function R(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function F(e,t){var n;return function(){for(var t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];var u,s=e.length>i.length;s&&i.push(r);try{u=e.apply(void 0,i)}catch(l){var c=l;if(s&&n)throw c;return r(c)}s||(u instanceof Promise?u.then(o,r):u instanceof Error?r(u):o(u))};function r(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];t.apply(void 0,[e].concat(o))}}function o(e){r(null,e)}}var U=function e(){var t,n=(u=[],s={run:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=-1,o=t.pop();if("function"!=typeof o)throw new TypeError("Expected function as last argument, not "+o);function i(e){var n=u[++r],a=-1;if(e)o(e);else{for(var s=arguments.length,c=new Array(s>1?s-1:0),l=1;l<s;l++)c[l-1]=arguments[l];for(;++a<t.length;)null!==c[a]&&void 0!==c[a]||(c[a]=t[a]);t=c,n?F(n,i).apply(void 0,c):o.apply(void 0,[null].concat(c))}}i.apply(void 0,[null].concat((0,a.Z)(t)))},use:function(e){if("function"!=typeof e)throw new TypeError("Expected `middelware` to be a function, not "+e);return u.push(e),s}},s),r=[],o={},i=-1;var u,s;return c.data=function(e,n){if("string"==typeof e)return 2===arguments.length?(G("data",t),o[e]=n,c):B.call(o,e)&&o[e]||null;if(e)return G("data",t),o=e,c;return o},c.Parser=void 0,c.Compiler=void 0,c.freeze=function(){if(t)return c;for(;++i<r.length;){var e=(0,N.Z)(r[i]),o=e[0],u=e.slice(1);if(!1!==u[0]){!0===u[0]&&(u[1]=void 0);var s=o.call.apply(o,[c].concat((0,a.Z)(u)));"function"==typeof s&&n.use(s)}}return t=!0,i=Number.POSITIVE_INFINITY,c},c.attachers=r,c.use=function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),u=1;u<n;u++)i[u-1]=arguments[u];var s;if(G("use",t),null==e);else if("function"==typeof e)p.apply(void 0,[e].concat(i));else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?d(e):f(e)}s&&(o.settings=Object.assign(o.settings||{},s));return c;function l(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){var t=(0,N.Z)(e),n=t[0],r=t.slice(1);p.apply(void 0,[n].concat((0,a.Z)(r)))}else f(e)}}function f(e){d(e.plugins),e.settings&&(s=Object.assign(s||{},e.settings))}function d(e){var t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){l(e[t])}}}function p(e,t){for(var n,o=-1;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(R(n[1])&&R(t)&&(t=L()(!0,n[1],t)),n[1]=t):r.push(Array.prototype.slice.call(arguments))}},c.parse=function(e){c.freeze();var t=Z(e),n=c.Parser;if(V("parse",n),z(n,"parse"))return new n(String(t),t).parse();return n(String(t),t)},c.stringify=function(e,t){c.freeze();var n=Z(t),r=c.Compiler;if(H("stringify",r),q(e),z(r,"compile"))return new r(e,n).compile();return r(e,n)},c.run=function(e,t,r){q(e),c.freeze(),r||"function"!=typeof t||(r=t,t=void 0);if(!r)return new Promise(o);function o(o,i){function a(t,n,a){n=n||e,t?i(t):o?o(n):r(null,n,a)}n.run(e,Z(t),a)}o(null,r)},c.runSync=function(e,t){var n,r;return c.run(e,t,o),W("runSync","run",r),n;function o(e,t){M(e),n=t,r=!0}},c.process=function(e,t){if(c.freeze(),V("process",c.Parser),H("process",c.Compiler),!t)return new Promise(n);function n(n,r){var o=Z(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}c.run(c.parse(o),o,(function(e,t,n){if(!e&&t&&n){var r=c.stringify(t,n);null==r||("string"==typeof(o=r)||l()(o)?n.value=r:n.result=r),i(e,n)}else i(e);var o}))}n(null,t)},c.processSync=function(e){var t;c.freeze(),V("processSync",c.Parser),H("processSync",c.Compiler);var n=Z(e);return c.process(n,r),W("processSync","process",t),n;function r(e){t=!0,M(e)}},c;function c(){for(var t=e(),n=-1;++n<r.length;)t.use.apply(t,(0,a.Z)(r[n]));return t.data(L()(!0,{},o)),t}}().freeze(),B={}.hasOwnProperty;function z(e,t){return"function"==typeof e&&e.prototype&&(function(e){var t;for(t in e)if(B.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function V(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function H(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function G(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function q(e){if(!R(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function W(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Z(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new O(e)}function K(e,t){var n=(t||{}).includeImageAlt;return $(e,void 0===n||n)}function $(e,t){return e&&"object"==typeof e&&(e.value||(t?e.alt:"")||"children"in e&&X(e.children,t)||Array.isArray(e)&&X(e,t))||""}function X(e,t){for(var n=[],r=-1;++r<e.length;)n[r]=$(e[r],t);return n.join("")}var Y=n(73088),J=n(94827),Q=n(57492),ee={tokenize:function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,J.f)(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));return n;function r(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,o(n)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,Q.Ch)(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}};var te=n(37037),ne={tokenize:function(e){var t,n,r,o=this,i=[],a=0;return u;function u(t){if(a<i.length){var n=i[a];return o.containerState=n[1],e.attempt(n[0].continuation,s,c)(t)}return c(t)}function s(e){if(a++,o.containerState._closeFlow){o.containerState._closeFlow=void 0,t&&y();for(var n,r=o.events.length,i=r;i--;)if("exit"===o.events[i][0]&&"chunkFlow"===o.events[i][1].type){n=o.events[i][1].end;break}m(a);for(var s=r;s<o.events.length;)o.events[s][1].end=Object.assign({},n),s++;return(0,te.d)(o.events,i+1,0,o.events.slice(r)),o.events.length=s,c(e)}return u(e)}function c(n){if(a===i.length){if(!t)return d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);o.interrupt=Boolean(t.currentConstruct)}return o.containerState={},e.check(re,l,f)(n)}function l(e){return t&&y(),m(a),d(e)}function f(e){return o.parser.lazy[o.now().line]=a!==i.length,r=o.now().offset,h(e)}function d(t){return o.containerState={},e.attempt(re,p,h)(t)}function p(e){return a++,i.push([o.currentConstruct,o.containerState]),d(e)}function h(r){return null===r?(t&&y(),m(0),void e.consume(r)):(t=t||o.parser.flow(o.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),v(r))}function v(t){return null===t?(g(e.exit("chunkFlow"),!0),m(0),void e.consume(t)):(0,Q.Ch)(t)?(e.consume(t),g(e.exit("chunkFlow")),a=0,o.interrupt=void 0,u):(e.consume(t),v)}function g(e,i){var u=o.sliceStream(e);if(i&&u.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(u),o.parser.lazy[e.start.line]){for(var s=t.events.length;s--;)if(t.events[s][1].start.offset<r&&(!t.events[s][1].end||t.events[s][1].end.offset>r))return;for(var c,l,f=o.events.length,d=f;d--;)if("exit"===o.events[d][0]&&"chunkFlow"===o.events[d][1].type){if(c){l=o.events[d][1].end;break}c=!0}for(m(a),s=f;s<o.events.length;)o.events[s][1].end=Object.assign({},l),s++;(0,te.d)(o.events,d+1,0,o.events.slice(f)),o.events.length=s}}function m(t){for(var n=i.length;n-- >t;){var r=i[n];o.containerState=r[1],r[0].exit.call(o,e)}i.length=t}function y(){t.write([null]),n=void 0,t=void 0,o.containerState._closeFlow=void 0}}},re={tokenize:function(e,t,n){return(0,J.f)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var oe=n(29080);function ie(e){for(var t,n,r,o,i,a,u,s={},c=-1;++c<e.length;){for(;c in s;)c=s[c];if(t=e[c],c&&"chunkFlow"===t[1].type&&"listItemPrefix"===e[c-1][1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,ae(e,c)),c=s[c],u=!0);else if(t[1]._container){for(r=c,n=void 0;r--&&("lineEnding"===(o=e[r])[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(n&&(e[n][1].type="lineEndingBlank"),o[1].type="lineEnding",n=r);n&&(t[1].end=Object.assign({},e[n][1].start),(i=e.slice(n,c)).unshift(t),(0,te.d)(e,n,c-n+1,i))}}return!u}function ae(e,t){for(var n,r,o=e[t][1],i=e[t][2],a=t-1,u=[],s=o._tokenizer||i.parser[o.contentType](o.start),c=s.events,l=[],f={},d=-1,p=o,h=0,v=0,g=[v];p;){for(;e[++a][1]!==p;);u.push(a),p._tokenizer||(n=i.sliceStream(p),p.next||n.push(null),r&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=o;++d<c.length;)"exit"===c[d][0]&&"enter"===c[d-1][0]&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(v=d+1,g.push(v),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){var m=c.slice(g[d],g[d+1]),y=u.pop();l.unshift([y,y+m.length-1]),(0,te.d)(e,y,2,m)}for(d=-1;++d<l.length;)f[h+l[d][0]]=h+l[d][1],h+=l[d][1]-l[d][0]-1;return f}var ue={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):(0,Q.Ch)(t)?e.check(se,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ie(e),e}},se={tokenize:function(e,t,n){var r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,J.f)(e,o,"linePrefix")};function o(o){if(null===o||(0,Q.Ch)(o))return n(o);var i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};var ce={tokenize:function(e){var t=this,n=e.attempt(oe.w,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,(0,J.f)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ue,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};var le={resolveAll:he()},fe=pe("string"),de=pe("text");function pe(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return s(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),u;t.consume(e)}function u(e){return s(e)?(t.exit("data"),o(e)):(t.consume(e),u)}function s(e){if(null===e)return!0;var t=r[e],o=-1;if(t)for(;++o<t.length;){var i=t[o];if(!i.previous||i.previous.call(n,n.previous))return!0}return!1}},resolveAll:he("text"===e?ve:void 0)}}function he(e){return function(t,n){var r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function ve(e,t){for(var n=-1;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){for(var r=e[n-1][1],o=t.sliceStream(r),i=o.length,a=-1,u=0,s=void 0;i--;){var c=o[i];if("string"==typeof c){for(a=c.length;32===c.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===c)s=!0,u++;else if(-1!==c){i++;break}}if(u){var l={type:n===e.length||s||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},l.start),r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}var ge=n(17163);function me(e,t,n){var r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),o={},i=[],u=[],s=[],c={consume:function(e){(0,Q.Ch)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++);r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++));l.previous=e,!0},enter:function(e,t){var n=t||{};return n.type=e,n.start=p(),l.events.push(["enter",n,l]),s.push(n),n},exit:function(e){var t=s.pop();return t.end=p(),l.events.push(["exit",t,l]),t},attempt:m((function(e,t){y(e,t.from)})),check:m(g),interrupt:m(g,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){var n,r=-1,o=[];for(;++r<e.length;){var i=e[r],a=void 0;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(i)}n=-2===i,o.push(a)}return o.join("")}(d(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,b()},write:function(e){if(u=(0,te.V)(u,e),h(),null!==u[u.length-1])return[];return y(t,0),l.events=(0,ge.C)(i,l.events,l),l.events}},f=t.tokenize.call(l,c);return t.resolveAll&&i.push(t),l;function d(e){return function(e,t){var n,r=t.start._index,o=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;r===i?n=[e[r].slice(o,a)]:(n=e.slice(r,i),o>-1&&(n[0]=n[0].slice(o)),a>0&&n.push(e[i].slice(0,a)));return n}(u,e)}function p(){return Object.assign({},r)}function h(){for(var e;r._index<u.length;){var t=u[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)v(t.charCodeAt(r._bufferIndex));else v(t)}}function v(e){void 0,e,f=f(e)}function g(e,t){t.restore()}function m(e,t){return function(n,o,i){var u,f,d,h;return Array.isArray(n)?v(n):"tokenize"in n?v([n]):function(e){return t;function t(t){var n=null!==t&&e[t],r=null!==t&&e.null;return v([].concat((0,a.Z)(Array.isArray(n)?n:n?[n]:[]),(0,a.Z)(Array.isArray(r)?r:r?[r]:[])))(t)}}(n);function v(e){return u=e,f=0,0===e.length?i:g(e[f])}function g(e){return function(n){h=function(){var e=p(),t=l.previous,n=l.currentConstruct,o=l.events.length,i=Array.from(s);return{restore:a,from:o};function a(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=o,s=i,b()}}(),d=e,e.partial||(l.currentConstruct=e);if(e.name&&l.parser.constructs.disable.null.includes(e.name))return y(n);return e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,y)(n)}}function m(t){return!0,e(d,h),o}function y(e){return!0,h.restore(),++f<u.length?g(u[f]):i}}}function y(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,te.d)(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}var ye=n(96156),be={name:"thematicBreak",tokenize:function(e,t,n){var r,o=0;return function(t){return e.enter("thematicBreak"),r=t,i(t)};function i(u){return u===r?(e.enter("thematicBreakSequence"),a(u)):(0,Q.xz)(u)?(0,J.f)(e,i,"whitespace")(u):o<3||null!==u&&!(0,Q.Ch)(u)?n(u):(e.exit("thematicBreak"),t(u))}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),i(t))}}};var we={name:"list",tokenize:function(e,t,n){var r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){var o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:(0,Q.pY)(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(be,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(t)}return n(t)};function u(t){return(0,Q.pY)(t)&&++a<10?(e.consume(t),u):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),s(t)):n(t)}function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(oe.w,r.interrupt?n:c,e.attempt(_e,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return(0,Q.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(oe.w,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,J.f)(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!(0,Q.xz)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(xe,t,a)(n))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,J.f)(e,e.attempt(we,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},_e={tokenize:function(e,t,n){var r=this;return(0,J.f)(e,(function(e){var o=r.events[r.events.length-1];return!(0,Q.xz)(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},xe={tokenize:function(e,t,n){var r=this;return(0,J.f)(e,(function(e){var o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};var Se={name:"blockQuote",tokenize:function(e,t,n){var r=this;return function(t){if(62===t){var i=r.containerState;return i.open||(e.enter("blockQuote",{_container:!0}),i.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return(0,Q.xz)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return(0,J.f)(e,e.attempt(Se,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}};function ke(e,t,n,r,o,i,a,u,s){var c=s||Number.POSITIVE_INFINITY,l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||41===t||(0,Q.Av)(t))return n(t);return e.enter(r),e.enter(a),e.enter(u),e.enter("chunkString",{contentType:"string"}),h(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(u),f(t)):null===t||60===t||(0,Q.Ch)(t)?n(t):(e.consume(t),92===t?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function h(o){return 40===o?++l>c?n(o):(e.consume(o),h):41===o?l--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(a),e.exit(r),t(o)):null===o||(0,Q.z3)(o)?l?n(o):(e.exit("chunkString"),e.exit(u),e.exit(a),e.exit(r),t(o)):(0,Q.Av)(o)?n(o):(e.consume(o),92===o?v:h)}function v(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Ee(e,t,n,r,o,i){var a,u=this,s=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(f){return null===f||91===f||93===f&&!a||94===f&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs||s>999?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):(0,Q.Ch)(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||(0,Q.Ch)(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a=a||!(0,Q.xz)(t),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,l):l(t)}}function Ce(e,t,n,r,o,i){var a;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,u};function u(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),s(n))}function s(t){return t===a?(e.exit(i),u(a)):null===t?n(t):(0,Q.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,J.f)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||(0,Q.Ch)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?l:c)}function l(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ie(e,t){var n;return function r(o){if((0,Q.Ch)(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if((0,Q.xz)(o))return(0,J.f)(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}var Te=n(96060),Oe={name:"definition",tokenize:function(e,t,n){var r,o=this;return function(t){return e.enter("definition"),Ee.call(o,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return r=(0,Te.d)(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Ie(e,ke(e,e.attempt(Ae,(0,J.f)(e,a,"whitespace"),(0,J.f)(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(i){return null===i||(0,Q.Ch)(i)?(e.exit("definition"),o.parser.defined.includes(r)||o.parser.defined.push(r),t(i)):n(i)}}},Ae={tokenize:function(e,t,n){return function(t){return(0,Q.z3)(t)?Ie(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Ce(e,(0,J.f)(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||(0,Q.Ch)(e)?t(e):n(e)}},partial:!0};var De={name:"codeIndented",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("codeIndented"),(0,J.f)(e,o,"linePrefix",5)(t)};function o(e){var t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?u(t):(0,Q.Ch)(t)?e.attempt(Pe,i,u)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||(0,Q.Ch)(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function u(n){return e.exit("codeIndented"),t(n)}}},Pe={tokenize:function(e,t,n){var r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):(0,Q.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(0,J.f)(e,i,"linePrefix",5)(t)}function i(e){var i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):(0,Q.Ch)(e)?o(e):n(e)}},partial:!0};var Ne={name:"headingAtx",tokenize:function(e,t,n){var r=this,o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(t)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||(0,Q.z3)(u)?(e.exit("atxHeadingSequence"),r.interrupt?t(u):a(u)):n(u)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),u(n)):null===n||(0,Q.Ch)(n)?(e.exit("atxHeading"),t(n)):(0,Q.xz)(n)?(0,J.f)(e,a,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function u(t){return 35===t?(e.consume(t),u):(e.exit("atxHeadingSequence"),a(t))}function s(t){return null===t||35===t||(0,Q.z3)(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),s)}},resolve:function(e,t){var n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},(0,te.d)(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};var Me={name:"setextUnderline",tokenize:function(e,t,n){var r,o,i=this,a=i.events.length;for(;a--;)if("lineEnding"!==i.events[a][1].type&&"linePrefix"!==i.events[a][1].type&&"content"!==i.events[a][1].type){o="paragraph"===i.events[a][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),r=t,u(t);return n(t)};function u(t){return t===r?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),(0,J.f)(e,s,"lineSuffix")(t))}function s(r){return null===r||(0,Q.Ch)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){var n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);var a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};var je=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Le=["pre","script","style","textarea"],Re={name:"htmlFlow",tokenize:function(e,t,n){var r,o,i,a,u,s=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),p):63===a?(e.consume(a),r=3,s.interrupt?t:M):(0,Q.jv)(a)?(e.consume(a),i=String.fromCharCode(a),o=!0,h):n(a)}function l(o){return 45===o?(e.consume(o),r=2,f):91===o?(e.consume(o),r=5,i="CDATA[",a=0,d):(0,Q.jv)(o)?(e.consume(o),r=4,s.interrupt?t:M):n(o)}function f(r){return 45===r?(e.consume(r),s.interrupt?t:M):n(r)}function d(r){return r===i.charCodeAt(a++)?(e.consume(r),a===i.length?s.interrupt?t:C:d):n(r)}function p(t){return(0,Q.jv)(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(a){return null===a||47===a||62===a||(0,Q.z3)(a)?47!==a&&o&&Le.includes(i.toLowerCase())?(r=1,s.interrupt?t(a):C(a)):je.includes(i.toLowerCase())?(r=6,47===a?(e.consume(a),v):s.interrupt?t(a):C(a)):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(a):o?m(a):g(a)):45===a||(0,Q.H$)(a)?(e.consume(a),i+=String.fromCharCode(a),h):n(a)}function v(r){return 62===r?(e.consume(r),s.interrupt?t:C):n(r)}function g(t){return(0,Q.xz)(t)?(e.consume(t),g):k(t)}function m(t){return 47===t?(e.consume(t),k):58===t||95===t||(0,Q.jv)(t)?(e.consume(t),y):(0,Q.xz)(t)?(e.consume(t),m):k(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,Q.H$)(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),w):(0,Q.xz)(t)?(e.consume(t),b):m(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,_):(0,Q.xz)(t)?(e.consume(t),w):(u=null,x(t))}function _(t){return null===t||(0,Q.Ch)(t)?n(t):t===u?(e.consume(t),S):(e.consume(t),_)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,Q.z3)(t)?b(t):(e.consume(t),x)}function S(e){return 47===e||62===e||(0,Q.xz)(e)?m(e):n(e)}function k(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return(0,Q.xz)(t)?(e.consume(t),E):null===t||(0,Q.Ch)(t)?C(t):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),A):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),j):63===t&&3===r?(e.consume(t),M):93===t&&5===r?(e.consume(t),N):!(0,Q.Ch)(t)||6!==r&&7!==r?null===t||(0,Q.Ch)(t)?I(t):(e.consume(t),C):e.check(Fe,j,I)(t)}function I(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?L(t):(0,Q.Ch)(t)?e.attempt({tokenize:O,partial:!0},T,L)(t):(e.enter("htmlFlowData"),C(t))}function O(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return s.parser.lazy[s.now().line]?n(e):t(e)}}function A(t){return 45===t?(e.consume(t),M):C(t)}function D(t){return 47===t?(e.consume(t),i="",P):C(t)}function P(t){return 62===t&&Le.includes(i.toLowerCase())?(e.consume(t),j):(0,Q.jv)(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),P):C(t)}function N(t){return 93===t?(e.consume(t),M):C(t)}function M(t){return 62===t?(e.consume(t),j):45===t&&2===r?(e.consume(t),M):C(t)}function j(t){return null===t||(0,Q.Ch)(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),j)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Fe={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(oe.w,t,n)}},partial:!0};var Ue={name:"codeFenced",tokenize:function(e,t,n){var r,o=this,i={tokenize:function(e,t,n){var o=0;return(0,J.f)(e,i,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),a(t)}function a(t){return t===r?(e.consume(t),o++,a):o<c?n(t):(e.exit("codeFencedFenceSequence"),(0,J.f)(e,u,"whitespace")(t))}function u(r){return null===r||(0,Q.Ch)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},a={tokenize:function(e,t,n){var r=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},u=this.events[this.events.length-1],s=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,c=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),r=t,l(t)};function l(t){return t===r?(e.consume(t),c++,l):(e.exit("codeFencedFenceSequence"),c<3?n(t):(0,J.f)(e,f,"whitespace")(t))}function f(t){return null===t||(0,Q.Ch)(t)?v(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,Q.z3)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,J.f)(e,p,"whitespace")(t)):96===t&&t===r?n(t):(e.consume(t),d)}function p(t){return null===t||(0,Q.Ch)(t)?v(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||(0,Q.Ch)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(t)):96===t&&t===r?n(t):(e.consume(t),h)}function v(n){return e.exit("codeFencedFence"),o.interrupt?t(n):g(n)}function g(t){return null===t?y(t):(0,Q.Ch)(t)?e.attempt(a,e.attempt(i,y,s?(0,J.f)(e,g,"linePrefix",s+1):g),y)(t):(e.enter("codeFlowValue"),m(t))}function m(t){return null===t||(0,Q.Ch)(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),m)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0};var Be;var ze={name:"characterReference",tokenize:function(e,t,n){var r,o,i=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),u};function u(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,o=Q.H$,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,o=Q.AF,c):(e.enter("characterReferenceValue"),r=7,o=Q.pY,c(t))}function c(u){var s,l,f,d;return 59===u&&a?(s=e.exit("characterReferenceValue"),o===Q.H$&&(l=i.sliceSerialize(s),d="&"+l+";",(Be=Be||document.createElement("i")).innerHTML=d,59===(f=Be.textContent).charCodeAt(f.length-1)&&"semi"!==l||f===d||!f)?n(u):(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):o(u)&&a++<r?(e.consume(u),c):n(u)}}};var Ve={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,Q.sR)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}};var He={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,J.f)(e,t,"linePrefix")}}};var Ge={name:"labelEnd",tokenize:function(e,t,n){var r,o,i=this,a=i.events.length;for(;a--;)if(("labelImage"===i.events[a][1].type||"labelLink"===i.events[a][1].type)&&!i.events[a][1]._balanced){r=i.events[a][1];break}return function(t){if(!r)return n(t);return r._inactive?s(t):(o=i.parser.defined.includes((0,Te.d)(i.sliceSerialize({start:r.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),u)};function u(n){return 40===n?e.attempt(qe,t,o?t:s)(n):91===n?e.attempt(We,t,o?e.attempt(Ze,t,s):s)(n):o?t(n):s(n)}function s(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,o,i,a=e.length,u=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(o=a);var s={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},l={type:"labelText",start:Object.assign({},e[r+u+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",s,t],["enter",c,t]],i=(0,te.V)(i,e.slice(r+1,r+u+3)),i=(0,te.V)(i,[["enter",l,t]]),i=(0,te.V)(i,(0,ge.C)(t.parser.constructs.insideSpan.null,e.slice(r+u+4,o-3),t)),i=(0,te.V)(i,[["exit",l,t],e[o-2],e[o-1],["exit",c,t]]),i=(0,te.V)(i,e.slice(o+1)),i=(0,te.V)(i,[["exit",s,t]]),(0,te.d)(e,r,e.length,i),e},resolveAll:function(e){var t,n=-1;for(;++n<e.length;)"labelImage"!==(t=e[n][1]).type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(n+1,"labelImage"===t.type?4:2),t.type="data",n++);return e}},qe={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),Ie(e,r)};function r(t){return 41===t?a(t):ke(e,o,n,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(t)}function o(t){return(0,Q.z3)(t)?Ie(e,i)(t):a(t)}function i(t){return 34===t||39===t||40===t?Ce(e,Ie(e,a),n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):a(t)}function a(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},We={tokenize:function(e,t,n){var r=this;return function(t){return Ee.call(r,e,o,n,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes((0,Te.d)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}}},Ze={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}};var Ke={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Ge.resolveAll};var $e=n(67230),Xe={name:"attention",tokenize:function(e,t){var n,r=this.parser.constructs.attentionMarkers.null,o=this.previous,i=(0,$e.r)(o);return function(t){return e.enter("attentionSequence"),n=t,a(t)};function a(u){if(u===n)return e.consume(u),a;var s=e.exit("attentionSequence"),c=(0,$e.r)(u),l=!c||2===c&&i||r.includes(u),f=!i||2===i&&c||r.includes(o);return s._open=Boolean(42===n?l:l&&(i||!f)),s._close=Boolean(42===n?f:f&&(c||!l)),t(u)}},resolveAll:function(e,t){var n,r,o,i,a,u,s,c,l=-1;for(;++l<e.length;)if("enter"===e[l][0]&&"attentionSequence"===e[l][1].type&&e[l][1]._close)for(n=l;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[l][1]).charCodeAt(0)){if((e[n][1]._close||e[l][1]._open)&&(e[l][1].end.offset-e[l][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[l][1].end.offset-e[l][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;var f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Ye(f,-u),Ye(d,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},a.end),s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=(0,te.V)(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=(0,te.V)(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),s=(0,te.V)(s,(0,ge.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),s=(0,te.V)(s,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,s=(0,te.V)(s,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,(0,te.d)(e,n-1,l-n+3,s),l=n+s.length-c-2;break}l=-1;for(;++l<e.length;)"attentionSequence"===e[l][1].type&&(e[l][1].type="data");return e}};function Ye(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Je={name:"autolink",tokenize:function(e,t,n){var r=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return(0,Q.jv)(t)?(e.consume(t),i):(0,Q.n9)(t)?s(t):n(t)}function i(e){return 43===e||45===e||46===e||(0,Q.H$)(e)?a(e):s(e)}function a(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,Q.H$)(t))&&r++<32?(e.consume(t),a):s(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),d(t)):null===t||32===t||60===t||(0,Q.Av)(t)?n(t):(e.consume(t),u)}function s(t){return 64===t?(e.consume(t),r=0,c):(0,Q.n9)(t)?(e.consume(t),s):n(t)}function c(e){return(0,Q.H$)(e)?l(e):n(e)}function l(t){return 46===t?(e.consume(t),r=0,c):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",d(t)):f(t)}function f(t){return(45===t||(0,Q.H$)(t))&&r++<63?(e.consume(t),45===t?f:l):n(t)}function d(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};var Qe={name:"htmlText",tokenize:function(e,t,n){var r,o,i,a,u=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),x):63===t?(e.consume(t),w):(0,Q.jv)(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),o="CDATA[",i=0,v):(0,Q.jv)(t)?(e.consume(t),b):n(t)}function l(t){return 45===t?(e.consume(t),f):n(t)}function f(t){return null===t||62===t?n(t):45===t?(e.consume(t),d):p(t)}function d(e){return null===e||62===e?n(e):p(e)}function p(t){return null===t?n(t):45===t?(e.consume(t),h):(0,Q.Ch)(t)?(a=p,N(t)):(e.consume(t),p)}function h(t){return 45===t?(e.consume(t),j):p(t)}function v(t){return t===o.charCodeAt(i++)?(e.consume(t),i===o.length?g:v):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),m):(0,Q.Ch)(t)?(a=g,N(t)):(e.consume(t),g)}function m(t){return 93===t?(e.consume(t),y):g(t)}function y(t){return 62===t?j(t):93===t?(e.consume(t),y):g(t)}function b(t){return null===t||62===t?j(t):(0,Q.Ch)(t)?(a=b,N(t)):(e.consume(t),b)}function w(t){return null===t?n(t):63===t?(e.consume(t),_):(0,Q.Ch)(t)?(a=w,N(t)):(e.consume(t),w)}function _(e){return 62===e?j(e):w(e)}function x(t){return(0,Q.jv)(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||(0,Q.H$)(t)?(e.consume(t),S):k(t)}function k(t){return(0,Q.Ch)(t)?(a=k,N(t)):(0,Q.xz)(t)?(e.consume(t),k):j(t)}function E(t){return 45===t||(0,Q.H$)(t)?(e.consume(t),E):47===t||62===t||(0,Q.z3)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),j):58===t||95===t||(0,Q.jv)(t)?(e.consume(t),I):(0,Q.Ch)(t)?(a=C,N(t)):(0,Q.xz)(t)?(e.consume(t),C):j(t)}function I(t){return 45===t||46===t||58===t||95===t||(0,Q.H$)(t)?(e.consume(t),I):T(t)}function T(t){return 61===t?(e.consume(t),O):(0,Q.Ch)(t)?(a=T,N(t)):(0,Q.xz)(t)?(e.consume(t),T):C(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,A):(0,Q.Ch)(t)?(a=O,N(t)):(0,Q.xz)(t)?(e.consume(t),O):(e.consume(t),r=void 0,P)}function A(t){return t===r?(e.consume(t),D):null===t?n(t):(0,Q.Ch)(t)?(a=A,N(t)):(e.consume(t),A)}function D(e){return 62===e||47===e||(0,Q.z3)(e)?C(e):n(e)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||(0,Q.z3)(t)?C(t):(e.consume(t),P)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,J.f)(e,M,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function M(t){return e.enter("htmlTextData"),a(t)}function j(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};var et={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Ge.resolveAll};var tt={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),r};function r(r){return(0,Q.Ch)(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(r)):n(r)}}};var nt,rt,ot,it,at,ut={name:"codeText",tokenize:function(e,t,n){var r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?n(t):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,Q.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(t))}function s(t){return null===t||32===t||96===t||(0,Q.Ch)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),s)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",s(n))}},resolve:function(e){var t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}t=o-1,r++;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}};var st=(nt={},(0,ye.Z)(nt,42,we),(0,ye.Z)(nt,43,we),(0,ye.Z)(nt,45,we),(0,ye.Z)(nt,48,we),(0,ye.Z)(nt,49,we),(0,ye.Z)(nt,50,we),(0,ye.Z)(nt,51,we),(0,ye.Z)(nt,52,we),(0,ye.Z)(nt,53,we),(0,ye.Z)(nt,54,we),(0,ye.Z)(nt,55,we),(0,ye.Z)(nt,56,we),(0,ye.Z)(nt,57,we),(0,ye.Z)(nt,62,Se),nt),ct=(0,ye.Z)({},91,Oe),lt=(rt={},(0,ye.Z)(rt,-2,De),(0,ye.Z)(rt,-1,De),(0,ye.Z)(rt,32,De),rt),ft=(ot={},(0,ye.Z)(ot,35,Ne),(0,ye.Z)(ot,42,be),(0,ye.Z)(ot,45,[Me,be]),(0,ye.Z)(ot,60,Re),(0,ye.Z)(ot,61,Me),(0,ye.Z)(ot,95,be),(0,ye.Z)(ot,96,Ue),(0,ye.Z)(ot,126,Ue),ot),dt=(it={},(0,ye.Z)(it,38,ze),(0,ye.Z)(it,92,Ve),it),pt=(at={},(0,ye.Z)(at,-5,He),(0,ye.Z)(at,-4,He),(0,ye.Z)(at,-3,He),(0,ye.Z)(at,33,Ke),(0,ye.Z)(at,38,ze),(0,ye.Z)(at,42,Xe),(0,ye.Z)(at,60,[Je,Qe]),(0,ye.Z)(at,91,et),(0,ye.Z)(at,92,[tt,Ve]),(0,ye.Z)(at,93,Ge),(0,ye.Z)(at,95,Xe),(0,ye.Z)(at,96,ut),at),ht={null:[Xe,le]},vt={null:[42,95]},gt={null:[]};var mt=/[\0\t\n\r]/g;var yt,bt=n(88236),wt=n(25266);function _t(e){var t,n="&"+e+";";return(yt=yt||document.createElement("i")).innerHTML=n,(59!==(t=yt.textContent).charCodeAt(t.length-1)||"semi"===e)&&(t!==n&&t)}var xt={}.hasOwnProperty;function St(e){return e&&"object"==typeof e?xt.call(e,"position")||xt.call(e,"type")?Et(e.position):xt.call(e,"start")||xt.call(e,"end")?Et(e):xt.call(e,"line")||xt.call(e,"column")?kt(e):"":""}function kt(e){return Ct(e&&e.line)+":"+Ct(e&&e.column)}function Et(e){return kt(e&&e.start)+"-"+kt(e&&e.end)}function Ct(e){return e&&"number"==typeof e?e:1}var It={}.hasOwnProperty,Tt=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ot({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(oe),autolinkProtocol:T,autolinkEmail:T,atxHeading:s(ee),blockQuote:s($),characterEscape:T,characterReference:T,codeFenced:s(X),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(X,c),codeText:s(Y,c),codeTextData:T,data:T,codeFlowValue:T,definition:s(J),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(Q),hardBreakEscape:s(te),hardBreakTrailing:s(te),htmlFlow:s(ne,c),htmlFlowData:T,htmlText:s(ne,c),htmlTextData:T,image:s(re),label:c,link:s(oe),listItem:s(ae),listItemValue:v,listOrdered:s(ie,h),listUnordered:s(ie),paragraph:s(ue),reference:V,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(ee),strong:s(se),thematicBreak:s(le)},exit:{atxHeading:f(),atxHeadingSequence:k,autolink:f(),autolinkEmail:Z,autolinkProtocol:W,blockQuote:f(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:q,codeFenced:f(b),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:m,codeFlowValue:O,codeIndented:f(w),codeText:f(M),codeTextData:O,data:O,definition:f(),definitionDestinationString:S,definitionLabelString:_,definitionTitleString:x,emphasis:f(),hardBreakEscape:f(D),hardBreakTrailing:f(D),htmlFlow:f(P),htmlFlowData:O,htmlText:f(N),htmlTextData:O,image:f(L),label:F,labelText:R,lineEnding:A,link:f(j),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:H,resourceDestinationString:U,resourceTitleString:B,resource:z,setextHeading:f(I),setextHeadingLineSequence:C,setextHeadingText:E,strong:f(),thematicBreak:f()}},e.mdastExtensions||[]),n={};return r;function r(e){for(var n={type:"root",children:[]},r=[],s=[],f={stack:[n],tokenStack:r,config:t,enter:l,exit:d,buffer:c,resume:p,setData:i,getData:a},h=-1;++h<e.length;){if("listOrdered"===e[h][1].type||"listUnordered"===e[h][1].type)if("enter"===e[h][0])s.push(h);else h=o(e,s.pop(),h)}for(h=-1;++h<e.length;){var v=t[e[h][0]];It.call(v,e[h][1].type)&&v[e[h][1].type].call(Object.assign({sliceSerialize:e[h][2].sliceSerialize},f),e[h][1])}if(r.length>0)throw new Error("Cannot close document, a token (`"+r[r.length-1].type+"`, "+St({start:r[r.length-1].start,end:r[r.length-1].end})+") is still open");for(n.position={start:u(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:u(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)n=t.transforms[h](n)||n;return n}function o(e,t,n){for(var r,o,i,a,u=t-1,s=-1,c=!1;++u<=n;){var l=e[u];if("listUnordered"===l[1].type||"listOrdered"===l[1].type||"blockQuote"===l[1].type?("enter"===l[0]?s++:s--,a=void 0):"lineEndingBlank"===l[1].type?"enter"===l[0]&&(!r||a||s||i||(i=u),a=void 0):"linePrefix"===l[1].type||"listItemValue"===l[1].type||"listItemMarker"===l[1].type||"listItemPrefix"===l[1].type||"listItemPrefixWhitespace"===l[1].type||(a=void 0),!s&&"enter"===l[0]&&"listItemPrefix"===l[1].type||-1===s&&"exit"===l[0]&&("listUnordered"===l[1].type||"listOrdered"===l[1].type)){if(r){var f=u;for(o=void 0;f--;){var d=e[f];if("lineEnding"===d[1].type||"lineEndingBlank"===d[1].type){if("exit"===d[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),d[1].type="lineEnding",o=f}else if("linePrefix"!==d[1].type&&"blockQuotePrefix"!==d[1].type&&"blockQuotePrefixWhitespace"!==d[1].type&&"blockQuoteMarker"!==d[1].type&&"listItemIndent"!==d[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:l[1].end),e.splice(o||u,0,["exit",r,l[2]]),u++,n++}"listItemPrefix"===l[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},l[1].start)},e.splice(u,0,["enter",r,l[2]]),u++,n++,i=void 0,a=!0)}}return e[t][1]._spread=c,n}function i(e,t){n[e]=t}function a(e){return n[e]}function u(e){return{line:e.line,column:e.column,offset:e.offset}}function s(e,t){return n;function n(n){l.call(this,e(n),n),t&&t.call(this,n)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(e,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push(t),e.position={start:u(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),d.call(this,t)}}function d(e){var t=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+St({start:e.start,end:e.end})+"): it’s not open");if(n.type!==e.type)throw new Error("Cannot close `"+e.type+"` ("+St({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+St({start:n.start,end:n.end})+") is open");return t.position.end=u(e.end),t}function p(){return K(this.stack.pop())}function h(){i("expectingFirstListItemValue",!0)}function v(e){a("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))}function g(){var e=this.resume();this.stack[this.stack.length-1].lang=e}function m(){var e=this.resume();this.stack[this.stack.length-1].meta=e}function y(){a("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function b(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function w(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function _(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,Te.d)(this.sliceSerialize(e)).toLowerCase()}function x(){var e=this.resume();this.stack[this.stack.length-1].title=e}function S(){var e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){var t=this.stack[this.stack.length-1];if(!t.depth){var n=this.sliceSerialize(e).length;t.depth=n}}function E(){i("setextHeadingSlurpLineEnding",!0)}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function I(){i("setextHeadingSlurpLineEnding")}function T(e){var t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&"text"===n.type||((n=ce()).position={start:u(e.start)},t.children.push(n)),this.stack.push(n)}function O(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=u(e.end)}function A(e){var n=this.stack[this.stack.length-1];if(a("atHardBreak"))return n.children[n.children.length-1].position.end=u(e.end),void i("atHardBreak");!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(T.call(this,e),O.call(this,e))}function D(){i("atHardBreak",!0)}function P(){var e=this.resume();this.stack[this.stack.length-1].value=e}function N(){var e=this.resume();this.stack[this.stack.length-1].value=e}function M(){var e=this.resume();this.stack[this.stack.length-1].value=e}function j(){var e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function L(){var e=this.stack[this.stack.length-1];a("inReference")?(e.type+="Reference",e.referenceType=a("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label),i("referenceType")}function R(e){var t=this.stack[this.stack.length-2],n=this.sliceSerialize(e);t.label=(0,wt.v)(n),t.identifier=(0,Te.d)(n).toLowerCase()}function F(){var e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];i("inReference",!0),"link"===n.type?n.children=e.children:n.alt=t}function U(){var e=this.resume();this.stack[this.stack.length-1].url=e}function B(){var e=this.resume();this.stack[this.stack.length-1].title=e}function z(){i("inReference")}function V(){i("referenceType","collapsed")}function H(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,Te.d)(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")}function G(e){i("characterReferenceType",e.type)}function q(e){var t,n=this.sliceSerialize(e),r=a("characterReferenceType");r?(t=(0,bt.o)(n,"characterReferenceMarkerNumeric"===r?10:16),i("characterReferenceType")):t=_t(n);var o=this.stack.pop();o.value+=t,o.position.end=u(e.end)}function W(e){O.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Z(e){O.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function $(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Q(){return{type:"emphasis",children:[]}}function ee(){return{type:"heading",depth:void 0,children:[]}}function te(){return{type:"break"}}function ne(){return{type:"html",value:""}}function re(){return{type:"image",title:null,url:"",alt:null}}function oe(){return{type:"link",title:null,url:"",children:[]}}function ie(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ae(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ue(){return{type:"paragraph",children:[]}}function se(){return{type:"strong",children:[]}}function ce(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}(n)(function(e){for(;!ie(e););return e}(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={defined:[],lazy:{},constructs:(0,Y.W)([r].concat(e.extensions||[])),content:n(ee),document:n(ne),flow:n(ce),string:n(fe),text:n(de)};return t;function n(e){return function(n){return me(t,e,n)}}}(n).document().write((i=1,a="",u=!0,function(e,t,n){var r,s,c,l,f,d=[];for(e=a+e.toString(t),c=0,a="",u&&(65279===e.charCodeAt(0)&&c++,u=void 0);c<e.length;){if(mt.lastIndex=c,l=(r=mt.exec(e))&&void 0!==r.index?r.index:e.length,f=e.charCodeAt(l),!r){a=e.slice(c);break}if(10===f&&c===l&&o)d.push(-3),o=void 0;else switch(o&&(d.push(-5),o=void 0),c<l&&(d.push(e.slice(c,l)),i+=l-c),f){case 0:d.push(65533),i++;break;case 9:for(s=4*Math.ceil(i/4),d.push(-2);i++<s;)d.push(-1);break;case 10:d.push(-4),i=1;break;default:o=!0,i=1}c=l+1}return n&&(o&&d.push(-5),a&&d.push(a),d.push(null)),d})(e,t,!0))));var o,i,a,u};function Ot(e,t){for(var n=-1;++n<t.length;){var r=t[n];Array.isArray(r)?Ot(e,r):At(e,r)}return e}function At(e,t){var n;for(n in t)if(It.call(t,n)){var r="canContainEols"===n||"transforms"===n,o=(It.call(e,n)?e[n]:void 0)||(e[n]=r?[]:{}),i=t[n];i&&(r?e[n]=[].concat((0,a.Z)(o),(0,a.Z)(i)):Object.assign(o,i))}}var Dt=function(e){var t=this;Object.assign(this,{Parser:function(n){var r=t.data("settings");return Tt(n,Object.assign({},r,e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}})},Pt=function(e,t,n){var r={type:String(e)};return null!=n||"string"!=typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n)),r},Nt=function(e){if(null==e)return Lt;if("string"==typeof e)return function(e){return jt(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?Mt(e):function(e){return jt(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return jt(e);throw new Error("Expected function, string, or object as test")};function Mt(e){for(var t=[],n=-1;++n<e.length;)t[n]=Nt(e[n]);return jt((function(){for(var e=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++e<t.length;){var i;if((i=t[e]).call.apply(i,[this].concat(r)))return!0}return!1}))}function jt(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function Lt(){return!0}var Rt=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=Nt(t),i=r?-1:1;!function e(a,u,s){var c,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,d=[];if((!t||o(a,u,s[s.length-1]||null))&&false===(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,s)))[0])return d;if(a.children&&"skip"!==d[0])for(l=(r?a.children.length:-1)+i,f=s.concat(a);l>-1&&l<a.children.length;){if(false===(c=e(a.children[l],l,f)())[0])return c;l="number"==typeof c[1]?c[1]:l+i}return d}}(e,null,[])()};var Ft=Bt("start"),Ut=Bt("end");function Bt(e){return function(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}var zt=function(e){if(null==e)return Ht;if("string"==typeof e)return function(e){return Vt(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){var t=[],n=-1;for(;++n<e.length;)t[n]=zt(e[n]);return Vt(r);function r(){for(var e=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++e<t.length;){var i;if((i=t[e]).call.apply(i,[this].concat(r)))return!0}return!1}}(e):function(e){return Vt(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return Vt(e);throw new Error("Expected function, string, or object as test")};function Vt(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function Ht(){return!0}var Gt=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=zt(t),i=r?-1:1;!function e(a,u,s){var c,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,d=[];if((!t||o(a,u,s[s.length-1]||null))&&false===(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,s)))[0])return d;if(a.children&&"skip"!==d[0])for(l=(r?a.children.length:-1)+i,f=s.concat(a);l>-1&&l<a.children.length;){if(false===(c=e(a.children[l],l,f)())[0])return c;l="number"==typeof c[1]?c[1]:l+i}return d}}(e,null,[])()};var qt={}.hasOwnProperty;function Wt(e){var t,n,r,o=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return n=function(e){var t=Zt(e.identifier);t&&!qt.call(o,t)&&(o[t]=e)},"function"==typeof(t="definition")&&"function"!=typeof n&&(r=n,n=t,t=null),Gt(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r),function(e){var t=Zt(e);return t&&qt.call(o,t)?o[t]:null}}function Zt(e){return String(e||"").toUpperCase()}function Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(n),!0).forEach((function(t){(0,ye.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xt={}.hasOwnProperty;function Yt(e,t){var n=t.data||{};return"value"in t&&!(Xt.call(n,"hName")||Xt.call(n,"hProperties")||Xt.call(n,"hChildren"))?e.augment(t,Pt("text",t.value)):e(t,"div",en(e,t))}function Jt(e,t,n){var r,o=t&&t.type;if(!o)throw new Error("Expected node, got `"+t+"`");return("function"==typeof(r=Xt.call(e.handlers,o)?e.handlers[o]:e.passThrough&&e.passThrough.includes(o)?Qt:e.unknownHandler)?r:Yt)(e,t,n)}function Qt(e,t){return"children"in t?$t($t({},t),{},{children:en(e,t)}):t}function en(e,t){var n=[];if("children"in t)for(var r=t.children,o=-1;++o<r.length;){var i=Jt(e,r[o],t);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){var u=i.children[0];u&&"text"===u.type&&(u.value=u.value.replace(/^\s+/,""))}Array.isArray(i)?n.push.apply(n,(0,a.Z)(i)):n.push(i)}}return n}function tn(e,t){return e(t,"hr")}function nn(e,t){var n=[],r=-1;for(t&&n.push(Pt("text","\n"));++r<e.length;)r&&n.push(Pt("text","\n")),n.push(e[r]);return t&&e.length>0&&n.push(Pt("text","\n")),n}function rn(e,t){var n={},r=t.ordered?"ol":"ul",o=en(e,t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<o.length;){var a=o[i];if("element"===a.type&&"li"===a.tagName&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}return e(t,r,n,nn(o,!0))}function on(e,t){var n=e.footnoteOrder,r=String(t.identifier),o=n.indexOf(r),i=String(-1===o?n.push(r):o+1);return e(t,"a",{href:"#fn"+i,className:["footnote-ref"],id:"fnref"+i,role:"doc-noteref"},[e(t.position,"sup",[Pt("text",i)])])}var an=n(82066),un=n.n(an);function sn(e,t){var n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return Pt("text","!["+t.alt+r);var o=en(e,t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Pt("text","["));var a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push(Pt("text",r)),o}function cn(e){var t=e.spread;return null==t?e.children.length>1:t}var ln={blockquote:function(e,t){return e(t,"blockquote",nn(en(e,t),!0))},break:function(e,t){return[e(t,"br"),Pt("text","\n")]},code:function(e,t){var n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);var i=e(t,"code",o,[Pt("text",n)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])},delete:function(e,t){return e(t,"del",en(e,t))},emphasis:function(e,t){return e(t,"em",en(e,t))},footnoteReference:on,footnote:function(e,t){for(var n=e.footnoteById,r=e.footnoteOrder,o=1;o in n;)o++;var i=String(o);return r.push(i),n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},on(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,en(e,t))},html:function(e,t){return e.dangerous?e.augment(t,Pt("raw",t.value)):null},imageReference:function(e,t){var n=e.definition(t.identifier);if(!n)return sn(e,t);var r={src:un()(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){var n={src:un()(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[Pt("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){var n=e.definition(t.identifier);if(!n)return sn(e,t);var r={href:un()(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,en(e,t))},link:function(e,t){var n={href:un()(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,en(e,t))},listItem:function(e,t,n){var r,o=en(e,t),i=n?function(e){var t=e.spread,n=e.children,r=-1;for(;!t&&++r<n.length;)t=cn(n[r]);return Boolean(t)}(n):cn(t),u={},s=[];"boolean"==typeof t.checked&&(o[0]&&"element"===o[0].type&&"p"===o[0].tagName?r=o[0]:(r=e(null,"p",[]),o.unshift(r)),r.children.length>0&&r.children.unshift(Pt("text"," ")),r.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),u.className=["task-list-item"]);for(var c=-1;++c<o.length;){var l=o[c];(i||0!==c||"element"!==l.type||"p"!==l.tagName)&&s.push(Pt("text","\n")),"element"!==l.type||"p"!==l.tagName||i?s.push(l):s.push.apply(s,(0,a.Z)(l.children))}var f=o[o.length-1];return!f||!i&&"tagName"in f&&"p"===f.tagName||s.push(Pt("text","\n")),e(t,"li",u,s)},list:rn,paragraph:function(e,t){return e(t,"p",en(e,t))},root:function(e,t){return e.augment(t,Pt("root",nn(en(e,t))))},strong:function(e,t){return e(t,"strong",en(e,t))},table:function(e,t){for(var n=t.children,r=-1,o=t.align||[],i=[];++r<n.length;){for(var a=n[r].children,u=0===r?"th":"td",s=t.align?o.length:a.length,c=[];s--;){var l=a[s];c[s]=e(l,u,{align:o[s]},l?en(e,l):[])}i[r]=e(n[r],"tr",nn(c,!0))}return e(t,"table",nn([e(i[0].position,"thead",nn([i[0]],!0))].concat(i[1]?e({start:Ft(i[1]),end:Ut(i[i.length-1])},"tbody",nn(i.slice(1),!0)):[]),!0))},text:function(e,t){return e.augment(t,Pt("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))},thematicBreak:tn,toml:fn,yaml:fn,definition:fn,footnoteDefinition:fn};function fn(){return null}function dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(n),!0).forEach((function(t){(0,ye.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hn={}.hasOwnProperty;function vn(e,t){var n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.definition=Wt(e),a.footnoteById=o,a.footnoteOrder=[],a.augment=i,a.handlers=pn(pn({},ln),n.handlers),a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Rt(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(e,"footnoteDefinition",(function(e){var t=String(e.identifier).toUpperCase();hn.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){var n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=pn(pn({},t.properties),n.hProperties)),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){var r="type"in e?e:{position:e};(o=r)&&o.position&&o.position.start&&o.position.start.line&&o.position.start.column&&o.position.end&&o.position.end.line&&o.position.end.column&&(t.position={start:Ft(r),end:Ut(r)})}var o;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function gn(e,t){var n=vn(e,t),r=Jt(n,e,null),o=function(e){for(var t=e.footnoteById,n=e.footnoteOrder,r=-1,o=[];++r<n.length;){var i=t[n[r].toUpperCase()];if(i){var u=String(r+1),s=(0,a.Z)(i.children),c={type:"link",url:"#fnref"+u,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"↩"}]},l=s[s.length-1];l&&"paragraph"===l.type?l.children.push(c):s.push(c),o.push({type:"listItem",data:{hProperties:{id:"fn"+u,role:"doc-endnote"}},children:s,position:i.position})}}return 0===o.length?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},nn([tn(e),rn(e,{type:"list",ordered:!0,children:o})],!0))}(n);return o&&r.children.push(Pt("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var mn=function(e,t){return e&&"run"in e?function(e,t){return function(n,r,o){e.run(gn(n,t),r,(function(e){o(e)}))}}(e,t):function(e){return function(t){return gn(t,e)}}(e)};var yn=n(45697),bn=n.n(yn),wn=function e(t,n,r){(0,u.Z)(this,e),this.property=t,this.normal=n,r&&(this.space=r)};function _n(e,t){for(var n={},r={},o=-1;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new wn(n,r,t)}function xn(e){return e.toLowerCase()}wn.prototype.property={},wn.prototype.normal={},wn.prototype.space=null;var Sn=n(63349),kn=function e(t,n){(0,u.Z)(this,e),this.property=t,this.attribute=n};kn.prototype.space=null,kn.prototype.attribute=null,kn.prototype.property=null,kn.prototype.boolean=!1,kn.prototype.booleanish=!1,kn.prototype.overloadedBoolean=!1,kn.prototype.number=!1,kn.prototype.commaSeparated=!1,kn.prototype.spaceSeparated=!1,kn.prototype.commaOrSpaceSeparated=!1,kn.prototype.mustUseProperty=!1,kn.prototype.defined=!1;var En=0,Cn=Nn(),In=Nn(),Tn=Nn(),On=Nn(),An=Nn(),Dn=Nn(),Pn=Nn();function Nn(){return Math.pow(2,++En)}function Mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var o=(0,p.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var jn=Object.keys(o),Ln=function(e){(0,f.Z)(n,e);var t=Mn(n);function n(e,r,i,a){var s;(0,u.Z)(this,n);var c=-1;for(s=t.call(this,e,r),Rn((0,Sn.Z)(s),"space",a);++c<jn.length;)Rn((0,Sn.Z)(s),jn[c],(i&o[jn[c]])===o[jn[c]]);return s}return n}(kn);function Rn(e,t,n){n&&(e[t]=n)}Ln.prototype.defined=!0;var Fn={}.hasOwnProperty;function Un(e){var t,n,r={},o={};for(t in e.properties)Fn.call(e.properties,t)&&(n=new Ln(t,e.transform(e.attributes,t),e.properties[t],e.space),e.mustUseProperty&&e.mustUseProperty.includes(t)&&(n.mustUseProperty=!0),r[t]=n,o[xn(t)]=t,o[xn(n.attribute)]=t);return new wn(r,o,e.space)}var Bn=Un({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var zn=Un({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Vn(e,t){return t in e?e[t]:t}function Hn(e,t){return Vn(e,t.toLowerCase())}var Gn=Un({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Hn,properties:{xmlns:null,xmlnsXLink:null}}),qn=Un({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:In,ariaAutoComplete:null,ariaBusy:In,ariaChecked:In,ariaColCount:On,ariaColIndex:On,ariaColSpan:On,ariaControls:An,ariaCurrent:null,ariaDescribedBy:An,ariaDetails:null,ariaDisabled:In,ariaDropEffect:An,ariaErrorMessage:null,ariaExpanded:In,ariaFlowTo:An,ariaGrabbed:In,ariaHasPopup:null,ariaHidden:In,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:An,ariaLevel:On,ariaLive:null,ariaModal:In,ariaMultiLine:In,ariaMultiSelectable:In,ariaOrientation:null,ariaOwns:An,ariaPlaceholder:null,ariaPosInSet:On,ariaPressed:In,ariaReadOnly:In,ariaRelevant:null,ariaRequired:In,ariaRoleDescription:An,ariaRowCount:On,ariaRowIndex:On,ariaRowSpan:On,ariaSelected:In,ariaSetSize:On,ariaSort:null,ariaValueMax:On,ariaValueMin:On,ariaValueNow:On,ariaValueText:null,role:null}});var Wn=Un({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Hn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dn,acceptCharset:An,accessKey:An,action:null,allow:null,allowFullScreen:Cn,allowPaymentRequest:Cn,allowUserMedia:Cn,alt:null,as:null,async:Cn,autoCapitalize:null,autoComplete:An,autoFocus:Cn,autoPlay:Cn,capture:Cn,charSet:null,checked:Cn,cite:null,className:An,cols:On,colSpan:null,content:null,contentEditable:In,controls:Cn,controlsList:An,coords:On|Dn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Cn,defer:Cn,dir:null,dirName:null,disabled:Cn,download:Tn,draggable:In,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Cn,formTarget:null,headers:An,height:On,hidden:Cn,high:On,href:null,hrefLang:null,htmlFor:An,httpEquiv:An,id:null,imageSizes:null,imageSrcSet:Dn,inputMode:null,integrity:null,is:null,isMap:Cn,itemId:null,itemProp:An,itemRef:An,itemScope:Cn,itemType:An,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Cn,low:On,manifest:null,max:null,maxLength:On,media:null,method:null,min:null,minLength:On,multiple:Cn,muted:Cn,name:null,nonce:null,noModule:Cn,noValidate:Cn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Cn,optimum:On,pattern:null,ping:An,placeholder:null,playsInline:Cn,poster:null,preload:null,readOnly:Cn,referrerPolicy:null,rel:An,required:Cn,reversed:Cn,rows:On,rowSpan:On,sandbox:An,scope:null,scoped:Cn,seamless:Cn,selected:Cn,shape:null,size:On,sizes:null,slot:null,span:On,spellCheck:In,src:null,srcDoc:null,srcLang:null,srcSet:Dn,start:On,step:null,style:null,tabIndex:On,target:null,title:null,translate:null,type:null,typeMustMatch:Cn,useMap:null,value:In,width:On,wrap:null,align:null,aLink:null,archive:An,axis:null,background:null,bgColor:null,border:On,borderColor:null,bottomMargin:On,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Cn,declare:Cn,event:null,face:null,frame:null,frameBorder:null,hSpace:On,leftMargin:On,link:null,longDesc:null,lowSrc:null,marginHeight:On,marginWidth:On,noResize:Cn,noHref:Cn,noShade:Cn,noWrap:Cn,object:null,profile:null,prompt:null,rev:null,rightMargin:On,rules:null,scheme:null,scrolling:In,standby:null,summary:null,text:null,topMargin:On,valueType:null,version:null,vAlign:null,vLink:null,vSpace:On,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Cn,disableRemotePlayback:Cn,prefix:null,property:null,results:On,security:null,unselectable:null}}),Zn=Un({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Vn,properties:{about:Pn,accentHeight:On,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:On,amplitude:On,arabicForm:null,ascent:On,attributeName:null,attributeType:null,azimuth:On,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:On,by:null,calcMode:null,capHeight:On,className:An,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:On,diffuseConstant:On,direction:null,display:null,dur:null,divisor:On,dominantBaseline:null,download:Cn,dx:null,dy:null,edgeMode:null,editable:null,elevation:On,enableBackground:null,end:null,event:null,exponent:On,externalResourcesRequired:null,fill:null,fillOpacity:On,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dn,g2:Dn,glyphName:Dn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:On,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:On,horizOriginX:On,horizOriginY:On,id:null,ideographic:On,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:On,k:On,k1:On,k2:On,k3:On,k4:On,kernelMatrix:Pn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:On,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:On,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:On,overlineThickness:On,paintOrder:null,panose1:null,path:null,pathLength:On,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:An,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:On,pointsAtY:On,pointsAtZ:On,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Pn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Pn,rev:Pn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Pn,requiredFeatures:Pn,requiredFonts:Pn,requiredFormats:Pn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:On,specularExponent:On,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:On,strikethroughThickness:On,string:null,stroke:null,strokeDashArray:Pn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:On,strokeOpacity:On,strokeWidth:null,style:null,surfaceScale:On,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Pn,tabIndex:On,tableValues:null,target:null,targetX:On,targetY:On,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Pn,to:null,transform:null,u1:null,u2:null,underlinePosition:On,underlineThickness:On,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:On,values:null,vAlphabetic:On,vMathematical:On,vectorEffect:null,vHanging:On,vIdeographic:On,version:null,vertAdvY:On,vertOriginX:On,vertOriginY:On,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:On,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Kn=_n([zn,Bn,Gn,qn,Wn],"html"),$n=_n([zn,Bn,Gn,qn,Zn],"svg"),Xn=function(e){if(null==e)return Jn;if("string"==typeof e)return function(e){return Yn(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){var t=[],n=-1;for(;++n<e.length;)t[n]=Xn(e[n]);return Yn(r);function r(){for(var e=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++e<t.length;){var i;if((i=t[e]).call.apply(i,[this].concat(r)))return!0}return!1}}(e):function(e){return Yn(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return Yn(e);throw new Error("Expected function, string, or object as test")};function Yn(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function Jn(){return!0}var Qn=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=Xn(t),i=r?-1:1;!function e(a,u,s){var c,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,d=[];if((!t||o(a,u,s[s.length-1]||null))&&false===(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,s)))[0])return d;if(a.children&&"skip"!==d[0])for(l=(r?a.children.length:-1)+i,f=s.concat(a);l>-1&&l<a.children.length;){if(false===(c=e(a.children[l],l,f)())[0])return c;l="number"==typeof c[1]?c[1]:l+i}return d}}(e,null,[])()};function er(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return function(t){!function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Qn(e,t,(function(e,t){var r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)}),r)}(t,"element",(function(t,n,r){var o,i=r;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"==typeof n){var u;if(e.unwrapDisallowed&&t.children)(u=i.children).splice.apply(u,[n,1].concat((0,a.Z)(t.children)));else i.children.splice(n,1);return n}}))}}var tr=["http","https","mailto","tel"];var nr=n(80981),rr=/^data[-\w.:]+$/i,or=/-[a-z]/g,ir=/[A-Z]/g;function ar(e,t){var n=xn(t),r=t,o=kn;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&"data"===n.slice(0,4)&&rr.test(t)&&("-"===t.charAt(4)?r=function(e){var t=e.slice(5).replace(or,sr);return"data"+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(or.test(t))return e;"-"!==(t=t.replace(ir,ur)).charAt(0)&&(t="-"+t);return"data"+t}(t),o=Ln),new o(r,t))}function ur(e){return"-"+e.toLowerCase()}function sr(e){return e.charAt(1).toUpperCase()}var cr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var lr=n(72303),fr=n.n(lr),dr={}.hasOwnProperty,pr=new Set(["table","thead","tbody","tfoot","tr"]);function hr(e,t){for(var n,r=[],o=-1;++o<t.children.length;)"element"===(n=t.children[o]).type?r.push(vr(e,n,o,t)):"text"===n.type?"element"===t.type&&pr.has(t.tagName)&&"\n"===n.value||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function vr(e,t,n,r){var o,a=e.options,u=e.schema,s=t.tagName,c={},l=u;if("html"===u.space&&"svg"===s&&(l=$n,e.schema=l),t.properties)for(o in t.properties)dr.call(t.properties,o)&&mr(c,o,t.properties[o],e);"ol"!==s&&"ul"!==s||e.listDepth++;var f=hr(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=u;var d,p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=a.components&&dr.call(a.components,s)?a.components[s]:s,v="string"==typeof h||h===i.Fragment;if(!nr.isValidElementType(h))throw new TypeError("Component for name `".concat(s,"` not defined or is not renderable"));if(c.key=[s,p.start.line,p.start.column,n].join("-"),"a"===s&&a.linkTarget&&(c.target="function"==typeof a.linkTarget?a.linkTarget(String(c.href||""),t.children,"string"==typeof c.title?c.title:null):a.linkTarget),"a"===s&&a.transformLinkUri&&(c.href=a.transformLinkUri(String(c.href||""),t.children,"string"==typeof c.title?c.title:null)),v||"code"!==s||"element"!==r.type||"pre"===r.tagName||(c.inline=!0),v||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&a.transformImageUri&&(c.src=a.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!v&&"li"===s&&"element"===r.type){var g=function(e){var t=-1;for(;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);c.checked=g&&g.properties?Boolean(g.properties.checked):null,c.index=gr(r,t),c.ordered="ol"===r.tagName}return v||"ol"!==s&&"ul"!==s||(c.ordered="ol"===s,c.depth=e.listDepth),"td"!==s&&"th"!==s||(c.align&&(c.style||(c.style={}),c.style.textAlign=c.align,delete c.align),v||(c.isHeader="th"===s)),v||"tr"!==s||"element"!==r.type||(c.isHeader=Boolean("thead"===r.tagName)),a.sourcePos&&(c["data-sourcepos"]=[(d=p).start.line,":",d.start.column,"-",d.end.line,":",d.end.column].map((function(e){return String(e)})).join("")),!v&&a.rawSourcePos&&(c.sourcePosition=t.position),!v&&a.includeElementIndex&&(c.index=gr(r,t),c.siblingCount=gr(r)),v||(c.node=t),f.length>0?i.createElement(h,c,f):i.createElement(h,c)}function gr(e,t){for(var n=-1,r=0;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function mr(e,t,n,r){var o,i,a,u=ar(r.schema,t),s=n;null!=s&&s==s&&(Array.isArray(s)&&(s=u.commaSeparated?(a=i||{},""===(o=s)[o.length-1]&&(o=o.concat("")),o.join((a.padRight?" ":"")+","+(!1===a.padLeft?"":" ")).trim()):function(e){return e.join(" ").trim()}(s)),"style"===u.property&&"string"==typeof s&&(s=function(e){var t={};try{fr()(e,n)}catch(r){}return t;function n(e,n){var r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,yr)]=n}}(s)),u.space&&u.property?e[dr.call(cr,u.property)?cr[u.property]:u.property]=s:u.attribute&&(e[u.attribute]=s))}function yr(e,t){return t.toUpperCase()}var br={}.hasOwnProperty,wr={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function _r(e){for(var t in wr)if(br.call(wr,t)&&br.call(e,t)){var n=wr[t];console.warn("[react-markdown] Warning: please ".concat(n.to?"use `".concat(n.to,"` instead of"):"remove"," `").concat(t,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(n.id,"> for more info)")),delete wr[t]}var r=U().use(Dt).use(e.remarkPlugins||e.plugins||[]).use(mn,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(er,e),o=new O;"string"==typeof e.children?o.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var a=r.runSync(r.parse(o),o);if("root"!==a.type)throw new TypeError("Expected a `root` node");var u=i.createElement(i.Fragment,{},hr({options:e,schema:Kn,listDepth:0},a));return e.className&&(u=i.createElement("div",{className:e.className},u)),u}_r.defaultProps={transformLinkUri:function(e){var t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;var r=t.indexOf(":");if(-1===r)return t;for(var o=-1;++o<tr.length;){var i=tr[o];if(r===i.length&&t.slice(0,i.length).toLowerCase()===i)return t}return-1!==(o=t.indexOf("?"))&&r>o||-1!==(o=t.indexOf("#"))&&r>o?t:"javascript:void(0)"}},_r.propTypes={children:bn().string,className:bn().string,allowElement:bn().func,allowedElements:bn().arrayOf(bn().string),disallowedElements:bn().arrayOf(bn().string),unwrapDisallowed:bn().bool,remarkPlugins:bn().arrayOf(bn().oneOfType([bn().object,bn().func,bn().arrayOf(bn().oneOfType([bn().object,bn().func]))])),rehypePlugins:bn().arrayOf(bn().oneOfType([bn().object,bn().func,bn().arrayOf(bn().oneOfType([bn().object,bn().func]))])),sourcePos:bn().bool,rawSourcePos:bn().bool,skipHtml:bn().bool,includeElementIndex:bn().bool,transformLinkUri:bn().oneOfType([bn().func,bn().bool]),linkTarget:bn().oneOfType([bn().func,bn().string]),transformImageUri:bn().func,components:bn().object};var xr=_r},37807:function(e,t){"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,u=60109,s=60110,c=60112,l=60113,f=60120,d=60115,p=60116,h=60121,v=60122,g=60117,m=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),u=b("react.provider"),s=b("react.context"),c=b("react.forward_ref"),l=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),p=b("react.lazy"),h=b("react.block"),v=b("react.server.block"),g=b("react.fundamental"),m=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case l:case f:return e;default:switch(e=e&&e.$$typeof){case s:case c:case p:case d:case u:return e;default:return t}}case r:return t}}}var _=u,x=n,S=c,k=o,E=p,C=d,I=r,T=a,O=i,A=l;t.ContextConsumer=s,t.ContextProvider=_,t.Element=x,t.ForwardRef=S,t.Fragment=k,t.Lazy=E,t.Memo=C,t.Portal=I,t.Profiler=T,t.StrictMode=O,t.Suspense=A,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return w(e)===s},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===c},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===p},t.isMemo=function(e){return w(e)===d},t.isPortal=function(e){return w(e)===r},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===l},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===m||e===i||e===l||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===u||e.$$typeof===s||e.$$typeof===c||e.$$typeof===g||e.$$typeof===h||e[0]===v)},t.typeOf=w},80981:function(e,t,n){"use strict";e.exports=n(37807)},48093:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(67294),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e,t){return s(e)||u(e,t)||i(e,t)||o()}function o(){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 i(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}function s(e){if(Array.isArray(e))return e}var c=n(1),l=n.n(c),f=n(8),d=n.n(f),p=n(2),h=n(10),v=n.n(h),g=n(3),m=n(6),y=function(e){return e.query||Object(g.a)(e)},b=function(e){if(!e)return null;var t=Object.keys(e);return 0===t.length?null:t.reduce((function(t,n){return t[Object(p.a)(n)]=e[n],t}),{})},w=function(){var e=l.a.useRef(!1);return l.a.useEffect((function(){e.current=!0}),[]),e.current},_=function(e){var t=l.a.useContext(m.a),n=function(){return b(e)||b(t)},o=r(l.a.useState(n),2),i=o[0],a=o[1];return l.a.useEffect((function(){var e=n();v()(i,e)||a(e)}),[e,t]),i},x=function(e){var t=function(){return y(e)},n=r(l.a.useState(t),2),o=n[0],i=n[1];return l.a.useEffect((function(){var e=t();o!==e&&i(e)}),[e]),o},S=function(e,t){var n=function(){return d()(e,t||{},!!t)},o=r(l.a.useState(n),2),i=o[0],a=o[1],u=w();return l.a.useEffect((function(){return u&&a(n()),function(){i.dispose()}}),[e,t]),i},k=function(e){var t=r(l.a.useState(e.matches),2),n=t[0],o=t[1];return l.a.useEffect((function(){var t=function(){o(e.matches)};return e.addListener(t),t(),function(){e.removeListener(t)}}),[e]),n},E=function(e,t,n){var r=_(t),o=x(e);if(!o)throw new Error("Invalid or missing MediaQuery!");var i=S(o,r),a=k(i),u=w();return l.a.useEffect((function(){u&&n&&n(a)}),[a]),a};t.a=E},function(e,t){e.exports=r},function(e,t,n){"use strict";function r(e){return"-"+e.toLowerCase()}function o(e){if(u.hasOwnProperty(e))return u[e];var t=e.replace(i,r);return u[e]=a.test(t)?"-"+t:t}var i=/[A-Z]/g,a=/^ms-/,u={};t.a=o},function(e,t,n){"use strict";var r=n(2),o=n(11),i=function(e){return"not ".concat(e)},a=function(e,t){var n=Object(r.a)(e);return"number"==typeof t&&(t="".concat(t,"px")),!0===t?n:!1===t?i(n):"(".concat(n,": ").concat(t,")")},u=function(e){return e.join(" and ")},s=function(e){var t=[];return Object.keys(o.a.all).forEach((function(n){var r=e[n];null!=r&&t.push(a(n,r))})),u(t)};t.a=s},function(e,t,n){"use strict";e.exports=n(13)},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(1),o=n.n(r).a.createContext();t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(17),i=n(3),a=n(6);n.d(t,"default",(function(){return o.a})),n.d(t,"useMediaQuery",(function(){return r.a})),n.d(t,"toQuery",(function(){return i.a})),n.d(t,"Context",(function(){return a.a}))},function(e,t,n){"use strict";function r(e,t,n){function r(e){l&&l.addListener(e)}function o(e){l&&l.removeListener(e)}function u(e){c.matches=e.matches,c.media=e.media}function s(){l&&l.removeListener(u)}var c=this;if(a&&!n){var l=a.call(window,e);this.matches=l.matches,this.media=l.media,l.addListener(u)}else this.matches=i(e,t),this.media=e;this.addListener=r,this.removeListener=o,this.dispose=s}function o(e,t,n){return new r(e,t,n)}var i=n(9).match,a="undefined"!=typeof window?window.matchMedia:null;e.exports=o},function(e,t,n){"use strict";function r(e,t){return o(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every((function(e){var n=e.feature,r=e.modifier,o=e.value,s=t[n];if(!s)return!1;switch(n){case"orientation":case"scan":return s.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=u(o),s=u(s);break;case"resolution":o=a(o),s=a(s);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=i(o),s=i(s);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,s=parseInt(s,10)||0}switch(r){case"min":return s>=o;case"max":return s<=o;default:return s===o}}));return o&&!n||!o&&n}))}function o(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(s),n=t[1],r=t[2],o=t[3]||"",i={};return i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",o=o.match(/\([^\)]+\)/g)||[],i.expressions=o.map((function(e){var t=e.match(c),n=t[1].toLowerCase().match(l);return{modifier:n[1],feature:n[2],value:t[2]}})),i}))}function i(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function a(e){var t=parseFloat(e);switch(String(e).match(d)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function u(e){var t=parseFloat(e);switch(String(e).match(f)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}t.match=r,t.parse=o;var s=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,c=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,l=/^(?:(min|max)-)?(.+)/,f=/(em|rem|px|cm|mm|in|pt|pc)?$/,d=/(dpi|dpcm|dppx)?$/},function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=n(12),u=n.n(a),s=u.a.oneOfType([u.a.string,u.a.number]),c={orientation:u.a.oneOf(["portrait","landscape"]),scan:u.a.oneOf(["progressive","interlace"]),aspectRatio:u.a.string,deviceAspectRatio:u.a.string,height:s,deviceHeight:s,width:s,deviceWidth:s,color:u.a.bool,colorIndex:u.a.bool,monochrome:u.a.bool,resolution:s},l=o({minAspectRatio:u.a.string,maxAspectRatio:u.a.string,minDeviceAspectRatio:u.a.string,maxDeviceAspectRatio:u.a.string,minHeight:s,maxHeight:s,minDeviceHeight:s,maxDeviceHeight:s,minWidth:s,maxWidth:s,minDeviceWidth:s,maxDeviceWidth:s,minColor:u.a.number,maxColor:u.a.number,minColorIndex:u.a.number,maxColorIndex:u.a.number,minMonochrome:u.a.number,maxMonochrome:u.a.number,minResolution:s,maxResolution:s},c),f={all:u.a.bool,grid:u.a.bool,aural:u.a.bool,braille:u.a.bool,handheld:u.a.bool,print:u.a.bool,projection:u.a.bool,screen:u.a.bool,tty:u.a.bool,tv:u.a.bool,embossed:u.a.bool},d=o(o({},f),l);c.type=Object.keys(f),t.a={all:d,types:f,matchers:c,features:l}},function(e,t,n){var r=n(4);e.exports=n(14)(r.isElement,!0)},function(e,t,n){"use strict";!function(){function e(e){return"string"==typeof e||"function"==typeof e||e===b||e===E||e===_||e===w||e===I||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===O||e.$$typeof===x||e.$$typeof===S||e.$$typeof===C||e.$$typeof===P||e.$$typeof===N||e.$$typeof===M||e.$$typeof===D)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:var n=e.type;switch(n){case k:case E:case b:case _:case w:case I:return n;default:var r=n&&n.$$typeof;switch(r){case S:case C:case A:case O:case x:return r;default:return t}}case y:return t}}}function r(e){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===k}function o(e){return n(e)===E}function i(e){return n(e)===S}function a(e){return n(e)===x}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}function s(e){return n(e)===C}function c(e){return n(e)===b}function l(e){return n(e)===A}function f(e){return n(e)===O}function d(e){return n(e)===y}function p(e){return n(e)===_}function h(e){return n(e)===w}function v(e){return n(e)===I}var g="function"==typeof Symbol&&Symbol.for,m=g?Symbol.for("react.element"):60103,y=g?Symbol.for("react.portal"):60106,b=g?Symbol.for("react.fragment"):60107,w=g?Symbol.for("react.strict_mode"):60108,_=g?Symbol.for("react.profiler"):60114,x=g?Symbol.for("react.provider"):60109,S=g?Symbol.for("react.context"):60110,k=g?Symbol.for("react.async_mode"):60111,E=g?Symbol.for("react.concurrent_mode"):60111,C=g?Symbol.for("react.forward_ref"):60112,I=g?Symbol.for("react.suspense"):60113,T=g?Symbol.for("react.suspense_list"):60120,O=g?Symbol.for("react.memo"):60115,A=g?Symbol.for("react.lazy"):60116,D=g?Symbol.for("react.block"):60121,P=g?Symbol.for("react.fundamental"):60117,N=g?Symbol.for("react.responder"):60118,M=g?Symbol.for("react.scope"):60119,j=k,L=E,R=S,F=x,U=m,B=C,z=b,V=A,H=O,G=y,q=_,W=w,Z=I,K=!1;t.AsyncMode=j,t.ConcurrentMode=L,t.ContextConsumer=R,t.ContextProvider=F,t.Element=U,t.ForwardRef=B,t.Fragment=z,t.Lazy=V,t.Memo=H,t.Portal=G,t.Profiler=q,t.StrictMode=W,t.Suspense=Z,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=u,t.isForwardRef=s,t.isFragment=c,t.isLazy=l,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=h,t.isSuspense=v,t.isValidElementType=e,t.typeOf=n}()},function(e,t,n){"use strict";function r(){return null}var o=n(4),i=n(15),a=n(5),u=n(16),s=Function.call.bind(Object.prototype.hasOwnProperty),c=function(){};c=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},e.exports=function(e,t){function n(e){var t=e&&(I&&e[I]||e[T]);if("function"==typeof t)return t}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){this.message=e,this.stack=""}function d(e){function n(n,i,u,s,l,d,p){if(s=s||O,d=d||u,p!==a){if(t){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("undefined"!=typeof console){var v=s+":"+u;!r[v]&&o<3&&(c("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[v]=!0,o++)}}return null==i[u]?n?new f(null===i[u]?"The "+l+" `"+d+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+l+" `"+d+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(i,u,s,l,d)}var r={},o=0,i=n.bind(null,!1);return i.isRequired=n.bind(null,!0),i}function p(e){function t(t,n,r,o,i,a){var u=t[n];return S(u)!==e?new f("Invalid "+o+" `"+i+"` of type `"+k(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}return d(t)}function h(e){function t(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u))return new f("Invalid "+o+" `"+i+"` of type `"+S(u)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<u.length;s++){var c=e(u,s,r,o,i+"["+s+"]",a);if(c instanceof Error)return c}return null}return d(t)}function v(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||O;return new f("Invalid "+o+" `"+i+"` of type `"+C(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return d(t)}function g(e){function t(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(l(a,e[u]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===k(t)?String(t):t}));return new f("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")}return Array.isArray(e)?d(t):(c(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function m(e){function t(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],c=S(u);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var l in u)if(s(u,l)){var d=e(u,l,r,o,i+"."+l,a);if(d instanceof Error)return d}return null}return d(t)}function y(e){function t(t,n,r,o,i){for(var u=0;u<e.length;u++)if(null==(0,e[u])(t,n,r,o,i,a))return null;return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return c("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(o)+" at index "+n+"."),r}return d(t)}function b(e){function t(t,n,r,o,i){var u=t[n],s=S(u);if("object"!==s)return new f("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var l=e[c];if(l){var d=l(u,c,r,o,i+"."+c,a);if(d)return d}}return null}return d(t)}function w(e){function t(t,n,r,o,u){var s=t[n],c=S(s);if("object"!==c)return new f("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=i({},t[n],e);for(var d in l){var p=e[d];if(!p)return new f("Invalid "+o+" `"+u+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var h=p(s,d,r,o,u+"."+d,a);if(h)return h}return null}return d(t)}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!_(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!_(a[1]))return!1}return!0;default:return!1}}function x(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function S(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":x(t,e)?"symbol":t}function k(e){if(null==e)return""+e;var t=S(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:O}var I="function"==typeof Symbol&&Symbol.iterator,T="@@iterator",O="<<anonymous>>",A={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:d(r),arrayOf:h,element:function(){function t(t,n,r,o,i){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+S(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return d(t)}(),elementType:function(){function e(e,t,n,r,i){var a=e[t];return o.isValidElementType(a)?null:new f("Invalid "+r+" `"+i+"` of type `"+S(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return d(e)}(),instanceOf:v,node:function(){function e(e,t,n,r,o){return _(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return d(e)}(),objectOf:m,oneOf:g,oneOfType:y,shape:b,exact:w};return f.prototype=Error.prototype,A.checkPropTypes=u,A.resetWarningCache=u.resetWarningCache,A.PropTypes=A,A}},function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,u,s=r(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(s[l]=n[l]);if(o){u=o(n);for(var f=0;f<u.length;f++)a.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,t,n){"use strict";function r(e,t,n,r,s){for(var c in e)if(u(e,c)){var l;try{if("function"!=typeof e[c]){var f=Error((r||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw f.name="Invariant Violation",f}l=e[c](t,c,r,n,null,i)}catch(p){l=p}if(!l||l instanceof Error||o((r||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var d=s?s():"";o("Failed "+n+" type: "+l.message+(null!=d?d:""))}}}var o=function(){},i=n(5),a={},u=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(n){}},r.resetWarningCache=function(){a={}},e.exports=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=o(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e){var t=e.children,n=e.device,o=e.onChange,i=r(e,["children","device","onChange"]),u=Object(a.a)(i,n,o);return"function"==typeof t?t(u):u?t:null}t.a=i;var a=n(0)}]))},24839:function(e,t,n){"use strict";var r,o=n(67294),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var s,c=[];function l(){s=e(c.map((function(e){return e.props}))),f.canUseDOM?t(s):n&&(s=n(s))}var f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return s},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=s;return s=void 0,c=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),l()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",u),f}}},67499:function(e,t,n){"use strict";n.d(t,{Z:function(){return We}});for(var r=n(73088),o=n(57492),i={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||119===t?(e.consume(t),i):n(t)}function i(t){return 87===t||119===t?(e.consume(t),a):n(t)}function a(t){return 46===t?(e.consume(t),u):n(t)}function u(e){return null===e||(0,o.Ch)(e)?n(e):t(e)}},partial:!0},a={tokenize:function(e,t,n){var r,i;return a;function a(t){return 38===t?e.check(c,l,u)(t):46===t||95===t?e.check(s,l,u)(t):null===t||(0,o.Av)(t)||(0,o.B8)(t)||45!==t&&(0,o.Xh)(t)?l(t):(e.consume(t),a)}function u(t){return 46===t?(i=r,r=void 0,e.consume(t),a):(95===t&&(r=!0),e.consume(t),a)}function l(e){return i||r?n(e):t(e)}},partial:!0},u={tokenize:function(e,t){var n=0;return r;function r(a){return 38===a?e.check(c,t,o)(a):(40===a&&n++,41===a?e.check(s,i,o)(a):m(a)?t(a):g(a)?e.check(s,t,o)(a):(e.consume(a),r))}function o(t){return e.consume(t),r}function i(e){return--n<0?t(e):o(e)}},partial:!0},s={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(o){return g(o)?(e.consume(o),r):m(o)?t(o):n(o)}},partial:!0},c={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return(0,o.jv)(t)?(e.consume(t),r):59===t?(e.consume(t),i):n(t)}function i(e){return m(e)?t(e):n(e)}},partial:!0},l={tokenize:function(e,t,n){var r=this;return function(t){if(87!==t&&119!==t||!b(r.previous)||x(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(u,o),n),n)(t)};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:b},f={tokenize:function(e,t,n){var r=this;return function(t){if(72!==t&&104!==t||!w(r.previous)||x(r.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),s):n(t)}function s(t){return 84===t||116===t?(e.consume(t),c):n(t)}function c(t){return 80===t||112===t?(e.consume(t),l):n(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),d):n(t)}function d(t){return 47===t?(e.consume(t),p):n(t)}function p(t){return 47===t?(e.consume(t),h):n(t)}function h(t){return null===t||(0,o.Av)(t)||(0,o.B8)(t)||(0,o.Xh)(t)?n(t):e.attempt(a,e.attempt(u,v),n)(t)}function v(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:w},d={tokenize:function(e,t,n){var r,i,a=this;return function(t){if(!y(t)||!_(a.previous)||x(a.events))return n(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(t)};function u(t){return y(t)?(e.consume(t),u):64===t?(e.consume(t),c):n(t)}function c(t){return 46===t?e.check(s,p,l)(t):45===t||95===t?e.check(s,n,f)(t):(0,o.H$)(t)?(!i&&(0,o.pY)(t)&&(i=!0),e.consume(t),c):p(t)}function l(t){return e.consume(t),r=!0,i=void 0,c}function f(t){return e.consume(t),d}function d(t){return 46===t?e.check(s,n,l)(t):c(t)}function p(o){return r&&!i?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:_},p={},h={text:p},v=48;v<123;)p[v]=d,58===++v?v=65:91===v&&(v=97);function g(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function m(e){return null===e||60===e||(0,o.z3)(e)}function y(e){return 43===e||45===e||46===e||95===e||(0,o.H$)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.z3)(e)}function w(e){return null===e||!(0,o.jv)(e)}function _(e){return 47!==e&&w(e)}function x(e){for(var t=e.length,n=!1;t--;){var r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}p[43]=d,p[45]=d,p[46]=d,p[95]=d,p[72]=[d,f],p[104]=[d,f],p[87]=[d,l],p[119]=[d,l];var S=n(96156),k=n(29080),E=n(94827),C=n(96060),I={tokenize:function(e,t,n){var r=this;return(0,E.f)(e,(function(e){var o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function T(e,t,n){for(var r,o=this,i=o.events.length,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);i--;){var u=o.events[i][1];if("labelImage"===u.type){r=u;break}if("gfmFootnoteCall"===u.type||"labelLink"===u.type||"label"===u.type||"image"===u.type||"link"===u.type)break}return function(i){if(!r||!r._balanced)return n(i);var u=(0,C.d)(o.sliceSerialize({start:r.end,end:o.now()}));if(94!==u.charCodeAt(0)||!a.includes(u.slice(1)))return n(i);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)}}function O(e,t){for(var n=e.length;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";var r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;var i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice.apply(e,[n,e.length-n+1].concat(u)),e}function A(e,t,n){var r,i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),u=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(s){var f;return null===s||91===s||u++>999?n(s):93===s?r?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),a.includes((0,C.d)(i.sliceSerialize(f)))?function(n){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(n),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(s):n(s)):n(s):(e.consume(s),(0,o.z3)(s)||(r=!0),92===s?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function D(e,t,n){var r,i,a=this,u=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):n(t)}function l(t){var u;return null===t||91===t||s>999?n(t):93===t?i?(u=e.exit("gfmFootnoteDefinitionLabelString"),r=(0,C.d)(a.sliceSerialize(u)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(t):(0,o.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.Ch)(t)||91===t||93===t||s>999?(e.exit("chunkString"),l(t)):((0,o.z3)(t)||(i=!0),s++,e.consume(t),92===t?d:f)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,f):f(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,E.f)(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return u.includes(r)||u.push(r),t(e)}}function P(e,t,n){return e.check(k.w,t,e.attempt(I,t,n))}function N(e){e.exit("gfmFootnoteDefinition")}var M=n(37037),j=n(67230),L=n(17163);function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.singleTilde,n={tokenize:o,resolveAll:r};return null==t&&(t=!0),{text:(0,S.Z)({},126,n),insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){for(var n=-1;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close)for(var r=n;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";var o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]];(0,M.d)(a,a.length,0,(0,L.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),(0,M.d)(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),(0,M.d)(e,r-1,n-r+3,a),n=r+a.length-2;break}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}function o(e,n,r){var o=this.previous,i=this.events,a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),u(t)};function u(i){var s=(0,j.r)(o);if(126===i)return a>1?r(i):(e.consume(i),a++,u);if(a<2&&!t)return r(i);var c=e.exit("strikethroughSequenceTemporary"),l=(0,j.r)(i);return c._open=!l||2===l&&Boolean(s),c._close=!s||2===s&&Boolean(l),n(i)}}}var F={flow:{null:{tokenize:function(e,t,n){var r,i,a=this,u=[],s=0;return function(t){if(e.enter("table")._align=u,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return s++,e.enter("temporaryTableCellContent"),d(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l}function l(t){return null===t||(0,o.Ch)(t)?function(t){if(null===t)return n(t);return e.exit("tableRow"),e.exit("tableHead"),e.attempt({tokenize:P,partial:!0},h,n)(t)}(t):(0,o.xz)(t)?(e.enter("whitespace"),e.consume(t),f):(r&&(r=void 0,s++),124===t?c(t):(e.enter("temporaryTableCellContent"),d(t)))}function f(t){return(0,o.xz)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function d(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?p:d)}function p(t){return 92===t||124===t?(e.consume(t),d):d(t)}function h(t){return e.check(U,n,(0,E.f)(e,v,"linePrefix",4))(t)}function v(t){return null===t||(0,o.z3)(t)?n(t):(e.enter("tableDelimiterRow"),g(t))}function g(t){return null===t||(0,o.Ch)(t)?_(t):(0,o.xz)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,u.push(null),y):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),u.push("left"),b):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function m(t){return(0,o.xz)(t)?(e.consume(t),m):(e.exit("whitespace"),g(t))}function y(t){return 45===t?(e.consume(t),y):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),u[u.length-1]="left"===u[u.length-1]?"center":"right",w):g(t))}function b(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),i=!0,y):n(t)}function w(t){return null===t||(0,o.Ch)(t)?_(t):(0,o.xz)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function _(t){return e.exit("tableDelimiterRow"),i&&s===u.length?null===t?x(t):e.check(B,x,e.attempt({tokenize:P,partial:!0},(0,E.f)(e,S,"linePrefix",4),x))(t):n(t)}function x(n){return e.exit("table"),t(n)}function S(t){return e.enter("tableBody"),k(t)}function k(t){return e.enter("tableRow"),124===t?C(t):(e.enter("temporaryTableCellContent"),O(t))}function C(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),I}function I(t){return null===t||(0,o.Ch)(t)?function(t){if(e.exit("tableRow"),null===t)return D(t);return e.check(B,D,e.attempt({tokenize:P,partial:!0},(0,E.f)(e,k,"linePrefix",4),D))(t)}(t):(0,o.xz)(t)?(e.enter("whitespace"),e.consume(t),T):124===t?C(t):(e.enter("temporaryTableCellContent"),O(t))}function T(t){return(0,o.xz)(t)?(e.consume(t),T):(e.exit("whitespace"),I(t))}function O(t){return null===t||124===t||(0,o.z3)(t)?(e.exit("temporaryTableCellContent"),I(t)):(e.consume(t),92===t?A:O)}function A(t){return 92===t||124===t?(e.consume(t),O):O(t)}function D(t){return e.exit("tableBody"),x(t)}function P(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r};function r(e){return a.parser.lazy[a.now().line]?n(e):t(e)}}},resolve:function(e,t){var n,r,o,i,a,u,s=-1;for(;++s<e.length;){var c=e[s][1];if(o&&("temporaryTableCellContent"===c.type&&(i=i||s,a=s),("tableCellDivider"===c.type||"tableRow"===c.type)&&a)){var l={type:"tableContent",start:e[i][1].start,end:e[a][1].end},f={type:"chunkText",start:l.start,end:l.end,contentType:"text"};e.splice(i,a-i+1,["enter",l,t],["enter",f,t],["exit",f,t],["exit",l,t]),s-=a-i-3,i=void 0,a=void 0}if("exit"===e[s][0]&&u&&u+1<s&&("tableCellDivider"===c.type||"tableRow"===c.type&&(u+3<s||"whitespace"!==e[u][1].type))){var d={type:r?"tableDelimiter":n?"tableHeader":"tableData",start:e[u][1].start,end:e[s][1].end};e.splice(s+("tableCellDivider"===c.type?1:0),0,["exit",d,t]),e.splice(u,0,["enter",d,t]),u=(s+=2)+1}"tableRow"===c.type&&(o="enter"===e[s][0])&&(u=s+1),"tableDelimiterRow"===c.type&&(r="enter"===e[s][0])&&(u=s+1),"tableHead"===c.type&&(n="enter"===e[s][0])}return e}}}},U={tokenize:function(e,t,n){return function(t){if(45!==t)return n(t);return e.enter("setextUnderline"),r(t)};function r(t){return 45===t?(e.consume(t),r):i(t)}function i(r){return null===r||(0,o.Ch)(r)?t(r):(0,o.xz)(r)?(e.consume(r),i):n(r)}},partial:!0},B={tokenize:function(e,t,n){var r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),4===++r?t:i):null===a||(0,o.z3)(a)?t(a):n(a)}},partial:!0};var z={tokenize:function(e,t,n){var r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.xz)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:H},t,n)):n(r)}}},V={text:(0,S.Z)({},91,z)};function H(e,t,n){var r=this;return(0,E.f)(e,(function(e){var i=r.events[r.events.length-1];return i&&"whitespace"===i[1].type&&null!==e&&!(0,o.z3)(e)?t(e):n(e)}),"whitespace")}function G(e){return(0,r.W)([h,{document:(0,S.Z)({},91,{tokenize:D,continuation:{tokenize:P},exit:N}),text:(t={},(0,S.Z)(t,91,{tokenize:A}),(0,S.Z)(t,93,{add:"after",tokenize:T,resolveTo:O}),t)},R(e),F,V]);var t}function q(e,t){var n,r=String(e),o=0;if("string"!=typeof t)throw new Error("Expected character");for(n=r.indexOf(t);-1!==n;)o++,n=r.indexOf(t,n+t.length);return o}var W=n(85061);var Z=function(e){if(null==e)return X;if("string"==typeof e)return function(e){return $(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?K(e):function(e){return $(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return $(e);throw new Error("Expected function, string, or object as test")};function K(e){for(var t=[],n=-1;++n<e.length;)t[n]=Z(e[n]);return $((function(){for(var e=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++e<t.length;){var i;if((i=t[e]).call.apply(i,[this].concat(r)))return!0}return!1}))}function $(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function X(){return!0}var Y=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=Z(t),i=r?-1:1;!function e(a,u,s){var c,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,d=[];if((!t||o(a,u,s[s.length-1]||null))&&false===(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,s)))[0])return d;if(a.children&&"skip"!==d[0])for(l=(r?a.children.length:-1)+i,f=s.concat(a);l>-1&&l<a.children.length;){if(false===(c=e(a.children[l],l,f)())[0])return c;l="number"==typeof c[1]?c[1]:l+i}return d}}(e,null,[])()};var J={}.hasOwnProperty,Q=function(e,t,n,r){var o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});for(var a=Z(o.ignore||[]),u=function(e){var t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e))for(var n=-1;++n<e.length;)t.push([ee(e[n][0]),te(e[n][1])]);else{var r;for(r in e)J.call(e,r)&&t.push([ee(r),te(e[r])])}return t}(i),s=-1;++s<u.length;)Y(e,"text",c);return e;function c(e,t){for(var n,r=-1;++r<t.length;){var o=t[r];if(a(o,n?n.children.indexOf(o):void 0,n))return;n=o}if(n)return function(e,t){var n,r=u[s][0],o=u[s][1],i=0,a=t.children.indexOf(e),c=[];r.lastIndex=0;var l=r.exec(e.value);for(;l;){n=l.index;var f=o.apply(void 0,(0,W.Z)(l).concat([{index:l.index,input:l.input}]));if("string"==typeof f&&(f=f.length>0?{type:"text",value:f}:void 0),!1!==f){var d;if(i!==n&&c.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(f))(d=c).push.apply(d,(0,W.Z)(f));else f&&c.push(f);i=n+l[0].length}if(!r.global)break;l=r.exec(e.value)}if(void 0===n)c=[e],a--;else{var p;i<e.value.length&&c.push({type:"text",value:e.value.slice(i)}),(p=t.children).splice.apply(p,[a,1].concat((0,W.Z)(c)))}return a+c.length+1}(e,n)}};function ee(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function te(e){return"function"==typeof e?e:function(){return e}}var ne="phrasing",re=["autolink","link","image","label"],oe={transforms:[function(e){Q(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ue],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,se]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:ae,literalAutolinkHttp:ae,literalAutolinkWww:ae},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},ie={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ne,notInConstruct:re},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ne,notInConstruct:re},{character:":",before:"[ps]",after:"\\/",inConstruct:ne,notInConstruct:re}]};function ae(e){this.config.enter.autolinkProtocol.call(this,e)}function ue(e,t,n,r,o){var i="";if(!ce(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){var t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(n))return!1;var a=function(e){var t,n,r,o,i=/[!"&'),.:;<>?\]}]+$/.exec(e);if(i)for(e=e.slice(0,i.index),t=(o=i[0]).indexOf(")"),n=q(e,"("),r=q(e,")");-1!==t&&n>r;)e+=o.slice(0,t+1),t=(o=o.slice(t+1)).indexOf(")"),r++;return[e,o]}(n+r);if(!a[0])return!1;var u={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[u,{type:"text",value:a[1]}]:u}function se(e,t,n,r){return!(!ce(r,!0)||/[_-\d]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ce(e,t){var n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.B8)(n)||(0,o.Xh)(n))&&(!t||47!==n)}var le=n(25266);function fe(e){return e.label||!e.identifier?e.label||"":(0,le.v)(e.identifier)}var de=/\r?\n|\r/g;function pe(e){if(!e._compiled){var t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function he(e,t){return ve(e,t.inConstruct,!0)&&!ve(e,t.notInConstruct,!1)}function ve(e,t,n){if(!t)return n;"string"==typeof t&&(t=[t]);for(var r=-1;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function ge(e,t,n){for(var r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={},u=-1;++u<e.unsafe.length;){var s=e.unsafe[u];if(he(e.stack,s))for(var c=pe(s),l=void 0;l=c.exec(r);){var f="before"in s||Boolean(s.atBreak),d="after"in s,p=l.index+(f?l[1].length:0);o.includes(p)?(a[p].before&&!f&&(a[p].before=!1),a[p].after&&!d&&(a[p].after=!1)):(o.push(p),a[p]={before:f,after:d})}}o.sort(me);var h=n.before?n.before.length:0,v=r.length-(n.after?n.after.length:0);for(u=-1;++u<o.length;){var g=o[u];g<h||g>=v||(g+1<v&&o[u+1]===g+1&&a[g].after&&!a[g+1].before&&!a[g+1].after||o[u-1]===g-1&&a[g].before&&!a[g-1].before&&!a[g-1].after||(h!==g&&i.push(ye(r.slice(h,g),"\\")),h=g,!/[!-/:-@[-`{-~]/.test(r.charAt(g))||n.encode&&n.encode.includes(r.charAt(g))?(i.push("&#x"+r.charCodeAt(g).toString(16).toUpperCase()+";"),h++):i.push("\\")))}return i.push(ye(r.slice(h,v),n.after)),i.join("")}function me(e,t){return e-t}function ye(e,t){for(var n,r=/\\(?=[!-/:-@[-`{-~])/g,o=[],i=[],a=e+t,u=-1,s=0;n=r.exec(a);)o.push(n.index);for(;++u<o.length;)s!==o[u]&&i.push(e.slice(s,o[u])),i.push("\\"),s=o[u];return i.push(e.slice(s)),i.join("")}var be=function(e){if(null==e)return _e;if("string"==typeof e)return function(e){return we(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){var t=[],n=-1;for(;++n<e.length;)t[n]=be(e[n]);return we(r);function r(){for(var e=-1,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(;++e<t.length;){var i;if((i=t[e]).call.apply(i,[this].concat(r)))return!0}return!1}}(e):function(e){return we(t);function t(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}(e);if("function"==typeof e)return we(e);throw new Error("Expected function, string, or object as test")};function we(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Boolean(e.call.apply(e,[this].concat(n)))}}function _e(){return!0}var xe=!1,Se=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);var o=be(t),i=r?-1:1;!function e(a,u,s){var c,l="object"==typeof a&&null!==a?a:{};"string"==typeof l.type&&(c="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0,Object.defineProperty(f,"name",{value:"node ("+l.type+(c?"<"+c+">":"")+")"}));return f;function f(){var c,l,f,d=[];if((!t||o(a,u,s[s.length-1]||null))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[true,e];return[e]}(n(a,s)))[0]===xe)return d;if(a.children&&"skip"!==d[0])for(l=(r?a.children.length:-1)+i,f=s.concat(a);l>-1&&l<a.children.length;){if((c=e(a.children[l],l,f)())[0]===xe)return c;l="number"==typeof c[1]?c[1]:l+i}return d}}(e,null,[])()};var ke=!1,Ee=!1;function Ce(){return e.peek=function(){return"["},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:function(e,t,n){var r=n.enter("footnoteDefinition"),o=n.enter("label"),i=ge(n,fe(e),{before:"^",after:"]"}),a="[^"+i+"]:";o();var u=function(e,t){for(var n,r=[],o=0,i=0;n=de.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}(function(e,t){var n=t.indexStack,r=e.children||[],o=[],i=-1;for(n.push(-1);++i<r.length;){var a=r[i];n[n.length-1]=i,o.push(t.handle(a,e,t,{before:"\n",after:"\n"})),"list"!==a.type&&(t.bulletLastUsed=void 0),i<r.length-1&&o.push(u(a,r[i+1]))}return n.pop(),o.join("");function u(n,r){for(var o=t.join.length;o--;){var i=t.join[o](n,r,e,t);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}(e,n),(function(e,t,n){if(t)return(n?"":"    ")+e;return(n?a:a+" ")+e}));r(),!ke&&i.includes(":")&&(console.warn("[mdast-util-gfm-footnote] Warning: Found a colon in footnote identifier `"+i+"`. GitHub currently crahes on colons in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),ke=!0);Ee||(c=function(){return console.warn("[mdast-util-gfm-footnote] Warning: Found a list in a footnote definition. GitHub currently crahes on lists in footnotes (see <https://github.com/github/cmark-gfm/issues/241> for more info)"),Ee=!0,xe},"function"==typeof(s="list")&&"function"!=typeof c&&(l=c,c=s,s=null),Se(e,s,(function(e,t){var n=t[t.length-1];return c(e,n?n.children.indexOf(e):null,n)}),l));var s,c,l;return u},footnoteReference:e}};function e(e,t,n){var r=n.enter("footnoteReference"),o=n.enter("reference"),i=ge(n,fe(e),{before:"^",after:"]"});return o(),r(),"[^"+i+"]"}}var Ie={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Te={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:Oe}};function Oe(e,t,n){var r=n.enter("emphasis"),o=function(e,t,n){var r=t.indexStack,o=e.children||[],i=[],a=-1,u=n.before;for(r.push(-1);++a<o.length;){var s=o[a],c=void 0;if(r[r.length-1]=a,a+1<o.length){var l=t.handle.handlers[o[a+1].type];l&&l.peek&&(l=l.peek),c=l?l(o[a+1],e,t,{before:"",after:""}).charAt(0):""}else c=n.after;i.length>0&&("\r"===u||"\n"===u)&&"html"===s.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),u=" "),i.push(t.handle(s,e,t,{before:u,after:c})),u=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,n,{before:"~",after:"~"});return r(),"~~"+o+"~~"}function Ae(e){if(!e._compiled){var t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function De(e,t,n){for(var r=e.value||"",o="`",i=-1;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){var a=n.unsafe[i],u=Ae(a),s=void 0;if(a.atBreak)for(;s=u.exec(r);){var c=s.index;10===r.charCodeAt(c)&&13===r.charCodeAt(c-1)&&c--,r=r.slice(0,c)+" "+r.slice(s.index+1)}}return o+r+o}function Pe(e){return e.length}function Ne(e){var t="string"==typeof e?e.charCodeAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Oe.peek=function(){return"~"},De.peek=function(){return"`"};var Me={enter:{table:function(e){var t=e._align;this.enter({type:"table",align:t,children:[]},e),this.setData("inTable",!0)},tableData:Le,tableHeader:Le,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Re));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:je,tableHeader:je,tableRow:je}};function je(e){this.exit(e)}function Le(e){this.enter({type:"tableCell",children:[]},e)}function Re(e,t){return"|"===t?t:e}function Fe(e){var t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n){return u(function(e,t){var n=e.children,r=-1,o=[],i=t.enter("table");for(;++r<n.length;)o[r]=s(n[r],t);return i(),o}(e,n),e.align)},tableRow:function(e,t,n){var r=u([s(e,n)]);return r.slice(0,r.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){var r=De(e,0,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r}}};function a(e,t,n){var r=n.enter("tableCell"),o=n.enter("phrasing"),a=function(e,t,n){var r=t.indexStack,o=e.children||[],i=[],a=-1,u=n.before;for(r.push(-1);++a<o.length;){var s=o[a],c=void 0;if(r[r.length-1]=a,a+1<o.length){var l=t.handle.handlers[o[a+1].type];l&&l.peek&&(l=l.peek),c=l?l(o[a+1],e,t,{before:"",after:""}).charAt(0):""}else c=n.after;i.length>0&&("\r"===u||"\n"===u)&&"html"===s.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),u=" "),i.push(t.handle(s,e,t,{before:u,after:c})),u=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,n,{before:i,after:i});return o(),r(),a}function u(e,t){return function(e,t){for(var n,r,o,i,a,u,s,c,l,f,d=t||{},p=(d.align||[]).concat(),h=d.stringLength||Pe,v=[],g=-1,m=[],y=[],b=[],w=0;++g<e.length;){for(n=-1,r=[],o=[],e[g].length>w&&(w=e[g].length);++n<e[g].length;)a=null==(f=e[g][n])?"":String(f),!1!==d.alignDelimiters&&(i=h(a),o[n]=i,(void 0===b[n]||i>b[n])&&(b[n]=i)),r.push(a);m[g]=r,y[g]=o}if(n=-1,"object"==typeof p&&"length"in p)for(;++n<w;)v[n]=Ne(p[n]);else for(l=Ne(p);++n<w;)v[n]=l;for(n=-1,r=[],o=[];++n<w;)s="",c="",99===(l=v[n])?(s=":",c=":"):108===l?s=":":114===l&&(c=":"),i=!1===d.alignDelimiters?1:Math.max(1,b[n]-s.length-c.length),a=s+"-".repeat(i)+c,!1!==d.alignDelimiters&&((i=s.length+i+c.length)>b[n]&&(b[n]=i),o[n]=i),r[n]=a;m.splice(1,0,r),y.splice(1,0,o),g=-1;for(var _=[];++g<m.length;){for(r=m[g],o=y[g],n=-1,u=[];++n<w;)a=r[n]||"",s="",c="",!1!==d.alignDelimiters&&(i=b[n]-(o[n]||0),114===(l=v[n])?s=" ".repeat(i):99===l?i%2?(s=" ".repeat(i/2+.5),c=" ".repeat(i/2-.5)):c=s=" ".repeat(i/2):c=" ".repeat(i)),!1===d.delimiterStart||n||u.push("|"),!1===d.padding||!1===d.alignDelimiters&&""===a||!1===d.delimiterStart&&!n||u.push(" "),!1!==d.alignDelimiters&&u.push(s),u.push(a),!1!==d.alignDelimiters&&u.push(c),!1!==d.padding&&u.push(" "),!1===d.delimiterEnd&&n===w-1||u.push("|");_.push(!1===d.delimiterEnd?u.join("").replace(/ +$/,""):u.join(""))}return _.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function s(e,t){for(var n=e.children,r=-1,o=[],i=t.enter("tableRow");++r<n.length;)o[r]=a(n[r],0,t);return i(),o}}var Ue=/\r?\n|\r/g;function Be(e,t,n){var r=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);var i=o.length+1;("tab"===r||"mixed"===r&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));var a=n.enter("listItem"),u=function(e,t){for(var n,r=[],o=0,i=0;n=Ue.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}(function(e,t){var n=t.indexStack,r=e.children||[],o=[],i=-1;for(n.push(-1);++i<r.length;){var a=r[i];n[n.length-1]=i,o.push(t.handle(a,e,t,{before:"\n",after:"\n"})),"list"!==a.type&&(t.bulletLastUsed=void 0),i<r.length-1&&o.push(u(a,r[i+1]))}return n.pop(),o.join("");function u(n,r){for(var o=t.join.length;o--;){var i=t.join[o](n,r,e,t);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}}(e,n),(function(e,t,n){if(t)return(n?"":" ".repeat(i))+e;return(n?o:o+" ".repeat(i-o.length))+e}));return a(),u}var ze={exit:{taskListCheckValueChecked:He,taskListCheckValueUnchecked:He,paragraph:function(e){var t,n=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],o=n.children,i=r.children[0],a=-1;if(n&&"listItem"===n.type&&"boolean"==typeof n.checked&&i&&"text"===i.type){for(;++a<o.length;){var u=o[a];if("paragraph"===u.type){t=u;break}}t===r&&(i.value=i.value.slice(1),0===i.value.length?r.children.shift():(i.position.start.column++,i.position.start.offset++,r.position.start=Object.assign({},i.position.start)))}this.exit(e)}}},Ve={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n){var r=e.children[0],o=Be(e,t,n);"boolean"==typeof e.checked&&r&&"paragraph"===r.type&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(t){return t+"["+(e.checked?"x":" ")+"] "})));return o}}};function He(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Ge(){return[oe,{enter:{gfmFootnoteDefinition:function(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)},gfmFootnoteDefinitionLabelString:function(){this.buffer()},gfmFootnoteCall:function(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)},gfmFootnoteCallString:function(){this.buffer()}},exit:{gfmFootnoteDefinition:function(e){this.exit(e)},gfmFootnoteDefinitionLabelString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,C.d)(this.sliceSerialize(e)).toLowerCase()},gfmFootnoteCall:function(e){this.exit(e)},gfmFootnoteCallString:function(e){var t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,C.d)(this.sliceSerialize(e)).toLowerCase()}}},Ie,Me,ze]}function qe(e){return{extensions:[ie,Ce(),Te,Fe(e),Ve]}}function We(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",G(e)),n("fromMarkdownExtensions",Ge()),n("toMarkdownExtensions",qe(e))}},23802:function(e,t,n){"use strict";n.r(t),n.d(t,{EventType:function(){return Ge},IncrementalSource:function(){return qe},MouseInteractions:function(){return We},PLUGIN_NAME:function(){return Pr},Replayer:function(){return hi},ReplayerEvents:function(){return $e},addCustomEvent:function(){return En},canvasMutation:function(){return Kr},freezePage:function(){return Cn},getRecordConsolePlugin:function(){return Nr},getReplayConsolePlugin:function(){return Fr},mirror:function(){return ve},pack:function(){return mr},record:function(){return kn},unpack:function(){return yr},utils:function(){return r}});var r={};n.r(r),n.d(r,{StyleSheetMirror:function(){return Ue},_mirror:function(){return ve},closestElementOfNode:function(){return Se},getBaseDimension:function(){return Me},getNestedRule:function(){return Le},getPositionsAndIndex:function(){return Re},getRootShadowHost:function(){return ze},getShadowHost:function(){return Be},getWindowHeight:function(){return _e},getWindowScroll:function(){return we},getWindowWidth:function(){return xe},hasShadowRoot:function(){return je},hookSetter:function(){return me},inDom:function(){return He},isAncestorRemoved:function(){return Ie},isBlocked:function(){return ke},isIgnored:function(){return Ce},isSerialized:function(){return Ee},isSerializedIframe:function(){return Pe},isSerializedStylesheet:function(){return Ne},iterateResolveTree:function(){return De},legacy_isTouchEvent:function(){return Te},nowTimestamp:function(){return be},on:function(){return pe},patch:function(){return ye},polyfill:function(){return Oe},queueToResolveTrees:function(){return Ae},shadowHostInDom:function(){return Ve},throttle:function(){return ge},uniqueTextMutations:function(){return Fe}});var o={};n.r(o),n.d(o,{default:function(){return Ho}});var i,a=n(10379),u=n(46070),s=n(77608),c=n(6610),l=n(5991);function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ko){return!1}}();return function(){var n,r=(0,s.Z)(e);if(t){var o=(0,s.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}function d(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e){return e.nodeType===e.ELEMENT_NODE}function v(e){var t=null==e?void 0:e.host;return Boolean((null==t?void 0:t.shadowRoot)===e)}function g(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function m(e){try{var t=e.rules||e.cssRules;return t?((n=Array.from(t,y).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),n):null}catch(r){return null}var n}function y(e){var t,n,r;if(function(e){return"styleSheet"in e}(e))try{t=m(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var n=["@import","url(".concat(JSON.stringify(e.href),")")];return""===e.layerName?n.push("layer"):e.layerName&&n.push("layer(".concat(e.layerName,")")),e.supportsText&&n.push("supports(".concat(e.supportsText,")")),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(o){}else if(function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":"))return n=e.cssText,r=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,n.replace(r,"$1\\$2");return t||e.cssText}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(i||(i={}));var b=function(){function e(){(0,c.Z)(this,e),this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return(0,l.Z)(e,[{key:"getId",value:function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}},{key:"getNode",value:function(e){return this.idNodeMap.get(e)||null}},{key:"getIds",value:function(){return Array.from(this.idNodeMap.keys())}},{key:"getMeta",value:function(e){return this.nodeMetaMap.get(e)||null}},{key:"removeNodeFromMap",value:function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))}},{key:"has",value:function(e){return this.idNodeMap.has(e)}},{key:"hasNode",value:function(e){return this.nodeMetaMap.has(e)}},{key:"add",value:function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}},{key:"replace",value:function(e,t){var n=this.getNode(e);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}},{key:"reset",value:function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}]),e}();function w(){return new b}function _(e){var t=e.element,n=e.maskInputOptions,r=e.tagName,o=e.type,i=e.value,a=e.maskInputFn,u=i||"",s=o&&x(o);return(n[r.toLowerCase()]||s&&n[s])&&(u=a?a(u,t):"*".repeat(u.length)),u}function x(e){return e.toLowerCase()}var S="__rrweb_original__";function k(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?x(t):null}function E(e,t){var n,r;try{r=new URL(e,null!=t?t:window.location.href)}catch(i){return null}var o=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!==(n=null==o?void 0:o[1])&&void 0!==n?n:null}var C,I,T=1,O=new RegExp("[^a-z0-9-_:]");function A(){return T++}var D=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,P=/^(?:[a-z+]+:)?\/\//i,N=/^www\..*/i,M=/^(data:)([^,]*),(.*)/i;function j(e,t){return(e||"").replace(D,(function(e,n,r,o,i,a){var u,s=r||i||a,c=n||o||"";if(!s)return e;if(P.test(s)||N.test(s))return"url(".concat(c).concat(s).concat(c,")");if(M.test(s))return"url(".concat(c).concat(s).concat(c,")");if("/"===s[0])return"url(".concat(c).concat((u=t,(u.indexOf("//")>-1?u.split("/").slice(0,3).join("/"):u.split("/")[0]).split("?")[0]+s)).concat(c,")");var l=t.split("/"),f=s.split("/");l.pop();var p,h=d(f);try{for(h.s();!(p=h.n()).done;){var v=p.value;"."!==v&&(".."===v?l.pop():l.push(v))}}catch(g){h.e(g)}finally{h.f()}return"url(".concat(c).concat(l.join("/")).concat(c,")")}))}var L=/^[^ \t\n\r\u000c]+/,R=/^[, \t\n\r\u000c]+/;function F(e,t){if(!t||""===t.trim())return t;var n=e.createElement("a");return n.href=t,n.href}function U(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function B(){var e=document.createElement("a");return e.href="",e.href}function z(e,t,n,r){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?F(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;var n=0;function r(e){var r,o=e.exec(t.substring(n));return o?(r=o[0],n+=r.length,r):""}for(var o=[];r(R),!(n>=t.length);){var i=r(L);if(","===i.slice(-1))i=F(e,i.substring(0,i.length-1)),o.push(i);else{var a="";i=F(e,i);for(var u=!1;;){var s=t.charAt(n);if(""===s){o.push((i+a).trim());break}if(u)")"===s&&(u=!1);else{if(","===s){n+=1,o.push((i+a).trim());break}"("===s&&(u=!0)}a+=s,n+=1}}}return o.join(", ")}(e,r):"style"===n?j(r,B()):"object"===t&&"data"===n?F(e,r):r:F(e,r):r}function V(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function H(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!n&&H(e.parentNode,t,n);for(var r=e.classList.length;r--;){var o=e.classList[r];if(t.test(o))return!0}return!!n&&H(e.parentNode,t,n)}function G(e,t,n,r){try{var o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===o)return!1;if("string"==typeof t){if(r){if(o.closest(".".concat(t)))return!0}else if(o.classList.contains(t))return!0}else if(H(o,t,r))return!0;if(n)if(r){if(o.closest(n))return!0}else if(o.matches(n))return!0}catch(Ko){}return!1}function q(e,t){var n=t.doc,r=t.mirror,o=t.blockClass,a=t.blockSelector,u=t.needsMask,s=t.inlineStylesheet,c=t.maskInputOptions,l=void 0===c?{}:c,f=t.maskTextFn,d=t.maskInputFn,p=t.dataURLOptions,h=void 0===p?{}:p,v=t.inlineImages,g=t.recordCanvas,y=t.keepIframeSrcFn,b=t.newlyAddedElement,w=void 0!==b&&b,E=function(e,t){if(!t.hasNode(e))return;var n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:i.Document,childNodes:[],compatMode:e.compatMode}:{type:i.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:i.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return function(e,t){for(var n,r=t.doc,o=t.blockClass,a=t.blockSelector,u=t.inlineStylesheet,s=t.maskInputOptions,c=void 0===s?{}:s,l=t.maskInputFn,f=t.dataURLOptions,d=void 0===f?{}:f,p=t.inlineImages,h=t.recordCanvas,v=t.keepIframeSrcFn,g=t.newlyAddedElement,y=void 0!==g&&g,b=t.rootId,w=function(e,t,n){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var r=e.classList.length;r--;){var o=e.classList[r];if(t.test(o))return!0}if(n)return e.matches(n)}catch(Ko){}return!1}(e,o,a),E=function(e){if(e instanceof HTMLFormElement)return"form";var t=x(e.tagName);return O.test(t)?"div":t}(e),T={},A=e.attributes.length,D=0;D<A;D++){var P=e.attributes[D];V(E,P.name,P.value)||(T[P.name]=z(r,E,x(P.name),P.value))}if("link"===E&&u){var N=Array.from(r.styleSheets).find((function(t){return t.href===e.href})),M=null;N&&(M=m(N)),M&&(delete T.rel,delete T.href,T._cssText=j(M,N.href))}if("style"===E&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var L=m(e.sheet);L&&(T._cssText=j(L,B()))}if("input"===E||"textarea"===E||"select"===E){var R=e.value,F=e.checked;"radio"!==T.type&&"checkbox"!==T.type&&"submit"!==T.type&&"button"!==T.type&&R?T.value=_({element:e,type:k(e),tagName:E,value:R,maskInputOptions:c,maskInputFn:l}):F&&(T.checked=F)}"option"===E&&(e.selected&&!c.select?T.selected=!0:delete T.selected);if("canvas"===E&&h)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var n=0;n<e.width;n+=50)for(var r=0;r<e.height;r+=50){var o=t.getImageData,i=S in o?o.__rrweb_original__:o;if(new Uint32Array(i.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((function(e){return 0!==e})))return!1}return!0})(e)||(T.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){var H=e.toDataURL(d.type,d.quality),G=document.createElement("canvas");G.width=e.width,G.height=e.height,H!==G.toDataURL(d.type,d.quality)&&(T.rr_dataURL=H)}if("img"===E&&p){C||(C=r.createElement("canvas"),I=C.getContext("2d"));var q=e,W=q.crossOrigin;q.crossOrigin="anonymous";var Z=function e(){q.removeEventListener("load",e);try{C.width=q.naturalWidth,C.height=q.naturalHeight,I.drawImage(q,0,0),T.rr_dataURL=C.toDataURL(d.type,d.quality)}catch(t){console.warn("Cannot inline img src=".concat(q.currentSrc,"! Error: ").concat(t))}W?T.crossOrigin=W:q.removeAttribute("crossorigin")};q.complete&&0!==q.naturalWidth?Z():q.addEventListener("load",Z)}"audio"!==E&&"video"!==E||(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime);y||(e.scrollLeft&&(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(T.rr_scrollTop=e.scrollTop));if(w){var K=e.getBoundingClientRect(),$=K.width,X=K.height;T={class:T.class,rr_width:"".concat($,"px"),rr_height:"".concat(X,"px")}}"iframe"!==E||v(T.src)||(e.contentDocument||(T.rr_src=T.src),delete T.src);try{customElements.get(E)&&(n=!0)}catch(Ko){}return{type:i.Element,tagName:E,attributes:T,childNodes:[],isSVG:U(e)||void 0,needBlock:w,rootId:b,isCustom:n}}(e,{doc:n,blockClass:o,blockSelector:a,inlineStylesheet:s,maskInputOptions:l,maskInputFn:d,dataURLOptions:h,inlineImages:v,recordCanvas:g,keepIframeSrcFn:y,newlyAddedElement:w,rootId:E});case e.TEXT_NODE:return function(e,t){var n,r=t.needsMask,o=t.maskTextFn,a=t.rootId,u=e.parentNode&&e.parentNode.tagName,s=e.textContent,c="STYLE"===u||void 0,l="SCRIPT"===u||void 0;if(c&&s){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(s=m(e.parentNode.sheet))}catch(f){console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(f),e)}s=j(s,B())}l&&(s="SCRIPT_PLACEHOLDER");!c&&!l&&s&&r&&(s=o?o(s,e.parentElement):s.replace(/[\S]/g,"*"));return{type:i.Text,textContent:s||"",isStyle:c,rootId:a}}(e,{needsMask:u,maskTextFn:f,rootId:E});case e.CDATA_SECTION_NODE:return{type:i.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:i.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}function W(e){return null==e?"":e.toLowerCase()}function Z(e,t){var n=t.doc,r=t.mirror,o=t.blockClass,a=t.blockSelector,u=t.maskTextClass,s=t.maskTextSelector,c=t.skipChild,l=void 0!==c&&c,f=t.inlineStylesheet,d=void 0===f||f,p=t.maskInputOptions,m=void 0===p?{}:p,y=t.maskTextFn,b=t.maskInputFn,w=t.slimDOMOptions,_=t.dataURLOptions,x=void 0===_?{}:_,S=t.inlineImages,k=void 0!==S&&S,C=t.recordCanvas,I=void 0!==C&&C,T=t.onSerialize,O=t.onIframeLoad,D=t.iframeLoadTimeout,P=void 0===D?5e3:D,N=t.onStylesheetLoad,M=t.stylesheetLoadTimeout,j=void 0===M?5e3:M,L=t.keepIframeSrcFn,R=void 0===L?function(){return!1}:L,F=t.newlyAddedElement,U=void 0!==F&&F,B=t.needsMask,z=t.preserveWhiteSpace,V=void 0===z||z;!B&&e.childNodes&&(B=G(e,u,s,void 0===B));var H,K=q(e,{doc:n,mirror:r,blockClass:o,blockSelector:a,needsMask:B,inlineStylesheet:d,maskInputOptions:m,maskTextFn:y,maskInputFn:b,dataURLOptions:x,inlineImages:k,recordCanvas:I,keepIframeSrcFn:R,newlyAddedElement:U});if(!K)return console.warn(e,"not serialized"),null;H=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===i.Comment)return!0;if(e.type===i.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===E(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(W(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===W(e.attributes.name)||"icon"===W(e.attributes.rel)||"apple-touch-icon"===W(e.attributes.rel)||"shortcut icon"===W(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&W(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(W(e.attributes.property).match(/^(og|twitter|fb):/)||W(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===W(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===W(e.attributes.name)||"googlebot"===W(e.attributes.name)||"bingbot"===W(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===W(e.attributes.name)||"generator"===W(e.attributes.name)||"framework"===W(e.attributes.name)||"publisher"===W(e.attributes.name)||"progid"===W(e.attributes.name)||W(e.attributes.property).match(/^article:/)||W(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===W(e.attributes.name)||"yandex-verification"===W(e.attributes.name)||"csrf-token"===W(e.attributes.name)||"p:domain_verify"===W(e.attributes.name)||"verify-v1"===W(e.attributes.name)||"verification"===W(e.attributes.name)||"shopify-checkout-api-token"===W(e.attributes.name)))return!0}}return!1}(K,w)&&(V||K.type!==i.Text||K.isStyle||K.textContent.replace(/^\s+|\s+$/gm,"").length)?A():-2;var $=Object.assign(K,{id:H});if(r.add(e,$),-2===H)return null;T&&T(e);var X=!l;if($.type===i.Element){X=X&&!$.needBlock,delete $.needBlock;var Y=e.shadowRoot;Y&&g(Y)&&($.isShadowHost=!0)}if(($.type===i.Document||$.type===i.Element)&&X){w.headWhitespace&&$.type===i.Element&&"head"===$.tagName&&(V=!1);var J={doc:n,mirror:r,blockClass:o,blockSelector:a,needsMask:B,maskTextClass:u,maskTextSelector:s,skipChild:l,inlineStylesheet:d,maskInputOptions:m,maskTextFn:y,maskInputFn:b,slimDOMOptions:w,dataURLOptions:x,inlineImages:k,recordCanvas:I,preserveWhiteSpace:V,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:P,onStylesheetLoad:N,stylesheetLoadTimeout:j,keepIframeSrcFn:R};if($.type===i.Element&&"textarea"===$.tagName&&void 0!==$.attributes.value);else for(var Q=0,ee=Array.from(e.childNodes);Q<ee.length;Q++){var te=Z(ee[Q],J);te&&$.childNodes.push(te)}if(h(e)&&e.shadowRoot)for(var ne=0,re=Array.from(e.shadowRoot.childNodes);ne<re.length;ne++){var oe=Z(re[ne],J);oe&&(g(e.shadowRoot)&&(oe.isShadow=!0),$.childNodes.push(oe))}}return e.parentNode&&v(e.parentNode)&&g(e.parentNode)&&($.isShadow=!0),$.type===i.Element&&"iframe"===$.tagName&&function(e,t,n){var r=e.contentWindow;if(r){var o,i=!1;try{o=r.document.readyState}catch(s){return}if("complete"===o){var a="about:blank";if(r.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var u=setTimeout((function(){i||(t(),i=!0)}),n);e.addEventListener("load",(function(){clearTimeout(u),i=!0,t()}))}}}(e,(function(){var t=e.contentDocument;if(t&&O){var n=Z(t,{doc:t,mirror:r,blockClass:o,blockSelector:a,needsMask:B,maskTextClass:u,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:y,maskInputFn:b,slimDOMOptions:w,dataURLOptions:x,inlineImages:k,recordCanvas:I,preserveWhiteSpace:V,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:P,onStylesheetLoad:N,stylesheetLoadTimeout:j,keepIframeSrcFn:R});n&&O(e,n)}}),P),$.type===i.Element&&"link"===$.tagName&&"string"==typeof $.attributes.rel&&("stylesheet"===$.attributes.rel||"preload"===$.attributes.rel&&"string"==typeof $.attributes.href&&"css"===E($.attributes.href))&&function(e,t,n){var r,o=!1;try{r=e.sheet}catch(a){return}if(!r){var i=setTimeout((function(){o||(t(),o=!0)}),n);e.addEventListener("load",(function(){clearTimeout(i),o=!0,t()}))}}(e,(function(){if(N){var t=Z(e,{doc:n,mirror:r,blockClass:o,blockSelector:a,needsMask:B,maskTextClass:u,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:m,maskTextFn:y,maskInputFn:b,slimDOMOptions:w,dataURLOptions:x,inlineImages:k,recordCanvas:I,preserveWhiteSpace:V,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:P,onStylesheetLoad:N,stylesheetLoadTimeout:j,keepIframeSrcFn:R});t&&N(e,t)}}),j),$}function K(e,t){var n=t||{},r=n.mirror,o=void 0===r?new b:r,i=n.blockClass,a=void 0===i?"rr-block":i,u=n.blockSelector,s=void 0===u?null:u,c=n.maskTextClass,l=void 0===c?"rr-mask":c,f=n.maskTextSelector,d=void 0===f?null:f,p=n.inlineStylesheet,h=void 0===p||p,v=n.inlineImages,g=void 0!==v&&v,m=n.recordCanvas,y=void 0!==m&&m,w=n.maskAllInputs,_=void 0!==w&&w,x=n.maskTextFn,S=n.maskInputFn,k=n.slimDOM,E=void 0!==k&&k,C=n.dataURLOptions,I=n.preserveWhiteSpace,T=n.onSerialize,O=n.onIframeLoad,A=n.iframeLoadTimeout,D=n.onStylesheetLoad,P=n.stylesheetLoadTimeout,N=n.keepIframeSrcFn;return Z(e,{doc:e,mirror:o,blockClass:a,blockSelector:s,maskTextClass:l,maskTextSelector:d,skipChild:!1,inlineStylesheet:h,maskInputOptions:!0===_?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===_?{password:!0}:_,maskTextFn:x,maskInputFn:S,slimDOMOptions:!0===E||"all"===E?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===E,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===E?{}:E,dataURLOptions:C,inlineImages:g,recordCanvas:y,preserveWhiteSpace:I,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:A,onStylesheetLoad:D,stylesheetLoadTimeout:P,keepIframeSrcFn:void 0===N?function(){return!1}:N,newlyAddedElement:!1})}var $=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function X(e){return e?e.replace(/^\s+|\s+$/g,""):""}function Y(e,t){for(var n=e&&"string"==typeof e.type,r=n?e:t,o=0,i=Object.keys(e);o<i.length;o++){var a=e[i[o]];Array.isArray(a)?a.forEach((function(e){Y(e,r)})):a&&"object"==typeof a&&Y(a,r)}return n&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var J={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function Q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ee=/(max|min)-device-(width|height)/,te=new RegExp(ee.source,"g"),ne=/([^\\]):hover/,re=new RegExp(ne.source,"g");function oe(e,t){var n=null==t?void 0:t.stylesWithHoverClass.get(e);if(n)return n;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=-1===o?r+e.length:e.length-o}function i(){var e={line:n,column:r};return function(t){return t.position=new a(e),v(),t}}var a=function e(o){(0,c.Z)(this,e),this.start=o,this.end={line:n,column:r},this.source=t.source};a.prototype.content=e;var u=[];function s(o){var i=new Error("".concat(t.source||"",":").concat(n,":").concat(r,": ").concat(o));if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;u.push(i)}function l(){var e=p();return{type:"stylesheet",stylesheet:{source:t.source,rules:e,parsingErrors:u}}}function f(){return h(/^{\s*/)}function d(){return h(/^}/)}function p(){var t,n=[];for(v(),g(n);e.length&&"}"!==e.charAt(0)&&(t=M()||j());)t&&(n.push(t),g(n));return n}function h(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function v(){h(/^\s*/)}function g(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e=m();)e&&t.push(e),e=m();return t}function m(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return s("End of comment missing");var a=e.slice(2,n-2);return r+=2,o(a),e=e.slice(n),r+=2,t({type:"comment",comment:a})}}function y(){var e=h(/^([^{]+)/);if(e)return X(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function b(){var e=i(),t=h(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){var n=X(t[0]);if(!h(/^:\s*/))return s("property missing ':'");var r=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),o=e({type:"declaration",property:n.replace($,""),value:r?X(r[0]).replace($,""):""});return h(/^[;\s]*/),o}}function w(){var e,t=[];if(!f())return s("missing '{'");for(g(t);e=b();)!1!==e&&(t.push(e),g(t)),e=b();return d()?t:s("missing '}'")}function _(){for(var e,t=[],n=i();e=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),h(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:w()})}function x(){var e=i(),t=h(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=h(/^([-\w]+)\s*/)))return s("@keyframes missing name");var r,o=t[1];if(!f())return s("@keyframes missing '{'");for(var a=g();r=_();)a.push(r),a=a.concat(g());return d()?e({type:"keyframes",name:o,vendor:n,keyframes:a}):s("@keyframes missing '}'")}}function S(){var e=i(),t=h(/^@supports *([^{]+)/);if(t){var n=X(t[1]);if(!f())return s("@supports missing '{'");var r=g().concat(p());return d()?e({type:"supports",supports:n,rules:r}):s("@supports missing '}'")}}function k(){var e=i();if(h(/^@host\s*/)){if(!f())return s("@host missing '{'");var t=g().concat(p());return d()?e({type:"host",rules:t}):s("@host missing '}'")}}function E(){var e=i(),t=h(/^@media *([^{]+)/);if(t){var n=X(t[1]);if(!f())return s("@media missing '{'");var r=g().concat(p());return d()?e({type:"media",media:n,rules:r}):s("@media missing '}'")}}function C(){var e=i(),t=h(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:X(t[1]),media:X(t[2])})}function I(){var e=i();if(h(/^@page */)){var t=y()||[];if(!f())return s("@page missing '{'");for(var n,r=g();n=b();)r.push(n),r=r.concat(g());return d()?e({type:"page",selectors:t,declarations:r}):s("@page missing '}'")}}function T(){var e=i(),t=h(/^@([-\w]+)?document *([^{]+)/);if(t){var n=X(t[1]),r=X(t[2]);if(!f())return s("@document missing '{'");var o=g().concat(p());return d()?e({type:"document",document:r,vendor:n,rules:o}):s("@document missing '}'")}}function O(){var e=i();if(h(/^@font-face\s*/)){if(!f())return s("@font-face missing '{'");for(var t,n=g();t=b();)n.push(t),n=n.concat(g());return d()?e({type:"font-face",declarations:n}):s("@font-face missing '}'")}}var A=N("import"),D=N("charset"),P=N("namespace");function N(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=h(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function M(){if("@"===e[0])return x()||E()||C()||S()||A()||D()||P()||T()||I()||k()||O()}function j(){var e=i(),t=y();return t?(g(),e({type:"rule",selectors:t,declarations:w()})):s("selector missing")}return Y(l())}(e,{silent:!0});if(!r.stylesheet)return e;var o=[],i=[];!function e(t){"selectors"in t&&t.selectors&&t.selectors.forEach((function(e){ne.test(e)&&o.push(e)})),"media"in t&&t.media&&ee.test(t.media)&&i.push(t.media),"rules"in t&&t.rules&&t.rules.forEach(e)}(r.stylesheet);var a=e;if(o.length>0){var u=new RegExp(o.filter((function(e,t){return o.indexOf(e)===t})).sort((function(e,t){return t.length-e.length})).map((function(e){return Q(e)})).join("|"),"g");a=a.replace(u,(function(e){var t=e.replace(re,"$1.\\:hover");return"".concat(e,", ").concat(t)}))}if(i.length>0){var s=new RegExp(i.filter((function(e,t){return i.indexOf(e)===t})).sort((function(e,t){return t.length-e.length})).map((function(e){return Q(e)})).join("|"),"g");a=a.replace(s,(function(e){return e.replace(te,"$1-$2")}))}return null==t||t.stylesWithHoverClass.set(e,a),a}function ie(){return{stylesWithHoverClass:new Map}}function ae(e,t){var n,r=t.doc,o=t.hackCss,u=t.cache;switch(e.type){case i.Document:return r.implementation.createDocument(null,"",null);case i.DocumentType:return r.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case i.Element:var s=function(){var t,i=function(e){var t=J[e.tagName]?J[e.tagName]:e.tagName;return"link"===t&&e.attributes._cssText&&(t="style"),t}(e);e.isSVG?t=r.createElementNS("http://www.w3.org/2000/svg",i):(e.isCustom&&(null===(n=r.defaultView)||void 0===n?void 0:n.customElements)&&!r.defaultView.customElements.get(e.tagName)&&r.defaultView.customElements.define(e.tagName,function(e){(0,a.Z)(n,e);var t=f(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return n}(r.defaultView.HTMLElement)),t=r.createElement(i));var s={};for(var l in e.attributes)if(Object.prototype.hasOwnProperty.call(e.attributes,l)){var d=e.attributes[l];if(("option"!==i||"selected"!==l||!1!==d)&&null!==d)if(!0===d&&(d=""),l.startsWith("rr_"))s[l]=d;else{var p="textarea"===i&&"value"===l,h="style"===i&&"_cssText"===l;if(h&&o&&"string"==typeof d&&(d=oe(d,u)),!p&&!h||"string"!=typeof d)try{if(e.isSVG&&"xlink:href"===l)t.setAttributeNS("http://www.w3.org/1999/xlink",l,d.toString());else if("onload"===l||"onclick"===l||"onmouse"===l.substring(0,7))t.setAttribute("_"+l,d.toString());else{if("meta"===i&&"Content-Security-Policy"===e.attributes["http-equiv"]&&"content"===l){t.setAttribute("csp-content",d.toString());continue}("link"!==i||"preload"!==e.attributes.rel&&"modulepreload"!==e.attributes.rel||"script"!==e.attributes.as)&&("link"===i&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")||("img"===i&&e.attributes.srcset&&e.attributes.rr_dataURL?t.setAttribute("rrweb-original-srcset",e.attributes.srcset):t.setAttribute(l,d.toString())))}}catch(y){}else t.appendChild(r.createTextNode(d)),e.childNodes=[]}}for(var v in s){var g=s[v];if("canvas"===i&&"rr_dataURL"===v)!function(){var e=document.createElement("img");e.onload=function(){var n=t.getContext("2d");n&&n.drawImage(e,0,0,e.width,e.height)},e.src=g.toString(),t.RRNodeType&&(t.rr_dataURL=g.toString())}();else if("img"===i&&"rr_dataURL"===v){var m=t;m.currentSrc.startsWith("data:")||(m.setAttribute("rrweb-original-src",e.attributes.src),m.src=g.toString())}if("rr_width"===v)t.style.width=g.toString();else if("rr_height"===v)t.style.height=g.toString();else if("rr_mediaCurrentTime"===v&&"number"==typeof g)t.currentTime=g;else if("rr_mediaState"===v)switch(g){case"played":t.play().catch((function(e){return console.warn("media playback error",e)}));break;case"paused":t.pause()}}if(e.isShadowHost)if(t.shadowRoot)for(;t.shadowRoot.firstChild;)t.shadowRoot.removeChild(t.shadowRoot.firstChild);else t.attachShadow({mode:"open"});return{v:t}}();if("object"==typeof s)return s.v;case i.Text:return r.createTextNode(e.isStyle&&o?oe(e.textContent,u):e.textContent);case i.CDATA:return r.createCDATASection(e.textContent);case i.Comment:return r.createComment(e.textContent);default:return null}}function ue(e,t){var n=t.doc,r=t.mirror,o=t.skipChild,a=void 0!==o&&o,u=t.hackCss,s=void 0===u||u,c=t.afterAppend,l=t.cache;if(r.has(e.id)){var f=r.getNode(e.id);if(function(e,t){return!(!e||!t||e.type!==t.type)&&(e.type===i.Document?e.compatMode===t.compatMode:e.type===i.DocumentType?e.name===t.name&&e.publicId===t.publicId&&e.systemId===t.systemId:e.type===i.Comment||e.type===i.Text||e.type===i.CDATA?e.textContent===t.textContent:e.type===i.Element&&e.tagName===t.tagName&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes)&&e.isSVG===t.isSVG&&e.needBlock===t.needBlock)}(r.getMeta(f),e))return r.getNode(e.id)}var p=ae(e,{doc:n,hackCss:s,cache:l});if(!p)return null;if(e.rootId&&r.getNode(e.rootId)!==n&&r.replace(e.rootId,n),e.type===i.Document&&(n.close(),n.open(),"BackCompat"===e.compatMode&&e.childNodes&&e.childNodes[0].type!==i.DocumentType&&(e.childNodes[0].type===i.Element&&"xmlns"in e.childNodes[0].attributes&&"http://www.w3.org/1999/xhtml"===e.childNodes[0].attributes.xmlns?n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):n.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),p=n),r.add(p,e),(e.type===i.Document||e.type===i.Element)&&!a){var v,g=d(e.childNodes);try{for(g.s();!(v=g.n()).done;){var m=v.value,y=ue(m,{doc:n,mirror:r,skipChild:!1,hackCss:s,afterAppend:c,cache:l});if(y){if(m.isShadow&&h(p)&&p.shadowRoot)p.shadowRoot.appendChild(y);else if(e.type===i.Document&&m.type==i.Element){var b=y,w=null;b.childNodes.forEach((function(e){"BODY"===e.nodeName&&(w=e)})),w?(b.removeChild(w),p.appendChild(y),b.appendChild(w)):p.appendChild(y)}else p.appendChild(y);c&&c(y,m.id)}else console.warn("Failed to rebuild",m)}}catch(_){g.e(_)}finally{g.f()}}return p}function se(e,t){var n=t.doc,r=t.onVisit,o=t.hackCss,a=void 0===o||o,u=t.afterAppend,s=t.cache,c=t.mirror,l=void 0===c?new b:c,f=ue(e,{doc:n,mirror:l,skipChild:!1,hackCss:a,afterAppend:u,cache:s});return function(e,t){var n,r=d(e.getIds());try{for(r.s();!(n=r.n()).done;){var o=n.value;e.has(o)&&t(e.getNode(o))}}catch(i){r.e(i)}finally{r.f()}}(l,(function(e){r&&r(e),function(e,t){var n=t.getMeta(e);if((null==n?void 0:n.type)===i.Element){var r=e;for(var o in n.attributes)if(Object.prototype.hasOwnProperty.call(n.attributes,o)&&o.startsWith("rr_")){var a=n.attributes[o];"rr_scrollLeft"===o&&(r.scrollLeft=a),"rr_scrollTop"===o&&(r.scrollTop=a)}}}(e,l)})),f}var ce=n(28481),le=n(85061);function fe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r={capture:!0,passive:!0};return n.addEventListener(e,t,r),function(){return n.removeEventListener(e,t,r)}}var he="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",ve={map:{},getId:function(){return console.error(he),-1},getNode:function(){return console.error(he),null},removeNodeFromMap:function(){console.error(he)},has:function(){return console.error(he),!1},reset:function(){console.error(he)}};function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,o=0;return function(){for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];var s=Date.now();o||!1!==n.leading||(o=s);var c=t-(s-o),l=this;c<=0||c>t?(r&&(clearTimeout(r),r=null),o=s,e.apply(l,a)):r||!1===n.trailing||(r=setTimeout((function(){o=!1===n.leading?0:Date.now(),r=null,e.apply(l,a)}),c))}}function me(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,r?n:{set:function(e){var t=this;setTimeout((function(){n.set.call(t,e)}),0),i&&i.set&&i.set.call(this,e)}}),function(){return me(e,t,i||{},!0)}}function ye(e,t,n){try{if(!(t in e))return function(){};var r=e[t],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=o,function(){e[t]=r}}catch(Mn){return function(){}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(ve=new Proxy(ve,{get:function(e,t,n){return"map"===t&&console.error(he),Reflect.get(e,t,n)}}));var be=Date.now;function we(e){var t,n,r,o,i,a,u=e.document;return{left:u.scrollingElement?u.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:(null==u?void 0:u.documentElement.scrollLeft)||(null===(n=null===(t=null==u?void 0:u.body)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===(r=null==u?void 0:u.body)||void 0===r?void 0:r.scrollLeft)||0,top:u.scrollingElement?u.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==u?void 0:u.documentElement.scrollTop)||(null===(i=null===(o=null==u?void 0:u.body)||void 0===o?void 0:o.parentElement)||void 0===i?void 0:i.scrollTop)||(null===(a=null==u?void 0:u.body)||void 0===a?void 0:a.scrollTop)||0}}function _e(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function xe(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Se(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function ke(e,t,n,r){if(!e)return!1;var o=Se(e);if(!o)return!1;try{if("string"==typeof t){if(o.classList.contains(t))return!0;if(r&&null!==o.closest("."+t))return!0}else if(H(o,t,r))return!0}catch(Ko){}if(n){if(o.matches(n))return!0;if(r&&null!==o.closest(n))return!0}return!1}function Ee(e,t){return-1!==t.getId(e)}function Ce(e,t){return-2===t.getId(e)}function Ie(e,t){if(v(e))return!1;var n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||Ie(e.parentNode,t))}function Te(e){return Boolean(e.changedTouches)}function Oe(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0];if(!(0 in n))throw new TypeError("1 argument is required");do{if(e===o)return!0}while(o=o&&o.parentNode);return!1})}function Ae(e){var t,n={},r=function(e,t){var r={value:e,parent:t,children:[]};return n[e.node.id]=r,r},o=[],i=fe(e);try{for(i.s();!(t=i.n()).done;){var a=t.value,u=a.nextId,s=a.parentId;if(u&&u in n){var c=n[u];if(c.parent){var l=c.parent.children.indexOf(c);c.parent.children.splice(l,0,r(a,c.parent))}else{var f=o.indexOf(c);o.splice(f,0,r(a,null))}}else if(s in n){var d=n[s];d.children.push(r(a,d))}else o.push(r(a,null))}}catch(p){i.e(p)}finally{i.f()}return o}function De(e,t){t(e.value);for(var n=e.children.length-1;n>=0;n--)De(e.children[n],t)}function Pe(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Ne(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Me(e,t){var n,r,o=null===(r=null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView)||void 0===r?void 0:r.frameElement;if(!o||o===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};var i=o.getBoundingClientRect(),a=Me(o,t),u=i.height/o.clientHeight;return{x:i.x*a.relativeScale+a.x,y:i.y*a.relativeScale+a.y,relativeScale:u,absoluteScale:a.absoluteScale*u}}function je(e){return Boolean(null==e?void 0:e.shadowRoot)}function Le(e,t){var n=e[t[0]];return 1===t.length?n:Le(n.cssRules[t[1]].cssRules,t.slice(2))}function Re(e){var t=(0,le.Z)(e),n=t.pop();return{positions:t,index:n}}function Fe(e){for(var t=new Set,n=[],r=e.length;r--;){var o=e[r];t.has(o.id)||(n.push(o),t.add(o.id))}return n}/[1-9][0-9]{12}/.test(Date.now().toString())||(be=function(){return(new Date).getTime()});var Ue=function(){function e(){(0,c.Z)(this,e),this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}return(0,l.Z)(e,[{key:"getId",value:function(e){var t;return null!==(t=this.styleIDMap.get(e))&&void 0!==t?t:-1}},{key:"has",value:function(e){return this.styleIDMap.has(e)}},{key:"add",value:function(e,t){return this.has(e)?this.getId(e):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n);var n}},{key:"getStyle",value:function(e){return this.idStyleMap.get(e)||null}},{key:"reset",value:function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}},{key:"generateId",value:function(){return this.id++}}]),e}();function Be(e){var t,n,r=null;return(null===(n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e))||void 0===n?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(r=e.getRootNode().host),r}function ze(e){for(var t,n=e;t=Be(n);)n=t;return n}function Ve(e){var t=e.ownerDocument;if(!t)return!1;var n=ze(e);return t.contains(n)}function He(e){var t=e.ownerDocument;return!!t&&(t.contains(e)||Ve(e))}var Ge=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(Ge||{}),qe=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(qe||{}),We=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(We||{}),Ze=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Ze||{}),Ke=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Ke||{}),$e=function(e){return e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back",e.Destroy="destroy",e}($e||{});function Xe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ye(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Je(e){return"__ln"in e}var Qe,et=function(){function e(){(0,c.Z)(this,e),this.length=0,this.head=null,this.tail=null}return(0,l.Z)(e,[{key:"get",value:function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}},{key:"addNode",value:function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Je(e.previousSibling)){var n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Je(e.nextSibling)&&e.nextSibling.__ln.previous){var r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}},{key:"removeNode",value:function(e){var t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}]),e}(),tt=function(e,t){return"".concat(e,"@").concat(t)},nt=function(){function e(){var t=this;(0,c.Z)(this,e),this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(e){e.forEach(t.processMutation),t.emit()},this.emit=function(){if(!t.frozen&&!t.locked){for(var e=[],n=new Set,r=new et,o=function(e){for(var n=e,r=-2;-2===r;)r=(n=n&&n.nextSibling)&&t.mirror.getId(n);return r},i=function(i){if(i.parentNode&&He(i)&&"TEXTAREA"!==i.parentNode.tagName){var a=v(i.parentNode)?t.mirror.getId(Be(i)):t.mirror.getId(i.parentNode),u=o(i);if(-1===a||-1===u)return r.addNode(i);var s=Z(i,{doc:t.doc,mirror:t.mirror,blockClass:t.blockClass,blockSelector:t.blockSelector,maskTextClass:t.maskTextClass,maskTextSelector:t.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:t.inlineStylesheet,maskInputOptions:t.maskInputOptions,maskTextFn:t.maskTextFn,maskInputFn:t.maskInputFn,slimDOMOptions:t.slimDOMOptions,dataURLOptions:t.dataURLOptions,recordCanvas:t.recordCanvas,inlineImages:t.inlineImages,onSerialize:function(e){Pe(e,t.mirror)&&t.iframeManager.addIframe(e),Ne(e,t.mirror)&&t.stylesheetManager.trackLinkElement(e),je(i)&&t.shadowDomManager.addShadowRoot(i.shadowRoot,t.doc)},onIframeLoad:function(e,n){t.iframeManager.attachIframe(e,n),t.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:function(e,n){t.stylesheetManager.attachLinkElement(e,n)}});s&&(e.push({parentId:a,nextId:u,node:s}),n.add(s.id))}};t.mapRemoves.length;)t.mirror.removeNodeFromMap(t.mapRemoves.shift());var a,u=Xe(t.movedSet);try{for(u.s();!(a=u.n()).done;){var s=a.value;ot(t.removes,s,t.mirror)&&!t.movedSet.has(s.parentNode)||i(s)}}catch(S){u.e(S)}finally{u.f()}var c,l=Xe(t.addedSet);try{for(l.s();!(c=l.n()).done;){var f=c.value;at(t.droppedSet,f)||ot(t.removes,f,t.mirror)?at(t.movedSet,f)?i(f):t.droppedSet.add(f):i(f)}}catch(S){l.e(S)}finally{l.f()}for(var d=null;r.length;){var p=null;if(d){var h=t.mirror.getId(d.value.parentNode),g=o(d.value);-1!==h&&-1!==g&&(p=d)}if(!p)for(var m=r.tail;m;){var y=m;if(m=m.previous,y){var b=t.mirror.getId(y.value.parentNode);if(-1===o(y.value))continue;if(-1!==b){p=y;break}var w=y.value;if(w.parentNode&&w.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var _=w.parentNode.host;if(-1!==t.mirror.getId(_)){p=y;break}}}}if(!p){for(;r.head;)r.removeNode(r.head.value);break}d=p.previous,r.removeNode(p.value),i(p.value)}var x={texts:t.texts.map((function(e){var n=e.node;return"TEXTAREA"===n.parentNode.tagName&&t.genTextAreaValueMutation(n.parentNode),{id:t.mirror.getId(n),value:e.value}})).filter((function(e){return!n.has(e.id)})).filter((function(e){return t.mirror.has(e.id)})),attributes:t.attributes.map((function(e){var n=e.attributes;if("string"==typeof n.style){var r=JSON.stringify(e.styleDiff),o=JSON.stringify(e._unchangedStyles);r.length<n.style.length&&(r+o).split("var(").length===n.style.split("var(").length&&(n.style=e.styleDiff)}return{id:t.mirror.getId(e.node),attributes:n}})).filter((function(e){return!n.has(e.id)})).filter((function(e){return t.mirror.has(e.id)})),removes:t.removes,adds:e};(x.texts.length||x.attributes.length||x.removes.length||x.adds.length)&&(t.texts=[],t.attributes=[],t.attributeMap=new WeakMap,t.removes=[],t.addedSet=new Set,t.movedSet=new Set,t.droppedSet=new Set,t.movedMap={},t.mutationCb(x))}},this.genTextAreaValueMutation=function(e){var n=t.attributeMap.get(e);n||(n={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},t.attributes.push(n),t.attributeMap.set(e,n)),n.attributes.value=Array.from(e.childNodes,(function(e){return e.textContent||""})).join("")},this.processMutation=function(e){if(!Ce(e.target,t.mirror))switch(e.type){case"characterData":var n=e.target.textContent;ke(e.target,t.blockClass,t.blockSelector,!1)||n===e.oldValue||t.texts.push({value:G(e.target,t.maskTextClass,t.maskTextSelector,!0)&&n?t.maskTextFn?t.maskTextFn(n,Se(e.target)):n.replace(/[\S]/g,"*"):n,node:e.target});break;case"attributes":var r=e.target,o=e.attributeName,i=e.target.getAttribute(o);if("value"===o){var a=k(r);i=_({element:r,maskInputOptions:t.maskInputOptions,tagName:r.tagName,type:a,value:i,maskInputFn:t.maskInputFn})}if(ke(e.target,t.blockClass,t.blockSelector,!1)||i===e.oldValue)return;var u=t.attributeMap.get(e.target);if("IFRAME"===r.tagName&&"src"===o&&!t.keepIframeSrcFn(i)){if(r.contentDocument)return;o="rr_src"}if(u||(u={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},t.attributes.push(u),t.attributeMap.set(e.target,u)),"type"===o&&"INPUT"===r.tagName&&"password"===(e.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!V(r.tagName,o)&&(u.attributes[o]=z(t.doc,x(r.tagName),x(o),i),"style"===o)){if(!t.unattachedDoc)try{t.unattachedDoc=document.implementation.createHTMLDocument()}catch(Ko){t.unattachedDoc=t.doc}var s=t.unattachedDoc.createElement("span");e.oldValue&&s.setAttribute("style",e.oldValue);for(var c=0,l=Array.from(r.style);c<l.length;c++){var f=l[c],d=r.style.getPropertyValue(f),p=r.style.getPropertyPriority(f);d!==s.style.getPropertyValue(f)||p!==s.style.getPropertyPriority(f)?u.styleDiff[f]=""===p?d:[d,p]:u._unchangedStyles[f]=[d,p]}for(var h=0,m=Array.from(s.style);h<m.length;h++){var y=m[h];""===r.style.getPropertyValue(y)&&(u.styleDiff[y]=!1)}}break;case"childList":if(ke(e.target,t.blockClass,t.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void t.genTextAreaValueMutation(e.target);e.addedNodes.forEach((function(n){return t.genAdds(n,e.target)})),e.removedNodes.forEach((function(n){var r=t.mirror.getId(n),o=v(e.target)?t.mirror.getId(e.target.host):t.mirror.getId(e.target);ke(e.target,t.blockClass,t.blockSelector,!1)||Ce(n,t.mirror)||!Ee(n,t.mirror)||(t.addedSet.has(n)?(rt(t.addedSet,n),t.droppedSet.add(n)):t.addedSet.has(e.target)&&-1===r||Ie(e.target,t.mirror)||(t.movedSet.has(n)&&t.movedMap[tt(r,o)]?rt(t.movedSet,n):t.removes.push({parentId:o,id:r,isShadow:!(!v(e.target)||!g(e.target))||void 0})),t.mapRemoves.push(n))}))}},this.genAdds=function(e,n){if(!t.processedNodeManager.inOtherBuffer(e,t)&&!t.addedSet.has(e)&&!t.movedSet.has(e)){if(t.mirror.hasNode(e)){if(Ce(e,t.mirror))return;t.movedSet.add(e);var r=null;n&&t.mirror.hasNode(n)&&(r=t.mirror.getId(n)),r&&-1!==r&&(t.movedMap[tt(t.mirror.getId(e),r)]=!0)}else t.addedSet.add(e),t.droppedSet.delete(e);ke(e,t.blockClass,t.blockSelector,!1)||(e.childNodes.forEach((function(e){return t.genAdds(e)})),je(e)&&e.shadowRoot.childNodes.forEach((function(n){t.processedNodeManager.add(n,t),t.genAdds(n,e)})))}}}return(0,l.Z)(e,[{key:"init",value:function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((function(n){t[n]=e[n]}))}},{key:"freeze",value:function(){this.frozen=!0,this.canvasManager.freeze()}},{key:"unfreeze",value:function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}},{key:"isFrozen",value:function(){return this.frozen}},{key:"lock",value:function(){this.locked=!0,this.canvasManager.lock()}},{key:"unlock",value:function(){this.locked=!1,this.canvasManager.unlock(),this.emit()}},{key:"reset",value:function(){this.shadowDomManager.reset(),this.canvasManager.reset()}}]),e}();function rt(e,t){e.delete(t),t.childNodes.forEach((function(t){return rt(e,t)}))}function ot(e,t,n){return 0!==e.length&&it(e,t,n)}function it(e,t,n){var r=t.parentNode;if(!r)return!1;var o=n.getId(r);return!!e.some((function(e){return e.id===o}))||it(e,r,n)}function at(e,t){return 0!==e.size&&ut(e,t)}function ut(e,t){var n=t.parentNode;return!!n&&(!!e.has(n)||ut(e,n))}function st(e){Qe=e}function ct(){Qe=void 0}var lt=function(e){if(!Qe)return e;return function(){try{return e.apply(void 0,arguments)}catch(t){if(Qe&&!0===Qe(t))return;throw t}}};function ft(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var pt=[];function ht(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(Mn){}return e&&e.target}function vt(e,t){var n,r,o=new nt;pt.push(o),o.init(e);var i=window.MutationObserver||window.__rrMutationObserver,a=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");a&&window[a]&&(i=window[a]);var u=new i(lt(o.processMutations.bind(o)));return u.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),u}function gt(e){var t=e.mousemoveCb,n=e.sampling,r=e.doc,o=e.mirror;if(!1===n.mousemove)return function(){};var i,a="number"==typeof n.mousemove?n.mousemove:50,u="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,s=[],c=ge(lt((function(e){var n=Date.now()-i;t(s.map((function(e){return e.timeOffset-=n,e})),e),s=[],i=null})),u),l=lt(ge(lt((function(e){var t=ht(e),n=Te(e)?e.changedTouches[0]:e,r=n.clientX,a=n.clientY;i||(i=be()),s.push({x:r,y:a,id:o.getId(t),timeOffset:be()-i}),c("undefined"!=typeof DragEvent&&e instanceof DragEvent?qe.Drag:e instanceof MouseEvent?qe.MouseMove:qe.TouchMove)})),a,{trailing:!1})),f=[pe("mousemove",l,r),pe("touchmove",l,r),pe("drag",l,r)];return lt((function(){f.forEach((function(e){return e()}))}))}function mt(e){var t=e.mouseInteractionCb,n=e.doc,r=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;if(!1===a.mouseInteraction)return function(){};var u=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,s=[],c=null;return Object.keys(We).filter((function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==u[e]})).forEach((function(e){var a=x(e),u=function(e){return function(n){var a=ht(n);if(!ke(a,o,i,!0)){var u=null,s=e;if("pointerType"in n){switch(n.pointerType){case"mouse":u=Ze.Mouse;break;case"touch":u=Ze.Touch;break;case"pen":u=Ze.Pen}u===Ze.Touch?We[e]===We.MouseDown?s="TouchStart":We[e]===We.MouseUp&&(s="TouchEnd"):Ze.Pen}else Te(n)&&(u=Ze.Touch);null!==u?(c=u,(s.startsWith("Touch")&&u===Ze.Touch||s.startsWith("Mouse")&&u===Ze.Mouse)&&(u=null)):We[e]===We.Click&&(u=c,c=null);var l=Te(n)?n.changedTouches[0]:n;if(l){var f=r.getId(a),d=l.clientX,p=l.clientY;lt(t)(Object.assign({type:We[s],id:f,x:d,y:p},null!==u&&{pointerType:u}))}}}}(e);if(window.PointerEvent)switch(We[e]){case We.MouseDown:case We.MouseUp:a=a.replace("mouse","pointer");break;case We.TouchStart:case We.TouchEnd:return}s.push(pe(a,u,n))})),lt((function(){s.forEach((function(e){return e()}))}))}function yt(e){var t=e.scrollCb,n=e.doc,r=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;return pe("scroll",lt(ge(lt((function(e){var a=ht(e);if(a&&!ke(a,o,i,!0)){var u=r.getId(a);if(a===n&&n.defaultView){var s=we(n.defaultView);t({id:u,x:s.left,y:s.top})}else t({id:u,x:a.scrollLeft,y:a.scrollTop})}})),a.scroll||100)),n)}function bt(e,t){var n=e.viewportResizeCb,r=t.win,o=-1,i=-1;return pe("resize",lt(ge(lt((function(){var e=_e(),t=xe();o===e&&i===t||(n({width:Number(t),height:Number(e)}),o=e,i=t)})),200)),r)}var wt=["INPUT","TEXTAREA","SELECT"],_t=new WeakMap;function xt(e){var t=e.inputCb,n=e.doc,r=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.ignoreClass,u=e.ignoreSelector,s=e.maskInputOptions,c=e.maskInputFn,l=e.sampling,f=e.userTriggeredOnInput;function d(e){var t=ht(e),r=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=t.parentElement),t&&l&&!(wt.indexOf(l)<0)&&!ke(t,o,i,!0)&&!(t.classList.contains(a)||u&&t.matches(u))){var d=t.value,h=!1,v=k(t)||"";"radio"===v||"checkbox"===v?h=t.checked:(s[l.toLowerCase()]||s[v])&&(d=_({element:t,maskInputOptions:s,tagName:l,type:v,value:d,maskInputFn:c})),p(t,f?{text:d,isChecked:h,userTriggered:r}:{text:d,isChecked:h});var g=t.name;"radio"===v&&g&&h&&n.querySelectorAll('input[type="radio"][name="'.concat(g,'"]')).forEach((function(e){if(e!==t){var n=e.value;p(e,f?{text:n,isChecked:!h,userTriggered:!1}:{text:n,isChecked:!h})}}))}}function p(e,n){var o=_t.get(e);if(!o||o.text!==n.text||o.isChecked!==n.isChecked){_t.set(e,n);var i=r.getId(e);lt(t)(Object.assign(Object.assign({},n),{id:i}))}}var h=("last"===l.input?["change"]:["input","change"]).map((function(e){return pe(e,lt(d),n)})),v=n.defaultView;if(!v)return function(){h.forEach((function(e){return e()}))};var g=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),m=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return g&&g.set&&h.push.apply(h,(0,le.Z)(m.map((function(e){return me(e[0],e[1],{set:function(){lt(d)({target:this,isTrusted:!1})}},!1,v)})))),lt((function(){h.forEach((function(e){return e()}))}))}function St(e){return function(e,t){if(Mt("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Mt("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Mt("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Mt("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){var n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){var r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function kt(e,t,n){var r,o;return e?(e.ownerNode?r=t.getId(e.ownerNode):o=n.getId(e),{styleId:o,id:r}):{}}function Et(e,t){var n=e.styleSheetRuleCb,r=e.mirror,o=e.stylesheetManager,i=t.win;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return function(){};var a=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,2),u=a[0],s=a[1],c=kt(t,r,o.styleMirror),l=c.id,f=c.styleId;return(l&&-1!==l||f&&-1!==f)&&n({id:l,styleId:f,adds:[{rule:u,index:s}]}),e.apply(t,i)}))});var u,s,c=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,1)[0],u=kt(t,r,o.styleMirror),s=u.id,c=u.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,removes:[{index:a}]}),e.apply(t,i)}))}),i.CSSStyleSheet.prototype.replace&&(u=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(u,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,1)[0],u=kt(t,r,o.styleMirror),s=u.id,c=u.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,replace:a}),e.apply(t,i)}))})),i.CSSStyleSheet.prototype.replaceSync&&(s=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(s,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,1)[0],u=kt(t,r,o.styleMirror),s=u.id,c=u.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,replaceSync:a}),e.apply(t,i)}))}));var l={};jt("CSSGroupingRule")?l.CSSGroupingRule=i.CSSGroupingRule:(jt("CSSMediaRule")&&(l.CSSMediaRule=i.CSSMediaRule),jt("CSSConditionRule")&&(l.CSSConditionRule=i.CSSConditionRule),jt("CSSSupportsRule")&&(l.CSSSupportsRule=i.CSSSupportsRule));var f={};return Object.entries(l).forEach((function(e){var t=(0,ce.Z)(e,2),i=t[0],a=t[1];f[i]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(f[i].insertRule,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,2),u=a[0],s=a[1],c=kt(t.parentStyleSheet,r,o.styleMirror),l=c.id,f=c.styleId;return(l&&-1!==l||f&&-1!==f)&&n({id:l,styleId:f,adds:[{rule:u,index:[].concat((0,le.Z)(St(t)),[s||0])}]}),e.apply(t,i)}))}),a.prototype.deleteRule=new Proxy(f[i].deleteRule,{apply:lt((function(e,t,i){var a=(0,ce.Z)(i,1)[0],u=kt(t.parentStyleSheet,r,o.styleMirror),s=u.id,c=u.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,removes:[{index:[].concat((0,le.Z)(St(t)),[a])}]}),e.apply(t,i)}))})})),lt((function(){i.CSSStyleSheet.prototype.insertRule=a,i.CSSStyleSheet.prototype.deleteRule=c,u&&(i.CSSStyleSheet.prototype.replace=u),s&&(i.CSSStyleSheet.prototype.replaceSync=s),Object.entries(l).forEach((function(e){var t=(0,ce.Z)(e,2),n=t[0],r=t[1];r.prototype.insertRule=f[n].insertRule,r.prototype.deleteRule=f[n].deleteRule}))}))}function Ct(e,t){var n,r,o,i=e.mirror,a=e.stylesheetManager,u=null;u="#document"===t.nodeName?i.getId(t):i.getId(t.host);var s="#document"===t.nodeName?null===(n=t.defaultView)||void 0===n?void 0:n.Document:null===(o=null===(r=t.ownerDocument)||void 0===r?void 0:r.defaultView)||void 0===o?void 0:o.ShadowRoot,c=(null==s?void 0:s.prototype)?Object.getOwnPropertyDescriptor(null==s?void 0:s.prototype,"adoptedStyleSheets"):void 0;return null!==u&&-1!==u&&s&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null===(e=c.get)||void 0===e?void 0:e.call(this)},set:function(e){var t,n=null===(t=c.set)||void 0===t?void 0:t.call(this,e);if(null!==u&&-1!==u)try{a.adoptStyleSheets(e,u)}catch(Ko){}return n}}),lt((function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))):function(){}}function It(e,t){var n=e.styleDeclarationCb,r=e.mirror,o=e.ignoreCSSAttributes,i=e.stylesheetManager,a=t.win,u=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(u,{apply:lt((function(e,t,a){var s,c=(0,ce.Z)(a,3),l=c[0],f=c[1],d=c[2];if(o.has(l))return u.apply(t,[l,f,d]);var p=kt(null===(s=t.parentRule)||void 0===s?void 0:s.parentStyleSheet,r,i.styleMirror),h=p.id,v=p.styleId;return(h&&-1!==h||v&&-1!==v)&&n({id:h,styleId:v,set:{property:l,value:f,priority:d},index:St(t.parentRule)}),e.apply(t,a)}))});var s=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:lt((function(e,t,a){var u,c=(0,ce.Z)(a,1)[0];if(o.has(c))return s.apply(t,[c]);var l=kt(null===(u=t.parentRule)||void 0===u?void 0:u.parentStyleSheet,r,i.styleMirror),f=l.id,d=l.styleId;return(f&&-1!==f||d&&-1!==d)&&n({id:f,styleId:d,remove:{property:c},index:St(t.parentRule)}),e.apply(t,a)}))}),lt((function(){a.CSSStyleDeclaration.prototype.setProperty=u,a.CSSStyleDeclaration.prototype.removeProperty=s}))}function Tt(e){var t=e.mediaInteractionCb,n=e.blockClass,r=e.blockSelector,o=e.mirror,i=e.sampling,a=e.doc,u=lt((function(e){return ge(lt((function(i){var a=ht(i);if(a&&!ke(a,n,r,!0)){var u=a.currentTime,s=a.volume,c=a.muted,l=a.playbackRate;t({type:e,id:o.getId(a),currentTime:u,volume:s,muted:c,playbackRate:l})}})),i.media||500)})),s=[pe("play",u(0),a),pe("pause",u(1),a),pe("seeked",u(2),a),pe("volumechange",u(3),a),pe("ratechange",u(4),a)];return lt((function(){s.forEach((function(e){return e()}))}))}function Ot(e){var t=e.fontCb,n=e.doc,r=n.defaultView;if(!r)return function(){};var o=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(e,t,n){var r=new a(e,t,n);return i.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};var u=ye(n.fonts,"add",(function(e){return function(n){return setTimeout(lt((function(){var e=i.get(n);e&&(t(e),i.delete(n))})),0),e.apply(this,[n])}}));return o.push((function(){r.FontFace=a})),o.push(u),lt((function(){o.forEach((function(e){return e()}))}))}function At(e){var t=e.doc,n=e.mirror,r=e.blockClass,o=e.blockSelector,i=e.selectionCb,a=!0,u=lt((function(){var e=t.getSelection();if(!(!e||a&&(null==e?void 0:e.isCollapsed))){a=e.isCollapsed||!1;for(var u=[],s=e.rangeCount||0,c=0;c<s;c++){var l=e.getRangeAt(c),f=l.startContainer,d=l.startOffset,p=l.endContainer,h=l.endOffset;ke(f,r,o,!0)||ke(p,r,o,!0)||u.push({start:n.getId(f),startOffset:d,end:n.getId(p),endOffset:h})}i({ranges:u})}}));return u(),pe("selectionchange",u)}function Dt(e){var t=e.doc,n=e.customElementCb,r=t.defaultView;return r&&r.customElements?ye(r.customElements,"define",(function(e){return function(t,r,o){try{n({define:{name:t}})}catch(Ko){console.warn("Custom element callback failed for ".concat(t))}return e.apply(this,[t,r,o])}})):function(){}}function Pt(e,t){var n=e.mutationCb,r=e.mousemoveCb,o=e.mouseInteractionCb,i=e.scrollCb,a=e.viewportResizeCb,u=e.inputCb,s=e.mediaInteractionCb,c=e.styleSheetRuleCb,l=e.styleDeclarationCb,f=e.canvasMutationCb,d=e.fontCb,p=e.selectionCb,h=e.customElementCb;e.mutationCb=function(){t.mutation&&t.mutation.apply(t,arguments),n.apply(void 0,arguments)},e.mousemoveCb=function(){t.mousemove&&t.mousemove.apply(t,arguments),r.apply(void 0,arguments)},e.mouseInteractionCb=function(){t.mouseInteraction&&t.mouseInteraction.apply(t,arguments),o.apply(void 0,arguments)},e.scrollCb=function(){t.scroll&&t.scroll.apply(t,arguments),i.apply(void 0,arguments)},e.viewportResizeCb=function(){t.viewportResize&&t.viewportResize.apply(t,arguments),a.apply(void 0,arguments)},e.inputCb=function(){t.input&&t.input.apply(t,arguments),u.apply(void 0,arguments)},e.mediaInteractionCb=function(){t.mediaInteaction&&t.mediaInteaction.apply(t,arguments),s.apply(void 0,arguments)},e.styleSheetRuleCb=function(){t.styleSheetRule&&t.styleSheetRule.apply(t,arguments),c.apply(void 0,arguments)},e.styleDeclarationCb=function(){t.styleDeclaration&&t.styleDeclaration.apply(t,arguments),l.apply(void 0,arguments)},e.canvasMutationCb=function(){t.canvasMutation&&t.canvasMutation.apply(t,arguments),f.apply(void 0,arguments)},e.fontCb=function(){t.font&&t.font.apply(t,arguments),d.apply(void 0,arguments)},e.selectionCb=function(){t.selection&&t.selection.apply(t,arguments),p.apply(void 0,arguments)},e.customElementCb=function(){t.customElement&&t.customElement.apply(t,arguments),h.apply(void 0,arguments)}}function Nt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.doc.defaultView;if(!r)return function(){};Pt(e,n),e.recordDOM&&(t=vt(e,e.doc));var o=gt(e),i=mt(e),a=yt(e),u=bt(e,{win:r}),s=xt(e),c=Tt(e),l=function(){},f=function(){},d=function(){},p=function(){};e.recordDOM&&(l=Et(e,{win:r}),f=Ct(e,e.doc),d=It(e,{win:r}),e.collectFonts&&(p=Ot(e)));var h,v=At(e),g=Dt(e),m=[],y=ft(e.plugins);try{for(y.s();!(h=y.n()).done;){var b=h.value;m.push(b.observer(b.callback,r,b.options))}}catch(w){y.e(w)}finally{y.f()}return lt((function(){pt.forEach((function(e){return e.reset()})),null==t||t.disconnect(),o(),i(),a(),u(),s(),c(),l(),f(),d(),p(),v(),g(),m.forEach((function(e){return e()}))}))}function Mt(e){return void 0!==window[e]}function jt(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var Lt=function(){function e(t){(0,c.Z)(this,e),this.generateIdFn=t,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}return(0,l.Z)(e,[{key:"getId",value:function(e,t,n,r){var o=n||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),i.set(a,t)),a}},{key:"getIds",value:function(e,t){var n=this,r=this.getIdToRemoteIdMap(e),o=this.getRemoteIdToIdMap(e);return t.map((function(t){return n.getId(e,t,r,o)}))}},{key:"getRemoteId",value:function(e,t,n){var r=n||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;var o=r.get(t);return o||-1}},{key:"getRemoteIds",value:function(e,t){var n=this,r=this.getRemoteIdToIdMap(e);return t.map((function(t){return n.getRemoteId(e,t,r)}))}},{key:"reset",value:function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}},{key:"getIdToRemoteIdMap",value:function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}},{key:"getRemoteIdToIdMap",value:function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}]),e}();function Rt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ft(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ut=function(){function e(t){(0,c.Z)(this,e),this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Lt(A),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Lt(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}return(0,l.Z)(e,[{key:"addIframe",value:function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}},{key:"addLoadListener",value:function(e){this.loadListener=e}},{key:"attachIframe",value:function(e,t){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}},{key:"handleMessage",value:function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var n=this.crossOriginIframeMap.get(e.source);if(n){var r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}}}},{key:"transformCrossOriginEvent",value:function(e,t){var n,r=this;switch(t.type){case Ge.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var o=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,o),this.patchRootIdOnNode(t.data.node,o),{timestamp:t.timestamp,type:Ge.IncrementalSnapshot,data:{source:qe.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Ge.Meta:case Ge.Load:case Ge.DomContentLoaded:return!1;case Ge.Plugin:return t;case Ge.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Ge.IncrementalSnapshot:switch(t.data.source){case qe.Mutation:return t.data.adds.forEach((function(t){r.replaceIds(t,e,["parentId","nextId","previousId"]),r.replaceIdOnNode(t.node,e);var n=r.crossOriginIframeRootIdMap.get(e);n&&r.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((function(t){r.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((function(t){r.replaceIds(t,e,["id"])})),t.data.texts.forEach((function(t){r.replaceIds(t,e,["id"])})),t;case qe.Drag:case qe.TouchMove:case qe.MouseMove:return t.data.positions.forEach((function(t){r.replaceIds(t,e,["id"])})),t;case qe.ViewportResize:return!1;case qe.MediaInteraction:case qe.MouseInteraction:case qe.Scroll:case qe.CanvasMutation:case qe.Input:return this.replaceIds(t.data,e,["id"]),t;case qe.StyleSheetRule:case qe.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case qe.Font:return t;case qe.Selection:return t.data.ranges.forEach((function(t){r.replaceIds(t,e,["start","end"])})),t;case qe.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null===(n=t.data.styles)||void 0===n||n.forEach((function(t){r.replaceStyleIds(t,e,["styleId"])})),t}}return!1}},{key:"replace",value:function(e,t,n,r){var o,i=Rt(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(n,t[a]):t[a]=e.getId(n,t[a]))}}catch(u){i.e(u)}finally{i.f()}return t}},{key:"replaceIds",value:function(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}},{key:"replaceStyleIds",value:function(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}},{key:"replaceIdOnNode",value:function(e,t){var n=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((function(e){n.replaceIdOnNode(e,t)}))}},{key:"patchRootIdOnNode",value:function(e,t){var n=this;e.type===i.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((function(e){n.patchRootIdOnNode(e,t)}))}}]),e}(),Bt=function(){function e(t){(0,c.Z)(this,e),this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}return(0,l.Z)(e,[{key:"init",value:function(){this.reset(),this.patchAttachShadow(Element,document)}},{key:"addShadowRoot",value:function(e,t){var n=this;if(g(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var r=vt(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push((function(){return r.disconnect()})),this.restoreHandlers.push(yt(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout((function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&n.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,n.mirror.getId(e.host)),n.restoreHandlers.push(Ct({mirror:n.mirror,stylesheetManager:n.bypassOptions.stylesheetManager},e))}),0)}}},{key:"observeAttachShadow",value:function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}},{key:"patchAttachShadow",value:function(e,t){var n=this;this.restoreHandlers.push(ye(e.prototype,"attachShadow",(function(e){return function(r){var o=e.call(this,r);return this.shadowRoot&&He(this)&&n.addShadowRoot(this.shadowRoot,t),o}})))}},{key:"reset",value:function(){this.restoreHandlers.forEach((function(e){try{e()}catch(Ko){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}]),e}(),zt=n(87757),Vt=n.n(zt);function Ht(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Ko){i(Ko)}}function u(e){try{s(r.throw(e))}catch(Ko){i(Ko)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}for(var Gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wt=0;Wt<Gt.length;Wt++)qt[Gt.charCodeAt(Wt)]=Wt;var Zt=function(e){var t,n,r,o,i,a=.75*e.length,u=e.length,s=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c=new ArrayBuffer(a),l=new Uint8Array(c);for(t=0;t<u;t+=4)n=qt[e.charCodeAt(t)],r=qt[e.charCodeAt(t+1)],o=qt[e.charCodeAt(t+2)],i=qt[e.charCodeAt(t+3)],l[s++]=n<<2|r>>4,l[s++]=(15&r)<<4|o>>2,l[s++]=(3&o)<<6|63&i;return c},Kt=new Map;var $t=function(e,t,n){if(e&&(Jt(e,t)||"object"==typeof e)){var r=function(e,t){var n=Kt.get(e);return n||(n=new Map,Kt.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name),o=r.indexOf(e);return-1===o&&(o=r.length,r.push(e)),o}};function Xt(e,t,n){if(e instanceof Array)return e.map((function(e){return Xt(e,t,n)}));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer)return{rr_type:e.constructor.name,base64:function(e){var t,n=new Uint8Array(e),r=n.length,o="";for(t=0;t<r;t+=3)o+=Gt[n[t]>>2],o+=Gt[(3&n[t])<<4|n[t+1]>>4],o+=Gt[(15&n[t+1])<<2|n[t+2]>>6],o+=Gt[63&n[t+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(e)};if(e instanceof DataView)return{rr_type:e.constructor.name,args:[Xt(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement)return{rr_type:e.constructor.name,src:e.src};if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return e instanceof ImageData?{rr_type:e.constructor.name,args:[Xt(e.data,t,n),e.width,e.height]}:Jt(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:$t(e,t,n)}:e}var Yt=function(e,t,n){return e.map((function(e){return Xt(e,t,n)}))},Jt=function(e,t){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(e){return"function"==typeof t[e]}));return Boolean(n.find((function(n){return e instanceof t[n]})))};function Qt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return en(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return en(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tn(e){return"experimental-webgl"===e?"webgl":e}function nn(e,t,n,r){var o=[];try{var i=ye(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(o){for(var i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(!ke(this,t,n,!0)){var s=tn(o);if("__context"in this||(this.__context=s),r&&["webgl","webgl2"].includes(s))if(a[0]&&"object"==typeof a[0]){var c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[o].concat(a))}}));o.push(i)}catch(Mn){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach((function(e){return e()}))}}function rn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return on(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return on(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function on(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function an(e,t,n,r,o,i,a){var u,s=[],c=rn(Object.getOwnPropertyNames(e));try{var l=function(){var i=u.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))return"continue";try{if("function"!=typeof e[i])return"continue";var c=ye(e,i,(function(e){return function(){for(var u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];var l=e.apply(this,s);if($t(l,a,this),"tagName"in this.canvas&&!ke(this.canvas,r,o,!0)){var f=Yt(s,a,this),d={type:t,property:i,args:f};n(this.canvas,d)}return l}}));s.push(c)}catch(Mn){var l=me(e,i,{set:function(e){n(this.canvas,{type:t,property:i,args:[e],setter:!0})}});s.push(l)}};for(c.s();!(u=c.n()).done;)l()}catch(f){c.e(f)}finally{c.f()}return s}var un,sn,cn,ln=(un=function(){!function(){function e(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(Ko){i(Ko)}}function u(e){try{s(r.throw(e))}catch(Ko){i(Ko)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256),r=0;r<t.length;r++)n[t.charCodeAt(r)]=r;var o=function(e){var n,r=new Uint8Array(e),o=r.length,i="";for(n=0;n<o;n+=3)i+=t[r[n]>>2],i+=t[(3&r[n])<<4|r[n+1]>>4],i+=t[(15&r[n+1])<<2|r[n+2]>>6],i+=t[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},i=new Map,a=new Map;function u(t,n,r){return e(this,void 0,void 0,Vt().mark((function e(){var i,u,s,c,l;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i="".concat(t,"-").concat(n),!("OffscreenCanvas"in globalThis)){e.next=17;break}if(!a.has(i)){e.next=4;break}return e.abrupt("return",a.get(i));case 4:return(u=new OffscreenCanvas(t,n)).getContext("2d"),e.next=8,u.convertToBlob(r);case 8:return s=e.sent,e.next=11,s.arrayBuffer();case 11:return c=e.sent,l=o(c),a.set(i,l),e.abrupt("return",l);case 17:return e.abrupt("return","");case 18:case"end":return e.stop()}}),e)})))}var s=self;s.onmessage=function(t){return e(this,void 0,void 0,Vt().mark((function e(){var n,r,a,c,l,f,d,p,h,v,g,m;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!("OffscreenCanvas"in globalThis)){e.next=31;break}return n=t.data,r=n.id,a=n.bitmap,c=n.width,l=n.height,f=n.dataURLOptions,d=u(c,l,f),(p=new OffscreenCanvas(c,l)).getContext("2d").drawImage(a,0,0),a.close(),e.next=9,p.convertToBlob(f);case 9:return h=e.sent,v=h.type,e.next=13,h.arrayBuffer();case 13:if(g=e.sent,m=o(g),e.t0=!i.has(r),!e.t0){e.next=22;break}return e.next=19,d;case 19:e.t1=e.sent,e.t2=m,e.t0=e.t1===e.t2;case 22:if(!e.t0){e.next=25;break}return i.set(r,m),e.abrupt("return",s.postMessage({id:r}));case 25:if(i.get(r)!==m){e.next=27;break}return e.abrupt("return",s.postMessage({id:r}));case 27:s.postMessage({id:r,type:v,base64:m,width:c,height:l}),i.set(r,m),e.next=32;break;case 31:return e.abrupt("return",s.postMessage({id:t.data.id}));case 32:case"end":return e.stop()}}),e)})))}}()},sn=null,function(e){return cn=cn||function(e,t){var n=function(e,t){var n=void 0===t?null:t,r=e.toString().split("\n");r.pop(),r.shift();for(var o=r[0].search(/\S/),i=/(['"])__worker_loader_strict__(['"])/g,a=0,u=r.length;a<u;++a)r[a]=r[a].substring(o).replace(i,"$1use strict$2")+"\n";return n&&r.push("//# sourceMappingURL="+n+"\n"),r}(e,t),r=new Blob(n,{type:"application/javascript"});return URL.createObjectURL(r)}(un,sn),new Worker(cn,e)}),fn=function(){function e(t){var n=this;(0,c.Z)(this,e),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(e,t){!(n.rafStamps.invokeId&&n.rafStamps.latestId!==n.rafStamps.invokeId)&&n.rafStamps.invokeId||(n.rafStamps.invokeId=n.rafStamps.latestId),n.pendingCanvasMutations.has(e)||n.pendingCanvasMutations.set(e,[]),n.pendingCanvasMutations.get(e).push(t)};var r=t.sampling,o=void 0===r?"all":r,i=t.win,a=t.blockClass,u=t.blockSelector,s=t.recordCanvas,l=t.dataURLOptions;this.mutationCb=t.mutationCb,this.mirror=t.mirror,s&&"all"===o&&this.initCanvasMutationObserver(i,a,u),s&&"number"==typeof o&&this.initCanvasFPSObserver(o,i,a,u,{dataURLOptions:l})}return(0,l.Z)(e,[{key:"reset",value:function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}},{key:"freeze",value:function(){this.frozen=!0}},{key:"unfreeze",value:function(){this.frozen=!1}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"initCanvasFPSObserver",value:function(e,t,n,r,o){var i=this,a=nn(t,n,r,!0),u=new Map,s=new ln;s.onmessage=function(e){var t=e.data.id;if(u.set(t,!1),"base64"in e.data){var n=e.data,r=n.base64,o=n.type,a=n.width,s=n.height;i.mutationCb({id:t,type:Ke["2D"],commands:[{property:"clearRect",args:[0,0,a,s]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:o}]},0,0]}]})}};var c,l=1e3/e,f=0;c=requestAnimationFrame((function e(a){var d;f&&a-f<l?c=requestAnimationFrame(e):(f=a,(d=[],t.document.querySelectorAll("canvas").forEach((function(e){ke(e,n,r,!0)||d.push(e)})),d).forEach((function(e){return Ht(i,void 0,void 0,Vt().mark((function t(){var n,r,i,a;return Vt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.mirror.getId(e),!u.get(r)){t.next=3;break}return t.abrupt("return");case 3:return u.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(i=e.getContext(e.__context),!1===(null===(n=null==i?void 0:i.getContextAttributes())||void 0===n?void 0:n.preserveDrawingBuffer)&&i.clear(i.COLOR_BUFFER_BIT)),t.next=7,createImageBitmap(e);case 7:a=t.sent,s.postMessage({id:r,bitmap:a,width:e.width,height:e.height,dataURLOptions:o.dataURLOptions},[a]);case 9:case"end":return t.stop()}}),t,this)})))})),c=requestAnimationFrame(e))})),this.resetObservers=function(){a(),cancelAnimationFrame(c)}}},{key:"initCanvasMutationObserver",value:function(e,t,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=nn(e,t,n,!1),o=function(e,t,n,r){var o,i=[],a=Qt(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));try{var u=function(){var a=o.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[a])return"continue";var u=ye(t.CanvasRenderingContext2D.prototype,a,(function(o){return function(){for(var i=this,u=arguments.length,s=new Array(u),c=0;c<u;c++)s[c]=arguments[c];return ke(this.canvas,n,r,!0)||setTimeout((function(){var n=Yt(s,t,i);e(i.canvas,{type:Ke["2D"],property:a,args:n})}),0),o.apply(this,s)}}));i.push(u)}catch(Mn){var s=me(t.CanvasRenderingContext2D.prototype,a,{set:function(t){e(this.canvas,{type:Ke["2D"],property:a,args:[t],setter:!0})}});i.push(s)}};for(a.s();!(o=a.n()).done;)u()}catch(s){a.e(s)}finally{a.f()}return function(){i.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,n),i=function(e,t,n,r,o){var i=[];return i.push.apply(i,(0,le.Z)(an(t.WebGLRenderingContext.prototype,Ke.WebGL,e,n,r,0,t))),void 0!==t.WebGL2RenderingContext&&i.push.apply(i,(0,le.Z)(an(t.WebGL2RenderingContext.prototype,Ke.WebGL2,e,n,r,0,t))),function(){i.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,n,this.mirror);this.resetObservers=function(){r(),o(),i()}}},{key:"startPendingCanvasMutationFlusher",value:function(){var e=this;requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))}},{key:"startRAFTimestamping",value:function(){var e=this;requestAnimationFrame((function t(n){e.rafStamps.latestId=n,requestAnimationFrame(t)}))}},{key:"flushPendingCanvasMutations",value:function(){var e=this;this.pendingCanvasMutations.forEach((function(t,n){var r=e.mirror.getId(n);e.flushPendingCanvasMutationFor(n,r)})),requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))}},{key:"flushPendingCanvasMutationFor",value:function(e,t){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(e);if(n&&-1!==t){var r=n.map((function(e){return function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["type"])})),o=n[0].type;this.mutationCb({id:t,type:o,commands:r}),this.pendingCanvasMutations.delete(e)}}}}]),e}();function dn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var hn,vn,gn,mn=function(){function e(t){(0,c.Z)(this,e),this.trackedLinkElements=new WeakSet,this.styleMirror=new Ue,this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}return(0,l.Z)(e,[{key:"attachLinkElement",value:function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}},{key:"trackLinkElement",value:function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}},{key:"adoptStyleSheets",value:function(e,t){if(0!==e.length){var n,r={id:t,styleIds:[]},o=[],i=dn(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,u=void 0;this.styleMirror.has(a)?u=this.styleMirror.getId(a):(u=this.styleMirror.add(a),o.push({styleId:u,rules:Array.from(a.rules||CSSRule,(function(e,t){return{rule:y(e),index:t}}))})),r.styleIds.push(u)}}catch(s){i.e(s)}finally{i.f()}o.length>0&&(r.styles=o),this.adoptedStyleSheetCb(r)}}},{key:"reset",value:function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}},{key:"trackStylesheetInLinkElement",value:function(e){}}]),e}(),yn=function(){function e(){(0,c.Z)(this,e),this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}return(0,l.Z)(e,[{key:"periodicallyClear",value:function(){var e=this;requestAnimationFrame((function(){e.clear(),e.loop&&e.periodicallyClear()}))}},{key:"inOtherBuffer",value:function(e,t){var n=this.nodeMap.get(e);return n&&Array.from(n).some((function(e){return e!==t}))}},{key:"add",value:function(e,t){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}},{key:"clear",value:function(){this.nodeMap=new WeakMap}},{key:"destroy",value:function(){this.loop=!1}}]),e}();function bn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return wn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wn(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _n(e){return Object.assign(Object.assign({},e),{timestamp:be()})}var xn=!1,Sn=w();function kn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.emit,n=e.checkoutEveryNms,r=e.checkoutEveryNth,o=e.blockClass,i=void 0===o?"rr-block":o,a=e.blockSelector,u=void 0===a?null:a,s=e.ignoreClass,c=void 0===s?"rr-ignore":s,l=e.ignoreSelector,f=void 0===l?null:l,d=e.maskTextClass,p=void 0===d?"rr-mask":d,h=e.maskTextSelector,v=void 0===h?null:h,g=e.inlineStylesheet,m=void 0===g||g,y=e.maskAllInputs,b=e.maskInputOptions,w=e.slimDOMOptions,_=e.maskInputFn,x=e.maskTextFn,S=e.hooks,k=e.packFn,E=e.sampling,C=void 0===E?{}:E,I=e.dataURLOptions,T=void 0===I?{}:I,O=e.mousemoveWait,A=e.recordDOM,D=void 0===A||A,P=e.recordCanvas,N=void 0!==P&&P,M=e.recordCrossOriginIframes,j=void 0!==M&&M,L=e.recordAfter,R=void 0===L?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":L,F=e.userTriggeredOnInput,U=void 0!==F&&F,B=e.collectFonts,z=void 0!==B&&B,V=e.inlineImages,H=void 0!==V&&V,G=e.plugins,q=e.keepIframeSrcFn,W=void 0===q?function(){return!1}:q,Z=e.ignoreCSSAttributes,$=void 0===Z?new Set([]):Z,X=e.errorHandler;st(X);var Y=!j||window.parent===window,J=!1;if(!Y)try{window.parent.document&&(J=!1)}catch(Ko){J=!0}if(Y&&!t)throw new Error("emit function is required");void 0!==O&&void 0===C.mousemove&&(C.mousemove=O),Sn.reset();var Q,ee=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==b?b:{password:!0},te=!0===w||"all"===w?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===w,headMetaDescKeywords:"all"===w}:w||{};Oe();var ne=0,re=function(e){var t,n=bn(G||[]);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.eventProcessor&&(e=r.eventProcessor(e))}}catch(o){n.e(o)}finally{n.f()}return k&&!J&&(e=k(e)),e};hn=function(e,o){var i;if(!(null===(i=pt[0])||void 0===i?void 0:i.isFrozen())||e.type===Ge.FullSnapshot||e.type===Ge.IncrementalSnapshot&&e.data.source===qe.Mutation||pt.forEach((function(e){return e.unfreeze()})),Y)null==t||t(re(e),o);else if(J){var a={type:"rrweb",event:re(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(a,"*")}if(e.type===Ge.FullSnapshot)Q=e,ne=0;else if(e.type===Ge.IncrementalSnapshot){if(e.data.source===qe.Mutation&&e.data.isAttachIframe)return;ne++;var u=r&&ne>=r,s=n&&e.timestamp-Q.timestamp>n;(u||s)&&vn(!0)}};var oe,ie=function(e){hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.Mutation},e)}))},ae=function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.Scroll},e)}))},ue=function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.CanvasMutation},e)}))},se=function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.AdoptedStyleSheet},e)}))},ce=new mn({mutationCb:ie,adoptedStyleSheetCb:se}),le=new Ut({mirror:Sn,mutationCb:ie,stylesheetManager:ce,recordCrossOriginIframes:j,wrappedEmit:hn}),fe=bn(G||[]);try{for(fe.s();!(oe=fe.n()).done;){var de=oe.value;de.getMirror&&de.getMirror({nodeMirror:Sn,crossOriginIframeMirror:le.crossOriginIframeMirror,crossOriginIframeStyleMirror:le.crossOriginIframeStyleMirror})}}catch(be){fe.e(be)}finally{fe.f()}var he=new yn;gn=new fn({recordCanvas:N,mutationCb:ue,win:window,blockClass:i,blockSelector:u,mirror:Sn,sampling:C.canvas,dataURLOptions:T});var ve=new Bt({mutationCb:ie,scrollCb:ae,bypassOptions:{blockClass:i,blockSelector:u,maskTextClass:p,maskTextSelector:v,inlineStylesheet:m,maskInputOptions:ee,dataURLOptions:T,maskTextFn:x,maskInputFn:_,recordCanvas:N,inlineImages:H,sampling:C,slimDOMOptions:te,iframeManager:le,stylesheetManager:ce,canvasManager:gn,keepIframeSrcFn:W,processedNodeManager:he},mirror:Sn});vn=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(D){hn(_n({type:Ge.Meta,data:{href:window.location.href,width:xe(),height:_e()}}),e),ce.reset(),ve.init(),pt.forEach((function(e){return e.lock()}));var t=K(document,{mirror:Sn,blockClass:i,blockSelector:u,maskTextClass:p,maskTextSelector:v,inlineStylesheet:m,maskAllInputs:ee,maskTextFn:x,slimDOM:te,dataURLOptions:T,recordCanvas:N,inlineImages:H,onSerialize:function(e){Pe(e,Sn)&&le.addIframe(e),Ne(e,Sn)&&ce.trackLinkElement(e),je(e)&&ve.addShadowRoot(e.shadowRoot,document)},onIframeLoad:function(e,t){le.attachIframe(e,t),ve.observeAttachShadow(e)},onStylesheetLoad:function(e,t){ce.attachLinkElement(e,t)},keepIframeSrcFn:W});if(!t)return console.warn("Failed to snapshot the document");hn(_n({type:Ge.FullSnapshot,data:{node:t,initialOffset:we(window)}}),e),pt.forEach((function(e){return e.unlock()})),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ce.adoptStyleSheets(document.adoptedStyleSheets,Sn.getId(document))}};try{var ge=[],me=function(e){var t;return lt(Nt)({mutationCb:ie,mousemoveCb:function(e,t){return hn(_n({type:Ge.IncrementalSnapshot,data:{source:t,positions:e}}))},mouseInteractionCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.MouseInteraction},e)}))},scrollCb:ae,viewportResizeCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.ViewportResize},e)}))},inputCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.Input},e)}))},mediaInteractionCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.MediaInteraction},e)}))},styleSheetRuleCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.StyleSheetRule},e)}))},styleDeclarationCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.StyleDeclaration},e)}))},canvasMutationCb:ue,fontCb:function(e){return hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.Font},e)}))},selectionCb:function(e){hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.Selection},e)}))},customElementCb:function(e){hn(_n({type:Ge.IncrementalSnapshot,data:Object.assign({source:qe.CustomElement},e)}))},blockClass:i,ignoreClass:c,ignoreSelector:f,maskTextClass:p,maskTextSelector:v,maskInputOptions:ee,inlineStylesheet:m,sampling:C,recordDOM:D,recordCanvas:N,inlineImages:H,userTriggeredOnInput:U,collectFonts:z,doc:e,maskInputFn:_,maskTextFn:x,keepIframeSrcFn:W,blockSelector:u,slimDOMOptions:te,dataURLOptions:T,mirror:Sn,iframeManager:le,stylesheetManager:ce,shadowDomManager:ve,processedNodeManager:he,canvasManager:gn,ignoreCSSAttributes:$,plugins:(null===(t=null==G?void 0:G.filter((function(e){return e.observer})))||void 0===t?void 0:t.map((function(e){return{observer:e.observer,options:e.options,callback:function(t){return hn(_n({type:Ge.Plugin,data:{plugin:e.name,payload:t}}))}}})))||[]},S)};le.addLoadListener((function(e){try{ge.push(me(e.contentDocument))}catch(t){console.warn(t)}}));var ye=function(){vn(),ge.push(me(document)),xn=!0};return"interactive"===document.readyState||"complete"===document.readyState?ye():(ge.push(pe("DOMContentLoaded",(function(){hn(_n({type:Ge.DomContentLoaded,data:{}})),"DOMContentLoaded"===R&&ye()}))),ge.push(pe("load",(function(){hn(_n({type:Ge.Load,data:{}})),"load"===R&&ye()}),window))),function(){ge.forEach((function(e){return e()})),he.destroy(),xn=!1,ct()}}catch(Se){console.warn(Se)}}kn.addCustomEvent=function(e,t){if(!xn)throw new Error("please add custom event after start recording");hn(_n({type:Ge.Custom,data:{tag:e,payload:t}}))},kn.freezePage=function(){pt.forEach((function(e){return e.freeze()}))},kn.takeFullSnapshot=function(e){if(!xn)throw new Error("please take full snapshot after start recording");vn(e)},kn.mirror=Sn;var En=kn.addCustomEvent,Cn=kn.freezePage,In=Uint8Array,Tn=Uint16Array,On=Uint32Array,An=new In([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Dn=new In([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Pn=new In([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nn=function(e,t){for(var n=new Tn(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var o=new On(n[30]);for(r=1;r<30;++r)for(var i=n[r];i<n[r+1];++i)o[i]=i-n[r]<<5|r;return[n,o]},Mn=Nn(An,2),jn=Mn[0],Ln=Mn[1];jn[28]=258,Ln[258]=28;for(var Rn=Nn(Dn,0),Fn=Rn[0],Un=Rn[1],Bn=new Tn(32768),zn=0;zn<32768;++zn){var Vn=(43690&zn)>>>1|(21845&zn)<<1;Vn=(61680&(Vn=(52428&Vn)>>>2|(13107&Vn)<<2))>>>4|(3855&Vn)<<4,Bn[zn]=((65280&Vn)>>>8|(255&Vn)<<8)>>>1}var Hn=function(e,t,n){for(var r=e.length,o=0,i=new Tn(t);o<r;++o)++i[e[o]-1];var a,u=new Tn(t);for(o=0;o<t;++o)u[o]=u[o-1]+i[o-1]<<1;if(n){a=new Tn(1<<t);var s=15-t;for(o=0;o<r;++o)if(e[o])for(var c=o<<4|e[o],l=t-e[o],f=u[e[o]-1]++<<l,d=f|(1<<l)-1;f<=d;++f)a[Bn[f]>>>s]=c}else for(a=new Tn(r),o=0;o<r;++o)a[o]=Bn[u[e[o]-1]++]>>>15-e[o];return a},Gn=new In(288);for(zn=0;zn<144;++zn)Gn[zn]=8;for(zn=144;zn<256;++zn)Gn[zn]=9;for(zn=256;zn<280;++zn)Gn[zn]=7;for(zn=280;zn<288;++zn)Gn[zn]=8;var qn=new In(32);for(zn=0;zn<32;++zn)qn[zn]=5;var Wn=Hn(Gn,9,0),Zn=Hn(Gn,9,1),Kn=Hn(qn,5,0),$n=Hn(qn,5,1),Xn=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},Yn=function(e,t,n){var r=t/8>>0;return(e[r]|e[r+1]<<8)>>>(7&t)&n},Jn=function(e,t){var n=t/8>>0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>>(7&t)},Qn=function(e){return(e/8>>0)+(7&e&&1)},er=function(e,t,n){(null==t||t<0)&&(t=0),(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof Tn?Tn:e instanceof On?On:In)(n-t);return r.set(e.subarray(t,n)),r},tr=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8},nr=function(e,t,n){n<<=7&t;var r=t/8>>0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},rr=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var o=n.length,i=n.slice();if(!o)return[new In(0),0];if(1==o){var a=new In(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort((function(e,t){return e.f-t.f})),n.push({s:-1,f:25001});var u=n[0],s=n[1],c=0,l=1,f=2;for(n[0]={s:-1,f:u.f+s.f,l:u,r:s};l!=o-1;)u=n[n[c].f<n[f].f?c++:f++],s=n[c!=l&&n[c].f<n[f].f?c++:f++],n[l++]={s:-1,f:u.f+s.f,l:u,r:s};var d=i[0].s;for(r=1;r<o;++r)i[r].s>d&&(d=i[r].s);var p=new Tn(d+1),h=or(n[l-1],p,0);if(h>t){r=0;var v=0,g=h-t,m=1<<g;for(i.sort((function(e,t){return p[t.s]-p[e.s]||e.f-t.f}));r<o;++r){var y=i[r].s;if(!(p[y]>t))break;v+=m-(1<<h-p[y]),p[y]=t}for(v>>>=g;v>0;){var b=i[r].s;p[b]<t?v-=1<<t-p[b]++-1:++r}for(;r>=0&&v;--r){var w=i[r].s;p[w]==t&&(--p[w],++v)}h=t}return[new In(p),h]},or=function e(t,n,r){return-1==t.s?Math.max(e(t.l,n,r+1),e(t.r,n,r+1)):n[t.s]=r},ir=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Tn(++t),r=0,o=e[0],i=1,a=function(e){n[r++]=e},u=1;u<=t;++u)if(e[u]==o&&u!=t)++i;else{if(!o&&i>2){for(;i>138;i-=138)a(32754);i>2&&(a(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(a(o),--i;i>6;i-=6)a(8304);i>2&&(a(i-3<<5|8208),i=0)}for(;i--;)a(o);i=1,o=e[u]}return[n.subarray(0,r),t]},ar=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},ur=function(e,t,n){var r=n.length,o=Qn(t+2);e[o]=255&r,e[o+1]=r>>>8,e[o+2]=255^e[o],e[o+3]=255^e[o+1];for(var i=0;i<r;++i)e[o+i+4]=n[i];return 8*(o+4+r)},sr=function(e,t,n,r,o,i,a,u,s,c,l){tr(t,l++,n),++o[256];for(var f=rr(o,15),d=f[0],p=f[1],h=rr(i,15),v=h[0],g=h[1],m=ir(d),y=m[0],b=m[1],w=ir(v),_=w[0],x=w[1],S=new Tn(19),k=0;k<y.length;++k)S[31&y[k]]++;for(k=0;k<_.length;++k)S[31&_[k]]++;for(var E=rr(S,7),C=E[0],I=E[1],T=19;T>4&&!C[Pn[T-1]];--T);var O,A,D,P,N=c+5<<3,M=ar(o,Gn)+ar(i,qn)+a,j=ar(o,d)+ar(i,v)+a+14+3*T+ar(S,C)+(2*S[16]+3*S[17]+7*S[18]);if(N<=M&&N<=j)return ur(t,l,e.subarray(s,s+c));if(tr(t,l,1+(j<M)),l+=2,j<M){O=Hn(d,p,0),A=d,D=Hn(v,g,0),P=v;var L=Hn(C,I,0);tr(t,l,b-257),tr(t,l+5,x-1),tr(t,l+10,T-4),l+=14;for(k=0;k<T;++k)tr(t,l+3*k,C[Pn[k]]);l+=3*T;for(var R=[y,_],F=0;F<2;++F){var U=R[F];for(k=0;k<U.length;++k){var B=31&U[k];tr(t,l,L[B]),l+=C[B],B>15&&(tr(t,l,U[k]>>>5&127),l+=U[k]>>>12)}}}else O=Wn,A=Gn,D=Kn,P=qn;for(k=0;k<u;++k)if(r[k]>255){B=r[k]>>>18&31;nr(t,l,O[B+257]),l+=A[B+257],B>7&&(tr(t,l,r[k]>>>23&31),l+=An[B]);var z=31&r[k];nr(t,l,D[z]),l+=P[z],z>3&&(nr(t,l,r[k]>>>5&8191),l+=Dn[z])}else nr(t,l,O[r[k]]),l+=A[r[k]];return nr(t,l,O[256]),l+A[256]},cr=new On([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),lr=new In(0),fr=function(e,t,n,r,o){return function(e,t,n,r,o,i){var a=e.length,u=new In(r+a+5*(1+Math.floor(a/7e3))+o),s=u.subarray(r,u.length-o),c=0;if(!t||a<8)for(var l=0;l<=a;l+=65535){var f=l+65535;f<a?c=ur(s,c,e.subarray(l,f)):(s[l]=i,c=ur(s,c,e.subarray(l,a)))}else{for(var d=cr[t-1],p=d>>>13,h=8191&d,v=(1<<n)-1,g=new Tn(32768),m=new Tn(v+1),y=Math.ceil(n/3),b=2*y,w=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<b)&v},_=new On(25e3),x=new Tn(288),S=new Tn(32),k=0,E=0,C=(l=0,0),I=0,T=0;l<a;++l){var O=w(l),A=32767&l,D=m[O];if(g[A]=D,m[O]=A,I<=l){var P=a-l;if((k>7e3||C>24576)&&P>423){c=sr(e,s,0,_,x,S,E,C,T,l-T,c),C=k=E=0,T=l;for(var N=0;N<286;++N)x[N]=0;for(N=0;N<30;++N)S[N]=0}var M=2,j=0,L=h,R=A-D&32767;if(P>2&&O==w(l-R))for(var F=Math.min(p,P)-1,U=Math.min(32767,l),B=Math.min(258,P);R<=U&&--L&&A!=D;){if(e[l+M]==e[l+M-R]){for(var z=0;z<B&&e[l+z]==e[l+z-R];++z);if(z>M){if(M=z,j=R,z>F)break;var V=Math.min(R,z-2),H=0;for(N=0;N<V;++N){var G=l-R+N+32768&32767,q=G-g[G]+32768&32767;q>H&&(H=q,D=G)}}}R+=(A=D)-(D=g[A])+32768&32767}if(j){_[C++]=268435456|Ln[M]<<18|Un[j];var W=31&Ln[M],Z=31&Un[j];E+=An[W]+Dn[Z],++x[257+W],++S[Z],I=l+M,++k}else _[C++]=e[l],++x[e[l]]}}c=sr(e,s,i,_,x,S,E,C,T,l-T,c),i||(c=ur(s,c,lr))}return er(u,0,r+Qn(c)+o)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!o)};function dr(e,t){void 0===t&&(t={});var n=function(){var e=1,t=0;return{p:function(n){for(var r=e,o=t,i=n.length,a=0;a!=i;){for(var u=Math.min(a+5552,i);a<u;++a)o+=r+=n[a];r%=65521,o%=65521}e=r,t=o},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();n.p(e);var r=fr(e,t,2,4);return function(e,t){var n=t.level,r=0==n?0:n<6?1:9==n?3:2;e[0]=120,e[1]=r<<6|(r?32-2*r:1)}(r,t),function(e,t,n){for(;n;++t)e[t]=n,n>>>=8}(r,r.length-4,n.d()),r}function pr(e,t){return function(e,t,n){var r=e.length,o=!t||n,i=!n||n.i;n||(n={}),t||(t=new In(3*r));var a=function(e){var n=t.length;if(e>n){var r=new In(Math.max(2*n,e));r.set(t),t=r}},u=n.f||0,s=n.p||0,c=n.b||0,l=n.l,f=n.d,d=n.m,p=n.n,h=8*r;do{if(!l){n.f=u=Yn(e,s,1);var v=Yn(e,s+1,3);if(s+=3,!v){var g=e[(I=Qn(s)+4)-4]|e[I-3]<<8,m=I+g;if(m>r){if(i)throw"unexpected EOF";break}o&&a(c+g),t.set(e.subarray(I,m),c),n.b=c+=g,n.p=s=8*m;continue}if(1==v)l=Zn,f=$n,d=9,p=5;else{if(2!=v)throw"invalid block type";var y=Yn(e,s,31)+257,b=Yn(e,s+10,15)+4,w=y+Yn(e,s+5,31)+1;s+=14;for(var _=new In(w),x=new In(19),S=0;S<b;++S)x[Pn[S]]=Yn(e,s+3*S,7);s+=3*b;var k=Xn(x),E=(1<<k)-1;if(!i&&s+w*(k+7)>h)break;var C=Hn(x,k,1);for(S=0;S<w;){var I,T=C[Yn(e,s,E)];if(s+=15&T,(I=T>>>4)<16)_[S++]=I;else{var O=0,A=0;for(16==I?(A=3+Yn(e,s,3),s+=2,O=_[S-1]):17==I?(A=3+Yn(e,s,7),s+=3):18==I&&(A=11+Yn(e,s,127),s+=7);A--;)_[S++]=O}}var D=_.subarray(0,y),P=_.subarray(y);d=Xn(D),p=Xn(P),l=Hn(D,d,1),f=Hn(P,p,1)}if(s>h)throw"unexpected EOF"}o&&a(c+131072);for(var N=(1<<d)-1,M=(1<<p)-1,j=d+p+18;i||s+j<h;){var L=(O=l[Jn(e,s)&N])>>>4;if((s+=15&O)>h)throw"unexpected EOF";if(!O)throw"invalid length/literal";if(L<256)t[c++]=L;else{if(256==L){l=null;break}var R=L-254;if(L>264){var F=An[S=L-257];R=Yn(e,s,(1<<F)-1)+jn[S],s+=F}var U=f[Jn(e,s)&M],B=U>>>4;if(!U)throw"invalid distance";if(s+=15&U,P=Fn[B],B>3&&(F=Dn[B],P+=Jn(e,s)&(1<<F)-1,s+=F),s>h)throw"unexpected EOF";o&&a(c+131072);for(var z=c+R;c<z;c+=4)t[c]=t[c-P],t[c+1]=t[c+1-P],t[c+2]=t[c+2-P],t[c+3]=t[c+3-P];c=z}}n.l=l,n.p=s,n.b=c,l&&(u=1,n.m=d,n.d=f,n.n=p)}while(!u);return c==t.length?t:er(t,0,c)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}function hr(e,t){var n=e.length;if(!t&&"undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var r=new In(e.length+(e.length>>>1)),o=0,i=function(e){r[o++]=e},a=0;a<n;++a){if(o+5>r.length){var u=new In(o+8+(n-a<<1));u.set(r),r=u}var s=e.charCodeAt(a);s<128||t?i(s):s<2048?(i(192|s>>>6),i(128|63&s)):s>55295&&s<57344?(i(240|(s=65536+(1047552&s)|1023&e.charCodeAt(++a))>>>18),i(128|s>>>12&63),i(128|s>>>6&63),i(128|63&s)):(i(224|s>>>12),i(128|s>>>6&63),i(128|63&s))}return er(r,0,o)}function vr(e,t){var n="";if(!t&&"undefined"!=typeof TextDecoder)return(new TextDecoder).decode(e);for(var r=0;r<e.length;){var o=e[r++];o<128||t?n+=String.fromCharCode(o):o<224?n+=String.fromCharCode((31&o)<<6|63&e[r++]):o<240?n+=String.fromCharCode((15&o)<<12|(63&e[r++])<<6|63&e[r++]):(o=((15&o)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536,n+=String.fromCharCode(55296|o>>10,56320|1023&o))}return n}var gr="v1",mr=function(e){var t=Object.assign(Object.assign({},e),{v:gr});return vr(dr(hr(JSON.stringify(t))),!0)},yr=function(e){if("string"!=typeof e)return e;try{var t=JSON.parse(e);if(t.timestamp)return t}catch(r){}try{var n=JSON.parse(vr(pr(hr(e,!0))));if(n.v===gr)return n;throw new Error("These events were packed with packer ".concat(n.v," which is incompatible with current packer ").concat(gr,"."))}catch(r){throw console.error(r),new Error("Unknown data format.")}},br=function(){function e(t){(0,c.Z)(this,e),this.fileName=t.fileName||"",this.functionName=t.functionName||"",this.lineNumber=t.lineNumber,this.columnNumber=t.columnNumber}return(0,l.Z)(e,[{key:"toString",value:function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?"".concat(this.functionName," (").concat(this.fileName,":").concat(e,":").concat(t,")"):"".concat(this.fileName,":").concat(e,":").concat(t)}}]),e}(),wr=/(^|@)\S+:\d+/,_r=/^\s*at .*(\S+:\d+|\(native\))/m,xr=/^(eval@)?(\[native code])?$/,Sr={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(_r)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: ".concat(e));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(_r)}),this).map((function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),r=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),o=this.extractLocation(n?n[1]:r.pop()),i=r.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new br({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2]})}),this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter((function(e){return!e.match(xr)}),this).map((function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new br({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,o=this.extractLocation(e.replace(t,""));return new br({functionName:r,fileName:o[0],lineNumber:o[1],columnNumber:o[2]})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,n=e.message.split("\n"),r=[],o=2,i=n.length;o<i;o+=2){var a=t.exec(n[o]);a&&r.push(new br({fileName:a[2],lineNumber:parseFloat(a[1])}))}return r},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=e.stacktrace.split("\n"),r=[],o=0,i=n.length;o<i;o+=2){var a=t.exec(n[o]);a&&r.push(new br({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return r},parseOpera11:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(wr)&&!e.match(/^Error created at/)}),this).map((function(e){var t=e.split("@"),n=this.extractLocation(t.pop()),r=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new br({functionName:r,fileName:n[0],lineNumber:n[1],columnNumber:n[2]})}),this)}};function kr(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var n=e.localName;if(!n)break;n=n.toLowerCase();var r=e.parentElement,o=[];if(r.children&&r.children.length>0)for(var i=0;i<r.children.length;i++){var a=r.children[i];a.localName&&a.localName.toLowerCase&&a.localName.toLowerCase()===n&&o.push(a)}o.length>1&&(n+=":eq(".concat(o.indexOf(e),")")),t=n+(t?">"+t:""),e=r}return t}function Er(e){return"[object Object]"===Object.prototype.toString.call(e)}function Cr(e,t){if(0===t)return!0;for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(Er(e[o])&&Cr(e[o],t-1))return!0}return!1}function Ir(e,t){var n={numOfKeysLimit:50,depthOfLimit:4};Object.assign(n,t);var r=[],o=[];return JSON.stringify(e,(function(e,t){if(r.length>0){var i=r.indexOf(this);~i?r.splice(i+1):r.push(this),~i?o.splice(i,1/0,e):o.push(e),~r.indexOf(t)&&(t=r[0]===t?"[Circular ~]":"[Circular ~."+o.slice(0,r.indexOf(t)).join(".")+"]")}else r.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(function(e){if(Er(e)&&Object.keys(e).length>n.numOfKeysLimit)return!0;if("function"==typeof e)return!0;if(Er(e)&&Cr(e,n.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();n.stringLengthLimit&&t.length>n.stringLengthLimit&&(t="".concat(t.slice(0,n.stringLengthLimit),"..."));return t}(t);if("bigint"==typeof t)return t.toString()+"n";if(t instanceof Event){var a={};for(var u in t){var s=t[u];Array.isArray(s)?a[u]=kr(s.length?s[0]:null):a[u]=s}return a}return t instanceof Node?t instanceof HTMLElement?t?t.outerHTML:"":t.nodeName:t instanceof Error?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t}))}function Tr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Or(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ar={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Dr(e,t,n){var r,o=n?Object.assign({},Ar,n):Ar,i=o.logger;if(!i)return function(){};r="string"==typeof i?t[i]:i;var a=0,u=!1,s=[];if(o.level.includes("error")){var c=function(t){var n=t.message,r=t.error,i=Sr.parse(r).map((function(e){return e.toString()})),a=[Ir(n,o.stringifyOptions)];e({level:"error",trace:i,payload:a})};t.addEventListener("error",c),s.push((function(){t.removeEventListener("error",c)}));var l=function(t){var n,r;t.reason instanceof Error?(n=t.reason,r=[Ir("Uncaught (in promise) ".concat(n.name,": ").concat(n.message),o.stringifyOptions)]):(n=new Error,r=[Ir("Uncaught (in promise)",o.stringifyOptions),Ir(t.reason,o.stringifyOptions)]);var i=Sr.parse(n).map((function(e){return e.toString()}));e({level:"error",trace:i,payload:r})};t.addEventListener("unhandledrejection",l),s.push((function(){t.removeEventListener("unhandledrejection",l)}))}var f,d=Tr(o.level);try{for(d.s();!(f=d.n()).done;){var p=f.value;s.push(h(r,p))}}catch(v){d.e(v)}finally{d.f()}return function(){s.forEach((function(e){return e()}))};function h(t,n){var r=this;return t[n]?ye(t,n,(function(t){return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];if(t.apply(r,s),!u){u=!0;try{var l=Sr.parse(new Error).map((function(e){return e.toString()})).splice(1),f=s.map((function(e){return Ir(e,o.stringifyOptions)}));++a<o.lengthThreshold?e({level:n,trace:l,payload:f}):a===o.lengthThreshold&&e({level:"warn",trace:[],payload:[Ir("The number of log records reached the threshold.")]})}catch(d){t.apply(void 0,["rrweb logger error:",d].concat(s))}finally{u=!1}}}})):function(){}}}var Pr="rrweb/console@1",Nr=function(e){return{name:Pr,observer:Dr,options:e}};function Mr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return jr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jr(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function jr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Lr={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],replayLogger:void 0},Rr=function(){function e(t){(0,c.Z)(this,e),this.config=Object.assign(Lr,t)}return(0,l.Z)(e,[{key:"getConsoleLogger",value:function(){var e,t=this,n={},r=Mr(this.config.level);try{var o=function(){var r=e.value;n[r]="trace"===r?function(e){(console.log.__rrweb_original__?console.log.__rrweb_original__:console.log).apply(void 0,(0,le.Z)(e.payload.map((function(e){return JSON.parse(e)}))).concat([t.formatMessage(e)]))}:function(e){(console[r].__rrweb_original__?console[r].__rrweb_original__:console[r]).apply(void 0,(0,le.Z)(e.payload.map((function(e){return JSON.parse(e)}))).concat([t.formatMessage(e)]))}};for(r.s();!(e=r.n()).done;)o()}catch(i){r.e(i)}finally{r.f()}return n}},{key:"formatMessage",value:function(e){if(0===e.trace.length)return"";var t="\n\tat ",n=t;return n+=e.trace.join(t)}}]),e}(),Fr=function(e){var t=(null==e?void 0:e.replayLogger)||new Rr(e).getConsoleLogger();return{handler:function(e,n,r){var o=null;if(e.type===Ge.IncrementalSnapshot&&e.data.source===qe.Log?o=e.data:e.type===Ge.Plugin&&e.data.plugin===Pr&&(o=e.data.payload),o)try{"function"==typeof t[o.level]&&t[o.level](o)}catch(i){r.replayer.config.showWarning&&console.warn(i)}}}},Ur=n(13894),Br=new Map;function zr(e,t){var n=Br.get(e);return n||(n=new Map,Br.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}function Vr(e,t,n){var r=this;return function(o){return Ht(r,void 0,void 0,Vt().mark((function r(){var i,a,u,s,c,l,f,d,p,h,v;return Vt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!o||"object"!=typeof o||!("rr_type"in o)){r.next=55;break}if(n&&(n.isUnchanged=!1),"ImageBitmap"!==o.rr_type||!("args"in o)){r.next=11;break}return r.next=5,Vr(e,t,n)(o.args);case 5:return i=r.sent,r.next=8,createImageBitmap.apply(null,i);case 8:return r.abrupt("return",r.sent);case 11:if(!("index"in o)){r.next=18;break}if(!n&&null!==t){r.next=14;break}return r.abrupt("return",o);case 14:return a=o.rr_type,u=o.index,r.abrupt("return",zr(t,a)[u]);case 18:if(!("args"in o)){r.next=31;break}return s=o.rr_type,c=o.args,l=window[s],r.t0=Ur.Z,r.t1=l,r.t2=le.Z,r.next=26,Promise.all(c.map(Vr(e,t,n)));case 26:return r.t3=r.sent,r.t4=(0,r.t2)(r.t3),r.abrupt("return",(0,r.t0)(r.t1,r.t4));case 31:if(!("base64"in o)){r.next=35;break}return r.abrupt("return",Zt(o.base64));case 35:if(!("src"in o)){r.next=47;break}if(!(f=e.get(o.src))){r.next=41;break}return r.abrupt("return",f);case 41:return(d=new Image).src=o.src,e.set(o.src,d),r.abrupt("return",d);case 45:r.next=53;break;case 47:if(!("data"in o)||"Blob"!==o.rr_type){r.next=53;break}return r.next=50,Promise.all(o.data.map(Vr(e,t,n)));case 50:return p=r.sent,h=new Blob(p,{type:o.type}),r.abrupt("return",h);case 53:r.next=60;break;case 55:if(!Array.isArray(o)){r.next=60;break}return r.next=58,Promise.all(o.map(Vr(e,t,n)));case 58:return v=r.sent,r.abrupt("return",v);case 60:return r.abrupt("return",o);case 61:case"end":return r.stop()}}),r)})))}}function Hr(e,t){try{return t===Ke.WebGL?e.getContext("webgl")||e.getContext("experimental-webgl"):e.getContext("webgl2")}catch(Ko){return null}}var Gr=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject"];function qr(e,t){if(null==t?void 0:t.constructor){var n=t.constructor.name;if(Gr.includes(n)){var r=zr(e,n);r.includes(t)||r.push(t)}}}function Wr(e){var t=e.mutation,n=e.target,r=e.type,o=e.imageMap,i=e.errorHandler;return Ht(this,void 0,void 0,Vt().mark((function e(){var a,u,s,c;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,a=Hr(n,r)){e.next=4;break}return e.abrupt("return");case 4:if(!t.setter){e.next=7;break}return a[t.property]=t.args[0],e.abrupt("return");case 7:return u=a[t.property],e.next=10,Promise.all(t.args.map(Vr(o,a)));case 10:s=e.sent,c=u.apply(a,s),qr(a,c),!1,e.next=20;break;case 17:e.prev=17,e.t0=e.catch(0),i(t,e.t0);case 20:case"end":return e.stop()}}),e,null,[[0,17]])})))}function Zr(e){var t=e.event,n=e.mutations,r=e.target,o=e.imageMap,i=e.errorHandler;return Ht(this,void 0,void 0,Vt().mark((function e(){var a,u,s=this;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=r.getContext("2d")){e.next=4;break}return i(n[0],new Error("Canvas context is null")),e.abrupt("return");case 4:return u=n.map((function(e){return Ht(s,void 0,void 0,Vt().mark((function t(){return Vt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.all(e.args.map(Vr(o,a))));case 1:case"end":return t.stop()}}),t)})))})),e.next=7,Promise.all(u);case 7:e.sent.forEach((function(e,r){var u=n[r];try{if(u.setter)return void(a[u.property]=u.args[0]);var s=a[u.property];"drawImage"===u.property&&"string"==typeof u.args[0]?(o.get(t),s.apply(a,u.args)):s.apply(a,e)}catch(c){i(u,c)}}));case 9:case"end":return e.stop()}}),e)})))}function Kr(e){var t=e.event,n=e.mutation,r=e.target,o=e.imageMap,i=e.canvasEventMap,a=e.errorHandler;return Ht(this,void 0,void 0,Vt().mark((function e(){var u,s,c,l;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,u=i.get(t)||n,s="commands"in u?u.commands:[u],![Ke.WebGL,Ke.WebGL2].includes(n.type)){e.next=13;break}c=0;case 5:if(!(c<s.length)){e.next=12;break}return l=s[c],e.next=9,Wr({mutation:l,type:n.type,target:r,imageMap:o,errorHandler:a});case 9:c++,e.next=5;break;case 12:return e.abrupt("return");case 13:return e.next=15,Zr({event:t,mutations:s,target:r,imageMap:o,errorHandler:a});case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(0),a(n,e.t0);case 20:case"end":return e.stop()}}),e,null,[[0,17]])})))}function $r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,s.Z)(e)););return e}function Xr(){return(Xr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=$r(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}}).apply(this,arguments)}var Yr,Jr=n(63349);function Qr(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(Ko){return!1}}();return function(){var n,r=(0,s.Z)(e);if(t){var o=(0,s.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Yr||(Yr={}));var eo=function(){function e(){(0,c.Z)(this,e),this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return(0,l.Z)(e,[{key:"getId",value:function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}},{key:"getNode",value:function(e){return this.idNodeMap.get(e)||null}},{key:"getIds",value:function(){return Array.from(this.idNodeMap.keys())}},{key:"getMeta",value:function(e){return this.nodeMetaMap.get(e)||null}},{key:"removeNodeFromMap",value:function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))}},{key:"has",value:function(e){return this.idNodeMap.has(e)}},{key:"hasNode",value:function(e){return this.nodeMetaMap.has(e)}},{key:"add",value:function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}},{key:"replace",value:function(e,t){var n=this.getNode(e);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}},{key:"reset",value:function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}]),e}();function to(){return new eo}function no(e){var t=[];for(var n in e){var r=e[n];if("string"==typeof r){var o=uo(n);t.push("".concat(o,": ").concat(r,";"))}}return t.join(" ")}var ro=/-([a-z])/g,oo=/^--[a-zA-Z0-9-]+$/,io=function(e){return oo.test(e)?e:e.replace(ro,(function(e,t){return t?t.toUpperCase():""}))},ao=/\B([A-Z])/g,uo=function(e){return e.replace(ao,"-$1").toLowerCase()},so=function(){function e(){(0,c.Z)(this,e),this.parentElement=null,this.parentNode=null,this.firstChild=null,this.lastChild=null,this.previousSibling=null,this.nextSibling=null,this.ELEMENT_NODE=vo.ELEMENT_NODE,this.TEXT_NODE=vo.TEXT_NODE}return(0,l.Z)(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}},{key:"contains",value:function(t){if(!(t instanceof e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1}},{key:"appendChild",value:function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}},{key:"insertBefore",value:function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}},{key:"removeChild",value:function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}},{key:"toString",value:function(){return"RRNode"}}]),e}();function co(e){return function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e,r,o){var i;return(0,c.Z)(this,n),(i=t.call(this)).nodeType=vo.DOCUMENT_TYPE_NODE,i.RRNodeType=Yr.DocumentType,i.name=e,i.publicId=r,i.systemId=o,i.nodeName=e,i.textContent=null,i}return(0,l.Z)(n,[{key:"toString",value:function(){return"RRDocumentType"}}]),n}(e)}function lo(e){return function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).nodeType=vo.ELEMENT_NODE,r.RRNodeType=Yr.Element,r.attributes={},r.shadowRoot=null,r.tagName=e.toUpperCase(),r.nodeName=e.toUpperCase(),r}return(0,l.Z)(n,[{key:"textContent",get:function(){var e="";return this.childNodes.forEach((function(t){return e+=t.textContent})),e},set:function(e){this.firstChild=null,this.lastChild=null,this.appendChild(this.ownerDocument.createTextNode(e))}},{key:"classList",get:function(){var e=this;return new go(this.attributes.class,(function(t){e.attributes.class=t}))}},{key:"id",get:function(){return this.attributes.id||""}},{key:"className",get:function(){return this.attributes.class||""}},{key:"style",get:function(){var e,t,n,r=this,o=this.attributes.style?(e=this.attributes.style,t={},n=/:(.+)/,e.replace(/\/\*.*?\*\//g,"").split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[io(r[0].trim())]=r[1].trim())}})),t):{},i=/\B([A-Z])/g;return o.setProperty=function(e,t,n){if(!i.test(e)){var a=io(e);t?o[a]=t:delete o[a],"important"===n&&(o[a]+=" !important"),r.attributes.style=no(o)}},o.removeProperty=function(e){if(i.test(e))return"";var t=io(e),n=o[t]||"";return delete o[t],r.attributes.style=no(o),n},o}},{key:"getAttribute",value:function(e){return this.attributes[e]||null}},{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"setAttributeNS",value:function(e,t,n){this.setAttribute(t,n)}},{key:"removeAttribute",value:function(e){delete this.attributes[e]}},{key:"appendChild",value:function(e){return mo(this,e)}},{key:"insertBefore",value:function(e,t){return yo(this,e,t)}},{key:"removeChild",value:function(e){return bo(this,e)}},{key:"attachShadow",value:function(e){var t=this.ownerDocument.createElement("SHADOWROOT");return this.shadowRoot=t,t}},{key:"dispatchEvent",value:function(e){return!0}},{key:"toString",value:function(){var e="";for(var t in this.attributes)e+="".concat(t,'="').concat(this.attributes[t],'" ');return"".concat(this.tagName," ").concat(e)}}]),n}(e)}function fo(e){return function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).nodeType=vo.TEXT_NODE,r.nodeName="#text",r.RRNodeType=Yr.Text,r.data=e,r}return(0,l.Z)(n,[{key:"textContent",get:function(){return this.data},set:function(e){this.data=e}},{key:"toString",value:function(){return"RRText text=".concat(JSON.stringify(this.data))}}]),n}(e)}function po(e){return function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).nodeType=vo.COMMENT_NODE,r.nodeName="#comment",r.RRNodeType=Yr.Comment,r.data=e,r}return(0,l.Z)(n,[{key:"textContent",get:function(){return this.data},set:function(e){this.data=e}},{key:"toString",value:function(){return"RRComment text=".concat(JSON.stringify(this.data))}}]),n}(e)}function ho(e){return function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).nodeName="#cdata-section",r.nodeType=vo.CDATA_SECTION_NODE,r.RRNodeType=Yr.CDATA,r.data=e,r}return(0,l.Z)(n,[{key:"textContent",get:function(){return this.data},set:function(e){this.data=e}},{key:"toString",value:function(){return"RRCDATASection data=".concat(JSON.stringify(this.data))}}]),n}(e)}var vo,go=function e(t,n){var r=this;if((0,c.Z)(this,e),this.classes=[],this.add=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var o=0,i=t;o<i.length;o++){var a=i[o],u=String(a);r.classes.indexOf(u)>=0||r.classes.push(u)}r.onChange&&r.onChange(r.classes.join(" "))},this.remove=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.classes=r.classes.filter((function(e){return-1===t.indexOf(e)})),r.onChange&&r.onChange(r.classes.join(" "))},t){var o,i=t.trim().split(/\s+/);(o=this.classes).push.apply(o,(0,le.Z)(i))}this.onChange=n};function mo(e,t){return t.parentNode&&t.parentNode.removeChild(t),e.lastChild?(e.lastChild.nextSibling=t,t.previousSibling=e.lastChild):(e.firstChild=t,t.previousSibling=null),e.lastChild=t,t.nextSibling=null,t.parentNode=e,t.parentElement=e,t.ownerDocument=e.ownerDocument,t}function yo(e,t,n){if(!n)return mo(e,t);if(n.parentNode!==e)throw new Error("Failed to execute 'insertBefore' on 'RRNode': The RRNode before which the new node is to be inserted is not a child of this RRNode.");return t===n||(t.parentNode&&t.parentNode.removeChild(t),t.previousSibling=n.previousSibling,n.previousSibling=t,t.nextSibling=n,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,t.parentElement=e,t.parentNode=e,t.ownerDocument=e.ownerDocument),t}function bo(e,t){if(t.parentNode!==e)throw new Error("Failed to execute 'removeChild' on 'RRNode': The RRNode to be removed is not a child of this RRNode.");return t.previousSibling?t.previousSibling.nextSibling=t.nextSibling:e.firstChild=t.nextSibling,t.nextSibling?t.nextSibling.previousSibling=t.previousSibling:e.lastChild=t.previousSibling,t.previousSibling=null,t.nextSibling=null,t.parentElement=null,t.parentNode=null,t}!function(e){e[e.PLACEHOLDER=0]="PLACEHOLDER",e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.ATTRIBUTE_NODE=2]="ATTRIBUTE_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.ENTITY_REFERENCE_NODE=5]="ENTITY_REFERENCE_NODE",e[e.ENTITY_NODE=6]="ENTITY_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(vo||(vo={}));var wo={svg:"http://www.w3.org/2000/svg","xlink:href":"http://www.w3.org/1999/xlink",xmlns:"http://www.w3.org/2000/xmlns/"},_o={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"},xo=null;function So(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.mirror||t.ownerDocument.mirror;Co(e=ko(e,t,n,r),t,n,r),Eo(e,t,n)}function ko(e,t,n,r){var o;if(n.afterAppend&&!xo&&(xo=new WeakSet,setTimeout((function(){xo=null}),0)),!To(e,t)){var i=Io(t,n.mirror,r);null===(o=e.parentNode)||void 0===o||o.replaceChild(i,e),e=i}switch(t.RRNodeType){case Yr.Document:if(!Oo(e,t,n.mirror,r)){var a=r.getMeta(t);a&&(n.mirror.removeNodeFromMap(e),e.close(),e.open(),n.mirror.add(e,a),null==xo||xo.add(e))}break;case Yr.Element:var u=e,s=t;switch(s.tagName){case"IFRAME":var c=e.contentDocument;if(!c)break;So(c,t.contentDocument,n,r)}s.shadowRoot&&(u.shadowRoot||u.attachShadow({mode:"open"}),Co(u.shadowRoot,s.shadowRoot,n,r)),function(e,t,n){var r=e.attributes,o=t.attributes;for(var i in o){var a=o[i],u=n.getMeta(t);if((null==u?void 0:u.isSVG)&&wo[i])e.setAttributeNS(wo[i],i,a);else if("CANVAS"===t.tagName&&"rr_dataURL"===i)!function(){var t=document.createElement("img");t.src=a,t.onload=function(){var n=e.getContext("2d");n&&n.drawImage(t,0,0,t.width,t.height)}}();else{if("IFRAME"===t.tagName&&"srcdoc"===i)continue;e.setAttribute(i,a)}}for(var s=0,c=Array.from(r);s<c.length;s++){var l=c[s].name;l in o||e.removeAttribute(l)}t.scrollLeft&&(e.scrollLeft=t.scrollLeft),t.scrollTop&&(e.scrollTop=t.scrollTop)}(u,s,r)}return e}function Eo(e,t,n){var r;switch(t.RRNodeType){case Yr.Document:var o=t.scrollData;o&&n.applyScroll(o,!0);break;case Yr.Element:var i=e,a=t;switch(a.scrollData&&n.applyScroll(a.scrollData,!0),a.inputData&&n.applyInput(a.inputData),a.tagName){case"AUDIO":case"VIDEO":var u=e,s=a;void 0!==s.paused&&(s.paused?u.pause():u.play()),void 0!==s.muted&&(u.muted=s.muted),void 0!==s.volume&&(u.volume=s.volume),void 0!==s.currentTime&&(u.currentTime=s.currentTime),void 0!==s.playbackRate&&(u.playbackRate=s.playbackRate);break;case"CANVAS":var c=t;if(null!==c.rr_dataURL){var l=document.createElement("img");l.onload=function(){var e=i.getContext("2d");e&&e.drawImage(l,0,0,l.width,l.height)},l.src=c.rr_dataURL}c.canvasMutations.forEach((function(t){return n.applyCanvas(t.event,t.mutation,e)}));break;case"STYLE":var f=i.sheet;f&&t.rules.forEach((function(e){return n.applyStyleSheetMutation(e,f)}))}break;case Yr.Text:case Yr.Comment:case Yr.CDATA:e.textContent!==t.data&&(e.textContent=t.data)}(null==xo?void 0:xo.has(e))&&(xo.delete(e),null===(r=n.afterAppend)||void 0===r||r.call(n,e,n.mirror.getId(e)))}function Co(e,t,n,r){var o=Array.from(e.childNodes),i=t.childNodes;if(0!==o.length||0!==i.length){for(var a=0,u=o.length-1,s=0,c=i.length-1,l=o[a],f=o[u],d=i[s],p=i[c],h=void 0,v=void 0;a<=u&&s<=c;)if(void 0===l)l=o[++a];else if(void 0===f)f=o[--u];else if(Oo(l,d,n.mirror,r))l=o[++a],d=i[++s];else if(Oo(f,p,n.mirror,r))f=o[--u],p=i[--c];else if(Oo(l,p,n.mirror,r)){try{e.insertBefore(l,f.nextSibling)}catch(Ko){console.warn(Ko)}l=o[++a],p=i[--c]}else if(Oo(f,d,n.mirror,r)){try{e.insertBefore(f,l)}catch(Ko){console.warn(Ko)}f=o[--u],d=i[++s]}else{if(!h){h={};for(var g=a;g<=u;g++){var m=o[g];m&&n.mirror.hasNode(m)&&(h[n.mirror.getId(m)]=g)}}var y=o[v=h[r.getId(d)]];if(void 0!==v&&y&&Oo(y,d,n.mirror,r)){try{e.insertBefore(y,l)}catch(Ko){console.warn(Ko)}o[v]=void 0}else{var b=Io(d,n.mirror,r);"#document"===e.nodeName&&l&&(b.nodeType===b.DOCUMENT_TYPE_NODE&&l.nodeType===l.DOCUMENT_TYPE_NODE||b.nodeType===b.ELEMENT_NODE&&l.nodeType===l.ELEMENT_NODE)&&(e.removeChild(l),n.mirror.removeNodeFromMap(l),l=o[++a]);try{e.insertBefore(b,l||null)}catch(Ko){console.warn(Ko)}}d=i[++s]}if(a>u){var w=i[c+1],_=null;for(w&&(_=n.mirror.getNode(r.getId(w)));s<=c;++s){var x=Io(i[s],n.mirror,r);try{e.insertBefore(x,_)}catch(Ko){console.warn(Ko)}}}else if(s>c)for(;a<=u;a++){var S=o[a];if(S&&S.parentNode===e)try{e.removeChild(S),n.mirror.removeNodeFromMap(S)}catch(Ko){console.warn(Ko)}}for(var k=e.firstChild,E=t.firstChild;null!==k&&null!==E;)So(k,E,n,r),k=k.nextSibling,E=E.nextSibling}}function Io(e,t,n){var r=n.getId(e),o=n.getMeta(e),i=null;if(r>-1&&(i=t.getNode(r)),null!==i&&To(i,e))return i;switch(e.RRNodeType){case Yr.Document:i=new Document;break;case Yr.DocumentType:i=document.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Yr.Element:var a=e.tagName.toLowerCase();a=_o[a]||a,i=o&&"isSVG"in o&&(null==o?void 0:o.isSVG)?document.createElementNS(wo.svg,a):document.createElement(e.tagName);break;case Yr.Text:i=document.createTextNode(e.data);break;case Yr.Comment:i=document.createComment(e.data);break;case Yr.CDATA:i=document.createCDATASection(e.data)}o&&t.add(i,Object.assign({},o));try{null==xo||xo.add(i)}catch(Ko){}return i}function To(e,t){return e.nodeType===t.nodeType&&(e.nodeType!==e.ELEMENT_NODE||e.tagName.toUpperCase()===t.tagName)}function Oo(e,t,n,r){var o=n.getId(e),i=r.getId(t);return-1!==o&&o===i&&To(e,t)}var Ao=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this)).UNSERIALIZED_STARTING_ID=-2,r._unserializedId=r.UNSERIALIZED_STARTING_ID,r.mirror=new zo,r.scrollData=null,e&&(r.mirror=e),r}return(0,l.Z)(n,[{key:"unserializedId",get:function(){return this._unserializedId--}},{key:"createDocument",value:function(e,t,r){return new n}},{key:"createDocumentType",value:function(e,t,n){var r=new Do(e,t,n);return r.ownerDocument=this,r}},{key:"createElement",value:function(e){var t,n=e.toUpperCase();switch(n){case"AUDIO":case"VIDEO":t=new No(n);break;case"IFRAME":t=new Lo(n,this.mirror);break;case"CANVAS":t=new Mo(n);break;case"STYLE":t=new jo(n);break;default:t=new Po(n)}return t.ownerDocument=this,t}},{key:"createComment",value:function(e){var t=new Fo(e);return t.ownerDocument=this,t}},{key:"createCDATASection",value:function(e){var t=new Uo(e);return t.ownerDocument=this,t}},{key:"createTextNode",value:function(e){var t=new Ro(e);return t.ownerDocument=this,t}},{key:"destroyTree",value:function(){this.firstChild=null,this.lastChild=null,this.mirror.reset()}},{key:"open",value:function(){Xr((0,s.Z)(n.prototype),"open",this).call(this),this._unserializedId=this.UNSERIALIZED_STARTING_ID}}]),n}(function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){var e;(0,c.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call(this,o)).nodeType=vo.DOCUMENT_NODE,e.nodeName="#document",e.compatMode="CSS1Compat",e.RRNodeType=Yr.Document,e.textContent=null,e.ownerDocument=(0,Jr.Z)(e),e}return(0,l.Z)(n,[{key:"documentElement",get:function(){return this.childNodes.find((function(e){return e.RRNodeType===Yr.Element&&"HTML"===e.tagName}))||null}},{key:"body",get:function(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((function(e){return e.RRNodeType===Yr.Element&&"BODY"===e.tagName})))||null}},{key:"head",get:function(){var e;return(null===(e=this.documentElement)||void 0===e?void 0:e.childNodes.find((function(e){return e.RRNodeType===Yr.Element&&"HEAD"===e.tagName})))||null}},{key:"implementation",get:function(){return this}},{key:"firstElementChild",get:function(){return this.documentElement}},{key:"appendChild",value:function(e){var t=e.RRNodeType;if((t===Yr.Element||t===Yr.DocumentType)&&this.childNodes.some((function(e){return e.RRNodeType===t})))throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': Only one ".concat(t===Yr.Element?"RRElement":"RRDoctype"," on RRDocument allowed."));var n=mo(this,e);return n.parentElement=null,n}},{key:"insertBefore",value:function(e,t){var n=e.RRNodeType;if((n===Yr.Element||n===Yr.DocumentType)&&this.childNodes.some((function(e){return e.RRNodeType===n})))throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': Only one ".concat(n===Yr.Element?"RRElement":"RRDoctype"," on RRDocument allowed."));var r=yo(this,e,t);return r.parentElement=null,r}},{key:"removeChild",value:function(e){return bo(this,e)}},{key:"open",value:function(){this.firstChild=null,this.lastChild=null}},{key:"close",value:function(){}},{key:"write",value:function(e){var t;if('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'===e?t="-//W3C//DTD XHTML 1.0 Transitional//EN":'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">'===e&&(t="-//W3C//DTD HTML 4.0 Transitional//EN"),t){var n=this.createDocumentType("html",t,"");this.open(),this.appendChild(n)}}},{key:"createDocument",value:function(e,t,r){return new n}},{key:"createDocumentType",value:function(e,t,n){var r=new(co(so))(e,t,n);return r.ownerDocument=this,r}},{key:"createElement",value:function(e){var t=new(lo(so))(e);return t.ownerDocument=this,t}},{key:"createElementNS",value:function(e,t){return this.createElement(t)}},{key:"createTextNode",value:function(e){var t=new(fo(so))(e);return t.ownerDocument=this,t}},{key:"createComment",value:function(e){var t=new(po(so))(e);return t.ownerDocument=this,t}},{key:"createCDATASection",value:function(e){var t=new(ho(so))(e);return t.ownerDocument=this,t}},{key:"toString",value:function(){return"RRDocument"}}]),n}(so)),Do=co(so),Po=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){var e;return(0,c.Z)(this,n),(e=t.apply(this,arguments)).inputData=null,e.scrollData=null,e}return n}(lo(so)),No=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return n}(function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){return(0,c.Z)(this,n),t.apply(this,arguments)}return(0,l.Z)(n,[{key:"attachShadow",value:function(e){throw new Error("RRDomException: Failed to execute 'attachShadow' on 'RRElement': This RRElement does not support attachShadow")}},{key:"play",value:function(){this.paused=!1}},{key:"pause",value:function(){this.paused=!0}}]),n}(Po)),Mo=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){var e;return(0,c.Z)(this,n),(e=t.apply(this,arguments)).rr_dataURL=null,e.canvasMutations=[],e}return(0,l.Z)(n,[{key:"getContext",value:function(){return null}}]),n}(Po),jo=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(){var e;return(0,c.Z)(this,n),(e=t.apply(this,arguments)).rules=[],e}return n}(Po),Lo=function(e){(0,a.Z)(n,e);var t=Qr(n);function n(e,r){var o;return(0,c.Z)(this,n),(o=t.call(this,e)).contentDocument=new Ao,o.contentDocument.mirror=r,o}return n}(Po),Ro=fo(so),Fo=po(so),Uo=ho(so);function Bo(e,t,n,r){var o,i;switch(e.nodeType){case vo.DOCUMENT_NODE:r&&"IFRAME"===r.nodeName?o=r.contentDocument:(o=t).compatMode=e.compatMode;break;case vo.DOCUMENT_TYPE_NODE:var a=e;o=t.createDocumentType(a.name,a.publicId,a.systemId);break;case vo.ELEMENT_NODE:for(var u=e,s=(i=u)instanceof HTMLFormElement?"FORM":i.tagName.toUpperCase(),c=o=t.createElement(s),l=0,f=Array.from(u.attributes);l<f.length;l++){var d=f[l],p=d.name,h=d.value;c.attributes[p]=h}u.scrollLeft&&(c.scrollLeft=u.scrollLeft),u.scrollTop&&(c.scrollTop=u.scrollTop);break;case vo.TEXT_NODE:o=t.createTextNode(e.textContent||"");break;case vo.CDATA_SECTION_NODE:o=t.createCDATASection(e.data);break;case vo.COMMENT_NODE:o=t.createComment(e.textContent||"");break;case vo.DOCUMENT_FRAGMENT_NODE:o=r.attachShadow({mode:"open"});break;default:return null}var v=n.getMeta(e);return t instanceof Ao&&(v||(v=Vo(o,t.unserializedId),n.add(e,v)),t.mirror.add(o,Object.assign({},v))),o}var zo=function(){function e(){(0,c.Z)(this,e),this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return(0,l.Z)(e,[{key:"getId",value:function(e){var t;if(!e)return-1;var n=null===(t=this.getMeta(e))||void 0===t?void 0:t.id;return null!=n?n:-1}},{key:"getNode",value:function(e){return this.idNodeMap.get(e)||null}},{key:"getIds",value:function(){return Array.from(this.idNodeMap.keys())}},{key:"getMeta",value:function(e){return this.nodeMetaMap.get(e)||null}},{key:"removeNodeFromMap",value:function(e){var t=this,n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))}},{key:"has",value:function(e){return this.idNodeMap.has(e)}},{key:"hasNode",value:function(e){return this.nodeMetaMap.has(e)}},{key:"add",value:function(e,t){var n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}},{key:"replace",value:function(e,t){var n=this.getNode(e);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}},{key:"reset",value:function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}]),e}();function Vo(e,t){switch(e.RRNodeType){case Yr.Document:return{id:t,type:e.RRNodeType,childNodes:[]};case Yr.DocumentType:var n=e;return{id:t,type:e.RRNodeType,name:n.name,publicId:n.publicId,systemId:n.systemId};case Yr.Element:return{id:t,type:e.RRNodeType,tagName:e.tagName.toLowerCase(),attributes:{},childNodes:[]};case Yr.Text:case Yr.Comment:return{id:t,type:e.RRNodeType,textContent:e.textContent||""};case Yr.CDATA:return{id:t,type:e.RRNodeType,textContent:""}}}function Ho(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map((function(e){e(n)})),(r=e.get("*"))&&r.slice().map((function(e){e(t,n)}))}}}var Go,qo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;(0,c.Z)(this,e),this.timeOffset=0,this.raf=null,this.actions=t,this.speed=n.speed}return(0,l.Z)(e,[{key:"addAction",value:function(e){var t=!0===this.raf;if(!this.actions.length||this.actions[this.actions.length-1].delay<=e.delay)this.actions.push(e);else{var n=this.findActionIndex(e);this.actions.splice(n,0,e)}t&&(this.raf=requestAnimationFrame(this.rafCheck.bind(this)))}},{key:"start",value:function(){this.timeOffset=0,this.lastTimestamp=performance.now(),this.raf=requestAnimationFrame(this.rafCheck.bind(this))}},{key:"rafCheck",value:function(){var e=performance.now();for(this.timeOffset+=(e-this.lastTimestamp)*this.speed,this.lastTimestamp=e;this.actions.length;){var t=this.actions[0];if(!(this.timeOffset>=t.delay))break;this.actions.shift(),t.doAction()}this.actions.length>0?this.raf=requestAnimationFrame(this.rafCheck.bind(this)):this.raf=!0}},{key:"clear",value:function(){this.raf&&(!0!==this.raf&&cancelAnimationFrame(this.raf),this.raf=null),this.actions.length=0}},{key:"setSpeed",value:function(e){this.speed=e}},{key:"isActive",value:function(){return null!==this.raf}},{key:"findActionIndex",value:function(e){for(var t=0,n=this.actions.length-1;t<=n;){var r=Math.floor((t+n)/2);if(this.actions[r].delay<e.delay)t=r+1;else{if(!(this.actions[r].delay>e.delay))return r+1;n=r-1}}return t}}]),e}();function Wo(e,t){if(e.type===Ge.IncrementalSnapshot&&e.data.source===qe.MouseMove&&e.data.positions&&e.data.positions.length){var n=e.data.positions[0].timeOffset,r=e.timestamp+n;return e.delay=r-t,r-t}return e.delay=e.timestamp-t,e.delay}function Zo(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(Go||(Go={}));var Ko={type:"xstate.init"};function $o(e){return void 0===e?[]:[].concat(e)}function Xo(e){return{type:"xstate.assign",assignment:e}}function Yo(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function Jo(e){return function(t){return e===t}}function Qo(e){return"string"==typeof e?{type:e}:e}function ei(e,t){return{value:e,context:t,actions:[],changed:!1,matches:Jo(e)}}function ti(e,t,n){var r=t,o=!1;return[e.filter((function(e){if("xstate.assign"===e.type){o=!0;var t=Object.assign({},r);return"function"==typeof e.assignment?t=e.assignment(r,n):Object.keys(e.assignment).forEach((function(o){t[o]="function"==typeof e.assignment[o]?e.assignment[o](r,n):e.assignment[o]})),r=t,!1}return!0})),r,o]}function ni(e,t){void 0===t&&(t={});var n=Zo(ti($o(e.states[e.initial].entry).map((function(e){return Yo(e,t.actions)})),e.context,Ko),2),r=n[0],o=n[1],i={config:e,_options:t,initialState:{value:e.initial,actions:r,context:o,matches:Jo(e.initial)},transition:function(t,n){var r,o,a="string"==typeof t?{value:t,context:e.context}:t,u=a.value,s=a.context,c=Qo(n),l=e.states[u];if(l.on){var f=$o(l.on[c.type]);try{for(var d=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),p=d.next();!p.done;p=d.next()){var h=p.value;if(void 0===h)return ei(u,s);var v="string"==typeof h?{target:h}:h,g=v.target,m=v.actions,y=void 0===m?[]:m,b=v.cond,w=void 0===b?function(){return!0}:b,_=void 0===g,x=null!=g?g:u,S=e.states[x];if(w(s,c)){var k=Zo(ti((_?$o(y):[].concat(l.exit,y,S.entry).filter((function(e){return e}))).map((function(e){return Yo(e,i._options.actions)})),s,c),3),E=k[0],C=k[1],I=k[2],T=null!=g?g:u;return{value:T,context:C,actions:E,changed:g!==u||E.length>0||I,matches:Jo(T)}}}}catch(Zo){r={error:Zo}}finally{try{p&&!p.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}return ei(u,s)}};return i}var ri=function(e,t){return e.actions.forEach((function(n){var r=n.exec;return r&&r(e.context,t)}))};function oi(e){var t=e.initialState,n=Go.NotStarted,r=new Set,o={_machine:e,send:function(o){n===Go.Running&&(t=e.transition(t,o),ri(t,Qo(o)),r.forEach((function(e){return e(t)})))},subscribe:function(e){return r.add(e),e(t),{unsubscribe:function(){return r.delete(e)}}},start:function(r){if(r){var i="object"==typeof r?r:{context:e.config.context,value:r};t={value:i.value,actions:[],context:i.context,matches:Jo(i.value)}}return n=Go.Running,ri(t,Ko),o},stop:function(){return n=Go.Stopped,r.clear(),o},get state(){return t},get status(){return n}};return o}function ii(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ai(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ai(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function ai(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ui(e,t){var n=t.getCastFn,r=t.applyEventsSynchronously,o=t.emitter;return oi(ni({id:"player",context:e,initial:"paused",states:{playing:{on:{PAUSE:{target:"paused",actions:["pause"]},CAST_EVENT:{target:"playing",actions:"castEvent"},END:{target:"paused",actions:["resetLastPlayedEvent","pause"]},ADD_EVENT:{target:"playing",actions:["addEvent"]}}},paused:{on:{PLAY:{target:"playing",actions:["recordTimeOffset","play"]},CAST_EVENT:{target:"paused",actions:"castEvent"},TO_LIVE:{target:"live",actions:["startLive"]},ADD_EVENT:{target:"paused",actions:["addEvent"]}}},live:{on:{ADD_EVENT:{target:"live",actions:["addEvent"]},CAST_EVENT:{target:"live",actions:["castEvent"]}}}}},{actions:{castEvent:Xo({lastPlayedEvent:function(e,t){return"CAST_EVENT"===t.type?t.payload.event:e.lastPlayedEvent}}),recordTimeOffset:Xo((function(e,t){var n=e.timeOffset;return"payload"in t&&"timeOffset"in t.payload&&(n=t.payload.timeOffset),Object.assign(Object.assign({},e),{timeOffset:n,baselineTime:e.events[0].timestamp+n})})),play:function(e){var t,i=e.timer,a=e.events,u=e.baselineTime,s=e.lastPlayedEvent;i.clear();var c,l=ii(a);try{for(l.s();!(c=l.n()).done;){Wo(c.value,u)}}catch(m){l.e(m)}finally{l.f()}var f=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.type===Ge.Meta&&r.timestamp<=t)return e.slice(n)}return e}(a,u),d=null==s?void 0:s.timestamp;(null==s?void 0:s.type)===Ge.IncrementalSnapshot&&s.data.source===qe.MouseMove&&(d=s.timestamp+(null===(t=s.data.positions[0])||void 0===t?void 0:t.timeOffset)),u<(d||0)&&o.emit($e.PlayBack);var p,h=new Array,v=ii(f);try{for(v.s();!(p=v.n()).done;){var g=p.value;d&&d<u&&(g.timestamp<=d||g===s)||(g.timestamp<u?h.push(g):function(){var e=n(g,!1);i.addAction({doAction:function(){e()},delay:g.delay})}())}}catch(m){v.e(m)}finally{v.f()}r(h),o.emit($e.Flush),i.start()},pause:function(e){e.timer.clear()},resetLastPlayedEvent:Xo((function(e){return Object.assign(Object.assign({},e),{lastPlayedEvent:null})})),startLive:Xo({baselineTime:function(e,t){return e.timer.start(),"TO_LIVE"===t.type&&t.payload.baselineTime?t.payload.baselineTime:Date.now()}}),addEvent:Xo((function(e,t){var r=e.baselineTime,o=e.timer,i=e.events;if("ADD_EVENT"===t.type){var a=t.payload.event;Wo(a,r);var u=i.length-1;if(!i[u]||i[u].timestamp<=a.timestamp)i.push(a);else{for(var s=-1,c=0;c<=u;){var l=Math.floor((c+u)/2);i[l].timestamp<=a.timestamp?c=l+1:u=l-1}-1===s&&(s=c),i.splice(s,0,a)}var f=a.timestamp<r,d=n(a,f);f?d():o.isActive()&&o.addAction({doAction:function(){d()},delay:a.delay})}return Object.assign(Object.assign({},e),{events:i})}))}}))}function si(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ci(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ci(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var li=Ho||o,fi="[replayer]",di={duration:500,lineCap:"round",lineWidth:3,strokeStyle:"red"};function pi(e){return e.type==Ge.IncrementalSnapshot&&(e.data.source==qe.TouchMove||e.data.source==qe.MouseInteraction&&e.data.type==We.TouchStart)}var hi=function(){function e(t,n){var r=this;if((0,c.Z)(this,e),this.usingVirtualDom=!1,this.virtualDom=new Ao,this.mouseTail=null,this.tailPositions=[],this.emitter=li(),this.legacy_missingNodeRetryMap={},this.cache=ie(),this.imageMap=new Map,this.canvasEventMap=new Map,this.mirror=w(),this.styleMirror=new Ue,this.firstFullSnapshot=null,this.newDocumentQueue=[],this.mousePos=null,this.touchActive=null,this.lastMouseDownEvent=null,this.lastSelectionData=null,this.constructedStyleMutations=[],this.adoptedStyleSheets=[],this.handleResize=function(e){r.iframe.style.display="inherit";for(var t=0,n=[r.mouseTail,r.iframe];t<n.length;t++){var o=n[t];o&&(o.setAttribute("width",String(e.width)),o.setAttribute("height",String(e.height)))}},this.applyEventsSynchronously=function(e){var t,n=si(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;switch(o.type){case Ge.DomContentLoaded:case Ge.Load:case Ge.Custom:continue;case Ge.FullSnapshot:case Ge.Meta:case Ge.Plugin:case Ge.IncrementalSnapshot:}r.getCastFn(o,!0)()}}catch(i){n.e(i)}finally{n.f()}},this.getCastFn=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case Ge.DomContentLoaded:case Ge.Load:break;case Ge.Custom:t=function(){r.emitter.emit($e.CustomEvent,e)};break;case Ge.Meta:t=function(){return r.emitter.emit($e.Resize,{width:e.data.width,height:e.data.height})};break;case Ge.FullSnapshot:t=function(){var t;if(r.firstFullSnapshot){if(r.firstFullSnapshot===e)return void(r.firstFullSnapshot=!0)}else r.firstFullSnapshot=!0;r.rebuildFullSnapshot(e,n),null===(t=r.iframe.contentWindow)||void 0===t||t.scrollTo(e.data.initialOffset),r.styleMirror.reset()};break;case Ge.IncrementalSnapshot:t=function(){if(r.applyIncremental(e,n),!n&&(e===r.nextUserInteractionEvent&&(r.nextUserInteractionEvent=null,r.backToNormal()),r.config.skipInactive&&!r.nextUserInteractionEvent)){var t,o=si(r.service.state.context.events);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(!(i.timestamp<=e.timestamp)&&r.isUserInteraction(i)){i.delay-e.delay>1e4*r.speedService.state.context.timer.speed&&(r.nextUserInteractionEvent=i);break}}}catch(s){o.e(s)}finally{o.f()}if(r.nextUserInteractionEvent){var a=r.nextUserInteractionEvent.delay-e.delay,u={speed:Math.min(Math.round(a/5e3),r.config.maxSpeed)};r.speedService.send({type:"FAST_FORWARD",payload:u}),r.emitter.emit($e.SkipStart,u)}}}}var o=function(){t&&t();var o,i=si(r.config.plugins||[]);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.handler&&a.handler(e,n,{replayer:r})}}catch(c){i.e(c)}finally{i.f()}r.service.send({type:"CAST_EVENT",payload:{event:e}});var u=r.service.state.context.events.length-1;if(!r.config.liveMode&&e===r.service.state.context.events[u]){var s=50;e.type===Ge.IncrementalSnapshot&&e.data.source===qe.MouseMove&&e.data.positions.length&&(s+=Math.max(0,-e.data.positions[0].timeOffset)),setTimeout((function(){u<r.service.state.context.events.length-1||(r.backToNormal(),r.service.send("END"),r.emitter.emit($e.Finish))}),s)}r.emitter.emit($e.EventCast,e)};return o},!(null==n?void 0:n.liveMode)&&t.length<2)throw new Error("Replayer need at least 2 events.");var o={speed:1,maxSpeed:360,root:document.body,loadTimeout:0,skipInactive:!1,showWarning:!0,showDebug:!1,blockClass:"rr-block",liveMode:!1,insertStyleRules:[],triggerFocus:!0,UNSAFE_replayCanvas:!1,pauseAnimation:!0,mouseTail:di,useVirtualDom:!0,logger:console};this.config=Object.assign({},o,n),this.handleResize=this.handleResize.bind(this),this.getCastFn=this.getCastFn.bind(this),this.applyEventsSynchronously=this.applyEventsSynchronously.bind(this),this.emitter.on($e.Resize,this.handleResize),this.setupDom();var i,a=si(this.config.plugins||[]);try{for(a.s();!(i=a.n()).done;){var u=i.value;u.getMirror&&u.getMirror({nodeMirror:this.mirror})}}catch(v){a.e(v)}finally{a.f()}this.emitter.on($e.Flush,(function(){if(r.usingVirtualDom){var e={mirror:r.mirror,applyCanvas:function(e,t,n){Kr({event:e,mutation:t,target:n,imageMap:r.imageMap,canvasEventMap:r.canvasEventMap,errorHandler:r.warnCanvasMutationFailed.bind(r)})},applyInput:r.applyInput.bind(r),applyScroll:r.applyScroll.bind(r),applyStyleSheetMutation:function(e,t){e.source===qe.StyleSheetRule?r.applyStyleSheetRule(e,t):e.source===qe.StyleDeclaration&&r.applyStyleDeclaration(e,t)},afterAppend:function(e,t){var n,o=si(r.config.plugins||[]);try{for(o.s();!(n=o.n()).done;){var i=n.value;i.onBuild&&i.onBuild(e,{id:t,replayer:r})}}catch(v){o.e(v)}finally{o.f()}}};if(r.iframe.contentDocument)try{So(r.iframe.contentDocument,r.virtualDom,e,r.virtualDom.mirror)}catch(Ko){console.warn(Ko)}if(r.virtualDom.destroyTree(),r.usingVirtualDom=!1,Object.keys(r.legacy_missingNodeRetryMap).length)for(var t in r.legacy_missingNodeRetryMap)try{var n=r.legacy_missingNodeRetryMap[t],o=Io(n.node,r.mirror,r.virtualDom.mirror);So(o,n.node,e,r.virtualDom.mirror),n.node=o}catch(s){r.warn(s)}r.constructedStyleMutations.forEach((function(e){r.applyStyleSheetMutation(e)})),r.constructedStyleMutations=[],r.adoptedStyleSheets.forEach((function(e){r.applyAdoptedStyleSheet(e)})),r.adoptedStyleSheets=[]}if(r.mousePos&&(r.moveAndHover(r.mousePos.x,r.mousePos.y,r.mousePos.id,!0,r.mousePos.debugData),r.mousePos=null),!0===r.touchActive?r.mouse.classList.add("touch-active"):!1===r.touchActive&&r.mouse.classList.remove("touch-active"),r.touchActive=null,r.lastMouseDownEvent){var i=(0,ce.Z)(r.lastMouseDownEvent,2),a=i[0],u=i[1];a.dispatchEvent(u)}r.lastMouseDownEvent=null,r.lastSelectionData&&(r.applySelection(r.lastSelectionData),r.lastSelectionData=null)})),this.emitter.on($e.PlayBack,(function(){r.firstFullSnapshot=null,r.mirror.reset(),r.styleMirror.reset()}));var s=new qo([],{speed:this.config.speed});this.service=ui({events:t.map((function(e){return n&&n.unpackFn?n.unpackFn(e):e})).sort((function(e,t){return e.timestamp-t.timestamp})),timer:s,timeOffset:0,baselineTime:0,lastPlayedEvent:null},{getCastFn:this.getCastFn,applyEventsSynchronously:this.applyEventsSynchronously,emitter:this.emitter}),this.service.start(),this.service.subscribe((function(e){r.emitter.emit($e.StateChange,{player:e})})),this.speedService=oi(ni({id:"speed",context:{normalSpeed:-1,timer:s},initial:"normal",states:{normal:{on:{FAST_FORWARD:{target:"skipping",actions:["recordSpeed","setSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}},skipping:{on:{BACK_TO_NORMAL:{target:"normal",actions:["restoreSpeed"]},SET_SPEED:{target:"normal",actions:["setSpeed"]}}}}},{actions:{setSpeed:function(e,t){"payload"in t&&e.timer.setSpeed(t.payload.speed)},recordSpeed:Xo({normalSpeed:function(e){return e.timer.speed}}),restoreSpeed:function(e){e.timer.setSpeed(e.normalSpeed)}}})),this.speedService.start(),this.speedService.subscribe((function(e){r.emitter.emit($e.StateChange,{speed:e})}));var l=this.service.state.context.events.find((function(e){return e.type===Ge.Meta})),f=this.service.state.context.events.find((function(e){return e.type===Ge.FullSnapshot}));if(l){var d=l.data,p=d.width,h=d.height;setTimeout((function(){r.emitter.emit($e.Resize,{width:p,height:h})}),0)}f&&setTimeout((function(){var e;r.firstFullSnapshot||(r.firstFullSnapshot=f,r.rebuildFullSnapshot(f),null===(e=r.iframe.contentWindow)||void 0===e||e.scrollTo(f.data.initialOffset))}),1),this.service.state.context.events.find(pi)&&this.mouse.classList.add("touch-device")}return(0,l.Z)(e,[{key:"timer",get:function(){return this.service.state.context.timer}},{key:"on",value:function(e,t){return this.emitter.on(e,t),this}},{key:"off",value:function(e,t){return this.emitter.off(e,t),this}},{key:"setConfig",value:function(e){var t=this;Object.keys(e).forEach((function(n){e[n],t.config[n]=e[n]})),this.config.skipInactive||this.backToNormal(),void 0!==e.speed&&this.speedService.send({type:"SET_SPEED",payload:{speed:e.speed}}),void 0!==e.mouseTail&&(!1===e.mouseTail?this.mouseTail&&(this.mouseTail.style.display="none"):(this.mouseTail||(this.mouseTail=document.createElement("canvas"),this.mouseTail.width=Number.parseFloat(this.iframe.width),this.mouseTail.height=Number.parseFloat(this.iframe.height),this.mouseTail.classList.add("replayer-mouse-tail"),this.wrapper.insertBefore(this.mouseTail,this.iframe)),this.mouseTail.style.display="inherit"))}},{key:"getMetaData",value:function(){var e=this.service.state.context.events[0],t=this.service.state.context.events[this.service.state.context.events.length-1];return{startTime:e.timestamp,endTime:t.timestamp,totalTime:t.timestamp-e.timestamp}}},{key:"getCurrentTime",value:function(){return this.timer.timeOffset+this.getTimeOffset()}},{key:"getTimeOffset",value:function(){var e=this.service.state.context;return e.baselineTime-e.events[0].timestamp}},{key:"getMirror",value:function(){return this.mirror}},{key:"play",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.service.state.matches("paused")||this.service.send({type:"PAUSE"}),this.service.send({type:"PLAY",payload:{timeOffset:n}}),null===(t=null===(e=this.iframe.contentDocument)||void 0===e?void 0:e.getElementsByTagName("html")[0])||void 0===t||t.classList.remove("rrweb-paused"),this.emitter.emit($e.Start)}},{key:"pause",value:function(e){var t,n;void 0===e&&this.service.state.matches("playing")&&this.service.send({type:"PAUSE"}),"number"==typeof e&&(this.play(e),this.service.send({type:"PAUSE"})),null===(n=null===(t=this.iframe.contentDocument)||void 0===t?void 0:t.getElementsByTagName("html")[0])||void 0===n||n.classList.add("rrweb-paused"),this.emitter.emit($e.Pause)}},{key:"resume",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.warn("The 'resume' was deprecated in 1.0. Please use 'play' method which has the same interface."),this.play(e),this.emitter.emit($e.Resume)}},{key:"destroy",value:function(){this.pause(),this.config.root.removeChild(this.wrapper),this.emitter.emit($e.Destroy)}},{key:"startLive",value:function(e){this.service.send({type:"TO_LIVE",payload:{baselineTime:e}})}},{key:"addEvent",value:function(e){var t=this,n=this.config.unpackFn?this.config.unpackFn(e):e;pi(n)&&this.mouse.classList.add("touch-device"),Promise.resolve().then((function(){return t.service.send({type:"ADD_EVENT",payload:{event:n}})}))}},{key:"enableInteract",value:function(){this.iframe.setAttribute("scrolling","auto"),this.iframe.style.pointerEvents="auto"}},{key:"disableInteract",value:function(){this.iframe.setAttribute("scrolling","no"),this.iframe.style.pointerEvents="none"}},{key:"resetCache",value:function(){this.cache=ie()}},{key:"setupDom",value:function(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("replayer-wrapper"),this.config.root.appendChild(this.wrapper),this.mouse=document.createElement("div"),this.mouse.classList.add("replayer-mouse"),this.wrapper.appendChild(this.mouse),!1!==this.config.mouseTail&&(this.mouseTail=document.createElement("canvas"),this.mouseTail.classList.add("replayer-mouse-tail"),this.mouseTail.style.display="inherit",this.wrapper.appendChild(this.mouseTail)),this.iframe=document.createElement("iframe");var e=["allow-same-origin"];this.config.UNSAFE_replayCanvas&&e.push("allow-scripts"),this.iframe.style.display="none",this.iframe.setAttribute("sandbox",e.join(" ")),this.disableInteract(),this.wrapper.appendChild(this.iframe),this.iframe.contentWindow&&this.iframe.contentDocument&&(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n=e.HTMLElement||e.Element,r=468,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:n.prototype.scroll||s,scrollIntoView:n.prototype.scrollIntoView},i=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=u(e.navigator.userAgent)?1:0;e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?g.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):g.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;g.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=h(this),r=n.getBoundingClientRect(),i=this.getBoundingClientRect();n!==t.body?(g.call(this,n,n.scrollLeft+i.left-r.left,n.scrollTop+i.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function u(e){return new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(e)}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function c(e){return.5*(1-Math.cos(Math.PI*e))}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function f(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function d(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function p(e){var t=f(e,"Y")&&d(e,"Y"),n=f(e,"X")&&d(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===p(e);)e=e.parentNode||e.host;return e}function v(t){var n,o,a,u=(i()-t.startTime)/r;n=c(u=u>1?1:u),o=t.startX+(t.x-t.startX)*n,a=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,o,a),o===t.x&&a===t.y||e.requestAnimationFrame(v.bind(e,t))}function g(n,r,a){var u,c,l,f,d=i();n===t.body?(u=e,c=e.scrollX||e.pageXOffset,l=e.scrollY||e.pageYOffset,f=o.scroll):(u=n,c=n.scrollLeft,l=n.scrollTop,f=s),v({scrollable:u,method:f,startTime:d,startX:c,startY:l,x:r,y:a})}}(this.iframe.contentWindow,this.iframe.contentDocument),Oe(this.iframe.contentWindow))}},{key:"rebuildFullSnapshot",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.iframe.contentDocument)return this.warn("Looks like your replayer has been destroyed.");Object.keys(this.legacy_missingNodeRetryMap).length&&this.warn("Found unresolved missing node map",this.legacy_missingNodeRetryMap),this.legacy_missingNodeRetryMap={};var r=[],o=function(e,n){t.collectIframeAndAttachDocument(r,e);var o,i=si(t.config.plugins||[]);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.onBuild&&a.onBuild(e,{id:n,replayer:t})}}catch(u){i.e(u)}finally{i.f()}};this.usingVirtualDom&&(this.virtualDom.destroyTree(),this.usingVirtualDom=!1),this.mirror.reset(),se(e.data.node,{doc:this.iframe.contentDocument,afterAppend:o,cache:this.cache,mirror:this.mirror}),o(this.iframe.contentDocument,e.data.node.id);for(var i=function(){var e=u[a],n=e.mutationInQueue,r=e.builtNode;t.attachDocumentToIframe(n,r),t.newDocumentQueue=t.newDocumentQueue.filter((function(e){return e!==n}))},a=0,u=r;a<u.length;a++)i();var s=this.iframe.contentDocument,c=s.documentElement,l=s.head;this.insertStyleRules(c,l),this.service.state.matches("playing")||this.iframe.contentDocument.getElementsByTagName("html")[0].classList.add("rrweb-paused"),this.emitter.emit($e.FullsnapshotRebuilded,e),n||this.waitForStylesheetLoad(),this.config.UNSAFE_replayCanvas&&this.preloadAllImages()}},{key:"insertStyleRules",value:function(e,t){var n,r,o=(r=this.config.blockClass,[".".concat(r," { background: currentColor }"),"noscript { display: none !important; }"]).concat(this.config.insertStyleRules);if(this.config.pauseAnimation&&o.push("html.rrweb-paused *, html.rrweb-paused *:before, html.rrweb-paused *:after { animation-play-state: paused !important; }"),this.usingVirtualDom){var i=this.virtualDom.createElement("style");this.virtualDom.mirror.add(i,Vo(i,this.virtualDom.unserializedId)),e.insertBefore(i,t),i.rules.push({source:qe.StyleSheetRule,adds:o.map((function(e,t){return{rule:e,index:t}}))})}else{var a=document.createElement("style");e.insertBefore(a,t);for(var u=0;u<o.length;u++)null===(n=a.sheet)||void 0===n||n.insertRule(o[u],u)}}},{key:"attachDocumentToIframe",value:function(e,t){var n=this,r=this.usingVirtualDom?this.virtualDom.mirror:this.mirror,o=[],a=function(e,a){n.collectIframeAndAttachDocument(o,e);var u=r.getMeta(e);if((null==u?void 0:u.type)===i.Element&&"HTML"===(null==u?void 0:u.tagName.toUpperCase())){var s=t.contentDocument,c=s.documentElement,l=s.head;n.insertStyleRules(c,l)}if(!n.usingVirtualDom){var f,d=si(n.config.plugins||[]);try{for(d.s();!(f=d.n()).done;){var p=f.value;p.onBuild&&p.onBuild(e,{id:a,replayer:n})}}catch(h){d.e(h)}finally{d.f()}}};ue(e.node,{doc:t.contentDocument,mirror:r,hackCss:!0,skipChild:!1,afterAppend:a,cache:this.cache}),a(t.contentDocument,e.node.id);for(var u=function(){var e=c[s],t=e.mutationInQueue,r=e.builtNode;n.attachDocumentToIframe(t,r),n.newDocumentQueue=n.newDocumentQueue.filter((function(e){return e!==t}))},s=0,c=o;s<c.length;s++)u()}},{key:"collectIframeAndAttachDocument",value:function(e,t){var n=this;if(Pe(t,this.mirror)){var r=this.newDocumentQueue.find((function(e){return e.parentId===n.mirror.getId(t)}));r&&e.push({mutationInQueue:r,builtNode:t})}}},{key:"waitForStylesheetLoad",value:function(){var e,t=this,n=null===(e=this.iframe.contentDocument)||void 0===e?void 0:e.head;if(n){var r,o=new Set,i=this.service.state,a=function(){i=t.service.state};this.emitter.on($e.Start,a),this.emitter.on($e.Pause,a);var u=function(){t.emitter.off($e.Start,a),t.emitter.off($e.Pause,a)};n.querySelectorAll('link[rel="stylesheet"]').forEach((function(e){e.sheet||(o.add(e),e.addEventListener("load",(function(){o.delete(e),0===o.size&&-1!==r&&(i.matches("playing")&&t.play(t.getCurrentTime()),t.emitter.emit($e.LoadStylesheetEnd),r&&clearTimeout(r),u())})))})),o.size>0&&(this.service.send({type:"PAUSE"}),this.emitter.emit($e.LoadStylesheetStart),r=setTimeout((function(){i.matches("playing")&&t.play(t.getCurrentTime()),r=-1,u()}),this.config.loadTimeout))}}},{key:"preloadAllImages",value:function(){return Ht(this,void 0,void 0,Vt().mark((function e(){var t,n,r,o,i,a=this;return Vt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.service.state,t=function(){a.service.state},this.emitter.on($e.Start,t),this.emitter.on($e.Pause,t),n=[],r=si(this.service.state.context.events);try{for(i=function(){var e=o.value;e.type===Ge.IncrementalSnapshot&&e.data.source===qe.CanvasMutation&&(n.push(a.deserializeAndPreloadCanvasEvents(e.data,e)),("commands"in e.data?e.data.commands:[e.data]).forEach((function(t){a.preloadImages(t,e)})))},r.s();!(o=r.n()).done;)i()}catch(u){r.e(u)}finally{r.f()}return e.abrupt("return",Promise.all(n));case 8:case"end":return e.stop()}}),e,this)})))}},{key:"preloadImages",value:function(e,t){if("drawImage"===e.property&&"string"==typeof e.args[0]&&!this.imageMap.has(t)){var n=document.createElement("canvas"),r=n.getContext("2d"),o=null==r?void 0:r.createImageData(n.width,n.height);null==o||o.data,JSON.parse(e.args[0]),null==r||r.putImageData(o,0,0)}}},{key:"deserializeAndPreloadCanvasEvents",value:function(e,t){return Ht(this,void 0,void 0,Vt().mark((function n(){var r,o,i,a=this;return Vt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(this.canvasEventMap.has(t)){n.next=13;break}if(r={isUnchanged:!0},!("commands"in e)){n.next=9;break}return n.next=5,Promise.all(e.commands.map((function(e){return Ht(a,void 0,void 0,Vt().mark((function t(){var n;return Vt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all(e.args.map(Vr(this.imageMap,null,r)));case 2:return n=t.sent,t.abrupt("return",Object.assign(Object.assign({},e),{args:n}));case 4:case"end":return t.stop()}}),t,this)})))})));case 5:o=n.sent,!1===r.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{commands:o})),n.next=13;break;case 9:return n.next=11,Promise.all(e.args.map(Vr(this.imageMap,null,r)));case 11:i=n.sent,!1===r.isUnchanged&&this.canvasEventMap.set(t,Object.assign(Object.assign({},e),{args:i}));case 13:case"end":return n.stop()}}),n,this)})))}},{key:"applyIncremental",value:function(e,t){var n,r,o,i=this,a=e.data;switch(a.source){case qe.Mutation:try{this.applyMutation(a,t)}catch(y){this.warn("Exception in mutation ".concat(y.message||y),a)}break;case qe.Drag:case qe.TouchMove:case qe.MouseMove:if(t){var u=a.positions[a.positions.length-1];this.mousePos={x:u.x,y:u.y,id:u.id,debugData:a}}else a.positions.forEach((function(n){var r={doAction:function(){i.moveAndHover(n.x,n.y,n.id,t,a)},delay:n.timeOffset+e.timestamp-i.service.state.context.baselineTime};i.timer.addAction(r)})),this.timer.addAction({doAction:function(){},delay:e.delay-(null===(n=a.positions[0])||void 0===n?void 0:n.timeOffset)});break;case qe.MouseInteraction:if(-1===a.id)break;var s=new Event(x(We[a.type])),c=this.mirror.getNode(a.id);if(!c)return this.debugNodeNotFound(a,a.id);this.emitter.emit($e.MouseInteraction,{type:a.type,target:c});var l=this.config.triggerFocus;switch(a.type){case We.Blur:"blur"in c&&c.blur();break;case We.Focus:l&&c.focus&&c.focus({preventScroll:!0});break;case We.Click:case We.TouchStart:case We.TouchEnd:case We.MouseDown:case We.MouseUp:t?(a.type===We.TouchStart?this.touchActive=!0:a.type===We.TouchEnd&&(this.touchActive=!1),a.type===We.MouseDown?this.lastMouseDownEvent=[c,s]:a.type===We.MouseUp&&(this.lastMouseDownEvent=null),this.mousePos={x:a.x||0,y:a.y||0,id:a.id,debugData:a}):(a.type===We.TouchStart&&(this.tailPositions.length=0),this.moveAndHover(a.x||0,a.y||0,a.id,t,a),a.type===We.Click?(this.mouse.classList.remove("active"),this.mouse.offsetWidth,this.mouse.classList.add("active")):a.type===We.TouchStart?(this.mouse.offsetWidth,this.mouse.classList.add("touch-active")):a.type===We.TouchEnd?this.mouse.classList.remove("touch-active"):c.dispatchEvent(s));break;case We.TouchCancel:t?this.touchActive=!1:this.mouse.classList.remove("touch-active");break;default:c.dispatchEvent(s)}break;case qe.Scroll:if(-1===a.id)break;if(this.usingVirtualDom){var f=this.virtualDom.mirror.getNode(a.id);if(!f)return this.debugNodeNotFound(a,a.id);f.scrollData=a;break}this.applyScroll(a,t);break;case qe.ViewportResize:this.emitter.emit($e.Resize,{width:a.width,height:a.height});break;case qe.Input:if(-1===a.id)break;if(this.usingVirtualDom){var d=this.virtualDom.mirror.getNode(a.id);if(!d)return this.debugNodeNotFound(a,a.id);d.inputData=a;break}this.applyInput(a);break;case qe.MediaInteraction:var p=this.usingVirtualDom?this.virtualDom.mirror.getNode(a.id):this.mirror.getNode(a.id);if(!p)return this.debugNodeNotFound(a,a.id);var h=p;try{void 0!==a.currentTime&&(h.currentTime=a.currentTime),void 0!==a.volume&&(h.volume=a.volume),void 0!==a.muted&&(h.muted=a.muted),1===a.type&&h.pause(),0===a.type&&h.play(),4===a.type&&(h.playbackRate=a.playbackRate)}catch(y){this.warn("Failed to replay media interactions: ".concat(y.message||y))}break;case qe.StyleSheetRule:case qe.StyleDeclaration:this.usingVirtualDom?a.styleId?this.constructedStyleMutations.push(a):a.id&&(null===(r=this.virtualDom.mirror.getNode(a.id))||void 0===r||r.rules.push(a)):this.applyStyleSheetMutation(a);break;case qe.CanvasMutation:if(!this.config.UNSAFE_replayCanvas)return;if(this.usingVirtualDom){var v=this.virtualDom.mirror.getNode(a.id);if(!v)return this.debugNodeNotFound(a,a.id);v.canvasMutations.push({event:e,mutation:a})}else{var g=this.mirror.getNode(a.id);if(!g)return this.debugNodeNotFound(a,a.id);Kr({event:e,mutation:a,target:g,imageMap:this.imageMap,canvasEventMap:this.canvasEventMap,errorHandler:this.warnCanvasMutationFailed.bind(this)})}break;case qe.Font:try{var m=new FontFace(a.family,a.buffer?new Uint8Array(JSON.parse(a.fontSource)):a.fontSource,a.descriptors);null===(o=this.iframe.contentDocument)||void 0===o||o.fonts.add(m)}catch(y){this.warn(y)}break;case qe.Selection:if(t){this.lastSelectionData=a;break}this.applySelection(a);break;case qe.AdoptedStyleSheet:this.usingVirtualDom?this.adoptedStyleSheets.push(a):this.applyAdoptedStyleSheet(a)}}},{key:"applyMutation",value:function(e,t){var n=this;if(this.config.useVirtualDom&&!this.usingVirtualDom&&t&&(this.usingVirtualDom=!0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:to(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Ao;function r(e,o){var i=Bo(e,n,t,o);if(null!==i)if("IFRAME"!==(null==o?void 0:o.nodeName)&&e.nodeType!==vo.DOCUMENT_FRAGMENT_NODE&&(null==o||o.appendChild(i),i.parentNode=o,i.parentElement=o),"IFRAME"===e.nodeName){var a=e.contentDocument;a&&r(a,i)}else e.nodeType!==vo.DOCUMENT_NODE&&e.nodeType!==vo.ELEMENT_NODE&&e.nodeType!==vo.DOCUMENT_FRAGMENT_NODE||(e.nodeType===vo.ELEMENT_NODE&&e.shadowRoot&&r(e.shadowRoot,i),e.childNodes.forEach((function(e){return r(e,i)})))}r(e,null)}(this.iframe.contentDocument,this.mirror,this.virtualDom),Object.keys(this.legacy_missingNodeRetryMap).length))for(var r in this.legacy_missingNodeRetryMap)try{var o=this.legacy_missingNodeRetryMap[r],a=Bo(o.node,this.virtualDom,this.mirror);a&&(o.node=a)}catch(g){this.warn(g)}var u=this.usingVirtualDom?this.virtualDom.mirror:this.mirror;e.removes=e.removes.filter((function(t){return!!u.getNode(t.id)||(n.warnNodeNotFound(e,t.id),!1)})),e.removes.forEach((function(t){var r,o=u.getNode(t.id);if(o){var i=u.getNode(t.parentId);if(!i)return n.warnNodeNotFound(e,t.parentId);if(t.isShadow&&je(i)&&(i=i.shadowRoot),u.removeNodeFromMap(o),i)try{i.removeChild(o),n.usingVirtualDom&&"#text"===o.nodeName&&"STYLE"===i.nodeName&&(null===(r=i.rules)||void 0===r?void 0:r.length)>0&&(i.rules=[])}catch(g){if(!(g instanceof DOMException))throw g;n.warn("parent could not remove child in mutation",i,o,e)}}}));var s=Object.assign({},this.legacy_missingNodeRetryMap),c=[],l=function(e){var t,r;if(!n.iframe.contentDocument)return n.warn("Looks like your replayer has been destroyed.");var o=u.getNode(e.parentId);if(!o)return e.node.type===i.Document?n.newDocumentQueue.push(e):c.push(e);e.node.isShadow&&(je(o)||o.attachShadow({mode:"open"}),o=o.shadowRoot);var a=null,l=null;if(e.previousId&&(a=u.getNode(e.previousId)),e.nextId&&(l=u.getNode(e.nextId)),function(e){var t=null;return e.nextId&&(t=u.getNode(e.nextId)),null!==e.nextId&&void 0!==e.nextId&&-1!==e.nextId&&!t}(e))return c.push(e);if(!e.node.rootId||u.getNode(e.node.rootId)){var f=e.node.rootId?u.getNode(e.node.rootId):n.usingVirtualDom?n.virtualDom:n.iframe.contentDocument;if(Pe(o,u))n.attachDocumentToIframe(e,o);else{var d=function(e,t){if(!n.usingVirtualDom){var r,o=si(n.config.plugins||[]);try{for(o.s();!(r=o.n()).done;){var i=r.value;i.onBuild&&i.onBuild(e,{id:t,replayer:n})}}catch(a){o.e(a)}finally{o.f()}}},p=ue(e.node,{doc:f,mirror:u,skipChild:!0,hackCss:!0,cache:n.cache,afterAppend:d});if(-1!==e.previousId&&-1!==e.nextId){var h=u.getMeta(o);if(h&&h.type===i.Element&&"textarea"===h.tagName&&e.node.type===i.Text){var v,g=si(Array.isArray(o.childNodes)?o.childNodes:Array.from(o.childNodes));try{for(g.s();!(v=g.n()).done;){var m=v.value;m.nodeType===o.TEXT_NODE&&o.removeChild(m)}}catch(_){g.e(_)}finally{g.f()}}else if((null==h?void 0:h.type)===i.Document){var y=o;e.node.type===i.DocumentType&&(null===(t=y.childNodes[0])||void 0===t?void 0:t.nodeType)===Node.DOCUMENT_TYPE_NODE&&y.removeChild(y.childNodes[0]),"HTML"===p.nodeName&&y.documentElement&&y.removeChild(y.documentElement)}if(a&&a.nextSibling&&a.nextSibling.parentNode?o.insertBefore(p,a.nextSibling):l&&l.parentNode?o.contains(l)?o.insertBefore(p,l):o.insertBefore(p,null):o.appendChild(p),d(p,e.node.id),n.usingVirtualDom&&"#text"===p.nodeName&&"STYLE"===o.nodeName&&(null===(r=o.rules)||void 0===r?void 0:r.length)>0&&(o.rules=[]),Pe(p,n.mirror)){var b=n.mirror.getId(p),w=n.newDocumentQueue.find((function(e){return e.parentId===b}));w&&(n.attachDocumentToIframe(w,p),n.newDocumentQueue=n.newDocumentQueue.filter((function(e){return e!==w})))}(e.previousId||e.nextId)&&n.legacy_resolveMissingNode(s,o,p,e)}else s[e.node.id]={node:p,mutation:e}}}};e.adds.forEach((function(e){l(e)}));for(var f=Date.now();c.length;){var d=Ae(c);if(c.length=0,Date.now()-f>500){this.warn("Timeout in the loop, please check the resolve tree data:",d);break}var p,h=si(d);try{for(h.s();!(p=h.n()).done;){var v=p.value;u.getNode(v.value.parentId)?De(v,(function(e){l(e)})):this.debug("Drop resolve tree since there is no parent for the root node.",v)}}catch(m){h.e(m)}finally{h.f()}}Object.keys(s).length&&Object.assign(this.legacy_missingNodeRetryMap,s),Fe(e.texts).forEach((function(t){var r,o=u.getNode(t.id);if(!o){if(e.removes.find((function(e){return e.id===t.id})))return;return n.warnNodeNotFound(e,t.id)}if(o.textContent=t.value,n.usingVirtualDom){var i=o.parentNode;(null===(r=null==i?void 0:i.rules)||void 0===r?void 0:r.length)>0&&(i.rules=[])}})),e.attributes.forEach((function(t){var r,o=u.getNode(t.id);if(!o){if(e.removes.find((function(e){return e.id===t.id})))return;return n.warnNodeNotFound(e,t.id)}for(var i in t.attributes)if("string"==typeof i){var a=t.attributes[i];if(null===a)o.removeAttribute(i);else if("string"==typeof a)try{if("_cssText"===i&&("LINK"===o.nodeName||"STYLE"===o.nodeName))try{var s=u.getMeta(o);Object.assign(s.attributes,t.attributes);var c=ue(s,{doc:o.ownerDocument,mirror:u,skipChild:!0,hackCss:!0,cache:n.cache}),l=o.nextSibling,f=o.parentNode;if(c&&f){f.removeChild(o),f.insertBefore(c,l),u.replace(t.id,c);break}}catch(Ko){}"value"===i&&"TEXTAREA"===o.nodeName?function(){var e=o;e.childNodes.forEach((function(t){return e.removeChild(t)}));var t=null===(r=o.ownerDocument)||void 0===r?void 0:r.createTextNode(a);t&&e.appendChild(t)}():o.setAttribute(i,a)}catch(g){n.warn("An error occurred may due to the checkout feature.",g)}else if("style"===i){var d=a,p=o;for(var h in d)if(!1===d[h])p.style.removeProperty(h);else if(d[h]instanceof Array){var v=d[h];p.style.setProperty(h,v[0],v[1])}else{var m=d[h];p.style.setProperty(h,m)}}}}))}},{key:"applyScroll",value:function(e,t){var n,r,o=this.mirror.getNode(e.id);if(!o)return this.debugNodeNotFound(e,e.id);var a=this.mirror.getMeta(o);if(o===this.iframe.contentDocument)null===(n=this.iframe.contentWindow)||void 0===n||n.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else if((null==a?void 0:a.type)===i.Document)null===(r=o.defaultView)||void 0===r||r.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"});else try{o.scrollTo({top:e.y,left:e.x,behavior:t?"auto":"smooth"})}catch(u){}}},{key:"applyInput",value:function(e){var t=this.mirror.getNode(e.id);if(!t)return this.debugNodeNotFound(e,e.id);try{t.checked=e.isChecked,t.value=e.text}catch(n){}}},{key:"applySelection",value:function(e){var t=this;try{var n=new Set,r=e.ranges.map((function(e){var r=e.start,o=e.startOffset,i=e.end,a=e.endOffset,u=t.mirror.getNode(r),s=t.mirror.getNode(i);if(u&&s){var c=new Range;c.setStart(u,o),c.setEnd(s,a);var l=u.ownerDocument,f=null==l?void 0:l.getSelection();return f&&n.add(f),{range:c,selection:f}}}));n.forEach((function(e){return e.removeAllRanges()})),r.forEach((function(e){var t;return e&&(null===(t=e.selection)||void 0===t?void 0:t.addRange(e.range))}))}catch(o){}}},{key:"applyStyleSheetMutation",value:function(e){var t,n=null;e.styleId?n=this.styleMirror.getStyle(e.styleId):e.id&&(n=(null===(t=this.mirror.getNode(e.id))||void 0===t?void 0:t.sheet)||null),n&&(e.source===qe.StyleSheetRule?this.applyStyleSheetRule(e,n):e.source===qe.StyleDeclaration&&this.applyStyleDeclaration(e,n))}},{key:"applyStyleSheetRule",value:function(e,t){var n,r,o,i;if(null===(n=e.adds)||void 0===n||n.forEach((function(e){var n=e.rule,r=e.index;try{if(Array.isArray(r)){var o=Re(r),i=o.positions,a=o.index;Le(t.cssRules,i).insertRule(n,a)}else{var u=void 0===r?void 0:Math.min(r,t.cssRules.length);null==t||t.insertRule(n,u)}}catch(Ko){}})),null===(r=e.removes)||void 0===r||r.forEach((function(e){var n=e.index;try{if(Array.isArray(n)){var r=Re(n),o=r.positions,i=r.index;Le(t.cssRules,o).deleteRule(i||0)}else null==t||t.deleteRule(n)}catch(Ko){}})),e.replace)try{null===(o=t.replace)||void 0===o||o.call(t,e.replace)}catch(Ko){}if(e.replaceSync)try{null===(i=t.replaceSync)||void 0===i||i.call(t,e.replaceSync)}catch(Ko){}}},{key:"applyStyleDeclaration",value:function(e,t){e.set&&Le(t.rules,e.index).style.setProperty(e.set.property,e.set.value,e.set.priority);e.remove&&Le(t.rules,e.index).style.removeProperty(e.remove.property)}},{key:"applyAdoptedStyleSheet",value:function(e){var t,n=this,r=this.mirror.getNode(e.id);if(r){null===(t=e.styles)||void 0===t||t.forEach((function(e){var t,o=null,i=null;if(je(r)?i=(null===(t=r.ownerDocument)||void 0===t?void 0:t.defaultView)||null:"#document"===r.nodeName&&(i=r.defaultView),i)try{o=new i.CSSStyleSheet,n.styleMirror.add(o,e.styleId),n.applyStyleSheetRule({source:qe.StyleSheetRule,adds:e.rules},o)}catch(Ko){}}));var o=0;!function e(t,r){var i=r.map((function(e){return n.styleMirror.getStyle(e)})).filter((function(e){return null!==e}));je(t)?t.shadowRoot.adoptedStyleSheets=i:"#document"===t.nodeName&&(t.adoptedStyleSheets=i),i.length!==r.length&&o<10&&(setTimeout((function(){return e(t,r)}),0+100*o),o++)}(r,e.styleIds)}}},{key:"legacy_resolveMissingNode",value:function(e,t,n,r){var o=r.previousId,i=r.nextId,a=o&&e[o],u=i&&e[i];if(a){var s=a.node,c=a.mutation;t.insertBefore(s,n),delete e[c.node.id],delete this.legacy_missingNodeRetryMap[c.node.id],(c.previousId||c.nextId)&&this.legacy_resolveMissingNode(e,t,s,c)}if(u){var l=u.node,f=u.mutation;t.insertBefore(l,n.nextSibling),delete e[f.node.id],delete this.legacy_missingNodeRetryMap[f.node.id],(f.previousId||f.nextId)&&this.legacy_resolveMissingNode(e,t,l,f)}}},{key:"moveAndHover",value:function(e,t,n,r,o){var i=this.mirror.getNode(n);if(!i)return this.debugNodeNotFound(o,n);var a=Me(i,this.iframe),u=e*a.absoluteScale+a.x,s=t*a.absoluteScale+a.y;this.mouse.style.left="".concat(u,"px"),this.mouse.style.top="".concat(s,"px"),r||this.drawMouseTail({x:u,y:s}),this.hoverElements(i)}},{key:"drawMouseTail",value:function(e){var t=this;if(this.mouseTail){var n=!0===this.config.mouseTail?di:Object.assign({},di,this.config.mouseTail),r=n.lineCap,o=n.lineWidth,i=n.strokeStyle,a=n.duration,u=function(){if(t.mouseTail){var e=t.mouseTail.getContext("2d");e&&t.tailPositions.length&&(e.clearRect(0,0,t.mouseTail.width,t.mouseTail.height),e.beginPath(),e.lineWidth=o,e.lineCap=r,e.strokeStyle=i,e.moveTo(t.tailPositions[0].x,t.tailPositions[0].y),t.tailPositions.forEach((function(t){return e.lineTo(t.x,t.y)})),e.stroke())}};this.tailPositions.push(e),u(),setTimeout((function(){t.tailPositions=t.tailPositions.filter((function(t){return t!==e})),u()}),a/this.speedService.state.context.timer.speed)}}},{key:"hoverElements",value:function(e){var t;null===(t=this.lastHoveredRootNode||this.iframe.contentDocument)||void 0===t||t.querySelectorAll(".\\:hover").forEach((function(e){e.classList.remove(":hover")})),this.lastHoveredRootNode=e.getRootNode();for(var n=e;n;)n.classList&&n.classList.add(":hover"),n=n.parentElement}},{key:"isUserInteraction",value:function(e){return e.type===Ge.IncrementalSnapshot&&(e.data.source>qe.Mutation&&e.data.source<=qe.Input)}},{key:"backToNormal",value:function(){this.nextUserInteractionEvent=null,this.speedService.state.matches("normal")||(this.speedService.send({type:"BACK_TO_NORMAL"}),this.emitter.emit($e.SkipEnd,{speed:this.speedService.state.context.normalSpeed}))}},{key:"warnNodeNotFound",value:function(e,t){this.warn("Node with id '".concat(t,"' not found. "),e)}},{key:"warnCanvasMutationFailed",value:function(e,t){this.warn("Has error on canvas update",t,"canvas mutation:",e)}},{key:"debugNodeNotFound",value:function(e,t){this.debug("Node with id '".concat(t,"' not found. "),e)}},{key:"warn",value:function(){var e;if(this.config.showWarning){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=this.config.logger).warn.apply(e,[fi].concat(n))}}},{key:"debug",value:function(){var e;if(this.config.showDebug){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=this.config.logger).log.apply(e,[fi].concat(n))}}}]),e}()},36872:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),s=0;s<i.length;s++){var c=i[s];if(!u(c))return!1;var l=e[c],f=t[c];if(!1===(o=n?n.call(r,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},34734:function(e){"use strict";e.exports=function(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},68936:function(e){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},72303:function(e,t,n){var r=n(26650);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,u=r(e),s="function"==typeof t,c=0,l=u.length;c<l;c++)i=(n=u[c]).property,a=n.value,s?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}},50009:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheet:function(){return Ue},StyleSheetConsumer:function(){return oe},StyleSheetContext:function(){return re},StyleSheetManager:function(){return le},ThemeConsumer:function(){return De},ThemeContext:function(){return Ae},ThemeProvider:function(){return Pe},__PRIVATE__:function(){return Ve},createGlobalStyle:function(){return Re},css:function(){return be},default:function(){return He},isStyledComponent:function(){return w},keyframes:function(){return Fe},useTheme:function(){return ze},version:function(){return x},withTheme:function(){return Be}});var r=n(8812),o=n(67294),i=n(36872),a=n.n(i);var u=function(e){function t(e,r,s,c,d){for(var p,h,v,g,w,x=0,S=0,k=0,E=0,C=0,P=0,M=v=p=0,L=0,R=0,F=0,U=0,B=s.length,z=B-1,V="",H="",G="",q="";L<B;){if(h=s.charCodeAt(L),L===z&&0!==S+E+k+x&&(0!==S&&(h=47===S?10:47),E=k=x=0,B++,z++),0===S+E+k+x){if(L===z&&(0<R&&(V=V.replace(f,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=s.charAt(L)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),v=1,U=++L;L<B;){switch(h=s.charCodeAt(L)){case 123:v++;break;case 125:v--;break;case 47:switch(h=s.charCodeAt(L+1)){case 42:case 47:e:{for(M=L+1;M<z;++M)switch(s.charCodeAt(M)){case 47:if(42===h&&42===s.charCodeAt(M-1)&&L+2!==M){L=M+1;break e}break;case 10:if(47===h){L=M+1;break e}}L=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<z&&s.charCodeAt(L)!==h;);}if(0===v)break;L++}switch(v=s.substring(U,L),0===p&&(p=(V=V.replace(l,"").trim()).charCodeAt(0)),p){case 64:switch(0<R&&(V=V.replace(f,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:R=r;break;default:R=D}if(U=(v=t(r,R,v,h,d+1)).length,0<N&&(w=u(3,v,R=n(D,V,F),r,T,I,U,h,d,c),V=R.join(""),void 0!==w&&0===(U=(v=w.trim()).length)&&(h=0,v="")),0<U)switch(h){case 115:V=V.replace(_,a);case 100:case 109:case 45:v=V+"{"+v+"}";break;case 107:v=(V=V.replace(m,"$1 $2"))+"{"+v+"}",v=1===A||2===A&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=V+v,112===c&&(H+=v,v="")}else v="";break;default:v=t(r,n(r,V,F),v,c,d+1)}G+=v,v=F=R=M=p=0,V="",h=s.charCodeAt(++L);break;case 125:case 59:if(1<(U=(V=(0<R?V.replace(f,""):V).trim()).length))switch(0===M&&(p=V.charCodeAt(0),45===p||96<p&&123>p)&&(U=(V=V.replace(" ",":")).length),0<N&&void 0!==(w=u(1,V,r,e,T,I,H.length,c,d,c))&&0===(U=(V=w.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){q+=V+s.charAt(L);break}default:58!==V.charCodeAt(U-1)&&(H+=o(V,p,h,V.charCodeAt(2)))}F=R=M=p=0,V="",h=s.charCodeAt(++L)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<V.length&&(R=1,V+="\0"),0<N*j&&u(0,V,r,e,T,I,H.length,c,d,c),I=1,T++;break;case 59:case 125:if(0===S+E+k+x){I++;break}default:switch(I++,g=s.charAt(L),h){case 9:case 32:if(0===E+x+S)switch(C){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===E+S+x&&(R=F=1,g="\f"+g);break;case 108:if(0===E+S+x+O&&0<M)switch(L-M){case 2:112===C&&58===s.charCodeAt(L-3)&&(O=C);case 8:111===P&&(O=P)}break;case 58:0===E+S+x&&(M=L);break;case 44:0===S+k+E+x&&(R=1,g+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+k&&x++;break;case 93:0===E+S+k&&x--;break;case 41:0===E+S+x&&k--;break;case 40:if(0===E+S+x){if(0===p)switch(2*C+3*P){case 533:break;default:p=1}k++}break;case 64:0===S+k+E+x+M+v&&(v=1);break;case 42:case 47:if(!(0<E+x+k))switch(S){case 0:switch(2*h+3*s.charCodeAt(L+1)){case 235:S=47;break;case 220:U=L,S=42}break;case 42:47===h&&42===C&&U+2!==L&&(33===s.charCodeAt(U+2)&&(H+=s.substring(U,L+1)),g="",S=0)}}0===S&&(V+=g)}P=C,C=h,L++}if(0<(U=H.length)){if(R=r,0<N&&(void 0!==(w=u(2,H,R,e,T,I,U,c,d,c))&&0===(H=w).length))return q+H+G;if(H=R.join(",")+"{"+H+"}",0!=A*O){switch(2!==A||i(H,2)||(O=0),O){case 111:H=H.replace(b,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}O=0}}return q+H+G}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=r(e,t[u],n).trim();break;default:var s=u=0;for(t=[];u<i;++u)for(var c=0;c<a;++c)t[s++]=r(e[c]+" ",o[u],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",u=2*t+3*n+4*r;if(944===u){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===A||2===A&&i(s,1)?"-webkit-"+s+s:s}if(0===A||2===A&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return p.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(w,"tb");break;case 232:s=a.replace(w,"tb-rl");break;case 220:s=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(k,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function u(e,t,n,r,o,i,a,u,s,l){for(var f,d=0,p=t;d<N;++d)switch(f=P[d].call(c,e,p,n,r,o,i,a,u,s,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==t)return p}function s(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?A=1:(A=2,M=e):A=0),s}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<N){var o=u(-1,n,r,r,T,I,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(D,r,n,0,0);return 0<N&&(void 0!==(o=u(-2,i,r,r,T,I,i.length,0,0,0))&&(i=o)),"",O=0,I=T=1,i}var l=/^\0+/g,f=/[\0\r\f]/g,d=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,I=1,T=1,O=0,A=1,D=[],P=[],N=0,M=null,j=0;return c.use=function e(t){switch(t){case void 0:case null:N=P.length=0;break;default:if("function"==typeof t)P[N++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},c.set=s,void 0!==e&&s(e),c},s={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),f=n(15706),d=n.n(f);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},v=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,r.typeOf)(e)},g=Object.freeze([]),m=Object.freeze({});function y(e){return"function"==typeof e}function b(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var _="undefined"!=typeof process&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",x="5.3.0",S="undefined"!=typeof window&&"HTMLElement"in window,k=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)),E={};function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var I=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&C(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),u=0,s=t.length;u<s;u++)this.tag.insertRule(a,t[u])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),T=new Map,O=new Map,A=1,D=function(e){if(T.has(e))return T.get(e);for(;O.has(A);)A++;var t=A++;return T.set(e,t),O.set(t,e),t},P=function(e){return O.get(e)},N=function(e,t){T.set(e,t),O.set(t,e)},M="style["+_+'][data-styled-version="5.3.0"]',j=new RegExp("^"+_+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},R=function(e,t){for(var n=t.innerHTML.split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var u=a.match(j);if(u){var s=0|parseInt(u[1],10),c=u[2];0!==s&&(N(c,s),L(e,c,u[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},F=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},U=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(_))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(_,"active"),r.setAttribute("data-styled-version","5.3.0");var a=F();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},B=function(){function e(e){var t=this.element=U(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}C(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),z=function(){function e(e){var t=this.element=U(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),V=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),H=S,G={isServer:!S,useCSSOMInjection:!k},q=function(){function e(e,t,n){void 0===e&&(e=m),void 0===t&&(t={}),this.options=p({},G,{},e),this.gs=t,this.names=new Map(n),!this.options.isServer&&S&&H&&(H=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(_)&&(R(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return D(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(p({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new V(o):r?new B(o):new z(o),new I(e)));var e,t,n,r,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(D(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(D(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(D(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var i=P(o);if(void 0!==i){var a=e.names.get(i),u=t.getGroup(o);if(void 0!==a&&0!==u.length){var s=_+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+u+s+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),W=/(a)(d)/gi,Z=function(e){return String.fromCharCode(e+(e>25?39:97))};function K(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Z(t%52)+n;return(Z(t%52)+n).replace(W,"$1-$2")}var $=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},X=function(e){return $(5381,e)};function Y(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(y(n)&&!w(n))return!1}return!0}var J=X("5.3.0"),Q=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Y(e),this.componentId=t,this.baseHash=$(J,t),this.baseStyle=n,q.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=ye(this.rules,e,t,n).join(""),a=K($(this.baseHash,i.length)>>>0);if(!t.hasNameForId(r,a)){var u=n(i,"."+a,void 0,r);t.insertRules(r,a,u)}o.push(a),this.staticRulesId=a}else{for(var s=this.rules.length,c=$(this.baseHash,n.hash),l="",f=0;f<s;f++){var d=this.rules[f];if("string"==typeof d)l+=d;else if(d){var p=ye(d,e,t,n),h=Array.isArray(p)?p.join(""):p;c=$(c,h+f),l+=h}}if(l){var v=K(c>>>0);if(!t.hasNameForId(r,v)){var g=n(l,"."+v,void 0,r);t.insertRules(r,v,g)}o.push(v)}}return o.join(" ")},e}(),ee=/^\s*\/\/.*$/gm,te=[":","[",".","#"];function ne(e){var t,n,r,o,i=void 0===e?m:e,a=i.options,s=void 0===a?m:a,c=i.plugins,l=void 0===c?g:c,f=new u(s),d=[],p=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,u,s,c,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),h=function(e,r,i){return 0===r&&-1!==te.indexOf(i[n.length])||i.match(o)?e:"."+t};function v(e,i,a,u){void 0===u&&(u="&");var s=e.replace(ee,""),c=i&&a?a+" "+i+" { "+s+" }":s;return t=u,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),f(a||!i?"":i,c)}return f.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(e){if(-2===e){var t=d;return d=[],t}}])),v.hash=l.length?l.reduce((function(e,t){return t.name||C(15),$(e,t.name)}),5381).toString():"",v}var re=o.createContext(),oe=re.Consumer,ie=o.createContext(),ae=(ie.Consumer,new q),ue=ne();function se(){return(0,o.useContext)(re)||ae}function ce(){return(0,o.useContext)(ie)||ue}function le(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=se(),u=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,o.useMemo)((function(){return ne({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,o.useEffect)((function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(re.Provider,{value:u},o.createElement(ie.Provider,{value:s},e.children))}var fe=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ue);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return C(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ue),this.name+e.hash},e}(),de=/([A-Z])/,pe=/([A-Z])/g,he=/^ms-/,ve=function(e){return"-"+e.toLowerCase()};function ge(e){return de.test(e)?e.replace(pe,ve).replace(he,"-ms-"):e}var me=function(e){return null==e||!1===e||""===e};function ye(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,u=e.length;a<u;a+=1)""!==(o=ye(e[a],t,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return me(e)?"":w(e)?"."+e.styledComponentId:y(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:ye(e(t),t,n,r):e instanceof fe?n?(e.inject(n,r),e.getName(r)):e:v(e)?function e(t,n){var r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&!me(t[a])&&(v(t[a])?i.push.apply(i,e(t[a],a)):y(t[a])?i.push(ge(a)+":",t[a],";"):i.push(ge(a)+": "+(r=a,(null==(o=t[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in s?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(e):e.toString();var c}function be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return y(e)||v(e)?ye(h(g,[e].concat(n))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:ye(h(e,n))}new Set;var we=function(e,t,n){return void 0===n&&(n=m),e.theme!==n.theme&&e.theme||t||n.theme},_e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Se(e){return e.replace(_e,"-").replace(xe,"")}var ke=function(e){return K(X(e)>>>0)};function Ee(e){return"string"==typeof e&&!0}var Ce=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ie=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Te(e,t,n){var r=e[n];Ce(t)&&Ce(r)?Oe(r,t):e[n]=t}function Oe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Ce(a))for(var u in a)Ie(u)&&Te(e,a[u],u)}return e}var Ae=o.createContext(),De=Ae.Consumer;function Pe(e){var t=(0,o.useContext)(Ae),n=(0,o.useMemo)((function(){return function(e,t){return e?y(e)?e(t):Array.isArray(e)||"object"!=typeof e?C(8):t?p({},t,{},e):e:C(14)}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Ae.Provider,{value:n},e.children):null}var Ne={};function Me(e,t,n){var r=w(e),i=!Ee(e),a=t.attrs,u=void 0===a?g:a,s=t.componentId,c=void 0===s?function(e,t){var n="string"!=typeof e?"sc":Se(e);Ne[n]=(Ne[n]||0)+1;var r=n+"-"+ke("5.3.0"+n+Ne[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):s,f=t.displayName,h=void 0===f?function(e){return Ee(e)?"styled."+e:"Styled("+b(e)+")"}(e):f,v=t.displayName&&t.componentId?Se(t.displayName)+"-"+t.componentId:t.componentId||c,_=r&&e.attrs?Array.prototype.concat(e.attrs,u).filter(Boolean):u,x=t.shouldForwardProp;r&&e.shouldForwardProp&&(x=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var S,k=new Q(n,v,r?e.componentStyle:void 0),E=k.isStatic&&0===u.length,C=function(e,t){return function(e,t,n,r){var i=e.attrs,a=e.componentStyle,u=e.defaultProps,s=e.foldedComponentIds,c=e.shouldForwardProp,f=e.styledComponentId,d=e.target,h=function(e,t,n){void 0===e&&(e=m);var r=p({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,a=e;for(t in y(a)&&(a=a(r)),a)r[t]=o[t]="className"===t?(n=o[t],i=a[t],n&&i?n+" "+i:n||i):a[t]})),[r,o]}(we(t,(0,o.useContext)(Ae),u)||m,t,i),v=h[0],g=h[1],b=function(e,t,n,r){var o=se(),i=ce();return t?e.generateAndInjectStyles(m,o,i):e.generateAndInjectStyles(n,o,i)}(a,r,v),w=n,_=g.$as||t.$as||g.as||t.as||d,x=Ee(_),S=g!==t?p({},t,{},g):t,k={};for(var E in S)"$"!==E[0]&&"as"!==E&&("forwardedAs"===E?k.as=S[E]:(c?c(E,l,_):!x||l(E))&&(k[E]=S[E]));return t.style&&g.style!==t.style&&(k.style=p({},t.style,{},g.style)),k.className=Array.prototype.concat(s,f,b!==f?b:null,t.className,g.className).filter(Boolean).join(" "),k.ref=w,(0,o.createElement)(_,k)}(S,e,t,E)};return C.displayName=h,(S=o.forwardRef(C)).attrs=_,S.componentStyle=k,S.displayName=h,S.shouldForwardProp=x,S.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):g,S.styledComponentId=v,S.target=r?e.target:e,S.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(Ee(e)?e:Se(b(e)));return Me(e,p({},o,{attrs:_,componentId:i}),n)},Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Oe({},e.defaultProps,t):t}}),S.toString=function(){return"."+S.styledComponentId},i&&d()(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),S}var je=function(e){return function e(t,n,o){if(void 0===o&&(o=m),!(0,r.isValidElementType)(n))return C(1,String(n));var i=function(){return t(n,o,be.apply(void 0,arguments))};return i.withConfig=function(r){return e(t,n,p({},o,{},r))},i.attrs=function(r){return e(t,n,p({},o,{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},i}(Me,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){je[e]=je(e)}));var Le=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Y(e),q.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var o=r(ye(this.rules,t,n,r).join(""),""),i=this.componentId+e;n.insertRules(i,i,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&q.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function Re(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=be.apply(void 0,[e].concat(n)),a="sc-global-"+ke(JSON.stringify(i)),u=new Le(i,a);function s(e){var t=se(),n=ce(),r=(0,o.useContext)(Ae),i=(0,o.useRef)(t.allocateGSInstance(a)).current;return(0,o.useLayoutEffect)((function(){return c(i,e,t,r,n),function(){return u.removeStyles(i,t)}}),[i,e,t,r,n]),null}function c(e,t,n,r,o){if(u.isStatic)u.renderStyles(e,E,n,o);else{var i=p({},t,{theme:we(t,r,s.defaultProps)});u.renderStyles(e,i,n,o)}}return o.memo(s)}function Fe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)).join(""),i=ke(o);return new fe(i,o)}var Ue=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=F();return"<style "+[n&&'nonce="'+n+'"',_+'="true"','data-styled-version="5.3.0"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?C(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return C(2);var n=((t={})[_]="",t["data-styled-version"]="5.3.0",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=F();return r&&(n.nonce=r),[o.createElement("style",p({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new q({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?C(2):o.createElement(le,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return C(3)},e}(),Be=function(e){var t=o.forwardRef((function(t,n){var r=(0,o.useContext)(Ae),i=e.defaultProps,a=we(t,r,i);return o.createElement(e,p({},t,{theme:a,ref:n}))}));return d()(t,e),t.displayName="WithTheme("+b(e)+")",t},ze=function(){return(0,o.useContext)(Ae)},Ve={StyleSheet:q,masterSheet:ae},He=je},19662:function(e,t,n){var r=n(60614),o=n(66330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},39483:function(e,t,n){var r=n(4411),o=n(66330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a constructor")}},19670:function(e,t,n){var r=n(70111),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},41318:function(e,t,n){var r=n(45656),o=n(51400),i=n(26244),a=function(e){return function(t,n,a){var u,s=r(t),c=i(s),l=o(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},77475:function(e,t,n){var r=n(43157),o=n(4411),i=n(70111),a=n(5112)("species"),u=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===u||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}},65417:function(e,t,n){var r=n(77475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},84326:function(e,t,n){var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},70648:function(e,t,n){var r=n(51694),o=n(60614),i=n(84326),a=n(5112)("toStringTag"),u=Object,s="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=u(e),a))?n:s?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},99920:function(e,t,n){var r=n(92597),o=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t,n){for(var u=o(t),s=a.f,c=i.f,l=0;l<u.length;l++){var f=u[l];r(e,f)||n&&r(n,f)||s(e,f,c(t,f))}}},68880:function(e,t,n){var r=n(19781),o=n(3070),i=n(79114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:function(e,t,n){"use strict";var r=n(34948),o=n(3070),i=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},98052:function(e,t,n){var r=n(60614),o=n(3070),i=n(56339),a=n(13072);e.exports=function(e,t,n,u){u||(u={});var s=u.enumerable,c=void 0!==u.name?u.name:t;if(r(n)&&i(n,c,u),u.global)s?e[t]=n:a(t,n);else{try{u.unsafe?e[t]&&(s=!0):delete e[t]}catch(l){}s?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return e}},13072:function(e,t,n){var r=n(17854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},19781:function(e,t,n){var r=n(47293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(e){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},80317:function(e,t,n){var r=n(17854),o=n(70111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},88113:function(e,t,n){var r=n(35005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(17854),a=n(88113),u=i.process,s=i.Deno,c=u&&u.versions||s&&s.version,l=c&&c.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(e,t,n){var r=n(17854),o=n(31236).f,i=n(68880),a=n(98052),u=n(13072),s=n(99920),c=n(54705);e.exports=function(e,t){var n,l,f,d,p,h=e.target,v=e.global,g=e.stat;if(n=v?r:g?r[h]||u(h,{}):(r[h]||{}).prototype)for(l in t){if(d=t[l],f=e.dontCallGetSet?(p=o(n,l))&&p.value:n[l],!c(v?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;s(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,l,d,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},6790:function(e,t,n){"use strict";var r=n(43157),o=n(26244),i=n(7207),a=n(49974),u=function(e,t,n,s,c,l,f,d){for(var p,h,v=c,g=0,m=!!f&&a(f,d);g<s;)g in n&&(p=m?m(n[g],g,t):n[g],l>0&&r(p)?(h=o(p),v=u(e,t,p,h,v,l-1)-1):(i(v+1),e[v]=p),v++),g++;return v};e.exports=u},49974:function(e,t,n){var r=n(21470),o=n(19662),i=n(34374),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:function(e,t,n){var r=n(47293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:function(e,t,n){var r=n(34374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},76530:function(e,t,n){var r=n(19781),o=n(92597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),s=u&&"something"===function(){}.name,c=u&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:u,PROPER:s,CONFIGURABLE:c}},21470:function(e,t,n){var r=n(84326),o=n(1702);e.exports=function(e){if("Function"===r(e))return o(e)}},1702:function(e,t,n){var r=n(34374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},35005:function(e,t,n){var r=n(17854),o=n(60614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},71246:function(e,t,n){var r=n(70648),o=n(58173),i=n(68554),a=n(97497),u=n(5112)("iterator");e.exports=function(e){if(!i(e))return o(e,u)||o(e,"@@iterator")||a[r(e)]}},18554:function(e,t,n){var r=n(46916),o=n(19662),i=n(19670),a=n(66330),u=n(71246),s=TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return i(r(n,e));throw s(a(e)+" is not iterable")}},58173:function(e,t,n){var r=n(19662),o=n(68554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},17854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:function(e,t,n){var r=n(1702),o=n(47908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},64664:function(e,t,n){var r=n(19781),o=n(47293),i=n(80317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){var r=n(1702),o=n(47293),i=n(84326),a=Object,u=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?u(e,""):a(e)}:a},42788:function(e,t,n){var r=n(1702),o=n(60614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},29909:function(e,t,n){var r,o,i,a=n(94811),u=n(17854),s=n(70111),c=n(68880),l=n(92597),f=n(5465),d=n(6200),p=n(3501),h="Object already initialized",v=u.TypeError,g=u.WeakMap;if(a||f.state){var m=f.state||(f.state=new g);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw v(h);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var y=d("state");p[y]=!0,r=function(e,t){if(l(e,y))throw v(h);return t.facade=e,c(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},97659:function(e,t,n){var r=n(5112),o=n(97497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:function(e,t,n){var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},60614:function(e,t,n){var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),o=n(47293),i=n(60614),a=n(70648),u=n(35005),s=n(42788),c=function(){},l=[],f=u("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(c),v=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(t){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,s(e))}catch(t){return!0}};g.sham=!0,e.exports=!f||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},54705:function(e,t,n){var r=n(47293),o=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=s[u(e)];return n==l||n!=c&&(o(t)?r(t):!!t)},u=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},68554:function(e){e.exports=function(e){return null==e}},70111:function(e,t,n){var r=n(60614),o=n(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},31913:function(e){e.exports=!1},52190:function(e,t,n){var r=n(35005),o=n(60614),i=n(47976),a=n(43307),u=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,u(e))}},20408:function(e,t,n){var r=n(49974),o=n(46916),i=n(19670),a=n(66330),u=n(97659),s=n(26244),c=n(47976),l=n(18554),f=n(71246),d=n(99212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},v=h.prototype;e.exports=function(e,t,n){var g,m,y,b,w,_,x,S=n&&n.that,k=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),T=r(t,S),O=function(e){return g&&d(g,"normal",e),new h(!0,e)},A=function(e){return k?(i(e),I?T(e[0],e[1],O):T(e[0],e[1])):I?T(e,O):T(e)};if(E)g=e.iterator;else if(C)g=e;else{if(!(m=f(e)))throw p(a(e)+" is not iterable");if(u(m)){for(y=0,b=s(e);b>y;y++)if((w=A(e[y]))&&c(v,w))return w;return new h(!1)}g=l(e,m)}for(_=E?e.next:g.next;!(x=o(_,g)).done;){try{w=A(x.value)}catch(D){d(g,"throw",D)}if("object"==typeof w&&w&&c(v,w))return w}return new h(!1)}},99212:function(e,t,n){var r=n(46916),o=n(19670),i=n(58173);e.exports=function(e,t,n){var a,u;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(s){u=!0,a=s}if("throw"===t)throw n;if(u)throw a;return o(a),n}},97497:function(e){e.exports={}},26244:function(e,t,n){var r=n(17466);e.exports=function(e){return r(e.length)}},56339:function(e,t,n){var r=n(47293),o=n(60614),i=n(92597),a=n(19781),u=n(76530).CONFIGURABLE,s=n(42788),c=n(29909),l=c.enforce,f=c.get,d=Object.defineProperty,p=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||u&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&i(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=l(e);return i(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return o(this)&&f(this).source||s(this)}),"toString")},74758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},78523:function(e,t,n){"use strict";var r=n(19662),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},3070:function(e,t,n){var r=n(19781),o=n(64664),i=n(3353),a=n(19670),u=n(34948),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=u(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=u(t),a(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){var r=n(19781),o=n(46916),i=n(55296),a=n(79114),u=n(45656),s=n(34948),c=n(92597),l=n(64664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=u(e),t=s(t),l)try{return f(e,t)}catch(n){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},8006:function(e,t,n){var r=n(16324),o=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},47976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},16324:function(e,t,n){var r=n(1702),o=n(92597),i=n(45656),a=n(41318).indexOf,u=n(3501),s=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,l=[];for(n in r)!o(u,n)&&o(r,n)&&s(l,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(l,n)||s(l,n));return l}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},92140:function(e,t,n){var r=n(46916),o=n(60614),i=n(70111),a=TypeError;e.exports=function(e,t){var n,u;if("string"===t&&o(n=e.toString)&&!i(u=r(n,e)))return u;if(o(n=e.valueOf)&&!i(u=r(n,e)))return u;if("string"!==t&&o(n=e.toString)&&!i(u=r(n,e)))return u;throw a("Can't convert object to primitive value")}},53887:function(e,t,n){var r=n(35005),o=n(1702),i=n(8006),a=n(25181),u=n(19670),s=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(u(e)),n=a.f;return n?s(t,n(e)):t}},2492:function(e,t,n){var r=n(17854);e.exports=r.Promise},69478:function(e,t,n){var r=n(19670),o=n(70111),i=n(78523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},84488:function(e,t,n){var r=n(68554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(72309),o=n(69711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(17854),o=n(13072),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},72309:function(e,t,n){var r=n(31913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:function(e,t,n){var r=n(19670),o=n(39483),i=n(68554),a=n(5112)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||i(n=r(u)[a])?t:o(n)}},76091:function(e,t,n){var r=n(76530).PROPER,o=n(47293),i=n(81361);e.exports=function(e){return o((function(){return!!i[e]()||"​᠎"!=="​᠎"[e]()||r&&i[e].name!==e}))}},33217:function(e,t,n){"use strict";var r=n(53111).start,o=n(76091);e.exports=o("trimStart")?function(){return r(this)}:"".trimStart},53111:function(e,t,n){var r=n(1702),o=n(84488),i=n(41340),a=n(81361),u=r("".replace),s="["+a+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(e){return function(t){var n=i(o(t));return 1&e&&(n=u(n,c,"")),2&e&&(n=u(n,l,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},36293:function(e,t,n){var r=n(7392),o=n(47293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},51400:function(e,t,n){var r=n(19303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},45656:function(e,t,n){var r=n(68361),o=n(84488);e.exports=function(e){return r(o(e))}},19303:function(e,t,n){var r=n(74758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},17466:function(e,t,n){var r=n(19303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},47908:function(e,t,n){var r=n(84488),o=Object;e.exports=function(e){return o(r(e))}},57593:function(e,t,n){var r=n(46916),o=n(70111),i=n(52190),a=n(58173),u=n(92140),s=n(5112),c=TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,s=a(e,l);if(s){if(void 0===t&&(t="default"),n=r(s,e,t),!o(n)||i(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},34948:function(e,t,n){var r=n(57593),o=n(52190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},51694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},41340:function(e,t,n){var r=n(70648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},66330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},69711:function(e,t,n){var r=n(1702),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},43307:function(e,t,n){var r=n(36293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(19781),o=n(47293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},94811:function(e,t,n){var r=n(17854),o=n(60614),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},5112:function(e,t,n){var r=n(17854),o=n(72309),i=n(92597),a=n(69711),u=n(36293),s=n(43307),c=o("wks"),l=r.Symbol,f=l&&l.for,d=s?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!u&&"string"!=typeof c[e]){var t="Symbol."+e;u&&i(l,e)?c[e]=l[e]:c[e]=s&&f?f(t):d(t)}return c[e]}},81361:function(e){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},84944:function(e,t,n){"use strict";var r=n(82109),o=n(6790),i=n(47908),a=n(26244),u=n(19303),s=n(65417);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t),r=s(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:u(e)),r}})},38559:function(e,t,n){var r=n(82109),o=n(20408),i=n(86135);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},17727:function(e,t,n){"use strict";var r=n(82109),o=n(31913),i=n(2492),a=n(47293),u=n(35005),s=n(60614),c=n(36707),l=n(69478),f=n(98052),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,u("Promise")),n=s(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&s(i)){var p=u("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},99967:function(e,t,n){var r=n(82109),o=n(33217);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},55674:function(e,t,n){n(99967);var r=n(82109),o=n(33217);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},38037:function(e,t,n){"use strict";var r=n(95318);t.dq=v,t.mc=function(e){return v(e,g())},t.c4=t.ZP=void 0;var o=r(n(37316)),i=r(n(81506)),a=r(n(85354)),u=r(n(67154)),s=r(n(45697)),c=r(n(67294)),l=n(29499),f=n(92098),d=n(61752);t.cP=d.parsePath;var p=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"],h=function(e){return null==e?void 0:e.startsWith("/")};function v(e,t){var n,r;if(void 0===t&&(t=m()),!y(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:g())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var g=function(){return"/assets3"},m=function(){return""},y=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var b=function(e,t){return"number"==typeof e?e:y(e)?h(e)?v(e):function(e,t){return h(e)?e:(0,f.resolve)(e,t)}(e,t):e},w={activeClassName:s.default.string,activeStyle:s.default.object,partiallyActive:s.default.bool};function _(e){return c.default.createElement(l.Location,null,(function(t){var n=t.location;return c.default.createElement(x,(0,u.default)({},e,{_location:n}))}))}var x=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,r=e.isCurrent;return(n.props.partiallyActive?t:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,u.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,i.default)(n)),n}(0,a.default)(t,e);var n=t.prototype;return n._prefetch=function(){var e=window.location.pathname;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname);var t=b(this.props.to,e),n=(0,d.parsePath)(t).pathname;e!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){o._prefetch()},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(t),r.disconnect(),n())}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,i=void 0===r?this.defaultGetProps:r,a=t.onClick,s=t.onMouseEnter,f=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),h=t.replace,v=t._location,g=(0,o.default)(t,p);var m=b(n,v.pathname);return y(m)?c.default.createElement(l.Link,(0,u.default)({to:m,state:f,getProps:i,innerRef:this.handleRef,onMouseEnter:function(e){s&&s(e),___loader.hovering((0,d.parsePath)(m).pathname)},onClick:function(t){if(a&&a(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=h,r=encodeURI(m)===v.pathname;"boolean"!=typeof h&&r&&(n=!0),window.___navigate(m,{state:f,replace:n})}return!0}},g)):c.default.createElement("a",(0,u.default)({href:m},g))},t}(c.default.Component);x.propTypes=(0,u.default)({},w,{onClick:s.default.func,to:s.default.string.isRequired,replace:s.default.bool,state:s.default.object});var S=c.default.forwardRef((function(e,t){return c.default.createElement(_,(0,u.default)({innerRef:t},e))}));t.ZP=S;t.c4=function(e,t){window.___navigate(b(e,window.location.pathname),t)}},61752:function(e,t){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");-1!==i&&(n=t.substr(i),t=t.substr(0,i));return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}},19679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(61432);t.$C=r.ScrollHandler;var o=n(54855);t.p2=o.useScrollRestoration},61432:function(e,t,n){"use strict";var r=n(95318);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(81506)),i=r(n(85354)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),u=r(n(45697)),s=n(21142);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var l=a.createContext(new s.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new s.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,i.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=f,f.propTypes={shouldUpdateScroll:u.default.func,children:u.default.element.isRequired,location:u.default.object.isRequired}},21142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},54855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(t,e);a.current.scrollTo(0,r||0)}}),[t.key]),{ref:a,onScroll:function(){a.current&&n.save(t,e,a.current.scrollTop)}}};var r=n(61432),o=n(67294),i=n(29499)},55094:function(e,t,n){"use strict";n.d(t,{RD:function(){return o},LZ:function(){return i},ld:function(){return a}});var r=n(67294),o=r.createContext(),i=r.createContext(),a=function(e){var t=e.location,n=e.locale,a=e.dateFormat,u=e.otherLocaleUrlPath,s=e.children;return r.createElement(i.Provider,{value:t},r.createElement(o.Provider,{value:{locale:n,dateFormat:a,otherLocaleUrlPath:u}},s))}},91577:function(e,t,n){"use strict";n.d(t,{g8:function(){return at},EG:function(){return it},OO:function(){return ut},ZL:function(){return $e},h4:function(){return st},Yp:function(){return ct},RN:function(){return tt},s:function(){return rt},OP:function(){return nt},Tu:function(){return ot},p4:function(){return ft},gZ:function(){return lt},ZP:function(){return Xe}});var r,o,i,a,u=n(58127),s=n(39855),c=n(39432),l=n(67294),f=n(50009),d=n(50192),p=n(55841),h=n(49834),v=n(25444),g=n(45643),m=n(61668),y=function(e){(0,m.Z)().disturbanceBanner.moreInformation;return e.isHidden?null:l.createElement(b,{$bg:e.backgroundColor,$text:e.textColor,$stackOrder:e.bannerOrder||0},l.createElement(w,null,l.createElement(_,null,e.children),l.createElement("button",{onClick:function(t){t.preventDefault(),"function"==typeof e.onClose&&e.onClose()}},l.createElement("img",{src:s.AEXConstants.image.icon.crossLight,alt:"close button"}))))},b=f.default.div.withConfig({displayName:"Banner__BannerWrapper",componentId:"sc-grw1kd-0"})(["background-color:",";color:",";padding:17px;font-size:",";line-height:1.6;position:relative;@media screen and (min-width:","){z-index:",";}"],(function(e){return e.$bg}),(function(e){return e.$text}),s.AEXConstants.font.sizeBanner,s.AEXConstants.size.breakpointMedium,(function(e){return 10-e.$stackOrder})),w=f.default.div.withConfig({displayName:"Banner__Container",componentId:"sc-grw1kd-1"})(["max-width:",";width:100%;margin:0 auto;display:flex;align-items:center;"],s.AEXConstants.size.contentMaxWidth),_=f.default.div.withConfig({displayName:"Banner__Content",componentId:"sc-grw1kd-2"})(["flex:1;padding:0px 5px 0px 0;@media screen and (min-width:","){padding:5px 15px 5px 0;}"],s.AEXConstants.size.breakpointMedium),x=((0,f.default)(v.Link).withConfig({displayName:"Banner__StyledLink",componentId:"sc-grw1kd-3"})(["color:white;text-decoration:underline;"]),(0,f.default)(s.AEXStyledButton).withConfig({displayName:"Banner__CloseButton",componentId:"sc-grw1kd-4"})(["margin:0;background-color:transparent;&:hover{background-color:none;}"]),n(85309)),S=function(){var e=(0,m.Z)().cookieBanner.readMore;return l.createElement(x.Z,{trigger:l.createElement(k,null,e),modalId:"cookieInfo"})},k=f.default.span.withConfig({displayName:"CookieInformationModal__ReadMore",componentId:"sc-1a5j8zy-0"})(["text-decoration:underline;color:inherit;"]),E=((0,c.Pi)((function(e){var t=(0,m.Z)().cookieBanner,n=t.text,r=t.ok,o=(0,l.useContext)(d.Z);return l.createElement("span",null,l.createElement(y,{isHidden:!o.cookieBannerOpen,bannerOrder:e.order,backgroundColor:s.AEXConstants.color.colorLightNeed,textColor:s.AEXConstants.brandColor.colorAexTarmackBlack,onClose:function(){o.CloseCookie()},closeButtonText:r},n," ",l.createElement(S,null)))})),n(48093)),C=n.n(E),I=n(79505),T=n(55094),O=n(40695),A=function(e,t){return null==t?l.createElement(l.Fragment,null,e):l.createElement(l.Fragment,null,l.createElement(l.Fragment,null,e)," ",l.createElement(D,{key:0,to:t[0]},t[1]))},D=(0,f.default)(v.Link).withConfig({displayName:"Parsers__StyledLink",componentId:"sc-ng7q72-0"})(["color:white;text-decoration:underline;"]),P=p.jK+"/v4/disturbances",N=(0,c.Pi)((function(e){var t,n=(0,m.Z)().disturbanceBanner,r=n.showMore,o=n.showLess,i=n.ok,a=(0,l.useContext)(T.RD).locale,u=(0,l.useContext)(d.Z),c=(0,l.useState)(!1),f=c[0],p=c[1],h=(0,l.useState)(),v=h[0],g=h[1],b=new URLSearchParams({lang:"sv",station:"stockholm",client:"web"}),w=a.slice(0,2);(0,l.useEffect)((function(){var e=P+"?"+b;u.disturbanceBannersClosed&&fetch(e).then((function(e){return e.json()})).then((function(e){e.map((function(e){switch(e.severityLevel){case I.tV.NoDisturbance:u.setDisturbanceState(I.jx),u.CloseDisturbanceBanners();break;case I.tV.Orange:u.setDisturbanceState((0,I.Gh)(e.message[w],"orange",S(w,e.link)));break;case I.tV.Red:u.setDisturbanceState((0,I.qP)(e.message[w],"red",S(w,e.link)));break;case I.tV.Green:u.setDisturbanceState((0,I.SA)(e.message[w],"green",S(w,e.link)))}})),g(e)})).catch((function(e){console.error(e)}))}),[]);var _=function(e){e.preventDefault(),p(!0)},x=function(e){e.preventDefault(),p(!1)};function S(e,t){return null==t?void 0:[t.href[e],t.title[e]]}var k=function(e){var t=e.text,n=e.link,i=t.length>65&&!1===f?t.slice(0,50)+"...":A(t,n);return l.createElement("div",null,i,t.length>65?l.createElement(j,{onClick:f?x:_},f?o:r):l.createElement(l.Fragment,null))},E=u.disturbanceStates||[],D=(0,O.ZN)(E),N=((t={})[I.tV.Green]=s.AEXConstants.brandColor.colorAexMoss,t[I.tV.Orange]=s.AEXConstants.brandColor.colorOrange,t[I.tV.Red]=s.AEXConstants.brandColor.colorAexExpo,t);return D.map((function(t){switch(t.type){case I.tV.NoDisturbance:return l.createElement(l.Fragment,null);case I.tV.Green:case I.tV.Orange:case I.tV.Red:var n=""+t.id;return u.disturbanceBannersClosed&&void 0!==v?l.createElement(y,{key:n,onClose:function(){return e=n,void u.removeDisturbanceState(e);var e},backgroundColor:N[t.type],useLighButton:!0,textColor:s.AEXConstants.brandColor.colorWhite,closeButtonText:i,bannerOrder:e.order,isHidden:!1},l.createElement(C(),{minDeviceWidth:s.AEXConstants.size.breakpointMedium},(function(e){return e?l.createElement("div",null,A(t.data,t.link)):l.createElement(k,{text:t.data,link:t.link})}))):l.createElement(l.Fragment,null)}}))})),M=(0,f.css)(["text-decoration:underline;line-height:1.6;"]),j=f.default.button.withConfig({displayName:"DisturbanceBanner__TextButton",componentId:"sc-1rmsu8t-0"})([""," border:none;cursor:pointer;background-color:transparent;padding-left:8px;padding-right:0px;color:inherit;"],M),L=((0,c.Pi)((function(e){var t=(0,m.Z)().specialInformationBanner,n=t.link,r=t.moreInfo,o=t.close,i=(0,l.useContext)(d.Z);return l.createElement(y,{isHidden:!i.specialInformationBannerOpen,bannerOrder:e.order,backgroundColor:s.AEXConstants.brandColor.colorAexLake,textColor:s.AEXConstants.brandColor.colorWhite,onClose:function(){i.CloseSpecialInformation()},closeButtonText:o,useLighButton:!0},l.createElement(L,{to:n},r))})),(0,f.default)(v.Link).withConfig({displayName:"SpecialInformationBanner__ReadMore",componentId:"sc-mzqrs9-0"})(["text-decoration:underline;color:inherit;"])),R=n(45697),F=n.n(R),U=n(24839),B=n.n(U),z=n(23302),V=n.n(z),H=n(46494),G=n.n(H),q="bodyAttributes",W="htmlAttributes",Z="titleAttributes",K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},$=(Object.keys(K).map((function(e){return K[e]})),"charset"),X="cssText",Y="href",J="http-equiv",Q="innerHTML",ee="itemprop",te="name",ne="property",re="rel",oe="src",ie="target",ae={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ue="defaultTitle",se="defer",ce="encodeSpecialCharacters",le="onChangeClientState",fe="titleTemplate",de=Object.keys(ae).reduce((function(e,t){return e[ae[t]]=t,e}),{}),pe=[K.NOSCRIPT,K.SCRIPT,K.STYLE],he="data-react-helmet",ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},me=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},be=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},we=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},_e=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},xe=function(e){var t=Ie(e,K.TITLE),n=Ie(e,fe);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Ie(e,ue);return t||r||void 0},Se=function(e){return Ie(e,le)||function(){}},ke=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return ye({},e,t)}),{})},Ee=function(e,t){return t.filter((function(e){return void 0!==e[K.BASE]})).map((function(e){return e[K.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},Ce=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&Pe("Helmet: "+e+' should be of type "Array". Instead found type "'+ve(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var u=i[a],s=u.toLowerCase();-1===t.indexOf(s)||n===re&&"canonical"===e[n].toLowerCase()||s===re&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(u)||u!==Q&&u!==X&&u!==ee||(n=u)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var u=i[a],s=G()({},r[u],o[u]);r[u]=s}return e}),[]).reverse()},Ie=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Te=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){Te(e)}),0)}),Oe=function(e){return clearTimeout(e)},Ae="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Te:n.g.requestAnimationFrame||Te,De="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Oe:n.g.cancelAnimationFrame||Oe,Pe=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Ne=null,Me=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,l=e.styleTags,f=e.title,d=e.titleAttributes;Re(K.BODY,r),Re(K.HTML,o),Le(f,d);var p={baseTag:Fe(K.BASE,n),linkTags:Fe(K.LINK,i),metaTags:Fe(K.META,a),noscriptTags:Fe(K.NOSCRIPT,u),scriptTags:Fe(K.SCRIPT,c),styleTags:Fe(K.STYLE,l)},h={},v={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(v[e]=p[e].oldTags)})),t&&t(),s(e,h,v)},je=function(e){return Array.isArray(e)?e.join(""):e},Le=function(e,t){void 0!==e&&document.title!==e&&(document.title=je(e)),Re(K.TITLE,t)},Re=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(he),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),u=0;u<a.length;u++){var s=a[u],c=t[s]||"";n.getAttribute(s)!==c&&n.setAttribute(s,c),-1===o.indexOf(s)&&o.push(s);var l=i.indexOf(s);-1!==l&&i.splice(l,1)}for(var f=i.length-1;f>=0;f--)n.removeAttribute(i[f]);o.length===i.length?n.removeAttribute(he):n.getAttribute(he)!==a.join(",")&&n.setAttribute(he,a.join(","))}},Fe=function(e,t){var n=document.head||document.querySelector(K.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===Q)n.innerHTML=t.innerHTML;else if(r===X)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var u=void 0===t[r]?"":t[r];n.setAttribute(r,u)}n.setAttribute(he,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},Ue=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[ae[n]||n]=e[n],t}),t)},ze=function(e,t,n){switch(e){case K.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[he]=!0,o=Be(n,r),[l.createElement(K.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=Ue(n),i=je(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+_e(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+_e(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case q:case W:return{toComponent:function(){return Be(t)},toString:function(){return Ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[he]=!0,r);return Object.keys(t).forEach((function(e){var n=ae[e]||e;if(n===Q||n===X){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),l.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===Q||e===X)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+_e(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===pe.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},Ve=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,s=e.scriptTags,c=e.styleTags,l=e.title,f=void 0===l?"":l,d=e.titleAttributes;return{base:ze(K.BASE,t,r),bodyAttributes:ze(q,n,r),htmlAttributes:ze(W,o,r),link:ze(K.LINK,i,r),meta:ze(K.META,a,r),noscript:ze(K.NOSCRIPT,u,r),script:ze(K.SCRIPT,s,r),style:ze(K.STYLE,c,r),title:ze(K.TITLE,{title:f,titleAttributes:d},r)}},He=B()((function(e){return{baseTag:Ee([Y,ie],e),bodyAttributes:ke(q,e),defer:Ie(e,se),encode:Ie(e,ce),htmlAttributes:ke(W,e),linkTags:Ce(K.LINK,[re,Y],e),metaTags:Ce(K.META,[te,$,J,ne,ee],e),noscriptTags:Ce(K.NOSCRIPT,[Q],e),onChangeClientState:Se(e),scriptTags:Ce(K.SCRIPT,[oe,Q],e),styleTags:Ce(K.STYLE,[X],e),title:xe(e),titleAttributes:ke(Z,e)}}),(function(e){Ne&&De(Ne),e.defer?Ne=Ae((function(){Me(e,(function(){Ne=null}))})):(Me(e),Ne=null)}),Ve)((function(){return null})),Ge=(o=He,a=i=function(e){function t(){return ge(this,t),we(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!V()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:t};case K.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return ye({},r,((t={})[n.type]=[].concat(r[n.type]||[],[ye({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case K.TITLE:return ye({},o,((t={})[r.type]=a,t.titleAttributes=ye({},i),t));case K.BODY:return ye({},o,{bodyAttributes:ye({},i)});case K.HTML:return ye({},o,{htmlAttributes:ye({},i)})}return ye({},o,((n={})[r.type]=ye({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=ye({},t);return Object.keys(e).forEach((function(t){var r;n=ye({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return l.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[de[n]||n]=e[n],t}),t)}(be(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=be(e,["children"]),r=ye({},n);return t&&(r=this.mapChildrenToProps(t,r)),l.createElement(o,r)},me(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(l.Component),i.propTypes={base:F().object,bodyAttributes:F().object,children:F().oneOfType([F().arrayOf(F().node),F().node]),defaultTitle:F().string,defer:F().bool,encodeSpecialCharacters:F().bool,htmlAttributes:F().object,link:F().arrayOf(F().object),meta:F().arrayOf(F().object),noscript:F().arrayOf(F().object),onChangeClientState:F().func,script:F().arrayOf(F().object),style:F().arrayOf(F().object),title:F().string,titleAttributes:F().object,titleTemplate:F().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=Ve({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);Ge.renderStatic=Ge.rewind;var qe=n(73863),We=function(e){return"/"===e.charAt(0)&&(e=e.substr(1)),"/"===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),e},Ze=function(e){var t=e.seo,n=e.pathname,r=e.otherLocaleUrlPath,o=(0,v.useStaticQuery)(Ke).site.siteMetadata,i=o.siteName,a=o.defaultTitle,u=o.titleTemplate,s=o.siteUrl,c=o.doNotIndexPages;t=Object.assign({},t,{siteName:i,title:t.title||a,image:t.image||null,url:""+s+(n||"")});var f=function(e,t,n){var r="en"===e||"x-default"===e?"en-US":e,o=0!==Object.keys(t).length?t[r]:n;return void 0===o?"":o};return l.createElement(l.Fragment,null,l.createElement(Ge,{title:t.title,titleTemplate:u},l.createElement("html",{lang:"en"}),l.createElement("meta",{name:"description",content:t.description}),("/"===n||"/travelers"===n)&&(0,qe.h4)()&&l.createElement("meta",{name:"apple-itunes-app",content:"app-id=968003398"}),t.image&&l.createElement("meta",{name:"image",content:t.image}),t.siteName&&l.createElement("meta",{property:"og:site_name",content:t.siteName}),t.url&&l.createElement("meta",{property:"og:url",content:t.url}),t.title&&l.createElement("meta",{property:"og:title",content:t.title}),t.description&&l.createElement("meta",{property:"og:description",content:t.description}),t.image&&l.createElement("meta",{property:"og:image",content:t.image}),l.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),l.createElement("meta",{name:"facebook-domain-verification",content:"r04wiqndsyn52j8i4cko2ie8vme6ax"}),n.match("/summary/?")&&l.createElement("link",{rel:"stylesheet",href:"https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/5.60.0/adyen.css",integrity:"sha384-zgFNrGzbwuX5qJLys75cOUIGru/BoEzhGMyC07I3OSdHqXuhUfoDPVG03G+61oF4",crossorigin:"anonymous"}),n.match("/summary/?")&&l.createElement("script",{src:"https://pay.google.com/gp/p/js/pay.js"}),Object.entries({sv:"https://www.arlandaexpress.se",en:"https://www.arlandaexpress.com","x-default":"https://www.arlandaexpress.com"}).map((function(e){var t=e[0],o=e[1];return l.createElement("link",{rel:"alternate",href:""+o+f(t,r,n),hrefLang:t})})),l.createElement("link",{rel:"preconnect",href:"https://api.atrain.se",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://www.googletagmanager.com",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://www.google-analytics.com",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://checkoutshopper-live.adyen.com",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://sjs.bizographics.com",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://connect.facebook.net",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://px.ads.linkedin.com",crossorigin:!0}),l.createElement("link",{rel:"preconnect",href:"https://recaptcha.net/recaptcha",crossorigin:!0}),l.createElement("script",{src:"https://recaptcha.net/recaptcha/api.js?render=6LfN4E0nAAAAANykD_KEB2_zxuW9cQ6Fjp1UMRM1",async:!0,defer:!0}),!1,!1,(c.includes(We(n))||!0===t.useNoIndexNoFollow)&&l.createElement("meta",{name:"robots",content:"noindex"}),(c.includes(We(n))||!0===t.useNoIndexNoFollow)&&l.createElement("meta",{name:"robots",content:"nofollow"}),l.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"http://schema.org","@type":"/kontakt"===n||"/contact"===n?"ContactPage":"WebPage",name:t.title,description:t.description})),"/"===n&&l.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"http://schema.org","@type":"Organization",name:t.siteName,url:t.siteUrl,sameAs:["https://www.facebook.com/arlandaexpress","https://www.instagram.com/arlandaexpress","https://twitter.com/arlanda_express","https://wikipedia.org/wiki/Arlanda_Express"]})),"/"===n&&l.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"http://schema.org","@type":"WebSite",name:t.siteName,url:t.siteUrl})),t.faqSchema&&l.createElement("script",{type:"application/ld+json"},t.faqSchema)))},Ke="3949069234",$e=l.createContext(),Xe=(0,c.Pi)((function(e){var t=(0,l.useContext)(T.RD).locale,n=(0,l.useContext)(T.LZ).pathname,r=(0,l.useContext)(T.RD).otherLocaleUrlPath,o=(0,l.useContext)(d.Z),i=(0,l.useRef)(null),a=(0,l.useRef)(null),c=(0,h.a)(),f=o.authStore;return(0,l.useEffect)((function(){fetch(p.jK+"/siteDown/"+t).then((function(e){return e.json()})).then((function(e){var t=null!=e.items?e.items.filter((function(e){return!0===e.fields.closeSite})):[];if(t.length>0){var n=t[0].fields,r={title:n.title,text:n.text};o.setSiteDownState(!0,r)}else o.setSiteDownState(!1,null)})).catch((function(){}))}),[]),(0,l.useEffect)((function(){setTimeout((function(){window.localStorage.setItem("isLoggedIn",null!==f.currentUser?"true":"false")}),1e3)}),[]),l.createElement(l.Fragment,null,l.createElement(Ze,{seo:e.seo,pathname:n,otherLocaleUrlPath:r}),!1,!1,l.createElement(N,{order:3}),l.createElement(Ye,null,l.createElement(Qe,{ref:a},l.createElement(s.AEXWebHeader,{locale:t,skipLanguageConfirm:e.skipLanguageConfirm,swedishDomain:"https://www.arlandaexpress.se",englishDomain:"https://www.arlandaexpress.com",useSquareLogo:e.useSquareLogo,useYellowLogo:e.useYellowLogo,useContentBackground:e.useContentBackground,useColorBackground:e.useColorBackground,useWhiteText:e.useWhiteText,Link:v.Link,loginLink:"https://www.arlandaexpress.com/my-pages",user:c,LogoutComponent:u.AEXAuth.components.LogoutButton,hideBuyLinks:o.siteDisturbance})),l.createElement(Je,{className:e.className},l.createElement($e.Provider,{value:i},e.children)),l.createElement(et,{ref:i},e.useSlimFooter?l.createElement(s.AEXCheckoutFooter,{locale:t}):l.createElement(s.AEXWebFooter,{locale:t,skipLanguageConfirm:e.skipLanguageConfirm,swedishDomain:"https://www.arlandaexpress.se",englishDomain:"https://www.arlandaexpress.com",Link:v.Link}))))})),Ye=f.default.div.withConfig({displayName:"layout__GridContainer",componentId:"sc-1ds2jjl-0"})(["display:flex;flex-direction:column;"]),Je=f.default.div.withConfig({displayName:"layout__MainContent",componentId:"sc-1ds2jjl-1"})(["background-color:",";position:relative;@media only screen and (min-width:","){min-height:",";}"],s.AEXConstants.brandColor.colorWhite,g.hs,"630px"),Qe=f.default.header.withConfig({displayName:"layout__HeaderLayout",componentId:"sc-1ds2jjl-2"})(["position:relative;z-index:4;@media only screen and (min-width:","){z-index:2;}"],g.hs),et=f.default.footer.withConfig({displayName:"layout__FooterLayout",componentId:"sc-1ds2jjl-3"})(["background-color:",";position:relative;"],s.AEXConstants.color.footerBackground),tt=f.default.div.withConfig({displayName:"layout__RowContainer",componentId:"sc-1ds2jjl-4"})(["@media only screen and (min-width:","){display:flex;justify-content:space-between;flex-wrap:nowrap;flex-direction:row;}"],g.hs),nt=(0,f.default)(tt).withConfig({displayName:"layout__RowContainerReversed",componentId:"sc-1ds2jjl-5"})(["padding-bottom:50px;@media only screen and (min-width:","){flex-direction:column;align-items:center;}"],g.hs),rt=f.default.div.withConfig({displayName:"layout__RowContainerMediumUp",componentId:"sc-1ds2jjl-6"})(["@media only screen and (min-width:","){display:flex;justify-content:space-between;flex-wrap:nowrap;flex-direction:row;}"],g.Mo),ot=f.default.div.withConfig({displayName:"layout__RowContainerSmallUp",componentId:"sc-1ds2jjl-7"})(["display:flex;justify-content:space-between;flex-wrap:nowrap;flex-direction:row;"]),it=f.default.div.withConfig({displayName:"layout__ColumnContainerSmallUp",componentId:"sc-1ds2jjl-8"})(["width:calc(50% - 0.5em);"]),at=f.default.div.withConfig({displayName:"layout__ColumnContainerMediumUp",componentId:"sc-1ds2jjl-9"})(["@media only screen and (min-width:","){width:calc(50% - 0.5em);}@media only screen and (min-width:","){width:",";}"],g.Mo,g.hs,(function(e){return e.extraSpace?"calc(50% - 1.5em);":"calc(50% - 0.5em);"})),ut=f.default.div.withConfig({displayName:"layout__ContentContainer",componentId:"sc-1ds2jjl-10"})(["@media only screen and (min-width:","){width:646px;}"],g.hs),st=f.default.div.withConfig({displayName:"layout__MaxWidthContentContainer",componentId:"sc-1ds2jjl-11"})(["max-width:",";margin:0 auto;@media only screen and (min-width:","){padding:0 ",";}"],g.FQ,g.hs,g.w),ct=f.default.div.withConfig({displayName:"layout__MaxWidthTicketSelectionContainer",componentId:"sc-1ds2jjl-12"})(["max-width:648px;margin:0 auto;"]),lt=(0,f.default)(ct).withConfig({displayName:"layout__SharedTicketSelectionFooterSpacing",componentId:"sc-1ds2jjl-13"})(["",";"],s.AEXConstants.style.spacing.roomForWaveAtBottom),ft=(0,f.default)(st).withConfig({displayName:"layout__SharedFooterSpacing",componentId:"sc-1ds2jjl-14"})(["",";"],s.AEXConstants.style.spacing.roomForWaveAtBottom)},85309:function(e,t,n){"use strict";var r=n(67294),o=n(50009),i=n(61668),a=n(70859),u=n(73863),s=n(154),c=n(39855);t.Z=function(e){var t=(0,i.Z)().modal.close,n=(0,a.Z)(),o=n.modals,l=n.contentfulModals,f=e.isContentfulModal?l[e.modalId]:o[e.modalId],d=f.heading,p=f.content,h=(0,u.vI)("en-US",p),v=(0,s.W)(h);return r.createElement(c.AEXModal,{headerVariant:"CloseAndTitleDesktopOnly",headerTitle:d,headerCloseAria:t,headerCloseText:t,footerVariant:"CloseButtonMobileOnly",footerCloseAria:t,footerCloseText:t,triggerAria:e.aria,triggerContent:e.trigger,initAsOpen:e.initAsOpen,onClose:e.onClose},v)};o.default.span.withConfig({displayName:"ModalWithRichText__OpenTerms",componentId:"sc-1063cxd-0"})(["text-decoration:underline;"])},50192:function(e,t,n){"use strict";n.d(t,{Z:function(){return F}});var r=n(40695),o=n(67294),i=n(92137),a=n(87757),u=n.n(a),s=n(90863),c=n(62426),l=n(96806),f=n(2499),d=n(68833),p=n(35161),h=n(93857),v=n(46723),g=n(85923),m=n(58127),y=n(39855),b=n(55841),w=n(82277),_=function(e,t,n,r,o,i,a){var u,s,c,l,f=n.offer,d=f.offers.map((function(n){var o=a?t.getCustomer(n.index):function(e,t){return{recipient:{firstName:e.firstName,lastName:e.lastName,email:e.email,preferredLanguage:t}}}(e,i),u=n.products.map((function(e){var t;return Object.assign({},e,{count:null!==(t=e.count)&&void 0!==t?t:1,travelers:e.travelers?Object.assign({},e.travelers):{adultCount:1,seniorCount:0,youthCount:0,childCount:0}})}));return{index:Number(n.index),checkoutLines:u,totalPrice:n.totalPrice,totalListPrice:n.totalListPrice,totalTravelerPrice:n.totalTravelerPrice,totalDiscountInCents:n.totalDiscountInCents,recipient:o.recipient,typeOfJourney:n.offerType,travelers:r.travelers,campaignCode:n.campaignInfo.code,travelerPrices:n.travelerPrices}}));return{checkout:{checkoutType:null!=o&&null!==(u=o.currentUser)&&void 0!==u&&u.distributorCustomerId&&n.offerType===w.m_.TravelPass?"Distribution":"Personal",customerId:null!=o&&null!==(s=o.currentUser)&&void 0!==s&&s.distributorCustomerId&&n.offerType===w.m_.TravelPass?null==o||null===(c=o.currentUser)||void 0===c?void 0:c.distributorCustomerId:null==o||null===(l=o.currentUser)||void 0===l?void 0:l.privateCustomerId,offers:d,totalPrice:f.totalPrice},signature:f.signature}},x=function(){var e=(0,i.Z)(u().mark((function e(t,n,r){var o,a,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={method:"POST",headers:{"Content-Type":"application/json",apiKey:b.gR},body:JSON.stringify(t)},a=b.L8+"/v5/checkouts?lang="+n,e.next=4,null==r?void 0:r.getToken();case 4:return s=e.sent,e.abrupt("return",m.AEXAuth.api.authenticatedFetch(a,o,s).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=y.AEXUtils.object,e.next=3,t.json();case 3:return e.t1=e.sent,e.abrupt("return",e.t0.changeKeysToCamelCase.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){return e.isSuccess?(0,l.fB)(e.data):(0,l.tj)(e.error)})).catch((function(){return(0,l.tj)({status:0,code:"",titel:"",detail:""})})));case 6:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),S=n(43577),k=function(){function e(){var e=this;this.timeoutRefPaymentLoadingText=null,this.currency="SEK",this.timeoutTimePaymentLoadingText=1e4,this.requiresPayment=function(e){return e&&0!==e.totalPrice.amountInCentsIncVat},this.get3DSecure2Component=function(){var t=(0,i.Z)(u().mark((function t(n,o){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getOrCreateAdyenComponent(o);case 2:return t.abrupt("return",t.sent.createFromAction(n,Object.assign({onError:function(e,t){(0,h.zJ)("threeDSError",e)},onAdditionalDetails:function(){var t=(0,i.Z)(u().mark((function t(n){var o,i,a;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=n.data,(0,h.DV)("threeDSCallback",{orderid:null===(o=e.remoteBookingRefData)||void 0===o?void 0:o.orderNumber}),t.next=4,(0,g.mO)({details:i.details,orderNumber:e.remoteBookingRefData.orderNumber});case 4:a=t.sent,t.t0=a.type,t.next="Success"===t.t0?8:"Failure"===t.t0?10:12;break;case 8:return(0,r.z)((function(){e.paymentResultData=a.data,e.paymentStatus=[a.data.resultCode,a.data.refusalReason||null],e.paymentState=d.Pn,e.handlePaymentResult((function(e){return(0,f.JU)(e)}),(function(){return(0,f.Jh)()}),(function(){return null}),[a.data.resultCode,a.data.refusalReason||null],e.remoteBookingRefData.orderNumber,e.remoteBookingRefData.handle)})),t.abrupt("break",12);case 10:return(0,r.z)((function(){e.paymentStatus=[g.AC.Fail,null]})),t.abrupt("break",12);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},"threeDS2Challenge"===n.type&&{challengeWindowSize:"02"})));case 3:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),this.reset()}var t=e.prototype;return t.reset=function(){this.bookingRequest=l.oR,this.paymentMethods=void 0,this.paymentTakingTime=!1,this.isCardPaymentDataValid=!1,this.cardPaymentData={type:"",encryptedCardNumber:"",encryptedExpiryMonth:"",encryptedExpiryYear:"",encryptedSecurityCode:"",holderName:null},this.paymentState=d.Pn,this.paymentStatus=[null,null],this.testRefusalReason="",this.paymentResultData=null,this.remoteBookingRefData=null,this.paymentMethod=g.A6.PAYMENT_STATE_EMPTY,this.clearTimeoutPaymentLoadingText(),this.adyenComponent=void 0,this.isGooglePaymentValid=!1,this.googlePaymentData=void 0},t.fetchPaymentMethods=function(){var e=(0,i.Z)(u().mark((function e(t,n){var r;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={valueInCents:100*t,currency:this.currency},e.next=3,(0,g.qq)(r,n);case 3:this.paymentMethods=e.sent;case 4:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.performBooking=function(){var e=(0,i.Z)(u().mark((function e(t,n,r,o){var i,a,s,c,d,h,v,g,m,y;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.bookingRequest=l.gb,this.paymentStatus=[null,null],i=t.personStore,a=t.customerStore,s=t.authStore,c=t.offerStore,d=t.travelerStore,h=(null==c?void 0:c.offer.totalPrice.amountInCentsIncVat)/100,v=_(i,a,c,d,s,n,r),e.next=11,x(v,n,s);case 11:g=e.sent,e.t0=g.type,e.next="Success"===e.t0?15:"Failure"===e.t0?26:29;break;case 15:if(this.remoteBookingRefData=g.data,m=function(e){"OrderProcessing"!==e.type?(0,f.JU)(e):(0,f.lm)(e.orderNumber)},!this.requiresPayment(c.offer)){e.next=22;break}return e.next=20,this.performPayment(m,g,h,i.email,n,o,s);case 20:e.next=24;break;case 22:return e.next=24,this.checkOrderStatus(m,g.data.orderNumber,g.data.handle);case 24:return"undefined"!=typeof window&&(window.localStorage.setItem(S.u,g.data.orderNumber.toString()),window.sessionStorage.setItem("lastOrderId",g.data.orderNumber.toString())),e.abrupt("break",29);case 26:return y="ClientError"===g.error.code?(0,p.hS)(g.error.detail):p.ue,(0,f.JU)(y),e.abrupt("break",29);case 29:case"end":return e.stop()}}),e,this)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),t.performPayment=function(){var e=(0,i.Z)(u().mark((function e(t,n,o,i,a,s,l){var d,h,v,m,y,w,_,x,S=this;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=b.L8+"/v3/payments/"+n.data.orderNumber+"/verify-redirect?returnUrl="+c.lW.from(window.location.origin+"/redirect-landing-page/?orderNumber="+n.data.orderNumber+"&handle="+n.data.handle+"&paymentMethod="+this.paymentMethod+"&lang="+a).toString("base64"),h=this.paymentMethod===g.A6.PAYMENT_STATE_CARD?{creditCardDetails:this.cardPaymentData,shopper:{email:i},returnUrl:d,originUrl:window.location.origin,testRefusalReason:this.testRefusalReason}:null,v=this.paymentMethod===g.A6.PAYMENT_STATE_SWISH?{shopper:{email:i},returnUrl:d,originUrl:window.location.origin}:null,m=this.paymentMethod===g.A6.PAYMENT_STATE_INVOICE?{}:null,y=this.paymentMethod===g.A6.PAYMENT_STATE_GOOGLEPAY?{googlePayToken:this.googlePaymentData.googlePayToken,shopper:{email:i},returnUrl:d,testRefusalReason:this.testRefusalReason}:null,w=this.paymentMethod===g.A6.PAYMENT_STATE_APPLEPAY?{applePayToken:this.applePaymentData.applePayToken,shopper:{email:i},returnUrl:d,testRefusalReason:this.testRefusalReason}:null,x={paymentMethod:this.paymentMethod,orderNumber:n.data.orderNumber,amount:{valueInCents:100*o,currency:this.currency},creditCardData:h,swishData:v,invoiceData:m,googlePayData:y,applePayData:w},e.next=9,(0,g.Li)(x,s,l);case 9:_=e.sent,e.t0=_.type,e.next="Success"===e.t0?13:"Failure"===e.t0?15:17;break;case 13:return(0,r.z)((function(){S.paymentResultData=_.data,S.paymentStatus=[_.data.resultCode,_.data.refusalReason||null],S.handlePaymentResult(t,(function(){return(0,f.Jh)()}),(function(){return null}),S.paymentStatus,n.data.orderNumber,n.data.handle)})),e.abrupt("break",17);case 15:return(0,f.JU)(p.ue),e.abrupt("break",17);case 17:case"end":return e.stop()}}),e,this)})));return function(t,n,r,o,i,a,u){return e.apply(this,arguments)}}(),t.timeoutPaymentLoadingText=function(){var e=this;this.timeoutRefPaymentLoadingText=setTimeout((function(){e.paymentTakingTime=!0}),this.timeoutTimePaymentLoadingText)},t.clearTimeoutPaymentLoadingText=function(){null!=this.timeoutRefPaymentLoadingText&&clearTimeout(this.timeoutRefPaymentLoadingText),this.timeoutRefPaymentLoadingText=null},t.clearRefusalErrors=function(){this.paymentStatus=[null,null]},t.setPaymentMethod=function(e){this.paymentMethod=e},t.getPaymentMethodData=function(e){var t;if(e in g.lI){var n=g.lI[e];return null===(t=this.paymentMethods)||void 0===t?void 0:t.find((function(e){return e.type===n}))}},t.setCardPaymentData=function(e){this.cardPaymentData=e},t.setIsGooglePayValid=function(e){this.isGooglePaymentValid=e},t.setGooglePaymentData=function(e){this.googlePaymentData=e},t.setApplePaymentData=function(e){this.applePaymentData=e},t.setBookingReference=function(e){this.remoteBookingRefData=e},t.getBookingReference=function(){return this.remoteBookingRefData},t.initializeAdyenComponent=function(){var e=(0,i.Z)(u().mark((function e(t){var n,r,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.replace("-","_").replace("sv","sv_SE"),o={clientKey:"live_XXPN52AOS5HLRCFKVC7QRULFEAHNHX3X",environment:"live",locale:r,countryCode:"SE",translations:(n={},n[r]={"creditCard.numberField.placeholder":"","creditCard.expiryDateField.placeholder":"","creditCard.cvcField.placeholder.3digits":"","creditCard.cvcField.placeholder.4digits":""},n)},e.next=4,(0,s.Z)(o);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.getOrCreateAdyenComponent=function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.adyenComponent,e.t0){e.next=5;break}return e.next=4,this.initializeAdyenComponent(t);case 4:e.t0=e.sent;case 5:return e.abrupt("return",this.adyenComponent=e.t0);case 6:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t.paymentDetailsValid=function(e){return!1===this.requiresPayment(e)||this.paymentMethod===g.A6.PAYMENT_STATE_CARD&&this.isCardPaymentDataValid||this.paymentMethod===g.A6.PAYMENT_STATE_SWISH||this.paymentMethod===g.A6.PAYMENT_STATE_INVOICE||this.paymentMethod===g.A6.PAYMENT_STATE_APPLEPAY||this.paymentMethod===g.A6.PAYMENT_STATE_GOOGLEPAY&&this.isGooglePaymentValid},t.handlePaymentResult=function(){var e=(0,i.Z)(u().mark((function e(t,n,r,o,a,s){var c,f,p,h,v,m=this;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:p=o[0],o[1],h=function(){m.paymentState=d.Pn,m.bookingRequest=l.oR,m.clearTimeoutPaymentLoadingText(),r()},e.t0=p,e.next=e.t0===g.AC.Authorised||e.t0===g.AC.Received?5:e.t0===g.AC.Redirect?8:e.t0===g.AC.Identify?10:e.t0===g.AC.Challenge?12:e.t0===g.AC.Refused||e.t0===g.AC.Fail?14:e.t0===g.AC.SwishPending?16:19;break;case 5:return e.next=7,this.checkOrderStatus(t,a,s);case 7:return e.abrupt("break",20);case 8:return this.paymentState=(0,d.jQ)(this.paymentResultData.action),e.abrupt("break",20);case 10:return this.paymentState=(0,d.Lc)(null===(c=this.paymentResultData)||void 0===c?void 0:c.action),e.abrupt("break",20);case 12:return this.paymentState=(0,d.aK)(null===(f=this.paymentResultData)||void 0===f?void 0:f.action),e.abrupt("break",20);case 14:return h(),e.abrupt("break",20);case 16:return v={url:this.paymentResultData.action.url,qrCode:this.paymentResultData.qrCodeImage,orderNumber:a,onPaymentAuthorized:function(){var e=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.checkOrderStatus(t,a,s);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onPaymentFailed:n,onCancelling:h},this.paymentState=(0,d.Cr)(v),e.abrupt("break",20);case 19:return e.abrupt("break",20);case 20:case"end":return e.stop()}}),e,this)})));return function(t,n,r,o,i,a){return e.apply(this,arguments)}}(),t.checkOrderStatus=function(){var e=(0,i.Z)(u().mark((function e(t,n,r){var o,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.timeoutPaymentLoadingText(),e.next=3,(0,v.SX)(n);case 3:o=e.sent,e.t0=o.type,e.next="Success"===e.t0?7:"Failure"===e.t0?9:12;break;case 7:return(0,f._W)(o.data.orderType,n,r),e.abrupt("break",12);case 9:return i=(0,v.XH)(o.error,n),t(i),e.abrupt("break",12);case 12:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}(),e}();(0,r.GW)(k,{bookingRequest:r.LO,paymentMethods:r.LO,paymentTakingTime:r.LO,isCardPaymentDataValid:r.LO,cardPaymentData:r.LO,paymentState:r.LO,paymentStatus:r.LO,paymentMethod:r.LO,testRefusalReason:r.LO,reset:r.aD,fetchPaymentMethods:r.aD,performBooking:r.aD,timeoutPaymentLoadingText:r.aD,clearTimeoutPaymentLoadingText:r.aD,handlePaymentResult:r.aD,get3DSecure2Component:r.aD,setCardPaymentData:r.aD,setBookingReference:r.aD});var E=n(85061),C=function(){function e(){this.emptyCustomer={index:0,recipient:{firstName:"",lastName:"",email:"",reference:"",preferredLanguage:"sv-SE"},selectedProducts:[]},this.reset()}var t=e.prototype;return t.reset=function(){this.customers=[this.emptyCustomer],this.latestIndex=0},t.getCustomer=function(e){var t=this.customers.findIndex((function(t){return t.index===e}));return this.customers[t]},t.setField=function(e,t,n){var r=(0,E.Z)(this.customers),o=r.findIndex((function(t){return t.index===e}));r[o].recipient[t]=n,this.customers=r},t.setFirstName=function(e,t){this.setField(e,"firstName",t)},t.setLastName=function(e,t){this.setField(e,"lastName",t)},t.setEmail=function(e,t){this.setField(e,"email",t)},t.setReference=function(e,t){this.setField(e,"reference",t)},t.setLanguage=function(e,t){this.setField(e,"preferredLanguage",t)},t.changeProductCount=function(e,t,n){var r=(0,E.Z)(this.customers),o=r.findIndex((function(t){return t.index===e})),i=(0,E.Z)(r[o].selectedProducts),a=i.findIndex((function(e){return e.productIdentifier.id===t.id&&e.productIdentifier.version===t.version}));if(a>=0){var u=i[a].count+n;u>0?i[a].count=u:i[a]=null}else n>0&&i.push({productIdentifier:t,count:1});r[o].selectedProducts=i.filter(Boolean),this.customers=r},t.increaseProduct=function(e,t,n){this.changeProductCount(e,{id:t,version:n},1)},t.decreaseProduct=function(e,t,n){this.changeProductCount(e,{id:t,version:n},-1)},t.changeProduct=function(e,t,n){this.clearProducts(e),this.changeProductCount(e,{id:t,version:n},1)},t.clearProducts=function(e){var t=(0,E.Z)(this.customers),n=t.findIndex((function(t){return t.index===e}));t[n].selectedProducts=[],this.customers=t},t.addNewCustomer=function(){var e=(0,E.Z)(this.customers),t=Object.assign({},this.emptyCustomer);t.index=++this.latestIndex,e.push(t),this.customers=e},t.removeCustomer=function(e){var t=this.customers.filter((function(t){return t.index!==e}));this.customers=t},t.validateFields=function(e){var t=this.customers.findIndex((function(t){return t.index===e})),n=this.customers[t];return{firstName:y.AEXUtils.validators.validateName(n.recipient.firstName),lastName:y.AEXUtils.validators.validateName(n.recipient.lastName),email:y.AEXUtils.validators.validateEmail(n.recipient.email),language:"sv-SE"===n.recipient.preferredLanguage||"en-US"===n.recipient.preferredLanguage,reference:n.recipient.reference.length<=29}},t.validateCustomer=function(e){return Object.values(this.validateFields(e)).every(Boolean)},e}();(0,r.GW)(C,{customers:r.LO,reset:r.aD,setFirstName:r.aD,setLastName:r.aD,setEmail:r.aD,setReference:r.aD,setLanguage:r.aD,increaseProduct:r.aD,decreaseProduct:r.aD,changeProduct:r.aD,addNewCustomer:r.aD,removeCustomer:r.aD,validateCustomer:r.aD});var I=function(){function e(){this.reset()}var t=e.prototype;return t.reset=function(){this.offerType=w.m_.OneWay,this.offer=null,this.offerRequest=l.oR,this.madePriceRequests=0,this.campaignActive=!1,this.campaignCode=""},t.setOfferRequest=function(e){this.offerRequest=e},t.toggleCampaignActive=function(){this.campaignActive=!this.campaignActive},t.setCampaignCode=function(e){this.campaignCode=e},t.setOfferType=function(e){this.offerType=e},t.getOfferType=function(){return this.offerType},t.setOffer=function(e){this.offer=e},t.getFirstOfferProposal=function(){var e,t;return(null===(e=this.offer)||void 0===e?void 0:e.offers.length)>0?null===(t=this.offer)||void 0===t?void 0:t.offers[0]:null},t.fetchOffer=function(){var e=(0,i.Z)(u().mark((function e(t,n,r,o){var i,a,s=this;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={offerRequests:n,type:r},this.offerRequest=l.gb,a=++this.madePriceRequests,e.abrupt("return",(0,w.$M)(i,t,o).then((function(e){var t=e[0];if(200===e[1]){var n=t;return(void 0===a||a>=s.madePriceRequests)&&(s.offer=n),s.offerRequest=(0,l.fB)(null),(0,l.fB)(null)}var r=t&&t.filter((function(e){return"offerValidationErrors"===e.type}));return r.length>0?(s.offerRequest=(0,l.tj)(null),(0,l.tj)(r)):(s.offerRequest=(0,l.tj)(null),(0,l.tj)(null))})).catch((function(){return s.offerRequest=(0,l.tj)(null),(0,l.tj)(null)})));case 4:case"end":return e.stop()}}),e,this)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),e}();(0,r.GW)(I,{getFirstOfferProposal:r.LO,fetchOffer:r.LO,offerRequest:r.LO,offer:r.LO,offerType:r.LO,campaignActive:r.LO,campaignCode:r.LO,toggleCampaignActive:r.aD,setCampaignCode:r.aD,setOfferType:r.aD,reset:r.aD,setOffer:r.aD,setOfferRequest:r.aD});var T=n(5991),O=n(73863),A=function(){function e(){this.reset()}var t=e.prototype;return t.reset=function(){this.firstName="",this.lastName="",this.email="",this.hasSignedUpForNewsletter=!1},t.SetFirstName=function(e){this.firstName=e},t.SetLastName=function(e){this.lastName=e},t.SetEmail=function(e){this.email=e},t.SetHasSignedUpForNewsletter=function(e){this.hasSignedUpForNewsletter=e},t.trimAll=function(){this.firstName=this.firstName.trim(),this.lastName=this.lastName.trim(),this.email=this.email.trim()},(0,T.Z)(e,[{key:"FirstNameValid",get:function(){return y.AEXUtils.validators.validateName(this.firstName)}},{key:"LastNameValid",get:function(){return y.AEXUtils.validators.validateName(this.lastName)}},{key:"EmailValid",get:function(){return y.AEXUtils.validators.validateEmail(this.email)}},{key:"AllValid",get:function(){return((0,O.UI)()||this.FirstNameValid&&this.LastNameValid)&&this.EmailValid}}]),e}();(0,r.GW)(A,{firstName:r.LO,lastName:r.LO,email:r.LO,hasSignedUpForNewsletter:r.LO,reset:r.aD,SetFirstName:r.aD,SetLastName:r.aD,SetEmail:r.aD,FirstNameValid:r.Fl,LastNameValid:r.Fl,EmailValid:r.Fl,AllValid:r.Fl});var D=n(55610),P=function(){function e(){this.reset()}var t=e.prototype;return t.reset=function(){this.travelers={adultCount:0,youthCount:0,childCount:0,seniorCount:0}},t.IncreaseTraveler=function(e){this.isMaxPayingTravelers(e)||(this.travelers[e]+=1)},t.adultTravelers=function(){return this.travelers.adultCount+this.travelers.seniorCount},t.payingTravelers=function(){var e=this.travelers.adultCount+this.travelers.youthCount+this.travelers.seniorCount;return this.adultTravelers()>=1?e:e+this.travelers.childCount},t.isMaxPayingTravelers=function(e){switch(e){case"adultCount":case"youthCount":case"seniorCount":return!(this.payingTravelers()<D.L9);case"childCount":return this.adultTravelers()>=1?!(this.travelers.childCount<D.VH):!(this.payingTravelers()<D.L9);default:return!0}},t.DecreaseTraveler=function(e){this.travelers[e]>0&&(this.travelers[e]-=1),0===this.adultTravelers()&&this.travelers.childCount>D.L9&&(this.travelers.childCount=D.L9-this.travelers.youthCount)},t.GetTravelerCount=function(e){return this.travelers[e]},t.SetTravelerCount=function(e,t){if("childCount"===e)this.adultTravelers()>0?this.travelers[e]=Math.min(t,D.VH):this.travelers[e]=Math.min(t,D.L9-this.travelers.youthCount);else{var n=this.travelers.adultCount+this.travelers.youthCount+this.travelers.seniorCount;if(n+t<=D.L9)this.travelers[e]=t;else{var r=D.L9-n,o=Math.min(r,t);this.travelers[e]=o}}},t.GetTravelers=function(){return this.travelers},t.GetOfferParameters=function(e,t){return{index:0,travelers:this.travelers,campaignCode:t,offerType:e&&e===w.m_.OneWay?w.m_.OneWay:e&&e===w.m_.RoundTrip?w.m_.RoundTrip:null}},t.TravelerCount=function(){return this.travelers.adultCount+this.travelers.youthCount+this.travelers.childCount+this.travelers.seniorCount},(0,T.Z)(e,[{key:"ChildrenFree",get:function(){return this.travelers.adultCount>0||this.travelers.seniorCount>0}}]),e}();(0,r.GW)(P,{travelers:r.LO,IncreaseTraveler:r.aD,DecreaseTraveler:r.aD,ChildrenFree:r.Fl});var N,M=n(79505);!function(e){e.Ticket="Ticket",e.TravelPass="TicketBatch"}(N||(N={}));var j=function(){function e(){this.reset()}var t=e.prototype;return t.reset=function(){this.products=null},t.getProduct=function(e){return null!=this.products?this.products.filter((function(t){var n,r;return(null===(n=t.productIdentifier)||void 0===n?void 0:n.id)===(null==e?void 0:e.id)&&(null===(r=t.productIdentifier)||void 0===r?void 0:r.version)===(null==e?void 0:e.version)}))[0]:null},t.getProducts=function(e){return null!=this.products?this.products.filter((function(t){return e.find((function(e){var n,r;return e.id===(null===(n=t.productIdentifier)||void 0===n?void 0:n.id)&&e.version===(null===(r=t.productIdentifier)||void 0===r?void 0:r.version)}))})):null},t.setProducts=function(e){this.products=e},t.getTravelPassProducts=function(){return null!=this.products?this.products.filter((function(e){return e.productType.type===N.TravelPass})):null},t.loadProducts=function(){var e=(0,i.Z)(u().mark((function e(t){var n,r,o=this;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"GET",headers:{"Content-Type":"application/json",apiKey:b.gR}},r=b.L8+"/v1/products",e.abrupt("return",fetch(r,n).then(function(){var e=(0,i.Z)(u().mark((function e(n){var r,i;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.json();case 2:return r=e.sent,i=r.map((function(e){var n=e.translations[t];return e.translations=n,e})),o.setProducts(i),e.abrupt("return",(0,l.fB)(i));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return o.setProducts([]),console.error("Couldn't get products:",e),(0,l.tj)(null)})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e}();(0,r.GW)(j,{products:r.LO,getProducts:r.LO,setProducts:r.aD});var L=function(){function e(){var e=this;if(this.personStore=new A,this.travelerStore=new P,this.adyenStore=new k,this.customerStore=new C,this.offerStore=new I,this.productStore=new j,this.authStore=new m.AEXAuthStore(b.XK||""),this.disturbanceStates=[],this.disturbanceBannerOpen=!0,this.disturbanceBannersClosed=[],this.siteDisturbance=!1,this.siteDisturbanceTexts=null,this.cookieBannerOpenLocalStorageKey="cookieBannerKeyKey",this.specialInformationBannerOpen=!0,this.emergencyModalOpenLocalStorageKey="emergencyModalOpen",this.CloseDisturbanceBanners=function(){e.disturbanceBannerOpen=!1,e.disturbanceStates=[]},"undefined"!=typeof window){var t=window.localStorage.getItem(this.cookieBannerOpenLocalStorageKey),n=window.localStorage.getItem(this.emergencyModalOpenLocalStorageKey);null===t?(window.localStorage.setItem(this.cookieBannerOpenLocalStorageKey,"true"),this.cookieBannerOpen=!0):this.cookieBannerOpen="true"===t,null===n?(window.localStorage.setItem(this.emergencyModalOpenLocalStorageKey,""),this.emergencyModalOpen=""):this.emergencyModalOpen=n}else this.cookieBannerOpen=!0,this.emergencyModalOpen=""}var t=e.prototype;return t.reset=function(){this.personStore.reset(),this.travelerStore.reset(),this.adyenStore.reset(),this.offerStore.reset(),this.productStore.reset(),this.disturbanceBannerOpen=!0,this.siteDisturbance=!1},t.removeDisturbanceState=function(e){var t=this;this.disturbanceStates=this.disturbanceStates.filter((function(n){return n.type===M.tV.NoDisturbance||n.id!==e||(t.disturbanceBannersClosed.push(e),!1)})),this.disturbanceStates.some((function(e){return e.type!==M.tV.NoDisturbance}))||(this.disturbanceBannerOpen=!1)},t.setDisturbanceState=function(e){var t=this.disturbanceStates.findIndex((function(t){return t.type===e.type}));this.disturbanceBannersClosed.includes(e.id)||(-1!==t?this.disturbanceStates[t]=e:this.disturbanceStates.push(e))},t.setSiteDownState=function(e,t){this.siteDisturbanceTexts=t,this.siteDisturbance=e},t.CloseCookie=function(){this.cookieBannerOpen=!1,window.localStorage.setItem(this.cookieBannerOpenLocalStorageKey,"false")},t.CloseEmergencyBanner=function(e){window.localStorage.setItem(this.emergencyModalOpenLocalStorageKey,e),this.emergencyModalOpen=e},t.CloseSpecialInformation=function(){this.specialInformationBannerOpen=!1},t.restoreAdyenStore=function(e){this.adyenStore.paymentStatus=[e.resultCode,e.refusalReason],this.adyenStore.setPaymentMethod(e.paymentMethod),this.adyenStore.setBookingReference({handle:e.handle,orderNumber:e.orderNumber,total:null})},t.returnFromRedirect=function(e,t,n){this.restoreAdyenStore(t);this.personStore.SetFirstName(e.offers[0].recipient.firstName),this.personStore.SetLastName(e.offers[0].recipient.lastName),this.personStore.SetEmail(e.offers[0].recipient.email);var r,o=this.productStore.loadProducts(n);if("Personal"==e.checkoutType){var i,a=e.offers[0].checkoutLines.find((function(e){var t;return"CODE"===(null===(t=e.discount)||void 0===t?void 0:t.discountType)}));if(null!=(null==a?void 0:a.discount))this.offerStore.campaignActive=!0,this.offerStore.setCampaignCode(null===(i=a.discount)||void 0===i?void 0:i.discountId);this.travelerStore.travelers=e.offers[0].travelers,this.offerStore.setOfferType(e.offers[0].typeOfJourney);var u=[this.travelerStore.GetOfferParameters(this.offerStore.getOfferType(),this.offerStore.campaignCode)];r=this.offerStore.fetchOffer(n,u,w.yX.OfferByTraveler)}else{var s=e.offers.map((function(e){return{index:e.index,recipient:e.recipient,selectedProducts:(t=e.checkoutLines,t.map((function(e){return{count:e.count,productIdentifier:e.productIdentifier}})))};var t}));this.customerStore.customers=s,this.offerStore.setOfferType(w.m_.TravelPass),r=this.offerStore.fetchOffer(n,s,w.yX.OfferByProduct)}return Promise.all([o,r])},e}();(0,r.GW)(L,{cookieBannerOpen:r.LO,emergencyModalOpen:r.LO,specialInformationBannerOpen:r.LO,disturbanceStates:r.LO,disturbanceBannersClosed:r.LO,siteDisturbance:r.LO,returnFromRedirect:r.aD});var R=new L,F=(0,o.createContext)(R)},34812:function(e,t,n){"use strict";n.d(t,{ro:function(){return r},Mo:function(){return o},Rf:function(){return i},hs:function(){return a},LO:function(){return u},q8:function(){return s},ty:function(){return c},S:function(){return l},jC:function(){return f},I3:function(){return d},iZ:function(){return p},ME:function(){return h},Jx:function(){return v},sf:function(){return g},hS:function(){return m},SI:function(){return y},GP:function(){return b},rz:function(){return w},hq:function(){return _},bX:function(){return x},qs:function(){return S},sG:function(){return k},je:function(){return E},I_:function(){return C},sR:function(){return I},ik:function(){return T},QP:function(){return O},Jg:function(){return A},kW:function(){return D},z$:function(){return P},hN:function(){return N},Vi:function(){return M},aB:function(){return j},vo:function(){return L},rq:function(){return R},Qm:function(){return F},Jk:function(){return U},PY:function(){return B},fh:function(){return z},FQ:function(){return V},XL:function(){return H},Ux:function(){return G}});var r="375px",o="767px",i="648px",a="900px",u="1320px",s="TransferSans, sans-serif",c="NotoSans, sans-serif",l=500,f=700,d="17px",p="30px",h="15px",v="13px",g="19px",m="75px",y="85px",b="40px",w="45px",_="50px",x="60px",S="30px",k="35px",E="30px",C="35px",I="21px",T="31px",O="21px",A="31px",D="22px",P="19px",N="19px",M="17px",j="34px",L="68px",R="42px",F=80,U="80px",B="60px",z="90px",V="1100px",H="750px",G="648px"},25375:function(e,t,n){"use strict";n.d(t,{zx:function(){return l},iF:function(){return d},DB:function(){return y},Yw:function(){return b},JO:function(){return r},JF:function(){return f},$V:function(){return h},Hd:function(){return c},$s:function(){return g},R7:function(){return v}});var r,o=n(50009),i=n(25444),a=n(39855),u=n(45643),s=(0,o.css)(["font-size:",";margin:0.5em 0;height:48px;border-radius:24px;border:none;background-color:",";color:",";font-family:",";padding:0 20px;cursor:pointer;outline:none;transition:background-color 0.25s;box-shadow:rgba(0,0,0,0.5) 0 1px 4px 0;&:hover,&:active,&:focus{background-color:",";outline:none;}&:disabled,&[disabled]{&:hover,&:active,&:focus{background-color:",";}}@media only screen and (min-width:","){font-size:",";height:57px;border-radius:30px;}"],u.z$,(function(e){return 1===e.inverted?a.AEXConstants.color.buttonLightBg:a.AEXConstants.color.buttonDarkBg}),(function(e){return 1===e.inverted?a.AEXConstants.color.buttonLightText:a.AEXConstants.color.buttonDarkText}),u.q8,(function(e){return 1===e.inverted?a.AEXConstants.color.buttonLightBgHover:a.AEXConstants.color.buttonDarkBgHover}),a.AEXConstants.color.buttonDisabledBg,u.Mo,u.kW),c=(0,o.css)([""," display:inline-flex;align-items:center;justify-content:center;text-decoration:none;text-align:center;&:hover,&:focus{text-decoration:none;}"],s),l=o.default.button.withConfig({displayName:"button__Button",componentId:"sc-enab0p-0"})(["",""],s),f=(0,o.default)(i.Link).withConfig({displayName:"button__LinkAsButton",componentId:"sc-enab0p-1"})([""," display:inline-flex;align-items:center;justify-content:center;&:hover,&:focus{text-decoration:none;}"],s),d=(0,o.default)(l).withConfig({displayName:"button__ButtonAsLink",componentId:"sc-enab0p-2"})(["background:transparent;padding:0;color:",";box-shadow:none;width:100%;margin:0;height:unset;border-radius:unset;@media only screen and (min-width:","){height:unset;border-radius:unset;}"],a.AEXConstants.brandColor.colorAexTarmackBlack,u.hs),p=(0,o.css)(["background-color:transparent;color:",";padding:0 40px;border:2px solid ",";transition:color 0.25s;&:hover,&:focus{color:",";background-color:",";}"],a.AEXConstants.brandColor.colorAexYellow,a.AEXConstants.brandColor.colorAexYellow,a.AEXConstants.brandColor.colorAexTarmackBlack,a.AEXConstants.brandColor.colorAexYellow),h=(0,o.default)(i.Link).withConfig({displayName:"button__LinkAsButtonDark",componentId:"sc-enab0p-3"})([""," "," display:inline-flex;align-items:center;&:hover,&:focus{text-decoration:none;}"],c,p),v=(0,o.css)(["&:before{content:'';display:inline-block;mask:url(",");background-color:black;background-repeat:no-repeat;background-position:center;background-size:cover;width:20px;height:20px;vertical-align:bottom;:disabled{background-color:#a4a4a4;}}"],"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTcuMjkxNiAxMEMxNy4yOTE2IDEwLjUxODggMTYuODcyOCAxMC45Mzc1IDE2LjM1NDEgMTAuOTM3NUgxMC45Mzc0VjE2LjM1NDJDMTAuOTM3NCAxNi44NzMgMTAuNTE4NyAxNy4yOTE3IDkuOTk5OTIgMTcuMjkxN0M5LjQ4MTE3IDE3LjI5MTcgOS4wNjI0MiAxNi44NzMgOS4wNjI0MiAxNi4zNTQyVjEwLjkzNzVIMy42NDU3NUMzLjEyNyAxMC45Mzc1IDIuNzA4MjUgMTAuNTE4OCAyLjcwODI1IDEwQzIuNzA4MjUgOS40ODEyOSAzLjEyNyA5LjA2MjU0IDMuNjQ1NzUgOS4wNjI1NEg5LjA2MjQyVjMuNjQ1ODdDOS4wNjI0MiAzLjEyNzEyIDkuNDgxMTcgMi43MDgzNyA5Ljk5OTkyIDIuNzA4MzdDMTAuNTE4NyAyLjcwODM3IDEwLjkzNzQgMy4xMjcxMiAxMC45Mzc0IDMuNjQ1ODdWOS4wNjI1NEgxNi4zNTQxQzE2Ljg3MjggOS4wNjI1NCAxNy4yOTE2IDkuNDgxMjkgMTcuMjkxNiAxMFoiIGZpbGw9IiMzMDMyM0QiLz4KPC9zdmc+Cg=="),g=(0,o.css)(["&:before{content:'';display:inline-block;mask:url(",");background-color:black;background-repeat:no-repeat;background-position:center;background-size:cover;width:20px;height:20px;vertical-align:bottom;}"],"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTYuMzU0MSAxMC45Mzc1SDMuNjQ1NzVDMy4xMjcgMTAuOTM3NSAyLjcwODI1IDEwLjUxODcgMi43MDgyNSAxMEMyLjcwODI1IDkuNDgxMjUgMy4xMjcgOS4wNjI1IDMuNjQ1NzUgOS4wNjI1SDE2LjM1NDFDMTYuODcyOCA5LjA2MjUgMTcuMjkxNiA5LjQ4MTI1IDE3LjI5MTYgMTBDMTcuMjkxNiAxMC41MTg3IDE2Ljg3MjggMTAuOTM3NSAxNi4zNTQxIDEwLjkzNzVaIiBmaWxsPSIjMzAzMjNEIi8+Cjwvc3ZnPgo="),m=(0,o.css)(["&:before,&:after{content:'';position:absolute;display:inline-block;left:50%;top:50%;transform:translate(-50%,-50%);}&:before{width:14px;height:1px;}&:after{display:",";height:12px;width:1px;}"],(function(e){return e.increase?"inline-block":"none"}));!function(e){e.Plus="plus",e.Minus="minus"}(r||(r={}));var y=o.default.button.withConfig({displayName:"button__ButtonRound",componentId:"sc-enab0p-4"})(["position:relative;font-size:1em;margin:0;color:",";border:1px solid ",";border-radius:50%;cursor:pointer;outline:none;transition:background-color 0.25s ease-in-out;width:38px;height:38px;"," "," background-color:",";border-color:",";&:disabled:before{background-color:#a4a4a4;}&:focus{background:",";outline:none;}&:hover,&:active{background:",";}&:active{box-shadow:"," 0px 0px 0px 4px,"," 0px 0px 0px 5px,rgba(255,255,255,0) 0px 0px 0px 6px;transition:box-shadow 0.2s ease !important;}&:disabled{background-color:",";border-color:",";color:",";transition:border 0.25s ease-in-out;&:focus,&:hover{background-color:",";cursor:not-allowed;}:before,:after{}}"],a.AEXConstants.brandColor.colorAexTarmackBlack,a.AEXConstants.brandColor.colorAexTarmackBlack,(function(e){return e.showIcon===r.Minus?g:""}),(function(e){return e.showIcon===r.Plus?v:""}),(function(e){return!0===e.isError?a.AEXConstants.color.inputErrorBackground:a.AEXConstants.brandColor.colorWhite}),(function(e){return!0===e.isError?a.AEXConstants.color.inputErrorText:a.AEXConstants.brandColor.colorAexTarmackBlack}),a.AEXConstants.color.buttonLightBgHover,a.AEXConstants.color.buttonLightBgHover,a.AEXConstants.brandColor.colorWhite,a.AEXConstants.color.buttonDarkBgHover,a.AEXConstants.brandColor.colorWhite,a.AEXConstants.color.inputDisabledLabel,a.AEXConstants.color.inputDisabledLabel,a.AEXConstants.brandColor.colorWhite),b=o.default.span.withConfig({displayName:"button__ButtonRoundText",componentId:"sc-enab0p-5"})(["min-width:2.5rem;text-align:center;font-size:14px;font-weight:600;"]);(0,o.default)(l).withConfig({displayName:"button__ButtonWithOpenCloseIcon",componentId:"sc-enab0p-6"})(["background:none;position:relative;margin:0;font-family:",";font-size:",";"," color:",";box-shadow:none;padding:0 28px;&:focus,&:hover{background:none;}&:before{width:10px;}&:before,&:after{left:",";}&:after{height:10px;display:",";}@media only screen and (min-width:","){font-size:",";}"],u.ty,u.ME,m,a.AEXConstants.brandColor.colorAexTarmackBlack,u.w,(function(e){return!0===e.isOpen?"":"inline-block"}),u.hs,u.I3)},45643:function(e,t,n){"use strict";n.d(t,{zM:function(){return a.zM},Rg:function(){return s.Rg},ZL:function(){return u},Ly:function(){return s.Ly},z8:function(){return s.z8},Ll:function(){return s.Ll},xG:function(){return s.xG},J0:function(){return s.J0},J5:function(){return s.J5},cU:function(){return s.cU},s:function(){return s.s},Xh:function(){return s.Xh},Nv:function(){return s.Nv},Iw:function(){return s.Iw},eZ:function(){return s.eZ},Tk:function(){return s.Tk},xR:function(){return s.xR},hv:function(){return s.hv},gG:function(){return s.gG},Rf:function(){return r.Rf},LO:function(){return r.LO},hs:function(){return r.hs},Mo:function(){return r.Mo},ro:function(){return r.ro},iZ:function(){return r.iZ},I3:function(){return r.I3},jC:function(){return r.jC},kW:function(){return r.kW},z$:function(){return r.z$},QP:function(){return r.QP},S:function(){return r.S},ty:function(){return r.ty},sf:function(){return r.sf},ME:function(){return r.ME},Jx:function(){return r.Jx},q8:function(){return r.q8},nw:function(){return a.nw},S6:function(){return a.S6},Ur:function(){return a.Ur},gB:function(){return a.gB},Yn:function(){return a.Yn},Rl:function(){return a.Rl},Qm:function(){return r.Qm},PY:function(){return r.PY},fh:function(){return r.fh},FQ:function(){return r.FQ},Ux:function(){return r.Ux},XL:function(){return r.XL},w:function(){return r.Vi},aB:function(){return r.aB},vo:function(){return r.vo},aw:function(){return a.aw}});var r=n(34812),o=n(50009),i=n(39855),a=n(64087),u=(0,o.createGlobalStyle)(["@font-face{font-family:NotoSans;font-weight:400;src:local('Noto Sans-Regular'),local('NotoSans-Regular'),url('/fonts/NotoSans-Regular.ttf') format('truetype');font-display:swap;}@font-face{font-family:NotoSans;font-weight:bold;src:local('Noto Sans-Bold'),local('NotoSans-Bold'),url('/fonts/NotoSans-Bold.ttf') format('truetype');font-display:swap;}@font-face{font-family:NotoSans;font-weight:500;src:local('Noto Sans-Medium'),local('NotoSans-Medium'),url('/fonts/NotoSans-Medium.ttf') format('truetype');font-display:swap;}@font-face{font-family:TransferSans;src:local('Transfer Sans-Regular'),local('TransferSans-Regular'),url('/fonts/TransferSans.otf') format('opentype');font-display:swap;}body,html,#___gatsby,#___gatsby > div[tabindex]{height:100%;}html{font-size:",";line-height:",";touch-action:manipulation;}body{font-weight:400;line-height:1.25;-webkit-font-smoothing:antialiased;margin:0;background-color:",";color:",";font-family:",";}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0px;}button{border:0;background:transparent;padding:0;}h1,h2,h3,h4,h5,legend{line-height:1.25;margin:0;margin-bottom:",";}h1{",";margin:28px 0 24px 0;@media screen and (min-width:","){",";}strong{font-weight:400;}}h2{",";@media screen and (min-width:","){",";}strong{font-weight:400;}}h3{",";@media screen and (min-width:","){",";strong{font-weight:400;}}}p{margin-top:0;margin-bottom:1.5em;line-height:1.76;}section{margin-top:0;margin-bottom:",";}a{color:",";text-decoration:none;transition:all 0.5s;&:hover,&:focus{text-decoration:underline;}}strong{font-weight:600;}hr{border:1px solid ",";border-top:none;border-left:none;border-right:none;margin-top:0;margin-bottom:",";padding-top:",";}ul{margin-bottom:",";}li p{margin-bottom:",";}input:-webkit-autofill{-webkit-box-shadow:0 0 0px 1000px white inset;background-color:transparent;}.entry-link-contentful{box-shadow:2px 2px 4px gray;}.entry-link-contentful:hover{box-shadow:2px 2px 8px black;}.grecaptcha-badge{visibility:hidden;}"],r.I3,r.iZ,i.AEXConstants.color.bodyBackground,i.AEXConstants.color.mainText,r.ty,r.Vi,a.nw,r.Mo,a.Me,a.Ur,r.Mo,a.S6,a.Yn,r.Mo,a.gB,r.rq,i.AEXConstants.color.mainText,i.AEXConstants.brandColor.colorAlto,r.aB,r.Vi,r.aB,r.Vi),s=n(53766)},53766:function(e,t,n){"use strict";n.d(t,{Tk:function(){return s},cU:function(){return c},hv:function(){return f},xR:function(){return d},Rg:function(){return p},ii:function(){return h},Ly:function(){return v},z8:function(){return g},h$:function(){return m},J0:function(){return y},xG:function(){return b},Ll:function(){return w},J5:function(){return _},gG:function(){return x},eZ:function(){return E},Xh:function(){return C},s:function(){return I},Iw:function(){return T},Nv:function(){return O}});var r=n(50009),o=n(25444),i=n(39855),a=n(34812),u=n(64087),s=(r.default.p.withConfig({displayName:"shared-components__SharedPreamble",componentId:"sc-220sgx-0"})(["@media only screen and (min-width:","){font-size:",";}"],a.Mo,a.I3),r.default.p.withConfig({displayName:"shared-components__SharedPreambleStart",componentId:"sc-220sgx-1"})(["line-height:1.55;margin-bottom:7px;@media only screen and (min-width:","){font-size:",";margin-bottom:33px;}"],a.Mo,a.hN)),c=r.default.h1.withConfig({displayName:"shared-components__SharedHeading",componentId:"sc-220sgx-2"})(["margin:28px 0 24px 0;@media only screen and (min-width:","){margin:48px 0 38px 0;}"],a.Mo),l=r.default.span.withConfig({displayName:"shared-components__SharedSmallText",componentId:"sc-220sgx-3"})(["font-size:",";"],a.ME),f=(0,r.default)(l).withConfig({displayName:"shared-components__SharedSmallTextSecondary",componentId:"sc-220sgx-4"})(["color:",";"],i.AEXConstants.brandColor.colorBoulder),d=(0,r.default)(l).withConfig({displayName:"shared-components__SharedSmallTextMain",componentId:"sc-220sgx-5"})(["color:",";"],i.AEXConstants.color.mainText),p=r.default.a.withConfig({displayName:"shared-components__GlobalLink",componentId:"sc-220sgx-6"})(["color:",";"],i.AEXConstants.brandColor.colorDarkAexMoss),h=(0,r.css)(["color:",";&:hover,&:focus{background-color:",";}"],i.AEXConstants.brandColor.colorDarkAexMoss,i.AEXConstants.brandColor.colorLightAexMoss),v=(0,r.css)(["",";text-decoration:underline;"],h),g=r.default.a.withConfig({displayName:"shared-components__LinkInTextWithUnderline",componentId:"sc-220sgx-7"})(["",";"],v),m=(0,r.default)(o.Link).withConfig({displayName:"shared-components__InternalLink",componentId:"sc-220sgx-8"})(["",";"],v),y=r.default.div.withConfig({displayName:"shared-components__SharedCenterVertical",componentId:"sc-220sgx-9"})(["",";"],u.B5),b=r.default.div.withConfig({displayName:"shared-components__SharedAlignRight",componentId:"sc-220sgx-10"})(["text-align:right;"]),w=r.default.div.withConfig({displayName:"shared-components__SharedAlignCenter",componentId:"sc-220sgx-11"})(["text-align:center;"]),_=(r.default.div.withConfig({displayName:"shared-components__SharedSpaceSection",componentId:"sc-220sgx-12"})(["padding-bottom:",";"],a.rq),r.default.div.withConfig({displayName:"shared-components__SharedContentContainer",componentId:"sc-220sgx-13"})(["padding:0em ",";@media screen and (min-width:","){padding:0;}"],a.Vi,a.hs)),x=r.default.div.withConfig({displayName:"shared-components__SharedTextContainer",componentId:"sc-220sgx-14"})(["max-width:",";padding-top:25px;word-break:break-word;@media only screen and (min-width:","){padding-top:3rem;padding-bottom:5rem;}"],a.Ux,a.Mo),S=r.default.div.withConfig({displayName:"shared-components__SharedBox",componentId:"sc-220sgx-15"})(["background:",";border:1px solid ",";border-radius:4px 4px 8px 8px;"," "," margin:0 0 "," 0;transition:box-shadow 0.2s ease;"],i.AEXConstants.brandColor.colorWhite,i.AEXConstants.brandColor.colorMercury,(function(e){return e.selected?u.So:""}),(function(e){return e.shadow?u.aw:""}),a.aB),k=i.AEXConstants.brandColor.colorAlabaster,E=(0,r.default)(S).withConfig({displayName:"shared-components__SharedHighlightedBox",componentId:"sc-220sgx-16"})(["background:",";padding:"," ",";border:none;@media only screen and (min-width:","){padding:",";}"],(function(e){return null!=e&&e.color?i.AEXConstants.color["color"+e.color]:k}),a.aB,a.Vi,a.Mo,a.aB),C=r.default.div.withConfig({displayName:"shared-components__SharedHiddenDivLargeUp",componentId:"sc-220sgx-17"})(["@media only screen and (min-width:","){display:none;}"],a.hs),I=r.default.div.withConfig({displayName:"shared-components__SharedHiddenDivLargeDown",componentId:"sc-220sgx-18"})(["display:none;@media only screen and (min-width:","){display:block;}"],a.hs),T=r.default.span.withConfig({displayName:"shared-components__SharedHiddenSpanLargeUp",componentId:"sc-220sgx-19"})(["@media only screen and (min-width:","){display:none;}"],a.hs),O=r.default.span.withConfig({displayName:"shared-components__SharedHiddenSpanLargeDown",componentId:"sc-220sgx-20"})(["display:none;@media only screen and (min-width:","){display:inline;}"],a.hs),A=(r.default.div.withConfig({displayName:"shared-components__SharedHiddenDivMediumUp",componentId:"sc-220sgx-21"})(["@media only screen and (min-width:","){display:none;}"],a.Mo),r.default.div.withConfig({displayName:"shared-components__SharedHiddenDivMediumDown",componentId:"sc-220sgx-22"})(["display:none;@media only screen and (min-width:","){display:block;}"],a.Mo),r.default.div.withConfig({displayName:"shared-components__SharedOneRowOnTabletUp",componentId:"sc-220sgx-23"})(["@media only screen and (min-width:","){display:inline-block;margin:0 15px;}"],a.Mo),r.default.div.withConfig({displayName:"shared-components__SharedSrOnly",componentId:"sc-220sgx-24"})(["border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;left:0;width:1px;word-wrap:normal !important;"]),10*parseInt(a.Vi,10));r.default.ul.withConfig({displayName:"shared-components__SharedTravelersOptions",componentId:"sc-220sgx-25"})(["padding:0;margin:0;list-style-type:none;padding-bottom:",";li{padding:0 ",";height:",";border-bottom:1px solid ",";:first-of-type{border-top:1px solid ",";}}@media only screen and (min-width:","){display:flex;flex-flow:row wrap;li{flex:1 1 calc(50% - ","px);width:calc(50% - ","px);margin:0 "," 0 0;:nth-of-type(2){border-top:1px solid ",";}:nth-of-type(2n){margin-right:0;}}}"],a.rq,a.Vi,a.Jk,i.AEXConstants.brandColor.colorAlto,i.AEXConstants.brandColor.colorAlto,a.hs,A,A,a.Vi,i.AEXConstants.brandColor.colorAlto)},64087:function(e,t,n){"use strict";n.d(t,{QO:function(){return a},nw:function(){return u},Me:function(){return s},Ur:function(){return c},S6:function(){return l},Yn:function(){return f},gB:function(){return d},Rl:function(){return p},B5:function(){return h},aw:function(){return v},So:function(){return g},zM:function(){return m}});var r=n(50009),o=n(39855),i=n(34812),a=(0,r.css)([""," margin-bottom:17px;margin-bottom:12px;margin-top:14px;@media screen and (min-width:","){margin-bottom:42px;margin-top:57px;}"],o.AEXConstants.style.text.StartPageHeading,o.AEXConstants.size.breakpointMedium),u=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:400;"],i.GP,i.rz,i.q8),s=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:400;"],i.hS,i.SI,i.q8),c=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:400;"],i.qs,i.sG,i.q8),l=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:400;"],i.hq,i.bX,i.q8),f=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:",";"],i.sR,i.ik,i.ty,i.S),d=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:400;"],i.je,i.I_,i.q8),p=(0,r.css)(["font-size:",";line-height:",";font-family:",";font-weight:",";"],i.QP,i.Jg,i.ty,i.S),h=(0,r.css)(["display:flex;align-items:center;align-self:center;"]),v=(0,r.css)(["box-shadow:0 2px 20px 5px rgba(225,225,225,0.5);"]),g=(0,r.css)(["box-shadow:8px 8px 20px 0 ",";"],o.AEXConstants.brandColor.colorAlto),m=(0,r.css)(["font-size:19px;font-family:",";margin:0.5em 1em;height:48px;border-radius:24px;border:none;background-color:",";color:",";padding:0 20px;cursor:pointer;outline:none;transition:background-color 0.25s;box-shadow:rgba(0,0,0,0.5) 0 1px 4px 0;&:hover,&:active,&:focus{background-color:",";outline:none;}&:disabled,&[disabled]{&:hover,&:active,&:focus{background-color:",";}}"],i.q8,o.AEXConstants.color.buttonDarkBg,o.AEXConstants.color.buttonDarkText,o.AEXConstants.color.buttonDarkBgHover,o.AEXConstants.color.buttonDarkBg)},154:function(e,t,n){"use strict";n.d(t,{W:function(){return pe}});var r=n(85061),o=n(67294),i=n(79806),a=n(71394),u=n(39855),s=n(45643),c=n(27892),l=n(67499),f=n(50009),d=n(53766),p=n(91577),h=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement(p.RN,{"data-contentful-link":t},o.createElement(p.OO,null,o.createElement(v,{remarkPlugins:[l.Z],children:n.leftColumn})),o.createElement(p.OO,null,o.createElement(v,{remarkPlugins:[l.Z],children:n.rightColumn})))},v=(0,f.default)(c.Z).withConfig({displayName:"TwoColumnText__AnswerText",componentId:"sc-3h0b5d-0"})(["padding:0 20px 20px;a{",";}"],d.ii),g=function(e){var t=e.dataContentfulLink,n=e.fields,r=function(e){return e.fields.file.url};return o.createElement(m,{"data-contentful-link":t},o.createElement("h2",null,n.heading),o.createElement(y,null,o.createElement(b,null,o.createElement(w,{src:r(n.image1),alt:n.title1}),o.createElement(_,null,n.title1),o.createElement(x,null,n.description1)),o.createElement(b,null,o.createElement(w,{src:r(n.image2),alt:n.title2}),o.createElement(_,null,n.title2),o.createElement(x,null,n.description2)),o.createElement(b,null,o.createElement(w,{src:r(n.image3),alt:n.title3}),o.createElement(_,null,n.title3),o.createElement(x,null,n.description3))))},m=f.default.div.withConfig({displayName:"UspBox__Wrapper",componentId:"sc-1jrzlai-0"})(["box-shadow:0 2px 20px 0 rgba(180,180,180,0.3);padding:20px;margin:40px 0;text-align:center;"]),y=f.default.div.withConfig({displayName:"UspBox__UspWrapper",componentId:"sc-1jrzlai-1"})(["@media screen and (min-width:","){display:flex;}"],s.Mo),b=f.default.div.withConfig({displayName:"UspBox__UspContent",componentId:"sc-1jrzlai-2"})(["margin:30px 20px;display:block;@media screen and (min-width:","){flex:1;}"],s.Mo),w=f.default.img.withConfig({displayName:"UspBox__UspIcon",componentId:"sc-1jrzlai-3"})(["height:60px;"]),_=f.default.div.withConfig({displayName:"UspBox__UspTitle",componentId:"sc-1jrzlai-4"})(["font-size:",";font-weight:",";margin-top:10px;margin-bottom:10px;"],s.sf,s.jC),x=f.default.div.withConfig({displayName:"UspBox__UspDescription",componentId:"sc-1jrzlai-5"})(["@media screen and (min-width:","){font-size:",";}"],s.Mo,s.ME),S=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement(k,{"data-contentful-link":t,itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question"},o.createElement(E,{itemProp:"name"},n.question),o.createElement("div",{itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer"},o.createElement("div",{itemProp:"text"},o.createElement(c.Z,{remarkPlugins:[l.Z]},n.answer))))},k=f.default.div.withConfig({displayName:"QuestionAnswer__Wrapper",componentId:"sc-189qir7-0"})(["margin:20px 0;"]),E=f.default.p.withConfig({displayName:"QuestionAnswer__Question",componentId:"sc-189qir7-1"})(["font-weight:",";margin-bottom:0;"],s.jC),C=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement(s.eZ,{color:n.color,"data-contentful-link":t},o.createElement(c.Z,{remarkPlugins:[l.Z],children:n.text}))},I=n(25444),T=n(61668),O=n(25375),A=function(e){var t=e.dataContentfulLink,n=e.fields,r=(0,T.Z)().article.listLink,i=n.imageToTheRight?"right":"left";return o.createElement(D,{"data-contentful-link":t},o.createElement(P,{position:i},o.createElement(M,{src:n.image.fields.file.url,alt:n.image.fields.title})),o.createElement(N,{position:i},o.createElement(j,null,n.heading),o.createElement(L,null,n.description),o.createElement(R,{to:n.linkToUrl},r)))},D=f.default.div.withConfig({displayName:"PreviewWithImage__Wrapper",componentId:"sc-xxb9c8-0"})(["margin:60px 0;text-align:center;@media only screen and (min-width:","){display:flex;align-items:center;text-align:left;}@media only screen and (min-width:","){margin-right:-150px;}"],s.Mo,s.hs),P=f.default.div.withConfig({displayName:"PreviewWithImage__ImageWrapper",componentId:"sc-xxb9c8-1"})(["order:",";"],(function(e){return"right"===e.position?2:0})),N=f.default.div.withConfig({displayName:"PreviewWithImage__TextWrapper",componentId:"sc-xxb9c8-2"})(["flex:1;@media only screen and (min-width:","){",";}"],s.Mo,(function(e){return"right"===e.position?"padding-right: 45px;":"padding-left: 45px;"})),M=f.default.img.withConfig({displayName:"PreviewWithImage__PreviewImage",componentId:"sc-xxb9c8-3"})(["max-width:250px;border-radius:50%;background:pink;"]),j=f.default.div.withConfig({displayName:"PreviewWithImage__PreviewHeading",componentId:"sc-xxb9c8-4"})(["",";margin-top:10px;margin-bottom:10px;@media only screen and (min-width:","){",";}"],s.Ur,s.Mo,s.S6),L=f.default.div.withConfig({displayName:"PreviewWithImage__PreviewDescription",componentId:"sc-xxb9c8-5"})(["margin-bottom:10px;"]),R=(0,f.default)(I.Link).withConfig({displayName:"PreviewWithImage__PreviewLink",componentId:"sc-xxb9c8-6"})(["",";"],O.Hd),F=n(72090),U=function(e){var t=e.dataContentfulLink,n=e.fields,r=(0,o.useRef)(null),i=(0,o.useState)(!1),a=i[0],u=i[1],s=function(e){27===e.keyCode&&c()},c=function(e){e&&e.preventDefault(),(0,F.tP)(),u(!1)};(0,o.useEffect)((function(){return document.addEventListener("keydown",s,!1),function(){document.removeEventListener("keydown",s,!1)}}));return o.createElement(B,{"data-contentful-link":t},a&&o.createElement(G,{onClick:c,ref:r},o.createElement(Z,null),o.createElement(q,null,o.createElement(W,{src:n.image.fields.file.url,alt:n.image.fields.title,onClick:function(e){return e.stopPropagation()}}))),o.createElement(z,{type:"button","aria-label":n.triggerText,onClick:function(e){e.preventDefault(),(0,F.Qp)(r.current,{reserveScrollBarGap:!0}),u(!0)},"aria-expanded":a,"aria-haspopup":!0},o.createElement(V,{src:n.image.fields.file.url,alt:n.image.fields.title}),o.createElement(H,null,n.triggerText)))},B=f.default.div.withConfig({displayName:"ImageLightbox__Wrapper",componentId:"sc-1rkhgfk-0"})(["margin:40px 0;"]),z=f.default.button.withConfig({displayName:"ImageLightbox__TriggerButton",componentId:"sc-1rkhgfk-1"})(["border:none;background:transparent;padding:0;margin:0;text-align:left;font-family:inherit;font-size:inherit;color:inherit;&:focus{outline:none;}"]),V=f.default.img.withConfig({displayName:"ImageLightbox__TriggerImage",componentId:"sc-1rkhgfk-2"})(["max-width:100%;"]),H=f.default.div.withConfig({displayName:"ImageLightbox__TriggerText",componentId:"sc-1rkhgfk-3"})(["font-style:italic;"]),G=f.default.div.withConfig({displayName:"ImageLightbox__Overlay",componentId:"sc-1rkhgfk-4"})(["position:fixed;top:0;left:0;right:0;text-align:center;z-index:20;height:100%;background-color:rgba(0,0,0,0.8);padding:20px;"]),q=f.default.div.withConfig({displayName:"ImageLightbox__OverlayContent",componentId:"sc-1rkhgfk-5"})(["overflow:scroll;width:100%;height:calc(100% - 40px);display:flex;justify-content:center;align-items:center;"]),W=f.default.img.withConfig({displayName:"ImageLightbox__OverlayImage",componentId:"sc-1rkhgfk-6"})(["max-width:100%;max-height:100%;"]),Z=f.default.button.withConfig({displayName:"ImageLightbox__CloseButton",componentId:"sc-1rkhgfk-7"})(["position:absolute;right:10px;top:20px;cursor:pointer;border:none;background-color:transparent;&:before,&:after{content:'';position:absolute;right:0;top:50%;width:25px;height:2px;background-color:",";transition:transform 0.25s ease-in-out;}&::before{transform:rotate(45deg);}&:after{transform:rotate(-45deg);}"],u.AEXConstants.brandColor.colorWhite),K=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement($,{"data-contentful-link":t,hideHeaders:n.hideHeaders},o.createElement(c.Z,{remarkPlugins:[l.Z],children:n.content}))},$=f.default.div.withConfig({displayName:"TableContent__Wrapper",componentId:"sc-1nhqgbt-0"})(["table{width:100%;}thead{display:",";}tr{padding:10px 0;display:flex;flex-wrap:wrap;}td{display:block;width:100%;&:first-child{order:2;color:",";}}@media screen and (min-width:","){table{margin:0 -10px;}tr{display:table-row;}td{display:table-cell;width:auto;padding:10px;&:first-child{order:0;color:",";}}}"],(function(e){return e.hideHeaders?"none":"table-header-group"}),u.AEXConstants.brandColor.colorBoulder,s.Mo,u.AEXConstants.brandColor.colorAexTarmackBlack),X=function(e){var t=e.iconUrl,n=e.iconImg,r=e.aria;return t?o.createElement(Q,{href:t,"aria-label":r,target:"_blank"},o.createElement("img",{src:n,alt:""})):o.createElement(o.Fragment,null)},Y=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement(J,{"data-contentful-link":t},n.list.map((function(e,t){return o.createElement(X,{key:t,iconUrl:e.fields.link,iconImg:e.fields.image.fields.file.url,aria:e.fields.name})})))},J=f.default.div.withConfig({displayName:"ImageLinkList__List",componentId:"sc-1ne41wl-0"})(["display:flex;flex-direction:row;"]),Q=f.default.a.withConfig({displayName:"ImageLinkList__IconLink",componentId:"sc-1ne41wl-1"})(["height:50px;overflow:hidden;margin-right:",";img{width:40px;height:40px;border-radius:50%;overflow:hidden;}"],s.w),ee=n(73863),te=n(55094),ne=function(e){var t=e.dataContentfulLink,n=e.fields,r=(0,T.Z)().global.conversionBox;r.heading,r.usp1,r.usp2,(0,o.useContext)(te.RD).locale;return o.createElement(re,{"data-contentful-link":t},o.createElement(ue,null,o.createElement(ae,null,n.title),o.createElement(ie,null,n.description)),o.createElement(se,null,o.createElement(oe,{href:n.button1Url,onClick:function(){return(0,ee.Pl)("buy_round_trip_tickets")}}," ",n.button1Text," "),n.button2Text&&o.createElement(oe,{href:n.button2Url,onClick:function(){return(0,ee.Pl)("buy_one_way_tickets")}}," ",n.button2Text," ")))},re=f.default.div.withConfig({displayName:"ConversionBox__Wrapper",componentId:"sc-1kgyas4-0"})(["background-color:",";padding:2rem;margin:40px 0;text-align:center;display:flex;flex-direction:column;@media only screen and (min-width:","){flex-direction:row;display:flex;}"],u.AEXConstants.brandColor.colorAexYellow,s.Mo),oe=(0,f.default)(u.AEXStyledLinkButton).withConfig({displayName:"ConversionBox__CTALink",componentId:"sc-1kgyas4-1"})(["margin:0.5rem;min-width:230px;"]),ie=f.default.p.withConfig({displayName:"ConversionBox__Description",componentId:"sc-1kgyas4-2"})(["margin-bottom:0.5rem;"]),ae=f.default.h2.withConfig({displayName:"ConversionBox__UspHeader",componentId:"sc-1kgyas4-3"})(["font-size:40px;margin-bottom:1rem;"]),ue=f.default.div.withConfig({displayName:"ConversionBox__TextWrapper",componentId:"sc-1kgyas4-4"})(["display:flex;flex-direction:column;@media screen and (min-width:","){flex:1;}"],s.Mo),se=f.default.div.withConfig({displayName:"ConversionBox__ButtonWrapper",componentId:"sc-1kgyas4-5"})(["display:flex;justify-content:center;align-items:center;flex-grow:1;flex-direction:column;@media screen and (min-width:","){flex:1;align-items:center;flex-direction:column;}"],s.Mo),ce=function(e){var t=e.dataContentfulLink,n=e.fields;return o.createElement(fe,{"data-contentful-link":t},o.createElement(le,{href:n.linkToUrl,onClick:function(){return(0,ee.Pl)("buy_travel_pass")}},n.buttonText))},le=(0,f.default)(u.AEXStyledLinkButton).withConfig({displayName:"SingleButton__SingleLinkButton",componentId:"sc-1avc2fc-0"})([""]),fe=f.default.div.withConfig({displayName:"SingleButton__Wrapper",componentId:"sc-1avc2fc-1"})(["display:flex;justify-content:center;@media only screen and (min-width:","){justify-content:unset;}"],s.Mo),de={twoColumnText:h,uspBox:g,questionAnswer:S,highlightedBox:C,previewWithImage:A,imageLightbox:U,tableContent:K,imageLinkList:Y,conversionBox:ne,singleButton:ce},pe=function(e,t){var n,c;void 0===t&&(t=void 0);var l={renderMark:(n={},n[a.oN.BOLD]=function(e){return o.createElement("strong",null,e)},n),renderNode:(c={},c[a.Ev.HYPERLINK]=function(e,t){return e.data.uri.startsWith("http")&&!e.data.uri.startsWith("https://www.arlandaexpress")?o.createElement(s.z8,{href:e.data.uri,target:"_blank",rel:"noopener noreferrer"},t):o.createElement(s.z8,{href:e.data.uri},t)},c[a.RG.HEADING_2]=function(e,t){var n=e.content[0].value,r=u.AEXUtils.url.createFriendlyPath(n);return o.createElement("h2",{id:r},t)},c[a.RG.EMBEDDED_ENTRY]=function(e){var n,r,i=e.data.target.sys.id.slice(1),a=e.data.target.sys.contentType.sys.id,u=de[a];return u?o.createElement(u,{dataContentfulLink:(n=i,r=t,null!=r?"https://app.contentful.com/spaces/j7cxk46hxw7b/entries/"+n+"?previousEntries="+r:"https://app.contentful.com/spaces/j7cxk46hxw7b/entries/"+n),fields:e.data.target.fields}):(console.error("Missing component for "+a),o.createElement("div",null))},c[a.RG.EMBEDDED_ASSET]=function(e){return null!=e.data&&null!=e.data.target&&null!=e.data.target.fields&&null!=e.data.target.fields.file&&".pdf"===e.data.target.fields.file.fileName.slice(-4)?o.createElement("p",null,o.createElement(s.Rg,{href:e.data.target.fields.file.url,target:"_blank"},e.data.target.fields.title)):""},c),renderText:function(e){return e.split("\n").reduce((function(e,t,n){return[].concat((0,r.Z)(e),[n>0&&o.createElement("br",{key:n}),t])}),[])}};return(0,i.h)(e,l)}},2499:function(e,t,n){"use strict";n.d(t,{_L:function(){return i},Jh:function(){return a},_W:function(){return u},JU:function(){return s},lm:function(){return c}});var r=n(25444),o=n(39855),i=function(){return(0,r.navigate)("/summary",{state:{redirect:!0}})},a=function(){return(0,r.navigate)("/payment-error")},u=function(e,t,n){if("DistributionOrder"===e){var i=o.AEXUtils.language.getMyPagesBasePath("en-US"),a="/order-confirmation?ordernumber="+t;window.localStorage.setItem("callbackUrl",a),window.location.href=""+i+a}else(0,r.navigate)("/ticket?ordernumber="+t+"&handle="+n)},s=function(e){return(0,r.navigate)("/ticket-error?"+e.type,{state:{ticketErrorState:e}})},c=function(e){return(0,r.navigate)("/ticket-processing",{state:{orderNumber:e}})}},68833:function(e,t,n){"use strict";var r;n.d(t,{rw:function(){return r},Pn:function(){return o},jQ:function(){return i},Lc:function(){return a},aK:function(){return u},Cr:function(){return s}}),function(e){e.NotStarted="NotStarted",e.ShowRedirect="ShowRedirect",e.ShowIdentifyShopper="ShowIdentifyShopper",e.ShowChallengeShopper="ShowChallengeShopper",e.ShowSwishRedirect="ShowSwishRedirect"}(r||(r={}));var o={type:r.NotStarted},i=function(e){return{type:r.ShowRedirect,data:e}},a=function(e){return{type:r.ShowIdentifyShopper,data:e}},u=function(e){return{type:r.ShowChallengeShopper,data:e}},s=function(e){return{type:r.ShowSwishRedirect,data:e}}},96806:function(e,t,n){"use strict";n.d(t,{oR:function(){return r},gb:function(){return o},fB:function(){return i},tj:function(){return a}});var r={type:"NotAsked"},o={type:"Loading"},i=function(e){return{type:"Success",data:e}},a=function(e){return{type:"Failure",error:e}}},35161:function(e,t,n){"use strict";n.d(t,{ue:function(){return r},cm:function(){return o},WL:function(){return i},hS:function(){return a},WK:function(){return u}});var r={type:"PaymentNotMade"},o=function(e){return{type:"OrderFailed",orderNumber:e}},i=function(e){return{type:"OrderProcessing",orderNumber:e}},a=function(e){return{type:"InputValidation",error:e}},u=function(e){return{type:"StateRestoreFailed",orderNumber:e}}},79505:function(e,t,n){"use strict";var r,o;n.d(t,{tV:function(){return r},jx:function(){return i},Gh:function(){return a},qP:function(){return u},SA:function(){return s}}),function(e){e.NoDisturbance="NoDisturbance",e.Orange="Orange",e.Red="Red",e.Green="Green"}(r||(r={})),function(e){e[e.NoDisturbance=0]="NoDisturbance",e[e.Two=2]="Two",e[e.Three=3]="Three",e[e.Green=7]="Green",e[e.Orange=8]="Orange",e[e.Red=9]="Red"}(o||(o={}));var i={type:"NoDisturbance"},a=function(e,t,n){return{type:"Orange",data:e,id:t,link:n}},u=function(e,t,n){return{type:"Red",data:e,id:t,link:n}},s=function(e,t,n){return{type:"Green",data:e,id:t,link:n}}},82277:function(e,t,n){"use strict";n.d(t,{m_:function(){return r},yX:function(){return o},hI:function(){return i},$M:function(){return f}});var r,o,i,a=n(92137),u=n(87757),s=n.n(u),c=n(39855),l=n(55841);function f(e,t,n){return d.apply(this,arguments)}function d(){return(d=(0,a.Z)(s().mark((function e(t,n,r){var i,u,f,d,p;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.type===o.OfferByProduct?"products":"travelers",u={method:"POST",headers:{"Content-Type":"application/json",apiKey:l.gR},body:JSON.stringify(t)},f=r?"&recaptchaResponse="+r:"",d="travelers"===i?"v2":"v1",p=l.L8+"/"+d+"/offer/"+i+"?lang="+n+f,e.abrupt("return",fetch(p,u).then(function(){var e=(0,a.Z)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.json().then((function(e){return[c.AEXUtils.object.changeKeysToCamelCase(e),t.status]})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(e){e.OneWay="ONEWAY",e.RoundTrip="ROUNDTRIP",e.TravelPass="TICKETBATCH"}(r||(r={})),function(e){e.OfferByProduct="OfferByProduct",e.OfferByTraveler="OfferByTraveler"}(o||(o={})),function(e){e.Applied="Applied",e.NoCode="NoCode",e.InvalidCode="InvalidCode",e.CodeNotActive="CodeNotActive",e.CodeNotFound="CodeNotFound",e.CodeAlreadyUsed="CodeAlreadyUsed",e.NotApplied="NotApplied",e.CodeNotMatchingTravelers="CodeNotMatchingTravelers"}(i||(i={}))},46723:function(e,t,n){"use strict";n.d(t,{XH:function(){return l},SX:function(){return f},En:function(){return p}});var r=n(92137),o=n(87757),i=n.n(o),a=n(39855),u=n(96806),s=n(35161),c=n(55841);function l(e,t){switch(e){case"PaymentFailed":return s.ue;case"Processing":return(0,s.WL)(t);default:return(0,s.cm)(t)}}function f(e){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(i().mark((function e(t){var n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={headers:{"Content-Type":"application/json",apiKey:c.gR,pragma:"no-cache","cache-control":"no-cache"}},o=c.L8+"/Orders/"+t+"/status",e.abrupt("return",fetch(o,n).then(function(){var e=(0,r.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=a.AEXUtils.object,e.next=3,t.json();case 3:return e.t1=e.sent,e.abrupt("return",e.t0.changeKeysToCamelCase.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){if(e.isSuccess){var t=e.data;return"Created"===t.status?(0,u.fB)(t):(0,u.tj)(t.status)}return(0,u.tj)(e.error.code)})).catch((function(){return(0,u.tj)("OrderFailed")})));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,t,n){return h.apply(this,arguments)}function h(){return(h=(0,r.Z)(i().mark((function e(t,n,o){var s,l;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s={headers:{"Content-Type":"application/json",apiKey:c.gR,pragma:"no-cache","cache-control":"no-cache"}},l=c.L8+"/Orders/v2/"+t+"?handle="+n+"&lang="+o,e.abrupt("return",fetch(l,s).then(function(){var e=(0,r.Z)(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=a.AEXUtils.object,e.next=3,t.json();case 3:return e.t1=e.sent,e.abrupt("return",e.t0.changeKeysToCamelCase.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){if(e.isSuccess){var t=e.data;return(0,u.fB)(t)}return(0,u.tj)(e.error)})).catch((function(){return(0,u.tj)({status:0,code:"fetch fail",titel:"",detail:""})})));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},85923:function(e,t,n){"use strict";n.d(t,{A6:function(){return o},lI:function(){return h},AC:function(){return d},aq:function(){return p},qq:function(){return v},Li:function(){return b},mO:function(){return _},w$:function(){return S}});var r,o,i=n(92137),a=n(87757),u=n.n(a),s=n(39855),c=n(58127),l=n(96806),f=n(55841);!function(e){e.PAYMENT_STATE_EMPTY="",e.PAYMENT_STATE_SWISH="Swish",e.PAYMENT_STATE_CARD="CreditCard",e.PAYMENT_STATE_INVOICE="Invoice",e.PAYMENT_STATE_APPLEPAY="ApplePay",e.PAYMENT_STATE_GOOGLEPAY="GooglePay"}(o||(o={}));var d,p,h=((r={})[o.PAYMENT_STATE_SWISH]="swish",r[o.PAYMENT_STATE_CARD]="scheme",r[o.PAYMENT_STATE_APPLEPAY]="applepay",r[o.PAYMENT_STATE_GOOGLEPAY]="googlepay",r);function v(e,t){return g.apply(this,arguments)}function g(){return(g=(0,i.Z)(u().mark((function e(t,n){var r,o;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={amount:t,channel:"Web",language:n},o={method:"POST",headers:{"Content-Type":"application/json",apiKey:f.gR},body:JSON.stringify(r)},e.abrupt("return",fetch(f.L8+"/v3/payments/payment-methods?applePayOptIn=true&googlePayOptIn=true",o).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json().then((function(e){var t,n;return null===(t=s.AEXUtils.object.changeKeysToCamelCase(e).data)||void 0===t||null===(n=t.adyenPaymentMethods)||void 0===n?void 0:n.paymentMethods}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(e){e.Authorised="Authorised",e.Redirect="Redirect",e.Identify="Identify",e.Challenge="Challenge",e.Refused="Refused",e.Fail="Fail",e.Received="Received",e.SwishPending="SwishPending"}(d||(d={})),function(e){e.ExpiredCard="ExpiredCard",e.InvalidCard="InvalidCard",e.InsufficientBalance="InsufficientBalance",e.PaymentFailedRetry="PaymentFailedRetry",e.PaymentFailedNoRetry="PaymentFailedNoRetry",e.NotSupported="NotSupported",e.Invalid3DSecureImplementation="Invalid3DSecureImplementation"}(p||(p={}));var m=function(){return{acceptHeader:"*",userAgent:navigator.userAgent,colorDepth:window.screen.colorDepth,javaEnabled:navigator.javaEnabled(),language:navigator.language,screenHeight:window.screen.height,screenWidth:window.screen.width}};function y(e,t){return e.paymentMethod===o.PAYMENT_STATE_CARD?Object.assign({},e,{creditCardData:Object.assign({},e.creditCardData,{browserInfo:t})}):e.paymentMethod===o.PAYMENT_STATE_SWISH?Object.assign({},e,{swishData:Object.assign({},e.swishData,{browserInfo:t})}):e}function b(e,t,n){return w.apply(this,arguments)}function w(){return(w=(0,i.Z)(u().mark((function e(t,n,r){var o,a,d,p;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=m(),a={method:"POST",headers:{"Content-Type":"application/json",apiKey:f.gR},body:JSON.stringify(y(t,o))},d="?qrCodeOptIn=true&recaptchaResponse="+n,e.next=5,null==r?void 0:r.getToken();case 5:return p=e.sent,e.abrupt("return",c.AEXAuth.api.authenticatedFetch(f.L8+"/v3/payments"+d,a,p).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=s.AEXUtils.object,e.next=3,t.json();case 3:return e.t1=e.sent,e.abrupt("return",e.t0.changeKeysToCamelCase.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null==t.errors?(0,l.fB)(t.data):(0,l.tj)(t.errors[0]));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(){return(0,l.tj)({status:0,code:"",titel:"",detail:""})})));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=(0,i.Z)(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"POST",headers:{"Content-Type":"application/json",apiKey:f.gR},body:JSON.stringify(t)},e.abrupt("return",fetch(f.L8+"/v3/payments/details",n).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=s.AEXUtils.object,e.next=3,t.json();case 3:return e.t1=e.sent,e.abrupt("return",e.t0.changeKeysToCamelCase.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){return null==e.errors?(0,l.fB)(e.data):(0,l.tj)(e.errors[0])})).catch((function(){return(0,l.tj)({status:0,code:"",titel:"",detail:""})})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return k.apply(this,arguments)}function k(){return(k=(0,i.Z)(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={orderNumber:t,details:{returnUrlQueryString:"ignore"}},e.abrupt("return",_(n).then(function(){var e=(0,i.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.data){e.next=4;break}return e.abrupt("return",(0,l.fB)(t.data.resultCode));case 4:return e.abrupt("return",(0,l.tj)(t.error));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},55841:function(e,t,n){"use strict";n.d(t,{gR:function(){return r},L8:function(){return o},ko:function(){return i},i7:function(){return a},jK:function(){return u},XK:function(){return s},Z0:function(){return c},$W:function(){return l}});var r="^sr5!WaG5P7pq4fzNc@!%dxo*CUsfj2c",o="https://api.atrain.se/shopping",i="wjQzaRawg6DEXpVaVmEJ8GKaaDSVdJNz",a="https://api.atrain.se/travelcard",u="https://api.atrain.se/v1/ecom/departures",s="https://api.atrain.se/mypages",c="https://api.atrain.se/customer-service",l="^sr5!WaG5P7pq4fzNc@!%dxo*CUsfj2c"},43577:function(e,t,n){"use strict";n.d(t,{$:function(){return i},u:function(){return a}});var r=n(82277),o=n(49834),i=function(e){var t=e.offerStore,n=(0,o.a)(),i=Boolean(null==n?void 0:n.distributorCustomerId);return{isTravelersOffer:t.offerType===r.m_.OneWay||t.offerType===r.m_.RoundTrip,isTravelPass:t.offerType===r.m_.TravelPass,isDistributor:i}},a="currentOrderNumber"},49834:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var r=n(67294),o=n(58127),i=n(50192),a=function(){var e=(0,r.useContext)(i.Z);return o.AEXAuth.hooks.useUser(e.authStore)}},73863:function(e,t,n){"use strict";n.d(t,{vI:function(){return i},zz:function(){return a},Ar:function(){return u},Pl:function(){return s},sQ:function(){return c},x$:function(){return l},UI:function(){return p},Mc:function(){return h},h4:function(){return v},$g:function(){return g}});var r=n(28678),o=n(93857),i=function e(t,n){var r={};return null!=n&&(null!=n[t]?r=n[t]:Object.keys(n).forEach((function(o){var i,a;n[o][t]?(a=n[o][t],null!==n[o][t]&&Array.isArray(n[o][t])?a=n[o][t].map((function(n){return e(t,n)})):null!==n[o][t]&&"object"==typeof n[o][t]&&(a=e(t,n[o][t]))):(a=n[o],null!==n[o]&&Array.isArray(n[o])?a=n[o].map((function(n){return"object"==typeof n?e(t,n):n})):null!==n[o]&&"object"==typeof n[o]&&(a=e(t,n[o]))),r=Object.assign({},r,((i={})[o]=a,i))}))),r},a=function(e){null!=window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))},u=function(e,t,n,i,u){var s=[],c=window.localStorage.getItem("isLoggedIn"),l=function(){switch(i){case"adultCount":return"adult";case"childCount":return"child";case"seniorCount":return"senior";case"youthCount":return"youth";default:return""}};setTimeout((function(){try{var i,u;if(null!==e.offer)if("TICKETBATCH"===(null==e||null===(i=e.offer)||void 0===i||null===(u=i.offers)||void 0===u?void 0:u[0].offerType))if("add_to_cart"===t){var f,d,p,h,v,g,m,y,b,w;if(e.offer.offers[0].ticketName)s.push({item_id:null==e||null===(v=e.offer)||void 0===v||null===(g=v.offers)||void 0===g?void 0:g[0].products[0].productIdentifier.id,item_name:e.offer.offers[0].ticketName[n].title,item_category:null==e||null===(m=e.offer)||void 0===m||null===(y=m.offers)||void 0===y?void 0:y[0].offerType,price:(null==e||null===(b=e.offer)||void 0===b||null===(w=b.offers)||void 0===w?void 0:w[0].totalPrice.amountInCentsIncVat)/100});var _={event:t,ecommerce:{currency:null==e||null===(f=e.offer)||void 0===f||null===(d=f.offers)||void 0===d?void 0:d[0].totalPrice.currencyCode,value:(null==e||null===(p=e.offer)||void 0===p||null===(h=p.offers)||void 0===h?void 0:h[0].totalPrice.amountInCentsIncVat)/100,items:s},login_status:"true"===c?"logged_in":"non_logged_in"};a(_)}else{var x,S,k,E,C,I,T,O,A,D,P,N,M,j,L,R,F;if(e.offer.offers[0].ticketName)s.push({item_id:null==e||null===(T=e.offer)||void 0===T||null===(O=T.offers)||void 0===O?void 0:O[0].products[0].productIdentifier.id,item_name:e.offer.offers[0].ticketName[n].title,item_category:null==e||null===(A=e.offer)||void 0===A||null===(D=A.offers)||void 0===D?void 0:D[0].offerType,price:(null==e||null===(P=e.offer)||void 0===P||null===(N=P.offers)||void 0===N?void 0:N[0].totalPrice.amountInCentsIncVat)/100,coupon:"Applied"===(null==e||null===(M=e.offer)||void 0===M||null===(j=M.offers)||void 0===j?void 0:j[0].campaignInfo.code)?null==e||null===(L=e.offer)||void 0===L||null===(R=L.offers)||void 0===R||null===(F=R[0].products[0].discount)||void 0===F?void 0:F.discountId:""});var U={event:t,ecommerce:{currency:null==e||null===(x=e.offer)||void 0===x||null===(S=x.offers)||void 0===S?void 0:S[0].totalPrice.currencyCode,value:(null==e||null===(k=e.offer)||void 0===k||null===(E=k.offers)||void 0===E?void 0:E[0].totalPrice.amountInCentsIncVat)/100,discount:(null==e||null===(C=e.offer)||void 0===C||null===(I=C.offers)||void 0===I?void 0:I[0].totalTravelerPrice.discountInCents)/100,items:s},login_status:"true"===c?"logged_in":"non_logged_in"};"begin_checkout"===t&&window.localStorage.setItem("eventData",JSON.stringify(U)),a(U)}else if("add_to_cart"===t||"remove_from_cart"===t){var B,z,V,H,G,q,W,Z,K,$,X,Y,J,Q,ee,te;if(e.offer.offers[0].ticketName)s.push({item_id:null==e||null===(Z=e.offer)||void 0===Z||null===(K=Z.offers)||void 0===K?void 0:K[0].products[0].productIdentifier.id,item_name:e.offer.offers[0].ticketName[n].title,item_category:null==e||null===($=e.offer)||void 0===$||null===(X=$.offers)||void 0===X?void 0:X[0].offerType,quantity:1,price:(null==e||null===(Y=e.offer)||void 0===Y||null===(J=Y.offers)||void 0===J||null===(Q=J[0])||void 0===Q||null===(ee=Q.travelerPrices[l()])||void 0===ee||null===(te=ee.pricePerTraveler)||void 0===te?void 0:te.amountInCentsIncVat)/100});var ne={event:t,ecommerce:{currency:null==e||null===(B=e.offer)||void 0===B||null===(z=B.offers)||void 0===z?void 0:z[0].totalPrice.currencyCode,value:(null==e||null===(V=e.offer)||void 0===V||null===(H=V.offers)||void 0===H||null===(G=H[0])||void 0===G||null===(q=G.travelerPrices[l()])||void 0===q||null===(W=q.pricePerTraveler)||void 0===W?void 0:W.amountInCentsIncVat)/100,items:s},login_status:"true"===c?"logged_in":"non_logged_in"};a(ne)}else{var re,oe,ie,ae,ue,se,ce,le;Object.entries(null==e||null===(re=e.offer)||void 0===re||null===(oe=re.offers)||void 0===oe?void 0:oe[0].travelerPrices).map((function(t){var r,o,i,a,u,c,l,f,d,p,h,v,g,m,y,b,w=t[0];t[1];e.offer.offers[0].ticketName&&s.push({item_id:null==e||null===(r=e.offer)||void 0===r||null===(o=r.offers)||void 0===o?void 0:o[0].products[0].productIdentifier.id,item_name:e.offer.offers[0].ticketName[n].title,item_category:null==e||null===(i=e.offer)||void 0===i||null===(a=i.offers)||void 0===a?void 0:a[0].offerType,quantity:null==e||null===(u=e.offer)||void 0===u||null===(c=u.offers)||void 0===c?void 0:c[0].travelerPrices[w].count,price:(null==e||null===(l=e.offer)||void 0===l||null===(f=l.offers)||void 0===f||null===(d=f[0])||void 0===d||null===(p=d.travelerPrices[w])||void 0===p||null===(h=p.pricePerTraveler)||void 0===h?void 0:h.amountInCentsIncVat)/100,coupon:"Applied"===(null==e||null===(v=e.offer)||void 0===v||null===(g=v.offers)||void 0===g?void 0:g[0].campaignInfo.code)?null==e||null===(m=e.offer)||void 0===m||null===(y=m.offers)||void 0===y||null===(b=y[0].products[0].discount)||void 0===b?void 0:b.discountId:""})}));var fe={event:t,ecommerce:{currency:null==e||null===(ie=e.offer)||void 0===ie||null===(ae=ie.offers)||void 0===ae?void 0:ae[0].totalPrice.currencyCode,value:(null==e||null===(ue=e.offer)||void 0===ue||null===(se=ue.offers)||void 0===se?void 0:se[0].totalPrice.amountInCentsIncVat)/100,discount:(null==e||null===(ce=e.offer)||void 0===ce||null===(le=ce.offers)||void 0===le?void 0:le[0].totalTravelerPrice.discountInCents)/100,items:s},login_status:"true"===c?"logged_in":"non_logged_in"};"begin_checkout"===t&&window.localStorage.setItem("eventData",JSON.stringify(fe)),a(fe)}}catch(de){console.error("Failed sending analytics: "+(null==de?void 0:de.toString())),o.b8.trackTrace({message:"Failed sending analytics: "+(null==de?void 0:de.toString()),severityLevel:r._.Error})}}),2e3)},s=function(e){a({event:"cta_click",name:e})},c=function(e,t){a({event:e,ticket_number:t})},l=function(e,t,n){a({event:e,journey_from:"Stockholm"===t?"Stockholm Central":"Arlanda Airport",journey_to:"Arlanda"===t?"Stockholm Central":"Arlanda Airport",journey_search_type:function(){switch(n){case"GoNow":return"I want to go now";case"GoAfter":return"I want to leave at the earliest";case"ArriveBefore":return"I want to arrive at the latest";default:return""}}()})},f="undefined"!=typeof window,d=function(e,t){return f&&"true"===window.localStorage.getItem(t)||"true"===e},p=function(){return d("true","hideName")},h=function(){return d("false","hideBuyButtons")},v=function(){return d("false","showAppBanner")},g=function(){return d("false","showClaimsForm")}},74999:function(e,t,n){t.components={"component---src-pages-404-tsx":function(){return n.e(9218).then(n.bind(n,90938))},"component---src-pages-claims-tsx":function(){return Promise.all([n.e(5587),n.e(7697)]).then(n.bind(n,22849))},"component---src-pages-cookie-policy-tsx":function(){return n.e(8364).then(n.bind(n,1278))},"component---src-pages-customers-tsx":function(){return n.e(3781).then(n.bind(n,47210))},"component---src-pages-digitalize-travel-card-tsx":function(){return n.e(4103).then(n.bind(n,22406))},"component---src-pages-index-tsx":function(){return Promise.all([n.e(5105),n.e(6691)]).then(n.bind(n,29963))},"component---src-pages-login-tsx":function(){return n.e(4047).then(n.bind(n,83974))},"component---src-pages-payment-error-tsx":function(){return n.e(4295).then(n.bind(n,23566))},"component---src-pages-redirect-landing-page-tsx":function(){return n.e(7009).then(n.bind(n,58504))},"component---src-pages-refunds-tsx":function(){return n.e(4286).then(n.bind(n,275))},"component---src-pages-summary-tsx":function(){return Promise.all([n.e(5105),n.e(6840)]).then(n.bind(n,35457))},"component---src-pages-ticket-error-tsx":function(){return n.e(9749).then(n.bind(n,96521))},"component---src-pages-ticket-processing-tsx":function(){return n.e(7369).then(n.bind(n,10812))},"component---src-pages-ticket-tsx":function(){return n.e(4390).then(n.bind(n,56267))},"component---src-pages-timetable-tsx":function(){return Promise.all([n.e(5587),n.e(1709)]).then(n.bind(n,37434))},"component---src-pages-travel-pass-tsx":function(){return n.e(4560).then(n.bind(n,63756))},"component---src-pages-travelers-tsx":function(){return n.e(5105).then(n.bind(n,51473))},"component---src-templates-article-page-tsx":function(){return n.e(2835).then(n.bind(n,79135))},"component---src-templates-faq-group-page-tsx":function(){return n.e(232).then(n.bind(n,13769))},"component---src-templates-faq-page-tsx":function(){return n.e(8281).then(n.bind(n,93005))}}},65182:function(e,t,n){e.exports=[{plugin:n(99854),options:{plugins:[],attributeName:"is-loading",timeout:3e3}},{plugin:n(60992),options:{plugins:[],name:"Arlanda express",short_name:"AEX",start_url:"/",background_color:"#FEF380",theme_color:"#FEF380",display:"standalone",icon:"src/shared/images/favicon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"834928f6ab50ccd362541e5d759fbd5f"}},{plugin:n(92130),options:{plugins:[],siteUrl:"https://www.arlandaexpress.com",stripQueryString:!0}},{plugin:n(52926),options:{plugins:[]}}]},97343:function(e,t,n){var r=n(65182),o=n(28741).jN,i=o.getResourceURLsForPathname,a=o.loadPage,u=o.loadPageSync;t.h=function(e,t,n,o){void 0===t&&(t={});var s=r.map((function(n){if(n.plugin[e]){t.getResourceURLsForPathname=i,t.loadPage=a,t.loadPageSync=u;var r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r}}));return(s=s.filter((function(e){return void 0!==e}))).length>0?s:n?[n]:[]},t.I=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},68110:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},2257:function(e,t,n){"use strict";n.d(t,{UD:function(){return d},Cj:function(){return h},GA:function(){return p},DS:function(){return f}});var r=n(92098),o=n(51578),i=function(e){return void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e},a=n(35166),u=new Map,s=[],c=function(e){var t=decodeURIComponent(e);return(0,o.Z)(t,decodeURIComponent("")).split("#")[0].split("?")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var f=function(e){s=e},d=function(e){var t=v(e),n=s.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},p=function(e){var t=v(e),n=s.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=function e(t){var n=c(l(t));if(u.has(n))return u.get(n);var r=(0,a.J)(t);if(r)return e(r.toPath);var o=d(n);return o||(o=v(t)),u.set(n,o),o},v=function(e){var t=c(l(e));return"/index.html"===t&&(t="/"),t=i(t)}},25444:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return o.ZP},withAssetPrefix:function(){return o.mc},withPrefix:function(){return o.dq},graphql:function(){return p},parsePath:function(){return o.cP},navigate:function(){return o.c4},useScrollRestoration:function(){return i.p2},StaticQueryContext:function(){return c},StaticQuery:function(){return f},PageRenderer:function(){return u.a},useStaticQuery:function(){return d},prefetchPathname:function(){return s}});var r=n(67294),o=n(38037),i=n(19679),a=n(70861),u=n.n(a),s=n(28741).ZP.enqueue,c=r.createContext({});function l(e){var t=e.staticQueryData,n=e.data,o=e.query,i=e.render,a=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,a&&i(a),!a&&r.createElement("div",null,"Loading (StaticQuery)"))}var f=function(e){var t=e.data,n=e.query,o=e.render,i=e.children;return r.createElement(c.Consumer,null,(function(e){return r.createElement(l,{data:t,query:n,render:o||i,staticQueryData:e})}))},d=function(e){var t;r.useContext;var n=r.useContext(c);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function p(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},28741:function(e,t,n){"use strict";n.d(t,{uQ:function(){return l},kL:function(){return y},ZP:function(){return _},hs:function(){return x},jN:function(){return w},N1:function(){return b}});var r=n(41788),o=n(85061),i=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},a={},u=function(e,t){return new Promise((function(n){a[e]?n():i(e,t).then((function(){n(),a[e]=!0})).catch((function(){}))}))},s=n(68110),c=n(2257),l={Error:"error",Success:"success"},f=function(e){return e&&e.default||e},d=function(e){var t;return"/assets3/page-data/"+("/"===e?"index":(t="/"===(t=e)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)+"/page-data.json"};function p(e,t){return void 0===t&&(t="GET"),new Promise((function(n,r){var o=new XMLHttpRequest;o.open(t,e,!0),o.onreadystatechange=function(){4==o.readyState&&n(o)},o.send(null)}))}var h,v=function(e,t){void 0===t&&(t=null);var n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}},g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=p(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,r=e.retries,o=void 0===r?0:r,i=d(n);return this.memoizedGet(i).then((function(r){var i=r.status,a=r.responseText;if(200===i)try{var u=JSON.parse(a);if(void 0===u.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:l.Success,payload:u})}catch(s){}return 404===i||200===i?"/404.html"===n?Object.assign(e,{status:l.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===i?Object.assign(e,{status:l.Error}):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:l.Error})}))},t.loadPageDataJson=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return(0,c.UD)(e)},t.loadPage=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return r.error?{error:r.error,status:r.status}:Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var r=e[1];if(r.status===l.Error)return{status:l.Error};var o=r.payload,i=o,a=i.componentChunkName,u=i.staticQueryHashes,c=void 0===u?[]:u,f={},d=t.loadComponent(a).then((function(t){var n;return f.createdAt=new Date,!t||t instanceof Error?(f.status=l.Error,f.error=t):(f.status=l.Success,!0===r.notFound&&(f.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=v(o,t)),n})),p=Promise.all(c.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}return t.memoizedGet("/assets3/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/assets3/page-data/sq/d/"+e+'.json"')}))}))).then((function(e){var n={};return e.forEach((function(e){var r=e.staticQueryHash,o=e.jsonPayload;n[r]=o,t.staticQueryDb[r]=o})),n}));return Promise.all([d,p]).then((function(e){var r,o=e[0],i=e[1];return o&&(r=Object.assign({},o,{staticQueryResults:i}),f.payload=r,s.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,f),f.error?{error:f.error,status:f.status}:r})).catch((function(e){return{error:e,status:l.Error}}))}));return o.then((function(){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,o),o},t.loadPageSync=function(e,t){void 0===t&&(t={});var n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&!this.pageDb.has(e)},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;var n=(0,c.Cj)(e);return this.doPrefetch(n).then((function(){t.prefetchCompleted.has(e)||(t.apiRunner("onPostPrefetchPathname",{pathname:e}),t.prefetchCompleted.add(e))})),!0},t.doPrefetch=function(e){var t=this,n=d(e);return u(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=(0,c.Cj)(e),n=this.pageDataDb.get(t);if(n){var r=v(n.payload);return[].concat((0,o.Z)(m(r.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){var t=(0,c.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){var t=this;return void 0===e&&(e=0),this.memoizedGet("/assets3/page-data/app-data.json").then((function(n){var r,o=n.status,i=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var a=JSON.parse(i);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");r=a}catch(u){}return r}))},e}(),m=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return"/assets3"+e}))},y=function(e){function t(t,n){return e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name "+e);return t.components[e]().then(f).catch((function(e){return e}))}),n)||this}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((function(e){if(e.status!==l.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=m(n);return Promise.all(r.map(u)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?p(t,"HEAD").then((function(t){return 200===t.status?{status:l.Error}:e})):e}))},t}(g),b=function(e){h=e},w={enqueue:function(e){return h.prefetch(e)},getResourceURLsForPathname:function(e){return h.getResourceURLsForPathname(e)},loadPage:function(e){return h.loadPage(e)},loadPageSync:function(e,t){return void 0===t&&(t={}),h.loadPageSync(e,t)},prefetch:function(e){return h.prefetch(e)},isPageNotFound:function(e){return h.isPageNotFound(e)},hovering:function(e){return h.hovering(e)},loadAppData:function(){return h.loadAppData()}},_=w;function x(){return h?h.staticQueryDb:{}}},804:function(e,t,n){"use strict";var r=n(41788),o=n(67294),i=n(97343),a=n(2257),u=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=Object.assign({},this.props,{params:Object.assign({},(0,a.GA)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params)}),t=(0,o.createElement)(this.props.pageResources.component,Object.assign({},e,{key:this.props.path||this.props.pageResources.page.path}));return(0,i.h)("wrapPageElement",{element:t,props:e},t,(function(t){return{element:t.result,props:e}})).pop()},t}(o.Component);t.Z=u},72871:function(e,t,n){"use strict";var r=n(41788),o=n(97343),i=n(67294),a=n(73935),u=n(29499),s=n(19679),c=n(25444),l=n(28741),f=n(35166),d=n(68110),p={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},h=n(22393),v=n(38037);function g(e){var t=(0,f.J)(e),n=window.location,r=n.hash,o=n.search;return null!=t&&(window.___replace(t.toPath+o+r),!0)}var m=function(e,t){g(e.pathname)||(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t})},y=function(e,t){g(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=(0,v.cP)(e),r=n.pathname,i=n.search,a=n.hash,s=(0,f.J)(r);if(s&&(e=s.toPath+i+a),window.___swUpdated)window.location=r+i+a;else{var c=setTimeout((function(){d.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.ZP.loadPage(r).then((function(n){if(!n||n.status===l.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(c);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r),(0,u.navigate)(e,t),clearTimeout(c)}))}}else h.V5.navigate(e)};function w(e,t){var n=this,r=t.location,i=r.pathname,a=r.hash,u=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:i,routerProps:{location:r},getSavedScrollPosition:function(e){return[0,n._stateStorage.read(e,e.key)]}});if(u.length>0)return u[u.length-1];if(e&&e.location.pathname===i)return a?decodeURI(a.slice(1)):[0,0];return!0}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.createRef(),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return i.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(i.Component),x=function(e,t){var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)},S=function(e){function t(t){var n;return n=e.call(this,t)||this,m(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!x(e.location,this.props.location)&&(m(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){x(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(_,{location:location}))},t}(i.Component),k=n(804),E=n(74999);function C(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var I=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||l.ZP.loadPageSync(r.pathname,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:l.ZP.loadPageSync(n.pathname,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;l.ZP.loadPage(e).then((function(n){n&&n.status!==l.uQ.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return C(e.props,t)||C(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},t}(i.Component),T=n(51578),O=new l.kL(E,[]);(0,l.N1)(O),O.setApiRunner(o.h),window.asyncRequires=E,window.___emitter=d.Z,window.___loader=l.jN,h.V5.listen((function(e){e.location.action=e.action})),window.___push=function(e){return b(e,{replace:!1})},window.___replace=function(e){return b(e,{replace:!0})},window.___navigate=function(e,t){return b(e,t)},g(window.location.pathname),(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(70154);var e=function(e){return i.createElement(u.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(k.Z,e))},t=i.createContext({}),f=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this.props.children;return i.createElement(u.Location,null,(function(n){var r=n.location;return i.createElement(I,{location:r},(function(n){var r=n.pageResources,o=n.location,a=(0,l.hs)();return i.createElement(c.StaticQueryContext.Provider,{value:a},i.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(i.Component),d=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return i.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return i.createElement(S,{location:o},i.createElement(s.$C,{location:o,shouldUpdateScroll:w},i.createElement(u.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},i.createElement(e,Object.assign({path:"/404.html"===r.page.path?(0,T.Z)(o.pathname,""):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:o,pageResources:r},r.json)))))}))},o}(i.Component),p=window,h=p.pagePath,v=p.location;h&&""+h!==v.pathname&&!(O.findMatchPath((0,T.Z)(v.pathname,""))||"/404.html"===h||h.match(/^\/404\/?$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,u.navigate)(""+h+v.search+v.hash,{replace:!0}),l.jN.loadPage(v.pathname).then((function(e){if(!e||e.status===l.uQ.Error){var t="page resources for "+v.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}window.___webpackCompilationHash=e.page.webpackCompilationHash;var n=(0,o.h)("wrapRootElement",{element:i.createElement(d,null)},i.createElement(d,null),(function(e){return{element:e.result}})).pop(),r=function(){var e=i.useRef(!1);return i.useEffect((function(){e.current||(e.current=!0,performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),i.createElement(f,null,n)},u=(0,o.h)("replaceHydrateFunction",void 0,a.hydrateRoot?a.hydrateRoot:a.hydrate)[0];function s(){var e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u===a.hydrateRoot?u(e,i.createElement(r,null)):u(i.createElement(r,null),e)}var c=document;if("complete"===c.readyState||"loading"!==c.readyState&&!c.documentElement.doScroll)setTimeout((function(){s()}),0);else{var p=function e(){c.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),s()};c.addEventListener("DOMContentLoaded",p,!1),window.addEventListener("load",p,!1)}}))}))},76947:function(e,t,n){"use strict";n.r(t);var r=n(67294),o=n(28741),i=n(804);t.default=function(e){var t=e.location,n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(i.Z,Object.assign({location:t,pageResources:n},n.json)):null}},70861:function(e,t,n){var r;e.exports=(r=n(76947))&&r.default||r},63639:function(e,t){t.O=function(e){return e}},35166:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=new Map,o=new Map;function i(e){var t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((function(e){e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},70154:function(e,t,n){"use strict";n.r(t);var r=n(97343);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},51578:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},55610:function(e,t,n){"use strict";n.d(t,{VH:function(){return r},L9:function(){return o},iQ:function(){return i}});var r=50,o=8,i=364},52926:function(e,t,n){"use strict";n.r(t),n.d(t,{onClientEntry:function(){return T},onInitialClientRender:function(){return O},onRouteUpdate:function(){return A},wrapPageElement:function(){return E},wrapRootElement:function(){return D}});var r,o,i=n(92137),a=n(87757),u=n.n(a),s=n(67294),c=(n(53868),n(64925)),l=n(58127),f=n(45643),d=n(55094),p=n(50192),h=n(32203),v=n(61668),g=n(91577),m=n(39855),y=function(){var e=(0,v.Z)().authError,t=e.heading,n=e.description,r=(0,s.useContext)(d.RD).locale,o=h.parse("undefined"!=typeof window?window.location.search:""),i=o.error,a=o.error_description,u={title:t,description:n};return s.createElement(g.ZP,{seo:u,useSquareLogo:!0},s.createElement(m.AEXErrorContent,{locale:r,errorTitleCode:"login",errorDescriptionCode:i||a}))},b=function(){var e=(0,v.Z)().global.loading;return s.createElement(s.Fragment,null,s.createElement(m.AEXFullscreenLoader,{loadingText:e}))},w=function(e){var t=e.element,n=e.props;return s.createElement(d.ld,{locale:n.pageContext.locale,dateFormat:n.pageContext.dateFormat,otherLocaleUrlPath:n.pageContext.otherLocaleUrlPath,location:n.location},s.createElement(l.AEXAuth.components.AEXAuthApp,{domain:"account.arlandaexpress.se",clientId:"P3r7PzjWWpTIbUUQEFar5mDivstxWQFA",audience:"https://api.atrain.se/",redirectUri:"https://www.arlandaexpress.com/my-pages",store:p.Z,LoadingComponent:b,ErrorComponent:y,ignoreStates:!0},s.createElement(f.ZL,null),t))},_=n(93857),x=n(36710),S=n(16491),k=n(57930),E=w,C=new x.my("client-p5lzGDJTF1CaC9QntsNCh5Qrr1tf2gT1u0vVSQoVEgk",{locale:"en-US"},{environment:{tier:"production"},disableLogging:!0!==(null===(r=window.CookieFirst)||void 0===r||null===(o=r.consent)||void 0===o?void 0:o.performance),disableStorage:!1}),I=function(){var e=(0,i.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.initializeAsync();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){!function(){function e(){window.dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[{}],e({site_language:"en",login_status:"true"===window.localStorage.getItem("isLoggedIn")?"logged_in":"non_logged_in"}),e("consent","default",{ad_storage:"denied",ad_personalization:"denied",ad_user_data:"denied",analytics_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",security_storage:"granted",wait_for_update:2e3}),e("set","ads_data_redaction",!0),function(e,t,n,r,o){e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var i=t.getElementsByTagName(n)[0],a=t.createElement(n);a.async=!0,a.src="https://www.googletagmanager.com/gtm.js?id=GTM-5B8F956",i.parentNode.insertBefore(a,i)}(window,document,"script","dataLayer")}()},O=function(){var e;e=function(e){var t;null!==(t=e.detail)&&void 0!==t&&t.performance&&(C.updateRuntimeOptions({disableLogging:!1}),(0,k.kG)(C))},window.addEventListener("cf_consent",e),window.addEventListener("cf_consent_loaded",e),setTimeout((function(){var t,n;!0===(null===(t=window.CookieFirst)||void 0===t||null===(n=t.consent)||void 0===n?void 0:n.performance)&&e({detail:window.CookieFirst.consent})}),1e3),(0,_.jP)(),I()},A=function(e){try{_.b8.trackPageView()}catch(e){}},D=function(e){var t=e.element;return s.createElement(S.mj,{client:C},s.createElement(c.Dk,{locale:"en-US"},t))}},92130:function(e,t){"use strict";t.onRouteUpdate=function(e,t){var n=e.location;void 0===t&&(t={stripQueryString:!1});var r=document.querySelector("link[rel='canonical']"),o=r.getAttribute("href"),i=r.getAttribute("data-baseProtocol"),a=r.getAttribute("data-baseHost");if(o&&i&&a){var u=i+"//"+a+n.pathname;t.stripQueryString||(u+=n.search),u+=n.hash,r.setAttribute("href",""+u)}}},99854:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;var r=n(80447),o=n(90268);t.onInitialClientRender=function(e,t){var n,i=null!==(n=t.attributeName)&&void 0!==n?n:o.defaultOptions.attributeName;try{var a;null===(a=window.document.body.dataset)||void 0===a||delete a[(0,r.camelCase)(i)]}catch(u){}}},90268:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=void 0,t.defaultOptions={attributeName:"gatsby-plugin-fix-fouc-is-loading",minWidth:0,timeout:4e3}},60992:function(e,t,n){"use strict";var r=n(95318);n(25444),r(n(41632))},41632:function(e,t){"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e,t){var n="manifest.webmanifest";if(!Array.isArray(t))return n;var r=t.find((function(t){return e.startsWith(t.start_url)}));return r?"manifest_"+r.lang+".webmanifest":n}},93857:function(e,t,n){"use strict";n.d(t,{b8:function(){return ra},jP:function(){return aa},DV:function(){return ua},zJ:function(){return sa}});var r="function",o="object",i="undefined",a=Object,u=a.prototype,s=a.assign,c=a.create,l=a.defineProperty,f=u.hasOwnProperty;function d(){return typeof globalThis!==i&&globalThis?globalThis:typeof self!==i&&self?self:typeof window!==i&&window?window:typeof n.g!==i&&n.g?n.g:null}function p(e){throw new TypeError(e)}function h(e){if(c)return c(e);if(null==e)return{};var t=typeof e;function n(){}return t!==o&&t!==r&&p("Object prototype may only be an Object:"+e),n.prototype=e,new n}(d()||{}).Symbol,(d()||{}).Reflect;var v=s||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])u.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g=function(e,t){return(g=a.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r&&null!==t&&p("Class extends value "+String(t)+" is not a constructor or null"),g(e,t),e.prototype=null===t?h(t):(n.prototype=t.prototype,new n)}var y="constructor",b="prototype",w="function",_="_dynClass",x="_unknown_",S=Object,k=S.getPrototypeOf,E=0;function C(e,t){return e&&S.prototype.hasOwnProperty.call(e,t)}function I(e){return e&&(e===S.prototype||e===Array.prototype)}function T(e){return I(e)||e===Function.prototype}function O(e){if(e){if(k)return k(e);var t=e.__proto__||e.prototype||(e.constructor?e.constructor.prototype:null);if(t)return t}return null}function A(e,t){var n=[],r=S.getOwnPropertyNames;if(r)n=r(e);else for(var o in e)"string"==typeof o&&C(e,o)&&n.push(o);if(n&&n.length>0)for(var i=0;i<n.length;i++)t(n[i])}function D(e,t,n){return t!==y&&typeof e[t]===w&&(n||C(e,t))}function P(e){throw new TypeError("DynamicProto: "+e)}function N(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function M(e,t,n,r){var o=null;if(e&&C(n,_)){var i=e._dynInstFuncs||{};if((o=(i[n._dynClass]||{})[t])||P("Missing ["+t+"] "+w),!o._dynInstChk&&!1!==i._dynInstChk){for(var a=!C(e,t),u=O(e),s=[];a&&u&&!T(u)&&!N(s,u);){var c=u[t];if(c){a=c===r;break}s.push(u),u=O(u)}try{a&&(e[t]=o),o._dynInstChk=1}catch(l){i._dynInstChk=!1}}}return o}function j(e,t,n){var r=t[e];return r===n&&(r=O(t)[e]),typeof r!==w&&P("["+e+"] is not a "+w),r}function L(e,t,n,r,o){if(!I(e)){var i=n._dynInstFuncs=n._dynInstFuncs||{},a=i[t]=i[t]||{};!1!==i._dynInstChk&&(i._dynInstChk=!!o),A(n,(function(t){D(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!C(e,t)||e[t]&&!e[t]._isDynProxy)&&(e[t]=function(e,t){var n=function n(){return(M(this,t,e,n)||j(t,e,n)).apply(this,arguments)};return n._isDynProxy=1,n}(e,t)))}))}}function R(e,t){return C(e,b)?e.name||t||x:((e||{}).constructor||{}).name||t||x}function F(e,t,n,r){C(e,b)||P("theClass is an invalid class definition.");var o=e.prototype;(function(e,t){if(k)for(var n=[],r=O(t);r&&!T(r)&&!N(n,r);){if(r===e)return!0;n.push(r),r=O(r)}return!1})(o,t)||P("["+R(e)+"] is not in class hierarchy of ["+R(t)+"]");var i=null;C(o,_)?i=o._dynClass:(i="_dynCls$"+R(e,"_")+"$"+E,E++,o._dynClass=i);var a=F._dfOpts,u=!!a.useBaseInst;u&&r&&void 0!==r.useBaseInst&&(u=!!r.useBaseInst);var s=function(e){var t={};return A(e,(function(n){!t[n]&&D(e,n,!1)&&(t[n]=e[n])})),t}(t);n(t,function(e,t,n,r){function o(e,t,n){var o=t[n];if(o._isDynProxy&&r){var i=e._dynInstFuncs||{};!1!==i._dynInstChk&&(o=(i[t._dynClass]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};A(n,(function(e){i[e]=o(t,n,e)}));for(var a=O(e),u=[];a&&!T(a)&&!N(u,a);)A(a,(function(e){!i[e]&&D(a,e,!k)&&(i[e]=o(t,a,e))})),u.push(a),a=O(a);return i}(o,t,s,u));var c=!!k&&!!a.setInstFuncs;c&&r&&(c=!!r.setInstFuncs),L(o,i,t,s,!1!==c)}F._dfOpts={setInstFuncs:!0,useBaseInst:!0};var U,B=F;!function(e){e[e.CRITICAL=1]="CRITICAL",e[e.WARNING=2]="WARNING"}(U||(U={}));var z=0,V=1,H=2,G=3,q=4,W=5,Z=6,K=7,$=8,X=9,Y=10,J=11,Q=12,ee=13,te=14,ne=15,re=16,oe=17,ie=18,ae=19,ue=20,se=22,ce=23,le=24,fe=25,de=26,pe=27,he=28,ve=29,ge=30,me=31,ye=32,be=33,we=35,_e=36,xe=37,Se=38,ke=39,Ee=40,Ce=41,Ie=42,Te=43,Oe=45,Ae=46,De=47,Pe=48,Ne=49,Me=50,je=52,Le=54,Re=55,Fe=56,Ue=57,Be=58,ze=60,Ve=61,He=62,Ge=63,qe=64,We=66,Ze=67,Ke=68,$e=69,Xe=70,Ye=71,Je=72,Qe=73,et=74,tt=100,nt=l;a.freeze,a.seal;function rt(e){return u.toString.call(e)}function ot(e){return void 0===e||typeof e===i}function it(e){return null===e||ot(e)}function at(e){return!it(e)}function ut(e,t){return e&&f.call(e,t)}function st(e){return typeof e===o}function ct(e){return typeof e===r}function lt(e,t,n,r){void 0===r&&(r=!1);var o=!1;if(!it(e))try{it(e.addEventListener)?it(e.attachEvent)||(e.attachEvent("on"+t,n),o=!0):(e.addEventListener(t,n,r),o=!0)}catch(i){}return o}function ft(e,t,n,r){if(void 0===r&&(r=!1),!it(e))try{it(e.removeEventListener)?it(e.detachEvent)||e.detachEvent("on"+t,n):e.removeEventListener(t,n,r)}catch(o){}}function dt(e,t){if(e)for(var n in e)f.call(e,n)&&t.call(e,n,e[n])}function pt(e,t){return!(!e||!t)&&-1!==e.indexOf(t)}function ht(e){return"[object Date]"===rt(e)}function vt(e){return"[object Array]"===rt(e)}function gt(e){return"[object Error]"===rt(e)}function mt(e){return"string"==typeof e}function yt(e){return"number"==typeof e}function bt(e){if(ht(e)){var t=function(e){var t=String(e);return 1===t.length&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}function wt(e,t,n){for(var r=e.length,o=0;o<r&&(!(o in e)||-1!==t.call(n||e,e[o],o,e));o++);}function _t(e,t,n){for(var r=e.length,o=n||0,i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;i++)if(i in e&&e[i]===t)return i;return-1}function xt(e,t,n){for(var r=e.length,o=n||e,i=new Array(r),a=0;a<r;a++)a in e&&(i[a]=t.call(o,e[a],e));return i}function St(e,t,n){var r,o=e.length,i=0;if(arguments.length>=3)r=arguments[2];else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++;return r}function kt(e){return"string"!=typeof e?e:e.replace(/^\s+|\s+$/g,"")}var Et=!{toString:null}.propertyIsEnumerable("toString"),Ct=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function It(e){var t=typeof e;t===r||t===o&&null!==e||p("objKeys called on non-object");var n=[];for(var i in e)e&&f.call(e,i)&&n.push(i);if(Et)for(var a=Ct.length,u=0;u<a;u++)e&&f.call(e,Ct[u])&&n.push(Ct[u]);return n}function Tt(e,t,n,r){if(nt)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),nt(e,t,o),!0}catch(i){}return!1}function Ot(){var e=Date;return e.now?e.now():(new e).getTime()}function At(e){return gt(e)?e.name:""}function Dt(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(i=n,e[t]=i)),i}function Pt(e,t,n){var r;return e?!(r=e[t])&&it(r)&&(r=ot(n)?{}:n,e[t]=r):r=ot(n)?{}:n,r}function Nt(e){return!e}function Mt(e){return!!e}function jt(e){throw new Error(e)}function Lt(e){return e&&(e=a(s?s({},e):e)),e}var Rt="window",Ft="JSON",Ut="msie",Bt="trident/",zt=null,Vt=null,Ht=!1;function Gt(e){var t=d();return t&&t[e]?t[e]:e===Rt&&qt()?window:null}function qt(){return Boolean(typeof window===o&&window)}function Wt(){return qt()?window:Gt(Rt)}function Zt(){return Boolean(typeof document===o&&document)}function Kt(){return Zt()?document:Gt("document")}function $t(){return Boolean(typeof navigator===o&&navigator)?navigator:Gt("navigator")}function Xt(){return Boolean(typeof history===o&&history)?history:Gt("history")}function Yt(e){if(e&&Ht){var t=Gt("__mockLocation");if(t)return t}return typeof location===o&&location?location:Gt("location")}function Jt(){return Gt("performance")}function Qt(){return Boolean(typeof JSON===o&&JSON||null!==Gt(Ft))}function en(){return Qt()?JSON||Gt(Ft):null}function tn(){var e=$t();if(e&&(e.userAgent!==Vt||null===zt)){var t=((Vt=e.userAgent)||"").toLowerCase();zt=pt(t,Ut)||pt(t,Bt)}return zt}function nn(e){if(void 0===e&&(e=null),!e){var t=$t()||{};e=t?(t.userAgent||"").toLowerCase():""}var n=(e||"").toLowerCase();if(pt(n,Ut))return parseInt(n.split(Ut)[1]);if(pt(n,Bt)){var r=parseInt(n.split(Bt)[1]);if(r)return r+4}return null}function rn(e){var t=Object.prototype.toString.call(e),n="";return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":Qt()&&(n=en().stringify(e)),t+n}function on(e){return e?'"'+e.replace(/\"/g,"")+'"':""}var an=function(){function e(e,t,n,r){void 0===n&&(n=!1);var o=this;o.messageId=e,o.message=(n?"AI: ":"AI (Internal): ")+e;var i="";Qt()&&(i=en().stringify(r));var a=(t?" message:"+on(t):"")+(r?" props:"+on(i):"");o.message+=a}return e.dataType="MessageData",e}();function un(e,t){return(e||{}).logger||new sn(t)}var sn=function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n=0,r={};B(e,this,(function(e){function o(e,n){var r=t[e];return it(r)?n:r}it(t)&&(t={}),e.consoleLoggingLevel=function(){return o("loggingLevelConsole",0)},e.telemetryLoggingLevel=function(){return o("loggingLevelTelemetry",1)},e.maxInternalMessageLimit=function(){return o("maxMessageLimit",25)},e.enableDebugExceptions=function(){return o("enableDebugExceptions",!1)},e.throwInternal=function(t,n,o,i,a){void 0===a&&(a=!1);var u=new an(n,o,a,i);if(e.enableDebugExceptions())throw u;if(!ot(u.message)){var s=e.consoleLoggingLevel();if(a){var c=+u.messageId;!r[c]&&s>=U.WARNING&&(e.warnToConsole(u.message),r[c]=!0)}else s>=U.WARNING&&e.warnToConsole(u.message);e.logInternalMessage(t,u)}},e.warnToConsole=function(e){var t=typeof console!==i?console:Gt("console");if(t){var n="log";t.warn&&(n="warn"),ct(t[n])&&t[n](e)}},e.resetInternalMessageCount=function(){n=0,r={}},e.logInternalMessage=function(t,o){if(!(n>=e.maxInternalMessageLimit())){var i=!0,a="AITR_"+o.messageId;if(r[a]?i=!1:r[a]=!0,i&&(t<=e.telemetryLoggingLevel()&&(e.queue.push(o),n++),n===e.maxInternalMessageLimit())){var u="Internal events throttle limit per PageView reached for this app.",s=new an(ce,u,!1);e.queue.push(s),e.warnToConsole(u)}}}}))},cn=function(){function e(t,n,r){var o,i=this,a=!1;(i.start=Ot(),i.name=t,i.isAsync=r,i.isChildEvt=function(){return!1},ct(n))&&(a=Tt(i,"payload",(function(){return!o&&ct(n)&&(o=n(),n=null),o})));i.getCtx=function(t){return t?t===e.ParentContextKey||t===e.ChildrenContextKey?i[t]:(i.ctx||{})[t]:null},i.setCtx=function(t,n){if(t)if(t===e.ParentContextKey)i[t]||(i.isChildEvt=function(){return!0}),i[t]=n;else if(t===e.ChildrenContextKey)i[t]=n;else{(i.ctx=i.ctx||{})[t]=n}},i.complete=function(){var t=0,r=i.getCtx(e.ChildrenContextKey);if(vt(r))for(var o=0;o<r.length;o++){var u=r[o];u&&(t+=u.time)}i.time=Ot()-i.start,i.exTime=i.time-t,i.complete=function(){},!a&&ct(n)&&(i.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),ln=function e(t){this.ctx={},B(e,this,(function(e){e.create=function(e,t,n){return new cn(e,t,n)},e.fire=function(e){e&&(e.complete(),t&&t.perfEvent(e))},e.setCtx=function(t,n){t&&((e.ctx=e.ctx||{})[t]=n)},e.getCtx=function(t){return(e.ctx||{})[t]}}))},fn="CoreUtils.doPerf";function dn(e,t,n,r,o){if(e){var i=e;if(ct(i.getPerfMgr)&&(i=i.getPerfMgr()),i){var a=void 0,u=i.getCtx(fn);try{if(a=i.create(t(),r,o)){if(u&&a.setCtx&&(a.setCtx(cn.ParentContextKey,u),u.getCtx&&u.setCtx)){var s=u.getCtx(cn.ChildrenContextKey);s||(s=[],u.setCtx(cn.ChildrenContextKey,s)),s.push(a)}return i.setCtx(fn,a),n(a)}}catch(c){a&&a.setCtx&&a.setCtx("exception",c)}finally{a&&i.fire(a),i.setCtx(fn,u)}}}return n()}var pn=function(e,t){var n=this,r=null,o=ct(e.processTelemetry),i=ct(e.setNextPlugin);n._hasRun=!1,n.getPlugin=function(){return e},n.getNext=function(){return r},n.setNext=function(e){r=e},n.processTelemetry=function(a,u){u||(u=t);var s=e?e.identifier:"TelemetryPluginChain";dn(u?u.core():null,(function(){return s+":processTelemetry"}),(function(){if(e&&o){n._hasRun=!0;try{u.setNext(r),i&&e.setNextPlugin(r),r&&(r._hasRun=!1),e.processTelemetry(a,u)}catch(s){var t=r&&r._hasRun;r&&t||u.diagLog().throwInternal(U.CRITICAL,Qe,"Plugin ["+e.identifier+"] failed during processTelemetry - "+s),r&&!t&&r.processTelemetry(a,u)}}else r&&(n._hasRun=!0,r.processTelemetry(a,u))}),(function(){return{item:a}}),!a.sync)}};function hn(e,t){var n=[];if(e&&e.length>0)for(var r=null,o=0;o<e.length;o++){var i=e[o];if(i&&ct(i.processTelemetry)){var a=new pn(i,t);n.push(a),r&&r.setNext(a),r=a}}return n.length>0?n[0]:null}var vn=function e(t,n,r,o){var i=this,a=null;null!==o&&(t&&ct(t.getPlugin)?a=function(e,t,n){var r=[],o=!n;if(e)for(;e;){var i=e.getPlugin();(o||i===n)&&(o=!0,r.push(i)),e=e.getNext()}return o||r.push(n),hn(r,t)}(t,i,o||t.getPlugin()):o?a=function(e,t,n){var r=e,o=!1;return n&&e&&(r=[],wt(e,(function(e){(o||e===n)&&(o=!0,r.push(e))}))),n&&!o&&(r||(r=[]),r.push(n)),hn(r,t)}(t,i,o):ot(o)&&(a=hn(t,i))),i.core=function(){return r},i.diagLog=function(){return un(r,n)},i.getCfg=function(){return n},i.getExtCfg=function(e,t){var r;if(void 0===t&&(t={}),n){var o=n.extensionConfig;o&&e&&(r=o[e])}return r||t},i.getConfig=function(e,t,r){var o;void 0===r&&(r=!1);var a=i.getExtCfg(e,null);return a&&!it(a[t])?o=a[t]:n&&!it(n[t])&&(o=n[t]),it(o)?r:o},i.hasNext=function(){return null!=a},i.getNext=function(){return a},i.setNext=function(e){a=e},i.processNext=function(e){var t=a;t&&(a=t.getNext(),t.processTelemetry(e,i))},i.createNew=function(t,o){return void 0===t&&(t=null),new e(t||a,n,r,o)}},gn="extensionConfig",mn=function(){function e(){var e=this,t=!1,n=null,r=null;e.core=null,e.diagLog=function(t){return e._getTelCtx(t).diagLog()},e.isInitialized=function(){return t},e.setInitialized=function(e){t=e},e.setNextPlugin=function(e){r=e},e.processNext=function(e,t){t?t.processNext(e):r&&ct(r.processTelemetry)&&r.processTelemetry(e,null)},e._getTelCtx=function(t){void 0===t&&(t=null);var o=t;if(!o){var i=n||new vn(null,{},e.core);o=r&&r.getPlugin?i.createNew(null,r.getPlugin):i.createNew(null,r)}return o},e._baseTelInit=function(o,i,a,u){o&&Dt(o,gn,[],null,it),!u&&i&&(u=i.getProcessTelContext().getNext());var s=r;r&&r.getPlugin&&(s=r.getPlugin()),e.core=i,n=new vn(u,o,i,s),t=!0}}return e.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)},e}();function yn(e,t){for(var n=[],r=null,o=e.getNext();o;){var i=o.getPlugin();i&&(r&&ct(r.setNextPlugin)&&ct(i.processTelemetry)&&r.setNextPlugin(i),ct(i.isInitialized)&&i.isInitialized()||n.push(i),r=i,o=o.getNext())}wt(n,(function(n){n.initialize(e.getCfg(),e.core(),t,e.getNext())}))}function bn(e){return e.sort((function(e,t){var n=0,r=ct(t.processTelemetry);return ct(e.processTelemetry)?n=r?e.priority-t.priority:1:r&&(n=-1),n}))}var wn=500,_n=function(e){function t(){var n,r=e.call(this)||this;function o(e){e&&e.length>0&&(function(e){wt(e,(function(e){e.priority<wn&&jt("Channel has invalid priority"+e.identifier)}))}(e=e.sort((function(e,t){return e.priority-t.priority}))),n.push(e))}return r.identifier="ChannelControllerPlugin",r.priority=500,B(t,r,(function(e,t){e.setNextPlugin=function(e){},e.processTelemetry=function(e,t){n&&wt(n,(function(n){n.length>0&&r._getTelCtx(t).createNew(n).processNext(e)}))},e.getChannelControls=function(){return n},e.initialize=function(r,i,a){e.isInitialized()||(t.initialize(r,i,a),function(e,t){n=[],e&&wt(e,(function(e){return o(e)}));if(t){var r=[];wt(t,(function(e){e.priority>wn&&r.push(e)})),o(r)}}((r||{}).channels,a),wt(n,(function(e){return yn(new vn(e,r,i),a)})))}})),r}var n;return m(t,e),t._staticInit=(Tt(n=t.prototype,"ChannelControls",n.getChannelControls),void Tt(n,"channelQueue",n.getChannelControls)),t}(mn),xn="toGMTString",Sn="toUTCString",kn="expires",En="",Cn=null,In=null,Tn=null,On=Kt(),An={},Dn={};function Pn(e,t){var n=jn._ckMgr||Dn._ckMgr;return n||(n=jn._ckMgr=jn(e,t),Dn._ckMgr=n),n}function Nn(e){return!e||e.isEnabled()}function Mn(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var r=t.cookieCfg;n=r._ckMgr?r._ckMgr:jn(t)}return n||(n=Pn(t,(e||{}).logger)),n}function jn(e,t){var n=function(e){var t=e.cookieCfg=e.cookieCfg||{};if(Dt(t,"domain",e.cookieDomain,at,it),Dt(t,"path",e.cookiePath||"/",null,it),it(t.enabled)){var n=void 0;ot(e.isCookieUseDisabled)||(n=!e.isCookieUseDisabled),ot(e.disableCookiesUsage)||(n=!e.disableCookiesUsage),t.enabled=n}return t}(e||Dn),r=n.path||"/",o=n.domain,i=!1!==n.enabled,a={isEnabled:function(){var e=i&&Ln(t),n=Dn._ckMgr;return e&&n&&a!==n&&(e=Nn(n)),e},setEnabled:function(e){i=!1!==e},set:function(e,t,i,u,s){if(Nn(a)){var c={},l=kt(t||En),f=l.indexOf(";");if(-1!==f&&(l=kt(t.substring(0,f)),c=Rn(t.substring(f+1))),Dt(c,"domain",u||o,Mt,ot),!it(i)){var d=tn();if(ot(c.expires)){var p=Ot()+1e3*i;if(p>0){var h=new Date;h.setTime(p),Dt(c,kn,Fn(h,d?xn:Sn)||Fn(h,d?xn:Sn)||En,Mt)}}d||Dt(c,"max-age",En+i,null,ot)}var v=Yt();v&&"https:"===v.protocol&&(Dt(c,"secure",null,null,ot),null===In&&(In=!Vn(($t()||{}).userAgent)),In&&Dt(c,"SameSite","None",null,ot)),Dt(c,"path",s||r,null,ot),(n.setCookie||zn)(e,Un(l,c))}},get:function(e){var t=En;return Nn(a)&&(t=(n.getCookie||Bn)(e)),t},del:function(e,t){Nn(a)&&a.purge(e,t)},purge:function(e,r){if(Ln(t)){var o=((i={}).path=r||"/",i.expires="Thu, 01 Jan 1970 00:00:01 GMT",i);tn()||(o["max-age"]="0"),(n.delCookie||zn)(e,Un(En,o))}var i}};return a._ckMgr=a,a}function Ln(e){if(null===Cn){Cn=!1;try{Cn=void 0!==(On||{}).cookie}catch(t){e&&e.throwInternal(U.WARNING,Ke,"Cannot access document.cookie - "+At(t),{exception:rn(t)})}}return Cn}function Rn(e){var t={};e&&e.length&&wt(kt(e).split(";"),(function(e){if(e=kt(e||En)){var n=e.indexOf("=");-1===n?t[e]=null:t[kt(e.substring(0,n))]=kt(e.substring(n+1))}}));return t}function Fn(e,t){return ct(e[t])?e[t]():null}function Un(e,t){var n=e||En;return dt(t,(function(e,t){n+="; "+e+(it(t)?En:"="+t)})),n}function Bn(e){var t=En;if(On){var n=On.cookie||En;Tn!==n&&(An=Rn(n),Tn=n),t=kt(An[e]||En)}return t}function zn(e,t){On&&(On.cookie=e+"="+t)}function Vn(e){return!!mt(e)&&(!(!pt(e,"CPU iPhone OS 12")&&!pt(e,"iPad; CPU OS 12"))||(!!(pt(e,"Macintosh; Intel Mac OS X 10_14")&&pt(e,"Version/")&&pt(e,"Safari"))||(!(!pt(e,"Macintosh; Intel Mac OS X 10_14")||!function(e,t){if(e&&t){var n=t.length,r=e.length;if(e===t)return!0;if(r>=n){for(var o=r-1,i=n-1;i>=0;i--){if(e[o]!=t[i])return!1;o--}return!0}}return!1}(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))||(!(!pt(e,"Chrome/5")&&!pt(e,"Chrome/6"))||(!(!pt(e,"UnrealEngine")||pt(e,"Chrome"))||!(!pt(e,"UCBrowser/12")&&!pt(e,"UCBrowser/11")))))))}var Hn=2,Gn=function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;B(e,this,(function(e){e.addNotificationListener=function(t){e.listeners.push(t)},e.removeNotificationListener=function(t){for(var n=_t(e.listeners,t);n>-1;)e.listeners.splice(n,1),n=_t(e.listeners,t)},e.eventsSent=function(t){wt(e.listeners,(function(e){e&&e.eventsSent&&setTimeout((function(){return e.eventsSent(t)}),0)}))},e.eventsDiscarded=function(t,n){wt(e.listeners,(function(e){e&&e.eventsDiscarded&&setTimeout((function(){return e.eventsDiscarded(t,n)}),0)}))},e.eventsSendRequest=function(t,n){wt(e.listeners,(function(e){if(e&&e.eventsSendRequest)if(n)setTimeout((function(){return e.eventsSendRequest(t,n)}),0);else try{e.eventsSendRequest(t,n)}catch(r){}}))},e.perfEvent=function(t){t&&(!n&&t.isChildEvt()||wt(e.listeners,(function(e){if(e&&e.perfEvent)if(t.isAsync)setTimeout((function(){return e.perfEvent(t)}),0);else try{e.perfEvent(t)}catch(n){}})))}}))},qn=function(e){function t(){var n=e.call(this)||this;return B(t,n,(function(e,t){function n(t){var n=e.getNotifyMgr();n&&n.eventsDiscarded([t],Hn)}e.initialize=function(e,n,r,o){t.initialize(e,n,r||new sn(e),o||new Gn(e))},e.track=function(r){dn(e.getPerfMgr(),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),jt("Invalid telemetry item")),function(e){if(it(e.name))throw n(e),Error("telemetry name required")}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)},e.addNotificationListener=function(t){var n=e.getNotifyMgr();n&&n.addNotificationListener(t)},e.removeNotificationListener=function(t){var n=e.getNotifyMgr();n&&n.removeNotificationListener(t)},e.pollInternalLogs=function(t){var n=e.config.diagnosticLogInterval;return n&&n>0||(n=1e4),setInterval((function(){var n=e.logger?e.logger.queue:[];wt(n,(function(n){var r={name:t||"InternalMessageId: "+n.messageId,iKey:e.config.instrumentationKey,time:bt(new Date),baseType:an.dataType,baseData:{message:n.message}};e.track(r)})),n.length=0}),n)}})),n}return m(t,e),t}((function e(){var t,n,r,o,i,a=!1;B(e,this,(function(e){e._extensions=new Array,n=new _n,e.logger=h({throwInternal:function(e,t,n,r,o){void 0===o&&(o=!1)},warnToConsole:function(e){},resetInternalMessageCount:function(){}}),t=[],e.isInitialized=function(){return a},e.initialize=function(t,o,i,u){e.isInitialized()&&jt("Core should not be initialized more than once"),t&&!it(t.instrumentationKey)||jt("Please provide instrumentation key"),r=u,e._notificationManager=u,e.config=t||{},t.extensions=it(t.extensions)?[]:t.extensions,Pt(t,gn).NotificationManager=u,i&&(e.logger=i);var s=[];s.push.apply(s,o.concat(t.extensions)),s=bn(s);var c=[],l=[],f={};wt(s,(function(e){(it(e)||it(e.initialize))&&jt("Extensions must provide callback to initialize");var t=e.priority,r=e.identifier;e&&t&&(it(f[t])?f[t]=r:i.warnToConsole("Two extensions have same priority #"+t+" - "+f[t]+", "+r)),!t||t<n.priority?c.push(e):l.push(e)})),s.push(n),c.push(n),s=bn(s),e._extensions=s,yn(new vn([n],t,e),s),yn(new vn(c,t,e),s),e._extensions=c,0===e.getTransmissionControls().length&&jt("No channels available"),a=!0,e.releaseQueue()},e.getTransmissionControls=function(){return n.getChannelControls()},e.track=function(n){Dt(n,"iKey",e.config.instrumentationKey,null,Nt),Dt(n,"time",bt(new Date),null,Nt),Dt(n,"ver","4.0",null,it),e.isInitialized()?e.getProcessTelContext().processNext(n):t.push(n)},e.getProcessTelContext=function(){var t=e._extensions,r=t;return t&&0!==t.length||(r=[n]),new vn(r,e.config,e)},e.getNotifyMgr=function(){return r||(r=h({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,t){},eventsSendRequest:function(e,t){}}),e._notificationManager=r),r},e.getCookieMgr=function(){return i||(i=jn(e.config,e.logger)),i},e.setCookieMgr=function(e){i=e},e.getPerfMgr=function(){return o||e.config&&e.config.enablePerfMgr&&(o=new ln(e.getNotifyMgr())),o},e.setPerfMgr=function(e){o=e},e.eventCnt=function(){return t.length},e.releaseQueue=function(){t.length>0&&(wt(t,(function(t){e.getProcessTelContext().processNext(t)})),t=[])}}))})),Wn=4294967296,Zn=4294967295,Kn=!1,$n=123456789,Xn=987654321;function Yn(e){e<0&&(e>>>=0),$n=123456789+e&Zn,Xn=987654321-e&Zn,Kn=!0}function Jn(){try{var e=2147483647&Ot();Yn((Math.random()*Wn^e)+e)}catch(t){}}function Qn(e){var t,n=Gt("crypto")||Gt("msCrypto");return n&&n.getRandomValues?t=n.getRandomValues(new Uint32Array(1))[0]&Zn:tn()?(Kn||Jn(),t=er()&Zn):t=Math.floor(Wn*Math.random()|0),e||(t>>>=0),t}function er(e){var t=((Xn=36969*(65535&Xn)+(Xn>>16)&Zn)<<16)+(65535&($n=18e3*(65535&$n)+($n>>16)&Zn))>>>0&Zn|0;return e||(t>>>=0),t}function tr(e,t){var n=!1,r=Wt();r&&(n=lt(r,e,t),n=lt(r.body,e,t)||n);var o=Kt();return o&&(n=or.Attach(o,e,t)||n),n}function nr(e){void 0===e&&(e=22);for(var t=Qn()>>>0,n=0,r="";r.length<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(Qn()<<2&4294967295|3&t)>>>0,n=0);return r}function rr(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=Qn())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&Qn())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var or={Attach:lt,AttachEvent:lt,Detach:ft,DetachEvent:ft};var ir="AppInsightsPropertiesPlugin",ar="AppInsightsChannelPlugin",ur="ApplicationInsightsAnalytics";function sr(e,t,n){var r=t.length,o=cr(e,t);if(o.length!==r){for(var i=0,a=o;void 0!==n[a];)i++,a=o.substring(0,147)+yr(i);o=a}return o}function cr(e,t){var n;return t&&(t=kt(t.toString())).length>150&&(n=t.substring(0,150),e.throwInternal(U.WARNING,Ue,"name is too long.  It has been truncated to 150 characters.",{name:t},!0)),n||t}function lr(e,t,n){var r;return void 0===n&&(n=1024),t&&(n=n||1024,(t=kt(t)).toString().length>n&&(r=t.toString().substring(0,n),e.throwInternal(U.WARNING,Ve,"string value is too long. It has been truncated to "+n+" characters.",{value:t},!0))),r||t}function fr(e,t){return mr(e,t,2048,We)}function dr(e,t){var n;return t&&t.length>32768&&(n=t.substring(0,32768),e.throwInternal(U.WARNING,Fe,"message is too long, it has been truncated to 32768 characters.",{message:t},!0)),n||t}function pr(e,t){var n;if(t){var r=""+t;r.length>32768&&(n=r.substring(0,32768),e.throwInternal(U.WARNING,je,"exception is too long, it has been truncated to 32768 characters.",{exception:t},!0))}return n||t}function hr(e,t){if(t){var n={};dt(t,(function(t,r){if(st(r)&&Qt())try{r=en().stringify(r)}catch(o){e.throwInternal(U.WARNING,Ne,"custom property is not valid",{exception:o},!0)}r=lr(e,r,8192),t=sr(e,t,n),n[t]=r})),t=n}return t}function vr(e,t){if(t){var n={};dt(t,(function(t,r){t=sr(e,t,n),n[t]=r})),t=n}return t}function gr(e,t){return t?mr(e,t,128,$e).toString():t}function mr(e,t,n,r){var o;return t&&(t=kt(t)).length>n&&(o=t.substring(0,n),e.throwInternal(U.WARNING,r,"input is too long, it has been truncated to "+n+" characters.",{data:t},!0)),o||t}function yr(e){var t="00"+e;return t.substr(t.length-3)}var br,wr="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",_r="http.method",xr="https://dc.services.visualstudio.com",Sr="not_specified",kr=function(){function e(){}return e.create=function(e,t,n,r,o,i){if(n=lr(r,n)||Sr,it(e)||it(t)||it(n))throw Error("Input doesn't contain all required fields");var a={name:n,time:bt(new Date),iKey:"",ext:i||{},tags:[],data:{},baseType:t,baseData:e};return it(o)||dt(o,(function(e,t){a.data[e]=t})),a},e}(),Er=function(){this.ver=2,this.properties={},this.measurements={}},Cr=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.aiDataContract={ver:1,name:1,properties:0,measurements:0},i.name=lr(t,n)||Sr,i.properties=hr(t,r),i.measurements=vr(t,o),i}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Event",t.dataType="EventData",t}(Er),Ir=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.aiDataContract={ver:1,message:1,severityLevel:0,properties:0},n=n||Sr,a.message=dr(t,n),a.properties=hr(t,o),a.measurements=vr(t,i),r&&(a.severityLevel=r),a}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Message",t.dataType="MessageData",t}((function(){this.ver=2,this.properties={},this.measurements={}})),Tr=function(){this.ver=2,this.metrics=[],this.properties={},this.measurements={}};!function(e){e[e.Measurement=0]="Measurement",e[e.Aggregation=1]="Aggregation"}(br||(br={}));var Or=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.aiDataContract={name:1,kind:0,value:1,count:0,min:0,max:0,stdDev:0},t}return m(t,e),t}((function(){this.kind=br.Measurement})),Ar=function(e){function t(t,n,r,o,i,a,u,s){var c=e.call(this)||this;c.aiDataContract={ver:1,metrics:1,properties:0};var l=new Or;return l.count=o>0?o:void 0,l.max=isNaN(a)||null===a?void 0:a,l.min=isNaN(i)||null===i?void 0:i,l.name=lr(t,n)||Sr,l.value=r,c.metrics=[l],c.properties=hr(t,u),c.measurements=vr(t,s),c}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Metric",t.dataType="MetricData",t}(Tr),Dr=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return m(t,e),t}(Er);function Pr(e,t){return void 0===t&&(t=!1),null==e?t:"true"===e.toString().toLowerCase()}function Nr(e){(isNaN(e)||e<0)&&(e=0);var t=""+(e=Math.round(e))%1e3,n=""+Math.floor(e/1e3)%60,r=""+Math.floor(e/6e4)%60,o=""+Math.floor(e/36e5)%24,i=Math.floor(e/864e5);return t=1===t.length?"00"+t:2===t.length?"0"+t:t,n=n.length<2?"0"+n:n,r=r.length<2?"0"+r:r,(i>0?i+".":"")+(o=o.length<2?"0"+o:o)+":"+r+":"+n+"."+t}function Mr(){var e=$t();return"sendBeacon"in e&&e.sendBeacon}function jr(e,t){var n=null;return wt(e,(function(e){if(e.identifier===t)return n=e,-1})),n}function Lr(e,t,n,r,o){return!o&&mt(e)&&("Script error."===e||"Script error"===e)}var Rr=function(e){function t(t,n,r,o,i,a,u){var s=e.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,properties:0,measurements:0,id:0},s.id=gr(t,u),s.url=fr(t,r),s.name=lr(t,n)||Sr,isNaN(o)||(s.duration=Nr(o)),s.properties=hr(t,i),s.measurements=vr(t,a),s}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.Pageview",t.dataType="PageviewData",t}(Dr),Fr=function(e){function t(t,n,r,o,i,a,u){var s=e.call(this)||this;return s.aiDataContract={ver:1,name:0,url:0,duration:0,perfTotal:0,networkConnect:0,sentRequest:0,receivedResponse:0,domProcessing:0,properties:0,measurements:0},s.url=fr(t,r),s.name=lr(t,n)||Sr,s.properties=hr(t,i),s.measurements=vr(t,a),u&&(s.domProcessing=u.domProcessing,s.duration=u.duration,s.networkConnect=u.networkConnect,s.perfTotal=u.perfTotal,s.receivedResponse=u.receivedResponse,s.sentRequest=u.sentRequest),s}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.PageviewPerformance",t.dataType="PageviewPerformanceData",t}(function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return m(t,e),t}(Dr)),Ur=function(){},Br=function(){this.hasFullStack=!0,this.parsedStack=[]};function zr(e,t){var n=e;return n&&!mt(n)&&(JSON&&JSON.stringify?(n=JSON.stringify(e),!t||n&&"{}"!==n||(n=ct(e.toString)?e.toString():""+e)):n=e+" - (Missing JSON.stringify)"),n||""}function Vr(e,t){var n=e;return e&&((n=e.message||e.description||"")&&!mt(n)&&(n=zr(n,!0)),e.filename&&(n=n+" @"+(e.filename||"")+":"+(e.lineno||"?")+":"+(e.colno||"?"))),t&&"String"!==t&&"Object"!==t&&"Error"!==t&&-1===(n||"").indexOf(t)&&(n=t+": "+n),n||""}function Hr(e){return e&&e.src&&mt(e.src)&&e.obj&&vt(e.obj)}function Gr(e){var t=e||"";mt(t)||(t=mt(t.stack)?t.stack:""+t);var n=t.split("\n");return{src:t,obj:n}}function qr(e){var t=null;if(e)try{if(e.stack)t=Gr(e.stack);else if(e.error&&e.error.stack)t=Gr(e.error.stack);else if(e.exception&&e.exception.stack)t=Gr(e.exception.stack);else if(Hr(e))t=e;else if(Hr(e.stackDetails))t=e.stackDetails;else if(window.opera&&e.message)t=function(e){for(var t=[],n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r+1]&&(o+="@"+n[r+1],r++),t.push(o)}return{src:e,obj:t}}(e.message);else if(mt(e))t=Gr(e);else{var n=e.message||e.description||"";mt(e.errorSrc)&&(n&&(n+="\n"),n+=" from "+e.errorSrc),n&&(t=Gr(n))}}catch(r){t=Gr(r)}return t||{src:"",obj:null}}function Wr(e){var t="";if(e&&!(t=e.typeName||e.name||""))try{var n=/function (.{1,200})\(/.exec(e.constructor.toString());t=n&&n.length>1?n[1]:""}catch(r){}return t}function Zr(e){if(e)try{if(!mt(e)){var t=Wr(e),n=zr(e,!1);return n&&"{}"!==n||(e.error&&(t=Wr(e=e.error)),n=zr(e,!0)),0!==n.indexOf(t)&&"String"!==t?t+":"+n:n}}catch(r){}return""+(e||"")}var Kr,$r,Xr=function(e){function t(t,n,r,o,i,a){var u,s=e.call(this)||this;return s.aiDataContract={ver:1,exceptions:1,severityLevel:0,properties:0,measurements:0},st(u=n)&&"ver"in u&&"exceptions"in u&&"properties"in u?(s.exceptions=n.exceptions,s.properties=n.properties,s.measurements=n.measurements,n.severityLevel&&(s.severityLevel=n.severityLevel),n.id&&(s.id=n.id),n.problemGroup&&(s.problemGroup=n.problemGroup),s.ver=2,it(n.isManual)||(s.isManual=n.isManual)):(r||(r={}),s.exceptions=[new Yr(t,n,r)],s.properties=hr(t,r),s.measurements=vr(t,o),i&&(s.severityLevel=i),a&&(s.id=a)),s}return m(t,e),t.CreateAutoException=function(e,t,n,r,o,i,a,u){var s=Wr(o||i||e);return{message:Vr(e,s),url:t,lineNumber:n,columnNumber:r,error:Zr(o||i||e),evt:Zr(i||e),typeName:s,stackDetails:qr(a||o||i),errorSrc:u}},t.CreateFromInterface=function(e,n,r,o){var i=n.exceptions&&xt(n.exceptions,(function(t){return Yr.CreateFromInterface(e,t)}));return new t(e,v({},n,{exceptions:i}),r,o)},t.prototype.toInterface=function(){var e=this,t=e.exceptions,n=e.properties,r=e.measurements,o=e.severityLevel,i=(e.ver,e.problemGroup),a=e.id,u=e.isManual;return{ver:"4.0",exceptions:t instanceof Array&&xt(t,(function(e){return e.toInterface()}))||void 0,severityLevel:o,properties:n,measurements:r,problemGroup:i,id:a,isManual:u}},t.CreateSimpleException=function(e,t,n,r,o,i){return{exceptions:[{hasFullStack:!0,message:e,stack:o,typeName:t}]}},t.envelopeType="Microsoft.ApplicationInsights.{0}.Exception",t.dataType="ExceptionData",t.formatError=Zr,t}((function(){this.ver=2,this.exceptions=[],this.properties={},this.measurements={}})),Yr=function(e){function t(t,n,r){var o,i=e.call(this)||this;if(i.aiDataContract={id:0,outerId:0,typeName:1,message:1,hasFullStack:0,stack:0,parsedStack:2},st(o=n)&&"hasFullStack"in o&&"typeName"in o)i.typeName=n.typeName,i.message=n.message,i.stack=n.stack,i.parsedStack=n.parsedStack,i.hasFullStack=n.hasFullStack;else{var a=n,u=a&&a.evt;gt(a)||(a=a.error||u||a),i.typeName=lr(t,Wr(a))||Sr,i.message=dr(t,Vr(n||a,i.typeName))||Sr;var s=n.stackDetails||qr(n);i.parsedStack=function(e){var t,n=e.obj;if(n&&n.length>0){t=[];var r=0,o=0;if(wt(n,(function(e){var n=e.toString();if(Jr.regex.test(n)){var i=new Jr(n,r++);o+=i.sizeInBytes,t.push(i)}})),o>32768)for(var i=0,a=t.length-1,u=0,s=i,c=a;i<a;){if((u+=t[i].sizeInBytes+t[a].sizeInBytes)>32768){var l=c-s+1;t.splice(s,l);break}s=i,c=a,i++,a--}}return t}(s),i.stack=pr(t,function(e){var t="";return e&&(e.obj?wt(e.obj,(function(e){t+=e+"\n"})):t=e.src||""),t}(s)),i.hasFullStack=vt(i.parsedStack)&&i.parsedStack.length>0,r&&(r.typeName=r.typeName||i.typeName)}return i}return m(t,e),t.prototype.toInterface=function(){var e=this.parsedStack instanceof Array&&xt(this.parsedStack,(function(e){return e.toInterface()}));return{id:this.id,outerId:this.outerId,typeName:this.typeName,message:this.message,hasFullStack:this.hasFullStack,stack:this.stack,parsedStack:e||void 0}},t.CreateFromInterface=function(e,n){var r=n.parsedStack instanceof Array&&xt(n.parsedStack,(function(e){return Jr.CreateFromInterface(e)}))||n.parsedStack;return new t(e,v({},n,{parsedStack:r}))},t}(Br),Jr=function(e){function t(n,r){var o=e.call(this)||this;if(o.sizeInBytes=0,o.aiDataContract={level:1,method:1,assembly:0,fileName:0,line:0},"string"==typeof n){var i=n;o.level=r,o.method="<no_method>",o.assembly=kt(i),o.fileName="",o.line=0;var a=i.match(t.regex);a&&a.length>=5&&(o.method=kt(a[2])||o.method,o.fileName=kt(a[4]),o.line=parseInt(a[5])||0)}else o.level=n.level,o.method=n.method,o.assembly=n.assembly,o.fileName=n.fileName,o.line=n.line,o.sizeInBytes=0;return o.sizeInBytes+=o.method.length,o.sizeInBytes+=o.fileName.length,o.sizeInBytes+=o.assembly.length,o.sizeInBytes+=t.baseSize,o.sizeInBytes+=o.level.toString().length,o.sizeInBytes+=o.line.toString().length,o}return m(t,e),t.CreateFromInterface=function(e){return new t(e,null)},t.prototype.toInterface=function(){return{level:this.level,method:this.method,assembly:this.assembly,fileName:this.fileName,line:this.line}},t.regex=/^([\s]+at)?[\s]{0,50}([^\@\()]+?)[\s]{0,50}(\@|\()([^\(\n]+):([0-9]+):([0-9]+)(\)?)$/,t.baseSize=58,t}(Ur),Qr=n(28678);!function(e){e[e.LocalStorage=0]="LocalStorage",e[e.SessionStorage=1]="SessionStorage"}(Kr||(Kr={})),function(e){e[e.AI=0]="AI",e[e.AI_AND_W3C=1]="AI_AND_W3C",e[e.W3C=2]="W3C"}($r||($r={}));var eo=void 0,to=void 0;function no(){return ao()?ro(Kr.LocalStorage):null}function ro(e){try{if(it(d()))return null;var t=new Date,n=Gt(e===Kr.LocalStorage?"localStorage":"sessionStorage");n.setItem(t.toString(),t.toString());var r=n.getItem(t.toString())!==t.toString();if(n.removeItem(t.toString()),!r)return n}catch(o){}return null}function oo(){return lo()?ro(Kr.SessionStorage):null}function io(){eo=!1,to=!1}function ao(){return void 0===eo&&(eo=!!ro(Kr.LocalStorage)),eo}function uo(e,t){var n=no();if(null!==n)try{return n.getItem(t)}catch(r){eo=!1,e.throwInternal(U.WARNING,V,"Browser failed read of local storage. "+At(r),{exception:rn(r)})}return null}function so(e,t,n){var r=no();if(null!==r)try{return r.setItem(t,n),!0}catch(o){eo=!1,e.throwInternal(U.WARNING,G,"Browser failed write to local storage. "+At(o),{exception:rn(o)})}return!1}function co(e,t){var n=no();if(null!==n)try{return n.removeItem(t),!0}catch(r){eo=!1,e.throwInternal(U.WARNING,W,"Browser failed removal of local storage item. "+At(r),{exception:rn(r)})}return!1}function lo(){return void 0===to&&(to=!!ro(Kr.SessionStorage)),to}function fo(e,t){var n=oo();if(null!==n)try{return n.getItem(t)}catch(r){to=!1,e.throwInternal(U.WARNING,H,"Browser failed read of session storage. "+At(r),{exception:rn(r)})}return null}function po(e,t,n){var r=oo();if(null!==r)try{return r.setItem(t,n),!0}catch(o){to=!1,e.throwInternal(U.WARNING,q,"Browser failed write to session storage. "+At(o),{exception:rn(o)})}return!1}function ho(e,t){var n=oo();if(null!==n)try{return n.removeItem(t),!0}catch(r){to=!1,e.throwInternal(U.WARNING,Z,"Browser failed removal of session storage item. "+At(r),{exception:rn(r)})}return!1}function vo(e){var t=null;if(ct(Event))t=new Event(e);else{var n=Kt();n&&n.createEvent&&(t=n.createEvent("Event")).initEvent(e,!0,!0)}return t}var go={requestContextHeader:"Request-Context",requestContextTargetKey:"appId",requestContextAppIdFormat:"appId=cid-v1:",requestIdHeader:"Request-Id",traceParentHeader:"traceparent",traceStateHeader:"tracestate",sdkContextHeader:"Sdk-Context",sdkContextHeaderAppIdRequest:"appId",requestContextHeaderLowerCase:"request-context"},mo=Kt()||{},yo=0,bo=[null,null,null,null,null];function wo(e){var t=yo,n=bo,r=n[t];return mo.createElement?n[t]||(r=n[t]=mo.createElement("a")):r={host:So(e,!0)},r.href=e,++t>=n.length&&(t=0),yo=t,r}function _o(e){var t,n=wo(e);return n&&(t=n.href),t}function xo(e,t){return e?e.toUpperCase()+" "+t:t}function So(e,t){var n=ko(e,t)||"";if(n){var r=n.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);if(null!=r&&r.length>3&&mt(r[2])&&r[2].length>0)return r[2]+(r[3]||"")}return n}function ko(e,t){var n=null;if(e){var r=e.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i);if(null!=r&&r.length>2&&mt(r[2])&&r[2].length>0&&(n=r[2]||"",t&&r.length>2)){var o=(r[1]||"").toLowerCase(),i=r[3]||"";("http"===o&&":80"===i||"https"===o&&":443"===i)&&(i=""),n+=i}}return n}var Eo=["https://dc.services.visualstudio.com/v2/track","https://breeze.aimon.applicationinsights.io/v2/track","https://dc-int.services.visualstudio.com/v2/track"];function Co(e){return-1!==Eo.indexOf(e.toLowerCase())}var Io={correlationIdPrefix:"cid-v1:",canIncludeCorrelationHeader:function(e,t,n){if(!t||e&&e.disableCorrelationHeaders)return!1;if(e&&e.correlationHeaderExcludePatterns)for(var r=0;r<e.correlationHeaderExcludePatterns.length;r++)if(e.correlationHeaderExcludePatterns[r].test(t))return!1;var o=wo(t).host.toLowerCase();if(!o||-1===o.indexOf(":443")&&-1===o.indexOf(":80")||(o=(ko(t,!0)||"").toLowerCase()),(!e||!e.enableCorsCorrelation)&&o&&o!==n)return!1;var i,a=e&&e.correlationHeaderDomains;if(a&&(wt(a,(function(e){var t=new RegExp(e.toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*"));i=i||t.test(o)})),!i))return!1;var u=e&&e.correlationHeaderExcludedDomains;if(!u||0===u.length)return!0;for(r=0;r<u.length;r++){if(new RegExp(u[r].toLowerCase().replace(/\\/g,"\\\\").replace(/\./g,"\\.").replace(/\*/g,".*")).test(o))return!1}return o&&o.length>0},getCorrelationContext:function(e){if(e){var t=Io.getCorrelationContextValue(e,go.requestContextTargetKey);if(t&&t!==Io.correlationIdPrefix)return t}},getCorrelationContextValue:function(e,t){if(e)for(var n=e.split(","),r=0;r<n.length;++r){var o=n[r].split("=");if(2===o.length&&o[0]===t)return o[1]}}};function To(){var e=Jt();if(e&&e.now&&e.timing){var t=e.now()+e.timing.navigationStart;if(t>0)return t}return Ot()}function Oo(e,t){var n=null;return 0===e||0===t||it(e)||it(t)||(n=t-e),n}var Ao=function(e){function t(t,n,r,o,i,a,u,s,c,l,f,d){void 0===c&&(c="Ajax");var p=e.call(this)||this;p.aiDataContract={id:1,ver:1,name:0,resultCode:0,duration:0,success:0,data:0,target:0,type:0,properties:0,measurements:0,kind:0,value:0,count:0,min:0,max:0,stdDev:0,dependencyKind:0,dependencySource:0,commandName:0,dependencyTypeName:0},p.id=n,p.duration=Nr(i),p.success=a,p.resultCode=u+"",p.type=lr(t,c);var h=function(e,t,n,r){var o,i=r,a=r;if(t&&t.length>0){var u=wo(t);if(o=u.host,!i)if(null!=u.pathname){var s=0===u.pathname.length?"/":u.pathname;"/"!==s.charAt(0)&&(s="/"+s),a=u.pathname,i=lr(e,n?n+" "+s:s)}else i=lr(e,t)}else o=r,i=r;return{target:o,name:i,data:a}}(t,r,s,o);return p.data=fr(t,o)||h.data,p.target=lr(t,h.target),l&&(p.target=p.target+" | "+l),p.name=lr(t,h.name),p.properties=hr(t,f),p.measurements=vr(t,d),p}return m(t,e),t.envelopeType="Microsoft.ApplicationInsights.{0}.RemoteDependency",t.dataType="RemoteDependencyData",t}((function(){this.ver=2,this.success=!0,this.properties={},this.measurements={}})),Do=function e(t,n,r,o){B(e,this,(function(e){var i,a=null,u=[],s=!1;function c(){r&&wt(r.getTransmissionControls(),(function(e){wt(e,(function(e){return e.flush(!0)}))}))}r&&(i=r.logger),e.trackPageView=function(e,r){var l=e.name;if(it(l)||"string"!=typeof l){var f=Kt();l=e.name=f&&f.title||""}var d=e.uri;if(it(d)||"string"!=typeof d){var p=Yt();d=e.uri=p&&p.href||""}if(!o.isPerformanceTimingSupported())return t.sendPageViewInternal(e,r),c(),void i.throwInternal(U.WARNING,fe,"trackPageView: navigation timing API used for calculation of page duration is not supported in this browser. This page view will be collected without duration and timing info.");var h,v,g,m=!1,y=o.getPerformanceTiming().navigationStart;y>0&&(h=Oo(y,+new Date),o.shouldCollectDuration(h)||(h=void 0)),it(r)||it(r.duration)||(v=r.duration),!n&&isNaN(v)||(isNaN(v)&&(r||(r={}),r.duration=h),t.sendPageViewInternal(e,r),c(),m=!0),r||(r={}),g=function(){var n=!1;try{if(o.isPerformanceTimingDataReady()){n=!0;var a={name:l,uri:d};o.populatePageViewPerformanceEvent(a),a.isValid||m?(m||(r.duration=a.durationMs,t.sendPageViewInternal(e,r)),s||(t.sendPageViewPerformanceInternal(a,r),s=!0)):(r.duration=h,t.sendPageViewInternal(e,r))}else y>0&&Oo(y,+new Date)>6e4&&(n=!0,m||(r.duration=6e4,t.sendPageViewInternal(e,r)))}catch(u){i.throwInternal(U.CRITICAL,Se,"trackPageView failed on page load calculation: "+At(u),{exception:rn(u)})}return n},u.push(g),a||(a=setInterval((function(){var e=u.slice(0),t=!1;u=[],wt(e,(function(e){e()?t=!0:u.push(e)})),0===u.length&&(clearInterval(a),a=null),t&&c()}),100))}}))},Po=function(){function e(e,t){this.prevPageVisitDataKeyName="prevPageVisitData",this.pageVisitTimeTrackingHandler=t,this._logger=e}return e.prototype.trackPreviousPageVisit=function(e,t){try{var n=this.restartPageVisitTimer(e,t);n&&this.pageVisitTimeTrackingHandler(n.pageName,n.pageUrl,n.pageVisitTime)}catch(r){this._logger.warnToConsole("Auto track page visit time failed, metric will not be collected: "+rn(r))}},e.prototype.restartPageVisitTimer=function(e,t){try{var n=this.stopPageVisitTimer();return this.startPageVisitTimer(e,t),n}catch(r){return this._logger.warnToConsole("Call to restart failed: "+rn(r)),null}},e.prototype.startPageVisitTimer=function(e,t){try{if(lo()){null!=fo(this._logger,this.prevPageVisitDataKeyName)&&jt("Cannot call startPageVisit consecutively without first calling stopPageVisit");var n=new No(e,t),r=en().stringify(n);po(this._logger,this.prevPageVisitDataKeyName,r)}}catch(o){this._logger.warnToConsole("Call to start failed: "+rn(o))}},e.prototype.stopPageVisitTimer=function(){try{if(lo()){var e=Ot(),t=fo(this._logger,this.prevPageVisitDataKeyName);if(t&&Qt()){var n=en().parse(t);return n.pageVisitTime=e-n.pageVisitStartTime,ho(this._logger,this.prevPageVisitDataKeyName),n}return null}return null}catch(r){return this._logger.warnToConsole("Stop page visit timer failed: "+rn(r)),null}},e}(),No=function(e,t){this.pageVisitStartTime=Ot(),this.pageName=e,this.pageUrl=t},Mo=function(){function e(e){this.MAX_DURATION_ALLOWED=36e5,e&&(this._logger=e.logger)}return e.prototype.populatePageViewPerformanceEvent=function(e){e.isValid=!1;var t=this.getPerformanceNavigationTiming(),n=this.getPerformanceTiming(),r=0,o=0,i=0,a=0,u=0;(t||n)&&(t?(r=t.duration,o=0===t.startTime?t.connectEnd:Oo(t.startTime,t.connectEnd),i=Oo(t.requestStart,t.responseStart),a=Oo(t.responseStart,t.responseEnd),u=Oo(t.responseEnd,t.loadEventEnd)):(r=Oo(n.navigationStart,n.loadEventEnd),o=Oo(n.navigationStart,n.connectEnd),i=Oo(n.requestStart,n.responseStart),a=Oo(n.responseStart,n.responseEnd),u=Oo(n.responseEnd,n.loadEventEnd)),0===r?this._logger.throwInternal(U.WARNING,Y,"error calculating page view performance.",{total:r,network:o,request:i,response:a,dom:u}):this.shouldCollectDuration(r,o,i,a,u)?r<Math.floor(o)+Math.floor(i)+Math.floor(a)+Math.floor(u)?this._logger.throwInternal(U.WARNING,$,"client performance math error.",{total:r,network:o,request:i,response:a,dom:u}):(e.durationMs=r,e.perfTotal=e.duration=Nr(r),e.networkConnect=Nr(o),e.sentRequest=Nr(i),e.receivedResponse=Nr(a),e.domProcessing=Nr(u),e.isValid=!0):this._logger.throwInternal(U.WARNING,Oe,"Invalid page load duration value. Browser perf data won't be sent.",{total:r,network:o,request:i,response:a,dom:u}))},e.prototype.getPerformanceTiming=function(){return this.isPerformanceTimingSupported()?Jt().timing:null},e.prototype.getPerformanceNavigationTiming=function(){return this.isPerformanceNavigationTimingSupported()?Jt().getEntriesByType("navigation")[0]:null},e.prototype.isPerformanceNavigationTimingSupported=function(){var e=Jt();return e&&e.getEntriesByType&&e.getEntriesByType("navigation").length>0},e.prototype.isPerformanceTimingSupported=function(){var e=Jt();return e&&e.timing},e.prototype.isPerformanceTimingDataReady=function(){var e=Jt(),t=e?e.timing:0;return t&&t.domainLookupStart>0&&t.navigationStart>0&&t.responseStart>0&&t.requestStart>0&&t.loadEventEnd>0&&t.responseEnd>0&&t.connectEnd>0&&t.domLoading>0},e.prototype.shouldCollectDuration=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=$t()||{},r=["googlebot","adsbot-google","apis-google","mediapartners-google"],o=n.userAgent,i=!1;if(o)for(var a=0;a<r.length;a++)i=i||-1!==o.toLowerCase().indexOf(r[a]);if(i)return!1;for(a=0;a<e.length;a++)if(e[a]<0||e[a]>=this.MAX_DURATION_ALLOWED)return!1;return!0},e}();function jo(e,t){e&&e.dispatchEvent&&t&&e.dispatchEvent(t)}var Lo=function(e){function t(){var n,r,o,i=e.call(this)||this;i.identifier=ur,i.priority=180,i.autoRoutePVDelay=500;var a,u;return B(t,i,(function(e,s){var c=Yt(!0);a=c&&c.href||"",e.getCookieMgr=function(){return Mn(e.core)},e.processTelemetry=function(t,n){dn(e.core,(function(){return e.identifier+":processTelemetry"}),(function(){var r=!1,o=e._telemetryInitializers.length;n=e._getTelCtx(n);for(var i=0;i<o;++i){var a=e._telemetryInitializers[i];if(a)try{if(!1===a.apply(null,[t])){r=!0;break}}catch(u){n.diagLog().throwInternal(U.CRITICAL,qe,"One of telemetry initializers failed, telemetry item will not be sent: "+At(u),{exception:rn(u)},!0)}}r||e.processNext(t,n)}),(function(){return{item:t}}),!t.sync)},e.trackEvent=function(t,n){try{var r=kr.create(t,Cr.dataType,Cr.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(U.WARNING,ke,"trackTrace failed, trace will not be collected: "+At(o),{exception:rn(o)})}},e.startTrackEvent=function(t){try{n.start(t)}catch(r){e.diagLog().throwInternal(U.CRITICAL,ve,"startTrackEvent failed, event will not be collected: "+At(r),{exception:rn(r)})}},e.stopTrackEvent=function(t,r,o){try{n.stop(t,void 0,r)}catch(i){e.diagLog().throwInternal(U.CRITICAL,ge,"stopTrackEvent failed, event will not be collected: "+At(i),{exception:rn(i)})}},e.trackTrace=function(t,n){try{var r=kr.create(t,Ir.dataType,Ir.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(U.WARNING,ke,"trackTrace failed, trace will not be collected: "+At(o),{exception:rn(o)})}},e.trackMetric=function(t,n){try{var r=kr.create(t,Ar.dataType,Ar.envelopeType,e.diagLog(),n);e.core.track(r)}catch(o){e.diagLog().throwInternal(U.CRITICAL,_e,"trackMetric failed, metric will not be collected: "+At(o),{exception:rn(o)})}},e.trackPageView=function(t,n){try{var r=t||{};e._pageViewManager.trackPageView(r,v({},r.properties,r.measurements,n)),e.config.autoTrackPageVisitTime&&e._pageVisitTimeManager.trackPreviousPageVisit(r.name,r.uri)}catch(o){e.diagLog().throwInternal(U.CRITICAL,xe,"trackPageView failed, page view will not be collected: "+At(o),{exception:rn(o)})}},e.sendPageViewInternal=function(t,n,r){var o=Kt();o&&(t.refUri=void 0===t.refUri?o.referrer:t.refUri);var i=kr.create(t,Rr.dataType,Rr.envelopeType,e.diagLog(),n,r);e.core.track(i),0},e.sendPageViewPerformanceInternal=function(t,n,r){var o=kr.create(t,Fr.dataType,Fr.envelopeType,e.diagLog(),n,r);e.core.track(o)},e.trackPageViewPerformance=function(t,n){try{e._pageViewPerformanceManager.populatePageViewPerformanceEvent(t),e.sendPageViewPerformanceInternal(t,n)}catch(r){e.diagLog().throwInternal(U.CRITICAL,xe,"trackPageViewPerformance failed, page view will not be collected: "+At(r),{exception:rn(r)})}},e.startTrackPage=function(t){try{if("string"!=typeof t){var n=Kt();t=n&&n.title||""}r.start(t)}catch(o){e.diagLog().throwInternal(U.CRITICAL,me,"startTrackPage failed, page view may not be collected: "+At(o),{exception:rn(o)})}},e.stopTrackPage=function(t,n,o,i){try{if("string"!=typeof t){var a=Kt();t=a&&a.title||""}if("string"!=typeof n){var u=Yt();n=u&&u.href||""}r.stop(t,n,o,i),e.config.autoTrackPageVisitTime&&e._pageVisitTimeManager.trackPreviousPageVisit(t,n)}catch(s){e.diagLog().throwInternal(U.CRITICAL,ye,"stopTrackPage failed, page view will not be collected: "+At(s),{exception:rn(s)})}},e.sendExceptionInternal=function(t,n,r){var o=t.exception||t.error||new Error(Sr),i=new Xr(e.diagLog(),o,t.properties||n,t.measurements,t.severityLevel,t.id).toInterface(),a=kr.create(i,Xr.dataType,Xr.envelopeType,e.diagLog(),n,r);e.core.track(a)},e.trackException=function(t,n){try{e.sendExceptionInternal(t,n)}catch(r){e.diagLog().throwInternal(U.CRITICAL,we,"trackException failed, exception will not be collected: "+At(r),{exception:rn(r)})}},e._onerror=function(t){var n=t&&t.error,r=t&&t.evt;try{if(!r){var o=Wt();o&&(r=o.event)}var i=t&&t.url||(Kt()||{}).URL,a=t.errorSrc||"window.onerror@"+i+":"+(t.lineNumber||0)+":"+(t.columnNumber||0),u={errorSrc:a,url:i,lineNumber:t.lineNumber||0,columnNumber:t.columnNumber||0,message:t.message};Lr(t.message,t.url,t.lineNumber,t.columnNumber,t.error)?function(t,n){var r=kr.create(t,Xr.dataType,Xr.envelopeType,e.diagLog(),n);e.core.track(r)}(Xr.CreateAutoException("Script error: The browser's same-origin policy prevents us from getting the details of this exception. Consider using the 'crossorigin' attribute.",i,t.lineNumber||0,t.columnNumber||0,n,r,null,a),u):(t.errorSrc||(t.errorSrc=a),e.trackException({exception:t,severityLevel:Qr._.Error},u))}catch(c){var s=n?n.name+", "+n.message:"null";e.diagLog().throwInternal(U.CRITICAL,J,"_onError threw exception while logging error, error will not be collected: "+At(c),{exception:rn(c),errorString:s})}},e.addTelemetryInitializer=function(t){e._telemetryInitializers.push(t)},e.initialize=function(c,l,f,d){if(!e.isInitialized()){if(it(l))throw Error("Error initializing");s.initialize(c,l,f,d),e.setInitialized(!1);var p=e._getTelCtx(),h=e.identifier;e.config=p.getExtCfg(h);var v=t.getDefaultConfig(c);void 0!==v&&dt(v,(function(t,n){e.config[t]=p.getConfig(h,t,n),void 0===e.config[t]&&(e.config[t]=n)})),e.config.isStorageUseDisabled&&io();var g={instrumentationKey:function(){return c.instrumentationKey},accountId:function(){return e.config.accountId||c.accountId},sessionRenewalMs:function(){return e.config.sessionRenewalMs||c.sessionRenewalMs},sessionExpirationMs:function(){return e.config.sessionExpirationMs||c.sessionExpirationMs},sampleRate:function(){return e.config.samplingPercentage||c.samplingPercentage},sdkExtension:function(){return e.config.sdkExtension||c.sdkExtension},isBrowserLinkTrackingEnabled:function(){return e.config.isBrowserLinkTrackingEnabled||c.isBrowserLinkTrackingEnabled},appId:function(){return e.config.appId||c.appId}};e._pageViewPerformanceManager=new Mo(e.core),e._pageViewManager=new Do(i,e.config.overridePageViewDuration,e.core,e._pageViewPerformanceManager),e._pageVisitTimeManager=new Po(e.diagLog(),(function(t,n,r){return function(t,n,r){var o={PageName:t,PageUrl:n};e.trackMetric({name:"PageVisitTime",average:r,max:r,min:r,sampleCount:1},o)}(t,n,r)})),e._telemetryInitializers=e._telemetryInitializers||[],function(t){if(!t.isBrowserLinkTrackingEnabled()){var n=["/browserLinkSignalR/","/__browserLink/"];r=function(e){if(e.baseType===Ao.dataType){var t=e.baseData;if(t)for(var r=0;r<n.length;r++)if(t.target&&t.target.indexOf(n[r])>=0)return!1}return!0},e._telemetryInitializers.push(r)}var r}(g),(n=new Ro(e.diagLog(),"trackEvent")).action=function(t,n,r,o){o||(o={}),o.duration=r.toString(),e.trackEvent({name:t,properties:o})},(r=new Ro(e.diagLog(),"trackPageView")).action=function(t,n,r,o,i){it(o)&&(o={}),o.duration=r.toString();var a={name:t,uri:n,properties:o,measurements:i};e.sendPageViewInternal(a,o)};var m,y=Wt(),b=Xt(),w=Yt(!0),_=i;if(!1===e.config.disableExceptionTracking&&!e.config.autoExceptionInstrumented&&y){var x=y.onerror;y.onerror=function(e,t,n,r,o){var i=y.event,a=x&&x(e,t,n,r,o);return!0!==a&&_._onerror(Xr.CreateAutoException(e,t,n,r,o,i)),a},e.config.autoExceptionInstrumented=!0}if(!1===e.config.disableExceptionTracking&&!0===e.config.enableUnhandledPromiseRejectionTracking&&!e.config.autoUnhandledPromiseInstrumented&&y){var S=y.onunhandledrejection;y.onunhandledrejection=function(e){var t=y.event,n=S&&S.call(y,e);return!0!==n&&_._onerror(Xr.CreateAutoException(e.reason.toString(),w?w.href:"",0,0,e,t)),n},e.config.autoUnhandledPromiseInstrumented=!0}if(!0===e.config.enableAutoRouteTracking&&b&&ct(b.pushState)&&ct(b.replaceState)&&y&&"undefined"!=typeof Event){var k=i;wt(f,(function(e){e.identifier===ir&&(o=e)})),b.pushState=(m=b.pushState,function(){var e=m.apply(this,arguments);return jo(y,vo(k.config.namePrefix+"pushState")),jo(y,vo(k.config.namePrefix+"locationchange")),e}),b.replaceState=function(e){return function(){var t=e.apply(this,arguments);return jo(y,vo(k.config.namePrefix+"replaceState")),jo(y,vo(k.config.namePrefix+"locationchange")),t}}(b.replaceState),y.addEventListener&&(y.addEventListener(k.config.namePrefix+"popstate",(function(){jo(y,vo(k.config.namePrefix+"locationchange"))})),y.addEventListener(k.config.namePrefix+"locationchange",(function(){if(o&&o.context&&o.context.telemetryTrace){o.context.telemetryTrace.traceID=rr();var e="_unknown_";w&&w.pathname&&(e=w.pathname+(w.hash||"")),o.context.telemetryTrace.name=e}u?(a=u,u=w&&w.href||""):u=w&&w.href||"",setTimeout(function(e){k.trackPageView({refUri:e,properties:{duration:0}})}.bind(i,a),k.autoRoutePVDelay)})))}e.setInitialized(!0)}}})),i}return m(t,e),t.getDefaultConfig=function(e){return e||(e={}),e.sessionRenewalMs=18e5,e.sessionExpirationMs=864e5,e.disableExceptionTracking=Pr(e.disableExceptionTracking),e.autoTrackPageVisitTime=Pr(e.autoTrackPageVisitTime),e.overridePageViewDuration=Pr(e.overridePageViewDuration),e.enableUnhandledPromiseRejectionTracking=Pr(e.enableUnhandledPromiseRejectionTracking),(isNaN(e.samplingPercentage)||e.samplingPercentage<=0||e.samplingPercentage>=100)&&(e.samplingPercentage=100),e.isStorageUseDisabled=Pr(e.isStorageUseDisabled),e.isBrowserLinkTrackingEnabled=Pr(e.isBrowserLinkTrackingEnabled),e.enableAutoRouteTracking=Pr(e.enableAutoRouteTracking),e.namePrefix=e.namePrefix||"",e.enableDebug=Pr(e.enableDebug),e.disableFlushOnBeforeUnload=Pr(e.disableFlushOnBeforeUnload),e.disableFlushOnUnload=Pr(e.disableFlushOnUnload,e.disableFlushOnBeforeUnload),e},t.Version="2.6.4",t}(mn),Ro=function(e,t){var n=this,r={};n.start=function(t){void 0!==r[t]&&e.throwInternal(U.WARNING,He,"start was called more than once for this event without calling stop.",{name:t,key:t},!0),r[t]=+new Date},n.stop=function(t,o,i,a){var u=r[t];if(isNaN(u))e.throwInternal(U.WARNING,Ge,"stop was called without a corresponding start.",{name:t,key:t},!0);else{var s=Oo(u,+new Date);n.action(t,o,s,i,a)}delete r[t],r[t]=void 0}},Fo=function e(t){var n=[];B(e,this,(function(e){e.enqueue=function(e){n.push(e)},e.count=function(){return n.length},e.clear=function(){n.length=0},e.getItems=function(){return n.slice(0)},e.batchPayloads=function(e){return e&&e.length>0?t.emitLineDelimitedJson()?e.join("\n"):"["+e.join(",")+"]":null},e.markAsSent=function(t){e.clear()},e.clearSent=function(e){}}))},Uo=function(){function e(t,n){var r,o=!1;B(e,this,(function(i){var a=c(e.BUFFER_KEY),u=c(e.SENT_BUFFER_KEY);function s(e,t){var n=[];return wt(t,(function(t){ct(t)||-1!==_t(e,t)||n.push(t)})),n}function c(e){var r=e;try{r=n.namePrefix&&n.namePrefix()?n.namePrefix()+"_"+r:r;var o=fo(t,r);if(o){var i=en().parse(o);if(mt(i)&&(i=en().parse(i)),i&&vt(i))return i}}catch(a){t.throwInternal(U.CRITICAL,Ie," storage key: "+r+", "+At(a),{exception:rn(a)})}return[]}function l(e,r){var o=e;try{o=n.namePrefix&&n.namePrefix()?n.namePrefix()+"_"+o:o;var i=JSON.stringify(r);po(t,o,i)}catch(a){po(t,o,JSON.stringify([])),t.throwInternal(U.WARNING,Ce," storage key: "+o+", "+At(a)+". Buffer cleared",{exception:rn(a)})}}(r=a.concat(u)).length>e.MAX_BUFFER_SIZE&&(r.length=e.MAX_BUFFER_SIZE),l(e.SENT_BUFFER_KEY,[]),l(e.BUFFER_KEY,r),i.enqueue=function(n){r.length>=e.MAX_BUFFER_SIZE?o||(t.throwInternal(U.WARNING,Ze,"Maximum buffer size reached: "+r.length,!0),o=!0):(r.push(n),l(e.BUFFER_KEY,r))},i.count=function(){return r.length},i.clear=function(){r=[],l(e.BUFFER_KEY,[]),l(e.SENT_BUFFER_KEY,[]),o=!1},i.getItems=function(){return r.slice(0)},i.batchPayloads=function(e){return e&&e.length>0?n.emitLineDelimitedJson()?e.join("\n"):"["+e.join(",")+"]":null},i.markAsSent=function(n){r=s(n,r),l(e.BUFFER_KEY,r);var o=c(e.SENT_BUFFER_KEY);o instanceof Array&&n instanceof Array&&((o=o.concat(n)).length>e.MAX_BUFFER_SIZE&&(t.throwInternal(U.CRITICAL,Ze,"Sent buffer reached its maximum size: "+o.length,!0),o.length=e.MAX_BUFFER_SIZE),l(e.SENT_BUFFER_KEY,o))},i.clearSent=function(t){var n=c(e.SENT_BUFFER_KEY);n=s(t,n),l(e.SENT_BUFFER_KEY,n)}}))}return e.BUFFER_KEY="AI_buffer",e.SENT_BUFFER_KEY="AI_sentBuffer",e.MAX_BUFFER_SIZE=2e3,e}(),Bo=function(e){function t(t,n,r){var o=e.call(this)||this;return o.name=lr(t,r)||Sr,o.data=n,o.time=bt(new Date),o.aiDataContract={time:1,iKey:1,name:1,sampleRate:function(){return 100===o.sampleRate?4:1},tags:1,data:1},o}return m(t,e),t}((function(){this.ver=1,this.sampleRate=100,this.tags={}}));function zo(e){var t="ai."+e+".";return function(e){return t+e}}var Vo,Ho=zo("application"),Go=zo("device"),qo=zo("location"),Wo=zo("operation"),Zo=zo("session"),Ko=zo("user"),$o=zo("cloud"),Xo=zo("internal"),Yo=function(e){function t(){return e.call(this)||this}return m(t,e),t}((Vo={applicationVersion:Ho("ver"),applicationBuild:Ho("build"),applicationTypeId:Ho("typeId"),applicationId:Ho("applicationId"),applicationLayer:Ho("layer"),deviceId:Go("id"),deviceIp:Go("ip"),deviceLanguage:Go("language"),deviceLocale:Go("locale"),deviceModel:Go("model"),deviceFriendlyName:Go("friendlyName"),deviceNetwork:Go("network"),deviceNetworkName:Go("networkName"),deviceOEMName:Go("oemName"),deviceOS:Go("os"),deviceOSVersion:Go("osVersion"),deviceRoleInstance:Go("roleInstance"),deviceRoleName:Go("roleName"),deviceScreenResolution:Go("screenResolution"),deviceType:Go("type"),deviceMachineName:Go("machineName"),deviceVMName:Go("vmName"),deviceBrowser:Go("browser"),deviceBrowserVersion:Go("browserVersion"),locationIp:qo("ip"),locationCountry:qo("country"),locationProvince:qo("province"),locationCity:qo("city"),operationId:Wo("id"),operationName:Wo("name"),operationParentId:Wo("parentId"),operationRootId:Wo("rootId"),operationSyntheticSource:Wo("syntheticSource"),operationCorrelationVector:Wo("correlationVector"),sessionId:Zo("id"),sessionIsFirst:Zo("isFirst"),sessionIsNew:Zo("isNew"),userAccountAcquisitionDate:Ko("accountAcquisitionDate"),userAccountId:Ko("accountId"),userAgent:Ko("userAgent"),userId:Ko("id"),userStoreRegion:Ko("storeRegion"),userAuthUserId:Ko("authUserId"),userAnonymousUserAcquisitionDate:Ko("anonUserAcquisitionDate"),userAuthenticatedUserAcquisitionDate:Ko("authUserAcquisitionDate"),cloudName:$o("name"),cloudRole:$o("role"),cloudRoleVer:$o("roleVer"),cloudRoleInstance:$o("roleInstance"),cloudEnvironment:$o("environment"),cloudLocation:$o("location"),cloudDeploymentUnit:$o("deploymentUnit"),internalNodeName:Xo("nodeName"),internalSdkVersion:Xo("sdkVersion"),internalAgentVersion:Xo("agentVersion"),internalSnippet:Xo("snippet"),internalSdkSrc:Xo("sdkSrc")},function(){var e=this;Vo&&dt(Vo,(function(t,n){e[t]=n}))})),Jo={UserExt:"user",DeviceExt:"device",TraceExt:"trace",WebExt:"web",AppExt:"app",OSExt:"os",SessionExt:"ses",SDKExt:"sdk"},Qo=new Yo,ei=function(){},ti=function(e){function t(){return e.call(this)||this}return m(t,e),t}(ei),ni=function(e){function t(t,n){var r=e.call(this)||this;return r.aiDataContract={baseType:1,baseData:1},r.baseType=t,r.baseData=n,r}return m(t,e),t}(ti),ri="true";function oi(e,t,n){return Dt(e,t,n,Mt)}var ii=function(){function e(){}return e.extractPropsAndMeasurements=function(e,t,n){it(e)||dt(e,(function(e,r){yt(r)?n[e]=r:mt(r)?t[e]=r:Qt()&&(t[e]=en().stringify(r))}))},e.createEnvelope=function(t,n,r,o){var i=new Bo(t,o,n);oi(i,"sampleRate",r.sampleRate),(r.baseData||{}).startTime&&(i.time=bt(r.baseData.startTime)),i.iKey=r.iKey;var a=r.iKey.replace(/-/g,"");return i.name=i.name.replace("{0}",a),e.extractPartAExtensions(r,i),r.tags=r.tags||[],Lt(i)},e.extractPartAExtensions=function(t,n){var r=n.tags=n.tags||{},o=t.ext=t.ext||{},i=t.tags=t.tags||[],a=o.user;a&&(oi(r,Qo.userAuthUserId,a.authId),oi(r,Qo.userId,a.id||a.localId));var u=o.app;u&&oi(r,Qo.sessionId,u.sesId);var s=o.device;s&&(oi(r,Qo.deviceId,s.id||s.localId),oi(r,Qo.deviceType,s.deviceClass),oi(r,Qo.deviceIp,s.ip),oi(r,Qo.deviceModel,s.model),oi(r,Qo.deviceType,s.deviceType));var c=t.ext.web;if(c){oi(r,Qo.deviceLanguage,c.browserLang),oi(r,Qo.deviceBrowserVersion,c.browserVer),oi(r,Qo.deviceBrowser,c.browser);var l=n.data=n.data||{},f=l.baseData=l.baseData||{},d=f.properties=f.properties||{};oi(d,"domain",c.domain),oi(d,"isManual",c.isManual?ri:null),oi(d,"screenRes",c.screenRes),oi(d,"userConsent",c.userConsent?ri:null)}var p=o.os;p&&oi(r,Qo.deviceOS,p.name);var h=o.trace;h&&(oi(r,Qo.operationParentId,h.parentID),oi(r,Qo.operationName,h.name),oi(r,Qo.operationId,h.traceID));for(var g={},m=i.length-1;m>=0;m--){dt(i[m],(function(e,t){g[e]=t})),i.splice(m,1)}dt(i,(function(e,t){g[e]=t}));var y=v({},r,g);y[Qo.internalSdkVersion]||(y[Qo.internalSdkVersion]="javascript:"+e.Version),n.tags=Lt(y)},e.prototype.Init=function(e,t){this._logger=e,it(t.baseData)&&this._logger.throwInternal(U.CRITICAL,Ae,"telemetryItem.baseData cannot be null.")},e.Version="2.6.4",e}(),ai=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r=n.baseData.measurements||{},o=n.baseData.properties||{};ii.extractPropsAndMeasurements(n.data,o,r);var i=n.baseData;if(it(i))return t.warnToConsole("Invalid input for dependency data"),null;var a=i.properties&&i.properties[_r]?i.properties[_r]:"GET",u=new Ao(t,i.id,i.target,i.name,i.duration,i.success,i.responseCode,a,i.type,i.correlationContext,o,r),s=new ni(Ao.dataType,u);return ii.createEnvelope(t,Ao.envelopeType,n,s)},t.DependencyEnvelopeCreator=new t,t}(ii),ui=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r={},o={};n.baseType!==Cr.dataType&&(r.baseTypeSource=n.baseType),n.baseType===Cr.dataType?(r=n.baseData.properties||{},o=n.baseData.measurements||{}):n.baseData&&ii.extractPropsAndMeasurements(n.baseData,r,o),ii.extractPropsAndMeasurements(n.data,r,o);var i=n.baseData.name,a=new Cr(t,i,r,o),u=new ni(Cr.dataType,a);return ii.createEnvelope(t,Cr.envelopeType,n,u)},t.EventEnvelopeCreator=new t,t}(ii),si=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r=n.baseData.measurements||{},o=n.baseData.properties||{};ii.extractPropsAndMeasurements(n.data,o,r);var i=n.baseData,a=Xr.CreateFromInterface(t,i,o,r),u=new ni(Xr.dataType,a);return ii.createEnvelope(t,Xr.envelopeType,n,u)},t.ExceptionEnvelopeCreator=new t,t}(ii),ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r=n.baseData,o=r.properties||{},i=r.measurements||{};ii.extractPropsAndMeasurements(n.data,o,i);var a=new Ar(t,r.name,r.average,r.sampleCount,r.min,r.max,o,i),u=new ni(Ar.dataType,a);return ii.createEnvelope(t,Ar.envelopeType,n,u)},t.MetricEnvelopeCreator=new t,t}(ii),li=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r,o=n.baseData;it(o)||it(o.properties)||it(o.properties.duration)?it(n.data)||it(n.data.duration)||(r=n.data.duration,delete n.data.duration):(r=o.properties.duration,delete o.properties.duration);var i,a=n.baseData;((n.ext||{}).trace||{}).traceID&&(i=n.ext.trace.traceID);var u=a.id||i,s=a.name,c=a.uri,l=a.properties||{},f=a.measurements||{};(it(a.refUri)||(l.refUri=a.refUri),it(a.pageType)||(l.pageType=a.pageType),it(a.isLoggedIn)||(l.isLoggedIn=a.isLoggedIn.toString()),it(a.properties))||dt(a.properties,(function(e,t){l[e]=t}));ii.extractPropsAndMeasurements(n.data,l,f);var d=new Rr(t,s,c,r,l,f,u),p=new ni(Rr.dataType,d);return ii.createEnvelope(t,Rr.envelopeType,n,p)},t.PageViewEnvelopeCreator=new t,t}(ii),fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r=n.baseData,o=r.name,i=r.uri||r.url,a=r.properties||{},u=r.measurements||{};ii.extractPropsAndMeasurements(n.data,a,u);var s=new Fr(t,o,i,void 0,a,u,r),c=new ni(Fr.dataType,s);return ii.createEnvelope(t,Fr.envelopeType,n,c)},t.PageViewPerformanceEnvelopeCreator=new t,t}(ii),di=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.Create=function(t,n){e.prototype.Init.call(this,t,n);var r=n.baseData.message,o=n.baseData.severityLevel,i=n.baseData.properties||{},a=n.baseData.measurements||{};ii.extractPropsAndMeasurements(n.data,i,a);var u=new Ir(t,r,o,i,a),s=new ni(Ir.dataType,u);return ii.createEnvelope(t,Ir.envelopeType,n,s)},t.TraceEnvelopeCreator=new t,t}(ii),pi=function e(t){B(e,this,(function(e){function n(e,i){var a={};if(!e)return t.throwInternal(U.CRITICAL,Pe,"cannot serialize object because it is null or undefined",{name:i},!0),a;if(e.__aiCircularRefCheck)return t.throwInternal(U.WARNING,Me,"Circular reference detected while serializing object",{name:i},!0),a;if(!e.aiDataContract){if("measurements"===i)a=o(e,"number",i);else if("properties"===i)a=o(e,"string",i);else if("tags"===i)a=o(e,"string",i);else if(vt(e))a=r(e,i);else{t.throwInternal(U.WARNING,Ne,"Attempting to serialize an object which does not implement ISerializable",{name:i},!0);try{en().stringify(e),a=e}catch(u){t.throwInternal(U.CRITICAL,Pe,u&&ct(u.toString)?u.toString():"Error serializing object",null,!0)}}return a}return e.__aiCircularRefCheck=!0,dt(e.aiDataContract,(function(o,u){var s=ct(u)?1&u():1&u,c=ct(u)?4&u():4&u,l=2&u,f=void 0!==e[o],d=st(e[o])&&null!==e[o];if(!s||f||l){if(!c){var p=void 0;void 0!==(p=d?l?r(e[o],o):n(e[o],o):e[o])&&(a[o]=p)}}else t.throwInternal(U.CRITICAL,le,"Missing required field specification. The field is required but not present on source",{field:o,name:i})})),delete e.__aiCircularRefCheck,a}function r(e,r){var o;if(e)if(vt(e)){o=[];for(var i=0;i<e.length;i++){var a=n(e[i],r+"["+i+"]");o.push(a)}}else t.throwInternal(U.CRITICAL,Le,"This field was specified as an array in the contract but the item is not an array.\r\n",{name:r},!0);return o}function o(e,n,r){var o;return e&&(o={},dt(e,(function(e,i){if("string"===n)void 0===i?o[e]="undefined":null===i?o[e]="null":i.toString?o[e]=i.toString():o[e]="invalid field: toString() is not defined.";else if("number"===n)if(void 0===i)o[e]="undefined";else if(null===i)o[e]="null";else{var a=parseFloat(i);isNaN(a)?o[e]="NaN":o[e]=a}else o[e]="invalid field: "+r+" is of unknown type.",t.throwInternal(U.CRITICAL,o[e],null,!0)}))),o}e.serialize=function(e){var r=n(e,"root");try{return en().stringify(r)}catch(o){t.throwInternal(U.CRITICAL,Pe,o&&ct(o.toString)?o.toString():"Error serializing object",null,!0)}}}))},hi=function(){function e(){var t=Wt(),n=Kt(),r=!1,o=!0;B(e,this,(function(e){try{if(t&&or.Attach(t,"online",u)&&(or.Attach(t,"offline",s),r=!0),n){var i=n.body||n;ot(i.ononline)||(i.ononline=u,i.onoffline=s,r=!0)}if(r){var a=$t();a&&!it(a.onLine)&&(o=a.onLine)}}catch(c){r=!1}function u(){o=!0}function s(){o=!1}e.isListening=r,e.isOnline=function(){var e=!0,t=$t();return r?e=o:t&&!it(t.onLine)&&(e=t.onLine),e},e.isOffline=function(){return!e.isOnline()}}))}return e.Offline=new e,e}().Offline,vi=function(){function e(){}return e.prototype.getHashCodeScore=function(t){return 100*(this.getHashCode(t)/e.INT_MAX_VALUE)},e.prototype.getHashCode=function(t){if(""===t)return 0;for(;t.length<e.MIN_INPUT_LENGTH;)t=t.concat(t);for(var n=5381,r=0;r<t.length;++r)n=(n<<5)+n+t.charCodeAt(r),n&=n;return Math.abs(n)},e.INT_MAX_VALUE=2147483647,e.MIN_INPUT_LENGTH=8,e}(),gi=function(){function e(){this.hashCodeGeneragor=new vi,this.keys=new Yo}return e.prototype.getSamplingScore=function(e){return e.tags&&e.tags[this.keys.userId]?this.hashCodeGeneragor.getHashCodeScore(e.tags[this.keys.userId]):e.ext&&e.ext.user&&e.ext.user.id?this.hashCodeGeneragor.getHashCodeScore(e.ext.user.id):e.tags&&e.tags[this.keys.operationId]?this.hashCodeGeneragor.getHashCodeScore(e.tags[this.keys.operationId]):e.ext&&e.ext.telemetryTrace&&e.ext.telemetryTrace.traceID?this.hashCodeGeneragor.getHashCodeScore(e.ext.telemetryTrace.traceID):100*Math.random()},e}(),mi=function(){function e(e,t){this.INT_MAX_VALUE=2147483647,this._logger=t||un(null),(e>100||e<0)&&(this._logger.throwInternal(U.WARNING,Be,"Sampling rate is out of range (0..100). Sampling will be disabled, you may be sending too much data which may affect your AI service level.",{samplingRate:e},!0),e=100),this.sampleRate=e,this.samplingScoreGenerator=new gi}return e.prototype.isSampledIn=function(e){var t=this.sampleRate;return null==t||t>=100||(e.baseType===Ar.dataType||this.samplingScoreGenerator.getSamplingScore(e)<t)},e}();function yi(e){try{return e.responseText}catch(t){}return null}var bi=function(e){function t(){var n,r,o,a,u,s=e.call(this)||this;s.priority=1001,s.identifier=ar,s._XMLHttpRequestSupported=!1;var c={};return B(t,s,(function(e,l){function f(){jt("Method not implemented.")}function d(t,r,o,i,a,u){var s=null;if(e._appId||(s=m(u))&&s.appId&&(e._appId=s.appId),(t<200||t>=300)&&0!==t){if((301===t||307===t||308===t)&&!p(o))return void e._onError(r,a);!e._senderConfig.isRetryDisabled()&&w(t)?(y(r),e.diagLog().throwInternal(U.WARNING,Ee,". Response code "+t+". Will retry to send "+r.length+" items.")):e._onError(r,a)}else if(hi.isOffline()){if(!e._senderConfig.isRetryDisabled()){y(r,10),e.diagLog().throwInternal(U.WARNING,Ee,". Offline - Response Code: "+t+". Offline status: "+hi.isOffline()+". Will retry to send "+r.length+" items.")}}else p(o),206===t?(s||(s=m(u)),s&&!e._senderConfig.isRetryDisabled()?e._onPartialSuccess(r,s):e._onError(r,a)):(n=0,e._onSuccess(r,i))}function p(t){return!(u>=10)&&(!it(t)&&""!==t&&t!==e._senderConfig.endpointUrl()&&(e._senderConfig.endpointUrl=function(){return t},++u,!0))}function h(t,n){var r=e._senderConfig.endpointUrl(),o=e._buffer.batchPayloads(t),i=new Blob([o],{type:"text/plain;charset=UTF-8"});$t().sendBeacon(r,i)?(e._buffer.markAsSent(t),e._onSuccess(t,t.length)):(v(t,!0),e.diagLog().throwInternal(U.WARNING,Ee,". Failed to send telemetry with Beacon API, retried with xhrSender."))}function v(t,n){var r=new XMLHttpRequest,o=e._senderConfig.endpointUrl();try{r[wr]=!0}catch(a){}r.open("POST",o,n),r.setRequestHeader("Content-type","application/json"),Co(o)&&r.setRequestHeader(go.sdkContextHeader,go.sdkContextHeaderAppIdRequest),wt(It(c),(function(e){r.setRequestHeader(e,c[e])})),r.onreadystatechange=function(){return e._xhrReadyStateChange(r,t,t.length)},r.onerror=function(n){return e._onError(t,_(r),n)};var i=e._buffer.batchPayloads(t);r.send(i),e._buffer.markAsSent(t)}function g(t,n){var r=e._senderConfig.endpointUrl(),o=e._buffer.batchPayloads(t),i=new Blob([o],{type:"text/plain;charset=UTF-8"}),a=new Headers;Co(r)&&a.append(go.sdkContextHeader,go.sdkContextHeaderAppIdRequest),wt(It(c),(function(e){a.append(e,c[e])}));var u=new Request(r,{method:"POST",headers:a,body:i});fetch(u).then((function(n){if(!n.ok)throw Error(n.statusText);n.text().then((function(e){d(n.status,t,n.url,t.length,n.statusText,e)})),e._buffer.markAsSent(t)})).catch((function(n){e._onError(t,n.message)}))}function m(t){try{if(t&&""!==t){var n=en().parse(t);if(n&&n.itemsReceived&&n.itemsReceived>=n.itemsAccepted&&n.itemsReceived-n.itemsAccepted===n.errors.length)return n}}catch(r){e.diagLog().throwInternal(U.CRITICAL,Te,"Cannot parse the response. "+At(r),{response:t})}return null}function y(t,o){if(void 0===o&&(o=1),t&&0!==t.length){e._buffer.clearSent(t),n++;for(var i=0,a=t;i<a.length;i++){var u=a[i];e._buffer.enqueue(u)}!function(e){var t,o=10;if(n<=1)t=o;else{var i=(Math.pow(2,n)-1)/2,a=Math.floor(Math.random()*i*o)+1;a*=e,t=Math.max(Math.min(a,3600),o)}var u=Ot()+1e3*t;r=u}(o),b()}}function b(){if(!o){var t=r?Math.max(0,r-Ot()):0,n=Math.max(e._senderConfig.maxBatchInterval(),t);o=setTimeout((function(){e.triggerSend(!0,null,1)}),n)}}function w(e){return 408===e||429===e||500===e||503===e}function _(e,t){return e?"XMLHttpRequest,Status:"+e.status+",Response:"+yi(e)||0:t}function x(t,n){var r=Wt(),o=new XDomainRequest;o.onload=function(){return e._xdrOnLoad(o,t)},o.onerror=function(n){return e._onError(t,S(o),n)};var i=r&&r.location&&r.location.protocol||"";if(0!==e._senderConfig.endpointUrl().lastIndexOf(i,0))return e.diagLog().throwInternal(U.WARNING,Ee,". Cannot send XDomain request. The endpoint URL protocol doesn't match the hosting page protocol."),void e._buffer.clear();var a=e._senderConfig.endpointUrl().replace(/^(https?:)/,"");o.open("POST",a);var u=e._buffer.batchPayloads(t);o.send(u),e._buffer.markAsSent(t)}function S(e,t){return e?"XDomainRequest,Response:"+yi(e)||0:t}e.pause=f,e.resume=f,e.flush=function(){try{e.triggerSend(!0,null,1)}catch(t){e.diagLog().throwInternal(U.CRITICAL,se,"flush failed, telemetry will not be collected: "+At(t),{exception:rn(t)})}},e.onunloadFlush=function(){if(!1!==e._senderConfig.onunloadDisableBeacon()&&!1!==e._senderConfig.isBeaconApiDisabled()||!Mr())e.flush();else try{e.triggerSend(!0,h,2)}catch(t){e.diagLog().throwInternal(U.CRITICAL,ue,"failed to flush with beacon sender on page unload, telemetry will not be collected: "+At(t),{exception:rn(t)})}},e.teardown=f,e.addHeader=function(e,t){c[e]=t},e.initialize=function(o,c,f,d){l.initialize(o,c,f,d);var p=e._getTelCtx(),m=e.identifier;a=new pi(c.logger),n=0,r=null,0,e._sender=null,u=0;var y=t._getDefaultAppInsightsChannelConfig();if(e._senderConfig=t._getEmptyAppInsightsChannelConfig(),dt(y,(function(t,n){e._senderConfig[t]=function(){return p.getConfig(m,t,n())}})),e._buffer=e._senderConfig.enableSessionStorageBuffer()&&lo()?new Uo(e.diagLog(),e._senderConfig):new Fo(e._senderConfig),e._sample=new mi(e._senderConfig.samplingPercentage(),e.diagLog()),function(e){if(!it(e.disableInstrumentationKeyValidation)&&e.disableInstrumentationKeyValidation)return!0;return new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(e.instrumentationKey)}(o)||e.diagLog().throwInternal(U.CRITICAL,tt,"Invalid Instrumentation key "+o.instrumentationKey),!Co(e._senderConfig.endpointUrl())&&e._senderConfig.customHeaders()&&e._senderConfig.customHeaders().length>0&&wt(e._senderConfig.customHeaders(),(function(e){s.addHeader(e.header,e.value)})),!e._senderConfig.isBeaconApiDisabled()&&Mr())e._sender=h;else{var b=Gt("XMLHttpRequest");if(b)"withCredentials"in new b?(e._sender=v,e._XMLHttpRequestSupported=!0):typeof XDomainRequest!==i&&(e._sender=x);else Gt("fetch")&&(e._sender=g)}},e.processTelemetry=function(n,r){r=e._getTelCtx(r);try{if(e._senderConfig.disableTelemetry())return;if(!n)return void r.diagLog().throwInternal(U.CRITICAL,K,"Cannot send empty telemetry");if(n.baseData&&!n.baseType)return void r.diagLog().throwInternal(U.CRITICAL,Xe,"Cannot send telemetry without baseData and baseType");if(n.baseType||(n.baseType="EventData"),!e._sender)return void r.diagLog().throwInternal(U.CRITICAL,he,"Sender was not initialized");if(l=n,!e._sample.isSampledIn(l))return void r.diagLog().throwInternal(U.WARNING,be,"Telemetry item was sampled out and not sent",{SampleRate:e._sample.sampleRate});n.sampleRate=e._sample.sampleRate;var o=t.constructEnvelope(n,e._senderConfig.instrumentationKey(),r.diagLog());if(!o)return void r.diagLog().throwInternal(U.CRITICAL,De,"Unable to create an AppInsights envelope");var i=!1;if(n.tags&&n.tags.ProcessLegacy&&(wt(n.tags.ProcessLegacy,(function(e){try{e&&!1===e(o)&&(i=!0,r.diagLog().warnToConsole("Telemetry processor check returns false"))}catch(t){r.diagLog().throwInternal(U.CRITICAL,qe,"One of telemetry initializers failed, telemetry item will not be sent: "+At(t),{exception:rn(t)},!0)}})),delete n.tags.ProcessLegacy),i)return;var u=a.serialize(o),s=e._buffer.getItems(),c=e._buffer.batchPayloads(s);c&&c.length+u.length>e._senderConfig.maxBatchSizeInBytes()&&e.triggerSend(!0,null,10),e._buffer.enqueue(u),b()}catch(f){r.diagLog().throwInternal(U.WARNING,Q,"Failed adding telemetry to the sender's buffer, some telemetry will be lost: "+At(f),{exception:rn(f)})}var l;e.processNext(n,r)},e._xhrReadyStateChange=function(e,t,n){4===e.readyState&&d(e.status,t,e.responseURL,n,_(e),yi(e)||e.response)},e.triggerSend=function(t,n,i){void 0===t&&(t=!0);try{if(e._senderConfig.disableTelemetry())e._buffer.clear();else{if(e._buffer.count()>0){var a=e._buffer.getItems();!function(t,n){var r=function(){var t="getNotifyMgr";if(e.core[t])return e.core[t]();return e.core._notificationManager}();if(r&&r.eventsSendRequest)try{r.eventsSendRequest(t,n)}catch(o){e.diagLog().throwInternal(U.CRITICAL,et,"send request notification failed: "+At(o),{exception:rn(o)})}}(i||0,t),n?n.call(s,a,t):e._sender(a,t)}+new Date}clearTimeout(o),o=null,r=null}catch(c){var u=nn();(!u||u>9)&&e.diagLog().throwInternal(U.CRITICAL,Ee,"Telemetry transmission failed, some telemetry will be lost: "+At(c),{exception:rn(c)})}},e._onError=function(t,n,r){e.diagLog().throwInternal(U.WARNING,de,"Failed to send telemetry.",{message:n}),e._buffer.clearSent(t)},e._onPartialSuccess=function(t,n){for(var r=[],o=[],i=0,a=n.errors.reverse();i<a.length;i++){var u=a[i],s=t.splice(u.index,1)[0];w(u.statusCode)?o.push(s):r.push(s)}t.length>0&&e._onSuccess(t,n.itemsAccepted),r.length>0&&e._onError(r,_(null,["partial success",n.itemsAccepted,"of",n.itemsReceived].join(" "))),o.length>0&&(y(o),e.diagLog().throwInternal(U.WARNING,Ee,"Partial success. Delivered: "+t.length+", Failed: "+r.length+". Will retry to send "+o.length+" our of "+n.itemsReceived+" items"))},e._onSuccess=function(t,n){e._buffer.clearSent(t)},e._xdrOnLoad=function(t,r){var o=yi(t);if(!t||o+""!="200"&&""!==o){var i=m(o);i&&i.itemsReceived&&i.itemsReceived>i.itemsAccepted&&!e._senderConfig.isRetryDisabled()?e._onPartialSuccess(r,i):e._onError(r,S(t))}else n=0,e._onSuccess(r,0)}})),s}return m(t,e),t.constructEnvelope=function(e,t,n){var r;switch((r=t===e.iKey||it(t)?e:v({},e,{iKey:t})).baseType){case Cr.dataType:return ui.EventEnvelopeCreator.Create(n,r);case Ir.dataType:return di.TraceEnvelopeCreator.Create(n,r);case Rr.dataType:return li.PageViewEnvelopeCreator.Create(n,r);case Fr.dataType:return fi.PageViewPerformanceEnvelopeCreator.Create(n,r);case Xr.dataType:return si.ExceptionEnvelopeCreator.Create(n,r);case Ar.dataType:return ci.MetricEnvelopeCreator.Create(n,r);case Ao.dataType:return ai.DependencyEnvelopeCreator.Create(n,r);default:return ui.EventEnvelopeCreator.Create(n,r)}},t._getDefaultAppInsightsChannelConfig=function(){return{endpointUrl:function(){return"https://dc.services.visualstudio.com/v2/track"},emitLineDelimitedJson:function(){return!1},maxBatchInterval:function(){return 15e3},maxBatchSizeInBytes:function(){return 102400},disableTelemetry:function(){return!1},enableSessionStorageBuffer:function(){return!0},isRetryDisabled:function(){return!1},isBeaconApiDisabled:function(){return!0},onunloadDisableBeacon:function(){return!1},instrumentationKey:function(){},namePrefix:function(){},samplingPercentage:function(){return 100},customHeaders:function(){}}},t._getEmptyAppInsightsChannelConfig=function(){return{endpointUrl:void 0,emitLineDelimitedJson:void 0,maxBatchInterval:void 0,maxBatchSizeInBytes:void 0,disableTelemetry:void 0,enableSessionStorageBuffer:void 0,isRetryDisabled:void 0,isBeaconApiDisabled:void 0,onunloadDisableBeacon:void 0,instrumentationKey:void 0,namePrefix:void 0,samplingPercentage:void 0,customHeaders:void 0}},t}(mn),wi=function(){},_i=function(){function e(t,n){var r,o,i=un(n),a=Mn(n);B(e,this,(function(n){t||(t={}),ct(t.sessionExpirationMs)||(t.sessionExpirationMs=function(){return e.acquisitionSpan}),ct(t.sessionRenewalMs)||(t.sessionRenewalMs=function(){return e.renewalSpan}),n.config=t;var u=n.config.sessionCookiePostfix&&n.config.sessionCookiePostfix()?n.config.sessionCookiePostfix():n.config.namePrefix&&n.config.namePrefix()?n.config.namePrefix():"";function s(e,t){var n=!1,r=", session will be reset",o=t.split("|");if(o.length>=2)try{var a=+o[1]||0,u=+o[2]||0;isNaN(a)||a<=0?i.throwInternal(U.WARNING,pe,"AI session acquisition date is 0"+r):isNaN(u)||u<=0?i.throwInternal(U.WARNING,pe,"AI session renewal date is 0"+r):o[0]&&(e.id=o[0],e.acquisitionDate=a,e.renewalDate=u,n=!0)}catch(s){i.throwInternal(U.CRITICAL,X,"Error parsing ai_session value ["+(t||"")+"]"+r+" - "+At(s),{exception:rn(s)})}return n}function c(e,t){var i=e.acquisitionDate;e.renewalDate=t;var u=n.config,s=u.sessionRenewalMs(),c=i+u.sessionExpirationMs()-t,l=[e.id,i,t],f=0;f=c<s?c/1e3:s/1e3;var d=u.cookieDomain?u.cookieDomain():null;a.set(r(),l.join("|"),u.sessionExpirationMs()>0?f:null,d),o=t}r=function(){return"ai_session"+u},n.automaticSession=new wi,n.update=function(){var t=Ot(),u=!1,l=n.automaticSession;l.id||(u=!function(e,t){var n=!1,o=a.get(r());if(o&&ct(o.split))n=s(e,o);else{var u=uo(i,r());u&&(n=s(e,u))}return n||!!e.id}(l));var f=n.config.sessionExpirationMs();if(!u&&f>0){var d=n.config.sessionRenewalMs(),p=t-l.acquisitionDate,h=t-l.renewalDate;u=(u=(u=p<0||h<0)||p>f)||h>d}u?function(e){var t=n.config||{},r=(t.getNewId?t.getNewId():null)||nr;n.automaticSession.id=r(t.idLength?t.idLength():22),n.automaticSession.acquisitionDate=e,c(n.automaticSession,e),ao()||i.throwInternal(U.WARNING,z,"Browser does not support local storage. Session durations will be inaccurate.")}(t):(!o||t-o>e.cookieUpdateInterval)&&c(l,t)},n.backup=function(){var e,t,o,a=n.automaticSession;e=a.id,t=a.acquisitionDate,o=a.renewalDate,so(i,r(),[e,t,o].join("|"))}}))}return e.acquisitionSpan=864e5,e.renewalSpan=18e5,e.cookieUpdateInterval=6e4,e}(),xi=function(){},Si=function(){this.id="browser",this.deviceClass="Browser"},ki=function(e){this.sdkVersion=(e.sdkExtension&&e.sdkExtension()?e.sdkExtension()+"_":"")+"javascript:2.6.4"};function Ei(e){return!("string"!=typeof e||!e||e.match(/,|;|=| |\|/))}var Ci=function(){function e(t,n){this.isNewUser=!1;var r,o=un(n),i=Mn(n);B(e,this,(function(n){n.config=t;var a=n.config.userCookiePostfix&&n.config.userCookiePostfix()?n.config.userCookiePostfix():"";r=function(){return e.userCookieName+a};var u=i.get(r());if(u){n.isNewUser=!1;var s=u.split(e.cookieSeparator);s.length>0&&(n.id=s[0])}if(!n.id){var c=t||{},l=(c.getNewId?c.getNewId():null)||nr;n.id=l(c.idLength?t.idLength():22);var f=bt(new Date);n.accountAcquisitionDate=f,n.isNewUser=!0;var d=[n.id,f];i.set(r(),d.join(e.cookieSeparator),31536e3);var p=t.namePrefix&&t.namePrefix()?t.namePrefix()+"ai_session":"ai_session";co(o,p)}n.accountId=t.accountId?t.accountId():void 0;var h=i.get(e.authUserCookieName);if(h){var v=(h=decodeURI(h)).split(e.cookieSeparator);v[0]&&(n.authenticatedId=v[0]),v.length>1&&v[1]&&(n.accountId=v[1])}n.setAuthenticatedUserContext=function(t,r,a){if(void 0===a&&(a=!1),!Ei(t)||r&&!Ei(r))o.throwInternal(U.WARNING,ze,"Setting auth user context failed. User auth/account id should be of type string, and not contain commas, semi-colons, equal signs, spaces, or vertical-bars.",!0);else{n.authenticatedId=t;var u=n.authenticatedId;r&&(n.accountId=r,u=[n.authenticatedId,n.accountId].join(e.cookieSeparator)),a&&i.set(e.authUserCookieName,encodeURI(u))}},n.clearAuthenticatedUserContext=function(){n.authenticatedId=null,n.accountId=null,i.del(e.authUserCookieName)}}))}return e.cookieSeparator="|",e.userCookieName="ai_user",e.authUserCookieName="ai_authUser",e}(),Ii=function(){},Ti=function(e,t,n,r){var o=this;o.traceID=e||rr(),o.parentID=t,o.name=n;var i=Yt();!n&&i&&i.pathname&&(o.name=i.pathname),o.name=lr(r,o.name)},Oi="ext",Ai="tags";function Di(e,t){e&&e[t]&&0===It(e[t]).length&&delete e[t]}var Pi=function e(t,n){var r=this,o=t.logger;this.appId=function(){return null},B(e,this,(function(e){e.application=new xi,e.internal=new ki(n),qt()&&(e.sessionManager=new _i(n,t),e.device=new Si,e.location=new Ii,e.user=new Ci(n,t),e.telemetryTrace=new Ti(void 0,void 0,void 0,o),e.session=new wi),e.applySessionContext=function(t,n){var r=e.session,o=e.sessionManager;r&&mt(r.id)?Dt(Pt(t.ext,Jo.AppExt),"sesId",r.id):o&&o.automaticSession&&Dt(Pt(t.ext,Jo.AppExt),"sesId",o.automaticSession.id,mt)},e.applyOperatingSystemContxt=function(t,n){Dt(t.ext,Jo.OSExt,e.os)},e.applyApplicationContext=function(t,n){var r=e.application;if(r){var o=Pt(t,Ai);Dt(o,Qo.applicationVersion,r.ver,mt),Dt(o,Qo.applicationBuild,r.build,mt)}},e.applyDeviceContext=function(t,n){var r=e.device;if(r){var o=Pt(Pt(t,Oi),Jo.DeviceExt);Dt(o,"localId",r.id,mt),Dt(o,"ip",r.ip,mt),Dt(o,"model",r.model,mt),Dt(o,"deviceClass",r.deviceClass,mt)}},e.applyInternalContext=function(t,n){var r=e.internal;if(r){var o=Pt(t,Ai);Dt(o,Qo.internalAgentVersion,r.agentVersion,mt),Dt(o,Qo.internalSdkVersion,r.sdkVersion,mt),t.baseType!==an.dataType&&t.baseType!==Rr.dataType||(Dt(o,Qo.internalSnippet,r.snippetVer,mt),Dt(o,Qo.internalSdkSrc,r.sdkSrc,mt))}},e.applyLocationContext=function(e,t){var n=r.location;n&&Dt(Pt(e,Ai,[]),Qo.locationIp,n.ip,mt)},e.applyOperationContext=function(t,n){var r=e.telemetryTrace;if(r){var o=Pt(Pt(t,Oi),Jo.TraceExt,{traceID:void 0,parentID:void 0});Dt(o,"traceID",r.traceID,mt),Dt(o,"name",r.name,mt),Dt(o,"parentID",r.parentID,mt)}},e.applyWebContext=function(e,t){var n=r.web;n&&Dt(Pt(e,Oi),Jo.WebExt,n)},e.applyUserContext=function(t,n){var r=e.user;if(r){Dt(Pt(t,Ai,[]),Qo.userAccountId,r.accountId,mt);var o=Pt(Pt(t,Oi),Jo.UserExt);Dt(o,"id",r.id,mt),Dt(o,"authId",r.authenticatedId,mt)}},e.cleanUp=function(e,t){var n=e.ext;n&&(Di(n,Jo.DeviceExt),Di(n,Jo.UserExt),Di(n,Jo.WebExt),Di(n,Jo.OSExt),Di(n,Jo.AppExt),Di(n,Jo.TraceExt))}}))},Ni=function(e){function t(){var n,r,o=e.call(this)||this;return o.priority=110,o.identifier=ir,B(t,o,(function(e,o){e.initialize=function(i,a,u,s){o.initialize(i,a,u,s);var c=e._getTelCtx(),l=e.identifier,f=t.getDefaultConfig();r=r||{},dt(f,(function(e,t){r[e]=function(){return c.getConfig(l,e,t())}})),e.context=new Pi(a,r),n=jr(u,ar),e.context.appId=function(){return n?n._appId:null},e._extConfig=r},e.processTelemetry=function(t,n){if(it(t));else{n=e._getTelCtx(n),t.name===Rr.envelopeType&&n.diagLog().resetInternalMessageCount();var r=e.context||{};if(r.session&&"string"!=typeof e.context.session.id&&r.sessionManager&&r.sessionManager.update(),function(t,n){Pt(t,"tags",[]),Pt(t,"ext",{});var r=e.context;r.applySessionContext(t,n),r.applyApplicationContext(t,n),r.applyDeviceContext(t,n),r.applyOperationContext(t,n),r.applyUserContext(t,n),r.applyOperatingSystemContxt(t,n),r.applyWebContext(t,n),r.applyLocationContext(t,n),r.applyInternalContext(t,n),r.cleanUp(t,n)}(t,n),r.user&&r.user.isNewUser){r.user.isNewUser=!1;var o=new an(Je,($t()||{}).userAgent||"");n.diagLog().logInternalMessage(U.CRITICAL,o)}e.processNext(t,n)}}})),o}return m(t,e),t.getDefaultConfig=function(){return{instrumentationKey:function(){},accountId:function(){return null},sessionRenewalMs:function(){return 18e5},samplingPercentage:function(){return 100},sessionExpirationMs:function(){return 864e5},cookieDomain:function(){return null},sdkExtension:function(){return null},isBrowserLinkTrackingEnabled:function(){return!1},appId:function(){return null},namePrefix:function(){},sessionCookiePostfix:function(){},userCookiePostfix:function(){},idLength:function(){return 22},getNewId:function(){return null}}},t}(mn),Mi=["req","rsp","hkErr","fnErr"];function ji(e,t){if(e)for(var n=0;n<e.length&&!t(e[n],n);n++);}function Li(e,t,n,r,o){o>=0&&o<=2&&ji(e,(function(e,i){var a=e.cbks,u=a[Mi[o]];if(u){t.ctx=function(){return r[i]=r[i]||{}};try{u.apply(t.inst,n)}catch(l){var s=t.err;try{var c=a[Mi[2]];c&&(t.err=l,c.apply(t.inst,n))}catch(f){}finally{t.err=s}}}}))}var Ri=Object.getPrototypeOf;function Fi(e,t,n){var r=null;return e&&(ut(e,t)?r=e:n&&(r=Fi(function(e){if(e){if(Ri)return Ri(e);var t=e.__proto__||e.prototype||e.constructor;if(t)return t}return null}(e),t,!1))),r}function Ui(e,t,n,o){if(void 0===o&&(o=!0),e&&t&&n){var i=Fi(e,t,o);if(i){var a=i[t];if(typeof a===r){var u=a._aiHooks;if(!u){var s=(l=u={i:0,n:t,f:a,h:[]},function(){var e=this,t=arguments,n=l.h,r={name:l.n,inst:e,ctx:null,set:u},o=[],i=a([r],t);function a(e,t){return ji(t,(function(t){e.push(t)})),e}function u(e,n){(t=a([],t))[e]=n,i=a([r],t)}Li(n,r,i,o,0);var s=l.f;try{r.rslt=s.apply(e,t)}catch(c){throw r.err=c,Li(n,r,i,o,3),c}return Li(n,r,i,o,1),r.rslt});s._aiHooks=u,i[t]=s}var c={id:u.i,cbks:n,rm:function(){var e=this.id;ji(u.h,(function(t,n){if(t.id===e)return u.h.splice(n,1),1}))}};return u.i++,u.h.push(c),c}}}var l;return null}function Bi(e,t,n){var r=0,o=e[t],i=e[n];return o&&i&&(r=Oo(o,i)),r}function zi(e,t,n,r,o){var i=0,a=Bi(n,r,o);return a&&(i=Vi(e,t,Nr(a))),i}function Vi(e,t,n){var r=0;e&&t&&n&&((e.ajaxPerf=e.ajaxPerf||{})[t]=n,r=1);return r}var Hi=function(){var e=this;e.openDone=!1,e.setRequestHeaderDone=!1,e.sendDone=!1,e.abortDone=!1,e.stateChangeAttached=!1},Gi=function e(t,n,r){var o=this,i=r;o.perfMark=null,o.completed=!1,o.requestHeadersSize=null,o.requestHeaders=null,o.responseReceivingDuration=null,o.callbackDuration=null,o.ajaxTotalDuration=null,o.aborted=0,o.pageUrl=null,o.requestUrl=null,o.requestSize=0,o.method=null,o.status=null,o.requestSentTime=null,o.responseStartedTime=null,o.responseFinishedTime=null,o.callbackFinishedTime=null,o.endTime=null,o.xhrMonitoringState=new Hi,o.clientFailure=0,o.traceID=t,o.spanID=n,B(e,o,(function(e){e.getAbsoluteUrl=function(){return e.requestUrl?_o(e.requestUrl):null},e.getPathName=function(){return e.requestUrl?fr(i,xo(e.method,e.requestUrl)):null},e.CreateTrackItem=function(t,n,r){if(e.ajaxTotalDuration=Math.round(1e3*Oo(e.requestSentTime,e.responseFinishedTime))/1e3,e.ajaxTotalDuration<0)return null;var o,i=((o={id:"|"+e.traceID+"."+e.spanID,target:e.getAbsoluteUrl(),name:e.getPathName(),type:t,startTime:null,duration:e.ajaxTotalDuration,success:+e.status>=200&&+e.status<400,responseCode:+e.status,method:e.method}).properties={HttpMethod:e.method},o);if(e.requestSentTime&&(i.startTime=new Date,i.startTime.setTime(e.requestSentTime)),function(e,t){var n=e.perfTiming,r=t.properties||{},o=0,i="name",a="domainLookup",u="connect",s="redirect",c="request",l="response",f="duration",d="startTime",p="connectEnd",h="requestStart",v="responseEnd",g=s+"Start",m=s="End",y="transferSize",b="encodedBodySize",w="decodedBodySize",_="serverTiming";if(n){o|=zi(r,s,n,g,m),o|=zi(r,a,n,"domainLookupStart","domainLookupEnd"),o|=zi(r,u,n,"connectStart",p),o|=zi(r,c,n,h,"requestEnd"),o|=zi(r,l,n,"responseStart",v),o|=zi(r,"networkConnect",n,d,p),o|=zi(r,"sentRequest",n,h,v);var x=n.duration;x||(x=Bi(n,d,v)||0),o|=Vi(r,f,x),o|=Vi(r,"perfTotal",x);var S=n.serverTiming;if(S){var k={};wt(S,(function(e,t){var n=function(e){var t=e,n=/([^\w\d_$])/g;return n.test(e)&&(t=e.replace(n,"_")),t}(e.name||""+t),r=k[n]||{};dt(e,(function(e,t){(e!==i&&mt(t)||yt(t))&&(r[e]&&(t=r[e]+";"+t),!t&&mt(t)||(r[e]=t))})),k[n]=r})),o|=Vi(r,_,k)}o|=Vi(r,y,n.transferSize),o|=Vi(r,b,n.encodedBodySize),o|=Vi(r,w,n.decodedBodySize)}else e.perfMark&&(o|=Vi(r,"missing",e.perfAttempts));o&&(t.properties=r)}(e,i),n&&It(e.requestHeaders).length>0&&(i.properties=i.properties||{},i.properties.requestHeaders=e.requestHeaders),r){var a=r();if(a){var u=a.correlationContext;if(u&&(i.correlationContext=u),a.headerMap&&It(a.headerMap).length>0&&(i.properties=i.properties||{},i.properties.responseHeaders=a.headerMap),e.status>=400){var s=a.type;i.properties=i.properties||{},""!==s&&"text"!==s||(i.properties.responseText=a.responseText?a.statusText+" - "+a.responseText:a.statusText),"json"===s&&(i.properties.responseText=a.response?a.statusText+" - "+JSON.stringify(a.response):a.statusText)}}}return i}}))},qi=function(){function e(t,n){var r=this;r.traceFlag=e.DEFAULT_TRACE_FLAG,r.version=e.DEFAULT_VERSION,t&&e.isValidTraceId(t)?r.traceId=t:r.traceId=rr(),n&&e.isValidSpanId(n)?r.spanId=n:r.spanId=rr().substr(0,16)}return e.isValidTraceId=function(e){return e.match(/^[0-9a-f]{32}$/)&&"00000000000000000000000000000000"!==e},e.isValidSpanId=function(e){return e.match(/^[0-9a-f]{16}$/)&&"0000000000000000"!==e},e.prototype.toString=function(){var e=this;return e.version+"-"+e.traceId+"-"+e.spanId+"-"+e.traceFlag},e.DEFAULT_TRACE_FLAG="01",e.DEFAULT_VERSION="00",e}(),Wi="ai.ajxmn.",Zi="fetch",Ki=0;function $i(e){var t="";try{it(e)||it(e.ajaxData)||it(e.ajaxData.requestUrl)||(t+="(url: '"+e.ajaxData.requestUrl+"')")}catch(n){}return t}function Xi(e,t,n,r,o){e.diagLog().throwInternal(U.CRITICAL,t,n,r,o)}function Yi(e,t,n,r,o){e.diagLog().throwInternal(U.WARNING,t,n,r,o)}function Ji(e,t,n){return function(r){Xi(e,t,n,{ajaxDiagnosticsMessage:$i(r.inst),exception:rn(r.err)})}}function Qi(e,t){return e&&t?e.indexOf(t):-1}var ea=function(e){function t(){var n=e.call(this)||this;n.identifier=t.identifier,n.priority=120;var r,o,a,u,s,c=Yt(),l=!1,f=!1,p=c&&c.host&&c.host.toLowerCase(),h=t.getEmptyConfig(),v=!1,g=0,m=!1,y=0,b=!1,w=[],_={};return B(t,n,(function(e,n){function c(e){var t=!0;return(e||h.ignoreHeaders)&&wt(h.ignoreHeaders,(function(n){if(n.toLowerCase()===e.toLowerCase())return t=!1,-1})),t}function x(e,t,n){w.push(function(e,t,n){return e?Ui(e.prototype,t,n,!1):null}(e,t,n))}function S(e,t,n){var r=!1,o=((mt(t)?t:(t||{}).url||"")||"").toLowerCase();if(wt(s,(function(e){var t=e;mt(e)&&(t=new RegExp(e)),r||(r=t.test(o))})),r)return r;var i=Qi(o,"?"),a=Qi(o,"#");return(-1===i||-1!==a&&a<i)&&(i=a),-1!==i&&(o=o.substring(0,i)),it(e)?it(t)||(r="object"==typeof t&&!0===t[wr]||!!n&&!0===n[wr]):r=!0===e[wr]||!0===o[wr],r?_[o]||(_[o]=1):_[o]&&(r=!0),r}function k(e,t){var n=!0,r=f;return it(e)||(n=!0===t||!it(e.ajaxData)),r&&n}function E(e){try{var t=e.responseType;if(""===t||"text"===t)return e.responseText}catch(n){}return null}function C(t){try{var n=t.getAllResponseHeaders();if(null!==n)if(-1!==Qi(n.toLowerCase(),go.requestContextHeaderLowerCase)){var r=t.getResponseHeader(go.requestContextHeader);return Io.getCorrelationContext(r)}}catch(o){Yi(e,ie,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{ajaxDiagnosticsMessage:$i(t),exception:rn(o)})}}function I(e,t){if(t.requestUrl&&u&&m){var n=Jt();if(n&&ct(n.mark)){Ki++;var r=u+e+"#"+Ki;n.mark(r);var o=n.getEntriesByName(r);o&&1===o.length&&(t.perfMark=o[0])}}}function T(e,t,n,r){var o=t.perfMark,i=Jt(),a=h.maxAjaxPerfLookupAttempts,u=h.ajaxPerfLookupDelay,s=t.requestUrl,c=0;!function l(){try{if(i&&o){c++;for(var f=null,d=i.getEntries(),p=d.length-1;p>=0;p--){var h=d[p];if(h){if("resource"===h.entryType)h.initiatorType!==e||-1===Qi(h.name,s)&&-1===Qi(s,h.name)||(f=h);else if("mark"===h.entryType&&h.name===o.name){t.perfTiming=f;break}if(h.startTime<o.startTime-1e3)break}}}!o||t.perfTiming||c>=a||!1===t.async?(o&&ct(i.clearMarks)&&i.clearMarks(o.name),t.perfAttempts=c,n()):setTimeout(l,u)}catch(v){r(v)}}()}function O(t){var n="";try{it(t)||(n+="string"==typeof t?"(url: '"+t+"')":"(url: '"+t.url+"')")}catch(r){Xi(e,ne,"Failed to grab failed fetch diagnostics message",{exception:rn(r)})}return n}function A(t,n,r,o,i,a){function u(t,n,o){var i=o||{};i.fetchDiagnosticsMessage=O(r),n&&(i.exception=rn(n)),Yi(e,t,"Failed to calculate the duration of the fetch call, monitoring data for this fetch call won't be sent.",i)}o&&(o.responseFinishedTime=To(),o.status=n,T("fetch",o,(function(){var t=o.CreateTrackItem("Fetch",v,i);t?e.trackDependencyDataInternal(t):u(te,null,{requestSentTime:o.requestSentTime,responseFinishedTime:o.responseFinishedTime})}),(function(e){u(ie,e,null)})))}function D(t){if(t&&t.headers)try{var n=t.headers.get(go.requestContextHeader);return Io.getCorrelationContext(n)}catch(r){Yi(e,ie,"Failed to get Request-Context correlation header as it may be not included in the response or not accessible.",{fetchDiagnosticsMessage:O(t),exception:rn(r)})}}e.initialize=function(p,g,_,O){if(!e.isInitialized()){n.initialize(p,g,_,O);var P=e._getTelCtx();dt(t.getDefaultConfig(),(function(e,n){h[e]=P.getConfig(t.identifier,e,n)}));var N=h.distributedTracingMode;if(v=h.enableRequestHeaderTracking,m=h.enableAjaxPerfTracking,y=h.maxAjaxCallsPerView,b=h.enableResponseHeaderTracking,s=h.excludeRequestFromAutoTrackingPatterns,a=N===$r.AI||N===$r.AI_AND_W3C,o=N===$r.AI_AND_W3C||N===$r.W3C,m){var M=p.instrumentationKey||"unkwn";u=M.length>5?Wi+M.substring(M.length-5)+".":Wi+M+"."}if(!1===h.disableAjaxTracking&&function(e){var t=!1;if(typeof XMLHttpRequest!==i&&!it(XMLHttpRequest)){var n=XMLHttpRequest.prototype;t=!(it(n)||it(n.open)||it(n.send)||it(n.abort))}var r=nn();if(r&&r<9&&(t=!1),t)try{(new XMLHttpRequest).ajaxData={};var o=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=o}catch(a){t=!1,Xi(e,ne,"Failed to enable XMLHttpRequest monitoring, extension is not supported",{exception:rn(a)})}return t}(e)&&!f&&(x(XMLHttpRequest,"open",{req:function(t,n,o,i){var a=t.inst,u=a.ajaxData;S(a,o)||!k(a,!0)||u&&u.xhrMonitoringState.openDone||function(t,n,o,i){var a=r&&r.telemetryTrace&&r.telemetryTrace.traceID||rr(),u=rr().substr(0,16),s=new Gi(a,u,e.diagLog());s.method=n,s.requestUrl=o,s.xhrMonitoringState.openDone=!0,s.requestHeaders={},s.async=i,t.ajaxData=s,function(t){t.ajaxData.xhrMonitoringState.stateChangeAttached=or.Attach(t,"readystatechange",(function(){try{t&&4===t.readyState&&k(t)&&function(t){var n=t.ajaxData;function r(n,r){var o=r||{};o.ajaxDiagnosticsMessage=$i(t),n&&(o.exception=rn(n)),Yi(e,te,"Failed to calculate the duration of the ajax call, monitoring data for this ajax call won't be sent.",o)}n.responseFinishedTime=To(),n.status=t.status,T("xmlhttprequest",n,(function(){try{var o=n.CreateTrackItem("Ajax",v,(function(){var e={statusText:t.statusText,headerMap:null,correlationContext:C(t),type:t.responseType,responseText:E(t),response:t.response};if(b){var n=t.getAllResponseHeaders();if(n){var r=kt(n).split(/[\r\n]+/),o={};wt(r,(function(e){var t=e.split(": "),n=t.shift(),r=t.join(": ");c(n)&&(o[n]=r)})),e.headerMap=o}}return e}));o?e.trackDependencyDataInternal(o):r(null,{requestSentTime:n.requestSentTime,responseFinishedTime:n.responseFinishedTime})}finally{try{t.ajaxData=null}catch(i){}}}),(function(e){r(e,null)}))}(t)}catch(r){var n=rn(r);n&&-1!==Qi(n.toLowerCase(),"c00c023f")||Xi(e,re,"Failed to monitor XMLHttpRequest 'readystatechange' event handler, monitoring data for this ajax call may be incorrect.",{ajaxDiagnosticsMessage:$i(t),exception:n})}}))}(t)}(a,n,o,i)},hkErr:Ji(e,ne,"Failed to monitor XMLHttpRequest.open, monitoring data for this ajax call may be incorrect.")}),x(XMLHttpRequest,"send",{req:function(t,n){var r=t.inst,o=r.ajaxData;k(r)&&!o.xhrMonitoringState.sendDone&&(I("xhr",o),o.requestSentTime=To(),e.includeCorrelationHeaders(o,void 0,void 0,r),o.xhrMonitoringState.sendDone=!0)},hkErr:Ji(e,oe,"Failed to monitor XMLHttpRequest, monitoring data for this ajax call may be incorrect.")}),x(XMLHttpRequest,"abort",{req:function(e){var t=e.inst,n=t.ajaxData;k(t)&&!n.xhrMonitoringState.abortDone&&(n.aborted=1,n.xhrMonitoringState.abortDone=!0)},hkErr:Ji(e,ee,"Failed to monitor XMLHttpRequest.abort, monitoring data for this ajax call may be incorrect.")}),v&&x(XMLHttpRequest,"setRequestHeader",{req:function(e,t,n){var r=e.inst;k(r)&&c(t)&&(r.ajaxData.requestHeaders[t]=n)},hkErr:Ji(e,Ye,"Failed to monitor XMLHttpRequest.setRequestHeader, monitoring data for this ajax call may be incorrect.")}),f=!0),function(){var t=(n=d(),!n||it(n.Request)||it(n.Request.prototype)||it(n.fetch)?null:n.fetch);var n;if(!t)return;var o=d(),i=t.polyfill;!1===h.disableFetchTracking?(w.push(Ui(o,Zi,{req:function(t,n,o){var a;if(l&&!S(null,n,o)&&(!i||!f)){var u=t.ctx();a=function(t,n){var o=r&&r.telemetryTrace&&r.telemetryTrace.traceID||rr(),i=rr().substr(0,16),a=new Gi(o,i,e.diagLog());a.requestSentTime=To(),t instanceof Request?a.requestUrl=t?t.url:"":a.requestUrl=t;var u="GET";n&&n.method?u=n.method:t&&t instanceof Request&&(u=t.method);a.method=u;var s={};if(v){new Headers((n?n.headers:0)||t instanceof Request&&t.headers||{}).forEach((function(e,t){c(t)&&(s[t]=e)}))}return a.requestHeaders=s,I("fetch",a),a}(n,o);var s=e.includeCorrelationHeaders(a,n,o);s!==o&&t.set(1,s),u.data=a}},rsp:function(e,t){var n=e.ctx().data;n&&(e.rslt=e.rslt.then((function(t){return A(e,(t||{}).status,t,n,(function(){var e={statusText:t.statusText,headerMap:null,correlationContext:D(t)};if(b){var n={};t.headers.forEach((function(e,t){c(t)&&(n[t]=e)})),e.headerMap=n}return e})),t})).catch((function(r){throw A(e,0,t,n,null,{error:r.message}),r})))},hkErr:Ji(e,ne,"Failed to monitor Window.fetch, monitoring data for this fetch call may be incorrect.")})),l=!0):i&&w.push(Ui(o,Zi,{req:function(e,t,n){S(null,t,n)}}));i&&(o.fetch.polyfill=i)}(),_.length>0&&_){for(var j=void 0,L=0;!j&&L<_.length;)_[L]&&_[L].identifier===ir&&(j=_[L]),L++;j&&(r=j.context)}}},e.teardown=function(){wt(w,(function(e){e.rm()})),w=[],l=!1,f=!1,e.setInitialized(!1)},e.trackDependencyData=function(t,n){e.trackDependencyDataInternal(t,n)},e.includeCorrelationHeaders=function(t,n,i,u){var s=e._currentWindowHost||p;if(n){if(Io.canIncludeCorrelationHeader(h,t.getAbsoluteUrl(),s)){if(i||(i={}),i.headers=new Headers(i.headers||n instanceof Request&&n.headers||{}),a){var c="|"+t.traceID+"."+t.spanID;i.headers.set(go.requestIdHeader,c),v&&(t.requestHeaders[go.requestIdHeader]=c)}if((f=h.appId||r&&r.appId())&&(i.headers.set(go.requestContextHeader,go.requestContextAppIdFormat+f),v&&(t.requestHeaders[go.requestContextHeader]=go.requestContextAppIdFormat+f)),o){var l=new qi(t.traceID,t.spanID);i.headers.set(go.traceParentHeader,l.toString()),v&&(t.requestHeaders[go.traceParentHeader]=l.toString())}}return i}if(u){if(Io.canIncludeCorrelationHeader(h,t.getAbsoluteUrl(),s)){if(a){c="|"+t.traceID+"."+t.spanID;u.setRequestHeader(go.requestIdHeader,c),v&&(t.requestHeaders[go.requestIdHeader]=c)}var f;if((f=h.appId||r&&r.appId())&&(u.setRequestHeader(go.requestContextHeader,go.requestContextAppIdFormat+f),v&&(t.requestHeaders[go.requestContextHeader]=go.requestContextAppIdFormat+f)),o){l=new qi(t.traceID,t.spanID);u.setRequestHeader(go.traceParentHeader,l.toString()),v&&(t.requestHeaders[go.traceParentHeader]=l.toString())}}return u}},e.trackDependencyDataInternal=function(t,n,r){if(-1===y||g<y){h.distributedTracingMode!==$r.W3C&&h.distributedTracingMode!==$r.AI_AND_W3C||"string"!=typeof t.id||"."===t.id[t.id.length-1]||(t.id+="."),it(t.startTime)&&(t.startTime=new Date);var o=kr.create(t,Ao.dataType,Ao.envelopeType,e.diagLog(),n,r);e.core.track(o)}else g===y&&Xi(e,Re,"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter.",!0);++g}})),n}return m(t,e),t.getDefaultConfig=function(){return{maxAjaxCallsPerView:500,disableAjaxTracking:!1,disableFetchTracking:!0,excludeRequestFromAutoTrackingPatterns:void 0,disableCorrelationHeaders:!1,distributedTracingMode:$r.AI_AND_W3C,correlationHeaderExcludedDomains:["*.blob.core.windows.net","*.blob.core.chinacloudapi.cn","*.blob.core.cloudapi.de","*.blob.core.usgovcloudapi.net"],correlationHeaderDomains:void 0,correlationHeaderExcludePatterns:void 0,appId:void 0,enableCorsCorrelation:!1,enableRequestHeaderTracking:!1,enableResponseHeaderTracking:!1,enableAjaxErrorStatusText:!1,enableAjaxPerfTracking:!1,maxAjaxPerfLookupAttempts:3,ajaxPerfLookupDelay:25,ignoreHeaders:["Authorization","X-API-Key","WWW-Authenticate"]}},t.getEmptyConfig=function(){var e=this.getDefaultConfig();return dt(e,(function(t){e[t]=void 0})),e},t.prototype.processTelemetry=function(e,t){this.processNext(e,t)},t.identifier="AjaxDependencyPlugin",t}(mn);function ta(e){if(!e)return{};var t=St(e.split(";"),(function(e,t){var n=t.split("=");if(2===n.length){var r=n[0].toLowerCase(),o=n[1];e[r]=o}return e}),{});if(It(t).length>0){if(t.endpointsuffix){var n=t.location?t.location+".":"";t.ingestionendpoint=t.ingestionendpoint||"https://"+n+"dc."+t.endpointsuffix}t.ingestionendpoint=t.ingestionendpoint||xr}return t}!function(){function e(){}e.getConfig=function(e,t,n,r){var o;return void 0===r&&(r=!1),o=n&&e.extensionConfig&&e.extensionConfig[n]&&!it(e.extensionConfig[n][t])?e.extensionConfig[n][t]:e[t],it(o)?r:o}}();var na,ra,oa=["snippet","dependencies","properties","_snippetVersion","appInsightsNew","getSKUDefaults"],ia=(Qr._,function(){function e(e){var t=this;t._snippetVersion=""+(e.sv||e.version||""),e.queue=e.queue||[],e.version=e.version||2;var n=e.config||{};if(n.connectionString){var r=ta(n.connectionString),o=r.ingestionendpoint;n.endpointUrl=o?o+"/v2/track":n.endpointUrl,n.instrumentationKey=r.instrumentationkey||n.instrumentationKey}t.appInsights=new Lo,t.properties=new Ni,t.dependencies=new ea,t.core=new qn,t._sender=new bi,t.snippet=e,t.config=n,t.getSKUDefaults()}return e.prototype.getCookieMgr=function(){return this.appInsights.getCookieMgr()},e.prototype.trackEvent=function(e,t){this.appInsights.trackEvent(e,t)},e.prototype.trackPageView=function(e){var t=e||{};this.appInsights.trackPageView(t)},e.prototype.trackPageViewPerformance=function(e){var t=e||{};this.appInsights.trackPageViewPerformance(t)},e.prototype.trackException=function(e){e&&!e.exception&&e.error&&(e.exception=e.error),this.appInsights.trackException(e)},e.prototype._onerror=function(e){this.appInsights._onerror(e)},e.prototype.trackTrace=function(e,t){this.appInsights.trackTrace(e,t)},e.prototype.trackMetric=function(e,t){this.appInsights.trackMetric(e,t)},e.prototype.startTrackPage=function(e){this.appInsights.startTrackPage(e)},e.prototype.stopTrackPage=function(e,t,n,r){this.appInsights.stopTrackPage(e,t,n,r)},e.prototype.startTrackEvent=function(e){this.appInsights.startTrackEvent(e)},e.prototype.stopTrackEvent=function(e,t,n){this.appInsights.stopTrackEvent(e,t,n)},e.prototype.addTelemetryInitializer=function(e){return this.appInsights.addTelemetryInitializer(e)},e.prototype.setAuthenticatedUserContext=function(e,t,n){void 0===n&&(n=!1),this.properties.context.user.setAuthenticatedUserContext(e,t,n)},e.prototype.clearAuthenticatedUserContext=function(){this.properties.context.user.clearAuthenticatedUserContext()},e.prototype.trackDependencyData=function(e){this.dependencies.trackDependencyData(e)},e.prototype.flush=function(e){var t=this;void 0===e&&(e=!0),dn(this.core,(function(){return"AISKU.flush"}),(function(){wt(t.core.getTransmissionControls(),(function(t){wt(t,(function(t){t.flush(e)}))}))}),null,e)},e.prototype.onunloadFlush=function(e){void 0===e&&(e=!0),wt(this.core.getTransmissionControls(),(function(t){wt(t,(function(t){t.onunloadFlush?t.onunloadFlush():t.flush(e)}))}))},e.prototype.loadAppInsights=function(e,t,n){var r=this;void 0===e&&(e=!1);var o=this;return e&&o.config.extensions&&o.config.extensions.length>0&&jt("Extensions not allowed in legacy mode"),dn(o.core,(function(){return"AISKU.loadAppInsights"}),(function(){var i=[];i.push(o._sender),i.push(o.properties),i.push(o.dependencies),i.push(o.appInsights),o.core.initialize(o.config,i,t,n),o.context=o.properties.context,na&&o.context&&(o.context.internal.sdkSrc=na),function(t){if(t){var n="";it(o._snippetVersion)||(n+=o._snippetVersion),e&&(n+=".lg"),o.context&&o.context.internal&&(o.context.internal.snippetVer=n||"-"),dt(o,(function(e,n){mt(e)&&!ct(n)&&e&&"_"!==e[0]&&-1===oa.indexOf(e)&&(t[e]=n)}))}}(o.snippet),o.emptyQueue(),o.pollInternalLogs(),o.addHousekeepingBeforeUnload(r)})),o},e.prototype.updateSnippetDefinitions=function(e){!function(e,t,n){if(e&&t&&e!==t&&st(e)&&st(t)){var r=function(r){if(mt(r)){var o=t[r];ct(o)?n&&!n(r,!0,t,e)||(e[r]=(i=r,function(){var e=arguments;return t[i].apply(t,e)})):n&&!n(r,!1,t,e)||(ut(e,r)&&delete e[r],Tt(e,r,(function(){return t[r]}),(function(e){t[r]=e}))||(e[r]=o))}var i};for(var o in t)r(o)}}(e,this,(function(e){return e&&-1===oa.indexOf(e)}))},e.prototype.emptyQueue=function(){var e=this;try{if(vt(e.snippet.queue)){for(var t=e.snippet.queue.length,n=0;n<t;n++){(0,e.snippet.queue[n])()}e.snippet.queue=void 0,delete e.snippet.queue}}catch(r){r&&ct(r.toString)&&r.toString()}},e.prototype.pollInternalLogs=function(){this.core.pollInternalLogs()},e.prototype.addHousekeepingBeforeUnload=function(e){if(qt()||Zt()){var t=function(){e.onunloadFlush(!1),wt(e.appInsights.core._extensions,(function(e){if(e.identifier===ir)return e&&e.context&&e.context._sessionManager&&e.context._sessionManager.backup(),-1}))};if(!e.appInsights.config.disableFlushOnBeforeUnload){var n=tr("beforeunload",t);n=tr("unload",t)||n,n=tr("pagehide",t)||n,(n=tr("visibilitychange",t)||n)||(r=$t())&&r.product&&"ReactNative"===r.product||e.appInsights.core.logger.throwInternal(U.CRITICAL,ae,"Could not add handler for beforeunload and pagehide")}e.appInsights.config.disableFlushOnUnload||(tr("pagehide",t),tr("visibilitychange",t))}var r},e.prototype.getSender=function(){return this._sender},e.prototype.getSKUDefaults=function(){var e=this;e.config.diagnosticLogInterval=e.config.diagnosticLogInterval&&e.config.diagnosticLogInterval>0?e.config.diagnosticLogInterval:1e4},e}());!function(){var e=null,t=["://js.monitor.azure.com/","://az416426.vo.msecnd.net/"];try{var n=(document||{}).currentScript;n&&(e=n.src)}catch(a){}if(e)try{var r=e.toLowerCase();if(r)for(var o="",i=0;i<t.length;i++)if(-1!==r.indexOf(t[i])){o="cdn"+(i+1),-1===r.indexOf("/scripts/")&&(-1!==r.indexOf("/next/")?o+="-next":-1!==r.indexOf("/beta/")&&(o+="-beta")),na=o+"";break}}catch(a){}}();var aa=function(){var e=(ra||(ra=new ia({config:{instrumentationKey:"6c1ff9d3-4df6-4f7c-a6ae-bc183a78fa7d",disableFetchTracking:!1,enableCorsCorrelation:!0,correlationHeaderExcludedDomains:["account-test.arlandaexpress.se","account-stage.arlandaexpress.se","account.arlandaexpress.se","*.cookiefirst.com","google-analytics.com","stats.g.doubleclick.net","*.eu.auth0.com"]}})),ra);e.loadAppInsights(),e.addTelemetryInitializer((function(e){e.data.App="Aex.Web.Ecom"}))},ua=function(e,t){try{ra.trackEvent({name:e},t)}catch(n){console.error("Failed tracking app insights "+e+" event")}},sa=function(e,t){try{ra.trackException({id:e,exception:t})}catch(n){console.error("Failed tracking app insights exception")}}},70859:function(e,t,n){"use strict";var r=n(67294),o=n(25444),i=n(55094),a=n(73863);t.Z=function(){var e=(0,r.useContext)(i.RD).locale,t=(0,o.useStaticQuery)(u),n=t.allContentfulArticlePage,s=t.allContentfulSimpleInfo,c=t.allContentfulKeyValueStore,l=t.allContentfulModal,f=t.allContentfulStartpage,d=n.edges.map((function(e){return{lang:e.node.node_locale,heading:e.node.heading,content:e.node.content.json,modalId:e.node.modalId,contentful_id:e.node.contentful_id}})).filter((function(t){return t.lang===e})),p=l.edges.map((function(e){return{lang:e.node.node_locale,heading:e.node.heading,content:e.node.content.json,modalId:e.node.modalId,contentful_id:e.node.contentful_id}})).filter((function(t){return t.lang===e})),h=s.edges.map((function(e){return{lang:e.node.node_locale,title:e.node.title,slug:e.node.slug,json:e.node.content.json}})).filter((function(t){return t.lang===e})).filter((function(e){return null!=e.slug})).map((function(e){return Object.assign({},e,{json:(0,a.vI)(e.lang,e.json)})})).reduce((function(e,t){var n;return Object.assign({},e,((n={})[t.slug]=t,n))}),{}),v=f.edges.map((function(e){return{lang:e.node.node_locale,startPageHeading:e.node.startPageHeading,title:e.node.title,startPageId:e.node.startPageId,metaDescription:e.node.metaDescription,contentSection:e.node.contentSection.map((function(e){return e}))}})).filter((function(t){return t.lang===e})).reduce((function(e,t){var n;return Object.assign({},e,((n={})[t.startPageId]=t,n))}),{}),g=c.edges.map((function(e){return{lang:e.node.node_locale,slug:e.node.slug,keyValueList:e.node.keyValueList}})).filter((function(t){return t.lang===e})).find((function(e){return"meta-descriptions"===e.slug})).keyValueList;return{modals:d.filter((function(e){return Boolean(e.modalId)})).reduce((function(e,t){return e[t.modalId]=t,e}),{}),startPage:v,contentfulModals:p.filter((function(e){return Boolean(e.modalId)})).reduce((function(e,t){return e[t.modalId]=t,e}),{}),simpleInfo:h,metaDescriptions:g}};var u="802582633"},61668:function(e,t,n){"use strict";var r=n(25444),o=n(67294),i=n(55094);t.Z=function(){var e=(0,o.useContext)(i.RD).locale;return(0,r.useStaticQuery)(a).rawData.edges.map((function(e){return{lang:e.node.name,translations:e.node.translations}})).filter((function(t){return t.lang===e}))[0].translations};var a="896731298"},29499:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return R},Link:function(){return Z},Location:function(){return M},LocationProvider:function(){return j},Match:function(){return Q},Redirect:function(){return J},Router:function(){return F},ServerLocation:function(){return L},createHistory:function(){return x},createMemorySource:function(){return S},globalHistory:function(){return E},isRedirect:function(){return $},matchPath:function(){return c},navigate:function(){return C},redirectTo:function(){return X},useLocation:function(){return ee},useMatch:function(){return re},useNavigate:function(){return te},useParams:function(){return ne}});var r=n(67294),o=n(41143),i=n.n(o),a=n(63639),u=function(e,t){return e.substr(0,t.length)===t},s=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],a=m(o),u=""===a[0],s=g(e),c=0,l=s.length;c<l;c++){var f=!1,p=s[c].route;if(p.default)r={route:p,params:{},uri:t};else{for(var v=m(p.path),y={},w=Math.max(a.length,v.length),_=0;_<w;_++){var x=v[_],S=a[_];if(h(x)){y[x.slice(1)||"*"]=a.slice(_).map(decodeURIComponent).join("/");break}if(void 0===S){f=!0;break}var k=d.exec(x);if(k&&!u){-1===b.indexOf(k[1])||i()(!1);var E=decodeURIComponent(S);y[k[1]]=E}else if(x!==S){f=!0;break}}if(!f){n={route:p,params:y,uri:"/"+a.slice(0,_).join("/")};break}}}return n||r||null},c=function(e,t){return s([{path:e}],t)},l=function(e,t){if(u(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],a=m(r),s=m(i);if(""===a[0])return y(i,o);if(!u(a[0],".")){var c=s.concat(a).join("/");return y(("/"===i?"":"/")+c,o)}for(var l=s.concat(a),f=[],d=0,p=l.length;d<p;d++){var h=l[d];".."===h?f.pop():"."!==h&&f.push(h)}return y("/"+f.join("/"),o)},f=function(e,t){var n=e.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+m(r).map((function(e){var n=d.exec(e);return n?t[n[1]]:e})).join("/"),u=t.location,s=(u=void 0===u?{}:u).search,c=(void 0===s?"":s).split("?")[1]||"";return a=y(a,i,c)},d=/^:(.+)/,p=function(e){return d.test(e)},h=function(e){return e&&"*"===e[0]},v=function(e,t){return{route:e,score:e.default?0:m(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?p(t)?e+=2:h(t)?e-=5:e+=3:e+=1,e}),0),index:t}},g=function(e){return e.map(v).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},m=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},b=["uri","path"],w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,i=t.origin,a=t.protocol,u=t.host,s=t.hostname,c=t.port,l=e.location.pathname;!l&&o&&k&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:u,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},x=function(e,t){var n=[],r=_(e),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(t){n.push(t);var o=function(){r=_(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=a.state,s=a.replace,c=void 0!==s&&s;if("number"==typeof t)e.history.go(t);else{u=w({},u,{key:Date.now()+""});try{o||c?e.history.replaceState(u,null,t):e.history.pushState(u,null,t)}catch(f){e.location[c?"replace":"assign"](t)}}r=_(e),o=!0;var l=new Promise((function(e){return i=e}));return n.forEach((function(e){return e({location:r,action:"PUSH"})})),l}}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(e,t,n){var a=n.split("?"),u=a[0],s=a[1],c=void 0===s?"":s;r++,o.push({pathname:u,search:c.length?"?"+c:c}),i.push(e)},replaceState:function(e,t,n){var a=n.split("?"),u=a[0],s=a[1],c=void 0===s?"":s;o[r]={pathname:u,search:c},i[r]=e},go:function(e){var t=r+e;t<0||t>i.length-1||(r=t)}}}},k=!("undefined"==typeof window||!window.document||!window.document.createElement),E=x(k?window:S()),C=E.navigate,I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function T(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var P=function(e,t){var n=(0,r.createContext)(t);return n.displayName=e,n},N=P("Location"),M=function(e){var t=e.children;return r.createElement(N.Consumer,null,(function(e){return e?t(e):r.createElement(j,null,t)}))},j=function(e){function t(){var n,r;O(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=A(this,e.call.apply(e,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},A(r,n)}return D(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!$(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return r.createElement(N.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(r.Component);j.defaultProps={history:E};var L=function(e){var t=e.url,n=e.children,o=t.indexOf("?"),i=void 0,a="";return o>-1?(i=t.substring(0,o),a=t.substring(o)):i=t,r.createElement(N.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},R=P("Base",{baseuri:"/",basepath:"/",navigate:E.navigate}),F=function(e){return r.createElement(R.Consumer,null,(function(t){return r.createElement(M,null,(function(n){return r.createElement(U,I({},t,n,e))}))}))},U=function(e){function t(){return O(this,t),A(this,e.apply(this,arguments))}return D(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,o=e.basepath,i=e.primary,a=e.children,u=(e.baseuri,e.component),c=void 0===u?"div":u,f=T(e,["location","navigate","basepath","primary","children","baseuri","component"]),d=r.Children.toArray(a).reduce((function(e,t){var n=ie(o)(t);return e.concat(n)}),[]),p=t.pathname,h=s(d,p);if(h){var v=h.params,g=h.uri,m=h.route,y=h.route.value;o=m.default?o:m.path.replace(/\*$/,"");var b=I({},v,{uri:g,location:t,navigate:function(e,t){return n(l(e,g),t)}}),w=r.cloneElement(y,b,y.props.children?r.createElement(F,{location:t,primary:i},y.props.children):void 0),_=i?z:c,x=i?I({uri:g,location:t,component:c},f):f;return r.createElement(R.Provider,{value:{baseuri:g,basepath:o,navigate:b.navigate}},r.createElement(_,x,w))}return null},t}(r.PureComponent);U.defaultProps={primary:!0};var B=P("Focus"),z=function(e){var t=e.uri,n=e.location,o=e.component,i=T(e,["uri","location","component"]);return r.createElement(B.Consumer,null,(function(e){return r.createElement(G,I({},i,{component:o,requestFocus:e,uri:t,location:n}))}))},V=!0,H=0,G=function(e){function t(){var n,r;O(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=A(this,e.call.apply(e,[this].concat(i))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},A(r,n)}return D(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return I({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return I({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){H++,this.focus()},t.prototype.componentWillUnmount=function(){0===--H&&(V=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()},t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):V?V=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),o=(t.requestFocus,t.component),i=void 0===o?"div":o,a=(t.uri,t.location,T(t,["children","style","requestFocus","component","uri","location"]));return r.createElement(i,I({style:I({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},a),r.createElement(B.Provider,{value:this.requestFocus},this.props.children))},t}(r.Component);(0,a.O)(G);var q=function(){},W=r.forwardRef;void 0===W&&(W=function(e){return e});var Z=W((function(e,t){var n=e.innerRef,o=T(e,["innerRef"]);return r.createElement(R.Consumer,null,(function(e){e.basepath;var i=e.baseuri;return r.createElement(M,null,(function(e){var a=e.location,s=e.navigate,c=o.to,f=o.state,d=o.replace,p=o.getProps,h=void 0===p?q:p,v=T(o,["to","state","replace","getProps"]),g=l(c,i),m=encodeURI(g),y=a.pathname===m,b=u(a.pathname,m);return r.createElement("a",I({ref:t||n,"aria-current":y?"page":void 0},v,h({isCurrent:y,isPartiallyCurrent:b,href:g,location:a}),{href:g,onClick:function(e){if(v.onClick&&v.onClick(e),ae(e)){e.preventDefault();var t=d;if("boolean"!=typeof d&&y){var n=I({},a.state),r=(n.key,T(n,["key"]));o=I({},f),i=r,t=(u=Object.keys(o)).length===Object.keys(i).length&&u.every((function(e){return i.hasOwnProperty(e)&&o[e]===i[e]}))}s(g,{state:f,replace:t})}var o,i,u}}))}))}))}));function K(e){this.uri=e}Z.displayName="Link";var $=function(e){return e instanceof K},X=function(e){throw new K(e)},Y=function(e){function t(){return O(this,t),A(this,e.apply(this,arguments))}return D(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,i=e.state,a=(e.noThrow,e.baseuri),u=T(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=l(n,a);t(f(e,u),{replace:o,state:i})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=T(e,["navigate","to","from","replace","state","noThrow","baseuri"]),i=l(t,r);return n||X(f(i,o)),null},t}(r.Component),J=function(e){return r.createElement(R.Consumer,null,(function(t){var n=t.baseuri;return r.createElement(M,null,(function(t){return r.createElement(Y,I({},t,{baseuri:n},e))}))}))},Q=function(e){var t=e.path,n=e.children;return r.createElement(R.Consumer,null,(function(e){var o=e.baseuri;return r.createElement(M,null,(function(e){var r=e.navigate,i=e.location,a=l(t,o),u=c(a,i.pathname);return n({navigate:r,location:i,match:u?I({},u.params,{uri:u.uri,path:t}):null})}))}))},ee=function(){var e=(0,r.useContext)(N);if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},te=function(){var e=(0,r.useContext)(R);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},ne=function(){var e=(0,r.useContext)(R);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var t=ee(),n=c(e.basepath,t.pathname);return n?n.params:null},re=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=(0,r.useContext)(R);if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=ee(),o=l(e,t.baseuri),i=c(o,n.pathname);return i?I({},i.params,{uri:i.uri,path:e}):null},oe=function(e){return e.replace(/(^\/+|\/+$)/g,"")},ie=function e(t){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,e(t));var o,a,u;if(n.props.path||n.props.default||n.type===J||i()(!1),n.type!==J||n.props.from&&n.props.to||i()(!1),n.type===J&&(o=n.props.from,a=n.props.to,u=function(e){return p(e)},m(o).filter(u).sort().join("/")!==m(a).filter(u).sort().join("/"))&&i()(!1),n.props.default)return{value:n,default:!0};var s=n.type===J?n.props.from:n.props.path,c="/"===s?t:oe(t)+"/"+oe(s);return{value:n,default:n.props.default,path:n.props.children?oe(c)+"/*":c}}},ae=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},41143:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;(s=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}}},function(e){"use strict";e.O(0,[9774,4446,6201,9569,4552,6909],(function(){return t=72871,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-330dad3c3e5e8e340c6f.js.map