Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@goodgamestudios/webshop-utils

Package Overview
Dependencies
Maintainers
20
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodgamestudios/webshop-utils - npm Package Compare versions

Comparing version 0.0.39 to 0.0.40

dist/serviceLocator/index.d.ts

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [0.0.40](https://gitlab.goodgamestudios.com/webshop/utils/compare/v0.0.39...v0.0.40) (2020-03-02)
### [0.0.39](https://gitlab.goodgamestudios.com/webshop/utils/compare/v0.0.38...v0.0.39) (2020-03-01)

@@ -7,0 +9,0 @@

3

dist/index.d.ts

@@ -22,2 +22,3 @@ export * from './ArgumentNullError';

export * from './detectBrowser';
export * from './ServiceLocator';
export * from './serviceLocator';
export * from './testHelpers';

@@ -20,2 +20,3 @@ "use strict";

__export(require("./detectBrowser"));
__export(require("./ServiceLocator"));
__export(require("./serviceLocator"));
__export(require("./testHelpers"));

@@ -15,2 +15,3 @@ export * from './ArgumentNullError';

export * from './detectBrowser';
export * from './ServiceLocator';
export * from './serviceLocator';
export * from './testHelpers';
{
"name": "@goodgamestudios/webshop-utils",
"description": "Utils library for WebShop",
"version": "0.0.39",
"version": "0.0.40",
"sideEffects": false,

@@ -19,3 +19,4 @@ "main": "dist/index.js",

"detect-browser": "^4.8.0",
"mobx": "^5.14.0"
"mobx": "^5.14.0",
"moq.ts": "^5.0.5"
},

@@ -22,0 +23,0 @@ "devDependencies": {

@@ -1,1 +0,1 @@

!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("mobx")):"function"==typeof define&&define.amd?define("WebshopUtils",["mobx"],t):"object"==typeof exports?exports.WebshopUtils=t(require("mobx")):n.WebshopUtils=t(n.mobx)}(window,(function(n){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=22)}([function(n,t,e){"use strict";var r=e(1);e.d(t,"d",(function(){return i})),e.d(t,"h",(function(){return u})),e.d(t,"i",(function(){return c})),e.d(t,"e",(function(){return s})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return f})),e.d(t,"k",(function(){return d})),e.d(t,"q",(function(){return l})),e.d(t,"r",(function(){return p})),e.d(t,"s",(function(){return h})),e.d(t,"j",(function(){return v})),e.d(t,"f",(function(){return y})),e.d(t,"p",(function(){return g})),e.d(t,"o",(function(){return m})),e.d(t,"n",(function(){return b})),e.d(t,"l",(function(){return w})),e.d(t,"m",(function(){return O})),e.d(t,"b",(function(){return _})),e.d(t,"g",(function(){return S}));var o=function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var r=Array(n),o=0;for(t=0;t<e;t++)for(var i=arguments[t],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r},i=function(n){return n[0]},u=function(n){return n[n.length-1]},c=function(n){return n[Math.floor(n.length/2)]},s=function(n){return n.reduce((function(n,t){return n.concat(t)}),[])},a=function(n){return Array.from(new Set(n))},f=function(n){var t=n.browserName;return function(n){return-1!==n.indexOf(t)}},d=function(n,t){return Object.keys(n).reduce((function(e,r){return t!==r&&(e[r]=n[r]),e}),{})},l=function(n,t){void 0===t&&(t={});var e=Object.keys(t);if(0===e.length)return n;var r=i(e),o=t[r];if(void 0===o)throw new Error("template error "+r+", "+JSON.stringify(t));return l(n.replace("{"+r+"}",o.toString()),d(t,r))},p=function(n,t){void 0===t&&(t={});var e=Object.keys(t);if(0===e.length)return n;var r=i(e),o=t[r];if(void 0===o)throw new Error("template error "+r+", "+JSON.stringify(t));return l(n.replace(":"+r,o.toString()),d(t,r))};function h(n){for(var t=0,e=Object.keys(n);t<e.length;t++){var o=e[t],i=n[o];if(!i||Number.isNaN(i))throw new r.a(o,i)}}function v(n){return Math.floor(n/1e3)}function y(n){return encodeURIComponent("{"+n.join(",")+"}")}var g=function(n){var t=Math.ceil(n.length/2),e=n.slice(0,t),r=n.slice(t);return e.reduce((function(n,t,e){return n.push(t),e<r.length&&n.push(r[e]),n}),[])},m=function(n){return 0===n.length?[]:o(g(n.slice(0,6)),m(n.slice(6)))},b=function(n){return new Promise((function(t){return setTimeout(t,n)}))},w=function(n){return Array.from(Array(n).keys())};function O(n){return n/60/60}var _=function(n,t){var e,r,o,i,u=(e=n,r=t,function(){var n=this,t=arguments,u=function(){i=null,o||e.apply(n,t)},c=o&&!i;clearTimeout(i),i=setTimeout(u,r),c&&e.apply(n,t)});return function(t){t?u():n()}},S=function(n){return function(t){return-1!==n.indexOf(t)}}},function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r,o=(r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)},function(n,t){function e(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),i=function(n){function t(t,e){var r=n.call(this,t+" has null value "+e)||this;return r.name="ArgumentNullError",r}return o(t,n),t}(Error)},function(n,t,e){"use strict";function r(n){var t=n.split("-");return{gameId:t[0],networkId:t[1],instanceId:t[2],playerId:t[3]}}function o(n){return[n.gameId,n.networkId,n.instanceId,n.playerId].join("-")}e.d(t,"a",(function(){return r})),e.d(t,"b",(function(){return o}))},function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r,o=(r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)},function(n,t){function e(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),i=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.name="ResourseLoadError",t}return o(t,n),t}(Error)},function(t,e){t.exports=n},function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r,o=(r=function(n,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e])})(n,t)},function(n,t){function e(){this.constructor=n}r(n,t),n.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}),i=function(n){function t(t,e){var r=n.call(this,t+" has "+e.toString()+" is out of range")||this;return r.name="ArgumentOutOfRange",r}return o(t,n),t}(Error)},function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(n){var t=n;return{get:function(){return t},set:function(n){t=n}}}},function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(){this.observers=[]}return n.prototype.raise=function(n){this.observers.forEach((function(t){return t(n)}))},n.prototype.subscribe=function(n){var t=this;return this.observers.push(n),function(){return t.unsubscribe(n)}},n.prototype.dispose=function(){this.observers=[]},n.prototype.unsubscribe=function(n){this.observers=this.observers.filter((function(t){return t!==n}))},n}()},function(n,t,e){"use strict";e.r(t);var r=e(9);e.d(t,"PostMessenger",(function(){return r.a}));var o=e(10);e.d(t,"ApplicationType",(function(){return o.a}));var i=e(11);for(var u in i)["PostMessenger","ApplicationType","default"].indexOf(u)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(u)},function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(){function n(){}return n.prototype.sendCloseMessage=function(){this.send({type:"close"})},n.prototype.sendToggleDialogMode=function(n){this.send({type:"toggle-dialog-mode",payload:n})},n.prototype.track=function(n){this.send({type:"track",payload:n})},n.prototype.send=function(n){parent.postMessage(n,"*")},n}()},function(n,t,e){"use strict";var r;e.d(t,"a",(function(){return r})),function(n){n[n.CashOffers=0]="CashOffers",n[n.GrowthFund=1]="GrowthFund",n[n.SaleOffers=2]="SaleOffers",n[n.EventOffers=3]="EventOffers",n[n.DailyOffers=4]="DailyOffers"}(r||(r={}))},function(n,t){},function(n,t,e){"use strict";e.r(t);var r=e(13);e.d(t,"TrackActionRequest",(function(){return r.a}));var o=e(14);for(var i in o)["TrackActionRequest","default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i)},function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var r=e(2),o=e(0),i=function(){function n(n,t,e){this.appType=n,this.searchParams=t,this.postMessenger=e}return n.prototype.execute=function(n,t){var e=this.createPayload(n,t);this.postMessenger.track(e)},n.prototype.createPayload=function(n,t){var e=Date.now(),i=Object(r.a)(this.searchParams.get("ping")),u=i.gameId,c=i.networkId,s=i.instanceId,a=i.playerId,f=this.searchParams.get("sid"),d=this.searchParams.get("zoneId");return Object(o.s)({playerId:a,instanceId:s,networkId:c,gameId:u,sid:f}),{eventId:1182,date:Object(o.j)(e),unixtimeMS:e,actionId:n,packageId:t.offerId,providerId:t.paymentProviderId,playerId:parseInt(a,10),instanceId:parseInt(s,10),networkId:parseInt(c,10),gameId:parseInt(u,10),zoneId:d?parseInt(d,10):void 0,sessionId:f,type:this.appType}},n}()},function(n,t){},function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var r=function(n){return n<0?"00:00:00":o(Math.floor(n%864e5/36e5))+":"+o(Math.floor(n%36e5/6e4))+":"+o(Math.floor(n%6e4/1e3))};function o(n){return n>9?n.toString(10):"0"+n}},function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var r=e(21);function o(){return Object(r.detect)().name}},function(n,t,e){"use strict";var r;e.d(t,"a",(function(){return o})),function(n){n[n.Factory=0]="Factory",n[n.Instance=1]="Instance",n[n.Constructor=2]="Constructor"}(r||(r={}));var o=function(){function n(){this.providers={},this.singletons={}}return n.prototype.resolve=function(n){var t=this,e=Object.entries(this.providers).find((function(t){return t[0]===n}));if(!e)throw new Error("ServiceLocator: cannot find "+n);e[0];var o=e[1];switch(o.type){case r.Constructor:return o.options.singleton?this.resolveSingleton(n,o.value):new o.value(this);case r.Instance:return o.value;case r.Factory:return function(){return o.value(t)}}},n.prototype.register=function(n,t,e){void 0===e&&(e={}),this.providers[n]={type:r.Constructor,value:t,options:e}},n.prototype.registerInstance=function(n,t){this.providers[n]={type:r.Instance,value:t,options:{}}},n.prototype.registerFactory=function(n,t){this.providers[n]={type:r.Factory,value:t,options:{}}},n.prototype.resolveSingleton=function(n,t){return this.singletons[n]||(this.singletons[n]=new t(this)),this.singletons[n]},n}()},function(n,t,e){"use strict";var r=e(0),o=function(){function n(n){this.url=n}return n.prototype.execute=function(n){Object(r.s)({locale:n});var t=n.replace(/zh_.*/,"zh"),e=Object(r.q)(this.url,{locale:t});return fetch(e,{headers:{"Cache-Control":"no-cache, max-age=0"}}).then((function(n){return n.json()})).then((function(n){return n[t]}))},n}(),i=e(1),u=function(){function n(n){this.url=n}return n.prototype.execute=function(n,t,e){if(Object(r.s)({gameId:n,locale:t}),0===e.length)throw new i.a("keys",e);var o=Object(r.f)(e.concat());return fetch(Object(r.q)(this.url,{gameId:n,locale:t,pattern:o})).then((function(n){return n.json()}))},n}(),c=e(3),s=function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var r=Array(n),o=0;for(t=0;t<e;t++)for(var i=arguments[t],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r},a=function(){function n(n,t){void 0===t&&(t=[]),this.url=n,this.pattern=Object(r.f)(s(["webshop_*","value_percentage_add","generic_support","Presentreceived_title","equipment_itemType_baron","equipment_itemType_general","panel_action_stats","levelX_colon","generic_time_*","generic_minute_*","value_percentage"],t))}return n.prototype.execute=function(n,t){var e=this.createUrl(n,t);return fetch(e).then((function(n){return n.json()})).catch((function(n){return new c.a("LocaleRequest - cannot load ("+n.name+" "+n.message+")")}))},n.prototype.createUrl=function(n,t){return Object(r.s)({gameId:n,locale:t}),Object(r.q)(this.url,{gameId:n,locale:t,pattern:this.pattern})},n}();e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return a}))},function(n,t,e){"use strict";var r=e(4),o=function(n,t,e,r){var o,i=arguments.length,u=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(n,t,e,r);else for(var c=n.length-1;c>=0;c--)(o=n[c])&&(u=(i<3?o(u):i>3?o(t,e,u):o(t,e))||u);return i>3&&u&&Object.defineProperty(t,e,u),u},i=function(){function n(n){this.factory=n}return n.prototype.goTo=function(n,t){return this.currentViewModel&&this.currentViewModel.route===n?this.currentViewModel:(this.currentViewModel&&this.currentViewModel.dispose(),this.changeCurrentViewModel(n),this.currentViewModel.init(t),this.currentViewModel)},n.prototype.changeCurrentViewModel=function(n){this.currentViewModel=this.factory.create(n)},n.prototype.dispose=function(){this.currentViewModel&&this.currentViewModel.dispose()},o([r.observable],n.prototype,"currentViewModel",void 0),o([r.action.bound],n.prototype,"changeCurrentViewModel",null),n}();e.d(t,"a",(function(){return i}))},function(n,t,e){"use strict";var r=function(){function n(n){this.win=n}return n.prototype.goTo=function(n){this.win.location.href=n},n}();e.d(t,"a",(function(){return r}))},function(n,t,e){"use strict";(function(n){var e=this&&this.__spreadArrays||function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var r=Array(n),o=0;for(t=0;t<e;t++)for(var i=arguments[t],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r};Object.defineProperty(t,"__esModule",{value:!0});var r=function(n,t,e){this.name=n,this.version=t,this.os=e};t.BrowserInfo=r;var o=function(t){this.version=t,this.name="node",this.os=n.platform};t.NodeInfo=o;var i=function(){this.bot=!0,this.name="bot",this.version=null,this.os=null};t.BotInfo=i;var u=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],c=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]];function s(n){var t=""!==n&&u.reduce((function(t,e){var r=e[0],o=e[1];if(t)return t;var i=o.exec(n);return!!i&&[r,i]}),!1);if(!t)return null;var o=t[0],c=t[1];if("searchbot"===o)return new i;var s=c[1]&&c[1].split(/[._]/).slice(0,3);return s?s.length<3&&(s=e(s,function(n){for(var t=[],e=0;e<n;e++)t.push("0");return t}(3-s.length))):s=[],new r(o,s.join("."),a(n))}function a(n){for(var t=0,e=c.length;t<e;t++){var r=c[t],o=r[0];if(r[1].test(n))return o}return null}function f(){return void 0!==n&&n.version?new o(n.version.slice(1)):null}t.detect=function(n){return n?s(n):"undefined"!=typeof navigator?s(navigator.userAgent):f()},t.parseUserAgent=s,t.detectOS=a,t.getNodeVersion=f}).call(this,e(23))},function(n,t,e){"use strict";e.r(t);var r=e(1);e.d(t,"ArgumentNullError",(function(){return r.a}));var o=e(5);e.d(t,"ArgumentOutOfRange",(function(){return o.a}));var i=e(6);e.d(t,"entityProvider",(function(){return i.a}));var u=e(2);e.d(t,"decodePing",(function(){return u.a})),e.d(t,"encodePing",(function(){return u.b}));var c=e(3);e.d(t,"ResourceLoadError",(function(){return c.a}));var s=e(0);e.d(t,"first",(function(){return s.d})),e.d(t,"last",(function(){return s.h})),e.d(t,"middle",(function(){return s.i})),e.d(t,"flatten",(function(){return s.e})),e.d(t,"distinct",(function(){return s.c})),e.d(t,"browser",(function(){return s.a})),e.d(t,"omit",(function(){return s.k})),e.d(t,"template",(function(){return s.q})),e.d(t,"urlTemplate",(function(){return s.r})),e.d(t,"validateForNull",(function(){return s.s})),e.d(t,"msToSec",(function(){return s.j})),e.d(t,"globPattern",(function(){return s.f})),e.d(t,"sortSubBy2Columns",(function(){return s.p})),e.d(t,"sortBy2Columns",(function(){return s.o})),e.d(t,"sleep",(function(){return s.n})),e.d(t,"repeat",(function(){return s.l})),e.d(t,"secToHrs",(function(){return s.m})),e.d(t,"conditionalDebounce",(function(){return s.b})),e.d(t,"includes",(function(){return s.g}));var a=e(7);e.d(t,"TypedEvent",(function(){return a.a}));var f=e(19);e.d(t,"NavService",(function(){return f.a}));var d=e(20);e.d(t,"AppWindow",(function(){return d.a}));var l=e(8);for(var p in l)["ArgumentNullError","ArgumentOutOfRange","entityProvider","decodePing","encodePing","ResourceLoadError","first","last","middle","flatten","distinct","browser","omit","template","urlTemplate","validateForNull","msToSec","globPattern","sortSubBy2Columns","sortBy2Columns","sleep","repeat","secToHrs","conditionalDebounce","includes","TypedEvent","NavService","AppWindow","default"].indexOf(p)<0&&function(n){e.d(t,n,(function(){return l[n]}))}(p);var h=e(12);for(var p in h)["ArgumentNullError","ArgumentOutOfRange","entityProvider","decodePing","encodePing","ResourceLoadError","first","last","middle","flatten","distinct","browser","omit","template","urlTemplate","validateForNull","msToSec","globPattern","sortSubBy2Columns","sortBy2Columns","sleep","repeat","secToHrs","conditionalDebounce","includes","TypedEvent","NavService","AppWindow","default"].indexOf(p)<0&&function(n){e.d(t,n,(function(){return h[n]}))}(p);var v=e(18);e.d(t,"PaymentLocalesRequest",(function(){return v.b})),e.d(t,"RewardLocalesRequest",(function(){return v.c})),e.d(t,"LocaleRequest",(function(){return v.a}));var y=e(15);e.d(t,"formatTimeLeft",(function(){return y.a}));var g=e(16);e.d(t,"detectBrowser",(function(){return g.a}));var m=e(17);e.d(t,"ServiceLocator",(function(){return m.a}))},function(n,t){var e,r,o=n.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(n){if(e===setTimeout)return setTimeout(n,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(n,0);try{return e(n,0)}catch(t){try{return e.call(null,n,0)}catch(t){return e.call(this,n,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(n){e=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(n){r=u}}();var s,a=[],f=!1,d=-1;function l(){f&&s&&(f=!1,s.length?a=s.concat(a):d=-1,a.length&&p())}function p(){if(!f){var n=c(l);f=!0;for(var t=a.length;t;){for(s=a,a=[];++d<t;)s&&s[d].run();d=-1,t=a.length}s=null,f=!1,function(n){if(r===clearTimeout)return clearTimeout(n);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(n);try{r(n)}catch(t){try{return r.call(null,n)}catch(t){return r.call(this,n)}}}(n)}}function h(n,t){this.fun=n,this.array=t}function v(){}o.nextTick=function(n){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];a.push(new h(n,t)),1!==a.length||f||c(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(n){return[]},o.binding=function(n){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(n){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}])}));
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("mobx")):"function"==typeof define&&define.amd?define("WebshopUtils",["mobx"],n):"object"==typeof exports?exports.WebshopUtils=n(require("mobx")):t.WebshopUtils=n(t.mobx)}(window,(function(t){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=24)}([function(t,n,e){"use strict";var r=e(1);e.d(n,"d",(function(){return i})),e.d(n,"h",(function(){return u})),e.d(n,"i",(function(){return c})),e.d(n,"e",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"a",(function(){return f})),e.d(n,"k",(function(){return p})),e.d(n,"q",(function(){return l})),e.d(n,"r",(function(){return h})),e.d(n,"s",(function(){return d})),e.d(n,"j",(function(){return y})),e.d(n,"f",(function(){return v})),e.d(n,"p",(function(){return m})),e.d(n,"o",(function(){return g})),e.d(n,"n",(function(){return w})),e.d(n,"l",(function(){return b})),e.d(n,"m",(function(){return O})),e.d(n,"b",(function(){return x})),e.d(n,"g",(function(){return P}));var o=function(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<e;n++)for(var i=arguments[n],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r},i=function(t){return t[0]},u=function(t){return t[t.length-1]},c=function(t){return t[Math.floor(t.length/2)]},a=function(t){return t.reduce((function(t,n){return t.concat(n)}),[])},s=function(t){return Array.from(new Set(t))},f=function(t){var n=t.browserName;return function(t){return-1!==t.indexOf(n)}},p=function(t,n){return Object.keys(t).reduce((function(e,r){return n!==r&&(e[r]=t[r]),e}),{})},l=function(t,n){void 0===n&&(n={});var e=Object.keys(n);if(0===e.length)return t;var r=i(e),o=n[r];if(void 0===o)throw new Error("template error "+r+", "+JSON.stringify(n));return l(t.replace("{"+r+"}",o.toString()),p(n,r))},h=function(t,n){void 0===n&&(n={});var e=Object.keys(n);if(0===e.length)return t;var r=i(e),o=n[r];if(void 0===o)throw new Error("template error "+r+", "+JSON.stringify(n));return l(t.replace(":"+r,o.toString()),p(n,r))};function d(t){for(var n=0,e=Object.keys(t);n<e.length;n++){var o=e[n],i=t[o];if(!i||Number.isNaN(i))throw new r.a(o,i)}}function y(t){return Math.floor(t/1e3)}function v(t){return encodeURIComponent("{"+t.join(",")+"}")}var m=function(t){var n=Math.ceil(t.length/2),e=t.slice(0,n),r=t.slice(n);return e.reduce((function(t,n,e){return t.push(n),e<r.length&&t.push(r[e]),t}),[])},g=function(t){return 0===t.length?[]:o(m(t.slice(0,6)),g(t.slice(6)))},w=function(t){return new Promise((function(n){return setTimeout(n,t)}))},b=function(t){return Array.from(Array(t).keys())};function O(t){return t/60/60}var x=function(t,n){var e,r,o,i,u=(e=t,r=n,function(){var t=this,n=arguments,u=function(){i=null,o||e.apply(t,n)},c=o&&!i;clearTimeout(i),i=setTimeout(u,r),c&&e.apply(t,n)});return function(n){n?u():t()}},P=function(t){return function(n){return-1!==t.indexOf(n)}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r,o=(r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},function(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),i=function(t){function n(n,e){var r=t.call(this,n+" has null value "+e)||this;return r.name="ArgumentNullError",r}return o(n,t),n}(Error)},function(t,n,e){"use strict";function r(t){var n=t.split("-");return{gameId:n[0],networkId:n[1],instanceId:n[2],playerId:n[3]}}function o(t){return[t.gameId,t.networkId,t.instanceId,t.playerId].join("-")}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r,o=(r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},function(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),i=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.name="ResourseLoadError",n}return o(n,t),n}(Error)},function(t,n,e){"use strict";var r;e.d(n,"a",(function(){return o})),function(t){t[t.Factory=0]="Factory",t[t.Instance=1]="Instance",t[t.Constructor=2]="Constructor"}(r||(r={}));var o=function(){function t(){this.providers={},this.singletons={}}return t.prototype.resolve=function(t){var n=this,e=Object.entries(this.providers).find((function(n){return n[0]===t}));if(!e)throw new Error("ServiceLocator: cannot find "+t);e[0];var o=e[1];switch(o.type){case r.Constructor:return o.options.singleton?this.resolveSingleton(t,o.value):new o.value(this);case r.Instance:return o.value;case r.Factory:return function(){return o.value(n)}}},t.prototype.has=function(t){return Object.keys(this.providers).some((function(n){return n===t}))},t.prototype.register=function(t,n,e){void 0===e&&(e={}),this.providers[t]={type:r.Constructor,value:n,options:e}},t.prototype.registerInstance=function(t,n){this.providers[t]={type:r.Instance,value:n,options:{}}},t.prototype.registerFactory=function(t,n){this.providers[t]={type:r.Factory,value:n,options:{}}},t.prototype.resolveSingleton=function(t,n){return this.singletons[t]||(this.singletons[t]=new n(this)),this.singletons[t]},t}()},function(n,e){n.exports=t},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r,o=(r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},function(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),i=function(t){function n(n,e){var r=t.call(this,n+" has "+e.toString()+" is out of range")||this;return r.name="ArgumentOutOfRange",r}return o(n,t),n}(Error)},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(t){var n=t;return{get:function(){return n},set:function(t){n=t}}}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(){function t(){this.observers=[]}return t.prototype.raise=function(t){this.observers.forEach((function(n){return n(t)}))},t.prototype.subscribe=function(t){var n=this;return this.observers.push(t),function(){return n.unsubscribe(t)}},t.prototype.dispose=function(){this.observers=[]},t.prototype.unsubscribe=function(t){this.observers=this.observers.filter((function(n){return n!==t}))},t}()},function(t,n,e){"use strict";e.r(n);var r=e(10);e.d(n,"PostMessenger",(function(){return r.a}));var o=e(11);e.d(n,"ApplicationType",(function(){return o.a}));var i=e(12);for(var u in i)["PostMessenger","ApplicationType","default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u)},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(){function t(){}return t.prototype.sendCloseMessage=function(){this.send({type:"close"})},t.prototype.sendToggleDialogMode=function(t){this.send({type:"toggle-dialog-mode",payload:t})},t.prototype.track=function(t){this.send({type:"track",payload:t})},t.prototype.send=function(t){parent.postMessage(t,"*")},t}()},function(t,n,e){"use strict";var r;e.d(n,"a",(function(){return r})),function(t){t[t.CashOffers=0]="CashOffers",t[t.GrowthFund=1]="GrowthFund",t[t.SaleOffers=2]="SaleOffers",t[t.EventOffers=3]="EventOffers",t[t.DailyOffers=4]="DailyOffers"}(r||(r={}))},function(t,n){},function(t,n,e){"use strict";e.r(n);var r=e(14);e.d(n,"TrackActionRequest",(function(){return r.a}));var o=e(15);for(var i in o)["TrackActionRequest","default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i)},function(t,n,e){"use strict";e.d(n,"a",(function(){return i}));var r=e(2),o=e(0),i=function(){function t(t,n,e){this.appType=t,this.searchParams=n,this.postMessenger=e}return t.prototype.execute=function(t,n){var e=this.createPayload(t,n);this.postMessenger.track(e)},t.prototype.createPayload=function(t,n){var e=Date.now(),i=Object(r.a)(this.searchParams.get("ping")),u=i.gameId,c=i.networkId,a=i.instanceId,s=i.playerId,f=this.searchParams.get("sid"),p=this.searchParams.get("zoneId");return Object(o.s)({playerId:s,instanceId:a,networkId:c,gameId:u,sid:f}),{eventId:1182,date:Object(o.j)(e),unixtimeMS:e,actionId:t,packageId:n.offerId,providerId:n.paymentProviderId,playerId:parseInt(s,10),instanceId:parseInt(a,10),networkId:parseInt(c,10),gameId:parseInt(u,10),zoneId:p?parseInt(p,10):void 0,sessionId:f,type:this.appType}},t}()},function(t,n){},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=function(t){return t<0?"00:00:00":o(Math.floor(t%864e5/36e5))+":"+o(Math.floor(t%36e5/6e4))+":"+o(Math.floor(t%6e4/1e3))};function o(t){return t>9?t.toString(10):"0"+t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(23);function o(){return Object(r.detect)().name}},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",(function(){return r.a}))},function(t,n,e){"use strict";var r=e(0),o=function(){function t(t){this.url=t}return t.prototype.execute=function(t){Object(r.s)({locale:t});var n=t.replace(/zh_.*/,"zh"),e=Object(r.q)(this.url,{locale:n});return fetch(e,{headers:{"Cache-Control":"no-cache, max-age=0"}}).then((function(t){return t.json()})).then((function(t){return t[n]}))},t}(),i=e(1),u=function(){function t(t){this.url=t}return t.prototype.execute=function(t,n,e){if(Object(r.s)({gameId:t,locale:n}),0===e.length)throw new i.a("keys",e);var o=Object(r.f)(e.concat());return fetch(Object(r.q)(this.url,{gameId:t,locale:n,pattern:o})).then((function(t){return t.json()}))},t}(),c=e(3),a=function(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<e;n++)for(var i=arguments[n],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r},s=function(){function t(t,n){void 0===n&&(n=[]),this.url=t,this.pattern=Object(r.f)(a(["webshop_*","value_percentage_add","generic_support","Presentreceived_title","equipment_itemType_baron","equipment_itemType_general","panel_action_stats","levelX_colon","generic_time_*","generic_minute_*","value_percentage"],n))}return t.prototype.execute=function(t,n){var e=this.createUrl(t,n);return fetch(e).then((function(t){return t.json()})).catch((function(t){return new c.a("LocaleRequest - cannot load ("+t.name+" "+t.message+")")}))},t.prototype.createUrl=function(t,n){return Object(r.s)({gameId:t,locale:n}),Object(r.q)(this.url,{gameId:t,locale:n,pattern:this.pattern})},t}();e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return s}))},function(t,n,e){"use strict";var r;!function(t){t[t.Exclusive=0]="Exclusive",t[t.Inclusive=1]="Inclusive"}(r||(r={}));var o,i=function(){function t(t,n){this.evaluator=t,this.message=n}return t.AtLeast=function(n){return new t((function(t){return t>=n}),"Should be called at least "+n+" time(s)")},t.AtLeastOnce=function(){return t._atLeastOnce},t.AtMost=function(n){return new t((function(t){return t<=n}),"Should be called at most "+n+" time(s)")},t.AtMostOnce=function(){return t._atMostOnce},t.Between=function(n,e,o){return o===r.Exclusive?new t((function(t){return t>n&&t<e}),"Should be called exclusively between "+n+" and "+e):new t((function(t){return t>=n&&t<=e}),"Should be called inclusively between "+n+" and "+e)},t.Exactly=function(n){return new t((function(t){return t===n}),"Should be called exactly "+n+" time(s)")},t.Never=function(){return t._never},t.Once=function(){return t._once},t.prototype.test=function(t){return this.evaluator(t)},t._once=new t((function(t){return 1===t}),"Should be called once"),t._never=new t((function(t){return 0===t}),"Should be called never"),t._atMostOnce=new t((function(t){return t<=1}),"Should be called at most once"),t._atLeastOnce=new t((function(t){return t>=1}),"Should be called at least once"),t}(),u=function(){function t(t){this.predicate=t}return t.Is=function(n){return new t(n)},t.IsAny=function(){return new t((function(){return!0}))},t.prototype.test=function(t){try{var n=this.predicate(t);return!0===n||void 0===n}catch(t){return!1}},t}(),c=(o=function(t,n){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},function(t,n){function e(){this.constructor=t}o(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),a=function(t,n){this.name=t,this.args=n},s=function(t){function n(n,e){return t.call(this,n,e)||this}return c(n,t),n}(a),f=function(t){function n(n){return t.call(this,void 0,n)||this}return c(n,t),n}(a),p=function(t){function n(n){return t.call(this,n,void 0)||this}return c(n,t),n}(a),l=function(t){function n(n,e){var r=t.call(this,n,[e])||this;return r.value=e,r}return c(n,t),n}(a),h=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),d=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return h(n,t),n}(s),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return h(n,t),n}(f),v=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return h(n,t),n}(p),m=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return h(n,t),n}(l),g=function(){function t(){}return t.prototype.reflect=function(t){this.reflectedInfo=void 0;var n=t(this.expressionProxy());return n instanceof u&&this.reflectedInfo instanceof m==!1?n:this.reflectedInfo},t.prototype.expressionProxy=function(){var t=this;return new Proxy((function(){}),{get:function(n,e){return t.reflectedInfo=new v(e),function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.reflectedInfo=new d(e,n)}},set:function(n,e,r){return t.reflectedInfo=new m(e,r),!0},apply:function(n,e,r){t.reflectedInfo=new y(r)}})},t}(),w=function(){function t(t,n,e,r,o,i,u){this.target=t,this.mockName=n,this.getTrap=e,this.setTrap=r,this.applyTrap=o,this.getPrototypeOfTrap=i,this.setPrototypeOfTrap=u}return t.prototype.object=function(){return void 0===this._proxy&&(this._proxy=this.createObject()),this._proxy},t.prototype.createObject=function(){var t=this,n={get:function(n,e){return t.getTrap.intercept(e)},set:function(n,e,r){return t.setTrap.intercept(n,e,r)},apply:function(n,e,r){return t.applyTrap.intercept(n,e,r)},getPrototypeOf:function(){return t.getPrototypeOfTrap.intercept()},setPrototypeOf:function(n,e){return t.setPrototypeOfTrap.intercept(e)}};return this.mockName&&(n.mockName=this.mockName),new Proxy(this.target,n)},t}(),b=new(function(){function t(){this.value=0}return t.prototype.next=function(){return this.value++},t}());var O=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u},x=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(O(arguments[n]));return t},P=function(){function t(t){void 0===t&&(t=b),this.sequenceId=t,this.log=[]}return t.prototype.add=function(t){var n={id:this.sequenceId.next(),expression:t};this.log.push(n)},t.prototype.get=function(){return x(this.log)},t}(),S=function(){function t(){}return t.prototype.matched=function(t,n){if(n instanceof u)return n.test(t);var e=n;return t.name===e.name},t}(),_=function(){function t(){}return t.prototype.matched=function(t,n){return n instanceof u?n.test(t):t===n},t}(),M=function(){function t(t){void 0===t&&(t=new _),this.constantMatcher=t}return t.prototype.matched=function(t,n){if(n instanceof u)return n.test(t);var e=n;return!(t.name!==e.name||!this.constantMatcher.matched(t.value,e.value))},t}(),T=function(){function t(t){void 0===t&&(t=new _),this.constantMatcher=t}return t.prototype.matched=function(t,n){var e=this;if(t===n)return!0;if(t.length!==n.length)return!1;var r=!0;return t.forEach((function(t,o){var i=n[o];r=!0===e.constantMatcher.matched(t,i)&&r})),r},t}(),j=function(){function t(t){void 0===t&&(t=new T),this.argumentsMatcher=t}return t.prototype.matched=function(t,n){if(n instanceof u)return n.test(t);var e=n;return this.argumentsMatcher.matched(t.args,e.args)},t}(),E=function(){function t(t){void 0===t&&(t=new T),this.argumentsMatcher=t}return t.prototype.matched=function(t,n){if(n instanceof u)return n.test(t);var e=n;return t.name===e.name&&this.argumentsMatcher.matched(t.args,e.args)},t}(),k=function(){function t(t,n,e,r){void 0===t&&(t=new S),void 0===n&&(n=new M),void 0===e&&(e=new j),void 0===r&&(r=new E),this.getPropertyExpressionMatcher=t,this.setPropertyExpressionMatcher=n,this.methodExpressionMatcher=e,this.namedMethodExpressionMatcher=r}return t.prototype.matched=function(t,n){return t===n||(void 0===n||(t instanceof p&&(n instanceof v||n instanceof u)?this.getPropertyExpressionMatcher.matched(t,n):t instanceof l&&(n instanceof m||n instanceof u)?this.setPropertyExpressionMatcher.matched(t,n):t instanceof f&&(n instanceof y||n instanceof u)?this.methodExpressionMatcher.matched(t,n):t instanceof s&&(n instanceof d||n instanceof u)&&this.namedMethodExpressionMatcher.matched(t,n)))},t}(),I=function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(){function t(t){void 0===t&&(t=new k),this.expressionMatcher=t}return t.prototype.count=function(t,n){var e,r,o=0;try{for(var i=I(n),u=i.next();!u.done;u=i.next()){var c=u.value;!0===this.expressionMatcher.matched(c,t)&&(o+=1)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return o},t}(),A=function(){function t(){}return t.prototype.format=function(t){return String(t)},t}(),W=function(){function t(t){void 0===t&&(t=new A),this.propertyKeyFormatter=t}return t.prototype.format=function(t){return"Getter of '"+this.propertyKeyFormatter.format(t.name)+"'"},t}(),N=function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},B=function(){function t(){}return t.prototype.format=function(n){var e,r;if(n instanceof u)return"It.Is("+n.predicate+")";if(n instanceof String||"string"==typeof n)return"'"+n+"'";if(n instanceof Array){var o=[];try{for(var i=N(Object.keys(n)),c=i.next();!c.done;c=i.next()){var a=c.value;o.push((new t).format(n[a]))}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return"["+o+"]"}return""+n},t}(),R=function(){function t(t,n){void 0===t&&(t=new B),void 0===n&&(n=new A),this.constantFormatter=t,this.propertyKeyFormatter=n}return t.prototype.format=function(t){return"Assignment of "+this.constantFormatter.format(t.value)+" to property '"+this.propertyKeyFormatter.format(t.name)+"'"},t}(),C=function(){function t(t){void 0===t&&(t=new B),this.constantFormatter=t}return t.prototype.format=function(t){return"("+this.constantFormatter.format(t.args)+")"},t}(),L=function(){function t(t,n){void 0===t&&(t=new B),void 0===n&&(n=new A),this.constantFormatter=t,this.propertyKeyFormatter=n}return t.prototype.format=function(t){var n=this,e=[];t.args.forEach((function(t){e.push(n.constantFormatter.format(t))}));var r=e.join(", ");return this.propertyKeyFormatter.format(t.name)+"("+r+")"},t}(),V=function(){function t(t,n,e,r,o){void 0===t&&(t=new W),void 0===n&&(n=new R),void 0===e&&(e=new C),void 0===r&&(r=new L),void 0===o&&(o=new B),this.getPropertyFormatter=t,this.setPropertyFormatter=n,this.methodFormatter=e,this.namedMethodFormatter=r,this.constantFormatter=o}return t.prototype.format=function(t){return t instanceof p?this.getPropertyFormatter.format(t):t instanceof l?this.setPropertyFormatter.format(t):t instanceof f?this.methodFormatter.format(t):t instanceof s?this.namedMethodFormatter.format(t):t instanceof u?this.constantFormatter.format(t):void 0},t}(),q=function(){function t(t){void 0===t&&(t=new V),this.expressionFormatter=t}return t.prototype.format=function(t,n,e,r){return""+this.expressionFormatter.format(t)+(void 0!==r?" of "+r:"")+" "+n.toLowerCase()+", but was called "+e+" time(s)"},t}(),D=function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},K=function(){function t(t){void 0===t&&(t=new V),this.expressionFormatter=t}return t.prototype.format=function(t){var n,e,r="";try{for(var o=D(t),i=o.next();!i.done;i=o.next()){var u=i.value;r+=this.expressionFormatter.format(u)+"\n"}}catch(t){n={error:t}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(n)throw n.error}}return r.substr(0,r.length-1)},t}(),H=function(){function t(t,n){void 0===t&&(t=new q),void 0===n&&(n=new K),this.expectedExpressionFormatter=t,this.trackedExpressionsFormatter=n}return t.prototype.format=function(t,n,e,r,o){var i="-------------------------------------";return this.expectedExpressionFormatter.format(t,n,e,o)+"\n"+i+"\nTracked calls:\n"+this.trackedExpressionsFormatter.format(r)+"\n"+i+"\n"},t}(),$=function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),U=function(t){function n(n){return t.call(this,n)||this}return $(n,t),n}(Error),G=function(){function t(t,n,e){void 0===t&&(t=new g),void 0===n&&(n=new F),void 0===e&&(e=new H),this.reflector=t,this.callCounter=n,this.verifyFormatter=e}return t.prototype.test=function(t,n,e,r){var o=this.reflector.reflect(t),i=this.callCounter.count(o,e);if(!1===n.test(i)){var u=this.verifyFormatter.format(o,n.message,i,e,r);throw new U(u)}},t}(),X=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u},z=function(){for(var t=[],n=0;n<arguments.length;n++)t=t.concat(X(arguments[n]));return t},J=function(){function t(){this.presets=[]}return t.prototype.add=function(t){this.presets.unshift(t)},t.prototype.get=function(){return z(this.presets)},t}(),Q=function(){function t(){this.predicate=function(){return!0}}return t.prototype.set=function(t){this.predicate=t},t.prototype.get=function(){return this.predicate},t}(),Y=function(t,n,e){this.invocable=t,this.target=n,this.origin=e},Z=function(t,n,e){this.invocable=t,this.target=n,this.value=e},tt=function(t,n,e){this.invocable=t,this.target=n,this.exception=e},nt=function(t,n,e){this.invocable=t,this.target=n,this.callback=e},et=function(){function t(t,n,e,r){void 0===r&&(r=new Q),this.mock=t,this.set=n,this.target=e,this.invocableFactory=r}return t.prototype.mimics=function(t){var n=this.invocableFactory.get(),e=new Y(n,this.target,t);return this.set(e),this.mock},t.prototype.returns=function(t){var n=this.invocableFactory.get(),e=new Z(n,this.target,t);return this.set(e),this.mock},t.prototype.throws=function(t){var n=this.invocableFactory.get(),e=new tt(n,this.target,t);return this.set(e),this.mock},t.prototype.callback=function(t){var n=this.invocableFactory.get(),e=new nt(n,this.target,t);return this.set(e),this.mock},t.prototype.play=function(t){return this.invocableFactory.set(t),this},t}(),rt=function(){function t(t){this.prototype=null,this.prototype=Object.getPrototypeOf(t)}return t.prototype.get=function(){return this.prototype},t.prototype.set=function(t){this.prototype=t},t}(),ot=function(){function t(t,n,e,r,o,i){this.tracker=t,this.propertiesValueStorage=n,this.interactionPlayer=e,this.hasPropertyExplorer=r,this.hasMethodExplorer=o,this.spyFunctionProvider=i}return t.prototype.intercept=function(t){var n=new p(t);return this.tracker.add(n),this.propertiesValueStorage.has(t)?this.propertiesValueStorage.get(t):this.hasPropertyExplorer.has(t)?this.interactionPlayer.play(n):this.hasMethodExplorer.has(t)?this.spyFunctionProvider.get(t):this.interactionPlayer.play(n)},t}(),it=function(){function t(){this.storage=new Map}return t.prototype.has=function(t){return this.storage.has(t)},t.prototype.get=function(t){return this.storage.get(t)},t.prototype.set=function(t,n){this.storage.set(t,n)},t}(),ut=function(){function t(){}return t.prototype.play=function(t,n){return t.apply(void 0,[n])},t}(),ct=function(){function t(t){void 0===t&&(t=Reflect.apply),this.apply=t}return t.prototype.play=function(t,n){if(n instanceof p)return t[n.name];if(n instanceof l)return t[n.name]=n.value,!0;if(n instanceof s){var e=t[n.name];return this.apply(e,t,n.args)}return n instanceof f?this.apply(t,void 0,n.args):void 0},t}(),at=function(){function t(t,n){void 0===t&&(t=new ut),void 0===n&&(n=new ct),this.callbackPresetPlayer=t,this.mimicsPresetPlayer=n}return t.prototype.play=function(t,n){if(t instanceof Z)return t.value;if(t instanceof nt)return this.callbackPresetPlayer.play(t.callback,n);if(t instanceof Y)return this.mimicsPresetPlayer.play(t.origin,n);if(t instanceof tt)throw t.exception},t}(),st=function(){function t(t,n){void 0===n&&(n=new at),this.interactionPresetProvider=t,this.presetPlayer=n}return t.prototype.play=function(t){var n=this.interactionPresetProvider.get(t);if(void 0!==n)return this.presetPlayer.play(n,t)},t}(),ft=function(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},pt=function(){function t(t,n){void 0===n&&(n=new k),this.presets=t,this.matcher=n}return t.prototype.get=function(t){var n,e;try{for(var r=ft(this.presets.get()),o=r.next();!o.done;o=r.next()){var i=o.value;if(this.matcher.matched(t,i.target)&&!0===i.invocable())return i}}catch(t){n={error:t}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(n)throw n.error}}},t}(),lt=function(){function t(){}return t.prototype.has=function(t,n){return n instanceof d&&n.name===t},t}(),ht=function(){function t(){}return t.prototype.has=function(t,n){return n[t]instanceof Function},t}(),dt=function(){function t(t,n){void 0===t&&(t=new lt),void 0===n&&(n=new ht),this.expressionHasMethodExplorer=t,this.objectHasMethodExplorer=n}return t.prototype.has=function(t,n){return!!(n instanceof Y&&this.objectHasMethodExplorer.has(t,n.origin))||this.expressionHasMethodExplorer.has(t,n.target)},t}(),yt=function(){function t(t,n,e){void 0===e&&(e=new dt),this.presets=t,this.membersExplorer=n,this.explorer=e}return t.prototype.has=function(t){var n=this;return!!this.membersExplorer.hasMethod(t)||void 0!==this.presets.get().find((function(e){return n.explorer.has(t,e)}))},t}(),vt=function(){function t(){}return t.prototype.has=function(t,n){return!(n instanceof u||n instanceof y||n instanceof d)&&n.name===t},t}(),mt=function(){function t(){}return t.prototype.has=function(t,n){return Reflect.has(n,t)&&n[t]instanceof Function==!1},t}(),gt=function(){function t(t,n){void 0===t&&(t=new vt),void 0===n&&(n=new mt),this.expressionHasPropertyExplorer=t,this.objectHasPropertyExplorer=n}return t.prototype.has=function(t,n){return!!(n instanceof Y&&this.objectHasPropertyExplorer.has(t,n.origin))||this.expressionHasPropertyExplorer.has(t,n.target)},t}(),wt=function(){function t(t,n,e){void 0===e&&(e=new gt),this.presets=t,this.membersExplorer=n,this.explorer=e}return t.prototype.has=function(t){var n=this;return!!this.membersExplorer.hasProperty(t)||void 0!==this.presets.get().find((function(e){return n.explorer.has(t,e)}))},t}(),bt=function(){function t(t,n){this.tracker=t,this.interactionPlayer=n,this.map=new Map}return t.prototype.get=function(t){var n=this;return!1===this.map.has(t)&&this.map.set(t,(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var o=new s(t,e);return n.tracker.add(o),n.interactionPlayer.play(o)})),this.map.get(t)},t}(),Ot=function(){function t(t,n,e){this.tracker=t,this.propertiesValueStorage=n,this.interactionPlayer=e}return t.prototype.intercept=function(t,n,e){var r=new l(n,e);this.tracker.add(r);var o=this.interactionPlayer.play(r);return!0!==o&&void 0!==o||this.propertiesValueStorage.set(n,e),void 0===o||o},t}(),xt=function(){function t(t,n){this.tracker=t,this.interactionPlayer=n}return t.prototype.intercept=function(t,n,e){var r=new f(e);return this.tracker.add(r),this.interactionPlayer.play(r)},t}(),Pt=function(){function t(t){this.prototypeStorage=t}return t.prototype.intercept=function(){return this.prototypeStorage.get()},t}(),St=function(){function t(t){this.prototypeStorage=t}return t.prototype.intercept=function(t){return void 0!==t&&(this.prototypeStorage.set(t),!0)},t}();function _t(t,n){for(var e=t;null!==e;){var r=Reflect.getOwnPropertyDescriptor(e,n);if(void 0!==r)return r;e=Reflect.getPrototypeOf(e)}}var Mt=function(){function t(t,n){void 0===n&&(n=_t),this.storage=t,this.propertyDescriptorProvider=n}return t.prototype.hasMethod=function(t){var n=this.storage.get();return!(!n||!Reflect.has(n,t))&&this.propertyDescriptorProvider(n,t).value instanceof Function},t}(),Tt=function(){function t(t,n){void 0===n&&(n=_t),this.storage=t,this.propertyDescriptorProvider=n}return t.prototype.hasProperty=function(t){var n=this.storage.get();if(n&&Reflect.has(n,t)){var e=this.propertyDescriptorProvider(n,t);return void 0!==e.get||e.value instanceof Function==!1}return!1},t}();var jt=function(){return(jt=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};var Et=function(){function t(t){void 0===t&&(t={}),this.options=t,this.options=function(t){return jt({target:function(){}},t)}(t);var n=function(t){var n=new g,e=new J,r=new P,o=new G,i=new rt(t.target),u=new it,c=new st(new pt(e)),a=new Tt(i),s=new Mt(i),f=new wt(e,a),p=new yt(e,s),l=new bt(r,c),h=new ot(r,u,c,f,p,l),d=new Ot(r,u,c),y=new xt(r,c),v=new Pt(i),m=new St(i);return{expressionReflector:n,interceptor:new w(t.target,t.name,h,d,y,v,m),presetBuilderFactory:function(t,n){return new et(t,(function(t){return e.add(t)}),n)},tracker:r,verifier:o,prototypeStorage:i}}(this.options);this.tracker=n.tracker,this.expressionReflector=n.expressionReflector,this.interceptor=n.interceptor,this.setupFactory=n.presetBuilderFactory,this.verifier=n.verifier,this.prototypeStorage=n.prototypeStorage}return Object.defineProperty(t.prototype,"name",{get:function(){return this.options.name},enumerable:!0,configurable:!0}),t.prototype.setup=function(t){var n=this.expressionReflector.reflect(t);return this.setupFactory(this,n)},t.prototype.verify=function(t,n){n=void 0===n?i.Once():n;var e=this.tracker.get().map((function(t){return t.expression}));return this.verifier.test(t,n,e,this.name),this},t.prototype.object=function(){return this.interceptor.object()},t.prototype.prototypeof=function(t){return this.prototypeStorage.set(t),this},t.prototype.insequence=function(t,n){return t.add(this,n),this},t}();!function(){function t(){}t.Exactly=function(t){var n=0;return function(){return!(n>=t)&&(n++,!0)}},t.Never=function(){return function(){return!1}},t.Once=function(){var t=!1;return function(){return!t&&(t=!0,!0)}},t.Sequence=function(t){var n=0;return function(){if(n>=t.length)return!1;var e=t[n];return n++,e}}}();var kt=function(){function t(t){this.container=t}return t.prototype.resolveMock=function(t){var n=Ft();return this.container.registerInstance(t,n.object()),n},t.prototype.resolve=function(t){return this.container.has(t)||this.container.registerInstance(t,Ft().object()),this.container.resolve(t)},t}(),It=e(4);function Ft(){return new Et}function At(){return new kt(new It.a)}e.d(n,"b",(function(){return Ft})),e.d(n,"c",(function(){return At})),e.d(n,"a",(function(){return kt}))},function(t,n,e){"use strict";var r=function(){function t(t){this.win=t}return t.prototype.goTo=function(t){this.win.location.href=t},t}();e.d(n,"a",(function(){return r}))},function(t,n,e){"use strict";var r=e(5),o=function(t,n,e,r){var o,i=arguments.length,u=i<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,n,e,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(u=(i<3?o(u):i>3?o(n,e,u):o(n,e))||u);return i>3&&u&&Object.defineProperty(n,e,u),u},i=function(){function t(t){this.factory=t}return t.prototype.goTo=function(t,n){return this.currentViewModel&&this.currentViewModel.route===t?this.currentViewModel:(this.currentViewModel&&this.currentViewModel.dispose(),this.changeCurrentViewModel(t),this.currentViewModel.init(n),this.currentViewModel)},t.prototype.changeCurrentViewModel=function(t){this.currentViewModel=this.factory.create(t)},t.prototype.dispose=function(){this.currentViewModel&&this.currentViewModel.dispose()},o([r.observable],t.prototype,"currentViewModel",void 0),o([r.action.bound],t.prototype,"changeCurrentViewModel",null),t}();e.d(n,"a",(function(){return i}))},function(t,n,e){"use strict";(function(t){var e=this&&this.__spreadArrays||function(){for(var t=0,n=0,e=arguments.length;n<e;n++)t+=arguments[n].length;var r=Array(t),o=0;for(n=0;n<e;n++)for(var i=arguments[n],u=0,c=i.length;u<c;u++,o++)r[o]=i[u];return r};Object.defineProperty(n,"__esModule",{value:!0});var r=function(t,n,e){this.name=t,this.version=n,this.os=e};n.BrowserInfo=r;var o=function(n){this.version=n,this.name="node",this.os=t.platform};n.NodeInfo=o;var i=function(){this.bot=!0,this.name="bot",this.version=null,this.os=null};n.BotInfo=i;var u=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/Edg\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],c=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]];function a(t){var n=""!==t&&u.reduce((function(n,e){var r=e[0],o=e[1];if(n)return n;var i=o.exec(t);return!!i&&[r,i]}),!1);if(!n)return null;var o=n[0],c=n[1];if("searchbot"===o)return new i;var a=c[1]&&c[1].split(/[._]/).slice(0,3);return a?a.length<3&&(a=e(a,function(t){for(var n=[],e=0;e<t;e++)n.push("0");return n}(3-a.length))):a=[],new r(o,a.join("."),s(t))}function s(t){for(var n=0,e=c.length;n<e;n++){var r=c[n],o=r[0];if(r[1].test(t))return o}return null}function f(){return void 0!==t&&t.version?new o(t.version.slice(1)):null}n.detect=function(t){return t?a(t):"undefined"!=typeof navigator?a(navigator.userAgent):f()},n.parseUserAgent=a,n.detectOS=s,n.getNodeVersion=f}).call(this,e(25))},function(t,n,e){"use strict";e.r(n);var r=e(1);e.d(n,"ArgumentNullError",(function(){return r.a}));var o=e(6);e.d(n,"ArgumentOutOfRange",(function(){return o.a}));var i=e(7);e.d(n,"entityProvider",(function(){return i.a}));var u=e(2);e.d(n,"decodePing",(function(){return u.a})),e.d(n,"encodePing",(function(){return u.b}));var c=e(3);e.d(n,"ResourceLoadError",(function(){return c.a}));var a=e(0);e.d(n,"first",(function(){return a.d})),e.d(n,"last",(function(){return a.h})),e.d(n,"middle",(function(){return a.i})),e.d(n,"flatten",(function(){return a.e})),e.d(n,"distinct",(function(){return a.c})),e.d(n,"browser",(function(){return a.a})),e.d(n,"omit",(function(){return a.k})),e.d(n,"template",(function(){return a.q})),e.d(n,"urlTemplate",(function(){return a.r})),e.d(n,"validateForNull",(function(){return a.s})),e.d(n,"msToSec",(function(){return a.j})),e.d(n,"globPattern",(function(){return a.f})),e.d(n,"sortSubBy2Columns",(function(){return a.p})),e.d(n,"sortBy2Columns",(function(){return a.o})),e.d(n,"sleep",(function(){return a.n})),e.d(n,"repeat",(function(){return a.l})),e.d(n,"secToHrs",(function(){return a.m})),e.d(n,"conditionalDebounce",(function(){return a.b})),e.d(n,"includes",(function(){return a.g}));var s=e(8);e.d(n,"TypedEvent",(function(){return s.a}));var f=e(22);e.d(n,"NavService",(function(){return f.a}));var p=e(21);e.d(n,"AppWindow",(function(){return p.a}));var l=e(9);for(var h in l)["ArgumentNullError","ArgumentOutOfRange","entityProvider","decodePing","encodePing","ResourceLoadError","first","last","middle","flatten","distinct","browser","omit","template","urlTemplate","validateForNull","msToSec","globPattern","sortSubBy2Columns","sortBy2Columns","sleep","repeat","secToHrs","conditionalDebounce","includes","TypedEvent","NavService","AppWindow","default"].indexOf(h)<0&&function(t){e.d(n,t,(function(){return l[t]}))}(h);var d=e(13);for(var h in d)["ArgumentNullError","ArgumentOutOfRange","entityProvider","decodePing","encodePing","ResourceLoadError","first","last","middle","flatten","distinct","browser","omit","template","urlTemplate","validateForNull","msToSec","globPattern","sortSubBy2Columns","sortBy2Columns","sleep","repeat","secToHrs","conditionalDebounce","includes","TypedEvent","NavService","AppWindow","default"].indexOf(h)<0&&function(t){e.d(n,t,(function(){return d[t]}))}(h);var y=e(19);e.d(n,"PaymentLocalesRequest",(function(){return y.b})),e.d(n,"RewardLocalesRequest",(function(){return y.c})),e.d(n,"LocaleRequest",(function(){return y.a}));var v=e(16);e.d(n,"formatTimeLeft",(function(){return v.a}));var m=e(17);e.d(n,"detectBrowser",(function(){return m.a}));var g=e(18);e.d(n,"ServiceLocator",(function(){return g.a}));var w=e(20);e.d(n,"createMock",(function(){return w.b})),e.d(n,"createUnitTestServiceLocator",(function(){return w.c})),e.d(n,"UnitTestServiceLocator",(function(){return w.a}))},function(t,n){var e,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,s=[],f=!1,p=-1;function l(){f&&a&&(f=!1,a.length?s=a.concat(s):p=-1,s.length&&h())}function h(){if(!f){var t=c(l);f=!0;for(var n=s.length;n;){for(a=s,s=[];++p<n;)a&&a[p].run();p=-1,n=s.length}a=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(n){try{return r.call(null,t)}catch(n){return r.call(this,t)}}}(t)}}function d(t,n){this.fun=t,this.array=n}function y(){}o.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];s.push(new d(t,n)),1!==s.length||f||c(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}}])}));
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc