@schibsted/account-sdk-browser 5.1.1 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -8
- package/es5/global.js +12 -5
- package/es5/global.js.map +1 -1
- package/es5/global.min.js +1 -1
- package/es5/global.min.js.map +1 -1
- package/es5/identity.js +12 -5
- package/es5/identity.js.map +1 -1
- package/es5/identity.min.js +1 -1
- package/es5/identity.min.js.map +1 -1
- package/es5/index.js +12 -5
- package/es5/index.js.map +1 -1
- package/es5/index.min.js +1 -1
- package/es5/index.min.js.map +1 -1
- package/es5/monetization.js +1 -1
- package/es5/monetization.js.map +1 -1
- package/es5/monetization.min.js +1 -1
- package/es5/monetization.min.js.map +1 -1
- package/package.json +1 -1
- package/src/identity.d.ts +11 -1
- package/src/identity.js +8 -3
- package/src/version.js +1 -1
package/es5/global.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){for(var r in e)t[r]=e[r]}(window,function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=148)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"f",(function(){return a})),r.d(e,"d",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"c",(function(){return s})),r.d(e,"h",(function(){return f})),r.d(e,"b",(function(){return l})),r.d(e,"g",(function(){return h}));r(40),r(16),r(25),r(21),r(29),r(141),r(109),r(26),r(27),r(28);var n=r(4);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Assertion failed";if(!t)throw new n.a(e)}function a(t){return"string"==typeof t}function c(t){return"string"==typeof t&&t.length>0}function u(t){return"object"===o(t)&&null!==t}function s(t){return u(t)&&Object.keys(t).length>0}function f(t){try{for(var e=new URL(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.every((function(t){return e[t]}))}catch(t){return!1}}function l(t){return"function"==typeof t}function h(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=function(e){return a(e)&&t.toUpperCase()===e.toUpperCase()};return!(!a(t)||!Array.isArray(e))&&(r?-1!==e.indexOf(t):e.some(n))}},function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r(149))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(1),o=r(43).f,i=r(14),a=r(15),c=r(86),u=r(113),s=r(70);t.exports=function(t,e){var r,f,l,h,p,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||c(v,{}):(n[v]||{}).prototype)for(f in e){if(h=e[f],l=t.noTargetGet?(p=o(r,f))&&p.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(r,f,h,t)}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));r(65),r(84),r(58),r(59),r(76),r(143),r(25),r(40),r(207),r(77),r(78),r(101),r(104),r(16),r(208),r(21),r(29),r(50),r(51),r(26),r(27),r(39),r(28);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=o.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"),"symbol"===n(a)?a:String(a)),o)}var i,a}function i(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return u(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)})(t)}function u(t,e,r){return(u=s()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o}).apply(null,arguments)}function s(){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(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=["boolean","number","string"],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(d,t);var e,r,c,u,p,v=(e=d,r=s(),function(){var t,n=l(e);if(r){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function d(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(r=v.call(this,t)).name="SDKError","object"===n(e))try{Object.assign(a(r),e)}catch(t){}return r}return c=d,(u=[{key:"toString",value:function(){var t=this,e="".concat(this.name,": ").concat(this.message),r=Object.keys(this).filter((function(e){return"name"!==e&&h.includes(n(t[e]))})).map((function(e){return" ".concat(e,": ").concat(t[e])})).join("\n");return r?"".concat(e,"\n").concat(r):e}}])&&o(c.prototype,u),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),d}(c(Error))},function(t,e,r){"use strict";var n,o=r(130),i=r(11),a=r(1),c=r(7),u=r(8),s=r(62),f=r(14),l=r(15),h=r(12).f,p=r(63),v=r(47),d=r(6),y=r(55),g=a.Int8Array,b=g&&g.prototype,m=a.Uint8ClampedArray,w=m&&m.prototype,x=g&&p(g),S=b&&p(b),O=Object.prototype,j=O.isPrototypeOf,E=d("toStringTag"),_=y("TYPED_ARRAY_TAG"),k=o&&!!v&&"Opera"!==s(a.opera),P=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L=function(t){return c(t)&&u(A,s(t))};for(n in A)a[n]||(k=!1);if((!k||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},k))for(n in A)a[n]&&v(a[n],x);if((!k||!S||S===O)&&(S=x.prototype,k))for(n in A)a[n]&&v(a[n].prototype,S);if(k&&p(w)!==S&&v(w,S),i&&!u(S,E))for(n in P=!0,h(S,E,{get:function(){return c(this)?this[_]:void 0}}),A)a[n]&&f(a[n],_,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_TAG:P&&_,aTypedArray:function(t){if(L(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(v){if(j.call(x,t))return t}else for(var e in A)if(u(A,n)){var r=a[e];if(r&&(t===r||j.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(i){if(r)for(var n in A){var o=a[n];o&&u(o.prototype,t)&&delete o.prototype[t]}S[t]&&!r||l(S,t,r?e:k&&b[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(i){if(v){if(r)for(n in A)(o=a[n])&&u(o,t)&&delete o[t];if(x[t]&&!r)return;try{return l(x,t,r?e:k&&g[t]||e)}catch(t){}}for(n in A)!(o=a[n])||o[t]&&!r||l(o,t,e)}},isView:function(t){var e=s(t);return"DataView"===e||u(A,e)},isTypedArray:L,TypedArray:x,TypedArrayPrototype:S}},function(t,e,r){var n=r(1),o=r(88),i=r(8),a=r(55),c=r(92),u=r(118),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(c&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(30),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(11),o=r(111),i=r(9),a=r(38),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(32);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(11),o=r(12),i=r(37);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(1),o=r(14),i=r(8),a=r(86),c=r(87),u=r(23),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!h&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(t,e,r){"use strict";var n=r(22),o=r(128),i=r(60),a=r(23),c=r(99),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var n={ENDPOINTS:{SPiD:{LOCAL:"http://id.localhost",DEV:"https://identity-dev.schibsted.com",PRE:"https://identity-pre.schibsted.com",PRO:"https://login.schibsted.com",PRO_NO:"https://payment.schibsted.no",PRO_FI:"https://login.schibsted.fi",PRO_DK:"https://login.schibsted.dk"},BFF:{LOCAL:"http://id.localhost/authn/",DEV:"https://identity-dev.schibsted.com/authn/",PRE:"https://identity-pre.schibsted.com/authn/",PRO:"https://login.schibsted.com/authn/",PRO_NO:"https://payment.schibsted.no/authn/",PRO_FI:"https://login.schibsted.fi/authn/",PRO_DK:"https://login.schibsted.dk/authn/"},SESSION_SERVICE:{LOCAL:"http://session-service.id.localhost",DEV:"https://session-service.identity-dev.schibsted.com",PRE:"https://session-service.identity-pre.schibsted.com",PRO:"https://session-service.login.schibsted.com",PRO_NO:"https://session-service.payment.schibsted.no",PRO_FI:"https://session-service.login.schibsted.fi",PRO_DK:"https://session-service.login.schibsted.dk"}},NAMESPACE:{LOCAL:"id.localhost",DEV:"schibsted.com",PRE:"schibsted.com",PRO:"schibsted.com",PRO_NO:"spid.no",PRO_FI:"schibsted.fi",PRO_DK:"schibsted.dk"}},o=n.ENDPOINTS,i=n.NAMESPACE},function(t,e,r){var n=r(41),o=r(54),i=r(13),a=r(10),c=r(117),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l;return function(p,v,d,y){for(var g,b,m=i(p),w=o(m),x=n(v,d,3),S=a(w.length),O=0,j=y||c,E=e?j(p,S):r?j(p,0):void 0;S>O;O++)if((h||O in w)&&(b=x(g=w[O],O,m),t))if(e)E[O]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(E,g)}else if(f)return!1;return l?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(0);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return Object(n.a)(Object(n.d)(t),'"url" param must be a non empty string: '.concat(o(t))),Object(n.c)(e)&&Object(n.h)(e[t])?e[t]:(Object(n.a)(Object(n.h)(t,"hostname"),"Bad URL given: '".concat(t,"'")),t)}},function(t,e,r){"use strict";r(59),r(76),r(81),r(145),r(25),r(102),r(16),r(21),r(29),r(141),r(109),r(58),r(218),r(143),r(40),r(50),r(51),r(26),r(27),r(39),r(28),r(105),r(106),r(107),r(108),r(78),r(79),r(65),r(77),r(80);var n=r(4),o=r(36),i=r(19),a=r(0);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var v="suspendedStart",d="executing",y="completed",g={};function b(){}function m(){}function w(){}var x={};l(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=b.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,u){var s=p(t[o],t,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==c(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=v;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?y:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),l(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(h(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),l(j,f,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==c(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===c(i)?i:String(i)),n)}var o,i}var l=function(t){return t.map((function(t){return Object(a.e)(t)?JSON.stringify(t,null,2):t})).join(" ")},h=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return"function"==typeof t&&t(l(r))};function p(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}var v=function(){function t(e){var r=e.serverUrl,n=void 0===r?"PRE":r,o=e.envDic,c=e.fetch,u=void 0===c?window.fetch&&window.fetch.bind(window):c,s=e.log,f=e.defaultParams,l=void 0===f?{}:f;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Object(a.a)(Object(a.e)(l),"defaultParams should be a non-null object"),this.url=new URL(Object(i.a)(n,o)),this.defaultParams=l,s&&(Object(a.a)(Object(a.b)(s),"log must be a function but it is ".concat(s)),this.log=s),u&&(Object(a.a)(Object(a.b)(u),"Fetch should be a function"),this.fetch=u)}var e,r,c,l,v;return e=t,r=[{key:"go",value:(l=u().mark((function t(e){var r,i,c,s,f,l,p,v,d,y,g,b,m;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.method,i=e.headers,c=e.pathname,s=e.data,f=void 0===s?{}:s,l=e.useDefaultParams,p=void 0===l||l,v=e.fetchOptions,d=void 0===v?{method:r,credentials:"include"}:v,Object(a.a)(Object(a.b)(this.fetch),"Can't make a call. The reference to fetch is missing or not a function."),Object(a.a)(Object(a.d)(r),'Method must be a non empty string but it is "'.concat(r,'"')),Object(a.a)(Object(a.d)(c),'Pathname must be string but it is "'.concat(c,'"')),Object(a.a)(Object(a.e)(f),"data must be a non-null object"),d.headers=Object(a.e)(i)?Object(o.b)(i):{},y=this.makeUrl(c,f,p),h(this.log,"Request:",d.method.toUpperCase(),y),h(this.log,"Request Headers:",d.headers),h(this.log,"Request Body:",d.body),t.prev=10,t.next=13,this.fetch(y,d);case 13:if(g=t.sent,h(this.log,"Response Code:",g.status,g.statusText),g.ok){t.next=17;break}throw new n.a(g.statusText,{code:g.status});case 17:return t.next=19,g.json();case 19:return b=t.sent,h(this.log,"Response Parsed:",b),t.abrupt("return",b);case 24:throw t.prev=24,t.t0=t.catch(10),m=Object(a.f)(t.t0)?t.t0:"Unknown RESTClient error",Object(a.e)(t.t0)&&Object(a.f)(t.t0.message)&&(m=t.t0.message),new n.a("Failed to '".concat(r,"' '").concat(y,"': '").concat(m,"'"),t.t0);case 29:case"end":return t.stop()}}),t,this,[[10,24]])})),v=function(){var t=this,e=arguments;return new Promise((function(r,n){var o=l.apply(t,e);function i(t){s(o,r,n,i,a,"next",t)}function a(t){s(o,r,n,i,a,"throw",t)}i(void 0)}))},function(t){return v.apply(this,arguments)})},{key:"makeUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new URL(e,this.url);return o.search=t.search(r,n,this.defaultParams),o.href}},{key:"get",value:function(t,e){return this.go({method:"get",pathname:t,data:e})}}],c=[{key:"search",value:function(t,e,r){var n=e?Object(o.b)(r,t):Object(o.b)(t);return Object.keys(n).filter((function(t){return""!==n[t]})).map((function(t){return"".concat(p(t),"=").concat(p(n[t]))})).join("&")}}],r&&f(e.prototype,r),c&&f(e,c),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.a=v},function(t,e,r){"use strict";var n=r(98).charAt,o=r(23),i=r(99),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(54),o=r(32);t.exports=function(t){return n(o(t))}},function(t,e,r){var n,o,i,a=r(150),c=r(1),u=r(7),s=r(14),f=r(8),l=r(68),h=r(56),p=c.WeakMap;if(a){var v=new p,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var b=l("state");h[b]=!0,n=function(t,e){return s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(12).f,o=r(8),i=r(6)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(97),o=r(15),i=r(161);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(33),a=r(44),c=r(11),u=r(92),s=r(118),f=r(2),l=r(8),h=r(71),p=r(7),v=r(9),d=r(13),y=r(22),g=r(38),b=r(37),m=r(34),w=r(57),x=r(45),S=r(203),O=r(90),j=r(43),E=r(12),_=r(67),k=r(14),P=r(15),A=r(88),L=r(68),I=r(56),T=r(55),U=r(6),R=r(139),C=r(64),N=r(24),F=r(23),M=r(18).forEach,D=L("hidden"),B=U("toPrimitive"),G=F.set,V=F.getterFor("Symbol"),q=Object.prototype,W=o.Symbol,Y=i("JSON","stringify"),z=j.f,$=E.f,H=S.f,K=_.f,J=A("symbols"),X=A("op-symbols"),Q=A("string-to-symbol-registry"),Z=A("symbol-to-string-registry"),tt=A("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=c&&f((function(){return 7!=m($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=z(q,e);n&&delete q[e],$(t,e,r),n&&t!==q&&$(q,e,n)}:$,ot=function(t,e){var r=J[t]=m(W.prototype);return G(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},at=function(t,e,r){t===q&&at(X,e,r),v(t);var n=g(e,!0);return v(r),l(J,n)?(r.enumerable?(l(t,D)&&t[D][n]&&(t[D][n]=!1),r=m(r,{enumerable:b(0,!1)})):(l(t,D)||$(t,D,b(1,{})),t[D][n]=!0),nt(t,n,r)):$(t,n,r)},ct=function(t,e){v(t);var r=y(e),n=w(r).concat(lt(r));return M(n,(function(e){c&&!ut.call(r,e)||at(t,e,r[e])})),t},ut=function(t){var e=g(t,!0),r=K.call(this,e);return!(this===q&&l(J,e)&&!l(X,e))&&(!(r||!l(this,e)||!l(J,e)||l(this,D)&&this[D][e])||r)},st=function(t,e){var r=y(t),n=g(e,!0);if(r!==q||!l(J,n)||l(X,n)){var o=z(r,n);return!o||!l(J,n)||l(r,D)&&r[D][n]||(o.enumerable=!0),o}},ft=function(t){var e=H(y(t)),r=[];return M(e,(function(t){l(J,t)||l(I,t)||r.push(t)})),r},lt=function(t){var e=t===q,r=H(e?X:y(t)),n=[];return M(r,(function(t){!l(J,t)||e&&!l(q,t)||n.push(J[t])})),n};(u||(P((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=T(t),r=function(t){this===q&&r.call(X,t),l(this,D)&&l(this[D],e)&&(this[D][e]=!1),nt(this,e,b(1,t))};return c&&rt&&nt(q,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return V(this).tag})),P(W,"withoutSetter",(function(t){return ot(T(t),t)})),_.f=ut,E.f=at,j.f=st,x.f=S.f=ft,O.f=lt,R.f=function(t){return ot(U(t),t)},c&&($(W.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),a||P(q,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),M(w(tt),(function(t){C(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var r=W(e);return Q[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(d(t))}}),Y)&&n({target:"JSON",stat:!0,forced:!u||f((function(){var t=W();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!it(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,Y.apply(null,o)}});W.prototype[B]||k(W.prototype,B,W.prototype.valueOf),N(W,"Symbol"),I[D]=!0},function(t,e,r){"use strict";var n=r(3),o=r(11),i=r(1),a=r(8),c=r(7),u=r(12).f,s=r(113),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(h,f);var p=h.prototype=f.prototype;p.constructor=h;var v=p.toString,d="Symbol(test)"==String(f("test")),y=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var r=d?e.slice(7,-1):e.replace(y,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},function(t,e,r){r(64)("iterator")},function(t,e,r){var n=r(1),o=r(140),i=r(16),a=r(14),c=r(6),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var h=n[l],p=h&&h.prototype;if(p){if(p[u]!==f)try{a(p,u,f)}catch(t){p[u]=f}if(p[s]||a(p,s,l),o[l])for(var v in i)if(p[v]!==i[v])try{a(p,v,i[v])}catch(t){p[v]=i[v]}}}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(114),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e,r){var n,o=r(9),i=r(120),a=r(89),c=r(56),u=r(121),s=r(85),f=r(68),l=f("IE_PROTO"),h=function(){},p=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;v=n?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h.prototype=o(t),r=new h,h.prototype=null,r[l]=t):r=v(),void 0===e?r:i(r,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){"use strict";r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return s}));r(25),r(79),r(212),r(40),r(26),r(27),r(28),r(16),r(21),r(29),r(80),r(101),r(65),r(122),r(81);var n=r(0),o=r(4);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(){for(var t={},e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];if(!r||!r.length)throw new o.a("No objects to clone");return r.forEach((function(e){Object(n.a)(Object(n.e)(e)),Object(n.c)(e)&&Object.entries(e).forEach((function(e){var r=a(e,2),o=r[0],i=r[1];void 0!==i&&(t[o]=Object(n.e)(i)?s(i):i)}))})),t}function s(t){return Object(n.a)("object"===i(t),"obj should be an object (even null) but it is ".concat(t)),JSON.parse(JSON.stringify(t))||t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){"use strict";var n=r(11),o=r(1),i=r(70),a=r(15),c=r(8),u=r(31),s=r(95),f=r(38),l=r(2),h=r(34),p=r(45).f,v=r(43).f,d=r(12).f,y=r(157).trim,g=o.Number,b=g.prototype,m="Number"==u(h(b)),w=function(t){var e,r,n,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var x,S=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof S&&(m?l((function(){b.valueOf.call(r)})):"Number"!=u(r))?s(new g(w(e)),r,S):w(e)},O=n?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),j=0;O.length>j;j++)c(g,x=O[j])&&!c(S,x)&&d(S,x,v(g,x));S.prototype=b,b.constructor=S,a(o,"Number",S)}},function(t,e,r){var n=r(3),o=r(13),i=r(57);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,r){var n=r(35);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(11),o=r(67),i=r(37),a=r(22),c=r(38),u=r(8),s=r(111),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=!1},function(t,e,r){var n=r(115),o=r(89).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(30),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(9),o=r(156);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){var n=r(9),o=r(35),i=r(6)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n=r(11),o=r(2),i=r(8),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var r=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},function(t,e,r){r(64)("toPrimitive")},function(t,e,r){var n=r(14),o=r(202),i=r(6)("toPrimitive"),a=Date.prototype;i in a||n(a,i,o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(0);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){null!==t.SPiD&&"object"===o(t.SPiD)||(t.SPiD={}),null!==t.SPiD.Talk&&"object"===o(t.SPiD.Talk)||(t.SPiD.Talk={}),Object(n.b)(t.SPiD.Talk.response)||(t.SPiD.Talk.response=function(e,r){return t[e](r)})}},function(t,e,r){"use strict";e.a="5.1.1"},function(t,e,r){var n=r(2),o=r(31),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports={}},function(t,e,r){var n=r(115),o=r(89);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){"use strict";var n=r(3),o=r(2),i=r(71),a=r(7),c=r(13),u=r(10),s=r(91),f=r(117),l=r(72),h=r(6),p=r(93),v=h("isConcatSpreadable"),d=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var e,r,n,o,i,a=c(this),l=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?a:arguments[e])){if(h+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,h++)r in i&&s(l,h,i[r])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,h++,i)}return l.length=h,l}})},function(t,e,r){"use strict";var n=r(3),o=r(54),i=r(22),a=r(73),c=[].join,u=o!=Object,s=a("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},function(t,e){t.exports={}},function(t,e,r){var n=r(62),o=r(60),i=r(6)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(97),o=r(31),i=r(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(8),o=r(13),i=r(68),a=r(127),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(114),o=r(8),i=r(139),a=r(12).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(11),o=r(12).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;n&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));r(81),r(145),r(40),r(119),r(39),r(50),r(51),r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(4);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(i=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"),"symbol"===o(a)?a:String(a)),n)}var i,a}function a(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=a((function t(e){var r=this;c(this,t),this.store=e,this.get=function(t){return r.store.getItem(t)},this.set=function(t,e){return r.store.setItem(t,e)},this.delete=function(t){return r.store.removeItem(t)}})),s=a((function t(){var e=this;c(this,t),this.store={},this.get=function(t){return e.store[t]},this.set=function(t,r){return e.store[t]=r},this.delete=function(t){return delete e.store[t]}})),f=Math.pow(2,31)-1,l=function(){function t(e){c(this,t),!function(t){if(!t)return!1;try{var e=t(),r="x-x-x-x".replace(/x/g,(function(){return Math.random()}));e.setItem(r,"TEST-VALUE");var n=e.getItem(r);return e.removeItem(r),"TEST-VALUE"===n}catch(t){return!1}}(e)?(this.cache=new s,this.type="ObjectLiteralStorage"):(this.cache=new u(e()),this.type="WebStorage")}return a(t,[{key:"get",value:function(t){try{var e=function(t){try{return JSON.parse(t)}catch(t){return null}}(this.cache.get(t));return e&&Number.isInteger(e.expiresOn)&&e.expiresOn>Date.now()?e.value:(this.delete(t),null)}catch(t){throw new n.a(t)}}},{key:"set",value:function(t,e){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(o<=0)){o=Math.min(f,o);try{var i=Math.floor(Date.now()+o);this.cache.set(t,JSON.stringify({expiresOn:i,value:e})),setTimeout((function(){return r.delete(t)}),o)}catch(t){throw new n.a(t)}}}},{key:"delete",value:function(t){try{this.cache.delete(t)}catch(t){throw new n.a(t)}}}]),t}()},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(88),o=r(55),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(22),o=r(10),i=r(46),a=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(31);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(2),o=r(6),i=r(93),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){var n=r(15);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(3),o=r(18).map,i=r(72),a=r(49),c=i("map"),u=a("map");n({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){r(3)({target:"Object",stat:!0},{setPrototypeOf:r(47)})},function(t,e,r){var n=r(3),o=r(2),i=r(13),a=r(63),c=r(127);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,r){var n=r(1),o=r(140),i=r(204),a=r(14);for(var c in o){var u=n[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(t){s.forEach=i}}},function(t,e,r){"use strict";var n=r(3),o=r(7),i=r(71),a=r(46),c=r(10),u=r(22),s=r(91),f=r(6),l=r(72),h=r(49),p=l("slice"),v=h("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),y=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!p||!v},{slice:function(t,e){var r,n,f,l=u(this),h=c(l.length),p=a(t,h),v=a(void 0===e?h:e,h);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return y.call(l,p,v);for(n=new(void 0===r?Array:r)(g(v-p,0)),f=0;p<v;p++,f++)p in l&&s(n,f,l[p]);return n.length=f,n}})},function(t,e,r){"use strict";var n=r(3),o=r(110);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e){function r(){}r.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,a=n.length;i<a;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}},t.exports=r,t.exports.TinyEmitter=r},function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));r(59),r(76),r(40),r(58),r(216),r(39);var n=r(0),o=r(36);function i(t){return Object(n.a)(Object(n.e)(t),"Object must be an object but it is '".concat(t,"'")),Object.keys(t).map((function(e){return"".concat(e,"=").concat(t[e])})).join(",")}var a={scrollbars:"yes",location:"yes",status:"no",menubar:"no",toolbar:"no",resizable:"yes"};function c(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Object(n.a)(Object(n.e)(t),"window was supposed to be an object but it is ".concat(t)),Object(n.a)(Object(n.e)(t.screen),"window should be a valid Window object but it lacks a 'screen' property"),Object(n.a)(Object(n.b)(t.open),"window should be a valid Window object but it lacks an 'open' function"),Object(n.a)(Object(n.h)(e),"Invalid URL for popup");var u=t.screen,s=u.height,f=u.width,l=Object(o.b)(a,c);Number.isFinite(l.width)&&Number.isFinite(f)&&(l.left=(f-l.width)/2),Number.isFinite(l.height)&&Number.isFinite(s)&&(l.top=(s-l.height)/2);var h=i(l);return t.open(e,r,h)}},function(t,e,r){var n=r(3),o=r(116);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){var n=r(1),o=r(7),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(1),o=r(14);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(112),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(44),o=r(112);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(38),o=r(12),i=r(37);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,e,r){var n=r(2);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){var n,o,i=r(1),a=r(94),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(33);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(7),o=r(47);t.exports=function(t,e,r){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(t,a),t}},function(t,e,r){var n=r(6),o=r(60),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,r){var n={};n[r(6)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(30),o=r(32),i=function(t){return function(e,r){var i,a,c=String(o(e)),u=n(r),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){"use strict";var n=r(3),o=r(125),i=r(63),a=r(47),c=r(24),u=r(14),s=r(15),f=r(6),l=r(44),h=r(60),p=r(126),v=p.IteratorPrototype,d=p.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,p,b,m){o(r,e,f);var w,x,S,O=function(t){if(t===p&&P)return P;if(!d&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",E=!1,_=t.prototype,k=_[y]||_["@@iterator"]||p&&_[p],P=!d&&k||O(p),A="Array"==e&&_.entries||k;if(A&&(w=i(A.call(new t)),v!==Object.prototype&&w.next&&(l||i(w)===v||(a?a(w,v):"function"!=typeof w[y]&&u(w,y,g)),c(w,j,!0,!0),l&&(h[j]=g))),"values"==p&&k&&"values"!==k.name&&(E=!0,P=function(){return k.call(this)}),l&&!m||_[y]===P||u(_,y,P),h[e]=P,p)if(x={values:O("values"),keys:b?P:O("keys"),entries:O("entries")},m)for(S in x)(d||E||!(S in _))&&s(_,S,x[S]);else n({target:e,proto:!0,forced:d||E},x);return x}},function(t,e,r){"use strict";var n=r(33),o=r(12),i=r(6),a=r(11),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";var n=r(15),o=r(9),i=r(2),a=r(135),c=RegExp.prototype,u=c.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&n(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in c)?a.call(t):r)}),{unsafe:!0})},function(t,e,r){"use strict";var n,o,i,a,c=r(3),u=r(44),s=r(1),f=r(33),l=r(196),h=r(15),p=r(75),v=r(24),d=r(100),y=r(7),g=r(35),b=r(42),m=r(31),w=r(87),x=r(103),S=r(74),O=r(48),j=r(136).set,E=r(197),_=r(198),k=r(199),P=r(138),A=r(200),L=r(23),I=r(70),T=r(6),U=r(93),R=T("species"),C="Promise",N=L.get,F=L.set,M=L.getterFor(C),D=l,B=s.TypeError,G=s.document,V=s.process,q=f("fetch"),W=P.f,Y=W,z="process"==m(V),$=!!(G&&G.createEvent&&s.dispatchEvent),H=I(C,(function(){if(!(w(D)!==String(D))){if(66===U)return!0;if(!z&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!D.prototype.finally)return!0;if(U>=51&&/native code/.test(D))return!1;var t=D.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[R]=e,!(t.then((function(){}))instanceof e)})),K=H||!S((function(t){D.all(t).catch((function(){}))})),J=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;E((function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var c,u,s,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?p(B("Promise-chain cycle")):(u=J(c))?u.call(c,h,p):h(c)):p(o)}catch(t){v&&!s&&v.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Z(t,e)}))}},Q=function(t,e,r){var n,o;$?((n=G.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(o=s["on"+t])?o(n):"unhandledrejection"===t&&k("Unhandled promise rejection",r)},Z=function(t,e){j.call(s,(function(){var r,n=e.value;if(tt(e)&&(r=A((function(){z?V.emit("unhandledRejection",n,t):Q("unhandledrejection",t,n)})),e.rejection=z||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){j.call(s,(function(){z?V.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(o){t(e,r,o,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,X(t,e,!0))},ot=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw B("Promise can't be resolved itself");var o=J(r);o?E((function(){var n={done:!1};try{o.call(r,rt(ot,t,n,e),rt(nt,t,n,e))}catch(r){nt(t,n,r,e)}})):(e.value=r,e.state=1,X(t,e,!1))}catch(r){nt(t,{done:!1},r,e)}}};H&&(D=function(t){b(this,D,C),g(t),n.call(this);var e=N(this);try{t(rt(ot,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){F(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(D.prototype,{then:function(t,e){var r=M(this),n=W(O(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=z?V.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&X(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(nt,t,e)},P.f=W=function(t){return t===D||t===i?new o(t):Y(t)},u||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var r=this;return new D((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof q&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(D,q.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:H},{Promise:D}),v(D,C,!1,!0),d(C),i=f(C),c({target:C,stat:!0,forced:H},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),c({target:C,stat:!0,forced:u||H},{resolve:function(t){return _(u&&this===i?D:this,t)}}),c({target:C,stat:!0,forced:K},{all:function(t){var e=this,r=W(e),n=r.resolve,o=r.reject,i=A((function(){var r=g(e.resolve),i=[],a=0,c=1;x(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=W(e),n=r.reject,o=A((function(){var o=g(e.resolve);x(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){var n=r(9),o=r(96),i=r(10),a=r(41),c=r(61),u=r(124),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var h,p,v,d,y,g,b,m=a(e,r,f?2:1);if(l)h=t;else{if("function"!=typeof(p=c(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,d=i(t.length);d>v;v++)if((y=f?m(n(b=t[v])[0],b[1]):m(t[v]))&&y instanceof s)return y;return new s(!1)}h=p.call(t)}for(g=h.next;!(b=g.call(h)).done;)if("object"==typeof(y=u(h,m,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,e,r){var n=r(3),o=r(33),i=r(35),a=r(9),c=r(7),u=r(34),s=r(201),f=r(2),l=o("Reflect","construct"),h=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),p=!f((function(){l((function(){}))})),v=h||p;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),a(e);var r=arguments.length<3?t:i(arguments[2]);if(p&&!h)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(s.apply(t,n))}var o=r.prototype,f=u(c(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return c(v)?v:f}})},function(t,e,r){r(64)("asyncIterator")},function(t,e,r){r(64)("toStringTag")},function(t,e,r){var n=r(1);r(24)(n.JSON,"JSON",!0)},function(t,e,r){r(24)(Math,"Math",!0)},function(t,e,r){"use strict";r(16);var n=r(3),o=r(33),i=r(142),a=r(15),c=r(75),u=r(24),s=r(125),f=r(23),l=r(42),h=r(8),p=r(41),v=r(62),d=r(9),y=r(7),g=r(34),b=r(37),m=r(206),w=r(61),x=r(6),S=o("fetch"),O=o("Headers"),j=x("iterator"),E=f.set,_=f.getterFor("URLSearchParams"),k=f.getterFor("URLSearchParamsIterator"),P=/\+/g,A=Array(4),L=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},T=function(t){var e=t.replace(P," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(L(r--),I);return e}},U=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(t){return R[t]},N=function(t){return encodeURIComponent(t).replace(U,C)},F=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:T(n.shift()),value:T(n.join("="))}))},M=function(t){this.entries.length=0,F(this.entries,t)},D=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=s((function(t,e){E(this,{type:"URLSearchParamsIterator",iterator:m(_(t).entries),kind:e})}),"Iterator",(function(){var t=k(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),G=function(){l(this,G,"URLSearchParams");var t,e,r,n,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,f=this,p=[];if(E(f,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:M}),void 0!==s)if(y(s))if("function"==typeof(t=w(s)))for(r=(e=t.call(s)).next;!(n=r.call(e)).done;){if((a=(i=(o=m(d(n.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(u in s)h(s,u)&&p.push({key:u,value:s[u]+""});else F(p,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},V=G.prototype;c(V,{append:function(t,e){D(arguments.length,2);var r=_(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){D(arguments.length,1);for(var e=_(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){D(arguments.length,1);for(var r,n=_(this),o=n.entries,i=!1,a=t+"",c=e+"",u=0;u<o.length;u++)(r=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,r.value=c));i||o.push({key:a,value:c}),n.updateURL()},sort:function(){var t,e,r,n=_(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=_(this).entries,n=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(V,j,V.entries),a(V,"toString",(function(){for(var t,e=_(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),u(G,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:G}),i||"function"!=typeof S||"function"!=typeof O||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&(r=e.body,"URLSearchParams"===v(r)&&((n=e.headers?new O(e.headers):new O).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:b(0,String(r)),headers:b(0,n)}))),o.push(e)),S.apply(this,o)}}),t.exports={URLSearchParams:G,getState:_}},function(t,e,r){"use strict";var n,o,i=r(135),a=r(214),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||l)&&(s=function(t){var e,r,n,o,a=this,s=l&&a.sticky,p=i.call(a),v=a.source,d=0,y=t;return s&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),y=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",y=" "+y,d++),r=new RegExp("^(?:"+v+")",p)),h&&(r=new RegExp("^"+v+"$(?!\\s)",p)),f&&(e=a.lastIndex),n=c.call(s?r:a,y),s?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),h&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},function(t,e,r){var n=r(11),o=r(2),i=r(85);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(1),o=r(86),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(8),o=r(151),i=r(43),a=r(12);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||c(t,f,u(e,f))}}},function(t,e,r){var n=r(1);t.exports=n},function(t,e,r){var n=r(8),o=r(22),i=r(69).indexOf,a=r(56);t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){"use strict";var n=r(11),o=r(2),i=r(57),a=r(90),c=r(67),u=r(13),s=r(54),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var r=u(t),o=arguments.length,f=1,l=a.f,h=c.f;o>f;)for(var p,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)p=d[g++],n&&!h.call(v,p)||(r[p]=v[p]);return r}:f},function(t,e,r){var n=r(7),o=r(71),i=r(6)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(92);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){r(3)({target:"Number",stat:!0},{isInteger:r(155)})},function(t,e,r){var n=r(11),o=r(12),i=r(9),a=r(57);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,u=0;c>u;)o.f(t,r=n[u++],e[r]);return t}},function(t,e,r){var n=r(33);t.exports=n("document","documentElement")},function(t,e,r){var n=r(3),o=r(123);n({target:"Array",stat:!0,forced:!r(74)((function(t){Array.from(t)}))},{from:o})},function(t,e,r){"use strict";var n=r(41),o=r(13),i=r(124),a=r(96),c=r(10),u=r(91),s=r(61);t.exports=function(t){var e,r,f,l,h,p,v=o(t),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,b=void 0!==g,m=s(v),w=0;if(b&&(g=n(g,y>2?arguments[2]:void 0,2)),null==m||d==Array&&a(m))for(r=new d(e=c(v.length));e>w;w++)p=b?g(v[w],w):v[w],u(r,w,p);else for(h=(l=m.call(v)).next,r=new d;!(f=h.call(l)).done;w++)p=b?i(l,g,[f.value,w],!0):f.value,u(r,w,p);return r.length=w,r}},function(t,e,r){var n=r(9);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){"use strict";var n=r(126).IteratorPrototype,o=r(34),i=r(37),a=r(24),c=r(60),u=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,s,!1,!0),c[s]=u,t}},function(t,e,r){"use strict";var n,o,i,a=r(63),c=r(14),u=r(8),s=r(6),f=r(44),l=s("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0),null==n&&(n={}),f||u(n,l)||c(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(6),o=r(34),i=r(12),a=n("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},function(t,e,r){"use strict";var n=r(1),o=r(11),i=r(130),a=r(14),c=r(75),u=r(2),s=r(42),f=r(30),l=r(10),h=r(131),p=r(160),v=r(63),d=r(47),y=r(45).f,g=r(12).f,b=r(132),m=r(24),w=r(23),x=w.get,S=w.set,O=n.ArrayBuffer,j=O,E=n.DataView,_=E&&E.prototype,k=Object.prototype,P=n.RangeError,A=p.pack,L=p.unpack,I=function(t){return[255&t]},T=function(t){return[255&t,t>>8&255]},U=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},C=function(t){return A(t,23,4)},N=function(t){return A(t,52,8)},F=function(t,e){g(t.prototype,e,{get:function(){return x(this)[e]}})},M=function(t,e,r,n){var o=h(r),i=x(t);if(o+e>i.byteLength)throw P("Wrong index");var a=x(i.buffer).bytes,c=o+i.byteOffset,u=a.slice(c,c+e);return n?u:u.reverse()},D=function(t,e,r,n,o,i){var a=h(r),c=x(t);if(a+e>c.byteLength)throw P("Wrong index");for(var u=x(c.buffer).bytes,s=a+c.byteOffset,f=n(+o),l=0;l<e;l++)u[s+l]=f[i?l:e-l-1]};if(i){if(!u((function(){O(1)}))||!u((function(){new O(-1)}))||u((function(){return new O,new O(1.5),new O(NaN),"ArrayBuffer"!=O.name}))){for(var B,G=(j=function(t){return s(this,j),new O(h(t))}).prototype=O.prototype,V=y(O),q=0;V.length>q;)(B=V[q++])in j||a(j,B,O[B]);G.constructor=j}d&&v(_)!==k&&d(_,k);var W=new E(new j(2)),Y=_.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(_,{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},{unsafe:!0})}else j=function(t){s(this,j,"ArrayBuffer");var e=h(t);S(this,{bytes:b.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},E=function(t,e,r){s(this,E,"DataView"),s(t,j,"DataView");var n=x(t).byteLength,i=f(e);if(i<0||i>n)throw P("Wrong offset");if(i+(r=void 0===r?n-i:l(r))>n)throw P("Wrong length");S(this,{buffer:t,byteLength:r,byteOffset:i}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=i)},o&&(F(j,"byteLength"),F(E,"buffer"),F(E,"byteLength"),F(E,"byteOffset")),c(E.prototype,{getInt8:function(t){return M(this,1,t)[0]<<24>>24},getUint8:function(t){return M(this,1,t)[0]},getInt16:function(t){var e=M(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=M(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return R(M(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return R(M(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return L(M(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return L(M(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){D(this,1,t,I,e)},setUint8:function(t,e){D(this,1,t,I,e)},setInt16:function(t,e){D(this,2,t,T,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){D(this,2,t,T,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){D(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){D(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){D(this,4,t,C,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){D(this,8,t,N,e,arguments.length>2?arguments[2]:void 0)}});m(j,"ArrayBuffer"),m(E,"DataView"),t.exports={ArrayBuffer:j,DataView:E}},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,r){var n=r(30),o=r(10);t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=o(e);if(e!==r)throw RangeError("Wrong length or index");return r}},function(t,e,r){"use strict";var n=r(13),o=r(46),i=r(10);t.exports=function(t){for(var e=n(this),r=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,s=void 0===u?r:o(u,r);s>c;)e[c++]=t;return e}},function(t,e,r){var n=r(165);t.exports=function(t,e){var r=n(t);if(r%e)throw RangeError("Wrong offset");return r}},function(t,e,r){var n=r(35),o=r(13),i=r(54),a=r(10),c=function(t){return function(e,r,c,u){n(r);var s=o(e),f=i(s),l=a(s.length),h=t?l-1:0,p=t?-1:1;if(c<2)for(;;){if(h in f){u=f[h],h+=p;break}if(h+=p,t?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:l>h;h+=p)h in f&&(u=r(u,f[h],h,s));return u}};t.exports={left:c(!1),right:c(!0)}},function(t,e,r){"use strict";var n=r(9);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,r){var n,o,i,a=r(1),c=r(2),u=r(31),s=r(41),f=r(121),l=r(85),h=r(137),p=a.location,v=a.setImmediate,d=a.clearImmediate,y=a.process,g=a.MessageChannel,b=a.Dispatch,m=0,w={},x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},S=function(t){return function(){x(t)}},O=function(t){x(t.data)},j=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};v&&d||(v=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return w[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},d=function(t){delete w[t]},"process"==u(y)?n=function(t){y.nextTick(S(t))}:b&&b.now?n=function(t){b.now(S(t))}:g&&!h?(i=(o=new g).port2,o.port1.onmessage=O,n=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(j)||"file:"===p.protocol?n="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),x(t)}}:function(t){setTimeout(S(t),0)}:(n=j,a.addEventListener("message",O,!1))),t.exports={set:v,clear:d}},function(t,e,r){var n=r(94);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){"use strict";var n=r(35),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},function(t,e,r){var n=r(6);e.f=n},function(t,e){t.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}},function(t,e,r){"use strict";r(21);var n,o=r(3),i=r(11),a=r(142),c=r(1),u=r(120),s=r(15),f=r(42),l=r(8),h=r(116),p=r(123),v=r(98).codeAt,d=r(205),y=r(24),g=r(109),b=r(23),m=c.URL,w=g.URLSearchParams,x=g.getState,S=b.set,O=b.getterFor("URL"),j=Math.floor,E=Math.pow,_=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,P=/\d/,A=/^(0x|0X)/,L=/^[0-7]+$/,I=/^\d+$/,T=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,C=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,F=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=D(e.slice(1,-1))))return"Invalid host";t.host=r}else if($(t)){if(e=d(e),U.test(e))return"Invalid host";if(null===(r=M(e)))return"Invalid host";t.host=r}else{if(R.test(e))return"Invalid host";for(r="",n=p(e),o=0;o<n.length;o++)r+=Y(n[o],G);t.host=r}},M=function(t){var e,r,n,o,i,a,c,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=u[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?L:T).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=E(256,5-e))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*E(256,3-n);return c},D=function(t){var e,r,n,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++s}for(;h();){if(8==s)return;if(":"!=h()){for(e=r=0;r<4&&T.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,s>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!P.test(h()))return;for(;P.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;u[s++]=e}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(a=s-f,s=7;0!=s&&a>0;)c=u[s],u[s--]=u[f+a-1],u[f+--a]=c;else if(8!=s)return;return u},B=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=j(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},G={},V=h({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),q=h({},V,{"#":1,"?":1,"{":1,"}":1}),W=h({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var r=v(t,0);return r>32&&r<127&&!l(e,t)?t:encodeURIComponent(t)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(t){return l(z,t.scheme)},H=function(t){return""!=t.username||""!=t.password},K=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},J=function(t,e){var r;return 2==t.length&&_.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},X=function(t){var e;return t.length>1&&J(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&J(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},at={},ct={},ut={},st={},ft={},lt={},ht={},pt={},vt={},dt={},yt={},gt={},bt={},mt={},wt={},xt=function(t,e,r,o){var i,a,c,u,s,f=r||tt,h=0,v="",d=!1,y=!1,g=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(C,"")),e=e.replace(N,""),i=p(e);h<=i.length;){switch(a=i[h],f){case tt:if(!a||!_.test(a)){if(r)return"Invalid scheme";f=rt;continue}v+=a.toLowerCase(),f=et;break;case et:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))v+=a.toLowerCase();else{if(":"!=a){if(r)return"Invalid scheme";v="",f=rt,h=0;continue}if(r&&($(t)!=l(z,v)||"file"==v&&(H(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=v,r)return void($(t)&&z[t.scheme]==t.port&&(t.port=null));v="","file"==t.scheme?f=pt:$(t)&&o&&o.scheme==t.scheme?f=nt:$(t)?f=ct:"/"==i[h+1]?(f=ot,h++):(t.cannotBeABaseURL=!0,t.path.push(""),f=bt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,f=wt;break}f="file"==o.scheme?pt:it;continue;case nt:if("/"!=a||"/"!=i[h+1]){f=it;continue}f=ut,h++;break;case ot:if("/"==a){f=st;break}f=gt;continue;case it:if(t.scheme=o.scheme,a==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&$(t))f=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",f=mt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),f=gt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=wt}break;case at:if(!$(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,f=gt;continue}f=st}else f=ut;break;case ct:if(f=ut,"/"!=a||"/"!=v.charAt(h+1))continue;h++;break;case ut:if("/"!=a&&"\\"!=a){f=st;continue}break;case st:if("@"==a){d&&(v="%40"+v),d=!0,c=p(v);for(var b=0;b<c.length;b++){var m=c[b];if(":"!=m||g){var w=Y(m,W);g?t.password+=w:t.username+=w}else g=!0}v=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if(d&&""==v)return"Invalid authority";h-=p(v).length+1,v="",f=ft}else v+=a;break;case ft:case lt:if(r&&"file"==t.scheme){f=dt;continue}if(":"!=a||y){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if($(t)&&""==v)return"Invalid host";if(r&&""==v&&(H(t)||null!==t.port))return;if(u=F(t,v))return u;if(v="",f=yt,r)return;continue}"["==a?y=!0:"]"==a&&(y=!1),v+=a}else{if(""==v)return"Invalid host";if(u=F(t,v))return u;if(v="",f=ht,r==lt)return}break;case ht:if(!P.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)||r){if(""!=v){var x=parseInt(v,10);if(x>65535)return"Invalid port";t.port=$(t)&&x===z[t.scheme]?null:x,v=""}if(r)return;f=yt;continue}return"Invalid port"}v+=a;break;case pt:if(t.scheme="file","/"==a||"\\"==a)f=vt;else{if(!o||"file"!=o.scheme){f=gt;continue}if(a==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",f=mt;else{if("#"!=a){X(i.slice(h).join(""))||(t.host=o.host,t.path=o.path.slice(),Q(t)),f=gt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=wt}}break;case vt:if("/"==a||"\\"==a){f=dt;break}o&&"file"==o.scheme&&!X(i.slice(h).join(""))&&(J(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),f=gt;continue;case dt:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&J(v))f=gt;else if(""==v){if(t.host="",r)return;f=yt}else{if(u=F(t,v))return u;if("localhost"==t.host&&(t.host=""),r)return;v="",f=yt}continue}v+=a;break;case yt:if($(t)){if(f=gt,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(f=gt,"/"!=a))continue}else t.fragment="",f=wt;else t.query="",f=mt;break;case gt:if(a==n||"/"==a||"\\"==a&&$(t)||!r&&("?"==a||"#"==a)){if(".."===(s=(s=v).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(Q(t),"/"==a||"\\"==a&&$(t)||t.path.push("")):Z(v)?"/"==a||"\\"==a&&$(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&J(v)&&(t.host&&(t.host=""),v=v.charAt(0)+":"),t.path.push(v)),v="","file"==t.scheme&&(a==n||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",f=mt):"#"==a&&(t.fragment="",f=wt)}else v+=Y(a,q);break;case bt:"?"==a?(t.query="",f=mt):"#"==a?(t.fragment="",f=wt):a!=n&&(t.path[0]+=Y(a,G));break;case mt:r||"#"!=a?a!=n&&("'"==a&&$(t)?t.query+="%27":t.query+="#"==a?"%23":Y(a,G)):(t.fragment="",f=wt);break;case wt:a!=n&&(t.fragment+=Y(a,V))}h++}},St=function(t){var e,r,n=f(this,St,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),c=S(n,{type:"URL"});if(void 0!==o)if(o instanceof St)e=O(o);else if(r=xt(e={},String(o)))throw TypeError(r);if(r=xt(c,a,null,e))throw TypeError(r);var u=c.searchParams=new w,s=x(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},i||(n.href=jt.call(n),n.origin=Et.call(n),n.protocol=_t.call(n),n.username=kt.call(n),n.password=Pt.call(n),n.host=At.call(n),n.hostname=Lt.call(n),n.port=It.call(n),n.pathname=Tt.call(n),n.search=Ut.call(n),n.searchParams=Rt.call(n),n.hash=Ct.call(n))},Ot=St.prototype,jt=function(){var t=O(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,c=t.query,u=t.fragment,s=e+":";return null!==o?(s+="//",H(t)&&(s+=r+(n?":"+n:"")+"@"),s+=B(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},Et=function(){var t=O(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&$(t)?e+"://"+B(t.host)+(null!==r?":"+r:""):"null"},_t=function(){return O(this).scheme+":"},kt=function(){return O(this).username},Pt=function(){return O(this).password},At=function(){var t=O(this),e=t.host,r=t.port;return null===e?"":null===r?B(e):B(e)+":"+r},Lt=function(){var t=O(this).host;return null===t?"":B(t)},It=function(){var t=O(this).port;return null===t?"":String(t)},Tt=function(){var t=O(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Ut=function(){var t=O(this).query;return t?"?"+t:""},Rt=function(){return O(this).searchParams},Ct=function(){var t=O(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(Ot,{href:Nt(jt,(function(t){var e=O(this),r=String(t),n=xt(e,r);if(n)throw TypeError(n);x(e.searchParams).updateSearchParams(e.query)})),origin:Nt(Et),protocol:Nt(_t,(function(t){var e=O(this);xt(e,String(t)+":",tt)})),username:Nt(kt,(function(t){var e=O(this),r=p(String(t));if(!K(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Y(r[n],W)}})),password:Nt(Pt,(function(t){var e=O(this),r=p(String(t));if(!K(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Y(r[n],W)}})),host:Nt(At,(function(t){var e=O(this);e.cannotBeABaseURL||xt(e,String(t),ft)})),hostname:Nt(Lt,(function(t){var e=O(this);e.cannotBeABaseURL||xt(e,String(t),lt)})),port:Nt(It,(function(t){var e=O(this);K(e)||(""==(t=String(t))?e.port=null:xt(e,t,ht))})),pathname:Nt(Tt,(function(t){var e=O(this);e.cannotBeABaseURL||(e.path=[],xt(e,t+"",yt))})),search:Nt(Ut,(function(t){var e=O(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",xt(e,t,mt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Rt),hash:Nt(Ct,(function(t){var e=O(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",xt(e,t,wt)):e.fragment=null}))}),s(Ot,"toJSON",(function(){return jt.call(this)}),{enumerable:!0}),s(Ot,"toString",(function(){return jt.call(this)}),{enumerable:!0}),m){var Ft=m.createObjectURL,Mt=m.revokeObjectURL;Ft&&s(St,"createObjectURL",(function(t){return Ft.apply(m,arguments)})),Mt&&s(St,"revokeObjectURL",(function(t){return Mt.apply(m,arguments)}))}y(St,"URL"),o({global:!0,forced:!a,sham:!i},{URL:St})},function(t,e,r){var n=r(2),o=r(6),i=r(44),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"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}))},function(t,e,r){"use strict";var n=r(3),o=r(18).filter,i=r(72),a=r(49),c=i("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(56),o=r(7),i=r(8),a=r(12).f,c=r(55),u=r(210),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[s].weakData},onFreeze:function(t){return u&&p.REQUIRED&&l(t)&&!i(t,s)&&h(t),t}};n[s]=!0},function(t,e,r){"use strict";var n=r(146),o=r(9),i=r(13),a=r(10),c=r(30),u=r(32),s=r(215),f=r(147),l=Math.max,h=Math.min,p=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(b)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),p=String(this),v="function"==typeof n;v||(n=String(n));var d=u.global;if(d){var w=u.unicode;u.lastIndex=0}for(var x=[];;){var S=f(u,p);if(null===S)break;if(x.push(S),!d)break;""===String(S[0])&&(u.lastIndex=s(p,a(u.lastIndex),w))}for(var O,j="",E=0,_=0;_<x.length;_++){S=x[_];for(var k=String(S[0]),P=l(h(c(S.index),p.length),0),A=[],L=1;L<S.length;L++)A.push(void 0===(O=S[L])?O:String(O));var I=S.groups;if(v){var T=[k].concat(A,P,p);void 0!==I&&T.push(I);var U=String(n.apply(void 0,T))}else U=m(k,p,P,A,I,n);P>=E&&(j+=p.slice(E,P)+U,E=P+k.length)}return j+p.slice(E)}];function m(t,r,n,o,a,c){var u=n+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=p(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c}))}}))},function(t,e,r){"use strict";r(81);var n=r(15),o=r(2),i=r(6),a=r(110),c=r(14),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),h=!!/./[l]&&""===/./[l]("a","$0"),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),y=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!d||!y||"replace"===t&&(!s||!f||h)||"split"===t&&!p){var g=/./[v],b=r(v,""[t],(function(t,e,r,n,o){return e.exec===a?d&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),m=b[0],w=b[1];n(String.prototype,t,m),n(RegExp.prototype,v,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},function(t,e,r){var n=r(31),o=r(110);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,r){"use strict";r.r(e);r(84);var n=r(152),o=n.Identity,i=n.Monetization,a=n.Payment;Object.assign(window,{Identity:o,Monetization:i,Payment:a})},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(1),o=r(87),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(33),o=r(45),i=r(90),a=r(9);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){"use strict";window.regeneratorRuntime=r(153);var n=r(154).Identity,o=r(220).Monetization,i=r(222).Payment;t.exports={Identity:n,Monetization:o,Payment:i}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),a=new O(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=w(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function h(){}function p(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,y=d&&d(d(j([])));y&&y!==e&&r.call(y,o)&&(v=y);var g=p.prototype=l.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=g.constructor=p,p.constructor=h,h.displayName=c(p,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(m.prototype),m.prototype[i]=function(){return this},t.AsyncIterator=m,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new m(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),c(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=j,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";r.r(e),r.d(e,"Identity",(function(){return _}));r(58),r(119),r(39),r(59),r(40),r(122),r(21),r(16),r(159),r(25),r(162),r(167),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(76),r(192),r(101),r(102),r(84),r(77),r(78),r(104),r(50),r(51),r(26),r(27),r(28),r(29),r(105),r(106),r(107),r(108),r(79),r(65),r(80);var n=r(0),o=r(36),i=r(19),a=r(17),c=r(82),u=r.n(c),s=r(66),f=r(83),l=r(20),h=r(4),p=r(52),v=r(53);function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",p="executing",v="completed",y={};function g(){}function m(){}function w(){}var x={};s(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=g.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==b(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=l(e,r,n);if("normal"===s.type){if(o=n.done?v:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(b(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),s(j,u,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==b(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===b(i)?i:String(i)),n)}var o,i}function w(t,e){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=O(t);if(e){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=Math.floor(1e5*Math.random()),E=function(){return window},_=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&w(t,e)}(U,t);var e,r,c,u,y,S,O,_,k,P,A,L,I,T=x(U);function U(t){var e,r=t.clientId,o=t.redirectUri,i=t.sessionDomain,a=t.env,c=void 0===a?"PRE":a,u=t.log,f=t.window,l=void 0===f?E():f,h=t.callbackBeforeRedirect,v=void 0===h?function(){}:h;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,U),e=T.call(this),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),Object(n.a)(Object(n.e)(l),"The reference to window is missing"),Object(n.a)(!o||Object(n.h)(o),"redirectUri parameter is invalid"),Object(n.a)(i&&Object(n.h)(i),"sessionDomain parameter is not a valid URL"),p.a(l),e._sessionInitiatedSent=!1,e.window=l,e.clientId=r,e.sessionStorageCache=new s.a((function(){return e.window&&e.window.sessionStorage})),e.localStorageCache=new s.a((function(){return e.window&&e.window.localStorage})),e.redirectUri=o,e.env=c,e.log=u,e.callbackBeforeRedirect=v,e._sessionDomain=i,e._enableSessionCaching=!0,e._session={},e._setSessionServiceUrl(i),e._setSpidServerUrl(c),e._setBffServerUrl(c),e._setOauthServerUrl(c),e._setGlobalSessionServiceUrl(c),e._unblockSessionCall(),e}return e=U,(r=[{key:"_getTabId",value:function(){if(this._enableSessionCaching){var t=this.sessionStorageCache.get("tab-id-cache");return t||(this.sessionStorageCache.set("tab-id-cache",j,2592e6),j)}}},{key:"_isSessionCallBlocked",value:function(){return this.localStorageCache.get("sessionCallBlocked-cache")}},{key:"_blockSessionCall",value:function(){this.localStorageCache.set("sessionCallBlocked-cache",!0,3e5)}},{key:"_unblockSessionCall",value:function(){this.localStorageCache.delete("sessionCallBlocked-cache")}},{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new l.a({serverUrl:Object(i.a)(t,a.a.SPiD),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setOauthServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._oauthService=new l.a({serverUrl:Object(i.a)(t,a.a.SPiD),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setBffServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._bffService=new l.a({serverUrl:Object(i.a)(t,a.a.BFF),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(a.b[this.env],":client:").concat(this.clientId);this._sessionService=new l.a({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:v.a}})}},{key:"_setGlobalSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t));var e="sdrn:".concat(a.b[this.env],":client:").concat(this.clientId);this._globalSessionService=new l.a({serverUrl:Object(i.a)(t,a.a.SESSION_SERVICE),log:this.log,defaultParams:{client_sdrn:e,sdk_version:v.a}})}},{key:"_emitSessionEvent",value:function(t,e){e.userId&&this.emit("login",e),t.userId&&!e.userId&&this.emit("logout",e),t.userId&&e.userId&&t.userId!==e.userId&&this.emit("userChange",e),t.userId||e.userId?this.emit("sessionChange",e):this.emit("notLoggedin",e),e.userId&&!this._sessionInitiatedSent&&(this._sessionInitiatedSent=!0,this.emit("sessionInit",e)),t.userStatus!==e.userStatus&&this.emit("statusChange",e)}},{key:"_closePopup",value:function(){this.popup&&(this.popup.closed||this.popup.close(),this.popup=null)}},{key:"enableVarnishCookie",value:function(t){var e,r=0;Number.isInteger(t)?r=t:"object"==b(t)&&(r=t.expiresIn||r,e=t.domain||e),Object(n.a)(Number.isInteger(r),"'expiresIn' must be an integer"),Object(n.a)(r>=0,"'expiresIn' cannot be negative"),this.setVarnishCookie=!0,this.varnishExpiresIn=r,this.varnishCookieDomain=e}},{key:"_maybeSetVarnishCookie",value:function(t){if(this.setVarnishCookie){var e=new Date;if(this.varnishExpiresIn||"number"==typeof t.expiresIn&&t.expiresIn>0){var r=this.varnishExpiresIn||t.expiresIn;e.setTime(e.getTime()+1e3*r)}else e.setTime(0);var n=this.varnishCookieDomain||("string"==typeof t.baseDomain?t.baseDomain:document.domain)||"",o=["SP_ID=".concat(t.sp_id),"expires=".concat(e.toUTCString()),"path=/","domain=.".concat(n)].join("; ");document.cookie=o}}},{key:"_maybeClearVarnishCookie",value:function(){this.setVarnishCookie&&this._clearVarnishCookie()}},{key:"_clearVarnishCookie",value:function(){var t=this._session&&"string"==typeof this._session.baseDomain?this._session.baseDomain:document.domain,e=this.varnishCookieDomain||t||"";document.cookie="SP_ID=nothing; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.".concat(e)}},{key:"logSettings",value:function(){if(!this.log&&!window.console)throw new h.a("You have to provide log method in constructor");var t=this.log||console.log,e={clientId:this.clientId,redirectUri:this.redirectUri,env:this.env,sessionDomain:this._sessionDomain,sdkVersion:v.a};t("Schibsted account SDK for browsers settings: \n".concat(JSON.stringify(e,null,2)))}},{key:"hasSession",value:function(){var t=this;if(this._isSessionCallBlocked())return this._session;if(this._hasSessionInProgress)return this._hasSessionInProgress;var e=function(e){if(e.error)throw new h.a("HasSession failed",e.error);return t._maybeSetVarnishCookie(e),t._emitSessionEvent(t._session,e),t._session=e,e},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.keys(t);return 1===e.length&&"redirectURL"===e[0]},o=function(){var n=g(d().mark((function n(){var o,i,a,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t._enableSessionCaching){n.next=4;break}if(!(o=t.sessionStorageCache.get("hasSession-cache"))){n.next=4;break}return n.abrupt("return",e(o));case 4:return i=null,n.prev=5,n.next=8,t._sessionService.get("v2/session",{tabId:t._getTabId()});case 8:i=n.sent,n.next=15;break;case 11:throw n.prev=11,n.t0=n.catch(5),n.t0&&400===n.t0.code&&t._enableSessionCaching&&(a=1e3*(n.t0.expiresIn||300),t.sessionStorageCache.set("hasSession-cache",{error:n.t0},a)),n.t0;case 15:if(!i){n.next=22;break}if(!r(i)){n.next=21;break}return t._blockSessionCall(),n.next=20,t.callbackBeforeRedirect();case 20:return n.abrupt("return",t._sessionService.makeUrl(i.redirectURL,{tabId:t._getTabId()}));case 21:t._enableSessionCaching&&(c=1e3*(i.expiresIn||300),t.sessionStorageCache.set("hasSession-cache",i,c));case 22:return n.abrupt("return",e(i));case 23:case"end":return n.stop()}}),n,null,[[5,11]])})));return function(){return n.apply(this,arguments)}}();return this._hasSessionInProgress=o().then((function(e){return t._hasSessionInProgress=!1,Object(n.h)(e)?t.window.location.href=e:e}),(function(e){throw t.emit("error",e),t._hasSessionInProgress=!1,new h.a("HasSession failed",e)})),this._hasSessionInProgress}},{key:"isLoggedIn",value:(I=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return","result"in e);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return I.apply(this,arguments)})},{key:"clearCachedUserSession",value:function(){this.sessionStorageCache.delete("hasSession-cache")}},{key:"isConnected",value:(L=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return",!!e.result);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return L.apply(this,arguments)})},{key:"getUser",value:(A=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if((e=t.sent).result){t.next=5;break}throw new h.a("The user is not connected to this merchant");case 5:return t.abrupt("return",Object(o.a)(e));case 6:case"end":return t.stop()}}),t,this)}))),function(){return A.apply(this,arguments)})},{key:"getUserId",value:(P=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(!(e=t.sent).userId||!e.result){t.next=5;break}return t.abrupt("return",e.userId);case 5:throw new h.a("The user is not connected to this merchant");case 6:case"end":return t.stop()}}),t,this)}))),function(){return P.apply(this,arguments)})},{key:"getExternalId",value:(k=g(d().mark((function t(e){var r,n,o,i,a,c,u,s=arguments;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:"",t.next=3,this.hasSession();case 3:if(n=t.sent,o=n.pairId){t.next=7;break}throw new h.a("pairId missing in user session!");case 7:if(e&&0!==e.length){t.next=9;break}throw new h.a("externalParty cannot be empty");case 9:return i=function(t){return Array.from(new Uint8Array(t)).map((function(t){return t.toString(16).padStart(2,"0")})).join("")},a=function(t){return crypto.subtle.digest("SHA-256",t)},c=function(){var t=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(new TextEncoder).encode(e),t.abrupt("return",a(r).then((function(t){return i(t)})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=function(t,e,r){return r?"".concat(t,":").concat(e,":").concat(r):"".concat(t,":").concat(e)},t.abrupt("return",c(u(o,e,r)));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return k.apply(this,arguments)})},{key:"getUserSDRN",value:(_=g(d().mark((function t(){var e,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(e=t.sent,!(r=e.sdrn)){t.next=6;break}return t.abrupt("return",r);case 6:throw new h.a("Failed to get SDRN from user session");case 7:case"end":return t.stop()}}),t,this)}))),function(){return _.apply(this,arguments)})},{key:"getUserUuid",value:(O=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(!(e=t.sent).uuid||!e.result){t.next=5;break}return t.abrupt("return",e.uuid);case 5:throw new h.a("The user is not connected to this merchant");case 6:case"end":return t.stop()}}),t,this)}))),function(){return O.apply(this,arguments)})},{key:"getUserContextData",value:(S=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._globalSessionService.get("user-context");case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",null);case 9:case"end":return t.stop()}}),t,this,[[0,6]])}))),function(){return S.apply(this,arguments)})},{key:"login",value:function(t){var e=t.state,r=t.acrValues,n=void 0===r?"":r,o=t.scope,i=void 0===o?"openid":o,a=t.redirectUri,c=void 0===a?this.redirectUri:a,u=t.preferPopup,s=void 0!==u&&u,l=t.loginHint,h=void 0===l?"":l,p=t.tag,v=void 0===p?"":p,d=t.teaser,y=void 0===d?"":d,g=t.maxAge,b=void 0===g?"":g,m=t.locale,w=void 0===m?"":m,x=t.oneStepLogin,S=void 0!==x&&x,O=t.prompt,j=void 0===O?"select_account":O;this._closePopup(),this.sessionStorageCache.delete("hasSession-cache");var E=this.loginUrl({state:e,acrValues:n,scope:i,redirectUri:c,loginHint:h,tag:v,teaser:y,maxAge:b,locale:w,oneStepLogin:S,prompt:j});return s&&(this.popup=f.a(this.window,E,"Schibsted account",{width:360,height:570}),this.popup)?this.popup:(this.window.location.href=E,null)}},{key:"getSpId",value:(y=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return",e.sp_id||null);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return y.apply(this,arguments)})},{key:"logout",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;this.sessionStorageCache.delete("hasSession-cache"),this._maybeClearVarnishCookie(),this.emit("logout"),this.window.location.href=this.logoutUrl(t)}},{key:"loginUrl",value:function(t){var e=t.state,r=t.acrValues,o=void 0===r?"":r,i=t.scope,a=void 0===i?"openid":i,c=t.redirectUri,u=void 0===c?this.redirectUri:c,s=t.loginHint,f=void 0===s?"":s,l=t.tag,h=void 0===l?"":l,p=t.teaser,v=void 0===p?"":p,d=t.maxAge,y=void 0===d?"":d,g=t.locale,m=void 0===g?"":g,w=t.oneStepLogin,x=void 0!==w&&w,S=t.prompt,O=void 0===S?"select_account":S;"object"!==b(arguments[0])&&(e=arguments[0],o=arguments[1],a=arguments[2]||a,u=arguments[3]||u,f=arguments[4]||f,h=arguments[5]||h,v=arguments[6]||v,y=isNaN(arguments[7])?y:arguments[7]);var j=function(t){return Object(n.g)(t,["password","otp","sms","eid-dk","eid-no","eid-se","eid-fi","eid"],!0)};return Object(n.a)(!o||Object(n.g)(o,["","otp-email"],!0)||o.split(" ").every(j),"The acrValues parameter is not acceptable: ".concat(o)),Object(n.a)(Object(n.h)(u),"loginUrl(): redirectUri must be a valid url but is ".concat(u)),Object(n.a)(Object(n.d)(e),"the state parameter should be a non empty string but it is ".concat(e)),this._oauthService.makeUrl("oauth/authorize",{response_type:"code",redirect_uri:u,scope:a,state:e,acr_values:o,login_hint:f,tag:h,teaser:v,max_age:y,locale:m,one_step_login:x||"",prompt:o?"":O})}},{key:"logoutUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;Object(n.a)(Object(n.h)(t),"logoutUrl(): redirectUri is invalid");var e={redirect_uri:t};return this._sessionService.makeUrl("logout",e)}},{key:"accountUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return this._spid.makeUrl("profile-pages",{response_type:"code",redirect_uri:t})}},{key:"phonesUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return this._spid.makeUrl("profile-pages/about-you/phone",{response_type:"code",redirect_uri:t})}},{key:"showSimplifiedLoginWidget",value:(u=g(d().mark((function t(e,r){var n,o,i,a,c=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getUserContextData();case 2:return n=t.sent,o={client_id:this.clientId},r&&r.encoding&&(o.encoding=r.encoding),i=this._bffService.makeUrl("simplified-login-widget",o,!1),a=function(){var t=g(d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e.state){t.next=4;break}return t.next=3,e.state();case 3:e.state=t.sent;case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise((function(t,o){if(!n||!n.display_text||!n.identifier)return o(new h.a("Missing user data"));var u={displayText:n.display_text,env:c.env,clientName:n.client_name,clientId:c.clientId,providerId:n.provider_id,windowWidth:function(){return window.innerWidth},windowOnResize:function(t){window.onresize=t}};r&&r.locale&&(u.locale=r.locale);var s=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=c,t.t1=Object,t.next=4,a(e);case 4:t.t2=t.sent,t.t3={loginHint:n.identifier},t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t0.login.call(t.t0,t.t4);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),f=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=c,t.t1=Object,t.next=4,a(e);case 4:t.t2=t.sent,t.t3={loginHint:n.identifier,prompt:"login"},t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t0.login.call(t.t0,t.t4);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),l=function(){c.emit("simplifiedLoginOpened")},p=function(){c.emit("simplifiedLoginCancelled")};if(window.openSimplifiedLoginWidget)return window.openSimplifiedLoginWidget(u,s,f,l,p),t(!0);var v=document.createElement("script");v.type="text/javascript",v.src=i,v.onload=function(){window.openSimplifiedLoginWidget(u,s,f,l,p),t(!0)},v.onerror=function(){o(new h.a("Error when loading simplified login widget content"))},document.getElementsByTagName("body")[0].appendChild(v)})));case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})}])&&m(e.prototype,r),c&&m(e,c),Object.defineProperty(e,"prototype",{writable:!1}),U}(u.a);e.default=_},function(t,e,r){var n=r(7),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(32),o="["+r(158)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,r){"use strict";var n=r(3),o=r(2),i=r(129),a=r(9),c=r(46),u=r(10),s=r(48),f=i.ArrayBuffer,l=i.DataView,h=f.prototype.slice;n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(a(this),t);for(var r=a(this).byteLength,n=c(t,r),o=c(void 0===e?r:e,r),i=new(s(this,f))(u(o-n)),p=new l(this),v=new l(i),d=0;n<o;)v.setUint8(d++,p.getUint8(n++));return i}})},function(t,e){var r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;t.exports={pack:function(t,e,c){var u,s,f,l=new Array(c),h=8*c-e-1,p=(1<<h)-1,v=p>>1,d=23===e?n(2,-24)-n(2,-77):0,y=t<0||0===t&&1/t<0?1:0,g=0;for((t=r(t))!=t||t===1/0?(s=t!=t?1:0,u=p):(u=o(i(t)/a),t*(f=n(2,-u))<1&&(u--,f*=2),(t+=u+v>=1?d/f:d*n(2,1-v))*f>=2&&(u++,f/=2),u+v>=p?(s=0,u=p):u+v>=1?(s=(t*f-1)*n(2,e),u+=v):(s=t*n(2,v-1)*n(2,e),u=0));e>=8;l[g++]=255&s,s/=256,e-=8);for(u=u<<e|s,h+=e;h>0;l[g++]=255&u,u/=256,h-=8);return l[--g]|=128*y,l},unpack:function(t,e){var r,o=t.length,i=8*o-e-1,a=(1<<i)-1,c=a>>1,u=i-7,s=o-1,f=t[s--],l=127&f;for(f>>=7;u>0;l=256*l+t[s],s--,u-=8);for(r=l&(1<<-u)-1,l>>=-u,u+=e;u>0;r=256*r+t[s],s--,u-=8);if(0===l)l=1-c;else{if(l===a)return r?NaN:f?-1/0:1/0;r+=n(2,e),l-=c}return(f?-1:1)*r*n(2,l-e)}}},function(t,e,r){"use strict";var n=r(97),o=r(62);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){r(163)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(11),a=r(164),c=r(5),u=r(129),s=r(42),f=r(37),l=r(14),h=r(10),p=r(131),v=r(133),d=r(38),y=r(8),g=r(62),b=r(7),m=r(34),w=r(47),x=r(45).f,S=r(166),O=r(18).forEach,j=r(100),E=r(12),_=r(43),k=r(23),P=r(95),A=k.get,L=k.set,I=E.f,T=_.f,U=Math.round,R=o.RangeError,C=u.ArrayBuffer,N=u.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,M=c.TYPED_ARRAY_TAG,D=c.TypedArray,B=c.TypedArrayPrototype,G=c.aTypedArrayConstructor,V=c.isTypedArray,q=function(t,e){for(var r=0,n=e.length,o=new(G(t))(n);n>r;)o[r]=e[r++];return o},W=function(t,e){I(t,e,{get:function(){return A(this)[e]}})},Y=function(t){var e;return t instanceof C||"ArrayBuffer"==(e=g(t))||"SharedArrayBuffer"==e},z=function(t,e){return V(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},$=function(t,e){return z(t,e=d(e,!0))?f(2,t[e]):T(t,e)},H=function(t,e,r){return!(z(t,e=d(e,!0))&&b(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?I(t,e,r):(t[e]=r.value,t)};i?(F||(_.f=$,E.f=H,W(B,"buffer"),W(B,"byteOffset"),W(B,"byteLength"),W(B,"length")),n({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:$,defineProperty:H}),t.exports=function(t,e,r){var i=t.match(/\d+$/)[0]/8,c=t+(r?"Clamped":"")+"Array",u="get"+t,f="set"+t,d=o[c],y=d,g=y&&y.prototype,E={},_=function(t,e){I(t,e,{get:function(){return function(t,e){var r=A(t);return r.view[u](e*i+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var o=A(t);r&&(n=(n=U(n))<0?0:n>255?255:255&n),o.view[f](e*i+o.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};F?a&&(y=e((function(t,e,r,n){return s(t,y,c),P(b(e)?Y(e)?void 0!==n?new d(e,v(r,i),n):void 0!==r?new d(e,v(r,i)):new d(e):V(e)?q(y,e):S.call(y,e):new d(p(e)),t,y)})),w&&w(y,D),O(x(d),(function(t){t in y||l(y,t,d[t])})),y.prototype=g):(y=e((function(t,e,r,n){s(t,y,c);var o,a,u,f=0,l=0;if(b(e)){if(!Y(e))return V(e)?q(y,e):S.call(y,e);o=e,l=v(r,i);var d=e.byteLength;if(void 0===n){if(d%i)throw R("Wrong length");if((a=d-l)<0)throw R("Wrong length")}else if((a=h(n)*i)+l>d)throw R("Wrong length");u=a/i}else u=p(e),o=new C(a=u*i);for(L(t,{buffer:o,byteOffset:l,byteLength:a,length:u,view:new N(o)});f<u;)_(t,f++)})),w&&w(y,D),g=y.prototype=m(B)),g.constructor!==y&&l(g,"constructor",y),M&&l(g,M,c),E[c]=y,n({global:!0,forced:y!=d,sham:!F},E),"BYTES_PER_ELEMENT"in y||l(y,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in g||l(g,"BYTES_PER_ELEMENT",i),j(c)}):t.exports=function(){}},function(t,e,r){var n=r(1),o=r(2),i=r(74),a=r(5).NATIVE_ARRAY_BUFFER_VIEWS,c=n.ArrayBuffer,u=n.Int8Array;t.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||o((function(){return 1!==new u(new c(2),1,void 0).length}))},function(t,e,r){var n=r(30);t.exports=function(t){var e=n(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,r){var n=r(13),o=r(10),i=r(61),a=r(96),c=r(41),u=r(5).aTypedArrayConstructor;t.exports=function(t){var e,r,s,f,l,h,p=n(t),v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,g=i(p);if(null!=g&&!a(g))for(h=(l=g.call(p)).next,p=[];!(f=h.call(l)).done;)p.push(f.value);for(y&&v>2&&(d=c(d,arguments[2],2)),r=o(p.length),s=new(u(this))(r),e=0;r>e;e++)s[e]=y?d(p[e],e):p[e];return s}},function(t,e,r){"use strict";var n=r(5),o=r(168),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,r){"use strict";var n=r(13),o=r(46),i=r(10),a=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),c=i(r.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),h=1;for(s<u&&u<s+l&&(h=-1,s+=l-1,u+=l-1);l-- >0;)s in r?r[u]=r[s]:delete r[u],u+=h,s+=h;return r}},function(t,e,r){"use strict";var n=r(5),o=r(18).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(132),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(t){return o.apply(i(this),arguments)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).filter,i=r(48),a=n.aTypedArray,c=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("filter",(function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),r=i(this,this.constructor),n=0,u=e.length,s=new(c(r))(u);u>n;)s[n]=e[n++];return s}))},function(t,e,r){"use strict";var n=r(5),o=r(18).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(69).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(69).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(1),o=r(5),i=r(16),a=r(6)("iterator"),c=n.Uint8Array,u=i.values,s=i.keys,f=i.entries,l=o.aTypedArray,h=o.exportTypedArrayMethod,p=c&&c.prototype[a],v=!!p&&("values"==p.name||null==p.name),d=function(){return u.call(l(this))};h("entries",(function(){return f.call(l(this))})),h("keys",(function(){return s.call(l(this))})),h("values",d,!v),h(a,d,!v)},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=[].join;i("join",(function(t){return a.apply(o(this),arguments)}))},function(t,e,r){"use strict";var n=r(5),o=r(180),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},function(t,e,r){"use strict";var n=r(22),o=r(30),i=r(10),a=r(73),c=r(49),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),h=c("indexOf",{ACCESSORS:!0,1:0}),p=f||!l||!h;t.exports=p?function(t){if(f)return s.apply(this,arguments)||0;var e=n(this),r=i(e.length),a=r-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:s},function(t,e,r){"use strict";var n=r(5),o=r(18).map,i=r(48),a=n.aTypedArray,c=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(c(i(t,t.constructor)))(e)}))}))},function(t,e,r){"use strict";var n=r(5),o=r(134).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(134).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var t,e=o(this).length,r=a(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}))},function(t,e,r){"use strict";var n=r(5),o=r(10),i=r(133),a=r(13),c=r(2),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",(function(t){u(this);var e=i(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(t),c=o(n.length),s=0;if(c+e>r)throw RangeError("Wrong length");for(;s<c;)this[e+s]=n[s++]}),c((function(){new Int8Array(1).set({})})))},function(t,e,r){"use strict";var n=r(5),o=r(48),i=r(2),a=n.aTypedArray,c=n.aTypedArrayConstructor,u=n.exportTypedArrayMethod,s=[].slice;u("slice",(function(t,e){for(var r=s.call(a(this),t,e),n=o(this,this.constructor),i=0,u=r.length,f=new(c(n))(u);u>i;)f[i]=r[i++];return f}),i((function(){new Int8Array(1).slice()})))},function(t,e,r){"use strict";var n=r(5),o=r(18).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=[].sort;i("sort",(function(t){return a.call(o(this),t)}))},function(t,e,r){"use strict";var n=r(5),o=r(10),i=r(46),a=r(48),c=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(t,e){var r=c(this),n=r.length,u=i(t,n);return new(a(r,r.constructor))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,o((void 0===e?n:i(e,n))-u))}))},function(t,e,r){"use strict";var n=r(1),o=r(5),i=r(2),a=n.Int8Array,c=o.aTypedArray,u=o.exportTypedArrayMethod,s=[].toLocaleString,f=[].slice,l=!!a&&i((function(){s.call(new a(1))}));u("toLocaleString",(function(){return s.apply(l?f.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(t,e,r){"use strict";var n=r(5).exportTypedArrayMethod,o=r(2),i=r(1).Uint8Array,a=i&&i.prototype||{},c=[].toString,u=[].join;o((function(){c.call({})}))&&(c=function(){return u.call(this)});var s=a.toString!=c;n("toString",c,s)},function(t,e,r){"use strict";var n=r(3),o=r(193).start;n({target:"String",proto:!0,forced:r(195)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(10),o=r(194),i=r(32),a=Math.ceil,c=function(t){return function(e,r,c){var u,s,f=String(i(e)),l=f.length,h=void 0===c?" ":String(c),p=n(r);return p<=l||""==h?f:(u=p-l,(s=o.call(h,a(u/h.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},function(t,e,r){"use strict";var n=r(30),o=r(32);t.exports="".repeat||function(t){var e=String(o(this)),r="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(r+=e);return r}},function(t,e,r){var n=r(94);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},function(t,e,r){var n=r(1);t.exports=n.Promise},function(t,e,r){var n,o,i,a,c,u,s,f,l=r(1),h=r(43).f,p=r(31),v=r(136).set,d=r(137),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,b=l.Promise,m="process"==p(g),w=h(l,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(m&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},m?a=function(){g.nextTick(n)}:y&&!d?(c=!0,u=document.createTextNode(""),new y(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):b&&b.resolve?(s=b.resolve(void 0),f=s.then,a=function(){f.call(s,n)}):a=function(){v.call(l,n)}),t.exports=x||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,r){var n=r(9),o=r(7),i=r(138);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(1);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,r){"use strict";var n=r(35),o=r(7),i=[].slice,a={},c=function(t,e,r){if(!(e in a)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";a[e]=Function("C,a","return new C("+n.join(",")+")")}return a[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?c(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,r){"use strict";var n=r(9),o=r(38);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(n(this),"number"!==t)}},function(t,e,r){var n=r(22),o=r(45).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(18).forEach,o=r(73),i=r(49),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,u=function(t){return t+22+75*(t<26)},s=function(t,e,r){var n=0;for(t=r?a(t/700):t>>1,t+=a(t/e);t>455;n+=36)t=a(t/35);return a(n+36*t/(t+38))},f=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,f=128,l=0,h=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(c(r));var p=n.length,v=p;for(p&&n.push("-");v<o;){var d=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=f&&r<d&&(d=r);var y=v+1;if(d-f>a((2147483647-l)/y))throw RangeError(i);for(l+=(d-f)*y,f=d,e=0;e<t.length;e++){if((r=t[e])<f&&++l>2147483647)throw RangeError(i);if(r==f){for(var g=l,b=36;;b+=36){var m=b<=h?1:b>=h+26?26:b-h;if(g<m)break;var w=g-m,x=36-m;n.push(c(u(m+w%x))),g=a(w/x)}n.push(c(u(g))),h=s(l,y,v==p),l=0,++v}}++l,++f}return n.join("")};t.exports=function(t){var e,r,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)r=a[e],i.push(n.test(r)?"xn--"+f(r):r);return i.join(".")}},function(t,e,r){var n=r(9),o=r(61);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,r){"use strict";var n=r(3),o=r(69).includes,i=r(128);n({target:"Array",proto:!0,forced:!r(49)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){"use strict";var n=r(209),o=r(211);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(70),a=r(15),c=r(144),u=r(103),s=r(42),f=r(7),l=r(2),h=r(74),p=r(24),v=r(95);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],m=b&&b.prototype,w=b,x={},S=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof b||!(y||m.forEach&&!l((function(){(new b).entries().next()})))))w=r.getConstructor(e,t,d,g),c.REQUIRED=!0;else if(i(t,!0)){var O=new w,j=O[g](y?{}:-0,1)!=O,E=l((function(){O.has(1)})),_=h((function(t){new b(t)})),k=!y&&l((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));_||((w=e((function(e,r){s(e,w,t);var n=v(new b,e,w);return null!=r&&u(r,n[g],n,d),n}))).prototype=m,m.constructor=w),(E||k)&&(S("delete"),S("has"),d&&S("get")),(k||j)&&S(g),y&&m.clear&&delete m.clear}return x[t]=w,n({global:!0,forced:w!=b},x),p(w,t),y||r.setStrong(w,t,d),w}},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,r){"use strict";var n=r(12).f,o=r(34),i=r(75),a=r(41),c=r(42),u=r(103),s=r(99),f=r(100),l=r(11),h=r(144).fastKey,p=r(23),v=p.set,d=p.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[s],t,r)})),p=d(e),y=function(t,e,r){var n,o,i=p(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=p(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=p(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=p(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=p(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return p(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);s(t,e,(function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},function(t,e,r){var n=r(3),o=r(213).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,r){var n=r(11),o=r(57),i=r(22),a=r(67).f,c=function(t){return function(e){for(var r,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)r=u[f++],n&&!a.call(c,r)||l.push(t?[r,c[r]]:c[r]);return l}};t.exports={entries:c(!0),values:c(!1)}},function(t,e,r){"use strict";var n=r(2);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,r){"use strict";var n=r(98).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){r(3)({target:"Number",stat:!0},{isFinite:r(217)})},function(t,e,r){var n=r(1).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},function(t,e,r){"use strict";var n=r(146),o=r(9),i=r(32),a=r(219),c=r(147);n("search",1,(function(t,e,r){return[function(e){var r=i(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,r){"use strict";r.r(e),r.d(e,"Monetization",(function(){return S}));r(58),r(221),r(59),r(77),r(78),r(25),r(104),r(50),r(51),r(26),r(27),r(39),r(102),r(28),r(16),r(21),r(29),r(105),r(106),r(107),r(108),r(79),r(65),r(80);var n=r(0),o=r(19),i=r(17),a=r(82),c=r.n(a),u=r(20),s=r(66),f=r(52),l=r(4),h=r(53);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",d="executing",y="completed",g={};function b(){}function m(){}function w(){}var x={};s(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=b.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==p(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=l(e,r,n);if("normal"===s.type){if(o=n.done?y:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(p(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),s(j,u,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===p(i)?i:String(i)),n)}var o,i}function g(t,e){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=w(t);if(e){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(){return window},S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(w,t);var e,r,a,c,p,m=b(w);function w(t){var e,r=t.clientId,o=t.redirectUri,i=t.env,a=void 0===i?"PRE":i,c=t.sessionDomain,u=t.window,l=void 0===u?x():u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,w),e=m.call(this),f.a(l),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),e.cache=new s.a((function(){return l&&l.sessionStorage})),e.clientId=r,e.env=a,e.redirectUri=o,e._setSpidServerUrl(a),c&&(Object(n.a)(Object(n.h)(c),"sessionDomain parameter is not a valid URL"),e._setSessionServiceUrl(c)),e}return e=w,(r=[{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new u.a({serverUrl:Object(o.a)(t,i.a.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(i.b[this.env],":client:").concat(this.clientId);this._sessionService=new u.a({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:h.a}})}},{key:"hasAccess",value:(c=v().mark((function t(e,r){var n,o,i,a;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._sessionService){t.next=2;break}throw new l.a("hasAccess can only be called if 'sessionDomain' is configured");case 2:if(r){t.next=4;break}throw new l.a("'userId' must be specified");case 4:if(Array.isArray(e)){t.next=6;break}throw new l.a("'productIds' must be an array");case 6:if(n=e.sort(),o=this._accessCacheKey(e,r),i=this.cache.get(o)){t.next=15;break}return t.next=12,this._sessionService.get("/hasAccess/".concat(n.join(",")));case 12:i=t.sent,a=i.ttl,this.cache.set(o,i,1e3*a);case 15:if(i.entitled){t.next=17;break}return t.abrupt("return",null);case 17:return this.emit("hasAccess",{ids:n,data:i}),t.abrupt("return",i);case 19:case"end":return t.stop()}}),t,this)})),p=function(){var t=this,e=arguments;return new Promise((function(r,n){var o=c.apply(t,e);function i(t){d(o,r,n,i,a,"next",t)}function a(t){d(o,r,n,i,a,"throw",t)}i(void 0)}))},function(t,e){return p.apply(this,arguments)})},{key:"clearCachedAccessResult",value:function(t,e){this.cache.delete(this._accessCacheKey(t,e))}},{key:"_accessCacheKey",value:function(t,e){return"prd_".concat(t.sort(),"_").concat(e)}},{key:"subscriptionsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"subscriptionsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/subscriptions",{redirect_uri:t})}},{key:"productsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"productsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/products",{redirect_uri:t})}}])&&y(e.prototype,r),a&&y(e,a),Object.defineProperty(e,"prototype",{writable:!1}),w}(c.a);e.default=S},function(t,e,r){"use strict";var n=r(3),o=r(35),i=r(13),a=r(2),c=r(73),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),h=c("sort");n({target:"Array",proto:!0,forced:f||!l||!h},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},function(t,e,r){"use strict";r.r(e),r.d(e,"Payment",(function(){return h}));r(50),r(51),r(26),r(27),r(25),r(39),r(28),r(16),r(21),r(29);var n=r(0),o=r(19),i=r(17),a=r(83),c=r(20),u=r(52);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===s(i)?i:String(i)),n)}var o,i}var l=function(){return window},h=function(){function t(e){var r=e.clientId,o=e.redirectUri,i=e.env,a=void 0===i?"PRE":i,c=e.publisher,s=e.window,f=void 0===s?l():s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u.a(f),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),this.clientId=r,this.redirectUri=o,this.window=f,this.publisher=c,this._setSpidServerUrl(a),this._setBffServerUrl(a)}var e,r,s;return e=t,(r=[{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new c.a({serverUrl:Object(o.a)(t,i.a.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setBffServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._bff=new c.a({serverUrl:Object(o.a)(t,i.a.BFF),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_closePopup",value:function(){this.popup&&(this.popup.closed||this.popup.close(),this.popup=null)}},{key:"payWithPaylink",value:function(t){var e=t.paylink,r=t.preferPopup,o=t.redirectUri,i=void 0===o?this.redirectUri:o;Object(n.a)(Object(n.h)(i),"payWithPaylink(): redirectUri is invalid"),this._closePopup();var c=this.purchasePaylinkUrl(e,i);return r&&(this.popup=a.a(this.window,c,"Schibsted account",{width:360,height:570}),this.popup)?this.popup:(this.window.location.href=c,null)}},{key:"purchaseHistoryUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"purchaseHistoryUrl(): redirectUri is invalid"),this._spid.makeUrl("account/purchasehistory",{redirect_uri:t})}},{key:"redeemUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"redeemUrl(): redirectUri is invalid"),this._spid.makeUrl("account/redeem",{voucher_code:t})}},{key:"purchasePaylinkUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"purchasePaylinkUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchasePaylinkUrl(): paylinkId is required"),this._bff.makeUrl("payment/purchase",{paylink:t,redirect_uri:e})}},{key:"purchaseProductFlowUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"purchaseProductUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchaseProductFlowUrl(): productId is required"),this._bff.makeUrl("flow/checkout",{response_type:"code",flow:"payment",product_id:t,redirect_uri:e})}},{key:"purchaseCampaignFlowUrl",value:function(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.redirectUri;return Object(n.a)(Object(n.h)(o),"purchaseCampaignFlowUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchaseCampaignFlowUrl(): campaignId is required"),Object(n.a)(Object(n.d)(e),"purchaseCampaignFlowUrl(): productId is required"),this._bff.makeUrl("flow/checkout",{response_type:"code",flow:"payment",campaign_id:t,product_id:e,voucher_code:r,redirect_uri:o})}},{key:"purchasePromoCodeProductFlowUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.redirectUri;return Object(n.a)(Object(n.h)(r),"purchasePromoCodeProductFlowUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchasePromoCodeProductFlowUrl(): code is required"),Object(n.a)(Object(n.d)(this.publisher),"purchasePromoCodeProductFlowUrl(): publisher is required in the constructor"),this._bff.makeUrl("payment/purchase/code",{code:t,publisher:this.publisher,state:e,redirect_uri:r})}}])&&f(e.prototype,r),s&&f(e,s),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=h}]));
|
|
1
|
+
!function(t,e){for(var r in e)t[r]=e[r]}(window,function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=148)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"f",(function(){return a})),r.d(e,"d",(function(){return c})),r.d(e,"e",(function(){return u})),r.d(e,"c",(function(){return s})),r.d(e,"h",(function(){return f})),r.d(e,"b",(function(){return l})),r.d(e,"g",(function(){return h}));r(40),r(16),r(25),r(21),r(29),r(141),r(109),r(26),r(27),r(28);var n=r(4);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Assertion failed";if(!t)throw new n.a(e)}function a(t){return"string"==typeof t}function c(t){return"string"==typeof t&&t.length>0}function u(t){return"object"===o(t)&&null!==t}function s(t){return u(t)&&Object.keys(t).length>0}function f(t){try{for(var e=new URL(t),r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.every((function(t){return e[t]}))}catch(t){return!1}}function l(t){return"function"==typeof t}function h(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=function(e){return a(e)&&t.toUpperCase()===e.toUpperCase()};return!(!a(t)||!Array.isArray(e))&&(r?-1!==e.indexOf(t):e.some(n))}},function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r(149))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n=r(1),o=r(43).f,i=r(14),a=r(15),c=r(86),u=r(113),s=r(70);t.exports=function(t,e){var r,f,l,h,p,v=t.target,d=t.global,y=t.stat;if(r=d?n:y?n[v]||c(v,{}):(n[v]||{}).prototype)for(f in e){if(h=e[f],l=t.noTargetGet?(p=o(r,f))&&p.value:r[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(r,f,h,t)}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));r(65),r(84),r(58),r(59),r(76),r(143),r(25),r(40),r(207),r(77),r(78),r(101),r(104),r(16),r(208),r(21),r(29),r(50),r(51),r(26),r(27),r(39),r(28);function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=o.key,a=void 0,a=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"),"symbol"===n(a)?a:String(a)),o)}var i,a}function i(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){var e="function"==typeof Map?new Map:void 0;return(c=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return u(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)})(t)}function u(t,e,r){return(u=s()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o}).apply(null,arguments)}function s(){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(t){return!1}}function f(t,e){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=["boolean","number","string"],p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(d,t);var e,r,c,u,p,v=(e=d,r=s(),function(){var t,n=l(e);if(r){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function d(t,e){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),(r=v.call(this,t)).name="SDKError","object"===n(e))try{Object.assign(a(r),e)}catch(t){}return r}return c=d,(u=[{key:"toString",value:function(){var t=this,e="".concat(this.name,": ").concat(this.message),r=Object.keys(this).filter((function(e){return"name"!==e&&h.includes(n(t[e]))})).map((function(e){return" ".concat(e,": ").concat(t[e])})).join("\n");return r?"".concat(e,"\n").concat(r):e}}])&&o(c.prototype,u),p&&o(c,p),Object.defineProperty(c,"prototype",{writable:!1}),d}(c(Error))},function(t,e,r){"use strict";var n,o=r(130),i=r(11),a=r(1),c=r(7),u=r(8),s=r(62),f=r(14),l=r(15),h=r(12).f,p=r(63),v=r(47),d=r(6),y=r(55),g=a.Int8Array,b=g&&g.prototype,m=a.Uint8ClampedArray,w=m&&m.prototype,x=g&&p(g),S=b&&p(b),O=Object.prototype,j=O.isPrototypeOf,E=d("toStringTag"),_=y("TYPED_ARRAY_TAG"),k=o&&!!v&&"Opera"!==s(a.opera),P=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L=function(t){return c(t)&&u(A,s(t))};for(n in A)a[n]||(k=!1);if((!k||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},k))for(n in A)a[n]&&v(a[n],x);if((!k||!S||S===O)&&(S=x.prototype,k))for(n in A)a[n]&&v(a[n].prototype,S);if(k&&p(w)!==S&&v(w,S),i&&!u(S,E))for(n in P=!0,h(S,E,{get:function(){return c(this)?this[_]:void 0}}),A)a[n]&&f(a[n],_,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_TAG:P&&_,aTypedArray:function(t){if(L(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(v){if(j.call(x,t))return t}else for(var e in A)if(u(A,n)){var r=a[e];if(r&&(t===r||j.call(r,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r){if(i){if(r)for(var n in A){var o=a[n];o&&u(o.prototype,t)&&delete o.prototype[t]}S[t]&&!r||l(S,t,r?e:k&&b[t]||e)}},exportTypedArrayStaticMethod:function(t,e,r){var n,o;if(i){if(v){if(r)for(n in A)(o=a[n])&&u(o,t)&&delete o[t];if(x[t]&&!r)return;try{return l(x,t,r?e:k&&g[t]||e)}catch(t){}}for(n in A)!(o=a[n])||o[t]&&!r||l(o,t,e)}},isView:function(t){var e=s(t);return"DataView"===e||u(A,e)},isTypedArray:L,TypedArray:x,TypedArrayPrototype:S}},function(t,e,r){var n=r(1),o=r(88),i=r(8),a=r(55),c=r(92),u=r(118),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(c&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(30),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,r){var n=r(2);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,r){var n=r(11),o=r(111),i=r(9),a=r(38),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(32);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(11),o=r(12),i=r(37);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(1),o=r(14),i=r(8),a=r(86),c=r(87),u=r(23),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!h&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(t,e,r){"use strict";var n=r(22),o=r(128),i=r(60),a=r(23),c=r(99),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var n={ENDPOINTS:{SPiD:{LOCAL:"http://id.localhost",DEV:"https://identity-dev.schibsted.com",PRE:"https://identity-pre.schibsted.com",PRO:"https://login.schibsted.com",PRO_NO:"https://payment.schibsted.no",PRO_FI:"https://login.schibsted.fi",PRO_DK:"https://login.schibsted.dk"},BFF:{LOCAL:"http://id.localhost/authn/",DEV:"https://identity-dev.schibsted.com/authn/",PRE:"https://identity-pre.schibsted.com/authn/",PRO:"https://login.schibsted.com/authn/",PRO_NO:"https://payment.schibsted.no/authn/",PRO_FI:"https://login.schibsted.fi/authn/",PRO_DK:"https://login.schibsted.dk/authn/"},SESSION_SERVICE:{LOCAL:"http://session-service.id.localhost",DEV:"https://session-service.identity-dev.schibsted.com",PRE:"https://session-service.identity-pre.schibsted.com",PRO:"https://session-service.login.schibsted.com",PRO_NO:"https://session-service.payment.schibsted.no",PRO_FI:"https://session-service.login.schibsted.fi",PRO_DK:"https://session-service.login.schibsted.dk"}},NAMESPACE:{LOCAL:"id.localhost",DEV:"schibsted.com",PRE:"schibsted.com",PRO:"schibsted.com",PRO_NO:"spid.no",PRO_FI:"schibsted.fi",PRO_DK:"schibsted.dk"}},o=n.ENDPOINTS,i=n.NAMESPACE},function(t,e,r){var n=r(41),o=r(54),i=r(13),a=r(10),c=r(117),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l;return function(p,v,d,y){for(var g,b,m=i(p),w=o(m),x=n(v,d,3),S=a(w.length),O=0,j=y||c,E=e?j(p,S):r?j(p,0):void 0;S>O;O++)if((h||O in w)&&(b=x(g=w[O],O,m),t))if(e)E[O]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return O;case 2:u.call(E,g)}else if(f)return!1;return l?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(0);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return Object(n.a)(Object(n.d)(t),'"url" param must be a non empty string: '.concat(o(t))),Object(n.c)(e)&&Object(n.h)(e[t])?e[t]:(Object(n.a)(Object(n.h)(t,"hostname"),"Bad URL given: '".concat(t,"'")),t)}},function(t,e,r){"use strict";r(59),r(76),r(81),r(145),r(25),r(102),r(16),r(21),r(29),r(141),r(109),r(58),r(218),r(143),r(40),r(50),r(51),r(26),r(27),r(39),r(28),r(105),r(106),r(107),r(108),r(78),r(79),r(65),r(77),r(80);var n=r(4),o=r(36),i=r(19),a=r(0);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",f=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var v="suspendedStart",d="executing",y="completed",g={};function b(){}function m(){}function w(){}var x={};l(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=b.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,u){var s=p(t[o],t,i);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==c(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=v;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?y:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(c(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,f,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),l(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(h(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),l(j,f,"Generator"),l(j,a,(function(){return this})),l(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==c(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===c(i)?i:String(i)),n)}var o,i}var l=function(t){return t.map((function(t){return Object(a.e)(t)?JSON.stringify(t,null,2):t})).join(" ")},h=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return"function"==typeof t&&t(l(r))};function p(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}var v=function(){function t(e){var r=e.serverUrl,n=void 0===r?"PRE":r,o=e.envDic,c=e.fetch,u=void 0===c?window.fetch&&window.fetch.bind(window):c,s=e.log,f=e.defaultParams,l=void 0===f?{}:f;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Object(a.a)(Object(a.e)(l),"defaultParams should be a non-null object"),this.url=new URL(Object(i.a)(n,o)),this.defaultParams=l,s&&(Object(a.a)(Object(a.b)(s),"log must be a function but it is ".concat(s)),this.log=s),u&&(Object(a.a)(Object(a.b)(u),"Fetch should be a function"),this.fetch=u)}var e,r,c,l,v;return e=t,r=[{key:"go",value:(l=u().mark((function t(e){var r,i,c,s,f,l,p,v,d,y,g,b,m;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.method,i=e.headers,c=e.pathname,s=e.data,f=void 0===s?{}:s,l=e.useDefaultParams,p=void 0===l||l,v=e.fetchOptions,d=void 0===v?{method:r,credentials:"include"}:v,Object(a.a)(Object(a.b)(this.fetch),"Can't make a call. The reference to fetch is missing or not a function."),Object(a.a)(Object(a.d)(r),'Method must be a non empty string but it is "'.concat(r,'"')),Object(a.a)(Object(a.d)(c),'Pathname must be string but it is "'.concat(c,'"')),Object(a.a)(Object(a.e)(f),"data must be a non-null object"),d.headers=Object(a.e)(i)?Object(o.b)(i):{},y=this.makeUrl(c,f,p),h(this.log,"Request:",d.method.toUpperCase(),y),h(this.log,"Request Headers:",d.headers),h(this.log,"Request Body:",d.body),t.prev=10,t.next=13,this.fetch(y,d);case 13:if(g=t.sent,h(this.log,"Response Code:",g.status,g.statusText),g.ok){t.next=17;break}throw new n.a(g.statusText,{code:g.status});case 17:return t.next=19,g.json();case 19:return b=t.sent,h(this.log,"Response Parsed:",b),t.abrupt("return",b);case 24:throw t.prev=24,t.t0=t.catch(10),m=Object(a.f)(t.t0)?t.t0:"Unknown RESTClient error",Object(a.e)(t.t0)&&Object(a.f)(t.t0.message)&&(m=t.t0.message),new n.a("Failed to '".concat(r,"' '").concat(y,"': '").concat(m,"'"),t.t0);case 29:case"end":return t.stop()}}),t,this,[[10,24]])})),v=function(){var t=this,e=arguments;return new Promise((function(r,n){var o=l.apply(t,e);function i(t){s(o,r,n,i,a,"next",t)}function a(t){s(o,r,n,i,a,"throw",t)}i(void 0)}))},function(t){return v.apply(this,arguments)})},{key:"makeUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=new URL(e,this.url);return o.search=t.search(r,n,this.defaultParams),o.href}},{key:"get",value:function(t,e){return this.go({method:"get",pathname:t,data:e})}}],c=[{key:"search",value:function(t,e,r){var n=e?Object(o.b)(r,t):Object(o.b)(t);return Object.keys(n).filter((function(t){return""!==n[t]})).map((function(t){return"".concat(p(t),"=").concat(p(n[t]))})).join("&")}}],r&&f(e.prototype,r),c&&f(e,c),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.a=v},function(t,e,r){"use strict";var n=r(98).charAt,o=r(23),i=r(99),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,r){var n=r(54),o=r(32);t.exports=function(t){return n(o(t))}},function(t,e,r){var n,o,i,a=r(150),c=r(1),u=r(7),s=r(14),f=r(8),l=r(68),h=r(56),p=c.WeakMap;if(a){var v=new p,d=v.get,y=v.has,g=v.set;n=function(t,e){return g.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var b=l("state");h[b]=!0,n=function(t,e){return s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(12).f,o=r(8),i=r(6)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},function(t,e,r){var n=r(97),o=r(15),i=r(161);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(33),a=r(44),c=r(11),u=r(92),s=r(118),f=r(2),l=r(8),h=r(71),p=r(7),v=r(9),d=r(13),y=r(22),g=r(38),b=r(37),m=r(34),w=r(57),x=r(45),S=r(203),O=r(90),j=r(43),E=r(12),_=r(67),k=r(14),P=r(15),A=r(88),L=r(68),I=r(56),T=r(55),U=r(6),R=r(139),C=r(64),N=r(24),F=r(23),M=r(18).forEach,D=L("hidden"),B=U("toPrimitive"),G=F.set,V=F.getterFor("Symbol"),q=Object.prototype,W=o.Symbol,Y=i("JSON","stringify"),z=j.f,$=E.f,H=S.f,K=_.f,J=A("symbols"),X=A("op-symbols"),Q=A("string-to-symbol-registry"),Z=A("symbol-to-string-registry"),tt=A("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=c&&f((function(){return 7!=m($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=z(q,e);n&&delete q[e],$(t,e,r),n&&t!==q&&$(q,e,n)}:$,ot=function(t,e){var r=J[t]=m(W.prototype);return G(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof W},at=function(t,e,r){t===q&&at(X,e,r),v(t);var n=g(e,!0);return v(r),l(J,n)?(r.enumerable?(l(t,D)&&t[D][n]&&(t[D][n]=!1),r=m(r,{enumerable:b(0,!1)})):(l(t,D)||$(t,D,b(1,{})),t[D][n]=!0),nt(t,n,r)):$(t,n,r)},ct=function(t,e){v(t);var r=y(e),n=w(r).concat(lt(r));return M(n,(function(e){c&&!ut.call(r,e)||at(t,e,r[e])})),t},ut=function(t){var e=g(t,!0),r=K.call(this,e);return!(this===q&&l(J,e)&&!l(X,e))&&(!(r||!l(this,e)||!l(J,e)||l(this,D)&&this[D][e])||r)},st=function(t,e){var r=y(t),n=g(e,!0);if(r!==q||!l(J,n)||l(X,n)){var o=z(r,n);return!o||!l(J,n)||l(r,D)&&r[D][n]||(o.enumerable=!0),o}},ft=function(t){var e=H(y(t)),r=[];return M(e,(function(t){l(J,t)||l(I,t)||r.push(t)})),r},lt=function(t){var e=t===q,r=H(e?X:y(t)),n=[];return M(r,(function(t){!l(J,t)||e&&!l(q,t)||n.push(J[t])})),n};(u||(P((W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=T(t),r=function(t){this===q&&r.call(X,t),l(this,D)&&l(this[D],e)&&(this[D][e]=!1),nt(this,e,b(1,t))};return c&&rt&&nt(q,e,{configurable:!0,set:r}),ot(e,t)}).prototype,"toString",(function(){return V(this).tag})),P(W,"withoutSetter",(function(t){return ot(T(t),t)})),_.f=ut,E.f=at,j.f=st,x.f=S.f=ft,O.f=lt,R.f=function(t){return ot(U(t),t)},c&&($(W.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),a||P(q,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:W}),M(w(tt),(function(t){C(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var r=W(e);return Q[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(d(t))}}),Y)&&n({target:"JSON",stat:!0,forced:!u||f((function(){var t=W();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}))},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(p(e)||void 0!==t)&&!it(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,Y.apply(null,o)}});W.prototype[B]||k(W.prototype,B,W.prototype.valueOf),N(W,"Symbol"),I[D]=!0},function(t,e,r){"use strict";var n=r(3),o=r(11),i=r(1),a=r(8),c=r(7),u=r(12).f,s=r(113),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(h,f);var p=h.prototype=f.prototype;p.constructor=h;var v=p.toString,d="Symbol(test)"==String(f("test")),y=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var r=d?e.slice(7,-1):e.replace(y,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},function(t,e,r){r(64)("iterator")},function(t,e,r){var n=r(1),o=r(140),i=r(16),a=r(14),c=r(6),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var h=n[l],p=h&&h.prototype;if(p){if(p[u]!==f)try{a(p,u,f)}catch(t){p[u]=f}if(p[s]||a(p,s,l),o[l])for(var v in i)if(p[v]!==i[v])try{a(p,v,i[v])}catch(t){p[v]=i[v]}}}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(114),o=r(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e,r){var n,o=r(9),i=r(120),a=r(89),c=r(56),u=r(121),s=r(85),f=r(68),l=f("IE_PROTO"),h=function(){},p=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;v=n?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var r=a.length;r--;)delete v.prototype[a[r]];return v()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h.prototype=o(t),r=new h,h.prototype=null,r[l]=t):r=v(),void 0===e?r:i(r,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){"use strict";r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return s}));r(25),r(79),r(212),r(40),r(26),r(27),r(28),r(16),r(21),r(29),r(80),r(101),r(65),r(122),r(81);var n=r(0),o=r(4);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(){for(var t={},e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];if(!r||!r.length)throw new o.a("No objects to clone");return r.forEach((function(e){Object(n.a)(Object(n.e)(e)),Object(n.c)(e)&&Object.entries(e).forEach((function(e){var r=a(e,2),o=r[0],i=r[1];void 0!==i&&(t[o]=Object(n.e)(i)?s(i):i)}))})),t}function s(t){return Object(n.a)("object"===i(t),"obj should be an object (even null) but it is ".concat(t)),JSON.parse(JSON.stringify(t))||t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){"use strict";var n=r(11),o=r(1),i=r(70),a=r(15),c=r(8),u=r(31),s=r(95),f=r(38),l=r(2),h=r(34),p=r(45).f,v=r(43).f,d=r(12).f,y=r(157).trim,g=o.Number,b=g.prototype,m="Number"==u(h(b)),w=function(t){var e,r,n,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var x,S=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof S&&(m?l((function(){b.valueOf.call(r)})):"Number"!=u(r))?s(new g(w(e)),r,S):w(e)},O=n?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),j=0;O.length>j;j++)c(g,x=O[j])&&!c(S,x)&&d(S,x,v(g,x));S.prototype=b,b.constructor=S,a(o,"Number",S)}},function(t,e,r){var n=r(3),o=r(13),i=r(57);n({target:"Object",stat:!0,forced:r(2)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,r){var n=r(35);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(11),o=r(67),i=r(37),a=r(22),c=r(38),u=r(8),s=r(111),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=!1},function(t,e,r){var n=r(115),o=r(89).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,r){var n=r(30),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(9),o=r(156);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){var n=r(9),o=r(35),i=r(6)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||null==(r=n(a)[i])?e:o(r)}},function(t,e,r){var n=r(11),o=r(2),i=r(8),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var r=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},function(t,e,r){r(64)("toPrimitive")},function(t,e,r){var n=r(14),o=r(202),i=r(6)("toPrimitive"),a=Date.prototype;i in a||n(a,i,o)},function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(0);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t){null!==t.SPiD&&"object"===o(t.SPiD)||(t.SPiD={}),null!==t.SPiD.Talk&&"object"===o(t.SPiD.Talk)||(t.SPiD.Talk={}),Object(n.b)(t.SPiD.Talk.response)||(t.SPiD.Talk.response=function(e,r){return t[e](r)})}},function(t,e,r){"use strict";e.a="5.2.0"},function(t,e,r){var n=r(2),o=r(31),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports={}},function(t,e,r){var n=r(115),o=r(89);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){"use strict";var n=r(3),o=r(2),i=r(71),a=r(7),c=r(13),u=r(10),s=r(91),f=r(117),l=r(72),h=r(6),p=r(93),v=h("isConcatSpreadable"),d=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!y},{concat:function(t){var e,r,n,o,i,a=c(this),l=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(g(i=-1===e?a:arguments[e])){if(h+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,h++)r in i&&s(l,h,i[r])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,h++,i)}return l.length=h,l}})},function(t,e,r){"use strict";var n=r(3),o=r(54),i=r(22),a=r(73),c=[].join,u=o!=Object,s=a("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},function(t,e){t.exports={}},function(t,e,r){var n=r(62),o=r(60),i=r(6)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(97),o=r(31),i=r(6)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:a?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){var n=r(8),o=r(13),i=r(68),a=r(127),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(114),o=r(8),i=r(139),a=r(12).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(11),o=r(12).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;n&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));r(81),r(145),r(40),r(119),r(39),r(50),r(51),r(26),r(27),r(25),r(28),r(16),r(21),r(29);var n=r(4);function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(i=n.key,a=void 0,a=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"),"symbol"===o(a)?a:String(a)),n)}var i,a}function a(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var u=a((function t(e){var r=this;c(this,t),this.store=e,this.get=function(t){return r.store.getItem(t)},this.set=function(t,e){return r.store.setItem(t,e)},this.delete=function(t){return r.store.removeItem(t)}})),s=a((function t(){var e=this;c(this,t),this.store={},this.get=function(t){return e.store[t]},this.set=function(t,r){return e.store[t]=r},this.delete=function(t){return delete e.store[t]}})),f=Math.pow(2,31)-1,l=function(){function t(e){c(this,t),!function(t){if(!t)return!1;try{var e=t(),r="x-x-x-x".replace(/x/g,(function(){return Math.random()}));e.setItem(r,"TEST-VALUE");var n=e.getItem(r);return e.removeItem(r),"TEST-VALUE"===n}catch(t){return!1}}(e)?(this.cache=new s,this.type="ObjectLiteralStorage"):(this.cache=new u(e()),this.type="WebStorage")}return a(t,[{key:"get",value:function(t){try{var e=function(t){try{return JSON.parse(t)}catch(t){return null}}(this.cache.get(t));return e&&Number.isInteger(e.expiresOn)&&e.expiresOn>Date.now()?e.value:(this.delete(t),null)}catch(t){throw new n.a(t)}}},{key:"set",value:function(t,e){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(o<=0)){o=Math.min(f,o);try{var i=Math.floor(Date.now()+o);this.cache.set(t,JSON.stringify({expiresOn:i,value:e})),setTimeout((function(){return r.delete(t)}),o)}catch(t){throw new n.a(t)}}}},{key:"delete",value:function(t){try{this.cache.delete(t)}catch(t){throw new n.a(t)}}}]),t}()},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(88),o=r(55),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(22),o=r(10),i=r(46),a=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,r){var n=r(2),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(31);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(2),o=r(6),i=r(93),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){"use strict";var n=r(2);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},function(t,e,r){var n=r(6)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,e,r){var n=r(15);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){"use strict";var n=r(3),o=r(18).map,i=r(72),a=r(49),c=i("map"),u=a("map");n({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){r(3)({target:"Object",stat:!0},{setPrototypeOf:r(47)})},function(t,e,r){var n=r(3),o=r(2),i=r(13),a=r(63),c=r(127);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,r){var n=r(1),o=r(140),i=r(204),a=r(14);for(var c in o){var u=n[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(t){s.forEach=i}}},function(t,e,r){"use strict";var n=r(3),o=r(7),i=r(71),a=r(46),c=r(10),u=r(22),s=r(91),f=r(6),l=r(72),h=r(49),p=l("slice"),v=h("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),y=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!p||!v},{slice:function(t,e){var r,n,f,l=u(this),h=c(l.length),p=a(t,h),v=a(void 0===e?h:e,h);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[d])&&(r=void 0):r=void 0,r===Array||void 0===r))return y.call(l,p,v);for(n=new(void 0===r?Array:r)(g(v-p,0)),f=0;p<v;p++,f++)p in l&&s(n,f,l[p]);return n.length=f,n}})},function(t,e,r){"use strict";var n=r(3),o=r(110);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e){function r(){}r.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,a=n.length;i<a;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}},t.exports=r,t.exports.TinyEmitter=r},function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));r(59),r(76),r(40),r(58),r(216),r(39);var n=r(0),o=r(36);function i(t){return Object(n.a)(Object(n.e)(t),"Object must be an object but it is '".concat(t,"'")),Object.keys(t).map((function(e){return"".concat(e,"=").concat(t[e])})).join(",")}var a={scrollbars:"yes",location:"yes",status:"no",menubar:"no",toolbar:"no",resizable:"yes"};function c(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Object(n.a)(Object(n.e)(t),"window was supposed to be an object but it is ".concat(t)),Object(n.a)(Object(n.e)(t.screen),"window should be a valid Window object but it lacks a 'screen' property"),Object(n.a)(Object(n.b)(t.open),"window should be a valid Window object but it lacks an 'open' function"),Object(n.a)(Object(n.h)(e),"Invalid URL for popup");var u=t.screen,s=u.height,f=u.width,l=Object(o.b)(a,c);Number.isFinite(l.width)&&Number.isFinite(f)&&(l.left=(f-l.width)/2),Number.isFinite(l.height)&&Number.isFinite(s)&&(l.top=(s-l.height)/2);var h=i(l);return t.open(e,r,h)}},function(t,e,r){var n=r(3),o=r(116);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,r){var n=r(1),o=r(7),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(1),o=r(14);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(112),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(44),o=r(112);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){"use strict";var n=r(38),o=r(12),i=r(37);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,e,r){var n=r(2);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){var n,o,i=r(1),a=r(94),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(33);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(7),o=r(47);t.exports=function(t,e,r){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(t,a),t}},function(t,e,r){var n=r(6),o=r(60),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,r){var n={};n[r(6)("toStringTag")]="z",t.exports="[object z]"===String(n)},function(t,e,r){var n=r(30),o=r(32),i=function(t){return function(e,r){var i,a,c=String(o(e)),u=n(r),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){"use strict";var n=r(3),o=r(125),i=r(63),a=r(47),c=r(24),u=r(14),s=r(15),f=r(6),l=r(44),h=r(60),p=r(126),v=p.IteratorPrototype,d=p.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,p,b,m){o(r,e,f);var w,x,S,O=function(t){if(t===p&&P)return P;if(!d&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},j=e+" Iterator",E=!1,_=t.prototype,k=_[y]||_["@@iterator"]||p&&_[p],P=!d&&k||O(p),A="Array"==e&&_.entries||k;if(A&&(w=i(A.call(new t)),v!==Object.prototype&&w.next&&(l||i(w)===v||(a?a(w,v):"function"!=typeof w[y]&&u(w,y,g)),c(w,j,!0,!0),l&&(h[j]=g))),"values"==p&&k&&"values"!==k.name&&(E=!0,P=function(){return k.call(this)}),l&&!m||_[y]===P||u(_,y,P),h[e]=P,p)if(x={values:O("values"),keys:b?P:O("keys"),entries:O("entries")},m)for(S in x)(d||E||!(S in _))&&s(_,S,x[S]);else n({target:e,proto:!0,forced:d||E},x);return x}},function(t,e,r){"use strict";var n=r(33),o=r(12),i=r(6),a=r(11),c=i("species");t.exports=function(t){var e=n(t),r=o.f;a&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";var n=r(15),o=r(9),i=r(2),a=r(135),c=RegExp.prototype,u=c.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&n(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in c)?a.call(t):r)}),{unsafe:!0})},function(t,e,r){"use strict";var n,o,i,a,c=r(3),u=r(44),s=r(1),f=r(33),l=r(196),h=r(15),p=r(75),v=r(24),d=r(100),y=r(7),g=r(35),b=r(42),m=r(31),w=r(87),x=r(103),S=r(74),O=r(48),j=r(136).set,E=r(197),_=r(198),k=r(199),P=r(138),A=r(200),L=r(23),I=r(70),T=r(6),U=r(93),R=T("species"),C="Promise",N=L.get,F=L.set,M=L.getterFor(C),D=l,B=s.TypeError,G=s.document,V=s.process,q=f("fetch"),W=P.f,Y=W,z="process"==m(V),$=!!(G&&G.createEvent&&s.dispatchEvent),H=I(C,(function(){if(!(w(D)!==String(D))){if(66===U)return!0;if(!z&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!D.prototype.finally)return!0;if(U>=51&&/native code/.test(D))return!1;var t=D.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[R]=e,!(t.then((function(){}))instanceof e)})),K=H||!S((function(t){D.all(t).catch((function(){}))})),J=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},X=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;E((function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var c,u,s,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?p(B("Promise-chain cycle")):(u=J(c))?u.call(c,h,p):h(c)):p(o)}catch(t){v&&!s&&v.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&Z(t,e)}))}},Q=function(t,e,r){var n,o;$?((n=G.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(o=s["on"+t])?o(n):"unhandledrejection"===t&&k("Unhandled promise rejection",r)},Z=function(t,e){j.call(s,(function(){var r,n=e.value;if(tt(e)&&(r=A((function(){z?V.emit("unhandledRejection",n,t):Q("unhandledrejection",t,n)})),e.rejection=z||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){j.call(s,(function(){z?V.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(o){t(e,r,o,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,X(t,e,!0))},ot=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw B("Promise can't be resolved itself");var o=J(r);o?E((function(){var n={done:!1};try{o.call(r,rt(ot,t,n,e),rt(nt,t,n,e))}catch(r){nt(t,n,r,e)}})):(e.value=r,e.state=1,X(t,e,!1))}catch(r){nt(t,{done:!1},r,e)}}};H&&(D=function(t){b(this,D,C),g(t),n.call(this);var e=N(this);try{t(rt(ot,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){F(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(D.prototype,{then:function(t,e){var r=M(this),n=W(O(this,D));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=z?V.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&X(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,e=N(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(nt,t,e)},P.f=W=function(t){return t===D||t===i?new o(t):Y(t)},u||"function"!=typeof l||(a=l.prototype.then,h(l.prototype,"then",(function(t,e){var r=this;return new D((function(t,e){a.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof q&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(D,q.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:H},{Promise:D}),v(D,C,!1,!0),d(C),i=f(C),c({target:C,stat:!0,forced:H},{reject:function(t){var e=W(this);return e.reject.call(void 0,t),e.promise}}),c({target:C,stat:!0,forced:u||H},{resolve:function(t){return _(u&&this===i?D:this,t)}}),c({target:C,stat:!0,forced:K},{all:function(t){var e=this,r=W(e),n=r.resolve,o=r.reject,i=A((function(){var r=g(e.resolve),i=[],a=0,c=1;x(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,r.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=W(e),n=r.reject,o=A((function(){var o=g(e.resolve);x(t,(function(t){o.call(e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},function(t,e,r){var n=r(9),o=r(96),i=r(10),a=r(41),c=r(61),u=r(124),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var h,p,v,d,y,g,b,m=a(e,r,f?2:1);if(l)h=t;else{if("function"!=typeof(p=c(t)))throw TypeError("Target is not iterable");if(o(p)){for(v=0,d=i(t.length);d>v;v++)if((y=f?m(n(b=t[v])[0],b[1]):m(t[v]))&&y instanceof s)return y;return new s(!1)}h=p.call(t)}for(g=h.next;!(b=g.call(h)).done;)if("object"==typeof(y=u(h,m,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,e,r){var n=r(3),o=r(33),i=r(35),a=r(9),c=r(7),u=r(34),s=r(201),f=r(2),l=o("Reflect","construct"),h=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),p=!f((function(){l((function(){}))})),v=h||p;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),a(e);var r=arguments.length<3?t:i(arguments[2]);if(p&&!h)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(s.apply(t,n))}var o=r.prototype,f=u(c(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return c(v)?v:f}})},function(t,e,r){r(64)("asyncIterator")},function(t,e,r){r(64)("toStringTag")},function(t,e,r){var n=r(1);r(24)(n.JSON,"JSON",!0)},function(t,e,r){r(24)(Math,"Math",!0)},function(t,e,r){"use strict";r(16);var n=r(3),o=r(33),i=r(142),a=r(15),c=r(75),u=r(24),s=r(125),f=r(23),l=r(42),h=r(8),p=r(41),v=r(62),d=r(9),y=r(7),g=r(34),b=r(37),m=r(206),w=r(61),x=r(6),S=o("fetch"),O=o("Headers"),j=x("iterator"),E=f.set,_=f.getterFor("URLSearchParams"),k=f.getterFor("URLSearchParamsIterator"),P=/\+/g,A=Array(4),L=function(t){return A[t-1]||(A[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},I=function(t){try{return decodeURIComponent(t)}catch(e){return t}},T=function(t){var e=t.replace(P," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(L(r--),I);return e}},U=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(t){return R[t]},N=function(t){return encodeURIComponent(t).replace(U,C)},F=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:T(n.shift()),value:T(n.join("="))}))},M=function(t){this.entries.length=0,F(this.entries,t)},D=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=s((function(t,e){E(this,{type:"URLSearchParamsIterator",iterator:m(_(t).entries),kind:e})}),"Iterator",(function(){var t=k(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r})),G=function(){l(this,G,"URLSearchParams");var t,e,r,n,o,i,a,c,u,s=arguments.length>0?arguments[0]:void 0,f=this,p=[];if(E(f,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:M}),void 0!==s)if(y(s))if("function"==typeof(t=w(s)))for(r=(e=t.call(s)).next;!(n=r.call(e)).done;){if((a=(i=(o=m(d(n.value))).next).call(o)).done||(c=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:c.value+""})}else for(u in s)h(s,u)&&p.push({key:u,value:s[u]+""});else F(p,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},V=G.prototype;c(V,{append:function(t,e){D(arguments.length,2);var r=_(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){D(arguments.length,1);for(var e=_(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){D(arguments.length,1);for(var e=_(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){D(arguments.length,1);for(var r,n=_(this),o=n.entries,i=!1,a=t+"",c=e+"",u=0;u<o.length;u++)(r=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,r.value=c));i||o.push({key:a,value:c}),n.updateURL()},sort:function(){var t,e,r,n=_(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=_(this).entries,n=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(V,j,V.entries),a(V,"toString",(function(){for(var t,e=_(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(N(t.key)+"="+N(t.value));return r.join("&")}),{enumerable:!0}),u(G,"URLSearchParams"),n({global:!0,forced:!i},{URLSearchParams:G}),i||"function"!=typeof S||"function"!=typeof O||n({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&(r=e.body,"URLSearchParams"===v(r)&&((n=e.headers?new O(e.headers):new O).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=g(e,{body:b(0,String(r)),headers:b(0,n)}))),o.push(e)),S.apply(this,o)}}),t.exports={URLSearchParams:G,getState:_}},function(t,e,r){"use strict";var n,o,i=r(135),a=r(214),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||l)&&(s=function(t){var e,r,n,o,a=this,s=l&&a.sticky,p=i.call(a),v=a.source,d=0,y=t;return s&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),y=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",y=" "+y,d++),r=new RegExp("^(?:"+v+")",p)),h&&(r=new RegExp("^"+v+"$(?!\\s)",p)),f&&(e=a.lastIndex),n=c.call(s?r:a,y),s?n?(n.input=n.input.slice(d),n[0]=n[0].slice(d),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),h&&n&&n.length>1&&u.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},function(t,e,r){var n=r(11),o=r(2),i=r(85);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(1),o=r(86),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(8),o=r(151),i=r(43),a=r(12);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||c(t,f,u(e,f))}}},function(t,e,r){var n=r(1);t.exports=n},function(t,e,r){var n=r(8),o=r(22),i=r(69).indexOf,a=r(56);t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},function(t,e,r){"use strict";var n=r(11),o=r(2),i=r(57),a=r(90),c=r(67),u=r(13),s=r(54),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[r]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var r=u(t),o=arguments.length,f=1,l=a.f,h=c.f;o>f;)for(var p,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),y=d.length,g=0;y>g;)p=d[g++],n&&!h.call(v,p)||(r[p]=v[p]);return r}:f},function(t,e,r){var n=r(7),o=r(71),i=r(6)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(92);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){r(3)({target:"Number",stat:!0},{isInteger:r(155)})},function(t,e,r){var n=r(11),o=r(12),i=r(9),a=r(57);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),c=n.length,u=0;c>u;)o.f(t,r=n[u++],e[r]);return t}},function(t,e,r){var n=r(33);t.exports=n("document","documentElement")},function(t,e,r){var n=r(3),o=r(123);n({target:"Array",stat:!0,forced:!r(74)((function(t){Array.from(t)}))},{from:o})},function(t,e,r){"use strict";var n=r(41),o=r(13),i=r(124),a=r(96),c=r(10),u=r(91),s=r(61);t.exports=function(t){var e,r,f,l,h,p,v=o(t),d="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,b=void 0!==g,m=s(v),w=0;if(b&&(g=n(g,y>2?arguments[2]:void 0,2)),null==m||d==Array&&a(m))for(r=new d(e=c(v.length));e>w;w++)p=b?g(v[w],w):v[w],u(r,w,p);else for(h=(l=m.call(v)).next,r=new d;!(f=h.call(l)).done;w++)p=b?i(l,g,[f.value,w],!0):f.value,u(r,w,p);return r.length=w,r}},function(t,e,r){var n=r(9);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},function(t,e,r){"use strict";var n=r(126).IteratorPrototype,o=r(34),i=r(37),a=r(24),c=r(60),u=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,s,!1,!0),c[s]=u,t}},function(t,e,r){"use strict";var n,o,i,a=r(63),c=r(14),u=r(8),s=r(6),f=r(44),l=s("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0),null==n&&(n={}),f||u(n,l)||c(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},function(t,e,r){var n=r(2);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,r){var n=r(6),o=r(34),i=r(12),a=n("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},function(t,e,r){"use strict";var n=r(1),o=r(11),i=r(130),a=r(14),c=r(75),u=r(2),s=r(42),f=r(30),l=r(10),h=r(131),p=r(160),v=r(63),d=r(47),y=r(45).f,g=r(12).f,b=r(132),m=r(24),w=r(23),x=w.get,S=w.set,O=n.ArrayBuffer,j=O,E=n.DataView,_=E&&E.prototype,k=Object.prototype,P=n.RangeError,A=p.pack,L=p.unpack,I=function(t){return[255&t]},T=function(t){return[255&t,t>>8&255]},U=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},R=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},C=function(t){return A(t,23,4)},N=function(t){return A(t,52,8)},F=function(t,e){g(t.prototype,e,{get:function(){return x(this)[e]}})},M=function(t,e,r,n){var o=h(r),i=x(t);if(o+e>i.byteLength)throw P("Wrong index");var a=x(i.buffer).bytes,c=o+i.byteOffset,u=a.slice(c,c+e);return n?u:u.reverse()},D=function(t,e,r,n,o,i){var a=h(r),c=x(t);if(a+e>c.byteLength)throw P("Wrong index");for(var u=x(c.buffer).bytes,s=a+c.byteOffset,f=n(+o),l=0;l<e;l++)u[s+l]=f[i?l:e-l-1]};if(i){if(!u((function(){O(1)}))||!u((function(){new O(-1)}))||u((function(){return new O,new O(1.5),new O(NaN),"ArrayBuffer"!=O.name}))){for(var B,G=(j=function(t){return s(this,j),new O(h(t))}).prototype=O.prototype,V=y(O),q=0;V.length>q;)(B=V[q++])in j||a(j,B,O[B]);G.constructor=j}d&&v(_)!==k&&d(_,k);var W=new E(new j(2)),Y=_.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(_,{setInt8:function(t,e){Y.call(this,t,e<<24>>24)},setUint8:function(t,e){Y.call(this,t,e<<24>>24)}},{unsafe:!0})}else j=function(t){s(this,j,"ArrayBuffer");var e=h(t);S(this,{bytes:b.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},E=function(t,e,r){s(this,E,"DataView"),s(t,j,"DataView");var n=x(t).byteLength,i=f(e);if(i<0||i>n)throw P("Wrong offset");if(i+(r=void 0===r?n-i:l(r))>n)throw P("Wrong length");S(this,{buffer:t,byteLength:r,byteOffset:i}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=i)},o&&(F(j,"byteLength"),F(E,"buffer"),F(E,"byteLength"),F(E,"byteOffset")),c(E.prototype,{getInt8:function(t){return M(this,1,t)[0]<<24>>24},getUint8:function(t){return M(this,1,t)[0]},getInt16:function(t){var e=M(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=M(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return R(M(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return R(M(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return L(M(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return L(M(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){D(this,1,t,I,e)},setUint8:function(t,e){D(this,1,t,I,e)},setInt16:function(t,e){D(this,2,t,T,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){D(this,2,t,T,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){D(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){D(this,4,t,U,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){D(this,4,t,C,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){D(this,8,t,N,e,arguments.length>2?arguments[2]:void 0)}});m(j,"ArrayBuffer"),m(E,"DataView"),t.exports={ArrayBuffer:j,DataView:E}},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,r){var n=r(30),o=r(10);t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=o(e);if(e!==r)throw RangeError("Wrong length or index");return r}},function(t,e,r){"use strict";var n=r(13),o=r(46),i=r(10);t.exports=function(t){for(var e=n(this),r=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,s=void 0===u?r:o(u,r);s>c;)e[c++]=t;return e}},function(t,e,r){var n=r(165);t.exports=function(t,e){var r=n(t);if(r%e)throw RangeError("Wrong offset");return r}},function(t,e,r){var n=r(35),o=r(13),i=r(54),a=r(10),c=function(t){return function(e,r,c,u){n(r);var s=o(e),f=i(s),l=a(s.length),h=t?l-1:0,p=t?-1:1;if(c<2)for(;;){if(h in f){u=f[h],h+=p;break}if(h+=p,t?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:l>h;h+=p)h in f&&(u=r(u,f[h],h,s));return u}};t.exports={left:c(!1),right:c(!0)}},function(t,e,r){"use strict";var n=r(9);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,r){var n,o,i,a=r(1),c=r(2),u=r(31),s=r(41),f=r(121),l=r(85),h=r(137),p=a.location,v=a.setImmediate,d=a.clearImmediate,y=a.process,g=a.MessageChannel,b=a.Dispatch,m=0,w={},x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},S=function(t){return function(){x(t)}},O=function(t){x(t.data)},j=function(t){a.postMessage(t+"",p.protocol+"//"+p.host)};v&&d||(v=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return w[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},d=function(t){delete w[t]},"process"==u(y)?n=function(t){y.nextTick(S(t))}:b&&b.now?n=function(t){b.now(S(t))}:g&&!h?(i=(o=new g).port2,o.port1.onmessage=O,n=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(j)||"file:"===p.protocol?n="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),x(t)}}:function(t){setTimeout(S(t),0)}:(n=j,a.addEventListener("message",O,!1))),t.exports={set:v,clear:d}},function(t,e,r){var n=r(94);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},function(t,e,r){"use strict";var n=r(35),o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},function(t,e,r){var n=r(6);e.f=n},function(t,e){t.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}},function(t,e,r){"use strict";r(21);var n,o=r(3),i=r(11),a=r(142),c=r(1),u=r(120),s=r(15),f=r(42),l=r(8),h=r(116),p=r(123),v=r(98).codeAt,d=r(205),y=r(24),g=r(109),b=r(23),m=c.URL,w=g.URLSearchParams,x=g.getState,S=b.set,O=b.getterFor("URL"),j=Math.floor,E=Math.pow,_=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,P=/\d/,A=/^(0x|0X)/,L=/^[0-7]+$/,I=/^\d+$/,T=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,C=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,F=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(r=D(e.slice(1,-1))))return"Invalid host";t.host=r}else if($(t)){if(e=d(e),U.test(e))return"Invalid host";if(null===(r=M(e)))return"Invalid host";t.host=r}else{if(R.test(e))return"Invalid host";for(r="",n=p(e),o=0;o<n.length;o++)r+=Y(n[o],G);t.host=r}},M=function(t){var e,r,n,o,i,a,c,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=u[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?L:T).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=E(256,5-e))return null}else if(a>255)return null;for(c=r.pop(),n=0;n<r.length;n++)c+=r[n]*E(256,3-n);return c},D=function(t){var e,r,n,o,i,a,c,u=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++s}for(;h();){if(8==s)return;if(":"!=h()){for(e=r=0;r<4&&T.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,s>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!P.test(h()))return;for(;P.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}u[s]=256*u[s]+o,2!=++n&&4!=n||s++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;u[s++]=e}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(a=s-f,s=7;0!=s&&a>0;)c=u[s],u[s--]=u[f+a-1],u[f+--a]=c;else if(8!=s)return;return u},B=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=j(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},G={},V=h({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),q=h({},V,{"#":1,"?":1,"{":1,"}":1}),W=h({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(t,e){var r=v(t,0);return r>32&&r<127&&!l(e,t)?t:encodeURIComponent(t)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(t){return l(z,t.scheme)},H=function(t){return""!=t.username||""!=t.password},K=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},J=function(t,e){var r;return 2==t.length&&_.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},X=function(t){var e;return t.length>1&&J(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},Q=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&J(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},rt={},nt={},ot={},it={},at={},ct={},ut={},st={},ft={},lt={},ht={},pt={},vt={},dt={},yt={},gt={},bt={},mt={},wt={},xt=function(t,e,r,o){var i,a,c,u,s,f=r||tt,h=0,v="",d=!1,y=!1,g=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(C,"")),e=e.replace(N,""),i=p(e);h<=i.length;){switch(a=i[h],f){case tt:if(!a||!_.test(a)){if(r)return"Invalid scheme";f=rt;continue}v+=a.toLowerCase(),f=et;break;case et:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))v+=a.toLowerCase();else{if(":"!=a){if(r)return"Invalid scheme";v="",f=rt,h=0;continue}if(r&&($(t)!=l(z,v)||"file"==v&&(H(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=v,r)return void($(t)&&z[t.scheme]==t.port&&(t.port=null));v="","file"==t.scheme?f=pt:$(t)&&o&&o.scheme==t.scheme?f=nt:$(t)?f=ct:"/"==i[h+1]?(f=ot,h++):(t.cannotBeABaseURL=!0,t.path.push(""),f=bt)}break;case rt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,f=wt;break}f="file"==o.scheme?pt:it;continue;case nt:if("/"!=a||"/"!=i[h+1]){f=it;continue}f=ut,h++;break;case ot:if("/"==a){f=st;break}f=gt;continue;case it:if(t.scheme=o.scheme,a==n)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&$(t))f=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",f=mt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),f=gt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=wt}break;case at:if(!$(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,f=gt;continue}f=st}else f=ut;break;case ct:if(f=ut,"/"!=a||"/"!=v.charAt(h+1))continue;h++;break;case ut:if("/"!=a&&"\\"!=a){f=st;continue}break;case st:if("@"==a){d&&(v="%40"+v),d=!0,c=p(v);for(var b=0;b<c.length;b++){var m=c[b];if(":"!=m||g){var w=Y(m,W);g?t.password+=w:t.username+=w}else g=!0}v=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if(d&&""==v)return"Invalid authority";h-=p(v).length+1,v="",f=ft}else v+=a;break;case ft:case lt:if(r&&"file"==t.scheme){f=dt;continue}if(":"!=a||y){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if($(t)&&""==v)return"Invalid host";if(r&&""==v&&(H(t)||null!==t.port))return;if(u=F(t,v))return u;if(v="",f=yt,r)return;continue}"["==a?y=!0:"]"==a&&(y=!1),v+=a}else{if(""==v)return"Invalid host";if(u=F(t,v))return u;if(v="",f=ht,r==lt)return}break;case ht:if(!P.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)||r){if(""!=v){var x=parseInt(v,10);if(x>65535)return"Invalid port";t.port=$(t)&&x===z[t.scheme]?null:x,v=""}if(r)return;f=yt;continue}return"Invalid port"}v+=a;break;case pt:if(t.scheme="file","/"==a||"\\"==a)f=vt;else{if(!o||"file"!=o.scheme){f=gt;continue}if(a==n)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",f=mt;else{if("#"!=a){X(i.slice(h).join(""))||(t.host=o.host,t.path=o.path.slice(),Q(t)),f=gt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",f=wt}}break;case vt:if("/"==a||"\\"==a){f=dt;break}o&&"file"==o.scheme&&!X(i.slice(h).join(""))&&(J(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),f=gt;continue;case dt:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&J(v))f=gt;else if(""==v){if(t.host="",r)return;f=yt}else{if(u=F(t,v))return u;if("localhost"==t.host&&(t.host=""),r)return;v="",f=yt}continue}v+=a;break;case yt:if($(t)){if(f=gt,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(f=gt,"/"!=a))continue}else t.fragment="",f=wt;else t.query="",f=mt;break;case gt:if(a==n||"/"==a||"\\"==a&&$(t)||!r&&("?"==a||"#"==a)){if(".."===(s=(s=v).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(Q(t),"/"==a||"\\"==a&&$(t)||t.path.push("")):Z(v)?"/"==a||"\\"==a&&$(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&J(v)&&(t.host&&(t.host=""),v=v.charAt(0)+":"),t.path.push(v)),v="","file"==t.scheme&&(a==n||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",f=mt):"#"==a&&(t.fragment="",f=wt)}else v+=Y(a,q);break;case bt:"?"==a?(t.query="",f=mt):"#"==a?(t.fragment="",f=wt):a!=n&&(t.path[0]+=Y(a,G));break;case mt:r||"#"!=a?a!=n&&("'"==a&&$(t)?t.query+="%27":t.query+="#"==a?"%23":Y(a,G)):(t.fragment="",f=wt);break;case wt:a!=n&&(t.fragment+=Y(a,V))}h++}},St=function(t){var e,r,n=f(this,St,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),c=S(n,{type:"URL"});if(void 0!==o)if(o instanceof St)e=O(o);else if(r=xt(e={},String(o)))throw TypeError(r);if(r=xt(c,a,null,e))throw TypeError(r);var u=c.searchParams=new w,s=x(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},i||(n.href=jt.call(n),n.origin=Et.call(n),n.protocol=_t.call(n),n.username=kt.call(n),n.password=Pt.call(n),n.host=At.call(n),n.hostname=Lt.call(n),n.port=It.call(n),n.pathname=Tt.call(n),n.search=Ut.call(n),n.searchParams=Rt.call(n),n.hash=Ct.call(n))},Ot=St.prototype,jt=function(){var t=O(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,c=t.query,u=t.fragment,s=e+":";return null!==o?(s+="//",H(t)&&(s+=r+(n?":"+n:"")+"@"),s+=B(o),null!==i&&(s+=":"+i)):"file"==e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},Et=function(){var t=O(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&$(t)?e+"://"+B(t.host)+(null!==r?":"+r:""):"null"},_t=function(){return O(this).scheme+":"},kt=function(){return O(this).username},Pt=function(){return O(this).password},At=function(){var t=O(this),e=t.host,r=t.port;return null===e?"":null===r?B(e):B(e)+":"+r},Lt=function(){var t=O(this).host;return null===t?"":B(t)},It=function(){var t=O(this).port;return null===t?"":String(t)},Tt=function(){var t=O(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Ut=function(){var t=O(this).query;return t?"?"+t:""},Rt=function(){return O(this).searchParams},Ct=function(){var t=O(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(Ot,{href:Nt(jt,(function(t){var e=O(this),r=String(t),n=xt(e,r);if(n)throw TypeError(n);x(e.searchParams).updateSearchParams(e.query)})),origin:Nt(Et),protocol:Nt(_t,(function(t){var e=O(this);xt(e,String(t)+":",tt)})),username:Nt(kt,(function(t){var e=O(this),r=p(String(t));if(!K(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Y(r[n],W)}})),password:Nt(Pt,(function(t){var e=O(this),r=p(String(t));if(!K(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Y(r[n],W)}})),host:Nt(At,(function(t){var e=O(this);e.cannotBeABaseURL||xt(e,String(t),ft)})),hostname:Nt(Lt,(function(t){var e=O(this);e.cannotBeABaseURL||xt(e,String(t),lt)})),port:Nt(It,(function(t){var e=O(this);K(e)||(""==(t=String(t))?e.port=null:xt(e,t,ht))})),pathname:Nt(Tt,(function(t){var e=O(this);e.cannotBeABaseURL||(e.path=[],xt(e,t+"",yt))})),search:Nt(Ut,(function(t){var e=O(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",xt(e,t,mt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Rt),hash:Nt(Ct,(function(t){var e=O(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",xt(e,t,wt)):e.fragment=null}))}),s(Ot,"toJSON",(function(){return jt.call(this)}),{enumerable:!0}),s(Ot,"toString",(function(){return jt.call(this)}),{enumerable:!0}),m){var Ft=m.createObjectURL,Mt=m.revokeObjectURL;Ft&&s(St,"createObjectURL",(function(t){return Ft.apply(m,arguments)})),Mt&&s(St,"revokeObjectURL",(function(t){return Mt.apply(m,arguments)}))}y(St,"URL"),o({global:!0,forced:!a,sham:!i},{URL:St})},function(t,e,r){var n=r(2),o=r(6),i=r(44),a=o("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"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}))},function(t,e,r){"use strict";var n=r(3),o=r(18).filter,i=r(72),a=r(49),c=i("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(56),o=r(7),i=r(8),a=r(12).f,c=r(55),u=r(210),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},p=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[s].weakData},onFreeze:function(t){return u&&p.REQUIRED&&l(t)&&!i(t,s)&&h(t),t}};n[s]=!0},function(t,e,r){"use strict";var n=r(146),o=r(9),i=r(13),a=r(10),c=r(30),u=r(32),s=r(215),f=r(147),l=Math.max,h=Math.min,p=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(r,n){var o=u(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(b)){var i=r(e,t,this,n);if(i.done)return i.value}var u=o(t),p=String(this),v="function"==typeof n;v||(n=String(n));var d=u.global;if(d){var w=u.unicode;u.lastIndex=0}for(var x=[];;){var S=f(u,p);if(null===S)break;if(x.push(S),!d)break;""===String(S[0])&&(u.lastIndex=s(p,a(u.lastIndex),w))}for(var O,j="",E=0,_=0;_<x.length;_++){S=x[_];for(var k=String(S[0]),P=l(h(c(S.index),p.length),0),A=[],L=1;L<S.length;L++)A.push(void 0===(O=S[L])?O:String(O));var I=S.groups;if(v){var T=[k].concat(A,P,p);void 0!==I&&T.push(I);var U=String(n.apply(void 0,T))}else U=m(k,p,P,A,I,n);P>=E&&(j+=p.slice(E,P)+U,E=P+k.length)}return j+p.slice(E)}];function m(t,r,n,o,a,c){var u=n+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=p(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c}))}}))},function(t,e,r){"use strict";r(81);var n=r(15),o=r(2),i=r(6),a=r(110),c=r(14),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),h=!!/./[l]&&""===/./[l]("a","$0"),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),y=d&&!o((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e}));if(!d||!y||"replace"===t&&(!s||!f||h)||"split"===t&&!p){var g=/./[v],b=r(v,""[t],(function(t,e,r,n,o){return e.exec===a?d&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),m=b[0],w=b[1];n(String.prototype,t,m),n(RegExp.prototype,v,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},function(t,e,r){var n=r(31),o=r(110);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,r){"use strict";r.r(e);r(84);var n=r(152),o=n.Identity,i=n.Monetization,a=n.Payment;Object.assign(window,{Identity:o,Monetization:i,Payment:a})},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(1),o=r(87),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(33),o=r(45),i=r(90),a=r(9);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){"use strict";window.regeneratorRuntime=r(153);var n=r(154).Identity,o=r(220).Monetization,i=r(222).Payment;t.exports={Identity:n,Monetization:o,Payment:i}},function(t,e,r){var n=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),a=new O(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=w(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function h(){}function p(){}var v={};v[o]=function(){return this};var d=Object.getPrototypeOf,y=d&&d(d(j([])));y&&y!==e&&r.call(y,o)&&(v=y);var g=p.prototype=l.prototype=Object.create(v);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var n;this._invoke=function(o,i){function a(){return new e((function(n,a){!function n(o,i,a,c){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}(o,i,n,a)}))}return n=n?n.then(a,a):a()}}function w(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function j(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=g.constructor=p,p.constructor=h,h.displayName=c(p,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,c(t,a,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(m.prototype),m.prototype[i]=function(){return this},t.AsyncIterator=m,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new m(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),c(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=j,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e,r){"use strict";r.r(e),r.d(e,"Identity",(function(){return _}));r(58),r(119),r(39),r(59),r(40),r(122),r(21),r(16),r(159),r(25),r(162),r(167),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(76),r(192),r(101),r(102),r(84),r(77),r(78),r(104),r(50),r(51),r(26),r(27),r(28),r(29),r(105),r(106),r(107),r(108),r(79),r(65),r(80);var n=r(0),o=r(36),i=r(19),a=r(17),c=r(82),u=r.n(c),s=r(66),f=r(83),l=r(20),h=r(4),p=r(52),v=r(53);function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",p="executing",v="completed",y={};function g(){}function m(){}function w(){}var x={};s(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=g.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==b(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===p)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=l(e,r,n);if("normal"===s.type){if(o=n.done?v:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(b(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),s(j,u,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function y(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))}}function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==b(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===b(i)?i:String(i)),n)}var o,i}function w(t,e){return(w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=O(t);if(e){var o=O(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return S(this,r)}}function S(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=Math.floor(1e5*Math.random()),E=function(){return window},_=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&w(t,e)}(U,t);var e,r,c,u,y,S,O,_,k,P,A,L,I,T=x(U);function U(t){var e,r=t.clientId,o=t.redirectUri,i=t.sessionDomain,a=t.env,c=void 0===a?"PRE":a,u=t.log,f=t.window,l=void 0===f?E():f,h=t.callbackBeforeRedirect,v=void 0===h?function(){}:h;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,U),e=T.call(this),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),Object(n.a)(Object(n.e)(l),"The reference to window is missing"),Object(n.a)(!o||Object(n.h)(o),"redirectUri parameter is invalid"),Object(n.a)(i&&Object(n.h)(i),"sessionDomain parameter is not a valid URL"),p.a(l),e._sessionInitiatedSent=!1,e.window=l,e.clientId=r,e.sessionStorageCache=new s.a((function(){return e.window&&e.window.sessionStorage})),e.localStorageCache=new s.a((function(){return e.window&&e.window.localStorage})),e.redirectUri=o,e.env=c,e.log=u,e.callbackBeforeRedirect=v,e._sessionDomain=i,e._enableSessionCaching=!0,e._session={},e._setSessionServiceUrl(i),e._setSpidServerUrl(c),e._setBffServerUrl(c),e._setOauthServerUrl(c),e._setGlobalSessionServiceUrl(c),e._unblockSessionCall(),e}return e=U,(r=[{key:"_getTabId",value:function(){if(this._enableSessionCaching){var t=this.sessionStorageCache.get("tab-id-cache");return t||(this.sessionStorageCache.set("tab-id-cache",j,2592e6),j)}}},{key:"_isSessionCallBlocked",value:function(){return this.localStorageCache.get("sessionCallBlocked-cache")}},{key:"_blockSessionCall",value:function(){this.localStorageCache.set("sessionCallBlocked-cache",!0,3e5)}},{key:"_unblockSessionCall",value:function(){this.localStorageCache.delete("sessionCallBlocked-cache")}},{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new l.a({serverUrl:Object(i.a)(t,a.a.SPiD),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setOauthServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._oauthService=new l.a({serverUrl:Object(i.a)(t,a.a.SPiD),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setBffServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._bffService=new l.a({serverUrl:Object(i.a)(t,a.a.BFF),log:this.log,defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(a.b[this.env],":client:").concat(this.clientId);this._sessionService=new l.a({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:v.a}})}},{key:"_setGlobalSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t));var e="sdrn:".concat(a.b[this.env],":client:").concat(this.clientId);this._globalSessionService=new l.a({serverUrl:Object(i.a)(t,a.a.SESSION_SERVICE),log:this.log,defaultParams:{client_sdrn:e,sdk_version:v.a}})}},{key:"_emitSessionEvent",value:function(t,e){e.userId&&this.emit("login",e),t.userId&&!e.userId&&this.emit("logout",e),t.userId&&e.userId&&t.userId!==e.userId&&this.emit("userChange",e),t.userId||e.userId?this.emit("sessionChange",e):this.emit("notLoggedin",e),e.userId&&!this._sessionInitiatedSent&&(this._sessionInitiatedSent=!0,this.emit("sessionInit",e)),t.userStatus!==e.userStatus&&this.emit("statusChange",e)}},{key:"_closePopup",value:function(){this.popup&&(this.popup.closed||this.popup.close(),this.popup=null)}},{key:"enableVarnishCookie",value:function(t){var e,r=0;Number.isInteger(t)?r=t:"object"==b(t)&&(r=t.expiresIn||r,e=t.domain||e),Object(n.a)(Number.isInteger(r),"'expiresIn' must be an integer"),Object(n.a)(r>=0,"'expiresIn' cannot be negative"),this.setVarnishCookie=!0,this.varnishExpiresIn=r,this.varnishCookieDomain=e}},{key:"_maybeSetVarnishCookie",value:function(t){if(this.setVarnishCookie){var e=new Date;if(this.varnishExpiresIn||"number"==typeof t.expiresIn&&t.expiresIn>0){var r=this.varnishExpiresIn||t.expiresIn;e.setTime(e.getTime()+1e3*r)}else e.setTime(0);var n=this.varnishCookieDomain||("string"==typeof t.baseDomain?t.baseDomain:document.domain)||"",o=["SP_ID=".concat(t.sp_id),"expires=".concat(e.toUTCString()),"path=/","domain=.".concat(n)].join("; ");document.cookie=o}}},{key:"_maybeClearVarnishCookie",value:function(){this.setVarnishCookie&&this._clearVarnishCookie()}},{key:"_clearVarnishCookie",value:function(){var t=this._session&&"string"==typeof this._session.baseDomain?this._session.baseDomain:document.domain,e=this.varnishCookieDomain||t||"";document.cookie="SP_ID=nothing; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.".concat(e)}},{key:"logSettings",value:function(){if(!this.log&&!window.console)throw new h.a("You have to provide log method in constructor");var t=this.log||console.log,e={clientId:this.clientId,redirectUri:this.redirectUri,env:this.env,sessionDomain:this._sessionDomain,sdkVersion:v.a};t("Schibsted account SDK for browsers settings: \n".concat(JSON.stringify(e,null,2)))}},{key:"hasSession",value:function(){var t=this;if(this._isSessionCallBlocked())return this._session;if(this._hasSessionInProgress)return this._hasSessionInProgress;var e=function(e){if(e.error)throw new h.a("HasSession failed",e.error);return t._maybeSetVarnishCookie(e),t._emitSessionEvent(t._session,e),t._session=e,e},r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.keys(t);return 1===e.length&&"redirectURL"===e[0]},o=function(){var n=g(d().mark((function n(){var o,i,a,c;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t._enableSessionCaching){n.next=4;break}if(!(o=t.sessionStorageCache.get("hasSession-cache"))){n.next=4;break}return n.abrupt("return",e(o));case 4:return i=null,n.prev=5,n.next=8,t._sessionService.get("v2/session",{tabId:t._getTabId()});case 8:i=n.sent,n.next=15;break;case 11:throw n.prev=11,n.t0=n.catch(5),n.t0&&400===n.t0.code&&t._enableSessionCaching&&(a=1e3*(n.t0.expiresIn||300),t.sessionStorageCache.set("hasSession-cache",{error:n.t0},a)),n.t0;case 15:if(!i){n.next=22;break}if(!r(i)){n.next=21;break}return t._blockSessionCall(),n.next=20,t.callbackBeforeRedirect();case 20:return n.abrupt("return",t._sessionService.makeUrl(i.redirectURL,{tabId:t._getTabId()}));case 21:t._enableSessionCaching&&(c=1e3*(i.expiresIn||300),t.sessionStorageCache.set("hasSession-cache",i,c));case 22:return n.abrupt("return",e(i));case 23:case"end":return n.stop()}}),n,null,[[5,11]])})));return function(){return n.apply(this,arguments)}}();return this._hasSessionInProgress=o().then((function(e){return t._hasSessionInProgress=!1,Object(n.h)(e)?t.window.location.href=e:e}),(function(e){throw t.emit("error",e),t._hasSessionInProgress=!1,new h.a("HasSession failed",e)})),this._hasSessionInProgress}},{key:"isLoggedIn",value:(I=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return","result"in e);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return I.apply(this,arguments)})},{key:"clearCachedUserSession",value:function(){this.sessionStorageCache.delete("hasSession-cache")}},{key:"isConnected",value:(L=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return",!!e.result);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!1);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return L.apply(this,arguments)})},{key:"getUser",value:(A=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if((e=t.sent).result){t.next=5;break}throw new h.a("The user is not connected to this merchant");case 5:return t.abrupt("return",Object(o.a)(e));case 6:case"end":return t.stop()}}),t,this)}))),function(){return A.apply(this,arguments)})},{key:"getUserId",value:(P=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(!(e=t.sent).userId||!e.result){t.next=5;break}return t.abrupt("return",e.userId);case 5:throw new h.a("The user is not connected to this merchant");case 6:case"end":return t.stop()}}),t,this)}))),function(){return P.apply(this,arguments)})},{key:"getExternalId",value:(k=g(d().mark((function t(e){var r,n,o,i,a,c,u,s=arguments;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:"",t.next=3,this.hasSession();case 3:if(n=t.sent,o=n.pairId){t.next=7;break}throw new h.a("pairId missing in user session!");case 7:if(e&&0!==e.length){t.next=9;break}throw new h.a("externalParty cannot be empty");case 9:return i=function(t){return Array.from(new Uint8Array(t)).map((function(t){return t.toString(16).padStart(2,"0")})).join("")},a=function(t){return crypto.subtle.digest("SHA-256",t)},c=function(){var t=g(d().mark((function t(e){var r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(new TextEncoder).encode(e),t.abrupt("return",a(r).then((function(t){return i(t)})));case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=function(t,e,r){return r?"".concat(t,":").concat(e,":").concat(r):"".concat(t,":").concat(e)},t.abrupt("return",c(u(o,e,r)));case 14:case"end":return t.stop()}}),t,this)}))),function(t){return k.apply(this,arguments)})},{key:"getUserSDRN",value:(_=g(d().mark((function t(){var e,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(e=t.sent,!(r=e.sdrn)){t.next=6;break}return t.abrupt("return",r);case 6:throw new h.a("Failed to get SDRN from user session");case 7:case"end":return t.stop()}}),t,this)}))),function(){return _.apply(this,arguments)})},{key:"getUserUuid",value:(O=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.hasSession();case 2:if(!(e=t.sent).uuid||!e.result){t.next=5;break}return t.abrupt("return",e.uuid);case 5:throw new h.a("The user is not connected to this merchant");case 6:case"end":return t.stop()}}),t,this)}))),function(){return O.apply(this,arguments)})},{key:"getUserContextData",value:(S=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._globalSessionService.get("user-context");case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",null);case 9:case"end":return t.stop()}}),t,this,[[0,6]])}))),function(){return S.apply(this,arguments)})},{key:"login",value:function(t){var e=t.state,r=t.acrValues,n=void 0===r?"":r,o=t.scope,i=void 0===o?"openid":o,a=t.redirectUri,c=void 0===a?this.redirectUri:a,u=t.preferPopup,s=void 0!==u&&u,l=t.loginHint,h=void 0===l?"":l,p=t.tag,v=void 0===p?"":p,d=t.teaser,y=void 0===d?"":d,g=t.maxAge,b=void 0===g?"":g,m=t.locale,w=void 0===m?"":m,x=t.oneStepLogin,S=void 0!==x&&x,O=t.prompt,j=void 0===O?"select_account":O,E=t.xDomainId,_=void 0===E?"":E;this._closePopup(),this.sessionStorageCache.delete("hasSession-cache");var k=this.loginUrl({state:e,acrValues:n,scope:i,redirectUri:c,loginHint:h,tag:v,teaser:y,maxAge:b,locale:w,oneStepLogin:S,prompt:j,xDomainId:_});return s&&(this.popup=f.a(this.window,k,"Schibsted account",{width:360,height:570}),this.popup)?this.popup:(this.window.location.href=k,null)}},{key:"getSpId",value:(y=g(d().mark((function t(){var e;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.hasSession();case 3:return e=t.sent,t.abrupt("return",e.sp_id||null);case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return y.apply(this,arguments)})},{key:"logout",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;this.sessionStorageCache.delete("hasSession-cache"),this._maybeClearVarnishCookie(),this.emit("logout"),this.window.location.href=this.logoutUrl(t)}},{key:"loginUrl",value:function(t){var e=t.state,r=t.acrValues,o=void 0===r?"":r,i=t.scope,a=void 0===i?"openid":i,c=t.redirectUri,u=void 0===c?this.redirectUri:c,s=t.loginHint,f=void 0===s?"":s,l=t.tag,h=void 0===l?"":l,p=t.teaser,v=void 0===p?"":p,d=t.maxAge,y=void 0===d?"":d,g=t.locale,m=void 0===g?"":g,w=t.oneStepLogin,x=void 0!==w&&w,S=t.prompt,O=void 0===S?"select_account":S,j=t.xDomainId,E=void 0===j?"":j;"object"!==b(arguments[0])&&(e=arguments[0],o=arguments[1],a=arguments[2]||a,u=arguments[3]||u,f=arguments[4]||f,h=arguments[5]||h,v=arguments[6]||v,y=isNaN(arguments[7])?y:arguments[7]);var _=function(t){return Object(n.g)(t,["password","otp","sms","eid-dk","eid-no","eid-se","eid-fi","eid"],!0)};return Object(n.a)(!o||Object(n.g)(o,["","otp-email"],!0)||o.split(" ").every(_),"The acrValues parameter is not acceptable: ".concat(o)),Object(n.a)(Object(n.h)(u),"loginUrl(): redirectUri must be a valid url but is ".concat(u)),Object(n.a)(Object(n.d)(e),"the state parameter should be a non empty string but it is ".concat(e)),this._oauthService.makeUrl("oauth/authorize",{response_type:"code",redirect_uri:u,scope:a,state:e,acr_values:o,login_hint:f,tag:h,teaser:v,max_age:y,locale:m,one_step_login:x||"",prompt:o?"":O,x_domain_id:E})}},{key:"logoutUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;Object(n.a)(Object(n.h)(t),"logoutUrl(): redirectUri is invalid");var e={redirect_uri:t};return this._sessionService.makeUrl("logout",e)}},{key:"accountUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return this._spid.makeUrl("profile-pages",{response_type:"code",redirect_uri:t})}},{key:"phonesUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return this._spid.makeUrl("profile-pages/about-you/phone",{response_type:"code",redirect_uri:t})}},{key:"showSimplifiedLoginWidget",value:(u=g(d().mark((function t(e,r){var n,o,i,a,c=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getUserContextData();case 2:return n=t.sent,o={client_id:this.clientId},r&&r.encoding&&(o.encoding=r.encoding),i=this._bffService.makeUrl("simplified-login-widget",o,!1),a=function(){var t=g(d().mark((function t(e){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e.state){t.next=4;break}return t.next=3,e.state();case 3:e.state=t.sent;case 4:return t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise((function(t,o){if(!n||!n.display_text||!n.identifier)return o(new h.a("Missing user data"));var u={displayText:n.display_text,env:c.env,clientName:n.client_name,clientId:c.clientId,providerId:n.provider_id,windowWidth:function(){return window.innerWidth},windowOnResize:function(t){window.onresize=t}};r&&r.locale&&(u.locale=r.locale);var s=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=c,t.t1=Object,t.next=4,a(e);case 4:t.t2=t.sent,t.t3={loginHint:n.identifier},t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t0.login.call(t.t0,t.t4);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),f=function(){var t=g(d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=c,t.t1=Object,t.next=4,a(e);case 4:t.t2=t.sent,t.t3={loginHint:n.identifier,prompt:"login"},t.t4=t.t1.assign.call(t.t1,t.t2,t.t3),t.t0.login.call(t.t0,t.t4);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),l=function(){c.emit("simplifiedLoginOpened")},p=function(){c.emit("simplifiedLoginCancelled")};if(window.openSimplifiedLoginWidget)return window.openSimplifiedLoginWidget(u,s,f,l,p),t(!0);var v=document.createElement("script");v.type="text/javascript",v.src=i,v.onload=function(){window.openSimplifiedLoginWidget(u,s,f,l,p),t(!0)},v.onerror=function(){o(new h.a("Error when loading simplified login widget content"))},document.getElementsByTagName("body")[0].appendChild(v)})));case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return u.apply(this,arguments)})}])&&m(e.prototype,r),c&&m(e,c),Object.defineProperty(e,"prototype",{writable:!1}),U}(u.a);e.default=_},function(t,e,r){var n=r(7),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(32),o="["+r(158)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(i,"")),2&t&&(r=r.replace(a,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,r){"use strict";var n=r(3),o=r(2),i=r(129),a=r(9),c=r(46),u=r(10),s=r(48),f=i.ArrayBuffer,l=i.DataView,h=f.prototype.slice;n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==h&&void 0===e)return h.call(a(this),t);for(var r=a(this).byteLength,n=c(t,r),o=c(void 0===e?r:e,r),i=new(s(this,f))(u(o-n)),p=new l(this),v=new l(i),d=0;n<o;)v.setUint8(d++,p.getUint8(n++));return i}})},function(t,e){var r=Math.abs,n=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;t.exports={pack:function(t,e,c){var u,s,f,l=new Array(c),h=8*c-e-1,p=(1<<h)-1,v=p>>1,d=23===e?n(2,-24)-n(2,-77):0,y=t<0||0===t&&1/t<0?1:0,g=0;for((t=r(t))!=t||t===1/0?(s=t!=t?1:0,u=p):(u=o(i(t)/a),t*(f=n(2,-u))<1&&(u--,f*=2),(t+=u+v>=1?d/f:d*n(2,1-v))*f>=2&&(u++,f/=2),u+v>=p?(s=0,u=p):u+v>=1?(s=(t*f-1)*n(2,e),u+=v):(s=t*n(2,v-1)*n(2,e),u=0));e>=8;l[g++]=255&s,s/=256,e-=8);for(u=u<<e|s,h+=e;h>0;l[g++]=255&u,u/=256,h-=8);return l[--g]|=128*y,l},unpack:function(t,e){var r,o=t.length,i=8*o-e-1,a=(1<<i)-1,c=a>>1,u=i-7,s=o-1,f=t[s--],l=127&f;for(f>>=7;u>0;l=256*l+t[s],s--,u-=8);for(r=l&(1<<-u)-1,l>>=-u,u+=e;u>0;r=256*r+t[s],s--,u-=8);if(0===l)l=1-c;else{if(l===a)return r?NaN:f?-1/0:1/0;r+=n(2,e),l-=c}return(f?-1:1)*r*n(2,l-e)}}},function(t,e,r){"use strict";var n=r(97),o=r(62);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){r(163)("Uint8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(11),a=r(164),c=r(5),u=r(129),s=r(42),f=r(37),l=r(14),h=r(10),p=r(131),v=r(133),d=r(38),y=r(8),g=r(62),b=r(7),m=r(34),w=r(47),x=r(45).f,S=r(166),O=r(18).forEach,j=r(100),E=r(12),_=r(43),k=r(23),P=r(95),A=k.get,L=k.set,I=E.f,T=_.f,U=Math.round,R=o.RangeError,C=u.ArrayBuffer,N=u.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,M=c.TYPED_ARRAY_TAG,D=c.TypedArray,B=c.TypedArrayPrototype,G=c.aTypedArrayConstructor,V=c.isTypedArray,q=function(t,e){for(var r=0,n=e.length,o=new(G(t))(n);n>r;)o[r]=e[r++];return o},W=function(t,e){I(t,e,{get:function(){return A(this)[e]}})},Y=function(t){var e;return t instanceof C||"ArrayBuffer"==(e=g(t))||"SharedArrayBuffer"==e},z=function(t,e){return V(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},$=function(t,e){return z(t,e=d(e,!0))?f(2,t[e]):T(t,e)},H=function(t,e,r){return!(z(t,e=d(e,!0))&&b(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?I(t,e,r):(t[e]=r.value,t)};i?(F||(_.f=$,E.f=H,W(B,"buffer"),W(B,"byteOffset"),W(B,"byteLength"),W(B,"length")),n({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:$,defineProperty:H}),t.exports=function(t,e,r){var i=t.match(/\d+$/)[0]/8,c=t+(r?"Clamped":"")+"Array",u="get"+t,f="set"+t,d=o[c],y=d,g=y&&y.prototype,E={},_=function(t,e){I(t,e,{get:function(){return function(t,e){var r=A(t);return r.view[u](e*i+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var o=A(t);r&&(n=(n=U(n))<0?0:n>255?255:255&n),o.view[f](e*i+o.byteOffset,n,!0)}(this,e,t)},enumerable:!0})};F?a&&(y=e((function(t,e,r,n){return s(t,y,c),P(b(e)?Y(e)?void 0!==n?new d(e,v(r,i),n):void 0!==r?new d(e,v(r,i)):new d(e):V(e)?q(y,e):S.call(y,e):new d(p(e)),t,y)})),w&&w(y,D),O(x(d),(function(t){t in y||l(y,t,d[t])})),y.prototype=g):(y=e((function(t,e,r,n){s(t,y,c);var o,a,u,f=0,l=0;if(b(e)){if(!Y(e))return V(e)?q(y,e):S.call(y,e);o=e,l=v(r,i);var d=e.byteLength;if(void 0===n){if(d%i)throw R("Wrong length");if((a=d-l)<0)throw R("Wrong length")}else if((a=h(n)*i)+l>d)throw R("Wrong length");u=a/i}else u=p(e),o=new C(a=u*i);for(L(t,{buffer:o,byteOffset:l,byteLength:a,length:u,view:new N(o)});f<u;)_(t,f++)})),w&&w(y,D),g=y.prototype=m(B)),g.constructor!==y&&l(g,"constructor",y),M&&l(g,M,c),E[c]=y,n({global:!0,forced:y!=d,sham:!F},E),"BYTES_PER_ELEMENT"in y||l(y,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in g||l(g,"BYTES_PER_ELEMENT",i),j(c)}):t.exports=function(){}},function(t,e,r){var n=r(1),o=r(2),i=r(74),a=r(5).NATIVE_ARRAY_BUFFER_VIEWS,c=n.ArrayBuffer,u=n.Int8Array;t.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||o((function(){return 1!==new u(new c(2),1,void 0).length}))},function(t,e,r){var n=r(30);t.exports=function(t){var e=n(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,r){var n=r(13),o=r(10),i=r(61),a=r(96),c=r(41),u=r(5).aTypedArrayConstructor;t.exports=function(t){var e,r,s,f,l,h,p=n(t),v=arguments.length,d=v>1?arguments[1]:void 0,y=void 0!==d,g=i(p);if(null!=g&&!a(g))for(h=(l=g.call(p)).next,p=[];!(f=h.call(l)).done;)p.push(f.value);for(y&&v>2&&(d=c(d,arguments[2],2)),r=o(p.length),s=new(u(this))(r),e=0;r>e;e++)s[e]=y?d(p[e],e):p[e];return s}},function(t,e,r){"use strict";var n=r(5),o=r(168),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,r){"use strict";var n=r(13),o=r(46),i=r(10),a=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),c=i(r.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),h=1;for(s<u&&u<s+l&&(h=-1,s+=l-1,u+=l-1);l-- >0;)s in r?r[u]=r[s]:delete r[u],u+=h,s+=h;return r}},function(t,e,r){"use strict";var n=r(5),o=r(18).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(132),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(t){return o.apply(i(this),arguments)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).filter,i=r(48),a=n.aTypedArray,c=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("filter",(function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),r=i(this,this.constructor),n=0,u=e.length,s=new(c(r))(u);u>n;)s[n]=e[n++];return s}))},function(t,e,r){"use strict";var n=r(5),o=r(18).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(18).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(69).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(69).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(1),o=r(5),i=r(16),a=r(6)("iterator"),c=n.Uint8Array,u=i.values,s=i.keys,f=i.entries,l=o.aTypedArray,h=o.exportTypedArrayMethod,p=c&&c.prototype[a],v=!!p&&("values"==p.name||null==p.name),d=function(){return u.call(l(this))};h("entries",(function(){return f.call(l(this))})),h("keys",(function(){return s.call(l(this))})),h("values",d,!v),h(a,d,!v)},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=[].join;i("join",(function(t){return a.apply(o(this),arguments)}))},function(t,e,r){"use strict";var n=r(5),o=r(180),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},function(t,e,r){"use strict";var n=r(22),o=r(30),i=r(10),a=r(73),c=r(49),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),h=c("indexOf",{ACCESSORS:!0,1:0}),p=f||!l||!h;t.exports=p?function(t){if(f)return s.apply(this,arguments)||0;var e=n(this),r=i(e.length),a=r-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:s},function(t,e,r){"use strict";var n=r(5),o=r(18).map,i=r(48),a=n.aTypedArray,c=n.aTypedArrayConstructor;(0,n.exportTypedArrayMethod)("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(c(i(t,t.constructor)))(e)}))}))},function(t,e,r){"use strict";var n=r(5),o=r(134).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=r(134).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var t,e=o(this).length,r=a(e/2),n=0;n<r;)t=this[n],this[n++]=this[--e],this[e]=t;return this}))},function(t,e,r){"use strict";var n=r(5),o=r(10),i=r(133),a=r(13),c=r(2),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",(function(t){u(this);var e=i(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(t),c=o(n.length),s=0;if(c+e>r)throw RangeError("Wrong length");for(;s<c;)this[e+s]=n[s++]}),c((function(){new Int8Array(1).set({})})))},function(t,e,r){"use strict";var n=r(5),o=r(48),i=r(2),a=n.aTypedArray,c=n.aTypedArrayConstructor,u=n.exportTypedArrayMethod,s=[].slice;u("slice",(function(t,e){for(var r=s.call(a(this),t,e),n=o(this,this.constructor),i=0,u=r.length,f=new(c(n))(u);u>i;)f[i]=r[i++];return f}),i((function(){new Int8Array(1).slice()})))},function(t,e,r){"use strict";var n=r(5),o=r(18).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,r){"use strict";var n=r(5),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=[].sort;i("sort",(function(t){return a.call(o(this),t)}))},function(t,e,r){"use strict";var n=r(5),o=r(10),i=r(46),a=r(48),c=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(t,e){var r=c(this),n=r.length,u=i(t,n);return new(a(r,r.constructor))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,o((void 0===e?n:i(e,n))-u))}))},function(t,e,r){"use strict";var n=r(1),o=r(5),i=r(2),a=n.Int8Array,c=o.aTypedArray,u=o.exportTypedArrayMethod,s=[].toLocaleString,f=[].slice,l=!!a&&i((function(){s.call(new a(1))}));u("toLocaleString",(function(){return s.apply(l?f.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(t,e,r){"use strict";var n=r(5).exportTypedArrayMethod,o=r(2),i=r(1).Uint8Array,a=i&&i.prototype||{},c=[].toString,u=[].join;o((function(){c.call({})}))&&(c=function(){return u.call(this)});var s=a.toString!=c;n("toString",c,s)},function(t,e,r){"use strict";var n=r(3),o=r(193).start;n({target:"String",proto:!0,forced:r(195)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(10),o=r(194),i=r(32),a=Math.ceil,c=function(t){return function(e,r,c){var u,s,f=String(i(e)),l=f.length,h=void 0===c?" ":String(c),p=n(r);return p<=l||""==h?f:(u=p-l,(s=o.call(h,a(u/h.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},function(t,e,r){"use strict";var n=r(30),o=r(32);t.exports="".repeat||function(t){var e=String(o(this)),r="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(r+=e);return r}},function(t,e,r){var n=r(94);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},function(t,e,r){var n=r(1);t.exports=n.Promise},function(t,e,r){var n,o,i,a,c,u,s,f,l=r(1),h=r(43).f,p=r(31),v=r(136).set,d=r(137),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,b=l.Promise,m="process"==p(g),w=h(l,"queueMicrotask"),x=w&&w.value;x||(n=function(){var t,e;for(m&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},m?a=function(){g.nextTick(n)}:y&&!d?(c=!0,u=document.createTextNode(""),new y(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):b&&b.resolve?(s=b.resolve(void 0),f=s.then,a=function(){f.call(s,n)}):a=function(){v.call(l,n)}),t.exports=x||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,r){var n=r(9),o=r(7),i=r(138);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},function(t,e,r){var n=r(1);t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,r){"use strict";var n=r(35),o=r(7),i=[].slice,a={},c=function(t,e,r){if(!(e in a)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";a[e]=Function("C,a","return new C("+n.join(",")+")")}return a[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?c(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,r){"use strict";var n=r(9),o=r(38);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(n(this),"number"!==t)}},function(t,e,r){var n=r(22),o=r(45).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(n(t))}},function(t,e,r){"use strict";var n=r(18).forEach,o=r(73),i=r(49),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,r){"use strict";var n=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,c=String.fromCharCode,u=function(t){return t+22+75*(t<26)},s=function(t,e,r){var n=0;for(t=r?a(t/700):t>>1,t+=a(t/e);t>455;n+=36)t=a(t/35);return a(n+36*t/(t+38))},f=function(t){var e,r,n=[],o=(t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t)).length,f=128,l=0,h=72;for(e=0;e<t.length;e++)(r=t[e])<128&&n.push(c(r));var p=n.length,v=p;for(p&&n.push("-");v<o;){var d=2147483647;for(e=0;e<t.length;e++)(r=t[e])>=f&&r<d&&(d=r);var y=v+1;if(d-f>a((2147483647-l)/y))throw RangeError(i);for(l+=(d-f)*y,f=d,e=0;e<t.length;e++){if((r=t[e])<f&&++l>2147483647)throw RangeError(i);if(r==f){for(var g=l,b=36;;b+=36){var m=b<=h?1:b>=h+26?26:b-h;if(g<m)break;var w=g-m,x=36-m;n.push(c(u(m+w%x))),g=a(w/x)}n.push(c(u(g))),h=s(l,y,v==p),l=0,++v}}++l,++f}return n.join("")};t.exports=function(t){var e,r,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)r=a[e],i.push(n.test(r)?"xn--"+f(r):r);return i.join(".")}},function(t,e,r){var n=r(9),o=r(61);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return n(e.call(t))}},function(t,e,r){"use strict";var n=r(3),o=r(69).includes,i=r(128);n({target:"Array",proto:!0,forced:!r(49)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,r){"use strict";var n=r(209),o=r(211);t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,r){"use strict";var n=r(3),o=r(1),i=r(70),a=r(15),c=r(144),u=r(103),s=r(42),f=r(7),l=r(2),h=r(74),p=r(24),v=r(95);t.exports=function(t,e,r){var d=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=d?"set":"add",b=o[t],m=b&&b.prototype,w=b,x={},S=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof b||!(y||m.forEach&&!l((function(){(new b).entries().next()})))))w=r.getConstructor(e,t,d,g),c.REQUIRED=!0;else if(i(t,!0)){var O=new w,j=O[g](y?{}:-0,1)!=O,E=l((function(){O.has(1)})),_=h((function(t){new b(t)})),k=!y&&l((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));_||((w=e((function(e,r){s(e,w,t);var n=v(new b,e,w);return null!=r&&u(r,n[g],n,d),n}))).prototype=m,m.constructor=w),(E||k)&&(S("delete"),S("has"),d&&S("get")),(k||j)&&S(g),y&&m.clear&&delete m.clear}return x[t]=w,n({global:!0,forced:w!=b},x),p(w,t),y||r.setStrong(w,t,d),w}},function(t,e,r){var n=r(2);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,r){"use strict";var n=r(12).f,o=r(34),i=r(75),a=r(41),c=r(42),u=r(103),s=r(99),f=r(100),l=r(11),h=r(144).fastKey,p=r(23),v=p.set,d=p.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=n&&u(n,t[s],t,r)})),p=d(e),y=function(t,e,r){var n,o,i=p(t),a=g(t,e);return a?a.value=r:(i.last=a={index:o=h(e,!0),key:e,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},g=function(t,e){var r,n=p(t),o=h(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return i(f.prototype,{clear:function(){for(var t=p(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=p(this),r=g(this,t);if(r){var n=r.next,o=r.previous;delete e.index[r.index],r.removed=!0,o&&(o.next=n),n&&(n.previous=o),e.first==r&&(e.first=n),e.last==r&&(e.last=o),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=p(this),n=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),i(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return p(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",o=d(e),i=d(n);s(t,e,(function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},function(t,e,r){var n=r(3),o=r(213).entries;n({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,r){var n=r(11),o=r(57),i=r(22),a=r(67).f,c=function(t){return function(e){for(var r,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)r=u[f++],n&&!a.call(c,r)||l.push(t?[r,c[r]]:c[r]);return l}};t.exports={entries:c(!0),values:c(!1)}},function(t,e,r){"use strict";var n=r(2);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,r){"use strict";var n=r(98).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){r(3)({target:"Number",stat:!0},{isFinite:r(217)})},function(t,e,r){var n=r(1).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&n(t)}},function(t,e,r){"use strict";var n=r(146),o=r(9),i=r(32),a=r(219),c=r(147);n("search",1,(function(t,e,r){return[function(e){var r=i(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,r){"use strict";r.r(e),r.d(e,"Monetization",(function(){return S}));r(58),r(221),r(59),r(77),r(78),r(25),r(104),r(50),r(51),r(26),r(27),r(39),r(102),r(28),r(16),r(21),r(29),r(105),r(106),r(107),r(108),r(79),r(65),r(80);var n=r(0),o=r(19),i=r(17),a=r(82),c=r.n(a),u=r(20),s=r(66),f=r(52),l=r(4),h=r(53);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */v=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var h="suspendedStart",d="executing",y="completed",g={};function b(){}function m(){}function w(){}var x={};s(x,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(T([])));O&&O!==r&&n.call(O,a)&&(x=O);var j=w.prototype=b.prototype=Object.create(x);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==p(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=l(e,r,n);if("normal"===s.type){if(o=n.done?y:"suspendedYield",s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=y,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=l(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(p(e)+" is not iterable")}return m.prototype=w,o(j,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:m,configurable:!0}),m.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},e.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),e.AsyncIterator=_,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new _(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),s(j,u,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,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(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function d(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function y(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===p(i)?i:String(i)),n)}var o,i}function g(t,e){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=w(t);if(e){var o=w(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m(this,r)}}function m(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(){return window},S=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(w,t);var e,r,a,c,p,m=b(w);function w(t){var e,r=t.clientId,o=t.redirectUri,i=t.env,a=void 0===i?"PRE":i,c=t.sessionDomain,u=t.window,l=void 0===u?x():u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,w),e=m.call(this),f.a(l),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),e.cache=new s.a((function(){return l&&l.sessionStorage})),e.clientId=r,e.env=a,e.redirectUri=o,e._setSpidServerUrl(a),c&&(Object(n.a)(Object(n.h)(c),"sessionDomain parameter is not a valid URL"),e._setSessionServiceUrl(c)),e}return e=w,(r=[{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new u.a({serverUrl:Object(o.a)(t,i.a.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setSessionServiceUrl",value:function(t){Object(n.a)(Object(n.f)(t),"domain parameter is invalid: ".concat(t));var e="sdrn:".concat(i.b[this.env],":client:").concat(this.clientId);this._sessionService=new u.a({serverUrl:t,log:this.log,defaultParams:{client_sdrn:e,redirect_uri:this.redirectUri,sdk_version:h.a}})}},{key:"hasAccess",value:(c=v().mark((function t(e,r){var n,o,i,a;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._sessionService){t.next=2;break}throw new l.a("hasAccess can only be called if 'sessionDomain' is configured");case 2:if(r){t.next=4;break}throw new l.a("'userId' must be specified");case 4:if(Array.isArray(e)){t.next=6;break}throw new l.a("'productIds' must be an array");case 6:if(n=e.sort(),o=this._accessCacheKey(e,r),i=this.cache.get(o)){t.next=15;break}return t.next=12,this._sessionService.get("/hasAccess/".concat(n.join(",")));case 12:i=t.sent,a=i.ttl,this.cache.set(o,i,1e3*a);case 15:if(i.entitled){t.next=17;break}return t.abrupt("return",null);case 17:return this.emit("hasAccess",{ids:n,data:i}),t.abrupt("return",i);case 19:case"end":return t.stop()}}),t,this)})),p=function(){var t=this,e=arguments;return new Promise((function(r,n){var o=c.apply(t,e);function i(t){d(o,r,n,i,a,"next",t)}function a(t){d(o,r,n,i,a,"throw",t)}i(void 0)}))},function(t,e){return p.apply(this,arguments)})},{key:"clearCachedAccessResult",value:function(t,e){this.cache.delete(this._accessCacheKey(t,e))}},{key:"_accessCacheKey",value:function(t,e){return"prd_".concat(t.sort(),"_").concat(e)}},{key:"subscriptionsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"subscriptionsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/subscriptions",{redirect_uri:t})}},{key:"productsUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"productsUrl(): redirectUri is invalid"),this._spid.makeUrl("account/products",{redirect_uri:t})}}])&&y(e.prototype,r),a&&y(e,a),Object.defineProperty(e,"prototype",{writable:!1}),w}(c.a);e.default=S},function(t,e,r){"use strict";var n=r(3),o=r(35),i=r(13),a=r(2),c=r(73),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),h=c("sort");n({target:"Array",proto:!0,forced:f||!l||!h},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},function(t,e,r){"use strict";r.r(e),r.d(e,"Payment",(function(){return h}));r(50),r(51),r(26),r(27),r(25),r(39),r(28),r(16),r(21),r(29);var n=r(0),o=r(19),i=r(17),a=r(83),c=r(20),u=r(52);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(o=n.key,i=void 0,i=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===s(i)?i:String(i)),n)}var o,i}var l=function(){return window},h=function(){function t(e){var r=e.clientId,o=e.redirectUri,i=e.env,a=void 0===i?"PRE":i,c=e.publisher,s=e.window,f=void 0===s?l():s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),u.a(f),Object(n.a)(Object(n.d)(r),"clientId parameter is required"),this.clientId=r,this.redirectUri=o,this.window=f,this.publisher=c,this._setSpidServerUrl(a),this._setBffServerUrl(a)}var e,r,s;return e=t,(r=[{key:"_setSpidServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._spid=new c.a({serverUrl:Object(o.a)(t,i.a.SPiD),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_setBffServerUrl",value:function(t){Object(n.a)(Object(n.f)(t),"url parameter is invalid: ".concat(t)),this._bff=new c.a({serverUrl:Object(o.a)(t,i.a.BFF),defaultParams:{client_id:this.clientId,redirect_uri:this.redirectUri}})}},{key:"_closePopup",value:function(){this.popup&&(this.popup.closed||this.popup.close(),this.popup=null)}},{key:"payWithPaylink",value:function(t){var e=t.paylink,r=t.preferPopup,o=t.redirectUri,i=void 0===o?this.redirectUri:o;Object(n.a)(Object(n.h)(i),"payWithPaylink(): redirectUri is invalid"),this._closePopup();var c=this.purchasePaylinkUrl(e,i);return r&&(this.popup=a.a(this.window,c,"Schibsted account",{width:360,height:570}),this.popup)?this.popup:(this.window.location.href=c,null)}},{key:"purchaseHistoryUrl",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.redirectUri;return Object(n.a)(Object(n.h)(t),"purchaseHistoryUrl(): redirectUri is invalid"),this._spid.makeUrl("account/purchasehistory",{redirect_uri:t})}},{key:"redeemUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"redeemUrl(): redirectUri is invalid"),this._spid.makeUrl("account/redeem",{voucher_code:t})}},{key:"purchasePaylinkUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"purchasePaylinkUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchasePaylinkUrl(): paylinkId is required"),this._bff.makeUrl("payment/purchase",{paylink:t,redirect_uri:e})}},{key:"purchaseProductFlowUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.redirectUri;return Object(n.a)(Object(n.h)(e),"purchaseProductUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchaseProductFlowUrl(): productId is required"),this._bff.makeUrl("flow/checkout",{response_type:"code",flow:"payment",product_id:t,redirect_uri:e})}},{key:"purchaseCampaignFlowUrl",value:function(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.redirectUri;return Object(n.a)(Object(n.h)(o),"purchaseCampaignFlowUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchaseCampaignFlowUrl(): campaignId is required"),Object(n.a)(Object(n.d)(e),"purchaseCampaignFlowUrl(): productId is required"),this._bff.makeUrl("flow/checkout",{response_type:"code",flow:"payment",campaign_id:t,product_id:e,voucher_code:r,redirect_uri:o})}},{key:"purchasePromoCodeProductFlowUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.redirectUri;return Object(n.a)(Object(n.h)(r),"purchasePromoCodeProductFlowUrl(): redirectUri is invalid"),Object(n.a)(Object(n.d)(t),"purchasePromoCodeProductFlowUrl(): code is required"),Object(n.a)(Object(n.d)(this.publisher),"purchasePromoCodeProductFlowUrl(): publisher is required in the constructor"),this._bff.makeUrl("payment/purchase/code",{code:t,publisher:this.publisher,state:e,redirect_uri:r})}}])&&f(e.prototype,r),s&&f(e,s),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.default=h}]));
|
|
2
2
|
//# sourceMappingURL=global.min.js.map
|